genesys-spark-components 4.232.2 → 4.233.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (465) hide show
  1. package/dist/cjs/en-CEsbEfLT.js +22 -0
  2. package/dist/cjs/genesys-webcomponents.cjs.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-actionable-inline-alert-beta.cjs.entry.js +1 -1
  7. package/dist/cjs/gux-advanced-dropdown-legacy.cjs.entry.js +1 -1
  8. package/dist/cjs/gux-ai-indicator-beta.cjs.entry.js +1 -1
  9. package/dist/cjs/gux-ai-powered-badge-beta.cjs.entry.js +1 -1
  10. package/dist/cjs/gux-ai-spinner-loader-beta.cjs.entry.js +1 -1
  11. package/dist/cjs/gux-announce-beta.cjs.entry.js +1 -1
  12. package/dist/cjs/gux-avatar-beta.cjs.entry.js +1 -1
  13. package/dist/cjs/gux-avatar-change-photo-beta.cjs.entry.js +1 -1
  14. package/dist/cjs/gux-avatar-group-add-item-beta_3.cjs.entry.js +1 -1
  15. package/dist/cjs/gux-avatar-group-beta.cjs.entry.js +1 -1
  16. package/dist/cjs/gux-avatar-group-item-beta.cjs.entry.js +1 -1
  17. package/dist/cjs/gux-badge.cjs.entry.js +1 -1
  18. package/dist/cjs/gux-blank-state-beta.cjs.entry.js +1 -1
  19. package/dist/cjs/gux-blank-state.cjs.entry.js +1 -1
  20. package/dist/cjs/gux-breadcrumbs.cjs.entry.js +1 -1
  21. package/dist/cjs/gux-button-multi.cjs.entry.js +1 -1
  22. package/dist/cjs/gux-button-slot.cjs.entry.js +1 -1
  23. package/dist/cjs/gux-button_2.cjs.entry.js +1 -1
  24. package/dist/cjs/gux-calendar.cjs.entry.js +12 -3
  25. package/dist/cjs/gux-card.cjs.entry.js +1 -1
  26. package/dist/cjs/gux-cloud-logo-beta.cjs.entry.js +1 -1
  27. package/dist/cjs/gux-cloud-logomark-beta.cjs.entry.js +1 -1
  28. package/dist/cjs/gux-column-manager.cjs.entry.js +1 -1
  29. package/dist/cjs/gux-content-search.cjs.entry.js +1 -1
  30. package/dist/cjs/gux-context-menu.cjs.entry.js +1 -1
  31. package/dist/cjs/gux-copy-to-clipboard.cjs.entry.js +1 -1
  32. package/dist/cjs/gux-date-beta.cjs.entry.js +1 -1
  33. package/dist/cjs/gux-date-time-beta.cjs.entry.js +1 -1
  34. package/dist/cjs/gux-datepicker.cjs.entry.js +17 -4
  35. package/dist/cjs/gux-disclosure-button-legacy.cjs.entry.js +1 -1
  36. package/dist/cjs/gux-dismiss-button.cjs.entry.js +1 -1
  37. package/dist/cjs/gux-dropdown-multi.cjs.entry.js +2 -10
  38. package/dist/cjs/gux-dropdown_3.cjs.entry.js +3 -8
  39. package/dist/cjs/gux-file-list-item.cjs.entry.js +1 -1
  40. package/dist/cjs/gux-flag-icon-beta.cjs.entry.js +1 -1
  41. package/dist/cjs/gux-flyout-menu.cjs.entry.js +1 -1
  42. package/dist/cjs/gux-form-field-checkbox-group-beta.cjs.entry.js +1 -1
  43. package/dist/cjs/gux-form-field-checkbox.cjs.entry.js +1 -1
  44. package/dist/cjs/gux-form-field-color.cjs.entry.js +1 -1
  45. package/dist/cjs/gux-form-field-dropdown.cjs.entry.js +1 -1
  46. package/dist/cjs/gux-form-field-file-beta.cjs.entry.js +1 -1
  47. package/dist/cjs/gux-form-field-file.cjs.entry.js +1 -1
  48. package/dist/cjs/gux-form-field-input-clear-button.cjs.entry.js +1 -1
  49. package/dist/cjs/gux-form-field-label-indicator.cjs.entry.js +1 -1
  50. package/dist/cjs/gux-form-field-number_2.cjs.entry.js +20 -8
  51. package/dist/cjs/gux-form-field-phone.cjs.entry.js +1 -1
  52. package/dist/cjs/gux-form-field-radio-group-beta.cjs.entry.js +1 -1
  53. package/dist/cjs/gux-form-field-radio.cjs.entry.js +1 -1
  54. package/dist/cjs/gux-form-field-range.cjs.entry.js +1 -1
  55. package/dist/cjs/gux-form-field-search.cjs.entry.js +1 -1
  56. package/dist/cjs/gux-form-field-select.cjs.entry.js +1 -1
  57. package/dist/cjs/gux-form-field-text-like.cjs.entry.js +23 -27
  58. package/dist/cjs/gux-form-field-textarea.cjs.entry.js +57 -6
  59. package/dist/cjs/gux-form-field-time-picker.cjs.entry.js +1 -1
  60. package/dist/cjs/gux-form-field-time-zone-picker.cjs.entry.js +1 -1
  61. package/dist/cjs/gux-form-footer.cjs.entry.js +1 -1
  62. package/dist/cjs/gux-icon-tooltip-beta.cjs.entry.js +1 -1
  63. package/dist/cjs/gux-icon.cjs.entry.js +1 -1
  64. package/dist/cjs/gux-illustration-beta.cjs.entry.js +1 -1
  65. package/dist/cjs/gux-inline-alert.cjs.entry.js +1 -1
  66. package/dist/cjs/gux-inline-dropdown-beta.cjs.entry.js +1 -1
  67. package/dist/cjs/gux-label-info-beta.cjs.entry.js +1 -1
  68. package/dist/cjs/gux-link-beta.cjs.entry.js +1 -1
  69. package/dist/cjs/gux-list.cjs.entry.js +1 -1
  70. package/dist/cjs/gux-listbox-multi.cjs.entry.js +1 -1
  71. package/dist/cjs/gux-loading-message.cjs.entry.js +1 -1
  72. package/dist/cjs/gux-logo-beta.cjs.entry.js +1 -1
  73. package/dist/cjs/gux-logomark-beta.cjs.entry.js +1 -1
  74. package/dist/cjs/gux-modal-legacy.cjs.entry.js +1 -1
  75. package/dist/cjs/gux-modal-side-panel-beta.cjs.entry.js +1 -1
  76. package/dist/cjs/gux-modal.cjs.entry.js +1 -1
  77. package/dist/cjs/gux-month-picker-beta.cjs.entry.js +1 -1
  78. package/dist/cjs/gux-notification-indicator-beta.cjs.entry.js +1 -1
  79. package/dist/cjs/gux-notification-toast-legacy.cjs.entry.js +1 -1
  80. package/dist/cjs/gux-page-loading-spinner.cjs.entry.js +1 -1
  81. package/dist/cjs/gux-pagination-cursor.cjs.entry.js +1 -1
  82. package/dist/cjs/gux-pagination-legacy.cjs.entry.js +1 -1
  83. package/dist/cjs/gux-pagination.cjs.entry.js +6 -2
  84. package/dist/cjs/gux-phone-input-beta.cjs.entry.js +1 -1
  85. package/dist/cjs/gux-popover-beta.cjs.entry.js +18 -3
  86. package/dist/cjs/gux-popover-list-beta.cjs.entry.js +18 -3
  87. package/dist/cjs/gux-popover-list.cjs.entry.js +1 -1
  88. package/dist/cjs/gux-prompt-input-beta.cjs.entry.js +1 -1
  89. package/dist/cjs/gux-radial-loading.cjs.entry.js +1 -1
  90. package/dist/cjs/gux-radial-progress.cjs.entry.js +1 -1
  91. package/dist/cjs/gux-rating.cjs.entry.js +1 -1
  92. package/dist/cjs/gux-rich-highlight-list-item.cjs.entry.js +1 -1
  93. package/dist/cjs/gux-rich-style-list-item_3.cjs.entry.js +1 -1
  94. package/dist/cjs/gux-rich-text-editor-action-link.cjs.entry.js +1 -1
  95. package/dist/cjs/gux-rich-text-editor-action-rich-style.cjs.entry.js +1 -1
  96. package/dist/cjs/gux-rich-text-editor-action-text-highlight.cjs.entry.js +1 -1
  97. package/dist/cjs/gux-rich-text-editor-action.cjs.entry.js +1 -1
  98. package/dist/cjs/gux-rich-text-editor-beta.cjs.entry.js +1 -1
  99. package/dist/cjs/gux-rich-text-editor-list.cjs.entry.js +1 -1
  100. package/dist/cjs/gux-screen-reader-beta.cjs.entry.js +1 -1
  101. package/dist/cjs/gux-segmented-control-beta.cjs.entry.js +1 -1
  102. package/dist/cjs/gux-selector-card-beta.cjs.entry.js +1 -1
  103. package/dist/cjs/gux-selector-cards-beta.cjs.entry.js +1 -1
  104. package/dist/cjs/gux-side-panel-beta.cjs.entry.js +1 -1
  105. package/dist/cjs/gux-side-panel-header-mini.cjs.entry.js +1 -1
  106. package/dist/cjs/gux-side-panel-header.cjs.entry.js +1 -1
  107. package/dist/cjs/gux-side-panel-heading.cjs.entry.js +1 -1
  108. package/dist/cjs/gux-simple-toast-legacy.cjs.entry.js +1 -1
  109. package/dist/cjs/gux-skip-navigation-list.cjs.entry.js +1 -1
  110. package/dist/cjs/gux-sort-control.cjs.entry.js +1 -1
  111. package/dist/cjs/gux-status-indicator-beta.cjs.entry.js +1 -1
  112. package/dist/cjs/gux-step-title.cjs.entry.js +1 -1
  113. package/dist/cjs/gux-step.cjs.entry.js +1 -1
  114. package/dist/cjs/gux-stepper-beta.cjs.entry.js +1 -1
  115. package/dist/cjs/gux-switch-legacy.cjs.entry.js +1 -1
  116. package/dist/cjs/gux-table-toolbar-action.cjs.entry.js +1 -1
  117. package/dist/cjs/gux-table-toolbar-custom-action.cjs.entry.js +1 -1
  118. package/dist/cjs/gux-table-toolbar-menu-button.cjs.entry.js +1 -1
  119. package/dist/cjs/gux-table-toolbar.cjs.entry.js +9 -3
  120. package/dist/cjs/gux-table.cjs.entry.js +1 -1
  121. package/dist/cjs/gux-tabs-advanced.cjs.entry.js +1 -1
  122. package/dist/cjs/gux-tabs.cjs.entry.js +1 -1
  123. package/dist/cjs/gux-tag.cjs.entry.js +1 -1
  124. package/dist/cjs/gux-text-highlight.cjs.entry.js +1 -1
  125. package/dist/cjs/gux-time-beta.cjs.entry.js +1 -1
  126. package/dist/cjs/gux-time-picker.cjs.entry.js +1 -1
  127. package/dist/cjs/gux-time-zone-beta.cjs.entry.js +1 -1
  128. package/dist/cjs/gux-time-zone-picker-beta.cjs.entry.js +1 -1
  129. package/dist/cjs/gux-toast.cjs.entry.js +1 -1
  130. package/dist/cjs/gux-toggle.cjs.entry.js +10 -3
  131. package/dist/cjs/gux-tooltip-base-beta_2.cjs.entry.js +1 -1
  132. package/dist/cjs/gux-tooltip-pointer-beta.cjs.entry.js +1 -1
  133. package/dist/cjs/gux-tooltip-title.cjs.entry.js +5 -6
  134. package/dist/cjs/gux-tooltip_2.cjs.entry.js +1 -1
  135. package/dist/cjs/gux-tree-beta.cjs.entry.js +25 -3
  136. package/dist/cjs/gux-tree-multi-beta.cjs.entry.js +24 -6
  137. package/dist/cjs/index-npRUdf7N.js +4 -4
  138. package/dist/cjs/loader.cjs.js +1 -1
  139. package/dist/cjs/{usage-DMoI1xj1.js → usage-BbRm9v_K.js} +1 -1
  140. package/dist/collection/components/beta/gux-cta-group/tests/gux-cta-group.common.js +28 -6
  141. package/dist/collection/components/beta/gux-popover-beta/gux-popover.js +17 -2
  142. package/dist/collection/components/beta/gux-popover-list-beta/gux-popover-list.js +17 -2
  143. package/dist/collection/components/beta/gux-tree/gux-tree.js +30 -2
  144. package/dist/collection/components/beta/gux-tree-multi/gux-tree-multi.js +29 -5
  145. package/dist/collection/components/stable/gux-calendar/gux-calendar.js +11 -2
  146. package/dist/collection/components/stable/gux-datepicker/gux-datepicker.js +22 -3
  147. package/dist/collection/components/stable/gux-dropdown/gux-dropdown.js +2 -7
  148. package/dist/collection/components/stable/gux-dropdown-multi/gux-dropdown-multi.js +1 -9
  149. package/dist/collection/components/stable/gux-form-field/components/gux-form-field-text-like/gux-form-field-text-like.js +22 -10
  150. package/dist/collection/components/stable/gux-form-field/components/gux-form-field-textarea/gux-form-field-textarea.css +14 -0
  151. package/dist/collection/components/stable/gux-form-field/components/gux-form-field-textarea/gux-form-field-textarea.js +97 -7
  152. package/dist/collection/components/stable/gux-form-field/components/gux-form-field-textarea/tests/gux-form-field-textarea.common.js +50 -1
  153. package/dist/collection/components/stable/gux-modal/tests/gux-modal.common.js +13 -0
  154. package/dist/collection/components/stable/gux-pagination/gux-pagination-buttons/gux-pagination-ellipsis-button/gux-pagination-ellipsis-button.js +19 -7
  155. package/dist/collection/components/stable/gux-pagination/gux-pagination.js +5 -1
  156. package/dist/collection/components/stable/gux-table-toolbar/gux-table-toolbar.js +8 -2
  157. package/dist/collection/components/stable/gux-toggle/gux-toggle.js +9 -2
  158. package/dist/collection/components/stable/gux-tooltip-title/gux-tooltip-title.js +5 -6
  159. package/dist/esm/en-DdUnetf3.js +19 -0
  160. package/dist/esm/genesys-webcomponents.js +1 -1
  161. package/dist/esm/gux-accordion.entry.js +1 -1
  162. package/dist/esm/gux-action-button.entry.js +1 -1
  163. package/dist/esm/gux-action-toast-legacy.entry.js +1 -1
  164. package/dist/esm/gux-actionable-inline-alert-beta.entry.js +1 -1
  165. package/dist/esm/gux-advanced-dropdown-legacy.entry.js +1 -1
  166. package/dist/esm/gux-ai-indicator-beta.entry.js +1 -1
  167. package/dist/esm/gux-ai-powered-badge-beta.entry.js +1 -1
  168. package/dist/esm/gux-ai-spinner-loader-beta.entry.js +1 -1
  169. package/dist/esm/gux-announce-beta.entry.js +1 -1
  170. package/dist/esm/gux-avatar-beta.entry.js +1 -1
  171. package/dist/esm/gux-avatar-change-photo-beta.entry.js +1 -1
  172. package/dist/esm/gux-avatar-group-add-item-beta_3.entry.js +1 -1
  173. package/dist/esm/gux-avatar-group-beta.entry.js +1 -1
  174. package/dist/esm/gux-avatar-group-item-beta.entry.js +1 -1
  175. package/dist/esm/gux-badge.entry.js +1 -1
  176. package/dist/esm/gux-blank-state-beta.entry.js +1 -1
  177. package/dist/esm/gux-blank-state.entry.js +1 -1
  178. package/dist/esm/gux-breadcrumbs.entry.js +1 -1
  179. package/dist/esm/gux-button-multi.entry.js +1 -1
  180. package/dist/esm/gux-button-slot.entry.js +1 -1
  181. package/dist/esm/gux-button_2.entry.js +1 -1
  182. package/dist/esm/gux-calendar.entry.js +12 -3
  183. package/dist/esm/gux-card.entry.js +1 -1
  184. package/dist/esm/gux-cloud-logo-beta.entry.js +1 -1
  185. package/dist/esm/gux-cloud-logomark-beta.entry.js +1 -1
  186. package/dist/esm/gux-column-manager.entry.js +1 -1
  187. package/dist/esm/gux-content-search.entry.js +1 -1
  188. package/dist/esm/gux-context-menu.entry.js +1 -1
  189. package/dist/esm/gux-copy-to-clipboard.entry.js +1 -1
  190. package/dist/esm/gux-date-beta.entry.js +1 -1
  191. package/dist/esm/gux-date-time-beta.entry.js +1 -1
  192. package/dist/esm/gux-datepicker.entry.js +17 -4
  193. package/dist/esm/gux-disclosure-button-legacy.entry.js +1 -1
  194. package/dist/esm/gux-dismiss-button.entry.js +1 -1
  195. package/dist/esm/gux-dropdown-multi.entry.js +2 -10
  196. package/dist/esm/gux-dropdown_3.entry.js +3 -8
  197. package/dist/esm/gux-file-list-item.entry.js +1 -1
  198. package/dist/esm/gux-flag-icon-beta.entry.js +1 -1
  199. package/dist/esm/gux-flyout-menu.entry.js +1 -1
  200. package/dist/esm/gux-form-field-checkbox-group-beta.entry.js +1 -1
  201. package/dist/esm/gux-form-field-checkbox.entry.js +2 -2
  202. package/dist/esm/gux-form-field-color.entry.js +2 -2
  203. package/dist/esm/gux-form-field-dropdown.entry.js +2 -2
  204. package/dist/esm/gux-form-field-file-beta.entry.js +2 -2
  205. package/dist/esm/gux-form-field-file.entry.js +2 -2
  206. package/dist/esm/gux-form-field-input-clear-button.entry.js +1 -1
  207. package/dist/esm/gux-form-field-label-indicator.entry.js +1 -1
  208. package/dist/esm/gux-form-field-number_2.entry.js +21 -9
  209. package/dist/esm/gux-form-field-phone.entry.js +2 -2
  210. package/dist/esm/gux-form-field-radio-group-beta.entry.js +1 -1
  211. package/dist/esm/gux-form-field-radio.entry.js +2 -2
  212. package/dist/esm/gux-form-field-range.entry.js +2 -2
  213. package/dist/esm/gux-form-field-search.entry.js +2 -2
  214. package/dist/esm/gux-form-field-select.entry.js +2 -2
  215. package/dist/esm/gux-form-field-text-like.entry.js +24 -28
  216. package/dist/esm/gux-form-field-textarea.entry.js +59 -8
  217. package/dist/esm/gux-form-field-time-picker.entry.js +2 -2
  218. package/dist/esm/gux-form-field-time-zone-picker.entry.js +2 -2
  219. package/dist/esm/{gux-form-field.service-C8ZnDb1J.js → gux-form-field.service-sLFedBTg.js} +1 -1
  220. package/dist/esm/gux-form-footer.entry.js +1 -1
  221. package/dist/esm/gux-icon-tooltip-beta.entry.js +1 -1
  222. package/dist/esm/gux-icon.entry.js +1 -1
  223. package/dist/esm/gux-illustration-beta.entry.js +1 -1
  224. package/dist/esm/gux-inline-alert.entry.js +1 -1
  225. package/dist/esm/gux-inline-dropdown-beta.entry.js +1 -1
  226. package/dist/esm/gux-label-info-beta.entry.js +1 -1
  227. package/dist/esm/gux-link-beta.entry.js +1 -1
  228. package/dist/esm/gux-list.entry.js +1 -1
  229. package/dist/esm/gux-listbox-multi.entry.js +1 -1
  230. package/dist/esm/gux-loading-message.entry.js +1 -1
  231. package/dist/esm/gux-logo-beta.entry.js +1 -1
  232. package/dist/esm/gux-logomark-beta.entry.js +1 -1
  233. package/dist/esm/gux-modal-legacy.entry.js +1 -1
  234. package/dist/esm/gux-modal-side-panel-beta.entry.js +1 -1
  235. package/dist/esm/gux-modal.entry.js +1 -1
  236. package/dist/esm/gux-month-picker-beta.entry.js +1 -1
  237. package/dist/esm/gux-notification-indicator-beta.entry.js +1 -1
  238. package/dist/esm/gux-notification-toast-legacy.entry.js +1 -1
  239. package/dist/esm/gux-page-loading-spinner.entry.js +1 -1
  240. package/dist/esm/gux-pagination-cursor.entry.js +1 -1
  241. package/dist/esm/gux-pagination-legacy.entry.js +1 -1
  242. package/dist/esm/gux-pagination.entry.js +6 -2
  243. package/dist/esm/gux-phone-input-beta.entry.js +1 -1
  244. package/dist/esm/gux-popover-beta.entry.js +18 -3
  245. package/dist/esm/gux-popover-list-beta.entry.js +18 -3
  246. package/dist/esm/gux-popover-list.entry.js +1 -1
  247. package/dist/esm/gux-prompt-input-beta.entry.js +1 -1
  248. package/dist/esm/gux-radial-loading.entry.js +1 -1
  249. package/dist/esm/gux-radial-progress.entry.js +1 -1
  250. package/dist/esm/gux-rating.entry.js +1 -1
  251. package/dist/esm/gux-rich-highlight-list-item.entry.js +1 -1
  252. package/dist/esm/gux-rich-style-list-item_3.entry.js +1 -1
  253. package/dist/esm/gux-rich-text-editor-action-link.entry.js +1 -1
  254. package/dist/esm/gux-rich-text-editor-action-rich-style.entry.js +1 -1
  255. package/dist/esm/gux-rich-text-editor-action-text-highlight.entry.js +1 -1
  256. package/dist/esm/gux-rich-text-editor-action.entry.js +1 -1
  257. package/dist/esm/gux-rich-text-editor-beta.entry.js +1 -1
  258. package/dist/esm/gux-rich-text-editor-list.entry.js +1 -1
  259. package/dist/esm/gux-screen-reader-beta.entry.js +1 -1
  260. package/dist/esm/gux-segmented-control-beta.entry.js +1 -1
  261. package/dist/esm/gux-selector-card-beta.entry.js +2 -2
  262. package/dist/esm/gux-selector-cards-beta.entry.js +1 -1
  263. package/dist/esm/gux-side-panel-beta.entry.js +1 -1
  264. package/dist/esm/gux-side-panel-header-mini.entry.js +1 -1
  265. package/dist/esm/gux-side-panel-header.entry.js +1 -1
  266. package/dist/esm/gux-side-panel-heading.entry.js +1 -1
  267. package/dist/esm/gux-simple-toast-legacy.entry.js +1 -1
  268. package/dist/esm/gux-skip-navigation-list.entry.js +1 -1
  269. package/dist/esm/gux-sort-control.entry.js +1 -1
  270. package/dist/esm/gux-status-indicator-beta.entry.js +1 -1
  271. package/dist/esm/gux-step-title.entry.js +1 -1
  272. package/dist/esm/gux-step.entry.js +1 -1
  273. package/dist/esm/gux-stepper-beta.entry.js +1 -1
  274. package/dist/esm/gux-switch-legacy.entry.js +1 -1
  275. package/dist/esm/gux-table-toolbar-action.entry.js +1 -1
  276. package/dist/esm/gux-table-toolbar-custom-action.entry.js +1 -1
  277. package/dist/esm/gux-table-toolbar-menu-button.entry.js +1 -1
  278. package/dist/esm/gux-table-toolbar.entry.js +9 -3
  279. package/dist/esm/gux-table.entry.js +1 -1
  280. package/dist/esm/gux-tabs-advanced.entry.js +1 -1
  281. package/dist/esm/gux-tabs.entry.js +1 -1
  282. package/dist/esm/gux-tag.entry.js +1 -1
  283. package/dist/esm/gux-text-highlight.entry.js +1 -1
  284. package/dist/esm/gux-time-beta.entry.js +1 -1
  285. package/dist/esm/gux-time-picker.entry.js +1 -1
  286. package/dist/esm/gux-time-zone-beta.entry.js +1 -1
  287. package/dist/esm/gux-time-zone-picker-beta.entry.js +1 -1
  288. package/dist/esm/gux-toast.entry.js +1 -1
  289. package/dist/esm/gux-toggle.entry.js +10 -3
  290. package/dist/esm/gux-tooltip-base-beta_2.entry.js +1 -1
  291. package/dist/esm/gux-tooltip-pointer-beta.entry.js +1 -1
  292. package/dist/esm/gux-tooltip-title.entry.js +5 -6
  293. package/dist/esm/gux-tooltip_2.entry.js +1 -1
  294. package/dist/esm/gux-tree-beta.entry.js +25 -3
  295. package/dist/esm/gux-tree-multi-beta.entry.js +24 -6
  296. package/dist/esm/index-CW7z6RPd.js +4 -4
  297. package/dist/esm/loader.js +1 -1
  298. package/dist/esm/{usage-ByN57IpV.js → usage-DfUlhgkE.js} +1 -1
  299. package/dist/genesys-webcomponents/genesys-webcomponents.esm.js +1 -1
  300. package/dist/genesys-webcomponents/{p-02361c47.entry.js → p-04719870.entry.js} +1 -1
  301. package/dist/genesys-webcomponents/{p-c6c4817d.entry.js → p-0645b675.entry.js} +1 -1
  302. package/dist/genesys-webcomponents/{p-098ef6f2.entry.js → p-06b7430f.entry.js} +1 -1
  303. package/dist/genesys-webcomponents/{p-b4460d5e.entry.js → p-071cb03d.entry.js} +1 -1
  304. package/dist/genesys-webcomponents/{p-78222786.entry.js → p-0a7bb229.entry.js} +1 -1
  305. package/dist/genesys-webcomponents/{p-0f1ce7e9.entry.js → p-0a8eca3d.entry.js} +1 -1
  306. package/dist/genesys-webcomponents/{p-c5bab871.entry.js → p-0acf6f8f.entry.js} +1 -1
  307. package/dist/genesys-webcomponents/{p-9d38465d.entry.js → p-0adc907c.entry.js} +1 -1
  308. package/dist/genesys-webcomponents/{p-a7b17ea8.entry.js → p-0cbe8afe.entry.js} +1 -1
  309. package/dist/genesys-webcomponents/p-0ea578d5.entry.js +1 -0
  310. package/dist/genesys-webcomponents/{p-0985c326.entry.js → p-0edc4350.entry.js} +1 -1
  311. package/dist/genesys-webcomponents/p-0f03a32d.entry.js +1 -0
  312. package/dist/genesys-webcomponents/{p-d15a411d.entry.js → p-128f200c.entry.js} +1 -1
  313. package/dist/genesys-webcomponents/{p-3458dbee.entry.js → p-12aa75e1.entry.js} +1 -1
  314. package/dist/genesys-webcomponents/{p-8e6d5dc4.entry.js → p-145773b2.entry.js} +1 -1
  315. package/dist/genesys-webcomponents/{p-6d6f8894.entry.js → p-1862b6af.entry.js} +1 -1
  316. package/dist/genesys-webcomponents/{p-ca887f39.entry.js → p-1b293906.entry.js} +1 -1
  317. package/dist/genesys-webcomponents/{p-1f238f4c.entry.js → p-1fee393a.entry.js} +1 -1
  318. package/dist/genesys-webcomponents/{p-7d526c31.entry.js → p-2315121f.entry.js} +1 -1
  319. package/dist/genesys-webcomponents/{p-b51e47a7.entry.js → p-234a9f8d.entry.js} +1 -1
  320. package/dist/genesys-webcomponents/{p-8ffdea10.entry.js → p-278bb520.entry.js} +1 -1
  321. package/dist/genesys-webcomponents/{p-15c8dc7f.entry.js → p-29d296e1.entry.js} +1 -1
  322. package/dist/genesys-webcomponents/{p-dd23c685.entry.js → p-2a77bfb2.entry.js} +1 -1
  323. package/dist/genesys-webcomponents/{p-727d6414.entry.js → p-2b534d4b.entry.js} +1 -1
  324. package/dist/genesys-webcomponents/p-2b63d4dc.entry.js +1 -0
  325. package/dist/genesys-webcomponents/{p-fa5c6a09.entry.js → p-2d7baec9.entry.js} +1 -1
  326. package/dist/genesys-webcomponents/{p-d1356762.entry.js → p-2e495996.entry.js} +1 -1
  327. package/dist/genesys-webcomponents/{p-9f323ef9.entry.js → p-2e4bd740.entry.js} +1 -1
  328. package/dist/genesys-webcomponents/p-2f50c518.entry.js +1 -0
  329. package/dist/genesys-webcomponents/{p-f46a4e3a.entry.js → p-3109ac8e.entry.js} +1 -1
  330. package/dist/genesys-webcomponents/{p-ca599774.entry.js → p-32c9be2f.entry.js} +1 -1
  331. package/dist/genesys-webcomponents/{p-099ec737.entry.js → p-33fba8c4.entry.js} +1 -1
  332. package/dist/genesys-webcomponents/{p-0cb9662e.entry.js → p-3680f954.entry.js} +1 -1
  333. package/dist/genesys-webcomponents/{p-61a2db98.entry.js → p-3a18b5a7.entry.js} +1 -1
  334. package/dist/genesys-webcomponents/{p-2a8b7889.entry.js → p-3b02aacf.entry.js} +1 -1
  335. package/dist/genesys-webcomponents/{p-5a084778.entry.js → p-3d4133f9.entry.js} +1 -1
  336. package/dist/genesys-webcomponents/{p-45a0d6fd.entry.js → p-3e63fd30.entry.js} +1 -1
  337. package/dist/genesys-webcomponents/{p-6c539ed9.entry.js → p-430662f3.entry.js} +1 -1
  338. package/dist/genesys-webcomponents/{p-d1eff229.entry.js → p-453f3d12.entry.js} +1 -1
  339. package/dist/genesys-webcomponents/{p-d205ce35.entry.js → p-4bc2bd7f.entry.js} +1 -1
  340. package/dist/genesys-webcomponents/p-4d51bf14.entry.js +1 -0
  341. package/dist/genesys-webcomponents/{p-691b1bcc.entry.js → p-4e693326.entry.js} +1 -1
  342. package/dist/genesys-webcomponents/{p-4314a614.entry.js → p-51d25e14.entry.js} +1 -1
  343. package/dist/genesys-webcomponents/{p-436bd268.entry.js → p-5584e7f7.entry.js} +1 -1
  344. package/dist/genesys-webcomponents/{p-3a5d27f2.entry.js → p-5b6b5f7b.entry.js} +1 -1
  345. package/dist/genesys-webcomponents/{p-7bb67ae0.entry.js → p-5c7e39d7.entry.js} +1 -1
  346. package/dist/genesys-webcomponents/p-5da46ea3.entry.js +1 -0
  347. package/dist/genesys-webcomponents/{p-4e8e836c.entry.js → p-5e84d30c.entry.js} +1 -1
  348. package/dist/genesys-webcomponents/{p-88b388da.entry.js → p-5eac08d5.entry.js} +1 -1
  349. package/dist/genesys-webcomponents/{p-728062f3.entry.js → p-5eea5813.entry.js} +1 -1
  350. package/dist/genesys-webcomponents/{p-14b86086.entry.js → p-6121c82a.entry.js} +1 -1
  351. package/dist/genesys-webcomponents/{p-5bb51834.entry.js → p-64912f7e.entry.js} +1 -1
  352. package/dist/genesys-webcomponents/{p-4faf66b2.entry.js → p-690ecf83.entry.js} +1 -1
  353. package/dist/genesys-webcomponents/{p-dce99245.entry.js → p-6a9b2eda.entry.js} +1 -1
  354. package/dist/genesys-webcomponents/{p-b81ac826.entry.js → p-713fdb58.entry.js} +1 -1
  355. package/dist/genesys-webcomponents/{p-c55e7c55.entry.js → p-7362a8e7.entry.js} +1 -1
  356. package/dist/genesys-webcomponents/{p-29ba38ff.entry.js → p-77228b58.entry.js} +1 -1
  357. package/dist/genesys-webcomponents/{p-7ba6948a.entry.js → p-7832b9e5.entry.js} +1 -1
  358. package/dist/genesys-webcomponents/{p-2a482fc0.entry.js → p-79e95ae2.entry.js} +1 -1
  359. package/dist/genesys-webcomponents/{p-66dfc0c6.entry.js → p-7c15e19c.entry.js} +1 -1
  360. package/dist/genesys-webcomponents/{p-6b2618f0.entry.js → p-7c812071.entry.js} +1 -1
  361. package/dist/genesys-webcomponents/{p-b975fbf2.entry.js → p-7d0aa64b.entry.js} +1 -1
  362. package/dist/genesys-webcomponents/{p-34e45384.entry.js → p-7eb65071.entry.js} +1 -1
  363. package/dist/genesys-webcomponents/{p-57a92ea6.entry.js → p-85b501d7.entry.js} +1 -1
  364. package/dist/genesys-webcomponents/p-8a0997f8.entry.js +1 -0
  365. package/dist/genesys-webcomponents/{p-1c680637.entry.js → p-8a72aa5b.entry.js} +1 -1
  366. package/dist/genesys-webcomponents/{p-553c836b.entry.js → p-8accd068.entry.js} +1 -1
  367. package/dist/genesys-webcomponents/{p-8afe553b.entry.js → p-90e5840f.entry.js} +1 -1
  368. package/dist/genesys-webcomponents/{p-cadd5957.entry.js → p-9726df01.entry.js} +1 -1
  369. package/dist/genesys-webcomponents/{p-7a1153b2.entry.js → p-9b02cb1b.entry.js} +1 -1
  370. package/dist/genesys-webcomponents/{p-2532d0cc.entry.js → p-9b587053.entry.js} +1 -1
  371. package/dist/genesys-webcomponents/{p-4f01f159.entry.js → p-9d6fb7ad.entry.js} +1 -1
  372. package/dist/genesys-webcomponents/{p-3296a04b.entry.js → p-9eaf0ef2.entry.js} +1 -1
  373. package/dist/genesys-webcomponents/p-B6WAsigp.js +1 -0
  374. package/dist/genesys-webcomponents/{p-ByN57IpV.js → p-DfUlhgkE.js} +1 -1
  375. package/dist/genesys-webcomponents/{p-7Jfa0k54.js → p-KdigjDpl.js} +1 -1
  376. package/dist/genesys-webcomponents/p-a229a1c4.entry.js +1 -0
  377. package/dist/genesys-webcomponents/{p-d927d275.entry.js → p-a26d2174.entry.js} +1 -1
  378. package/dist/genesys-webcomponents/{p-fea3d9b0.entry.js → p-a7535c62.entry.js} +1 -1
  379. package/dist/genesys-webcomponents/{p-c07befcc.entry.js → p-a7e1cba1.entry.js} +1 -1
  380. package/dist/genesys-webcomponents/{p-151aec2a.entry.js → p-a962614c.entry.js} +1 -1
  381. package/dist/genesys-webcomponents/{p-54ee0950.entry.js → p-ab4d6751.entry.js} +1 -1
  382. package/dist/genesys-webcomponents/p-aca1eaac.entry.js +1 -0
  383. package/dist/genesys-webcomponents/{p-8805d2c8.entry.js → p-acab9968.entry.js} +1 -1
  384. package/dist/genesys-webcomponents/{p-98058e58.entry.js → p-acae1f81.entry.js} +1 -1
  385. package/dist/genesys-webcomponents/{p-62dbf47f.entry.js → p-acc0348a.entry.js} +1 -1
  386. package/dist/genesys-webcomponents/{p-514e4a53.entry.js → p-ae4440e6.entry.js} +1 -1
  387. package/dist/genesys-webcomponents/{p-7ad79502.entry.js → p-b1830d23.entry.js} +1 -1
  388. package/dist/genesys-webcomponents/{p-1394376a.entry.js → p-b1d1e33c.entry.js} +1 -1
  389. package/dist/genesys-webcomponents/{p-504318a5.entry.js → p-b2e06812.entry.js} +1 -1
  390. package/dist/genesys-webcomponents/{p-ef07ae93.entry.js → p-b4ed9f43.entry.js} +1 -1
  391. package/dist/genesys-webcomponents/{p-5c13316b.entry.js → p-b6fcb406.entry.js} +1 -1
  392. package/dist/genesys-webcomponents/{p-754ed872.entry.js → p-be2b897c.entry.js} +1 -1
  393. package/dist/genesys-webcomponents/{p-95ccb5f4.entry.js → p-be3a4f6c.entry.js} +1 -1
  394. package/dist/genesys-webcomponents/{p-141b1067.entry.js → p-be3bd92f.entry.js} +1 -1
  395. package/dist/genesys-webcomponents/p-bea830d6.entry.js +1 -0
  396. package/dist/genesys-webcomponents/{p-4bdfbbc5.entry.js → p-bed807b2.entry.js} +1 -1
  397. package/dist/genesys-webcomponents/{p-134d85be.entry.js → p-c1ab3609.entry.js} +1 -1
  398. package/dist/genesys-webcomponents/{p-5f9e9a05.entry.js → p-c5b410ba.entry.js} +1 -1
  399. package/dist/genesys-webcomponents/{p-cf58f1a2.entry.js → p-c9c1a672.entry.js} +1 -1
  400. package/dist/genesys-webcomponents/{p-85b1bccf.entry.js → p-cb40033a.entry.js} +1 -1
  401. package/dist/genesys-webcomponents/{p-e41d9a44.entry.js → p-cbf24588.entry.js} +1 -1
  402. package/dist/genesys-webcomponents/{p-30de22f9.entry.js → p-d2c076d9.entry.js} +1 -1
  403. package/dist/genesys-webcomponents/{p-c150b385.entry.js → p-d3aeb84f.entry.js} +1 -1
  404. package/dist/genesys-webcomponents/{p-0ef0fd78.entry.js → p-d559de47.entry.js} +1 -1
  405. package/dist/genesys-webcomponents/{p-a65a5796.entry.js → p-d5dd075c.entry.js} +1 -1
  406. package/dist/genesys-webcomponents/{p-95c3f74b.entry.js → p-d5f3c933.entry.js} +1 -1
  407. package/dist/genesys-webcomponents/p-d75e0dbc.entry.js +1 -0
  408. package/dist/genesys-webcomponents/{p-fc151df5.entry.js → p-d94d4094.entry.js} +1 -1
  409. package/dist/genesys-webcomponents/{p-543d6f42.entry.js → p-daeb237c.entry.js} +1 -1
  410. package/dist/genesys-webcomponents/{p-0606fd6f.entry.js → p-ddac1570.entry.js} +1 -1
  411. package/dist/genesys-webcomponents/{p-8156ce05.entry.js → p-de9525b7.entry.js} +1 -1
  412. package/dist/genesys-webcomponents/{p-f71af6a1.entry.js → p-df046c41.entry.js} +1 -1
  413. package/dist/genesys-webcomponents/{p-5c6af619.entry.js → p-df557e1e.entry.js} +1 -1
  414. package/dist/genesys-webcomponents/{p-c1b3009c.entry.js → p-dfc98dab.entry.js} +1 -1
  415. package/dist/genesys-webcomponents/{p-06e90b84.entry.js → p-e113ae45.entry.js} +1 -1
  416. package/dist/genesys-webcomponents/{p-fb83d98c.entry.js → p-e18bf7b6.entry.js} +1 -1
  417. package/dist/genesys-webcomponents/{p-0cf04166.entry.js → p-e1b689a1.entry.js} +1 -1
  418. package/dist/genesys-webcomponents/{p-c0ab40d8.entry.js → p-e34f3916.entry.js} +1 -1
  419. package/dist/genesys-webcomponents/{p-26233913.entry.js → p-e3c08e4d.entry.js} +1 -1
  420. package/dist/genesys-webcomponents/p-e42233ec.entry.js +1 -0
  421. package/dist/genesys-webcomponents/p-e498bb5f.entry.js +1 -0
  422. package/dist/genesys-webcomponents/{p-c43c986e.entry.js → p-e5c4bf56.entry.js} +1 -1
  423. package/dist/genesys-webcomponents/{p-56b52d65.entry.js → p-e9c68dfd.entry.js} +1 -1
  424. package/dist/genesys-webcomponents/{p-4e5f58bf.entry.js → p-ebb20d18.entry.js} +1 -1
  425. package/dist/genesys-webcomponents/{p-54eb410a.entry.js → p-ed557eda.entry.js} +1 -1
  426. package/dist/genesys-webcomponents/{p-5c4ac516.entry.js → p-eef6f265.entry.js} +1 -1
  427. package/dist/genesys-webcomponents/p-ef2f0321.entry.js +1 -0
  428. package/dist/genesys-webcomponents/{p-d14fdcd1.entry.js → p-f5e9f927.entry.js} +1 -1
  429. package/dist/genesys-webcomponents/{p-cf60c394.entry.js → p-f776ab65.entry.js} +1 -1
  430. package/dist/genesys-webcomponents/{p-39700ceb.entry.js → p-f9b9c46a.entry.js} +1 -1
  431. package/dist/genesys-webcomponents/{p-f29231bc.entry.js → p-fa0ca677.entry.js} +1 -1
  432. package/dist/genesys-webcomponents/{p-69408f1a.entry.js → p-fc404b1d.entry.js} +1 -1
  433. package/dist/genesys-webcomponents/{p-17c19bce.entry.js → p-fd5703b0.entry.js} +1 -1
  434. package/dist/genesys-webcomponents/p-fe780836.entry.js +1 -0
  435. package/dist/genesys-webcomponents/{p-9670baf9.entry.js → p-ff339015.entry.js} +1 -1
  436. package/dist/genesys-webcomponents/{p-d28b084e.entry.js → p-ff661751.entry.js} +1 -1
  437. package/dist/stencil-wrapper.js +1 -1
  438. package/dist/types/components/beta/gux-popover-beta/gux-popover.d.ts +1 -0
  439. package/dist/types/components/beta/gux-popover-list-beta/gux-popover-list.d.ts +1 -0
  440. package/dist/types/components/beta/gux-tree/gux-tree.d.ts +1 -0
  441. package/dist/types/components/beta/gux-tree-multi/gux-tree-multi.d.ts +1 -0
  442. package/dist/types/components/stable/gux-calendar/gux-calendar.d.ts +1 -0
  443. package/dist/types/components/stable/gux-datepicker/gux-datepicker.d.ts +1 -0
  444. package/dist/types/components/stable/gux-form-field/components/gux-form-field-text-like/gux-form-field-text-like.d.ts +4 -2
  445. package/dist/types/components/stable/gux-form-field/components/gux-form-field-textarea/gux-form-field-textarea.d.ts +13 -2
  446. package/dist/types/components/stable/gux-toggle/gux-toggle.d.ts +1 -0
  447. package/dist/types/components/stable/gux-tooltip-title/gux-tooltip-title.d.ts +0 -1
  448. package/dist/types/components.d.ts +29 -2
  449. package/dist/types/stencil-wrapper.d.ts +1 -1
  450. package/package.json +1 -1
  451. package/dist/genesys-webcomponents/p-071a69ab.entry.js +0 -1
  452. package/dist/genesys-webcomponents/p-1381c88f.entry.js +0 -1
  453. package/dist/genesys-webcomponents/p-1c3289c2.entry.js +0 -1
  454. package/dist/genesys-webcomponents/p-26655b22.entry.js +0 -1
  455. package/dist/genesys-webcomponents/p-384917c5.entry.js +0 -1
  456. package/dist/genesys-webcomponents/p-4b81700e.entry.js +0 -1
  457. package/dist/genesys-webcomponents/p-5a985eb1.entry.js +0 -1
  458. package/dist/genesys-webcomponents/p-5bdf4479.entry.js +0 -1
  459. package/dist/genesys-webcomponents/p-847e9218.entry.js +0 -1
  460. package/dist/genesys-webcomponents/p-97260bce.entry.js +0 -1
  461. package/dist/genesys-webcomponents/p-98ab0940.entry.js +0 -1
  462. package/dist/genesys-webcomponents/p-b55819db.entry.js +0 -1
  463. package/dist/genesys-webcomponents/p-c5a10f6f.entry.js +0 -1
  464. package/dist/genesys-webcomponents/p-db503cad.entry.js +0 -1
  465. package/dist/genesys-webcomponents/p-f0383931.entry.js +0 -1
@@ -1 +1 @@
1
- import{r as e,h as i,a as t}from"./p-CW7z6RPd.js";import{b as o}from"./p-DYtJNWnZ.js";import{O as r}from"./p-QDdMA8yS.js";import{o as l}from"./p-De1NnCmO.js";import{h as s}from"./p-qzV3vtOw.js";import{G as a,a as n}from"./p-PyAf0Vv-.js";import{G as f,a as h,b as d}from"./p-B00vXHqr.js";import{g as u}from"./p-MAoEg4ig.js";import{b as p,s as c,g}from"./p-7Jfa0k54.js";import{t as m}from"./p-ByN57IpV.js";import"./p-Cd4R0amv.js";import"./p-D9jKBqIb.js";import"./p-DxtJDeL9.js";import"./p-BMRf5pjV.js";var b={required:"Required"};const x=class{constructor(i){e(this,i),this.indicatorMark="required",this.computedLabelPosition="above",this.hasError=!1,this.hasHelp=!1,this.hasLabelInfo=!1}watchValue(e){const i=this.root.querySelector("gux-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;switch(e.key){case"Tab":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));break;case"Shift":break;default: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})}connectedCallback(){this.hasError=s(this.root,"error"),this.hasHelp=s(this.root,"help")}disconnectedCallback(){this.requiredObserver&&this.requiredObserver.disconnect()}renderText(e,i=!1){if(i)return" "+e}render(){var e;return i(d,{key:"b01965068cf59175e6f5e7392e31ff0e6aff389f",labelPosition:this.computedLabelPosition},i(h,{key:"7e9b9776b487e2fd48e4b76ea32b4c264bc089ec"},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:"8a4cb37933f112613e2772ebe0ecbf3cca4e4d31",position:this.computedLabelPosition,required:this.required},i("slot",{key:"cb7c431f9903b66e9397631ca5c066f8018f6f16",name:"label",onSlotchange:()=>this.setLabel()}),i("gux-form-field-label-indicator",{key:"91d5befc7b4f818c117296ef579e1bc0154d8dfd",variant:this.indicatorMark,required:this.required}),i("slot",{key:"56d2513d6e728ebf8211c50d8ba61b952607345d",name:"label-info"})),i("div",{key:"50812ca048b07dc35b192feab2b88ec5fad68783",class:"gux-input-and-error-container"},i("div",{key:"c7c276d3b2896151632032d82855107949d1ddff",class:{"gux-input":!0,"gux-input-error":this.hasError}},i("slot",{key:"322f9dc24ea62313e75a092d837bac674870339d"})),i(a,{key:"4f5da9e2a78c5fcb1c7b01c43290a81d5ba1bf68",show:this.hasError},i("slot",{key:"3683882aa43dfe2e895ec13e7d88b489fc489828",name:"error"})),i(n,{key:"3ca707791fdc95365c34a1535784e726303c6cab",show:!this.hasError&&this.hasHelp},i("slot",{key:"5530f2bba8dca9fdbe6975945d40be9a85acdfee",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})),p(this.root,this.listboxElement,"label"),c(this.root,this.listboxElement,"error"),c(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:0}]}}};(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 0 auto;order:0;color:var(--gse-ui-formControl-helper-errorColor)}.gux-form-field-error .gux-message{flex:0 1 auto;align-self:auto;order:0}.gux-form-field-help{display:none;flex-direction:row;flex-wrap:nowrap;place-content:stretch flex-start;align-items:flex-start;justify-content:flex-start;padding-block-start:var(--gse-ui-formControl-formField-gap);font-family:var(--gse-ui-formControl-helper-helperText-fontFamily);font-size:var(--gse-ui-formControl-helper-helperText-fontSize);line-height:var(--gse-ui-formControl-helper-helperText-lineHeight);color:var(--gse-ui-formControl-helper-defaultColor)}.gux-form-field-help.gux-show{display:flex}.gux-form-field-help .gux-message{flex:0 1 auto;align-self:none;order:0}.gux-form-field-visual-label{display:inline-flex;flex:1 0 auto}.gux-form-field-visual-label ::slotted(label){min-inline-size:0}.gux-form-field-visual-label ::slotted(gux-label-info-beta){padding-inline-start:var(--gse-ui-formControl-formField-gap)}.gux-form-field-visual-label.gux-beside{position:relative;inset-block-start:var(--gse-ui-formControl-input-top);inline-size:fit-content;min-inline-size:var(--gse-ui-formControl-input-textfield-minWidth);max-inline-size:fit-content;margin-inline-end:var(--gse-ui-formControl-group-gapItems)}.gux-form-field-visual-label.gux-above{padding-block-end:var(--gse-ui-formControl-formField-gap)}.gux-form-field-visual-label.gux-screenreader{display:none}.gux-form-field-screenreader-label{position:absolute;top:auto;left:-10000px;width:1px;height:1px;overflow:hidden}:host{display:block}::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,a as t}from"./p-CW7z6RPd.js";import{b as o}from"./p-DYtJNWnZ.js";import{O as r}from"./p-QDdMA8yS.js";import{o as l}from"./p-De1NnCmO.js";import{h as s}from"./p-qzV3vtOw.js";import{G as a,a as n}from"./p-PyAf0Vv-.js";import{G as f,a as h,b as d}from"./p-B00vXHqr.js";import{g as u}from"./p-MAoEg4ig.js";import{d as p,b as c,g}from"./p-KdigjDpl.js";import{t as m}from"./p-DfUlhgkE.js";import"./p-Cd4R0amv.js";import"./p-D9jKBqIb.js";import"./p-DxtJDeL9.js";import"./p-BMRf5pjV.js";var b={required:"Required"};const x=class{constructor(i){e(this,i),this.indicatorMark="required",this.computedLabelPosition="above",this.hasError=!1,this.hasHelp=!1,this.hasLabelInfo=!1}watchValue(e){const i=this.root.querySelector("gux-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;switch(e.key){case"Tab":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));break;case"Shift":break;default: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})}connectedCallback(){this.hasError=s(this.root,"error"),this.hasHelp=s(this.root,"help")}disconnectedCallback(){this.requiredObserver&&this.requiredObserver.disconnect()}renderText(e,i=!1){if(i)return" "+e}render(){var e;return i(d,{key:"b01965068cf59175e6f5e7392e31ff0e6aff389f",labelPosition:this.computedLabelPosition},i(h,{key:"7e9b9776b487e2fd48e4b76ea32b4c264bc089ec"},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:"8a4cb37933f112613e2772ebe0ecbf3cca4e4d31",position:this.computedLabelPosition,required:this.required},i("slot",{key:"cb7c431f9903b66e9397631ca5c066f8018f6f16",name:"label",onSlotchange:()=>this.setLabel()}),i("gux-form-field-label-indicator",{key:"91d5befc7b4f818c117296ef579e1bc0154d8dfd",variant:this.indicatorMark,required:this.required}),i("slot",{key:"56d2513d6e728ebf8211c50d8ba61b952607345d",name:"label-info"})),i("div",{key:"50812ca048b07dc35b192feab2b88ec5fad68783",class:"gux-input-and-error-container"},i("div",{key:"c7c276d3b2896151632032d82855107949d1ddff",class:{"gux-input":!0,"gux-input-error":this.hasError}},i("slot",{key:"322f9dc24ea62313e75a092d837bac674870339d"})),i(a,{key:"4f5da9e2a78c5fcb1c7b01c43290a81d5ba1bf68",show:this.hasError},i("slot",{key:"3683882aa43dfe2e895ec13e7d88b489fc489828",name:"error"})),i(n,{key:"3ca707791fdc95365c34a1535784e726303c6cab",show:!this.hasError&&this.hasHelp},i("slot",{key:"5530f2bba8dca9fdbe6975945d40be9a85acdfee",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})),p(this.root,this.listboxElement,"label"),c(this.root,this.listboxElement,"error"),c(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:0}]}}};(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 0 auto;order:0;color:var(--gse-ui-formControl-helper-errorColor)}.gux-form-field-error .gux-message{flex:0 1 auto;align-self:auto;order:0}.gux-form-field-help{display:none;flex-direction:row;flex-wrap:nowrap;place-content:stretch flex-start;align-items:flex-start;justify-content:flex-start;padding-block-start:var(--gse-ui-formControl-formField-gap);font-family:var(--gse-ui-formControl-helper-helperText-fontFamily);font-size:var(--gse-ui-formControl-helper-helperText-fontSize);line-height:var(--gse-ui-formControl-helper-helperText-lineHeight);color:var(--gse-ui-formControl-helper-defaultColor)}.gux-form-field-help.gux-show{display:flex}.gux-form-field-help .gux-message{flex:0 1 auto;align-self:none;order:0}.gux-form-field-visual-label{display:inline-flex;flex:1 0 auto}.gux-form-field-visual-label ::slotted(label){min-inline-size:0}.gux-form-field-visual-label ::slotted(gux-label-info-beta){padding-inline-start:var(--gse-ui-formControl-formField-gap)}.gux-form-field-visual-label.gux-beside{position:relative;inset-block-start:var(--gse-ui-formControl-input-top);inline-size:fit-content;min-inline-size:var(--gse-ui-formControl-input-textfield-minWidth);max-inline-size:fit-content;margin-inline-end:var(--gse-ui-formControl-group-gapItems)}.gux-form-field-visual-label.gux-above{padding-block-end:var(--gse-ui-formControl-formField-gap)}.gux-form-field-visual-label.gux-screenreader{display:none}.gux-form-field-screenreader-label{position:absolute;top:auto;left:-10000px;width:1px;height:1px;overflow:hidden}:host{display:block}::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{e,r,h as a,a as l}from"./p-CW7z6RPd.js";import{t as o}from"./p-ByN57IpV.js";import{a as s}from"./p-DxtJDeL9.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)});try{await this.prepIcon(this.iconName)}catch(e){s(this.root,`Failed to load "${this.iconName}"icon: ${e}`)}}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:"45d058e63ea86457a74e48f7a4b1b5ebb5f81aed",class:"gux-icon-container",innerHTML:this.svgHtml})}static get assetsDirs(){return["icons"]}get root(){return l(this)}static get watchers(){return{iconName:[{prepIcon:0}],decorative:[{watchDecorative:0}],screenreaderText:[{watchScreenreaderText:0}]}}};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%;block-size:100%}.gux-icon-container svg{inline-size:100%;block-size:100%;fill:currentcolor}";export{n as gux_icon}
1
+ import{e,r,h as a,a as l}from"./p-CW7z6RPd.js";import{t as o}from"./p-DfUlhgkE.js";import{a as s}from"./p-DxtJDeL9.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)});try{await this.prepIcon(this.iconName)}catch(e){s(this.root,`Failed to load "${this.iconName}"icon: ${e}`)}}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:"45d058e63ea86457a74e48f7a4b1b5ebb5f81aed",class:"gux-icon-container",innerHTML:this.svgHtml})}static get assetsDirs(){return["icons"]}get root(){return l(this)}static get watchers(){return{iconName:[{prepIcon:0}],decorative:[{watchDecorative:0}],screenreaderText:[{watchScreenreaderText:0}]}}};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%;block-size:100%}.gux-icon-container svg{inline-size:100%;block-size:100%;fill:currentcolor}";export{n as gux_icon}
@@ -1 +1 @@
1
- import{r as e,h as a,a as i}from"./p-CW7z6RPd.js";import{t as n}from"./p-ByN57IpV.js";const g=class{constructor(a){e(this,a)}componentWillLoad(){n(this.root)}render(){return a("div",{key:"1e7c31a983d91ca67452e87046527224295f3089",class:"gux-container",role:"alert","aria-live":"assertive"},a("div",{key:"415c84a70c8f7bfed7e091725a79144b363c81df",class:"gux-progress"},a("slot",{key:"72fe311dc78f7e76d17a3131e9efc18735a33328",name:"progress"})),a("div",{key:"977009b7ccd157a971ddc647a9fc7501a8ed82f9",class:"gux-primary-message"},a("slot",{key:"0cd205ce2bb6ad45f8361d7dd7f19f63e0e6ee6b",name:"primary-message"})),a("div",{key:"abccd97e5979489a27b1ad4286657323dbc1acbb",class:"gux-additional-guidance"},a("slot",{key:"e0215eb1d2e67d7feddf6109b674ea93437eaada",name:"additional-guidance"})))}get root(){return i(this)}};g.style=":host{display:flex;flex-direction:column;align-items:center;justify-content:center;container-type:inline-size}.gux-container{display:flex;flex-direction:column;align-items:center;justify-content:center;max-inline-size:var(--gse-ui-progressAndLoading-loadingState-large-width);color:var(--gse-ui-progressAndLoading-textColor);text-align:center}@container (width > 400px){.gux-container .gux-primary-message{margin-block-start:var(--gse-ui-progressAndLoading-large-gap);font-family:var(--gse-ui-progressAndLoading-loadingState-large-header-fontFamily);font-size:var(--gse-ui-progressAndLoading-loadingState-large-header-fontSize);font-weight:var(--gse-ui-progressAndLoading-loadingState-large-header-fontWeight);line-height:var(--gse-ui-progressAndLoading-loadingState-large-header-lineHeight)}.gux-container .gux-additional-guidance{margin-block-start:var(--gse-ui-progressAndLoading-large-gapText);font-family:var(--gse-ui-progressAndLoading-loadingState-large-subheader-fontFamily);font-size:var(--gse-ui-progressAndLoading-loadingState-large-subheader-fontSize);font-weight:var(--gse-ui-progressAndLoading-loadingState-large-subheader-fontWeight);line-height:var(--gse-ui-progressAndLoading-loadingState-large-subheader-lineHeight)}}@container (width > 200px) and (width <=400px){.gux-container .gux-primary-message{margin-block-start:var(--gse-ui-progressAndLoading-medium-gap);font-family:var(--gse-ui-progressAndLoading-loadingState-medium-header-fontFamily);font-size:var(--gse-ui-progressAndLoading-loadingState-medium-header-fontSize);font-weight:var(--gse-ui-progressAndLoading-loadingState-medium-header-fontWeight);line-height:var(--gse-ui-progressAndLoading-loadingState-medium-header-lineHeight)}.gux-container .gux-additional-guidance{margin-block-start:var(--gse-ui-progressAndLoading-medium-gapText);font-family:var(--gse-ui-progressAndLoading-loadingState-medium-subheader-fontFamily);font-size:var(--gse-ui-progressAndLoading-loadingState-medium-subheader-fontSize);font-weight:var(--gse-ui-progressAndLoading-loadingState-medium-subheader-fontWeight);line-height:var(--gse-ui-progressAndLoading-loadingState-medium-subheader-lineHeight)}}@container (width <=200px){.gux-container .gux-primary-message{margin-block-start:var(--gse-ui-progressAndLoading-small-gap);font-family:var(--gse-ui-progressAndLoading-loadingState-small-header-fontFamily);font-size:var(--gse-ui-progressAndLoading-loadingState-small-header-fontSize);font-weight:var(--gse-ui-progressAndLoading-loadingState-small-header-fontWeight);line-height:var(--gse-ui-progressAndLoading-loadingState-small-header-lineHeight)}.gux-container .gux-additional-guidance{margin-block-start:var(--gse-ui-progressAndLoading-small-gapText);font-family:var(--gse-ui-progressAndLoading-loadingState-small-subheader-fontFamily);font-size:var(--gse-ui-progressAndLoading-loadingState-small-subheader-fontSize);font-weight:var(--gse-ui-progressAndLoading-loadingState-small-subheader-fontWeight);line-height:var(--gse-ui-progressAndLoading-loadingState-small-subheader-lineHeight)}}";export{g as gux_loading_message}
1
+ import{r as e,h as a,a as i}from"./p-CW7z6RPd.js";import{t as n}from"./p-DfUlhgkE.js";const g=class{constructor(a){e(this,a)}componentWillLoad(){n(this.root)}render(){return a("div",{key:"1e7c31a983d91ca67452e87046527224295f3089",class:"gux-container",role:"alert","aria-live":"assertive"},a("div",{key:"415c84a70c8f7bfed7e091725a79144b363c81df",class:"gux-progress"},a("slot",{key:"72fe311dc78f7e76d17a3131e9efc18735a33328",name:"progress"})),a("div",{key:"977009b7ccd157a971ddc647a9fc7501a8ed82f9",class:"gux-primary-message"},a("slot",{key:"0cd205ce2bb6ad45f8361d7dd7f19f63e0e6ee6b",name:"primary-message"})),a("div",{key:"abccd97e5979489a27b1ad4286657323dbc1acbb",class:"gux-additional-guidance"},a("slot",{key:"e0215eb1d2e67d7feddf6109b674ea93437eaada",name:"additional-guidance"})))}get root(){return i(this)}};g.style=":host{display:flex;flex-direction:column;align-items:center;justify-content:center;container-type:inline-size}.gux-container{display:flex;flex-direction:column;align-items:center;justify-content:center;max-inline-size:var(--gse-ui-progressAndLoading-loadingState-large-width);color:var(--gse-ui-progressAndLoading-textColor);text-align:center}@container (width > 400px){.gux-container .gux-primary-message{margin-block-start:var(--gse-ui-progressAndLoading-large-gap);font-family:var(--gse-ui-progressAndLoading-loadingState-large-header-fontFamily);font-size:var(--gse-ui-progressAndLoading-loadingState-large-header-fontSize);font-weight:var(--gse-ui-progressAndLoading-loadingState-large-header-fontWeight);line-height:var(--gse-ui-progressAndLoading-loadingState-large-header-lineHeight)}.gux-container .gux-additional-guidance{margin-block-start:var(--gse-ui-progressAndLoading-large-gapText);font-family:var(--gse-ui-progressAndLoading-loadingState-large-subheader-fontFamily);font-size:var(--gse-ui-progressAndLoading-loadingState-large-subheader-fontSize);font-weight:var(--gse-ui-progressAndLoading-loadingState-large-subheader-fontWeight);line-height:var(--gse-ui-progressAndLoading-loadingState-large-subheader-lineHeight)}}@container (width > 200px) and (width <=400px){.gux-container .gux-primary-message{margin-block-start:var(--gse-ui-progressAndLoading-medium-gap);font-family:var(--gse-ui-progressAndLoading-loadingState-medium-header-fontFamily);font-size:var(--gse-ui-progressAndLoading-loadingState-medium-header-fontSize);font-weight:var(--gse-ui-progressAndLoading-loadingState-medium-header-fontWeight);line-height:var(--gse-ui-progressAndLoading-loadingState-medium-header-lineHeight)}.gux-container .gux-additional-guidance{margin-block-start:var(--gse-ui-progressAndLoading-medium-gapText);font-family:var(--gse-ui-progressAndLoading-loadingState-medium-subheader-fontFamily);font-size:var(--gse-ui-progressAndLoading-loadingState-medium-subheader-fontSize);font-weight:var(--gse-ui-progressAndLoading-loadingState-medium-subheader-fontWeight);line-height:var(--gse-ui-progressAndLoading-loadingState-medium-subheader-lineHeight)}}@container (width <=200px){.gux-container .gux-primary-message{margin-block-start:var(--gse-ui-progressAndLoading-small-gap);font-family:var(--gse-ui-progressAndLoading-loadingState-small-header-fontFamily);font-size:var(--gse-ui-progressAndLoading-loadingState-small-header-fontSize);font-weight:var(--gse-ui-progressAndLoading-loadingState-small-header-fontWeight);line-height:var(--gse-ui-progressAndLoading-loadingState-small-header-lineHeight)}.gux-container .gux-additional-guidance{margin-block-start:var(--gse-ui-progressAndLoading-small-gapText);font-family:var(--gse-ui-progressAndLoading-loadingState-small-subheader-fontFamily);font-size:var(--gse-ui-progressAndLoading-loadingState-small-subheader-fontSize);font-weight:var(--gse-ui-progressAndLoading-loadingState-small-subheader-fontWeight);line-height:var(--gse-ui-progressAndLoading-loadingState-small-subheader-lineHeight)}}";export{g as gux_loading_message}
@@ -1 +1 @@
1
- import{r as e,f as o,h as t,a as r}from"./p-CW7z6RPd.js";import{c as i,o as n}from"./p-Cb3FOYGS.js";import{O as l}from"./p-QDdMA8yS.js";import{o as a}from"./p-De1NnCmO.js";import{p as s}from"./p-PYfNAK8p.js";import{h as u}from"./p-qzV3vtOw.js";import{G as f,a as c}from"./p-PyAf0Vv-.js";import{G as d,a as g}from"./p-BmJEQySK.js";import{a as h,v as p,g as m}from"./p-7Jfa0k54.js";import{t as b}from"./p-ByN57IpV.js";import"./p-D9jKBqIb.js";import"./p-DxtJDeL9.js";import"./p-BMRf5pjV.js";const x=class{constructor(o){e(this,o),this.indicatorMark="required",this.showHexCode=!1,this.hasError=!1,this.hasHelp=!1}onMutation(){this.labelInfo=this.root.querySelector("[slot=label-info]"),this.hasError=u(this.root,"error"),this.hasHelp=u(this.root,"help")}handleInput(){o(this.root)}handleChange(){o(this.root)}handleKeyup(e){var o,t;switch(e.key){case"Tab":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));break;case"Shift":break;default:this.input.matches(":focus-visible")&&(null===(t=this.labelInfo)||void 0===t||t.hideTooltip(),clearTimeout(this.hideLabelInfoTimeout))}}onFocusout(){var e;null===(e=this.labelInfo)||void 0===e||e.hideTooltip(),clearTimeout(this.hideLabelInfoTimeout)}async guxForceUpdate(){this.hasError=u(this.root,"error"),this.hasHelp=u(this.root,"help"),o(this.root)}componentWillLoad(){this.setInput(),this.setLabel(),this.labelInfo=this.root.querySelector("[slot=label-info]"),this.hasError=u(this.root,"error"),this.hasHelp=u(this.root,"help"),b(this.root,{variant:this.variant})}connectedCallback(){this.hasError=u(this.root,"error"),this.hasHelp=u(this.root,"help")}disconnectedCallback(){this.disabledObserver&&this.disabledObserver.disconnect(),this.requiredObserver&&this.requiredObserver.disconnect()}render(){return t(g,{key:"22731ec8b3582e60ea9cdabbc101f6ef60b0fd1f",labelPosition:this.computedLabelPosition},t(d,{key:"06949fed7716a0eaa45fb3f3a8086d1b0b7f36ab",required:this.required,position:this.computedLabelPosition},t("slot",{key:"7385e436877d65d2aab1546e7f2f405bb9127cea",name:"label",onSlotchange:()=>this.setLabel()}),t("gux-form-field-label-indicator",{key:"2b41de5051abf6be0903bd0e0e0ccfbece25cd7f",variant:this.indicatorMark,required:this.required}),t("slot",{key:"7ef8e11ca1f7571603e8c2af9fb9e33e03a045d2",name:"label-info"})),t("div",{key:"6bc29a166a510778cf78bbbb9fc5f9fafabaf059",class:"gux-input-and-error-container"},t("div",{key:"ef431d82c936ea957f7aaa7c7498902db5c35305",class:{"gux-input":!0,"gux-input-error":this.hasError}},t("div",{key:"0bfc60c7d39b90269eb5bb37f5fb701fc29af18a",class:{"gux-input-container":!0,"gux-disabled":this.disabled}},t("slot",{key:"5ccf7f7d94e010283c76225042243d9c3ef379b6",name:"input",onSlotchange:()=>this.setInput()})),this.showHexCode&&this.input&&t("span",{key:"9b9e8059d716d85d9c9229976505a5adb888aceb",class:"gux-hex-display",role:"status","aria-live":"polite"},t("gux-screen-reader-beta",{key:"3f72b11b8bff88f6624bc0f682ce7ae102019a65"},"Selected color:"," "),this.input.value)),t(f,{key:"1851f3dd0d546f9caa0ad442267b9d1de6051648",show:this.hasError},t("slot",{key:"b779897f71b1d26f1cbcb3e9e69d86f8fc0d340a",name:"error"})),t(c,{key:"1376fa7f3db8617c97bee8f12163f1d6ea568188",show:!this.hasError&&this.hasHelp},t("slot",{key:"a9123a8c523b9fc3a487f0254ef07738bf8e2ce9",name:"help"}))))}get variant(){return this.labelPosition?this.labelPosition.toLowerCase():"none"}setInput(){this.input=h(this.root,'input[type="color"][slot="input"]'),s(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})),function(e,o){const t=Object.getOwnPropertyDescriptor(HTMLInputElement.prototype,"value");Object.defineProperty(e,"value",{get(){return t.get.call(this)},set(e){const r=t.get.call(this);t.set.call(this,e),r!==e&&o()},configurable:!0})}(this.input,(()=>{o(this.root)})),p(this.root,this.input)}setLabel(){this.label=this.root.querySelector('label[slot="label"]'),this.computedLabelPosition=m(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})],x.prototype,"onMutation",null),x.style=".gux-form-field-container{display:flex;flex-direction:column}.gux-form-field-container.gux-beside{flex-direction:row}.gux-character-counter{display:grid;grid-template-rows:auto auto auto;grid-template-columns:1fr 1fr}.gux-character-counter :nth-child(1){grid-row:1/2;grid-column:2/3}.gux-character-counter :nth-child(2){grid-row:1/2;grid-column:1/2}.gux-character-counter :nth-child(3){grid-row:2/3;grid-column:1/-1}.gux-character-counter :nth-child(4){grid-row:3/4;grid-column:1/-1}.gux-character-counter.gux-beside{grid-template-columns:min-content 1fr}.gux-character-counter.gux-beside :nth-child(1){grid-row:1/2;grid-column:1/-1}.gux-character-counter.gux-beside :nth-child(2){grid-row:2/3;grid-column:1/2}.gux-character-counter.gux-beside :nth-child(3){grid-row:2/3;grid-column:2/3}.gux-character-counter.gux-beside :nth-child(4){grid-row:3/4;grid-column:1/-1}.gux-form-field-error{display:none;flex-direction:row;flex-wrap:nowrap;gap:var(--gse-ui-formControl-helper-gap);place-content:stretch flex-start;padding:var(--gse-ui-formControl-helper-errorPadding);font-family:var(--gse-ui-formControl-helper-helperText-fontFamily);font-size:var(--gse-ui-formControl-helper-helperText-fontSize);line-height:var(--gse-ui-formControl-helper-helperText-lineHeight);color:var(--gse-ui-formControl-helper-errorColor)}.gux-form-field-error.gux-show{display:flex}.gux-form-field-error gux-icon{flex:0 0 auto;order:0;color:var(--gse-ui-formControl-helper-errorColor)}.gux-form-field-error .gux-message{flex:0 1 auto;align-self:auto;order:0}.gux-form-field-label{display:inline-flex;flex:1 0 auto}.gux-form-field-label ::slotted(label){min-inline-size:0}.gux-form-field-label ::slotted(gux-label-info-beta){padding-inline-start:var(--gse-ui-formControl-formField-gap)}.gux-form-field-label.gux-beside{position:relative;inset-block-start:var(--gse-ui-formControl-input-top);inline-size:fit-content;min-inline-size:var(--gse-ui-formControl-input-textfield-minWidth);max-inline-size:fit-content;margin-inline-end:var(--gse-ui-formControl-group-gapItems)}.gux-form-field-label.gux-above{padding-block-end:var(--gse-ui-formControl-formField-gap)}.gux-form-field-label.gux-screenreader{position:absolute;top:auto;left:-10000px;width:1px;height:1px;overflow:hidden}.gux-form-field-help{display:none;flex-direction:row;flex-wrap:nowrap;place-content:stretch flex-start;align-items:flex-start;justify-content:flex-start;padding-block-start:var(--gse-ui-formControl-formField-gap);font-family:var(--gse-ui-formControl-helper-helperText-fontFamily);font-size:var(--gse-ui-formControl-helper-helperText-fontSize);line-height:var(--gse-ui-formControl-helper-helperText-lineHeight);color:var(--gse-ui-formControl-helper-defaultColor)}.gux-form-field-help.gux-show{display:flex}.gux-form-field-help .gux-message{flex:0 1 auto;align-self:none;order:0}:host{display:block}::slotted(label){font-family:var(--gse-ui-formControl-label-textBold-fontFamily);font-size:var(--gse-ui-formControl-label-textBold-fontSize);font-weight:var(--gse-ui-formControl-label-textBold-fontWeight);line-height:var(--gse-ui-formControl-label-textBold-lineHeight);color:var(--gse-ui-formControl-label-labelColor)}::slotted(input){flex:0 1 auto;align-self:auto;order:0;inline-size:var(--gse-ui-colorPicker-input-swatchSizing);min-inline-size:var(--gse-ui-colorPicker-input-swatchSizing);block-size:var(--gse-ui-colorPicker-input-swatchSizing);padding:0;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);text-align:end;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;gap:var(--gse-ui-formControl-input-gap);align-content:stretch;align-items:center}.gux-input-and-error-container .gux-input .gux-hex-display{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);text-transform:uppercase;user-select:text}.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;align-self:auto;order:0;inline-size:var(--gse-ui-formControl-input-colorPicker-size);block-size:var(--gse-ui-formControl-input-colorPicker-size);font-family:var(--gse-ui-formControl-input-contentText-fontFamily);font-size:var(--gse-ui-formControl-input-contentText-fontSize);line-height:var(--gse-ui-formControl-input-contentText-lineHeight);color:var(--gse-ui-formControl-input-populatedColor);background-color:var(--gse-ui-formControl-input-backgroundColor);background-image:none;border:var(--gse-ui-formControl-input-default-border-width) var(--gse-ui-formControl-input-default-border-style) var(--gse-ui-formControl-input-default-border-color);border-radius:var(--gse-ui-formControl-input-borderRadius)}.gux-input-and-error-container .gux-input .gux-input-container.gux-disabled{opacity:var(--gse-ui-formControl-input-disabled-opacity)}.gux-input-and-error-container .gux-input .gux-input-container:focus-within:has(input: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);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{cursor:pointer;border-color: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{x as gux_form_field_color}
1
+ import{r as e,f as o,h as t,a as r}from"./p-CW7z6RPd.js";import{c as i,o as n}from"./p-Cb3FOYGS.js";import{O as l}from"./p-QDdMA8yS.js";import{o as a}from"./p-De1NnCmO.js";import{p as s}from"./p-PYfNAK8p.js";import{h as u}from"./p-qzV3vtOw.js";import{G as f,a as c}from"./p-PyAf0Vv-.js";import{G as d,a as g}from"./p-BmJEQySK.js";import{a as h,v as p,g as m}from"./p-KdigjDpl.js";import{t as b}from"./p-DfUlhgkE.js";import"./p-D9jKBqIb.js";import"./p-DxtJDeL9.js";import"./p-BMRf5pjV.js";const x=class{constructor(o){e(this,o),this.indicatorMark="required",this.showHexCode=!1,this.hasError=!1,this.hasHelp=!1}onMutation(){this.labelInfo=this.root.querySelector("[slot=label-info]"),this.hasError=u(this.root,"error"),this.hasHelp=u(this.root,"help")}handleInput(){o(this.root)}handleChange(){o(this.root)}handleKeyup(e){var o,t;switch(e.key){case"Tab":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));break;case"Shift":break;default:this.input.matches(":focus-visible")&&(null===(t=this.labelInfo)||void 0===t||t.hideTooltip(),clearTimeout(this.hideLabelInfoTimeout))}}onFocusout(){var e;null===(e=this.labelInfo)||void 0===e||e.hideTooltip(),clearTimeout(this.hideLabelInfoTimeout)}async guxForceUpdate(){this.hasError=u(this.root,"error"),this.hasHelp=u(this.root,"help"),o(this.root)}componentWillLoad(){this.setInput(),this.setLabel(),this.labelInfo=this.root.querySelector("[slot=label-info]"),this.hasError=u(this.root,"error"),this.hasHelp=u(this.root,"help"),b(this.root,{variant:this.variant})}connectedCallback(){this.hasError=u(this.root,"error"),this.hasHelp=u(this.root,"help")}disconnectedCallback(){this.disabledObserver&&this.disabledObserver.disconnect(),this.requiredObserver&&this.requiredObserver.disconnect()}render(){return t(g,{key:"22731ec8b3582e60ea9cdabbc101f6ef60b0fd1f",labelPosition:this.computedLabelPosition},t(d,{key:"06949fed7716a0eaa45fb3f3a8086d1b0b7f36ab",required:this.required,position:this.computedLabelPosition},t("slot",{key:"7385e436877d65d2aab1546e7f2f405bb9127cea",name:"label",onSlotchange:()=>this.setLabel()}),t("gux-form-field-label-indicator",{key:"2b41de5051abf6be0903bd0e0e0ccfbece25cd7f",variant:this.indicatorMark,required:this.required}),t("slot",{key:"7ef8e11ca1f7571603e8c2af9fb9e33e03a045d2",name:"label-info"})),t("div",{key:"6bc29a166a510778cf78bbbb9fc5f9fafabaf059",class:"gux-input-and-error-container"},t("div",{key:"ef431d82c936ea957f7aaa7c7498902db5c35305",class:{"gux-input":!0,"gux-input-error":this.hasError}},t("div",{key:"0bfc60c7d39b90269eb5bb37f5fb701fc29af18a",class:{"gux-input-container":!0,"gux-disabled":this.disabled}},t("slot",{key:"5ccf7f7d94e010283c76225042243d9c3ef379b6",name:"input",onSlotchange:()=>this.setInput()})),this.showHexCode&&this.input&&t("span",{key:"9b9e8059d716d85d9c9229976505a5adb888aceb",class:"gux-hex-display",role:"status","aria-live":"polite"},t("gux-screen-reader-beta",{key:"3f72b11b8bff88f6624bc0f682ce7ae102019a65"},"Selected color:"," "),this.input.value)),t(f,{key:"1851f3dd0d546f9caa0ad442267b9d1de6051648",show:this.hasError},t("slot",{key:"b779897f71b1d26f1cbcb3e9e69d86f8fc0d340a",name:"error"})),t(c,{key:"1376fa7f3db8617c97bee8f12163f1d6ea568188",show:!this.hasError&&this.hasHelp},t("slot",{key:"a9123a8c523b9fc3a487f0254ef07738bf8e2ce9",name:"help"}))))}get variant(){return this.labelPosition?this.labelPosition.toLowerCase():"none"}setInput(){this.input=h(this.root,'input[type="color"][slot="input"]'),s(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})),function(e,o){const t=Object.getOwnPropertyDescriptor(HTMLInputElement.prototype,"value");Object.defineProperty(e,"value",{get(){return t.get.call(this)},set(e){const r=t.get.call(this);t.set.call(this,e),r!==e&&o()},configurable:!0})}(this.input,(()=>{o(this.root)})),p(this.root,this.input)}setLabel(){this.label=this.root.querySelector('label[slot="label"]'),this.computedLabelPosition=m(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})],x.prototype,"onMutation",null),x.style=".gux-form-field-container{display:flex;flex-direction:column}.gux-form-field-container.gux-beside{flex-direction:row}.gux-character-counter{display:grid;grid-template-rows:auto auto auto;grid-template-columns:1fr 1fr}.gux-character-counter :nth-child(1){grid-row:1/2;grid-column:2/3}.gux-character-counter :nth-child(2){grid-row:1/2;grid-column:1/2}.gux-character-counter :nth-child(3){grid-row:2/3;grid-column:1/-1}.gux-character-counter :nth-child(4){grid-row:3/4;grid-column:1/-1}.gux-character-counter.gux-beside{grid-template-columns:min-content 1fr}.gux-character-counter.gux-beside :nth-child(1){grid-row:1/2;grid-column:1/-1}.gux-character-counter.gux-beside :nth-child(2){grid-row:2/3;grid-column:1/2}.gux-character-counter.gux-beside :nth-child(3){grid-row:2/3;grid-column:2/3}.gux-character-counter.gux-beside :nth-child(4){grid-row:3/4;grid-column:1/-1}.gux-form-field-error{display:none;flex-direction:row;flex-wrap:nowrap;gap:var(--gse-ui-formControl-helper-gap);place-content:stretch flex-start;padding:var(--gse-ui-formControl-helper-errorPadding);font-family:var(--gse-ui-formControl-helper-helperText-fontFamily);font-size:var(--gse-ui-formControl-helper-helperText-fontSize);line-height:var(--gse-ui-formControl-helper-helperText-lineHeight);color:var(--gse-ui-formControl-helper-errorColor)}.gux-form-field-error.gux-show{display:flex}.gux-form-field-error gux-icon{flex:0 0 auto;order:0;color:var(--gse-ui-formControl-helper-errorColor)}.gux-form-field-error .gux-message{flex:0 1 auto;align-self:auto;order:0}.gux-form-field-label{display:inline-flex;flex:1 0 auto}.gux-form-field-label ::slotted(label){min-inline-size:0}.gux-form-field-label ::slotted(gux-label-info-beta){padding-inline-start:var(--gse-ui-formControl-formField-gap)}.gux-form-field-label.gux-beside{position:relative;inset-block-start:var(--gse-ui-formControl-input-top);inline-size:fit-content;min-inline-size:var(--gse-ui-formControl-input-textfield-minWidth);max-inline-size:fit-content;margin-inline-end:var(--gse-ui-formControl-group-gapItems)}.gux-form-field-label.gux-above{padding-block-end:var(--gse-ui-formControl-formField-gap)}.gux-form-field-label.gux-screenreader{position:absolute;top:auto;left:-10000px;width:1px;height:1px;overflow:hidden}.gux-form-field-help{display:none;flex-direction:row;flex-wrap:nowrap;place-content:stretch flex-start;align-items:flex-start;justify-content:flex-start;padding-block-start:var(--gse-ui-formControl-formField-gap);font-family:var(--gse-ui-formControl-helper-helperText-fontFamily);font-size:var(--gse-ui-formControl-helper-helperText-fontSize);line-height:var(--gse-ui-formControl-helper-helperText-lineHeight);color:var(--gse-ui-formControl-helper-defaultColor)}.gux-form-field-help.gux-show{display:flex}.gux-form-field-help .gux-message{flex:0 1 auto;align-self:none;order:0}:host{display:block}::slotted(label){font-family:var(--gse-ui-formControl-label-textBold-fontFamily);font-size:var(--gse-ui-formControl-label-textBold-fontSize);font-weight:var(--gse-ui-formControl-label-textBold-fontWeight);line-height:var(--gse-ui-formControl-label-textBold-lineHeight);color:var(--gse-ui-formControl-label-labelColor)}::slotted(input){flex:0 1 auto;align-self:auto;order:0;inline-size:var(--gse-ui-colorPicker-input-swatchSizing);min-inline-size:var(--gse-ui-colorPicker-input-swatchSizing);block-size:var(--gse-ui-colorPicker-input-swatchSizing);padding:0;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);text-align:end;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;gap:var(--gse-ui-formControl-input-gap);align-content:stretch;align-items:center}.gux-input-and-error-container .gux-input .gux-hex-display{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);text-transform:uppercase;user-select:text}.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;align-self:auto;order:0;inline-size:var(--gse-ui-formControl-input-colorPicker-size);block-size:var(--gse-ui-formControl-input-colorPicker-size);font-family:var(--gse-ui-formControl-input-contentText-fontFamily);font-size:var(--gse-ui-formControl-input-contentText-fontSize);line-height:var(--gse-ui-formControl-input-contentText-lineHeight);color:var(--gse-ui-formControl-input-populatedColor);background-color:var(--gse-ui-formControl-input-backgroundColor);background-image:none;border:var(--gse-ui-formControl-input-default-border-width) var(--gse-ui-formControl-input-default-border-style) var(--gse-ui-formControl-input-default-border-color);border-radius:var(--gse-ui-formControl-input-borderRadius)}.gux-input-and-error-container .gux-input .gux-input-container.gux-disabled{opacity:var(--gse-ui-formControl-input-disabled-opacity)}.gux-input-and-error-container .gux-input .gux-input-container:focus-within:has(input: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);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{cursor:pointer;border-color: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{x as gux_form_field_color}
@@ -0,0 +1 @@
1
+ import{r as t,c as s,h as i,a as e}from"./p-CW7z6RPd.js";import{a as o,c as h,o as a,f as r,s as n,h as p,b as c}from"./p-8w8ltg_h.js";import{a as d}from"./p-Bg4q97BS.js";import{O as l}from"./p-uAcnLSYY.js";import{t as u}from"./p-DfUlhgkE.js";import{f as b}from"./p-Cr5bTKWF.js";const f=class{constructor(i){t(this,i),this.guxdismiss=s(this,"guxdismiss",7),this.position="bottom",this.closeOnClickOutside=!1,this.isOpen=!1,this.disconnect=void 0}handleForChange(){this.setupForElement()}handleIsOpenChange(t){this.popupElement&&(t?(this.popupElement.showPopover(),this.runUpdatePosition()):(this.popupElement.hidePopover(),this.cleanupUpdatePosition&&this.cleanupUpdatePosition()))}onKeyDown(t){switch(t.key){case"Tab":this.dismiss();break;case"Escape":this.dismiss(),this.forElement&&this.forElement.focus()}}checkForClickOutside(t){const s=t.composedPath(),i=b(this.root,this.for),e=s.includes(i);!this.closeOnClickOutside&&this.displayDismissButton||!this.isOpen||e||this.dismiss()}runUpdatePosition(){this.cleanupUpdatePosition&&this.cleanupUpdatePosition();const t=b(this.root,this.for);t&&this.popupElement&&(this.root.isConnected?this.cleanupUpdatePosition=o(t,this.popupElement,(()=>this.updatePosition()),{ancestorScroll:!0,elementResize:!0,animationFrame:!0,ancestorResize:!0}):this.disconnectedCallback())}updatePosition(){const t=b(this.root,this.for);this.popupElement&&t&&h(t,this.popupElement,{strategy:"fixed",placement:this.position,middleware:[a(2),r(),n(),p(),c({element:this.arrowElement,padding:16})]}).then((({x:t,y:s,middlewareData:i,placement:e})=>{Object.assign(this.popupElement.style,{left:`${t}px`,top:`${s}px`});const o={top:"bottom",right:"left",bottom:"top",left:"right"}[e.split("-")[0]];if(i.arrow){const{x:t,y:s}=i.arrow;this.popupElement.setAttribute("data-placement",e),Object.assign(this.arrowElement.style,{left:null!=t?`${t}px`:"",top:null!=s?`${s}px`:"",right:"",bottom:"",[o]:"-6.5px",transform:"rotate(45deg)"})}i.hide&&Object.assign(this.popupElement.style,{visibility:i.hide.referenceHidden?"hidden":"visible"})}))}dismiss(){this.guxdismiss.emit().defaultPrevented||(this.isOpen=!1,this.popupElement.hidePopover())}focusFirstItemInPopupList(){d((()=>{this.listElement.guxFocusFirstItem()}))}onKeydown(t){switch(t.key){case"Enter":this.popupElement.togglePopover(),this.isOpen=!this.isOpen,this.runUpdatePosition(),this.focusFirstItemInPopupList();break;case" ":t.preventDefault()}}onKeyup(t){" "===t.key&&(this.popupElement.togglePopover(),this.isOpen=!this.isOpen,this.runUpdatePosition(),this.focusFirstItemInPopupList())}onMouseup(){this.popupElement.togglePopover(),this.isOpen=!this.isOpen,this.runUpdatePosition()}setupForElement(){if(this.disconnect&&(this.disconnect(),this.disconnect=void 0),this.forElement=b(this.root,this.for),!this.forElement)return;this.forElement.setAttribute("aria-haspopup","true");const t=this.onKeydown.bind(this);this.forElement.addEventListener("keydown",t);const s=this.onKeyup.bind(this);this.forElement.addEventListener("keyup",s);const i=this.onMouseup.bind(this);this.forElement.addEventListener("mouseup",i),this.disconnect=()=>{this.forElement.removeEventListener("keydown",t),this.forElement.removeEventListener("keyup",s),this.forElement.removeEventListener("mouseup",i)}}connectedCallback(){u(this.root,{variant:this.position}),this.listElement=this.root.querySelector("gux-list"),this.setupForElement()}componentDidLoad(){this.handleIsOpenChange(this.isOpen)}disconnectedCallback(){this.cleanupUpdatePosition&&this.cleanupUpdatePosition(),this.disconnect&&this.disconnect()}render(){return i("div",{key:"ee960309311ff877169efbba85565435f8ee691a",ref:t=>this.popupElement=t,class:{"gux-hidden":!this.isOpen,"gux-popover-wrapper":!0},"data-placement":!0,popover:"manual"},i("div",{key:"b3e2111113b6887f805edbbe04cde969c35b75d0",ref:t=>this.arrowElement=t,class:"gux-arrow"}),this.displayDismissButton&&i("gux-dismiss-button",{key:"0fff24ae3dc44a68193cea6d75cce1a812cc964f",onClick:this.dismiss.bind(this)}),i("div",{key:"7671be6a2d270e7fc96d13b5bd46539a2e0145d2",class:"gux-popover-content"},i("slot",{key:"90942b1952e5dcb1617623294fe1eea4f01fd812"})))}get root(){return e(this)}static get watchers(){return{for:[{handleForChange:0}],isOpen:[{handleIsOpenChange:0}]}}};(function(t,s,i,e){var o,h=arguments.length,a=h<3?s:null===e?e=Object.getOwnPropertyDescriptor(s,i):e;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(t,s,i,e);else for(var r=t.length-1;r>=0;r--)(o=t[r])&&(a=(h<3?o(a):h>3?o(s,i,a):o(s,i))||a);h>3&&a&&Object.defineProperty(s,i,a)})([l()],f.prototype,"checkForClickOutside",null),f.style=":popover-open{position:absolute;inset:unset}.gux-popover-wrapper{position:fixed;inset-block-start:0;inset-inline-start:0;z-index:var(--gse-semantic-zIndex-popover);display:inline-block;padding-block:8px;padding-inline:0;overflow-y:hidden;background-color:var(--gse-ui-popover-backgroundColor);border:none;border-radius:var(--gse-ui-popover-borderRadius);box-shadow:var(--gse-ui-popover-boxShadow)}.gux-popover-wrapper.gux-hidden{display:none}.gux-popover-wrapper{}.gux-popover-wrapper .gux-arrow{position:absolute;inline-size:var(--gse-ui-popover-anchor-width);block-size:var(--gse-ui-popover-anchor-width);background:var(--gse-ui-popover-backgroundColor)}";export{f as gux_popover_list_beta}
@@ -0,0 +1 @@
1
+ import{r as t,c as e,h as i,a as o}from"./p-CW7z6RPd.js";import{a as s,c as r,o as a,f as h,s as p,h as n,b as c}from"./p-8w8ltg_h.js";import{O as l}from"./p-uAcnLSYY.js";import{t as d}from"./p-DfUlhgkE.js";import{g as u}from"./p-BBpQG81s.js";import{f as g}from"./p-Cr5bTKWF.js";const f=class{constructor(i){t(this,i),this.guxdismiss=e(this,"guxdismiss",7),this.position="bottom",this.displayDismissButton=!1,this.closeOnClickOutside=!1,this.isOpen=!1,this.disconnect=void 0}updateForElement(){this.forElement=this.getForElement(),this.forElement&&this.forElement.setAttribute("aria-haspopup","true")}handleIsOpenChange(t){this.popupElement&&(t?(this.popupElement.showPopover(),this.runUpdatePosition()):(this.popupElement.hidePopover(),this.cleanupUpdatePosition&&this.cleanupUpdatePosition()))}onKeyDown(t){"Escape"===t.key&&this.forElement&&this.forElement.focus()}onFocusout(t){!this.closeOnClickOutside&&this.displayDismissButton||t.relatedTarget&&!this.root.contains(t.relatedTarget)&&this.dismiss()}checkForClickOutside(t){const e=t.composedPath(),i=g(this.root,this.for),o=e.includes(i);!this.closeOnClickOutside&&this.displayDismissButton||!this.isOpen||o||this.dismiss()}async guxDismissPopover(){this.dismiss()}async guxFocusPopover(){this.focusPopup()}get titleSlot(){return u(this.root,"title")}get footerSlot(){return u(this.root,"footer")}getForElement(){if(this.for){const t=g(this.root,this.for);return t||this.logForAttributeError(),t}this.logForAttributeError()}focusPopup(){const t=this.root.querySelector("[autoFocus]");t?null==t||t.focus():this.popupElement.focus()}runUpdatePosition(){this.cleanupUpdatePosition&&this.cleanupUpdatePosition();const t=g(this.root,this.for);t&&this.popupElement&&(this.root.isConnected?this.cleanupUpdatePosition=s(t,this.popupElement,(()=>this.updatePosition()),{ancestorScroll:!0,elementResize:!0,animationFrame:!0,ancestorResize:!0}):this.disconnectedCallback())}updatePosition(){const t=g(this.root,this.for);this.popupElement&&t&&r(t,this.popupElement,{placement:this.position,middleware:[a(7),h(),p(),n(),c({element:this.arrowElement,padding:16})]}).then((({x:t,y:e,middlewareData:i,placement:o})=>{Object.assign(this.popupElement.style,{left:`${t}px`,top:`${e}px`});const s=o.split("-")[0],r={top:"bottom",right:"left",bottom:"top",left:"right"}[s],a={top:0,right:90,bottom:180,left:-90}[s],h="left"===s||"right"===s?15:13;if(i.arrow){let t=i.arrow.x;const e=i.arrow.y;"left"!==s&&"right"!==s||(t+=4),this.popupElement.setAttribute("data-placement",o),Object.assign(this.arrowElement.style,{left:null!=t?`${t}px`:"",top:null!=e?`${e}px`:"",right:"",bottom:"",[r]:-h+"px",transform:`rotate(${a}deg)`})}i.hide&&Object.assign(this.popupElement.style,{visibility:i.hide.referenceHidden?"hidden":"visible"})}))}dismiss(){this.guxdismiss.emit().defaultPrevented||(this.isOpen=!1,this.popupElement.hidePopover())}logForAttributeError(){this.root.isConnected&&console.error(`gux-popover: invalid element supplied to 'for': "${this.for}"`)}onKeydown(t){switch(t.key){case"Enter":t.preventDefault(),this.popupElement.togglePopover(),this.isOpen=!this.isOpen,this.runUpdatePosition(),this.focusPopup();break;case" ":t.preventDefault()}}onKeyup(t){" "===t.key&&(this.popupElement.togglePopover(),this.isOpen=!this.isOpen,this.runUpdatePosition(),this.focusPopup())}onMouseup(){this.popupElement.togglePopover(),this.isOpen=!this.isOpen,this.runUpdatePosition()}connectedCallback(){if(this.updateForElement(),d(this.root,{variant:this.position}),!this.forElement)return;const t=this.onKeydown.bind(this);this.forElement.addEventListener("keydown",t);const e=this.onKeyup.bind(this);this.forElement.addEventListener("keyup",e);const i=this.onMouseup.bind(this);this.forElement.addEventListener("mouseup",i),this.disconnect=()=>{this.forElement.removeEventListener("keydown",t),this.forElement.removeEventListener("keyup",e),this.forElement.removeEventListener("mouseup",i)}}componentDidLoad(){this.forElement&&(this.forElement.popoverTargetElement=this.popupElement,this.handleIsOpenChange(this.isOpen))}disconnectedCallback(){this.cleanupUpdatePosition&&this.cleanupUpdatePosition(),this.disconnect&&this.disconnect()}render(){return i("div",{key:"cb99dcb8282fc2e8f2e8857fb0456bc992c6b391",ref:t=>this.popupElement=t,class:{"gux-popover-wrapper":!0,"gux-hidden":!this.isOpen},"data-placement":!0,popover:"manual",tabindex:"-1"},i("div",{key:"011e760e4c77728cd631e54b46eb4ee33ad50418",ref:t=>this.arrowElement=t,class:"gux-arrow"},i("div",{key:"26ae5982d96a29502a4116a7fc8e09c79aec1152",class:"gux-arrow-caret"})),this.displayDismissButton&&i("gux-dismiss-button",{key:"941958c19756004122a44dbc2c9621cf390fc776",onClick:this.dismiss.bind(this)}),i("div",{key:"f020e0058cad56b05b15709dcacc16c23cd6d6e1",class:{"gux-popover-header":Boolean(this.titleSlot)}},i("slot",{key:"15680cbb8cf88104e6cd12096b31392064fee31b",name:"title"})),i("div",{key:"3e6737e841a2ddbf87e866cec9ead54f850a34be",class:"gux-popover-content"},i("slot",{key:"9a62e493104485b26471d76a2c359aad75f15765"})),i("div",{key:"e0c8a6084a03f2b6f83fda7fd9562caf9782d942",class:{"gux-popover-footer":Boolean(this.footerSlot)}},i("slot",{key:"6beb5d2d98a039dc168bdd8bd91efb0e373711f6",name:"footer"})))}get root(){return o(this)}static get watchers(){return{for:[{updateForElement:0}],isOpen:[{handleIsOpenChange:0}]}}};(function(t,e,i,o){var s,r=arguments.length,a=r<3?e:null===o?o=Object.getOwnPropertyDescriptor(e,i):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(t,e,i,o);else for(var h=t.length-1;h>=0;h--)(s=t[h])&&(a=(r<3?s(a):r>3?s(e,i,a):s(e,i))||a);r>3&&a&&Object.defineProperty(e,i,a)})([l()],f.prototype,"checkForClickOutside",null),f.style=":popover-open{position:absolute;inset:unset}.gux-popover-wrapper{position:absolute;inset-block-start:0;inset-inline-start:0;padding:var(--gse-ui-popover-padding);overflow:hidden;color:var(--gse-semantic-foreground-container-highEmphasis);background-color:var(--gse-ui-popover-backgroundColor);border:none;border-radius:var(--gse-ui-popover-borderRadius);box-shadow:var(--gse-ui-popover-boxShadow)}.gux-popover-wrapper:focus-visible{outline:none}.gux-popover-wrapper .gux-arrow{position:absolute;inline-size:var(--gse-ui-popover-anchor-width);block-size:var(--gse-ui-popover-anchor-height);padding-block-end:4px;overflow:hidden}.gux-popover-wrapper{}.gux-popover-wrapper .gux-arrow-caret{inline-size:0;block-size:0;border-block-start:calc(var(--gse-ui-popover-anchor-width) / 2) solid var(--gse-ui-popover-backgroundColor);border-inline-start:calc(var(--gse-ui-popover-anchor-width) / 2) solid transparent;border-inline-end:calc(var(--gse-ui-popover-anchor-width) / 2) solid transparent;filter:drop-shadow(0 0 4px var(--gse-semantic-effects-boxShadow))}.gux-popover-wrapper .gux-popover-header{display:flex;flex-direction:row;place-content:center space-between;align-items:center;padding-block-end:var(--gse-ui-popover-gap);font-family:var(--gse-ui-popover-title-text-fontFamily);font-size:var(--gse-ui-popover-title-text-fontSize);font-weight:var(--gse-ui-popover-title-text-fontWeight);line-height:var(--gse-ui-popover-title-text-lineHeight);color:var(--gse-ui-popover-headerColor)}.gux-popover-wrapper .gux-popover-footer{padding-block-start:var(--gse-ui-popover-gap)}";export{f as gux_popover_beta}
@@ -1 +1 @@
1
- import{r as t,h as i,H as e,a as o,f as s}from"./p-CW7z6RPd.js";import{a,c as r,o as n,f as l,s as c,h}from"./p-8w8ltg_h.js";import{r as d}from"./p-D9jKBqIb.js";import{t as u}from"./p-ByN57IpV.js";import{f as p}from"./p-Cr5bTKWF.js";import{b as g}from"./p-Bg4q97BS.js";import{o as f}from"./p-Dc4kLPnc.js";import{O as m}from"./p-QDdMA8yS.js";import{O as b}from"./p-AdM1Un4y.js";import{g as v}from"./p-qCeLer2f.js";const x=class{constructor(i){t(this,i),this.pointerenterHandler=()=>this.show(),this.pointerleaveHandler=()=>this.hide(),this.focusinHandler=()=>this.show(),this.focusoutHandler=()=>this.hide(),this.forElementListeners=new Map([["pointerenter",this.pointerenterHandler],["pointerleave",this.pointerleaveHandler],["focusin",this.focusinHandler],["focusout",this.focusoutHandler]]),this.id=d("gux-tooltip"),this.placement="bottom-start",this.accent="light",this.contrast="default",this.isShown=!1}handleKeyDown(t){"Escape"===t.key&&this.isShown&&this.hide()}handlePointerenter(){this.show()}handlePointerleave(){this.hide()}handleClick(t){t.stopPropagation(),t.preventDefault()}async showTooltip(){this.show()}async hideTooltip(){this.hide()}runUpdatePosition(){this.cleanupUpdatePosition&&this.cleanupUpdatePosition(),this.cleanupUpdatePosition=a(this.forElement,this.root,(()=>this.updatePosition()),{ancestorScroll:!0,elementResize:!0,animationFrame:!1,ancestorResize:!0})}updatePosition(){const t=[n(12),l({fallbackAxisSideDirection:"start",crossAxis:!1}),c(),h(),f()];r(this.forElement,this.root,{placement:this.placement,strategy:"fixed",middleware:t}).then((({x:t,y:i,middlewareData:e})=>{var o;Object.assign(this.root.style,{left:`${t}px`,top:`${i}px`,visibility:(null===(o=e.hide)||void 0===o?void 0:o.referenceHidden)?"hidden":"visible"}),this.root.setAttribute("data-placement",this.placement)}))}show(){clearTimeout(this.hideDelayTimeout),this.isShown=!0,g((()=>{this.runUpdatePosition()}))}hide(){this.hideDelayTimeout=setTimeout((()=>{this.cleanupUpdatePosition&&this.cleanupUpdatePosition(),this.isShown=!1}),350)}getForElement(){return this.for?p(this.root,this.for):this.root.parentElement}logForAttributeError(){this.root.isConnected&&console.error(`gux-tooltip: invalid element supplied to 'for': "${this.for}"`)}setForElement(){this.forElement=this.getForElement(),this.forElement?(this.forElement.setAttribute("aria-describedby",this.id),this.forElementListeners.forEach(((t,i)=>this.forElement.addEventListener(i,t)))):this.logForAttributeError()}disconnectForElement(){this.forElement&&(this.forElement.removeAttribute("aria-describedby"),this.forElementListeners.forEach(((t,i)=>this.forElement.removeEventListener(i,t))))}updateForElement(){this.disconnectForElement(),this.setForElement()}connectedCallback(){this.setForElement()}componentWillLoad(){u(this.root,{variant:this.placement})}disconnectedCallback(){this.cleanupUpdatePosition&&this.cleanupUpdatePosition(),this.disconnectForElement()}render(){return i(e,{key:"248f65ae8787d288dced87ca14d348f16018fdeb",id:this.id,class:{"gux-show":this.isShown},role:"tooltip"},i("div",{key:"c32861baa2b4bd436b126be7193a7182b4273741",class:{"gux-container":!0,[`gux-${this.accent}`]:!0,[`gux-contrast-${this.contrast}`]:!0},"data-placement":this.placement},i("slot",{key:"3e00b3cc6147854cd0cecdd02ecea059c406ce4b",name:"content"},i("slot",{key:"d5aa237d6d32f9efd496c110cc554099fa5b344d"}))))}get root(){return o(this)}static get watchers(){return{for:[{updateForElement:0}]}}};x.style=":host{position:fixed;z-index:var(--gse-semantic-zIndex-tooltip);display:none;inline-size:max-content;max-inline-size:var(--gse-ui-tooltip-maxWidth);border-radius:var(--gse-ui-tooltip-borderRadius);box-shadow:var(--gse-ui-tooltip-boxShadow);opacity:0}:host(.gux-show){display:block;animation-name:fade-in;animation-duration:250ms;animation-delay:350ms;animation-fill-mode:forwards}.gux-container{box-sizing:border-box;display:flex;flex-direction:row;gap:var(--gse-ui-tooltip-gap);place-content:center flex-start;padding:var(--gse-ui-tooltip-padding);font-family:var(--gse-ui-tooltip-text-fontFamily);font-size:var(--gse-ui-tooltip-text-fontSize);font-weight:var(--gse-ui-tooltip-text-fontWeight);line-height:var(--gse-ui-tooltip-text-lineHeight);color:var(--gse-ui-tooltip-light-foregroundColor);pointer-events:none;background-color:var(--gse-ui-tooltip-light-backgroundColor);border:var(--gse-ui-tooltip-light-border-width) var(--gse-ui-tooltip-light-border-style) var(--gse-ui-tooltip-light-border-color);border-radius:var(--gse-ui-tooltip-borderRadius)}.gux-container ::slotted(gux-icon){align-self:center;inline-size:var(--gse-ui-icon-small-size);block-size:var(--gse-ui-icon-small-size);color:var(--gse-ui-tooltip-light-foregroundColor)}.gux-container ::slotted(*){inline-size:100%;overflow-wrap:break-word;white-space:normal}.gux-container.gux-contrast-high,.gux-container.gux-dark{color:var(--gse-ui-tooltip-dark-foregroundColor);background-color:var(--gse-ui-tooltip-dark-backgroundColor);border:var(--gse-ui-tooltip-dark-border-width) var(--gse-ui-tooltip-dark-border-style) var(--gse-ui-tooltip-dark-border-color)}.gux-container.gux-contrast-high ::slotted(gux-icon),.gux-container.gux-dark ::slotted(gux-icon){align-self:center;inline-size:var(--gse-ui-icon-small-size);block-size:var(--gse-ui-icon-small-size);color:var(--gse-ui-tooltip-dark-iconColor)}@keyframes fade-in{0%{opacity:0}100%{opacity:1}}";var w=function(t,i,e,o){var s,a=arguments.length,r=a<3?i:null===o?o=Object.getOwnPropertyDescriptor(i,e):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)r=Reflect.decorate(t,i,e,o);else for(var n=t.length-1;n>=0;n--)(s=t[n])&&(r=(a<3?s(r):a>3?s(i,e,r):s(i,e))||r);return a>3&&r&&Object.defineProperty(i,e,r),r};const y=class{constructor(i){t(this,i),this.parentFocusinHandler=()=>{var t;null===(t=this.tooltipElement)||void 0===t||t.showTooltip()},this.parentFocusoutHandler=()=>{var t;null===(t=this.tooltipElement)||void 0===t||t.hideTooltip()},this.tooltipPlacement="bottom-start",this.tooltipAccent="light",this.tooltipContrast="default"}async setShowTooltip(){var t;await(null===(t=this.tooltipElement)||void 0===t?void 0:t.showTooltip())}async setHideTooltip(){var t;await(null===(t=this.tooltipElement)||void 0===t?void 0:t.hideTooltip())}connectedCallback(){const t=this.root.parentElement;t&&(t.addEventListener("focusin",this.parentFocusinHandler),t.addEventListener("focusout",this.parentFocusoutHandler))}componentWillLoad(){u(this.root)}disconnectedCallback(){const t=this.root.parentElement;t&&(t.removeEventListener("focusin",this.parentFocusinHandler),t.removeEventListener("focusout",this.parentFocusoutHandler))}onMutation(){s(this.root)}onResize(){s(this.root)}getTooltipContent(){return v(Array.from(this.root.childNodes))||""}needsTruncation(){const t=this.root.shadowRoot.querySelector(".gux-truncate-slot-container");return(null==t?void 0:t.scrollWidth)>(null==t?void 0:t.offsetWidth)||(null==t?void 0:t.scrollHeight)>(null==t?void 0:t.offsetHeight)}renderTooltip(){return this.needsTruncation()?i("gux-tooltip",{accent:this.tooltipAccent,contrast:this.tooltipContrast,placement:this.tooltipPlacement,"aria-hidden":"true",ref:t=>this.tooltipElement=t},i("div",{slot:"content"},this.getTooltipContent())):null}render(){var t;return i("div",{key:"9ea9ec72510900d0486c14cd9902c421676861bf",class:{"gux-truncate-multi-line":Boolean(this.maxLines)}},i("span",{key:"28f06b5e99cbf2a478664a89adc4bee270ee0394",class:{"gux-overflow-hidden":this.needsTruncation(),"gux-truncate-slot-container":!0},style:{webkitLineClamp:null===(t=this.maxLines)||void 0===t?void 0:t.toString()}},i("slot",{key:"05a282c789ece309661e2e7d913da3221f647b29"})),this.renderTooltip())}get root(){return o(this)}};w([m({childList:!0,subtree:!0,characterData:!0})],y.prototype,"onMutation",null),w([b()],y.prototype,"onResize",null),y.style=":host{display:inline-block;inline-size:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;cursor:inherit}::slotted(*){display:inline}.gux-truncate-multi-line{white-space:normal}.gux-truncate-multi-line .gux-truncate-slot-container{display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:1;line-clamp:1}gux-tooltip{font-weight:normal;line-height:normal;text-align:start;overflow-wrap:break-word;white-space:normal}.gux-truncate-slot-container>*{display:inline}.gux-truncate-slot-container{display:block;text-overflow:ellipsis}.gux-overflow-hidden{overflow:hidden}";export{x as gux_tooltip,y as gux_truncate}
1
+ import{r as t,h as i,H as e,a as o,f as s}from"./p-CW7z6RPd.js";import{a,c as r,o as n,f as l,s as c,h}from"./p-8w8ltg_h.js";import{r as d}from"./p-D9jKBqIb.js";import{t as u}from"./p-DfUlhgkE.js";import{f as p}from"./p-Cr5bTKWF.js";import{b as g}from"./p-Bg4q97BS.js";import{o as f}from"./p-Dc4kLPnc.js";import{O as m}from"./p-QDdMA8yS.js";import{O as b}from"./p-AdM1Un4y.js";import{g as v}from"./p-qCeLer2f.js";const x=class{constructor(i){t(this,i),this.pointerenterHandler=()=>this.show(),this.pointerleaveHandler=()=>this.hide(),this.focusinHandler=()=>this.show(),this.focusoutHandler=()=>this.hide(),this.forElementListeners=new Map([["pointerenter",this.pointerenterHandler],["pointerleave",this.pointerleaveHandler],["focusin",this.focusinHandler],["focusout",this.focusoutHandler]]),this.id=d("gux-tooltip"),this.placement="bottom-start",this.accent="light",this.contrast="default",this.isShown=!1}handleKeyDown(t){"Escape"===t.key&&this.isShown&&this.hide()}handlePointerenter(){this.show()}handlePointerleave(){this.hide()}handleClick(t){t.stopPropagation(),t.preventDefault()}async showTooltip(){this.show()}async hideTooltip(){this.hide()}runUpdatePosition(){this.cleanupUpdatePosition&&this.cleanupUpdatePosition(),this.cleanupUpdatePosition=a(this.forElement,this.root,(()=>this.updatePosition()),{ancestorScroll:!0,elementResize:!0,animationFrame:!1,ancestorResize:!0})}updatePosition(){const t=[n(12),l({fallbackAxisSideDirection:"start",crossAxis:!1}),c(),h(),f()];r(this.forElement,this.root,{placement:this.placement,strategy:"fixed",middleware:t}).then((({x:t,y:i,middlewareData:e})=>{var o;Object.assign(this.root.style,{left:`${t}px`,top:`${i}px`,visibility:(null===(o=e.hide)||void 0===o?void 0:o.referenceHidden)?"hidden":"visible"}),this.root.setAttribute("data-placement",this.placement)}))}show(){clearTimeout(this.hideDelayTimeout),this.isShown=!0,g((()=>{this.runUpdatePosition()}))}hide(){this.hideDelayTimeout=setTimeout((()=>{this.cleanupUpdatePosition&&this.cleanupUpdatePosition(),this.isShown=!1}),350)}getForElement(){return this.for?p(this.root,this.for):this.root.parentElement}logForAttributeError(){this.root.isConnected&&console.error(`gux-tooltip: invalid element supplied to 'for': "${this.for}"`)}setForElement(){this.forElement=this.getForElement(),this.forElement?(this.forElement.setAttribute("aria-describedby",this.id),this.forElementListeners.forEach(((t,i)=>this.forElement.addEventListener(i,t)))):this.logForAttributeError()}disconnectForElement(){this.forElement&&(this.forElement.removeAttribute("aria-describedby"),this.forElementListeners.forEach(((t,i)=>this.forElement.removeEventListener(i,t))))}updateForElement(){this.disconnectForElement(),this.setForElement()}connectedCallback(){this.setForElement()}componentWillLoad(){u(this.root,{variant:this.placement})}disconnectedCallback(){this.cleanupUpdatePosition&&this.cleanupUpdatePosition(),this.disconnectForElement()}render(){return i(e,{key:"248f65ae8787d288dced87ca14d348f16018fdeb",id:this.id,class:{"gux-show":this.isShown},role:"tooltip"},i("div",{key:"c32861baa2b4bd436b126be7193a7182b4273741",class:{"gux-container":!0,[`gux-${this.accent}`]:!0,[`gux-contrast-${this.contrast}`]:!0},"data-placement":this.placement},i("slot",{key:"3e00b3cc6147854cd0cecdd02ecea059c406ce4b",name:"content"},i("slot",{key:"d5aa237d6d32f9efd496c110cc554099fa5b344d"}))))}get root(){return o(this)}static get watchers(){return{for:[{updateForElement:0}]}}};x.style=":host{position:fixed;z-index:var(--gse-semantic-zIndex-tooltip);display:none;inline-size:max-content;max-inline-size:var(--gse-ui-tooltip-maxWidth);border-radius:var(--gse-ui-tooltip-borderRadius);box-shadow:var(--gse-ui-tooltip-boxShadow);opacity:0}:host(.gux-show){display:block;animation-name:fade-in;animation-duration:250ms;animation-delay:350ms;animation-fill-mode:forwards}.gux-container{box-sizing:border-box;display:flex;flex-direction:row;gap:var(--gse-ui-tooltip-gap);place-content:center flex-start;padding:var(--gse-ui-tooltip-padding);font-family:var(--gse-ui-tooltip-text-fontFamily);font-size:var(--gse-ui-tooltip-text-fontSize);font-weight:var(--gse-ui-tooltip-text-fontWeight);line-height:var(--gse-ui-tooltip-text-lineHeight);color:var(--gse-ui-tooltip-light-foregroundColor);pointer-events:none;background-color:var(--gse-ui-tooltip-light-backgroundColor);border:var(--gse-ui-tooltip-light-border-width) var(--gse-ui-tooltip-light-border-style) var(--gse-ui-tooltip-light-border-color);border-radius:var(--gse-ui-tooltip-borderRadius)}.gux-container ::slotted(gux-icon){align-self:center;inline-size:var(--gse-ui-icon-small-size);block-size:var(--gse-ui-icon-small-size);color:var(--gse-ui-tooltip-light-foregroundColor)}.gux-container ::slotted(*){inline-size:100%;overflow-wrap:break-word;white-space:normal}.gux-container.gux-contrast-high,.gux-container.gux-dark{color:var(--gse-ui-tooltip-dark-foregroundColor);background-color:var(--gse-ui-tooltip-dark-backgroundColor);border:var(--gse-ui-tooltip-dark-border-width) var(--gse-ui-tooltip-dark-border-style) var(--gse-ui-tooltip-dark-border-color)}.gux-container.gux-contrast-high ::slotted(gux-icon),.gux-container.gux-dark ::slotted(gux-icon){align-self:center;inline-size:var(--gse-ui-icon-small-size);block-size:var(--gse-ui-icon-small-size);color:var(--gse-ui-tooltip-dark-iconColor)}@keyframes fade-in{0%{opacity:0}100%{opacity:1}}";var w=function(t,i,e,o){var s,a=arguments.length,r=a<3?i:null===o?o=Object.getOwnPropertyDescriptor(i,e):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)r=Reflect.decorate(t,i,e,o);else for(var n=t.length-1;n>=0;n--)(s=t[n])&&(r=(a<3?s(r):a>3?s(i,e,r):s(i,e))||r);return a>3&&r&&Object.defineProperty(i,e,r),r};const y=class{constructor(i){t(this,i),this.parentFocusinHandler=()=>{var t;null===(t=this.tooltipElement)||void 0===t||t.showTooltip()},this.parentFocusoutHandler=()=>{var t;null===(t=this.tooltipElement)||void 0===t||t.hideTooltip()},this.tooltipPlacement="bottom-start",this.tooltipAccent="light",this.tooltipContrast="default"}async setShowTooltip(){var t;await(null===(t=this.tooltipElement)||void 0===t?void 0:t.showTooltip())}async setHideTooltip(){var t;await(null===(t=this.tooltipElement)||void 0===t?void 0:t.hideTooltip())}connectedCallback(){const t=this.root.parentElement;t&&(t.addEventListener("focusin",this.parentFocusinHandler),t.addEventListener("focusout",this.parentFocusoutHandler))}componentWillLoad(){u(this.root)}disconnectedCallback(){const t=this.root.parentElement;t&&(t.removeEventListener("focusin",this.parentFocusinHandler),t.removeEventListener("focusout",this.parentFocusoutHandler))}onMutation(){s(this.root)}onResize(){s(this.root)}getTooltipContent(){return v(Array.from(this.root.childNodes))||""}needsTruncation(){const t=this.root.shadowRoot.querySelector(".gux-truncate-slot-container");return(null==t?void 0:t.scrollWidth)>(null==t?void 0:t.offsetWidth)||(null==t?void 0:t.scrollHeight)>(null==t?void 0:t.offsetHeight)}renderTooltip(){return this.needsTruncation()?i("gux-tooltip",{accent:this.tooltipAccent,contrast:this.tooltipContrast,placement:this.tooltipPlacement,"aria-hidden":"true",ref:t=>this.tooltipElement=t},i("div",{slot:"content"},this.getTooltipContent())):null}render(){var t;return i("div",{key:"9ea9ec72510900d0486c14cd9902c421676861bf",class:{"gux-truncate-multi-line":Boolean(this.maxLines)}},i("span",{key:"28f06b5e99cbf2a478664a89adc4bee270ee0394",class:{"gux-overflow-hidden":this.needsTruncation(),"gux-truncate-slot-container":!0},style:{webkitLineClamp:null===(t=this.maxLines)||void 0===t?void 0:t.toString()}},i("slot",{key:"05a282c789ece309661e2e7d913da3221f647b29"})),this.renderTooltip())}get root(){return o(this)}};w([m({childList:!0,subtree:!0,characterData:!0})],y.prototype,"onMutation",null),w([b()],y.prototype,"onResize",null),y.style=":host{display:inline-block;inline-size:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;cursor:inherit}::slotted(*){display:inline}.gux-truncate-multi-line{white-space:normal}.gux-truncate-multi-line .gux-truncate-slot-container{display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:1;line-clamp:1}gux-tooltip{font-weight:normal;line-height:normal;text-align:start;overflow-wrap:break-word;white-space:normal}.gux-truncate-slot-container>*{display:inline}.gux-truncate-slot-container{display:block;text-overflow:ellipsis}.gux-overflow-hidden{overflow:hidden}";export{x as gux_tooltip,y as gux_truncate}
@@ -1 +1 @@
1
- import{r as e,f as o,h as r,a as t}from"./p-CW7z6RPd.js";import{c as i,o as n}from"./p-Cb3FOYGS.js";import{O as l}from"./p-QDdMA8yS.js";import{o as a}from"./p-De1NnCmO.js";import{p as s}from"./p-PYfNAK8p.js";import{h as u}from"./p-qzV3vtOw.js";import{G as f,a as d}from"./p-PyAf0Vv-.js";import{G as c,a as g}from"./p-BmJEQySK.js";import{h,c as p,a as m,v as b,g as x}from"./p-7Jfa0k54.js";import{t as v}from"./p-ByN57IpV.js";import{f as C}from"./p-JHLuJ8Pb.js";import"./p-D9jKBqIb.js";import"./p-DxtJDeL9.js";import"./p-BMRf5pjV.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=u(this.root,"error"),this.hasHelp=u(this.root,"help")}handleKeyup(e){var o,r;switch(e.key){case"Tab":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));break;case"Shift":break;default:this.input.matches(":focus-visible")&&(null===(r=this.labelInfo)||void 0===r||r.hideTooltip(),clearTimeout(this.hideLabelInfoTimeout))}}onFocusout(){var e;null===(e=this.labelInfo)||void 0===e||e.hideTooltip(),clearTimeout(this.hideLabelInfoTimeout)}async guxForceUpdate(){this.hasContent=h(this.input),this.hasError=u(this.root,"error"),this.hasHelp=u(this.root,"help"),o(this.root)}componentWillLoad(){this.setInput(),this.setLabel(),this.labelInfo=this.root.querySelector("[slot=label-info]"),this.hasError=u(this.root,"error"),this.hasHelp=u(this.root,"help"),v(this.root,{variant:this.variant})}connectedCallback(){this.hasError=u(this.root,"error"),this.hasHelp=u(this.root,"help")}disconnectedCallback(){this.disabledObserver&&this.disabledObserver.disconnect(),this.requiredObserver&&this.requiredObserver.disconnect()}render(){return r(g,{key:"5327b40774c9d5e90ecf607cd413bb9d82125caa",labelPosition:this.computedLabelPosition},r(c,{key:"cbd7b30ec7f3cfbdf4933495f9b193af7ea4b85c",required:this.required,position:this.computedLabelPosition},r("slot",{key:"2de3fd2daf32453eb36281b06a392556bc57d185",name:"label",onSlotchange:()=>this.setLabel()}),r("gux-form-field-label-indicator",{key:"3a4d8b7451457993f42d38450e9b5d97ee22bf1e",variant:this.indicatorMark,required:this.required}),r("slot",{key:"bc592a77abb22b9086486324cebf0d4426e5f06e",name:"label-info"})),r("div",{key:"ccd14adc575915083f0512ca0036d81eace704a3",class:"gux-input-and-error-container"},r("div",{key:"2528bbf0a05e64431068b558abc63387a01a6ec2",class:{"gux-input":!0,"gux-input-error":this.hasError}},r("div",{key:"dd191dca5ddf1b86d05b7e56cdd5317d5db3b51b",class:{"gux-input-container":!0,"gux-disabled":this.disabled},onClick:()=>C(this.input)},r("gux-icon",{key:"6581e04612926872e7582a04738eed93be858f94","icon-name":"fa/magnifying-glass-regular",decorative:!0,size:"small"}),r("slot",{key:"6cb73ce986a7241238afe27db1898390903e1f70",name:"input"}),this.clearable&&this.hasContent&&!this.disabled&&r("gux-form-field-input-clear-button",{key:"16a5bc8abd862b3e86cd895f13dc57505390aff0",onClick:()=>p(this.input)}))),r(f,{key:"3553a5ae0b040bccf6c4042c63d5f3333b5459eb",show:this.hasError},r("slot",{key:"4848838cae9ea521ca7286fa8ff276bd9e807bd0",name:"error"})),r(d,{key:"6ad82ab2b2d447f5af79fed65008588afb42143d",show:!this.hasError&&this.hasHelp},r("slot",{key:"c9ef52ef295d474788630dae05df86918a56f4eb",name:"help"}))))}get variant(){const e=this.labelPosition?this.labelPosition.toLowerCase():"none";return`${this.input.getAttribute("type")}-${e}`}setInput(){this.input=m(this.root,'input[type="search"][slot="input"]'),this.hasContent=h(this.input),s(this.input),this.input.addEventListener("input",(()=>{this.hasContent=h(this.input)})),this.disabled=i(this.input),this.required=this.input.required,this.disabledObserver=n(this.input,(e=>{this.disabled=e})),this.requiredObserver=a(this.input,(e=>{this.required=e})),b(this.root,this.input)}setLabel(){this.label=this.root.querySelector('label[slot="label"]'),this.computedLabelPosition=x(this.label,this.labelPosition)}get root(){return t(this)}};(function(e,o,r,t){var i,n=arguments.length,l=n<3?o:null===t?t=Object.getOwnPropertyDescriptor(o,r):t;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)l=Reflect.decorate(e,o,r,t);else for(var a=e.length-1;a>=0;a--)(i=e[a])&&(l=(n<3?i(l):n>3?i(o,r,l):i(o,r))||l);n>3&&l&&Object.defineProperty(o,r,l)})([l({childList:!0,subtree:!0})],y.prototype,"onMutation",null),y.style='.gux-form-field-container{display:flex;flex-direction:column}.gux-form-field-container.gux-beside{flex-direction:row}.gux-character-counter{display:grid;grid-template-rows:auto auto auto;grid-template-columns:1fr 1fr}.gux-character-counter :nth-child(1){grid-row:1/2;grid-column:2/3}.gux-character-counter :nth-child(2){grid-row:1/2;grid-column:1/2}.gux-character-counter :nth-child(3){grid-row:2/3;grid-column:1/-1}.gux-character-counter :nth-child(4){grid-row:3/4;grid-column:1/-1}.gux-character-counter.gux-beside{grid-template-columns:min-content 1fr}.gux-character-counter.gux-beside :nth-child(1){grid-row:1/2;grid-column:1/-1}.gux-character-counter.gux-beside :nth-child(2){grid-row:2/3;grid-column:1/2}.gux-character-counter.gux-beside :nth-child(3){grid-row:2/3;grid-column:2/3}.gux-character-counter.gux-beside :nth-child(4){grid-row:3/4;grid-column:1/-1}.gux-form-field-error{display:none;flex-direction:row;flex-wrap:nowrap;gap:var(--gse-ui-formControl-helper-gap);place-content:stretch flex-start;padding:var(--gse-ui-formControl-helper-errorPadding);font-family:var(--gse-ui-formControl-helper-helperText-fontFamily);font-size:var(--gse-ui-formControl-helper-helperText-fontSize);line-height:var(--gse-ui-formControl-helper-helperText-lineHeight);color:var(--gse-ui-formControl-helper-errorColor)}.gux-form-field-error.gux-show{display:flex}.gux-form-field-error gux-icon{flex:0 0 auto;order:0;color:var(--gse-ui-formControl-helper-errorColor)}.gux-form-field-error .gux-message{flex:0 1 auto;align-self:auto;order:0}.gux-form-field-label{display:inline-flex;flex:1 0 auto}.gux-form-field-label ::slotted(label){min-inline-size:0}.gux-form-field-label ::slotted(gux-label-info-beta){padding-inline-start:var(--gse-ui-formControl-formField-gap)}.gux-form-field-label.gux-beside{position:relative;inset-block-start:var(--gse-ui-formControl-input-top);inline-size:fit-content;min-inline-size:var(--gse-ui-formControl-input-textfield-minWidth);max-inline-size:fit-content;margin-inline-end:var(--gse-ui-formControl-group-gapItems)}.gux-form-field-label.gux-above{padding-block-end:var(--gse-ui-formControl-formField-gap)}.gux-form-field-label.gux-screenreader{position:absolute;top:auto;left:-10000px;width:1px;height:1px;overflow:hidden}.gux-form-field-help{display:none;flex-direction:row;flex-wrap:nowrap;place-content:stretch flex-start;align-items:flex-start;justify-content:flex-start;padding-block-start:var(--gse-ui-formControl-formField-gap);font-family:var(--gse-ui-formControl-helper-helperText-fontFamily);font-size:var(--gse-ui-formControl-helper-helperText-fontSize);line-height:var(--gse-ui-formControl-helper-helperText-lineHeight);color:var(--gse-ui-formControl-helper-defaultColor)}.gux-form-field-help.gux-show{display:flex}.gux-form-field-help .gux-message{flex:0 1 auto;align-self:none;order:0}:host{display:block}::slotted(label){font-family:var(--gse-ui-formControl-label-textBold-fontFamily);font-size:var(--gse-ui-formControl-label-textBold-fontSize);font-weight:var(--gse-ui-formControl-label-textBold-fontWeight);line-height:var(--gse-ui-formControl-label-textBold-lineHeight);color:var(--gse-ui-formControl-label-labelColor)}::slotted(input){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 r,a as t}from"./p-CW7z6RPd.js";import{c as i,o as n}from"./p-Cb3FOYGS.js";import{O as l}from"./p-QDdMA8yS.js";import{o as a}from"./p-De1NnCmO.js";import{p as s}from"./p-PYfNAK8p.js";import{h as u}from"./p-qzV3vtOw.js";import{G as f,a as d}from"./p-PyAf0Vv-.js";import{G as c,a as g}from"./p-BmJEQySK.js";import{h,c as p,a as m,v as b,g as x}from"./p-KdigjDpl.js";import{t as v}from"./p-DfUlhgkE.js";import{f as C}from"./p-JHLuJ8Pb.js";import"./p-D9jKBqIb.js";import"./p-DxtJDeL9.js";import"./p-BMRf5pjV.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=u(this.root,"error"),this.hasHelp=u(this.root,"help")}handleKeyup(e){var o,r;switch(e.key){case"Tab":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));break;case"Shift":break;default:this.input.matches(":focus-visible")&&(null===(r=this.labelInfo)||void 0===r||r.hideTooltip(),clearTimeout(this.hideLabelInfoTimeout))}}onFocusout(){var e;null===(e=this.labelInfo)||void 0===e||e.hideTooltip(),clearTimeout(this.hideLabelInfoTimeout)}async guxForceUpdate(){this.hasContent=h(this.input),this.hasError=u(this.root,"error"),this.hasHelp=u(this.root,"help"),o(this.root)}componentWillLoad(){this.setInput(),this.setLabel(),this.labelInfo=this.root.querySelector("[slot=label-info]"),this.hasError=u(this.root,"error"),this.hasHelp=u(this.root,"help"),v(this.root,{variant:this.variant})}connectedCallback(){this.hasError=u(this.root,"error"),this.hasHelp=u(this.root,"help")}disconnectedCallback(){this.disabledObserver&&this.disabledObserver.disconnect(),this.requiredObserver&&this.requiredObserver.disconnect()}render(){return r(g,{key:"5327b40774c9d5e90ecf607cd413bb9d82125caa",labelPosition:this.computedLabelPosition},r(c,{key:"cbd7b30ec7f3cfbdf4933495f9b193af7ea4b85c",required:this.required,position:this.computedLabelPosition},r("slot",{key:"2de3fd2daf32453eb36281b06a392556bc57d185",name:"label",onSlotchange:()=>this.setLabel()}),r("gux-form-field-label-indicator",{key:"3a4d8b7451457993f42d38450e9b5d97ee22bf1e",variant:this.indicatorMark,required:this.required}),r("slot",{key:"bc592a77abb22b9086486324cebf0d4426e5f06e",name:"label-info"})),r("div",{key:"ccd14adc575915083f0512ca0036d81eace704a3",class:"gux-input-and-error-container"},r("div",{key:"2528bbf0a05e64431068b558abc63387a01a6ec2",class:{"gux-input":!0,"gux-input-error":this.hasError}},r("div",{key:"dd191dca5ddf1b86d05b7e56cdd5317d5db3b51b",class:{"gux-input-container":!0,"gux-disabled":this.disabled},onClick:()=>C(this.input)},r("gux-icon",{key:"6581e04612926872e7582a04738eed93be858f94","icon-name":"fa/magnifying-glass-regular",decorative:!0,size:"small"}),r("slot",{key:"6cb73ce986a7241238afe27db1898390903e1f70",name:"input"}),this.clearable&&this.hasContent&&!this.disabled&&r("gux-form-field-input-clear-button",{key:"16a5bc8abd862b3e86cd895f13dc57505390aff0",onClick:()=>p(this.input)}))),r(f,{key:"3553a5ae0b040bccf6c4042c63d5f3333b5459eb",show:this.hasError},r("slot",{key:"4848838cae9ea521ca7286fa8ff276bd9e807bd0",name:"error"})),r(d,{key:"6ad82ab2b2d447f5af79fed65008588afb42143d",show:!this.hasError&&this.hasHelp},r("slot",{key:"c9ef52ef295d474788630dae05df86918a56f4eb",name:"help"}))))}get variant(){const e=this.labelPosition?this.labelPosition.toLowerCase():"none";return`${this.input.getAttribute("type")}-${e}`}setInput(){this.input=m(this.root,'input[type="search"][slot="input"]'),this.hasContent=h(this.input),s(this.input),this.input.addEventListener("input",(()=>{this.hasContent=h(this.input)})),this.disabled=i(this.input),this.required=this.input.required,this.disabledObserver=n(this.input,(e=>{this.disabled=e})),this.requiredObserver=a(this.input,(e=>{this.required=e})),b(this.root,this.input)}setLabel(){this.label=this.root.querySelector('label[slot="label"]'),this.computedLabelPosition=x(this.label,this.labelPosition)}get root(){return t(this)}};(function(e,o,r,t){var i,n=arguments.length,l=n<3?o:null===t?t=Object.getOwnPropertyDescriptor(o,r):t;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)l=Reflect.decorate(e,o,r,t);else for(var a=e.length-1;a>=0;a--)(i=e[a])&&(l=(n<3?i(l):n>3?i(o,r,l):i(o,r))||l);n>3&&l&&Object.defineProperty(o,r,l)})([l({childList:!0,subtree:!0})],y.prototype,"onMutation",null),y.style='.gux-form-field-container{display:flex;flex-direction:column}.gux-form-field-container.gux-beside{flex-direction:row}.gux-character-counter{display:grid;grid-template-rows:auto auto auto;grid-template-columns:1fr 1fr}.gux-character-counter :nth-child(1){grid-row:1/2;grid-column:2/3}.gux-character-counter :nth-child(2){grid-row:1/2;grid-column:1/2}.gux-character-counter :nth-child(3){grid-row:2/3;grid-column:1/-1}.gux-character-counter :nth-child(4){grid-row:3/4;grid-column:1/-1}.gux-character-counter.gux-beside{grid-template-columns:min-content 1fr}.gux-character-counter.gux-beside :nth-child(1){grid-row:1/2;grid-column:1/-1}.gux-character-counter.gux-beside :nth-child(2){grid-row:2/3;grid-column:1/2}.gux-character-counter.gux-beside :nth-child(3){grid-row:2/3;grid-column:2/3}.gux-character-counter.gux-beside :nth-child(4){grid-row:3/4;grid-column:1/-1}.gux-form-field-error{display:none;flex-direction:row;flex-wrap:nowrap;gap:var(--gse-ui-formControl-helper-gap);place-content:stretch flex-start;padding:var(--gse-ui-formControl-helper-errorPadding);font-family:var(--gse-ui-formControl-helper-helperText-fontFamily);font-size:var(--gse-ui-formControl-helper-helperText-fontSize);line-height:var(--gse-ui-formControl-helper-helperText-lineHeight);color:var(--gse-ui-formControl-helper-errorColor)}.gux-form-field-error.gux-show{display:flex}.gux-form-field-error gux-icon{flex:0 0 auto;order:0;color:var(--gse-ui-formControl-helper-errorColor)}.gux-form-field-error .gux-message{flex:0 1 auto;align-self:auto;order:0}.gux-form-field-label{display:inline-flex;flex:1 0 auto}.gux-form-field-label ::slotted(label){min-inline-size:0}.gux-form-field-label ::slotted(gux-label-info-beta){padding-inline-start:var(--gse-ui-formControl-formField-gap)}.gux-form-field-label.gux-beside{position:relative;inset-block-start:var(--gse-ui-formControl-input-top);inline-size:fit-content;min-inline-size:var(--gse-ui-formControl-input-textfield-minWidth);max-inline-size:fit-content;margin-inline-end:var(--gse-ui-formControl-group-gapItems)}.gux-form-field-label.gux-above{padding-block-end:var(--gse-ui-formControl-formField-gap)}.gux-form-field-label.gux-screenreader{position:absolute;top:auto;left:-10000px;width:1px;height:1px;overflow:hidden}.gux-form-field-help{display:none;flex-direction:row;flex-wrap:nowrap;place-content:stretch flex-start;align-items:flex-start;justify-content:flex-start;padding-block-start:var(--gse-ui-formControl-formField-gap);font-family:var(--gse-ui-formControl-helper-helperText-fontFamily);font-size:var(--gse-ui-formControl-helper-helperText-fontSize);line-height:var(--gse-ui-formControl-helper-helperText-lineHeight);color:var(--gse-ui-formControl-helper-defaultColor)}.gux-form-field-help.gux-show{display:flex}.gux-form-field-help .gux-message{flex:0 1 auto;align-self:none;order:0}:host{display:block}::slotted(label){font-family:var(--gse-ui-formControl-label-textBold-fontFamily);font-size:var(--gse-ui-formControl-label-textBold-fontSize);font-weight:var(--gse-ui-formControl-label-textBold-fontWeight);line-height:var(--gse-ui-formControl-label-textBold-lineHeight);color:var(--gse-ui-formControl-label-labelColor)}::slotted(input){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 o,h as r,a as t}from"./p-CW7z6RPd.js";import{t as e}from"./p-ByN57IpV.js";import{b as i}from"./p-DYtJNWnZ.js";import"./p-Cd4R0amv.js";var a={clear:"Clear"};const n=class{constructor(r){o(this,r)}async componentWillLoad(){e(this.root),this.i18n=await i(this.root,a)}render(){return r("button",{key:"13dfaf1c82176ed025a8b845d743642230af430f",tabIndex:-1,type:"button","aria-label":this.i18n("clear")},r("gux-icon",{key:"7080c2be46786a295956eaf4edfee2d87a57b9f7","icon-name":"fa/xmark-large-regular",decorative:!0,size:"small"}),r("gux-tooltip-beta",{key:"815da91dece23fbeff4b1241b46c81d20823e4c4","visual-only":!0},r("div",{key:"9f14462252cc928f5564d220594905c2e48765cb",slot:"content"},this.i18n("clear"))))}static get delegatesFocus(){return!0}get root(){return t(this)}};n.style="button{display:flex;padding:0;color:var(--gse-ui-formControl-input-inputClearable-inputClearableColor);background:transparent;border:none;border-radius:var(--gse-ui-formControl-input-borderRadius)}button:not(:disabled):focus-visible,button:not(:disabled):hover{color:var(--gse-ui-formControl-input-inputIcon-iconEndColor);cursor:pointer}button gux-icon{border-radius:var(--gse-ui-formControl-input-borderRadius)}button:focus{outline:none}button:focus-visible:enabled gux-icon{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);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)}";export{n as gux_form_field_input_clear_button}
1
+ import{r as o,h as r,a as t}from"./p-CW7z6RPd.js";import{t as e}from"./p-DfUlhgkE.js";import{b as i}from"./p-DYtJNWnZ.js";import"./p-Cd4R0amv.js";var a={clear:"Clear"};const n=class{constructor(r){o(this,r)}async componentWillLoad(){e(this.root),this.i18n=await i(this.root,a)}render(){return r("button",{key:"13dfaf1c82176ed025a8b845d743642230af430f",tabIndex:-1,type:"button","aria-label":this.i18n("clear")},r("gux-icon",{key:"7080c2be46786a295956eaf4edfee2d87a57b9f7","icon-name":"fa/xmark-large-regular",decorative:!0,size:"small"}),r("gux-tooltip-beta",{key:"815da91dece23fbeff4b1241b46c81d20823e4c4","visual-only":!0},r("div",{key:"9f14462252cc928f5564d220594905c2e48765cb",slot:"content"},this.i18n("clear"))))}static get delegatesFocus(){return!0}get root(){return t(this)}};n.style="button{display:flex;padding:0;color:var(--gse-ui-formControl-input-inputClearable-inputClearableColor);background:transparent;border:none;border-radius:var(--gse-ui-formControl-input-borderRadius)}button:not(:disabled):focus-visible,button:not(:disabled):hover{color:var(--gse-ui-formControl-input-inputIcon-iconEndColor);cursor:pointer}button gux-icon{border-radius:var(--gse-ui-formControl-input-borderRadius)}button:focus{outline:none}button:focus-visible:enabled gux-icon{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);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)}";export{n as gux_form_field_input_clear_button}
@@ -1 +1 @@
1
- import{r as t,h as o,a as i}from"./p-CW7z6RPd.js";import{t as e}from"./p-ByN57IpV.js";const n=class{constructor(o){t(this,o),this.size="small",this.placement="right",this.accent="light",this.visualOnly=!1}componentWillLoad(){e(this.root)}async showTooltip(){return await this.tooltip.showTooltip()}async hideTooltip(){return await this.tooltip.hideTooltip()}render(){return o("div",{key:"27858881c0f2f3cf742577ada513ccbfced4e736",class:"gux-icon-tooltip"},o("gux-icon",{key:"95464ed3068d35b5766067a5dfa69e602473fdc7","icon-name":this.iconName,size:this.size,decorative:!0}),o("gux-tooltip-beta",{key:"9c76a2ecb44d41818ddbe0322af235417b257076",placement:this.placement,accent:this.accent,"visual-only":this.visualOnly,ref:t=>this.tooltip=t},o("div",{key:"628e9235a36905d0e34182b1064611f1df80f054",slot:"content"},o("slot",{key:"08de91787e44209346b270d58944fef4c5fd59d1",name:"content"}))))}get root(){return i(this)}};n.style=":host{display:contents}.gux-icon-tooltip{inline-size:fit-content;padding:0;line-height:0;background-color:transparent;border:none;border-radius:var(--gse-ui-formControl-label-tooltipTrigger-borderRadius)}.gux-icon-tooltip gux-tooltip-beta{padding-inline-start:0}.gux-icon-tooltip gux-icon{vertical-align:bottom;color:var(--gse-ui-formControl-label-tooltipTrigger-color)}";export{n as gux_icon_tooltip_beta}
1
+ import{r as t,h as o,a as i}from"./p-CW7z6RPd.js";import{t as e}from"./p-DfUlhgkE.js";const n=class{constructor(o){t(this,o),this.size="small",this.placement="right",this.accent="light",this.visualOnly=!1}componentWillLoad(){e(this.root)}async showTooltip(){return await this.tooltip.showTooltip()}async hideTooltip(){return await this.tooltip.hideTooltip()}render(){return o("div",{key:"27858881c0f2f3cf742577ada513ccbfced4e736",class:"gux-icon-tooltip"},o("gux-icon",{key:"95464ed3068d35b5766067a5dfa69e602473fdc7","icon-name":this.iconName,size:this.size,decorative:!0}),o("gux-tooltip-beta",{key:"9c76a2ecb44d41818ddbe0322af235417b257076",placement:this.placement,accent:this.accent,"visual-only":this.visualOnly,ref:t=>this.tooltip=t},o("div",{key:"628e9235a36905d0e34182b1064611f1df80f054",slot:"content"},o("slot",{key:"08de91787e44209346b270d58944fef4c5fd59d1",name:"content"}))))}get root(){return i(this)}};n.style=":host{display:contents}.gux-icon-tooltip{inline-size:fit-content;padding:0;line-height:0;background-color:transparent;border:none;border-radius:var(--gse-ui-formControl-label-tooltipTrigger-borderRadius)}.gux-icon-tooltip gux-tooltip-beta{padding-inline-start:0}.gux-icon-tooltip gux-icon{vertical-align:bottom;color:var(--gse-ui-formControl-label-tooltipTrigger-color)}";export{n as gux_icon_tooltip_beta}
@@ -1 +1 @@
1
- import{r as e,h as t,a}from"./p-CW7z6RPd.js";import{t as o}from"./p-ByN57IpV.js";import{g as i}from"./p-MAoEg4ig.js";const r=class{constructor(t){e(this,t),this.variant="info",this.placement="right"}componentWillLoad(){o(this.root,{variant:this.variant})}getVariantIcon(e){return"question"===e?"fa/circle-question-regular":"fa/circle-info-regular"}async showTooltip(){return await this.tooltipElement.showTooltip()}async hideTooltip(){return await this.tooltipElement.hideTooltip()}render(){return t("div",{key:"ed6374e65d33a2aa7e3708d1a4931d5eb3fa1db1",class:"gux-label-info"},t("gux-screen-reader-beta",{key:"9a6fe28dbea23156b203504f14cf728d7539320e"},i(this.root,"content")),t("gux-icon",{key:"12e85b0a53bece92df08028a7a6195afdf83657b","icon-name":this.getVariantIcon(this.variant),size:"small",decorative:!0}),t("gux-tooltip-beta",{key:"f0f34e49f6c9e6f626b6b404f4a6df0b66eb77a1",placement:this.placement,ref:e=>this.tooltipElement=e},t("slot",{key:"c6280f7cb76169036de380a599b67bf1ea5fbe97",name:"content"})))}get root(){return a(this)}};r.style=".gux-label-info{inline-size:fit-content;padding:0;line-height:0;background-color:transparent;border:none;border-radius:var(--gse-ui-formControl-label-tooltipTrigger-borderRadius)}.gux-label-info gux-tooltip{padding-inline-start:0}.gux-label-info gux-icon{vertical-align:bottom;color:var(--gse-ui-formControl-label-tooltipTrigger-color)}";export{r as gux_label_info_beta}
1
+ import{r as e,h as t,a}from"./p-CW7z6RPd.js";import{t as o}from"./p-DfUlhgkE.js";import{g as i}from"./p-MAoEg4ig.js";const r=class{constructor(t){e(this,t),this.variant="info",this.placement="right"}componentWillLoad(){o(this.root,{variant:this.variant})}getVariantIcon(e){return"question"===e?"fa/circle-question-regular":"fa/circle-info-regular"}async showTooltip(){return await this.tooltipElement.showTooltip()}async hideTooltip(){return await this.tooltipElement.hideTooltip()}render(){return t("div",{key:"ed6374e65d33a2aa7e3708d1a4931d5eb3fa1db1",class:"gux-label-info"},t("gux-screen-reader-beta",{key:"9a6fe28dbea23156b203504f14cf728d7539320e"},i(this.root,"content")),t("gux-icon",{key:"12e85b0a53bece92df08028a7a6195afdf83657b","icon-name":this.getVariantIcon(this.variant),size:"small",decorative:!0}),t("gux-tooltip-beta",{key:"f0f34e49f6c9e6f626b6b404f4a6df0b66eb77a1",placement:this.placement,ref:e=>this.tooltipElement=e},t("slot",{key:"c6280f7cb76169036de380a599b67bf1ea5fbe97",name:"content"})))}get root(){return a(this)}};r.style=".gux-label-info{inline-size:fit-content;padding:0;line-height:0;background-color:transparent;border:none;border-radius:var(--gse-ui-formControl-label-tooltipTrigger-borderRadius)}.gux-label-info gux-tooltip{padding-inline-start:0}.gux-label-info gux-icon{vertical-align:bottom;color:var(--gse-ui-formControl-label-tooltipTrigger-color)}";export{r as gux_label_info_beta}
@@ -0,0 +1 @@
1
+ import{r as t,f as e,h as i,a as o}from"./p-CW7z6RPd.js";import{l as s}from"./p-DxtJDeL9.js";import{O as n}from"./p-QDdMA8yS.js";import{O as r}from"./p-AdM1Un4y.js";var l=function(t,e,i,o){var s,n=arguments.length,r=n<3?e:null===o?o=Object.getOwnPropertyDescriptor(e,i):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)r=Reflect.decorate(t,e,i,o);else for(var l=t.length-1;l>=0;l--)(s=t[l])&&(r=(n<3?s(r):n>3?s(e,i,r):s(e,i))||r);return n>3&&r&&Object.defineProperty(e,i,r),r};const h=class{constructor(e){t(this,e),this.contrast="default",this.hasTooltip=!1,this.showTooltip=!1,this.iconOnly=!1,this.titleName=""}onmouseenter(t){t.buttons||(this.showTooltip=!0)}onmouseleave(){this.showTooltip=!1}onmousedown(){this.showTooltip=!1}async setShowTooltip(){this.tooltipElement&&(this.showTooltip=!0,await this.tooltipElement.showTooltip())}async setHideTooltip(){this.tooltipElement&&(this.showTooltip=!1,await this.tooltipElement.hideTooltip())}onMutation(){const t=this.setTooltipTitleText();this.titleName!==t&&(this.titleName=t,e(this.root)),this.checkForTooltipHideOrShow()}onResize(){this.titleName=this.setTooltipTitleText(),this.checkForTooltipHideOrShow()}componentWillLoad(){this.titleName=this.setTooltipTitleText()}componentDidLoad(){this.logWarnNoIconSrText()}logWarnNoIconSrText(){this.iconOnly&&!this.titleName&&s(this.root,"No screenreader-text provided. Provide a localized screenreader-text property for the gux-icon. The screenreader-text property is used for the icon screenreader text and the tooltip.")}getTitleElements(){var t;const e=this.root.querySelector("slot"),i=null===(t=this.root.querySelector(".gux-title-container span"))||void 0===t?void 0:t.children;return e?e.assignedElements():i?Array.from(i):[]}getTitleTextContent(){return this.root.querySelector("slot")?this.root.querySelector("slot").assignedNodes().map((t=>t.textContent.trim())).join(""):this.root.querySelector(".gux-title-container")?this.root.querySelector(".gux-title-container").textContent.trim():""}setTooltipTitleText(){let t=this.getTitleTextContent();return this.iconOnly=!1,this.root.classList.remove("gux-tooltip-icon-decorative"),this.getTitleElements().forEach((e=>{"GUX-ICON"!==e.tagName||this.getTitleTextContent()?"GUX-ICON"===e.tagName&&this.getTitleTextContent()&&this.root.classList.add("gux-tooltip-icon-decorative"):(this.iconOnly=!0,t=e.getAttribute("screenreader-text"))})),t}checkForTooltipHideOrShow(){const t=this.root.querySelector(".gux-title-container");this.root.classList.remove("gux-overflow-hidden"),this.iconOnly&&this.titleName?this.hasTooltip=!0:(null==t?void 0:t.scrollWidth)>(null==t?void 0:t.offsetWidth)?(this.root.classList.add("gux-overflow-hidden"),this.hasTooltip=!0):this.hasTooltip=!1}render(){return[i("span",{key:"b545768fba5ccc14b7327064baafcfff35c2368d",class:{"gux-title-container":!0,"gux-icon-only":this.iconOnly}},i("slot",{key:"d97b761732eb74c56f7eb1dc38e368fb9c870c59"})),this.renderTooltip()]}renderTooltip(){if(this.hasTooltip)return i("gux-tooltip",{contrast:this.contrast,"aria-hidden":"true",ref:t=>this.tooltipElement=t,hidden:!this.showTooltip},i("div",{slot:"content"},this.setTooltipTitleText()))}get root(){return o(this)}};l([n({childList:!0,subtree:!0,characterData:!0})],h.prototype,"onMutation",null),l([r()],h.prototype,"onResize",null),h.style="gux-tooltip-title{overflow:hidden}gux-tooltip{font-weight:normal;line-height:normal;text-align:start;overflow-wrap:break-word;white-space:normal}.gux-overflow-hidden .gux-title-container ::slotted(span){overflow:hidden;text-overflow:ellipsis}.gux-overflow-hidden .gux-title-container>*{overflow:hidden;text-overflow:ellipsis}.gux-title-container{display:flex;pointer-events:none}.gux-tooltip-icon-decorative .gux-title-container{position:relative;margin-inline-start:20px}.gux-tooltip-icon-decorative .gux-title-container gux-icon,.gux-tooltip-icon-decorative .gux-title-container ::slotted(gux-icon){position:absolute;inset-block-start:1px;inset-inline-start:-20px;flex-shrink:0;inline-size:16px;block-size:16px}.gux-icon-only{line-height:0px}";export{h as gux_tooltip_title}
@@ -1 +1 @@
1
- import{r as t,h as s,H as e,a as i}from"./p-CW7z6RPd.js";import{t as r}from"./p-ByN57IpV.js";import{D as o,g as a}from"./p-D_4wz9ez.js";import{d as h,a as m}from"./p-BqBSg6zr.js";import{u as p}from"./p-BgaA4g76.js";import{g as n}from"./p-DYtJNWnZ.js";import"./p-DCZG2J0G.js";import"./p-Cd4R0amv.js";const d=class{constructor(s){t(this,s),this.hasRegionalDatesCookie=!1,this.datetime=(new Date).toISOString(),this.format="short"}componentWillLoad(){r(this.root),p()?this.hasRegionalDatesCookie=!0:this.formatter=new o(n(this.root))}renderDateTime(){return this.hasRegionalDatesCookie?h(m(this.root),{dateStyle:this.format,timeStyle:this.format,timeZone:a(this.timeZone)}).format(new Date(this.datetime)):this.formatter.formatDateTime(new Date(this.datetime),this.format,{timeZone:a(this.timeZone)})}render(){return s(e,{key:"9eb788900ebe3f0c7ffd7158c06e05bed2091b99"},this.renderDateTime())}get root(){return i(this)}};export{d as gux_date_time_beta}
1
+ import{r as t,h as s,H as e,a as i}from"./p-CW7z6RPd.js";import{t as r}from"./p-DfUlhgkE.js";import{D as o,g as a}from"./p-D_4wz9ez.js";import{d as h,a as m}from"./p-BqBSg6zr.js";import{u as p}from"./p-BgaA4g76.js";import{g as n}from"./p-DYtJNWnZ.js";import"./p-DCZG2J0G.js";import"./p-Cd4R0amv.js";const d=class{constructor(s){t(this,s),this.hasRegionalDatesCookie=!1,this.datetime=(new Date).toISOString(),this.format="short"}componentWillLoad(){r(this.root),p()?this.hasRegionalDatesCookie=!0:this.formatter=new o(n(this.root))}renderDateTime(){return this.hasRegionalDatesCookie?h(m(this.root),{dateStyle:this.format,timeStyle:this.format,timeZone:a(this.timeZone)}).format(new Date(this.datetime)):this.formatter.formatDateTime(new Date(this.datetime),this.format,{timeZone:a(this.timeZone)})}render(){return s(e,{key:"9eb788900ebe3f0c7ffd7158c06e05bed2091b99"},this.renderDateTime())}get root(){return i(this)}};export{d as gux_date_time_beta}
@@ -1 +1 @@
1
- import{r as e,c as t,f as n,h as s,H as a,a as o}from"./p-CW7z6RPd.js";import{b as i}from"./p-DYtJNWnZ.js";import{t as r}from"./p-ByN57IpV.js";import{g as c,s as h,a as l,b as d,c as u,d as b,e as m,f as p,h as g}from"./p-ygfGN0jf.js";import"./p-Cd4R0amv.js";import"./p-CcCycvZh.js";import"./p-BMRf5pjV.js";var x={search:"Search",searchResults:"search results",selectedColumnCount:"{count} / {total} Columns Selected",selectAllColumnsScreenReader:"{count} of {total} columns selected: check checkbox to select all {total} columns",unselectAllColumnsScreenReader:"{count} of {total} columns selected: uncheck checkbox to unselect all {total} columns",movePositionPrompt:"Press space or enter to move the {columnName} column to position {newPositionNumber} from position {oldPositionNumber}.",reorderingModeActive:"Reordering mode active. Reposition the {columnName} column using the up arrow key, the down arrow key, the home key and the end key. Press Escape to deactivate reordering mode."};const f=class{constructor(n){e(this,n),this.guxorderchange=t(this,"guxorderchange",7),this.highlightResults={matchCount:0,currentMatch:0},this.keyboardOrderChange=c()}watchKeyboardOrderChange(){h(this.root,this.keyboardOrderChange)}async componentWillLoad(){r(this.root),this.i18n=await i(this.root,x)}componentDidLoad(){l(this.root,this.mainCheckboxElement)}handleInternalorderchange(e){e.stopPropagation(),Array.from(this.root.children).forEach((e=>{e.reset()})),this.keyboardOrderChange=c(),this.emitOrderChange(e.detail)}emitOrderChange(e){const{oldIndex:t,newIndex:n}=e;if(t!==n){const t=d(this.root,e);this.guxorderchange.emit(t)}}handleInternalkeyboardorderstart(e){e.stopPropagation();const t=e.detail,n=u(e.target);this.keyboardOrderChange={oldIndex:n,newIndex:n},this.announceElement.guxAnnounce(this.i18n("reorderingModeActive",{columnName:t}))}handleInternalMousereordermove(e){var t;if(e.stopPropagation(),"number"==typeof(null===(t=this.keyboardOrderChange)||void 0===t?void 0:t.oldIndex)){const t=u(e.target);this.keyboardOrderChange.newIndex=t,this.emitOrderChange(this.keyboardOrderChange),this.keyboardOrderChange=c(),Array.from(this.root.children).forEach((e=>{e.reset()}))}else{const t=u(e.target);this.keyboardOrderChange={oldIndex:t,newIndex:null}}}handleInternalkeyboardreordermove(e){e.stopPropagation();const{delta:t,column:n}=e.detail;this.keyboardOrderChange=b(this.root,this.keyboardOrderChange,t),this.announceElement.guxAnnounce(this.i18n("movePositionPrompt",{columnName:n,newPositionNumber:this.keyboardOrderChange.newIndex+1,oldPositionNumber:this.keyboardOrderChange.oldIndex+1}))}handleInternalkeyboarddoreorder(e){e.stopPropagation(),this.emitOrderChange(this.keyboardOrderChange),e.target.guxFocus()}handleInternalkeyboardorderfinish(e){e.stopPropagation(),this.keyboardOrderChange=c(),Array.from(this.root.children).forEach((e=>{e.reset()}))}onSearchInput(){this.highlightResults=m(this.root,this.searchElement)}onGuxCurrentMatchChanged(e){this.highlightResults=m(this.root,this.searchElement,e.detail)}onMainCheckboxChange(){p(this.root,this.mainCheckboxElement.checked),n(this.root)}onListChange(){l(this.root,this.mainCheckboxElement),n(this.root)}onSlotChange(){this.onListChange()}renderSelectedColumnCount(){const{count:e,total:t}=g(this.root);return s("div",null,s("span",{"aria-hidden":"true"},this.i18n("selectedColumnCount",{count:e,total:t})),s("span",{class:"gux-sr-only"},s("span",null,": ",this.i18n(e===t?"unselectAllColumnsScreenReader":"selectAllColumnsScreenReader",{count:e,total:t}))))}render(){var e;const t=null!==(null===(e=this.keyboardOrderChange)||void 0===e?void 0:e.oldIndex);return s(a,{key:"5ef40dca1deaee1125bcbce09b98689f557b2568",class:{"gux-reordering":t}},s("div",{key:"8e556d0401ba3774d168bb670f725384d42ecf33",class:"gux-container"},s("div",{key:"62808c8945fd62386a5b3c1527b69d02cc727452",class:"gux-sr-only","aria-live":"polite"},`${this.highlightResults.matchCount} ${this.i18n("searchResults")}`),s("div",{key:"2232597bf6b18ed3b354b92dbc5e8444186e1b25",class:"gux-search"},s("gux-content-search",{key:"e6b719db5d2928ef1569f46ba309030c879c3483","match-count":this.highlightResults.matchCount,"current-match":this.highlightResults.currentMatch,onGuxcurrentmatchchanged:e=>this.onGuxCurrentMatchChanged(e)},s("input",{key:"086b8197e1f861a06c5d4530f656f9fd5a3faea3",type:"search",placeholder:this.i18n("search"),onInput:()=>this.onSearchInput(),ref:e=>this.searchElement=e}))),s("div",{key:"a53a08405ae924ac224605498ce1699b714ccd66",class:"gux-select"},s("gux-form-field-checkbox",{key:"2bd77b7476b3aca55e91fa04cde36b5174c93761"},s("input",{key:"65824c4819b83f60c774ffdb89d1f840d4dc893a",slot:"input",type:"checkbox",ref:e=>this.mainCheckboxElement=e,onChange:()=>this.onMainCheckboxChange()}),s("label",{key:"57287d6dc003d840848babf48ba395abf590fd34",slot:"label"},this.renderSelectedColumnCount()))),s("div",{key:"96d57b4334703a82df4dc3d157f19f7f7da7b4cf",class:"gux-list",onChange:()=>this.onListChange()},s("slot",{key:"51dba77fbc3559699b67bc85e03c920b0b01d7b5",onSlotchange:()=>this.onSlotChange()})),s("gux-announce-beta",{key:"4a7ba6a1b3dc662ebe1ef2b57e6da561a2f1ebc0",ref:e=>this.announceElement=e})))}get root(){return o(this)}static get watchers(){return{keyboardOrderChange:[{watchKeyboardOrderChange:0}]}}};f.style=".gux-container{inline-size:320px;min-inline-size:320px;padding:var(--gse-ui-dataTableItems-editColumn-editColumnContent-padding)}.gux-container .gux-search gux-content-search{inline-size:100%}.gux-container .gux-search gux-content-search input[type=search]::-webkit-search-decoration,.gux-container .gux-search gux-content-search input[type=search]::-webkit-search-cancel-button,.gux-container .gux-search gux-content-search input[type=search]::-webkit-search-results-button,.gux-container .gux-search gux-content-search input[type=search]::-webkit-search-results-decoration{display:none;-webkit-appearance:none}.gux-container .gux-select{padding:var(--gse-ui-dataTableItems-editColumn-editColumnContent-padding);margin-inline-start:24px}.gux-container .gux-list{display:flex;flex-direction:column;flex-wrap:nowrap;gap:4px}.gux-sr-only{}.gux-sr-only:not(:focus):not(:active){position:absolute;width:1px;height:1px;overflow:hidden;white-space:nowrap;clip-path:inset(50%)}";export{f as gux_column_manager}
1
+ import{r as e,c as t,f as n,h as s,H as a,a as o}from"./p-CW7z6RPd.js";import{b as i}from"./p-DYtJNWnZ.js";import{t as r}from"./p-DfUlhgkE.js";import{g as c,s as h,a as l,b as d,c as u,d as b,e as m,f as g,h as p}from"./p-ygfGN0jf.js";import"./p-Cd4R0amv.js";import"./p-CcCycvZh.js";import"./p-BMRf5pjV.js";var x={search:"Search",searchResults:"search results",selectedColumnCount:"{count} / {total} Columns Selected",selectAllColumnsScreenReader:"{count} of {total} columns selected: check checkbox to select all {total} columns",unselectAllColumnsScreenReader:"{count} of {total} columns selected: uncheck checkbox to unselect all {total} columns",movePositionPrompt:"Press space or enter to move the {columnName} column to position {newPositionNumber} from position {oldPositionNumber}.",reorderingModeActive:"Reordering mode active. Reposition the {columnName} column using the up arrow key, the down arrow key, the home key and the end key. Press Escape to deactivate reordering mode."};const f=class{constructor(n){e(this,n),this.guxorderchange=t(this,"guxorderchange",7),this.highlightResults={matchCount:0,currentMatch:0},this.keyboardOrderChange=c()}watchKeyboardOrderChange(){h(this.root,this.keyboardOrderChange)}async componentWillLoad(){r(this.root),this.i18n=await i(this.root,x)}componentDidLoad(){l(this.root,this.mainCheckboxElement)}handleInternalorderchange(e){e.stopPropagation(),Array.from(this.root.children).forEach((e=>{e.reset()})),this.keyboardOrderChange=c(),this.emitOrderChange(e.detail)}emitOrderChange(e){const{oldIndex:t,newIndex:n}=e;if(t!==n){const t=d(this.root,e);this.guxorderchange.emit(t)}}handleInternalkeyboardorderstart(e){e.stopPropagation();const t=e.detail,n=u(e.target);this.keyboardOrderChange={oldIndex:n,newIndex:n},this.announceElement.guxAnnounce(this.i18n("reorderingModeActive",{columnName:t}))}handleInternalMousereordermove(e){var t;if(e.stopPropagation(),"number"==typeof(null===(t=this.keyboardOrderChange)||void 0===t?void 0:t.oldIndex)){const t=u(e.target);this.keyboardOrderChange.newIndex=t,this.emitOrderChange(this.keyboardOrderChange),this.keyboardOrderChange=c(),Array.from(this.root.children).forEach((e=>{e.reset()}))}else{const t=u(e.target);this.keyboardOrderChange={oldIndex:t,newIndex:null}}}handleInternalkeyboardreordermove(e){e.stopPropagation();const{delta:t,column:n}=e.detail;this.keyboardOrderChange=b(this.root,this.keyboardOrderChange,t),this.announceElement.guxAnnounce(this.i18n("movePositionPrompt",{columnName:n,newPositionNumber:this.keyboardOrderChange.newIndex+1,oldPositionNumber:this.keyboardOrderChange.oldIndex+1}))}handleInternalkeyboarddoreorder(e){e.stopPropagation(),this.emitOrderChange(this.keyboardOrderChange),e.target.guxFocus()}handleInternalkeyboardorderfinish(e){e.stopPropagation(),this.keyboardOrderChange=c(),Array.from(this.root.children).forEach((e=>{e.reset()}))}onSearchInput(){this.highlightResults=m(this.root,this.searchElement)}onGuxCurrentMatchChanged(e){this.highlightResults=m(this.root,this.searchElement,e.detail)}onMainCheckboxChange(){g(this.root,this.mainCheckboxElement.checked),n(this.root)}onListChange(){l(this.root,this.mainCheckboxElement),n(this.root)}onSlotChange(){this.onListChange()}renderSelectedColumnCount(){const{count:e,total:t}=p(this.root);return s("div",null,s("span",{"aria-hidden":"true"},this.i18n("selectedColumnCount",{count:e,total:t})),s("span",{class:"gux-sr-only"},s("span",null,": ",this.i18n(e===t?"unselectAllColumnsScreenReader":"selectAllColumnsScreenReader",{count:e,total:t}))))}render(){var e;const t=null!==(null===(e=this.keyboardOrderChange)||void 0===e?void 0:e.oldIndex);return s(a,{key:"5ef40dca1deaee1125bcbce09b98689f557b2568",class:{"gux-reordering":t}},s("div",{key:"8e556d0401ba3774d168bb670f725384d42ecf33",class:"gux-container"},s("div",{key:"62808c8945fd62386a5b3c1527b69d02cc727452",class:"gux-sr-only","aria-live":"polite"},`${this.highlightResults.matchCount} ${this.i18n("searchResults")}`),s("div",{key:"2232597bf6b18ed3b354b92dbc5e8444186e1b25",class:"gux-search"},s("gux-content-search",{key:"e6b719db5d2928ef1569f46ba309030c879c3483","match-count":this.highlightResults.matchCount,"current-match":this.highlightResults.currentMatch,onGuxcurrentmatchchanged:e=>this.onGuxCurrentMatchChanged(e)},s("input",{key:"086b8197e1f861a06c5d4530f656f9fd5a3faea3",type:"search",placeholder:this.i18n("search"),onInput:()=>this.onSearchInput(),ref:e=>this.searchElement=e}))),s("div",{key:"a53a08405ae924ac224605498ce1699b714ccd66",class:"gux-select"},s("gux-form-field-checkbox",{key:"2bd77b7476b3aca55e91fa04cde36b5174c93761"},s("input",{key:"65824c4819b83f60c774ffdb89d1f840d4dc893a",slot:"input",type:"checkbox",ref:e=>this.mainCheckboxElement=e,onChange:()=>this.onMainCheckboxChange()}),s("label",{key:"57287d6dc003d840848babf48ba395abf590fd34",slot:"label"},this.renderSelectedColumnCount()))),s("div",{key:"96d57b4334703a82df4dc3d157f19f7f7da7b4cf",class:"gux-list",onChange:()=>this.onListChange()},s("slot",{key:"51dba77fbc3559699b67bc85e03c920b0b01d7b5",onSlotchange:()=>this.onSlotChange()})),s("gux-announce-beta",{key:"4a7ba6a1b3dc662ebe1ef2b57e6da561a2f1ebc0",ref:e=>this.announceElement=e})))}get root(){return o(this)}static get watchers(){return{keyboardOrderChange:[{watchKeyboardOrderChange:0}]}}};f.style=".gux-container{inline-size:320px;min-inline-size:320px;padding:var(--gse-ui-dataTableItems-editColumn-editColumnContent-padding)}.gux-container .gux-search gux-content-search{inline-size:100%}.gux-container .gux-search gux-content-search input[type=search]::-webkit-search-decoration,.gux-container .gux-search gux-content-search input[type=search]::-webkit-search-cancel-button,.gux-container .gux-search gux-content-search input[type=search]::-webkit-search-results-button,.gux-container .gux-search gux-content-search input[type=search]::-webkit-search-results-decoration{display:none;-webkit-appearance:none}.gux-container .gux-select{padding:var(--gse-ui-dataTableItems-editColumn-editColumnContent-padding);margin-inline-start:24px}.gux-container .gux-list{display:flex;flex-direction:column;flex-wrap:nowrap;gap:4px}.gux-sr-only{}.gux-sr-only:not(:focus):not(:active){position:absolute;width:1px;height:1px;overflow:hidden;white-space:nowrap;clip-path:inset(50%)}";export{f as gux_column_manager}
@@ -1 +1 @@
1
- import{r as a,f as t,h as r,a as e}from"./p-CW7z6RPd.js";import{b as s}from"./p-DYtJNWnZ.js";import{t as i}from"./p-ByN57IpV.js";import"./p-Cd4R0amv.js";var o={breadcrumbs:"Breadcrumbs"};const n=class{constructor(t){a(this,t),this.accent="primary"}componentWillLoad(){i(this.root,{variant:this.accent})}async componentWillRender(){this.i18n=await s(this.root,o)}onSlotChange(){Array.from(this.root.children).forEach((a=>t(a)))}render(){return r("nav",{key:"f8b76af928b5e484edf7f1623a8f51b88a9a74de","aria-label":this.i18n("breadcrumbs")},r("ol",{key:"c2fe8da7d9fcb21a7a698d11a15fec78df48214e"},r("slot",{key:"f0f14fffe605963db80742bd561c77bbf53fb1eb",onSlotchange:this.onSlotChange.bind(this)})))}get root(){return e(this)}};n.style="ol{display:flex;flex-direction:row;flex-wrap:wrap;place-content:flex-start flex-start;align-items:center;padding:0;margin:0;list-style:none}";export{n as gux_breadcrumbs}
1
+ import{r as a,f as t,h as r,a as e}from"./p-CW7z6RPd.js";import{b as s}from"./p-DYtJNWnZ.js";import{t as i}from"./p-DfUlhgkE.js";import"./p-Cd4R0amv.js";var o={breadcrumbs:"Breadcrumbs"};const n=class{constructor(t){a(this,t),this.accent="primary"}componentWillLoad(){i(this.root,{variant:this.accent})}async componentWillRender(){this.i18n=await s(this.root,o)}onSlotChange(){Array.from(this.root.children).forEach((a=>t(a)))}render(){return r("nav",{key:"f8b76af928b5e484edf7f1623a8f51b88a9a74de","aria-label":this.i18n("breadcrumbs")},r("ol",{key:"c2fe8da7d9fcb21a7a698d11a15fec78df48214e"},r("slot",{key:"f0f14fffe605963db80742bd561c77bbf53fb1eb",onSlotchange:this.onSlotChange.bind(this)})))}get root(){return e(this)}};n.style="ol{display:flex;flex-direction:row;flex-wrap:wrap;place-content:flex-start flex-start;align-items:center;padding:0;margin:0;list-style:none}";export{n as gux_breadcrumbs}
@@ -1 +1 @@
1
- import{r as i,h as t,a}from"./p-CW7z6RPd.js";import{b as e}from"./p-DYtJNWnZ.js";import{t as n}from"./p-ByN57IpV.js";import"./p-Cd4R0amv.js";var o={navigationName:"Skip links navigation"};const s=class{constructor(t){i(this,t)}async componentWillLoad(){n(this.root),this.i18n=await e(this.root,o)}render(){return t("div",{key:"a0cc9cd466fe24fe9aa589aa82a780854d17aea3",class:"gux-container"},t("nav",{key:"40728d0a937ec4beea6cf5a2c00a263f86e6a72a","aria-label":this.i18n("navigationName")},t("ul",{key:"46638fdc78f7408151b90e5b3df961e0e69591f7",role:"list"},t("slot",{key:"e48a148396777bb5fb84b4be42f802036d75834d"}))))}static get delegatesFocus(){return!0}get root(){return a(this)}};s.style=":host{position:absolute;top:auto;left:-10000px;width:1px;height:1px;overflow:hidden}:host(:focus-within){position:inherit;top:inherit;left:inherit;width:inherit;height:inherit;overflow:inherit;position:absolute;inset:0}.gux-container nav{inline-size:fit-content;margin-block:40px;margin-inline:auto}.gux-container nav ul{padding:0;margin:0}";export{s as gux_skip_navigation_list}
1
+ import{r as i,h as t,a}from"./p-CW7z6RPd.js";import{b as e}from"./p-DYtJNWnZ.js";import{t as n}from"./p-DfUlhgkE.js";import"./p-Cd4R0amv.js";var o={navigationName:"Skip links navigation"};const s=class{constructor(t){i(this,t)}async componentWillLoad(){n(this.root),this.i18n=await e(this.root,o)}render(){return t("div",{key:"a0cc9cd466fe24fe9aa589aa82a780854d17aea3",class:"gux-container"},t("nav",{key:"40728d0a937ec4beea6cf5a2c00a263f86e6a72a","aria-label":this.i18n("navigationName")},t("ul",{key:"46638fdc78f7408151b90e5b3df961e0e69591f7",role:"list"},t("slot",{key:"e48a148396777bb5fb84b4be42f802036d75834d"}))))}static get delegatesFocus(){return!0}get root(){return a(this)}};s.style=":host{position:absolute;top:auto;left:-10000px;width:1px;height:1px;overflow:hidden}:host(:focus-within){position:inherit;top:inherit;left:inherit;width:inherit;height:inherit;overflow:inherit;position:absolute;inset:0}.gux-container nav{inline-size:fit-content;margin-block:40px;margin-inline:auto}.gux-container nav ul{padding:0;margin:0}";export{s as gux_skip_navigation_list}
@@ -1 +1 @@
1
- import{r as e,c as i,h as a,a as s}from"./p-CW7z6RPd.js";import{r as o}from"./p-D9jKBqIb.js";import{t as d}from"./p-ByN57IpV.js";const t=class{constructor(a){e(this,a),this.guxdismiss=i(this,"guxdismiss",7),this.open=!1,this.size="medium",this.dialogElement=null}syncOpenState(){var e,i,a,s;this.open?null===(i=null===(e=this.dialogElement)||void 0===e?void 0:e.showModal)||void 0===i||i.call(e):(null===(s=null===(a=this.dialogElement)||void 0===a?void 0:a.close)||void 0===s||s.call(a),this.guxdismiss.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(){var e,i;this.open&&(null===(i=null===(e=this.dialogElement)||void 0===e?void 0:e.showModal)||void 0===i||i.call(e))}render(){const e=o();return a("dialog",{key:"1ee521e6f36f05ab5cbe2055675fbed95002ef41",ref:e=>{this.dialogElement=e},"aria-labelledby":e,class:{"gux-open":this.open}},a("gux-side-panel-beta",{key:"87b212370f2e38e95234833be5cfb116dfb08e98",size:this.size},a("div",{key:"1dbda8a467bb24e169cab65e83d4665fc0501656",slot:"header",id:e},a("slot",{key:"f974327d3ffe0ff3ae875ac9af60db65daf70c24",name:"header"})),a("div",{key:"b314598b00705738fc4b6ef7b33811fe90070875",slot:"content"},a("slot",{key:"5dcc6cf6aa11338d6af6e41596881146380d7e34",name:"content"})),a("div",{key:"dbe42262c5d06a89a5a794d531dc7fd28398ab43",slot:"footer"},a("slot",{key:"a3377d154e8bebcbd8aed3fb59e425859491e818",name:"footer"}))))}get root(){return s(this)}static get watchers(){return{open:[{syncOpenState:0}]}}};t.style="dialog{inset-inline-start:auto;display:flex;flex-direction:column;block-size:100%;min-block-size:100%;padding:0;margin:unset;overflow:hidden;color:inherit;border:none;transform:translateX(100%);transition:transform 0.2s ease-in-out}dialog.gux-open{transform:translateX(0%)}dialog>gux-side-panel-beta{min-block-size:0;overflow:hidden}dialog::backdrop{background:var(--gse-ui-sidePanel-shroudColor);opacity:var(--gse-ui-sidePanel-shroud-opacity)}::slotted(footer){flex:0 0 auto;padding:var(--gse-ui-sidePanel-footer-padding);border-block-start:var(--gse-ui-sidePanel-divider-width) var(--gse-ui-sidePanel-divider-style) var(--gse-ui-sidePanel-divider-color)}::slotted(gux-side-panel-header){border-block-end:none}";export{t as gux_modal_side_panel_beta}
1
+ import{r as e,c as i,h as a,a as s}from"./p-CW7z6RPd.js";import{r as o}from"./p-D9jKBqIb.js";import{t as d}from"./p-DfUlhgkE.js";const t=class{constructor(a){e(this,a),this.guxdismiss=i(this,"guxdismiss",7),this.open=!1,this.size="medium",this.dialogElement=null}syncOpenState(){var e,i,a,s;this.open?null===(i=null===(e=this.dialogElement)||void 0===e?void 0:e.showModal)||void 0===i||i.call(e):(null===(s=null===(a=this.dialogElement)||void 0===a?void 0:a.close)||void 0===s||s.call(a),this.guxdismiss.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(){var e,i;this.open&&(null===(i=null===(e=this.dialogElement)||void 0===e?void 0:e.showModal)||void 0===i||i.call(e))}render(){const e=o();return a("dialog",{key:"1ee521e6f36f05ab5cbe2055675fbed95002ef41",ref:e=>{this.dialogElement=e},"aria-labelledby":e,class:{"gux-open":this.open}},a("gux-side-panel-beta",{key:"87b212370f2e38e95234833be5cfb116dfb08e98",size:this.size},a("div",{key:"1dbda8a467bb24e169cab65e83d4665fc0501656",slot:"header",id:e},a("slot",{key:"f974327d3ffe0ff3ae875ac9af60db65daf70c24",name:"header"})),a("div",{key:"b314598b00705738fc4b6ef7b33811fe90070875",slot:"content"},a("slot",{key:"5dcc6cf6aa11338d6af6e41596881146380d7e34",name:"content"})),a("div",{key:"dbe42262c5d06a89a5a794d531dc7fd28398ab43",slot:"footer"},a("slot",{key:"a3377d154e8bebcbd8aed3fb59e425859491e818",name:"footer"}))))}get root(){return s(this)}static get watchers(){return{open:[{syncOpenState:0}]}}};t.style="dialog{inset-inline-start:auto;display:flex;flex-direction:column;block-size:100%;min-block-size:100%;padding:0;margin:unset;overflow:hidden;color:inherit;border:none;transform:translateX(100%);transition:transform 0.2s ease-in-out}dialog.gux-open{transform:translateX(0%)}dialog>gux-side-panel-beta{min-block-size:0;overflow:hidden}dialog::backdrop{background:var(--gse-ui-sidePanel-shroudColor);opacity:var(--gse-ui-sidePanel-shroud-opacity)}::slotted(footer){flex:0 0 auto;padding:var(--gse-ui-sidePanel-footer-padding);border-block-start:var(--gse-ui-sidePanel-divider-width) var(--gse-ui-sidePanel-divider-style) var(--gse-ui-sidePanel-divider-color)}::slotted(gux-side-panel-header){border-block-end:none}";export{t as gux_modal_side_panel_beta}
@@ -1 +1 @@
1
- import{r as t,c as i,h as s,H as e,a as o}from"./p-CW7z6RPd.js";import{d as n,h as a,s as r,e as h,f as l,i as u,j as d,k as c,l as p,m as g,n as m,o as v,c as b,a as x}from"./p-222vmCRn.js";import{b as f}from"./p-DYtJNWnZ.js";import{w}from"./p-kLXvN2m9.js";import{s as y}from"./p-BMRf5pjV.js";import{t as j}from"./p-ByN57IpV.js";import{b as O}from"./p-Bg4q97BS.js";import{O as S}from"./p-QDdMA8yS.js";import"./p-qCeLer2f.js";import"./p-Cd4R0amv.js";var C={add:"Add {name}",noMatches:"No matches",loading:"Loading..."};const k=class{constructor(s){t(this,s),this.internallistboxoptionsupdated=i(this,"internallistboxoptionsupdated",7),this.loading=!1,this.filter="",this.textInput="",this.filterType="none",this.disabled=!1,this.listboxOptions=[],this.hasExactMatch=!1}onMutation(){O((()=>{this.updateOnSlotChange()}))}onBlur(){n(this.root)}selectNewCustomOption(t){this.updateValue(t.detail)}onKeydown(t){var i,s;if(!a(this.root))return t.preventDefault(),void r(this.root);switch(t.key){case"Enter":return t.preventDefault(),void((null===(i=this.optionCreateElement)||void 0===i?void 0:i.active)?(this.optionCreateElement.guxEmitInternalCreateNewOption(),O((()=>{r(this.root)}))):(null===(s=this.selectAllElement)||void 0===s?void 0:s.active)?this.updateSelectAllState(!0):g(this.root,(t=>this.updateValue(t))));case"ArrowDown":return t.preventDefault(),void(c(this.root)?(t.stopPropagation(),p(this.root)):l(this.root));case"ArrowUp":return t.preventDefault(),void(u(this.root)?(t.stopPropagation(),d(this.root)):h(this.root));case"Home":return t.preventDefault(),void l(this.root);case"End":return t.preventDefault(),void h(this.root);case" ":return void t.preventDefault()}1!==t.key.length||m(this.root,t.key)}onKeyup(t){var i,s;" "!==t.key||((null===(i=this.optionCreateElement)||void 0===i?void 0:i.active)?(this.optionCreateElement.guxEmitInternalCreateNewOption(),O((()=>{r(this.root)}))):(null===(s=this.selectAllElement)||void 0===s?void 0:s.active)?this.updateSelectAllState(!0):g(this.root,(t=>this.updateValue(t))))}onMousemove(){n(this.root)}onClick(t){w("gux-option-multi",t,(t=>{v(t,(t=>this.updateValue(t)))})),w("gux-select-all",t,(()=>{this.updateSelectAllState(!0)}))}async guxSelectActive(){g(this.root,(t=>this.updateValue(t)))}getHasExactMatch(){let t=!1;return this.hasExactMatch=!1,this.listboxOptions.forEach((i=>{var s,e;(null===(e=null===(s=i.textContent)||void 0===s?void 0:s.toLowerCase())||void 0===e?void 0:e.trim())==this.textInput.toLowerCase().trim()&&(t=!0,this.hasExactMatch=!0)})),t}updateOptionMultiCreateValue(){this.optionCreateElement&&(this.optionCreateElement.value=this.textInput,this.optionCreateElement.filtered=!this.textInput||this.getHasExactMatch())}getSelectedValues(){return b(this.value)}updateOnSlotChange(){this.setListboxOptions(),this.updateListboxOptions()}getOptionCreateElement(){this.optionCreateElement=this.root.querySelector("gux-create-option")}getSelectAllElement(){this.selectAllElement=this.root.querySelector("gux-select-all")}setListboxOptions(){this.listboxOptions=Array.from(this.root.children).filter((t=>"GUX-OPTION-MULTI"===t.tagName)),this.internallistboxoptionsupdated.emit()}updateListboxOptions(){this.listboxOptions.forEach((t=>{t.selected=this.getSelectedValues().includes(t.value),"custom"!==this.filterType&&"none"!==this.filterType&&(t.filtered=!x(t).toLowerCase().startsWith(this.textInput.toLowerCase()))}))}updateSelectAllState(t=!1){const i=this.root.querySelector("gux-select-all");if(!i)return;const s=this.listboxOptions.filter((t=>!t.filtered&&!t.disabled)).map((t=>t.value));this.optionCreateElement&&!this.optionCreateElement.filtered&&s.push(this.optionCreateElement.value),t&&(this.value=i.selected?void 0:s.join(","),y(this.root,"input"),y(this.root,"change"));const e=this.getSelectedValues(),o=s.length>0&&s.every((t=>e.includes(t))),n=s.some((t=>e.includes(t)));i.selected=o,i.indeterminate=!o&&n}updateValue(t){if(this.getSelectedValues().includes(t)){const i=this.getSelectedValues().filter((i=>i!==t));this.value=i.length?i.join(","):void 0}else{const i=[...this.getSelectedValues(),t];this.value=i.join(",")}y(this.root,"input"),y(this.root,"change"),this.updateSelectAllState()}async componentWillLoad(){j(this.root),this.i18n=await f(this.root,C),this.setListboxOptions(),this.getOptionCreateElement(),this.getSelectAllElement()}async componentWillRender(){this.setListboxOptions(),this.updateListboxOptions(),this.allListboxOptionsFiltered=0===this.listboxOptions.filter((t=>!t.filtered)).length,this.updateSelectAllState()}renderHiddenSlot(){return s("div",{hidden:!0},s("slot",{onSlotchange:()=>this.setListboxOptions()}))}renderLoading(){return[s("div",{class:"gux-message-container"},s("gux-radial-loading",{context:"modal"}),s("span",null,this.i18n("loading"))),this.renderHiddenSlot()]}renderAllListboxOptionsFiltered(){if(this.allListboxOptionsFiltered)return[s("div",{class:"gux-message-container"},s("div",{class:"gux-no-matches"},this.emptyMessage||this.i18n("noMatches"))),this.renderHiddenSlot()]}renderCreateOptionSlot(){return s("slot",{name:"create"})}render(){return this.loading?this.renderLoading():s(e,{role:"listbox","aria-multiselectable":"true",tabindex:0,class:{"has-select-all":!!this.selectAllElement}},s("slot",{onSlotchange:()=>this.updateOnSlotChange()}),this.renderAllListboxOptionsFiltered(),this.renderCreateOptionSlot())}get root(){return o(this)}static get watchers(){return{textInput:[{updateOptionMultiCreateValue:0}]}}};(function(t,i,s,e){var o,n=arguments.length,a=n<3?i:null===e?e=Object.getOwnPropertyDescriptor(i,s):e;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(t,i,s,e);else for(var r=t.length-1;r>=0;r--)(o=t[r])&&(a=(n<3?o(a):n>3?o(i,s,a):o(i,s))||a);n>3&&a&&Object.defineProperty(i,s,a)})([S({childList:!0,subtree:!0})],k.prototype,"onMutation",null),k.style=":host{scrollbar-color:var(--gse-ui-menu-border-color) transparent;scrollbar-width:thin;box-sizing:border-box;display:block;max-block-size:var(--gse-ui-menu-maxHeight);padding:var(--gse-ui-menu-padding);overflow:hidden auto;outline:none;background:var(--gse-ui-menu-backgroundColor);border:var(--gse-ui-menu-border-width) var(--gse-ui-menu-border-style) var(--gse-ui-menu-border-color);border-radius:var(--gse-ui-menu-borderRadius);box-shadow:var(--gse-ui-menu-boxShadow)}:host ::slotted(gux-select-all){position:sticky;inset-block-start:0}:host(.has-select-all){padding:0}.gux-message-container{display:flex;flex-direction:column;flex-wrap:nowrap;place-content:stretch center;align-items:center}.gux-message-container .gux-no-matches{box-sizing:border-box;block-size:var(--gse-ui-menu-option-height);padding-block:var(--gse-ui-dropdown-gap);font-family:var(--gse-ui-menu-option-label-active-text-fontFamily);font-size:var(--gse-ui-menu-option-label-active-text-fontSize);font-weight:var(--gse-ui-menu-option-label-active-text-fontWeight);line-height:var(--gse-ui-menu-option-label-active-text-lineHeight);color:var(--gse-ui-menu-option-label-foregroundColor)}";export{k as gux_listbox_multi}
1
+ import{r as t,c as i,h as s,H as e,a as o}from"./p-CW7z6RPd.js";import{d as n,h as a,s as r,e as h,f as l,i as u,j as d,k as c,l as g,m as p,n as m,o as v,c as b,a as x}from"./p-222vmCRn.js";import{b as f}from"./p-DYtJNWnZ.js";import{w}from"./p-kLXvN2m9.js";import{s as j}from"./p-BMRf5pjV.js";import{t as y}from"./p-DfUlhgkE.js";import{b as O}from"./p-Bg4q97BS.js";import{O as S}from"./p-QDdMA8yS.js";import"./p-qCeLer2f.js";import"./p-Cd4R0amv.js";var C={add:"Add {name}",noMatches:"No matches",loading:"Loading..."};const k=class{constructor(s){t(this,s),this.internallistboxoptionsupdated=i(this,"internallistboxoptionsupdated",7),this.loading=!1,this.filter="",this.textInput="",this.filterType="none",this.disabled=!1,this.listboxOptions=[],this.hasExactMatch=!1}onMutation(){O((()=>{this.updateOnSlotChange()}))}onBlur(){n(this.root)}selectNewCustomOption(t){this.updateValue(t.detail)}onKeydown(t){var i,s;if(!a(this.root))return t.preventDefault(),void r(this.root);switch(t.key){case"Enter":return t.preventDefault(),void((null===(i=this.optionCreateElement)||void 0===i?void 0:i.active)?(this.optionCreateElement.guxEmitInternalCreateNewOption(),O((()=>{r(this.root)}))):(null===(s=this.selectAllElement)||void 0===s?void 0:s.active)?this.updateSelectAllState(!0):p(this.root,(t=>this.updateValue(t))));case"ArrowDown":return t.preventDefault(),void(c(this.root)?(t.stopPropagation(),g(this.root)):l(this.root));case"ArrowUp":return t.preventDefault(),void(u(this.root)?(t.stopPropagation(),d(this.root)):h(this.root));case"Home":return t.preventDefault(),void l(this.root);case"End":return t.preventDefault(),void h(this.root);case" ":return void t.preventDefault()}1!==t.key.length||m(this.root,t.key)}onKeyup(t){var i,s;" "!==t.key||((null===(i=this.optionCreateElement)||void 0===i?void 0:i.active)?(this.optionCreateElement.guxEmitInternalCreateNewOption(),O((()=>{r(this.root)}))):(null===(s=this.selectAllElement)||void 0===s?void 0:s.active)?this.updateSelectAllState(!0):p(this.root,(t=>this.updateValue(t))))}onMousemove(){n(this.root)}onClick(t){w("gux-option-multi",t,(t=>{v(t,(t=>this.updateValue(t)))})),w("gux-select-all",t,(()=>{this.updateSelectAllState(!0)}))}async guxSelectActive(){p(this.root,(t=>this.updateValue(t)))}getHasExactMatch(){let t=!1;return this.hasExactMatch=!1,this.listboxOptions.forEach((i=>{var s,e;(null===(e=null===(s=i.textContent)||void 0===s?void 0:s.toLowerCase())||void 0===e?void 0:e.trim())==this.textInput.toLowerCase().trim()&&(t=!0,this.hasExactMatch=!0)})),t}updateOptionMultiCreateValue(){this.optionCreateElement&&(this.optionCreateElement.value=this.textInput,this.optionCreateElement.filtered=!this.textInput||this.getHasExactMatch())}getSelectedValues(){return b(this.value)}updateOnSlotChange(){this.setListboxOptions(),this.updateListboxOptions()}getOptionCreateElement(){this.optionCreateElement=this.root.querySelector("gux-create-option")}getSelectAllElement(){this.selectAllElement=this.root.querySelector("gux-select-all")}setListboxOptions(){this.listboxOptions=Array.from(this.root.children).filter((t=>"GUX-OPTION-MULTI"===t.tagName)),this.internallistboxoptionsupdated.emit()}updateListboxOptions(){this.listboxOptions.forEach((t=>{t.selected=this.getSelectedValues().includes(t.value),"custom"!==this.filterType&&"none"!==this.filterType&&(t.filtered=!x(t).toLowerCase().startsWith(this.textInput.toLowerCase()))}))}updateSelectAllState(t=!1){const i=this.root.querySelector("gux-select-all");if(!i)return;const s=this.listboxOptions.filter((t=>!t.filtered&&!t.disabled)).map((t=>t.value));this.optionCreateElement&&!this.optionCreateElement.filtered&&s.push(this.optionCreateElement.value),t&&(this.value=i.selected?void 0:s.join(","),j(this.root,"input"),j(this.root,"change"));const e=this.getSelectedValues(),o=s.length>0&&s.every((t=>e.includes(t))),n=s.some((t=>e.includes(t)));i.selected=o,i.indeterminate=!o&&n}updateValue(t){if(this.getSelectedValues().includes(t)){const i=this.getSelectedValues().filter((i=>i!==t));this.value=i.length?i.join(","):void 0}else{const i=[...this.getSelectedValues(),t];this.value=i.join(",")}j(this.root,"input"),j(this.root,"change"),this.updateSelectAllState()}async componentWillLoad(){y(this.root),this.i18n=await f(this.root,C),this.setListboxOptions(),this.getOptionCreateElement(),this.getSelectAllElement()}async componentWillRender(){this.setListboxOptions(),this.updateListboxOptions(),this.allListboxOptionsFiltered=0===this.listboxOptions.filter((t=>!t.filtered)).length,this.updateSelectAllState()}renderHiddenSlot(){return s("div",{hidden:!0},s("slot",{onSlotchange:()=>this.setListboxOptions()}))}renderLoading(){return[s("div",{class:"gux-message-container"},s("gux-radial-loading",{context:"modal"}),s("span",null,this.i18n("loading"))),this.renderHiddenSlot()]}renderAllListboxOptionsFiltered(){if(this.allListboxOptionsFiltered)return[s("div",{class:"gux-message-container"},s("div",{class:"gux-no-matches"},this.emptyMessage||this.i18n("noMatches"))),this.renderHiddenSlot()]}renderCreateOptionSlot(){return s("slot",{name:"create"})}render(){return this.loading?this.renderLoading():s(e,{role:"listbox","aria-multiselectable":"true",tabindex:0,class:{"has-select-all":!!this.selectAllElement}},s("slot",{onSlotchange:()=>this.updateOnSlotChange()}),this.renderAllListboxOptionsFiltered(),this.renderCreateOptionSlot())}get root(){return o(this)}static get watchers(){return{textInput:[{updateOptionMultiCreateValue:0}]}}};(function(t,i,s,e){var o,n=arguments.length,a=n<3?i:null===e?e=Object.getOwnPropertyDescriptor(i,s):e;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(t,i,s,e);else for(var r=t.length-1;r>=0;r--)(o=t[r])&&(a=(n<3?o(a):n>3?o(i,s,a):o(i,s))||a);n>3&&a&&Object.defineProperty(i,s,a)})([S({childList:!0,subtree:!0})],k.prototype,"onMutation",null),k.style=":host{scrollbar-color:var(--gse-ui-menu-border-color) transparent;scrollbar-width:thin;box-sizing:border-box;display:block;max-block-size:var(--gse-ui-menu-maxHeight);padding:var(--gse-ui-menu-padding);overflow:hidden auto;outline:none;background:var(--gse-ui-menu-backgroundColor);border:var(--gse-ui-menu-border-width) var(--gse-ui-menu-border-style) var(--gse-ui-menu-border-color);border-radius:var(--gse-ui-menu-borderRadius);box-shadow:var(--gse-ui-menu-boxShadow)}:host ::slotted(gux-select-all){position:sticky;inset-block-start:0}:host(.has-select-all){padding:0}.gux-message-container{display:flex;flex-direction:column;flex-wrap:nowrap;place-content:stretch center;align-items:center}.gux-message-container .gux-no-matches{box-sizing:border-box;block-size:var(--gse-ui-menu-option-height);padding-block:var(--gse-ui-dropdown-gap);font-family:var(--gse-ui-menu-option-label-active-text-fontFamily);font-size:var(--gse-ui-menu-option-label-active-text-fontSize);font-weight:var(--gse-ui-menu-option-label-active-text-fontWeight);line-height:var(--gse-ui-menu-option-label-active-text-lineHeight);color:var(--gse-ui-menu-option-label-foregroundColor)}";export{k as gux_listbox_multi}
@@ -0,0 +1 @@
1
+ import{r as s,h as t,H as e,a}from"./p-CW7z6RPd.js";import{l as o,n as r,f as i,p as c,b as n,a as l}from"./p-BebXX5IS.js";import{t as m}from"./p-DfUlhgkE.js";const p=["gux-list-item"],u=class{constructor(t){s(this,t)}componentWillLoad(){m(this.root)}onKeyDown(s){switch(s.key){case"ArrowUp":s.preventDefault(),c(this.root,p);break;case"Home":s.preventDefault(),i(this.root,p);break;case"ArrowDown":s.preventDefault(),r(this.root,p);break;case"End":s.preventDefault(),o(this.root,p)}}async guxFocusFirstItem(){i(this.root,p)}async guxFocusItemById(s){n(this.root,p,s)}async guxFocusItemByClosestId(s){l(this.root,p,s)}async guxFocusLastItem(){o(this.root,p)}render(){return t(e,{key:"2b53e8363ee850f55596b88375ee6b65f5afe5c9",tabindex:"-1",role:"list"},t("slot",{key:"c263dbce30c01a6bb8b528c5b1689b772f3330e1"}))}get root(){return a(this)}};u.style=":host{display:flex;flex-direction:column;flex-wrap:nowrap;place-content:stretch flex-start;align-items:flex-start;padding:var(--gse-ui-menu-padding)}";export{u as gux_list}