genesys-spark-components 4.134.2 → 4.136.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 (349) 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.cjs.entry.js +1 -1
  18. package/dist/cjs/gux-card.cjs.entry.js +1 -1
  19. package/dist/cjs/gux-column-manager.cjs.entry.js +1 -1
  20. package/dist/cjs/gux-content-search.cjs.entry.js +1 -1
  21. package/dist/cjs/gux-context-menu.cjs.entry.js +1 -1
  22. package/dist/cjs/gux-copy-to-clipboard.cjs.entry.js +1 -1
  23. package/dist/cjs/gux-date-beta.cjs.entry.js +1 -1
  24. package/dist/cjs/gux-date-time-beta.cjs.entry.js +1 -1
  25. package/dist/cjs/gux-datepicker.cjs.entry.js +2 -2
  26. package/dist/cjs/gux-disclosure-button-legacy.cjs.entry.js +1 -1
  27. package/dist/cjs/gux-dismiss-button.cjs.entry.js +1 -1
  28. package/dist/cjs/gux-dropdown-multi.cjs.entry.js +1 -1
  29. package/dist/cjs/gux-dropdown_3.cjs.entry.js +1 -1
  30. package/dist/cjs/gux-file-list-item.cjs.entry.js +1 -1
  31. package/dist/cjs/gux-flag-icon-beta.cjs.entry.js +1 -1
  32. package/dist/cjs/gux-flyout-menu.cjs.entry.js +1 -1
  33. package/dist/cjs/gux-form-field-checkbox-group-beta.cjs.entry.js +1 -1
  34. package/dist/cjs/gux-form-field-checkbox.cjs.entry.js +1 -1
  35. package/dist/cjs/gux-form-field-color.cjs.entry.js +1 -1
  36. package/dist/cjs/gux-form-field-dropdown.cjs.entry.js +1 -1
  37. package/dist/cjs/gux-form-field-file-beta.cjs.entry.js +1 -1
  38. package/dist/cjs/gux-form-field-file.cjs.entry.js +1 -1
  39. package/dist/cjs/gux-form-field-input-clear-button.cjs.entry.js +1 -1
  40. package/dist/cjs/gux-form-field-label-indicator.cjs.entry.js +1 -1
  41. package/dist/cjs/gux-form-field-number_2.cjs.entry.js +1 -1
  42. package/dist/cjs/gux-form-field-phone.cjs.entry.js +1 -1
  43. package/dist/cjs/gux-form-field-radio-group-beta.cjs.entry.js +1 -1
  44. package/dist/cjs/gux-form-field-radio.cjs.entry.js +1 -1
  45. package/dist/cjs/gux-form-field-range.cjs.entry.js +1 -1
  46. package/dist/cjs/gux-form-field-search.cjs.entry.js +1 -1
  47. package/dist/cjs/gux-form-field-select.cjs.entry.js +1 -1
  48. package/dist/cjs/gux-form-field-text-like.cjs.entry.js +1 -1
  49. package/dist/cjs/gux-form-field-textarea.cjs.entry.js +1 -1
  50. package/dist/cjs/gux-form-field-time-picker.cjs.entry.js +1 -1
  51. package/dist/cjs/gux-form-field-time-zone-picker.cjs.entry.js +1 -1
  52. package/dist/cjs/gux-form-footer.cjs.entry.js +1 -1
  53. package/dist/cjs/gux-icon-tooltip-beta.cjs.entry.js +1 -1
  54. package/dist/cjs/gux-icon.cjs.entry.js +1 -1
  55. package/dist/cjs/gux-inline-alert.cjs.entry.js +1 -1
  56. package/dist/cjs/gux-label-info-beta.cjs.entry.js +1 -1
  57. package/dist/cjs/gux-link-beta.cjs.entry.js +1 -1
  58. package/dist/cjs/gux-list.cjs.entry.js +1 -1
  59. package/dist/cjs/gux-listbox-multi.cjs.entry.js +1 -1
  60. package/dist/cjs/gux-loading-message.cjs.entry.js +1 -1
  61. package/dist/cjs/gux-modal-legacy.cjs.entry.js +1 -1
  62. package/dist/cjs/gux-modal-side-panel-beta.cjs.entry.js +8 -2
  63. package/dist/cjs/gux-modal.cjs.entry.js +1 -1
  64. package/dist/cjs/gux-month-picker-beta.cjs.entry.js +1 -1
  65. package/dist/cjs/gux-notification-toast-legacy.cjs.entry.js +1 -1
  66. package/dist/cjs/gux-page-loading-spinner.cjs.entry.js +1 -1
  67. package/dist/cjs/gux-pagination-cursor.cjs.entry.js +1 -1
  68. package/dist/cjs/gux-pagination-legacy.cjs.entry.js +1 -1
  69. package/dist/cjs/gux-pagination.cjs.entry.js +1 -1
  70. package/dist/cjs/gux-phone-input-beta.cjs.entry.js +1 -1
  71. package/dist/cjs/gux-popover-beta.cjs.entry.js +1 -1
  72. package/dist/cjs/gux-popover-list-beta.cjs.entry.js +1 -1
  73. package/dist/cjs/gux-popover-list.cjs.entry.js +1 -1
  74. package/dist/cjs/gux-radial-loading.cjs.entry.js +1 -1
  75. package/dist/cjs/gux-radial-progress.cjs.entry.js +1 -1
  76. package/dist/cjs/gux-rating.cjs.entry.js +1 -1
  77. package/dist/cjs/gux-rich-highlight-list-item.cjs.entry.js +1 -1
  78. package/dist/cjs/gux-rich-style-list-item_3.cjs.entry.js +1 -1
  79. package/dist/cjs/gux-rich-text-editor-action-link.cjs.entry.js +1 -1
  80. package/dist/cjs/gux-rich-text-editor-action-rich-style.cjs.entry.js +1 -1
  81. package/dist/cjs/gux-rich-text-editor-action-text-highlight.cjs.entry.js +1 -1
  82. package/dist/cjs/gux-rich-text-editor-action.cjs.entry.js +1 -1
  83. package/dist/cjs/gux-rich-text-editor-beta.cjs.entry.js +1 -1
  84. package/dist/cjs/gux-rich-text-editor-list.cjs.entry.js +1 -1
  85. package/dist/cjs/gux-screen-reader-beta.cjs.entry.js +1 -1
  86. package/dist/cjs/gux-segmented-control-beta.cjs.entry.js +1 -1
  87. package/dist/cjs/gux-selector-card-beta.cjs.entry.js +1 -1
  88. package/dist/cjs/gux-selector-cards-beta.cjs.entry.js +1 -1
  89. package/dist/cjs/gux-side-panel-beta.cjs.entry.js +1 -1
  90. package/dist/cjs/gux-side-panel-heading.cjs.entry.js +1 -1
  91. package/dist/cjs/gux-simple-toast-legacy.cjs.entry.js +1 -1
  92. package/dist/cjs/gux-skip-navigation-list.cjs.entry.js +1 -1
  93. package/dist/cjs/gux-sort-control.cjs.entry.js +1 -1
  94. package/dist/cjs/gux-switch-legacy.cjs.entry.js +1 -1
  95. package/dist/cjs/gux-table-toolbar-action.cjs.entry.js +1 -1
  96. package/dist/cjs/gux-table-toolbar-custom-action.cjs.entry.js +1 -1
  97. package/dist/cjs/gux-table-toolbar-menu-button.cjs.entry.js +1 -1
  98. package/dist/cjs/gux-table-toolbar.cjs.entry.js +1 -1
  99. package/dist/cjs/gux-table.cjs.entry.js +1 -1
  100. package/dist/cjs/gux-tabs-advanced.cjs.entry.js +1 -1
  101. package/dist/cjs/gux-tabs.cjs.entry.js +1 -1
  102. package/dist/cjs/gux-tag.cjs.entry.js +1 -1
  103. package/dist/cjs/gux-text-highlight.cjs.entry.js +1 -1
  104. package/dist/cjs/gux-time-beta.cjs.entry.js +1 -1
  105. package/dist/cjs/gux-time-picker.cjs.entry.js +1 -1
  106. package/dist/cjs/gux-time-zone-beta.cjs.entry.js +1 -1
  107. package/dist/cjs/gux-time-zone-picker-beta.cjs.entry.js +1 -1
  108. package/dist/cjs/gux-toast.cjs.entry.js +1 -1
  109. package/dist/cjs/gux-toggle.cjs.entry.js +1 -1
  110. package/dist/cjs/gux-tooltip-base-beta_2.cjs.entry.js +1 -1
  111. package/dist/cjs/gux-tooltip_2.cjs.entry.js +1 -1
  112. package/dist/cjs/{usage-adb1db46.js → usage-bbd900ad.js} +1 -1
  113. package/dist/collection/components/beta/gux-side-panel/components/gux-modal-side-panel/gux-modal-side-panel.js +7 -1
  114. package/dist/collection/components/stable/gux-datepicker/gux-datepicker.css +2 -2
  115. package/dist/collection/i18n/languageList.js +1 -0
  116. package/dist/esm/gux-accordion.entry.js +1 -1
  117. package/dist/esm/gux-action-button.entry.js +1 -1
  118. package/dist/esm/gux-action-toast-legacy.entry.js +1 -1
  119. package/dist/esm/gux-advanced-dropdown-legacy.entry.js +1 -1
  120. package/dist/esm/gux-announce-beta.entry.js +1 -1
  121. package/dist/esm/gux-avatar-beta.entry.js +1 -1
  122. package/dist/esm/gux-avatar-change-photo-beta.entry.js +1 -1
  123. package/dist/esm/gux-avatar-group-add-item-beta_3.entry.js +1 -1
  124. package/dist/esm/gux-avatar-group-beta.entry.js +1 -1
  125. package/dist/esm/gux-avatar-group-item-beta.entry.js +1 -1
  126. package/dist/esm/gux-badge.entry.js +1 -1
  127. package/dist/esm/gux-blank-state.entry.js +1 -1
  128. package/dist/esm/gux-breadcrumbs.entry.js +1 -1
  129. package/dist/esm/gux-button-multi.entry.js +1 -1
  130. package/dist/esm/gux-button-slot.entry.js +1 -1
  131. package/dist/esm/gux-button_2.entry.js +1 -1
  132. package/dist/esm/gux-calendar.entry.js +1 -1
  133. package/dist/esm/gux-card.entry.js +1 -1
  134. package/dist/esm/gux-column-manager.entry.js +1 -1
  135. package/dist/esm/gux-content-search.entry.js +1 -1
  136. package/dist/esm/gux-context-menu.entry.js +1 -1
  137. package/dist/esm/gux-copy-to-clipboard.entry.js +1 -1
  138. package/dist/esm/gux-date-beta.entry.js +1 -1
  139. package/dist/esm/gux-date-time-beta.entry.js +1 -1
  140. package/dist/esm/gux-datepicker.entry.js +2 -2
  141. package/dist/esm/gux-disclosure-button-legacy.entry.js +1 -1
  142. package/dist/esm/gux-dismiss-button.entry.js +1 -1
  143. package/dist/esm/gux-dropdown-multi.entry.js +1 -1
  144. package/dist/esm/gux-dropdown_3.entry.js +1 -1
  145. package/dist/esm/gux-file-list-item.entry.js +1 -1
  146. package/dist/esm/gux-flag-icon-beta.entry.js +1 -1
  147. package/dist/esm/gux-flyout-menu.entry.js +1 -1
  148. package/dist/esm/gux-form-field-checkbox-group-beta.entry.js +1 -1
  149. package/dist/esm/gux-form-field-checkbox.entry.js +1 -1
  150. package/dist/esm/gux-form-field-color.entry.js +1 -1
  151. package/dist/esm/gux-form-field-dropdown.entry.js +1 -1
  152. package/dist/esm/gux-form-field-file-beta.entry.js +1 -1
  153. package/dist/esm/gux-form-field-file.entry.js +1 -1
  154. package/dist/esm/gux-form-field-input-clear-button.entry.js +1 -1
  155. package/dist/esm/gux-form-field-label-indicator.entry.js +1 -1
  156. package/dist/esm/gux-form-field-number_2.entry.js +1 -1
  157. package/dist/esm/gux-form-field-phone.entry.js +1 -1
  158. package/dist/esm/gux-form-field-radio-group-beta.entry.js +1 -1
  159. package/dist/esm/gux-form-field-radio.entry.js +1 -1
  160. package/dist/esm/gux-form-field-range.entry.js +1 -1
  161. package/dist/esm/gux-form-field-search.entry.js +1 -1
  162. package/dist/esm/gux-form-field-select.entry.js +1 -1
  163. package/dist/esm/gux-form-field-text-like.entry.js +1 -1
  164. package/dist/esm/gux-form-field-textarea.entry.js +1 -1
  165. package/dist/esm/gux-form-field-time-picker.entry.js +1 -1
  166. package/dist/esm/gux-form-field-time-zone-picker.entry.js +1 -1
  167. package/dist/esm/gux-form-footer.entry.js +1 -1
  168. package/dist/esm/gux-icon-tooltip-beta.entry.js +1 -1
  169. package/dist/esm/gux-icon.entry.js +1 -1
  170. package/dist/esm/gux-inline-alert.entry.js +1 -1
  171. package/dist/esm/gux-label-info-beta.entry.js +1 -1
  172. package/dist/esm/gux-link-beta.entry.js +1 -1
  173. package/dist/esm/gux-list.entry.js +1 -1
  174. package/dist/esm/gux-listbox-multi.entry.js +1 -1
  175. package/dist/esm/gux-loading-message.entry.js +1 -1
  176. package/dist/esm/gux-modal-legacy.entry.js +1 -1
  177. package/dist/esm/gux-modal-side-panel-beta.entry.js +8 -2
  178. package/dist/esm/gux-modal.entry.js +1 -1
  179. package/dist/esm/gux-month-picker-beta.entry.js +1 -1
  180. package/dist/esm/gux-notification-toast-legacy.entry.js +1 -1
  181. package/dist/esm/gux-page-loading-spinner.entry.js +1 -1
  182. package/dist/esm/gux-pagination-cursor.entry.js +1 -1
  183. package/dist/esm/gux-pagination-legacy.entry.js +1 -1
  184. package/dist/esm/gux-pagination.entry.js +1 -1
  185. package/dist/esm/gux-phone-input-beta.entry.js +1 -1
  186. package/dist/esm/gux-popover-beta.entry.js +1 -1
  187. package/dist/esm/gux-popover-list-beta.entry.js +1 -1
  188. package/dist/esm/gux-popover-list.entry.js +1 -1
  189. package/dist/esm/gux-radial-loading.entry.js +1 -1
  190. package/dist/esm/gux-radial-progress.entry.js +1 -1
  191. package/dist/esm/gux-rating.entry.js +1 -1
  192. package/dist/esm/gux-rich-highlight-list-item.entry.js +1 -1
  193. package/dist/esm/gux-rich-style-list-item_3.entry.js +1 -1
  194. package/dist/esm/gux-rich-text-editor-action-link.entry.js +1 -1
  195. package/dist/esm/gux-rich-text-editor-action-rich-style.entry.js +1 -1
  196. package/dist/esm/gux-rich-text-editor-action-text-highlight.entry.js +1 -1
  197. package/dist/esm/gux-rich-text-editor-action.entry.js +1 -1
  198. package/dist/esm/gux-rich-text-editor-beta.entry.js +1 -1
  199. package/dist/esm/gux-rich-text-editor-list.entry.js +1 -1
  200. package/dist/esm/gux-screen-reader-beta.entry.js +1 -1
  201. package/dist/esm/gux-segmented-control-beta.entry.js +1 -1
  202. package/dist/esm/gux-selector-card-beta.entry.js +1 -1
  203. package/dist/esm/gux-selector-cards-beta.entry.js +1 -1
  204. package/dist/esm/gux-side-panel-beta.entry.js +1 -1
  205. package/dist/esm/gux-side-panel-heading.entry.js +1 -1
  206. package/dist/esm/gux-simple-toast-legacy.entry.js +1 -1
  207. package/dist/esm/gux-skip-navigation-list.entry.js +1 -1
  208. package/dist/esm/gux-sort-control.entry.js +1 -1
  209. package/dist/esm/gux-switch-legacy.entry.js +1 -1
  210. package/dist/esm/gux-table-toolbar-action.entry.js +1 -1
  211. package/dist/esm/gux-table-toolbar-custom-action.entry.js +1 -1
  212. package/dist/esm/gux-table-toolbar-menu-button.entry.js +1 -1
  213. package/dist/esm/gux-table-toolbar.entry.js +1 -1
  214. package/dist/esm/gux-table.entry.js +1 -1
  215. package/dist/esm/gux-tabs-advanced.entry.js +1 -1
  216. package/dist/esm/gux-tabs.entry.js +1 -1
  217. package/dist/esm/gux-tag.entry.js +1 -1
  218. package/dist/esm/gux-text-highlight.entry.js +1 -1
  219. package/dist/esm/gux-time-beta.entry.js +1 -1
  220. package/dist/esm/gux-time-picker.entry.js +1 -1
  221. package/dist/esm/gux-time-zone-beta.entry.js +1 -1
  222. package/dist/esm/gux-time-zone-picker-beta.entry.js +1 -1
  223. package/dist/esm/gux-toast.entry.js +1 -1
  224. package/dist/esm/gux-toggle.entry.js +1 -1
  225. package/dist/esm/gux-tooltip-base-beta_2.entry.js +1 -1
  226. package/dist/esm/gux-tooltip_2.entry.js +1 -1
  227. package/dist/esm/{usage-1d2a8745.js → usage-9b1fea1f.js} +1 -1
  228. package/dist/genesys-webcomponents/genesys-webcomponents-legacy.css +1 -1
  229. package/dist/genesys-webcomponents/genesys-webcomponents.css +21 -21
  230. package/dist/genesys-webcomponents/genesys-webcomponents.esm.js +1 -1
  231. package/dist/genesys-webcomponents/{p-906a4f46.entry.js → p-00fbb8ef.entry.js} +1 -1
  232. package/dist/genesys-webcomponents/{p-c1181b9e.entry.js → p-0430f16b.entry.js} +1 -1
  233. package/dist/genesys-webcomponents/{p-7817ad83.entry.js → p-07621286.entry.js} +1 -1
  234. package/dist/genesys-webcomponents/{p-e1101cce.entry.js → p-08cdd8f2.entry.js} +1 -1
  235. package/dist/genesys-webcomponents/{p-b703ff74.entry.js → p-09f503e0.entry.js} +1 -1
  236. package/dist/genesys-webcomponents/{p-b5467993.entry.js → p-0f96aeee.entry.js} +1 -1
  237. package/dist/genesys-webcomponents/{p-f267b60c.entry.js → p-13348484.entry.js} +1 -1
  238. package/dist/genesys-webcomponents/{p-b3243c16.entry.js → p-1552d6ea.entry.js} +1 -1
  239. package/dist/genesys-webcomponents/{p-66916506.entry.js → p-164ed2e8.entry.js} +1 -1
  240. package/dist/genesys-webcomponents/{p-a6d919b3.entry.js → p-180b79ad.entry.js} +1 -1
  241. package/dist/genesys-webcomponents/{p-4e667b92.entry.js → p-19e9c44e.entry.js} +1 -1
  242. package/dist/genesys-webcomponents/{p-48a98b59.entry.js → p-1a059792.entry.js} +1 -1
  243. package/dist/genesys-webcomponents/{p-8a4a9e33.entry.js → p-1cc0524d.entry.js} +1 -1
  244. package/dist/genesys-webcomponents/{p-39fc49ac.entry.js → p-229f6d19.entry.js} +1 -1
  245. package/dist/genesys-webcomponents/{p-1a972c60.entry.js → p-238fe1d5.entry.js} +1 -1
  246. package/dist/genesys-webcomponents/{p-a87a93fd.entry.js → p-24740411.entry.js} +1 -1
  247. package/dist/genesys-webcomponents/{p-e1722381.entry.js → p-259b3657.entry.js} +1 -1
  248. package/dist/genesys-webcomponents/{p-90ae0b02.entry.js → p-28c385f4.entry.js} +1 -1
  249. package/dist/genesys-webcomponents/{p-9769fc13.entry.js → p-2be9da55.entry.js} +1 -1
  250. package/dist/genesys-webcomponents/{p-499130eb.entry.js → p-2d75ddd6.entry.js} +1 -1
  251. package/dist/genesys-webcomponents/{p-5678d358.entry.js → p-31d7ac7f.entry.js} +1 -1
  252. package/dist/genesys-webcomponents/{p-96ce28fc.entry.js → p-35de2d34.entry.js} +1 -1
  253. package/dist/genesys-webcomponents/{p-2a296d31.entry.js → p-3731a441.entry.js} +1 -1
  254. package/dist/genesys-webcomponents/{p-03c08bb8.entry.js → p-38abf865.entry.js} +1 -1
  255. package/dist/genesys-webcomponents/{p-67503b42.entry.js → p-40406efa.entry.js} +1 -1
  256. package/dist/genesys-webcomponents/{p-b44150e3.entry.js → p-40f8f796.entry.js} +1 -1
  257. package/dist/genesys-webcomponents/{p-b9ab3112.entry.js → p-418b628d.entry.js} +1 -1
  258. package/dist/genesys-webcomponents/{p-9ce635fe.entry.js → p-435f424e.entry.js} +1 -1
  259. package/dist/genesys-webcomponents/{p-3aa06f0d.entry.js → p-44644fd3.entry.js} +1 -1
  260. package/dist/genesys-webcomponents/{p-c882c6d2.entry.js → p-4745ac4a.entry.js} +1 -1
  261. package/dist/genesys-webcomponents/{p-ad8923f3.entry.js → p-47966058.entry.js} +1 -1
  262. package/dist/genesys-webcomponents/{p-f35f3502.entry.js → p-487457d1.entry.js} +1 -1
  263. package/dist/genesys-webcomponents/{p-66d9ad90.entry.js → p-48a3b3bd.entry.js} +1 -1
  264. package/dist/genesys-webcomponents/{p-7cd230e4.entry.js → p-4ad95add.entry.js} +1 -1
  265. package/dist/genesys-webcomponents/{p-9a653ed9.entry.js → p-4c18144c.entry.js} +1 -1
  266. package/dist/genesys-webcomponents/{p-702b1a4c.entry.js → p-4cc57e99.entry.js} +1 -1
  267. package/dist/genesys-webcomponents/{p-cad4c97f.entry.js → p-50c45f95.entry.js} +1 -1
  268. package/dist/genesys-webcomponents/{p-8cf481b2.entry.js → p-536d0a38.entry.js} +1 -1
  269. package/dist/genesys-webcomponents/{p-3afce8d4.entry.js → p-56115c64.entry.js} +1 -1
  270. package/dist/genesys-webcomponents/p-57f9ad24.entry.js +1 -0
  271. package/dist/genesys-webcomponents/{p-01f4929f.entry.js → p-58610766.entry.js} +1 -1
  272. package/dist/genesys-webcomponents/{p-708436c0.entry.js → p-5867e1d3.entry.js} +1 -1
  273. package/dist/genesys-webcomponents/{p-c94abda8.entry.js → p-59c0faf4.entry.js} +1 -1
  274. package/dist/genesys-webcomponents/{p-d02fc33c.entry.js → p-5dbf3824.entry.js} +1 -1
  275. package/dist/genesys-webcomponents/{p-506ecb82.entry.js → p-6559737a.entry.js} +1 -1
  276. package/dist/genesys-webcomponents/{p-6a70f276.entry.js → p-6676d2ff.entry.js} +1 -1
  277. package/dist/genesys-webcomponents/{p-3e2bdd96.entry.js → p-669d69f0.entry.js} +1 -1
  278. package/dist/genesys-webcomponents/{p-1266b336.entry.js → p-6c78dcf8.entry.js} +1 -1
  279. package/dist/genesys-webcomponents/{p-a807618f.entry.js → p-6ef38229.entry.js} +1 -1
  280. package/dist/genesys-webcomponents/{p-8e1b57a0.entry.js → p-6f14b52a.entry.js} +1 -1
  281. package/dist/genesys-webcomponents/{p-4b5ada8f.entry.js → p-71b22a80.entry.js} +1 -1
  282. package/dist/genesys-webcomponents/{p-56cbeb1f.entry.js → p-738ee0c9.entry.js} +1 -1
  283. package/dist/genesys-webcomponents/{p-91135d32.entry.js → p-746a12cd.entry.js} +1 -1
  284. package/dist/genesys-webcomponents/{p-4df7dcaa.entry.js → p-7c53a0be.entry.js} +1 -1
  285. package/dist/genesys-webcomponents/{p-42cd7396.entry.js → p-7e27aeac.entry.js} +1 -1
  286. package/dist/genesys-webcomponents/{p-e3337707.entry.js → p-7f35dc0c.entry.js} +1 -1
  287. package/dist/genesys-webcomponents/{p-d3926b6c.entry.js → p-7ff88d7d.entry.js} +1 -1
  288. package/dist/genesys-webcomponents/{p-498ee9d8.entry.js → p-80c05a64.entry.js} +1 -1
  289. package/dist/genesys-webcomponents/{p-e327e5f0.entry.js → p-80d6c140.entry.js} +1 -1
  290. package/dist/genesys-webcomponents/{p-d6734e5e.entry.js → p-82c5132b.entry.js} +1 -1
  291. package/dist/genesys-webcomponents/{p-a8998966.entry.js → p-87c96045.entry.js} +1 -1
  292. package/dist/genesys-webcomponents/{p-a3cb9a4a.entry.js → p-87ce0ee5.entry.js} +1 -1
  293. package/dist/genesys-webcomponents/{p-0dbea75f.entry.js → p-8bb50805.entry.js} +1 -1
  294. package/dist/genesys-webcomponents/{p-d933d0f6.entry.js → p-941ece99.entry.js} +1 -1
  295. package/dist/genesys-webcomponents/{p-2902f03a.entry.js → p-950c51d0.entry.js} +1 -1
  296. package/dist/genesys-webcomponents/{p-b48d6266.entry.js → p-96138b54.entry.js} +1 -1
  297. package/dist/genesys-webcomponents/{p-aaeee5cc.entry.js → p-9669ac0d.entry.js} +1 -1
  298. package/dist/genesys-webcomponents/{p-2ef049ac.entry.js → p-9a437889.entry.js} +1 -1
  299. package/dist/genesys-webcomponents/{p-c7fb941a.entry.js → p-a14e4acf.entry.js} +1 -1
  300. package/dist/genesys-webcomponents/{p-4bacc96f.entry.js → p-a3c8daa6.entry.js} +1 -1
  301. package/dist/genesys-webcomponents/{p-66751da9.entry.js → p-af1d9621.entry.js} +1 -1
  302. package/dist/genesys-webcomponents/{p-d88c5e52.entry.js → p-b0423e07.entry.js} +1 -1
  303. package/dist/genesys-webcomponents/{p-c5b94ebc.entry.js → p-b4724735.entry.js} +1 -1
  304. package/dist/genesys-webcomponents/{p-8a89d137.entry.js → p-b48d1064.entry.js} +1 -1
  305. package/dist/genesys-webcomponents/p-b55c5836.entry.js +1 -0
  306. package/dist/genesys-webcomponents/{p-b13e11d2.entry.js → p-b61d3641.entry.js} +1 -1
  307. package/dist/genesys-webcomponents/{p-1039fb27.entry.js → p-ba305bc9.entry.js} +1 -1
  308. package/dist/genesys-webcomponents/{p-331098f4.js → p-bbf000c6.js} +1 -1
  309. package/dist/genesys-webcomponents/{p-9f927946.entry.js → p-bc0fe93f.entry.js} +1 -1
  310. package/dist/genesys-webcomponents/{p-dfa377a7.entry.js → p-be5ef77c.entry.js} +1 -1
  311. package/dist/genesys-webcomponents/{p-bd3cbfd4.entry.js → p-c19b186c.entry.js} +1 -1
  312. package/dist/genesys-webcomponents/{p-e00add78.entry.js → p-c1fcfe38.entry.js} +1 -1
  313. package/dist/genesys-webcomponents/{p-57895ad4.entry.js → p-c1ffd98a.entry.js} +1 -1
  314. package/dist/genesys-webcomponents/{p-c0c6b185.entry.js → p-c2655c0d.entry.js} +1 -1
  315. package/dist/genesys-webcomponents/{p-71093890.entry.js → p-c5964b5c.entry.js} +1 -1
  316. package/dist/genesys-webcomponents/{p-d90f0f3c.entry.js → p-c5f9ac4b.entry.js} +1 -1
  317. package/dist/genesys-webcomponents/{p-54b0eb36.entry.js → p-c9a824b2.entry.js} +1 -1
  318. package/dist/genesys-webcomponents/{p-d5aedbf8.entry.js → p-ca2f78b3.entry.js} +1 -1
  319. package/dist/genesys-webcomponents/{p-61a0f193.entry.js → p-ca5e16eb.entry.js} +1 -1
  320. package/dist/genesys-webcomponents/{p-fea91bf5.entry.js → p-cb521709.entry.js} +1 -1
  321. package/dist/genesys-webcomponents/{p-f2a60af1.entry.js → p-cb80addb.entry.js} +1 -1
  322. package/dist/genesys-webcomponents/{p-068af466.entry.js → p-cf5dae62.entry.js} +1 -1
  323. package/dist/genesys-webcomponents/{p-5a703d9e.entry.js → p-cfc7aeeb.entry.js} +1 -1
  324. package/dist/genesys-webcomponents/{p-ed25cc74.entry.js → p-d1543c0f.entry.js} +1 -1
  325. package/dist/genesys-webcomponents/{p-89a8d7b2.entry.js → p-d41aee70.entry.js} +1 -1
  326. package/dist/genesys-webcomponents/{p-ee134311.entry.js → p-d456916f.entry.js} +1 -1
  327. package/dist/genesys-webcomponents/{p-d9a0f6a9.entry.js → p-d5857ce9.entry.js} +1 -1
  328. package/dist/genesys-webcomponents/{p-4a69416c.entry.js → p-ddae6f8b.entry.js} +1 -1
  329. package/dist/genesys-webcomponents/{p-727b950d.entry.js → p-ddb0e160.entry.js} +1 -1
  330. package/dist/genesys-webcomponents/{p-01491d0f.entry.js → p-de182e7b.entry.js} +1 -1
  331. package/dist/genesys-webcomponents/{p-79b7e8b0.entry.js → p-df4f9ea1.entry.js} +1 -1
  332. package/dist/genesys-webcomponents/{p-26d4bb8f.entry.js → p-dfca804c.entry.js} +1 -1
  333. package/dist/genesys-webcomponents/{p-23062479.entry.js → p-e596f79f.entry.js} +1 -1
  334. package/dist/genesys-webcomponents/{p-d07abee3.entry.js → p-e5ad67fc.entry.js} +1 -1
  335. package/dist/genesys-webcomponents/{p-93030bf7.entry.js → p-e67ae48a.entry.js} +1 -1
  336. package/dist/genesys-webcomponents/{p-deec890f.entry.js → p-e8b6cf12.entry.js} +1 -1
  337. package/dist/genesys-webcomponents/{p-f9ce9928.entry.js → p-e8fb23ba.entry.js} +1 -1
  338. package/dist/genesys-webcomponents/{p-7c66a93e.entry.js → p-e9411655.entry.js} +1 -1
  339. package/dist/genesys-webcomponents/{p-a291a0a7.entry.js → p-ec122746.entry.js} +1 -1
  340. package/dist/genesys-webcomponents/{p-336bcb98.entry.js → p-eff000cb.entry.js} +1 -1
  341. package/dist/genesys-webcomponents/{p-3d4cfb3d.entry.js → p-fa1f188c.entry.js} +1 -1
  342. package/dist/genesys-webcomponents/{p-faa47b8a.entry.js → p-fd2fba8b.entry.js} +1 -1
  343. package/dist/stencil-wrapper.js +1 -1
  344. package/dist/types/components/beta/gux-side-panel/components/gux-modal-side-panel/gux-modal-side-panel.d.ts +1 -0
  345. package/dist/types/i18n/languageList.d.ts +1 -1
  346. package/dist/types/stencil-wrapper.d.ts +1 -1
  347. package/package.json +1 -1
  348. package/dist/genesys-webcomponents/p-07cde8b0.entry.js +0 -1
  349. package/dist/genesys-webcomponents/p-f25caf23.entry.js +0 -1
@@ -1 +1 @@
1
- import{r as t,h as i,g as s}from"./p-c2a62a18.js";import{b as e}from"./p-16feb2a1.js";import{f as o,g as a,t as r}from"./p-bd48b8c8.js";import{t as n}from"./p-331098f4.js";import{s as h}from"./p-2c25e2f2.js";import"./p-4202e9f2.js";const d=class{constructor(i){t(this,i),this.value=void 0,this.workspaceDefault=void 0,this.localDefault=void 0,this.customDefault=void 0,this.customDefaultLabel=void 0,this.hasError=!1,this.disabled=!1,this.required=!1,this.searchString="",this.timeZoneOptionElements=void 0,this.timeZoneList=void 0,this.filteredZoneList=void 0}on(t){this.searchString=t.detail,this.filteredZoneList=this.filterTimeZoneList(this.timeZoneList),this.timeZoneOptionElements=this.renderTimeZones(this.filteredZoneList)}async componentWillLoad(){n(this.root),this.i18n=await e(this.root,r),this.timeZoneList=this.getTimeZoneOptionsList(),this.filteredZoneList=this.timeZoneList,this.timeZoneOptionElements=this.renderTimeZones(this.filteredZoneList)}componentDidLoad(){var t;(null===(t=this.root)||void 0===t?void 0:t.shadowRoot.querySelector("gux-dropdown")).addEventListener("change",(t=>{const i=t.target;this.value=null==i?void 0:i.value,h(this.root,"change")}))}filterTimeZoneList(t){const i=this.searchString;return t.filter((t=>this.getFormattedTimeZoneOption(t).toLowerCase().includes(i.toLowerCase())))}getTimeZoneOption(t){const i=this.i18n(t.name),s=t.countryName?this.i18n(t.countryName):void 0;if(!i)return;const e=o(t.currentTimeOffsetInMinutes),a=`${i}`,r=` (${this.i18n("UTC")}${e})`,n=`${r}`,h=a.replace(/_/g," "),d=`${s}`,l=a.startsWith("Etc/GMT")?2:1;return{value:t.name,localizedGroupName:i,formattedOffset:e,displayTextNameFormatted:h,displayTextOffset:r,baseDisplayOffsetText:n,countryName:d,defaultZone:"",priority:l}}getFormattedTimeZoneOption(t){return t.displayTextNameFormatted.startsWith("Etc/GMT")?t.displayTextNameFormatted.concat(t.baseDisplayOffsetText):t.displayTextNameFormatted.split("/").pop().concat(", ",t.countryName,t.baseDisplayOffsetText)}getTimeZoneOptionsList(){const t=a(),i=[];return t.forEach((t=>{const s=this.getTimeZoneOption(t);s&&i.push(s)})),i.sort(((t,i)=>{var s;return t.priority-i.priority||(null===(s=t.displayTextNameFormatted)||void 0===s?void 0:s.localeCompare(i.displayTextNameFormatted))}))}getDefaultZones(){return[this.workspaceDefault,this.localDefault,this.customDefault].filter((t=>!!t))}getDefaultZoneList(){const t=this.getDefaultZones(),i=this.timeZoneList.reduce(((i,s)=>t.includes(s.value)?i.concat([Object.assign({},s)]):i),[]);return i.forEach((t=>{this.workspaceDefault===this.localDefault?t.defaultZone=`${this.i18n("localAndWorkspaceDefault")}`:t.value===this.workspaceDefault?t.defaultZone=`${this.i18n("workspaceDefault")}`:t.value===this.localDefault&&(t.defaultZone=`${this.i18n("localDefault")}`),t.value===this.customDefault&&(t.defaultZone=`(${this.customDefaultLabel})`)})),i}renderTimeZones(t){return t.map((t=>i("gux-option",{class:{"gux-has-defaults":""!==t.defaultZone},value:t.value},i("div",{class:"gux-option-wrapper"},i("div",null,this.getFormattedTimeZoneOption(t)),i("span",{class:"gux-default-zone"},t.defaultZone)))))}renderDefaultsList(){const t=this.renderTimeZones(this.getDefaultZoneList());if(t.length)return i("gux-option-group-beta",{label:this.i18n("default")},t)}renderAllTimeZoneOptionsList(){return i("gux-option-group-beta",{label:this.i18n("all")},this.timeZoneOptionElements)}render(){return i("gux-dropdown",{key:"c9fb76e2d1caa7fba5ac2032e363f82ce37df58e",class:{"has-defaults":!!this.workspaceDefault||!!this.localDefault||!!this.customDefault},"filter-type":"custom",placeholder:this.i18n("selectZone"),value:this.value,hasError:this.hasError,disabled:this.disabled},i("gux-listbox",{key:"8ca88ed2b64854a4b3de007efcf4326b3e3e4e54","aria-label":this.i18n("timeZones")},this.renderDefaultsList(),this.renderAllTimeZoneOptionsList()))}get root(){return s(this)}};d.style="gux-dropdown .zone-header{padding-block:8px 4px;padding-inline:12px;color:#6b7585;text-transform:uppercase}gux-dropdown gux-option{padding:var(--gse-ui-menu-option-padding)}gux-dropdown gux-option.gux-has-defaults{block-size:auto}gux-dropdown gux-option .gux-option-wrapper{display:flex;flex-direction:column}gux-dropdown gux-option .gux-default-zone{color:#626e84}";export{d as gux_time_zone_picker_beta}
1
+ import{r as t,h as i,g as s}from"./p-c2a62a18.js";import{b as e}from"./p-16feb2a1.js";import{f as o,g as a,t as r}from"./p-bd48b8c8.js";import{t as n}from"./p-bbf000c6.js";import{s as h}from"./p-2c25e2f2.js";import"./p-4202e9f2.js";const d=class{constructor(i){t(this,i),this.value=void 0,this.workspaceDefault=void 0,this.localDefault=void 0,this.customDefault=void 0,this.customDefaultLabel=void 0,this.hasError=!1,this.disabled=!1,this.required=!1,this.searchString="",this.timeZoneOptionElements=void 0,this.timeZoneList=void 0,this.filteredZoneList=void 0}on(t){this.searchString=t.detail,this.filteredZoneList=this.filterTimeZoneList(this.timeZoneList),this.timeZoneOptionElements=this.renderTimeZones(this.filteredZoneList)}async componentWillLoad(){n(this.root),this.i18n=await e(this.root,r),this.timeZoneList=this.getTimeZoneOptionsList(),this.filteredZoneList=this.timeZoneList,this.timeZoneOptionElements=this.renderTimeZones(this.filteredZoneList)}componentDidLoad(){var t;(null===(t=this.root)||void 0===t?void 0:t.shadowRoot.querySelector("gux-dropdown")).addEventListener("change",(t=>{const i=t.target;this.value=null==i?void 0:i.value,h(this.root,"change")}))}filterTimeZoneList(t){const i=this.searchString;return t.filter((t=>this.getFormattedTimeZoneOption(t).toLowerCase().includes(i.toLowerCase())))}getTimeZoneOption(t){const i=this.i18n(t.name),s=t.countryName?this.i18n(t.countryName):void 0;if(!i)return;const e=o(t.currentTimeOffsetInMinutes),a=`${i}`,r=` (${this.i18n("UTC")}${e})`,n=`${r}`,h=a.replace(/_/g," "),d=`${s}`,l=a.startsWith("Etc/GMT")?2:1;return{value:t.name,localizedGroupName:i,formattedOffset:e,displayTextNameFormatted:h,displayTextOffset:r,baseDisplayOffsetText:n,countryName:d,defaultZone:"",priority:l}}getFormattedTimeZoneOption(t){return t.displayTextNameFormatted.startsWith("Etc/GMT")?t.displayTextNameFormatted.concat(t.baseDisplayOffsetText):t.displayTextNameFormatted.split("/").pop().concat(", ",t.countryName,t.baseDisplayOffsetText)}getTimeZoneOptionsList(){const t=a(),i=[];return t.forEach((t=>{const s=this.getTimeZoneOption(t);s&&i.push(s)})),i.sort(((t,i)=>{var s;return t.priority-i.priority||(null===(s=t.displayTextNameFormatted)||void 0===s?void 0:s.localeCompare(i.displayTextNameFormatted))}))}getDefaultZones(){return[this.workspaceDefault,this.localDefault,this.customDefault].filter((t=>!!t))}getDefaultZoneList(){const t=this.getDefaultZones(),i=this.timeZoneList.reduce(((i,s)=>t.includes(s.value)?i.concat([Object.assign({},s)]):i),[]);return i.forEach((t=>{this.workspaceDefault===this.localDefault?t.defaultZone=`${this.i18n("localAndWorkspaceDefault")}`:t.value===this.workspaceDefault?t.defaultZone=`${this.i18n("workspaceDefault")}`:t.value===this.localDefault&&(t.defaultZone=`${this.i18n("localDefault")}`),t.value===this.customDefault&&(t.defaultZone=`(${this.customDefaultLabel})`)})),i}renderTimeZones(t){return t.map((t=>i("gux-option",{class:{"gux-has-defaults":""!==t.defaultZone},value:t.value},i("div",{class:"gux-option-wrapper"},i("div",null,this.getFormattedTimeZoneOption(t)),i("span",{class:"gux-default-zone"},t.defaultZone)))))}renderDefaultsList(){const t=this.renderTimeZones(this.getDefaultZoneList());if(t.length)return i("gux-option-group-beta",{label:this.i18n("default")},t)}renderAllTimeZoneOptionsList(){return i("gux-option-group-beta",{label:this.i18n("all")},this.timeZoneOptionElements)}render(){return i("gux-dropdown",{key:"c9fb76e2d1caa7fba5ac2032e363f82ce37df58e",class:{"has-defaults":!!this.workspaceDefault||!!this.localDefault||!!this.customDefault},"filter-type":"custom",placeholder:this.i18n("selectZone"),value:this.value,hasError:this.hasError,disabled:this.disabled},i("gux-listbox",{key:"8ca88ed2b64854a4b3de007efcf4326b3e3e4e54","aria-label":this.i18n("timeZones")},this.renderDefaultsList(),this.renderAllTimeZoneOptionsList()))}get root(){return s(this)}};d.style="gux-dropdown .zone-header{padding-block:8px 4px;padding-inline:12px;color:#6b7585;text-transform:uppercase}gux-dropdown gux-option{padding:var(--gse-ui-menu-option-padding)}gux-dropdown gux-option.gux-has-defaults{block-size:auto}gux-dropdown gux-option .gux-option-wrapper{display:flex;flex-direction:column}gux-dropdown gux-option .gux-default-zone{color:#626e84}";export{d as gux_time_zone_picker_beta}
@@ -1 +1 @@
1
- import{r as e,f as i,h as t,H as r,g as o}from"./p-c2a62a18.js";import{c as a,o as n}from"./p-f4751a15.js";import{O as s}from"./p-9df4dd07.js";import{o as l}from"./p-6b12dd16.js";import{p as g}from"./p-a11d5d42.js";import{h as u}from"./p-6d8b4027.js";import{a as d,G as h}from"./p-546eb56a.js";import{a as f,G as p}from"./p-a99c18b5.js";import{g as c,v as b,a as x}from"./p-4aaf349e.js";import{t as m}from"./p-331098f4.js";import{O as v}from"./p-26772091.js";import"./p-0934300e.js";import"./p-8eaf8caf.js";import"./p-2c25e2f2.js";var y=function(e,i,t,r){var o,a=arguments.length,n=a<3?i:null===r?r=Object.getOwnPropertyDescriptor(i,t):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)n=Reflect.decorate(e,i,t,r);else for(var s=e.length-1;s>=0;s--)(o=e[s])&&(n=(a<3?o(n):a>3?o(i,t,n):o(i,t))||n);return a>3&&n&&Object.defineProperty(i,t,n),n};const k=class{constructor(i){e(this,i),this.displayUnits=void 0,this.valueInTooltip=void 0,this.labelPosition=void 0,this.indicatorMark="required",this.computedLabelPosition="above",this.disabled=void 0,this.required=void 0,this.hasError=!1,this.hasHelp=!1,this.value=void 0,this.active=void 0,this.valueWatcherId=void 0}onInput(e){this.updateValue(e.target.value)}onMousedown(){this.disabled||(this.active=!0)}onMouseup(){this.active=!1}onMutation(){this.labelInfo=this.root.querySelector("[slot=label-info]"),this.hasError=u(this.root,"error"),this.hasHelp=u(this.root,"help")}handleKeyup(e){var i,t;"Tab"===e.key?this.input.matches(":focus-visible")&&(null===(i=this.labelInfo)||void 0===i||i.showTooltip(),this.hideLabelInfoTimeout=setTimeout((()=>{var e;null===(e=this.labelInfo)||void 0===e||e.hideTooltip()}),6e3)):this.input.matches(":focus-visible")&&(null===(t=this.labelInfo)||void 0===t||t.hideTooltip(),clearTimeout(this.hideLabelInfoTimeout))}onFocusout(){var e;this.active=!1,null===(e=this.labelInfo)||void 0===e||e.hideTooltip(),clearTimeout(this.hideLabelInfoTimeout)}componentWillLoad(){this.setInput(),this.setLabel(),this.labelInfo=this.root.querySelector("[slot=label-info]"),this.hasError=u(this.root,"error"),this.hasHelp=u(this.root,"help"),m(this.root,{variant:this.variant})}componentDidLoad(){this.updatePosition(),this.tooltipElement&&i(this.root)}disconnectedCallback(){this.disabledObserver&&this.disabledObserver.disconnect(),this.requiredObserver&&this.requiredObserver.disconnect(),clearInterval(this.valueWatcherId)}render(){return t(r,{key:"fe6897dc2177b110b0204d1699f7283ca4ee867c",class:{"gux-active":this.active}},t(f,{key:"84b82790791943d40761b019f84222a3b967e129",labelPosition:this.computedLabelPosition},t(p,{key:"18ab67bad7756a4f35254591b9c3a9d03924f7b1",required:this.required,position:this.computedLabelPosition},t("slot",{key:"a4c254f56d69f6130cff3501a1a934bdce050164",name:"label",onSlotchange:()=>this.setLabel()}),t("gux-form-field-label-indicator",{key:"3dbc8974c8bd31f8e871b4ae016a7d34512a927c",variant:this.indicatorMark,required:this.required}),t("slot",{key:"57bc576b43a85cf539c442858944fbf39babd6dc",name:"label-info"})),t("div",{key:"3f6e6eb109306af0c250e19e8e626574d3b6dbd2",class:"gux-input-and-error-container"},this.renderRangeInput(),t(d,{key:"464b92b9a8651767b22885cf3c8e391dce419336",show:this.hasError},t("slot",{key:"f0e458ffa085a4c71d57213d9cbaf078fa87b8dd",name:"error"})),t(h,{key:"35bcc5ecc4b98c776f87b1c1da6d37fd04dac280",show:!this.hasError&&this.hasHelp},t("slot",{key:"27eab5315d584bd6d1a02cb487c196a50b66d726",name:"help"})))))}get variant(){return this.labelPosition?this.labelPosition.toLowerCase():"none"}setInput(){this.input=c(this.root,'input[type="range"][slot="input"]'),g(this.input),this.disabled=a(this.input),this.required=this.input.required,this.value=this.input.value,this.disabledObserver=n(this.input,(e=>{this.disabled=e})),this.requiredObserver=l(this.input,(e=>{this.required=e})),clearInterval(this.valueWatcherId),this.valueWatcherId=setInterval((()=>{this.value!==this.input.value&&this.updateValue(this.input.value)}),100),b(this.root,this.input)}setLabel(){this.label=this.root.querySelector('label[slot="label"]'),this.computedLabelPosition=x(this.label,this.labelPosition)}renderRangeInput(){return t("div",{class:{"gux-range-input-container":!0,"gux-disabled":this.disabled},ref:e=>this.containerElement=e},t("div",{class:"gux-range"},t("div",{class:"gux-track"},t("div",{class:"gux-progress",ref:e=>this.progressElement=e})),t("slot",{name:"input"}),this.valueInTooltip&&t("gux-tooltip-base-beta",{ref:e=>this.tooltipElement=e,forElement:this.containerElement,offsetY:-10,placement:"top"},t("span",{slot:"content"},this.getDisplayValue()))),t("div",{class:{"gux-display":!0,"gux-hidden":this.valueInTooltip}},this.getDisplayValue()))}updateValue(e){this.value=e,this.updatePosition()}updatePosition(){var e,i,t;const r=Number((null===(e=this.input)||void 0===e?void 0:e.value)||0),o=Number((null===(i=this.input)||void 0===i?void 0:i.min)||0),a=(r-o)/(Number((null===(t=this.input)||void 0===t?void 0:t.max)||100)-o)*100;this.tooltipElement&&(this.tooltipElement.offsetX=(a/100-.5)*(this.containerElement.offsetWidth-20)),this.progressElement&&(this.progressElement.style.width=`${a}%`)}getDisplayValue(){return this.displayUnits?`${this.value}${this.displayUnits}`:this.value}get root(){return o(this)}};y([s({childList:!0,subtree:!0})],k.prototype,"onMutation",null),y([v()],k.prototype,"updatePosition",null),k.style=".gux-form-field-container.gux-beside{display:flex;flex-direction:row}.gux-form-field-error{display:none;flex-direction:row;flex-wrap:nowrap;gap:var(--gse-ui-formControl-helper-gap);place-content:stretch flex-start;padding:var(--gse-ui-formControl-helper-errorPadding);font-family:var(--gse-ui-formControl-helper-helperText-fontFamily);font-size:var(--gse-ui-formControl-helper-helperText-fontSize);line-height:var(--gse-ui-formControl-helper-helperText-lineHeight);color:var(--gse-ui-formControl-helper-errorColor)}.gux-form-field-error.gux-show{display:flex}.gux-form-field-error gux-icon{flex:0 1 auto;order:0;color:var(--gse-ui-formControl-helper-errorColor)}.gux-form-field-error .gux-message{flex:0 1 auto;align-self:auto;order:0}.gux-form-field-label{display:inline-flex;flex:1 0 auto}.gux-form-field-label ::slotted(gux-label-info-beta){padding-inline-start:var(--gse-ui-formControl-formField-gap)}.gux-form-field-label.gux-beside{position:relative;inset-block-start:var(--gse-ui-formControl-input-top);inline-size:fit-content;min-inline-size:var(--gse-ui-formControl-input-textfield-minWidth);max-inline-size:fit-content;margin-inline-end:var(--gse-ui-formControl-group-gapItems)}.gux-form-field-label.gux-above{padding-block-end:var(--gse-ui-formControl-formField-gap)}.gux-form-field-label.gux-screenreader{position:absolute;top:auto;left:-10000px;width:1px;height:1px;overflow:hidden}.gux-form-field-help{display:none;flex-direction:row;flex-wrap:nowrap;place-content:stretch flex-start;align-items:flex-start;justify-content:flex-start;padding-block-start:var(--gse-ui-formControl-formField-gap);font-family:var(--gse-ui-formControl-helper-helperText-fontFamily);font-size:var(--gse-ui-formControl-helper-helperText-fontSize);line-height:var(--gse-ui-formControl-helper-helperText-lineHeight);color:var(--gse-ui-formControl-helper-defaultColor)}.gux-form-field-help.gux-show{display:flex}.gux-form-field-help .gux-message{flex:0 1 auto;align-self:none;order:0}:host{display:block}::slotted(label){font-family:var(--gse-ui-formControl-label-textBold-fontFamily);font-size:var(--gse-ui-formControl-label-textBold-fontSize);font-weight:var(--gse-ui-formControl-label-textBold-fontWeight);line-height:var(--gse-ui-formControl-label-textBold-lineHeight);color:var(--gse-ui-formControl-label-labelColor)}::slotted(input[type=range]){position:absolute;inline-size:100%;block-size:var(--gse-ui-rangeSlider-bar-height);margin-block:calc(var(--gse-ui-rangeSlider-handle-height) / 2);margin-block-start:calc(-1 * (var(--gse-ui-rangeSlider-handle-height) / 2 + var(--gse-ui-rangeSlider-bar-height)));margin-inline:0;-webkit-appearance:none;background:transparent}.gux-input-and-error-container{flex-grow:1}.gux-input-and-error-container.gux-hidden{display:none}.gux-input-and-error-container .gux-range-input-container{display:flex;flex-direction:row;flex-wrap:nowrap;gap:var(--gse-ui-rangeSlider-gap);place-content:stretch flex-start;align-items:center;block-size:var(--gse-ui-rangeSlider-set-height);font-size:var(--gse-ui-rangeSlider-label-text-fontSize)}.gux-input-and-error-container .gux-range-input-container.gux-disabled{opacity:var(--gse-ui-rangeSlider-disabled-opacity)}.gux-input-and-error-container .gux-range-input-container .gux-range{position:relative;flex:1 1 auto;align-self:center;order:0}.gux-input-and-error-container .gux-range-input-container .gux-range:hover .gux-range-tooltip,.gux-input-and-error-container .gux-range-input-container .gux-range:focus-within .gux-range-tooltip{visibility:visible}.gux-input-and-error-container .gux-range-input-container .gux-range .gux-track{inline-size:100%;block-size:var(--gse-ui-rangeSlider-bar-height);margin-block:6px;margin-inline:0;background:var(--gse-ui-rangeSlider-bar-default-backgroundColor);border-radius:var(--gse-ui-rangeSlider-track-borderRadius)}.gux-input-and-error-container .gux-range-input-container .gux-range .gux-track .gux-progress{block-size:var(--gse-ui-rangeSlider-bar-height);background-color:var(--gse-ui-rangeSlider-bar-selected-backgroundColor);border-radius:var(--gse-ui-rangeSlider-track-borderRadius)}.gux-input-and-error-container .gux-range-input-container .gux-display{flex:0 1 auto;align-self:auto;order:0;margin-block:0;margin-inline:var(--gux-spacing-medium) 0;font-family:var(--gse-ui-rangeSlider-label-text-fontFamily);font-size:var(--gse-ui-rangeSlider-label-text-fontSize);font-weight:var(--gse-ui-rangeSlider-label-text-fontWeight);line-height:var(--gse-ui-rangeSlider-label-text-lineHeight);text-align:end}.gux-input-and-error-container .gux-range-input-container .gux-display.gux-hidden{display:none}.gux-form-field-label.gux-beside{inset-block-start:0}";export{k as gux_form_field_range}
1
+ import{r as e,f as i,h as t,H as r,g as o}from"./p-c2a62a18.js";import{c as a,o as n}from"./p-f4751a15.js";import{O as s}from"./p-9df4dd07.js";import{o as l}from"./p-6b12dd16.js";import{p as g}from"./p-a11d5d42.js";import{h as u}from"./p-6d8b4027.js";import{a as d,G as h}from"./p-546eb56a.js";import{a as f,G as p}from"./p-a99c18b5.js";import{g as c,v as b,a as x}from"./p-4aaf349e.js";import{t as m}from"./p-bbf000c6.js";import{O as v}from"./p-26772091.js";import"./p-0934300e.js";import"./p-8eaf8caf.js";import"./p-2c25e2f2.js";var y=function(e,i,t,r){var o,a=arguments.length,n=a<3?i:null===r?r=Object.getOwnPropertyDescriptor(i,t):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)n=Reflect.decorate(e,i,t,r);else for(var s=e.length-1;s>=0;s--)(o=e[s])&&(n=(a<3?o(n):a>3?o(i,t,n):o(i,t))||n);return a>3&&n&&Object.defineProperty(i,t,n),n};const k=class{constructor(i){e(this,i),this.displayUnits=void 0,this.valueInTooltip=void 0,this.labelPosition=void 0,this.indicatorMark="required",this.computedLabelPosition="above",this.disabled=void 0,this.required=void 0,this.hasError=!1,this.hasHelp=!1,this.value=void 0,this.active=void 0,this.valueWatcherId=void 0}onInput(e){this.updateValue(e.target.value)}onMousedown(){this.disabled||(this.active=!0)}onMouseup(){this.active=!1}onMutation(){this.labelInfo=this.root.querySelector("[slot=label-info]"),this.hasError=u(this.root,"error"),this.hasHelp=u(this.root,"help")}handleKeyup(e){var i,t;"Tab"===e.key?this.input.matches(":focus-visible")&&(null===(i=this.labelInfo)||void 0===i||i.showTooltip(),this.hideLabelInfoTimeout=setTimeout((()=>{var e;null===(e=this.labelInfo)||void 0===e||e.hideTooltip()}),6e3)):this.input.matches(":focus-visible")&&(null===(t=this.labelInfo)||void 0===t||t.hideTooltip(),clearTimeout(this.hideLabelInfoTimeout))}onFocusout(){var e;this.active=!1,null===(e=this.labelInfo)||void 0===e||e.hideTooltip(),clearTimeout(this.hideLabelInfoTimeout)}componentWillLoad(){this.setInput(),this.setLabel(),this.labelInfo=this.root.querySelector("[slot=label-info]"),this.hasError=u(this.root,"error"),this.hasHelp=u(this.root,"help"),m(this.root,{variant:this.variant})}componentDidLoad(){this.updatePosition(),this.tooltipElement&&i(this.root)}disconnectedCallback(){this.disabledObserver&&this.disabledObserver.disconnect(),this.requiredObserver&&this.requiredObserver.disconnect(),clearInterval(this.valueWatcherId)}render(){return t(r,{key:"fe6897dc2177b110b0204d1699f7283ca4ee867c",class:{"gux-active":this.active}},t(f,{key:"84b82790791943d40761b019f84222a3b967e129",labelPosition:this.computedLabelPosition},t(p,{key:"18ab67bad7756a4f35254591b9c3a9d03924f7b1",required:this.required,position:this.computedLabelPosition},t("slot",{key:"a4c254f56d69f6130cff3501a1a934bdce050164",name:"label",onSlotchange:()=>this.setLabel()}),t("gux-form-field-label-indicator",{key:"3dbc8974c8bd31f8e871b4ae016a7d34512a927c",variant:this.indicatorMark,required:this.required}),t("slot",{key:"57bc576b43a85cf539c442858944fbf39babd6dc",name:"label-info"})),t("div",{key:"3f6e6eb109306af0c250e19e8e626574d3b6dbd2",class:"gux-input-and-error-container"},this.renderRangeInput(),t(d,{key:"464b92b9a8651767b22885cf3c8e391dce419336",show:this.hasError},t("slot",{key:"f0e458ffa085a4c71d57213d9cbaf078fa87b8dd",name:"error"})),t(h,{key:"35bcc5ecc4b98c776f87b1c1da6d37fd04dac280",show:!this.hasError&&this.hasHelp},t("slot",{key:"27eab5315d584bd6d1a02cb487c196a50b66d726",name:"help"})))))}get variant(){return this.labelPosition?this.labelPosition.toLowerCase():"none"}setInput(){this.input=c(this.root,'input[type="range"][slot="input"]'),g(this.input),this.disabled=a(this.input),this.required=this.input.required,this.value=this.input.value,this.disabledObserver=n(this.input,(e=>{this.disabled=e})),this.requiredObserver=l(this.input,(e=>{this.required=e})),clearInterval(this.valueWatcherId),this.valueWatcherId=setInterval((()=>{this.value!==this.input.value&&this.updateValue(this.input.value)}),100),b(this.root,this.input)}setLabel(){this.label=this.root.querySelector('label[slot="label"]'),this.computedLabelPosition=x(this.label,this.labelPosition)}renderRangeInput(){return t("div",{class:{"gux-range-input-container":!0,"gux-disabled":this.disabled},ref:e=>this.containerElement=e},t("div",{class:"gux-range"},t("div",{class:"gux-track"},t("div",{class:"gux-progress",ref:e=>this.progressElement=e})),t("slot",{name:"input"}),this.valueInTooltip&&t("gux-tooltip-base-beta",{ref:e=>this.tooltipElement=e,forElement:this.containerElement,offsetY:-10,placement:"top"},t("span",{slot:"content"},this.getDisplayValue()))),t("div",{class:{"gux-display":!0,"gux-hidden":this.valueInTooltip}},this.getDisplayValue()))}updateValue(e){this.value=e,this.updatePosition()}updatePosition(){var e,i,t;const r=Number((null===(e=this.input)||void 0===e?void 0:e.value)||0),o=Number((null===(i=this.input)||void 0===i?void 0:i.min)||0),a=(r-o)/(Number((null===(t=this.input)||void 0===t?void 0:t.max)||100)-o)*100;this.tooltipElement&&(this.tooltipElement.offsetX=(a/100-.5)*(this.containerElement.offsetWidth-20)),this.progressElement&&(this.progressElement.style.width=`${a}%`)}getDisplayValue(){return this.displayUnits?`${this.value}${this.displayUnits}`:this.value}get root(){return o(this)}};y([s({childList:!0,subtree:!0})],k.prototype,"onMutation",null),y([v()],k.prototype,"updatePosition",null),k.style=".gux-form-field-container.gux-beside{display:flex;flex-direction:row}.gux-form-field-error{display:none;flex-direction:row;flex-wrap:nowrap;gap:var(--gse-ui-formControl-helper-gap);place-content:stretch flex-start;padding:var(--gse-ui-formControl-helper-errorPadding);font-family:var(--gse-ui-formControl-helper-helperText-fontFamily);font-size:var(--gse-ui-formControl-helper-helperText-fontSize);line-height:var(--gse-ui-formControl-helper-helperText-lineHeight);color:var(--gse-ui-formControl-helper-errorColor)}.gux-form-field-error.gux-show{display:flex}.gux-form-field-error gux-icon{flex:0 1 auto;order:0;color:var(--gse-ui-formControl-helper-errorColor)}.gux-form-field-error .gux-message{flex:0 1 auto;align-self:auto;order:0}.gux-form-field-label{display:inline-flex;flex:1 0 auto}.gux-form-field-label ::slotted(gux-label-info-beta){padding-inline-start:var(--gse-ui-formControl-formField-gap)}.gux-form-field-label.gux-beside{position:relative;inset-block-start:var(--gse-ui-formControl-input-top);inline-size:fit-content;min-inline-size:var(--gse-ui-formControl-input-textfield-minWidth);max-inline-size:fit-content;margin-inline-end:var(--gse-ui-formControl-group-gapItems)}.gux-form-field-label.gux-above{padding-block-end:var(--gse-ui-formControl-formField-gap)}.gux-form-field-label.gux-screenreader{position:absolute;top:auto;left:-10000px;width:1px;height:1px;overflow:hidden}.gux-form-field-help{display:none;flex-direction:row;flex-wrap:nowrap;place-content:stretch flex-start;align-items:flex-start;justify-content:flex-start;padding-block-start:var(--gse-ui-formControl-formField-gap);font-family:var(--gse-ui-formControl-helper-helperText-fontFamily);font-size:var(--gse-ui-formControl-helper-helperText-fontSize);line-height:var(--gse-ui-formControl-helper-helperText-lineHeight);color:var(--gse-ui-formControl-helper-defaultColor)}.gux-form-field-help.gux-show{display:flex}.gux-form-field-help .gux-message{flex:0 1 auto;align-self:none;order:0}:host{display:block}::slotted(label){font-family:var(--gse-ui-formControl-label-textBold-fontFamily);font-size:var(--gse-ui-formControl-label-textBold-fontSize);font-weight:var(--gse-ui-formControl-label-textBold-fontWeight);line-height:var(--gse-ui-formControl-label-textBold-lineHeight);color:var(--gse-ui-formControl-label-labelColor)}::slotted(input[type=range]){position:absolute;inline-size:100%;block-size:var(--gse-ui-rangeSlider-bar-height);margin-block:calc(var(--gse-ui-rangeSlider-handle-height) / 2);margin-block-start:calc(-1 * (var(--gse-ui-rangeSlider-handle-height) / 2 + var(--gse-ui-rangeSlider-bar-height)));margin-inline:0;-webkit-appearance:none;background:transparent}.gux-input-and-error-container{flex-grow:1}.gux-input-and-error-container.gux-hidden{display:none}.gux-input-and-error-container .gux-range-input-container{display:flex;flex-direction:row;flex-wrap:nowrap;gap:var(--gse-ui-rangeSlider-gap);place-content:stretch flex-start;align-items:center;block-size:var(--gse-ui-rangeSlider-set-height);font-size:var(--gse-ui-rangeSlider-label-text-fontSize)}.gux-input-and-error-container .gux-range-input-container.gux-disabled{opacity:var(--gse-ui-rangeSlider-disabled-opacity)}.gux-input-and-error-container .gux-range-input-container .gux-range{position:relative;flex:1 1 auto;align-self:center;order:0}.gux-input-and-error-container .gux-range-input-container .gux-range:hover .gux-range-tooltip,.gux-input-and-error-container .gux-range-input-container .gux-range:focus-within .gux-range-tooltip{visibility:visible}.gux-input-and-error-container .gux-range-input-container .gux-range .gux-track{inline-size:100%;block-size:var(--gse-ui-rangeSlider-bar-height);margin-block:6px;margin-inline:0;background:var(--gse-ui-rangeSlider-bar-default-backgroundColor);border-radius:var(--gse-ui-rangeSlider-track-borderRadius)}.gux-input-and-error-container .gux-range-input-container .gux-range .gux-track .gux-progress{block-size:var(--gse-ui-rangeSlider-bar-height);background-color:var(--gse-ui-rangeSlider-bar-selected-backgroundColor);border-radius:var(--gse-ui-rangeSlider-track-borderRadius)}.gux-input-and-error-container .gux-range-input-container .gux-display{flex:0 1 auto;align-self:auto;order:0;margin-block:0;margin-inline:var(--gux-spacing-medium) 0;font-family:var(--gse-ui-rangeSlider-label-text-fontFamily);font-size:var(--gse-ui-rangeSlider-label-text-fontSize);font-weight:var(--gse-ui-rangeSlider-label-text-fontWeight);line-height:var(--gse-ui-rangeSlider-label-text-lineHeight);text-align:end}.gux-input-and-error-container .gux-range-input-container .gux-display.gux-hidden{display:none}.gux-form-field-label.gux-beside{inset-block-start:0}";export{k as gux_form_field_range}
@@ -1 +1 @@
1
- import{r as e,c as t,h as g,H as l,g as i}from"./p-c2a62a18.js";import{t as o}from"./p-331098f4.js";import{r as a}from"./p-0934300e.js";import{b as r}from"./p-16feb2a1.js";import"./p-4202e9f2.js";const s={defaultAriaLabel:"Toggle Switch",toggleIsLoading:"Toggle is loading",toggleIsFinishedLoading:"Toggle is finished loading"},n=class{constructor(g){e(this,g),this.check=t(this,"check",7),this.labelId=a("gux-toggle-label"),this.errorId=a("gux-toggle-error"),this.checked=!1,this.disabled=!1,this.loading=!1,this.label=void 0,this.checkedLabel=void 0,this.uncheckedLabel=void 0,this.labelPosition="right",this.errorMessage=void 0,this.displayInline=!1}handleLoading(e){this.announceElement.guxAnnounce(this.i18n(e?"toggleIsLoading":"toggleIsFinishedLoading"))}onKeydown(e){" "===e.key&&(e.preventDefault(),this.toggle())}toggle(){this.disabled||this.loading||this.check.emit(!this.checked).defaultPrevented||(this.checked=!this.checked)}getAriaLabel(){return this.root.getAttribute("aria-label")||this.label||this.checkedLabel||this.root.title||this.i18n("defaultAriaLabel")}async componentWillLoad(){this.i18n=await r(this.root,s),o(this.root,{variant:this.checkedLabel||this.uncheckedLabel?"labled":"unlabled"})}renderLoading(){if(this.loading)return g("div",{class:"gux-toggle-label-loading"},g("gux-radial-loading",{context:"input"}))}renderLabel(){return this.label?g("div",{class:"gux-toggle-label-and-error"},g("div",{class:"gux-toggle-label"},g("div",{class:"gux-toggle-label-text"},g("span",{class:"gux-toggle-label-text-inner"},g("span",{id:this.labelId},this.label),this.renderLoading())))):this.uncheckedLabel&&this.checkedLabel?g("div",{class:"gux-toggle-label-and-error"},g("div",{class:"gux-toggle-label"},g("div",{class:"gux-toggle-label-text"},g("span",{class:"gux-toggle-label-text-inner"},g("span",{id:this.labelId},this.checked?this.checkedLabel:this.uncheckedLabel),this.renderLoading()),g("span",{class:"gux-toggle-label-text-inner gux-hidden"},this.checkedLabel),g("span",{class:"gux-toggle-label-text-inner gux-hidden"},this.uncheckedLabel)))):void 0}renderError(){if(this.errorMessage)return g("div",{id:this.errorId,class:"gux-toggle-error"},g("div",{class:"gux-toggle-error-container"},g("gux-icon",{"icon-name":"fa/hexagon-exclamation-solid",decorative:!0,size:"small"}),g("div",{class:"gux-toggle-error-message"},this.errorMessage)))}render(){return g(l,{key:"eea0594beabacfe51dea7eeb697104958abdcfcb",class:{"gux-display-inline":this.displayInline}},g("div",{key:"1312f6913c077cd3710c1cd65a55299d8536cd3e",class:{"gux-toggle-container":!0,"gux-toggle-label-left":"left"===this.labelPosition,"gux-disabled":this.disabled||this.loading}},g("div",{key:"b6eb3d2acd40d3595dfe03403ab30506a4580117",class:"gux-toggle-input",onClick:this.toggle.bind(this)},g("gux-toggle-slider",{key:"014a91ef070681ba7ef148a29532cbad7affac2c",checked:this.checked,disabled:this.disabled||this.loading,guxAriaLabel:this.getAriaLabel(),labelId:this.checkedLabel&&this.uncheckedLabel?this.labelId:"",onKeyDown:this.onKeydown.bind(this),errorId:this.errorMessage?this.errorId:""}),this.renderLabel()),this.renderError()),g("gux-announce-beta",{key:"668729c0739347245d055fc91e6a15c2a1873431",ref:e=>this.announceElement=e}))}static get delegatesFocus(){return!0}get root(){return i(this)}static get watchers(){return{loading:["handleLoading"]}}};n.style=':host{display:block;outline:none}:host(.gux-display-inline){display:inline-block}.gux-toggle-container.gux-disabled{pointer-events:none;cursor:default}.gux-toggle-container.gux-disabled .gux-toggle-input .gux-toggle-label .gux-toggle-label-text{opacity:var(--gse-ui-toggle-disabled-opacity)}.gux-toggle-container.gux-toggle-label-left .gux-toggle-input{flex-direction:row-reverse}.gux-toggle-container.gux-toggle-label-left .gux-toggle-input .gux-toggle-label .gux-toggle-label-text{place-items:end}.gux-toggle-container.gux-toggle-label-left .gux-toggle-error{float:inline-end}.gux-toggle-container .gux-toggle-input{display:flex;flex-direction:row;flex-wrap:nowrap;gap:var(--gse-ui-toggle-gap);place-content:stretch flex-start;align-items:center;inline-size:fit-content;cursor:pointer}.gux-toggle-container .gux-toggle-input .gux-toggle-label{position:relative;display:inline-block}.gux-toggle-container .gux-toggle-input .gux-toggle-label .gux-toggle-label-text{display:grid;grid-template-areas:"inner-div";place-items:center start}.gux-toggle-container .gux-toggle-input .gux-toggle-label .gux-toggle-label-text .gux-toggle-label-text-inner{position:relative;grid-area:inner-div;font-family:var(--gse-ui-toggle-label-fontFamily);font-size:var(--gse-ui-toggle-label-fontSize);font-weight:var(--gse-ui-toggle-label-fontWeight);line-height:var(--gse-ui-toggle-label-lineHeight);color:var(--gse-ui-formControl-label-labelColor);word-wrap:break-word}.gux-toggle-container .gux-toggle-input .gux-toggle-label .gux-toggle-label-text .gux-toggle-label-text-inner.gux-hidden{visibility:hidden}.gux-toggle-container .gux-toggle-input .gux-toggle-label .gux-toggle-label-loading{position:absolute;inset:0;display:flex;flex-direction:row;flex-wrap:nowrap;place-content:stretch center;align-items:center}.gux-toggle-container .gux-toggle-error .gux-toggle-error-container{display:flex;flex-direction:row;flex-wrap:nowrap;gap:var(--gse-ui-toggle-gap);place-content:stretch flex-start;padding:var(--gse-ui-formControl-helper-errorPadding);font-family:var(--gse-ui-toggle-label-fontFamily);font-size:var(--gse-ui-toggle-label-fontSize);font-weight:var(--gse-ui-toggle-label-fontWeight);line-height:var(--gse-ui-toggle-label-lineHeight);color:var(--gse-ui-formControl-helper-errorColor)}.gux-toggle-container .gux-toggle-error .gux-toggle-error-container gux-icon{flex:0 1 auto;order:0;color:var(--gse-ui-formControl-helper-errorColor)}.gux-toggle-container .gux-toggle-error .gux-toggle-error-container .gux-toggle-error-message{flex:0 1 auto;align-self:auto;order:0}';export{n as gux_toggle}
1
+ import{r as e,c as t,h as g,H as l,g as i}from"./p-c2a62a18.js";import{t as o}from"./p-bbf000c6.js";import{r as a}from"./p-0934300e.js";import{b as r}from"./p-16feb2a1.js";import"./p-4202e9f2.js";const s={defaultAriaLabel:"Toggle Switch",toggleIsLoading:"Toggle is loading",toggleIsFinishedLoading:"Toggle is finished loading"},n=class{constructor(g){e(this,g),this.check=t(this,"check",7),this.labelId=a("gux-toggle-label"),this.errorId=a("gux-toggle-error"),this.checked=!1,this.disabled=!1,this.loading=!1,this.label=void 0,this.checkedLabel=void 0,this.uncheckedLabel=void 0,this.labelPosition="right",this.errorMessage=void 0,this.displayInline=!1}handleLoading(e){this.announceElement.guxAnnounce(this.i18n(e?"toggleIsLoading":"toggleIsFinishedLoading"))}onKeydown(e){" "===e.key&&(e.preventDefault(),this.toggle())}toggle(){this.disabled||this.loading||this.check.emit(!this.checked).defaultPrevented||(this.checked=!this.checked)}getAriaLabel(){return this.root.getAttribute("aria-label")||this.label||this.checkedLabel||this.root.title||this.i18n("defaultAriaLabel")}async componentWillLoad(){this.i18n=await r(this.root,s),o(this.root,{variant:this.checkedLabel||this.uncheckedLabel?"labled":"unlabled"})}renderLoading(){if(this.loading)return g("div",{class:"gux-toggle-label-loading"},g("gux-radial-loading",{context:"input"}))}renderLabel(){return this.label?g("div",{class:"gux-toggle-label-and-error"},g("div",{class:"gux-toggle-label"},g("div",{class:"gux-toggle-label-text"},g("span",{class:"gux-toggle-label-text-inner"},g("span",{id:this.labelId},this.label),this.renderLoading())))):this.uncheckedLabel&&this.checkedLabel?g("div",{class:"gux-toggle-label-and-error"},g("div",{class:"gux-toggle-label"},g("div",{class:"gux-toggle-label-text"},g("span",{class:"gux-toggle-label-text-inner"},g("span",{id:this.labelId},this.checked?this.checkedLabel:this.uncheckedLabel),this.renderLoading()),g("span",{class:"gux-toggle-label-text-inner gux-hidden"},this.checkedLabel),g("span",{class:"gux-toggle-label-text-inner gux-hidden"},this.uncheckedLabel)))):void 0}renderError(){if(this.errorMessage)return g("div",{id:this.errorId,class:"gux-toggle-error"},g("div",{class:"gux-toggle-error-container"},g("gux-icon",{"icon-name":"fa/hexagon-exclamation-solid",decorative:!0,size:"small"}),g("div",{class:"gux-toggle-error-message"},this.errorMessage)))}render(){return g(l,{key:"eea0594beabacfe51dea7eeb697104958abdcfcb",class:{"gux-display-inline":this.displayInline}},g("div",{key:"1312f6913c077cd3710c1cd65a55299d8536cd3e",class:{"gux-toggle-container":!0,"gux-toggle-label-left":"left"===this.labelPosition,"gux-disabled":this.disabled||this.loading}},g("div",{key:"b6eb3d2acd40d3595dfe03403ab30506a4580117",class:"gux-toggle-input",onClick:this.toggle.bind(this)},g("gux-toggle-slider",{key:"014a91ef070681ba7ef148a29532cbad7affac2c",checked:this.checked,disabled:this.disabled||this.loading,guxAriaLabel:this.getAriaLabel(),labelId:this.checkedLabel&&this.uncheckedLabel?this.labelId:"",onKeyDown:this.onKeydown.bind(this),errorId:this.errorMessage?this.errorId:""}),this.renderLabel()),this.renderError()),g("gux-announce-beta",{key:"668729c0739347245d055fc91e6a15c2a1873431",ref:e=>this.announceElement=e}))}static get delegatesFocus(){return!0}get root(){return i(this)}static get watchers(){return{loading:["handleLoading"]}}};n.style=':host{display:block;outline:none}:host(.gux-display-inline){display:inline-block}.gux-toggle-container.gux-disabled{pointer-events:none;cursor:default}.gux-toggle-container.gux-disabled .gux-toggle-input .gux-toggle-label .gux-toggle-label-text{opacity:var(--gse-ui-toggle-disabled-opacity)}.gux-toggle-container.gux-toggle-label-left .gux-toggle-input{flex-direction:row-reverse}.gux-toggle-container.gux-toggle-label-left .gux-toggle-input .gux-toggle-label .gux-toggle-label-text{place-items:end}.gux-toggle-container.gux-toggle-label-left .gux-toggle-error{float:inline-end}.gux-toggle-container .gux-toggle-input{display:flex;flex-direction:row;flex-wrap:nowrap;gap:var(--gse-ui-toggle-gap);place-content:stretch flex-start;align-items:center;inline-size:fit-content;cursor:pointer}.gux-toggle-container .gux-toggle-input .gux-toggle-label{position:relative;display:inline-block}.gux-toggle-container .gux-toggle-input .gux-toggle-label .gux-toggle-label-text{display:grid;grid-template-areas:"inner-div";place-items:center start}.gux-toggle-container .gux-toggle-input .gux-toggle-label .gux-toggle-label-text .gux-toggle-label-text-inner{position:relative;grid-area:inner-div;font-family:var(--gse-ui-toggle-label-fontFamily);font-size:var(--gse-ui-toggle-label-fontSize);font-weight:var(--gse-ui-toggle-label-fontWeight);line-height:var(--gse-ui-toggle-label-lineHeight);color:var(--gse-ui-formControl-label-labelColor);word-wrap:break-word}.gux-toggle-container .gux-toggle-input .gux-toggle-label .gux-toggle-label-text .gux-toggle-label-text-inner.gux-hidden{visibility:hidden}.gux-toggle-container .gux-toggle-input .gux-toggle-label .gux-toggle-label-loading{position:absolute;inset:0;display:flex;flex-direction:row;flex-wrap:nowrap;place-content:stretch center;align-items:center}.gux-toggle-container .gux-toggle-error .gux-toggle-error-container{display:flex;flex-direction:row;flex-wrap:nowrap;gap:var(--gse-ui-toggle-gap);place-content:stretch flex-start;padding:var(--gse-ui-formControl-helper-errorPadding);font-family:var(--gse-ui-toggle-label-fontFamily);font-size:var(--gse-ui-toggle-label-fontSize);font-weight:var(--gse-ui-toggle-label-fontWeight);line-height:var(--gse-ui-toggle-label-lineHeight);color:var(--gse-ui-formControl-helper-errorColor)}.gux-toggle-container .gux-toggle-error .gux-toggle-error-container gux-icon{flex:0 1 auto;order:0;color:var(--gse-ui-formControl-helper-errorColor)}.gux-toggle-container .gux-toggle-error .gux-toggle-error-container .gux-toggle-error-message{flex:0 1 auto;align-self:auto;order:0}';export{n as gux_toggle}
@@ -1 +1 @@
1
- import{r as o,c as a,h as t,g as e}from"./p-c2a62a18.js";import{b as g}from"./p-16feb2a1.js";import{t as r}from"./p-331098f4.js";import"./p-4202e9f2.js";const u={tag:"tag with label: {label}","tag-disabled":"disabled tag with label: {label}","remove-tag":"Remove tag with label: {label}"},c=class{constructor(t){o(this,t),this.guxdelete=a(this,"guxdelete",7),this.accent="default",this.disabled=!1,this.removable=!1,this.size="small",this.emphasis="bold",this.label=void 0}onKeyDown(o){switch(o.key){case"Backspace":case"Delete":this.removeTag()}}removeTag(){!this.disabled&&this.removable&&this.guxdelete.emit()}onSlotChange(o){const a=o.composedPath()[0].assignedNodes();this.label=a.map((o=>o.textContent.trim())).join("")}renderTagTitle(){return t("gux-tooltip-title",null,t("span",null,t("slot",{"aria-hidden":"true",onSlotchange:this.onSlotChange.bind(this)})))}renderSrText(){return t("div",{class:"gux-sr-only"},this.i18n(this.disabled?"tag-disabled":"tag",{label:this.label}))}renderRemoveButton(){if(this.removable)return t("button",{class:"gux-tag-remove-button",onClick:this.removeTag.bind(this),type:"button",disabled:this.disabled},t("gux-icon",{class:"gux-tag-remove-icon","icon-name":"fa/xmark-large-regular","screenreader-text":this.i18n("remove-tag",{label:this.label})}))}componentWillLoad(){r(this.root,{variant:this.removable?"removable":"permenant"})}async componentWillRender(){this.i18n=await g(this.root,u)}render(){return t("div",{key:"a360d147440cf02e90130afdca9aa4b1cc845278",class:{"gux-tag":!0,[`gux-accent-${this.accent}`]:!0,"gux-disabled":this.disabled,[`gux-size-${this.size}`]:!0,[`gux-emphasis-${this.emphasis}`]:!0},"aria-disabled":this.disabled.toString()},this.renderTagTitle(),this.renderSrText(),this.renderRemoveButton())}get root(){return e(this)}};c.style=":host{display:inline-block;border-radius:var(--gse-ui-tag-borderRadius)}.gux-tag{display:flex;flex-direction:row;flex-wrap:nowrap;gap:var(--gse-ui-tag-removable-gap);place-content:stretch flex-start;align-items:center;block-size:var(--gse-ui-tag-small-height);padding:var(--gse-ui-tag-padding);font-family:var(--gse-ui-tag-textSmall-fontFamily);font-size:var(--gse-ui-tag-textSmall-fontSize);font-weight:var(--gse-ui-tag-textSmall-fontWeight);line-height:var(--gse-ui-tag-textSmall-lineHeight);color:var(--gse-ui-tag-default-bold-foregroundColor);background-color:var(--gse-ui-tag-default-bold-backgroundColor);border-radius:var(--gse-ui-tag-borderRadius)}.gux-tag.gux-size-large{block-size:var(--gse-ui-tag-large-height);font-family:var(--gse-ui-tag-textLarge-fontFamily);font-size:var(--gse-ui-tag-textLarge-fontSize);font-weight:var(--gse-ui-tag-textLarge-fontWeight);line-height:var(--gse-ui-tag-textLarge-lineHeight)}.gux-tag.gux-size-large .gux-tag-remove-button:focus-within .gux-tag-remove-icon{outline-offset:10px}.gux-tag.gux-disabled{position:relative;user-select:none;opacity:var(--gse-ui-tag-disabled-opacity)}.gux-tag gux-tooltip-title{white-space:nowrap;cursor:default}.gux-tag gux-tooltip-title ::slotted(gux-icon){font-size:var(--gse-ui-tag-button-size)}.gux-tag .gux-sr-only:not(:focus):not(:active){position:absolute;width:1px;height:1px;overflow:hidden;white-space:nowrap;clip:rect(0 0 0 0);clip-path:inset(50%)}.gux-tag .gux-tag-remove-button{all:unset;display:flex;place-content:center center;align-items:center}.gux-tag .gux-tag-remove-button:not(:disabled):hover{cursor:pointer}.gux-tag .gux-tag-remove-button .gux-tag-remove-icon{inline-size:var(--gse-ui-tag-button-size);block-size:var(--gse-ui-tag-button-size);margin-inline-end:-4px}.gux-tag .gux-tag-remove-button:focus-within .gux-tag-remove-icon{outline:var(--gse-semantic-focusOutline-md-borderWidth) solid var(--gse-ui-color-focus);outline-offset:5px;border-radius:var(--gse-semantic-focusOutline-sm-borderRadius)}.gux-tag.gux-accent-default{color:var(--gse-ui-tag-default-bold-foregroundColor);background-color:var(--gse-ui-tag-default-bold-backgroundColor)}.gux-tag.gux-accent-default.gux-emphasis-subtle{color:var(--gse-ui-tag-default-subtle-foregroundColor);background-color:var(--gse-ui-tag-default-subtle-backgroundColor)}.gux-tag.gux-accent-1{color:var(--gse-ui-tag-accent1-bold-foregroundColor);background-color:var(--gse-ui-tag-accent1-bold-backgroundColor)}.gux-tag.gux-accent-1.gux-emphasis-subtle{color:var(--gse-ui-tag-accent1-subtle-foregroundColor);background-color:var(--gse-ui-tag-accent1-subtle-backgroundColor)}.gux-tag.gux-accent-2{color:var(--gse-ui-tag-accent2-bold-foregroundColor);background-color:var(--gse-ui-tag-accent2-bold-backgroundColor)}.gux-tag.gux-accent-2.gux-emphasis-subtle{color:var(--gse-ui-tag-accent2-subtle-foregroundColor);background-color:var(--gse-ui-tag-accent2-subtle-backgroundColor)}.gux-tag.gux-accent-3{color:var(--gse-ui-tag-accent3-bold-foregroundColor);background-color:var(--gse-ui-tag-accent3-bold-backgroundColor)}.gux-tag.gux-accent-3.gux-emphasis-subtle{color:var(--gse-ui-tag-accent3-subtle-foregroundColor);background-color:var(--gse-ui-tag-accent3-subtle-backgroundColor)}.gux-tag.gux-accent-4{color:var(--gse-ui-tag-accent4-bold-foregroundColor);background-color:var(--gse-ui-tag-accent4-bold-backgroundColor)}.gux-tag.gux-accent-4.gux-emphasis-subtle{color:var(--gse-ui-tag-accent4-subtle-foregroundColor);background-color:var(--gse-ui-tag-accent4-subtle-backgroundColor)}.gux-tag.gux-accent-5{color:var(--gse-ui-tag-accent5-bold-foregroundColor);background-color:var(--gse-ui-tag-accent5-bold-backgroundColor)}.gux-tag.gux-accent-5.gux-emphasis-subtle{color:var(--gse-ui-tag-accent5-subtle-foregroundColor);background-color:var(--gse-ui-tag-accent5-subtle-backgroundColor)}.gux-tag.gux-accent-6{color:var(--gse-ui-tag-accent6-bold-foregroundColor);background-color:var(--gse-ui-tag-accent6-bold-backgroundColor)}.gux-tag.gux-accent-6.gux-emphasis-subtle{color:var(--gse-ui-tag-accent6-subtle-foregroundColor);background-color:var(--gse-ui-tag-accent6-subtle-backgroundColor)}.gux-tag.gux-accent-7{color:var(--gse-ui-tag-accent7-bold-foregroundColor);background-color:var(--gse-ui-tag-accent7-bold-backgroundColor)}.gux-tag.gux-accent-7.gux-emphasis-subtle{color:var(--gse-ui-tag-accent7-subtle-foregroundColor);background-color:var(--gse-ui-tag-accent7-subtle-backgroundColor)}.gux-tag.gux-accent-8{color:var(--gse-ui-tag-accent8-bold-foregroundColor);background-color:var(--gse-ui-tag-accent8-bold-backgroundColor)}.gux-tag.gux-accent-8.gux-emphasis-subtle{color:var(--gse-ui-tag-accent8-subtle-foregroundColor);background-color:var(--gse-ui-tag-accent8-subtle-backgroundColor)}.gux-tag.gux-accent-9{color:var(--gse-ui-tag-accent9-bold-foregroundColor);background-color:var(--gse-ui-tag-accent9-bold-backgroundColor)}.gux-tag.gux-accent-9.gux-emphasis-subtle{color:var(--gse-ui-tag-accent9-subtle-foregroundColor);background-color:var(--gse-ui-tag-accent9-subtle-backgroundColor)}.gux-tag.gux-accent-10{color:var(--gse-ui-tag-accent10-bold-foregroundColor);background-color:var(--gse-ui-tag-accent10-bold-backgroundColor)}.gux-tag.gux-accent-10.gux-emphasis-subtle{color:var(--gse-ui-tag-accent10-subtle-foregroundColor);background-color:var(--gse-ui-tag-accent10-subtle-backgroundColor)}.gux-tag.gux-accent-inherit{color:inherit;background-color:inherit}";export{c as gux_tag}
1
+ import{r as o,c as a,h as t,g as e}from"./p-c2a62a18.js";import{b as g}from"./p-16feb2a1.js";import{t as r}from"./p-bbf000c6.js";import"./p-4202e9f2.js";const u={tag:"tag with label: {label}","tag-disabled":"disabled tag with label: {label}","remove-tag":"Remove tag with label: {label}"},c=class{constructor(t){o(this,t),this.guxdelete=a(this,"guxdelete",7),this.accent="default",this.disabled=!1,this.removable=!1,this.size="small",this.emphasis="bold",this.label=void 0}onKeyDown(o){switch(o.key){case"Backspace":case"Delete":this.removeTag()}}removeTag(){!this.disabled&&this.removable&&this.guxdelete.emit()}onSlotChange(o){const a=o.composedPath()[0].assignedNodes();this.label=a.map((o=>o.textContent.trim())).join("")}renderTagTitle(){return t("gux-tooltip-title",null,t("span",null,t("slot",{"aria-hidden":"true",onSlotchange:this.onSlotChange.bind(this)})))}renderSrText(){return t("div",{class:"gux-sr-only"},this.i18n(this.disabled?"tag-disabled":"tag",{label:this.label}))}renderRemoveButton(){if(this.removable)return t("button",{class:"gux-tag-remove-button",onClick:this.removeTag.bind(this),type:"button",disabled:this.disabled},t("gux-icon",{class:"gux-tag-remove-icon","icon-name":"fa/xmark-large-regular","screenreader-text":this.i18n("remove-tag",{label:this.label})}))}componentWillLoad(){r(this.root,{variant:this.removable?"removable":"permenant"})}async componentWillRender(){this.i18n=await g(this.root,u)}render(){return t("div",{key:"a360d147440cf02e90130afdca9aa4b1cc845278",class:{"gux-tag":!0,[`gux-accent-${this.accent}`]:!0,"gux-disabled":this.disabled,[`gux-size-${this.size}`]:!0,[`gux-emphasis-${this.emphasis}`]:!0},"aria-disabled":this.disabled.toString()},this.renderTagTitle(),this.renderSrText(),this.renderRemoveButton())}get root(){return e(this)}};c.style=":host{display:inline-block;border-radius:var(--gse-ui-tag-borderRadius)}.gux-tag{display:flex;flex-direction:row;flex-wrap:nowrap;gap:var(--gse-ui-tag-removable-gap);place-content:stretch flex-start;align-items:center;block-size:var(--gse-ui-tag-small-height);padding:var(--gse-ui-tag-padding);font-family:var(--gse-ui-tag-textSmall-fontFamily);font-size:var(--gse-ui-tag-textSmall-fontSize);font-weight:var(--gse-ui-tag-textSmall-fontWeight);line-height:var(--gse-ui-tag-textSmall-lineHeight);color:var(--gse-ui-tag-default-bold-foregroundColor);background-color:var(--gse-ui-tag-default-bold-backgroundColor);border-radius:var(--gse-ui-tag-borderRadius)}.gux-tag.gux-size-large{block-size:var(--gse-ui-tag-large-height);font-family:var(--gse-ui-tag-textLarge-fontFamily);font-size:var(--gse-ui-tag-textLarge-fontSize);font-weight:var(--gse-ui-tag-textLarge-fontWeight);line-height:var(--gse-ui-tag-textLarge-lineHeight)}.gux-tag.gux-size-large .gux-tag-remove-button:focus-within .gux-tag-remove-icon{outline-offset:10px}.gux-tag.gux-disabled{position:relative;user-select:none;opacity:var(--gse-ui-tag-disabled-opacity)}.gux-tag gux-tooltip-title{white-space:nowrap;cursor:default}.gux-tag gux-tooltip-title ::slotted(gux-icon){font-size:var(--gse-ui-tag-button-size)}.gux-tag .gux-sr-only:not(:focus):not(:active){position:absolute;width:1px;height:1px;overflow:hidden;white-space:nowrap;clip:rect(0 0 0 0);clip-path:inset(50%)}.gux-tag .gux-tag-remove-button{all:unset;display:flex;place-content:center center;align-items:center}.gux-tag .gux-tag-remove-button:not(:disabled):hover{cursor:pointer}.gux-tag .gux-tag-remove-button .gux-tag-remove-icon{inline-size:var(--gse-ui-tag-button-size);block-size:var(--gse-ui-tag-button-size);margin-inline-end:-4px}.gux-tag .gux-tag-remove-button:focus-within .gux-tag-remove-icon{outline:var(--gse-semantic-focusOutline-md-borderWidth) solid var(--gse-ui-color-focus);outline-offset:5px;border-radius:var(--gse-semantic-focusOutline-sm-borderRadius)}.gux-tag.gux-accent-default{color:var(--gse-ui-tag-default-bold-foregroundColor);background-color:var(--gse-ui-tag-default-bold-backgroundColor)}.gux-tag.gux-accent-default.gux-emphasis-subtle{color:var(--gse-ui-tag-default-subtle-foregroundColor);background-color:var(--gse-ui-tag-default-subtle-backgroundColor)}.gux-tag.gux-accent-1{color:var(--gse-ui-tag-accent1-bold-foregroundColor);background-color:var(--gse-ui-tag-accent1-bold-backgroundColor)}.gux-tag.gux-accent-1.gux-emphasis-subtle{color:var(--gse-ui-tag-accent1-subtle-foregroundColor);background-color:var(--gse-ui-tag-accent1-subtle-backgroundColor)}.gux-tag.gux-accent-2{color:var(--gse-ui-tag-accent2-bold-foregroundColor);background-color:var(--gse-ui-tag-accent2-bold-backgroundColor)}.gux-tag.gux-accent-2.gux-emphasis-subtle{color:var(--gse-ui-tag-accent2-subtle-foregroundColor);background-color:var(--gse-ui-tag-accent2-subtle-backgroundColor)}.gux-tag.gux-accent-3{color:var(--gse-ui-tag-accent3-bold-foregroundColor);background-color:var(--gse-ui-tag-accent3-bold-backgroundColor)}.gux-tag.gux-accent-3.gux-emphasis-subtle{color:var(--gse-ui-tag-accent3-subtle-foregroundColor);background-color:var(--gse-ui-tag-accent3-subtle-backgroundColor)}.gux-tag.gux-accent-4{color:var(--gse-ui-tag-accent4-bold-foregroundColor);background-color:var(--gse-ui-tag-accent4-bold-backgroundColor)}.gux-tag.gux-accent-4.gux-emphasis-subtle{color:var(--gse-ui-tag-accent4-subtle-foregroundColor);background-color:var(--gse-ui-tag-accent4-subtle-backgroundColor)}.gux-tag.gux-accent-5{color:var(--gse-ui-tag-accent5-bold-foregroundColor);background-color:var(--gse-ui-tag-accent5-bold-backgroundColor)}.gux-tag.gux-accent-5.gux-emphasis-subtle{color:var(--gse-ui-tag-accent5-subtle-foregroundColor);background-color:var(--gse-ui-tag-accent5-subtle-backgroundColor)}.gux-tag.gux-accent-6{color:var(--gse-ui-tag-accent6-bold-foregroundColor);background-color:var(--gse-ui-tag-accent6-bold-backgroundColor)}.gux-tag.gux-accent-6.gux-emphasis-subtle{color:var(--gse-ui-tag-accent6-subtle-foregroundColor);background-color:var(--gse-ui-tag-accent6-subtle-backgroundColor)}.gux-tag.gux-accent-7{color:var(--gse-ui-tag-accent7-bold-foregroundColor);background-color:var(--gse-ui-tag-accent7-bold-backgroundColor)}.gux-tag.gux-accent-7.gux-emphasis-subtle{color:var(--gse-ui-tag-accent7-subtle-foregroundColor);background-color:var(--gse-ui-tag-accent7-subtle-backgroundColor)}.gux-tag.gux-accent-8{color:var(--gse-ui-tag-accent8-bold-foregroundColor);background-color:var(--gse-ui-tag-accent8-bold-backgroundColor)}.gux-tag.gux-accent-8.gux-emphasis-subtle{color:var(--gse-ui-tag-accent8-subtle-foregroundColor);background-color:var(--gse-ui-tag-accent8-subtle-backgroundColor)}.gux-tag.gux-accent-9{color:var(--gse-ui-tag-accent9-bold-foregroundColor);background-color:var(--gse-ui-tag-accent9-bold-backgroundColor)}.gux-tag.gux-accent-9.gux-emphasis-subtle{color:var(--gse-ui-tag-accent9-subtle-foregroundColor);background-color:var(--gse-ui-tag-accent9-subtle-backgroundColor)}.gux-tag.gux-accent-10{color:var(--gse-ui-tag-accent10-bold-foregroundColor);background-color:var(--gse-ui-tag-accent10-bold-backgroundColor)}.gux-tag.gux-accent-10.gux-emphasis-subtle{color:var(--gse-ui-tag-accent10-subtle-foregroundColor);background-color:var(--gse-ui-tag-accent10-subtle-backgroundColor)}.gux-tag.gux-accent-inherit{color:inherit;background-color:inherit}";export{c as gux_tag}
@@ -1 +1 @@
1
- import{r as t,h as s,H as i,g as o}from"./p-c2a62a18.js";import{t as r}from"./p-331098f4.js";import{b as e}from"./p-16feb2a1.js";import{g as n,f as a,t as c}from"./p-bd48b8c8.js";import"./p-4202e9f2.js";const h=class{constructor(s){t(this,s),this.timeZoneId=void 0,this.offset=void 0,this.surroundOffset=void 0,this.shorten=void 0}renderZoneDisplay(){let t=this.i18n(this.timeZoneId);this.shorten&&(t=function(t){const s=t.split("/");return(null==s?void 0:s.pop())||t}(t));let i=t;if(this.offset){const s=function(t,s){const i=n().find((t=>t.name===s));return`${t}${a(null==i?void 0:i.currentTimeOffsetInMinutes)}`}(this.i18n("UTC"),this.timeZoneId);i=`${t} ${s}`,this.surroundOffset&&(i=`${t} (${s})`)}return s("span",null,i)}async componentWillLoad(){r(this.root),this.i18n=await e(this.root,c,"gux-time-zone-picker")}render(){return s(i,{key:"1022ccbeea3f4883dd1426de0746cfc839e343f3"},this.renderZoneDisplay())}get root(){return o(this)}};export{h as gux_time_zone_beta}
1
+ import{r as t,h as s,H as i,g as o}from"./p-c2a62a18.js";import{t as r}from"./p-bbf000c6.js";import{b as e}from"./p-16feb2a1.js";import{g as n,f as a,t as c}from"./p-bd48b8c8.js";import"./p-4202e9f2.js";const h=class{constructor(s){t(this,s),this.timeZoneId=void 0,this.offset=void 0,this.surroundOffset=void 0,this.shorten=void 0}renderZoneDisplay(){let t=this.i18n(this.timeZoneId);this.shorten&&(t=function(t){const s=t.split("/");return(null==s?void 0:s.pop())||t}(t));let i=t;if(this.offset){const s=function(t,s){const i=n().find((t=>t.name===s));return`${t}${a(null==i?void 0:i.currentTimeOffsetInMinutes)}`}(this.i18n("UTC"),this.timeZoneId);i=`${t} ${s}`,this.surroundOffset&&(i=`${t} (${s})`)}return s("span",null,i)}async componentWillLoad(){r(this.root),this.i18n=await e(this.root,c,"gux-time-zone-picker")}render(){return s(i,{key:"1022ccbeea3f4883dd1426de0746cfc839e343f3"},this.renderZoneDisplay())}get root(){return o(this)}};export{h as gux_time_zone_beta}
@@ -1 +1 @@
1
- import{r as t,c as s,h as i,H as a,g as e}from"./p-c2a62a18.js";import{t as c}from"./p-331098f4.js";const h=class{constructor(i){t(this,i),this.guxactivetabchange=s(this,"guxactivetabchange",7),this.activeTab=void 0,this.orientation="horizontal",this.alignment="left",this.tabList=void 0,this.tabPanels=[]}watchActiveTab(t){this.activateTab(t,this.tabList,this.tabPanels),this.guxactivetabchange.emit(t)}onInternalActivateTabPanel(t){t.stopPropagation(),this.activateTab(t.detail,this.tabList,this.tabPanels)}async guxActivate(t){this.activateTab(t,this.tabList,this.tabPanels)}onSlotchange(){const[t,s]=Array.from(this.root.shadowRoot.querySelectorAll("slot"));this.tabList=t.assignedElements()[0],this.tabPanels=s.assignedElements(),this.activateTab(this.activeTab,this.tabList,this.tabPanels)}activateTab(t,s,i){this.activeTab=t||i[0].tabId,null==s||s.guxSetActive(this.activeTab),null==i||i.forEach((t=>{t.guxSetActive(t.tabId===this.activeTab)}))}componentWillLoad(){c(this.root)}render(){return i(a,{key:"59f2b432cd381e17da4ee57d99fd82830ff3c1d6"},i("div",{key:"b73e257ccb22143b2c3753e7f76b1090194f5638",class:`gux-tabs gux-${this.alignment} gux-${this.orientation}`},i("slot",{key:"b55a7fce7e9f4b7531dddb07b927aa1e5cfbecd8",name:"tab-list"}),i("div",{key:"5470cb75f9430519f83b9aab18cb3b4bb9977be6",class:`gux-${this.alignment} gux-${this.orientation} gux-panel-container`},i("slot",{key:"af1f9bc074cc6d97c2dbbed1d566bda54b9a2ae6",onSlotchange:this.onSlotchange.bind(this)}))))}get root(){return e(this)}static get watchers(){return{activeTab:["watchActiveTab"]}}};h.style=":host{display:flex;flex-direction:column}:host .gux-tabs{display:flex;block-size:100%}:host .gux-tabs:not(.gux-vertical){flex-direction:column}:host .gux-panel-container{display:flex;flex:1 1 auto;flex-direction:column;block-size:100%;min-block-size:0}";export{h as gux_tabs}
1
+ import{r as t,c as s,h as i,H as a,g as e}from"./p-c2a62a18.js";import{t as c}from"./p-bbf000c6.js";const h=class{constructor(i){t(this,i),this.guxactivetabchange=s(this,"guxactivetabchange",7),this.activeTab=void 0,this.orientation="horizontal",this.alignment="left",this.tabList=void 0,this.tabPanels=[]}watchActiveTab(t){this.activateTab(t,this.tabList,this.tabPanels),this.guxactivetabchange.emit(t)}onInternalActivateTabPanel(t){t.stopPropagation(),this.activateTab(t.detail,this.tabList,this.tabPanels)}async guxActivate(t){this.activateTab(t,this.tabList,this.tabPanels)}onSlotchange(){const[t,s]=Array.from(this.root.shadowRoot.querySelectorAll("slot"));this.tabList=t.assignedElements()[0],this.tabPanels=s.assignedElements(),this.activateTab(this.activeTab,this.tabList,this.tabPanels)}activateTab(t,s,i){this.activeTab=t||i[0].tabId,null==s||s.guxSetActive(this.activeTab),null==i||i.forEach((t=>{t.guxSetActive(t.tabId===this.activeTab)}))}componentWillLoad(){c(this.root)}render(){return i(a,{key:"59f2b432cd381e17da4ee57d99fd82830ff3c1d6"},i("div",{key:"b73e257ccb22143b2c3753e7f76b1090194f5638",class:`gux-tabs gux-${this.alignment} gux-${this.orientation}`},i("slot",{key:"b55a7fce7e9f4b7531dddb07b927aa1e5cfbecd8",name:"tab-list"}),i("div",{key:"5470cb75f9430519f83b9aab18cb3b4bb9977be6",class:`gux-${this.alignment} gux-${this.orientation} gux-panel-container`},i("slot",{key:"af1f9bc074cc6d97c2dbbed1d566bda54b9a2ae6",onSlotchange:this.onSlotchange.bind(this)}))))}get root(){return e(this)}static get watchers(){return{activeTab:["watchActiveTab"]}}};h.style=":host{display:flex;flex-direction:column}:host .gux-tabs{display:flex;block-size:100%}:host .gux-tabs:not(.gux-vertical){flex-direction:column}:host .gux-panel-container{display:flex;flex:1 1 auto;flex-direction:column;block-size:100%;min-block-size:0}";export{h as gux_tabs}
@@ -1 +1 @@
1
- import{r as t,c as e,h as s,g as i}from"./p-c2a62a18.js";import{O as a}from"./p-6a2b1013.js";import{w as o}from"./p-e97879b4.js";import{a as r}from"./p-cf0e7d3b.js";import{t as n}from"./p-331098f4.js";const c=["primary","secondary","tertiary"];const u=class{constructor(s){t(this,s),this.open=e(this,"open",7),this.close=e(this,"close",7),this.disabled=!1,this.accent="secondary",this.isOpen=!1}handleKeydown(t){const e=t.composedPath();switch(t.key){case"Escape":this.isOpen=!1,e.includes(this.listElement)&&(t.preventDefault(),this.dropdownButton.focus());break;case"Tab":this.isOpen=!1}}handleKeyup(t){if(" "===t.key)t.composedPath().includes(this.dropdownButton)&&(this.isOpen=!0,this.focusFirstItemInPopupList())}watchDisabled(t){t&&(this.isOpen=!1)}watchValue(t){t?this.open.emit():(this.listElement.blur(),this.close.emit())}onClickOutside(){this.isOpen=!1}toggle(){this.disabled||(this.isOpen=!this.isOpen,this.isOpen&&this.focusPopupList())}focusPopupList(){r((()=>{this.listElement.focus()}))}focusFirstItemInPopupList(){r((()=>{this.listElement.guxFocusFirstItem()}))}onListClick(t){o("gux-list-item",t,(()=>{this.isOpen=!1,this.dropdownButton.focus()}))}componentWillLoad(){n(this.root,{variant:this.accent})}render(){return s("gux-popup",{key:"b93c218e443b7708675aecf20b5d4b2965a4ae0f",expanded:this.isOpen,"exceed-target-width":!0,placement:"bottom-end"},s("div",{key:"71544f057474bfa38d99eab121ae7873f08d0c9c",slot:"target",class:"gux-button-multi-container"},s("gux-button-slot",{key:"52cd56065cd383def92e7cc56a852707360e5ff5",class:"gux-dropdown-button",accent:(t=this.accent,c.find((e=>e===t))?t:"secondary")},s("button",{key:"cfac597b81a709fd3be4b439414a116e4abc4f5c",type:"button",disabled:this.disabled,ref:t=>this.dropdownButton=t,onMouseUp:()=>this.toggle(),"aria-haspopup":"true","aria-expanded":this.isOpen.toString()},s("slot",{key:"b33d0ab04060158058b68936c1a1b3414814b5b3",name:"title"}),s("gux-icon",{key:"e33e7b198e6e5c5b9a64c3a562ca66c27234a18e",size:"small",decorative:!0,"icon-name":"custom/chevron-down-small-regular"})))),s("div",{key:"efaf834bfe079d12f87726dd891fc5e0ba466b21",class:"gux-list-container",slot:"popup"},s("gux-list",{key:"bf3ece40db97ea59634fbdd73a454ea10d59bdd9",onClick:t=>this.onListClick(t),ref:t=>this.listElement=t},s("slot",{key:"c3bb4fb2aadee21dc89a5968130a3ffe1af7c648"}))));var t}static get delegatesFocus(){return!0}get root(){return i(this)}static get watchers(){return{disabled:["watchDisabled"],isOpen:["watchValue"]}}};(function(t,e,s,i){var a,o=arguments.length,r=o<3?e:null===i?i=Object.getOwnPropertyDescriptor(e,s):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)r=Reflect.decorate(t,e,s,i);else for(var n=t.length-1;n>=0;n--)(a=t[n])&&(r=(o<3?a(r):o>3?a(e,s,r):a(e,s))||r);o>3&&r&&Object.defineProperty(e,s,r)})([a({triggerEvents:"mousedown"})],u.prototype,"onClickOutside",null),u.style=":host{display:block;-webkit-user-select:none;user-select:none}.gux-button-multi-container .gux-dropdown-button button{display:inline-flex;align-items:center}.gux-button-multi-container .gux-dropdown-button button gux-icon{margin-inline-start:var(--gse-ui-button-gap)}.gux-list-container{max-inline-size:220px;margin:0;overflow-y:auto;background:var(--gse-ui-menu-backgroundColor);border-color:var(--gse-ui-menu-border-color);border-style:var(--gse-ui-menu-border-style);border-width:var(--gse-ui-menu-border-width);border-radius:var(--gse-ui-menu-borderRadius);box-shadow:var(--gse-ui-menu-boxShadow)}";export{u as gux_button_multi}
1
+ import{r as t,c as e,h as s,g as i}from"./p-c2a62a18.js";import{O as a}from"./p-6a2b1013.js";import{w as o}from"./p-e97879b4.js";import{a as r}from"./p-cf0e7d3b.js";import{t as n}from"./p-bbf000c6.js";const c=["primary","secondary","tertiary"];const u=class{constructor(s){t(this,s),this.open=e(this,"open",7),this.close=e(this,"close",7),this.disabled=!1,this.accent="secondary",this.isOpen=!1}handleKeydown(t){const e=t.composedPath();switch(t.key){case"Escape":this.isOpen=!1,e.includes(this.listElement)&&(t.preventDefault(),this.dropdownButton.focus());break;case"Tab":this.isOpen=!1}}handleKeyup(t){if(" "===t.key)t.composedPath().includes(this.dropdownButton)&&(this.isOpen=!0,this.focusFirstItemInPopupList())}watchDisabled(t){t&&(this.isOpen=!1)}watchValue(t){t?this.open.emit():(this.listElement.blur(),this.close.emit())}onClickOutside(){this.isOpen=!1}toggle(){this.disabled||(this.isOpen=!this.isOpen,this.isOpen&&this.focusPopupList())}focusPopupList(){r((()=>{this.listElement.focus()}))}focusFirstItemInPopupList(){r((()=>{this.listElement.guxFocusFirstItem()}))}onListClick(t){o("gux-list-item",t,(()=>{this.isOpen=!1,this.dropdownButton.focus()}))}componentWillLoad(){n(this.root,{variant:this.accent})}render(){return s("gux-popup",{key:"b93c218e443b7708675aecf20b5d4b2965a4ae0f",expanded:this.isOpen,"exceed-target-width":!0,placement:"bottom-end"},s("div",{key:"71544f057474bfa38d99eab121ae7873f08d0c9c",slot:"target",class:"gux-button-multi-container"},s("gux-button-slot",{key:"52cd56065cd383def92e7cc56a852707360e5ff5",class:"gux-dropdown-button",accent:(t=this.accent,c.find((e=>e===t))?t:"secondary")},s("button",{key:"cfac597b81a709fd3be4b439414a116e4abc4f5c",type:"button",disabled:this.disabled,ref:t=>this.dropdownButton=t,onMouseUp:()=>this.toggle(),"aria-haspopup":"true","aria-expanded":this.isOpen.toString()},s("slot",{key:"b33d0ab04060158058b68936c1a1b3414814b5b3",name:"title"}),s("gux-icon",{key:"e33e7b198e6e5c5b9a64c3a562ca66c27234a18e",size:"small",decorative:!0,"icon-name":"custom/chevron-down-small-regular"})))),s("div",{key:"efaf834bfe079d12f87726dd891fc5e0ba466b21",class:"gux-list-container",slot:"popup"},s("gux-list",{key:"bf3ece40db97ea59634fbdd73a454ea10d59bdd9",onClick:t=>this.onListClick(t),ref:t=>this.listElement=t},s("slot",{key:"c3bb4fb2aadee21dc89a5968130a3ffe1af7c648"}))));var t}static get delegatesFocus(){return!0}get root(){return i(this)}static get watchers(){return{disabled:["watchDisabled"],isOpen:["watchValue"]}}};(function(t,e,s,i){var a,o=arguments.length,r=o<3?e:null===i?i=Object.getOwnPropertyDescriptor(e,s):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)r=Reflect.decorate(t,e,s,i);else for(var n=t.length-1;n>=0;n--)(a=t[n])&&(r=(o<3?a(r):o>3?a(e,s,r):a(e,s))||r);o>3&&r&&Object.defineProperty(e,s,r)})([a({triggerEvents:"mousedown"})],u.prototype,"onClickOutside",null),u.style=":host{display:block;-webkit-user-select:none;user-select:none}.gux-button-multi-container .gux-dropdown-button button{display:inline-flex;align-items:center}.gux-button-multi-container .gux-dropdown-button button gux-icon{margin-inline-start:var(--gse-ui-button-gap)}.gux-list-container{max-inline-size:220px;margin:0;overflow-y:auto;background:var(--gse-ui-menu-backgroundColor);border-color:var(--gse-ui-menu-border-color);border-style:var(--gse-ui-menu-border-style);border-width:var(--gse-ui-menu-border-width);border-radius:var(--gse-ui-menu-borderRadius);box-shadow:var(--gse-ui-menu-boxShadow)}";export{u as gux_button_multi}
@@ -1 +1 @@
1
- import{r as t,h as s,g as o}from"./p-c2a62a18.js";import{t as i}from"./p-331098f4.js";import{b as r}from"./p-16feb2a1.js";import{t as e}from"./p-f01d2320.js";import{h as n,r as a}from"./p-b2e29026.js";import"./p-4202e9f2.js";import"./p-43af726d.js";const u=class{constructor(s){t(this,s),this.action=void 0,this.disabled=!1,this.isActive=!1}async componentWillLoad(){i(this.root,{variant:this.action}),this.i18n=await r(this.root,e)}renderTooltip(){if(!this.disabled)return s("gux-tooltip-beta",null,s("div",{slot:"content"},this.i18n(this.action)))}renderActionButton(){return s("gux-button-slot",{accent:"ghost","icon-only":!0},s("button",{type:"button",disabled:this.disabled||n(this.root),class:{"gux-is-pressed":this.isActive},"aria-pressed":this.isActive.toString()},s("gux-icon",{"icon-name":a(this.action),"screenreader-text":this.i18n(this.action),size:"small"})),this.renderTooltip())}render(){return this.renderActionButton()}get root(){return o(this)}};u.style=":host{display:block}gux-button-slot{inline-size:var(--gse-ui-button-iconOnly-width);block-size:var(--gse-ui-button-default-height)}gux-button-slot button.gux-is-pressed{color:var(--gse-ui-button-ghost-active-foregroundColor);background-color:var(--gse-ui-button-ghost-active-backgroundColor)}";export{u as gux_rich_text_editor_action}
1
+ import{r as t,h as s,g as o}from"./p-c2a62a18.js";import{t as i}from"./p-bbf000c6.js";import{b as r}from"./p-16feb2a1.js";import{t as e}from"./p-f01d2320.js";import{h as n,r as a}from"./p-b2e29026.js";import"./p-4202e9f2.js";import"./p-43af726d.js";const u=class{constructor(s){t(this,s),this.action=void 0,this.disabled=!1,this.isActive=!1}async componentWillLoad(){i(this.root,{variant:this.action}),this.i18n=await r(this.root,e)}renderTooltip(){if(!this.disabled)return s("gux-tooltip-beta",null,s("div",{slot:"content"},this.i18n(this.action)))}renderActionButton(){return s("gux-button-slot",{accent:"ghost","icon-only":!0},s("button",{type:"button",disabled:this.disabled||n(this.root),class:{"gux-is-pressed":this.isActive},"aria-pressed":this.isActive.toString()},s("gux-icon",{"icon-name":a(this.action),"screenreader-text":this.i18n(this.action),size:"small"})),this.renderTooltip())}render(){return this.renderActionButton()}get root(){return o(this)}};u.style=":host{display:block}gux-button-slot{inline-size:var(--gse-ui-button-iconOnly-width);block-size:var(--gse-ui-button-default-height)}gux-button-slot button.gux-is-pressed{color:var(--gse-ui-button-ghost-active-foregroundColor);background-color:var(--gse-ui-button-ghost-active-backgroundColor)}";export{u as gux_rich_text_editor_action}
@@ -1 +1 @@
1
- import{r as o,h as r,g as t}from"./p-c2a62a18.js";import{t as e}from"./p-331098f4.js";import{b as i}from"./p-16feb2a1.js";import"./p-4202e9f2.js";const n={clear:"Clear"},a=class{constructor(r){o(this,r)}async componentWillLoad(){e(this.root),this.i18n=await i(this.root,n)}render(){return r("button",{key:"500db590703c90de1425f14e61e90755f5900dc9",tabIndex:-1,type:"button",title:this.i18n("clear")},r("gux-icon",{key:"2c7b1bdcbec8eca95932e83c0f622cc65acfdcf7","icon-name":"fa/xmark-large-regular",decorative:!0,size:"small"}))}static get delegatesFocus(){return!0}get root(){return t(this)}};a.style="button{display:flex;padding:0;color:var(--gse-ui-formControl-input-inputClearable-inputClearableColor);background:transparent;border:none;border-radius:var(--gse-ui-formControl-input-borderRadius)}button:not(:disabled):focus-visible,button:not(:disabled):hover{color:var(--gse-ui-formControl-input-inputIcon-iconEndColor);cursor:pointer}button gux-icon{border-radius:var(--gse-ui-formControl-input-borderRadius)}button:focus{outline:none}button:focus-visible:enabled gux-icon{outline:var(--gse-ui-formControl-input-focus-border-width) var(--gse-ui-formControl-input-focus-border-style) var(--gse-ui-formControl-input-focus-border-color);border:var(--gse-ui-formControl-input-active-border-width) var(--gse-ui-formControl-input-active-border-style) var(--gse-ui-formControl-input-active-border-color);border-radius:var(--gse-ui-formControl-focusRing-borderRadius)}";export{a as gux_form_field_input_clear_button}
1
+ import{r as o,h as r,g as t}from"./p-c2a62a18.js";import{t as e}from"./p-bbf000c6.js";import{b as i}from"./p-16feb2a1.js";import"./p-4202e9f2.js";const n={clear:"Clear"},a=class{constructor(r){o(this,r)}async componentWillLoad(){e(this.root),this.i18n=await i(this.root,n)}render(){return r("button",{key:"500db590703c90de1425f14e61e90755f5900dc9",tabIndex:-1,type:"button",title:this.i18n("clear")},r("gux-icon",{key:"2c7b1bdcbec8eca95932e83c0f622cc65acfdcf7","icon-name":"fa/xmark-large-regular",decorative:!0,size:"small"}))}static get delegatesFocus(){return!0}get root(){return t(this)}};a.style="button{display:flex;padding:0;color:var(--gse-ui-formControl-input-inputClearable-inputClearableColor);background:transparent;border:none;border-radius:var(--gse-ui-formControl-input-borderRadius)}button:not(:disabled):focus-visible,button:not(:disabled):hover{color:var(--gse-ui-formControl-input-inputIcon-iconEndColor);cursor:pointer}button gux-icon{border-radius:var(--gse-ui-formControl-input-borderRadius)}button:focus{outline:none}button:focus-visible:enabled gux-icon{outline:var(--gse-ui-formControl-input-focus-border-width) var(--gse-ui-formControl-input-focus-border-style) var(--gse-ui-formControl-input-focus-border-color);border:var(--gse-ui-formControl-input-active-border-width) var(--gse-ui-formControl-input-active-border-style) var(--gse-ui-formControl-input-active-border-color);border-radius:var(--gse-ui-formControl-focusRing-borderRadius)}";export{a as gux_form_field_input_clear_button}
@@ -1 +1 @@
1
- import{r as a,c as t,d as i,h as e,g as n}from"./p-c2a62a18.js";import{a as s}from"./p-cf0e7d3b.js";import{t as o}from"./p-331098f4.js";const r=class{constructor(i){a(this,i),this.guxpaginationchange=t(this,"guxpaginationchange",7),this.reinstateLayoutBreakpoint=0,this.layout="advanced",this.currentPage=1,this.totalItems=0,this.itemsPerPage=25,this.disabled=!1,this.totalPages=void 0,this.displayedLayout=void 0}setPage(a){if(a<=0)return void this.setPage(1);const t=this.calculateTotalPages(this.totalItems,this.itemsPerPage);a>t?this.setPage(t):(this.currentPage=a,this.guxpaginationchange.emit({currentPage:this.currentPage,itemsPerPage:this.itemsPerPage}))}handleInternalitemsperpagechange(a){this.itemsPerPage=a.detail,this.setPage(1)}handleInternalcurrentpagechange(a){this.setPage(a.detail)}calculateTotalPages(a,t){return Math.max(1,Math.ceil(a/t))}calculateCurrentPage(a,t){return Math.max(a>0?1:0,Math.min(t,a))}checkPaginationContainerWidthForLayout(){i((()=>{const a=this.root.shadowRoot.querySelector(".gux-pagination-container"),t=this.root.shadowRoot.querySelector(".gux-pagination-spacer"),i=a.clientWidth;t.clientWidth<24&&"simple"!==this.displayedLayout?(this.reinstateLayoutBreakpoint=i,this.displayedLayout="simple"):i>this.reinstateLayoutBreakpoint&&(this.reinstateLayoutBreakpoint=0,this.displayedLayout=this.layout)}))}componentWillLoad(){o(this.root,{variant:this.layout})}componentWillRender(){this.totalPages=this.calculateTotalPages(this.totalItems,this.itemsPerPage),this.currentPage=this.calculateCurrentPage(this.totalPages,this.currentPage)}disconnectedCallback(){this.resizeObserver&&this.resizeObserver.unobserve(this.root.shadowRoot.querySelector(".gux-pagination-container"))}componentDidLoad(){!this.resizeObserver&&window.ResizeObserver&&(this.resizeObserver=new ResizeObserver((()=>this.checkPaginationContainerWidthForLayout()))),this.resizeObserver&&this.resizeObserver.observe(this.root.shadowRoot.querySelector(".gux-pagination-container")),s((()=>{this.checkPaginationContainerWidthForLayout()}),500)}render(){return e("div",{key:"ab80ebee1af46479f8eae973af6679c79405da16",class:"gux-pagination-container"},e("div",{key:"4c6aeb301b42afa7bc14a7de6790120751c9671e",class:"gux-pagination-info"},e("gux-pagination-item-counts",{key:"c035fcffebb711015c1e5ffa6b8b9cc86fb5f644","total-items":this.totalItems,"current-page":this.currentPage,"items-per-page":this.itemsPerPage}),"advanced"===this.displayedLayout&&e("gux-pagination-items-per-page",{key:"35215fa57042ce0a78edb2f0719f3f6911da6d26",disabled:this.disabled,"items-per-page":this.itemsPerPage,onInternalitemsperpagechange:this.handleInternalitemsperpagechange.bind(this)})),e("div",{key:"9e87a9952a7c644ce1f6b2b95d627cc42008c35a",class:"gux-pagination-spacer"}),e("div",{key:"3b14239802f226ea45cfb08ed0de2528726e9223",class:"gux-pagination-change"},e("gux-pagination-buttons",{key:"1f7a5dce93ecb7797ee34a83a779c44ed563ccea",disabled:this.disabled,layout:this.displayedLayout,"current-page":this.currentPage,"total-pages":this.totalPages,onInternalcurrentpagechange:this.handleInternalcurrentpagechange.bind(this)})))}get root(){return n(this)}};r.style=":host{display:block;block-size:var(--gse-ui-dataTableItems-cell-tablePagination-height);border-block-start: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;padding:var(--gse-ui-dataTableItems-tablePagination-padding);background-color:var(--gse-ui-dataTableItems-tablePagination-defaultBackgroundColor)}.gux-pagination-container .gux-pagination-info{display:flex;flex:0 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-spacer{flex:1 1 auto;align-self:auto;order:0}.gux-pagination-container .gux-pagination-change{flex:0 1 auto;align-self:auto;order:0}.gux-pagination-container .gux-pagination-change:first-child{margin-inline-start:0}";export{r as gux_pagination}
1
+ import{r as a,c as t,d as i,h as e,g as n}from"./p-c2a62a18.js";import{a as s}from"./p-cf0e7d3b.js";import{t as o}from"./p-bbf000c6.js";const r=class{constructor(i){a(this,i),this.guxpaginationchange=t(this,"guxpaginationchange",7),this.reinstateLayoutBreakpoint=0,this.layout="advanced",this.currentPage=1,this.totalItems=0,this.itemsPerPage=25,this.disabled=!1,this.totalPages=void 0,this.displayedLayout=void 0}setPage(a){if(a<=0)return void this.setPage(1);const t=this.calculateTotalPages(this.totalItems,this.itemsPerPage);a>t?this.setPage(t):(this.currentPage=a,this.guxpaginationchange.emit({currentPage:this.currentPage,itemsPerPage:this.itemsPerPage}))}handleInternalitemsperpagechange(a){this.itemsPerPage=a.detail,this.setPage(1)}handleInternalcurrentpagechange(a){this.setPage(a.detail)}calculateTotalPages(a,t){return Math.max(1,Math.ceil(a/t))}calculateCurrentPage(a,t){return Math.max(a>0?1:0,Math.min(t,a))}checkPaginationContainerWidthForLayout(){i((()=>{const a=this.root.shadowRoot.querySelector(".gux-pagination-container"),t=this.root.shadowRoot.querySelector(".gux-pagination-spacer"),i=a.clientWidth;t.clientWidth<24&&"simple"!==this.displayedLayout?(this.reinstateLayoutBreakpoint=i,this.displayedLayout="simple"):i>this.reinstateLayoutBreakpoint&&(this.reinstateLayoutBreakpoint=0,this.displayedLayout=this.layout)}))}componentWillLoad(){o(this.root,{variant:this.layout})}componentWillRender(){this.totalPages=this.calculateTotalPages(this.totalItems,this.itemsPerPage),this.currentPage=this.calculateCurrentPage(this.totalPages,this.currentPage)}disconnectedCallback(){this.resizeObserver&&this.resizeObserver.unobserve(this.root.shadowRoot.querySelector(".gux-pagination-container"))}componentDidLoad(){!this.resizeObserver&&window.ResizeObserver&&(this.resizeObserver=new ResizeObserver((()=>this.checkPaginationContainerWidthForLayout()))),this.resizeObserver&&this.resizeObserver.observe(this.root.shadowRoot.querySelector(".gux-pagination-container")),s((()=>{this.checkPaginationContainerWidthForLayout()}),500)}render(){return e("div",{key:"ab80ebee1af46479f8eae973af6679c79405da16",class:"gux-pagination-container"},e("div",{key:"4c6aeb301b42afa7bc14a7de6790120751c9671e",class:"gux-pagination-info"},e("gux-pagination-item-counts",{key:"c035fcffebb711015c1e5ffa6b8b9cc86fb5f644","total-items":this.totalItems,"current-page":this.currentPage,"items-per-page":this.itemsPerPage}),"advanced"===this.displayedLayout&&e("gux-pagination-items-per-page",{key:"35215fa57042ce0a78edb2f0719f3f6911da6d26",disabled:this.disabled,"items-per-page":this.itemsPerPage,onInternalitemsperpagechange:this.handleInternalitemsperpagechange.bind(this)})),e("div",{key:"9e87a9952a7c644ce1f6b2b95d627cc42008c35a",class:"gux-pagination-spacer"}),e("div",{key:"3b14239802f226ea45cfb08ed0de2528726e9223",class:"gux-pagination-change"},e("gux-pagination-buttons",{key:"1f7a5dce93ecb7797ee34a83a779c44ed563ccea",disabled:this.disabled,layout:this.displayedLayout,"current-page":this.currentPage,"total-pages":this.totalPages,onInternalcurrentpagechange:this.handleInternalcurrentpagechange.bind(this)})))}get root(){return n(this)}};r.style=":host{display:block;block-size:var(--gse-ui-dataTableItems-cell-tablePagination-height);border-block-start: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;padding:var(--gse-ui-dataTableItems-tablePagination-padding);background-color:var(--gse-ui-dataTableItems-tablePagination-defaultBackgroundColor)}.gux-pagination-container .gux-pagination-info{display:flex;flex:0 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-spacer{flex:1 1 auto;align-self:auto;order:0}.gux-pagination-container .gux-pagination-change{flex:0 1 auto;align-self:auto;order:0}.gux-pagination-container .gux-pagination-change:first-child{margin-inline-start:0}";export{r as gux_pagination}
@@ -1 +1 @@
1
- import{r as e,h as a,g as n}from"./p-c2a62a18.js";import{t as i}from"./p-331098f4.js";const g=class{constructor(a){e(this,a)}componentWillLoad(){i(this.root)}render(){return a("div",{key:"6f87842cf585d49bf35bde269d05d2a9b291de68",class:"gux-container",role:"alert","aria-live":"assertive"},a("div",{key:"e6dd8b3cb5ac0693196a4a660edec735a53d4246",class:"gux-progress"},a("slot",{key:"d169e7f1d27877a46b59607c8430607674b9b94c",name:"progress"})),a("div",{key:"52b10f99bf03d5657ca48085e63a4f47a439142c",class:"gux-primary-message"},a("slot",{key:"afe619e24b1ccdfe7bd2f42a75154a4ae023b0c7",name:"primary-message"})),a("div",{key:"1d0559c5eb005a2f3b935a116ac0675aeafe293f",class:"gux-additional-guidance"},a("slot",{key:"b932512e533820dc29acfbea5c856a99423c72fa",name:"additional-guidance"})))}get root(){return n(this)}};g.style=":host {\n display: flex;\n flex-direction: column;\n align-items: center;\n justify-content: center;\n container-type: inline-size;\n}\n\n.gux-container {\n display: flex;\n flex-direction: column;\n align-items: center;\n justify-content: center;\n max-inline-size: var(--gse-ui-progressAndLoading-loadingState-large-width);\n color: var(--gse-ui-progressAndLoading-textColor);\n text-align: center;\n}\n\n@container (width > 400px) {\n .gux-container .gux-primary-message {\n margin-block-start: var(--gse-ui-progressAndLoading-large-gap);\n font-family: var(--gse-ui-progressAndLoading-loadingState-large-header-fontFamily);\n font-size: var(--gse-ui-progressAndLoading-loadingState-large-header-fontSize);\n font-weight: var(--gse-ui-progressAndLoading-loadingState-large-header-fontWeight);\n line-height: var(--gse-ui-progressAndLoading-loadingState-large-header-lineHeight);\n }\n .gux-container .gux-additional-guidance {\n margin-block-start: var(--gse-ui-progressAndLoading-large-gapText);\n font-family: var(--gse-ui-progressAndLoading-loadingState-large-subheader-fontFamily);\n font-size: var(--gse-ui-progressAndLoading-loadingState-large-subheader-fontSize);\n font-weight: var(--gse-ui-progressAndLoading-loadingState-large-subheader-fontWeight);\n line-height: var(--gse-ui-progressAndLoading-loadingState-large-subheader-lineHeight);\n }\n}\n@container (width > 200px) and (width <=400px) {\n .gux-container .gux-primary-message {\n margin-block-start: var(--gse-ui-progressAndLoading-medium-gap);\n font-family: var(--gse-ui-progressAndLoading-loadingState-medium-header-fontFamily);\n font-size: var(--gse-ui-progressAndLoading-loadingState-medium-header-fontSize);\n font-weight: var(--gse-ui-progressAndLoading-loadingState-medium-header-fontWeight);\n line-height: var(--gse-ui-progressAndLoading-loadingState-medium-header-lineHeight);\n }\n .gux-container .gux-additional-guidance {\n margin-block-start: var(--gse-ui-progressAndLoading-medium-gapText);\n font-family: var(--gse-ui-progressAndLoading-loadingState-medium-subheader-fontFamily);\n font-size: var(--gse-ui-progressAndLoading-loadingState-medium-subheader-fontSize);\n font-weight: var(--gse-ui-progressAndLoading-loadingState-medium-subheader-fontWeight);\n line-height: var(--gse-ui-progressAndLoading-loadingState-medium-subheader-lineHeight);\n }\n}\n@container (width <=200px) {\n .gux-container .gux-primary-message {\n margin-block-start: var(--gse-ui-progressAndLoading-small-gap);\n font-family: var(--gse-ui-progressAndLoading-loadingState-small-header-fontFamily);\n font-size: var(--gse-ui-progressAndLoading-loadingState-small-header-fontSize);\n font-weight: var(--gse-ui-progressAndLoading-loadingState-small-header-fontWeight);\n line-height: var(--gse-ui-progressAndLoading-loadingState-small-header-lineHeight);\n }\n .gux-container .gux-additional-guidance {\n margin-block-start: var(--gse-ui-progressAndLoading-small-gapText);\n font-family: var(--gse-ui-progressAndLoading-loadingState-small-subheader-fontFamily);\n font-size: var(--gse-ui-progressAndLoading-loadingState-small-subheader-fontSize);\n font-weight: var(--gse-ui-progressAndLoading-loadingState-small-subheader-fontWeight);\n line-height: var(--gse-ui-progressAndLoading-loadingState-small-subheader-lineHeight);\n }\n}";export{g as gux_loading_message}
1
+ import{r as e,h as a,g as n}from"./p-c2a62a18.js";import{t as i}from"./p-bbf000c6.js";const g=class{constructor(a){e(this,a)}componentWillLoad(){i(this.root)}render(){return a("div",{key:"6f87842cf585d49bf35bde269d05d2a9b291de68",class:"gux-container",role:"alert","aria-live":"assertive"},a("div",{key:"e6dd8b3cb5ac0693196a4a660edec735a53d4246",class:"gux-progress"},a("slot",{key:"d169e7f1d27877a46b59607c8430607674b9b94c",name:"progress"})),a("div",{key:"52b10f99bf03d5657ca48085e63a4f47a439142c",class:"gux-primary-message"},a("slot",{key:"afe619e24b1ccdfe7bd2f42a75154a4ae023b0c7",name:"primary-message"})),a("div",{key:"1d0559c5eb005a2f3b935a116ac0675aeafe293f",class:"gux-additional-guidance"},a("slot",{key:"b932512e533820dc29acfbea5c856a99423c72fa",name:"additional-guidance"})))}get root(){return n(this)}};g.style=":host {\n display: flex;\n flex-direction: column;\n align-items: center;\n justify-content: center;\n container-type: inline-size;\n}\n\n.gux-container {\n display: flex;\n flex-direction: column;\n align-items: center;\n justify-content: center;\n max-inline-size: var(--gse-ui-progressAndLoading-loadingState-large-width);\n color: var(--gse-ui-progressAndLoading-textColor);\n text-align: center;\n}\n\n@container (width > 400px) {\n .gux-container .gux-primary-message {\n margin-block-start: var(--gse-ui-progressAndLoading-large-gap);\n font-family: var(--gse-ui-progressAndLoading-loadingState-large-header-fontFamily);\n font-size: var(--gse-ui-progressAndLoading-loadingState-large-header-fontSize);\n font-weight: var(--gse-ui-progressAndLoading-loadingState-large-header-fontWeight);\n line-height: var(--gse-ui-progressAndLoading-loadingState-large-header-lineHeight);\n }\n .gux-container .gux-additional-guidance {\n margin-block-start: var(--gse-ui-progressAndLoading-large-gapText);\n font-family: var(--gse-ui-progressAndLoading-loadingState-large-subheader-fontFamily);\n font-size: var(--gse-ui-progressAndLoading-loadingState-large-subheader-fontSize);\n font-weight: var(--gse-ui-progressAndLoading-loadingState-large-subheader-fontWeight);\n line-height: var(--gse-ui-progressAndLoading-loadingState-large-subheader-lineHeight);\n }\n}\n@container (width > 200px) and (width <=400px) {\n .gux-container .gux-primary-message {\n margin-block-start: var(--gse-ui-progressAndLoading-medium-gap);\n font-family: var(--gse-ui-progressAndLoading-loadingState-medium-header-fontFamily);\n font-size: var(--gse-ui-progressAndLoading-loadingState-medium-header-fontSize);\n font-weight: var(--gse-ui-progressAndLoading-loadingState-medium-header-fontWeight);\n line-height: var(--gse-ui-progressAndLoading-loadingState-medium-header-lineHeight);\n }\n .gux-container .gux-additional-guidance {\n margin-block-start: var(--gse-ui-progressAndLoading-medium-gapText);\n font-family: var(--gse-ui-progressAndLoading-loadingState-medium-subheader-fontFamily);\n font-size: var(--gse-ui-progressAndLoading-loadingState-medium-subheader-fontSize);\n font-weight: var(--gse-ui-progressAndLoading-loadingState-medium-subheader-fontWeight);\n line-height: var(--gse-ui-progressAndLoading-loadingState-medium-subheader-lineHeight);\n }\n}\n@container (width <=200px) {\n .gux-container .gux-primary-message {\n margin-block-start: var(--gse-ui-progressAndLoading-small-gap);\n font-family: var(--gse-ui-progressAndLoading-loadingState-small-header-fontFamily);\n font-size: var(--gse-ui-progressAndLoading-loadingState-small-header-fontSize);\n font-weight: var(--gse-ui-progressAndLoading-loadingState-small-header-fontWeight);\n line-height: var(--gse-ui-progressAndLoading-loadingState-small-header-lineHeight);\n }\n .gux-container .gux-additional-guidance {\n margin-block-start: var(--gse-ui-progressAndLoading-small-gapText);\n font-family: var(--gse-ui-progressAndLoading-loadingState-small-subheader-fontFamily);\n font-size: var(--gse-ui-progressAndLoading-loadingState-small-subheader-fontSize);\n font-weight: var(--gse-ui-progressAndLoading-loadingState-small-subheader-fontWeight);\n line-height: var(--gse-ui-progressAndLoading-loadingState-small-subheader-lineHeight);\n }\n}";export{g as gux_loading_message}
@@ -1 +1 @@
1
- import{a as e,r,h as a,g as l}from"./p-c2a62a18.js";import{t as o}from"./p-331098f4.js";import{l as s}from"./p-8eaf8caf.js";const t=["fa/arrow-left-to-line-solid","fa/arrow-right-to-line-solid"],i={"8x8":"custom/8x8","8x8-alt":"custom/8x8-solid",add:"fa/plus-regular","add-circle":"fa/circle-plus-regular",agent:"fa/head-side-headphones-regular","agent-circle":"custom/circle-head-side-headphones-regular","agent-group":"fa/people-group-regular","alert-info":"fa/circle-info-regular","alert-success":"deprecated/fa/circle-check-regular","alert-warning-octogon":"fa/hexagon-exclamation-regular","alert-warning-triangle":"fa/triangle-exclamation-regular",android:"fa/android","app-chart":"fa/square-poll-vertical-regular","app-generic":"fa/browser-regular","app-layout":"fa/table-layout-regular","app-table":"fa/table-regular",apple:"fa/apple",archive:"fa/box-archive-regular","arrow-down":"fa/arrow-down-regular","arrow-down-left":"fa/arrow-down-left-regular","arrow-down-right":"fa/arrow-down-right-regular","arrow-left":"fa/arrow-left-regular","arrow-right":"fa/arrow-right-regular","arrow-solid-down":"fa/caret-down-solid","arrow-solid-left":"fa/caret-left-solid","arrow-solid-right":"fa/caret-right-solid","arrow-solid-up":"fa/caret-up-solid","arrow-up":"fa/arrow-up-regular","arrow-up-left":"fa/arrow-up-left-regular","arrow-up-right":"fa/arrow-up-right-regular",at:"fa/at-regular",attachment:"fa/paperclip-regular",backspace:"fa/delete-left-regular","badge-amount":"fa/circle-0-solid","badge-check":"fa/circle-check-solid","badge-edit":"fa/pen-circle-regular","badge-file":"deprecated/badge-file","badge-pause":"fa/circle-pause-solid","badge-x":"fa/circle-xmark-solid","ban-outline":"deprecated/fa/ban-regular",bell:"fa/bell-regular",bolt:"fa/bolt-regular",bot:"fa/robot-regular",branch:"fa/code-branch-regular",bug:"fa/bug-regular",bus:"fa/bus-simple-regular",calendar:"fa/calendar-regular","calendar-add":"fa/calendar-plus-regular","calendar-clock":"fa/calendar-clock-regular",campaign:"fa/bullhorn-regular",certificate:"fa/file-certificate-regular",chat:"fa/message-lines-regular","chat-bell":"custom/message-bell-regular","chat-close":"fa/message-xmark-regular","chat-disable":"fa/message-slash-regular","chat-multi":"fa/messages-regular","chat-notification-score":"custom/message-bell-regular",checkbox:"fa/square-regular","checkbox-active":"fa/square-check-solid","checkbox-partial":"fa/square-minus-regular",checkmark:"custom/check-small-regular","chevron-double-down":"fa/chevrons-down-regular","chevron-double-left":"fa/chevrons-left-regular","chevron-double-right":"fa/chevrons-right-regular","chevron-double-up":"fa/chevrons-up-regular","chevron-left":"fa/chevron-left-regular","chevron-right":"fa/chevron-right-regular","chevron-small-down":"custom/chevron-down-small-regular","chevron-small-left":"custom/chevron-left-small-regular","chevron-small-right":"custom/chevron-right-small-regular","chevron-small-up":"custom/chevron-up-small-regular",chrome:"fa/chrome","cjv-badge-file":"fa/file-regular","cjv-calendar-clock":"fa/calendar-clock-regular","cjv-custom-default":"deprecated/cjv-custom-default","cjv-custom-event":"fa/circle-star-solid","cjv-custom-session":"custom/rectangules-arrow-left-to-right-regular","cjv-default-event":"fa/circle-star-solid","cjv-delivery":"fa/truck-regular","cjv-finance-invoice":"fa/file-invoice-dollar-regular","cjv-form-abandoned":"fa/file-circle-xmark-regular","cjv-form-submitted":"custom/file-arrow-up-regular","cjv-generic-application":"fa/file-user-regular","cjv-offer-closed":"fa/circle-xmark-solid","cjv-offer-ignored":"fa/subtract-circle-solid","cjv-offer-offered":"fa/circle-chevron-right-solid","cjv-offer-opened":"fa/badge-check-solid","cjv-outcome-achieved":"fa/circle-check-solid","cjv-page-view":"fa/circle-dot-regular","cjv-policy-contract":"fa/file-contract-regular","cjv-product-added":"fa/cart-circle-plus-regular","cjv-product-purchased":"fa/cart-circle-check-regular","cjv-product-removed":"fa/cart-circle-xmark-regular","cjv-search":"fa/magnifying-glass-regular","cjv-segment":"fa/chart-pie-simple-regular","cjv-segment-assigned":"fa/circle-quarter-regular","cjv-web-session":"fa/globe-regular","cjv-webchat-accepted":"fa/message-check-solid","cjv-webchat-error":"fa/message-xmark-solid","cjv-webchat-ignored":"fa/message-minus-solid","cjv-webchat-offered":"fa/message-arrow-up-right-solid","cjv-webchat-rejected":"fa/message-xmark-solid","cjv-webchat-requested":"fa/message-plus-solid","cjv-webchat-submitted":"fa/message-arrow-up-solid","cjv-webchat-timeout":"fa/timer-regular",clipboard:"fa/clipboard-regular","clipboard-error":"fa/clipboard-question-regular","clipboard-success":"fa/clipboard-check-regular",clock:"fa/clock-regular","clock-outline":"fa/clock-regular",clone:"fa/clone-regular",close:"fa/xmark-large-regular","close-circle":"deprecated/fa/circle-xmark-regular",cloud:"fa/cloud-regular","cloud-outline":"fa/cloud-regular",coaching:"fa/whistle-regular",cobrowse:"deprecated/cobrowse",collapse:"fa/arrow-down-left-and-arrow-up-right-to-center-regular",comments:"fa/message-lines-regular","comments-disable":"fa/message-slash-regular",configuration:"fa/block-brick-regular","control-end":"fa/forward-fast-regular","control-pause":"fa/pause-regular","control-play":"fa/play-regular","control-skip-left":"fa/backward-regular","control-skip-right":"fa/forward-regular","control-slide-back":"fa/backward-step-regular","control-slide-forward":"fa/forward-step-regular","control-start":"fa/backward-fast-regular","control-stop":"fa/stop-regular",copy:"fa/copy-regular","custom/add-column-after":"custom/table-column-plus-right-regular","custom/add-column-before":"custom/table-column-plus-left-regular","custom/add-row-after":"custom/table-row-plus-bottom-regular","custom/add-row-before":"custom/table-row-plus-top-regular","custom/binoculars-slash-regular":"custom/regular-binoculars-slash","custom/carousel":"custom/rectangle-carousel-regular","custom/clipboard-list-slash-regular":"custom/regular-clipboard-list-slash","custom/co-browse":"custom/screen-monitor-regular","custom/delete-column":"custom/table-column-xmark-regular","custom/delete-row":"custom/table-row-xmark-regular","custom/delete-table":"custom/table-xmark-regular","custom/file-pen-question":"custom/file-pen-question-regular","custom/filter-notification":"custom/filter-dot-regular","custom/font-regular-highlight":"custom/font-underline-regular","custom/one-button":"custom/mobiles-one-button-regular","custom/person-running":"fa/person-running-solid","custom/quick-reply":"custom/circle-buttons-regular","custom/three-button":"custom/mobile-three-button-regular","custom/wrap-text-inline":"custom/wrap-text-inline-regular","custom/wrap-text-tight":"custom/wrap-text-tight-regular","custom/wrap-text-top-bottom":"custom/wrap-text-top-bottom-regular","customer-journey":"fa/map-location-dot-regular",cut:"fa/scissors-regular",dash:"fa/gauge-simple-high-regular",delete:"fa/trash-regular","device-camera":"fa/camera-regular","device-cellphone":"fa/mobile-regular","device-headphones":"fa/headphones-regular","device-laptop":"fa/laptop-regular","device-pc":"deprecated/device-pc","device-server":"fa/server-regular","device-tablet":"fa/tablet-regular",download:"fa/arrow-down-to-line-regular",edge:"fa/edge-legacy",edit:"fa/pen-regular","email-notification-score":"fa/envelope-dot-regular",expand:"fa/arrow-up-right-and-arrow-down-left-from-center-regular",export:"fa/arrow-up-from-line-regular","external-link":"fa/arrow-up-right-from-square-regular","fa/00-solid":"fa/00-regular","fa/arrows-rotate-solid":"fa/arrows-rotate-regular","fa/ban-regular":"deprecated/fa/ban-regular","fa/check-solid":"custom/check-small-regular","fa/circle-check-regular":"deprecated/fa/circle-check-regular","fa/circle-xmark-regular":"deprecated/fa/circle-xmark-regular","fa/clock-outline":"fa/clock-regular","fa/comment-dots-regular":"fa/message-dots-regular","fa/comments-regular":"fa/messages-regular","fa/diagram-project-gear-regular":"fa/regular-diagram-project-gear","fa/eye-regular":"deprecated/fa/eye-regular","fa/eye-slash-regular":"deprecated/fa/eye-slash-regular","fa/life-ring-regular":"deprecated/fa/life-ring-regular","fa/link-horizontal-slash-regular":"fa/link-slash-regular","fa/link-horizontal-solid":"fa/link-regular","fa/list-radio-clean-regular":"fa/list-ul-regular","fa/list-radio-regular":"fa/list-ul-regular","fa/list-regular":"fa/list-ul-regular","fa/rectangle-list-regular":"fa/square-list-regular","fa/reply-regular":"custom/reply-regular","fa/right-to-bracket-regular":"fa/arrow-right-to-bracket-regular","fa/share-regular":"custom/share-regular","fa/volume-regular":"deprecated/fa/volume-regular","face-empathy":"deprecated/face-empathy","face-happy":"fa/face-smile-regular","face-happy-solid":"fa/face-smile-solid","face-neutral":"fa/face-meh-regular","face-neutral-solid":"fa/face-meh-solid","face-sad":"fa/face-frown-regular","face-sad-solid":"fa/face-frown-solid",facebook:"fa/facebook","facebook-messenger":"fa/facebook-messenger",fax:"fa/fax-regular",file:"fa/file-regular","file-all":"fa/files-regular","file-audio":"deprecated/fa/volume-regular","file-image-landscape":"fa/image-regular","file-image-portrait":"fa/image-portrait-regular","file-pdf":"fa/file-pdf-regular","file-preview":"fa/file-magnifying-glass-regular","file-report":"fa/file-chart-column-regular","file-text":"fa/file-lines-regular","file-video":"fa/video-regular",filter:"fa/filter-regular",fire:"fa/fire-regular",firefox:"fa/firefox",flag:"fa/flag-regular",folder:"fa/folder-regular","folder-add":"fa/folder-plus-regular","folder-open":"fa/folder-open-regular",follow:"fa/binoculars-regular",generic:"fa/shapes-regular",globe:"fa/earth-africa-regular","grab-horizontal":"fa/grip-solid","grab-vertical":"fa/grip-vertical-solid","graph-bar-horizontal":"fa/chart-bar-regular","graph-bar-vertical":"fa/chart-column-regular","graph-bubble":"fa/chart-scatter-bubble-regular","graph-chart":"fa/chart-area-regular","graph-line":"fa/chart-line-regular","graph-pie":"fa/chart-pie-regular","graph-spark":"custom/chart-line-spark-regular","group-standard":"custom/users-light",help:"fa/circle-question-regular",home:"fa/home-regular",hourglass:"fa/hourglass-half-regular",import:"fa/file-import-regular",inbox:"fa/inbox-regular",inspect:"deprecated/fa/eye-regular","inspect-disable":"deprecated/fa/eye-slash-regular",instagram:"fa/instagram","internet-explorer":"fa/internet-explorer",key:"fa/key-regular",lightbulb:"fa/lightbulb-regular","line-messenger":"fa/line",link:"fa/link-regular",linkedin:"fa/linkedin",linux:"fa/linux",lock:"fa/lock-regular","lock-hold":"custom/lock-keyholes-regular",logout:"fa/arrow-right-from-bracket-regular","low-bandwidth":"fa/wifi-slash-regular",lunch:"fa/utensils-regular",menu:"fa/bars-regular","menu-kebab-horizontal":"fa/ellipsis-regular","menu-kebab-vertical":"fa/ellipsis-vertical-regular","message-email":"fa/envelope-regular","message-email-outbound":"custom/envelope-arrow-up-right-regular","message-forward":"custom/share-regular","message-reply":"custom/reply-regular","message-reply-all":"custom/reply-all-regular",microphone:"fa/microphone-regular","microphone-disable":"fa/microphone-slash-regular","microphone-talking":"custom/microphone-line-on-regular",microsoft:"fa/microsoft","microsoft-teams":"custom/microsoft-teams",moon:"fa/moon-regular",music:"fa/music-regular",notes:"fa/memo-regular",notification:"fa/circle-solid",opera:"fa/opera","operator-pair":"custom/users-headset-regular",paint:"fa/fill-drip-regular",palette:"fa/palette-regular","parking-sign-regular":"fa/square-parking-regular",paste:"fa/paste-regular",people:"fa/people-pants-simple-regular",phone:"fa/phone-regular","phone-bell":"custom/phone-bell-regular","phone-call-directory":"deprecated/phone-call-directory","phone-call-history":"custom/phone-bars-regular","phone-callback":"custom/phone-arrow-left-regular","phone-close":"fa/phone-xmark-regular","phone-conference":"custom/phone-big-small-regular","phone-dialpad":"fa/grid-regular","phone-disable":"fa/phone-slash-regular","phone-forward":"fa/phone-arrow-right-regular","phone-hangup":"fa/phone-hangup-regular","phone-hold":"custom/phone-clock-regular","phone-inbound":"fa/phone-arrow-down-left-regular","phone-missed-call":"fa/phone-missed-regular","phone-notification-score":"custom/phone-star-regular","phone-outbound":"fa/phone-arrow-up-right-regular","phone-success":"custom/phone-check-regular","phone-voice":"custom/phone-high-volume-regular",pin:"fa/thumbtack-regular","pin-location":"fa/location-dot-regular",post:"fa/newspaper-regular","product-logo-beyond":"custom/genesys-beyond","product-logo-g":"custom/genesys","quote-left":"fa/quote-left-regular","quote-right":"fa/quote-right-regular",radio:"fa/circle-regular","radio-active":"fa/circle-dot-regular",rating:"fa/star-regular","rating-active":"fa/star-solid","rating-partial":"fa/star-sharp-half-stroke-regular",record:"fa/waveform-lines-regular",refresh:"fa/arrows-rotate-regular",reset:"fa/arrow-rotate-left-regular",resource:"fa/notebook-regular",retweet:"custom/arrows-retweet-regular","roster-chat":"fa/message-lines-regular","roster-chat-disable":"fa/message-slash-regular","roster-email":"fa/envelope-regular","roster-email-disable":"fa/regular-envelope-slash","roster-instagram":"fa/instagram","roster-instagram-disable":"custom/instagram-slash","roster-line":"fa/line","roster-line-disable":"custom/line-slash","roster-message":"fa/message-lines-regular","roster-message-disable":"fa/message-xmark-regular","roster-messenger":"fa/facebook-messenger","roster-messenger-disable":"custom/facebook-messenger-slash","roster-phone":"fa/phone-regular","roster-phone-disable":"fa/phone-slash-regular","roster-sms":"fa/message-dots-regular","roster-sms-disable":"fa/message-slash-regular","roster-twitter":"fa/twitter","roster-twitter-disable":"custom/twitter-slash","roster-wechat":"fa/weixin","roster-wechat-disable":"deprecated/roster-wechat-disable","roster-whatsapp":"fa/whatsapp","roster-whatsapp-disable":"fa/custon-whatsapp-slash",rss:"fa/square-rss-solid",run:"fa/person-running-solid",safari:"fa/safari",save:"fa/floppy-disk-regular","screen-share-regular":"custom/display-arrow-right-regular","screen-share-slash":"custom/display-arrow-right-slash-regular",scripter:"fa/scroll-regular",search:"fa/magnifying-glass-regular",send:"fa/paper-plane-top-regular",server:"fa/server-regular",settings:"fa/gear-regular",share:"fa/share-nodes-regular","shield-lock":"fa/shield-keyhole-regular","shield-outline":"fa/shield-check-regular","shield-solid":"fa/shield-check-solid",site:"fa/building-regular",skills:"fa/graduation-cap-regular",slideshare:"fa/slideshare",sms:"fa/message-dots-regular","sms-cancel":"fa/message-xmark-regular","sms-close":"fa/message-xmark-regular",stamp:"fa/stamp-regular",subtract:"fa/minus-regular","subtract-circle":"fa/subtract-circle-regular",sun:"fa/sun-bright-regular",tag:"fa/tag-regular","tag-add":"deprecated/tag-add","tag-remove":"deprecated/tag-remove",telegram:"fa/telegram",tenant:"fa/box-regular","thumbs-down":"fa/thumb-down-regular","thumbs-up":"fa/thumb-up-regular",timeline:"custom/arrow-turn-left-clock-regular","toolbar-apps":"custom/squares-big-small-regular","toolbar-apps-disable":"custom/squares-big-small-slash-regular","toolbar-assist":"deprecated/fa/life-ring-regular","toolbar-assist-disable":"custom/life-ring-slash-regular","toolbar-chat":"fa/message-regular","toolbar-chat-disable":"fa/message-slash-regular","toolbar-favorite":"deprecated/toolbar-favorite","toolbar-favourite":"fa/star-regular","toolbar-help":"fa/circle-question-regular","toolbar-inbox":"fa/inbox-regular","toolbar-interactions":"custom/user-talking-regular","toolbar-interactions-disable":"custom/user-talking-slash-regular","toolbar-notification":"fa/circle-solid","toolbar-phone":"fa/phone-regular","toolbar-phone-active-1":"custom/phone-low-volume-regular","toolbar-phone-active-2":"custom/phone-volume-regular","toolbar-phone-active-3":"custom/phone-high-volume-regular","toolbar-phone-disable":"fa/phone-slash-regular","toolbar-video":"fa/video-regular","toolbar-video-disable":"fa/video-slash-regular",trade:"fa/handshake-regular",transfer:"fa/arrow-right-arrow-left-regular",twitter:"fa/twitter",unknown:"fa/square-x-regular",unlink:"fa/link-slash-regular",unlock:"fa/unlock-regular",upload:"fa/upload-regular",user:"fa/user-regular","user-add":"fa/user-plus-regular","user-circle":"fa/circle-user-regular","user-contact-id":"fa/address-card-regular","user-directory":"fa/address-book-regular","user-group":"fa/users-regular","user-interactions":"custom/user-talking-regular","user-interactions-disable":"custom/user-talking-slash-regular",viber:"fa/viber",video:"fa/video-regular","video-disable":"fa/video-slash-regular","view-all":"fa/grid-4-regular","view-cells":"custom/columns-3-regular","view-grid":"fa/border-all-regular","view-list":"fa/square-list-regular","view-lists":"custom/columns-3-regular","view-roster":"fa/table-list-regular","view-stacked":"fa/table-rows-regular",voicemail:"fa/voicemail-regular","volume-disable":"fa/volume-slash-regular","volume-down":"fa/volume-low-regular","volume-none":"fa/volume-off-regular","volume-up":"deprecated/fa/volume-regular",web:"fa/globe-regular",webcam:"fa/camera-web-regular","webcam-disable":"fa/camera-web-slash-regular",wechat:"fa/weixin",whatsapp:"fa/whatsapp","window-actual-size":"fa/brackets-square-regular","window-contract":"fa/arrows-minimize-regular","window-drag-out":"fa/arrow-up-right-from-square-regular","window-expand":"fa/arrows-maximize-regular","window-fullscreen":"fa/arrows-maximize-regular","window-popout":"fa/square-arrow-up-right-regular",wordpress:"fa/wordpress",youtube:"fa/youtube","zoom-in":"fa/magnifying-glass-plus-regular","zoom-out":"fa/magnifying-glass-minus-regular"},u=Object.keys(i),c=new Map;function g(e){return t.includes(e)?`legacy/${e}`:u.includes(e)?i[e]:e}async function f(r){const a=function(e){return e.replace("/","-")}(r);if(c.has(a))return c.get(a);const l=async function(r){const a=await fetch(e(`./icons/${r}.svg`));if(200===a.status)return a.text();throw new Error(`[gux-icon] fetching failed for icon "${r}" with status "${a.statusText} (${a.status})".`)}(r).then((e=>e)).catch((e=>(setTimeout((()=>{throw e}),0),f("fa/square-x-regular"))));return c.set(a,l),l}const n=class{constructor(e){r(this,e),this.iconName=void 0,this.decorative=!1,this.screenreaderText="",this.size="inherit",this.svgHtml=void 0}async prepIcon(e){if(e){const r=g(e);this.baseSvgHtml=await f(r),this.svgHtml=this.getSvgWithAriaAttributes(this.baseSvgHtml)}}watchDecorative(e){this.validateProps(e,this.screenreaderText),this.baseSvgHtml&&(this.svgHtml=this.getSvgWithAriaAttributes(this.baseSvgHtml))}watchScreenreaderText(e){this.validateProps(this.decorative,e),this.baseSvgHtml&&(this.svgHtml=this.getSvgWithAriaAttributes(this.baseSvgHtml))}async componentWillLoad(){o(this.root,{variant:g(this.iconName)}),await this.prepIcon(this.iconName)}componentDidLoad(){this.validateProps(this.decorative,this.screenreaderText)}validateProps(e,r){this.root.isConnected&&(e||r||s(this.root,"No screenreader-text provided. Either provide a localized screenreader-text property or set `decorative` to true."))}getSvgWithAriaAttributes(e){const r=(new DOMParser).parseFromString(e,"image/svg+xml").firstChild;return r.setAttribute("role","img"),r.setAttribute("aria-hidden",this.decorative?String(this.decorative):"false"),this.screenreaderText?r.setAttribute("aria-label",this.screenreaderText):r.removeAttribute("aria-label"),r.outerHTML}render(){return this.svgHtml&&a("div",{key:"0a7b50082c3341de766e28cec4ff94917493139f",class:"gux-icon-container",innerHTML:this.svgHtml})}static get assetsDirs(){return["icons"]}get root(){return l(this)}static get watchers(){return{iconName:["prepIcon"],decorative:["watchDecorative"],screenreaderText:["watchScreenreaderText"]}}};n.style=":host{display:inline-flex;inline-size:1em;block-size:1em}:host([size=small]){inline-size:var(--gse-ui-icon-small-size);block-size:var(--gse-ui-icon-small-size)}:host([size=medium]){inline-size:var(--gse-ui-icon-medium-size);block-size:var(--gse-ui-icon-medium-size)}:host([size=large]){inline-size:var(--gse-ui-icon-large-size);block-size:var(--gse-ui-icon-large-size)}.gux-icon-container{display:flex;align-items:center;justify-content:center;inline-size:100%}.gux-icon-container svg{inline-size:100%;max-inline-size:100%;block-size:100%;max-block-size:100%;fill:currentcolor}";export{n as gux_icon}
1
+ import{a as e,r,h as a,g as l}from"./p-c2a62a18.js";import{t as o}from"./p-bbf000c6.js";import{l as s}from"./p-8eaf8caf.js";const t=["fa/arrow-left-to-line-solid","fa/arrow-right-to-line-solid"],i={"8x8":"custom/8x8","8x8-alt":"custom/8x8-solid",add:"fa/plus-regular","add-circle":"fa/circle-plus-regular",agent:"fa/head-side-headphones-regular","agent-circle":"custom/circle-head-side-headphones-regular","agent-group":"fa/people-group-regular","alert-info":"fa/circle-info-regular","alert-success":"deprecated/fa/circle-check-regular","alert-warning-octogon":"fa/hexagon-exclamation-regular","alert-warning-triangle":"fa/triangle-exclamation-regular",android:"fa/android","app-chart":"fa/square-poll-vertical-regular","app-generic":"fa/browser-regular","app-layout":"fa/table-layout-regular","app-table":"fa/table-regular",apple:"fa/apple",archive:"fa/box-archive-regular","arrow-down":"fa/arrow-down-regular","arrow-down-left":"fa/arrow-down-left-regular","arrow-down-right":"fa/arrow-down-right-regular","arrow-left":"fa/arrow-left-regular","arrow-right":"fa/arrow-right-regular","arrow-solid-down":"fa/caret-down-solid","arrow-solid-left":"fa/caret-left-solid","arrow-solid-right":"fa/caret-right-solid","arrow-solid-up":"fa/caret-up-solid","arrow-up":"fa/arrow-up-regular","arrow-up-left":"fa/arrow-up-left-regular","arrow-up-right":"fa/arrow-up-right-regular",at:"fa/at-regular",attachment:"fa/paperclip-regular",backspace:"fa/delete-left-regular","badge-amount":"fa/circle-0-solid","badge-check":"fa/circle-check-solid","badge-edit":"fa/pen-circle-regular","badge-file":"deprecated/badge-file","badge-pause":"fa/circle-pause-solid","badge-x":"fa/circle-xmark-solid","ban-outline":"deprecated/fa/ban-regular",bell:"fa/bell-regular",bolt:"fa/bolt-regular",bot:"fa/robot-regular",branch:"fa/code-branch-regular",bug:"fa/bug-regular",bus:"fa/bus-simple-regular",calendar:"fa/calendar-regular","calendar-add":"fa/calendar-plus-regular","calendar-clock":"fa/calendar-clock-regular",campaign:"fa/bullhorn-regular",certificate:"fa/file-certificate-regular",chat:"fa/message-lines-regular","chat-bell":"custom/message-bell-regular","chat-close":"fa/message-xmark-regular","chat-disable":"fa/message-slash-regular","chat-multi":"fa/messages-regular","chat-notification-score":"custom/message-bell-regular",checkbox:"fa/square-regular","checkbox-active":"fa/square-check-solid","checkbox-partial":"fa/square-minus-regular",checkmark:"custom/check-small-regular","chevron-double-down":"fa/chevrons-down-regular","chevron-double-left":"fa/chevrons-left-regular","chevron-double-right":"fa/chevrons-right-regular","chevron-double-up":"fa/chevrons-up-regular","chevron-left":"fa/chevron-left-regular","chevron-right":"fa/chevron-right-regular","chevron-small-down":"custom/chevron-down-small-regular","chevron-small-left":"custom/chevron-left-small-regular","chevron-small-right":"custom/chevron-right-small-regular","chevron-small-up":"custom/chevron-up-small-regular",chrome:"fa/chrome","cjv-badge-file":"fa/file-regular","cjv-calendar-clock":"fa/calendar-clock-regular","cjv-custom-default":"deprecated/cjv-custom-default","cjv-custom-event":"fa/circle-star-solid","cjv-custom-session":"custom/rectangules-arrow-left-to-right-regular","cjv-default-event":"fa/circle-star-solid","cjv-delivery":"fa/truck-regular","cjv-finance-invoice":"fa/file-invoice-dollar-regular","cjv-form-abandoned":"fa/file-circle-xmark-regular","cjv-form-submitted":"custom/file-arrow-up-regular","cjv-generic-application":"fa/file-user-regular","cjv-offer-closed":"fa/circle-xmark-solid","cjv-offer-ignored":"fa/subtract-circle-solid","cjv-offer-offered":"fa/circle-chevron-right-solid","cjv-offer-opened":"fa/badge-check-solid","cjv-outcome-achieved":"fa/circle-check-solid","cjv-page-view":"fa/circle-dot-regular","cjv-policy-contract":"fa/file-contract-regular","cjv-product-added":"fa/cart-circle-plus-regular","cjv-product-purchased":"fa/cart-circle-check-regular","cjv-product-removed":"fa/cart-circle-xmark-regular","cjv-search":"fa/magnifying-glass-regular","cjv-segment":"fa/chart-pie-simple-regular","cjv-segment-assigned":"fa/circle-quarter-regular","cjv-web-session":"fa/globe-regular","cjv-webchat-accepted":"fa/message-check-solid","cjv-webchat-error":"fa/message-xmark-solid","cjv-webchat-ignored":"fa/message-minus-solid","cjv-webchat-offered":"fa/message-arrow-up-right-solid","cjv-webchat-rejected":"fa/message-xmark-solid","cjv-webchat-requested":"fa/message-plus-solid","cjv-webchat-submitted":"fa/message-arrow-up-solid","cjv-webchat-timeout":"fa/timer-regular",clipboard:"fa/clipboard-regular","clipboard-error":"fa/clipboard-question-regular","clipboard-success":"fa/clipboard-check-regular",clock:"fa/clock-regular","clock-outline":"fa/clock-regular",clone:"fa/clone-regular",close:"fa/xmark-large-regular","close-circle":"deprecated/fa/circle-xmark-regular",cloud:"fa/cloud-regular","cloud-outline":"fa/cloud-regular",coaching:"fa/whistle-regular",cobrowse:"deprecated/cobrowse",collapse:"fa/arrow-down-left-and-arrow-up-right-to-center-regular",comments:"fa/message-lines-regular","comments-disable":"fa/message-slash-regular",configuration:"fa/block-brick-regular","control-end":"fa/forward-fast-regular","control-pause":"fa/pause-regular","control-play":"fa/play-regular","control-skip-left":"fa/backward-regular","control-skip-right":"fa/forward-regular","control-slide-back":"fa/backward-step-regular","control-slide-forward":"fa/forward-step-regular","control-start":"fa/backward-fast-regular","control-stop":"fa/stop-regular",copy:"fa/copy-regular","custom/add-column-after":"custom/table-column-plus-right-regular","custom/add-column-before":"custom/table-column-plus-left-regular","custom/add-row-after":"custom/table-row-plus-bottom-regular","custom/add-row-before":"custom/table-row-plus-top-regular","custom/binoculars-slash-regular":"custom/regular-binoculars-slash","custom/carousel":"custom/rectangle-carousel-regular","custom/clipboard-list-slash-regular":"custom/regular-clipboard-list-slash","custom/co-browse":"custom/screen-monitor-regular","custom/delete-column":"custom/table-column-xmark-regular","custom/delete-row":"custom/table-row-xmark-regular","custom/delete-table":"custom/table-xmark-regular","custom/file-pen-question":"custom/file-pen-question-regular","custom/filter-notification":"custom/filter-dot-regular","custom/font-regular-highlight":"custom/font-underline-regular","custom/one-button":"custom/mobiles-one-button-regular","custom/person-running":"fa/person-running-solid","custom/quick-reply":"custom/circle-buttons-regular","custom/three-button":"custom/mobile-three-button-regular","custom/wrap-text-inline":"custom/wrap-text-inline-regular","custom/wrap-text-tight":"custom/wrap-text-tight-regular","custom/wrap-text-top-bottom":"custom/wrap-text-top-bottom-regular","customer-journey":"fa/map-location-dot-regular",cut:"fa/scissors-regular",dash:"fa/gauge-simple-high-regular",delete:"fa/trash-regular","device-camera":"fa/camera-regular","device-cellphone":"fa/mobile-regular","device-headphones":"fa/headphones-regular","device-laptop":"fa/laptop-regular","device-pc":"deprecated/device-pc","device-server":"fa/server-regular","device-tablet":"fa/tablet-regular",download:"fa/arrow-down-to-line-regular",edge:"fa/edge-legacy",edit:"fa/pen-regular","email-notification-score":"fa/envelope-dot-regular",expand:"fa/arrow-up-right-and-arrow-down-left-from-center-regular",export:"fa/arrow-up-from-line-regular","external-link":"fa/arrow-up-right-from-square-regular","fa/00-solid":"fa/00-regular","fa/arrows-rotate-solid":"fa/arrows-rotate-regular","fa/ban-regular":"deprecated/fa/ban-regular","fa/check-solid":"custom/check-small-regular","fa/circle-check-regular":"deprecated/fa/circle-check-regular","fa/circle-xmark-regular":"deprecated/fa/circle-xmark-regular","fa/clock-outline":"fa/clock-regular","fa/comment-dots-regular":"fa/message-dots-regular","fa/comments-regular":"fa/messages-regular","fa/diagram-project-gear-regular":"fa/regular-diagram-project-gear","fa/eye-regular":"deprecated/fa/eye-regular","fa/eye-slash-regular":"deprecated/fa/eye-slash-regular","fa/life-ring-regular":"deprecated/fa/life-ring-regular","fa/link-horizontal-slash-regular":"fa/link-slash-regular","fa/link-horizontal-solid":"fa/link-regular","fa/list-radio-clean-regular":"fa/list-ul-regular","fa/list-radio-regular":"fa/list-ul-regular","fa/list-regular":"fa/list-ul-regular","fa/rectangle-list-regular":"fa/square-list-regular","fa/reply-regular":"custom/reply-regular","fa/right-to-bracket-regular":"fa/arrow-right-to-bracket-regular","fa/share-regular":"custom/share-regular","fa/volume-regular":"deprecated/fa/volume-regular","face-empathy":"deprecated/face-empathy","face-happy":"fa/face-smile-regular","face-happy-solid":"fa/face-smile-solid","face-neutral":"fa/face-meh-regular","face-neutral-solid":"fa/face-meh-solid","face-sad":"fa/face-frown-regular","face-sad-solid":"fa/face-frown-solid",facebook:"fa/facebook","facebook-messenger":"fa/facebook-messenger",fax:"fa/fax-regular",file:"fa/file-regular","file-all":"fa/files-regular","file-audio":"deprecated/fa/volume-regular","file-image-landscape":"fa/image-regular","file-image-portrait":"fa/image-portrait-regular","file-pdf":"fa/file-pdf-regular","file-preview":"fa/file-magnifying-glass-regular","file-report":"fa/file-chart-column-regular","file-text":"fa/file-lines-regular","file-video":"fa/video-regular",filter:"fa/filter-regular",fire:"fa/fire-regular",firefox:"fa/firefox",flag:"fa/flag-regular",folder:"fa/folder-regular","folder-add":"fa/folder-plus-regular","folder-open":"fa/folder-open-regular",follow:"fa/binoculars-regular",generic:"fa/shapes-regular",globe:"fa/earth-africa-regular","grab-horizontal":"fa/grip-solid","grab-vertical":"fa/grip-vertical-solid","graph-bar-horizontal":"fa/chart-bar-regular","graph-bar-vertical":"fa/chart-column-regular","graph-bubble":"fa/chart-scatter-bubble-regular","graph-chart":"fa/chart-area-regular","graph-line":"fa/chart-line-regular","graph-pie":"fa/chart-pie-regular","graph-spark":"custom/chart-line-spark-regular","group-standard":"custom/users-light",help:"fa/circle-question-regular",home:"fa/home-regular",hourglass:"fa/hourglass-half-regular",import:"fa/file-import-regular",inbox:"fa/inbox-regular",inspect:"deprecated/fa/eye-regular","inspect-disable":"deprecated/fa/eye-slash-regular",instagram:"fa/instagram","internet-explorer":"fa/internet-explorer",key:"fa/key-regular",lightbulb:"fa/lightbulb-regular","line-messenger":"fa/line",link:"fa/link-regular",linkedin:"fa/linkedin",linux:"fa/linux",lock:"fa/lock-regular","lock-hold":"custom/lock-keyholes-regular",logout:"fa/arrow-right-from-bracket-regular","low-bandwidth":"fa/wifi-slash-regular",lunch:"fa/utensils-regular",menu:"fa/bars-regular","menu-kebab-horizontal":"fa/ellipsis-regular","menu-kebab-vertical":"fa/ellipsis-vertical-regular","message-email":"fa/envelope-regular","message-email-outbound":"custom/envelope-arrow-up-right-regular","message-forward":"custom/share-regular","message-reply":"custom/reply-regular","message-reply-all":"custom/reply-all-regular",microphone:"fa/microphone-regular","microphone-disable":"fa/microphone-slash-regular","microphone-talking":"custom/microphone-line-on-regular",microsoft:"fa/microsoft","microsoft-teams":"custom/microsoft-teams",moon:"fa/moon-regular",music:"fa/music-regular",notes:"fa/memo-regular",notification:"fa/circle-solid",opera:"fa/opera","operator-pair":"custom/users-headset-regular",paint:"fa/fill-drip-regular",palette:"fa/palette-regular","parking-sign-regular":"fa/square-parking-regular",paste:"fa/paste-regular",people:"fa/people-pants-simple-regular",phone:"fa/phone-regular","phone-bell":"custom/phone-bell-regular","phone-call-directory":"deprecated/phone-call-directory","phone-call-history":"custom/phone-bars-regular","phone-callback":"custom/phone-arrow-left-regular","phone-close":"fa/phone-xmark-regular","phone-conference":"custom/phone-big-small-regular","phone-dialpad":"fa/grid-regular","phone-disable":"fa/phone-slash-regular","phone-forward":"fa/phone-arrow-right-regular","phone-hangup":"fa/phone-hangup-regular","phone-hold":"custom/phone-clock-regular","phone-inbound":"fa/phone-arrow-down-left-regular","phone-missed-call":"fa/phone-missed-regular","phone-notification-score":"custom/phone-star-regular","phone-outbound":"fa/phone-arrow-up-right-regular","phone-success":"custom/phone-check-regular","phone-voice":"custom/phone-high-volume-regular",pin:"fa/thumbtack-regular","pin-location":"fa/location-dot-regular",post:"fa/newspaper-regular","product-logo-beyond":"custom/genesys-beyond","product-logo-g":"custom/genesys","quote-left":"fa/quote-left-regular","quote-right":"fa/quote-right-regular",radio:"fa/circle-regular","radio-active":"fa/circle-dot-regular",rating:"fa/star-regular","rating-active":"fa/star-solid","rating-partial":"fa/star-sharp-half-stroke-regular",record:"fa/waveform-lines-regular",refresh:"fa/arrows-rotate-regular",reset:"fa/arrow-rotate-left-regular",resource:"fa/notebook-regular",retweet:"custom/arrows-retweet-regular","roster-chat":"fa/message-lines-regular","roster-chat-disable":"fa/message-slash-regular","roster-email":"fa/envelope-regular","roster-email-disable":"fa/regular-envelope-slash","roster-instagram":"fa/instagram","roster-instagram-disable":"custom/instagram-slash","roster-line":"fa/line","roster-line-disable":"custom/line-slash","roster-message":"fa/message-lines-regular","roster-message-disable":"fa/message-xmark-regular","roster-messenger":"fa/facebook-messenger","roster-messenger-disable":"custom/facebook-messenger-slash","roster-phone":"fa/phone-regular","roster-phone-disable":"fa/phone-slash-regular","roster-sms":"fa/message-dots-regular","roster-sms-disable":"fa/message-slash-regular","roster-twitter":"fa/twitter","roster-twitter-disable":"custom/twitter-slash","roster-wechat":"fa/weixin","roster-wechat-disable":"deprecated/roster-wechat-disable","roster-whatsapp":"fa/whatsapp","roster-whatsapp-disable":"fa/custon-whatsapp-slash",rss:"fa/square-rss-solid",run:"fa/person-running-solid",safari:"fa/safari",save:"fa/floppy-disk-regular","screen-share-regular":"custom/display-arrow-right-regular","screen-share-slash":"custom/display-arrow-right-slash-regular",scripter:"fa/scroll-regular",search:"fa/magnifying-glass-regular",send:"fa/paper-plane-top-regular",server:"fa/server-regular",settings:"fa/gear-regular",share:"fa/share-nodes-regular","shield-lock":"fa/shield-keyhole-regular","shield-outline":"fa/shield-check-regular","shield-solid":"fa/shield-check-solid",site:"fa/building-regular",skills:"fa/graduation-cap-regular",slideshare:"fa/slideshare",sms:"fa/message-dots-regular","sms-cancel":"fa/message-xmark-regular","sms-close":"fa/message-xmark-regular",stamp:"fa/stamp-regular",subtract:"fa/minus-regular","subtract-circle":"fa/subtract-circle-regular",sun:"fa/sun-bright-regular",tag:"fa/tag-regular","tag-add":"deprecated/tag-add","tag-remove":"deprecated/tag-remove",telegram:"fa/telegram",tenant:"fa/box-regular","thumbs-down":"fa/thumb-down-regular","thumbs-up":"fa/thumb-up-regular",timeline:"custom/arrow-turn-left-clock-regular","toolbar-apps":"custom/squares-big-small-regular","toolbar-apps-disable":"custom/squares-big-small-slash-regular","toolbar-assist":"deprecated/fa/life-ring-regular","toolbar-assist-disable":"custom/life-ring-slash-regular","toolbar-chat":"fa/message-regular","toolbar-chat-disable":"fa/message-slash-regular","toolbar-favorite":"deprecated/toolbar-favorite","toolbar-favourite":"fa/star-regular","toolbar-help":"fa/circle-question-regular","toolbar-inbox":"fa/inbox-regular","toolbar-interactions":"custom/user-talking-regular","toolbar-interactions-disable":"custom/user-talking-slash-regular","toolbar-notification":"fa/circle-solid","toolbar-phone":"fa/phone-regular","toolbar-phone-active-1":"custom/phone-low-volume-regular","toolbar-phone-active-2":"custom/phone-volume-regular","toolbar-phone-active-3":"custom/phone-high-volume-regular","toolbar-phone-disable":"fa/phone-slash-regular","toolbar-video":"fa/video-regular","toolbar-video-disable":"fa/video-slash-regular",trade:"fa/handshake-regular",transfer:"fa/arrow-right-arrow-left-regular",twitter:"fa/twitter",unknown:"fa/square-x-regular",unlink:"fa/link-slash-regular",unlock:"fa/unlock-regular",upload:"fa/upload-regular",user:"fa/user-regular","user-add":"fa/user-plus-regular","user-circle":"fa/circle-user-regular","user-contact-id":"fa/address-card-regular","user-directory":"fa/address-book-regular","user-group":"fa/users-regular","user-interactions":"custom/user-talking-regular","user-interactions-disable":"custom/user-talking-slash-regular",viber:"fa/viber",video:"fa/video-regular","video-disable":"fa/video-slash-regular","view-all":"fa/grid-4-regular","view-cells":"custom/columns-3-regular","view-grid":"fa/border-all-regular","view-list":"fa/square-list-regular","view-lists":"custom/columns-3-regular","view-roster":"fa/table-list-regular","view-stacked":"fa/table-rows-regular",voicemail:"fa/voicemail-regular","volume-disable":"fa/volume-slash-regular","volume-down":"fa/volume-low-regular","volume-none":"fa/volume-off-regular","volume-up":"deprecated/fa/volume-regular",web:"fa/globe-regular",webcam:"fa/camera-web-regular","webcam-disable":"fa/camera-web-slash-regular",wechat:"fa/weixin",whatsapp:"fa/whatsapp","window-actual-size":"fa/brackets-square-regular","window-contract":"fa/arrows-minimize-regular","window-drag-out":"fa/arrow-up-right-from-square-regular","window-expand":"fa/arrows-maximize-regular","window-fullscreen":"fa/arrows-maximize-regular","window-popout":"fa/square-arrow-up-right-regular",wordpress:"fa/wordpress",youtube:"fa/youtube","zoom-in":"fa/magnifying-glass-plus-regular","zoom-out":"fa/magnifying-glass-minus-regular"},u=Object.keys(i),c=new Map;function g(e){return t.includes(e)?`legacy/${e}`:u.includes(e)?i[e]:e}async function f(r){const a=function(e){return e.replace("/","-")}(r);if(c.has(a))return c.get(a);const l=async function(r){const a=await fetch(e(`./icons/${r}.svg`));if(200===a.status)return a.text();throw new Error(`[gux-icon] fetching failed for icon "${r}" with status "${a.statusText} (${a.status})".`)}(r).then((e=>e)).catch((e=>(setTimeout((()=>{throw e}),0),f("fa/square-x-regular"))));return c.set(a,l),l}const n=class{constructor(e){r(this,e),this.iconName=void 0,this.decorative=!1,this.screenreaderText="",this.size="inherit",this.svgHtml=void 0}async prepIcon(e){if(e){const r=g(e);this.baseSvgHtml=await f(r),this.svgHtml=this.getSvgWithAriaAttributes(this.baseSvgHtml)}}watchDecorative(e){this.validateProps(e,this.screenreaderText),this.baseSvgHtml&&(this.svgHtml=this.getSvgWithAriaAttributes(this.baseSvgHtml))}watchScreenreaderText(e){this.validateProps(this.decorative,e),this.baseSvgHtml&&(this.svgHtml=this.getSvgWithAriaAttributes(this.baseSvgHtml))}async componentWillLoad(){o(this.root,{variant:g(this.iconName)}),await this.prepIcon(this.iconName)}componentDidLoad(){this.validateProps(this.decorative,this.screenreaderText)}validateProps(e,r){this.root.isConnected&&(e||r||s(this.root,"No screenreader-text provided. Either provide a localized screenreader-text property or set `decorative` to true."))}getSvgWithAriaAttributes(e){const r=(new DOMParser).parseFromString(e,"image/svg+xml").firstChild;return r.setAttribute("role","img"),r.setAttribute("aria-hidden",this.decorative?String(this.decorative):"false"),this.screenreaderText?r.setAttribute("aria-label",this.screenreaderText):r.removeAttribute("aria-label"),r.outerHTML}render(){return this.svgHtml&&a("div",{key:"0a7b50082c3341de766e28cec4ff94917493139f",class:"gux-icon-container",innerHTML:this.svgHtml})}static get assetsDirs(){return["icons"]}get root(){return l(this)}static get watchers(){return{iconName:["prepIcon"],decorative:["watchDecorative"],screenreaderText:["watchScreenreaderText"]}}};n.style=":host{display:inline-flex;inline-size:1em;block-size:1em}:host([size=small]){inline-size:var(--gse-ui-icon-small-size);block-size:var(--gse-ui-icon-small-size)}:host([size=medium]){inline-size:var(--gse-ui-icon-medium-size);block-size:var(--gse-ui-icon-medium-size)}:host([size=large]){inline-size:var(--gse-ui-icon-large-size);block-size:var(--gse-ui-icon-large-size)}.gux-icon-container{display:flex;align-items:center;justify-content:center;inline-size:100%}.gux-icon-container svg{inline-size:100%;max-inline-size:100%;block-size:100%;max-block-size:100%;fill:currentcolor}";export{n as gux_icon}
@@ -1 +1 @@
1
- import{r as o,h as i,g as e}from"./p-c2a62a18.js";import{t as c}from"./p-331098f4.js";import{b as r}from"./p-16feb2a1.js";import"./p-4202e9f2.js";const t={clickToCopy:"Click to Copy",copySuccess:"Copied to Clipboard",copyFailure:"Error. Please Try Again."},a=class{constructor(i){o(this,i),this.tooltipContent="clickToCopy"}onMouseleave(){this.resetTooltip()}onFocusout(){this.resetTooltip()}resetTooltip(){this.tooltipContent="clickToCopy"}async onCopyToClipboard(){return navigator.clipboard.writeText(this.root.innerText).then((()=>{this.tooltipContent="copySuccess"})).catch((()=>{this.tooltipContent="copyFailure"}))}getIconName(o){switch(o){case"copyFailure":return"fa/circle-xmark-solid";case"copySuccess":return"fa/circle-check-solid"}}renderTooltipIcon(){const o=this.getIconName(this.tooltipContent);if(o)return i("gux-icon",{"icon-name":o,size:"small",decorative:!0})}renderTooltip(){return i("gux-tooltip",{placement:"bottom-end"},i("div",{slot:"content",class:"gux-tooltip-content"},this.renderTooltipIcon(),i("span",null,this.i18n(this.tooltipContent))))}async componentWillLoad(){c(this.root),this.i18n=await r(this.root,t)}render(){return i("button",{key:"37bd43b34710ec3d226b0c8607b5822c02b530ec",class:"gux-copy-to-clipboard-wrapper",onClick:this.onCopyToClipboard.bind(this)},i("div",{key:"9d6c196c3b96fcb2473a7df3caa450ae637eb16d",class:"gux-copy-content"},i("slot",{key:"73dffc9fadfcc909e1fcb997c78ce5c13cedf44d",name:"content"}),i("gux-icon",{key:"2213aca0c23c555a0ff8ceafa64191798f5b3b14","icon-name":"fa/copy-regular",size:"small",decorative:!0})),this.renderTooltip())}get root(){return e(this)}};a.style='button{all:unset}.gux-copy-to-clipboard-wrapper{display:inline-flex;align-items:center;max-inline-size:100%}.gux-copy-to-clipboard-wrapper .gux-copy-content{display:inherit;gap:var(--gse-ui-copyToClipboard-contentContainer-gap);align-items:inherit;max-inline-size:100%;cursor:pointer}.gux-copy-to-clipboard-wrapper .gux-copy-content ::slotted(*){padding:var(--gse-ui-copyToClipboard-label-padding);font-family:var(--gse-ui-copyToClipboard-label-text-fontFamily);font-size:var(--gse-ui-copyToClipboard-label-text-fontSize);font-weight:var(--gse-ui-copyToClipboard-label-text-fontWeight);line-height:var(--gse-ui-copyToClipboard-label-text-lineHeight);color:var(--gse-ui-copyToClipboard-label-foregroundColor);text-decoration:var(--gse-ui-copyToClipboard-label-text-textDecoration);border-radius:var(--gse-ui-copyToClipboard-label-borderRadius)}.gux-copy-to-clipboard-wrapper .gux-copy-content:hover ::slotted(*){background-color:var(--gse-ui-copyToClipboard-label-active-backgroundColor)}.gux-copy-to-clipboard-wrapper .gux-copy-content:hover gux-icon[icon-name="fa/copy-regular"]{visibility:visible}.gux-copy-to-clipboard-wrapper .gux-copy-content gux-icon[icon-name="fa/copy-regular"]{visibility:hidden;flex-shrink:0;padding:var(--gse-ui-copyToClipboard-iconContainer-padding);background-color:var(--gse-ui-copyToClipboard-label-active-backgroundColor);border-radius:var(--gse-ui-copyToClipboard-label-borderRadius)}.gux-copy-to-clipboard-wrapper:focus-visible{outline:none}.gux-copy-to-clipboard-wrapper:focus-visible ::slotted(*){background-color:var(--gse-ui-copyToClipboard-label-active-backgroundColor)}.gux-copy-to-clipboard-wrapper:focus-visible gux-icon[icon-name="fa/copy-regular"]{visibility:visible}gux-tooltip.gux-show{display:inline-flex;align-items:center}gux-tooltip.gux-show .gux-tooltip-content{display:contents}gux-tooltip.gux-show .gux-tooltip-content>*{vertical-align:middle}gux-tooltip.gux-show gux-icon[icon-name="fa/circle-check-solid"]{color:var(--gse-ui-copyToClipboard-tooltipIcon-success-foregroundColor)}gux-tooltip.gux-show gux-icon[icon-name="fa/circle-xmark-solid"]{color:var(--gse-ui-copyToClipboard-tooltipIcon-error-foregroundColor)}';export{a as gux_copy_to_clipboard}
1
+ import{r as o,h as i,g as e}from"./p-c2a62a18.js";import{t as c}from"./p-bbf000c6.js";import{b as r}from"./p-16feb2a1.js";import"./p-4202e9f2.js";const t={clickToCopy:"Click to Copy",copySuccess:"Copied to Clipboard",copyFailure:"Error. Please Try Again."},a=class{constructor(i){o(this,i),this.tooltipContent="clickToCopy"}onMouseleave(){this.resetTooltip()}onFocusout(){this.resetTooltip()}resetTooltip(){this.tooltipContent="clickToCopy"}async onCopyToClipboard(){return navigator.clipboard.writeText(this.root.innerText).then((()=>{this.tooltipContent="copySuccess"})).catch((()=>{this.tooltipContent="copyFailure"}))}getIconName(o){switch(o){case"copyFailure":return"fa/circle-xmark-solid";case"copySuccess":return"fa/circle-check-solid"}}renderTooltipIcon(){const o=this.getIconName(this.tooltipContent);if(o)return i("gux-icon",{"icon-name":o,size:"small",decorative:!0})}renderTooltip(){return i("gux-tooltip",{placement:"bottom-end"},i("div",{slot:"content",class:"gux-tooltip-content"},this.renderTooltipIcon(),i("span",null,this.i18n(this.tooltipContent))))}async componentWillLoad(){c(this.root),this.i18n=await r(this.root,t)}render(){return i("button",{key:"37bd43b34710ec3d226b0c8607b5822c02b530ec",class:"gux-copy-to-clipboard-wrapper",onClick:this.onCopyToClipboard.bind(this)},i("div",{key:"9d6c196c3b96fcb2473a7df3caa450ae637eb16d",class:"gux-copy-content"},i("slot",{key:"73dffc9fadfcc909e1fcb997c78ce5c13cedf44d",name:"content"}),i("gux-icon",{key:"2213aca0c23c555a0ff8ceafa64191798f5b3b14","icon-name":"fa/copy-regular",size:"small",decorative:!0})),this.renderTooltip())}get root(){return e(this)}};a.style='button{all:unset}.gux-copy-to-clipboard-wrapper{display:inline-flex;align-items:center;max-inline-size:100%}.gux-copy-to-clipboard-wrapper .gux-copy-content{display:inherit;gap:var(--gse-ui-copyToClipboard-contentContainer-gap);align-items:inherit;max-inline-size:100%;cursor:pointer}.gux-copy-to-clipboard-wrapper .gux-copy-content ::slotted(*){padding:var(--gse-ui-copyToClipboard-label-padding);font-family:var(--gse-ui-copyToClipboard-label-text-fontFamily);font-size:var(--gse-ui-copyToClipboard-label-text-fontSize);font-weight:var(--gse-ui-copyToClipboard-label-text-fontWeight);line-height:var(--gse-ui-copyToClipboard-label-text-lineHeight);color:var(--gse-ui-copyToClipboard-label-foregroundColor);text-decoration:var(--gse-ui-copyToClipboard-label-text-textDecoration);border-radius:var(--gse-ui-copyToClipboard-label-borderRadius)}.gux-copy-to-clipboard-wrapper .gux-copy-content:hover ::slotted(*){background-color:var(--gse-ui-copyToClipboard-label-active-backgroundColor)}.gux-copy-to-clipboard-wrapper .gux-copy-content:hover gux-icon[icon-name="fa/copy-regular"]{visibility:visible}.gux-copy-to-clipboard-wrapper .gux-copy-content gux-icon[icon-name="fa/copy-regular"]{visibility:hidden;flex-shrink:0;padding:var(--gse-ui-copyToClipboard-iconContainer-padding);background-color:var(--gse-ui-copyToClipboard-label-active-backgroundColor);border-radius:var(--gse-ui-copyToClipboard-label-borderRadius)}.gux-copy-to-clipboard-wrapper:focus-visible{outline:none}.gux-copy-to-clipboard-wrapper:focus-visible ::slotted(*){background-color:var(--gse-ui-copyToClipboard-label-active-backgroundColor)}.gux-copy-to-clipboard-wrapper:focus-visible gux-icon[icon-name="fa/copy-regular"]{visibility:visible}gux-tooltip.gux-show{display:inline-flex;align-items:center}gux-tooltip.gux-show .gux-tooltip-content{display:contents}gux-tooltip.gux-show .gux-tooltip-content>*{vertical-align:middle}gux-tooltip.gux-show gux-icon[icon-name="fa/circle-check-solid"]{color:var(--gse-ui-copyToClipboard-tooltipIcon-success-foregroundColor)}gux-tooltip.gux-show gux-icon[icon-name="fa/circle-xmark-solid"]{color:var(--gse-ui-copyToClipboard-tooltipIcon-error-foregroundColor)}';export{a as gux_copy_to_clipboard}
@@ -1 +1 @@
1
- import{r as s,h as t,H as e,g as a}from"./p-c2a62a18.js";import{l as r,n as o,f as i,p as n,b as c,c as d}from"./p-8d73b418.js";import{t as u}from"./p-331098f4.js";const l=["gux-list-item"],p=class{constructor(t){s(this,t)}componentWillLoad(){u(this.root)}onKeyDown(s){switch(s.key){case"ArrowUp":s.preventDefault(),n(this.root,l);break;case"Home":s.preventDefault(),i(this.root,l);break;case"ArrowDown":s.preventDefault(),o(this.root,l);break;case"End":s.preventDefault(),r(this.root,l)}}async guxFocusFirstItem(){i(this.root,l)}async guxFocusItemById(s){c(this.root,l,s)}async guxFocusItemByClosestId(s){d(this.root,l,s)}async guxFocusLastItem(){r(this.root,l)}renderFocusTarget(){return t("span",{tabindex:"-1","aria-hidden":"true"})}render(){return t(e,{key:"05eb1f68282aa13676301dd41387461be16192fb",role:"list"},this.renderFocusTarget(),t("slot",{key:"34c64d0376f741abe329118fe129fa6b8db32972"}))}static get delegatesFocus(){return!0}get root(){return a(this)}};p.style=":host{display:flex;flex-direction:column;flex-wrap:nowrap;place-content:stretch flex-start;align-items:flex-start;padding:var(--gse-ui-menu-padding)}";export{p as gux_list}
1
+ import{r as s,h as t,H as e,g as a}from"./p-c2a62a18.js";import{l as r,n as o,f as i,p as n,b as c,c as d}from"./p-8d73b418.js";import{t as u}from"./p-bbf000c6.js";const l=["gux-list-item"],p=class{constructor(t){s(this,t)}componentWillLoad(){u(this.root)}onKeyDown(s){switch(s.key){case"ArrowUp":s.preventDefault(),n(this.root,l);break;case"Home":s.preventDefault(),i(this.root,l);break;case"ArrowDown":s.preventDefault(),o(this.root,l);break;case"End":s.preventDefault(),r(this.root,l)}}async guxFocusFirstItem(){i(this.root,l)}async guxFocusItemById(s){c(this.root,l,s)}async guxFocusItemByClosestId(s){d(this.root,l,s)}async guxFocusLastItem(){r(this.root,l)}renderFocusTarget(){return t("span",{tabindex:"-1","aria-hidden":"true"})}render(){return t(e,{key:"05eb1f68282aa13676301dd41387461be16192fb",role:"list"},this.renderFocusTarget(),t("slot",{key:"34c64d0376f741abe329118fe129fa6b8db32972"}))}static get delegatesFocus(){return!0}get root(){return a(this)}};p.style=":host{display:flex;flex-direction:column;flex-wrap:nowrap;place-content:stretch flex-start;align-items:flex-start;padding:var(--gse-ui-menu-padding)}";export{p as gux_list}
@@ -0,0 +1 @@
1
+ import{r as t,c as s,h as i,H as e,g as r}from"./p-c2a62a18.js";import{t as o}from"./p-bbf000c6.js";import{p as h,n,f as a,l as c}from"./p-8d73b418.js";const l=["gux-rich-style-list-item","gux-rich-highlight-list-item","gux-rich-text-editor-sub-list"],g=class{constructor(i){t(this,i),this.internallistitemsupdated=s(this,"internallistitemsupdated",7),this.value=void 0,this.listItems=[]}get listItemsSlot(){return this.root.querySelector("slot")}get listItemElements(){var t;const s=null===(t=this.listItemsSlot)||void 0===t?void 0:t.assignedElements();return s?Array.from(s):[]}handleHighlighItemsNavigation(){if(this.listItemsSlot){const t=this.listItemsSlot.assignedElements().find((t=>"gux-rich-highlight-list-item"===t.tagName.toLowerCase()));t&&(t.shadowRoot.querySelector("button").tabIndex=0)}}setListItems(){this.listItems=this.listItemElements,this.internallistitemsupdated.emit()}async componentWillLoad(){o(this.root),this.setListItems(),this.handleHighlighItemsNavigation()}onKeyDown(t){const s=t.target;if(!s)return;const i={ArrowUp:()=>h(this.root,l),ArrowDown:()=>n(this.root,l),Home:()=>a(this.root,l),End:()=>c(this.root,l)};s.matches("gux-rich-highlight-list-item")&&Object.assign(i,{ArrowLeft:()=>h(this.root,l),ArrowRight:()=>n(this.root,l)});const e=i[t.key];e&&(t.preventDefault(),e())}async guxFocusFirstItem(){a(this.root,l)}async guxFocusLastItem(){c(this.root,l)}render(){return i(e,{key:"61a6b27bba3f4b2f0d7a773e8dfcb9096c915ef6",role:"list"},i("slot",{key:"9bdb11b67705953e6d39b7075cfcd6226f58cc91",onSlotchange:()=>this.setListItems()}))}static get delegatesFocus(){return!0}get root(){return r(this)}};g.style=":host{display:flex;flex-direction:column;flex-wrap:nowrap;place-content:stretch flex-start;align-items:flex-start;padding:var(--gse-ui-menu-padding)}";export{g as gux_rich_text_editor_list}
@@ -1 +1 @@
1
- import{r as i,h as t,g as a}from"./p-c2a62a18.js";import{b as e}from"./p-16feb2a1.js";import{t as n}from"./p-331098f4.js";import"./p-4202e9f2.js";const o={navigationName:"Skip links navigation"},s=class{constructor(t){i(this,t)}async componentWillLoad(){n(this.root),this.i18n=await e(this.root,o)}render(){return t("div",{key:"37d6ca61dae7aaac63b832b6a47d448176111f9e",class:"gux-container"},t("nav",{key:"fb8a026ea9325238b4bf89c92296818465434dfa","aria-label":this.i18n("navigationName")},t("ul",{key:"1af9ddca3d1bb384ecc6e7772a62fcb52308acf5",role:"list"},t("slot",{key:"7fb2fa3bef3ad75db0efb34009a31a4a63d5664d"}))))}static get delegatesFocus(){return!0}get root(){return a(this)}};s.style=":host{position:absolute;top:auto;left:-10000px;width:1px;height:1px;overflow:hidden}:host(:focus-within){position:inherit;top:inherit;left:inherit;width:inherit;height:inherit;overflow:inherit;position:absolute;inset:0}.gux-container nav{inline-size:fit-content;margin-block:40px;margin-inline:auto}.gux-container nav ul{padding:0;margin:0}";export{s as gux_skip_navigation_list}
1
+ import{r as i,h as t,g as a}from"./p-c2a62a18.js";import{b as e}from"./p-16feb2a1.js";import{t as n}from"./p-bbf000c6.js";import"./p-4202e9f2.js";const o={navigationName:"Skip links navigation"},s=class{constructor(t){i(this,t)}async componentWillLoad(){n(this.root),this.i18n=await e(this.root,o)}render(){return t("div",{key:"37d6ca61dae7aaac63b832b6a47d448176111f9e",class:"gux-container"},t("nav",{key:"fb8a026ea9325238b4bf89c92296818465434dfa","aria-label":this.i18n("navigationName")},t("ul",{key:"1af9ddca3d1bb384ecc6e7772a62fcb52308acf5",role:"list"},t("slot",{key:"7fb2fa3bef3ad75db0efb34009a31a4a63d5664d"}))))}static get delegatesFocus(){return!0}get root(){return a(this)}};s.style=":host{position:absolute;top:auto;left:-10000px;width:1px;height:1px;overflow:hidden}:host(:focus-within){position:inherit;top:inherit;left:inherit;width:inherit;height:inherit;overflow:inherit;position:absolute;inset:0}.gux-container nav{inline-size:fit-content;margin-block:40px;margin-inline:auto}.gux-container nav ul{padding:0;margin:0}";export{s as gux_skip_navigation_list}
@@ -1 +1 @@
1
- import{r as e,h as n,g as a}from"./p-c2a62a18.js";import{t}from"./p-331098f4.js";import{O as i}from"./p-9df4dd07.js";import{h as o}from"./p-6d8b4027.js";const s=class{constructor(n){e(this,n),this.hasCallToAction=!1,this.hasGuidance=!1}onMutation(){this.hasCallToAction=o(this.root,"call-to-action"),this.hasGuidance=o(this.root,"additional-guidance")}renderCallToActionSlot(){if(this.hasCallToAction)return n("gux-button-slot",{accent:"primary"},n("slot",{name:"call-to-action"}))}renderGuidanceSlot(){if(this.hasGuidance)return n("div",{class:"gux-guidance"},n("slot",{name:"additional-guidance"}))}componentWillLoad(){t(this.root),this.hasCallToAction=o(this.root,"call-to-action"),this.hasGuidance=o(this.root,"additional-guidance")}render(){return n("div",{key:"761e3d38781b7f10c444b52f16feefcaef7591a9",class:"gux-container"},n("div",{key:"9e166ea09c11c2c59193da15521d63a3461651e5",class:"gux-image"},n("slot",{key:"0c5762d1375451f2c8528721a04f319fee03cc81",name:"image"})),n("div",{key:"f1060ef6636b673d0e55d105b2a425f4ccc49987",class:"gux-message"},n("slot",{key:"f377b70b59ff6520667d9efa4c70196187931fc2",name:"primary-message"})),this.renderGuidanceSlot(),this.renderCallToActionSlot())}get root(){return a(this)}};(function(e,n,a,t){var i,o=arguments.length,s=o<3?n:null===t?t=Object.getOwnPropertyDescriptor(n,a):t;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(e,n,a,t);else for(var r=e.length-1;r>=0;r--)(i=e[r])&&(s=(o<3?i(s):o>3?i(n,a,s):i(n,a))||s);o>3&&s&&Object.defineProperty(n,a,s)})([i({childList:!0,subtree:!0})],s.prototype,"onMutation",null),s.style=":host {\n display: flex;\n flex-direction: column;\n align-items: center;\n justify-content: center;\n container-type: inline-size;\n}\n\n.gux-container {\n display: flex;\n flex-direction: column;\n align-items: center;\n justify-content: center;\n padding: var(--gse-ui-blankState-padding);\n color: var(--gse-ui-blankState-foregroundColor);\n}\n.gux-container .gux-image {\n padding-block-end: var(--gse-ui-blankState-gapMain);\n}\n.gux-container .gux-message {\n padding-block-end: var(--gse-ui-blankState-gapMessage);\n}\n.gux-container .gux-guidance {\n padding-block-end: var(--gse-ui-blankState-gapContent);\n}\n.gux-container ::slotted(gux-icon) {\n inline-size: var(--gse-ui-blankState-icon-size-lg);\n block-size: var(--gse-ui-blankState-icon-size-lg);\n color: var(--gse-ui-blankState-iconColor);\n}\n.gux-container slot[name=primary-message] {\n font-family: var(--gse-ui-progressAndLoading-blankState-large-header-fontFamily);\n font-size: var(--gse-ui-progressAndLoading-blankState-large-header-fontSize);\n font-weight: var(--gse-ui-progressAndLoading-blankState-large-header-fontWeight);\n line-height: var(--gse-ui-progressAndLoading-blankState-large-header-lineHeight);\n color: var(--gse-ui-blankState-foregroundColor);\n text-align: center;\n}\n.gux-container slot[name=additional-guidance] {\n font-family: var(--gse-ui-progressAndLoading-blankState-large-subheader-fontFamily);\n font-size: var(--gse-ui-progressAndLoading-blankState-large-subheader-fontSize);\n font-weight: var(--gse-ui-progressAndLoading-blankState-large-subheader-fontWeight);\n line-height: var(--gse-ui-progressAndLoading-blankState-large-subheader-lineHeight);\n color: var(--gse-ui-blankState-foregroundColor);\n text-align: center;\n}\n\n@container (width < 570px) {\n .gux-container ::slotted(gux-icon) {\n inline-size: var(--gse-ui-blankState-icon-size-sm);\n block-size: var(--gse-ui-blankState-icon-size-sm);\n }\n .gux-container slot[name=primary-message] {\n font-family: var(--gse-ui-progressAndLoading-blankState-small-header-fontFamily);\n font-size: var(--gse-ui-progressAndLoading-blankState-small-header-fontSize);\n font-weight: var(--gse-ui-progressAndLoading-blankState-small-header-fontWeight);\n line-height: var(--gse-ui-progressAndLoading-blankState-small-header-lineHeight);\n }\n .gux-container slot[name=additional-guidance] {\n font-family: var(--gse-ui-progressAndLoading-blankState-small-subheader-fontFamily);\n font-size: var(--gse-ui-progressAndLoading-blankState-small-subheader-fontSize);\n font-weight: var(--gse-ui-progressAndLoading-blankState-small-subheader-fontWeight);\n line-height: var(--gse-ui-progressAndLoading-blankState-small-subheader-lineHeight);\n }\n}";export{s as gux_blank_state}
1
+ import{r as e,h as n,g as a}from"./p-c2a62a18.js";import{t}from"./p-bbf000c6.js";import{O as i}from"./p-9df4dd07.js";import{h as o}from"./p-6d8b4027.js";const s=class{constructor(n){e(this,n),this.hasCallToAction=!1,this.hasGuidance=!1}onMutation(){this.hasCallToAction=o(this.root,"call-to-action"),this.hasGuidance=o(this.root,"additional-guidance")}renderCallToActionSlot(){if(this.hasCallToAction)return n("gux-button-slot",{accent:"primary"},n("slot",{name:"call-to-action"}))}renderGuidanceSlot(){if(this.hasGuidance)return n("div",{class:"gux-guidance"},n("slot",{name:"additional-guidance"}))}componentWillLoad(){t(this.root),this.hasCallToAction=o(this.root,"call-to-action"),this.hasGuidance=o(this.root,"additional-guidance")}render(){return n("div",{key:"761e3d38781b7f10c444b52f16feefcaef7591a9",class:"gux-container"},n("div",{key:"9e166ea09c11c2c59193da15521d63a3461651e5",class:"gux-image"},n("slot",{key:"0c5762d1375451f2c8528721a04f319fee03cc81",name:"image"})),n("div",{key:"f1060ef6636b673d0e55d105b2a425f4ccc49987",class:"gux-message"},n("slot",{key:"f377b70b59ff6520667d9efa4c70196187931fc2",name:"primary-message"})),this.renderGuidanceSlot(),this.renderCallToActionSlot())}get root(){return a(this)}};(function(e,n,a,t){var i,o=arguments.length,s=o<3?n:null===t?t=Object.getOwnPropertyDescriptor(n,a):t;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(e,n,a,t);else for(var r=e.length-1;r>=0;r--)(i=e[r])&&(s=(o<3?i(s):o>3?i(n,a,s):i(n,a))||s);o>3&&s&&Object.defineProperty(n,a,s)})([i({childList:!0,subtree:!0})],s.prototype,"onMutation",null),s.style=":host {\n display: flex;\n flex-direction: column;\n align-items: center;\n justify-content: center;\n container-type: inline-size;\n}\n\n.gux-container {\n display: flex;\n flex-direction: column;\n align-items: center;\n justify-content: center;\n padding: var(--gse-ui-blankState-padding);\n color: var(--gse-ui-blankState-foregroundColor);\n}\n.gux-container .gux-image {\n padding-block-end: var(--gse-ui-blankState-gapMain);\n}\n.gux-container .gux-message {\n padding-block-end: var(--gse-ui-blankState-gapMessage);\n}\n.gux-container .gux-guidance {\n padding-block-end: var(--gse-ui-blankState-gapContent);\n}\n.gux-container ::slotted(gux-icon) {\n inline-size: var(--gse-ui-blankState-icon-size-lg);\n block-size: var(--gse-ui-blankState-icon-size-lg);\n color: var(--gse-ui-blankState-iconColor);\n}\n.gux-container slot[name=primary-message] {\n font-family: var(--gse-ui-progressAndLoading-blankState-large-header-fontFamily);\n font-size: var(--gse-ui-progressAndLoading-blankState-large-header-fontSize);\n font-weight: var(--gse-ui-progressAndLoading-blankState-large-header-fontWeight);\n line-height: var(--gse-ui-progressAndLoading-blankState-large-header-lineHeight);\n color: var(--gse-ui-blankState-foregroundColor);\n text-align: center;\n}\n.gux-container slot[name=additional-guidance] {\n font-family: var(--gse-ui-progressAndLoading-blankState-large-subheader-fontFamily);\n font-size: var(--gse-ui-progressAndLoading-blankState-large-subheader-fontSize);\n font-weight: var(--gse-ui-progressAndLoading-blankState-large-subheader-fontWeight);\n line-height: var(--gse-ui-progressAndLoading-blankState-large-subheader-lineHeight);\n color: var(--gse-ui-blankState-foregroundColor);\n text-align: center;\n}\n\n@container (width < 570px) {\n .gux-container ::slotted(gux-icon) {\n inline-size: var(--gse-ui-blankState-icon-size-sm);\n block-size: var(--gse-ui-blankState-icon-size-sm);\n }\n .gux-container slot[name=primary-message] {\n font-family: var(--gse-ui-progressAndLoading-blankState-small-header-fontFamily);\n font-size: var(--gse-ui-progressAndLoading-blankState-small-header-fontSize);\n font-weight: var(--gse-ui-progressAndLoading-blankState-small-header-fontWeight);\n line-height: var(--gse-ui-progressAndLoading-blankState-small-header-lineHeight);\n }\n .gux-container slot[name=additional-guidance] {\n font-family: var(--gse-ui-progressAndLoading-blankState-small-subheader-fontFamily);\n font-size: var(--gse-ui-progressAndLoading-blankState-small-subheader-fontSize);\n font-weight: var(--gse-ui-progressAndLoading-blankState-small-subheader-fontWeight);\n line-height: var(--gse-ui-progressAndLoading-blankState-small-subheader-lineHeight);\n }\n}";export{s as gux_blank_state}
@@ -1 +1 @@
1
- import{r as e,h as r,g as s}from"./p-c2a62a18.js";import{t}from"./p-331098f4.js";const a=class{constructor(r){e(this,r),this.screenreaderText=void 0}componentWillLoad(){t(this.root)}render(){return r("gux-radial-loading",{key:"0d4ca2add38e62428137de8b072523da164e620f",class:"gux-spinner","screenreader-text":this.screenreaderText,context:"full-page"})}get root(){return s(this)}};a.style=":host{display:flex}.gux-spinner{margin:auto}";export{a as gux_page_loading_spinner}
1
+ import{r as e,h as r,g as s}from"./p-c2a62a18.js";import{t}from"./p-bbf000c6.js";const a=class{constructor(r){e(this,r),this.screenreaderText=void 0}componentWillLoad(){t(this.root)}render(){return r("gux-radial-loading",{key:"0d4ca2add38e62428137de8b072523da164e620f",class:"gux-spinner","screenreader-text":this.screenreaderText,context:"full-page"})}get root(){return s(this)}};a.style=":host{display:flex}.gux-spinner{margin:auto}";export{a as gux_page_loading_spinner}
@@ -1 +1 @@
1
- import{r as t,h as i,H as e,g as o,f as s}from"./p-c2a62a18.js";import{a as r,o as a,f as n,s as l,h as d,c}from"./p-864af39c.js";import{r as h}from"./p-0934300e.js";import{t as u}from"./p-331098f4.js";import{f as p}from"./p-9b0d3713.js";import{b as g}from"./p-cf0e7d3b.js";import{o as f}from"./p-52d53e47.js";import{O as v}from"./p-9df4dd07.js";import{O as m}from"./p-26772091.js";const b=class{constructor(i){t(this,i),this.pointerenterHandler=()=>this.show(),this.pointerleaveHandler=()=>this.hide(),this.focusinHandler=()=>this.show(),this.focusoutHandler=()=>this.hide(),this.forElementListeners=new Map([["pointerenter",this.pointerenterHandler],["pointerleave",this.pointerleaveHandler],["focusin",this.focusinHandler],["focusout",this.focusoutHandler]]),this.id=h("gux-tooltip"),this.for=void 0,this.placement="bottom-start",this.accent="light",this.isShown=!1}handleKeyDown(t){"Escape"===t.key&&this.isShown&&this.hide()}handlePointerenter(){this.show()}handlePointerleave(){this.hide()}async showTooltip(){this.show()}async hideTooltip(){this.hide()}runUpdatePosition(){this.cleanupUpdatePosition=r(this.forElement,this.root,(()=>this.updatePosition()),{ancestorScroll:!0,elementResize:!0,animationFrame:!1,ancestorResize:!0})}updatePosition(){const t=[a(16),n(),l(),d(),f()];c(this.forElement,this.root,{placement:this.placement,strategy:"fixed",middleware:t}).then((({x:t,y:i,middlewareData:e})=>{var o;Object.assign(this.root.style,{left:`${t}px`,top:`${i}px`,visibility:(null===(o=e.hide)||void 0===o?void 0:o.referenceHidden)?"hidden":"visible"}),this.root.setAttribute("data-placement",this.placement)}))}show(){clearTimeout(this.hideDelayTimeout),this.isShown=!0,g((()=>{this.runUpdatePosition()}))}hide(){this.hideDelayTimeout=setTimeout((()=>{this.cleanupUpdatePosition&&this.cleanupUpdatePosition(),this.isShown=!1}),350)}getForElement(){return this.for?p(this.root,this.for):this.root.parentElement}logForAttributeError(){this.root.isConnected&&console.error(`gux-tooltip: invalid element supplied to 'for': "${this.for}"`)}setForElement(){this.forElement=this.getForElement(),this.forElement?(this.forElement.setAttribute("aria-describedby",this.id),this.forElementListeners.forEach(((t,i)=>this.forElement.addEventListener(i,t)))):this.logForAttributeError()}disconnectForElement(){this.forElement&&(this.forElement.removeAttribute("aria-describedby"),this.forElementListeners.forEach(((t,i)=>this.forElement.removeEventListener(i,t))))}updateForElement(){this.disconnectForElement(),this.setForElement()}connectedCallback(){this.setForElement()}componentWillLoad(){u(this.root,{variant:this.placement})}disconnectedCallback(){this.cleanupUpdatePosition&&this.cleanupUpdatePosition(),this.disconnectForElement()}render(){return i(e,{key:"04a3d0e77731166a8af670fb883866719d375c3b",id:this.id,class:{"gux-show":this.isShown},role:"tooltip"},i("div",{key:"da7d047292ad63a023014be99c58ca6082b73bc1",class:{"gux-container":!0,[`gux-${this.accent}`]:!0},"data-placement":this.placement},i("slot",{key:"fa7d1794cde83d266851e8342eec4d2186813cef",name:"content"},i("slot",{key:"4f3ada5741f7e946db1d247e02d71b2e122469e5"}))))}get root(){return o(this)}static get watchers(){return{for:["updateForElement"]}}};function x(t){return t.reduce(((t,i)=>{if("SLOT"===i.nodeName){const e=i.assignedNodes();return t.concat(x(e))}return t.concat(i.textContent)}),[]).map((t=>t.trim())).join(" ")}b.style=":host{position:fixed;z-index:var(--gse-semantic-zIndex-tooltip);display:none;inline-size:max-content;max-inline-size:250px;border-radius:var(--gse-ui-tooltip-borderRadius);box-shadow:var(--gse-ui-tooltip-boxShadow);opacity:0}:host(.gux-show){display:block;animation-name:fade-in;animation-duration:250ms;animation-delay:350ms;animation-fill-mode:forwards}.gux-container{box-sizing:border-box;display:flex;flex-direction:row;gap:var(--gse-ui-tooltip-gap);place-content:center flex-start;padding:var(--gse-ui-tooltip-padding);font-family:var(--gse-ui-tooltip-text-fontFamily);font-size:var(--gse-ui-tooltip-text-fontSize);font-weight:var(--gse-ui-tooltip-text-fontWeight);line-height:var(--gse-ui-tooltip-text-lineHeight);color:var(--gse-ui-tooltip-light-foregroundColor);pointer-events:none;background-color:var(--gse-ui-tooltip-light-backgroundColor);border:var(--gse-ui-tooltip-light-border-width) var(--gse-ui-tooltip-light-border-style) var(--gse-ui-tooltip-light-border-color);border-radius:var(--gse-ui-tooltip-borderRadius)}.gux-container ::slotted(gux-icon){align-self:center;inline-size:var(--gse-ui-icon-small-size);block-size:var(--gse-ui-icon-small-size);color:var(--gse-ui-tooltip-light-foregroundColor)}.gux-container ::slotted(*){inline-size:100%;overflow-wrap:break-word;white-space:normal}.gux-container.gux-dark{color:var(--gse-ui-tooltip-dark-foregroundColor);background-color:var(--gse-ui-tooltip-dark-backgroundColor);border:var(--gse-ui-tooltip-dark-border-width) var(--gse-ui-tooltip-dark-border-style) var(--gse-ui-tooltip-dark-border-color)}.gux-container.gux-dark ::slotted(gux-icon){align-self:center;inline-size:var(--gse-ui-icon-small-size);block-size:var(--gse-ui-icon-small-size);color:var(--gse-ui-tooltip-dark-iconColor)}@keyframes fade-in{0%{opacity:0}100%{opacity:1}}";var w=function(t,i,e,o){var s,r=arguments.length,a=r<3?i:null===o?o=Object.getOwnPropertyDescriptor(i,e):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(t,i,e,o);else for(var n=t.length-1;n>=0;n--)(s=t[n])&&(a=(r<3?s(a):r>3?s(i,e,a):s(i,e))||a);return r>3&&a&&Object.defineProperty(i,e,a),a};const y=class{constructor(i){t(this,i),this.maxLines=void 0}async setShowTooltip(){var t;await(null===(t=this.tooltipElement)||void 0===t?void 0:t.showTooltip())}async setHideTooltip(){var t;await(null===(t=this.tooltipElement)||void 0===t?void 0:t.hideTooltip())}onMutation(){s(this.root)}onResize(){s(this.root)}getTooltipContent(){return x(Array.from(this.root.childNodes))||""}needsTruncation(){const t=this.root.shadowRoot.querySelector(".gux-truncate-slot-container");return(null==t?void 0:t.scrollWidth)>(null==t?void 0:t.offsetWidth)||(null==t?void 0:t.scrollHeight)>(null==t?void 0:t.offsetHeight)}renderTooltip(){return this.needsTruncation()?i("gux-tooltip",{"aria-hidden":"true",ref:t=>this.tooltipElement=t},i("div",{slot:"content"},this.getTooltipContent())):null}render(){var t;return i("div",{key:"0dca2c40ddc3d395335974a04999ac0a675a5834",class:{"gux-truncate-multi-line":Boolean(this.maxLines)}},i("span",{key:"04381fb28f65143eb98fde91c5b2f06e646e791e",class:{"gux-overflow-hidden":this.needsTruncation(),"gux-truncate-slot-container":!0},style:{webkitLineClamp:null===(t=this.maxLines)||void 0===t?void 0:t.toString()}},i("slot",{key:"077f91482bfa44c515fee450317723d70f5d5f16"})),this.renderTooltip())}get root(){return o(this)}};w([v({childList:!0,subtree:!0,characterData:!0})],y.prototype,"onMutation",null),w([m()],y.prototype,"onResize",null),y.style=":host{display:block;inline-size:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;cursor:inherit}::slotted(*){display:inline}.gux-truncate-multi-line{white-space:normal}.gux-truncate-multi-line .gux-truncate-slot-container{display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:1}gux-tooltip{font-weight:normal;line-height:normal;text-align:start;overflow-wrap:break-word;white-space:normal}.gux-truncate-slot-container>*{display:inline}.gux-truncate-slot-container{display:block;text-overflow:ellipsis}.gux-overflow-hidden{overflow:hidden}";export{b as gux_tooltip,y as gux_truncate}
1
+ import{r as t,h as i,H as e,g as o,f as s}from"./p-c2a62a18.js";import{a as r,o as a,f as n,s as l,h as d,c}from"./p-864af39c.js";import{r as h}from"./p-0934300e.js";import{t as u}from"./p-bbf000c6.js";import{f as p}from"./p-9b0d3713.js";import{b as g}from"./p-cf0e7d3b.js";import{o as f}from"./p-52d53e47.js";import{O as v}from"./p-9df4dd07.js";import{O as b}from"./p-26772091.js";const m=class{constructor(i){t(this,i),this.pointerenterHandler=()=>this.show(),this.pointerleaveHandler=()=>this.hide(),this.focusinHandler=()=>this.show(),this.focusoutHandler=()=>this.hide(),this.forElementListeners=new Map([["pointerenter",this.pointerenterHandler],["pointerleave",this.pointerleaveHandler],["focusin",this.focusinHandler],["focusout",this.focusoutHandler]]),this.id=h("gux-tooltip"),this.for=void 0,this.placement="bottom-start",this.accent="light",this.isShown=!1}handleKeyDown(t){"Escape"===t.key&&this.isShown&&this.hide()}handlePointerenter(){this.show()}handlePointerleave(){this.hide()}async showTooltip(){this.show()}async hideTooltip(){this.hide()}runUpdatePosition(){this.cleanupUpdatePosition=r(this.forElement,this.root,(()=>this.updatePosition()),{ancestorScroll:!0,elementResize:!0,animationFrame:!1,ancestorResize:!0})}updatePosition(){const t=[a(16),n(),l(),d(),f()];c(this.forElement,this.root,{placement:this.placement,strategy:"fixed",middleware:t}).then((({x:t,y:i,middlewareData:e})=>{var o;Object.assign(this.root.style,{left:`${t}px`,top:`${i}px`,visibility:(null===(o=e.hide)||void 0===o?void 0:o.referenceHidden)?"hidden":"visible"}),this.root.setAttribute("data-placement",this.placement)}))}show(){clearTimeout(this.hideDelayTimeout),this.isShown=!0,g((()=>{this.runUpdatePosition()}))}hide(){this.hideDelayTimeout=setTimeout((()=>{this.cleanupUpdatePosition&&this.cleanupUpdatePosition(),this.isShown=!1}),350)}getForElement(){return this.for?p(this.root,this.for):this.root.parentElement}logForAttributeError(){this.root.isConnected&&console.error(`gux-tooltip: invalid element supplied to 'for': "${this.for}"`)}setForElement(){this.forElement=this.getForElement(),this.forElement?(this.forElement.setAttribute("aria-describedby",this.id),this.forElementListeners.forEach(((t,i)=>this.forElement.addEventListener(i,t)))):this.logForAttributeError()}disconnectForElement(){this.forElement&&(this.forElement.removeAttribute("aria-describedby"),this.forElementListeners.forEach(((t,i)=>this.forElement.removeEventListener(i,t))))}updateForElement(){this.disconnectForElement(),this.setForElement()}connectedCallback(){this.setForElement()}componentWillLoad(){u(this.root,{variant:this.placement})}disconnectedCallback(){this.cleanupUpdatePosition&&this.cleanupUpdatePosition(),this.disconnectForElement()}render(){return i(e,{key:"04a3d0e77731166a8af670fb883866719d375c3b",id:this.id,class:{"gux-show":this.isShown},role:"tooltip"},i("div",{key:"da7d047292ad63a023014be99c58ca6082b73bc1",class:{"gux-container":!0,[`gux-${this.accent}`]:!0},"data-placement":this.placement},i("slot",{key:"fa7d1794cde83d266851e8342eec4d2186813cef",name:"content"},i("slot",{key:"4f3ada5741f7e946db1d247e02d71b2e122469e5"}))))}get root(){return o(this)}static get watchers(){return{for:["updateForElement"]}}};function x(t){return t.reduce(((t,i)=>{if("SLOT"===i.nodeName){const e=i.assignedNodes();return t.concat(x(e))}return t.concat(i.textContent)}),[]).map((t=>t.trim())).join(" ")}m.style=":host{position:fixed;z-index:var(--gse-semantic-zIndex-tooltip);display:none;inline-size:max-content;max-inline-size:250px;border-radius:var(--gse-ui-tooltip-borderRadius);box-shadow:var(--gse-ui-tooltip-boxShadow);opacity:0}:host(.gux-show){display:block;animation-name:fade-in;animation-duration:250ms;animation-delay:350ms;animation-fill-mode:forwards}.gux-container{box-sizing:border-box;display:flex;flex-direction:row;gap:var(--gse-ui-tooltip-gap);place-content:center flex-start;padding:var(--gse-ui-tooltip-padding);font-family:var(--gse-ui-tooltip-text-fontFamily);font-size:var(--gse-ui-tooltip-text-fontSize);font-weight:var(--gse-ui-tooltip-text-fontWeight);line-height:var(--gse-ui-tooltip-text-lineHeight);color:var(--gse-ui-tooltip-light-foregroundColor);pointer-events:none;background-color:var(--gse-ui-tooltip-light-backgroundColor);border:var(--gse-ui-tooltip-light-border-width) var(--gse-ui-tooltip-light-border-style) var(--gse-ui-tooltip-light-border-color);border-radius:var(--gse-ui-tooltip-borderRadius)}.gux-container ::slotted(gux-icon){align-self:center;inline-size:var(--gse-ui-icon-small-size);block-size:var(--gse-ui-icon-small-size);color:var(--gse-ui-tooltip-light-foregroundColor)}.gux-container ::slotted(*){inline-size:100%;overflow-wrap:break-word;white-space:normal}.gux-container.gux-dark{color:var(--gse-ui-tooltip-dark-foregroundColor);background-color:var(--gse-ui-tooltip-dark-backgroundColor);border:var(--gse-ui-tooltip-dark-border-width) var(--gse-ui-tooltip-dark-border-style) var(--gse-ui-tooltip-dark-border-color)}.gux-container.gux-dark ::slotted(gux-icon){align-self:center;inline-size:var(--gse-ui-icon-small-size);block-size:var(--gse-ui-icon-small-size);color:var(--gse-ui-tooltip-dark-iconColor)}@keyframes fade-in{0%{opacity:0}100%{opacity:1}}";var w=function(t,i,e,o){var s,r=arguments.length,a=r<3?i:null===o?o=Object.getOwnPropertyDescriptor(i,e):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(t,i,e,o);else for(var n=t.length-1;n>=0;n--)(s=t[n])&&(a=(r<3?s(a):r>3?s(i,e,a):s(i,e))||a);return r>3&&a&&Object.defineProperty(i,e,a),a};const y=class{constructor(i){t(this,i),this.maxLines=void 0}async setShowTooltip(){var t;await(null===(t=this.tooltipElement)||void 0===t?void 0:t.showTooltip())}async setHideTooltip(){var t;await(null===(t=this.tooltipElement)||void 0===t?void 0:t.hideTooltip())}onMutation(){s(this.root)}onResize(){s(this.root)}getTooltipContent(){return x(Array.from(this.root.childNodes))||""}needsTruncation(){const t=this.root.shadowRoot.querySelector(".gux-truncate-slot-container");return(null==t?void 0:t.scrollWidth)>(null==t?void 0:t.offsetWidth)||(null==t?void 0:t.scrollHeight)>(null==t?void 0:t.offsetHeight)}renderTooltip(){return this.needsTruncation()?i("gux-tooltip",{"aria-hidden":"true",ref:t=>this.tooltipElement=t},i("div",{slot:"content"},this.getTooltipContent())):null}render(){var t;return i("div",{key:"0dca2c40ddc3d395335974a04999ac0a675a5834",class:{"gux-truncate-multi-line":Boolean(this.maxLines)}},i("span",{key:"04381fb28f65143eb98fde91c5b2f06e646e791e",class:{"gux-overflow-hidden":this.needsTruncation(),"gux-truncate-slot-container":!0},style:{webkitLineClamp:null===(t=this.maxLines)||void 0===t?void 0:t.toString()}},i("slot",{key:"077f91482bfa44c515fee450317723d70f5d5f16"})),this.renderTooltip())}get root(){return o(this)}};w([v({childList:!0,subtree:!0,characterData:!0})],y.prototype,"onMutation",null),w([b()],y.prototype,"onResize",null),y.style=":host{display:block;inline-size:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;cursor:inherit}::slotted(*){display:inline}.gux-truncate-multi-line{white-space:normal}.gux-truncate-multi-line .gux-truncate-slot-container{display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:1}gux-tooltip{font-weight:normal;line-height:normal;text-align:start;overflow-wrap:break-word;white-space:normal}.gux-truncate-slot-container>*{display:inline}.gux-truncate-slot-container{display:block;text-overflow:ellipsis}.gux-overflow-hidden{overflow:hidden}";export{m as gux_tooltip,y as gux_truncate}
@@ -1 +1 @@
1
- import{r as t,h as e,g as o}from"./p-c2a62a18.js";import{t as s}from"./p-331098f4.js";const a=class{constructor(e){t(this,e)}componentWillLoad(){s(this.root)}render(){return e("span",{key:"b61aa74de6cc2f8f9f0ac6053f91a7e4be2638a3",class:"gux-sr-only"},e("slot",{key:"497018bbc50adf0226f7b70d4efd3cf52bf9fbd5"}))}get root(){return o(this)}};a.style=":host{position:relative}.gux-sr-only:not(:focus):not(:active){position:absolute;width:1px;height:1px;overflow:hidden;white-space:nowrap;clip:rect(0 0 0 0);clip-path:inset(50%)}";export{a as gux_screen_reader_beta}
1
+ import{r as t,h as e,g as o}from"./p-c2a62a18.js";import{t as s}from"./p-bbf000c6.js";const a=class{constructor(e){t(this,e)}componentWillLoad(){s(this.root)}render(){return e("span",{key:"b61aa74de6cc2f8f9f0ac6053f91a7e4be2638a3",class:"gux-sr-only"},e("slot",{key:"497018bbc50adf0226f7b70d4efd3cf52bf9fbd5"}))}get root(){return o(this)}};a.style=":host{position:relative}.gux-sr-only:not(:focus):not(:active){position:absolute;width:1px;height:1px;overflow:hidden;white-space:nowrap;clip:rect(0 0 0 0);clip-path:inset(50%)}";export{a as gux_screen_reader_beta}