genesys-spark-components 4.142.3 → 4.143.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 (375) hide show
  1. package/dist/cjs/gux-accordion.cjs.entry.js +1 -1
  2. package/dist/cjs/gux-action-button.cjs.entry.js +1 -1
  3. package/dist/cjs/gux-action-toast-legacy.cjs.entry.js +1 -1
  4. package/dist/cjs/gux-advanced-dropdown-legacy.cjs.entry.js +1 -1
  5. package/dist/cjs/gux-announce-beta.cjs.entry.js +1 -1
  6. package/dist/cjs/gux-avatar-beta.cjs.entry.js +1 -1
  7. package/dist/cjs/gux-avatar-change-photo-beta.cjs.entry.js +1 -1
  8. package/dist/cjs/gux-avatar-group-add-item-beta_3.cjs.entry.js +1 -1
  9. package/dist/cjs/gux-avatar-group-beta.cjs.entry.js +1 -1
  10. package/dist/cjs/gux-avatar-group-item-beta.cjs.entry.js +1 -1
  11. package/dist/cjs/gux-badge.cjs.entry.js +1 -1
  12. package/dist/cjs/gux-blank-state.cjs.entry.js +1 -1
  13. package/dist/cjs/gux-breadcrumbs.cjs.entry.js +1 -1
  14. package/dist/cjs/gux-button-multi.cjs.entry.js +1 -1
  15. package/dist/cjs/gux-button-slot.cjs.entry.js +1 -1
  16. package/dist/cjs/gux-button_2.cjs.entry.js +1 -1
  17. package/dist/cjs/gux-calendar-beta.cjs.entry.js +1 -1
  18. package/dist/cjs/gux-calendar.cjs.entry.js +1 -1
  19. package/dist/cjs/gux-card.cjs.entry.js +1 -1
  20. package/dist/cjs/gux-column-manager.cjs.entry.js +1 -1
  21. package/dist/cjs/gux-content-search.cjs.entry.js +1 -1
  22. package/dist/cjs/gux-context-menu.cjs.entry.js +1 -1
  23. package/dist/cjs/gux-copy-to-clipboard.cjs.entry.js +1 -1
  24. package/dist/cjs/gux-date-beta.cjs.entry.js +1 -1
  25. package/dist/cjs/gux-date-time-beta.cjs.entry.js +1 -1
  26. package/dist/cjs/gux-datepicker.cjs.entry.js +1 -1
  27. package/dist/cjs/gux-day-beta.cjs.entry.js +1 -1
  28. package/dist/cjs/gux-disclosure-button-legacy.cjs.entry.js +1 -1
  29. package/dist/cjs/gux-dismiss-button.cjs.entry.js +1 -1
  30. package/dist/cjs/gux-dropdown-multi.cjs.entry.js +1 -1
  31. package/dist/cjs/gux-dropdown_3.cjs.entry.js +1 -1
  32. package/dist/cjs/gux-file-list-item.cjs.entry.js +1 -1
  33. package/dist/cjs/gux-flag-icon-beta.cjs.entry.js +1 -1
  34. package/dist/cjs/gux-flyout-menu.cjs.entry.js +1 -1
  35. package/dist/cjs/gux-form-field-checkbox-group-beta.cjs.entry.js +1 -1
  36. package/dist/cjs/gux-form-field-checkbox.cjs.entry.js +1 -1
  37. package/dist/cjs/gux-form-field-color.cjs.entry.js +1 -1
  38. package/dist/cjs/gux-form-field-dropdown.cjs.entry.js +1 -1
  39. package/dist/cjs/gux-form-field-file-beta.cjs.entry.js +1 -1
  40. package/dist/cjs/gux-form-field-file.cjs.entry.js +1 -1
  41. package/dist/cjs/gux-form-field-input-clear-button.cjs.entry.js +1 -1
  42. package/dist/cjs/gux-form-field-label-indicator.cjs.entry.js +1 -1
  43. package/dist/cjs/gux-form-field-number_2.cjs.entry.js +1 -1
  44. package/dist/cjs/gux-form-field-phone.cjs.entry.js +1 -1
  45. package/dist/cjs/gux-form-field-radio-group-beta.cjs.entry.js +1 -1
  46. package/dist/cjs/gux-form-field-radio.cjs.entry.js +1 -1
  47. package/dist/cjs/gux-form-field-range.cjs.entry.js +1 -1
  48. package/dist/cjs/gux-form-field-search.cjs.entry.js +1 -1
  49. package/dist/cjs/gux-form-field-select.cjs.entry.js +1 -1
  50. package/dist/cjs/gux-form-field-text-like.cjs.entry.js +1 -1
  51. package/dist/cjs/gux-form-field-textarea.cjs.entry.js +1 -1
  52. package/dist/cjs/gux-form-field-time-picker.cjs.entry.js +1 -1
  53. package/dist/cjs/gux-form-field-time-zone-picker.cjs.entry.js +1 -1
  54. package/dist/cjs/gux-form-footer.cjs.entry.js +1 -1
  55. package/dist/cjs/gux-icon-tooltip-beta.cjs.entry.js +1 -1
  56. package/dist/cjs/gux-icon.cjs.entry.js +1 -1
  57. package/dist/cjs/gux-inline-alert.cjs.entry.js +1 -1
  58. package/dist/cjs/gux-inline-dropdown-beta.cjs.entry.js +1 -1
  59. package/dist/cjs/gux-label-info-beta.cjs.entry.js +1 -1
  60. package/dist/cjs/gux-link-beta.cjs.entry.js +1 -1
  61. package/dist/cjs/gux-list.cjs.entry.js +1 -1
  62. package/dist/cjs/gux-listbox-multi.cjs.entry.js +1 -1
  63. package/dist/cjs/gux-loading-message.cjs.entry.js +1 -1
  64. package/dist/cjs/gux-modal-legacy.cjs.entry.js +1 -1
  65. package/dist/cjs/gux-modal-side-panel-beta.cjs.entry.js +1 -1
  66. package/dist/cjs/gux-modal.cjs.entry.js +1 -1
  67. package/dist/cjs/gux-month-picker-beta.cjs.entry.js +1 -1
  68. package/dist/cjs/gux-notification-toast-legacy.cjs.entry.js +1 -1
  69. package/dist/cjs/gux-page-loading-spinner.cjs.entry.js +1 -1
  70. package/dist/cjs/gux-pagination-cursor.cjs.entry.js +1 -1
  71. package/dist/cjs/gux-pagination-legacy.cjs.entry.js +1 -1
  72. package/dist/cjs/gux-pagination.cjs.entry.js +1 -1
  73. package/dist/cjs/gux-phone-input-beta.cjs.entry.js +1 -1
  74. package/dist/cjs/gux-popover-beta.cjs.entry.js +1 -1
  75. package/dist/cjs/gux-popover-list-beta.cjs.entry.js +1 -1
  76. package/dist/cjs/gux-popover-list.cjs.entry.js +1 -1
  77. package/dist/cjs/gux-radial-loading.cjs.entry.js +1 -1
  78. package/dist/cjs/gux-radial-progress.cjs.entry.js +1 -1
  79. package/dist/cjs/gux-rating.cjs.entry.js +1 -1
  80. package/dist/cjs/gux-rich-highlight-list-item.cjs.entry.js +1 -1
  81. package/dist/cjs/gux-rich-style-list-item_3.cjs.entry.js +1 -1
  82. package/dist/cjs/gux-rich-text-editor-action-link.cjs.entry.js +1 -1
  83. package/dist/cjs/gux-rich-text-editor-action-rich-style.cjs.entry.js +1 -1
  84. package/dist/cjs/gux-rich-text-editor-action-text-highlight.cjs.entry.js +1 -1
  85. package/dist/cjs/gux-rich-text-editor-action.cjs.entry.js +1 -1
  86. package/dist/cjs/gux-rich-text-editor-beta.cjs.entry.js +1 -1
  87. package/dist/cjs/gux-rich-text-editor-list.cjs.entry.js +1 -1
  88. package/dist/cjs/gux-screen-reader-beta.cjs.entry.js +1 -1
  89. package/dist/cjs/gux-segmented-control-beta.cjs.entry.js +1 -1
  90. package/dist/cjs/gux-selector-card-beta.cjs.entry.js +1 -1
  91. package/dist/cjs/gux-selector-cards-beta.cjs.entry.js +1 -1
  92. package/dist/cjs/gux-side-panel-beta.cjs.entry.js +1 -1
  93. package/dist/cjs/gux-side-panel-heading.cjs.entry.js +1 -1
  94. package/dist/cjs/gux-simple-toast-legacy.cjs.entry.js +1 -1
  95. package/dist/cjs/gux-skip-navigation-list.cjs.entry.js +1 -1
  96. package/dist/cjs/gux-sort-control.cjs.entry.js +1 -1
  97. package/dist/cjs/gux-status-indicator-beta.cjs.entry.js +1 -1
  98. package/dist/cjs/gux-switch-legacy.cjs.entry.js +1 -1
  99. package/dist/cjs/gux-table-toolbar-action.cjs.entry.js +1 -1
  100. package/dist/cjs/gux-table-toolbar-custom-action.cjs.entry.js +1 -1
  101. package/dist/cjs/gux-table-toolbar-menu-button.cjs.entry.js +1 -1
  102. package/dist/cjs/gux-table-toolbar.cjs.entry.js +1 -1
  103. package/dist/cjs/gux-table.cjs.entry.js +1 -1
  104. package/dist/cjs/gux-tabs-advanced.cjs.entry.js +1 -1
  105. package/dist/cjs/gux-tabs.cjs.entry.js +1 -1
  106. package/dist/cjs/gux-tag.cjs.entry.js +1 -1
  107. package/dist/cjs/gux-text-highlight.cjs.entry.js +1 -1
  108. package/dist/cjs/gux-time-beta.cjs.entry.js +1 -1
  109. package/dist/cjs/gux-time-picker.cjs.entry.js +1 -1
  110. package/dist/cjs/gux-time-zone-beta.cjs.entry.js +1 -1
  111. package/dist/cjs/gux-time-zone-picker-beta.cjs.entry.js +1 -1
  112. package/dist/cjs/gux-toast.cjs.entry.js +1 -1
  113. package/dist/cjs/gux-toggle.cjs.entry.js +1 -1
  114. package/dist/cjs/gux-tooltip-base-beta_2.cjs.entry.js +1 -1
  115. package/dist/cjs/gux-tooltip-pointer-beta.cjs.entry.js +1 -1
  116. package/dist/cjs/gux-tooltip_2.cjs.entry.js +1 -1
  117. package/dist/cjs/{usage-04037dc3.js → usage-051dca6d.js} +1 -1
  118. package/dist/collection/components/beta/gux-icon-tooltip/gux-icon-tooltip.js +1 -1
  119. package/dist/collection/components/beta/gux-side-panel/components/gux-side-panel-heading/gux-side-panel-heading.js +1 -1
  120. package/dist/collection/components/stable/gux-icon/gux-icon.js +1 -1
  121. package/dist/collection/components/stable/gux-icon/icons/custom/arrow-down-arrow-up-left-from-circle-regular.svg +1 -0
  122. package/dist/collection/components/stable/gux-icon/icons/custom/arrow-down-left-from-circle-regular.svg +1 -0
  123. package/dist/collection/components/stable/gux-icon/icons/custom/arrow-up-left-from-circle-regular.svg +1 -0
  124. package/dist/collection/components/stable/gux-icon/icons/custom/regular-circle-slash.svg +1 -0
  125. package/dist/collection/components/stable/gux-icon/icons/fa/rectangle-history-circle-plus-regular.svg +1 -0
  126. package/dist/esm/gux-accordion.entry.js +1 -1
  127. package/dist/esm/gux-action-button.entry.js +1 -1
  128. package/dist/esm/gux-action-toast-legacy.entry.js +1 -1
  129. package/dist/esm/gux-advanced-dropdown-legacy.entry.js +1 -1
  130. package/dist/esm/gux-announce-beta.entry.js +1 -1
  131. package/dist/esm/gux-avatar-beta.entry.js +1 -1
  132. package/dist/esm/gux-avatar-change-photo-beta.entry.js +1 -1
  133. package/dist/esm/gux-avatar-group-add-item-beta_3.entry.js +1 -1
  134. package/dist/esm/gux-avatar-group-beta.entry.js +1 -1
  135. package/dist/esm/gux-avatar-group-item-beta.entry.js +1 -1
  136. package/dist/esm/gux-badge.entry.js +1 -1
  137. package/dist/esm/gux-blank-state.entry.js +1 -1
  138. package/dist/esm/gux-breadcrumbs.entry.js +1 -1
  139. package/dist/esm/gux-button-multi.entry.js +1 -1
  140. package/dist/esm/gux-button-slot.entry.js +1 -1
  141. package/dist/esm/gux-button_2.entry.js +1 -1
  142. package/dist/esm/gux-calendar-beta.entry.js +1 -1
  143. package/dist/esm/gux-calendar.entry.js +1 -1
  144. package/dist/esm/gux-card.entry.js +1 -1
  145. package/dist/esm/gux-column-manager.entry.js +1 -1
  146. package/dist/esm/gux-content-search.entry.js +1 -1
  147. package/dist/esm/gux-context-menu.entry.js +1 -1
  148. package/dist/esm/gux-copy-to-clipboard.entry.js +1 -1
  149. package/dist/esm/gux-date-beta.entry.js +1 -1
  150. package/dist/esm/gux-date-time-beta.entry.js +1 -1
  151. package/dist/esm/gux-datepicker.entry.js +1 -1
  152. package/dist/esm/gux-day-beta.entry.js +1 -1
  153. package/dist/esm/gux-disclosure-button-legacy.entry.js +1 -1
  154. package/dist/esm/gux-dismiss-button.entry.js +1 -1
  155. package/dist/esm/gux-dropdown-multi.entry.js +1 -1
  156. package/dist/esm/gux-dropdown_3.entry.js +1 -1
  157. package/dist/esm/gux-file-list-item.entry.js +1 -1
  158. package/dist/esm/gux-flag-icon-beta.entry.js +1 -1
  159. package/dist/esm/gux-flyout-menu.entry.js +1 -1
  160. package/dist/esm/gux-form-field-checkbox-group-beta.entry.js +1 -1
  161. package/dist/esm/gux-form-field-checkbox.entry.js +1 -1
  162. package/dist/esm/gux-form-field-color.entry.js +1 -1
  163. package/dist/esm/gux-form-field-dropdown.entry.js +1 -1
  164. package/dist/esm/gux-form-field-file-beta.entry.js +1 -1
  165. package/dist/esm/gux-form-field-file.entry.js +1 -1
  166. package/dist/esm/gux-form-field-input-clear-button.entry.js +1 -1
  167. package/dist/esm/gux-form-field-label-indicator.entry.js +1 -1
  168. package/dist/esm/gux-form-field-number_2.entry.js +1 -1
  169. package/dist/esm/gux-form-field-phone.entry.js +1 -1
  170. package/dist/esm/gux-form-field-radio-group-beta.entry.js +1 -1
  171. package/dist/esm/gux-form-field-radio.entry.js +1 -1
  172. package/dist/esm/gux-form-field-range.entry.js +1 -1
  173. package/dist/esm/gux-form-field-search.entry.js +1 -1
  174. package/dist/esm/gux-form-field-select.entry.js +1 -1
  175. package/dist/esm/gux-form-field-text-like.entry.js +1 -1
  176. package/dist/esm/gux-form-field-textarea.entry.js +1 -1
  177. package/dist/esm/gux-form-field-time-picker.entry.js +1 -1
  178. package/dist/esm/gux-form-field-time-zone-picker.entry.js +1 -1
  179. package/dist/esm/gux-form-footer.entry.js +1 -1
  180. package/dist/esm/gux-icon-tooltip-beta.entry.js +1 -1
  181. package/dist/esm/gux-icon.entry.js +1 -1
  182. package/dist/esm/gux-inline-alert.entry.js +1 -1
  183. package/dist/esm/gux-inline-dropdown-beta.entry.js +1 -1
  184. package/dist/esm/gux-label-info-beta.entry.js +1 -1
  185. package/dist/esm/gux-link-beta.entry.js +1 -1
  186. package/dist/esm/gux-list.entry.js +1 -1
  187. package/dist/esm/gux-listbox-multi.entry.js +1 -1
  188. package/dist/esm/gux-loading-message.entry.js +1 -1
  189. package/dist/esm/gux-modal-legacy.entry.js +1 -1
  190. package/dist/esm/gux-modal-side-panel-beta.entry.js +1 -1
  191. package/dist/esm/gux-modal.entry.js +1 -1
  192. package/dist/esm/gux-month-picker-beta.entry.js +1 -1
  193. package/dist/esm/gux-notification-toast-legacy.entry.js +1 -1
  194. package/dist/esm/gux-page-loading-spinner.entry.js +1 -1
  195. package/dist/esm/gux-pagination-cursor.entry.js +1 -1
  196. package/dist/esm/gux-pagination-legacy.entry.js +1 -1
  197. package/dist/esm/gux-pagination.entry.js +1 -1
  198. package/dist/esm/gux-phone-input-beta.entry.js +1 -1
  199. package/dist/esm/gux-popover-beta.entry.js +1 -1
  200. package/dist/esm/gux-popover-list-beta.entry.js +1 -1
  201. package/dist/esm/gux-popover-list.entry.js +1 -1
  202. package/dist/esm/gux-radial-loading.entry.js +1 -1
  203. package/dist/esm/gux-radial-progress.entry.js +1 -1
  204. package/dist/esm/gux-rating.entry.js +1 -1
  205. package/dist/esm/gux-rich-highlight-list-item.entry.js +1 -1
  206. package/dist/esm/gux-rich-style-list-item_3.entry.js +1 -1
  207. package/dist/esm/gux-rich-text-editor-action-link.entry.js +1 -1
  208. package/dist/esm/gux-rich-text-editor-action-rich-style.entry.js +1 -1
  209. package/dist/esm/gux-rich-text-editor-action-text-highlight.entry.js +1 -1
  210. package/dist/esm/gux-rich-text-editor-action.entry.js +1 -1
  211. package/dist/esm/gux-rich-text-editor-beta.entry.js +1 -1
  212. package/dist/esm/gux-rich-text-editor-list.entry.js +1 -1
  213. package/dist/esm/gux-screen-reader-beta.entry.js +1 -1
  214. package/dist/esm/gux-segmented-control-beta.entry.js +1 -1
  215. package/dist/esm/gux-selector-card-beta.entry.js +1 -1
  216. package/dist/esm/gux-selector-cards-beta.entry.js +1 -1
  217. package/dist/esm/gux-side-panel-beta.entry.js +1 -1
  218. package/dist/esm/gux-side-panel-heading.entry.js +1 -1
  219. package/dist/esm/gux-simple-toast-legacy.entry.js +1 -1
  220. package/dist/esm/gux-skip-navigation-list.entry.js +1 -1
  221. package/dist/esm/gux-sort-control.entry.js +1 -1
  222. package/dist/esm/gux-status-indicator-beta.entry.js +1 -1
  223. package/dist/esm/gux-switch-legacy.entry.js +1 -1
  224. package/dist/esm/gux-table-toolbar-action.entry.js +1 -1
  225. package/dist/esm/gux-table-toolbar-custom-action.entry.js +1 -1
  226. package/dist/esm/gux-table-toolbar-menu-button.entry.js +1 -1
  227. package/dist/esm/gux-table-toolbar.entry.js +1 -1
  228. package/dist/esm/gux-table.entry.js +1 -1
  229. package/dist/esm/gux-tabs-advanced.entry.js +1 -1
  230. package/dist/esm/gux-tabs.entry.js +1 -1
  231. package/dist/esm/gux-tag.entry.js +1 -1
  232. package/dist/esm/gux-text-highlight.entry.js +1 -1
  233. package/dist/esm/gux-time-beta.entry.js +1 -1
  234. package/dist/esm/gux-time-picker.entry.js +1 -1
  235. package/dist/esm/gux-time-zone-beta.entry.js +1 -1
  236. package/dist/esm/gux-time-zone-picker-beta.entry.js +1 -1
  237. package/dist/esm/gux-toast.entry.js +1 -1
  238. package/dist/esm/gux-toggle.entry.js +1 -1
  239. package/dist/esm/gux-tooltip-base-beta_2.entry.js +1 -1
  240. package/dist/esm/gux-tooltip-pointer-beta.entry.js +1 -1
  241. package/dist/esm/gux-tooltip_2.entry.js +1 -1
  242. package/dist/esm/{usage-167ea143.js → usage-b47c9532.js} +1 -1
  243. package/dist/genesys-webcomponents/genesys-webcomponents.esm.js +1 -1
  244. package/dist/genesys-webcomponents/icons/custom/arrow-down-arrow-up-left-from-circle-regular.svg +1 -0
  245. package/dist/genesys-webcomponents/icons/custom/arrow-down-left-from-circle-regular.svg +1 -0
  246. package/dist/genesys-webcomponents/icons/custom/arrow-up-left-from-circle-regular.svg +1 -0
  247. package/dist/genesys-webcomponents/icons/custom/regular-circle-slash.svg +1 -0
  248. package/dist/genesys-webcomponents/icons/fa/rectangle-history-circle-plus-regular.svg +1 -0
  249. package/dist/genesys-webcomponents/{p-8d575443.entry.js → p-012d7e23.entry.js} +1 -1
  250. package/dist/genesys-webcomponents/{p-348715c3.entry.js → p-033103d5.entry.js} +1 -1
  251. package/dist/genesys-webcomponents/{p-c1da4ed7.entry.js → p-04200ec5.entry.js} +1 -1
  252. package/dist/genesys-webcomponents/{p-e26ca17e.entry.js → p-06db2c68.entry.js} +1 -1
  253. package/dist/genesys-webcomponents/{p-7eb24979.entry.js → p-0876bf51.entry.js} +1 -1
  254. package/dist/genesys-webcomponents/{p-41dbcacb.entry.js → p-0bd42b5d.entry.js} +1 -1
  255. package/dist/genesys-webcomponents/{p-5cec8879.entry.js → p-0c2b25f0.entry.js} +1 -1
  256. package/dist/genesys-webcomponents/{p-66443c5e.entry.js → p-0e4da0e9.entry.js} +1 -1
  257. package/dist/genesys-webcomponents/{p-b4d8bb1c.entry.js → p-0eb2598a.entry.js} +1 -1
  258. package/dist/genesys-webcomponents/{p-277a7744.entry.js → p-12c76a09.entry.js} +1 -1
  259. package/dist/genesys-webcomponents/{p-327fe1d0.entry.js → p-13059f4d.entry.js} +1 -1
  260. package/dist/genesys-webcomponents/{p-94450d6f.entry.js → p-13d83331.entry.js} +1 -1
  261. package/dist/genesys-webcomponents/{p-6f9b49e5.entry.js → p-1407bb19.entry.js} +1 -1
  262. package/dist/genesys-webcomponents/{p-10756879.entry.js → p-177b4856.entry.js} +1 -1
  263. package/dist/genesys-webcomponents/{p-d5ef6afd.entry.js → p-187d23d0.entry.js} +1 -1
  264. package/dist/genesys-webcomponents/{p-84691c89.entry.js → p-1aa1c4bc.entry.js} +1 -1
  265. package/dist/genesys-webcomponents/{p-8a8db954.entry.js → p-2102b65a.entry.js} +1 -1
  266. package/dist/genesys-webcomponents/{p-ae7d5a50.entry.js → p-23da3ce0.entry.js} +1 -1
  267. package/dist/genesys-webcomponents/{p-e2e6317e.entry.js → p-27be47b4.entry.js} +1 -1
  268. package/dist/genesys-webcomponents/p-28d8fbc7.entry.js +1 -0
  269. package/dist/genesys-webcomponents/{p-b2f97cda.entry.js → p-2a66ca42.entry.js} +1 -1
  270. package/dist/genesys-webcomponents/{p-e8d7c93e.entry.js → p-2aa74bd8.entry.js} +1 -1
  271. package/dist/genesys-webcomponents/{p-0020d7a5.entry.js → p-2b7d666c.entry.js} +1 -1
  272. package/dist/genesys-webcomponents/{p-3cdd5987.entry.js → p-2c6ae245.entry.js} +1 -1
  273. package/dist/genesys-webcomponents/{p-48a44669.entry.js → p-305c181d.entry.js} +1 -1
  274. package/dist/genesys-webcomponents/{p-a7962e1c.entry.js → p-34cdda22.entry.js} +1 -1
  275. package/dist/genesys-webcomponents/{p-e4964ae5.entry.js → p-38654180.entry.js} +1 -1
  276. package/dist/genesys-webcomponents/{p-eb70b27f.entry.js → p-3a858f1e.entry.js} +1 -1
  277. package/dist/genesys-webcomponents/{p-889f4fad.entry.js → p-3ca4f48f.entry.js} +1 -1
  278. package/dist/genesys-webcomponents/{p-0f163266.entry.js → p-3e829014.entry.js} +1 -1
  279. package/dist/genesys-webcomponents/{p-9f0e33d3.entry.js → p-41245898.entry.js} +1 -1
  280. package/dist/genesys-webcomponents/{p-b9b15892.entry.js → p-418bd033.entry.js} +1 -1
  281. package/dist/genesys-webcomponents/{p-d5342e60.entry.js → p-41d3222c.entry.js} +1 -1
  282. package/dist/genesys-webcomponents/{p-df5f8418.entry.js → p-439b78ee.entry.js} +1 -1
  283. package/dist/genesys-webcomponents/{p-b87bb6c2.entry.js → p-4531080f.entry.js} +1 -1
  284. package/dist/genesys-webcomponents/p-4624c9e5.entry.js +1 -0
  285. package/dist/genesys-webcomponents/{p-50989d8c.entry.js → p-46c3aa61.entry.js} +1 -1
  286. package/dist/genesys-webcomponents/{p-5413f710.entry.js → p-4ebb12c4.entry.js} +1 -1
  287. package/dist/genesys-webcomponents/{p-3285f631.entry.js → p-50c597dd.entry.js} +1 -1
  288. package/dist/genesys-webcomponents/{p-e139d007.entry.js → p-53064d16.entry.js} +1 -1
  289. package/dist/genesys-webcomponents/{p-995ecd83.entry.js → p-56aac2d2.entry.js} +1 -1
  290. package/dist/genesys-webcomponents/{p-32d7c2fb.entry.js → p-58981e3e.entry.js} +1 -1
  291. package/dist/genesys-webcomponents/{p-99f7d9bf.entry.js → p-58cf88e3.entry.js} +1 -1
  292. package/dist/genesys-webcomponents/{p-970cc1b9.entry.js → p-5cb2fd38.entry.js} +1 -1
  293. package/dist/genesys-webcomponents/{p-e0c58680.entry.js → p-60521f58.entry.js} +1 -1
  294. package/dist/genesys-webcomponents/{p-4209e227.entry.js → p-60ad345c.entry.js} +1 -1
  295. package/dist/genesys-webcomponents/{p-708de13b.entry.js → p-63d1d569.entry.js} +1 -1
  296. package/dist/genesys-webcomponents/{p-af3b5b2d.entry.js → p-67207ac6.entry.js} +1 -1
  297. package/dist/genesys-webcomponents/{p-feea16a4.entry.js → p-68b5d001.entry.js} +1 -1
  298. package/dist/genesys-webcomponents/{p-0afe9279.entry.js → p-6b9bfeda.entry.js} +1 -1
  299. package/dist/genesys-webcomponents/{p-12cf1b94.entry.js → p-71f66836.entry.js} +1 -1
  300. package/dist/genesys-webcomponents/{p-54dea468.entry.js → p-7204956c.entry.js} +1 -1
  301. package/dist/genesys-webcomponents/{p-f3c2e212.entry.js → p-7276173e.entry.js} +1 -1
  302. package/dist/genesys-webcomponents/{p-b4293111.entry.js → p-745fe9b9.entry.js} +1 -1
  303. package/dist/genesys-webcomponents/{p-e15f72ff.entry.js → p-74cec570.entry.js} +1 -1
  304. package/dist/genesys-webcomponents/{p-bc0e5b2b.entry.js → p-7a800769.entry.js} +1 -1
  305. package/dist/genesys-webcomponents/{p-3faf9c9d.entry.js → p-7bf1fad0.entry.js} +1 -1
  306. package/dist/genesys-webcomponents/{p-a73b103e.entry.js → p-7c079796.entry.js} +1 -1
  307. package/dist/genesys-webcomponents/{p-51c120df.entry.js → p-7c969f62.entry.js} +1 -1
  308. package/dist/genesys-webcomponents/{p-242fa231.entry.js → p-7d15654d.entry.js} +1 -1
  309. package/dist/genesys-webcomponents/{p-069ae6a6.entry.js → p-82baadb4.entry.js} +1 -1
  310. package/dist/genesys-webcomponents/{p-da9384a2.entry.js → p-82ce168a.entry.js} +1 -1
  311. package/dist/genesys-webcomponents/{p-6fd96c3f.entry.js → p-832d2905.entry.js} +1 -1
  312. package/dist/genesys-webcomponents/{p-0d1dc386.entry.js → p-85f2e08c.entry.js} +1 -1
  313. package/dist/genesys-webcomponents/{p-26f3130e.entry.js → p-87830b56.entry.js} +1 -1
  314. package/dist/genesys-webcomponents/{p-63cd1df5.entry.js → p-8c6fae44.entry.js} +1 -1
  315. package/dist/genesys-webcomponents/{p-1768e785.entry.js → p-8f201649.entry.js} +1 -1
  316. package/dist/genesys-webcomponents/{p-71345ca6.entry.js → p-8f7c8a72.entry.js} +1 -1
  317. package/dist/genesys-webcomponents/{p-f709db1c.entry.js → p-90c886c1.entry.js} +1 -1
  318. package/dist/genesys-webcomponents/{p-9becaf51.entry.js → p-9124a137.entry.js} +1 -1
  319. package/dist/genesys-webcomponents/{p-85d33ab6.entry.js → p-92807564.entry.js} +1 -1
  320. package/dist/genesys-webcomponents/{p-680de1a9.entry.js → p-94fdca27.entry.js} +1 -1
  321. package/dist/genesys-webcomponents/{p-d23c3ee1.entry.js → p-961b3b92.entry.js} +1 -1
  322. package/dist/genesys-webcomponents/p-9887bec9.entry.js +1 -0
  323. package/dist/genesys-webcomponents/{p-d8ca0440.entry.js → p-9b7a1850.entry.js} +1 -1
  324. package/dist/genesys-webcomponents/{p-98424f59.entry.js → p-9e853dd3.entry.js} +1 -1
  325. package/dist/genesys-webcomponents/{p-2aec4f1c.js → p-a1f1fcd4.js} +1 -1
  326. package/dist/genesys-webcomponents/{p-bba9fd19.entry.js → p-a20c9f5d.entry.js} +1 -1
  327. package/dist/genesys-webcomponents/{p-4d82b18d.entry.js → p-a29539f0.entry.js} +1 -1
  328. package/dist/genesys-webcomponents/{p-d8420de7.entry.js → p-a32f84a2.entry.js} +1 -1
  329. package/dist/genesys-webcomponents/{p-26c1bdd8.entry.js → p-a3f7d5c3.entry.js} +1 -1
  330. package/dist/genesys-webcomponents/{p-6d7f5b87.entry.js → p-ad33ae00.entry.js} +1 -1
  331. package/dist/genesys-webcomponents/{p-f9adea76.entry.js → p-b6a18a98.entry.js} +1 -1
  332. package/dist/genesys-webcomponents/{p-4031fb20.entry.js → p-b96d9601.entry.js} +1 -1
  333. package/dist/genesys-webcomponents/{p-c68103cf.entry.js → p-bb6ca9ce.entry.js} +1 -1
  334. package/dist/genesys-webcomponents/{p-ae766e9f.entry.js → p-bb9b5dc0.entry.js} +1 -1
  335. package/dist/genesys-webcomponents/{p-4b86b388.entry.js → p-bed289bc.entry.js} +1 -1
  336. package/dist/genesys-webcomponents/{p-cfddd2c8.entry.js → p-bfd95244.entry.js} +1 -1
  337. package/dist/genesys-webcomponents/{p-6e3b431c.entry.js → p-c5c2baec.entry.js} +1 -1
  338. package/dist/genesys-webcomponents/{p-40fb48ed.entry.js → p-c6424c63.entry.js} +1 -1
  339. package/dist/genesys-webcomponents/{p-601aef08.entry.js → p-c6c9d9e2.entry.js} +1 -1
  340. package/dist/genesys-webcomponents/{p-6a3fe0da.entry.js → p-caab1463.entry.js} +1 -1
  341. package/dist/genesys-webcomponents/{p-4c7fc85e.entry.js → p-cbaa7c07.entry.js} +1 -1
  342. package/dist/genesys-webcomponents/{p-f49a8916.entry.js → p-cc931a7d.entry.js} +1 -1
  343. package/dist/genesys-webcomponents/{p-d35228cc.entry.js → p-cca9d9b3.entry.js} +1 -1
  344. package/dist/genesys-webcomponents/{p-22e14d0b.entry.js → p-cd44dedb.entry.js} +1 -1
  345. package/dist/genesys-webcomponents/{p-cc654c72.entry.js → p-d2c28a73.entry.js} +1 -1
  346. package/dist/genesys-webcomponents/{p-970e4bde.entry.js → p-d3f2e4df.entry.js} +1 -1
  347. package/dist/genesys-webcomponents/{p-42d525f3.entry.js → p-d551ddf5.entry.js} +1 -1
  348. package/dist/genesys-webcomponents/{p-adcb3cd0.entry.js → p-d5aa498e.entry.js} +1 -1
  349. package/dist/genesys-webcomponents/{p-280cc3fe.entry.js → p-d690e6ea.entry.js} +1 -1
  350. package/dist/genesys-webcomponents/{p-c658dc17.entry.js → p-d972f8b3.entry.js} +1 -1
  351. package/dist/genesys-webcomponents/{p-353baf0c.entry.js → p-d9c0e446.entry.js} +1 -1
  352. package/dist/genesys-webcomponents/{p-d1f02ca8.entry.js → p-da80648f.entry.js} +1 -1
  353. package/dist/genesys-webcomponents/{p-fb16c0ee.entry.js → p-dd051a70.entry.js} +1 -1
  354. package/dist/genesys-webcomponents/{p-2ba7d77f.entry.js → p-dded8913.entry.js} +1 -1
  355. package/dist/genesys-webcomponents/{p-66eac515.entry.js → p-e141e2a6.entry.js} +1 -1
  356. package/dist/genesys-webcomponents/{p-ffb5d83b.entry.js → p-e15df140.entry.js} +1 -1
  357. package/dist/genesys-webcomponents/{p-1a980075.entry.js → p-e1b4c800.entry.js} +1 -1
  358. package/dist/genesys-webcomponents/{p-39f28de2.entry.js → p-e68045db.entry.js} +1 -1
  359. package/dist/genesys-webcomponents/{p-a568dda4.entry.js → p-eed148c1.entry.js} +1 -1
  360. package/dist/genesys-webcomponents/{p-7e62728c.entry.js → p-f11cf623.entry.js} +1 -1
  361. package/dist/genesys-webcomponents/{p-09ab62ea.entry.js → p-f262e959.entry.js} +1 -1
  362. package/dist/genesys-webcomponents/{p-81718798.entry.js → p-f4e3fd18.entry.js} +1 -1
  363. package/dist/genesys-webcomponents/{p-1dfbb82e.entry.js → p-fc0e0bda.entry.js} +1 -1
  364. package/dist/genesys-webcomponents/{p-aece6778.entry.js → p-fc169f18.entry.js} +1 -1
  365. package/dist/genesys-webcomponents/{p-36e17845.entry.js → p-ff78cafb.entry.js} +1 -1
  366. package/dist/stencil-wrapper.js +1 -1
  367. package/dist/types/components/stable/gux-icon/gux-icon.types.d.ts +1 -1
  368. package/dist/types/stencil-wrapper.d.ts +1 -1
  369. package/package.json +1 -1
  370. package/dist/genesys-webcomponents/p-6eaf2b23.entry.js +0 -1
  371. package/dist/genesys-webcomponents/p-a604cdca.entry.js +0 -1
  372. package/dist/genesys-webcomponents/p-cd030a82.entry.js +0 -1
  373. /package/dist/cjs/{index.umd-6f5d40bc.js → index.umd-36b56083.js} +0 -0
  374. /package/dist/esm/{index.umd-bb1baaee.js → index.umd-5e6567ff.js} +0 -0
  375. /package/dist/genesys-webcomponents/{p-cf274623.js → p-ba96f885.js} +0 -0
@@ -1 +1 @@
1
- import{r as t,c as e,f as i,h as o,g as s}from"./p-cf74fd3d.js";import{O as n}from"./p-f3d844c7.js";import{b as a}from"./p-e5e644b3.js";import{s as r}from"./p-2c25e2f2.js";import{b as l}from"./p-cf0e7d3b.js";import{t as u}from"./p-2aec4f1c.js";import{O as d}from"./p-946c70b7.js";import{s as g,b as c}from"./p-01ff7495.js";import{h}from"./p-6d8b4027.js";import"./p-4202e9f2.js";const p={filterResults:"Type to filter dropdown results",noSelection:"Select...",dropdown:"Dropdown"};var f=function(t,e,i,o){var s,n=arguments.length,a=n<3?e:null===o?o=Object.getOwnPropertyDescriptor(e,i):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(t,e,i,o);else for(var r=t.length-1;r>=0;r--)(s=t[r])&&(a=(n<3?s(a):n>3?s(e,i,a):s(e,i))||a);return n>3&&a&&Object.defineProperty(e,i,a),a};const x=class{constructor(i){t(this,i),this.guxexpanded=e(this,"guxexpanded",7),this.guxcollapsed=e(this,"guxcollapsed",7),this.required=!1,this.expanded=!1}watchValue(t){this.validateValue(t,this.listboxElement)}onKeydown(t){switch(t.key){case"Escape":return void this.collapseListbox("focusFieldButton");case"Tab":return void this.collapseListbox("noFocusChange");case"ArrowDown":return void(this.activeElementNotListbox()&&(t.preventDefault(),this.expanded=!0,g(this.listboxElement)))}}onInternallistboxoptionsupdated(t){t.stopPropagation(),i(this.root)}onBlur(t){this.stopPropagationOfInternalFocusEvents(t)}onFocus(t){this.stopPropagationOfInternalFocusEvents(t)}onFocusout(t){this.stopPropagationOfInternalFocusEvents(t)}onFocusin(t){this.stopPropagationOfInternalFocusEvents(t)}onClickOutside(){this.collapseListbox("noFocusChange")}onMutation(){var t;this.listboxElement||(this.listboxElement=null===(t=this.root)||void 0===t?void 0:t.querySelector("gux-listbox"),this.applyListboxEventListeners())}onInternalExpanded(t){t.stopPropagation(),this.guxexpanded.emit(),this.listboxElement&&l((()=>{this.listboxElement.focus()}))}onInternalCollapsed(t){t.stopPropagation(),this.guxcollapsed.emit()}connectedCallback(){var t;this.listboxElement=null===(t=this.root)||void 0===t?void 0:t.querySelector("gux-listbox"),this.listboxElement&&this.validateValue(this.value,this.listboxElement)}async componentWillLoad(){u(this.root),this.i18n=await a(this.root,p)}componentDidLoad(){this.applyListboxEventListeners()}componentWillRender(){this.listboxElement&&this.validateValue(this.value,this.listboxElement)}showTooltip(){var t;null===(t=this.truncateElement)||void 0===t||t.setShowTooltip()}hideTooltip(){var t;null===(t=this.truncateElement)||void 0===t||t.setHideTooltip()}validateValue(t,e){void 0!==t?this.getOptionElementByValue(t)&&(e.value=t):e&&(e.value=t)}applyListboxEventListeners(){var t,e;null===(t=this.listboxElement)||void 0===t||t.addEventListener("input",(t=>{t.stopPropagation(),this.updateValue(t.target.value)})),null===(e=this.listboxElement)||void 0===e||e.addEventListener("change",(t=>{t.stopPropagation()}))}stopPropagationOfInternalFocusEvents(t){if(this.root.contains(t.relatedTarget))return t.stopImmediatePropagation()}get optionElements(){return c(this.listboxElement)}getOptionElementByValue(t){return this.optionElements.find((e=>e.value===t))}fieldButtonClick(){this.expanded=!this.expanded}activeElementNotListbox(){return document.activeElement!==this.listboxElement}collapseListbox(t){this.expanded&&(this.expanded=!1),"focusFieldButton"===t&&this.fieldButtonElement.focus()}updateValue(t){this.value!==t&&(this.value=t,r(this.root,"input"),r(this.root,"change")),this.collapseListbox("focusFieldButton")}renderTargetDisplay(){const t=this.getOptionElementByValue(this.value);return t?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);case"gux-option-status-beta":return this.renderStatusOption(t);default:return e}}renderOption(t){let e=t.textContent;if(h(t,"subtext")){const i=t.querySelector("[slot=subtext]");e=e.substring(0,e.length-i.textContent.length)}return 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":!0,"gux-icon-position-end":"end"===t.iconPosition}},o("gux-icon",{"icon-name":t.iconName,style:e,decorative:!0,size:"small"}),o("gux-truncate",{ref:t=>this.truncateElement=t},t.textContent))}renderStatusOption(t){const e=t.textContent;return o("div",{class:"gux-status-indicator"},o("span",{class:`gux-status-icon gux-status-icon-${t.accent}`}),o("div",{class:"gux-status-indicator-text"},e))}renderPopup(){return o("slot",{slot:"popup"})}renderTarget(){return o("div",{class:{"gux-target-container-collapsed":!0},slot:"target"},o("button",{type:"button",class:"gux-field gux-field-button",onClick:this.fieldButtonClick.bind(this),onFocusin:this.showTooltip.bind(this),onFocusout:this.hideTooltip.bind(this),ref:t=>this.fieldButtonElement=t,"aria-haspopup":"listbox","aria-expanded":this.expanded.toString()},this.renderTargetContent(),o("gux-icon",{class:{"gux-expand-icon":!0},"screenreader-text":this.i18n("dropdown"),size:"small",iconName:this.expanded?"custom/chevron-up-small-regular":"custom/chevron-down-small-regular"})))}renderTargetContent(){return o("div",{class:"gux-field-content"},this.renderTargetDisplay())}render(){return o("gux-popup",{key:"6f566a720410ee762c917adc41daddd5270fc70c",expanded:this.expanded,inline:!0},this.renderTarget(),this.renderPopup())}static get delegatesFocus(){return!0}get root(){return s(this)}static get watchers(){return{value:["watchValue"]}}};f([n({triggerEvents:"mousedown"})],x.prototype,"onClickOutside",null),f([d({childList:!0,subtree:!0})],x.prototype,"onMutation",null),x.style=":host{box-sizing:border-box}::slotted(gux-listbox){inline-size:fit-content}.gux-field,.gux-target-container-expanded{all:unset;box-sizing:border-box;display:inline-flex;flex-direction:row;flex-wrap:nowrap;place-content:stretch center;align-items:center;block-size:var(--gse-ui-formControl-input-textfield-height);font-family:var(--gse-ui-dataTableItems-inlineDropdown-label-fontFamily);font-size:var(--gse-ui-dataTableItems-inlineDropdown-label-fontSize);font-weight:var(--gse-ui-dataTableItems-inlineDropdown-label-fontWeight);line-height:var(--gse-ui-dataTableItems-inlineDropdown-label-lineHeight);cursor:pointer;background-color:var(--gse-ui-formControl-input-backgroundColor)}.gux-target-container-expanded,.gux-target-container-collapsed .gux-field{padding-block:4px;padding-inline:8px}.gux-target-container-collapsed .gux-field-button:hover,.gux-target-container-expanded:hover{background-color:var(--gse-ui-dataTableItems-statusIndicator-hover)}.gux-field.gux-input-field{block-size:var(--gse-ui-dataTableItems-inlineDropdown-label-lineHeight)}.gux-field .gux-field-content{--gux-zindex-tooltip:3;display:inline-flex;flex:1 1 0;flex-direction:row;flex-wrap:nowrap;place-content:stretch flex-start;align-items:flex-start;min-inline-size:0;block-size:var(--gse-ui-dataTableItems-inlineDropdown-label-lineHeight)}.gux-field .gux-field-content .gux-filter,.gux-field .gux-field-content .gux-selected-option,.gux-field .gux-field-content .gux-placeholder{flex:1 1 auto;align-self:auto;order:0;padding:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.gux-field .gux-field-content .gux-placeholder{color:var(--gse-ui-dataTableItems-inlineDropdown-text)}.gux-field .gux-expand-icon{flex:0 0 auto;align-self:auto;order:0;padding-inline-start:var(--gse-ui-dataTableItems-inlineDropdown-gap);color:var(--gse-ui-dataTableItems-inlineDropdown-chevron-default)}.gux-target-container-expanded{background-color:var(--gse-ui-dataTableItems-inlineDropdown-active);border-radius:var(--gse-ui-dataTableItems-statusIndicator-borderRadius)}.gux-target-container-expanded:focus-visible{outline:var(--gse-ui-formControl-input-focus-border-width) var(--gse-ui-formControl-input-focus-border-style) var(--gse-ui-formControl-input-focus-border-color);outline-offset:var(--gse-semantic-focusOutline-offset)}.gux-target-container-expanded:focus-within:has(:focus-visible){outline:var(--gse-ui-formControl-input-focus-border-width) var(--gse-ui-formControl-input-focus-border-style) var(--gse-ui-formControl-input-focus-border-color);outline-offset:var(--gse-semantic-focusOutline-offset)}.gux-target-container-expanded .gux-filter-input{background-color:inherit;border:none}.gux-target-container-expanded .gux-filter-input:focus{outline:none;border:none}.gux-target-container-expanded .gux-field-button{inline-size:auto;block-size:var(--gse-ui-dataTableItems-inlineDropdown-label-lineHeight);margin:0;outline:none;background:inherit;border:none;box-shadow:none}.gux-target-container-expanded .gux-field-button:focus{outline:none}.gux-target-container-collapsed .gux-field-button{border-radius:var(--gse-ui-dataTableItems-statusIndicator-borderRadius)}.gux-target-container-collapsed .gux-field-button:focus-visible{outline:var(--gse-ui-formControl-input-focus-border-width) var(--gse-ui-formControl-input-focus-border-style) var(--gse-ui-formControl-input-focus-border-color);outline-offset:var(--gse-semantic-focusOutline-offset)}.gux-target-container-collapsed .gux-field-button:focus-within:has(:focus-visible){outline:var(--gse-ui-formControl-input-focus-border-width) var(--gse-ui-formControl-input-focus-border-style) var(--gse-ui-formControl-input-focus-border-color);outline-offset:var(--gse-semantic-focusOutline-offset)}::slotted(gux-listbox){outline:none;box-shadow:var(--gse-ui-menu-boxShadow)}.gux-selected-icon{display:flex;flex-direction:row;align-items:center}.gux-selected-icon.gux-icon-position-end{flex-direction:row-reverse}.gux-selected-icon gux-icon{padding-inline-end:var(--gse-ui-dataTableItems-inlineDropdown-gap)}.gux-status-indicator{display:inline-flex;gap:var(--gse-ui-dataTableItems-statusIndicator-gap);align-items:center}.gux-status-icon{display:inline-flex}.gux-status-icon::before{content:\"\"}.gux-status-icon-info::before{-webkit-mask-image:url(\"data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12' %3E%3Cpath d='M6 0C7.59 0 9.12 0.629997 10.245 1.755C11.37 2.88 12 4.41 12 6C12 7.59 11.37 9.12 10.245 10.245C9.12 11.37 7.59 12 6 12C4.41 12 2.88 11.37 1.755 10.245C0.629997 9.12 0 7.59 0 6C0 4.41 0.629997 2.88 1.755 1.755C2.88 0.629997 4.41 0 6 0Z' /%3E%3C/svg%3E\");mask-image:url(\"data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12' %3E%3Cpath d='M6 0C7.59 0 9.12 0.629997 10.245 1.755C11.37 2.88 12 4.41 12 6C12 7.59 11.37 9.12 10.245 10.245C9.12 11.37 7.59 12 6 12C4.41 12 2.88 11.37 1.755 10.245C0.629997 9.12 0 7.59 0 6C0 4.41 0.629997 2.88 1.755 1.755C2.88 0.629997 4.41 0 6 0Z' /%3E%3C/svg%3E\");inline-size:var(--gse-ui-dataTableItems-statusIndicator-label-fontSize);block-size:var(--gse-ui-dataTableItems-statusIndicator-label-fontSize);background:var(--gse-ui-statusGlyph-information)}.gux-status-icon-warning::before{inline-size:var(--gse-ui-dataTableItems-statusIndicator-label-fontSize);block-size:var(--gse-ui-dataTableItems-statusIndicator-label-fontSize);-webkit-mask-image:url(\"data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12' %3E%3Cpath d='M6.16516 0.749268C6.49521 0.749268 6.80275 0.921791 6.97527 1.21434L12.0386 9.8407C12.2111 10.1332 12.2111 10.4933 12.0386 10.7783C11.8735 11.0709 11.5585 11.2509 11.2285 11.2509H1.10186C0.764303 11.2509 0.456764 11.0709 0.291738 10.7783C0.126712 10.4858 0.126712 10.1257 0.291738 9.8407L5.35504 1.21434C5.52757 0.929292 5.8276 0.749268 6.16516 0.749268Z' /%3E%3C/svg%3E\");mask-image:url(\"data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12' %3E%3Cpath d='M6.16516 0.749268C6.49521 0.749268 6.80275 0.921791 6.97527 1.21434L12.0386 9.8407C12.2111 10.1332 12.2111 10.4933 12.0386 10.7783C11.8735 11.0709 11.5585 11.2509 11.2285 11.2509H1.10186C0.764303 11.2509 0.456764 11.0709 0.291738 10.7783C0.126712 10.4858 0.126712 10.1257 0.291738 9.8407L5.35504 1.21434C5.52757 0.929292 5.8276 0.749268 6.16516 0.749268Z' /%3E%3C/svg%3E\");background:var(--gse-ui-statusGlyph-neutral)}.gux-status-icon-error::before{inline-size:var(--gse-ui-dataTableItems-statusIndicator-label-fontSize);block-size:var(--gse-ui-dataTableItems-statusIndicator-label-fontSize);-webkit-mask-image:url(\"data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12' %3E%3Cpath d='M0.236102 6.88C-0.0787008 6.33785 -0.0787008 5.66215 0.236102 5.12L2.36477 1.38C2.67957 0.837853 3.24922 0.5 3.87133 0.5H8.12867C8.75078 0.5 9.32043 0.837853 9.63523 1.38L11.7639 5.12C12.0787 5.66215 12.0787 6.33785 11.7639 6.88L9.63523 10.62C9.32043 11.1621 8.75078 11.5 8.12867 11.5H3.87133C3.24922 11.5 2.67957 11.1621 2.36477 10.62L0.236102 6.88Z' /%3E%3C/svg%3E\");mask-image:url(\"data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12' %3E%3Cpath d='M0.236102 6.88C-0.0787008 6.33785 -0.0787008 5.66215 0.236102 5.12L2.36477 1.38C2.67957 0.837853 3.24922 0.5 3.87133 0.5H8.12867C8.75078 0.5 9.32043 0.837853 9.63523 1.38L11.7639 5.12C12.0787 5.66215 12.0787 6.33785 11.7639 6.88L9.63523 10.62C9.32043 11.1621 8.75078 11.5 8.12867 11.5H3.87133C3.24922 11.5 2.67957 11.1621 2.36477 10.62L0.236102 6.88Z' /%3E%3C/svg%3E\");background:var(--gse-ui-statusGlyph-negative)}.gux-status-icon-success::before{inline-size:var(--gse-ui-dataTableItems-statusIndicator-label-fontSize);block-size:var(--gse-ui-dataTableItems-statusIndicator-label-fontSize);-webkit-mask-image:url(\"data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12' %3E%3Cpath d='M6 0C7.59 0 9.12 0.629997 10.245 1.755C11.37 2.88 12 4.41 12 6C12 7.59 11.37 9.12 10.245 10.245C9.12 11.37 7.59 12 6 12C4.41 12 2.88 11.37 1.755 10.245C0.629997 9.12 0 7.59 0 6C0 4.41 0.629997 2.88 1.755 1.755C2.88 0.629997 4.41 0 6 0Z' /%3E%3C/svg%3E\");mask-image:url(\"data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12' %3E%3Cpath d='M6 0C7.59 0 9.12 0.629997 10.245 1.755C11.37 2.88 12 4.41 12 6C12 7.59 11.37 9.12 10.245 10.245C9.12 11.37 7.59 12 6 12C4.41 12 2.88 11.37 1.755 10.245C0.629997 9.12 0 7.59 0 6C0 4.41 0.629997 2.88 1.755 1.755C2.88 0.629997 4.41 0 6 0Z' /%3E%3C/svg%3E\");background:var(--gse-ui-statusGlyph-positive)}";export{x as gux_inline_dropdown_beta}
1
+ import{r as t,c as e,f as i,h as o,g as s}from"./p-cf74fd3d.js";import{O as n}from"./p-f3d844c7.js";import{b as a}from"./p-e5e644b3.js";import{s as r}from"./p-2c25e2f2.js";import{b as l}from"./p-cf0e7d3b.js";import{t as u}from"./p-a1f1fcd4.js";import{O as d}from"./p-946c70b7.js";import{s as g,b as c}from"./p-01ff7495.js";import{h}from"./p-6d8b4027.js";import"./p-4202e9f2.js";const p={filterResults:"Type to filter dropdown results",noSelection:"Select...",dropdown:"Dropdown"};var f=function(t,e,i,o){var s,n=arguments.length,a=n<3?e:null===o?o=Object.getOwnPropertyDescriptor(e,i):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(t,e,i,o);else for(var r=t.length-1;r>=0;r--)(s=t[r])&&(a=(n<3?s(a):n>3?s(e,i,a):s(e,i))||a);return n>3&&a&&Object.defineProperty(e,i,a),a};const x=class{constructor(i){t(this,i),this.guxexpanded=e(this,"guxexpanded",7),this.guxcollapsed=e(this,"guxcollapsed",7),this.required=!1,this.expanded=!1}watchValue(t){this.validateValue(t,this.listboxElement)}onKeydown(t){switch(t.key){case"Escape":return void this.collapseListbox("focusFieldButton");case"Tab":return void this.collapseListbox("noFocusChange");case"ArrowDown":return void(this.activeElementNotListbox()&&(t.preventDefault(),this.expanded=!0,g(this.listboxElement)))}}onInternallistboxoptionsupdated(t){t.stopPropagation(),i(this.root)}onBlur(t){this.stopPropagationOfInternalFocusEvents(t)}onFocus(t){this.stopPropagationOfInternalFocusEvents(t)}onFocusout(t){this.stopPropagationOfInternalFocusEvents(t)}onFocusin(t){this.stopPropagationOfInternalFocusEvents(t)}onClickOutside(){this.collapseListbox("noFocusChange")}onMutation(){var t;this.listboxElement||(this.listboxElement=null===(t=this.root)||void 0===t?void 0:t.querySelector("gux-listbox"),this.applyListboxEventListeners())}onInternalExpanded(t){t.stopPropagation(),this.guxexpanded.emit(),this.listboxElement&&l((()=>{this.listboxElement.focus()}))}onInternalCollapsed(t){t.stopPropagation(),this.guxcollapsed.emit()}connectedCallback(){var t;this.listboxElement=null===(t=this.root)||void 0===t?void 0:t.querySelector("gux-listbox"),this.listboxElement&&this.validateValue(this.value,this.listboxElement)}async componentWillLoad(){u(this.root),this.i18n=await a(this.root,p)}componentDidLoad(){this.applyListboxEventListeners()}componentWillRender(){this.listboxElement&&this.validateValue(this.value,this.listboxElement)}showTooltip(){var t;null===(t=this.truncateElement)||void 0===t||t.setShowTooltip()}hideTooltip(){var t;null===(t=this.truncateElement)||void 0===t||t.setHideTooltip()}validateValue(t,e){void 0!==t?this.getOptionElementByValue(t)&&(e.value=t):e&&(e.value=t)}applyListboxEventListeners(){var t,e;null===(t=this.listboxElement)||void 0===t||t.addEventListener("input",(t=>{t.stopPropagation(),this.updateValue(t.target.value)})),null===(e=this.listboxElement)||void 0===e||e.addEventListener("change",(t=>{t.stopPropagation()}))}stopPropagationOfInternalFocusEvents(t){if(this.root.contains(t.relatedTarget))return t.stopImmediatePropagation()}get optionElements(){return c(this.listboxElement)}getOptionElementByValue(t){return this.optionElements.find((e=>e.value===t))}fieldButtonClick(){this.expanded=!this.expanded}activeElementNotListbox(){return document.activeElement!==this.listboxElement}collapseListbox(t){this.expanded&&(this.expanded=!1),"focusFieldButton"===t&&this.fieldButtonElement.focus()}updateValue(t){this.value!==t&&(this.value=t,r(this.root,"input"),r(this.root,"change")),this.collapseListbox("focusFieldButton")}renderTargetDisplay(){const t=this.getOptionElementByValue(this.value);return t?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);case"gux-option-status-beta":return this.renderStatusOption(t);default:return e}}renderOption(t){let e=t.textContent;if(h(t,"subtext")){const i=t.querySelector("[slot=subtext]");e=e.substring(0,e.length-i.textContent.length)}return 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":!0,"gux-icon-position-end":"end"===t.iconPosition}},o("gux-icon",{"icon-name":t.iconName,style:e,decorative:!0,size:"small"}),o("gux-truncate",{ref:t=>this.truncateElement=t},t.textContent))}renderStatusOption(t){const e=t.textContent;return o("div",{class:"gux-status-indicator"},o("span",{class:`gux-status-icon gux-status-icon-${t.accent}`}),o("div",{class:"gux-status-indicator-text"},e))}renderPopup(){return o("slot",{slot:"popup"})}renderTarget(){return o("div",{class:{"gux-target-container-collapsed":!0},slot:"target"},o("button",{type:"button",class:"gux-field gux-field-button",onClick:this.fieldButtonClick.bind(this),onFocusin:this.showTooltip.bind(this),onFocusout:this.hideTooltip.bind(this),ref:t=>this.fieldButtonElement=t,"aria-haspopup":"listbox","aria-expanded":this.expanded.toString()},this.renderTargetContent(),o("gux-icon",{class:{"gux-expand-icon":!0},"screenreader-text":this.i18n("dropdown"),size:"small",iconName:this.expanded?"custom/chevron-up-small-regular":"custom/chevron-down-small-regular"})))}renderTargetContent(){return o("div",{class:"gux-field-content"},this.renderTargetDisplay())}render(){return o("gux-popup",{key:"6f566a720410ee762c917adc41daddd5270fc70c",expanded:this.expanded,inline:!0},this.renderTarget(),this.renderPopup())}static get delegatesFocus(){return!0}get root(){return s(this)}static get watchers(){return{value:["watchValue"]}}};f([n({triggerEvents:"mousedown"})],x.prototype,"onClickOutside",null),f([d({childList:!0,subtree:!0})],x.prototype,"onMutation",null),x.style=":host{box-sizing:border-box}::slotted(gux-listbox){inline-size:fit-content}.gux-field,.gux-target-container-expanded{all:unset;box-sizing:border-box;display:inline-flex;flex-direction:row;flex-wrap:nowrap;place-content:stretch center;align-items:center;block-size:var(--gse-ui-formControl-input-textfield-height);font-family:var(--gse-ui-dataTableItems-inlineDropdown-label-fontFamily);font-size:var(--gse-ui-dataTableItems-inlineDropdown-label-fontSize);font-weight:var(--gse-ui-dataTableItems-inlineDropdown-label-fontWeight);line-height:var(--gse-ui-dataTableItems-inlineDropdown-label-lineHeight);cursor:pointer;background-color:var(--gse-ui-formControl-input-backgroundColor)}.gux-target-container-expanded,.gux-target-container-collapsed .gux-field{padding-block:4px;padding-inline:8px}.gux-target-container-collapsed .gux-field-button:hover,.gux-target-container-expanded:hover{background-color:var(--gse-ui-dataTableItems-statusIndicator-hover)}.gux-field.gux-input-field{block-size:var(--gse-ui-dataTableItems-inlineDropdown-label-lineHeight)}.gux-field .gux-field-content{--gux-zindex-tooltip:3;display:inline-flex;flex:1 1 0;flex-direction:row;flex-wrap:nowrap;place-content:stretch flex-start;align-items:flex-start;min-inline-size:0;block-size:var(--gse-ui-dataTableItems-inlineDropdown-label-lineHeight)}.gux-field .gux-field-content .gux-filter,.gux-field .gux-field-content .gux-selected-option,.gux-field .gux-field-content .gux-placeholder{flex:1 1 auto;align-self:auto;order:0;padding:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.gux-field .gux-field-content .gux-placeholder{color:var(--gse-ui-dataTableItems-inlineDropdown-text)}.gux-field .gux-expand-icon{flex:0 0 auto;align-self:auto;order:0;padding-inline-start:var(--gse-ui-dataTableItems-inlineDropdown-gap);color:var(--gse-ui-dataTableItems-inlineDropdown-chevron-default)}.gux-target-container-expanded{background-color:var(--gse-ui-dataTableItems-inlineDropdown-active);border-radius:var(--gse-ui-dataTableItems-statusIndicator-borderRadius)}.gux-target-container-expanded:focus-visible{outline:var(--gse-ui-formControl-input-focus-border-width) var(--gse-ui-formControl-input-focus-border-style) var(--gse-ui-formControl-input-focus-border-color);outline-offset:var(--gse-semantic-focusOutline-offset)}.gux-target-container-expanded:focus-within:has(:focus-visible){outline:var(--gse-ui-formControl-input-focus-border-width) var(--gse-ui-formControl-input-focus-border-style) var(--gse-ui-formControl-input-focus-border-color);outline-offset:var(--gse-semantic-focusOutline-offset)}.gux-target-container-expanded .gux-filter-input{background-color:inherit;border:none}.gux-target-container-expanded .gux-filter-input:focus{outline:none;border:none}.gux-target-container-expanded .gux-field-button{inline-size:auto;block-size:var(--gse-ui-dataTableItems-inlineDropdown-label-lineHeight);margin:0;outline:none;background:inherit;border:none;box-shadow:none}.gux-target-container-expanded .gux-field-button:focus{outline:none}.gux-target-container-collapsed .gux-field-button{border-radius:var(--gse-ui-dataTableItems-statusIndicator-borderRadius)}.gux-target-container-collapsed .gux-field-button:focus-visible{outline:var(--gse-ui-formControl-input-focus-border-width) var(--gse-ui-formControl-input-focus-border-style) var(--gse-ui-formControl-input-focus-border-color);outline-offset:var(--gse-semantic-focusOutline-offset)}.gux-target-container-collapsed .gux-field-button:focus-within:has(:focus-visible){outline:var(--gse-ui-formControl-input-focus-border-width) var(--gse-ui-formControl-input-focus-border-style) var(--gse-ui-formControl-input-focus-border-color);outline-offset:var(--gse-semantic-focusOutline-offset)}::slotted(gux-listbox){outline:none;box-shadow:var(--gse-ui-menu-boxShadow)}.gux-selected-icon{display:flex;flex-direction:row;align-items:center}.gux-selected-icon.gux-icon-position-end{flex-direction:row-reverse}.gux-selected-icon gux-icon{padding-inline-end:var(--gse-ui-dataTableItems-inlineDropdown-gap)}.gux-status-indicator{display:inline-flex;gap:var(--gse-ui-dataTableItems-statusIndicator-gap);align-items:center}.gux-status-icon{display:inline-flex}.gux-status-icon::before{content:\"\"}.gux-status-icon-info::before{-webkit-mask-image:url(\"data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12' %3E%3Cpath d='M6 0C7.59 0 9.12 0.629997 10.245 1.755C11.37 2.88 12 4.41 12 6C12 7.59 11.37 9.12 10.245 10.245C9.12 11.37 7.59 12 6 12C4.41 12 2.88 11.37 1.755 10.245C0.629997 9.12 0 7.59 0 6C0 4.41 0.629997 2.88 1.755 1.755C2.88 0.629997 4.41 0 6 0Z' /%3E%3C/svg%3E\");mask-image:url(\"data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12' %3E%3Cpath d='M6 0C7.59 0 9.12 0.629997 10.245 1.755C11.37 2.88 12 4.41 12 6C12 7.59 11.37 9.12 10.245 10.245C9.12 11.37 7.59 12 6 12C4.41 12 2.88 11.37 1.755 10.245C0.629997 9.12 0 7.59 0 6C0 4.41 0.629997 2.88 1.755 1.755C2.88 0.629997 4.41 0 6 0Z' /%3E%3C/svg%3E\");inline-size:var(--gse-ui-dataTableItems-statusIndicator-label-fontSize);block-size:var(--gse-ui-dataTableItems-statusIndicator-label-fontSize);background:var(--gse-ui-statusGlyph-information)}.gux-status-icon-warning::before{inline-size:var(--gse-ui-dataTableItems-statusIndicator-label-fontSize);block-size:var(--gse-ui-dataTableItems-statusIndicator-label-fontSize);-webkit-mask-image:url(\"data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12' %3E%3Cpath d='M6.16516 0.749268C6.49521 0.749268 6.80275 0.921791 6.97527 1.21434L12.0386 9.8407C12.2111 10.1332 12.2111 10.4933 12.0386 10.7783C11.8735 11.0709 11.5585 11.2509 11.2285 11.2509H1.10186C0.764303 11.2509 0.456764 11.0709 0.291738 10.7783C0.126712 10.4858 0.126712 10.1257 0.291738 9.8407L5.35504 1.21434C5.52757 0.929292 5.8276 0.749268 6.16516 0.749268Z' /%3E%3C/svg%3E\");mask-image:url(\"data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12' %3E%3Cpath d='M6.16516 0.749268C6.49521 0.749268 6.80275 0.921791 6.97527 1.21434L12.0386 9.8407C12.2111 10.1332 12.2111 10.4933 12.0386 10.7783C11.8735 11.0709 11.5585 11.2509 11.2285 11.2509H1.10186C0.764303 11.2509 0.456764 11.0709 0.291738 10.7783C0.126712 10.4858 0.126712 10.1257 0.291738 9.8407L5.35504 1.21434C5.52757 0.929292 5.8276 0.749268 6.16516 0.749268Z' /%3E%3C/svg%3E\");background:var(--gse-ui-statusGlyph-neutral)}.gux-status-icon-error::before{inline-size:var(--gse-ui-dataTableItems-statusIndicator-label-fontSize);block-size:var(--gse-ui-dataTableItems-statusIndicator-label-fontSize);-webkit-mask-image:url(\"data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12' %3E%3Cpath d='M0.236102 6.88C-0.0787008 6.33785 -0.0787008 5.66215 0.236102 5.12L2.36477 1.38C2.67957 0.837853 3.24922 0.5 3.87133 0.5H8.12867C8.75078 0.5 9.32043 0.837853 9.63523 1.38L11.7639 5.12C12.0787 5.66215 12.0787 6.33785 11.7639 6.88L9.63523 10.62C9.32043 11.1621 8.75078 11.5 8.12867 11.5H3.87133C3.24922 11.5 2.67957 11.1621 2.36477 10.62L0.236102 6.88Z' /%3E%3C/svg%3E\");mask-image:url(\"data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12' %3E%3Cpath d='M0.236102 6.88C-0.0787008 6.33785 -0.0787008 5.66215 0.236102 5.12L2.36477 1.38C2.67957 0.837853 3.24922 0.5 3.87133 0.5H8.12867C8.75078 0.5 9.32043 0.837853 9.63523 1.38L11.7639 5.12C12.0787 5.66215 12.0787 6.33785 11.7639 6.88L9.63523 10.62C9.32043 11.1621 8.75078 11.5 8.12867 11.5H3.87133C3.24922 11.5 2.67957 11.1621 2.36477 10.62L0.236102 6.88Z' /%3E%3C/svg%3E\");background:var(--gse-ui-statusGlyph-negative)}.gux-status-icon-success::before{inline-size:var(--gse-ui-dataTableItems-statusIndicator-label-fontSize);block-size:var(--gse-ui-dataTableItems-statusIndicator-label-fontSize);-webkit-mask-image:url(\"data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12' %3E%3Cpath d='M6 0C7.59 0 9.12 0.629997 10.245 1.755C11.37 2.88 12 4.41 12 6C12 7.59 11.37 9.12 10.245 10.245C9.12 11.37 7.59 12 6 12C4.41 12 2.88 11.37 1.755 10.245C0.629997 9.12 0 7.59 0 6C0 4.41 0.629997 2.88 1.755 1.755C2.88 0.629997 4.41 0 6 0Z' /%3E%3C/svg%3E\");mask-image:url(\"data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12' %3E%3Cpath d='M6 0C7.59 0 9.12 0.629997 10.245 1.755C11.37 2.88 12 4.41 12 6C12 7.59 11.37 9.12 10.245 10.245C9.12 11.37 7.59 12 6 12C4.41 12 2.88 11.37 1.755 10.245C0.629997 9.12 0 7.59 0 6C0 4.41 0.629997 2.88 1.755 1.755C2.88 0.629997 4.41 0 6 0Z' /%3E%3C/svg%3E\");background:var(--gse-ui-statusGlyph-positive)}";export{x as gux_inline_dropdown_beta}
@@ -1 +1 @@
1
- import{r as o,h as t,g as e,c as r}from"./p-cf74fd3d.js";import{t as i}from"./p-2aec4f1c.js";import{r as n}from"./p-0934300e.js";import{a,c as s,o as u,f as l,s as d,b as c}from"./p-864af39c.js";import{O as g}from"./p-f3d844c7.js";import{g as b}from"./p-89657908.js";import{f as h}from"./p-9b0d3713.js";const p=class{constructor(t){o(this,t),this.buttonId=n("button"),this.type="button",this.disabled=!1,this.accent="secondary",this.autofocus=!1}connectedCallback(){this.slotChanged()}componentWillLoad(){i(this.root,{variant:this.accent})}render(){return[t("button",{key:"0affca8740033516c6999453f8911af97b74ac6b",id:this.buttonId,type:this.type,disabled:this.disabled,class:{[`gux-${this.accent}`]:!0,"gux-icon-only":this.iconOnly},"aria-label":this.guxTitle,autofocus:this.autofocus},t("slot",{key:"35600b8801921ec77c9bd5e7728f0b457188ab65",onSlotchange:this.slotChanged.bind(this)})),this.renderTooltip()]}renderTooltip(){return this.guxTitle?t("gux-tooltip-beta",{for:this.buttonId,visualOnly:!0},t("div",{slot:"content"},this.guxTitle)):""}stopEventIfDisabled(o){this.disabled&&(o.stopImmediatePropagation(),o.stopPropagation(),o.preventDefault())}makeSlotContentDisableable(){this.root.shadowRoot.addEventListener("click",(o=>this.stopEventIfDisabled(o))),Array.from(this.root.children).forEach((o=>{o.addEventListener("click",(o=>this.stopEventIfDisabled(o)))}))}hasIconOnly(){const o=Array.from(this.root.children);if(1===o.length){if("GUX-ICON"===o[0].tagName)return!0}else if(2===o.length&&"GUX-ICON"===o[0].tagName&&["GUX-TOOLTIP","GUX-TOOLTIP-BETA"].includes(o[1].tagName))return!0;return!1}slotChanged(){this.makeSlotContentDisableable(),this.iconOnly=this.hasIconOnly()}static get delegatesFocus(){return!0}get root(){return e(this)}};p.style=":host{display:inline-block;pointer-events:none;-webkit-user-select:none;user-select:none}:host(:focus){outline:none}:host(:focus) button{outline:none}::slotted(gux-icon){inline-size:var(--gse-ui-button-icon-size);block-size:var(--gse-ui-button-icon-size)}::slotted(*){padding-inline-start:var(--gse-ui-button-gap);vertical-align:middle}::slotted(gux-tooltip),::slotted(gux-tooltip-beta){padding-inline-start:0}::slotted(*:first-child){padding:0}button{font-family:var(--gse-ui-button-text-fontFamily);font-size:var(--gse-ui-button-text-fontSize);font-weight:var(--gse-ui-button-text-fontWeight);line-height:var(--gse-ui-button-text-lineHeight);inline-size:100%;min-inline-size:var(--gse-ui-button-iconOnly-width);block-size:var(--gse-ui-button-default-height);padding:var(--gse-ui-button-default-padding);overflow:hidden;text-overflow:ellipsis;color:var(--gse-ui-button-secondary-default-foregroundColor);white-space:nowrap;pointer-events:auto;cursor:pointer;background-color:var(--gse-ui-button-secondary-default-backgroundColor);border:none;border-radius:var(--gse-ui-button-borderRadius)}button.gux-icon-only{display:inline-flex;padding:var(--gse-ui-button-default-paddingIconOnly)}button[disabled]{pointer-events:none;cursor:default;opacity:var(--gse-ui-button-disabled-opacity)}button:hover:enabled{color:var(--gse-ui-button-secondary-hover-foregroundColor);background-color:var(--gse-ui-button-secondary-hover-backgroundColor)}button:active:enabled{color:var(--gse-ui-button-secondary-active-foregroundColor);background-color:var(--gse-ui-button-secondary-active-backgroundColor)}button:focus-visible:enabled{outline:var(--gse-semantic-focusOutline-md-borderWidth) solid var(--gse-semantic-border-focus);outline-offset:var(--gse-semantic-focusOutline-offset);border-radius:var(--gse-semantic-focusOutline-sm-borderRadius)}button.gux-primary{color:var(--gse-ui-button-primary-default-foregroundColor);background-color:var(--gse-ui-button-primary-default-backgroundColor)}button.gux-primary:hover:enabled{color:var(--gse-ui-button-primary-hover-foregroundColor);background-color:var(--gse-ui-button-primary-hover-backgroundColor)}button.gux-primary:active:enabled{color:var(--gse-ui-button-primary-active-foregroundColor);background-color:var(--gse-ui-button-primary-active-backgroundColor)}button.gux-tertiary{color:var(--gse-ui-button-tertiary-default-foregroundColor);background-color:var(--gse-ui-button-tertiary-default-backgroundColor);border-color:var(--gse-ui-button-tertiary-default-border-color);border-style:var(--gse-ui-button-tertiary-default-border-style);border-width:var(--gse-ui-button-tertiary-default-border-width);}button.gux-tertiary.gux-icon-only{padding:calc(var(--gse-ui-button-default-paddingIconOnly) - var(--gse-ui-button-tertiary-default-border-width))}button.gux-tertiary:hover:enabled{color:var(--gse-ui-button-tertiary-hover-foregroundColor);background-color:var(--gse-ui-button-tertiary-hover-backgroundColor)}button.gux-tertiary:active:enabled{color:var(--gse-ui-button-tertiary-active-foregroundColor);background-color:var(--gse-ui-button-tertiary-active-backgroundColor)}button.gux-ghost{color:var(--gse-ui-button-ghost-default-foregroundColor);background-color:var(--gse-ui-button-ghost-default-backgroundColor)}button.gux-ghost:hover:enabled{color:var(--gse-ui-button-ghost-hover-foregroundColor);background-color:var(--gse-ui-button-ghost-hover-backgroundColor)}button.gux-ghost:active:enabled{color:var(--gse-ui-button-ghost-active-foregroundColor);background-color:var(--gse-ui-button-ghost-active-backgroundColor)}button.gux-danger{color:var(--gse-ui-button-danger-default-foregroundColor);background-color:var(--gse-ui-button-danger-default-backgroundColor)}button.gux-danger:hover:enabled{color:var(--gse-ui-button-danger-hover-foregroundColor);background-color:var(--gse-ui-button-danger-hover-backgroundColor)}button.gux-danger:active:enabled{color:var(--gse-ui-button-danger-active-foregroundColor);background-color:var(--gse-ui-button-danger-active-backgroundColor)}button.gux-inline{min-inline-size:initial;block-size:initial;padding:0;color:var(--gse-ui-links-default-foregroundColor);background:none;border:none;border-radius:0}button.gux-inline[disabled]{color:var(--gse-ui-links-disabled-foregroundColor)}button.gux-inline:hover:enabled{color:var(--gse-ui-links-hover-foregroundColor);text-decoration:underline;background:none}button.gux-inline:active:enabled{color:var(--gse-ui-links-active-foregroundColor);text-decoration:underline;background:none}";var v=function(o,t,e,r){var i,n=arguments.length,a=n<3?t:null===r?r=Object.getOwnPropertyDescriptor(t,e):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(o,t,e,r);else for(var s=o.length-1;s>=0;s--)(i=o[s])&&(a=(n<3?i(a):n>3?i(t,e,a):i(t,e))||a);return n>3&&a&&Object.defineProperty(t,e,a),a};const f=class{constructor(t){o(this,t),this.guxdismiss=r(this,"guxdismiss",7),this.position="bottom",this.displayDismissButton=!1,this.closeOnClickOutside=!1,this.isOpen=!1}onKeyDown(o){"Escape"===o.key&&this.dismiss()}onFocusout(o){!this.closeOnClickOutside&&this.displayDismissButton||o.relatedTarget&&!this.root.contains(o.relatedTarget)&&this.dismiss()}checkForClickOutside(o){const t=o.composedPath(),e=h(this.root,this.for),r=t.includes(e);!this.closeOnClickOutside&&this.displayDismissButton||!this.isOpen||r||this.dismiss()}get titleSlot(){return b(this.root,"title")}runUpdatePosition(){this.root.isConnected?this.cleanupUpdatePosition=a(h(this.root,this.for),this.popupElement,(()=>this.updatePosition()),{ancestorScroll:!0,elementResize:!0,animationFrame:!0,ancestorResize:!0}):this.disconnectedCallback()}updatePosition(){const o=h(this.root,this.for);this.popupElement&&o&&s(o,this.popupElement,{placement:this.position,middleware:[u(7),l(),d(),c({element:this.arrowElement,padding:16})]}).then((({x:o,y:t,middlewareData:e,placement:r})=>{Object.assign(this.popupElement.style,{left:`${o}px`,top:`${t}px`});const i=r.split("-")[0],n={top:"bottom",right:"left",bottom:"top",left:"right"}[i],a={top:0,right:90,bottom:180,left:-90}[i],s="left"===i||"right"===i?15:13;if(e.arrow){let o=e.arrow.x;const t=e.arrow.y;"left"!==i&&"right"!==i||(o+=4),this.popupElement.setAttribute("data-placement",r),Object.assign(this.arrowElement.style,{left:null!=o?`${o}px`:"",top:null!=t?`${t}px`:"",right:"",bottom:"",[n]:-s+"px",transform:`rotate(${a}deg)`})}}))}dismiss(){this.guxdismiss.emit().defaultPrevented||(this.isOpen=!1)}connectedCallback(){i(this.root,{variant:this.position})}componentDidLoad(){this.isOpen&&this.runUpdatePosition()}componentDidUpdate(){this.isOpen?this.runUpdatePosition():this.cleanupUpdatePosition&&this.cleanupUpdatePosition()}disconnectedCallback(){this.cleanupUpdatePosition&&this.cleanupUpdatePosition()}render(){return t("div",{key:"1202fc3707ac38dec035ebf8522f36275103fe91",ref:o=>this.popupElement=o,class:{"gux-hidden":!this.isOpen,"gux-popover-wrapper":!0},"data-placement":!0},t("div",{key:"b28dec496bcb4b2cbd169f4fef080438eafac634",ref:o=>this.arrowElement=o,class:"gux-arrow"},t("div",{key:"59261d1aa75d9c932ccade7e9217bf98d7292007",class:"gux-arrow-caret"})),this.displayDismissButton&&t("gux-dismiss-button",{key:"9328bb10a746be8c106ff7a9fc76544e4e8b6bb0",onClick:this.dismiss.bind(this)}),t("div",{key:"7e0c2e755b05052f2c59b1aa402763240a798ece",class:{"gux-popover-header":Boolean(this.titleSlot)}},t("slot",{key:"b611659e7c1ff318dee1986818d05655a23114c3",name:"title"})),t("div",{key:"f345838da2e098b7aaa02e17b660ab00cdf70e85",class:"gux-popover-content"},t("slot",{key:"f9cf8ea36396ca69a2b95cb85fe765d4d725e907"})))}get root(){return e(this)}};v([g({triggerEvents:"mousedown"})],f.prototype,"checkForClickOutside",null),v([function(){let o=!1,t=null;return(e,r,i)=>{const n=i.value;i.value=function(...e){o||(n.apply(this,e),o=!0,clearTimeout(t),t=setTimeout((()=>{o=!1}),100))}}}()],f.prototype,"dismiss",null),f.style=".gux-popover-wrapper{position:absolute;inset-block-start:0;inset-inline-start:0;z-index:var(--gse-semantic-zIndex-popover);display:inline-block;padding:var(--gse-ui-popover-padding);background-color:var(--gse-ui-popover-backgroundColor);border-radius:var(--gse-ui-popover-borderRadius);box-shadow:var(--gse-ui-popover-boxShadow)}.gux-popover-wrapper.gux-hidden{display:none}.gux-popover-wrapper .gux-arrow{position:absolute;inline-size:var(--gse-ui-popover-anchor-width);block-size:var(--gse-ui-popover-anchor-height);padding-block-end:4px;overflow:hidden}.gux-popover-wrapper .gux-arrow-caret{inline-size:0;block-size:0;border-block-start:calc(var(--gse-ui-popover-anchor-width) / 2) solid var(--gse-ui-popover-backgroundColor);border-inline-start:calc(var(--gse-ui-popover-anchor-width) / 2) solid transparent;border-inline-end:calc(var(--gse-ui-popover-anchor-width) / 2) solid transparent;filter:drop-shadow(0 0 4px var(--gse-semantic-effects-boxShadow))}.gux-popover-wrapper .gux-popover-header{display:flex;flex-direction:row;place-content:center space-between;align-items:center;padding-block-end:var(--gse-ui-popover-gap);font-family:var(--gse-ui-popover-title-text-fontFamily);font-size:var(--gse-ui-popover-title-text-fontSize);font-weight:var(--gse-ui-popover-title-text-fontWeight);line-height:var(--gse-ui-popover-title-text-lineHeight);color:var(--gse-ui-popover-headerColor)}";export{p as gux_button,f as gux_popover}
1
+ import{r as o,h as t,g as e,c as r}from"./p-cf74fd3d.js";import{t as i}from"./p-a1f1fcd4.js";import{r as n}from"./p-0934300e.js";import{a,c as s,o as u,f as l,s as d,b as c}from"./p-864af39c.js";import{O as g}from"./p-f3d844c7.js";import{g as b}from"./p-89657908.js";import{f as h}from"./p-9b0d3713.js";const p=class{constructor(t){o(this,t),this.buttonId=n("button"),this.type="button",this.disabled=!1,this.accent="secondary",this.autofocus=!1}connectedCallback(){this.slotChanged()}componentWillLoad(){i(this.root,{variant:this.accent})}render(){return[t("button",{key:"0affca8740033516c6999453f8911af97b74ac6b",id:this.buttonId,type:this.type,disabled:this.disabled,class:{[`gux-${this.accent}`]:!0,"gux-icon-only":this.iconOnly},"aria-label":this.guxTitle,autofocus:this.autofocus},t("slot",{key:"35600b8801921ec77c9bd5e7728f0b457188ab65",onSlotchange:this.slotChanged.bind(this)})),this.renderTooltip()]}renderTooltip(){return this.guxTitle?t("gux-tooltip-beta",{for:this.buttonId,visualOnly:!0},t("div",{slot:"content"},this.guxTitle)):""}stopEventIfDisabled(o){this.disabled&&(o.stopImmediatePropagation(),o.stopPropagation(),o.preventDefault())}makeSlotContentDisableable(){this.root.shadowRoot.addEventListener("click",(o=>this.stopEventIfDisabled(o))),Array.from(this.root.children).forEach((o=>{o.addEventListener("click",(o=>this.stopEventIfDisabled(o)))}))}hasIconOnly(){const o=Array.from(this.root.children);if(1===o.length){if("GUX-ICON"===o[0].tagName)return!0}else if(2===o.length&&"GUX-ICON"===o[0].tagName&&["GUX-TOOLTIP","GUX-TOOLTIP-BETA"].includes(o[1].tagName))return!0;return!1}slotChanged(){this.makeSlotContentDisableable(),this.iconOnly=this.hasIconOnly()}static get delegatesFocus(){return!0}get root(){return e(this)}};p.style=":host{display:inline-block;pointer-events:none;-webkit-user-select:none;user-select:none}:host(:focus){outline:none}:host(:focus) button{outline:none}::slotted(gux-icon){inline-size:var(--gse-ui-button-icon-size);block-size:var(--gse-ui-button-icon-size)}::slotted(*){padding-inline-start:var(--gse-ui-button-gap);vertical-align:middle}::slotted(gux-tooltip),::slotted(gux-tooltip-beta){padding-inline-start:0}::slotted(*:first-child){padding:0}button{font-family:var(--gse-ui-button-text-fontFamily);font-size:var(--gse-ui-button-text-fontSize);font-weight:var(--gse-ui-button-text-fontWeight);line-height:var(--gse-ui-button-text-lineHeight);inline-size:100%;min-inline-size:var(--gse-ui-button-iconOnly-width);block-size:var(--gse-ui-button-default-height);padding:var(--gse-ui-button-default-padding);overflow:hidden;text-overflow:ellipsis;color:var(--gse-ui-button-secondary-default-foregroundColor);white-space:nowrap;pointer-events:auto;cursor:pointer;background-color:var(--gse-ui-button-secondary-default-backgroundColor);border:none;border-radius:var(--gse-ui-button-borderRadius)}button.gux-icon-only{display:inline-flex;padding:var(--gse-ui-button-default-paddingIconOnly)}button[disabled]{pointer-events:none;cursor:default;opacity:var(--gse-ui-button-disabled-opacity)}button:hover:enabled{color:var(--gse-ui-button-secondary-hover-foregroundColor);background-color:var(--gse-ui-button-secondary-hover-backgroundColor)}button:active:enabled{color:var(--gse-ui-button-secondary-active-foregroundColor);background-color:var(--gse-ui-button-secondary-active-backgroundColor)}button:focus-visible:enabled{outline:var(--gse-semantic-focusOutline-md-borderWidth) solid var(--gse-semantic-border-focus);outline-offset:var(--gse-semantic-focusOutline-offset);border-radius:var(--gse-semantic-focusOutline-sm-borderRadius)}button.gux-primary{color:var(--gse-ui-button-primary-default-foregroundColor);background-color:var(--gse-ui-button-primary-default-backgroundColor)}button.gux-primary:hover:enabled{color:var(--gse-ui-button-primary-hover-foregroundColor);background-color:var(--gse-ui-button-primary-hover-backgroundColor)}button.gux-primary:active:enabled{color:var(--gse-ui-button-primary-active-foregroundColor);background-color:var(--gse-ui-button-primary-active-backgroundColor)}button.gux-tertiary{color:var(--gse-ui-button-tertiary-default-foregroundColor);background-color:var(--gse-ui-button-tertiary-default-backgroundColor);border-color:var(--gse-ui-button-tertiary-default-border-color);border-style:var(--gse-ui-button-tertiary-default-border-style);border-width:var(--gse-ui-button-tertiary-default-border-width);}button.gux-tertiary.gux-icon-only{padding:calc(var(--gse-ui-button-default-paddingIconOnly) - var(--gse-ui-button-tertiary-default-border-width))}button.gux-tertiary:hover:enabled{color:var(--gse-ui-button-tertiary-hover-foregroundColor);background-color:var(--gse-ui-button-tertiary-hover-backgroundColor)}button.gux-tertiary:active:enabled{color:var(--gse-ui-button-tertiary-active-foregroundColor);background-color:var(--gse-ui-button-tertiary-active-backgroundColor)}button.gux-ghost{color:var(--gse-ui-button-ghost-default-foregroundColor);background-color:var(--gse-ui-button-ghost-default-backgroundColor)}button.gux-ghost:hover:enabled{color:var(--gse-ui-button-ghost-hover-foregroundColor);background-color:var(--gse-ui-button-ghost-hover-backgroundColor)}button.gux-ghost:active:enabled{color:var(--gse-ui-button-ghost-active-foregroundColor);background-color:var(--gse-ui-button-ghost-active-backgroundColor)}button.gux-danger{color:var(--gse-ui-button-danger-default-foregroundColor);background-color:var(--gse-ui-button-danger-default-backgroundColor)}button.gux-danger:hover:enabled{color:var(--gse-ui-button-danger-hover-foregroundColor);background-color:var(--gse-ui-button-danger-hover-backgroundColor)}button.gux-danger:active:enabled{color:var(--gse-ui-button-danger-active-foregroundColor);background-color:var(--gse-ui-button-danger-active-backgroundColor)}button.gux-inline{min-inline-size:initial;block-size:initial;padding:0;color:var(--gse-ui-links-default-foregroundColor);background:none;border:none;border-radius:0}button.gux-inline[disabled]{color:var(--gse-ui-links-disabled-foregroundColor)}button.gux-inline:hover:enabled{color:var(--gse-ui-links-hover-foregroundColor);text-decoration:underline;background:none}button.gux-inline:active:enabled{color:var(--gse-ui-links-active-foregroundColor);text-decoration:underline;background:none}";var v=function(o,t,e,r){var i,n=arguments.length,a=n<3?t:null===r?r=Object.getOwnPropertyDescriptor(t,e):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(o,t,e,r);else for(var s=o.length-1;s>=0;s--)(i=o[s])&&(a=(n<3?i(a):n>3?i(t,e,a):i(t,e))||a);return n>3&&a&&Object.defineProperty(t,e,a),a};const f=class{constructor(t){o(this,t),this.guxdismiss=r(this,"guxdismiss",7),this.position="bottom",this.displayDismissButton=!1,this.closeOnClickOutside=!1,this.isOpen=!1}onKeyDown(o){"Escape"===o.key&&this.dismiss()}onFocusout(o){!this.closeOnClickOutside&&this.displayDismissButton||o.relatedTarget&&!this.root.contains(o.relatedTarget)&&this.dismiss()}checkForClickOutside(o){const t=o.composedPath(),e=h(this.root,this.for),r=t.includes(e);!this.closeOnClickOutside&&this.displayDismissButton||!this.isOpen||r||this.dismiss()}get titleSlot(){return b(this.root,"title")}runUpdatePosition(){this.root.isConnected?this.cleanupUpdatePosition=a(h(this.root,this.for),this.popupElement,(()=>this.updatePosition()),{ancestorScroll:!0,elementResize:!0,animationFrame:!0,ancestorResize:!0}):this.disconnectedCallback()}updatePosition(){const o=h(this.root,this.for);this.popupElement&&o&&s(o,this.popupElement,{placement:this.position,middleware:[u(7),l(),d(),c({element:this.arrowElement,padding:16})]}).then((({x:o,y:t,middlewareData:e,placement:r})=>{Object.assign(this.popupElement.style,{left:`${o}px`,top:`${t}px`});const i=r.split("-")[0],n={top:"bottom",right:"left",bottom:"top",left:"right"}[i],a={top:0,right:90,bottom:180,left:-90}[i],s="left"===i||"right"===i?15:13;if(e.arrow){let o=e.arrow.x;const t=e.arrow.y;"left"!==i&&"right"!==i||(o+=4),this.popupElement.setAttribute("data-placement",r),Object.assign(this.arrowElement.style,{left:null!=o?`${o}px`:"",top:null!=t?`${t}px`:"",right:"",bottom:"",[n]:-s+"px",transform:`rotate(${a}deg)`})}}))}dismiss(){this.guxdismiss.emit().defaultPrevented||(this.isOpen=!1)}connectedCallback(){i(this.root,{variant:this.position})}componentDidLoad(){this.isOpen&&this.runUpdatePosition()}componentDidUpdate(){this.isOpen?this.runUpdatePosition():this.cleanupUpdatePosition&&this.cleanupUpdatePosition()}disconnectedCallback(){this.cleanupUpdatePosition&&this.cleanupUpdatePosition()}render(){return t("div",{key:"1202fc3707ac38dec035ebf8522f36275103fe91",ref:o=>this.popupElement=o,class:{"gux-hidden":!this.isOpen,"gux-popover-wrapper":!0},"data-placement":!0},t("div",{key:"b28dec496bcb4b2cbd169f4fef080438eafac634",ref:o=>this.arrowElement=o,class:"gux-arrow"},t("div",{key:"59261d1aa75d9c932ccade7e9217bf98d7292007",class:"gux-arrow-caret"})),this.displayDismissButton&&t("gux-dismiss-button",{key:"9328bb10a746be8c106ff7a9fc76544e4e8b6bb0",onClick:this.dismiss.bind(this)}),t("div",{key:"7e0c2e755b05052f2c59b1aa402763240a798ece",class:{"gux-popover-header":Boolean(this.titleSlot)}},t("slot",{key:"b611659e7c1ff318dee1986818d05655a23114c3",name:"title"})),t("div",{key:"f345838da2e098b7aaa02e17b660ab00cdf70e85",class:"gux-popover-content"},t("slot",{key:"f9cf8ea36396ca69a2b95cb85fe765d4d725e907"})))}get root(){return e(this)}};v([g({triggerEvents:"mousedown"})],f.prototype,"checkForClickOutside",null),v([function(){let o=!1,t=null;return(e,r,i)=>{const n=i.value;i.value=function(...e){o||(n.apply(this,e),o=!0,clearTimeout(t),t=setTimeout((()=>{o=!1}),100))}}}()],f.prototype,"dismiss",null),f.style=".gux-popover-wrapper{position:absolute;inset-block-start:0;inset-inline-start:0;z-index:var(--gse-semantic-zIndex-popover);display:inline-block;padding:var(--gse-ui-popover-padding);background-color:var(--gse-ui-popover-backgroundColor);border-radius:var(--gse-ui-popover-borderRadius);box-shadow:var(--gse-ui-popover-boxShadow)}.gux-popover-wrapper.gux-hidden{display:none}.gux-popover-wrapper .gux-arrow{position:absolute;inline-size:var(--gse-ui-popover-anchor-width);block-size:var(--gse-ui-popover-anchor-height);padding-block-end:4px;overflow:hidden}.gux-popover-wrapper .gux-arrow-caret{inline-size:0;block-size:0;border-block-start:calc(var(--gse-ui-popover-anchor-width) / 2) solid var(--gse-ui-popover-backgroundColor);border-inline-start:calc(var(--gse-ui-popover-anchor-width) / 2) solid transparent;border-inline-end:calc(var(--gse-ui-popover-anchor-width) / 2) solid transparent;filter:drop-shadow(0 0 4px var(--gse-semantic-effects-boxShadow))}.gux-popover-wrapper .gux-popover-header{display:flex;flex-direction:row;place-content:center space-between;align-items:center;padding-block-end:var(--gse-ui-popover-gap);font-family:var(--gse-ui-popover-title-text-fontFamily);font-size:var(--gse-ui-popover-title-text-fontSize);font-weight:var(--gse-ui-popover-title-text-fontWeight);line-height:var(--gse-ui-popover-title-text-lineHeight);color:var(--gse-ui-popover-headerColor)}";export{p as gux_button,f as gux_popover}
@@ -1 +1 @@
1
- import{r as t,h as s,H as i,g as e}from"./p-cf74fd3d.js";import{s as o}from"./p-2c25e2f2.js";import{t as c}from"./p-2aec4f1c.js";const a=class{constructor(s){t(this,s),this.layout="default",this.switchItems=[]}onClick(t){t.stopPropagation();const s=t.target.closest("gux-switch-item");s&&this.value!==s.value&&(this.value=s.value,o(this.root,"input"),o(this.root,"change"))}slotChanged(){this.switchItems=Array.from(this.root.children)}componentWillLoad(){c(this.root,{variant:this.layout})}componentWillRender(){this.switchItems.forEach((t=>{t.selected=t.value===this.value}))}render(){return s(i,{key:"557be79a6860f47c913ecd8dbaabf93730954cb5",role:"group",class:`gux-${this.layout}`},s("slot",{key:"d1c9c9756cfde1894f2587f8114597fd36eca57d",onSlotchange:this.slotChanged.bind(this)}))}get root(){return e(this)}};a.style=":host{display:flex;align-items:flex-end}";export{a as gux_switch_legacy}
1
+ import{r as t,h as s,H as i,g as e}from"./p-cf74fd3d.js";import{s as o}from"./p-2c25e2f2.js";import{t as a}from"./p-a1f1fcd4.js";const c=class{constructor(s){t(this,s),this.layout="default",this.switchItems=[]}onClick(t){t.stopPropagation();const s=t.target.closest("gux-switch-item");s&&this.value!==s.value&&(this.value=s.value,o(this.root,"input"),o(this.root,"change"))}slotChanged(){this.switchItems=Array.from(this.root.children)}componentWillLoad(){a(this.root,{variant:this.layout})}componentWillRender(){this.switchItems.forEach((t=>{t.selected=t.value===this.value}))}render(){return s(i,{key:"557be79a6860f47c913ecd8dbaabf93730954cb5",role:"group",class:`gux-${this.layout}`},s("slot",{key:"d1c9c9756cfde1894f2587f8114597fd36eca57d",onSlotchange:this.slotChanged.bind(this)}))}get root(){return e(this)}};c.style=":host{display:flex;align-items:flex-end}";export{c as gux_switch_legacy}
@@ -1 +1 @@
1
- import{r as a,c as t,h as e,g as i}from"./p-cf74fd3d.js";import{t as n}from"./p-2aec4f1c.js";const s=class{constructor(e){a(this,e),this.guxpaginationchange=t(this,"guxpaginationchange",7),this.currentPage=1,this.totalItems=0,this.itemsPerPage=25,this.layout="full"}setPage(a){if(a<=0)return void this.setPage(1);const t=this.calculateTotalPages();a>t?this.setPage(t):(this.currentPage=a,this.guxpaginationchange.emit({currentPage:this.currentPage,itemsPerPage:this.itemsPerPage}))}calculateTotalPages(){return Math.max(1,Math.ceil(this.totalItems/this.itemsPerPage))}calculateCurrentPage(){return Math.max(this.totalPages>0?1:0,Math.min(this.currentPage,this.totalPages))}handleInternalitemsperpagechange(a){this.itemsPerPage=a.detail,this.setPage(1)}handleInternalcurrentpagechange(a){this.setPage(a.detail)}getPaginationInfoElement(a){if("expanded"===a)return null;const t=[e("gux-pagination-item-counts-legacy",{"total-items":this.totalItems,"current-page":this.currentPage,"items-per-page":this.itemsPerPage})];return"full"===a&&t.push(e("gux-pagination-items-per-page-legacy",{"items-per-page":this.itemsPerPage,onInternalitemsperpagechange:this.handleInternalitemsperpagechange.bind(this)})),e("div",{class:"gux-pagination-info"},t)}componentWillLoad(){n(this.root,{variant:this.layout})}componentWillRender(){this.totalPages=this.calculateTotalPages(),this.currentPage=this.calculateCurrentPage()}render(){return e("div",{key:"873a1636c6a2f43692d048a3d51f4a1013a827f8",class:"gux-pagination-container"},this.getPaginationInfoElement(this.layout),e("div",{key:"b3a8f4a438f284368ce6be78eab4fbc9e5833e7b",class:"gux-pagination-change"},e("gux-pagination-buttons-legacy",{key:"e591bca5a8bbb8d1150ef9405a8c516e1e6576c4",layout:this.layout,"current-page":this.currentPage,"total-pages":this.totalPages,onInternalcurrentpagechange:this.handleInternalcurrentpagechange.bind(this)})))}get root(){return i(this)}};s.style=":host{display:block;border-top:var(--gse-ui-dataTableItems-tablePagination-divider-width) var(--gse-ui-dataTableItems-tablePagination-divider-style) var(--gse-ui-dataTableItems-tablePagination-divider-color)}.gux-pagination-container{display:flex;flex-direction:row;flex-wrap:nowrap;place-content:stretch space-between;align-items:center;height:var(--gse-ui-dataTableItems-cell-tablePagination-height);padding:var(--gse-ui-dataTableItems-tablePagination-padding);background-color:var(--gse-ui-dataTableItems-tablePagination-defaultBackgroundColor)}.gux-pagination-container .gux-pagination-info{display:flex;flex:1 1 auto;flex-direction:row;flex-wrap:nowrap;gap:var(--gse-ui-dataTableItems-tablePagination-recordsetControls-gap);place-content:stretch flex-start;align-items:center;align-self:auto;order:0}.gux-pagination-container .gux-pagination-info>*{flex:0 1 auto;align-self:auto;order:0}.gux-pagination-container .gux-pagination-change{flex:1 1 auto;align-self:auto;order:0}.gux-pagination-container .gux-pagination-change:first-child{margin-left:0}";export{s as gux_pagination_legacy}
1
+ import{r as a,c as t,h as e,g as i}from"./p-cf74fd3d.js";import{t as n}from"./p-a1f1fcd4.js";const s=class{constructor(e){a(this,e),this.guxpaginationchange=t(this,"guxpaginationchange",7),this.currentPage=1,this.totalItems=0,this.itemsPerPage=25,this.layout="full"}setPage(a){if(a<=0)return void this.setPage(1);const t=this.calculateTotalPages();a>t?this.setPage(t):(this.currentPage=a,this.guxpaginationchange.emit({currentPage:this.currentPage,itemsPerPage:this.itemsPerPage}))}calculateTotalPages(){return Math.max(1,Math.ceil(this.totalItems/this.itemsPerPage))}calculateCurrentPage(){return Math.max(this.totalPages>0?1:0,Math.min(this.currentPage,this.totalPages))}handleInternalitemsperpagechange(a){this.itemsPerPage=a.detail,this.setPage(1)}handleInternalcurrentpagechange(a){this.setPage(a.detail)}getPaginationInfoElement(a){if("expanded"===a)return null;const t=[e("gux-pagination-item-counts-legacy",{"total-items":this.totalItems,"current-page":this.currentPage,"items-per-page":this.itemsPerPage})];return"full"===a&&t.push(e("gux-pagination-items-per-page-legacy",{"items-per-page":this.itemsPerPage,onInternalitemsperpagechange:this.handleInternalitemsperpagechange.bind(this)})),e("div",{class:"gux-pagination-info"},t)}componentWillLoad(){n(this.root,{variant:this.layout})}componentWillRender(){this.totalPages=this.calculateTotalPages(),this.currentPage=this.calculateCurrentPage()}render(){return e("div",{key:"873a1636c6a2f43692d048a3d51f4a1013a827f8",class:"gux-pagination-container"},this.getPaginationInfoElement(this.layout),e("div",{key:"b3a8f4a438f284368ce6be78eab4fbc9e5833e7b",class:"gux-pagination-change"},e("gux-pagination-buttons-legacy",{key:"e591bca5a8bbb8d1150ef9405a8c516e1e6576c4",layout:this.layout,"current-page":this.currentPage,"total-pages":this.totalPages,onInternalcurrentpagechange:this.handleInternalcurrentpagechange.bind(this)})))}get root(){return i(this)}};s.style=":host{display:block;border-top:var(--gse-ui-dataTableItems-tablePagination-divider-width) var(--gse-ui-dataTableItems-tablePagination-divider-style) var(--gse-ui-dataTableItems-tablePagination-divider-color)}.gux-pagination-container{display:flex;flex-direction:row;flex-wrap:nowrap;place-content:stretch space-between;align-items:center;height:var(--gse-ui-dataTableItems-cell-tablePagination-height);padding:var(--gse-ui-dataTableItems-tablePagination-padding);background-color:var(--gse-ui-dataTableItems-tablePagination-defaultBackgroundColor)}.gux-pagination-container .gux-pagination-info{display:flex;flex:1 1 auto;flex-direction:row;flex-wrap:nowrap;gap:var(--gse-ui-dataTableItems-tablePagination-recordsetControls-gap);place-content:stretch flex-start;align-items:center;align-self:auto;order:0}.gux-pagination-container .gux-pagination-info>*{flex:0 1 auto;align-self:auto;order:0}.gux-pagination-container .gux-pagination-change{flex:1 1 auto;align-self:auto;order:0}.gux-pagination-container .gux-pagination-change:first-child{margin-left:0}";export{s as gux_pagination_legacy}
@@ -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.142.3-634/genesys-webcomponents/';
10
+ export const COMPONENT_ASSETS_PATH = '/spark-components/build-assets/4.143.0-635/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