genesys-spark-components 4.83.1 → 4.84.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (454) hide show
  1. package/dist/cjs/genesys-webcomponents.cjs.js +3 -3
  2. package/dist/cjs/{get-valid-timezone-a670d106.js → get-valid-timezone-ec7a4893.js} +1 -1
  3. package/dist/cjs/gux-accordion-section.cjs.entry.js +1 -1
  4. package/dist/cjs/gux-accordion.cjs.entry.js +2 -2
  5. package/dist/cjs/gux-action-button.cjs.entry.js +4 -4
  6. package/dist/cjs/gux-action-toast-legacy.cjs.entry.js +2 -2
  7. package/dist/cjs/gux-advanced-dropdown-legacy.cjs.entry.js +4 -4
  8. package/dist/cjs/gux-all-row-select.cjs.entry.js +2 -2
  9. package/dist/cjs/gux-announce-beta.cjs.entry.js +2 -2
  10. package/dist/cjs/gux-avatar-beta.cjs.entry.js +3 -3
  11. package/dist/cjs/gux-avatar-change-photo-beta.cjs.entry.js +3 -3
  12. package/dist/cjs/gux-avatar-focusable-beta.cjs.entry.js +1 -1
  13. package/dist/cjs/gux-badge.cjs.entry.js +3 -3
  14. package/dist/cjs/gux-blank-state.cjs.entry.js +3 -3
  15. package/dist/cjs/gux-breadcrumb-item.cjs.entry.js +1 -1
  16. package/dist/cjs/gux-breadcrumbs.cjs.entry.js +3 -3
  17. package/dist/cjs/gux-button-multi.cjs.entry.js +3 -3
  18. package/dist/cjs/gux-button-slot.cjs.entry.js +2 -2
  19. package/dist/cjs/gux-button.cjs.entry.js +2 -2
  20. package/dist/cjs/gux-calendar-beta.cjs.entry.js +2 -2
  21. package/dist/cjs/gux-calendar.cjs.entry.js +3 -3
  22. package/dist/cjs/gux-card.cjs.entry.js +2 -2
  23. package/dist/cjs/gux-column-manager-item.cjs.entry.js +2 -2
  24. package/dist/cjs/gux-column-manager.cjs.entry.js +3 -3
  25. package/dist/cjs/gux-content-search.cjs.entry.js +3 -3
  26. package/dist/cjs/gux-context-menu.cjs.entry.js +4 -4
  27. package/dist/cjs/gux-copy-to-clipboard.cjs.entry.js +3 -3
  28. package/dist/cjs/gux-create-option.cjs.entry.js +2 -2
  29. package/dist/cjs/gux-cta-group.cjs.entry.js +2 -2
  30. package/dist/cjs/gux-date-beta.cjs.entry.js +4 -4
  31. package/dist/cjs/gux-date-time-beta.cjs.entry.js +4 -4
  32. package/dist/cjs/gux-datepicker.cjs.entry.js +4 -4
  33. package/dist/cjs/gux-disclosure-button-legacy.cjs.entry.js +3 -3
  34. package/dist/cjs/gux-dismiss-button.cjs.entry.js +3 -3
  35. package/dist/cjs/gux-dropdown-multi-tag.cjs.entry.js +2 -2
  36. package/dist/cjs/gux-dropdown-multi.cjs.entry.js +5 -5
  37. package/dist/cjs/gux-dropdown-option.cjs.entry.js +1 -1
  38. package/dist/cjs/gux-dropdown_3.cjs.entry.js +5 -5
  39. package/dist/cjs/gux-flag-icon-beta.cjs.entry.js +2 -2
  40. package/dist/cjs/gux-flyout-menu.cjs.entry.js +2 -2
  41. package/dist/cjs/gux-form-beta.cjs.entry.js +1 -1
  42. package/dist/cjs/gux-form-description.cjs.entry.js +1 -1
  43. package/dist/cjs/gux-form-field-checkbox-group-beta.cjs.entry.js +6 -6
  44. package/dist/cjs/gux-form-field-checkbox.cjs.entry.js +4 -4
  45. package/dist/cjs/gux-form-field-color.cjs.entry.js +5 -5
  46. package/dist/cjs/{gux-form-field-container-acf6a036.js → gux-form-field-container-0b03581d.js} +1 -1
  47. package/dist/cjs/gux-form-field-dropdown.cjs.entry.js +6 -6
  48. package/dist/cjs/{gux-form-field-error-ec300f9a.js → gux-form-field-error-5c787b9f.js} +1 -1
  49. package/dist/cjs/{gux-form-field-fieldset-container-629ca11f.js → gux-form-field-fieldset-container-f7d2698e.js} +1 -1
  50. package/dist/cjs/gux-form-field-file.cjs.entry.js +5 -5
  51. package/dist/cjs/gux-form-field-input-clear-button.cjs.entry.js +3 -3
  52. package/dist/cjs/gux-form-field-label-indicator.cjs.entry.js +3 -3
  53. package/dist/cjs/gux-form-field-number_3.cjs.entry.js +7 -7
  54. package/dist/cjs/gux-form-field-phone.cjs.entry.js +6 -6
  55. package/dist/cjs/gux-form-field-radio-group-beta.cjs.entry.js +6 -6
  56. package/dist/cjs/gux-form-field-radio.cjs.entry.js +4 -4
  57. package/dist/cjs/gux-form-field-range.cjs.entry.js +6 -6
  58. package/dist/cjs/gux-form-field-search.cjs.entry.js +5 -5
  59. package/dist/cjs/gux-form-field-select.cjs.entry.js +5 -5
  60. package/dist/cjs/gux-form-field-text-like.cjs.entry.js +5 -5
  61. package/dist/cjs/gux-form-field-textarea.cjs.entry.js +5 -5
  62. package/dist/cjs/gux-form-field-time-picker.cjs.entry.js +6 -6
  63. package/dist/cjs/gux-form-field-time-zone-picker.cjs.entry.js +6 -6
  64. package/dist/cjs/gux-form-fieldset-heading.cjs.entry.js +1 -1
  65. package/dist/cjs/gux-form-footer.cjs.entry.js +2 -2
  66. package/dist/cjs/gux-form-heading.cjs.entry.js +1 -1
  67. package/dist/cjs/gux-icon-tooltip-beta.cjs.entry.js +2 -2
  68. package/dist/cjs/gux-icon.cjs.entry.js +2 -2
  69. package/dist/cjs/gux-inline-alert.cjs.entry.js +3 -3
  70. package/dist/cjs/gux-label-info-beta.cjs.entry.js +2 -2
  71. package/dist/cjs/gux-list-divider.cjs.entry.js +1 -1
  72. package/dist/cjs/gux-list-item.cjs.entry.js +1 -1
  73. package/dist/cjs/gux-list.cjs.entry.js +2 -2
  74. package/dist/cjs/gux-listbox-multi.cjs.entry.js +3 -3
  75. package/dist/cjs/gux-loading-message.cjs.entry.js +2 -2
  76. package/dist/cjs/gux-menu-option.cjs.entry.js +1 -1
  77. package/dist/cjs/gux-menu.cjs.entry.js +1 -1
  78. package/dist/cjs/gux-modal-legacy.cjs.entry.js +2 -2
  79. package/dist/cjs/gux-modal.cjs.entry.js +2 -2
  80. package/dist/cjs/gux-month-calendar.cjs.entry.js +2 -2
  81. package/dist/cjs/gux-month-list_2.cjs.entry.js +1 -1
  82. package/dist/cjs/gux-month-picker-beta.cjs.entry.js +4 -4
  83. package/dist/cjs/gux-notification-toast-legacy.cjs.entry.js +2 -2
  84. package/dist/cjs/gux-option-group-beta.cjs.entry.js +1 -1
  85. package/dist/cjs/gux-option-icon.cjs.entry.js +1 -1
  86. package/dist/cjs/gux-option-multi.cjs.entry.js +2 -2
  87. package/dist/cjs/gux-page-loading-spinner.cjs.entry.js +2 -2
  88. package/dist/cjs/gux-pagination-buttons-legacy_3.cjs.entry.js +2 -2
  89. package/dist/cjs/gux-pagination-buttons_2.cjs.entry.js +2 -2
  90. package/dist/cjs/gux-pagination-cursor.cjs.entry.js +3 -3
  91. package/dist/cjs/gux-pagination-items-per-page.cjs.entry.js +2 -2
  92. package/dist/cjs/gux-pagination-legacy.cjs.entry.js +2 -2
  93. package/dist/cjs/gux-pagination.cjs.entry.js +2 -2
  94. package/dist/cjs/gux-phone-input-beta.cjs.entry.js +4 -4
  95. package/dist/cjs/gux-popover-list.cjs.entry.js +3 -3
  96. package/dist/cjs/gux-popup.cjs.entry.js +1 -1
  97. package/dist/cjs/gux-radial-loading.cjs.entry.js +3 -3
  98. package/dist/cjs/gux-radial-progress.cjs.entry.js +2 -2
  99. package/dist/cjs/gux-rating.cjs.entry.js +2 -2
  100. package/dist/cjs/gux-row-select.cjs.entry.js +2 -2
  101. package/dist/cjs/gux-screen-reader-beta_2.cjs.entry.js +2 -2
  102. package/dist/cjs/gux-segmented-control-beta.cjs.entry.js +2 -2
  103. package/dist/cjs/gux-segmented-control-item.cjs.entry.js +1 -1
  104. package/dist/cjs/gux-selector-card-beta.cjs.entry.js +2 -2
  105. package/dist/cjs/gux-selector-cards-beta.cjs.entry.js +2 -2
  106. package/dist/cjs/gux-simple-toast-legacy.cjs.entry.js +2 -2
  107. package/dist/cjs/gux-skip-navigation-item.cjs.entry.js +1 -1
  108. package/dist/cjs/gux-skip-navigation-list.cjs.entry.js +3 -3
  109. package/dist/cjs/gux-sort-control.cjs.entry.js +3 -3
  110. package/dist/cjs/gux-submenu.cjs.entry.js +1 -1
  111. package/dist/cjs/gux-switch-item.cjs.entry.js +1 -1
  112. package/dist/cjs/gux-switch-legacy.cjs.entry.js +2 -2
  113. package/dist/cjs/gux-tab-advanced-list.cjs.entry.js +3 -3
  114. package/dist/cjs/gux-tab-advanced-panel.cjs.entry.js +1 -1
  115. package/dist/cjs/gux-tab-advanced.cjs.entry.js +2 -2
  116. package/dist/cjs/gux-tab-list.cjs.entry.js +3 -3
  117. package/dist/cjs/gux-tab-panel.cjs.entry.js +1 -1
  118. package/dist/cjs/gux-tab.cjs.entry.js +1 -1
  119. package/dist/cjs/gux-table-select-menu.cjs.entry.js +2 -2
  120. package/dist/cjs/gux-table-toolbar-action.cjs.entry.js +3 -3
  121. package/dist/cjs/gux-table-toolbar-custom-action.cjs.entry.js +2 -2
  122. package/dist/cjs/gux-table-toolbar-menu-button.cjs.entry.js +4 -4
  123. package/dist/cjs/gux-table-toolbar.cjs.entry.js +4 -4
  124. package/dist/cjs/gux-table.cjs.entry.js +3 -3
  125. package/dist/cjs/gux-tabs-advanced.cjs.entry.js +2 -2
  126. package/dist/cjs/gux-tabs.cjs.entry.js +2 -2
  127. package/dist/cjs/gux-tag.cjs.entry.js +3 -3
  128. package/dist/cjs/gux-text-highlight.cjs.entry.js +2 -2
  129. package/dist/cjs/gux-time-beta.cjs.entry.js +4 -4
  130. package/dist/cjs/gux-time-picker.cjs.entry.js +4 -4
  131. package/dist/cjs/gux-time-zone-beta.cjs.entry.js +3 -3
  132. package/dist/cjs/gux-time-zone-picker-beta.cjs.entry.js +3 -3
  133. package/dist/cjs/gux-toast.cjs.entry.js +6 -6
  134. package/dist/cjs/gux-toggle-slider.cjs.entry.js +1 -1
  135. package/dist/cjs/gux-toggle.cjs.entry.js +3 -3
  136. package/dist/cjs/gux-tooltip-base-beta.cjs.entry.js +2 -2
  137. package/dist/cjs/gux-tooltip-title.cjs.entry.js +3 -3
  138. package/dist/cjs/gux-tooltip.cjs.entry.js +2 -2
  139. package/dist/cjs/gux-truncate.cjs.entry.js +3 -3
  140. package/dist/cjs/{index-9fe2464a.js → index-79505d14.js} +36 -10
  141. package/dist/cjs/{index-0dfe7f6f.js → index-a4f54606.js} +1 -1
  142. package/dist/cjs/loader.cjs.js +2 -2
  143. package/dist/cjs/{on-click-outside-a38fafee.js → on-click-outside-31073d32.js} +1 -1
  144. package/dist/cjs/{on-mutation-c819498e.js → on-mutation-9b997891.js} +1 -1
  145. package/dist/cjs/{on-resize-15b449e5.js → on-resize-9065f1ea.js} +1 -1
  146. package/dist/cjs/{usage-e7cc6cc8.js → usage-ef73a3b7.js} +4 -4
  147. package/dist/collection/collection-manifest.json +2 -2
  148. package/dist/collection/components/beta/gux-cta-group/gux-cta-group.css +12 -1
  149. package/dist/collection/components/stable/gux-toast/gux-toast.css +1 -5
  150. package/dist/collection/components/stable/gux-toast/gux-toast.js +3 -3
  151. package/dist/esm/genesys-webcomponents.js +4 -4
  152. package/dist/esm/{get-valid-timezone-3e8bbe2d.js → get-valid-timezone-ca473a1f.js} +1 -1
  153. package/dist/esm/gux-accordion-section.entry.js +1 -1
  154. package/dist/esm/gux-accordion.entry.js +2 -2
  155. package/dist/esm/gux-action-button.entry.js +4 -4
  156. package/dist/esm/gux-action-toast-legacy.entry.js +2 -2
  157. package/dist/esm/gux-advanced-dropdown-legacy.entry.js +4 -4
  158. package/dist/esm/gux-all-row-select.entry.js +2 -2
  159. package/dist/esm/gux-announce-beta.entry.js +2 -2
  160. package/dist/esm/gux-avatar-beta.entry.js +3 -3
  161. package/dist/esm/gux-avatar-change-photo-beta.entry.js +3 -3
  162. package/dist/esm/gux-avatar-focusable-beta.entry.js +1 -1
  163. package/dist/esm/gux-badge.entry.js +3 -3
  164. package/dist/esm/gux-blank-state.entry.js +3 -3
  165. package/dist/esm/gux-breadcrumb-item.entry.js +1 -1
  166. package/dist/esm/gux-breadcrumbs.entry.js +3 -3
  167. package/dist/esm/gux-button-multi.entry.js +3 -3
  168. package/dist/esm/gux-button-slot.entry.js +2 -2
  169. package/dist/esm/gux-button.entry.js +2 -2
  170. package/dist/esm/gux-calendar-beta.entry.js +2 -2
  171. package/dist/esm/gux-calendar.entry.js +3 -3
  172. package/dist/esm/gux-card.entry.js +2 -2
  173. package/dist/esm/gux-column-manager-item.entry.js +2 -2
  174. package/dist/esm/gux-column-manager.entry.js +3 -3
  175. package/dist/esm/gux-content-search.entry.js +3 -3
  176. package/dist/esm/gux-context-menu.entry.js +4 -4
  177. package/dist/esm/gux-copy-to-clipboard.entry.js +3 -3
  178. package/dist/esm/gux-create-option.entry.js +2 -2
  179. package/dist/esm/gux-cta-group.entry.js +2 -2
  180. package/dist/esm/gux-date-beta.entry.js +4 -4
  181. package/dist/esm/gux-date-time-beta.entry.js +4 -4
  182. package/dist/esm/gux-datepicker.entry.js +4 -4
  183. package/dist/esm/gux-disclosure-button-legacy.entry.js +3 -3
  184. package/dist/esm/gux-dismiss-button.entry.js +3 -3
  185. package/dist/esm/gux-dropdown-multi-tag.entry.js +2 -2
  186. package/dist/esm/gux-dropdown-multi.entry.js +5 -5
  187. package/dist/esm/gux-dropdown-option.entry.js +1 -1
  188. package/dist/esm/gux-dropdown_3.entry.js +5 -5
  189. package/dist/esm/gux-flag-icon-beta.entry.js +2 -2
  190. package/dist/esm/gux-flyout-menu.entry.js +2 -2
  191. package/dist/esm/gux-form-beta.entry.js +1 -1
  192. package/dist/esm/gux-form-description.entry.js +1 -1
  193. package/dist/esm/gux-form-field-checkbox-group-beta.entry.js +6 -6
  194. package/dist/esm/gux-form-field-checkbox.entry.js +4 -4
  195. package/dist/esm/gux-form-field-color.entry.js +5 -5
  196. package/dist/esm/{gux-form-field-container-342b6920.js → gux-form-field-container-79f777a2.js} +1 -1
  197. package/dist/esm/gux-form-field-dropdown.entry.js +6 -6
  198. package/dist/esm/{gux-form-field-error-e92661e1.js → gux-form-field-error-e7e516a5.js} +1 -1
  199. package/dist/esm/{gux-form-field-fieldset-container-269b6d42.js → gux-form-field-fieldset-container-e742b324.js} +1 -1
  200. package/dist/esm/gux-form-field-file.entry.js +5 -5
  201. package/dist/esm/gux-form-field-input-clear-button.entry.js +3 -3
  202. package/dist/esm/gux-form-field-label-indicator.entry.js +3 -3
  203. package/dist/esm/gux-form-field-number_3.entry.js +7 -7
  204. package/dist/esm/gux-form-field-phone.entry.js +6 -6
  205. package/dist/esm/gux-form-field-radio-group-beta.entry.js +6 -6
  206. package/dist/esm/gux-form-field-radio.entry.js +4 -4
  207. package/dist/esm/gux-form-field-range.entry.js +6 -6
  208. package/dist/esm/gux-form-field-search.entry.js +5 -5
  209. package/dist/esm/gux-form-field-select.entry.js +5 -5
  210. package/dist/esm/gux-form-field-text-like.entry.js +5 -5
  211. package/dist/esm/gux-form-field-textarea.entry.js +5 -5
  212. package/dist/esm/gux-form-field-time-picker.entry.js +6 -6
  213. package/dist/esm/gux-form-field-time-zone-picker.entry.js +6 -6
  214. package/dist/esm/gux-form-fieldset-heading.entry.js +1 -1
  215. package/dist/esm/gux-form-footer.entry.js +2 -2
  216. package/dist/esm/gux-form-heading.entry.js +1 -1
  217. package/dist/esm/gux-icon-tooltip-beta.entry.js +2 -2
  218. package/dist/esm/gux-icon.entry.js +2 -2
  219. package/dist/esm/gux-inline-alert.entry.js +3 -3
  220. package/dist/esm/gux-label-info-beta.entry.js +2 -2
  221. package/dist/esm/gux-list-divider.entry.js +1 -1
  222. package/dist/esm/gux-list-item.entry.js +1 -1
  223. package/dist/esm/gux-list.entry.js +2 -2
  224. package/dist/esm/gux-listbox-multi.entry.js +3 -3
  225. package/dist/esm/gux-loading-message.entry.js +2 -2
  226. package/dist/esm/gux-menu-option.entry.js +1 -1
  227. package/dist/esm/gux-menu.entry.js +1 -1
  228. package/dist/esm/gux-modal-legacy.entry.js +2 -2
  229. package/dist/esm/gux-modal.entry.js +2 -2
  230. package/dist/esm/gux-month-calendar.entry.js +2 -2
  231. package/dist/esm/gux-month-list_2.entry.js +1 -1
  232. package/dist/esm/gux-month-picker-beta.entry.js +4 -4
  233. package/dist/esm/gux-notification-toast-legacy.entry.js +2 -2
  234. package/dist/esm/gux-option-group-beta.entry.js +1 -1
  235. package/dist/esm/gux-option-icon.entry.js +1 -1
  236. package/dist/esm/gux-option-multi.entry.js +2 -2
  237. package/dist/esm/gux-page-loading-spinner.entry.js +2 -2
  238. package/dist/esm/gux-pagination-buttons-legacy_3.entry.js +2 -2
  239. package/dist/esm/gux-pagination-buttons_2.entry.js +2 -2
  240. package/dist/esm/gux-pagination-cursor.entry.js +3 -3
  241. package/dist/esm/gux-pagination-items-per-page.entry.js +2 -2
  242. package/dist/esm/gux-pagination-legacy.entry.js +2 -2
  243. package/dist/esm/gux-pagination.entry.js +2 -2
  244. package/dist/esm/gux-phone-input-beta.entry.js +4 -4
  245. package/dist/esm/gux-popover-list.entry.js +3 -3
  246. package/dist/esm/gux-popup.entry.js +1 -1
  247. package/dist/esm/gux-radial-loading.entry.js +3 -3
  248. package/dist/esm/gux-radial-progress.entry.js +2 -2
  249. package/dist/esm/gux-rating.entry.js +2 -2
  250. package/dist/esm/gux-row-select.entry.js +2 -2
  251. package/dist/esm/gux-screen-reader-beta_2.entry.js +2 -2
  252. package/dist/esm/gux-segmented-control-beta.entry.js +2 -2
  253. package/dist/esm/gux-segmented-control-item.entry.js +1 -1
  254. package/dist/esm/gux-selector-card-beta.entry.js +2 -2
  255. package/dist/esm/gux-selector-cards-beta.entry.js +2 -2
  256. package/dist/esm/gux-simple-toast-legacy.entry.js +2 -2
  257. package/dist/esm/gux-skip-navigation-item.entry.js +1 -1
  258. package/dist/esm/gux-skip-navigation-list.entry.js +3 -3
  259. package/dist/esm/gux-sort-control.entry.js +3 -3
  260. package/dist/esm/gux-submenu.entry.js +1 -1
  261. package/dist/esm/gux-switch-item.entry.js +1 -1
  262. package/dist/esm/gux-switch-legacy.entry.js +2 -2
  263. package/dist/esm/gux-tab-advanced-list.entry.js +3 -3
  264. package/dist/esm/gux-tab-advanced-panel.entry.js +1 -1
  265. package/dist/esm/gux-tab-advanced.entry.js +2 -2
  266. package/dist/esm/gux-tab-list.entry.js +3 -3
  267. package/dist/esm/gux-tab-panel.entry.js +1 -1
  268. package/dist/esm/gux-tab.entry.js +1 -1
  269. package/dist/esm/gux-table-select-menu.entry.js +2 -2
  270. package/dist/esm/gux-table-toolbar-action.entry.js +3 -3
  271. package/dist/esm/gux-table-toolbar-custom-action.entry.js +2 -2
  272. package/dist/esm/gux-table-toolbar-menu-button.entry.js +4 -4
  273. package/dist/esm/gux-table-toolbar.entry.js +4 -4
  274. package/dist/esm/gux-table.entry.js +3 -3
  275. package/dist/esm/gux-tabs-advanced.entry.js +2 -2
  276. package/dist/esm/gux-tabs.entry.js +2 -2
  277. package/dist/esm/gux-tag.entry.js +3 -3
  278. package/dist/esm/gux-text-highlight.entry.js +2 -2
  279. package/dist/esm/gux-time-beta.entry.js +4 -4
  280. package/dist/esm/gux-time-picker.entry.js +4 -4
  281. package/dist/esm/gux-time-zone-beta.entry.js +3 -3
  282. package/dist/esm/gux-time-zone-picker-beta.entry.js +3 -3
  283. package/dist/esm/gux-toast.entry.js +6 -6
  284. package/dist/esm/gux-toggle-slider.entry.js +1 -1
  285. package/dist/esm/gux-toggle.entry.js +3 -3
  286. package/dist/esm/gux-tooltip-base-beta.entry.js +2 -2
  287. package/dist/esm/gux-tooltip-title.entry.js +3 -3
  288. package/dist/esm/gux-tooltip.entry.js +2 -2
  289. package/dist/esm/gux-truncate.entry.js +3 -3
  290. package/dist/esm/{index-23f79584.js → index-0eeb69a0.js} +1 -1
  291. package/dist/esm/{index-a9821ed9.js → index-b6ca2adc.js} +36 -10
  292. package/dist/esm/loader.js +3 -3
  293. package/dist/esm/{on-click-outside-e10242ab.js → on-click-outside-edcae419.js} +1 -1
  294. package/dist/esm/{on-mutation-8eed4e0c.js → on-mutation-66a68405.js} +1 -1
  295. package/dist/esm/{on-resize-a83593c5.js → on-resize-15b5b704.js} +1 -1
  296. package/dist/esm/{usage-cfdc9402.js → usage-80780ff4.js} +4 -4
  297. package/dist/genesys-webcomponents/genesys-webcomponents-flare.css +1 -1
  298. package/dist/genesys-webcomponents/genesys-webcomponents-legacy.css +1 -1
  299. package/dist/genesys-webcomponents/genesys-webcomponents.esm.js +1 -1
  300. package/dist/genesys-webcomponents/{p-c815fa61.entry.js → p-0071e1ed.entry.js} +1 -1
  301. package/dist/genesys-webcomponents/p-007b41fb.entry.js +1 -0
  302. package/dist/genesys-webcomponents/{p-7cdabaf6.entry.js → p-010fc298.entry.js} +1 -1
  303. package/dist/genesys-webcomponents/{p-f77fa8df.entry.js → p-01e9b670.entry.js} +1 -1
  304. package/dist/genesys-webcomponents/{p-1c0f93cf.entry.js → p-0242c9dc.entry.js} +1 -1
  305. package/dist/genesys-webcomponents/{p-14e220eb.entry.js → p-03d0a145.entry.js} +1 -1
  306. package/dist/genesys-webcomponents/{p-b59f23c2.entry.js → p-0736e1cd.entry.js} +1 -1
  307. package/dist/genesys-webcomponents/{p-53125d18.entry.js → p-0a5f61c6.entry.js} +1 -1
  308. package/dist/genesys-webcomponents/{p-11eb6365.entry.js → p-0ab9514f.entry.js} +1 -1
  309. package/dist/genesys-webcomponents/{p-6b5e20d7.entry.js → p-10126ff3.entry.js} +1 -1
  310. package/dist/genesys-webcomponents/{p-2ab66af4.entry.js → p-11aaaed8.entry.js} +1 -1
  311. package/dist/genesys-webcomponents/{p-d8b0e9aa.entry.js → p-1233e8ca.entry.js} +1 -1
  312. package/dist/genesys-webcomponents/{p-db029fca.entry.js → p-1983606f.entry.js} +1 -1
  313. package/dist/genesys-webcomponents/{p-01ae162f.entry.js → p-1a020b81.entry.js} +1 -1
  314. package/dist/genesys-webcomponents/{p-7008e76b.entry.js → p-1f4baa34.entry.js} +1 -1
  315. package/dist/genesys-webcomponents/{p-142127f5.entry.js → p-20b26c4b.entry.js} +1 -1
  316. package/dist/genesys-webcomponents/p-23f52d13.entry.js +1 -0
  317. package/dist/genesys-webcomponents/{p-d0d0367f.entry.js → p-24380669.entry.js} +1 -1
  318. package/dist/genesys-webcomponents/{p-29aa4444.entry.js → p-24f80e63.entry.js} +1 -1
  319. package/dist/genesys-webcomponents/{p-8c8018ce.entry.js → p-2b781d59.entry.js} +1 -1
  320. package/dist/genesys-webcomponents/{p-1b79e1e8.entry.js → p-2bc193be.entry.js} +1 -1
  321. package/dist/genesys-webcomponents/{p-e043afac.entry.js → p-2c370eeb.entry.js} +1 -1
  322. package/dist/genesys-webcomponents/{p-cf7c063a.entry.js → p-2d0683f7.entry.js} +1 -1
  323. package/dist/genesys-webcomponents/{p-11c9be03.entry.js → p-2e280647.entry.js} +1 -1
  324. package/dist/genesys-webcomponents/{p-513ca276.entry.js → p-30388787.entry.js} +1 -1
  325. package/dist/genesys-webcomponents/{p-2d715fed.entry.js → p-33ba81eb.entry.js} +1 -1
  326. package/dist/genesys-webcomponents/{p-9a57af5e.entry.js → p-35a213fb.entry.js} +1 -1
  327. package/dist/genesys-webcomponents/p-36271f8b.entry.js +1 -0
  328. package/dist/genesys-webcomponents/{p-11d74303.entry.js → p-370a732e.entry.js} +1 -1
  329. package/dist/genesys-webcomponents/{p-4afbdd12.entry.js → p-38b8b480.entry.js} +1 -1
  330. package/dist/genesys-webcomponents/{p-0436d67c.js → p-39c7e869.js} +1 -1
  331. package/dist/genesys-webcomponents/{p-10048b20.entry.js → p-39f42088.entry.js} +1 -1
  332. package/dist/genesys-webcomponents/{p-3364f18f.entry.js → p-3a831b26.entry.js} +1 -1
  333. package/dist/genesys-webcomponents/{p-aff1a696.entry.js → p-3d54b337.entry.js} +1 -1
  334. package/dist/genesys-webcomponents/{p-87327f59.entry.js → p-3e15997a.entry.js} +1 -1
  335. package/dist/genesys-webcomponents/{p-d397b7be.entry.js → p-3f413935.entry.js} +1 -1
  336. package/dist/genesys-webcomponents/{p-a0c87358.entry.js → p-41284e6c.entry.js} +1 -1
  337. package/dist/genesys-webcomponents/{p-a808efa0.entry.js → p-41437b55.entry.js} +1 -1
  338. package/dist/genesys-webcomponents/{p-11626fa9.entry.js → p-41e40714.entry.js} +1 -1
  339. package/dist/genesys-webcomponents/{p-b9a5690f.entry.js → p-424f2a4c.entry.js} +1 -1
  340. package/dist/genesys-webcomponents/{p-f8b41d17.entry.js → p-4873becc.entry.js} +1 -1
  341. package/dist/genesys-webcomponents/{p-5d046c63.entry.js → p-4a26b53c.entry.js} +1 -1
  342. package/dist/genesys-webcomponents/{p-08b0eb96.entry.js → p-5114c5e1.entry.js} +1 -1
  343. package/dist/genesys-webcomponents/{p-ab1b396f.entry.js → p-51fac0ef.entry.js} +1 -1
  344. package/dist/genesys-webcomponents/{p-60d69aa2.entry.js → p-524f010f.entry.js} +1 -1
  345. package/dist/genesys-webcomponents/p-526740db.js +1 -0
  346. package/dist/genesys-webcomponents/{p-b4633db2.entry.js → p-532c5c43.entry.js} +1 -1
  347. package/dist/genesys-webcomponents/{p-11b6061d.entry.js → p-559505cb.entry.js} +1 -1
  348. package/dist/genesys-webcomponents/{p-7cb995fe.entry.js → p-57ca96db.entry.js} +1 -1
  349. package/dist/genesys-webcomponents/{p-56b8d0ec.entry.js → p-5c8b847a.entry.js} +1 -1
  350. package/dist/genesys-webcomponents/{p-f51bd791.entry.js → p-5e58dd1f.entry.js} +1 -1
  351. package/dist/genesys-webcomponents/p-608161c3.entry.js +1 -0
  352. package/dist/genesys-webcomponents/{p-3b4a0d71.js → p-65d51d8d.js} +1 -1
  353. package/dist/genesys-webcomponents/{p-6a88bf18.entry.js → p-66bd4cd4.entry.js} +1 -1
  354. package/dist/genesys-webcomponents/{p-8132faa5.entry.js → p-66f7ade0.entry.js} +1 -1
  355. package/dist/genesys-webcomponents/{p-f37a6f13.entry.js → p-677abc72.entry.js} +1 -1
  356. package/dist/genesys-webcomponents/{p-e96abf65.entry.js → p-6c04128e.entry.js} +1 -1
  357. package/dist/genesys-webcomponents/{p-fec808f8.entry.js → p-6d163453.entry.js} +1 -1
  358. package/dist/genesys-webcomponents/p-6e010355.js +2 -0
  359. package/dist/genesys-webcomponents/{p-2bde7696.entry.js → p-6e269d95.entry.js} +1 -1
  360. package/dist/genesys-webcomponents/{p-ebcbed37.entry.js → p-6faed2cc.entry.js} +1 -1
  361. package/dist/genesys-webcomponents/{p-65492294.entry.js → p-6fb8abd2.entry.js} +1 -1
  362. package/dist/genesys-webcomponents/{p-0179b174.entry.js → p-70065b5d.entry.js} +1 -1
  363. package/dist/genesys-webcomponents/{p-376e469d.entry.js → p-70e20540.entry.js} +1 -1
  364. package/dist/genesys-webcomponents/{p-2d5e9d0b.entry.js → p-711bd9aa.entry.js} +1 -1
  365. package/dist/genesys-webcomponents/{p-75293e0c.entry.js → p-7123fb3d.entry.js} +1 -1
  366. package/dist/genesys-webcomponents/{p-3662075b.entry.js → p-71532e90.entry.js} +1 -1
  367. package/dist/genesys-webcomponents/{p-20bb0c95.entry.js → p-733c31b4.entry.js} +1 -1
  368. package/dist/genesys-webcomponents/{p-939ff03f.entry.js → p-76d2a6a2.entry.js} +1 -1
  369. package/dist/genesys-webcomponents/{p-f8220aa2.entry.js → p-794cd589.entry.js} +1 -1
  370. package/dist/genesys-webcomponents/{p-1ea82bf6.js → p-7e76ac06.js} +1 -1
  371. package/dist/genesys-webcomponents/{p-fda8e29f.entry.js → p-808496b2.entry.js} +1 -1
  372. package/dist/genesys-webcomponents/{p-d1235609.entry.js → p-81890c7a.entry.js} +1 -1
  373. package/dist/genesys-webcomponents/{p-cea8bb70.entry.js → p-84a3bf5a.entry.js} +1 -1
  374. package/dist/genesys-webcomponents/{p-949fef1f.entry.js → p-8528c45f.entry.js} +1 -1
  375. package/dist/genesys-webcomponents/{p-22d1ec73.entry.js → p-88a6dbfe.entry.js} +1 -1
  376. package/dist/genesys-webcomponents/{p-0ed99d18.entry.js → p-88c4e167.entry.js} +1 -1
  377. package/dist/genesys-webcomponents/{p-36d73589.entry.js → p-8e4ba672.entry.js} +1 -1
  378. package/dist/genesys-webcomponents/{p-4e1054cd.entry.js → p-9174bccd.entry.js} +1 -1
  379. package/dist/genesys-webcomponents/{p-3ba04e4f.entry.js → p-9180fd89.entry.js} +1 -1
  380. package/dist/genesys-webcomponents/{p-d53a2cb5.entry.js → p-9269dbbf.entry.js} +1 -1
  381. package/dist/genesys-webcomponents/{p-b409ebc9.entry.js → p-96dd6cd4.entry.js} +1 -1
  382. package/dist/genesys-webcomponents/{p-d48d4931.entry.js → p-978b3095.entry.js} +1 -1
  383. package/dist/genesys-webcomponents/{p-266aaaa3.entry.js → p-984514b1.entry.js} +1 -1
  384. package/dist/genesys-webcomponents/{p-86b10d3a.entry.js → p-984c5d92.entry.js} +1 -1
  385. package/dist/genesys-webcomponents/{p-9e8e4d6d.entry.js → p-9a68e08f.entry.js} +1 -1
  386. package/dist/genesys-webcomponents/{p-6ef20f9e.entry.js → p-9b309c0f.entry.js} +1 -1
  387. package/dist/genesys-webcomponents/{p-d073ad95.entry.js → p-9e67e309.entry.js} +1 -1
  388. package/dist/genesys-webcomponents/{p-7c6fdbe4.entry.js → p-a07978ad.entry.js} +1 -1
  389. package/dist/genesys-webcomponents/{p-ea49cbe9.entry.js → p-a12c0cc1.entry.js} +1 -1
  390. package/dist/genesys-webcomponents/{p-3e54ed52.entry.js → p-a28fbc27.entry.js} +1 -1
  391. package/dist/genesys-webcomponents/{p-0ad15c0c.js → p-a2a103c1.js} +1 -1
  392. package/dist/genesys-webcomponents/{p-cf4f2d9f.entry.js → p-a37c61f0.entry.js} +1 -1
  393. package/dist/genesys-webcomponents/{p-087d422d.entry.js → p-a3e13737.entry.js} +1 -1
  394. package/dist/genesys-webcomponents/{p-6d5f6cc6.entry.js → p-a69c0cc9.entry.js} +1 -1
  395. package/dist/genesys-webcomponents/{p-0b4b4cff.entry.js → p-a97d5183.entry.js} +1 -1
  396. package/dist/genesys-webcomponents/{p-69d90f45.entry.js → p-aa6d3fe0.entry.js} +1 -1
  397. package/dist/genesys-webcomponents/{p-7526bb78.entry.js → p-ab49bf17.entry.js} +1 -1
  398. package/dist/genesys-webcomponents/{p-a698c86f.entry.js → p-abbf5b83.entry.js} +1 -1
  399. package/dist/genesys-webcomponents/{p-db04d242.entry.js → p-acbfb18f.entry.js} +1 -1
  400. package/dist/genesys-webcomponents/{p-8008cc75.entry.js → p-aeaaee03.entry.js} +1 -1
  401. package/dist/genesys-webcomponents/{p-c7449808.entry.js → p-af2aacb7.entry.js} +1 -1
  402. package/dist/genesys-webcomponents/{p-17fecdd2.entry.js → p-afce8e9a.entry.js} +1 -1
  403. package/dist/genesys-webcomponents/{p-0ae26361.js → p-b0758688.js} +1 -1
  404. package/dist/genesys-webcomponents/{p-ba844217.entry.js → p-b332fbc6.entry.js} +1 -1
  405. package/dist/genesys-webcomponents/{p-4ec598a6.entry.js → p-b6273c41.entry.js} +1 -1
  406. package/dist/genesys-webcomponents/{p-3e92b0f9.entry.js → p-b8b0bba6.entry.js} +1 -1
  407. package/dist/genesys-webcomponents/{p-788c3a6d.js → p-b8c3ecdc.js} +1 -1
  408. package/dist/genesys-webcomponents/{p-d3cffe49.entry.js → p-b8e8da28.entry.js} +1 -1
  409. package/dist/genesys-webcomponents/{p-f3301bce.entry.js → p-b9327dcc.entry.js} +1 -1
  410. package/dist/genesys-webcomponents/{p-f2d29da7.entry.js → p-bfb24c3e.entry.js} +1 -1
  411. package/dist/genesys-webcomponents/{p-c4d9667d.entry.js → p-c0e7ed8b.entry.js} +1 -1
  412. package/dist/genesys-webcomponents/{p-f84aceb6.entry.js → p-c11d33ef.entry.js} +1 -1
  413. package/dist/genesys-webcomponents/{p-e8ef9256.entry.js → p-c16fcec5.entry.js} +1 -1
  414. package/dist/genesys-webcomponents/{p-50d50951.entry.js → p-c1fd4bae.entry.js} +1 -1
  415. package/dist/genesys-webcomponents/{p-e4c377e0.entry.js → p-c9736374.entry.js} +1 -1
  416. package/dist/genesys-webcomponents/{p-71147f26.entry.js → p-ca8c409d.entry.js} +1 -1
  417. package/dist/genesys-webcomponents/{p-cfd7d4df.entry.js → p-ce1e707f.entry.js} +1 -1
  418. package/dist/genesys-webcomponents/{p-8db67b42.entry.js → p-ceb6acf5.entry.js} +1 -1
  419. package/dist/genesys-webcomponents/{p-5d8556ce.entry.js → p-d182340a.entry.js} +1 -1
  420. package/dist/genesys-webcomponents/{p-4c054d7b.entry.js → p-d1af0f33.entry.js} +1 -1
  421. package/dist/genesys-webcomponents/{p-60c044d0.js → p-d413b7e2.js} +1 -1
  422. package/dist/genesys-webcomponents/{p-95c18464.entry.js → p-d4481737.entry.js} +1 -1
  423. package/dist/genesys-webcomponents/{p-d117eece.entry.js → p-d8027724.entry.js} +1 -1
  424. package/dist/genesys-webcomponents/{p-9cc05eac.entry.js → p-d84a227c.entry.js} +1 -1
  425. package/dist/genesys-webcomponents/{p-23bbb112.entry.js → p-d88858ab.entry.js} +1 -1
  426. package/dist/genesys-webcomponents/{p-4b6e955f.entry.js → p-d8907f76.entry.js} +1 -1
  427. package/dist/genesys-webcomponents/{p-1112f17f.entry.js → p-d9bedce2.entry.js} +1 -1
  428. package/dist/genesys-webcomponents/{p-261658ed.entry.js → p-db98a008.entry.js} +1 -1
  429. package/dist/genesys-webcomponents/{p-d66ffa87.entry.js → p-dc079e58.entry.js} +1 -1
  430. package/dist/genesys-webcomponents/{p-3fcb8b6e.entry.js → p-e0585760.entry.js} +1 -1
  431. package/dist/genesys-webcomponents/{p-617b0480.entry.js → p-e087ed37.entry.js} +1 -1
  432. package/dist/genesys-webcomponents/{p-19fd1ab5.entry.js → p-e2c32ac4.entry.js} +1 -1
  433. package/dist/genesys-webcomponents/{p-d5f3d99f.entry.js → p-e5c41409.entry.js} +1 -1
  434. package/dist/genesys-webcomponents/p-e720c07a.js +1 -0
  435. package/dist/genesys-webcomponents/{p-21956270.entry.js → p-e95476b0.entry.js} +1 -1
  436. package/dist/genesys-webcomponents/{p-ddc903eb.entry.js → p-f4d5080f.entry.js} +1 -1
  437. package/dist/genesys-webcomponents/{p-f1345b76.entry.js → p-f689b1cd.entry.js} +1 -1
  438. package/dist/genesys-webcomponents/{p-af9eb7ac.entry.js → p-f7583c57.entry.js} +1 -1
  439. package/dist/genesys-webcomponents/{p-03818a4d.entry.js → p-fa71f9fb.entry.js} +1 -1
  440. package/dist/genesys-webcomponents/p-fc46a004.entry.js +1 -0
  441. package/dist/genesys-webcomponents/{p-7a4ff2f5.entry.js → p-fcf1c065.entry.js} +1 -1
  442. package/dist/genesys-webcomponents/{p-50b1d53c.entry.js → p-fea238dc.entry.js} +1 -1
  443. package/dist/genesys-webcomponents/{p-56029b81.entry.js → p-fee6fe57.entry.js} +1 -1
  444. package/dist/stencil-wrapper.js +1 -1
  445. package/dist/types/stencil-wrapper.d.ts +1 -1
  446. package/package.json +4 -4
  447. package/dist/genesys-webcomponents/p-027c43d4.js +0 -1
  448. package/dist/genesys-webcomponents/p-2917986a.entry.js +0 -1
  449. package/dist/genesys-webcomponents/p-3985ceeb.entry.js +0 -1
  450. package/dist/genesys-webcomponents/p-53ec575f.js +0 -2
  451. package/dist/genesys-webcomponents/p-5de43630.entry.js +0 -1
  452. package/dist/genesys-webcomponents/p-c5847c69.js +0 -1
  453. package/dist/genesys-webcomponents/p-ef04845a.entry.js +0 -1
  454. package/dist/genesys-webcomponents/p-fdf8db23.entry.js +0 -1
@@ -1 +1 @@
1
- import{r as t,c as e,f as i,h as o,g as r,H as s}from"./p-53ec575f.js";import{O as n}from"./p-0ae26361.js";import{b as u}from"./p-3b4a0d71.js";import{s as a}from"./p-2c25e2f2.js";import{o as l,c as d}from"./p-f4751a15.js";import{b as h}from"./p-cf0e7d3b.js";import{t as g}from"./p-0ad15c0c.js";import{O as c}from"./p-c5847c69.js";import{s as f,l as p,g as x,c as v,h as b,a as m,b as w,d as C,e as y,f as F,i as k,j as S,k as z,m as R,o as T}from"./p-787c5373.js";import{h as j}from"./p-6d8b4027.js";import{w as E}from"./p-e97879b4.js";import{r as I}from"./p-0934300e.js";import"./p-4202e9f2.js";const L={filterResults:"Type to filter dropdown results",noSelection:"Select...",dropdown:"Dropdown"};var H=function(t,e,i,o){var r,s=arguments.length,n=s<3?e:null===o?o=Object.getOwnPropertyDescriptor(e,i):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)n=Reflect.decorate(t,e,i,o);else for(var u=t.length-1;u>=0;u--)(r=t[u])&&(n=(s<3?r(n):s>3?r(e,i,n):r(e,i))||n);return s>3&&n&&Object.defineProperty(e,i,n),n};const O=class{constructor(i){t(this,i),this.guxexpanded=e(this,"guxexpanded",7),this.guxcollapsed=e(this,"guxcollapsed",7),this.guxfilter=e(this,"guxfilter",7),this.value=void 0,this.disabled=!1,this.required=!1,this.loading=!1,this.placeholder=void 0,this.filterType="none",this.hasError=!1,this.exceedTargetWidth=!1,this.expanded=!1,this.filter=""}watchExpanded(t){t||(this.filter="")}watchValue(t){this.validateValue(t,this.listboxElement)}handleFilter(t){this.guxfilter.emit(t)}watchDisabled(t){t&&(this.expanded=!1)}onKeydown(t){switch(t.key){case"Escape":return this.isFilterable()&&document.activeElement===this.listboxElement?this.filterElement.focus():void this.collapseListbox("focusFieldButton");case"Tab":return this.shiftTabFromFilterListbox(t)?(t.preventDefault(),this.filterElement.focus()):this.shiftTabFromExpandedFilterInput(t)?(t.preventDefault(),this.collapseListbox("focusFieldButton")):void this.collapseListbox("noFocusChange");case"ArrowDown":return void(this.activeElementNotListbox()&&(t.preventDefault(),this.expanded=!0,f(this.listboxElement)))}}onInternallistboxoptionsupdated(t){t.stopPropagation(),i(this.root)}onBlur(t){this.stopPropagationOfInternalFocusEvents(t)}onFocus(t){this.stopPropagationOfInternalFocusEvents(t)}onFocusout(t){this.stopPropagationOfInternalFocusEvents(t)}onFocusin(t){this.stopPropagationOfInternalFocusEvents(t)}onClickOutside(){this.collapseListbox("noFocusChange")}onMutation(){var t;this.listboxElement||(this.listboxElement=null===(t=this.root)||void 0===t?void 0:t.querySelector("gux-listbox"),this.applyListboxEventListeners())}onInternalExpanded(t){t.stopPropagation(),this.guxexpanded.emit(),this.listboxElement&&h((()=>{this.listboxElement.focus(),this.isFilterable()&&this.filterElement&&this.filterElement.focus()}))}onInternalCollapsed(t){t.stopPropagation(),this.guxcollapsed.emit()}connectedCallback(){var t;this.listboxElement=null===(t=this.root)||void 0===t?void 0:t.querySelector("gux-listbox"),this.listboxElement&&this.validateValue(this.value,this.listboxElement)}async componentWillLoad(){g(this.root),this.i18n=await u(this.root,L),l(this.root,(()=>{i(this.root)}))}componentDidLoad(){this.applyListboxEventListeners()}componentWillRender(){this.listboxElement&&(this.validateValue(this.value,this.listboxElement),this.listboxElement.loading=this.loading,this.listboxElement.filterType=this.filterType,this.listboxElement.filter=this.filter)}showTooltip(){var t;null===(t=this.truncateElement)||void 0===t||t.setShowTooltip()}hideTooltip(){var t;null===(t=this.truncateElement)||void 0===t||t.setHideTooltip()}validateValue(t,e){void 0!==t?this.getOptionElementByValue(t)&&(e.value=t):e&&(e.value=t)}applyListboxEventListeners(){var t,e;null===(t=this.listboxElement)||void 0===t||t.addEventListener("input",(t=>{t.stopPropagation(),this.updateValue(t.target.value)})),null===(e=this.listboxElement)||void 0===e||e.addEventListener("change",(t=>{t.stopPropagation()}))}stopPropagationOfInternalFocusEvents(t){if(this.root.contains(t.relatedTarget))return t.stopImmediatePropagation()}isFilterable(){return"starts-with"===this.filterType||"custom"===this.filterType}get optionElements(){return p(this.listboxElement)}getOptionElementByValue(t){return this.optionElements.find((e=>e.value===t))}fieldButtonClick(){this.expanded=!this.expanded}filterInput(t){t.stopPropagation(),this.filter=this.filterElement.value}shiftTabFromExpandedFilterInput(t){return t.shiftKey&&this.isFilterable()&&this.expanded&&!(document.activeElement===this.listboxElement)}shiftTabFromFilterListbox(t){return t.shiftKey&&this.isFilterable()&&document.activeElement===this.listboxElement}activeElementNotListbox(){return document.activeElement!==this.listboxElement}filterKeydown(t){switch(t.key){case"ArrowDown":return t.stopImmediatePropagation(),t.preventDefault(),this.listboxElement.focus(),void f(this.listboxElement);case"Enter":return this.listboxElement.guxSelectActive(),void t.preventDefault()}}filterKeyup(t){" "!==t.key||t.preventDefault()}collapseListbox(t){this.expanded&&(this.expanded=!1),"focusFieldButton"===t&&this.fieldButtonElement.focus()}updateValue(t){this.value!==t&&(this.value=t,a(this.root,"input"),a(this.root,"change")),this.collapseListbox("focusFieldButton")}getTypeaheadText(t){const e=t.length;if(e>0&&!this.loading){const i=x(this.listboxElement,t);if(i&&"custom"!==this.filterType)return i.textContent.trim().substring(e)}return""}renderTargetDisplay(){const t=this.getOptionElementByValue(this.value);return t?o("div",{class:"gux-selected-option"},this.renderSelectedItem(t)):o("div",{class:"gux-placeholder"},this.placeholder||this.i18n("noSelection"))}renderSelectedItem(t){const e=t.tagName.toLowerCase();switch(e){case"gux-option":return this.renderOption(t);case"gux-option-icon":return this.renderIconOption(t);default:return e}}renderOption(t){let e=t.textContent;if(j(t,"subtext")){const i=t.querySelector("[slot=subtext]");e=e.substring(0,e.length-i.textContent.length)}return o("gux-truncate",{ref:t=>this.truncateElement=t,dir:"auto"},e)}renderIconOption(t){let e=null;return null!==t.iconColor&&(e={color:t.iconColor}),o("span",{class:"gux-selected-icon"},o("gux-icon",{"icon-name":t.iconName,style:e,decorative:!0}),o("gux-truncate",{ref:t=>this.truncateElement=t},t.textContent))}renderFilterInputField(){if(this.expanded&&this.isFilterable())return o("div",{class:"gux-field gux-input-field",dir:"auto"},o("div",{class:"gux-field-content"},o("div",{class:"gux-filter"},o("div",{class:"gux-filter-display"},o("span",{class:"gux-filter-text"},this.filter),o("span",{class:"gux-filter-suggestion"},this.getTypeaheadText(this.filter))),o("div",{class:"input-and-dropdown-button"},o("input",{onClick:this.fieldButtonClick.bind(this),class:"gux-filter-input",type:"text","aria-label":this.i18n("filterResults"),ref:t=>this.filterElement=t,onInput:this.filterInput.bind(this),onKeyDown:this.filterKeydown.bind(this),onKeyUp:this.filterKeyup.bind(this),disabled:this.disabled})))))}renderPopup(){return o("slot",{slot:"popup"})}renderTarget(){return o("div",{class:{"gux-target-container-expanded":this.expanded&&this.isFilterable(),"gux-target-container-collapsed":!(this.expanded&&this.isFilterable()),"gux-error":this.hasError,"gux-disabled":this.disabled},slot:"target"},this.renderFilterInputField(),o("button",{type:"button",class:"gux-field gux-field-button",disabled:d(this.root),onClick:this.fieldButtonClick.bind(this),onFocusin:this.showTooltip.bind(this),onFocusout:this.hideTooltip.bind(this),ref:t=>this.fieldButtonElement=t,"aria-haspopup":"listbox","aria-expanded":this.expanded.toString()},this.renderTargetContent(),this.renderRadialLoading(),o("gux-icon",{class:{"gux-expand-icon":!0},"screenreader-text":this.i18n("dropdown"),iconName:this.expanded?"custom/chevron-up-small-regular":"custom/chevron-down-small-regular"})))}renderTargetContent(){if(!this.expanded||!this.isFilterable())return o("div",{class:"gux-field-content"},this.renderTargetDisplay())}renderRadialLoading(){if(this.loading&&!this.expanded)return o("gux-radial-loading",{context:"input"})}render(){return o("gux-popup",{key:"46113b9a83f7ce1f2342d1cc869178ddb6e889ff",expanded:this.expanded&&(!this.loading||this.isFilterable()),disabled:this.disabled||this.loading&&!this.isFilterable(),exceedTargetWidth:this.exceedTargetWidth},this.renderTarget(),this.renderPopup())}static get delegatesFocus(){return!0}get root(){return r(this)}static get watchers(){return{expanded:["watchExpanded"],value:["watchValue"],filter:["handleFilter"],disabled:["watchDisabled"]}}};H([n({triggerEvents:"mousedown"})],O.prototype,"onClickOutside",null),H([c({childList:!0,subtree:!0})],O.prototype,"onMutation",null),O.style=":host{box-sizing:border-box;color:var(--gse-ui-formControl-input-populatedColor)}.gux-field,.gux-target-container-expanded{all:unset;box-sizing:border-box;display:flex;flex-direction:row;flex-wrap:nowrap;place-content:stretch center;align-items:center;width:100%;height:var(--gse-ui-formControl-input-textfield-height);font-family:var(--gse-ui-formControl-input-contentText-fontFamily);font-size:var(--gse-ui-formControl-input-contentText-fontSize);font-weight:var(--gse-ui-formControl-input-contentText-fontWeight);line-height:var(--gse-ui-formControl-input-contentText-lineHeight);cursor:pointer;background-color:var(--gse-ui-formControl-input-backgroundColor)}.gux-target-container-expanded,.gux-target-container-collapsed .gux-field{padding:var(--gse-ui-formControl-input-padding)}.gux-error.gux-target-container-collapsed .gux-field-button,.gux-error.gux-target-container-expanded{border:var(--gse-ui-formControl-input-error-border-width) var(--gse-ui-formControl-input-error-border-style) var(--gse-ui-formControl-input-error-border-color)}.gux-disabled.gux-target-container-collapsed .gux-field-button,.gux-disabled.gux-target-container-expanded{user-select:none;border:var(--gse-ui-formControl-input-disabled-border-width) var(--gse-ui-formControl-input-disabled-border-style) var(--gse-ui-formControl-input-disabled-border-color)}.gux-target-container-collapsed .gux-field-button:hover,.gux-target-container-expanded:hover{border:var(--gse-ui-formControl-input-hover-border-width) var(--gse-ui-formControl-input-hover-border-style) var(--gse-ui-formControl-input-hover-border-color)}.gux-field.gux-input-field{height:var(--gse-ui-formControl-input-contentText-lineHeight)}.gux-field .gux-field-content{--gux-zindex-tooltip:3;display:flex;flex:1 1 0;flex-direction:row;flex-wrap:nowrap;place-content:stretch flex-start;align-items:flex-start;min-width:0;height:var(--gse-ui-formControl-input-contentText-lineHeight)}.gux-field .gux-field-content .gux-filter,.gux-field .gux-field-content .gux-selected-option,.gux-field .gux-field-content .gux-placeholder{flex:1 1 auto;align-self:auto;order:0;padding:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.gux-field .gux-field-content .gux-filter{position:relative;height:100%}.gux-field .gux-field-content .gux-filter .gux-filter-input{all:unset;width:100%;color:transparent;caret-color:var(--gse-ui-formControl-input-populatedColor)}.gux-field .gux-field-content .gux-filter .gux-filter-display{white-space:pre}.gux-field .gux-field-content .gux-filter .gux-filter-display .gux-filter-text{color:var(--gse-ui-formControl-input-populatedColor)}.gux-field .gux-field-content .gux-filter .gux-filter-display .gux-filter-suggestion{color:var(--gse-ui-formControl-input-suggestionColor)}.gux-field .gux-field-content .gux-filter .gux-filter-input,.gux-field .gux-field-content .gux-filter .gux-filter-display{position:absolute}.gux-field .gux-field-content .gux-placeholder{color:var(--gse-ui-formControl-input-placeholderColor)}.gux-field .gux-expand-icon{flex:0 0 auto;align-self:auto;order:0;width:var(--gse-ui-formControl-input-inputIcon-size);height:var(--gse-ui-formControl-input-inputIcon-size);padding-left:var(--gse-ui-dropdown-gap);color:var(--gse-ui-formControl-input-inputIcon-iconEndColor)}.gux-target-container-expanded{border:var(--gse-ui-formControl-input-active-border-width) var(--gse-ui-formControl-input-active-border-style) var(--gse-ui-formControl-input-active-border-color);border-radius:var(--gse-ui-formControl-input-borderRadius)}.gux-target-container-expanded:focus-visible{outline:var(--gse-ui-formControl-input-focus-border-width) var(--gse-ui-formControl-input-focus-border-style) var(--gse-ui-formControl-input-focus-border-color);outline-offset:var(--gse-semantic-focusRing-offset)}.gux-target-container-expanded:focus-within:has(:focus-visible){outline:var(--gse-ui-formControl-input-focus-border-width) var(--gse-ui-formControl-input-focus-border-style) var(--gse-ui-formControl-input-focus-border-color);outline-offset:var(--gse-semantic-focusRing-offset)}.gux-target-container-expanded .gux-filter-input{background-color:inherit;border:none}.gux-target-container-expanded .gux-filter-input:focus{border:none;outline:none}.gux-target-container-expanded .gux-field-button{width:auto;height:var(--gse-ui-formControl-input-contentText-lineHeight);margin:0;background:inherit;border:none;outline:none;box-shadow:none}.gux-target-container-expanded .gux-field-button:focus{outline:none}.gux-target-container-collapsed .gux-field-button{border:var(--gse-ui-formControl-input-default-border-width) var(--gse-ui-formControl-input-default-border-style) var(--gse-ui-formControl-input-default-border-color);border-radius:var(--gse-ui-formControl-input-borderRadius)}.gux-target-container-collapsed .gux-field-button:focus-visible{outline:var(--gse-ui-formControl-input-focus-border-width) var(--gse-ui-formControl-input-focus-border-style) var(--gse-ui-formControl-input-focus-border-color);outline-offset:var(--gse-semantic-focusRing-offset)}.gux-target-container-collapsed .gux-field-button:focus-within:has(:focus-visible){outline:var(--gse-ui-formControl-input-focus-border-width) var(--gse-ui-formControl-input-focus-border-style) var(--gse-ui-formControl-input-focus-border-color);outline-offset:var(--gse-semantic-focusRing-offset)}::slotted(gux-listbox){outline:none;box-shadow:var(--gse-ui-menu-boxShadow-x) var(--gse-ui-menu-boxShadow-y) var(--gse-ui-menu-boxShadow-blur) var(--gse-ui-menu-boxShadow-spread) var(--gse-ui-menu-boxShadow-color)}.gux-selected-icon{display:flex;align-items:center}.gux-selected-icon gux-icon{width:var(--gse-ui-formControl-input-inputIcon-size);height:var(--gse-ui-formControl-input-inputIcon-size);padding-right:var(--gse-ui-dropdown-gap)}";const W=["gux-option","gux-option-icon"].join(","),A={noMatches:"No matches",loading:"Loading..."},D=class{constructor(i){t(this,i),this.internallistboxoptionsupdated=e(this,"internallistboxoptionsupdated",7),this.value=void 0,this.loading=!1,this.filter="",this.filterType="none",this.emptyMessage=void 0,this.selectedValues=[],this.listboxOptions=[],this.allListboxOptionsFiltered=void 0}onBlur(){v(this.root)}onKeydown(t){if(!b(this.root))return t.preventDefault(),void f(this.root);switch(t.key){case"Enter":return t.preventDefault(),void S(this.root,(t=>this.updateValue(t)));case"ArrowDown":return t.preventDefault(),void(F(this.root)?(t.stopPropagation(),k(this.root)):w(this.root));case"ArrowUp":return t.preventDefault(),void(C(this.root)?(t.stopPropagation(),y(this.root)):m(this.root));case"Home":return t.preventDefault(),void w(this.root);case"End":return t.preventDefault(),void m(this.root);case" ":return void t.preventDefault()}1!==t.key.length||z(this.root,t.key)}onKeyup(t){" "!==t.key||S(this.root,(t=>this.updateValue(t)))}onMousemove(){v(this.root)}onClick(t){E(W,t,(t=>{T(t,(t=>this.updateValue(t)))}))}async guxSelectActive(){S(this.root,(t=>this.updateValue(t)))}setListboxOptions(){this.value&&(this.selectedValues=this.value.split(",")),this.listboxOptions=p(this.root),this.internallistboxoptionsupdated.emit()}updateValue(t){this.value!==t&&(this.value=t),a(this.root,"input"),a(this.root,"change")}async componentWillLoad(){g(this.root),this.i18n=await u(this.root,A),this.setListboxOptions()}componentWillRender(){this.listboxOptions.forEach((t=>{t.selected=t.value===this.value,"custom"!==this.filterType&&(t.filtered=!R(t,this.filter))})),this.allListboxOptionsFiltered=0===this.listboxOptions.filter((t=>!t.filtered)).length}renderHiddenSlot(){return o("div",{hidden:!0},o("slot",{onSlotchange:()=>this.setListboxOptions()}))}renderLoading(){return[o("div",{class:"gux-message-container"},o("gux-radial-loading",{context:"modal"}),o("span",null,this.i18n("loading"))),this.renderHiddenSlot()]}renderAllListboxOptionsFiltered(){return[o("div",{class:"gux-message-container"},o("div",{class:"gux-no-matches"},this.emptyMessage||this.i18n("noMatches"))),this.renderHiddenSlot()]}render(){return this.loading?this.renderLoading():this.allListboxOptionsFiltered?this.renderAllListboxOptionsFiltered():o(s,{role:"listbox",tabindex:0},o("slot",{onSlotchange:()=>this.setListboxOptions()}))}get root(){return r(this)}};D.style=":host{box-sizing:border-box;display:block;max-height:var(--gse-ui-menu-maxHeight);padding:var(--gse-ui-menu-padding);margin:0;overflow:visible auto;background:var(--gse-ui-menu-backgroundColor);border:var(--gse-ui-menu-border-width) var(--gse-ui-menu-border-style) var(--gse-ui-menu-border-color);border-radius:var(--gse-ui-menu-borderRadius);outline:none}:host(:focus-visible){outline:var(--gse-semantic-focusRing-width) solid var(--gse-semantic-color-focus);outline-offset:var(--gse-semantic-focusRing-offset)}.gux-message-container{display:flex;flex-direction:column;flex-wrap:nowrap;place-content:stretch center;align-items:center;text-align:center}.gux-message-container .gux-no-matches{box-sizing:border-box;height:var(--gse-ui-menu-option-height);font-family:var(--gse-ui-dropdown-menu-emptyState-subheader-text-fontFamily);font-size:var(--gse-ui-dropdown-menu-emptyState-subheader-text-fontSize);font-weight:var(--gse-ui-dropdown-menu-emptyState-subheader-text-fontWeight);line-height:var(--gse-ui-dropdown-menu-emptyState-subheader-text-lineHeight);color:var(--gse-ui-dropdown-menu-emptyState-subheader-foregroundColor)}";const B=class{constructor(e){t(this,e),this.value=void 0,this.active=!1,this.selected=!1,this.disabled=!1,this.filtered=!1,this.hasSubtext=!1}handleActive(t){var e,i;t?null===(e=this.truncateElement)||void 0===e||e.setShowTooltip():null===(i=this.truncateElement)||void 0===i||i.setHideTooltip()}componentWillLoad(){this.root.id=this.root.id||I("gux-option"),this.onSubtextChange()}onSubtextChange(){this.hasSubtext=j(this.root,"subtext")}getAriaSelected(){return!this.disabled&&(this.selected?"true":"false")}render(){return o(s,{key:"cf5fe5e745553b6d2dd60a16092c0a3685d3e56f",role:"option",class:{"gux-active":this.active,"gux-disabled":this.disabled,"gux-filtered":this.filtered,"gux-selected":this.selected,"gux-show-subtext":this.hasSubtext},"aria-selected":this.getAriaSelected(),"aria-disabled":this.disabled.toString()},o("div",{key:"93046a8e31821e9953f77a288fb00e9ffd3a339e",class:"gux-option-wrapper"},o("gux-truncate",{key:"573bfa3e236fa31d70f743cdbced7c591526633e",ref:t=>this.truncateElement=t},o("slot",{key:"db1743e32b1a2ef216a785e70d6899bbfcef744d"})),o("slot",{key:"64af95d9800a03704c90112df781157c3429f21e",onSlotchange:()=>this.onSubtextChange(),name:"subtext"})))}get root(){return r(this)}static get watchers(){return{active:["handleActive"]}}};B.style=":host{box-sizing:border-box;display:flex;flex-direction:row;flex-wrap:nowrap;gap:var(--gse-ui-menu-option-gap);place-content:stretch center;align-items:center;height:var(--gse-ui-menu-option-height);padding:var(--gse-ui-menu-option-padding);font-family:var(--gse-ui-menu-option-label-default-text-fontFamily);font-size:var(--gse-ui-menu-option-label-default-text-fontSize);font-weight:var(--gse-ui-menu-option-label-default-text-fontWeight);line-height:var(--gse-ui-menu-option-label-default-text-lineHeight);color:var(--gse-ui-menu-option-label-foregroundColor);word-wrap:break-word;cursor:pointer}:host .gux-option-wrapper{width:100%}:host .gux-slot-container{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}:host(.gux-disabled){pointer-events:none;cursor:default;opacity:var(--gse-ui-menu-option-disabled-opacity)}:host(.gux-selected){font-family:var(--gse-ui-menu-option-label-active-text-fontFamily);font-size:var(--gse-ui-menu-option-label-active-text-fontSize);font-weight:var(--gse-ui-menu-option-label-active-text-fontWeight);line-height:var(--gse-ui-menu-option-label-active-text-lineHeight);background:var(--gse-ui-menu-option-selected-backgroundColor)}:host(:active:not(:disabled)){font-family:var(--gse-ui-menu-option-label-active-text-fontFamily);font-size:var(--gse-ui-menu-option-label-active-text-fontSize);font-weight:var(--gse-ui-menu-option-label-active-text-fontWeight);line-height:var(--gse-ui-menu-option-label-active-text-lineHeight)}:host(.gux-active){border-radius:var(--gse-semantic-focusRing-cornerRadius);outline:var(--gse-ui-menu-option-focus-border-width) var(--gse-ui-menu-option-focus-border-style) var(--gse-ui-menu-option-focus-border-color);outline-offset:-2px}:host(.gux-show-subtext){place-content:stretch flex-start;height:auto}:host(.gux-show-subtext) .gux-option-wrapper{display:flex;flex-direction:column}:host(.gux-show-subtext) slot[name=subtext]::slotted(*){height:var(--gse-ui-groupedMenu-subtext-height);font-weight:var(--gse-ui-menu-option-label-default-text-fontWeight);color:var(--gse-ui-menu-groupedMenu-subtext-foregroundColor)}:host(:hover:not(:disabled)){background:var(--gse-ui-menu-option-hover-backgroundColor)}:host(.gux-filtered){display:none}";export{O as gux_dropdown,D as gux_listbox,B as gux_option}
1
+ import{r as t,c as e,f as i,h as o,g as r,H as s}from"./p-6e010355.js";import{O as n}from"./p-b0758688.js";import{b as u}from"./p-65d51d8d.js";import{s as a}from"./p-2c25e2f2.js";import{o as l,c as d}from"./p-f4751a15.js";import{b as h}from"./p-cf0e7d3b.js";import{t as g}from"./p-a2a103c1.js";import{O as c}from"./p-e720c07a.js";import{s as f,l as p,g as x,c as v,h as b,a as m,b as w,d as C,e as y,f as F,i as k,j as S,k as z,m as R,o as T}from"./p-787c5373.js";import{h as j}from"./p-6d8b4027.js";import{w as E}from"./p-e97879b4.js";import{r as I}from"./p-0934300e.js";import"./p-4202e9f2.js";const L={filterResults:"Type to filter dropdown results",noSelection:"Select...",dropdown:"Dropdown"};var H=function(t,e,i,o){var r,s=arguments.length,n=s<3?e:null===o?o=Object.getOwnPropertyDescriptor(e,i):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)n=Reflect.decorate(t,e,i,o);else for(var u=t.length-1;u>=0;u--)(r=t[u])&&(n=(s<3?r(n):s>3?r(e,i,n):r(e,i))||n);return s>3&&n&&Object.defineProperty(e,i,n),n};const O=class{constructor(i){t(this,i),this.guxexpanded=e(this,"guxexpanded",7),this.guxcollapsed=e(this,"guxcollapsed",7),this.guxfilter=e(this,"guxfilter",7),this.value=void 0,this.disabled=!1,this.required=!1,this.loading=!1,this.placeholder=void 0,this.filterType="none",this.hasError=!1,this.exceedTargetWidth=!1,this.expanded=!1,this.filter=""}watchExpanded(t){t||(this.filter="")}watchValue(t){this.validateValue(t,this.listboxElement)}handleFilter(t){this.guxfilter.emit(t)}watchDisabled(t){t&&(this.expanded=!1)}onKeydown(t){switch(t.key){case"Escape":return this.isFilterable()&&document.activeElement===this.listboxElement?this.filterElement.focus():void this.collapseListbox("focusFieldButton");case"Tab":return this.shiftTabFromFilterListbox(t)?(t.preventDefault(),this.filterElement.focus()):this.shiftTabFromExpandedFilterInput(t)?(t.preventDefault(),this.collapseListbox("focusFieldButton")):void this.collapseListbox("noFocusChange");case"ArrowDown":return void(this.activeElementNotListbox()&&(t.preventDefault(),this.expanded=!0,f(this.listboxElement)))}}onInternallistboxoptionsupdated(t){t.stopPropagation(),i(this.root)}onBlur(t){this.stopPropagationOfInternalFocusEvents(t)}onFocus(t){this.stopPropagationOfInternalFocusEvents(t)}onFocusout(t){this.stopPropagationOfInternalFocusEvents(t)}onFocusin(t){this.stopPropagationOfInternalFocusEvents(t)}onClickOutside(){this.collapseListbox("noFocusChange")}onMutation(){var t;this.listboxElement||(this.listboxElement=null===(t=this.root)||void 0===t?void 0:t.querySelector("gux-listbox"),this.applyListboxEventListeners())}onInternalExpanded(t){t.stopPropagation(),this.guxexpanded.emit(),this.listboxElement&&h((()=>{this.listboxElement.focus(),this.isFilterable()&&this.filterElement&&this.filterElement.focus()}))}onInternalCollapsed(t){t.stopPropagation(),this.guxcollapsed.emit()}connectedCallback(){var t;this.listboxElement=null===(t=this.root)||void 0===t?void 0:t.querySelector("gux-listbox"),this.listboxElement&&this.validateValue(this.value,this.listboxElement)}async componentWillLoad(){g(this.root),this.i18n=await u(this.root,L),l(this.root,(()=>{i(this.root)}))}componentDidLoad(){this.applyListboxEventListeners()}componentWillRender(){this.listboxElement&&(this.validateValue(this.value,this.listboxElement),this.listboxElement.loading=this.loading,this.listboxElement.filterType=this.filterType,this.listboxElement.filter=this.filter)}showTooltip(){var t;null===(t=this.truncateElement)||void 0===t||t.setShowTooltip()}hideTooltip(){var t;null===(t=this.truncateElement)||void 0===t||t.setHideTooltip()}validateValue(t,e){void 0!==t?this.getOptionElementByValue(t)&&(e.value=t):e&&(e.value=t)}applyListboxEventListeners(){var t,e;null===(t=this.listboxElement)||void 0===t||t.addEventListener("input",(t=>{t.stopPropagation(),this.updateValue(t.target.value)})),null===(e=this.listboxElement)||void 0===e||e.addEventListener("change",(t=>{t.stopPropagation()}))}stopPropagationOfInternalFocusEvents(t){if(this.root.contains(t.relatedTarget))return t.stopImmediatePropagation()}isFilterable(){return"starts-with"===this.filterType||"custom"===this.filterType}get optionElements(){return p(this.listboxElement)}getOptionElementByValue(t){return this.optionElements.find((e=>e.value===t))}fieldButtonClick(){this.expanded=!this.expanded}filterInput(t){t.stopPropagation(),this.filter=this.filterElement.value}shiftTabFromExpandedFilterInput(t){return t.shiftKey&&this.isFilterable()&&this.expanded&&!(document.activeElement===this.listboxElement)}shiftTabFromFilterListbox(t){return t.shiftKey&&this.isFilterable()&&document.activeElement===this.listboxElement}activeElementNotListbox(){return document.activeElement!==this.listboxElement}filterKeydown(t){switch(t.key){case"ArrowDown":return t.stopImmediatePropagation(),t.preventDefault(),this.listboxElement.focus(),void f(this.listboxElement);case"Enter":return this.listboxElement.guxSelectActive(),void t.preventDefault()}}filterKeyup(t){" "!==t.key||t.preventDefault()}collapseListbox(t){this.expanded&&(this.expanded=!1),"focusFieldButton"===t&&this.fieldButtonElement.focus()}updateValue(t){this.value!==t&&(this.value=t,a(this.root,"input"),a(this.root,"change")),this.collapseListbox("focusFieldButton")}getTypeaheadText(t){const e=t.length;if(e>0&&!this.loading){const i=x(this.listboxElement,t);if(i&&"custom"!==this.filterType)return i.textContent.trim().substring(e)}return""}renderTargetDisplay(){const t=this.getOptionElementByValue(this.value);return t?o("div",{class:"gux-selected-option"},this.renderSelectedItem(t)):o("div",{class:"gux-placeholder"},this.placeholder||this.i18n("noSelection"))}renderSelectedItem(t){const e=t.tagName.toLowerCase();switch(e){case"gux-option":return this.renderOption(t);case"gux-option-icon":return this.renderIconOption(t);default:return e}}renderOption(t){let e=t.textContent;if(j(t,"subtext")){const i=t.querySelector("[slot=subtext]");e=e.substring(0,e.length-i.textContent.length)}return o("gux-truncate",{ref:t=>this.truncateElement=t,dir:"auto"},e)}renderIconOption(t){let e=null;return null!==t.iconColor&&(e={color:t.iconColor}),o("span",{class:"gux-selected-icon"},o("gux-icon",{"icon-name":t.iconName,style:e,decorative:!0}),o("gux-truncate",{ref:t=>this.truncateElement=t},t.textContent))}renderFilterInputField(){if(this.expanded&&this.isFilterable())return o("div",{class:"gux-field gux-input-field",dir:"auto"},o("div",{class:"gux-field-content"},o("div",{class:"gux-filter"},o("div",{class:"gux-filter-display"},o("span",{class:"gux-filter-text"},this.filter),o("span",{class:"gux-filter-suggestion"},this.getTypeaheadText(this.filter))),o("div",{class:"input-and-dropdown-button"},o("input",{onClick:this.fieldButtonClick.bind(this),class:"gux-filter-input",type:"text","aria-label":this.i18n("filterResults"),ref:t=>this.filterElement=t,onInput:this.filterInput.bind(this),onKeyDown:this.filterKeydown.bind(this),onKeyUp:this.filterKeyup.bind(this),disabled:this.disabled})))))}renderPopup(){return o("slot",{slot:"popup"})}renderTarget(){return o("div",{class:{"gux-target-container-expanded":this.expanded&&this.isFilterable(),"gux-target-container-collapsed":!(this.expanded&&this.isFilterable()),"gux-error":this.hasError,"gux-disabled":this.disabled},slot:"target"},this.renderFilterInputField(),o("button",{type:"button",class:"gux-field gux-field-button",disabled:d(this.root),onClick:this.fieldButtonClick.bind(this),onFocusin:this.showTooltip.bind(this),onFocusout:this.hideTooltip.bind(this),ref:t=>this.fieldButtonElement=t,"aria-haspopup":"listbox","aria-expanded":this.expanded.toString()},this.renderTargetContent(),this.renderRadialLoading(),o("gux-icon",{class:{"gux-expand-icon":!0},"screenreader-text":this.i18n("dropdown"),iconName:this.expanded?"custom/chevron-up-small-regular":"custom/chevron-down-small-regular"})))}renderTargetContent(){if(!this.expanded||!this.isFilterable())return o("div",{class:"gux-field-content"},this.renderTargetDisplay())}renderRadialLoading(){if(this.loading&&!this.expanded)return o("gux-radial-loading",{context:"input"})}render(){return o("gux-popup",{key:"46113b9a83f7ce1f2342d1cc869178ddb6e889ff",expanded:this.expanded&&(!this.loading||this.isFilterable()),disabled:this.disabled||this.loading&&!this.isFilterable(),exceedTargetWidth:this.exceedTargetWidth},this.renderTarget(),this.renderPopup())}static get delegatesFocus(){return!0}get root(){return r(this)}static get watchers(){return{expanded:["watchExpanded"],value:["watchValue"],filter:["handleFilter"],disabled:["watchDisabled"]}}};H([n({triggerEvents:"mousedown"})],O.prototype,"onClickOutside",null),H([c({childList:!0,subtree:!0})],O.prototype,"onMutation",null),O.style=":host{box-sizing:border-box;color:var(--gse-ui-formControl-input-populatedColor)}.gux-field,.gux-target-container-expanded{all:unset;box-sizing:border-box;display:flex;flex-direction:row;flex-wrap:nowrap;place-content:stretch center;align-items:center;width:100%;height:var(--gse-ui-formControl-input-textfield-height);font-family:var(--gse-ui-formControl-input-contentText-fontFamily);font-size:var(--gse-ui-formControl-input-contentText-fontSize);font-weight:var(--gse-ui-formControl-input-contentText-fontWeight);line-height:var(--gse-ui-formControl-input-contentText-lineHeight);cursor:pointer;background-color:var(--gse-ui-formControl-input-backgroundColor)}.gux-target-container-expanded,.gux-target-container-collapsed .gux-field{padding:var(--gse-ui-formControl-input-padding)}.gux-error.gux-target-container-collapsed .gux-field-button,.gux-error.gux-target-container-expanded{border:var(--gse-ui-formControl-input-error-border-width) var(--gse-ui-formControl-input-error-border-style) var(--gse-ui-formControl-input-error-border-color)}.gux-disabled.gux-target-container-collapsed .gux-field-button,.gux-disabled.gux-target-container-expanded{user-select:none;border:var(--gse-ui-formControl-input-disabled-border-width) var(--gse-ui-formControl-input-disabled-border-style) var(--gse-ui-formControl-input-disabled-border-color)}.gux-target-container-collapsed .gux-field-button:hover,.gux-target-container-expanded:hover{border:var(--gse-ui-formControl-input-hover-border-width) var(--gse-ui-formControl-input-hover-border-style) var(--gse-ui-formControl-input-hover-border-color)}.gux-field.gux-input-field{height:var(--gse-ui-formControl-input-contentText-lineHeight)}.gux-field .gux-field-content{--gux-zindex-tooltip:3;display:flex;flex:1 1 0;flex-direction:row;flex-wrap:nowrap;place-content:stretch flex-start;align-items:flex-start;min-width:0;height:var(--gse-ui-formControl-input-contentText-lineHeight)}.gux-field .gux-field-content .gux-filter,.gux-field .gux-field-content .gux-selected-option,.gux-field .gux-field-content .gux-placeholder{flex:1 1 auto;align-self:auto;order:0;padding:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.gux-field .gux-field-content .gux-filter{position:relative;height:100%}.gux-field .gux-field-content .gux-filter .gux-filter-input{all:unset;width:100%;color:transparent;caret-color:var(--gse-ui-formControl-input-populatedColor)}.gux-field .gux-field-content .gux-filter .gux-filter-display{white-space:pre}.gux-field .gux-field-content .gux-filter .gux-filter-display .gux-filter-text{color:var(--gse-ui-formControl-input-populatedColor)}.gux-field .gux-field-content .gux-filter .gux-filter-display .gux-filter-suggestion{color:var(--gse-ui-formControl-input-suggestionColor)}.gux-field .gux-field-content .gux-filter .gux-filter-input,.gux-field .gux-field-content .gux-filter .gux-filter-display{position:absolute}.gux-field .gux-field-content .gux-placeholder{color:var(--gse-ui-formControl-input-placeholderColor)}.gux-field .gux-expand-icon{flex:0 0 auto;align-self:auto;order:0;width:var(--gse-ui-formControl-input-inputIcon-size);height:var(--gse-ui-formControl-input-inputIcon-size);padding-left:var(--gse-ui-dropdown-gap);color:var(--gse-ui-formControl-input-inputIcon-iconEndColor)}.gux-target-container-expanded{border:var(--gse-ui-formControl-input-active-border-width) var(--gse-ui-formControl-input-active-border-style) var(--gse-ui-formControl-input-active-border-color);border-radius:var(--gse-ui-formControl-input-borderRadius)}.gux-target-container-expanded:focus-visible{outline:var(--gse-ui-formControl-input-focus-border-width) var(--gse-ui-formControl-input-focus-border-style) var(--gse-ui-formControl-input-focus-border-color);outline-offset:var(--gse-semantic-focusRing-offset)}.gux-target-container-expanded:focus-within:has(:focus-visible){outline:var(--gse-ui-formControl-input-focus-border-width) var(--gse-ui-formControl-input-focus-border-style) var(--gse-ui-formControl-input-focus-border-color);outline-offset:var(--gse-semantic-focusRing-offset)}.gux-target-container-expanded .gux-filter-input{background-color:inherit;border:none}.gux-target-container-expanded .gux-filter-input:focus{border:none;outline:none}.gux-target-container-expanded .gux-field-button{width:auto;height:var(--gse-ui-formControl-input-contentText-lineHeight);margin:0;background:inherit;border:none;outline:none;box-shadow:none}.gux-target-container-expanded .gux-field-button:focus{outline:none}.gux-target-container-collapsed .gux-field-button{border:var(--gse-ui-formControl-input-default-border-width) var(--gse-ui-formControl-input-default-border-style) var(--gse-ui-formControl-input-default-border-color);border-radius:var(--gse-ui-formControl-input-borderRadius)}.gux-target-container-collapsed .gux-field-button:focus-visible{outline:var(--gse-ui-formControl-input-focus-border-width) var(--gse-ui-formControl-input-focus-border-style) var(--gse-ui-formControl-input-focus-border-color);outline-offset:var(--gse-semantic-focusRing-offset)}.gux-target-container-collapsed .gux-field-button:focus-within:has(:focus-visible){outline:var(--gse-ui-formControl-input-focus-border-width) var(--gse-ui-formControl-input-focus-border-style) var(--gse-ui-formControl-input-focus-border-color);outline-offset:var(--gse-semantic-focusRing-offset)}::slotted(gux-listbox){outline:none;box-shadow:var(--gse-ui-menu-boxShadow-x) var(--gse-ui-menu-boxShadow-y) var(--gse-ui-menu-boxShadow-blur) var(--gse-ui-menu-boxShadow-spread) var(--gse-ui-menu-boxShadow-color)}.gux-selected-icon{display:flex;align-items:center}.gux-selected-icon gux-icon{width:var(--gse-ui-formControl-input-inputIcon-size);height:var(--gse-ui-formControl-input-inputIcon-size);padding-right:var(--gse-ui-dropdown-gap)}";const W=["gux-option","gux-option-icon"].join(","),A={noMatches:"No matches",loading:"Loading..."},D=class{constructor(i){t(this,i),this.internallistboxoptionsupdated=e(this,"internallistboxoptionsupdated",7),this.value=void 0,this.loading=!1,this.filter="",this.filterType="none",this.emptyMessage=void 0,this.selectedValues=[],this.listboxOptions=[],this.allListboxOptionsFiltered=void 0}onBlur(){v(this.root)}onKeydown(t){if(!b(this.root))return t.preventDefault(),void f(this.root);switch(t.key){case"Enter":return t.preventDefault(),void S(this.root,(t=>this.updateValue(t)));case"ArrowDown":return t.preventDefault(),void(F(this.root)?(t.stopPropagation(),k(this.root)):w(this.root));case"ArrowUp":return t.preventDefault(),void(C(this.root)?(t.stopPropagation(),y(this.root)):m(this.root));case"Home":return t.preventDefault(),void w(this.root);case"End":return t.preventDefault(),void m(this.root);case" ":return void t.preventDefault()}1!==t.key.length||z(this.root,t.key)}onKeyup(t){" "!==t.key||S(this.root,(t=>this.updateValue(t)))}onMousemove(){v(this.root)}onClick(t){E(W,t,(t=>{T(t,(t=>this.updateValue(t)))}))}async guxSelectActive(){S(this.root,(t=>this.updateValue(t)))}setListboxOptions(){this.value&&(this.selectedValues=this.value.split(",")),this.listboxOptions=p(this.root),this.internallistboxoptionsupdated.emit()}updateValue(t){this.value!==t&&(this.value=t),a(this.root,"input"),a(this.root,"change")}async componentWillLoad(){g(this.root),this.i18n=await u(this.root,A),this.setListboxOptions()}componentWillRender(){this.listboxOptions.forEach((t=>{t.selected=t.value===this.value,"custom"!==this.filterType&&(t.filtered=!R(t,this.filter))})),this.allListboxOptionsFiltered=0===this.listboxOptions.filter((t=>!t.filtered)).length}renderHiddenSlot(){return o("div",{hidden:!0},o("slot",{onSlotchange:()=>this.setListboxOptions()}))}renderLoading(){return[o("div",{class:"gux-message-container"},o("gux-radial-loading",{context:"modal"}),o("span",null,this.i18n("loading"))),this.renderHiddenSlot()]}renderAllListboxOptionsFiltered(){return[o("div",{class:"gux-message-container"},o("div",{class:"gux-no-matches"},this.emptyMessage||this.i18n("noMatches"))),this.renderHiddenSlot()]}render(){return this.loading?this.renderLoading():this.allListboxOptionsFiltered?this.renderAllListboxOptionsFiltered():o(s,{role:"listbox",tabindex:0},o("slot",{onSlotchange:()=>this.setListboxOptions()}))}get root(){return r(this)}};D.style=":host{box-sizing:border-box;display:block;max-height:var(--gse-ui-menu-maxHeight);padding:var(--gse-ui-menu-padding);margin:0;overflow:visible auto;background:var(--gse-ui-menu-backgroundColor);border:var(--gse-ui-menu-border-width) var(--gse-ui-menu-border-style) var(--gse-ui-menu-border-color);border-radius:var(--gse-ui-menu-borderRadius);outline:none}:host(:focus-visible){outline:var(--gse-semantic-focusRing-width) solid var(--gse-semantic-color-focus);outline-offset:var(--gse-semantic-focusRing-offset)}.gux-message-container{display:flex;flex-direction:column;flex-wrap:nowrap;place-content:stretch center;align-items:center;text-align:center}.gux-message-container .gux-no-matches{box-sizing:border-box;height:var(--gse-ui-menu-option-height);font-family:var(--gse-ui-dropdown-menu-emptyState-subheader-text-fontFamily);font-size:var(--gse-ui-dropdown-menu-emptyState-subheader-text-fontSize);font-weight:var(--gse-ui-dropdown-menu-emptyState-subheader-text-fontWeight);line-height:var(--gse-ui-dropdown-menu-emptyState-subheader-text-lineHeight);color:var(--gse-ui-dropdown-menu-emptyState-subheader-foregroundColor)}";const B=class{constructor(e){t(this,e),this.value=void 0,this.active=!1,this.selected=!1,this.disabled=!1,this.filtered=!1,this.hasSubtext=!1}handleActive(t){var e,i;t?null===(e=this.truncateElement)||void 0===e||e.setShowTooltip():null===(i=this.truncateElement)||void 0===i||i.setHideTooltip()}componentWillLoad(){this.root.id=this.root.id||I("gux-option"),this.onSubtextChange()}onSubtextChange(){this.hasSubtext=j(this.root,"subtext")}getAriaSelected(){return!this.disabled&&(this.selected?"true":"false")}render(){return o(s,{key:"cf5fe5e745553b6d2dd60a16092c0a3685d3e56f",role:"option",class:{"gux-active":this.active,"gux-disabled":this.disabled,"gux-filtered":this.filtered,"gux-selected":this.selected,"gux-show-subtext":this.hasSubtext},"aria-selected":this.getAriaSelected(),"aria-disabled":this.disabled.toString()},o("div",{key:"93046a8e31821e9953f77a288fb00e9ffd3a339e",class:"gux-option-wrapper"},o("gux-truncate",{key:"573bfa3e236fa31d70f743cdbced7c591526633e",ref:t=>this.truncateElement=t},o("slot",{key:"db1743e32b1a2ef216a785e70d6899bbfcef744d"})),o("slot",{key:"64af95d9800a03704c90112df781157c3429f21e",onSlotchange:()=>this.onSubtextChange(),name:"subtext"})))}get root(){return r(this)}static get watchers(){return{active:["handleActive"]}}};B.style=":host{box-sizing:border-box;display:flex;flex-direction:row;flex-wrap:nowrap;gap:var(--gse-ui-menu-option-gap);place-content:stretch center;align-items:center;height:var(--gse-ui-menu-option-height);padding:var(--gse-ui-menu-option-padding);font-family:var(--gse-ui-menu-option-label-default-text-fontFamily);font-size:var(--gse-ui-menu-option-label-default-text-fontSize);font-weight:var(--gse-ui-menu-option-label-default-text-fontWeight);line-height:var(--gse-ui-menu-option-label-default-text-lineHeight);color:var(--gse-ui-menu-option-label-foregroundColor);word-wrap:break-word;cursor:pointer}:host .gux-option-wrapper{width:100%}:host .gux-slot-container{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}:host(.gux-disabled){pointer-events:none;cursor:default;opacity:var(--gse-ui-menu-option-disabled-opacity)}:host(.gux-selected){font-family:var(--gse-ui-menu-option-label-active-text-fontFamily);font-size:var(--gse-ui-menu-option-label-active-text-fontSize);font-weight:var(--gse-ui-menu-option-label-active-text-fontWeight);line-height:var(--gse-ui-menu-option-label-active-text-lineHeight);background:var(--gse-ui-menu-option-selected-backgroundColor)}:host(:active:not(:disabled)){font-family:var(--gse-ui-menu-option-label-active-text-fontFamily);font-size:var(--gse-ui-menu-option-label-active-text-fontSize);font-weight:var(--gse-ui-menu-option-label-active-text-fontWeight);line-height:var(--gse-ui-menu-option-label-active-text-lineHeight)}:host(.gux-active){border-radius:var(--gse-semantic-focusRing-cornerRadius);outline:var(--gse-ui-menu-option-focus-border-width) var(--gse-ui-menu-option-focus-border-style) var(--gse-ui-menu-option-focus-border-color);outline-offset:-2px}:host(.gux-show-subtext){place-content:stretch flex-start;height:auto}:host(.gux-show-subtext) .gux-option-wrapper{display:flex;flex-direction:column}:host(.gux-show-subtext) slot[name=subtext]::slotted(*){height:var(--gse-ui-groupedMenu-subtext-height);font-weight:var(--gse-ui-menu-option-label-default-text-fontWeight);color:var(--gse-ui-menu-groupedMenu-subtext-foregroundColor)}:host(:hover:not(:disabled)){background:var(--gse-ui-menu-option-hover-backgroundColor)}:host(.gux-filtered){display:none}";export{O as gux_dropdown,D as gux_listbox,B as gux_option}
@@ -1 +1 @@
1
- import{r as e,h as r,H as i}from"./p-53ec575f.js";const o=class{constructor(r){e(this,r)}render(){return r(i,{key:"350ede1a420ac1457665bb88929b2563678950cb",role:"presentation"})}};o.style=":host{position:relative;display:flex;width:100%;height:var(--gse-ui-menu-divider-height);padding:0;margin:var(--gse-ui-menu-divider-margin);pointer-events:none;cursor:pointer;cursor:default;background-color:var(--gse-ui-menu-divider-backgroundColor)}";export{o as gux_list_divider}
1
+ import{r as e,h as r,H as i}from"./p-6e010355.js";const o=class{constructor(r){e(this,r)}render(){return r(i,{key:"350ede1a420ac1457665bb88929b2563678950cb",role:"presentation"})}};o.style=":host{position:relative;display:flex;width:100%;height:var(--gse-ui-menu-divider-height);padding:0;margin:var(--gse-ui-menu-divider-margin);pointer-events:none;cursor:pointer;cursor:default;background-color:var(--gse-ui-menu-divider-backgroundColor)}";export{o as gux_list_divider}
@@ -1 +1 @@
1
- import{r as e,h as t,g as a}from"./p-53ec575f.js";import{t as o}from"./p-0ad15c0c.js";import{g as i}from"./p-0268a3e8.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:"eb66887ffe2972faee641cccfb3f935f92bfc854",class:"gux-label-info"},t("gux-screen-reader-beta",{key:"230b736eb28544139150b2fa3a29fad3ff4d224d"},t("slot",{key:"23bb9fabdaca0e99f780f96ecd140b112b295340",name:"content"})),t("gux-icon",{key:"46914c27de93ccc63db4b3305c75311444aec20f","icon-name":this.getVariantIcon(this.variant),size:"small",decorative:!0}),t("gux-tooltip-beta",{key:"727cabe31dc2691201e159dc6a6877a7eb8246a6",placement:this.placement,ref:e=>this.tooltipElement=e},t("div",{key:"e0cf603e0d7c4aa87957a3de9ff7bd10af774acd",slot:"content"},i(this.root,"content"))))}get root(){return a(this)}};r.style=".gux-label-info{width: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{color:var(--gse-ui-formControl-label-tooltipTrigger-optionalColor);vertical-align:bottom}";export{r as gux_label_info_beta}
1
+ import{r as e,h as t,g as a}from"./p-6e010355.js";import{t as o}from"./p-a2a103c1.js";import{g as i}from"./p-0268a3e8.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:"eb66887ffe2972faee641cccfb3f935f92bfc854",class:"gux-label-info"},t("gux-screen-reader-beta",{key:"230b736eb28544139150b2fa3a29fad3ff4d224d"},t("slot",{key:"23bb9fabdaca0e99f780f96ecd140b112b295340",name:"content"})),t("gux-icon",{key:"46914c27de93ccc63db4b3305c75311444aec20f","icon-name":this.getVariantIcon(this.variant),size:"small",decorative:!0}),t("gux-tooltip-beta",{key:"727cabe31dc2691201e159dc6a6877a7eb8246a6",placement:this.placement,ref:e=>this.tooltipElement=e},t("div",{key:"e0cf603e0d7c4aa87957a3de9ff7bd10af774acd",slot:"content"},i(this.root,"content"))))}get root(){return a(this)}};r.style=".gux-label-info{width: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{color:var(--gse-ui-formControl-label-tooltipTrigger-optionalColor);vertical-align:bottom}";export{r as gux_label_info_beta}
@@ -7,7 +7,7 @@
7
7
  */
8
8
  import { defineCustomElements } from '../dist/loader';
9
9
  // Value templated out during build process (see scripts/wrap-stencil.js)
10
- export const COMPONENT_ASSETS_PATH = '/spark-components/build-assets/4.83.1-356/genesys-webcomponents/';
10
+ export const COMPONENT_ASSETS_PATH = '/spark-components/build-assets/4.84.0-361/genesys-webcomponents/';
11
11
  // Default domain to load assets from
12
12
  const DEFAULT_DOMAIN = 'app.mypurecloud.com';
13
13
  // List of Genesys UI domains
@@ -1,2 +1,2 @@
1
- export declare const COMPONENT_ASSETS_PATH = "/spark-components/build-assets/4.83.1-356/genesys-webcomponents/";
1
+ export declare const COMPONENT_ASSETS_PATH = "/spark-components/build-assets/4.84.0-361/genesys-webcomponents/";
2
2
  export declare function registerElements(): void;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "genesys-spark-components",
3
- "version": "4.83.1",
3
+ "version": "4.84.0",
4
4
  "description": "Common webcomponents",
5
5
  "license": "MIT",
6
6
  "main": "dist/stencil-wrapper.js",
@@ -70,11 +70,11 @@
70
70
  "devDependencies": {
71
71
  "@babel/core": "^7.25.2",
72
72
  "@babel/preset-env": "^7.25.4",
73
- "@stencil/core": "4.19.2",
73
+ "@stencil/core": "4.20.0",
74
74
  "@stencil/react-output-target": "^0.5.3",
75
75
  "@stencil/sass": "^3.0.12",
76
76
  "@types/google-libphonenumber": "^7.4.30",
77
- "@types/jest": "^29.5.12",
77
+ "@types/jest": "^29.5.13",
78
78
  "@types/new-relic-browser": "^0.1118.2",
79
79
  "@types/puppeteer": "^5.4.7",
80
80
  "@types/resize-observer-browser": "^0.1.9",
@@ -119,7 +119,7 @@
119
119
  "stylelint-config-html": "^1.1.0",
120
120
  "stylelint-config-recess-order": "^5.1.0",
121
121
  "stylelint-config-standard": "^36.0.1",
122
- "stylelint-scss": "^6.5.1",
122
+ "stylelint-scss": "^6.6.0",
123
123
  "stylelint-use-logical": "^2.1.2",
124
124
  "stylelint-use-logical-spec": "^5.0.1",
125
125
  "svgo": "^3.3.2",
@@ -1 +0,0 @@
1
- import{g as n}from"./p-53ec575f.js";function t(){return(t,e)=>{const{connectedCallback:c,disconnectedCallback:i}=t,s=new Map;t.connectedCallback=function(){const t=new ResizeObserver(this[e].bind(this));return function(t,e,c){t.has(e)&&t.get(e).disconnect(),t.set(e,c),c.observe(n(e))}(s,this,t),c&&c.call(this)},t.disconnectedCallback=function(){return function(n,t){n.has(t)&&n.get(t).disconnect(),n.delete(t)}(s,this),i&&i.call(this)}}}export{t as O}
@@ -1 +0,0 @@
1
- import{r as t,h as s,g as a}from"./p-53ec575f.js";import{a as e}from"./p-8eaf8caf.js";const o=class{constructor(s){t(this,s),this.align="start",this.dangerous=!1}validatePrimarySlot(t){t?(["GUX-BUTTON","GUX-ACTION-BUTTON","GUX-BUTTON-MULTI","GUX-BUTTON-SLOT"].includes(t.tagName)||e(this.root,"You must slot a button element in the primary slot."),this.dangerous?t.accent="danger":"primary"!==t.accent&&(t.accent="primary")):e(this.root,"You must slot a primary CTA.")}validateSecondarySlot(t){t&&(["GUX-BUTTON","GUX-ACTION-BUTTON","GUX-BUTTON-MULTI","GUX-BUTTON-SLOT"].includes(t.tagName)?"secondary"!==t.accent&&(t.accent="secondary"):e(this.root,"You must slot a button element in the secondary slot."))}validateDismissSlot(t){t&&(["GUX-BUTTON","GUX-BUTTON-SLOT"].includes(t.tagName)?"ghost"!==t.accent&&(t.accent="ghost"):e(this.root,"You must slot a gux-button or gux-button-slot in the dismiss slot."))}componentWillLoad(){this.validatePrimarySlot(this.root.querySelector("[slot=primary]")),this.validateSecondarySlot(this.root.querySelector("[slot=secondary]")),this.validateDismissSlot(this.root.querySelector("[slot=dismiss]"))}render(){return s("div",{key:"ea48cb42883a8e129c88d39bc26430bb998f7e6d",class:`gux-cta-group gux-${this.align}-align`},s("slot",{key:"b3a420b15d08d01b9f640891228c443f93197497",name:"primary"}),s("slot",{key:"bb98fe2475fb716dda62cfb887a63c3042a10be3",name:"secondary"}),s("slot",{key:"6bf8a3c8152cda870f7d3036c837918f83dee8e1",name:"dismiss"}))}get root(){return a(this)}};o.style=".gux-cta-group{display:flex;gap:var(--gse-ui-ctaGroup-gap)}.gux-cta-group.gux-end-align{flex-direction:row-reverse;align-items:flex-end}";export{o as gux_cta_group}
@@ -1 +0,0 @@
1
- import{r as t,c as e,f as i,h as o,g as r}from"./p-53ec575f.js";import{O as n}from"./p-0ae26361.js";import{b as s}from"./p-3b4a0d71.js";import{s as u}from"./p-2c25e2f2.js";import{b as l}from"./p-cf0e7d3b.js";import{o as a}from"./p-f4751a15.js";import{t as d}from"./p-0ad15c0c.js";import{s as c,g}from"./p-787c5373.js";import{O as h}from"./p-c5847c69.js";import"./p-4202e9f2.js";const f={textInputResults:"Type to filter dropdown results",noSelection:"Select...",dropdown:"Dropdown",numberSelected:"{numberSelected} selected",pressEnterToCreate:"Press Enter to create new option, {textInputValue}"};var p=function(t,e,i,o){var r,n=arguments.length,s=n<3?e:null===o?o=Object.getOwnPropertyDescriptor(e,i):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(t,e,i,o);else for(var u=t.length-1;u>=0;u--)(r=t[u])&&(s=(n<3?r(s):n>3?r(e,i,s):r(e,i))||s);return n>3&&s&&Object.defineProperty(e,i,s),s};const x=class{constructor(i){t(this,i),this.guxcreateoption=e(this,"guxcreateoption",7),this.guxexpanded=e(this,"guxexpanded",7),this.guxcollapsed=e(this,"guxcollapsed",7),this.guxfilter=e(this,"guxfilter",7),this.value=void 0,this.disabled=!1,this.required=!1,this.loading=!1,this.placeholder=void 0,this.filterType="none",this.hasError=!1,this.exceedTargetWidth=!1,this.hasCreate=!1,this.expanded=!1,this.textInput=""}onMutation(){var t;this.listboxElement||(this.listboxElement=null===(t=this.root)||void 0===t?void 0:t.querySelector("gux-listbox-multi"),this.applyListboxEventListeners())}onInternalExpanded(t){t.stopPropagation(),this.guxexpanded.emit()}onInternalCollapsed(t){t.stopPropagation(),this.guxcollapsed.emit()}focusSelectedItemAfterRender(t){t&&this.listboxElement&&l((()=>{this.hasTextInput()?this.textInputElement.focus():this.listboxElement.focus()})),t||(this.textInput="")}watchDisabled(t){t&&(this.expanded=!1)}watchValue(t){this.validateValue(t,this.listboxElement)}handleFilter(t){this.guxfilter.emit(t)}getSelectedValues(){var t;return Promise.resolve((null===(t=this.value)||void 0===t?void 0:t.split(","))||[])}onKeydown(t){switch(t.key){case"Escape":return this.hasTextInput()&&document.activeElement===this.listboxElement?this.textInputElement.focus():void this.collapseListbox("focusFieldButton");case"Tab":return this.shiftTabFromFilterListbox(t)?(t.preventDefault(),this.textInputElement.focus()):this.shiftTabFromExpandedFilterInput(t)?(t.preventDefault(),this.collapseListbox("focusFieldButton")):void this.collapseListbox("noFocusChange");case"ArrowDown":return void(this.activeElementNotListbox()&&(t.preventDefault(),this.expanded=!0,c(this.listboxElement)));case"Enter":this.canCreateNewOption()&&this.isActiveElement()&&this.emitCreateOption()}}onInternallistboxoptionsupdated(t){t.stopPropagation(),i(this.root)}onClearselected(t){t.stopPropagation(),this.updateValue(""),this.listboxElement&&(this.listboxElement.value=void 0),this.validateValue(this.value,this.listboxElement),this.fieldButtonElement.focus()}onCreatenewoption(t){t.stopPropagation(),this.emitCreateOption()}onBlur(t){this.stopPropagationOfInternalFocusEvents(t)}onFocus(t){this.stopPropagationOfInternalFocusEvents(t)}onFocusout(t){this.stopPropagationOfInternalFocusEvents(t)}onFocusin(t){this.stopPropagationOfInternalFocusEvents(t)}onClickOutside(){this.collapseListbox("noFocusChange")}connectedCallback(){var t;this.listboxElement=null===(t=this.root)||void 0===t?void 0:t.querySelector("gux-listbox-multi"),this.listboxElement&&(this.validateValue(this.value,this.listboxElement),this.hasCreate=!!this.root.querySelector("gux-create-option"))}async componentWillLoad(){d(this.root),this.i18n=await s(this.root,f),a(this.root,(()=>{i(this.root)}))}componentDidLoad(){this.applyListboxEventListeners()}componentWillRender(){this.listboxElement&&(this.validateValue(this.value,this.listboxElement),this.listboxElement.loading=this.loading,this.listboxElement.filterType=this.filterType,this.listboxElement.textInput=this.textInput)}validateValue(t,e){void 0!==t?this.getOptionElementByValue(t)?e.value=t:this.value=void 0:e&&(e.value=t)}hasTextInput(){return this.isFilterable()||this.hasCreate}applyListboxEventListeners(){var t,e;null===(t=this.listboxElement)||void 0===t||t.addEventListener("input",(t=>{t.stopPropagation(),this.updateValue(t.target.value)})),null===(e=this.listboxElement)||void 0===e||e.addEventListener("change",(t=>{t.stopPropagation()}))}isFilterable(){return"custom"===this.filterType||"starts-with"===this.filterType}stopPropagationOfInternalFocusEvents(t){if(this.root.contains(t.relatedTarget))return t.stopImmediatePropagation()}getOptionElementByValue(t){const e=Array.from(this.root.querySelectorAll("gux-option-multi")),i=t?t.split(","):void 0;if(i)return e.filter((t=>i.includes(t.value)))}fieldButtonClick(){this.expanded=!this.expanded}fieldButtonInputClick(){this.expanded||(this.expanded=!this.expanded)}filterInput(t){t.stopPropagation(),this.textInput=this.textInputElement.value}shiftTabFromExpandedFilterInput(t){return t.shiftKey&&this.hasTextInput()&&this.expanded&&!(document.activeElement===this.listboxElement)}shiftTabFromFilterListbox(t){return t.shiftKey&&this.hasTextInput()&&document.activeElement===this.listboxElement}emitCreateOption(){this.guxcreateoption.emit(this.textInput),this.textInput="",this.textInputElement.value=""}canCreateNewOption(){return this.hasCreate&&this.textInput&&!this.listboxElement.hasExactMatch}isActiveElement(){return document.activeElement===this.root}activeElementNotListbox(){return document.activeElement!==this.listboxElement}filterKeydown(t){if("ArrowDown"===t.key)return t.stopImmediatePropagation(),t.preventDefault(),this.listboxElement.focus(),void c(this.listboxElement)}filterKeyup(t){" "!==t.key||t.preventDefault()}collapseListbox(t){this.expanded&&(this.expanded=!1),"focusFieldButton"===t&&this.fieldButtonElement.focus()}updateValue(t){this.value!==t&&(this.value=t,u(this.root,"input"),u(this.root,"change"))}getTypeaheadText(t){var e;const i=t.length;if(i>0&&!this.loading){const o=g(this.listboxElement,t);if(o&&"custom"!==this.filterType){const t=null===(e=o.querySelector("[gux-slot-container]"))||void 0===e?void 0:e.textContent;return null==t?void 0:t.substring(i)}return""}}renderTargetDisplay(){return o("div",{class:"gux-placeholder"},this.placeholder||this.i18n("noSelection"),this.getSrSelectedText())}getSrSelectedText(){const t=this.getOptionElementByValue(this.value);if(null==t?void 0:t.length)return o("span",{class:"gux-sr-only"},this.i18n("numberSelected",{numberSelected:t.length.toString()}))}getInputAriaLabel(){return this.canCreateNewOption()&&this.isActiveElement()?this.i18n("pressEnterToCreate",{textInputValue:this.textInput}):this.i18n("textInputResults")}renderTag(){var t;const e=(null===(t=this.value)||void 0===t?void 0:t.split(","))||[];if(e.length)return o("gux-dropdown-multi-tag",{disabled:this.disabled,"number-selected":e.length})}renderFilterInputField(){if(this.expanded&&this.hasTextInput())return o("div",{class:"gux-field gux-input-field"},o("div",{class:"gux-field-content"},o("div",{class:"gux-filter"},o("div",{class:"gux-filter-display"},o("span",{class:"gux-filter-text"},this.textInput),o("span",{class:"gux-filter-suggestion"},this.getTypeaheadText(this.textInput))),o("div",{class:"input-and-dropdown-button"},o("input",{onClick:this.fieldButtonInputClick.bind(this),placeholder:this.placeholder||this.i18n("noSelection"),class:"gux-filter-input",type:"text","aria-label":this.getInputAriaLabel(),ref:t=>this.textInputElement=t,onInput:this.filterInput.bind(this),onKeyDown:this.filterKeydown.bind(this),onKeyUp:this.filterKeyup.bind(this),disabled:this.disabled})))))}renderPopup(){return o("div",{slot:"popup",class:"gux-listbox-container"},o("slot",null))}renderTarget(){return o("div",{class:{"gux-target-container":!0,"gux-target-container-expanded":this.expanded&&this.hasTextInput(),"gux-target-container-collapsed":!(this.expanded&&this.hasTextInput()),"gux-error":this.hasError,"gux-disabled":this.disabled},slot:"target"},this.renderFilterInputField(),o("button",{type:"button",class:"gux-field gux-field-button",disabled:this.disabled,onClick:this.fieldButtonClick.bind(this),ref:t=>this.fieldButtonElement=t,"aria-haspopup":"listbox","aria-expanded":this.expanded.toString()},this.renderTargetContent(),this.renderTag(),this.renderRadialLoading(),o("gux-icon",{class:{"gux-expand-icon":!0},"screenreader-text":this.i18n("dropdown"),iconName:"custom/chevron-down-small-regular"})))}renderTargetContent(){if(!this.expanded||!this.hasTextInput())return o("div",{class:"gux-field-content"},this.renderTargetDisplay())}renderRadialLoading(){if(this.loading&&!this.expanded)return o("gux-radial-loading",{context:"input"})}render(){return[o("div",{key:"e9204d3c0e513dc95e4b4d8b4a19e3a6fdef6e57",class:"gux-dropdown-container"},o("gux-popup",{key:"c7c579291174ea2eac5e16e93aea1235a296a584",expanded:this.expanded&&(!this.loading||this.isFilterable()),disabled:this.disabled||this.loading&&!this.isFilterable(),exceedTargetWidth:this.exceedTargetWidth},this.renderTarget(),this.renderPopup()))]}static get delegatesFocus(){return!0}get root(){return r(this)}static get watchers(){return{expanded:["focusSelectedItemAfterRender"],disabled:["watchDisabled"],value:["watchValue"],textInput:["handleFilter"]}}};p([h({childList:!0,subtree:!0})],x.prototype,"onMutation",null),p([n({triggerEvents:"mousedown"})],x.prototype,"onClickOutside",null),x.style=":host{box-sizing:border-box;color:var(--gse-ui-formControl-input-populatedColor)}.gux-dropdown-container{position:relative}.gux-error.gux-target-container-collapsed .gux-field-button,.gux-error.gux-target-container-expanded{border:var(--gse-ui-formControl-input-error-border-width) var(--gse-ui-formControl-input-error-border-style) var(--gse-ui-formControl-input-error-border-color)}.gux-disabled.gux-target-container-collapsed .gux-field-button,.gux-disabled.gux-target-container-expanded{user-select:none;border:var(--gse-ui-formControl-input-disabled-border-width) var(--gse-ui-formControl-input-disabled-border-style) var(--gse-ui-formControl-input-disabled-border-color)}.gux-field,.gux-target-container-expanded{all:unset;box-sizing:border-box;display:flex;flex-direction:row;flex-wrap:nowrap;place-content:stretch center;align-items:center;width:100%;height:var(--gse-ui-formControl-input-textfield-height);font-family:var(--gse-ui-formControl-input-contentText-fontFamily);font-size:var(--gse-ui-formControl-input-contentText-fontSize);font-weight:var(--gse-ui-formControl-input-contentText-fontWeight);line-height:var(--gse-ui-formControl-input-contentText-lineHeight);cursor:pointer;background-color:var(--gse-ui-formControl-input-backgroundColor)}.gux-target-container-expanded,.gux-target-container-collapsed .gux-field{padding:var(--gse-ui-formControl-input-padding)}.gux-target-container-collapsed .gux-field-button:hover,.gux-target-container-expanded:hover{border:var(--gse-ui-formControl-input-hover-border-width) var(--gse-ui-formControl-input-hover-border-style) var(--gse-ui-formControl-input-hover-border-color)}.gux-field.gux-input-field{height:var(--gse-ui-formControl-input-contentText-lineHeight)}.gux-field .gux-field-content{position:relative;display:flex;flex:1 1 0;flex-direction:row;flex-wrap:nowrap;place-content:stretch flex-start;align-items:flex-start;min-width:0;height:var(--gse-ui-formControl-input-contentText-lineHeight)}.gux-field .gux-field-content .gux-filter,.gux-field .gux-field-content .gux-selected-option,.gux-field .gux-field-content .gux-placeholder{flex:1 1 auto;align-self:auto;order:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.gux-field .gux-field-content .gux-filter .gux-sr-only:not(:focus):not(:active),.gux-field .gux-field-content .gux-selected-option .gux-sr-only:not(:focus):not(:active),.gux-field .gux-field-content .gux-placeholder .gux-sr-only:not(:focus):not(:active){position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);clip-path:inset(50%);white-space:nowrap}.gux-field .gux-field-content .gux-filter{position:relative;height:100%;padding-left:0}.gux-field .gux-field-content .gux-filter .gux-filter-input{all:unset;width:100%;color:transparent;caret-color:var(--gse-ui-formControl-input-populatedColor)}.gux-field .gux-field-content .gux-filter .gux-filter-display{white-space:pre}.gux-field .gux-field-content .gux-filter .gux-filter-display .gux-filter-text{color:var(--gse-ui-formControl-input-populatedColor)}.gux-field .gux-field-content .gux-filter .gux-filter-display .gux-filter-suggestion{color:var(--gse-ui-formControl-input-suggestionColor)}.gux-field .gux-field-content .gux-filter .gux-filter-input,.gux-field .gux-field-content .gux-filter .gux-filter-display{position:absolute}.gux-field .gux-field-content .gux-placeholder{color:var(--gse-ui-formControl-input-placeholderColor)}.gux-field .gux-expand-icon{flex:0 0 auto;align-self:auto;order:0;width:var(--gse-ui-formControl-input-inputIcon-size);height:var(--gse-ui-formControl-input-inputIcon-size);padding-left:var(--gse-ui-dropdown-gap);color:var(--gse-ui-formControl-input-inputIcon-iconEndColor)}.gux-target-container-expanded{border:var(--gse-ui-formControl-input-active-border-width) var(--gse-ui-formControl-input-active-border-style) var(--gse-ui-formControl-input-active-border-color);border-radius:var(--gse-ui-formControl-input-borderRadius)}.gux-target-container-expanded:focus-visible{outline:var(--gse-semantic-focusRing-default-border-color) var(--gse-semantic-focusRing-default-border-style) var(--gse-semantic-focusRing-default-border-width);outline-offset:var(--gse-semantic-focusRing-offset)}.gux-target-container-expanded:focus-within:has(:focus-visible){outline:var(--gse-semantic-focusRing-default-border-color) var(--gse-semantic-focusRing-default-border-style) var(--gse-semantic-focusRing-default-border-width);outline-offset:var(--gse-semantic-focusRing-offset)}.gux-target-container-expanded .gux-filter-input{background-color:inherit;border:none}.gux-target-container-expanded .gux-filter-input:focus{border:none;outline:none}.gux-target-container-expanded .gux-field-button{width:auto;height:var(--gse-ui-formControl-input-contentText-lineHeight);margin:0;background:inherit;border:none;outline:none;box-shadow:none}.gux-target-container-expanded .gux-field-button:focus{outline:none}.gux-target-container-collapsed .gux-field-button{border:var(--gse-ui-formControl-input-default-border-width) var(--gse-ui-formControl-input-default-border-style) var(--gse-ui-formControl-input-default-border-color);border-radius:var(--gse-ui-formControl-input-borderRadius)}.gux-target-container-collapsed .gux-field-button:focus-visible{outline:var(--gse-semantic-focusRing-default-border-color) var(--gse-semantic-focusRing-default-border-style) var(--gse-semantic-focusRing-default-border-width);outline-offset:var(--gse-semantic-focusRing-offset)}.gux-target-container-collapsed .gux-field-button:focus-within:has(:focus-visible){outline:var(--gse-semantic-focusRing-default-border-color) var(--gse-semantic-focusRing-default-border-style) var(--gse-semantic-focusRing-default-border-width);outline-offset:var(--gse-semantic-focusRing-offset)}.gux-listbox-container{box-sizing:border-box;margin:0}";export{x as gux_dropdown_multi}
@@ -1,2 +0,0 @@
1
- var e=Object.defineProperty,t=new WeakMap,n=e=>t.get(e),o=(e,n)=>t.set(n.t=e,n),l=(e,t)=>t in e,s=(e,t)=>(0,console.error)(e,t),r=new Map,i=new Map,c="slot-fb{display:contents}slot-fb[hidden]{display:none}",u="undefined"!=typeof window?window:{},a=u.document||{head:{}},f={o:0,l:"",jmp:e=>e(),raf:e=>requestAnimationFrame(e),ael:(e,t,n,o)=>e.addEventListener(t,n,o),rel:(e,t,n,o)=>e.removeEventListener(t,n,o),ce:(e,t)=>new CustomEvent(e,t)},d=e=>Promise.resolve(e),h=(()=>{try{return new CSSStyleSheet,"function"==typeof(new CSSStyleSheet).replaceSync}catch(e){}return!1})(),p=!1,m=[],v=[],y=(e,t)=>n=>{e.push(n),p||(p=!0,t&&4&f.o?b($):f.raf($))},w=e=>{for(let t=0;t<e.length;t++)try{e[t](performance.now())}catch(e){s(e)}e.length=0},$=()=>{w(m),w(v),(p=m.length>0)&&f.raf($)},b=e=>d().then(e),g=y(m,!1),k=y(v,!0),S=e=>{const t=new URL(e,f.l);return t.origin!==u.location.origin?t.href:t.pathname},j={},O=e=>"object"==(e=typeof e)||"function"===e;function E(e){var t,n,o;return null!=(o=null==(n=null==(t=e.head)?void 0:t.querySelector('meta[name="csp-nonce"]'))?void 0:n.getAttribute("content"))?o:void 0}((t,n)=>{for(var o in n)e(t,o,{get:n[o],enumerable:!0})})({},{err:()=>M,map:()=>R,ok:()=>C,unwrap:()=>L,unwrapErr:()=>U});var C=e=>({isOk:!0,isErr:!1,value:e}),M=e=>({isOk:!1,isErr:!0,value:e});function R(e,t){if(e.isOk){const n=t(e.value);return n instanceof Promise?n.then((e=>C(e))):C(n)}if(e.isErr)return M(e.value);throw"should never get here"}var x,P,T,L=e=>{if(e.isOk)return e.value;throw e.value},U=e=>{if(e.isErr)return e.value;throw e.value},A=(e,t,...n)=>{let o=null,l=null,s=null,r=!1,i=!1;const c=[],u=t=>{for(let n=0;n<t.length;n++)o=t[n],Array.isArray(o)?u(o):null!=o&&"boolean"!=typeof o&&((r="function"!=typeof e&&!O(o))&&(o+=""),r&&i?c[c.length-1].i+=o:c.push(r?D(null,o):o),i=r)};if(u(n),t){t.key&&(l=t.key),t.name&&(s=t.name);{const e=t.className||t.class;e&&(t.class="object"!=typeof e?e:Object.keys(e).filter((t=>e[t])).join(" "))}}if("function"==typeof e)return e(null===t?{}:t,c,N);const a=D(e,null);return a.u=t,c.length>0&&(a.h=c),a.p=l,a.m=s,a},D=(e,t)=>({o:0,v:e,i:t,$:null,h:null,u:null,p:null,m:null}),F={},N={forEach:(e,t)=>e.map(W).forEach(t),map:(e,t)=>e.map(W).map(t).map(H)},W=e=>({vattrs:e.u,vchildren:e.h,vkey:e.p,vname:e.m,vtag:e.v,vtext:e.i}),H=e=>{if("function"==typeof e.vtag){const t={...e.vattrs};return e.vkey&&(t.key=e.vkey),e.vname&&(t.name=e.vname),A(e.vtag,t,...e.vchildren||[])}const t=D(e.vtag,e.vtext);return t.u=e.vattrs,t.h=e.vchildren,t.p=e.vkey,t.m=e.vname,t},q=e=>n(e).$hostElement$,G=(e,t,n)=>{const o=q(e);return{emit:e=>V(o,t,{bubbles:!!(4&n),composed:!!(2&n),cancelable:!!(1&n),detail:e})}},V=(e,t,n)=>{const o=f.ce(t,n);return e.dispatchEvent(o),o},_=new WeakMap,z=e=>"sc-"+e.k,B=(e,t,n,o,s,r)=>{if(n!==o){let i=l(e,t),c=t.toLowerCase();if("class"===t){const t=e.classList,l=J(n),s=J(o);t.remove(...l.filter((e=>e&&!s.includes(e)))),t.add(...s.filter((e=>e&&!l.includes(e))))}else if("style"===t){for(const t in n)o&&null!=o[t]||(t.includes("-")?e.style.removeProperty(t):e.style[t]="");for(const t in o)n&&o[t]===n[t]||(t.includes("-")?e.style.setProperty(t,o[t]):e.style[t]=o[t])}else if("key"===t);else if("ref"===t)o&&o(e);else if(i||"o"!==t[0]||"n"!==t[1]){const l=O(o);if((i||l&&null!==o)&&!s)try{if(e.tagName.includes("-"))e[t]=o;else{const l=null==o?"":o;"list"===t?i=!1:null!=n&&e[t]==l||(e[t]=l)}}catch(e){}null==o||!1===o?!1===o&&""!==e.getAttribute(t)||e.removeAttribute(t):(!i||4&r||s)&&!l&&e.setAttribute(t,o=!0===o?"":o)}else if(t="-"===t[2]?t.slice(3):l(u,c)?c.slice(2):c[2]+t.slice(3),n||o){const l=t.endsWith(K);t=t.replace(Q,""),n&&f.rel(e,t,n,l),o&&f.ael(e,t,o,l)}}},I=/\s/,J=e=>e?e.split(I):[],K="Capture",Q=RegExp(K+"$"),X=(e,t,n)=>{const o=11===t.$.nodeType&&t.$.host?t.$.host:t.$,l=e&&e.u||j,s=t.u||j;for(const e of Y(Object.keys(l)))e in s||B(o,e,l[e],void 0,n,t.o);for(const e of Y(Object.keys(s)))B(o,e,l[e],s[e],n,t.o)};function Y(e){return e.includes("ref")?[...e.filter((e=>"ref"!==e)),"ref"]:e}var Z=!1,ee=!1,te=!1,ne=!1,oe=(e,t,n,o)=>{var l;const s=t.h[n];let r,i,c,u=0;if(Z||(te=!0,"slot"===s.v&&(x&&o.classList.add(x+"-s"),s.o|=s.h?2:1)),null!==s.i)r=s.$=a.createTextNode(s.i);else if(1&s.o)r=s.$=a.createTextNode("");else{if(ne||(ne="svg"===s.v),r=s.$=a.createElementNS(ne?"http://www.w3.org/2000/svg":"http://www.w3.org/1999/xhtml",!Z&&2&s.o?"slot-fb":s.v),ne&&"foreignObject"===s.v&&(ne=!1),X(null,s,ne),null!=x&&r["s-si"]!==x&&r.classList.add(r["s-si"]=x),s.h)for(u=0;u<s.h.length;++u)i=oe(e,s,u,r),i&&r.appendChild(i);"svg"===s.v?ne=!1:"foreignObject"===r.tagName&&(ne=!0)}return r["s-hn"]=T,3&s.o&&(r["s-sr"]=!0,r["s-cr"]=P,r["s-sn"]=s.m||"",r["s-rf"]=null==(l=s.u)?void 0:l.ref,c=e&&e.h&&e.h[n],c&&c.v===s.v&&e.$&&le(e.$,!1)),r},le=(e,t)=>{f.o|=1;const n=Array.from(e.childNodes);for(let e=n.length-1;e>=0;e--){const o=n[e];o["s-hn"]!==T&&o["s-ol"]&&(ve(ue(o),o,ce(o)),o["s-ol"].remove(),o["s-ol"]=void 0,o["s-sh"]=void 0,te=!0),t&&le(o,t)}f.o&=-2},se=(e,t,n,o,l,s)=>{let r,i=e["s-cr"]&&e["s-cr"].parentNode||e;for(i.shadowRoot&&i.tagName===T&&(i=i.shadowRoot);l<=s;++l)o[l]&&(r=oe(null,n,l,e),r&&(o[l].$=r,ve(i,r,ce(t))))},re=(e,t,n)=>{for(let o=t;o<=n;++o){const t=e[o];if(t){const e=t.$;me(t),e&&(ee=!0,e["s-ol"]?e["s-ol"].remove():le(e,!0),e.remove())}}},ie=(e,t,n=!1)=>e.v===t.v&&("slot"===e.v?e.m===t.m:!!n||e.p===t.p),ce=e=>e&&e["s-ol"]||e,ue=e=>(e["s-ol"]?e["s-ol"]:e).parentNode,ae=(e,t,n=!1)=>{const o=t.$=e.$,l=e.h,s=t.h,r=t.v,i=t.i;let c;null===i?(ne="svg"===r||"foreignObject"!==r&&ne,("slot"!==r||Z)&&X(e,t,ne),null!==l&&null!==s?((e,t,n,o,l=!1)=>{let s,r,i=0,c=0,u=0,a=0,f=t.length-1,d=t[0],h=t[f],p=o.length-1,m=o[0],v=o[p];for(;i<=f&&c<=p;)if(null==d)d=t[++i];else if(null==h)h=t[--f];else if(null==m)m=o[++c];else if(null==v)v=o[--p];else if(ie(d,m,l))ae(d,m,l),d=t[++i],m=o[++c];else if(ie(h,v,l))ae(h,v,l),h=t[--f],v=o[--p];else if(ie(d,v,l))"slot"!==d.v&&"slot"!==v.v||le(d.$.parentNode,!1),ae(d,v,l),ve(e,d.$,h.$.nextSibling),d=t[++i],v=o[--p];else if(ie(h,m,l))"slot"!==d.v&&"slot"!==v.v||le(h.$.parentNode,!1),ae(h,m,l),ve(e,h.$,d.$),h=t[--f],m=o[++c];else{for(u=-1,a=i;a<=f;++a)if(t[a]&&null!==t[a].p&&t[a].p===m.p){u=a;break}u>=0?(r=t[u],r.v!==m.v?s=oe(t&&t[c],n,u,e):(ae(r,m,l),t[u]=void 0,s=r.$),m=o[++c]):(s=oe(t&&t[c],n,c,e),m=o[++c]),s&&ve(ue(d.$),s,ce(d.$))}i>f?se(e,null==o[p+1]?null:o[p+1].$,n,o,c,p):c>p&&re(t,i,f)})(o,l,t,s,n):null!==s?(null!==e.i&&(o.textContent=""),se(o,null,t,s,0,s.length-1)):null!==l&&re(l,0,l.length-1),ne&&"svg"===r&&(ne=!1)):(c=o["s-cr"])?c.parentNode.textContent=i:e.i!==i&&(o.data=i)},fe=e=>{const t=e.childNodes;for(const e of t)if(1===e.nodeType){if(e["s-sr"]){const n=e["s-sn"];e.hidden=!1;for(const o of t)if(o!==e)if(o["s-hn"]!==e["s-hn"]||""!==n){if(1===o.nodeType&&(n===o.getAttribute("slot")||n===o["s-sn"])||3===o.nodeType&&n===o["s-sn"]){e.hidden=!0;break}}else if(1===o.nodeType||3===o.nodeType&&""!==o.textContent.trim()){e.hidden=!0;break}}fe(e)}},de=[],he=e=>{let t,n,o;for(const l of e.childNodes){if(l["s-sr"]&&(t=l["s-cr"])&&t.parentNode){n=t.parentNode.childNodes;const e=l["s-sn"];for(o=n.length-1;o>=0;o--)if(t=n[o],!t["s-cn"]&&!t["s-nr"]&&t["s-hn"]!==l["s-hn"])if(pe(t,e)){let n=de.find((e=>e.S===t));ee=!0,t["s-sn"]=t["s-sn"]||e,n?(n.S["s-sh"]=l["s-hn"],n.j=l):(t["s-sh"]=l["s-hn"],de.push({j:l,S:t})),t["s-sr"]&&de.map((e=>{pe(e.S,t["s-sn"])&&(n=de.find((e=>e.S===t)),n&&!e.j&&(e.j=n.j))}))}else de.some((e=>e.S===t))||de.push({S:t})}1===l.nodeType&&he(l)}},pe=(e,t)=>1===e.nodeType?null===e.getAttribute("slot")&&""===t||e.getAttribute("slot")===t:e["s-sn"]===t||""===t,me=e=>{e.u&&e.u.ref&&e.u.ref(null),e.h&&e.h.map(me)},ve=(e,t,n)=>null==e?void 0:e.insertBefore(t,n),ye=(e,t)=>{t&&!e.O&&t["s-p"]&&t["s-p"].push(new Promise((t=>e.O=t)))},we=(e,t)=>{if(e.o|=16,!(4&e.o))return ye(e,e.C),k((()=>$e(e,t)));e.o|=512},$e=(e,t)=>{const n=e.t;if(!n)throw Error(`Can't render component <${e.$hostElement$.tagName.toLowerCase()} /> with invalid Stencil runtime! Make sure this imported component is compiled with a \`externalRuntime: true\` flag. For more information, please refer to https://stenciljs.com/docs/custom-elements#externalruntime`);let o;return t&&(e.o|=256,e.M&&(e.M.map((([e,t])=>Ce(n,e,t))),e.M=void 0),o=Ce(n,"componentWillLoad")),o=be(o,(()=>Ce(n,"componentWillRender"))),be(o,(()=>ke(e,n,t)))},be=(e,t)=>ge(e)?e.then(t).catch((e=>{console.error(e),t()})):t(),ge=e=>e instanceof Promise||e&&e.then&&"function"==typeof e.then,ke=async(e,t,n)=>{var o;const l=e.$hostElement$,s=l["s-rc"];n&&(e=>{const t=e.R,n=e.$hostElement$,o=t.o,l=((e,t)=>{var n;const o=z(t),l=i.get(o);if(e=11===e.nodeType?e:a,l)if("string"==typeof l){let s,r=_.get(e=e.head||e);if(r||_.set(e,r=new Set),!r.has(o)){{s=a.createElement("style"),s.innerHTML=l;const t=null!=(n=f.P)?n:E(a);null!=t&&s.setAttribute("nonce",t),e.insertBefore(s,e.querySelector("link"))}4&t.o&&(s.innerHTML+=c),r&&r.add(o)}}else e.adoptedStyleSheets.includes(l)||(e.adoptedStyleSheets=[...e.adoptedStyleSheets,l]);return o})(n.shadowRoot?n.shadowRoot:n.getRootNode(),t);10&o&&(n["s-sc"]=l,n.classList.add(l+"-h"))})(e);Se(e,t,l,n),s&&(s.map((e=>e())),l["s-rc"]=void 0);{const t=null!=(o=l["s-p"])?o:[],n=()=>je(e);0===t.length?n():(Promise.all(t).then(n),e.o|=4,t.length=0)}},Se=(e,t,n,o)=>{try{t=t.render(),e.o&=-17,e.o|=2,((e,t,n=!1)=>{var o,l,s,r;const i=e.$hostElement$,c=e.R,u=e.T||D(null,null),d=(e=>e&&e.v===F)(t)?t:A(null,null,t);if(T=i.tagName,c.L&&(d.u=d.u||{},c.L.map((([e,t])=>d.u[t]=i[e]))),n&&d.u)for(const e of Object.keys(d.u))i.hasAttribute(e)&&!["key","ref","style","class"].includes(e)&&(d.u[e]=i[e]);if(d.v=null,d.o|=4,e.T=d,d.$=u.$=i.shadowRoot||i,x=i["s-sc"],Z=!!(1&c.o),P=i["s-cr"],ee=!1,ae(u,d,n),f.o|=1,te){he(d.$);for(const e of de){const t=e.S;if(!t["s-ol"]){const e=a.createTextNode("");e["s-nr"]=t,ve(t.parentNode,t["s-ol"]=e,t)}}for(const e of de){const t=e.S,i=e.j;if(i){const e=i.parentNode;let n=i.nextSibling;{let s=null==(o=t["s-ol"])?void 0:o.previousSibling;for(;s;){let o=null!=(l=s["s-nr"])?l:null;if(o&&o["s-sn"]===t["s-sn"]&&e===o.parentNode){for(o=o.nextSibling;o===t||(null==o?void 0:o["s-sr"]);)o=null==o?void 0:o.nextSibling;if(!o||!o["s-nr"]){n=o;break}}s=s.previousSibling}}(!n&&e!==t.parentNode||t.nextSibling!==n)&&t!==n&&(!t["s-hn"]&&t["s-ol"]&&(t["s-hn"]=t["s-ol"].parentNode.nodeName),ve(e,t,n),1===t.nodeType&&(t.hidden=null!=(s=t["s-ih"])&&s)),t&&"function"==typeof i["s-rf"]&&i["s-rf"](t)}else 1===t.nodeType&&(n&&(t["s-ih"]=null!=(r=t.hidden)&&r),t.hidden=!0)}}ee&&fe(d.$),f.o&=-2,de.length=0,P=void 0})(e,t,o)}catch(t){s(t,e.$hostElement$)}return null},je=e=>{const t=e.$hostElement$,n=e.t,o=e.C;Ce(n,"componentDidRender"),64&e.o?Ce(n,"componentDidUpdate"):(e.o|=64,Me(t),Ce(n,"componentDidLoad"),e.U(t),o||Ee()),e.A(t),e.O&&(e.O(),e.O=void 0),512&e.o&&b((()=>we(e,!1))),e.o&=-517},Oe=e=>{{const t=n(e),o=t.$hostElement$.isConnected;return o&&2==(18&t.o)&&we(t,!1),o}},Ee=()=>{Me(a.documentElement),b((()=>V(u,"appload",{detail:{namespace:"genesys-webcomponents"}})))},Ce=(e,t,n)=>{if(e&&e[t])try{return e[t](n)}catch(e){s(e)}},Me=e=>e.setAttribute("hydrated",""),Re=(e,t,o)=>{var l,r;const i=e.prototype;if(t.D||t.F||e.watchers){e.watchers&&!t.F&&(t.F=e.watchers);const c=Object.entries(null!=(l=t.D)?l:{});if(c.map((([e,[l]])=>{31&l||2&o&&32&l?Object.defineProperty(i,e,{get(){return((e,t)=>n(this).N.get(t))(0,e)},set(o){((e,t,o,l)=>{const r=n(e);if(!r)throw Error(`Couldn't find host element for "${l.k}" as it is unknown to this Stencil runtime. This usually happens when integrating a 3rd party Stencil component with another Stencil component or application. Please reach out to the maintainers of the 3rd party Stencil component or report this on the Stencil Discord server (https://chat.stenciljs.com) or comment on this similar [GitHub issue](https://github.com/ionic-team/stencil/issues/5457).`);const i=r.$hostElement$,c=r.N.get(t),u=r.o,a=r.t;if(o=((e,t)=>null==e||O(e)?e:4&t?"false"!==e&&(""===e||!!e):2&t?parseFloat(e):1&t?e+"":e)(o,l.D[t][0]),(!(8&u)||void 0===c)&&o!==c&&(!Number.isNaN(c)||!Number.isNaN(o))&&(r.N.set(t,o),a)){if(l.F&&128&u){const e=l.F[t];e&&e.map((e=>{try{a[e](o,c,t)}catch(e){s(e,i)}}))}2==(18&u)&&we(r,!1)}})(this,e,o,t)},configurable:!0,enumerable:!0}):1&o&&64&l&&Object.defineProperty(i,e,{value(...t){var o;const l=n(this);return null==(o=null==l?void 0:l.W)?void 0:o.then((()=>{var n;return null==(n=l.t)?void 0:n[e](...t)}))}})})),1&o){const o=new Map;i.attributeChangedCallback=function(e,l,s){f.jmp((()=>{var r;const c=o.get(e);if(this.hasOwnProperty(c))s=this[c],delete this[c];else{if(i.hasOwnProperty(c)&&"number"==typeof this[c]&&this[c]==s)return;if(null==c){const o=n(this),i=null==o?void 0:o.o;if(i&&!(8&i)&&128&i&&s!==l){const n=o.t,i=null==(r=t.F)?void 0:r[e];null==i||i.forEach((t=>{null!=n[t]&&n[t].call(n,s,l,e)}))}return}}this[c]=(null!==s||"boolean"!=typeof this[c])&&s}))},e.observedAttributes=Array.from(new Set([...Object.keys(null!=(r=t.F)?r:{}),...c.filter((([e,t])=>15&t[0])).map((([e,n])=>{var l;const s=n[1]||e;return o.set(s,e),512&n[0]&&(null==(l=t.L)||l.push([e,s])),s}))]))}}return e},xe=e=>{Ce(e,"connectedCallback")},Pe=e=>{Ce(e,"disconnectedCallback")},Te=(e,o={})=>{var l;const d=[],p=o.exclude||[],m=u.customElements,v=a.head,y=v.querySelector("meta[charset]"),w=a.createElement("style"),$=[];let b,g=!0;Object.assign(f,o),f.l=new URL(o.resourcesUrl||"./",a.baseURI).href;let k=!1;if(e.map((e=>{e[1].map((o=>{var l;const c={o:o[0],k:o[1],D:o[2],H:o[3]};4&c.o&&(k=!0),c.D=o[2],c.H=o[3],c.L=[],c.F=null!=(l=o[4])?l:{};const u=c.k,v=class extends HTMLElement{constructor(e){if(super(e),this.hasRegisteredEventListeners=!1,((e,n)=>{const o={o:0,$hostElement$:e,R:n,N:new Map};o.W=new Promise((e=>o.A=e)),o.q=new Promise((e=>o.U=e)),e["s-p"]=[],e["s-rc"]=[],t.set(e,o)})(e=this,c),1&c.o)if(e.shadowRoot){if("open"!==e.shadowRoot.mode)throw Error(`Unable to re-use existing shadow root for ${c.k}! Mode is set to ${e.shadowRoot.mode} but Stencil only supports open shadow roots.`)}else e.attachShadow({mode:"open",delegatesFocus:!!(16&c.o)})}connectedCallback(){const e=n(this);this.hasRegisteredEventListeners||(this.hasRegisteredEventListeners=!0,Le(this,e,c.H)),b&&(clearTimeout(b),b=null),g?$.push(this):f.jmp((()=>(e=>{if(!(1&f.o)){const t=n(e),o=t.R,l=()=>{};if(1&t.o)Le(e,t,o.H),(null==t?void 0:t.t)?xe(t.t):(null==t?void 0:t.q)&&t.q.then((()=>xe(t.t)));else{t.o|=1,12&o.o&&(e=>{const t=e["s-cr"]=a.createComment("");t["s-cn"]=!0,ve(e,t,e.firstChild)})(e);{let n=e;for(;n=n.parentNode||n.host;)if(n["s-p"]){ye(t,t.C=n);break}}o.D&&Object.entries(o.D).map((([t,[n]])=>{if(31&n&&e.hasOwnProperty(t)){const n=e[t];delete e[t],e[t]=n}})),(async(e,t,n)=>{let o;if(!(32&t.o)){if(t.o|=32,n.G){const e=(e=>{const t=e.k.replace(/-/g,"_"),n=e.G;if(!n)return;const o=r.get(n);return o?o[t]:import(`./${n}.entry.js`).then((e=>(r.set(n,e),e[t])),s)
2
- /*!__STENCIL_STATIC_IMPORT_SWITCH__*/})(n);if(e&&"then"in e){const t=()=>{};o=await e,t()}else o=e;if(!o)throw Error(`Constructor for "${n.k}#${t.V}" was not found`);o.isProxied||(n.F=o.watchers,Re(o,n,2),o.isProxied=!0);const l=()=>{};t.o|=8;try{new o(t)}catch(e){s(e)}t.o&=-9,t.o|=128,l(),xe(t.t)}else o=e.constructor,customElements.whenDefined(e.localName).then((()=>t.o|=128));if(o&&o.style){let e;"string"==typeof o.style&&(e=o.style);const t=z(n);if(!i.has(t)){const o=()=>{};((e,t,n)=>{let o=i.get(e);h&&n?(o=o||new CSSStyleSheet,"string"==typeof o?o=t:o.replaceSync(t)):o=t,i.set(e,o)})(t,e,!!(1&n.o)),o()}}}const l=t.C,c=()=>we(t,!0);l&&l["s-rc"]?l["s-rc"].push(c):c()})(e,t,o)}l()}})(this)))}disconnectedCallback(){f.jmp((()=>(async()=>{if(!(1&f.o)){const e=n(this);e._&&(e._.map((e=>e())),e._=void 0),(null==e?void 0:e.t)?Pe(e.t):(null==e?void 0:e.q)&&e.q.then((()=>Pe(e.t)))}})()))}componentOnReady(){return n(this).q}};c.G=e[0],p.includes(u)||m.get(u)||(d.push(u),m.define(u,Re(v,c,1)))}))})),d.length>0&&(k&&(w.textContent+=c),w.textContent+=d.sort()+"{visibility:hidden}[hydrated]{visibility:inherit}",w.innerHTML.length)){w.setAttribute("data-styles","");const e=null!=(l=f.P)?l:E(a);null!=e&&w.setAttribute("nonce",e),v.insertBefore(w,y?y.nextSibling:v.firstChild)}g=!1,$.length?$.map((e=>e.connectedCallback())):f.jmp((()=>b=setTimeout(Ee,30)))},Le=(e,t,n)=>{n&&n.map((([n,o,l])=>{const s=Ae(e,n),r=Ue(t,l),i=De(n);f.ael(s,o,r,i),(t._=t._||[]).push((()=>f.rel(s,o,r,i)))}))},Ue=(e,t)=>n=>{var o;try{256&e.o?null==(o=e.t)||o[t](n):(e.M=e.M||[]).push([t,n])}catch(e){s(e)}},Ae=(e,t)=>8&t?u:e,De=e=>({passive:!!(1&e),capture:!!(2&e)}),Fe=e=>f.P=e;export{F as H,S as a,Te as b,G as c,g as d,Oe as f,q as g,A as h,d as p,o as r,Fe as s,k as w}
@@ -1 +0,0 @@
1
- import{r as t,c as o,h as a,g as s}from"./p-53ec575f.js";import{t as e}from"./p-0ad15c0c.js";import{h as i}from"./p-6d8b4027.js";const n=class{constructor(a){t(this,a),this.guxdismiss=o(this,"guxdismiss",7),this.toastType="success",this.hasLink=!1,this.hasPrimaryButton=!1,this.hasSecondaryButton=!1}componentWillLoad(){e(this.root,{variant:this.toastType}),this.hasPrimaryButton=i(this.root,"primary-button"),this.hasSecondaryButton=i(this.root,"secondary-button"),this.hasLink=i(this.root,"link")}renderToastIcon(){switch(this.toastType){case"success":return a("gux-icon",{"icon-name":"fa/circle-check-solid",decorative:!0});case"warning":return a("gux-icon",{"icon-name":"fa/triangle-exclamation-solid",decorative:!0});case"error":return a("gux-icon",{"icon-name":"fa/hexagon-exclamation-solid",decorative:!0});case"info":return a("gux-icon",{"icon-name":"fa/circle-info-solid",decorative:!0});case"action":return a("slot",{name:"icon"})}}renderLink(){return a("div",{class:"gux-buttons-bar"},a("slot",{name:"link"}))}renderActions(){return a("div",{class:"gux-buttons-bar"},this.hasSecondaryButton&&a("gux-button-slot",null,a("slot",{name:"secondary-button"})),a("gux-button-slot",{accent:this.hasSecondaryButton?"primary":"tertiary"},a("slot",{name:"primary-button"})))}render(){return a("div",{key:"bca55671e2e7f16471e556e4fd85c75992fa13ba",class:`gux-toast gux-toast-${this.toastType}`},a("div",{key:"a5409d95625165ba4e69752474afeeaabb3b4ab4",class:`gux-icon gux-icon-${this.toastType}`},this.renderToastIcon()),a("div",{key:"7dde6384d557724ec22cec495f7fc756a450cfc6",class:"gux-content"},a("div",{key:"d03224398005b807561b053cb3b30ac9e3cffe41",class:"gux-message"},a("gux-truncate",{key:"defd5d9c08dfa01060ef8d5d782136a7315d9122",class:"gux-message-title","max-lines":1},a("slot",{key:"0d5d11acf015de1ecfb69425ccb2f4ff6d937a18",name:"title"})),a("gux-truncate",{key:"573aef583263681963ded618a7bccc621ebb0b2d",class:"gux-message-body","max-lines":2},a("slot",{key:"878a3cd9ca20e4a37439540abbc798c4b7c5c53f",name:"message"}))),"action"!==this.toastType&&this.hasLink&&this.renderLink(),"action"===this.toastType&&this.hasPrimaryButton&&this.renderActions()),a("gux-dismiss-button",{key:"7e11a8c78c69b41e26e41497555806e46a2efea4",position:"inherit",onClick:this.onDismissClickHandler.bind(this)}))}onDismissClickHandler(t){t.stopPropagation(),this.guxdismiss.emit().defaultPrevented||this.root.remove()}get root(){return s(this)}};n.style=".gux-toast{position:relative;display:flex;flex-direction:row;flex-wrap:nowrap;gap:var(--gse-ui-toast-gap);place-content:stretch flex-start;align-items:flex-start;width:var(--gse-ui-toast-wrappingWidth);padding:var(--gse-ui-toast-margin);margin-bottom:var(--gse-ui-toast-stacking-gap);border-radius:var(--gse-ui-toast-borderRadius);box-shadow:var(--gse-ui-toast-boxShadow-x) var(--gse-ui-toast-boxShadow-y) var(--gse-ui-toast-boxShadow-blur) var(--gse-ui-toast-boxShadow-spread) var(--gse-ui-toast-boxShadow-color)}.gux-toast .gux-icon ::slotted(gux-icon){width:var(--gse-ui-toast-icon) !important;height:var(--gse-ui-toast-icon) !important}.gux-toast .gux-icon gux-icon{width:var(--gse-ui-toast-icon) !important;height:var(--gse-ui-toast-icon) !important}.gux-toast .gux-icon.gux-icon-error{color:var(--gse-ui-toast-error-iconColor)}.gux-toast .gux-icon.gux-icon-warning{color:var(--gse-ui-toast-warning-iconColor)}.gux-toast .gux-icon.gux-icon-success{color:var(--gse-ui-toast-success-iconColor)}.gux-toast .gux-icon.gux-icon-info{color:var(--gse-ui-toast-info-iconColor)}.gux-toast .gux-icon.gux-icon-action{color:var(--gse-ui-toast-action-iconColor)}.gux-toast .gux-content{display:flex;flex:1 1 auto;flex-direction:column;flex-wrap:nowrap;gap:var(--gse-ui-toast-gapButton);place-content:stretch flex-start;align-items:flex-start;align-self:auto;order:0}.gux-toast .gux-content .gux-message{display:flex;flex-direction:column;gap:var(--gse-ui-toast-gapText)}.gux-toast .gux-content .gux-message .gux-message-title{font-family:var(--gse-ui-toast-heading-fontFamily);font-size:var(--gse-ui-toast-heading-fontSize);font-weight:var(--gse-ui-toast-heading-fontWeight);line-height:var(--gse-ui-toast-heading-lineHeight)}.gux-toast .gux-content .gux-message .gux-message-body{font-family:var(--gse-ui-toast-text-fontFamily);font-size:var(--gse-ui-toast-text-fontSize);line-height:var(--gse-ui-toast-text-lineHeight)}.gux-toast .gux-content .gux-buttons-bar{display:flex;flex-direction:row;flex-wrap:nowrap;gap:var(--gse-ui-toast-buttonBar-gap);justify-content:flex-start}.gux-toast .gux-content .gux-buttons-bar ::slotted(a){font-family:var(--gse-ui-link-inLine-medium-underlinedText-fontFamily);font-size:var(--gse-ui-link-inLine-medium-underlinedText-fontSize);font-weight:var(--gse-ui-link-inLine-medium-underlinedText-fontWeight);line-height:var(--gse-ui-link-inLine-medium-underlinedText-lineHeight)}.gux-toast.gux-toast-success{background-color:var(--gse-ui-toast-success-backgroundColor)}.gux-toast.gux-toast-success .gux-message{color:var(--gse-ui-toast-success-foregroundColor)}.gux-toast.gux-toast-warning{background-color:var(--gse-ui-toast-warning-backgroundColor)}.gux-toast.gux-toast-warning .gux-message{color:var(--gse-ui-toast-warning-foregroundColor)}.gux-toast.gux-toast-error{background-color:var(--gse-ui-toast-error-backgroundColor)}.gux-toast.gux-toast-error .gux-message{color:var(--gse-ui-toast-error-foregroundColor)}.gux-toast.gux-toast-info{background-color:var(--gse-ui-toast-info-backgroundColor)}.gux-toast.gux-toast-info .gux-message{color:var(--gse-ui-toast-info-foregroundColor)}.gux-toast.gux-toast-action{background-color:var(--gse-ui-toast-action-backgroundColor)}.gux-toast.gux-toast-action .gux-message{color:var(--gse-ui-toast-action-foregroundColor)}";export{n as gux_toast}
@@ -1 +0,0 @@
1
- import{g as n}from"./p-53ec575f.js";function t(t){return(c,i)=>{const{connectedCallback:e,disconnectedCallback:o}=c,s=new Map;c.connectedCallback=function(){const c=new MutationObserver(this[i].bind(this));return function(t,c,i,e){t.has(c)&&t.get(c).disconnect(),t.set(c,i),i.observe(n(c),e)}(s,this,c,t),e&&e.call(this)},c.disconnectedCallback=function(){return function(n,t){n.has(t)&&n.get(t).disconnect(),n.delete(t)}(s,this),o&&o.call(this)}}}export{t as O}
@@ -1 +0,0 @@
1
- import{r as e,h as r,g as s}from"./p-53ec575f.js";import{t as c}from"./p-0ad15c0c.js";const a=class{constructor(r){e(this,r)}componentWillLoad(){c(this.root)}render(){return r("div",{key:"f12fd2d6bcbad89337689aab3c563406555714cc",class:"gux-selector-cards"},r("slot",{key:"9efbb5ddc208e089cee905451965fe6f8b21f25c"}))}get root(){return s(this)}};a.style=".gux-selector-cards{display:flex;flex-wrap:wrap;gap:var(--gse-ui-selectorCard-simple-gap)}";export{a as gux_selector_cards_beta}
@@ -1 +0,0 @@
1
- import{r,h as e}from"./p-53ec575f.js";const c=class{constructor(e){r(this,e)}render(){return e("slot",{key:"5ae86892c61c1db5065ac21ebd14f4e81cfd316a"})}};export{c as gux_form_beta}