genesys-spark-components 4.154.6 → 4.154.7

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 (424) hide show
  1. package/dist/cjs/{floating-ui.dom.esm-a0754e1a.js → floating-ui.dom.esm-ec8cb051.js} +4 -3
  2. package/dist/cjs/gux-accordion-section.cjs.entry.js +1 -1
  3. package/dist/cjs/gux-accordion.cjs.entry.js +1 -1
  4. package/dist/cjs/gux-action-button.cjs.entry.js +1 -1
  5. package/dist/cjs/gux-action-toast-legacy.cjs.entry.js +1 -1
  6. package/dist/cjs/gux-advanced-dropdown-legacy.cjs.entry.js +1 -1
  7. package/dist/cjs/gux-announce-beta.cjs.entry.js +1 -1
  8. package/dist/cjs/gux-avatar-beta.cjs.entry.js +1 -1
  9. package/dist/cjs/gux-avatar-change-photo-beta.cjs.entry.js +1 -1
  10. package/dist/cjs/gux-avatar-group-add-item-beta_3.cjs.entry.js +7 -4
  11. package/dist/cjs/gux-avatar-group-beta.cjs.entry.js +1 -1
  12. package/dist/cjs/gux-avatar-group-item-beta.cjs.entry.js +1 -1
  13. package/dist/cjs/gux-badge.cjs.entry.js +1 -1
  14. package/dist/cjs/gux-blank-state.cjs.entry.js +1 -1
  15. package/dist/cjs/gux-breadcrumbs.cjs.entry.js +1 -1
  16. package/dist/cjs/gux-button-multi.cjs.entry.js +1 -1
  17. package/dist/cjs/gux-button-slot.cjs.entry.js +1 -1
  18. package/dist/cjs/gux-button_2.cjs.entry.js +7 -4
  19. package/dist/cjs/gux-calendar-beta.cjs.entry.js +1 -1
  20. package/dist/cjs/gux-calendar.cjs.entry.js +1 -1
  21. package/dist/cjs/gux-card.cjs.entry.js +1 -1
  22. package/dist/cjs/gux-column-manager.cjs.entry.js +1 -1
  23. package/dist/cjs/gux-content-search.cjs.entry.js +1 -1
  24. package/dist/cjs/gux-context-menu.cjs.entry.js +1 -1
  25. package/dist/cjs/gux-copy-to-clipboard.cjs.entry.js +1 -1
  26. package/dist/cjs/gux-date-beta.cjs.entry.js +1 -1
  27. package/dist/cjs/gux-date-time-beta.cjs.entry.js +1 -1
  28. package/dist/cjs/gux-datepicker.cjs.entry.js +6 -3
  29. package/dist/cjs/gux-day-beta.cjs.entry.js +1 -1
  30. package/dist/cjs/gux-disclosure-button-legacy.cjs.entry.js +1 -1
  31. package/dist/cjs/gux-dismiss-button.cjs.entry.js +1 -1
  32. package/dist/cjs/gux-dropdown-multi.cjs.entry.js +1 -1
  33. package/dist/cjs/gux-dropdown_3.cjs.entry.js +1 -1
  34. package/dist/cjs/gux-file-list-item.cjs.entry.js +1 -1
  35. package/dist/cjs/gux-flag-icon-beta.cjs.entry.js +1 -1
  36. package/dist/cjs/gux-flyout-menu.cjs.entry.js +7 -4
  37. package/dist/cjs/gux-form-field-checkbox-group-beta.cjs.entry.js +1 -1
  38. package/dist/cjs/gux-form-field-checkbox.cjs.entry.js +1 -1
  39. package/dist/cjs/gux-form-field-color.cjs.entry.js +1 -1
  40. package/dist/cjs/gux-form-field-dropdown.cjs.entry.js +1 -1
  41. package/dist/cjs/gux-form-field-file-beta.cjs.entry.js +1 -1
  42. package/dist/cjs/gux-form-field-file.cjs.entry.js +1 -1
  43. package/dist/cjs/gux-form-field-input-clear-button.cjs.entry.js +1 -1
  44. package/dist/cjs/gux-form-field-label-indicator.cjs.entry.js +1 -1
  45. package/dist/cjs/gux-form-field-number_2.cjs.entry.js +1 -1
  46. package/dist/cjs/gux-form-field-phone.cjs.entry.js +1 -1
  47. package/dist/cjs/gux-form-field-radio-group-beta.cjs.entry.js +1 -1
  48. package/dist/cjs/gux-form-field-radio.cjs.entry.js +1 -1
  49. package/dist/cjs/gux-form-field-range.cjs.entry.js +1 -1
  50. package/dist/cjs/gux-form-field-search.cjs.entry.js +1 -1
  51. package/dist/cjs/gux-form-field-select.cjs.entry.js +1 -1
  52. package/dist/cjs/gux-form-field-text-like.cjs.entry.js +1 -1
  53. package/dist/cjs/gux-form-field-textarea.cjs.entry.js +1 -1
  54. package/dist/cjs/gux-form-field-time-picker.cjs.entry.js +1 -1
  55. package/dist/cjs/gux-form-field-time-zone-picker.cjs.entry.js +1 -1
  56. package/dist/cjs/gux-form-footer.cjs.entry.js +1 -1
  57. package/dist/cjs/gux-icon-tooltip-beta.cjs.entry.js +1 -1
  58. package/dist/cjs/gux-icon.cjs.entry.js +1 -1
  59. package/dist/cjs/gux-inline-alert.cjs.entry.js +1 -1
  60. package/dist/cjs/gux-inline-dropdown-beta.cjs.entry.js +1 -1
  61. package/dist/cjs/gux-label-info-beta.cjs.entry.js +1 -1
  62. package/dist/cjs/gux-link-beta.cjs.entry.js +1 -1
  63. package/dist/cjs/gux-list.cjs.entry.js +1 -1
  64. package/dist/cjs/gux-listbox-multi.cjs.entry.js +1 -1
  65. package/dist/cjs/gux-loading-message.cjs.entry.js +1 -1
  66. package/dist/cjs/gux-modal-legacy.cjs.entry.js +1 -1
  67. package/dist/cjs/gux-modal-side-panel-beta.cjs.entry.js +1 -1
  68. package/dist/cjs/gux-modal.cjs.entry.js +1 -1
  69. package/dist/cjs/gux-month-picker-beta.cjs.entry.js +1 -1
  70. package/dist/cjs/gux-notification-toast-legacy.cjs.entry.js +1 -1
  71. package/dist/cjs/gux-page-loading-spinner.cjs.entry.js +1 -1
  72. package/dist/cjs/gux-pagination-cursor.cjs.entry.js +1 -1
  73. package/dist/cjs/gux-pagination-legacy.cjs.entry.js +1 -1
  74. package/dist/cjs/gux-pagination.cjs.entry.js +1 -1
  75. package/dist/cjs/gux-phone-input-beta.cjs.entry.js +1 -1
  76. package/dist/cjs/gux-popover-beta.cjs.entry.js +7 -4
  77. package/dist/cjs/gux-popover-list-beta.cjs.entry.js +7 -4
  78. package/dist/cjs/gux-popover-list.cjs.entry.js +7 -4
  79. package/dist/cjs/gux-popup.cjs.entry.js +7 -4
  80. package/dist/cjs/gux-radial-loading.cjs.entry.js +1 -1
  81. package/dist/cjs/gux-radial-progress.cjs.entry.js +1 -1
  82. package/dist/cjs/gux-rating.cjs.entry.js +1 -1
  83. package/dist/cjs/gux-rich-highlight-list-item.cjs.entry.js +1 -1
  84. package/dist/cjs/gux-rich-style-list-item_3.cjs.entry.js +8 -5
  85. package/dist/cjs/gux-rich-text-editor-action-link.cjs.entry.js +1 -1
  86. package/dist/cjs/gux-rich-text-editor-action-rich-style.cjs.entry.js +1 -1
  87. package/dist/cjs/gux-rich-text-editor-action-text-highlight.cjs.entry.js +1 -1
  88. package/dist/cjs/gux-rich-text-editor-action.cjs.entry.js +1 -1
  89. package/dist/cjs/gux-rich-text-editor-beta.cjs.entry.js +1 -1
  90. package/dist/cjs/gux-rich-text-editor-list.cjs.entry.js +1 -1
  91. package/dist/cjs/gux-screen-reader-beta.cjs.entry.js +1 -1
  92. package/dist/cjs/gux-segmented-control-beta.cjs.entry.js +1 -1
  93. package/dist/cjs/gux-selector-card-beta.cjs.entry.js +1 -1
  94. package/dist/cjs/gux-selector-cards-beta.cjs.entry.js +1 -1
  95. package/dist/cjs/gux-side-panel-beta.cjs.entry.js +1 -1
  96. package/dist/cjs/gux-side-panel-heading.cjs.entry.js +1 -1
  97. package/dist/cjs/gux-simple-toast-legacy.cjs.entry.js +1 -1
  98. package/dist/cjs/gux-skip-navigation-list.cjs.entry.js +1 -1
  99. package/dist/cjs/gux-sort-control.cjs.entry.js +1 -1
  100. package/dist/cjs/gux-status-indicator-beta.cjs.entry.js +1 -1
  101. package/dist/cjs/gux-step-title.cjs.entry.js +1 -1
  102. package/dist/cjs/gux-step.cjs.entry.js +1 -1
  103. package/dist/cjs/gux-stepper-beta.cjs.entry.js +1 -1
  104. package/dist/cjs/gux-submenu.cjs.entry.js +7 -4
  105. package/dist/cjs/gux-switch-legacy.cjs.entry.js +1 -1
  106. package/dist/cjs/gux-table-toolbar-action.cjs.entry.js +1 -1
  107. package/dist/cjs/gux-table-toolbar-custom-action.cjs.entry.js +1 -1
  108. package/dist/cjs/gux-table-toolbar-menu-button.cjs.entry.js +1 -1
  109. package/dist/cjs/gux-table-toolbar.cjs.entry.js +1 -1
  110. package/dist/cjs/gux-table.cjs.entry.js +1 -1
  111. package/dist/cjs/gux-tabs-advanced.cjs.entry.js +1 -1
  112. package/dist/cjs/gux-tabs.cjs.entry.js +1 -1
  113. package/dist/cjs/gux-tag.cjs.entry.js +1 -1
  114. package/dist/cjs/gux-text-highlight.cjs.entry.js +1 -1
  115. package/dist/cjs/gux-time-beta.cjs.entry.js +1 -1
  116. package/dist/cjs/gux-time-picker.cjs.entry.js +1 -1
  117. package/dist/cjs/gux-time-zone-beta.cjs.entry.js +1 -1
  118. package/dist/cjs/gux-time-zone-picker-beta.cjs.entry.js +1 -1
  119. package/dist/cjs/gux-toast.cjs.entry.js +1 -1
  120. package/dist/cjs/gux-toggle.cjs.entry.js +1 -1
  121. package/dist/cjs/gux-tooltip-base-beta_2.cjs.entry.js +8 -5
  122. package/dist/cjs/gux-tooltip-pointer-beta.cjs.entry.js +1 -1
  123. package/dist/cjs/gux-tooltip_2.cjs.entry.js +8 -5
  124. package/dist/cjs/{overflow-detection-1bdbc2f1.js → overflow-detection-0adae101.js} +1 -1
  125. package/dist/cjs/{usage-1cc3f37c.js → usage-f2e0032a.js} +19 -18
  126. package/dist/collection/components/beta/gux-avatar-group/gux-avatar-overflow/gux-avatar-overflow.js +5 -2
  127. package/dist/collection/components/beta/gux-form/tests/gux-form.common.js +56 -0
  128. package/dist/collection/components/beta/gux-popover-beta/gux-popover.js +5 -2
  129. package/dist/collection/components/beta/gux-popover-list-beta/gux-popover-list.js +5 -2
  130. package/dist/collection/components/beta/gux-rich-text-editor/gux-rich-text-editor-list/gux-rich-text-editor-sub-list/gux-rich-text-editor-sub-list.js +6 -3
  131. package/dist/collection/components/beta/gux-selector-cards/gux-selector-card/tests/gux-selector-card.common.js +15 -0
  132. package/dist/collection/components/beta/gux-tooltip-base/gux-tooltip-base.js +5 -2
  133. package/dist/collection/components/stable/gux-accordion/gux-accordion-section/gux-accordion-section.css +22 -22
  134. package/dist/collection/components/stable/gux-datepicker/gux-datepicker.js +4 -1
  135. package/dist/collection/components/stable/gux-flyout-menu/gux-flyout-menu.js +5 -2
  136. package/dist/collection/components/stable/gux-flyout-menu/gux-menu/gux-submenu/gux-submenu.js +6 -3
  137. package/dist/collection/components/stable/gux-page-loading-spinner/tests/gux-page-loading-spinner.common.js +6 -0
  138. package/dist/collection/components/stable/gux-popover/gux-popover.js +5 -2
  139. package/dist/collection/components/stable/gux-popover-list/gux-popover-list.js +5 -2
  140. package/dist/collection/components/stable/gux-popup/gux-popup.js +6 -3
  141. package/dist/collection/components/stable/gux-toggle/tests/gux-toggle.common.js +58 -0
  142. package/dist/collection/components/stable/gux-tooltip/gux-tooltip.js +5 -2
  143. package/dist/collection/test/playwrightTestUtils.js +2 -2
  144. package/dist/esm/{floating-ui.dom.esm-a44d7688.js → floating-ui.dom.esm-ea64ef12.js} +4 -3
  145. package/dist/esm/gux-accordion-section.entry.js +1 -1
  146. package/dist/esm/gux-accordion.entry.js +1 -1
  147. package/dist/esm/gux-action-button.entry.js +1 -1
  148. package/dist/esm/gux-action-toast-legacy.entry.js +1 -1
  149. package/dist/esm/gux-advanced-dropdown-legacy.entry.js +1 -1
  150. package/dist/esm/gux-announce-beta.entry.js +1 -1
  151. package/dist/esm/gux-avatar-beta.entry.js +1 -1
  152. package/dist/esm/gux-avatar-change-photo-beta.entry.js +1 -1
  153. package/dist/esm/gux-avatar-group-add-item-beta_3.entry.js +7 -4
  154. package/dist/esm/gux-avatar-group-beta.entry.js +1 -1
  155. package/dist/esm/gux-avatar-group-item-beta.entry.js +1 -1
  156. package/dist/esm/gux-badge.entry.js +1 -1
  157. package/dist/esm/gux-blank-state.entry.js +1 -1
  158. package/dist/esm/gux-breadcrumbs.entry.js +1 -1
  159. package/dist/esm/gux-button-multi.entry.js +1 -1
  160. package/dist/esm/gux-button-slot.entry.js +1 -1
  161. package/dist/esm/gux-button_2.entry.js +7 -4
  162. package/dist/esm/gux-calendar-beta.entry.js +1 -1
  163. package/dist/esm/gux-calendar.entry.js +1 -1
  164. package/dist/esm/gux-card.entry.js +1 -1
  165. package/dist/esm/gux-column-manager.entry.js +1 -1
  166. package/dist/esm/gux-content-search.entry.js +1 -1
  167. package/dist/esm/gux-context-menu.entry.js +1 -1
  168. package/dist/esm/gux-copy-to-clipboard.entry.js +1 -1
  169. package/dist/esm/gux-date-beta.entry.js +1 -1
  170. package/dist/esm/gux-date-time-beta.entry.js +1 -1
  171. package/dist/esm/gux-datepicker.entry.js +6 -3
  172. package/dist/esm/gux-day-beta.entry.js +1 -1
  173. package/dist/esm/gux-disclosure-button-legacy.entry.js +1 -1
  174. package/dist/esm/gux-dismiss-button.entry.js +1 -1
  175. package/dist/esm/gux-dropdown-multi.entry.js +1 -1
  176. package/dist/esm/gux-dropdown_3.entry.js +1 -1
  177. package/dist/esm/gux-file-list-item.entry.js +1 -1
  178. package/dist/esm/gux-flag-icon-beta.entry.js +1 -1
  179. package/dist/esm/gux-flyout-menu.entry.js +7 -4
  180. package/dist/esm/gux-form-field-checkbox-group-beta.entry.js +1 -1
  181. package/dist/esm/gux-form-field-checkbox.entry.js +1 -1
  182. package/dist/esm/gux-form-field-color.entry.js +1 -1
  183. package/dist/esm/gux-form-field-dropdown.entry.js +1 -1
  184. package/dist/esm/gux-form-field-file-beta.entry.js +1 -1
  185. package/dist/esm/gux-form-field-file.entry.js +1 -1
  186. package/dist/esm/gux-form-field-input-clear-button.entry.js +1 -1
  187. package/dist/esm/gux-form-field-label-indicator.entry.js +1 -1
  188. package/dist/esm/gux-form-field-number_2.entry.js +1 -1
  189. package/dist/esm/gux-form-field-phone.entry.js +1 -1
  190. package/dist/esm/gux-form-field-radio-group-beta.entry.js +1 -1
  191. package/dist/esm/gux-form-field-radio.entry.js +1 -1
  192. package/dist/esm/gux-form-field-range.entry.js +1 -1
  193. package/dist/esm/gux-form-field-search.entry.js +1 -1
  194. package/dist/esm/gux-form-field-select.entry.js +1 -1
  195. package/dist/esm/gux-form-field-text-like.entry.js +1 -1
  196. package/dist/esm/gux-form-field-textarea.entry.js +1 -1
  197. package/dist/esm/gux-form-field-time-picker.entry.js +1 -1
  198. package/dist/esm/gux-form-field-time-zone-picker.entry.js +1 -1
  199. package/dist/esm/gux-form-footer.entry.js +1 -1
  200. package/dist/esm/gux-icon-tooltip-beta.entry.js +1 -1
  201. package/dist/esm/gux-icon.entry.js +1 -1
  202. package/dist/esm/gux-inline-alert.entry.js +1 -1
  203. package/dist/esm/gux-inline-dropdown-beta.entry.js +1 -1
  204. package/dist/esm/gux-label-info-beta.entry.js +1 -1
  205. package/dist/esm/gux-link-beta.entry.js +1 -1
  206. package/dist/esm/gux-list.entry.js +1 -1
  207. package/dist/esm/gux-listbox-multi.entry.js +1 -1
  208. package/dist/esm/gux-loading-message.entry.js +1 -1
  209. package/dist/esm/gux-modal-legacy.entry.js +1 -1
  210. package/dist/esm/gux-modal-side-panel-beta.entry.js +1 -1
  211. package/dist/esm/gux-modal.entry.js +1 -1
  212. package/dist/esm/gux-month-picker-beta.entry.js +1 -1
  213. package/dist/esm/gux-notification-toast-legacy.entry.js +1 -1
  214. package/dist/esm/gux-page-loading-spinner.entry.js +1 -1
  215. package/dist/esm/gux-pagination-cursor.entry.js +1 -1
  216. package/dist/esm/gux-pagination-legacy.entry.js +1 -1
  217. package/dist/esm/gux-pagination.entry.js +1 -1
  218. package/dist/esm/gux-phone-input-beta.entry.js +1 -1
  219. package/dist/esm/gux-popover-beta.entry.js +7 -4
  220. package/dist/esm/gux-popover-list-beta.entry.js +7 -4
  221. package/dist/esm/gux-popover-list.entry.js +7 -4
  222. package/dist/esm/gux-popup.entry.js +7 -4
  223. package/dist/esm/gux-radial-loading.entry.js +1 -1
  224. package/dist/esm/gux-radial-progress.entry.js +1 -1
  225. package/dist/esm/gux-rating.entry.js +1 -1
  226. package/dist/esm/gux-rich-highlight-list-item.entry.js +1 -1
  227. package/dist/esm/gux-rich-style-list-item_3.entry.js +8 -5
  228. package/dist/esm/gux-rich-text-editor-action-link.entry.js +1 -1
  229. package/dist/esm/gux-rich-text-editor-action-rich-style.entry.js +1 -1
  230. package/dist/esm/gux-rich-text-editor-action-text-highlight.entry.js +1 -1
  231. package/dist/esm/gux-rich-text-editor-action.entry.js +1 -1
  232. package/dist/esm/gux-rich-text-editor-beta.entry.js +1 -1
  233. package/dist/esm/gux-rich-text-editor-list.entry.js +1 -1
  234. package/dist/esm/gux-screen-reader-beta.entry.js +1 -1
  235. package/dist/esm/gux-segmented-control-beta.entry.js +1 -1
  236. package/dist/esm/gux-selector-card-beta.entry.js +1 -1
  237. package/dist/esm/gux-selector-cards-beta.entry.js +1 -1
  238. package/dist/esm/gux-side-panel-beta.entry.js +1 -1
  239. package/dist/esm/gux-side-panel-heading.entry.js +1 -1
  240. package/dist/esm/gux-simple-toast-legacy.entry.js +1 -1
  241. package/dist/esm/gux-skip-navigation-list.entry.js +1 -1
  242. package/dist/esm/gux-sort-control.entry.js +1 -1
  243. package/dist/esm/gux-status-indicator-beta.entry.js +1 -1
  244. package/dist/esm/gux-step-title.entry.js +1 -1
  245. package/dist/esm/gux-step.entry.js +1 -1
  246. package/dist/esm/gux-stepper-beta.entry.js +1 -1
  247. package/dist/esm/gux-submenu.entry.js +7 -4
  248. package/dist/esm/gux-switch-legacy.entry.js +1 -1
  249. package/dist/esm/gux-table-toolbar-action.entry.js +1 -1
  250. package/dist/esm/gux-table-toolbar-custom-action.entry.js +1 -1
  251. package/dist/esm/gux-table-toolbar-menu-button.entry.js +1 -1
  252. package/dist/esm/gux-table-toolbar.entry.js +1 -1
  253. package/dist/esm/gux-table.entry.js +1 -1
  254. package/dist/esm/gux-tabs-advanced.entry.js +1 -1
  255. package/dist/esm/gux-tabs.entry.js +1 -1
  256. package/dist/esm/gux-tag.entry.js +1 -1
  257. package/dist/esm/gux-text-highlight.entry.js +1 -1
  258. package/dist/esm/gux-time-beta.entry.js +1 -1
  259. package/dist/esm/gux-time-picker.entry.js +1 -1
  260. package/dist/esm/gux-time-zone-beta.entry.js +1 -1
  261. package/dist/esm/gux-time-zone-picker-beta.entry.js +1 -1
  262. package/dist/esm/gux-toast.entry.js +1 -1
  263. package/dist/esm/gux-toggle.entry.js +1 -1
  264. package/dist/esm/gux-tooltip-base-beta_2.entry.js +8 -5
  265. package/dist/esm/gux-tooltip-pointer-beta.entry.js +1 -1
  266. package/dist/esm/gux-tooltip_2.entry.js +8 -5
  267. package/dist/esm/{overflow-detection-0d8bae71.js → overflow-detection-478d9aa8.js} +1 -1
  268. package/dist/esm/{usage-b40a5ce2.js → usage-1868c7ac.js} +19 -18
  269. package/dist/genesys-webcomponents/genesys-webcomponents-legacy.css +1 -1
  270. package/dist/genesys-webcomponents/genesys-webcomponents.css +2 -2
  271. package/dist/genesys-webcomponents/genesys-webcomponents.esm.js +1 -1
  272. package/dist/genesys-webcomponents/{p-0a041ae0.entry.js → p-013bb7ff.entry.js} +1 -1
  273. package/dist/genesys-webcomponents/{p-9860992f.entry.js → p-01be2de5.entry.js} +1 -1
  274. package/dist/genesys-webcomponents/p-03618cd4.entry.js +1 -0
  275. package/dist/genesys-webcomponents/p-04191ca3.entry.js +1 -0
  276. package/dist/genesys-webcomponents/{p-c33302a9.entry.js → p-044952be.entry.js} +1 -1
  277. package/dist/genesys-webcomponents/p-06303fbe.entry.js +1 -0
  278. package/dist/genesys-webcomponents/{p-25c0bb1b.entry.js → p-126bdd9d.entry.js} +1 -1
  279. package/dist/genesys-webcomponents/{p-cd886516.entry.js → p-127b9b26.entry.js} +1 -1
  280. package/dist/genesys-webcomponents/{p-da7871eb.entry.js → p-140b15fa.entry.js} +1 -1
  281. package/dist/genesys-webcomponents/{p-5a5f7e99.entry.js → p-14e6073f.entry.js} +1 -1
  282. package/dist/genesys-webcomponents/{p-f06bd9a0.entry.js → p-161a2943.entry.js} +1 -1
  283. package/dist/genesys-webcomponents/{p-4a548454.entry.js → p-168a430e.entry.js} +1 -1
  284. package/dist/genesys-webcomponents/{p-2e37c074.entry.js → p-1942e9e9.entry.js} +1 -1
  285. package/dist/genesys-webcomponents/{p-6d214a2a.entry.js → p-1a8b603b.entry.js} +1 -1
  286. package/dist/genesys-webcomponents/{p-7273fd52.entry.js → p-1c1a307d.entry.js} +1 -1
  287. package/dist/genesys-webcomponents/{p-a3363202.entry.js → p-1cc73ac6.entry.js} +1 -1
  288. package/dist/genesys-webcomponents/{p-724fbfc1.entry.js → p-1e57262c.entry.js} +1 -1
  289. package/dist/genesys-webcomponents/{p-4c6b9794.entry.js → p-1fc1faca.entry.js} +1 -1
  290. package/dist/genesys-webcomponents/{p-7674bd92.entry.js → p-2177200b.entry.js} +1 -1
  291. package/dist/genesys-webcomponents/{p-b7b65079.entry.js → p-219fec9e.entry.js} +1 -1
  292. package/dist/genesys-webcomponents/{p-ee7ddf28.entry.js → p-24c04a05.entry.js} +1 -1
  293. package/dist/genesys-webcomponents/{p-ca3f58b7.entry.js → p-2b9d4fcd.entry.js} +1 -1
  294. package/dist/genesys-webcomponents/{p-a370795b.entry.js → p-2c04c46a.entry.js} +1 -1
  295. package/dist/genesys-webcomponents/{p-b3771446.entry.js → p-2c9e5f60.entry.js} +1 -1
  296. package/dist/genesys-webcomponents/{p-1ee6564e.entry.js → p-2e7ef7cc.entry.js} +1 -1
  297. package/dist/genesys-webcomponents/{p-a67faf1b.entry.js → p-32c82188.entry.js} +1 -1
  298. package/dist/genesys-webcomponents/{p-d4ea968c.entry.js → p-34f196b6.entry.js} +1 -1
  299. package/dist/genesys-webcomponents/{p-caf9d334.entry.js → p-366c973f.entry.js} +1 -1
  300. package/dist/genesys-webcomponents/{p-8b165cea.entry.js → p-3b407ef0.entry.js} +1 -1
  301. package/dist/genesys-webcomponents/{p-79ddd5e6.entry.js → p-3c8ba744.entry.js} +1 -1
  302. package/dist/genesys-webcomponents/{p-b6699f54.entry.js → p-412dcd92.entry.js} +1 -1
  303. package/dist/genesys-webcomponents/{p-65f5e668.entry.js → p-4255f033.entry.js} +1 -1
  304. package/dist/genesys-webcomponents/{p-04c85b3b.js → p-43db8808.js} +1 -1
  305. package/dist/genesys-webcomponents/p-4578bdc6.entry.js +1 -0
  306. package/dist/genesys-webcomponents/{p-b3e5fe7a.entry.js → p-4641ec47.entry.js} +1 -1
  307. package/dist/genesys-webcomponents/p-46a51611.entry.js +1 -0
  308. package/dist/genesys-webcomponents/{p-a1c05f13.entry.js → p-475324bb.entry.js} +1 -1
  309. package/dist/genesys-webcomponents/{p-433d9171.entry.js → p-47e49981.entry.js} +1 -1
  310. package/dist/genesys-webcomponents/{p-a376d546.entry.js → p-48fe9f97.entry.js} +1 -1
  311. package/dist/genesys-webcomponents/{p-aa5a5d80.entry.js → p-4c0cf11b.entry.js} +1 -1
  312. package/dist/genesys-webcomponents/p-4fa5d622.entry.js +1 -0
  313. package/dist/genesys-webcomponents/{p-96306dad.entry.js → p-4ff9015f.entry.js} +1 -1
  314. package/dist/genesys-webcomponents/{p-95243649.entry.js → p-52ae0dff.entry.js} +1 -1
  315. package/dist/genesys-webcomponents/{p-a972afa4.entry.js → p-5a71401f.entry.js} +1 -1
  316. package/dist/genesys-webcomponents/{p-0117591d.entry.js → p-5b161d99.entry.js} +1 -1
  317. package/dist/genesys-webcomponents/{p-de1fca25.entry.js → p-61492fb2.entry.js} +1 -1
  318. package/dist/genesys-webcomponents/{p-082ed703.entry.js → p-6782bc47.entry.js} +1 -1
  319. package/dist/genesys-webcomponents/p-6afffef6.entry.js +1 -0
  320. package/dist/genesys-webcomponents/p-6c62eb0b.entry.js +1 -0
  321. package/dist/genesys-webcomponents/{p-fcdad94f.js → p-6ec0040f.js} +1 -1
  322. package/dist/genesys-webcomponents/{p-794559b9.entry.js → p-71fd2223.entry.js} +1 -1
  323. package/dist/genesys-webcomponents/{p-f99b7a11.entry.js → p-740d529f.entry.js} +1 -1
  324. package/dist/genesys-webcomponents/p-74b5b61f.entry.js +1 -0
  325. package/dist/genesys-webcomponents/{p-9e8ce8bd.entry.js → p-7a7b2de6.entry.js} +1 -1
  326. package/dist/genesys-webcomponents/{p-6af79374.entry.js → p-7e15f786.entry.js} +1 -1
  327. package/dist/genesys-webcomponents/{p-78327b1b.entry.js → p-7f91639d.entry.js} +1 -1
  328. package/dist/genesys-webcomponents/p-8148f973.entry.js +1 -0
  329. package/dist/genesys-webcomponents/{p-2deae83a.entry.js → p-8348fb28.entry.js} +1 -1
  330. package/dist/genesys-webcomponents/p-8557f62c.entry.js +1 -0
  331. package/dist/genesys-webcomponents/p-893e7fdf.entry.js +1 -0
  332. package/dist/genesys-webcomponents/{p-a1d79a3e.entry.js → p-8d37d7b6.entry.js} +1 -1
  333. package/dist/genesys-webcomponents/{p-95a6efb2.entry.js → p-8e3d7685.entry.js} +1 -1
  334. package/dist/genesys-webcomponents/{p-df2bf3b1.entry.js → p-94b4c37b.entry.js} +1 -1
  335. package/dist/genesys-webcomponents/{p-79f6404c.entry.js → p-9a3ea047.entry.js} +1 -1
  336. package/dist/genesys-webcomponents/{p-2e4ee5a7.entry.js → p-9b85157f.entry.js} +1 -1
  337. package/dist/genesys-webcomponents/{p-69483740.entry.js → p-a0021e01.entry.js} +1 -1
  338. package/dist/genesys-webcomponents/{p-e775c55c.entry.js → p-a0670b52.entry.js} +1 -1
  339. package/dist/genesys-webcomponents/{p-fd5b6781.entry.js → p-a26a73f3.entry.js} +1 -1
  340. package/dist/genesys-webcomponents/{p-28b6a488.entry.js → p-a2c3f918.entry.js} +1 -1
  341. package/dist/genesys-webcomponents/{p-3fcda53f.entry.js → p-a4a9f97f.entry.js} +1 -1
  342. package/dist/genesys-webcomponents/{p-765faf29.entry.js → p-a72683d8.entry.js} +1 -1
  343. package/dist/genesys-webcomponents/{p-9c61429c.entry.js → p-a918c146.entry.js} +1 -1
  344. package/dist/genesys-webcomponents/{p-646eaa03.entry.js → p-abdd558b.entry.js} +1 -1
  345. package/dist/genesys-webcomponents/{p-76a86917.entry.js → p-ac57fa66.entry.js} +1 -1
  346. package/dist/genesys-webcomponents/{p-e2775836.entry.js → p-adbb4b08.entry.js} +1 -1
  347. package/dist/genesys-webcomponents/{p-41b068dd.entry.js → p-af1ef170.entry.js} +1 -1
  348. package/dist/genesys-webcomponents/{p-10da2337.entry.js → p-b0db67dc.entry.js} +1 -1
  349. package/dist/genesys-webcomponents/{p-818d9ede.entry.js → p-b12be976.entry.js} +1 -1
  350. package/dist/genesys-webcomponents/p-b1c93415.entry.js +1 -0
  351. package/dist/genesys-webcomponents/{p-7b310b54.entry.js → p-b1f9808a.entry.js} +1 -1
  352. package/dist/genesys-webcomponents/{p-cf041f4b.entry.js → p-b2448720.entry.js} +1 -1
  353. package/dist/genesys-webcomponents/{p-c6ca443d.entry.js → p-b2853f1b.entry.js} +1 -1
  354. package/dist/genesys-webcomponents/{p-0aa0d1e0.entry.js → p-b469c39e.entry.js} +1 -1
  355. package/dist/genesys-webcomponents/{p-25f34f16.entry.js → p-b7734ee1.entry.js} +1 -1
  356. package/dist/genesys-webcomponents/{p-bebdca62.entry.js → p-b9c7b974.entry.js} +1 -1
  357. package/dist/genesys-webcomponents/{p-120cae91.entry.js → p-b9fd5655.entry.js} +1 -1
  358. package/dist/genesys-webcomponents/{p-28e6ab94.entry.js → p-bcefa6a2.entry.js} +1 -1
  359. package/dist/genesys-webcomponents/{p-16f74ec0.js → p-be142c81.js} +1 -1
  360. package/dist/genesys-webcomponents/p-be89512a.entry.js +1 -0
  361. package/dist/genesys-webcomponents/{p-c1b17e7a.entry.js → p-beb4e514.entry.js} +1 -1
  362. package/dist/genesys-webcomponents/{p-896781c6.entry.js → p-bf7a4f4c.entry.js} +1 -1
  363. package/dist/genesys-webcomponents/p-c101041b.entry.js +1 -0
  364. package/dist/genesys-webcomponents/{p-58e748cf.entry.js → p-c129a55a.entry.js} +1 -1
  365. package/dist/genesys-webcomponents/{p-6feecc53.entry.js → p-c4171c65.entry.js} +1 -1
  366. package/dist/genesys-webcomponents/{p-f172e2aa.entry.js → p-c7b5a1e4.entry.js} +1 -1
  367. package/dist/genesys-webcomponents/{p-b10ba8c1.entry.js → p-ca672d6c.entry.js} +1 -1
  368. package/dist/genesys-webcomponents/{p-1f01408c.entry.js → p-cb461c35.entry.js} +1 -1
  369. package/dist/genesys-webcomponents/{p-43c190fb.entry.js → p-cbf8fe92.entry.js} +1 -1
  370. package/dist/genesys-webcomponents/{p-5741f361.entry.js → p-ccb95948.entry.js} +1 -1
  371. package/dist/genesys-webcomponents/p-ccef859d.entry.js +1 -0
  372. package/dist/genesys-webcomponents/{p-305f8259.entry.js → p-cf7e1b57.entry.js} +1 -1
  373. package/dist/genesys-webcomponents/p-cfdc652b.entry.js +1 -0
  374. package/dist/genesys-webcomponents/{p-e1140ad7.entry.js → p-d0b48b5d.entry.js} +1 -1
  375. package/dist/genesys-webcomponents/{p-1cc4bfe8.entry.js → p-d452033d.entry.js} +1 -1
  376. package/dist/genesys-webcomponents/{p-7984e009.entry.js → p-d48345d2.entry.js} +1 -1
  377. package/dist/genesys-webcomponents/{p-d06250ae.entry.js → p-d6032f56.entry.js} +1 -1
  378. package/dist/genesys-webcomponents/{p-f3ca6491.entry.js → p-d75709aa.entry.js} +1 -1
  379. package/dist/genesys-webcomponents/{p-60896e89.entry.js → p-d7e0ae87.entry.js} +1 -1
  380. package/dist/genesys-webcomponents/{p-0c2763a7.entry.js → p-dbd270c7.entry.js} +1 -1
  381. package/dist/genesys-webcomponents/{p-b480e802.entry.js → p-dd4ce7cf.entry.js} +1 -1
  382. package/dist/genesys-webcomponents/{p-b637957c.entry.js → p-ddc587da.entry.js} +1 -1
  383. package/dist/genesys-webcomponents/{p-a213ad14.entry.js → p-debfd94a.entry.js} +1 -1
  384. package/dist/genesys-webcomponents/{p-fc8e2f2a.entry.js → p-e0a313e9.entry.js} +1 -1
  385. package/dist/genesys-webcomponents/{p-5731cc5f.entry.js → p-e13edf65.entry.js} +1 -1
  386. package/dist/genesys-webcomponents/{p-370e5eaf.entry.js → p-e2777b62.entry.js} +1 -1
  387. package/dist/genesys-webcomponents/{p-c7d6523f.entry.js → p-e5baff35.entry.js} +1 -1
  388. package/dist/genesys-webcomponents/{p-ce82e394.entry.js → p-e7cce33f.entry.js} +1 -1
  389. package/dist/genesys-webcomponents/{p-bd9f8025.entry.js → p-ea7f7be3.entry.js} +1 -1
  390. package/dist/genesys-webcomponents/{p-11a1d826.entry.js → p-ed0aff08.entry.js} +1 -1
  391. package/dist/genesys-webcomponents/{p-510e591f.entry.js → p-ee687f41.entry.js} +1 -1
  392. package/dist/genesys-webcomponents/{p-567954c5.entry.js → p-f5de3e06.entry.js} +1 -1
  393. package/dist/genesys-webcomponents/{p-f2f48bdb.entry.js → p-f9741506.entry.js} +1 -1
  394. package/dist/genesys-webcomponents/{p-ac47a12d.entry.js → p-fa05ea7c.entry.js} +1 -1
  395. package/dist/genesys-webcomponents/{p-65342506.entry.js → p-fcc941cf.entry.js} +1 -1
  396. package/dist/genesys-webcomponents/{p-7fa9a1a7.entry.js → p-fd7cd766.entry.js} +1 -1
  397. package/dist/stencil-wrapper.js +1 -1
  398. package/dist/types/components/beta/gux-form/tests/gux-form.common.d.ts +4 -0
  399. package/dist/types/components/beta/gux-selector-cards/gux-selector-card/tests/gux-selector-card.common.d.ts +4 -0
  400. package/dist/types/components/stable/gux-page-loading-spinner/tests/gux-page-loading-spinner.common.d.ts +4 -0
  401. package/dist/types/components/stable/gux-toggle/tests/gux-toggle.common.d.ts +4 -0
  402. package/dist/types/stencil-wrapper.d.ts +1 -1
  403. package/dist/types/test/playwrightTestUtils.d.ts +2 -1
  404. package/package.json +19 -18
  405. package/dist/genesys-webcomponents/p-3e5ab57f.entry.js +0 -1
  406. package/dist/genesys-webcomponents/p-41bb6496.entry.js +0 -1
  407. package/dist/genesys-webcomponents/p-4c2ed418.entry.js +0 -1
  408. package/dist/genesys-webcomponents/p-4ce005e3.entry.js +0 -1
  409. package/dist/genesys-webcomponents/p-557c3e62.entry.js +0 -1
  410. package/dist/genesys-webcomponents/p-7d1ae2bd.entry.js +0 -1
  411. package/dist/genesys-webcomponents/p-9ab9b09b.entry.js +0 -1
  412. package/dist/genesys-webcomponents/p-baf50bbe.entry.js +0 -1
  413. package/dist/genesys-webcomponents/p-c18dfe1b.entry.js +0 -1
  414. package/dist/genesys-webcomponents/p-c8bf3910.entry.js +0 -1
  415. package/dist/genesys-webcomponents/p-d1e06e65.entry.js +0 -1
  416. package/dist/genesys-webcomponents/p-df67e0a0.entry.js +0 -1
  417. package/dist/genesys-webcomponents/p-e234afde.entry.js +0 -1
  418. package/dist/genesys-webcomponents/p-f62e0338.entry.js +0 -1
  419. package/dist/genesys-webcomponents/p-fbfcce82.entry.js +0 -1
  420. package/dist/genesys-webcomponents/p-fdd08d1b.entry.js +0 -1
  421. package/dist/genesys-webcomponents/p-ff96048b.entry.js +0 -1
  422. /package/dist/cjs/{index.umd-debc04ba.js → index.umd-aba93706.js} +0 -0
  423. /package/dist/esm/{index.umd-64d8c536.js → index.umd-ef564d94.js} +0 -0
  424. /package/dist/genesys-webcomponents/{p-5e1571a8.js → p-8073cd78.js} +0 -0
@@ -1 +1 @@
1
- import{r as e,f as t,h as o,g as i}from"./p-cf74fd3d.js";import{c as r,o as n}from"./p-f4751a15.js";import{O as l}from"./p-946c70b7.js";import{o as a}from"./p-6b12dd16.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-56b18d28.js";import{G as p,a as h}from"./p-bd1d4fac.js";import{h as g,b as c,c as x,g as m,v as b,a as v}from"./p-4aaf349e.js";import{t as C}from"./p-fcdad94f.js";import{f as y}from"./p-54822e3b.js";import"./p-0934300e.js";import"./p-8eaf8caf.js";import"./p-2c25e2f2.js";const k=class{constructor(t){e(this,t),this.loading=!1,this.indicatorMark="required",this.computedLabelPosition="above",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 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)}async guxForceUpdate(){this.hasContent=g(this.input),this.hasError=f(this.root,"error"),this.hasHelp=f(this.root,"help"),t(this.root)}renderRadialLoading(){if(this.loading)return o("div",{role:"status"},o("gux-radial-loading",{context:"input"}))}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"),this.hasPrefix=Boolean(this.root.querySelector('[slot="prefix"]')),this.hasSuffix=Boolean(this.root.querySelector('[slot="suffix"]')),this.hasPrefix&&c(this.root,this.input,"prefix"),this.hasSuffix&&c(this.root,this.input,"suffix"),C(this.root,{variant:this.variant})}disconnectedCallback(){this.disabledObserver&&this.disabledObserver.disconnect(),this.requiredObserver&&this.requiredObserver.disconnect()}render(){return o(h,{key:"6e268f9b2f5cdefcf05f51b95bbdabfc7f90a58b",labelPosition:this.computedLabelPosition},o(p,{key:"8da38ac30c89cc7f4a6d7a9ca95096622354f786",required:this.required,position:this.computedLabelPosition},o("slot",{key:"f4f8cb4dd7165fab77df91759603cf2a67b9d967",name:"label",onSlotchange:()=>this.setLabel()}),o("gux-form-field-label-indicator",{key:"b742165e6f2ae4bae2527cf2e23fc02793ae8b92",variant:this.indicatorMark,required:this.required}),o("slot",{key:"c86c3d5580a44bfc070d801f85797333c68340df",name:"label-info"})),o("div",{key:"97a46a9562bf08388684e4c13781cbc67ffa00b4",class:"gux-input-and-error-container"},o("div",{key:"faa6d68074db30e416db0f0712467e10322d5551",class:{"gux-input":!0,"gux-input-error":this.hasError}},o("div",{key:"f29ddc3ae15dab4002423197ce745426a9b81989",class:{"gux-input-container":!0,"gux-disabled":this.disabled,"gux-has-prefix":this.hasPrefix,"gux-has-suffix":this.hasSuffix},onClick:()=>y(this.input)},o("slot",{key:"159068cc7389df4caa747e849b3443b6a8e68525",name:"prefix"}),o("slot",{key:"a1a529019ed80868047a04eeade0257efafff654",name:"input"}),this.renderRadialLoading(),o("slot",{key:"ed703884556dd9302248d1c3a25fcb8bed8ac661",name:"suffix"}),this.clearable&&this.hasContent&&!this.disabled&&o("gux-form-field-input-clear-button",{key:"7f47627751268f2703b3246884ecf1ba4a719cb6",onClick:()=>x(this.input)}))),o(u,{key:"243eba4b6bb5dbfba50e68b376f9df5dd1352e72",show:this.hasError},o("slot",{key:"77f90dec9b23318b005379b5c35c66b922b3c6bb",name:"error"})),o(d,{key:"48da44761dc115f5f1f451a7a61f338098ea0e93",show:!this.hasError&&this.hasHelp},o("slot",{key:"4355d3580e354d94639d8ceeaf0d862172bb0fb7",name:"help"}))))}get variant(){const e=this.labelPosition?this.labelPosition.toLowerCase():"none";return`${this.input.getAttribute("type")}-${this.clearable?"clearable":"unclearable"}-${e}`}setInput(){this.input=m(this.root,'input[type="email"][slot="input"], input[type="number"][slot="input"], input[type="password"][slot="input"], input[type="text"][slot="input"]'),this.hasContent=g(this.input),s(this.input),this.input.addEventListener("input",(()=>{this.hasContent=g(this.input)})),this.disabled=r(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=v(this.label,this.labelPosition)}get root(){return i(this)}};(function(e,t,o,i){var r,n=arguments.length,l=n<3?t:null===i?i=Object.getOwnPropertyDescriptor(t,o):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)l=Reflect.decorate(e,t,o,i);else for(var a=e.length-1;a>=0;a--)(r=e[a])&&(l=(n<3?r(l):n>3?r(t,o,l):r(t,o))||l);n>3&&l&&Object.defineProperty(t,o,l)})([l({childList:!0,subtree:!0})],k.prototype,"onMutation",null),k.style=".gux-form-field-container.gux-beside{display:flex;flex-direction:row}.gux-form-field-error{display:none;flex-direction:row;flex-wrap:nowrap;gap:var(--gse-ui-formControl-helper-gap);place-content:stretch flex-start;padding:var(--gse-ui-formControl-helper-errorPadding);font-family:var(--gse-ui-formControl-helper-helperText-fontFamily);font-size:var(--gse-ui-formControl-helper-helperText-fontSize);line-height:var(--gse-ui-formControl-helper-helperText-lineHeight);color:var(--gse-ui-formControl-helper-errorColor)}.gux-form-field-error.gux-show{display:flex}.gux-form-field-error gux-icon{flex:0 1 auto;order:0;color:var(--gse-ui-formControl-helper-errorColor)}.gux-form-field-error .gux-message{flex:0 1 auto;align-self:auto;order:0}.gux-form-field-label{display:inline-flex;flex:1 0 auto}.gux-form-field-label ::slotted(gux-label-info-beta){padding-inline-start:var(--gse-ui-formControl-formField-gap)}.gux-form-field-label.gux-beside{position:relative;inset-block-start:var(--gse-ui-formControl-input-top);inline-size:fit-content;min-inline-size:var(--gse-ui-formControl-input-textfield-minWidth);max-inline-size:fit-content;margin-inline-end:var(--gse-ui-formControl-group-gapItems)}.gux-form-field-label.gux-above{padding-block-end:var(--gse-ui-formControl-formField-gap)}.gux-form-field-label.gux-screenreader{position:absolute;top:auto;left:-10000px;width:1px;height:1px;overflow:hidden}.gux-form-field-help{display:none;flex-direction:row;flex-wrap:nowrap;place-content:stretch flex-start;align-items:flex-start;justify-content:flex-start;padding-block-start:var(--gse-ui-formControl-formField-gap);font-family:var(--gse-ui-formControl-helper-helperText-fontFamily);font-size:var(--gse-ui-formControl-helper-helperText-fontSize);line-height:var(--gse-ui-formControl-helper-helperText-lineHeight);color:var(--gse-ui-formControl-helper-defaultColor)}.gux-form-field-help.gux-show{display:flex}.gux-form-field-help .gux-message{flex:0 1 auto;align-self:none;order:0}:host{display:block}::slotted(label){font-family:var(--gse-ui-formControl-label-textBold-fontFamily);font-size:var(--gse-ui-formControl-label-textBold-fontSize);font-weight:var(--gse-ui-formControl-label-textBold-fontWeight);line-height:var(--gse-ui-formControl-label-textBold-lineHeight);color:var(--gse-ui-formControl-label-labelColor)}::slotted(input){flex:1 1 auto;align-self:auto;order:0;inline-size:100%;overflow:hidden;text-overflow:ellipsis;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);outline:none;background-color:var(--gse-ui-formControl-input-backgroundColor);border:none}::slotted(input)::placeholder{color:var(--gse-ui-formControl-input-placeholderColor);opacity:1}slot[name=prefix],slot[name=suffix]{font-family:var(--gse-ui-formControl-input-prefixSufix-text-fontFamily);font-size:var(--gse-ui-formControl-input-prefixSufix-text-fontSize);line-height:var(--gse-ui-formControl-input-prefixSufix-text-lineHeight);color:var(--gse-ui-formControl-input-prefixSufix-defaultColor);text-align:center;white-space:nowrap;text-decoration:none}.gux-input-and-error-container{flex-grow:1}.gux-input-and-error-container .gux-input .gux-input-container{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;inline-size:100%;block-size: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-has-suffix:not(.gux-input-and-error-container .gux-input .gux-input-container.gux-has-prefix) ::slotted(input){text-align:end}.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:focus-within{outline:var(--gse-ui-formControl-input-focus-border-width) var(--gse-ui-formControl-input-focus-border-style) var(--gse-ui-formControl-input-focus-border-color);outline-offset:var(--gse-semantic-focusOutline-offset);border:var(--gse-ui-formControl-input-active-border-width) var(--gse-ui-formControl-input-active-border-style) var(--gse-ui-formControl-input-active-border-color);border-radius:var(--gse-ui-formControl-focusRing-borderRadius)}.gux-input-and-error-container .gux-input .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{k as gux_form_field_text_like}
1
+ import{r as e,f as t,h as o,g as i}from"./p-cf74fd3d.js";import{c as r,o as n}from"./p-f4751a15.js";import{O as l}from"./p-946c70b7.js";import{o as a}from"./p-6b12dd16.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-56b18d28.js";import{G as p,a as h}from"./p-bd1d4fac.js";import{h as g,b as c,c as x,g as m,v as b,a as v}from"./p-4aaf349e.js";import{t as C}from"./p-6ec0040f.js";import{f as y}from"./p-54822e3b.js";import"./p-0934300e.js";import"./p-8eaf8caf.js";import"./p-2c25e2f2.js";const k=class{constructor(t){e(this,t),this.loading=!1,this.indicatorMark="required",this.computedLabelPosition="above",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 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)}async guxForceUpdate(){this.hasContent=g(this.input),this.hasError=f(this.root,"error"),this.hasHelp=f(this.root,"help"),t(this.root)}renderRadialLoading(){if(this.loading)return o("div",{role:"status"},o("gux-radial-loading",{context:"input"}))}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"),this.hasPrefix=Boolean(this.root.querySelector('[slot="prefix"]')),this.hasSuffix=Boolean(this.root.querySelector('[slot="suffix"]')),this.hasPrefix&&c(this.root,this.input,"prefix"),this.hasSuffix&&c(this.root,this.input,"suffix"),C(this.root,{variant:this.variant})}disconnectedCallback(){this.disabledObserver&&this.disabledObserver.disconnect(),this.requiredObserver&&this.requiredObserver.disconnect()}render(){return o(h,{key:"6e268f9b2f5cdefcf05f51b95bbdabfc7f90a58b",labelPosition:this.computedLabelPosition},o(p,{key:"8da38ac30c89cc7f4a6d7a9ca95096622354f786",required:this.required,position:this.computedLabelPosition},o("slot",{key:"f4f8cb4dd7165fab77df91759603cf2a67b9d967",name:"label",onSlotchange:()=>this.setLabel()}),o("gux-form-field-label-indicator",{key:"b742165e6f2ae4bae2527cf2e23fc02793ae8b92",variant:this.indicatorMark,required:this.required}),o("slot",{key:"c86c3d5580a44bfc070d801f85797333c68340df",name:"label-info"})),o("div",{key:"97a46a9562bf08388684e4c13781cbc67ffa00b4",class:"gux-input-and-error-container"},o("div",{key:"faa6d68074db30e416db0f0712467e10322d5551",class:{"gux-input":!0,"gux-input-error":this.hasError}},o("div",{key:"f29ddc3ae15dab4002423197ce745426a9b81989",class:{"gux-input-container":!0,"gux-disabled":this.disabled,"gux-has-prefix":this.hasPrefix,"gux-has-suffix":this.hasSuffix},onClick:()=>y(this.input)},o("slot",{key:"159068cc7389df4caa747e849b3443b6a8e68525",name:"prefix"}),o("slot",{key:"a1a529019ed80868047a04eeade0257efafff654",name:"input"}),this.renderRadialLoading(),o("slot",{key:"ed703884556dd9302248d1c3a25fcb8bed8ac661",name:"suffix"}),this.clearable&&this.hasContent&&!this.disabled&&o("gux-form-field-input-clear-button",{key:"7f47627751268f2703b3246884ecf1ba4a719cb6",onClick:()=>x(this.input)}))),o(u,{key:"243eba4b6bb5dbfba50e68b376f9df5dd1352e72",show:this.hasError},o("slot",{key:"77f90dec9b23318b005379b5c35c66b922b3c6bb",name:"error"})),o(d,{key:"48da44761dc115f5f1f451a7a61f338098ea0e93",show:!this.hasError&&this.hasHelp},o("slot",{key:"4355d3580e354d94639d8ceeaf0d862172bb0fb7",name:"help"}))))}get variant(){const e=this.labelPosition?this.labelPosition.toLowerCase():"none";return`${this.input.getAttribute("type")}-${this.clearable?"clearable":"unclearable"}-${e}`}setInput(){this.input=m(this.root,'input[type="email"][slot="input"], input[type="number"][slot="input"], input[type="password"][slot="input"], input[type="text"][slot="input"]'),this.hasContent=g(this.input),s(this.input),this.input.addEventListener("input",(()=>{this.hasContent=g(this.input)})),this.disabled=r(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=v(this.label,this.labelPosition)}get root(){return i(this)}};(function(e,t,o,i){var r,n=arguments.length,l=n<3?t:null===i?i=Object.getOwnPropertyDescriptor(t,o):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)l=Reflect.decorate(e,t,o,i);else for(var a=e.length-1;a>=0;a--)(r=e[a])&&(l=(n<3?r(l):n>3?r(t,o,l):r(t,o))||l);n>3&&l&&Object.defineProperty(t,o,l)})([l({childList:!0,subtree:!0})],k.prototype,"onMutation",null),k.style=".gux-form-field-container.gux-beside{display:flex;flex-direction:row}.gux-form-field-error{display:none;flex-direction:row;flex-wrap:nowrap;gap:var(--gse-ui-formControl-helper-gap);place-content:stretch flex-start;padding:var(--gse-ui-formControl-helper-errorPadding);font-family:var(--gse-ui-formControl-helper-helperText-fontFamily);font-size:var(--gse-ui-formControl-helper-helperText-fontSize);line-height:var(--gse-ui-formControl-helper-helperText-lineHeight);color:var(--gse-ui-formControl-helper-errorColor)}.gux-form-field-error.gux-show{display:flex}.gux-form-field-error gux-icon{flex:0 1 auto;order:0;color:var(--gse-ui-formControl-helper-errorColor)}.gux-form-field-error .gux-message{flex:0 1 auto;align-self:auto;order:0}.gux-form-field-label{display:inline-flex;flex:1 0 auto}.gux-form-field-label ::slotted(gux-label-info-beta){padding-inline-start:var(--gse-ui-formControl-formField-gap)}.gux-form-field-label.gux-beside{position:relative;inset-block-start:var(--gse-ui-formControl-input-top);inline-size:fit-content;min-inline-size:var(--gse-ui-formControl-input-textfield-minWidth);max-inline-size:fit-content;margin-inline-end:var(--gse-ui-formControl-group-gapItems)}.gux-form-field-label.gux-above{padding-block-end:var(--gse-ui-formControl-formField-gap)}.gux-form-field-label.gux-screenreader{position:absolute;top:auto;left:-10000px;width:1px;height:1px;overflow:hidden}.gux-form-field-help{display:none;flex-direction:row;flex-wrap:nowrap;place-content:stretch flex-start;align-items:flex-start;justify-content:flex-start;padding-block-start:var(--gse-ui-formControl-formField-gap);font-family:var(--gse-ui-formControl-helper-helperText-fontFamily);font-size:var(--gse-ui-formControl-helper-helperText-fontSize);line-height:var(--gse-ui-formControl-helper-helperText-lineHeight);color:var(--gse-ui-formControl-helper-defaultColor)}.gux-form-field-help.gux-show{display:flex}.gux-form-field-help .gux-message{flex:0 1 auto;align-self:none;order:0}:host{display:block}::slotted(label){font-family:var(--gse-ui-formControl-label-textBold-fontFamily);font-size:var(--gse-ui-formControl-label-textBold-fontSize);font-weight:var(--gse-ui-formControl-label-textBold-fontWeight);line-height:var(--gse-ui-formControl-label-textBold-lineHeight);color:var(--gse-ui-formControl-label-labelColor)}::slotted(input){flex:1 1 auto;align-self:auto;order:0;inline-size:100%;overflow:hidden;text-overflow:ellipsis;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);outline:none;background-color:var(--gse-ui-formControl-input-backgroundColor);border:none}::slotted(input)::placeholder{color:var(--gse-ui-formControl-input-placeholderColor);opacity:1}slot[name=prefix],slot[name=suffix]{font-family:var(--gse-ui-formControl-input-prefixSufix-text-fontFamily);font-size:var(--gse-ui-formControl-input-prefixSufix-text-fontSize);line-height:var(--gse-ui-formControl-input-prefixSufix-text-lineHeight);color:var(--gse-ui-formControl-input-prefixSufix-defaultColor);text-align:center;white-space:nowrap;text-decoration:none}.gux-input-and-error-container{flex-grow:1}.gux-input-and-error-container .gux-input .gux-input-container{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;inline-size:100%;block-size: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-has-suffix:not(.gux-input-and-error-container .gux-input .gux-input-container.gux-has-prefix) ::slotted(input){text-align:end}.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:focus-within{outline:var(--gse-ui-formControl-input-focus-border-width) var(--gse-ui-formControl-input-focus-border-style) var(--gse-ui-formControl-input-focus-border-color);outline-offset:var(--gse-semantic-focusOutline-offset);border:var(--gse-ui-formControl-input-active-border-width) var(--gse-ui-formControl-input-active-border-style) var(--gse-ui-formControl-input-active-border-color);border-radius:var(--gse-ui-formControl-focusRing-borderRadius)}.gux-input-and-error-container .gux-input .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{k as gux_form_field_text_like}
@@ -1 +1 @@
1
- import{r as t,c as e,f as i,h as s,g as o}from"./p-cf74fd3d.js";import{O as n}from"./p-f3d844c7.js";import{b as a}from"./p-e5e644b3.js";import{s as r}from"./p-2c25e2f2.js";import{b as l}from"./p-cf0e7d3b.js";import{t as u}from"./p-fcdad94f.js";import{O as d}from"./p-946c70b7.js";import{s as g,b as c}from"./p-01ff7495.js";import{h}from"./p-6d8b4027.js";import"./p-4202e9f2.js";const p={filterResults:"Type to filter dropdown results",noSelection:"Select...",dropdown:"Dropdown"};var f=function(t,e,i,s){var o,n=arguments.length,a=n<3?e:null===s?s=Object.getOwnPropertyDescriptor(e,i):s;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(t,e,i,s);else for(var r=t.length-1;r>=0;r--)(o=t[r])&&(a=(n<3?o(a):n>3?o(e,i,a):o(e,i))||a);return n>3&&a&&Object.defineProperty(e,i,a),a};const x=class{constructor(i){t(this,i),this.guxexpanded=e(this,"guxexpanded",7),this.guxcollapsed=e(this,"guxcollapsed",7),this.required=!1,this.expanded=!1}watchValue(t){this.validateValue(t,this.listboxElement)}onKeydown(t){switch(t.key){case"Escape":return void this.collapseListbox("focusFieldButton");case"Tab":return void this.collapseListbox("noFocusChange");case"ArrowDown":return void(this.activeElementNotListbox()&&(t.preventDefault(),this.expanded=!0,g(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&&l((()=>{this.listboxElement.focus()}))}onInternalCollapsed(t){t.stopPropagation(),this.guxcollapsed.emit()}connectedCallback(){var t;this.listboxElement=null===(t=this.root)||void 0===t?void 0:t.querySelector("gux-listbox"),this.listboxElement&&this.validateValue(this.value,this.listboxElement)}async componentWillLoad(){u(this.root),this.i18n=await a(this.root,p)}componentDidLoad(){this.applyListboxEventListeners(),this.applyTableStyle()}componentWillRender(){this.listboxElement&&this.validateValue(this.value,this.listboxElement)}showTooltip(){var t;null===(t=this.truncateElement)||void 0===t||t.setShowTooltip()}hideTooltip(){var t;null===(t=this.truncateElement)||void 0===t||t.setHideTooltip()}validateValue(t,e){void 0!==t?this.getOptionElementByValue(t)&&(e.value=t):e&&(e.value=t)}applyTableStyle(){var t;"td"===(null===(t=this.root.parentElement)||void 0===t?void 0:t.tagName.toLowerCase())&&this.popupElement.classList.add("gux-has-table-parent")}applyListboxEventListeners(){var t,e;null===(t=this.listboxElement)||void 0===t||t.addEventListener("input",(t=>{t.stopPropagation(),this.updateValue(t.target.value)})),null===(e=this.listboxElement)||void 0===e||e.addEventListener("change",(t=>{t.stopPropagation()}))}stopPropagationOfInternalFocusEvents(t){if(this.root.contains(t.relatedTarget))return t.stopImmediatePropagation()}get optionElements(){return c(this.listboxElement)}getOptionElementByValue(t){return this.optionElements.find((e=>e.value===t))}fieldButtonClick(){this.expanded=!this.expanded}activeElementNotListbox(){return document.activeElement!==this.listboxElement}collapseListbox(t){this.expanded&&(this.expanded=!1),"focusFieldButton"===t&&this.fieldButtonElement.focus()}updateValue(t){this.value!==t&&(this.value=t,r(this.root,"input"),r(this.root,"change")),this.collapseListbox("focusFieldButton")}renderTargetDisplay(){const t=this.getOptionElementByValue(this.value);return t?s("div",{class:"gux-selected-option"},this.renderSelectedItem(t)):s("div",{class:"gux-placeholder"},this.placeholder||this.i18n("noSelection"))}renderSelectedItem(t){const e=t.tagName.toLowerCase();switch(e){case"gux-option":return this.renderOption(t);case"gux-option-icon":return this.renderIconOption(t);case"gux-option-status-beta":return this.renderStatusOption(t);default:return e}}renderOption(t){let e=t.textContent;if(h(t,"subtext")){const i=t.querySelector("[slot=subtext]");e=e.substring(0,e.length-i.textContent.length)}return s("gux-truncate",{ref:t=>this.truncateElement=t,dir:"auto"},e)}renderIconOption(t){let e=null;return null!==t.iconColor&&(e={color:t.iconColor}),s("span",{class:{"gux-selected-icon":!0,"gux-icon-position-end":"end"===t.iconPosition}},s("gux-icon",{"icon-name":t.iconName,style:e,decorative:!0,size:"small"}),s("gux-truncate",{ref:t=>this.truncateElement=t},t.textContent))}renderStatusOption(t){const e=t.textContent;return s("div",{class:"gux-status-indicator"},s("span",{class:`gux-status-icon gux-status-icon-${t.accent}`}),s("div",{class:"gux-status-indicator-text"},e))}renderPopup(){return s("slot",{slot:"popup"})}renderTarget(){return s("div",{class:{"gux-target-container-collapsed":!0},slot:"target"},s("button",{type:"button",class:"gux-field gux-field-button",onClick:this.fieldButtonClick.bind(this),onFocusin:this.showTooltip.bind(this),onFocusout:this.hideTooltip.bind(this),ref:t=>this.fieldButtonElement=t,"aria-haspopup":"listbox","aria-expanded":this.expanded.toString()},this.renderTargetContent(),s("gux-icon",{class:{"gux-expand-icon":!0},"screenreader-text":this.i18n("dropdown"),size:"small",iconName:this.expanded?"custom/chevron-up-small-regular":"custom/chevron-down-small-regular"})))}renderTargetContent(){return s("div",{class:"gux-field-content"},this.renderTargetDisplay())}render(){return s("gux-popup",{key:"1e1f41acc86df82fba60ef357891f96f083e8c8e",expanded:this.expanded,inline:!0,ref:t=>this.popupElement=t},this.renderTarget(),this.renderPopup())}static get delegatesFocus(){return!0}get root(){return o(this)}static get watchers(){return{value:["watchValue"]}}};f([n({triggerEvents:"mousedown"})],x.prototype,"onClickOutside",null),f([d({childList:!0,subtree:!0})],x.prototype,"onMutation",null),x.style=":host{display:inline-flex;inline-size:fit-content;min-inline-size:0;max-inline-size:100%}.gux-has-table-parent{position:relative;inset-inline-start:-8px}::slotted(gux-listbox){inline-size:fit-content}.gux-field,.gux-target-container-expanded{all:unset;box-sizing:border-box;display:inline-flex;flex-direction:row;flex-wrap:nowrap;place-content:stretch center;align-items:center;block-size:var(--gse-ui-formControl-input-textfield-height);font-family:var(--gse-ui-dataTableItems-inlineDropdown-label-fontFamily);font-size:var(--gse-ui-dataTableItems-inlineDropdown-label-fontSize);font-weight:var(--gse-ui-dataTableItems-inlineDropdown-label-fontWeight);line-height:var(--gse-ui-dataTableItems-inlineDropdown-label-lineHeight);cursor:pointer;background-color:inherit}.gux-target-container-expanded,.gux-target-container-collapsed .gux-field{padding-block:4px;padding-inline:8px}.gux-target-container-collapsed .gux-field-button:hover,.gux-target-container-expanded:hover{background-color:var(--gse-ui-dataTableItems-statusIndicator-hover)}.gux-field.gux-input-field{block-size:var(--gse-ui-dataTableItems-inlineDropdown-label-lineHeight)}.gux-field .gux-field-content{--gux-zindex-tooltip:3;display:inline-flex;flex:1 1 0;flex-direction:row;flex-wrap:nowrap;place-content:stretch flex-start;align-items:flex-start;min-inline-size:0;block-size:var(--gse-ui-dataTableItems-inlineDropdown-label-lineHeight)}.gux-field .gux-field-content .gux-filter,.gux-field .gux-field-content .gux-selected-option,.gux-field .gux-field-content .gux-placeholder{flex:1 1 auto;align-self:auto;order:0;padding:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.gux-field .gux-field-content .gux-placeholder{color:var(--gse-ui-dataTableItems-inlineDropdown-text)}.gux-field .gux-expand-icon{flex:0 0 auto;align-self:auto;order:0;padding-inline-start:var(--gse-ui-dataTableItems-inlineDropdown-gap);color:var(--gse-ui-dataTableItems-inlineDropdown-chevron-default)}.gux-target-container-expanded{background-color:var(--gse-ui-dataTableItems-inlineDropdown-active);border-radius:var(--gse-ui-dataTableItems-statusIndicator-borderRadius)}.gux-target-container-expanded:focus-visible{outline:var(--gse-ui-formControl-input-focus-border-width) var(--gse-ui-formControl-input-focus-border-style) var(--gse-ui-formControl-input-focus-border-color);outline-offset:var(--gse-semantic-focusOutline-offset)}.gux-target-container-expanded:focus-within:has(:focus-visible){outline:var(--gse-ui-formControl-input-focus-border-width) var(--gse-ui-formControl-input-focus-border-style) var(--gse-ui-formControl-input-focus-border-color);outline-offset:var(--gse-semantic-focusOutline-offset)}.gux-target-container-expanded .gux-filter-input{background-color:inherit;border:none}.gux-target-container-expanded .gux-filter-input:focus{outline:none;border:none}.gux-target-container-expanded .gux-field-button{inline-size:auto;block-size:var(--gse-ui-dataTableItems-inlineDropdown-label-lineHeight);margin:0;outline:none;background:inherit;border:none;box-shadow:none}.gux-target-container-expanded .gux-field-button:focus{outline:none}.gux-target-container-collapsed .gux-field-button{border-radius:var(--gse-ui-dataTableItems-statusIndicator-borderRadius)}.gux-target-container-collapsed .gux-field-button:focus-visible{outline:var(--gse-ui-formControl-input-focus-border-width) var(--gse-ui-formControl-input-focus-border-style) var(--gse-ui-formControl-input-focus-border-color);outline-offset:var(--gse-semantic-focusOutline-offset)}.gux-target-container-collapsed .gux-field-button:focus-within:has(:focus-visible){outline:var(--gse-ui-formControl-input-focus-border-width) var(--gse-ui-formControl-input-focus-border-style) var(--gse-ui-formControl-input-focus-border-color);outline-offset:var(--gse-semantic-focusOutline-offset)}::slotted(gux-listbox){outline:none;box-shadow:var(--gse-ui-menu-boxShadow)}.gux-selected-icon{display:flex;flex-direction:row;align-items:center}.gux-selected-icon.gux-icon-position-end{flex-direction:row-reverse}.gux-selected-icon gux-icon{padding-inline-end:var(--gse-ui-dataTableItems-inlineDropdown-gap)}.gux-status-indicator{display:inline-flex;gap:var(--gse-ui-dataTableItems-statusIndicator-gap);align-items:center}.gux-status-icon{display:inline-flex}.gux-status-icon::before{content:\"\"}.gux-status-icon-info::before{-webkit-mask-image:url(\"data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12' %3E%3Cpath d='M6 0C7.59 0 9.12 0.629997 10.245 1.755C11.37 2.88 12 4.41 12 6C12 7.59 11.37 9.12 10.245 10.245C9.12 11.37 7.59 12 6 12C4.41 12 2.88 11.37 1.755 10.245C0.629997 9.12 0 7.59 0 6C0 4.41 0.629997 2.88 1.755 1.755C2.88 0.629997 4.41 0 6 0Z' /%3E%3C/svg%3E\");mask-image:url(\"data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12' %3E%3Cpath d='M6 0C7.59 0 9.12 0.629997 10.245 1.755C11.37 2.88 12 4.41 12 6C12 7.59 11.37 9.12 10.245 10.245C9.12 11.37 7.59 12 6 12C4.41 12 2.88 11.37 1.755 10.245C0.629997 9.12 0 7.59 0 6C0 4.41 0.629997 2.88 1.755 1.755C2.88 0.629997 4.41 0 6 0Z' /%3E%3C/svg%3E\");inline-size:var(--gse-ui-dataTableItems-statusIndicator-label-fontSize);block-size:var(--gse-ui-dataTableItems-statusIndicator-label-fontSize);background:var(--gse-ui-statusGlyph-information)}.gux-status-icon-warning::before{inline-size:var(--gse-ui-dataTableItems-statusIndicator-label-fontSize);block-size:var(--gse-ui-dataTableItems-statusIndicator-label-fontSize);-webkit-mask-image:url(\"data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12' %3E%3Cpath d='M6.16516 0.749268C6.49521 0.749268 6.80275 0.921791 6.97527 1.21434L12.0386 9.8407C12.2111 10.1332 12.2111 10.4933 12.0386 10.7783C11.8735 11.0709 11.5585 11.2509 11.2285 11.2509H1.10186C0.764303 11.2509 0.456764 11.0709 0.291738 10.7783C0.126712 10.4858 0.126712 10.1257 0.291738 9.8407L5.35504 1.21434C5.52757 0.929292 5.8276 0.749268 6.16516 0.749268Z' /%3E%3C/svg%3E\");mask-image:url(\"data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12' %3E%3Cpath d='M6.16516 0.749268C6.49521 0.749268 6.80275 0.921791 6.97527 1.21434L12.0386 9.8407C12.2111 10.1332 12.2111 10.4933 12.0386 10.7783C11.8735 11.0709 11.5585 11.2509 11.2285 11.2509H1.10186C0.764303 11.2509 0.456764 11.0709 0.291738 10.7783C0.126712 10.4858 0.126712 10.1257 0.291738 9.8407L5.35504 1.21434C5.52757 0.929292 5.8276 0.749268 6.16516 0.749268Z' /%3E%3C/svg%3E\");background:var(--gse-ui-statusGlyph-neutral)}.gux-status-icon-error::before{inline-size:var(--gse-ui-dataTableItems-statusIndicator-label-fontSize);block-size:var(--gse-ui-dataTableItems-statusIndicator-label-fontSize);-webkit-mask-image:url(\"data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12' %3E%3Cpath d='M0.236102 6.88C-0.0787008 6.33785 -0.0787008 5.66215 0.236102 5.12L2.36477 1.38C2.67957 0.837853 3.24922 0.5 3.87133 0.5H8.12867C8.75078 0.5 9.32043 0.837853 9.63523 1.38L11.7639 5.12C12.0787 5.66215 12.0787 6.33785 11.7639 6.88L9.63523 10.62C9.32043 11.1621 8.75078 11.5 8.12867 11.5H3.87133C3.24922 11.5 2.67957 11.1621 2.36477 10.62L0.236102 6.88Z' /%3E%3C/svg%3E\");mask-image:url(\"data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12' %3E%3Cpath d='M0.236102 6.88C-0.0787008 6.33785 -0.0787008 5.66215 0.236102 5.12L2.36477 1.38C2.67957 0.837853 3.24922 0.5 3.87133 0.5H8.12867C8.75078 0.5 9.32043 0.837853 9.63523 1.38L11.7639 5.12C12.0787 5.66215 12.0787 6.33785 11.7639 6.88L9.63523 10.62C9.32043 11.1621 8.75078 11.5 8.12867 11.5H3.87133C3.24922 11.5 2.67957 11.1621 2.36477 10.62L0.236102 6.88Z' /%3E%3C/svg%3E\");background:var(--gse-ui-statusGlyph-negative)}.gux-status-icon-success::before{inline-size:var(--gse-ui-dataTableItems-statusIndicator-label-fontSize);block-size:var(--gse-ui-dataTableItems-statusIndicator-label-fontSize);-webkit-mask-image:url(\"data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12' %3E%3Cpath d='M6 0C7.59 0 9.12 0.629997 10.245 1.755C11.37 2.88 12 4.41 12 6C12 7.59 11.37 9.12 10.245 10.245C9.12 11.37 7.59 12 6 12C4.41 12 2.88 11.37 1.755 10.245C0.629997 9.12 0 7.59 0 6C0 4.41 0.629997 2.88 1.755 1.755C2.88 0.629997 4.41 0 6 0Z' /%3E%3C/svg%3E\");mask-image:url(\"data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12' %3E%3Cpath d='M6 0C7.59 0 9.12 0.629997 10.245 1.755C11.37 2.88 12 4.41 12 6C12 7.59 11.37 9.12 10.245 10.245C9.12 11.37 7.59 12 6 12C4.41 12 2.88 11.37 1.755 10.245C0.629997 9.12 0 7.59 0 6C0 4.41 0.629997 2.88 1.755 1.755C2.88 0.629997 4.41 0 6 0Z' /%3E%3C/svg%3E\");background:var(--gse-ui-statusGlyph-positive)}";export{x as gux_inline_dropdown_beta}
1
+ import{r as t,c as e,f as i,h as s,g as o}from"./p-cf74fd3d.js";import{O as n}from"./p-f3d844c7.js";import{b as a}from"./p-e5e644b3.js";import{s as r}from"./p-2c25e2f2.js";import{b as l}from"./p-cf0e7d3b.js";import{t as u}from"./p-6ec0040f.js";import{O as d}from"./p-946c70b7.js";import{s as g,b as c}from"./p-01ff7495.js";import{h}from"./p-6d8b4027.js";import"./p-4202e9f2.js";const p={filterResults:"Type to filter dropdown results",noSelection:"Select...",dropdown:"Dropdown"};var f=function(t,e,i,s){var o,n=arguments.length,a=n<3?e:null===s?s=Object.getOwnPropertyDescriptor(e,i):s;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(t,e,i,s);else for(var r=t.length-1;r>=0;r--)(o=t[r])&&(a=(n<3?o(a):n>3?o(e,i,a):o(e,i))||a);return n>3&&a&&Object.defineProperty(e,i,a),a};const x=class{constructor(i){t(this,i),this.guxexpanded=e(this,"guxexpanded",7),this.guxcollapsed=e(this,"guxcollapsed",7),this.required=!1,this.expanded=!1}watchValue(t){this.validateValue(t,this.listboxElement)}onKeydown(t){switch(t.key){case"Escape":return void this.collapseListbox("focusFieldButton");case"Tab":return void this.collapseListbox("noFocusChange");case"ArrowDown":return void(this.activeElementNotListbox()&&(t.preventDefault(),this.expanded=!0,g(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&&l((()=>{this.listboxElement.focus()}))}onInternalCollapsed(t){t.stopPropagation(),this.guxcollapsed.emit()}connectedCallback(){var t;this.listboxElement=null===(t=this.root)||void 0===t?void 0:t.querySelector("gux-listbox"),this.listboxElement&&this.validateValue(this.value,this.listboxElement)}async componentWillLoad(){u(this.root),this.i18n=await a(this.root,p)}componentDidLoad(){this.applyListboxEventListeners(),this.applyTableStyle()}componentWillRender(){this.listboxElement&&this.validateValue(this.value,this.listboxElement)}showTooltip(){var t;null===(t=this.truncateElement)||void 0===t||t.setShowTooltip()}hideTooltip(){var t;null===(t=this.truncateElement)||void 0===t||t.setHideTooltip()}validateValue(t,e){void 0!==t?this.getOptionElementByValue(t)&&(e.value=t):e&&(e.value=t)}applyTableStyle(){var t;"td"===(null===(t=this.root.parentElement)||void 0===t?void 0:t.tagName.toLowerCase())&&this.popupElement.classList.add("gux-has-table-parent")}applyListboxEventListeners(){var t,e;null===(t=this.listboxElement)||void 0===t||t.addEventListener("input",(t=>{t.stopPropagation(),this.updateValue(t.target.value)})),null===(e=this.listboxElement)||void 0===e||e.addEventListener("change",(t=>{t.stopPropagation()}))}stopPropagationOfInternalFocusEvents(t){if(this.root.contains(t.relatedTarget))return t.stopImmediatePropagation()}get optionElements(){return c(this.listboxElement)}getOptionElementByValue(t){return this.optionElements.find((e=>e.value===t))}fieldButtonClick(){this.expanded=!this.expanded}activeElementNotListbox(){return document.activeElement!==this.listboxElement}collapseListbox(t){this.expanded&&(this.expanded=!1),"focusFieldButton"===t&&this.fieldButtonElement.focus()}updateValue(t){this.value!==t&&(this.value=t,r(this.root,"input"),r(this.root,"change")),this.collapseListbox("focusFieldButton")}renderTargetDisplay(){const t=this.getOptionElementByValue(this.value);return t?s("div",{class:"gux-selected-option"},this.renderSelectedItem(t)):s("div",{class:"gux-placeholder"},this.placeholder||this.i18n("noSelection"))}renderSelectedItem(t){const e=t.tagName.toLowerCase();switch(e){case"gux-option":return this.renderOption(t);case"gux-option-icon":return this.renderIconOption(t);case"gux-option-status-beta":return this.renderStatusOption(t);default:return e}}renderOption(t){let e=t.textContent;if(h(t,"subtext")){const i=t.querySelector("[slot=subtext]");e=e.substring(0,e.length-i.textContent.length)}return s("gux-truncate",{ref:t=>this.truncateElement=t,dir:"auto"},e)}renderIconOption(t){let e=null;return null!==t.iconColor&&(e={color:t.iconColor}),s("span",{class:{"gux-selected-icon":!0,"gux-icon-position-end":"end"===t.iconPosition}},s("gux-icon",{"icon-name":t.iconName,style:e,decorative:!0,size:"small"}),s("gux-truncate",{ref:t=>this.truncateElement=t},t.textContent))}renderStatusOption(t){const e=t.textContent;return s("div",{class:"gux-status-indicator"},s("span",{class:`gux-status-icon gux-status-icon-${t.accent}`}),s("div",{class:"gux-status-indicator-text"},e))}renderPopup(){return s("slot",{slot:"popup"})}renderTarget(){return s("div",{class:{"gux-target-container-collapsed":!0},slot:"target"},s("button",{type:"button",class:"gux-field gux-field-button",onClick:this.fieldButtonClick.bind(this),onFocusin:this.showTooltip.bind(this),onFocusout:this.hideTooltip.bind(this),ref:t=>this.fieldButtonElement=t,"aria-haspopup":"listbox","aria-expanded":this.expanded.toString()},this.renderTargetContent(),s("gux-icon",{class:{"gux-expand-icon":!0},"screenreader-text":this.i18n("dropdown"),size:"small",iconName:this.expanded?"custom/chevron-up-small-regular":"custom/chevron-down-small-regular"})))}renderTargetContent(){return s("div",{class:"gux-field-content"},this.renderTargetDisplay())}render(){return s("gux-popup",{key:"1e1f41acc86df82fba60ef357891f96f083e8c8e",expanded:this.expanded,inline:!0,ref:t=>this.popupElement=t},this.renderTarget(),this.renderPopup())}static get delegatesFocus(){return!0}get root(){return o(this)}static get watchers(){return{value:["watchValue"]}}};f([n({triggerEvents:"mousedown"})],x.prototype,"onClickOutside",null),f([d({childList:!0,subtree:!0})],x.prototype,"onMutation",null),x.style=":host{display:inline-flex;inline-size:fit-content;min-inline-size:0;max-inline-size:100%}.gux-has-table-parent{position:relative;inset-inline-start:-8px}::slotted(gux-listbox){inline-size:fit-content}.gux-field,.gux-target-container-expanded{all:unset;box-sizing:border-box;display:inline-flex;flex-direction:row;flex-wrap:nowrap;place-content:stretch center;align-items:center;block-size:var(--gse-ui-formControl-input-textfield-height);font-family:var(--gse-ui-dataTableItems-inlineDropdown-label-fontFamily);font-size:var(--gse-ui-dataTableItems-inlineDropdown-label-fontSize);font-weight:var(--gse-ui-dataTableItems-inlineDropdown-label-fontWeight);line-height:var(--gse-ui-dataTableItems-inlineDropdown-label-lineHeight);cursor:pointer;background-color:inherit}.gux-target-container-expanded,.gux-target-container-collapsed .gux-field{padding-block:4px;padding-inline:8px}.gux-target-container-collapsed .gux-field-button:hover,.gux-target-container-expanded:hover{background-color:var(--gse-ui-dataTableItems-statusIndicator-hover)}.gux-field.gux-input-field{block-size:var(--gse-ui-dataTableItems-inlineDropdown-label-lineHeight)}.gux-field .gux-field-content{--gux-zindex-tooltip:3;display:inline-flex;flex:1 1 0;flex-direction:row;flex-wrap:nowrap;place-content:stretch flex-start;align-items:flex-start;min-inline-size:0;block-size:var(--gse-ui-dataTableItems-inlineDropdown-label-lineHeight)}.gux-field .gux-field-content .gux-filter,.gux-field .gux-field-content .gux-selected-option,.gux-field .gux-field-content .gux-placeholder{flex:1 1 auto;align-self:auto;order:0;padding:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.gux-field .gux-field-content .gux-placeholder{color:var(--gse-ui-dataTableItems-inlineDropdown-text)}.gux-field .gux-expand-icon{flex:0 0 auto;align-self:auto;order:0;padding-inline-start:var(--gse-ui-dataTableItems-inlineDropdown-gap);color:var(--gse-ui-dataTableItems-inlineDropdown-chevron-default)}.gux-target-container-expanded{background-color:var(--gse-ui-dataTableItems-inlineDropdown-active);border-radius:var(--gse-ui-dataTableItems-statusIndicator-borderRadius)}.gux-target-container-expanded:focus-visible{outline:var(--gse-ui-formControl-input-focus-border-width) var(--gse-ui-formControl-input-focus-border-style) var(--gse-ui-formControl-input-focus-border-color);outline-offset:var(--gse-semantic-focusOutline-offset)}.gux-target-container-expanded:focus-within:has(:focus-visible){outline:var(--gse-ui-formControl-input-focus-border-width) var(--gse-ui-formControl-input-focus-border-style) var(--gse-ui-formControl-input-focus-border-color);outline-offset:var(--gse-semantic-focusOutline-offset)}.gux-target-container-expanded .gux-filter-input{background-color:inherit;border:none}.gux-target-container-expanded .gux-filter-input:focus{outline:none;border:none}.gux-target-container-expanded .gux-field-button{inline-size:auto;block-size:var(--gse-ui-dataTableItems-inlineDropdown-label-lineHeight);margin:0;outline:none;background:inherit;border:none;box-shadow:none}.gux-target-container-expanded .gux-field-button:focus{outline:none}.gux-target-container-collapsed .gux-field-button{border-radius:var(--gse-ui-dataTableItems-statusIndicator-borderRadius)}.gux-target-container-collapsed .gux-field-button:focus-visible{outline:var(--gse-ui-formControl-input-focus-border-width) var(--gse-ui-formControl-input-focus-border-style) var(--gse-ui-formControl-input-focus-border-color);outline-offset:var(--gse-semantic-focusOutline-offset)}.gux-target-container-collapsed .gux-field-button:focus-within:has(:focus-visible){outline:var(--gse-ui-formControl-input-focus-border-width) var(--gse-ui-formControl-input-focus-border-style) var(--gse-ui-formControl-input-focus-border-color);outline-offset:var(--gse-semantic-focusOutline-offset)}::slotted(gux-listbox){outline:none;box-shadow:var(--gse-ui-menu-boxShadow)}.gux-selected-icon{display:flex;flex-direction:row;align-items:center}.gux-selected-icon.gux-icon-position-end{flex-direction:row-reverse}.gux-selected-icon gux-icon{padding-inline-end:var(--gse-ui-dataTableItems-inlineDropdown-gap)}.gux-status-indicator{display:inline-flex;gap:var(--gse-ui-dataTableItems-statusIndicator-gap);align-items:center}.gux-status-icon{display:inline-flex}.gux-status-icon::before{content:\"\"}.gux-status-icon-info::before{-webkit-mask-image:url(\"data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12' %3E%3Cpath d='M6 0C7.59 0 9.12 0.629997 10.245 1.755C11.37 2.88 12 4.41 12 6C12 7.59 11.37 9.12 10.245 10.245C9.12 11.37 7.59 12 6 12C4.41 12 2.88 11.37 1.755 10.245C0.629997 9.12 0 7.59 0 6C0 4.41 0.629997 2.88 1.755 1.755C2.88 0.629997 4.41 0 6 0Z' /%3E%3C/svg%3E\");mask-image:url(\"data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12' %3E%3Cpath d='M6 0C7.59 0 9.12 0.629997 10.245 1.755C11.37 2.88 12 4.41 12 6C12 7.59 11.37 9.12 10.245 10.245C9.12 11.37 7.59 12 6 12C4.41 12 2.88 11.37 1.755 10.245C0.629997 9.12 0 7.59 0 6C0 4.41 0.629997 2.88 1.755 1.755C2.88 0.629997 4.41 0 6 0Z' /%3E%3C/svg%3E\");inline-size:var(--gse-ui-dataTableItems-statusIndicator-label-fontSize);block-size:var(--gse-ui-dataTableItems-statusIndicator-label-fontSize);background:var(--gse-ui-statusGlyph-information)}.gux-status-icon-warning::before{inline-size:var(--gse-ui-dataTableItems-statusIndicator-label-fontSize);block-size:var(--gse-ui-dataTableItems-statusIndicator-label-fontSize);-webkit-mask-image:url(\"data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12' %3E%3Cpath d='M6.16516 0.749268C6.49521 0.749268 6.80275 0.921791 6.97527 1.21434L12.0386 9.8407C12.2111 10.1332 12.2111 10.4933 12.0386 10.7783C11.8735 11.0709 11.5585 11.2509 11.2285 11.2509H1.10186C0.764303 11.2509 0.456764 11.0709 0.291738 10.7783C0.126712 10.4858 0.126712 10.1257 0.291738 9.8407L5.35504 1.21434C5.52757 0.929292 5.8276 0.749268 6.16516 0.749268Z' /%3E%3C/svg%3E\");mask-image:url(\"data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12' %3E%3Cpath d='M6.16516 0.749268C6.49521 0.749268 6.80275 0.921791 6.97527 1.21434L12.0386 9.8407C12.2111 10.1332 12.2111 10.4933 12.0386 10.7783C11.8735 11.0709 11.5585 11.2509 11.2285 11.2509H1.10186C0.764303 11.2509 0.456764 11.0709 0.291738 10.7783C0.126712 10.4858 0.126712 10.1257 0.291738 9.8407L5.35504 1.21434C5.52757 0.929292 5.8276 0.749268 6.16516 0.749268Z' /%3E%3C/svg%3E\");background:var(--gse-ui-statusGlyph-neutral)}.gux-status-icon-error::before{inline-size:var(--gse-ui-dataTableItems-statusIndicator-label-fontSize);block-size:var(--gse-ui-dataTableItems-statusIndicator-label-fontSize);-webkit-mask-image:url(\"data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12' %3E%3Cpath d='M0.236102 6.88C-0.0787008 6.33785 -0.0787008 5.66215 0.236102 5.12L2.36477 1.38C2.67957 0.837853 3.24922 0.5 3.87133 0.5H8.12867C8.75078 0.5 9.32043 0.837853 9.63523 1.38L11.7639 5.12C12.0787 5.66215 12.0787 6.33785 11.7639 6.88L9.63523 10.62C9.32043 11.1621 8.75078 11.5 8.12867 11.5H3.87133C3.24922 11.5 2.67957 11.1621 2.36477 10.62L0.236102 6.88Z' /%3E%3C/svg%3E\");mask-image:url(\"data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12' %3E%3Cpath d='M0.236102 6.88C-0.0787008 6.33785 -0.0787008 5.66215 0.236102 5.12L2.36477 1.38C2.67957 0.837853 3.24922 0.5 3.87133 0.5H8.12867C8.75078 0.5 9.32043 0.837853 9.63523 1.38L11.7639 5.12C12.0787 5.66215 12.0787 6.33785 11.7639 6.88L9.63523 10.62C9.32043 11.1621 8.75078 11.5 8.12867 11.5H3.87133C3.24922 11.5 2.67957 11.1621 2.36477 10.62L0.236102 6.88Z' /%3E%3C/svg%3E\");background:var(--gse-ui-statusGlyph-negative)}.gux-status-icon-success::before{inline-size:var(--gse-ui-dataTableItems-statusIndicator-label-fontSize);block-size:var(--gse-ui-dataTableItems-statusIndicator-label-fontSize);-webkit-mask-image:url(\"data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12' %3E%3Cpath d='M6 0C7.59 0 9.12 0.629997 10.245 1.755C11.37 2.88 12 4.41 12 6C12 7.59 11.37 9.12 10.245 10.245C9.12 11.37 7.59 12 6 12C4.41 12 2.88 11.37 1.755 10.245C0.629997 9.12 0 7.59 0 6C0 4.41 0.629997 2.88 1.755 1.755C2.88 0.629997 4.41 0 6 0Z' /%3E%3C/svg%3E\");mask-image:url(\"data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12' %3E%3Cpath d='M6 0C7.59 0 9.12 0.629997 10.245 1.755C11.37 2.88 12 4.41 12 6C12 7.59 11.37 9.12 10.245 10.245C9.12 11.37 7.59 12 6 12C4.41 12 2.88 11.37 1.755 10.245C0.629997 9.12 0 7.59 0 6C0 4.41 0.629997 2.88 1.755 1.755C2.88 0.629997 4.41 0 6 0Z' /%3E%3C/svg%3E\");background:var(--gse-ui-statusGlyph-positive)}";export{x as gux_inline_dropdown_beta}
@@ -1 +1 @@
1
- import{r as t,h as e,H as i,g as s}from"./p-cf74fd3d.js";import{t as a}from"./p-fcdad94f.js";import{a as o}from"./p-8eaf8caf.js";import{s as n,r}from"./p-cc3c3c56.js";import"./p-4202e9f2.js";const l=class{constructor(e){t(this,e),this.processedGroupItems=[],this.quantity=7}async componentWillLoad(){a(this.root,{variant:this.quantity.toString()})}componentDidLoad(){this.setInitialFocusTarget()}componentWillRender(){this.processGroupItems(),this.hideOverflowGroupItems()}onMouseOver(t){this.hideCurrentTooltip(t)}getGroupItems(){return Array.from(this.root.children)}setInitialFocusTarget(){const t=this.getGroupItems();t.length>0&&n(t[0])}processGroupItems(){const t=this.getGroupItems();this.validateChildElements(t),this.processedGroupItems=t.map(((t,e)=>{var i,s,a;return{img:null!==(i=t.querySelector("img"))&&void 0!==i?i:null,name:null!==(s=null==t?void 0:t.name)&&void 0!==s?s:"",accent:null!==(a=null==t?void 0:t.accent)&&void 0!==a?a:null,isOverflow:e>=this.quantity,groupItem:t}}))}hideOverflowGroupItems(){this.processedGroupItems.filter((t=>t.isOverflow)).forEach((t=>{t.groupItem.setAttribute("hidden","")}))}hideCurrentTooltip(t){const e=t.target,i=[...this.getGroupItems(),this.root.shadowRoot.querySelector("gux-avatar-group-add-item-beta")].find((t=>null==t?void 0:t.matches(":focus-within")));i&&i!==e&&i.hideTooltip()}handleClick(t){const e=t.target;"GUX-AVATAR-GROUP-ITEM-BETA"!==e.tagName||e.hasAttribute("hidden")||(r(e),n(e))}validateChildElements(t){0===t.length&&o(this.root,"gux-avatar-group-beta: No child elements detected. Please add some gux-avatar-item-beta tags to slot");const e=["GUX-AVATAR-GROUP-ITEM-BETA","GUX-AVATAR-GROUP-ADD-ITEM-BETA"];t.some((t=>!e.includes(t.tagName)))&&o(this.root,"gux-avatar-group-beta: Invalid child element detected. All child elements must be either buttons, anchor tags or gux-avatar-beta components")}renderOverflowMenu(){if(this.root.children.length>this.quantity){const t=this.processedGroupItems.filter((t=>t.isOverflow&&"GUX-AVATAR-GROUP-ITEM-BETA"===t.groupItem.tagName));return e("gux-avatar-overflow-beta",null,t.map((t=>{var i,s;return e("gux-avatar-overflow-item-beta",{name:t.name,accent:t.accent,onClick:()=>t.groupItem.click()},t.img?e("img",{slot:"image",src:null===(i=t.img)||void 0===i?void 0:i.src,alt:null===(s=t.img)||void 0===s?void 0:s.alt}):null)})))}return null}renderAddToGroup(){return this.processedGroupItems.find((t=>"GUX-AVATAR-GROUP-ADD-ITEM-BETA"===t.groupItem.tagName))&&this.root.children.length>this.quantity?e("gux-avatar-group-add-item-beta",{class:"gux-add-item-overflow"}):null}render(){return e(i,{key:"4fb2cc50bd34d1c068ee37e93ebb623b353c095d",role:"menu",onClick:this.handleClick.bind(this)},e("slot",{key:"a2b3fa35f568e7c3f72c76484dfcd0bcdad9b225"}),this.renderOverflowMenu(),this.renderAddToGroup())}get root(){return s(this)}};l.style=":host{display:flex;align-items:center;inline-size:fit-content;padding-block:var(--gse-semantic-interactive-sm-padding);padding-inline:var(--gse-semantic-interactive-sm-padding) var(--gse-semantic-interactive-md-padding)}:host(:focus-visible){outline:var(--gse-semantic-focusOutline-md-borderWidth) solid var(--gse-semantic-border-focus);outline-offset:var(--gse-semantic-focusOutline-offset)}.gux-add-item-overflow{padding-inline-start:calc(var(--gse-core-spacing-4xs) + 2px)}";export{l as gux_avatar_group_beta}
1
+ import{r as t,h as e,H as i,g as s}from"./p-cf74fd3d.js";import{t as a}from"./p-6ec0040f.js";import{a as o}from"./p-8eaf8caf.js";import{s as n,r}from"./p-cc3c3c56.js";import"./p-4202e9f2.js";const l=class{constructor(e){t(this,e),this.processedGroupItems=[],this.quantity=7}async componentWillLoad(){a(this.root,{variant:this.quantity.toString()})}componentDidLoad(){this.setInitialFocusTarget()}componentWillRender(){this.processGroupItems(),this.hideOverflowGroupItems()}onMouseOver(t){this.hideCurrentTooltip(t)}getGroupItems(){return Array.from(this.root.children)}setInitialFocusTarget(){const t=this.getGroupItems();t.length>0&&n(t[0])}processGroupItems(){const t=this.getGroupItems();this.validateChildElements(t),this.processedGroupItems=t.map(((t,e)=>{var i,s,a;return{img:null!==(i=t.querySelector("img"))&&void 0!==i?i:null,name:null!==(s=null==t?void 0:t.name)&&void 0!==s?s:"",accent:null!==(a=null==t?void 0:t.accent)&&void 0!==a?a:null,isOverflow:e>=this.quantity,groupItem:t}}))}hideOverflowGroupItems(){this.processedGroupItems.filter((t=>t.isOverflow)).forEach((t=>{t.groupItem.setAttribute("hidden","")}))}hideCurrentTooltip(t){const e=t.target,i=[...this.getGroupItems(),this.root.shadowRoot.querySelector("gux-avatar-group-add-item-beta")].find((t=>null==t?void 0:t.matches(":focus-within")));i&&i!==e&&i.hideTooltip()}handleClick(t){const e=t.target;"GUX-AVATAR-GROUP-ITEM-BETA"!==e.tagName||e.hasAttribute("hidden")||(r(e),n(e))}validateChildElements(t){0===t.length&&o(this.root,"gux-avatar-group-beta: No child elements detected. Please add some gux-avatar-item-beta tags to slot");const e=["GUX-AVATAR-GROUP-ITEM-BETA","GUX-AVATAR-GROUP-ADD-ITEM-BETA"];t.some((t=>!e.includes(t.tagName)))&&o(this.root,"gux-avatar-group-beta: Invalid child element detected. All child elements must be either buttons, anchor tags or gux-avatar-beta components")}renderOverflowMenu(){if(this.root.children.length>this.quantity){const t=this.processedGroupItems.filter((t=>t.isOverflow&&"GUX-AVATAR-GROUP-ITEM-BETA"===t.groupItem.tagName));return e("gux-avatar-overflow-beta",null,t.map((t=>{var i,s;return e("gux-avatar-overflow-item-beta",{name:t.name,accent:t.accent,onClick:()=>t.groupItem.click()},t.img?e("img",{slot:"image",src:null===(i=t.img)||void 0===i?void 0:i.src,alt:null===(s=t.img)||void 0===s?void 0:s.alt}):null)})))}return null}renderAddToGroup(){return this.processedGroupItems.find((t=>"GUX-AVATAR-GROUP-ADD-ITEM-BETA"===t.groupItem.tagName))&&this.root.children.length>this.quantity?e("gux-avatar-group-add-item-beta",{class:"gux-add-item-overflow"}):null}render(){return e(i,{key:"4fb2cc50bd34d1c068ee37e93ebb623b353c095d",role:"menu",onClick:this.handleClick.bind(this)},e("slot",{key:"a2b3fa35f568e7c3f72c76484dfcd0bcdad9b225"}),this.renderOverflowMenu(),this.renderAddToGroup())}get root(){return s(this)}};l.style=":host{display:flex;align-items:center;inline-size:fit-content;padding-block:var(--gse-semantic-interactive-sm-padding);padding-inline:var(--gse-semantic-interactive-sm-padding) var(--gse-semantic-interactive-md-padding)}:host(:focus-visible){outline:var(--gse-semantic-focusOutline-md-borderWidth) solid var(--gse-semantic-border-focus);outline-offset:var(--gse-semantic-focusOutline-offset)}.gux-add-item-overflow{padding-inline-start:calc(var(--gse-core-spacing-4xs) + 2px)}";export{l as gux_avatar_group_beta}
@@ -1 +1 @@
1
- import{a as e,r,h as a,g as l}from"./p-cf74fd3d.js";import{t as o}from"./p-fcdad94f.js";import{l as s}from"./p-8eaf8caf.js";const t=["fa/arrow-left-to-line-solid","fa/arrow-right-to-line-solid"],u={"8x8":"custom/8x8","8x8-alt":"custom/8x8-solid",add:"fa/plus-regular","add-circle":"fa/circle-plus-regular",agent:"fa/head-side-headphones-regular","agent-circle":"custom/circle-head-side-headphones-regular","agent-group":"fa/people-group-regular","alert-info":"fa/circle-info-regular","alert-success":"deprecated/fa/circle-check-regular","alert-warning-octogon":"fa/hexagon-exclamation-regular","alert-warning-triangle":"fa/triangle-exclamation-regular",android:"fa/android","app-chart":"fa/square-poll-vertical-regular","app-generic":"fa/browser-regular","app-layout":"fa/table-layout-regular","app-table":"fa/table-regular",apple:"fa/apple",archive:"fa/box-archive-regular","arrow-down":"fa/arrow-down-regular","arrow-down-left":"fa/arrow-down-left-regular","arrow-down-right":"fa/arrow-down-right-regular","arrow-left":"fa/arrow-left-regular","arrow-right":"fa/arrow-right-regular","arrow-solid-down":"fa/caret-down-solid","arrow-solid-left":"fa/caret-left-solid","arrow-solid-right":"fa/caret-right-solid","arrow-solid-up":"fa/caret-up-solid","arrow-up":"fa/arrow-up-regular","arrow-up-left":"fa/arrow-up-left-regular","arrow-up-right":"fa/arrow-up-right-regular",at:"fa/at-regular",attachment:"fa/paperclip-regular",backspace:"fa/delete-left-regular","badge-amount":"fa/circle-0-solid","badge-check":"fa/circle-check-solid","badge-edit":"fa/pen-circle-regular","badge-file":"deprecated/badge-file","badge-pause":"fa/circle-pause-solid","badge-x":"fa/circle-xmark-solid","ban-outline":"deprecated/fa/ban-regular",bell:"fa/bell-regular",bolt:"fa/bolt-regular",bot:"fa/robot-regular",branch:"fa/code-branch-regular",bug:"fa/bug-regular",bus:"fa/bus-simple-regular",calendar:"fa/calendar-regular","calendar-add":"fa/calendar-plus-regular","calendar-clock":"fa/calendar-clock-regular",campaign:"fa/bullhorn-regular",certificate:"fa/file-certificate-regular",chat:"fa/message-lines-regular","chat-bell":"custom/message-bell-regular","chat-close":"fa/message-xmark-regular","chat-disable":"fa/message-slash-regular","chat-multi":"fa/messages-regular","chat-notification-score":"custom/message-bell-regular",checkbox:"fa/square-regular","checkbox-active":"fa/square-check-solid","checkbox-partial":"fa/square-minus-regular",checkmark:"custom/check-small-regular","chevron-double-down":"fa/chevrons-down-regular","chevron-double-left":"fa/chevrons-left-regular","chevron-double-right":"fa/chevrons-right-regular","chevron-double-up":"fa/chevrons-up-regular","chevron-left":"fa/chevron-left-regular","chevron-right":"fa/chevron-right-regular","chevron-small-down":"custom/chevron-down-small-regular","chevron-small-left":"custom/chevron-left-small-regular","chevron-small-right":"custom/chevron-right-small-regular","chevron-small-up":"custom/chevron-up-small-regular",chrome:"fa/chrome","cjv-badge-file":"fa/file-regular","cjv-calendar-clock":"fa/calendar-clock-regular","cjv-custom-default":"deprecated/cjv-custom-default","cjv-custom-event":"fa/circle-star-solid","cjv-custom-session":"custom/rectangules-arrow-left-to-right-regular","cjv-default-event":"fa/circle-star-solid","cjv-delivery":"fa/truck-regular","cjv-finance-invoice":"fa/file-invoice-dollar-regular","cjv-form-abandoned":"fa/file-circle-xmark-regular","cjv-form-submitted":"custom/file-arrow-up-regular","cjv-generic-application":"fa/file-user-regular","cjv-offer-closed":"fa/circle-xmark-solid","cjv-offer-ignored":"fa/subtract-circle-solid","cjv-offer-offered":"fa/circle-chevron-right-solid","cjv-offer-opened":"fa/badge-check-solid","cjv-outcome-achieved":"fa/circle-check-solid","cjv-page-view":"fa/circle-dot-regular","cjv-policy-contract":"fa/file-contract-regular","cjv-product-added":"fa/cart-circle-plus-regular","cjv-product-purchased":"fa/cart-circle-check-regular","cjv-product-removed":"fa/cart-circle-xmark-regular","cjv-search":"fa/magnifying-glass-regular","cjv-segment":"fa/chart-pie-simple-regular","cjv-segment-assigned":"fa/circle-quarter-regular","cjv-web-session":"fa/globe-regular","cjv-webchat-accepted":"fa/message-check-solid","cjv-webchat-error":"fa/message-xmark-solid","cjv-webchat-ignored":"fa/message-minus-solid","cjv-webchat-offered":"fa/message-arrow-up-right-solid","cjv-webchat-rejected":"fa/message-xmark-solid","cjv-webchat-requested":"fa/message-plus-solid","cjv-webchat-submitted":"fa/message-arrow-up-solid","cjv-webchat-timeout":"fa/timer-regular",clipboard:"fa/clipboard-regular","clipboard-error":"fa/clipboard-question-regular","clipboard-success":"fa/clipboard-check-regular",clock:"fa/clock-regular","clock-outline":"fa/clock-regular",clone:"fa/clone-regular",close:"fa/xmark-large-regular","close-circle":"deprecated/fa/circle-xmark-regular",cloud:"fa/cloud-regular","cloud-outline":"fa/cloud-regular",coaching:"fa/whistle-regular",cobrowse:"deprecated/cobrowse",collapse:"fa/arrow-down-left-and-arrow-up-right-to-center-regular",comments:"fa/message-lines-regular","comments-disable":"fa/message-slash-regular",configuration:"fa/block-brick-regular","control-end":"fa/forward-fast-regular","control-pause":"fa/pause-regular","control-play":"fa/play-regular","control-skip-left":"fa/backward-regular","control-skip-right":"fa/forward-regular","control-slide-back":"fa/backward-step-regular","control-slide-forward":"fa/forward-step-regular","control-start":"fa/backward-fast-regular","control-stop":"fa/stop-regular",copy:"fa/copy-regular","custom/add-column-after":"custom/table-column-plus-right-regular","custom/add-column-before":"custom/table-column-plus-left-regular","custom/add-row-after":"custom/table-row-plus-bottom-regular","custom/add-row-before":"custom/table-row-plus-top-regular","custom/binoculars-slash-regular":"custom/regular-binoculars-slash","custom/carousel":"custom/rectangle-carousel-regular","custom/clipboard-list-slash-regular":"custom/regular-clipboard-list-slash","custom/co-browse":"custom/screen-monitor-regular","custom/delete-column":"custom/table-column-xmark-regular","custom/delete-row":"custom/table-row-xmark-regular","custom/delete-table":"custom/table-xmark-regular","custom/file-pen-question":"custom/file-pen-question-regular","custom/filter-notification":"custom/filter-dot-regular","custom/font-regular-highlight":"custom/font-underline-regular","custom/one-button":"custom/mobiles-one-button-regular","custom/person-running":"fa/person-running-solid","custom/quick-reply":"custom/circle-buttons-regular","custom/three-button":"custom/mobile-three-button-regular","custom/wrap-text-inline":"custom/wrap-text-inline-regular","custom/wrap-text-tight":"custom/wrap-text-tight-regular","custom/wrap-text-top-bottom":"custom/wrap-text-top-bottom-regular","customer-journey":"fa/map-location-dot-regular",cut:"fa/scissors-regular",dash:"fa/gauge-simple-high-regular",delete:"fa/trash-regular","device-camera":"fa/camera-regular","device-cellphone":"fa/mobile-regular","device-headphones":"fa/headphones-regular","device-laptop":"fa/laptop-regular","device-pc":"deprecated/device-pc","device-server":"fa/server-regular","device-tablet":"fa/tablet-regular",download:"fa/arrow-down-to-line-regular",edge:"fa/edge-legacy",edit:"fa/pen-regular","email-notification-score":"fa/envelope-dot-regular",expand:"fa/arrow-up-right-and-arrow-down-left-from-center-regular",export:"fa/arrow-up-from-line-regular","external-link":"fa/arrow-up-right-from-square-regular","fa/00-solid":"fa/00-regular","fa/arrows-rotate-solid":"fa/arrows-rotate-regular","fa/ban-regular":"deprecated/fa/ban-regular","fa/check-solid":"custom/check-small-regular","fa/circle-check-regular":"deprecated/fa/circle-check-regular","fa/circle-xmark-regular":"deprecated/fa/circle-xmark-regular","fa/clock-outline":"fa/clock-regular","fa/comment-dots-regular":"fa/message-dots-regular","fa/comments-regular":"fa/messages-regular","fa/diagram-project-gear-regular":"fa/regular-diagram-project-gear","fa/eye-regular":"deprecated/fa/eye-regular","fa/eye-slash-regular":"deprecated/fa/eye-slash-regular","fa/life-ring-regular":"deprecated/fa/life-ring-regular","fa/link-horizontal-slash-regular":"fa/link-slash-regular","fa/link-horizontal-solid":"fa/link-regular","fa/list-radio-clean-regular":"fa/list-ul-regular","fa/list-radio-regular":"fa/list-ul-regular","fa/list-regular":"fa/list-ul-regular","fa/rectangle-list-regular":"fa/square-list-regular","fa/reply-regular":"custom/reply-regular","fa/right-to-bracket-regular":"fa/arrow-right-to-bracket-regular","fa/share-regular":"custom/share-regular","fa/volume-regular":"deprecated/fa/volume-regular","face-empathy":"deprecated/face-empathy","face-happy":"fa/face-smile-regular","face-happy-solid":"fa/face-smile-solid","face-neutral":"fa/face-meh-regular","face-neutral-solid":"fa/face-meh-solid","face-sad":"fa/face-frown-regular","face-sad-solid":"fa/face-frown-solid",facebook:"fa/facebook","facebook-messenger":"fa/facebook-messenger",fax:"fa/fax-regular",file:"fa/file-regular","file-all":"fa/files-regular","file-audio":"deprecated/fa/volume-regular","file-image-landscape":"fa/image-regular","file-image-portrait":"fa/image-portrait-regular","file-pdf":"fa/file-pdf-regular","file-preview":"fa/file-magnifying-glass-regular","file-report":"fa/file-chart-column-regular","file-text":"fa/file-lines-regular","file-video":"fa/video-regular",filter:"fa/filter-regular",fire:"fa/fire-regular",firefox:"fa/firefox",flag:"fa/flag-regular",folder:"fa/folder-regular","folder-add":"fa/folder-plus-regular","folder-open":"fa/folder-open-regular",follow:"fa/binoculars-regular",generic:"fa/shapes-regular",globe:"fa/earth-africa-regular","grab-horizontal":"fa/grip-solid","grab-vertical":"fa/grip-vertical-solid","graph-bar-horizontal":"fa/chart-bar-regular","graph-bar-vertical":"fa/chart-column-regular","graph-bubble":"fa/chart-scatter-bubble-regular","graph-chart":"fa/chart-area-regular","graph-line":"fa/chart-line-regular","graph-pie":"fa/chart-pie-regular","graph-spark":"custom/chart-line-spark-regular","group-standard":"custom/users-light",help:"fa/circle-question-regular",home:"fa/home-regular",hourglass:"fa/hourglass-half-regular",import:"fa/file-import-regular",inbox:"fa/inbox-regular",inspect:"deprecated/fa/eye-regular","inspect-disable":"deprecated/fa/eye-slash-regular",instagram:"fa/instagram","internet-explorer":"fa/internet-explorer",key:"fa/key-regular",lightbulb:"fa/lightbulb-regular","line-messenger":"fa/line",link:"fa/link-regular",linkedin:"fa/linkedin",linux:"fa/linux",lock:"fa/lock-regular","lock-hold":"custom/lock-keyholes-regular",logout:"fa/arrow-right-from-bracket-regular","low-bandwidth":"fa/wifi-slash-regular",lunch:"fa/utensils-regular",menu:"fa/bars-regular","menu-kebab-horizontal":"fa/ellipsis-regular","menu-kebab-vertical":"fa/ellipsis-vertical-regular","message-email":"fa/envelope-regular","message-email-outbound":"custom/envelope-arrow-up-right-regular","message-forward":"custom/share-regular","message-reply":"custom/reply-regular","message-reply-all":"custom/reply-all-regular",microphone:"fa/microphone-regular","microphone-disable":"fa/microphone-slash-regular","microphone-talking":"custom/microphone-line-on-regular",microsoft:"fa/microsoft","microsoft-teams":"custom/microsoft-teams",moon:"fa/moon-regular",music:"fa/music-regular",notes:"fa/memo-regular",notification:"fa/circle-solid",opera:"fa/opera","operator-pair":"custom/users-headset-regular",paint:"fa/fill-drip-regular",palette:"fa/palette-regular","parking-sign-regular":"fa/square-parking-regular",paste:"fa/paste-regular",people:"fa/people-pants-simple-regular",phone:"fa/phone-regular","phone-bell":"custom/phone-bell-regular","phone-call-directory":"deprecated/phone-call-directory","phone-call-history":"custom/phone-bars-regular","phone-callback":"custom/phone-arrow-left-regular","phone-close":"fa/phone-xmark-regular","phone-conference":"custom/phone-big-small-regular","phone-dialpad":"fa/grid-regular","phone-disable":"fa/phone-slash-regular","phone-forward":"fa/phone-arrow-right-regular","phone-hangup":"fa/phone-hangup-regular","phone-hold":"custom/phone-clock-regular","phone-inbound":"fa/phone-arrow-down-left-regular","phone-missed-call":"fa/phone-missed-regular","phone-notification-score":"custom/phone-star-regular","phone-outbound":"fa/phone-arrow-up-right-regular","phone-success":"custom/phone-check-regular","phone-voice":"custom/phone-high-volume-regular",pin:"fa/thumbtack-regular","pin-location":"fa/location-dot-regular",post:"fa/newspaper-regular","product-logo-beyond":"custom/genesys-beyond","product-logo-g":"custom/genesys","quote-left":"fa/quote-left-regular","quote-right":"fa/quote-right-regular",radio:"fa/circle-regular","radio-active":"fa/circle-dot-regular",rating:"fa/star-regular","rating-active":"fa/star-solid","rating-partial":"fa/star-sharp-half-stroke-regular",record:"fa/waveform-lines-regular",refresh:"fa/arrows-rotate-regular",reset:"fa/arrow-rotate-left-regular",resource:"fa/notebook-regular",retweet:"custom/arrows-retweet-regular","roster-chat":"fa/message-lines-regular","roster-chat-disable":"fa/message-slash-regular","roster-email":"fa/envelope-regular","roster-email-disable":"fa/regular-envelope-slash","roster-instagram":"fa/instagram","roster-instagram-disable":"custom/instagram-slash","roster-line":"fa/line","roster-line-disable":"custom/line-slash","roster-message":"fa/message-lines-regular","roster-message-disable":"fa/message-xmark-regular","roster-messenger":"fa/facebook-messenger","roster-messenger-disable":"custom/facebook-messenger-slash","roster-phone":"fa/phone-regular","roster-phone-disable":"fa/phone-slash-regular","roster-sms":"fa/message-dots-regular","roster-sms-disable":"fa/message-slash-regular","roster-twitter":"fa/twitter","roster-twitter-disable":"custom/twitter-slash","roster-wechat":"fa/weixin","roster-wechat-disable":"deprecated/roster-wechat-disable","roster-whatsapp":"fa/whatsapp","roster-whatsapp-disable":"fa/custon-whatsapp-slash",rss:"fa/square-rss-solid",run:"fa/person-running-solid",safari:"fa/safari",save:"fa/floppy-disk-regular","screen-share-regular":"custom/display-arrow-right-regular","screen-share-slash":"custom/display-arrow-right-slash-regular",scripter:"fa/scroll-regular",search:"fa/magnifying-glass-regular",send:"fa/paper-plane-top-regular",server:"fa/server-regular",settings:"fa/gear-regular",share:"fa/share-nodes-regular","shield-lock":"fa/shield-keyhole-regular","shield-outline":"fa/shield-check-regular","shield-solid":"fa/shield-check-solid",site:"fa/building-regular",skills:"fa/graduation-cap-regular",slideshare:"fa/slideshare",sms:"fa/message-dots-regular","sms-cancel":"fa/message-xmark-regular","sms-close":"fa/message-xmark-regular",stamp:"fa/stamp-regular",subtract:"fa/minus-regular","subtract-circle":"fa/subtract-circle-regular",sun:"fa/sun-bright-regular",tag:"fa/tag-regular","tag-add":"deprecated/tag-add","tag-remove":"deprecated/tag-remove",telegram:"fa/telegram",tenant:"fa/box-regular","thumbs-down":"fa/thumb-down-regular","thumbs-up":"fa/thumb-up-regular",timeline:"custom/arrow-turn-left-clock-regular","toolbar-apps":"custom/squares-big-small-regular","toolbar-apps-disable":"custom/squares-big-small-slash-regular","toolbar-assist":"deprecated/fa/life-ring-regular","toolbar-assist-disable":"custom/life-ring-slash-regular","toolbar-chat":"fa/message-regular","toolbar-chat-disable":"fa/message-slash-regular","toolbar-favorite":"deprecated/toolbar-favorite","toolbar-favourite":"fa/star-regular","toolbar-help":"fa/circle-question-regular","toolbar-inbox":"fa/inbox-regular","toolbar-interactions":"custom/user-talking-regular","toolbar-interactions-disable":"custom/user-talking-slash-regular","toolbar-notification":"fa/circle-solid","toolbar-phone":"fa/phone-regular","toolbar-phone-active-1":"custom/phone-low-volume-regular","toolbar-phone-active-2":"custom/phone-volume-regular","toolbar-phone-active-3":"custom/phone-high-volume-regular","toolbar-phone-disable":"fa/phone-slash-regular","toolbar-video":"fa/video-regular","toolbar-video-disable":"fa/video-slash-regular",trade:"fa/handshake-regular",transfer:"fa/arrow-right-arrow-left-regular",twitter:"fa/twitter",unknown:"fa/square-x-regular",unlink:"fa/link-slash-regular",unlock:"fa/unlock-regular",upload:"fa/upload-regular",user:"fa/user-regular","user-add":"fa/user-plus-regular","user-circle":"fa/circle-user-regular","user-contact-id":"fa/address-card-regular","user-directory":"fa/address-book-regular","user-group":"fa/users-regular","user-interactions":"custom/user-talking-regular","user-interactions-disable":"custom/user-talking-slash-regular",viber:"fa/viber",video:"fa/video-regular","video-disable":"fa/video-slash-regular","view-all":"fa/grid-4-regular","view-cells":"custom/columns-3-regular","view-grid":"fa/border-all-regular","view-list":"fa/square-list-regular","view-lists":"custom/columns-3-regular","view-roster":"fa/table-list-regular","view-stacked":"fa/table-rows-regular",voicemail:"fa/voicemail-regular","volume-disable":"fa/volume-slash-regular","volume-down":"fa/volume-low-regular","volume-none":"fa/volume-off-regular","volume-up":"deprecated/fa/volume-regular",web:"fa/globe-regular",webcam:"fa/camera-web-regular","webcam-disable":"fa/camera-web-slash-regular",wechat:"fa/weixin",whatsapp:"fa/whatsapp","window-actual-size":"fa/brackets-square-regular","window-contract":"fa/arrows-minimize-regular","window-drag-out":"fa/arrow-up-right-from-square-regular","window-expand":"fa/arrows-maximize-regular","window-fullscreen":"fa/arrows-maximize-regular","window-popout":"fa/square-arrow-up-right-regular",wordpress:"fa/wordpress",youtube:"fa/youtube","zoom-in":"fa/magnifying-glass-plus-regular","zoom-out":"fa/magnifying-glass-minus-regular"},i=Object.keys(u),c=new Map;function g(e){return t.includes(e)?`legacy/${e}`:i.includes(e)?u[e]:e}async function f(r){const a=function(e){return e.replace("/","-")}(r);if(c.has(a))return c.get(a);const l=async function(r){const a=await fetch(e(`./icons/${r}.svg`));if(200===a.status)return a.text();throw new Error(`[gux-icon] fetching failed for icon "${r}" with status "${a.statusText} (${a.status})".`)}(r).then((e=>e)).catch((e=>(setTimeout((()=>{throw e}),0),f("fa/square-x-regular"))));return c.set(a,l),l}const n=class{constructor(e){r(this,e),this.decorative=!1,this.screenreaderText="",this.size="inherit"}async prepIcon(e){if(e){const r=g(e);this.baseSvgHtml=await f(r),this.svgHtml=this.getSvgWithAriaAttributes(this.baseSvgHtml)}}watchDecorative(e){this.validateProps(e,this.screenreaderText),this.baseSvgHtml&&(this.svgHtml=this.getSvgWithAriaAttributes(this.baseSvgHtml))}watchScreenreaderText(e){this.validateProps(this.decorative,e),this.baseSvgHtml&&(this.svgHtml=this.getSvgWithAriaAttributes(this.baseSvgHtml))}async componentWillLoad(){o(this.root,{variant:g(this.iconName)}),await this.prepIcon(this.iconName)}componentDidLoad(){this.validateProps(this.decorative,this.screenreaderText)}validateProps(e,r){this.root.isConnected&&(e||r||s(this.root,"No screenreader-text provided. Either provide a localized screenreader-text property or set `decorative` to true."))}getSvgWithAriaAttributes(e){const r=(new DOMParser).parseFromString(e,"image/svg+xml").firstChild;return r.setAttribute("role","img"),r.setAttribute("aria-hidden",this.decorative?String(this.decorative):"false"),this.screenreaderText?r.setAttribute("aria-label",this.screenreaderText):r.removeAttribute("aria-label"),r.outerHTML}render(){return this.svgHtml&&a("div",{key:"fc49d25c1328343349db27602d1809bc2ad3b7f9",class:"gux-icon-container",innerHTML:this.svgHtml})}static get assetsDirs(){return["icons"]}get root(){return l(this)}static get watchers(){return{iconName:["prepIcon"],decorative:["watchDecorative"],screenreaderText:["watchScreenreaderText"]}}};n.style=":host{display:inline-flex;inline-size:1em;block-size:1em}:host([size=small]){inline-size:var(--gse-ui-icon-small-size);block-size:var(--gse-ui-icon-small-size)}:host([size=medium]){inline-size:var(--gse-ui-icon-medium-size);block-size:var(--gse-ui-icon-medium-size)}:host([size=large]){inline-size:var(--gse-ui-icon-large-size);block-size:var(--gse-ui-icon-large-size)}.gux-icon-container{display:flex;align-items:center;justify-content:center;inline-size:100%}.gux-icon-container svg{inline-size:100%;max-inline-size:100%;block-size:100%;max-block-size:100%;fill:currentcolor}";export{n as gux_icon}
1
+ import{a as e,r,h as a,g as l}from"./p-cf74fd3d.js";import{t as o}from"./p-6ec0040f.js";import{l as s}from"./p-8eaf8caf.js";const t=["fa/arrow-left-to-line-solid","fa/arrow-right-to-line-solid"],u={"8x8":"custom/8x8","8x8-alt":"custom/8x8-solid",add:"fa/plus-regular","add-circle":"fa/circle-plus-regular",agent:"fa/head-side-headphones-regular","agent-circle":"custom/circle-head-side-headphones-regular","agent-group":"fa/people-group-regular","alert-info":"fa/circle-info-regular","alert-success":"deprecated/fa/circle-check-regular","alert-warning-octogon":"fa/hexagon-exclamation-regular","alert-warning-triangle":"fa/triangle-exclamation-regular",android:"fa/android","app-chart":"fa/square-poll-vertical-regular","app-generic":"fa/browser-regular","app-layout":"fa/table-layout-regular","app-table":"fa/table-regular",apple:"fa/apple",archive:"fa/box-archive-regular","arrow-down":"fa/arrow-down-regular","arrow-down-left":"fa/arrow-down-left-regular","arrow-down-right":"fa/arrow-down-right-regular","arrow-left":"fa/arrow-left-regular","arrow-right":"fa/arrow-right-regular","arrow-solid-down":"fa/caret-down-solid","arrow-solid-left":"fa/caret-left-solid","arrow-solid-right":"fa/caret-right-solid","arrow-solid-up":"fa/caret-up-solid","arrow-up":"fa/arrow-up-regular","arrow-up-left":"fa/arrow-up-left-regular","arrow-up-right":"fa/arrow-up-right-regular",at:"fa/at-regular",attachment:"fa/paperclip-regular",backspace:"fa/delete-left-regular","badge-amount":"fa/circle-0-solid","badge-check":"fa/circle-check-solid","badge-edit":"fa/pen-circle-regular","badge-file":"deprecated/badge-file","badge-pause":"fa/circle-pause-solid","badge-x":"fa/circle-xmark-solid","ban-outline":"deprecated/fa/ban-regular",bell:"fa/bell-regular",bolt:"fa/bolt-regular",bot:"fa/robot-regular",branch:"fa/code-branch-regular",bug:"fa/bug-regular",bus:"fa/bus-simple-regular",calendar:"fa/calendar-regular","calendar-add":"fa/calendar-plus-regular","calendar-clock":"fa/calendar-clock-regular",campaign:"fa/bullhorn-regular",certificate:"fa/file-certificate-regular",chat:"fa/message-lines-regular","chat-bell":"custom/message-bell-regular","chat-close":"fa/message-xmark-regular","chat-disable":"fa/message-slash-regular","chat-multi":"fa/messages-regular","chat-notification-score":"custom/message-bell-regular",checkbox:"fa/square-regular","checkbox-active":"fa/square-check-solid","checkbox-partial":"fa/square-minus-regular",checkmark:"custom/check-small-regular","chevron-double-down":"fa/chevrons-down-regular","chevron-double-left":"fa/chevrons-left-regular","chevron-double-right":"fa/chevrons-right-regular","chevron-double-up":"fa/chevrons-up-regular","chevron-left":"fa/chevron-left-regular","chevron-right":"fa/chevron-right-regular","chevron-small-down":"custom/chevron-down-small-regular","chevron-small-left":"custom/chevron-left-small-regular","chevron-small-right":"custom/chevron-right-small-regular","chevron-small-up":"custom/chevron-up-small-regular",chrome:"fa/chrome","cjv-badge-file":"fa/file-regular","cjv-calendar-clock":"fa/calendar-clock-regular","cjv-custom-default":"deprecated/cjv-custom-default","cjv-custom-event":"fa/circle-star-solid","cjv-custom-session":"custom/rectangules-arrow-left-to-right-regular","cjv-default-event":"fa/circle-star-solid","cjv-delivery":"fa/truck-regular","cjv-finance-invoice":"fa/file-invoice-dollar-regular","cjv-form-abandoned":"fa/file-circle-xmark-regular","cjv-form-submitted":"custom/file-arrow-up-regular","cjv-generic-application":"fa/file-user-regular","cjv-offer-closed":"fa/circle-xmark-solid","cjv-offer-ignored":"fa/subtract-circle-solid","cjv-offer-offered":"fa/circle-chevron-right-solid","cjv-offer-opened":"fa/badge-check-solid","cjv-outcome-achieved":"fa/circle-check-solid","cjv-page-view":"fa/circle-dot-regular","cjv-policy-contract":"fa/file-contract-regular","cjv-product-added":"fa/cart-circle-plus-regular","cjv-product-purchased":"fa/cart-circle-check-regular","cjv-product-removed":"fa/cart-circle-xmark-regular","cjv-search":"fa/magnifying-glass-regular","cjv-segment":"fa/chart-pie-simple-regular","cjv-segment-assigned":"fa/circle-quarter-regular","cjv-web-session":"fa/globe-regular","cjv-webchat-accepted":"fa/message-check-solid","cjv-webchat-error":"fa/message-xmark-solid","cjv-webchat-ignored":"fa/message-minus-solid","cjv-webchat-offered":"fa/message-arrow-up-right-solid","cjv-webchat-rejected":"fa/message-xmark-solid","cjv-webchat-requested":"fa/message-plus-solid","cjv-webchat-submitted":"fa/message-arrow-up-solid","cjv-webchat-timeout":"fa/timer-regular",clipboard:"fa/clipboard-regular","clipboard-error":"fa/clipboard-question-regular","clipboard-success":"fa/clipboard-check-regular",clock:"fa/clock-regular","clock-outline":"fa/clock-regular",clone:"fa/clone-regular",close:"fa/xmark-large-regular","close-circle":"deprecated/fa/circle-xmark-regular",cloud:"fa/cloud-regular","cloud-outline":"fa/cloud-regular",coaching:"fa/whistle-regular",cobrowse:"deprecated/cobrowse",collapse:"fa/arrow-down-left-and-arrow-up-right-to-center-regular",comments:"fa/message-lines-regular","comments-disable":"fa/message-slash-regular",configuration:"fa/block-brick-regular","control-end":"fa/forward-fast-regular","control-pause":"fa/pause-regular","control-play":"fa/play-regular","control-skip-left":"fa/backward-regular","control-skip-right":"fa/forward-regular","control-slide-back":"fa/backward-step-regular","control-slide-forward":"fa/forward-step-regular","control-start":"fa/backward-fast-regular","control-stop":"fa/stop-regular",copy:"fa/copy-regular","custom/add-column-after":"custom/table-column-plus-right-regular","custom/add-column-before":"custom/table-column-plus-left-regular","custom/add-row-after":"custom/table-row-plus-bottom-regular","custom/add-row-before":"custom/table-row-plus-top-regular","custom/binoculars-slash-regular":"custom/regular-binoculars-slash","custom/carousel":"custom/rectangle-carousel-regular","custom/clipboard-list-slash-regular":"custom/regular-clipboard-list-slash","custom/co-browse":"custom/screen-monitor-regular","custom/delete-column":"custom/table-column-xmark-regular","custom/delete-row":"custom/table-row-xmark-regular","custom/delete-table":"custom/table-xmark-regular","custom/file-pen-question":"custom/file-pen-question-regular","custom/filter-notification":"custom/filter-dot-regular","custom/font-regular-highlight":"custom/font-underline-regular","custom/one-button":"custom/mobiles-one-button-regular","custom/person-running":"fa/person-running-solid","custom/quick-reply":"custom/circle-buttons-regular","custom/three-button":"custom/mobile-three-button-regular","custom/wrap-text-inline":"custom/wrap-text-inline-regular","custom/wrap-text-tight":"custom/wrap-text-tight-regular","custom/wrap-text-top-bottom":"custom/wrap-text-top-bottom-regular","customer-journey":"fa/map-location-dot-regular",cut:"fa/scissors-regular",dash:"fa/gauge-simple-high-regular",delete:"fa/trash-regular","device-camera":"fa/camera-regular","device-cellphone":"fa/mobile-regular","device-headphones":"fa/headphones-regular","device-laptop":"fa/laptop-regular","device-pc":"deprecated/device-pc","device-server":"fa/server-regular","device-tablet":"fa/tablet-regular",download:"fa/arrow-down-to-line-regular",edge:"fa/edge-legacy",edit:"fa/pen-regular","email-notification-score":"fa/envelope-dot-regular",expand:"fa/arrow-up-right-and-arrow-down-left-from-center-regular",export:"fa/arrow-up-from-line-regular","external-link":"fa/arrow-up-right-from-square-regular","fa/00-solid":"fa/00-regular","fa/arrows-rotate-solid":"fa/arrows-rotate-regular","fa/ban-regular":"deprecated/fa/ban-regular","fa/check-solid":"custom/check-small-regular","fa/circle-check-regular":"deprecated/fa/circle-check-regular","fa/circle-xmark-regular":"deprecated/fa/circle-xmark-regular","fa/clock-outline":"fa/clock-regular","fa/comment-dots-regular":"fa/message-dots-regular","fa/comments-regular":"fa/messages-regular","fa/diagram-project-gear-regular":"fa/regular-diagram-project-gear","fa/eye-regular":"deprecated/fa/eye-regular","fa/eye-slash-regular":"deprecated/fa/eye-slash-regular","fa/life-ring-regular":"deprecated/fa/life-ring-regular","fa/link-horizontal-slash-regular":"fa/link-slash-regular","fa/link-horizontal-solid":"fa/link-regular","fa/list-radio-clean-regular":"fa/list-ul-regular","fa/list-radio-regular":"fa/list-ul-regular","fa/list-regular":"fa/list-ul-regular","fa/rectangle-list-regular":"fa/square-list-regular","fa/reply-regular":"custom/reply-regular","fa/right-to-bracket-regular":"fa/arrow-right-to-bracket-regular","fa/share-regular":"custom/share-regular","fa/volume-regular":"deprecated/fa/volume-regular","face-empathy":"deprecated/face-empathy","face-happy":"fa/face-smile-regular","face-happy-solid":"fa/face-smile-solid","face-neutral":"fa/face-meh-regular","face-neutral-solid":"fa/face-meh-solid","face-sad":"fa/face-frown-regular","face-sad-solid":"fa/face-frown-solid",facebook:"fa/facebook","facebook-messenger":"fa/facebook-messenger",fax:"fa/fax-regular",file:"fa/file-regular","file-all":"fa/files-regular","file-audio":"deprecated/fa/volume-regular","file-image-landscape":"fa/image-regular","file-image-portrait":"fa/image-portrait-regular","file-pdf":"fa/file-pdf-regular","file-preview":"fa/file-magnifying-glass-regular","file-report":"fa/file-chart-column-regular","file-text":"fa/file-lines-regular","file-video":"fa/video-regular",filter:"fa/filter-regular",fire:"fa/fire-regular",firefox:"fa/firefox",flag:"fa/flag-regular",folder:"fa/folder-regular","folder-add":"fa/folder-plus-regular","folder-open":"fa/folder-open-regular",follow:"fa/binoculars-regular",generic:"fa/shapes-regular",globe:"fa/earth-africa-regular","grab-horizontal":"fa/grip-solid","grab-vertical":"fa/grip-vertical-solid","graph-bar-horizontal":"fa/chart-bar-regular","graph-bar-vertical":"fa/chart-column-regular","graph-bubble":"fa/chart-scatter-bubble-regular","graph-chart":"fa/chart-area-regular","graph-line":"fa/chart-line-regular","graph-pie":"fa/chart-pie-regular","graph-spark":"custom/chart-line-spark-regular","group-standard":"custom/users-light",help:"fa/circle-question-regular",home:"fa/home-regular",hourglass:"fa/hourglass-half-regular",import:"fa/file-import-regular",inbox:"fa/inbox-regular",inspect:"deprecated/fa/eye-regular","inspect-disable":"deprecated/fa/eye-slash-regular",instagram:"fa/instagram","internet-explorer":"fa/internet-explorer",key:"fa/key-regular",lightbulb:"fa/lightbulb-regular","line-messenger":"fa/line",link:"fa/link-regular",linkedin:"fa/linkedin",linux:"fa/linux",lock:"fa/lock-regular","lock-hold":"custom/lock-keyholes-regular",logout:"fa/arrow-right-from-bracket-regular","low-bandwidth":"fa/wifi-slash-regular",lunch:"fa/utensils-regular",menu:"fa/bars-regular","menu-kebab-horizontal":"fa/ellipsis-regular","menu-kebab-vertical":"fa/ellipsis-vertical-regular","message-email":"fa/envelope-regular","message-email-outbound":"custom/envelope-arrow-up-right-regular","message-forward":"custom/share-regular","message-reply":"custom/reply-regular","message-reply-all":"custom/reply-all-regular",microphone:"fa/microphone-regular","microphone-disable":"fa/microphone-slash-regular","microphone-talking":"custom/microphone-line-on-regular",microsoft:"fa/microsoft","microsoft-teams":"custom/microsoft-teams",moon:"fa/moon-regular",music:"fa/music-regular",notes:"fa/memo-regular",notification:"fa/circle-solid",opera:"fa/opera","operator-pair":"custom/users-headset-regular",paint:"fa/fill-drip-regular",palette:"fa/palette-regular","parking-sign-regular":"fa/square-parking-regular",paste:"fa/paste-regular",people:"fa/people-pants-simple-regular",phone:"fa/phone-regular","phone-bell":"custom/phone-bell-regular","phone-call-directory":"deprecated/phone-call-directory","phone-call-history":"custom/phone-bars-regular","phone-callback":"custom/phone-arrow-left-regular","phone-close":"fa/phone-xmark-regular","phone-conference":"custom/phone-big-small-regular","phone-dialpad":"fa/grid-regular","phone-disable":"fa/phone-slash-regular","phone-forward":"fa/phone-arrow-right-regular","phone-hangup":"fa/phone-hangup-regular","phone-hold":"custom/phone-clock-regular","phone-inbound":"fa/phone-arrow-down-left-regular","phone-missed-call":"fa/phone-missed-regular","phone-notification-score":"custom/phone-star-regular","phone-outbound":"fa/phone-arrow-up-right-regular","phone-success":"custom/phone-check-regular","phone-voice":"custom/phone-high-volume-regular",pin:"fa/thumbtack-regular","pin-location":"fa/location-dot-regular",post:"fa/newspaper-regular","product-logo-beyond":"custom/genesys-beyond","product-logo-g":"custom/genesys","quote-left":"fa/quote-left-regular","quote-right":"fa/quote-right-regular",radio:"fa/circle-regular","radio-active":"fa/circle-dot-regular",rating:"fa/star-regular","rating-active":"fa/star-solid","rating-partial":"fa/star-sharp-half-stroke-regular",record:"fa/waveform-lines-regular",refresh:"fa/arrows-rotate-regular",reset:"fa/arrow-rotate-left-regular",resource:"fa/notebook-regular",retweet:"custom/arrows-retweet-regular","roster-chat":"fa/message-lines-regular","roster-chat-disable":"fa/message-slash-regular","roster-email":"fa/envelope-regular","roster-email-disable":"fa/regular-envelope-slash","roster-instagram":"fa/instagram","roster-instagram-disable":"custom/instagram-slash","roster-line":"fa/line","roster-line-disable":"custom/line-slash","roster-message":"fa/message-lines-regular","roster-message-disable":"fa/message-xmark-regular","roster-messenger":"fa/facebook-messenger","roster-messenger-disable":"custom/facebook-messenger-slash","roster-phone":"fa/phone-regular","roster-phone-disable":"fa/phone-slash-regular","roster-sms":"fa/message-dots-regular","roster-sms-disable":"fa/message-slash-regular","roster-twitter":"fa/twitter","roster-twitter-disable":"custom/twitter-slash","roster-wechat":"fa/weixin","roster-wechat-disable":"deprecated/roster-wechat-disable","roster-whatsapp":"fa/whatsapp","roster-whatsapp-disable":"fa/custon-whatsapp-slash",rss:"fa/square-rss-solid",run:"fa/person-running-solid",safari:"fa/safari",save:"fa/floppy-disk-regular","screen-share-regular":"custom/display-arrow-right-regular","screen-share-slash":"custom/display-arrow-right-slash-regular",scripter:"fa/scroll-regular",search:"fa/magnifying-glass-regular",send:"fa/paper-plane-top-regular",server:"fa/server-regular",settings:"fa/gear-regular",share:"fa/share-nodes-regular","shield-lock":"fa/shield-keyhole-regular","shield-outline":"fa/shield-check-regular","shield-solid":"fa/shield-check-solid",site:"fa/building-regular",skills:"fa/graduation-cap-regular",slideshare:"fa/slideshare",sms:"fa/message-dots-regular","sms-cancel":"fa/message-xmark-regular","sms-close":"fa/message-xmark-regular",stamp:"fa/stamp-regular",subtract:"fa/minus-regular","subtract-circle":"fa/subtract-circle-regular",sun:"fa/sun-bright-regular",tag:"fa/tag-regular","tag-add":"deprecated/tag-add","tag-remove":"deprecated/tag-remove",telegram:"fa/telegram",tenant:"fa/box-regular","thumbs-down":"fa/thumb-down-regular","thumbs-up":"fa/thumb-up-regular",timeline:"custom/arrow-turn-left-clock-regular","toolbar-apps":"custom/squares-big-small-regular","toolbar-apps-disable":"custom/squares-big-small-slash-regular","toolbar-assist":"deprecated/fa/life-ring-regular","toolbar-assist-disable":"custom/life-ring-slash-regular","toolbar-chat":"fa/message-regular","toolbar-chat-disable":"fa/message-slash-regular","toolbar-favorite":"deprecated/toolbar-favorite","toolbar-favourite":"fa/star-regular","toolbar-help":"fa/circle-question-regular","toolbar-inbox":"fa/inbox-regular","toolbar-interactions":"custom/user-talking-regular","toolbar-interactions-disable":"custom/user-talking-slash-regular","toolbar-notification":"fa/circle-solid","toolbar-phone":"fa/phone-regular","toolbar-phone-active-1":"custom/phone-low-volume-regular","toolbar-phone-active-2":"custom/phone-volume-regular","toolbar-phone-active-3":"custom/phone-high-volume-regular","toolbar-phone-disable":"fa/phone-slash-regular","toolbar-video":"fa/video-regular","toolbar-video-disable":"fa/video-slash-regular",trade:"fa/handshake-regular",transfer:"fa/arrow-right-arrow-left-regular",twitter:"fa/twitter",unknown:"fa/square-x-regular",unlink:"fa/link-slash-regular",unlock:"fa/unlock-regular",upload:"fa/upload-regular",user:"fa/user-regular","user-add":"fa/user-plus-regular","user-circle":"fa/circle-user-regular","user-contact-id":"fa/address-card-regular","user-directory":"fa/address-book-regular","user-group":"fa/users-regular","user-interactions":"custom/user-talking-regular","user-interactions-disable":"custom/user-talking-slash-regular",viber:"fa/viber",video:"fa/video-regular","video-disable":"fa/video-slash-regular","view-all":"fa/grid-4-regular","view-cells":"custom/columns-3-regular","view-grid":"fa/border-all-regular","view-list":"fa/square-list-regular","view-lists":"custom/columns-3-regular","view-roster":"fa/table-list-regular","view-stacked":"fa/table-rows-regular",voicemail:"fa/voicemail-regular","volume-disable":"fa/volume-slash-regular","volume-down":"fa/volume-low-regular","volume-none":"fa/volume-off-regular","volume-up":"deprecated/fa/volume-regular",web:"fa/globe-regular",webcam:"fa/camera-web-regular","webcam-disable":"fa/camera-web-slash-regular",wechat:"fa/weixin",whatsapp:"fa/whatsapp","window-actual-size":"fa/brackets-square-regular","window-contract":"fa/arrows-minimize-regular","window-drag-out":"fa/arrow-up-right-from-square-regular","window-expand":"fa/arrows-maximize-regular","window-fullscreen":"fa/arrows-maximize-regular","window-popout":"fa/square-arrow-up-right-regular",wordpress:"fa/wordpress",youtube:"fa/youtube","zoom-in":"fa/magnifying-glass-plus-regular","zoom-out":"fa/magnifying-glass-minus-regular"},i=Object.keys(u),c=new Map;function g(e){return t.includes(e)?`legacy/${e}`:i.includes(e)?u[e]:e}async function f(r){const a=function(e){return e.replace("/","-")}(r);if(c.has(a))return c.get(a);const l=async function(r){const a=await fetch(e(`./icons/${r}.svg`));if(200===a.status)return a.text();throw new Error(`[gux-icon] fetching failed for icon "${r}" with status "${a.statusText} (${a.status})".`)}(r).then((e=>e)).catch((e=>(setTimeout((()=>{throw e}),0),f("fa/square-x-regular"))));return c.set(a,l),l}const n=class{constructor(e){r(this,e),this.decorative=!1,this.screenreaderText="",this.size="inherit"}async prepIcon(e){if(e){const r=g(e);this.baseSvgHtml=await f(r),this.svgHtml=this.getSvgWithAriaAttributes(this.baseSvgHtml)}}watchDecorative(e){this.validateProps(e,this.screenreaderText),this.baseSvgHtml&&(this.svgHtml=this.getSvgWithAriaAttributes(this.baseSvgHtml))}watchScreenreaderText(e){this.validateProps(this.decorative,e),this.baseSvgHtml&&(this.svgHtml=this.getSvgWithAriaAttributes(this.baseSvgHtml))}async componentWillLoad(){o(this.root,{variant:g(this.iconName)}),await this.prepIcon(this.iconName)}componentDidLoad(){this.validateProps(this.decorative,this.screenreaderText)}validateProps(e,r){this.root.isConnected&&(e||r||s(this.root,"No screenreader-text provided. Either provide a localized screenreader-text property or set `decorative` to true."))}getSvgWithAriaAttributes(e){const r=(new DOMParser).parseFromString(e,"image/svg+xml").firstChild;return r.setAttribute("role","img"),r.setAttribute("aria-hidden",this.decorative?String(this.decorative):"false"),this.screenreaderText?r.setAttribute("aria-label",this.screenreaderText):r.removeAttribute("aria-label"),r.outerHTML}render(){return this.svgHtml&&a("div",{key:"fc49d25c1328343349db27602d1809bc2ad3b7f9",class:"gux-icon-container",innerHTML:this.svgHtml})}static get assetsDirs(){return["icons"]}get root(){return l(this)}static get watchers(){return{iconName:["prepIcon"],decorative:["watchDecorative"],screenreaderText:["watchScreenreaderText"]}}};n.style=":host{display:inline-flex;inline-size:1em;block-size:1em}:host([size=small]){inline-size:var(--gse-ui-icon-small-size);block-size:var(--gse-ui-icon-small-size)}:host([size=medium]){inline-size:var(--gse-ui-icon-medium-size);block-size:var(--gse-ui-icon-medium-size)}:host([size=large]){inline-size:var(--gse-ui-icon-large-size);block-size:var(--gse-ui-icon-large-size)}.gux-icon-container{display:flex;align-items:center;justify-content:center;inline-size:100%}.gux-icon-container svg{inline-size:100%;max-inline-size:100%;block-size:100%;max-block-size:100%;fill:currentcolor}";export{n as gux_icon}
@@ -1 +1 @@
1
- import{r as t,c as i,d as e,h as r,g as o}from"./p-cf74fd3d.js";import{O as n}from"./p-832c080d.js";import{h as s}from"./p-6d8b4027.js";import{t as a}from"./p-fcdad94f.js";import{g as d}from"./p-b2e29026.js";import{b as h}from"./p-e5e644b3.js";import{t as c}from"./p-f01d2320.js";import{a as l}from"./p-cf0e7d3b.js";import{O as u}from"./p-946c70b7.js";import"./p-43af726d.js";import"./p-4202e9f2.js";var g=function(t,i,e,r){var o,n=arguments.length,s=n<3?i:null===r?r=Object.getOwnPropertyDescriptor(i,e):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(t,i,e,r);else for(var a=t.length-1;a>=0;a--)(o=t[a])&&(s=(n<3?o(s):n>3?o(i,e,s):o(i,e))||s);return n>3&&s&&Object.defineProperty(i,e,s),s};const x=class{constructor(e){t(this,e),this.guxToggleAction=i(this,"guxToggleAction",7),this.disabled=!1,this.typographicalEmphasisActions=[],this.textStylingActions=[],this.listsAndIndentationActions=[],this.insertingActions=[],this.hasToolbar=!1}checkResponsiveLayout(){e((()=>{this.handleOverflow(),this.getHiddenActions()}))}onMutation(){this.hasToolbar=this.hasToolbarChildren()}async componentWillLoad(){a(this.root),this.i18n=await h(this.root,c)}componentDidLoad(){this.hasToolbar=this.hasToolbarChildren(),l((()=>{this.checkResponsiveLayout()}))}componentDidUpdate(){this.handleOverflow()}isOverFlowing(){var t;const i=null===(t=this.root)||void 0===t?void 0:t.shadowRoot.querySelector(".gux-rich-text-editor-toolbar-container");return Array.from(i.children).filter((t=>!t.classList.contains("gux-hidden"))).reduce(((t,i)=>t+i.clientWidth),0)>i.clientWidth}handleOverflow(){const t=Array.from(this.root.querySelectorAll("gux-rich-text-editor-action-group"));for(;this.isOverFlowing();){let i=!1;for(let e=t.length-1;e>=0;e--)if(!t[e].classList.contains("gux-hidden")){t[e].classList.add("gux-hidden"),i=!0;break}if(!i)break}for(const i of t)if(i.classList.contains("gux-hidden")&&(i.classList.remove("gux-hidden"),this.isOverFlowing())){i.classList.add("gux-hidden");break}}getHiddenActions(){this.typographicalEmphasisActions=d(this.root,'gux-rich-text-editor-action-group[slot="typographical-emphasis"]',"gux-hidden"),this.listsAndIndentationActions=d(this.root,'gux-rich-text-editor-action-group[slot="lists-indentation"]',"gux-hidden"),this.textStylingActions=d(this.root,'gux-rich-text-editor-action-group[slot="text-styling"]',"gux-hidden"),this.insertingActions=d(this.root,'gux-rich-text-editor-action-group[slot="inserting"]',"gux-hidden")}getAllActions(){return[...this.textStylingActions,...this.typographicalEmphasisActions,...this.listsAndIndentationActions,...this.insertingActions]}categorizeActions(t){const i=[],e=[],r=[];return t.forEach((t=>{t.startsWith("rich-style-")?i.push(t.slice(11)):t.startsWith("highlight-")?e.push(t.slice(10)):r.push(t)})),{richStyleActions:i,highlightActions:e,filteredActions:r}}renderListItems(t,i=!1){return t.map(((t,e)=>{const o=t.replace(/<\/?[^>]+(>|$)/g,"");return r("gux-rich-style-list-item",Object.assign({onClick:()=>this.guxToggleAction.emit(o),key:e,value:o},i?{innerHTML:t}:{}),!i&&(this.i18n(o)||o))}))}renderSubList(t,i,e=!1){if(i.length>0)return r("gux-rich-text-editor-sub-list",{label:this.i18n(t)},this.renderListItems(i,e))}renderHighlightSubList(t){if(t.length>0)return r("gux-rich-text-editor-sub-list",{label:this.i18n("textHighlight")},this.renderListItems(t),r("gux-rich-style-list-item",{onClick:()=>this.guxToggleAction.emit("noHighlightAction"),value:"noHighlight"},r("gux-truncate",{"max-lines":1},this.i18n("noHighlight"))))}renderTextEditorMenu(){const t=this.getAllActions();if(t.length>0){const{richStyleActions:i,highlightActions:e,filteredActions:o}=this.categorizeActions(t);return r("gux-rich-text-editor-menu",null,this.renderListItems(o),this.renderSubList("richStyle",i,!0),this.renderHighlightSubList(e))}}renderSlot(t,i){return s(this.root,t)?r("div",{class:i},r("slot",{name:t})):null}renderTypographicalEmphasis(){return this.renderSlot("typographical-emphasis","gux-typographical-emphasis-container")}renderTextStyling(){return this.renderSlot("text-styling","gux-text-styling-container")}renderListsIndentation(){return this.renderSlot("lists-indentation","gux-lists-indentation-container")}renderInserting(){return this.renderSlot("inserting","gux-inserting-container")}renderGlobalAction(){return this.renderSlot("global-action","gux-global-action-container")}hasToolbarChildren(){return[this.renderTypographicalEmphasis(),this.renderTextStyling(),this.renderListsIndentation(),this.renderInserting(),this.renderTextEditorMenu(),this.renderGlobalAction()].some((t=>null!=t))}render(){return r("div",{key:"0c30232dc23ef57def4f584a7e6d698adf283ab4",class:{"gux-rich-text-editor-container":!0,"gux-disabled":this.disabled,"gux-toolbar-hidden":!this.hasToolbar}},r("div",{key:"8d8c9dc9f48809b588ca2dc0db47c58e00fbd999",class:"gux-rich-text-editor-toolbar-container"},this.renderTypographicalEmphasis(),this.renderTextStyling(),this.renderListsIndentation(),this.renderInserting(),this.renderTextEditorMenu(),this.renderGlobalAction()),r("slot",{key:"d5142a425c14642edd1723d24f9caeff0707545d",name:"editor"}))}get root(){return o(this)}};g([n()],x.prototype,"checkResponsiveLayout",null),g([u({childList:!0,subtree:!0})],x.prototype,"onMutation",null),x.style=":host{display:block}:host([style*=resize]){overflow:auto;resize:inherit}.gux-rich-text-editor-container{box-sizing:border-box;display:flex;flex-direction:column;gap:var(--gse-ui-rte-innerContainer-gap);inline-size:100%;max-inline-size:100%;block-size:100%;max-block-size:100%;padding:var(--gse-ui-rte-padding);overflow:hidden scroll;background-color:var(--gse-ui-formControl-input-backgroundColor);border:var(--gse-ui-rte-mainContainer-default-border-width) var(--gse-ui-rte-mainContainer-default-border-color) var(--gse-ui-rte-mainContainer-default-border-style);border-radius:var(--gse-ui-rte-container-borderRadius)}.gux-rich-text-editor-container.gux-toolbar-hidden{gap:0}.gux-rich-text-editor-container .gux-rich-text-editor-toolbar-container{display:flex;flex-direction:row;justify-content:flex-start}.gux-rich-text-editor-container .gux-rich-text-editor-toolbar-container .gux-global-action-container{margin-inline-start:auto}.gux-rich-text-editor-container.gux-disabled{pointer-events:none;cursor:default;user-select:none;border:var(--gse-ui-rte-mainContainer-disabled-border-width) var(--gse-ui-rte-mainContainer-disabled-border-color) var(--gse-ui-rte-mainContainer-disabled-border-style);opacity:0.5}.gux-rich-text-editor-container:active:enabled{border:var(--gse-ui-rte-mainContainer-active-border-width) var(--gse-ui-rte-mainContainer-active-border-color) var(--gse-ui-rte-mainContainer-active-border-style)}.gux-rich-text-editor-container:focus-within:not(.gux-disabled),.gux-rich-text-editor-container:hover:not(.gux-disabled){border:var(--gse-ui-rte-mainContainer-hover-border-width) var(--gse-ui-rte-mainContainer-hover-border-color) var(--gse-ui-rte-mainContainer-hover-border-style)}.gux-rich-text-editor-container:focus-within:not(.gux-disabled){outline:var(--gse-ui-rte-mainContainer-focus-border-width) var(--gse-ui-rte-mainContainer-focus-border-color) var(--gse-ui-rte-mainContainer-focus-border-style)}";export{x as gux_rich_text_editor_beta}
1
+ import{r as t,c as i,d as e,h as r,g as o}from"./p-cf74fd3d.js";import{O as n}from"./p-832c080d.js";import{h as s}from"./p-6d8b4027.js";import{t as a}from"./p-6ec0040f.js";import{g as d}from"./p-b2e29026.js";import{b as h}from"./p-e5e644b3.js";import{t as c}from"./p-f01d2320.js";import{a as l}from"./p-cf0e7d3b.js";import{O as u}from"./p-946c70b7.js";import"./p-43af726d.js";import"./p-4202e9f2.js";var g=function(t,i,e,r){var o,n=arguments.length,s=n<3?i:null===r?r=Object.getOwnPropertyDescriptor(i,e):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(t,i,e,r);else for(var a=t.length-1;a>=0;a--)(o=t[a])&&(s=(n<3?o(s):n>3?o(i,e,s):o(i,e))||s);return n>3&&s&&Object.defineProperty(i,e,s),s};const x=class{constructor(e){t(this,e),this.guxToggleAction=i(this,"guxToggleAction",7),this.disabled=!1,this.typographicalEmphasisActions=[],this.textStylingActions=[],this.listsAndIndentationActions=[],this.insertingActions=[],this.hasToolbar=!1}checkResponsiveLayout(){e((()=>{this.handleOverflow(),this.getHiddenActions()}))}onMutation(){this.hasToolbar=this.hasToolbarChildren()}async componentWillLoad(){a(this.root),this.i18n=await h(this.root,c)}componentDidLoad(){this.hasToolbar=this.hasToolbarChildren(),l((()=>{this.checkResponsiveLayout()}))}componentDidUpdate(){this.handleOverflow()}isOverFlowing(){var t;const i=null===(t=this.root)||void 0===t?void 0:t.shadowRoot.querySelector(".gux-rich-text-editor-toolbar-container");return Array.from(i.children).filter((t=>!t.classList.contains("gux-hidden"))).reduce(((t,i)=>t+i.clientWidth),0)>i.clientWidth}handleOverflow(){const t=Array.from(this.root.querySelectorAll("gux-rich-text-editor-action-group"));for(;this.isOverFlowing();){let i=!1;for(let e=t.length-1;e>=0;e--)if(!t[e].classList.contains("gux-hidden")){t[e].classList.add("gux-hidden"),i=!0;break}if(!i)break}for(const i of t)if(i.classList.contains("gux-hidden")&&(i.classList.remove("gux-hidden"),this.isOverFlowing())){i.classList.add("gux-hidden");break}}getHiddenActions(){this.typographicalEmphasisActions=d(this.root,'gux-rich-text-editor-action-group[slot="typographical-emphasis"]',"gux-hidden"),this.listsAndIndentationActions=d(this.root,'gux-rich-text-editor-action-group[slot="lists-indentation"]',"gux-hidden"),this.textStylingActions=d(this.root,'gux-rich-text-editor-action-group[slot="text-styling"]',"gux-hidden"),this.insertingActions=d(this.root,'gux-rich-text-editor-action-group[slot="inserting"]',"gux-hidden")}getAllActions(){return[...this.textStylingActions,...this.typographicalEmphasisActions,...this.listsAndIndentationActions,...this.insertingActions]}categorizeActions(t){const i=[],e=[],r=[];return t.forEach((t=>{t.startsWith("rich-style-")?i.push(t.slice(11)):t.startsWith("highlight-")?e.push(t.slice(10)):r.push(t)})),{richStyleActions:i,highlightActions:e,filteredActions:r}}renderListItems(t,i=!1){return t.map(((t,e)=>{const o=t.replace(/<\/?[^>]+(>|$)/g,"");return r("gux-rich-style-list-item",Object.assign({onClick:()=>this.guxToggleAction.emit(o),key:e,value:o},i?{innerHTML:t}:{}),!i&&(this.i18n(o)||o))}))}renderSubList(t,i,e=!1){if(i.length>0)return r("gux-rich-text-editor-sub-list",{label:this.i18n(t)},this.renderListItems(i,e))}renderHighlightSubList(t){if(t.length>0)return r("gux-rich-text-editor-sub-list",{label:this.i18n("textHighlight")},this.renderListItems(t),r("gux-rich-style-list-item",{onClick:()=>this.guxToggleAction.emit("noHighlightAction"),value:"noHighlight"},r("gux-truncate",{"max-lines":1},this.i18n("noHighlight"))))}renderTextEditorMenu(){const t=this.getAllActions();if(t.length>0){const{richStyleActions:i,highlightActions:e,filteredActions:o}=this.categorizeActions(t);return r("gux-rich-text-editor-menu",null,this.renderListItems(o),this.renderSubList("richStyle",i,!0),this.renderHighlightSubList(e))}}renderSlot(t,i){return s(this.root,t)?r("div",{class:i},r("slot",{name:t})):null}renderTypographicalEmphasis(){return this.renderSlot("typographical-emphasis","gux-typographical-emphasis-container")}renderTextStyling(){return this.renderSlot("text-styling","gux-text-styling-container")}renderListsIndentation(){return this.renderSlot("lists-indentation","gux-lists-indentation-container")}renderInserting(){return this.renderSlot("inserting","gux-inserting-container")}renderGlobalAction(){return this.renderSlot("global-action","gux-global-action-container")}hasToolbarChildren(){return[this.renderTypographicalEmphasis(),this.renderTextStyling(),this.renderListsIndentation(),this.renderInserting(),this.renderTextEditorMenu(),this.renderGlobalAction()].some((t=>null!=t))}render(){return r("div",{key:"0c30232dc23ef57def4f584a7e6d698adf283ab4",class:{"gux-rich-text-editor-container":!0,"gux-disabled":this.disabled,"gux-toolbar-hidden":!this.hasToolbar}},r("div",{key:"8d8c9dc9f48809b588ca2dc0db47c58e00fbd999",class:"gux-rich-text-editor-toolbar-container"},this.renderTypographicalEmphasis(),this.renderTextStyling(),this.renderListsIndentation(),this.renderInserting(),this.renderTextEditorMenu(),this.renderGlobalAction()),r("slot",{key:"d5142a425c14642edd1723d24f9caeff0707545d",name:"editor"}))}get root(){return o(this)}};g([n()],x.prototype,"checkResponsiveLayout",null),g([u({childList:!0,subtree:!0})],x.prototype,"onMutation",null),x.style=":host{display:block}:host([style*=resize]){overflow:auto;resize:inherit}.gux-rich-text-editor-container{box-sizing:border-box;display:flex;flex-direction:column;gap:var(--gse-ui-rte-innerContainer-gap);inline-size:100%;max-inline-size:100%;block-size:100%;max-block-size:100%;padding:var(--gse-ui-rte-padding);overflow:hidden scroll;background-color:var(--gse-ui-formControl-input-backgroundColor);border:var(--gse-ui-rte-mainContainer-default-border-width) var(--gse-ui-rte-mainContainer-default-border-color) var(--gse-ui-rte-mainContainer-default-border-style);border-radius:var(--gse-ui-rte-container-borderRadius)}.gux-rich-text-editor-container.gux-toolbar-hidden{gap:0}.gux-rich-text-editor-container .gux-rich-text-editor-toolbar-container{display:flex;flex-direction:row;justify-content:flex-start}.gux-rich-text-editor-container .gux-rich-text-editor-toolbar-container .gux-global-action-container{margin-inline-start:auto}.gux-rich-text-editor-container.gux-disabled{pointer-events:none;cursor:default;user-select:none;border:var(--gse-ui-rte-mainContainer-disabled-border-width) var(--gse-ui-rte-mainContainer-disabled-border-color) var(--gse-ui-rte-mainContainer-disabled-border-style);opacity:0.5}.gux-rich-text-editor-container:active:enabled{border:var(--gse-ui-rte-mainContainer-active-border-width) var(--gse-ui-rte-mainContainer-active-border-color) var(--gse-ui-rte-mainContainer-active-border-style)}.gux-rich-text-editor-container:focus-within:not(.gux-disabled),.gux-rich-text-editor-container:hover:not(.gux-disabled){border:var(--gse-ui-rte-mainContainer-hover-border-width) var(--gse-ui-rte-mainContainer-hover-border-color) var(--gse-ui-rte-mainContainer-hover-border-style)}.gux-rich-text-editor-container:focus-within:not(.gux-disabled){outline:var(--gse-ui-rte-mainContainer-focus-border-width) var(--gse-ui-rte-mainContainer-focus-border-color) var(--gse-ui-rte-mainContainer-focus-border-style)}";export{x as gux_rich_text_editor_beta}
@@ -1 +1 @@
1
- import{r as e,c as t,h as i,g as s}from"./p-cf74fd3d.js";import{r as a}from"./p-0934300e.js";import{h as o}from"./p-6d8b4027.js";import{t as d}from"./p-fcdad94f.js";const n=class{constructor(i){e(this,i),this.modalSidePanelDismiss=t(this,"modalSidePanelDismiss",7),this.open=!1,this.size="medium",this.dialogElement=null}syncOpenState(){this.open?this.dialogElement.showModal():(this.dialogElement.close(),this.modalSidePanelDismiss.emit())}sidepaneldismissHandler(){this.open=!1}onKeydown(e){if("Escape"===e.key)return e.preventDefault(),void(this.open=!1)}async showModal(){this.open=!0}async close(){this.open=!1}componentWillLoad(){d(this.root,{variant:this.size})}componentDidLoad(){this.open&&this.dialogElement.showModal()}render(){const e=a();return i("dialog",{key:"ecf03e299a46bc5fe8c69c3a45c4ee082678ca54",ref:e=>this.dialogElement=e,"aria-labelledby":e},i("gux-side-panel-beta",{key:"80fd9bc4c0b2a0ff8a5329eb5b882e0c3b7598ef",size:this.size},i("div",{key:"f8c7caadaeb21468617dd03dd4892f4e3efb83c3",slot:"heading",id:e},i("slot",{key:"aca70b21b54b4cfcf9db2ce7f6b67db5321ee753",name:"heading"})),o(this.root,"description")&&i("div",{key:"c9bc9620a4374a3b5d1c3d25ef85d378fdcbf305",slot:"description"},i("slot",{key:"e50e0d1e6e8571108c6ca564c50a1e7c5e0a7a68",name:"description"})),i("div",{key:"bad2c534e47b59dfe0f1c83047eba1395a1c2ff9",slot:"content"},i("slot",{key:"1d3d8a04686e7c18a1dedbf064b889eab7c96615",name:"content"})),i("div",{key:"c8ecb56faec61bda9d39e3f25358968221740721",slot:"footer"},i("slot",{key:"45c9673d168477550f2055115620c112dcc6620f",name:"footer"}))))}get root(){return s(this)}static get watchers(){return{open:["syncOpenState"]}}};n.style="dialog{inset-inline-start:auto;block-size:100%;min-block-size:100%;padding:0;margin:unset;border:none}dialog::backdrop{background:var(--gse-ui-sidePanel-shroudColor);opacity:var(--gse-ui-sidePanel-shroud-opacity)}slot[name=description]::slotted(*){margin:0;font-family:var(--gse-ui-sidePanel-description-text-fontFamily) !important;font-size:var(--gse-ui-sidePanel-description-text-fontSize) !important;font-weight:var(--gse-ui-sidePanel-description-text-fontWeight) !important;line-height:var(--gse-ui-sidePanel-description-text-lineHeight) !important;color:var(--gse-ui-sidePanel-descriptionColor) !important}";export{n as gux_modal_side_panel_beta}
1
+ import{r as e,c as t,h as i,g as s}from"./p-cf74fd3d.js";import{r as a}from"./p-0934300e.js";import{h as o}from"./p-6d8b4027.js";import{t as n}from"./p-6ec0040f.js";const d=class{constructor(i){e(this,i),this.modalSidePanelDismiss=t(this,"modalSidePanelDismiss",7),this.open=!1,this.size="medium",this.dialogElement=null}syncOpenState(){this.open?this.dialogElement.showModal():(this.dialogElement.close(),this.modalSidePanelDismiss.emit())}sidepaneldismissHandler(){this.open=!1}onKeydown(e){if("Escape"===e.key)return e.preventDefault(),void(this.open=!1)}async showModal(){this.open=!0}async close(){this.open=!1}componentWillLoad(){n(this.root,{variant:this.size})}componentDidLoad(){this.open&&this.dialogElement.showModal()}render(){const e=a();return i("dialog",{key:"ecf03e299a46bc5fe8c69c3a45c4ee082678ca54",ref:e=>this.dialogElement=e,"aria-labelledby":e},i("gux-side-panel-beta",{key:"80fd9bc4c0b2a0ff8a5329eb5b882e0c3b7598ef",size:this.size},i("div",{key:"f8c7caadaeb21468617dd03dd4892f4e3efb83c3",slot:"heading",id:e},i("slot",{key:"aca70b21b54b4cfcf9db2ce7f6b67db5321ee753",name:"heading"})),o(this.root,"description")&&i("div",{key:"c9bc9620a4374a3b5d1c3d25ef85d378fdcbf305",slot:"description"},i("slot",{key:"e50e0d1e6e8571108c6ca564c50a1e7c5e0a7a68",name:"description"})),i("div",{key:"bad2c534e47b59dfe0f1c83047eba1395a1c2ff9",slot:"content"},i("slot",{key:"1d3d8a04686e7c18a1dedbf064b889eab7c96615",name:"content"})),i("div",{key:"c8ecb56faec61bda9d39e3f25358968221740721",slot:"footer"},i("slot",{key:"45c9673d168477550f2055115620c112dcc6620f",name:"footer"}))))}get root(){return s(this)}static get watchers(){return{open:["syncOpenState"]}}};d.style="dialog{inset-inline-start:auto;block-size:100%;min-block-size:100%;padding:0;margin:unset;border:none}dialog::backdrop{background:var(--gse-ui-sidePanel-shroudColor);opacity:var(--gse-ui-sidePanel-shroud-opacity)}slot[name=description]::slotted(*){margin:0;font-family:var(--gse-ui-sidePanel-description-text-fontFamily) !important;font-size:var(--gse-ui-sidePanel-description-text-fontSize) !important;font-weight:var(--gse-ui-sidePanel-description-text-fontWeight) !important;line-height:var(--gse-ui-sidePanel-description-text-lineHeight) !important;color:var(--gse-ui-sidePanel-descriptionColor) !important}";export{d as gux_modal_side_panel_beta}
@@ -1 +1 @@
1
- import{r as e,h as o,f as i,g as r}from"./p-cf74fd3d.js";import{b as t}from"./p-e5e644b3.js";import{O as l}from"./p-946c70b7.js";import{h as a}from"./p-6d8b4027.js";import{t as s}from"./p-fcdad94f.js";import{G as n,a as d}from"./p-56b18d28.js";import{G as f,a as p}from"./p-bd1d4fac.js";import{g as u,v as g}from"./p-4aaf349e.js";import{p as h}from"./p-a11d5d42.js";import{a as c,o as x,b}from"./p-6b12dd16.js";import{s as m}from"./p-2c25e2f2.js";import"./p-4202e9f2.js";import"./p-0934300e.js";import"./p-8eaf8caf.js";const v={uploadFile:"Upload file",uploadFiles:"Upload files",changeFile:"Change file",changeFiles:"Change files",clickToUpload:"Click to upload",dragAndDropFileInstructions:"Drag and drop a file here or",dragAndDropFilesInstructions:"Drag and drop files here or"};const y=class{constructor(o){e(this,o),this.indicatorMark="required",this.dragAndDrop=!1,this.disabled=!1,this.hasError=!1,this.hasHelp=!1,this.required=!1,this.multiple=!1}onMutation(){this.labelInfo=this.root.querySelector("[slot=label-info]"),this.hasError=a(this.root,"error"),this.hasHelp=a(this.root,"help")}handleKeyup(e){var o,i;"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===(i=this.labelInfo)||void 0===i||i.hideTooltip(),clearTimeout(this.hideLabelInfoTimeout))}onFocusout(){var e;null===(e=this.labelInfo)||void 0===e||e.hideTooltip(),clearTimeout(this.hideLabelInfoTimeout)}onGuxRemoveFile(e){this.removeFile(e.detail)}async componentWillLoad(){this.getI18nValue=await t(this.root,v),this.setInput(),this.hasError=a(this.root,"error"),this.hasHelp=a(this.root,"help"),this.labelInfo=this.root.querySelector("[slot=label-info]"),s(this.root)}disconnectedCallback(){var e,o,i;null===(e=this.disabledObserver)||void 0===e||e.disconnect(),null===(o=this.requiredObserver)||void 0===o||o.disconnect(),null===(i=this.multipleObserver)||void 0===i||i.disconnect()}render(){return o(p,{key:"d6cd4823100ca775ddd66079da9825e9dcf6c41c",labelPosition:"above"},o(f,{key:"c35ca22f59ce27c225b92d14002418fbe600fd69",position:"above",required:this.required},o("slot",{key:"b19f3e2baacb6d03212926d9f3383c2dd6e75060",name:"label"}),o("gux-form-field-label-indicator",{key:"baf3c024b9dc7bba0a2ad8ef697a9d0928efdca5",variant:this.indicatorMark,required:this.required}),o("slot",{key:"0cb36f65dc3460538daac6bbf62f0edf99e39bd9",name:"label-info"})),o("div",{key:"8f68e0239d124e802752800c054d867508175181",class:"gux-input-and-error-container"},o(n,{key:"3f512ba19d68ec08e72b3f1ab994c0246f15b762",show:this.hasHelp},o("slot",{key:"3e663f6a7094935eb03ee6a69410190bb0d50a63",name:"help"})),this.renderInputSlot(),o(d,{key:"4d9dd6596e57c32a4e2f86da8684c59b6a72ef69",show:this.hasError},o("slot",{key:"dbdbac3f00d3764d9b0bdf70394ba96e4d79cdbe",name:"error"})),this.renderFileList()))}setInput(){this.input=u(this.root,'input[type="file"][slot="input"]'),this.input.addEventListener("input",(()=>{i(this.root)})),h(this.input),this.disabled=this.input.disabled,this.required=this.input.required,this.multiple=this.input.multiple,this.disabledObserver=c(this.input,(e=>{this.disabled=e})),this.requiredObserver=x(this.input,(e=>{this.required=e})),this.multipleObserver=b(this.input,(e=>{this.multiple=e})),g(this.root,this.input)}getDropZoneText(){return this.getI18nValue(this.multiple?"dragAndDropFilesInstructions":"dragAndDropFileInstructions")}getProxyButtonText(){return this.getI18nValue(this.dragAndDrop?"clickToUpload":this.multiple?this.input.files.length>0?"changeFiles":"uploadFiles":this.input.files.length>0?"changeFile":"uploadFile")}removeFile(e){const o=this.input.files,i=new DataTransfer;for(let r=0;r<o.length;r++)e!==r&&i.items.add(o[r]);this.modifyInputFiles(i.files)}modifyInputFiles(e){this.input.files=e,m(this.root,"input"),m(this.root,"change"),i(this.root)}onProxyFileButtonClick(e){e.preventDefault(),e.stopImmediatePropagation(),this.input.focus(),this.input.click()}onDrop(e){if(e.preventDefault(),e.stopPropagation(),this.disabled)return;const o=this.input.files,i=e.dataTransfer.items,r=new DataTransfer;if(this.multiple)for(let e=0;e<o.length;e++)r.items.add(o[e]);for(let e=0;e<i.length;e++){const o=i[e];if("file"===o.kind&&o.webkitGetAsEntry().isFile&&(r.items.add(o.getAsFile()),!this.multiple))break}this.dropContainer.classList.remove("gux-drag-over"),this.modifyInputFiles(r.files)}onDragOver(e){e.preventDefault(),e.stopPropagation(),this.disabled||this.dropContainer.classList.add("gux-drag-over")}onDragLeave(e){e.preventDefault(),e.stopPropagation(),this.dropContainer.classList.remove("gux-drag-over")}renderFileList(){const e=Array.from(this.input.files||(new DataTransfer).files);return 0===e.length?null:o("div",{class:"gux-file-list"},e.map(((e,i)=>o("slot",{name:`file-${i}`},o("gux-file-list-item",{name:e.name,index:i,disabled:this.disabled})))))}renderInputSlot(){return o("div",{ref:e=>this.dropContainer=e,class:{"gux-drop-container":!0,"gux-drop-zone":this.dragAndDrop,"gux-disabled":this.disabled},onDrop:e=>this.onDrop(e),onDragOver:e=>this.onDragOver(e),onDragEnter:e=>this.onDragOver(e),onDragLeave:e=>this.onDragLeave(e)},this.dragAndDrop&&o("div",{class:"gux-drag-and-drop-text"},this.getDropZoneText()),o("div",{class:"gux-proxy-button"},o("gux-button-slot",{accent:"tertiary"},o("button",{tabIndex:-1,type:"button",disabled:this.disabled,onClick:e=>this.onProxyFileButtonClick(e)},o("div",null,this.getProxyButtonText()))),o("div",{class:"gux-offscreen"},o("slot",{name:"input",onSlotchange:()=>this.setInput()}))))}get root(){return r(this)}};(function(e,o,i,r){var t,l=arguments.length,a=l<3?o:null===r?r=Object.getOwnPropertyDescriptor(o,i):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(e,o,i,r);else for(var s=e.length-1;s>=0;s--)(t=e[s])&&(a=(l<3?t(a):l>3?t(o,i,a):t(o,i))||a);l>3&&a&&Object.defineProperty(o,i,a)})([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;padding:var(--gse-ui-formControl-helper-errorPadding);font-family:var(--gse-ui-formControl-helper-helperText-fontFamily);font-size:var(--gse-ui-formControl-helper-helperText-fontSize);line-height:var(--gse-ui-formControl-helper-helperText-lineHeight);color:var(--gse-ui-formControl-helper-errorColor)}.gux-form-field-error.gux-show{display:flex}.gux-form-field-error gux-icon{flex:0 1 auto;order:0;color:var(--gse-ui-formControl-helper-errorColor)}.gux-form-field-error .gux-message{flex:0 1 auto;align-self:auto;order:0}.gux-form-field-label{display:inline-flex;flex:1 0 auto}.gux-form-field-label ::slotted(gux-label-info-beta){padding-inline-start:var(--gse-ui-formControl-formField-gap)}.gux-form-field-label.gux-beside{position:relative;inset-block-start:var(--gse-ui-formControl-input-top);inline-size:fit-content;min-inline-size:var(--gse-ui-formControl-input-textfield-minWidth);max-inline-size:fit-content;margin-inline-end:var(--gse-ui-formControl-group-gapItems)}.gux-form-field-label.gux-above{padding-block-end:var(--gse-ui-formControl-formField-gap)}.gux-form-field-label.gux-screenreader{position:absolute;top:auto;left:-10000px;width:1px;height:1px;overflow:hidden}.gux-form-field-help{display:none;flex-direction:row;flex-wrap:nowrap;place-content:stretch flex-start;align-items:flex-start;justify-content:flex-start;padding-block-start:var(--gse-ui-formControl-formField-gap);font-family:var(--gse-ui-formControl-helper-helperText-fontFamily);font-size:var(--gse-ui-formControl-helper-helperText-fontSize);line-height:var(--gse-ui-formControl-helper-helperText-lineHeight);color:var(--gse-ui-formControl-helper-defaultColor)}.gux-form-field-help.gux-show{display:flex}.gux-form-field-help .gux-message{flex:0 1 auto;align-self:none;order:0}:host{display:block}::slotted(label){font-family:var(--gse-ui-formControl-label-textBold-fontFamily);font-size:var(--gse-ui-formControl-label-textBold-fontSize);font-weight:var(--gse-ui-formControl-label-textBold-fontWeight);line-height:var(--gse-ui-formControl-label-textBold-lineHeight);color:var(--gse-ui-formControl-label-labelColor)}.gux-input-and-error-container{display:flex;flex-grow:1;flex-direction:column;gap:var(--gse-ui-fileUpload-mainContainer-gap)}.gux-drop-container{box-sizing:border-box;display:flex;flex-direction:column;flex-wrap:nowrap;gap:var(--gse-ui-fileUpload-dragDrop-btnText-gap);margin-inline:0;font-family:var(--gse-ui-fileUpload-dragAndDrop-dropZone-text-fontFamily);font-size:var(--gse-ui-fileUpload-dragAndDrop-dropZone-text-fontSize);font-weight:var(--gse-ui-fileUpload-dragAndDrop-dropZone-text-fontWeight);line-height:var(--gse-ui-fileUpload-dragAndDrop-dropZone-text-lineHeight);color:var(--gse-ui-fileUpload-dragAndDrop-dropZoneText-color)}.gux-drop-container.gux-drop-zone{place-content:stretch center;align-items:center;min-block-size:var(--gse-ui-fileUpload-dragAndDrop-dropZone-minHeight);padding:20px;border:var(--gse-ui-fileUpload-dragAndDrop-dropZone-default-border-width) var(--gse-ui-fileUpload-dragAndDrop-dropZone-default-border-style) var(--gse-ui-fileUpload-dragAndDrop-dropZone-default-border-color);border-radius:var(--gse-ui-fileUpload-dropZone-borderRadius)}.gux-drop-container.gux-drop-zone.gux-drag-over:not(.gux-disabled){background-color:var(--gse-ui-fileUpload-dragAndDrop-dropZone-background-active);border:var(--gse-ui-fileUpload-dragAndDrop-dropZone-active-border-width) var(--gse-ui-fileUpload-dragAndDrop-dropZone-active-border-style) var(--gse-ui-fileUpload-dragAndDrop-dropZone-active-border-color)}.gux-drop-container.gux-drop-zone.gux-disabled{border-color:rgba(0, 0, 64, 0.2509803922)}.gux-drop-container.gux-drop-zone.gux-disabled .gux-drag-and-drop-text{opacity:0.5}.gux-offscreen{position:absolute;top:auto;left:-10000px;width:1px;height:1px;overflow:hidden}.gux-proxy-button{inline-size:fit-content;border-radius:var(--gse-ui-button-borderRadius)}.gux-proxy-button:focus-within{outline:var(--gse-semantic-focusOutline-md-borderWidth) solid var(--gse-semantic-border-focus);outline-offset:var(--gse-semantic-focusOutline-offset)}.gux-file-list{display:flex;flex-direction:column;gap:var(--gse-ui-fileUpload-fileCard-cardGroup-gap);inline-size:100%}";export{y as gux_form_field_file_beta}
1
+ import{r as e,h as o,f as i,g as r}from"./p-cf74fd3d.js";import{b as t}from"./p-e5e644b3.js";import{O as l}from"./p-946c70b7.js";import{h as a}from"./p-6d8b4027.js";import{t as s}from"./p-6ec0040f.js";import{G as n,a as d}from"./p-56b18d28.js";import{G as f,a as p}from"./p-bd1d4fac.js";import{g as u,v as g}from"./p-4aaf349e.js";import{p as h}from"./p-a11d5d42.js";import{a as c,o as x,b}from"./p-6b12dd16.js";import{s as m}from"./p-2c25e2f2.js";import"./p-4202e9f2.js";import"./p-0934300e.js";import"./p-8eaf8caf.js";const v={uploadFile:"Upload file",uploadFiles:"Upload files",changeFile:"Change file",changeFiles:"Change files",clickToUpload:"Click to upload",dragAndDropFileInstructions:"Drag and drop a file here or",dragAndDropFilesInstructions:"Drag and drop files here or"};const y=class{constructor(o){e(this,o),this.indicatorMark="required",this.dragAndDrop=!1,this.disabled=!1,this.hasError=!1,this.hasHelp=!1,this.required=!1,this.multiple=!1}onMutation(){this.labelInfo=this.root.querySelector("[slot=label-info]"),this.hasError=a(this.root,"error"),this.hasHelp=a(this.root,"help")}handleKeyup(e){var o,i;"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===(i=this.labelInfo)||void 0===i||i.hideTooltip(),clearTimeout(this.hideLabelInfoTimeout))}onFocusout(){var e;null===(e=this.labelInfo)||void 0===e||e.hideTooltip(),clearTimeout(this.hideLabelInfoTimeout)}onGuxRemoveFile(e){this.removeFile(e.detail)}async componentWillLoad(){this.getI18nValue=await t(this.root,v),this.setInput(),this.hasError=a(this.root,"error"),this.hasHelp=a(this.root,"help"),this.labelInfo=this.root.querySelector("[slot=label-info]"),s(this.root)}disconnectedCallback(){var e,o,i;null===(e=this.disabledObserver)||void 0===e||e.disconnect(),null===(o=this.requiredObserver)||void 0===o||o.disconnect(),null===(i=this.multipleObserver)||void 0===i||i.disconnect()}render(){return o(p,{key:"d6cd4823100ca775ddd66079da9825e9dcf6c41c",labelPosition:"above"},o(f,{key:"c35ca22f59ce27c225b92d14002418fbe600fd69",position:"above",required:this.required},o("slot",{key:"b19f3e2baacb6d03212926d9f3383c2dd6e75060",name:"label"}),o("gux-form-field-label-indicator",{key:"baf3c024b9dc7bba0a2ad8ef697a9d0928efdca5",variant:this.indicatorMark,required:this.required}),o("slot",{key:"0cb36f65dc3460538daac6bbf62f0edf99e39bd9",name:"label-info"})),o("div",{key:"8f68e0239d124e802752800c054d867508175181",class:"gux-input-and-error-container"},o(n,{key:"3f512ba19d68ec08e72b3f1ab994c0246f15b762",show:this.hasHelp},o("slot",{key:"3e663f6a7094935eb03ee6a69410190bb0d50a63",name:"help"})),this.renderInputSlot(),o(d,{key:"4d9dd6596e57c32a4e2f86da8684c59b6a72ef69",show:this.hasError},o("slot",{key:"dbdbac3f00d3764d9b0bdf70394ba96e4d79cdbe",name:"error"})),this.renderFileList()))}setInput(){this.input=u(this.root,'input[type="file"][slot="input"]'),this.input.addEventListener("input",(()=>{i(this.root)})),h(this.input),this.disabled=this.input.disabled,this.required=this.input.required,this.multiple=this.input.multiple,this.disabledObserver=c(this.input,(e=>{this.disabled=e})),this.requiredObserver=x(this.input,(e=>{this.required=e})),this.multipleObserver=b(this.input,(e=>{this.multiple=e})),g(this.root,this.input)}getDropZoneText(){return this.getI18nValue(this.multiple?"dragAndDropFilesInstructions":"dragAndDropFileInstructions")}getProxyButtonText(){return this.getI18nValue(this.dragAndDrop?"clickToUpload":this.multiple?this.input.files.length>0?"changeFiles":"uploadFiles":this.input.files.length>0?"changeFile":"uploadFile")}removeFile(e){const o=this.input.files,i=new DataTransfer;for(let r=0;r<o.length;r++)e!==r&&i.items.add(o[r]);this.modifyInputFiles(i.files)}modifyInputFiles(e){this.input.files=e,m(this.root,"input"),m(this.root,"change"),i(this.root)}onProxyFileButtonClick(e){e.preventDefault(),e.stopImmediatePropagation(),this.input.focus(),this.input.click()}onDrop(e){if(e.preventDefault(),e.stopPropagation(),this.disabled)return;const o=this.input.files,i=e.dataTransfer.items,r=new DataTransfer;if(this.multiple)for(let e=0;e<o.length;e++)r.items.add(o[e]);for(let e=0;e<i.length;e++){const o=i[e];if("file"===o.kind&&o.webkitGetAsEntry().isFile&&(r.items.add(o.getAsFile()),!this.multiple))break}this.dropContainer.classList.remove("gux-drag-over"),this.modifyInputFiles(r.files)}onDragOver(e){e.preventDefault(),e.stopPropagation(),this.disabled||this.dropContainer.classList.add("gux-drag-over")}onDragLeave(e){e.preventDefault(),e.stopPropagation(),this.dropContainer.classList.remove("gux-drag-over")}renderFileList(){const e=Array.from(this.input.files||(new DataTransfer).files);return 0===e.length?null:o("div",{class:"gux-file-list"},e.map(((e,i)=>o("slot",{name:`file-${i}`},o("gux-file-list-item",{name:e.name,index:i,disabled:this.disabled})))))}renderInputSlot(){return o("div",{ref:e=>this.dropContainer=e,class:{"gux-drop-container":!0,"gux-drop-zone":this.dragAndDrop,"gux-disabled":this.disabled},onDrop:e=>this.onDrop(e),onDragOver:e=>this.onDragOver(e),onDragEnter:e=>this.onDragOver(e),onDragLeave:e=>this.onDragLeave(e)},this.dragAndDrop&&o("div",{class:"gux-drag-and-drop-text"},this.getDropZoneText()),o("div",{class:"gux-proxy-button"},o("gux-button-slot",{accent:"tertiary"},o("button",{tabIndex:-1,type:"button",disabled:this.disabled,onClick:e=>this.onProxyFileButtonClick(e)},o("div",null,this.getProxyButtonText()))),o("div",{class:"gux-offscreen"},o("slot",{name:"input",onSlotchange:()=>this.setInput()}))))}get root(){return r(this)}};(function(e,o,i,r){var t,l=arguments.length,a=l<3?o:null===r?r=Object.getOwnPropertyDescriptor(o,i):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(e,o,i,r);else for(var s=e.length-1;s>=0;s--)(t=e[s])&&(a=(l<3?t(a):l>3?t(o,i,a):t(o,i))||a);l>3&&a&&Object.defineProperty(o,i,a)})([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;padding:var(--gse-ui-formControl-helper-errorPadding);font-family:var(--gse-ui-formControl-helper-helperText-fontFamily);font-size:var(--gse-ui-formControl-helper-helperText-fontSize);line-height:var(--gse-ui-formControl-helper-helperText-lineHeight);color:var(--gse-ui-formControl-helper-errorColor)}.gux-form-field-error.gux-show{display:flex}.gux-form-field-error gux-icon{flex:0 1 auto;order:0;color:var(--gse-ui-formControl-helper-errorColor)}.gux-form-field-error .gux-message{flex:0 1 auto;align-self:auto;order:0}.gux-form-field-label{display:inline-flex;flex:1 0 auto}.gux-form-field-label ::slotted(gux-label-info-beta){padding-inline-start:var(--gse-ui-formControl-formField-gap)}.gux-form-field-label.gux-beside{position:relative;inset-block-start:var(--gse-ui-formControl-input-top);inline-size:fit-content;min-inline-size:var(--gse-ui-formControl-input-textfield-minWidth);max-inline-size:fit-content;margin-inline-end:var(--gse-ui-formControl-group-gapItems)}.gux-form-field-label.gux-above{padding-block-end:var(--gse-ui-formControl-formField-gap)}.gux-form-field-label.gux-screenreader{position:absolute;top:auto;left:-10000px;width:1px;height:1px;overflow:hidden}.gux-form-field-help{display:none;flex-direction:row;flex-wrap:nowrap;place-content:stretch flex-start;align-items:flex-start;justify-content:flex-start;padding-block-start:var(--gse-ui-formControl-formField-gap);font-family:var(--gse-ui-formControl-helper-helperText-fontFamily);font-size:var(--gse-ui-formControl-helper-helperText-fontSize);line-height:var(--gse-ui-formControl-helper-helperText-lineHeight);color:var(--gse-ui-formControl-helper-defaultColor)}.gux-form-field-help.gux-show{display:flex}.gux-form-field-help .gux-message{flex:0 1 auto;align-self:none;order:0}:host{display:block}::slotted(label){font-family:var(--gse-ui-formControl-label-textBold-fontFamily);font-size:var(--gse-ui-formControl-label-textBold-fontSize);font-weight:var(--gse-ui-formControl-label-textBold-fontWeight);line-height:var(--gse-ui-formControl-label-textBold-lineHeight);color:var(--gse-ui-formControl-label-labelColor)}.gux-input-and-error-container{display:flex;flex-grow:1;flex-direction:column;gap:var(--gse-ui-fileUpload-mainContainer-gap)}.gux-drop-container{box-sizing:border-box;display:flex;flex-direction:column;flex-wrap:nowrap;gap:var(--gse-ui-fileUpload-dragDrop-btnText-gap);margin-inline:0;font-family:var(--gse-ui-fileUpload-dragAndDrop-dropZone-text-fontFamily);font-size:var(--gse-ui-fileUpload-dragAndDrop-dropZone-text-fontSize);font-weight:var(--gse-ui-fileUpload-dragAndDrop-dropZone-text-fontWeight);line-height:var(--gse-ui-fileUpload-dragAndDrop-dropZone-text-lineHeight);color:var(--gse-ui-fileUpload-dragAndDrop-dropZoneText-color)}.gux-drop-container.gux-drop-zone{place-content:stretch center;align-items:center;min-block-size:var(--gse-ui-fileUpload-dragAndDrop-dropZone-minHeight);padding:20px;border:var(--gse-ui-fileUpload-dragAndDrop-dropZone-default-border-width) var(--gse-ui-fileUpload-dragAndDrop-dropZone-default-border-style) var(--gse-ui-fileUpload-dragAndDrop-dropZone-default-border-color);border-radius:var(--gse-ui-fileUpload-dropZone-borderRadius)}.gux-drop-container.gux-drop-zone.gux-drag-over:not(.gux-disabled){background-color:var(--gse-ui-fileUpload-dragAndDrop-dropZone-background-active);border:var(--gse-ui-fileUpload-dragAndDrop-dropZone-active-border-width) var(--gse-ui-fileUpload-dragAndDrop-dropZone-active-border-style) var(--gse-ui-fileUpload-dragAndDrop-dropZone-active-border-color)}.gux-drop-container.gux-drop-zone.gux-disabled{border-color:rgba(0, 0, 64, 0.2509803922)}.gux-drop-container.gux-drop-zone.gux-disabled .gux-drag-and-drop-text{opacity:0.5}.gux-offscreen{position:absolute;top:auto;left:-10000px;width:1px;height:1px;overflow:hidden}.gux-proxy-button{inline-size:fit-content;border-radius:var(--gse-ui-button-borderRadius)}.gux-proxy-button:focus-within{outline:var(--gse-semantic-focusOutline-md-borderWidth) solid var(--gse-semantic-border-focus);outline-offset:var(--gse-semantic-focusOutline-offset)}.gux-file-list{display:flex;flex-direction:column;gap:var(--gse-ui-fileUpload-fileCard-cardGroup-gap);inline-size:100%}";export{y as gux_form_field_file_beta}
@@ -1 +1 @@
1
- import{r as e,f as o,h as t,g as r}from"./p-cf74fd3d.js";import{c as i,o as n}from"./p-f4751a15.js";import{O as l}from"./p-946c70b7.js";import{o as a}from"./p-6b12dd16.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-56b18d28.js";import{G as c,a as p}from"./p-bd1d4fac.js";import{h as g,c as h,g as m,v as b,a as x}from"./p-4aaf349e.js";import{t as v}from"./p-fcdad94f.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.indicatorMark="required",this.computedLabelPosition="above",this.clearable=!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=g(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(p,{key:"a74e52145e3730e81a2fc9809f6b91caab36f95d",labelPosition:this.computedLabelPosition},t(c,{key:"4ca03c5135a5f0caff983e89c1be29e140b63dbb",required:this.required,position:this.computedLabelPosition},t("slot",{key:"143a6c904688b0bcdf6bf904cbe9689a0d7893c2",name:"label",onSlotchange:()=>this.setLabel()}),t("gux-form-field-label-indicator",{key:"cd0e5d753d09fb2b129add014a878c7407ff9216",variant:this.indicatorMark,required:this.required}),t("slot",{key:"b647dd68be49b0d54e49c0c88b9ac484dca8b615",name:"label-info"})),t("div",{key:"7f1fec79684afa6943489451d2a02e578e4317bf",class:"gux-input-and-error-container"},t("div",{key:"9080ac7a90dc51ccd4461f3e20058f93e605bcec",class:{"gux-input":!0,"gux-input-error":this.hasError}},t("div",{key:"c4a3823de7f3e5e6171c48b7a0b8860379eb70fa",class:{"gux-input-container":!0,"gux-disabled":this.disabled},onClick:()=>C(this.input)},t("gux-icon",{key:"c751e178a2df12fbb1450c8e634c8ddfc88529ea","icon-name":"fa/magnifying-glass-regular",decorative:!0,size:"small"}),t("slot",{key:"4c9789b11d5ce5da90e6bf16e0de694878f1b093",name:"input"}),this.clearable&&this.hasContent&&!this.disabled&&t("gux-form-field-input-clear-button",{key:"11e2f54cc02572395b5c23b9e3e6d7382756171a",onClick:()=>h(this.input)}))),t(u,{key:"95affd07be581b62a0d1feb8f6f6066b90b32214",show:this.hasError},t("slot",{key:"521c6e8eac641c4c6cae8fd1eae8c2842078d509",name:"error"})),t(d,{key:"3fc1bdb3cad4e36bc7852d31164acf67b70ad513",show:!this.hasError&&this.hasHelp},t("slot",{key:"7eb1cbf7147edd67c2b87143ab6f2f5d24877669",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=g(this.input),s(this.input),this.input.addEventListener("input",(()=>{this.hasContent=g(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;padding:var(--gse-ui-formControl-helper-errorPadding);font-family:var(--gse-ui-formControl-helper-helperText-fontFamily);font-size:var(--gse-ui-formControl-helper-helperText-fontSize);line-height:var(--gse-ui-formControl-helper-helperText-lineHeight);color:var(--gse-ui-formControl-helper-errorColor)}.gux-form-field-error.gux-show{display:flex}.gux-form-field-error gux-icon{flex:0 1 auto;order:0;color:var(--gse-ui-formControl-helper-errorColor)}.gux-form-field-error .gux-message{flex:0 1 auto;align-self:auto;order:0}.gux-form-field-label{display:inline-flex;flex:1 0 auto}.gux-form-field-label ::slotted(gux-label-info-beta){padding-inline-start:var(--gse-ui-formControl-formField-gap)}.gux-form-field-label.gux-beside{position:relative;inset-block-start:var(--gse-ui-formControl-input-top);inline-size:fit-content;min-inline-size:var(--gse-ui-formControl-input-textfield-minWidth);max-inline-size:fit-content;margin-inline-end:var(--gse-ui-formControl-group-gapItems)}.gux-form-field-label.gux-above{padding-block-end:var(--gse-ui-formControl-formField-gap)}.gux-form-field-label.gux-screenreader{position:absolute;top:auto;left:-10000px;width:1px;height:1px;overflow:hidden}.gux-form-field-help{display:none;flex-direction:row;flex-wrap:nowrap;place-content:stretch flex-start;align-items:flex-start;justify-content:flex-start;padding-block-start:var(--gse-ui-formControl-formField-gap);font-family:var(--gse-ui-formControl-helper-helperText-fontFamily);font-size:var(--gse-ui-formControl-helper-helperText-fontSize);line-height:var(--gse-ui-formControl-helper-helperText-lineHeight);color:var(--gse-ui-formControl-helper-defaultColor)}.gux-form-field-help.gux-show{display:flex}.gux-form-field-help .gux-message{flex:0 1 auto;align-self:none;order:0}:host{display:block}::slotted(label){font-family:var(--gse-ui-formControl-label-textBold-fontFamily);font-size:var(--gse-ui-formControl-label-textBold-fontSize);font-weight:var(--gse-ui-formControl-label-textBold-fontWeight);line-height:var(--gse-ui-formControl-label-textBold-lineHeight);color:var(--gse-ui-formControl-label-labelColor)}::slotted(input){flex:1 1 auto;align-self:auto;order:0;inline-size:100%;overflow:hidden;text-overflow:ellipsis;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);outline:none;background-color:var(--gse-ui-formControl-input-backgroundColor);border: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;inline-size:100%;block-size: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="fa/magnifying-glass-regular"]{flex:0 0 auto;align-self:auto;order:0;color:var(--gse-ui-formControl-input-inputIcon-defaultColor)}.gux-input-and-error-container .gux-input .gux-input-container:focus-within{outline:var(--gse-ui-formControl-input-focus-border-width) var(--gse-ui-formControl-input-focus-border-style) var(--gse-ui-formControl-input-focus-border-color);outline-offset:var(--gse-semantic-focusOutline-offset);border:var(--gse-ui-formControl-input-active-border-width) var(--gse-ui-formControl-input-active-border-style) var(--gse-ui-formControl-input-active-border-color);border-radius:var(--gse-ui-formControl-focusRing-borderRadius)}.gux-input-and-error-container .gux-input .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
+ import{r as e,f as o,h as t,g as r}from"./p-cf74fd3d.js";import{c as i,o as n}from"./p-f4751a15.js";import{O as l}from"./p-946c70b7.js";import{o as a}from"./p-6b12dd16.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-56b18d28.js";import{G as c,a as p}from"./p-bd1d4fac.js";import{h as g,c as h,g as m,v as b,a as x}from"./p-4aaf349e.js";import{t as v}from"./p-6ec0040f.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.indicatorMark="required",this.computedLabelPosition="above",this.clearable=!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=g(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(p,{key:"a74e52145e3730e81a2fc9809f6b91caab36f95d",labelPosition:this.computedLabelPosition},t(c,{key:"4ca03c5135a5f0caff983e89c1be29e140b63dbb",required:this.required,position:this.computedLabelPosition},t("slot",{key:"143a6c904688b0bcdf6bf904cbe9689a0d7893c2",name:"label",onSlotchange:()=>this.setLabel()}),t("gux-form-field-label-indicator",{key:"cd0e5d753d09fb2b129add014a878c7407ff9216",variant:this.indicatorMark,required:this.required}),t("slot",{key:"b647dd68be49b0d54e49c0c88b9ac484dca8b615",name:"label-info"})),t("div",{key:"7f1fec79684afa6943489451d2a02e578e4317bf",class:"gux-input-and-error-container"},t("div",{key:"9080ac7a90dc51ccd4461f3e20058f93e605bcec",class:{"gux-input":!0,"gux-input-error":this.hasError}},t("div",{key:"c4a3823de7f3e5e6171c48b7a0b8860379eb70fa",class:{"gux-input-container":!0,"gux-disabled":this.disabled},onClick:()=>C(this.input)},t("gux-icon",{key:"c751e178a2df12fbb1450c8e634c8ddfc88529ea","icon-name":"fa/magnifying-glass-regular",decorative:!0,size:"small"}),t("slot",{key:"4c9789b11d5ce5da90e6bf16e0de694878f1b093",name:"input"}),this.clearable&&this.hasContent&&!this.disabled&&t("gux-form-field-input-clear-button",{key:"11e2f54cc02572395b5c23b9e3e6d7382756171a",onClick:()=>h(this.input)}))),t(u,{key:"95affd07be581b62a0d1feb8f6f6066b90b32214",show:this.hasError},t("slot",{key:"521c6e8eac641c4c6cae8fd1eae8c2842078d509",name:"error"})),t(d,{key:"3fc1bdb3cad4e36bc7852d31164acf67b70ad513",show:!this.hasError&&this.hasHelp},t("slot",{key:"7eb1cbf7147edd67c2b87143ab6f2f5d24877669",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=g(this.input),s(this.input),this.input.addEventListener("input",(()=>{this.hasContent=g(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;padding:var(--gse-ui-formControl-helper-errorPadding);font-family:var(--gse-ui-formControl-helper-helperText-fontFamily);font-size:var(--gse-ui-formControl-helper-helperText-fontSize);line-height:var(--gse-ui-formControl-helper-helperText-lineHeight);color:var(--gse-ui-formControl-helper-errorColor)}.gux-form-field-error.gux-show{display:flex}.gux-form-field-error gux-icon{flex:0 1 auto;order:0;color:var(--gse-ui-formControl-helper-errorColor)}.gux-form-field-error .gux-message{flex:0 1 auto;align-self:auto;order:0}.gux-form-field-label{display:inline-flex;flex:1 0 auto}.gux-form-field-label ::slotted(gux-label-info-beta){padding-inline-start:var(--gse-ui-formControl-formField-gap)}.gux-form-field-label.gux-beside{position:relative;inset-block-start:var(--gse-ui-formControl-input-top);inline-size:fit-content;min-inline-size:var(--gse-ui-formControl-input-textfield-minWidth);max-inline-size:fit-content;margin-inline-end:var(--gse-ui-formControl-group-gapItems)}.gux-form-field-label.gux-above{padding-block-end:var(--gse-ui-formControl-formField-gap)}.gux-form-field-label.gux-screenreader{position:absolute;top:auto;left:-10000px;width:1px;height:1px;overflow:hidden}.gux-form-field-help{display:none;flex-direction:row;flex-wrap:nowrap;place-content:stretch flex-start;align-items:flex-start;justify-content:flex-start;padding-block-start:var(--gse-ui-formControl-formField-gap);font-family:var(--gse-ui-formControl-helper-helperText-fontFamily);font-size:var(--gse-ui-formControl-helper-helperText-fontSize);line-height:var(--gse-ui-formControl-helper-helperText-lineHeight);color:var(--gse-ui-formControl-helper-defaultColor)}.gux-form-field-help.gux-show{display:flex}.gux-form-field-help .gux-message{flex:0 1 auto;align-self:none;order:0}:host{display:block}::slotted(label){font-family:var(--gse-ui-formControl-label-textBold-fontFamily);font-size:var(--gse-ui-formControl-label-textBold-fontSize);font-weight:var(--gse-ui-formControl-label-textBold-fontWeight);line-height:var(--gse-ui-formControl-label-textBold-lineHeight);color:var(--gse-ui-formControl-label-labelColor)}::slotted(input){flex:1 1 auto;align-self:auto;order:0;inline-size:100%;overflow:hidden;text-overflow:ellipsis;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);outline:none;background-color:var(--gse-ui-formControl-input-backgroundColor);border: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;inline-size:100%;block-size: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="fa/magnifying-glass-regular"]{flex:0 0 auto;align-self:auto;order:0;color:var(--gse-ui-formControl-input-inputIcon-defaultColor)}.gux-input-and-error-container .gux-input .gux-input-container:focus-within{outline:var(--gse-ui-formControl-input-focus-border-width) var(--gse-ui-formControl-input-focus-border-style) var(--gse-ui-formControl-input-focus-border-color);outline-offset:var(--gse-semantic-focusOutline-offset);border:var(--gse-ui-formControl-input-active-border-width) var(--gse-ui-formControl-input-active-border-style) var(--gse-ui-formControl-input-active-border-color);border-radius:var(--gse-ui-formControl-focusRing-borderRadius)}.gux-input-and-error-container .gux-input .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 t,H as s,g as o}from"./p-cf74fd3d.js";import{t as i}from"./p-fcdad94f.js";import{O as a}from"./p-f3d844c7.js";import{b as r}from"./p-e5e644b3.js";import{b as n}from"./p-cf0e7d3b.js";import"./p-4202e9f2.js";const c={additionalActions:"Additional Actions"};const d=class{constructor(t){e(this,t),this.expanded=!1}handleKeyDown(e){const t=e.composedPath();switch(e.key){case"Escape":this.expanded=!1,t.includes(this.listElement)&&(e.preventDefault(),this.dropdownButton.focus());break;case"Tab":this.expanded=!1;break;case"ArrowDown":case"Enter":t.includes(this.dropdownButton)&&(e.preventDefault(),this.expanded=!0,this.focusFirstItemInPopupList())}}handleKeyup(e){if(" "===e.key)e.composedPath().includes(this.dropdownButton)&&(this.expanded=!0,this.focusFirstItemInPopupList())}toggle(){this.expanded=!this.expanded,this.expanded&&this.focusPopupList()}onClickOutside(){this.expanded=!1}focusPopupList(){n((()=>{this.listElement.focus()}))}focusFirstItemInPopupList(){n((()=>{this.listElement.guxFocusFirstItem()}))}renderTooltip(){if(!this.expanded)return t("gux-tooltip-beta",null,t("div",{slot:"content"},this.i18n("additionalActions")))}async componentWillLoad(){this.i18n=await r(this.root,c),i(this.root)}render(){return t(s,{key:"6c806b651443caec93e7ec690a2ca80d2ed06b50",class:{"gux-show-menu":this.showMenu}},t("gux-popup",{key:"e2623d24f57b2ccbaf811ed588b63610fa171805",expanded:this.expanded,"exceed-target-width":!0},t("div",{key:"63e7430a934c25ee1334504eb5ff86d59e263637",slot:"target",class:"gux-toolbar-menu-container"},t("gux-button-slot",{key:"d6321d4f860ef371c70c77743565426ae11e3b6c",accent:"secondary"},t("button",{key:"3120ea93042f5199b3198f6de1cffe037c506a90",class:"gux-menu-button",type:"button",ref:e=>this.dropdownButton=e,onMouseUp:()=>this.toggle(),"aria-haspopup":"true","aria-expanded":this.expanded.toString()},t("gux-icon",{key:"753a2999547783dd92559f572ffae6dfba402047","icon-name":"fa/ellipsis-regular",size:"small",decorative:!0}),t("gux-screen-reader-beta",{key:"2cdb1133dc8e82f1c2c890e9fefbb1d7314a6c1f"},this.i18n("additionalActions"))),this.renderTooltip())),t("div",{key:"2c9329e2da6d6144361225b8566877d9a6ff7aac",class:"gux-list-container",slot:"popup"},t("gux-list",{key:"d980378020d16e499bad5310eba6b45b3da2ba55",ref:e=>this.listElement=e},t("slot",{key:"e42992fca9056b3896c1c25b9937462f5c990759"})))))}static get delegatesFocus(){return!0}get root(){return o(this)}};(function(e,t,s,o){var i,a=arguments.length,r=a<3?t:null===o?o=Object.getOwnPropertyDescriptor(t,s):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)r=Reflect.decorate(e,t,s,o);else for(var n=e.length-1;n>=0;n--)(i=e[n])&&(r=(a<3?i(r):a>3?i(t,s,r):i(t,s))||r);a>3&&r&&Object.defineProperty(t,s,r)})([a({triggerEvents:"mousedown"})],d.prototype,"onClickOutside",null),d.style=":host{display:none;-webkit-user-select:none;user-select:none}:host(.gux-show-menu){display:block}.gux-menu-button{display:flex;color:var(--gse-ui-button-secondary-default-foregroundColor);cursor:pointer;border:none}.gux-menu-button gux-icon{align-self:center}.gux-list-container{inline-size:min-content;margin:0;overflow-y:auto;background:var(--gse-ui-menu-backgroundColor);border-color:var(--gse-ui-menu-border-color);border-style:var(--gse-ui-menu-border-style);border-width:var(--gse-ui-menu-border-width);border-radius:var(--gse-ui-menu-borderRadius);box-shadow:var(--gse-ui-menu-boxShadow)}";export{d as gux_table_toolbar_menu_button}
1
+ import{r as e,h as t,H as s,g as o}from"./p-cf74fd3d.js";import{t as i}from"./p-6ec0040f.js";import{O as a}from"./p-f3d844c7.js";import{b as r}from"./p-e5e644b3.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.expanded=!1}handleKeyDown(e){const t=e.composedPath();switch(e.key){case"Escape":this.expanded=!1,t.includes(this.listElement)&&(e.preventDefault(),this.dropdownButton.focus());break;case"Tab":this.expanded=!1;break;case"ArrowDown":case"Enter":t.includes(this.dropdownButton)&&(e.preventDefault(),this.expanded=!0,this.focusFirstItemInPopupList())}}handleKeyup(e){if(" "===e.key)e.composedPath().includes(this.dropdownButton)&&(this.expanded=!0,this.focusFirstItemInPopupList())}toggle(){this.expanded=!this.expanded,this.expanded&&this.focusPopupList()}onClickOutside(){this.expanded=!1}focusPopupList(){n((()=>{this.listElement.focus()}))}focusFirstItemInPopupList(){n((()=>{this.listElement.guxFocusFirstItem()}))}renderTooltip(){if(!this.expanded)return t("gux-tooltip-beta",null,t("div",{slot:"content"},this.i18n("additionalActions")))}async componentWillLoad(){this.i18n=await r(this.root,c),i(this.root)}render(){return t(s,{key:"6c806b651443caec93e7ec690a2ca80d2ed06b50",class:{"gux-show-menu":this.showMenu}},t("gux-popup",{key:"e2623d24f57b2ccbaf811ed588b63610fa171805",expanded:this.expanded,"exceed-target-width":!0},t("div",{key:"63e7430a934c25ee1334504eb5ff86d59e263637",slot:"target",class:"gux-toolbar-menu-container"},t("gux-button-slot",{key:"d6321d4f860ef371c70c77743565426ae11e3b6c",accent:"secondary"},t("button",{key:"3120ea93042f5199b3198f6de1cffe037c506a90",class:"gux-menu-button",type:"button",ref:e=>this.dropdownButton=e,onMouseUp:()=>this.toggle(),"aria-haspopup":"true","aria-expanded":this.expanded.toString()},t("gux-icon",{key:"753a2999547783dd92559f572ffae6dfba402047","icon-name":"fa/ellipsis-regular",size:"small",decorative:!0}),t("gux-screen-reader-beta",{key:"2cdb1133dc8e82f1c2c890e9fefbb1d7314a6c1f"},this.i18n("additionalActions"))),this.renderTooltip())),t("div",{key:"2c9329e2da6d6144361225b8566877d9a6ff7aac",class:"gux-list-container",slot:"popup"},t("gux-list",{key:"d980378020d16e499bad5310eba6b45b3da2ba55",ref:e=>this.listElement=e},t("slot",{key:"e42992fca9056b3896c1c25b9937462f5c990759"})))))}static get delegatesFocus(){return!0}get root(){return o(this)}};(function(e,t,s,o){var i,a=arguments.length,r=a<3?t:null===o?o=Object.getOwnPropertyDescriptor(t,s):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)r=Reflect.decorate(e,t,s,o);else for(var n=e.length-1;n>=0;n--)(i=e[n])&&(r=(a<3?i(r):a>3?i(t,s,r):i(t,s))||r);a>3&&r&&Object.defineProperty(t,s,r)})([a({triggerEvents:"mousedown"})],u.prototype,"onClickOutside",null),u.style=":host{display:none;-webkit-user-select:none;user-select:none}:host(.gux-show-menu){display:block}.gux-menu-button{display:flex;color:var(--gse-ui-button-secondary-default-foregroundColor);cursor:pointer;border:none}.gux-menu-button gux-icon{align-self:center}.gux-list-container{inline-size:min-content;margin:0;overflow-y:auto;background:var(--gse-ui-menu-backgroundColor);border-color:var(--gse-ui-menu-border-color);border-style:var(--gse-ui-menu-border-style);border-width:var(--gse-ui-menu-border-width);border-radius:var(--gse-ui-menu-borderRadius);box-shadow:var(--gse-ui-menu-boxShadow)}";export{u as gux_table_toolbar_menu_button}
@@ -1 +1 @@
1
- import{r as e,h as i,g as t}from"./p-cf74fd3d.js";import{b as o}from"./p-e5e644b3.js";import{O as r}from"./p-946c70b7.js";import{o as l}from"./p-6b12dd16.js";import{h as s}from"./p-6d8b4027.js";import{a,G as n}from"./p-56b18d28.js";import{G as f,a as h,b as d}from"./p-eca567b9.js";import{g as u}from"./p-0268a3e8.js";import{s as c,b as p,a as g}from"./p-4aaf349e.js";import{t as m}from"./p-fcdad94f.js";import"./p-4202e9f2.js";import"./p-0934300e.js";import"./p-8eaf8caf.js";import"./p-2c25e2f2.js";const b={required:"Required"};const x=class{constructor(i){e(this,i),this.indicatorMark="required",this.computedLabelPosition="above",this.hasError=!1,this.hasHelp=!1,this.hasLabelInfo=!1}watchValue(e){const i=this.root.querySelector("gux-dropdown")||this.root.querySelector("gux-dropdown-multi");i&&(i.hasError=e)}onMutation(){this.labelInfo=this.root.querySelector("[slot=label-info]"),this.hasError=s(this.root,"error"),this.hasHelp=s(this.root,"help")}handleKeyup(e){var i,t;"Tab"===e.key?this.dropdownElement.matches(":focus-within")&&(null===(i=this.labelInfo)||void 0===i||i.showTooltip(),this.hideLabelInfoTimeout=setTimeout((()=>{var e;null===(e=this.labelInfo)||void 0===e||e.hideTooltip()}),6e3)):this.dropdownElement.matches(":focus-within")&&(null===(t=this.labelInfo)||void 0===t||t.hideTooltip(),clearTimeout(this.hideLabelInfoTimeout))}onFocusout(){var e;null===(e=this.labelInfo)||void 0===e||e.hideTooltip(),clearTimeout(this.hideLabelInfoTimeout)}async componentWillLoad(){this.getI18nValue=await o(this.root,b),this.setInput(),this.setLabel(),this.labelInfo=this.root.querySelector("[slot=label-info]"),this.hasError=s(this.root,"error"),this.hasHelp=s(this.root,"help"),this.hasLabelInfo=s(this.root,"label-info"),m(this.root,{variant:this.variant})}disconnectedCallback(){this.requiredObserver&&this.requiredObserver.disconnect()}renderText(e,i=!1){if(i)return" "+e}render(){var e;return i(d,{key:"f2f4e9a8ff7f9e22045a4be75a5d3b41447ae71d",labelPosition:this.computedLabelPosition},i(h,{key:"00ed473cf198a45a2cef8ba110780d2caa71b03f"},null===(e=this.label)||void 0===e?void 0:e.textContent,this.renderText(this.getI18nValue("required"),this.required),this.renderText(u(this.root,"error"),this.hasError),this.renderText(u(this.root,"help"),this.hasHelp),this.renderText(u(this.root,"label-info"),this.hasLabelInfo)),i(f,{key:"e18eb380e152e014acf011e2858e4e1f802073b3",position:this.computedLabelPosition,required:this.required},i("slot",{key:"fb18e487b41ad436918342653f1d7642d6530074",name:"label",onSlotchange:()=>this.setLabel()}),i("gux-form-field-label-indicator",{key:"27c7ca59d34e537eeda039c95c4b119232c1fe9e",variant:this.indicatorMark,required:this.required}),i("slot",{key:"cd7efd152a6c02f115a5953e57d8a5f0333ffbf5",name:"label-info"})),i("div",{key:"021d1706cabb39b8dc9402ab8d531aed533fb57d",class:"gux-input-and-error-container"},i("div",{key:"2c5117c5e441a28dd9bc270d5a45cd3e1d7b8f00",class:{"gux-input":!0,"gux-input-error":this.hasError}},i("slot",{key:"6faca4e188336a14f3ca7ed945ccce9531157a86"})),i(a,{key:"e60dab8fbe562ea703d869b08684672a372a19a5",show:this.hasError},i("slot",{key:"4fbe80625cb1c8e4e6ecc6c7e7e0fbd01c1353fd",name:"error"})),i(n,{key:"d97ecff22998058888377877b40574a40bcbcccc",show:!this.hasError&&this.hasHelp},i("slot",{key:"4516800cc56bb7203f18c752689d5ba266578b41",name:"help"}))))}get variant(){return`dropdown-${this.labelPosition?this.labelPosition.toLowerCase():"none"}`}setInput(){this.dropdownElement=this.root.querySelector("gux-dropdown")||this.root.querySelector("gux-dropdown-multi"),this.listboxElement=this.root.querySelector("gux-listbox")||this.root.querySelector("gux-listbox-multi"),this.required=this.dropdownElement.required,this.requiredObserver=l(this.dropdownElement,(e=>{this.required=e})),c(this.root,this.listboxElement,"label"),p(this.root,this.listboxElement,"error"),p(this.root,this.listboxElement,"help")}setLabel(){this.label=this.root.querySelector('label[slot="label"]'),this.computedLabelPosition=g(this.label,this.labelPosition)}get root(){return t(this)}static get watchers(){return{hasError:["watchValue"]}}};(function(e,i,t,o){var r,l=arguments.length,s=l<3?i:null===o?o=Object.getOwnPropertyDescriptor(i,t):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(e,i,t,o);else for(var a=e.length-1;a>=0;a--)(r=e[a])&&(s=(l<3?r(s):l>3?r(i,t,s):r(i,t))||s);l>3&&s&&Object.defineProperty(i,t,s)})([r({childList:!0,subtree:!0})],x.prototype,"onMutation",null),x.style=".gux-form-field-fieldset-container{display:flex;min-inline-size:0;padding:0;margin:0;border:none}.gux-form-field-fieldset-container.gux-beside{flex-direction:row}.gux-form-field-fieldset-container.gux-above{flex-direction:column}.gux-form-field-error{display:none;flex-direction:row;flex-wrap:nowrap;gap:var(--gse-ui-formControl-helper-gap);place-content:stretch flex-start;padding:var(--gse-ui-formControl-helper-errorPadding);font-family:var(--gse-ui-formControl-helper-helperText-fontFamily);font-size:var(--gse-ui-formControl-helper-helperText-fontSize);line-height:var(--gse-ui-formControl-helper-helperText-lineHeight);color:var(--gse-ui-formControl-helper-errorColor)}.gux-form-field-error.gux-show{display:flex}.gux-form-field-error gux-icon{flex:0 1 auto;order:0;color:var(--gse-ui-formControl-helper-errorColor)}.gux-form-field-error .gux-message{flex:0 1 auto;align-self:auto;order:0}.gux-form-field-help{display:none;flex-direction:row;flex-wrap:nowrap;place-content:stretch flex-start;align-items:flex-start;justify-content:flex-start;padding-block-start:var(--gse-ui-formControl-formField-gap);font-family:var(--gse-ui-formControl-helper-helperText-fontFamily);font-size:var(--gse-ui-formControl-helper-helperText-fontSize);line-height:var(--gse-ui-formControl-helper-helperText-lineHeight);color:var(--gse-ui-formControl-helper-defaultColor)}.gux-form-field-help.gux-show{display:flex}.gux-form-field-help .gux-message{flex:0 1 auto;align-self:none;order:0}.gux-form-field-visual-label{display:inline-flex;flex:1 0 auto}.gux-form-field-visual-label ::slotted(gux-label-info-beta){padding-inline-start:var(--gse-ui-formControl-formField-gap)}.gux-form-field-visual-label.gux-beside{position:relative;inset-block-start:var(--gse-ui-formControl-input-top);inline-size:fit-content;min-inline-size:var(--gse-ui-formControl-input-textfield-minWidth);max-inline-size:fit-content;margin-inline-end:var(--gse-ui-formControl-group-gapItems)}.gux-form-field-visual-label.gux-above{padding-block-end:var(--gse-ui-formControl-formField-gap)}.gux-form-field-visual-label.gux-screenreader{display:none}.gux-form-field-screenreader-label{position:absolute;top:auto;left:-10000px;width:1px;height:1px;overflow:hidden}: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;inline-size:100%}";export{x as gux_form_field_dropdown}
1
+ import{r as e,h as i,g as t}from"./p-cf74fd3d.js";import{b as o}from"./p-e5e644b3.js";import{O as r}from"./p-946c70b7.js";import{o as l}from"./p-6b12dd16.js";import{h as s}from"./p-6d8b4027.js";import{a,G as n}from"./p-56b18d28.js";import{G as f,a as h,b as d}from"./p-eca567b9.js";import{g as u}from"./p-0268a3e8.js";import{s as c,b as p,a as g}from"./p-4aaf349e.js";import{t as m}from"./p-6ec0040f.js";import"./p-4202e9f2.js";import"./p-0934300e.js";import"./p-8eaf8caf.js";import"./p-2c25e2f2.js";const b={required:"Required"};const x=class{constructor(i){e(this,i),this.indicatorMark="required",this.computedLabelPosition="above",this.hasError=!1,this.hasHelp=!1,this.hasLabelInfo=!1}watchValue(e){const i=this.root.querySelector("gux-dropdown")||this.root.querySelector("gux-dropdown-multi");i&&(i.hasError=e)}onMutation(){this.labelInfo=this.root.querySelector("[slot=label-info]"),this.hasError=s(this.root,"error"),this.hasHelp=s(this.root,"help")}handleKeyup(e){var i,t;"Tab"===e.key?this.dropdownElement.matches(":focus-within")&&(null===(i=this.labelInfo)||void 0===i||i.showTooltip(),this.hideLabelInfoTimeout=setTimeout((()=>{var e;null===(e=this.labelInfo)||void 0===e||e.hideTooltip()}),6e3)):this.dropdownElement.matches(":focus-within")&&(null===(t=this.labelInfo)||void 0===t||t.hideTooltip(),clearTimeout(this.hideLabelInfoTimeout))}onFocusout(){var e;null===(e=this.labelInfo)||void 0===e||e.hideTooltip(),clearTimeout(this.hideLabelInfoTimeout)}async componentWillLoad(){this.getI18nValue=await o(this.root,b),this.setInput(),this.setLabel(),this.labelInfo=this.root.querySelector("[slot=label-info]"),this.hasError=s(this.root,"error"),this.hasHelp=s(this.root,"help"),this.hasLabelInfo=s(this.root,"label-info"),m(this.root,{variant:this.variant})}disconnectedCallback(){this.requiredObserver&&this.requiredObserver.disconnect()}renderText(e,i=!1){if(i)return" "+e}render(){var e;return i(d,{key:"f2f4e9a8ff7f9e22045a4be75a5d3b41447ae71d",labelPosition:this.computedLabelPosition},i(h,{key:"00ed473cf198a45a2cef8ba110780d2caa71b03f"},null===(e=this.label)||void 0===e?void 0:e.textContent,this.renderText(this.getI18nValue("required"),this.required),this.renderText(u(this.root,"error"),this.hasError),this.renderText(u(this.root,"help"),this.hasHelp),this.renderText(u(this.root,"label-info"),this.hasLabelInfo)),i(f,{key:"e18eb380e152e014acf011e2858e4e1f802073b3",position:this.computedLabelPosition,required:this.required},i("slot",{key:"fb18e487b41ad436918342653f1d7642d6530074",name:"label",onSlotchange:()=>this.setLabel()}),i("gux-form-field-label-indicator",{key:"27c7ca59d34e537eeda039c95c4b119232c1fe9e",variant:this.indicatorMark,required:this.required}),i("slot",{key:"cd7efd152a6c02f115a5953e57d8a5f0333ffbf5",name:"label-info"})),i("div",{key:"021d1706cabb39b8dc9402ab8d531aed533fb57d",class:"gux-input-and-error-container"},i("div",{key:"2c5117c5e441a28dd9bc270d5a45cd3e1d7b8f00",class:{"gux-input":!0,"gux-input-error":this.hasError}},i("slot",{key:"6faca4e188336a14f3ca7ed945ccce9531157a86"})),i(a,{key:"e60dab8fbe562ea703d869b08684672a372a19a5",show:this.hasError},i("slot",{key:"4fbe80625cb1c8e4e6ecc6c7e7e0fbd01c1353fd",name:"error"})),i(n,{key:"d97ecff22998058888377877b40574a40bcbcccc",show:!this.hasError&&this.hasHelp},i("slot",{key:"4516800cc56bb7203f18c752689d5ba266578b41",name:"help"}))))}get variant(){return`dropdown-${this.labelPosition?this.labelPosition.toLowerCase():"none"}`}setInput(){this.dropdownElement=this.root.querySelector("gux-dropdown")||this.root.querySelector("gux-dropdown-multi"),this.listboxElement=this.root.querySelector("gux-listbox")||this.root.querySelector("gux-listbox-multi"),this.required=this.dropdownElement.required,this.requiredObserver=l(this.dropdownElement,(e=>{this.required=e})),c(this.root,this.listboxElement,"label"),p(this.root,this.listboxElement,"error"),p(this.root,this.listboxElement,"help")}setLabel(){this.label=this.root.querySelector('label[slot="label"]'),this.computedLabelPosition=g(this.label,this.labelPosition)}get root(){return t(this)}static get watchers(){return{hasError:["watchValue"]}}};(function(e,i,t,o){var r,l=arguments.length,s=l<3?i:null===o?o=Object.getOwnPropertyDescriptor(i,t):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(e,i,t,o);else for(var a=e.length-1;a>=0;a--)(r=e[a])&&(s=(l<3?r(s):l>3?r(i,t,s):r(i,t))||s);l>3&&s&&Object.defineProperty(i,t,s)})([r({childList:!0,subtree:!0})],x.prototype,"onMutation",null),x.style=".gux-form-field-fieldset-container{display:flex;min-inline-size:0;padding:0;margin:0;border:none}.gux-form-field-fieldset-container.gux-beside{flex-direction:row}.gux-form-field-fieldset-container.gux-above{flex-direction:column}.gux-form-field-error{display:none;flex-direction:row;flex-wrap:nowrap;gap:var(--gse-ui-formControl-helper-gap);place-content:stretch flex-start;padding:var(--gse-ui-formControl-helper-errorPadding);font-family:var(--gse-ui-formControl-helper-helperText-fontFamily);font-size:var(--gse-ui-formControl-helper-helperText-fontSize);line-height:var(--gse-ui-formControl-helper-helperText-lineHeight);color:var(--gse-ui-formControl-helper-errorColor)}.gux-form-field-error.gux-show{display:flex}.gux-form-field-error gux-icon{flex:0 1 auto;order:0;color:var(--gse-ui-formControl-helper-errorColor)}.gux-form-field-error .gux-message{flex:0 1 auto;align-self:auto;order:0}.gux-form-field-help{display:none;flex-direction:row;flex-wrap:nowrap;place-content:stretch flex-start;align-items:flex-start;justify-content:flex-start;padding-block-start:var(--gse-ui-formControl-formField-gap);font-family:var(--gse-ui-formControl-helper-helperText-fontFamily);font-size:var(--gse-ui-formControl-helper-helperText-fontSize);line-height:var(--gse-ui-formControl-helper-helperText-lineHeight);color:var(--gse-ui-formControl-helper-defaultColor)}.gux-form-field-help.gux-show{display:flex}.gux-form-field-help .gux-message{flex:0 1 auto;align-self:none;order:0}.gux-form-field-visual-label{display:inline-flex;flex:1 0 auto}.gux-form-field-visual-label ::slotted(gux-label-info-beta){padding-inline-start:var(--gse-ui-formControl-formField-gap)}.gux-form-field-visual-label.gux-beside{position:relative;inset-block-start:var(--gse-ui-formControl-input-top);inline-size:fit-content;min-inline-size:var(--gse-ui-formControl-input-textfield-minWidth);max-inline-size:fit-content;margin-inline-end:var(--gse-ui-formControl-group-gapItems)}.gux-form-field-visual-label.gux-above{padding-block-end:var(--gse-ui-formControl-formField-gap)}.gux-form-field-visual-label.gux-screenreader{display:none}.gux-form-field-screenreader-label{position:absolute;top:auto;left:-10000px;width:1px;height:1px;overflow:hidden}: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;inline-size:100%}";export{x as gux_form_field_dropdown}
@@ -1 +1 @@
1
- import{r as o,h as i,g as e}from"./p-cf74fd3d.js";import{t as r}from"./p-fcdad94f.js";import{b as a}from"./p-e5e644b3.js";import"./p-4202e9f2.js";const t={clickToCopy:"Click 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()}resetTooltip(){this.tooltipContent="clickToCopy"}async onCopyToClipboard(){return navigator.clipboard.writeText(this.root.innerText).then((()=>{this.tooltipContent="copySuccess"})).catch((()=>{this.tooltipContent="copyFailure"}))}getIconName(o){switch(o){case"copyFailure":return"fa/circle-xmark-solid";case"copySuccess":return"fa/circle-check-solid"}}renderTooltipIcon(){const o=this.getIconName(this.tooltipContent);if(o)return i("gux-icon",{"icon-name":o,size:"small",decorative:!0})}renderTooltip(){return i("gux-tooltip",{placement:"bottom-end"},i("div",{slot:"content",class:"gux-tooltip-content"},this.renderTooltipIcon(),i("span",null,this.i18n(this.tooltipContent))))}async componentWillLoad(){r(this.root),this.i18n=await a(this.root,t)}render(){return i("button",{key:"30088ac8e910bb4519c3a3e8a89a10395164cd94",class:"gux-copy-to-clipboard-wrapper",onClick:this.onCopyToClipboard.bind(this)},i("div",{key:"a70cfe959192d8296676adad6283f5a9073630a7",class:"gux-copy-content"},i("slot",{key:"13894c275336cb6209c27d47454a7d039f00eb5c",name:"content"}),i("gux-icon",{key:"6e0fc0b658e29fae6a64c9ea0e400a6d8d10c8dc","icon-name":"fa/copy-regular",size:"small",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-inline-size:100%}.gux-copy-to-clipboard-wrapper .gux-copy-content{display:inherit;gap:var(--gse-ui-copyToClipboard-contentContainer-gap);align-items:inherit;max-inline-size:100%;cursor:pointer}.gux-copy-to-clipboard-wrapper .gux-copy-content ::slotted(*){padding:var(--gse-ui-copyToClipboard-label-padding);font-family:var(--gse-ui-copyToClipboard-label-text-fontFamily);font-size:var(--gse-ui-copyToClipboard-label-text-fontSize);font-weight:var(--gse-ui-copyToClipboard-label-text-fontWeight);line-height:var(--gse-ui-copyToClipboard-label-text-lineHeight);color:var(--gse-ui-copyToClipboard-label-foregroundColor);text-decoration:var(--gse-ui-copyToClipboard-label-text-textDecoration);border-radius:var(--gse-ui-copyToClipboard-label-borderRadius)}.gux-copy-to-clipboard-wrapper .gux-copy-content:hover ::slotted(*){background-color:var(--gse-ui-copyToClipboard-label-active-backgroundColor)}.gux-copy-to-clipboard-wrapper .gux-copy-content:hover gux-icon[icon-name="fa/copy-regular"]{visibility:visible}.gux-copy-to-clipboard-wrapper .gux-copy-content gux-icon[icon-name="fa/copy-regular"]{visibility:hidden;flex-shrink:0;padding:var(--gse-ui-copyToClipboard-iconContainer-padding);background-color:var(--gse-ui-copyToClipboard-label-active-backgroundColor);border-radius:var(--gse-ui-copyToClipboard-label-borderRadius)}.gux-copy-to-clipboard-wrapper:focus-visible{outline:none}.gux-copy-to-clipboard-wrapper:focus-visible ::slotted(*){background-color:var(--gse-ui-copyToClipboard-label-active-backgroundColor)}.gux-copy-to-clipboard-wrapper:focus-visible gux-icon[icon-name="fa/copy-regular"]{visibility:visible}gux-tooltip.gux-show{display:inline-flex;align-items:center}gux-tooltip.gux-show .gux-tooltip-content{display:contents}gux-tooltip.gux-show .gux-tooltip-content>*{vertical-align:middle}gux-tooltip.gux-show gux-icon[icon-name="fa/circle-check-solid"]{color:var(--gse-ui-copyToClipboard-tooltipIcon-success-foregroundColor)}gux-tooltip.gux-show gux-icon[icon-name="fa/circle-xmark-solid"]{color:var(--gse-ui-copyToClipboard-tooltipIcon-error-foregroundColor)}';export{c as gux_copy_to_clipboard}
1
+ import{r as o,h as i,g as e}from"./p-cf74fd3d.js";import{t as r}from"./p-6ec0040f.js";import{b as t}from"./p-e5e644b3.js";import"./p-4202e9f2.js";const a={clickToCopy:"Click 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()}resetTooltip(){this.tooltipContent="clickToCopy"}async onCopyToClipboard(){return navigator.clipboard.writeText(this.root.innerText).then((()=>{this.tooltipContent="copySuccess"})).catch((()=>{this.tooltipContent="copyFailure"}))}getIconName(o){switch(o){case"copyFailure":return"fa/circle-xmark-solid";case"copySuccess":return"fa/circle-check-solid"}}renderTooltipIcon(){const o=this.getIconName(this.tooltipContent);if(o)return i("gux-icon",{"icon-name":o,size:"small",decorative:!0})}renderTooltip(){return i("gux-tooltip",{placement:"bottom-end"},i("div",{slot:"content",class:"gux-tooltip-content"},this.renderTooltipIcon(),i("span",null,this.i18n(this.tooltipContent))))}async componentWillLoad(){r(this.root),this.i18n=await t(this.root,a)}render(){return i("button",{key:"30088ac8e910bb4519c3a3e8a89a10395164cd94",class:"gux-copy-to-clipboard-wrapper",onClick:this.onCopyToClipboard.bind(this)},i("div",{key:"a70cfe959192d8296676adad6283f5a9073630a7",class:"gux-copy-content"},i("slot",{key:"13894c275336cb6209c27d47454a7d039f00eb5c",name:"content"}),i("gux-icon",{key:"6e0fc0b658e29fae6a64c9ea0e400a6d8d10c8dc","icon-name":"fa/copy-regular",size:"small",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-inline-size:100%}.gux-copy-to-clipboard-wrapper .gux-copy-content{display:inherit;gap:var(--gse-ui-copyToClipboard-contentContainer-gap);align-items:inherit;max-inline-size:100%;cursor:pointer}.gux-copy-to-clipboard-wrapper .gux-copy-content ::slotted(*){padding:var(--gse-ui-copyToClipboard-label-padding);font-family:var(--gse-ui-copyToClipboard-label-text-fontFamily);font-size:var(--gse-ui-copyToClipboard-label-text-fontSize);font-weight:var(--gse-ui-copyToClipboard-label-text-fontWeight);line-height:var(--gse-ui-copyToClipboard-label-text-lineHeight);color:var(--gse-ui-copyToClipboard-label-foregroundColor);text-decoration:var(--gse-ui-copyToClipboard-label-text-textDecoration);border-radius:var(--gse-ui-copyToClipboard-label-borderRadius)}.gux-copy-to-clipboard-wrapper .gux-copy-content:hover ::slotted(*){background-color:var(--gse-ui-copyToClipboard-label-active-backgroundColor)}.gux-copy-to-clipboard-wrapper .gux-copy-content:hover gux-icon[icon-name="fa/copy-regular"]{visibility:visible}.gux-copy-to-clipboard-wrapper .gux-copy-content gux-icon[icon-name="fa/copy-regular"]{visibility:hidden;flex-shrink:0;padding:var(--gse-ui-copyToClipboard-iconContainer-padding);background-color:var(--gse-ui-copyToClipboard-label-active-backgroundColor);border-radius:var(--gse-ui-copyToClipboard-label-borderRadius)}.gux-copy-to-clipboard-wrapper:focus-visible{outline:none}.gux-copy-to-clipboard-wrapper:focus-visible ::slotted(*){background-color:var(--gse-ui-copyToClipboard-label-active-backgroundColor)}.gux-copy-to-clipboard-wrapper:focus-visible gux-icon[icon-name="fa/copy-regular"]{visibility:visible}gux-tooltip.gux-show{display:inline-flex;align-items:center}gux-tooltip.gux-show .gux-tooltip-content{display:contents}gux-tooltip.gux-show .gux-tooltip-content>*{vertical-align:middle}gux-tooltip.gux-show gux-icon[icon-name="fa/circle-check-solid"]{color:var(--gse-ui-copyToClipboard-tooltipIcon-success-foregroundColor)}gux-tooltip.gux-show gux-icon[icon-name="fa/circle-xmark-solid"]{color:var(--gse-ui-copyToClipboard-tooltipIcon-error-foregroundColor)}';export{c as gux_copy_to_clipboard}
@@ -1 +1 @@
1
- import{r as t,f as s,h as e,H as i,g as o}from"./p-cf74fd3d.js";import{s as r}from"./p-2c25e2f2.js";import{t as a}from"./p-fcdad94f.js";const c=class{constructor(s){t(this,s),this.disabled=!1,this.items=[]}onClick(t){t.stopPropagation();const s=t.target.closest("gux-segmented-control-item");s&&this.value!==s.value&&(this.value=s.value,r(this.root,"input"),r(this.root,"change"))}watchDisabled(){this.items.forEach((t=>{s(t)}))}slotChanged(){this.items=Array.from(this.root.children)}componentWillLoad(){a(this.root)}componentWillRender(){this.items.forEach((t=>{t.selected=t.value===this.value}))}render(){return e(i,{key:"6313278a473c749972e2298b83f28cb11dd47a32",role:"group"},e("slot",{key:"4d589907bbccb2a17d0912e6338ce5e6756e6071",onSlotchange:this.slotChanged.bind(this)}))}get root(){return o(this)}static get watchers(){return{disabled:["watchDisabled"]}}};c.style=":host{display:inline-flex}";export{c as gux_segmented_control_beta}
1
+ import{r as t,f as s,h as e,H as i,g as o}from"./p-cf74fd3d.js";import{s as r}from"./p-2c25e2f2.js";import{t as a}from"./p-6ec0040f.js";const c=class{constructor(s){t(this,s),this.disabled=!1,this.items=[]}onClick(t){t.stopPropagation();const s=t.target.closest("gux-segmented-control-item");s&&this.value!==s.value&&(this.value=s.value,r(this.root,"input"),r(this.root,"change"))}watchDisabled(){this.items.forEach((t=>{s(t)}))}slotChanged(){this.items=Array.from(this.root.children)}componentWillLoad(){a(this.root)}componentWillRender(){this.items.forEach((t=>{t.selected=t.value===this.value}))}render(){return e(i,{key:"6313278a473c749972e2298b83f28cb11dd47a32",role:"group"},e("slot",{key:"4d589907bbccb2a17d0912e6338ce5e6756e6071",onSlotchange:this.slotChanged.bind(this)}))}get root(){return o(this)}static get watchers(){return{disabled:["watchDisabled"]}}};c.style=":host{display:inline-flex}";export{c as gux_segmented_control_beta}
@@ -1 +1 @@
1
- import{r as e,c as t,h as r,g as s}from"./p-cf74fd3d.js";import{t as i}from"./p-fcdad94f.js";const o=class{constructor(r){e(this,r),this.guxactivestepchange=t(this,"guxactivestepchange",7),this.orientation="horizontal",this.disabled=!1,this.stepList=[]}onInternalActiveStepChange(e){e.stopPropagation(),this.activateStep(null==e?void 0:e.detail,this.stepList)}watchActiveStep(e){this.activateStep(e,this.stepList),this.guxactivestepchange.emit(e)}componentWillLoad(){i(this.root)}componentDidLoad(){this.activateStep(this.activeStepId,this.stepList),this.activeStepId&&this.guxactivestepchange.emit(this.activeStepId)}activateStep(e,t){e&&(this.activeStepId=e),null==t||t.forEach((e=>{e.guxSetActive(e.stepId===this.activeStepId)}))}onSlotChange(){const e=this.root.shadowRoot.querySelector("slot");this.stepList=e.assignedElements()}render(){return r("div",{key:"bb0f6b1ff55c74d62e3067d756a22f9697e769e3",class:{"gux-stepper":!0,[`gux-stepper-${this.orientation}`]:!0}},r("slot",{key:"7e8fb1bfef750bb842719fe4dda298dd29302bda",onSlotchange:this.onSlotChange.bind(this)}))}get root(){return s(this)}static get watchers(){return{activeStepId:["watchActiveStep"]}}};o.style=":host{display:flex;flex-direction:column}:host .gux-stepper{display:flex;block-size:100%}:host .gux-stepper.gux-stepper-horizontal{flex-direction:row;--stepper-min-inline-size:var(--gse-ui-stepper-step-horizontal-minWidth);--step-gap:var(--gse-ui-stepper-step-gap);--stepper-padding-block:var(--gse-ui-stepper-step-horizontal-gap) 0;--stepper-border-block-start-incomplete:var(\n --gse-ui-stepper-bar-horizontal-height\n )\n var(--gse-ui-stepper-bar-incompleted-foregroundColor) solid;--stepper-border-block-start-completed:var(\n --gse-ui-stepper-bar-horizontal-height\n )\n var(--gse-ui-stepper-icon-completed-selectedForegroundColor) solid;--stepper-border-block-start-error:var(\n --gse-ui-stepper-bar-horizontal-height\n )\n var(--gse-ui-stepper-bar-error-foregroundColor) solid;--stepper-border-block-start-active:var(\n --gse-ui-stepper-bar-horizontal-height\n )\n var(--gse-ui-stepper-bar-active-foregroundColor) solid}:host .gux-stepper.gux-stepper-vertical{flex-direction:column;--step-gap:var(--gse-ui-stepper-step-vertical-gap);--stepper-min-block-size:var(--gse-ui-stepper-step-vertical-minHeight);--stepper-padding-inline:var(--gse-ui-stepper-step-vertical-gap) 0;--stepper-border-inline-start-incomplete:var(\n --gse-ui-stepper-bar-horizontal-height\n )\n var(--gse-ui-stepper-bar-incompleted-foregroundColor) solid;--stepper-border-inline-start-completed:var(\n --gse-ui-stepper-bar-horizontal-height\n )\n var(--gse-ui-stepper-icon-completed-selectedForegroundColor) solid;--stepper-border-inline-start-error:var(\n --gse-ui-stepper-bar-horizontal-height\n )\n var(--gse-ui-stepper-bar-error-foregroundColor) solid;--stepper-border-inline-start-active:var(\n --gse-ui-stepper-bar-horizontal-height\n )\n var(--gse-ui-stepper-bar-active-foregroundColor) solid;--stepper-step-body-margin:var(\n --gse-ui-stepper-step-vertical-body-marginTop\n )}";export{o as gux_stepper_beta}
1
+ import{r as e,c as t,h as r,g as s}from"./p-cf74fd3d.js";import{t as i}from"./p-6ec0040f.js";const o=class{constructor(r){e(this,r),this.guxactivestepchange=t(this,"guxactivestepchange",7),this.orientation="horizontal",this.disabled=!1,this.stepList=[]}onInternalActiveStepChange(e){e.stopPropagation(),this.activateStep(null==e?void 0:e.detail,this.stepList)}watchActiveStep(e){this.activateStep(e,this.stepList),this.guxactivestepchange.emit(e)}componentWillLoad(){i(this.root)}componentDidLoad(){this.activateStep(this.activeStepId,this.stepList),this.activeStepId&&this.guxactivestepchange.emit(this.activeStepId)}activateStep(e,t){e&&(this.activeStepId=e),null==t||t.forEach((e=>{e.guxSetActive(e.stepId===this.activeStepId)}))}onSlotChange(){const e=this.root.shadowRoot.querySelector("slot");this.stepList=e.assignedElements()}render(){return r("div",{key:"bb0f6b1ff55c74d62e3067d756a22f9697e769e3",class:{"gux-stepper":!0,[`gux-stepper-${this.orientation}`]:!0}},r("slot",{key:"7e8fb1bfef750bb842719fe4dda298dd29302bda",onSlotchange:this.onSlotChange.bind(this)}))}get root(){return s(this)}static get watchers(){return{activeStepId:["watchActiveStep"]}}};o.style=":host{display:flex;flex-direction:column}:host .gux-stepper{display:flex;block-size:100%}:host .gux-stepper.gux-stepper-horizontal{flex-direction:row;--stepper-min-inline-size:var(--gse-ui-stepper-step-horizontal-minWidth);--step-gap:var(--gse-ui-stepper-step-gap);--stepper-padding-block:var(--gse-ui-stepper-step-horizontal-gap) 0;--stepper-border-block-start-incomplete:var(\n --gse-ui-stepper-bar-horizontal-height\n )\n var(--gse-ui-stepper-bar-incompleted-foregroundColor) solid;--stepper-border-block-start-completed:var(\n --gse-ui-stepper-bar-horizontal-height\n )\n var(--gse-ui-stepper-icon-completed-selectedForegroundColor) solid;--stepper-border-block-start-error:var(\n --gse-ui-stepper-bar-horizontal-height\n )\n var(--gse-ui-stepper-bar-error-foregroundColor) solid;--stepper-border-block-start-active:var(\n --gse-ui-stepper-bar-horizontal-height\n )\n var(--gse-ui-stepper-bar-active-foregroundColor) solid}:host .gux-stepper.gux-stepper-vertical{flex-direction:column;--step-gap:var(--gse-ui-stepper-step-vertical-gap);--stepper-min-block-size:var(--gse-ui-stepper-step-vertical-minHeight);--stepper-padding-inline:var(--gse-ui-stepper-step-vertical-gap) 0;--stepper-border-inline-start-incomplete:var(\n --gse-ui-stepper-bar-horizontal-height\n )\n var(--gse-ui-stepper-bar-incompleted-foregroundColor) solid;--stepper-border-inline-start-completed:var(\n --gse-ui-stepper-bar-horizontal-height\n )\n var(--gse-ui-stepper-icon-completed-selectedForegroundColor) solid;--stepper-border-inline-start-error:var(\n --gse-ui-stepper-bar-horizontal-height\n )\n var(--gse-ui-stepper-bar-error-foregroundColor) solid;--stepper-border-inline-start-active:var(\n --gse-ui-stepper-bar-horizontal-height\n )\n var(--gse-ui-stepper-bar-active-foregroundColor) solid;--stepper-step-body-margin:var(\n --gse-ui-stepper-step-vertical-body-marginTop\n )}";export{o as gux_stepper_beta}