genesys-spark-components 4.121.0 → 4.123.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 (737) hide show
  1. package/dist/cjs/{en-b47b8378.js → en-63e86478.js} +3 -1
  2. package/dist/cjs/genesys-webcomponents.cjs.js +2 -2
  3. package/dist/cjs/{get-valid-timezone-a3319313.js → get-valid-timezone-92648ac9.js} +1 -1
  4. package/dist/cjs/gux-accordion-section.cjs.entry.js +6 -6
  5. package/dist/cjs/gux-accordion.cjs.entry.js +3 -3
  6. package/dist/cjs/gux-action-button.cjs.entry.js +5 -5
  7. package/dist/cjs/gux-action-toast-legacy.cjs.entry.js +3 -3
  8. package/dist/cjs/gux-advanced-dropdown-legacy.cjs.entry.js +6 -6
  9. package/dist/cjs/gux-all-row-select.cjs.entry.js +3 -3
  10. package/dist/cjs/gux-announce-beta.cjs.entry.js +2 -2
  11. package/dist/cjs/gux-avatar-beta.cjs.entry.js +3 -3
  12. package/dist/cjs/gux-avatar-change-photo-beta.cjs.entry.js +3 -3
  13. package/dist/cjs/gux-avatar-focusable-beta.cjs.entry.js +1 -1
  14. package/dist/cjs/{gux-avatar-overflow-beta_2.cjs.entry.js → gux-avatar-group-add-item-beta_3.cjs.entry.js} +43 -8
  15. package/dist/cjs/gux-avatar-group-beta.cjs.entry.js +23 -8
  16. package/dist/cjs/gux-avatar-group-item-beta.cjs.entry.js +5 -5
  17. package/dist/cjs/{gux-avatar-group.service-245cf1b7.js → gux-avatar-group.service-ee60ea24.js} +5 -1
  18. package/dist/cjs/gux-badge.cjs.entry.js +4 -4
  19. package/dist/cjs/gux-blank-state.cjs.entry.js +4 -4
  20. package/dist/cjs/gux-breadcrumb-item.cjs.entry.js +2 -2
  21. package/dist/cjs/gux-breadcrumbs.cjs.entry.js +4 -4
  22. package/dist/cjs/gux-button-multi.cjs.entry.js +4 -4
  23. package/dist/cjs/gux-button-slot.cjs.entry.js +3 -3
  24. package/dist/cjs/gux-button_2.cjs.entry.js +7 -7
  25. package/dist/cjs/gux-calendar-beta.cjs.entry.js +3 -3
  26. package/dist/cjs/gux-calendar.cjs.entry.js +4 -4
  27. package/dist/cjs/gux-card.cjs.entry.js +4 -4
  28. package/dist/cjs/gux-column-manager-item.cjs.entry.js +5 -5
  29. package/dist/cjs/gux-column-manager.cjs.entry.js +4 -4
  30. package/dist/cjs/gux-content-search.cjs.entry.js +5 -5
  31. package/dist/cjs/gux-context-menu.cjs.entry.js +6 -6
  32. package/dist/cjs/gux-copy-to-clipboard.cjs.entry.js +4 -4
  33. package/dist/cjs/gux-create-option.cjs.entry.js +4 -4
  34. package/dist/cjs/gux-cta-group.cjs.entry.js +2 -2
  35. package/dist/cjs/gux-date-beta.cjs.entry.js +5 -5
  36. package/dist/cjs/gux-date-time-beta.cjs.entry.js +5 -5
  37. package/dist/cjs/gux-datepicker.cjs.entry.js +5 -5
  38. package/dist/cjs/gux-disclosure-button-legacy.cjs.entry.js +5 -5
  39. package/dist/cjs/gux-dismiss-button.cjs.entry.js +5 -5
  40. package/dist/cjs/gux-dropdown-multi-tag.cjs.entry.js +3 -3
  41. package/dist/cjs/gux-dropdown-multi.cjs.entry.js +6 -6
  42. package/dist/cjs/gux-dropdown-option.cjs.entry.js +2 -2
  43. package/dist/cjs/gux-dropdown_3.cjs.entry.js +8 -8
  44. package/dist/cjs/gux-file-list-item.cjs.entry.js +5 -5
  45. package/dist/cjs/gux-flag-icon-beta.cjs.entry.js +3 -3
  46. package/dist/cjs/gux-flyout-menu.cjs.entry.js +4 -4
  47. package/dist/cjs/gux-form-beta.cjs.entry.js +2 -2
  48. package/dist/cjs/gux-form-description.cjs.entry.js +2 -2
  49. package/dist/cjs/gux-form-field-checkbox-group-beta.cjs.entry.js +8 -8
  50. package/dist/cjs/gux-form-field-checkbox.cjs.entry.js +6 -6
  51. package/dist/cjs/gux-form-field-color.cjs.entry.js +8 -8
  52. package/dist/cjs/{gux-form-field-container-d667bd55.js → gux-form-field-container-131e8408.js} +1 -1
  53. package/dist/cjs/gux-form-field-dropdown.cjs.entry.js +9 -9
  54. package/dist/cjs/{gux-form-field-error-ce0cf9e4.js → gux-form-field-error-b04c6f58.js} +1 -1
  55. package/dist/cjs/{gux-form-field-fieldset-container-1b27772e.js → gux-form-field-fieldset-container-3e2ced98.js} +1 -1
  56. package/dist/cjs/gux-form-field-file-beta.cjs.entry.js +7 -7
  57. package/dist/cjs/gux-form-field-file.cjs.entry.js +6 -6
  58. package/dist/cjs/gux-form-field-input-clear-button.cjs.entry.js +4 -4
  59. package/dist/cjs/gux-form-field-label-indicator.cjs.entry.js +3 -3
  60. package/dist/cjs/gux-form-field-number_2.cjs.entry.js +14 -14
  61. package/dist/cjs/gux-form-field-phone.cjs.entry.js +10 -10
  62. package/dist/cjs/gux-form-field-radio-group-beta.cjs.entry.js +8 -8
  63. package/dist/cjs/gux-form-field-radio.cjs.entry.js +6 -6
  64. package/dist/cjs/gux-form-field-range.cjs.entry.js +8 -8
  65. package/dist/cjs/gux-form-field-search.cjs.entry.js +8 -8
  66. package/dist/cjs/gux-form-field-select.cjs.entry.js +8 -8
  67. package/dist/cjs/gux-form-field-text-like.cjs.entry.js +8 -8
  68. package/dist/cjs/gux-form-field-textarea.cjs.entry.js +7 -7
  69. package/dist/cjs/gux-form-field-time-picker.cjs.entry.js +10 -10
  70. package/dist/cjs/gux-form-field-time-zone-picker.cjs.entry.js +9 -9
  71. package/dist/cjs/gux-form-fieldset-heading.cjs.entry.js +2 -2
  72. package/dist/cjs/gux-form-footer.cjs.entry.js +4 -4
  73. package/dist/cjs/gux-form-heading.cjs.entry.js +2 -2
  74. package/dist/cjs/gux-icon-tooltip-beta.cjs.entry.js +3 -3
  75. package/dist/cjs/gux-icon.cjs.entry.js +3 -3
  76. package/dist/cjs/gux-inline-alert.cjs.entry.js +5 -5
  77. package/dist/cjs/gux-label-info-beta.cjs.entry.js +3 -3
  78. package/dist/cjs/gux-link-beta.cjs.entry.js +3 -3
  79. package/dist/cjs/gux-list-divider.cjs.entry.js +2 -2
  80. package/dist/cjs/gux-list-item.cjs.entry.js +2 -2
  81. package/dist/cjs/gux-list.cjs.entry.js +3 -3
  82. package/dist/cjs/gux-listbox-multi.cjs.entry.js +3 -3
  83. package/dist/cjs/gux-loading-message.cjs.entry.js +3 -3
  84. package/dist/cjs/gux-menu-option.cjs.entry.js +2 -2
  85. package/dist/cjs/gux-menu.cjs.entry.js +2 -2
  86. package/dist/cjs/gux-modal-legacy.cjs.entry.js +4 -4
  87. package/dist/cjs/gux-modal-side-panel-beta.cjs.entry.js +3 -3
  88. package/dist/cjs/gux-modal.cjs.entry.js +3 -3
  89. package/dist/cjs/gux-month-calendar.cjs.entry.js +3 -3
  90. package/dist/cjs/gux-month-list_2.cjs.entry.js +3 -3
  91. package/dist/cjs/gux-month-picker-beta.cjs.entry.js +5 -5
  92. package/dist/cjs/gux-notification-toast-legacy.cjs.entry.js +3 -3
  93. package/dist/cjs/gux-option-group-beta.cjs.entry.js +2 -2
  94. package/dist/cjs/gux-option-icon.cjs.entry.js +3 -3
  95. package/dist/cjs/gux-option-multi.cjs.entry.js +4 -4
  96. package/dist/cjs/gux-page-loading-spinner.cjs.entry.js +3 -3
  97. package/dist/cjs/gux-pagination-buttons-legacy_3.cjs.entry.js +6 -6
  98. package/dist/cjs/gux-pagination-buttons_2.cjs.entry.js +5 -5
  99. package/dist/cjs/gux-pagination-cursor.cjs.entry.js +3 -3
  100. package/dist/cjs/gux-pagination-items-per-page.cjs.entry.js +3 -3
  101. package/dist/cjs/gux-pagination-legacy.cjs.entry.js +3 -3
  102. package/dist/cjs/gux-pagination.cjs.entry.js +3 -3
  103. package/dist/cjs/gux-phone-input-beta.cjs.entry.js +5 -5
  104. package/dist/cjs/gux-popover-beta.cjs.entry.js +5 -5
  105. package/dist/cjs/gux-popover-list-beta.cjs.entry.js +5 -5
  106. package/dist/cjs/gux-popover-list.cjs.entry.js +5 -5
  107. package/dist/cjs/gux-popup.cjs.entry.js +4 -4
  108. package/dist/cjs/gux-radial-loading.cjs.entry.js +4 -4
  109. package/dist/cjs/gux-radial-progress.cjs.entry.js +2 -2
  110. package/dist/cjs/gux-rating.cjs.entry.js +3 -3
  111. package/dist/cjs/gux-rich-highlight-list-item.cjs.entry.js +6 -6
  112. package/dist/cjs/gux-rich-style-list-item_3.cjs.entry.js +299 -0
  113. package/dist/cjs/gux-rich-text-editor-action-group.cjs.entry.js +3 -3
  114. package/dist/cjs/gux-rich-text-editor-action-link.cjs.entry.js +8 -6
  115. package/dist/cjs/gux-rich-text-editor-action-rich-style.cjs.entry.js +14 -11
  116. package/dist/cjs/gux-rich-text-editor-action-text-highlight.cjs.entry.js +7 -7
  117. package/dist/cjs/gux-rich-text-editor-action.cjs.entry.js +5 -5
  118. package/dist/cjs/gux-rich-text-editor-beta.cjs.entry.js +140 -3
  119. package/dist/cjs/gux-rich-text-editor-list.cjs.entry.js +6 -5
  120. package/dist/cjs/gux-rich-text-editor.service-a1f5a275.js +84 -0
  121. package/dist/cjs/gux-row-select.cjs.entry.js +4 -4
  122. package/dist/cjs/gux-screen-reader-beta.cjs.entry.js +3 -3
  123. package/dist/cjs/gux-segmented-control-beta.cjs.entry.js +3 -3
  124. package/dist/cjs/gux-segmented-control-item.cjs.entry.js +5 -5
  125. package/dist/cjs/gux-selector-card-beta.cjs.entry.js +4 -4
  126. package/dist/cjs/gux-selector-cards-beta.cjs.entry.js +3 -3
  127. package/dist/cjs/gux-side-panel-beta.cjs.entry.js +4 -4
  128. package/dist/cjs/gux-side-panel-heading.cjs.entry.js +3 -3
  129. package/dist/cjs/gux-simple-toast-legacy.cjs.entry.js +3 -3
  130. package/dist/cjs/gux-skip-navigation-item.cjs.entry.js +2 -2
  131. package/dist/cjs/gux-skip-navigation-list.cjs.entry.js +4 -4
  132. package/dist/cjs/gux-sort-control.cjs.entry.js +6 -6
  133. package/dist/cjs/gux-submenu.cjs.entry.js +4 -4
  134. package/dist/cjs/gux-switch-item.cjs.entry.js +2 -2
  135. package/dist/cjs/gux-switch-legacy.cjs.entry.js +3 -3
  136. package/dist/cjs/gux-tab-advanced-list.cjs.entry.js +4 -4
  137. package/dist/cjs/gux-tab-advanced-panel.cjs.entry.js +2 -2
  138. package/dist/cjs/gux-tab-advanced.cjs.entry.js +4 -4
  139. package/dist/cjs/gux-tab-list.cjs.entry.js +5 -5
  140. package/dist/cjs/gux-tab-panel.cjs.entry.js +2 -2
  141. package/dist/cjs/gux-tab.cjs.entry.js +3 -3
  142. package/dist/cjs/gux-table-select-menu.cjs.entry.js +3 -3
  143. package/dist/cjs/gux-table-toolbar-action.cjs.entry.js +4 -4
  144. package/dist/cjs/gux-table-toolbar-custom-action.cjs.entry.js +3 -3
  145. package/dist/cjs/gux-table-toolbar-menu-button.cjs.entry.js +5 -5
  146. package/dist/cjs/gux-table-toolbar.cjs.entry.js +6 -6
  147. package/dist/cjs/gux-table.cjs.entry.js +4 -4
  148. package/dist/cjs/gux-tabs-advanced.cjs.entry.js +3 -3
  149. package/dist/cjs/gux-tabs.cjs.entry.js +3 -3
  150. package/dist/cjs/gux-tag.cjs.entry.js +4 -4
  151. package/dist/cjs/gux-text-highlight.cjs.entry.js +2 -2
  152. package/dist/cjs/gux-time-beta.cjs.entry.js +5 -5
  153. package/dist/cjs/gux-time-picker.cjs.entry.js +5 -5
  154. package/dist/cjs/gux-time-zone-beta.cjs.entry.js +4 -4
  155. package/dist/cjs/gux-time-zone-picker-beta.cjs.entry.js +5 -5
  156. package/dist/cjs/gux-toast.cjs.entry.js +4 -4
  157. package/dist/cjs/gux-toggle-slider.cjs.entry.js +3 -3
  158. package/dist/cjs/gux-toggle.cjs.entry.js +5 -5
  159. package/dist/cjs/gux-tooltip-base-beta_2.cjs.entry.js +5 -5
  160. package/dist/cjs/gux-tooltip-title.cjs.entry.js +5 -5
  161. package/dist/cjs/gux-tooltip_2.cjs.entry.js +9 -9
  162. package/dist/cjs/{index-77202cdc.js → index-8f08a5ed.js} +31 -19
  163. package/dist/cjs/{index-8194d25c.js → index-c5d18923.js} +1 -1
  164. package/dist/cjs/loader.cjs.js +2 -2
  165. package/dist/cjs/{on-click-outside-2faf7467.js → on-click-outside-18d3c600.js} +1 -1
  166. package/dist/cjs/{on-mutation-e89e880e.js → on-mutation-86c636e6.js} +1 -1
  167. package/dist/cjs/{on-resize-810e9012.js → on-resize-15ff32b7.js} +5 -2
  168. package/dist/cjs/{usage-21313047.js → usage-cee7c9f5.js} +1 -1
  169. package/dist/collection/collection-manifest.json +3 -0
  170. package/dist/collection/components/beta/gux-avatar-group/gux-avatar-group-add-item/gux-avatar-group-add-item.css +29 -0
  171. package/dist/collection/components/beta/gux-avatar-group/gux-avatar-group-add-item/gux-avatar-group-add-item.js +67 -0
  172. package/dist/collection/components/beta/gux-avatar-group/gux-avatar-group-item/gux-avatar-group-item.js +2 -2
  173. package/dist/collection/components/beta/gux-avatar-group/gux-avatar-group.css +4 -0
  174. package/dist/collection/components/beta/gux-avatar-group/gux-avatar-group.js +19 -4
  175. package/dist/collection/components/beta/gux-avatar-group/gux-avatar-group.service.js +5 -1
  176. package/dist/collection/components/beta/gux-avatar-group/gux-avatar-overflow/gux-avatar-overflow-item/gux-avatar-overflow-item.js +2 -2
  177. package/dist/collection/components/beta/gux-avatar-group/gux-avatar-overflow/gux-avatar-overflow.js +2 -2
  178. package/dist/collection/components/beta/gux-calendar-beta/components/single/gux-calendar.js +1 -1
  179. package/dist/collection/components/beta/gux-cta-group/gux-cta-group.js +1 -1
  180. package/dist/collection/components/beta/gux-date/gux-date.js +1 -1
  181. package/dist/collection/components/beta/gux-date-time/gux-date-time.js +1 -1
  182. package/dist/collection/components/beta/gux-flag-icon/gux-flag-icon.js +1 -1
  183. package/dist/collection/components/beta/gux-form/gux-form-description/gux-form-description.js +1 -1
  184. package/dist/collection/components/beta/gux-form/gux-form-fieldset-heading/gux-form-fieldset-heading.js +1 -1
  185. package/dist/collection/components/beta/gux-form/gux-form-footer/gux-form-footer.js +2 -2
  186. package/dist/collection/components/beta/gux-form/gux-form-heading/gux-form-heading.js +1 -1
  187. package/dist/collection/components/beta/gux-form/gux-form.js +1 -1
  188. package/dist/collection/components/beta/gux-icon-tooltip/gux-icon-tooltip.js +2 -2
  189. package/dist/collection/components/beta/gux-label-info/gux-label-info.js +1 -1
  190. package/dist/collection/components/beta/gux-link/gux-link.js +1 -1
  191. package/dist/collection/components/beta/gux-month-picker/gux-month-calendar/gux-month-calendar.js +1 -1
  192. 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
  193. package/dist/collection/components/beta/gux-month-picker/gux-month-calendar/gux-month-list/gux-month-list.js +1 -1
  194. package/dist/collection/components/beta/gux-month-picker/gux-month-picker.js +1 -1
  195. package/dist/collection/components/beta/gux-phone-input/gux-phone-input.js +1 -1
  196. package/dist/collection/components/beta/gux-popover-beta/gux-popover.js +2 -2
  197. package/dist/collection/components/beta/gux-popover-list-beta/gux-popover-list.js +2 -2
  198. 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 +2 -1
  199. 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.css +1 -1
  200. 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 +7 -4
  201. 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
  202. package/dist/collection/components/beta/gux-rich-text-editor/gux-rich-text-editor-action-group/gux-rich-text-editor-action-group.css +7 -0
  203. package/dist/collection/components/beta/gux-rich-text-editor/gux-rich-text-editor-action-group/gux-rich-text-editor-action-group.js +1 -1
  204. package/dist/collection/components/beta/gux-rich-text-editor/gux-rich-text-editor-beta.js +163 -3
  205. 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
  206. 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 +2 -2
  207. package/dist/collection/components/beta/gux-rich-text-editor/gux-rich-text-editor-list/gux-rich-text-editor-list.js +4 -3
  208. 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.css +89 -0
  209. 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 +213 -0
  210. package/dist/collection/components/beta/gux-rich-text-editor/gux-rich-text-editor-menu/gux-rich-text-editor-menu.css +24 -0
  211. package/dist/collection/components/beta/gux-rich-text-editor/gux-rich-text-editor-menu/gux-rich-text-editor-menu.js +142 -0
  212. package/dist/collection/components/beta/gux-rich-text-editor/gux-rich-text-editor.service.js +42 -0
  213. package/dist/collection/components/beta/gux-screen-reader/gux-screen-reader.js +1 -1
  214. package/dist/collection/components/beta/gux-segmented-control/gux-segmented-control-item/gux-segmented-control-item.js +4 -4
  215. package/dist/collection/components/beta/gux-segmented-control/gux-segmented-control.js +1 -1
  216. package/dist/collection/components/beta/gux-selector-cards/gux-selector-card/gux-selector-card.js +2 -2
  217. package/dist/collection/components/beta/gux-selector-cards/gux-selector-cards.js +1 -1
  218. package/dist/collection/components/beta/gux-side-panel/components/gux-modal-side-panel/gux-modal-side-panel.js +1 -1
  219. package/dist/collection/components/beta/gux-side-panel/components/gux-side-panel-heading/gux-side-panel-heading.js +2 -2
  220. package/dist/collection/components/beta/gux-side-panel/gux-side-panel.js +2 -2
  221. package/dist/collection/components/beta/gux-time/gux-time.js +1 -1
  222. package/dist/collection/components/beta/gux-time-zone/gux-time-zone.js +1 -1
  223. package/dist/collection/components/beta/gux-time-zone-picker/gux-time-zone-picker.js +2 -2
  224. package/dist/collection/components/beta/gux-tooltip-base/gux-tooltip-base.js +2 -2
  225. package/dist/collection/components/beta/gux-tooltip-beta/gux-tooltip.js +1 -1
  226. package/dist/collection/components/legacy/gux-action-toast-legacy/gux-action-toast.js +1 -1
  227. package/dist/collection/components/legacy/gux-advanced-dropdown-legacy/dropdown-option/gux-dropdown-option.js +1 -1
  228. package/dist/collection/components/legacy/gux-advanced-dropdown-legacy/gux-advanced-dropdown.js +2 -2
  229. package/dist/collection/components/legacy/gux-disclosure-button-legacy/gux-disclosure-button.js +2 -2
  230. package/dist/collection/components/legacy/gux-modal-legacy/gux-modal-legacy.js +2 -2
  231. package/dist/collection/components/legacy/gux-notification-toast-legacy/gux-notification-toast.js +1 -1
  232. package/dist/collection/components/legacy/gux-pagination-legacy/gux-pagination-buttons-legacy/gux-pagination-buttons.js +1 -1
  233. package/dist/collection/components/legacy/gux-pagination-legacy/gux-pagination-item-counts-legacy/gux-pagination-item-counts.js +2 -2
  234. package/dist/collection/components/legacy/gux-pagination-legacy/gux-pagination-items-per-page-legacy/gux-pagination-items-per-page.js +1 -1
  235. package/dist/collection/components/legacy/gux-pagination-legacy/gux-pagination.js +1 -1
  236. package/dist/collection/components/legacy/gux-simple-toast-legacy/gux-simple-toast.js +1 -1
  237. package/dist/collection/components/legacy/gux-switch-legacy/gux-switch-item/gux-switch-item.js +1 -1
  238. package/dist/collection/components/legacy/gux-switch-legacy/gux-switch.js +1 -1
  239. package/dist/collection/components/stable/gux-accordion/gux-accordion-section/gux-accordion-section.js +5 -5
  240. package/dist/collection/components/stable/gux-accordion/gux-accordion.js +1 -1
  241. package/dist/collection/components/stable/gux-action-button/gux-action-button.js +1 -1
  242. package/dist/collection/components/stable/gux-badge/gux-badge.js +1 -1
  243. package/dist/collection/components/stable/gux-blank-state/gux-blank-state.js +1 -1
  244. package/dist/collection/components/stable/gux-breadcrumbs/breadcrumb-item/gux-breadcrumb-item.js +1 -1
  245. package/dist/collection/components/stable/gux-breadcrumbs/gux-breadcrumbs.js +1 -1
  246. package/dist/collection/components/stable/gux-button/gux-button.js +2 -2
  247. package/dist/collection/components/stable/gux-button-multi/gux-button-multi.js +1 -1
  248. package/dist/collection/components/stable/gux-button-slot/gux-button-slot.js +1 -1
  249. package/dist/collection/components/stable/gux-calendar/gux-calendar.js +1 -1
  250. package/dist/collection/components/stable/gux-card/gux-card.js +2 -2
  251. package/dist/collection/components/stable/gux-column-manager/gux-column-manager-item/gux-column-manager-item.js +3 -3
  252. package/dist/collection/components/stable/gux-column-manager/gux-column-manager.js +1 -1
  253. package/dist/collection/components/stable/gux-content-search/gux-content-search.js +2 -2
  254. package/dist/collection/components/stable/gux-context-menu/gux-context-menu.js +2 -2
  255. package/dist/collection/components/stable/gux-copy-to-clipboard/gux-copy-to-clipboard.js +1 -1
  256. package/dist/collection/components/stable/gux-datepicker/gux-datepicker.js +1 -1
  257. package/dist/collection/components/stable/gux-dismiss-button/gux-dismiss-button.js +2 -2
  258. package/dist/collection/components/stable/gux-dropdown/gux-dropdown.js +1 -1
  259. package/dist/collection/components/stable/gux-dropdown-multi/gux-dropdown-multi-tag/gux-dropdown-multi-tag.js +1 -1
  260. package/dist/collection/components/stable/gux-dropdown-multi/gux-dropdown-multi.js +1 -1
  261. package/dist/collection/components/stable/gux-flyout-menu/gux-flyout-menu.js +2 -2
  262. package/dist/collection/components/stable/gux-flyout-menu/gux-menu/gux-menu-option/gux-menu-option.js +1 -1
  263. package/dist/collection/components/stable/gux-flyout-menu/gux-menu/gux-menu.js +1 -1
  264. package/dist/collection/components/stable/gux-flyout-menu/gux-menu/gux-submenu/gux-submenu.js +3 -3
  265. package/dist/collection/components/stable/gux-form-field/components/gux-form-field-checkbox/gux-form-field-checkbox.js +2 -2
  266. package/dist/collection/components/stable/gux-form-field/components/gux-form-field-checkbox-group/gux-form-field-checkbox-group.js +2 -2
  267. package/dist/collection/components/stable/gux-form-field/components/gux-form-field-color/gux-form-field-color.js +3 -3
  268. package/dist/collection/components/stable/gux-form-field/components/gux-form-field-dropdown/gux-form-field-dropdown.js +3 -3
  269. package/dist/collection/components/stable/gux-form-field/components/gux-form-field-file/gux-form-field-file.js +1 -1
  270. 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
  271. package/dist/collection/components/stable/gux-form-field/components/gux-form-field-file-beta/gux-form-field-file.js +1 -1
  272. package/dist/collection/components/stable/gux-form-field/components/gux-form-field-number/gux-form-field-number.js +3 -3
  273. package/dist/collection/components/stable/gux-form-field/components/gux-form-field-phone/gux-form-field-phone.js +4 -4
  274. package/dist/collection/components/stable/gux-form-field/components/gux-form-field-radio/gux-form-field-radio.js +2 -2
  275. package/dist/collection/components/stable/gux-form-field/components/gux-form-field-radio-group/gux-form-field-radio-group.js +2 -2
  276. package/dist/collection/components/stable/gux-form-field/components/gux-form-field-range/gux-form-field-range.js +2 -2
  277. package/dist/collection/components/stable/gux-form-field/components/gux-form-field-search/gux-form-field-search.js +3 -3
  278. package/dist/collection/components/stable/gux-form-field/components/gux-form-field-select/gux-form-field-select.js +3 -3
  279. package/dist/collection/components/stable/gux-form-field/components/gux-form-field-text-like/gux-form-field-text-like.js +3 -3
  280. package/dist/collection/components/stable/gux-form-field/components/gux-form-field-textarea/gux-form-field-textarea.js +2 -2
  281. package/dist/collection/components/stable/gux-form-field/components/gux-form-field-time-picker/gux-form-field-time-picker.js +4 -4
  282. package/dist/collection/components/stable/gux-form-field/components/gux-form-field-time-zone-picker/gux-form-field-time-zone-picker.js +3 -3
  283. 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
  284. package/dist/collection/components/stable/gux-icon/gux-icon.js +2 -2
  285. package/dist/collection/components/stable/gux-icon/icons/custom/amb.svg +1 -0
  286. package/dist/collection/components/stable/gux-icon/icons/custom/sun-bright-slash.svg +1 -0
  287. package/dist/collection/components/stable/gux-icon/icons/fa/message-plus-regular.svg +1 -0
  288. package/dist/collection/components/stable/gux-icon/icons/fa/wrench-regular.svg +1 -0
  289. package/dist/collection/components/stable/gux-inline-alert/gux-inline-alert.js +2 -2
  290. package/dist/collection/components/stable/gux-list/gux-list-divider/gux-list-divider.js +1 -1
  291. package/dist/collection/components/stable/gux-list/gux-list-item/gux-list-item.js +1 -1
  292. package/dist/collection/components/stable/gux-list/gux-list.js +1 -1
  293. package/dist/collection/components/stable/gux-listbox/option-group/gux-option-group.js +1 -1
  294. package/dist/collection/components/stable/gux-listbox/options/gux-option/gux-option.js +2 -2
  295. package/dist/collection/components/stable/gux-listbox/options/gux-option-icon/gux-option-icon.js +2 -2
  296. package/dist/collection/components/stable/gux-listbox-multi/gux-create-option/gux-create-option.js +2 -2
  297. package/dist/collection/components/stable/gux-listbox-multi/gux-option-multi/gux-option-multi.js +2 -2
  298. package/dist/collection/components/stable/gux-loading-message/gux-loading-message.js +1 -1
  299. package/dist/collection/components/stable/gux-modal/gux-modal.js +1 -1
  300. package/dist/collection/components/stable/gux-page-loading-spinner/gux-page-loading-spinner.js +1 -1
  301. package/dist/collection/components/stable/gux-pagination/gux-pagination-buttons/gux-pagination-buttons.js +1 -1
  302. package/dist/collection/components/stable/gux-pagination/gux-pagination-buttons/gux-pagination-ellipsis-button/gux-pagination-ellipsis-button.js +4 -4
  303. package/dist/collection/components/stable/gux-pagination/gux-pagination-item-counts/gux-pagination-item-counts.js +2 -2
  304. package/dist/collection/components/stable/gux-pagination/gux-pagination-items-per-page/gux-pagination-items-per-page.js +1 -1
  305. package/dist/collection/components/stable/gux-pagination/gux-pagination.js +1 -1
  306. package/dist/collection/components/stable/gux-popover/gux-popover.js +2 -2
  307. package/dist/collection/components/stable/gux-popover-list/gux-popover-list.js +2 -2
  308. package/dist/collection/components/stable/gux-popup/gux-popup.js +3 -3
  309. package/dist/collection/components/stable/gux-radial-loading/gux-radial-loading.js +1 -1
  310. package/dist/collection/components/stable/gux-rating/gux-rating.js +1 -1
  311. package/dist/collection/components/stable/gux-skip-navigation-list/gux-skip-navigation-item/gux-skip-navigation-item.js +1 -1
  312. package/dist/collection/components/stable/gux-skip-navigation-list/gux-skip-navigation-list.js +1 -1
  313. package/dist/collection/components/stable/gux-table/gux-all-row-select/gux-all-row-select.js +1 -1
  314. package/dist/collection/components/stable/gux-table/gux-row-select/gux-row-select.js +2 -2
  315. package/dist/collection/components/stable/gux-table/gux-sort-control/gux-sort-control.js +3 -3
  316. package/dist/collection/components/stable/gux-table/gux-table-select-menu/gux-table-select-menu.js +1 -1
  317. package/dist/collection/components/stable/gux-table/gux-table.js +1 -1
  318. package/dist/collection/components/stable/gux-table-toolbar/gux-table-toolbar-action/gux-table-toolbar-action.js +1 -1
  319. package/dist/collection/components/stable/gux-table-toolbar/gux-table-toolbar-custom-action/gux-table-toolbar-custom-action.js +1 -1
  320. package/dist/collection/components/stable/gux-table-toolbar/gux-table-toolbar-menu-button/gux-table-toolbar-menu-button.js +1 -1
  321. package/dist/collection/components/stable/gux-table-toolbar/gux-table-toolbar.js +2 -2
  322. package/dist/collection/components/stable/gux-tabs/gux-tab/gux-tab.js +2 -2
  323. package/dist/collection/components/stable/gux-tabs/gux-tab-list/gux-tab-list.js +2 -2
  324. package/dist/collection/components/stable/gux-tabs/gux-tab-panel/gux-tab-panel.js +1 -1
  325. package/dist/collection/components/stable/gux-tabs/gux-tabs.js +1 -1
  326. package/dist/collection/components/stable/gux-tabs-advanced/gux-tab-advanced/gux-tab-advanced.js +2 -2
  327. package/dist/collection/components/stable/gux-tabs-advanced/gux-tab-advanced-list/gux-tab-advanced-list.js +1 -1
  328. package/dist/collection/components/stable/gux-tabs-advanced/gux-tab-advanced-panel/gux-tab-advanced-panel.js +1 -1
  329. package/dist/collection/components/stable/gux-tabs-advanced/gux-tabs-advanced.js +1 -1
  330. package/dist/collection/components/stable/gux-tag/gux-tag.js +1 -1
  331. package/dist/collection/components/stable/gux-time-picker/gux-time-picker.js +1 -1
  332. package/dist/collection/components/stable/gux-toast/gux-toast.js +2 -2
  333. package/dist/collection/components/stable/gux-toggle/gux-toggle-slider/gux-toggle-slider.js +2 -2
  334. package/dist/collection/components/stable/gux-toggle/gux-toggle.js +2 -2
  335. package/dist/collection/components/stable/gux-tooltip/gux-tooltip.js +2 -2
  336. package/dist/collection/components/stable/gux-tooltip-title/gux-tooltip-title.js +2 -2
  337. package/dist/collection/components/stable/gux-truncate/gux-truncate.js +3 -3
  338. package/dist/collection/utils/decorator/on-resize.js +4 -1
  339. package/dist/esm/{en-d5a4e07d.js → en-abdadc27.js} +3 -1
  340. package/dist/esm/{floating-ui.dom.esm-02309983.js → floating-ui.dom.esm-17bec7ce.js} +1 -1
  341. package/dist/esm/genesys-webcomponents.js +3 -3
  342. package/dist/esm/{get-valid-timezone-8f24f07d.js → get-valid-timezone-cecad33f.js} +1 -1
  343. package/dist/esm/gux-accordion-section.entry.js +6 -6
  344. package/dist/esm/gux-accordion.entry.js +3 -3
  345. package/dist/esm/gux-action-button.entry.js +5 -5
  346. package/dist/esm/gux-action-toast-legacy.entry.js +3 -3
  347. package/dist/esm/gux-advanced-dropdown-legacy.entry.js +6 -6
  348. package/dist/esm/gux-all-row-select.entry.js +3 -3
  349. package/dist/esm/gux-announce-beta.entry.js +2 -2
  350. package/dist/esm/gux-avatar-beta.entry.js +3 -3
  351. package/dist/esm/gux-avatar-change-photo-beta.entry.js +3 -3
  352. package/dist/esm/gux-avatar-focusable-beta.entry.js +1 -1
  353. package/dist/esm/{gux-avatar-overflow-beta_2.entry.js → gux-avatar-group-add-item-beta_3.entry.js} +44 -10
  354. package/dist/esm/gux-avatar-group-beta.entry.js +23 -8
  355. package/dist/esm/gux-avatar-group-item-beta.entry.js +5 -5
  356. package/dist/esm/{gux-avatar-group.service-f9030472.js → gux-avatar-group.service-0e62fde4.js} +5 -1
  357. package/dist/esm/gux-badge.entry.js +4 -4
  358. package/dist/esm/gux-blank-state.entry.js +4 -4
  359. package/dist/esm/gux-breadcrumb-item.entry.js +2 -2
  360. package/dist/esm/gux-breadcrumbs.entry.js +4 -4
  361. package/dist/esm/gux-button-multi.entry.js +4 -4
  362. package/dist/esm/gux-button-slot.entry.js +3 -3
  363. package/dist/esm/gux-button_2.entry.js +8 -8
  364. package/dist/esm/gux-calendar-beta.entry.js +3 -3
  365. package/dist/esm/gux-calendar.entry.js +4 -4
  366. package/dist/esm/gux-card.entry.js +4 -4
  367. package/dist/esm/gux-column-manager-item.entry.js +5 -5
  368. package/dist/esm/gux-column-manager.entry.js +4 -4
  369. package/dist/esm/gux-content-search.entry.js +5 -5
  370. package/dist/esm/gux-context-menu.entry.js +6 -6
  371. package/dist/esm/gux-copy-to-clipboard.entry.js +4 -4
  372. package/dist/esm/gux-create-option.entry.js +4 -4
  373. package/dist/esm/gux-cta-group.entry.js +2 -2
  374. package/dist/esm/gux-date-beta.entry.js +5 -5
  375. package/dist/esm/gux-date-time-beta.entry.js +5 -5
  376. package/dist/esm/gux-datepicker.entry.js +6 -6
  377. package/dist/esm/gux-disclosure-button-legacy.entry.js +5 -5
  378. package/dist/esm/gux-dismiss-button.entry.js +5 -5
  379. package/dist/esm/gux-dropdown-multi-tag.entry.js +3 -3
  380. package/dist/esm/gux-dropdown-multi.entry.js +6 -6
  381. package/dist/esm/gux-dropdown-option.entry.js +2 -2
  382. package/dist/esm/gux-dropdown_3.entry.js +8 -8
  383. package/dist/esm/gux-file-list-item.entry.js +5 -5
  384. package/dist/esm/gux-flag-icon-beta.entry.js +3 -3
  385. package/dist/esm/gux-flyout-menu.entry.js +5 -5
  386. package/dist/esm/gux-form-beta.entry.js +2 -2
  387. package/dist/esm/gux-form-description.entry.js +2 -2
  388. package/dist/esm/gux-form-field-checkbox-group-beta.entry.js +8 -8
  389. package/dist/esm/gux-form-field-checkbox.entry.js +6 -6
  390. package/dist/esm/gux-form-field-color.entry.js +8 -8
  391. package/dist/esm/{gux-form-field-container-8ca069d2.js → gux-form-field-container-ddad54b9.js} +1 -1
  392. package/dist/esm/gux-form-field-dropdown.entry.js +9 -9
  393. package/dist/esm/{gux-form-field-error-ffe2439b.js → gux-form-field-error-d4daeee8.js} +1 -1
  394. package/dist/esm/{gux-form-field-fieldset-container-afc88f04.js → gux-form-field-fieldset-container-c4354c28.js} +1 -1
  395. package/dist/esm/gux-form-field-file-beta.entry.js +7 -7
  396. package/dist/esm/gux-form-field-file.entry.js +6 -6
  397. package/dist/esm/gux-form-field-input-clear-button.entry.js +4 -4
  398. package/dist/esm/gux-form-field-label-indicator.entry.js +3 -3
  399. package/dist/esm/gux-form-field-number_2.entry.js +14 -14
  400. package/dist/esm/gux-form-field-phone.entry.js +10 -10
  401. package/dist/esm/gux-form-field-radio-group-beta.entry.js +8 -8
  402. package/dist/esm/gux-form-field-radio.entry.js +6 -6
  403. package/dist/esm/gux-form-field-range.entry.js +8 -8
  404. package/dist/esm/gux-form-field-search.entry.js +8 -8
  405. package/dist/esm/gux-form-field-select.entry.js +8 -8
  406. package/dist/esm/gux-form-field-text-like.entry.js +8 -8
  407. package/dist/esm/gux-form-field-textarea.entry.js +7 -7
  408. package/dist/esm/gux-form-field-time-picker.entry.js +10 -10
  409. package/dist/esm/gux-form-field-time-zone-picker.entry.js +9 -9
  410. package/dist/esm/gux-form-fieldset-heading.entry.js +2 -2
  411. package/dist/esm/gux-form-footer.entry.js +4 -4
  412. package/dist/esm/gux-form-heading.entry.js +2 -2
  413. package/dist/esm/gux-icon-tooltip-beta.entry.js +3 -3
  414. package/dist/esm/gux-icon.entry.js +3 -3
  415. package/dist/esm/gux-inline-alert.entry.js +5 -5
  416. package/dist/esm/gux-label-info-beta.entry.js +3 -3
  417. package/dist/esm/gux-link-beta.entry.js +3 -3
  418. package/dist/esm/gux-list-divider.entry.js +2 -2
  419. package/dist/esm/gux-list-item.entry.js +2 -2
  420. package/dist/esm/gux-list.entry.js +3 -3
  421. package/dist/esm/gux-listbox-multi.entry.js +3 -3
  422. package/dist/esm/gux-loading-message.entry.js +3 -3
  423. package/dist/esm/gux-menu-option.entry.js +2 -2
  424. package/dist/esm/gux-menu.entry.js +2 -2
  425. package/dist/esm/gux-modal-legacy.entry.js +4 -4
  426. package/dist/esm/gux-modal-side-panel-beta.entry.js +3 -3
  427. package/dist/esm/gux-modal.entry.js +3 -3
  428. package/dist/esm/gux-month-calendar.entry.js +3 -3
  429. package/dist/esm/gux-month-list_2.entry.js +3 -3
  430. package/dist/esm/gux-month-picker-beta.entry.js +5 -5
  431. package/dist/esm/gux-notification-toast-legacy.entry.js +3 -3
  432. package/dist/esm/gux-option-group-beta.entry.js +2 -2
  433. package/dist/esm/gux-option-icon.entry.js +3 -3
  434. package/dist/esm/gux-option-multi.entry.js +4 -4
  435. package/dist/esm/gux-page-loading-spinner.entry.js +3 -3
  436. package/dist/esm/gux-pagination-buttons-legacy_3.entry.js +6 -6
  437. package/dist/esm/gux-pagination-buttons_2.entry.js +5 -5
  438. package/dist/esm/gux-pagination-cursor.entry.js +3 -3
  439. package/dist/esm/gux-pagination-items-per-page.entry.js +3 -3
  440. package/dist/esm/gux-pagination-legacy.entry.js +3 -3
  441. package/dist/esm/gux-pagination.entry.js +3 -3
  442. package/dist/esm/gux-phone-input-beta.entry.js +5 -5
  443. package/dist/esm/gux-popover-beta.entry.js +6 -6
  444. package/dist/esm/gux-popover-list-beta.entry.js +6 -6
  445. package/dist/esm/gux-popover-list.entry.js +6 -6
  446. package/dist/esm/gux-popup.entry.js +5 -5
  447. package/dist/esm/gux-radial-loading.entry.js +4 -4
  448. package/dist/esm/gux-radial-progress.entry.js +2 -2
  449. package/dist/esm/gux-rating.entry.js +3 -3
  450. package/dist/esm/gux-rich-highlight-list-item.entry.js +6 -6
  451. package/dist/esm/gux-rich-style-list-item_3.entry.js +293 -0
  452. package/dist/esm/gux-rich-text-editor-action-group.entry.js +3 -3
  453. package/dist/esm/gux-rich-text-editor-action-link.entry.js +8 -6
  454. package/dist/esm/gux-rich-text-editor-action-rich-style.entry.js +14 -11
  455. package/dist/esm/gux-rich-text-editor-action-text-highlight.entry.js +7 -7
  456. package/dist/esm/gux-rich-text-editor-action.entry.js +5 -5
  457. package/dist/esm/gux-rich-text-editor-beta.entry.js +140 -3
  458. package/dist/esm/gux-rich-text-editor-list.entry.js +6 -5
  459. package/dist/esm/gux-rich-text-editor.service-dcce5e51.js +80 -0
  460. package/dist/esm/gux-row-select.entry.js +4 -4
  461. package/dist/esm/gux-screen-reader-beta.entry.js +3 -3
  462. package/dist/esm/gux-segmented-control-beta.entry.js +3 -3
  463. package/dist/esm/gux-segmented-control-item.entry.js +5 -5
  464. package/dist/esm/gux-selector-card-beta.entry.js +4 -4
  465. package/dist/esm/gux-selector-cards-beta.entry.js +3 -3
  466. package/dist/esm/gux-side-panel-beta.entry.js +4 -4
  467. package/dist/esm/gux-side-panel-heading.entry.js +3 -3
  468. package/dist/esm/gux-simple-toast-legacy.entry.js +3 -3
  469. package/dist/esm/gux-skip-navigation-item.entry.js +2 -2
  470. package/dist/esm/gux-skip-navigation-list.entry.js +4 -4
  471. package/dist/esm/gux-sort-control.entry.js +6 -6
  472. package/dist/esm/gux-submenu.entry.js +5 -5
  473. package/dist/esm/gux-switch-item.entry.js +2 -2
  474. package/dist/esm/gux-switch-legacy.entry.js +3 -3
  475. package/dist/esm/gux-tab-advanced-list.entry.js +4 -4
  476. package/dist/esm/gux-tab-advanced-panel.entry.js +2 -2
  477. package/dist/esm/gux-tab-advanced.entry.js +4 -4
  478. package/dist/esm/gux-tab-list.entry.js +5 -5
  479. package/dist/esm/gux-tab-panel.entry.js +2 -2
  480. package/dist/esm/gux-tab.entry.js +3 -3
  481. package/dist/esm/gux-table-select-menu.entry.js +3 -3
  482. package/dist/esm/gux-table-toolbar-action.entry.js +4 -4
  483. package/dist/esm/gux-table-toolbar-custom-action.entry.js +3 -3
  484. package/dist/esm/gux-table-toolbar-menu-button.entry.js +5 -5
  485. package/dist/esm/gux-table-toolbar.entry.js +6 -6
  486. package/dist/esm/gux-table.entry.js +4 -4
  487. package/dist/esm/gux-tabs-advanced.entry.js +3 -3
  488. package/dist/esm/gux-tabs.entry.js +3 -3
  489. package/dist/esm/gux-tag.entry.js +4 -4
  490. package/dist/esm/gux-text-highlight.entry.js +2 -2
  491. package/dist/esm/gux-time-beta.entry.js +5 -5
  492. package/dist/esm/gux-time-picker.entry.js +5 -5
  493. package/dist/esm/gux-time-zone-beta.entry.js +4 -4
  494. package/dist/esm/gux-time-zone-picker-beta.entry.js +5 -5
  495. package/dist/esm/gux-toast.entry.js +4 -4
  496. package/dist/esm/gux-toggle-slider.entry.js +3 -3
  497. package/dist/esm/gux-toggle.entry.js +5 -5
  498. package/dist/esm/gux-tooltip-base-beta_2.entry.js +7 -7
  499. package/dist/esm/gux-tooltip-title.entry.js +5 -5
  500. package/dist/esm/gux-tooltip_2.entry.js +11 -11
  501. package/dist/esm/{index-5a5cba3c.js → index-6de381c6.js} +1 -1
  502. package/dist/esm/{index-46ac98b8.js → index-91950719.js} +31 -19
  503. package/dist/esm/loader.js +3 -3
  504. package/dist/esm/{on-click-outside-fe48b6ef.js → on-click-outside-25728f99.js} +1 -1
  505. package/dist/esm/{on-mutation-c5880cd8.js → on-mutation-22820853.js} +1 -1
  506. package/dist/esm/{on-resize-6439d074.js → on-resize-61e616c2.js} +5 -2
  507. package/dist/esm/{overflow-detection-3f73a512.js → overflow-detection-7e4fbf13.js} +1 -1
  508. package/dist/esm/{usage-aeffac7c.js → usage-2c9a4d54.js} +1 -1
  509. package/dist/genesys-webcomponents/genesys-webcomponents.esm.js +1 -1
  510. package/dist/genesys-webcomponents/i18n/genesys-webcomponents.i18n.en.json +1 -1
  511. package/dist/genesys-webcomponents/icons/custom/amb.svg +1 -0
  512. package/dist/genesys-webcomponents/icons/custom/sun-bright-slash.svg +1 -0
  513. package/dist/genesys-webcomponents/icons/fa/message-plus-regular.svg +1 -0
  514. package/dist/genesys-webcomponents/icons/fa/wrench-regular.svg +1 -0
  515. package/dist/genesys-webcomponents/{p-5be32e5a.entry.js → p-0095b1a9.entry.js} +1 -1
  516. package/dist/genesys-webcomponents/{p-dd9a0cf6.entry.js → p-01780e86.entry.js} +1 -1
  517. package/dist/genesys-webcomponents/{p-c7e70a1e.entry.js → p-01fd383c.entry.js} +2 -2
  518. package/dist/genesys-webcomponents/{p-0afaf0e0.entry.js → p-063dc5ad.entry.js} +1 -1
  519. package/dist/genesys-webcomponents/p-06dd3571.entry.js +1 -0
  520. package/dist/genesys-webcomponents/{p-4c4155d0.entry.js → p-08066a45.entry.js} +1 -1
  521. package/dist/genesys-webcomponents/{p-2ed4bd8e.entry.js → p-0a72a5b4.entry.js} +1 -1
  522. package/dist/genesys-webcomponents/{p-fd939b83.entry.js → p-0bfed962.entry.js} +1 -1
  523. package/dist/genesys-webcomponents/{p-9ef440e7.entry.js → p-0d5de42d.entry.js} +1 -1
  524. package/dist/genesys-webcomponents/{p-9457e274.entry.js → p-0d6a8191.entry.js} +1 -1
  525. package/dist/genesys-webcomponents/{p-6341e3be.entry.js → p-0e0ef4a2.entry.js} +1 -1
  526. package/dist/genesys-webcomponents/{p-b71cdb5c.entry.js → p-0e900117.entry.js} +1 -1
  527. package/dist/genesys-webcomponents/p-0eeb6746.entry.js +1 -0
  528. package/dist/genesys-webcomponents/{p-ad1d5433.entry.js → p-105a1ebe.entry.js} +1 -1
  529. package/dist/genesys-webcomponents/{p-8f740fdd.entry.js → p-12dd689a.entry.js} +1 -1
  530. package/dist/genesys-webcomponents/{p-9a0d54e2.entry.js → p-15e2e14d.entry.js} +1 -1
  531. package/dist/genesys-webcomponents/{p-e07238b5.js → p-166634e1.js} +1 -1
  532. package/dist/genesys-webcomponents/{p-c00899ed.entry.js → p-1bb32259.entry.js} +1 -1
  533. package/dist/genesys-webcomponents/p-1d9ed425.js +1 -0
  534. package/dist/genesys-webcomponents/{p-0d934a3d.entry.js → p-1dc5e034.entry.js} +1 -1
  535. package/dist/genesys-webcomponents/{p-bab90d6c.entry.js → p-1e5144ca.entry.js} +1 -1
  536. package/dist/genesys-webcomponents/p-21e2f0cc.entry.js +1 -0
  537. package/dist/genesys-webcomponents/{p-dcbc2b4d.entry.js → p-22614ed6.entry.js} +1 -1
  538. package/dist/genesys-webcomponents/p-22c19dc2.entry.js +1 -0
  539. package/dist/genesys-webcomponents/{p-8e498805.entry.js → p-24ad939b.entry.js} +1 -1
  540. package/dist/genesys-webcomponents/{p-24740f58.entry.js → p-24ee5102.entry.js} +1 -1
  541. package/dist/genesys-webcomponents/{p-0af9e459.entry.js → p-2513fba1.entry.js} +1 -1
  542. package/dist/genesys-webcomponents/{p-05d65a74.entry.js → p-262a22b6.entry.js} +1 -1
  543. package/dist/genesys-webcomponents/p-279ade3b.entry.js +1 -0
  544. package/dist/genesys-webcomponents/{p-2c045ab3.entry.js → p-27e99f5c.entry.js} +1 -1
  545. package/dist/genesys-webcomponents/p-29a591e0.entry.js +1 -0
  546. package/dist/genesys-webcomponents/{p-07b5306e.entry.js → p-2e39b980.entry.js} +1 -1
  547. package/dist/genesys-webcomponents/p-2ec5ea1e.entry.js +1 -0
  548. package/dist/genesys-webcomponents/{p-7c2a1547.entry.js → p-33f3269e.entry.js} +1 -1
  549. package/dist/genesys-webcomponents/{p-fec67d3b.entry.js → p-366caebe.entry.js} +1 -1
  550. package/dist/genesys-webcomponents/p-37ab2172.entry.js +1 -0
  551. package/dist/genesys-webcomponents/{p-dc15dc51.entry.js → p-3a05bb21.entry.js} +1 -1
  552. package/dist/genesys-webcomponents/{p-223d0c44.entry.js → p-3b4943fb.entry.js} +1 -1
  553. package/dist/genesys-webcomponents/{p-4745d35a.entry.js → p-3cbef447.entry.js} +1 -1
  554. package/dist/genesys-webcomponents/{p-407955df.entry.js → p-400ba313.entry.js} +1 -1
  555. package/dist/genesys-webcomponents/{p-c6616179.entry.js → p-45c16b00.entry.js} +1 -1
  556. package/dist/genesys-webcomponents/{p-829b00ea.entry.js → p-4a113db7.entry.js} +1 -1
  557. package/dist/genesys-webcomponents/{p-cd84603e.entry.js → p-50310211.entry.js} +1 -1
  558. package/dist/genesys-webcomponents/{p-8d937b3a.entry.js → p-51a3d71f.entry.js} +1 -1
  559. package/dist/genesys-webcomponents/p-52d53e47.js +1 -0
  560. package/dist/genesys-webcomponents/p-52d73ad3.entry.js +1 -0
  561. package/dist/genesys-webcomponents/{p-dab0fa24.entry.js → p-539eba16.entry.js} +1 -1
  562. package/dist/genesys-webcomponents/{p-b3c32bf9.entry.js → p-5639a5e2.entry.js} +1 -1
  563. package/dist/genesys-webcomponents/{p-16112508.entry.js → p-5d04c86c.entry.js} +1 -1
  564. package/dist/genesys-webcomponents/{p-b96638d1.entry.js → p-5faaeb1b.entry.js} +1 -1
  565. package/dist/genesys-webcomponents/{p-ceea3e23.entry.js → p-62026921.entry.js} +1 -1
  566. package/dist/genesys-webcomponents/{p-64b71031.entry.js → p-67440c93.entry.js} +1 -1
  567. package/dist/genesys-webcomponents/{p-4a19da40.entry.js → p-6798eb63.entry.js} +1 -1
  568. package/dist/genesys-webcomponents/{p-863e4212.entry.js → p-6903b856.entry.js} +1 -1
  569. package/dist/genesys-webcomponents/p-6d772a2f.entry.js +1 -0
  570. package/dist/genesys-webcomponents/{p-bcdfd45d.entry.js → p-70955497.entry.js} +1 -1
  571. package/dist/genesys-webcomponents/{p-2cc9ae49.entry.js → p-725055fe.entry.js} +1 -1
  572. package/dist/genesys-webcomponents/{p-1f6c052d.js → p-727bfafa.js} +1 -1
  573. package/dist/genesys-webcomponents/p-72b10e95.entry.js +1 -0
  574. package/dist/genesys-webcomponents/{p-3ac5ea35.entry.js → p-74a1d9ba.entry.js} +1 -1
  575. package/dist/genesys-webcomponents/{p-b9f84c85.entry.js → p-76362633.entry.js} +1 -1
  576. package/dist/genesys-webcomponents/{p-bb0e2263.entry.js → p-76b32737.entry.js} +1 -1
  577. package/dist/genesys-webcomponents/{p-7c1512f1.entry.js → p-7834e8b9.entry.js} +1 -1
  578. package/dist/genesys-webcomponents/{p-5bb296e5.entry.js → p-7977d063.entry.js} +1 -1
  579. package/dist/genesys-webcomponents/{p-13c3f59a.entry.js → p-7ada77c2.entry.js} +1 -1
  580. package/dist/genesys-webcomponents/{p-ecb103d2.entry.js → p-7b5cfddb.entry.js} +1 -1
  581. package/dist/genesys-webcomponents/{p-4430a047.entry.js → p-7e7d9b61.entry.js} +1 -1
  582. package/dist/genesys-webcomponents/{p-f75fe956.js → p-8437bb5a.js} +1 -1
  583. package/dist/genesys-webcomponents/{p-322a4ac4.entry.js → p-848bdebb.entry.js} +1 -1
  584. package/dist/genesys-webcomponents/{p-91db7637.entry.js → p-84a31c7a.entry.js} +1 -1
  585. package/dist/genesys-webcomponents/{p-11f01287.entry.js → p-85f3a0fb.entry.js} +1 -1
  586. package/dist/genesys-webcomponents/{p-a2f2c0a9.js → p-864af39c.js} +1 -1
  587. package/dist/genesys-webcomponents/{p-3fbc28da.entry.js → p-877930b3.entry.js} +1 -1
  588. package/dist/genesys-webcomponents/{p-758a09ee.entry.js → p-8902a036.entry.js} +1 -1
  589. package/dist/genesys-webcomponents/{p-f14001c3.entry.js → p-8a727cfc.entry.js} +1 -1
  590. package/dist/genesys-webcomponents/p-8d41c7cc.entry.js +1 -0
  591. package/dist/genesys-webcomponents/{p-82313c68.entry.js → p-8d90c6fa.entry.js} +1 -1
  592. package/dist/genesys-webcomponents/p-8df778a2.entry.js +1 -0
  593. package/dist/genesys-webcomponents/{p-04b4d45e.entry.js → p-8e8c67db.entry.js} +1 -1
  594. package/dist/genesys-webcomponents/{p-c71ac166.entry.js → p-90873e49.entry.js} +1 -1
  595. package/dist/genesys-webcomponents/{p-6a98c6c1.entry.js → p-946fb7d7.entry.js} +1 -1
  596. package/dist/genesys-webcomponents/p-94c2e132.entry.js +1 -0
  597. package/dist/genesys-webcomponents/p-94d4a224.entry.js +1 -0
  598. package/dist/genesys-webcomponents/{p-fb7a248f.entry.js → p-95ec698f.entry.js} +1 -1
  599. package/dist/genesys-webcomponents/{p-80a97fc8.entry.js → p-9626cf96.entry.js} +1 -1
  600. package/dist/genesys-webcomponents/p-972d1404.entry.js +1 -0
  601. package/dist/genesys-webcomponents/p-979756fc.entry.js +1 -0
  602. package/dist/genesys-webcomponents/{p-a786e13c.entry.js → p-97bc37b8.entry.js} +1 -1
  603. package/dist/genesys-webcomponents/{p-dcf8dc8f.entry.js → p-98fa2f26.entry.js} +1 -1
  604. package/dist/genesys-webcomponents/{p-376672c7.entry.js → p-99e97692.entry.js} +1 -1
  605. package/dist/genesys-webcomponents/{p-b869d4ba.entry.js → p-9b2b7dca.entry.js} +1 -1
  606. package/dist/genesys-webcomponents/p-9db8610f.entry.js +1 -0
  607. package/dist/genesys-webcomponents/p-9ffd8ad9.entry.js +1 -0
  608. package/dist/genesys-webcomponents/{p-58a818e0.entry.js → p-a3695df9.entry.js} +1 -1
  609. package/dist/genesys-webcomponents/{p-c732e615.entry.js → p-a4b04afd.entry.js} +1 -1
  610. package/dist/genesys-webcomponents/{p-78177f9e.entry.js → p-a51d68dc.entry.js} +1 -1
  611. package/dist/genesys-webcomponents/{p-b9f2d2ca.entry.js → p-a573e43b.entry.js} +1 -1
  612. package/dist/genesys-webcomponents/p-a6ca79ce.entry.js +1 -0
  613. package/dist/genesys-webcomponents/{p-33aab5f6.entry.js → p-a7512630.entry.js} +1 -1
  614. package/dist/genesys-webcomponents/{p-47dc10ec.entry.js → p-a9852dbc.entry.js} +1 -1
  615. package/dist/genesys-webcomponents/{p-61b02448.entry.js → p-a9b7eec3.entry.js} +1 -1
  616. package/dist/genesys-webcomponents/{p-73e1f574.js → p-ad9b3d73.js} +1 -1
  617. package/dist/genesys-webcomponents/p-b2e29026.js +1 -0
  618. package/dist/genesys-webcomponents/{p-db6b7335.entry.js → p-b3535a8a.entry.js} +1 -1
  619. package/dist/genesys-webcomponents/p-b61f80ae.entry.js +1 -0
  620. package/dist/genesys-webcomponents/{p-6d6bfb64.entry.js → p-b6770aac.entry.js} +1 -1
  621. package/dist/genesys-webcomponents/p-b6be214e.entry.js +1 -0
  622. package/dist/genesys-webcomponents/{p-472ca4fd.entry.js → p-b7347eb6.entry.js} +1 -1
  623. package/dist/genesys-webcomponents/p-b7b925ec.entry.js +1 -0
  624. package/dist/genesys-webcomponents/{p-ade65540.entry.js → p-b89f270e.entry.js} +1 -1
  625. package/dist/genesys-webcomponents/p-b8b1cdbf.entry.js +1 -0
  626. package/dist/genesys-webcomponents/{p-6a8cd948.entry.js → p-b99f3f9c.entry.js} +1 -1
  627. package/dist/genesys-webcomponents/{p-d2783573.entry.js → p-bbdb689e.entry.js} +1 -1
  628. package/dist/genesys-webcomponents/{p-6b6e6236.entry.js → p-bd202335.entry.js} +1 -1
  629. package/dist/genesys-webcomponents/{p-f88537e3.entry.js → p-bd544cf5.entry.js} +1 -1
  630. package/dist/genesys-webcomponents/p-be33ce5f.entry.js +1 -0
  631. package/dist/genesys-webcomponents/{p-f4fc72b1.entry.js → p-bf591743.entry.js} +1 -1
  632. package/dist/genesys-webcomponents/{p-85c69592.entry.js → p-c3c963a5.entry.js} +1 -1
  633. package/dist/genesys-webcomponents/{p-65fb4722.entry.js → p-c4bb140c.entry.js} +1 -1
  634. package/dist/genesys-webcomponents/{p-025fafca.entry.js → p-c7f1ff13.entry.js} +1 -1
  635. package/dist/genesys-webcomponents/{p-71b70727.entry.js → p-ca0945a4.entry.js} +1 -1
  636. package/dist/genesys-webcomponents/p-ca64e9fd.entry.js +1 -0
  637. package/dist/genesys-webcomponents/{p-32a937ab.entry.js → p-cb05620c.entry.js} +1 -1
  638. package/dist/genesys-webcomponents/p-cb4a5155.entry.js +1 -0
  639. package/dist/genesys-webcomponents/{p-3e2bd648.entry.js → p-cb7cfce2.entry.js} +1 -1
  640. package/dist/genesys-webcomponents/{p-af42c93e.entry.js → p-cbb98fa5.entry.js} +1 -1
  641. package/dist/genesys-webcomponents/p-cc3c3c56.js +1 -0
  642. package/dist/genesys-webcomponents/{p-b1cc2f1a.entry.js → p-cc6dfea9.entry.js} +1 -1
  643. package/dist/genesys-webcomponents/{p-75cc895d.entry.js → p-cfb7293c.entry.js} +1 -1
  644. package/dist/genesys-webcomponents/{p-d15985f1.js → p-cfeaf436.js} +1 -1
  645. package/dist/genesys-webcomponents/{p-b5c68855.entry.js → p-d0de678b.entry.js} +1 -1
  646. package/dist/genesys-webcomponents/p-d0f4d1eb.entry.js +1 -0
  647. package/dist/genesys-webcomponents/{p-64b71548.entry.js → p-d31fb265.entry.js} +1 -1
  648. package/dist/genesys-webcomponents/p-d5d582f1.entry.js +1 -0
  649. package/dist/genesys-webcomponents/{p-18789e75.entry.js → p-d62c6a71.entry.js} +1 -1
  650. package/dist/genesys-webcomponents/{p-858f3533.entry.js → p-d6e5175b.entry.js} +1 -1
  651. package/dist/genesys-webcomponents/{p-9e1bda51.js → p-da087c59.js} +1 -1
  652. package/dist/genesys-webcomponents/{p-6e0ebe5c.entry.js → p-da2a54aa.entry.js} +1 -1
  653. package/dist/genesys-webcomponents/{p-2442f929.entry.js → p-da750227.entry.js} +1 -1
  654. package/dist/genesys-webcomponents/{p-4910c889.entry.js → p-db241209.entry.js} +1 -1
  655. package/dist/genesys-webcomponents/{p-b6e2cd11.entry.js → p-db2f7dc7.entry.js} +1 -1
  656. package/dist/genesys-webcomponents/{p-8c726743.js → p-db306845.js} +1 -1
  657. package/dist/genesys-webcomponents/{p-1b3d1bdf.entry.js → p-dc9713fc.entry.js} +1 -1
  658. package/dist/genesys-webcomponents/{p-505f8e0a.entry.js → p-dd539618.entry.js} +1 -1
  659. package/dist/genesys-webcomponents/{p-8cb06422.entry.js → p-ddd20c69.entry.js} +1 -1
  660. package/dist/genesys-webcomponents/{p-5592e014.entry.js → p-e03a69b0.entry.js} +1 -1
  661. package/dist/genesys-webcomponents/{p-5f8710dd.entry.js → p-e414408c.entry.js} +1 -1
  662. package/dist/genesys-webcomponents/{p-1d956af6.entry.js → p-ec7fb58f.entry.js} +1 -1
  663. package/dist/genesys-webcomponents/{p-864d63fe.js → p-f01d2320.js} +1 -1
  664. package/dist/genesys-webcomponents/{p-e5270d63.entry.js → p-f060d70b.entry.js} +1 -1
  665. package/dist/genesys-webcomponents/p-f0e2ae89.entry.js +1 -0
  666. package/dist/genesys-webcomponents/{p-f382d13f.entry.js → p-f0f830ec.entry.js} +1 -1
  667. package/dist/genesys-webcomponents/{p-ec6fcfb7.entry.js → p-f18089ca.entry.js} +1 -1
  668. package/dist/genesys-webcomponents/{p-8ccd0ab7.entry.js → p-f27f9eed.entry.js} +1 -1
  669. package/dist/genesys-webcomponents/{p-43c2099f.entry.js → p-f4f55946.entry.js} +1 -1
  670. package/dist/genesys-webcomponents/{p-a006b67f.entry.js → p-f71f3692.entry.js} +1 -1
  671. package/dist/genesys-webcomponents/{p-5ebe111e.entry.js → p-f8820aff.entry.js} +1 -1
  672. package/dist/genesys-webcomponents/{p-084b7a5d.entry.js → p-f8dce124.entry.js} +1 -1
  673. package/dist/genesys-webcomponents/{p-3ee43f46.entry.js → p-f9d9be12.entry.js} +1 -1
  674. package/dist/genesys-webcomponents/p-fc85e603.entry.js +1 -0
  675. package/dist/genesys-webcomponents/{p-fbf14218.js → p-fcca9736.js} +1 -1
  676. package/dist/genesys-webcomponents/{p-0ec90cf0.entry.js → p-fe23764b.entry.js} +1 -1
  677. package/dist/genesys-webcomponents/p-fe71fb5e.entry.js +1 -0
  678. package/dist/genesys-webcomponents/{p-92b0df1d.entry.js → p-fec416c1.entry.js} +1 -1
  679. package/dist/genesys-webcomponents/p-ff12eb63.entry.js +1 -0
  680. package/dist/genesys-webcomponents/{p-c2c3c0b3.entry.js → p-ff402d97.entry.js} +1 -1
  681. package/dist/genesys-webcomponents/{p-7294f3db.entry.js → p-ffae26f6.entry.js} +1 -1
  682. package/dist/genesys-webcomponents/p-ffb7c9dc.js +2 -0
  683. package/dist/stencil-wrapper.js +1 -1
  684. package/dist/types/components/beta/gux-avatar-group/gux-avatar-group-add-item/gux-avatar-group-add-item.d.ts +10 -0
  685. package/dist/types/components/beta/gux-avatar-group/gux-avatar-group.d.ts +1 -0
  686. package/dist/types/components/beta/gux-avatar-group/gux-avatar-group.types.d.ts +1 -1
  687. package/dist/types/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.d.ts +1 -0
  688. package/dist/types/components/beta/gux-rich-text-editor/gux-rich-text-editor-beta.d.ts +20 -1
  689. package/dist/types/components/beta/gux-rich-text-editor/gux-rich-text-editor-list/gux-rich-text-editor-sub-list/gux-rich-text-editor-sub-list.d.ts +24 -0
  690. package/dist/types/components/beta/gux-rich-text-editor/gux-rich-text-editor-menu/gux-rich-text-editor-menu.d.ts +18 -0
  691. package/dist/types/components/beta/gux-rich-text-editor/gux-rich-text-editor.service.d.ts +1 -0
  692. package/dist/types/components/stable/gux-icon/gux-icon.types.d.ts +1 -1
  693. package/dist/types/components.d.ts +58 -0
  694. package/dist/types/stencil-wrapper.d.ts +1 -1
  695. package/package.json +1 -1
  696. package/dist/cjs/gux-rich-style-list-item.cjs.entry.js +0 -44
  697. package/dist/cjs/gux-rich-text-editor.service-fd5edfcf.js +0 -41
  698. package/dist/esm/gux-rich-style-list-item.entry.js +0 -40
  699. package/dist/esm/gux-rich-text-editor.service-144f4651.js +0 -38
  700. package/dist/genesys-webcomponents/p-0175f864.entry.js +0 -1
  701. package/dist/genesys-webcomponents/p-086c5088.js +0 -2
  702. package/dist/genesys-webcomponents/p-12076eff.entry.js +0 -1
  703. package/dist/genesys-webcomponents/p-19b2829e.entry.js +0 -1
  704. package/dist/genesys-webcomponents/p-1b19a8cf.entry.js +0 -1
  705. package/dist/genesys-webcomponents/p-1bf0712b.entry.js +0 -1
  706. package/dist/genesys-webcomponents/p-20d9168e.entry.js +0 -1
  707. package/dist/genesys-webcomponents/p-226f4b80.entry.js +0 -1
  708. package/dist/genesys-webcomponents/p-24626749.entry.js +0 -1
  709. package/dist/genesys-webcomponents/p-274517cc.js +0 -1
  710. package/dist/genesys-webcomponents/p-2a99f284.js +0 -1
  711. package/dist/genesys-webcomponents/p-2ddeb267.js +0 -1
  712. package/dist/genesys-webcomponents/p-358ed160.entry.js +0 -1
  713. package/dist/genesys-webcomponents/p-49dc9d02.entry.js +0 -1
  714. package/dist/genesys-webcomponents/p-4af9bc95.entry.js +0 -1
  715. package/dist/genesys-webcomponents/p-52098c74.entry.js +0 -1
  716. package/dist/genesys-webcomponents/p-634f9e9f.entry.js +0 -1
  717. package/dist/genesys-webcomponents/p-6e20bf44.entry.js +0 -1
  718. package/dist/genesys-webcomponents/p-76c54dc2.entry.js +0 -1
  719. package/dist/genesys-webcomponents/p-8870ada9.entry.js +0 -1
  720. package/dist/genesys-webcomponents/p-89102370.entry.js +0 -1
  721. package/dist/genesys-webcomponents/p-923da1ea.entry.js +0 -1
  722. package/dist/genesys-webcomponents/p-94597229.entry.js +0 -1
  723. package/dist/genesys-webcomponents/p-a2b6017c.entry.js +0 -1
  724. package/dist/genesys-webcomponents/p-a47378d6.entry.js +0 -1
  725. package/dist/genesys-webcomponents/p-a6c36b2c.js +0 -1
  726. package/dist/genesys-webcomponents/p-b1ba1256.entry.js +0 -1
  727. package/dist/genesys-webcomponents/p-b2f79866.entry.js +0 -1
  728. package/dist/genesys-webcomponents/p-b83b4a0b.entry.js +0 -1
  729. package/dist/genesys-webcomponents/p-d183c456.entry.js +0 -1
  730. package/dist/genesys-webcomponents/p-dbe56054.entry.js +0 -1
  731. package/dist/genesys-webcomponents/p-e52514cc.entry.js +0 -1
  732. package/dist/genesys-webcomponents/p-ec176239.entry.js +0 -1
  733. package/dist/genesys-webcomponents/p-ec39bba4.entry.js +0 -1
  734. package/dist/genesys-webcomponents/p-f40bbee0.entry.js +0 -1
  735. package/dist/genesys-webcomponents/p-f804daa5.entry.js +0 -1
  736. package/dist/genesys-webcomponents/p-fc8d3f20.entry.js +0 -1
  737. package/dist/genesys-webcomponents/p-ffe0ecce.entry.js +0 -1
@@ -1 +1 @@
1
- import{r as e,h as i,g as t}from"./p-086c5088.js";import{b as o}from"./p-d15985f1.js";import{O as r}from"./p-e07238b5.js";import{o as l}from"./p-6b12dd16.js";import{h as s}from"./p-6d8b4027.js";import{a,G as n}from"./p-fbf14218.js";import{G as f,a as h,b as d}from"./p-f75fe956.js";import{g as u}from"./p-0268a3e8.js";import{s as p,b as c,a as g}from"./p-4aaf349e.js";import{t as m}from"./p-8c726743.js";import"./p-4202e9f2.js";import"./p-0934300e.js";import"./p-8eaf8caf.js";import"./p-2c25e2f2.js";const b={required:"Required"};const x=class{constructor(i){e(this,i),this.labelPosition=void 0,this.indicatorMark="required",this.computedLabelPosition="above",this.required=void 0,this.hasError=!1,this.hasHelp=!1,this.hasLabelInfo=!1}watchValue(e){const i=this.root.querySelector("gux-dropdown")||this.root.querySelector("gux-dropdown-multi");i&&(i.hasError=e)}onMutation(){this.labelInfo=this.root.querySelector("[slot=label-info]"),this.hasError=s(this.root,"error"),this.hasHelp=s(this.root,"help")}handleKeyup(e){var i,t;"Tab"===e.key?this.dropdownElement.matches(":focus-within")&&(null===(i=this.labelInfo)||void 0===i||i.showTooltip(),this.hideLabelInfoTimeout=setTimeout((()=>{var e;null===(e=this.labelInfo)||void 0===e||e.hideTooltip()}),6e3)):this.dropdownElement.matches(":focus-within")&&(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 componentWillLoad(){this.getI18nValue=await o(this.root,b),this.setInput(),this.setLabel(),this.labelInfo=this.root.querySelector("[slot=label-info]"),this.hasError=s(this.root,"error"),this.hasHelp=s(this.root,"help"),this.hasLabelInfo=s(this.root,"label-info"),m(this.root,{variant:this.variant})}disconnectedCallback(){this.requiredObserver&&this.requiredObserver.disconnect()}renderText(e,i=!1){if(i)return" "+e}render(){var e;return i(d,{key:"24c11cf76b967caf723bc0d50034ca1982450201",labelPosition:this.computedLabelPosition},i(h,{key:"1f8350bee643311a6bbfb11bec30b5af63c3caa5"},null===(e=this.label)||void 0===e?void 0:e.textContent,this.renderText(this.getI18nValue("required"),this.required),this.renderText(u(this.root,"error"),this.hasError),this.renderText(u(this.root,"help"),this.hasHelp),this.renderText(u(this.root,"label-info"),this.hasLabelInfo)),i(f,{key:"db64a853d9a3e9b85eddd28affb3b920abe11cbc",position:this.computedLabelPosition,required:this.required},i("slot",{key:"37761aefe67dbbb28dafd2485044dfeea87a0b1c",name:"label",onSlotchange:()=>this.setLabel()}),i("gux-form-field-label-indicator",{key:"7c49f9df2354223d7005c22e7b09dd5aa564bbfa",variant:this.indicatorMark,required:this.required}),i("slot",{key:"0e23cb5b0f860cd0711125b13e55a7eaadc0e09a",name:"label-info"})),i("div",{key:"e3fa2afdd90d98729cab0d816d9f80803d457c40",class:"gux-input-and-error-container"},i("div",{key:"7238001ff7984c82ebe800529359c10e9074ca8d",class:{"gux-input":!0,"gux-input-error":this.hasError}},i("slot",{key:"7c9f77db11bf52459a2277525447fca26643fd6d"})),i(a,{key:"4dba038e763c2d0e96cb611f1786fa0c160bc924",show:this.hasError},i("slot",{key:"4d7a0a2167e494b4fefa444f4ef527a842c1fa0c",name:"error"})),i(n,{key:"2ee006ae770e3af278c4056f4b7fa6fdce490170",show:!this.hasError&&this.hasHelp},i("slot",{key:"0532bc69d0be05d01716b89147d6e461405b473c",name:"help"}))))}get variant(){return`dropdown-${this.labelPosition?this.labelPosition.toLowerCase():"none"}`}setInput(){this.dropdownElement=this.root.querySelector("gux-dropdown")||this.root.querySelector("gux-dropdown-multi"),this.listboxElement=this.root.querySelector("gux-listbox")||this.root.querySelector("gux-listbox-multi"),this.required=this.dropdownElement.required,this.requiredObserver=l(this.dropdownElement,(e=>{this.required=e})),p(this.root,this.listboxElement,"label"),c(this.root,this.listboxElement,"error"),c(this.root,this.listboxElement,"help")}setLabel(){this.label=this.root.querySelector('label[slot="label"]'),this.computedLabelPosition=g(this.label,this.labelPosition)}get root(){return t(this)}static get watchers(){return{hasError:["watchValue"]}}};(function(e,i,t,o){var r,l=arguments.length,s=l<3?i:null===o?o=Object.getOwnPropertyDescriptor(i,t):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(e,i,t,o);else for(var a=e.length-1;a>=0;a--)(r=e[a])&&(s=(l<3?r(s):l>3?r(i,t,s):r(i,t))||s);l>3&&s&&Object.defineProperty(i,t,s)})([r({childList:!0,subtree:!0})],x.prototype,"onMutation",null),x.style=".gux-form-field-fieldset-container{display:flex;min-inline-size:0;padding:0;margin:0;border:none}.gux-form-field-fieldset-container.gux-beside{flex-direction:row}.gux-form-field-fieldset-container.gux-above{flex-direction:column}.gux-form-field-error{display:none;flex-direction:row;flex-wrap:nowrap;gap:var(--gse-ui-formControl-helper-gap);place-content:stretch flex-start;padding:var(--gse-ui-formControl-helper-errorPadding);font-family:var(--gse-ui-formControl-helper-helperText-fontFamily);font-size:var(--gse-ui-formControl-helper-helperText-fontSize);line-height:var(--gse-ui-formControl-helper-helperText-lineHeight);color:var(--gse-ui-formControl-helper-errorColor)}.gux-form-field-error.gux-show{display:flex}.gux-form-field-error gux-icon{flex:0 1 auto;order:0;min-inline-size:var(--gse-ui-icon-small-size);min-block-size:var(--gse-ui-icon-small-size);color:var(--gse-ui-formControl-helper-errorColor)}.gux-form-field-error .gux-message{flex:0 1 auto;align-self:auto;order:0}.gux-form-field-help{display:none;flex-direction:row;flex-wrap:nowrap;place-content:stretch flex-start;align-items:flex-start;justify-content:flex-start;padding-block-start:var(--gse-ui-formControl-formField-gap);font-family:var(--gse-ui-formControl-helper-helperText-fontFamily);font-size:var(--gse-ui-formControl-helper-helperText-fontSize);line-height:var(--gse-ui-formControl-helper-helperText-lineHeight);color:var(--gse-ui-formControl-helper-defaultColor)}.gux-form-field-help.gux-show{display:flex}.gux-form-field-help .gux-message{flex:0 1 auto;align-self:none;order:0}.gux-form-field-visual-label{display:inline-flex;flex:1 0 auto}.gux-form-field-visual-label ::slotted(gux-label-info-beta){padding-inline-start:var(--gse-ui-formControl-formField-gap)}.gux-form-field-visual-label.gux-beside{position:relative;inset-block-start:var(--gse-ui-formControl-input-top);inline-size:fit-content;min-inline-size:var(--gse-ui-formControl-input-textfield-minWidth);max-inline-size:fit-content;margin-inline-end:var(--gse-ui-formControl-group-gapItems)}.gux-form-field-visual-label.gux-above{padding-block-end:var(--gse-ui-formControl-formField-gap)}.gux-form-field-visual-label.gux-screenreader{display:none}.gux-form-field-screenreader-label{position:absolute;top:auto;left:-10000px;width:1px;height:1px;overflow:hidden}:host{display:block}::slotted(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;inline-size:100%}";export{x as gux_form_field_dropdown}
1
+ import{r as e,h as i,g as t}from"./p-ffb7c9dc.js";import{b as o}from"./p-cfeaf436.js";import{O as r}from"./p-166634e1.js";import{o as l}from"./p-6b12dd16.js";import{h as s}from"./p-6d8b4027.js";import{a,G as n}from"./p-fcca9736.js";import{G as f,a as d,b as h}from"./p-8437bb5a.js";import{g as u}from"./p-0268a3e8.js";import{s as c,b as p,a as g}from"./p-4aaf349e.js";import{t as m}from"./p-db306845.js";import"./p-4202e9f2.js";import"./p-0934300e.js";import"./p-8eaf8caf.js";import"./p-2c25e2f2.js";const b={required:"Required"};const x=class{constructor(i){e(this,i),this.labelPosition=void 0,this.indicatorMark="required",this.computedLabelPosition="above",this.required=void 0,this.hasError=!1,this.hasHelp=!1,this.hasLabelInfo=!1}watchValue(e){const i=this.root.querySelector("gux-dropdown")||this.root.querySelector("gux-dropdown-multi");i&&(i.hasError=e)}onMutation(){this.labelInfo=this.root.querySelector("[slot=label-info]"),this.hasError=s(this.root,"error"),this.hasHelp=s(this.root,"help")}handleKeyup(e){var i,t;"Tab"===e.key?this.dropdownElement.matches(":focus-within")&&(null===(i=this.labelInfo)||void 0===i||i.showTooltip(),this.hideLabelInfoTimeout=setTimeout((()=>{var e;null===(e=this.labelInfo)||void 0===e||e.hideTooltip()}),6e3)):this.dropdownElement.matches(":focus-within")&&(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 componentWillLoad(){this.getI18nValue=await o(this.root,b),this.setInput(),this.setLabel(),this.labelInfo=this.root.querySelector("[slot=label-info]"),this.hasError=s(this.root,"error"),this.hasHelp=s(this.root,"help"),this.hasLabelInfo=s(this.root,"label-info"),m(this.root,{variant:this.variant})}disconnectedCallback(){this.requiredObserver&&this.requiredObserver.disconnect()}renderText(e,i=!1){if(i)return" "+e}render(){var e;return i(h,{key:"a6ee83b742d61c65e50db07030e05765be7b60bc",labelPosition:this.computedLabelPosition},i(d,{key:"fc88941e8fa8b0294d7d76ed135d6c155aef04dd"},null===(e=this.label)||void 0===e?void 0:e.textContent,this.renderText(this.getI18nValue("required"),this.required),this.renderText(u(this.root,"error"),this.hasError),this.renderText(u(this.root,"help"),this.hasHelp),this.renderText(u(this.root,"label-info"),this.hasLabelInfo)),i(f,{key:"5fa7cce54e89bc2a11920b9ef8f850f9e4de9e99",position:this.computedLabelPosition,required:this.required},i("slot",{key:"eff8293c62bbfe8603b1b1e183c87ce503e2c6fd",name:"label",onSlotchange:()=>this.setLabel()}),i("gux-form-field-label-indicator",{key:"d5f4ed4eab557af0378ed4c3bedcbd8c79059c60",variant:this.indicatorMark,required:this.required}),i("slot",{key:"aa1bf3390df959bea596d3f59ac4bfcfcb81f679",name:"label-info"})),i("div",{key:"c9b9f33ea316bed06d6978056baee1500726ebe0",class:"gux-input-and-error-container"},i("div",{key:"d3a29cf1b5439c00e1791c8927d8b8023f0ba58d",class:{"gux-input":!0,"gux-input-error":this.hasError}},i("slot",{key:"6cb72e0b7b25f144a5fb28784139843a9aa98a2a"})),i(a,{key:"a153d5e5d848f3b7232dfd2695f1bb373d325423",show:this.hasError},i("slot",{key:"5b30ac581ed93f216ca73339d50c3f470a2cdcfe",name:"error"})),i(n,{key:"df0450d718e3b1aab2b1c691d0f91e1adc1002ae",show:!this.hasError&&this.hasHelp},i("slot",{key:"063dbd0e0dbdeb8bf36c1660576b0f0ac0a8aa08",name:"help"}))))}get variant(){return`dropdown-${this.labelPosition?this.labelPosition.toLowerCase():"none"}`}setInput(){this.dropdownElement=this.root.querySelector("gux-dropdown")||this.root.querySelector("gux-dropdown-multi"),this.listboxElement=this.root.querySelector("gux-listbox")||this.root.querySelector("gux-listbox-multi"),this.required=this.dropdownElement.required,this.requiredObserver=l(this.dropdownElement,(e=>{this.required=e})),c(this.root,this.listboxElement,"label"),p(this.root,this.listboxElement,"error"),p(this.root,this.listboxElement,"help")}setLabel(){this.label=this.root.querySelector('label[slot="label"]'),this.computedLabelPosition=g(this.label,this.labelPosition)}get root(){return t(this)}static get watchers(){return{hasError:["watchValue"]}}};(function(e,i,t,o){var r,l=arguments.length,s=l<3?i:null===o?o=Object.getOwnPropertyDescriptor(i,t):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(e,i,t,o);else for(var a=e.length-1;a>=0;a--)(r=e[a])&&(s=(l<3?r(s):l>3?r(i,t,s):r(i,t))||s);l>3&&s&&Object.defineProperty(i,t,s)})([r({childList:!0,subtree:!0})],x.prototype,"onMutation",null),x.style=".gux-form-field-fieldset-container{display:flex;min-inline-size:0;padding:0;margin:0;border:none}.gux-form-field-fieldset-container.gux-beside{flex-direction:row}.gux-form-field-fieldset-container.gux-above{flex-direction:column}.gux-form-field-error{display:none;flex-direction:row;flex-wrap:nowrap;gap:var(--gse-ui-formControl-helper-gap);place-content:stretch flex-start;padding:var(--gse-ui-formControl-helper-errorPadding);font-family:var(--gse-ui-formControl-helper-helperText-fontFamily);font-size:var(--gse-ui-formControl-helper-helperText-fontSize);line-height:var(--gse-ui-formControl-helper-helperText-lineHeight);color:var(--gse-ui-formControl-helper-errorColor)}.gux-form-field-error.gux-show{display:flex}.gux-form-field-error gux-icon{flex:0 1 auto;order:0;min-inline-size:var(--gse-ui-icon-small-size);min-block-size:var(--gse-ui-icon-small-size);color:var(--gse-ui-formControl-helper-errorColor)}.gux-form-field-error .gux-message{flex:0 1 auto;align-self:auto;order:0}.gux-form-field-help{display:none;flex-direction:row;flex-wrap:nowrap;place-content:stretch flex-start;align-items:flex-start;justify-content:flex-start;padding-block-start:var(--gse-ui-formControl-formField-gap);font-family:var(--gse-ui-formControl-helper-helperText-fontFamily);font-size:var(--gse-ui-formControl-helper-helperText-fontSize);line-height:var(--gse-ui-formControl-helper-helperText-lineHeight);color:var(--gse-ui-formControl-helper-defaultColor)}.gux-form-field-help.gux-show{display:flex}.gux-form-field-help .gux-message{flex:0 1 auto;align-self:none;order:0}.gux-form-field-visual-label{display:inline-flex;flex:1 0 auto}.gux-form-field-visual-label ::slotted(gux-label-info-beta){padding-inline-start:var(--gse-ui-formControl-formField-gap)}.gux-form-field-visual-label.gux-beside{position:relative;inset-block-start:var(--gse-ui-formControl-input-top);inline-size:fit-content;min-inline-size:var(--gse-ui-formControl-input-textfield-minWidth);max-inline-size:fit-content;margin-inline-end:var(--gse-ui-formControl-group-gapItems)}.gux-form-field-visual-label.gux-above{padding-block-end:var(--gse-ui-formControl-formField-gap)}.gux-form-field-visual-label.gux-screenreader{display:none}.gux-form-field-screenreader-label{position:absolute;top:auto;left:-10000px;width:1px;height:1px;overflow:hidden}:host{display:block}::slotted(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;inline-size:100%}";export{x as gux_form_field_dropdown}
@@ -1 +1 @@
1
- const t=["top","right","bottom","left"],n=Math.min,e=Math.max,r=Math.round,o=Math.floor,i=t=>({x:t,y:t}),a={left:"right",right:"left",bottom:"top",top:"bottom"},c={start:"end",end:"start"};function l(t,r,o){return e(t,n(r,o))}function s(t,n){return"function"==typeof t?t(n):t}function u(t){return t.split("-")[0]}function f(t){return t.split("-")[1]}function d(t){return"x"===t?"y":"x"}function m(t){return"y"===t?"height":"width"}function h(t){return["top","bottom"].includes(u(t))?"y":"x"}function y(t){return d(h(t))}function p(t){return t.replace(/start|end/g,(t=>c[t]))}function w(t){return t.replace(/left|right|bottom|top/g,(t=>a[t]))}function g(t){return"number"!=typeof t?function(t){return{top:0,right:0,bottom:0,left:0,...t}}(t):{top:t,right:t,bottom:t,left:t}}function x(t){const{x:n,y:e,width:r,height:o}=t;return{width:r,height:o,top:e,left:n,right:n+r,bottom:e+o,x:n,y:e}}function v(t,n,e){let{reference:r,floating:o}=t;const i=h(n),a=y(n),c=m(a),l=u(n),s="y"===i,d=r.x+r.width/2-o.width/2,p=r.y+r.height/2-o.height/2,w=r[c]/2-o[c]/2;let g;switch(l){case"top":g={x:d,y:r.y-o.height};break;case"bottom":g={x:d,y:r.y+r.height};break;case"right":g={x:r.x+r.width,y:p};break;case"left":g={x:r.x-o.width,y:p};break;default:g={x:r.x,y:r.y}}switch(f(n)){case"start":g[a]-=w*(e&&s?-1:1);break;case"end":g[a]+=w*(e&&s?-1:1)}return g}async function b(t,n){var e;void 0===n&&(n={});const{x:r,y:o,platform:i,rects:a,elements:c,strategy:l}=t,{boundary:u="clippingAncestors",rootBoundary:f="viewport",elementContext:d="floating",altBoundary:m=!1,padding:h=0}=s(n,t),y=g(h),p=c[m?"floating"===d?"reference":"floating":d],w=x(await i.getClippingRect({element:null==(e=await(null==i.isElement?void 0:i.isElement(p)))||e?p:p.contextElement||await(null==i.getDocumentElement?void 0:i.getDocumentElement(c.floating)),boundary:u,rootBoundary:f,strategy:l})),v="floating"===d?{x:r,y:o,width:a.floating.width,height:a.floating.height}:a.reference,b=await(null==i.getOffsetParent?void 0:i.getOffsetParent(c.floating)),A=await(null==i.isElement?void 0:i.isElement(b))&&await(null==i.getScale?void 0:i.getScale(b))||{x:1,y:1},R=x(i.convertOffsetParentRelativeRectToViewportRelativeRect?await i.convertOffsetParentRelativeRectToViewportRelativeRect({elements:c,rect:v,offsetParent:b,strategy:l}):v);return{top:(w.top-R.top+y.top)/A.y,bottom:(R.bottom-w.bottom+y.bottom)/A.y,left:(w.left-R.left+y.left)/A.x,right:(R.right-w.right+y.right)/A.x}}function A(t,n){return{top:t.top-n.height,right:t.right-n.width,bottom:t.bottom-n.height,left:t.left-n.width}}function R(n){return t.some((t=>n[t]>=0))}function S(){return"undefined"!=typeof window}function O(t){return T(t)?(t.nodeName||"").toLowerCase():"#document"}function k(t){var n;return(null==t||null==(n=t.ownerDocument)?void 0:n.defaultView)||window}function F(t){var n;return null==(n=(T(t)?t.ownerDocument:t.document)||window.document)?void 0:n.documentElement}function T(t){return!!S()&&(t instanceof Node||t instanceof k(t).Node)}function D(t){return!!S()&&(t instanceof Element||t instanceof k(t).Element)}function P(t){return!!S()&&(t instanceof HTMLElement||t instanceof k(t).HTMLElement)}function z(t){return!(!S()||"undefined"==typeof ShadowRoot)&&(t instanceof ShadowRoot||t instanceof k(t).ShadowRoot)}function C(t){const{overflow:n,overflowX:e,overflowY:r,display:o}=I(t);return/auto|scroll|overlay|hidden|clip/.test(n+r+e)&&!["inline","contents"].includes(o)}function H(t){return["table","td","th"].includes(O(t))}function M(t){return[":popover-open",":modal"].some((n=>{try{return t.matches(n)}catch(t){return!1}}))}function B(t){const n=L(),e=D(t)?I(t):t;return["transform","translate","scale","rotate","perspective"].some((t=>!!e[t]&&"none"!==e[t]))||!!e.containerType&&"normal"!==e.containerType||!n&&!!e.backdropFilter&&"none"!==e.backdropFilter||!n&&!!e.filter&&"none"!==e.filter||["transform","translate","scale","rotate","perspective","filter"].some((t=>(e.willChange||"").includes(t)))||["paint","layout","strict","content"].some((t=>(e.contain||"").includes(t)))}function L(){return!("undefined"==typeof CSS||!CSS.supports)&&CSS.supports("-webkit-backdrop-filter","none")}function E(t){return["html","body","#document"].includes(O(t))}function I(t){return k(t).getComputedStyle(t)}function N(t){return D(t)?{scrollLeft:t.scrollLeft,scrollTop:t.scrollTop}:{scrollLeft:t.scrollX,scrollTop:t.scrollY}}function j(t){if("html"===O(t))return t;const n=t.assignedSlot||t.parentNode||z(t)&&t.host||F(t);return z(n)?n.host:n}function q(t){const n=j(t);return E(n)?t.ownerDocument?t.ownerDocument.body:t.body:P(n)&&C(n)?n:q(n)}function W(t,n,e){var r;void 0===n&&(n=[]),void 0===e&&(e=!0);const o=q(t),i=o===(null==(r=t.ownerDocument)?void 0:r.body),a=k(o);if(i){const t=$(a);return n.concat(a,a.visualViewport||[],C(o)?o:[],t&&e?W(t):[])}return n.concat(o,W(o,[],e))}function $(t){return t.parent&&Object.getPrototypeOf(t.parent)?t.frameElement:null}function V(t){const n=I(t);let e=parseFloat(n.width)||0,o=parseFloat(n.height)||0;const i=P(t),a=i?t.offsetWidth:e,c=i?t.offsetHeight:o,l=r(e)!==a||r(o)!==c;return l&&(e=a,o=c),{width:e,height:o,$:l}}function X(t){return D(t)?t:t.contextElement}function Y(t){const n=X(t);if(!P(n))return i(1);const e=n.getBoundingClientRect(),{width:o,height:a,$:c}=V(n);let l=(c?r(e.width):e.width)/o,s=(c?r(e.height):e.height)/a;return l&&Number.isFinite(l)||(l=1),s&&Number.isFinite(s)||(s=1),{x:l,y:s}}const _=i(0);function G(t){const n=k(t);return L()&&n.visualViewport?{x:n.visualViewport.offsetLeft,y:n.visualViewport.offsetTop}:_}function J(t,n,e,r){void 0===n&&(n=!1),void 0===e&&(e=!1);const o=t.getBoundingClientRect(),a=X(t);let c=i(1);n&&(r?D(r)&&(c=Y(r)):c=Y(t));const l=function(t,n,e){return void 0===n&&(n=!1),!(!e||n&&e!==k(t))&&n}(a,e,r)?G(a):i(0);let s=(o.left+l.x)/c.x,u=(o.top+l.y)/c.y,f=o.width/c.x,d=o.height/c.y;if(a){const t=k(a),n=r&&D(r)?k(r):r;let e=t,o=$(e);for(;o&&r&&n!==e;){const t=Y(o),n=o.getBoundingClientRect(),r=I(o),i=n.left+(o.clientLeft+parseFloat(r.paddingLeft))*t.x,a=n.top+(o.clientTop+parseFloat(r.paddingTop))*t.y;s*=t.x,u*=t.y,f*=t.x,d*=t.y,s+=i,u+=a,e=k(o),o=$(e)}}return x({width:f,height:d,x:s,y:u})}function K(t,n){const e=N(t).scrollLeft;return n?n.left+e:J(F(t)).left+e}function Q(t,n,e){void 0===e&&(e=!1);const r=t.getBoundingClientRect();return{x:r.left+n.scrollLeft-(e?0:K(t,r)),y:r.top+n.scrollTop}}function U(t,n,r){let o;if("viewport"===n)o=function(t,n){const e=k(t),r=F(t),o=e.visualViewport;let i=r.clientWidth,a=r.clientHeight,c=0,l=0;if(o){i=o.width,a=o.height;const t=L();(!t||t&&"fixed"===n)&&(c=o.offsetLeft,l=o.offsetTop)}return{width:i,height:a,x:c,y:l}}(t,r);else if("document"===n)o=function(t){const n=F(t),r=N(t),o=t.ownerDocument.body,i=e(n.scrollWidth,n.clientWidth,o.scrollWidth,o.clientWidth),a=e(n.scrollHeight,n.clientHeight,o.scrollHeight,o.clientHeight);let c=-r.scrollLeft+K(t);const l=-r.scrollTop;return"rtl"===I(o).direction&&(c+=e(n.clientWidth,o.clientWidth)-i),{width:i,height:a,x:c,y:l}}(F(t));else if(D(n))o=function(t,n){const e=J(t,!0,"fixed"===n),r=e.top+t.clientTop,o=e.left+t.clientLeft,a=P(t)?Y(t):i(1);return{width:t.clientWidth*a.x,height:t.clientHeight*a.y,x:o*a.x,y:r*a.y}}(n,r);else{const e=G(t);o={x:n.x-e.x,y:n.y-e.y,width:n.width,height:n.height}}return x(o)}function Z(t,n){const e=j(t);return!(e===n||!D(e)||E(e))&&("fixed"===I(e).position||Z(e,n))}function tt(t,n,e){const r=P(n),o=F(n),a="fixed"===e,c=J(t,!0,a,n);let l={scrollLeft:0,scrollTop:0};const s=i(0);if(r||!r&&!a)if(("body"!==O(n)||C(o))&&(l=N(n)),r){const t=J(n,!0,a,n);s.x=t.x+n.clientLeft,s.y=t.y+n.clientTop}else o&&(s.x=K(o));const u=!o||r||a?i(0):Q(o,l);return{x:c.left+l.scrollLeft-s.x-u.x,y:c.top+l.scrollTop-s.y-u.y,width:c.width,height:c.height}}function nt(t){return"static"===I(t).position}function et(t,n){if(!P(t)||"fixed"===I(t).position)return null;if(n)return n(t);let e=t.offsetParent;return F(t)===e&&(e=e.ownerDocument.body),e}function rt(t,n){const e=k(t);if(M(t))return e;if(!P(t)){let n=j(t);for(;n&&!E(n);){if(D(n)&&!nt(n))return n;n=j(n)}return e}let r=et(t,n);for(;r&&H(r)&&nt(r);)r=et(r,n);return r&&E(r)&&nt(r)&&!B(r)?e:r||function(t){let n=j(t);for(;P(n)&&!E(n);){if(B(n))return n;if(M(n))return null;n=j(n)}return null}(t)||e}const ot={convertOffsetParentRelativeRectToViewportRelativeRect:function(t){let{elements:n,rect:e,offsetParent:r,strategy:o}=t;const a="fixed"===o,c=F(r),l=!!n&&M(n.floating);if(r===c||l&&a)return e;let s={scrollLeft:0,scrollTop:0},u=i(1);const f=i(0),d=P(r);if((d||!d&&!a)&&(("body"!==O(r)||C(c))&&(s=N(r)),P(r))){const t=J(r);u=Y(r),f.x=t.x+r.clientLeft,f.y=t.y+r.clientTop}const m=!c||d||a?i(0):Q(c,s,!0);return{width:e.width*u.x,height:e.height*u.y,x:e.x*u.x-s.scrollLeft*u.x+f.x+m.x,y:e.y*u.y-s.scrollTop*u.y+f.y+m.y}},getDocumentElement:F,getClippingRect:function(t){let{element:r,boundary:o,rootBoundary:i,strategy:a}=t;const c=[..."clippingAncestors"===o?M(r)?[]:function(t,n){const e=n.get(t);if(e)return e;let r=W(t,[],!1).filter((t=>D(t)&&"body"!==O(t))),o=null;const i="fixed"===I(t).position;let a=i?j(t):t;for(;D(a)&&!E(a);){const n=I(a),e=B(a);e||"fixed"!==n.position||(o=null),(i?!e&&!o:!e&&"static"===n.position&&o&&["absolute","fixed"].includes(o.position)||C(a)&&!e&&Z(t,a))?r=r.filter((t=>t!==a)):o=n,a=j(a)}return n.set(t,r),r}(r,this._c):[].concat(o),i],l=c.reduce(((t,o)=>{const i=U(r,o,a);return t.top=e(i.top,t.top),t.right=n(i.right,t.right),t.bottom=n(i.bottom,t.bottom),t.left=e(i.left,t.left),t}),U(r,c[0],a));return{width:l.right-l.left,height:l.bottom-l.top,x:l.left,y:l.top}},getOffsetParent:rt,getElementRects:async function(t){const n=this.getOffsetParent||rt,e=this.getDimensions,r=await e(t.floating);return{reference:tt(t.reference,await n(t.floating),t.strategy),floating:{x:0,y:0,width:r.width,height:r.height}}},getClientRects:function(t){return Array.from(t.getClientRects())},getDimensions:function(t){const{width:n,height:e}=V(t);return{width:n,height:e}},getScale:Y,isElement:D,isRTL:function(t){return"rtl"===I(t).direction}};function it(t,n){return t.x===n.x&&t.y===n.y&&t.width===n.width&&t.height===n.height}function at(t,r,i,a){void 0===a&&(a={});const{ancestorScroll:c=!0,ancestorResize:l=!0,elementResize:s="function"==typeof ResizeObserver,layoutShift:u="function"==typeof IntersectionObserver,animationFrame:f=!1}=a,d=X(t),m=c||l?[...d?W(d):[],...W(r)]:[];m.forEach((t=>{c&&t.addEventListener("scroll",i,{passive:!0}),l&&t.addEventListener("resize",i)}));const h=d&&u?function(t,r){let i,a=null;const c=F(t);function l(){var t;clearTimeout(i),null==(t=a)||t.disconnect(),a=null}return function s(u,f){void 0===u&&(u=!1),void 0===f&&(f=1),l();const d=t.getBoundingClientRect(),{left:m,top:h,width:y,height:p}=d;if(u||r(),!y||!p)return;const w={rootMargin:-o(h)+"px "+-o(c.clientWidth-(m+y))+"px "+-o(c.clientHeight-(h+p))+"px "+-o(m)+"px",threshold:e(0,n(1,f))||1};let g=!0;function x(n){const e=n[0].intersectionRatio;if(e!==f){if(!g)return s();e?s(!1,e):i=setTimeout((()=>{s(!1,1e-7)}),1e3)}1!==e||it(d,t.getBoundingClientRect())||s(),g=!1}try{a=new IntersectionObserver(x,{...w,root:c.ownerDocument})}catch(t){a=new IntersectionObserver(x,w)}a.observe(t)}(!0),l}(d,i):null;let y,p=-1,w=null;s&&(w=new ResizeObserver((t=>{let[n]=t;n&&n.target===d&&w&&(w.unobserve(r),cancelAnimationFrame(p),p=requestAnimationFrame((()=>{var t;null==(t=w)||t.observe(r)}))),i()})),d&&!f&&w.observe(d),w.observe(r));let g=f?J(t):null;return f&&function n(){const e=J(t);g&&!it(g,e)&&i(),g=e,y=requestAnimationFrame(n)}(),i(),()=>{var t;m.forEach((t=>{c&&t.removeEventListener("scroll",i),l&&t.removeEventListener("resize",i)})),null==h||h(),null==(t=w)||t.disconnect(),w=null,f&&cancelAnimationFrame(y)}}const ct=b,lt=function(t){return void 0===t&&(t=0),{name:"offset",options:t,async fn(n){var e,r;const{x:o,y:i,placement:a,middlewareData:c}=n,l=await async function(t,n){const{placement:e,platform:r,elements:o}=t,i=await(null==r.isRTL?void 0:r.isRTL(o.floating)),a=u(e),c=f(e),l="y"===h(e),d=["left","top"].includes(a)?-1:1,m=i&&l?-1:1,y=s(n,t);let{mainAxis:p,crossAxis:w,alignmentAxis:g}="number"==typeof y?{mainAxis:y,crossAxis:0,alignmentAxis:null}:{mainAxis:y.mainAxis||0,crossAxis:y.crossAxis||0,alignmentAxis:y.alignmentAxis};return c&&"number"==typeof g&&(w="end"===c?-1*g:g),l?{x:w*m,y:p*d}:{x:p*d,y:w*m}}(n,t);return a===(null==(e=c.offset)?void 0:e.placement)&&null!=(r=c.arrow)&&r.alignmentOffset?{}:{x:o+l.x,y:i+l.y,data:{...l,placement:a}}}}},st=function(t){return void 0===t&&(t={}),{name:"shift",options:t,async fn(n){const{x:e,y:r,placement:o}=n,{mainAxis:i=!0,crossAxis:a=!1,limiter:c={fn:t=>{let{x:n,y:e}=t;return{x:n,y:e}}},...f}=s(t,n),m={x:e,y:r},y=await b(n,f),p=h(u(o)),w=d(p);let g=m[w],x=m[p];i&&(g=l(g+y["y"===w?"top":"left"],g,g-y["y"===w?"bottom":"right"])),a&&(x=l(x+y["y"===p?"top":"left"],x,x-y["y"===p?"bottom":"right"]));const v=c.fn({...n,[w]:g,[p]:x});return{...v,data:{x:v.x-e,y:v.y-r,enabled:{[w]:i,[p]:a}}}}}},ut=function(t){return void 0===t&&(t={}),{name:"flip",options:t,async fn(n){var e,r;const{placement:o,middlewareData:i,rects:a,initialPlacement:c,platform:l,elements:d}=n,{mainAxis:g=!0,crossAxis:x=!0,fallbackPlacements:v,fallbackStrategy:A="bestFit",fallbackAxisSideDirection:R="none",flipAlignment:S=!0,...O}=s(t,n);if(null!=(e=i.arrow)&&e.alignmentOffset)return{};const k=u(o),F=h(c),T=u(c)===c,D=await(null==l.isRTL?void 0:l.isRTL(d.floating)),P=v||(T||!S?[w(c)]:function(t){const n=w(t);return[p(t),n,p(n)]}(c)),z="none"!==R;!v&&z&&P.push(...function(t,n,e,r){const o=f(t);let i=function(t,n,e){const r=["left","right"],o=["right","left"],i=["top","bottom"],a=["bottom","top"];switch(t){case"top":case"bottom":return e?n?o:r:n?r:o;case"left":case"right":return n?i:a;default:return[]}}(u(t),"start"===e,r);return o&&(i=i.map((t=>t+"-"+o)),n&&(i=i.concat(i.map(p)))),i}(c,S,R,D));const C=[c,...P],H=await b(n,O),M=[];let B=(null==(r=i.flip)?void 0:r.overflows)||[];if(g&&M.push(H[k]),x){const t=function(t,n,e){void 0===e&&(e=!1);const r=f(t),o=y(t),i=m(o);let a="x"===o?r===(e?"end":"start")?"right":"left":"start"===r?"bottom":"top";return n.reference[i]>n.floating[i]&&(a=w(a)),[a,w(a)]}(o,a,D);M.push(H[t[0]],H[t[1]])}if(B=[...B,{placement:o,overflows:M}],!M.every((t=>t<=0))){var L,E;const t=((null==(L=i.flip)?void 0:L.index)||0)+1,n=C[t];if(n)return{data:{index:t,overflows:B},reset:{placement:n}};let e=null==(E=B.filter((t=>t.overflows[0]<=0)).sort(((t,n)=>t.overflows[1]-n.overflows[1]))[0])?void 0:E.placement;if(!e)switch(A){case"bestFit":{var I;const t=null==(I=B.filter((t=>{if(z){const n=h(t.placement);return n===F||"y"===n}return!0})).map((t=>[t.placement,t.overflows.filter((t=>t>0)).reduce(((t,n)=>t+n),0)])).sort(((t,n)=>t[1]-n[1]))[0])?void 0:I[0];t&&(e=t);break}case"initialPlacement":e=c}if(o!==e)return{reset:{placement:e}}}return{}}}},ft=function(t){return void 0===t&&(t={}),{name:"size",options:t,async fn(r){var o,i;const{placement:a,rects:c,platform:l,elements:d}=r,{apply:m=(()=>{}),...y}=s(t,r),p=await b(r,y),w=u(a),g=f(a),x="y"===h(a),{width:v,height:A}=c.floating;let R,S;"top"===w||"bottom"===w?(R=w,S=g===(await(null==l.isRTL?void 0:l.isRTL(d.floating))?"start":"end")?"left":"right"):(S=w,R="end"===g?"top":"bottom");const O=A-p.top-p.bottom,k=v-p.left-p.right;let F=n(A-p[R],O),T=n(v-p[S],k);if(null!=(o=r.middlewareData.shift)&&o.enabled.x&&(T=k),null!=(i=r.middlewareData.shift)&&i.enabled.y&&(F=O),!r.middlewareData.shift&&!g){const t=e(p.left,0),n=e(p.right,0),r=e(p.top,0),o=e(p.bottom,0);x?T=v-2*(0!==t||0!==n?t+n:e(p.left,p.right)):F=A-2*(0!==r||0!==o?r+o:e(p.top,p.bottom))}await m({...r,availableWidth:T,availableHeight:F});const D=await l.getDimensions(d.floating);return v!==D.width||A!==D.height?{reset:{rects:!0}}:{}}}},dt=function(t){return void 0===t&&(t={}),{name:"hide",options:t,async fn(n){const{rects:e}=n,{strategy:r="referenceHidden",...o}=s(t,n);switch(r){case"referenceHidden":{const t=A(await b(n,{...o,elementContext:"reference"}),e.reference);return{data:{referenceHiddenOffsets:t,referenceHidden:R(t)}}}case"escaped":{const t=A(await b(n,{...o,altBoundary:!0}),e.floating);return{data:{escapedOffsets:t,escaped:R(t)}}}default:return{}}}}},mt=t=>({name:"arrow",options:t,async fn(e){const{x:r,y:o,placement:i,rects:a,platform:c,elements:u,middlewareData:d}=e,{element:h,padding:p=0}=s(t,e)||{};if(null==h)return{};const w=g(p),x={x:r,y:o},v=y(i),b=m(v),A=await c.getDimensions(h),R="y"===v,S=R?"top":"left",O=R?"bottom":"right",k=R?"clientHeight":"clientWidth",F=a.reference[b]+a.reference[v]-x[v]-a.floating[b],T=x[v]-a.reference[v],D=await(null==c.getOffsetParent?void 0:c.getOffsetParent(h));let P=D?D[k]:0;P&&await(null==c.isElement?void 0:c.isElement(D))||(P=u.floating[k]||a.floating[b]);const z=F/2-T/2,C=P/2-A[b]/2-1,H=n(w[S],C),M=n(w[O],C),B=H,L=P-A[b]-M,E=P/2-A[b]/2+z,I=l(B,E,L),N=!d.arrow&&null!=f(i)&&E!==I&&a.reference[b]/2-(E<B?H:M)-A[b]/2<0,j=N?E<B?E-B:E-L:0;return{[v]:x[v]+j,data:{[v]:I,centerOffset:E-I-j,...N&&{alignmentOffset:j}},reset:N}}}),ht=(t,n,e)=>{const r=new Map,o={platform:ot,...e},i={...o.platform,_c:r};return(async(t,n,e)=>{const{placement:r="bottom",strategy:o="absolute",middleware:i=[],platform:a}=e,c=i.filter(Boolean),l=await(null==a.isRTL?void 0:a.isRTL(n));let s=await a.getElementRects({reference:t,floating:n,strategy:o}),{x:u,y:f}=v(s,r,l),d=r,m={},h=0;for(let e=0;e<c.length;e++){const{name:i,fn:y}=c[e],{x:p,y:w,data:g,reset:x}=await y({x:u,y:f,initialPlacement:r,placement:d,strategy:o,middlewareData:m,rects:s,platform:a,elements:{reference:t,floating:n}});u=null!=p?p:u,f=null!=w?w:f,m={...m,[i]:{...m[i],...g}},x&&h<=50&&(h++,"object"==typeof x&&(x.placement&&(d=x.placement),x.rects&&(s=!0===x.rects?await a.getElementRects({reference:t,floating:n,strategy:o}):x.rects),({x:u,y:f}=v(s,d,l))),e=-1)}return{x:u,y:f,placement:d,strategy:o,middlewareData:m}})(t,n,{...o,platform:i})};export{at as a,mt as b,ht as c,ct as d,ft as e,ut as f,dt as h,lt as o,st as s}
1
+ const t=["top","right","bottom","left"],n=Math.min,e=Math.max,r=Math.round,o=Math.floor,i=t=>({x:t,y:t}),a={left:"right",right:"left",bottom:"top",top:"bottom"},c={start:"end",end:"start"};function l(t,r,o){return e(t,n(r,o))}function s(t,n){return"function"==typeof t?t(n):t}function u(t){return t.split("-")[0]}function f(t){return t.split("-")[1]}function d(t){return"x"===t?"y":"x"}function m(t){return"y"===t?"height":"width"}function h(t){return["top","bottom"].includes(u(t))?"y":"x"}function y(t){return d(h(t))}function p(t){return t.replace(/start|end/g,(t=>c[t]))}function w(t){return t.replace(/left|right|bottom|top/g,(t=>a[t]))}function g(t){return"number"!=typeof t?function(t){return{top:0,right:0,bottom:0,left:0,...t}}(t):{top:t,right:t,bottom:t,left:t}}function x(t){const{x:n,y:e,width:r,height:o}=t;return{width:r,height:o,top:e,left:n,right:n+r,bottom:e+o,x:n,y:e}}function v(t,n,e){let{reference:r,floating:o}=t;const i=h(n),a=y(n),c=m(a),l=u(n),s="y"===i,d=r.x+r.width/2-o.width/2,p=r.y+r.height/2-o.height/2,w=r[c]/2-o[c]/2;let g;switch(l){case"top":g={x:d,y:r.y-o.height};break;case"bottom":g={x:d,y:r.y+r.height};break;case"right":g={x:r.x+r.width,y:p};break;case"left":g={x:r.x-o.width,y:p};break;default:g={x:r.x,y:r.y}}switch(f(n)){case"start":g[a]-=w*(e&&s?-1:1);break;case"end":g[a]+=w*(e&&s?-1:1)}return g}async function b(t,n){var e;void 0===n&&(n={});const{x:r,y:o,platform:i,rects:a,elements:c,strategy:l}=t,{boundary:u="clippingAncestors",rootBoundary:f="viewport",elementContext:d="floating",altBoundary:m=!1,padding:h=0}=s(n,t),y=g(h),p=c[m?"floating"===d?"reference":"floating":d],w=x(await i.getClippingRect({element:null==(e=await(null==i.isElement?void 0:i.isElement(p)))||e?p:p.contextElement||await(null==i.getDocumentElement?void 0:i.getDocumentElement(c.floating)),boundary:u,rootBoundary:f,strategy:l})),v="floating"===d?{x:r,y:o,width:a.floating.width,height:a.floating.height}:a.reference,b=await(null==i.getOffsetParent?void 0:i.getOffsetParent(c.floating)),A=await(null==i.isElement?void 0:i.isElement(b))&&await(null==i.getScale?void 0:i.getScale(b))||{x:1,y:1},R=x(i.convertOffsetParentRelativeRectToViewportRelativeRect?await i.convertOffsetParentRelativeRectToViewportRelativeRect({elements:c,rect:v,offsetParent:b,strategy:l}):v);return{top:(w.top-R.top+y.top)/A.y,bottom:(R.bottom-w.bottom+y.bottom)/A.y,left:(w.left-R.left+y.left)/A.x,right:(R.right-w.right+y.right)/A.x}}function A(t,n){return{top:t.top-n.height,right:t.right-n.width,bottom:t.bottom-n.height,left:t.left-n.width}}function R(n){return t.some((t=>n[t]>=0))}function S(){return"undefined"!=typeof window}function O(t){return T(t)?(t.nodeName||"").toLowerCase():"#document"}function k(t){var n;return(null==t||null==(n=t.ownerDocument)?void 0:n.defaultView)||window}function F(t){var n;return null==(n=(T(t)?t.ownerDocument:t.document)||window.document)?void 0:n.documentElement}function T(t){return!!S()&&(t instanceof Node||t instanceof k(t).Node)}function D(t){return!!S()&&(t instanceof Element||t instanceof k(t).Element)}function P(t){return!!S()&&(t instanceof HTMLElement||t instanceof k(t).HTMLElement)}function z(t){return!(!S()||"undefined"==typeof ShadowRoot)&&(t instanceof ShadowRoot||t instanceof k(t).ShadowRoot)}function C(t){const{overflow:n,overflowX:e,overflowY:r,display:o}=I(t);return/auto|scroll|overlay|hidden|clip/.test(n+r+e)&&!["inline","contents"].includes(o)}function H(t){return["table","td","th"].includes(O(t))}function M(t){return[":popover-open",":modal"].some((n=>{try{return t.matches(n)}catch(t){return!1}}))}function B(t){const n=L(),e=D(t)?I(t):t;return["transform","translate","scale","rotate","perspective"].some((t=>!!e[t]&&"none"!==e[t]))||!!e.containerType&&"normal"!==e.containerType||!n&&!!e.backdropFilter&&"none"!==e.backdropFilter||!n&&!!e.filter&&"none"!==e.filter||["transform","translate","scale","rotate","perspective","filter"].some((t=>(e.willChange||"").includes(t)))||["paint","layout","strict","content"].some((t=>(e.contain||"").includes(t)))}function L(){return!("undefined"==typeof CSS||!CSS.supports)&&CSS.supports("-webkit-backdrop-filter","none")}function E(t){return["html","body","#document"].includes(O(t))}function I(t){return k(t).getComputedStyle(t)}function N(t){return D(t)?{scrollLeft:t.scrollLeft,scrollTop:t.scrollTop}:{scrollLeft:t.scrollX,scrollTop:t.scrollY}}function j(t){if("html"===O(t))return t;const n=t.assignedSlot||t.parentNode||z(t)&&t.host||F(t);return z(n)?n.host:n}function q(t){const n=j(t);return E(n)?t.ownerDocument?t.ownerDocument.body:t.body:P(n)&&C(n)?n:q(n)}function W(t,n,e){var r;void 0===n&&(n=[]),void 0===e&&(e=!0);const o=q(t),i=o===(null==(r=t.ownerDocument)?void 0:r.body),a=k(o);if(i){const t=$(a);return n.concat(a,a.visualViewport||[],C(o)?o:[],t&&e?W(t):[])}return n.concat(o,W(o,[],e))}function $(t){return t.parent&&Object.getPrototypeOf(t.parent)?t.frameElement:null}function V(t){const n=I(t);let e=parseFloat(n.width)||0,o=parseFloat(n.height)||0;const i=P(t),a=i?t.offsetWidth:e,c=i?t.offsetHeight:o,l=r(e)!==a||r(o)!==c;return l&&(e=a,o=c),{width:e,height:o,$:l}}function X(t){return D(t)?t:t.contextElement}function Y(t){const n=X(t);if(!P(n))return i(1);const e=n.getBoundingClientRect(),{width:o,height:a,$:c}=V(n);let l=(c?r(e.width):e.width)/o,s=(c?r(e.height):e.height)/a;return l&&Number.isFinite(l)||(l=1),s&&Number.isFinite(s)||(s=1),{x:l,y:s}}const _=i(0);function G(t){const n=k(t);return L()&&n.visualViewport?{x:n.visualViewport.offsetLeft,y:n.visualViewport.offsetTop}:_}function J(t,n,e,r){void 0===n&&(n=!1),void 0===e&&(e=!1);const o=t.getBoundingClientRect(),a=X(t);let c=i(1);n&&(r?D(r)&&(c=Y(r)):c=Y(t));const l=function(t,n,e){return void 0===n&&(n=!1),!(!e||n&&e!==k(t))&&n}(a,e,r)?G(a):i(0);let s=(o.left+l.x)/c.x,u=(o.top+l.y)/c.y,f=o.width/c.x,d=o.height/c.y;if(a){const t=k(a),n=r&&D(r)?k(r):r;let e=t,o=$(e);for(;o&&r&&n!==e;){const t=Y(o),n=o.getBoundingClientRect(),r=I(o),i=n.left+(o.clientLeft+parseFloat(r.paddingLeft))*t.x,a=n.top+(o.clientTop+parseFloat(r.paddingTop))*t.y;s*=t.x,u*=t.y,f*=t.x,d*=t.y,s+=i,u+=a,e=k(o),o=$(e)}}return x({width:f,height:d,x:s,y:u})}function K(t,n){const e=N(t).scrollLeft;return n?n.left+e:J(F(t)).left+e}function Q(t,n,e){void 0===e&&(e=!1);const r=t.getBoundingClientRect();return{x:r.left+n.scrollLeft-(e?0:K(t,r)),y:r.top+n.scrollTop}}function U(t,n,r){let o;if("viewport"===n)o=function(t,n){const e=k(t),r=F(t),o=e.visualViewport;let i=r.clientWidth,a=r.clientHeight,c=0,l=0;if(o){i=o.width,a=o.height;const t=L();(!t||t&&"fixed"===n)&&(c=o.offsetLeft,l=o.offsetTop)}return{width:i,height:a,x:c,y:l}}(t,r);else if("document"===n)o=function(t){const n=F(t),r=N(t),o=t.ownerDocument.body,i=e(n.scrollWidth,n.clientWidth,o.scrollWidth,o.clientWidth),a=e(n.scrollHeight,n.clientHeight,o.scrollHeight,o.clientHeight);let c=-r.scrollLeft+K(t);const l=-r.scrollTop;return"rtl"===I(o).direction&&(c+=e(n.clientWidth,o.clientWidth)-i),{width:i,height:a,x:c,y:l}}(F(t));else if(D(n))o=function(t,n){const e=J(t,!0,"fixed"===n),r=e.top+t.clientTop,o=e.left+t.clientLeft,a=P(t)?Y(t):i(1);return{width:t.clientWidth*a.x,height:t.clientHeight*a.y,x:o*a.x,y:r*a.y}}(n,r);else{const e=G(t);o={x:n.x-e.x,y:n.y-e.y,width:n.width,height:n.height}}return x(o)}function Z(t,n){const e=j(t);return!(e===n||!D(e)||E(e))&&("fixed"===I(e).position||Z(e,n))}function tt(t,n,e){const r=P(n),o=F(n),a="fixed"===e,c=J(t,!0,a,n);let l={scrollLeft:0,scrollTop:0};const s=i(0);if(r||!r&&!a)if(("body"!==O(n)||C(o))&&(l=N(n)),r){const t=J(n,!0,a,n);s.x=t.x+n.clientLeft,s.y=t.y+n.clientTop}else o&&(s.x=K(o));const u=!o||r||a?i(0):Q(o,l);return{x:c.left+l.scrollLeft-s.x-u.x,y:c.top+l.scrollTop-s.y-u.y,width:c.width,height:c.height}}function nt(t){return"static"===I(t).position}function et(t,n){if(!P(t)||"fixed"===I(t).position)return null;if(n)return n(t);let e=t.offsetParent;return F(t)===e&&(e=e.ownerDocument.body),e}function rt(t,n){const e=k(t);if(M(t))return e;if(!P(t)){let n=j(t);for(;n&&!E(n);){if(D(n)&&!nt(n))return n;n=j(n)}return e}let r=et(t,n);for(;r&&H(r)&&nt(r);)r=et(r,n);return r&&E(r)&&nt(r)&&!B(r)?e:r||function(t){let n=j(t);for(;P(n)&&!E(n);){if(B(n))return n;if(M(n))return null;n=j(n)}return null}(t)||e}const ot={convertOffsetParentRelativeRectToViewportRelativeRect:function(t){let{elements:n,rect:e,offsetParent:r,strategy:o}=t;const a="fixed"===o,c=F(r),l=!!n&&M(n.floating);if(r===c||l&&a)return e;let s={scrollLeft:0,scrollTop:0},u=i(1);const f=i(0),d=P(r);if((d||!d&&!a)&&(("body"!==O(r)||C(c))&&(s=N(r)),P(r))){const t=J(r);u=Y(r),f.x=t.x+r.clientLeft,f.y=t.y+r.clientTop}const m=!c||d||a?i(0):Q(c,s,!0);return{width:e.width*u.x,height:e.height*u.y,x:e.x*u.x-s.scrollLeft*u.x+f.x+m.x,y:e.y*u.y-s.scrollTop*u.y+f.y+m.y}},getDocumentElement:F,getClippingRect:function(t){let{element:r,boundary:o,rootBoundary:i,strategy:a}=t;const c=[..."clippingAncestors"===o?M(r)?[]:function(t,n){const e=n.get(t);if(e)return e;let r=W(t,[],!1).filter((t=>D(t)&&"body"!==O(t))),o=null;const i="fixed"===I(t).position;let a=i?j(t):t;for(;D(a)&&!E(a);){const n=I(a),e=B(a);e||"fixed"!==n.position||(o=null),(i?!e&&!o:!e&&"static"===n.position&&o&&["absolute","fixed"].includes(o.position)||C(a)&&!e&&Z(t,a))?r=r.filter((t=>t!==a)):o=n,a=j(a)}return n.set(t,r),r}(r,this._c):[].concat(o),i],l=c.reduce(((t,o)=>{const i=U(r,o,a);return t.top=e(i.top,t.top),t.right=n(i.right,t.right),t.bottom=n(i.bottom,t.bottom),t.left=e(i.left,t.left),t}),U(r,c[0],a));return{width:l.right-l.left,height:l.bottom-l.top,x:l.left,y:l.top}},getOffsetParent:rt,getElementRects:async function(t){const n=this.getOffsetParent||rt,e=this.getDimensions,r=await e(t.floating);return{reference:tt(t.reference,await n(t.floating),t.strategy),floating:{x:0,y:0,width:r.width,height:r.height}}},getClientRects:function(t){return Array.from(t.getClientRects())},getDimensions:function(t){const{width:n,height:e}=V(t);return{width:n,height:e}},getScale:Y,isElement:D,isRTL:function(t){return"rtl"===I(t).direction}};function it(t,n){return t.x===n.x&&t.y===n.y&&t.width===n.width&&t.height===n.height}function at(t,r,i,a){void 0===a&&(a={});const{ancestorScroll:c=!0,ancestorResize:l=!0,elementResize:s="function"==typeof ResizeObserver,layoutShift:u="function"==typeof IntersectionObserver,animationFrame:f=!1}=a,d=X(t),m=c||l?[...d?W(d):[],...W(r)]:[];m.forEach((t=>{c&&t.addEventListener("scroll",i,{passive:!0}),l&&t.addEventListener("resize",i)}));const h=d&&u?function(t,r){let i,a=null;const c=F(t);function l(){var t;clearTimeout(i),null==(t=a)||t.disconnect(),a=null}return function s(u,f){void 0===u&&(u=!1),void 0===f&&(f=1),l();const d=t.getBoundingClientRect(),{left:m,top:h,width:y,height:p}=d;if(u||r(),!y||!p)return;const w={rootMargin:-o(h)+"px "+-o(c.clientWidth-(m+y))+"px "+-o(c.clientHeight-(h+p))+"px "+-o(m)+"px",threshold:e(0,n(1,f))||1};let g=!0;function x(n){const e=n[0].intersectionRatio;if(e!==f){if(!g)return s();e?s(!1,e):i=setTimeout((()=>{s(!1,1e-7)}),1e3)}1!==e||it(d,t.getBoundingClientRect())||s(),g=!1}try{a=new IntersectionObserver(x,{...w,root:c.ownerDocument})}catch(t){a=new IntersectionObserver(x,w)}a.observe(t)}(!0),l}(d,i):null;let y,p=-1,w=null;s&&(w=new ResizeObserver((t=>{let[n]=t;n&&n.target===d&&w&&(w.unobserve(r),cancelAnimationFrame(p),p=requestAnimationFrame((()=>{var t;null==(t=w)||t.observe(r)}))),i()})),d&&!f&&w.observe(d),w.observe(r));let g=f?J(t):null;return f&&function n(){const e=J(t);g&&!it(g,e)&&i(),g=e,y=requestAnimationFrame(n)}(),i(),()=>{var t;m.forEach((t=>{c&&t.removeEventListener("scroll",i),l&&t.removeEventListener("resize",i)})),null==h||h(),null==(t=w)||t.disconnect(),w=null,f&&cancelAnimationFrame(y)}}const ct=b,lt=function(t){return void 0===t&&(t=0),{name:"offset",options:t,async fn(n){var e,r;const{x:o,y:i,placement:a,middlewareData:c}=n,l=await async function(t,n){const{placement:e,platform:r,elements:o}=t,i=await(null==r.isRTL?void 0:r.isRTL(o.floating)),a=u(e),c=f(e),l="y"===h(e),d=["left","top"].includes(a)?-1:1,m=i&&l?-1:1,y=s(n,t);let{mainAxis:p,crossAxis:w,alignmentAxis:g}="number"==typeof y?{mainAxis:y,crossAxis:0,alignmentAxis:null}:{mainAxis:y.mainAxis||0,crossAxis:y.crossAxis||0,alignmentAxis:y.alignmentAxis};return c&&"number"==typeof g&&(w="end"===c?-1*g:g),l?{x:w*m,y:p*d}:{x:p*d,y:w*m}}(n,t);return a===(null==(e=c.offset)?void 0:e.placement)&&null!=(r=c.arrow)&&r.alignmentOffset?{}:{x:o+l.x,y:i+l.y,data:{...l,placement:a}}}}},st=function(t){return void 0===t&&(t={}),{name:"shift",options:t,async fn(n){const{x:e,y:r,placement:o}=n,{mainAxis:i=!0,crossAxis:a=!1,limiter:c={fn:t=>{let{x:n,y:e}=t;return{x:n,y:e}}},...f}=s(t,n),m={x:e,y:r},y=await b(n,f),p=h(u(o)),w=d(p);let g=m[w],x=m[p];i&&(g=l(g+y["y"===w?"top":"left"],g,g-y["y"===w?"bottom":"right"])),a&&(x=l(x+y["y"===p?"top":"left"],x,x-y["y"===p?"bottom":"right"]));const v=c.fn({...n,[w]:g,[p]:x});return{...v,data:{x:v.x-e,y:v.y-r,enabled:{[w]:i,[p]:a}}}}}},ut=function(t){return void 0===t&&(t={}),{name:"flip",options:t,async fn(n){var e,r;const{placement:o,middlewareData:i,rects:a,initialPlacement:c,platform:l,elements:d}=n,{mainAxis:g=!0,crossAxis:x=!0,fallbackPlacements:v,fallbackStrategy:A="bestFit",fallbackAxisSideDirection:R="none",flipAlignment:S=!0,...O}=s(t,n);if(null!=(e=i.arrow)&&e.alignmentOffset)return{};const k=u(o),F=h(c),T=u(c)===c,D=await(null==l.isRTL?void 0:l.isRTL(d.floating)),P=v||(T||!S?[w(c)]:function(t){const n=w(t);return[p(t),n,p(n)]}(c)),z="none"!==R;!v&&z&&P.push(...function(t,n,e,r){const o=f(t);let i=function(t,n,e){const r=["left","right"],o=["right","left"],i=["top","bottom"],a=["bottom","top"];switch(t){case"top":case"bottom":return e?n?o:r:n?r:o;case"left":case"right":return n?i:a;default:return[]}}(u(t),"start"===e,r);return o&&(i=i.map((t=>t+"-"+o)),n&&(i=i.concat(i.map(p)))),i}(c,S,R,D));const C=[c,...P],H=await b(n,O),M=[];let B=(null==(r=i.flip)?void 0:r.overflows)||[];if(g&&M.push(H[k]),x){const t=function(t,n,e){void 0===e&&(e=!1);const r=f(t),o=y(t),i=m(o);let a="x"===o?r===(e?"end":"start")?"right":"left":"start"===r?"bottom":"top";return n.reference[i]>n.floating[i]&&(a=w(a)),[a,w(a)]}(o,a,D);M.push(H[t[0]],H[t[1]])}if(B=[...B,{placement:o,overflows:M}],!M.every((t=>t<=0))){var L,E;const t=((null==(L=i.flip)?void 0:L.index)||0)+1,n=C[t];if(n)return{data:{index:t,overflows:B},reset:{placement:n}};let e=null==(E=B.filter((t=>t.overflows[0]<=0)).sort(((t,n)=>t.overflows[1]-n.overflows[1]))[0])?void 0:E.placement;if(!e)switch(A){case"bestFit":{var I;const t=null==(I=B.filter((t=>{if(z){const n=h(t.placement);return n===F||"y"===n}return!0})).map((t=>[t.placement,t.overflows.filter((t=>t>0)).reduce(((t,n)=>t+n),0)])).sort(((t,n)=>t[1]-n[1]))[0])?void 0:I[0];t&&(e=t);break}case"initialPlacement":e=c}if(o!==e)return{reset:{placement:e}}}return{}}}},ft=function(t){return void 0===t&&(t={}),{name:"size",options:t,async fn(r){var o,i;const{placement:a,rects:c,platform:l,elements:d}=r,{apply:m=(()=>{}),...y}=s(t,r),p=await b(r,y),w=u(a),g=f(a),x="y"===h(a),{width:v,height:A}=c.floating;let R,S;"top"===w||"bottom"===w?(R=w,S=g===(await(null==l.isRTL?void 0:l.isRTL(d.floating))?"start":"end")?"left":"right"):(S=w,R="end"===g?"top":"bottom");const O=A-p.top-p.bottom,k=v-p.left-p.right;let F=n(A-p[R],O),T=n(v-p[S],k);if(null!=(o=r.middlewareData.shift)&&o.enabled.x&&(T=k),null!=(i=r.middlewareData.shift)&&i.enabled.y&&(F=O),!r.middlewareData.shift&&!g){const t=e(p.left,0),n=e(p.right,0),r=e(p.top,0),o=e(p.bottom,0);x?T=v-2*(0!==t||0!==n?t+n:e(p.left,p.right)):F=A-2*(0!==r||0!==o?r+o:e(p.top,p.bottom))}await m({...r,availableWidth:T,availableHeight:F});const D=await l.getDimensions(d.floating);return v!==D.width||A!==D.height?{reset:{rects:!0}}:{}}}},dt=function(t){return void 0===t&&(t={}),{name:"hide",options:t,async fn(n){const{rects:e}=n,{strategy:r="referenceHidden",...o}=s(t,n);switch(r){case"referenceHidden":{const t=A(await b(n,{...o,elementContext:"reference"}),e.reference);return{data:{referenceHiddenOffsets:t,referenceHidden:R(t)}}}case"escaped":{const t=A(await b(n,{...o,altBoundary:!0}),e.floating);return{data:{escapedOffsets:t,escaped:R(t)}}}default:return{}}}}},mt=t=>({name:"arrow",options:t,async fn(e){const{x:r,y:o,placement:i,rects:a,platform:c,elements:u,middlewareData:d}=e,{element:h,padding:p=0}=s(t,e)||{};if(null==h)return{};const w=g(p),x={x:r,y:o},v=y(i),b=m(v),A=await c.getDimensions(h),R="y"===v,S=R?"top":"left",O=R?"bottom":"right",k=R?"clientHeight":"clientWidth",F=a.reference[b]+a.reference[v]-x[v]-a.floating[b],T=x[v]-a.reference[v],D=await(null==c.getOffsetParent?void 0:c.getOffsetParent(h));let P=D?D[k]:0;P&&await(null==c.isElement?void 0:c.isElement(D))||(P=u.floating[k]||a.floating[b]);const z=F/2-T/2,C=P/2-A[b]/2-1,H=n(w[S],C),M=n(w[O],C),B=H,L=P-A[b]-M,E=P/2-A[b]/2+z,I=l(B,E,L),N=!d.arrow&&null!=f(i)&&E!==I&&a.reference[b]/2-(E<B?H:M)-A[b]/2<0,j=N?E<B?E-B:E-L:0;return{[v]:x[v]+j,data:{[v]:I,centerOffset:E-I-j,...N&&{alignmentOffset:j}},reset:N}}}),ht=(t,n,e)=>{const r=new Map,o={platform:ot,...e},i={...o.platform,_c:r};return(async(t,n,e)=>{const{placement:r="bottom",strategy:o="absolute",middleware:i=[],platform:a}=e,c=i.filter(Boolean),l=await(null==a.isRTL?void 0:a.isRTL(n));let s=await a.getElementRects({reference:t,floating:n,strategy:o}),{x:u,y:f}=v(s,r,l),d=r,m={},h=0;for(let e=0;e<c.length;e++){const{name:i,fn:y}=c[e],{x:p,y:w,data:g,reset:x}=await y({x:u,y:f,initialPlacement:r,placement:d,strategy:o,middlewareData:m,rects:s,platform:a,elements:{reference:t,floating:n}});u=null!=p?p:u,f=null!=w?w:f,m={...m,[i]:{...m[i],...g}},x&&h<=50&&(h++,"object"==typeof x&&(x.placement&&(d=x.placement),x.rects&&(s=!0===x.rects?await a.getElementRects({reference:t,floating:n,strategy:o}):x.rects),({x:u,y:f}=v(s,d,l))),e=-1)}return{x:u,y:f,placement:d,strategy:o,middlewareData:m}})(t,n,{...o,platform:i})};export{at as a,mt as b,ht as c,ft as d,ct as e,ut as f,dt as h,lt as o,st as s}
@@ -1 +1 @@
1
- import{r as t,c as i,h as e}from"./p-086c5088.js";const a=class{constructor(e){t(this,e),this.internalactivatetabpanel=i(this,"internalactivatetabpanel",7),this.tabId=void 0,this.guxDisabled=!1,this.active=!1}onClick(){this.active||this.guxDisabled||this.internalactivatetabpanel.emit(this.tabId)}onFocusin(){this.tooltipTitleElement.setShowTooltip()}onFocusout(){this.tooltipTitleElement.setHideTooltip()}async guxSetActive(t){this.active=t}async guxFocus(){this.buttonElement.focus()}async guxGetActive(){return this.active}getTabIndex(){return this.guxDisabled?null:this.active?0:-1}render(){return e("button",{key:"36e9856cc60d82fda6849197c751eb3ad1f40edd",class:{"gux-disabled":this.guxDisabled,"gux-tab":!0,"gux-active":this.active},type:"button",disabled:this.guxDisabled,id:`gux-${this.tabId}-tab`,role:"tab","aria-controls":`gux-${this.tabId}-panel`,"aria-selected":this.active.toString(),tabIndex:this.getTabIndex(),ref:t=>this.buttonElement=t},e("gux-tooltip-title",{key:"d86503a75ac716e3e483da2366cd751070c9f16b",ref:t=>this.tooltipTitleElement=t},e("span",{key:"7602c4988e782ed1d8b614c2dabb19d5b2934db4"},e("slot",{key:"42c6c71b823a7315639401067eec146d36c9ea27"}))))}};a.style="gux-tabs[orientation=vertical]>gux-tab-list gux-tab{box-sizing:border-box;border-inline-end:var(--gse-ui-tabs-item-divider-vertical-width) solid var(--gse-ui-tabs-item-divider-dividerColor)}gux-tabs[orientation=vertical]>gux-tab-list gux-tab .gux-tab{display:flex;justify-content:flex-end;inline-size:var(--gse-ui-tabs-set-vertical-width);block-size:var(--gse-ui-tabs-item-vertical-fixedHeight);padding:var(--gse-ui-tabs-item-vertical-padding);border-inline-end:var(--gse-ui-tabs-item-indicator-vertical-width) solid transparent}gux-tabs[orientation=vertical]>gux-tab-list gux-tab .gux-tab.gux-active{border-inline-end-color:var(--gse-ui-tabs-item-indicator-activeColor)}gux-tabs[orientation=vertical]>gux-tab-list gux-tab .gux-tab:hover:not(.gux-active):not(.gux-disabled){border-inline-end-color:var(--gse-ui-tabs-item-indicator-hoverColor)}gux-tabs:not([orientation=vertical])>gux-tab-list .gux-tab{box-sizing:border-box;max-inline-size:160px;block-size:var(--gse-ui-tabs-item-horizontal-fixedHeight);padding:var(--gse-ui-tabs-item-horizontal-padding);border-block-end:var(--gse-ui-tabs-item-indicator-horizontal-height) solid transparent}gux-tabs:not([orientation=vertical])>gux-tab-list .gux-tab.gux-active{border-block-end-color:var(--gse-ui-tabs-item-indicator-activeColor)}gux-tabs:not([orientation=vertical])>gux-tab-list .gux-tab:hover:not(.gux-active):not(.gux-disabled){border-block-end-color:var(--gse-ui-tabs-item-indicator-hoverColor)}gux-tabs:not([orientation=vertical])>gux-tab-list .gux-tab gux-tooltip-title{margin:auto}gux-tabs[alignment=center]>gux-tab-list .gux-scrollable-section{justify-content:center}gux-tabs[alignment=full-width]>gux-tab-list .gux-scrollable-section{flex-grow:1}gux-tabs[alignment=full-width]>gux-tab-list gux-tab{inline-size:100%;max-inline-size:100%}gux-tabs[alignment=full-width]>gux-tab-list gux-tab .gux-tab{inline-size:100%;max-inline-size:100%}gux-tab{display:flex}gux-tab .gux-tab{display:flex;align-items:center;block-size:var(--gse-ui-tabs-item-height);font-family:var(--gse-ui-tabs-item-itemText-fontFamily);font-size:var(--gse-ui-tabs-item-itemText-fontSize);font-weight:var(--gse-ui-tabs-item-itemText-fontWeight);line-height:var(--gse-ui-tabs-item-itemText-lineHeight);color:var(--gse-ui-tabs-item-itemTextColor);cursor:pointer;background-color:transparent;border:none}gux-tab .gux-tab.gux-disabled{cursor:default}gux-tab .gux-tab.gux-disabled gux-tooltip-title{opacity:var(--gse-ui-tabs-item-disableOpacity)}gux-tab .gux-tab:focus-visible{outline:none;border:var(--gse-ui-tabs-focusRing-border-width) var(--gse-ui-tabs-focusRing-border-style) var(--gse-ui-tabs-focusRing-border-color);border-radius:var(--gse-ui-tabs-focusRing-borderRadius)}gux-tab .gux-tab gux-tooltip-title{white-space:nowrap}";export{a as gux_tab}
1
+ import{r as t,c as i,h as e}from"./p-ffb7c9dc.js";const a=class{constructor(e){t(this,e),this.internalactivatetabpanel=i(this,"internalactivatetabpanel",7),this.tabId=void 0,this.guxDisabled=!1,this.active=!1}onClick(){this.active||this.guxDisabled||this.internalactivatetabpanel.emit(this.tabId)}onFocusin(){this.tooltipTitleElement.setShowTooltip()}onFocusout(){this.tooltipTitleElement.setHideTooltip()}async guxSetActive(t){this.active=t}async guxFocus(){this.buttonElement.focus()}async guxGetActive(){return this.active}getTabIndex(){return this.guxDisabled?null:this.active?0:-1}render(){return e("button",{key:"8b459e4b2520b137c8b99dd1c2cad619e808abe8",class:{"gux-disabled":this.guxDisabled,"gux-tab":!0,"gux-active":this.active},type:"button",disabled:this.guxDisabled,id:`gux-${this.tabId}-tab`,role:"tab","aria-controls":`gux-${this.tabId}-panel`,"aria-selected":this.active.toString(),tabIndex:this.getTabIndex(),ref:t=>this.buttonElement=t},e("gux-tooltip-title",{key:"debb89a76f49647cec68f9172237f61d07765052",ref:t=>this.tooltipTitleElement=t},e("span",{key:"4e1d76c0307fdc8430190330b6914184121366b7"},e("slot",{key:"ee01e0ecd72af03426159cd719fe7cbf70b55b7a"}))))}};a.style="gux-tabs[orientation=vertical]>gux-tab-list gux-tab{box-sizing:border-box;border-inline-end:var(--gse-ui-tabs-item-divider-vertical-width) solid var(--gse-ui-tabs-item-divider-dividerColor)}gux-tabs[orientation=vertical]>gux-tab-list gux-tab .gux-tab{display:flex;justify-content:flex-end;inline-size:var(--gse-ui-tabs-set-vertical-width);block-size:var(--gse-ui-tabs-item-vertical-fixedHeight);padding:var(--gse-ui-tabs-item-vertical-padding);border-inline-end:var(--gse-ui-tabs-item-indicator-vertical-width) solid transparent}gux-tabs[orientation=vertical]>gux-tab-list gux-tab .gux-tab.gux-active{border-inline-end-color:var(--gse-ui-tabs-item-indicator-activeColor)}gux-tabs[orientation=vertical]>gux-tab-list gux-tab .gux-tab:hover:not(.gux-active):not(.gux-disabled){border-inline-end-color:var(--gse-ui-tabs-item-indicator-hoverColor)}gux-tabs:not([orientation=vertical])>gux-tab-list .gux-tab{box-sizing:border-box;max-inline-size:160px;block-size:var(--gse-ui-tabs-item-horizontal-fixedHeight);padding:var(--gse-ui-tabs-item-horizontal-padding);border-block-end:var(--gse-ui-tabs-item-indicator-horizontal-height) solid transparent}gux-tabs:not([orientation=vertical])>gux-tab-list .gux-tab.gux-active{border-block-end-color:var(--gse-ui-tabs-item-indicator-activeColor)}gux-tabs:not([orientation=vertical])>gux-tab-list .gux-tab:hover:not(.gux-active):not(.gux-disabled){border-block-end-color:var(--gse-ui-tabs-item-indicator-hoverColor)}gux-tabs:not([orientation=vertical])>gux-tab-list .gux-tab gux-tooltip-title{margin:auto}gux-tabs[alignment=center]>gux-tab-list .gux-scrollable-section{justify-content:center}gux-tabs[alignment=full-width]>gux-tab-list .gux-scrollable-section{flex-grow:1}gux-tabs[alignment=full-width]>gux-tab-list gux-tab{inline-size:100%;max-inline-size:100%}gux-tabs[alignment=full-width]>gux-tab-list gux-tab .gux-tab{inline-size:100%;max-inline-size:100%}gux-tab{display:flex}gux-tab .gux-tab{display:flex;align-items:center;block-size:var(--gse-ui-tabs-item-height);font-family:var(--gse-ui-tabs-item-itemText-fontFamily);font-size:var(--gse-ui-tabs-item-itemText-fontSize);font-weight:var(--gse-ui-tabs-item-itemText-fontWeight);line-height:var(--gse-ui-tabs-item-itemText-lineHeight);color:var(--gse-ui-tabs-item-itemTextColor);cursor:pointer;background-color:transparent;border:none}gux-tab .gux-tab.gux-disabled{cursor:default}gux-tab .gux-tab.gux-disabled gux-tooltip-title{opacity:var(--gse-ui-tabs-item-disableOpacity)}gux-tab .gux-tab:focus-visible{outline:none;border:var(--gse-ui-tabs-focusRing-border-width) var(--gse-ui-tabs-focusRing-border-style) var(--gse-ui-tabs-focusRing-border-color);border-radius:var(--gse-ui-tabs-focusRing-borderRadius)}gux-tab .gux-tab gux-tooltip-title{white-space:nowrap}";export{a as gux_tab}
@@ -1 +1 @@
1
- import{r as t,c as i,h as s,H as e,g as o}from"./p-086c5088.js";import{c as n,h as r,s as a,b as h,d as l,e as u,f as d,i as c,j as g,k as p,l as m,a as v,o as b}from"./p-870844dc.js";import{b as x}from"./p-d15985f1.js";import{w as f}from"./p-e97879b4.js";import{s as w}from"./p-2c25e2f2.js";import{t as O}from"./p-8c726743.js";import{b as y}from"./p-cf0e7d3b.js";import"./p-4202e9f2.js";const C={add:"Add {name}",noMatches:"No matches",loading:"Loading..."},j=class{constructor(s){t(this,s),this.internallistboxoptionsupdated=i(this,"internallistboxoptionsupdated",7),this.value=void 0,this.loading=!1,this.filter="",this.textInput="",this.filterType="none",this.emptyMessage=void 0,this.disabled=!1,this.listboxOptions=[],this.allListboxOptionsFiltered=void 0,this.hasExactMatch=!1}onBlur(){n(this.root)}selectNewCustomOption(t){this.updateValue(t.detail)}onKeydown(t){var i;if(!r(this.root))return t.preventDefault(),void a(this.root);switch(t.key){case"Enter":return t.preventDefault(),void((null===(i=this.optionCreateElement)||void 0===i?void 0:i.active)?(this.optionCreateElement.guxEmitInternalCreateNewOption(),y((()=>{a(this.root)}))):p(this.root,(t=>this.updateValue(t))));case"ArrowDown":return t.preventDefault(),void(c(this.root)?(t.stopPropagation(),g(this.root)):l(this.root));case"ArrowUp":return t.preventDefault(),void(u(this.root)?(t.stopPropagation(),d(this.root)):h(this.root));case"Home":return t.preventDefault(),void l(this.root);case"End":return t.preventDefault(),void h(this.root);case" ":return void t.preventDefault()}1!==t.key.length||m(this.root,t.key)}onKeyup(t){var i;" "!==t.key||((null===(i=this.optionCreateElement)||void 0===i?void 0:i.active)?(this.optionCreateElement.guxEmitInternalCreateNewOption(),y((()=>{a(this.root)}))):p(this.root,(t=>this.updateValue(t))))}onMousemove(){n(this.root)}onClick(t){f("gux-option-multi",t,(t=>{b(t,(t=>this.updateValue(t)))}))}async guxSelectActive(){p(this.root,(t=>this.updateValue(t)))}getHasExactMatch(){let t=!1;return this.hasExactMatch=!1,this.listboxOptions.forEach((i=>{var s,e;(null===(e=null===(s=i.textContent)||void 0===s?void 0:s.toLowerCase())||void 0===e?void 0:e.trim())==this.textInput.toLowerCase().trim()&&(t=!0,this.hasExactMatch=!0)})),t}updateOptionMultiCreateValue(){this.optionCreateElement&&(this.optionCreateElement.value=this.textInput,this.optionCreateElement.filtered=!this.textInput||this.getHasExactMatch())}getSelectedValues(){return this.value?this.value.split(","):[]}updateOnSlotChange(){this.setListboxOptions(),this.updateListboxOptions()}getOptionCreateElement(){this.optionCreateElement=this.root.querySelector("gux-create-option")}setListboxOptions(){this.listboxOptions=Array.from(this.root.children).filter((t=>"GUX-OPTION-MULTI"===t.tagName)),this.internallistboxoptionsupdated.emit()}updateListboxOptions(){this.listboxOptions.forEach((t=>{var i;t.selected=this.getSelectedValues().includes(t.value),"custom"!==this.filterType&&"none"!==this.filterType&&(t.filtered=!(null===(i=v(t))||void 0===i?void 0:i.textContent.trim().toLowerCase().startsWith(this.textInput.toLowerCase())))}))}updateValue(t){if(this.getSelectedValues().includes(t)){const i=this.getSelectedValues().filter((i=>i!==t));this.value=i.length?i.join(","):void 0}else{const i=[...this.getSelectedValues(),t];this.value=i.join(",")}w(this.root,"input"),w(this.root,"change")}async componentWillLoad(){O(this.root),this.i18n=await x(this.root,C),this.setListboxOptions(),this.getOptionCreateElement()}componentWillRender(){this.setListboxOptions(),this.updateListboxOptions(),this.allListboxOptionsFiltered=0===this.listboxOptions.filter((t=>!t.filtered)).length}renderHiddenSlot(){return s("div",{hidden:!0},s("slot",{onSlotchange:()=>this.setListboxOptions()}))}renderLoading(){return[s("div",{class:"gux-message-container"},s("gux-radial-loading",{context:"modal"}),s("span",null,this.i18n("loading"))),this.renderHiddenSlot()]}renderAllListboxOptionsFiltered(){if(this.allListboxOptionsFiltered)return[s("div",{class:"gux-message-container"},s("div",{class:"gux-no-matches"},this.emptyMessage||this.i18n("noMatches"))),this.renderHiddenSlot()]}renderCreateOptionSlot(){return s("slot",{name:"create"})}render(){return this.loading?this.renderLoading():s(e,{role:"listbox","aria-multiselectable":"true",tabindex:0},s("slot",{onSlotchange:()=>this.updateOnSlotChange()}),this.renderAllListboxOptionsFiltered(),this.renderCreateOptionSlot())}get root(){return o(this)}static get watchers(){return{textInput:["updateOptionMultiCreateValue"]}}};j.style=":host{box-sizing:border-box;display:block;max-block-size:var(--gse-ui-menu-maxHeight);padding:var(--gse-ui-menu-padding);overflow:hidden auto;outline:none;scrollbar-color:var(--gse-ui-menu-scrollbar-foregroundColor);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);box-shadow:var(--gse-ui-menu-boxShadow)}.gux-message-container{display:flex;flex-direction:column;flex-wrap:nowrap;place-content:stretch center;align-items: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)}";export{j as gux_listbox_multi}
1
+ import{r as t,c as i,h as s,H as e,g as o}from"./p-ffb7c9dc.js";import{c as n,h as r,s as a,b as h,d as l,e as u,f as d,i as c,j as g,k as p,l as m,a as v,o as b}from"./p-870844dc.js";import{b as x}from"./p-cfeaf436.js";import{w as f}from"./p-e97879b4.js";import{s as w}from"./p-2c25e2f2.js";import{t as O}from"./p-db306845.js";import{b as y}from"./p-cf0e7d3b.js";import"./p-4202e9f2.js";const C={add:"Add {name}",noMatches:"No matches",loading:"Loading..."},j=class{constructor(s){t(this,s),this.internallistboxoptionsupdated=i(this,"internallistboxoptionsupdated",7),this.value=void 0,this.loading=!1,this.filter="",this.textInput="",this.filterType="none",this.emptyMessage=void 0,this.disabled=!1,this.listboxOptions=[],this.allListboxOptionsFiltered=void 0,this.hasExactMatch=!1}onBlur(){n(this.root)}selectNewCustomOption(t){this.updateValue(t.detail)}onKeydown(t){var i;if(!r(this.root))return t.preventDefault(),void a(this.root);switch(t.key){case"Enter":return t.preventDefault(),void((null===(i=this.optionCreateElement)||void 0===i?void 0:i.active)?(this.optionCreateElement.guxEmitInternalCreateNewOption(),y((()=>{a(this.root)}))):p(this.root,(t=>this.updateValue(t))));case"ArrowDown":return t.preventDefault(),void(c(this.root)?(t.stopPropagation(),g(this.root)):l(this.root));case"ArrowUp":return t.preventDefault(),void(u(this.root)?(t.stopPropagation(),d(this.root)):h(this.root));case"Home":return t.preventDefault(),void l(this.root);case"End":return t.preventDefault(),void h(this.root);case" ":return void t.preventDefault()}1!==t.key.length||m(this.root,t.key)}onKeyup(t){var i;" "!==t.key||((null===(i=this.optionCreateElement)||void 0===i?void 0:i.active)?(this.optionCreateElement.guxEmitInternalCreateNewOption(),y((()=>{a(this.root)}))):p(this.root,(t=>this.updateValue(t))))}onMousemove(){n(this.root)}onClick(t){f("gux-option-multi",t,(t=>{b(t,(t=>this.updateValue(t)))}))}async guxSelectActive(){p(this.root,(t=>this.updateValue(t)))}getHasExactMatch(){let t=!1;return this.hasExactMatch=!1,this.listboxOptions.forEach((i=>{var s,e;(null===(e=null===(s=i.textContent)||void 0===s?void 0:s.toLowerCase())||void 0===e?void 0:e.trim())==this.textInput.toLowerCase().trim()&&(t=!0,this.hasExactMatch=!0)})),t}updateOptionMultiCreateValue(){this.optionCreateElement&&(this.optionCreateElement.value=this.textInput,this.optionCreateElement.filtered=!this.textInput||this.getHasExactMatch())}getSelectedValues(){return this.value?this.value.split(","):[]}updateOnSlotChange(){this.setListboxOptions(),this.updateListboxOptions()}getOptionCreateElement(){this.optionCreateElement=this.root.querySelector("gux-create-option")}setListboxOptions(){this.listboxOptions=Array.from(this.root.children).filter((t=>"GUX-OPTION-MULTI"===t.tagName)),this.internallistboxoptionsupdated.emit()}updateListboxOptions(){this.listboxOptions.forEach((t=>{var i;t.selected=this.getSelectedValues().includes(t.value),"custom"!==this.filterType&&"none"!==this.filterType&&(t.filtered=!(null===(i=v(t))||void 0===i?void 0:i.textContent.trim().toLowerCase().startsWith(this.textInput.toLowerCase())))}))}updateValue(t){if(this.getSelectedValues().includes(t)){const i=this.getSelectedValues().filter((i=>i!==t));this.value=i.length?i.join(","):void 0}else{const i=[...this.getSelectedValues(),t];this.value=i.join(",")}w(this.root,"input"),w(this.root,"change")}async componentWillLoad(){O(this.root),this.i18n=await x(this.root,C),this.setListboxOptions(),this.getOptionCreateElement()}componentWillRender(){this.setListboxOptions(),this.updateListboxOptions(),this.allListboxOptionsFiltered=0===this.listboxOptions.filter((t=>!t.filtered)).length}renderHiddenSlot(){return s("div",{hidden:!0},s("slot",{onSlotchange:()=>this.setListboxOptions()}))}renderLoading(){return[s("div",{class:"gux-message-container"},s("gux-radial-loading",{context:"modal"}),s("span",null,this.i18n("loading"))),this.renderHiddenSlot()]}renderAllListboxOptionsFiltered(){if(this.allListboxOptionsFiltered)return[s("div",{class:"gux-message-container"},s("div",{class:"gux-no-matches"},this.emptyMessage||this.i18n("noMatches"))),this.renderHiddenSlot()]}renderCreateOptionSlot(){return s("slot",{name:"create"})}render(){return this.loading?this.renderLoading():s(e,{role:"listbox","aria-multiselectable":"true",tabindex:0},s("slot",{onSlotchange:()=>this.updateOnSlotChange()}),this.renderAllListboxOptionsFiltered(),this.renderCreateOptionSlot())}get root(){return o(this)}static get watchers(){return{textInput:["updateOptionMultiCreateValue"]}}};j.style=":host{box-sizing:border-box;display:block;max-block-size:var(--gse-ui-menu-maxHeight);padding:var(--gse-ui-menu-padding);overflow:hidden auto;outline:none;scrollbar-color:var(--gse-ui-menu-scrollbar-foregroundColor);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);box-shadow:var(--gse-ui-menu-boxShadow)}.gux-message-container{display:flex;flex-direction:column;flex-wrap:nowrap;place-content:stretch center;align-items: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)}";export{j as gux_listbox_multi}
@@ -1 +1 @@
1
- import{r as t,h as s,H as i,g as o}from"./p-086c5088.js";import{t as r}from"./p-8c726743.js";import{b as n}from"./p-d15985f1.js";import{g as e,f as a,t as h}from"./p-bd48b8c8.js";import"./p-4202e9f2.js";const c=class{constructor(s){t(this,s),this.timeZoneId=void 0,this.offset=void 0,this.surroundOffset=void 0,this.shorten=void 0}renderZoneDisplay(){let t=this.i18n(this.timeZoneId);this.shorten&&(t=function(t){const s=t.split("/");return(null==s?void 0:s.pop())||t}(t));let i=t;if(this.offset){const s=function(t,s){const i=e().find((t=>t.name===s));return`${t}${a(null==i?void 0:i.currentTimeOffsetInMinutes)}`}(this.i18n("UTC"),this.timeZoneId);i=`${t} ${s}`,this.surroundOffset&&(i=`${t} (${s})`)}return s("span",null,i)}async componentWillLoad(){r(this.root),this.i18n=await n(this.root,h)}render(){return s(i,{key:"17e41884ee83d41db7a2b6436693da9b863835f3"},this.renderZoneDisplay())}get root(){return o(this)}};export{c as gux_time_zone_beta}
1
+ import{r as t,h as s,H as i,g as o}from"./p-ffb7c9dc.js";import{t as r}from"./p-db306845.js";import{b as n}from"./p-cfeaf436.js";import{g as e,f as a,t as f}from"./p-bd48b8c8.js";import"./p-4202e9f2.js";const c=class{constructor(s){t(this,s),this.timeZoneId=void 0,this.offset=void 0,this.surroundOffset=void 0,this.shorten=void 0}renderZoneDisplay(){let t=this.i18n(this.timeZoneId);this.shorten&&(t=function(t){const s=t.split("/");return(null==s?void 0:s.pop())||t}(t));let i=t;if(this.offset){const s=function(t,s){const i=e().find((t=>t.name===s));return`${t}${a(null==i?void 0:i.currentTimeOffsetInMinutes)}`}(this.i18n("UTC"),this.timeZoneId);i=`${t} ${s}`,this.surroundOffset&&(i=`${t} (${s})`)}return s("span",null,i)}async componentWillLoad(){r(this.root),this.i18n=await n(this.root,f)}render(){return s(i,{key:"4fb58f6c44898a3e8559abfb7fe1ca6d8fe98d29"},this.renderZoneDisplay())}get root(){return o(this)}};export{c as gux_time_zone_beta}
@@ -0,0 +1 @@
1
+ import{r as e,h as o,H as r}from"./p-ffb7c9dc.js";const n=class{constructor(o){e(this,o)}render(){return o(r,{key:"d418ab33495892865a07160fb86d9b8c2e136220",role:"menu"},o("slot",{key:"c59d1b1899f6fe0f01ca487e729e80d29302b029"}))}};n.style=":host{flex-direction:column;inline-size:fit-content;padding:var(--gse-ui-menu-padding);background-color:var(--gse-ui-flyoutMenu-backgroundColor);border:none;border-radius:var(--gse-ui-menu-borderRadius);box-shadow:var(--gse-ui-menu-boxShadow)}";export{n as gux_menu}
@@ -1 +1 @@
1
- import{r as e,c as i,h as a,g as r}from"./p-086c5088.js";import{b as l}from"./p-d15985f1.js";import{t as o}from"./p-8c726743.js";import"./p-4202e9f2.js";const t={removeFile:"Remove {filename} file",uploadingFile:"Uploading {filename} file",success:"{filename} file uploaded successfully",error:"{filename} file has an error"},d=class{constructor(a){e(this,a),this.guxremovefile=i(this,"guxremovefile",7),this.name=void 0,this.index=void 0,this.disabled=!1,this.status=void 0}async componentWillLoad(){this.getI18nValue=await l(this.root,t),o(this.root)}render(){return a("div",{key:"8c7de21311c7efcc6b3ee95dfe5224ffaea9ed2f",class:{"gux-file-list-item":!0,[`gux-${this.status}`]:!0,"gux-disabled":this.disabled}},a("div",{key:"e7c5b0957f52222c50c7599f69a4145e9f67ab74",class:"gux-info"},a("gux-truncate",{key:"a095b2528c551c7aafe85efb9a06dc5a1e357e41"},a("span",{key:"81732c744cd8230d5bcde46a39bf99c4a6b526bf",class:"gux-file-name"},this.name)),this.renderStatusIndicator(),this.renderFileRemoveButton()),this.renderAdditionalInfo())}renderStatusIndicator(){switch(this.status){case"loading":return a("gux-radial-loading",{context:"input","screenreader-text":this.getI18nValue("uploadingFile",{filename:this.name})});case"success":return a("gux-icon-tooltip-beta",{"icon-name":"fa/circle-check-solid",class:"gux-indicator"},a("span",{slot:"content"},this.getI18nValue("success",{filename:this.name})));case"error":return a("gux-icon-tooltip-beta",{"icon-name":"fa/hexagon-exclamation-solid",class:"gux-indicator"},a("span",{slot:"content"},this.getI18nValue("error",{filename:this.name})));default:return null}}renderFileRemoveButton(){return this.disabled?null:a("gux-button-slot",{accent:"ghost","icon-only":!0},a("button",{type:"button",onClick:()=>this.guxremovefile.emit(this.index)},a("gux-icon",{"icon-name":"fa/xmark-large-regular",size:"small",decorative:!0}),a("gux-screen-reader-beta",null,this.getI18nValue("removeFile",{filename:this.name}))))}renderAdditionalInfo(){return"error"===this.status?a("div",{class:"gux-additional-info"},a("div",{class:"gux-additional-info-header"},a("slot",{name:"additional-info-header"})),a("div",{class:"gux-additional-info-content"},a("slot",{name:"additional-info-content"}))):null}get root(){return r(this)}};d.style=':host{display:block}.gux-file-list-item{display:flex;flex-direction:column;align-items:flex-start;background-color:var(--gse-ui-fileUpload-fileCard-foregroundColor);border:var(--gse-ui-fileUpload-fileCard-mainContainer-default-border-width) var(--gse-ui-fileUpload-fileCard-mainContainer-default-border-style) var(--gse-ui-fileUpload-fileCard-mainContainer-default-border-color);border-radius:var(--gse-ui-fileUpload-fileCard-borderRadius);box-shadow:var(--gse-ui-fileUpload-fileCard-boxShadow)}.gux-file-list-item.gux-disabled{opacity:0.5}.gux-file-list-item.gux-error{padding-block-start:0;border:var(--gse-ui-fileUpload-fileCard-mainContainer-error-border-width) var(--gse-ui-fileUpload-fileCard-mainContainer-error-border-style) var(--gse-ui-fileUpload-fileCard-mainContainer-error-border-color)}.gux-file-list-item .gux-info{box-sizing:border-box;display:flex;gap:var(--gse-ui-fileUpload-fileCard-card-gap);align-items:center;inline-size:100%;block-size:32px;padding:var(--gse-ui-fileUpload-fileCard-card-padding)}.gux-file-list-item .gux-info .gux-file-name{font-family:var(--gse-ui-fileUpload-fileCard-fileName-text-fontFamily);font-size:var(--gse-ui-fileUpload-fileCard-fileName-text-fontSize);font-weight:var(--gse-ui-fileUpload-fileCard-fileName-text-fontWeight);line-height:var(--gse-ui-fileUpload-fileCard-fileName-text-lineHeight);color:var(--gse-ui-fileUpload-fileCard-fileName-default)}.gux-file-list-item .gux-info .gux-indicator[icon-name="fa/circle-check-solid"]{--gse-ui-formControl-label-tooltipTrigger-color:var(\n --gse-ui-fileUpload-fileCard-statusIcon-success\n )}.gux-file-list-item .gux-info .gux-indicator[icon-name="fa/hexagon-exclamation-solid"]{--gse-ui-formControl-label-tooltipTrigger-color:var(\n --gse-ui-fileUpload-fileCard-statusIcon-error\n )}.gux-file-list-item .gux-additional-info{display:flex;flex-direction:column;gap:var(--gse-ui-fileUpload-fileCard-card-errorCard-errorTextSection-gap);inline-size:100%;padding:var(--gse-ui-fileUpload-fileCard-card-errorCard-mainContainer-padding);font-family:var(--gse-ui-fileUpload-fileCard-error-text-fontFamily);font-size:var(--gse-ui-fileUpload-fileCard-error-text-fontSize);font-weight:var(--gse-ui-fileUpload-fileCard-error-text-fontWeight);line-height:var(--gse-ui-fileUpload-fileCard-error-text-lineHeight);border-block-start:var(--gse-ui-fileUpload-fileCard-mainContainer-default-border-width) var(--gse-ui-fileUpload-fileCard-mainContainer-default-border-style) var(--gse-ui-fileUpload-fileCard-mainContainer-default-border-color)}.gux-file-list-item .gux-additional-info .gux-additional-info-header{padding:var(--gse-ui-fileUpload-fileCard-card-padding);color:var(--gse-ui-fileUpload-fileCard-error-errorMessage)}.gux-file-list-item .gux-additional-info .gux-additional-info-content{padding:var(--gse-ui-fileUpload-fileCard-card-padding);color:var(--gse-ui-fileUpload-fileCard-error-errorHelper)}';export{d as gux_file_list_item}
1
+ import{r as e,c as i,h as a,g as r}from"./p-ffb7c9dc.js";import{b as l}from"./p-cfeaf436.js";import{t as o}from"./p-db306845.js";import"./p-4202e9f2.js";const t={removeFile:"Remove {filename} file",uploadingFile:"Uploading {filename} file",success:"{filename} file uploaded successfully",error:"{filename} file has an error"},d=class{constructor(a){e(this,a),this.guxremovefile=i(this,"guxremovefile",7),this.name=void 0,this.index=void 0,this.disabled=!1,this.status=void 0}async componentWillLoad(){this.getI18nValue=await l(this.root,t),o(this.root)}render(){return a("div",{key:"f45c9a8fd63502fc11f7b335556beb2d70acb49b",class:{"gux-file-list-item":!0,[`gux-${this.status}`]:!0,"gux-disabled":this.disabled}},a("div",{key:"86bafb60a2b20e14e0e6ef5bd38fee47d0ea3096",class:"gux-info"},a("gux-truncate",{key:"f4f841214860f392ed88741b44139dcf8a3e18c2"},a("span",{key:"f23791db1fe4fe023f1809376658882635ec1d91",class:"gux-file-name"},this.name)),this.renderStatusIndicator(),this.renderFileRemoveButton()),this.renderAdditionalInfo())}renderStatusIndicator(){switch(this.status){case"loading":return a("gux-radial-loading",{context:"input","screenreader-text":this.getI18nValue("uploadingFile",{filename:this.name})});case"success":return a("gux-icon-tooltip-beta",{"icon-name":"fa/circle-check-solid",class:"gux-indicator"},a("span",{slot:"content"},this.getI18nValue("success",{filename:this.name})));case"error":return a("gux-icon-tooltip-beta",{"icon-name":"fa/hexagon-exclamation-solid",class:"gux-indicator"},a("span",{slot:"content"},this.getI18nValue("error",{filename:this.name})));default:return null}}renderFileRemoveButton(){return this.disabled?null:a("gux-button-slot",{accent:"ghost","icon-only":!0},a("button",{type:"button",onClick:()=>this.guxremovefile.emit(this.index)},a("gux-icon",{"icon-name":"fa/xmark-large-regular",size:"small",decorative:!0}),a("gux-screen-reader-beta",null,this.getI18nValue("removeFile",{filename:this.name}))))}renderAdditionalInfo(){return"error"===this.status?a("div",{class:"gux-additional-info"},a("div",{class:"gux-additional-info-header"},a("slot",{name:"additional-info-header"})),a("div",{class:"gux-additional-info-content"},a("slot",{name:"additional-info-content"}))):null}get root(){return r(this)}};d.style=':host{display:block}.gux-file-list-item{display:flex;flex-direction:column;align-items:flex-start;background-color:var(--gse-ui-fileUpload-fileCard-foregroundColor);border:var(--gse-ui-fileUpload-fileCard-mainContainer-default-border-width) var(--gse-ui-fileUpload-fileCard-mainContainer-default-border-style) var(--gse-ui-fileUpload-fileCard-mainContainer-default-border-color);border-radius:var(--gse-ui-fileUpload-fileCard-borderRadius);box-shadow:var(--gse-ui-fileUpload-fileCard-boxShadow)}.gux-file-list-item.gux-disabled{opacity:0.5}.gux-file-list-item.gux-error{padding-block-start:0;border:var(--gse-ui-fileUpload-fileCard-mainContainer-error-border-width) var(--gse-ui-fileUpload-fileCard-mainContainer-error-border-style) var(--gse-ui-fileUpload-fileCard-mainContainer-error-border-color)}.gux-file-list-item .gux-info{box-sizing:border-box;display:flex;gap:var(--gse-ui-fileUpload-fileCard-card-gap);align-items:center;inline-size:100%;block-size:32px;padding:var(--gse-ui-fileUpload-fileCard-card-padding)}.gux-file-list-item .gux-info .gux-file-name{font-family:var(--gse-ui-fileUpload-fileCard-fileName-text-fontFamily);font-size:var(--gse-ui-fileUpload-fileCard-fileName-text-fontSize);font-weight:var(--gse-ui-fileUpload-fileCard-fileName-text-fontWeight);line-height:var(--gse-ui-fileUpload-fileCard-fileName-text-lineHeight);color:var(--gse-ui-fileUpload-fileCard-fileName-default)}.gux-file-list-item .gux-info .gux-indicator[icon-name="fa/circle-check-solid"]{--gse-ui-formControl-label-tooltipTrigger-color:var(\n --gse-ui-fileUpload-fileCard-statusIcon-success\n )}.gux-file-list-item .gux-info .gux-indicator[icon-name="fa/hexagon-exclamation-solid"]{--gse-ui-formControl-label-tooltipTrigger-color:var(\n --gse-ui-fileUpload-fileCard-statusIcon-error\n )}.gux-file-list-item .gux-additional-info{display:flex;flex-direction:column;gap:var(--gse-ui-fileUpload-fileCard-card-errorCard-errorTextSection-gap);inline-size:100%;padding:var(--gse-ui-fileUpload-fileCard-card-errorCard-mainContainer-padding);font-family:var(--gse-ui-fileUpload-fileCard-error-text-fontFamily);font-size:var(--gse-ui-fileUpload-fileCard-error-text-fontSize);font-weight:var(--gse-ui-fileUpload-fileCard-error-text-fontWeight);line-height:var(--gse-ui-fileUpload-fileCard-error-text-lineHeight);border-block-start:var(--gse-ui-fileUpload-fileCard-mainContainer-default-border-width) var(--gse-ui-fileUpload-fileCard-mainContainer-default-border-style) var(--gse-ui-fileUpload-fileCard-mainContainer-default-border-color)}.gux-file-list-item .gux-additional-info .gux-additional-info-header{padding:var(--gse-ui-fileUpload-fileCard-card-padding);color:var(--gse-ui-fileUpload-fileCard-error-errorMessage)}.gux-file-list-item .gux-additional-info .gux-additional-info-content{padding:var(--gse-ui-fileUpload-fileCard-card-padding);color:var(--gse-ui-fileUpload-fileCard-error-errorHelper)}';export{d as gux_file_list_item}
@@ -0,0 +1 @@
1
+ import{r as t,c as e,h as i,g as s}from"./p-ffb7c9dc.js";import{O as n}from"./p-da087c59.js";import{w as o}from"./p-e97879b4.js";import{a}from"./p-cf0e7d3b.js";import{t as r}from"./p-db306845.js";import{b as c}from"./p-cfeaf436.js";import"./p-4202e9f2.js";const d={moreOptions:"More options"},u=["primary","secondary","tertiary","danger"];function b(t){return u.find((e=>e===t))?t:"secondary"}const l=class{constructor(i){t(this,i),this.open=e(this,"open",7),this.close=e(this,"close",7),this.actionClick=e(this,"actionClick",7),this.type="button",this.disabled=!1,this.accent="secondary",this.isOpen=!1}handleKeydown(t){const e=t.composedPath();switch(t.key){case"Escape":this.isOpen=!1,e.includes(this.listElement)&&(t.preventDefault(),this.dropdownButton.focus());break;case"Tab":this.isOpen=!1;break;case"ArrowDown":case"Enter":e.includes(this.dropdownButton)&&(t.preventDefault(),this.isOpen=!0,this.focusFirstItemInPopupList())}}handleKeyup(t){if(" "===t.key)t.composedPath().includes(this.dropdownButton)&&(this.isOpen=!0,this.focusFirstItemInPopupList())}watchDisabled(t){t&&(this.isOpen=!1)}watchValue(t){t?this.open.emit():(this.listElement.blur(),this.close.emit())}onClickOutside(t){null===t.relatedTarget&&(this.isOpen=!1)}toggle(){this.disabled||(this.isOpen=!this.isOpen,this.isOpen&&this.focusPopupList())}focusPopupList(){a((()=>{var t;null===(t=this.listElement)||void 0===t||t.focus()}))}focusFirstItemInPopupList(){a((()=>{this.listElement.guxFocusFirstItem()}))}onActionClick(){this.disabled||(this.isOpen=!1,this.actionClick.emit())}onListClick(t){o("gux-list-item",t,(()=>{this.isOpen=!1,this.dropdownButton.focus()}))}async componentWillLoad(){r(this.root,{variant:this.type}),this.i18n=await c(this.root,d)}render(){return i("div",{key:"89fd4be8f1273c162804dd23300b4864121c5ac4",class:"gux-action-button-container"},i("gux-popup",{key:"4cd48945f00592a1262a88051201ff2092293582",expanded:this.isOpen,disabled:this.disabled,placement:"bottom-end","exceed-target-width":!0},i("div",{key:"9fe6750d29e5d868023a73537c74bff65eba6b44",slot:"target",class:"gux-action-button-container"},i("gux-button-slot",{key:"27f2f05a2283f659f17bdff6f6688480adba342b",class:"gux-action-button",accent:b(this.accent)},i("button",{key:"56e31ba2181ffc5a32ed3f958bb9aea1d085f645",type:this.type,disabled:this.disabled,onClick:()=>this.onActionClick()},i("slot",{key:"badbe7763a696be1c1e2856765dbc34a6371beb8",name:"title"}))),i("gux-button-slot",{key:"b87dc8eb56871ba638a777b0bed2a8c9291f68b5",class:"gux-dropdown-button",accent:b(this.accent)},i("button",{key:"bfa61a4734f307924606b190812994f143409a2f",type:"button",disabled:this.disabled,ref:t=>this.dropdownButton=t,onMouseUp:()=>this.toggle(),"aria-haspopup":"true","aria-expanded":this.isOpen.toString(),"aria-label":this.i18n("moreOptions")},i("gux-icon",{key:"6cfbd1ed584fb1c655190637a82c582b3cec8e8f",decorative:!0,"icon-name":"custom/chevron-down-small-regular",size:"small"})))),i("div",{key:"8892145f30e1d3772bd6bd2a909839f04019eb39",class:"gux-list-container",slot:"popup"},i("gux-list",{key:"058359e5b95d40601857fc2294084d040bc212de",onClick:t=>this.onListClick(t),ref:t=>this.listElement=t},i("slot",{key:"e3c30d28795358c6eb2b27445e73eb980482b26f"})))))}static get delegatesFocus(){return!0}get root(){return s(this)}static get watchers(){return{disabled:["watchDisabled"],isOpen:["watchValue"]}}};(function(t,e,i,s){var n,o=arguments.length,a=o<3?e:null===s?s=Object.getOwnPropertyDescriptor(e,i):s;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(t,e,i,s);else for(var r=t.length-1;r>=0;r--)(n=t[r])&&(a=(o<3?n(a):o>3?n(e,i,a):n(e,i))||a);o>3&&a&&Object.defineProperty(e,i,a)})([n({triggerEvents:"click"})],l.prototype,"onClickOutside",null),l.style=":host{display:block;-webkit-user-select:none;user-select:none}.gux-action-button-container{min-inline-size:128px}.gux-action-button-container>*{vertical-align:middle}.gux-action-button-container .gux-action-button{inline-size:calc(100% - 33px);margin-inline-end:1px}.gux-action-button-container .gux-action-button button{inline-size:100%;max-inline-size:none;text-align:center;border-start-end-radius:0;border-end-end-radius:0}.gux-action-button-container .gux-dropdown-button button{display:flex;align-items:center;justify-content:center;inline-size:var(--gse-ui-button-iconOnly-width);padding:0;border-start-start-radius:0;border-end-start-radius:0}.gux-action-button-container .gux-list-container{max-inline-size:220px;max-block-size:var(--gse-ui-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_action_button}
@@ -1 +1 @@
1
- import{r as t,c as e,h as o,g as n}from"./p-086c5088.js";import{t as i}from"./p-8c726743.js";import{b as r}from"./p-d15985f1.js";import{a}from"./p-6b12dd16.js";import{f as s}from"./p-54822e3b.js";import"./p-4202e9f2.js";const u={eraseBtnAria:"Clear search text",navigateNextBtn:"Highlight next match",navigatePreviousBtn:"Highlight previous match",totalMatches:"{currentMatch, number} of {matchCount, number}",clear:"Clear"},c=class{constructor(o){t(this,o),this.guxcurrentmatchchanged=e(this,"guxcurrentmatchchanged",7),this.matchCount=0,this.currentMatch=0,this.disabled=void 0,this.value=void 0}async clear(){this.disabled||(this.matchCount=0,this.currentMatch=0,this.value="",this.resetInputSlottedElement(),this.emitCurrentMatchChanged(),this.inputSlottedElement.focus())}async componentWillLoad(){i(this.root),this.i18n=await r(this.root,u),this.inputSlottedElement=this.root.querySelector("input"),this.disabled=this.inputSlottedElement.disabled,this.value=this.inputSlottedElement.value,this.disabledObserver=a(this.inputSlottedElement,(t=>{this.disabled=t})),this.inputSlottedElement.addEventListener("input",(t=>this.onInput(t)))}disconnectedCallback(){this.disabledObserver&&this.disabledObserver.disconnect()}render(){return o("div",{key:"c13e18adcc7893bd09918918011f06a6c631b690",class:{"gux-content-search":!0,"gux-disabled":this.disabled},onClick:()=>s(this.inputSlottedElement)},o("div",{key:"9ba14b3d49298ebda817fb6d600dbad6dfa63713",class:"gux-search-icon"},o("gux-icon",{key:"2146014de1e824adcb11d8a0d61d12604c9b3206",size:"small",decorative:!0,"icon-name":"fa/magnifying-glass-regular"})),o("slot",{key:"ea3eb44b3235e9cfc0bb3f3afd7c0b3c81864332"}),this.getNavigationPanel())}getNavigationPanel(){if(this.showNavigationPanel()){const t=this.disableNavigationPanel();return o("div",{class:"gux-content-control-panel"},o("div",{class:{"gux-navigation-panel":!0,"gux-navigation-disabled":t},"aria-disabled":t.toString()},o("span",{class:{"gux-navigation-result":!0,"gux-navigation-result-disabled":t}},this.matchCountResult()),o("div",{class:"gux-navigation-buttons"},o("button",{type:"button",class:"gux-previous-button",title:this.i18n("navigatePreviousBtn"),"aria-label":this.i18n("navigatePreviousBtn"),onClick:()=>this.previousClick(),disabled:t},o("gux-icon",{decorative:!0,"icon-name":"fa/caret-up-solid",size:"small"})),o("button",{type:"button",class:"gux-next-button",title:this.i18n("navigateNextBtn"),"aria-label":this.i18n("navigateNextBtn"),onClick:()=>this.nextClick(),disabled:t},o("gux-icon",{decorative:!0,"icon-name":"fa/caret-down-solid",size:"small"}))),o("div",{class:"gux-navigation-divider"})),o("button",{class:"gux-clear-button",tabIndex:-1,type:"button",title:this.i18n("clear"),onClick:()=>{this.clear()},disabled:t},o("gux-icon",{"icon-name":"fa/xmark-large-regular",decorative:!0,size:"small"})))}return null}matchCountResult(){return this.i18n("totalMatches",{currentMatch:this.getNormalizedCurrentMatch(),matchCount:this.getNormalizedMatchCount()})}showNavigationPanel(){return""!==this.value}disableNavigationPanel(){return this.disabled||this.getNormalizedMatchCount()<=0}getNormalizedMatchCount(){return this.matchCount&&Number.isInteger(this.matchCount)&&this.matchCount>=0?Number(this.matchCount):0}getNormalizedCurrentMatch(){return this.currentMatch&&Number.isInteger(this.currentMatch)&&this.currentMatch>=0&&this.currentMatch<=this.getNormalizedMatchCount()&&this.getNormalizedMatchCount()>0?Number(this.currentMatch):0}resetInputSlottedElement(){this.inputSlottedElement.value="",this.inputSlottedElement.dispatchEvent(new InputEvent("input",{bubbles:!0,cancelable:!0})),this.inputSlottedElement.dispatchEvent(new InputEvent("change",{bubbles:!0}))}nextClick(){this.disableNavigationPanel()||(this.currentMatch=this.getNormalizedCurrentMatch()===this.getNormalizedMatchCount()?1:this.getNormalizedCurrentMatch()+1,this.emitCurrentMatchChanged())}previousClick(){this.disableNavigationPanel()||(this.currentMatch=1===this.getNormalizedCurrentMatch()||0===this.getNormalizedCurrentMatch()?this.getNormalizedMatchCount():this.getNormalizedCurrentMatch()-1,this.emitCurrentMatchChanged())}onInput(t){this.value=t.target.value}emitCurrentMatchChanged(){this.guxcurrentmatchchanged.emit(this.getNormalizedCurrentMatch())}get root(){return n(this)}};c.style=":host{display:inline-block;inline-size:var(--gse-ui-search-width);min-inline-size:var(--gse-ui-search-width)}::slotted(input[disabled]){opacity:var(--gse-ui-formControl-input-disabled-opacity)}::slotted(input){box-sizing:border-box;flex-shrink:1;flex-basis:100%;inline-size:100%;overflow:hidden;text-overflow:ellipsis;font-family:var(--gse-ui-search-counter-text-fontFamily);font-size:var(--gse-ui-search-counter-text-fontSize);font-weight:var(--gse-ui-search-counter-text-fontWeight);line-height:var(--gse-ui-search-counter-text-lineHeight);color:var(--gse-ui-formControl-input-populatedColor);white-space:nowrap;outline:none;background-color:var(--gse-ui-formControl-input-backgroundColor);background-image:none;border:0;border-radius:0}::slotted(input)::placeholder{color:var(--gse-ui-formControl-input-populatedColor)}::slotted(input).gux-focused,::slotted(input):focus,::slotted(input):focus-visible{outline:none;border:0;box-shadow:none}.gux-content-search{box-sizing:border-box;display:flex;flex-direction:row;gap:var(--gse-ui-formControl-input-gap);inline-size:100%;block-size:var(--gse-ui-formControl-input-textfield-height);padding:var(--gse-ui-formControl-textarea-padding);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-content-search gux-truncate{display:flex;align-items:center}.gux-content-search.gux-disabled{pointer-events:none;cursor:default;opacity:var(--gse-ui-formControl-input-disabled-opacity)}.gux-content-search:focus-visible,.gux-content-search: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-content-search:not(:disabled):not(.gux-disabled):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-content-search .gux-search-icon{display:flex;flex-shrink:0;align-items:center}.gux-content-search .gux-search-icon:disabled{pointer-events:none;cursor:default;opacity:var(--gse-ui-formControl-input-disabled-opacity)}.gux-content-search .gux-search-icon gux-icon{color:var(--gse-ui-formControl-input-inputIcon-defaultColor)}.gux-content-search .gux-content-control-panel{box-sizing:border-box;display:flex;flex-grow:1;flex-shrink:0;gap:var(--gse-ui-formControl-input-gap);place-content:center flex-end;align-items:center;padding:0}.gux-content-search .gux-content-control-panel button{display:block;align-items:center;block-size:var(--gse-ui-search-counter-icon-height);padding:0;overflow:hidden;color:var(--gse-ui-search-counter-default-foregroundColor);cursor:pointer;outline:none;background:none;border:none;border-radius:var(--gse-ui-button-borderRadius)}.gux-content-search .gux-content-control-panel button:disabled{pointer-events:none;cursor:default;opacity:var(--gse-ui-formControl-input-disabled-opacity)}.gux-content-search .gux-content-control-panel button:not(:disabled):hover,.gux-content-search .gux-content-control-panel button:not(:disabled):focus-visible{color:var(--gse-ui-search-counter-hover-foregroundColor)}.gux-content-search .gux-content-control-panel button:not(.gux-clear-button):focus-visible:enabled{outline:var(--gse-semantic-focusOutline-md-borderWidth) solid var(--gse-semantic-border-focus);outline-offset:var(--gse-semantic-focusOutline-offset)}.gux-content-search .gux-content-control-panel button.gux-clear-button{flex-shrink:0;align-items:center}.gux-content-search .gux-content-control-panel button.gux-clear-button gux-icon{inline-size:var(--gse-ui-icon-small-size);block-size:var(--gse-ui-icon-small-size)}.gux-content-search .gux-content-control-panel .gux-navigation-disabled{pointer-events:auto;cursor:default;opacity:var(--gse-ui-formControl-input-disabled-opacity)}.gux-content-search .gux-content-control-panel .gux-navigation-panel{display:flex;gap:var(--gse-ui-search-counter-gap);align-items:center}.gux-content-search .gux-content-control-panel .gux-navigation-panel .gux-navigation-divider{box-sizing:border-box;align-self:center;block-size:var(--gse-ui-search-counter-divider-height);color:var(--gse-ui-search-counter-default-foregroundColor);border:var(--gse-ui-search-counter-divider-border-width) var(--gse-ui-search-counter-divider-border-style) var(--gse-ui-search-counter-divider-border-color)}.gux-content-search .gux-content-control-panel .gux-navigation-panel .gux-navigation-buttons{display:flex;flex-direction:row}.gux-content-search .gux-content-control-panel .gux-navigation-panel .gux-navigation-result{align-items:center;color:var(--gse-ui-search-counter-default-foregroundColor);white-space:nowrap}.gux-content-search .gux-content-control-panel .gux-navigation-panel .gux-previous-button{flex-shrink:0;align-items:center}.gux-content-search .gux-content-control-panel .gux-navigation-panel .gux-next-button{flex-shrink:0;align-items:center}";export{c as gux_content_search}
1
+ import{r as t,c as e,h as o,g as n}from"./p-ffb7c9dc.js";import{t as i}from"./p-db306845.js";import{b as r}from"./p-cfeaf436.js";import{a}from"./p-6b12dd16.js";import{f as s}from"./p-54822e3b.js";import"./p-4202e9f2.js";const u={eraseBtnAria:"Clear search text",navigateNextBtn:"Highlight next match",navigatePreviousBtn:"Highlight previous match",totalMatches:"{currentMatch, number} of {matchCount, number}",clear:"Clear"},c=class{constructor(o){t(this,o),this.guxcurrentmatchchanged=e(this,"guxcurrentmatchchanged",7),this.matchCount=0,this.currentMatch=0,this.disabled=void 0,this.value=void 0}async clear(){this.disabled||(this.matchCount=0,this.currentMatch=0,this.value="",this.resetInputSlottedElement(),this.emitCurrentMatchChanged(),this.inputSlottedElement.focus())}async componentWillLoad(){i(this.root),this.i18n=await r(this.root,u),this.inputSlottedElement=this.root.querySelector("input"),this.disabled=this.inputSlottedElement.disabled,this.value=this.inputSlottedElement.value,this.disabledObserver=a(this.inputSlottedElement,(t=>{this.disabled=t})),this.inputSlottedElement.addEventListener("input",(t=>this.onInput(t)))}disconnectedCallback(){this.disabledObserver&&this.disabledObserver.disconnect()}render(){return o("div",{key:"b1dce1f7aa5e42b1f72bc78a282edccf350d40b1",class:{"gux-content-search":!0,"gux-disabled":this.disabled},onClick:()=>s(this.inputSlottedElement)},o("div",{key:"702e0c26122e5d518cd3884cfead0d86fee2e513",class:"gux-search-icon"},o("gux-icon",{key:"596191bbf3977b96de332021c6b57a40af9ab6bd",size:"small",decorative:!0,"icon-name":"fa/magnifying-glass-regular"})),o("slot",{key:"6483f37646aa35eb410195df959b7fa60f434cd8"}),this.getNavigationPanel())}getNavigationPanel(){if(this.showNavigationPanel()){const t=this.disableNavigationPanel();return o("div",{class:"gux-content-control-panel"},o("div",{class:{"gux-navigation-panel":!0,"gux-navigation-disabled":t},"aria-disabled":t.toString()},o("span",{class:{"gux-navigation-result":!0,"gux-navigation-result-disabled":t}},this.matchCountResult()),o("div",{class:"gux-navigation-buttons"},o("button",{type:"button",class:"gux-previous-button",title:this.i18n("navigatePreviousBtn"),"aria-label":this.i18n("navigatePreviousBtn"),onClick:()=>this.previousClick(),disabled:t},o("gux-icon",{decorative:!0,"icon-name":"fa/caret-up-solid",size:"small"})),o("button",{type:"button",class:"gux-next-button",title:this.i18n("navigateNextBtn"),"aria-label":this.i18n("navigateNextBtn"),onClick:()=>this.nextClick(),disabled:t},o("gux-icon",{decorative:!0,"icon-name":"fa/caret-down-solid",size:"small"}))),o("div",{class:"gux-navigation-divider"})),o("button",{class:"gux-clear-button",tabIndex:-1,type:"button",title:this.i18n("clear"),onClick:()=>{this.clear()},disabled:t},o("gux-icon",{"icon-name":"fa/xmark-large-regular",decorative:!0,size:"small"})))}return null}matchCountResult(){return this.i18n("totalMatches",{currentMatch:this.getNormalizedCurrentMatch(),matchCount:this.getNormalizedMatchCount()})}showNavigationPanel(){return""!==this.value}disableNavigationPanel(){return this.disabled||this.getNormalizedMatchCount()<=0}getNormalizedMatchCount(){return this.matchCount&&Number.isInteger(this.matchCount)&&this.matchCount>=0?Number(this.matchCount):0}getNormalizedCurrentMatch(){return this.currentMatch&&Number.isInteger(this.currentMatch)&&this.currentMatch>=0&&this.currentMatch<=this.getNormalizedMatchCount()&&this.getNormalizedMatchCount()>0?Number(this.currentMatch):0}resetInputSlottedElement(){this.inputSlottedElement.value="",this.inputSlottedElement.dispatchEvent(new InputEvent("input",{bubbles:!0,cancelable:!0})),this.inputSlottedElement.dispatchEvent(new InputEvent("change",{bubbles:!0}))}nextClick(){this.disableNavigationPanel()||(this.currentMatch=this.getNormalizedCurrentMatch()===this.getNormalizedMatchCount()?1:this.getNormalizedCurrentMatch()+1,this.emitCurrentMatchChanged())}previousClick(){this.disableNavigationPanel()||(this.currentMatch=1===this.getNormalizedCurrentMatch()||0===this.getNormalizedCurrentMatch()?this.getNormalizedMatchCount():this.getNormalizedCurrentMatch()-1,this.emitCurrentMatchChanged())}onInput(t){this.value=t.target.value}emitCurrentMatchChanged(){this.guxcurrentmatchchanged.emit(this.getNormalizedCurrentMatch())}get root(){return n(this)}};c.style=":host{display:inline-block;inline-size:var(--gse-ui-search-width);min-inline-size:var(--gse-ui-search-width)}::slotted(input[disabled]){opacity:var(--gse-ui-formControl-input-disabled-opacity)}::slotted(input){box-sizing:border-box;flex-shrink:1;flex-basis:100%;inline-size:100%;overflow:hidden;text-overflow:ellipsis;font-family:var(--gse-ui-search-counter-text-fontFamily);font-size:var(--gse-ui-search-counter-text-fontSize);font-weight:var(--gse-ui-search-counter-text-fontWeight);line-height:var(--gse-ui-search-counter-text-lineHeight);color:var(--gse-ui-formControl-input-populatedColor);white-space:nowrap;outline:none;background-color:var(--gse-ui-formControl-input-backgroundColor);background-image:none;border:0;border-radius:0}::slotted(input)::placeholder{color:var(--gse-ui-formControl-input-populatedColor)}::slotted(input).gux-focused,::slotted(input):focus,::slotted(input):focus-visible{outline:none;border:0;box-shadow:none}.gux-content-search{box-sizing:border-box;display:flex;flex-direction:row;gap:var(--gse-ui-formControl-input-gap);inline-size:100%;block-size:var(--gse-ui-formControl-input-textfield-height);padding:var(--gse-ui-formControl-textarea-padding);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-content-search gux-truncate{display:flex;align-items:center}.gux-content-search.gux-disabled{pointer-events:none;cursor:default;opacity:var(--gse-ui-formControl-input-disabled-opacity)}.gux-content-search:focus-visible,.gux-content-search: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-content-search:not(:disabled):not(.gux-disabled):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-content-search .gux-search-icon{display:flex;flex-shrink:0;align-items:center}.gux-content-search .gux-search-icon:disabled{pointer-events:none;cursor:default;opacity:var(--gse-ui-formControl-input-disabled-opacity)}.gux-content-search .gux-search-icon gux-icon{color:var(--gse-ui-formControl-input-inputIcon-defaultColor)}.gux-content-search .gux-content-control-panel{box-sizing:border-box;display:flex;flex-grow:1;flex-shrink:0;gap:var(--gse-ui-formControl-input-gap);place-content:center flex-end;align-items:center;padding:0}.gux-content-search .gux-content-control-panel button{display:block;align-items:center;block-size:var(--gse-ui-search-counter-icon-height);padding:0;overflow:hidden;color:var(--gse-ui-search-counter-default-foregroundColor);cursor:pointer;outline:none;background:none;border:none;border-radius:var(--gse-ui-button-borderRadius)}.gux-content-search .gux-content-control-panel button:disabled{pointer-events:none;cursor:default;opacity:var(--gse-ui-formControl-input-disabled-opacity)}.gux-content-search .gux-content-control-panel button:not(:disabled):hover,.gux-content-search .gux-content-control-panel button:not(:disabled):focus-visible{color:var(--gse-ui-search-counter-hover-foregroundColor)}.gux-content-search .gux-content-control-panel button:not(.gux-clear-button):focus-visible:enabled{outline:var(--gse-semantic-focusOutline-md-borderWidth) solid var(--gse-semantic-border-focus);outline-offset:var(--gse-semantic-focusOutline-offset)}.gux-content-search .gux-content-control-panel button.gux-clear-button{flex-shrink:0;align-items:center}.gux-content-search .gux-content-control-panel button.gux-clear-button gux-icon{inline-size:var(--gse-ui-icon-small-size);block-size:var(--gse-ui-icon-small-size)}.gux-content-search .gux-content-control-panel .gux-navigation-disabled{pointer-events:auto;cursor:default;opacity:var(--gse-ui-formControl-input-disabled-opacity)}.gux-content-search .gux-content-control-panel .gux-navigation-panel{display:flex;gap:var(--gse-ui-search-counter-gap);align-items:center}.gux-content-search .gux-content-control-panel .gux-navigation-panel .gux-navigation-divider{box-sizing:border-box;align-self:center;block-size:var(--gse-ui-search-counter-divider-height);color:var(--gse-ui-search-counter-default-foregroundColor);border:var(--gse-ui-search-counter-divider-border-width) var(--gse-ui-search-counter-divider-border-style) var(--gse-ui-search-counter-divider-border-color)}.gux-content-search .gux-content-control-panel .gux-navigation-panel .gux-navigation-buttons{display:flex;flex-direction:row}.gux-content-search .gux-content-control-panel .gux-navigation-panel .gux-navigation-result{align-items:center;color:var(--gse-ui-search-counter-default-foregroundColor);white-space:nowrap}.gux-content-search .gux-content-control-panel .gux-navigation-panel .gux-previous-button{flex-shrink:0;align-items:center}.gux-content-search .gux-content-control-panel .gux-navigation-panel .gux-next-button{flex-shrink:0;align-items:center}";export{c as gux_content_search}
@@ -1 +1 @@
1
- import{r as t,h as s,g as i}from"./p-086c5088.js";import{t as r}from"./p-8c726743.js";const n=/[ +]/g,e=new Map,h=new Map;function a(t){return t.replace(/[\^$*+?.(){}[\]\\]/g,"\\$&")}const o=class{constructor(s){t(this,s),this.text=void 0,this.highlight=void 0,this.strategy="start",this.dimmed=!1}componentWillLoad(){r(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+=i+`<mark>${r}</mark>`,t.remaining=t.remaining.substring(s+r.length)}return s("span",{class:{"gux-dimmed":this.dimmed},innerHTML:t.highlighted+t.remaining})}renderFuzzy(){if(function(t,s){let i=e.get(t);return i||(i=function(t){const s=t.split(n).map(a);if(1===s.length)return new RegExp(s[0],"i");let i="(";return s.forEach(((t,r)=>{i+=t+").*",r!==s.length-1&&(i+="(")})),new RegExp(i+"$","i")}(t),e.set(t,i)),i.test(s)}(this.highlight,this.text)){const i=(t=this.highlight,t.split(n).map(a).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+e}<mark>${i}</mark>`,remaining:n.substring(r+i.length)}}),{highlighted:"",remaining:this.text});return s("span",{class:{"gux-dimmed":this.dimmed},innerHTML:i.highlighted+i.remaining})}var t;return s("span",{class:{"gux-dimmed":this.dimmed}},this.text)}get root(){return i(this)}};o.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{o as gux_text_highlight}
1
+ import{r as t,h as s,g as i}from"./p-ffb7c9dc.js";import{t as r}from"./p-db306845.js";const n=/[ +]/g,e=new Map,h=new Map;function a(t){return t.replace(/[\^$*+?.(){}[\]\\]/g,"\\$&")}const o=class{constructor(s){t(this,s),this.text=void 0,this.highlight=void 0,this.strategy="start",this.dimmed=!1}componentWillLoad(){r(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+=i+`<mark>${r}</mark>`,t.remaining=t.remaining.substring(s+r.length)}return s("span",{class:{"gux-dimmed":this.dimmed},innerHTML:t.highlighted+t.remaining})}renderFuzzy(){if(function(t,s){let i=e.get(t);return i||(i=function(t){const s=t.split(n).map(a);if(1===s.length)return new RegExp(s[0],"i");let i="(";return s.forEach(((t,r)=>{i+=t+").*",r!==s.length-1&&(i+="(")})),new RegExp(i+"$","i")}(t),e.set(t,i)),i.test(s)}(this.highlight,this.text)){const i=(t=this.highlight,t.split(n).map(a).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+e}<mark>${i}</mark>`,remaining:n.substring(r+i.length)}}),{highlighted:"",remaining:this.text});return s("span",{class:{"gux-dimmed":this.dimmed},innerHTML:i.highlighted+i.remaining})}var t;return s("span",{class:{"gux-dimmed":this.dimmed}},this.text)}get root(){return i(this)}};o.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{o as gux_text_highlight}
@@ -1 +1 @@
1
- import{r as e,h as n,g as a}from"./p-086c5088.js";import{t}from"./p-8c726743.js";import{O as i}from"./p-e07238b5.js";import{h as o}from"./p-6d8b4027.js";const s=class{constructor(n){e(this,n),this.hasCallToAction=!1}onMutation(){this.hasCallToAction=o(this.root,"call-to-action")}renderCallToActionSlot(){if(this.hasCallToAction)return n("gux-button-slot",{accent:"primary"},n("slot",{name:"call-to-action"}))}componentWillLoad(){t(this.root),this.hasCallToAction=o(this.root,"call-to-action")}render(){return n("div",{key:"a812183308ce82399d1dafa36e8ae80f40298505",class:"gux-container"},n("div",{key:"737ee62ee9f2b669070cd8a18924bd22ff9d86b3",class:"gux-image"},n("slot",{key:"4380b94f11a96e94178e5407ae29246ac2278e7c",name:"image"})),n("div",{key:"6c7ac6b33dd5873a83bcf05fef4fc980a858b6d9",class:"gux-message"},n("slot",{key:"a4a61cf10544e1966a6e7a63439ee137798f8aca",name:"primary-message"})),n("div",{key:"5f874e0c18a3065b9b02ab4e4aafb90e931443cf",class:"gux-guidance"},n("slot",{key:"53b008ec660295789193b71139dc727d2df7948e",name:"additional-guidance"})),this.renderCallToActionSlot())}get root(){return a(this)}};(function(e,n,a,t){var i,o=arguments.length,s=o<3?n:null===t?t=Object.getOwnPropertyDescriptor(n,a):t;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(e,n,a,t);else for(var r=e.length-1;r>=0;r--)(i=e[r])&&(s=(o<3?i(s):o>3?i(n,a,s):i(n,a))||s);o>3&&s&&Object.defineProperty(n,a,s)})([i({childList:!0,subtree:!0})],s.prototype,"onMutation",null),s.style=":host {\n display: flex;\n flex-direction: column;\n align-items: center;\n justify-content: center;\n container-type: inline-size;\n}\n\n.gux-container {\n display: flex;\n flex-direction: column;\n align-items: center;\n justify-content: center;\n padding: var(--gse-ui-blankState-padding);\n color: var(--gse-ui-blankState-foregroundColor);\n}\n.gux-container .gux-image {\n padding-block-end: var(--gse-ui-blankState-gapMain);\n}\n.gux-container .gux-message {\n padding-block-end: var(--gse-ui-blankState-gapMessage);\n}\n.gux-container .gux-guidance {\n padding-block-end: var(--gse-ui-blankState-gapContent);\n}\n.gux-container ::slotted(gux-icon) {\n inline-size: var(--gse-ui-blankState-icon-size-lg);\n block-size: var(--gse-ui-blankState-icon-size-lg);\n color: var(--gse-ui-blankState-iconColor);\n}\n.gux-container slot[name=primary-message] {\n font-family: var(--gse-ui-progressAndLoading-blankState-large-header-fontFamily);\n font-size: var(--gse-ui-progressAndLoading-blankState-large-header-fontSize);\n font-weight: var(--gse-ui-progressAndLoading-blankState-large-header-fontWeight);\n line-height: var(--gse-ui-progressAndLoading-blankState-large-header-lineHeight);\n color: var(--gse-ui-blankState-foregroundColor);\n text-align: center;\n}\n.gux-container slot[name=additional-guidance] {\n font-family: var(--gse-ui-progressAndLoading-blankState-large-subheader-fontFamily);\n font-size: var(--gse-ui-progressAndLoading-blankState-large-subheader-fontSize);\n font-weight: var(--gse-ui-progressAndLoading-blankState-large-subheader-fontWeight);\n line-height: var(--gse-ui-progressAndLoading-blankState-large-subheader-lineHeight);\n color: var(--gse-ui-blankState-foregroundColor);\n text-align: center;\n}\n\n@container (width < 570px) {\n .gux-container ::slotted(gux-icon) {\n inline-size: var(--gse-ui-blankState-icon-size-sm);\n block-size: var(--gse-ui-blankState-icon-size-sm);\n }\n .gux-container slot[name=primary-message] {\n font-family: var(--gse-ui-progressAndLoading-blankState-small-header-fontFamily);\n font-size: var(--gse-ui-progressAndLoading-blankState-small-header-fontSize);\n font-weight: var(--gse-ui-progressAndLoading-blankState-small-header-fontWeight);\n line-height: var(--gse-ui-progressAndLoading-blankState-small-header-lineHeight);\n }\n .gux-container slot[name=additional-guidance] {\n font-family: var(--gse-ui-progressAndLoading-blankState-small-subheader-fontFamily);\n font-size: var(--gse-ui-progressAndLoading-blankState-small-subheader-fontSize);\n font-weight: var(--gse-ui-progressAndLoading-blankState-small-subheader-fontWeight);\n line-height: var(--gse-ui-progressAndLoading-blankState-small-subheader-lineHeight);\n }\n}";export{s as gux_blank_state}
1
+ import{r as e,h as n,g as a}from"./p-ffb7c9dc.js";import{t}from"./p-db306845.js";import{O as i}from"./p-166634e1.js";import{h as o}from"./p-6d8b4027.js";const s=class{constructor(n){e(this,n),this.hasCallToAction=!1}onMutation(){this.hasCallToAction=o(this.root,"call-to-action")}renderCallToActionSlot(){if(this.hasCallToAction)return n("gux-button-slot",{accent:"primary"},n("slot",{name:"call-to-action"}))}componentWillLoad(){t(this.root),this.hasCallToAction=o(this.root,"call-to-action")}render(){return n("div",{key:"35698c8da560149df181c3467e861a440c513d6c",class:"gux-container"},n("div",{key:"334ac98587b5ffe56423a930fc3f4ce67a063ef3",class:"gux-image"},n("slot",{key:"e370ad5eae0d0e0c65baa6ad9ad20f38cddf81ee",name:"image"})),n("div",{key:"bfafa2bb9299a9365e23706c1519d9e1e61b8474",class:"gux-message"},n("slot",{key:"f831a637f82d32b21257e5c922197d17e0c67bcb",name:"primary-message"})),n("div",{key:"a35a64ca91ad73b3eef62b6f0a92d4d47ac68b8e",class:"gux-guidance"},n("slot",{key:"5f676f8550d376b8c3309db69b80932d823050ed",name:"additional-guidance"})),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}
@@ -0,0 +1 @@
1
+ import{r as t,h as a,H as i,g as e}from"./p-ffb7c9dc.js";import{s}from"./p-2c25e2f2.js";import{c as r}from"./p-a43079c8.js";import{t as o}from"./p-db306845.js";import{a as n}from"./p-8eaf8caf.js";const c=class{constructor(a){t(this,a),this.value=0,this.maxValue=5,this.disabled=!1,this.readonly=!1,this.increment="default"}onClick(t){if(t.stopPropagation(),this.disabled||this.readonly)return;const[a]=t.composedPath(),i=a.getRootNode(),e=Array.from(this.starContainer.children).findIndex((t=>t.shadowRoot===i))+1;e===this.value+.5?this.updateRatingValue(e):e===this.value?this.updateRatingValue(0):e!==Math.floor(this.value)?this.updateRatingValue("half"===this.increment?e-.5:e):this.updateRatingValue(e)}onKeyDown(t){if(t.stopPropagation(),this.disabled||this.readonly)return;const a="half"===this.increment?.5:1;switch(t.key){case"ArrowUp":case"ArrowRight":t.preventDefault(),this.updateRatingValue(this.value+a);break;case"ArrowDown":case"ArrowLeft":t.preventDefault(),this.updateRatingValue(this.value-a);break;case"End":t.preventDefault(),this.updateRatingValue(1/0);break;case"Home":t.preventDefault(),this.updateRatingValue(-1/0)}}updateRatingValue(t){const a=r(t,0,Array.from(this.starContainer.children).length),i="half"===this.increment?.5:1,e=Math.round(a/i)*i;this.value!==e&&(this.value=e,s(this.root,"input"),s(this.root,"change"))}getRatingStarElements(){return[...Array(this.maxValue).keys()].reduce(((t,a)=>t.concat(a+.5===this.value?"fa/star-sharp-half-stroke-regular":a+1<=this.value?"fa/star-solid":"fa/star-regular")),[]).map((t=>a("gux-icon",{"icon-name":t,decorative:!0})))}getTabIndex(){return this.disabled?-1:0}componentWillLoad(){o(this.root)}componentDidLoad(){this.root.getAttribute("aria-label")||this.root.getAttribute("aria-labelledby")||n(this.root,"`gux-rating` requires a label. Either provide a label and associate it with the gux-rating element using `aria-labelledby` or add an `aria-label` attribute to the gux-rating element.")}render(){return a(i,{key:"a2eedfafb0f2a77b61eaaf0fda86b6eec4898dec",role:"spinbutton",tabindex:this.getTabIndex(),"aria-readonly":this.readonly.toString(),"aria-valuenow":this.value,"aria-valuemin":"0","aria-valuemax":this.maxValue},a("div",{key:"454cdcac6c51eccc50c319042f42df05ef2aeaa1",ref:t=>this.starContainer=t,class:{"gux-rating-star-container":!0,"gux-disabled":this.disabled}},this.getRatingStarElements()))}get root(){return e(this)}};c.style=":host{display:inline-block;min-inline-size:fit-content;user-select:none}:host(:host:focus-visible){outline:var(--gse-semantic-focusOutline-sm-borderWidth) solid var(--gse-semantic-border-focus);outline-offset:var(--gse-semantic-focusOutline-offset);box-shadow:0 0 0 1px var(--gse-semantic-border-focus)}.gux-rating-star-container{display:flex;gap:var(--gse-ui-rating-star-gap);justify-content:space-between;color:var(--gse-ui-rating-default-color)}.gux-rating-star-container.gux-disabled{color:var(--gse-ui-rating-disabled-color);pointer-events:none;opacity:var(--gse-ui-rating-disabled-opacity)}.gux-rating-star-container gux-icon{flex:0 0 auto;inline-size:var(--gse-ui-rating-size);block-size:var(--gse-ui-rating-size);color:var(--gse-ui-rating-default-color)}.gux-rating-star-container gux-icon:hover:not(.gux-disabled){color:var(--gse-ui-rating-hover-color)}";export{c as gux_rating}
@@ -0,0 +1 @@
1
+ import{r as s,h as t,H as e,g as a}from"./p-ffb7c9dc.js";import{l as r,n as o,f as i,p as c,b as n,c as u}from"./p-8d73b418.js";import{t as l}from"./p-db306845.js";const d=["gux-list-item"],p=class{constructor(t){s(this,t)}componentWillLoad(){l(this.root)}onKeyDown(s){switch(s.key){case"ArrowUp":s.preventDefault(),c(this.root,d);break;case"Home":s.preventDefault(),i(this.root,d);break;case"ArrowDown":s.preventDefault(),o(this.root,d);break;case"End":s.preventDefault(),r(this.root,d)}}async guxFocusFirstItem(){i(this.root,d)}async guxFocusItemById(s){n(this.root,d,s)}async guxFocusItemByClosestId(s){u(this.root,d,s)}async guxFocusLastItem(){r(this.root,d)}renderFocusTarget(){return t("span",{tabindex:"-1","aria-hidden":"true"})}render(){return t(e,{key:"6e75fb4696eb52045ab9ab6240b7c62ae863a351",role:"list"},this.renderFocusTarget(),t("slot",{key:"847041b497b713340f8c7b3e153192efa9a759c1"}))}static get delegatesFocus(){return!0}get root(){return a(this)}};p.style=":host{display:flex;flex-direction:column;flex-wrap:nowrap;place-content:stretch flex-start;align-items:flex-start;padding:var(--gse-ui-menu-padding)}";export{p as gux_list}
@@ -1 +1 @@
1
- import{r as t,h as r,g as i}from"./p-086c5088.js";import{t as o}from"./p-8c726743.js";import{b as e}from"./p-d15985f1.js";import{t as a}from"./p-864d63fe.js";import{g as s}from"./p-4202e9f2.js";const g=class{constructor(r){t(this,r),this.disabled=!1,this.highlight="orange",this.value=void 0}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:"c30f320ff38c903e13eb69fc493ba73815153579",class:{"gux-highlight":!0,[`gux-${this.highlight}`]:!0},role:"listitem"},r("button",{key:"58ba38a6ba5ca8a9f256e055e7217670e87e7d10",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)}};g.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{g as gux_rich_highlight_list_item}
1
+ import{r as t,h as r,g as i}from"./p-ffb7c9dc.js";import{t as o}from"./p-db306845.js";import{b as e}from"./p-cfeaf436.js";import{t as s}from"./p-f01d2320.js";import{g as a}from"./p-4202e9f2.js";const g=class{constructor(r){t(this,r),this.disabled=!1,this.highlight="orange",this.value=void 0}onMouseUp(){this.focusParentList()}onMouseOver(){this.focusParentList()}focusParentList(){const t=a("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,s)}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:"e800e2d6432d1b54bb126bbff56f9977a0fd83ff",class:{"gux-highlight":!0,[`gux-${this.highlight}`]:!0},role:"listitem"},r("button",{key:"40073a6d93f2ee28e0f681892e60865cd7ab3686",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)}};g.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{g as gux_rich_highlight_list_item}
@@ -1 +1 @@
1
- import{r as e,h as r,H as i}from"./p-086c5088.js";const o=class{constructor(r){e(this,r)}render(){return r(i,{key:"a0f9286731bb209ca9320ae7c403cd95891fe23f",role:"presentation"})}};o.style=":host{position:relative;display:flex;inline-size:100%;block-size:var(--gse-ui-menu-divider-height);padding:0;margin:var(--gse-ui-menu-divider-margin);pointer-events:none;cursor:pointer;cursor:default;background-color:var(--gse-ui-menu-divider-backgroundColor)}";export{o as gux_list_divider}
1
+ import{r as e,h as r,H as i}from"./p-ffb7c9dc.js";const o=class{constructor(r){e(this,r)}render(){return r(i,{key:"e35734be75e38531e8b9a2172c2894741ccec2f6",role:"presentation"})}};o.style=":host{position:relative;display:flex;inline-size:100%;block-size:var(--gse-ui-menu-divider-height);padding:0;margin:var(--gse-ui-menu-divider-margin);pointer-events:none;cursor:pointer;cursor:default;background-color:var(--gse-ui-menu-divider-backgroundColor)}";export{o as gux_list_divider}
@@ -0,0 +1 @@
1
+ import{r as e,h as t,g as r}from"./p-ffb7c9dc.js";import{c as a}from"./p-267e2aed.js";import{t as o}from"./p-db306845.js";import{b as s}from"./p-cfeaf436.js";import"./p-4202e9f2.js";const i={actionRefresh:"Refresh",actionDelete:"Delete",actionExport:"Export",actionImport:"Import",actionRevert:"Revert",actionAdd:"Add"},c=class{constructor(t){e(this,t),this.action=void 0,this.accent="secondary",this.iconOnly=!1,this.disabled=!1}handleClick(e){this.disabled&&(e.preventDefault(),e.stopImmediatePropagation())}returnActionLocale(e){return this.i18n(`action${a(e)}`)}returnActionTypeIcon(e){switch(e){case"refresh":return"fa/arrows-rotate-regular";case"delete":return"fa/trash-regular";case"export":return"fa/arrow-up-from-line-regular";case"import":return"fa/file-import-regular";case"revert":return"fa/arrow-rotate-left-regular";case"add":return"fa/plus-regular";default:return"fa/square-x-regular"}}async componentWillLoad(){o(this.root,{variant:this.action}),this.i18n=await s(this.root,i)}render(){return t("gux-table-toolbar-custom-action",{key:"33be8d51dd2f0bbcebd0371a0e681ac2594e99df","icon-only":this.iconOnly,accent:this.accent,disabled:this.disabled},t("span",{key:"d194547800d92d4eb2c1e6e86393edbddfd95ec9",slot:"text"},this.returnActionLocale(this.action)),t("gux-icon",{key:"c6f0f52671b112ffeceec2c32bf374d815d00e5a",slot:"icon","icon-name":this.returnActionTypeIcon(this.action),decorative:!0}))}get root(){return r(this)}};c.style=":host([disabled]){pointer-events:none}";export{c as gux_table_toolbar_action}
@@ -0,0 +1 @@
1
+ import{r as e,h as t,H as i,g as o}from"./p-ffb7c9dc.js";import{t as s}from"./p-db306845.js";import{g as n}from"./p-4202e9f2.js";import{b as a}from"./p-cfeaf436.js";import{t as r}from"./p-f01d2320.js";import{O as u}from"./p-da087c59.js";import{b as d}from"./p-cf0e7d3b.js";import{w as l}from"./p-e97879b4.js";import{h as c}from"./p-b2e29026.js";import{a as b,c as h,o as g,f,s as p}from"./p-864af39c.js";import{n as m,p as v}from"./p-8d73b418.js";import"./p-43af726d.js";const x=class{constructor(t){e(this,t),this.disabled=!1,this.value=void 0}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:"f2d80e9cf8d1bf69014227cf2f8b4bb13dded203",role:"listitem"},t("button",{key:"969f6af3077c1efa32f9716358ff0d5b5cd42ee8",type:"button",tabIndex:-1,disabled:this.disabled},t("gux-truncate",{key:"c04cb2acc8c21dba949be2287748bb5b348840fe","max-lines":1},t("slot",{key:"e567c7d7443cc743d3c96a1dd14715f591c6ad2d"}))))}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);word-wrap:break-word;cursor:pointer;outline:none;outline-offset:calc(var(--gse-ui-menu-option-focus-border-width) * -1);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(){d((()=>{this.listElement.guxFocusFirstItem()}))}focusLastListItem(){d((()=>{this.listElement.guxFocusLastItem()}))}onActionClick(){this.isOpen=!this.isOpen,this.isOpen&&this.focusFirstListItem()}onListClick(e){l("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:"9555548af8d6018a798769fee5de94c9aa926075"},t("gux-popup",{key:"75b7bcb30d5d84deceeb9fb5b5078dc55ab51f40",expanded:this.isOpen,offset:4,"exceed-target-width":!0},t("div",{key:"6ef03b61b7f9a6ee89ddb07d0d9aabc3167e819b",slot:"target"},t("gux-button-slot",{key:"6da7e330d95f1c382061226fcc3dd7d7724d2385",accent:"ghost"},t("button",{key:"2e7d1b21ed2c7793b7a44ee8daf664bd43528174",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:"12c1d235ed9c4b98f7f86b0a1001183fdbf08fb3","icon-name":"fa/ellipsis-vertical-regular","screenreader-text":this.i18n("additionalActions"),size:"small"})),this.renderTooltip())),t("div",{key:"648b925078ebf267993e7783201c09a7efaf6ef5",slot:"popup",class:"gux-list-container"},t("gux-rich-text-editor-list",{key:"53292dad2651fbf74c8b1e510f099e6f786d9335",onClick:e=>this.onListClick(e),ref:e=>this.listElement=e},t("slot",{key:"2871d3f817c5e393cd37917f849673a50a8e6c5d"})))))}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.label=void 0,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.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:"7deaeb8403bc4d3387465109f394c5b94735289a"},t("button",{key:"092cc834b5320deda9548b44f306877be2145227",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:"db24795cdd7d2f486c4fd7891f3098c08c1114a5",class:"gux-sub-list-button-text"},this.label),t("gux-icon",{key:"4e5cab880869b185f9220d90e6501baf625e3b55",size:"small","icon-name":"custom/chevron-right-small-regular",decorative:!0})),t("div",{key:"52f98219440f57cab0de72417632769cf96f248d",ref:e=>this.subListElement=e,class:{"gux-sub-list-wrapper":!0,"gux-shown":this.isShown}},t("div",{key:"38e81a94cfc2ef6e5cb8460507412ade83254de1",role:"list",class:"gux-sub-list-content",ref:e=>this.subListContentElement=e},t("slot",{key:"27f2f932530bd1abaedccb992bf5cd75afc5277e"}))))}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);word-wrap:break-word;cursor:pointer;outline:none;outline-offset:calc(var(--gse-ui-menu-option-focus-border-width) * -1);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-offsetX) var(--gse-ui-menu-boxShadow-offsetY) var(--gse-ui-menu-boxShadow-blur) var(--gse-ui-menu-boxShadow-spread) var(--gse-ui-menu-boxShadow-color)}.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 e,H as t,g as r}from"./p-086c5088.js";import{t as a}from"./p-8c726743.js";const i=class{constructor(e){o(this,e),this.placement="page-desktop"}componentWillLoad(){a(this.root,{variant:this.placement})}render(){return e(t,{key:"1800b2ba3ff355461ca245554972bd430275bd21",class:{[`gux-form-footer-${this.placement}`]:!0}},e("slot",{key:"a51e6da5a63bf167e8fed7dfff493e21c9a7b947"}))}get root(){return r(this)}};i.style=":host ::slotted(footer){display:flex;align-items:center;justify-content:flex-start;margin-block-start:var(--gse-semantic-formControl-formBody-paddingBottom);border-block-start:var(--gse-ui-formFooter-separator-width) var(--gse-ui-formFooter-separator-style) var(--gse-ui-formFooter-separator-color)}:host(.gux-form-footer-page-desktop) ::slotted(footer){gap:var(--gse-ui-formFooter-page-desktop-gap);padding-block:var(--gse-ui-formFooter-page-desktop-topPadding) var(--gse-ui-formFooter-page-desktop-bottomPadding);padding-inline:var(--gse-ui-formFooter-page-desktop-horizontalPadding) var(--gse-ui-formFooter-page-desktop-horizontalPadding)}:host(.gux-form-footer-page-mobile) ::slotted(footer){flex-direction:column;gap:var(--gse-ui-formFooter-page-mobile-gap);align-items:stretch;justify-content:center;padding-block:var(--gse-ui-formFooter-page-mobile-topPadding) var(--gse-ui-formFooter-page-mobile-bottomPadding);padding-inline:var(--gse-ui-formFooter-page-mobile-horizontalPadding) var(--gse-ui-formFooter-page-mobile-horizontalPadding)}:host(.gux-form-footer-side-sheet-desktop) ::slotted(footer){gap:var(--gse-ui-formFooter-sideSheet-desktop-gap);padding-block:var(--gse-ui-formFooter-sideSheet-desktop-topPadding) var(--gse-ui-formFooter-sideSheet-desktop-bottomPadding);padding-inline:var(--gse-ui-formFooter-sideSheet-desktop-horizontalPadding) var(--gse-ui-formFooter-sideSheet-desktop-horizontalPadding)}";export{i as gux_form_footer}
1
+ import{r as o,h as e,H as t,g as r}from"./p-ffb7c9dc.js";import{t as a}from"./p-db306845.js";const i=class{constructor(e){o(this,e),this.placement="page-desktop"}componentWillLoad(){a(this.root,{variant:this.placement})}render(){return e(t,{key:"0774e81704c625853d6f739af363d893252daaae",class:{[`gux-form-footer-${this.placement}`]:!0}},e("slot",{key:"f498ba2dfb986be5650304b20dc23fc57d3ab316"}))}get root(){return r(this)}};i.style=":host ::slotted(footer){display:flex;align-items:center;justify-content:flex-start;margin-block-start:var(--gse-semantic-formControl-formBody-paddingBottom);border-block-start:var(--gse-ui-formFooter-separator-width) var(--gse-ui-formFooter-separator-style) var(--gse-ui-formFooter-separator-color)}:host(.gux-form-footer-page-desktop) ::slotted(footer){gap:var(--gse-ui-formFooter-page-desktop-gap);padding-block:var(--gse-ui-formFooter-page-desktop-topPadding) var(--gse-ui-formFooter-page-desktop-bottomPadding);padding-inline:var(--gse-ui-formFooter-page-desktop-horizontalPadding) var(--gse-ui-formFooter-page-desktop-horizontalPadding)}:host(.gux-form-footer-page-mobile) ::slotted(footer){flex-direction:column;gap:var(--gse-ui-formFooter-page-mobile-gap);align-items:stretch;justify-content:center;padding-block:var(--gse-ui-formFooter-page-mobile-topPadding) var(--gse-ui-formFooter-page-mobile-bottomPadding);padding-inline:var(--gse-ui-formFooter-page-mobile-horizontalPadding) var(--gse-ui-formFooter-page-mobile-horizontalPadding)}:host(.gux-form-footer-side-sheet-desktop) ::slotted(footer){gap:var(--gse-ui-formFooter-sideSheet-desktop-gap);padding-block:var(--gse-ui-formFooter-sideSheet-desktop-topPadding) var(--gse-ui-formFooter-sideSheet-desktop-bottomPadding);padding-inline:var(--gse-ui-formFooter-sideSheet-desktop-horizontalPadding) var(--gse-ui-formFooter-sideSheet-desktop-horizontalPadding)}";export{i as gux_form_footer}
@@ -1 +1 @@
1
- import{r as t,h as o,H as e,g as n}from"./p-086c5088.js";import{t as r}from"./p-8c726743.js";import{l as a}from"./p-8eaf8caf.js";const i=class{constructor(o){t(this,o),this.accent="secondary",this.iconOnly=void 0}validateSlotContent(){let t=this.root.children[0],o=t.tagName;if("SLOT"===o&&(t=t.assignedNodes()[0],o=t.tagName),"BUTTON"!==o){if("INPUT"===o){const o=t.getAttribute("type");if("button"===o||"submit"===o)return}a(this.root,'You must slot a button, input[type="button"] or input[type="submit"] element.')}}componentWillLoad(){r(this.root),this.validateSlotContent()}render(){return o(e,{key:"e6bbc2d0af4e87622578d8c08042e4ed52b1e505",accent:this.accent,"icon-only":this.iconOnly},o("slot",{key:"85281c21e359f1c635e6235a1ad62b84227f4ddb"}))}get root(){return n(this)}};i.style=":host{display:inline-block;pointer-events:none}::slotted(input[type=button]),::slotted(input[type=submit]),::slotted(button){font-family:var(--gse-ui-button-text-fontFamily);font-size:var(--gse-ui-button-text-fontSize);font-weight:var(--gse-ui-button-text-fontWeight);line-height:var(--gse-ui-button-text-lineHeight);inline-size:100%;min-inline-size:var(--gse-ui-button-iconOnly-width);block-size:var(--gse-ui-button-default-height);padding:var(--gse-ui-button-default-padding);overflow:hidden;text-overflow:ellipsis;color:var(--gse-ui-button-secondary-default-foregroundColor);white-space:nowrap;pointer-events:auto;cursor:pointer;background-color:var(--gse-ui-button-secondary-default-backgroundColor);border:none;border-radius:var(--gse-ui-button-borderRadius)}:host([icon-only]) ::slotted(input[type=button]),:host([icon-only]) ::slotted(input[type=submit]),:host([icon-only]) ::slotted(button){padding:var(--gse-ui-button-default-paddingIconOnly)}::slotted(input[type=button][disabled]),::slotted(input[type=submit][disabled]),::slotted(button[disabled]){cursor:default;opacity:var(--gse-ui-button-disabled-opacity)}::slotted(input[type=button]:focus),::slotted(input[type=submit]:focus),::slotted(button:focus){outline:none}::slotted(input[type=button]:focus-visible:enabled),::slotted(input[type=submit]:focus-visible:enabled),::slotted(button:focus-visible:enabled){outline:var(--gse-semantic-focusOutline-md-borderWidth) solid var(--gse-semantic-border-focus);outline-offset:var(--gse-semantic-focusOutline-offset)}::slotted(input[type=button]:hover:enabled),::slotted(input[type=submit]:hover:enabled),::slotted(button:hover:enabled){color:var(--gse-ui-button-secondary-hover-foregroundColor);background-color:var(--gse-ui-button-secondary-hover-backgroundColor)}::slotted(input[type=button]:active:enabled),::slotted(input[type=submit]:active:enabled),::slotted(button:active:enabled){color:var(--gse-ui-button-secondary-active-foregroundColor);background-color:var(--gse-ui-button-secondary-active-backgroundColor)}:host([accent=primary]) ::slotted(input[type=button]),:host([accent=primary]) ::slotted(input[type=submit]),:host([accent=primary]) ::slotted(button){color:var(--gse-ui-button-primary-default-foregroundColor);background-color:var(--gse-ui-button-primary-default-backgroundColor)}:host([accent=primary]) ::slotted(input[type=button]:hover:enabled),:host([accent=primary]) ::slotted(input[type=submit]:hover:enabled),:host([accent=primary]) ::slotted(button:hover:enabled){color:var(--gse-ui-button-primary-hover-foregroundColor);background-color:var(--gse-ui-button-primary-hover-backgroundColor)}:host([accent=primary]) ::slotted(input[type=button]:active:enabled),:host([accent=primary]) ::slotted(input[type=submit]:active:enabled),:host([accent=primary]) ::slotted(button:active:enabled){color:var(--gse-ui-button-primary-active-foregroundColor);background-color:var(--gse-ui-button-primary-active-backgroundColor)}:host([accent=tertiary]) ::slotted(input[type=button]),:host([accent=tertiary]) ::slotted(input[type=submit]),:host([accent=tertiary]) ::slotted(button){color:var(--gse-ui-button-tertiary-default-foregroundColor);background-color:var(--gse-ui-button-tertiary-default-backgroundColor);border-color:var(--gse-ui-button-tertiary-default-border-color);border-style:var(--gse-ui-button-tertiary-default-border-style);border-width:var(--gse-ui-button-tertiary-default-border-width)}:host([accent=tertiary]) ::slotted(input[type=button]:hover:enabled),:host([accent=tertiary]) ::slotted(input[type=submit]:hover:enabled),:host([accent=tertiary]) ::slotted(button:hover:enabled){color:var(--gse-ui-button-tertiary-hover-foregroundColor);background-color:var(--gse-ui-button-tertiary-hover-backgroundColor)}:host([accent=tertiary]) ::slotted(input[type=button]:active:enabled),:host([accent=tertiary]) ::slotted(input[type=submit]:active:enabled),:host([accent=tertiary]) ::slotted(button:active:enabled){color:var(--gse-ui-button-tertiary-active-foregroundColor);background-color:var(--gse-ui-button-tertiary-active-backgroundColor)}:host([accent=ghost]) ::slotted(input[type=button]),:host([accent=ghost]) ::slotted(input[type=submit]),:host([accent=ghost]) ::slotted(button){color:var(--gse-ui-button-ghost-default-foregroundColor);background-color:var(--gse-ui-button-ghost-default-backgroundColor)}:host([accent=ghost]) ::slotted(input[type=button]:hover:enabled),:host([accent=ghost]) ::slotted(input[type=submit]:hover:enabled),:host([accent=ghost]) ::slotted(button:hover:enabled){color:var(--gse-ui-button-ghost-hover-foregroundColor);background-color:var(--gse-ui-button-ghost-hover-backgroundColor)}:host([accent=ghost]) ::slotted(input[type=button]:active:enabled),:host([accent=ghost]) ::slotted(input[type=submit]:active:enabled),:host([accent=ghost]) ::slotted(button:active:enabled){color:var(--gse-ui-button-ghost-active-foregroundColor);background-color:var(--gse-ui-button-ghost-active-backgroundColor)}:host([accent=danger]) ::slotted(input[type=button]),:host([accent=danger]) ::slotted(input[type=submit]),:host([accent=danger]) ::slotted(button){color:var(--gse-ui-button-danger-default-foregroundColor);background-color:var(--gse-ui-button-danger-default-backgroundColor)}:host([accent=danger]) ::slotted(input[type=button]:hover:enabled),:host([accent=danger]) ::slotted(input[type=submit]:hover:enabled),:host([accent=danger]) ::slotted(button:hover:enabled){color:var(--gse-ui-button-danger-hover-foregroundColor);background-color:var(--gse-ui-button-danger-hover-backgroundColor)}:host([accent=danger]) ::slotted(input[type=button]:active:enabled),:host([accent=danger]) ::slotted(input[type=submit]:active:enabled),:host([accent=danger]) ::slotted(button:active:enabled){color:var(--gse-ui-button-danger-active-foregroundColor);background-color:var(--gse-ui-button-danger-active-backgroundColor)}:host([accent=inline]){min-inline-size:initial}:host([accent=inline]) ::slotted(input[type=button]),:host([accent=inline]) ::slotted(input[type=submit]),:host([accent=inline]) ::slotted(button){block-size:initial;padding:0;color:var(--gse-ui-links-default-foregroundColor);background:none;border:none}:host([accent=inline]) ::slotted(input[type=button][disabled]),:host([accent=inline]) ::slotted(input[type=submit][disabled]),:host([accent=inline]) ::slotted(button[disabled]){color:var(--gse-ui-links-disabled-foregroundColor)}:host([accent=inline]) ::slotted(input[type=button]:hover:enabled),:host([accent=inline]) ::slotted(input[type=submit]:hover:enabled),:host([accent=inline]) ::slotted(button:hover:enabled){color:var(--gse-ui-links-hover-foregroundColor);text-decoration:underline;background:none}:host([accent=inline]) ::slotted(input[type=button]:active:enabled),:host([accent=inline]) ::slotted(input[type=submit]:active:enabled),:host([accent=inline]) ::slotted(button:active:enabled){color:var(--gse-ui-links-active-foregroundColor);text-decoration:underline;background:none}";export{i as gux_button_slot}
1
+ import{r as t,h as o,H as e,g as n}from"./p-ffb7c9dc.js";import{t as r}from"./p-db306845.js";import{l as a}from"./p-8eaf8caf.js";const i=class{constructor(o){t(this,o),this.accent="secondary",this.iconOnly=void 0}validateSlotContent(){let t=this.root.children[0],o=t.tagName;if("SLOT"===o&&(t=t.assignedNodes()[0],o=t.tagName),"BUTTON"!==o){if("INPUT"===o){const o=t.getAttribute("type");if("button"===o||"submit"===o)return}a(this.root,'You must slot a button, input[type="button"] or input[type="submit"] element.')}}componentWillLoad(){r(this.root),this.validateSlotContent()}render(){return o(e,{key:"9a891811762f4fa8c9019a89f65c6ee5e4987dd0",accent:this.accent,"icon-only":this.iconOnly},o("slot",{key:"3a1aeaf096df87239ff780f96d5b73cbedcd687c"}))}get root(){return n(this)}};i.style=":host{display:inline-block;pointer-events:none}::slotted(input[type=button]),::slotted(input[type=submit]),::slotted(button){font-family:var(--gse-ui-button-text-fontFamily);font-size:var(--gse-ui-button-text-fontSize);font-weight:var(--gse-ui-button-text-fontWeight);line-height:var(--gse-ui-button-text-lineHeight);inline-size:100%;min-inline-size:var(--gse-ui-button-iconOnly-width);block-size:var(--gse-ui-button-default-height);padding:var(--gse-ui-button-default-padding);overflow:hidden;text-overflow:ellipsis;color:var(--gse-ui-button-secondary-default-foregroundColor);white-space:nowrap;pointer-events:auto;cursor:pointer;background-color:var(--gse-ui-button-secondary-default-backgroundColor);border:none;border-radius:var(--gse-ui-button-borderRadius)}:host([icon-only]) ::slotted(input[type=button]),:host([icon-only]) ::slotted(input[type=submit]),:host([icon-only]) ::slotted(button){padding:var(--gse-ui-button-default-paddingIconOnly)}::slotted(input[type=button][disabled]),::slotted(input[type=submit][disabled]),::slotted(button[disabled]){cursor:default;opacity:var(--gse-ui-button-disabled-opacity)}::slotted(input[type=button]:focus),::slotted(input[type=submit]:focus),::slotted(button:focus){outline:none}::slotted(input[type=button]:focus-visible:enabled),::slotted(input[type=submit]:focus-visible:enabled),::slotted(button:focus-visible:enabled){outline:var(--gse-semantic-focusOutline-md-borderWidth) solid var(--gse-semantic-border-focus);outline-offset:var(--gse-semantic-focusOutline-offset)}::slotted(input[type=button]:hover:enabled),::slotted(input[type=submit]:hover:enabled),::slotted(button:hover:enabled){color:var(--gse-ui-button-secondary-hover-foregroundColor);background-color:var(--gse-ui-button-secondary-hover-backgroundColor)}::slotted(input[type=button]:active:enabled),::slotted(input[type=submit]:active:enabled),::slotted(button:active:enabled){color:var(--gse-ui-button-secondary-active-foregroundColor);background-color:var(--gse-ui-button-secondary-active-backgroundColor)}:host([accent=primary]) ::slotted(input[type=button]),:host([accent=primary]) ::slotted(input[type=submit]),:host([accent=primary]) ::slotted(button){color:var(--gse-ui-button-primary-default-foregroundColor);background-color:var(--gse-ui-button-primary-default-backgroundColor)}:host([accent=primary]) ::slotted(input[type=button]:hover:enabled),:host([accent=primary]) ::slotted(input[type=submit]:hover:enabled),:host([accent=primary]) ::slotted(button:hover:enabled){color:var(--gse-ui-button-primary-hover-foregroundColor);background-color:var(--gse-ui-button-primary-hover-backgroundColor)}:host([accent=primary]) ::slotted(input[type=button]:active:enabled),:host([accent=primary]) ::slotted(input[type=submit]:active:enabled),:host([accent=primary]) ::slotted(button:active:enabled){color:var(--gse-ui-button-primary-active-foregroundColor);background-color:var(--gse-ui-button-primary-active-backgroundColor)}:host([accent=tertiary]) ::slotted(input[type=button]),:host([accent=tertiary]) ::slotted(input[type=submit]),:host([accent=tertiary]) ::slotted(button){color:var(--gse-ui-button-tertiary-default-foregroundColor);background-color:var(--gse-ui-button-tertiary-default-backgroundColor);border-color:var(--gse-ui-button-tertiary-default-border-color);border-style:var(--gse-ui-button-tertiary-default-border-style);border-width:var(--gse-ui-button-tertiary-default-border-width)}:host([accent=tertiary]) ::slotted(input[type=button]:hover:enabled),:host([accent=tertiary]) ::slotted(input[type=submit]:hover:enabled),:host([accent=tertiary]) ::slotted(button:hover:enabled){color:var(--gse-ui-button-tertiary-hover-foregroundColor);background-color:var(--gse-ui-button-tertiary-hover-backgroundColor)}:host([accent=tertiary]) ::slotted(input[type=button]:active:enabled),:host([accent=tertiary]) ::slotted(input[type=submit]:active:enabled),:host([accent=tertiary]) ::slotted(button:active:enabled){color:var(--gse-ui-button-tertiary-active-foregroundColor);background-color:var(--gse-ui-button-tertiary-active-backgroundColor)}:host([accent=ghost]) ::slotted(input[type=button]),:host([accent=ghost]) ::slotted(input[type=submit]),:host([accent=ghost]) ::slotted(button){color:var(--gse-ui-button-ghost-default-foregroundColor);background-color:var(--gse-ui-button-ghost-default-backgroundColor)}:host([accent=ghost]) ::slotted(input[type=button]:hover:enabled),:host([accent=ghost]) ::slotted(input[type=submit]:hover:enabled),:host([accent=ghost]) ::slotted(button:hover:enabled){color:var(--gse-ui-button-ghost-hover-foregroundColor);background-color:var(--gse-ui-button-ghost-hover-backgroundColor)}:host([accent=ghost]) ::slotted(input[type=button]:active:enabled),:host([accent=ghost]) ::slotted(input[type=submit]:active:enabled),:host([accent=ghost]) ::slotted(button:active:enabled){color:var(--gse-ui-button-ghost-active-foregroundColor);background-color:var(--gse-ui-button-ghost-active-backgroundColor)}:host([accent=danger]) ::slotted(input[type=button]),:host([accent=danger]) ::slotted(input[type=submit]),:host([accent=danger]) ::slotted(button){color:var(--gse-ui-button-danger-default-foregroundColor);background-color:var(--gse-ui-button-danger-default-backgroundColor)}:host([accent=danger]) ::slotted(input[type=button]:hover:enabled),:host([accent=danger]) ::slotted(input[type=submit]:hover:enabled),:host([accent=danger]) ::slotted(button:hover:enabled){color:var(--gse-ui-button-danger-hover-foregroundColor);background-color:var(--gse-ui-button-danger-hover-backgroundColor)}:host([accent=danger]) ::slotted(input[type=button]:active:enabled),:host([accent=danger]) ::slotted(input[type=submit]:active:enabled),:host([accent=danger]) ::slotted(button:active:enabled){color:var(--gse-ui-button-danger-active-foregroundColor);background-color:var(--gse-ui-button-danger-active-backgroundColor)}:host([accent=inline]){min-inline-size:initial}:host([accent=inline]) ::slotted(input[type=button]),:host([accent=inline]) ::slotted(input[type=submit]),:host([accent=inline]) ::slotted(button){block-size:initial;padding:0;color:var(--gse-ui-links-default-foregroundColor);background:none;border:none}:host([accent=inline]) ::slotted(input[type=button][disabled]),:host([accent=inline]) ::slotted(input[type=submit][disabled]),:host([accent=inline]) ::slotted(button[disabled]){color:var(--gse-ui-links-disabled-foregroundColor)}:host([accent=inline]) ::slotted(input[type=button]:hover:enabled),:host([accent=inline]) ::slotted(input[type=submit]:hover:enabled),:host([accent=inline]) ::slotted(button:hover:enabled){color:var(--gse-ui-links-hover-foregroundColor);text-decoration:underline;background:none}:host([accent=inline]) ::slotted(input[type=button]:active:enabled),:host([accent=inline]) ::slotted(input[type=submit]:active:enabled),:host([accent=inline]) ::slotted(button:active:enabled){color:var(--gse-ui-links-active-foregroundColor);text-decoration:underline;background:none}";export{i as gux_button_slot}
@@ -1 +1 @@
1
- import{r as e,c as r,h as o,g as a}from"./p-086c5088.js";import{r as i}from"./p-0934300e.js";import{l as t}from"./p-8eaf8caf.js";const d=class{constructor(o){e(this,o),this.guxopened=r(this,"guxopened",7),this.guxclosed=r(this,"guxclosed",7),this.sectionId=i("gux-accordion-section"),this.headerId=i("gux-accordion-header"),this.arrowPosition="end",this.contentLayout="text",this.open=!1,this.disabled=!1,this.reverseHeadings=!1,this.headingLevel=void 0}watchOpen(e){e?this.guxopened.emit():this.guxclosed.emit()}toggle(){this.open=!this.open}isArrowPositionBeforeText(){return"start"===this.arrowPosition}handleSlotChange(e){const r=this.root.querySelector(`[slot="${e}"]`);r&&/^H[1-6]$/.test(r.nodeName)||t(this.root,`For accessibility reasons the ${e} slot should be filled with a HTML heading tag (h1 - h6).`),"header"==e&&(this.headingLevel=parseInt(r.nodeName.replace("H",""),10))}componentWillLoad(){this.hasIconSlot=!!this.root.querySelector('[slot="icon"]')}render(){return o("section",{key:"d010859104eb61287b50452027502d8b45bb97a1",class:{"gux-disabled":this.disabled}},o("div",{key:"ef3e10d59e72041ab201ebe4237d2002cdd424b6",id:this.headerId,role:"heading","aria-level":this.headingLevel},o("button",{key:"48d14b1238dd5a8cda1bb397e22d03017e4d42e9",class:{"gux-header":!0,"gux-reverse-headings":this.reverseHeadings},type:"button","aria-expanded":this.open.toString(),"aria-controls":this.sectionId,disabled:this.disabled,onClick:this.toggle.bind(this)},this.hasIconSlot&&o("slot",{key:"9d7df0c288b8d31f42e605d98a7235b5bfcad1f3",name:"icon"}),o("div",{key:"310515c0a8243811e9126641691f19092f06c00b",class:{"gux-header-text":!0}},o("slot",{key:"abb2ac57412ddd1984b1057f34a6a1cf8ab69c11",onSlotchange:()=>this.handleSlotChange("header"),name:"header"}),o("slot",{key:"091a96c1a6fcd05544beaf5bbd499629e0131d61",onSlotchange:()=>this.handleSlotChange("subheader"),name:"subheader"})),o("div",{key:"8fca0530223a93e1f1cf064c9f5af2665543de84",class:{"gux-header-icon":!0,"gux-expanded":this.open,"gux-arrow-position-start":this.isArrowPositionBeforeText()}},o("gux-icon",{key:"f0718a400246a057f618ea7b31d5bf41546b7cd9",decorative:!0,"icon-name":"custom/chevron-down-small-regular",size:"small"})))),o("div",{key:"f90a2fda46aee4e75338f560388ac175842eba9a",id:this.sectionId,role:"region","aria-labelledby":this.headerId,class:{"gux-content":!0,"gux-expanded":this.open,"gux-text-content-layout":"text"===this.contentLayout}},o("slot",{key:"963ee01329e2877b05e9fc52d8d268ffd4b6946a",name:"content"})))}get root(){return a(this)}static get watchers(){return{open:["watchOpen"]}}};d.style=":host:first-child .gux-header{border-block-start:var(--gse-ui-accordion-wrapper-dividerBorder-width) var(--gse-ui-accordion-wrapper-dividerBorder-style) var(--gse-ui-accordion-wrapper-dividerBorder-color)}section.gux-disabled{cursor:default;opacity:0.5}section.gux-disabled>*{pointer-events:none}.gux-header{all:unset;box-sizing:border-box;display:flex;flex-direction:row;flex-wrap:nowrap;place-content:center flex-start;align-items:center;inline-size:100%;padding:var(--gse-ui-accordion-header-padding);margin:0;cursor:pointer;border-block-end:var(--gse-ui-accordion-wrapper-dividerBorder-width) var(--gse-ui-accordion-wrapper-dividerBorder-style) var(--gse-ui-accordion-wrapper-dividerBorder-color)}.gux-header .gux-header-text{flex:1 1 auto;align-self:auto;font-weight:var(--gse-ui-accordion-header-label-defaultText-fontWeight);color:var(--gse-ui-accordion-header-default-foreground-labelColor);text-align:start}.gux-header.gux-reverse-headings .gux-header-text{display:flex;flex-direction:column-reverse}.gux-header ::slotted([slot=header]){padding:0;margin:0;font-family:var(--gse-ui-accordion-header-label-defaultText-fontFamily) !important;font-size:var(--gse-ui-accordion-header-label-defaultText-fontSize) !important;font-weight:var(--gse-ui-accordion-header-label-defaultText-fontWeight) !important;line-height:var(--gse-ui-accordion-header-label-defaultText-lineHeight) !important;color:var(--gse-ui-accordion-header-default-foreground-labelColor)}.gux-header ::slotted([slot=subheader]){padding:0;margin-block:var(--gux-spacing-3xs) 0;margin-inline:0;font-family:var(--gse-ui-accordion-contentItem-defaultText-fontFamily) !important;font-size:var(--gse-ui-accordion-contentItem-defaultText-fontSize) !important;font-weight:var(--gse-ui-accordion-contentItem-defaultText-fontWeight) !important;line-height:var(--gse-ui-accordion-contentItem-defaultText-lineHeight) !important;color:var(--gse-ui-accordion-contentItem-foregroundColor)}.gux-header ::slotted([slot=subheader]) .gux-reverse-headings{margin-block:0 var(--gux-spacing-3xs);margin-inline:0}.gux-header ::slotted([slot=icon]){flex:0 0 auto;align-self:flex-start;inline-size:var(--gse-ui-icon-small-size);block-size:var(--gse-ui-icon-small-size);margin-inline-end:var(--gse-ui-accordion-header-gap);color:var(--gse-ui-accordion-header-default-foreground-chevronIcon-closed)}.gux-header ::slotted([slot=icon]) .gux-reverse-headings{align-self:flex-end}.gux-header .gux-header-icon{flex:0 1 auto;align-items:center;align-self:auto;margin-inline-start:var(--gse-ui-accordion-header-gap);line-height:0;color:var(--gse-ui-accordion-header-default-foreground-chevronIcon-closed);transform-origin:center;transition:transform 0.5s ease}.gux-header .gux-header-icon.gux-arrow-position-start{order:-1;margin-inline-end:var(--gse-ui-accordion-header-gap)}.gux-header .gux-header-icon.gux-expanded{color:var(--gse-ui-accordion-header-default-foreground-chevronIcon-open);transform:rotate(-180deg)}.gux-header:focus-visible{outline:var(--gse-ui-accordion-focusBorder-width) var(--gse-ui-accordion-focusBorder-style) var(--gse-ui-accordion-focusBorder-color);outline-offset:var(--gse-ui-accordion-focus-offset-gap);border-radius:var(--gse-ui-accordion-menuItem-focus-borderRadius)}.gux-header:hover .gux-header-icon{color:var(--gse-ui-accordion-header-default-foreground-chevronIcon-hover)}.gux-content{box-sizing:border-box;display:none;border-block-end:var(--gse-ui-accordion-wrapper-dividerBorder-width) var(--gse-ui-accordion-wrapper-dividerBorder-style) var(--gse-ui-accordion-wrapper-dividerBorder-color)}.gux-content.gux-expanded{display:block}.gux-content.gux-text-content-layout{padding:var(--gse-ui-accordion-contentItem-padding)}.gux-content ::slotted([slot=content]){margin:0}";export{d as gux_accordion_section}
1
+ import{r as e,c as r,h as a,g as o}from"./p-ffb7c9dc.js";import{r as i}from"./p-0934300e.js";import{l as t}from"./p-8eaf8caf.js";const d=class{constructor(a){e(this,a),this.guxopened=r(this,"guxopened",7),this.guxclosed=r(this,"guxclosed",7),this.sectionId=i("gux-accordion-section"),this.headerId=i("gux-accordion-header"),this.arrowPosition="end",this.contentLayout="text",this.open=!1,this.disabled=!1,this.reverseHeadings=!1,this.headingLevel=void 0}watchOpen(e){e?this.guxopened.emit():this.guxclosed.emit()}toggle(){this.open=!this.open}isArrowPositionBeforeText(){return"start"===this.arrowPosition}handleSlotChange(e){const r=this.root.querySelector(`[slot="${e}"]`);r&&/^H[1-6]$/.test(r.nodeName)||t(this.root,`For accessibility reasons the ${e} slot should be filled with a HTML heading tag (h1 - h6).`),"header"==e&&(this.headingLevel=parseInt(r.nodeName.replace("H",""),10))}componentWillLoad(){this.hasIconSlot=!!this.root.querySelector('[slot="icon"]')}render(){return a("section",{key:"2305475e51f562a30b1246ce5d1d1ec0954eab5e",class:{"gux-disabled":this.disabled}},a("div",{key:"744e300976932f9078fd6a410a57c2a1f5f3932f",id:this.headerId,role:"heading","aria-level":this.headingLevel},a("button",{key:"6383d7ddaffe8e2a1e84ff7513ed544d82c73aaa",class:{"gux-header":!0,"gux-reverse-headings":this.reverseHeadings},type:"button","aria-expanded":this.open.toString(),"aria-controls":this.sectionId,disabled:this.disabled,onClick:this.toggle.bind(this)},this.hasIconSlot&&a("slot",{key:"f915b86168677bdda21bc25fe038f56906882495",name:"icon"}),a("div",{key:"d8e83083c047ad459c997684851d89fae5f4c01c",class:{"gux-header-text":!0}},a("slot",{key:"36b4dc4ac67478ac022bcdc36097706293a9082e",onSlotchange:()=>this.handleSlotChange("header"),name:"header"}),a("slot",{key:"c9e9d5a8bd2c2d42ed5b68949897f2a435cf20cc",onSlotchange:()=>this.handleSlotChange("subheader"),name:"subheader"})),a("div",{key:"fc9a334d32e72d377111e85b620ae47420d96434",class:{"gux-header-icon":!0,"gux-expanded":this.open,"gux-arrow-position-start":this.isArrowPositionBeforeText()}},a("gux-icon",{key:"b34445a85f3bd9af9f718755a9f84742fe1bca18",decorative:!0,"icon-name":"custom/chevron-down-small-regular",size:"small"})))),a("div",{key:"cadc569961f8d9497e2a4ee27d1e8e4a318bfc09",id:this.sectionId,role:"region","aria-labelledby":this.headerId,class:{"gux-content":!0,"gux-expanded":this.open,"gux-text-content-layout":"text"===this.contentLayout}},a("slot",{key:"52e4adb0ba63433b4c7ee33c11f0d2c5a2c0d79c",name:"content"})))}get root(){return o(this)}static get watchers(){return{open:["watchOpen"]}}};d.style=":host:first-child .gux-header{border-block-start:var(--gse-ui-accordion-wrapper-dividerBorder-width) var(--gse-ui-accordion-wrapper-dividerBorder-style) var(--gse-ui-accordion-wrapper-dividerBorder-color)}section.gux-disabled{cursor:default;opacity:0.5}section.gux-disabled>*{pointer-events:none}.gux-header{all:unset;box-sizing:border-box;display:flex;flex-direction:row;flex-wrap:nowrap;place-content:center flex-start;align-items:center;inline-size:100%;padding:var(--gse-ui-accordion-header-padding);margin:0;cursor:pointer;border-block-end:var(--gse-ui-accordion-wrapper-dividerBorder-width) var(--gse-ui-accordion-wrapper-dividerBorder-style) var(--gse-ui-accordion-wrapper-dividerBorder-color)}.gux-header .gux-header-text{flex:1 1 auto;align-self:auto;font-weight:var(--gse-ui-accordion-header-label-defaultText-fontWeight);color:var(--gse-ui-accordion-header-default-foreground-labelColor);text-align:start}.gux-header.gux-reverse-headings .gux-header-text{display:flex;flex-direction:column-reverse}.gux-header ::slotted([slot=header]){padding:0;margin:0;font-family:var(--gse-ui-accordion-header-label-defaultText-fontFamily) !important;font-size:var(--gse-ui-accordion-header-label-defaultText-fontSize) !important;font-weight:var(--gse-ui-accordion-header-label-defaultText-fontWeight) !important;line-height:var(--gse-ui-accordion-header-label-defaultText-lineHeight) !important;color:var(--gse-ui-accordion-header-default-foreground-labelColor)}.gux-header ::slotted([slot=subheader]){padding:0;margin-block:var(--gux-spacing-3xs) 0;margin-inline:0;font-family:var(--gse-ui-accordion-contentItem-defaultText-fontFamily) !important;font-size:var(--gse-ui-accordion-contentItem-defaultText-fontSize) !important;font-weight:var(--gse-ui-accordion-contentItem-defaultText-fontWeight) !important;line-height:var(--gse-ui-accordion-contentItem-defaultText-lineHeight) !important;color:var(--gse-ui-accordion-contentItem-foregroundColor)}.gux-header ::slotted([slot=subheader]) .gux-reverse-headings{margin-block:0 var(--gux-spacing-3xs);margin-inline:0}.gux-header ::slotted([slot=icon]){flex:0 0 auto;align-self:flex-start;inline-size:var(--gse-ui-icon-small-size);block-size:var(--gse-ui-icon-small-size);margin-inline-end:var(--gse-ui-accordion-header-gap);color:var(--gse-ui-accordion-header-default-foreground-chevronIcon-closed)}.gux-header ::slotted([slot=icon]) .gux-reverse-headings{align-self:flex-end}.gux-header .gux-header-icon{flex:0 1 auto;align-items:center;align-self:auto;margin-inline-start:var(--gse-ui-accordion-header-gap);line-height:0;color:var(--gse-ui-accordion-header-default-foreground-chevronIcon-closed);transform-origin:center;transition:transform 0.5s ease}.gux-header .gux-header-icon.gux-arrow-position-start{order:-1;margin-inline-end:var(--gse-ui-accordion-header-gap)}.gux-header .gux-header-icon.gux-expanded{color:var(--gse-ui-accordion-header-default-foreground-chevronIcon-open);transform:rotate(-180deg)}.gux-header:focus-visible{outline:var(--gse-ui-accordion-focusBorder-width) var(--gse-ui-accordion-focusBorder-style) var(--gse-ui-accordion-focusBorder-color);outline-offset:var(--gse-ui-accordion-focus-offset-gap);border-radius:var(--gse-ui-accordion-menuItem-focus-borderRadius)}.gux-header:hover .gux-header-icon{color:var(--gse-ui-accordion-header-default-foreground-chevronIcon-hover)}.gux-content{box-sizing:border-box;display:none;border-block-end:var(--gse-ui-accordion-wrapper-dividerBorder-width) var(--gse-ui-accordion-wrapper-dividerBorder-style) var(--gse-ui-accordion-wrapper-dividerBorder-color)}.gux-content.gux-expanded{display:block}.gux-content.gux-text-content-layout{padding:var(--gse-ui-accordion-contentItem-padding)}.gux-content ::slotted([slot=content]){margin:0}";export{d as gux_accordion_section}
@@ -1 +1 @@
1
- import{r as o,h as e,g as r}from"./p-086c5088.js";import{c as i,o as t}from"./p-f4751a15.js";import{O as n}from"./p-e07238b5.js";import{o as l}from"./p-6b12dd16.js";import{p as a}from"./p-a11d5d42.js";import{h as s}from"./p-6d8b4027.js";import{a as f,G as u}from"./p-fbf14218.js";import{G as d,a as p}from"./p-1f6c052d.js";import{g as c,v as g,a as h}from"./p-4aaf349e.js";import{t as m}from"./p-8c726743.js";import"./p-0934300e.js";import"./p-8eaf8caf.js";import"./p-2c25e2f2.js";const b=class{constructor(e){o(this,e),this.labelPosition=void 0,this.indicatorMark="required",this.computedLabelPosition=void 0,this.disabled=void 0,this.required=void 0,this.hasError=!1,this.hasHelp=!1}onMutation(){this.labelInfo=this.root.querySelector("[slot=label-info]"),this.hasError=s(this.root,"error"),this.hasHelp=s(this.root,"help")}handleKeyup(o){var e,r;"Tab"===o.key?this.input.matches(":focus-visible")&&(null===(e=this.labelInfo)||void 0===e||e.showTooltip(),this.hideLabelInfoTimeout=setTimeout((()=>{var o;null===(o=this.labelInfo)||void 0===o||o.hideTooltip()}),6e3)):this.input.matches(":focus-visible")&&(null===(r=this.labelInfo)||void 0===r||r.hideTooltip(),clearTimeout(this.hideLabelInfoTimeout))}onFocusout(){var o;null===(o=this.labelInfo)||void 0===o||o.hideTooltip(),clearTimeout(this.hideLabelInfoTimeout)}componentWillLoad(){this.setInput(),this.setLabel(),this.labelInfo=this.root.querySelector("[slot=label-info]"),this.hasError=s(this.root,"error"),this.hasHelp=s(this.root,"help"),m(this.root,{variant:this.variant})}disconnectedCallback(){this.disabledObserver&&this.disabledObserver.disconnect(),this.requiredObserver&&this.requiredObserver.disconnect()}render(){return e(p,{key:"eb5167c31fccdd7d84ebc4a94228404f18027965",labelPosition:this.computedLabelPosition},e(d,{key:"016b80603997293cdef58742516958685765d5fc",required:this.required,position:this.computedLabelPosition},e("slot",{key:"b3ada7a58c3d46ae2e41ff12215b0d28c60b05a9",name:"label",onSlotchange:()=>this.setLabel()}),e("gux-form-field-label-indicator",{key:"70245fa42b86f0bb1db34722f68942ec04311da0",variant:this.indicatorMark,required:this.required}),e("slot",{key:"6dfcb4faf9144a85c7458db49670fd92512241f1",name:"label-info"})),e("div",{key:"1057e6f945c033a8334319cb968d82aa9679b5fb",class:"gux-input-and-error-container"},e("div",{key:"ae4bd61d9ca718a938ac24ea1246152b59fd15a4",class:{"gux-input":!0,"gux-input-error":this.hasError}},e("div",{key:"4454e9a6152b00d3a0ee2d49c53012ff73d22546",class:{"gux-input-container":!0,"gux-disabled":this.disabled}},e("slot",{key:"389cfccf2d5f364996388b426d006b32bcfff54a",name:"input",onSlotchange:()=>this.setInput()}))),e(f,{key:"3b2f40aa97d1702ad76ee8113d8839bb5b5cf18a",show:this.hasError},e("slot",{key:"8bb94fe63bdf80b4437eeb14f3fc24a23f92568d",name:"error"})),e(u,{key:"f83ffce79ac863b0089beea206dad9f89fc46926",show:!this.hasError&&this.hasHelp},e("slot",{key:"498f9663f15081c36699100bfe9916c54932bc42",name:"help"}))))}get variant(){return this.labelPosition?this.labelPosition.toLowerCase():"none"}setInput(){this.input=c(this.root,'input[type="color"][slot="input"]'),a(this.input),this.disabled=i(this.input),this.required=this.input.required,this.disabledObserver=t(this.input,(o=>{this.disabled=o})),this.requiredObserver=l(this.input,(o=>{this.required=o})),g(this.root,this.input)}setLabel(){this.label=this.root.querySelector('label[slot="label"]'),this.computedLabelPosition=h(this.label,this.labelPosition)}get root(){return r(this)}};(function(o,e,r,i){var t,n=arguments.length,l=n<3?e:null===i?i=Object.getOwnPropertyDescriptor(e,r):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)l=Reflect.decorate(o,e,r,i);else for(var a=o.length-1;a>=0;a--)(t=o[a])&&(l=(n<3?t(l):n>3?t(e,r,l):t(e,r))||l);n>3&&l&&Object.defineProperty(e,r,l)})([n({childList:!0,subtree:!0})],b.prototype,"onMutation",null),b.style=".gux-form-field-container.gux-beside{display:flex;flex-direction:row}.gux-form-field-error{display:none;flex-direction:row;flex-wrap:nowrap;gap:var(--gse-ui-formControl-helper-gap);place-content:stretch flex-start;padding:var(--gse-ui-formControl-helper-errorPadding);font-family:var(--gse-ui-formControl-helper-helperText-fontFamily);font-size:var(--gse-ui-formControl-helper-helperText-fontSize);line-height:var(--gse-ui-formControl-helper-helperText-lineHeight);color:var(--gse-ui-formControl-helper-errorColor)}.gux-form-field-error.gux-show{display:flex}.gux-form-field-error gux-icon{flex:0 1 auto;order:0;min-inline-size:var(--gse-ui-icon-small-size);min-block-size:var(--gse-ui-icon-small-size);color:var(--gse-ui-formControl-helper-errorColor)}.gux-form-field-error .gux-message{flex:0 1 auto;align-self:auto;order:0}.gux-form-field-label{display:inline-flex;flex:1 0 auto}.gux-form-field-label ::slotted(gux-label-info-beta){padding-inline-start:var(--gse-ui-formControl-formField-gap)}.gux-form-field-label.gux-beside{position:relative;inset-block-start:var(--gse-ui-formControl-input-top);inline-size:fit-content;min-inline-size:var(--gse-ui-formControl-input-textfield-minWidth);max-inline-size:fit-content;margin-inline-end:var(--gse-ui-formControl-group-gapItems)}.gux-form-field-label.gux-above{padding-block-end:var(--gse-ui-formControl-formField-gap)}.gux-form-field-label.gux-screenreader{position:absolute;top:auto;left:-10000px;width:1px;height:1px;overflow:hidden}.gux-form-field-help{display:none;flex-direction:row;flex-wrap:nowrap;place-content:stretch flex-start;align-items:flex-start;justify-content:flex-start;padding-block-start:var(--gse-ui-formControl-formField-gap);font-family:var(--gse-ui-formControl-helper-helperText-fontFamily);font-size:var(--gse-ui-formControl-helper-helperText-fontSize);line-height:var(--gse-ui-formControl-helper-helperText-lineHeight);color:var(--gse-ui-formControl-helper-defaultColor)}.gux-form-field-help.gux-show{display:flex}.gux-form-field-help .gux-message{flex:0 1 auto;align-self:none;order:0}:host{display:block}::slotted(label){font-family:var(--gse-ui-formControl-label-textBold-fontFamily);font-size:var(--gse-ui-formControl-label-textBold-fontSize);font-weight:var(--gse-ui-formControl-label-textBold-fontWeight);line-height:var(--gse-ui-formControl-label-textBold-lineHeight);color:var(--gse-ui-formControl-label-labelColor)}::slotted(input){flex:0 1 auto;align-self:auto;order:0;inline-size:var(--gse-ui-colorPicker-input-swatchSizing);min-inline-size:var(--gse-ui-colorPicker-input-swatchSizing);block-size:var(--gse-ui-colorPicker-input-swatchSizing);padding:0;overflow:hidden;text-overflow:ellipsis;font-family:var(--gse-ui-formControl-input-contentText-fontFamily);font-size:var(--gse-ui-formControl-input-contentText-fontSize);font-weight:var(--gse-ui-formControl-input-contentText-fontWeight);line-height:var(--gse-ui-formControl-input-contentText-lineHeight);color:var(--gse-ui-formControl-input-populatedColor);text-align:end;outline:none;background-color:var(--gse-ui-formControl-input-backgroundColor);border:none}::slotted(input)::placeholder{color:var(--gse-ui-formControl-input-placeholderColor);opacity:1}.gux-input-and-error-container{flex-grow:1}.gux-input-and-error-container .gux-input{display:flex;flex-direction:row;flex-wrap:nowrap;align-content:stretch;align-items:center}.gux-input-and-error-container .gux-input .gux-input-container{box-sizing:border-box;display:flex;flex-direction:row;flex-wrap:nowrap;gap:var(--gse-ui-formControl-input-gap);place-content:stretch center;align-items:center;align-self:auto;order:0;inline-size:var(--gse-ui-formControl-input-colorPicker-size);block-size:var(--gse-ui-formControl-input-colorPicker-size);font-family:var(--gse-ui-formControl-input-contentText-fontFamily);font-size:var(--gse-ui-formControl-input-contentText-fontSize);line-height:var(--gse-ui-formControl-input-contentText-lineHeight);color:var(--gse-ui-formControl-input-populatedColor);background-color:var(--gse-ui-formControl-input-backgroundColor);background-image:none;border:var(--gse-ui-formControl-input-default-border-width) var(--gse-ui-formControl-input-default-border-style) var(--gse-ui-formControl-input-default-border-color);border-radius:var(--gse-ui-formControl-input-borderRadius)}.gux-input-and-error-container .gux-input .gux-input-container.gux-disabled{opacity:var(--gse-ui-formControl-input-disabled-opacity)}.gux-input-and-error-container .gux-input .gux-input-container:focus-within{outline:var(--gse-ui-formControl-input-focus-border-width) var(--gse-ui-formControl-input-focus-border-style) var(--gse-ui-formControl-input-focus-border-color);outline-offset:var(--gse-semantic-focusOutline-offset);border:var(--gse-ui-formControl-input-active-border-width) var(--gse-ui-formControl-input-active-border-style) var(--gse-ui-formControl-input-active-border-color);border-radius:var(--gse-ui-formControl-focusRing-borderRadius)}.gux-input-and-error-container .gux-input .gux-input-container:hover{cursor:pointer;border-color:var(--gse-ui-formControl-input-hover-border-color)}.gux-input-and-error-container .gux-input.gux-input-error .gux-input-container{border-color:var(--gse-ui-formControl-input-error-border-color)}";export{b as gux_form_field_color}
1
+ import{r as e,h as o,g as r}from"./p-ffb7c9dc.js";import{c as i,o as t}from"./p-f4751a15.js";import{O as n}from"./p-166634e1.js";import{o as l}from"./p-6b12dd16.js";import{p as a}from"./p-a11d5d42.js";import{h as s}from"./p-6d8b4027.js";import{a as u,G as f}from"./p-fcca9736.js";import{G as d,a as p}from"./p-727bfafa.js";import{g as c,v as g,a as h}from"./p-4aaf349e.js";import{t as m}from"./p-db306845.js";import"./p-0934300e.js";import"./p-8eaf8caf.js";import"./p-2c25e2f2.js";const b=class{constructor(o){e(this,o),this.labelPosition=void 0,this.indicatorMark="required",this.computedLabelPosition=void 0,this.disabled=void 0,this.required=void 0,this.hasError=!1,this.hasHelp=!1}onMutation(){this.labelInfo=this.root.querySelector("[slot=label-info]"),this.hasError=s(this.root,"error"),this.hasHelp=s(this.root,"help")}handleKeyup(e){var o,r;"Tab"===e.key?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)):this.input.matches(":focus-visible")&&(null===(r=this.labelInfo)||void 0===r||r.hideTooltip(),clearTimeout(this.hideLabelInfoTimeout))}onFocusout(){var e;null===(e=this.labelInfo)||void 0===e||e.hideTooltip(),clearTimeout(this.hideLabelInfoTimeout)}componentWillLoad(){this.setInput(),this.setLabel(),this.labelInfo=this.root.querySelector("[slot=label-info]"),this.hasError=s(this.root,"error"),this.hasHelp=s(this.root,"help"),m(this.root,{variant:this.variant})}disconnectedCallback(){this.disabledObserver&&this.disabledObserver.disconnect(),this.requiredObserver&&this.requiredObserver.disconnect()}render(){return o(p,{key:"07d044e47711b028ded90b9ffd393eb276b060db",labelPosition:this.computedLabelPosition},o(d,{key:"249e72d3656074279b7e6870239b54f44d5d7567",required:this.required,position:this.computedLabelPosition},o("slot",{key:"5b7cb890506fcff2d6ec307ed36ce72941668754",name:"label",onSlotchange:()=>this.setLabel()}),o("gux-form-field-label-indicator",{key:"89ba185cd75462b462a38f5a12b1106a0b19681d",variant:this.indicatorMark,required:this.required}),o("slot",{key:"25c15bb03bfd830194ce2349445acd358bf4ba3e",name:"label-info"})),o("div",{key:"f2d0ec4ccc8e8a84913e48cf7a44223717591af9",class:"gux-input-and-error-container"},o("div",{key:"c3d1badb9997476a8dedf60d846e752549557756",class:{"gux-input":!0,"gux-input-error":this.hasError}},o("div",{key:"29e3884c40bb051ded5857cafbfe87f85fd38b81",class:{"gux-input-container":!0,"gux-disabled":this.disabled}},o("slot",{key:"d424d15842987a746161f35c144a8df138bda123",name:"input",onSlotchange:()=>this.setInput()}))),o(u,{key:"4539fe29e0af49e460fbe782bdcda64fea276cf6",show:this.hasError},o("slot",{key:"9c58570aa945d480f4401c73b1af737844a7314c",name:"error"})),o(f,{key:"572afeb9a117e9149479692f264b70ad43c62ac0",show:!this.hasError&&this.hasHelp},o("slot",{key:"f2e34e4a6acad402a3c10748f38bc062350b3f0e",name:"help"}))))}get variant(){return this.labelPosition?this.labelPosition.toLowerCase():"none"}setInput(){this.input=c(this.root,'input[type="color"][slot="input"]'),a(this.input),this.disabled=i(this.input),this.required=this.input.required,this.disabledObserver=t(this.input,(e=>{this.disabled=e})),this.requiredObserver=l(this.input,(e=>{this.required=e})),g(this.root,this.input)}setLabel(){this.label=this.root.querySelector('label[slot="label"]'),this.computedLabelPosition=h(this.label,this.labelPosition)}get root(){return r(this)}};(function(e,o,r,i){var t,n=arguments.length,l=n<3?o:null===i?i=Object.getOwnPropertyDescriptor(o,r):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)l=Reflect.decorate(e,o,r,i);else for(var a=e.length-1;a>=0;a--)(t=e[a])&&(l=(n<3?t(l):n>3?t(o,r,l):t(o,r))||l);n>3&&l&&Object.defineProperty(o,r,l)})([n({childList:!0,subtree:!0})],b.prototype,"onMutation",null),b.style=".gux-form-field-container.gux-beside{display:flex;flex-direction:row}.gux-form-field-error{display:none;flex-direction:row;flex-wrap:nowrap;gap:var(--gse-ui-formControl-helper-gap);place-content:stretch flex-start;padding:var(--gse-ui-formControl-helper-errorPadding);font-family:var(--gse-ui-formControl-helper-helperText-fontFamily);font-size:var(--gse-ui-formControl-helper-helperText-fontSize);line-height:var(--gse-ui-formControl-helper-helperText-lineHeight);color:var(--gse-ui-formControl-helper-errorColor)}.gux-form-field-error.gux-show{display:flex}.gux-form-field-error gux-icon{flex:0 1 auto;order:0;min-inline-size:var(--gse-ui-icon-small-size);min-block-size:var(--gse-ui-icon-small-size);color:var(--gse-ui-formControl-helper-errorColor)}.gux-form-field-error .gux-message{flex:0 1 auto;align-self:auto;order:0}.gux-form-field-label{display:inline-flex;flex:1 0 auto}.gux-form-field-label ::slotted(gux-label-info-beta){padding-inline-start:var(--gse-ui-formControl-formField-gap)}.gux-form-field-label.gux-beside{position:relative;inset-block-start:var(--gse-ui-formControl-input-top);inline-size:fit-content;min-inline-size:var(--gse-ui-formControl-input-textfield-minWidth);max-inline-size:fit-content;margin-inline-end:var(--gse-ui-formControl-group-gapItems)}.gux-form-field-label.gux-above{padding-block-end:var(--gse-ui-formControl-formField-gap)}.gux-form-field-label.gux-screenreader{position:absolute;top:auto;left:-10000px;width:1px;height:1px;overflow:hidden}.gux-form-field-help{display:none;flex-direction:row;flex-wrap:nowrap;place-content:stretch flex-start;align-items:flex-start;justify-content:flex-start;padding-block-start:var(--gse-ui-formControl-formField-gap);font-family:var(--gse-ui-formControl-helper-helperText-fontFamily);font-size:var(--gse-ui-formControl-helper-helperText-fontSize);line-height:var(--gse-ui-formControl-helper-helperText-lineHeight);color:var(--gse-ui-formControl-helper-defaultColor)}.gux-form-field-help.gux-show{display:flex}.gux-form-field-help .gux-message{flex:0 1 auto;align-self:none;order:0}:host{display:block}::slotted(label){font-family:var(--gse-ui-formControl-label-textBold-fontFamily);font-size:var(--gse-ui-formControl-label-textBold-fontSize);font-weight:var(--gse-ui-formControl-label-textBold-fontWeight);line-height:var(--gse-ui-formControl-label-textBold-lineHeight);color:var(--gse-ui-formControl-label-labelColor)}::slotted(input){flex:0 1 auto;align-self:auto;order:0;inline-size:var(--gse-ui-colorPicker-input-swatchSizing);min-inline-size:var(--gse-ui-colorPicker-input-swatchSizing);block-size:var(--gse-ui-colorPicker-input-swatchSizing);padding:0;overflow:hidden;text-overflow:ellipsis;font-family:var(--gse-ui-formControl-input-contentText-fontFamily);font-size:var(--gse-ui-formControl-input-contentText-fontSize);font-weight:var(--gse-ui-formControl-input-contentText-fontWeight);line-height:var(--gse-ui-formControl-input-contentText-lineHeight);color:var(--gse-ui-formControl-input-populatedColor);text-align:end;outline:none;background-color:var(--gse-ui-formControl-input-backgroundColor);border:none}::slotted(input)::placeholder{color:var(--gse-ui-formControl-input-placeholderColor);opacity:1}.gux-input-and-error-container{flex-grow:1}.gux-input-and-error-container .gux-input{display:flex;flex-direction:row;flex-wrap:nowrap;align-content:stretch;align-items:center}.gux-input-and-error-container .gux-input .gux-input-container{box-sizing:border-box;display:flex;flex-direction:row;flex-wrap:nowrap;gap:var(--gse-ui-formControl-input-gap);place-content:stretch center;align-items:center;align-self:auto;order:0;inline-size:var(--gse-ui-formControl-input-colorPicker-size);block-size:var(--gse-ui-formControl-input-colorPicker-size);font-family:var(--gse-ui-formControl-input-contentText-fontFamily);font-size:var(--gse-ui-formControl-input-contentText-fontSize);line-height:var(--gse-ui-formControl-input-contentText-lineHeight);color:var(--gse-ui-formControl-input-populatedColor);background-color:var(--gse-ui-formControl-input-backgroundColor);background-image:none;border:var(--gse-ui-formControl-input-default-border-width) var(--gse-ui-formControl-input-default-border-style) var(--gse-ui-formControl-input-default-border-color);border-radius:var(--gse-ui-formControl-input-borderRadius)}.gux-input-and-error-container .gux-input .gux-input-container.gux-disabled{opacity:var(--gse-ui-formControl-input-disabled-opacity)}.gux-input-and-error-container .gux-input .gux-input-container:focus-within{outline:var(--gse-ui-formControl-input-focus-border-width) var(--gse-ui-formControl-input-focus-border-style) var(--gse-ui-formControl-input-focus-border-color);outline-offset:var(--gse-semantic-focusOutline-offset);border:var(--gse-ui-formControl-input-active-border-width) var(--gse-ui-formControl-input-active-border-style) var(--gse-ui-formControl-input-active-border-color);border-radius:var(--gse-ui-formControl-focusRing-borderRadius)}.gux-input-and-error-container .gux-input .gux-input-container:hover{cursor:pointer;border-color:var(--gse-ui-formControl-input-hover-border-color)}.gux-input-and-error-container .gux-input.gux-input-error .gux-input-container{border-color:var(--gse-ui-formControl-input-error-border-color)}";export{b as gux_form_field_color}