genesys-spark-components 4.30.0 → 4.31.1

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 (479) hide show
  1. package/dist/cjs/gux-accordion-section.cjs.entry.js +5 -5
  2. package/dist/cjs/gux-accordion.cjs.entry.js +2 -2
  3. package/dist/cjs/gux-action-button.cjs.entry.js +2 -2
  4. package/dist/cjs/gux-action-toast-legacy.cjs.entry.js +2 -2
  5. package/dist/cjs/gux-advanced-dropdown-legacy.cjs.entry.js +3 -3
  6. package/dist/cjs/gux-all-row-select.cjs.entry.js +1 -1
  7. package/dist/cjs/gux-announce-beta.cjs.entry.js +1 -1
  8. package/dist/cjs/gux-avatar-beta.cjs.entry.js +1 -1
  9. package/dist/cjs/gux-badge.cjs.entry.js +2 -2
  10. package/dist/cjs/gux-blank-state.cjs.entry.js +2 -2
  11. package/dist/cjs/gux-breadcrumb-item.cjs.entry.js +1 -1
  12. package/dist/cjs/gux-breadcrumbs.cjs.entry.js +2 -2
  13. package/dist/cjs/gux-button-multi.cjs.entry.js +2 -2
  14. package/dist/cjs/gux-button-slot.cjs.entry.js +2 -2
  15. package/dist/cjs/gux-button.cjs.entry.js +3 -3
  16. package/dist/cjs/gux-calendar.cjs.entry.js +2 -2
  17. package/dist/cjs/gux-card.cjs.entry.js +3 -3
  18. package/dist/cjs/gux-column-manager-item.cjs.entry.js +3 -3
  19. package/dist/cjs/gux-column-manager.cjs.entry.js +2 -2
  20. package/dist/cjs/gux-content-search.cjs.entry.js +3 -3
  21. package/dist/cjs/gux-context-menu.cjs.entry.js +3 -3
  22. package/dist/cjs/gux-copy-to-clipboard.cjs.entry.js +2 -2
  23. package/dist/cjs/gux-create-option.cjs.entry.js +2 -2
  24. package/dist/cjs/gux-date-beta.cjs.entry.js +1 -1
  25. package/dist/cjs/gux-date-time-beta.cjs.entry.js +1 -1
  26. package/dist/cjs/gux-datepicker.cjs.entry.js +2 -2
  27. package/dist/cjs/gux-disclosure-button-legacy.cjs.entry.js +3 -3
  28. package/dist/cjs/gux-dismiss-button.cjs.entry.js +2 -2
  29. package/dist/cjs/gux-dropdown-multi-tag.cjs.entry.js +1 -1
  30. package/dist/cjs/gux-dropdown-multi.cjs.entry.js +2 -2
  31. package/dist/cjs/gux-dropdown-option.cjs.entry.js +1 -1
  32. package/dist/cjs/gux-dropdown_3.cjs.entry.js +4 -4
  33. package/dist/cjs/gux-flag-icon-beta.cjs.entry.js +1 -1
  34. package/dist/cjs/gux-flyout-menu.cjs.entry.js +3 -3
  35. package/dist/cjs/gux-form-field-checkbox.cjs.entry.js +3 -3
  36. package/dist/cjs/gux-form-field-color.cjs.entry.js +4 -4
  37. package/dist/cjs/gux-form-field-dropdown.cjs.entry.js +3 -3
  38. package/dist/cjs/gux-form-field-input-clear-button.cjs.entry.js +2 -2
  39. package/dist/cjs/gux-form-field-number_3.cjs.entry.js +8 -8
  40. package/dist/cjs/gux-form-field-phone.cjs.entry.js +4 -4
  41. package/dist/cjs/gux-form-field-radio.cjs.entry.js +3 -3
  42. package/dist/cjs/gux-form-field-range.cjs.entry.js +3 -3
  43. package/dist/cjs/gux-form-field-search.cjs.entry.js +4 -4
  44. package/dist/cjs/gux-form-field-select.cjs.entry.js +4 -4
  45. package/dist/cjs/gux-form-field-text-like.cjs.entry.js +4 -4
  46. package/dist/cjs/gux-form-field-textarea.cjs.entry.js +3 -3
  47. package/dist/cjs/gux-form-field-time-picker.cjs.entry.js +4 -4
  48. package/dist/cjs/gux-form-field-time-zone-picker.cjs.entry.js +3 -3
  49. package/dist/cjs/gux-icon.cjs.entry.js +2 -2
  50. package/dist/cjs/gux-inline-alert.cjs.entry.js +3 -3
  51. package/dist/cjs/gux-list-divider.cjs.entry.js +1 -1
  52. package/dist/cjs/gux-list-item.cjs.entry.js +1 -1
  53. package/dist/cjs/gux-list.cjs.entry.js +2 -2
  54. package/dist/cjs/gux-listbox-multi.cjs.entry.js +1 -1
  55. package/dist/cjs/gux-loading-message.cjs.entry.js +2 -2
  56. package/dist/cjs/gux-menu-option.cjs.entry.js +1 -1
  57. package/dist/cjs/gux-menu.cjs.entry.js +1 -1
  58. package/dist/cjs/gux-modal-legacy.cjs.entry.js +3 -3
  59. package/dist/cjs/gux-modal.cjs.entry.js +3 -3
  60. package/dist/cjs/gux-month-picker-beta.cjs.entry.js +1 -1
  61. package/dist/cjs/gux-notification-toast-legacy.cjs.entry.js +2 -2
  62. package/dist/cjs/gux-option-group-beta.cjs.entry.js +1 -1
  63. package/dist/cjs/gux-option-icon.cjs.entry.js +2 -2
  64. package/dist/cjs/gux-option-multi.cjs.entry.js +2 -2
  65. package/dist/cjs/gux-page-loading-spinner.cjs.entry.js +2 -2
  66. package/dist/cjs/gux-pagination-buttons-legacy_3.cjs.entry.js +4 -4
  67. package/dist/cjs/gux-pagination-buttons_2.cjs.entry.js +2 -2
  68. package/dist/cjs/gux-pagination-cursor.cjs.entry.js +1 -1
  69. package/dist/cjs/gux-pagination-items-per-page.cjs.entry.js +1 -1
  70. package/dist/cjs/gux-pagination-legacy.cjs.entry.js +2 -2
  71. package/dist/cjs/gux-pagination.cjs.entry.js +2 -2
  72. package/dist/cjs/gux-phone-input-beta.cjs.entry.js +1 -1
  73. package/dist/cjs/gux-popover-list.cjs.entry.js +3 -3
  74. package/dist/cjs/gux-popup.cjs.entry.js +3 -3
  75. package/dist/cjs/gux-radial-loading.cjs.entry.js +2 -2
  76. package/dist/cjs/gux-radial-progress.cjs.entry.js +1 -1
  77. package/dist/cjs/gux-rating.cjs.entry.js +2 -2
  78. package/dist/cjs/gux-row-select.cjs.entry.js +1 -1
  79. package/dist/cjs/gux-screen-reader-beta.cjs.entry.js +1 -1
  80. package/dist/cjs/gux-segmented-control-beta.cjs.entry.js +1 -1
  81. package/dist/cjs/gux-simple-toast-legacy.cjs.entry.js +2 -2
  82. package/dist/cjs/gux-skip-navigation-item.cjs.entry.js +1 -1
  83. package/dist/cjs/gux-skip-navigation-list.cjs.entry.js +2 -2
  84. package/dist/cjs/gux-sort-control.cjs.entry.js +4 -4
  85. package/dist/cjs/gux-submenu.cjs.entry.js +3 -3
  86. package/dist/cjs/gux-switch-item.cjs.entry.js +1 -1
  87. package/dist/cjs/gux-switch-legacy.cjs.entry.js +2 -2
  88. package/dist/cjs/gux-tab-advanced-list.cjs.entry.js +1 -1
  89. package/dist/cjs/gux-tab-advanced-panel.cjs.entry.js +1 -1
  90. package/dist/cjs/gux-tab-advanced.cjs.entry.js +2 -2
  91. package/dist/cjs/gux-tab-list.cjs.entry.js +2 -2
  92. package/dist/cjs/gux-tab-panel.cjs.entry.js +1 -1
  93. package/dist/cjs/gux-tab.cjs.entry.js +2 -2
  94. package/dist/cjs/gux-table-select-menu.cjs.entry.js +1 -1
  95. package/dist/cjs/gux-table-toolbar-action.cjs.entry.js +2 -2
  96. package/dist/cjs/gux-table-toolbar-custom-action.cjs.entry.js +2 -2
  97. package/dist/cjs/gux-table-toolbar-menu-button.cjs.entry.js +2 -2
  98. package/dist/cjs/gux-table-toolbar.cjs.entry.js +3 -3
  99. package/dist/cjs/gux-table.cjs.entry.js +2 -2
  100. package/dist/cjs/gux-tabs-advanced.cjs.entry.js +2 -2
  101. package/dist/cjs/gux-tabs.cjs.entry.js +2 -2
  102. package/dist/cjs/gux-tag.cjs.entry.js +2 -2
  103. package/dist/cjs/gux-text-highlight.cjs.entry.js +1 -1
  104. package/dist/cjs/gux-time-beta.cjs.entry.js +1 -1
  105. package/dist/cjs/gux-time-picker.cjs.entry.js +2 -2
  106. package/dist/cjs/gux-time-zone-picker-beta.cjs.entry.js +1 -1
  107. package/dist/cjs/gux-toast.cjs.entry.js +3 -3
  108. package/dist/cjs/gux-toggle-slider.cjs.entry.js +2 -2
  109. package/dist/cjs/gux-toggle.cjs.entry.js +3 -3
  110. package/dist/cjs/gux-tooltip-base-beta.cjs.entry.js +4 -4
  111. package/dist/cjs/gux-tooltip-beta.cjs.entry.js +3 -5
  112. package/dist/cjs/gux-tooltip-title.cjs.entry.js +2 -2
  113. package/dist/cjs/gux-tooltip.cjs.entry.js +4 -4
  114. package/dist/cjs/gux-truncate.cjs.entry.js +2 -2
  115. package/dist/cjs/{usage-a14aaf71.js → usage-7dd20fb3.js} +1 -2
  116. package/dist/collection/components/beta/gux-tooltip-base/gux-tooltip-base.css +5 -0
  117. package/dist/collection/components/beta/gux-tooltip-base/gux-tooltip-base.js +3 -3
  118. package/dist/collection/components/beta/gux-tooltip-beta/gux-tooltip.js +3 -5
  119. package/dist/collection/components/legacy/gux-action-toast-legacy/gux-action-toast.js +1 -1
  120. package/dist/collection/components/legacy/gux-advanced-dropdown-legacy/dropdown-option/gux-dropdown-option.js +1 -1
  121. package/dist/collection/components/legacy/gux-advanced-dropdown-legacy/gux-advanced-dropdown.js +2 -2
  122. package/dist/collection/components/legacy/gux-disclosure-button-legacy/gux-disclosure-button.js +2 -2
  123. package/dist/collection/components/legacy/gux-modal-legacy/gux-modal-legacy.js +2 -2
  124. package/dist/collection/components/legacy/gux-notification-toast-legacy/gux-notification-toast.js +1 -1
  125. package/dist/collection/components/legacy/gux-pagination-legacy/gux-pagination-buttons-legacy/gux-pagination-buttons.js +1 -1
  126. package/dist/collection/components/legacy/gux-pagination-legacy/gux-pagination-item-counts-legacy/gux-pagination-item-counts.js +2 -2
  127. package/dist/collection/components/legacy/gux-pagination-legacy/gux-pagination-items-per-page-legacy/gux-pagination-items-per-page.js +1 -1
  128. package/dist/collection/components/legacy/gux-pagination-legacy/gux-pagination.js +1 -1
  129. package/dist/collection/components/legacy/gux-simple-toast-legacy/gux-simple-toast.js +1 -1
  130. package/dist/collection/components/legacy/gux-switch-legacy/gux-switch-item/gux-switch-item.js +1 -1
  131. package/dist/collection/components/legacy/gux-switch-legacy/gux-switch.js +1 -1
  132. package/dist/collection/components/stable/gux-accordion/gux-accordion-section/gux-accordion-section.js +5 -5
  133. package/dist/collection/components/stable/gux-accordion/gux-accordion.js +1 -1
  134. package/dist/collection/components/stable/gux-action-button/gux-action-button.js +1 -1
  135. package/dist/collection/components/stable/gux-badge/gux-badge.js +1 -1
  136. package/dist/collection/components/stable/gux-blank-state/gux-blank-state.js +1 -1
  137. package/dist/collection/components/stable/gux-breadcrumbs/breadcrumb-item/gux-breadcrumb-item.js +1 -1
  138. package/dist/collection/components/stable/gux-breadcrumbs/gux-breadcrumbs.js +1 -1
  139. package/dist/collection/components/stable/gux-button/gux-button.js +2 -2
  140. package/dist/collection/components/stable/gux-button-multi/gux-button-multi.js +1 -1
  141. package/dist/collection/components/stable/gux-button-slot/gux-button-slot.js +1 -1
  142. package/dist/collection/components/stable/gux-calendar/gux-calendar.js +1 -1
  143. package/dist/collection/components/stable/gux-card/gux-card.js +2 -2
  144. package/dist/collection/components/stable/gux-column-manager/gux-column-manager-item/gux-column-manager-item.js +3 -3
  145. package/dist/collection/components/stable/gux-column-manager/gux-column-manager.js +1 -1
  146. package/dist/collection/components/stable/gux-content-search/gux-content-search.js +2 -2
  147. package/dist/collection/components/stable/gux-context-menu/gux-context-menu.js +2 -2
  148. package/dist/collection/components/stable/gux-copy-to-clipboard/gux-copy-to-clipboard.js +1 -1
  149. package/dist/collection/components/stable/gux-datepicker/gux-datepicker.js +1 -1
  150. package/dist/collection/components/stable/gux-dismiss-button/gux-dismiss-button.js +1 -1
  151. package/dist/collection/components/stable/gux-dropdown/gux-dropdown.js +1 -1
  152. package/dist/collection/components/stable/gux-dropdown-multi/gux-dropdown-multi-tag/gux-dropdown-multi-tag.js +1 -1
  153. package/dist/collection/components/stable/gux-dropdown-multi/gux-dropdown-multi.js +1 -1
  154. package/dist/collection/components/stable/gux-flyout-menu/gux-flyout-menu.js +2 -2
  155. package/dist/collection/components/stable/gux-flyout-menu/gux-menu/gux-menu-option/gux-menu-option.js +1 -1
  156. package/dist/collection/components/stable/gux-flyout-menu/gux-menu/gux-menu.js +1 -1
  157. package/dist/collection/components/stable/gux-flyout-menu/gux-menu/gux-submenu/gux-submenu.js +3 -3
  158. package/dist/collection/components/stable/gux-form-field/components/gux-form-field-checkbox/gux-form-field-checkbox.js +2 -2
  159. package/dist/collection/components/stable/gux-form-field/components/gux-form-field-color/gux-form-field-color.js +3 -3
  160. package/dist/collection/components/stable/gux-form-field/components/gux-form-field-dropdown/gux-form-field-dropdown.js +2 -2
  161. package/dist/collection/components/stable/gux-form-field/components/gux-form-field-number/gux-form-field-number.css +1 -1
  162. package/dist/collection/components/stable/gux-form-field/components/gux-form-field-number/gux-form-field-number.js +3 -3
  163. package/dist/collection/components/stable/gux-form-field/components/gux-form-field-phone/gux-form-field-phone.js +3 -3
  164. package/dist/collection/components/stable/gux-form-field/components/gux-form-field-radio/gux-form-field-radio.js +2 -2
  165. package/dist/collection/components/stable/gux-form-field/components/gux-form-field-range/gux-form-field-range.js +2 -2
  166. package/dist/collection/components/stable/gux-form-field/components/gux-form-field-search/gux-form-field-search.js +3 -3
  167. package/dist/collection/components/stable/gux-form-field/components/gux-form-field-select/gux-form-field-select.js +3 -3
  168. package/dist/collection/components/stable/gux-form-field/components/gux-form-field-text-like/gux-form-field-text-like.js +3 -3
  169. package/dist/collection/components/stable/gux-form-field/components/gux-form-field-textarea/gux-form-field-textarea.js +2 -2
  170. package/dist/collection/components/stable/gux-form-field/components/gux-form-field-time-picker/gux-form-field-time-picker.js +3 -3
  171. package/dist/collection/components/stable/gux-form-field/components/gux-form-field-time-zone-picker/gux-form-field-time-zone-picker.js +2 -2
  172. 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
  173. package/dist/collection/components/stable/gux-icon/gux-icon.js +2 -2
  174. package/dist/collection/components/stable/gux-icon/icons/fa/circle-info-regular.svg +1 -0
  175. package/dist/collection/components/stable/gux-icon/icons/fa/circle-question-regular.svg +1 -0
  176. package/dist/collection/components/stable/gux-inline-alert/gux-inline-alert.js +2 -2
  177. package/dist/collection/components/stable/gux-list/gux-list-divider/gux-list-divider.js +1 -1
  178. package/dist/collection/components/stable/gux-list/gux-list-item/gux-list-item.js +1 -1
  179. package/dist/collection/components/stable/gux-list/gux-list.js +1 -1
  180. package/dist/collection/components/stable/gux-listbox/option-group/gux-option-group.js +1 -1
  181. package/dist/collection/components/stable/gux-listbox/options/gux-option/gux-option.js +2 -2
  182. package/dist/collection/components/stable/gux-listbox/options/gux-option-icon/gux-option-icon.js +2 -2
  183. package/dist/collection/components/stable/gux-listbox-multi/gux-create-option/gux-create-option.js +2 -2
  184. package/dist/collection/components/stable/gux-listbox-multi/gux-option-multi/gux-option-multi.js +2 -2
  185. package/dist/collection/components/stable/gux-loading-message/gux-loading-message.js +1 -1
  186. package/dist/collection/components/stable/gux-modal/gux-modal.js +2 -2
  187. package/dist/collection/components/stable/gux-page-loading-spinner/gux-page-loading-spinner.js +1 -1
  188. package/dist/collection/components/stable/gux-pagination/gux-pagination-buttons/gux-pagination-buttons.js +1 -1
  189. package/dist/collection/components/stable/gux-pagination/gux-pagination-buttons/gux-pagination-ellipsis-button/gux-pagination-ellipsis-button.js +1 -1
  190. package/dist/collection/components/stable/gux-pagination/gux-pagination-item-counts/gux-pagination-item-counts.js +1 -1
  191. package/dist/collection/components/stable/gux-pagination/gux-pagination-items-per-page/gux-pagination-items-per-page.js +1 -1
  192. package/dist/collection/components/stable/gux-pagination/gux-pagination.js +1 -1
  193. package/dist/collection/components/stable/gux-popover/gux-popover.js +2 -2
  194. package/dist/collection/components/stable/gux-popover-list/gux-popover-list.js +2 -2
  195. package/dist/collection/components/stable/gux-popup/gux-popup.js +3 -3
  196. package/dist/collection/components/stable/gux-radial-loading/gux-radial-loading.js +1 -1
  197. package/dist/collection/components/stable/gux-rating/gux-rating.js +1 -1
  198. package/dist/collection/components/stable/gux-skip-navigation-list/gux-skip-navigation-item/gux-skip-navigation-item.js +1 -1
  199. package/dist/collection/components/stable/gux-skip-navigation-list/gux-skip-navigation-list.js +1 -1
  200. package/dist/collection/components/stable/gux-table/gux-all-row-select/gux-all-row-select.js +1 -1
  201. package/dist/collection/components/stable/gux-table/gux-row-select/gux-row-select.js +1 -1
  202. package/dist/collection/components/stable/gux-table/gux-sort-control/gux-sort-control.js +3 -3
  203. package/dist/collection/components/stable/gux-table/gux-table-select-menu/gux-table-select-menu.js +1 -1
  204. package/dist/collection/components/stable/gux-table/gux-table.js +1 -1
  205. package/dist/collection/components/stable/gux-table-toolbar/gux-table-toolbar-action/gux-table-toolbar-action.js +1 -1
  206. package/dist/collection/components/stable/gux-table-toolbar/gux-table-toolbar-custom-action/gux-table-toolbar-custom-action.js +1 -1
  207. package/dist/collection/components/stable/gux-table-toolbar/gux-table-toolbar-menu-button/gux-table-toolbar-menu-button.js +1 -1
  208. package/dist/collection/components/stable/gux-table-toolbar/gux-table-toolbar.js +2 -2
  209. package/dist/collection/components/stable/gux-tabs/gux-tab/gux-tab.js +2 -2
  210. package/dist/collection/components/stable/gux-tabs/gux-tab-list/gux-tab-list.js +2 -2
  211. package/dist/collection/components/stable/gux-tabs/gux-tab-panel/gux-tab-panel.js +1 -1
  212. package/dist/collection/components/stable/gux-tabs/gux-tabs.js +1 -1
  213. package/dist/collection/components/stable/gux-tabs-advanced/gux-tab-advanced/gux-tab-advanced.js +2 -2
  214. package/dist/collection/components/stable/gux-tabs-advanced/gux-tab-advanced-list/gux-tab-advanced-list.js +1 -1
  215. package/dist/collection/components/stable/gux-tabs-advanced/gux-tab-advanced-panel/gux-tab-advanced-panel.js +1 -1
  216. package/dist/collection/components/stable/gux-tabs-advanced/gux-tabs-advanced.js +1 -1
  217. package/dist/collection/components/stable/gux-tag/gux-tag.js +1 -1
  218. package/dist/collection/components/stable/gux-time-picker/gux-time-picker.js +1 -1
  219. package/dist/collection/components/stable/gux-toast/gux-toast.js +2 -2
  220. package/dist/collection/components/stable/gux-toggle/gux-toggle-slider/gux-toggle-slider.js +2 -2
  221. package/dist/collection/components/stable/gux-toggle/gux-toggle.js +2 -2
  222. package/dist/collection/components/stable/gux-tooltip/gux-tooltip.css +5 -0
  223. package/dist/collection/components/stable/gux-tooltip/gux-tooltip.js +3 -3
  224. package/dist/collection/components/stable/gux-tooltip-title/gux-tooltip-title.js +2 -2
  225. package/dist/collection/components/stable/gux-truncate/gux-truncate.js +2 -2
  226. package/dist/deploy-info.json +3 -3
  227. package/dist/esm/gux-accordion-section.entry.js +5 -5
  228. package/dist/esm/gux-accordion.entry.js +2 -2
  229. package/dist/esm/gux-action-button.entry.js +2 -2
  230. package/dist/esm/gux-action-toast-legacy.entry.js +2 -2
  231. package/dist/esm/gux-advanced-dropdown-legacy.entry.js +3 -3
  232. package/dist/esm/gux-all-row-select.entry.js +1 -1
  233. package/dist/esm/gux-announce-beta.entry.js +1 -1
  234. package/dist/esm/gux-avatar-beta.entry.js +1 -1
  235. package/dist/esm/gux-badge.entry.js +2 -2
  236. package/dist/esm/gux-blank-state.entry.js +2 -2
  237. package/dist/esm/gux-breadcrumb-item.entry.js +1 -1
  238. package/dist/esm/gux-breadcrumbs.entry.js +2 -2
  239. package/dist/esm/gux-button-multi.entry.js +2 -2
  240. package/dist/esm/gux-button-slot.entry.js +2 -2
  241. package/dist/esm/gux-button.entry.js +3 -3
  242. package/dist/esm/gux-calendar.entry.js +2 -2
  243. package/dist/esm/gux-card.entry.js +3 -3
  244. package/dist/esm/gux-column-manager-item.entry.js +3 -3
  245. package/dist/esm/gux-column-manager.entry.js +2 -2
  246. package/dist/esm/gux-content-search.entry.js +3 -3
  247. package/dist/esm/gux-context-menu.entry.js +3 -3
  248. package/dist/esm/gux-copy-to-clipboard.entry.js +2 -2
  249. package/dist/esm/gux-create-option.entry.js +2 -2
  250. package/dist/esm/gux-date-beta.entry.js +1 -1
  251. package/dist/esm/gux-date-time-beta.entry.js +1 -1
  252. package/dist/esm/gux-datepicker.entry.js +2 -2
  253. package/dist/esm/gux-disclosure-button-legacy.entry.js +3 -3
  254. package/dist/esm/gux-dismiss-button.entry.js +2 -2
  255. package/dist/esm/gux-dropdown-multi-tag.entry.js +1 -1
  256. package/dist/esm/gux-dropdown-multi.entry.js +2 -2
  257. package/dist/esm/gux-dropdown-option.entry.js +1 -1
  258. package/dist/esm/gux-dropdown_3.entry.js +4 -4
  259. package/dist/esm/gux-flag-icon-beta.entry.js +1 -1
  260. package/dist/esm/gux-flyout-menu.entry.js +3 -3
  261. package/dist/esm/gux-form-field-checkbox.entry.js +3 -3
  262. package/dist/esm/gux-form-field-color.entry.js +4 -4
  263. package/dist/esm/gux-form-field-dropdown.entry.js +3 -3
  264. package/dist/esm/gux-form-field-input-clear-button.entry.js +2 -2
  265. package/dist/esm/gux-form-field-number_3.entry.js +8 -8
  266. package/dist/esm/gux-form-field-phone.entry.js +4 -4
  267. package/dist/esm/gux-form-field-radio.entry.js +3 -3
  268. package/dist/esm/gux-form-field-range.entry.js +3 -3
  269. package/dist/esm/gux-form-field-search.entry.js +4 -4
  270. package/dist/esm/gux-form-field-select.entry.js +4 -4
  271. package/dist/esm/gux-form-field-text-like.entry.js +4 -4
  272. package/dist/esm/gux-form-field-textarea.entry.js +3 -3
  273. package/dist/esm/gux-form-field-time-picker.entry.js +4 -4
  274. package/dist/esm/gux-form-field-time-zone-picker.entry.js +3 -3
  275. package/dist/esm/gux-icon.entry.js +2 -2
  276. package/dist/esm/gux-inline-alert.entry.js +3 -3
  277. package/dist/esm/gux-list-divider.entry.js +1 -1
  278. package/dist/esm/gux-list-item.entry.js +1 -1
  279. package/dist/esm/gux-list.entry.js +2 -2
  280. package/dist/esm/gux-listbox-multi.entry.js +1 -1
  281. package/dist/esm/gux-loading-message.entry.js +2 -2
  282. package/dist/esm/gux-menu-option.entry.js +1 -1
  283. package/dist/esm/gux-menu.entry.js +1 -1
  284. package/dist/esm/gux-modal-legacy.entry.js +3 -3
  285. package/dist/esm/gux-modal.entry.js +3 -3
  286. package/dist/esm/gux-month-picker-beta.entry.js +1 -1
  287. package/dist/esm/gux-notification-toast-legacy.entry.js +2 -2
  288. package/dist/esm/gux-option-group-beta.entry.js +1 -1
  289. package/dist/esm/gux-option-icon.entry.js +2 -2
  290. package/dist/esm/gux-option-multi.entry.js +2 -2
  291. package/dist/esm/gux-page-loading-spinner.entry.js +2 -2
  292. package/dist/esm/gux-pagination-buttons-legacy_3.entry.js +4 -4
  293. package/dist/esm/gux-pagination-buttons_2.entry.js +2 -2
  294. package/dist/esm/gux-pagination-cursor.entry.js +1 -1
  295. package/dist/esm/gux-pagination-items-per-page.entry.js +1 -1
  296. package/dist/esm/gux-pagination-legacy.entry.js +2 -2
  297. package/dist/esm/gux-pagination.entry.js +2 -2
  298. package/dist/esm/gux-phone-input-beta.entry.js +1 -1
  299. package/dist/esm/gux-popover-list.entry.js +3 -3
  300. package/dist/esm/gux-popup.entry.js +3 -3
  301. package/dist/esm/gux-radial-loading.entry.js +2 -2
  302. package/dist/esm/gux-radial-progress.entry.js +1 -1
  303. package/dist/esm/gux-rating.entry.js +2 -2
  304. package/dist/esm/gux-row-select.entry.js +1 -1
  305. package/dist/esm/gux-screen-reader-beta.entry.js +1 -1
  306. package/dist/esm/gux-segmented-control-beta.entry.js +1 -1
  307. package/dist/esm/gux-simple-toast-legacy.entry.js +2 -2
  308. package/dist/esm/gux-skip-navigation-item.entry.js +1 -1
  309. package/dist/esm/gux-skip-navigation-list.entry.js +2 -2
  310. package/dist/esm/gux-sort-control.entry.js +4 -4
  311. package/dist/esm/gux-submenu.entry.js +3 -3
  312. package/dist/esm/gux-switch-item.entry.js +1 -1
  313. package/dist/esm/gux-switch-legacy.entry.js +2 -2
  314. package/dist/esm/gux-tab-advanced-list.entry.js +1 -1
  315. package/dist/esm/gux-tab-advanced-panel.entry.js +1 -1
  316. package/dist/esm/gux-tab-advanced.entry.js +2 -2
  317. package/dist/esm/gux-tab-list.entry.js +2 -2
  318. package/dist/esm/gux-tab-panel.entry.js +1 -1
  319. package/dist/esm/gux-tab.entry.js +2 -2
  320. package/dist/esm/gux-table-select-menu.entry.js +1 -1
  321. package/dist/esm/gux-table-toolbar-action.entry.js +2 -2
  322. package/dist/esm/gux-table-toolbar-custom-action.entry.js +2 -2
  323. package/dist/esm/gux-table-toolbar-menu-button.entry.js +2 -2
  324. package/dist/esm/gux-table-toolbar.entry.js +3 -3
  325. package/dist/esm/gux-table.entry.js +2 -2
  326. package/dist/esm/gux-tabs-advanced.entry.js +2 -2
  327. package/dist/esm/gux-tabs.entry.js +2 -2
  328. package/dist/esm/gux-tag.entry.js +2 -2
  329. package/dist/esm/gux-text-highlight.entry.js +1 -1
  330. package/dist/esm/gux-time-beta.entry.js +1 -1
  331. package/dist/esm/gux-time-picker.entry.js +2 -2
  332. package/dist/esm/gux-time-zone-picker-beta.entry.js +1 -1
  333. package/dist/esm/gux-toast.entry.js +3 -3
  334. package/dist/esm/gux-toggle-slider.entry.js +2 -2
  335. package/dist/esm/gux-toggle.entry.js +3 -3
  336. package/dist/esm/gux-tooltip-base-beta.entry.js +4 -4
  337. package/dist/esm/gux-tooltip-beta.entry.js +3 -5
  338. package/dist/esm/gux-tooltip-title.entry.js +2 -2
  339. package/dist/esm/gux-tooltip.entry.js +4 -4
  340. package/dist/esm/gux-truncate.entry.js +2 -2
  341. package/dist/esm/{usage-17be4097.js → usage-adc4eb77.js} +1 -2
  342. package/dist/genesys-webcomponents/genesys-webcomponents.esm.js +1 -1
  343. package/dist/genesys-webcomponents/icons/fa/circle-info-regular.svg +1 -0
  344. package/dist/genesys-webcomponents/icons/fa/circle-question-regular.svg +1 -0
  345. package/dist/genesys-webcomponents/{p-396fb800.entry.js → p-00e3142c.entry.js} +1 -1
  346. package/dist/genesys-webcomponents/{p-ae748c16.entry.js → p-01a40de4.entry.js} +1 -1
  347. package/dist/genesys-webcomponents/{p-f06aab33.entry.js → p-056ca309.entry.js} +1 -1
  348. package/dist/genesys-webcomponents/{p-2487a442.entry.js → p-06f0669d.entry.js} +1 -1
  349. package/dist/genesys-webcomponents/{p-1fc70fff.entry.js → p-06f0f6ba.entry.js} +1 -1
  350. package/dist/genesys-webcomponents/{p-9cf5f0f4.entry.js → p-0801d2d5.entry.js} +1 -1
  351. package/dist/genesys-webcomponents/{p-e75c687f.entry.js → p-104856f6.entry.js} +1 -1
  352. package/dist/genesys-webcomponents/{p-49af8e35.entry.js → p-1569c1cb.entry.js} +1 -1
  353. package/dist/genesys-webcomponents/{p-415da9c1.entry.js → p-1a1f022e.entry.js} +1 -1
  354. package/dist/genesys-webcomponents/{p-1a0bb24a.entry.js → p-1d1a86ac.entry.js} +1 -1
  355. package/dist/genesys-webcomponents/p-1f80d1e0.entry.js +1 -0
  356. package/dist/genesys-webcomponents/{p-dc882442.entry.js → p-202a1706.entry.js} +1 -1
  357. package/dist/genesys-webcomponents/{p-a75ca882.entry.js → p-24df5abe.entry.js} +1 -1
  358. package/dist/genesys-webcomponents/{p-ceec7a82.entry.js → p-25e18871.entry.js} +1 -1
  359. package/dist/genesys-webcomponents/{p-47442775.entry.js → p-26ad72c3.entry.js} +1 -1
  360. package/dist/genesys-webcomponents/{p-b0ae94c4.entry.js → p-28567895.entry.js} +1 -1
  361. package/dist/genesys-webcomponents/{p-1414fc0f.entry.js → p-28afff4f.entry.js} +1 -1
  362. package/dist/genesys-webcomponents/{p-fd5f3496.entry.js → p-295ae571.entry.js} +1 -1
  363. package/dist/genesys-webcomponents/{p-d8725de7.entry.js → p-2a47b788.entry.js} +1 -1
  364. package/dist/genesys-webcomponents/p-2a7986c9.entry.js +1 -0
  365. package/dist/genesys-webcomponents/{p-f7d976fa.entry.js → p-2af6d078.entry.js} +1 -1
  366. package/dist/genesys-webcomponents/{p-dce9f135.entry.js → p-2e1dc646.entry.js} +1 -1
  367. package/dist/genesys-webcomponents/p-2eaffff8.entry.js +1 -0
  368. package/dist/genesys-webcomponents/{p-8d2a537d.entry.js → p-2f8e16fd.entry.js} +1 -1
  369. package/dist/genesys-webcomponents/{p-2fe37612.entry.js → p-37c0a5d3.entry.js} +1 -1
  370. package/dist/genesys-webcomponents/{p-2f832f06.entry.js → p-3a9e9049.entry.js} +1 -1
  371. package/dist/genesys-webcomponents/{p-f2acd839.entry.js → p-3b482d41.entry.js} +1 -1
  372. package/dist/genesys-webcomponents/{p-eb032f49.entry.js → p-40f7d3c7.entry.js} +1 -1
  373. package/dist/genesys-webcomponents/p-43a10393.entry.js +1 -0
  374. package/dist/genesys-webcomponents/{p-8a315ff7.entry.js → p-45053646.entry.js} +1 -1
  375. package/dist/genesys-webcomponents/{p-b3f4b824.entry.js → p-4a82efe2.entry.js} +1 -1
  376. package/dist/genesys-webcomponents/{p-7d877949.entry.js → p-4d8325b3.entry.js} +1 -1
  377. package/dist/genesys-webcomponents/{p-54ac665a.entry.js → p-4e9458a1.entry.js} +1 -1
  378. package/dist/genesys-webcomponents/{p-f6296d1c.entry.js → p-4eefdcb9.entry.js} +1 -1
  379. package/dist/genesys-webcomponents/{p-331d25c6.entry.js → p-509a1703.entry.js} +1 -1
  380. package/dist/genesys-webcomponents/{p-ee816dc3.entry.js → p-532ab74a.entry.js} +1 -1
  381. package/dist/genesys-webcomponents/p-54c831d1.entry.js +1 -0
  382. package/dist/genesys-webcomponents/{p-d44bee29.entry.js → p-54d483f1.entry.js} +1 -1
  383. package/dist/genesys-webcomponents/{p-9bb3f595.entry.js → p-55909009.entry.js} +1 -1
  384. package/dist/genesys-webcomponents/{p-0be5bf02.entry.js → p-56f51cbf.entry.js} +1 -1
  385. package/dist/genesys-webcomponents/{p-cf5a8c1b.entry.js → p-58aaca00.entry.js} +1 -1
  386. package/dist/genesys-webcomponents/{p-fe10798a.entry.js → p-59556610.entry.js} +1 -1
  387. package/dist/genesys-webcomponents/{p-f466fb86.entry.js → p-5997bc80.entry.js} +1 -1
  388. package/dist/genesys-webcomponents/{p-b567a5b0.entry.js → p-5e4bec3a.entry.js} +1 -1
  389. package/dist/genesys-webcomponents/{p-53997716.entry.js → p-5fd10e3f.entry.js} +1 -1
  390. package/dist/genesys-webcomponents/{p-c439d5ff.entry.js → p-602385f9.entry.js} +1 -1
  391. package/dist/genesys-webcomponents/{p-c8e6ba5f.entry.js → p-62d7b27a.entry.js} +1 -1
  392. package/dist/genesys-webcomponents/{p-779e950e.entry.js → p-64c34caf.entry.js} +1 -1
  393. package/dist/genesys-webcomponents/{p-694d7e81.entry.js → p-66f86716.entry.js} +1 -1
  394. package/dist/genesys-webcomponents/{p-639f4fdb.entry.js → p-68100bbe.entry.js} +1 -1
  395. package/dist/genesys-webcomponents/{p-5c05900c.entry.js → p-6840bc6a.entry.js} +1 -1
  396. package/dist/genesys-webcomponents/{p-ba745aaa.entry.js → p-6cff91d7.entry.js} +1 -1
  397. package/dist/genesys-webcomponents/{p-1bdbdfb9.entry.js → p-74777597.entry.js} +1 -1
  398. package/dist/genesys-webcomponents/{p-ff2bb52f.entry.js → p-764a030c.entry.js} +1 -1
  399. package/dist/genesys-webcomponents/{p-2b57585d.entry.js → p-7752ea9c.entry.js} +1 -1
  400. package/dist/genesys-webcomponents/{p-502600f9.entry.js → p-7bd7122e.entry.js} +1 -1
  401. package/dist/genesys-webcomponents/{p-a43796f3.entry.js → p-7cd653d1.entry.js} +1 -1
  402. package/dist/genesys-webcomponents/{p-2fb24445.entry.js → p-7cdcb355.entry.js} +1 -1
  403. package/dist/genesys-webcomponents/{p-896830a0.entry.js → p-81cdc438.entry.js} +1 -1
  404. package/dist/genesys-webcomponents/p-8357be44.entry.js +1 -0
  405. package/dist/genesys-webcomponents/{p-44ee3fd2.entry.js → p-8423858b.entry.js} +1 -1
  406. package/dist/genesys-webcomponents/{p-af44b69e.entry.js → p-84ea323f.entry.js} +1 -1
  407. package/dist/genesys-webcomponents/{p-eb9dea23.entry.js → p-850052c6.entry.js} +1 -1
  408. package/dist/genesys-webcomponents/{p-23b3fd5b.entry.js → p-88380cdc.entry.js} +1 -1
  409. package/dist/genesys-webcomponents/{p-bf7b47ee.entry.js → p-88533ade.entry.js} +1 -1
  410. package/dist/genesys-webcomponents/{p-bf5e4394.entry.js → p-88ba7619.entry.js} +1 -1
  411. package/dist/genesys-webcomponents/{p-341441b7.entry.js → p-8b9efc62.entry.js} +1 -1
  412. package/dist/genesys-webcomponents/{p-991db993.entry.js → p-8ec22c7c.entry.js} +1 -1
  413. package/dist/genesys-webcomponents/{p-892210d4.entry.js → p-8f0fece0.entry.js} +1 -1
  414. package/dist/genesys-webcomponents/{p-ecdea9ff.entry.js → p-910bafc8.entry.js} +1 -1
  415. package/dist/genesys-webcomponents/{p-92e494cf.entry.js → p-91d8682b.entry.js} +1 -1
  416. package/dist/genesys-webcomponents/{p-c6277322.entry.js → p-9613fcdf.entry.js} +1 -1
  417. package/dist/genesys-webcomponents/{p-57cb25bb.js → p-97c25def.js} +1 -1
  418. package/dist/genesys-webcomponents/{p-fbfa6bff.entry.js → p-9acc1cf8.entry.js} +1 -1
  419. package/dist/genesys-webcomponents/{p-1fb54380.entry.js → p-9cf66c76.entry.js} +1 -1
  420. package/dist/genesys-webcomponents/p-9da13933.entry.js +1 -0
  421. package/dist/genesys-webcomponents/p-a2a367f1.entry.js +1 -0
  422. package/dist/genesys-webcomponents/{p-47d9fbb8.entry.js → p-a4704a66.entry.js} +1 -1
  423. package/dist/genesys-webcomponents/{p-4f9172b4.entry.js → p-a75f47be.entry.js} +1 -1
  424. package/dist/genesys-webcomponents/{p-57eea1f0.entry.js → p-a8ef76bc.entry.js} +1 -1
  425. package/dist/genesys-webcomponents/{p-341f0983.entry.js → p-a91ebb1e.entry.js} +1 -1
  426. package/dist/genesys-webcomponents/{p-f37246a6.entry.js → p-a931c35b.entry.js} +1 -1
  427. package/dist/genesys-webcomponents/{p-42edac41.entry.js → p-a9b95e80.entry.js} +1 -1
  428. package/dist/genesys-webcomponents/{p-bce2b6b3.entry.js → p-ad578ba0.entry.js} +1 -1
  429. package/dist/genesys-webcomponents/{p-67856cb7.entry.js → p-aeec8bef.entry.js} +1 -1
  430. package/dist/genesys-webcomponents/{p-a16e9954.entry.js → p-b082b044.entry.js} +1 -1
  431. package/dist/genesys-webcomponents/{p-b5bec9f1.entry.js → p-b8a5e418.entry.js} +1 -1
  432. package/dist/genesys-webcomponents/{p-68e663e7.entry.js → p-be9e5cc5.entry.js} +1 -1
  433. package/dist/genesys-webcomponents/{p-30db1dc9.entry.js → p-bf19d2bd.entry.js} +1 -1
  434. package/dist/genesys-webcomponents/{p-70650753.entry.js → p-bfd9a5fb.entry.js} +1 -1
  435. package/dist/genesys-webcomponents/p-c031f181.entry.js +1 -0
  436. package/dist/genesys-webcomponents/p-c27e2773.entry.js +1 -0
  437. package/dist/genesys-webcomponents/{p-2aba5b9b.entry.js → p-c509856c.entry.js} +1 -1
  438. package/dist/genesys-webcomponents/{p-82736295.entry.js → p-c94e0996.entry.js} +1 -1
  439. package/dist/genesys-webcomponents/{p-2894a3f1.entry.js → p-c951093a.entry.js} +1 -1
  440. package/dist/genesys-webcomponents/{p-2c33424f.entry.js → p-cb479c2d.entry.js} +1 -1
  441. package/dist/genesys-webcomponents/p-d17fd643.entry.js +1 -0
  442. package/dist/genesys-webcomponents/{p-3b252581.entry.js → p-d3b5b108.entry.js} +1 -1
  443. package/dist/genesys-webcomponents/{p-757a2a2b.entry.js → p-dacea33b.entry.js} +1 -1
  444. package/dist/genesys-webcomponents/{p-425918be.entry.js → p-dbcb985a.entry.js} +1 -1
  445. package/dist/genesys-webcomponents/{p-0271fa76.entry.js → p-deef9726.entry.js} +1 -1
  446. package/dist/genesys-webcomponents/{p-ad43eb82.entry.js → p-e18461f3.entry.js} +1 -1
  447. package/dist/genesys-webcomponents/{p-ce82e4d0.entry.js → p-e22a0496.entry.js} +1 -1
  448. package/dist/genesys-webcomponents/{p-cd785e68.entry.js → p-e2c19ae4.entry.js} +1 -1
  449. package/dist/genesys-webcomponents/{p-e2c9f946.entry.js → p-e5de8efc.entry.js} +1 -1
  450. package/dist/genesys-webcomponents/{p-ea87e817.entry.js → p-e6bf1916.entry.js} +1 -1
  451. package/dist/genesys-webcomponents/{p-7f94aa96.entry.js → p-e86d727a.entry.js} +1 -1
  452. package/dist/genesys-webcomponents/{p-146341f3.entry.js → p-e89c6576.entry.js} +1 -1
  453. package/dist/genesys-webcomponents/{p-66acff95.entry.js → p-eb9c33df.entry.js} +1 -1
  454. package/dist/genesys-webcomponents/{p-1bfefdbf.entry.js → p-f4dfacec.entry.js} +1 -1
  455. package/dist/genesys-webcomponents/{p-28648dc3.entry.js → p-f6a11021.entry.js} +1 -1
  456. package/dist/genesys-webcomponents/p-fa5b9f11.entry.js +1 -0
  457. package/dist/genesys-webcomponents/{p-40eb8d89.entry.js → p-fc4c4219.entry.js} +1 -1
  458. package/dist/genesys-webcomponents/{p-96c775c2.entry.js → p-fde28731.entry.js} +1 -1
  459. package/dist/genesys-webcomponents/p-fe47f46a.entry.js +1 -0
  460. package/dist/stencil-wrapper.js +1 -1
  461. package/dist/types/components/beta/gux-tooltip-base/gux-tooltip-base.d.ts +1 -1
  462. package/dist/types/components/beta/gux-tooltip-beta/gux-tooltip.d.ts +1 -1
  463. package/dist/types/components/stable/gux-icon/gux-icon.types.d.ts +1 -1
  464. package/dist/types/components/stable/gux-tooltip/gux-tooltip.d.ts +1 -1
  465. package/dist/types/stencil-wrapper.d.ts +1 -1
  466. package/package.json +1 -2
  467. package/dist/genesys-webcomponents/p-0e6a2e04.entry.js +0 -1
  468. package/dist/genesys-webcomponents/p-4ba5db3e.entry.js +0 -1
  469. package/dist/genesys-webcomponents/p-57801d50.entry.js +0 -1
  470. package/dist/genesys-webcomponents/p-593f14da.entry.js +0 -1
  471. package/dist/genesys-webcomponents/p-73add06a.entry.js +0 -1
  472. package/dist/genesys-webcomponents/p-82c02a9d.entry.js +0 -1
  473. package/dist/genesys-webcomponents/p-9b2b9c9c.entry.js +0 -1
  474. package/dist/genesys-webcomponents/p-abf95ead.entry.js +0 -1
  475. package/dist/genesys-webcomponents/p-c88968cb.entry.js +0 -1
  476. package/dist/genesys-webcomponents/p-ce53a903.entry.js +0 -1
  477. package/dist/genesys-webcomponents/p-e0a301a9.entry.js +0 -1
  478. package/dist/genesys-webcomponents/p-ee5de06f.entry.js +0 -1
  479. package/dist/genesys-webcomponents/p-f309f839.entry.js +0 -1
@@ -1 +1 @@
1
- import{r as t,c as a,h as o,g as e}from"./p-2e827df1.js";import{b as r}from"./p-0367930a.js";import{t as g}from"./p-57cb25bb.js";import"./p-4202e9f2.js";const i={tag:"tag with label: {label}","tag-disabled":"disabled tag with label: {label}","remove-tag":"Remove tag with label: {label}"},c=class{constructor(o){t(this,o),this.guxdelete=a(this,"guxdelete",7),this.accent="default",this.disabled=!1,this.removable=!1,this.label=void 0}onKeyDown(t){switch(t.key){case"Backspace":case"Delete":this.removeTag()}}removeTag(){!this.disabled&&this.removable&&this.guxdelete.emit()}onSlotChange(t){const a=t.composedPath()[0].assignedNodes();this.label=a.map((t=>t.textContent.trim())).join("")}renderTagTitle(){return o("gux-tooltip-title",null,o("span",null,o("slot",{"aria-hidden":"true",onSlotchange:this.onSlotChange.bind(this)})))}renderSrText(){return o("div",{class:"gux-sr-only"},this.i18n(this.disabled?"tag-disabled":"tag",{label:this.label}))}renderRemoveButton(){if(this.removable)return o("button",{class:"gux-tag-remove-button",onClick:this.removeTag.bind(this),type:"button",disabled:this.disabled},o("gux-icon",{class:"gux-tag-remove-icon","icon-name":"close","screenreader-text":this.i18n("remove-tag",{label:this.label})}))}componentWillLoad(){g(this.root,{variant:this.removable?"removable":"permenant"})}async componentWillRender(){this.i18n=await r(this.root,i)}render(){return o("div",{key:"86a5067f5b1513029fe4908309d49c0106959a2a",class:{"gux-tag":!0,[`gux-accent-${this.accent}`]:!0,"gux-disabled":this.disabled},"aria-disabled":this.disabled.toString()},this.renderTagTitle(),this.renderSrText(),this.renderRemoveButton())}get root(){return e(this)}};c.style=':host{display:inline-block;border-radius:var(--gse-ui-tag-borderRadius)}.gux-tag{display:flex;flex-direction:row;flex-wrap:nowrap;gap:var(--gse-ui-tag-removable-gap);place-content:stretch flex-start;align-items:center;height:var(--gse-ui-tag-height);padding:var(--gse-ui-tag-padding);font-family:var(--gse-ui-tag-text-fontFamily);font-size:var(--gse-ui-tag-text-fontSize);font-weight:var(--gse-ui-tag-text-fontWeight, 600);line-height:var(--gse-ui-tag-text-lineHeight);color:var(--gse-ui-tag-default-foregroundColor);background-color:var(--gse-ui-tag-default-backgroundColor);border-radius:var(--gse-ui-tag-borderRadius)}.gux-tag.gux-disabled{position:relative}.gux-tag.gux-disabled::before{position:absolute;inset:0;content:"";background-color:#fff;border-radius:var(--gse-ui-tag-borderRadius);opacity:var(--gse-ui-tag-disabled-opacity)}.gux-tag gux-tooltip-title{white-space:nowrap;cursor:default}.gux-tag gux-tooltip-title ::slotted(gux-icon){font-size:var(--gse-ui-tag-button-size)}.gux-tag .gux-sr-only:not(:focus):not(:active){position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);clip-path:inset(50%);white-space:nowrap}.gux-tag .gux-tag-remove-button{all:unset;display:flex;place-content:center center;align-items:center}.gux-tag .gux-tag-remove-button:not(:disabled):hover{cursor:pointer}.gux-tag .gux-tag-remove-button .gux-tag-remove-icon{width:var(--gse-ui-tag-button-size);height:var(--gse-ui-tag-button-size);margin-right:-4px}.gux-tag .gux-tag-remove-button:focus-within .gux-tag-remove-icon{border-radius:var(--gse-semantic-focusRing-cornerRadius);outline:var(--gse-semantic-focusRing-small-border-width) solid var(--gse-semantic-color-focus)}.gux-tag.gux-accent-default{color:var(--gse-ui-tag-default-foregroundColor);background-color:var(--gse-ui-tag-default-backgroundColor)}.gux-tag.gux-accent-1{color:var(--gse-ui-tag-accent1-foregroundColor);background-color:var(--gse-ui-tag-accent1-backgroundColor)}.gux-tag.gux-accent-2{color:var(--gse-ui-tag-accent2-foregroundColor);background-color:var(--gse-ui-tag-accent2-backgroundColor)}.gux-tag.gux-accent-3{color:var(--gse-ui-tag-accent3-foregroundColor);background-color:var(--gse-ui-tag-accent3-backgroundColor)}.gux-tag.gux-accent-4{color:var(--gse-ui-tag-accent4-foregroundColor);background-color:var(--gse-ui-tag-accent4-backgroundColor)}.gux-tag.gux-accent-5{color:var(--gse-ui-tag-accent5-foregroundColor);background-color:var(--gse-ui-tag-accent5-backgroundColor)}.gux-tag.gux-accent-6{color:var(--gse-ui-tag-accent6-foregroundColor);background-color:var(--gse-ui-tag-accent6-backgroundColor)}.gux-tag.gux-accent-7{color:var(--gse-ui-tag-accent7-foregroundColor);background-color:var(--gse-ui-tag-accent7-backgroundColor)}.gux-tag.gux-accent-8{color:var(--gse-ui-tag-accent8-foregroundColor);background-color:var(--gse-ui-tag-accent8-backgroundColor)}.gux-tag.gux-accent-9{color:var(--gse-ui-tag-accent9-foregroundColor);background-color:var(--gse-ui-tag-accent9-backgroundColor)}.gux-tag.gux-accent-10{color:var(--gse-ui-tag-accent10-foregroundColor);background-color:var(--gse-ui-tag-accent10-backgroundColor)}.gux-tag.gux-accent-inherit{color:inherit;background-color:inherit}';export{c as gux_tag}
1
+ import{r as t,c as a,h as o,g as e}from"./p-2e827df1.js";import{b as r}from"./p-0367930a.js";import{t as g}from"./p-97c25def.js";import"./p-4202e9f2.js";const i={tag:"tag with label: {label}","tag-disabled":"disabled tag with label: {label}","remove-tag":"Remove tag with label: {label}"},c=class{constructor(o){t(this,o),this.guxdelete=a(this,"guxdelete",7),this.accent="default",this.disabled=!1,this.removable=!1,this.label=void 0}onKeyDown(t){switch(t.key){case"Backspace":case"Delete":this.removeTag()}}removeTag(){!this.disabled&&this.removable&&this.guxdelete.emit()}onSlotChange(t){const a=t.composedPath()[0].assignedNodes();this.label=a.map((t=>t.textContent.trim())).join("")}renderTagTitle(){return o("gux-tooltip-title",null,o("span",null,o("slot",{"aria-hidden":"true",onSlotchange:this.onSlotChange.bind(this)})))}renderSrText(){return o("div",{class:"gux-sr-only"},this.i18n(this.disabled?"tag-disabled":"tag",{label:this.label}))}renderRemoveButton(){if(this.removable)return o("button",{class:"gux-tag-remove-button",onClick:this.removeTag.bind(this),type:"button",disabled:this.disabled},o("gux-icon",{class:"gux-tag-remove-icon","icon-name":"close","screenreader-text":this.i18n("remove-tag",{label:this.label})}))}componentWillLoad(){g(this.root,{variant:this.removable?"removable":"permenant"})}async componentWillRender(){this.i18n=await r(this.root,i)}render(){return o("div",{key:"a9e80dca64518fac2748aeff058558974b20c9f2",class:{"gux-tag":!0,[`gux-accent-${this.accent}`]:!0,"gux-disabled":this.disabled},"aria-disabled":this.disabled.toString()},this.renderTagTitle(),this.renderSrText(),this.renderRemoveButton())}get root(){return e(this)}};c.style=':host{display:inline-block;border-radius:var(--gse-ui-tag-borderRadius)}.gux-tag{display:flex;flex-direction:row;flex-wrap:nowrap;gap:var(--gse-ui-tag-removable-gap);place-content:stretch flex-start;align-items:center;height:var(--gse-ui-tag-height);padding:var(--gse-ui-tag-padding);font-family:var(--gse-ui-tag-text-fontFamily);font-size:var(--gse-ui-tag-text-fontSize);font-weight:var(--gse-ui-tag-text-fontWeight, 600);line-height:var(--gse-ui-tag-text-lineHeight);color:var(--gse-ui-tag-default-foregroundColor);background-color:var(--gse-ui-tag-default-backgroundColor);border-radius:var(--gse-ui-tag-borderRadius)}.gux-tag.gux-disabled{position:relative}.gux-tag.gux-disabled::before{position:absolute;inset:0;content:"";background-color:#fff;border-radius:var(--gse-ui-tag-borderRadius);opacity:var(--gse-ui-tag-disabled-opacity)}.gux-tag gux-tooltip-title{white-space:nowrap;cursor:default}.gux-tag gux-tooltip-title ::slotted(gux-icon){font-size:var(--gse-ui-tag-button-size)}.gux-tag .gux-sr-only:not(:focus):not(:active){position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);clip-path:inset(50%);white-space:nowrap}.gux-tag .gux-tag-remove-button{all:unset;display:flex;place-content:center center;align-items:center}.gux-tag .gux-tag-remove-button:not(:disabled):hover{cursor:pointer}.gux-tag .gux-tag-remove-button .gux-tag-remove-icon{width:var(--gse-ui-tag-button-size);height:var(--gse-ui-tag-button-size);margin-right:-4px}.gux-tag .gux-tag-remove-button:focus-within .gux-tag-remove-icon{border-radius:var(--gse-semantic-focusRing-cornerRadius);outline:var(--gse-semantic-focusRing-small-border-width) solid var(--gse-semantic-color-focus)}.gux-tag.gux-accent-default{color:var(--gse-ui-tag-default-foregroundColor);background-color:var(--gse-ui-tag-default-backgroundColor)}.gux-tag.gux-accent-1{color:var(--gse-ui-tag-accent1-foregroundColor);background-color:var(--gse-ui-tag-accent1-backgroundColor)}.gux-tag.gux-accent-2{color:var(--gse-ui-tag-accent2-foregroundColor);background-color:var(--gse-ui-tag-accent2-backgroundColor)}.gux-tag.gux-accent-3{color:var(--gse-ui-tag-accent3-foregroundColor);background-color:var(--gse-ui-tag-accent3-backgroundColor)}.gux-tag.gux-accent-4{color:var(--gse-ui-tag-accent4-foregroundColor);background-color:var(--gse-ui-tag-accent4-backgroundColor)}.gux-tag.gux-accent-5{color:var(--gse-ui-tag-accent5-foregroundColor);background-color:var(--gse-ui-tag-accent5-backgroundColor)}.gux-tag.gux-accent-6{color:var(--gse-ui-tag-accent6-foregroundColor);background-color:var(--gse-ui-tag-accent6-backgroundColor)}.gux-tag.gux-accent-7{color:var(--gse-ui-tag-accent7-foregroundColor);background-color:var(--gse-ui-tag-accent7-backgroundColor)}.gux-tag.gux-accent-8{color:var(--gse-ui-tag-accent8-foregroundColor);background-color:var(--gse-ui-tag-accent8-backgroundColor)}.gux-tag.gux-accent-9{color:var(--gse-ui-tag-accent9-foregroundColor);background-color:var(--gse-ui-tag-accent9-backgroundColor)}.gux-tag.gux-accent-10{color:var(--gse-ui-tag-accent10-foregroundColor);background-color:var(--gse-ui-tag-accent10-backgroundColor)}.gux-tag.gux-accent-inherit{color:inherit;background-color:inherit}';export{c as gux_tag}
@@ -1 +1 @@
1
- import{r as e,h as t,H as i,g as o}from"./p-2e827df1.js";import{r as s}from"./p-0934300e.js";import{h as n}from"./p-6d8b4027.js";const a=class{constructor(t){e(this,t),this.value=void 0,this.iconName=void 0,this.iconSrText=void 0,this.iconColor=void 0,this.active=!1,this.selected=!1,this.disabled=!1,this.filtered=!1,this.hovered=!1,this.hasSubtext=!1}onmouseenter(){this.hovered=!0}onMouseleave(){this.hovered=!1}handleActive(e){var t,i;e?null===(t=this.truncateElement)||void 0===t||t.setShowTooltip():null===(i=this.truncateElement)||void 0===i||i.setHideTooltip()}componentWillLoad(){this.root.id=this.root.id||s("gux-option-icon"),this.onSubtextChange()}onSubtextChange(){this.hasSubtext=n(this.root,"subtext")}getAriaSelected(){return!this.disabled&&(this.selected?"true":"false")}render(){let e=null;return null===this.iconColor||this.hovered||this.active||(e={color:this.iconColor}),t(i,{key:"cf4414384b69cbc4db334bc095868105f8d73020",role:"option",class:{"gux-active":this.active,"gux-disabled":this.disabled,"gux-filtered":this.filtered,"gux-hovered":this.hovered,"gux-selected":this.selected,"gux-show-subtext":this.hasSubtext},"aria-selected":this.getAriaSelected(),"aria-disabled":this.disabled.toString()},t("gux-icon",{key:"bd15d1bb671a33651ed9e25cffab3e43688de62a",decorative:null==this.iconSrText,"screenreader-text":this.iconSrText,"icon-name":this.iconName,style:e}),t("div",{key:"e74594f1dac8c232942d6c592e9dcfe6f22a9e08",class:"gux-option-wrapper"},t("gux-truncate",{key:"9433bd73dfa84ce17e7d356cd63ce06fc555a60c",ref:e=>this.truncateElement=e},t("slot",{key:"851e34182a78f2158419f548c6d6890c74c5c91b"})),t("slot",{key:"e36faf0d52864ec90741652740becc9550ec5af3",onSlotchange:()=>this.onSubtextChange(),name:"subtext"})))}get root(){return o(this)}static get watchers(){return{active:["handleActive"]}}};a.style=":host{box-sizing:border-box;display:flex;flex-direction:row;flex-wrap:nowrap;gap:var(--gse-ui-menu-option-gap);place-content:stretch center;align-items:center;height: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}:host .gux-option-wrapper{width:100%}:host .gux-slot-container{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}:host(.gux-disabled){pointer-events:none;cursor:default;opacity:var(--gse-ui-menu-option-disabled-opacity)}:host(.gux-selected){font-family:var(--gse-ui-menu-option-label-active-text-fontFamily);font-size:var(--gse-ui-menu-option-label-active-text-fontSize);font-weight:var(--gse-ui-menu-option-label-active-text-fontWeight);line-height:var(--gse-ui-menu-option-label-active-text-lineHeight);background:var(--gse-ui-menu-option-selected-backgroundColor)}:host(:active:not(:disabled)){font-family:var(--gse-ui-menu-option-label-active-text-fontFamily);font-size:var(--gse-ui-menu-option-label-active-text-fontSize);font-weight:var(--gse-ui-menu-option-label-active-text-fontWeight);line-height:var(--gse-ui-menu-option-label-active-text-lineHeight)}:host(.gux-active){border-radius:var(--gse-semantic-focusRing-cornerRadius);outline:var(--gse-ui-menu-option-focus-border-width) var(--gse-ui-menu-option-focus-border-style) var(--gse-ui-menu-option-focus-border-color);outline-offset:-2px}:host(.gux-show-subtext){place-content:stretch flex-start;height:auto}:host(.gux-show-subtext) .gux-option-wrapper{display:flex;flex-direction:column}:host(.gux-show-subtext) slot[name=subtext]::slotted(*){height:var(--gse-ui-groupedMenu-subtext-height);font-weight:var(--gse-ui-menu-option-label-default-text-fontWeight);color:var(--gse-ui-menu-groupedMenu-subtext-foregroundColor)}:host(:hover:not(:disabled)){background:var(--gse-ui-menu-option-hover-backgroundColor)}:host(.gux-filtered){display:none}:host gux-icon{flex-shrink:0;width:var(--gse-ui-menu-option-startIcon-width);height:var(--gse-ui-menu-option-startIcon-height)}";export{a as gux_option_icon}
1
+ import{r as e,h as t,H as i,g as o}from"./p-2e827df1.js";import{r as s}from"./p-0934300e.js";import{h as n}from"./p-6d8b4027.js";const a=class{constructor(t){e(this,t),this.value=void 0,this.iconName=void 0,this.iconSrText=void 0,this.iconColor=void 0,this.active=!1,this.selected=!1,this.disabled=!1,this.filtered=!1,this.hovered=!1,this.hasSubtext=!1}onmouseenter(){this.hovered=!0}onMouseleave(){this.hovered=!1}handleActive(e){var t,i;e?null===(t=this.truncateElement)||void 0===t||t.setShowTooltip():null===(i=this.truncateElement)||void 0===i||i.setHideTooltip()}componentWillLoad(){this.root.id=this.root.id||s("gux-option-icon"),this.onSubtextChange()}onSubtextChange(){this.hasSubtext=n(this.root,"subtext")}getAriaSelected(){return!this.disabled&&(this.selected?"true":"false")}render(){let e=null;return null===this.iconColor||this.hovered||this.active||(e={color:this.iconColor}),t(i,{key:"15c0a752100732c30a8eb47475279bf55d3b5be7",role:"option",class:{"gux-active":this.active,"gux-disabled":this.disabled,"gux-filtered":this.filtered,"gux-hovered":this.hovered,"gux-selected":this.selected,"gux-show-subtext":this.hasSubtext},"aria-selected":this.getAriaSelected(),"aria-disabled":this.disabled.toString()},t("gux-icon",{key:"c5ebbc65fea30b480d51443b5e18732cf6a6b754",decorative:null==this.iconSrText,"screenreader-text":this.iconSrText,"icon-name":this.iconName,style:e}),t("div",{key:"a34ef8685426ae5566670751325569d73123abbe",class:"gux-option-wrapper"},t("gux-truncate",{key:"35062fd32d73725ca9b34bef00d2a2e5ab3f112d",ref:e=>this.truncateElement=e},t("slot",{key:"2ac7fdb9d74379427961266eb5c217e814e2008b"})),t("slot",{key:"2da36a9feff95d4c0252050b4ded529d98dce357",onSlotchange:()=>this.onSubtextChange(),name:"subtext"})))}get root(){return o(this)}static get watchers(){return{active:["handleActive"]}}};a.style=":host{box-sizing:border-box;display:flex;flex-direction:row;flex-wrap:nowrap;gap:var(--gse-ui-menu-option-gap);place-content:stretch center;align-items:center;height: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}:host .gux-option-wrapper{width:100%}:host .gux-slot-container{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}:host(.gux-disabled){pointer-events:none;cursor:default;opacity:var(--gse-ui-menu-option-disabled-opacity)}:host(.gux-selected){font-family:var(--gse-ui-menu-option-label-active-text-fontFamily);font-size:var(--gse-ui-menu-option-label-active-text-fontSize);font-weight:var(--gse-ui-menu-option-label-active-text-fontWeight);line-height:var(--gse-ui-menu-option-label-active-text-lineHeight);background:var(--gse-ui-menu-option-selected-backgroundColor)}:host(:active:not(:disabled)){font-family:var(--gse-ui-menu-option-label-active-text-fontFamily);font-size:var(--gse-ui-menu-option-label-active-text-fontSize);font-weight:var(--gse-ui-menu-option-label-active-text-fontWeight);line-height:var(--gse-ui-menu-option-label-active-text-lineHeight)}:host(.gux-active){border-radius:var(--gse-semantic-focusRing-cornerRadius);outline:var(--gse-ui-menu-option-focus-border-width) var(--gse-ui-menu-option-focus-border-style) var(--gse-ui-menu-option-focus-border-color);outline-offset:-2px}:host(.gux-show-subtext){place-content:stretch flex-start;height:auto}:host(.gux-show-subtext) .gux-option-wrapper{display:flex;flex-direction:column}:host(.gux-show-subtext) slot[name=subtext]::slotted(*){height:var(--gse-ui-groupedMenu-subtext-height);font-weight:var(--gse-ui-menu-option-label-default-text-fontWeight);color:var(--gse-ui-menu-groupedMenu-subtext-foregroundColor)}:host(:hover:not(:disabled)){background:var(--gse-ui-menu-option-hover-backgroundColor)}:host(.gux-filtered){display:none}:host gux-icon{flex-shrink:0;width:var(--gse-ui-menu-option-startIcon-width);height:var(--gse-ui-menu-option-startIcon-height)}";export{a as gux_option_icon}
@@ -1 +1 @@
1
- import{r as e,h as t,H as o,g as i}from"./p-2e827df1.js";import{g as n}from"./p-4202e9f2.js";const a=class{constructor(t){e(this,t),this.disabled=!1}onMouseup(){this.focusParentList()}onMouseover(){this.focusParentList()}focusParentList(){const e=n("gux-list",this.root);e&&null===e.shadowRoot.activeElement&&(this.root.blur(),e.focus({preventScroll:!0}))}render(){return t(o,{key:"6e31f0653135456fac4068c765ce997681992ae3",role:"listitem"},t("button",{key:"472a083d4246a4af11bb39536f8b068d547f5028",type:"button",tabIndex:-1,disabled:this.disabled},t("slot",{key:"15d01aa011f8ca1e5c23cc76e937a16c36636ec3"})))}static get delegatesFocus(){return!0}get root(){return i(this)}};a.style=":host{width:100%;text-align:start;outline:none}:host([disabled]){pointer-events:none}:host([disabled=false]){pointer-events:auto}::slotted(gux-icon){width:var(--gse-ui-menu-option-startIcon-height);height:var(--gse-ui-menu-option-startIcon-height);margin-right:var(--gse-ui-menu-option-gap);vertical-align:middle}button{all:unset;box-sizing:border-box;width:100%;min-height: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;background-color:var(--gse-ui-menu-option-default-backgroundColor);border:none;outline:none;outline-offset:calc(var(--gse-ui-menu-option-focus-border-width) * -1)}button:focus-visible:not(:disabled){border-radius:var(--gse-semantic-focusRing-cornerRadius);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)}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)}";export{a as gux_list_item}
1
+ import{r as e,h as t,H as o,g as i}from"./p-2e827df1.js";import{g as n}from"./p-4202e9f2.js";const r=class{constructor(t){e(this,t),this.disabled=!1}onMouseup(){this.focusParentList()}onMouseover(){this.focusParentList()}focusParentList(){const e=n("gux-list",this.root);e&&null===e.shadowRoot.activeElement&&(this.root.blur(),e.focus({preventScroll:!0}))}render(){return t(o,{key:"3ebc7ba7612911429b236980cc269c62f780bb71",role:"listitem"},t("button",{key:"73b146fcbf6b4db026d91366d0a9dc3ec529c813",type:"button",tabIndex:-1,disabled:this.disabled},t("slot",{key:"6b3b647d18c75d730e4fab3182f36e842466e8cd"})))}static get delegatesFocus(){return!0}get root(){return i(this)}};r.style=":host{width:100%;text-align:start;outline:none}:host([disabled]){pointer-events:none}:host([disabled=false]){pointer-events:auto}::slotted(gux-icon){width:var(--gse-ui-menu-option-startIcon-height);height:var(--gse-ui-menu-option-startIcon-height);margin-right:var(--gse-ui-menu-option-gap);vertical-align:middle}button{all:unset;box-sizing:border-box;width:100%;min-height: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;background-color:var(--gse-ui-menu-option-default-backgroundColor);border:none;outline:none;outline-offset:calc(var(--gse-ui-menu-option-focus-border-width) * -1)}button:focus-visible:not(:disabled){border-radius:var(--gse-semantic-focusRing-cornerRadius);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)}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)}";export{r as gux_list_item}
@@ -1 +1 @@
1
- import{r as a,c as o,h as t,g as e}from"./p-2e827df1.js";import{r as i}from"./p-0934300e.js";import{t as n}from"./p-57cb25bb.js";const l=class{constructor(t){a(this,t),this.guxdismiss=o(this,"guxdismiss",7),this.size="dynamic",this.trapFocus=!0,this.initialFocus=void 0}handleKeyEvent(a){"Escape"===a.key&&this.onDismissHandler(a)}connectedCallback(){this.triggerElement=document.activeElement}componentWillLoad(){n(this.root,{variant:`${this.size}-${this.trapFocus?"trapfocuson":"trapfocusoff"}`})}componentDidLoad(){var a,o,t;const e=this.getInitialFocusElement();e?null===(a=e.focus)||void 0===a||a.call(e):this.dismissButton&&(null===(t=(o=this.dismissButton).focus)||void 0===t||t.call(o))}render(){const a=this.hasModalTitleSlot(),o=this.hasFooterButtons(),e=i();return t("div",{key:"4f6aa228da982ec9c989d897d0fe7c1700313bad",class:"gux-modal",role:"dialog","aria-modal":"true","aria-labelledby":a?e:null},t("div",{key:"7f3cd94ba2aef4b4047a693cb3b9475261a5a9ef",class:`gux-modal-container gux-${this.size}`},this.renderModalTrapFocusEl(),a&&t("h1",{class:"gux-modal-header",id:e},t("slot",{name:"title"})),t("gux-dismiss-button",{key:"6b736a5ead8c2fdc8d617e4ffd3a73e8750a629e",onClick:this.onDismissHandler.bind(this),ref:a=>this.dismissButton=a}),t("div",{key:"fd018c98424131ba411a0e1c35cfbaf271c71fce",class:{"gux-modal-content":!0,"gux-no-buttons":!o}},t("p",{key:"6a6934dbee9ed80f99526693beae3b84d11e1974"},t("slot",{key:"c802f05c579addf526fb0ae44e003caa954532f7",name:"content"}))),o&&t("div",{class:"gux-button-footer"},t("div",{class:"gux-left-align-buttons"},t("slot",{name:"left-align-buttons"})),t("div",{class:"gux-right-align-buttons"},t("slot",{name:"right-align-buttons"}))),this.renderModalTrapFocusEl()))}renderModalTrapFocusEl(){if(this.trapFocus)return t("span",{onFocus:()=>this.dismissButton.focus(),tabindex:"0"})}getInitialFocusElement(){return this.initialFocus?this.root.querySelector(this.initialFocus):void 0}hasModalTitleSlot(){return Boolean(this.root.querySelector('[slot="title"]'))}hasFooterButtons(){return Boolean(this.root.querySelector('[slot="left-align-buttons"]'))||Boolean(this.root.querySelector('[slot="right-align-buttons"]'))}onDismissHandler(a){var o;a.stopPropagation(),this.guxdismiss.emit().defaultPrevented||(this.root.remove(),null===(o=this.triggerElement)||void 0===o||o.focus())}get root(){return e(this)}};l.style="::slotted(button:active:enabled){color:var(--gse-ui-link-active-foregroundColor);text-decoration:underline;background:none}slot[name=left-align-buttons]::slotted(:not(button,gux-button)){display:flex;flex-direction:row;gap:var(--gse-ui-modal-buttonBar-gap);align-content:flex-start;align-items:center}:host .gux-modal{position:fixed;inset:0;z-index:var(--gse-semantic-zIndex-modal);display:flex;align-items:center;justify-content:center;color:#2e394c;background:var(--gse-ui-modal-shroudColor)}:host .gux-modal .gux-modal-container{position:relative;box-sizing:border-box;display:flex;flex-direction:column;justify-content:space-between;padding:var(--gse-ui-modal-padding);background:var(--gse-ui-modal-backgroundColor);border:1px solid #b4bccb;border-radius:var(--gse-ui-modal-borderRadius);box-shadow:var(--gse-ui-modal-boxShadow-x) var(--gse-ui-modal-boxShadow-y) var(--gse-ui-modal-boxShadow-blur) var(--gse-ui-modal-boxShadow-spread) var(--gse-ui-modal-boxShadow-color)}:host .gux-modal .gux-modal-container.gux-small{width:var(--gse-ui-modal-small-width);max-height:min(368px, 100vh - 2 * 24px)}:host .gux-modal .gux-modal-container.gux-medium{width:var(--gse-ui-modal-medium-width);max-height:min(640px, 100vh - 2 * 24px)}:host .gux-modal .gux-modal-container.gux-large{width:var(--gse-ui-modal-large-width);max-height:min(640px, 100vh - 2 * 24px)}:host .gux-modal .gux-modal-container.gux-dynamic{max-width:calc(100vw - 48px);max-height:calc(100vh - 48px)}:host .gux-modal .gux-modal-container.gux-dynamic .gux-modal-content{max-height:none}:host .gux-modal .gux-modal-container .gux-modal-header{margin:0;font-family:var(--gse-ui-modal-heading-fontFamily);font-size:var(--gse-ui-modal-heading-fontSize);font-weight:var(--gse-ui-modal-heading-fontWeight);line-height:var(--gse-ui-modal-heading-fontFamily);color:var(--gse-ui-modal-headerColor);letter-spacing:var(--gse-ui-modal-heading-letterSpacing);font-family:var(--gse-core-typography-heading-xl-fontFamily), var(--gse-core-fontFamily-heading), sans-serif;font-size:var(--gse-core-typography-heading-xl-fontSize);line-height:var(--gse-core-typography-heading-xl-lineHeight);font-weight:var(--gse-core-fontWeight-bold)}:host .gux-modal .gux-modal-container .gux-modal-content{max-height:432px;margin-top:var(--gse-ui-modal-gap);margin-bottom:var(--gse-ui-modal-gap);overflow-y:auto}:host .gux-modal .gux-modal-container .gux-modal-content.gux-no-buttons{margin-bottom:0}:host .gux-modal .gux-modal-container .gux-button-footer{display:flex;justify-content:space-between}@media (max-width: 416px){:host .gux-modal .gux-modal-container.gux-small,:host .gux-modal .gux-modal-container.gux-medium,:host .gux-modal .gux-modal-container.gux-large{width:100%;height:100%}}";export{l as gux_modal_legacy}
1
+ import{r as a,c as o,h as t,g as e}from"./p-2e827df1.js";import{r as i}from"./p-0934300e.js";import{t as n}from"./p-97c25def.js";const l=class{constructor(t){a(this,t),this.guxdismiss=o(this,"guxdismiss",7),this.size="dynamic",this.trapFocus=!0,this.initialFocus=void 0}handleKeyEvent(a){"Escape"===a.key&&this.onDismissHandler(a)}connectedCallback(){this.triggerElement=document.activeElement}componentWillLoad(){n(this.root,{variant:`${this.size}-${this.trapFocus?"trapfocuson":"trapfocusoff"}`})}componentDidLoad(){var a,o,t;const e=this.getInitialFocusElement();e?null===(a=e.focus)||void 0===a||a.call(e):this.dismissButton&&(null===(t=(o=this.dismissButton).focus)||void 0===t||t.call(o))}render(){const a=this.hasModalTitleSlot(),o=this.hasFooterButtons(),e=i();return t("div",{key:"bf5aa99c17196583643a091cadc4ac61af4e95d5",class:"gux-modal",role:"dialog","aria-modal":"true","aria-labelledby":a?e:null},t("div",{key:"d13021f74577d221681404037749b2fa11a49f7c",class:`gux-modal-container gux-${this.size}`},this.renderModalTrapFocusEl(),a&&t("h1",{class:"gux-modal-header",id:e},t("slot",{name:"title"})),t("gux-dismiss-button",{key:"cfa6569a483402546a6c02d82eb299532eeda09c",onClick:this.onDismissHandler.bind(this),ref:a=>this.dismissButton=a}),t("div",{key:"ffcb7df17b6096b63cf4c7f7a54a363ea9e3822a",class:{"gux-modal-content":!0,"gux-no-buttons":!o}},t("p",{key:"8abb233f4af9528d456bcaa50884f426f274c14b"},t("slot",{key:"a5a7e272a776c515e6719cd45d6473ebea19b970",name:"content"}))),o&&t("div",{class:"gux-button-footer"},t("div",{class:"gux-left-align-buttons"},t("slot",{name:"left-align-buttons"})),t("div",{class:"gux-right-align-buttons"},t("slot",{name:"right-align-buttons"}))),this.renderModalTrapFocusEl()))}renderModalTrapFocusEl(){if(this.trapFocus)return t("span",{onFocus:()=>this.dismissButton.focus(),tabindex:"0"})}getInitialFocusElement(){return this.initialFocus?this.root.querySelector(this.initialFocus):void 0}hasModalTitleSlot(){return Boolean(this.root.querySelector('[slot="title"]'))}hasFooterButtons(){return Boolean(this.root.querySelector('[slot="left-align-buttons"]'))||Boolean(this.root.querySelector('[slot="right-align-buttons"]'))}onDismissHandler(a){var o;a.stopPropagation(),this.guxdismiss.emit().defaultPrevented||(this.root.remove(),null===(o=this.triggerElement)||void 0===o||o.focus())}get root(){return e(this)}};l.style="::slotted(button:active:enabled){color:var(--gse-ui-link-active-foregroundColor);text-decoration:underline;background:none}slot[name=left-align-buttons]::slotted(:not(button,gux-button)){display:flex;flex-direction:row;gap:var(--gse-ui-modal-buttonBar-gap);align-content:flex-start;align-items:center}:host .gux-modal{position:fixed;inset:0;z-index:var(--gse-semantic-zIndex-modal);display:flex;align-items:center;justify-content:center;color:#2e394c;background:var(--gse-ui-modal-shroudColor)}:host .gux-modal .gux-modal-container{position:relative;box-sizing:border-box;display:flex;flex-direction:column;justify-content:space-between;padding:var(--gse-ui-modal-padding);background:var(--gse-ui-modal-backgroundColor);border:1px solid #b4bccb;border-radius:var(--gse-ui-modal-borderRadius);box-shadow:var(--gse-ui-modal-boxShadow-x) var(--gse-ui-modal-boxShadow-y) var(--gse-ui-modal-boxShadow-blur) var(--gse-ui-modal-boxShadow-spread) var(--gse-ui-modal-boxShadow-color)}:host .gux-modal .gux-modal-container.gux-small{width:var(--gse-ui-modal-small-width);max-height:min(368px, 100vh - 2 * 24px)}:host .gux-modal .gux-modal-container.gux-medium{width:var(--gse-ui-modal-medium-width);max-height:min(640px, 100vh - 2 * 24px)}:host .gux-modal .gux-modal-container.gux-large{width:var(--gse-ui-modal-large-width);max-height:min(640px, 100vh - 2 * 24px)}:host .gux-modal .gux-modal-container.gux-dynamic{max-width:calc(100vw - 48px);max-height:calc(100vh - 48px)}:host .gux-modal .gux-modal-container.gux-dynamic .gux-modal-content{max-height:none}:host .gux-modal .gux-modal-container .gux-modal-header{margin:0;font-family:var(--gse-ui-modal-heading-fontFamily);font-size:var(--gse-ui-modal-heading-fontSize);font-weight:var(--gse-ui-modal-heading-fontWeight);line-height:var(--gse-ui-modal-heading-fontFamily);color:var(--gse-ui-modal-headerColor);letter-spacing:var(--gse-ui-modal-heading-letterSpacing);font-family:var(--gse-core-typography-heading-xl-fontFamily), var(--gse-core-fontFamily-heading), sans-serif;font-size:var(--gse-core-typography-heading-xl-fontSize);line-height:var(--gse-core-typography-heading-xl-lineHeight);font-weight:var(--gse-core-fontWeight-bold)}:host .gux-modal .gux-modal-container .gux-modal-content{max-height:432px;margin-top:var(--gse-ui-modal-gap);margin-bottom:var(--gse-ui-modal-gap);overflow-y:auto}:host .gux-modal .gux-modal-container .gux-modal-content.gux-no-buttons{margin-bottom:0}:host .gux-modal .gux-modal-container .gux-button-footer{display:flex;justify-content:space-between}@media (max-width: 416px){:host .gux-modal .gux-modal-container.gux-small,:host .gux-modal .gux-modal-container.gux-medium,:host .gux-modal .gux-modal-container.gux-large{width:100%;height:100%}}";export{l as gux_modal_legacy}
@@ -1 +1 @@
1
- import{r as t,h as o,H as e,g as n}from"./p-2e827df1.js";import{t as r}from"./p-57cb25bb.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:"c9c856083b2beb757b71004065148dc5eaa74d52",accent:this.accent,"icon-only":this.iconOnly},o("slot",{key:"695e5527f3bdafdafb67195b9bc1a929f14cb2f9"}))}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-icon-only-width);block-size:var(--gse-ui-button-default-height);padding:var(--gse-ui-button-default-padding);overflow:hidden;color:var(--gse-ui-button-secondary-default-foregroundColor);text-overflow:ellipsis;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-focusRing-default-border-color) var(--gse-semantic-focusRing-default-border-style) var(--gse-semantic-focusRing-default-border-width);outline-offset:var(--gse-semantic-focusRing-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-link-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-link-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-link-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-link-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-2e827df1.js";import{t as r}from"./p-97c25def.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:"a8cfbead6d0ebd8b4c51f0dee576fc52bba51f41",accent:this.accent,"icon-only":this.iconOnly},o("slot",{key:"4806c2106db005c3051588f30428c2702e3919fe"}))}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-icon-only-width);block-size:var(--gse-ui-button-default-height);padding:var(--gse-ui-button-default-padding);overflow:hidden;color:var(--gse-ui-button-secondary-default-foregroundColor);text-overflow:ellipsis;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-focusRing-default-border-color) var(--gse-semantic-focusRing-default-border-style) var(--gse-semantic-focusRing-default-border-width);outline-offset:var(--gse-semantic-focusRing-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-link-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-link-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-link-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-link-active-foregroundColor);text-decoration:underline;background:none}";export{i as gux_button_slot}
@@ -1 +1 @@
1
- import{r as e,h as i,H as t,g as o}from"./p-2e827df1.js";import{o as r}from"./p-0f60c7b5.js";const a=class{constructor(i){e(this,i),this.label=void 0,this.filtered=!1,this.showDivider=!0}componentDidLoad(){this.rootParent=this.root.parentNode,this.rootParent&&(this.parentObserver=r(this.rootParent,(()=>{var e;const i=Array.from(null===(e=this.root)||void 0===e?void 0:e.children).filter((e=>this.isOption(e)&&!e.filtered)).length>0;this.filtered=!i,this.filtered||(this.showDivider=this.hasVisibleNextSibling(this.root)&&i)})))}disconnectedCallback(){this.rootParent&&this.parentObserver.disconnect()}isOption(e){return["GUX-OPTION","GUX-OPTION-ICON"].includes(e.tagName)}hasVisibleNextSibling(e){let i=e.nextElementSibling;if(null===i)return!1;for(;i&&i.classList.contains("gux-filtered");)i=i.nextElementSibling;return Boolean(i)}renderDivider(){if(this.showDivider)return i("gux-list-divider",null)}render(){return i(t,{key:"1f8371cf20b5ffcaa51e8a3dc2d290f473c863ba",class:{"gux-filtered":this.filtered}},i("div",{key:"7246e79ecb4f0112181433132bf59b6149c75165",class:"gux-option-group"},i("div",{key:"1b88ef5fc7d324681563906dacacf0da3ebd9a3a",class:"gux-option-group-label",role:"presentation"},this.label),i("div",{key:"4ff183305a4378f21f324e8befad65e19b099cc2",role:"group"},i("slot",{key:"8d28be3fa040501d17e814f8907e224b5f09dcfb"})),this.renderDivider()))}get root(){return o(this)}};a.style=".gux-option-group{display:block;flex:1 1 auto;align-self:auto}.gux-option-group .gux-option-group-label{display:block;padding:var(--gse-ui-menu-groupedMenu-title-padding);color:var(--gse-ui-menu-groupedMenu-title-foregroundColor);font-family:var(--gse-core-typography-heading-overline-fontFamily), var(--gse-core-fontFamily-heading), sans-serif;font-size:var(--gse-core-typography-heading-overline-fontSize);line-height:var(--gse-core-typography-heading-overline-lineHeight);text-transform:var(--gse-core-typography-heading-overline-textCase);letter-spacing:var(--gse-core-typography-heading-overline-letterSpacing);font-weight:var(--gse-core-fontWeight-regular)}:host(.gux-filtered){display:none}";export{a as gux_option_group_beta}
1
+ import{r as e,h as i,H as t,g as o}from"./p-2e827df1.js";import{o as r}from"./p-0f60c7b5.js";const a=class{constructor(i){e(this,i),this.label=void 0,this.filtered=!1,this.showDivider=!0}componentDidLoad(){this.rootParent=this.root.parentNode,this.rootParent&&(this.parentObserver=r(this.rootParent,(()=>{var e;const i=Array.from(null===(e=this.root)||void 0===e?void 0:e.children).filter((e=>this.isOption(e)&&!e.filtered)).length>0;this.filtered=!i,this.filtered||(this.showDivider=this.hasVisibleNextSibling(this.root)&&i)})))}disconnectedCallback(){this.rootParent&&this.parentObserver.disconnect()}isOption(e){return["GUX-OPTION","GUX-OPTION-ICON"].includes(e.tagName)}hasVisibleNextSibling(e){let i=e.nextElementSibling;if(null===i)return!1;for(;i&&i.classList.contains("gux-filtered");)i=i.nextElementSibling;return Boolean(i)}renderDivider(){if(this.showDivider)return i("gux-list-divider",null)}render(){return i(t,{key:"eeac3968c5961c9c25c1db2c55c2f5b187629b0a",class:{"gux-filtered":this.filtered}},i("div",{key:"9395ba72e7b1699215ffc36b73aa9f274772b4f8",class:"gux-option-group"},i("div",{key:"bf27b8c9178b19ae892a8d73286ed2982b2968d0",class:"gux-option-group-label",role:"presentation"},this.label),i("div",{key:"db086f7edbaf9a16317260100aaf68a0e0d1f0e6",role:"group"},i("slot",{key:"fa8af1e4f72c2b00e837814e3870c7b457af4353"})),this.renderDivider()))}get root(){return o(this)}};a.style=".gux-option-group{display:block;flex:1 1 auto;align-self:auto}.gux-option-group .gux-option-group-label{display:block;padding:var(--gse-ui-menu-groupedMenu-title-padding);color:var(--gse-ui-menu-groupedMenu-title-foregroundColor);font-family:var(--gse-core-typography-heading-overline-fontFamily), var(--gse-core-fontFamily-heading), sans-serif;font-size:var(--gse-core-typography-heading-overline-fontSize);line-height:var(--gse-core-typography-heading-overline-lineHeight);text-transform:var(--gse-core-typography-heading-overline-textCase);letter-spacing:var(--gse-core-typography-heading-overline-letterSpacing);font-weight:var(--gse-core-fontWeight-regular)}:host(.gux-filtered){display:none}";export{a as gux_option_group_beta}
@@ -1 +1 @@
1
- import{r as t,c as e,h as i,g as s}from"./p-2e827df1.js";import{r as o}from"./p-0934300e.js";import{t as r}from"./p-57cb25bb.js";import{b as a}from"./p-0367930a.js";import"./p-4202e9f2.js";const n={defaultLabel:"Disclosure button"},c=class{constructor(i){t(this,i),this.active=e(this,"active",7),this.panelId=o("gux-disclosure-button-panel"),this.position="left",this.label=void 0,this.isOpen=!1,this.icon="arrow-solid-right"}watchIsOpen(){this.updateIcon()}changeState(){this.togglePanel(),this.active.emit(this.isOpen)}togglePanel(){this.isOpen=!this.isOpen}updateIcon(){this.icon="right"===this.position?this.isOpen?"arrow-solid-right":"arrow-solid-left":this.isOpen?"arrow-solid-left":"arrow-solid-right"}async componentWillLoad(){r(this.root,{variant:this.position}),this.i18n=await a(this.root,n),this.updateIcon()}render(){return i("div",{key:"652baa3062ea3dfeefafcfece24140605359eea4",class:`gux-disclosure-button-container gux-${this.position}`},i("button",{key:"d55fe76c03c68c855c1226cd416f10a06a2812ab",class:"gux-disclosure-button",onClick:()=>this.changeState(),"aria-controls":this.panelId,"aria-expanded":this.isOpen.toString(),"aria-label":this.label||this.i18n("defaultLabel")},i("gux-icon",{key:"9aa2ba2d010dfaa397ca0252d596d4af302efe11","icon-name":`${this.icon}`,decorative:!0})),i("div",{key:"ff5bb0284dce2b88350709ecdd55f491b8d8c16d",id:this.panelId,class:{"gux-disclosure-panel":!0,"gux-active":this.isOpen},role:"region"},i("slot",{key:"5ffc186bf0a4e3745421ed5477ccdd27147f1fc4",name:"panel-content"})))}get root(){return s(this)}static get watchers(){return{isOpen:["watchIsOpen"]}}};c.style=":host{height:100%;color:var(--gse-ui-tabs-item-icon-iconColor)}.gux-disclosure-button-container{display:flex;flex-direction:row;justify-content:flex-start;height:100%}.gux-disclosure-button-container .gux-disclosure-button{width:16px;padding:0;margin:0;color:var(--gse-ui-tabs-item-icon-iconColor);background:transparent;border-top:none;border-right:1px solid var(--gse-ui-tabs-item-divider-dividerColor);border-bottom:none;border-left:1px solid var(--gse-ui-tabs-item-divider-dividerColor)}.gux-disclosure-button-container .gux-disclosure-button gux-icon{width:12px;height:12px}.gux-disclosure-button-container .gux-disclosure-button:focus-visible{outline:var(--gse-semantic-focusRing-default-border-color) var(--gse-semantic-focusRing-default-border-style) var(--gse-semantic-focusRing-default-border-width);outline-offset:var(--gse-semantic-focusRing-offset)}.gux-disclosure-button-container .gux-disclosure-panel{display:none;order:-1;width:100%}.gux-disclosure-button-container .gux-disclosure-panel.gux-active{display:block}.gux-disclosure-button-container.gux-right{justify-content:flex-end}.gux-disclosure-button-container.gux-right .gux-disclosure-panel{order:1}";export{c as gux_disclosure_button_legacy}
1
+ import{r as t,c as e,h as i,g as s}from"./p-2e827df1.js";import{r as o}from"./p-0934300e.js";import{t as r}from"./p-97c25def.js";import{b as a}from"./p-0367930a.js";import"./p-4202e9f2.js";const n={defaultLabel:"Disclosure button"},c=class{constructor(i){t(this,i),this.active=e(this,"active",7),this.panelId=o("gux-disclosure-button-panel"),this.position="left",this.label=void 0,this.isOpen=!1,this.icon="arrow-solid-right"}watchIsOpen(){this.updateIcon()}changeState(){this.togglePanel(),this.active.emit(this.isOpen)}togglePanel(){this.isOpen=!this.isOpen}updateIcon(){this.icon="right"===this.position?this.isOpen?"arrow-solid-right":"arrow-solid-left":this.isOpen?"arrow-solid-left":"arrow-solid-right"}async componentWillLoad(){r(this.root,{variant:this.position}),this.i18n=await a(this.root,n),this.updateIcon()}render(){return i("div",{key:"ecaeb9b6177112f93a7ef4a5aed6eeac64d0831c",class:`gux-disclosure-button-container gux-${this.position}`},i("button",{key:"90f906915e1eb1f28f114fc4ee8a547d44f80e5c",class:"gux-disclosure-button",onClick:()=>this.changeState(),"aria-controls":this.panelId,"aria-expanded":this.isOpen.toString(),"aria-label":this.label||this.i18n("defaultLabel")},i("gux-icon",{key:"84fcd4c68d75a1649af1961c973760fe6dc2272f","icon-name":`${this.icon}`,decorative:!0})),i("div",{key:"a6ccee9a2b12d007db687c46217b6a2c59a01bc5",id:this.panelId,class:{"gux-disclosure-panel":!0,"gux-active":this.isOpen},role:"region"},i("slot",{key:"c23678ee2c8a7bf59277e1a8efce641d9586b2c6",name:"panel-content"})))}get root(){return s(this)}static get watchers(){return{isOpen:["watchIsOpen"]}}};c.style=":host{height:100%;color:var(--gse-ui-tabs-item-icon-iconColor)}.gux-disclosure-button-container{display:flex;flex-direction:row;justify-content:flex-start;height:100%}.gux-disclosure-button-container .gux-disclosure-button{width:16px;padding:0;margin:0;color:var(--gse-ui-tabs-item-icon-iconColor);background:transparent;border-top:none;border-right:1px solid var(--gse-ui-tabs-item-divider-dividerColor);border-bottom:none;border-left:1px solid var(--gse-ui-tabs-item-divider-dividerColor)}.gux-disclosure-button-container .gux-disclosure-button gux-icon{width:12px;height:12px}.gux-disclosure-button-container .gux-disclosure-button:focus-visible{outline:var(--gse-semantic-focusRing-default-border-color) var(--gse-semantic-focusRing-default-border-style) var(--gse-semantic-focusRing-default-border-width);outline-offset:var(--gse-semantic-focusRing-offset)}.gux-disclosure-button-container .gux-disclosure-panel{display:none;order:-1;width:100%}.gux-disclosure-button-container .gux-disclosure-panel.gux-active{display:block}.gux-disclosure-button-container.gux-right{justify-content:flex-end}.gux-disclosure-button-container.gux-right .gux-disclosure-panel{order:1}";export{c as gux_disclosure_button_legacy}
@@ -1 +1 @@
1
- import{r as e,c as t,f as n,h as s,g as a}from"./p-2e827df1.js";import{b as o}from"./p-0367930a.js";import{t as c}from"./p-57cb25bb.js";import{g as r,s as i,a as h,b as d,c as l,d as u,e as b,f as m,h as p}from"./p-db201bbc.js";import"./p-4202e9f2.js";import"./p-a43079c8.js";import"./p-2c25e2f2.js";const g={search:"Search",searchResults:"search results",selectedColumnCount:"{count} / {total} Columns Selected",selectAllColumnsScreenReader:"{count} of {total} columns selected: check checkbox to select all {total} columns",unselectAllColumnsScreenReader:"{count} of {total} columns selected: uncheck checkbox to unselect all {total} columns",movePositionPrompt:"Press space or enter to move the {columnName} column to position {newPositionNumber} from position {oldPositionNumber}.",reorderingModeActive:"Reordering mode active. Reposition the {columnName} column using the up arrow key, the down arrow key, the home key and the end key. Press Escape to deactivate reordering mode."},f=class{constructor(n){e(this,n),this.guxorderchange=t(this,"guxorderchange",7),this.highlightResults={matchCount:0,currentMatch:0},this.keyboardOrderChange=r()}watchKeyboardOrderChange(){i(this.root,this.keyboardOrderChange)}async componentWillLoad(){c(this.root),this.i18n=await o(this.root,g)}componentDidLoad(){h(this.root,this.mainCheckboxElement)}handleInternalorderchange(e){e.stopPropagation(),this.emitOrderChange(e.detail)}emitOrderChange(e){const{oldIndex:t,newIndex:n}=e;if(t!==n){const t=d(this.root,e);this.guxorderchange.emit(t)}}handleInternalkeyboardorderstart(e){e.stopPropagation();const t=e.detail,n=l(e.target);this.keyboardOrderChange={oldIndex:n,newIndex:n},this.announceElement.guxAnnounce(this.i18n("reorderingModeActive",{columnName:t}))}handleInternalkeyboardreordermove(e){e.stopPropagation();const{delta:t,column:n}=e.detail;this.keyboardOrderChange=u(this.root,this.keyboardOrderChange,t),this.announceElement.guxAnnounce(this.i18n("movePositionPrompt",{columnName:n,newPositionNumber:this.keyboardOrderChange.newIndex+1,oldPositionNumber:this.keyboardOrderChange.oldIndex+1}))}handleInternalkeyboarddoreorder(e){e.stopPropagation(),this.emitOrderChange(this.keyboardOrderChange),e.target.guxFocus()}handleInternalkeyboardorderfinish(e){e.stopPropagation(),this.keyboardOrderChange=r()}onSearchInput(){this.highlightResults=b(this.root,this.searchElement)}onGuxCurrentMatchChanged(e){this.highlightResults=b(this.root,this.searchElement,e.detail)}onMainCheckboxChange(){m(this.root,this.mainCheckboxElement.checked),n(this.root)}onListChange(){h(this.root,this.mainCheckboxElement),n(this.root)}onSlotChange(){this.onListChange()}renderSelectedColumnCount(){const{count:e,total:t}=p(this.root);return s("div",null,s("span",{"aria-hidden":"true"},this.i18n("selectedColumnCount",{count:e,total:t})),s("span",{class:"gux-sr-only"},s("span",null,": ",this.i18n(e===t?"unselectAllColumnsScreenReader":"selectAllColumnsScreenReader",{count:e,total:t}))))}render(){return s("div",{key:"9503f7dacb275c894d3ba157dbf1a8e75f923c1f",class:"gux-container"},s("div",{key:"8c22d9e0459606c010cc782e90c7eb4ce84550e1",class:"gux-sr-only","aria-live":"polite"},`${this.highlightResults.matchCount} ${this.i18n("searchResults")}`),s("div",{key:"697f9bd8bd79e1ffd9d112e7b9f25d0ad0119439",class:"gux-search"},s("gux-content-search",{key:"0955fedec73d446d8863a0b1b22551dd501387e6","match-count":this.highlightResults.matchCount,"current-match":this.highlightResults.currentMatch,onGuxcurrentmatchchanged:e=>this.onGuxCurrentMatchChanged(e)},s("input",{key:"b24470c33acdc7f7447b8ce45ceab80e3b701e1e",type:"search",placeholder:this.i18n("search"),onInput:()=>this.onSearchInput(),ref:e=>this.searchElement=e}))),s("div",{key:"716b5ed689f3d02ad1667cac1f45f2326bf042e0",class:"gux-select"},s("gux-form-field-checkbox",{key:"2468fa9584859f8e2c2b0529490cebd1dfea7a49"},s("input",{key:"a59752e36a0a2beb60f85401a2f983e622a360b2",slot:"input",type:"checkbox",ref:e=>this.mainCheckboxElement=e,onChange:()=>this.onMainCheckboxChange()}),s("label",{key:"129071db1777d9c011d0cd5f80bb6c0454f898e6",slot:"label"},this.renderSelectedColumnCount()))),s("div",{key:"72fea5393a72ecd0c507e021fec10b3df73c8f8b",class:"gux-list",onChange:()=>this.onListChange()},s("slot",{key:"3b67278503f48b34c93e2e9d4eab47cd7a8e3b20",onSlotchange:()=>this.onSlotChange()})),s("gux-announce-beta",{key:"4fce43062fb49045706ae55be7b72991fe9233e6",ref:e=>this.announceElement=e}))}get root(){return a(this)}static get watchers(){return{keyboardOrderChange:["watchKeyboardOrderChange"]}}};f.style=".gux-container{width:320px;min-width:320px;padding:var(--gse-ui-dataTableItems-editColumn-editColumnContent-padding)}.gux-container .gux-search gux-content-search{width:100%}.gux-container .gux-search gux-content-search input[type=search]::-webkit-search-decoration,.gux-container .gux-search gux-content-search input[type=search]::-webkit-search-cancel-button,.gux-container .gux-search gux-content-search input[type=search]::-webkit-search-results-button,.gux-container .gux-search gux-content-search input[type=search]::-webkit-search-results-decoration{display:none;-webkit-appearance:none}.gux-container .gux-select{padding:var(--gse-ui-dataTableItems-editColumn-editColumnContent-padding);margin-left:24px}.gux-sr-only:not(:focus):not(:active){position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);clip-path:inset(50%);white-space:nowrap}";export{f as gux_column_manager}
1
+ import{r as e,c as t,f as n,h as s,g as a}from"./p-2e827df1.js";import{b as o}from"./p-0367930a.js";import{t as c}from"./p-97c25def.js";import{g as r,s as i,a as h,b as d,c as l,d as u,e as b,f as m,h as p}from"./p-db201bbc.js";import"./p-4202e9f2.js";import"./p-a43079c8.js";import"./p-2c25e2f2.js";const g={search:"Search",searchResults:"search results",selectedColumnCount:"{count} / {total} Columns Selected",selectAllColumnsScreenReader:"{count} of {total} columns selected: check checkbox to select all {total} columns",unselectAllColumnsScreenReader:"{count} of {total} columns selected: uncheck checkbox to unselect all {total} columns",movePositionPrompt:"Press space or enter to move the {columnName} column to position {newPositionNumber} from position {oldPositionNumber}.",reorderingModeActive:"Reordering mode active. Reposition the {columnName} column using the up arrow key, the down arrow key, the home key and the end key. Press Escape to deactivate reordering mode."},f=class{constructor(n){e(this,n),this.guxorderchange=t(this,"guxorderchange",7),this.highlightResults={matchCount:0,currentMatch:0},this.keyboardOrderChange=r()}watchKeyboardOrderChange(){i(this.root,this.keyboardOrderChange)}async componentWillLoad(){c(this.root),this.i18n=await o(this.root,g)}componentDidLoad(){h(this.root,this.mainCheckboxElement)}handleInternalorderchange(e){e.stopPropagation(),this.emitOrderChange(e.detail)}emitOrderChange(e){const{oldIndex:t,newIndex:n}=e;if(t!==n){const t=d(this.root,e);this.guxorderchange.emit(t)}}handleInternalkeyboardorderstart(e){e.stopPropagation();const t=e.detail,n=l(e.target);this.keyboardOrderChange={oldIndex:n,newIndex:n},this.announceElement.guxAnnounce(this.i18n("reorderingModeActive",{columnName:t}))}handleInternalkeyboardreordermove(e){e.stopPropagation();const{delta:t,column:n}=e.detail;this.keyboardOrderChange=u(this.root,this.keyboardOrderChange,t),this.announceElement.guxAnnounce(this.i18n("movePositionPrompt",{columnName:n,newPositionNumber:this.keyboardOrderChange.newIndex+1,oldPositionNumber:this.keyboardOrderChange.oldIndex+1}))}handleInternalkeyboarddoreorder(e){e.stopPropagation(),this.emitOrderChange(this.keyboardOrderChange),e.target.guxFocus()}handleInternalkeyboardorderfinish(e){e.stopPropagation(),this.keyboardOrderChange=r()}onSearchInput(){this.highlightResults=b(this.root,this.searchElement)}onGuxCurrentMatchChanged(e){this.highlightResults=b(this.root,this.searchElement,e.detail)}onMainCheckboxChange(){m(this.root,this.mainCheckboxElement.checked),n(this.root)}onListChange(){h(this.root,this.mainCheckboxElement),n(this.root)}onSlotChange(){this.onListChange()}renderSelectedColumnCount(){const{count:e,total:t}=p(this.root);return s("div",null,s("span",{"aria-hidden":"true"},this.i18n("selectedColumnCount",{count:e,total:t})),s("span",{class:"gux-sr-only"},s("span",null,": ",this.i18n(e===t?"unselectAllColumnsScreenReader":"selectAllColumnsScreenReader",{count:e,total:t}))))}render(){return s("div",{key:"8d82266d374edd4eb33182037e177c90f2145faf",class:"gux-container"},s("div",{key:"23fd11224c510896079914a36f91ec22dd1072bd",class:"gux-sr-only","aria-live":"polite"},`${this.highlightResults.matchCount} ${this.i18n("searchResults")}`),s("div",{key:"ac5d0220e8fe0bf429b3ca41e8353d5714f59e56",class:"gux-search"},s("gux-content-search",{key:"94ece55f012535aebbb359e33798ffe25e394fd7","match-count":this.highlightResults.matchCount,"current-match":this.highlightResults.currentMatch,onGuxcurrentmatchchanged:e=>this.onGuxCurrentMatchChanged(e)},s("input",{key:"961603f9a2791b99f625173681326aed4ad6bac2",type:"search",placeholder:this.i18n("search"),onInput:()=>this.onSearchInput(),ref:e=>this.searchElement=e}))),s("div",{key:"2b675503caf6e0f7f459bee18b1bbbca7ce63bff",class:"gux-select"},s("gux-form-field-checkbox",{key:"5a6469d504207e0f041a4f09d8eaa8509dbd8822"},s("input",{key:"5c42aed702e472dfb8a3ed35d724bb7a132e46a2",slot:"input",type:"checkbox",ref:e=>this.mainCheckboxElement=e,onChange:()=>this.onMainCheckboxChange()}),s("label",{key:"9ddd01c649b91ed2bbc6e08195b777e356b73ee0",slot:"label"},this.renderSelectedColumnCount()))),s("div",{key:"4b9b1797e5f097b845b9b36c35c4222871610552",class:"gux-list",onChange:()=>this.onListChange()},s("slot",{key:"0e16dba06dcc44142619230dd71d76e67e061af3",onSlotchange:()=>this.onSlotChange()})),s("gux-announce-beta",{key:"1897bf802e8449ae627074c0478b536f3cd827e4",ref:e=>this.announceElement=e}))}get root(){return a(this)}static get watchers(){return{keyboardOrderChange:["watchKeyboardOrderChange"]}}};f.style=".gux-container{width:320px;min-width:320px;padding:var(--gse-ui-dataTableItems-editColumn-editColumnContent-padding)}.gux-container .gux-search gux-content-search{width:100%}.gux-container .gux-search gux-content-search input[type=search]::-webkit-search-decoration,.gux-container .gux-search gux-content-search input[type=search]::-webkit-search-cancel-button,.gux-container .gux-search gux-content-search input[type=search]::-webkit-search-results-button,.gux-container .gux-search gux-content-search input[type=search]::-webkit-search-results-decoration{display:none;-webkit-appearance:none}.gux-container .gux-select{padding:var(--gse-ui-dataTableItems-editColumn-editColumnContent-padding);margin-left:24px}.gux-sr-only:not(:focus):not(:active){position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);clip-path:inset(50%);white-space:nowrap}";export{f as gux_column_manager}
@@ -1 +1 @@
1
- import{r,h as e,g as i}from"./p-2e827df1.js";import{b as a}from"./p-0367930a.js";import{t as o}from"./p-57cb25bb.js";import"./p-4202e9f2.js";const t={info:"Information alert with message",success:"Success alert with message",warning:"Warning alert with message",error:"Error alert with message"},s=class{constructor(e){r(this,e),this.accent="info"}getIcon(r){switch(r){case"info":default:return"fa/circle-info-solid";case"success":return"fa/circle-check-solid";case"warning":return"fa/triangle-exclamation-solid";case"error":return"fa/hexagon-exclamation-solid"}}async componentWillLoad(){o(this.root,{variant:this.accent}),this.i18n=await a(this.root,t)}render(){return e("div",{key:"f91ab9a2f27298d64b9bb129bde693bfae717258",class:{"gux-inline-alert":!0,[`gux-${this.accent}`]:!0}},e("gux-icon",{key:"3833fff501ea94dab2d133e49c8a7c88d37c2659","icon-name":this.getIcon(this.accent),decorative:!0}),e("div",{key:"dab46d5908f75422123ec4b29dfb5dfad75bd7c3",class:"gux-message-wrapper"},e("div",{key:"c379c1ad3e7f681cad4e1e58ed1479ad6cf372ac",class:"gux-sr-only"},this.i18n(this.accent)),e("slot",{key:"5e678920fde88c954441e594759904b6866ac902"})))}get root(){return i(this)}};s.style=":host{display:block}.gux-inline-alert{display:inline-flex;flex-direction:row;flex-wrap:nowrap;gap:var(--gse-ui-alert-gap);align-items:center;justify-content:flex-start;padding:var(--gse-ui-alert-padding);border:1px solid;border-radius:var(--gse-ui-alert-borderRadius)}.gux-inline-alert gux-icon{flex-shrink:0;align-self:flex-start;width:var(--gse-ui-icon-size-sm);height:var(--gse-ui-icon-size-sm);margin-top:1px}.gux-inline-alert gux-tooltip-title{white-space:nowrap}.gux-inline-alert .gux-message-wrapper{display:flex;gap:var(--gse-ui-alert-gap);align-items:center;justify-content:flex-start;font-family:var(--gse-ui-alert-text-fontFamily);font-size:var(--gse-ui-alert-text-fontSize);font-weight:var(--gse-ui-alert-text-fontWeight);line-height:var(--gse-ui-alert-text-lineHeight)}.gux-inline-alert .gux-sr-only:not(:focus):not(:active){position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);clip-path:inset(50%);white-space:nowrap}.gux-inline-alert.gux-info{color:var(--gse-ui-alert-info-foregroundColor);background-color:var(--gse-ui-alert-info-backgroundColor);border:var(--gse-ui-alert-info-border-width) var(--gse-ui-alert-info-border-style) var(--gse-ui-alert-info-border-color)}.gux-inline-alert.gux-info gux-icon{color:var(--gse-ui-alert-info-iconColor)}.gux-inline-alert.gux-error{color:var(--gse-ui-alert-error-foregroundColor);background-color:var(--gse-ui-alert-error-backgroundColor);border:var(--gse-ui-alert-error-border-width) var(--gse-ui-alert-error-border-style) var(--gse-ui-alert-error-border-color)}.gux-inline-alert.gux-error gux-icon{color:var(--gse-ui-alert-error-iconColor)}.gux-inline-alert.gux-warning{color:var(--gse-ui-alert-warning-foregroundColor);background-color:var(--gse-ui-alert-warning-backgroundColor);border:var(--gse-ui-alert-warning-border-width) var(--gse-ui-alert-warning-border-style) var(--gse-ui-alert-warning-border-color)}.gux-inline-alert.gux-warning gux-icon{color:var(--gse-ui-alert-warning-iconColor)}.gux-inline-alert.gux-success{color:var(--gse-ui-alert-success-foregroundColor);background-color:var(--gse-ui-alert-success-backgroundColor);border:var(--gse-ui-alert-success-border-width) var(--gse-ui-alert-success-border-style) var(--gse-ui-alert-success-border-color)}.gux-inline-alert.gux-success gux-icon{color:var(--gse-ui-alert-success-iconColor)}";export{s as gux_inline_alert}
1
+ import{r,h as e,g as i}from"./p-2e827df1.js";import{b as o}from"./p-0367930a.js";import{t as a}from"./p-97c25def.js";import"./p-4202e9f2.js";const t={info:"Information alert with message",success:"Success alert with message",warning:"Warning alert with message",error:"Error alert with message"},s=class{constructor(e){r(this,e),this.accent="info"}getIcon(r){switch(r){case"info":default:return"fa/circle-info-solid";case"success":return"fa/circle-check-solid";case"warning":return"fa/triangle-exclamation-solid";case"error":return"fa/hexagon-exclamation-solid"}}async componentWillLoad(){a(this.root,{variant:this.accent}),this.i18n=await o(this.root,t)}render(){return e("div",{key:"7caded91b7e176e48516b6d2b39227b18733e2c3",class:{"gux-inline-alert":!0,[`gux-${this.accent}`]:!0}},e("gux-icon",{key:"8d65fbb32f399271287997051588e8402140d040","icon-name":this.getIcon(this.accent),decorative:!0}),e("div",{key:"0d302d645ea61fdf092aa5c79c9176550207d2d5",class:"gux-message-wrapper"},e("div",{key:"2b6b3ac0558ed964fd73e9eb42964f75cef13ba2",class:"gux-sr-only"},this.i18n(this.accent)),e("slot",{key:"6e6e08e66481a5f882eb9fcfcb404cf442f19955"})))}get root(){return i(this)}};s.style=":host{display:block}.gux-inline-alert{display:inline-flex;flex-direction:row;flex-wrap:nowrap;gap:var(--gse-ui-alert-gap);align-items:center;justify-content:flex-start;padding:var(--gse-ui-alert-padding);border:1px solid;border-radius:var(--gse-ui-alert-borderRadius)}.gux-inline-alert gux-icon{flex-shrink:0;align-self:flex-start;width:var(--gse-ui-icon-size-sm);height:var(--gse-ui-icon-size-sm);margin-top:1px}.gux-inline-alert gux-tooltip-title{white-space:nowrap}.gux-inline-alert .gux-message-wrapper{display:flex;gap:var(--gse-ui-alert-gap);align-items:center;justify-content:flex-start;font-family:var(--gse-ui-alert-text-fontFamily);font-size:var(--gse-ui-alert-text-fontSize);font-weight:var(--gse-ui-alert-text-fontWeight);line-height:var(--gse-ui-alert-text-lineHeight)}.gux-inline-alert .gux-sr-only:not(:focus):not(:active){position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);clip-path:inset(50%);white-space:nowrap}.gux-inline-alert.gux-info{color:var(--gse-ui-alert-info-foregroundColor);background-color:var(--gse-ui-alert-info-backgroundColor);border:var(--gse-ui-alert-info-border-width) var(--gse-ui-alert-info-border-style) var(--gse-ui-alert-info-border-color)}.gux-inline-alert.gux-info gux-icon{color:var(--gse-ui-alert-info-iconColor)}.gux-inline-alert.gux-error{color:var(--gse-ui-alert-error-foregroundColor);background-color:var(--gse-ui-alert-error-backgroundColor);border:var(--gse-ui-alert-error-border-width) var(--gse-ui-alert-error-border-style) var(--gse-ui-alert-error-border-color)}.gux-inline-alert.gux-error gux-icon{color:var(--gse-ui-alert-error-iconColor)}.gux-inline-alert.gux-warning{color:var(--gse-ui-alert-warning-foregroundColor);background-color:var(--gse-ui-alert-warning-backgroundColor);border:var(--gse-ui-alert-warning-border-width) var(--gse-ui-alert-warning-border-style) var(--gse-ui-alert-warning-border-color)}.gux-inline-alert.gux-warning gux-icon{color:var(--gse-ui-alert-warning-iconColor)}.gux-inline-alert.gux-success{color:var(--gse-ui-alert-success-foregroundColor);background-color:var(--gse-ui-alert-success-backgroundColor);border:var(--gse-ui-alert-success-border-width) var(--gse-ui-alert-success-border-style) var(--gse-ui-alert-success-border-color)}.gux-inline-alert.gux-success gux-icon{color:var(--gse-ui-alert-success-iconColor)}";export{s as gux_inline_alert}
@@ -1 +1 @@
1
- import{r as t,h as s,H as i,g as e}from"./p-2e827df1.js";import{s as o}from"./p-2c25e2f2.js";import{t as a}from"./p-57cb25bb.js";const h=class{constructor(s){t(this,s),this.value=void 0,this.layout="default",this.switchItems=[]}onClick(t){t.stopPropagation();const s=t.target.closest("gux-switch-item");s&&this.value!==s.value&&(this.value=s.value,o(this.root,"input"),o(this.root,"change"))}slotChanged(){this.switchItems=Array.from(this.root.children)}componentWillLoad(){a(this.root,{variant:this.layout})}componentWillRender(){this.switchItems.forEach((t=>{t.selected=t.value===this.value}))}render(){return s(i,{key:"c10ef991e1f4ded371bfa0be043911115b8cf2d8",role:"group",class:`gux-${this.layout}`},s("slot",{key:"e0ab07ec896af9f114887420d74ca216aec741a1",onSlotchange:this.slotChanged.bind(this)}))}get root(){return e(this)}};h.style=":host{display:flex;align-items:flex-end}";export{h as gux_switch_legacy}
1
+ import{r as t,h as s,H as i,g as e}from"./p-2e827df1.js";import{s as o}from"./p-2c25e2f2.js";import{t as a}from"./p-97c25def.js";const h=class{constructor(s){t(this,s),this.value=void 0,this.layout="default",this.switchItems=[]}onClick(t){t.stopPropagation();const s=t.target.closest("gux-switch-item");s&&this.value!==s.value&&(this.value=s.value,o(this.root,"input"),o(this.root,"change"))}slotChanged(){this.switchItems=Array.from(this.root.children)}componentWillLoad(){a(this.root,{variant:this.layout})}componentWillRender(){this.switchItems.forEach((t=>{t.selected=t.value===this.value}))}render(){return s(i,{key:"fe49b66fbc5afe91686a3953d62449e80a9a7399",role:"group",class:`gux-${this.layout}`},s("slot",{key:"5bc85c04e73c8d8f03c70701d84785ad43473c9f",onSlotchange:this.slotChanged.bind(this)}))}get root(){return e(this)}};h.style=":host{display:flex;align-items:flex-end}";export{h as gux_switch_legacy}
@@ -0,0 +1 @@
1
+ import{r as e,c as t,h as s,g as i}from"./p-2e827df1.js";import{b as o}from"./p-0367930a.js";import{r as a}from"./p-0934300e.js";import{t as r}from"./p-408d5857.js";import"./p-4202e9f2.js";const c=class{constructor(s){e(this,s),this.internalrowselectchange=t(this,"internalrowselectchange",7),this.id=a("gux-row-select"),this.selected=!1,this.disabled=void 0}onCheck(e){e.stopPropagation(),this.selected=this.inputElement.checked,this.internalrowselectchange.emit(this.inputElement.checked)}async componentWillLoad(){this.i18n=await o(this.root,r,"gux-table")}render(){return s("gux-form-field-checkbox",{key:"b02fc706d89b404c4602c0467963e5bd1cc6906f","label-position":"screenreader"},s("input",{key:"13da72170771456e9a8388690cc1faa10188799e",ref:e=>this.inputElement=e,slot:"input",id:this.id,type:"checkbox",checked:this.selected,disabled:this.disabled}),s("label",{key:"dab43582077ea1e10bca2ba91d6847c67b242b48",slot:"label",htmlFor:this.id},"​",s("span",{key:"8b6a2e260d8c0821e187aee92be1487d7d8496e6"},this.i18n("selectTableRow"))))}get root(){return i(this)}};c.style=":host{display:flex;flex-direction:row;justify-content:center}";export{c as gux_row_select}
@@ -0,0 +1 @@
1
+ import{r as e,h as o,g as r}from"./p-2e827df1.js";import{c as t,o as i}from"./p-f4751a15.js";import{O as n}from"./p-01471ba0.js";import{o as l}from"./p-e5b1cffc.js";import{p as a}from"./p-a11d5d42.js";import{h as s}from"./p-6d8b4027.js";import{G as u,a as f,g,v as p,b as d}from"./p-f3b9b052.js";import{G as c,a as h}from"./p-9773c4fe.js";import{t as m}from"./p-97c25def.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.computedLabelPosition=void 0,this.disabled=void 0,this.required=void 0,this.hasError=!1,this.hasHelp=!1}onMutation(){this.hasError=s(this.root,"error"),this.hasHelp=s(this.root,"help")}componentWillLoad(){this.setInput(),this.setLabel(),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(h,{key:"0a267056f6e0254583b68671cc16c3f8921255eb",labelPosition:this.computedLabelPosition},o(c,{key:"ef83637c2a1371569d008f958a1913352c6e7c8b",position:this.computedLabelPosition,required:this.required},o("slot",{key:"8e853e3f9ef3083017252ff8f8a7c800bdb0deab",name:"label",onSlotchange:()=>this.setLabel()})),o("div",{key:"2505466fb6c8523ae4e5d3e384de387efa37589e",class:"gux-input-and-error-container"},o("div",{key:"c10d57b1fe3e45c4a1385178ffc6eaf8fa6e9eb6",class:{"gux-input":!0,"gux-input-error":this.hasError}},o("div",{key:"9f1f0cf7b2e1bee2530b0e63d772dec14e601e3b",class:{"gux-input-container":!0,"gux-disabled":this.disabled}},o("slot",{key:"b7cbe50e2e969589509dbc00151ed6500bda098a",name:"input",onSlotchange:()=>this.setInput()}))),o(u,{key:"50cf5117bad4e53fc00c462a385beb42d0a45339",show:this.hasError},o("slot",{key:"f8857bf5cd6753b309673a39fde0d8bfd16b0692",name:"error"})),o(f,{key:"a07860ed85ae753c957ca0dec6e6e9f9362231e5",show:!this.hasError&&this.hasHelp},o("slot",{key:"eaef97368f5b1b7a884e88911d7db38cebb147a9",name:"help"}))))}get variant(){return this.labelPosition?this.labelPosition.toLowerCase():"none"}setInput(){this.input=g(this.root,'input[type="color"][slot="input"]'),a(this.input),this.disabled=t(this.input),this.required=this.input.required,this.disabledObserver=i(this.input,(e=>{this.disabled=e})),this.requiredObserver=l(this.input,(e=>{this.required=e})),p(this.root,this.input)}setLabel(){this.label=this.root.querySelector('label[slot="label"]'),this.computedLabelPosition=d(this.label,this.labelPosition)}get root(){return r(this)}};(function(e,o,r,t){var i,n=arguments.length,l=n<3?o:null===t?t=Object.getOwnPropertyDescriptor(o,r):t;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)l=Reflect.decorate(e,o,r,t);else for(var a=e.length-1;a>=0;a--)(i=e[a])&&(l=(n<3?i(l):n>3?i(o,r,l):i(o,r))||l);n>3&&l&&Object.defineProperty(o,r,l)})([n({childList:!0,subtree:!0})],b.prototype,"onMutation",null),b.style='.gux-form-field-container.gux-beside{display:flex;flex-direction:row}.gux-form-field-error{display:none;flex-direction:row;flex-wrap:nowrap;place-content:stretch flex-start;align-items:center;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;align-self:auto;order:0;min-width:var(--gse-ui-icon-size-sm);min-height:var(--gse-ui-icon-size-sm);margin-right:var(--gse-ui-formControl-helper-gap);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.gux-required::after{color:var(--gse-ui-formControl-label-indicator-requiredColor);content:" *"}.gux-form-field-label.gux-beside{position:relative;top:8px;width:fit-content;min-width:45px;margin-right:var(--gse-ui-formControl-label-gap)}.gux-form-field-label.gux-above{padding:var(--gse-ui-formControl-label-padding)}.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:var(--gse-ui-formControl-helper-paddingSmall);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-text-fontFamily);font-size:var(--gse-ui-formControl-label-text-fontSize);font-weight:var(--gse-ui-formControl-label-text-fontWeight);line-height:var(--gse-ui-formControl-label-text-lineHeight);color:var(--gse-ui-formControl-label-labelColor)}::slotted(input){flex:0 1 auto;align-self:auto;order:0;width:var(--gse-ui-colorPicker-input-swatchSizing);min-width:var(--gse-ui-colorPicker-input-swatchSizing);height:var(--gse-ui-colorPicker-input-swatchSizing);padding:0;overflow:hidden;font-size:var(--gse-ui-formControl-input-contentText-fontSize);color:var(--gse-ui-formControl-input-populatedColor);text-align:right;text-overflow:ellipsis;background-color:var(--gse-ui-formControl-input-backgroundColor);border:none;outline: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;width:var(--gse-ui-formControl-input-colorPicker-size);height: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{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);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-focusRing-offset)}.gux-input-and-error-container .gux-input .gux-input-container:hover{cursor:pointer;border-color:var(--gse-ui-formControl-input-hover-border-color)}.gux-input-and-error-container .gux-input.gux-input-error .gux-input-container{border-color:var(--gse-ui-formControl-input-error-border-color)}';export{b as gux_form_field_color}
@@ -1 +1 @@
1
- import{r as e,f as t,h as o,g as r}from"./p-2e827df1.js";import{c as i,o as n}from"./p-f4751a15.js";import{O as a}from"./p-01471ba0.js";import{o as s}from"./p-e5b1cffc.js";import{p as l}from"./p-a11d5d42.js";import{h as u}from"./p-6d8b4027.js";import{h as f,c as p,d,G as h,a as g,g as c,v as x,b as m}from"./p-f3b9b052.js";import{G as b,a as v}from"./p-9773c4fe.js";import{t as C}from"./p-57cb25bb.js";import"./p-0934300e.js";import"./p-8eaf8caf.js";import"./p-2c25e2f2.js";const y=class{constructor(t){e(this,t),this.clearable=void 0,this.labelPosition=void 0,this.loading=!1,this.hasPrefix=void 0,this.hasSuffix=void 0,this.computedLabelPosition="above",this.disabled=void 0,this.required=void 0,this.hasContent=!1,this.hasError=!1,this.hasHelp=!1}onMutation(){this.hasError=u(this.root,"error"),this.hasHelp=u(this.root,"help")}async guxForceUpdate(){this.hasContent=f(this.input),this.hasError=u(this.root,"error"),this.hasHelp=u(this.root,"help"),t(this.root)}renderRadialLoading(){if(this.loading)return o("gux-radial-loading",{context:"input"})}componentWillLoad(){this.setInput(),this.setLabel(),this.hasError=u(this.root,"error"),this.hasHelp=u(this.root,"help"),this.hasPrefix=Boolean(this.root.querySelector('[slot="prefix"]')),this.hasSuffix=Boolean(this.root.querySelector('[slot="suffix"]')),this.hasPrefix&&p(this.root,this.input,"prefix"),this.hasSuffix&&p(this.root,this.input,"suffix"),C(this.root,{variant:this.variant})}disconnectedCallback(){this.disabledObserver&&this.disabledObserver.disconnect(),this.requiredObserver&&this.requiredObserver.disconnect()}render(){return o(v,{key:"47208463e724cb78857e69704f455d49c76e77fe",labelPosition:this.computedLabelPosition},o(b,{key:"29aab8cfeb9826eb0979cfa6cb0853d01bccd97a",position:this.computedLabelPosition,required:this.required},o("slot",{key:"c14abb7afa496a8484a095adaf7380b4f767d884",name:"label",onSlotchange:()=>this.setLabel()})),o("div",{key:"9cf99ca28832b273fa70e1bc43a3fbb3ff6006cc",class:"gux-input-and-error-container"},o("div",{key:"2f4a3409dac229a7d48331cd9c2356a4daa4dbbd",class:{"gux-input":!0,"gux-input-error":this.hasError}},o("div",{key:"a5bcf8d7ac7c8fa258eb28d7653a67126ffac859",class:{"gux-input-container":!0,"gux-disabled":this.disabled,"gux-has-prefix":this.hasPrefix,"gux-has-suffix":this.hasSuffix}},o("slot",{key:"a5160e2c567799b9d06ed1ba64d426ee3055d22e",name:"prefix"}),o("slot",{key:"2c71826b1487a6dab13c6cfe21cb2a7e9883dea3",name:"input"}),this.renderRadialLoading(),o("slot",{key:"80d52201bf8cf3e9cd9641344eac08bb0bda7544",name:"suffix"}),this.clearable&&this.hasContent&&!this.disabled&&o("gux-form-field-input-clear-button",{onClick:()=>d(this.input)}))),o(h,{key:"bc3363cad1b877316f832b66eec3eb7e543aceaa",show:this.hasError},o("slot",{key:"cc5ddd2a97f25e11d687b5b5ea91abcd5c24d051",name:"error"})),o(g,{key:"abfd5dc6fe0717f885884ae25805339f4c10eebd",show:!this.hasError&&this.hasHelp},o("slot",{key:"1894199f1fa24f16b51c81de2321e28ef8187527",name:"help"}))))}get variant(){const e=this.labelPosition?this.labelPosition.toLowerCase():"none";return`${this.input.getAttribute("type")}-${this.clearable?"clearable":"unclearable"}-${e}`}setInput(){this.input=c(this.root,'input[type="email"][slot="input"], input[type="number"][slot="input"], input[type="password"][slot="input"], input[type="text"][slot="input"]'),this.hasContent=f(this.input),l(this.input),this.input.addEventListener("input",(()=>{this.hasContent=f(this.input)})),this.disabled=i(this.input),this.required=this.input.required,this.disabledObserver=n(this.input,(e=>{this.disabled=e})),this.requiredObserver=s(this.input,(e=>{this.required=e})),x(this.root,this.input)}setLabel(){this.label=this.root.querySelector('label[slot="label"]'),this.computedLabelPosition=m(this.label,this.labelPosition)}get root(){return r(this)}};(function(e,t,o,r){var i,n=arguments.length,a=n<3?t:null===r?r=Object.getOwnPropertyDescriptor(t,o):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(e,t,o,r);else for(var s=e.length-1;s>=0;s--)(i=e[s])&&(a=(n<3?i(a):n>3?i(t,o,a):i(t,o))||a);n>3&&a&&Object.defineProperty(t,o,a)})([a({childList:!0,subtree:!0})],y.prototype,"onMutation",null),y.style='.gux-form-field-container.gux-beside{display:flex;flex-direction:row}.gux-form-field-error{display:none;flex-direction:row;flex-wrap:nowrap;place-content:stretch flex-start;align-items:center;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;align-self:auto;order:0;min-width:var(--gse-ui-icon-size-sm);min-height:var(--gse-ui-icon-size-sm);margin-right:var(--gse-ui-formControl-helper-gap);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.gux-required::after{color:var(--gse-ui-formControl-label-indicator-requiredColor);content:" *"}.gux-form-field-label.gux-beside{position:relative;top:8px;width:fit-content;min-width:45px;margin-right:var(--gse-ui-formControl-label-gap)}.gux-form-field-label.gux-above{padding:var(--gse-ui-formControl-label-padding)}.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:var(--gse-ui-formControl-helper-paddingSmall);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-text-fontFamily);font-size:var(--gse-ui-formControl-label-text-fontSize);font-weight:var(--gse-ui-formControl-label-text-fontWeight);line-height:var(--gse-ui-formControl-label-text-lineHeight);color:var(--gse-ui-formControl-label-labelColor)}::slotted(input){flex:1 1 auto;align-self:auto;order:0;width:100%;overflow:hidden;font-size:var(--gse-ui-formControl-input-contentText-fontSize);text-overflow:ellipsis;background-color:var(--gse-ui-formControl-input-backgroundColor);border:none;outline:none}::slotted(input)::placeholder{color:var(--gse-ui-formControl-input-placeholderColor);opacity:1}slot[name=prefix],slot[name=suffix]{font-family:var(--gse-ui-formControl-input-prefixSufix-text-fontFamily);font-size:var(--gse-ui-formControl-input-prefixSufix-text-fontSize);line-height:var(--gse-ui-formControl-input-prefixSufix-text-lineHeight);color:var(--gse-ui-formControl-input-prefixSufix-defaultColor);text-align:center;text-decoration:none;white-space:nowrap}.gux-input-and-error-container{flex-grow:1}.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;width:100%;height:var(--gse-ui-formControl-input-textfield-height);padding:var(--gse-ui-formControl-input-padding);font-family:var(--gse-ui-formControl-input-contentText-fontFamily);font-size:var(--gse-ui-formControl-input-contentText-fontSize);font-weight:var(--gse-ui-formControl-input-contentText-fontWeight);line-height:var(--gse-ui-formControl-input-contentText-lineHeight);color:var(--gse-ui-formControl-input-populatedColor);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-has-suffix:not(.gux-input-and-error-container .gux-input .gux-input-container.gux-has-prefix) ::slotted(input){text-align:right}.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{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);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-focusRing-offset)}.gux-input-and-error-container .gux-input .gux-input-container:hover:not(.gux-disabled){border:var(--gse-ui-formControl-input-hover-border-width) var(--gse-ui-formControl-input-hover-border-style) var(--gse-ui-formControl-input-hover-border-color)}.gux-input-and-error-container .gux-input.gux-input-error .gux-input-container{border-color:var(--gse-ui-formControl-input-error-border-color)}';export{y as gux_form_field_text_like}
1
+ import{r as e,f as t,h as o,g as r}from"./p-2e827df1.js";import{c as i,o as n}from"./p-f4751a15.js";import{O as a}from"./p-01471ba0.js";import{o as s}from"./p-e5b1cffc.js";import{p as l}from"./p-a11d5d42.js";import{h as f}from"./p-6d8b4027.js";import{h as u,c as p,d,G as h,a as g,g as c,v as x,b as m}from"./p-f3b9b052.js";import{G as b,a as v}from"./p-9773c4fe.js";import{t as C}from"./p-97c25def.js";import"./p-0934300e.js";import"./p-8eaf8caf.js";import"./p-2c25e2f2.js";const y=class{constructor(t){e(this,t),this.clearable=void 0,this.labelPosition=void 0,this.loading=!1,this.hasPrefix=void 0,this.hasSuffix=void 0,this.computedLabelPosition="above",this.disabled=void 0,this.required=void 0,this.hasContent=!1,this.hasError=!1,this.hasHelp=!1}onMutation(){this.hasError=f(this.root,"error"),this.hasHelp=f(this.root,"help")}async guxForceUpdate(){this.hasContent=u(this.input),this.hasError=f(this.root,"error"),this.hasHelp=f(this.root,"help"),t(this.root)}renderRadialLoading(){if(this.loading)return o("gux-radial-loading",{context:"input"})}componentWillLoad(){this.setInput(),this.setLabel(),this.hasError=f(this.root,"error"),this.hasHelp=f(this.root,"help"),this.hasPrefix=Boolean(this.root.querySelector('[slot="prefix"]')),this.hasSuffix=Boolean(this.root.querySelector('[slot="suffix"]')),this.hasPrefix&&p(this.root,this.input,"prefix"),this.hasSuffix&&p(this.root,this.input,"suffix"),C(this.root,{variant:this.variant})}disconnectedCallback(){this.disabledObserver&&this.disabledObserver.disconnect(),this.requiredObserver&&this.requiredObserver.disconnect()}render(){return o(v,{key:"11aa067706c5f6c91ff83e5f7616640e350c6e70",labelPosition:this.computedLabelPosition},o(b,{key:"b99ce693335a34a1345c7cf3a3bb0c467adef8ee",position:this.computedLabelPosition,required:this.required},o("slot",{key:"f92d4903220f4f4a26857f2cb8721d687baad180",name:"label",onSlotchange:()=>this.setLabel()})),o("div",{key:"d1cce04d2d9787290a56a30b893333f0c69e0b96",class:"gux-input-and-error-container"},o("div",{key:"f80b237e084f23118db59c44d230f1ebf3986635",class:{"gux-input":!0,"gux-input-error":this.hasError}},o("div",{key:"2849803deb586c0d66bbf1fe74f56f519de48d04",class:{"gux-input-container":!0,"gux-disabled":this.disabled,"gux-has-prefix":this.hasPrefix,"gux-has-suffix":this.hasSuffix}},o("slot",{key:"2688c3997262b51ca3a3b8f0109afae98a42535a",name:"prefix"}),o("slot",{key:"b8a15f02f4aaa306ba2a30718226497b266c739a",name:"input"}),this.renderRadialLoading(),o("slot",{key:"d1fa8e46f65d35fd7bac6e986f2ff688e0ef0c31",name:"suffix"}),this.clearable&&this.hasContent&&!this.disabled&&o("gux-form-field-input-clear-button",{onClick:()=>d(this.input)}))),o(h,{key:"9ff394f8c52df4aeeca5c40c9e8f4fb7e05681c8",show:this.hasError},o("slot",{key:"bf41f9fd79fb75ccd17d76b12047193aee328cd0",name:"error"})),o(g,{key:"4d167581382d2e90dec87eafd518e5b3dfd964b1",show:!this.hasError&&this.hasHelp},o("slot",{key:"dfaa97a334b26097a93de84a6e37d76e08e6fb9c",name:"help"}))))}get variant(){const e=this.labelPosition?this.labelPosition.toLowerCase():"none";return`${this.input.getAttribute("type")}-${this.clearable?"clearable":"unclearable"}-${e}`}setInput(){this.input=c(this.root,'input[type="email"][slot="input"], input[type="number"][slot="input"], input[type="password"][slot="input"], input[type="text"][slot="input"]'),this.hasContent=u(this.input),l(this.input),this.input.addEventListener("input",(()=>{this.hasContent=u(this.input)})),this.disabled=i(this.input),this.required=this.input.required,this.disabledObserver=n(this.input,(e=>{this.disabled=e})),this.requiredObserver=s(this.input,(e=>{this.required=e})),x(this.root,this.input)}setLabel(){this.label=this.root.querySelector('label[slot="label"]'),this.computedLabelPosition=m(this.label,this.labelPosition)}get root(){return r(this)}};(function(e,t,o,r){var i,n=arguments.length,a=n<3?t:null===r?r=Object.getOwnPropertyDescriptor(t,o):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(e,t,o,r);else for(var s=e.length-1;s>=0;s--)(i=e[s])&&(a=(n<3?i(a):n>3?i(t,o,a):i(t,o))||a);n>3&&a&&Object.defineProperty(t,o,a)})([a({childList:!0,subtree:!0})],y.prototype,"onMutation",null),y.style='.gux-form-field-container.gux-beside{display:flex;flex-direction:row}.gux-form-field-error{display:none;flex-direction:row;flex-wrap:nowrap;place-content:stretch flex-start;align-items:center;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;align-self:auto;order:0;min-width:var(--gse-ui-icon-size-sm);min-height:var(--gse-ui-icon-size-sm);margin-right:var(--gse-ui-formControl-helper-gap);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.gux-required::after{color:var(--gse-ui-formControl-label-indicator-requiredColor);content:" *"}.gux-form-field-label.gux-beside{position:relative;top:8px;width:fit-content;min-width:45px;margin-right:var(--gse-ui-formControl-label-gap)}.gux-form-field-label.gux-above{padding:var(--gse-ui-formControl-label-padding)}.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:var(--gse-ui-formControl-helper-paddingSmall);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-text-fontFamily);font-size:var(--gse-ui-formControl-label-text-fontSize);font-weight:var(--gse-ui-formControl-label-text-fontWeight);line-height:var(--gse-ui-formControl-label-text-lineHeight);color:var(--gse-ui-formControl-label-labelColor)}::slotted(input){flex:1 1 auto;align-self:auto;order:0;width:100%;overflow:hidden;font-size:var(--gse-ui-formControl-input-contentText-fontSize);text-overflow:ellipsis;background-color:var(--gse-ui-formControl-input-backgroundColor);border:none;outline:none}::slotted(input)::placeholder{color:var(--gse-ui-formControl-input-placeholderColor);opacity:1}slot[name=prefix],slot[name=suffix]{font-family:var(--gse-ui-formControl-input-prefixSufix-text-fontFamily);font-size:var(--gse-ui-formControl-input-prefixSufix-text-fontSize);line-height:var(--gse-ui-formControl-input-prefixSufix-text-lineHeight);color:var(--gse-ui-formControl-input-prefixSufix-defaultColor);text-align:center;text-decoration:none;white-space:nowrap}.gux-input-and-error-container{flex-grow:1}.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;width:100%;height:var(--gse-ui-formControl-input-textfield-height);padding:var(--gse-ui-formControl-input-padding);font-family:var(--gse-ui-formControl-input-contentText-fontFamily);font-size:var(--gse-ui-formControl-input-contentText-fontSize);font-weight:var(--gse-ui-formControl-input-contentText-fontWeight);line-height:var(--gse-ui-formControl-input-contentText-lineHeight);color:var(--gse-ui-formControl-input-populatedColor);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-has-suffix:not(.gux-input-and-error-container .gux-input .gux-input-container.gux-has-prefix) ::slotted(input){text-align:right}.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{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);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-focusRing-offset)}.gux-input-and-error-container .gux-input .gux-input-container:hover:not(.gux-disabled){border:var(--gse-ui-formControl-input-hover-border-width) var(--gse-ui-formControl-input-hover-border-style) var(--gse-ui-formControl-input-hover-border-color)}.gux-input-and-error-container .gux-input.gux-input-error .gux-input-container{border-color:var(--gse-ui-formControl-input-error-border-color)}';export{y as gux_form_field_text_like}
@@ -1 +1 @@
1
- import{r as e,h as t,H as a,g as o}from"./p-2e827df1.js";import{t as r}from"./p-57cb25bb.js";const i=class{constructor(t){e(this,t)}componentWillLoad(){r(this.root)}render(){return t(a,{key:"47b2597ede062b8d619e14accf7639ef8f829564"},t("div",{key:"6f93ee09cae0fbd3a2514ff53bba17461122c7c4",class:"gux-header"},t("div",{key:"dc4a76acfceabd11f07fa4a034cbe353550e21e1",class:"gux-icon"},t("slot",{key:"074f501439a2b7565c830459bfb9d4c488198139",name:"icon"})),t("div",{key:"ebe347ab51c18661e1cce4914dede92f17298fb3",class:"gux-title"},t("slot",{key:"6c2e7f297b654435cc8714485217d11f0826dd26",name:"title"}))),t("div",{key:"df3e4b0cdedbf220d8a0be2633f21afda14fe11c",class:"gux-message"},t("slot",{key:"88043629c2f7171fa2c33edfdc934403d05af081",name:"message"})),t("div",{key:"4890ceaf36b5c30e47fc799aa98e8594e4c5fa43",class:"gux-action-buttons"},t("div",{key:"ad7e3f04565b4ed5ab2a6d6f604fb7681458f992",class:"gux-positive-button"},t("slot",{key:"b2e5951c656f4fdb104d5132e11a3a1d24eb9cad",name:"positive-button"})),t("div",{key:"211ba0d6999fcdbdf985d11b37e224261030ee5b",class:"gux-negative-button"},t("slot",{key:"840839dbe5452950097628d9e5abcfd61600c314",name:"negative-button"}))))}get root(){return o(this)}};i.style=":host{display:flex;flex-direction:column;flex-wrap:nowrap;place-content:stretch flex-start;align-items:stretch;width:270px;padding:20px 24px;margin-bottom:4px;color:#2e394c;background:#f6f7f9;border:1px solid #b4bccb;border-radius:4px;box-shadow:0 2px 4px rgba(32, 41, 55, 0.24)}.gux-header{display:flex;flex:0 1 auto;flex-direction:row;flex-wrap:nowrap;place-content:stretch flex-start;align-items:center;align-self:auto;order:0;font-family:var(--gse-core-typography-heading-lg-fontFamily), var(--gse-core-fontFamily-heading), sans-serif;font-size:var(--gse-core-typography-heading-lg-fontSize);line-height:var(--gse-core-typography-heading-lg-lineHeight);font-weight:var(--gse-core-fontWeight-bold)}.gux-header .gux-icon{flex:0 1 auto;align-self:auto;order:0;color:#1da8b3}.gux-header .gux-icon ::slotted(gux-icon){width:32px !important;height:32px !important}.gux-header .gux-title{flex:1 1 auto;align-self:auto;order:0;margin:0 0 0 8px}.gux-message{flex:0 1 auto;align-self:auto;order:0;margin:16px 0;font-family:var(--gse-core-typography-body-sm-fontFamily), var(--gse-core-fontFamily-body), sans-serif;font-size:var(--gse-core-typography-body-sm-fontSize);line-height:var(--gse-core-typography-body-sm-lineHeight);font-weight:var(--gse-core-fontWeight-regular)}.gux-message ::slotted(dl){display:flex;flex-direction:row;flex-wrap:wrap;place-content:stretch flex-start;align-items:flex-start;margin:0}.gux-action-buttons{display:flex;flex:0 1 auto;flex-direction:row;flex-wrap:nowrap;place-content:stretch space-between;align-items:flex-start;align-self:auto;order:0}.gux-action-buttons .gux-negative-button{flex:0 1 auto;align-self:auto;order:0}.gux-action-buttons .gux-positive-button{flex:0 1 auto;align-self:auto;order:0}.gux-action-buttons{display:flex;flex:0 1 auto;flex-direction:row;flex-wrap:nowrap;place-content:stretch space-between;align-items:flex-start;align-self:auto;order:0}.gux-action-buttons .gux-negative-button{flex:0 1 auto;align-self:auto;order:0}.gux-action-buttons .gux-positive-button{flex:0 1 auto;align-self:auto;order:0}";export{i as gux_action_toast_legacy}
1
+ import{r as e,h as a,H as t,g as o}from"./p-2e827df1.js";import{t as r}from"./p-97c25def.js";const i=class{constructor(a){e(this,a)}componentWillLoad(){r(this.root)}render(){return a(t,{key:"a883201df82ed095d8f4574357860659c77de0a4"},a("div",{key:"f8969f402900c487450fd08839f1840c962c210d",class:"gux-header"},a("div",{key:"25f23f87e75fddd152605c147a07ab3a72921a99",class:"gux-icon"},a("slot",{key:"568b7b930316116f2d1f3c714936dfe64a71030c",name:"icon"})),a("div",{key:"117c561b75c723a67f9c1a7edec46eae8dd753b9",class:"gux-title"},a("slot",{key:"ecd58a9eaa0610a457ccf78789ac5ef9838e51bc",name:"title"}))),a("div",{key:"3fe48963895187a3e30650e8fbba8bc4fdef75aa",class:"gux-message"},a("slot",{key:"19122ad4a9fb9d97339fc1535acb52927e5f305d",name:"message"})),a("div",{key:"c9d5c108ea1e03e7ea7697442a0013111b4a8b45",class:"gux-action-buttons"},a("div",{key:"550222cac63f7276091d615a28a0a07bdb625952",class:"gux-positive-button"},a("slot",{key:"d571476a0f87e1ded3183c889381b68827fe9af5",name:"positive-button"})),a("div",{key:"c9cc6adb9aeada53685b7e70722be9d49d8506e7",class:"gux-negative-button"},a("slot",{key:"49a77b6df4e82c317ed63d52a8c73f405fc13a6f",name:"negative-button"}))))}get root(){return o(this)}};i.style=":host{display:flex;flex-direction:column;flex-wrap:nowrap;place-content:stretch flex-start;align-items:stretch;width:270px;padding:20px 24px;margin-bottom:4px;color:#2e394c;background:#f6f7f9;border:1px solid #b4bccb;border-radius:4px;box-shadow:0 2px 4px rgba(32, 41, 55, 0.24)}.gux-header{display:flex;flex:0 1 auto;flex-direction:row;flex-wrap:nowrap;place-content:stretch flex-start;align-items:center;align-self:auto;order:0;font-family:var(--gse-core-typography-heading-lg-fontFamily), var(--gse-core-fontFamily-heading), sans-serif;font-size:var(--gse-core-typography-heading-lg-fontSize);line-height:var(--gse-core-typography-heading-lg-lineHeight);font-weight:var(--gse-core-fontWeight-bold)}.gux-header .gux-icon{flex:0 1 auto;align-self:auto;order:0;color:#1da8b3}.gux-header .gux-icon ::slotted(gux-icon){width:32px !important;height:32px !important}.gux-header .gux-title{flex:1 1 auto;align-self:auto;order:0;margin:0 0 0 8px}.gux-message{flex:0 1 auto;align-self:auto;order:0;margin:16px 0;font-family:var(--gse-core-typography-body-sm-fontFamily), var(--gse-core-fontFamily-body), sans-serif;font-size:var(--gse-core-typography-body-sm-fontSize);line-height:var(--gse-core-typography-body-sm-lineHeight);font-weight:var(--gse-core-fontWeight-regular)}.gux-message ::slotted(dl){display:flex;flex-direction:row;flex-wrap:wrap;place-content:stretch flex-start;align-items:flex-start;margin:0}.gux-action-buttons{display:flex;flex:0 1 auto;flex-direction:row;flex-wrap:nowrap;place-content:stretch space-between;align-items:flex-start;align-self:auto;order:0}.gux-action-buttons .gux-negative-button{flex:0 1 auto;align-self:auto;order:0}.gux-action-buttons .gux-positive-button{flex:0 1 auto;align-self:auto;order:0}.gux-action-buttons{display:flex;flex:0 1 auto;flex-direction:row;flex-wrap:nowrap;place-content:stretch space-between;align-items:flex-start;align-self:auto;order:0}.gux-action-buttons .gux-negative-button{flex:0 1 auto;align-self:auto;order:0}.gux-action-buttons .gux-positive-button{flex:0 1 auto;align-self:auto;order:0}";export{i as gux_action_toast_legacy}
@@ -1 +1 @@
1
- import{r as e,c as t,h as o,H as i,g as s}from"./p-2e827df1.js";import{r as n}from"./p-0934300e.js";import{b as a}from"./p-0367930a.js";import{h as r}from"./p-6d8b4027.js";import"./p-4202e9f2.js";const u={removeCustomElementInstructions:", unselecting this custom option will remove it from the list"},h=class{constructor(o){e(this,o),this.guxremovecustomoption=t(this,"guxremovecustomoption",7),this.internalselectcustomoption=t(this,"internalselectcustomoption",7),this.value=void 0,this.active=!1,this.selected=!1,this.disabled=!1,this.filtered=!1,this.custom=!1,this.hasSubtext=!1}emitRemoveCustomOption(){!this.selected&&this.custom&&this.guxremovecustomoption.emit()}handleActive(e){var t,o;e?null===(t=this.truncateElement)||void 0===t||t.setShowTooltip():null===(o=this.truncateElement)||void 0===o||o.setHideTooltip()}async componentWillLoad(){this.i18n=await a(this.root,u),this.root.id=this.root.id||n("gux-option-multi"),this.custom&&this.internalselectcustomoption.emit(this.value),this.onSubtextChange()}onSubtextChange(){this.hasSubtext=r(this.root,"subtext")}renderSVGCheckbox(){return o("svg",{class:"gux-checkbox-container",xmlns:"http://www.w3.org/2000/svg",viewBox:"1 1 13 13"},o("path",this.selected?{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M4 1H11C11.7956 1 12.5587 1.31607 13.1213 1.87868C13.6839 2.44129 14 3.20435 14 4V11C14 11.7956 13.6839 12.5587 13.1213 13.1213C12.5587 13.6839 11.7956 14 11 14H4C3.20435 14 2.44129 13.6839 1.87868 13.1213C1.31607 12.5587 1 11.7956 1 11V4C1 3.20435 1.31607 2.44129 1.87868 1.87868C2.44129 1.31607 3.20435 1 4 1ZM5.57018 10.4198C5.7051 10.5547 5.87599 10.6177 6.04689 10.6177C6.22678 10.6177 6.39767 10.5457 6.52359 10.4198L11.7944 5.14905C12.0552 4.88821 12.0552 4.45647 11.7944 4.19563C11.5335 3.93479 11.1018 3.93479 10.841 4.19563L6.04689 8.9897L4.14905 7.08286C3.88821 6.82202 3.45647 6.82202 3.19563 7.08286C2.93479 7.3437 2.93479 7.77544 3.19563 8.03628L5.57018 10.4198Z"}:{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M11 2.5H4C3.17157 2.5 2.5 3.17157 2.5 4V11C2.5 11.8284 3.17157 12.5 4 12.5H11C11.8284 12.5 12.5 11.8284 12.5 11V4C12.5 3.17157 11.8284 2.5 11 2.5ZM4 1C2.34315 1 1 2.34315 1 4V11C1 12.6569 2.34315 14 4 14H11C12.6569 14 14 12.6569 14 11V4C14 2.34315 12.6569 1 11 1H4Z"}))}renderCustomOptionInstructions(){if(this.custom)return o("span",{class:"gux-screenreader"},this.i18n("removeCustomElementInstructions"))}render(){return o(i,{key:"1baf096c0e4683e5cd884c20676aa2584cc93f7b",role:"option",class:{"gux-active":this.active,"gux-disabled":this.disabled,"gux-filtered":this.filtered,"gux-selected":this.selected,"gux-show-subtext":this.hasSubtext},"aria-selected":this.selected.toString(),"aria-disabled":this.disabled.toString()},this.renderSVGCheckbox(),o("div",{key:"e39f5ac6de711f47f679cbdeb20a569490d2f9a7",class:"gux-option-wrapper"},o("gux-truncate",{key:"8a228a179629b2ca343ca61029e8242787f37838",ref:e=>this.truncateElement=e},o("slot",{key:"726b98369f534e1e4631abf0b6a4ba44c5edf9eb"})),o("slot",{key:"e5390667a6b99c815e5032470286203a919f692a",onSlotchange:()=>this.onSubtextChange(),name:"subtext"})),this.renderCustomOptionInstructions())}get root(){return s(this)}static get watchers(){return{selected:["emitRemoveCustomOption"],active:["handleActive"]}}};h.style=':host{box-sizing:border-box;display:flex;flex-direction:row;flex-wrap:nowrap;gap:var(--gse-ui-menu-option-gap);align-content:stretch;align-items:center;min-height: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}:host .gux-option-wrapper{width:100%}:host .gux-checkbox-container{position:relative;display:inline-block;min-width:var(--gse-ui-menu-option-startIcon-width);max-width:var(--gse-ui-menu-option-startIcon-width);height:var(--gse-ui-menu-option-startIcon-height);content:""}:host .gux-checkbox-container>path{fill:var(--gse-ui-menu-option-checkbox-unchecked-default-foregroundColor)}:host:host(.gux-disabled){opacity:var(--gse-ui-menu-option-disabled-opacity);pointer-events:none;cursor:default}:host:host(:active:not(:disabled)){font-family:var(--gse-ui-menu-option-label-active-text-fontFamily);font-size:var(--gse-ui-menu-option-label-active-text-fontSize);font-weight:var(--gse-ui-menu-option-label-active-text-fontWeight);line-height:var(--gse-ui-menu-option-label-active-text-lineHeight)}:host:host(.gux-selected){font-family:var(--gse-ui-menu-option-label-active-text-fontFamily);font-size:var(--gse-ui-menu-option-label-active-text-fontSize);font-weight:var(--gse-ui-menu-option-label-active-text-fontWeight);line-height:var(--gse-ui-menu-option-label-active-text-lineHeight);background-color:var(--gse-ui-menu-option-selected-backgroundColor)}:host:host(.gux-selected) .gux-checkbox-container>path{fill:var(--gse-ui-menu-option-checkbox-checked-default-foregroundColor)}:host:host(.gux-active){border-radius:var(--gse-semantic-focusRing-cornerRadius);outline:var(--gse-ui-menu-option-focus-border-width) var(--gse-ui-menu-option-focus-border-style) var(--gse-ui-menu-option-focus-border-color);outline-offset:-2px}:host:host(.gux-show-subtext){place-content:stretch flex-start;height:auto}:host:host(.gux-show-subtext) .gux-option-wrapper{display:flex;flex-direction:column}:host:host(.gux-show-subtext) slot[name=subtext]::slotted(*){height:var(--gse-ui-groupedMenu-subtext-height);font-weight:var(--gse-ui-menu-option-label-default-text-fontWeight);color:var(--gse-ui-menu-groupedMenu-subtext-foregroundColor)}:host:host(:hover:not([disabled])){background-color:var(--gse-ui-menu-option-hover-backgroundColor)}:host:host(:hover:not([disabled])):host(.gux-selected) .gux-checkbox-container>path{fill:var(--gse-ui-menu-option-checkbox-checked-hover-foregroundColor)}:host:host(:hover:not([disabled])):host(:not(.gux-selected)) .gux-checkbox-container>path{fill:var(--gse-ui-menu-option-checkbox-unchecked-hover-foregroundColor)}:host:host(.gux-filtered){display:none}:host .gux-screenreader{position:absolute;top:auto;left:-10000px;width:1px;height:1px;overflow:hidden}';export{h as gux_option_multi}
1
+ import{r as e,c as t,h as o,H as i,g as s}from"./p-2e827df1.js";import{r as n}from"./p-0934300e.js";import{b as r}from"./p-0367930a.js";import{h as a}from"./p-6d8b4027.js";import"./p-4202e9f2.js";const u={removeCustomElementInstructions:", unselecting this custom option will remove it from the list"},h=class{constructor(o){e(this,o),this.guxremovecustomoption=t(this,"guxremovecustomoption",7),this.internalselectcustomoption=t(this,"internalselectcustomoption",7),this.value=void 0,this.active=!1,this.selected=!1,this.disabled=!1,this.filtered=!1,this.custom=!1,this.hasSubtext=!1}emitRemoveCustomOption(){!this.selected&&this.custom&&this.guxremovecustomoption.emit()}handleActive(e){var t,o;e?null===(t=this.truncateElement)||void 0===t||t.setShowTooltip():null===(o=this.truncateElement)||void 0===o||o.setHideTooltip()}async componentWillLoad(){this.i18n=await r(this.root,u),this.root.id=this.root.id||n("gux-option-multi"),this.custom&&this.internalselectcustomoption.emit(this.value),this.onSubtextChange()}onSubtextChange(){this.hasSubtext=a(this.root,"subtext")}renderSVGCheckbox(){return o("svg",{class:"gux-checkbox-container",xmlns:"http://www.w3.org/2000/svg",viewBox:"1 1 13 13"},o("path",this.selected?{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M4 1H11C11.7956 1 12.5587 1.31607 13.1213 1.87868C13.6839 2.44129 14 3.20435 14 4V11C14 11.7956 13.6839 12.5587 13.1213 13.1213C12.5587 13.6839 11.7956 14 11 14H4C3.20435 14 2.44129 13.6839 1.87868 13.1213C1.31607 12.5587 1 11.7956 1 11V4C1 3.20435 1.31607 2.44129 1.87868 1.87868C2.44129 1.31607 3.20435 1 4 1ZM5.57018 10.4198C5.7051 10.5547 5.87599 10.6177 6.04689 10.6177C6.22678 10.6177 6.39767 10.5457 6.52359 10.4198L11.7944 5.14905C12.0552 4.88821 12.0552 4.45647 11.7944 4.19563C11.5335 3.93479 11.1018 3.93479 10.841 4.19563L6.04689 8.9897L4.14905 7.08286C3.88821 6.82202 3.45647 6.82202 3.19563 7.08286C2.93479 7.3437 2.93479 7.77544 3.19563 8.03628L5.57018 10.4198Z"}:{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M11 2.5H4C3.17157 2.5 2.5 3.17157 2.5 4V11C2.5 11.8284 3.17157 12.5 4 12.5H11C11.8284 12.5 12.5 11.8284 12.5 11V4C12.5 3.17157 11.8284 2.5 11 2.5ZM4 1C2.34315 1 1 2.34315 1 4V11C1 12.6569 2.34315 14 4 14H11C12.6569 14 14 12.6569 14 11V4C14 2.34315 12.6569 1 11 1H4Z"}))}renderCustomOptionInstructions(){if(this.custom)return o("span",{class:"gux-screenreader"},this.i18n("removeCustomElementInstructions"))}render(){return o(i,{key:"02527afb97de0931101e9aaf74080b030b68142a",role:"option",class:{"gux-active":this.active,"gux-disabled":this.disabled,"gux-filtered":this.filtered,"gux-selected":this.selected,"gux-show-subtext":this.hasSubtext},"aria-selected":this.selected.toString(),"aria-disabled":this.disabled.toString()},this.renderSVGCheckbox(),o("div",{key:"ceb9c8e201e1969a06cb0e265995c820d74fd8ed",class:"gux-option-wrapper"},o("gux-truncate",{key:"f65d8f3260cf93dbf662c4db01e3a785f0928ed3",ref:e=>this.truncateElement=e},o("slot",{key:"5968bb3388a7c49914f8965a2987c20e1fc7e4b2"})),o("slot",{key:"c25e49ff744640b3d49c523b1c456708d427fd97",onSlotchange:()=>this.onSubtextChange(),name:"subtext"})),this.renderCustomOptionInstructions())}get root(){return s(this)}static get watchers(){return{selected:["emitRemoveCustomOption"],active:["handleActive"]}}};h.style=':host{box-sizing:border-box;display:flex;flex-direction:row;flex-wrap:nowrap;gap:var(--gse-ui-menu-option-gap);align-content:stretch;align-items:center;min-height: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}:host .gux-option-wrapper{width:100%}:host .gux-checkbox-container{position:relative;display:inline-block;min-width:var(--gse-ui-menu-option-startIcon-width);max-width:var(--gse-ui-menu-option-startIcon-width);height:var(--gse-ui-menu-option-startIcon-height);content:""}:host .gux-checkbox-container>path{fill:var(--gse-ui-menu-option-checkbox-unchecked-default-foregroundColor)}:host:host(.gux-disabled){opacity:var(--gse-ui-menu-option-disabled-opacity);pointer-events:none;cursor:default}:host:host(:active:not(:disabled)){font-family:var(--gse-ui-menu-option-label-active-text-fontFamily);font-size:var(--gse-ui-menu-option-label-active-text-fontSize);font-weight:var(--gse-ui-menu-option-label-active-text-fontWeight);line-height:var(--gse-ui-menu-option-label-active-text-lineHeight)}:host:host(.gux-selected){font-family:var(--gse-ui-menu-option-label-active-text-fontFamily);font-size:var(--gse-ui-menu-option-label-active-text-fontSize);font-weight:var(--gse-ui-menu-option-label-active-text-fontWeight);line-height:var(--gse-ui-menu-option-label-active-text-lineHeight);background-color:var(--gse-ui-menu-option-selected-backgroundColor)}:host:host(.gux-selected) .gux-checkbox-container>path{fill:var(--gse-ui-menu-option-checkbox-checked-default-foregroundColor)}:host:host(.gux-active){border-radius:var(--gse-semantic-focusRing-cornerRadius);outline:var(--gse-ui-menu-option-focus-border-width) var(--gse-ui-menu-option-focus-border-style) var(--gse-ui-menu-option-focus-border-color);outline-offset:-2px}:host:host(.gux-show-subtext){place-content:stretch flex-start;height:auto}:host:host(.gux-show-subtext) .gux-option-wrapper{display:flex;flex-direction:column}:host:host(.gux-show-subtext) slot[name=subtext]::slotted(*){height:var(--gse-ui-groupedMenu-subtext-height);font-weight:var(--gse-ui-menu-option-label-default-text-fontWeight);color:var(--gse-ui-menu-groupedMenu-subtext-foregroundColor)}:host:host(:hover:not([disabled])){background-color:var(--gse-ui-menu-option-hover-backgroundColor)}:host:host(:hover:not([disabled])):host(.gux-selected) .gux-checkbox-container>path{fill:var(--gse-ui-menu-option-checkbox-checked-hover-foregroundColor)}:host:host(:hover:not([disabled])):host(:not(.gux-selected)) .gux-checkbox-container>path{fill:var(--gse-ui-menu-option-checkbox-unchecked-hover-foregroundColor)}:host:host(.gux-filtered){display:none}:host .gux-screenreader{position:absolute;top:auto;left:-10000px;width:1px;height:1px;overflow:hidden}';export{h as gux_option_multi}
@@ -1 +1 @@
1
- import{r as o,h as e,g as t}from"./p-2e827df1.js";import{m as n}from"./p-67d20704.js";const u=class{constructor(e){o(this,e)}async guxFocus(){this.buttonElement.focus()}onKeydown(o){switch(n(o,this.root),o.key){case"ArrowRight":case"Enter":o.stopPropagation()}}onKeyup(o){" "===o.key&&o.stopPropagation()}render(){return e("button",{key:"5ed4c640b897919d7bec94fe088be94ede2e3ceb",type:"button",class:"gux-menu-option-button",role:"menuitem","aria-haspopup":"false",tabIndex:-1,ref:o=>this.buttonElement=o},e("span",{key:"13a0787715ea1dd26f08aeaa361710dd7b7a5b5c",class:"gux-menu-option-button-text"},e("slot",{key:"d4240de1290608cec7928aa77eab0ed66ee0a6e7"})))}get root(){return t(this)}};u.style=":host{display:block;flex:1 1 auto;align-self:auto}:host .gux-menu-option-button{all:unset;width:var(--gse-ui-flyoutMenu-width);height:var(--gse-ui-menu-option-height);padding:var(--gse-ui-menu-option-padding);line-height:var(--gse-ui-menu-option-label-default-text-lineHeight);color:var(--gse-ui-menu-option-label-foregroundColor);background-color:var(--gse-ui-menu-option-default-backgroundColor)}:host .gux-menu-option-button:focus-within,:host .gux-menu-option-button:hover{background-color:var(--gse-ui-menu-option-hover-backgroundColor)}:host .gux-menu-option-button:enabled{cursor:pointer}:host .gux-menu-option-button .gux-menu-option-button-text{display:block;overflow-x:hidden;text-overflow:ellipsis;white-space:nowrap}";export{u as gux_menu_option}
1
+ import{r as o,h as t,g as e}from"./p-2e827df1.js";import{m as n}from"./p-67d20704.js";const u=class{constructor(t){o(this,t)}async guxFocus(){this.buttonElement.focus()}onKeydown(o){switch(n(o,this.root),o.key){case"ArrowRight":case"Enter":o.stopPropagation()}}onKeyup(o){" "===o.key&&o.stopPropagation()}render(){return t("button",{key:"1b395fc5e7073357b6316bf99cabad74535b0c36",type:"button",class:"gux-menu-option-button",role:"menuitem","aria-haspopup":"false",tabIndex:-1,ref:o=>this.buttonElement=o},t("span",{key:"efa69f35bb0c7baba9aad7c674514a3e28409220",class:"gux-menu-option-button-text"},t("slot",{key:"418009c28a50b85706c83ce3fa6b22c3e52dfbaf"})))}get root(){return e(this)}};u.style=":host{display:block;flex:1 1 auto;align-self:auto}:host .gux-menu-option-button{all:unset;width:var(--gse-ui-flyoutMenu-width);height:var(--gse-ui-menu-option-height);padding:var(--gse-ui-menu-option-padding);line-height:var(--gse-ui-menu-option-label-default-text-lineHeight);color:var(--gse-ui-menu-option-label-foregroundColor);background-color:var(--gse-ui-menu-option-default-backgroundColor)}:host .gux-menu-option-button:focus-within,:host .gux-menu-option-button:hover{background-color:var(--gse-ui-menu-option-hover-backgroundColor)}:host .gux-menu-option-button:enabled{cursor:pointer}:host .gux-menu-option-button .gux-menu-option-button-text{display:block;overflow-x:hidden;text-overflow:ellipsis;white-space:nowrap}";export{u as gux_menu_option}
@@ -0,0 +1 @@
1
+ import{r as t,h as i,H as o,g as e}from"./p-2e827df1.js";import{a as s,o as a,f as r,s as n,h,c as l}from"./p-b43ee47b.js";import{r as d}from"./p-0934300e.js";import{t as c}from"./p-97c25def.js";import{b as p}from"./p-cf0e7d3b.js";const g=class{constructor(i){t(this,i),this.pointerenterHandler=()=>this.show(),this.pointerleaveHandler=()=>this.hide(),this.focusinHandler=()=>this.show(),this.focusoutHandler=()=>this.hide(),this.forElementListeners=new Map([["pointerenter",this.pointerenterHandler],["pointerleave",this.pointerleaveHandler],["focusin",this.focusinHandler],["focusout",this.focusoutHandler]]),this.id=d("gux-tooltip-base"),this.tooltipId=void 0,this.forElement=void 0,this.placement="bottom-start",this.offsetX=0,this.offsetY=0,this.accent="light",this.isShown=!1}handleKeyDown(t){"Escape"===t.key&&this.isShown&&this.hide()}async showTooltip(){this.show()}async hideTooltip(){this.hide()}runUpdatePosition(){this.cleanupUpdatePosition=s(this.forElement,this.root,(()=>this.updatePosition()),{ancestorScroll:!0,elementResize:!0,animationFrame:!1,ancestorResize:!0})}updatePosition(){const t=[a(16),r(),n(),h()];l(this.forElement,this.root,{placement:this.placement,strategy:"fixed",middleware:t}).then((({x:t,y:i,middlewareData:o})=>{var e;Object.assign(this.root.style,{left:`${t+this.offsetX}px`,top:i-this.offsetY+"px",visibility:(null===(e=o.hide)||void 0===e?void 0:e.referenceHidden)?"hidden":"visible"}),this.root.setAttribute("data-placement",this.placement)}))}show(){this.isShown=!0,p((()=>{this.runUpdatePosition()}))}hide(){this.cleanupUpdatePosition&&this.cleanupUpdatePosition(),this.isShown=!1}setForElement(){this.forElement&&(this.forElement.setAttribute("aria-describedby",this.tooltipId?this.tooltipId:this.id),this.forElementListeners.forEach(((t,i)=>this.forElement.addEventListener(i,t))))}disconnectForElement(){this.forElement&&(this.forElement.removeAttribute("aria-describedby"),this.forElementListeners.forEach(((t,i)=>this.forElement.removeEventListener(i,t))))}updateForElement(){this.disconnectForElement(),this.setForElement()}connectedCallback(){this.setForElement()}componentWillLoad(){c(this.root,{variant:this.placement})}disconnectedCallback(){this.cleanupUpdatePosition&&this.cleanupUpdatePosition(),this.disconnectForElement()}render(){return i(o,{key:"abbcb96d4a8a301908c1ad20df7770a89cbd4077",id:this.tooltipId?void 0:this.id,role:this.tooltipId?void 0:"tooltip",class:{"gux-show":this.isShown}},i("div",{key:"17d69f7175afef1eea4af211140af6ff2cd9a4ae",class:{"gux-container":!0,[`gux-${this.accent}`]:!0},"data-placement":this.placement},i("slot",{key:"3eef93b4b81a750e2edb0981871eb2ece4d3df0b",name:"content"})))}get root(){return e(this)}static get watchers(){return{offsetX:["runUpdatePosition"],offsetY:["runUpdatePosition"],forElement:["updateForElement"]}}};g.style=":host{position:fixed;z-index:var(--gse-semantic-zIndex-tooltip);display:none;width:max-content;max-width:250px;pointer-events:none;box-shadow:var(--gse-ui-tooltip-boxShadow-x) var(--gse-ui-tooltip-boxShadow-y) var(--gse-ui-tooltip-boxShadow-blur) var(--gse-ui-tooltip-boxShadow-spread) var(--gse-ui-tooltip-boxShadow-color);opacity:0}:host(.gux-show){display:block;animation-name:fade-in;animation-duration:250ms;animation-delay:1s;animation-fill-mode:forwards}.gux-container{box-sizing:border-box;display:flex;flex-direction:row;gap:var(--gse-ui-tooltip-gap);place-content:center flex-start;padding:var(--gse-ui-tooltip-padding);font-family:var(--gse-ui-tooltip-text-fontFamily);font-size:var(--gse-ui-tooltip-text-fontSize);font-weight:var(--gse-ui-tooltip-text-fontWeight);line-height:var(--gse-ui-tooltip-text-lineHeight);color:var(--gse-ui-tooltip-light-foregroundColor);background-color:var(--gse-ui-tooltip-light-backgroundColor);border:var(--gse-ui-tooltip-light-border-width) var(--gse-ui-tooltip-light-border-style) var(--gse-ui-tooltip-light-border-color);border-radius:var(--gse-ui-tooltip-borderRadius)}.gux-container ::slotted(gux-icon){align-self:center;width:var(--gse-ui-icon-size-sm);height:var(--gse-ui-icon-size-sm);color:var(--gse-ui-tooltip-light-iconColor)}.gux-container ::slotted(*){width:100%;overflow-wrap:break-word;white-space:normal}.gux-container.gux-dark{color:var(--gse-ui-tooltip-dark-foregroundColor);background-color:var(--gse-ui-tooltip-dark-backgroundColor);border-color:var(--gse-ui-tooltip-dark-border-color)}.gux-container.gux-dark ::slotted(gux-icon){align-self:center;width:var(--gse-ui-icon-size-sm);height:var(--gse-ui-icon-size-sm);color:var(--gse-ui-tooltip-dark-iconColor)}@keyframes fade-in{0%{opacity:0}100%{opacity:1}}";export{g as gux_tooltip_base_beta}
@@ -1 +1 @@
1
- import{r as t,h as i,g as e}from"./p-2e827df1.js";import{b as a}from"./p-0367930a.js";import{t as o}from"./p-57cb25bb.js";import"./p-4202e9f2.js";const n={navigationName:"Skip links navigation"},s=class{constructor(i){t(this,i)}async componentWillLoad(){o(this.root),this.i18n=await a(this.root,n)}render(){return i("div",{key:"9f12c2e1cf116efc9f587e47a930474e3a8af424",class:"gux-container"},i("nav",{key:"88fae3b7226bb9b379803d9c34b9b05009fc2b59","aria-label":this.i18n("navigationName")},i("ul",{key:"2cd317b80d0637a02dc0539360de3abf9be4cab6",role:"list"},i("slot",{key:"7ed8ff3ed76301900f9895b79ed37cafef26e6b7"}))))}static get delegatesFocus(){return!0}get root(){return e(this)}};s.style=":host{position:absolute;top:auto;left:-10000px;width:1px;height:1px;overflow:hidden}:host(:focus-within){position:inherit;top:inherit;left:inherit;width:inherit;height:inherit;overflow:inherit;position:absolute;inset:0}.gux-container nav{width:fit-content;margin:40px auto}.gux-container nav ul{padding:0;margin:0}";export{s as gux_skip_navigation_list}
1
+ import{r as t,h as i,g as e}from"./p-2e827df1.js";import{b as a}from"./p-0367930a.js";import{t as o}from"./p-97c25def.js";import"./p-4202e9f2.js";const n={navigationName:"Skip links navigation"},s=class{constructor(i){t(this,i)}async componentWillLoad(){o(this.root),this.i18n=await a(this.root,n)}render(){return i("div",{key:"b92233dddc1ea48b29b4017e0344cff883280485",class:"gux-container"},i("nav",{key:"853f5fdff8d93a12240dd769915ca0b0c91c0bba","aria-label":this.i18n("navigationName")},i("ul",{key:"d8e619e692367b64d4812661464b44fde60009c3",role:"list"},i("slot",{key:"8a18fa02b1e382cf65f56dc791bfb1a86e51721f"}))))}static get delegatesFocus(){return!0}get root(){return e(this)}};s.style=":host{position:absolute;top:auto;left:-10000px;width:1px;height:1px;overflow:hidden}:host(:focus-within){position:inherit;top:inherit;left:inherit;width:inherit;height:inherit;overflow:inherit;position:absolute;inset:0}.gux-container nav{width:fit-content;margin:40px auto}.gux-container nav ul{padding:0;margin:0}";export{s as gux_skip_navigation_list}
@@ -1 +1 @@
1
- import{r as t,c as e,f as s,d as i,h,H as a,g as o}from"./p-2e827df1.js";import{b as r}from"./p-0367930a.js";import{w as l}from"./p-e97879b4.js";import{r as n}from"./p-0934300e.js";import{t as c}from"./p-57cb25bb.js";import{t as d}from"./p-408d5857.js";import"./p-4202e9f2.js";const g=class{constructor(i){t(this,i),this.guxselectionchanged=e(this,"guxselectionchanged",7),this.guxsortchanged=e(this,"guxsortchanged",7),this.slotObserver=new MutationObserver((()=>s(this))),this.tableId=n("gux-table"),this.columnsWidths={},this.isVerticalScroll=!1,this.columnResizeHover=!1,this.compact=!1,this.objectTable=!1,this.emptyMessage=void 0,this.resizableColumns=void 0}async componentWillLoad(){c(this.root),this.i18n=await r(this.root,d)}componentDidLoad(){this.resizableColumns&&this.prepareResizableColumns(),this.prepareSelectableRows(),this.checkVerticalScroll(),!this.resizeObserver&&window.ResizeObserver&&(this.resizeObserver=new ResizeObserver((()=>{i((()=>{this.checkVerticalScroll()}))}))),this.resizeObserver&&(this.resizeObserver.observe(this.tableContainer),this.resizeObserver.observe(this.slottedTable)),this.slotObserver.observe(this.slottedTable,{subtree:!0,childList:!0})}checkVerticalScroll(){const t=this.tableContainer;this.isVerticalScroll=t.scrollHeight>t.clientHeight}disconnectedCallback(){this.resizeObserver&&(this.resizeObserver.unobserve(this.tableContainer),this.resizeObserver.unobserve(this.slottedTable)),this.resizableColumns&&document.getElementById(`${this.tableId}-resizable-styles`).remove()}onInternalAllRowSelectChange(t){t.stopPropagation(),this.handleSelectAllRows(t.detail)}onInternalRowSelectChange(t){t.stopPropagation();const e=t.target;e.selected=t.detail,this.handleRowSelection(e)}onMouseMove(t){this.resizableColumns&&this.updateResizeState(t)}onMouseDown(t){this.resizableColumns&&this.maybeStartResizing(t)}onMouseUp(){this.resizableColumns&&this.stopResizing()}get tableContainer(){return this.root.shadowRoot.querySelector(".gux-table-container")}get slottedTable(){return this.root.querySelector('table[slot="data"]')}get tableRows(){return Array.from(this.slottedTable.querySelectorAll("tbody tr"))}get tableColumns(){return Array.from(this.slottedTable.querySelectorAll("thead th"))}get rowCheckboxes(){return Array.from(this.slottedTable.querySelectorAll("tbody tr td gux-row-select"))}get selectAllCheckbox(){return this.slottedTable.querySelector("thead tr th gux-all-row-select")}async getSelected(){return this.getSelectedInternal()}getSelectedInternal(){return{selectedRowIds:Array.from(this.rowCheckboxes).filter((t=>t.selected)).map((t=>t.closest("tr").getAttribute("data-row-id")))}}prepareSelectableRows(){this.rowCheckboxes.forEach((t=>{this.updateRowSelection(t)})),this.updateSelectAllBoxState()}updateSelectAllBoxState(){const t=this.selectAllCheckbox;if(t){const e=this.rowCheckboxes,s=e.filter((t=>!t.hasAttribute("disabled"))),i=s.filter((t=>t.selected)),h=Boolean(e.length),a=i.length===s.length,o=0===i.length;t.selected=h&&a,t.setIndeterminate(h&&!a&&!o)}}handleSelectAllRows(t){const e=this.selectAllCheckbox;this.rowCheckboxes.forEach((s=>{e.selected=t,s.hasAttribute("disabled")||(s.selected=t,this.updateRowSelection(s))})),this.emitSelectionEvent()}handleRowSelection(t){this.updateRowSelection(t),this.updateSelectAllBoxState(),this.emitSelectionEvent()}emitSelectionEvent(){this.guxselectionchanged.emit(this.getSelectedInternal())}updateRowSelection(t){const e=t.closest("tr");t.selected?e.setAttribute("data-selected-row",""):e.removeAttribute("data-selected-row")}prepareResizableColumns(){const t=document.createElement("style");t.id=`${this.tableId}-resizable-styles`,document.querySelector("head").appendChild(t),this.calculateColumnWidths(this.tableColumns).slice(0,-1).forEach((t=>this.columnsWidths[t.name]=t.width)),this.setResizableColumnsStyles()}updateResizeState(t){if(this.columnResizeState){const e=this.columnResizeState.resizableColumn.dataset.columnName,s=Math.max(this.columnResizeState.resizableColumnInitialWidth+(t.pageX-this.columnResizeState.columnResizeMouseStartX),1),i=this.calculateColumnWidths(this.tableColumns).map((t=>t.name===e?Object.assign(Object.assign({},t),{width:s}):t));this.columnsWidths[e]=i.find((t=>t.name===e)).width,this.setResizableColumnsStyles()}else this.columnResizeHover=!1,l("th",t,(e=>{this.tableColumns.length-1!==e.cellIndex&&this.isInResizeZone(t,e)&&(this.columnResizeHover=!0)}))}maybeStartResizing(t){l("th",t,(e=>{this.isInResizeZone(t,e)&&(this.columnResizeState={resizableColumn:e,columnResizeMouseStartX:t.pageX,resizableColumnInitialWidth:e.clientWidth})}))}stopResizing(){this.columnResizeState&&(this.columnResizeState=null)}isInResizeZone(t,e){return e.getBoundingClientRect().right-t.clientX<3}calculateColumnWidths(t){return t.map((t=>({name:t.dataset.columnName,width:t.clientWidth})))}setResizableColumnsStyles(){const t=document.getElementById(`${this.tableId}-resizable-styles`);let e="";Object.keys(this.columnsWidths).forEach((t=>{e+=`[gs-table-id=${this.tableId}] th[data-column-name="${t}"]{\n width:${String(this.columnsWidths[t])}px;\n min-width:${String(this.columnsWidths[t])}px;\n }`})),t.innerHTML=e}get isTableEmpty(){return!this.root.children[0]||this.tableRows.length<1}get tableContainerClasses(){return{"gux-table-container":!0,"gux-column-resizing":Boolean(this.columnResizeState),"gux-column-resizing-hover":this.columnResizeHover}}render(){return h(a,{key:"77617cceb9c55085c4a47fed16a40c477ad13186","gs-table-id":this.tableId,"gs-obj-table":this.objectTable,"gs-compact":this.compact},h("div",{key:"b7501899b0eed580b709c28de18f9745aecf718c",class:"gux-table"},h("div",{key:"d7776224e7d1efb8eadf5f5d03738170f866148d",tabindex:this.isVerticalScroll?"0":"-1",id:this.tableId,class:this.tableContainerClasses},h("slot",{key:"216f8e375803cc8ac1c88e186a3136c2dd6be0d1",name:"data"})),this.isTableEmpty&&h("div",{class:"gux-empty-table"},this.emptyMessage||this.i18n("emptyMessage"))))}get root(){return o(this)}};g.style=":host{display:block;isolation:isolate}:host .gux-table{position:relative;height:inherit}:host .gux-table .gux-table-container{max-height:100%;overflow:auto;scrollbar-color:var(--gse-ui-dataTableItems-scrollbar-foregroundColor);scrollbar-width:thin}:host .gux-table .gux-table-container.gux-column-resizing-hover,:host .gux-table .gux-table-container.gux-column-resizing{cursor:col-resize}:host .gux-empty-table{display:flex;align-items:center;justify-content:center;height:calc(100% - var(--gse-ui-dataTableItems-header-default-height));color:#596373;background:#fdfdfd;font-family:var(--gse-core-typography-heading-lg-fontFamily), var(--gse-core-fontFamily-heading), sans-serif;font-size:var(--gse-core-typography-heading-lg-fontSize);line-height:var(--gse-core-typography-heading-lg-lineHeight);font-weight:var(--gse-core-fontWeight-bold)}";export{g as gux_table}
1
+ import{r as t,c as e,f as s,d as i,h,H as a,g as o}from"./p-2e827df1.js";import{b as r}from"./p-0367930a.js";import{w as l}from"./p-e97879b4.js";import{r as n}from"./p-0934300e.js";import{t as c}from"./p-97c25def.js";import{t as d}from"./p-408d5857.js";import"./p-4202e9f2.js";const g=class{constructor(i){t(this,i),this.guxselectionchanged=e(this,"guxselectionchanged",7),this.guxsortchanged=e(this,"guxsortchanged",7),this.slotObserver=new MutationObserver((()=>s(this))),this.tableId=n("gux-table"),this.columnsWidths={},this.isVerticalScroll=!1,this.columnResizeHover=!1,this.compact=!1,this.objectTable=!1,this.emptyMessage=void 0,this.resizableColumns=void 0}async componentWillLoad(){c(this.root),this.i18n=await r(this.root,d)}componentDidLoad(){this.resizableColumns&&this.prepareResizableColumns(),this.prepareSelectableRows(),this.checkVerticalScroll(),!this.resizeObserver&&window.ResizeObserver&&(this.resizeObserver=new ResizeObserver((()=>{i((()=>{this.checkVerticalScroll()}))}))),this.resizeObserver&&(this.resizeObserver.observe(this.tableContainer),this.resizeObserver.observe(this.slottedTable)),this.slotObserver.observe(this.slottedTable,{subtree:!0,childList:!0})}checkVerticalScroll(){const t=this.tableContainer;this.isVerticalScroll=t.scrollHeight>t.clientHeight}disconnectedCallback(){this.resizeObserver&&(this.resizeObserver.unobserve(this.tableContainer),this.resizeObserver.unobserve(this.slottedTable)),this.resizableColumns&&document.getElementById(`${this.tableId}-resizable-styles`).remove()}onInternalAllRowSelectChange(t){t.stopPropagation(),this.handleSelectAllRows(t.detail)}onInternalRowSelectChange(t){t.stopPropagation();const e=t.target;e.selected=t.detail,this.handleRowSelection(e)}onMouseMove(t){this.resizableColumns&&this.updateResizeState(t)}onMouseDown(t){this.resizableColumns&&this.maybeStartResizing(t)}onMouseUp(){this.resizableColumns&&this.stopResizing()}get tableContainer(){return this.root.shadowRoot.querySelector(".gux-table-container")}get slottedTable(){return this.root.querySelector('table[slot="data"]')}get tableRows(){return Array.from(this.slottedTable.querySelectorAll("tbody tr"))}get tableColumns(){return Array.from(this.slottedTable.querySelectorAll("thead th"))}get rowCheckboxes(){return Array.from(this.slottedTable.querySelectorAll("tbody tr td gux-row-select"))}get selectAllCheckbox(){return this.slottedTable.querySelector("thead tr th gux-all-row-select")}async getSelected(){return this.getSelectedInternal()}getSelectedInternal(){return{selectedRowIds:Array.from(this.rowCheckboxes).filter((t=>t.selected)).map((t=>t.closest("tr").getAttribute("data-row-id")))}}prepareSelectableRows(){this.rowCheckboxes.forEach((t=>{this.updateRowSelection(t)})),this.updateSelectAllBoxState()}updateSelectAllBoxState(){const t=this.selectAllCheckbox;if(t){const e=this.rowCheckboxes,s=e.filter((t=>!t.hasAttribute("disabled"))),i=s.filter((t=>t.selected)),h=Boolean(e.length),a=i.length===s.length,o=0===i.length;t.selected=h&&a,t.setIndeterminate(h&&!a&&!o)}}handleSelectAllRows(t){const e=this.selectAllCheckbox;this.rowCheckboxes.forEach((s=>{e.selected=t,s.hasAttribute("disabled")||(s.selected=t,this.updateRowSelection(s))})),this.emitSelectionEvent()}handleRowSelection(t){this.updateRowSelection(t),this.updateSelectAllBoxState(),this.emitSelectionEvent()}emitSelectionEvent(){this.guxselectionchanged.emit(this.getSelectedInternal())}updateRowSelection(t){const e=t.closest("tr");t.selected?e.setAttribute("data-selected-row",""):e.removeAttribute("data-selected-row")}prepareResizableColumns(){const t=document.createElement("style");t.id=`${this.tableId}-resizable-styles`,document.querySelector("head").appendChild(t),this.calculateColumnWidths(this.tableColumns).slice(0,-1).forEach((t=>this.columnsWidths[t.name]=t.width)),this.setResizableColumnsStyles()}updateResizeState(t){if(this.columnResizeState){const e=this.columnResizeState.resizableColumn.dataset.columnName,s=Math.max(this.columnResizeState.resizableColumnInitialWidth+(t.pageX-this.columnResizeState.columnResizeMouseStartX),1),i=this.calculateColumnWidths(this.tableColumns).map((t=>t.name===e?Object.assign(Object.assign({},t),{width:s}):t));this.columnsWidths[e]=i.find((t=>t.name===e)).width,this.setResizableColumnsStyles()}else this.columnResizeHover=!1,l("th",t,(e=>{this.tableColumns.length-1!==e.cellIndex&&this.isInResizeZone(t,e)&&(this.columnResizeHover=!0)}))}maybeStartResizing(t){l("th",t,(e=>{this.isInResizeZone(t,e)&&(this.columnResizeState={resizableColumn:e,columnResizeMouseStartX:t.pageX,resizableColumnInitialWidth:e.clientWidth})}))}stopResizing(){this.columnResizeState&&(this.columnResizeState=null)}isInResizeZone(t,e){return e.getBoundingClientRect().right-t.clientX<3}calculateColumnWidths(t){return t.map((t=>({name:t.dataset.columnName,width:t.clientWidth})))}setResizableColumnsStyles(){const t=document.getElementById(`${this.tableId}-resizable-styles`);let e="";Object.keys(this.columnsWidths).forEach((t=>{e+=`[gs-table-id=${this.tableId}] th[data-column-name="${t}"]{\n width:${String(this.columnsWidths[t])}px;\n min-width:${String(this.columnsWidths[t])}px;\n }`})),t.innerHTML=e}get isTableEmpty(){return!this.root.children[0]||this.tableRows.length<1}get tableContainerClasses(){return{"gux-table-container":!0,"gux-column-resizing":Boolean(this.columnResizeState),"gux-column-resizing-hover":this.columnResizeHover}}render(){return h(a,{key:"7809ceda2ec03d11367acbfd533c2d96cd08bb0f","gs-table-id":this.tableId,"gs-obj-table":this.objectTable,"gs-compact":this.compact},h("div",{key:"b8c0ebf87f5f280e8fa865fef87961d498b57bd6",class:"gux-table"},h("div",{key:"aee92a77c9681177e12226388b54a8f1f122e063",tabindex:this.isVerticalScroll?"0":"-1",id:this.tableId,class:this.tableContainerClasses},h("slot",{key:"285f91c63db2f99d0f883ab3934e8cc3b0ec9d65",name:"data"})),this.isTableEmpty&&h("div",{class:"gux-empty-table"},this.emptyMessage||this.i18n("emptyMessage"))))}get root(){return o(this)}};g.style=":host{display:block;isolation:isolate}:host .gux-table{position:relative;height:inherit}:host .gux-table .gux-table-container{max-height:100%;overflow:auto;scrollbar-color:var(--gse-ui-dataTableItems-scrollbar-foregroundColor);scrollbar-width:thin}:host .gux-table .gux-table-container.gux-column-resizing-hover,:host .gux-table .gux-table-container.gux-column-resizing{cursor:col-resize}:host .gux-empty-table{display:flex;align-items:center;justify-content:center;height:calc(100% - var(--gse-ui-dataTableItems-header-default-height));color:#596373;background:#fdfdfd;font-family:var(--gse-core-typography-heading-lg-fontFamily), var(--gse-core-fontFamily-heading), sans-serif;font-size:var(--gse-core-typography-heading-lg-fontSize);line-height:var(--gse-core-typography-heading-lg-lineHeight);font-weight:var(--gse-core-fontWeight-bold)}";export{g as gux_table}
@@ -1 +1 @@
1
- import{r as e,c as t,h as i}from"./p-2e827df1.js";import{a as s,c as a,o as n,f as o,d,s as p,h as r}from"./p-b43ee47b.js";const h=class{constructor(i){e(this,i),this.internalexpanded=t(this,"internalexpanded",7),this.internalcollapsed=t(this,"internalcollapsed",7),this.placement="bottom-start",this.expanded=!1,this.disabled=!1,this.offset=2,this.exceedTargetWidth=!1}runUpdatePosition(){this.cleanupUpdatePosition=s(this.targetElementContainer,this.popupElementContainer,(()=>this.updatePosition()),{ancestorScroll:!0,elementResize:!0,animationFrame:!0,ancestorResize:!0})}updatePosition(){if(this.targetElementContainer&&this.popupElementContainer){const e=this.exceedTargetWidth;a(this.targetElementContainer,this.popupElementContainer,{strategy:"fixed",placement:this.placement,middleware:[n(this.offset),o(),d({apply({rects:t,elements:i}){Object.assign(i.floating.style,e?{minWidth:`${t.reference.width}px`}:{width:`${t.reference.width}px`,overflow:"hidden"})}}),p(),r()]}).then((({x:e,y:t,middlewareData:i})=>{const{referenceHidden:s}=i.hide;Object.assign(this.popupElementContainer.style,{left:`${e}px`,top:`${t}px`}),s?this.popupElementContainer.classList.add("gux-sr-only-clip"):this.popupElementContainer.classList.remove("gux-sr-only-clip")}))}}onExpandedChange(e){e?this.internalexpanded.emit():this.internalcollapsed.emit()}componentDidLoad(){this.expanded&&this.runUpdatePosition()}componentDidUpdate(){this.expanded?this.runUpdatePosition():this.cleanupUpdatePosition&&this.cleanupUpdatePosition()}disconnectedCallback(){this.cleanupUpdatePosition&&this.cleanupUpdatePosition()}render(){return i("div",{key:"427fe589ae667bedb5508616d98567aabef9f28c",class:{"gux-target-container":!0,"gux-disabled":this.disabled},"aria-disabled":this.disabled.toString(),ref:e=>this.targetElementContainer=e},i("slot",{key:"e7578e5550fdcaf4bac9e5f587b2705b7f57445f",name:"target"}),i("div",{key:"ce0048bbb1dbb88f65d166a0c0e2fb618efdc6e3",class:{"gux-popup-container":!0,"gux-expanded":this.expanded&&!this.disabled},ref:e=>this.popupElementContainer=e},i("slot",{key:"a3395edb17d1b44e24fad5967143e302072c9213",name:"popup"})))}static get watchers(){return{expanded:["onExpandedChange"]}}};h.style=".gux-target-container.gux-disabled{pointer-events:none;cursor:default;opacity:0.5}.gux-popup-container{position:fixed;z-index:var(--gse-semantic-zIndex-popup);width:max-content;visibility:hidden;background-color:var(--gse-ui-menu-backgroundColor)}.gux-popup-container.gux-expanded{visibility:visible}.gux-sr-only-clip:not(:focus):not(:active){position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);clip-path:inset(50%);white-space:nowrap}";export{h as gux_popup}
1
+ import{r as t,c as e,h as i}from"./p-2e827df1.js";import{a as s,c as a,o as n,f as o,d,s as p,h as r}from"./p-b43ee47b.js";const h=class{constructor(i){t(this,i),this.internalexpanded=e(this,"internalexpanded",7),this.internalcollapsed=e(this,"internalcollapsed",7),this.placement="bottom-start",this.expanded=!1,this.disabled=!1,this.offset=2,this.exceedTargetWidth=!1}runUpdatePosition(){this.cleanupUpdatePosition=s(this.targetElementContainer,this.popupElementContainer,(()=>this.updatePosition()),{ancestorScroll:!0,elementResize:!0,animationFrame:!0,ancestorResize:!0})}updatePosition(){if(this.targetElementContainer&&this.popupElementContainer){const t=this.exceedTargetWidth;a(this.targetElementContainer,this.popupElementContainer,{strategy:"fixed",placement:this.placement,middleware:[n(this.offset),o(),d({apply({rects:e,elements:i}){Object.assign(i.floating.style,t?{minWidth:`${e.reference.width}px`}:{width:`${e.reference.width}px`,overflow:"hidden"})}}),p(),r()]}).then((({x:t,y:e,middlewareData:i})=>{const{referenceHidden:s}=i.hide;Object.assign(this.popupElementContainer.style,{left:`${t}px`,top:`${e}px`}),s?this.popupElementContainer.classList.add("gux-sr-only-clip"):this.popupElementContainer.classList.remove("gux-sr-only-clip")}))}}onExpandedChange(t){t?this.internalexpanded.emit():this.internalcollapsed.emit()}componentDidLoad(){this.expanded&&this.runUpdatePosition()}componentDidUpdate(){this.expanded?this.runUpdatePosition():this.cleanupUpdatePosition&&this.cleanupUpdatePosition()}disconnectedCallback(){this.cleanupUpdatePosition&&this.cleanupUpdatePosition()}render(){return i("div",{key:"5eb4b7ce88eaf631aaba2544518585a943876cd0",class:{"gux-target-container":!0,"gux-disabled":this.disabled},"aria-disabled":this.disabled.toString(),ref:t=>this.targetElementContainer=t},i("slot",{key:"b3d7b4bfbafbe66550caacffaeea250b0418b8da",name:"target"}),i("div",{key:"0d36a0b8b73714c8d63e087d4f5a67d54041eb51",class:{"gux-popup-container":!0,"gux-expanded":this.expanded&&!this.disabled},ref:t=>this.popupElementContainer=t},i("slot",{key:"594c5da18d550a3ea8e5186badf8c16e83f3554d",name:"popup"})))}static get watchers(){return{expanded:["onExpandedChange"]}}};h.style=".gux-target-container.gux-disabled{pointer-events:none;cursor:default;opacity:0.5}.gux-popup-container{position:fixed;z-index:var(--gse-semantic-zIndex-popup);width:max-content;visibility:hidden;background-color:var(--gse-ui-menu-backgroundColor)}.gux-popup-container.gux-expanded{visibility:visible}.gux-sr-only-clip:not(:focus):not(:active){position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);clip-path:inset(50%);white-space:nowrap}";export{h as gux_popup}