genesys-spark-components 4.182.3 → 4.183.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 (397) 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-beta.cjs.entry.js +2 -2
  13. package/dist/cjs/gux-blank-state.cjs.entry.js +1 -1
  14. package/dist/cjs/gux-breadcrumbs.cjs.entry.js +1 -1
  15. package/dist/cjs/gux-button-multi.cjs.entry.js +1 -1
  16. package/dist/cjs/gux-button-slot.cjs.entry.js +1 -1
  17. package/dist/cjs/gux-button_2.cjs.entry.js +1 -1
  18. package/dist/cjs/gux-calendar.cjs.entry.js +1 -1
  19. package/dist/cjs/gux-card.cjs.entry.js +1 -1
  20. package/dist/cjs/gux-cloud-logo-beta.cjs.entry.js +1 -1
  21. package/dist/cjs/gux-cloud-logomark-beta.cjs.entry.js +1 -1
  22. package/dist/cjs/gux-column-manager.cjs.entry.js +1 -1
  23. package/dist/cjs/gux-content-search.cjs.entry.js +1 -1
  24. package/dist/cjs/gux-context-menu.cjs.entry.js +1 -1
  25. package/dist/cjs/gux-copy-to-clipboard.cjs.entry.js +1 -1
  26. package/dist/cjs/gux-date-beta.cjs.entry.js +1 -1
  27. package/dist/cjs/gux-date-time-beta.cjs.entry.js +1 -1
  28. package/dist/cjs/gux-datepicker.cjs.entry.js +1 -1
  29. package/dist/cjs/gux-disclosure-button-legacy.cjs.entry.js +1 -1
  30. package/dist/cjs/gux-dismiss-button.cjs.entry.js +1 -1
  31. package/dist/cjs/gux-dropdown-multi.cjs.entry.js +1 -1
  32. package/dist/cjs/gux-dropdown_3.cjs.entry.js +1 -1
  33. package/dist/cjs/gux-file-list-item.cjs.entry.js +1 -1
  34. package/dist/cjs/gux-flag-icon-beta.cjs.entry.js +1 -1
  35. package/dist/cjs/gux-flyout-menu.cjs.entry.js +1 -1
  36. package/dist/cjs/gux-form-field-checkbox-group-beta.cjs.entry.js +1 -1
  37. package/dist/cjs/gux-form-field-checkbox.cjs.entry.js +1 -1
  38. package/dist/cjs/gux-form-field-color.cjs.entry.js +1 -1
  39. package/dist/cjs/gux-form-field-dropdown.cjs.entry.js +1 -1
  40. package/dist/cjs/gux-form-field-file-beta.cjs.entry.js +1 -1
  41. package/dist/cjs/gux-form-field-file.cjs.entry.js +1 -1
  42. package/dist/cjs/gux-form-field-input-clear-button.cjs.entry.js +1 -1
  43. package/dist/cjs/gux-form-field-label-indicator.cjs.entry.js +1 -1
  44. package/dist/cjs/gux-form-field-number_2.cjs.entry.js +1 -1
  45. package/dist/cjs/gux-form-field-phone.cjs.entry.js +1 -1
  46. package/dist/cjs/gux-form-field-radio-group-beta.cjs.entry.js +1 -1
  47. package/dist/cjs/gux-form-field-radio.cjs.entry.js +1 -1
  48. package/dist/cjs/gux-form-field-range.cjs.entry.js +1 -1
  49. package/dist/cjs/gux-form-field-search.cjs.entry.js +1 -1
  50. package/dist/cjs/gux-form-field-select.cjs.entry.js +1 -1
  51. package/dist/cjs/gux-form-field-text-like.cjs.entry.js +1 -1
  52. package/dist/cjs/gux-form-field-textarea.cjs.entry.js +1 -1
  53. package/dist/cjs/gux-form-field-time-picker.cjs.entry.js +1 -1
  54. package/dist/cjs/gux-form-field-time-zone-picker.cjs.entry.js +1 -1
  55. package/dist/cjs/gux-form-footer.cjs.entry.js +1 -1
  56. package/dist/cjs/gux-icon-tooltip-beta.cjs.entry.js +1 -1
  57. package/dist/cjs/gux-icon.cjs.entry.js +1 -1
  58. package/dist/cjs/gux-illustration-beta.cjs.entry.js +1 -1
  59. package/dist/cjs/gux-inline-alert.cjs.entry.js +1 -1
  60. package/dist/cjs/gux-inline-dropdown-beta.cjs.entry.js +1 -1
  61. package/dist/cjs/gux-label-info-beta.cjs.entry.js +1 -1
  62. package/dist/cjs/gux-link-beta.cjs.entry.js +1 -1
  63. package/dist/cjs/gux-list.cjs.entry.js +1 -1
  64. package/dist/cjs/gux-listbox-multi.cjs.entry.js +1 -1
  65. package/dist/cjs/gux-loading-message.cjs.entry.js +1 -1
  66. package/dist/cjs/gux-logo-beta.cjs.entry.js +1 -1
  67. package/dist/cjs/gux-logomark-beta.cjs.entry.js +1 -1
  68. package/dist/cjs/gux-modal-legacy.cjs.entry.js +1 -1
  69. package/dist/cjs/gux-modal-side-panel-beta.cjs.entry.js +1 -1
  70. package/dist/cjs/gux-modal.cjs.entry.js +1 -1
  71. package/dist/cjs/gux-month-picker-beta.cjs.entry.js +1 -1
  72. package/dist/cjs/gux-notification-toast-legacy.cjs.entry.js +1 -1
  73. package/dist/cjs/gux-page-loading-spinner.cjs.entry.js +1 -1
  74. package/dist/cjs/gux-pagination-cursor.cjs.entry.js +1 -1
  75. package/dist/cjs/gux-pagination-legacy.cjs.entry.js +1 -1
  76. package/dist/cjs/gux-pagination.cjs.entry.js +1 -1
  77. package/dist/cjs/gux-phone-input-beta.cjs.entry.js +1 -1
  78. package/dist/cjs/gux-popover-beta.cjs.entry.js +1 -1
  79. package/dist/cjs/gux-popover-list-beta.cjs.entry.js +1 -1
  80. package/dist/cjs/gux-popover-list.cjs.entry.js +1 -1
  81. package/dist/cjs/gux-prompt-input-beta.cjs.entry.js +1 -1
  82. package/dist/cjs/gux-radial-loading.cjs.entry.js +1 -1
  83. package/dist/cjs/gux-radial-progress.cjs.entry.js +1 -1
  84. package/dist/cjs/gux-rating.cjs.entry.js +1 -1
  85. package/dist/cjs/gux-rich-highlight-list-item.cjs.entry.js +1 -1
  86. package/dist/cjs/gux-rich-style-list-item_3.cjs.entry.js +1 -1
  87. package/dist/cjs/gux-rich-text-editor-action-link.cjs.entry.js +1 -1
  88. package/dist/cjs/gux-rich-text-editor-action-rich-style.cjs.entry.js +1 -1
  89. package/dist/cjs/gux-rich-text-editor-action-text-highlight.cjs.entry.js +1 -1
  90. package/dist/cjs/gux-rich-text-editor-action.cjs.entry.js +1 -1
  91. package/dist/cjs/gux-rich-text-editor-beta.cjs.entry.js +1 -1
  92. package/dist/cjs/gux-rich-text-editor-list.cjs.entry.js +1 -1
  93. package/dist/cjs/gux-screen-reader-beta.cjs.entry.js +1 -1
  94. package/dist/cjs/gux-segmented-control-beta.cjs.entry.js +1 -1
  95. package/dist/cjs/gux-selector-card-beta.cjs.entry.js +1 -1
  96. package/dist/cjs/gux-selector-cards-beta.cjs.entry.js +1 -1
  97. package/dist/cjs/gux-side-panel-beta.cjs.entry.js +1 -1
  98. package/dist/cjs/gux-side-panel-header.cjs.entry.js +1 -1
  99. package/dist/cjs/gux-side-panel-heading.cjs.entry.js +1 -1
  100. package/dist/cjs/gux-simple-toast-legacy.cjs.entry.js +1 -1
  101. package/dist/cjs/gux-skip-navigation-list.cjs.entry.js +1 -1
  102. package/dist/cjs/gux-sort-control.cjs.entry.js +1 -1
  103. package/dist/cjs/gux-status-indicator-beta.cjs.entry.js +1 -1
  104. package/dist/cjs/gux-step-title.cjs.entry.js +1 -1
  105. package/dist/cjs/gux-step.cjs.entry.js +1 -1
  106. package/dist/cjs/gux-stepper-beta.cjs.entry.js +1 -1
  107. package/dist/cjs/gux-switch-legacy.cjs.entry.js +1 -1
  108. package/dist/cjs/gux-table-toolbar-action.cjs.entry.js +1 -1
  109. package/dist/cjs/gux-table-toolbar-custom-action.cjs.entry.js +1 -1
  110. package/dist/cjs/gux-table-toolbar-menu-button.cjs.entry.js +1 -1
  111. package/dist/cjs/gux-table-toolbar.cjs.entry.js +1 -1
  112. package/dist/cjs/gux-table.cjs.entry.js +1 -1
  113. package/dist/cjs/gux-tabs-advanced.cjs.entry.js +1 -1
  114. package/dist/cjs/gux-tabs.cjs.entry.js +1 -1
  115. package/dist/cjs/gux-tag.cjs.entry.js +1 -1
  116. package/dist/cjs/gux-text-highlight.cjs.entry.js +1 -1
  117. package/dist/cjs/gux-time-beta.cjs.entry.js +1 -1
  118. package/dist/cjs/gux-time-picker.cjs.entry.js +1 -1
  119. package/dist/cjs/gux-time-zone-beta.cjs.entry.js +1 -1
  120. package/dist/cjs/gux-time-zone-picker-beta.cjs.entry.js +1 -1
  121. package/dist/cjs/gux-toast.cjs.entry.js +1 -1
  122. package/dist/cjs/gux-toggle.cjs.entry.js +1 -1
  123. package/dist/cjs/gux-tooltip-base-beta_2.cjs.entry.js +1 -1
  124. package/dist/cjs/gux-tooltip-pointer-beta.cjs.entry.js +1 -1
  125. package/dist/cjs/gux-tooltip_2.cjs.entry.js +1 -1
  126. package/dist/cjs/{usage-E_Gasq8E.js → usage-lJ6FEc0k.js} +1 -1
  127. package/dist/collection/components/beta/gux-blank-state-beta/gux-blank-state.css +6 -0
  128. package/dist/collection/components/beta/gux-blank-state-beta/tests/gux-blank-state.common.js +26 -1
  129. package/dist/esm/gux-accordion.entry.js +1 -1
  130. package/dist/esm/gux-action-button.entry.js +1 -1
  131. package/dist/esm/gux-action-toast-legacy.entry.js +1 -1
  132. package/dist/esm/gux-advanced-dropdown-legacy.entry.js +1 -1
  133. package/dist/esm/gux-announce-beta.entry.js +1 -1
  134. package/dist/esm/gux-avatar-beta.entry.js +1 -1
  135. package/dist/esm/gux-avatar-change-photo-beta.entry.js +1 -1
  136. package/dist/esm/gux-avatar-group-add-item-beta_3.entry.js +1 -1
  137. package/dist/esm/gux-avatar-group-beta.entry.js +1 -1
  138. package/dist/esm/gux-avatar-group-item-beta.entry.js +1 -1
  139. package/dist/esm/gux-badge.entry.js +1 -1
  140. package/dist/esm/gux-blank-state-beta.entry.js +2 -2
  141. package/dist/esm/gux-blank-state.entry.js +1 -1
  142. package/dist/esm/gux-breadcrumbs.entry.js +1 -1
  143. package/dist/esm/gux-button-multi.entry.js +1 -1
  144. package/dist/esm/gux-button-slot.entry.js +1 -1
  145. package/dist/esm/gux-button_2.entry.js +1 -1
  146. package/dist/esm/gux-calendar.entry.js +1 -1
  147. package/dist/esm/gux-card.entry.js +1 -1
  148. package/dist/esm/gux-cloud-logo-beta.entry.js +1 -1
  149. package/dist/esm/gux-cloud-logomark-beta.entry.js +1 -1
  150. package/dist/esm/gux-column-manager.entry.js +1 -1
  151. package/dist/esm/gux-content-search.entry.js +1 -1
  152. package/dist/esm/gux-context-menu.entry.js +1 -1
  153. package/dist/esm/gux-copy-to-clipboard.entry.js +1 -1
  154. package/dist/esm/gux-date-beta.entry.js +1 -1
  155. package/dist/esm/gux-date-time-beta.entry.js +1 -1
  156. package/dist/esm/gux-datepicker.entry.js +1 -1
  157. package/dist/esm/gux-disclosure-button-legacy.entry.js +1 -1
  158. package/dist/esm/gux-dismiss-button.entry.js +1 -1
  159. package/dist/esm/gux-dropdown-multi.entry.js +1 -1
  160. package/dist/esm/gux-dropdown_3.entry.js +1 -1
  161. package/dist/esm/gux-file-list-item.entry.js +1 -1
  162. package/dist/esm/gux-flag-icon-beta.entry.js +1 -1
  163. package/dist/esm/gux-flyout-menu.entry.js +1 -1
  164. package/dist/esm/gux-form-field-checkbox-group-beta.entry.js +1 -1
  165. package/dist/esm/gux-form-field-checkbox.entry.js +1 -1
  166. package/dist/esm/gux-form-field-color.entry.js +1 -1
  167. package/dist/esm/gux-form-field-dropdown.entry.js +1 -1
  168. package/dist/esm/gux-form-field-file-beta.entry.js +1 -1
  169. package/dist/esm/gux-form-field-file.entry.js +1 -1
  170. package/dist/esm/gux-form-field-input-clear-button.entry.js +1 -1
  171. package/dist/esm/gux-form-field-label-indicator.entry.js +1 -1
  172. package/dist/esm/gux-form-field-number_2.entry.js +1 -1
  173. package/dist/esm/gux-form-field-phone.entry.js +1 -1
  174. package/dist/esm/gux-form-field-radio-group-beta.entry.js +1 -1
  175. package/dist/esm/gux-form-field-radio.entry.js +1 -1
  176. package/dist/esm/gux-form-field-range.entry.js +1 -1
  177. package/dist/esm/gux-form-field-search.entry.js +1 -1
  178. package/dist/esm/gux-form-field-select.entry.js +1 -1
  179. package/dist/esm/gux-form-field-text-like.entry.js +1 -1
  180. package/dist/esm/gux-form-field-textarea.entry.js +1 -1
  181. package/dist/esm/gux-form-field-time-picker.entry.js +1 -1
  182. package/dist/esm/gux-form-field-time-zone-picker.entry.js +1 -1
  183. package/dist/esm/gux-form-footer.entry.js +1 -1
  184. package/dist/esm/gux-icon-tooltip-beta.entry.js +1 -1
  185. package/dist/esm/gux-icon.entry.js +1 -1
  186. package/dist/esm/gux-illustration-beta.entry.js +1 -1
  187. package/dist/esm/gux-inline-alert.entry.js +1 -1
  188. package/dist/esm/gux-inline-dropdown-beta.entry.js +1 -1
  189. package/dist/esm/gux-label-info-beta.entry.js +1 -1
  190. package/dist/esm/gux-link-beta.entry.js +1 -1
  191. package/dist/esm/gux-list.entry.js +1 -1
  192. package/dist/esm/gux-listbox-multi.entry.js +1 -1
  193. package/dist/esm/gux-loading-message.entry.js +1 -1
  194. package/dist/esm/gux-logo-beta.entry.js +1 -1
  195. package/dist/esm/gux-logomark-beta.entry.js +1 -1
  196. package/dist/esm/gux-modal-legacy.entry.js +1 -1
  197. package/dist/esm/gux-modal-side-panel-beta.entry.js +1 -1
  198. package/dist/esm/gux-modal.entry.js +1 -1
  199. package/dist/esm/gux-month-picker-beta.entry.js +1 -1
  200. package/dist/esm/gux-notification-toast-legacy.entry.js +1 -1
  201. package/dist/esm/gux-page-loading-spinner.entry.js +1 -1
  202. package/dist/esm/gux-pagination-cursor.entry.js +1 -1
  203. package/dist/esm/gux-pagination-legacy.entry.js +1 -1
  204. package/dist/esm/gux-pagination.entry.js +1 -1
  205. package/dist/esm/gux-phone-input-beta.entry.js +1 -1
  206. package/dist/esm/gux-popover-beta.entry.js +1 -1
  207. package/dist/esm/gux-popover-list-beta.entry.js +1 -1
  208. package/dist/esm/gux-popover-list.entry.js +1 -1
  209. package/dist/esm/gux-prompt-input-beta.entry.js +1 -1
  210. package/dist/esm/gux-radial-loading.entry.js +1 -1
  211. package/dist/esm/gux-radial-progress.entry.js +1 -1
  212. package/dist/esm/gux-rating.entry.js +1 -1
  213. package/dist/esm/gux-rich-highlight-list-item.entry.js +1 -1
  214. package/dist/esm/gux-rich-style-list-item_3.entry.js +1 -1
  215. package/dist/esm/gux-rich-text-editor-action-link.entry.js +1 -1
  216. package/dist/esm/gux-rich-text-editor-action-rich-style.entry.js +1 -1
  217. package/dist/esm/gux-rich-text-editor-action-text-highlight.entry.js +1 -1
  218. package/dist/esm/gux-rich-text-editor-action.entry.js +1 -1
  219. package/dist/esm/gux-rich-text-editor-beta.entry.js +1 -1
  220. package/dist/esm/gux-rich-text-editor-list.entry.js +1 -1
  221. package/dist/esm/gux-screen-reader-beta.entry.js +1 -1
  222. package/dist/esm/gux-segmented-control-beta.entry.js +1 -1
  223. package/dist/esm/gux-selector-card-beta.entry.js +1 -1
  224. package/dist/esm/gux-selector-cards-beta.entry.js +1 -1
  225. package/dist/esm/gux-side-panel-beta.entry.js +1 -1
  226. package/dist/esm/gux-side-panel-header.entry.js +1 -1
  227. package/dist/esm/gux-side-panel-heading.entry.js +1 -1
  228. package/dist/esm/gux-simple-toast-legacy.entry.js +1 -1
  229. package/dist/esm/gux-skip-navigation-list.entry.js +1 -1
  230. package/dist/esm/gux-sort-control.entry.js +1 -1
  231. package/dist/esm/gux-status-indicator-beta.entry.js +1 -1
  232. package/dist/esm/gux-step-title.entry.js +1 -1
  233. package/dist/esm/gux-step.entry.js +1 -1
  234. package/dist/esm/gux-stepper-beta.entry.js +1 -1
  235. package/dist/esm/gux-switch-legacy.entry.js +1 -1
  236. package/dist/esm/gux-table-toolbar-action.entry.js +1 -1
  237. package/dist/esm/gux-table-toolbar-custom-action.entry.js +1 -1
  238. package/dist/esm/gux-table-toolbar-menu-button.entry.js +1 -1
  239. package/dist/esm/gux-table-toolbar.entry.js +1 -1
  240. package/dist/esm/gux-table.entry.js +1 -1
  241. package/dist/esm/gux-tabs-advanced.entry.js +1 -1
  242. package/dist/esm/gux-tabs.entry.js +1 -1
  243. package/dist/esm/gux-tag.entry.js +1 -1
  244. package/dist/esm/gux-text-highlight.entry.js +1 -1
  245. package/dist/esm/gux-time-beta.entry.js +1 -1
  246. package/dist/esm/gux-time-picker.entry.js +1 -1
  247. package/dist/esm/gux-time-zone-beta.entry.js +1 -1
  248. package/dist/esm/gux-time-zone-picker-beta.entry.js +1 -1
  249. package/dist/esm/gux-toast.entry.js +1 -1
  250. package/dist/esm/gux-toggle.entry.js +1 -1
  251. package/dist/esm/gux-tooltip-base-beta_2.entry.js +1 -1
  252. package/dist/esm/gux-tooltip-pointer-beta.entry.js +1 -1
  253. package/dist/esm/gux-tooltip_2.entry.js +1 -1
  254. package/dist/esm/{usage-BgR5MFoI.js → usage-BesVttmm.js} +1 -1
  255. package/dist/genesys-webcomponents/genesys-webcomponents.esm.js +1 -1
  256. package/dist/genesys-webcomponents/{p-10cba3d8.entry.js → p-003912f1.entry.js} +1 -1
  257. package/dist/genesys-webcomponents/{p-0e5543c3.entry.js → p-0252deeb.entry.js} +1 -1
  258. package/dist/genesys-webcomponents/{p-db6f8cb2.entry.js → p-06b245e8.entry.js} +1 -1
  259. package/dist/genesys-webcomponents/{p-3eb4a67c.entry.js → p-07d1054a.entry.js} +1 -1
  260. package/dist/genesys-webcomponents/p-0a5ae887.entry.js +1 -0
  261. package/dist/genesys-webcomponents/{p-b1c8ca4b.entry.js → p-0adc9a3a.entry.js} +1 -1
  262. package/dist/genesys-webcomponents/{p-a9482032.entry.js → p-0b6327e1.entry.js} +1 -1
  263. package/dist/genesys-webcomponents/{p-9268d8af.entry.js → p-10054bc9.entry.js} +1 -1
  264. package/dist/genesys-webcomponents/{p-3fef39e5.entry.js → p-10372550.entry.js} +1 -1
  265. package/dist/genesys-webcomponents/{p-99e7863f.entry.js → p-11c2ba38.entry.js} +1 -1
  266. package/dist/genesys-webcomponents/p-14128dbf.entry.js +1 -0
  267. package/dist/genesys-webcomponents/{p-53c1b990.entry.js → p-14940e70.entry.js} +1 -1
  268. package/dist/genesys-webcomponents/{p-ee24ba32.entry.js → p-15f777cb.entry.js} +1 -1
  269. package/dist/genesys-webcomponents/{p-6d571da2.entry.js → p-16be7bf4.entry.js} +1 -1
  270. package/dist/genesys-webcomponents/{p-07c6cfe2.entry.js → p-1b14e964.entry.js} +1 -1
  271. package/dist/genesys-webcomponents/{p-282c52d9.entry.js → p-1e3a210c.entry.js} +1 -1
  272. package/dist/genesys-webcomponents/{p-191bfd25.entry.js → p-23a9f9f6.entry.js} +1 -1
  273. package/dist/genesys-webcomponents/{p-14fe9ac6.entry.js → p-2713a330.entry.js} +1 -1
  274. package/dist/genesys-webcomponents/{p-35ef08b5.entry.js → p-2b31d396.entry.js} +1 -1
  275. package/dist/genesys-webcomponents/{p-d4e6eb00.entry.js → p-2d7548bc.entry.js} +1 -1
  276. package/dist/genesys-webcomponents/{p-61f48652.entry.js → p-2db85916.entry.js} +1 -1
  277. package/dist/genesys-webcomponents/{p-fb2d9f09.entry.js → p-2fe739fc.entry.js} +1 -1
  278. package/dist/genesys-webcomponents/{p-149d4290.entry.js → p-31aea3ea.entry.js} +1 -1
  279. package/dist/genesys-webcomponents/{p-5769a7c4.entry.js → p-35067f88.entry.js} +1 -1
  280. package/dist/genesys-webcomponents/{p-ed661c86.entry.js → p-3540158c.entry.js} +1 -1
  281. package/dist/genesys-webcomponents/p-35fc989b.entry.js +1 -0
  282. package/dist/genesys-webcomponents/{p-16374ee7.entry.js → p-373dd40a.entry.js} +1 -1
  283. package/dist/genesys-webcomponents/{p-313999b9.entry.js → p-3c62dbdf.entry.js} +1 -1
  284. package/dist/genesys-webcomponents/{p-e8434dfa.entry.js → p-3d0de5c7.entry.js} +1 -1
  285. package/dist/genesys-webcomponents/{p-c7ad96ef.entry.js → p-3db73492.entry.js} +1 -1
  286. package/dist/genesys-webcomponents/{p-ae832e8b.entry.js → p-4086be17.entry.js} +1 -1
  287. package/dist/genesys-webcomponents/{p-2a7b334d.entry.js → p-43bf6630.entry.js} +1 -1
  288. package/dist/genesys-webcomponents/p-43f9f886.entry.js +1 -0
  289. package/dist/genesys-webcomponents/{p-eea730e2.entry.js → p-48356db8.entry.js} +1 -1
  290. package/dist/genesys-webcomponents/p-498dc037.entry.js +1 -0
  291. package/dist/genesys-webcomponents/{p-faa8d448.entry.js → p-4f19245d.entry.js} +1 -1
  292. package/dist/genesys-webcomponents/{p-7f61c948.entry.js → p-50d3d18a.entry.js} +1 -1
  293. package/dist/genesys-webcomponents/{p-a21ed1f2.entry.js → p-532ee44d.entry.js} +1 -1
  294. package/dist/genesys-webcomponents/{p-c6f26606.entry.js → p-5744f344.entry.js} +1 -1
  295. package/dist/genesys-webcomponents/p-576eb36c.entry.js +1 -0
  296. package/dist/genesys-webcomponents/{p-151ca6b5.entry.js → p-58cf3a87.entry.js} +1 -1
  297. package/dist/genesys-webcomponents/{p-51c5e5f5.entry.js → p-597e55b0.entry.js} +1 -1
  298. package/dist/genesys-webcomponents/{p-a1761fcb.entry.js → p-5b89b793.entry.js} +1 -1
  299. package/dist/genesys-webcomponents/{p-ef4452f7.entry.js → p-5d373bf7.entry.js} +1 -1
  300. package/dist/genesys-webcomponents/{p-386d2b22.entry.js → p-5f3890e7.entry.js} +1 -1
  301. package/dist/genesys-webcomponents/{p-40d20cbd.entry.js → p-5f56822d.entry.js} +1 -1
  302. package/dist/genesys-webcomponents/{p-be3086ab.entry.js → p-60d7bbe3.entry.js} +1 -1
  303. package/dist/genesys-webcomponents/{p-410b85da.entry.js → p-6314a503.entry.js} +1 -1
  304. package/dist/genesys-webcomponents/{p-a103294b.entry.js → p-6486f40a.entry.js} +1 -1
  305. package/dist/genesys-webcomponents/{p-91340264.entry.js → p-64acbf96.entry.js} +1 -1
  306. package/dist/genesys-webcomponents/{p-a9713331.entry.js → p-65cf210d.entry.js} +1 -1
  307. package/dist/genesys-webcomponents/{p-bd339842.entry.js → p-6bc2dbc8.entry.js} +1 -1
  308. package/dist/genesys-webcomponents/{p-0b7c59db.entry.js → p-6e220d8a.entry.js} +1 -1
  309. package/dist/genesys-webcomponents/{p-b1f1ba37.entry.js → p-758ba8cf.entry.js} +1 -1
  310. package/dist/genesys-webcomponents/{p-a384b88b.entry.js → p-75bda4db.entry.js} +1 -1
  311. package/dist/genesys-webcomponents/{p-67666fa5.entry.js → p-7779c639.entry.js} +1 -1
  312. package/dist/genesys-webcomponents/{p-8878ac8b.entry.js → p-796a263e.entry.js} +1 -1
  313. package/dist/genesys-webcomponents/{p-71cf95c0.entry.js → p-80e1c70b.entry.js} +1 -1
  314. package/dist/genesys-webcomponents/p-837ec866.entry.js +1 -0
  315. package/dist/genesys-webcomponents/{p-05663312.entry.js → p-87a67a92.entry.js} +1 -1
  316. package/dist/genesys-webcomponents/p-8834088c.entry.js +1 -0
  317. package/dist/genesys-webcomponents/{p-3e5ceeba.entry.js → p-8bf5b827.entry.js} +1 -1
  318. package/dist/genesys-webcomponents/{p-3227c1ca.entry.js → p-8dfa3d3c.entry.js} +1 -1
  319. package/dist/genesys-webcomponents/{p-21d41299.entry.js → p-90cf993b.entry.js} +1 -1
  320. package/dist/genesys-webcomponents/{p-67e3d8e3.entry.js → p-92d12f90.entry.js} +1 -1
  321. package/dist/genesys-webcomponents/{p-29b6a4e0.entry.js → p-96827ef4.entry.js} +1 -1
  322. package/dist/genesys-webcomponents/{p-9197fd1b.entry.js → p-98553f5a.entry.js} +1 -1
  323. package/dist/genesys-webcomponents/{p-2dc29721.entry.js → p-9b841f74.entry.js} +1 -1
  324. package/dist/genesys-webcomponents/{p-BgR5MFoI.js → p-BesVttmm.js} +1 -1
  325. package/dist/genesys-webcomponents/{p-eaaab264.entry.js → p-a1942122.entry.js} +1 -1
  326. package/dist/genesys-webcomponents/{p-0e5ae3b0.entry.js → p-a22c36ed.entry.js} +1 -1
  327. package/dist/genesys-webcomponents/{p-bb8dd9dc.entry.js → p-a53f43d9.entry.js} +1 -1
  328. package/dist/genesys-webcomponents/{p-12bc8211.entry.js → p-a63cc542.entry.js} +1 -1
  329. package/dist/genesys-webcomponents/{p-ab0aa47a.entry.js → p-a6b352e5.entry.js} +1 -1
  330. package/dist/genesys-webcomponents/{p-aceadce9.entry.js → p-a75d47c6.entry.js} +1 -1
  331. package/dist/genesys-webcomponents/{p-2d46cbe8.entry.js → p-ac122db7.entry.js} +1 -1
  332. package/dist/genesys-webcomponents/{p-1b37ecb2.entry.js → p-ae23aa2e.entry.js} +1 -1
  333. package/dist/genesys-webcomponents/{p-329f8a53.entry.js → p-b1e23956.entry.js} +1 -1
  334. package/dist/genesys-webcomponents/{p-37c60f54.entry.js → p-b25c0730.entry.js} +1 -1
  335. package/dist/genesys-webcomponents/{p-e8fd3d2e.entry.js → p-b65ea1dc.entry.js} +1 -1
  336. package/dist/genesys-webcomponents/{p-798900a7.entry.js → p-b985830b.entry.js} +1 -1
  337. package/dist/genesys-webcomponents/{p-cb1e46bf.entry.js → p-ba2b1eeb.entry.js} +1 -1
  338. package/dist/genesys-webcomponents/{p-6720cd74.entry.js → p-ba9ef86d.entry.js} +1 -1
  339. package/dist/genesys-webcomponents/{p-67468c3f.entry.js → p-bcb4e6c3.entry.js} +1 -1
  340. package/dist/genesys-webcomponents/{p-c7b561c5.entry.js → p-bd32a579.entry.js} +1 -1
  341. package/dist/genesys-webcomponents/p-bf2ef703.entry.js +1 -0
  342. package/dist/genesys-webcomponents/{p-cbc71e6c.entry.js → p-c2314745.entry.js} +1 -1
  343. package/dist/genesys-webcomponents/{p-81d7b077.entry.js → p-c318e828.entry.js} +1 -1
  344. package/dist/genesys-webcomponents/{p-c217175e.entry.js → p-c6e3cae8.entry.js} +1 -1
  345. package/dist/genesys-webcomponents/p-c6e4daff.entry.js +1 -0
  346. package/dist/genesys-webcomponents/{p-99fc5195.entry.js → p-c71392d2.entry.js} +1 -1
  347. package/dist/genesys-webcomponents/{p-968a701e.entry.js → p-caa22af8.entry.js} +1 -1
  348. package/dist/genesys-webcomponents/{p-2b5637ed.entry.js → p-cc655567.entry.js} +1 -1
  349. package/dist/genesys-webcomponents/{p-3a1eb85c.entry.js → p-ce415617.entry.js} +1 -1
  350. package/dist/genesys-webcomponents/p-cf2f1581.entry.js +1 -0
  351. package/dist/genesys-webcomponents/{p-7c749592.entry.js → p-cf78ca51.entry.js} +1 -1
  352. package/dist/genesys-webcomponents/{p-869bec71.entry.js → p-d10deb34.entry.js} +1 -1
  353. package/dist/genesys-webcomponents/{p-359f15e6.entry.js → p-d171eaf5.entry.js} +1 -1
  354. package/dist/genesys-webcomponents/{p-329a2eed.entry.js → p-d3571f15.entry.js} +1 -1
  355. package/dist/genesys-webcomponents/{p-8cd44f83.entry.js → p-d38a50f5.entry.js} +1 -1
  356. package/dist/genesys-webcomponents/{p-dc6c5d72.entry.js → p-d4b0548b.entry.js} +1 -1
  357. package/dist/genesys-webcomponents/{p-c77cf7ce.entry.js → p-d714a8af.entry.js} +1 -1
  358. package/dist/genesys-webcomponents/{p-1781fde1.entry.js → p-d807c954.entry.js} +1 -1
  359. package/dist/genesys-webcomponents/{p-67c53e80.entry.js → p-d92a66bd.entry.js} +1 -1
  360. package/dist/genesys-webcomponents/{p-8301ea55.entry.js → p-da77265a.entry.js} +1 -1
  361. package/dist/genesys-webcomponents/p-dac300e9.entry.js +1 -0
  362. package/dist/genesys-webcomponents/{p-5531b54a.entry.js → p-dbda5d50.entry.js} +1 -1
  363. package/dist/genesys-webcomponents/p-dce01316.entry.js +1 -0
  364. package/dist/genesys-webcomponents/{p-c29fcb47.entry.js → p-dcfbd858.entry.js} +1 -1
  365. package/dist/genesys-webcomponents/{p-7dc38002.entry.js → p-dd0a3ca7.entry.js} +1 -1
  366. package/dist/genesys-webcomponents/{p-c70e2144.entry.js → p-ddab0528.entry.js} +1 -1
  367. package/dist/genesys-webcomponents/{p-9927d96b.entry.js → p-de08afc7.entry.js} +1 -1
  368. package/dist/genesys-webcomponents/{p-ffc5a2dd.entry.js → p-e3125593.entry.js} +1 -1
  369. package/dist/genesys-webcomponents/{p-f5232021.entry.js → p-e8f8ae38.entry.js} +1 -1
  370. package/dist/genesys-webcomponents/{p-96907666.entry.js → p-e8fb474a.entry.js} +1 -1
  371. package/dist/genesys-webcomponents/{p-ec402608.entry.js → p-ec7b8233.entry.js} +1 -1
  372. package/dist/genesys-webcomponents/{p-31c48dce.entry.js → p-ed02d298.entry.js} +1 -1
  373. package/dist/genesys-webcomponents/{p-8f13683c.entry.js → p-ef0a4d2d.entry.js} +1 -1
  374. package/dist/genesys-webcomponents/{p-81f37c8d.entry.js → p-ef74d219.entry.js} +1 -1
  375. package/dist/genesys-webcomponents/{p-065257ca.entry.js → p-efb23d76.entry.js} +1 -1
  376. package/dist/genesys-webcomponents/{p-90710533.entry.js → p-f2d2968d.entry.js} +1 -1
  377. package/dist/genesys-webcomponents/{p-1d0d3bf4.entry.js → p-f53ad14e.entry.js} +1 -1
  378. package/dist/genesys-webcomponents/{p-52b298af.entry.js → p-f74919d0.entry.js} +1 -1
  379. package/dist/genesys-webcomponents/{p-d6224ac1.entry.js → p-fa42ede4.entry.js} +1 -1
  380. package/dist/genesys-webcomponents/{p-fc65b41e.entry.js → p-faa7d52e.entry.js} +1 -1
  381. package/dist/genesys-webcomponents/{p-4c5d0167.entry.js → p-fea2e2ed.entry.js} +1 -1
  382. package/dist/stencil-wrapper.js +1 -1
  383. package/dist/types/stencil-wrapper.d.ts +1 -1
  384. package/package.json +1 -1
  385. package/dist/genesys-webcomponents/p-075b0fe0.entry.js +0 -1
  386. package/dist/genesys-webcomponents/p-0c776695.entry.js +0 -1
  387. package/dist/genesys-webcomponents/p-27d596b3.entry.js +0 -1
  388. package/dist/genesys-webcomponents/p-46ec18c4.entry.js +0 -1
  389. package/dist/genesys-webcomponents/p-59e9aed5.entry.js +0 -1
  390. package/dist/genesys-webcomponents/p-7d76f799.entry.js +0 -1
  391. package/dist/genesys-webcomponents/p-8103e4ec.entry.js +0 -1
  392. package/dist/genesys-webcomponents/p-8e0b6af5.entry.js +0 -1
  393. package/dist/genesys-webcomponents/p-9f41248c.entry.js +0 -1
  394. package/dist/genesys-webcomponents/p-a6f54172.entry.js +0 -1
  395. package/dist/genesys-webcomponents/p-e75e1794.entry.js +0 -1
  396. package/dist/genesys-webcomponents/p-f7992b7b.entry.js +0 -1
  397. package/dist/genesys-webcomponents/p-fd213c3b.entry.js +0 -1
@@ -1 +1 @@
1
- import{r as e,h as n,a}from"./p-COgvjwDR.js";import{t as i}from"./p-BgR5MFoI.js";const g=class{constructor(n){e(this,n)}componentWillLoad(){i(this.root)}render(){return n("div",{key:"e20707697c240ff94edadbf2db12f4e31bda8856",class:"gux-container",role:"alert","aria-live":"assertive"},n("div",{key:"fcde6b1b71eb57ae35d5d098dd4774ff95c0735e",class:"gux-progress"},n("slot",{key:"83b9b9dc86cbd3a685e20b473336eb17f2857c10",name:"progress"})),n("div",{key:"c0cff091263bc23a700a8ac1ebaef23170942630",class:"gux-primary-message"},n("slot",{key:"6f7c426050bdd6f99bb39e49cf6f54d64adb1464",name:"primary-message"})),n("div",{key:"bf3e1b73cf370068d4642f8686260e62a26b32f5",class:"gux-additional-guidance"},n("slot",{key:"5f1d0a2eb809d45ac79135fc837b58e7572a77e3",name:"additional-guidance"})))}get root(){return a(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 n,a}from"./p-COgvjwDR.js";import{t as i}from"./p-BesVttmm.js";const g=class{constructor(n){e(this,n)}componentWillLoad(){i(this.root)}render(){return n("div",{key:"e20707697c240ff94edadbf2db12f4e31bda8856",class:"gux-container",role:"alert","aria-live":"assertive"},n("div",{key:"fcde6b1b71eb57ae35d5d098dd4774ff95c0735e",class:"gux-progress"},n("slot",{key:"83b9b9dc86cbd3a685e20b473336eb17f2857c10",name:"progress"})),n("div",{key:"c0cff091263bc23a700a8ac1ebaef23170942630",class:"gux-primary-message"},n("slot",{key:"6f7c426050bdd6f99bb39e49cf6f54d64adb1464",name:"primary-message"})),n("div",{key:"bf3e1b73cf370068d4642f8686260e62a26b32f5",class:"gux-additional-guidance"},n("slot",{key:"5f1d0a2eb809d45ac79135fc837b58e7572a77e3",name:"additional-guidance"})))}get root(){return a(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{r as t,c as e,h as a,a as i}from"./p-COgvjwDR.js";import{t as n}from"./p-BgR5MFoI.js";import{b as s}from"./p-D2nzPgXC.js";import"./p-Cd4R0amv.js";var o={previous:"Previous",next:"Next"};const l=class{constructor(a){t(this,a),this.guxPaginationCursorchange=e(this,"guxPaginationCursorchange",7),this.guxitemsperpagechange=e(this,"guxitemsperpagechange",7),this.hasPrevious=!1,this.hasNext=!1,this.layout="simple"}handleInternalitemsperpagechange(t){this.guxitemsperpagechange.emit(t.detail)}onButtonClick(t){("previous"===t&&this.hasPrevious||"next"===t&&this.hasNext)&&this.guxPaginationCursorchange.emit(t)}async componentWillLoad(){n(this.root),this.i18n=await s(this.root,o)}renderSimpleLayout(){return[a("nav",{"aria-label":this.label,class:"gux-pagination-button-container"},a("gux-button-slot",{accent:"ghost"},a("button",{class:"gux-simple-button",type:"button",disabled:!this.hasPrevious,onClick:()=>this.onButtonClick("previous")},a("gux-icon",{iconName:"custom/chevron-left-small-regular",decorative:!0,size:"small"}),a("gux-screen-reader-beta",null,this.i18n("previous")))),a("gux-button-slot",{accent:"ghost"},a("button",{class:"gux-simple-button",type:"button",disabled:!this.hasNext,onClick:()=>this.onButtonClick("next")},a("gux-icon",{iconName:"custom/chevron-right-small-regular",decorative:!0,size:"small"}),a("gux-screen-reader-beta",null,this.i18n("next")))))]}renderAdvancedLayout(){return[a("nav",{"aria-label":this.label,class:"gux-pagination-button-container"},a("gux-button-slot",{accent:"ghost"},a("button",{type:"button",disabled:!this.hasPrevious,onClick:()=>this.onButtonClick("previous")},a("div",{class:"gux-button-align-content"},a("gux-icon",{decorative:!0,iconName:"custom/chevron-left-small-regular",size:"small"}),a("span",null,this.i18n("previous"))))),a("gux-button-slot",{accent:"ghost"},a("button",{type:"button",disabled:!this.hasNext,onClick:()=>this.onButtonClick("next")},a("div",{class:"gux-button-align-content"},a("span",null,this.i18n("next")),a("gux-icon",{decorative:!0,iconName:"custom/chevron-right-small-regular",size:"small"}))))),this.renderItemsPerPage()]}renderItemsPerPage(){return this.itemsPerPage&&a("gux-pagination-items-per-page",{"items-per-page":this.itemsPerPage,onInternalitemsperpagechange:this.handleInternalitemsperpagechange.bind(this)})}render(){return"advanced"===this.layout?this.renderAdvancedLayout():this.renderSimpleLayout()}get root(){return i(this)}};l.style=":host{display:flex;flex-direction:row-reverse;flex-wrap:nowrap;place-content:stretch space-between;align-items:flex-start;padding:var(--gse-ui-dataTableItems-tablePagination-padding);font-family:var(--gse-ui-dataTableItems-tablePagination-defaultText-fontFamily);font-size:var(--gse-ui-dataTableItems-tablePagination-defaultText-fontSize);font-weight:var(--gse-ui-dataTableItems-tablePagination-defaultText-fontWeight);line-height:var(--gse-ui-dataTableItems-tablePagination-defaultText-lineHeight);color:var(--gse-ui-dataTableItems-tablePagination-foregroundColor);background-color:var(--gse-ui-dataTableItems-tablePagination-defaultBackgroundColor);border-block-start:var(--gse-ui-dataTableItems-tablePagination-divider-width) var(--gse-ui-dataTableItems-tablePagination-divider-style) var(--gse-ui-dataTableItems-tablePagination-divider-color)}:host .gux-pagination-button-container{display:flex;flex-wrap:nowrap;gap:var(--gse-ui-dataTableItems-tablePagination-recordsetControls-gap);align-content:center}:host .gux-button-align-content{display:flex;flex-direction:row;flex-wrap:nowrap;gap:var(--gse-ui-button-gap);align-content:center;align-items:center}:host .gux-button-align-content>*{flex:0 1 auto;align-self:auto;order:0}:host gux-icon{display:flex}";export{l as gux_pagination_cursor}
1
+ import{r as t,c as e,h as a,a as i}from"./p-COgvjwDR.js";import{t as n}from"./p-BesVttmm.js";import{b as s}from"./p-D2nzPgXC.js";import"./p-Cd4R0amv.js";var o={previous:"Previous",next:"Next"};const l=class{constructor(a){t(this,a),this.guxPaginationCursorchange=e(this,"guxPaginationCursorchange",7),this.guxitemsperpagechange=e(this,"guxitemsperpagechange",7),this.hasPrevious=!1,this.hasNext=!1,this.layout="simple"}handleInternalitemsperpagechange(t){this.guxitemsperpagechange.emit(t.detail)}onButtonClick(t){("previous"===t&&this.hasPrevious||"next"===t&&this.hasNext)&&this.guxPaginationCursorchange.emit(t)}async componentWillLoad(){n(this.root),this.i18n=await s(this.root,o)}renderSimpleLayout(){return[a("nav",{"aria-label":this.label,class:"gux-pagination-button-container"},a("gux-button-slot",{accent:"ghost"},a("button",{class:"gux-simple-button",type:"button",disabled:!this.hasPrevious,onClick:()=>this.onButtonClick("previous")},a("gux-icon",{iconName:"custom/chevron-left-small-regular",decorative:!0,size:"small"}),a("gux-screen-reader-beta",null,this.i18n("previous")))),a("gux-button-slot",{accent:"ghost"},a("button",{class:"gux-simple-button",type:"button",disabled:!this.hasNext,onClick:()=>this.onButtonClick("next")},a("gux-icon",{iconName:"custom/chevron-right-small-regular",decorative:!0,size:"small"}),a("gux-screen-reader-beta",null,this.i18n("next")))))]}renderAdvancedLayout(){return[a("nav",{"aria-label":this.label,class:"gux-pagination-button-container"},a("gux-button-slot",{accent:"ghost"},a("button",{type:"button",disabled:!this.hasPrevious,onClick:()=>this.onButtonClick("previous")},a("div",{class:"gux-button-align-content"},a("gux-icon",{decorative:!0,iconName:"custom/chevron-left-small-regular",size:"small"}),a("span",null,this.i18n("previous"))))),a("gux-button-slot",{accent:"ghost"},a("button",{type:"button",disabled:!this.hasNext,onClick:()=>this.onButtonClick("next")},a("div",{class:"gux-button-align-content"},a("span",null,this.i18n("next")),a("gux-icon",{decorative:!0,iconName:"custom/chevron-right-small-regular",size:"small"}))))),this.renderItemsPerPage()]}renderItemsPerPage(){return this.itemsPerPage&&a("gux-pagination-items-per-page",{"items-per-page":this.itemsPerPage,onInternalitemsperpagechange:this.handleInternalitemsperpagechange.bind(this)})}render(){return"advanced"===this.layout?this.renderAdvancedLayout():this.renderSimpleLayout()}get root(){return i(this)}};l.style=":host{display:flex;flex-direction:row-reverse;flex-wrap:nowrap;place-content:stretch space-between;align-items:flex-start;padding:var(--gse-ui-dataTableItems-tablePagination-padding);font-family:var(--gse-ui-dataTableItems-tablePagination-defaultText-fontFamily);font-size:var(--gse-ui-dataTableItems-tablePagination-defaultText-fontSize);font-weight:var(--gse-ui-dataTableItems-tablePagination-defaultText-fontWeight);line-height:var(--gse-ui-dataTableItems-tablePagination-defaultText-lineHeight);color:var(--gse-ui-dataTableItems-tablePagination-foregroundColor);background-color:var(--gse-ui-dataTableItems-tablePagination-defaultBackgroundColor);border-block-start:var(--gse-ui-dataTableItems-tablePagination-divider-width) var(--gse-ui-dataTableItems-tablePagination-divider-style) var(--gse-ui-dataTableItems-tablePagination-divider-color)}:host .gux-pagination-button-container{display:flex;flex-wrap:nowrap;gap:var(--gse-ui-dataTableItems-tablePagination-recordsetControls-gap);align-content:center}:host .gux-button-align-content{display:flex;flex-direction:row;flex-wrap:nowrap;gap:var(--gse-ui-button-gap);align-content:center;align-items:center}:host .gux-button-align-content>*{flex:0 1 auto;align-self:auto;order:0}:host gux-icon{display:flex}";export{l as gux_pagination_cursor}
@@ -1 +1 @@
1
- import{r as e,h as t,H as o,a as i}from"./p-COgvjwDR.js";import{r as s}from"./p-D9jKBqIb.js";import{t as a}from"./p-BgR5MFoI.js";import{b as r}from"./p-D2nzPgXC.js";import{O as c}from"./p-DGRFHar4.js";import{b as n}from"./p-Bg4q97BS.js";import{w as u}from"./p-kLXvN2m9.js";import"./p-Cd4R0amv.js";var d="4px",b={contextMenuScreenreaderText:"Context menu"};const l=class{constructor(t){e(this,t),this.buttonId=s(),this.compact=!1,this.disabled=!1,this.screenreaderText="",this.placement="bottom-start",this.isOpen=!1}onClickOutside(){this.isOpen=!1}handleKeyDown(e){const t=e.composedPath().includes(this.listElement),o=e.composedPath().includes(this.button);switch(e.key){case"Escape":t&&(e.preventDefault(),this.isOpen=!1,this.button.focus());break;case"Tab":this.isOpen=!1;break;case"ArrowDown":case"Enter":o&&!this.isOpen&&(e.preventDefault(),this.isOpen=!0,this.focusFirstListItem());break;case"ArrowUp":o&&!this.isOpen&&(e.preventDefault(),this.isOpen=!0,this.focusLastListItem())}}handleKeyup(e){" "===e.key&&e.composedPath().includes(this.button)&&(e.preventDefault(),this.isOpen=!0,this.focusFirstListItem())}focusFirstListItem(){n((()=>{this.listElement.guxFocusFirstItem()}))}focusLastListItem(){n((()=>{this.listElement.guxFocusLastItem()}))}onButtonClick(){this.isOpen=!this.isOpen}onListClick(e){u("gux-list-item",e,(()=>{this.isOpen=!1,this.button.focus()}))}async componentWillLoad(){a(this.root),this.i18n=await r(this.root,b)}render(){return t(o,{key:"785461b14d3fd3289ad83f982a25be58859babda"},t("gux-popup",{key:"dd8f0b8ec360afc61a49cf747094d53c7810fb15",placement:this.placement,expanded:this.isOpen,offset:(e=d,e.endsWith("px")?parseFloat(e):0),"exceed-target-width":!0},t("div",{key:"0118990af3ad9099d1507c45285c08fbc7172cd1",slot:"target",class:"gux-button-container"},t("gux-button-slot",{key:"fdea4d3a1e703e1e4b8d75e034038c3b7a04ebb2",accent:"ghost"},t("button",{key:"57a21e1acb8dcfa172bfc8331160785fef995bfe",type:"button",onClick:()=>this.onButtonClick(),id:this.buttonId,class:{"gux-compact":this.compact},ref:e=>this.button=e,"aria-haspopup":"true","aria-expanded":this.isOpen.toString(),disabled:this.disabled},t("gux-screen-reader-beta",{key:"d8e4e61c3b1ee16e579e573cbefdfc500c7ebeec"},this.screenreaderText||this.i18n("contextMenuScreenreaderText")),t("gux-icon",{key:"022c545cd37f68bdb5a20e5a8184dcf65c619d77","icon-name":"fa/ellipsis-vertical-regular",size:"small",decorative:!0})))),t("div",{key:"a2ae5d7d9df4181078159932ac3c22914b5a10eb",slot:"popup",class:"gux-list-container"},t("gux-list",{key:"0100bf7b6dfb08e746e9114c5b41ec7df6e5ea88",onClick:e=>this.onListClick(e),ref:e=>this.listElement=e},t("slot",{key:"46bc9c7f26bbd771dc63e1033c031531b7abc246"})))));var e}static get delegatesFocus(){return!0}get root(){return i(this)}};(function(e,t,o,i){var s,a=arguments.length,r=a<3?t:null===i?i=Object.getOwnPropertyDescriptor(t,o):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)r=Reflect.decorate(e,t,o,i);else for(var c=e.length-1;c>=0;c--)(s=e[c])&&(r=(a<3?s(r):a>3?s(t,o,r):s(t,o))||r);a>3&&r&&Object.defineProperty(t,o,r)})([c({triggerEvents:"click"})],l.prototype,"onClickOutside",null),l.style=":host{display:block;max-inline-size:fit-content;white-space:normal}gux-icon{color:var(--gse-ui-button-ghost-default-foregroundColor)}button{block-size:var(--gse-ui-button-default-height);padding:var(--gse-ui-button-default-paddingIconOnly);border-radius:var(--gse-ui-button-borderRadius)}button.gux-compact{min-inline-size:var(--gse-ui-contextMenu-button-compact);block-size:var(--gse-ui-button-compact-height);padding:var(--gse-ui-button-compact-paddingIconOnly)}button:hover:enabled{background-color:var(--gse-ui-button-ghost-hover-backgroundColor)}button:hover:enabled gux-icon{color:var(--gse-ui-button-ghost-hover-foregroundColor)}button:active:enabled{background-color:var(--gse-ui-button-ghost-active-backgroundColor)}button:active:enabled gux-icon{color:var(--gse-ui-button-ghost-active-foregroundColor)}button[disabled]{opacity:var(--gse-ui-button-disabled-opacity)}.gux-list-container{inline-size:var(--gse-ui-contextMenu-menu-width);max-block-size:var(--gse-ui-contextMenu-menu-maxHeight);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{l as gux_context_menu}
1
+ import{r as e,h as t,H as o,a as s}from"./p-COgvjwDR.js";import{r as i}from"./p-D9jKBqIb.js";import{t as a}from"./p-BesVttmm.js";import{b as r}from"./p-D2nzPgXC.js";import{O as c}from"./p-DGRFHar4.js";import{b as n}from"./p-Bg4q97BS.js";import{w as u}from"./p-kLXvN2m9.js";import"./p-Cd4R0amv.js";var d="4px",b={contextMenuScreenreaderText:"Context menu"};const l=class{constructor(t){e(this,t),this.buttonId=i(),this.compact=!1,this.disabled=!1,this.screenreaderText="",this.placement="bottom-start",this.isOpen=!1}onClickOutside(){this.isOpen=!1}handleKeyDown(e){const t=e.composedPath().includes(this.listElement),o=e.composedPath().includes(this.button);switch(e.key){case"Escape":t&&(e.preventDefault(),this.isOpen=!1,this.button.focus());break;case"Tab":this.isOpen=!1;break;case"ArrowDown":case"Enter":o&&!this.isOpen&&(e.preventDefault(),this.isOpen=!0,this.focusFirstListItem());break;case"ArrowUp":o&&!this.isOpen&&(e.preventDefault(),this.isOpen=!0,this.focusLastListItem())}}handleKeyup(e){" "===e.key&&e.composedPath().includes(this.button)&&(e.preventDefault(),this.isOpen=!0,this.focusFirstListItem())}focusFirstListItem(){n((()=>{this.listElement.guxFocusFirstItem()}))}focusLastListItem(){n((()=>{this.listElement.guxFocusLastItem()}))}onButtonClick(){this.isOpen=!this.isOpen}onListClick(e){u("gux-list-item",e,(()=>{this.isOpen=!1,this.button.focus()}))}async componentWillLoad(){a(this.root),this.i18n=await r(this.root,b)}render(){return t(o,{key:"785461b14d3fd3289ad83f982a25be58859babda"},t("gux-popup",{key:"dd8f0b8ec360afc61a49cf747094d53c7810fb15",placement:this.placement,expanded:this.isOpen,offset:(e=d,e.endsWith("px")?parseFloat(e):0),"exceed-target-width":!0},t("div",{key:"0118990af3ad9099d1507c45285c08fbc7172cd1",slot:"target",class:"gux-button-container"},t("gux-button-slot",{key:"fdea4d3a1e703e1e4b8d75e034038c3b7a04ebb2",accent:"ghost"},t("button",{key:"57a21e1acb8dcfa172bfc8331160785fef995bfe",type:"button",onClick:()=>this.onButtonClick(),id:this.buttonId,class:{"gux-compact":this.compact},ref:e=>this.button=e,"aria-haspopup":"true","aria-expanded":this.isOpen.toString(),disabled:this.disabled},t("gux-screen-reader-beta",{key:"d8e4e61c3b1ee16e579e573cbefdfc500c7ebeec"},this.screenreaderText||this.i18n("contextMenuScreenreaderText")),t("gux-icon",{key:"022c545cd37f68bdb5a20e5a8184dcf65c619d77","icon-name":"fa/ellipsis-vertical-regular",size:"small",decorative:!0})))),t("div",{key:"a2ae5d7d9df4181078159932ac3c22914b5a10eb",slot:"popup",class:"gux-list-container"},t("gux-list",{key:"0100bf7b6dfb08e746e9114c5b41ec7df6e5ea88",onClick:e=>this.onListClick(e),ref:e=>this.listElement=e},t("slot",{key:"46bc9c7f26bbd771dc63e1033c031531b7abc246"})))));var e}static get delegatesFocus(){return!0}get root(){return s(this)}};(function(e,t,o,s){var i,a=arguments.length,r=a<3?t:null===s?s=Object.getOwnPropertyDescriptor(t,o):s;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)r=Reflect.decorate(e,t,o,s);else for(var c=e.length-1;c>=0;c--)(i=e[c])&&(r=(a<3?i(r):a>3?i(t,o,r):i(t,o))||r);a>3&&r&&Object.defineProperty(t,o,r)})([c({triggerEvents:"click"})],l.prototype,"onClickOutside",null),l.style=":host{display:block;max-inline-size:fit-content;white-space:normal}gux-icon{color:var(--gse-ui-button-ghost-default-foregroundColor)}button{block-size:var(--gse-ui-button-default-height);padding:var(--gse-ui-button-default-paddingIconOnly);border-radius:var(--gse-ui-button-borderRadius)}button.gux-compact{min-inline-size:var(--gse-ui-contextMenu-button-compact);block-size:var(--gse-ui-button-compact-height);padding:var(--gse-ui-button-compact-paddingIconOnly)}button:hover:enabled{background-color:var(--gse-ui-button-ghost-hover-backgroundColor)}button:hover:enabled gux-icon{color:var(--gse-ui-button-ghost-hover-foregroundColor)}button:active:enabled{background-color:var(--gse-ui-button-ghost-active-backgroundColor)}button:active:enabled gux-icon{color:var(--gse-ui-button-ghost-active-foregroundColor)}button[disabled]{opacity:var(--gse-ui-button-disabled-opacity)}.gux-list-container{inline-size:var(--gse-ui-contextMenu-menu-width);max-block-size:var(--gse-ui-contextMenu-menu-maxHeight);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{l as gux_context_menu}
@@ -1 +1 @@
1
- import{e,r,h as a,a as l}from"./p-COgvjwDR.js";import{t as o}from"./p-BgR5MFoI.js";import{a as s}from"./p-DxtJDeL9.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.decorative=!1,this.screenreaderText="",this.size="inherit"}async prepIcon(e){if(e){const r=g(e);this.baseSvgHtml=await f(r),this.svgHtml=this.getSvgWithAriaAttributes(this.baseSvgHtml)}}watchDecorative(e){this.validateProps(e,this.screenreaderText),this.baseSvgHtml&&(this.svgHtml=this.getSvgWithAriaAttributes(this.baseSvgHtml))}watchScreenreaderText(e){this.validateProps(this.decorative,e),this.baseSvgHtml&&(this.svgHtml=this.getSvgWithAriaAttributes(this.baseSvgHtml))}async componentWillLoad(){o(this.root,{variant:g(this.iconName)});try{await this.prepIcon(this.iconName)}catch(e){s(this.root,`Failed to load "${this.iconName}"icon: ${e}`)}}componentDidLoad(){this.validateProps(this.decorative,this.screenreaderText)}validateProps(e,r){this.root.isConnected&&(e||r||s(this.root,"No screenreader-text provided. Either provide a localized screenreader-text property or set `decorative` to true."))}getSvgWithAriaAttributes(e){const r=(new DOMParser).parseFromString(e,"image/svg+xml").firstChild;return r.setAttribute("role","img"),r.setAttribute("aria-hidden",this.decorative?String(this.decorative):"false"),this.screenreaderText?r.setAttribute("aria-label",this.screenreaderText):r.removeAttribute("aria-label"),r.outerHTML}render(){return this.svgHtml&&a("div",{key:"0af42a7e8144040230be7e87eafe2d35639d697d",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{e,r,h as a,a as l}from"./p-COgvjwDR.js";import{t as o}from"./p-BesVttmm.js";import{a as s}from"./p-DxtJDeL9.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.decorative=!1,this.screenreaderText="",this.size="inherit"}async prepIcon(e){if(e){const r=g(e);this.baseSvgHtml=await f(r),this.svgHtml=this.getSvgWithAriaAttributes(this.baseSvgHtml)}}watchDecorative(e){this.validateProps(e,this.screenreaderText),this.baseSvgHtml&&(this.svgHtml=this.getSvgWithAriaAttributes(this.baseSvgHtml))}watchScreenreaderText(e){this.validateProps(this.decorative,e),this.baseSvgHtml&&(this.svgHtml=this.getSvgWithAriaAttributes(this.baseSvgHtml))}async componentWillLoad(){o(this.root,{variant:g(this.iconName)});try{await this.prepIcon(this.iconName)}catch(e){s(this.root,`Failed to load "${this.iconName}"icon: ${e}`)}}componentDidLoad(){this.validateProps(this.decorative,this.screenreaderText)}validateProps(e,r){this.root.isConnected&&(e||r||s(this.root,"No screenreader-text provided. Either provide a localized screenreader-text property or set `decorative` to true."))}getSvgWithAriaAttributes(e){const r=(new DOMParser).parseFromString(e,"image/svg+xml").firstChild;return r.setAttribute("role","img"),r.setAttribute("aria-hidden",this.decorative?String(this.decorative):"false"),this.screenreaderText?r.setAttribute("aria-label",this.screenreaderText):r.removeAttribute("aria-label"),r.outerHTML}render(){return this.svgHtml&&a("div",{key:"0af42a7e8144040230be7e87eafe2d35639d697d",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
- var e="4.182.3";const t=[function(e){const[t,n,...o]=e.split(".");return{name:"spark-library",metadata:{fullVersion:`${t}.${n}.${o.join(".")}`,majorVersion:t,minorVersion:`${t}.${n}`}}}(e)];function n(){const e=window.newrelic;if(e){for(let o=0;o<20;o++){if(0==t.length)return void setTimeout(n,3e4);const o=t.shift();e.addPageAction(o.name,Object.assign(Object.assign({},o.metadata),{queueDepth:t.length}))}setTimeout(n,3e4)}}let o=!1;function r(r,i){window.newrelic&&(o||(o=!0,n()),document.contains(r)&&t.push({name:"spark-component",metadata:Object.assign(Object.assign({},i),{component:r.tagName.toLowerCase(),version:e})}))}export{r as t}
1
+ var e="4.183.0";const t=[function(e){const[t,n,...o]=e.split(".");return{name:"spark-library",metadata:{fullVersion:`${t}.${n}.${o.join(".")}`,majorVersion:t,minorVersion:`${t}.${n}`}}}(e)];function n(){const e=window.newrelic;if(e){for(let o=0;o<20;o++){if(0==t.length)return void setTimeout(n,3e4);const o=t.shift();e.addPageAction(o.name,Object.assign(Object.assign({},o.metadata),{queueDepth:t.length}))}setTimeout(n,3e4)}}let o=!1;function r(r,i){window.newrelic&&(o||(o=!0,n()),document.contains(r)&&t.push({name:"spark-component",metadata:Object.assign(Object.assign({},i),{component:r.tagName.toLowerCase(),version:e})}))}export{r as t}
@@ -1 +1 @@
1
- import{r as e,c as t,h as a,a as n}from"./p-COgvjwDR.js";import{a as r}from"./p-Bg4q97BS.js";import{a as s,c as i,b as d,f as o}from"./p-aKaDsw_5.js";import{t as u}from"./p-BgR5MFoI.js";import{b as l,g as c,c as g}from"./p-D2nzPgXC.js";import{c as h}from"./p-Cf6_BoFM.js";import{d as x}from"./p-Du774lsF.js";import{u as b}from"./p-BgaA4g76.js";import"./p-Cd4R0amv.js";import"./p-DCZG2J0G.js";function f(e,t){v(e,"remove",t)}function v(e=[],t,a){const n=[].concat(e);for(const e of n)e.classList[t](a)}var m={previousMonth:"Go to the previous month",nextMonth:"Go to the next month"};function y(e,t){return b()?h(x(t,{year:"numeric",month:"long"}).format(e)):h(e.toLocaleDateString(t,{year:"numeric",month:"long"}))}const M=class{constructor(a){e(this,a),this.calendarSelect=t(this,"calendarSelect",7),this.value="",this.minDate="",this.maxDate="",this.mode="single",this.numberOfMonths=1,this.previewValue=new Date,this.selectingDate=null,this.locale="en"}emitCalendarSelect(){this.calendarSelect.emit(this.value)}async setValue(e){if("range"===this.mode&&e instanceof Array){const[t,a]=e;this.value=s(t,a),this.previewValue=i(this.value)[0]}else{const t=e;this.value=d(t),this.previewValue=t}}async focusPreviewDate(){const e=this.root.shadowRoot.querySelector(`td[data-date="${this.previewValue.getTime()}"]`);e&&e.focus()}async resetCalendarView(e){this.previewValue=e}incrementPreviewDateByMonth(e){this.previewValue=new Date(this.previewValue.getFullYear(),this.previewValue.getMonth()+e,15,0,0,0)}async setValueAndEmit(e){await this.setValue(e),this.emitCalendarSelect()}outOfBounds(e){return""!==this.maxDate&&o(this.maxDate)<e||""!==this.minDate&&o(this.minDate)>e}generateDatesFrom(e,t,a){const n=[],r=new Date(t.getFullYear(),t.getMonth(),t.getDate(),0,0,0,0);for(let t=0;t<a;t++){const t=new Date(r.getFullYear(),r.getMonth(),r.getDate(),0,0,0,0),a=[],s=new Date,d=r.getFullYear()===s.getFullYear()&&r.getMonth()===s.getMonth()&&r.getDate()===s.getDate();let u=!1,l=!1;t.getMonth()!==e&&(a.push("gux-not-in-month"),u=!0,"range"===this.mode&&(a.push("gux-hidden"),l=!0)),this.outOfBounds(t)&&(a.push("gux-disabled"),u=!0);let c=!1;if(d&&a.push("gux-current-date"),"range"===this.mode){const[e,n]=i(this.value),r=e.getTime(),s=n.getTime();t.getTime()===r&&t.getTime()===s?(c=!0,a.push("gux-selected")):t.getTime()===r?(c=!0,a.push("gux-selected"),a.push("gux-start-date")):t.getTime()===s&&(c=!0,a.push("gux-selected"),a.push("gux-end-date"))}else{const e=o(this.value).getTime();t.getTime()===e&&(c=!0,a.push("gux-selected"))}n.push({class:a.join(" "),date:t,hidden:l,disabled:u,selected:c,isToday:d}),r.setDate(r.getDate()+1)}return n}create2DArray(e,t){const a=[];for(let n=0;n<t-1;n++){const r=e.slice(n*t,n*t+t);this.weekShouldBeDisplayed(r)&&a.push(r)}return a}isFocusableDate(e){return e.selected||this.previewValue.getTime()===e.date.getTime()}weekShouldBeDisplayed(e){const t=e.find((e=>!e.hidden));return e.length&&!!t}getMonthDays(e){const t=new Date(this.previewValue.getTime());t.setDate(1),t.setMonth(t.getMonth()+e);const a=t.getMonth(),n=function(e,t,a){const n=new Date(t,e,1,1,0,0,0),r=-1*(a-n.getDay()-7)%7;return new Date(n.getTime()-864e5*r)}(a,t.getFullYear(),this.startDayOfWeek),r=this.generateDatesFrom(a,n,42);return this.create2DArray(r,7)}addDays(e,t){const a=new Date(e.valueOf());return a.setDate(a.getDate()+t),a}getAllDatesElements(){const e=this.root.shadowRoot.querySelectorAll("td");return Array.from(e)}getAllSelectableDatesElements(){const e=this.root.shadowRoot.querySelectorAll('td[tabindex="0"]');return Array.from(e)}getRangeDatesElements(e,t){const a=[];let n;n=t<e?this.getRangeDates(t,e):this.getRangeDates(e,t);for(const e of n){const t=this.root.shadowRoot.querySelector(`td[data-date="${e.getTime()}"]:not(.gux-hidden)`);t&&a.push(t)}return a}getRangeDates(e,t){const a=[];let n=e;for(;n<=t;)a.push(new Date(n)),n=this.addDays(n,1);return a}async onDateClick(e){if(!this.outOfBounds(e))if("range"!==this.mode)await this.setValueAndEmit(e);else if(null===this.selectingDate)f(this.getAllDatesElements(),"gux-hovered"),this.selectingDate=new Date(e.valueOf()),this.value=s(e,e);else{const t=this.root.shadowRoot.querySelector(`td[data-date="${e.getTime()}"]`);t&&t.classList.add("gux-selected"),this.updateRangeElements(),await this.setValueAndEmit([this.selectingDate,e]),this.previewValue=e,this.selectingDate=null}}onDateMouseEnter(e){"range"===this.mode&&null!==this.selectingDate&&(this.value=s(e,this.selectingDate),this.updateRangeElements())}updateRangeElements(){if("range"===this.mode){f(this.getAllDatesElements(),"gux-hovered");const[e,t]=i(this.value);v(this.getRangeDatesElements(e,t),"add","gux-hovered")}}async onKeyDown(e){switch(e.key){case" ":case"Enter":e.preventDefault(),await this.onDateClick(this.previewValue);break;case"ArrowDown":e.preventDefault(),this.previewValue=new Date(this.previewValue.setDate(this.previewValue.getDate()+7)),this.onDateMouseEnter(this.previewValue),r((()=>{this.focusPreviewDate()}));break;case"ArrowUp":e.preventDefault(),this.previewValue=new Date(this.previewValue.setDate(this.previewValue.getDate()-7)),this.onDateMouseEnter(this.previewValue),r((()=>{this.focusPreviewDate()}));break;case"ArrowLeft":e.preventDefault(),this.previewValue=new Date(this.previewValue.setDate(this.previewValue.getDate()-1)),this.onDateMouseEnter(this.previewValue),r((()=>{this.focusPreviewDate()}));break;case"ArrowRight":e.preventDefault(),this.previewValue=new Date(this.previewValue.setDate(this.previewValue.getDate()+1)),this.onDateMouseEnter(this.previewValue),r((()=>{this.focusPreviewDate()}));break;case"PageUp":e.preventDefault(),this.incrementPreviewDateByMonth(1),this.onDateMouseEnter(this.previewValue),r((()=>{this.focusPreviewDate()}));break;case"PageDown":e.preventDefault(),this.incrementPreviewDateByMonth(-1),this.onDateMouseEnter(this.previewValue),r((()=>{this.focusPreviewDate()}))}}async componentWillLoad(){if(u(this.root,{variant:this.mode}),this.i18n=await l(this.root,m),this.locale=c(this.root),this.startDayOfWeek=this.startDayOfWeek||g(this.locale),!this.value){const e=new Date;e.setHours(0,0,0,0),this.value="range"===this.mode?s(e,e):d(e)}this.previewValue=o(this.value)}componentDidRender(){this.updateRangeElements()}renderMonthHeader(){return a("div",{class:"gux-month-list"},Array.from(Array(this.numberOfMonths).keys()).map((e=>{const t=function(e,t){const a=new Date(e);return a.setDate(1),a.setMonth(a.getMonth()+t),a}(this.previewValue,e);return a("label",null,y(t,this.locale))})))}renderCalendarTable(e){return a("table",null,a("tr",null,function(e,t){const a=[],n=new Date(1970,0,4);for(let t=0;t<7;t++){const t=n.toLocaleString(e,{weekday:"narrow"});a.push(t),n.setDate(n.getDate()+1)}return(r=a).concat(r.splice(0,(s=t)>r.length?s%r.length:s));var r,s}(this.locale,this.startDayOfWeek).map((e=>a("th",null,e)))),this.getMonthDays(e).map((e=>a("tr",null,e.map((e=>a("td",{tabindex:this.isFocusableDate(e)?"0":"-1",class:e.class,"aria-hidden":e.hidden?"true":"false","aria-disabled":e.disabled?"true":"false","data-date":e.date.getTime(),onClick:()=>{this.onDateClick(e.date)},onMouseEnter:()=>this.onDateMouseEnter(e.date),onKeyDown:e=>{this.onKeyDown(e)}},a("div",{class:"gux-date"},e.date.getDate(),a("span",{class:"gux-sr-only"},y(e.date,this.locale))))))))))}render(){return a("div",{key:"cd6c50d851d8410f3843c68f1a5f0be54f8d7460",class:"gux-calendar"},a("div",{key:"c95ab41b3d438fd45c2d60d614355343691f0eb6",class:"gux-header"},a("button",{key:"b28c6d87ac010da89aa96e4d1c3402b64c23ed46",type:"button",class:"gux-left","aria-label":this.i18n("previousMonth"),onClick:()=>this.incrementPreviewDateByMonth(-1)},a("gux-icon",{key:"fec29d9097028b81d78c7df2f74f9cfa16773745",size:"small",decorative:!0,"icon-name":"custom/chevron-left-small-regular"})),this.renderMonthHeader(),a("button",{key:"55deb6a23f78e55b54eb8e3a1cb810acb0a2c33b",type:"button",class:"gux-right","aria-label":this.i18n("nextMonth"),onClick:()=>this.incrementPreviewDateByMonth(1)},a("gux-icon",{key:"ca9ea22a8ef0a0f9caa3ae3c035b293730ddf256",size:"small",decorative:!0,"icon-name":"custom/chevron-right-small-regular"}))),a("div",{key:"6350ba215eaefa732bab29346dd98ecf3b1acf09",class:"gux-content"},Array.from(Array(this.numberOfMonths).keys()).map((e=>this.renderCalendarTable(e)))))}get root(){return n(this)}};M.style=":host{display:inline-block}.gux-calendar{margin-block-start:2px;border-radius:8px;box-shadow:var(--gse-ui-calendarMenu-boxShadow)}.gux-calendar .gux-header{display:flex;align-items:center;justify-content:space-between;block-size:var(--gse-ui-calendarMenu-month-single-header-height);padding:var(--gse-ui-calendarMenu-header-padding);font-style:normal;font-weight:var(--gse-ui-calendarMenu-month-currentText-fontWeight);color:var(--gse-ui-calendarMenu-header-foregroundColor);text-align:center;background-color:var(--gse-ui-calendarMenu-header-backgroundColor);border-radius:var(--gse-ui-calendarMenu-single-header-borderRadius)}.gux-calendar .gux-header .gux-header-month-and-year{inline-size:var(--gse-ui-calendarMenu-month-single-header-textWidth);font-family:var(--gse-ui-calendarMenu-month-headerText-fontFamily);font-size:var(--gse-ui-calendarMenu-month-headerText-fontSize);line-height:var(--gse-ui-calendarMenu-month-headerText-lineHeight);color:var(--gse-ui-calendarMenu-month-selected-foregroundColor)}.gux-calendar .gux-header .gux-left,.gux-calendar .gux-header .gux-right{block-size:100%;color:var(--gse-ui-calendarMenu-header-foregroundColor);cursor:pointer;outline:none;background:none;border:none}.gux-calendar .gux-header .gux-left:focus-visible,.gux-calendar .gux-header .gux-right:focus-visible{outline:var(--gse-semantic-focusOutline-md-borderWidth) solid var(--gse-semantic-border-focus);outline-offset:var(--gse-semantic-focusOutline-offset)}.gux-calendar .gux-header .gux-month-list{display:flex;justify-content:space-between;inline-size:100%;font-family:var(--gse-ui-calendarMenu-month-headerText-fontFamily);font-size:var(--gse-ui-calendarMenu-month-headerText-fontSize);line-height:var(--gse-ui-calendarMenu-month-headerText-lineHeight)}.gux-calendar .gux-header .gux-month-list label{inline-size:100%;text-align:center}.gux-calendar .gux-content{display:flex;align-items:flex-start;block-size:var(--gse-ui-calendarMenu-height);padding:var(--gse-ui-calendarMenu-dateBody-padding);color:var(--gse-ui-calendarMenu-month-default-foregroundColor);background-color:var(--gse-ui-calendarMenu-backgroundColor);border-radius:var(--gse-ui-calendarMenu-single-body-borderRadius)}.gux-calendar .gux-content table{inline-size:var(--gse-ui-calendarMenu-day-input-width);text-align:start;-ms-user-select:none;user-select:none;table-layout:fixed;border-spacing:0}.gux-calendar .gux-content table:not(:last-child){padding-inline-end:24px}.gux-calendar .gux-content table tr{block-size:var(--gse-ui-calendarMenu-day-input-height)}.gux-calendar .gux-content table tr:empty{display:none}.gux-calendar .gux-content table tr th,.gux-calendar .gux-content table tr td{inline-size:var(--gse-ui-calendarMenu-day-date-size);block-size:var(--gse-ui-calendarMenu-day-date-size);padding:0;margin:0;text-align:center}.gux-calendar .gux-content table tr th{font-family:var(--gse-ui-calendarMenu-day-headerText-fontFamily);font-size:var(--gse-ui-calendarMenu-day-headerText-fontSize);font-weight:var(--gse-ui-calendarMenu-day-headerText-fontWeight);line-height:var(--gse-ui-calendarMenu-day-headerText-lineHeight)}.gux-calendar .gux-content table tr td{font-family:var(--gse-ui-calendarMenu-date-defaultText-fontFamily);font-size:var(--gse-ui-calendarMenu-date-defaultText-fontSize);font-weight:var(--gse-ui-calendarMenu-date-defaultText-fontWeight);line-height:var(--gse-ui-calendarMenu-date-defaultText-lineHeight);color:var(--gse-ui-calendarMenu-date-default-foregroundColor);cursor:pointer}.gux-calendar .gux-content table tr td.gux-hovered{background-color:var(--gse-ui-calendarMenu-date-range-backgroundColor)}.gux-calendar .gux-content table tr td.gux-selected{color:var(--gse-ui-calendarMenu-date-selected-foregroundColor);background-color:var(--gse-ui-calendarMenu-date-selected-backgroundColor);border-radius:var(--gse-ui-calendarMenu-month-borderRadius)}.gux-calendar .gux-content table tr td.gux-selected:hover:not(.gux-calendar .gux-content table tr td.gux-selected.gux-start-date):not(.gux-calendar .gux-content table tr td.gux-selected.gux-end-date){background-color:var(--gse-ui-calendarMenu-date-selected-hoverBackgroundColor)}.gux-calendar .gux-content table tr td.gux-start-date,.gux-calendar .gux-content table tr td.gux-end-date{background-color:var(--gse-ui-calendarMenu-date-range-backgroundColor)}.gux-calendar .gux-content table tr td.gux-start-date .gux-date,.gux-calendar .gux-content table tr td.gux-end-date .gux-date{display:flex;align-items:center;justify-content:center;inline-size:var(--gse-ui-calendarMenu-day-date-size);block-size:var(--gse-ui-calendarMenu-day-date-size);background-color:var(--gse-ui-calendarMenu-date-selected-backgroundColor);border-radius:var(--gse-ui-calendarMenu-month-borderRadius)}.gux-calendar .gux-content table tr td.gux-start-date .gux-date:hover,.gux-calendar .gux-content table tr td.gux-end-date .gux-date:hover{background-color:var(--gse-ui-calendarMenu-date-selected-hoverBackgroundColor)}.gux-calendar .gux-content table tr td.gux-start-date{border-radius:var(--gse-ui-calendarMenu-range-date-startDate-borderRadius)}.gux-calendar .gux-content table tr td.gux-end-date{border-radius:var(--gse-ui-calendarMenu-range-date-endDate-borderRadius)}.gux-calendar .gux-content table tr td:hover:not(.gux-calendar .gux-content table tr td.gux-start-date):not(.gux-calendar .gux-content table tr td.gux-end-date):not(.gux-calendar .gux-content table tr td.gux-hovered):not(.gux-calendar .gux-content table tr td.gux-selected){background-color:var(--gse-ui-calendarMenu-date-hover-backgroundColor);border-radius:var(--gse-ui-calendarMenu-month-borderRadius)}.gux-calendar .gux-content table tr td.gux-disabled{pointer-events:none;opacity:var(--gse-ui-calendarMenu-disabled-opacity)}.gux-calendar .gux-content table tr td.gux-not-in-month{opacity:var(--gse-ui-calendarMenu-disabled-opacity)}.gux-calendar .gux-content table tr td.gux-not-in-month:hover{background-color:var(--gse-ui-calendarMenu-date-hover-backgroundColor)}.gux-calendar .gux-content table tr td.gux-not-in-month.gux-hidden{visibility:hidden}.gux-calendar .gux-content table tr td.gux-current-date{font-family:var(--gse-ui-calendarMenu-date-currentText-fontFamily);font-size:var(--gse-ui-calendarMenu-date-currentText-fontSize);font-weight:var(--gse-ui-calendarMenu-date-currentText-fontWeight);line-height:var(--gse-ui-calendarMenu-date-currentText-lineHeight)}.gux-calendar .gux-content table tr td:focus-visible{border-radius:var(--gse-ui-calendarMenu-month-focusBorderRadius);outline:var(--gse-semantic-focusOutline-md-borderWidth) solid var(--gse-semantic-border-focus);outline-offset:var(--gse-semantic-focusOutline-offset)}.gux-sr-only{position:absolute;top:auto;left:-10000px;width:1px;height:1px;overflow:hidden}";export{M as gux_calendar}
1
+ import{r as e,c as t,h as a,a as n}from"./p-COgvjwDR.js";import{a as r}from"./p-Bg4q97BS.js";import{a as s,c as i,b as d,f as o}from"./p-aKaDsw_5.js";import{t as u}from"./p-BesVttmm.js";import{b as l,g as c,c as g}from"./p-D2nzPgXC.js";import{c as h}from"./p-Cf6_BoFM.js";import{d as x}from"./p-Du774lsF.js";import{u as b}from"./p-BgaA4g76.js";import"./p-Cd4R0amv.js";import"./p-DCZG2J0G.js";function f(e,t){v(e,"remove",t)}function v(e=[],t,a){const n=[].concat(e);for(const e of n)e.classList[t](a)}var m={previousMonth:"Go to the previous month",nextMonth:"Go to the next month"};function y(e,t){return b()?h(x(t,{year:"numeric",month:"long"}).format(e)):h(e.toLocaleDateString(t,{year:"numeric",month:"long"}))}const M=class{constructor(a){e(this,a),this.calendarSelect=t(this,"calendarSelect",7),this.value="",this.minDate="",this.maxDate="",this.mode="single",this.numberOfMonths=1,this.previewValue=new Date,this.selectingDate=null,this.locale="en"}emitCalendarSelect(){this.calendarSelect.emit(this.value)}async setValue(e){if("range"===this.mode&&e instanceof Array){const[t,a]=e;this.value=s(t,a),this.previewValue=i(this.value)[0]}else{const t=e;this.value=d(t),this.previewValue=t}}async focusPreviewDate(){const e=this.root.shadowRoot.querySelector(`td[data-date="${this.previewValue.getTime()}"]`);e&&e.focus()}async resetCalendarView(e){this.previewValue=e}incrementPreviewDateByMonth(e){this.previewValue=new Date(this.previewValue.getFullYear(),this.previewValue.getMonth()+e,15,0,0,0)}async setValueAndEmit(e){await this.setValue(e),this.emitCalendarSelect()}outOfBounds(e){return""!==this.maxDate&&o(this.maxDate)<e||""!==this.minDate&&o(this.minDate)>e}generateDatesFrom(e,t,a){const n=[],r=new Date(t.getFullYear(),t.getMonth(),t.getDate(),0,0,0,0);for(let t=0;t<a;t++){const t=new Date(r.getFullYear(),r.getMonth(),r.getDate(),0,0,0,0),a=[],s=new Date,d=r.getFullYear()===s.getFullYear()&&r.getMonth()===s.getMonth()&&r.getDate()===s.getDate();let u=!1,l=!1;t.getMonth()!==e&&(a.push("gux-not-in-month"),u=!0,"range"===this.mode&&(a.push("gux-hidden"),l=!0)),this.outOfBounds(t)&&(a.push("gux-disabled"),u=!0);let c=!1;if(d&&a.push("gux-current-date"),"range"===this.mode){const[e,n]=i(this.value),r=e.getTime(),s=n.getTime();t.getTime()===r&&t.getTime()===s?(c=!0,a.push("gux-selected")):t.getTime()===r?(c=!0,a.push("gux-selected"),a.push("gux-start-date")):t.getTime()===s&&(c=!0,a.push("gux-selected"),a.push("gux-end-date"))}else{const e=o(this.value).getTime();t.getTime()===e&&(c=!0,a.push("gux-selected"))}n.push({class:a.join(" "),date:t,hidden:l,disabled:u,selected:c,isToday:d}),r.setDate(r.getDate()+1)}return n}create2DArray(e,t){const a=[];for(let n=0;n<t-1;n++){const r=e.slice(n*t,n*t+t);this.weekShouldBeDisplayed(r)&&a.push(r)}return a}isFocusableDate(e){return e.selected||this.previewValue.getTime()===e.date.getTime()}weekShouldBeDisplayed(e){const t=e.find((e=>!e.hidden));return e.length&&!!t}getMonthDays(e){const t=new Date(this.previewValue.getTime());t.setDate(1),t.setMonth(t.getMonth()+e);const a=t.getMonth(),n=function(e,t,a){const n=new Date(t,e,1,1,0,0,0),r=-1*(a-n.getDay()-7)%7;return new Date(n.getTime()-864e5*r)}(a,t.getFullYear(),this.startDayOfWeek),r=this.generateDatesFrom(a,n,42);return this.create2DArray(r,7)}addDays(e,t){const a=new Date(e.valueOf());return a.setDate(a.getDate()+t),a}getAllDatesElements(){const e=this.root.shadowRoot.querySelectorAll("td");return Array.from(e)}getAllSelectableDatesElements(){const e=this.root.shadowRoot.querySelectorAll('td[tabindex="0"]');return Array.from(e)}getRangeDatesElements(e,t){const a=[];let n;n=t<e?this.getRangeDates(t,e):this.getRangeDates(e,t);for(const e of n){const t=this.root.shadowRoot.querySelector(`td[data-date="${e.getTime()}"]:not(.gux-hidden)`);t&&a.push(t)}return a}getRangeDates(e,t){const a=[];let n=e;for(;n<=t;)a.push(new Date(n)),n=this.addDays(n,1);return a}async onDateClick(e){if(!this.outOfBounds(e))if("range"!==this.mode)await this.setValueAndEmit(e);else if(null===this.selectingDate)f(this.getAllDatesElements(),"gux-hovered"),this.selectingDate=new Date(e.valueOf()),this.value=s(e,e);else{const t=this.root.shadowRoot.querySelector(`td[data-date="${e.getTime()}"]`);t&&t.classList.add("gux-selected"),this.updateRangeElements(),await this.setValueAndEmit([this.selectingDate,e]),this.previewValue=e,this.selectingDate=null}}onDateMouseEnter(e){"range"===this.mode&&null!==this.selectingDate&&(this.value=s(e,this.selectingDate),this.updateRangeElements())}updateRangeElements(){if("range"===this.mode){f(this.getAllDatesElements(),"gux-hovered");const[e,t]=i(this.value);v(this.getRangeDatesElements(e,t),"add","gux-hovered")}}async onKeyDown(e){switch(e.key){case" ":case"Enter":e.preventDefault(),await this.onDateClick(this.previewValue);break;case"ArrowDown":e.preventDefault(),this.previewValue=new Date(this.previewValue.setDate(this.previewValue.getDate()+7)),this.onDateMouseEnter(this.previewValue),r((()=>{this.focusPreviewDate()}));break;case"ArrowUp":e.preventDefault(),this.previewValue=new Date(this.previewValue.setDate(this.previewValue.getDate()-7)),this.onDateMouseEnter(this.previewValue),r((()=>{this.focusPreviewDate()}));break;case"ArrowLeft":e.preventDefault(),this.previewValue=new Date(this.previewValue.setDate(this.previewValue.getDate()-1)),this.onDateMouseEnter(this.previewValue),r((()=>{this.focusPreviewDate()}));break;case"ArrowRight":e.preventDefault(),this.previewValue=new Date(this.previewValue.setDate(this.previewValue.getDate()+1)),this.onDateMouseEnter(this.previewValue),r((()=>{this.focusPreviewDate()}));break;case"PageUp":e.preventDefault(),this.incrementPreviewDateByMonth(1),this.onDateMouseEnter(this.previewValue),r((()=>{this.focusPreviewDate()}));break;case"PageDown":e.preventDefault(),this.incrementPreviewDateByMonth(-1),this.onDateMouseEnter(this.previewValue),r((()=>{this.focusPreviewDate()}))}}async componentWillLoad(){if(u(this.root,{variant:this.mode}),this.i18n=await l(this.root,m),this.locale=c(this.root),this.startDayOfWeek=this.startDayOfWeek||g(this.locale),!this.value){const e=new Date;e.setHours(0,0,0,0),this.value="range"===this.mode?s(e,e):d(e)}this.previewValue=o(this.value)}componentDidRender(){this.updateRangeElements()}renderMonthHeader(){return a("div",{class:"gux-month-list"},Array.from(Array(this.numberOfMonths).keys()).map((e=>{const t=function(e,t){const a=new Date(e);return a.setDate(1),a.setMonth(a.getMonth()+t),a}(this.previewValue,e);return a("label",null,y(t,this.locale))})))}renderCalendarTable(e){return a("table",null,a("tr",null,function(e,t){const a=[],n=new Date(1970,0,4);for(let t=0;t<7;t++){const t=n.toLocaleString(e,{weekday:"narrow"});a.push(t),n.setDate(n.getDate()+1)}return(r=a).concat(r.splice(0,(s=t)>r.length?s%r.length:s));var r,s}(this.locale,this.startDayOfWeek).map((e=>a("th",null,e)))),this.getMonthDays(e).map((e=>a("tr",null,e.map((e=>a("td",{tabindex:this.isFocusableDate(e)?"0":"-1",class:e.class,"aria-hidden":e.hidden?"true":"false","aria-disabled":e.disabled?"true":"false","data-date":e.date.getTime(),onClick:()=>{this.onDateClick(e.date)},onMouseEnter:()=>this.onDateMouseEnter(e.date),onKeyDown:e=>{this.onKeyDown(e)}},a("div",{class:"gux-date"},e.date.getDate(),a("span",{class:"gux-sr-only"},y(e.date,this.locale))))))))))}render(){return a("div",{key:"cd6c50d851d8410f3843c68f1a5f0be54f8d7460",class:"gux-calendar"},a("div",{key:"c95ab41b3d438fd45c2d60d614355343691f0eb6",class:"gux-header"},a("button",{key:"b28c6d87ac010da89aa96e4d1c3402b64c23ed46",type:"button",class:"gux-left","aria-label":this.i18n("previousMonth"),onClick:()=>this.incrementPreviewDateByMonth(-1)},a("gux-icon",{key:"fec29d9097028b81d78c7df2f74f9cfa16773745",size:"small",decorative:!0,"icon-name":"custom/chevron-left-small-regular"})),this.renderMonthHeader(),a("button",{key:"55deb6a23f78e55b54eb8e3a1cb810acb0a2c33b",type:"button",class:"gux-right","aria-label":this.i18n("nextMonth"),onClick:()=>this.incrementPreviewDateByMonth(1)},a("gux-icon",{key:"ca9ea22a8ef0a0f9caa3ae3c035b293730ddf256",size:"small",decorative:!0,"icon-name":"custom/chevron-right-small-regular"}))),a("div",{key:"6350ba215eaefa732bab29346dd98ecf3b1acf09",class:"gux-content"},Array.from(Array(this.numberOfMonths).keys()).map((e=>this.renderCalendarTable(e)))))}get root(){return n(this)}};M.style=":host{display:inline-block}.gux-calendar{margin-block-start:2px;border-radius:8px;box-shadow:var(--gse-ui-calendarMenu-boxShadow)}.gux-calendar .gux-header{display:flex;align-items:center;justify-content:space-between;block-size:var(--gse-ui-calendarMenu-month-single-header-height);padding:var(--gse-ui-calendarMenu-header-padding);font-style:normal;font-weight:var(--gse-ui-calendarMenu-month-currentText-fontWeight);color:var(--gse-ui-calendarMenu-header-foregroundColor);text-align:center;background-color:var(--gse-ui-calendarMenu-header-backgroundColor);border-radius:var(--gse-ui-calendarMenu-single-header-borderRadius)}.gux-calendar .gux-header .gux-header-month-and-year{inline-size:var(--gse-ui-calendarMenu-month-single-header-textWidth);font-family:var(--gse-ui-calendarMenu-month-headerText-fontFamily);font-size:var(--gse-ui-calendarMenu-month-headerText-fontSize);line-height:var(--gse-ui-calendarMenu-month-headerText-lineHeight);color:var(--gse-ui-calendarMenu-month-selected-foregroundColor)}.gux-calendar .gux-header .gux-left,.gux-calendar .gux-header .gux-right{block-size:100%;color:var(--gse-ui-calendarMenu-header-foregroundColor);cursor:pointer;outline:none;background:none;border:none}.gux-calendar .gux-header .gux-left:focus-visible,.gux-calendar .gux-header .gux-right:focus-visible{outline:var(--gse-semantic-focusOutline-md-borderWidth) solid var(--gse-semantic-border-focus);outline-offset:var(--gse-semantic-focusOutline-offset)}.gux-calendar .gux-header .gux-month-list{display:flex;justify-content:space-between;inline-size:100%;font-family:var(--gse-ui-calendarMenu-month-headerText-fontFamily);font-size:var(--gse-ui-calendarMenu-month-headerText-fontSize);line-height:var(--gse-ui-calendarMenu-month-headerText-lineHeight)}.gux-calendar .gux-header .gux-month-list label{inline-size:100%;text-align:center}.gux-calendar .gux-content{display:flex;align-items:flex-start;block-size:var(--gse-ui-calendarMenu-height);padding:var(--gse-ui-calendarMenu-dateBody-padding);color:var(--gse-ui-calendarMenu-month-default-foregroundColor);background-color:var(--gse-ui-calendarMenu-backgroundColor);border-radius:var(--gse-ui-calendarMenu-single-body-borderRadius)}.gux-calendar .gux-content table{inline-size:var(--gse-ui-calendarMenu-day-input-width);text-align:start;-ms-user-select:none;user-select:none;table-layout:fixed;border-spacing:0}.gux-calendar .gux-content table:not(:last-child){padding-inline-end:24px}.gux-calendar .gux-content table tr{block-size:var(--gse-ui-calendarMenu-day-input-height)}.gux-calendar .gux-content table tr:empty{display:none}.gux-calendar .gux-content table tr th,.gux-calendar .gux-content table tr td{inline-size:var(--gse-ui-calendarMenu-day-date-size);block-size:var(--gse-ui-calendarMenu-day-date-size);padding:0;margin:0;text-align:center}.gux-calendar .gux-content table tr th{font-family:var(--gse-ui-calendarMenu-day-headerText-fontFamily);font-size:var(--gse-ui-calendarMenu-day-headerText-fontSize);font-weight:var(--gse-ui-calendarMenu-day-headerText-fontWeight);line-height:var(--gse-ui-calendarMenu-day-headerText-lineHeight)}.gux-calendar .gux-content table tr td{font-family:var(--gse-ui-calendarMenu-date-defaultText-fontFamily);font-size:var(--gse-ui-calendarMenu-date-defaultText-fontSize);font-weight:var(--gse-ui-calendarMenu-date-defaultText-fontWeight);line-height:var(--gse-ui-calendarMenu-date-defaultText-lineHeight);color:var(--gse-ui-calendarMenu-date-default-foregroundColor);cursor:pointer}.gux-calendar .gux-content table tr td.gux-hovered{background-color:var(--gse-ui-calendarMenu-date-range-backgroundColor)}.gux-calendar .gux-content table tr td.gux-selected{color:var(--gse-ui-calendarMenu-date-selected-foregroundColor);background-color:var(--gse-ui-calendarMenu-date-selected-backgroundColor);border-radius:var(--gse-ui-calendarMenu-month-borderRadius)}.gux-calendar .gux-content table tr td.gux-selected:hover:not(.gux-calendar .gux-content table tr td.gux-selected.gux-start-date):not(.gux-calendar .gux-content table tr td.gux-selected.gux-end-date){background-color:var(--gse-ui-calendarMenu-date-selected-hoverBackgroundColor)}.gux-calendar .gux-content table tr td.gux-start-date,.gux-calendar .gux-content table tr td.gux-end-date{background-color:var(--gse-ui-calendarMenu-date-range-backgroundColor)}.gux-calendar .gux-content table tr td.gux-start-date .gux-date,.gux-calendar .gux-content table tr td.gux-end-date .gux-date{display:flex;align-items:center;justify-content:center;inline-size:var(--gse-ui-calendarMenu-day-date-size);block-size:var(--gse-ui-calendarMenu-day-date-size);background-color:var(--gse-ui-calendarMenu-date-selected-backgroundColor);border-radius:var(--gse-ui-calendarMenu-month-borderRadius)}.gux-calendar .gux-content table tr td.gux-start-date .gux-date:hover,.gux-calendar .gux-content table tr td.gux-end-date .gux-date:hover{background-color:var(--gse-ui-calendarMenu-date-selected-hoverBackgroundColor)}.gux-calendar .gux-content table tr td.gux-start-date{border-radius:var(--gse-ui-calendarMenu-range-date-startDate-borderRadius)}.gux-calendar .gux-content table tr td.gux-end-date{border-radius:var(--gse-ui-calendarMenu-range-date-endDate-borderRadius)}.gux-calendar .gux-content table tr td:hover:not(.gux-calendar .gux-content table tr td.gux-start-date):not(.gux-calendar .gux-content table tr td.gux-end-date):not(.gux-calendar .gux-content table tr td.gux-hovered):not(.gux-calendar .gux-content table tr td.gux-selected){background-color:var(--gse-ui-calendarMenu-date-hover-backgroundColor);border-radius:var(--gse-ui-calendarMenu-month-borderRadius)}.gux-calendar .gux-content table tr td.gux-disabled{pointer-events:none;opacity:var(--gse-ui-calendarMenu-disabled-opacity)}.gux-calendar .gux-content table tr td.gux-not-in-month{opacity:var(--gse-ui-calendarMenu-disabled-opacity)}.gux-calendar .gux-content table tr td.gux-not-in-month:hover{background-color:var(--gse-ui-calendarMenu-date-hover-backgroundColor)}.gux-calendar .gux-content table tr td.gux-not-in-month.gux-hidden{visibility:hidden}.gux-calendar .gux-content table tr td.gux-current-date{font-family:var(--gse-ui-calendarMenu-date-currentText-fontFamily);font-size:var(--gse-ui-calendarMenu-date-currentText-fontSize);font-weight:var(--gse-ui-calendarMenu-date-currentText-fontWeight);line-height:var(--gse-ui-calendarMenu-date-currentText-lineHeight)}.gux-calendar .gux-content table tr td:focus-visible{border-radius:var(--gse-ui-calendarMenu-month-focusBorderRadius);outline:var(--gse-semantic-focusOutline-md-borderWidth) solid var(--gse-semantic-border-focus);outline-offset:var(--gse-semantic-focusOutline-offset)}.gux-sr-only{position:absolute;top:auto;left:-10000px;width:1px;height:1px;overflow:hidden}";export{M as gux_calendar}
@@ -1 +1 @@
1
- import{r as e,h as t,H as o,a as s}from"./p-COgvjwDR.js";import{t as i}from"./p-BgR5MFoI.js";import{O as a}from"./p-DGRFHar4.js";import{b as r}from"./p-D2nzPgXC.js";import{b as n}from"./p-Bg4q97BS.js";import"./p-Cd4R0amv.js";var c={additionalActions:"Additional Actions"};const u=class{constructor(t){e(this,t),this.expanded=!1}handleKeyDown(e){const t=e.composedPath();switch(e.key){case"Escape":this.expanded=!1,t.includes(this.listElement)&&(e.preventDefault(),this.dropdownButton.focus());break;case"Tab":this.expanded=!1;break;case"ArrowDown":case"Enter":t.includes(this.dropdownButton)&&(e.preventDefault(),this.expanded=!0,this.focusFirstItemInPopupList())}}handleKeyup(e){if(" "===e.key)e.composedPath().includes(this.dropdownButton)&&(this.expanded=!0,this.focusFirstItemInPopupList())}toggle(){this.expanded=!this.expanded,this.expanded&&this.focusPopupList()}onClickOutside(){this.expanded=!1}focusPopupList(){n((()=>{this.listElement.focus()}))}focusFirstItemInPopupList(){n((()=>{this.listElement.guxFocusFirstItem()}))}renderTooltip(){if(!this.expanded)return t("gux-tooltip-beta",null,t("div",{slot:"content"},this.i18n("additionalActions")))}async componentWillLoad(){this.i18n=await r(this.root,c),i(this.root)}render(){return t(o,{key:"dd49b24a4fe0c685da9f27f5268a528c299b46a6",class:{"gux-show-menu":this.showMenu}},t("gux-popup",{key:"9f043c22c9ed34a76af2541a0db261e2e2c78097",expanded:this.expanded,"exceed-target-width":!0},t("div",{key:"00b3e38e8177844dcb20adb2748612191fe87bc6",slot:"target",class:"gux-toolbar-menu-container"},t("gux-button-slot",{key:"6e371e26c59393e4da151a698633a1b8c20949c6",accent:"secondary"},t("button",{key:"dca1886543276742e05bba4d67d6b4c66f86299a",class:"gux-menu-button",type:"button",ref:e=>this.dropdownButton=e,onMouseUp:()=>this.toggle(),"aria-haspopup":"true","aria-expanded":this.expanded.toString()},t("gux-icon",{key:"1208f23faefd26db958cfe684f6b66d0f08099d6","icon-name":"fa/ellipsis-regular",size:"small",decorative:!0}),t("gux-screen-reader-beta",{key:"b5fda673c8393b39eb02cfeecdac6cf409ff60f4"},this.i18n("additionalActions"))),this.renderTooltip())),t("div",{key:"2d62be98b045fe722751925fb867039ec7af8c36",class:"gux-list-container",slot:"popup"},t("gux-list",{key:"57a47771b36648d6353090057351cfb6e818c9fd",ref:e=>this.listElement=e},t("slot",{key:"80ec1ac5ef2154b0f95615701e4260ec2364ceda"})))))}static get delegatesFocus(){return!0}get root(){return s(this)}};(function(e,t,o,s){var i,a=arguments.length,r=a<3?t:null===s?s=Object.getOwnPropertyDescriptor(t,o):s;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)r=Reflect.decorate(e,t,o,s);else for(var n=e.length-1;n>=0;n--)(i=e[n])&&(r=(a<3?i(r):a>3?i(t,o,r):i(t,o))||r);a>3&&r&&Object.defineProperty(t,o,r)})([a({triggerEvents:"mousedown"})],u.prototype,"onClickOutside",null),u.style=":host{display:none;-webkit-user-select:none;user-select:none}:host(.gux-show-menu){display:block}.gux-menu-button{display:flex;color:var(--gse-ui-button-secondary-default-foregroundColor);cursor:pointer;border:none}.gux-menu-button gux-icon{align-self:center}.gux-list-container{inline-size:min-content;margin:0;overflow-y:auto;background:var(--gse-ui-menu-backgroundColor);border-color:var(--gse-ui-menu-border-color);border-style:var(--gse-ui-menu-border-style);border-width:var(--gse-ui-menu-border-width);border-radius:var(--gse-ui-menu-borderRadius);box-shadow:var(--gse-ui-menu-boxShadow)}";export{u as gux_table_toolbar_menu_button}
1
+ import{r as e,h as t,H as s,a as o}from"./p-COgvjwDR.js";import{t as i}from"./p-BesVttmm.js";import{O as a}from"./p-DGRFHar4.js";import{b as r}from"./p-D2nzPgXC.js";import{b as n}from"./p-Bg4q97BS.js";import"./p-Cd4R0amv.js";var c={additionalActions:"Additional Actions"};const u=class{constructor(t){e(this,t),this.expanded=!1}handleKeyDown(e){const t=e.composedPath();switch(e.key){case"Escape":this.expanded=!1,t.includes(this.listElement)&&(e.preventDefault(),this.dropdownButton.focus());break;case"Tab":this.expanded=!1;break;case"ArrowDown":case"Enter":t.includes(this.dropdownButton)&&(e.preventDefault(),this.expanded=!0,this.focusFirstItemInPopupList())}}handleKeyup(e){if(" "===e.key)e.composedPath().includes(this.dropdownButton)&&(this.expanded=!0,this.focusFirstItemInPopupList())}toggle(){this.expanded=!this.expanded,this.expanded&&this.focusPopupList()}onClickOutside(){this.expanded=!1}focusPopupList(){n((()=>{this.listElement.focus()}))}focusFirstItemInPopupList(){n((()=>{this.listElement.guxFocusFirstItem()}))}renderTooltip(){if(!this.expanded)return t("gux-tooltip-beta",null,t("div",{slot:"content"},this.i18n("additionalActions")))}async componentWillLoad(){this.i18n=await r(this.root,c),i(this.root)}render(){return t(s,{key:"dd49b24a4fe0c685da9f27f5268a528c299b46a6",class:{"gux-show-menu":this.showMenu}},t("gux-popup",{key:"9f043c22c9ed34a76af2541a0db261e2e2c78097",expanded:this.expanded,"exceed-target-width":!0},t("div",{key:"00b3e38e8177844dcb20adb2748612191fe87bc6",slot:"target",class:"gux-toolbar-menu-container"},t("gux-button-slot",{key:"6e371e26c59393e4da151a698633a1b8c20949c6",accent:"secondary"},t("button",{key:"dca1886543276742e05bba4d67d6b4c66f86299a",class:"gux-menu-button",type:"button",ref:e=>this.dropdownButton=e,onMouseUp:()=>this.toggle(),"aria-haspopup":"true","aria-expanded":this.expanded.toString()},t("gux-icon",{key:"1208f23faefd26db958cfe684f6b66d0f08099d6","icon-name":"fa/ellipsis-regular",size:"small",decorative:!0}),t("gux-screen-reader-beta",{key:"b5fda673c8393b39eb02cfeecdac6cf409ff60f4"},this.i18n("additionalActions"))),this.renderTooltip())),t("div",{key:"2d62be98b045fe722751925fb867039ec7af8c36",class:"gux-list-container",slot:"popup"},t("gux-list",{key:"57a47771b36648d6353090057351cfb6e818c9fd",ref:e=>this.listElement=e},t("slot",{key:"80ec1ac5ef2154b0f95615701e4260ec2364ceda"})))))}static get delegatesFocus(){return!0}get root(){return o(this)}};(function(e,t,s,o){var i,a=arguments.length,r=a<3?t:null===o?o=Object.getOwnPropertyDescriptor(t,s):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)r=Reflect.decorate(e,t,s,o);else for(var n=e.length-1;n>=0;n--)(i=e[n])&&(r=(a<3?i(r):a>3?i(t,s,r):i(t,s))||r);a>3&&r&&Object.defineProperty(t,s,r)})([a({triggerEvents:"mousedown"})],u.prototype,"onClickOutside",null),u.style=":host{display:none;-webkit-user-select:none;user-select:none}:host(.gux-show-menu){display:block}.gux-menu-button{display:flex;color:var(--gse-ui-button-secondary-default-foregroundColor);cursor:pointer;border:none}.gux-menu-button gux-icon{align-self:center}.gux-list-container{inline-size:min-content;margin:0;overflow-y:auto;background:var(--gse-ui-menu-backgroundColor);border-color:var(--gse-ui-menu-border-color);border-style:var(--gse-ui-menu-border-style);border-width:var(--gse-ui-menu-border-width);border-radius:var(--gse-ui-menu-borderRadius);box-shadow:var(--gse-ui-menu-boxShadow)}";export{u as gux_table_toolbar_menu_button}
@@ -1 +1 @@
1
- import{e as t,r as a,h as s,a as i}from"./p-COgvjwDR.js";import{t as l}from"./p-BgR5MFoI.js";const n=new Map;async function r(a,s){const i=function(t,a){return`${a}-${t}`}(a,s);if(n.has(i))return n.get(i);const l=async function(a,s){const i=await fetch(t(function(t,a){return"background-shapes"===a?`./illustrations/${a}/${t.includes("narrow")?"narrow":"wide"}.svg`:`./illustrations/${a}/${t}.svg`}(a,s)));if(200===i.status)return i.text();throw new Error(`[gux-illustration] fetching failed for illustration "${a}" with status "${i.statusText} (${i.status})".`)}(a,s).then((t=>t)).catch((t=>(setTimeout((()=>{throw t}),0),r({variants:"add",status:"success","background-shapes":"solid-wide"}[s],s))));return n.set(i,l),l}const u=class{constructor(t){a(this,t),this.backgroundShape="solid-wide"}async prepVariant(t){t&&(this.variantSvgHtml=await r(t,"variants"),this.variantHtml=this.variantSvgHtml)}async prepStatus(t){t&&(this.statusSvgHtml=await r(t,"status"),this.statusHtml=this.statusSvgHtml)}async prepBackgroundShape(t){t&&(this.backgroundShapeSvgHtml=await r(t,"background-shapes"),this.backgroundShapeHtml=this.backgroundShapeSvgHtml)}async componentWillLoad(){l(this.root,{variant:this.variant}),await Promise.all([this.prepVariant(this.variant),this.prepStatus(this.status),this.prepBackgroundShape(this.backgroundShape)])}render(){return s("div",{key:"b784dff16a5af2bcea05f22e3478f1d78722080c",class:"gux-illustration"},this.backgroundShapeHtml&&s("div",{key:"d57aaeea21e7a23f73aea017e97f46690faddb0d",class:{"gux-background-shape":!0,[`gux-background-shape-${this.backgroundShape}`]:!0},innerHTML:this.backgroundShapeHtml}),this.variantHtml&&s("div",{key:"7c319cf6ee37a229e560656b662f58431f6f6f80",class:"gux-illustration-variant",innerHTML:this.variantHtml}),this.statusHtml&&s("div",{key:"df8b54846668fe2517d497dbedea6e2bdc339956",class:{"gux-illustration-status":!0,[`gux-illustration-status-${this.status}`]:!0},innerHTML:this.statusHtml}))}static get assetsDirs(){return["illustrations"]}get root(){return i(this)}static get watchers(){return{variant:["prepVariant"],status:["prepStatus"],backgroundShape:["prepBackgroundShape"]}}};u.style=".gux-illustration{position:relative;display:grid;place-items:center;inline-size:var(--gse-ui-blankState-mainIllustration-width);block-size:var(--gse-ui-blankState-mainIllustration-height)}.gux-background-shape{grid-area:1/1;inline-size:177px;block-size:70px}.gux-background-shape.gux-background-shape-solid-wide,.gux-background-shape.gux-background-shape-solid-narrow,.gux-background-shape svg{fill:var(--gse-ui-blankState-mainIllustration-background-solidColor)}.gux-background-shape.gux-background-shape-gradient-wide svg,.gux-background-shape.gux-background-shape-gradient-narrow svg{fill:var(--gse-ui-blankState-mainIllustration-background-gradient)}.gux-illustration-variant{display:flex;grid-area:1/1;place-items:center}.gux-illustration-variant svg{inline-size:var(--gse-ui-blankState-mainIllustration-illustration-height);block-size:var(--gse-ui-blankState-mainIllustration-illustration-height);fill:var(--gse-ui-blankState-mainIllustration-illustrationColor)}.gux-illustration-status{position:absolute;inset-block-start:66px;inset-inline-start:111px}.gux-illustration-status svg{inline-size:32px;block-size:32px}.gux-illustration-status.gux-illustration-status-success svg path:first-child{fill:var(--gse-ui-blankState-mainIllustration-smallIcon-successBaseColor)}.gux-illustration-status.gux-illustration-status-success svg path:last-child{fill:var(--gse-ui-blankState-mainIllustration-smallIcon-successSymbolColor)}.gux-illustration-status.gux-illustration-status-error svg path:first-child{fill:var(--gse-ui-blankState-mainIllustration-smallIcon-errorBaseColor)}.gux-illustration-status.gux-illustration-status-error svg path:last-child{fill:var(--gse-ui-blankState-mainIllustration-smallIcon-errorSymbolColor)}.gux-illustration-status.gux-illustration-status-info svg path:first-child{fill:var(--gse-ui-blankState-mainIllustration-smallIcon-infoBaseColor)}.gux-illustration-status.gux-illustration-status-info svg path:last-child{fill:var(--gse-ui-blankState-mainIllustration-smallIcon-infoSymbolColor)}.gux-illustration-status.gux-illustration-status-add svg path:first-child{fill:var(--gse-ui-blankState-mainIllustration-smallIcon-operationBaseColor)}.gux-illustration-status.gux-illustration-status-add svg path:last-child{fill:var(--gse-ui-blankState-mainIllustration-smallIcon-operationSymbolColor)}.gux-illustration-status.gux-illustration-status-warning svg path:first-child{fill:var(--gse-ui-blankState-mainIllustration-smallIcon-warningBaseColor)}.gux-illustration-status.gux-illustration-status-warning svg path:last-child{fill:var(--gse-ui-blankState-mainIllustration-smallIcon-warningSymbolColor)}";export{u as gux_illustration_beta}
1
+ import{e as t,r as a,h as s,a as i}from"./p-COgvjwDR.js";import{t as l}from"./p-BesVttmm.js";const n=new Map;async function r(a,s){const i=function(t,a){return`${a}-${t}`}(a,s);if(n.has(i))return n.get(i);const l=async function(a,s){const i=await fetch(t(function(t,a){return"background-shapes"===a?`./illustrations/${a}/${t.includes("narrow")?"narrow":"wide"}.svg`:`./illustrations/${a}/${t}.svg`}(a,s)));if(200===i.status)return i.text();throw new Error(`[gux-illustration] fetching failed for illustration "${a}" with status "${i.statusText} (${i.status})".`)}(a,s).then((t=>t)).catch((t=>(setTimeout((()=>{throw t}),0),r({variants:"add",status:"success","background-shapes":"solid-wide"}[s],s))));return n.set(i,l),l}const u=class{constructor(t){a(this,t),this.backgroundShape="solid-wide"}async prepVariant(t){t&&(this.variantSvgHtml=await r(t,"variants"),this.variantHtml=this.variantSvgHtml)}async prepStatus(t){t&&(this.statusSvgHtml=await r(t,"status"),this.statusHtml=this.statusSvgHtml)}async prepBackgroundShape(t){t&&(this.backgroundShapeSvgHtml=await r(t,"background-shapes"),this.backgroundShapeHtml=this.backgroundShapeSvgHtml)}async componentWillLoad(){l(this.root,{variant:this.variant}),await Promise.all([this.prepVariant(this.variant),this.prepStatus(this.status),this.prepBackgroundShape(this.backgroundShape)])}render(){return s("div",{key:"b784dff16a5af2bcea05f22e3478f1d78722080c",class:"gux-illustration"},this.backgroundShapeHtml&&s("div",{key:"d57aaeea21e7a23f73aea017e97f46690faddb0d",class:{"gux-background-shape":!0,[`gux-background-shape-${this.backgroundShape}`]:!0},innerHTML:this.backgroundShapeHtml}),this.variantHtml&&s("div",{key:"7c319cf6ee37a229e560656b662f58431f6f6f80",class:"gux-illustration-variant",innerHTML:this.variantHtml}),this.statusHtml&&s("div",{key:"df8b54846668fe2517d497dbedea6e2bdc339956",class:{"gux-illustration-status":!0,[`gux-illustration-status-${this.status}`]:!0},innerHTML:this.statusHtml}))}static get assetsDirs(){return["illustrations"]}get root(){return i(this)}static get watchers(){return{variant:["prepVariant"],status:["prepStatus"],backgroundShape:["prepBackgroundShape"]}}};u.style=".gux-illustration{position:relative;display:grid;place-items:center;inline-size:var(--gse-ui-blankState-mainIllustration-width);block-size:var(--gse-ui-blankState-mainIllustration-height)}.gux-background-shape{grid-area:1/1;inline-size:177px;block-size:70px}.gux-background-shape.gux-background-shape-solid-wide,.gux-background-shape.gux-background-shape-solid-narrow,.gux-background-shape svg{fill:var(--gse-ui-blankState-mainIllustration-background-solidColor)}.gux-background-shape.gux-background-shape-gradient-wide svg,.gux-background-shape.gux-background-shape-gradient-narrow svg{fill:var(--gse-ui-blankState-mainIllustration-background-gradient)}.gux-illustration-variant{display:flex;grid-area:1/1;place-items:center}.gux-illustration-variant svg{inline-size:var(--gse-ui-blankState-mainIllustration-illustration-height);block-size:var(--gse-ui-blankState-mainIllustration-illustration-height);fill:var(--gse-ui-blankState-mainIllustration-illustrationColor)}.gux-illustration-status{position:absolute;inset-block-start:66px;inset-inline-start:111px}.gux-illustration-status svg{inline-size:32px;block-size:32px}.gux-illustration-status.gux-illustration-status-success svg path:first-child{fill:var(--gse-ui-blankState-mainIllustration-smallIcon-successBaseColor)}.gux-illustration-status.gux-illustration-status-success svg path:last-child{fill:var(--gse-ui-blankState-mainIllustration-smallIcon-successSymbolColor)}.gux-illustration-status.gux-illustration-status-error svg path:first-child{fill:var(--gse-ui-blankState-mainIllustration-smallIcon-errorBaseColor)}.gux-illustration-status.gux-illustration-status-error svg path:last-child{fill:var(--gse-ui-blankState-mainIllustration-smallIcon-errorSymbolColor)}.gux-illustration-status.gux-illustration-status-info svg path:first-child{fill:var(--gse-ui-blankState-mainIllustration-smallIcon-infoBaseColor)}.gux-illustration-status.gux-illustration-status-info svg path:last-child{fill:var(--gse-ui-blankState-mainIllustration-smallIcon-infoSymbolColor)}.gux-illustration-status.gux-illustration-status-add svg path:first-child{fill:var(--gse-ui-blankState-mainIllustration-smallIcon-operationBaseColor)}.gux-illustration-status.gux-illustration-status-add svg path:last-child{fill:var(--gse-ui-blankState-mainIllustration-smallIcon-operationSymbolColor)}.gux-illustration-status.gux-illustration-status-warning svg path:first-child{fill:var(--gse-ui-blankState-mainIllustration-smallIcon-warningBaseColor)}.gux-illustration-status.gux-illustration-status-warning svg path:last-child{fill:var(--gse-ui-blankState-mainIllustration-smallIcon-warningSymbolColor)}";export{u as gux_illustration_beta}
@@ -1 +1 @@
1
- import{r as e,c as t,h as r,a as s}from"./p-COgvjwDR.js";import{t as i}from"./p-BgR5MFoI.js";const p=class{constructor(r){e(this,r),this.guxactivestepchange=t(this,"guxactivestepchange",7),this.orientation="horizontal",this.disabled=!1,this.stepList=[]}onInternalActiveStepChange(e){e.stopPropagation(),this.activateStep(null==e?void 0:e.detail,this.stepList)}watchActiveStep(e){this.activateStep(e,this.stepList),this.guxactivestepchange.emit(e)}componentWillLoad(){i(this.root)}componentDidLoad(){this.activateStep(this.activeStepId,this.stepList),this.activeStepId&&this.guxactivestepchange.emit(this.activeStepId)}activateStep(e,t){e&&(this.activeStepId=e),null==t||t.forEach((e=>{e.guxSetActive(e.stepId===this.activeStepId)}))}onSlotChange(){const e=this.root.shadowRoot.querySelector("slot");this.stepList=e.assignedElements()}render(){return r("div",{key:"3804c3b96aa06f2e97368342b170688a77d29aa8",class:{"gux-stepper":!0,[`gux-stepper-${this.orientation}`]:!0}},r("slot",{key:"185e5bf23711c304b97427ffdbfb050fb29401c8",onSlotchange:this.onSlotChange.bind(this)}))}get root(){return s(this)}static get watchers(){return{activeStepId:["watchActiveStep"]}}};p.style=":host{display:flex;flex-direction:column}:host .gux-stepper{display:flex;block-size:100%}:host .gux-stepper.gux-stepper-horizontal{flex-direction:row;--stepper-min-inline-size:var(--gse-ui-stepper-step-horizontal-minWidth);--stepper-min-block-size:var(--gse-ui-stepper-step-horizontal-minHeight);--step-gap:var(--gse-ui-stepper-step-gap);--stepper-padding-block:var(--gse-ui-stepper-step-horizontal-gap) 0;--stepper-border-block-start-incomplete:var(\n --gse-ui-stepper-bar-horizontal-height\n )\n var(--gse-ui-stepper-bar-incompleted-foregroundColor) solid;--stepper-border-block-start-completed:var(\n --gse-ui-stepper-bar-horizontal-height\n )\n var(--gse-ui-stepper-icon-completed-selectedForegroundColor) solid;--stepper-border-block-start-error:var(\n --gse-ui-stepper-bar-horizontal-height\n )\n var(--gse-ui-stepper-bar-error-foregroundColor) solid;--stepper-border-block-start-active:var(\n --gse-ui-stepper-bar-horizontal-height\n )\n var(--gse-ui-stepper-bar-active-foregroundColor) solid}:host .gux-stepper.gux-stepper-vertical{flex-direction:column;--step-gap:var(--gse-ui-stepper-step-vertical-gap);--stepper-min-block-size:var(--gse-ui-stepper-step-vertical-minHeight);--stepper-min-inline-size:var(--gse-ui-stepper-step-vertical-minWidth);--stepper-padding-inline:var(--gse-ui-stepper-step-vertical-gap) 0;--stepper-border-inline-start-incomplete:var(\n --gse-ui-stepper-bar-horizontal-height\n )\n var(--gse-ui-stepper-bar-incompleted-foregroundColor) solid;--stepper-border-inline-start-completed:var(\n --gse-ui-stepper-bar-horizontal-height\n )\n var(--gse-ui-stepper-icon-completed-selectedForegroundColor) solid;--stepper-border-inline-start-error:var(\n --gse-ui-stepper-bar-horizontal-height\n )\n var(--gse-ui-stepper-bar-error-foregroundColor) solid;--stepper-border-inline-start-active:var(\n --gse-ui-stepper-bar-horizontal-height\n )\n var(--gse-ui-stepper-bar-active-foregroundColor) solid;--stepper-step-body-margin:var(\n --gse-ui-stepper-step-vertical-body-marginTop\n )}";export{p as gux_stepper_beta}
1
+ import{r as e,c as t,h as r,a as s}from"./p-COgvjwDR.js";import{t as i}from"./p-BesVttmm.js";const p=class{constructor(r){e(this,r),this.guxactivestepchange=t(this,"guxactivestepchange",7),this.orientation="horizontal",this.disabled=!1,this.stepList=[]}onInternalActiveStepChange(e){e.stopPropagation(),this.activateStep(null==e?void 0:e.detail,this.stepList)}watchActiveStep(e){this.activateStep(e,this.stepList),this.guxactivestepchange.emit(e)}componentWillLoad(){i(this.root)}componentDidLoad(){this.activateStep(this.activeStepId,this.stepList),this.activeStepId&&this.guxactivestepchange.emit(this.activeStepId)}activateStep(e,t){e&&(this.activeStepId=e),null==t||t.forEach((e=>{e.guxSetActive(e.stepId===this.activeStepId)}))}onSlotChange(){const e=this.root.shadowRoot.querySelector("slot");this.stepList=e.assignedElements()}render(){return r("div",{key:"3804c3b96aa06f2e97368342b170688a77d29aa8",class:{"gux-stepper":!0,[`gux-stepper-${this.orientation}`]:!0}},r("slot",{key:"185e5bf23711c304b97427ffdbfb050fb29401c8",onSlotchange:this.onSlotChange.bind(this)}))}get root(){return s(this)}static get watchers(){return{activeStepId:["watchActiveStep"]}}};p.style=":host{display:flex;flex-direction:column}:host .gux-stepper{display:flex;block-size:100%}:host .gux-stepper.gux-stepper-horizontal{flex-direction:row;--stepper-min-inline-size:var(--gse-ui-stepper-step-horizontal-minWidth);--stepper-min-block-size:var(--gse-ui-stepper-step-horizontal-minHeight);--step-gap:var(--gse-ui-stepper-step-gap);--stepper-padding-block:var(--gse-ui-stepper-step-horizontal-gap) 0;--stepper-border-block-start-incomplete:var(\n --gse-ui-stepper-bar-horizontal-height\n )\n var(--gse-ui-stepper-bar-incompleted-foregroundColor) solid;--stepper-border-block-start-completed:var(\n --gse-ui-stepper-bar-horizontal-height\n )\n var(--gse-ui-stepper-icon-completed-selectedForegroundColor) solid;--stepper-border-block-start-error:var(\n --gse-ui-stepper-bar-horizontal-height\n )\n var(--gse-ui-stepper-bar-error-foregroundColor) solid;--stepper-border-block-start-active:var(\n --gse-ui-stepper-bar-horizontal-height\n )\n var(--gse-ui-stepper-bar-active-foregroundColor) solid}:host .gux-stepper.gux-stepper-vertical{flex-direction:column;--step-gap:var(--gse-ui-stepper-step-vertical-gap);--stepper-min-block-size:var(--gse-ui-stepper-step-vertical-minHeight);--stepper-min-inline-size:var(--gse-ui-stepper-step-vertical-minWidth);--stepper-padding-inline:var(--gse-ui-stepper-step-vertical-gap) 0;--stepper-border-inline-start-incomplete:var(\n --gse-ui-stepper-bar-horizontal-height\n )\n var(--gse-ui-stepper-bar-incompleted-foregroundColor) solid;--stepper-border-inline-start-completed:var(\n --gse-ui-stepper-bar-horizontal-height\n )\n var(--gse-ui-stepper-icon-completed-selectedForegroundColor) solid;--stepper-border-inline-start-error:var(\n --gse-ui-stepper-bar-horizontal-height\n )\n var(--gse-ui-stepper-bar-error-foregroundColor) solid;--stepper-border-inline-start-active:var(\n --gse-ui-stepper-bar-horizontal-height\n )\n var(--gse-ui-stepper-bar-active-foregroundColor) solid;--stepper-step-body-margin:var(\n --gse-ui-stepper-step-vertical-body-marginTop\n )}";export{p as gux_stepper_beta}
@@ -1 +1 @@
1
- import{r as e,h as t,H as i,a as o}from"./p-COgvjwDR.js";import{t as s}from"./p-BgR5MFoI.js";import{g as n}from"./p-Cd4R0amv.js";import{b as a}from"./p-D2nzPgXC.js";import{t as r}from"./p-DN3YAdAX.js";import{O as u}from"./p-DGRFHar4.js";import{b as l}from"./p-Bg4q97BS.js";import{w as c}from"./p-kLXvN2m9.js";import{h as d}from"./p-wqCHc7t7.js";import{a as b,c as g,o as h,f,s as p}from"./p-C8aV-TzO.js";import{n as m,p as v}from"./p-BebXX5IS.js";import"./p-DCZG2J0G.js";const x=class{constructor(t){e(this,t),this.disabled=!1}onMouseUp(){this.focusParentList()}onMouseOver(){this.focusParentList()}focusParentList(){const e=n("gux-rich-text-editor-list",this.root);e&&null===e.shadowRoot.activeElement&&(this.root.blur(),e.focus({preventScroll:!0}))}componentWillLoad(){s(this.root)}render(){return t(i,{key:"25d4347499b9715747d5c116092ce27c2b589ff4",role:"listitem"},t("button",{key:"7c755ff897f2783787b8f3f08f47ab064735d5e1",type:"button",tabIndex:-1,disabled:this.disabled},t("gux-truncate",{key:"6a1ce0fdd0ad442b75a5f117b3bd397ece3fa8e3","max-lines":1},t("slot",{key:"6b48cb49b70d59d163474c7f8a59ef406b052241"}))))}static get delegatesFocus(){return!0}get root(){return o(this)}};x.style=":host{inline-size:100%;text-align:start;outline:none}:host([disabled]){pointer-events:none}:host([disabled=false]){pointer-events:auto}::slotted(gux-icon){inline-size:var(--gse-ui-menu-option-startIcon-height);block-size:var(--gse-ui-menu-option-startIcon-height);margin-inline-end:var(--gse-ui-menu-option-gap);vertical-align:middle}button{all:unset;box-sizing:border-box;inline-size:100%;min-block-size:var(--gse-ui-menu-option-height);padding:var(--gse-ui-menu-option-padding);font-family:var(--gse-ui-menu-option-label-default-text-fontFamily);font-size:var(--gse-ui-menu-option-label-default-text-fontSize);font-weight:var(--gse-ui-menu-option-label-default-text-fontWeight);line-height:var(--gse-ui-menu-option-label-default-text-lineHeight);color:var(--gse-ui-menu-option-label-foregroundColor);overflow-wrap:break-word;cursor:pointer;outline:none;outline-offset:calc(var(--gse-ui-menu-option-focus-border-width) * -1) !important;background-color:var(--gse-ui-menu-option-default-backgroundColor);border:none}button:focus-visible:not(:disabled){outline:var(--gse-ui-menu-option-focus-border-width) var(--gse-ui-menu-option-focus-border-style) var(--gse-ui-menu-option-focus-border-color);border-radius:var(--gse-semantic-focusOutline-sm-borderRadius)}button:hover:not(:disabled){background:var(--gse-ui-menu-option-hover-backgroundColor)}button:active:not(:disabled){font-family:var(--gse-ui-menu-option-label-active-text-fontFamily);font-size:var(--gse-ui-menu-option-label-active-text-fontSize);font-weight:var(--gse-ui-menu-option-label-active-text-fontWeight);line-height:var(--gse-ui-menu-option-label-active-text-lineHeight);background:var(--gse-ui-menu-option-selected-backgroundColor)}button:disabled{cursor:default;opacity:var(--gse-ui-menu-option-disabled-opacity)}::slotted(*){margin:0}";const k=class{constructor(t){e(this,t),this.isOpen=!1}onClickOutside(){this.isOpen=!1}handleKeyDown(e){const t=e.composedPath().includes(this.listElement),i=e.composedPath().includes(this.button);switch(e.key){case"Escape":t&&(e.preventDefault(),this.isOpen=!1,this.button.focus());break;case"Tab":this.isOpen=!1;break;case"ArrowDown":case"Enter":i&&!this.isOpen&&(e.preventDefault(),this.isOpen=!0,this.focusFirstListItem());break;case"ArrowUp":i&&!this.isOpen&&(e.preventDefault(),this.isOpen=!0,this.focusLastListItem())}}handleKeyup(e){" "===e.key&&e.composedPath().includes(this.button)&&(e.preventDefault(),this.isOpen=!0,this.focusFirstListItem())}focusFirstListItem(){l((()=>{this.listElement.guxFocusFirstItem()}))}focusLastListItem(){l((()=>{this.listElement.guxFocusLastItem()}))}onActionClick(){this.isOpen=!this.isOpen,this.isOpen&&this.focusFirstListItem()}onListClick(e){c("gux-rich-style-list-item",e,(()=>{this.isOpen=!1,this.button.focus()}))}renderTooltip(){return t("gux-tooltip-beta",null,t("div",{slot:"content"},this.i18n("additionalActions")))}async componentWillLoad(){s(this.root),this.i18n=await a(this.root,r)}render(){return t(i,{key:"51d764cc48010d4f4e662926012216626be9bd63"},t("gux-popup",{key:"4c3a2ee673491a5e64699fa3bd5a70a129b477a8",expanded:this.isOpen,offset:4,"exceed-target-width":!0},t("div",{key:"45decb494e5fe6e320748b32e75da62c93230705",slot:"target"},t("gux-button-slot",{key:"768f432b0830c2322a808e4a42c29861cebdec30",accent:"ghost"},t("button",{key:"526c34ea643d55df4325a30a56102a0a5fa734b1",type:"button",onClick:()=>this.onActionClick(),ref:e=>this.button=e,"aria-haspopup":"true","aria-expanded":this.isOpen.toString(),disabled:d(this.root)},t("gux-icon",{key:"e115e20d7a782e1a7ca8b91c468aee62d5af87cc","icon-name":"fa/ellipsis-vertical-regular",decorative:!0,size:"small"}),t("gux-screen-reader-beta",{key:"8bf358640723d267a6fe4eec3bc066aaa3fd49e2"},this.i18n("additionalActions"))),this.renderTooltip())),t("div",{key:"a1787a7cf2391fb167b49bbdea03248f9d04b268",slot:"popup",class:"gux-list-container"},t("gux-rich-text-editor-list",{key:"09aea25cd4063d889aa62239ff08630e49b261b7",onClick:e=>this.onListClick(e),ref:e=>this.listElement=e},t("slot",{key:"8577801422d1ea85f4e3592a2bc1b2a8a726a9bc"})))))}static get delegatesFocus(){return!0}get root(){return o(this)}};(function(e,t,i,o){var s,n=arguments.length,a=n<3?t:null===o?o=Object.getOwnPropertyDescriptor(t,i):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(e,t,i,o);else for(var r=e.length-1;r>=0;r--)(s=e[r])&&(a=(n<3?s(a):n>3?s(t,i,a):s(t,i))||a);n>3&&a&&Object.defineProperty(t,i,a)})([u({triggerEvents:"click"})],k.prototype,"onClickOutside",null),k.style=":host{display:block;max-inline-size:fit-content;white-space:normal}button{block-size:var(--gse-ui-button-default-height);padding:var(--gse-ui-button-default-paddingIconOnly);border-radius:var(--gse-ui-button-borderRadius)}.gux-list-container{inline-size:var(--gse-ui-contextMenu-menu-width);max-block-size:var(--gse-ui-contextMenu-menu-maxHeight);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)}";const y=class{constructor(t){e(this,t),this.isShown=!1}onKeydown(e){switch(e.key){case"Enter":e.stopPropagation(),this.focusOnSubList();break;case"ArrowUp":this.root!==e.target&&(e.preventDefault(),e.stopPropagation(),v(this.root,["gux-rich-style-list-item"]));break;case"ArrowDown":this.root!==e.target&&(e.preventDefault(),e.stopPropagation(),m(this.root,["gux-rich-style-list-item"]));break;case"ArrowRight":e.stopPropagation(),this.show(),this.focusOnSubList();break;case"ArrowLeft":case"Escape":this.root!==e.target&&e.stopPropagation(),this.buttonElement.focus()}}onMouseEnter(){this.show()}onMouseLeave(){this.hide()}onClick(e){"GUX-RICH-STYLE-LIST-ITEM"!==e.target.nodeName||this.hide()}onFocusIn(){this.show()}onFocusOut(){this.hide()}componentDidLoad(){this.isShown&&this.runUpdatePosition()}componentDidUpdate(){this.isShown?this.runUpdatePosition():this.cleanupUpdatePosition&&this.cleanupUpdatePosition()}disconnectedCallback(){this.cleanupUpdatePosition&&this.cleanupUpdatePosition()}focusOnSubList(){this.subListContentElement.contains(document.activeElement)||Array.from(this.root.children)[0].focus()}show(){this.isShown=!0}hide(){this.isShown&&(this.isShown=!1)}runUpdatePosition(){this.cleanupUpdatePosition&&this.cleanupUpdatePosition(),this.root.isConnected?this.cleanupUpdatePosition=b(this.buttonElement,this.subListElement,(()=>this.updatePosition()),{ancestorScroll:!0,elementResize:!0,animationFrame:!0,ancestorResize:!0}):this.disconnectedCallback()}updatePosition(){this.subListElement&&g(this.buttonElement,this.subListElement,{placement:"right-start",strategy:"fixed",middleware:[h(4),f(),p()]}).then((({x:e,y:t})=>{Object.assign(this.subListElement.style,{left:`${e}px`,top:`${t}px`})}))}render(){return t(i,{key:"e799039c1f54c7fb084fb5c2b093803328acf969"},t("button",{key:"b95de16ee62bded43a42ce6c4aee285c6005f8c2",type:"button",class:{"gux-sub-list-button":!0,"gux-sub-list-button-active":this.isShown},tabIndex:-1,role:"listitem",ref:e=>this.buttonElement=e,"aria-haspopup":"true","aria-expanded":this.isShown.toString()},t("span",{key:"b464bb0cfc33ee68c73bd1e8893c3ad418c654db",class:"gux-sub-list-button-text"},this.label),t("gux-icon",{key:"b387c3e8887f33740b4497821bc473b40803e5f7",size:"small","icon-name":"custom/chevron-right-small-regular",decorative:!0})),t("div",{key:"12bac188af6f749b9b011e856974e70ee1a11b2f",ref:e=>this.subListElement=e,class:{"gux-sub-list-wrapper":!0,"gux-shown":this.isShown}},t("div",{key:"ccc252da7fab47c5ef57cbb86ecf7c1e4b1deb40",role:"list",class:"gux-sub-list-content",ref:e=>this.subListContentElement=e},t("slot",{key:"1ee391f65c287b3e4548918b716217c950b7cd4d"}))))}static get delegatesFocus(){return!0}get root(){return o(this)}};y.style=":host{inline-size:100%;text-align:start;outline:none}:host([disabled]){pointer-events:none}:host([disabled=false]){pointer-events:auto}::slotted(gux-icon){inline-size:var(--gse-ui-menu-option-startIcon-height);block-size:var(--gse-ui-menu-option-startIcon-height);margin-inline-end:var(--gse-ui-menu-option-gap);vertical-align:middle}button{all:unset;box-sizing:border-box;inline-size:100%;min-block-size:var(--gse-ui-menu-option-height);padding:var(--gse-ui-menu-option-padding);font-family:var(--gse-ui-menu-option-label-default-text-fontFamily);font-size:var(--gse-ui-menu-option-label-default-text-fontSize);font-weight:var(--gse-ui-menu-option-label-default-text-fontWeight);line-height:var(--gse-ui-menu-option-label-default-text-lineHeight);color:var(--gse-ui-menu-option-label-foregroundColor);overflow-wrap:break-word;cursor:pointer;outline:none;outline-offset:calc(var(--gse-ui-menu-option-focus-border-width) * -1) !important;background-color:var(--gse-ui-menu-option-default-backgroundColor);border:none}button:focus-visible:not(:disabled){outline:var(--gse-ui-menu-option-focus-border-width) var(--gse-ui-menu-option-focus-border-style) var(--gse-ui-menu-option-focus-border-color);border-radius:var(--gse-semantic-focusOutline-sm-borderRadius)}button:hover:not(:disabled){background:var(--gse-ui-menu-option-hover-backgroundColor)}button:active:not(:disabled){font-family:var(--gse-ui-menu-option-label-active-text-fontFamily);font-size:var(--gse-ui-menu-option-label-active-text-fontSize);font-weight:var(--gse-ui-menu-option-label-active-text-fontWeight);line-height:var(--gse-ui-menu-option-label-active-text-lineHeight);background:var(--gse-ui-menu-option-selected-backgroundColor)}button:disabled{cursor:default;opacity:var(--gse-ui-menu-option-disabled-opacity)}::slotted(*){margin:0}button.gux-sub-list-button{display:flex;flex-direction:row;justify-content:space-between}button gux-icon{align-self:center;color:var(--gse-ui-menu-option-parentIcon-selected-foregroundColor)}.gux-sub-list-wrapper{position:fixed;inset-block-start:0;inset-inline-start:0;visibility:hidden;flex-direction:column;inline-size:130px;padding:var(--gse-ui-menu-padding);margin:0;background-color:var(--gse-ui-menu-backgroundColor);border:none;border-radius:var(--gse-ui-menu-borderRadius);box-shadow:var(--gse-ui-menu-boxShadow)}.gux-sub-list-wrapper.gux-shown{visibility:visible}";export{x as gux_rich_style_list_item,k as gux_rich_text_editor_menu,y as gux_rich_text_editor_sub_list}
1
+ import{r as e,h as t,H as i,a as o}from"./p-COgvjwDR.js";import{t as s}from"./p-BesVttmm.js";import{g as n}from"./p-Cd4R0amv.js";import{b as a}from"./p-D2nzPgXC.js";import{t as r}from"./p-DN3YAdAX.js";import{O as u}from"./p-DGRFHar4.js";import{b as l}from"./p-Bg4q97BS.js";import{w as c}from"./p-kLXvN2m9.js";import{h as d}from"./p-wqCHc7t7.js";import{a as b,c as g,o as h,f,s as p}from"./p-C8aV-TzO.js";import{n as m,p as v}from"./p-BebXX5IS.js";import"./p-DCZG2J0G.js";const x=class{constructor(t){e(this,t),this.disabled=!1}onMouseUp(){this.focusParentList()}onMouseOver(){this.focusParentList()}focusParentList(){const e=n("gux-rich-text-editor-list",this.root);e&&null===e.shadowRoot.activeElement&&(this.root.blur(),e.focus({preventScroll:!0}))}componentWillLoad(){s(this.root)}render(){return t(i,{key:"25d4347499b9715747d5c116092ce27c2b589ff4",role:"listitem"},t("button",{key:"7c755ff897f2783787b8f3f08f47ab064735d5e1",type:"button",tabIndex:-1,disabled:this.disabled},t("gux-truncate",{key:"6a1ce0fdd0ad442b75a5f117b3bd397ece3fa8e3","max-lines":1},t("slot",{key:"6b48cb49b70d59d163474c7f8a59ef406b052241"}))))}static get delegatesFocus(){return!0}get root(){return o(this)}};x.style=":host{inline-size:100%;text-align:start;outline:none}:host([disabled]){pointer-events:none}:host([disabled=false]){pointer-events:auto}::slotted(gux-icon){inline-size:var(--gse-ui-menu-option-startIcon-height);block-size:var(--gse-ui-menu-option-startIcon-height);margin-inline-end:var(--gse-ui-menu-option-gap);vertical-align:middle}button{all:unset;box-sizing:border-box;inline-size:100%;min-block-size:var(--gse-ui-menu-option-height);padding:var(--gse-ui-menu-option-padding);font-family:var(--gse-ui-menu-option-label-default-text-fontFamily);font-size:var(--gse-ui-menu-option-label-default-text-fontSize);font-weight:var(--gse-ui-menu-option-label-default-text-fontWeight);line-height:var(--gse-ui-menu-option-label-default-text-lineHeight);color:var(--gse-ui-menu-option-label-foregroundColor);overflow-wrap:break-word;cursor:pointer;outline:none;outline-offset:calc(var(--gse-ui-menu-option-focus-border-width) * -1) !important;background-color:var(--gse-ui-menu-option-default-backgroundColor);border:none}button:focus-visible:not(:disabled){outline:var(--gse-ui-menu-option-focus-border-width) var(--gse-ui-menu-option-focus-border-style) var(--gse-ui-menu-option-focus-border-color);border-radius:var(--gse-semantic-focusOutline-sm-borderRadius)}button:hover:not(:disabled){background:var(--gse-ui-menu-option-hover-backgroundColor)}button:active:not(:disabled){font-family:var(--gse-ui-menu-option-label-active-text-fontFamily);font-size:var(--gse-ui-menu-option-label-active-text-fontSize);font-weight:var(--gse-ui-menu-option-label-active-text-fontWeight);line-height:var(--gse-ui-menu-option-label-active-text-lineHeight);background:var(--gse-ui-menu-option-selected-backgroundColor)}button:disabled{cursor:default;opacity:var(--gse-ui-menu-option-disabled-opacity)}::slotted(*){margin:0}";const k=class{constructor(t){e(this,t),this.isOpen=!1}onClickOutside(){this.isOpen=!1}handleKeyDown(e){const t=e.composedPath().includes(this.listElement),i=e.composedPath().includes(this.button);switch(e.key){case"Escape":t&&(e.preventDefault(),this.isOpen=!1,this.button.focus());break;case"Tab":this.isOpen=!1;break;case"ArrowDown":case"Enter":i&&!this.isOpen&&(e.preventDefault(),this.isOpen=!0,this.focusFirstListItem());break;case"ArrowUp":i&&!this.isOpen&&(e.preventDefault(),this.isOpen=!0,this.focusLastListItem())}}handleKeyup(e){" "===e.key&&e.composedPath().includes(this.button)&&(e.preventDefault(),this.isOpen=!0,this.focusFirstListItem())}focusFirstListItem(){l((()=>{this.listElement.guxFocusFirstItem()}))}focusLastListItem(){l((()=>{this.listElement.guxFocusLastItem()}))}onActionClick(){this.isOpen=!this.isOpen,this.isOpen&&this.focusFirstListItem()}onListClick(e){c("gux-rich-style-list-item",e,(()=>{this.isOpen=!1,this.button.focus()}))}renderTooltip(){return t("gux-tooltip-beta",null,t("div",{slot:"content"},this.i18n("additionalActions")))}async componentWillLoad(){s(this.root),this.i18n=await a(this.root,r)}render(){return t(i,{key:"51d764cc48010d4f4e662926012216626be9bd63"},t("gux-popup",{key:"4c3a2ee673491a5e64699fa3bd5a70a129b477a8",expanded:this.isOpen,offset:4,"exceed-target-width":!0},t("div",{key:"45decb494e5fe6e320748b32e75da62c93230705",slot:"target"},t("gux-button-slot",{key:"768f432b0830c2322a808e4a42c29861cebdec30",accent:"ghost"},t("button",{key:"526c34ea643d55df4325a30a56102a0a5fa734b1",type:"button",onClick:()=>this.onActionClick(),ref:e=>this.button=e,"aria-haspopup":"true","aria-expanded":this.isOpen.toString(),disabled:d(this.root)},t("gux-icon",{key:"e115e20d7a782e1a7ca8b91c468aee62d5af87cc","icon-name":"fa/ellipsis-vertical-regular",decorative:!0,size:"small"}),t("gux-screen-reader-beta",{key:"8bf358640723d267a6fe4eec3bc066aaa3fd49e2"},this.i18n("additionalActions"))),this.renderTooltip())),t("div",{key:"a1787a7cf2391fb167b49bbdea03248f9d04b268",slot:"popup",class:"gux-list-container"},t("gux-rich-text-editor-list",{key:"09aea25cd4063d889aa62239ff08630e49b261b7",onClick:e=>this.onListClick(e),ref:e=>this.listElement=e},t("slot",{key:"8577801422d1ea85f4e3592a2bc1b2a8a726a9bc"})))))}static get delegatesFocus(){return!0}get root(){return o(this)}};(function(e,t,i,o){var s,n=arguments.length,a=n<3?t:null===o?o=Object.getOwnPropertyDescriptor(t,i):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(e,t,i,o);else for(var r=e.length-1;r>=0;r--)(s=e[r])&&(a=(n<3?s(a):n>3?s(t,i,a):s(t,i))||a);n>3&&a&&Object.defineProperty(t,i,a)})([u({triggerEvents:"click"})],k.prototype,"onClickOutside",null),k.style=":host{display:block;max-inline-size:fit-content;white-space:normal}button{block-size:var(--gse-ui-button-default-height);padding:var(--gse-ui-button-default-paddingIconOnly);border-radius:var(--gse-ui-button-borderRadius)}.gux-list-container{inline-size:var(--gse-ui-contextMenu-menu-width);max-block-size:var(--gse-ui-contextMenu-menu-maxHeight);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)}";const y=class{constructor(t){e(this,t),this.isShown=!1}onKeydown(e){switch(e.key){case"Enter":e.stopPropagation(),this.focusOnSubList();break;case"ArrowUp":this.root!==e.target&&(e.preventDefault(),e.stopPropagation(),v(this.root,["gux-rich-style-list-item"]));break;case"ArrowDown":this.root!==e.target&&(e.preventDefault(),e.stopPropagation(),m(this.root,["gux-rich-style-list-item"]));break;case"ArrowRight":e.stopPropagation(),this.show(),this.focusOnSubList();break;case"ArrowLeft":case"Escape":this.root!==e.target&&e.stopPropagation(),this.buttonElement.focus()}}onMouseEnter(){this.show()}onMouseLeave(){this.hide()}onClick(e){"GUX-RICH-STYLE-LIST-ITEM"!==e.target.nodeName||this.hide()}onFocusIn(){this.show()}onFocusOut(){this.hide()}componentDidLoad(){this.isShown&&this.runUpdatePosition()}componentDidUpdate(){this.isShown?this.runUpdatePosition():this.cleanupUpdatePosition&&this.cleanupUpdatePosition()}disconnectedCallback(){this.cleanupUpdatePosition&&this.cleanupUpdatePosition()}focusOnSubList(){this.subListContentElement.contains(document.activeElement)||Array.from(this.root.children)[0].focus()}show(){this.isShown=!0}hide(){this.isShown&&(this.isShown=!1)}runUpdatePosition(){this.cleanupUpdatePosition&&this.cleanupUpdatePosition(),this.root.isConnected?this.cleanupUpdatePosition=b(this.buttonElement,this.subListElement,(()=>this.updatePosition()),{ancestorScroll:!0,elementResize:!0,animationFrame:!0,ancestorResize:!0}):this.disconnectedCallback()}updatePosition(){this.subListElement&&g(this.buttonElement,this.subListElement,{placement:"right-start",strategy:"fixed",middleware:[h(4),f(),p()]}).then((({x:e,y:t})=>{Object.assign(this.subListElement.style,{left:`${e}px`,top:`${t}px`})}))}render(){return t(i,{key:"e799039c1f54c7fb084fb5c2b093803328acf969"},t("button",{key:"b95de16ee62bded43a42ce6c4aee285c6005f8c2",type:"button",class:{"gux-sub-list-button":!0,"gux-sub-list-button-active":this.isShown},tabIndex:-1,role:"listitem",ref:e=>this.buttonElement=e,"aria-haspopup":"true","aria-expanded":this.isShown.toString()},t("span",{key:"b464bb0cfc33ee68c73bd1e8893c3ad418c654db",class:"gux-sub-list-button-text"},this.label),t("gux-icon",{key:"b387c3e8887f33740b4497821bc473b40803e5f7",size:"small","icon-name":"custom/chevron-right-small-regular",decorative:!0})),t("div",{key:"12bac188af6f749b9b011e856974e70ee1a11b2f",ref:e=>this.subListElement=e,class:{"gux-sub-list-wrapper":!0,"gux-shown":this.isShown}},t("div",{key:"ccc252da7fab47c5ef57cbb86ecf7c1e4b1deb40",role:"list",class:"gux-sub-list-content",ref:e=>this.subListContentElement=e},t("slot",{key:"1ee391f65c287b3e4548918b716217c950b7cd4d"}))))}static get delegatesFocus(){return!0}get root(){return o(this)}};y.style=":host{inline-size:100%;text-align:start;outline:none}:host([disabled]){pointer-events:none}:host([disabled=false]){pointer-events:auto}::slotted(gux-icon){inline-size:var(--gse-ui-menu-option-startIcon-height);block-size:var(--gse-ui-menu-option-startIcon-height);margin-inline-end:var(--gse-ui-menu-option-gap);vertical-align:middle}button{all:unset;box-sizing:border-box;inline-size:100%;min-block-size:var(--gse-ui-menu-option-height);padding:var(--gse-ui-menu-option-padding);font-family:var(--gse-ui-menu-option-label-default-text-fontFamily);font-size:var(--gse-ui-menu-option-label-default-text-fontSize);font-weight:var(--gse-ui-menu-option-label-default-text-fontWeight);line-height:var(--gse-ui-menu-option-label-default-text-lineHeight);color:var(--gse-ui-menu-option-label-foregroundColor);overflow-wrap:break-word;cursor:pointer;outline:none;outline-offset:calc(var(--gse-ui-menu-option-focus-border-width) * -1) !important;background-color:var(--gse-ui-menu-option-default-backgroundColor);border:none}button:focus-visible:not(:disabled){outline:var(--gse-ui-menu-option-focus-border-width) var(--gse-ui-menu-option-focus-border-style) var(--gse-ui-menu-option-focus-border-color);border-radius:var(--gse-semantic-focusOutline-sm-borderRadius)}button:hover:not(:disabled){background:var(--gse-ui-menu-option-hover-backgroundColor)}button:active:not(:disabled){font-family:var(--gse-ui-menu-option-label-active-text-fontFamily);font-size:var(--gse-ui-menu-option-label-active-text-fontSize);font-weight:var(--gse-ui-menu-option-label-active-text-fontWeight);line-height:var(--gse-ui-menu-option-label-active-text-lineHeight);background:var(--gse-ui-menu-option-selected-backgroundColor)}button:disabled{cursor:default;opacity:var(--gse-ui-menu-option-disabled-opacity)}::slotted(*){margin:0}button.gux-sub-list-button{display:flex;flex-direction:row;justify-content:space-between}button gux-icon{align-self:center;color:var(--gse-ui-menu-option-parentIcon-selected-foregroundColor)}.gux-sub-list-wrapper{position:fixed;inset-block-start:0;inset-inline-start:0;visibility:hidden;flex-direction:column;inline-size:130px;padding:var(--gse-ui-menu-padding);margin:0;background-color:var(--gse-ui-menu-backgroundColor);border:none;border-radius:var(--gse-ui-menu-borderRadius);box-shadow:var(--gse-ui-menu-boxShadow)}.gux-sub-list-wrapper.gux-shown{visibility:visible}";export{x as gux_rich_style_list_item,k as gux_rich_text_editor_menu,y as gux_rich_text_editor_sub_list}
@@ -1 +1 @@
1
- import{r as e,h as o,a as r}from"./p-COgvjwDR.js";import{O as i}from"./p-vOC0-qDq.js";import{h as t}from"./p-qzV3vtOw.js";import{b as l}from"./p-D2nzPgXC.js";import{a,G as s}from"./p-Dry1Kkrx.js";import{G as f,a as n,b as d}from"./p-DiDRSPEJ.js";import{g as u}from"./p-MAoEg4ig.js";import{t as h}from"./p-BgR5MFoI.js";import"./p-Cd4R0amv.js";var g={required:"Required"};const p=class{constructor(o){e(this,o),this.required=!1,this.indicatorMark="required",this.hasGroupError=!1,this.hasGroupHelp=!1,this.hasGroupLabelInfo=!1,this.disabled=!1}watchGroupError(e){const o=this.root.querySelectorAll("gux-form-field-radio");o&&o.forEach((o=>{o.hasGroupError=e}))}watchDisabled(){this.setDisabledRadio()}onMutation(){this.groupLabelInfo=this.root.querySelector("[slot=group-label-info]"),this.hasGroupError=t(this.root,"group-error"),this.hasGroupHelp=t(this.root,"group-help")}handleKeyup(e){var o,r;switch(e.key){case"Tab":this.root.matches(":focus-within")&&(null===(o=this.groupLabelInfo)||void 0===o||o.showTooltip(),this.hideTooltipTimeout=setTimeout((()=>{var e;null===(e=this.groupLabelInfo)||void 0===e||e.hideTooltip()}),6e3));break;case"Shift":break;default:this.root.matches(":focus-within")&&(null===(r=this.groupLabelInfo)||void 0===r||r.hideTooltip(),clearTimeout(this.hideTooltipTimeout))}}onFocusout(){var e;null===(e=this.groupLabelInfo)||void 0===e||e.hideTooltip(),clearTimeout(this.hideTooltipTimeout)}async componentWillLoad(){this.getI18nValue=await l(this.root,g),this.groupLabelInfo=this.root.querySelector("[slot=group-label-info]"),this.hasGroupError=t(this.root,"group-error"),this.hasGroupHelp=t(this.root,"group-help"),this.hasGroupLabelInfo=t(this.root,"group-label-info"),this.setLabel(),this.setDisabledRadio(),h(this.root)}disconnectedCallback(){this.disabledObserver&&this.disabledObserver.disconnect()}setDisabledRadio(){const e=this.root.querySelectorAll("gux-form-field-radio");e&&e.forEach((e=>{e.hasGroupDisabled=this.disabled}))}renderText(e,o=!1){if(o)return" "+e}render(){var e;return o(d,{key:"05c64757b4360c2cbde636f1b9c56bfa87bb1ed1",labelPosition:"above",disabled:this.disabled},o(n,{key:"ec3b592bb9814a3991941107459c486500f32ba1"},null===(e=this.label)||void 0===e?void 0:e.textContent,this.renderText(this.getI18nValue("required"),this.required),this.renderText(u(this.root,"group-error"),this.hasGroupError),this.renderText(u(this.root,"group-help"),this.hasGroupHelp),this.renderText(u(this.root,"group-label-info"),this.hasGroupLabelInfo)),o(f,{key:"e633013670cd3b1d623ffc5af52272d66b88a5b9",position:"above",required:this.required},o("slot",{key:"4c44be52fa7bd735bfcedb8b32034ab0596e5667",name:"group-label",onSlotchange:()=>this.setLabel()}),o("gux-form-field-label-indicator",{key:"5d23a198f2cc49a64d9e09da30a360861254e465",variant:this.indicatorMark,required:this.required}),o("slot",{key:"b1ff651a76c99d7347903d4cfb4ebeed0028516d",name:"group-label-info"})),o("slot",{key:"8bf311b110c4d56f6127ed9faec116e05b129918"}),o(s,{key:"cc188359f1812cfbd4eff1e2ce5cbaa3c843ba77",show:this.hasGroupError},o("slot",{key:"28b1c773eefb6e64a149aa656d63a5b8395dcf40",name:"group-error"})),o(a,{key:"c27f1d0a442422c08018734031295f7afd35f345",show:!this.hasGroupError&&this.hasGroupHelp},o("slot",{key:"20eca05d8843a71929c0d96af015f83bfd596e40",name:"group-help"})))}setLabel(){this.label=this.root.querySelector('label[slot="group-label"]')}get root(){return r(this)}static get watchers(){return{hasGroupError:["watchGroupError"],disabled:["watchDisabled"]}}};(function(e,o,r,i){var t,l=arguments.length,a=l<3?o:null===i?i=Object.getOwnPropertyDescriptor(o,r):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(e,o,r,i);else for(var s=e.length-1;s>=0;s--)(t=e[s])&&(a=(l<3?t(a):l>3?t(o,r,a):t(o,r))||a);l>3&&a&&Object.defineProperty(o,r,a)})([i({childList:!0,subtree:!0})],p.prototype,"onMutation",null),p.style=".gux-form-field-fieldset-container{display:flex;min-inline-size:0;padding:0;margin:0;border:none}.gux-form-field-fieldset-container.gux-beside{flex-direction:row}.gux-form-field-fieldset-container.gux-above{flex-direction:column}.gux-form-field-error{display:none;flex-direction:row;flex-wrap:nowrap;gap:var(--gse-ui-formControl-helper-gap);place-content:stretch flex-start;padding:var(--gse-ui-formControl-helper-errorPadding);font-family:var(--gse-ui-formControl-helper-helperText-fontFamily);font-size:var(--gse-ui-formControl-helper-helperText-fontSize);line-height:var(--gse-ui-formControl-helper-helperText-lineHeight);color:var(--gse-ui-formControl-helper-errorColor)}.gux-form-field-error.gux-show{display:flex}.gux-form-field-error gux-icon{flex:0 0 auto;order:0;color:var(--gse-ui-formControl-helper-errorColor)}.gux-form-field-error .gux-message{flex:0 1 auto;align-self:auto;order:0}.gux-form-field-help{display:none;flex-direction:row;flex-wrap:nowrap;place-content:stretch flex-start;align-items:flex-start;justify-content:flex-start;padding-block-start:var(--gse-ui-formControl-formField-gap);font-family:var(--gse-ui-formControl-helper-helperText-fontFamily);font-size:var(--gse-ui-formControl-helper-helperText-fontSize);line-height:var(--gse-ui-formControl-helper-helperText-lineHeight);color:var(--gse-ui-formControl-helper-defaultColor)}.gux-form-field-help.gux-show{display:flex}.gux-form-field-help .gux-message{flex:0 1 auto;align-self:none;order:0}.gux-form-field-error{display:none;flex-direction:row;flex-wrap:nowrap;gap:var(--gse-ui-formControl-helper-gap);place-content:stretch flex-start;padding:var(--gse-ui-formControl-helper-errorPadding);font-family:var(--gse-ui-formControl-helper-helperText-fontFamily);font-size:var(--gse-ui-formControl-helper-helperText-fontSize);line-height:var(--gse-ui-formControl-helper-helperText-lineHeight);color:var(--gse-ui-formControl-helper-errorColor)}.gux-form-field-error.gux-show{display:flex}.gux-form-field-error gux-icon{flex:0 0 auto;order:0;color:var(--gse-ui-formControl-helper-errorColor)}.gux-form-field-error .gux-message{flex:0 1 auto;align-self:auto;order:0}.gux-form-field-help{display:none;flex-direction:row;flex-wrap:nowrap;place-content:stretch flex-start;align-items:flex-start;justify-content:flex-start;padding-block-start:var(--gse-ui-formControl-formField-gap);font-family:var(--gse-ui-formControl-helper-helperText-fontFamily);font-size:var(--gse-ui-formControl-helper-helperText-fontSize);line-height:var(--gse-ui-formControl-helper-helperText-lineHeight);color:var(--gse-ui-formControl-helper-defaultColor)}.gux-form-field-help.gux-show{display:flex}.gux-form-field-help .gux-message{flex:0 1 auto;align-self:none;order:0}.gux-form-field-visual-label{display:inline-flex;flex:1 0 auto}.gux-form-field-visual-label ::slotted(label){min-inline-size:0}.gux-form-field-visual-label ::slotted(gux-label-info-beta){padding-inline-start:var(--gse-ui-formControl-formField-gap)}.gux-form-field-visual-label.gux-beside{position:relative;inset-block-start:var(--gse-ui-formControl-input-top);inline-size:fit-content;min-inline-size:var(--gse-ui-formControl-input-textfield-minWidth);max-inline-size:fit-content;margin-inline-end:var(--gse-ui-formControl-group-gapItems)}.gux-form-field-visual-label.gux-above{padding-block-end:var(--gse-ui-formControl-formField-gap)}.gux-form-field-visual-label.gux-screenreader{display:none}.gux-form-field-screenreader-label{position:absolute;top:auto;left:-10000px;width:1px;height:1px;overflow:hidden}:host{display:block}::slotted(gux-form-field-radio){padding-block-start:var(--gse-ui-formControl-group-gapItems)}::slotted(gux-form-field-radio:first-of-type){padding-block-start:0}:host([disabled]) ::slotted(label){opacity:var(--gse-ui-formControl-input-disabled-opacity)}::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)}";export{p as gux_form_field_radio_group_beta}
1
+ import{r as e,h as o,a as r}from"./p-COgvjwDR.js";import{O as i}from"./p-vOC0-qDq.js";import{h as t}from"./p-qzV3vtOw.js";import{b as l}from"./p-D2nzPgXC.js";import{a,G as s}from"./p-Dry1Kkrx.js";import{G as f,a as n,b as d}from"./p-DiDRSPEJ.js";import{g as u}from"./p-MAoEg4ig.js";import{t as h}from"./p-BesVttmm.js";import"./p-Cd4R0amv.js";var g={required:"Required"};const p=class{constructor(o){e(this,o),this.required=!1,this.indicatorMark="required",this.hasGroupError=!1,this.hasGroupHelp=!1,this.hasGroupLabelInfo=!1,this.disabled=!1}watchGroupError(e){const o=this.root.querySelectorAll("gux-form-field-radio");o&&o.forEach((o=>{o.hasGroupError=e}))}watchDisabled(){this.setDisabledRadio()}onMutation(){this.groupLabelInfo=this.root.querySelector("[slot=group-label-info]"),this.hasGroupError=t(this.root,"group-error"),this.hasGroupHelp=t(this.root,"group-help")}handleKeyup(e){var o,r;switch(e.key){case"Tab":this.root.matches(":focus-within")&&(null===(o=this.groupLabelInfo)||void 0===o||o.showTooltip(),this.hideTooltipTimeout=setTimeout((()=>{var e;null===(e=this.groupLabelInfo)||void 0===e||e.hideTooltip()}),6e3));break;case"Shift":break;default:this.root.matches(":focus-within")&&(null===(r=this.groupLabelInfo)||void 0===r||r.hideTooltip(),clearTimeout(this.hideTooltipTimeout))}}onFocusout(){var e;null===(e=this.groupLabelInfo)||void 0===e||e.hideTooltip(),clearTimeout(this.hideTooltipTimeout)}async componentWillLoad(){this.getI18nValue=await l(this.root,g),this.groupLabelInfo=this.root.querySelector("[slot=group-label-info]"),this.hasGroupError=t(this.root,"group-error"),this.hasGroupHelp=t(this.root,"group-help"),this.hasGroupLabelInfo=t(this.root,"group-label-info"),this.setLabel(),this.setDisabledRadio(),h(this.root)}disconnectedCallback(){this.disabledObserver&&this.disabledObserver.disconnect()}setDisabledRadio(){const e=this.root.querySelectorAll("gux-form-field-radio");e&&e.forEach((e=>{e.hasGroupDisabled=this.disabled}))}renderText(e,o=!1){if(o)return" "+e}render(){var e;return o(d,{key:"05c64757b4360c2cbde636f1b9c56bfa87bb1ed1",labelPosition:"above",disabled:this.disabled},o(n,{key:"ec3b592bb9814a3991941107459c486500f32ba1"},null===(e=this.label)||void 0===e?void 0:e.textContent,this.renderText(this.getI18nValue("required"),this.required),this.renderText(u(this.root,"group-error"),this.hasGroupError),this.renderText(u(this.root,"group-help"),this.hasGroupHelp),this.renderText(u(this.root,"group-label-info"),this.hasGroupLabelInfo)),o(f,{key:"e633013670cd3b1d623ffc5af52272d66b88a5b9",position:"above",required:this.required},o("slot",{key:"4c44be52fa7bd735bfcedb8b32034ab0596e5667",name:"group-label",onSlotchange:()=>this.setLabel()}),o("gux-form-field-label-indicator",{key:"5d23a198f2cc49a64d9e09da30a360861254e465",variant:this.indicatorMark,required:this.required}),o("slot",{key:"b1ff651a76c99d7347903d4cfb4ebeed0028516d",name:"group-label-info"})),o("slot",{key:"8bf311b110c4d56f6127ed9faec116e05b129918"}),o(s,{key:"cc188359f1812cfbd4eff1e2ce5cbaa3c843ba77",show:this.hasGroupError},o("slot",{key:"28b1c773eefb6e64a149aa656d63a5b8395dcf40",name:"group-error"})),o(a,{key:"c27f1d0a442422c08018734031295f7afd35f345",show:!this.hasGroupError&&this.hasGroupHelp},o("slot",{key:"20eca05d8843a71929c0d96af015f83bfd596e40",name:"group-help"})))}setLabel(){this.label=this.root.querySelector('label[slot="group-label"]')}get root(){return r(this)}static get watchers(){return{hasGroupError:["watchGroupError"],disabled:["watchDisabled"]}}};(function(e,o,r,i){var t,l=arguments.length,a=l<3?o:null===i?i=Object.getOwnPropertyDescriptor(o,r):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(e,o,r,i);else for(var s=e.length-1;s>=0;s--)(t=e[s])&&(a=(l<3?t(a):l>3?t(o,r,a):t(o,r))||a);l>3&&a&&Object.defineProperty(o,r,a)})([i({childList:!0,subtree:!0})],p.prototype,"onMutation",null),p.style=".gux-form-field-fieldset-container{display:flex;min-inline-size:0;padding:0;margin:0;border:none}.gux-form-field-fieldset-container.gux-beside{flex-direction:row}.gux-form-field-fieldset-container.gux-above{flex-direction:column}.gux-form-field-error{display:none;flex-direction:row;flex-wrap:nowrap;gap:var(--gse-ui-formControl-helper-gap);place-content:stretch flex-start;padding:var(--gse-ui-formControl-helper-errorPadding);font-family:var(--gse-ui-formControl-helper-helperText-fontFamily);font-size:var(--gse-ui-formControl-helper-helperText-fontSize);line-height:var(--gse-ui-formControl-helper-helperText-lineHeight);color:var(--gse-ui-formControl-helper-errorColor)}.gux-form-field-error.gux-show{display:flex}.gux-form-field-error gux-icon{flex:0 0 auto;order:0;color:var(--gse-ui-formControl-helper-errorColor)}.gux-form-field-error .gux-message{flex:0 1 auto;align-self:auto;order:0}.gux-form-field-help{display:none;flex-direction:row;flex-wrap:nowrap;place-content:stretch flex-start;align-items:flex-start;justify-content:flex-start;padding-block-start:var(--gse-ui-formControl-formField-gap);font-family:var(--gse-ui-formControl-helper-helperText-fontFamily);font-size:var(--gse-ui-formControl-helper-helperText-fontSize);line-height:var(--gse-ui-formControl-helper-helperText-lineHeight);color:var(--gse-ui-formControl-helper-defaultColor)}.gux-form-field-help.gux-show{display:flex}.gux-form-field-help .gux-message{flex:0 1 auto;align-self:none;order:0}.gux-form-field-error{display:none;flex-direction:row;flex-wrap:nowrap;gap:var(--gse-ui-formControl-helper-gap);place-content:stretch flex-start;padding:var(--gse-ui-formControl-helper-errorPadding);font-family:var(--gse-ui-formControl-helper-helperText-fontFamily);font-size:var(--gse-ui-formControl-helper-helperText-fontSize);line-height:var(--gse-ui-formControl-helper-helperText-lineHeight);color:var(--gse-ui-formControl-helper-errorColor)}.gux-form-field-error.gux-show{display:flex}.gux-form-field-error gux-icon{flex:0 0 auto;order:0;color:var(--gse-ui-formControl-helper-errorColor)}.gux-form-field-error .gux-message{flex:0 1 auto;align-self:auto;order:0}.gux-form-field-help{display:none;flex-direction:row;flex-wrap:nowrap;place-content:stretch flex-start;align-items:flex-start;justify-content:flex-start;padding-block-start:var(--gse-ui-formControl-formField-gap);font-family:var(--gse-ui-formControl-helper-helperText-fontFamily);font-size:var(--gse-ui-formControl-helper-helperText-fontSize);line-height:var(--gse-ui-formControl-helper-helperText-lineHeight);color:var(--gse-ui-formControl-helper-defaultColor)}.gux-form-field-help.gux-show{display:flex}.gux-form-field-help .gux-message{flex:0 1 auto;align-self:none;order:0}.gux-form-field-visual-label{display:inline-flex;flex:1 0 auto}.gux-form-field-visual-label ::slotted(label){min-inline-size:0}.gux-form-field-visual-label ::slotted(gux-label-info-beta){padding-inline-start:var(--gse-ui-formControl-formField-gap)}.gux-form-field-visual-label.gux-beside{position:relative;inset-block-start:var(--gse-ui-formControl-input-top);inline-size:fit-content;min-inline-size:var(--gse-ui-formControl-input-textfield-minWidth);max-inline-size:fit-content;margin-inline-end:var(--gse-ui-formControl-group-gapItems)}.gux-form-field-visual-label.gux-above{padding-block-end:var(--gse-ui-formControl-formField-gap)}.gux-form-field-visual-label.gux-screenreader{display:none}.gux-form-field-screenreader-label{position:absolute;top:auto;left:-10000px;width:1px;height:1px;overflow:hidden}:host{display:block}::slotted(gux-form-field-radio){padding-block-start:var(--gse-ui-formControl-group-gapItems)}::slotted(gux-form-field-radio:first-of-type){padding-block-start:0}:host([disabled]) ::slotted(label){opacity:var(--gse-ui-formControl-input-disabled-opacity)}::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)}";export{p as gux_form_field_radio_group_beta}
@@ -1 +1 @@
1
- import{r as e,h as o,a as r}from"./p-COgvjwDR.js";import{c as t,o as i}from"./p-Cb3FOYGS.js";import{O as n}from"./p-vOC0-qDq.js";import{o as l}from"./p-De1NnCmO.js";import{p as a}from"./p-PYfNAK8p.js";import{h as s}from"./p-qzV3vtOw.js";import{G as u,a as f}from"./p-Dry1Kkrx.js";import{G as d,a as p}from"./p-Co3DWTSR.js";import{g as c,v as g,a as h}from"./p-DHLxhscH.js";import{t as m}from"./p-BgR5MFoI.js";import"./p-D9jKBqIb.js";import"./p-DxtJDeL9.js";import"./p-BMRf5pjV.js";const b=class{constructor(o){e(this,o),this.indicatorMark="required",this.hasError=!1,this.hasHelp=!1}onMutation(){this.labelInfo=this.root.querySelector("[slot=label-info]"),this.hasError=s(this.root,"error"),this.hasHelp=s(this.root,"help")}handleKeyup(e){var o,r;switch(e.key){case"Tab":this.input.matches(":focus-visible")&&(null===(o=this.labelInfo)||void 0===o||o.showTooltip(),this.hideLabelInfoTimeout=setTimeout((()=>{var e;null===(e=this.labelInfo)||void 0===e||e.hideTooltip()}),6e3));break;case"Shift":break;default:this.input.matches(":focus-visible")&&(null===(r=this.labelInfo)||void 0===r||r.hideTooltip(),clearTimeout(this.hideLabelInfoTimeout))}}onFocusout(){var e;null===(e=this.labelInfo)||void 0===e||e.hideTooltip(),clearTimeout(this.hideLabelInfoTimeout)}componentWillLoad(){this.setInput(),this.setLabel(),this.labelInfo=this.root.querySelector("[slot=label-info]"),this.hasError=s(this.root,"error"),this.hasHelp=s(this.root,"help"),m(this.root,{variant:this.variant})}disconnectedCallback(){this.disabledObserver&&this.disabledObserver.disconnect(),this.requiredObserver&&this.requiredObserver.disconnect()}render(){return o(p,{key:"a8ae60daff847ec4ba920e15c5c2229bb50a54ec",labelPosition:this.computedLabelPosition},o(d,{key:"cb5e53870665b34f5cba57d83f33db9515b867ec",required:this.required,position:this.computedLabelPosition},o("slot",{key:"be26235a31bf076b8878ab33d36bf2dda75cad80",name:"label",onSlotchange:()=>this.setLabel()}),o("gux-form-field-label-indicator",{key:"ffa2a4541738be67eae851e8ede06542e7bffae1",variant:this.indicatorMark,required:this.required}),o("slot",{key:"95a1761073c81ccb8adb21830e45323187864552",name:"label-info"})),o("div",{key:"dc1f66b955fa64f65ab9a82445d6f97e788c0cd9",class:"gux-input-and-error-container"},o("div",{key:"c87168f74a8d5285c02756f2237bf69dc180e07a",class:{"gux-input":!0,"gux-input-error":this.hasError}},o("div",{key:"ae187746dc81e70dbcd67571f775e4844c8dfb70",class:{"gux-input-container":!0,"gux-disabled":this.disabled}},o("slot",{key:"3ed3f0efb57ad55a3d6873eb57930af35924ac6e",name:"input",onSlotchange:()=>this.setInput()}))),o(u,{key:"93d384c4620676a97972abd766a77aca358f6a24",show:this.hasError},o("slot",{key:"3750328ca7c7b62a278a4805db4c7ac14e67aaa6",name:"error"})),o(f,{key:"7d26678c1b31303599741131bcb7228343a0ea7b",show:!this.hasError&&this.hasHelp},o("slot",{key:"52973388e061ee7efdae4b62f579934a494881f8",name:"help"}))))}get variant(){return this.labelPosition?this.labelPosition.toLowerCase():"none"}setInput(){this.input=c(this.root,'input[type="color"][slot="input"]'),a(this.input),this.disabled=t(this.input),this.required=this.input.required,this.disabledObserver=i(this.input,(e=>{this.disabled=e})),this.requiredObserver=l(this.input,(e=>{this.required=e})),g(this.root,this.input)}setLabel(){this.label=this.root.querySelector('label[slot="label"]'),this.computedLabelPosition=h(this.label,this.labelPosition)}get root(){return r(this)}};(function(e,o,r,t){var i,n=arguments.length,l=n<3?o:null===t?t=Object.getOwnPropertyDescriptor(o,r):t;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)l=Reflect.decorate(e,o,r,t);else for(var a=e.length-1;a>=0;a--)(i=e[a])&&(l=(n<3?i(l):n>3?i(o,r,l):i(o,r))||l);n>3&&l&&Object.defineProperty(o,r,l)})([n({childList:!0,subtree:!0})],b.prototype,"onMutation",null),b.style=".gux-form-field-container{display:flex;flex-direction:column}.gux-form-field-container.gux-beside{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 0 auto;order:0;color:var(--gse-ui-formControl-helper-errorColor)}.gux-form-field-error .gux-message{flex:0 1 auto;align-self:auto;order:0}.gux-form-field-label{display:inline-flex;flex:1 0 auto}.gux-form-field-label ::slotted(label){min-inline-size:0}.gux-form-field-label ::slotted(gux-label-info-beta){padding-inline-start:var(--gse-ui-formControl-formField-gap)}.gux-form-field-label.gux-beside{position:relative;inset-block-start:var(--gse-ui-formControl-input-top);inline-size:fit-content;min-inline-size:var(--gse-ui-formControl-input-textfield-minWidth);max-inline-size:fit-content;margin-inline-end:var(--gse-ui-formControl-group-gapItems)}.gux-form-field-label.gux-above{padding-block-end:var(--gse-ui-formControl-formField-gap)}.gux-form-field-label.gux-screenreader{position:absolute;top:auto;left:-10000px;width:1px;height:1px;overflow:hidden}.gux-form-field-help{display:none;flex-direction:row;flex-wrap:nowrap;place-content:stretch flex-start;align-items:flex-start;justify-content:flex-start;padding-block-start:var(--gse-ui-formControl-formField-gap);font-family:var(--gse-ui-formControl-helper-helperText-fontFamily);font-size:var(--gse-ui-formControl-helper-helperText-fontSize);line-height:var(--gse-ui-formControl-helper-helperText-lineHeight);color:var(--gse-ui-formControl-helper-defaultColor)}.gux-form-field-help.gux-show{display:flex}.gux-form-field-help .gux-message{flex:0 1 auto;align-self:none;order:0}:host{display:block}::slotted(label){font-family:var(--gse-ui-formControl-label-textBold-fontFamily);font-size:var(--gse-ui-formControl-label-textBold-fontSize);font-weight:var(--gse-ui-formControl-label-textBold-fontWeight);line-height:var(--gse-ui-formControl-label-textBold-lineHeight);color:var(--gse-ui-formControl-label-labelColor)}::slotted(input){flex:0 1 auto;align-self:auto;order:0;inline-size:var(--gse-ui-colorPicker-input-swatchSizing);min-inline-size:var(--gse-ui-colorPicker-input-swatchSizing);block-size:var(--gse-ui-colorPicker-input-swatchSizing);padding:0;overflow:hidden;text-overflow:ellipsis;font-family:var(--gse-ui-formControl-input-contentText-fontFamily);font-size:var(--gse-ui-formControl-input-contentText-fontSize);font-weight:var(--gse-ui-formControl-input-contentText-fontWeight);line-height:var(--gse-ui-formControl-input-contentText-lineHeight);color:var(--gse-ui-formControl-input-populatedColor);text-align:end;outline:none;background-color:var(--gse-ui-formControl-input-backgroundColor);border:none}::slotted(input)::placeholder{color:var(--gse-ui-formControl-input-placeholderColor);opacity:1}.gux-input-and-error-container{flex-grow:1}.gux-input-and-error-container .gux-input{display:flex;flex-direction:row;flex-wrap:nowrap;align-content:stretch;align-items:center}.gux-input-and-error-container .gux-input .gux-input-container{box-sizing:border-box;display:flex;flex-direction:row;flex-wrap:nowrap;gap:var(--gse-ui-formControl-input-gap);place-content:stretch center;align-items:center;align-self:auto;order:0;inline-size:var(--gse-ui-formControl-input-colorPicker-size);block-size:var(--gse-ui-formControl-input-colorPicker-size);font-family:var(--gse-ui-formControl-input-contentText-fontFamily);font-size:var(--gse-ui-formControl-input-contentText-fontSize);line-height:var(--gse-ui-formControl-input-contentText-lineHeight);color:var(--gse-ui-formControl-input-populatedColor);background-color:var(--gse-ui-formControl-input-backgroundColor);background-image:none;border:var(--gse-ui-formControl-input-default-border-width) var(--gse-ui-formControl-input-default-border-style) var(--gse-ui-formControl-input-default-border-color);border-radius:var(--gse-ui-formControl-input-borderRadius)}.gux-input-and-error-container .gux-input .gux-input-container.gux-disabled{opacity:var(--gse-ui-formControl-input-disabled-opacity)}.gux-input-and-error-container .gux-input .gux-input-container:focus-within{outline:var(--gse-ui-formControl-input-focus-border-width) var(--gse-ui-formControl-input-focus-border-style) var(--gse-ui-formControl-input-focus-border-color);outline-offset:var(--gse-semantic-focusOutline-offset);border:var(--gse-ui-formControl-input-active-border-width) var(--gse-ui-formControl-input-active-border-style) var(--gse-ui-formControl-input-active-border-color);border-radius:var(--gse-ui-formControl-focusRing-borderRadius)}.gux-input-and-error-container .gux-input .gux-input-container:hover{cursor:pointer;border-color:var(--gse-ui-formControl-input-hover-border-color)}.gux-input-and-error-container .gux-input.gux-input-error .gux-input-container{border-color:var(--gse-ui-formControl-input-error-border-color)}";export{b as gux_form_field_color}
1
+ import{r as e,h as o,a as r}from"./p-COgvjwDR.js";import{c as t,o as i}from"./p-Cb3FOYGS.js";import{O as n}from"./p-vOC0-qDq.js";import{o as l}from"./p-De1NnCmO.js";import{p as a}from"./p-PYfNAK8p.js";import{h as s}from"./p-qzV3vtOw.js";import{G as u,a as f}from"./p-Dry1Kkrx.js";import{G as d,a as p}from"./p-Co3DWTSR.js";import{g as c,v as g,a as h}from"./p-DHLxhscH.js";import{t as m}from"./p-BesVttmm.js";import"./p-D9jKBqIb.js";import"./p-DxtJDeL9.js";import"./p-BMRf5pjV.js";const b=class{constructor(o){e(this,o),this.indicatorMark="required",this.hasError=!1,this.hasHelp=!1}onMutation(){this.labelInfo=this.root.querySelector("[slot=label-info]"),this.hasError=s(this.root,"error"),this.hasHelp=s(this.root,"help")}handleKeyup(e){var o,r;switch(e.key){case"Tab":this.input.matches(":focus-visible")&&(null===(o=this.labelInfo)||void 0===o||o.showTooltip(),this.hideLabelInfoTimeout=setTimeout((()=>{var e;null===(e=this.labelInfo)||void 0===e||e.hideTooltip()}),6e3));break;case"Shift":break;default:this.input.matches(":focus-visible")&&(null===(r=this.labelInfo)||void 0===r||r.hideTooltip(),clearTimeout(this.hideLabelInfoTimeout))}}onFocusout(){var e;null===(e=this.labelInfo)||void 0===e||e.hideTooltip(),clearTimeout(this.hideLabelInfoTimeout)}componentWillLoad(){this.setInput(),this.setLabel(),this.labelInfo=this.root.querySelector("[slot=label-info]"),this.hasError=s(this.root,"error"),this.hasHelp=s(this.root,"help"),m(this.root,{variant:this.variant})}disconnectedCallback(){this.disabledObserver&&this.disabledObserver.disconnect(),this.requiredObserver&&this.requiredObserver.disconnect()}render(){return o(p,{key:"a8ae60daff847ec4ba920e15c5c2229bb50a54ec",labelPosition:this.computedLabelPosition},o(d,{key:"cb5e53870665b34f5cba57d83f33db9515b867ec",required:this.required,position:this.computedLabelPosition},o("slot",{key:"be26235a31bf076b8878ab33d36bf2dda75cad80",name:"label",onSlotchange:()=>this.setLabel()}),o("gux-form-field-label-indicator",{key:"ffa2a4541738be67eae851e8ede06542e7bffae1",variant:this.indicatorMark,required:this.required}),o("slot",{key:"95a1761073c81ccb8adb21830e45323187864552",name:"label-info"})),o("div",{key:"dc1f66b955fa64f65ab9a82445d6f97e788c0cd9",class:"gux-input-and-error-container"},o("div",{key:"c87168f74a8d5285c02756f2237bf69dc180e07a",class:{"gux-input":!0,"gux-input-error":this.hasError}},o("div",{key:"ae187746dc81e70dbcd67571f775e4844c8dfb70",class:{"gux-input-container":!0,"gux-disabled":this.disabled}},o("slot",{key:"3ed3f0efb57ad55a3d6873eb57930af35924ac6e",name:"input",onSlotchange:()=>this.setInput()}))),o(u,{key:"93d384c4620676a97972abd766a77aca358f6a24",show:this.hasError},o("slot",{key:"3750328ca7c7b62a278a4805db4c7ac14e67aaa6",name:"error"})),o(f,{key:"7d26678c1b31303599741131bcb7228343a0ea7b",show:!this.hasError&&this.hasHelp},o("slot",{key:"52973388e061ee7efdae4b62f579934a494881f8",name:"help"}))))}get variant(){return this.labelPosition?this.labelPosition.toLowerCase():"none"}setInput(){this.input=c(this.root,'input[type="color"][slot="input"]'),a(this.input),this.disabled=t(this.input),this.required=this.input.required,this.disabledObserver=i(this.input,(e=>{this.disabled=e})),this.requiredObserver=l(this.input,(e=>{this.required=e})),g(this.root,this.input)}setLabel(){this.label=this.root.querySelector('label[slot="label"]'),this.computedLabelPosition=h(this.label,this.labelPosition)}get root(){return r(this)}};(function(e,o,r,t){var i,n=arguments.length,l=n<3?o:null===t?t=Object.getOwnPropertyDescriptor(o,r):t;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)l=Reflect.decorate(e,o,r,t);else for(var a=e.length-1;a>=0;a--)(i=e[a])&&(l=(n<3?i(l):n>3?i(o,r,l):i(o,r))||l);n>3&&l&&Object.defineProperty(o,r,l)})([n({childList:!0,subtree:!0})],b.prototype,"onMutation",null),b.style=".gux-form-field-container{display:flex;flex-direction:column}.gux-form-field-container.gux-beside{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 0 auto;order:0;color:var(--gse-ui-formControl-helper-errorColor)}.gux-form-field-error .gux-message{flex:0 1 auto;align-self:auto;order:0}.gux-form-field-label{display:inline-flex;flex:1 0 auto}.gux-form-field-label ::slotted(label){min-inline-size:0}.gux-form-field-label ::slotted(gux-label-info-beta){padding-inline-start:var(--gse-ui-formControl-formField-gap)}.gux-form-field-label.gux-beside{position:relative;inset-block-start:var(--gse-ui-formControl-input-top);inline-size:fit-content;min-inline-size:var(--gse-ui-formControl-input-textfield-minWidth);max-inline-size:fit-content;margin-inline-end:var(--gse-ui-formControl-group-gapItems)}.gux-form-field-label.gux-above{padding-block-end:var(--gse-ui-formControl-formField-gap)}.gux-form-field-label.gux-screenreader{position:absolute;top:auto;left:-10000px;width:1px;height:1px;overflow:hidden}.gux-form-field-help{display:none;flex-direction:row;flex-wrap:nowrap;place-content:stretch flex-start;align-items:flex-start;justify-content:flex-start;padding-block-start:var(--gse-ui-formControl-formField-gap);font-family:var(--gse-ui-formControl-helper-helperText-fontFamily);font-size:var(--gse-ui-formControl-helper-helperText-fontSize);line-height:var(--gse-ui-formControl-helper-helperText-lineHeight);color:var(--gse-ui-formControl-helper-defaultColor)}.gux-form-field-help.gux-show{display:flex}.gux-form-field-help .gux-message{flex:0 1 auto;align-self:none;order:0}:host{display:block}::slotted(label){font-family:var(--gse-ui-formControl-label-textBold-fontFamily);font-size:var(--gse-ui-formControl-label-textBold-fontSize);font-weight:var(--gse-ui-formControl-label-textBold-fontWeight);line-height:var(--gse-ui-formControl-label-textBold-lineHeight);color:var(--gse-ui-formControl-label-labelColor)}::slotted(input){flex:0 1 auto;align-self:auto;order:0;inline-size:var(--gse-ui-colorPicker-input-swatchSizing);min-inline-size:var(--gse-ui-colorPicker-input-swatchSizing);block-size:var(--gse-ui-colorPicker-input-swatchSizing);padding:0;overflow:hidden;text-overflow:ellipsis;font-family:var(--gse-ui-formControl-input-contentText-fontFamily);font-size:var(--gse-ui-formControl-input-contentText-fontSize);font-weight:var(--gse-ui-formControl-input-contentText-fontWeight);line-height:var(--gse-ui-formControl-input-contentText-lineHeight);color:var(--gse-ui-formControl-input-populatedColor);text-align:end;outline:none;background-color:var(--gse-ui-formControl-input-backgroundColor);border:none}::slotted(input)::placeholder{color:var(--gse-ui-formControl-input-placeholderColor);opacity:1}.gux-input-and-error-container{flex-grow:1}.gux-input-and-error-container .gux-input{display:flex;flex-direction:row;flex-wrap:nowrap;align-content:stretch;align-items:center}.gux-input-and-error-container .gux-input .gux-input-container{box-sizing:border-box;display:flex;flex-direction:row;flex-wrap:nowrap;gap:var(--gse-ui-formControl-input-gap);place-content:stretch center;align-items:center;align-self:auto;order:0;inline-size:var(--gse-ui-formControl-input-colorPicker-size);block-size:var(--gse-ui-formControl-input-colorPicker-size);font-family:var(--gse-ui-formControl-input-contentText-fontFamily);font-size:var(--gse-ui-formControl-input-contentText-fontSize);line-height:var(--gse-ui-formControl-input-contentText-lineHeight);color:var(--gse-ui-formControl-input-populatedColor);background-color:var(--gse-ui-formControl-input-backgroundColor);background-image:none;border:var(--gse-ui-formControl-input-default-border-width) var(--gse-ui-formControl-input-default-border-style) var(--gse-ui-formControl-input-default-border-color);border-radius:var(--gse-ui-formControl-input-borderRadius)}.gux-input-and-error-container .gux-input .gux-input-container.gux-disabled{opacity:var(--gse-ui-formControl-input-disabled-opacity)}.gux-input-and-error-container .gux-input .gux-input-container:focus-within{outline:var(--gse-ui-formControl-input-focus-border-width) var(--gse-ui-formControl-input-focus-border-style) var(--gse-ui-formControl-input-focus-border-color);outline-offset:var(--gse-semantic-focusOutline-offset);border:var(--gse-ui-formControl-input-active-border-width) var(--gse-ui-formControl-input-active-border-style) var(--gse-ui-formControl-input-active-border-color);border-radius:var(--gse-ui-formControl-focusRing-borderRadius)}.gux-input-and-error-container .gux-input .gux-input-container:hover{cursor:pointer;border-color:var(--gse-ui-formControl-input-hover-border-color)}.gux-input-and-error-container .gux-input.gux-input-error .gux-input-container{border-color:var(--gse-ui-formControl-input-error-border-color)}";export{b as gux_form_field_color}
@@ -1 +1 @@
1
- import{r as t,h as i,H as e,a as o}from"./p-COgvjwDR.js";import{a as s,c as a,o as r,f as n,s as h,h as l}from"./p-C8aV-TzO.js";import{r as d}from"./p-D9jKBqIb.js";import{t as c}from"./p-BgR5MFoI.js";import{b as u}from"./p-Bg4q97BS.js";import{o as p}from"./p-DKtwSwJx.js";import{f as g}from"./p-Cr5bTKWF.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],["mousemove",this.handlePointerMove.bind(this)]]),this.id=d("gux-tooltip-base"),this.placement="bottom-start",this.offsetX=0,this.offsetY=0,this.accent="light",this.visualOnly=!1,this.followMouse=!1,this.isShown=!1}handleKeyDown(t){"Escape"===t.key&&this.isShown&&this.hide()}handlePointerenter(){this.show()}handlePointerleave(){this.hide()}handlePointerMove(t){this.followMouse&&(t.preventDefault(),this.refElement=this.getRefElement(t.clientX,t.clientY),this.runUpdatePosition())}async showTooltip(){this.show()}async hideTooltip(){this.hide()}runUpdatePosition(){this.cleanupUpdatePosition&&this.cleanupUpdatePosition();const t=this.followMouse&&this.refElement?this.refElement:this.forElement;this.cleanupUpdatePosition=s(t,this.root,(()=>this.updatePosition(t)),{ancestorScroll:!0,elementResize:!0,animationFrame:this.followMouse,ancestorResize:!0})}updatePosition(t){const i=[r(12),n({fallbackAxisSideDirection:"start",crossAxis:!1}),h(),l(),p()];a(t,this.root,{placement:this.placement,strategy:"fixed",middleware:i}).then((({x:t,y:i,middlewareData:e})=>{var o;Object.assign(this.root.style,{left:`${t+this.offsetX}px`,top:`${i+this.offsetY}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,u((()=>{this.runUpdatePosition()}))}hide(){this.hideDelayTimeout=setTimeout((()=>{this.isShown=!1,this.refElement=void 0,this.cleanupUpdatePosition&&this.cleanupUpdatePosition()}),350)}setForElement(){this.forElement&&(this.visualOnly||this.forElement.setAttribute("aria-describedby",this.tooltipId?this.tooltipId:this.id),this.forElementListeners.forEach(((t,i)=>this.forElement.addEventListener(i,t))))}disconnectForElement(){this.forElement&&(this.forElement.removeAttribute("aria-describedby"),this.forElementListeners.forEach(((t,i)=>this.forElement.removeEventListener(i,t))))}updateForElement(){this.disconnectForElement(),this.setForElement()}getRefElement(t,i){return{getBoundingClientRect:()=>({x:t,y:i,top:i,left:t,bottom:i,right:t,width:10,height:10})}}connectedCallback(){this.setForElement()}componentWillLoad(){c(this.root,{variant:this.placement})}disconnectedCallback(){this.cleanupUpdatePosition&&this.cleanupUpdatePosition(),this.disconnectForElement()}render(){return i(e,{key:"46dec28b06efb04aa05e5acc814b41e1d8d00616",id:this.tooltipId?void 0:this.id,role:this.tooltipId&&!this.isShown?void 0:"tooltip",class:{"gux-show":this.isShown},"aria-hidden":this.visualOnly},i("div",{key:"fc6299d05fd07ffbcd64d309a371c86020ac4354",class:{"gux-container":!0,[`gux-${this.accent}`]:!0},"data-placement":this.placement},i("slot",{key:"f105857511644fb6d16bcd4f081f7f604cea6d29",name:"content"})))}get root(){return o(this)}static get watchers(){return{offsetX:["runUpdatePosition"],offsetY:["runUpdatePosition"],forElement:["updateForElement"]}}};b.style=":host{position:fixed;z-index:var(--gse-semantic-zIndex-tooltip);display:none;inline-size:max-content;max-inline-size:var(--gse-ui-tooltip-maxWidth);border-radius:var(--gse-ui-tooltip-borderRadius);box-shadow:var(--gse-ui-tooltip-boxShadow);opacity:0}:host(.gux-show){display:block;animation-name:fade-in;animation-duration:250ms;animation-delay:350ms;animation-fill-mode:forwards}.gux-container{box-sizing:border-box;display:flex;flex-direction:row;gap:var(--gse-ui-tooltip-gap);place-content:center flex-start;padding:var(--gse-ui-tooltip-padding);font-family:var(--gse-ui-tooltip-text-fontFamily);font-size:var(--gse-ui-tooltip-text-fontSize);font-weight:var(--gse-ui-tooltip-text-fontWeight);line-height:var(--gse-ui-tooltip-text-lineHeight);color:var(--gse-ui-tooltip-light-foregroundColor);pointer-events:none;background-color:var(--gse-ui-tooltip-light-backgroundColor);border:var(--gse-ui-tooltip-light-border-width) var(--gse-ui-tooltip-light-border-style) var(--gse-ui-tooltip-light-border-color);border-radius:var(--gse-ui-tooltip-borderRadius)}.gux-container ::slotted(gux-icon){align-self:center;inline-size:var(--gse-ui-icon-small-size);block-size:var(--gse-ui-icon-small-size);color:var(--gse-ui-tooltip-light-foregroundColor)}.gux-container ::slotted(*){inline-size:100%;overflow-wrap:break-word;white-space:normal}.gux-container.gux-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}}";const f=class{constructor(i){t(this,i),this.id=d("gux-tooltip"),this.placement="bottom-start",this.accent="light",this.visualOnly=!1}async showTooltip(){return await this.baseTooltip.showTooltip()}async hideTooltip(){return await this.baseTooltip.hideTooltip()}updateForElement(){this.forElement=this.getForElement()}componentWillLoad(){c(this.root,{variant:this.placement})}componentDidLoad(){this.baseTooltip&&(this.tooltipObserver=new MutationObserver((()=>{var t;this.role=null===(t=this.baseTooltip)||void 0===t?void 0:t.role})),this.tooltipObserver.observe(this.baseTooltip,{childList:!0,attributes:!0,attributeFilter:["role"]}))}connectedCallback(){this.updateForElement()}disconnectedCallback(){this.tooltipObserver&&this.tooltipObserver.disconnect()}getForElement(){if(this.for){const t=g(this.root,this.for);return t||this.logForAttributeError(),t}return this.root.parentElement}logForAttributeError(){this.root.isConnected&&console.error(`gux-tooltip: invalid element supplied to 'for': "${this.for}"`)}render(){return i(e,{key:"7ae07bc68d40a81a9e4d23e8f9ab9bf90fce4d04",id:this.id,role:this.role},i("gux-tooltip-base-beta",{key:"46b6671361fda967c9f23167878a46f2635f839d",forElement:this.forElement,placement:this.placement,accent:this.accent,tooltipId:this.id,visualOnly:this.visualOnly,ref:t=>this.baseTooltip=t},i("span",{key:"3c6e742c96cd49e082c2f75f7c90254db09a46bd",slot:"content"},i("slot",{key:"03f4cbcd9d2cf027941cef504896355fc138654b",name:"content"},i("slot",{key:"65befdc2ab6bbc1b46b62b0a4eac38e012de4a1a"})))))}get root(){return o(this)}static get watchers(){return{for:["updateForElement"]}}};export{b as gux_tooltip_base_beta,f as gux_tooltip_beta}
1
+ import{r as t,h as i,H as e,a as o}from"./p-COgvjwDR.js";import{a as s,c as a,o as r,f as n,s as h,h as l}from"./p-C8aV-TzO.js";import{r as d}from"./p-D9jKBqIb.js";import{t as c}from"./p-BesVttmm.js";import{b as u}from"./p-Bg4q97BS.js";import{o as p}from"./p-DKtwSwJx.js";import{f as g}from"./p-Cr5bTKWF.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],["mousemove",this.handlePointerMove.bind(this)]]),this.id=d("gux-tooltip-base"),this.placement="bottom-start",this.offsetX=0,this.offsetY=0,this.accent="light",this.visualOnly=!1,this.followMouse=!1,this.isShown=!1}handleKeyDown(t){"Escape"===t.key&&this.isShown&&this.hide()}handlePointerenter(){this.show()}handlePointerleave(){this.hide()}handlePointerMove(t){this.followMouse&&(t.preventDefault(),this.refElement=this.getRefElement(t.clientX,t.clientY),this.runUpdatePosition())}async showTooltip(){this.show()}async hideTooltip(){this.hide()}runUpdatePosition(){this.cleanupUpdatePosition&&this.cleanupUpdatePosition();const t=this.followMouse&&this.refElement?this.refElement:this.forElement;this.cleanupUpdatePosition=s(t,this.root,(()=>this.updatePosition(t)),{ancestorScroll:!0,elementResize:!0,animationFrame:this.followMouse,ancestorResize:!0})}updatePosition(t){const i=[r(12),n({fallbackAxisSideDirection:"start",crossAxis:!1}),h(),l(),p()];a(t,this.root,{placement:this.placement,strategy:"fixed",middleware:i}).then((({x:t,y:i,middlewareData:e})=>{var o;Object.assign(this.root.style,{left:`${t+this.offsetX}px`,top:`${i+this.offsetY}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,u((()=>{this.runUpdatePosition()}))}hide(){this.hideDelayTimeout=setTimeout((()=>{this.isShown=!1,this.refElement=void 0,this.cleanupUpdatePosition&&this.cleanupUpdatePosition()}),350)}setForElement(){this.forElement&&(this.visualOnly||this.forElement.setAttribute("aria-describedby",this.tooltipId?this.tooltipId:this.id),this.forElementListeners.forEach(((t,i)=>this.forElement.addEventListener(i,t))))}disconnectForElement(){this.forElement&&(this.forElement.removeAttribute("aria-describedby"),this.forElementListeners.forEach(((t,i)=>this.forElement.removeEventListener(i,t))))}updateForElement(){this.disconnectForElement(),this.setForElement()}getRefElement(t,i){return{getBoundingClientRect:()=>({x:t,y:i,top:i,left:t,bottom:i,right:t,width:10,height:10})}}connectedCallback(){this.setForElement()}componentWillLoad(){c(this.root,{variant:this.placement})}disconnectedCallback(){this.cleanupUpdatePosition&&this.cleanupUpdatePosition(),this.disconnectForElement()}render(){return i(e,{key:"46dec28b06efb04aa05e5acc814b41e1d8d00616",id:this.tooltipId?void 0:this.id,role:this.tooltipId&&!this.isShown?void 0:"tooltip",class:{"gux-show":this.isShown},"aria-hidden":this.visualOnly},i("div",{key:"fc6299d05fd07ffbcd64d309a371c86020ac4354",class:{"gux-container":!0,[`gux-${this.accent}`]:!0},"data-placement":this.placement},i("slot",{key:"f105857511644fb6d16bcd4f081f7f604cea6d29",name:"content"})))}get root(){return o(this)}static get watchers(){return{offsetX:["runUpdatePosition"],offsetY:["runUpdatePosition"],forElement:["updateForElement"]}}};b.style=":host{position:fixed;z-index:var(--gse-semantic-zIndex-tooltip);display:none;inline-size:max-content;max-inline-size:var(--gse-ui-tooltip-maxWidth);border-radius:var(--gse-ui-tooltip-borderRadius);box-shadow:var(--gse-ui-tooltip-boxShadow);opacity:0}:host(.gux-show){display:block;animation-name:fade-in;animation-duration:250ms;animation-delay:350ms;animation-fill-mode:forwards}.gux-container{box-sizing:border-box;display:flex;flex-direction:row;gap:var(--gse-ui-tooltip-gap);place-content:center flex-start;padding:var(--gse-ui-tooltip-padding);font-family:var(--gse-ui-tooltip-text-fontFamily);font-size:var(--gse-ui-tooltip-text-fontSize);font-weight:var(--gse-ui-tooltip-text-fontWeight);line-height:var(--gse-ui-tooltip-text-lineHeight);color:var(--gse-ui-tooltip-light-foregroundColor);pointer-events:none;background-color:var(--gse-ui-tooltip-light-backgroundColor);border:var(--gse-ui-tooltip-light-border-width) var(--gse-ui-tooltip-light-border-style) var(--gse-ui-tooltip-light-border-color);border-radius:var(--gse-ui-tooltip-borderRadius)}.gux-container ::slotted(gux-icon){align-self:center;inline-size:var(--gse-ui-icon-small-size);block-size:var(--gse-ui-icon-small-size);color:var(--gse-ui-tooltip-light-foregroundColor)}.gux-container ::slotted(*){inline-size:100%;overflow-wrap:break-word;white-space:normal}.gux-container.gux-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}}";const f=class{constructor(i){t(this,i),this.id=d("gux-tooltip"),this.placement="bottom-start",this.accent="light",this.visualOnly=!1}async showTooltip(){return await this.baseTooltip.showTooltip()}async hideTooltip(){return await this.baseTooltip.hideTooltip()}updateForElement(){this.forElement=this.getForElement()}componentWillLoad(){c(this.root,{variant:this.placement})}componentDidLoad(){this.baseTooltip&&(this.tooltipObserver=new MutationObserver((()=>{var t;this.role=null===(t=this.baseTooltip)||void 0===t?void 0:t.role})),this.tooltipObserver.observe(this.baseTooltip,{childList:!0,attributes:!0,attributeFilter:["role"]}))}connectedCallback(){this.updateForElement()}disconnectedCallback(){this.tooltipObserver&&this.tooltipObserver.disconnect()}getForElement(){if(this.for){const t=g(this.root,this.for);return t||this.logForAttributeError(),t}return this.root.parentElement}logForAttributeError(){this.root.isConnected&&console.error(`gux-tooltip: invalid element supplied to 'for': "${this.for}"`)}render(){return i(e,{key:"7ae07bc68d40a81a9e4d23e8f9ab9bf90fce4d04",id:this.id,role:this.role},i("gux-tooltip-base-beta",{key:"46b6671361fda967c9f23167878a46f2635f839d",forElement:this.forElement,placement:this.placement,accent:this.accent,tooltipId:this.id,visualOnly:this.visualOnly,ref:t=>this.baseTooltip=t},i("span",{key:"3c6e742c96cd49e082c2f75f7c90254db09a46bd",slot:"content"},i("slot",{key:"03f4cbcd9d2cf027941cef504896355fc138654b",name:"content"},i("slot",{key:"65befdc2ab6bbc1b46b62b0a4eac38e012de4a1a"})))))}get root(){return o(this)}static get watchers(){return{for:["updateForElement"]}}};export{b as gux_tooltip_base_beta,f as gux_tooltip_beta}