genesys-spark-components 4.187.1 → 4.188.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 (798) hide show
  1. package/dist/cjs/genesys-webcomponents.cjs.js +1 -1
  2. package/dist/cjs/gux-accordion-section.cjs.entry.js +5 -5
  3. package/dist/cjs/gux-accordion.cjs.entry.js +2 -2
  4. package/dist/cjs/gux-action-button.cjs.entry.js +2 -2
  5. package/dist/cjs/gux-action-toast-legacy.cjs.entry.js +2 -2
  6. package/dist/cjs/gux-actionable-inline-alert-beta.cjs.entry.js +33 -0
  7. package/dist/cjs/gux-advanced-dropdown-legacy.cjs.entry.js +3 -3
  8. package/dist/cjs/gux-all-row-select.cjs.entry.js +1 -1
  9. package/dist/cjs/gux-announce-beta.cjs.entry.js +2 -2
  10. package/dist/cjs/gux-avatar-beta.cjs.entry.js +3 -3
  11. package/dist/cjs/gux-avatar-change-photo-beta.cjs.entry.js +2 -2
  12. package/dist/cjs/gux-avatar-focusable-beta.cjs.entry.js +1 -1
  13. package/dist/cjs/gux-avatar-group-add-item-beta_3.cjs.entry.js +6 -6
  14. package/dist/cjs/gux-avatar-group-beta.cjs.entry.js +2 -2
  15. package/dist/cjs/gux-avatar-group-item-beta.cjs.entry.js +3 -3
  16. package/dist/cjs/gux-badge.cjs.entry.js +4 -4
  17. package/dist/cjs/gux-blank-state-beta.cjs.entry.js +3 -3
  18. package/dist/cjs/gux-blank-state.cjs.entry.js +2 -2
  19. package/dist/cjs/gux-branch-multi.cjs.entry.js +3 -3
  20. package/dist/cjs/gux-branch.cjs.entry.js +2 -2
  21. package/dist/cjs/gux-breadcrumb-item.cjs.entry.js +1 -1
  22. package/dist/cjs/gux-breadcrumbs.cjs.entry.js +2 -2
  23. package/dist/cjs/gux-button-multi.cjs.entry.js +2 -2
  24. package/dist/cjs/gux-button-slot.cjs.entry.js +2 -2
  25. package/dist/cjs/gux-button_2.cjs.entry.js +5 -5
  26. package/dist/cjs/gux-calendar-beta.cjs.entry.js +1 -1
  27. package/dist/cjs/gux-calendar.cjs.entry.js +4 -4
  28. package/dist/cjs/gux-card.cjs.entry.js +3 -3
  29. package/dist/cjs/gux-cloud-logo-beta.cjs.entry.js +2 -2
  30. package/dist/cjs/gux-cloud-logomark-beta.cjs.entry.js +2 -2
  31. package/dist/cjs/gux-column-manager-item.cjs.entry.js +3 -3
  32. package/dist/cjs/gux-column-manager.cjs.entry.js +2 -2
  33. package/dist/cjs/gux-content-search.cjs.entry.js +3 -3
  34. package/dist/cjs/gux-context-menu.cjs.entry.js +3 -3
  35. package/dist/cjs/gux-copy-to-clipboard.cjs.entry.js +2 -2
  36. package/dist/cjs/gux-create-option.cjs.entry.js +4 -4
  37. package/dist/cjs/gux-cta-group.cjs.entry.js +1 -1
  38. package/dist/cjs/gux-date-beta.cjs.entry.js +2 -2
  39. package/dist/cjs/gux-date-time-beta.cjs.entry.js +2 -2
  40. package/dist/cjs/gux-datepicker.cjs.entry.js +18 -2
  41. package/dist/cjs/gux-day-beta.cjs.entry.js +2 -2
  42. package/dist/cjs/gux-disclosure-button-legacy.cjs.entry.js +3 -3
  43. package/dist/cjs/gux-dismiss-button.cjs.entry.js +3 -3
  44. package/dist/cjs/gux-dropdown-multi-tag.cjs.entry.js +1 -1
  45. package/dist/cjs/gux-dropdown-multi.cjs.entry.js +5 -5
  46. package/dist/cjs/gux-dropdown-option.cjs.entry.js +1 -1
  47. package/dist/cjs/gux-dropdown_3.cjs.entry.js +4 -4
  48. package/dist/cjs/gux-file-list-item.cjs.entry.js +3 -3
  49. package/dist/cjs/gux-flag-icon-beta.cjs.entry.js +2 -2
  50. package/dist/cjs/gux-flyout-menu.cjs.entry.js +3 -3
  51. package/dist/cjs/gux-form-beta.cjs.entry.js +1 -1
  52. package/dist/cjs/gux-form-description.cjs.entry.js +1 -1
  53. package/dist/cjs/gux-form-field-checkbox-group-beta.cjs.entry.js +3 -3
  54. package/dist/cjs/gux-form-field-checkbox.cjs.entry.js +3 -3
  55. package/dist/cjs/gux-form-field-color.cjs.entry.js +4 -4
  56. package/dist/cjs/gux-form-field-dropdown.cjs.entry.js +4 -4
  57. package/dist/cjs/gux-form-field-file-beta.cjs.entry.js +2 -2
  58. package/dist/cjs/gux-form-field-file.cjs.entry.js +2 -2
  59. package/dist/cjs/gux-form-field-input-clear-button.cjs.entry.js +2 -2
  60. package/dist/cjs/gux-form-field-label-indicator.cjs.entry.js +1 -1
  61. package/dist/cjs/gux-form-field-number_2.cjs.entry.js +8 -8
  62. package/dist/cjs/gux-form-field-phone.cjs.entry.js +5 -5
  63. package/dist/cjs/gux-form-field-radio-group-beta.cjs.entry.js +3 -3
  64. package/dist/cjs/gux-form-field-radio.cjs.entry.js +3 -3
  65. package/dist/cjs/gux-form-field-range.cjs.entry.js +3 -3
  66. package/dist/cjs/gux-form-field-search.cjs.entry.js +4 -4
  67. package/dist/cjs/gux-form-field-select.cjs.entry.js +4 -4
  68. package/dist/cjs/gux-form-field-text-like.cjs.entry.js +4 -4
  69. package/dist/cjs/gux-form-field-textarea.cjs.entry.js +3 -3
  70. package/dist/cjs/gux-form-field-time-picker.cjs.entry.js +5 -5
  71. package/dist/cjs/gux-form-field-time-zone-picker.cjs.entry.js +4 -4
  72. package/dist/cjs/gux-form-fieldset-heading.cjs.entry.js +1 -1
  73. package/dist/cjs/gux-form-footer.cjs.entry.js +3 -3
  74. package/dist/cjs/gux-form-heading.cjs.entry.js +1 -1
  75. package/dist/cjs/gux-icon-tooltip-beta.cjs.entry.js +2 -2
  76. package/dist/cjs/gux-icon.cjs.entry.js +2 -2
  77. package/dist/cjs/gux-illustration-beta.cjs.entry.js +3 -3
  78. package/dist/cjs/gux-inline-alert.cjs.entry.js +3 -3
  79. package/dist/cjs/gux-inline-dropdown-beta.cjs.entry.js +2 -2
  80. package/dist/cjs/gux-label-info-beta.cjs.entry.js +2 -2
  81. package/dist/cjs/gux-leaf-multi.cjs.entry.js +2 -2
  82. package/dist/cjs/gux-leaf.cjs.entry.js +2 -2
  83. package/dist/cjs/gux-link-beta.cjs.entry.js +2 -2
  84. package/dist/cjs/gux-list-divider.cjs.entry.js +1 -1
  85. package/dist/cjs/gux-list-item.cjs.entry.js +1 -1
  86. package/dist/cjs/gux-list.cjs.entry.js +2 -2
  87. package/dist/cjs/gux-listbox-multi.cjs.entry.js +1 -1
  88. package/dist/cjs/gux-loading-message.cjs.entry.js +2 -2
  89. package/dist/cjs/gux-logo-beta.cjs.entry.js +4 -4
  90. package/dist/cjs/gux-logomark-beta.cjs.entry.js +2 -2
  91. package/dist/cjs/gux-menu-option.cjs.entry.js +1 -1
  92. package/dist/cjs/gux-menu.cjs.entry.js +1 -1
  93. package/dist/cjs/gux-modal-legacy.cjs.entry.js +3 -3
  94. package/dist/cjs/gux-modal-side-panel-beta.cjs.entry.js +2 -2
  95. package/dist/cjs/gux-modal.cjs.entry.js +2 -2
  96. package/dist/cjs/gux-month-calendar.cjs.entry.js +1 -1
  97. package/dist/cjs/gux-month-list_2.cjs.entry.js +2 -2
  98. package/dist/cjs/gux-month-picker-beta.cjs.entry.js +2 -2
  99. package/dist/cjs/gux-notification-toast-legacy.cjs.entry.js +2 -2
  100. package/dist/cjs/gux-option-group-beta.cjs.entry.js +1 -1
  101. package/dist/cjs/gux-option-icon.cjs.entry.js +2 -2
  102. package/dist/cjs/gux-option-multi.cjs.entry.js +4 -4
  103. package/dist/cjs/gux-option-status-beta.cjs.entry.js +2 -2
  104. package/dist/cjs/gux-page-loading-spinner.cjs.entry.js +2 -2
  105. package/dist/cjs/gux-pagination-buttons-legacy_3.cjs.entry.js +4 -4
  106. package/dist/cjs/gux-pagination-buttons_2.cjs.entry.js +3 -3
  107. package/dist/cjs/gux-pagination-cursor.cjs.entry.js +1 -1
  108. package/dist/cjs/gux-pagination-items-per-page.cjs.entry.js +1 -1
  109. package/dist/cjs/gux-pagination-legacy.cjs.entry.js +2 -2
  110. package/dist/cjs/gux-pagination.cjs.entry.js +2 -2
  111. package/dist/cjs/gux-phone-input-beta.cjs.entry.js +2 -2
  112. package/dist/cjs/gux-popover-beta.cjs.entry.js +3 -3
  113. package/dist/cjs/gux-popover-list-beta.cjs.entry.js +3 -3
  114. package/dist/cjs/gux-popover-list.cjs.entry.js +3 -3
  115. package/dist/cjs/gux-popup.cjs.entry.js +3 -3
  116. package/dist/cjs/gux-prompt-input-beta.cjs.entry.js +3 -3
  117. package/dist/cjs/gux-radial-loading.cjs.entry.js +2 -2
  118. package/dist/cjs/gux-radial-progress.cjs.entry.js +1 -1
  119. package/dist/cjs/gux-rating.cjs.entry.js +2 -2
  120. package/dist/cjs/gux-rich-highlight-list-item.cjs.entry.js +3 -3
  121. package/dist/cjs/gux-rich-style-list-item_3.cjs.entry.js +6 -6
  122. package/dist/cjs/gux-rich-text-editor-action-group.cjs.entry.js +1 -1
  123. package/dist/cjs/gux-rich-text-editor-action-link.cjs.entry.js +2 -2
  124. package/dist/cjs/gux-rich-text-editor-action-rich-style.cjs.entry.js +2 -2
  125. package/dist/cjs/gux-rich-text-editor-action-text-highlight.cjs.entry.js +2 -2
  126. package/dist/cjs/gux-rich-text-editor-action.cjs.entry.js +1 -1
  127. package/dist/cjs/gux-rich-text-editor-beta.cjs.entry.js +3 -3
  128. package/dist/cjs/gux-rich-text-editor-list.cjs.entry.js +2 -2
  129. package/dist/cjs/gux-row-select.cjs.entry.js +2 -2
  130. package/dist/cjs/gux-screen-reader-beta.cjs.entry.js +7 -2
  131. package/dist/cjs/gux-segmented-control-beta.cjs.entry.js +2 -2
  132. package/dist/cjs/gux-segmented-control-divider.cjs.entry.js +1 -1
  133. package/dist/cjs/gux-segmented-control-item.cjs.entry.js +4 -4
  134. package/dist/cjs/gux-select-all.cjs.entry.js +2 -2
  135. package/dist/cjs/gux-selector-card-beta.cjs.entry.js +5 -5
  136. package/dist/cjs/gux-selector-cards-beta.cjs.entry.js +2 -2
  137. package/dist/cjs/gux-side-panel-beta.cjs.entry.js +3 -3
  138. package/dist/cjs/gux-side-panel-header.cjs.entry.js +2 -2
  139. package/dist/cjs/gux-side-panel-heading.cjs.entry.js +2 -2
  140. package/dist/cjs/gux-simple-toast-legacy.cjs.entry.js +2 -2
  141. package/dist/cjs/gux-skip-navigation-item.cjs.entry.js +1 -1
  142. package/dist/cjs/gux-skip-navigation-list.cjs.entry.js +2 -2
  143. package/dist/cjs/gux-sort-control.cjs.entry.js +3 -3
  144. package/dist/cjs/gux-status-indicator-beta.cjs.entry.js +2 -2
  145. package/dist/cjs/gux-step-title.cjs.entry.js +2 -2
  146. package/dist/cjs/gux-step.cjs.entry.js +4 -4
  147. package/dist/cjs/gux-stepper-beta.cjs.entry.js +3 -3
  148. package/dist/cjs/gux-submenu.cjs.entry.js +3 -3
  149. package/dist/cjs/gux-switch-item.cjs.entry.js +1 -1
  150. package/dist/cjs/gux-switch-legacy.cjs.entry.js +2 -2
  151. package/dist/cjs/gux-tab-advanced-list.cjs.entry.js +1 -1
  152. package/dist/cjs/gux-tab-advanced-panel.cjs.entry.js +1 -1
  153. package/dist/cjs/gux-tab-advanced.cjs.entry.js +2 -2
  154. package/dist/cjs/gux-tab-list.cjs.entry.js +2 -2
  155. package/dist/cjs/gux-tab-panel.cjs.entry.js +1 -1
  156. package/dist/cjs/gux-tab.cjs.entry.js +2 -2
  157. package/dist/cjs/gux-table-select-menu.cjs.entry.js +1 -1
  158. package/dist/cjs/gux-table-toolbar-action.cjs.entry.js +2 -2
  159. package/dist/cjs/gux-table-toolbar-custom-action.cjs.entry.js +2 -2
  160. package/dist/cjs/gux-table-toolbar-menu-button.cjs.entry.js +2 -2
  161. package/dist/cjs/gux-table-toolbar.cjs.entry.js +3 -3
  162. package/dist/cjs/gux-table.cjs.entry.js +2 -2
  163. package/dist/cjs/gux-tabs-advanced.cjs.entry.js +2 -2
  164. package/dist/cjs/gux-tabs.cjs.entry.js +2 -2
  165. package/dist/cjs/gux-tag.cjs.entry.js +2 -2
  166. package/dist/cjs/gux-text-highlight.cjs.entry.js +1 -1
  167. package/dist/cjs/gux-time-beta.cjs.entry.js +2 -2
  168. package/dist/cjs/gux-time-picker.cjs.entry.js +2 -2
  169. package/dist/cjs/gux-time-zone-beta.cjs.entry.js +2 -2
  170. package/dist/cjs/gux-time-zone-picker-beta.cjs.entry.js +3 -3
  171. package/dist/cjs/gux-toast.cjs.entry.js +3 -3
  172. package/dist/cjs/gux-toggle-slider.cjs.entry.js +2 -2
  173. package/dist/cjs/gux-toggle.cjs.entry.js +3 -3
  174. package/dist/cjs/gux-tooltip-base-beta_2.cjs.entry.js +4 -4
  175. package/dist/cjs/gux-tooltip-pointer-beta.cjs.entry.js +2 -2
  176. package/dist/cjs/gux-tooltip-title.cjs.entry.js +2 -2
  177. package/dist/cjs/gux-tooltip_2.cjs.entry.js +6 -6
  178. package/dist/cjs/gux-tree-beta.cjs.entry.js +3 -3
  179. package/dist/cjs/gux-tree-multi-beta.cjs.entry.js +3 -3
  180. package/dist/cjs/index-DJ9HGtdZ.js +8 -4
  181. package/dist/cjs/loader.cjs.js +1 -1
  182. package/dist/cjs/{usage-Ypiicskt.js → usage-BrcJ30Q_.js} +1 -1
  183. package/dist/collection/collection-manifest.json +1 -0
  184. package/dist/collection/components/beta/gux-actionable-inline-alert/gux-actionable-inline-alert.css +48 -0
  185. package/dist/collection/components/beta/gux-actionable-inline-alert/gux-actionable-inline-alert.js +39 -0
  186. package/dist/collection/components/beta/gux-actionable-inline-alert/tests/gux-actionable-inline-alert.common.js +25 -0
  187. package/dist/collection/components/beta/gux-announce/gux-announce.js +1 -1
  188. package/dist/collection/components/beta/gux-avatar/gux-avatar-change-photo/gux-avatar-change-photo.js +1 -1
  189. package/dist/collection/components/beta/gux-avatar/gux-avatar-focusable/gux-avatar-focusable.js +1 -1
  190. package/dist/collection/components/beta/gux-avatar/gux-avatar.js +2 -2
  191. package/dist/collection/components/beta/gux-avatar-group/gux-avatar-group-add-item/gux-avatar-group-add-item.js +1 -1
  192. package/dist/collection/components/beta/gux-avatar-group/gux-avatar-group-item/gux-avatar-group-item.js +2 -2
  193. package/dist/collection/components/beta/gux-avatar-group/gux-avatar-group.js +1 -1
  194. package/dist/collection/components/beta/gux-avatar-group/gux-avatar-overflow/gux-avatar-overflow-item/gux-avatar-overflow-item.js +2 -2
  195. package/dist/collection/components/beta/gux-avatar-group/gux-avatar-overflow/gux-avatar-overflow.js +2 -2
  196. package/dist/collection/components/beta/gux-blank-state-beta/gux-blank-state.js +2 -2
  197. package/dist/collection/components/beta/gux-blank-state-beta/gux-illustration/gux-illustration.js +2 -2
  198. package/dist/collection/components/beta/gux-calendar-beta/gux-calendar.js +1 -1
  199. package/dist/collection/components/beta/gux-cloud-logo/gux-cloud-logo.js +1 -1
  200. package/dist/collection/components/beta/gux-cloud-logomark/gux-cloud-logomark.js +1 -1
  201. package/dist/collection/components/beta/gux-cta-group/gux-cta-group.js +1 -1
  202. package/dist/collection/components/beta/gux-date/gux-date.js +1 -1
  203. package/dist/collection/components/beta/gux-date-time/gux-date-time.js +1 -1
  204. package/dist/collection/components/beta/gux-day/gux-day.css +0 -12
  205. package/dist/collection/components/beta/gux-day/gux-day.js +1 -1
  206. package/dist/collection/components/beta/gux-flag-icon/gux-flag-icon.js +1 -1
  207. package/dist/collection/components/beta/gux-form/gux-form-description/gux-form-description.js +1 -1
  208. package/dist/collection/components/beta/gux-form/gux-form-fieldset-heading/gux-form-fieldset-heading.js +1 -1
  209. package/dist/collection/components/beta/gux-form/gux-form-footer/gux-form-footer.js +2 -2
  210. package/dist/collection/components/beta/gux-form/gux-form-heading/gux-form-heading.js +1 -1
  211. package/dist/collection/components/beta/gux-form/gux-form.js +1 -1
  212. package/dist/collection/components/beta/gux-icon-tooltip/gux-icon-tooltip.js +1 -1
  213. package/dist/collection/components/beta/gux-inline-dropdown/gux-inline-dropdown.js +1 -1
  214. package/dist/collection/components/beta/gux-label-info/gux-label-info.js +1 -1
  215. package/dist/collection/components/beta/gux-link/gux-link.js +1 -1
  216. package/dist/collection/components/beta/gux-logo/gux-logo.js +3 -3
  217. package/dist/collection/components/beta/gux-logomark/gux-logomark.js +1 -1
  218. package/dist/collection/components/beta/gux-month-picker/gux-month-calendar/gux-month-calendar.js +1 -1
  219. package/dist/collection/components/beta/gux-month-picker/gux-month-calendar/gux-month-list/gux-month-list-item/gux-month-list-item.js +1 -1
  220. package/dist/collection/components/beta/gux-month-picker/gux-month-calendar/gux-month-list/gux-month-list.js +1 -1
  221. package/dist/collection/components/beta/gux-month-picker/gux-month-picker.js +1 -1
  222. package/dist/collection/components/beta/gux-option-status/gux-option-status.js +2 -2
  223. package/dist/collection/components/beta/gux-phone-input/gux-phone-input.js +1 -1
  224. package/dist/collection/components/beta/gux-popover-beta/gux-popover.js +2 -2
  225. package/dist/collection/components/beta/gux-popover-list-beta/gux-popover-list.js +2 -2
  226. package/dist/collection/components/beta/gux-prompt-input/gux-prompt-input-beta.js +2 -2
  227. package/dist/collection/components/beta/gux-rich-text-editor/gux-rich-text-editor-action/gux-rich-text-editor-action-link/gux-rich-text-editor-action-link.js +1 -1
  228. package/dist/collection/components/beta/gux-rich-text-editor/gux-rich-text-editor-action/gux-rich-text-editor-action-rich-style/gux-rich-text-editor-action-rich-style.js +1 -1
  229. package/dist/collection/components/beta/gux-rich-text-editor/gux-rich-text-editor-action/gux-rich-text-editor-action-text-highlight/gux-rich-text-editor-action-text-highlight.js +1 -1
  230. package/dist/collection/components/beta/gux-rich-text-editor/gux-rich-text-editor-action-group/gux-rich-text-editor-action-group.js +1 -1
  231. package/dist/collection/components/beta/gux-rich-text-editor/gux-rich-text-editor-beta.js +2 -2
  232. package/dist/collection/components/beta/gux-rich-text-editor/gux-rich-text-editor-list/gux-rich-highlight-list-item/gux-rich-highlight-list-item.js +2 -2
  233. package/dist/collection/components/beta/gux-rich-text-editor/gux-rich-text-editor-list/gux-rich-style-list-item/gux-rich-style-list-item.js +1 -1
  234. package/dist/collection/components/beta/gux-rich-text-editor/gux-rich-text-editor-list/gux-rich-text-editor-list.js +1 -1
  235. package/dist/collection/components/beta/gux-rich-text-editor/gux-rich-text-editor-list/gux-rich-text-editor-sub-list/gux-rich-text-editor-sub-list.js +3 -3
  236. package/dist/collection/components/beta/gux-rich-text-editor/gux-rich-text-editor-menu/gux-rich-text-editor-menu.js +1 -1
  237. package/dist/collection/components/beta/gux-screen-reader/gux-screen-reader.js +32 -1
  238. package/dist/collection/components/beta/gux-screen-reader/tests/gux-screen-reader.common.js +5 -0
  239. package/dist/collection/components/beta/gux-segmented-control/gux-segmented-control-divider/gux-segmented-control-divider.js +1 -1
  240. package/dist/collection/components/beta/gux-segmented-control/gux-segmented-control-item/gux-segmented-control-item.js +4 -4
  241. package/dist/collection/components/beta/gux-segmented-control/gux-segmented-control.js +1 -1
  242. package/dist/collection/components/beta/gux-selector-cards/gux-selector-card/gux-selector-card.css +0 -8
  243. package/dist/collection/components/beta/gux-selector-cards/gux-selector-card/gux-selector-card.js +3 -3
  244. package/dist/collection/components/beta/gux-selector-cards/gux-selector-cards.js +1 -1
  245. package/dist/collection/components/beta/gux-side-panel/components/gux-modal-side-panel/gux-modal-side-panel.js +1 -1
  246. package/dist/collection/components/beta/gux-side-panel/components/gux-side-panel-header/gux-side-panel-header.js +1 -1
  247. package/dist/collection/components/beta/gux-side-panel/components/gux-side-panel-heading/gux-side-panel-heading.js +1 -1
  248. package/dist/collection/components/beta/gux-side-panel/gux-side-panel.js +2 -2
  249. package/dist/collection/components/beta/gux-status-indicator/gux-status-indicator.js +1 -1
  250. package/dist/collection/components/beta/gux-stepper/gux-step/gux-step-title/gux-step-title.js +1 -1
  251. package/dist/collection/components/beta/gux-stepper/gux-step/gux-step.js +3 -3
  252. package/dist/collection/components/beta/gux-stepper/gux-stepper.js +2 -2
  253. package/dist/collection/components/beta/gux-time/gux-time.js +1 -1
  254. package/dist/collection/components/beta/gux-time-zone/gux-time-zone.js +1 -1
  255. package/dist/collection/components/beta/gux-time-zone-picker/gux-time-zone-picker.js +2 -2
  256. package/dist/collection/components/beta/gux-tooltip-base/gux-tooltip-base.js +2 -2
  257. package/dist/collection/components/beta/gux-tooltip-beta/gux-tooltip.js +1 -1
  258. package/dist/collection/components/beta/gux-tooltip-pointer-beta/gux-tooltip-pointer.js +1 -1
  259. package/dist/collection/components/beta/gux-tree/gux-branch/gux-branch.js +2 -2
  260. package/dist/collection/components/beta/gux-tree/gux-leaf/gux-leaf.js +2 -2
  261. package/dist/collection/components/beta/gux-tree/gux-tree.js +2 -2
  262. package/dist/collection/components/beta/gux-tree-multi/gux-branch-multi/gux-branch-multi.js +3 -3
  263. package/dist/collection/components/beta/gux-tree-multi/gux-leaf-multi/gux-leaf-multi.js +2 -2
  264. package/dist/collection/components/beta/gux-tree-multi/gux-tree-multi.js +2 -2
  265. package/dist/collection/components/legacy/gux-action-toast-legacy/gux-action-toast.js +1 -1
  266. package/dist/collection/components/legacy/gux-advanced-dropdown-legacy/dropdown-option/gux-dropdown-option.js +1 -1
  267. package/dist/collection/components/legacy/gux-advanced-dropdown-legacy/gux-advanced-dropdown.js +2 -2
  268. package/dist/collection/components/legacy/gux-disclosure-button-legacy/gux-disclosure-button.js +2 -2
  269. package/dist/collection/components/legacy/gux-modal-legacy/gux-modal-legacy.js +2 -2
  270. package/dist/collection/components/legacy/gux-notification-toast-legacy/gux-notification-toast.js +1 -1
  271. package/dist/collection/components/legacy/gux-pagination-legacy/gux-pagination-buttons-legacy/gux-pagination-buttons.js +1 -1
  272. package/dist/collection/components/legacy/gux-pagination-legacy/gux-pagination-item-counts-legacy/gux-pagination-item-counts.js +2 -2
  273. package/dist/collection/components/legacy/gux-pagination-legacy/gux-pagination-items-per-page-legacy/gux-pagination-items-per-page.js +1 -1
  274. package/dist/collection/components/legacy/gux-pagination-legacy/gux-pagination.js +1 -1
  275. package/dist/collection/components/legacy/gux-simple-toast-legacy/gux-simple-toast.js +1 -1
  276. package/dist/collection/components/legacy/gux-switch-legacy/gux-switch-item/gux-switch-item.js +1 -1
  277. package/dist/collection/components/legacy/gux-switch-legacy/gux-switch.js +1 -1
  278. package/dist/collection/components/stable/gux-accordion/gux-accordion-section/gux-accordion-section.js +5 -5
  279. package/dist/collection/components/stable/gux-accordion/gux-accordion.js +1 -1
  280. package/dist/collection/components/stable/gux-action-button/gux-action-button.js +1 -1
  281. package/dist/collection/components/stable/gux-badge/gux-badge.css +0 -11
  282. package/dist/collection/components/stable/gux-badge/gux-badge.js +2 -2
  283. package/dist/collection/components/stable/gux-blank-state/gux-blank-state.js +1 -1
  284. package/dist/collection/components/stable/gux-breadcrumbs/breadcrumb-item/gux-breadcrumb-item.js +1 -1
  285. package/dist/collection/components/stable/gux-breadcrumbs/gux-breadcrumbs.js +1 -1
  286. package/dist/collection/components/stable/gux-button/gux-button.js +2 -2
  287. package/dist/collection/components/stable/gux-button-multi/gux-button-multi.js +1 -1
  288. package/dist/collection/components/stable/gux-button-slot/gux-button-slot.js +1 -1
  289. package/dist/collection/components/stable/gux-calendar/gux-calendar.css +0 -9
  290. package/dist/collection/components/stable/gux-calendar/gux-calendar.js +2 -2
  291. package/dist/collection/components/stable/gux-card/gux-card.js +2 -2
  292. package/dist/collection/components/stable/gux-column-manager/gux-column-manager-item/gux-column-manager-item.js +3 -3
  293. package/dist/collection/components/stable/gux-column-manager/gux-column-manager.js +1 -1
  294. package/dist/collection/components/stable/gux-content-search/gux-content-search.js +2 -2
  295. package/dist/collection/components/stable/gux-context-menu/gux-context-menu.js +2 -2
  296. package/dist/collection/components/stable/gux-copy-to-clipboard/gux-copy-to-clipboard.js +1 -1
  297. package/dist/collection/components/stable/gux-datepicker/gux-datepicker.js +17 -1
  298. package/dist/collection/components/stable/gux-dismiss-button/gux-dismiss-button.js +2 -2
  299. package/dist/collection/components/stable/gux-dropdown/gux-dropdown.js +1 -1
  300. package/dist/collection/components/stable/gux-dropdown-multi/gux-dropdown-multi-tag/gux-dropdown-multi-tag.js +1 -1
  301. package/dist/collection/components/stable/gux-dropdown-multi/gux-dropdown-multi.css +0 -15
  302. package/dist/collection/components/stable/gux-dropdown-multi/gux-dropdown-multi.js +3 -3
  303. package/dist/collection/components/stable/gux-flyout-menu/gux-flyout-menu.js +2 -2
  304. package/dist/collection/components/stable/gux-flyout-menu/gux-menu/gux-menu-option/gux-menu-option.js +1 -1
  305. package/dist/collection/components/stable/gux-flyout-menu/gux-menu/gux-menu.js +1 -1
  306. package/dist/collection/components/stable/gux-flyout-menu/gux-menu/gux-submenu/gux-submenu.js +3 -3
  307. package/dist/collection/components/stable/gux-form-field/components/gux-form-field-checkbox/gux-form-field-checkbox.js +2 -2
  308. package/dist/collection/components/stable/gux-form-field/components/gux-form-field-checkbox-group/gux-form-field-checkbox-group.js +2 -2
  309. package/dist/collection/components/stable/gux-form-field/components/gux-form-field-color/gux-form-field-color.js +3 -3
  310. package/dist/collection/components/stable/gux-form-field/components/gux-form-field-dropdown/gux-form-field-dropdown.js +3 -3
  311. package/dist/collection/components/stable/gux-form-field/components/gux-form-field-file/gux-form-field-file.js +1 -1
  312. package/dist/collection/components/stable/gux-form-field/components/gux-form-field-file-beta/components/gux-file-list-item/gux-file-list-item.js +2 -2
  313. package/dist/collection/components/stable/gux-form-field/components/gux-form-field-file-beta/gux-form-field-file.js +1 -1
  314. package/dist/collection/components/stable/gux-form-field/components/gux-form-field-number/gux-form-field-number.js +3 -3
  315. package/dist/collection/components/stable/gux-form-field/components/gux-form-field-phone/gux-form-field-phone.js +4 -4
  316. package/dist/collection/components/stable/gux-form-field/components/gux-form-field-radio/gux-form-field-radio.js +2 -2
  317. package/dist/collection/components/stable/gux-form-field/components/gux-form-field-radio-group/gux-form-field-radio-group.js +2 -2
  318. package/dist/collection/components/stable/gux-form-field/components/gux-form-field-range/gux-form-field-range.js +2 -2
  319. package/dist/collection/components/stable/gux-form-field/components/gux-form-field-search/gux-form-field-search.js +3 -3
  320. package/dist/collection/components/stable/gux-form-field/components/gux-form-field-select/gux-form-field-select.js +3 -3
  321. package/dist/collection/components/stable/gux-form-field/components/gux-form-field-text-like/gux-form-field-text-like.js +3 -3
  322. package/dist/collection/components/stable/gux-form-field/components/gux-form-field-textarea/gux-form-field-textarea.js +2 -2
  323. package/dist/collection/components/stable/gux-form-field/components/gux-form-field-time-picker/gux-form-field-time-picker.js +4 -4
  324. package/dist/collection/components/stable/gux-form-field/components/gux-form-field-time-zone-picker/gux-form-field-time-zone-picker.js +3 -3
  325. package/dist/collection/components/stable/gux-form-field/helper-components/gux-form-field-input-clear-button/gux-form-field-input-clear-button.js +1 -1
  326. package/dist/collection/components/stable/gux-icon/gux-icon.js +1 -1
  327. package/dist/collection/components/stable/gux-inline-alert/gux-inline-alert.js +2 -2
  328. package/dist/collection/components/stable/gux-list/gux-list-divider/gux-list-divider.js +1 -1
  329. package/dist/collection/components/stable/gux-list/gux-list-item/gux-list-item.js +1 -1
  330. package/dist/collection/components/stable/gux-list/gux-list.js +1 -1
  331. package/dist/collection/components/stable/gux-listbox/option-group/gux-option-group.js +1 -1
  332. package/dist/collection/components/stable/gux-listbox/options/gux-option/gux-option.js +2 -2
  333. package/dist/collection/components/stable/gux-listbox/options/gux-option-icon/gux-option-icon.js +2 -2
  334. package/dist/collection/components/stable/gux-listbox-multi/gux-create-option/gux-create-option.css +0 -8
  335. package/dist/collection/components/stable/gux-listbox-multi/gux-create-option/gux-create-option.js +3 -3
  336. package/dist/collection/components/stable/gux-listbox-multi/gux-option-multi/gux-option-multi.css +0 -8
  337. package/dist/collection/components/stable/gux-listbox-multi/gux-option-multi/gux-option-multi.js +3 -3
  338. package/dist/collection/components/stable/gux-listbox-multi/gux-select-all/gux-select-all.js +2 -2
  339. package/dist/collection/components/stable/gux-loading-message/gux-loading-message.js +1 -1
  340. package/dist/collection/components/stable/gux-modal/gux-modal.js +1 -1
  341. package/dist/collection/components/stable/gux-page-loading-spinner/gux-page-loading-spinner.js +1 -1
  342. package/dist/collection/components/stable/gux-pagination/gux-pagination-buttons/gux-pagination-buttons.js +1 -1
  343. package/dist/collection/components/stable/gux-pagination/gux-pagination-buttons/gux-pagination-ellipsis-button/gux-pagination-ellipsis-button.js +4 -4
  344. package/dist/collection/components/stable/gux-pagination/gux-pagination-item-counts/gux-pagination-item-counts.js +2 -2
  345. package/dist/collection/components/stable/gux-pagination/gux-pagination-items-per-page/gux-pagination-items-per-page.js +1 -1
  346. package/dist/collection/components/stable/gux-pagination/gux-pagination.js +1 -1
  347. package/dist/collection/components/stable/gux-popover/gux-popover.js +2 -2
  348. package/dist/collection/components/stable/gux-popover-list/gux-popover-list.js +2 -2
  349. package/dist/collection/components/stable/gux-popup/gux-popup.js +3 -3
  350. package/dist/collection/components/stable/gux-radial-loading/gux-radial-loading.js +1 -1
  351. package/dist/collection/components/stable/gux-rating/gux-rating.js +1 -1
  352. package/dist/collection/components/stable/gux-skip-navigation-list/gux-skip-navigation-item/gux-skip-navigation-item.js +1 -1
  353. package/dist/collection/components/stable/gux-skip-navigation-list/gux-skip-navigation-list.js +1 -1
  354. package/dist/collection/components/stable/gux-table/gux-all-row-select/gux-all-row-select.js +1 -1
  355. package/dist/collection/components/stable/gux-table/gux-row-select/gux-row-select.js +2 -2
  356. package/dist/collection/components/stable/gux-table/gux-sort-control/gux-sort-control.js +2 -2
  357. package/dist/collection/components/stable/gux-table/gux-table-select-menu/gux-table-select-menu.js +1 -1
  358. package/dist/collection/components/stable/gux-table/gux-table.js +1 -1
  359. package/dist/collection/components/stable/gux-table-toolbar/gux-table-toolbar-action/gux-table-toolbar-action.js +1 -1
  360. package/dist/collection/components/stable/gux-table-toolbar/gux-table-toolbar-custom-action/gux-table-toolbar-custom-action.js +1 -1
  361. package/dist/collection/components/stable/gux-table-toolbar/gux-table-toolbar-menu-button/gux-table-toolbar-menu-button.js +1 -1
  362. package/dist/collection/components/stable/gux-table-toolbar/gux-table-toolbar.js +2 -2
  363. package/dist/collection/components/stable/gux-tabs/gux-tab/gux-tab.js +2 -2
  364. package/dist/collection/components/stable/gux-tabs/gux-tab-list/gux-tab-list.js +2 -2
  365. package/dist/collection/components/stable/gux-tabs/gux-tab-panel/gux-tab-panel.js +1 -1
  366. package/dist/collection/components/stable/gux-tabs/gux-tabs.js +1 -1
  367. package/dist/collection/components/stable/gux-tabs-advanced/gux-tab-advanced/gux-tab-advanced.js +2 -2
  368. package/dist/collection/components/stable/gux-tabs-advanced/gux-tab-advanced-list/gux-tab-advanced-list.js +1 -1
  369. package/dist/collection/components/stable/gux-tabs-advanced/gux-tab-advanced-panel/gux-tab-advanced-panel.js +1 -1
  370. package/dist/collection/components/stable/gux-tabs-advanced/gux-tabs-advanced.js +1 -1
  371. package/dist/collection/components/stable/gux-tag/gux-tag.js +1 -1
  372. package/dist/collection/components/stable/gux-time-picker/gux-time-picker.js +1 -1
  373. package/dist/collection/components/stable/gux-toast/gux-toast.js +2 -2
  374. package/dist/collection/components/stable/gux-toggle/gux-toggle-slider/gux-toggle-slider.js +2 -2
  375. package/dist/collection/components/stable/gux-toggle/gux-toggle.js +2 -2
  376. package/dist/collection/components/stable/gux-tooltip/gux-tooltip.js +2 -2
  377. package/dist/collection/components/stable/gux-tooltip-title/gux-tooltip-title.js +2 -2
  378. package/dist/collection/components/stable/gux-truncate/gux-truncate.js +3 -3
  379. package/dist/esm/genesys-webcomponents.js +1 -1
  380. package/dist/esm/gux-accordion-section.entry.js +5 -5
  381. package/dist/esm/gux-accordion.entry.js +2 -2
  382. package/dist/esm/gux-action-button.entry.js +2 -2
  383. package/dist/esm/gux-action-toast-legacy.entry.js +2 -2
  384. package/dist/esm/gux-actionable-inline-alert-beta.entry.js +31 -0
  385. package/dist/esm/gux-advanced-dropdown-legacy.entry.js +3 -3
  386. package/dist/esm/gux-all-row-select.entry.js +1 -1
  387. package/dist/esm/gux-announce-beta.entry.js +2 -2
  388. package/dist/esm/gux-avatar-beta.entry.js +3 -3
  389. package/dist/esm/gux-avatar-change-photo-beta.entry.js +2 -2
  390. package/dist/esm/gux-avatar-focusable-beta.entry.js +1 -1
  391. package/dist/esm/gux-avatar-group-add-item-beta_3.entry.js +6 -6
  392. package/dist/esm/gux-avatar-group-beta.entry.js +2 -2
  393. package/dist/esm/gux-avatar-group-item-beta.entry.js +3 -3
  394. package/dist/esm/gux-badge.entry.js +4 -4
  395. package/dist/esm/gux-blank-state-beta.entry.js +3 -3
  396. package/dist/esm/gux-blank-state.entry.js +2 -2
  397. package/dist/esm/gux-branch-multi.entry.js +3 -3
  398. package/dist/esm/gux-branch.entry.js +2 -2
  399. package/dist/esm/gux-breadcrumb-item.entry.js +1 -1
  400. package/dist/esm/gux-breadcrumbs.entry.js +2 -2
  401. package/dist/esm/gux-button-multi.entry.js +2 -2
  402. package/dist/esm/gux-button-slot.entry.js +2 -2
  403. package/dist/esm/gux-button_2.entry.js +5 -5
  404. package/dist/esm/gux-calendar-beta.entry.js +1 -1
  405. package/dist/esm/gux-calendar.entry.js +4 -4
  406. package/dist/esm/gux-card.entry.js +3 -3
  407. package/dist/esm/gux-cloud-logo-beta.entry.js +2 -2
  408. package/dist/esm/gux-cloud-logomark-beta.entry.js +2 -2
  409. package/dist/esm/gux-column-manager-item.entry.js +3 -3
  410. package/dist/esm/gux-column-manager.entry.js +2 -2
  411. package/dist/esm/gux-content-search.entry.js +3 -3
  412. package/dist/esm/gux-context-menu.entry.js +3 -3
  413. package/dist/esm/gux-copy-to-clipboard.entry.js +2 -2
  414. package/dist/esm/gux-create-option.entry.js +4 -4
  415. package/dist/esm/gux-cta-group.entry.js +1 -1
  416. package/dist/esm/gux-date-beta.entry.js +2 -2
  417. package/dist/esm/gux-date-time-beta.entry.js +2 -2
  418. package/dist/esm/gux-datepicker.entry.js +18 -2
  419. package/dist/esm/gux-day-beta.entry.js +2 -2
  420. package/dist/esm/gux-disclosure-button-legacy.entry.js +3 -3
  421. package/dist/esm/gux-dismiss-button.entry.js +3 -3
  422. package/dist/esm/gux-dropdown-multi-tag.entry.js +1 -1
  423. package/dist/esm/gux-dropdown-multi.entry.js +5 -5
  424. package/dist/esm/gux-dropdown-option.entry.js +1 -1
  425. package/dist/esm/gux-dropdown_3.entry.js +4 -4
  426. package/dist/esm/gux-file-list-item.entry.js +3 -3
  427. package/dist/esm/gux-flag-icon-beta.entry.js +2 -2
  428. package/dist/esm/gux-flyout-menu.entry.js +3 -3
  429. package/dist/esm/gux-form-beta.entry.js +1 -1
  430. package/dist/esm/gux-form-description.entry.js +1 -1
  431. package/dist/esm/gux-form-field-checkbox-group-beta.entry.js +3 -3
  432. package/dist/esm/gux-form-field-checkbox.entry.js +3 -3
  433. package/dist/esm/gux-form-field-color.entry.js +4 -4
  434. package/dist/esm/gux-form-field-dropdown.entry.js +4 -4
  435. package/dist/esm/gux-form-field-file-beta.entry.js +2 -2
  436. package/dist/esm/gux-form-field-file.entry.js +2 -2
  437. package/dist/esm/gux-form-field-input-clear-button.entry.js +2 -2
  438. package/dist/esm/gux-form-field-label-indicator.entry.js +1 -1
  439. package/dist/esm/gux-form-field-number_2.entry.js +8 -8
  440. package/dist/esm/gux-form-field-phone.entry.js +5 -5
  441. package/dist/esm/gux-form-field-radio-group-beta.entry.js +3 -3
  442. package/dist/esm/gux-form-field-radio.entry.js +3 -3
  443. package/dist/esm/gux-form-field-range.entry.js +3 -3
  444. package/dist/esm/gux-form-field-search.entry.js +4 -4
  445. package/dist/esm/gux-form-field-select.entry.js +4 -4
  446. package/dist/esm/gux-form-field-text-like.entry.js +4 -4
  447. package/dist/esm/gux-form-field-textarea.entry.js +3 -3
  448. package/dist/esm/gux-form-field-time-picker.entry.js +5 -5
  449. package/dist/esm/gux-form-field-time-zone-picker.entry.js +4 -4
  450. package/dist/esm/gux-form-fieldset-heading.entry.js +1 -1
  451. package/dist/esm/gux-form-footer.entry.js +3 -3
  452. package/dist/esm/gux-form-heading.entry.js +1 -1
  453. package/dist/esm/gux-icon-tooltip-beta.entry.js +2 -2
  454. package/dist/esm/gux-icon.entry.js +2 -2
  455. package/dist/esm/gux-illustration-beta.entry.js +3 -3
  456. package/dist/esm/gux-inline-alert.entry.js +3 -3
  457. package/dist/esm/gux-inline-dropdown-beta.entry.js +2 -2
  458. package/dist/esm/gux-label-info-beta.entry.js +2 -2
  459. package/dist/esm/gux-leaf-multi.entry.js +2 -2
  460. package/dist/esm/gux-leaf.entry.js +2 -2
  461. package/dist/esm/gux-link-beta.entry.js +2 -2
  462. package/dist/esm/gux-list-divider.entry.js +1 -1
  463. package/dist/esm/gux-list-item.entry.js +1 -1
  464. package/dist/esm/gux-list.entry.js +2 -2
  465. package/dist/esm/gux-listbox-multi.entry.js +1 -1
  466. package/dist/esm/gux-loading-message.entry.js +2 -2
  467. package/dist/esm/gux-logo-beta.entry.js +4 -4
  468. package/dist/esm/gux-logomark-beta.entry.js +2 -2
  469. package/dist/esm/gux-menu-option.entry.js +1 -1
  470. package/dist/esm/gux-menu.entry.js +1 -1
  471. package/dist/esm/gux-modal-legacy.entry.js +3 -3
  472. package/dist/esm/gux-modal-side-panel-beta.entry.js +2 -2
  473. package/dist/esm/gux-modal.entry.js +2 -2
  474. package/dist/esm/gux-month-calendar.entry.js +1 -1
  475. package/dist/esm/gux-month-list_2.entry.js +2 -2
  476. package/dist/esm/gux-month-picker-beta.entry.js +2 -2
  477. package/dist/esm/gux-notification-toast-legacy.entry.js +2 -2
  478. package/dist/esm/gux-option-group-beta.entry.js +1 -1
  479. package/dist/esm/gux-option-icon.entry.js +2 -2
  480. package/dist/esm/gux-option-multi.entry.js +4 -4
  481. package/dist/esm/gux-option-status-beta.entry.js +2 -2
  482. package/dist/esm/gux-page-loading-spinner.entry.js +2 -2
  483. package/dist/esm/gux-pagination-buttons-legacy_3.entry.js +4 -4
  484. package/dist/esm/gux-pagination-buttons_2.entry.js +3 -3
  485. package/dist/esm/gux-pagination-cursor.entry.js +1 -1
  486. package/dist/esm/gux-pagination-items-per-page.entry.js +1 -1
  487. package/dist/esm/gux-pagination-legacy.entry.js +2 -2
  488. package/dist/esm/gux-pagination.entry.js +2 -2
  489. package/dist/esm/gux-phone-input-beta.entry.js +2 -2
  490. package/dist/esm/gux-popover-beta.entry.js +3 -3
  491. package/dist/esm/gux-popover-list-beta.entry.js +3 -3
  492. package/dist/esm/gux-popover-list.entry.js +3 -3
  493. package/dist/esm/gux-popup.entry.js +3 -3
  494. package/dist/esm/gux-prompt-input-beta.entry.js +3 -3
  495. package/dist/esm/gux-radial-loading.entry.js +2 -2
  496. package/dist/esm/gux-radial-progress.entry.js +1 -1
  497. package/dist/esm/gux-rating.entry.js +2 -2
  498. package/dist/esm/gux-rich-highlight-list-item.entry.js +3 -3
  499. package/dist/esm/gux-rich-style-list-item_3.entry.js +6 -6
  500. package/dist/esm/gux-rich-text-editor-action-group.entry.js +1 -1
  501. package/dist/esm/gux-rich-text-editor-action-link.entry.js +2 -2
  502. package/dist/esm/gux-rich-text-editor-action-rich-style.entry.js +2 -2
  503. package/dist/esm/gux-rich-text-editor-action-text-highlight.entry.js +2 -2
  504. package/dist/esm/gux-rich-text-editor-action.entry.js +1 -1
  505. package/dist/esm/gux-rich-text-editor-beta.entry.js +3 -3
  506. package/dist/esm/gux-rich-text-editor-list.entry.js +2 -2
  507. package/dist/esm/gux-row-select.entry.js +2 -2
  508. package/dist/esm/gux-screen-reader-beta.entry.js +7 -2
  509. package/dist/esm/gux-segmented-control-beta.entry.js +2 -2
  510. package/dist/esm/gux-segmented-control-divider.entry.js +1 -1
  511. package/dist/esm/gux-segmented-control-item.entry.js +4 -4
  512. package/dist/esm/gux-select-all.entry.js +2 -2
  513. package/dist/esm/gux-selector-card-beta.entry.js +5 -5
  514. package/dist/esm/gux-selector-cards-beta.entry.js +2 -2
  515. package/dist/esm/gux-side-panel-beta.entry.js +3 -3
  516. package/dist/esm/gux-side-panel-header.entry.js +2 -2
  517. package/dist/esm/gux-side-panel-heading.entry.js +2 -2
  518. package/dist/esm/gux-simple-toast-legacy.entry.js +2 -2
  519. package/dist/esm/gux-skip-navigation-item.entry.js +1 -1
  520. package/dist/esm/gux-skip-navigation-list.entry.js +2 -2
  521. package/dist/esm/gux-sort-control.entry.js +3 -3
  522. package/dist/esm/gux-status-indicator-beta.entry.js +2 -2
  523. package/dist/esm/gux-step-title.entry.js +2 -2
  524. package/dist/esm/gux-step.entry.js +4 -4
  525. package/dist/esm/gux-stepper-beta.entry.js +3 -3
  526. package/dist/esm/gux-submenu.entry.js +3 -3
  527. package/dist/esm/gux-switch-item.entry.js +1 -1
  528. package/dist/esm/gux-switch-legacy.entry.js +2 -2
  529. package/dist/esm/gux-tab-advanced-list.entry.js +1 -1
  530. package/dist/esm/gux-tab-advanced-panel.entry.js +1 -1
  531. package/dist/esm/gux-tab-advanced.entry.js +2 -2
  532. package/dist/esm/gux-tab-list.entry.js +2 -2
  533. package/dist/esm/gux-tab-panel.entry.js +1 -1
  534. package/dist/esm/gux-tab.entry.js +2 -2
  535. package/dist/esm/gux-table-select-menu.entry.js +1 -1
  536. package/dist/esm/gux-table-toolbar-action.entry.js +2 -2
  537. package/dist/esm/gux-table-toolbar-custom-action.entry.js +2 -2
  538. package/dist/esm/gux-table-toolbar-menu-button.entry.js +2 -2
  539. package/dist/esm/gux-table-toolbar.entry.js +3 -3
  540. package/dist/esm/gux-table.entry.js +2 -2
  541. package/dist/esm/gux-tabs-advanced.entry.js +2 -2
  542. package/dist/esm/gux-tabs.entry.js +2 -2
  543. package/dist/esm/gux-tag.entry.js +2 -2
  544. package/dist/esm/gux-text-highlight.entry.js +1 -1
  545. package/dist/esm/gux-time-beta.entry.js +2 -2
  546. package/dist/esm/gux-time-picker.entry.js +2 -2
  547. package/dist/esm/gux-time-zone-beta.entry.js +2 -2
  548. package/dist/esm/gux-time-zone-picker-beta.entry.js +3 -3
  549. package/dist/esm/gux-toast.entry.js +3 -3
  550. package/dist/esm/gux-toggle-slider.entry.js +2 -2
  551. package/dist/esm/gux-toggle.entry.js +3 -3
  552. package/dist/esm/gux-tooltip-base-beta_2.entry.js +4 -4
  553. package/dist/esm/gux-tooltip-pointer-beta.entry.js +2 -2
  554. package/dist/esm/gux-tooltip-title.entry.js +2 -2
  555. package/dist/esm/gux-tooltip_2.entry.js +6 -6
  556. package/dist/esm/gux-tree-beta.entry.js +3 -3
  557. package/dist/esm/gux-tree-multi-beta.entry.js +3 -3
  558. package/dist/esm/index-mm833MRp.js +8 -4
  559. package/dist/esm/loader.js +1 -1
  560. package/dist/esm/{usage-Bk9hX_6O.js → usage-DoCK5APt.js} +1 -1
  561. package/dist/genesys-webcomponents/genesys-webcomponents-legacy.css +1 -1
  562. package/dist/genesys-webcomponents/genesys-webcomponents.esm.js +1 -1
  563. package/dist/genesys-webcomponents/{p-8d6ed0bb.entry.js → p-00a3713d.entry.js} +1 -1
  564. package/dist/genesys-webcomponents/p-00b2a3ba.entry.js +1 -0
  565. package/dist/genesys-webcomponents/p-00b6211d.entry.js +1 -0
  566. package/dist/genesys-webcomponents/{p-77e16378.entry.js → p-00dfd1ab.entry.js} +1 -1
  567. package/dist/genesys-webcomponents/{p-ede10314.entry.js → p-01be2067.entry.js} +1 -1
  568. package/dist/genesys-webcomponents/{p-ade4ba99.entry.js → p-01ebd158.entry.js} +1 -1
  569. package/dist/genesys-webcomponents/{p-791c159e.entry.js → p-04fdea31.entry.js} +1 -1
  570. package/dist/genesys-webcomponents/{p-4350f7bc.entry.js → p-0588dda8.entry.js} +1 -1
  571. package/dist/genesys-webcomponents/{p-cdb721d8.entry.js → p-06f49a16.entry.js} +1 -1
  572. package/dist/genesys-webcomponents/{p-b892cde5.entry.js → p-079fa243.entry.js} +1 -1
  573. package/dist/genesys-webcomponents/{p-fb7ec589.entry.js → p-07e5b6e9.entry.js} +1 -1
  574. package/dist/genesys-webcomponents/{p-9e7c72ef.entry.js → p-08211e4a.entry.js} +1 -1
  575. package/dist/genesys-webcomponents/{p-149c0790.entry.js → p-08709d24.entry.js} +1 -1
  576. package/dist/genesys-webcomponents/{p-5d8114f4.entry.js → p-08b446fb.entry.js} +1 -1
  577. package/dist/genesys-webcomponents/p-0919f815.entry.js +1 -0
  578. package/dist/genesys-webcomponents/{p-96e984bd.entry.js → p-0939f0ea.entry.js} +1 -1
  579. package/dist/genesys-webcomponents/{p-19040d1c.entry.js → p-0941fc32.entry.js} +1 -1
  580. package/dist/genesys-webcomponents/{p-f26230e7.entry.js → p-0a2812fb.entry.js} +1 -1
  581. package/dist/genesys-webcomponents/{p-dbe2fed8.entry.js → p-0a95be21.entry.js} +1 -1
  582. package/dist/genesys-webcomponents/{p-68826892.entry.js → p-0a98af46.entry.js} +1 -1
  583. package/dist/genesys-webcomponents/{p-2236e4f5.entry.js → p-0ad56303.entry.js} +1 -1
  584. package/dist/genesys-webcomponents/p-0ff2e33a.entry.js +1 -0
  585. package/dist/genesys-webcomponents/p-12934524.entry.js +1 -0
  586. package/dist/genesys-webcomponents/p-13cebbf5.entry.js +1 -0
  587. package/dist/genesys-webcomponents/{p-04431ed6.entry.js → p-17f39292.entry.js} +1 -1
  588. package/dist/genesys-webcomponents/p-1879c288.entry.js +1 -0
  589. package/dist/genesys-webcomponents/p-1b4086ce.entry.js +1 -0
  590. package/dist/genesys-webcomponents/p-1b7fdf11.entry.js +1 -0
  591. package/dist/genesys-webcomponents/{p-fc6234ce.entry.js → p-1bdf0283.entry.js} +1 -1
  592. package/dist/genesys-webcomponents/{p-1d3ebb8c.entry.js → p-1c07443f.entry.js} +1 -1
  593. package/dist/genesys-webcomponents/{p-ea40f5b2.entry.js → p-1e6372f3.entry.js} +1 -1
  594. package/dist/genesys-webcomponents/{p-b98a9f78.entry.js → p-1f7a5b63.entry.js} +1 -1
  595. package/dist/genesys-webcomponents/{p-0cbff9e9.entry.js → p-1fe4acbf.entry.js} +1 -1
  596. package/dist/genesys-webcomponents/{p-024c5bd7.entry.js → p-247cc10a.entry.js} +1 -1
  597. package/dist/genesys-webcomponents/p-24c86f19.entry.js +1 -0
  598. package/dist/genesys-webcomponents/{p-f60dd4e1.entry.js → p-25828bc3.entry.js} +1 -1
  599. package/dist/genesys-webcomponents/{p-4e5d7bcb.entry.js → p-25ffb673.entry.js} +1 -1
  600. package/dist/genesys-webcomponents/{p-71d25073.entry.js → p-27689070.entry.js} +1 -1
  601. package/dist/genesys-webcomponents/{p-df4ac31b.entry.js → p-280df72c.entry.js} +1 -1
  602. package/dist/genesys-webcomponents/p-28983ee7.entry.js +1 -0
  603. package/dist/genesys-webcomponents/{p-5f4d960f.entry.js → p-2db158bc.entry.js} +1 -1
  604. package/dist/genesys-webcomponents/p-2eda67c9.entry.js +1 -0
  605. package/dist/genesys-webcomponents/p-31185235.entry.js +1 -0
  606. package/dist/genesys-webcomponents/{p-9eaaa1c0.entry.js → p-32544537.entry.js} +1 -1
  607. package/dist/genesys-webcomponents/p-3458117d.entry.js +1 -0
  608. package/dist/genesys-webcomponents/p-36b84025.entry.js +1 -0
  609. package/dist/genesys-webcomponents/p-36ce3627.entry.js +1 -0
  610. package/dist/genesys-webcomponents/{p-82f103c4.entry.js → p-37850953.entry.js} +1 -1
  611. package/dist/genesys-webcomponents/p-37ab9e8b.entry.js +1 -0
  612. package/dist/genesys-webcomponents/{p-dd9d3bc9.entry.js → p-3e72a6b5.entry.js} +1 -1
  613. package/dist/genesys-webcomponents/{p-2ed010a8.entry.js → p-3fb4c8fe.entry.js} +1 -1
  614. package/dist/genesys-webcomponents/{p-d9ba561a.entry.js → p-3fbb6346.entry.js} +1 -1
  615. package/dist/genesys-webcomponents/{p-47ba2493.entry.js → p-416295ef.entry.js} +1 -1
  616. package/dist/genesys-webcomponents/{p-ee14d94c.entry.js → p-42ccbda4.entry.js} +1 -1
  617. package/dist/genesys-webcomponents/{p-7a3b6441.entry.js → p-442ec2a2.entry.js} +1 -1
  618. package/dist/genesys-webcomponents/{p-37b38bcc.entry.js → p-444573d8.entry.js} +1 -1
  619. package/dist/genesys-webcomponents/{p-367ea289.entry.js → p-4c00012c.entry.js} +1 -1
  620. package/dist/genesys-webcomponents/p-4c171fbc.entry.js +1 -0
  621. package/dist/genesys-webcomponents/{p-72be9416.entry.js → p-4c347281.entry.js} +1 -1
  622. package/dist/genesys-webcomponents/{p-869cbfef.entry.js → p-4d3d0336.entry.js} +1 -1
  623. package/dist/genesys-webcomponents/p-4eb5e018.entry.js +1 -0
  624. package/dist/genesys-webcomponents/p-4ef946d8.entry.js +1 -0
  625. package/dist/genesys-webcomponents/{p-c1db307f.entry.js → p-4f0ebdc2.entry.js} +1 -1
  626. package/dist/genesys-webcomponents/{p-dc1fee05.entry.js → p-5099bb27.entry.js} +1 -1
  627. package/dist/genesys-webcomponents/{p-abb54abc.entry.js → p-536aa705.entry.js} +1 -1
  628. package/dist/genesys-webcomponents/{p-bef8cc12.entry.js → p-5395c66c.entry.js} +1 -1
  629. package/dist/genesys-webcomponents/{p-d3b1d624.entry.js → p-54812dcf.entry.js} +1 -1
  630. package/dist/genesys-webcomponents/p-54be6d50.entry.js +1 -0
  631. package/dist/genesys-webcomponents/p-5af34eb8.entry.js +1 -0
  632. package/dist/genesys-webcomponents/p-5b04716a.entry.js +1 -0
  633. package/dist/genesys-webcomponents/p-5cbc47ac.entry.js +1 -0
  634. package/dist/genesys-webcomponents/{p-743e60e7.entry.js → p-5debd4e9.entry.js} +1 -1
  635. package/dist/genesys-webcomponents/p-60ab0bb6.entry.js +1 -0
  636. package/dist/genesys-webcomponents/{p-6b20aa19.entry.js → p-61825e54.entry.js} +1 -1
  637. package/dist/genesys-webcomponents/{p-90110fb2.entry.js → p-6189dea0.entry.js} +1 -1
  638. package/dist/genesys-webcomponents/p-6334fb93.entry.js +1 -0
  639. package/dist/genesys-webcomponents/{p-6419f6ef.entry.js → p-63e24ee5.entry.js} +1 -1
  640. package/dist/genesys-webcomponents/p-64433351.entry.js +1 -0
  641. package/dist/genesys-webcomponents/p-653a4d77.entry.js +1 -0
  642. package/dist/genesys-webcomponents/{p-c4dee7b9.entry.js → p-65508ddc.entry.js} +1 -1
  643. package/dist/genesys-webcomponents/{p-2501d280.entry.js → p-656a2bf9.entry.js} +1 -1
  644. package/dist/genesys-webcomponents/p-6685bc71.entry.js +1 -0
  645. package/dist/genesys-webcomponents/{p-2d2af6d1.entry.js → p-6708ec2f.entry.js} +1 -1
  646. package/dist/genesys-webcomponents/p-69782192.entry.js +1 -0
  647. package/dist/genesys-webcomponents/p-6a4b8561.entry.js +1 -0
  648. package/dist/genesys-webcomponents/{p-b2d1ecce.entry.js → p-6b7ac088.entry.js} +1 -1
  649. package/dist/genesys-webcomponents/{p-9bfab72c.entry.js → p-6d2b8301.entry.js} +1 -1
  650. package/dist/genesys-webcomponents/{p-32f17393.entry.js → p-6d8db6e9.entry.js} +1 -1
  651. package/dist/genesys-webcomponents/{p-013e3c33.entry.js → p-6fddc0f6.entry.js} +1 -1
  652. package/dist/genesys-webcomponents/{p-10260c86.entry.js → p-73fdaf15.entry.js} +1 -1
  653. package/dist/genesys-webcomponents/{p-8a7fe03e.entry.js → p-7757e81b.entry.js} +1 -1
  654. package/dist/genesys-webcomponents/{p-73b5d09a.entry.js → p-77875b92.entry.js} +1 -1
  655. package/dist/genesys-webcomponents/p-79852d37.entry.js +1 -0
  656. package/dist/genesys-webcomponents/p-799c724d.entry.js +1 -0
  657. package/dist/genesys-webcomponents/{p-9607d0ae.entry.js → p-80684a11.entry.js} +1 -1
  658. package/dist/genesys-webcomponents/{p-78e4a090.entry.js → p-813113d7.entry.js} +1 -1
  659. package/dist/genesys-webcomponents/{p-67ae6c31.entry.js → p-819c8ccb.entry.js} +1 -1
  660. package/dist/genesys-webcomponents/{p-545bc747.entry.js → p-8377adb8.entry.js} +1 -1
  661. package/dist/genesys-webcomponents/{p-77ddb8e9.entry.js → p-85cb1418.entry.js} +1 -1
  662. package/dist/genesys-webcomponents/{p-ae3a0ed8.entry.js → p-88401bc4.entry.js} +1 -1
  663. package/dist/genesys-webcomponents/p-89ce9bb2.entry.js +1 -0
  664. package/dist/genesys-webcomponents/{p-e902c696.entry.js → p-8a3672d4.entry.js} +1 -1
  665. package/dist/genesys-webcomponents/{p-4b5e919b.entry.js → p-8d9f0567.entry.js} +1 -1
  666. package/dist/genesys-webcomponents/p-8f188769.entry.js +1 -0
  667. package/dist/genesys-webcomponents/p-8f58d51c.entry.js +1 -0
  668. package/dist/genesys-webcomponents/{p-18a14293.entry.js → p-9042c661.entry.js} +1 -1
  669. package/dist/genesys-webcomponents/{p-abfec18e.entry.js → p-91bc8433.entry.js} +1 -1
  670. package/dist/genesys-webcomponents/{p-981cdb0b.entry.js → p-930ad3f9.entry.js} +1 -1
  671. package/dist/genesys-webcomponents/{p-0f3b84f0.entry.js → p-93ef8e35.entry.js} +1 -1
  672. package/dist/genesys-webcomponents/{p-5cff9d1c.entry.js → p-941b1040.entry.js} +1 -1
  673. package/dist/genesys-webcomponents/{p-250391fe.entry.js → p-9649fd54.entry.js} +1 -1
  674. package/dist/genesys-webcomponents/{p-20c7d0fb.entry.js → p-977f984c.entry.js} +1 -1
  675. package/dist/genesys-webcomponents/{p-09f33fd5.entry.js → p-983ce4c3.entry.js} +1 -1
  676. package/dist/genesys-webcomponents/p-99a500a5.entry.js +1 -0
  677. package/dist/genesys-webcomponents/{p-Bk9hX_6O.js → p-DoCK5APt.js} +1 -1
  678. package/dist/genesys-webcomponents/{p-f26867a3.entry.js → p-a2e4d2e6.entry.js} +1 -1
  679. package/dist/genesys-webcomponents/{p-85aa96c9.entry.js → p-a3568265.entry.js} +1 -1
  680. package/dist/genesys-webcomponents/{p-9f492956.entry.js → p-a48b88f2.entry.js} +1 -1
  681. package/dist/genesys-webcomponents/{p-4c2f1433.entry.js → p-a6622db5.entry.js} +1 -1
  682. package/dist/genesys-webcomponents/{p-34c655eb.entry.js → p-aa3be7c9.entry.js} +1 -1
  683. package/dist/genesys-webcomponents/{p-cd893268.entry.js → p-aa82c3d4.entry.js} +1 -1
  684. package/dist/genesys-webcomponents/{p-ca64f653.entry.js → p-ab6e7cf5.entry.js} +1 -1
  685. package/dist/genesys-webcomponents/p-ac896846.entry.js +1 -0
  686. package/dist/genesys-webcomponents/{p-e95226d1.entry.js → p-b1ae37c3.entry.js} +1 -1
  687. package/dist/genesys-webcomponents/{p-d7a2b347.entry.js → p-b1ffcd01.entry.js} +1 -1
  688. package/dist/genesys-webcomponents/p-b48586c7.entry.js +1 -0
  689. package/dist/genesys-webcomponents/{p-ee857ca7.entry.js → p-b4989afd.entry.js} +1 -1
  690. package/dist/genesys-webcomponents/{p-1c41349d.entry.js → p-b4bb68f6.entry.js} +1 -1
  691. package/dist/genesys-webcomponents/{p-a6077763.entry.js → p-b503ca1e.entry.js} +1 -1
  692. package/dist/genesys-webcomponents/{p-bc6e07cf.entry.js → p-b54fe578.entry.js} +1 -1
  693. package/dist/genesys-webcomponents/p-b5934643.entry.js +1 -0
  694. package/dist/genesys-webcomponents/{p-5a6accac.entry.js → p-b66f25d0.entry.js} +1 -1
  695. package/dist/genesys-webcomponents/{p-6111e683.entry.js → p-b6ea9a52.entry.js} +1 -1
  696. package/dist/genesys-webcomponents/{p-d47e350b.entry.js → p-b83cb21a.entry.js} +1 -1
  697. package/dist/genesys-webcomponents/{p-2661b07e.entry.js → p-b90cb5d9.entry.js} +1 -1
  698. package/dist/genesys-webcomponents/{p-54608dba.entry.js → p-bbfc6bac.entry.js} +1 -1
  699. package/dist/genesys-webcomponents/p-bda59bbc.entry.js +1 -0
  700. package/dist/genesys-webcomponents/{p-686a3f3c.entry.js → p-be34795b.entry.js} +1 -1
  701. package/dist/genesys-webcomponents/{p-ea2ad326.entry.js → p-c230db58.entry.js} +1 -1
  702. package/dist/genesys-webcomponents/{p-1ff8c4dc.entry.js → p-c2344d58.entry.js} +1 -1
  703. package/dist/genesys-webcomponents/{p-b3e3f1ec.entry.js → p-c5257704.entry.js} +1 -1
  704. package/dist/genesys-webcomponents/{p-1bd94bc5.entry.js → p-c5605e6b.entry.js} +1 -1
  705. package/dist/genesys-webcomponents/p-c7935611.entry.js +1 -0
  706. package/dist/genesys-webcomponents/{p-15694ab7.entry.js → p-c90134ca.entry.js} +1 -1
  707. package/dist/genesys-webcomponents/p-cb572067.entry.js +1 -0
  708. package/dist/genesys-webcomponents/{p-56eefc7c.entry.js → p-ccd4f67b.entry.js} +1 -1
  709. package/dist/genesys-webcomponents/{p-51afd986.entry.js → p-ccf96dcd.entry.js} +1 -1
  710. package/dist/genesys-webcomponents/{p-cf318744.entry.js → p-cd9f52c5.entry.js} +1 -1
  711. package/dist/genesys-webcomponents/{p-951e0b12.entry.js → p-cf0ea57d.entry.js} +1 -1
  712. package/dist/genesys-webcomponents/{p-3d4ebed0.entry.js → p-d12c344e.entry.js} +1 -1
  713. package/dist/genesys-webcomponents/p-d30f498b.entry.js +1 -0
  714. package/dist/genesys-webcomponents/{p-f413af7f.entry.js → p-d50398b3.entry.js} +1 -1
  715. package/dist/genesys-webcomponents/{p-6747cb6b.entry.js → p-d54b5116.entry.js} +1 -1
  716. package/dist/genesys-webcomponents/{p-189457b6.entry.js → p-d5bd41cb.entry.js} +1 -1
  717. package/dist/genesys-webcomponents/{p-4d4de998.entry.js → p-d70de704.entry.js} +1 -1
  718. package/dist/genesys-webcomponents/{p-eb5a48e9.entry.js → p-d7878724.entry.js} +1 -1
  719. package/dist/genesys-webcomponents/p-d93fcf1a.entry.js +1 -0
  720. package/dist/genesys-webcomponents/p-df5b0595.entry.js +1 -0
  721. package/dist/genesys-webcomponents/{p-163b7982.entry.js → p-e46783bd.entry.js} +1 -1
  722. package/dist/genesys-webcomponents/{p-0dacef46.entry.js → p-e631ad3f.entry.js} +1 -1
  723. package/dist/genesys-webcomponents/{p-e21679ab.entry.js → p-e8299630.entry.js} +1 -1
  724. package/dist/genesys-webcomponents/p-e871ffca.entry.js +1 -0
  725. package/dist/genesys-webcomponents/{p-09de7dec.entry.js → p-e8c7873d.entry.js} +1 -1
  726. package/dist/genesys-webcomponents/{p-682398bc.entry.js → p-e9b66742.entry.js} +1 -1
  727. package/dist/genesys-webcomponents/{p-ac905094.entry.js → p-ec8e68fe.entry.js} +1 -1
  728. package/dist/genesys-webcomponents/{p-5826fdec.entry.js → p-ece15381.entry.js} +1 -1
  729. package/dist/genesys-webcomponents/{p-d784f87d.entry.js → p-f2bb6551.entry.js} +1 -1
  730. package/dist/genesys-webcomponents/{p-1a6f96bc.entry.js → p-f341264a.entry.js} +1 -1
  731. package/dist/genesys-webcomponents/{p-e18193c8.entry.js → p-f3fa4beb.entry.js} +1 -1
  732. package/dist/genesys-webcomponents/{p-091f39f1.entry.js → p-f94fcba7.entry.js} +1 -1
  733. package/dist/genesys-webcomponents/{p-5e6a3b79.entry.js → p-f9b2523b.entry.js} +1 -1
  734. package/dist/genesys-webcomponents/{p-e3671880.entry.js → p-fa2eb679.entry.js} +1 -1
  735. package/dist/genesys-webcomponents/p-fb48386c.entry.js +1 -0
  736. package/dist/genesys-webcomponents/{p-f781f503.entry.js → p-fca63003.entry.js} +1 -1
  737. package/dist/genesys-webcomponents/{p-aff0c154.entry.js → p-fcc0564c.entry.js} +1 -1
  738. package/dist/genesys-webcomponents/{p-8a91eb6a.entry.js → p-fd3d9bd9.entry.js} +1 -1
  739. package/dist/genesys-webcomponents/{p-e92c1b8a.entry.js → p-fd7a2c16.entry.js} +1 -1
  740. package/dist/genesys-webcomponents/{p-bad949b8.entry.js → p-fe8dd26d.entry.js} +1 -1
  741. package/dist/genesys-webcomponents/p-ffe028eb.entry.js +1 -0
  742. package/dist/stencil-wrapper.js +1 -1
  743. package/dist/types/components/beta/gux-actionable-inline-alert/gux-actionable-inline-alert.d.ts +13 -0
  744. package/dist/types/components/beta/gux-actionable-inline-alert/tests/gux-actionable-inline-alert.common.d.ts +4 -0
  745. package/dist/types/components/beta/gux-screen-reader/gux-screen-reader.d.ts +4 -0
  746. package/dist/types/components/beta/gux-screen-reader/tests/gux-screen-reader.common.d.ts +1 -0
  747. package/dist/types/components/stable/gux-datepicker/gux-datepicker.d.ts +1 -0
  748. package/dist/types/components.d.ts +23 -0
  749. package/dist/types/stencil-wrapper.d.ts +1 -1
  750. package/package.json +6 -6
  751. package/dist/genesys-webcomponents/p-03897c15.entry.js +0 -1
  752. package/dist/genesys-webcomponents/p-09146dba.entry.js +0 -1
  753. package/dist/genesys-webcomponents/p-09649590.entry.js +0 -1
  754. package/dist/genesys-webcomponents/p-15f3a969.entry.js +0 -1
  755. package/dist/genesys-webcomponents/p-2a98b607.entry.js +0 -1
  756. package/dist/genesys-webcomponents/p-2fcc608f.entry.js +0 -1
  757. package/dist/genesys-webcomponents/p-321d85f8.entry.js +0 -1
  758. package/dist/genesys-webcomponents/p-349f1afa.entry.js +0 -1
  759. package/dist/genesys-webcomponents/p-36af37ae.entry.js +0 -1
  760. package/dist/genesys-webcomponents/p-38fc0f14.entry.js +0 -1
  761. package/dist/genesys-webcomponents/p-3e50360d.entry.js +0 -1
  762. package/dist/genesys-webcomponents/p-3e898719.entry.js +0 -1
  763. package/dist/genesys-webcomponents/p-3ecb4060.entry.js +0 -1
  764. package/dist/genesys-webcomponents/p-4485df35.entry.js +0 -1
  765. package/dist/genesys-webcomponents/p-459e19df.entry.js +0 -1
  766. package/dist/genesys-webcomponents/p-487b8a7f.entry.js +0 -1
  767. package/dist/genesys-webcomponents/p-4d7bea11.entry.js +0 -1
  768. package/dist/genesys-webcomponents/p-53a84f93.entry.js +0 -1
  769. package/dist/genesys-webcomponents/p-581d8bab.entry.js +0 -1
  770. package/dist/genesys-webcomponents/p-5cc0dc7b.entry.js +0 -1
  771. package/dist/genesys-webcomponents/p-64b8f3c0.entry.js +0 -1
  772. package/dist/genesys-webcomponents/p-7421a1b7.entry.js +0 -1
  773. package/dist/genesys-webcomponents/p-777c1a9e.entry.js +0 -1
  774. package/dist/genesys-webcomponents/p-780e2bbc.entry.js +0 -1
  775. package/dist/genesys-webcomponents/p-7a1645fa.entry.js +0 -1
  776. package/dist/genesys-webcomponents/p-7b4ccc02.entry.js +0 -1
  777. package/dist/genesys-webcomponents/p-873a4971.entry.js +0 -1
  778. package/dist/genesys-webcomponents/p-8ba208a6.entry.js +0 -1
  779. package/dist/genesys-webcomponents/p-98004717.entry.js +0 -1
  780. package/dist/genesys-webcomponents/p-9840f9d8.entry.js +0 -1
  781. package/dist/genesys-webcomponents/p-99e2e425.entry.js +0 -1
  782. package/dist/genesys-webcomponents/p-9a096d50.entry.js +0 -1
  783. package/dist/genesys-webcomponents/p-9a329638.entry.js +0 -1
  784. package/dist/genesys-webcomponents/p-a4d41223.entry.js +0 -1
  785. package/dist/genesys-webcomponents/p-ae67f863.entry.js +0 -1
  786. package/dist/genesys-webcomponents/p-b6e80839.entry.js +0 -1
  787. package/dist/genesys-webcomponents/p-bb323488.entry.js +0 -1
  788. package/dist/genesys-webcomponents/p-c2d2430e.entry.js +0 -1
  789. package/dist/genesys-webcomponents/p-cedfa7c0.entry.js +0 -1
  790. package/dist/genesys-webcomponents/p-d219d656.entry.js +0 -1
  791. package/dist/genesys-webcomponents/p-d4135044.entry.js +0 -1
  792. package/dist/genesys-webcomponents/p-dbdc447e.entry.js +0 -1
  793. package/dist/genesys-webcomponents/p-e0f750be.entry.js +0 -1
  794. package/dist/genesys-webcomponents/p-e34ce4a0.entry.js +0 -1
  795. package/dist/genesys-webcomponents/p-e5eea8aa.entry.js +0 -1
  796. package/dist/genesys-webcomponents/p-f9f43ca9.entry.js +0 -1
  797. package/dist/genesys-webcomponents/p-f9f5f4b9.entry.js +0 -1
  798. package/dist/genesys-webcomponents/p-ff393e3b.entry.js +0 -1
@@ -1 +1 @@
1
- import{r as t,c as e,f as s,d as i,h as a,H as h,a as o}from"./p-mm833MRp.js";import{b as n}from"./p-D_8CR3cJ.js";import{w as l}from"./p-kLXvN2m9.js";import{r}from"./p-D9jKBqIb.js";import{t as c}from"./p-Bk9hX_6O.js";import{t as d}from"./p-BIx814vt.js";import"./p-Cd4R0amv.js";const g=class{constructor(i){t(this,i),this.guxselectionchanged=e(this,"guxselectionchanged",7),this.guxsortchanged=e(this,"guxsortchanged",7),this.slotObserver=new MutationObserver((()=>{this.prepareSelectableRows(),s(this)})),this.tableId=r("gux-table"),this.columnsWidths={},this.isScroll=!1,this.columnResizeHover=!1,this.compact=!1,this.objectTable=!1}async componentWillLoad(){c(this.root),this.i18n=await n(this.root,d)}componentDidLoad(){this.resizableColumns&&this.prepareResizableColumns(),this.prepareSelectableRows(),i((()=>{this.checkScroll()})),!this.resizeObserver&&window.ResizeObserver&&(this.resizeObserver=new ResizeObserver((()=>{i((()=>{this.checkScroll()}))}))),this.resizeObserver&&(this.resizeObserver.observe(this.tableContainer),this.resizeObserver.observe(this.slottedTable)),this.slotObserver.observe(this.slottedTable,{subtree:!0,childList:!0})}checkScroll(){const t=this.tableContainer;this.isScroll=t.scrollHeight>t.clientHeight||t.scrollWidth>t.clientWidth}disconnectedCallback(){this.resizeObserver&&(this.resizeObserver.unobserve(this.tableContainer),this.resizeObserver.unobserve(this.slottedTable)),this.resizableColumns&&document.getElementById(`${this.tableId}-resizable-styles`).remove()}onInternalAllRowSelectChange(t){t.stopPropagation(),this.handleSelectAllRows(t.detail)}onInternalRowSelectChange(t){t.stopPropagation();const e=t.target;e.selected=t.detail,this.handleRowSelection(e)}onMouseMove(t){this.resizableColumns&&this.updateResizeState(t)}onMouseDown(t){this.resizableColumns&&this.maybeStartResizing(t)}onMouseUp(){this.resizableColumns&&this.stopResizing()}get tableContainer(){return this.root.shadowRoot.querySelector(".gux-table-container")}get slottedTable(){return this.root.querySelector('table[slot="data"]')}get tableRows(){return Array.from(this.slottedTable.querySelectorAll("tbody tr"))}get tableColumns(){return Array.from(this.slottedTable.querySelectorAll("thead th"))}get rowCheckboxes(){return Array.from(this.slottedTable.querySelectorAll("tbody tr td gux-row-select"))}get selectAllCheckbox(){return this.slottedTable.querySelector("thead tr th gux-all-row-select")}async getSelected(){return this.getSelectedInternal()}getSelectedInternal(){return{selectedRowIds:Array.from(this.rowCheckboxes).filter((t=>t.selected)).map((t=>t.closest("tr").getAttribute("data-row-id")))}}prepareSelectableRows(){this.rowCheckboxes.forEach((t=>{this.updateRowSelection(t)})),this.updateSelectAllBoxState()}updateSelectAllBoxState(){const t=this.selectAllCheckbox;if(t){const e=this.rowCheckboxes,s=e.filter((t=>!t.disabled)),i=s.filter((t=>t.selected)),a=Boolean(e.length),h=i.length===s.length,o=0===i.length;t.selected=a&&h,t.setIndeterminate(a&&!h&&!o)}}handleSelectAllRows(t){this.rowCheckboxes.forEach((e=>{e.disabled||(e.selected=t,this.updateRowSelection(e))})),this.emitSelectionEvent()}handleRowSelection(t){this.updateRowSelection(t),this.updateSelectAllBoxState(),this.emitSelectionEvent()}emitSelectionEvent(){this.guxselectionchanged.emit(this.getSelectedInternal())}updateRowSelection(t){const e=t.closest("tr");t.selected?e.setAttribute("data-selected-row",""):e.removeAttribute("data-selected-row")}prepareResizableColumns(){const t=document.createElement("style");t.id=`${this.tableId}-resizable-styles`,document.querySelector("head").appendChild(t),this.calculateColumnWidths(this.tableColumns).slice(0,-1).forEach((t=>this.columnsWidths[t.name]=t.width)),this.setResizableColumnsStyles()}updateResizeState(t){if(this.columnResizeState){const e=this.columnResizeState.resizableColumn.dataset.columnName,s=Math.max(this.columnResizeState.resizableColumnInitialWidth+(t.pageX-this.columnResizeState.columnResizeMouseStartX),1),i=this.calculateColumnWidths(this.tableColumns).map((t=>t.name===e?Object.assign(Object.assign({},t),{width:s}):t));this.columnsWidths[e]=i.find((t=>t.name===e)).width,this.setResizableColumnsStyles()}else this.columnResizeHover=!1,l("th",t,(e=>{this.tableColumns.length-1!==e.cellIndex&&this.isInResizeZone(t,e)&&(this.columnResizeHover=!0)}))}maybeStartResizing(t){l("th",t,(e=>{this.isInResizeZone(t,e)&&(this.columnResizeState={resizableColumn:e,columnResizeMouseStartX:t.pageX,resizableColumnInitialWidth:e.clientWidth})}))}stopResizing(){this.columnResizeState&&(this.columnResizeState=null)}isInResizeZone(t,e){return e.getBoundingClientRect().right-t.clientX<3}calculateColumnWidths(t){return t.map((t=>({name:t.dataset.columnName,width:t.clientWidth})))}setResizableColumnsStyles(){const t=document.getElementById(`${this.tableId}-resizable-styles`);let e="";Object.keys(this.columnsWidths).forEach((t=>{e+=`[gs-table-id=${this.tableId}] th[data-column-name="${t}"]{\n width:${String(this.columnsWidths[t])}px;\n min-width:${String(this.columnsWidths[t])}px;\n }`})),t.textContent=e}get isTableEmpty(){return this.tableColumns&&this.tableRows.length<1}get tableContainerClasses(){return{"gux-table-container":!0,"gux-column-resizing":Boolean(this.columnResizeState),"gux-column-resizing-hover":this.columnResizeHover}}render(){return a(h,{key:"b8617b36db586774cfaea9ef1954dec6a956f380","gs-table-id":this.tableId,"gs-obj-table":this.objectTable,"gs-compact":this.compact},a("div",{key:"955e4f5b8145ddaf5d44f5363685d6b928f85cca",class:"gux-table"},a("div",{key:"e1119924339af59e8c0b53227525c2313582ba06",tabindex:this.isScroll?"0":"-1",id:this.tableId,class:this.tableContainerClasses},a("slot",{key:"aad6e8cb26162206b10d515cc96f33ebfec41040",name:"data"})),this.isTableEmpty&&a("div",{key:"8d663578eb5a3a78a70354b737fdf615ea23f0b4",class:"gux-empty-table"},this.emptyMessage||this.i18n("emptyMessage"))))}get root(){return o(this)}};g.style=":host{position:relative;display:block}:host .gux-table{position:relative;block-size:inherit}:host .gux-table .gux-table-container{max-block-size:100%;overflow:auto;scrollbar-color:var(--gse-ui-dataTableItems-scrollbar-foregroundColor) transparent;scrollbar-width:thin}:host .gux-table .gux-table-container.gux-column-resizing-hover,:host .gux-table .gux-table-container.gux-column-resizing{cursor:col-resize}:host .gux-empty-table{display:flex;align-items:center;justify-content:center;block-size:calc(100% - var(--gse-ui-dataTableItems-header-default-height));color:var(--gse-semantic-foreground-container-lowEmphasis);background:var(--gse-semantic-background-container-page-tonalSubtle);font-family:var(--gse-semantic-heading-lg-bold-fontFamily), var(--gse-semantic-theme-fontFamily-headings), sans-serif;font-size:var(--gse-semantic-heading-lg-bold-fontSize);line-height:var(--gse-semantic-heading-lg-bold-lineHeight);font-weight:var(--gse-semantic-heading-lg-bold-fontWeight)}";export{g as gux_table}
1
+ import{r as t,c as e,f as s,d as i,h as a,H as h,a as o}from"./p-mm833MRp.js";import{b as n}from"./p-D_8CR3cJ.js";import{w as l}from"./p-kLXvN2m9.js";import{r}from"./p-D9jKBqIb.js";import{t as c}from"./p-DoCK5APt.js";import{t as d}from"./p-BIx814vt.js";import"./p-Cd4R0amv.js";const g=class{constructor(i){t(this,i),this.guxselectionchanged=e(this,"guxselectionchanged",7),this.guxsortchanged=e(this,"guxsortchanged",7),this.slotObserver=new MutationObserver((()=>{this.prepareSelectableRows(),s(this)})),this.tableId=r("gux-table"),this.columnsWidths={},this.isScroll=!1,this.columnResizeHover=!1,this.compact=!1,this.objectTable=!1}async componentWillLoad(){c(this.root),this.i18n=await n(this.root,d)}componentDidLoad(){this.resizableColumns&&this.prepareResizableColumns(),this.prepareSelectableRows(),i((()=>{this.checkScroll()})),!this.resizeObserver&&window.ResizeObserver&&(this.resizeObserver=new ResizeObserver((()=>{i((()=>{this.checkScroll()}))}))),this.resizeObserver&&(this.resizeObserver.observe(this.tableContainer),this.resizeObserver.observe(this.slottedTable)),this.slotObserver.observe(this.slottedTable,{subtree:!0,childList:!0})}checkScroll(){const t=this.tableContainer;this.isScroll=t.scrollHeight>t.clientHeight||t.scrollWidth>t.clientWidth}disconnectedCallback(){this.resizeObserver&&(this.resizeObserver.unobserve(this.tableContainer),this.resizeObserver.unobserve(this.slottedTable)),this.resizableColumns&&document.getElementById(`${this.tableId}-resizable-styles`).remove()}onInternalAllRowSelectChange(t){t.stopPropagation(),this.handleSelectAllRows(t.detail)}onInternalRowSelectChange(t){t.stopPropagation();const e=t.target;e.selected=t.detail,this.handleRowSelection(e)}onMouseMove(t){this.resizableColumns&&this.updateResizeState(t)}onMouseDown(t){this.resizableColumns&&this.maybeStartResizing(t)}onMouseUp(){this.resizableColumns&&this.stopResizing()}get tableContainer(){return this.root.shadowRoot.querySelector(".gux-table-container")}get slottedTable(){return this.root.querySelector('table[slot="data"]')}get tableRows(){return Array.from(this.slottedTable.querySelectorAll("tbody tr"))}get tableColumns(){return Array.from(this.slottedTable.querySelectorAll("thead th"))}get rowCheckboxes(){return Array.from(this.slottedTable.querySelectorAll("tbody tr td gux-row-select"))}get selectAllCheckbox(){return this.slottedTable.querySelector("thead tr th gux-all-row-select")}async getSelected(){return this.getSelectedInternal()}getSelectedInternal(){return{selectedRowIds:Array.from(this.rowCheckboxes).filter((t=>t.selected)).map((t=>t.closest("tr").getAttribute("data-row-id")))}}prepareSelectableRows(){this.rowCheckboxes.forEach((t=>{this.updateRowSelection(t)})),this.updateSelectAllBoxState()}updateSelectAllBoxState(){const t=this.selectAllCheckbox;if(t){const e=this.rowCheckboxes,s=e.filter((t=>!t.disabled)),i=s.filter((t=>t.selected)),a=Boolean(e.length),h=i.length===s.length,o=0===i.length;t.selected=a&&h,t.setIndeterminate(a&&!h&&!o)}}handleSelectAllRows(t){this.rowCheckboxes.forEach((e=>{e.disabled||(e.selected=t,this.updateRowSelection(e))})),this.emitSelectionEvent()}handleRowSelection(t){this.updateRowSelection(t),this.updateSelectAllBoxState(),this.emitSelectionEvent()}emitSelectionEvent(){this.guxselectionchanged.emit(this.getSelectedInternal())}updateRowSelection(t){const e=t.closest("tr");t.selected?e.setAttribute("data-selected-row",""):e.removeAttribute("data-selected-row")}prepareResizableColumns(){const t=document.createElement("style");t.id=`${this.tableId}-resizable-styles`,document.querySelector("head").appendChild(t),this.calculateColumnWidths(this.tableColumns).slice(0,-1).forEach((t=>this.columnsWidths[t.name]=t.width)),this.setResizableColumnsStyles()}updateResizeState(t){if(this.columnResizeState){const e=this.columnResizeState.resizableColumn.dataset.columnName,s=Math.max(this.columnResizeState.resizableColumnInitialWidth+(t.pageX-this.columnResizeState.columnResizeMouseStartX),1),i=this.calculateColumnWidths(this.tableColumns).map((t=>t.name===e?Object.assign(Object.assign({},t),{width:s}):t));this.columnsWidths[e]=i.find((t=>t.name===e)).width,this.setResizableColumnsStyles()}else this.columnResizeHover=!1,l("th",t,(e=>{this.tableColumns.length-1!==e.cellIndex&&this.isInResizeZone(t,e)&&(this.columnResizeHover=!0)}))}maybeStartResizing(t){l("th",t,(e=>{this.isInResizeZone(t,e)&&(this.columnResizeState={resizableColumn:e,columnResizeMouseStartX:t.pageX,resizableColumnInitialWidth:e.clientWidth})}))}stopResizing(){this.columnResizeState&&(this.columnResizeState=null)}isInResizeZone(t,e){return e.getBoundingClientRect().right-t.clientX<3}calculateColumnWidths(t){return t.map((t=>({name:t.dataset.columnName,width:t.clientWidth})))}setResizableColumnsStyles(){const t=document.getElementById(`${this.tableId}-resizable-styles`);let e="";Object.keys(this.columnsWidths).forEach((t=>{e+=`[gs-table-id=${this.tableId}] th[data-column-name="${t}"]{\n width:${String(this.columnsWidths[t])}px;\n min-width:${String(this.columnsWidths[t])}px;\n }`})),t.textContent=e}get isTableEmpty(){return this.tableColumns&&this.tableRows.length<1}get tableContainerClasses(){return{"gux-table-container":!0,"gux-column-resizing":Boolean(this.columnResizeState),"gux-column-resizing-hover":this.columnResizeHover}}render(){return a(h,{key:"a85f0e7cd97a5875d02bce064880cb57d2660234","gs-table-id":this.tableId,"gs-obj-table":this.objectTable,"gs-compact":this.compact},a("div",{key:"53cc2c4804d8bfe8a7ef96d7b6491a9ebaff6922",class:"gux-table"},a("div",{key:"c89aa6f2d5ce436293353290f258cf3c07bb6562",tabindex:this.isScroll?"0":"-1",id:this.tableId,class:this.tableContainerClasses},a("slot",{key:"c75cd6977e009cf0c4a01a3c289ae1169603cc2f",name:"data"})),this.isTableEmpty&&a("div",{key:"13cc3a199e3d19c44d629f818e376d1e6afa05ac",class:"gux-empty-table"},this.emptyMessage||this.i18n("emptyMessage"))))}get root(){return o(this)}};g.style=":host{position:relative;display:block}:host .gux-table{position:relative;block-size:inherit}:host .gux-table .gux-table-container{max-block-size:100%;overflow:auto;scrollbar-color:var(--gse-ui-dataTableItems-scrollbar-foregroundColor) transparent;scrollbar-width:thin}:host .gux-table .gux-table-container.gux-column-resizing-hover,:host .gux-table .gux-table-container.gux-column-resizing{cursor:col-resize}:host .gux-empty-table{display:flex;align-items:center;justify-content:center;block-size:calc(100% - var(--gse-ui-dataTableItems-header-default-height));color:var(--gse-semantic-foreground-container-lowEmphasis);background:var(--gse-semantic-background-container-page-tonalSubtle);font-family:var(--gse-semantic-heading-lg-bold-fontFamily), var(--gse-semantic-theme-fontFamily-headings), sans-serif;font-size:var(--gse-semantic-heading-lg-bold-fontSize);line-height:var(--gse-semantic-heading-lg-bold-lineHeight);font-weight:var(--gse-semantic-heading-lg-bold-fontWeight)}";export{g as gux_table}
@@ -1 +1 @@
1
- import{h as e,r,a as s}from"./p-mm833MRp.js";import{t as i}from"./p-Bk9hX_6O.js";import{l as n}from"./p-DxtJDeL9.js";const t=2*Math.PI*22;function a(e,r){return!(isNaN(e)||isNaN(r)||e>r||e<0||0===r)}const o=({value:r,max:s,screenreaderText:i})=>e("div",{role:"progressbar","aria-valuenow":r,"aria-valuemin":"0","aria-valuemax":s,"aria-label":i},e("svg",{class:"gux-svg-container",viewBox:"0 0 48 48",role:"presentation"},e("circle",{cx:"50%",cy:"50%",r:22,class:"gux-static-circle"}),e("circle",{cx:"50%",cy:"50%",r:22,class:"gux-dynamic-circle","stroke-dashoffset":t*(1-r/s),"stroke-dasharray":t,"stroke-linecap":"round"}),e("text",{x:"50%",y:"50%","dominant-baseline":"central",class:"gux-percentage"},function(e,r){return`${Math.round((e+Number.EPSILON)/r*100)}%`}(r,s)))),g=({screenreaderText:r})=>e("gux-radial-loading",{"screenreader-text":r,context:"modal"}),l=class{constructor(e){r(this,e),this.max=100,this.screenreaderText=""}componentWillLoad(){i(this.root)}componentDidLoad(){!this.screenreaderText&&a(this.value,this.max)&&n(this.root,"No screenreader-text provided. Provide a localized screenreader-text property for the component.")}render(){return a(this.value,this.max)?e(o,{value:this.value,max:this.max,screenreaderText:this.screenreaderText}):e(g,{screenreaderText:this.screenreaderText})}get root(){return s(this)}};l.style=":host{display:inline-block}div[role=progressbar] .gux-svg-container{display:block;inline-size:var(--gse-ui-progressAndLoading-spinner-large);block-size:var(--gse-ui-progressAndLoading-spinner-large)}div[role=progressbar] .gux-svg-container .gux-dynamic-circle{fill:none;stroke:var(--gse-ui-progressAndLoading-spinner-foreground);stroke-width:4;transform:rotate(-90deg);transform-origin:50% 50%}div[role=progressbar] .gux-svg-container .gux-static-circle{fill:none;stroke:var(--gse-ui-progressAndLoading-spinner-base);stroke-width:4}div[role=progressbar] .gux-svg-container .gux-percentage{font-family:var(--gse-ui-progressAndLoading-spinner-text-fontFamily);font-size:var(--gse-ui-progressAndLoading-spinner-text-fontSize);font-weight:var(--gse-ui-progressAndLoading-spinner-text-fontWeight);line-height:var(--gse-ui-progressAndLoading-spinner-text-lineHeight);text-anchor:middle;fill:var(--gse-ui-progressAndLoading-textColor)}";export{l as gux_radial_progress}
1
+ import{h as e,r,a as s}from"./p-mm833MRp.js";import{t as i}from"./p-DoCK5APt.js";import{l as t}from"./p-DxtJDeL9.js";const n=2*Math.PI*22;function a(e,r){return!(isNaN(e)||isNaN(r)||e>r||e<0||0===r)}const o=({value:r,max:s,screenreaderText:i})=>e("div",{role:"progressbar","aria-valuenow":r,"aria-valuemin":"0","aria-valuemax":s,"aria-label":i},e("svg",{class:"gux-svg-container",viewBox:"0 0 48 48",role:"presentation"},e("circle",{cx:"50%",cy:"50%",r:22,class:"gux-static-circle"}),e("circle",{cx:"50%",cy:"50%",r:22,class:"gux-dynamic-circle","stroke-dashoffset":n*(1-r/s),"stroke-dasharray":n,"stroke-linecap":"round"}),e("text",{x:"50%",y:"50%","dominant-baseline":"central",class:"gux-percentage"},function(e,r){return`${Math.round((e+Number.EPSILON)/r*100)}%`}(r,s)))),g=({screenreaderText:r})=>e("gux-radial-loading",{"screenreader-text":r,context:"modal"}),l=class{constructor(e){r(this,e),this.max=100,this.screenreaderText=""}componentWillLoad(){i(this.root)}componentDidLoad(){!this.screenreaderText&&a(this.value,this.max)&&t(this.root,"No screenreader-text provided. Provide a localized screenreader-text property for the component.")}render(){return a(this.value,this.max)?e(o,{value:this.value,max:this.max,screenreaderText:this.screenreaderText}):e(g,{screenreaderText:this.screenreaderText})}get root(){return s(this)}};l.style=":host{display:inline-block}div[role=progressbar] .gux-svg-container{display:block;inline-size:var(--gse-ui-progressAndLoading-spinner-large);block-size:var(--gse-ui-progressAndLoading-spinner-large)}div[role=progressbar] .gux-svg-container .gux-dynamic-circle{fill:none;stroke:var(--gse-ui-progressAndLoading-spinner-foreground);stroke-width:4;transform:rotate(-90deg);transform-origin:50% 50%}div[role=progressbar] .gux-svg-container .gux-static-circle{fill:none;stroke:var(--gse-ui-progressAndLoading-spinner-base);stroke-width:4}div[role=progressbar] .gux-svg-container .gux-percentage{font-family:var(--gse-ui-progressAndLoading-spinner-text-fontFamily);font-size:var(--gse-ui-progressAndLoading-spinner-text-fontSize);font-weight:var(--gse-ui-progressAndLoading-spinner-text-fontWeight);line-height:var(--gse-ui-progressAndLoading-spinner-text-lineHeight);text-anchor:middle;fill:var(--gse-ui-progressAndLoading-textColor)}";export{l as gux_radial_progress}
@@ -0,0 +1 @@
1
+ import{r as t,c as e,h as i,H as s,a as o}from"./p-mm833MRp.js";import{O as a}from"./p-CuMZPTZF.js";import{t as r}from"./p-DoCK5APt.js";import{b as c}from"./p-D_8CR3cJ.js";import{t as n}from"./p-DN3YAdAX.js";import{b as l}from"./p-Bg4q97BS.js";import{h as f}from"./p-wqCHc7t7.js";import"./p-Cd4R0amv.js";import"./p-DCZG2J0G.js";const p=class{constructor(i){t(this,i),this.linkOptions=e(this,"linkOptions",7),this.disabled=!1,this.isActive=!1,this.isOpen=!1}onClickOutside(){this.isOpen=!1}onFocusOut(t){this.root.contains(t.relatedTarget)||(this.isOpen=!1)}handleKeydown(t){const e=t.composedPath();switch(t.key){case"Escape":this.isOpen=!1,this.actionButton.focus();break;case"ArrowDown":case"Enter":e.includes(this.actionButton)&&(t.preventDefault(),this.isOpen=!0,this.focusTextToDisplayInputElement())}}async componentWillLoad(){r(this.root),this.i18n=await c(this.root,n)}emitLinkOptions(){this.linkOptions.emit({textToDisplay:this.textToDisplayInputElement.value,href:this.linkAddressInputElement.value}),this.textToDisplayInputElement.value=null,this.linkAddressInputElement.value=null,this.isOpen=!1}togglePopover(){this.isOpen=!this.isOpen,this.isOpen?this.focusTextToDisplayInputElement():this.actionButton.focus()}focusTextToDisplayInputElement(){l((()=>{this.textToDisplayInputElement.focus()}))}renderTooltip(){if(!this.disabled)return i("gux-tooltip-beta",null,i("div",{slot:"content"},this.i18n("link")))}render(){return i(s,{key:"8f69ce2da70ddb52a0e3f693fb77ed1f4819436c"},i("gux-button-slot",{key:"6ea1b9610cef5621681952efd5fd9107c8af728b",accent:"ghost","icon-only":!0},i("button",{key:"3803e767c47f991433c740da0273045e4c9188cc",id:"popover-target",class:{"gux-is-pressed":this.isActive||this.isOpen},onClick:()=>this.togglePopover(),ref:t=>this.actionButton=t,type:"button",disabled:this.disabled||f(this.root),"aria-label":this.i18n("link"),"aria-haspopup":"true","aria-expanded":this.isOpen.toString(),"aria-pressed":this.isActive.toString()},i("gux-icon",{key:"6c80f510dcc3fcf28714b0e06261331421383523",size:"small","icon-name":"fa/link-simple-regular",decorative:!0})),this.renderTooltip()),i("gux-popover",{key:"81d1389d969f3cf8acd808c6100d4e391494cfed","is-open":this.isOpen,for:"popover-target"},i("div",{key:"514e3e85761a8f443b55519c4f3fe68395b16eb0",class:"gux-popover-content-wrapper"},i("gux-form-field-text-like",{key:"478a4a3311f954e382c48902f3b04052c2390fe7"},i("input",{key:"1ed81170281fe5044b4d1257820b3c985727de91",id:"textToDisplay",ref:t=>this.textToDisplayInputElement=t,slot:"input",type:"text"}),i("label",{key:"c9379daf7476e0a066f4f64b649f09703b58791b",slot:"label"},this.i18n("textToDisplay"))),i("gux-form-field-text-like",{key:"7de03e261deb2130609490473b4e4a395c8f9bb5"},i("input",{key:"659b8f2bc4541524a7db5121c0cf3177a2761af5",ref:t=>this.linkAddressInputElement=t,slot:"input",type:"text"}),i("label",{key:"8a06f01fdd7887df52972b1b3e2f3fa8a91aec55",slot:"label"},this.i18n("linkAddress"))),i("gux-cta-group",{key:"df04fc1632d1ade23a31adaf8a5fb9fc8a239c6f",align:"end"},i("gux-button",{key:"33fa329eb6c13b002f7c6b1c5f72318fbb2d370e",onClick:()=>this.emitLinkOptions(),slot:"primary"},this.i18n("insert")),i("gux-button",{key:"ca265b36aea72886f803c033ed60d548ab46d288",onClick:()=>this.togglePopover(),slot:"dismiss"},this.i18n("cancel"))))))}get root(){return o(this)}};(function(t,e,i,s){var o,a=arguments.length,r=a<3?e:null===s?s=Object.getOwnPropertyDescriptor(e,i):s;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)r=Reflect.decorate(t,e,i,s);else for(var c=t.length-1;c>=0;c--)(o=t[c])&&(r=(a<3?o(r):a>3?o(e,i,r):o(e,i))||r);a>3&&r&&Object.defineProperty(e,i,r)})([a({triggerEvents:"mousedown"})],p.prototype,"onClickOutside",null),p.style=":host{display:block}gux-popover div.gux-popover-content-wrapper{display:flex;flex-direction:column;gap:var(--gse-ui-popover-gap)}gux-button-slot{inline-size:var(--gse-ui-button-iconOnly-width);block-size:var(--gse-ui-button-default-height)}gux-button-slot button.gux-is-pressed{color:var(--gse-ui-button-ghost-active-foregroundColor);background-color:var(--gse-ui-button-ghost-active-backgroundColor)}";export{p as gux_rich_text_editor_action_link}
@@ -0,0 +1 @@
1
+ import{r as e,h as r,H as i}from"./p-mm833MRp.js";const o=class{constructor(r){e(this,r)}render(){return r(i,{key:"e33131ee5b2c6f0fbb842752e7f1319e5fb9c641",role:"presentation"},r("div",{key:"073f60b6a77d96df8c85b3d3afa8c611c66e09fa",class:"gux-segmented-control-divider"}))}};o.style=".gux-segmented-control-divider{inline-size:var(--gse-ui-segmentedControl-divider-width);block-size:var(--gse-ui-segmentedControl-dividerLine);margin-inline:var(--gse-ui-segmentedControl-dividerComponent-margin);background-color:var(--gse-ui-segmentedControl-divider-color);border-radius:var(--gse-ui-segmentedControl-borderRadius)}";export{o as gux_segmented_control_divider}
@@ -1 +1 @@
1
- import{r as e,c as r,h as t,a as i}from"./p-mm833MRp.js";import{t as o}from"./p-Bk9hX_6O.js";const s=class{constructor(t){e(this,t),this.internalactivatestep=r(this,"internalactivatestep",7),this.status="incomplete",this.disabled=!1,this.active=!1}onClick(){this.active||this.disabled||this.internalactivatestep.emit(this.stepId)}async guxSetActive(e){this.active=e}componentWillLoad(){o(this.root)}getStatusIcon(e){switch(e){case"incomplete":default:return"fa/circle-dashed-regular";case"completed":return"fa/circle-check-solid";case"error":return"fa/hexagon-exclamation-solid"}}render(){return t("div",{key:"0c43e974df0addd9cd0c97dbcc9e7942674f98b3",class:{"gux-stepper":!0,[`gux-step-${this.status}`]:!0,"gux-disabled":this.disabled,"gux-active":this.active},"aria-current":this.active.toString(),"aria-disabled":this.disabled.toString()},t("gux-icon",{key:"abe43656fd924aa8389afebfad309bfcd00bbef7",size:"small","icon-name":this.active?"fa/circle-half-stroke-regular":this.getStatusIcon(this.status),decorative:!0}),t("div",{key:"47a0fa4adfe20b03c5f31cd68d9c9ccf97350a30",class:"gux-step-information"},t("slot",{key:"4958fdbd95a601f1651eee2ea7d4f3ff7c68246d",name:"title"}),t("gux-truncate",{key:"7f0dad8b212f835341e997eda3f4b38be26c3746",maxLines:2},t("slot",{key:"b0aa839b5401befb521ac719bff15a8e1d43e8c9",name:"helper"}))))}get root(){return i(this)}};s.style=":host{inline-size:100%;max-inline-size:100%}.gux-stepper{display:flex;flex-direction:row;gap:var(--step-gap);align-items:flex-start;justify-content:flex-start;min-inline-size:var(--stepper-min-inline-size, 0);min-block-size:var(--stepper-min-block-size, 0);padding-block:var(--stepper-padding-block, 0);padding-inline:var(--stepper-padding-inline, 0);background-color:transparent;border:none}.gux-stepper gux-icon{flex-shrink:0;align-self:flex-start;margin-block-start:var(--stepper-step-body-margin, 0)}.gux-stepper.gux-step-incomplete{color:var(--gse-ui-stepper-icon-incompleted-foregroundColor);border-block-start:var(--stepper-border-block-start-incomplete, none);border-inline-start:var(--stepper-border-inline-start-incomplete)}.gux-stepper.gux-step-completed{color:var(--gse-ui-stepper-icon-completed-selectedForegroundColor);border-block-start:var(--stepper-border-block-start-completed, none);border-inline-start:var(--stepper-border-inline-start-completed, none)}.gux-stepper.gux-step-error{color:var(--gse-ui-stepper-icon-error-foregroundColor);border-block-start:var(--stepper-border-block-start-error, none);border-inline-start:var(--stepper-border-inline-start-error, none)}.gux-stepper.gux-active{color:var(--gse-ui-stepper-icon-active-foregroundColor);border-block-start:var(--stepper-border-block-start-active, none);border-inline-start:var(--stepper-border-inline-start-active, none)}.gux-stepper>.gux-step-information{margin-block-start:var(--stepper-step-body-margin, 0)}.gux-step-information{display:flex;flex:1 0 0;flex-direction:column;gap:var(--gse-ui-stepper-step-text-gap);align-items:flex-start;justify-content:flex-start;margin-inline-end:var(--gse-ui-stepper-step-horizontal-body-marginRight)}.gux-step-information slot[name=helper]{font-family:var(--gse-ui-formControl-helper-helperText-fontFamily);font-size:var(--gse-ui-formControl-helper-helperText-fontSize);font-weight:var(--gse-ui-formControl-helper-helperText-fontWeight);line-height:var(--gse-ui-formControl-helper-helperText-lineHeight);color:var(--gse-ui-formControl-helper-defaultColor)}.gux-disabled{pointer-events:none;cursor:default;user-select:none}.gux-disabled>*{opacity:var(--gse-ui-stepper-step-disabled-opacity)}gux-truncate{text-align:start}";export{s as gux_step}
1
+ import{r as e,c as r,h as t,a as i}from"./p-mm833MRp.js";import{t as o}from"./p-DoCK5APt.js";const s=class{constructor(t){e(this,t),this.internalactivatestep=r(this,"internalactivatestep",7),this.status="incomplete",this.disabled=!1,this.active=!1}onClick(){this.active||this.disabled||this.internalactivatestep.emit(this.stepId)}async guxSetActive(e){this.active=e}componentWillLoad(){o(this.root)}getStatusIcon(e){switch(e){case"incomplete":default:return"fa/circle-dashed-regular";case"completed":return"fa/circle-check-solid";case"error":return"fa/hexagon-exclamation-solid"}}render(){return t("div",{key:"c65d2d6e490c4137a6bd80d34d97feb2e947d12e",class:{"gux-stepper":!0,[`gux-step-${this.status}`]:!0,"gux-disabled":this.disabled,"gux-active":this.active},"aria-current":this.active.toString(),"aria-disabled":this.disabled.toString()},t("gux-icon",{key:"4c241bd6d57ede399cf71a66254aef4111898228",size:"small","icon-name":this.active?"fa/circle-half-stroke-regular":this.getStatusIcon(this.status),decorative:!0}),t("div",{key:"ae4f0dfb3efd9384ad3b7165dc5241ecfe2ea006",class:"gux-step-information"},t("slot",{key:"2f5ded60b825a6a52f3feffbdd863c60ed54e4c5",name:"title"}),t("gux-truncate",{key:"921d3fd4a17dec3d371addc22c5bacfea1d9eded",maxLines:2},t("slot",{key:"ebd9466bf10c0f8729b0d399569b0e8bb8df810a",name:"helper"}))))}get root(){return i(this)}};s.style=":host{inline-size:100%;max-inline-size:100%}.gux-stepper{display:flex;flex-direction:row;gap:var(--step-gap);align-items:flex-start;justify-content:flex-start;min-inline-size:var(--stepper-min-inline-size, 0);min-block-size:var(--stepper-min-block-size, 0);padding-block:var(--stepper-padding-block, 0);padding-inline:var(--stepper-padding-inline, 0);background-color:transparent;border:none}.gux-stepper gux-icon{flex-shrink:0;align-self:flex-start;margin-block-start:var(--stepper-step-body-margin, 0)}.gux-stepper.gux-step-incomplete{color:var(--gse-ui-stepper-icon-incompleted-foregroundColor);border-block-start:var(--stepper-border-block-start-incomplete, none);border-inline-start:var(--stepper-border-inline-start-incomplete)}.gux-stepper.gux-step-completed{color:var(--gse-ui-stepper-icon-completed-selectedForegroundColor);border-block-start:var(--stepper-border-block-start-completed, none);border-inline-start:var(--stepper-border-inline-start-completed, none)}.gux-stepper.gux-step-error{color:var(--gse-ui-stepper-icon-error-foregroundColor);border-block-start:var(--stepper-border-block-start-error, none);border-inline-start:var(--stepper-border-inline-start-error, none)}.gux-stepper.gux-active{color:var(--gse-ui-stepper-icon-active-foregroundColor);border-block-start:var(--stepper-border-block-start-active, none);border-inline-start:var(--stepper-border-inline-start-active, none)}.gux-stepper>.gux-step-information{margin-block-start:var(--stepper-step-body-margin, 0)}.gux-step-information{display:flex;flex:1 0 0;flex-direction:column;gap:var(--gse-ui-stepper-step-text-gap);align-items:flex-start;justify-content:flex-start;margin-inline-end:var(--gse-ui-stepper-step-horizontal-body-marginRight)}.gux-step-information slot[name=helper]{font-family:var(--gse-ui-formControl-helper-helperText-fontFamily);font-size:var(--gse-ui-formControl-helper-helperText-fontSize);font-weight:var(--gse-ui-formControl-helper-helperText-fontWeight);line-height:var(--gse-ui-formControl-helper-helperText-lineHeight);color:var(--gse-ui-formControl-helper-defaultColor)}.gux-disabled{pointer-events:none;cursor:default;user-select:none}.gux-disabled>*{opacity:var(--gse-ui-stepper-step-disabled-opacity)}gux-truncate{text-align:start}";export{s as gux_step}
@@ -1 +1 @@
1
- import{r as t,h as r,a as i}from"./p-mm833MRp.js";import{t as o}from"./p-Bk9hX_6O.js";import{b as e}from"./p-D_8CR3cJ.js";import{t as a}from"./p-DN3YAdAX.js";import{g as s}from"./p-Cd4R0amv.js";const u=class{constructor(r){t(this,r),this.disabled=!1,this.highlight="orange"}onMouseUp(){this.focusParentList()}onMouseOver(){this.focusParentList()}focusParentList(){const t=s("gux-rich-text-editor-list",this.root);t&&null===t.shadowRoot.activeElement&&(this.root.blur(),t.focus({preventScroll:!0}))}async componentWillLoad(){o(this.root,{variant:this.highlight}),this.i18n=await e(this.root,a)}renderTooltip(){if(!this.disabled&&"inherit"!==this.highlight)return r("gux-tooltip-beta",null,r("div",{slot:"content"},this.i18n(`${this.highlight}`)))}render(){return r("div",{key:"f00fdb99ff83dd90c53fad4196369ffa7d644437",class:{"gux-highlight":!0,[`gux-${this.highlight}`]:!0},role:"listitem"},r("button",{key:"f0df4c55287294af61856ab75282e1a2c69ab6de",type:"button","aria-label":this.i18n(`${this.highlight}`),tabIndex:-1,disabled:this.disabled}),this.renderTooltip())}static get delegatesFocus(){return!0}get root(){return i(this)}};u.style=":host{display:block;border-radius:var(--gse-ui-button-borderRadius)}.gux-highlight{inline-size:var(--gse-ui-rte-colorSwatch-width);block-size:var(--gse-ui-rte-colorSwatch-height);border-radius:var(--gse-ui-button-borderRadius)}.gux-highlight button{all:unset;inline-size:100%;block-size:100%;cursor:pointer}.gux-highlight button:focus-visible{outline:var(--gse-semantic-focusOutline-sm-borderWidth) solid var(--gse-semantic-border-focus);border-radius:var(--gse-semantic-focusOutline-sm-borderRadius)}.gux-highlight.gux-orange{background-color:var(--gse-ui-rte-colorSwatch-orange-default)}.gux-highlight.gux-coral{background-color:var(--gse-ui-rte-colorSwatch-coral-default)}.gux-highlight.gux-pear{background-color:var(--gse-ui-rte-colorSwatch-pear-default)}.gux-highlight.gux-raspberry{background-color:var(--gse-ui-rte-colorSwatch-raspberry-default)}.gux-highlight.gux-mango{background-color:var(--gse-ui-rte-colorSwatch-mango-default)}.gux-highlight.gux-blue{background-color:var(--gse-ui-rte-colorSwatch-azure-default)}.gux-highlight.gux-mineral{background-color:var(--gse-ui-rte-colorSwatch-mineral-default)}.gux-highlight.gux-island{background-color:var(--gse-ui-rte-colorSwatch-island-default)}.gux-highlight.gux-inherit{color:inherit;background-color:inherit}";export{u as gux_rich_highlight_list_item}
1
+ import{r as t,h as r,a as i}from"./p-mm833MRp.js";import{t as o}from"./p-DoCK5APt.js";import{b as e}from"./p-D_8CR3cJ.js";import{t as a}from"./p-DN3YAdAX.js";import{g as s}from"./p-Cd4R0amv.js";const u=class{constructor(r){t(this,r),this.disabled=!1,this.highlight="orange"}onMouseUp(){this.focusParentList()}onMouseOver(){this.focusParentList()}focusParentList(){const t=s("gux-rich-text-editor-list",this.root);t&&null===t.shadowRoot.activeElement&&(this.root.blur(),t.focus({preventScroll:!0}))}async componentWillLoad(){o(this.root,{variant:this.highlight}),this.i18n=await e(this.root,a)}renderTooltip(){if(!this.disabled&&"inherit"!==this.highlight)return r("gux-tooltip-beta",null,r("div",{slot:"content"},this.i18n(`${this.highlight}`)))}render(){return r("div",{key:"c972a9696643f56cf036f8ac024dfdd90b9fd723",class:{"gux-highlight":!0,[`gux-${this.highlight}`]:!0},role:"listitem"},r("button",{key:"f32018a039459c3eb376442cdfe3e1e9baab0272",type:"button","aria-label":this.i18n(`${this.highlight}`),tabIndex:-1,disabled:this.disabled}),this.renderTooltip())}static get delegatesFocus(){return!0}get root(){return i(this)}};u.style=":host{display:block;border-radius:var(--gse-ui-button-borderRadius)}.gux-highlight{inline-size:var(--gse-ui-rte-colorSwatch-width);block-size:var(--gse-ui-rte-colorSwatch-height);border-radius:var(--gse-ui-button-borderRadius)}.gux-highlight button{all:unset;inline-size:100%;block-size:100%;cursor:pointer}.gux-highlight button:focus-visible{outline:var(--gse-semantic-focusOutline-sm-borderWidth) solid var(--gse-semantic-border-focus);border-radius:var(--gse-semantic-focusOutline-sm-borderRadius)}.gux-highlight.gux-orange{background-color:var(--gse-ui-rte-colorSwatch-orange-default)}.gux-highlight.gux-coral{background-color:var(--gse-ui-rte-colorSwatch-coral-default)}.gux-highlight.gux-pear{background-color:var(--gse-ui-rte-colorSwatch-pear-default)}.gux-highlight.gux-raspberry{background-color:var(--gse-ui-rte-colorSwatch-raspberry-default)}.gux-highlight.gux-mango{background-color:var(--gse-ui-rte-colorSwatch-mango-default)}.gux-highlight.gux-blue{background-color:var(--gse-ui-rte-colorSwatch-azure-default)}.gux-highlight.gux-mineral{background-color:var(--gse-ui-rte-colorSwatch-mineral-default)}.gux-highlight.gux-island{background-color:var(--gse-ui-rte-colorSwatch-island-default)}.gux-highlight.gux-inherit{color:inherit;background-color:inherit}";export{u as gux_rich_highlight_list_item}
@@ -1 +1 @@
1
- import{r as t,h as s,a as i}from"./p-mm833MRp.js";import{s as r}from"./p-D8NvUiBF.js";import{t as n}from"./p-Bk9hX_6O.js";const e=/[ +]/g,a=new Map,h=new Map;function o(t){return t.replace(/&/g,"&amp;").replace(/</g,"&lt;").replace(/>/g,"&gt;").replace(/"/g,"&quot;").replace(/'/g,"&#39;").replace(/\//g,"&#x2F;")}const u=class{constructor(s){t(this,s),this.strategy="start",this.dimmed=!1}componentWillLoad(){n(this.root)}render(){if(this.highlight&&this.text)switch(this.strategy){case"start":return this.renderStartsWith();case"contains":return this.renderContains();case"fuzzy":return this.renderFuzzy()}return s("span",{class:{"gux-dimmed":this.dimmed}},this.text)}renderStartsWith(){if(this.text.toLowerCase().startsWith(this.highlight.toLowerCase())){const t=this.text.substring(0,this.highlight.length),i=this.text.substring(this.highlight.length);return s("span",{class:{"gux-dimmed":this.dimmed}},s("mark",null,t),i)}return s("span",{class:{"gux-dimmed":this.dimmed}},this.text)}renderContains(){const t={highlighted:"",remaining:this.text};for(;t.remaining.toLowerCase().includes(this.highlight.toLowerCase());){const s=t.remaining.toLowerCase().indexOf(this.highlight.toLowerCase()),i=t.remaining.substring(0,s),r=t.remaining.substring(s,s+this.highlight.length);t.highlighted+=o(i)+`<mark>${o(r)}</mark>`,t.remaining=t.remaining.substring(s+r.length)}return s("span",{class:{"gux-dimmed":this.dimmed},innerHTML:t.highlighted+o(t.remaining)})}renderFuzzy(){if(function(t,s){let i=a.get(t);return i||(i=function(t){const s=t.split(e).map(r);return 0===s.length?/(?!)/:1===s.length?new RegExp(s[0],"i"):new RegExp("("+s.join(").*?(")+").*?$","i")}(t),a.set(t,i)),i.test(s)}(this.highlight,this.text)){const i=(t=this.highlight,t.split(e).map(r).map((t=>{let s=h.get(t);return s||(s=new RegExp(t,"i"),h.set(t,s)),s}))).reduce(((t,s)=>{const{0:i,index:r,input:n}=t.remaining.match(s),e=n.substring(0,r);return{highlighted:`${t.highlighted+o(e)}<mark>${o(i)}</mark>`,remaining:n.substring(r+i.length)}}),{highlighted:"",remaining:this.text});return s("span",{class:{"gux-dimmed":this.dimmed},innerHTML:i.highlighted+o(i.remaining)})}var t;return s("span",{class:{"gux-dimmed":this.dimmed}},this.text)}get root(){return i(this)}};u.style="span mark{background-color:var(--gse-ui-search-match-firstLevel-backgroundColor)}.gux-dimmed mark{background-color:var(--gse-ui-search-match-subsequentLevel-backgroundColor)}";export{u as gux_text_highlight}
1
+ import{r as t,h as s,a as i}from"./p-mm833MRp.js";import{s as r}from"./p-D8NvUiBF.js";import{t as n}from"./p-DoCK5APt.js";const e=/[ +]/g,a=new Map,h=new Map;function o(t){return t.replace(/&/g,"&amp;").replace(/</g,"&lt;").replace(/>/g,"&gt;").replace(/"/g,"&quot;").replace(/'/g,"&#39;").replace(/\//g,"&#x2F;")}const u=class{constructor(s){t(this,s),this.strategy="start",this.dimmed=!1}componentWillLoad(){n(this.root)}render(){if(this.highlight&&this.text)switch(this.strategy){case"start":return this.renderStartsWith();case"contains":return this.renderContains();case"fuzzy":return this.renderFuzzy()}return s("span",{class:{"gux-dimmed":this.dimmed}},this.text)}renderStartsWith(){if(this.text.toLowerCase().startsWith(this.highlight.toLowerCase())){const t=this.text.substring(0,this.highlight.length),i=this.text.substring(this.highlight.length);return s("span",{class:{"gux-dimmed":this.dimmed}},s("mark",null,t),i)}return s("span",{class:{"gux-dimmed":this.dimmed}},this.text)}renderContains(){const t={highlighted:"",remaining:this.text};for(;t.remaining.toLowerCase().includes(this.highlight.toLowerCase());){const s=t.remaining.toLowerCase().indexOf(this.highlight.toLowerCase()),i=t.remaining.substring(0,s),r=t.remaining.substring(s,s+this.highlight.length);t.highlighted+=o(i)+`<mark>${o(r)}</mark>`,t.remaining=t.remaining.substring(s+r.length)}return s("span",{class:{"gux-dimmed":this.dimmed},innerHTML:t.highlighted+o(t.remaining)})}renderFuzzy(){if(function(t,s){let i=a.get(t);return i||(i=function(t){const s=t.split(e).map(r);return 0===s.length?/(?!)/:1===s.length?new RegExp(s[0],"i"):new RegExp("("+s.join(").*?(")+").*?$","i")}(t),a.set(t,i)),i.test(s)}(this.highlight,this.text)){const i=(t=this.highlight,t.split(e).map(r).map((t=>{let s=h.get(t);return s||(s=new RegExp(t,"i"),h.set(t,s)),s}))).reduce(((t,s)=>{const{0:i,index:r,input:n}=t.remaining.match(s),e=n.substring(0,r);return{highlighted:`${t.highlighted+o(e)}<mark>${o(i)}</mark>`,remaining:n.substring(r+i.length)}}),{highlighted:"",remaining:this.text});return s("span",{class:{"gux-dimmed":this.dimmed},innerHTML:i.highlighted+o(i.remaining)})}var t;return s("span",{class:{"gux-dimmed":this.dimmed}},this.text)}get root(){return i(this)}};u.style="span mark{background-color:var(--gse-ui-search-match-firstLevel-backgroundColor)}.gux-dimmed mark{background-color:var(--gse-ui-search-match-subsequentLevel-backgroundColor)}";export{u as gux_text_highlight}
@@ -1 +1 @@
1
- import{r as n,h as e,a}from"./p-mm833MRp.js";import{t}from"./p-Bk9hX_6O.js";import{O as i}from"./p-1mmdDpx8.js";import{h as s}from"./p-qzV3vtOw.js";const o=class{constructor(e){n(this,e),this.hasCallToAction=!1,this.hasSecondaryCallToAction=!1,this.hasGuidance=!1,this.alignment="center",this.noPadding=!1}onMutation(){this.hasCallToAction=s(this.root,"call-to-action"),this.hasGuidance=s(this.root,"additional-guidance"),this.hasSecondaryCallToAction=s(this.root,"secondary-call-to-action")}renderImageSlot(){return e("slot",{name:"image"})}renderCallToActions(){if(this.hasCallToAction)return e("div",{class:"gux-call-to-actions"},this.hasCallToAction&&e("gux-button-slot",{accent:"primary"},e("slot",{name:"call-to-action"})),this.hasSecondaryCallToAction&&e("gux-button-slot",{accent:"ghost"},e("slot",{name:"secondary-call-to-action"})))}renderGuidanceSlot(){if(this.hasGuidance)return e("div",{class:"gux-guidance"},e("gux-truncate",{maxLines:3},e("slot",{name:"additional-guidance"})))}componentWillLoad(){t(this.root),this.hasCallToAction=s(this.root,"call-to-action"),this.hasGuidance=s(this.root,"additional-guidance"),this.hasSecondaryCallToAction=s(this.root,"secondary-call-to-action")}render(){return e("div",{key:"841a6017df97390ef5c7a6473052a0636301b7aa",class:{"gux-container":!0,"gux-no-padding":this.noPadding,"gux-alignment-left":"left"===this.alignment}},e("div",{key:"3bdd9f952f016a0212cc7c8ee3c280364adf5079",class:"gux-image"},this.renderImageSlot()),e("div",{key:"1801a0077669a67982d5488a594305fbaa665ada",class:"gux-message"},e("slot",{key:"155e931c22de756059a2e95c7ac3cdfd76aefae8",name:"primary-message"})),this.renderGuidanceSlot(),this.renderCallToActions())}get root(){return a(this)}};(function(n,e,a,t){var i,s=arguments.length,o=s<3?e:null===t?t=Object.getOwnPropertyDescriptor(e,a):t;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)o=Reflect.decorate(n,e,a,t);else for(var r=n.length-1;r>=0;r--)(i=n[r])&&(o=(s<3?i(o):s>3?i(e,a,o):i(e,a))||o);s>3&&o&&Object.defineProperty(e,a,o)})([i({childList:!0,subtree:!0})],o.prototype,"onMutation",null),o.style=":host {\n display: flex;\n flex-direction: column;\n align-items: center;\n justify-content: center;\n container-type: inline-size;\n}\n\n.gux-container {\n display: flex;\n flex-direction: column;\n align-items: center;\n justify-content: center;\n padding: var(--gse-ui-blankState-padding);\n color: var(--gse-ui-blankState-foregroundColor);\n}\n.gux-container.gux-no-padding {\n padding: 0;\n}\n.gux-container .gux-call-to-actions {\n display: flex;\n flex-direction: column;\n gap: var(--gse-ui-blankState-gapCtaGroup);\n padding-block-start: var(--gse-ui-blankState-gapContent);\n}\n.gux-container .gux-image {\n padding-block-end: var(--gse-ui-blankState-gapMain);\n}\n.gux-container .gux-message {\n padding-block-end: var(--gse-ui-blankState-gapMessage);\n}\n.gux-container .gux-guidance {\n text-align: center;\n}\n.gux-container ::slotted(gux-icon) {\n inline-size: var(--gse-ui-blankState-icon-size-lg);\n block-size: var(--gse-ui-blankState-icon-size-lg);\n color: var(--gse-ui-blankState-iconColor);\n}\n.gux-container slot[name=primary-message] {\n font-family: var(--gse-ui-progressAndLoading-blankState-large-header-fontFamily);\n font-size: var(--gse-ui-progressAndLoading-blankState-large-header-fontSize);\n font-weight: var(--gse-ui-progressAndLoading-blankState-large-header-fontWeight);\n line-height: var(--gse-ui-progressAndLoading-blankState-large-header-lineHeight);\n color: var(--gse-ui-blankState-foregroundColor);\n text-align: center;\n}\n.gux-container slot[name=additional-guidance] {\n font-family: var(--gse-ui-progressAndLoading-blankState-large-subheader-fontFamily);\n font-size: var(--gse-ui-progressAndLoading-blankState-large-subheader-fontSize);\n font-weight: var(--gse-ui-progressAndLoading-blankState-large-subheader-fontWeight);\n line-height: var(--gse-ui-progressAndLoading-blankState-large-subheader-lineHeight);\n color: var(--gse-ui-blankState-foregroundColor);\n text-align: center;\n}\n.gux-container.gux-alignment-left {\n align-items: flex-start;\n}\n.gux-container.gux-alignment-left slot[name=primary-message],\n.gux-container.gux-alignment-left slot[name=additional-guidance] {\n text-align: start;\n}\n.gux-container.gux-alignment-left .gux-guidance {\n text-align: start;\n}\n\n@container (width < 570px) {\n .gux-container ::slotted(gux-icon) {\n inline-size: var(--gse-ui-blankState-icon-size-sm);\n block-size: var(--gse-ui-blankState-icon-size-sm);\n }\n .gux-container slot[name=primary-message] {\n font-family: var(--gse-ui-progressAndLoading-blankState-small-header-fontFamily);\n font-size: var(--gse-ui-progressAndLoading-blankState-small-header-fontSize);\n font-weight: var(--gse-ui-progressAndLoading-blankState-small-header-fontWeight);\n line-height: var(--gse-ui-progressAndLoading-blankState-small-header-lineHeight);\n }\n .gux-container slot[name=additional-guidance] {\n font-family: var(--gse-ui-progressAndLoading-blankState-small-subheader-fontFamily);\n font-size: var(--gse-ui-progressAndLoading-blankState-small-subheader-fontSize);\n font-weight: var(--gse-ui-progressAndLoading-blankState-small-subheader-fontWeight);\n line-height: var(--gse-ui-progressAndLoading-blankState-small-subheader-lineHeight);\n }\n}";export{o as gux_blank_state_beta}
1
+ import{r as n,h as e,a}from"./p-mm833MRp.js";import{t}from"./p-DoCK5APt.js";import{O as i}from"./p-1mmdDpx8.js";import{h as s}from"./p-qzV3vtOw.js";const o=class{constructor(e){n(this,e),this.hasCallToAction=!1,this.hasSecondaryCallToAction=!1,this.hasGuidance=!1,this.alignment="center",this.noPadding=!1}onMutation(){this.hasCallToAction=s(this.root,"call-to-action"),this.hasGuidance=s(this.root,"additional-guidance"),this.hasSecondaryCallToAction=s(this.root,"secondary-call-to-action")}renderImageSlot(){return e("slot",{name:"image"})}renderCallToActions(){if(this.hasCallToAction)return e("div",{class:"gux-call-to-actions"},this.hasCallToAction&&e("gux-button-slot",{accent:"primary"},e("slot",{name:"call-to-action"})),this.hasSecondaryCallToAction&&e("gux-button-slot",{accent:"ghost"},e("slot",{name:"secondary-call-to-action"})))}renderGuidanceSlot(){if(this.hasGuidance)return e("div",{class:"gux-guidance"},e("gux-truncate",{maxLines:3},e("slot",{name:"additional-guidance"})))}componentWillLoad(){t(this.root),this.hasCallToAction=s(this.root,"call-to-action"),this.hasGuidance=s(this.root,"additional-guidance"),this.hasSecondaryCallToAction=s(this.root,"secondary-call-to-action")}render(){return e("div",{key:"7dd2552d2d684980a064806c89588ce4cf889442",class:{"gux-container":!0,"gux-no-padding":this.noPadding,"gux-alignment-left":"left"===this.alignment}},e("div",{key:"a5e3d28c009cad10240c1694ed75b2625a05a788",class:"gux-image"},this.renderImageSlot()),e("div",{key:"2b38509836292be6015fe819043b2e2a583a1b10",class:"gux-message"},e("slot",{key:"288c4c78d1aeeb01387386d1d042aa153da8d2bc",name:"primary-message"})),this.renderGuidanceSlot(),this.renderCallToActions())}get root(){return a(this)}};(function(n,e,a,t){var i,s=arguments.length,o=s<3?e:null===t?t=Object.getOwnPropertyDescriptor(e,a):t;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)o=Reflect.decorate(n,e,a,t);else for(var r=n.length-1;r>=0;r--)(i=n[r])&&(o=(s<3?i(o):s>3?i(e,a,o):i(e,a))||o);s>3&&o&&Object.defineProperty(e,a,o)})([i({childList:!0,subtree:!0})],o.prototype,"onMutation",null),o.style=":host {\n display: flex;\n flex-direction: column;\n align-items: center;\n justify-content: center;\n container-type: inline-size;\n}\n\n.gux-container {\n display: flex;\n flex-direction: column;\n align-items: center;\n justify-content: center;\n padding: var(--gse-ui-blankState-padding);\n color: var(--gse-ui-blankState-foregroundColor);\n}\n.gux-container.gux-no-padding {\n padding: 0;\n}\n.gux-container .gux-call-to-actions {\n display: flex;\n flex-direction: column;\n gap: var(--gse-ui-blankState-gapCtaGroup);\n padding-block-start: var(--gse-ui-blankState-gapContent);\n}\n.gux-container .gux-image {\n padding-block-end: var(--gse-ui-blankState-gapMain);\n}\n.gux-container .gux-message {\n padding-block-end: var(--gse-ui-blankState-gapMessage);\n}\n.gux-container .gux-guidance {\n text-align: center;\n}\n.gux-container ::slotted(gux-icon) {\n inline-size: var(--gse-ui-blankState-icon-size-lg);\n block-size: var(--gse-ui-blankState-icon-size-lg);\n color: var(--gse-ui-blankState-iconColor);\n}\n.gux-container slot[name=primary-message] {\n font-family: var(--gse-ui-progressAndLoading-blankState-large-header-fontFamily);\n font-size: var(--gse-ui-progressAndLoading-blankState-large-header-fontSize);\n font-weight: var(--gse-ui-progressAndLoading-blankState-large-header-fontWeight);\n line-height: var(--gse-ui-progressAndLoading-blankState-large-header-lineHeight);\n color: var(--gse-ui-blankState-foregroundColor);\n text-align: center;\n}\n.gux-container slot[name=additional-guidance] {\n font-family: var(--gse-ui-progressAndLoading-blankState-large-subheader-fontFamily);\n font-size: var(--gse-ui-progressAndLoading-blankState-large-subheader-fontSize);\n font-weight: var(--gse-ui-progressAndLoading-blankState-large-subheader-fontWeight);\n line-height: var(--gse-ui-progressAndLoading-blankState-large-subheader-lineHeight);\n color: var(--gse-ui-blankState-foregroundColor);\n text-align: center;\n}\n.gux-container.gux-alignment-left {\n align-items: flex-start;\n}\n.gux-container.gux-alignment-left slot[name=primary-message],\n.gux-container.gux-alignment-left slot[name=additional-guidance] {\n text-align: start;\n}\n.gux-container.gux-alignment-left .gux-guidance {\n text-align: start;\n}\n\n@container (width < 570px) {\n .gux-container ::slotted(gux-icon) {\n inline-size: var(--gse-ui-blankState-icon-size-sm);\n block-size: var(--gse-ui-blankState-icon-size-sm);\n }\n .gux-container slot[name=primary-message] {\n font-family: var(--gse-ui-progressAndLoading-blankState-small-header-fontFamily);\n font-size: var(--gse-ui-progressAndLoading-blankState-small-header-fontSize);\n font-weight: var(--gse-ui-progressAndLoading-blankState-small-header-fontWeight);\n line-height: var(--gse-ui-progressAndLoading-blankState-small-header-lineHeight);\n }\n .gux-container slot[name=additional-guidance] {\n font-family: var(--gse-ui-progressAndLoading-blankState-small-subheader-fontFamily);\n font-size: var(--gse-ui-progressAndLoading-blankState-small-subheader-fontSize);\n font-weight: var(--gse-ui-progressAndLoading-blankState-small-subheader-fontWeight);\n line-height: var(--gse-ui-progressAndLoading-blankState-small-subheader-lineHeight);\n }\n}";export{o as gux_blank_state_beta}
@@ -1 +1 @@
1
- import{r as e,f as o,h as t,a as r}from"./p-mm833MRp.js";import{c as i,o as n}from"./p-Cb3FOYGS.js";import{O as l}from"./p-1mmdDpx8.js";import{o as a}from"./p-De1NnCmO.js";import{p as s}from"./p-PYfNAK8p.js";import{h as u}from"./p-qzV3vtOw.js";import{G as f,a as d}from"./p-BkM3RdTO.js";import{G as p,a as g}from"./p-Bxg2lxW0.js";import{h as c,c as h,g as m,v as x,a as b}from"./p-DHLxhscH.js";import{t as v}from"./p-Bk9hX_6O.js";import{f as C}from"./p-JHLuJ8Pb.js";import"./p-D9jKBqIb.js";import"./p-DxtJDeL9.js";import"./p-BMRf5pjV.js";const y=class{constructor(o){e(this,o),this.indicatorMark="required",this.computedLabelPosition="above",this.clearable=!0,this.hasContent=!1,this.hasError=!1,this.hasHelp=!1}onMutation(){this.labelInfo=this.root.querySelector("[slot=label-info]"),this.hasError=u(this.root,"error"),this.hasHelp=u(this.root,"help")}handleKeyup(e){var o,t;switch(e.key){case"Tab":this.input.matches(":focus-visible")&&(null===(o=this.labelInfo)||void 0===o||o.showTooltip(),this.hideLabelInfoTimeout=setTimeout((()=>{var e;null===(e=this.labelInfo)||void 0===e||e.hideTooltip()}),6e3));break;case"Shift":break;default:this.input.matches(":focus-visible")&&(null===(t=this.labelInfo)||void 0===t||t.hideTooltip(),clearTimeout(this.hideLabelInfoTimeout))}}onFocusout(){var e;null===(e=this.labelInfo)||void 0===e||e.hideTooltip(),clearTimeout(this.hideLabelInfoTimeout)}async guxForceUpdate(){this.hasContent=c(this.input),this.hasError=u(this.root,"error"),this.hasHelp=u(this.root,"help"),o(this.root)}componentWillLoad(){this.setInput(),this.setLabel(),this.labelInfo=this.root.querySelector("[slot=label-info]"),this.hasError=u(this.root,"error"),this.hasHelp=u(this.root,"help"),v(this.root,{variant:this.variant})}disconnectedCallback(){this.disabledObserver&&this.disabledObserver.disconnect(),this.requiredObserver&&this.requiredObserver.disconnect()}render(){return t(g,{key:"d8e7979a398c2d2cb253a8963dcb73097071913a",labelPosition:this.computedLabelPosition},t(p,{key:"0d660a0f7f1cca5fcee9e5e5e286c78c6cda27cf",required:this.required,position:this.computedLabelPosition},t("slot",{key:"7ebeaf339f5d7d1711e178055c4290b937dbead1",name:"label",onSlotchange:()=>this.setLabel()}),t("gux-form-field-label-indicator",{key:"d2061f8d3881b5205886d5a4de3e4d4e1fbc63db",variant:this.indicatorMark,required:this.required}),t("slot",{key:"f22f7f97322585e46e0b0c6b531249923cabf72e",name:"label-info"})),t("div",{key:"1ffa3def92c9ed7ef2b2eabf7148c3126fcc0136",class:"gux-input-and-error-container"},t("div",{key:"236f2873311d703f441604085aef6c4b36769dcc",class:{"gux-input":!0,"gux-input-error":this.hasError}},t("div",{key:"2150cdfb85ae8958143f1665ae2b7df92ccf25db",class:{"gux-input-container":!0,"gux-disabled":this.disabled},onClick:()=>C(this.input)},t("gux-icon",{key:"03e96968f01aae2c30253b3ad9a791f97284b003","icon-name":"fa/magnifying-glass-regular",decorative:!0,size:"small"}),t("slot",{key:"a6dc120633867712474d085001dd155694f07ba5",name:"input"}),this.clearable&&this.hasContent&&!this.disabled&&t("gux-form-field-input-clear-button",{key:"8e4b4e775a10328088ae79e9f5c661d2740c3758",onClick:()=>h(this.input)}))),t(f,{key:"69f90a44bd6c4d0ebd1f82404646375ef7a488ec",show:this.hasError},t("slot",{key:"f0622f95157ae583e3282925f5d17d7d9cb47a55",name:"error"})),t(d,{key:"698dbaabec30e0348bf9ce6ee29972bddae2234b",show:!this.hasError&&this.hasHelp},t("slot",{key:"4f1238030632208d372842e9452f97739b3564fb",name:"help"}))))}get variant(){const e=this.labelPosition?this.labelPosition.toLowerCase():"none";return`${this.input.getAttribute("type")}-${e}`}setInput(){this.input=m(this.root,'input[type="search"][slot="input"]'),this.hasContent=c(this.input),s(this.input),this.input.addEventListener("input",(()=>{this.hasContent=c(this.input)})),this.disabled=i(this.input),this.required=this.input.required,this.disabledObserver=n(this.input,(e=>{this.disabled=e})),this.requiredObserver=a(this.input,(e=>{this.required=e})),x(this.root,this.input)}setLabel(){this.label=this.root.querySelector('label[slot="label"]'),this.computedLabelPosition=b(this.label,this.labelPosition)}get root(){return r(this)}};(function(e,o,t,r){var i,n=arguments.length,l=n<3?o:null===r?r=Object.getOwnPropertyDescriptor(o,t):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)l=Reflect.decorate(e,o,t,r);else for(var a=e.length-1;a>=0;a--)(i=e[a])&&(l=(n<3?i(l):n>3?i(o,t,l):i(o,t))||l);n>3&&l&&Object.defineProperty(o,t,l)})([l({childList:!0,subtree:!0})],y.prototype,"onMutation",null),y.style='.gux-form-field-container{display:flex;flex-direction:column}.gux-form-field-container.gux-beside{flex-direction:row}.gux-form-field-error{display:none;flex-direction:row;flex-wrap:nowrap;gap:var(--gse-ui-formControl-helper-gap);place-content:stretch flex-start;padding:var(--gse-ui-formControl-helper-errorPadding);font-family:var(--gse-ui-formControl-helper-helperText-fontFamily);font-size:var(--gse-ui-formControl-helper-helperText-fontSize);line-height:var(--gse-ui-formControl-helper-helperText-lineHeight);color:var(--gse-ui-formControl-helper-errorColor)}.gux-form-field-error.gux-show{display:flex}.gux-form-field-error gux-icon{flex:0 0 auto;order:0;color:var(--gse-ui-formControl-helper-errorColor)}.gux-form-field-error .gux-message{flex:0 1 auto;align-self:auto;order:0}.gux-form-field-label{display:inline-flex;flex:1 0 auto}.gux-form-field-label ::slotted(label){min-inline-size:0}.gux-form-field-label ::slotted(gux-label-info-beta){padding-inline-start:var(--gse-ui-formControl-formField-gap)}.gux-form-field-label.gux-beside{position:relative;inset-block-start:var(--gse-ui-formControl-input-top);inline-size:fit-content;min-inline-size:var(--gse-ui-formControl-input-textfield-minWidth);max-inline-size:fit-content;margin-inline-end:var(--gse-ui-formControl-group-gapItems)}.gux-form-field-label.gux-above{padding-block-end:var(--gse-ui-formControl-formField-gap)}.gux-form-field-label.gux-screenreader{position:absolute;top:auto;left:-10000px;width:1px;height:1px;overflow:hidden}.gux-form-field-help{display:none;flex-direction:row;flex-wrap:nowrap;place-content:stretch flex-start;align-items:flex-start;justify-content:flex-start;padding-block-start:var(--gse-ui-formControl-formField-gap);font-family:var(--gse-ui-formControl-helper-helperText-fontFamily);font-size:var(--gse-ui-formControl-helper-helperText-fontSize);line-height:var(--gse-ui-formControl-helper-helperText-lineHeight);color:var(--gse-ui-formControl-helper-defaultColor)}.gux-form-field-help.gux-show{display:flex}.gux-form-field-help .gux-message{flex:0 1 auto;align-self:none;order:0}:host{display:block}::slotted(label){font-family:var(--gse-ui-formControl-label-textBold-fontFamily);font-size:var(--gse-ui-formControl-label-textBold-fontSize);font-weight:var(--gse-ui-formControl-label-textBold-fontWeight);line-height:var(--gse-ui-formControl-label-textBold-lineHeight);color:var(--gse-ui-formControl-label-labelColor)}::slotted(input){flex:1 1 auto;align-self:auto;order:0;inline-size:100%;overflow:hidden;text-overflow:ellipsis;font-family:var(--gse-ui-formControl-input-contentText-fontFamily);font-size:var(--gse-ui-formControl-input-contentText-fontSize);font-weight:var(--gse-ui-formControl-input-contentText-fontWeight);line-height:var(--gse-ui-formControl-input-contentText-lineHeight);color:var(--gse-ui-formControl-input-populatedColor);outline:none;background-color:var(--gse-ui-formControl-input-backgroundColor);border:none}::slotted(input)::placeholder{color:var(--gse-ui-formControl-input-placeholderColor);opacity:1}.gux-input-and-error-container{flex-grow:1}.gux-input-and-error-container .gux-input{display:flex;flex-direction:row;flex-wrap:nowrap;align-content:stretch;align-items:center}.gux-input-and-error-container .gux-input .gux-input-container{box-sizing:border-box;display:flex;flex:1 1 auto;flex-direction:row;flex-wrap:nowrap;gap:var(--gse-ui-formControl-input-gap);place-content:stretch center;align-items:center;align-self:auto;order:0;inline-size:100%;block-size:var(--gse-ui-formControl-input-textfield-height);padding:var(--gse-ui-formControl-input-padding);font-family:var(--gse-ui-formControl-input-contentText-fontFamily);font-size:var(--gse-ui-formControl-input-contentText-fontSize);font-weight:var(--gse-ui-formControl-input-contentText-fontWeight);line-height:var(--gse-ui-formControl-input-contentText-lineHeight);color:var(--gse-ui-formControl-input-populatedColor);cursor:text;background-color:var(--gse-ui-formControl-input-backgroundColor);background-image:none;border:var(--gse-ui-formControl-input-default-border-width) var(--gse-ui-formControl-input-default-border-style) var(--gse-ui-formControl-input-default-border-color);border-radius:var(--gse-ui-formControl-input-borderRadius)}.gux-input-and-error-container .gux-input .gux-input-container.gux-disabled{cursor:default;opacity:var(--gse-ui-formControl-input-disabled-opacity)}.gux-input-and-error-container .gux-input .gux-input-container gux-icon[icon-name="fa/magnifying-glass-regular"]{flex:0 0 auto;align-self:auto;order:0;color:var(--gse-ui-formControl-input-inputIcon-defaultColor)}.gux-input-and-error-container .gux-input .gux-input-container:focus-within{outline:var(--gse-ui-formControl-input-focus-border-width) var(--gse-ui-formControl-input-focus-border-style) var(--gse-ui-formControl-input-focus-border-color);outline-offset:var(--gse-semantic-focusOutline-offset);border:var(--gse-ui-formControl-input-active-border-width) var(--gse-ui-formControl-input-active-border-style) var(--gse-ui-formControl-input-active-border-color);border-radius:var(--gse-ui-formControl-focusRing-borderRadius)}.gux-input-and-error-container .gux-input .gux-input-container:hover:not(.gux-disabled){border:var(--gse-ui-formControl-input-hover-border-width) var(--gse-ui-formControl-input-hover-border-style) var(--gse-ui-formControl-input-hover-border-color)}.gux-input-and-error-container .gux-input.gux-input-error .gux-input-container{border-color:var(--gse-ui-formControl-input-error-border-color)}';export{y as gux_form_field_search}
1
+ import{r as e,f as o,h as t,a as r}from"./p-mm833MRp.js";import{c as i,o as n}from"./p-Cb3FOYGS.js";import{O as a}from"./p-1mmdDpx8.js";import{o as l}from"./p-De1NnCmO.js";import{p as s}from"./p-PYfNAK8p.js";import{h as f}from"./p-qzV3vtOw.js";import{G as u,a as d}from"./p-BkM3RdTO.js";import{G as p,a as g}from"./p-Bxg2lxW0.js";import{h as c,c as h,g as m,v as b,a as x}from"./p-DHLxhscH.js";import{t as v}from"./p-DoCK5APt.js";import{f as C}from"./p-JHLuJ8Pb.js";import"./p-D9jKBqIb.js";import"./p-DxtJDeL9.js";import"./p-BMRf5pjV.js";const y=class{constructor(o){e(this,o),this.indicatorMark="required",this.computedLabelPosition="above",this.clearable=!0,this.hasContent=!1,this.hasError=!1,this.hasHelp=!1}onMutation(){this.labelInfo=this.root.querySelector("[slot=label-info]"),this.hasError=f(this.root,"error"),this.hasHelp=f(this.root,"help")}handleKeyup(e){var o,t;switch(e.key){case"Tab":this.input.matches(":focus-visible")&&(null===(o=this.labelInfo)||void 0===o||o.showTooltip(),this.hideLabelInfoTimeout=setTimeout((()=>{var e;null===(e=this.labelInfo)||void 0===e||e.hideTooltip()}),6e3));break;case"Shift":break;default:this.input.matches(":focus-visible")&&(null===(t=this.labelInfo)||void 0===t||t.hideTooltip(),clearTimeout(this.hideLabelInfoTimeout))}}onFocusout(){var e;null===(e=this.labelInfo)||void 0===e||e.hideTooltip(),clearTimeout(this.hideLabelInfoTimeout)}async guxForceUpdate(){this.hasContent=c(this.input),this.hasError=f(this.root,"error"),this.hasHelp=f(this.root,"help"),o(this.root)}componentWillLoad(){this.setInput(),this.setLabel(),this.labelInfo=this.root.querySelector("[slot=label-info]"),this.hasError=f(this.root,"error"),this.hasHelp=f(this.root,"help"),v(this.root,{variant:this.variant})}disconnectedCallback(){this.disabledObserver&&this.disabledObserver.disconnect(),this.requiredObserver&&this.requiredObserver.disconnect()}render(){return t(g,{key:"b6fd9cc1299ad98c62eb26ed723b50f252a1d960",labelPosition:this.computedLabelPosition},t(p,{key:"85317cd753898a4994bee108ffe9de8a10280acd",required:this.required,position:this.computedLabelPosition},t("slot",{key:"2de444abac4cb87ccaac33bfd3c9a8fd8fb7b781",name:"label",onSlotchange:()=>this.setLabel()}),t("gux-form-field-label-indicator",{key:"d7d70bb3d250dfabfbff3028abe0a14baa1a97a9",variant:this.indicatorMark,required:this.required}),t("slot",{key:"0834958114c7bb532aff2340bd615ffba436ff4b",name:"label-info"})),t("div",{key:"e8e51be1997d6edd73742b41a505fc8c24c6eebf",class:"gux-input-and-error-container"},t("div",{key:"98479f702b194a4afea9c2bd4b92fa2c18baa33f",class:{"gux-input":!0,"gux-input-error":this.hasError}},t("div",{key:"81559bc37b88fe02dabaa9cee25083ebda55e0d1",class:{"gux-input-container":!0,"gux-disabled":this.disabled},onClick:()=>C(this.input)},t("gux-icon",{key:"f3706a1a58d52caa4398527adc123c796cf583ad","icon-name":"fa/magnifying-glass-regular",decorative:!0,size:"small"}),t("slot",{key:"26dafd78af632c3418d57daa2acaab3bd3c40e05",name:"input"}),this.clearable&&this.hasContent&&!this.disabled&&t("gux-form-field-input-clear-button",{key:"7f9f2917f9a41cef175770ba9ae537a4de5e60f7",onClick:()=>h(this.input)}))),t(u,{key:"2ffcf69bae8c23fafdf3ca207a22dba5ace612c9",show:this.hasError},t("slot",{key:"dd600061ead761ee0a705e3e5fb9c9f54616ed29",name:"error"})),t(d,{key:"3d45df101daa9bafc3852edd369bacc4ffaf1b1e",show:!this.hasError&&this.hasHelp},t("slot",{key:"04a36d9a887e68426db0e41f44c91afcdcb48e59",name:"help"}))))}get variant(){const e=this.labelPosition?this.labelPosition.toLowerCase():"none";return`${this.input.getAttribute("type")}-${e}`}setInput(){this.input=m(this.root,'input[type="search"][slot="input"]'),this.hasContent=c(this.input),s(this.input),this.input.addEventListener("input",(()=>{this.hasContent=c(this.input)})),this.disabled=i(this.input),this.required=this.input.required,this.disabledObserver=n(this.input,(e=>{this.disabled=e})),this.requiredObserver=l(this.input,(e=>{this.required=e})),b(this.root,this.input)}setLabel(){this.label=this.root.querySelector('label[slot="label"]'),this.computedLabelPosition=x(this.label,this.labelPosition)}get root(){return r(this)}};(function(e,o,t,r){var i,n=arguments.length,a=n<3?o:null===r?r=Object.getOwnPropertyDescriptor(o,t):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(e,o,t,r);else for(var l=e.length-1;l>=0;l--)(i=e[l])&&(a=(n<3?i(a):n>3?i(o,t,a):i(o,t))||a);n>3&&a&&Object.defineProperty(o,t,a)})([a({childList:!0,subtree:!0})],y.prototype,"onMutation",null),y.style='.gux-form-field-container{display:flex;flex-direction:column}.gux-form-field-container.gux-beside{flex-direction:row}.gux-form-field-error{display:none;flex-direction:row;flex-wrap:nowrap;gap:var(--gse-ui-formControl-helper-gap);place-content:stretch flex-start;padding:var(--gse-ui-formControl-helper-errorPadding);font-family:var(--gse-ui-formControl-helper-helperText-fontFamily);font-size:var(--gse-ui-formControl-helper-helperText-fontSize);line-height:var(--gse-ui-formControl-helper-helperText-lineHeight);color:var(--gse-ui-formControl-helper-errorColor)}.gux-form-field-error.gux-show{display:flex}.gux-form-field-error gux-icon{flex:0 0 auto;order:0;color:var(--gse-ui-formControl-helper-errorColor)}.gux-form-field-error .gux-message{flex:0 1 auto;align-self:auto;order:0}.gux-form-field-label{display:inline-flex;flex:1 0 auto}.gux-form-field-label ::slotted(label){min-inline-size:0}.gux-form-field-label ::slotted(gux-label-info-beta){padding-inline-start:var(--gse-ui-formControl-formField-gap)}.gux-form-field-label.gux-beside{position:relative;inset-block-start:var(--gse-ui-formControl-input-top);inline-size:fit-content;min-inline-size:var(--gse-ui-formControl-input-textfield-minWidth);max-inline-size:fit-content;margin-inline-end:var(--gse-ui-formControl-group-gapItems)}.gux-form-field-label.gux-above{padding-block-end:var(--gse-ui-formControl-formField-gap)}.gux-form-field-label.gux-screenreader{position:absolute;top:auto;left:-10000px;width:1px;height:1px;overflow:hidden}.gux-form-field-help{display:none;flex-direction:row;flex-wrap:nowrap;place-content:stretch flex-start;align-items:flex-start;justify-content:flex-start;padding-block-start:var(--gse-ui-formControl-formField-gap);font-family:var(--gse-ui-formControl-helper-helperText-fontFamily);font-size:var(--gse-ui-formControl-helper-helperText-fontSize);line-height:var(--gse-ui-formControl-helper-helperText-lineHeight);color:var(--gse-ui-formControl-helper-defaultColor)}.gux-form-field-help.gux-show{display:flex}.gux-form-field-help .gux-message{flex:0 1 auto;align-self:none;order:0}:host{display:block}::slotted(label){font-family:var(--gse-ui-formControl-label-textBold-fontFamily);font-size:var(--gse-ui-formControl-label-textBold-fontSize);font-weight:var(--gse-ui-formControl-label-textBold-fontWeight);line-height:var(--gse-ui-formControl-label-textBold-lineHeight);color:var(--gse-ui-formControl-label-labelColor)}::slotted(input){flex:1 1 auto;align-self:auto;order:0;inline-size:100%;overflow:hidden;text-overflow:ellipsis;font-family:var(--gse-ui-formControl-input-contentText-fontFamily);font-size:var(--gse-ui-formControl-input-contentText-fontSize);font-weight:var(--gse-ui-formControl-input-contentText-fontWeight);line-height:var(--gse-ui-formControl-input-contentText-lineHeight);color:var(--gse-ui-formControl-input-populatedColor);outline:none;background-color:var(--gse-ui-formControl-input-backgroundColor);border:none}::slotted(input)::placeholder{color:var(--gse-ui-formControl-input-placeholderColor);opacity:1}.gux-input-and-error-container{flex-grow:1}.gux-input-and-error-container .gux-input{display:flex;flex-direction:row;flex-wrap:nowrap;align-content:stretch;align-items:center}.gux-input-and-error-container .gux-input .gux-input-container{box-sizing:border-box;display:flex;flex:1 1 auto;flex-direction:row;flex-wrap:nowrap;gap:var(--gse-ui-formControl-input-gap);place-content:stretch center;align-items:center;align-self:auto;order:0;inline-size:100%;block-size:var(--gse-ui-formControl-input-textfield-height);padding:var(--gse-ui-formControl-input-padding);font-family:var(--gse-ui-formControl-input-contentText-fontFamily);font-size:var(--gse-ui-formControl-input-contentText-fontSize);font-weight:var(--gse-ui-formControl-input-contentText-fontWeight);line-height:var(--gse-ui-formControl-input-contentText-lineHeight);color:var(--gse-ui-formControl-input-populatedColor);cursor:text;background-color:var(--gse-ui-formControl-input-backgroundColor);background-image:none;border:var(--gse-ui-formControl-input-default-border-width) var(--gse-ui-formControl-input-default-border-style) var(--gse-ui-formControl-input-default-border-color);border-radius:var(--gse-ui-formControl-input-borderRadius)}.gux-input-and-error-container .gux-input .gux-input-container.gux-disabled{cursor:default;opacity:var(--gse-ui-formControl-input-disabled-opacity)}.gux-input-and-error-container .gux-input .gux-input-container gux-icon[icon-name="fa/magnifying-glass-regular"]{flex:0 0 auto;align-self:auto;order:0;color:var(--gse-ui-formControl-input-inputIcon-defaultColor)}.gux-input-and-error-container .gux-input .gux-input-container:focus-within{outline:var(--gse-ui-formControl-input-focus-border-width) var(--gse-ui-formControl-input-focus-border-style) var(--gse-ui-formControl-input-focus-border-color);outline-offset:var(--gse-semantic-focusOutline-offset);border:var(--gse-ui-formControl-input-active-border-width) var(--gse-ui-formControl-input-active-border-style) var(--gse-ui-formControl-input-active-border-color);border-radius:var(--gse-ui-formControl-focusRing-borderRadius)}.gux-input-and-error-container .gux-input .gux-input-container:hover:not(.gux-disabled){border:var(--gse-ui-formControl-input-hover-border-width) var(--gse-ui-formControl-input-hover-border-style) var(--gse-ui-formControl-input-hover-border-color)}.gux-input-and-error-container .gux-input.gux-input-error .gux-input-container{border-color:var(--gse-ui-formControl-input-error-border-color)}';export{y as gux_form_field_search}
@@ -1 +1 @@
1
- import{r as e,c as t,h as s,a as r}from"./p-mm833MRp.js";import{t as o}from"./p-Bk9hX_6O.js";const i=class{constructor(s){e(this,s),this.internalactivestepchange=t(this,"internalactivestepchange",7)}onClick(){this.stepDisabledState||this.internalactivestepchange.emit()}get stepDisabledState(){var e;return null===(e=this.root.closest("gux-step"))||void 0===e?void 0:e.disabled}componentWillLoad(){o(this.root)}render(){return s("button",{key:"841783a2963db35d81da4faa8720bda2bb14b739",type:"button",disabled:this.stepDisabledState},s("gux-truncate",{key:"84d45fe4b4184d0ce38dc93d26aee6741326cfaa",maxLines:2},s("slot",{key:"cdc5e9f5f9e9cc467edf1557e0deb5c4f9c90935"})))}get root(){return r(this)}};i.style="button{all:unset;font-family:var(--gse-ui-stepper-default-text-fontFamily);font-size:var(--gse-ui-stepper-default-text-fontSize);font-weight:var(--gse-ui-stepper-default-text-fontWeight);line-height:var(--gse-ui-stepper-default-text-lineHeight);color:var(--gse-ui-stepper-title-default);cursor:pointer}button[disabled]{pointer-events:none;user-select:none}button:hover:not([disabled]){font-family:var(--gse-ui-stepper-hover-text-fontFamily);font-size:var(--gse-ui-stepper-hover-text-fontSize);font-weight:var(--gse-ui-stepper-hover-text-fontWeight);line-height:var(--gse-ui-stepper-hover-text-lineHeight);color:var(--gse-ui-stepper-title-hover);text-decoration:var(--gse-ui-stepper-hover-text-textDecoration)}button:focus-visible{outline:var(--gse-ui-stepper-step-focus-border-width) var(--gse-ui-stepper-step-focus-border-style) var(--gse-ui-stepper-step-focus-border-color);outline-offset:var(--gse-ui-stepper-focus-offset);border-radius:var(--gse-ui-stepper-step-focus-borderRadius)}";export{i as gux_step_title}
1
+ import{r as e,c as t,h as s,a as r}from"./p-mm833MRp.js";import{t as o}from"./p-DoCK5APt.js";const i=class{constructor(s){e(this,s),this.internalactivestepchange=t(this,"internalactivestepchange",7)}onClick(){this.stepDisabledState||this.internalactivestepchange.emit()}get stepDisabledState(){var e;return null===(e=this.root.closest("gux-step"))||void 0===e?void 0:e.disabled}componentWillLoad(){o(this.root)}render(){return s("button",{key:"e29a88d6550c357e4db2d8de5345cfef5d6f2d2f",type:"button",disabled:this.stepDisabledState},s("gux-truncate",{key:"fec8fa65f7ea9f5c8689b2f38e1141d28f86734c",maxLines:2},s("slot",{key:"645b255c3b0b107045c74001f567f7d48d5a995e"})))}get root(){return r(this)}};i.style="button{all:unset;font-family:var(--gse-ui-stepper-default-text-fontFamily);font-size:var(--gse-ui-stepper-default-text-fontSize);font-weight:var(--gse-ui-stepper-default-text-fontWeight);line-height:var(--gse-ui-stepper-default-text-lineHeight);color:var(--gse-ui-stepper-title-default);cursor:pointer}button[disabled]{pointer-events:none;user-select:none}button:hover:not([disabled]){font-family:var(--gse-ui-stepper-hover-text-fontFamily);font-size:var(--gse-ui-stepper-hover-text-fontSize);font-weight:var(--gse-ui-stepper-hover-text-fontWeight);line-height:var(--gse-ui-stepper-hover-text-lineHeight);color:var(--gse-ui-stepper-title-hover);text-decoration:var(--gse-ui-stepper-hover-text-textDecoration)}button:focus-visible{outline:var(--gse-ui-stepper-step-focus-border-width) var(--gse-ui-stepper-step-focus-border-style) var(--gse-ui-stepper-step-focus-border-color);outline-offset:var(--gse-ui-stepper-focus-offset);border-radius:var(--gse-ui-stepper-step-focus-borderRadius)}";export{i as gux_step_title}
@@ -0,0 +1 @@
1
+ import{r as t,h as s,H as i,a}from"./p-mm833MRp.js";import{s as e}from"./p-BMRf5pjV.js";import{t as o}from"./p-DoCK5APt.js";const h=class{constructor(s){t(this,s),this.layout="default",this.switchItems=[]}onClick(t){t.stopPropagation();const s=t.target.closest("gux-switch-item");s&&this.value!==s.value&&(this.value=s.value,e(this.root,"input"),e(this.root,"change"))}slotChanged(){this.switchItems=Array.from(this.root.children)}componentWillLoad(){o(this.root,{variant:this.layout})}componentWillRender(){this.switchItems.forEach((t=>{t.selected=t.value===this.value}))}render(){return s(i,{key:"b1a6caaac5bdfb42f1016a8d77e5cb9e2e05edc4",role:"group",class:`gux-${this.layout}`},s("slot",{key:"a08e30d37e0a9f01d18111bd128ba318ff1ffafd",onSlotchange:this.slotChanged.bind(this)}))}get root(){return a(this)}};h.style=":host{display:flex;align-items:flex-end}";export{h as gux_switch_legacy}
@@ -1 +1 @@
1
- import{r as e,h as t,H as i,a as o}from"./p-mm833MRp.js";import{t as s}from"./p-Bk9hX_6O.js";import{g as n}from"./p-Cd4R0amv.js";import{b as a}from"./p-D_8CR3cJ.js";import{t as r}from"./p-DN3YAdAX.js";import{O as u}from"./p-CuMZPTZF.js";import{b as l}from"./p-Bg4q97BS.js";import{w as d}from"./p-kLXvN2m9.js";import{h as c}from"./p-wqCHc7t7.js";import{a as b,c as h,o as g,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:"e1606d3e5f499a7a9f351adebb1e7868f0123e74",role:"listitem"},t("button",{key:"af26738f5632f7740354841a95e293108ab9d3fb",type:"button",tabIndex:-1,disabled:this.disabled},t("gux-truncate",{key:"59e758733f4d127e41d2e9c6142de10f8179bbc2","max-lines":1},t("slot",{key:"990a0139ac7ffedd332dffa17c51a184d4e03c5b"}))))}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){d("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:"85d2db8478cbdee814dc53104e1ab4b01f0c17bc"},t("gux-popup",{key:"20f4a48c37f00491059bb511df72b0a5641ae703",expanded:this.isOpen,offset:4,"exceed-target-width":!0},t("div",{key:"29335da301d33721cede10bd257cc6cdaadcc5e1",slot:"target"},t("gux-button-slot",{key:"cf3ec80265b3e844a031abed3d0a555d60132606",accent:"ghost"},t("button",{key:"84cf3bcb00de9f584461f7b7dc1050a4ac5b13c4",type:"button",onClick:()=>this.onActionClick(),ref:e=>this.button=e,"aria-haspopup":"true","aria-expanded":this.isOpen.toString(),disabled:c(this.root)},t("gux-icon",{key:"414b5662b39796d33e93bf0d15cb2f16198aa289","icon-name":"fa/ellipsis-vertical-regular",decorative:!0,size:"small"}),t("gux-screen-reader-beta",{key:"778949d2faa2706c93420b08052971ca119ee092"},this.i18n("additionalActions"))),this.renderTooltip())),t("div",{key:"da94c20c4dfda1e5afcb4cb26bfda2ba74956902",slot:"popup",class:"gux-list-container"},t("gux-rich-text-editor-list",{key:"1a84177e38cfeeda48b5977a25a622d8225788b3",onClick:e=>this.onListClick(e),ref:e=>this.listElement=e},t("slot",{key:"adfbab835e91e9f9b48f8be7dd65df8b8ef0e4be"})))))}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&&h(this.buttonElement,this.subListElement,{placement:"right-start",strategy:"fixed",middleware:[g(4),f(),p()]}).then((({x:e,y:t})=>{Object.assign(this.subListElement.style,{left:`${e}px`,top:`${t}px`})}))}render(){return t(i,{key:"3df207bfeaa9d6c6227b8149bd3553c3d9b66548"},t("button",{key:"d6b869956ab56a2007b2653aff2ae3c8fb964422",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:"c4619de07087fd383ee458a0a7628b14cd4b6dd9",class:"gux-sub-list-button-text"},this.label),t("gux-icon",{key:"6221fbf5092e6b20e6c3fc3b5a4302ca787b8cc3",size:"small","icon-name":"custom/chevron-right-small-regular",decorative:!0})),t("div",{key:"42dab1fe309919bab4ac1f30a1fe2aba127ada75",ref:e=>this.subListElement=e,class:{"gux-sub-list-wrapper":!0,"gux-shown":this.isShown}},t("div",{key:"597ad4018297fa07aefdb9313eb192c3081a0d19",role:"list",class:"gux-sub-list-content",ref:e=>this.subListContentElement=e},t("slot",{key:"4deabafbda7f5b5ba718a095868bee232c20068e"}))))}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-mm833MRp.js";import{t as s}from"./p-DoCK5APt.js";import{g as n}from"./p-Cd4R0amv.js";import{b as a}from"./p-D_8CR3cJ.js";import{t as r}from"./p-DN3YAdAX.js";import{O as u}from"./p-CuMZPTZF.js";import{b as l}from"./p-Bg4q97BS.js";import{w as d}from"./p-kLXvN2m9.js";import{h as c}from"./p-wqCHc7t7.js";import{a as b,c as h,o as g,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:"e582248c25451828a7b070573529b04741abdb47",role:"listitem"},t("button",{key:"f6bf75d66cac5f018bf533c3f9f298ba7ae3c15a",type:"button",tabIndex:-1,disabled:this.disabled},t("gux-truncate",{key:"98e52cf15df68a62e25325157d532ec8b985293c","max-lines":1},t("slot",{key:"2da1a9aef7ee97e8fd0fd12b5cafaebcdf5f87fe"}))))}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){d("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:"5acb80c3d44a6ac2b15542a9aca6ca79b157f898"},t("gux-popup",{key:"31659709cedfadafc1f302baba590686641e05d5",expanded:this.isOpen,offset:4,"exceed-target-width":!0},t("div",{key:"db16ca6358d7d504f05c5bd62fe9ee38fd4988db",slot:"target"},t("gux-button-slot",{key:"e42c04b0e11a28d48a6b01339496f49bf888199f",accent:"ghost"},t("button",{key:"eff7dd12dfec3ae87969dd4fc838f9db70164d25",type:"button",onClick:()=>this.onActionClick(),ref:e=>this.button=e,"aria-haspopup":"true","aria-expanded":this.isOpen.toString(),disabled:c(this.root)},t("gux-icon",{key:"b4b9384c1b58f7dd32ab95bc311ab214bf22f258","icon-name":"fa/ellipsis-vertical-regular",decorative:!0,size:"small"}),t("gux-screen-reader-beta",{key:"7b85b3b1179cbc96e9325ac62d0524f41528fc4c"},this.i18n("additionalActions"))),this.renderTooltip())),t("div",{key:"90d6c8b193948004b70bd788ee0bad86f7b26889",slot:"popup",class:"gux-list-container"},t("gux-rich-text-editor-list",{key:"388a7894820faf7d4d98368f5c2f9206ca984cfd",onClick:e=>this.onListClick(e),ref:e=>this.listElement=e},t("slot",{key:"7ad08ce76452efe3ada75ca2064e6c0b0d75bbb7"})))))}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&&h(this.buttonElement,this.subListElement,{placement:"right-start",strategy:"fixed",middleware:[g(4),f(),p()]}).then((({x:e,y:t})=>{Object.assign(this.subListElement.style,{left:`${e}px`,top:`${t}px`})}))}render(){return t(i,{key:"bad69285cd0e91af6a0d4aae91f6a915f9b0f4c4"},t("button",{key:"e2ed53d26e266ed26b8c5a2a77b944378123d7a9",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:"d1c7ce30865228b9257755925d2c86c83fceaddd",class:"gux-sub-list-button-text"},this.label),t("gux-icon",{key:"fbfacaff8e236bcf31821494b270b92b860efa90",size:"small","icon-name":"custom/chevron-right-small-regular",decorative:!0})),t("div",{key:"0aabab7ca5568b642f4b9438da125111da87c1b5",ref:e=>this.subListElement=e,class:{"gux-sub-list-wrapper":!0,"gux-shown":this.isShown}},t("div",{key:"009901a9f3077aaf1872e4be09b35028e0b56d3b",role:"list",class:"gux-sub-list-content",ref:e=>this.subListContentElement=e},t("slot",{key:"582e8b26f97c4a57bae284c290082e328b0b0b95"}))))}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 o,h as t,a as s}from"./p-mm833MRp.js";import{t as r}from"./p-Bk9hX_6O.js";const c=class{constructor(t){o(this,t),this.singleOpenSection=!1}handleGuxopened(o){this.singleOpenSection&&this.getAccordionSections().forEach((t=>{t!==o.target&&this.closeSection(t)}))}componentWillLoad(){this.singleOpenSection&&this.getAccordionSections().reduceRight(((o,t)=>(o&&this.closeSection(t),o||t.open)),!1),r(this.root)}getAccordionSections(){return Array.from(this.root.children)}closeSection(o){o.disabled||(o.open=!1)}render(){return t("slot",{key:"9724aa3ad7ce254c77444838134c40e1d2ae0cc1"})}get root(){return s(this)}};c.style="gux-accordion{-custom-noop:noop}";export{c as gux_accordion}
1
+ import{r as o,h as t,a as s}from"./p-mm833MRp.js";import{t as r}from"./p-DoCK5APt.js";const i=class{constructor(t){o(this,t),this.singleOpenSection=!1}handleGuxopened(o){this.singleOpenSection&&this.getAccordionSections().forEach((t=>{t!==o.target&&this.closeSection(t)}))}componentWillLoad(){this.singleOpenSection&&this.getAccordionSections().reduceRight(((o,t)=>(o&&this.closeSection(t),o||t.open)),!1),r(this.root)}getAccordionSections(){return Array.from(this.root.children)}closeSection(o){o.disabled||(o.open=!1)}render(){return t("slot",{key:"717e4ba52882dd91b842c1630d2bc402b7dc4117"})}get root(){return s(this)}};i.style="gux-accordion{-custom-noop:noop}";export{i as gux_accordion}
@@ -0,0 +1 @@
1
+ import{r as t,c as a,h as e,a as i}from"./p-mm833MRp.js";import{b as n}from"./p-D_8CR3cJ.js";import{t as s}from"./p-BFMPPR7N.js";import{b as r}from"./p-Bg4q97BS.js";import"./p-Cd4R0amv.js";class o{static displayAllPageButtons(t,a,e){switch(e){case"advanced":return function(t,a){if(a<=7)return[...Array(a).keys()].map((a=>{const e=a+1;return{pageNumber:e,display:String(e),current:e===t}}));if(t<=3)return[...[...Array(5).keys()].map((a=>{const e=a+1;return{pageNumber:e,display:String(e),current:e===t}})),{pageNumber:6,display:"...",current:!1},{pageNumber:a,display:String(a),current:!1}];if(t>a-3){const e=[...Array(5).keys()].map((e=>{const i=e+a-4;return{pageNumber:i,display:String(i),current:i===t}}));return[{pageNumber:1,display:"1",current:!1},{pageNumber:a-6,display:"...",current:!1},...e]}const e=[...Array(3).keys()].map((a=>{const e=a+t-1;return{pageNumber:e,display:String(e),current:e===t}}));return[{pageNumber:1,display:"1",current:!1},{pageNumber:t-3,display:"...",current:!1},...e,{pageNumber:t+3,display:"...",current:!1},{pageNumber:a,display:String(a),current:!1}]}(t,a);case"simple":return function(t,a){return a<=3?[...Array(a).keys()].map((a=>{const e=a+1;return{pageNumber:e,display:String(e),current:e===t}})):a===t?[{pageNumber:1,display:"1",current:!1},{pageNumber:t,display:"...",current:!1},{pageNumber:a,display:String(a),current:!0}]:a>=4?[...[...Array(1).keys()].map((e=>{const i=e+t;return{pageNumber:i,display:String(i),current:i!==a}})),{pageNumber:t,display:"...",current:!1},{pageNumber:a,display:String(a),current:a==t}]:void 0}(t,a)}}}const u=class{constructor(e){t(this,e),this.internalcurrentpagechange=a(this,"internalcurrentpagechange",3),this.layout="advanced",this.disabled=!1}goToPageHandler(t){this.currentPage=t.detail,this.handlePageChange(this.currentPage),r((()=>{this.currentElement.focus()}))}get onFirstPage(){return this.currentPage<=1}get onLastPage(){return this.currentPage>=this.totalPages}handleClickFirst(){this.internalcurrentpagechange.emit(1)}handleClickPrevious(){this.internalcurrentpagechange.emit(this.currentPage-1)}handleClickNext(){this.internalcurrentpagechange.emit(this.currentPage+1)}handleClickLast(){this.internalcurrentpagechange.emit(this.totalPages)}handlePageChange(t){this.internalcurrentpagechange.emit(t)}getPageListEnteries(t,a,i){return o.displayAllPageButtons(t,a,i).reduce(((t,a)=>t.concat(a.current?e("gux-button-slot",{accent:"ghost"},e("button",{disabled:this.disabled,ref:t=>this.currentElement=t,class:"gux-pagination-buttons-list-current","aria-label":this.i18n("pageSelected",{pageSelected:a.pageNumber})},a.display)):"..."==a.display?e("gux-pagination-ellipsis-button",{disabled:this.disabled,totalPages:this.totalPages}):e("gux-button-slot",{accent:"ghost"},e("button",{disabled:this.disabled,onClick:()=>this.handlePageChange(a.pageNumber),"aria-label":this.i18n("pageNumber",{pageNumber:a.pageNumber})},a.display)))),[])}getPageNavigation(){return e("div",{class:"gux-pagination-buttons-list-container"},this.getPageListEnteries(this.currentPage,this.totalPages,this.layout))}async componentWillLoad(){this.i18n=await n(this.root,s)}render(){return e("div",{key:"ed0a3137d3ebafdf655ea2d0ce07629d126fadcc",class:`gux-pagination-buttons-container gux-${this.layout}`},e("div",{key:"94f9d1bddf21aa6e99241330d92298d40de2197d",class:"gux-pagination-buttons-group"},e("gux-button-slot",{key:"8ff7d5c384b1e140ea9238f69f98a878ca63eb0c",accent:"ghost","icon-only":!0},e("button",{key:"40260fe80ddb1600fc2acdcb03c9717db9e6cd97",title:this.i18n("firstPage"),disabled:this.onFirstPage||this.disabled,onClick:this.handleClickFirst.bind(this)},e("gux-icon",{key:"666d4257742d647019b0e647cc9a39f7fcebae6d",size:"small",decorative:!0,"icon-name":"fa/chevrons-left-regular"}))),e("gux-button-slot",{key:"68f8ba112a073dd523be4f4219960a2504722ae6",accent:"ghost","icon-only":!0},e("button",{key:"04c839a35565284b44b537dc5f88c5ab3e9c2ee6",title:this.i18n("previousPage"),disabled:this.onFirstPage||this.disabled,onClick:this.handleClickPrevious.bind(this)},e("gux-icon",{key:"7a0f19313924e616753e2bee1776cc76c8167f44",size:"small",decorative:!0,"icon-name":"custom/chevron-left-small-regular"})))),this.getPageNavigation(),e("div",{key:"96f21df74872f45dc1001a96b4560b61ac374e0a",class:"gux-pagination-buttons-group"},e("gux-button-slot",{key:"7ed45174cd97e16910d4afc9670a7258e07f9fa9",accent:"ghost","icon-only":!0},e("button",{key:"003e2afa1e4373ac813f5d4c9a0f7ed7c75d6840",title:this.i18n("nextPage"),disabled:this.onLastPage||this.disabled,onClick:this.handleClickNext.bind(this)},e("gux-icon",{key:"8e60b23cbadf9305bac7973ac030b2125c4a1dd8",size:"small",decorative:!0,"icon-name":"custom/chevron-right-small-regular"}))),e("gux-button-slot",{key:"9f570fd9ec20ee9e3aeb941229040b0db13d7af7",accent:"ghost","icon-only":!0},e("button",{key:"eb21f5559db2c11c1461d09750ba6a71670216fb",title:this.i18n("lastPage"),disabled:this.onLastPage||this.disabled,onClick:this.handleClickLast.bind(this)},e("gux-icon",{key:"0f4fbbdf4d91d358106848437dddb2b0e7637711",size:"small",decorative:!0,"icon-name":"fa/chevrons-right-regular"})))))}get root(){return i(this)}};u.style="gux-pagination-buttons .gux-pagination-buttons-container{display:flex;flex-direction:row;flex-wrap:nowrap;gap:var(--gse-ui-dataTableItems-tablePagination-recordsetControls-gap);place-content:stretch flex-end;align-items:center;margin-inline-start:var(--gse-ui-dataTableItems-tablePagination-recordsetControls-gap)}gux-pagination-buttons .gux-pagination-buttons-container>div{flex:0 1 auto;align-self:auto;order:0}gux-pagination-buttons .gux-pagination-buttons-container .gux-pagination-buttons-group{display:flex;flex-direction:row;gap:var(--gse-ui-dataTableItems-tablePagination-recordsetControls-gap);white-space:nowrap}gux-pagination-buttons .gux-pagination-buttons-container .gux-pagination-buttons-list-container{display:flex;flex-shrink:0;flex-direction:row;flex-wrap:nowrap;gap:var(--gse-ui-dataTableItems-tablePagination-recordsetControls-gap);place-content:stretch center;align-items:center}gux-pagination-buttons .gux-pagination-buttons-container .gux-pagination-buttons-list-container .gux-pagination-buttons-list-current{color:var(--gse-ui-button-ghost-active-foregroundColor);background-color:var(--gse-ui-button-ghost-active-backgroundColor);border-radius:var(--gse-ui-button-borderRadius)}";var g={itemCountDisplay:"{firstItem, number} - {lastItem, number}",totalItems:" of {totalItems, number}"};const l=class{constructor(a){t(this,a),this.totalItems=0,this.currentPage=0,this.itemsPerPage=25}get firstItem(){return this.totalItems<1?0:(this.currentPage-1)*this.itemsPerPage+1}get lastItem(){return this.totalItems<1?0:Math.min(this.currentPage*this.itemsPerPage,this.totalItems)}async componentWillLoad(){this.i18n=await n(this.root,g)}getPaginationItemCountsRange(){if(this.totalItems)return e("span",null,this.i18n("totalItems",{totalItems:this.totalItems}))}render(){return e("div",{key:"b3dfc4b5774ffcadb3c280268cba7c0ee0d59c95",class:"gux-pagination-item-counts-container"},e("span",{key:"66539f2a6fbff0e84fbcc631625aa511f0dfc191",class:"gux-pagination-item-counts-range"},this.i18n("itemCountDisplay",{firstItem:this.firstItem,lastItem:this.lastItem})),e("span",{key:"01041ace2a94983a35eb48fb7dc49df5506a5ff5",class:"gux-pagination-item-counts-total"},this.getPaginationItemCountsRange()))}get root(){return i(this)}};l.style="gux-pagination-item-counts .gux-pagination-item-counts-container{display:flex;flex-direction:row;gap:var(--gse-ui-dataTableItems-tablePagination-countDisplay-gap);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-currentResultText-fontWeight);line-height:var(--gse-ui-dataTableItems-tablePagination-defaultText-lineHeight);color:var(--gse-ui-dataTableItems-tablePagination-foregroundColor);white-space:nowrap}gux-pagination-item-counts .gux-pagination-item-counts-total{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);white-space:nowrap}";export{u as gux_pagination_buttons,l as gux_pagination_item_counts}
@@ -0,0 +1 @@
1
+ import{r as e,h as t,a as o}from"./p-mm833MRp.js";import{O as i}from"./p-1mmdDpx8.js";import{h as r}from"./p-qzV3vtOw.js";import{t as l}from"./p-DoCK5APt.js";import{G as s,a}from"./p-BkM3RdTO.js";import{G as f,a as n}from"./p-Bxg2lxW0.js";import{a as h,g as d,v as p}from"./p-DHLxhscH.js";import{p as u}from"./p-PYfNAK8p.js";import{o as m}from"./p-De1NnCmO.js";import"./p-D9jKBqIb.js";import"./p-DxtJDeL9.js";import"./p-BMRf5pjV.js";const g=class{constructor(t){e(this,t),this.indicatorMark="required",this.computedLabelPosition="above",this.hasError=!1,this.hasHelp=!1,this.required=!1}onMutation(){this.labelInfo=this.root.querySelector("[slot=label-info]"),this.hasError=r(this.root,"error"),this.hasHelp=r(this.root,"help")}handleKeyup(e){var t,o;switch(e.key){case"Tab":this.input.matches(":focus-visible")&&(null===(t=this.labelInfo)||void 0===t||t.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===(o=this.labelInfo)||void 0===o||o.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.hasError=r(this.root,"error"),this.hasHelp=r(this.root,"help"),this.labelInfo=this.root.querySelector("[slot=label-info]"),l(this.root,{variant:this.variant})}disconnectedCallback(){this.requiredObserver&&this.requiredObserver.disconnect()}setLabel(){this.label=this.root.querySelector('label[slot="label"]'),this.computedLabelPosition=h(this.label,this.labelPosition)}setInput(){this.input=d(this.root,'input[type="file"][slot="input"]'),u(this.input),this.required=this.input.required,this.requiredObserver=m(this.input,(e=>{this.required=e})),p(this.root,this.input)}get variant(){return`fileInput-${this.labelPosition?this.labelPosition.toLowerCase():"none"}`}render(){return t(n,{key:"0388360b8ffd364cb113edad7bbd2cd417aa0738",labelPosition:this.computedLabelPosition},t(f,{key:"0eea04bc0700ff76a37dfc1d8c642bb319cc7583",position:this.computedLabelPosition,required:this.required},t("slot",{key:"1fe4e4f8f9e178b4db023452c8fef586c20fd639",name:"label",onSlotchange:()=>this.setLabel()}),t("gux-form-field-label-indicator",{key:"850a5ea4ea31aed7ec8a2d24b97833e0c6651d87",variant:this.indicatorMark,required:this.required}),t("slot",{key:"90e0fc3ab8cb27d1b907f41fcfdfe53d73512d68",name:"label-info"})),t("div",{key:"9cbc089ee1182d873a4da96c77a03a8fba01f0fc",class:"gux-input-and-error-container"},t("slot",{key:"2fdaacde8ab249e618b86072e66dd291c4790157",name:"input",onSlotchange:()=>this.setInput()}),t(s,{key:"3f6e546494f001ee6dddef3c3bf65837939e4fc4",show:this.hasError},t("slot",{key:"547e941bb527ef5c23e68170fdbf584307ae107b",name:"error"})),t(a,{key:"49565bfbe9981f787951385891f2aafbbcf55684",show:!this.hasError&&this.hasHelp},t("slot",{key:"9d46b39b1296b7d9a2248f51df19bdc42f036bf3",name:"help"}))))}get root(){return o(this)}};(function(e,t,o,i){var r,l=arguments.length,s=l<3?t:null===i?i=Object.getOwnPropertyDescriptor(t,o):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(e,t,o,i);else for(var a=e.length-1;a>=0;a--)(r=e[a])&&(s=(l<3?r(s):l>3?r(t,o,s):r(t,o))||s);l>3&&s&&Object.defineProperty(t,o,s)})([i({childList:!0,subtree:!0})],g.prototype,"onMutation",null),g.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)}.gux-input-and-error-container{flex-grow:1}";export{g as gux_form_field_file}
@@ -1 +1 @@
1
- import{r as e,h as n,a}from"./p-mm833MRp.js";import{t}from"./p-Bk9hX_6O.js";import{O as i}from"./p-1mmdDpx8.js";import{h as o}from"./p-qzV3vtOw.js";const s=class{constructor(n){e(this,n),this.hasCallToAction=!1,this.hasGuidance=!1}onMutation(){this.hasCallToAction=o(this.root,"call-to-action"),this.hasGuidance=o(this.root,"additional-guidance")}renderCallToActionSlot(){if(this.hasCallToAction)return n("gux-button-slot",{accent:"primary"},n("slot",{name:"call-to-action"}))}renderGuidanceSlot(){if(this.hasGuidance)return n("div",{class:"gux-guidance"},n("slot",{name:"additional-guidance"}))}componentWillLoad(){t(this.root),this.hasCallToAction=o(this.root,"call-to-action"),this.hasGuidance=o(this.root,"additional-guidance")}render(){return n("div",{key:"e0b4592db9432b7d81863d0dbd9f5520d3b695dc",class:"gux-container"},n("div",{key:"4f7c1f730096c27c0e356d92976f78a499f2cc74",class:"gux-image"},n("slot",{key:"4c1a86ce0c49c0a17688bec2f26e61952ca0448b",name:"image"})),n("div",{key:"2ee832ec2d5d5a299582824617264e77a84e3dc0",class:"gux-message"},n("slot",{key:"eb97d58adfb206c09360028a81b49c75dc224447",name:"primary-message"})),this.renderGuidanceSlot(),this.renderCallToActionSlot())}get root(){return a(this)}};(function(e,n,a,t){var i,o=arguments.length,s=o<3?n:null===t?t=Object.getOwnPropertyDescriptor(n,a):t;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(e,n,a,t);else for(var r=e.length-1;r>=0;r--)(i=e[r])&&(s=(o<3?i(s):o>3?i(n,a,s):i(n,a))||s);o>3&&s&&Object.defineProperty(n,a,s)})([i({childList:!0,subtree:!0})],s.prototype,"onMutation",null),s.style=":host {\n display: flex;\n flex-direction: column;\n align-items: center;\n justify-content: center;\n container-type: inline-size;\n}\n\n.gux-container {\n display: flex;\n flex-direction: column;\n align-items: center;\n justify-content: center;\n padding: var(--gse-ui-blankState-padding);\n color: var(--gse-ui-blankState-foregroundColor);\n}\n.gux-container .gux-image {\n padding-block-end: var(--gse-ui-blankState-gapMain);\n}\n.gux-container .gux-message {\n padding-block-end: var(--gse-ui-blankState-gapMessage);\n}\n.gux-container .gux-guidance {\n padding-block-end: var(--gse-ui-blankState-gapContent);\n}\n.gux-container ::slotted(gux-icon) {\n inline-size: var(--gse-ui-blankState-icon-size-lg);\n block-size: var(--gse-ui-blankState-icon-size-lg);\n color: var(--gse-ui-blankState-iconColor);\n}\n.gux-container slot[name=primary-message] {\n font-family: var(--gse-ui-progressAndLoading-blankState-large-header-fontFamily);\n font-size: var(--gse-ui-progressAndLoading-blankState-large-header-fontSize);\n font-weight: var(--gse-ui-progressAndLoading-blankState-large-header-fontWeight);\n line-height: var(--gse-ui-progressAndLoading-blankState-large-header-lineHeight);\n color: var(--gse-ui-blankState-foregroundColor);\n text-align: center;\n}\n.gux-container slot[name=additional-guidance] {\n font-family: var(--gse-ui-progressAndLoading-blankState-large-subheader-fontFamily);\n font-size: var(--gse-ui-progressAndLoading-blankState-large-subheader-fontSize);\n font-weight: var(--gse-ui-progressAndLoading-blankState-large-subheader-fontWeight);\n line-height: var(--gse-ui-progressAndLoading-blankState-large-subheader-lineHeight);\n color: var(--gse-ui-blankState-foregroundColor);\n text-align: center;\n}\n\n@container (width < 570px) {\n .gux-container ::slotted(gux-icon) {\n inline-size: var(--gse-ui-blankState-icon-size-sm);\n block-size: var(--gse-ui-blankState-icon-size-sm);\n }\n .gux-container slot[name=primary-message] {\n font-family: var(--gse-ui-progressAndLoading-blankState-small-header-fontFamily);\n font-size: var(--gse-ui-progressAndLoading-blankState-small-header-fontSize);\n font-weight: var(--gse-ui-progressAndLoading-blankState-small-header-fontWeight);\n line-height: var(--gse-ui-progressAndLoading-blankState-small-header-lineHeight);\n }\n .gux-container slot[name=additional-guidance] {\n font-family: var(--gse-ui-progressAndLoading-blankState-small-subheader-fontFamily);\n font-size: var(--gse-ui-progressAndLoading-blankState-small-subheader-fontSize);\n font-weight: var(--gse-ui-progressAndLoading-blankState-small-subheader-fontWeight);\n line-height: var(--gse-ui-progressAndLoading-blankState-small-subheader-lineHeight);\n }\n}";export{s as gux_blank_state}
1
+ import{r as e,h as n,a}from"./p-mm833MRp.js";import{t}from"./p-DoCK5APt.js";import{O as i}from"./p-1mmdDpx8.js";import{h as o}from"./p-qzV3vtOw.js";const s=class{constructor(n){e(this,n),this.hasCallToAction=!1,this.hasGuidance=!1}onMutation(){this.hasCallToAction=o(this.root,"call-to-action"),this.hasGuidance=o(this.root,"additional-guidance")}renderCallToActionSlot(){if(this.hasCallToAction)return n("gux-button-slot",{accent:"primary"},n("slot",{name:"call-to-action"}))}renderGuidanceSlot(){if(this.hasGuidance)return n("div",{class:"gux-guidance"},n("slot",{name:"additional-guidance"}))}componentWillLoad(){t(this.root),this.hasCallToAction=o(this.root,"call-to-action"),this.hasGuidance=o(this.root,"additional-guidance")}render(){return n("div",{key:"683a0c3934e93944a33c99970a4fa7318fed26c0",class:"gux-container"},n("div",{key:"bb343ca67e3944d32fb329feedaf81796740c099",class:"gux-image"},n("slot",{key:"45b9078d202038b7b7ebb06950c1616ab10e6b21",name:"image"})),n("div",{key:"b294647eac6f7d2a8cff4b5223a4f3ef85963ffc",class:"gux-message"},n("slot",{key:"8fa259f3fb3aa7b9ab2407082e40197a63b4024a",name:"primary-message"})),this.renderGuidanceSlot(),this.renderCallToActionSlot())}get root(){return a(this)}};(function(e,n,a,t){var i,o=arguments.length,s=o<3?n:null===t?t=Object.getOwnPropertyDescriptor(n,a):t;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(e,n,a,t);else for(var r=e.length-1;r>=0;r--)(i=e[r])&&(s=(o<3?i(s):o>3?i(n,a,s):i(n,a))||s);o>3&&s&&Object.defineProperty(n,a,s)})([i({childList:!0,subtree:!0})],s.prototype,"onMutation",null),s.style=":host {\n display: flex;\n flex-direction: column;\n align-items: center;\n justify-content: center;\n container-type: inline-size;\n}\n\n.gux-container {\n display: flex;\n flex-direction: column;\n align-items: center;\n justify-content: center;\n padding: var(--gse-ui-blankState-padding);\n color: var(--gse-ui-blankState-foregroundColor);\n}\n.gux-container .gux-image {\n padding-block-end: var(--gse-ui-blankState-gapMain);\n}\n.gux-container .gux-message {\n padding-block-end: var(--gse-ui-blankState-gapMessage);\n}\n.gux-container .gux-guidance {\n padding-block-end: var(--gse-ui-blankState-gapContent);\n}\n.gux-container ::slotted(gux-icon) {\n inline-size: var(--gse-ui-blankState-icon-size-lg);\n block-size: var(--gse-ui-blankState-icon-size-lg);\n color: var(--gse-ui-blankState-iconColor);\n}\n.gux-container slot[name=primary-message] {\n font-family: var(--gse-ui-progressAndLoading-blankState-large-header-fontFamily);\n font-size: var(--gse-ui-progressAndLoading-blankState-large-header-fontSize);\n font-weight: var(--gse-ui-progressAndLoading-blankState-large-header-fontWeight);\n line-height: var(--gse-ui-progressAndLoading-blankState-large-header-lineHeight);\n color: var(--gse-ui-blankState-foregroundColor);\n text-align: center;\n}\n.gux-container slot[name=additional-guidance] {\n font-family: var(--gse-ui-progressAndLoading-blankState-large-subheader-fontFamily);\n font-size: var(--gse-ui-progressAndLoading-blankState-large-subheader-fontSize);\n font-weight: var(--gse-ui-progressAndLoading-blankState-large-subheader-fontWeight);\n line-height: var(--gse-ui-progressAndLoading-blankState-large-subheader-lineHeight);\n color: var(--gse-ui-blankState-foregroundColor);\n text-align: center;\n}\n\n@container (width < 570px) {\n .gux-container ::slotted(gux-icon) {\n inline-size: var(--gse-ui-blankState-icon-size-sm);\n block-size: var(--gse-ui-blankState-icon-size-sm);\n }\n .gux-container slot[name=primary-message] {\n font-family: var(--gse-ui-progressAndLoading-blankState-small-header-fontFamily);\n font-size: var(--gse-ui-progressAndLoading-blankState-small-header-fontSize);\n font-weight: var(--gse-ui-progressAndLoading-blankState-small-header-fontWeight);\n line-height: var(--gse-ui-progressAndLoading-blankState-small-header-lineHeight);\n }\n .gux-container slot[name=additional-guidance] {\n font-family: var(--gse-ui-progressAndLoading-blankState-small-subheader-fontFamily);\n font-size: var(--gse-ui-progressAndLoading-blankState-small-subheader-fontSize);\n font-weight: var(--gse-ui-progressAndLoading-blankState-small-subheader-fontWeight);\n line-height: var(--gse-ui-progressAndLoading-blankState-small-subheader-lineHeight);\n }\n}";export{s as gux_blank_state}
@@ -1 +1 @@
1
- import{r as i,h as s,a as t}from"./p-mm833MRp.js";import{t as e}from"./p-Bk9hX_6O.js";import{b as n}from"./p-D_8CR3cJ.js";import"./p-Cd4R0amv.js";var o={dismiss:"Dismiss"};const a=class{constructor(s){i(this,s),this.position="absolute",this.size="medium"}async componentWillLoad(){e(this.root,{variant:this.position}),this.i18n=await n(this.root,o)}render(){return s("gux-button-slot",{key:"52a32d2f44a4ea6d98c7978aae6cdcd6e23ddfb7",accent:"ghost",class:{"gux-inherit":"inherit"==this.position,"gux-dismiss-small":"small"==this.size}},s("button",{key:"1a291cbdbee48b4c20bf4651bc30d875c35f9da0",type:"button",title:this.i18n("dismiss")},s("div",{key:"e47fbada9557f20098c5304452fc607f174a9ea3",class:"gux-icon-container"},s("gux-icon",{key:"b3872a8afe53a3c97adfd5071e6657c92fb234ab","icon-name":"fa/xmark-large-regular",decorative:!0,size:"small"}))))}static get delegatesFocus(){return!0}get root(){return t(this)}};a.style="gux-button-slot{position:absolute;inset-block-start:4px;inset-inline-end:4px;inline-size:var(--gse-ui-button-dismiss-medium-width);block-size:var(--gse-ui-button-dismiss-medium-height)}gux-button-slot.gux-dismiss-small{inline-size:var(--gse-ui-button-dismiss-small-width);block-size:var(--gse-ui-button-dismiss-small-height)}gux-button-slot.gux-dismiss-small button{inline-size:var(--gse-ui-button-dismiss-small-width);min-inline-size:var(--gse-ui-button-dismiss-small-width);block-size:var(--gse-ui-button-dismiss-small-height);padding:0}gux-button-slot.gux-inherit{position:inherit;inset-block-start:inherit;inset-inline-end:inherit}gux-button-slot .gux-icon-container{display:flex;flex-direction:row;flex-wrap:nowrap;place-content:stretch center;align-items:center}gux-button-slot .gux-icon-container gux-icon{flex:0 0 auto;align-self:auto;order:0;color:var(--gse-ui-dismissButton-foregroundColor)}";export{a as gux_dismiss_button}
1
+ import{r as i,h as s,a as t}from"./p-mm833MRp.js";import{t as e}from"./p-DoCK5APt.js";import{b as n}from"./p-D_8CR3cJ.js";import"./p-Cd4R0amv.js";var o={dismiss:"Dismiss"};const a=class{constructor(s){i(this,s),this.position="absolute",this.size="medium"}async componentWillLoad(){e(this.root,{variant:this.position}),this.i18n=await n(this.root,o)}render(){return s("gux-button-slot",{key:"a8ffb4b56976c567f5ca5a1ec87227b52cedf758",accent:"ghost",class:{"gux-inherit":"inherit"==this.position,"gux-dismiss-small":"small"==this.size}},s("button",{key:"bc4c58debb7724169393a3190b86897e00624a91",type:"button",title:this.i18n("dismiss")},s("div",{key:"d364a25af3774c9a5b1b875f67b5c079e9896ce6",class:"gux-icon-container"},s("gux-icon",{key:"19a11178f5af1077843821b011c10f15004bc474","icon-name":"fa/xmark-large-regular",decorative:!0,size:"small"}))))}static get delegatesFocus(){return!0}get root(){return t(this)}};a.style="gux-button-slot{position:absolute;inset-block-start:4px;inset-inline-end:4px;inline-size:var(--gse-ui-button-dismiss-medium-width);block-size:var(--gse-ui-button-dismiss-medium-height)}gux-button-slot.gux-dismiss-small{inline-size:var(--gse-ui-button-dismiss-small-width);block-size:var(--gse-ui-button-dismiss-small-height)}gux-button-slot.gux-dismiss-small button{inline-size:var(--gse-ui-button-dismiss-small-width);min-inline-size:var(--gse-ui-button-dismiss-small-width);block-size:var(--gse-ui-button-dismiss-small-height);padding:0}gux-button-slot.gux-inherit{position:inherit;inset-block-start:inherit;inset-inline-end:inherit}gux-button-slot .gux-icon-container{display:flex;flex-direction:row;flex-wrap:nowrap;place-content:stretch center;align-items:center}gux-button-slot .gux-icon-container gux-icon{flex:0 0 auto;align-self:auto;order:0;color:var(--gse-ui-dismissButton-foregroundColor)}";export{a as gux_dismiss_button}
@@ -1 +1 @@
1
- import{r as t,h as e,H as o,a as i}from"./p-mm833MRp.js";import{r as s}from"./p-D9jKBqIb.js";import{t as a}from"./p-Bk9hX_6O.js";import{b as r}from"./p-D_8CR3cJ.js";import{O as c}from"./p-CuMZPTZF.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(e){t(this,e),this.buttonId=s(),this.compact=!1,this.disabled=!1,this.screenreaderText="",this.placement="bottom-start",this.isOpen=!1}onClickOutside(){this.isOpen=!1}handleKeyDown(t){const e=t.composedPath().includes(this.listElement),o=t.composedPath().includes(this.button);switch(t.key){case"Escape":e&&(t.preventDefault(),this.isOpen=!1,this.button.focus());break;case"Tab":this.isOpen=!1;break;case"ArrowDown":case"Enter":o&&!this.isOpen&&(t.preventDefault(),this.isOpen=!0,this.focusFirstListItem());break;case"ArrowUp":o&&!this.isOpen&&(t.preventDefault(),this.isOpen=!0,this.focusLastListItem())}}handleKeyup(t){" "===t.key&&t.composedPath().includes(this.button)&&(t.preventDefault(),this.isOpen=!0,this.focusFirstListItem())}focusFirstListItem(){n((()=>{this.listElement.guxFocusFirstItem()}))}focusLastListItem(){n((()=>{this.listElement.guxFocusLastItem()}))}onButtonClick(){this.isOpen=!this.isOpen}onListClick(t){u("gux-list-item",t,(()=>{this.isOpen=!1,this.button.focus()}))}async componentWillLoad(){a(this.root),this.i18n=await r(this.root,b)}render(){return e(o,{key:"6bf1dded894b9382b71146ae5a0465308f68ad24"},e("gux-popup",{key:"27adba7de5bb4a24c2ee5fc6390776bf70862484",placement:this.placement,expanded:this.isOpen,offset:(t=d,t.endsWith("px")?parseFloat(t):0),"exceed-target-width":!0},e("div",{key:"0c170d5c4880e3727dcf25c06c490dc34390baee",slot:"target",class:"gux-button-container"},e("gux-button-slot",{key:"732c1cc18d8fe2ccf719b2bd01c39c1204cbc61c",accent:"ghost"},e("button",{key:"ba31c6798868884b53e5517b4af1a1cc0465a54d",type:"button",onClick:()=>this.onButtonClick(),id:this.buttonId,class:{"gux-compact":this.compact},ref:t=>this.button=t,"aria-haspopup":"true","aria-expanded":this.isOpen.toString(),disabled:this.disabled},e("gux-screen-reader-beta",{key:"72f174c5762a0fb71a416c46dc49b5635028f068"},this.screenreaderText||this.i18n("contextMenuScreenreaderText")),e("gux-icon",{key:"ccbb8956af52d338731ad4fe3c2954d4df6eca78","icon-name":"fa/ellipsis-vertical-regular",size:"small",decorative:!0})))),e("div",{key:"392bd0f492eae53922c1c8117d826be892e03535",slot:"popup",class:"gux-list-container"},e("gux-list",{key:"e9e82dc1deaabbce994df45873ce4fdc5a557712",onClick:t=>this.onListClick(t),ref:t=>this.listElement=t},e("slot",{key:"9a7b3defb1fd59b6dad1e969ecd658728d18a2e3"})))));var t}static get delegatesFocus(){return!0}get root(){return i(this)}};(function(t,e,o,i){var s,a=arguments.length,r=a<3?e:null===i?i=Object.getOwnPropertyDescriptor(e,o):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)r=Reflect.decorate(t,e,o,i);else for(var c=t.length-1;c>=0;c--)(s=t[c])&&(r=(a<3?s(r):a>3?s(e,o,r):s(e,o))||r);a>3&&r&&Object.defineProperty(e,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 t,h as e,H as o,a as i}from"./p-mm833MRp.js";import{r as s}from"./p-D9jKBqIb.js";import{t as a}from"./p-DoCK5APt.js";import{b as r}from"./p-D_8CR3cJ.js";import{O as n}from"./p-CuMZPTZF.js";import{b as c}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(e){t(this,e),this.buttonId=s(),this.compact=!1,this.disabled=!1,this.screenreaderText="",this.placement="bottom-start",this.isOpen=!1}onClickOutside(){this.isOpen=!1}handleKeyDown(t){const e=t.composedPath().includes(this.listElement),o=t.composedPath().includes(this.button);switch(t.key){case"Escape":e&&(t.preventDefault(),this.isOpen=!1,this.button.focus());break;case"Tab":this.isOpen=!1;break;case"ArrowDown":case"Enter":o&&!this.isOpen&&(t.preventDefault(),this.isOpen=!0,this.focusFirstListItem());break;case"ArrowUp":o&&!this.isOpen&&(t.preventDefault(),this.isOpen=!0,this.focusLastListItem())}}handleKeyup(t){" "===t.key&&t.composedPath().includes(this.button)&&(t.preventDefault(),this.isOpen=!0,this.focusFirstListItem())}focusFirstListItem(){c((()=>{this.listElement.guxFocusFirstItem()}))}focusLastListItem(){c((()=>{this.listElement.guxFocusLastItem()}))}onButtonClick(){this.isOpen=!this.isOpen}onListClick(t){u("gux-list-item",t,(()=>{this.isOpen=!1,this.button.focus()}))}async componentWillLoad(){a(this.root),this.i18n=await r(this.root,b)}render(){return e(o,{key:"b293086fd9606996f1441f5795ce3f2c0ce46502"},e("gux-popup",{key:"3f018bb52789b95f17f8596d099374d63f54668d",placement:this.placement,expanded:this.isOpen,offset:(t=d,t.endsWith("px")?parseFloat(t):0),"exceed-target-width":!0},e("div",{key:"6822a8af68e110ea7228e81014eaa6bd97693f4e",slot:"target",class:"gux-button-container"},e("gux-button-slot",{key:"6062d13a61124da311c79aad2f85a66f20dff087",accent:"ghost"},e("button",{key:"42a25deeeb6ff9e1bc5a3942c41155ae09cf33ab",type:"button",onClick:()=>this.onButtonClick(),id:this.buttonId,class:{"gux-compact":this.compact},ref:t=>this.button=t,"aria-haspopup":"true","aria-expanded":this.isOpen.toString(),disabled:this.disabled},e("gux-screen-reader-beta",{key:"389f1d5cef19ca9bcefa99f011cb5f49df4a4f9d"},this.screenreaderText||this.i18n("contextMenuScreenreaderText")),e("gux-icon",{key:"83d2a3023e0489a0d9de451de2208cf697f6c060","icon-name":"fa/ellipsis-vertical-regular",size:"small",decorative:!0})))),e("div",{key:"03a73c6e6d4dca43dc0fbef16067e882df92cbfb",slot:"popup",class:"gux-list-container"},e("gux-list",{key:"bf14f3cef076081157073a392ab4306f2599b37d",onClick:t=>this.onListClick(t),ref:t=>this.listElement=t},e("slot",{key:"0c99c540fcb222c1e9b9451defed472c39bf0e9d"})))));var t}static get delegatesFocus(){return!0}get root(){return i(this)}};(function(t,e,o,i){var s,a=arguments.length,r=a<3?e:null===i?i=Object.getOwnPropertyDescriptor(e,o):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)r=Reflect.decorate(t,e,o,i);else for(var n=t.length-1;n>=0;n--)(s=t[n])&&(r=(a<3?s(r):a>3?s(e,o,r):s(e,o))||r);a>3&&r&&Object.defineProperty(e,o,r)})([n({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{r as t,c as e,f as i,h as o,a as r,H as s}from"./p-mm833MRp.js";import{O as n}from"./p-CuMZPTZF.js";import{b as l}from"./p-D_8CR3cJ.js";import{s as a}from"./p-BMRf5pjV.js";import{o as u,c as d}from"./p-Cb3FOYGS.js";import{b as g}from"./p-Bg4q97BS.js";import{t as h}from"./p-Bk9hX_6O.js";import{O as c}from"./p-1mmdDpx8.js";import{s as f,b as p,g as x,a as b,d as v,h as m,e as w,f as C,i as y,j as k,k as z,l as F,m as j,n as O,o as T,c as S,p as E}from"./p-zrBw_m7x.js";import{h as L}from"./p-qzV3vtOw.js";import{w as R}from"./p-kLXvN2m9.js";import{g as D}from"./p-Cd4R0amv.js";import{b as W}from"./p-CK42c8Uy.js";import{r as B}from"./p-D9jKBqIb.js";import{g as H}from"./p-MAoEg4ig.js";import"./p-DjLdmWVU.js";var I={filterResults:"Type to filter dropdown results",noSelection:"Select...",dropdown:"Dropdown"},A=function(t,e,i,o){var r,s=arguments.length,n=s<3?e:null===o?o=Object.getOwnPropertyDescriptor(e,i):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)n=Reflect.decorate(t,e,i,o);else for(var l=t.length-1;l>=0;l--)(r=t[l])&&(n=(s<3?r(n):s>3?r(e,i,n):r(e,i))||n);return s>3&&n&&Object.defineProperty(e,i,n),n};const M=class{constructor(i){t(this,i),this.guxexpanded=e(this,"guxexpanded",7),this.guxcollapsed=e(this,"guxcollapsed",7),this.guxfilter=e(this,"guxfilter",7),this.disabled=!1,this.required=!1,this.loading=!1,this.filterType="none",this.hasError=!1,this.exceedTargetWidth=!1,this.expanded=!1,this.filter=""}watchExpanded(t){!t&&this.filterElement&&(this.filter="",this.filterElement.value="")}watchValue(t){this.validateValue(t,this.listboxElement)}handleFilter(t){this.guxfilter.emit(t)}watchDisabled(t){t&&(this.expanded=!1)}onKeydown(t){switch(t.key){case"Escape":return this.isFilterable()&&document.activeElement===this.listboxElement?this.filterElement.focus():void this.collapseListbox("focusFieldButton");case"Tab":return this.shiftTabFromFilterListbox(t)?(t.preventDefault(),this.filterElement.focus()):this.shiftTabFromExpandedFilterInput(t)?(t.preventDefault(),this.collapseListbox("noFocusChange")):void this.collapseListbox("noFocusChange");case"ArrowDown":return void(this.activeElementNotListbox()&&(t.preventDefault(),this.expanded=!0,f(this.listboxElement)));case"Enter":case" ":return void(this.expanded||this.isFilterable()||f(this.listboxElement))}}onInternallistboxoptionsupdated(t){t.stopPropagation(),i(this.root)}onBlur(t){this.stopPropagationOfInternalFocusEvents(t)}onFocus(t){this.stopPropagationOfInternalFocusEvents(t)}onFocusout(t){this.stopPropagationOfInternalFocusEvents(t)}onFocusin(t){this.stopPropagationOfInternalFocusEvents(t),this.isFilterable()&&!this.root.contains(null==t?void 0:t.relatedTarget)&&this.filterElement.focus()}onClickOutside(){this.collapseListbox("noFocusChange")}onMutation(){var t;this.listboxElement||(this.listboxElement=null===(t=this.root)||void 0===t?void 0:t.querySelector("gux-listbox"),this.applyListboxEventListeners())}onInternalExpanded(t){t.stopPropagation(),this.guxexpanded.emit(),this.listboxElement&&g((()=>{this.listboxElement.focus(),this.isFilterable()&&this.filterElement&&this.filterElement.focus()}))}onInternalCollapsed(t){t.stopPropagation(),this.guxcollapsed.emit()}connectedCallback(){var t;this.listboxElement=null===(t=this.root)||void 0===t?void 0:t.querySelector("gux-listbox"),this.listboxElement&&this.validateValue(this.value,this.listboxElement)}async componentWillLoad(){h(this.root),this.i18n=await l(this.root,I),u(this.root,(()=>{i(this.root)}))}componentDidLoad(){this.applyListboxEventListeners()}componentWillRender(){this.listboxElement&&(this.validateValue(this.value,this.listboxElement),this.listboxElement.loading=this.loading,this.listboxElement.filterType=this.filterType,this.listboxElement.filter=this.filter)}showTooltip(){var t;null===(t=this.truncateElement)||void 0===t||t.setShowTooltip()}hideTooltip(){var t;null===(t=this.truncateElement)||void 0===t||t.setHideTooltip()}validateValue(t,e){void 0!==t?this.getOptionElementByValue(t)&&(e.value=t):e&&(e.value=t)}applyListboxEventListeners(){var t,e;null===(t=this.listboxElement)||void 0===t||t.addEventListener("input",(t=>{t.stopPropagation(),this.updateValue(t.target.value)})),null===(e=this.listboxElement)||void 0===e||e.addEventListener("change",(t=>{t.stopPropagation()}))}stopPropagationOfInternalFocusEvents(t){if(this.root.contains(t.relatedTarget))return t.stopImmediatePropagation()}isFilterable(){return"starts-with"===this.filterType||"custom"===this.filterType}get optionElements(){return p(this.listboxElement)}getOptionElementByValue(t){return this.optionElements.find((e=>e.value===t))}fieldButtonClick(){this.expanded=!this.expanded}filterInput(t){t.stopPropagation(),this.filter=this.filterElement.value}shiftTabFromExpandedFilterInput(t){return t.shiftKey&&this.isFilterable()&&this.expanded&&!(document.activeElement===this.listboxElement)}shiftTabFromFilterListbox(t){return t.shiftKey&&this.isFilterable()&&document.activeElement===this.listboxElement}activeElementNotListbox(){return document.activeElement!==this.listboxElement}filterKeydown(t){switch(t.key){case"ArrowDown":return t.stopImmediatePropagation(),t.preventDefault(),this.listboxElement.focus(),void f(this.listboxElement);case"Enter":return this.listboxElement.guxSelectActive(),void t.preventDefault()}}filterKeyup(t){" "!==t.key||t.preventDefault()}collapseListbox(t){this.expanded&&(this.expanded=!1),"focusFieldButton"===t&&this.fieldButtonElement.focus()}updateValue(t){this.value!==t&&(this.value=t,a(this.root,"input"),a(this.root,"change")),this.collapseListbox("focusFieldButton")}getTypeaheadText(t){const e=t.length;if(e>0&&!this.loading){const i=x(this.listboxElement,t);if(i&&"custom"!==this.filterType){const t=b(i);return null==t?void 0:t.substring(e)}}return""}renderTargetDisplay(){const t=this.getOptionElementByValue(this.value);return t?o("div",{class:"gux-selected-option"},this.renderSelectedItem(t)):o("div",{class:"gux-placeholder"},this.placeholder||this.i18n("noSelection"))}renderSelectedItem(t){const e=t.tagName.toLowerCase();switch(e){case"gux-option":return this.renderOption(t);case"gux-option-icon":case"gux-option-status-beta":return this.renderIconOption(t);default:return e}}getOptionDefaultText(t){return b(t)}renderOption(t){return o("gux-truncate",{ref:t=>this.truncateElement=t,dir:"auto"},this.getOptionDefaultText(t))}renderIconOption(t){let e=null,i=t.textContent;return null!==t.iconColor&&(e={color:t.iconColor}),L(t,"subtext")&&(i=this.getOptionDefaultText(t)),o("span",{class:{"gux-selected-icon":!0,"gux-icon-position-end":"end"===t.iconPosition}},o("gux-icon",{"icon-name":t.iconName,style:e,decorative:!0,size:"small"}),o("gux-truncate",{ref:t=>this.truncateElement=t},i))}renderFilterInputField(){if(this.isFilterable())return o("div",{class:"gux-field gux-input-field",dir:"auto"},o("div",{class:"gux-field-content"},o("div",{class:"gux-filter"},o("div",{class:"gux-filter-display"},o("span",{class:"gux-filter-text"},this.filter),o("span",{class:"gux-filter-suggestion"},this.getTypeaheadText(this.filter))),o("div",{class:"input-and-dropdown-button"},o("input",{class:"gux-filter-input",type:"text","aria-label":this.i18n("filterResults"),ref:t=>this.filterElement=t,onInput:this.filterInput.bind(this),onKeyDown:this.filterKeydown.bind(this),onKeyUp:this.filterKeyup.bind(this),onFocus:()=>this.expanded=!0,disabled:this.disabled}),this.renderTargetContent()))))}renderPopup(){return o("slot",{slot:"popup"})}renderTarget(){return o("div",{class:{"gux-target-container-filterable":this.isFilterable(),"gux-target-container-filterable-active":this.expanded&&this.isFilterable(),"gux-target-container-not-filterable":!this.isFilterable(),"gux-error":this.hasError,"gux-disabled":this.disabled},slot:"target"},this.renderFilterInputField(),o("button",{type:"button",class:"gux-field gux-field-button",disabled:d(this.root),onClick:this.fieldButtonClick.bind(this),onFocusin:this.showTooltip.bind(this),onFocusout:this.hideTooltip.bind(this),ref:t=>this.fieldButtonElement=t,"aria-haspopup":"listbox","aria-expanded":this.expanded.toString()},!this.isFilterable()&&this.renderTargetContent(),this.renderRadialLoading(),o("gux-icon",{class:{"gux-expand-icon":!0},"screenreader-text":this.i18n("dropdown"),size:"small",iconName:this.expanded?"custom/chevron-up-small-regular":"custom/chevron-down-small-regular"})))}renderTargetContent(){if(!this.expanded||!this.isFilterable())return o("div",{class:"gux-field-content"},this.renderTargetDisplay())}renderRadialLoading(){if(this.loading&&!this.expanded)return o("gux-radial-loading",{context:"input"})}render(){return o("gux-popup",{key:"9e7bd1a3ef412ee6ac9548e1822e7ae1c75808b2",expanded:this.expanded&&(!this.loading||this.isFilterable()),disabled:this.disabled||this.loading&&!this.isFilterable(),exceedTargetWidth:this.exceedTargetWidth},this.renderTarget(),this.renderPopup())}static get delegatesFocus(){return!0}get root(){return r(this)}static get watchers(){return{expanded:["watchExpanded"],value:["watchValue"],filter:["handleFilter"],disabled:["watchDisabled"]}}};A([n({triggerEvents:"mousedown"})],M.prototype,"onClickOutside",null),A([c({childList:!0,subtree:!0})],M.prototype,"onMutation",null),M.style=":host{box-sizing:border-box;color:var(--gse-ui-formControl-input-populatedColor)}.gux-field,.gux-target-container-filterable{all:unset;box-sizing:border-box;display:flex;flex-direction:row;flex-wrap:nowrap;place-content:stretch center;align-items:center;inline-size:100%;block-size:var(--gse-ui-formControl-input-textfield-height);font-family:var(--gse-ui-formControl-input-contentText-fontFamily);font-size:var(--gse-ui-formControl-input-contentText-fontSize);font-weight:var(--gse-ui-formControl-input-contentText-fontWeight);line-height:var(--gse-ui-formControl-input-contentText-lineHeight);cursor:pointer;background-color:var(--gse-ui-formControl-input-backgroundColor)}.gux-target-container-filterable,.gux-target-container-not-filterable .gux-field{padding:var(--gse-ui-formControl-input-padding)}.gux-error.gux-target-container-not-filterable .gux-field-button,.gux-error.gux-target-container-filterable{border:var(--gse-ui-formControl-input-error-border-width) var(--gse-ui-formControl-input-error-border-style) var(--gse-ui-formControl-input-error-border-color)}.gux-disabled.gux-target-container-not-filterable .gux-field-button,.gux-disabled.gux-target-container-filterable{user-select:none;border:var(--gse-ui-formControl-input-disabled-border-width) var(--gse-ui-formControl-input-disabled-border-style) var(--gse-ui-formControl-input-disabled-border-color)}.gux-target-container-not-filterable .gux-field-button:hover,.gux-target-container-filterable:hover{border:var(--gse-ui-formControl-input-hover-border-width) var(--gse-ui-formControl-input-hover-border-style) var(--gse-ui-formControl-input-hover-border-color)}.gux-field.gux-input-field{block-size:var(--gse-ui-formControl-input-contentText-lineHeight)}.gux-field .gux-field-content{--gux-zindex-tooltip:3;display:flex;flex:1 1 0;flex-direction:row;flex-wrap:nowrap;place-content:stretch flex-start;align-items:flex-start;min-inline-size:0;block-size:var(--gse-ui-formControl-input-contentText-lineHeight)}.gux-field .gux-field-content .gux-filter,.gux-field .gux-field-content .gux-selected-option,.gux-field .gux-field-content .gux-placeholder{flex:1 1 auto;align-self:auto;order:0;padding:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.gux-field .gux-field-content .gux-filter{position:relative;block-size:100%}.gux-field .gux-field-content .gux-filter .gux-filter-input{all:unset;inline-size:100%;color:transparent;caret-color:var(--gse-ui-formControl-input-populatedColor)}.gux-field .gux-field-content .gux-filter .gux-filter-display{white-space:pre}.gux-field .gux-field-content .gux-filter .gux-filter-display .gux-filter-text{color:var(--gse-ui-formControl-input-populatedColor)}.gux-field .gux-field-content .gux-filter .gux-filter-display .gux-filter-suggestion{color:var(--gse-ui-formControl-input-suggestionColor)}.gux-field .gux-field-content .gux-filter .gux-filter-input,.gux-field .gux-field-content .gux-filter .gux-filter-display{position:absolute}.gux-field .gux-field-content .gux-placeholder{color:var(--gse-ui-formControl-input-placeholderColor)}.gux-field .gux-expand-icon{flex:0 0 auto;align-self:auto;order:0;padding-inline-start:var(--gse-ui-dropdown-gap);color:var(--gse-ui-formControl-input-inputIcon-iconEndColor)}.gux-target-container-filterable{border:var(--gse-ui-formControl-input-default-border-width) var(--gse-ui-formControl-input-default-border-style) var(--gse-ui-formControl-input-default-border-color);border-radius:var(--gse-ui-formControl-input-borderRadius)}.gux-target-container-filterable.gux-target-container-filterable-active{border:var(--gse-ui-formControl-input-active-border-width) var(--gse-ui-formControl-input-active-border-style) var(--gse-ui-formControl-input-active-border-color);border-radius:var(--gse-ui-formControl-input-borderRadius)}.gux-target-container-filterable:focus-visible{outline:var(--gse-ui-formControl-input-focus-border-width) var(--gse-ui-formControl-input-focus-border-style) var(--gse-ui-formControl-input-focus-border-color);outline-offset:var(--gse-semantic-focusOutline-offset)}.gux-target-container-filterable:focus-within:has(:focus-visible){outline:var(--gse-ui-formControl-input-focus-border-width) var(--gse-ui-formControl-input-focus-border-style) var(--gse-ui-formControl-input-focus-border-color);outline-offset:var(--gse-semantic-focusOutline-offset)}.gux-target-container-filterable .gux-filter-input{background-color:inherit;border:none}.gux-target-container-filterable .gux-filter-input:focus{outline:none;border:none}.gux-target-container-filterable .gux-filter-input::selection{color:inherit;background:transparent;}.gux-target-container-filterable .gux-field-button{inline-size:auto;block-size:var(--gse-ui-formControl-input-contentText-lineHeight);margin:0;outline:none;background:inherit;border:none;box-shadow:none}.gux-target-container-filterable .gux-field-button:focus{outline:none}.gux-target-container-not-filterable .gux-field-button{border:var(--gse-ui-formControl-input-default-border-width) var(--gse-ui-formControl-input-default-border-style) var(--gse-ui-formControl-input-default-border-color);border-radius:var(--gse-ui-formControl-input-borderRadius)}.gux-target-container-not-filterable .gux-field-button:focus-visible{outline:var(--gse-ui-formControl-input-focus-border-width) var(--gse-ui-formControl-input-focus-border-style) var(--gse-ui-formControl-input-focus-border-color);outline-offset:var(--gse-semantic-focusOutline-offset)}.gux-target-container-not-filterable .gux-field-button:focus-within:has(:focus-visible){outline:var(--gse-ui-formControl-input-focus-border-width) var(--gse-ui-formControl-input-focus-border-style) var(--gse-ui-formControl-input-focus-border-color);outline-offset:var(--gse-semantic-focusOutline-offset)}::slotted(gux-listbox){outline:none;box-shadow:var(--gse-ui-menu-boxShadow)}.gux-selected-icon{display:flex;flex-direction:row;align-items:center}.gux-selected-icon.gux-icon-position-end{flex-direction:row-reverse}.gux-selected-icon gux-icon{padding-inline-end:var(--gse-ui-dropdown-gap)}";const K=["gux-option","gux-option-icon","gux-option-status-beta"].join(",");var V={noMatches:"No matches",loading:"Loading..."};const _=class{constructor(i){t(this,i),this.internallistboxoptionsupdated=e(this,"internallistboxoptionsupdated",7),this.loading=!1,this.filter="",this.filterType="none",this.disabled=!1,this.selectedValues=[],this.listboxOptions=[]}onBlur(){v(this.root)}onKeydown(t){if(!m(this.root))return t.preventDefault(),void f(this.root);switch(t.key){case"Enter":return t.preventDefault(),void j(this.root,(t=>this.updateValue(t)));case"ArrowDown":return t.preventDefault(),void(z(this.root)?(t.stopPropagation(),F(this.root)):C(this.root));case"ArrowUp":return t.preventDefault(),void(y(this.root)?(t.stopPropagation(),k(this.root)):w(this.root));case"Home":return t.preventDefault(),void C(this.root);case"End":return t.preventDefault(),void w(this.root);case" ":return void t.preventDefault()}1!==t.key.length||O(this.root,t.key)}onKeyup(t){" "!==t.key||j(this.root,(t=>this.updateValue(t)))}onMousemove(){v(this.root)}onClick(t){R(K,t,(t=>{T(t,(t=>this.updateValue(t)))}))}async guxSelectActive(){j(this.root,(t=>this.updateValue(t)))}setListboxOptions(){this.selectedValues=S(this.value),this.listboxOptions=p(this.root),this.internallistboxoptionsupdated.emit()}updateValue(t){this.value!==t&&(this.value=t),a(this.root,"input"),a(this.root,"change")}async componentWillLoad(){h(this.root),this.i18n=await l(this.root,V),this.setListboxOptions()}componentWillRender(){this.listboxOptions.forEach((t=>{t.selected=t.value===this.value,"custom"!==this.filterType&&"none"!==this.filterType&&(t.filtered=!E(t,this.filter))})),this.allListboxOptionsFiltered=0===this.listboxOptions.filter((t=>!t.filtered)).length}renderHiddenSlot(){return o("div",{hidden:!0},o("slot",{onSlotchange:()=>this.setListboxOptions()}))}renderLoading(){return[o("div",{class:"gux-message-container"},o("gux-radial-loading",{context:"modal"}),o("span",null,this.i18n("loading"))),this.renderHiddenSlot()]}renderAllListboxOptionsFiltered(){return[o("div",{class:"gux-message-container"},o("div",{class:"gux-no-matches"},this.emptyMessage||this.i18n("noMatches"))),this.renderHiddenSlot()]}render(){return this.loading?this.renderLoading():this.allListboxOptionsFiltered?this.renderAllListboxOptionsFiltered():o(s,{role:"listbox",tabindex:0},o("slot",{onSlotchange:()=>this.setListboxOptions()}))}get root(){return r(this)}};_.style=":host{scrollbar-color:var(--gse-ui-menu-border-color) transparent;scrollbar-width:thin;box-sizing:border-box;display:block;max-block-size:var(--gse-ui-menu-maxHeight);padding:var(--gse-ui-menu-padding);margin:0;overflow:visible auto;outline:none;background:var(--gse-ui-menu-backgroundColor);border:var(--gse-ui-menu-border-width) var(--gse-ui-menu-border-style) var(--gse-ui-menu-border-color);border-radius:var(--gse-ui-menu-borderRadius)}:host(:focus-visible){outline:var(--gse-semantic-focusOutline-md-borderWidth) solid var(--gse-ui-color-focus);outline-offset:var(--gse-semantic-focusOutline-offset)}.gux-message-container{display:flex;flex-direction:column;flex-wrap:nowrap;place-content:stretch center;align-items:center;text-align:center}.gux-message-container .gux-no-matches{box-sizing:border-box;block-size:var(--gse-ui-menu-option-height);padding-block:var(--gse-ui-dropdown-gap);font-family:var(--gse-ui-menu-option-label-active-text-fontFamily);font-size:var(--gse-ui-menu-option-label-active-text-fontSize);font-weight:var(--gse-ui-menu-option-label-active-text-fontWeight);line-height:var(--gse-ui-menu-option-label-active-text-lineHeight);color:var(--gse-ui-menu-option-label-foregroundColor)}";const N=class{constructor(e){t(this,e),this.active=!1,this.selected=!1,this.disabled=!1,this.filtered=!1,this.hasSubtext=!1}handleActive(t){var e,i;t?null===(e=this.truncateElement)||void 0===e||e.setShowTooltip():null===(i=this.truncateElement)||void 0===i||i.setHideTooltip()}componentWillLoad(){this.root.id=this.root.id||B("gux-option"),this.onSubtextChange()}onSubtextChange(){const t=H(this.root,"subtext");this.hasSubtext=!!(null==t?void 0:t.trim())}getAriaSelected(){return!this.disabled&&(this.selected?"true":"false")}hasDisabledParent(){const t=D("gux-listbox",this.root);return null==t?void 0:t.disabled}render(){return o(s,{key:"ec21be1002f3280612de75e37db95eb6972593fc",role:"option",class:{"gux-active":this.active,"gux-disabled":this.disabled||this.hasDisabledParent(),"gux-filtered":this.filtered,"gux-selected":this.selected,"gux-show-subtext":this.hasSubtext},"aria-selected":this.getAriaSelected(),"aria-disabled":W(this.disabled||this.hasDisabledParent())},o("div",{key:"69c26d456a4f74f169b2018fd03525299fa5149f",class:"gux-option-wrapper"},o("gux-truncate",{key:"1c3c096df3bd18259cade9903165839d681377a4","tooltip-placement":"right",ref:t=>this.truncateElement=t},o("slot",{key:"f03c6a93e3d1764634aef45e40069e3be586c88d"})),o("slot",{key:"d15ee648db04cd5ee3cd065abbb0dedf9a631c3b",onSlotchange:()=>this.onSubtextChange(),name:"subtext"})))}get root(){return r(this)}static get watchers(){return{active:["handleActive"]}}};N.style=":host{box-sizing:border-box;display:flex;flex-direction:row;flex-wrap:nowrap;gap:var(--gse-ui-menu-option-gap);place-content:stretch center;align-items:center;block-size:var(--gse-ui-menu-option-height);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}:host .gux-option-wrapper{inline-size:100%;user-select:none}:host .gux-slot-container{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}:host(.gux-disabled){pointer-events:none;cursor:default;opacity:var(--gse-ui-menu-option-disabled-opacity)}:host(.gux-selected){font-family:var(--gse-ui-menu-option-label-active-text-fontFamily);font-size:var(--gse-ui-menu-option-label-active-text-fontSize);font-weight:var(--gse-ui-menu-option-label-active-text-fontWeight);line-height:var(--gse-ui-menu-option-label-active-text-lineHeight);background:var(--gse-ui-menu-option-selected-backgroundColor)}:host(:active:not(:disabled)){font-family:var(--gse-ui-menu-option-label-active-text-fontFamily);font-size:var(--gse-ui-menu-option-label-active-text-fontSize);font-weight:var(--gse-ui-menu-option-label-active-text-fontWeight);line-height:var(--gse-ui-menu-option-label-active-text-lineHeight)}:host(.gux-active){outline:var(--gse-ui-menu-option-focus-border-width) var(--gse-ui-menu-option-focus-border-style) var(--gse-ui-menu-option-focus-border-color);outline-offset:-2px;border-radius:var(--gse-semantic-focusOutline-sm-borderRadius)}:host(.gux-show-subtext){align-items:flex-start;block-size:auto;padding:var(--gse-ui-menu-option-subtext-padding)}:host(.gux-show-subtext) .gux-option-wrapper{display:flex;flex-direction:column}:host(.gux-show-subtext) slot[name=subtext]::slotted(*){font-weight:var(--gse-ui-menu-option-label-default-text-fontWeight);color:var(--gse-ui-menu-groupedMenu-subtext-foregroundColor)}:host(:hover:not(:disabled)){background:var(--gse-ui-menu-option-hover-backgroundColor)}:host(.gux-filtered){display:none}";export{M as gux_dropdown,_ as gux_listbox,N as gux_option}
1
+ import{r as t,c as e,f as i,h as o,a as r,H as s}from"./p-mm833MRp.js";import{O as n}from"./p-CuMZPTZF.js";import{b as l}from"./p-D_8CR3cJ.js";import{s as a}from"./p-BMRf5pjV.js";import{o as u,c as d}from"./p-Cb3FOYGS.js";import{b as g}from"./p-Bg4q97BS.js";import{t as c}from"./p-DoCK5APt.js";import{O as h}from"./p-1mmdDpx8.js";import{s as f,b as p,g as x,a as b,d as v,h as m,e as w,f as C,i as y,j as k,k as z,l as F,m as j,n as O,o as T,c as S,p as E}from"./p-zrBw_m7x.js";import{h as L}from"./p-qzV3vtOw.js";import{w as R}from"./p-kLXvN2m9.js";import{g as D}from"./p-Cd4R0amv.js";import{b as W}from"./p-CK42c8Uy.js";import{r as B}from"./p-D9jKBqIb.js";import{g as H}from"./p-MAoEg4ig.js";import"./p-DjLdmWVU.js";var I={filterResults:"Type to filter dropdown results",noSelection:"Select...",dropdown:"Dropdown"},A=function(t,e,i,o){var r,s=arguments.length,n=s<3?e:null===o?o=Object.getOwnPropertyDescriptor(e,i):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)n=Reflect.decorate(t,e,i,o);else for(var l=t.length-1;l>=0;l--)(r=t[l])&&(n=(s<3?r(n):s>3?r(e,i,n):r(e,i))||n);return s>3&&n&&Object.defineProperty(e,i,n),n};const K=class{constructor(i){t(this,i),this.guxexpanded=e(this,"guxexpanded",7),this.guxcollapsed=e(this,"guxcollapsed",7),this.guxfilter=e(this,"guxfilter",7),this.disabled=!1,this.required=!1,this.loading=!1,this.filterType="none",this.hasError=!1,this.exceedTargetWidth=!1,this.expanded=!1,this.filter=""}watchExpanded(t){!t&&this.filterElement&&(this.filter="",this.filterElement.value="")}watchValue(t){this.validateValue(t,this.listboxElement)}handleFilter(t){this.guxfilter.emit(t)}watchDisabled(t){t&&(this.expanded=!1)}onKeydown(t){switch(t.key){case"Escape":return this.isFilterable()&&document.activeElement===this.listboxElement?this.filterElement.focus():void this.collapseListbox("focusFieldButton");case"Tab":return this.shiftTabFromFilterListbox(t)?(t.preventDefault(),this.filterElement.focus()):this.shiftTabFromExpandedFilterInput(t)?(t.preventDefault(),this.collapseListbox("noFocusChange")):void this.collapseListbox("noFocusChange");case"ArrowDown":return void(this.activeElementNotListbox()&&(t.preventDefault(),this.expanded=!0,f(this.listboxElement)));case"Enter":case" ":return void(this.expanded||this.isFilterable()||f(this.listboxElement))}}onInternallistboxoptionsupdated(t){t.stopPropagation(),i(this.root)}onBlur(t){this.stopPropagationOfInternalFocusEvents(t)}onFocus(t){this.stopPropagationOfInternalFocusEvents(t)}onFocusout(t){this.stopPropagationOfInternalFocusEvents(t)}onFocusin(t){this.stopPropagationOfInternalFocusEvents(t),this.isFilterable()&&!this.root.contains(null==t?void 0:t.relatedTarget)&&this.filterElement.focus()}onClickOutside(){this.collapseListbox("noFocusChange")}onMutation(){var t;this.listboxElement||(this.listboxElement=null===(t=this.root)||void 0===t?void 0:t.querySelector("gux-listbox"),this.applyListboxEventListeners())}onInternalExpanded(t){t.stopPropagation(),this.guxexpanded.emit(),this.listboxElement&&g((()=>{this.listboxElement.focus(),this.isFilterable()&&this.filterElement&&this.filterElement.focus()}))}onInternalCollapsed(t){t.stopPropagation(),this.guxcollapsed.emit()}connectedCallback(){var t;this.listboxElement=null===(t=this.root)||void 0===t?void 0:t.querySelector("gux-listbox"),this.listboxElement&&this.validateValue(this.value,this.listboxElement)}async componentWillLoad(){c(this.root),this.i18n=await l(this.root,I),u(this.root,(()=>{i(this.root)}))}componentDidLoad(){this.applyListboxEventListeners()}componentWillRender(){this.listboxElement&&(this.validateValue(this.value,this.listboxElement),this.listboxElement.loading=this.loading,this.listboxElement.filterType=this.filterType,this.listboxElement.filter=this.filter)}showTooltip(){var t;null===(t=this.truncateElement)||void 0===t||t.setShowTooltip()}hideTooltip(){var t;null===(t=this.truncateElement)||void 0===t||t.setHideTooltip()}validateValue(t,e){void 0!==t?this.getOptionElementByValue(t)&&(e.value=t):e&&(e.value=t)}applyListboxEventListeners(){var t,e;null===(t=this.listboxElement)||void 0===t||t.addEventListener("input",(t=>{t.stopPropagation(),this.updateValue(t.target.value)})),null===(e=this.listboxElement)||void 0===e||e.addEventListener("change",(t=>{t.stopPropagation()}))}stopPropagationOfInternalFocusEvents(t){if(this.root.contains(t.relatedTarget))return t.stopImmediatePropagation()}isFilterable(){return"starts-with"===this.filterType||"custom"===this.filterType}get optionElements(){return p(this.listboxElement)}getOptionElementByValue(t){return this.optionElements.find((e=>e.value===t))}fieldButtonClick(){this.expanded=!this.expanded}filterInput(t){t.stopPropagation(),this.filter=this.filterElement.value}shiftTabFromExpandedFilterInput(t){return t.shiftKey&&this.isFilterable()&&this.expanded&&!(document.activeElement===this.listboxElement)}shiftTabFromFilterListbox(t){return t.shiftKey&&this.isFilterable()&&document.activeElement===this.listboxElement}activeElementNotListbox(){return document.activeElement!==this.listboxElement}filterKeydown(t){switch(t.key){case"ArrowDown":return t.stopImmediatePropagation(),t.preventDefault(),this.listboxElement.focus(),void f(this.listboxElement);case"Enter":return this.listboxElement.guxSelectActive(),void t.preventDefault()}}filterKeyup(t){" "!==t.key||t.preventDefault()}collapseListbox(t){this.expanded&&(this.expanded=!1),"focusFieldButton"===t&&this.fieldButtonElement.focus()}updateValue(t){this.value!==t&&(this.value=t,a(this.root,"input"),a(this.root,"change")),this.collapseListbox("focusFieldButton")}getTypeaheadText(t){const e=t.length;if(e>0&&!this.loading){const i=x(this.listboxElement,t);if(i&&"custom"!==this.filterType){const t=b(i);return null==t?void 0:t.substring(e)}}return""}renderTargetDisplay(){const t=this.getOptionElementByValue(this.value);return t?o("div",{class:"gux-selected-option"},this.renderSelectedItem(t)):o("div",{class:"gux-placeholder"},this.placeholder||this.i18n("noSelection"))}renderSelectedItem(t){const e=t.tagName.toLowerCase();switch(e){case"gux-option":return this.renderOption(t);case"gux-option-icon":case"gux-option-status-beta":return this.renderIconOption(t);default:return e}}getOptionDefaultText(t){return b(t)}renderOption(t){return o("gux-truncate",{ref:t=>this.truncateElement=t,dir:"auto"},this.getOptionDefaultText(t))}renderIconOption(t){let e=null,i=t.textContent;return null!==t.iconColor&&(e={color:t.iconColor}),L(t,"subtext")&&(i=this.getOptionDefaultText(t)),o("span",{class:{"gux-selected-icon":!0,"gux-icon-position-end":"end"===t.iconPosition}},o("gux-icon",{"icon-name":t.iconName,style:e,decorative:!0,size:"small"}),o("gux-truncate",{ref:t=>this.truncateElement=t},i))}renderFilterInputField(){if(this.isFilterable())return o("div",{class:"gux-field gux-input-field",dir:"auto"},o("div",{class:"gux-field-content"},o("div",{class:"gux-filter"},o("div",{class:"gux-filter-display"},o("span",{class:"gux-filter-text"},this.filter),o("span",{class:"gux-filter-suggestion"},this.getTypeaheadText(this.filter))),o("div",{class:"input-and-dropdown-button"},o("input",{class:"gux-filter-input",type:"text","aria-label":this.i18n("filterResults"),ref:t=>this.filterElement=t,onInput:this.filterInput.bind(this),onKeyDown:this.filterKeydown.bind(this),onKeyUp:this.filterKeyup.bind(this),onFocus:()=>this.expanded=!0,disabled:this.disabled}),this.renderTargetContent()))))}renderPopup(){return o("slot",{slot:"popup"})}renderTarget(){return o("div",{class:{"gux-target-container-filterable":this.isFilterable(),"gux-target-container-filterable-active":this.expanded&&this.isFilterable(),"gux-target-container-not-filterable":!this.isFilterable(),"gux-error":this.hasError,"gux-disabled":this.disabled},slot:"target"},this.renderFilterInputField(),o("button",{type:"button",class:"gux-field gux-field-button",disabled:d(this.root),onClick:this.fieldButtonClick.bind(this),onFocusin:this.showTooltip.bind(this),onFocusout:this.hideTooltip.bind(this),ref:t=>this.fieldButtonElement=t,"aria-haspopup":"listbox","aria-expanded":this.expanded.toString()},!this.isFilterable()&&this.renderTargetContent(),this.renderRadialLoading(),o("gux-icon",{class:{"gux-expand-icon":!0},"screenreader-text":this.i18n("dropdown"),size:"small",iconName:this.expanded?"custom/chevron-up-small-regular":"custom/chevron-down-small-regular"})))}renderTargetContent(){if(!this.expanded||!this.isFilterable())return o("div",{class:"gux-field-content"},this.renderTargetDisplay())}renderRadialLoading(){if(this.loading&&!this.expanded)return o("gux-radial-loading",{context:"input"})}render(){return o("gux-popup",{key:"1132809cbe653cbcc917a87ce921448e6e135bdc",expanded:this.expanded&&(!this.loading||this.isFilterable()),disabled:this.disabled||this.loading&&!this.isFilterable(),exceedTargetWidth:this.exceedTargetWidth},this.renderTarget(),this.renderPopup())}static get delegatesFocus(){return!0}get root(){return r(this)}static get watchers(){return{expanded:["watchExpanded"],value:["watchValue"],filter:["handleFilter"],disabled:["watchDisabled"]}}};A([n({triggerEvents:"mousedown"})],K.prototype,"onClickOutside",null),A([h({childList:!0,subtree:!0})],K.prototype,"onMutation",null),K.style=":host{box-sizing:border-box;color:var(--gse-ui-formControl-input-populatedColor)}.gux-field,.gux-target-container-filterable{all:unset;box-sizing:border-box;display:flex;flex-direction:row;flex-wrap:nowrap;place-content:stretch center;align-items:center;inline-size:100%;block-size:var(--gse-ui-formControl-input-textfield-height);font-family:var(--gse-ui-formControl-input-contentText-fontFamily);font-size:var(--gse-ui-formControl-input-contentText-fontSize);font-weight:var(--gse-ui-formControl-input-contentText-fontWeight);line-height:var(--gse-ui-formControl-input-contentText-lineHeight);cursor:pointer;background-color:var(--gse-ui-formControl-input-backgroundColor)}.gux-target-container-filterable,.gux-target-container-not-filterable .gux-field{padding:var(--gse-ui-formControl-input-padding)}.gux-error.gux-target-container-not-filterable .gux-field-button,.gux-error.gux-target-container-filterable{border:var(--gse-ui-formControl-input-error-border-width) var(--gse-ui-formControl-input-error-border-style) var(--gse-ui-formControl-input-error-border-color)}.gux-disabled.gux-target-container-not-filterable .gux-field-button,.gux-disabled.gux-target-container-filterable{user-select:none;border:var(--gse-ui-formControl-input-disabled-border-width) var(--gse-ui-formControl-input-disabled-border-style) var(--gse-ui-formControl-input-disabled-border-color)}.gux-target-container-not-filterable .gux-field-button:hover,.gux-target-container-filterable:hover{border:var(--gse-ui-formControl-input-hover-border-width) var(--gse-ui-formControl-input-hover-border-style) var(--gse-ui-formControl-input-hover-border-color)}.gux-field.gux-input-field{block-size:var(--gse-ui-formControl-input-contentText-lineHeight)}.gux-field .gux-field-content{--gux-zindex-tooltip:3;display:flex;flex:1 1 0;flex-direction:row;flex-wrap:nowrap;place-content:stretch flex-start;align-items:flex-start;min-inline-size:0;block-size:var(--gse-ui-formControl-input-contentText-lineHeight)}.gux-field .gux-field-content .gux-filter,.gux-field .gux-field-content .gux-selected-option,.gux-field .gux-field-content .gux-placeholder{flex:1 1 auto;align-self:auto;order:0;padding:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.gux-field .gux-field-content .gux-filter{position:relative;block-size:100%}.gux-field .gux-field-content .gux-filter .gux-filter-input{all:unset;inline-size:100%;color:transparent;caret-color:var(--gse-ui-formControl-input-populatedColor)}.gux-field .gux-field-content .gux-filter .gux-filter-display{white-space:pre}.gux-field .gux-field-content .gux-filter .gux-filter-display .gux-filter-text{color:var(--gse-ui-formControl-input-populatedColor)}.gux-field .gux-field-content .gux-filter .gux-filter-display .gux-filter-suggestion{color:var(--gse-ui-formControl-input-suggestionColor)}.gux-field .gux-field-content .gux-filter .gux-filter-input,.gux-field .gux-field-content .gux-filter .gux-filter-display{position:absolute}.gux-field .gux-field-content .gux-placeholder{color:var(--gse-ui-formControl-input-placeholderColor)}.gux-field .gux-expand-icon{flex:0 0 auto;align-self:auto;order:0;padding-inline-start:var(--gse-ui-dropdown-gap);color:var(--gse-ui-formControl-input-inputIcon-iconEndColor)}.gux-target-container-filterable{border:var(--gse-ui-formControl-input-default-border-width) var(--gse-ui-formControl-input-default-border-style) var(--gse-ui-formControl-input-default-border-color);border-radius:var(--gse-ui-formControl-input-borderRadius)}.gux-target-container-filterable.gux-target-container-filterable-active{border:var(--gse-ui-formControl-input-active-border-width) var(--gse-ui-formControl-input-active-border-style) var(--gse-ui-formControl-input-active-border-color);border-radius:var(--gse-ui-formControl-input-borderRadius)}.gux-target-container-filterable:focus-visible{outline:var(--gse-ui-formControl-input-focus-border-width) var(--gse-ui-formControl-input-focus-border-style) var(--gse-ui-formControl-input-focus-border-color);outline-offset:var(--gse-semantic-focusOutline-offset)}.gux-target-container-filterable:focus-within:has(:focus-visible){outline:var(--gse-ui-formControl-input-focus-border-width) var(--gse-ui-formControl-input-focus-border-style) var(--gse-ui-formControl-input-focus-border-color);outline-offset:var(--gse-semantic-focusOutline-offset)}.gux-target-container-filterable .gux-filter-input{background-color:inherit;border:none}.gux-target-container-filterable .gux-filter-input:focus{outline:none;border:none}.gux-target-container-filterable .gux-filter-input::selection{color:inherit;background:transparent;}.gux-target-container-filterable .gux-field-button{inline-size:auto;block-size:var(--gse-ui-formControl-input-contentText-lineHeight);margin:0;outline:none;background:inherit;border:none;box-shadow:none}.gux-target-container-filterable .gux-field-button:focus{outline:none}.gux-target-container-not-filterable .gux-field-button{border:var(--gse-ui-formControl-input-default-border-width) var(--gse-ui-formControl-input-default-border-style) var(--gse-ui-formControl-input-default-border-color);border-radius:var(--gse-ui-formControl-input-borderRadius)}.gux-target-container-not-filterable .gux-field-button:focus-visible{outline:var(--gse-ui-formControl-input-focus-border-width) var(--gse-ui-formControl-input-focus-border-style) var(--gse-ui-formControl-input-focus-border-color);outline-offset:var(--gse-semantic-focusOutline-offset)}.gux-target-container-not-filterable .gux-field-button:focus-within:has(:focus-visible){outline:var(--gse-ui-formControl-input-focus-border-width) var(--gse-ui-formControl-input-focus-border-style) var(--gse-ui-formControl-input-focus-border-color);outline-offset:var(--gse-semantic-focusOutline-offset)}::slotted(gux-listbox){outline:none;box-shadow:var(--gse-ui-menu-boxShadow)}.gux-selected-icon{display:flex;flex-direction:row;align-items:center}.gux-selected-icon.gux-icon-position-end{flex-direction:row-reverse}.gux-selected-icon gux-icon{padding-inline-end:var(--gse-ui-dropdown-gap)}";const M=["gux-option","gux-option-icon","gux-option-status-beta"].join(",");var V={noMatches:"No matches",loading:"Loading..."};const P=class{constructor(i){t(this,i),this.internallistboxoptionsupdated=e(this,"internallistboxoptionsupdated",7),this.loading=!1,this.filter="",this.filterType="none",this.disabled=!1,this.selectedValues=[],this.listboxOptions=[]}onBlur(){v(this.root)}onKeydown(t){if(!m(this.root))return t.preventDefault(),void f(this.root);switch(t.key){case"Enter":return t.preventDefault(),void j(this.root,(t=>this.updateValue(t)));case"ArrowDown":return t.preventDefault(),void(z(this.root)?(t.stopPropagation(),F(this.root)):C(this.root));case"ArrowUp":return t.preventDefault(),void(y(this.root)?(t.stopPropagation(),k(this.root)):w(this.root));case"Home":return t.preventDefault(),void C(this.root);case"End":return t.preventDefault(),void w(this.root);case" ":return void t.preventDefault()}1!==t.key.length||O(this.root,t.key)}onKeyup(t){" "!==t.key||j(this.root,(t=>this.updateValue(t)))}onMousemove(){v(this.root)}onClick(t){R(M,t,(t=>{T(t,(t=>this.updateValue(t)))}))}async guxSelectActive(){j(this.root,(t=>this.updateValue(t)))}setListboxOptions(){this.selectedValues=S(this.value),this.listboxOptions=p(this.root),this.internallistboxoptionsupdated.emit()}updateValue(t){this.value!==t&&(this.value=t),a(this.root,"input"),a(this.root,"change")}async componentWillLoad(){c(this.root),this.i18n=await l(this.root,V),this.setListboxOptions()}componentWillRender(){this.listboxOptions.forEach((t=>{t.selected=t.value===this.value,"custom"!==this.filterType&&"none"!==this.filterType&&(t.filtered=!E(t,this.filter))})),this.allListboxOptionsFiltered=0===this.listboxOptions.filter((t=>!t.filtered)).length}renderHiddenSlot(){return o("div",{hidden:!0},o("slot",{onSlotchange:()=>this.setListboxOptions()}))}renderLoading(){return[o("div",{class:"gux-message-container"},o("gux-radial-loading",{context:"modal"}),o("span",null,this.i18n("loading"))),this.renderHiddenSlot()]}renderAllListboxOptionsFiltered(){return[o("div",{class:"gux-message-container"},o("div",{class:"gux-no-matches"},this.emptyMessage||this.i18n("noMatches"))),this.renderHiddenSlot()]}render(){return this.loading?this.renderLoading():this.allListboxOptionsFiltered?this.renderAllListboxOptionsFiltered():o(s,{role:"listbox",tabindex:0},o("slot",{onSlotchange:()=>this.setListboxOptions()}))}get root(){return r(this)}};P.style=":host{scrollbar-color:var(--gse-ui-menu-border-color) transparent;scrollbar-width:thin;box-sizing:border-box;display:block;max-block-size:var(--gse-ui-menu-maxHeight);padding:var(--gse-ui-menu-padding);margin:0;overflow:visible auto;outline:none;background:var(--gse-ui-menu-backgroundColor);border:var(--gse-ui-menu-border-width) var(--gse-ui-menu-border-style) var(--gse-ui-menu-border-color);border-radius:var(--gse-ui-menu-borderRadius)}:host(:focus-visible){outline:var(--gse-semantic-focusOutline-md-borderWidth) solid var(--gse-ui-color-focus);outline-offset:var(--gse-semantic-focusOutline-offset)}.gux-message-container{display:flex;flex-direction:column;flex-wrap:nowrap;place-content:stretch center;align-items:center;text-align:center}.gux-message-container .gux-no-matches{box-sizing:border-box;block-size:var(--gse-ui-menu-option-height);padding-block:var(--gse-ui-dropdown-gap);font-family:var(--gse-ui-menu-option-label-active-text-fontFamily);font-size:var(--gse-ui-menu-option-label-active-text-fontSize);font-weight:var(--gse-ui-menu-option-label-active-text-fontWeight);line-height:var(--gse-ui-menu-option-label-active-text-lineHeight);color:var(--gse-ui-menu-option-label-foregroundColor)}";const _=class{constructor(e){t(this,e),this.active=!1,this.selected=!1,this.disabled=!1,this.filtered=!1,this.hasSubtext=!1}handleActive(t){var e,i;t?null===(e=this.truncateElement)||void 0===e||e.setShowTooltip():null===(i=this.truncateElement)||void 0===i||i.setHideTooltip()}componentWillLoad(){this.root.id=this.root.id||B("gux-option"),this.onSubtextChange()}onSubtextChange(){const t=H(this.root,"subtext");this.hasSubtext=!!(null==t?void 0:t.trim())}getAriaSelected(){return!this.disabled&&(this.selected?"true":"false")}hasDisabledParent(){const t=D("gux-listbox",this.root);return null==t?void 0:t.disabled}render(){return o(s,{key:"3b32039f09c90fe88bdafcb3597943337ae79ff4",role:"option",class:{"gux-active":this.active,"gux-disabled":this.disabled||this.hasDisabledParent(),"gux-filtered":this.filtered,"gux-selected":this.selected,"gux-show-subtext":this.hasSubtext},"aria-selected":this.getAriaSelected(),"aria-disabled":W(this.disabled||this.hasDisabledParent())},o("div",{key:"e12ee238fe0bf8b88ea2ff9c422ff7a53a4f92cc",class:"gux-option-wrapper"},o("gux-truncate",{key:"07bf888b0cb355764fe8aa4343f84395389ac32a","tooltip-placement":"right",ref:t=>this.truncateElement=t},o("slot",{key:"632f29668ec685018e381967833e9ac0e22e6991"})),o("slot",{key:"3f6c9039cbcccc0002d21913ce2f253fd149b70a",onSlotchange:()=>this.onSubtextChange(),name:"subtext"})))}get root(){return r(this)}static get watchers(){return{active:["handleActive"]}}};_.style=":host{box-sizing:border-box;display:flex;flex-direction:row;flex-wrap:nowrap;gap:var(--gse-ui-menu-option-gap);place-content:stretch center;align-items:center;block-size:var(--gse-ui-menu-option-height);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}:host .gux-option-wrapper{inline-size:100%;user-select:none}:host .gux-slot-container{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}:host(.gux-disabled){pointer-events:none;cursor:default;opacity:var(--gse-ui-menu-option-disabled-opacity)}:host(.gux-selected){font-family:var(--gse-ui-menu-option-label-active-text-fontFamily);font-size:var(--gse-ui-menu-option-label-active-text-fontSize);font-weight:var(--gse-ui-menu-option-label-active-text-fontWeight);line-height:var(--gse-ui-menu-option-label-active-text-lineHeight);background:var(--gse-ui-menu-option-selected-backgroundColor)}:host(:active:not(:disabled)){font-family:var(--gse-ui-menu-option-label-active-text-fontFamily);font-size:var(--gse-ui-menu-option-label-active-text-fontSize);font-weight:var(--gse-ui-menu-option-label-active-text-fontWeight);line-height:var(--gse-ui-menu-option-label-active-text-lineHeight)}:host(.gux-active){outline:var(--gse-ui-menu-option-focus-border-width) var(--gse-ui-menu-option-focus-border-style) var(--gse-ui-menu-option-focus-border-color);outline-offset:-2px;border-radius:var(--gse-semantic-focusOutline-sm-borderRadius)}:host(.gux-show-subtext){align-items:flex-start;block-size:auto;padding:var(--gse-ui-menu-option-subtext-padding)}:host(.gux-show-subtext) .gux-option-wrapper{display:flex;flex-direction:column}:host(.gux-show-subtext) slot[name=subtext]::slotted(*){font-weight:var(--gse-ui-menu-option-label-default-text-fontWeight);color:var(--gse-ui-menu-groupedMenu-subtext-foregroundColor)}:host(:hover:not(:disabled)){background:var(--gse-ui-menu-option-hover-backgroundColor)}:host(.gux-filtered){display:none}";export{K as gux_dropdown,P as gux_listbox,_ as gux_option}
@@ -1 +1 @@
1
- import{r as e,h as t,a as i}from"./p-mm833MRp.js";import{t as s}from"./p-Bk9hX_6O.js";import{h as n}from"./p-qzV3vtOw.js";const a=class{constructor(t){e(this,t)}renderSlot(e){return n(this.root,e)?t("div",{class:`${e}`},t("slot",{name:`${e}`})):null}renderTitleDesc(){const e=n(this.root,"title"),i=n(this.root,"description");return e||i?t("div",{class:"gux-title-description"},e&&t("slot",{name:"title"}),i&&t("gux-truncate",{"max-lines":"2"},t("slot",{name:"description"}))):null}componentWillLoad(){s(this.root)}connectedCallback(){this.internals=this.root.attachInternals(),this.internals.role="banner"}render(){return t("div",{key:"3e51981bc3ef9171b30172615672e5bde142e0ed",class:"title-block"},this.renderSlot("icon"),this.renderTitleDesc(),this.renderSlot("badge"))}get root(){return i(this)}};a.style=":host{display:block;padding:var(--gse-ui-sidePanel-header-padding)}.title-block{display:flex;gap:var(--gse-ui-sidePanel-header-titleBlock-iconGap);padding:var(--gse-ui-sidePanel-header-titleBlock-padding)}.icon{flex:0 0 auto;align-content:center}.gux-title-description{flex:1 1 auto;inline-size:1px;font-family:var(--gse-ui-sidePanel-description-text-fontFamily);font-size:var(--gse-ui-sidePanel-description-text-fontSize);font-weight:var(--gse-ui-sidePanel-description-text-fontWeight);line-height:var(--gse-ui-sidePanel-description-text-lineHeight);color:var(--gse-ui-sidePanel-descriptionColor)}.badge{flex:0 0 auto;align-content:center}";export{a as gux_side_panel_header}
1
+ import{r as e,h as t,a as i}from"./p-mm833MRp.js";import{t as s}from"./p-DoCK5APt.js";import{h as n}from"./p-qzV3vtOw.js";const a=class{constructor(t){e(this,t)}renderSlot(e){return n(this.root,e)?t("div",{class:`${e}`},t("slot",{name:`${e}`})):null}renderTitleDesc(){const e=n(this.root,"title"),i=n(this.root,"description");return e||i?t("div",{class:"gux-title-description"},e&&t("slot",{name:"title"}),i&&t("gux-truncate",{"max-lines":"2"},t("slot",{name:"description"}))):null}componentWillLoad(){s(this.root)}connectedCallback(){this.internals=this.root.attachInternals(),this.internals.role="banner"}render(){return t("div",{key:"daeb34deeff0d64980a20db719ececf47e73d2cd",class:"title-block"},this.renderSlot("icon"),this.renderTitleDesc(),this.renderSlot("badge"))}get root(){return i(this)}};a.style=":host{display:block;padding:var(--gse-ui-sidePanel-header-padding)}.title-block{display:flex;gap:var(--gse-ui-sidePanel-header-titleBlock-iconGap);padding:var(--gse-ui-sidePanel-header-titleBlock-padding)}.icon{flex:0 0 auto;align-content:center}.gux-title-description{flex:1 1 auto;inline-size:1px;font-family:var(--gse-ui-sidePanel-description-text-fontFamily);font-size:var(--gse-ui-sidePanel-description-text-fontSize);font-weight:var(--gse-ui-sidePanel-description-text-fontWeight);line-height:var(--gse-ui-sidePanel-description-text-lineHeight);color:var(--gse-ui-sidePanel-descriptionColor)}.badge{flex:0 0 auto;align-content:center}";export{a as gux_side_panel_header}
@@ -1 +1 @@
1
- import{r as e,h as t,H as i,a as n}from"./p-mm833MRp.js";import{t as s}from"./p-Bk9hX_6O.js";import{g as a}from"./p-Cd4R0amv.js";const o=class{constructor(t){e(this,t),this.size="medium",this.standalone=!1}componentWillLoad(){s(this.root,{variant:this.size+(this.standalone?"-standalone":"")})}checkBreadcrumbParent(){return!!a(".gux-breadcrumb-generation",this.root)}render(){return t(i,{key:"15825482afcb55e096d0e2d7b3d9d84c97fd8e01",size:this.size,standalone:this.standalone,class:{"gux-breadcrumb-link":this.checkBreadcrumbParent()}},t("slot",{key:"e8a3962cde3dbc3594eb747b21e55bc19ef6b336"}))}get root(){return n(this)}};o.style=":host{padding-block:var(--gse-ui-links-inLine-padding)}:host ::slotted(a){inline-size:fit-content;font-family:var(--gse-ui-links-inLine-medium-text-fontFamily), var(--gse-semantic-theme-fontFamily-body), sans-serif;font-size:var(--gse-ui-links-inLine-medium-text-fontSize);font-weight:var(--gse-ui-links-inLine-medium-text-fontWeight);line-height:var(--gse-ui-links-inLine-medium-text-lineHeight);color:var(--gse-ui-links-default-foregroundColor) !important;border-radius:var(--gse-ui-links-focusOutline-borderRadius) !important}:host ::slotted(a:hover){color:var(--gse-ui-links-hover-foregroundColor) !important}:host ::slotted(a:active){color:var(--gse-ui-links-active-foregroundColor) !important}:host ::slotted(a:visited){color:var(--gse-ui-links-visited-foregroundColor) !important}:host ::slotted(a:focus-visible){outline:var(--gse-semantic-focusOutline-md-borderWidth) solid var(--gse-semantic-border-focus);outline-offset:var(--gse-semantic-focusOutline-offset)}:host([size=small]) ::slotted(a){font-family:var(--gse-ui-links-inLine-small-text-fontFamily), var(--gse-semantic-theme-fontFamily-body), sans-serif;font-size:var(--gse-ui-links-inLine-small-text-fontSize);font-weight:var(--gse-ui-links-inLine-small-text-fontWeight);line-height:var(--gse-ui-links-inLine-small-text-lineHeight)}:host([standalone]){display:block;padding-block:var(--gse-ui-links-standalone-padding)}:host([standalone]) ::slotted(a){display:flex;gap:var(--gse-ui-links-standalone-gap);align-items:center;inline-size:fit-content;font-family:var(--gse-ui-links-standalone-medium-text-fontFamily), var(--gse-semantic-theme-fontFamily-body), sans-serif;font-size:var(--gse-ui-links-standalone-medium-text-fontSize);font-weight:var(--gse-ui-links-standalone-medium-text-fontWeight);line-height:var(--gse-ui-links-standalone-medium-text-lineHeight);text-decoration:none !important}:host([standalone]) ::slotted(a:hover){font-family:var(--gse-ui-links-standalone-medium-underlinedText-fontFamily), var(--gse-semantic-theme-fontFamily-body), sans-serif;font-size:var(--gse-ui-links-standalone-medium-underlinedText-fontSize);font-weight:var(--gse-ui-links-standalone-medium-underlinedText-fontWeight);line-height:var(--gse-ui-links-standalone-medium-underlinedText-lineHeight);text-decoration:var(--gse-ui-links-standalone-medium-underlinedText-textDecoration) !important}:host([standalone]) ::slotted(a:active){text-decoration:none !important}:host([size=small][standalone]) ::slotted(a){font-family:var(--gse-ui-links-standalone-small-text-fontFamily), var(--gse-semantic-theme-fontFamily-body), sans-serif;font-size:var(--gse-ui-links-standalone-small-text-fontSize);font-weight:var(--gse-ui-links-standalone-small-text-fontWeight);line-height:var(--gse-ui-links-standalone-small-text-lineHeight)}:host([size=small][standalone]) ::slotted(a:hover){font-family:var(--gse-ui-links-standalone-small-underlinedText-fontFamily), var(--gse-semantic-theme-fontFamily-body), sans-serif;font-size:var(--gse-ui-links-standalone-small-underlinedText-fontSize);font-weight:var(--gse-ui-links-standalone-small-underlinedText-fontWeight);line-height:var(--gse-ui-links-standalone-small-underlinedText-lineHeight);text-decoration:var(--gse-ui-links-standalone-small-underlinedText-textDecoration) !important}:host([standalone][class=gux-breadcrumb-link]){padding:0}";export{o as gux_link_beta}
1
+ import{r as e,h as t,H as i,a as n}from"./p-mm833MRp.js";import{t as s}from"./p-DoCK5APt.js";import{g as a}from"./p-Cd4R0amv.js";const o=class{constructor(t){e(this,t),this.size="medium",this.standalone=!1}componentWillLoad(){s(this.root,{variant:this.size+(this.standalone?"-standalone":"")})}checkBreadcrumbParent(){return!!a(".gux-breadcrumb-generation",this.root)}render(){return t(i,{key:"aff8888193125a023abd5ce243b69f3c83a1cfd2",size:this.size,standalone:this.standalone,class:{"gux-breadcrumb-link":this.checkBreadcrumbParent()}},t("slot",{key:"ee7de09ef33161ee942104a23142607eb8da2ba9"}))}get root(){return n(this)}};o.style=":host{padding-block:var(--gse-ui-links-inLine-padding)}:host ::slotted(a){inline-size:fit-content;font-family:var(--gse-ui-links-inLine-medium-text-fontFamily), var(--gse-semantic-theme-fontFamily-body), sans-serif;font-size:var(--gse-ui-links-inLine-medium-text-fontSize);font-weight:var(--gse-ui-links-inLine-medium-text-fontWeight);line-height:var(--gse-ui-links-inLine-medium-text-lineHeight);color:var(--gse-ui-links-default-foregroundColor) !important;border-radius:var(--gse-ui-links-focusOutline-borderRadius) !important}:host ::slotted(a:hover){color:var(--gse-ui-links-hover-foregroundColor) !important}:host ::slotted(a:active){color:var(--gse-ui-links-active-foregroundColor) !important}:host ::slotted(a:visited){color:var(--gse-ui-links-visited-foregroundColor) !important}:host ::slotted(a:focus-visible){outline:var(--gse-semantic-focusOutline-md-borderWidth) solid var(--gse-semantic-border-focus);outline-offset:var(--gse-semantic-focusOutline-offset)}:host([size=small]) ::slotted(a){font-family:var(--gse-ui-links-inLine-small-text-fontFamily), var(--gse-semantic-theme-fontFamily-body), sans-serif;font-size:var(--gse-ui-links-inLine-small-text-fontSize);font-weight:var(--gse-ui-links-inLine-small-text-fontWeight);line-height:var(--gse-ui-links-inLine-small-text-lineHeight)}:host([standalone]){display:block;padding-block:var(--gse-ui-links-standalone-padding)}:host([standalone]) ::slotted(a){display:flex;gap:var(--gse-ui-links-standalone-gap);align-items:center;inline-size:fit-content;font-family:var(--gse-ui-links-standalone-medium-text-fontFamily), var(--gse-semantic-theme-fontFamily-body), sans-serif;font-size:var(--gse-ui-links-standalone-medium-text-fontSize);font-weight:var(--gse-ui-links-standalone-medium-text-fontWeight);line-height:var(--gse-ui-links-standalone-medium-text-lineHeight);text-decoration:none !important}:host([standalone]) ::slotted(a:hover){font-family:var(--gse-ui-links-standalone-medium-underlinedText-fontFamily), var(--gse-semantic-theme-fontFamily-body), sans-serif;font-size:var(--gse-ui-links-standalone-medium-underlinedText-fontSize);font-weight:var(--gse-ui-links-standalone-medium-underlinedText-fontWeight);line-height:var(--gse-ui-links-standalone-medium-underlinedText-lineHeight);text-decoration:var(--gse-ui-links-standalone-medium-underlinedText-textDecoration) !important}:host([standalone]) ::slotted(a:active){text-decoration:none !important}:host([size=small][standalone]) ::slotted(a){font-family:var(--gse-ui-links-standalone-small-text-fontFamily), var(--gse-semantic-theme-fontFamily-body), sans-serif;font-size:var(--gse-ui-links-standalone-small-text-fontSize);font-weight:var(--gse-ui-links-standalone-small-text-fontWeight);line-height:var(--gse-ui-links-standalone-small-text-lineHeight)}:host([size=small][standalone]) ::slotted(a:hover){font-family:var(--gse-ui-links-standalone-small-underlinedText-fontFamily), var(--gse-semantic-theme-fontFamily-body), sans-serif;font-size:var(--gse-ui-links-standalone-small-underlinedText-fontSize);font-weight:var(--gse-ui-links-standalone-small-underlinedText-fontWeight);line-height:var(--gse-ui-links-standalone-small-underlinedText-lineHeight);text-decoration:var(--gse-ui-links-standalone-small-underlinedText-textDecoration) !important}:host([standalone][class=gux-breadcrumb-link]){padding:0}";export{o as gux_link_beta}