genesys-spark-components 4.187.2 → 4.188.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 (780) hide show
  1. package/dist/cjs/genesys-webcomponents.cjs.js +1 -1
  2. package/dist/cjs/gux-accordion-section.cjs.entry.js +5 -5
  3. package/dist/cjs/gux-accordion.cjs.entry.js +2 -2
  4. package/dist/cjs/gux-action-button.cjs.entry.js +2 -2
  5. package/dist/cjs/gux-action-toast-legacy.cjs.entry.js +2 -2
  6. package/dist/cjs/gux-actionable-inline-alert-beta.cjs.entry.js +33 -0
  7. package/dist/cjs/gux-advanced-dropdown-legacy.cjs.entry.js +3 -3
  8. package/dist/cjs/gux-all-row-select.cjs.entry.js +1 -1
  9. package/dist/cjs/gux-announce-beta.cjs.entry.js +2 -2
  10. package/dist/cjs/gux-avatar-beta.cjs.entry.js +3 -3
  11. package/dist/cjs/gux-avatar-change-photo-beta.cjs.entry.js +2 -2
  12. package/dist/cjs/gux-avatar-focusable-beta.cjs.entry.js +1 -1
  13. package/dist/cjs/gux-avatar-group-add-item-beta_3.cjs.entry.js +6 -6
  14. package/dist/cjs/gux-avatar-group-beta.cjs.entry.js +2 -2
  15. package/dist/cjs/gux-avatar-group-item-beta.cjs.entry.js +3 -3
  16. package/dist/cjs/gux-badge.cjs.entry.js +2 -2
  17. package/dist/cjs/gux-blank-state-beta.cjs.entry.js +3 -3
  18. package/dist/cjs/gux-blank-state.cjs.entry.js +2 -2
  19. package/dist/cjs/gux-branch-multi.cjs.entry.js +3 -3
  20. package/dist/cjs/gux-branch.cjs.entry.js +2 -2
  21. package/dist/cjs/gux-breadcrumb-item.cjs.entry.js +1 -1
  22. package/dist/cjs/gux-breadcrumbs.cjs.entry.js +2 -2
  23. package/dist/cjs/gux-button-multi.cjs.entry.js +2 -2
  24. package/dist/cjs/gux-button-slot.cjs.entry.js +2 -2
  25. package/dist/cjs/gux-button_2.cjs.entry.js +5 -5
  26. package/dist/cjs/gux-calendar-beta.cjs.entry.js +1 -1
  27. package/dist/cjs/gux-calendar.cjs.entry.js +2 -2
  28. package/dist/cjs/gux-card.cjs.entry.js +3 -3
  29. package/dist/cjs/gux-cloud-logo-beta.cjs.entry.js +2 -2
  30. package/dist/cjs/gux-cloud-logomark-beta.cjs.entry.js +2 -2
  31. package/dist/cjs/gux-column-manager-item.cjs.entry.js +3 -3
  32. package/dist/cjs/gux-column-manager.cjs.entry.js +2 -2
  33. package/dist/cjs/gux-content-search.cjs.entry.js +3 -3
  34. package/dist/cjs/gux-context-menu.cjs.entry.js +3 -3
  35. package/dist/cjs/gux-copy-to-clipboard.cjs.entry.js +2 -2
  36. package/dist/cjs/gux-create-option.cjs.entry.js +2 -2
  37. package/dist/cjs/gux-cta-group.cjs.entry.js +1 -1
  38. package/dist/cjs/gux-date-beta.cjs.entry.js +2 -2
  39. package/dist/cjs/gux-date-time-beta.cjs.entry.js +2 -2
  40. package/dist/cjs/gux-datepicker.cjs.entry.js +2 -2
  41. package/dist/cjs/gux-day-beta.cjs.entry.js +1 -1
  42. package/dist/cjs/gux-disclosure-button-legacy.cjs.entry.js +3 -3
  43. package/dist/cjs/gux-dismiss-button.cjs.entry.js +3 -3
  44. package/dist/cjs/gux-dropdown-multi-tag.cjs.entry.js +1 -1
  45. package/dist/cjs/gux-dropdown-multi.cjs.entry.js +5 -5
  46. package/dist/cjs/gux-dropdown-option.cjs.entry.js +1 -1
  47. package/dist/cjs/gux-dropdown_3.cjs.entry.js +4 -4
  48. package/dist/cjs/gux-file-list-item.cjs.entry.js +3 -3
  49. package/dist/cjs/gux-flag-icon-beta.cjs.entry.js +2 -2
  50. package/dist/cjs/gux-flyout-menu.cjs.entry.js +3 -3
  51. package/dist/cjs/gux-form-beta.cjs.entry.js +1 -1
  52. package/dist/cjs/gux-form-description.cjs.entry.js +1 -1
  53. package/dist/cjs/gux-form-field-checkbox-group-beta.cjs.entry.js +3 -3
  54. package/dist/cjs/gux-form-field-checkbox.cjs.entry.js +3 -3
  55. package/dist/cjs/gux-form-field-color.cjs.entry.js +4 -4
  56. package/dist/cjs/gux-form-field-dropdown.cjs.entry.js +4 -4
  57. package/dist/cjs/gux-form-field-file-beta.cjs.entry.js +2 -2
  58. package/dist/cjs/gux-form-field-file.cjs.entry.js +2 -2
  59. package/dist/cjs/gux-form-field-input-clear-button.cjs.entry.js +2 -2
  60. package/dist/cjs/gux-form-field-label-indicator.cjs.entry.js +1 -1
  61. package/dist/cjs/gux-form-field-number_2.cjs.entry.js +8 -8
  62. package/dist/cjs/gux-form-field-phone.cjs.entry.js +5 -5
  63. package/dist/cjs/gux-form-field-radio-group-beta.cjs.entry.js +3 -3
  64. package/dist/cjs/gux-form-field-radio.cjs.entry.js +3 -3
  65. package/dist/cjs/gux-form-field-range.cjs.entry.js +3 -3
  66. package/dist/cjs/gux-form-field-search.cjs.entry.js +4 -4
  67. package/dist/cjs/gux-form-field-select.cjs.entry.js +5 -5
  68. package/dist/cjs/gux-form-field-text-like.cjs.entry.js +4 -4
  69. package/dist/cjs/gux-form-field-textarea.cjs.entry.js +3 -3
  70. package/dist/cjs/gux-form-field-time-picker.cjs.entry.js +5 -5
  71. package/dist/cjs/gux-form-field-time-zone-picker.cjs.entry.js +4 -4
  72. package/dist/cjs/gux-form-fieldset-heading.cjs.entry.js +1 -1
  73. package/dist/cjs/gux-form-footer.cjs.entry.js +3 -3
  74. package/dist/cjs/gux-form-heading.cjs.entry.js +1 -1
  75. package/dist/cjs/gux-icon-tooltip-beta.cjs.entry.js +2 -2
  76. package/dist/cjs/gux-icon.cjs.entry.js +2 -2
  77. package/dist/cjs/gux-illustration-beta.cjs.entry.js +3 -3
  78. package/dist/cjs/gux-inline-alert.cjs.entry.js +3 -3
  79. package/dist/cjs/gux-inline-dropdown-beta.cjs.entry.js +2 -2
  80. package/dist/cjs/gux-label-info-beta.cjs.entry.js +2 -2
  81. package/dist/cjs/gux-leaf-multi.cjs.entry.js +2 -2
  82. package/dist/cjs/gux-leaf.cjs.entry.js +2 -2
  83. package/dist/cjs/gux-link-beta.cjs.entry.js +2 -2
  84. package/dist/cjs/gux-list-divider.cjs.entry.js +1 -1
  85. package/dist/cjs/gux-list-item.cjs.entry.js +1 -1
  86. package/dist/cjs/gux-list.cjs.entry.js +2 -2
  87. package/dist/cjs/gux-listbox-multi.cjs.entry.js +1 -1
  88. package/dist/cjs/gux-loading-message.cjs.entry.js +2 -2
  89. package/dist/cjs/gux-logo-beta.cjs.entry.js +4 -4
  90. package/dist/cjs/gux-logomark-beta.cjs.entry.js +2 -2
  91. package/dist/cjs/gux-menu-option.cjs.entry.js +1 -1
  92. package/dist/cjs/gux-menu.cjs.entry.js +1 -1
  93. package/dist/cjs/gux-modal-legacy.cjs.entry.js +3 -3
  94. package/dist/cjs/gux-modal-side-panel-beta.cjs.entry.js +2 -2
  95. package/dist/cjs/gux-modal.cjs.entry.js +2 -2
  96. package/dist/cjs/gux-month-calendar.cjs.entry.js +1 -1
  97. package/dist/cjs/gux-month-list_2.cjs.entry.js +2 -2
  98. package/dist/cjs/gux-month-picker-beta.cjs.entry.js +2 -2
  99. package/dist/cjs/gux-notification-toast-legacy.cjs.entry.js +2 -2
  100. package/dist/cjs/gux-option-group-beta.cjs.entry.js +1 -1
  101. package/dist/cjs/gux-option-icon.cjs.entry.js +2 -2
  102. package/dist/cjs/gux-option-multi.cjs.entry.js +2 -2
  103. package/dist/cjs/gux-option-status-beta.cjs.entry.js +2 -2
  104. package/dist/cjs/gux-page-loading-spinner.cjs.entry.js +2 -2
  105. package/dist/cjs/gux-pagination-buttons-legacy_3.cjs.entry.js +4 -4
  106. package/dist/cjs/gux-pagination-buttons_2.cjs.entry.js +3 -3
  107. package/dist/cjs/gux-pagination-cursor.cjs.entry.js +1 -1
  108. package/dist/cjs/gux-pagination-items-per-page.cjs.entry.js +1 -1
  109. package/dist/cjs/gux-pagination-legacy.cjs.entry.js +2 -2
  110. package/dist/cjs/gux-pagination.cjs.entry.js +2 -2
  111. package/dist/cjs/gux-phone-input-beta.cjs.entry.js +2 -2
  112. package/dist/cjs/gux-popover-beta.cjs.entry.js +3 -3
  113. package/dist/cjs/gux-popover-list-beta.cjs.entry.js +3 -3
  114. package/dist/cjs/gux-popover-list.cjs.entry.js +3 -3
  115. package/dist/cjs/gux-popup.cjs.entry.js +3 -3
  116. package/dist/cjs/gux-prompt-input-beta.cjs.entry.js +3 -3
  117. package/dist/cjs/gux-radial-loading.cjs.entry.js +2 -2
  118. package/dist/cjs/gux-radial-progress.cjs.entry.js +1 -1
  119. package/dist/cjs/gux-rating.cjs.entry.js +2 -2
  120. package/dist/cjs/gux-rich-highlight-list-item.cjs.entry.js +3 -3
  121. package/dist/cjs/gux-rich-style-list-item_3.cjs.entry.js +6 -6
  122. package/dist/cjs/gux-rich-text-editor-action-group.cjs.entry.js +1 -1
  123. package/dist/cjs/gux-rich-text-editor-action-link.cjs.entry.js +2 -2
  124. package/dist/cjs/gux-rich-text-editor-action-rich-style.cjs.entry.js +2 -2
  125. package/dist/cjs/gux-rich-text-editor-action-text-highlight.cjs.entry.js +2 -2
  126. package/dist/cjs/gux-rich-text-editor-action.cjs.entry.js +1 -1
  127. package/dist/cjs/gux-rich-text-editor-beta.cjs.entry.js +3 -3
  128. package/dist/cjs/gux-rich-text-editor-list.cjs.entry.js +2 -2
  129. package/dist/cjs/gux-row-select.cjs.entry.js +2 -2
  130. package/dist/cjs/gux-screen-reader-beta.cjs.entry.js +2 -2
  131. package/dist/cjs/gux-segmented-control-beta.cjs.entry.js +2 -2
  132. package/dist/cjs/gux-segmented-control-divider.cjs.entry.js +1 -1
  133. package/dist/cjs/gux-segmented-control-item.cjs.entry.js +4 -4
  134. package/dist/cjs/gux-select-all.cjs.entry.js +2 -2
  135. package/dist/cjs/gux-selector-card-beta.cjs.entry.js +3 -3
  136. package/dist/cjs/gux-selector-cards-beta.cjs.entry.js +2 -2
  137. package/dist/cjs/gux-side-panel-beta.cjs.entry.js +3 -3
  138. package/dist/cjs/gux-side-panel-header.cjs.entry.js +2 -2
  139. package/dist/cjs/gux-side-panel-heading.cjs.entry.js +2 -2
  140. package/dist/cjs/gux-simple-toast-legacy.cjs.entry.js +2 -2
  141. package/dist/cjs/gux-skip-navigation-item.cjs.entry.js +1 -1
  142. package/dist/cjs/gux-skip-navigation-list.cjs.entry.js +2 -2
  143. package/dist/cjs/gux-sort-control.cjs.entry.js +3 -3
  144. package/dist/cjs/gux-status-indicator-beta.cjs.entry.js +2 -2
  145. package/dist/cjs/gux-step-title.cjs.entry.js +2 -2
  146. package/dist/cjs/gux-step.cjs.entry.js +4 -4
  147. package/dist/cjs/gux-stepper-beta.cjs.entry.js +3 -3
  148. package/dist/cjs/gux-submenu.cjs.entry.js +3 -3
  149. package/dist/cjs/gux-switch-item.cjs.entry.js +1 -1
  150. package/dist/cjs/gux-switch-legacy.cjs.entry.js +2 -2
  151. package/dist/cjs/gux-tab-advanced-list.cjs.entry.js +1 -1
  152. package/dist/cjs/gux-tab-advanced-panel.cjs.entry.js +1 -1
  153. package/dist/cjs/gux-tab-advanced.cjs.entry.js +2 -2
  154. package/dist/cjs/gux-tab-list.cjs.entry.js +2 -2
  155. package/dist/cjs/gux-tab-panel.cjs.entry.js +1 -1
  156. package/dist/cjs/gux-tab.cjs.entry.js +2 -2
  157. package/dist/cjs/gux-table-select-menu.cjs.entry.js +1 -1
  158. package/dist/cjs/gux-table-toolbar-action.cjs.entry.js +2 -2
  159. package/dist/cjs/gux-table-toolbar-custom-action.cjs.entry.js +2 -2
  160. package/dist/cjs/gux-table-toolbar-menu-button.cjs.entry.js +2 -2
  161. package/dist/cjs/gux-table-toolbar.cjs.entry.js +3 -3
  162. package/dist/cjs/gux-table.cjs.entry.js +2 -2
  163. package/dist/cjs/gux-tabs-advanced.cjs.entry.js +2 -2
  164. package/dist/cjs/gux-tabs.cjs.entry.js +2 -2
  165. package/dist/cjs/gux-tag.cjs.entry.js +2 -2
  166. package/dist/cjs/gux-text-highlight.cjs.entry.js +1 -1
  167. package/dist/cjs/gux-time-beta.cjs.entry.js +2 -2
  168. package/dist/cjs/gux-time-picker.cjs.entry.js +2 -2
  169. package/dist/cjs/gux-time-zone-beta.cjs.entry.js +2 -2
  170. package/dist/cjs/gux-time-zone-picker-beta.cjs.entry.js +3 -3
  171. package/dist/cjs/gux-toast.cjs.entry.js +3 -3
  172. package/dist/cjs/gux-toggle-slider.cjs.entry.js +2 -2
  173. package/dist/cjs/gux-toggle.cjs.entry.js +3 -3
  174. package/dist/cjs/gux-tooltip-base-beta_2.cjs.entry.js +4 -4
  175. package/dist/cjs/gux-tooltip-pointer-beta.cjs.entry.js +2 -2
  176. package/dist/cjs/gux-tooltip-title.cjs.entry.js +2 -2
  177. package/dist/cjs/gux-tooltip_2.cjs.entry.js +6 -6
  178. package/dist/cjs/gux-tree-beta.cjs.entry.js +3 -3
  179. package/dist/cjs/gux-tree-multi-beta.cjs.entry.js +3 -3
  180. package/dist/cjs/index-DJ9HGtdZ.js +4 -0
  181. package/dist/cjs/loader.cjs.js +1 -1
  182. package/dist/cjs/{usage-C6iTAhYl.js → usage-sB4wE0Xu.js} +1 -1
  183. package/dist/collection/collection-manifest.json +1 -0
  184. package/dist/collection/components/beta/gux-actionable-inline-alert/gux-actionable-inline-alert.css +48 -0
  185. package/dist/collection/components/beta/gux-actionable-inline-alert/gux-actionable-inline-alert.js +39 -0
  186. package/dist/collection/components/beta/gux-actionable-inline-alert/tests/gux-actionable-inline-alert.common.js +25 -0
  187. package/dist/collection/components/beta/gux-announce/gux-announce.js +1 -1
  188. package/dist/collection/components/beta/gux-avatar/gux-avatar-change-photo/gux-avatar-change-photo.js +1 -1
  189. package/dist/collection/components/beta/gux-avatar/gux-avatar-focusable/gux-avatar-focusable.js +1 -1
  190. package/dist/collection/components/beta/gux-avatar/gux-avatar.js +2 -2
  191. package/dist/collection/components/beta/gux-avatar-group/gux-avatar-group-add-item/gux-avatar-group-add-item.js +1 -1
  192. package/dist/collection/components/beta/gux-avatar-group/gux-avatar-group-item/gux-avatar-group-item.js +2 -2
  193. package/dist/collection/components/beta/gux-avatar-group/gux-avatar-group.js +1 -1
  194. package/dist/collection/components/beta/gux-avatar-group/gux-avatar-overflow/gux-avatar-overflow-item/gux-avatar-overflow-item.js +2 -2
  195. package/dist/collection/components/beta/gux-avatar-group/gux-avatar-overflow/gux-avatar-overflow.js +2 -2
  196. package/dist/collection/components/beta/gux-blank-state-beta/gux-blank-state.js +2 -2
  197. package/dist/collection/components/beta/gux-blank-state-beta/gux-illustration/gux-illustration.js +2 -2
  198. package/dist/collection/components/beta/gux-calendar-beta/gux-calendar.js +1 -1
  199. package/dist/collection/components/beta/gux-cloud-logo/gux-cloud-logo.js +1 -1
  200. package/dist/collection/components/beta/gux-cloud-logomark/gux-cloud-logomark.js +1 -1
  201. package/dist/collection/components/beta/gux-cta-group/gux-cta-group.js +1 -1
  202. package/dist/collection/components/beta/gux-date/gux-date.js +1 -1
  203. package/dist/collection/components/beta/gux-date-time/gux-date-time.js +1 -1
  204. package/dist/collection/components/beta/gux-day/gux-day.js +1 -1
  205. package/dist/collection/components/beta/gux-flag-icon/gux-flag-icon.js +1 -1
  206. package/dist/collection/components/beta/gux-form/gux-form-description/gux-form-description.js +1 -1
  207. package/dist/collection/components/beta/gux-form/gux-form-fieldset-heading/gux-form-fieldset-heading.js +1 -1
  208. package/dist/collection/components/beta/gux-form/gux-form-footer/gux-form-footer.js +2 -2
  209. package/dist/collection/components/beta/gux-form/gux-form-heading/gux-form-heading.js +1 -1
  210. package/dist/collection/components/beta/gux-form/gux-form.js +1 -1
  211. package/dist/collection/components/beta/gux-icon-tooltip/gux-icon-tooltip.js +1 -1
  212. package/dist/collection/components/beta/gux-inline-dropdown/gux-inline-dropdown.js +1 -1
  213. package/dist/collection/components/beta/gux-label-info/gux-label-info.js +1 -1
  214. package/dist/collection/components/beta/gux-link/gux-link.js +1 -1
  215. package/dist/collection/components/beta/gux-logo/gux-logo.js +3 -3
  216. package/dist/collection/components/beta/gux-logomark/gux-logomark.js +1 -1
  217. package/dist/collection/components/beta/gux-month-picker/gux-month-calendar/gux-month-calendar.js +1 -1
  218. package/dist/collection/components/beta/gux-month-picker/gux-month-calendar/gux-month-list/gux-month-list-item/gux-month-list-item.js +1 -1
  219. package/dist/collection/components/beta/gux-month-picker/gux-month-calendar/gux-month-list/gux-month-list.js +1 -1
  220. package/dist/collection/components/beta/gux-month-picker/gux-month-picker.js +1 -1
  221. package/dist/collection/components/beta/gux-option-status/gux-option-status.js +2 -2
  222. package/dist/collection/components/beta/gux-phone-input/gux-phone-input.js +1 -1
  223. package/dist/collection/components/beta/gux-popover-beta/gux-popover.js +2 -2
  224. package/dist/collection/components/beta/gux-popover-list-beta/gux-popover-list.js +2 -2
  225. package/dist/collection/components/beta/gux-prompt-input/gux-prompt-input-beta.js +2 -2
  226. package/dist/collection/components/beta/gux-rich-text-editor/gux-rich-text-editor-action/gux-rich-text-editor-action-link/gux-rich-text-editor-action-link.js +1 -1
  227. package/dist/collection/components/beta/gux-rich-text-editor/gux-rich-text-editor-action/gux-rich-text-editor-action-rich-style/gux-rich-text-editor-action-rich-style.js +1 -1
  228. package/dist/collection/components/beta/gux-rich-text-editor/gux-rich-text-editor-action/gux-rich-text-editor-action-text-highlight/gux-rich-text-editor-action-text-highlight.js +1 -1
  229. package/dist/collection/components/beta/gux-rich-text-editor/gux-rich-text-editor-action-group/gux-rich-text-editor-action-group.js +1 -1
  230. package/dist/collection/components/beta/gux-rich-text-editor/gux-rich-text-editor-beta.js +2 -2
  231. package/dist/collection/components/beta/gux-rich-text-editor/gux-rich-text-editor-list/gux-rich-highlight-list-item/gux-rich-highlight-list-item.js +2 -2
  232. package/dist/collection/components/beta/gux-rich-text-editor/gux-rich-text-editor-list/gux-rich-style-list-item/gux-rich-style-list-item.js +1 -1
  233. package/dist/collection/components/beta/gux-rich-text-editor/gux-rich-text-editor-list/gux-rich-text-editor-list.js +1 -1
  234. package/dist/collection/components/beta/gux-rich-text-editor/gux-rich-text-editor-list/gux-rich-text-editor-sub-list/gux-rich-text-editor-sub-list.js +3 -3
  235. package/dist/collection/components/beta/gux-rich-text-editor/gux-rich-text-editor-menu/gux-rich-text-editor-menu.js +1 -1
  236. package/dist/collection/components/beta/gux-screen-reader/gux-screen-reader.js +1 -1
  237. package/dist/collection/components/beta/gux-segmented-control/gux-segmented-control-divider/gux-segmented-control-divider.js +1 -1
  238. package/dist/collection/components/beta/gux-segmented-control/gux-segmented-control-item/gux-segmented-control-item.js +4 -4
  239. package/dist/collection/components/beta/gux-segmented-control/gux-segmented-control.js +1 -1
  240. package/dist/collection/components/beta/gux-selector-cards/gux-selector-card/gux-selector-card.js +2 -2
  241. package/dist/collection/components/beta/gux-selector-cards/gux-selector-cards.js +1 -1
  242. package/dist/collection/components/beta/gux-side-panel/components/gux-modal-side-panel/gux-modal-side-panel.js +1 -1
  243. package/dist/collection/components/beta/gux-side-panel/components/gux-side-panel-header/gux-side-panel-header.js +1 -1
  244. package/dist/collection/components/beta/gux-side-panel/components/gux-side-panel-heading/gux-side-panel-heading.js +1 -1
  245. package/dist/collection/components/beta/gux-side-panel/gux-side-panel.js +2 -2
  246. package/dist/collection/components/beta/gux-status-indicator/gux-status-indicator.js +1 -1
  247. package/dist/collection/components/beta/gux-stepper/gux-step/gux-step-title/gux-step-title.js +1 -1
  248. package/dist/collection/components/beta/gux-stepper/gux-step/gux-step.js +3 -3
  249. package/dist/collection/components/beta/gux-stepper/gux-stepper.js +2 -2
  250. package/dist/collection/components/beta/gux-time/gux-time.js +1 -1
  251. package/dist/collection/components/beta/gux-time-zone/gux-time-zone.js +1 -1
  252. package/dist/collection/components/beta/gux-time-zone-picker/gux-time-zone-picker.js +2 -2
  253. package/dist/collection/components/beta/gux-tooltip-base/gux-tooltip-base.js +2 -2
  254. package/dist/collection/components/beta/gux-tooltip-beta/gux-tooltip.js +1 -1
  255. package/dist/collection/components/beta/gux-tooltip-pointer-beta/gux-tooltip-pointer.js +1 -1
  256. package/dist/collection/components/beta/gux-tree/gux-branch/gux-branch.js +2 -2
  257. package/dist/collection/components/beta/gux-tree/gux-leaf/gux-leaf.js +2 -2
  258. package/dist/collection/components/beta/gux-tree/gux-tree.js +2 -2
  259. package/dist/collection/components/beta/gux-tree-multi/gux-branch-multi/gux-branch-multi.js +3 -3
  260. package/dist/collection/components/beta/gux-tree-multi/gux-leaf-multi/gux-leaf-multi.js +2 -2
  261. package/dist/collection/components/beta/gux-tree-multi/gux-tree-multi.js +2 -2
  262. package/dist/collection/components/legacy/gux-action-toast-legacy/gux-action-toast.js +1 -1
  263. package/dist/collection/components/legacy/gux-advanced-dropdown-legacy/dropdown-option/gux-dropdown-option.js +1 -1
  264. package/dist/collection/components/legacy/gux-advanced-dropdown-legacy/gux-advanced-dropdown.js +2 -2
  265. package/dist/collection/components/legacy/gux-disclosure-button-legacy/gux-disclosure-button.js +2 -2
  266. package/dist/collection/components/legacy/gux-modal-legacy/gux-modal-legacy.js +2 -2
  267. package/dist/collection/components/legacy/gux-notification-toast-legacy/gux-notification-toast.js +1 -1
  268. package/dist/collection/components/legacy/gux-pagination-legacy/gux-pagination-buttons-legacy/gux-pagination-buttons.js +1 -1
  269. package/dist/collection/components/legacy/gux-pagination-legacy/gux-pagination-item-counts-legacy/gux-pagination-item-counts.js +2 -2
  270. package/dist/collection/components/legacy/gux-pagination-legacy/gux-pagination-items-per-page-legacy/gux-pagination-items-per-page.js +1 -1
  271. package/dist/collection/components/legacy/gux-pagination-legacy/gux-pagination.js +1 -1
  272. package/dist/collection/components/legacy/gux-simple-toast-legacy/gux-simple-toast.js +1 -1
  273. package/dist/collection/components/legacy/gux-switch-legacy/gux-switch-item/gux-switch-item.js +1 -1
  274. package/dist/collection/components/legacy/gux-switch-legacy/gux-switch.js +1 -1
  275. package/dist/collection/components/stable/gux-accordion/gux-accordion-section/gux-accordion-section.js +5 -5
  276. package/dist/collection/components/stable/gux-accordion/gux-accordion.js +1 -1
  277. package/dist/collection/components/stable/gux-action-button/gux-action-button.js +1 -1
  278. package/dist/collection/components/stable/gux-badge/gux-badge.js +1 -1
  279. package/dist/collection/components/stable/gux-blank-state/gux-blank-state.js +1 -1
  280. package/dist/collection/components/stable/gux-breadcrumbs/breadcrumb-item/gux-breadcrumb-item.js +1 -1
  281. package/dist/collection/components/stable/gux-breadcrumbs/gux-breadcrumbs.js +1 -1
  282. package/dist/collection/components/stable/gux-button/gux-button.js +2 -2
  283. package/dist/collection/components/stable/gux-button-multi/gux-button-multi.js +1 -1
  284. package/dist/collection/components/stable/gux-button-slot/gux-button-slot.js +1 -1
  285. package/dist/collection/components/stable/gux-calendar/gux-calendar.js +1 -1
  286. package/dist/collection/components/stable/gux-card/gux-card.js +2 -2
  287. package/dist/collection/components/stable/gux-column-manager/gux-column-manager-item/gux-column-manager-item.js +3 -3
  288. package/dist/collection/components/stable/gux-column-manager/gux-column-manager.js +1 -1
  289. package/dist/collection/components/stable/gux-content-search/gux-content-search.js +2 -2
  290. package/dist/collection/components/stable/gux-context-menu/gux-context-menu.js +2 -2
  291. package/dist/collection/components/stable/gux-copy-to-clipboard/gux-copy-to-clipboard.js +1 -1
  292. package/dist/collection/components/stable/gux-datepicker/gux-datepicker.js +1 -1
  293. package/dist/collection/components/stable/gux-dismiss-button/gux-dismiss-button.js +2 -2
  294. package/dist/collection/components/stable/gux-dropdown/gux-dropdown.js +1 -1
  295. package/dist/collection/components/stable/gux-dropdown-multi/gux-dropdown-multi-tag/gux-dropdown-multi-tag.js +1 -1
  296. package/dist/collection/components/stable/gux-dropdown-multi/gux-dropdown-multi.js +4 -4
  297. package/dist/collection/components/stable/gux-flyout-menu/gux-flyout-menu.js +2 -2
  298. package/dist/collection/components/stable/gux-flyout-menu/gux-menu/gux-menu-option/gux-menu-option.js +1 -1
  299. package/dist/collection/components/stable/gux-flyout-menu/gux-menu/gux-menu.js +1 -1
  300. package/dist/collection/components/stable/gux-flyout-menu/gux-menu/gux-submenu/gux-submenu.js +3 -3
  301. package/dist/collection/components/stable/gux-form-field/components/gux-form-field-checkbox/gux-form-field-checkbox.js +2 -2
  302. package/dist/collection/components/stable/gux-form-field/components/gux-form-field-checkbox-group/gux-form-field-checkbox-group.js +2 -2
  303. package/dist/collection/components/stable/gux-form-field/components/gux-form-field-color/gux-form-field-color.js +3 -3
  304. package/dist/collection/components/stable/gux-form-field/components/gux-form-field-dropdown/gux-form-field-dropdown.js +3 -3
  305. package/dist/collection/components/stable/gux-form-field/components/gux-form-field-file/gux-form-field-file.js +1 -1
  306. package/dist/collection/components/stable/gux-form-field/components/gux-form-field-file-beta/components/gux-file-list-item/gux-file-list-item.js +2 -2
  307. package/dist/collection/components/stable/gux-form-field/components/gux-form-field-file-beta/gux-form-field-file.js +1 -1
  308. package/dist/collection/components/stable/gux-form-field/components/gux-form-field-number/gux-form-field-number.js +3 -3
  309. package/dist/collection/components/stable/gux-form-field/components/gux-form-field-phone/gux-form-field-phone.js +4 -4
  310. package/dist/collection/components/stable/gux-form-field/components/gux-form-field-radio/gux-form-field-radio.js +2 -2
  311. package/dist/collection/components/stable/gux-form-field/components/gux-form-field-radio-group/gux-form-field-radio-group.js +2 -2
  312. package/dist/collection/components/stable/gux-form-field/components/gux-form-field-range/gux-form-field-range.js +2 -2
  313. package/dist/collection/components/stable/gux-form-field/components/gux-form-field-search/gux-form-field-search.js +3 -3
  314. package/dist/collection/components/stable/gux-form-field/components/gux-form-field-select/gux-form-field-select.css +4 -1
  315. package/dist/collection/components/stable/gux-form-field/components/gux-form-field-select/gux-form-field-select.js +3 -3
  316. package/dist/collection/components/stable/gux-form-field/components/gux-form-field-text-like/gux-form-field-text-like.js +3 -3
  317. package/dist/collection/components/stable/gux-form-field/components/gux-form-field-textarea/gux-form-field-textarea.js +2 -2
  318. package/dist/collection/components/stable/gux-form-field/components/gux-form-field-time-picker/gux-form-field-time-picker.js +4 -4
  319. package/dist/collection/components/stable/gux-form-field/components/gux-form-field-time-zone-picker/gux-form-field-time-zone-picker.js +3 -3
  320. 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
  321. package/dist/collection/components/stable/gux-icon/gux-icon.js +1 -1
  322. package/dist/collection/components/stable/gux-inline-alert/gux-inline-alert.js +2 -2
  323. package/dist/collection/components/stable/gux-list/gux-list-divider/gux-list-divider.js +1 -1
  324. package/dist/collection/components/stable/gux-list/gux-list-item/gux-list-item.js +1 -1
  325. package/dist/collection/components/stable/gux-list/gux-list.js +1 -1
  326. package/dist/collection/components/stable/gux-listbox/option-group/gux-option-group.js +1 -1
  327. package/dist/collection/components/stable/gux-listbox/options/gux-option/gux-option.js +2 -2
  328. package/dist/collection/components/stable/gux-listbox/options/gux-option-icon/gux-option-icon.js +2 -2
  329. package/dist/collection/components/stable/gux-listbox-multi/gux-create-option/gux-create-option.js +2 -2
  330. package/dist/collection/components/stable/gux-listbox-multi/gux-option-multi/gux-option-multi.js +2 -2
  331. package/dist/collection/components/stable/gux-listbox-multi/gux-select-all/gux-select-all.js +2 -2
  332. package/dist/collection/components/stable/gux-loading-message/gux-loading-message.js +1 -1
  333. package/dist/collection/components/stable/gux-modal/gux-modal.js +1 -1
  334. package/dist/collection/components/stable/gux-page-loading-spinner/gux-page-loading-spinner.js +1 -1
  335. package/dist/collection/components/stable/gux-pagination/gux-pagination-buttons/gux-pagination-buttons.js +1 -1
  336. package/dist/collection/components/stable/gux-pagination/gux-pagination-buttons/gux-pagination-ellipsis-button/gux-pagination-ellipsis-button.js +4 -4
  337. package/dist/collection/components/stable/gux-pagination/gux-pagination-item-counts/gux-pagination-item-counts.js +2 -2
  338. package/dist/collection/components/stable/gux-pagination/gux-pagination-items-per-page/gux-pagination-items-per-page.js +1 -1
  339. package/dist/collection/components/stable/gux-pagination/gux-pagination.js +1 -1
  340. package/dist/collection/components/stable/gux-popover/gux-popover.js +2 -2
  341. package/dist/collection/components/stable/gux-popover-list/gux-popover-list.js +2 -2
  342. package/dist/collection/components/stable/gux-popup/gux-popup.js +3 -3
  343. package/dist/collection/components/stable/gux-radial-loading/gux-radial-loading.js +1 -1
  344. package/dist/collection/components/stable/gux-rating/gux-rating.js +1 -1
  345. package/dist/collection/components/stable/gux-skip-navigation-list/gux-skip-navigation-item/gux-skip-navigation-item.js +1 -1
  346. package/dist/collection/components/stable/gux-skip-navigation-list/gux-skip-navigation-list.js +1 -1
  347. package/dist/collection/components/stable/gux-table/gux-all-row-select/gux-all-row-select.js +1 -1
  348. package/dist/collection/components/stable/gux-table/gux-row-select/gux-row-select.js +2 -2
  349. package/dist/collection/components/stable/gux-table/gux-sort-control/gux-sort-control.js +2 -2
  350. package/dist/collection/components/stable/gux-table/gux-table-select-menu/gux-table-select-menu.js +1 -1
  351. package/dist/collection/components/stable/gux-table/gux-table.js +1 -1
  352. package/dist/collection/components/stable/gux-table-toolbar/gux-table-toolbar-action/gux-table-toolbar-action.js +1 -1
  353. package/dist/collection/components/stable/gux-table-toolbar/gux-table-toolbar-custom-action/gux-table-toolbar-custom-action.js +1 -1
  354. package/dist/collection/components/stable/gux-table-toolbar/gux-table-toolbar-menu-button/gux-table-toolbar-menu-button.js +1 -1
  355. package/dist/collection/components/stable/gux-table-toolbar/gux-table-toolbar.js +2 -2
  356. package/dist/collection/components/stable/gux-tabs/gux-tab/gux-tab.js +2 -2
  357. package/dist/collection/components/stable/gux-tabs/gux-tab-list/gux-tab-list.js +2 -2
  358. package/dist/collection/components/stable/gux-tabs/gux-tab-panel/gux-tab-panel.js +1 -1
  359. package/dist/collection/components/stable/gux-tabs/gux-tabs.js +1 -1
  360. package/dist/collection/components/stable/gux-tabs-advanced/gux-tab-advanced/gux-tab-advanced.js +2 -2
  361. package/dist/collection/components/stable/gux-tabs-advanced/gux-tab-advanced-list/gux-tab-advanced-list.js +1 -1
  362. package/dist/collection/components/stable/gux-tabs-advanced/gux-tab-advanced-panel/gux-tab-advanced-panel.js +1 -1
  363. package/dist/collection/components/stable/gux-tabs-advanced/gux-tabs-advanced.js +1 -1
  364. package/dist/collection/components/stable/gux-tag/gux-tag.js +1 -1
  365. package/dist/collection/components/stable/gux-time-picker/gux-time-picker.js +1 -1
  366. package/dist/collection/components/stable/gux-toast/gux-toast.js +2 -2
  367. package/dist/collection/components/stable/gux-toggle/gux-toggle-slider/gux-toggle-slider.js +2 -2
  368. package/dist/collection/components/stable/gux-toggle/gux-toggle.js +2 -2
  369. package/dist/collection/components/stable/gux-tooltip/gux-tooltip.js +2 -2
  370. package/dist/collection/components/stable/gux-tooltip-title/gux-tooltip-title.js +2 -2
  371. package/dist/collection/components/stable/gux-truncate/gux-truncate.js +3 -3
  372. package/dist/esm/genesys-webcomponents.js +1 -1
  373. package/dist/esm/gux-accordion-section.entry.js +5 -5
  374. package/dist/esm/gux-accordion.entry.js +2 -2
  375. package/dist/esm/gux-action-button.entry.js +2 -2
  376. package/dist/esm/gux-action-toast-legacy.entry.js +2 -2
  377. package/dist/esm/gux-actionable-inline-alert-beta.entry.js +31 -0
  378. package/dist/esm/gux-advanced-dropdown-legacy.entry.js +3 -3
  379. package/dist/esm/gux-all-row-select.entry.js +1 -1
  380. package/dist/esm/gux-announce-beta.entry.js +2 -2
  381. package/dist/esm/gux-avatar-beta.entry.js +3 -3
  382. package/dist/esm/gux-avatar-change-photo-beta.entry.js +2 -2
  383. package/dist/esm/gux-avatar-focusable-beta.entry.js +1 -1
  384. package/dist/esm/gux-avatar-group-add-item-beta_3.entry.js +6 -6
  385. package/dist/esm/gux-avatar-group-beta.entry.js +2 -2
  386. package/dist/esm/gux-avatar-group-item-beta.entry.js +3 -3
  387. package/dist/esm/gux-badge.entry.js +2 -2
  388. package/dist/esm/gux-blank-state-beta.entry.js +3 -3
  389. package/dist/esm/gux-blank-state.entry.js +2 -2
  390. package/dist/esm/gux-branch-multi.entry.js +3 -3
  391. package/dist/esm/gux-branch.entry.js +2 -2
  392. package/dist/esm/gux-breadcrumb-item.entry.js +1 -1
  393. package/dist/esm/gux-breadcrumbs.entry.js +2 -2
  394. package/dist/esm/gux-button-multi.entry.js +2 -2
  395. package/dist/esm/gux-button-slot.entry.js +2 -2
  396. package/dist/esm/gux-button_2.entry.js +5 -5
  397. package/dist/esm/gux-calendar-beta.entry.js +1 -1
  398. package/dist/esm/gux-calendar.entry.js +2 -2
  399. package/dist/esm/gux-card.entry.js +3 -3
  400. package/dist/esm/gux-cloud-logo-beta.entry.js +2 -2
  401. package/dist/esm/gux-cloud-logomark-beta.entry.js +2 -2
  402. package/dist/esm/gux-column-manager-item.entry.js +3 -3
  403. package/dist/esm/gux-column-manager.entry.js +2 -2
  404. package/dist/esm/gux-content-search.entry.js +3 -3
  405. package/dist/esm/gux-context-menu.entry.js +3 -3
  406. package/dist/esm/gux-copy-to-clipboard.entry.js +2 -2
  407. package/dist/esm/gux-create-option.entry.js +2 -2
  408. package/dist/esm/gux-cta-group.entry.js +1 -1
  409. package/dist/esm/gux-date-beta.entry.js +2 -2
  410. package/dist/esm/gux-date-time-beta.entry.js +2 -2
  411. package/dist/esm/gux-datepicker.entry.js +2 -2
  412. package/dist/esm/gux-day-beta.entry.js +1 -1
  413. package/dist/esm/gux-disclosure-button-legacy.entry.js +3 -3
  414. package/dist/esm/gux-dismiss-button.entry.js +3 -3
  415. package/dist/esm/gux-dropdown-multi-tag.entry.js +1 -1
  416. package/dist/esm/gux-dropdown-multi.entry.js +5 -5
  417. package/dist/esm/gux-dropdown-option.entry.js +1 -1
  418. package/dist/esm/gux-dropdown_3.entry.js +4 -4
  419. package/dist/esm/gux-file-list-item.entry.js +3 -3
  420. package/dist/esm/gux-flag-icon-beta.entry.js +2 -2
  421. package/dist/esm/gux-flyout-menu.entry.js +3 -3
  422. package/dist/esm/gux-form-beta.entry.js +1 -1
  423. package/dist/esm/gux-form-description.entry.js +1 -1
  424. package/dist/esm/gux-form-field-checkbox-group-beta.entry.js +3 -3
  425. package/dist/esm/gux-form-field-checkbox.entry.js +3 -3
  426. package/dist/esm/gux-form-field-color.entry.js +4 -4
  427. package/dist/esm/gux-form-field-dropdown.entry.js +4 -4
  428. package/dist/esm/gux-form-field-file-beta.entry.js +2 -2
  429. package/dist/esm/gux-form-field-file.entry.js +2 -2
  430. package/dist/esm/gux-form-field-input-clear-button.entry.js +2 -2
  431. package/dist/esm/gux-form-field-label-indicator.entry.js +1 -1
  432. package/dist/esm/gux-form-field-number_2.entry.js +8 -8
  433. package/dist/esm/gux-form-field-phone.entry.js +5 -5
  434. package/dist/esm/gux-form-field-radio-group-beta.entry.js +3 -3
  435. package/dist/esm/gux-form-field-radio.entry.js +3 -3
  436. package/dist/esm/gux-form-field-range.entry.js +3 -3
  437. package/dist/esm/gux-form-field-search.entry.js +4 -4
  438. package/dist/esm/gux-form-field-select.entry.js +5 -5
  439. package/dist/esm/gux-form-field-text-like.entry.js +4 -4
  440. package/dist/esm/gux-form-field-textarea.entry.js +3 -3
  441. package/dist/esm/gux-form-field-time-picker.entry.js +5 -5
  442. package/dist/esm/gux-form-field-time-zone-picker.entry.js +4 -4
  443. package/dist/esm/gux-form-fieldset-heading.entry.js +1 -1
  444. package/dist/esm/gux-form-footer.entry.js +3 -3
  445. package/dist/esm/gux-form-heading.entry.js +1 -1
  446. package/dist/esm/gux-icon-tooltip-beta.entry.js +2 -2
  447. package/dist/esm/gux-icon.entry.js +2 -2
  448. package/dist/esm/gux-illustration-beta.entry.js +3 -3
  449. package/dist/esm/gux-inline-alert.entry.js +3 -3
  450. package/dist/esm/gux-inline-dropdown-beta.entry.js +2 -2
  451. package/dist/esm/gux-label-info-beta.entry.js +2 -2
  452. package/dist/esm/gux-leaf-multi.entry.js +2 -2
  453. package/dist/esm/gux-leaf.entry.js +2 -2
  454. package/dist/esm/gux-link-beta.entry.js +2 -2
  455. package/dist/esm/gux-list-divider.entry.js +1 -1
  456. package/dist/esm/gux-list-item.entry.js +1 -1
  457. package/dist/esm/gux-list.entry.js +2 -2
  458. package/dist/esm/gux-listbox-multi.entry.js +1 -1
  459. package/dist/esm/gux-loading-message.entry.js +2 -2
  460. package/dist/esm/gux-logo-beta.entry.js +4 -4
  461. package/dist/esm/gux-logomark-beta.entry.js +2 -2
  462. package/dist/esm/gux-menu-option.entry.js +1 -1
  463. package/dist/esm/gux-menu.entry.js +1 -1
  464. package/dist/esm/gux-modal-legacy.entry.js +3 -3
  465. package/dist/esm/gux-modal-side-panel-beta.entry.js +2 -2
  466. package/dist/esm/gux-modal.entry.js +2 -2
  467. package/dist/esm/gux-month-calendar.entry.js +1 -1
  468. package/dist/esm/gux-month-list_2.entry.js +2 -2
  469. package/dist/esm/gux-month-picker-beta.entry.js +2 -2
  470. package/dist/esm/gux-notification-toast-legacy.entry.js +2 -2
  471. package/dist/esm/gux-option-group-beta.entry.js +1 -1
  472. package/dist/esm/gux-option-icon.entry.js +2 -2
  473. package/dist/esm/gux-option-multi.entry.js +2 -2
  474. package/dist/esm/gux-option-status-beta.entry.js +2 -2
  475. package/dist/esm/gux-page-loading-spinner.entry.js +2 -2
  476. package/dist/esm/gux-pagination-buttons-legacy_3.entry.js +4 -4
  477. package/dist/esm/gux-pagination-buttons_2.entry.js +3 -3
  478. package/dist/esm/gux-pagination-cursor.entry.js +1 -1
  479. package/dist/esm/gux-pagination-items-per-page.entry.js +1 -1
  480. package/dist/esm/gux-pagination-legacy.entry.js +2 -2
  481. package/dist/esm/gux-pagination.entry.js +2 -2
  482. package/dist/esm/gux-phone-input-beta.entry.js +2 -2
  483. package/dist/esm/gux-popover-beta.entry.js +3 -3
  484. package/dist/esm/gux-popover-list-beta.entry.js +3 -3
  485. package/dist/esm/gux-popover-list.entry.js +3 -3
  486. package/dist/esm/gux-popup.entry.js +3 -3
  487. package/dist/esm/gux-prompt-input-beta.entry.js +3 -3
  488. package/dist/esm/gux-radial-loading.entry.js +2 -2
  489. package/dist/esm/gux-radial-progress.entry.js +1 -1
  490. package/dist/esm/gux-rating.entry.js +2 -2
  491. package/dist/esm/gux-rich-highlight-list-item.entry.js +3 -3
  492. package/dist/esm/gux-rich-style-list-item_3.entry.js +6 -6
  493. package/dist/esm/gux-rich-text-editor-action-group.entry.js +1 -1
  494. package/dist/esm/gux-rich-text-editor-action-link.entry.js +2 -2
  495. package/dist/esm/gux-rich-text-editor-action-rich-style.entry.js +2 -2
  496. package/dist/esm/gux-rich-text-editor-action-text-highlight.entry.js +2 -2
  497. package/dist/esm/gux-rich-text-editor-action.entry.js +1 -1
  498. package/dist/esm/gux-rich-text-editor-beta.entry.js +3 -3
  499. package/dist/esm/gux-rich-text-editor-list.entry.js +2 -2
  500. package/dist/esm/gux-row-select.entry.js +2 -2
  501. package/dist/esm/gux-screen-reader-beta.entry.js +2 -2
  502. package/dist/esm/gux-segmented-control-beta.entry.js +2 -2
  503. package/dist/esm/gux-segmented-control-divider.entry.js +1 -1
  504. package/dist/esm/gux-segmented-control-item.entry.js +4 -4
  505. package/dist/esm/gux-select-all.entry.js +2 -2
  506. package/dist/esm/gux-selector-card-beta.entry.js +3 -3
  507. package/dist/esm/gux-selector-cards-beta.entry.js +2 -2
  508. package/dist/esm/gux-side-panel-beta.entry.js +3 -3
  509. package/dist/esm/gux-side-panel-header.entry.js +2 -2
  510. package/dist/esm/gux-side-panel-heading.entry.js +2 -2
  511. package/dist/esm/gux-simple-toast-legacy.entry.js +2 -2
  512. package/dist/esm/gux-skip-navigation-item.entry.js +1 -1
  513. package/dist/esm/gux-skip-navigation-list.entry.js +2 -2
  514. package/dist/esm/gux-sort-control.entry.js +3 -3
  515. package/dist/esm/gux-status-indicator-beta.entry.js +2 -2
  516. package/dist/esm/gux-step-title.entry.js +2 -2
  517. package/dist/esm/gux-step.entry.js +4 -4
  518. package/dist/esm/gux-stepper-beta.entry.js +3 -3
  519. package/dist/esm/gux-submenu.entry.js +3 -3
  520. package/dist/esm/gux-switch-item.entry.js +1 -1
  521. package/dist/esm/gux-switch-legacy.entry.js +2 -2
  522. package/dist/esm/gux-tab-advanced-list.entry.js +1 -1
  523. package/dist/esm/gux-tab-advanced-panel.entry.js +1 -1
  524. package/dist/esm/gux-tab-advanced.entry.js +2 -2
  525. package/dist/esm/gux-tab-list.entry.js +2 -2
  526. package/dist/esm/gux-tab-panel.entry.js +1 -1
  527. package/dist/esm/gux-tab.entry.js +2 -2
  528. package/dist/esm/gux-table-select-menu.entry.js +1 -1
  529. package/dist/esm/gux-table-toolbar-action.entry.js +2 -2
  530. package/dist/esm/gux-table-toolbar-custom-action.entry.js +2 -2
  531. package/dist/esm/gux-table-toolbar-menu-button.entry.js +2 -2
  532. package/dist/esm/gux-table-toolbar.entry.js +3 -3
  533. package/dist/esm/gux-table.entry.js +2 -2
  534. package/dist/esm/gux-tabs-advanced.entry.js +2 -2
  535. package/dist/esm/gux-tabs.entry.js +2 -2
  536. package/dist/esm/gux-tag.entry.js +2 -2
  537. package/dist/esm/gux-text-highlight.entry.js +1 -1
  538. package/dist/esm/gux-time-beta.entry.js +2 -2
  539. package/dist/esm/gux-time-picker.entry.js +2 -2
  540. package/dist/esm/gux-time-zone-beta.entry.js +2 -2
  541. package/dist/esm/gux-time-zone-picker-beta.entry.js +3 -3
  542. package/dist/esm/gux-toast.entry.js +3 -3
  543. package/dist/esm/gux-toggle-slider.entry.js +2 -2
  544. package/dist/esm/gux-toggle.entry.js +3 -3
  545. package/dist/esm/gux-tooltip-base-beta_2.entry.js +4 -4
  546. package/dist/esm/gux-tooltip-pointer-beta.entry.js +2 -2
  547. package/dist/esm/gux-tooltip-title.entry.js +2 -2
  548. package/dist/esm/gux-tooltip_2.entry.js +6 -6
  549. package/dist/esm/gux-tree-beta.entry.js +3 -3
  550. package/dist/esm/gux-tree-multi-beta.entry.js +3 -3
  551. package/dist/esm/index-mm833MRp.js +4 -0
  552. package/dist/esm/loader.js +1 -1
  553. package/dist/esm/{usage-B_5U73XW.js → usage-B6h1eXrW.js} +1 -1
  554. package/dist/genesys-webcomponents/genesys-webcomponents.esm.js +1 -1
  555. package/dist/genesys-webcomponents/{p-9fc56556.entry.js → p-004aee53.entry.js} +1 -1
  556. package/dist/genesys-webcomponents/{p-4e526ed6.entry.js → p-00766124.entry.js} +1 -1
  557. package/dist/genesys-webcomponents/{p-c0d80c70.entry.js → p-015617e9.entry.js} +1 -1
  558. package/dist/genesys-webcomponents/{p-ade4ba99.entry.js → p-01ebd158.entry.js} +1 -1
  559. package/dist/genesys-webcomponents/{p-175abdfc.entry.js → p-02069f7f.entry.js} +1 -1
  560. package/dist/genesys-webcomponents/{p-c0fd4d69.entry.js → p-026b9834.entry.js} +1 -1
  561. package/dist/genesys-webcomponents/{p-95b8da60.entry.js → p-0453c00e.entry.js} +1 -1
  562. package/dist/genesys-webcomponents/{p-cdb721d8.entry.js → p-06f49a16.entry.js} +1 -1
  563. package/dist/genesys-webcomponents/{p-5a8d483c.entry.js → p-07372e52.entry.js} +1 -1
  564. package/dist/genesys-webcomponents/{p-b892cde5.entry.js → p-079fa243.entry.js} +1 -1
  565. package/dist/genesys-webcomponents/p-0919f815.entry.js +1 -0
  566. package/dist/genesys-webcomponents/{p-96e984bd.entry.js → p-0939f0ea.entry.js} +1 -1
  567. package/dist/genesys-webcomponents/{p-60c67e21.entry.js → p-0a13e985.entry.js} +1 -1
  568. package/dist/genesys-webcomponents/{p-0f6d7178.entry.js → p-0e7ac2ed.entry.js} +1 -1
  569. package/dist/genesys-webcomponents/p-0ff2e33a.entry.js +1 -0
  570. package/dist/genesys-webcomponents/{p-96ed3fae.entry.js → p-10005b05.entry.js} +1 -1
  571. package/dist/genesys-webcomponents/{p-ccdcbc66.entry.js → p-127778a4.entry.js} +1 -1
  572. package/dist/genesys-webcomponents/{p-13154f56.entry.js → p-140fbae9.entry.js} +1 -1
  573. package/dist/genesys-webcomponents/{p-f3744aff.entry.js → p-1687884f.entry.js} +1 -1
  574. package/dist/genesys-webcomponents/p-1695394a.entry.js +1 -0
  575. package/dist/genesys-webcomponents/p-1b7fdf11.entry.js +1 -0
  576. package/dist/genesys-webcomponents/{p-fc6234ce.entry.js → p-1bdf0283.entry.js} +1 -1
  577. package/dist/genesys-webcomponents/{p-1d3ebb8c.entry.js → p-1c07443f.entry.js} +1 -1
  578. package/dist/genesys-webcomponents/{p-7d236eff.entry.js → p-1ceab2bf.entry.js} +1 -1
  579. package/dist/genesys-webcomponents/{p-0be0b061.entry.js → p-1d53a2a3.entry.js} +1 -1
  580. package/dist/genesys-webcomponents/{p-b98a9f78.entry.js → p-1f7a5b63.entry.js} +1 -1
  581. package/dist/genesys-webcomponents/{p-6bfe864e.entry.js → p-22ed9a7d.entry.js} +1 -1
  582. package/dist/genesys-webcomponents/{p-f60dd4e1.entry.js → p-25828bc3.entry.js} +1 -1
  583. package/dist/genesys-webcomponents/{p-33574ddd.entry.js → p-25c8dea4.entry.js} +1 -1
  584. package/dist/genesys-webcomponents/{p-729875c6.entry.js → p-2701831d.entry.js} +1 -1
  585. package/dist/genesys-webcomponents/p-2860c165.entry.js +1 -0
  586. package/dist/genesys-webcomponents/p-28983ee7.entry.js +1 -0
  587. package/dist/genesys-webcomponents/{p-7a01b84f.entry.js → p-2904e896.entry.js} +1 -1
  588. package/dist/genesys-webcomponents/{p-8380c98f.entry.js → p-2ef87d07.entry.js} +1 -1
  589. package/dist/genesys-webcomponents/p-31185235.entry.js +1 -0
  590. package/dist/genesys-webcomponents/{p-4efbba61.entry.js → p-3150ad33.entry.js} +1 -1
  591. package/dist/genesys-webcomponents/{p-f9cf4f93.entry.js → p-345239d6.entry.js} +1 -1
  592. package/dist/genesys-webcomponents/{p-0ab37389.entry.js → p-346a5b78.entry.js} +1 -1
  593. package/dist/genesys-webcomponents/p-3584993f.entry.js +1 -0
  594. package/dist/genesys-webcomponents/{p-b975d30b.entry.js → p-36ce3627.entry.js} +1 -1
  595. package/dist/genesys-webcomponents/{p-82f103c4.entry.js → p-37850953.entry.js} +1 -1
  596. package/dist/genesys-webcomponents/{p-d28148fc.entry.js → p-3953c668.entry.js} +1 -1
  597. package/dist/genesys-webcomponents/p-3da28db9.entry.js +1 -0
  598. package/dist/genesys-webcomponents/{p-4aff9800.entry.js → p-3e108263.entry.js} +1 -1
  599. package/dist/genesys-webcomponents/{p-1cf4e79f.entry.js → p-3ebcd9be.entry.js} +1 -1
  600. package/dist/genesys-webcomponents/{p-2ed010a8.entry.js → p-3fb4c8fe.entry.js} +1 -1
  601. package/dist/genesys-webcomponents/p-3fd1a55e.entry.js +1 -0
  602. package/dist/genesys-webcomponents/{p-aea87a1c.entry.js → p-41577f70.entry.js} +1 -1
  603. package/dist/genesys-webcomponents/p-415c4843.entry.js +1 -0
  604. package/dist/genesys-webcomponents/{p-ee14d94c.entry.js → p-42ccbda4.entry.js} +1 -1
  605. package/dist/genesys-webcomponents/{p-c7101d55.entry.js → p-4315cd6b.entry.js} +1 -1
  606. package/dist/genesys-webcomponents/{p-5a8917be.entry.js → p-43a5a349.entry.js} +1 -1
  607. package/dist/genesys-webcomponents/{p-311fdf37.entry.js → p-4409c7fc.entry.js} +1 -1
  608. package/dist/genesys-webcomponents/{p-820ebd57.entry.js → p-44ee63db.entry.js} +1 -1
  609. package/dist/genesys-webcomponents/p-4827fa85.entry.js +1 -0
  610. package/dist/genesys-webcomponents/{p-dd50c042.entry.js → p-49b9817b.entry.js} +1 -1
  611. package/dist/genesys-webcomponents/{p-0f6bb470.entry.js → p-4ea10f94.entry.js} +1 -1
  612. package/dist/genesys-webcomponents/{p-dc299352.entry.js → p-50741c53.entry.js} +1 -1
  613. package/dist/genesys-webcomponents/{p-f69d1332.entry.js → p-5148f891.entry.js} +1 -1
  614. package/dist/genesys-webcomponents/{p-0f0fe361.entry.js → p-538eed2f.entry.js} +1 -1
  615. package/dist/genesys-webcomponents/{p-bef8cc12.entry.js → p-5395c66c.entry.js} +1 -1
  616. package/dist/genesys-webcomponents/{p-f77a2e00.entry.js → p-5411edc5.entry.js} +1 -1
  617. package/dist/genesys-webcomponents/{p-d3b1d624.entry.js → p-54812dcf.entry.js} +1 -1
  618. package/dist/genesys-webcomponents/{p-27ae3edf.entry.js → p-5495bd0b.entry.js} +1 -1
  619. package/dist/genesys-webcomponents/p-54be6d50.entry.js +1 -0
  620. package/dist/genesys-webcomponents/{p-1ecb422e.entry.js → p-5622da88.entry.js} +1 -1
  621. package/dist/genesys-webcomponents/{p-f4d0b061.entry.js → p-5a6df8ad.entry.js} +1 -1
  622. package/dist/genesys-webcomponents/{p-8c91a537.entry.js → p-5b22714c.entry.js} +1 -1
  623. package/dist/genesys-webcomponents/{p-bada9b52.entry.js → p-5ba624d5.entry.js} +1 -1
  624. package/dist/genesys-webcomponents/{p-b20927f0.entry.js → p-5c57de61.entry.js} +1 -1
  625. package/dist/genesys-webcomponents/{p-aaddc6e3.entry.js → p-5de2444c.entry.js} +1 -1
  626. package/dist/genesys-webcomponents/p-60ab0bb6.entry.js +1 -0
  627. package/dist/genesys-webcomponents/{p-6b20aa19.entry.js → p-61825e54.entry.js} +1 -1
  628. package/dist/genesys-webcomponents/{p-90110fb2.entry.js → p-6189dea0.entry.js} +1 -1
  629. package/dist/genesys-webcomponents/{p-018bf1ab.entry.js → p-62ba27e4.entry.js} +1 -1
  630. package/dist/genesys-webcomponents/{p-2067287f.entry.js → p-63769174.entry.js} +1 -1
  631. package/dist/genesys-webcomponents/p-64433351.entry.js +1 -0
  632. package/dist/genesys-webcomponents/p-64575c8f.entry.js +1 -0
  633. package/dist/genesys-webcomponents/p-64bc09ce.entry.js +1 -0
  634. package/dist/genesys-webcomponents/p-653a4d77.entry.js +1 -0
  635. package/dist/genesys-webcomponents/{p-282a09b1.entry.js → p-66663066.entry.js} +1 -1
  636. package/dist/genesys-webcomponents/p-6730939b.entry.js +1 -0
  637. package/dist/genesys-webcomponents/{p-d98c2f60.entry.js → p-67d1b365.entry.js} +1 -1
  638. package/dist/genesys-webcomponents/p-69782192.entry.js +1 -0
  639. package/dist/genesys-webcomponents/p-6a4b8561.entry.js +1 -0
  640. package/dist/genesys-webcomponents/{p-1518057f.entry.js → p-6a92146a.entry.js} +1 -1
  641. package/dist/genesys-webcomponents/{p-b6ea07cf.entry.js → p-6b94d745.entry.js} +1 -1
  642. package/dist/genesys-webcomponents/p-6c4f7f1b.entry.js +1 -0
  643. package/dist/genesys-webcomponents/p-6f40c523.entry.js +1 -0
  644. package/dist/genesys-webcomponents/p-700fd593.entry.js +1 -0
  645. package/dist/genesys-webcomponents/p-70bc2301.entry.js +1 -0
  646. package/dist/genesys-webcomponents/p-713c8d1b.entry.js +1 -0
  647. package/dist/genesys-webcomponents/{p-0bff7f73.entry.js → p-75a276b4.entry.js} +1 -1
  648. package/dist/genesys-webcomponents/{p-41b7c02e.entry.js → p-77b653f2.entry.js} +1 -1
  649. package/dist/genesys-webcomponents/{p-00d5cada.entry.js → p-77cb31a4.entry.js} +1 -1
  650. package/dist/genesys-webcomponents/{p-becb24d3.entry.js → p-77d60ed3.entry.js} +1 -1
  651. package/dist/genesys-webcomponents/{p-21dd96fd.entry.js → p-78d92139.entry.js} +1 -1
  652. package/dist/genesys-webcomponents/p-799c724d.entry.js +1 -0
  653. package/dist/genesys-webcomponents/{p-4ac3fdc4.entry.js → p-7a5ad8ae.entry.js} +1 -1
  654. package/dist/genesys-webcomponents/p-7ed0ad2a.entry.js +1 -0
  655. package/dist/genesys-webcomponents/{p-7120b23d.entry.js → p-7f0495e3.entry.js} +1 -1
  656. package/dist/genesys-webcomponents/p-8006d315.entry.js +1 -0
  657. package/dist/genesys-webcomponents/{p-e115772d.entry.js → p-8108bda2.entry.js} +1 -1
  658. package/dist/genesys-webcomponents/{p-3495f259.entry.js → p-83c99eb7.entry.js} +1 -1
  659. package/dist/genesys-webcomponents/{p-d34b3c6b.entry.js → p-85546f7b.entry.js} +1 -1
  660. package/dist/genesys-webcomponents/{p-095d6cce.entry.js → p-8bede258.entry.js} +1 -1
  661. package/dist/genesys-webcomponents/{p-90afe444.entry.js → p-8d9cc87b.entry.js} +1 -1
  662. package/dist/genesys-webcomponents/{p-37bb3fcb.entry.js → p-8eab6c7e.entry.js} +1 -1
  663. package/dist/genesys-webcomponents/p-8f188769.entry.js +1 -0
  664. package/dist/genesys-webcomponents/{p-86a1911e.entry.js → p-925f6f1b.entry.js} +1 -1
  665. package/dist/genesys-webcomponents/p-92eaff46.entry.js +1 -0
  666. package/dist/genesys-webcomponents/p-939c80f9.entry.js +1 -0
  667. package/dist/genesys-webcomponents/p-951cde88.entry.js +1 -0
  668. package/dist/genesys-webcomponents/{p-03333fcc.entry.js → p-9561ec21.entry.js} +1 -1
  669. package/dist/genesys-webcomponents/{p-903c6506.entry.js → p-96d5b1bf.entry.js} +1 -1
  670. package/dist/genesys-webcomponents/{p-11dc6e8f.entry.js → p-96d5bf32.entry.js} +1 -1
  671. package/dist/genesys-webcomponents/{p-9d03007f.entry.js → p-99d7e93e.entry.js} +1 -1
  672. package/dist/genesys-webcomponents/{p-fd437ac9.entry.js → p-9a74205e.entry.js} +1 -1
  673. package/dist/genesys-webcomponents/p-9a973106.entry.js +1 -0
  674. package/dist/genesys-webcomponents/{p-7af238b6.entry.js → p-9f133169.entry.js} +1 -1
  675. package/dist/genesys-webcomponents/p-9faa698d.entry.js +1 -0
  676. package/dist/genesys-webcomponents/{p-134ddaa6.entry.js → p-9fcdd9b4.entry.js} +1 -1
  677. package/dist/genesys-webcomponents/{p-B_5U73XW.js → p-B6h1eXrW.js} +1 -1
  678. package/dist/genesys-webcomponents/{p-674bbdd9.entry.js → p-a359e4da.entry.js} +1 -1
  679. package/dist/genesys-webcomponents/{p-14e5c6bd.entry.js → p-a4f41025.entry.js} +1 -1
  680. package/dist/genesys-webcomponents/{p-8b033585.entry.js → p-a6f07953.entry.js} +1 -1
  681. package/dist/genesys-webcomponents/{p-fb4b6da3.entry.js → p-a7d7cc18.entry.js} +1 -1
  682. package/dist/genesys-webcomponents/{p-7d8f32b8.entry.js → p-a8a5f644.entry.js} +1 -1
  683. package/dist/genesys-webcomponents/{p-34c655eb.entry.js → p-aa3be7c9.entry.js} +1 -1
  684. package/dist/genesys-webcomponents/{p-cd893268.entry.js → p-aa82c3d4.entry.js} +1 -1
  685. package/dist/genesys-webcomponents/{p-33c720e1.entry.js → p-ab56c5a3.entry.js} +1 -1
  686. package/dist/genesys-webcomponents/{p-dcd246c2.entry.js → p-af192665.entry.js} +1 -1
  687. package/dist/genesys-webcomponents/{p-e95226d1.entry.js → p-b1ae37c3.entry.js} +1 -1
  688. package/dist/genesys-webcomponents/{p-bc6e07cf.entry.js → p-b54fe578.entry.js} +1 -1
  689. package/dist/genesys-webcomponents/{p-5a6accac.entry.js → p-b66f25d0.entry.js} +1 -1
  690. package/dist/genesys-webcomponents/{p-0b010496.entry.js → p-b6971ca1.entry.js} +1 -1
  691. package/dist/genesys-webcomponents/{p-da88b370.entry.js → p-b7ebc161.entry.js} +1 -1
  692. package/dist/genesys-webcomponents/{p-d47e350b.entry.js → p-b83cb21a.entry.js} +1 -1
  693. package/dist/genesys-webcomponents/{p-2661b07e.entry.js → p-b90cb5d9.entry.js} +1 -1
  694. package/dist/genesys-webcomponents/p-ba57dfae.entry.js +1 -0
  695. package/dist/genesys-webcomponents/{p-54608dba.entry.js → p-bbfc6bac.entry.js} +1 -1
  696. package/dist/genesys-webcomponents/p-bd7bfefc.entry.js +1 -0
  697. package/dist/genesys-webcomponents/{p-3a671b77.entry.js → p-c26b24f9.entry.js} +1 -1
  698. package/dist/genesys-webcomponents/{p-09ac47f1.entry.js → p-c366d66b.entry.js} +1 -1
  699. package/dist/genesys-webcomponents/{p-321cd88b.entry.js → p-c39c2e09.entry.js} +1 -1
  700. package/dist/genesys-webcomponents/{p-68934600.entry.js → p-c62c2e2c.entry.js} +1 -1
  701. package/dist/genesys-webcomponents/{p-b233f48f.entry.js → p-c70756c3.entry.js} +1 -1
  702. package/dist/genesys-webcomponents/{p-08dc9e6d.entry.js → p-c7add5b0.entry.js} +1 -1
  703. package/dist/genesys-webcomponents/{p-15694ab7.entry.js → p-c90134ca.entry.js} +1 -1
  704. package/dist/genesys-webcomponents/{p-3c191fde.entry.js → p-c9cc9783.entry.js} +1 -1
  705. package/dist/genesys-webcomponents/{p-6738c43a.entry.js → p-cc37b3d5.entry.js} +1 -1
  706. package/dist/genesys-webcomponents/{p-51afd986.entry.js → p-ccf96dcd.entry.js} +1 -1
  707. package/dist/genesys-webcomponents/{p-cf318744.entry.js → p-cd9f52c5.entry.js} +1 -1
  708. package/dist/genesys-webcomponents/{p-3d4ebed0.entry.js → p-d12c344e.entry.js} +1 -1
  709. package/dist/genesys-webcomponents/p-d294c8ec.entry.js +1 -0
  710. package/dist/genesys-webcomponents/{p-1363318d.entry.js → p-d2beb3b2.entry.js} +1 -1
  711. package/dist/genesys-webcomponents/p-d30f498b.entry.js +1 -0
  712. package/dist/genesys-webcomponents/{p-21c28a3b.entry.js → p-d4373510.entry.js} +1 -1
  713. package/dist/genesys-webcomponents/{p-f413af7f.entry.js → p-d50398b3.entry.js} +1 -1
  714. package/dist/genesys-webcomponents/{p-2bad24a0.entry.js → p-d99db562.entry.js} +1 -1
  715. package/dist/genesys-webcomponents/{p-3c9277b9.entry.js → p-df5b0595.entry.js} +1 -1
  716. package/dist/genesys-webcomponents/{p-1de7a1f2.entry.js → p-dfa33656.entry.js} +1 -1
  717. package/dist/genesys-webcomponents/p-e21d0219.entry.js +1 -0
  718. package/dist/genesys-webcomponents/{p-163b7982.entry.js → p-e46783bd.entry.js} +1 -1
  719. package/dist/genesys-webcomponents/{p-5dc230b1.entry.js → p-ea7e0c91.entry.js} +1 -1
  720. package/dist/genesys-webcomponents/{p-b40de893.entry.js → p-eaf56162.entry.js} +1 -1
  721. package/dist/genesys-webcomponents/{p-c3958e6e.entry.js → p-ec1cb91d.entry.js} +1 -1
  722. package/dist/genesys-webcomponents/{p-5826fdec.entry.js → p-ece15381.entry.js} +1 -1
  723. package/dist/genesys-webcomponents/p-ef202b5f.entry.js +1 -0
  724. package/dist/genesys-webcomponents/{p-ec38cf55.entry.js → p-f1c4d29d.entry.js} +1 -1
  725. package/dist/genesys-webcomponents/{p-1a6f96bc.entry.js → p-f341264a.entry.js} +1 -1
  726. package/dist/genesys-webcomponents/{p-26cd1f16.entry.js → p-f5d7a04e.entry.js} +1 -1
  727. package/dist/genesys-webcomponents/{p-4cf0a191.entry.js → p-f8ef5895.entry.js} +1 -1
  728. package/dist/genesys-webcomponents/{p-936df20f.entry.js → p-f928754d.entry.js} +1 -1
  729. package/dist/genesys-webcomponents/{p-091f39f1.entry.js → p-f94fcba7.entry.js} +1 -1
  730. package/dist/genesys-webcomponents/{p-89b6a139.entry.js → p-f9adc076.entry.js} +1 -1
  731. package/dist/genesys-webcomponents/p-fb48386c.entry.js +1 -0
  732. package/dist/genesys-webcomponents/{p-afc8db57.entry.js → p-fd39807a.entry.js} +1 -1
  733. package/dist/genesys-webcomponents/{p-8a91eb6a.entry.js → p-fd3d9bd9.entry.js} +1 -1
  734. package/dist/stencil-wrapper.js +1 -1
  735. package/dist/types/components/beta/gux-actionable-inline-alert/gux-actionable-inline-alert.d.ts +13 -0
  736. package/dist/types/components/beta/gux-actionable-inline-alert/tests/gux-actionable-inline-alert.common.d.ts +4 -0
  737. package/dist/types/components.d.ts +13 -0
  738. package/dist/types/stencil-wrapper.d.ts +1 -1
  739. package/package.json +1 -1
  740. package/dist/genesys-webcomponents/p-0644d23c.entry.js +0 -1
  741. package/dist/genesys-webcomponents/p-12ce6f7a.entry.js +0 -1
  742. package/dist/genesys-webcomponents/p-152bddd5.entry.js +0 -1
  743. package/dist/genesys-webcomponents/p-2a0a4599.entry.js +0 -1
  744. package/dist/genesys-webcomponents/p-2a98b607.entry.js +0 -1
  745. package/dist/genesys-webcomponents/p-321d85f8.entry.js +0 -1
  746. package/dist/genesys-webcomponents/p-32aeb326.entry.js +0 -1
  747. package/dist/genesys-webcomponents/p-3370b803.entry.js +0 -1
  748. package/dist/genesys-webcomponents/p-349f1afa.entry.js +0 -1
  749. package/dist/genesys-webcomponents/p-3bec06d0.entry.js +0 -1
  750. package/dist/genesys-webcomponents/p-459e19df.entry.js +0 -1
  751. package/dist/genesys-webcomponents/p-4a435f18.entry.js +0 -1
  752. package/dist/genesys-webcomponents/p-581d8bab.entry.js +0 -1
  753. package/dist/genesys-webcomponents/p-599e49fc.entry.js +0 -1
  754. package/dist/genesys-webcomponents/p-64b8f3c0.entry.js +0 -1
  755. package/dist/genesys-webcomponents/p-7082e7b2.entry.js +0 -1
  756. package/dist/genesys-webcomponents/p-77c7eed5.entry.js +0 -1
  757. package/dist/genesys-webcomponents/p-91c8e086.entry.js +0 -1
  758. package/dist/genesys-webcomponents/p-98004717.entry.js +0 -1
  759. package/dist/genesys-webcomponents/p-9a329638.entry.js +0 -1
  760. package/dist/genesys-webcomponents/p-a06f4841.entry.js +0 -1
  761. package/dist/genesys-webcomponents/p-a403be28.entry.js +0 -1
  762. package/dist/genesys-webcomponents/p-a48c397c.entry.js +0 -1
  763. package/dist/genesys-webcomponents/p-a8154cbf.entry.js +0 -1
  764. package/dist/genesys-webcomponents/p-a9534e06.entry.js +0 -1
  765. package/dist/genesys-webcomponents/p-ae67f863.entry.js +0 -1
  766. package/dist/genesys-webcomponents/p-bb323488.entry.js +0 -1
  767. package/dist/genesys-webcomponents/p-c088cacc.entry.js +0 -1
  768. package/dist/genesys-webcomponents/p-c2d2430e.entry.js +0 -1
  769. package/dist/genesys-webcomponents/p-c3718d82.entry.js +0 -1
  770. package/dist/genesys-webcomponents/p-c90e75e3.entry.js +0 -1
  771. package/dist/genesys-webcomponents/p-cedfa7c0.entry.js +0 -1
  772. package/dist/genesys-webcomponents/p-d64815c3.entry.js +0 -1
  773. package/dist/genesys-webcomponents/p-e0f750be.entry.js +0 -1
  774. package/dist/genesys-webcomponents/p-e1b30c83.entry.js +0 -1
  775. package/dist/genesys-webcomponents/p-e21a3093.entry.js +0 -1
  776. package/dist/genesys-webcomponents/p-e34ce4a0.entry.js +0 -1
  777. package/dist/genesys-webcomponents/p-e5429730.entry.js +0 -1
  778. package/dist/genesys-webcomponents/p-fbf8f8e0.entry.js +0 -1
  779. package/dist/genesys-webcomponents/p-fc3edfaf.entry.js +0 -1
  780. package/dist/genesys-webcomponents/p-fc7b349f.entry.js +0 -1
@@ -1 +1 @@
1
- import{r as t,h as e,a as i}from"./p-mm833MRp.js";import{O as r}from"./p-CuMZPTZF.js";import{s as o}from"./p-BMRf5pjV.js";import{b as s}from"./p-Bg4q97BS.js";import{g as n,b as a}from"./p-D_8CR3cJ.js";import{t as u}from"./p-B_5U73XW.js";import{a as c}from"./p-DxtJDeL9.js";import{a as l}from"./p-DvPw3gUX.js";import{u as h}from"./p-BgaA4g76.js";import"./p-Cd4R0amv.js";import"./p-DCZG2J0G.js";var p={am:"AM","time-separator":":",clockButton:"Toggle suggested times",hoursInput:"Input hours",minutesInput:"Input minutes",pm:"PM",timeOptionsState:"Time options open: {state}",toggleAmPM:"{amOrPm} selected, click to toggle"};function m(t){const e=new Date,[i,r]=t.split(":");return e.setHours(parseFloat(i)),e.setMinutes(parseFloat(r)),e.setSeconds(0),e.getTime()}function g(t,e){const[i,r]=t.split(":");return`${((parseInt(i,10)+e+24)%24).toString().padStart(2,"0")}:${r}`}function d(t,e,i){const[r,o]=t.split(":");let s=(parseInt(o,10)+e+60)%60;for(;s%i!=0;)s=(s+e+60)%60;return`${r}:${s.toString().padStart(2,"0")}`}function f(t,e){const[i,r]=t.split(":");return"12h"===e?`${(parseInt(i,10)%12||12).toString().padStart(2,"0")}:${r}`:`${i}:${r}`}function x(t,e,i){const[r,o]=t.split(":");return"12h"===e?i?`${(parseInt(r,10)%12).toString().padStart(2,"0")}:${o}`:`${(parseInt(r,10)%12+12).toString().padStart(2,"0")}:${o}`:`${r}:${o}`}function b(t,e){const[i]=f(t,e).split(":");return i}function v(t){const[,e]=t.split(":");return e}function k(t){const[e]=t.split(":");return parseInt(e,10)<12}function w(t){return"12h"===t?"^(0?[1-9]|1[012])$":"^([01]?[0-9]|2[0-3])$"}function C(t){var e,i,r,o;const s=new Intl.DateTimeFormat(t,{hour:"numeric",minute:"2-digit",hour12:!0}),n=s.formatToParts(new Date(2020,0,1,9,0)),a=s.formatToParts(new Date(2020,0,1,21,0));return{am:null!==(i=null===(e=n.find((t=>"dayPeriod"===t.type)))||void 0===e?void 0:e.value)&&void 0!==i?i:"AM",pm:null!==(o=null===(r=a.find((t=>"dayPeriod"===t.type)))||void 0===r?void 0:r.value)&&void 0!==o?o:"PM"}}const y=class{constructor(e){t(this,e),this.value="00:00",this.interval=60,this.step=1,this.disabled=!1,this.required=!1,this.hasError=!1,this.expanded=!1}onFocus(){this.valueLastChange=this.value}onBlur(){this.valueLastChange!==this.value&&o(this.root,"change")}onClickOutside(){this.expanded=!1}handleKeydown(t){switch(t.key){case"Escape":case"Tab":this.expanded=!1}}async componentWillLoad(){u(this.root),this.i18n=await a(this.root,p),this.clockType=this.clockType||function(t){let e;e=h()?l(t).toLowerCase():n(t).toLowerCase();const i=new Date("January 19, 1975 15:00:00 UTC+00:00"),r=new Intl.DateTimeFormat(e,{timeStyle:"short",timeZone:"UTC"}).format(i);return!h()&&["ar","ko","zh-cn","zh-tw"].some((t=>e.startsWith(t)))||r.includes("15")?"24h":"12h"}(this.root),this.validateValueFormat(this.value,"00:00"),"12h"==this.clockType&&(this.min||this.max)&&c(this.root,'clock type must be "24h" when using min/max props')}validateValueFormat(t,e){this.isValidTimeFormat(t)||(c(this.root,`"${t}" is not a valid value format. Format must be "hh:mm" or "h:mm". Falling back to previous value: "${e}"`),this.value=e)}isValidTimeFormat(t){return"string"==typeof t&&/^\d{1,2}:\d{2}$/.test(t)}updateValue(t,e=!1){t!==this.value&&(this.value=t,o(this.root,"input"),e&&this.valueLastChange!==this.value&&(o(this.root,"change"),this.valueLastChange=this.value))}valueToId(t){return`gux-id-${t.replace(":","-")}`}focusRelevantItemInPopupList(){s((()=>{this.listElement.guxFocusItemByClosestId(this.valueToId(this.value))}))}toggleDropdown(){this.expanded=!this.expanded,this.expanded&&this.focusRelevantItemInPopupList()}onTargetClick(t){const e=t.composedPath(),i=e.includes(this.clockButton),r=e.includes(this.amPmElement),o=e.includes(this.hourInputElement),s=e.includes(this.minuteInputElement);i||r||s||o||this.toggleDropdown()}handleClickDropdownValue(t){const e=x(t,this.clockType,k(this.value));this.updateValue(e,!0),this.clockButton.focus(),this.expanded=!1}onHourKeyDown(t){switch(t.key){case"Tab":case"ArrowLeft":case"ArrowRight":case"Escape":break;case"ArrowDown":t.preventDefault(),this.updateValue(g(this.value,-1));break;case"ArrowUp":t.preventDefault(),this.updateValue(g(this.value,1));break;case"Backspace":case"0":case"1":case"2":case"3":case"4":case"5":case"6":case"7":case"8":case"9":t.preventDefault(),this.hourInputElement.setSelectionRange(2,2),this.updateValue(function(t,e,i,r,o){const[s,n]=f(t,e).split(":");let a=s;return a="Backspace"===i?"12h"==e&&1==o?a.split("").filter(((t,e)=>e==r-1)).join(""):a.split("").filter(((t,e)=>e!==r-1)).join("").padStart(2,"0"):parseInt(a.slice(0,r)+i+a.slice(r+1),10).toString().slice(-2).padStart(2,"0"),new RegExp(w(e)).test(a)||(a="12h"===e?i:i.padStart(2,"0")),x(`${a}:${n}`,e,k(t))}(this.value,this.clockType,t.key,this.hourInputElement.selectionStart,this.hourInputElement.value.length));break;default:t.preventDefault()}}onMinuteKeyDown(t){switch(t.key){case"Tab":case"ArrowLeft":case"ArrowRight":case"Escape":break;case"ArrowDown":t.preventDefault(),this.updateValue(d(this.value,-1,this.step));break;case"ArrowUp":t.preventDefault(),this.updateValue(d(this.value,1,this.step));break;case"Backspace":case"0":case"1":case"2":case"3":case"4":case"5":case"6":case"7":case"8":case"9":t.preventDefault(),this.minuteInputElement.setSelectionRange(2,2),this.updateValue(function(t,e,i){const[r,o]=t.split(":");let s=o;return s="Backspace"===e?s.split("").filter(((t,e)=>e!==i-1)).join("").padStart(2,"0"):(s.slice(0,i)+e+s.slice(i+1)).slice(-2).padStart(2,"0"),new RegExp("^[0-5][0-9]$").test(s)||(s=e.padStart(2,"0")),`${r}:${s}`}(this.value,t.key,this.minuteInputElement.selectionStart));break;default:t.preventDefault()}}onAmPmButtonKeyDown(t){switch(t.key){case"ArrowDown":case"ArrowUp":this.toggleAmPm(t)}}onListKeyDown(t){"Escape"===t.key&&(this.expanded=!1,this.clockButton.focus())}toggleAmPm(t){t.preventDefault(),this.updateValue(g(this.value,12),!0)}getAmPmString(){return k(this.value)?this.i18n("am"):this.i18n("pm")}renderNumberInput(){return e("div",{class:"gux-input-time-container"},e("input",{role:"spinbutton",class:"gux-input-time-hours",type:"text",disabled:this.disabled,value:b(this.value,this.clockType),onKeyDown:t=>this.onHourKeyDown(t),"aria-label":this.i18n("hoursInput"),pattern:w(this.clockType),ref:t=>this.hourInputElement=t,"aria-valuetext":b(this.value,this.clockType),"aria-valuenow":b(this.value,this.clockType),"aria-valuemin":"24h"===this.clockType?0:1,"aria-valuemax":"24h"===this.clockType?23:12}),e("span",{class:"gux-time-separator"},this.i18n("time-separator")),e("input",{role:"spinbutton",class:"gux-input-time-minutes",type:"text",disabled:this.disabled,value:v(this.value),onKeyDown:t=>this.onMinuteKeyDown(t),"aria-label":this.i18n("minutesInput"),pattern:"^[0-5][0-9]$",ref:t=>this.minuteInputElement=t,"aria-valuetext":v(this.value),"aria-valuenow":v(this.value),"aria-valuemin":0,"aria-valuemax":59}))}renderAmPmBefore(){return!(!h()||"before"!==function(t){const e=new Intl.DateTimeFormat(t,{hour:"numeric",minute:"2-digit",hour12:!0}).formatToParts(new Date(2020,0,1,9,30)).map((t=>t.type)),i=e.indexOf("dayPeriod"),r=e.indexOf("hour");return i<0?"none":i<r?"before":"after"}(l(this.root)))}renderAmString(){return h()?e("span",null,C(l(this.root)).am):e("span",null,this.i18n("am"))}renderPmString(){return h()?e("span",null,C(l(this.root)).pm):e("span",null,this.i18n("pm"))}renderAmPmSelector(){if("12h"===this.clockType)return e("button",{class:"gux-input-time-am-pm-selector",type:"button",disabled:this.disabled,"aria-label":this.i18n("toggleAmPM",{amOrPm:this.getAmPmString()}),onClick:t=>this.toggleAmPm(t),onKeyDown:t=>this.onAmPmButtonKeyDown(t),ref:t=>this.amPmElement=t},e("div",{class:{"gux-meridiem":!0,"gux-visible":k(this.value)}},this.renderAmString()),e("div",{class:{"gux-meridiem":!0,"gux-visible":!k(this.value)}},this.renderPmString()))}renderClockButton(){return e("button",{class:{"gux-clock-button":!0,"gux-active":this.expanded},type:"button",disabled:this.disabled,"aria-label":this.i18n("clockButton"),"aria-expanded":this.expanded.toString(),onClick:this.toggleDropdown.bind(this),ref:t=>this.clockButton=t},e("gux-icon",{decorative:!0,"icon-name":"fa/clock-regular",size:"small"}))}renderTimeListItems(){return function(t,e,i,r){const o=[0,15,30,45].filter((e=>Number.isInteger(e/t))).map((t=>String(t).padStart(2,"0"))),s=("12h"===e?["12","01","02","03","04","05","06","07","08","09","10","11"]:Array.from(Array(24).keys()).map((t=>String(t).padStart(2,"0")))).reduce(((t,e)=>t.concat(o.map((t=>`${e}:${t}`)))),[]);return"24h"===e?function(t,e,i){return e&&i&&m(e)>m(i)?t=t.filter((t=>{const r=m(t),o=m(e),s=m(i),n=m("23:59");return r>=o&&r<n||r<=s})):(e&&(t=t.filter((t=>m(t)>=m(e)))),i&&(t=t.filter((t=>m(t)<=m(i))))),t}(s,i,r):s}(this.interval,this.clockType,this.min,this.max).map((t=>{const i=x(t,this.clockType,k(this.value));return e("gux-list-item",{id:this.valueToId(i),onClick:()=>this.handleClickDropdownValue(t)},t)}))}renderTarget(){return e("div",{class:"gux-input-time",slot:"target",onClick:this.onTargetClick.bind(this)},this.renderTargetContent())}renderTargetContent(){return this.renderAmPmBefore()?[this.renderAmPmSelector(),this.renderNumberInput(),this.renderClockButton()]:[this.renderNumberInput(),this.renderAmPmSelector(),this.renderClockButton()]}renderPopup(){return e("div",{slot:"popup",class:"gux-list-container",onKeyDown:t=>this.onListKeyDown(t)},e("gux-list",{ref:t=>this.listElement=t},this.renderTimeListItems()))}render(){return e("gux-popup",{key:"81b9692a56144a4ebc988f67c4bdcc596d90f633",class:{"gux-time-picker":!0,"gux-error":this.hasError},expanded:this.expanded,disabled:this.disabled},this.renderTarget(),this.renderPopup())}get root(){return i(this)}static get watchers(){return{value:["validateValueFormat"]}}};(function(t,e,i,r){var o,s=arguments.length,n=s<3?e:null===r?r=Object.getOwnPropertyDescriptor(e,i):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)n=Reflect.decorate(t,e,i,r);else for(var a=t.length-1;a>=0;a--)(o=t[a])&&(n=(s<3?o(n):s>3?o(e,i,n):o(e,i))||n);s>3&&n&&Object.defineProperty(e,i,n)})([r({triggerEvents:"mousedown"})],y.prototype,"onClickOutside",null),y.style=".gux-time-picker{position:relative;display:inline-block}.gux-time-picker.gux-error .gux-input-time{border-color:var(--gse-ui-formControl-input-error-border-color)}.gux-time-picker .gux-input-time{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;inline-size:100%;block-size:var(--gse-ui-formControl-input-textfield-height);padding:var(--gse-ui-formControl-input-padding);font-family:var(--gse-ui-formControl-input-contentText-fontFamily);font-size:var(--gse-ui-formControl-input-contentText-fontSize);line-height:var(--gse-ui-formControl-input-contentText-lineHeight);color:var(--gse-ui-formControl-input-populatedColor);white-space:nowrap;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-time-picker .gux-input-time:focus-within{outline:var(--gse-semantic-focusOutline-md-borderWidth) solid var(--gse-semantic-border-focus);outline-offset:var(--gse-semantic-focusOutline-offset)}.gux-time-picker .gux-input-time:hover:not(: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-time-picker .gux-input-time input{flex:1 1 auto;align-self:auto;order:0;inline-size:2ch;padding:0;font-size:var(--gse-ui-formControl-label-text-fontSize);color:var(--gse-ui-formControl-input-populatedColor);outline:none;background-color:var(--gse-ui-formControl-input-backgroundColor);border:none}.gux-time-picker .gux-input-time input.gux-input-time-hours{text-align:end}.gux-time-picker .gux-input-time input::placeholder{color:var(--gse-ui-formControl-input-placeholderColor);opacity:1}.gux-time-picker .gux-input-time .gux-input-time-am-pm-selector{display:grid;grid-template:auto 1fr/auto 1fr auto;place-items:flex-end;padding:0;font-family:var(--gse-ui-formControl-input-prefixSufix-text-fontFamily);font-size:var(--gse-ui-formControl-input-prefixSufix-text-fontSize);font-weight:var(--gse-ui-formControl-input-prefixSufix-text-fontWeight);line-height:var(--gse-ui-formControl-input-prefixSufix-text-lineHeight);color:var(--gse-ui-formControl-input-populatedColor);outline:none;background:transparent;border:none}.gux-time-picker .gux-input-time .gux-input-time-am-pm-selector:focus-visible{outline:var(--gse-semantic-focusOutline-md-borderWidth) solid var(--gse-semantic-border-focus);outline-offset:var(--gse-semantic-focusOutline-offset);border-radius:var(--gse-ui-timePicker-focusAmpm-borderRadius)}.gux-time-picker .gux-input-time .gux-input-time-am-pm-selector .gux-meridiem{display:none;grid-row:1/1;grid-column:1/1}.gux-time-picker .gux-input-time .gux-input-time-am-pm-selector .gux-meridiem.gux-visible{display:inline-block}.gux-time-picker .gux-input-time .gux-clock-button{display:flex;flex:0 1 auto;align-items:center;align-self:auto;justify-content:center;order:0;padding:0;color:var(--gse-ui-formControl-input-inputIcon-iconEndColor);outline:none;background:transparent;border:none}.gux-time-picker .gux-input-time .gux-clock-button.gux-active:not(:disabled){color:var(--gse-ui-timePicker-clockStates-activeColor);cursor:pointer}.gux-time-picker .gux-input-time .gux-clock-button:focus-visible{outline:var(--gse-semantic-focusOutline-md-borderWidth) solid var(--gse-semantic-border-focus);outline-offset:var(--gse-semantic-focusOutline-offset);border-radius:var(--gse-ui-timePicker-focusClock-borderRadius)}.gux-time-picker .gux-input-time .gux-clock-button gux-icon{padding:var(--gse-ui-timePicker-clock-padding)}.gux-time-picker .gux-time-separator{padding-block:0;padding-inline:1ch}.gux-time-picker .gux-list-container{max-block-size:150px;margin:0;overflow-y:auto;background:var(--gse-ui-menu-backgroundColor);border-color:var(--gse-ui-menu-border-color);border-style:var(--gse-ui-menu-border-style);border-width:var(--gse-ui-menu-border-width);border-radius:var(--gse-ui-menu-borderRadius);box-shadow:var(--gse-ui-menu-boxShadow)}";export{y as gux_time_picker}
1
+ import{r as t,h as e,a as i}from"./p-mm833MRp.js";import{O as r}from"./p-CuMZPTZF.js";import{s as o}from"./p-BMRf5pjV.js";import{b as s}from"./p-Bg4q97BS.js";import{g as n,b as a}from"./p-D_8CR3cJ.js";import{t as u}from"./p-B6h1eXrW.js";import{a as c}from"./p-DxtJDeL9.js";import{a as l}from"./p-DvPw3gUX.js";import{u as h}from"./p-BgaA4g76.js";import"./p-Cd4R0amv.js";import"./p-DCZG2J0G.js";var p={am:"AM","time-separator":":",clockButton:"Toggle suggested times",hoursInput:"Input hours",minutesInput:"Input minutes",pm:"PM",timeOptionsState:"Time options open: {state}",toggleAmPM:"{amOrPm} selected, click to toggle"};function m(t){const e=new Date,[i,r]=t.split(":");return e.setHours(parseFloat(i)),e.setMinutes(parseFloat(r)),e.setSeconds(0),e.getTime()}function g(t,e){const[i,r]=t.split(":");return`${((parseInt(i,10)+e+24)%24).toString().padStart(2,"0")}:${r}`}function d(t,e,i){const[r,o]=t.split(":");let s=(parseInt(o,10)+e+60)%60;for(;s%i!=0;)s=(s+e+60)%60;return`${r}:${s.toString().padStart(2,"0")}`}function f(t,e){const[i,r]=t.split(":");return"12h"===e?`${(parseInt(i,10)%12||12).toString().padStart(2,"0")}:${r}`:`${i}:${r}`}function x(t,e,i){const[r,o]=t.split(":");return"12h"===e?i?`${(parseInt(r,10)%12).toString().padStart(2,"0")}:${o}`:`${(parseInt(r,10)%12+12).toString().padStart(2,"0")}:${o}`:`${r}:${o}`}function b(t,e){const[i]=f(t,e).split(":");return i}function v(t){const[,e]=t.split(":");return e}function k(t){const[e]=t.split(":");return parseInt(e,10)<12}function w(t){return"12h"===t?"^(0?[1-9]|1[012])$":"^([01]?[0-9]|2[0-3])$"}function C(t){var e,i,r,o;const s=new Intl.DateTimeFormat(t,{hour:"numeric",minute:"2-digit",hour12:!0}),n=s.formatToParts(new Date(2020,0,1,9,0)),a=s.formatToParts(new Date(2020,0,1,21,0));return{am:null!==(i=null===(e=n.find((t=>"dayPeriod"===t.type)))||void 0===e?void 0:e.value)&&void 0!==i?i:"AM",pm:null!==(o=null===(r=a.find((t=>"dayPeriod"===t.type)))||void 0===r?void 0:r.value)&&void 0!==o?o:"PM"}}const y=class{constructor(e){t(this,e),this.value="00:00",this.interval=60,this.step=1,this.disabled=!1,this.required=!1,this.hasError=!1,this.expanded=!1}onFocus(){this.valueLastChange=this.value}onBlur(){this.valueLastChange!==this.value&&o(this.root,"change")}onClickOutside(){this.expanded=!1}handleKeydown(t){switch(t.key){case"Escape":case"Tab":this.expanded=!1}}async componentWillLoad(){u(this.root),this.i18n=await a(this.root,p),this.clockType=this.clockType||function(t){let e;e=h()?l(t).toLowerCase():n(t).toLowerCase();const i=new Date("January 19, 1975 15:00:00 UTC+00:00"),r=new Intl.DateTimeFormat(e,{timeStyle:"short",timeZone:"UTC"}).format(i);return!h()&&["ar","ko","zh-cn","zh-tw"].some((t=>e.startsWith(t)))||r.includes("15")?"24h":"12h"}(this.root),this.validateValueFormat(this.value,"00:00"),"12h"==this.clockType&&(this.min||this.max)&&c(this.root,'clock type must be "24h" when using min/max props')}validateValueFormat(t,e){this.isValidTimeFormat(t)||(c(this.root,`"${t}" is not a valid value format. Format must be "hh:mm" or "h:mm". Falling back to previous value: "${e}"`),this.value=e)}isValidTimeFormat(t){return"string"==typeof t&&/^\d{1,2}:\d{2}$/.test(t)}updateValue(t,e=!1){t!==this.value&&(this.value=t,o(this.root,"input"),e&&this.valueLastChange!==this.value&&(o(this.root,"change"),this.valueLastChange=this.value))}valueToId(t){return`gux-id-${t.replace(":","-")}`}focusRelevantItemInPopupList(){s((()=>{this.listElement.guxFocusItemByClosestId(this.valueToId(this.value))}))}toggleDropdown(){this.expanded=!this.expanded,this.expanded&&this.focusRelevantItemInPopupList()}onTargetClick(t){const e=t.composedPath(),i=e.includes(this.clockButton),r=e.includes(this.amPmElement),o=e.includes(this.hourInputElement),s=e.includes(this.minuteInputElement);i||r||s||o||this.toggleDropdown()}handleClickDropdownValue(t){const e=x(t,this.clockType,k(this.value));this.updateValue(e,!0),this.clockButton.focus(),this.expanded=!1}onHourKeyDown(t){switch(t.key){case"Tab":case"ArrowLeft":case"ArrowRight":case"Escape":break;case"ArrowDown":t.preventDefault(),this.updateValue(g(this.value,-1));break;case"ArrowUp":t.preventDefault(),this.updateValue(g(this.value,1));break;case"Backspace":case"0":case"1":case"2":case"3":case"4":case"5":case"6":case"7":case"8":case"9":t.preventDefault(),this.hourInputElement.setSelectionRange(2,2),this.updateValue(function(t,e,i,r,o){const[s,n]=f(t,e).split(":");let a=s;return a="Backspace"===i?"12h"==e&&1==o?a.split("").filter(((t,e)=>e==r-1)).join(""):a.split("").filter(((t,e)=>e!==r-1)).join("").padStart(2,"0"):parseInt(a.slice(0,r)+i+a.slice(r+1),10).toString().slice(-2).padStart(2,"0"),new RegExp(w(e)).test(a)||(a="12h"===e?i:i.padStart(2,"0")),x(`${a}:${n}`,e,k(t))}(this.value,this.clockType,t.key,this.hourInputElement.selectionStart,this.hourInputElement.value.length));break;default:t.preventDefault()}}onMinuteKeyDown(t){switch(t.key){case"Tab":case"ArrowLeft":case"ArrowRight":case"Escape":break;case"ArrowDown":t.preventDefault(),this.updateValue(d(this.value,-1,this.step));break;case"ArrowUp":t.preventDefault(),this.updateValue(d(this.value,1,this.step));break;case"Backspace":case"0":case"1":case"2":case"3":case"4":case"5":case"6":case"7":case"8":case"9":t.preventDefault(),this.minuteInputElement.setSelectionRange(2,2),this.updateValue(function(t,e,i){const[r,o]=t.split(":");let s=o;return s="Backspace"===e?s.split("").filter(((t,e)=>e!==i-1)).join("").padStart(2,"0"):(s.slice(0,i)+e+s.slice(i+1)).slice(-2).padStart(2,"0"),new RegExp("^[0-5][0-9]$").test(s)||(s=e.padStart(2,"0")),`${r}:${s}`}(this.value,t.key,this.minuteInputElement.selectionStart));break;default:t.preventDefault()}}onAmPmButtonKeyDown(t){switch(t.key){case"ArrowDown":case"ArrowUp":this.toggleAmPm(t)}}onListKeyDown(t){"Escape"===t.key&&(this.expanded=!1,this.clockButton.focus())}toggleAmPm(t){t.preventDefault(),this.updateValue(g(this.value,12),!0)}getAmPmString(){return k(this.value)?this.i18n("am"):this.i18n("pm")}renderNumberInput(){return e("div",{class:"gux-input-time-container"},e("input",{role:"spinbutton",class:"gux-input-time-hours",type:"text",disabled:this.disabled,value:b(this.value,this.clockType),onKeyDown:t=>this.onHourKeyDown(t),"aria-label":this.i18n("hoursInput"),pattern:w(this.clockType),ref:t=>this.hourInputElement=t,"aria-valuetext":b(this.value,this.clockType),"aria-valuenow":b(this.value,this.clockType),"aria-valuemin":"24h"===this.clockType?0:1,"aria-valuemax":"24h"===this.clockType?23:12}),e("span",{class:"gux-time-separator"},this.i18n("time-separator")),e("input",{role:"spinbutton",class:"gux-input-time-minutes",type:"text",disabled:this.disabled,value:v(this.value),onKeyDown:t=>this.onMinuteKeyDown(t),"aria-label":this.i18n("minutesInput"),pattern:"^[0-5][0-9]$",ref:t=>this.minuteInputElement=t,"aria-valuetext":v(this.value),"aria-valuenow":v(this.value),"aria-valuemin":0,"aria-valuemax":59}))}renderAmPmBefore(){return!(!h()||"before"!==function(t){const e=new Intl.DateTimeFormat(t,{hour:"numeric",minute:"2-digit",hour12:!0}).formatToParts(new Date(2020,0,1,9,30)).map((t=>t.type)),i=e.indexOf("dayPeriod"),r=e.indexOf("hour");return i<0?"none":i<r?"before":"after"}(l(this.root)))}renderAmString(){return h()?e("span",null,C(l(this.root)).am):e("span",null,this.i18n("am"))}renderPmString(){return h()?e("span",null,C(l(this.root)).pm):e("span",null,this.i18n("pm"))}renderAmPmSelector(){if("12h"===this.clockType)return e("button",{class:"gux-input-time-am-pm-selector",type:"button",disabled:this.disabled,"aria-label":this.i18n("toggleAmPM",{amOrPm:this.getAmPmString()}),onClick:t=>this.toggleAmPm(t),onKeyDown:t=>this.onAmPmButtonKeyDown(t),ref:t=>this.amPmElement=t},e("div",{class:{"gux-meridiem":!0,"gux-visible":k(this.value)}},this.renderAmString()),e("div",{class:{"gux-meridiem":!0,"gux-visible":!k(this.value)}},this.renderPmString()))}renderClockButton(){return e("button",{class:{"gux-clock-button":!0,"gux-active":this.expanded},type:"button",disabled:this.disabled,"aria-label":this.i18n("clockButton"),"aria-expanded":this.expanded.toString(),onClick:this.toggleDropdown.bind(this),ref:t=>this.clockButton=t},e("gux-icon",{decorative:!0,"icon-name":"fa/clock-regular",size:"small"}))}renderTimeListItems(){return function(t,e,i,r){const o=[0,15,30,45].filter((e=>Number.isInteger(e/t))).map((t=>String(t).padStart(2,"0"))),s=("12h"===e?["12","01","02","03","04","05","06","07","08","09","10","11"]:Array.from(Array(24).keys()).map((t=>String(t).padStart(2,"0")))).reduce(((t,e)=>t.concat(o.map((t=>`${e}:${t}`)))),[]);return"24h"===e?function(t,e,i){return e&&i&&m(e)>m(i)?t=t.filter((t=>{const r=m(t),o=m(e),s=m(i),n=m("23:59");return r>=o&&r<n||r<=s})):(e&&(t=t.filter((t=>m(t)>=m(e)))),i&&(t=t.filter((t=>m(t)<=m(i))))),t}(s,i,r):s}(this.interval,this.clockType,this.min,this.max).map((t=>{const i=x(t,this.clockType,k(this.value));return e("gux-list-item",{id:this.valueToId(i),onClick:()=>this.handleClickDropdownValue(t)},t)}))}renderTarget(){return e("div",{class:"gux-input-time",slot:"target",onClick:this.onTargetClick.bind(this)},this.renderTargetContent())}renderTargetContent(){return this.renderAmPmBefore()?[this.renderAmPmSelector(),this.renderNumberInput(),this.renderClockButton()]:[this.renderNumberInput(),this.renderAmPmSelector(),this.renderClockButton()]}renderPopup(){return e("div",{slot:"popup",class:"gux-list-container",onKeyDown:t=>this.onListKeyDown(t)},e("gux-list",{ref:t=>this.listElement=t},this.renderTimeListItems()))}render(){return e("gux-popup",{key:"206bc755881fddb9cda189c1e8b4db9fe69f30d5",class:{"gux-time-picker":!0,"gux-error":this.hasError},expanded:this.expanded,disabled:this.disabled},this.renderTarget(),this.renderPopup())}get root(){return i(this)}static get watchers(){return{value:["validateValueFormat"]}}};(function(t,e,i,r){var o,s=arguments.length,n=s<3?e:null===r?r=Object.getOwnPropertyDescriptor(e,i):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)n=Reflect.decorate(t,e,i,r);else for(var a=t.length-1;a>=0;a--)(o=t[a])&&(n=(s<3?o(n):s>3?o(e,i,n):o(e,i))||n);s>3&&n&&Object.defineProperty(e,i,n)})([r({triggerEvents:"mousedown"})],y.prototype,"onClickOutside",null),y.style=".gux-time-picker{position:relative;display:inline-block}.gux-time-picker.gux-error .gux-input-time{border-color:var(--gse-ui-formControl-input-error-border-color)}.gux-time-picker .gux-input-time{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;inline-size:100%;block-size:var(--gse-ui-formControl-input-textfield-height);padding:var(--gse-ui-formControl-input-padding);font-family:var(--gse-ui-formControl-input-contentText-fontFamily);font-size:var(--gse-ui-formControl-input-contentText-fontSize);line-height:var(--gse-ui-formControl-input-contentText-lineHeight);color:var(--gse-ui-formControl-input-populatedColor);white-space:nowrap;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-time-picker .gux-input-time:focus-within{outline:var(--gse-semantic-focusOutline-md-borderWidth) solid var(--gse-semantic-border-focus);outline-offset:var(--gse-semantic-focusOutline-offset)}.gux-time-picker .gux-input-time:hover:not(: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-time-picker .gux-input-time input{flex:1 1 auto;align-self:auto;order:0;inline-size:2ch;padding:0;font-size:var(--gse-ui-formControl-label-text-fontSize);color:var(--gse-ui-formControl-input-populatedColor);outline:none;background-color:var(--gse-ui-formControl-input-backgroundColor);border:none}.gux-time-picker .gux-input-time input.gux-input-time-hours{text-align:end}.gux-time-picker .gux-input-time input::placeholder{color:var(--gse-ui-formControl-input-placeholderColor);opacity:1}.gux-time-picker .gux-input-time .gux-input-time-am-pm-selector{display:grid;grid-template:auto 1fr/auto 1fr auto;place-items:flex-end;padding:0;font-family:var(--gse-ui-formControl-input-prefixSufix-text-fontFamily);font-size:var(--gse-ui-formControl-input-prefixSufix-text-fontSize);font-weight:var(--gse-ui-formControl-input-prefixSufix-text-fontWeight);line-height:var(--gse-ui-formControl-input-prefixSufix-text-lineHeight);color:var(--gse-ui-formControl-input-populatedColor);outline:none;background:transparent;border:none}.gux-time-picker .gux-input-time .gux-input-time-am-pm-selector:focus-visible{outline:var(--gse-semantic-focusOutline-md-borderWidth) solid var(--gse-semantic-border-focus);outline-offset:var(--gse-semantic-focusOutline-offset);border-radius:var(--gse-ui-timePicker-focusAmpm-borderRadius)}.gux-time-picker .gux-input-time .gux-input-time-am-pm-selector .gux-meridiem{display:none;grid-row:1/1;grid-column:1/1}.gux-time-picker .gux-input-time .gux-input-time-am-pm-selector .gux-meridiem.gux-visible{display:inline-block}.gux-time-picker .gux-input-time .gux-clock-button{display:flex;flex:0 1 auto;align-items:center;align-self:auto;justify-content:center;order:0;padding:0;color:var(--gse-ui-formControl-input-inputIcon-iconEndColor);outline:none;background:transparent;border:none}.gux-time-picker .gux-input-time .gux-clock-button.gux-active:not(:disabled){color:var(--gse-ui-timePicker-clockStates-activeColor);cursor:pointer}.gux-time-picker .gux-input-time .gux-clock-button:focus-visible{outline:var(--gse-semantic-focusOutline-md-borderWidth) solid var(--gse-semantic-border-focus);outline-offset:var(--gse-semantic-focusOutline-offset);border-radius:var(--gse-ui-timePicker-focusClock-borderRadius)}.gux-time-picker .gux-input-time .gux-clock-button gux-icon{padding:var(--gse-ui-timePicker-clock-padding)}.gux-time-picker .gux-time-separator{padding-block:0;padding-inline:1ch}.gux-time-picker .gux-list-container{max-block-size:150px;margin:0;overflow-y:auto;background:var(--gse-ui-menu-backgroundColor);border-color:var(--gse-ui-menu-border-color);border-style:var(--gse-ui-menu-border-style);border-width:var(--gse-ui-menu-border-width);border-radius:var(--gse-ui-menu-borderRadius);box-shadow:var(--gse-ui-menu-boxShadow)}";export{y as gux_time_picker}
@@ -1 +1 @@
1
- import{r as e,f as t,h as s,H as r,a as o}from"./p-mm833MRp.js";import{s as i}from"./p-BMRf5pjV.js";import{t as n}from"./p-B_5U73XW.js";const a=class{constructor(t){e(this,t),this.disabled=!1,this.items=[]}onClick(e){e.stopPropagation();const t=e.target.closest("gux-segmented-control-item");t&&this.value!==t.value&&(this.value=t.value,i(this.root,"input"),i(this.root,"change"))}watchDisabled(){this.items.forEach((e=>{t(e)}))}slotChanged(){this.items=Array.from(this.root.children)}componentWillLoad(){n(this.root)}componentWillRender(){this.items.forEach((e=>{e.selected=e.value===this.value}))}render(){return s(r,{key:"69c1c6af7218ff87269c5ece06d15057138d0396",role:"group"},s("slot",{key:"d8dc6e5c1a9afcb104386cb11fe57e014d2747c8",onSlotchange:this.slotChanged.bind(this)}))}get root(){return o(this)}static get watchers(){return{disabled:["watchDisabled"]}}};a.style=":host{display:inline-flex;block-size:var(--gse-ui-segmentedControl-height);padding:var(--gse-ui-segmentedControl-padding);background-color:var(--gse-ui-segmentedControl-container-background);border:var(--gse-ui-segmentedControl-border-width) var(--gse-ui-segmentedControl-border-style) var(--gse-ui-segmentedControl-border-color);border-radius:var(--gse-ui-segmentedControl-borderRadius)}";export{a as gux_segmented_control_beta}
1
+ import{r as e,f as t,h as s,H as r,a as o}from"./p-mm833MRp.js";import{s as i}from"./p-BMRf5pjV.js";import{t as n}from"./p-B6h1eXrW.js";const a=class{constructor(t){e(this,t),this.disabled=!1,this.items=[]}onClick(e){e.stopPropagation();const t=e.target.closest("gux-segmented-control-item");t&&this.value!==t.value&&(this.value=t.value,i(this.root,"input"),i(this.root,"change"))}watchDisabled(){this.items.forEach((e=>{t(e)}))}slotChanged(){this.items=Array.from(this.root.children)}componentWillLoad(){n(this.root)}componentWillRender(){this.items.forEach((e=>{e.selected=e.value===this.value}))}render(){return s(r,{key:"18c9d3cb3221da01ad70cc2b1466d4cf6e66f91b",role:"group"},s("slot",{key:"d637acc53552932f0fc72e5437c7487a5bbef0f0",onSlotchange:this.slotChanged.bind(this)}))}get root(){return o(this)}static get watchers(){return{disabled:["watchDisabled"]}}};a.style=":host{display:inline-flex;block-size:var(--gse-ui-segmentedControl-height);padding:var(--gse-ui-segmentedControl-padding);background-color:var(--gse-ui-segmentedControl-container-background);border:var(--gse-ui-segmentedControl-border-width) var(--gse-ui-segmentedControl-border-style) var(--gse-ui-segmentedControl-border-color);border-radius:var(--gse-ui-segmentedControl-borderRadius)}";export{a as gux_segmented_control_beta}
@@ -1 +1 @@
1
- import{r as e,c as t,f as n,h as s,a}from"./p-mm833MRp.js";import{b as o}from"./p-D_8CR3cJ.js";import{t as c}from"./p-B_5U73XW.js";import{g as i,s as r,a as h,b as d,c as l,d as u,e as m,f as p,h as g}from"./p-ygfGN0jf.js";import"./p-Cd4R0amv.js";import"./p-CcCycvZh.js";import"./p-BMRf5pjV.js";var b={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."};const f=class{constructor(n){e(this,n),this.guxorderchange=t(this,"guxorderchange",7),this.highlightResults={matchCount:0,currentMatch:0},this.keyboardOrderChange=i()}watchKeyboardOrderChange(){r(this.root,this.keyboardOrderChange)}async componentWillLoad(){c(this.root),this.i18n=await o(this.root,b)}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=i()}onSearchInput(){this.highlightResults=m(this.root,this.searchElement)}onGuxCurrentMatchChanged(e){this.highlightResults=m(this.root,this.searchElement,e.detail)}onMainCheckboxChange(){p(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}=g(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:"86ea203d2bc59f262613c1343a7d67f0873e624c",class:"gux-container"},s("div",{key:"b5df3967d80cb060dc11fb5792d7f5fe3d3bae87",class:"gux-sr-only","aria-live":"polite"},`${this.highlightResults.matchCount} ${this.i18n("searchResults")}`),s("div",{key:"36f262c62b4b29973b672f5ab914977f49582716",class:"gux-search"},s("gux-content-search",{key:"8364d7aa5299ea32fd0e169fcceca1025e486e05","match-count":this.highlightResults.matchCount,"current-match":this.highlightResults.currentMatch,onGuxcurrentmatchchanged:e=>this.onGuxCurrentMatchChanged(e)},s("input",{key:"f4ceffb69a6360de9b2977462cae932357f9b04d",type:"search",placeholder:this.i18n("search"),onInput:()=>this.onSearchInput(),ref:e=>this.searchElement=e}))),s("div",{key:"84755123168c385dcb54ee82f1fc607350bf3133",class:"gux-select"},s("gux-form-field-checkbox",{key:"12784281b13bd165fca5c5098ec53c13bbfa28fe"},s("input",{key:"85b0f7fe1d879141797f50458db8084d5e357fe2",slot:"input",type:"checkbox",ref:e=>this.mainCheckboxElement=e,onChange:()=>this.onMainCheckboxChange()}),s("label",{key:"d631f892e0d2e5d11d106db7476e27d0021f2374",slot:"label"},this.renderSelectedColumnCount()))),s("div",{key:"793a77429a1d800764a0ee52f464642615d7d05b",class:"gux-list",onChange:()=>this.onListChange()},s("slot",{key:"66ebc2049c3d05c66874f12666ea0376e9d52381",onSlotchange:()=>this.onSlotChange()})),s("gux-announce-beta",{key:"7def738d9531f86410cc17ba78aa5443105934ed",ref:e=>this.announceElement=e}))}get root(){return a(this)}static get watchers(){return{keyboardOrderChange:["watchKeyboardOrderChange"]}}};f.style=".gux-container{inline-size:320px;min-inline-size:320px;padding:var(--gse-ui-dataTableItems-editColumn-editColumnContent-padding)}.gux-container .gux-search gux-content-search{inline-size: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-inline-start:24px}.gux-sr-only{}.gux-sr-only:not(:focus):not(:active){position:absolute;width:1px;height:1px;overflow:hidden;white-space:nowrap;clip-path:inset(50%)}";export{f as gux_column_manager}
1
+ import{r as e,c as t,f as n,h as a,a as s}from"./p-mm833MRp.js";import{b as o}from"./p-D_8CR3cJ.js";import{t as c}from"./p-B6h1eXrW.js";import{g as i,s as r,a as h,b as l,c as d,d as u,e as m,f,h as p}from"./p-ygfGN0jf.js";import"./p-Cd4R0amv.js";import"./p-CcCycvZh.js";import"./p-BMRf5pjV.js";var 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."};const b=class{constructor(n){e(this,n),this.guxorderchange=t(this,"guxorderchange",7),this.highlightResults={matchCount:0,currentMatch:0},this.keyboardOrderChange=i()}watchKeyboardOrderChange(){r(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=l(this.root,e);this.guxorderchange.emit(t)}}handleInternalkeyboardorderstart(e){e.stopPropagation();const t=e.detail,n=d(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=i()}onSearchInput(){this.highlightResults=m(this.root,this.searchElement)}onGuxCurrentMatchChanged(e){this.highlightResults=m(this.root,this.searchElement,e.detail)}onMainCheckboxChange(){f(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 a("div",null,a("span",{"aria-hidden":"true"},this.i18n("selectedColumnCount",{count:e,total:t})),a("span",{class:"gux-sr-only"},a("span",null,": ",this.i18n(e===t?"unselectAllColumnsScreenReader":"selectAllColumnsScreenReader",{count:e,total:t}))))}render(){return a("div",{key:"745ad6b0f7c7183994d85c187d938563112fcd49",class:"gux-container"},a("div",{key:"92ef46ad4ce5b1eff3f5d2e417e06fbca4f7f072",class:"gux-sr-only","aria-live":"polite"},`${this.highlightResults.matchCount} ${this.i18n("searchResults")}`),a("div",{key:"835b3fe8ef95b3ab924821452cde75c6f46cd208",class:"gux-search"},a("gux-content-search",{key:"8378e7af68f3958120b1b35e4029845870a38faf","match-count":this.highlightResults.matchCount,"current-match":this.highlightResults.currentMatch,onGuxcurrentmatchchanged:e=>this.onGuxCurrentMatchChanged(e)},a("input",{key:"ef2f3805bc855786a4f8cfbcc911f8664f61533d",type:"search",placeholder:this.i18n("search"),onInput:()=>this.onSearchInput(),ref:e=>this.searchElement=e}))),a("div",{key:"551a3c2f477e8cdb976994d30c0f2cc47ee7c537",class:"gux-select"},a("gux-form-field-checkbox",{key:"5faff47522f0b775bf1d12aa7376424a7f3d3f13"},a("input",{key:"a72e514759b10d454ddf22e377601d08197a1575",slot:"input",type:"checkbox",ref:e=>this.mainCheckboxElement=e,onChange:()=>this.onMainCheckboxChange()}),a("label",{key:"76ad520746c69e2ab377a124785fefaddcb4aa94",slot:"label"},this.renderSelectedColumnCount()))),a("div",{key:"75b6348fa3c03a2b8533ff0a6e907d1faca40eb8",class:"gux-list",onChange:()=>this.onListChange()},a("slot",{key:"079e2e2cefac3290c9de4705e230ce0ae74a19f2",onSlotchange:()=>this.onSlotChange()})),a("gux-announce-beta",{key:"325662b008ef07f58fdc22a6911fb3b3d3a64b52",ref:e=>this.announceElement=e}))}get root(){return s(this)}static get watchers(){return{keyboardOrderChange:["watchKeyboardOrderChange"]}}};b.style=".gux-container{inline-size:320px;min-inline-size:320px;padding:var(--gse-ui-dataTableItems-editColumn-editColumnContent-padding)}.gux-container .gux-search gux-content-search{inline-size: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-inline-start:24px}.gux-sr-only{}.gux-sr-only:not(:focus):not(:active){position:absolute;width:1px;height:1px;overflow:hidden;white-space:nowrap;clip-path:inset(50%)}";export{b as gux_column_manager}
@@ -1 +1 @@
1
- import{r as t,c as e,f as i,h as s,a as o}from"./p-mm833MRp.js";import{O as n}from"./p-CuMZPTZF.js";import{b as a}from"./p-D_8CR3cJ.js";import{s as r}from"./p-BMRf5pjV.js";import{o as l,c as u}from"./p-Cb3FOYGS.js";import{b as d}from"./p-Bg4q97BS.js";import{t as g}from"./p-B_5U73XW.js";import{O as c}from"./p-1mmdDpx8.js";import{s as h,b as p}from"./p-zrBw_m7x.js";import{h as x}from"./p-qzV3vtOw.js";import"./p-Cd4R0amv.js";import"./p-DjLdmWVU.js";var f={filterResults:"Type to filter dropdown results",noSelection:"Select...",dropdown:"Dropdown"},b=function(t,e,i,s){var o,n=arguments.length,a=n<3?e:null===s?s=Object.getOwnPropertyDescriptor(e,i):s;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(t,e,i,s);else for(var r=t.length-1;r>=0;r--)(o=t[r])&&(a=(n<3?o(a):n>3?o(e,i,a):o(e,i))||a);return n>3&&a&&Object.defineProperty(e,i,a),a};const v=class{constructor(i){t(this,i),this.guxexpanded=e(this,"guxexpanded",7),this.guxcollapsed=e(this,"guxcollapsed",7),this.disabled=!1,this.required=!1,this.expanded=!1}watchValue(t){this.validateValue(t,this.listboxElement)}watchDisabled(t){t&&(this.expanded=!1)}onKeydown(t){switch(t.key){case"Escape":return void this.collapseListbox("focusFieldButton");case"Tab":return void this.collapseListbox("noFocusChange");case"ArrowDown":return void(this.activeElementNotListbox()&&(t.preventDefault(),this.expanded=!0,h(this.listboxElement)))}}onInternallistboxoptionsupdated(t){t.stopPropagation(),i(this.root)}onBlur(t){this.stopPropagationOfInternalFocusEvents(t)}onFocus(t){this.stopPropagationOfInternalFocusEvents(t)}onFocusout(t){this.stopPropagationOfInternalFocusEvents(t)}onFocusin(t){this.stopPropagationOfInternalFocusEvents(t)}onClickOutside(){this.collapseListbox("noFocusChange")}onMutation(){var t;this.listboxElement||(this.listboxElement=null===(t=this.root)||void 0===t?void 0:t.querySelector("gux-listbox"),this.applyListboxEventListeners())}onInternalExpanded(t){t.stopPropagation(),this.guxexpanded.emit(),this.listboxElement&&d((()=>{this.listboxElement.focus()}))}onInternalCollapsed(t){t.stopPropagation(),this.guxcollapsed.emit()}connectedCallback(){var t;this.listboxElement=null===(t=this.root)||void 0===t?void 0:t.querySelector("gux-listbox"),this.listboxElement&&this.validateValue(this.value,this.listboxElement)}async componentWillLoad(){g(this.root),this.i18n=await a(this.root,f),l(this.root,(()=>{i(this.root)}))}componentDidLoad(){this.applyListboxEventListeners(),this.applyTableStyle()}componentWillRender(){this.listboxElement&&this.validateValue(this.value,this.listboxElement)}showTooltip(){var t;null===(t=this.truncateElement)||void 0===t||t.setShowTooltip()}hideTooltip(){var t;null===(t=this.truncateElement)||void 0===t||t.setHideTooltip()}validateValue(t,e){void 0!==t?this.getOptionElementByValue(t)&&(e.value=t):e&&(e.value=t)}applyTableStyle(){var t;"td"===(null===(t=this.root.parentElement)||void 0===t?void 0:t.tagName.toLowerCase())&&this.popupElement.classList.add("gux-has-table-parent")}applyListboxEventListeners(){var t,e;null===(t=this.listboxElement)||void 0===t||t.addEventListener("input",(t=>{t.stopPropagation(),this.updateValue(t.target.value)})),null===(e=this.listboxElement)||void 0===e||e.addEventListener("change",(t=>{t.stopPropagation()}))}stopPropagationOfInternalFocusEvents(t){if(this.root.contains(t.relatedTarget))return t.stopImmediatePropagation()}get optionElements(){return p(this.listboxElement)}getOptionElementByValue(t){return this.optionElements.find((e=>e.value===t))}fieldButtonClick(){this.expanded=!this.expanded}activeElementNotListbox(){return document.activeElement!==this.listboxElement}collapseListbox(t){this.expanded&&(this.expanded=!1),"focusFieldButton"===t&&this.fieldButtonElement.focus()}updateValue(t){this.value!==t&&(this.value=t,r(this.root,"input"),r(this.root,"change")),this.collapseListbox("focusFieldButton")}renderTargetDisplay(){const t=this.getOptionElementByValue(this.value);return t?s("div",{class:"gux-selected-option"},this.renderSelectedItem(t)):s("div",{class:"gux-placeholder"},this.placeholder||this.i18n("noSelection"))}renderSelectedItem(t){const e=t.tagName.toLowerCase();switch(e){case"gux-option":return this.renderOption(t);case"gux-option-icon":return this.renderIconOption(t);case"gux-option-status-beta":return this.renderStatusOption(t);default:return e}}renderOption(t){let e=t.textContent;if(x(t,"subtext")){const i=t.querySelector("[slot=subtext]");e=e.substring(0,e.length-i.textContent.length)}return s("gux-truncate",{ref:t=>this.truncateElement=t,dir:"auto"},e)}renderIconOption(t){let e=null;return null!==t.iconColor&&(e={color:t.iconColor}),s("span",{class:{"gux-selected-icon":!0,"gux-icon-position-end":"end"===t.iconPosition}},s("gux-icon",{"icon-name":t.iconName,style:e,decorative:!0,size:"small"}),s("gux-truncate",{ref:t=>this.truncateElement=t},t.textContent))}renderStatusOption(t){const e=t.textContent;return s("div",{class:"gux-status-indicator"},s("span",{class:`gux-status-icon gux-status-icon-${t.accent}`}),s("div",{class:"gux-status-indicator-text"},e))}renderPopup(){return s("slot",{slot:"popup"})}renderTarget(){return s("div",{class:{"gux-target-container-collapsed":!0,"gux-disabled":this.disabled},slot:"target"},s("button",{type:"button",class:"gux-field gux-field-button",disabled:u(this.root),onClick:this.fieldButtonClick.bind(this),onFocusin:this.showTooltip.bind(this),onFocusout:this.hideTooltip.bind(this),ref:t=>this.fieldButtonElement=t,"aria-haspopup":"listbox","aria-expanded":this.expanded.toString()},this.renderTargetContent(),s("gux-icon",{class:{"gux-expand-icon":!0},"screenreader-text":this.i18n("dropdown"),size:"small",iconName:this.expanded?"custom/chevron-up-small-regular":"custom/chevron-down-small-regular"})))}renderTargetContent(){return s("div",{class:"gux-field-content"},this.renderTargetDisplay())}render(){return s("gux-popup",{key:"394f1b44198baae7af5e20e971ba6d5b3dd317c1",expanded:this.expanded,disabled:this.disabled,inline:!0,ref:t=>this.popupElement=t},this.renderTarget(),this.renderPopup())}static get delegatesFocus(){return!0}get root(){return o(this)}static get watchers(){return{value:["watchValue"],disabled:["watchDisabled"]}}};b([n({triggerEvents:"mousedown"})],v.prototype,"onClickOutside",null),b([c({childList:!0,subtree:!0})],v.prototype,"onMutation",null),v.style=":host{display:inline-flex;inline-size:fit-content;min-inline-size:0;max-inline-size:100%}.gux-has-table-parent{position:relative;inset-inline-start:-8px}::slotted(gux-listbox){inline-size:fit-content}.gux-field,.gux-target-container-expanded{all:unset;box-sizing:border-box;display:inline-flex;flex-direction:row;flex-wrap:nowrap;place-content:stretch center;align-items:center;inline-size:100%;max-inline-size:100%;block-size:var(--gse-ui-formControl-input-textfield-height);font-family:var(--gse-ui-dataTableItems-inlineDropdown-label-fontFamily);font-size:var(--gse-ui-dataTableItems-inlineDropdown-label-fontSize);font-weight:var(--gse-ui-dataTableItems-inlineDropdown-label-fontWeight);line-height:var(--gse-ui-dataTableItems-inlineDropdown-label-lineHeight);cursor:pointer;background-color:inherit}.gux-target-container-expanded,.gux-target-container-collapsed .gux-field{padding-block:4px;padding-inline:8px}.gux-target-container-collapsed .gux-field-button:hover,.gux-target-container-expanded:hover{background-color:var(--gse-ui-dataTableItems-statusIndicator-hover)}.gux-field.gux-input-field{block-size:var(--gse-ui-dataTableItems-inlineDropdown-label-lineHeight)}.gux-field .gux-field-content{--gux-zindex-tooltip:3;display:inline-flex;flex:1 1 0;flex-direction:row;flex-wrap:nowrap;place-content:stretch flex-start;align-items:flex-start;min-inline-size:0;block-size:var(--gse-ui-dataTableItems-inlineDropdown-label-lineHeight)}.gux-field .gux-field-content .gux-filter,.gux-field .gux-field-content .gux-selected-option,.gux-field .gux-field-content .gux-placeholder{flex:1 1 auto;align-self:auto;order:0;padding:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.gux-field .gux-field-content .gux-placeholder{color:var(--gse-ui-dataTableItems-inlineDropdown-text)}.gux-field .gux-expand-icon{flex:0 0 auto;align-self:auto;order:0;padding-inline-start:var(--gse-ui-dataTableItems-inlineDropdown-gap);color:var(--gse-ui-dataTableItems-inlineDropdown-chevron-default)}.gux-target-container-expanded{background-color:var(--gse-ui-dataTableItems-inlineDropdown-active);border-radius:var(--gse-ui-dataTableItems-statusIndicator-borderRadius)}.gux-target-container-expanded:focus-visible{outline:var(--gse-ui-formControl-input-focus-border-width) var(--gse-ui-formControl-input-focus-border-style) var(--gse-ui-formControl-input-focus-border-color);outline-offset:var(--gse-semantic-focusOutline-offset)}.gux-target-container-expanded:focus-within:has(:focus-visible){outline:var(--gse-ui-formControl-input-focus-border-width) var(--gse-ui-formControl-input-focus-border-style) var(--gse-ui-formControl-input-focus-border-color);outline-offset:var(--gse-semantic-focusOutline-offset)}.gux-target-container-expanded .gux-filter-input{background-color:inherit;border:none}.gux-target-container-expanded .gux-filter-input:focus{outline:none;border:none}.gux-target-container-expanded .gux-field-button{inline-size:auto;block-size:var(--gse-ui-dataTableItems-inlineDropdown-label-lineHeight);margin:0;outline:none;background:inherit;border:none;box-shadow:none}.gux-target-container-expanded .gux-field-button:focus{outline:none}.gux-disabled.gux-target-container-collapsed .gux-field-button,.gux-disabled.gux-target-container-expanded{pointer-events:none;cursor:default;opacity:var(--gse-ui-formControl-input-disabled-opacity)}.gux-target-container-collapsed .gux-field-button{border-radius:var(--gse-ui-dataTableItems-statusIndicator-borderRadius)}.gux-target-container-collapsed .gux-field-button:focus-visible{outline:var(--gse-ui-formControl-input-focus-border-width) var(--gse-ui-formControl-input-focus-border-style) var(--gse-ui-formControl-input-focus-border-color);outline-offset:var(--gse-semantic-focusOutline-offset)}.gux-target-container-collapsed .gux-field-button:focus-within:has(:focus-visible){outline:var(--gse-ui-formControl-input-focus-border-width) var(--gse-ui-formControl-input-focus-border-style) var(--gse-ui-formControl-input-focus-border-color);outline-offset:var(--gse-semantic-focusOutline-offset)}::slotted(gux-listbox){outline:none;box-shadow:var(--gse-ui-menu-boxShadow)}.gux-selected-icon{display:flex;flex-direction:row;align-items:center}.gux-selected-icon.gux-icon-position-end{flex-direction:row-reverse}.gux-selected-icon gux-icon{padding-inline-end:var(--gse-ui-dataTableItems-inlineDropdown-gap)}.gux-status-indicator{display:inline-flex;gap:var(--gse-ui-dataTableItems-statusIndicator-gap);align-items:center}.gux-status-icon{display:inline-flex}.gux-status-icon::before{content:\"\"}.gux-status-icon-info::before{-webkit-mask-image:url(\"data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12' %3E%3Cpath d='M6 0C7.59 0 9.12 0.629997 10.245 1.755C11.37 2.88 12 4.41 12 6C12 7.59 11.37 9.12 10.245 10.245C9.12 11.37 7.59 12 6 12C4.41 12 2.88 11.37 1.755 10.245C0.629997 9.12 0 7.59 0 6C0 4.41 0.629997 2.88 1.755 1.755C2.88 0.629997 4.41 0 6 0Z' /%3E%3C/svg%3E\");mask-image:url(\"data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12' %3E%3Cpath d='M6 0C7.59 0 9.12 0.629997 10.245 1.755C11.37 2.88 12 4.41 12 6C12 7.59 11.37 9.12 10.245 10.245C9.12 11.37 7.59 12 6 12C4.41 12 2.88 11.37 1.755 10.245C0.629997 9.12 0 7.59 0 6C0 4.41 0.629997 2.88 1.755 1.755C2.88 0.629997 4.41 0 6 0Z' /%3E%3C/svg%3E\");inline-size:var(--gse-ui-dataTableItems-statusIndicator-label-fontSize);block-size:var(--gse-ui-dataTableItems-statusIndicator-label-fontSize);background:var(--gse-ui-statusGlyph-information)}.gux-status-icon-warning::before{inline-size:var(--gse-ui-dataTableItems-statusIndicator-label-fontSize);block-size:var(--gse-ui-dataTableItems-statusIndicator-label-fontSize);-webkit-mask-image:url(\"data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12' %3E%3Cpath d='M6.16516 0.749268C6.49521 0.749268 6.80275 0.921791 6.97527 1.21434L12.0386 9.8407C12.2111 10.1332 12.2111 10.4933 12.0386 10.7783C11.8735 11.0709 11.5585 11.2509 11.2285 11.2509H1.10186C0.764303 11.2509 0.456764 11.0709 0.291738 10.7783C0.126712 10.4858 0.126712 10.1257 0.291738 9.8407L5.35504 1.21434C5.52757 0.929292 5.8276 0.749268 6.16516 0.749268Z' /%3E%3C/svg%3E\");mask-image:url(\"data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12' %3E%3Cpath d='M6.16516 0.749268C6.49521 0.749268 6.80275 0.921791 6.97527 1.21434L12.0386 9.8407C12.2111 10.1332 12.2111 10.4933 12.0386 10.7783C11.8735 11.0709 11.5585 11.2509 11.2285 11.2509H1.10186C0.764303 11.2509 0.456764 11.0709 0.291738 10.7783C0.126712 10.4858 0.126712 10.1257 0.291738 9.8407L5.35504 1.21434C5.52757 0.929292 5.8276 0.749268 6.16516 0.749268Z' /%3E%3C/svg%3E\");background:var(--gse-ui-statusGlyph-neutral)}.gux-status-icon-error::before{inline-size:var(--gse-ui-dataTableItems-statusIndicator-label-fontSize);block-size:var(--gse-ui-dataTableItems-statusIndicator-label-fontSize);-webkit-mask-image:url(\"data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12' %3E%3Cpath d='M0.236102 6.88C-0.0787008 6.33785 -0.0787008 5.66215 0.236102 5.12L2.36477 1.38C2.67957 0.837853 3.24922 0.5 3.87133 0.5H8.12867C8.75078 0.5 9.32043 0.837853 9.63523 1.38L11.7639 5.12C12.0787 5.66215 12.0787 6.33785 11.7639 6.88L9.63523 10.62C9.32043 11.1621 8.75078 11.5 8.12867 11.5H3.87133C3.24922 11.5 2.67957 11.1621 2.36477 10.62L0.236102 6.88Z' /%3E%3C/svg%3E\");mask-image:url(\"data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12' %3E%3Cpath d='M0.236102 6.88C-0.0787008 6.33785 -0.0787008 5.66215 0.236102 5.12L2.36477 1.38C2.67957 0.837853 3.24922 0.5 3.87133 0.5H8.12867C8.75078 0.5 9.32043 0.837853 9.63523 1.38L11.7639 5.12C12.0787 5.66215 12.0787 6.33785 11.7639 6.88L9.63523 10.62C9.32043 11.1621 8.75078 11.5 8.12867 11.5H3.87133C3.24922 11.5 2.67957 11.1621 2.36477 10.62L0.236102 6.88Z' /%3E%3C/svg%3E\");background:var(--gse-ui-statusGlyph-negative)}.gux-status-icon-success::before{inline-size:var(--gse-ui-dataTableItems-statusIndicator-label-fontSize);block-size:var(--gse-ui-dataTableItems-statusIndicator-label-fontSize);-webkit-mask-image:url(\"data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12' %3E%3Cpath d='M6 0C7.59 0 9.12 0.629997 10.245 1.755C11.37 2.88 12 4.41 12 6C12 7.59 11.37 9.12 10.245 10.245C9.12 11.37 7.59 12 6 12C4.41 12 2.88 11.37 1.755 10.245C0.629997 9.12 0 7.59 0 6C0 4.41 0.629997 2.88 1.755 1.755C2.88 0.629997 4.41 0 6 0Z' /%3E%3C/svg%3E\");mask-image:url(\"data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12' %3E%3Cpath d='M6 0C7.59 0 9.12 0.629997 10.245 1.755C11.37 2.88 12 4.41 12 6C12 7.59 11.37 9.12 10.245 10.245C9.12 11.37 7.59 12 6 12C4.41 12 2.88 11.37 1.755 10.245C0.629997 9.12 0 7.59 0 6C0 4.41 0.629997 2.88 1.755 1.755C2.88 0.629997 4.41 0 6 0Z' /%3E%3C/svg%3E\");background:var(--gse-ui-statusGlyph-positive)}";export{v as gux_inline_dropdown_beta}
1
+ import{r as t,c as e,f as i,h as s,a as o}from"./p-mm833MRp.js";import{O as n}from"./p-CuMZPTZF.js";import{b as a}from"./p-D_8CR3cJ.js";import{s as r}from"./p-BMRf5pjV.js";import{o as l,c as u}from"./p-Cb3FOYGS.js";import{b as d}from"./p-Bg4q97BS.js";import{t as g}from"./p-B6h1eXrW.js";import{O as c}from"./p-1mmdDpx8.js";import{s as h,b as p}from"./p-zrBw_m7x.js";import{h as x}from"./p-qzV3vtOw.js";import"./p-Cd4R0amv.js";import"./p-DjLdmWVU.js";var f={filterResults:"Type to filter dropdown results",noSelection:"Select...",dropdown:"Dropdown"},v=function(t,e,i,s){var o,n=arguments.length,a=n<3?e:null===s?s=Object.getOwnPropertyDescriptor(e,i):s;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(t,e,i,s);else for(var r=t.length-1;r>=0;r--)(o=t[r])&&(a=(n<3?o(a):n>3?o(e,i,a):o(e,i))||a);return n>3&&a&&Object.defineProperty(e,i,a),a};const b=class{constructor(i){t(this,i),this.guxexpanded=e(this,"guxexpanded",7),this.guxcollapsed=e(this,"guxcollapsed",7),this.disabled=!1,this.required=!1,this.expanded=!1}watchValue(t){this.validateValue(t,this.listboxElement)}watchDisabled(t){t&&(this.expanded=!1)}onKeydown(t){switch(t.key){case"Escape":return void this.collapseListbox("focusFieldButton");case"Tab":return void this.collapseListbox("noFocusChange");case"ArrowDown":return void(this.activeElementNotListbox()&&(t.preventDefault(),this.expanded=!0,h(this.listboxElement)))}}onInternallistboxoptionsupdated(t){t.stopPropagation(),i(this.root)}onBlur(t){this.stopPropagationOfInternalFocusEvents(t)}onFocus(t){this.stopPropagationOfInternalFocusEvents(t)}onFocusout(t){this.stopPropagationOfInternalFocusEvents(t)}onFocusin(t){this.stopPropagationOfInternalFocusEvents(t)}onClickOutside(){this.collapseListbox("noFocusChange")}onMutation(){var t;this.listboxElement||(this.listboxElement=null===(t=this.root)||void 0===t?void 0:t.querySelector("gux-listbox"),this.applyListboxEventListeners())}onInternalExpanded(t){t.stopPropagation(),this.guxexpanded.emit(),this.listboxElement&&d((()=>{this.listboxElement.focus()}))}onInternalCollapsed(t){t.stopPropagation(),this.guxcollapsed.emit()}connectedCallback(){var t;this.listboxElement=null===(t=this.root)||void 0===t?void 0:t.querySelector("gux-listbox"),this.listboxElement&&this.validateValue(this.value,this.listboxElement)}async componentWillLoad(){g(this.root),this.i18n=await a(this.root,f),l(this.root,(()=>{i(this.root)}))}componentDidLoad(){this.applyListboxEventListeners(),this.applyTableStyle()}componentWillRender(){this.listboxElement&&this.validateValue(this.value,this.listboxElement)}showTooltip(){var t;null===(t=this.truncateElement)||void 0===t||t.setShowTooltip()}hideTooltip(){var t;null===(t=this.truncateElement)||void 0===t||t.setHideTooltip()}validateValue(t,e){void 0!==t?this.getOptionElementByValue(t)&&(e.value=t):e&&(e.value=t)}applyTableStyle(){var t;"td"===(null===(t=this.root.parentElement)||void 0===t?void 0:t.tagName.toLowerCase())&&this.popupElement.classList.add("gux-has-table-parent")}applyListboxEventListeners(){var t,e;null===(t=this.listboxElement)||void 0===t||t.addEventListener("input",(t=>{t.stopPropagation(),this.updateValue(t.target.value)})),null===(e=this.listboxElement)||void 0===e||e.addEventListener("change",(t=>{t.stopPropagation()}))}stopPropagationOfInternalFocusEvents(t){if(this.root.contains(t.relatedTarget))return t.stopImmediatePropagation()}get optionElements(){return p(this.listboxElement)}getOptionElementByValue(t){return this.optionElements.find((e=>e.value===t))}fieldButtonClick(){this.expanded=!this.expanded}activeElementNotListbox(){return document.activeElement!==this.listboxElement}collapseListbox(t){this.expanded&&(this.expanded=!1),"focusFieldButton"===t&&this.fieldButtonElement.focus()}updateValue(t){this.value!==t&&(this.value=t,r(this.root,"input"),r(this.root,"change")),this.collapseListbox("focusFieldButton")}renderTargetDisplay(){const t=this.getOptionElementByValue(this.value);return t?s("div",{class:"gux-selected-option"},this.renderSelectedItem(t)):s("div",{class:"gux-placeholder"},this.placeholder||this.i18n("noSelection"))}renderSelectedItem(t){const e=t.tagName.toLowerCase();switch(e){case"gux-option":return this.renderOption(t);case"gux-option-icon":return this.renderIconOption(t);case"gux-option-status-beta":return this.renderStatusOption(t);default:return e}}renderOption(t){let e=t.textContent;if(x(t,"subtext")){const i=t.querySelector("[slot=subtext]");e=e.substring(0,e.length-i.textContent.length)}return s("gux-truncate",{ref:t=>this.truncateElement=t,dir:"auto"},e)}renderIconOption(t){let e=null;return null!==t.iconColor&&(e={color:t.iconColor}),s("span",{class:{"gux-selected-icon":!0,"gux-icon-position-end":"end"===t.iconPosition}},s("gux-icon",{"icon-name":t.iconName,style:e,decorative:!0,size:"small"}),s("gux-truncate",{ref:t=>this.truncateElement=t},t.textContent))}renderStatusOption(t){const e=t.textContent;return s("div",{class:"gux-status-indicator"},s("span",{class:`gux-status-icon gux-status-icon-${t.accent}`}),s("div",{class:"gux-status-indicator-text"},e))}renderPopup(){return s("slot",{slot:"popup"})}renderTarget(){return s("div",{class:{"gux-target-container-collapsed":!0,"gux-disabled":this.disabled},slot:"target"},s("button",{type:"button",class:"gux-field gux-field-button",disabled:u(this.root),onClick:this.fieldButtonClick.bind(this),onFocusin:this.showTooltip.bind(this),onFocusout:this.hideTooltip.bind(this),ref:t=>this.fieldButtonElement=t,"aria-haspopup":"listbox","aria-expanded":this.expanded.toString()},this.renderTargetContent(),s("gux-icon",{class:{"gux-expand-icon":!0},"screenreader-text":this.i18n("dropdown"),size:"small",iconName:this.expanded?"custom/chevron-up-small-regular":"custom/chevron-down-small-regular"})))}renderTargetContent(){return s("div",{class:"gux-field-content"},this.renderTargetDisplay())}render(){return s("gux-popup",{key:"d15d79f2efabd2d1f6362efa71f47f537b18add4",expanded:this.expanded,disabled:this.disabled,inline:!0,ref:t=>this.popupElement=t},this.renderTarget(),this.renderPopup())}static get delegatesFocus(){return!0}get root(){return o(this)}static get watchers(){return{value:["watchValue"],disabled:["watchDisabled"]}}};v([n({triggerEvents:"mousedown"})],b.prototype,"onClickOutside",null),v([c({childList:!0,subtree:!0})],b.prototype,"onMutation",null),b.style=":host{display:inline-flex;inline-size:fit-content;min-inline-size:0;max-inline-size:100%}.gux-has-table-parent{position:relative;inset-inline-start:-8px}::slotted(gux-listbox){inline-size:fit-content}.gux-field,.gux-target-container-expanded{all:unset;box-sizing:border-box;display:inline-flex;flex-direction:row;flex-wrap:nowrap;place-content:stretch center;align-items:center;inline-size:100%;max-inline-size:100%;block-size:var(--gse-ui-formControl-input-textfield-height);font-family:var(--gse-ui-dataTableItems-inlineDropdown-label-fontFamily);font-size:var(--gse-ui-dataTableItems-inlineDropdown-label-fontSize);font-weight:var(--gse-ui-dataTableItems-inlineDropdown-label-fontWeight);line-height:var(--gse-ui-dataTableItems-inlineDropdown-label-lineHeight);cursor:pointer;background-color:inherit}.gux-target-container-expanded,.gux-target-container-collapsed .gux-field{padding-block:4px;padding-inline:8px}.gux-target-container-collapsed .gux-field-button:hover,.gux-target-container-expanded:hover{background-color:var(--gse-ui-dataTableItems-statusIndicator-hover)}.gux-field.gux-input-field{block-size:var(--gse-ui-dataTableItems-inlineDropdown-label-lineHeight)}.gux-field .gux-field-content{--gux-zindex-tooltip:3;display:inline-flex;flex:1 1 0;flex-direction:row;flex-wrap:nowrap;place-content:stretch flex-start;align-items:flex-start;min-inline-size:0;block-size:var(--gse-ui-dataTableItems-inlineDropdown-label-lineHeight)}.gux-field .gux-field-content .gux-filter,.gux-field .gux-field-content .gux-selected-option,.gux-field .gux-field-content .gux-placeholder{flex:1 1 auto;align-self:auto;order:0;padding:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.gux-field .gux-field-content .gux-placeholder{color:var(--gse-ui-dataTableItems-inlineDropdown-text)}.gux-field .gux-expand-icon{flex:0 0 auto;align-self:auto;order:0;padding-inline-start:var(--gse-ui-dataTableItems-inlineDropdown-gap);color:var(--gse-ui-dataTableItems-inlineDropdown-chevron-default)}.gux-target-container-expanded{background-color:var(--gse-ui-dataTableItems-inlineDropdown-active);border-radius:var(--gse-ui-dataTableItems-statusIndicator-borderRadius)}.gux-target-container-expanded:focus-visible{outline:var(--gse-ui-formControl-input-focus-border-width) var(--gse-ui-formControl-input-focus-border-style) var(--gse-ui-formControl-input-focus-border-color);outline-offset:var(--gse-semantic-focusOutline-offset)}.gux-target-container-expanded:focus-within:has(:focus-visible){outline:var(--gse-ui-formControl-input-focus-border-width) var(--gse-ui-formControl-input-focus-border-style) var(--gse-ui-formControl-input-focus-border-color);outline-offset:var(--gse-semantic-focusOutline-offset)}.gux-target-container-expanded .gux-filter-input{background-color:inherit;border:none}.gux-target-container-expanded .gux-filter-input:focus{outline:none;border:none}.gux-target-container-expanded .gux-field-button{inline-size:auto;block-size:var(--gse-ui-dataTableItems-inlineDropdown-label-lineHeight);margin:0;outline:none;background:inherit;border:none;box-shadow:none}.gux-target-container-expanded .gux-field-button:focus{outline:none}.gux-disabled.gux-target-container-collapsed .gux-field-button,.gux-disabled.gux-target-container-expanded{pointer-events:none;cursor:default;opacity:var(--gse-ui-formControl-input-disabled-opacity)}.gux-target-container-collapsed .gux-field-button{border-radius:var(--gse-ui-dataTableItems-statusIndicator-borderRadius)}.gux-target-container-collapsed .gux-field-button:focus-visible{outline:var(--gse-ui-formControl-input-focus-border-width) var(--gse-ui-formControl-input-focus-border-style) var(--gse-ui-formControl-input-focus-border-color);outline-offset:var(--gse-semantic-focusOutline-offset)}.gux-target-container-collapsed .gux-field-button:focus-within:has(:focus-visible){outline:var(--gse-ui-formControl-input-focus-border-width) var(--gse-ui-formControl-input-focus-border-style) var(--gse-ui-formControl-input-focus-border-color);outline-offset:var(--gse-semantic-focusOutline-offset)}::slotted(gux-listbox){outline:none;box-shadow:var(--gse-ui-menu-boxShadow)}.gux-selected-icon{display:flex;flex-direction:row;align-items:center}.gux-selected-icon.gux-icon-position-end{flex-direction:row-reverse}.gux-selected-icon gux-icon{padding-inline-end:var(--gse-ui-dataTableItems-inlineDropdown-gap)}.gux-status-indicator{display:inline-flex;gap:var(--gse-ui-dataTableItems-statusIndicator-gap);align-items:center}.gux-status-icon{display:inline-flex}.gux-status-icon::before{content:\"\"}.gux-status-icon-info::before{-webkit-mask-image:url(\"data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12' %3E%3Cpath d='M6 0C7.59 0 9.12 0.629997 10.245 1.755C11.37 2.88 12 4.41 12 6C12 7.59 11.37 9.12 10.245 10.245C9.12 11.37 7.59 12 6 12C4.41 12 2.88 11.37 1.755 10.245C0.629997 9.12 0 7.59 0 6C0 4.41 0.629997 2.88 1.755 1.755C2.88 0.629997 4.41 0 6 0Z' /%3E%3C/svg%3E\");mask-image:url(\"data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12' %3E%3Cpath d='M6 0C7.59 0 9.12 0.629997 10.245 1.755C11.37 2.88 12 4.41 12 6C12 7.59 11.37 9.12 10.245 10.245C9.12 11.37 7.59 12 6 12C4.41 12 2.88 11.37 1.755 10.245C0.629997 9.12 0 7.59 0 6C0 4.41 0.629997 2.88 1.755 1.755C2.88 0.629997 4.41 0 6 0Z' /%3E%3C/svg%3E\");inline-size:var(--gse-ui-dataTableItems-statusIndicator-label-fontSize);block-size:var(--gse-ui-dataTableItems-statusIndicator-label-fontSize);background:var(--gse-ui-statusGlyph-information)}.gux-status-icon-warning::before{inline-size:var(--gse-ui-dataTableItems-statusIndicator-label-fontSize);block-size:var(--gse-ui-dataTableItems-statusIndicator-label-fontSize);-webkit-mask-image:url(\"data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12' %3E%3Cpath d='M6.16516 0.749268C6.49521 0.749268 6.80275 0.921791 6.97527 1.21434L12.0386 9.8407C12.2111 10.1332 12.2111 10.4933 12.0386 10.7783C11.8735 11.0709 11.5585 11.2509 11.2285 11.2509H1.10186C0.764303 11.2509 0.456764 11.0709 0.291738 10.7783C0.126712 10.4858 0.126712 10.1257 0.291738 9.8407L5.35504 1.21434C5.52757 0.929292 5.8276 0.749268 6.16516 0.749268Z' /%3E%3C/svg%3E\");mask-image:url(\"data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12' %3E%3Cpath d='M6.16516 0.749268C6.49521 0.749268 6.80275 0.921791 6.97527 1.21434L12.0386 9.8407C12.2111 10.1332 12.2111 10.4933 12.0386 10.7783C11.8735 11.0709 11.5585 11.2509 11.2285 11.2509H1.10186C0.764303 11.2509 0.456764 11.0709 0.291738 10.7783C0.126712 10.4858 0.126712 10.1257 0.291738 9.8407L5.35504 1.21434C5.52757 0.929292 5.8276 0.749268 6.16516 0.749268Z' /%3E%3C/svg%3E\");background:var(--gse-ui-statusGlyph-neutral)}.gux-status-icon-error::before{inline-size:var(--gse-ui-dataTableItems-statusIndicator-label-fontSize);block-size:var(--gse-ui-dataTableItems-statusIndicator-label-fontSize);-webkit-mask-image:url(\"data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12' %3E%3Cpath d='M0.236102 6.88C-0.0787008 6.33785 -0.0787008 5.66215 0.236102 5.12L2.36477 1.38C2.67957 0.837853 3.24922 0.5 3.87133 0.5H8.12867C8.75078 0.5 9.32043 0.837853 9.63523 1.38L11.7639 5.12C12.0787 5.66215 12.0787 6.33785 11.7639 6.88L9.63523 10.62C9.32043 11.1621 8.75078 11.5 8.12867 11.5H3.87133C3.24922 11.5 2.67957 11.1621 2.36477 10.62L0.236102 6.88Z' /%3E%3C/svg%3E\");mask-image:url(\"data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12' %3E%3Cpath d='M0.236102 6.88C-0.0787008 6.33785 -0.0787008 5.66215 0.236102 5.12L2.36477 1.38C2.67957 0.837853 3.24922 0.5 3.87133 0.5H8.12867C8.75078 0.5 9.32043 0.837853 9.63523 1.38L11.7639 5.12C12.0787 5.66215 12.0787 6.33785 11.7639 6.88L9.63523 10.62C9.32043 11.1621 8.75078 11.5 8.12867 11.5H3.87133C3.24922 11.5 2.67957 11.1621 2.36477 10.62L0.236102 6.88Z' /%3E%3C/svg%3E\");background:var(--gse-ui-statusGlyph-negative)}.gux-status-icon-success::before{inline-size:var(--gse-ui-dataTableItems-statusIndicator-label-fontSize);block-size:var(--gse-ui-dataTableItems-statusIndicator-label-fontSize);-webkit-mask-image:url(\"data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12' %3E%3Cpath d='M6 0C7.59 0 9.12 0.629997 10.245 1.755C11.37 2.88 12 4.41 12 6C12 7.59 11.37 9.12 10.245 10.245C9.12 11.37 7.59 12 6 12C4.41 12 2.88 11.37 1.755 10.245C0.629997 9.12 0 7.59 0 6C0 4.41 0.629997 2.88 1.755 1.755C2.88 0.629997 4.41 0 6 0Z' /%3E%3C/svg%3E\");mask-image:url(\"data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12' %3E%3Cpath d='M6 0C7.59 0 9.12 0.629997 10.245 1.755C11.37 2.88 12 4.41 12 6C12 7.59 11.37 9.12 10.245 10.245C9.12 11.37 7.59 12 6 12C4.41 12 2.88 11.37 1.755 10.245C0.629997 9.12 0 7.59 0 6C0 4.41 0.629997 2.88 1.755 1.755C2.88 0.629997 4.41 0 6 0Z' /%3E%3C/svg%3E\");background:var(--gse-ui-statusGlyph-positive)}";export{b as gux_inline_dropdown_beta}
@@ -1 +1 @@
1
- import{r as e,h as t,a as i}from"./p-mm833MRp.js";import{t as r}from"./p-B_5U73XW.js";import{g as s,s as o,v as a}from"./p-DHLxhscH.js";import{c as d,o as l}from"./p-Cb3FOYGS.js";import{p as c}from"./p-PYfNAK8p.js";import"./p-D9jKBqIb.js";import"./p-DxtJDeL9.js";import"./p-BMRf5pjV.js";import"./p-qzV3vtOw.js";const n=class{constructor(t){e(this,t),this.variant="simple"}componentWillLoad(){this.setInput(),r(this.root,{variant:this.variant})}disconnectedCallback(){this.disabledObserver&&this.disabledObserver.disconnect()}setInput(){this.input=s(this.root,'input[type="radio"][slot="input"], input[type="checkbox"][slot="input"]'),c(this.input),o(this.root,this.input,"description"),this.disabled=d(this.input),this.disabledObserver=l(this.input,(e=>{this.disabled=e})),a(this.root,this.input)}renderDescription(){return"simple"===this.variant?t("gux-screen-reader-beta",null,t("slot",{name:"description"})):t("div",{class:"gux-description-container"},t("slot",{name:"description"}))}renderBadge(){if("descriptive"===this.variant)return t("slot",{name:"badge"})}render(){return t("div",{key:"12390d2f77b6a1515c4c65c2fe9bb97730419127",class:{"gux-selector-card":!0,[`gux-${this.variant}`]:!0,"gux-disabled":this.disabled}},t("div",{key:"eeb64faf9ae20387f17979e3479baf4d7fa54c7b",class:"gux-content"},t("div",{key:"09db2d76b6db55a6fe52bd576eb94ef783a1c4fa",class:"gux-icon"},t("slot",{key:"bdd27857067156f9532439d188e1793e582a3610",name:"icon"})),t("div",{key:"409d2ae85fafffbbd777ef53a326450edc087163",class:"gux-label-container"},t("slot",{key:"e6ce3fcd69a234571d587f5e92556f5463e1d8e7",name:"label"})),t("slot",{key:"706c728c6389577256a354ad8c9d878003f3d2a0",name:"input"}),this.renderDescription(),this.renderBadge()))}get root(){return i(this)}};n.style=":host{display:flex;min-inline-size:var(--gse-ui-selectorCard-simple-minWidth);max-inline-size:var(--gse-ui-selectorCard-simple-maxWidth);min-block-size:var(--gse-ui-selectorCard-simple-minHeight);max-block-size:var(--gse-ui-selectorCard-simple-maxHeight)}:host([variant=descriptive]){min-inline-size:var(--gse-ui-selectorCard-descriptive-minWidth);max-inline-size:var(--gse-ui-selectorCard-descriptive-maxWidth);min-block-size:var(--gse-ui-selectorCard-descriptive-minHeight);max-block-size:var(--gse-ui-selectorCard-descriptive-maxHeight)}::slotted(*){cursor:pointer}::slotted(gux-icon){inline-size:var(--gse-ui-icon-medium-size);block-size:var(--gse-ui-icon-medium-size);color:var(--gse-ui-selectorCard-ilustrativeIcon-foregroundColor)}::slotted(label){inline-size:100%;font-family:var(--gse-ui-selectorCard-simple-label-fontFamily);font-size:var(--gse-ui-selectorCard-simple-label-fontSize);font-weight:var(--gse-ui-selectorCard-simple-label-fontWeight);line-height:var(--gse-ui-selectorCard-simple-label-lineHeight);color:var(--gse-ui-selectorCard-text-foregroundColor)}::slotted(input[type=radio]),::slotted(input[type=checkbox]){position:absolute;inset-block-start:0;inline-size:100%;block-size:100%;margin:0;color:var(--gse-ui-radioButton-icon-default-unselectedForegroundColor);-webkit-appearance:none;appearance:none;outline:none;border:var(--gse-ui-selectorCard-unselected-border-width) var(--gse-ui-selectorCard-unselected-border-style) var(--gse-ui-selectorCard-unselected-border-color);border-radius:var(--gse-ui-selectorCard-simple-borderRadius)}::slotted(input[type=radio])::before,::slotted(input[type=checkbox])::before{position:absolute;inset-block-start:var(--gse-ui-selectorCard-descriptive-text-gap);inset-inline-end:var(--gse-ui-selectorCard-descriptive-text-gap);display:inline-grid;grid-area:1/1;inline-size:var(--gse-ui-radioButton-icon-width);block-size:var(--gse-ui-radioButton-icon-height);vertical-align:middle;color:var(--gse-ui-radioButton-icon-default-unselectedForegroundColor);text-align:center;content:\"\"}::slotted(input[type=radio])::before{border-radius:50%}::slotted(input[type=radio]:checked),::slotted(input[type=checkbox]:checked){border:var(--gse-ui-selectorCard-selected-border-width) var(--gse-ui-selectorCard-selected-border-style) var(--gse-ui-selectorCard-selected-border-color)}::slotted(input[type=radio]:checked)::before,::slotted(input[type=checkbox]:checked)::before{background-color:var(--gse-ui-selectorCard-default-selectedIndicator-selected-foregroundColor)}::slotted(input[type=radio]:not(:checked))::before,::slotted(input[type=checkbox]:not(:checked))::before{background-color:var(--gse-ui-selectorCard-default-selectedIndicator-unselected-foregroundColor)}::slotted(input[type=radio]:disabled),::slotted(input[type=checkbox]:disabled){pointer-events:none;cursor:not-allowed;opacity:var(--gse-ui-radioButton-disabled-opacity)}::slotted(input[type=radio])::before{-webkit-mask-image:url(\"data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M16 8C16 12.4187 12.4187 16 8 16C3.58125 16 0 12.4187 0 8C0 3.58125 3.58125 0 8 0C12.4187 0 16 3.58125 16 8ZM8 1.5C4.40937 1.5 1.5 4.40937 1.5 8C1.5 11.5906 4.40937 14.5 8 14.5C11.5906 14.5 14.5 11.5906 14.5 8C14.5 4.40937 11.5906 1.5 8 1.5Z' fill-rule='evenodd' clip-rule='evenodd' /%3E%3C/svg%3E\");mask-image:url(\"data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M16 8C16 12.4187 12.4187 16 8 16C3.58125 16 0 12.4187 0 8C0 3.58125 3.58125 0 8 0C12.4187 0 16 3.58125 16 8ZM8 1.5C4.40937 1.5 1.5 4.40937 1.5 8C1.5 11.5906 4.40937 14.5 8 14.5C11.5906 14.5 14.5 11.5906 14.5 8C14.5 4.40937 11.5906 1.5 8 1.5Z' fill-rule='evenodd' clip-rule='evenodd' /%3E%3C/svg%3E\")}::slotted(input[type=radio]:checked)::before{-webkit-mask-image:url(\"data:image/svg+xml,%3Csvg viewBox='0 0 16 16' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M5 8C5 6.31563 6.31563 5 8 5C9.65625 5 11 6.31563 11 8C11 9.65625 9.65625 11 8 11C6.31563 11 5 9.65625 5 8ZM16 8C16 12.4187 12.4187 16 8 16C3.58125 16 0 12.4187 0 8C0 3.58125 3.58125 0 8 0C12.4187 0 16 3.58125 16 8ZM8 1.5C4.40938 1.5 1.5 4.40938 1.5 8C1.5 11.5906 4.40938 14.5 8 14.5C11.5906 14.5 14.5 11.5906 14.5 8C14.5 4.40938 11.5906 1.5 8 1.5Z' /%3E%3C/svg%3E\");mask-image:url(\"data:image/svg+xml,%3Csvg viewBox='0 0 16 16' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M5 8C5 6.31563 6.31563 5 8 5C9.65625 5 11 6.31563 11 8C11 9.65625 9.65625 11 8 11C6.31563 11 5 9.65625 5 8ZM16 8C16 12.4187 12.4187 16 8 16C3.58125 16 0 12.4187 0 8C0 3.58125 3.58125 0 8 0C12.4187 0 16 3.58125 16 8ZM8 1.5C4.40938 1.5 1.5 4.40938 1.5 8C1.5 11.5906 4.40938 14.5 8 14.5C11.5906 14.5 14.5 11.5906 14.5 8C14.5 4.40938 11.5906 1.5 8 1.5Z' /%3E%3C/svg%3E\")}::slotted(input[type=checkbox])::before{-webkit-mask-image:url(\"data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' %3E%3Cpath d='M13.7143 0C14.975 0 16 1.02321 16 2.28571V13.7143C16 14.975 14.975 16 13.7143 16H2.28571C1.02321 16 0 14.975 0 13.7143V2.28571C0 1.02321 1.02321 0 2.28571 0H13.7143ZM13.7143 1.71429H2.28571C1.97 1.71429 1.71429 1.97 1.71429 2.28571V13.7143C1.71429 14.0286 1.97 14.2857 2.28571 14.2857H13.7143C14.0286 14.2857 14.2857 14.0286 14.2857 13.7143V2.28571C14.2857 1.97 14.0286 1.71429 13.7143 1.71429Z' /%3E%3C/svg%3E\");mask-image:url(\"data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' %3E%3Cpath d='M13.7143 0C14.975 0 16 1.02321 16 2.28571V13.7143C16 14.975 14.975 16 13.7143 16H2.28571C1.02321 16 0 14.975 0 13.7143V2.28571C0 1.02321 1.02321 0 2.28571 0H13.7143ZM13.7143 1.71429H2.28571C1.97 1.71429 1.71429 1.97 1.71429 2.28571V13.7143C1.71429 14.0286 1.97 14.2857 2.28571 14.2857H13.7143C14.0286 14.2857 14.2857 14.0286 14.2857 13.7143V2.28571C14.2857 1.97 14.0286 1.71429 13.7143 1.71429Z' /%3E%3C/svg%3E\")}::slotted(input[type=checkbox]:checked)::before{-webkit-mask-image:url(\"data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' %3E%3Cpath d='M2.28571 0C1.025 0 0 1.025 0 2.28571V13.7143C0 14.975 1.025 16 2.28571 16H13.7143C14.975 16 16 14.975 16 13.7143V2.28571C16 1.025 14.975 0 13.7143 0H2.28571ZM12.0357 6.32143L7.46429 10.8929C7.12857 11.2286 6.58571 11.2286 6.25357 10.8929L3.96786 8.60714C3.63214 8.27143 3.63214 7.72857 3.96786 7.39643C4.30357 7.06429 4.84643 7.06071 5.17857 7.39643L6.85714 9.075L10.8214 5.10714C11.1571 4.77143 11.7 4.77143 12.0321 5.10714C12.3643 5.44286 12.3679 5.98571 12.0321 6.31786L12.0357 6.32143Z' /%3E%3C/svg%3E\");mask-image:url(\"data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' %3E%3Cpath d='M2.28571 0C1.025 0 0 1.025 0 2.28571V13.7143C0 14.975 1.025 16 2.28571 16H13.7143C14.975 16 16 14.975 16 13.7143V2.28571C16 1.025 14.975 0 13.7143 0H2.28571ZM12.0357 6.32143L7.46429 10.8929C7.12857 11.2286 6.58571 11.2286 6.25357 10.8929L3.96786 8.60714C3.63214 8.27143 3.63214 7.72857 3.96786 7.39643C4.30357 7.06429 4.84643 7.06071 5.17857 7.39643L6.85714 9.075L10.8214 5.10714C11.1571 4.77143 11.7 4.77143 12.0321 5.10714C12.3643 5.44286 12.3679 5.98571 12.0321 6.31786L12.0357 6.32143Z' /%3E%3C/svg%3E\")}.gux-selector-card{display:flex;flex:1 1 auto;inline-size:inherit}.gux-selector-card .gux-content{position:relative;box-sizing:border-box;display:flex;flex:1 1 auto;flex-direction:column;gap:var(--gse-ui-selectorCard-descriptive-text-gap);align-items:center;inline-size:inherit;min-inline-size:var(--gse-ui-selectorCard-simple-minWidth);max-inline-size:var(--gse-ui-selectorCard-simple-maxWidth);min-block-size:var(--gse-ui-selectorCard-simple-minHeight);max-block-size:var(--gse-ui-selectorCard-simple-maxHeight);padding:var(--gse-ui-selectorCard-simple-padding);text-align:center;background-color:var(--gse-ui-selectorCard-default-backgroundColor);border-radius:var(--gse-ui-selectorCard-simple-borderRadius)}.gux-selector-card .gux-content .gux-label-container{display:-webkit-box;overflow:hidden;-webkit-box-orient:vertical;-webkit-line-clamp:2;line-clamp:2}.gux-selector-card .gux-content .gux-icon{line-height:0}.gux-selector-card .gux-content:focus-within{outline:var(--gse-semantic-focusOutline-md-borderWidth) solid var(--gse-semantic-border-focus);outline-offset:var(--gse-semantic-focusOutline-offset)}.gux-selector-card.gux-descriptive .gux-content{align-items:flex-start;min-inline-size:var(--gse-ui-selectorCard-descriptive-minWidth);max-inline-size:var(--gse-ui-selectorCard-descriptive-maxWidth);min-block-size:var(--gse-ui-selectorCard-descriptive-minHeight);max-block-size:var(--gse-ui-selectorCard-descriptive-maxHeight);padding:var(--gse-ui-selectorCard-descriptive-padding);text-align:start;white-space:normal;border-radius:var(--gse-ui-selectorCard-descriptive-borderRadius)}.gux-selector-card.gux-descriptive .gux-content .gux-description-container{display:-webkit-box;overflow:hidden;-webkit-box-orient:vertical;-webkit-line-clamp:3;line-clamp:3}.gux-selector-card.gux-descriptive .gux-content ::slotted(gux-badge){margin-block-start:var(--gse-ui-selectorCard-descriptive-badge-marginTop)}.gux-selector-card.gux-descriptive .gux-content ::slotted(input[type=radio]),.gux-selector-card.gux-descriptive .gux-content ::slotted(input[type=checkbox]){inset-inline-start:0;border-radius:var(--gse-ui-selectorCard-descriptive-borderRadius)}.gux-selector-card.gux-descriptive .gux-content ::slotted(input[type=radio])::before,.gux-selector-card.gux-descriptive .gux-content ::slotted(input[type=checkbox])::before{inset-block-start:var(--gse-ui-selectorCard-descriptive-gap);inset-inline-end:var(--gse-ui-selectorCard-descriptive-padding);inline-size:var(--gse-ui-icon-small-size);block-size:var(--gse-ui-icon-small-size)}.gux-selector-card.gux-descriptive .gux-content ::slotted(label){display:block;margin-block-end:var(--gse-ui-selectorCard-descriptive-text-gap);font-family:var(--gse-ui-selectorCard-descriptive-label-fontFamily);font-size:var(--gse-ui-selectorCard-descriptive-label-fontSize);font-weight:var(--gse-ui-selectorCard-descriptive-label-fontWeight);line-height:var(--gse-ui-selectorCard-descriptive-label-lineHeight)}.gux-selector-card.gux-descriptive .gux-content ::slotted(gux-icon){inline-size:var(--gse-ui-icon-large-size);block-size:var(--gse-ui-icon-large-size);margin-block-end:var(--gse-ui-selectorCard-descriptive-gap)}.gux-selector-card.gux-disabled{pointer-events:none;cursor:not-allowed}.gux-selector-card.gux-disabled .gux-content{pointer-events:none;-webkit-user-select:none;user-select:none;background-color:var(--gse-ui-selectorCard-disabled-backgroundColor);opacity:var(--gse-ui-selectorCard-disabled-opacity)}.gux-selector-card:hover:not(:disabled) .gux-content{cursor:pointer;background-color:var(--gse-ui-selectorCard-hover-backgroundColor)}.gux-selector-card:hover:not(:disabled) .gux-content ::slotted(input[type=radio])::before,.gux-selector-card:hover:not(:disabled) .gux-content ::slotted(input[type=checkbox])::before{background-color:var(--gse-ui-selectorCard-hover-selectedIndicator-foregroundColor)}.gux-selector-card:active:not(:disabled) .gux-content{background-color:var(--gse-ui-selectorCard-active-backgroundColor)}.gux-selector-card:active:not(:disabled) .gux-content ::slotted(input[type=radio])::before,.gux-selector-card:active:not(:disabled) .gux-content ::slotted(input[type=checkbox])::before{background-color:var(--gse-ui-selectorCard-active-selectedIndicator-foregroundColor)}";export{n as gux_selector_card_beta}
1
+ import{r as e,h as t,a as i}from"./p-mm833MRp.js";import{t as r}from"./p-B6h1eXrW.js";import{g as s,s as o,v as a}from"./p-DHLxhscH.js";import{c as d,o as l}from"./p-Cb3FOYGS.js";import{p as c}from"./p-PYfNAK8p.js";import"./p-D9jKBqIb.js";import"./p-DxtJDeL9.js";import"./p-BMRf5pjV.js";import"./p-qzV3vtOw.js";const n=class{constructor(t){e(this,t),this.variant="simple"}componentWillLoad(){this.setInput(),r(this.root,{variant:this.variant})}disconnectedCallback(){this.disabledObserver&&this.disabledObserver.disconnect()}setInput(){this.input=s(this.root,'input[type="radio"][slot="input"], input[type="checkbox"][slot="input"]'),c(this.input),o(this.root,this.input,"description"),this.disabled=d(this.input),this.disabledObserver=l(this.input,(e=>{this.disabled=e})),a(this.root,this.input)}renderDescription(){return"simple"===this.variant?t("gux-screen-reader-beta",null,t("slot",{name:"description"})):t("div",{class:"gux-description-container"},t("slot",{name:"description"}))}renderBadge(){if("descriptive"===this.variant)return t("slot",{name:"badge"})}render(){return t("div",{key:"628b290b36f27f11a5851adcdf7dcfcdcd76e246",class:{"gux-selector-card":!0,[`gux-${this.variant}`]:!0,"gux-disabled":this.disabled}},t("div",{key:"3f95ed9d103d8cf7766fd441d476c3c3f86a2f2c",class:"gux-content"},t("div",{key:"d6cb7b6937cccca4456bf94c1c2fcb92b08a7924",class:"gux-icon"},t("slot",{key:"c2a2a0f7f8f6680694582f7fd61157d5d8d6be70",name:"icon"})),t("div",{key:"2a87beb05bbb012f0f3e932dc1d75b2088af8c44",class:"gux-label-container"},t("slot",{key:"3fb1ef09c29d2b94119fc13ed584bed880059bc3",name:"label"})),t("slot",{key:"09436179cc660457f5b9d5bfbc43469a887cb7a3",name:"input"}),this.renderDescription(),this.renderBadge()))}get root(){return i(this)}};n.style=":host{display:flex;min-inline-size:var(--gse-ui-selectorCard-simple-minWidth);max-inline-size:var(--gse-ui-selectorCard-simple-maxWidth);min-block-size:var(--gse-ui-selectorCard-simple-minHeight);max-block-size:var(--gse-ui-selectorCard-simple-maxHeight)}:host([variant=descriptive]){min-inline-size:var(--gse-ui-selectorCard-descriptive-minWidth);max-inline-size:var(--gse-ui-selectorCard-descriptive-maxWidth);min-block-size:var(--gse-ui-selectorCard-descriptive-minHeight);max-block-size:var(--gse-ui-selectorCard-descriptive-maxHeight)}::slotted(*){cursor:pointer}::slotted(gux-icon){inline-size:var(--gse-ui-icon-medium-size);block-size:var(--gse-ui-icon-medium-size);color:var(--gse-ui-selectorCard-ilustrativeIcon-foregroundColor)}::slotted(label){inline-size:100%;font-family:var(--gse-ui-selectorCard-simple-label-fontFamily);font-size:var(--gse-ui-selectorCard-simple-label-fontSize);font-weight:var(--gse-ui-selectorCard-simple-label-fontWeight);line-height:var(--gse-ui-selectorCard-simple-label-lineHeight);color:var(--gse-ui-selectorCard-text-foregroundColor)}::slotted(input[type=radio]),::slotted(input[type=checkbox]){position:absolute;inset-block-start:0;inline-size:100%;block-size:100%;margin:0;color:var(--gse-ui-radioButton-icon-default-unselectedForegroundColor);-webkit-appearance:none;appearance:none;outline:none;border:var(--gse-ui-selectorCard-unselected-border-width) var(--gse-ui-selectorCard-unselected-border-style) var(--gse-ui-selectorCard-unselected-border-color);border-radius:var(--gse-ui-selectorCard-simple-borderRadius)}::slotted(input[type=radio])::before,::slotted(input[type=checkbox])::before{position:absolute;inset-block-start:var(--gse-ui-selectorCard-descriptive-text-gap);inset-inline-end:var(--gse-ui-selectorCard-descriptive-text-gap);display:inline-grid;grid-area:1/1;inline-size:var(--gse-ui-radioButton-icon-width);block-size:var(--gse-ui-radioButton-icon-height);vertical-align:middle;color:var(--gse-ui-radioButton-icon-default-unselectedForegroundColor);text-align:center;content:\"\"}::slotted(input[type=radio])::before{border-radius:50%}::slotted(input[type=radio]:checked),::slotted(input[type=checkbox]:checked){border:var(--gse-ui-selectorCard-selected-border-width) var(--gse-ui-selectorCard-selected-border-style) var(--gse-ui-selectorCard-selected-border-color)}::slotted(input[type=radio]:checked)::before,::slotted(input[type=checkbox]:checked)::before{background-color:var(--gse-ui-selectorCard-default-selectedIndicator-selected-foregroundColor)}::slotted(input[type=radio]:not(:checked))::before,::slotted(input[type=checkbox]:not(:checked))::before{background-color:var(--gse-ui-selectorCard-default-selectedIndicator-unselected-foregroundColor)}::slotted(input[type=radio]:disabled),::slotted(input[type=checkbox]:disabled){pointer-events:none;cursor:not-allowed;opacity:var(--gse-ui-radioButton-disabled-opacity)}::slotted(input[type=radio])::before{-webkit-mask-image:url(\"data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M16 8C16 12.4187 12.4187 16 8 16C3.58125 16 0 12.4187 0 8C0 3.58125 3.58125 0 8 0C12.4187 0 16 3.58125 16 8ZM8 1.5C4.40937 1.5 1.5 4.40937 1.5 8C1.5 11.5906 4.40937 14.5 8 14.5C11.5906 14.5 14.5 11.5906 14.5 8C14.5 4.40937 11.5906 1.5 8 1.5Z' fill-rule='evenodd' clip-rule='evenodd' /%3E%3C/svg%3E\");mask-image:url(\"data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M16 8C16 12.4187 12.4187 16 8 16C3.58125 16 0 12.4187 0 8C0 3.58125 3.58125 0 8 0C12.4187 0 16 3.58125 16 8ZM8 1.5C4.40937 1.5 1.5 4.40937 1.5 8C1.5 11.5906 4.40937 14.5 8 14.5C11.5906 14.5 14.5 11.5906 14.5 8C14.5 4.40937 11.5906 1.5 8 1.5Z' fill-rule='evenodd' clip-rule='evenodd' /%3E%3C/svg%3E\")}::slotted(input[type=radio]:checked)::before{-webkit-mask-image:url(\"data:image/svg+xml,%3Csvg viewBox='0 0 16 16' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M5 8C5 6.31563 6.31563 5 8 5C9.65625 5 11 6.31563 11 8C11 9.65625 9.65625 11 8 11C6.31563 11 5 9.65625 5 8ZM16 8C16 12.4187 12.4187 16 8 16C3.58125 16 0 12.4187 0 8C0 3.58125 3.58125 0 8 0C12.4187 0 16 3.58125 16 8ZM8 1.5C4.40938 1.5 1.5 4.40938 1.5 8C1.5 11.5906 4.40938 14.5 8 14.5C11.5906 14.5 14.5 11.5906 14.5 8C14.5 4.40938 11.5906 1.5 8 1.5Z' /%3E%3C/svg%3E\");mask-image:url(\"data:image/svg+xml,%3Csvg viewBox='0 0 16 16' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M5 8C5 6.31563 6.31563 5 8 5C9.65625 5 11 6.31563 11 8C11 9.65625 9.65625 11 8 11C6.31563 11 5 9.65625 5 8ZM16 8C16 12.4187 12.4187 16 8 16C3.58125 16 0 12.4187 0 8C0 3.58125 3.58125 0 8 0C12.4187 0 16 3.58125 16 8ZM8 1.5C4.40938 1.5 1.5 4.40938 1.5 8C1.5 11.5906 4.40938 14.5 8 14.5C11.5906 14.5 14.5 11.5906 14.5 8C14.5 4.40938 11.5906 1.5 8 1.5Z' /%3E%3C/svg%3E\")}::slotted(input[type=checkbox])::before{-webkit-mask-image:url(\"data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' %3E%3Cpath d='M13.7143 0C14.975 0 16 1.02321 16 2.28571V13.7143C16 14.975 14.975 16 13.7143 16H2.28571C1.02321 16 0 14.975 0 13.7143V2.28571C0 1.02321 1.02321 0 2.28571 0H13.7143ZM13.7143 1.71429H2.28571C1.97 1.71429 1.71429 1.97 1.71429 2.28571V13.7143C1.71429 14.0286 1.97 14.2857 2.28571 14.2857H13.7143C14.0286 14.2857 14.2857 14.0286 14.2857 13.7143V2.28571C14.2857 1.97 14.0286 1.71429 13.7143 1.71429Z' /%3E%3C/svg%3E\");mask-image:url(\"data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' %3E%3Cpath d='M13.7143 0C14.975 0 16 1.02321 16 2.28571V13.7143C16 14.975 14.975 16 13.7143 16H2.28571C1.02321 16 0 14.975 0 13.7143V2.28571C0 1.02321 1.02321 0 2.28571 0H13.7143ZM13.7143 1.71429H2.28571C1.97 1.71429 1.71429 1.97 1.71429 2.28571V13.7143C1.71429 14.0286 1.97 14.2857 2.28571 14.2857H13.7143C14.0286 14.2857 14.2857 14.0286 14.2857 13.7143V2.28571C14.2857 1.97 14.0286 1.71429 13.7143 1.71429Z' /%3E%3C/svg%3E\")}::slotted(input[type=checkbox]:checked)::before{-webkit-mask-image:url(\"data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' %3E%3Cpath d='M2.28571 0C1.025 0 0 1.025 0 2.28571V13.7143C0 14.975 1.025 16 2.28571 16H13.7143C14.975 16 16 14.975 16 13.7143V2.28571C16 1.025 14.975 0 13.7143 0H2.28571ZM12.0357 6.32143L7.46429 10.8929C7.12857 11.2286 6.58571 11.2286 6.25357 10.8929L3.96786 8.60714C3.63214 8.27143 3.63214 7.72857 3.96786 7.39643C4.30357 7.06429 4.84643 7.06071 5.17857 7.39643L6.85714 9.075L10.8214 5.10714C11.1571 4.77143 11.7 4.77143 12.0321 5.10714C12.3643 5.44286 12.3679 5.98571 12.0321 6.31786L12.0357 6.32143Z' /%3E%3C/svg%3E\");mask-image:url(\"data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' %3E%3Cpath d='M2.28571 0C1.025 0 0 1.025 0 2.28571V13.7143C0 14.975 1.025 16 2.28571 16H13.7143C14.975 16 16 14.975 16 13.7143V2.28571C16 1.025 14.975 0 13.7143 0H2.28571ZM12.0357 6.32143L7.46429 10.8929C7.12857 11.2286 6.58571 11.2286 6.25357 10.8929L3.96786 8.60714C3.63214 8.27143 3.63214 7.72857 3.96786 7.39643C4.30357 7.06429 4.84643 7.06071 5.17857 7.39643L6.85714 9.075L10.8214 5.10714C11.1571 4.77143 11.7 4.77143 12.0321 5.10714C12.3643 5.44286 12.3679 5.98571 12.0321 6.31786L12.0357 6.32143Z' /%3E%3C/svg%3E\")}.gux-selector-card{display:flex;flex:1 1 auto;inline-size:inherit}.gux-selector-card .gux-content{position:relative;box-sizing:border-box;display:flex;flex:1 1 auto;flex-direction:column;gap:var(--gse-ui-selectorCard-descriptive-text-gap);align-items:center;inline-size:inherit;min-inline-size:var(--gse-ui-selectorCard-simple-minWidth);max-inline-size:var(--gse-ui-selectorCard-simple-maxWidth);min-block-size:var(--gse-ui-selectorCard-simple-minHeight);max-block-size:var(--gse-ui-selectorCard-simple-maxHeight);padding:var(--gse-ui-selectorCard-simple-padding);text-align:center;background-color:var(--gse-ui-selectorCard-default-backgroundColor);border-radius:var(--gse-ui-selectorCard-simple-borderRadius)}.gux-selector-card .gux-content .gux-label-container{display:-webkit-box;overflow:hidden;-webkit-box-orient:vertical;-webkit-line-clamp:2;line-clamp:2}.gux-selector-card .gux-content .gux-icon{line-height:0}.gux-selector-card .gux-content:focus-within{outline:var(--gse-semantic-focusOutline-md-borderWidth) solid var(--gse-semantic-border-focus);outline-offset:var(--gse-semantic-focusOutline-offset)}.gux-selector-card.gux-descriptive .gux-content{align-items:flex-start;min-inline-size:var(--gse-ui-selectorCard-descriptive-minWidth);max-inline-size:var(--gse-ui-selectorCard-descriptive-maxWidth);min-block-size:var(--gse-ui-selectorCard-descriptive-minHeight);max-block-size:var(--gse-ui-selectorCard-descriptive-maxHeight);padding:var(--gse-ui-selectorCard-descriptive-padding);text-align:start;white-space:normal;border-radius:var(--gse-ui-selectorCard-descriptive-borderRadius)}.gux-selector-card.gux-descriptive .gux-content .gux-description-container{display:-webkit-box;overflow:hidden;-webkit-box-orient:vertical;-webkit-line-clamp:3;line-clamp:3}.gux-selector-card.gux-descriptive .gux-content ::slotted(gux-badge){margin-block-start:var(--gse-ui-selectorCard-descriptive-badge-marginTop)}.gux-selector-card.gux-descriptive .gux-content ::slotted(input[type=radio]),.gux-selector-card.gux-descriptive .gux-content ::slotted(input[type=checkbox]){inset-inline-start:0;border-radius:var(--gse-ui-selectorCard-descriptive-borderRadius)}.gux-selector-card.gux-descriptive .gux-content ::slotted(input[type=radio])::before,.gux-selector-card.gux-descriptive .gux-content ::slotted(input[type=checkbox])::before{inset-block-start:var(--gse-ui-selectorCard-descriptive-gap);inset-inline-end:var(--gse-ui-selectorCard-descriptive-padding);inline-size:var(--gse-ui-icon-small-size);block-size:var(--gse-ui-icon-small-size)}.gux-selector-card.gux-descriptive .gux-content ::slotted(label){display:block;margin-block-end:var(--gse-ui-selectorCard-descriptive-text-gap);font-family:var(--gse-ui-selectorCard-descriptive-label-fontFamily);font-size:var(--gse-ui-selectorCard-descriptive-label-fontSize);font-weight:var(--gse-ui-selectorCard-descriptive-label-fontWeight);line-height:var(--gse-ui-selectorCard-descriptive-label-lineHeight)}.gux-selector-card.gux-descriptive .gux-content ::slotted(gux-icon){inline-size:var(--gse-ui-icon-large-size);block-size:var(--gse-ui-icon-large-size);margin-block-end:var(--gse-ui-selectorCard-descriptive-gap)}.gux-selector-card.gux-disabled{pointer-events:none;cursor:not-allowed}.gux-selector-card.gux-disabled .gux-content{pointer-events:none;-webkit-user-select:none;user-select:none;background-color:var(--gse-ui-selectorCard-disabled-backgroundColor);opacity:var(--gse-ui-selectorCard-disabled-opacity)}.gux-selector-card:hover:not(:disabled) .gux-content{cursor:pointer;background-color:var(--gse-ui-selectorCard-hover-backgroundColor)}.gux-selector-card:hover:not(:disabled) .gux-content ::slotted(input[type=radio])::before,.gux-selector-card:hover:not(:disabled) .gux-content ::slotted(input[type=checkbox])::before{background-color:var(--gse-ui-selectorCard-hover-selectedIndicator-foregroundColor)}.gux-selector-card:active:not(:disabled) .gux-content{background-color:var(--gse-ui-selectorCard-active-backgroundColor)}.gux-selector-card:active:not(:disabled) .gux-content ::slotted(input[type=radio])::before,.gux-selector-card:active:not(:disabled) .gux-content ::slotted(input[type=checkbox])::before{background-color:var(--gse-ui-selectorCard-active-selectedIndicator-foregroundColor)}";export{n as gux_selector_card_beta}
@@ -1 +1 @@
1
- import{r as e,h as r,H as i}from"./p-mm833MRp.js";const o=class{constructor(r){e(this,r)}render(){return r(i,{key:"41458da7139ee853dd9f3c17725ec64a2a24a4b4",role:"presentation"})}};o.style=":host{position:relative;display:flex;inline-size:100%;block-size:var(--gse-ui-menu-divider-height);padding:0;margin:var(--gse-ui-menu-divider-margin);pointer-events:none;cursor:pointer;cursor:default;background-color:var(--gse-ui-menu-divider-backgroundColor)}";export{o as gux_list_divider}
1
+ import{r as e,h as r,H as i}from"./p-mm833MRp.js";const o=class{constructor(r){e(this,r)}render(){return r(i,{key:"dcbbe61c502bb8163134ce0ab46df25592e32a1f",role:"presentation"})}};o.style=":host{position:relative;display:flex;inline-size:100%;block-size:var(--gse-ui-menu-divider-height);padding:0;margin:var(--gse-ui-menu-divider-margin);pointer-events:none;cursor:pointer;cursor:default;background-color:var(--gse-ui-menu-divider-backgroundColor)}";export{o as gux_list_divider}
@@ -1 +1 @@
1
- import{r as e,h as t,a as i}from"./p-mm833MRp.js";import{h as a,g as r,a as s,b as n}from"./p-CoPBSWau.js";import"./p-kLXvN2m9.js";const c=class{constructor(t){e(this,t),t.$hostElement$["s-ei"]?this.internals=t.$hostElement$["s-ei"]:(this.internals=t.$hostElement$.attachInternals(),t.$hostElement$["s-ei"]=this.internals),this.expanded=!1,this._disabled=!1,this.filtered=!1,this.active=!1,this.selected=!1,this.size="comfy",this.alignment="start"}get disabled(){return this._disabled||a(this.root)}set disabled(e){this._disabled=e}handleActiveChange(e){this.root.setAttribute("tabIndex",e?"0":""),e&&this.root.focus()}componentWillLoad(){this.internals.role="treeitem",this.root.setAttribute("role","treeitem"),this.root.setAttribute("tabIndex",this.active?"0":""),this.size=r(this.root),this.alignment=s(this.root)}componentWillRender(){this.internals.ariaDisabled=String(this.disabled),this.root.setAttribute("aria-disabled",String(this.disabled)),this.internals.ariaSelected=String(this.selected),this.root.setAttribute("aria-selected",String(this.selected)),this.internals.ariaExpanded=String(this.expanded),this.root.setAttribute("aria-expanded",String(this.expanded))}renderBranchIndicator(e){if(this.alignment===e)return t("div",{class:"gux-branch-indicator"},t("gux-icon",{class:"gux-arrow-icon",decorative:!0,"icon-name":"fa/caret-right-solid"}))}render(){return t("div",{key:"1595b9c9e52ba5c2ab7b5b65dbf6c782f8b9e7c9",class:{"gux-wrapper":!0,"gux-compact":"compact"===this.size,"gux-end":"end"===this.alignment,"gux-expanded":this.expanded,"gux-disabled":this.disabled,"gux-selected":this.selected,"gux-child-selected":n(this.root)}},t("div",{key:"1dc7e2fad6847362714a3b5239dc1b480398cfa0",class:"gux-node"},t("div",{key:"f0ff2f4bad4be216685549fe4e2fac7f4f0caea9",class:"gux-selected-bookmark"}),t("div",{key:"48ecee7bb00c68dc6c106c5b92503c57842b1c81",class:"gux-tree-item"},this.renderBranchIndicator("start"),t("div",{key:"67b875a73e6a60422fce7e7e550b25333e680b9b",class:"gux-selection-target"},t("div",{key:"722e7bb65f9fae0ffb3dc7574ca6ed7e14ea1cf3",class:"gux-icon"},t("slot",{key:"62ab2163b1102be48d9bbd902f79e5051b72f233",name:"icon"})),t("div",{key:"6c46f12353794772e1d148fc3a35164e7744cf0b",class:"gux-label"},t("slot",{key:"4e5bfa5da8ad19a79988a41030ba885b0255839e",name:"label"}))),this.renderBranchIndicator("end"))),t("div",{key:"5f03fe5f7c38958586d82cd0488d0e1221a606ec",role:"group",class:"gux-treeitems"},t("slot",{key:"a4903f7f0e5b2e5301b71f814a16ebbc83394f95"})))}static get formAssociated(){return!0}get root(){return i(this)}static get watchers(){return{active:["handleActiveChange"]}}};c.style=":host{display:block}:host(:focus-visible){outline:none}:host(:focus-visible) .gux-node{outline:var(--gse-semantic-focusOutline-md-borderWidth) solid var(--gse-semantic-border-focus);outline-offset:var(--gse-semantic-focusOutline-offset)}:host(:focus-visible) .gux-tree-item{background-color:var(--gse-ui-treeView-background-hover)}.gux-wrapper{display:flex;flex-direction:column;flex-wrap:nowrap;gap:var(--gse-ui-treeView-item-internalGap);place-content:stretch flex-start;align-items:stretch}.gux-wrapper .gux-node{display:flex;flex-direction:row;flex-wrap:nowrap;gap:var(--gse-semantic-interactive-sm-gap);place-content:stretch flex-start;align-items:stretch}.gux-wrapper .gux-node .gux-selected-bookmark{flex:0 1 auto;align-self:auto;inline-size:6px;background:transparent;border-radius:var(--gse-semantic-interactive-sm-borderRadius)}.gux-wrapper .gux-node .gux-tree-item{display:flex;flex:1 1 auto;gap:var(--gse-ui-treeView-item-internalGap);align-items:center;align-self:auto;padding:var(--gse-ui-treeView-item-comfy-rightAligned-padding);border-radius:var(--gse-semantic-interactive-sm-borderRadius)}.gux-wrapper .gux-node .gux-tree-item:hover{background-color:var(--gse-ui-treeView-background-hover)}.gux-wrapper .gux-node .gux-tree-item .gux-selection-target{display:flex;flex:1 1 auto;gap:var(--gse-semantic-interactive-lg-gap);align-items:center;align-self:auto}.gux-wrapper .gux-node .gux-tree-item .gux-selection-target .gux-icon{display:flex;align-items:center}.gux-wrapper.gux-compact .gux-tree-item{padding:var(--gse-ui-treeView-item-compact-leftAligned-padding)}.gux-wrapper.gux-compact.gux-end .gux-tree-item{padding:var(--gse-ui-treeView-item-compact-rightAligned-padding)}.gux-wrapper.gux-end .gux-tree-item{padding:var(--gse-ui-treeView-item-comfy-rightAligned-padding)}.gux-wrapper.gux-selected .gux-selected-bookmark{background:var(--gse-semantic-background-interactive-primary-default)}.gux-wrapper.gux-selected .gux-tree-item{background-color:var(--gse-ui-treeView-background-selected)}.gux-wrapper.gux-child-selected .gux-selected-bookmark{background:var(--gse-ui-treeView-selectionBookmark-midEmphasis)}.gux-wrapper.gux-disabled{opacity:var(--gse-ui-treeView-disableOpacity);pointer-events:none;cursor:default}.gux-wrapper .gux-treeitems{display:none;padding-inline-start:20px}.gux-wrapper.gux-expanded .gux-branch-indicator gux-icon{rotate:90deg}.gux-wrapper.gux-expanded .gux-treeitems{display:flex;flex-direction:column;flex-wrap:nowrap;gap:var(--gse-ui-treeView-item-internalGap);place-content:stretch flex-start;align-items:stretch}.gux-wrapper .gux-branch-indicator{display:flex;align-items:center}.gux-wrapper .gux-branch-indicator gux-icon{inline-size:16px;block-size:16px}::slotted(gux-icon[slot=icon]){display:flex;align-items:center;inline-size:16px;block-size:16px}";export{c as gux_branch}
1
+ import{r as e,h as t,a as i}from"./p-mm833MRp.js";import{h as a,g as r,a as s,b as n}from"./p-CoPBSWau.js";import"./p-kLXvN2m9.js";const c=class{constructor(t){e(this,t),t.$hostElement$["s-ei"]?this.internals=t.$hostElement$["s-ei"]:(this.internals=t.$hostElement$.attachInternals(),t.$hostElement$["s-ei"]=this.internals),this.expanded=!1,this._disabled=!1,this.filtered=!1,this.active=!1,this.selected=!1,this.size="comfy",this.alignment="start"}get disabled(){return this._disabled||a(this.root)}set disabled(e){this._disabled=e}handleActiveChange(e){this.root.setAttribute("tabIndex",e?"0":""),e&&this.root.focus()}componentWillLoad(){this.internals.role="treeitem",this.root.setAttribute("role","treeitem"),this.root.setAttribute("tabIndex",this.active?"0":""),this.size=r(this.root),this.alignment=s(this.root)}componentWillRender(){this.internals.ariaDisabled=String(this.disabled),this.root.setAttribute("aria-disabled",String(this.disabled)),this.internals.ariaSelected=String(this.selected),this.root.setAttribute("aria-selected",String(this.selected)),this.internals.ariaExpanded=String(this.expanded),this.root.setAttribute("aria-expanded",String(this.expanded))}renderBranchIndicator(e){if(this.alignment===e)return t("div",{class:"gux-branch-indicator"},t("gux-icon",{class:"gux-arrow-icon",decorative:!0,"icon-name":"fa/caret-right-solid"}))}render(){return t("div",{key:"b188d7bffcd9e4a9db62e480a90995080d952593",class:{"gux-wrapper":!0,"gux-compact":"compact"===this.size,"gux-end":"end"===this.alignment,"gux-expanded":this.expanded,"gux-disabled":this.disabled,"gux-selected":this.selected,"gux-child-selected":n(this.root)}},t("div",{key:"e194a8c7e8145b515ac3a56d10257160efe41752",class:"gux-node"},t("div",{key:"2e1f1d3e13f4da7d37fa527515cfd41fd8dcee28",class:"gux-selected-bookmark"}),t("div",{key:"96a75f30fa2c8e6ee62b0da005a117da70c683ba",class:"gux-tree-item"},this.renderBranchIndicator("start"),t("div",{key:"ea49279428bc814a2487870bb3ab846b7da03ef5",class:"gux-selection-target"},t("div",{key:"a62a3bb9411825060c6bb7cd5716b7e56a5462f9",class:"gux-icon"},t("slot",{key:"bb7f6629917deb4fcd93778c933fcb28924f1c88",name:"icon"})),t("div",{key:"a412adea01cca16a58ebbca041619bf402f48e51",class:"gux-label"},t("slot",{key:"ba6bad7709f23ef39eec8077220b2f00c2224cdd",name:"label"}))),this.renderBranchIndicator("end"))),t("div",{key:"b79de3530b2e196b503c0bb1d48464b7087609bd",role:"group",class:"gux-treeitems"},t("slot",{key:"f5576dc98d4b194cd5eafcd9d6bf2ff457e78bc3"})))}static get formAssociated(){return!0}get root(){return i(this)}static get watchers(){return{active:["handleActiveChange"]}}};c.style=":host{display:block}:host(:focus-visible){outline:none}:host(:focus-visible) .gux-node{outline:var(--gse-semantic-focusOutline-md-borderWidth) solid var(--gse-semantic-border-focus);outline-offset:var(--gse-semantic-focusOutline-offset)}:host(:focus-visible) .gux-tree-item{background-color:var(--gse-ui-treeView-background-hover)}.gux-wrapper{display:flex;flex-direction:column;flex-wrap:nowrap;gap:var(--gse-ui-treeView-item-internalGap);place-content:stretch flex-start;align-items:stretch}.gux-wrapper .gux-node{display:flex;flex-direction:row;flex-wrap:nowrap;gap:var(--gse-semantic-interactive-sm-gap);place-content:stretch flex-start;align-items:stretch}.gux-wrapper .gux-node .gux-selected-bookmark{flex:0 1 auto;align-self:auto;inline-size:6px;background:transparent;border-radius:var(--gse-semantic-interactive-sm-borderRadius)}.gux-wrapper .gux-node .gux-tree-item{display:flex;flex:1 1 auto;gap:var(--gse-ui-treeView-item-internalGap);align-items:center;align-self:auto;padding:var(--gse-ui-treeView-item-comfy-rightAligned-padding);border-radius:var(--gse-semantic-interactive-sm-borderRadius)}.gux-wrapper .gux-node .gux-tree-item:hover{background-color:var(--gse-ui-treeView-background-hover)}.gux-wrapper .gux-node .gux-tree-item .gux-selection-target{display:flex;flex:1 1 auto;gap:var(--gse-semantic-interactive-lg-gap);align-items:center;align-self:auto}.gux-wrapper .gux-node .gux-tree-item .gux-selection-target .gux-icon{display:flex;align-items:center}.gux-wrapper.gux-compact .gux-tree-item{padding:var(--gse-ui-treeView-item-compact-leftAligned-padding)}.gux-wrapper.gux-compact.gux-end .gux-tree-item{padding:var(--gse-ui-treeView-item-compact-rightAligned-padding)}.gux-wrapper.gux-end .gux-tree-item{padding:var(--gse-ui-treeView-item-comfy-rightAligned-padding)}.gux-wrapper.gux-selected .gux-selected-bookmark{background:var(--gse-semantic-background-interactive-primary-default)}.gux-wrapper.gux-selected .gux-tree-item{background-color:var(--gse-ui-treeView-background-selected)}.gux-wrapper.gux-child-selected .gux-selected-bookmark{background:var(--gse-ui-treeView-selectionBookmark-midEmphasis)}.gux-wrapper.gux-disabled{opacity:var(--gse-ui-treeView-disableOpacity);pointer-events:none;cursor:default}.gux-wrapper .gux-treeitems{display:none;padding-inline-start:20px}.gux-wrapper.gux-expanded .gux-branch-indicator gux-icon{rotate:90deg}.gux-wrapper.gux-expanded .gux-treeitems{display:flex;flex-direction:column;flex-wrap:nowrap;gap:var(--gse-ui-treeView-item-internalGap);place-content:stretch flex-start;align-items:stretch}.gux-wrapper .gux-branch-indicator{display:flex;align-items:center}.gux-wrapper .gux-branch-indicator gux-icon{inline-size:16px;block-size:16px}::slotted(gux-icon[slot=icon]){display:flex;align-items:center;inline-size:16px;block-size:16px}";export{c as gux_branch}
@@ -1 +1 @@
1
- import{r as e,h as o,H as t,a as r}from"./p-mm833MRp.js";import{c as i,o as a}from"./p-Cb3FOYGS.js";import{O as l}from"./p-1mmdDpx8.js";import{p as s}from"./p-PYfNAK8p.js";import{h as d}from"./p-qzV3vtOw.js";import{G as n,a as g}from"./p-BkM3RdTO.js";import{g as u,v as C}from"./p-DHLxhscH.js";import{t as p}from"./p-B_5U73XW.js";import"./p-D9jKBqIb.js";import"./p-DxtJDeL9.js";import"./p-BMRf5pjV.js";const f=class{constructor(o){e(this,o),this.hasHelp=!1,this.hasError=!1,this.hasGroupError=!1,this.hasGroupDisabled=!1}onMutation(){this.hasError=d(this.root,"error"),this.hasHelp=d(this.root,"help")}componentWillLoad(){this.setInput(),this.hasError=d(this.root,"error"),this.hasHelp=d(this.root,"help"),p(this.root)}disconnectedCallback(){this.disabledObserver&&this.disabledObserver.disconnect()}render(){return o(t,{key:"2a07ccdfa483bedb9bd7317bd5dc6bd1529f081a",class:{"gux-input-error":this.hasError||this.hasGroupError,"gux-disabled":this.disabled}},o("div",{key:"c8a3bdf5ee71bbe4991d3a5e3cd9ee61dd06a290",class:"gux-form-field-container","aria-disabled":this.disabled?"true":"false"},o("div",{key:"332b5681500d15e60b9310c3cb802150e55dc7ba",class:"gux-input-label"},o("div",{key:"72203629b351ccbba635c919ef76f6dc328d7403",class:"gux-input"},o("slot",{key:"abeae9fb7b1203eb8c240fa08dc9e4d7cc934996",name:"input",onSlotchange:()=>this.setInput()})),o("div",{key:"bbf5041bf73d34bc4dd14a4218f02b9b1a6a6963",class:"gux-label"},o("slot",{key:"a967102925864849bc62718fbaa834e93364ff78",name:"label"}))),o("div",{key:"7a62d57b6b56a20c0c38402508e19e643b9b2877",class:"error-and-help-text"},o(n,{key:"22c26e650b61d4e7f0d4b56adaaddf83438d5d54",show:this.hasError},o("slot",{key:"767a2b5bc7ae8346503371df88f0bdcd655dc8b0",name:"error"})),o(g,{key:"e7d2f365b35ff06030147c66f296fc96362509c4",show:!this.hasError&&this.hasHelp},o("slot",{key:"d7b71e1858e4981ef423f763ef4e6533cd3ef9e3",name:"help"})))))}setInput(){this.input=u(this.root,'input[type="radio"][slot="input"]'),this.hasGroupDisabled&&(this.input.disabled=!0),s(this.input),this.disabled=i(this.input),this.disabledObserver=a(this.input,(e=>{this.disabled=e})),C(this.root,this.input)}get root(){return r(this)}};(function(e,o,t,r){var i,a=arguments.length,l=a<3?o:null===r?r=Object.getOwnPropertyDescriptor(o,t):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)l=Reflect.decorate(e,o,t,r);else for(var s=e.length-1;s>=0;s--)(i=e[s])&&(l=(a<3?i(l):a>3?i(o,t,l):i(o,t))||l);a>3&&l&&Object.defineProperty(o,t,l)})([l({childList:!0,subtree:!0})],f.prototype,"onMutation",null),f.style=".gux-form-field-error{display:none;flex-direction:row;flex-wrap:nowrap;gap:var(--gse-ui-formControl-helper-gap);place-content:stretch flex-start;padding:var(--gse-ui-formControl-helper-errorPadding);font-family:var(--gse-ui-formControl-helper-helperText-fontFamily);font-size:var(--gse-ui-formControl-helper-helperText-fontSize);line-height:var(--gse-ui-formControl-helper-helperText-lineHeight);color:var(--gse-ui-formControl-helper-errorColor)}.gux-form-field-error.gux-show{display:flex}.gux-form-field-error gux-icon{flex:0 0 auto;order:0;color:var(--gse-ui-formControl-helper-errorColor)}.gux-form-field-error .gux-message{flex:0 1 auto;align-self:auto;order:0}.gux-form-field-help{display:none;flex-direction:row;flex-wrap:nowrap;place-content:stretch flex-start;align-items:flex-start;justify-content:flex-start;padding-block-start:var(--gse-ui-formControl-formField-gap);font-family:var(--gse-ui-formControl-helper-helperText-fontFamily);font-size:var(--gse-ui-formControl-helper-helperText-fontSize);line-height:var(--gse-ui-formControl-helper-helperText-lineHeight);color:var(--gse-ui-formControl-helper-defaultColor)}.gux-form-field-help.gux-show{display:flex}.gux-form-field-help .gux-message{flex:0 1 auto;align-self:none;order:0}:host{display:block;padding-block-start:4px}:host(.gux-disabled){cursor:not-allowed;opacity:var(--gse-ui-radioButton-disabled-opacity)}:host(.gux-disabled) ::slotted(label){cursor:not-allowed}:host(.gux-input-error) input[type=radio]:checked::before{-webkit-mask-image:url(\"data:image/svg+xml,%3Csvg viewBox='0 0 16 16' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M5 8C5 6.31563 6.31563 5 8 5C9.65625 5 11 6.31563 11 8C11 9.65625 9.65625 11 8 11C6.31563 11 5 9.65625 5 8ZM16 8C16 12.4187 12.4187 16 8 16C3.58125 16 0 12.4187 0 8C0 3.58125 3.58125 0 8 0C12.4187 0 16 3.58125 16 8ZM8 1.5C4.40938 1.5 1.5 4.40938 1.5 8C1.5 11.5906 4.40938 14.5 8 14.5C11.5906 14.5 14.5 11.5906 14.5 8C14.5 4.40938 11.5906 1.5 8 1.5Z' /%3E%3C/svg%3E\");mask-image:url(\"data:image/svg+xml,%3Csvg viewBox='0 0 16 16' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M5 8C5 6.31563 6.31563 5 8 5C9.65625 5 11 6.31563 11 8C11 9.65625 9.65625 11 8 11C6.31563 11 5 9.65625 5 8ZM16 8C16 12.4187 12.4187 16 8 16C3.58125 16 0 12.4187 0 8C0 3.58125 3.58125 0 8 0C12.4187 0 16 3.58125 16 8ZM8 1.5C4.40938 1.5 1.5 4.40938 1.5 8C1.5 11.5906 4.40938 14.5 8 14.5C11.5906 14.5 14.5 11.5906 14.5 8C14.5 4.40938 11.5906 1.5 8 1.5Z' /%3E%3C/svg%3E\");background:var(--gse-ui-radioButton-icon-error-foregroundColor)}:host(.gux-input-error) ::slotted(input[type=radio]:not(:checked))::before{-webkit-mask-image:url(\"data:image/svg+xml,%3Csvg viewBox='0 0 16 16' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M16 8C16 12.4187 12.4187 16 8 16C3.58125 16 0 12.4187 0 8C0 3.58125 3.58125 0 8 0C12.4187 0 16 3.58125 16 8ZM8 1.5C4.40937 1.5 1.5 4.40937 1.5 8C1.5 11.5906 4.40937 14.5 8 14.5C11.5906 14.5 14.5 11.5906 14.5 8C14.5 4.40937 11.5906 1.5 8 1.5Z' /%3E%3C/svg%3E\");mask-image:url(\"data:image/svg+xml,%3Csvg viewBox='0 0 16 16' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M16 8C16 12.4187 12.4187 16 8 16C3.58125 16 0 12.4187 0 8C0 3.58125 3.58125 0 8 0C12.4187 0 16 3.58125 16 8ZM8 1.5C4.40937 1.5 1.5 4.40937 1.5 8C1.5 11.5906 4.40937 14.5 8 14.5C11.5906 14.5 14.5 11.5906 14.5 8C14.5 4.40937 11.5906 1.5 8 1.5Z' /%3E%3C/svg%3E\");background:var(--gse-ui-radioButton-icon-error-foregroundColor)}:host(.gux-input-error) .gux-form-field-error{font-family:var(--gse-ui-formControl-helper-helperText-fontFamily);color:var(--gse-ui-radioButton-icon-error-foregroundColor)}.gux-input-label{display:flex;flex-direction:row;gap:var(--gse-ui-radioButton-helper-gap)}.gux-input-label .gux-label{display:flex;flex-direction:column;line-height:var(--gse-ui-radioButton-label-text-lineHeight)}.gux-input-label .gux-input{line-height:16px}::slotted(input[type=radio]){display:inline-grid;inline-size:var(--gse-ui-radioButton-icon-width);block-size:var(--gse-ui-radioButton-icon-height);margin:0;vertical-align:middle;color:var(--gse-ui-radioButton-icon-default-unselectedForegroundColor);text-align:center;-webkit-appearance:none;appearance:none;cursor:pointer;outline:none;border:0}::slotted(input[type=radio])::before{grid-area:1/1;content:\"\";border-radius:50%}::slotted(input[type=radio]:focus-visible){outline:var(--gse-ui-radioButton-focus-border-width) var(--gse-ui-radioButton-focus-border-style) var(--gse-ui-radioButton-focus-border-color);outline-offset:var(--gse-semantic-focusOutline-offset);border-radius:var(--gse-ui-radioButton-focus-borderRadius)}::slotted(input[type=radio]:not(:checked))::before{-webkit-mask-image:url(\"data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M16 8C16 12.4187 12.4187 16 8 16C3.58125 16 0 12.4187 0 8C0 3.58125 3.58125 0 8 0C12.4187 0 16 3.58125 16 8ZM8 1.5C4.40937 1.5 1.5 4.40937 1.5 8C1.5 11.5906 4.40937 14.5 8 14.5C11.5906 14.5 14.5 11.5906 14.5 8C14.5 4.40937 11.5906 1.5 8 1.5Z' fill-rule='evenodd' clip-rule='evenodd' /%3E%3C/svg%3E\");mask-image:url(\"data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M16 8C16 12.4187 12.4187 16 8 16C3.58125 16 0 12.4187 0 8C0 3.58125 3.58125 0 8 0C12.4187 0 16 3.58125 16 8ZM8 1.5C4.40937 1.5 1.5 4.40937 1.5 8C1.5 11.5906 4.40937 14.5 8 14.5C11.5906 14.5 14.5 11.5906 14.5 8C14.5 4.40937 11.5906 1.5 8 1.5Z' fill-rule='evenodd' clip-rule='evenodd' /%3E%3C/svg%3E\");background:var(--gse-ui-radioButton-icon-default-unselectedForegroundColor)}::slotted(input[type=radio]:not(:checked):not(:disabled):hover)::before{-webkit-mask-image:url(\"data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M16 8C16 12.4187 12.4187 16 8 16C3.58125 16 0 12.4187 0 8C0 3.58125 3.58125 0 8 0C12.4187 0 16 3.58125 16 8ZM8 1.5C4.40937 1.5 1.5 4.40937 1.5 8C1.5 11.5906 4.40937 14.5 8 14.5C11.5906 14.5 14.5 11.5906 14.5 8C14.5 4.40937 11.5906 1.5 8 1.5Z' fill-rule='evenodd' clip-rule='evenodd' /%3E%3C/svg%3E\");mask-image:url(\"data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M16 8C16 12.4187 12.4187 16 8 16C3.58125 16 0 12.4187 0 8C0 3.58125 3.58125 0 8 0C12.4187 0 16 3.58125 16 8ZM8 1.5C4.40937 1.5 1.5 4.40937 1.5 8C1.5 11.5906 4.40937 14.5 8 14.5C11.5906 14.5 14.5 11.5906 14.5 8C14.5 4.40937 11.5906 1.5 8 1.5Z' fill-rule='evenodd' clip-rule='evenodd' /%3E%3C/svg%3E\");background:var(--gse-ui-radioButton-icon-hover-foregroundColor)}::slotted(input[type=radio]:checked:not(:disabled):hover)::before{-webkit-mask-image:url(\"data:image/svg+xml,%3Csvg viewBox='0 0 16 16' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M5 8C5 6.31563 6.31563 5 8 5C9.65625 5 11 6.31563 11 8C11 9.65625 9.65625 11 8 11C6.31563 11 5 9.65625 5 8ZM16 8C16 12.4187 12.4187 16 8 16C3.58125 16 0 12.4187 0 8C0 3.58125 3.58125 0 8 0C12.4187 0 16 3.58125 16 8ZM8 1.5C4.40938 1.5 1.5 4.40938 1.5 8C1.5 11.5906 4.40938 14.5 8 14.5C11.5906 14.5 14.5 11.5906 14.5 8C14.5 4.40938 11.5906 1.5 8 1.5Z' /%3E%3C/svg%3E\");mask-image:url(\"data:image/svg+xml,%3Csvg viewBox='0 0 16 16' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M5 8C5 6.31563 6.31563 5 8 5C9.65625 5 11 6.31563 11 8C11 9.65625 9.65625 11 8 11C6.31563 11 5 9.65625 5 8ZM16 8C16 12.4187 12.4187 16 8 16C3.58125 16 0 12.4187 0 8C0 3.58125 3.58125 0 8 0C12.4187 0 16 3.58125 16 8ZM8 1.5C4.40938 1.5 1.5 4.40938 1.5 8C1.5 11.5906 4.40938 14.5 8 14.5C11.5906 14.5 14.5 11.5906 14.5 8C14.5 4.40938 11.5906 1.5 8 1.5Z' /%3E%3C/svg%3E\");background:var(--gse-ui-radioButton-icon-hover-foregroundColor)}::slotted(input[type=radio]:checked)::before{-webkit-mask-image:url(\"data:image/svg+xml,%3Csvg viewBox='0 0 16 16' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M5 8C5 6.31563 6.31563 5 8 5C9.65625 5 11 6.31563 11 8C11 9.65625 9.65625 11 8 11C6.31563 11 5 9.65625 5 8ZM16 8C16 12.4187 12.4187 16 8 16C3.58125 16 0 12.4187 0 8C0 3.58125 3.58125 0 8 0C12.4187 0 16 3.58125 16 8ZM8 1.5C4.40938 1.5 1.5 4.40938 1.5 8C1.5 11.5906 4.40938 14.5 8 14.5C11.5906 14.5 14.5 11.5906 14.5 8C14.5 4.40938 11.5906 1.5 8 1.5Z' /%3E%3C/svg%3E\");mask-image:url(\"data:image/svg+xml,%3Csvg viewBox='0 0 16 16' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M5 8C5 6.31563 6.31563 5 8 5C9.65625 5 11 6.31563 11 8C11 9.65625 9.65625 11 8 11C6.31563 11 5 9.65625 5 8ZM16 8C16 12.4187 12.4187 16 8 16C3.58125 16 0 12.4187 0 8C0 3.58125 3.58125 0 8 0C12.4187 0 16 3.58125 16 8ZM8 1.5C4.40938 1.5 1.5 4.40938 1.5 8C1.5 11.5906 4.40938 14.5 8 14.5C11.5906 14.5 14.5 11.5906 14.5 8C14.5 4.40938 11.5906 1.5 8 1.5Z' /%3E%3C/svg%3E\");background:var(--gse-ui-radioButton-icon-default-selectedForegroundColor)}::slotted(input[type=radio]:disabled)::before{cursor:not-allowed;opacity:var(--gse-ui-radioButton-disabled-opacity)}::slotted(label){display:inline-block;font-family:var(--gse-ui-radioButton-label-text-fontFamily);font-size:var(--gse-ui-formControl-label-text-fontSize);font-weight:var(--gse-ui-radioButton-label-text-fontWeight);line-height:var(--gse-ui-radioButton-label-text-lineHeight);vertical-align:middle;color:var(--gse-ui-radioButton-label-foregroundColor)}";export{f as gux_form_field_radio}
1
+ import{r as e,h as o,H as t,a as r}from"./p-mm833MRp.js";import{c as i,o as a}from"./p-Cb3FOYGS.js";import{O as l}from"./p-1mmdDpx8.js";import{p as s}from"./p-PYfNAK8p.js";import{h as d}from"./p-qzV3vtOw.js";import{G as n,a as g}from"./p-BkM3RdTO.js";import{g as u,v as C}from"./p-DHLxhscH.js";import{t as f}from"./p-B6h1eXrW.js";import"./p-D9jKBqIb.js";import"./p-DxtJDeL9.js";import"./p-BMRf5pjV.js";const p=class{constructor(o){e(this,o),this.hasHelp=!1,this.hasError=!1,this.hasGroupError=!1,this.hasGroupDisabled=!1}onMutation(){this.hasError=d(this.root,"error"),this.hasHelp=d(this.root,"help")}componentWillLoad(){this.setInput(),this.hasError=d(this.root,"error"),this.hasHelp=d(this.root,"help"),f(this.root)}disconnectedCallback(){this.disabledObserver&&this.disabledObserver.disconnect()}render(){return o(t,{key:"f7dc4e7c2f80984974904582d5cc2b9dd5c67fe6",class:{"gux-input-error":this.hasError||this.hasGroupError,"gux-disabled":this.disabled}},o("div",{key:"a1f12b9fb10c3c37751aebc02964b05969acfe86",class:"gux-form-field-container","aria-disabled":this.disabled?"true":"false"},o("div",{key:"b86f210373fac683d085236e558492d130fa5c25",class:"gux-input-label"},o("div",{key:"1ec27063205b05b0569daee06db75328b7ffbbd3",class:"gux-input"},o("slot",{key:"c38d40a89108c29b74925b3b2c54464ddc818fbc",name:"input",onSlotchange:()=>this.setInput()})),o("div",{key:"0b6939d4f955c5d028d4b34e4c51d86a99442ed7",class:"gux-label"},o("slot",{key:"defaaf9b388c1ec65d711cc0df93feff683b84e7",name:"label"}))),o("div",{key:"31813aaff5b026ab9ba7101fdf817bff59db1108",class:"error-and-help-text"},o(n,{key:"05d8a17940b0daa4c2fe80470223be99761fa564",show:this.hasError},o("slot",{key:"c9b45fe30d06f75142b55c67705c814950faf1a5",name:"error"})),o(g,{key:"4b4cd37bddb6629d1d992f401b453b696e0db392",show:!this.hasError&&this.hasHelp},o("slot",{key:"25d292684f9b5b17a4ef7e6f1198d96f6c87e2b8",name:"help"})))))}setInput(){this.input=u(this.root,'input[type="radio"][slot="input"]'),this.hasGroupDisabled&&(this.input.disabled=!0),s(this.input),this.disabled=i(this.input),this.disabledObserver=a(this.input,(e=>{this.disabled=e})),C(this.root,this.input)}get root(){return r(this)}};(function(e,o,t,r){var i,a=arguments.length,l=a<3?o:null===r?r=Object.getOwnPropertyDescriptor(o,t):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)l=Reflect.decorate(e,o,t,r);else for(var s=e.length-1;s>=0;s--)(i=e[s])&&(l=(a<3?i(l):a>3?i(o,t,l):i(o,t))||l);a>3&&l&&Object.defineProperty(o,t,l)})([l({childList:!0,subtree:!0})],p.prototype,"onMutation",null),p.style=".gux-form-field-error{display:none;flex-direction:row;flex-wrap:nowrap;gap:var(--gse-ui-formControl-helper-gap);place-content:stretch flex-start;padding:var(--gse-ui-formControl-helper-errorPadding);font-family:var(--gse-ui-formControl-helper-helperText-fontFamily);font-size:var(--gse-ui-formControl-helper-helperText-fontSize);line-height:var(--gse-ui-formControl-helper-helperText-lineHeight);color:var(--gse-ui-formControl-helper-errorColor)}.gux-form-field-error.gux-show{display:flex}.gux-form-field-error gux-icon{flex:0 0 auto;order:0;color:var(--gse-ui-formControl-helper-errorColor)}.gux-form-field-error .gux-message{flex:0 1 auto;align-self:auto;order:0}.gux-form-field-help{display:none;flex-direction:row;flex-wrap:nowrap;place-content:stretch flex-start;align-items:flex-start;justify-content:flex-start;padding-block-start:var(--gse-ui-formControl-formField-gap);font-family:var(--gse-ui-formControl-helper-helperText-fontFamily);font-size:var(--gse-ui-formControl-helper-helperText-fontSize);line-height:var(--gse-ui-formControl-helper-helperText-lineHeight);color:var(--gse-ui-formControl-helper-defaultColor)}.gux-form-field-help.gux-show{display:flex}.gux-form-field-help .gux-message{flex:0 1 auto;align-self:none;order:0}:host{display:block;padding-block-start:4px}:host(.gux-disabled){cursor:not-allowed;opacity:var(--gse-ui-radioButton-disabled-opacity)}:host(.gux-disabled) ::slotted(label){cursor:not-allowed}:host(.gux-input-error) input[type=radio]:checked::before{-webkit-mask-image:url(\"data:image/svg+xml,%3Csvg viewBox='0 0 16 16' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M5 8C5 6.31563 6.31563 5 8 5C9.65625 5 11 6.31563 11 8C11 9.65625 9.65625 11 8 11C6.31563 11 5 9.65625 5 8ZM16 8C16 12.4187 12.4187 16 8 16C3.58125 16 0 12.4187 0 8C0 3.58125 3.58125 0 8 0C12.4187 0 16 3.58125 16 8ZM8 1.5C4.40938 1.5 1.5 4.40938 1.5 8C1.5 11.5906 4.40938 14.5 8 14.5C11.5906 14.5 14.5 11.5906 14.5 8C14.5 4.40938 11.5906 1.5 8 1.5Z' /%3E%3C/svg%3E\");mask-image:url(\"data:image/svg+xml,%3Csvg viewBox='0 0 16 16' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M5 8C5 6.31563 6.31563 5 8 5C9.65625 5 11 6.31563 11 8C11 9.65625 9.65625 11 8 11C6.31563 11 5 9.65625 5 8ZM16 8C16 12.4187 12.4187 16 8 16C3.58125 16 0 12.4187 0 8C0 3.58125 3.58125 0 8 0C12.4187 0 16 3.58125 16 8ZM8 1.5C4.40938 1.5 1.5 4.40938 1.5 8C1.5 11.5906 4.40938 14.5 8 14.5C11.5906 14.5 14.5 11.5906 14.5 8C14.5 4.40938 11.5906 1.5 8 1.5Z' /%3E%3C/svg%3E\");background:var(--gse-ui-radioButton-icon-error-foregroundColor)}:host(.gux-input-error) ::slotted(input[type=radio]:not(:checked))::before{-webkit-mask-image:url(\"data:image/svg+xml,%3Csvg viewBox='0 0 16 16' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M16 8C16 12.4187 12.4187 16 8 16C3.58125 16 0 12.4187 0 8C0 3.58125 3.58125 0 8 0C12.4187 0 16 3.58125 16 8ZM8 1.5C4.40937 1.5 1.5 4.40937 1.5 8C1.5 11.5906 4.40937 14.5 8 14.5C11.5906 14.5 14.5 11.5906 14.5 8C14.5 4.40937 11.5906 1.5 8 1.5Z' /%3E%3C/svg%3E\");mask-image:url(\"data:image/svg+xml,%3Csvg viewBox='0 0 16 16' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M16 8C16 12.4187 12.4187 16 8 16C3.58125 16 0 12.4187 0 8C0 3.58125 3.58125 0 8 0C12.4187 0 16 3.58125 16 8ZM8 1.5C4.40937 1.5 1.5 4.40937 1.5 8C1.5 11.5906 4.40937 14.5 8 14.5C11.5906 14.5 14.5 11.5906 14.5 8C14.5 4.40937 11.5906 1.5 8 1.5Z' /%3E%3C/svg%3E\");background:var(--gse-ui-radioButton-icon-error-foregroundColor)}:host(.gux-input-error) .gux-form-field-error{font-family:var(--gse-ui-formControl-helper-helperText-fontFamily);color:var(--gse-ui-radioButton-icon-error-foregroundColor)}.gux-input-label{display:flex;flex-direction:row;gap:var(--gse-ui-radioButton-helper-gap)}.gux-input-label .gux-label{display:flex;flex-direction:column;line-height:var(--gse-ui-radioButton-label-text-lineHeight)}.gux-input-label .gux-input{line-height:16px}::slotted(input[type=radio]){display:inline-grid;inline-size:var(--gse-ui-radioButton-icon-width);block-size:var(--gse-ui-radioButton-icon-height);margin:0;vertical-align:middle;color:var(--gse-ui-radioButton-icon-default-unselectedForegroundColor);text-align:center;-webkit-appearance:none;appearance:none;cursor:pointer;outline:none;border:0}::slotted(input[type=radio])::before{grid-area:1/1;content:\"\";border-radius:50%}::slotted(input[type=radio]:focus-visible){outline:var(--gse-ui-radioButton-focus-border-width) var(--gse-ui-radioButton-focus-border-style) var(--gse-ui-radioButton-focus-border-color);outline-offset:var(--gse-semantic-focusOutline-offset);border-radius:var(--gse-ui-radioButton-focus-borderRadius)}::slotted(input[type=radio]:not(:checked))::before{-webkit-mask-image:url(\"data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M16 8C16 12.4187 12.4187 16 8 16C3.58125 16 0 12.4187 0 8C0 3.58125 3.58125 0 8 0C12.4187 0 16 3.58125 16 8ZM8 1.5C4.40937 1.5 1.5 4.40937 1.5 8C1.5 11.5906 4.40937 14.5 8 14.5C11.5906 14.5 14.5 11.5906 14.5 8C14.5 4.40937 11.5906 1.5 8 1.5Z' fill-rule='evenodd' clip-rule='evenodd' /%3E%3C/svg%3E\");mask-image:url(\"data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M16 8C16 12.4187 12.4187 16 8 16C3.58125 16 0 12.4187 0 8C0 3.58125 3.58125 0 8 0C12.4187 0 16 3.58125 16 8ZM8 1.5C4.40937 1.5 1.5 4.40937 1.5 8C1.5 11.5906 4.40937 14.5 8 14.5C11.5906 14.5 14.5 11.5906 14.5 8C14.5 4.40937 11.5906 1.5 8 1.5Z' fill-rule='evenodd' clip-rule='evenodd' /%3E%3C/svg%3E\");background:var(--gse-ui-radioButton-icon-default-unselectedForegroundColor)}::slotted(input[type=radio]:not(:checked):not(:disabled):hover)::before{-webkit-mask-image:url(\"data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M16 8C16 12.4187 12.4187 16 8 16C3.58125 16 0 12.4187 0 8C0 3.58125 3.58125 0 8 0C12.4187 0 16 3.58125 16 8ZM8 1.5C4.40937 1.5 1.5 4.40937 1.5 8C1.5 11.5906 4.40937 14.5 8 14.5C11.5906 14.5 14.5 11.5906 14.5 8C14.5 4.40937 11.5906 1.5 8 1.5Z' fill-rule='evenodd' clip-rule='evenodd' /%3E%3C/svg%3E\");mask-image:url(\"data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M16 8C16 12.4187 12.4187 16 8 16C3.58125 16 0 12.4187 0 8C0 3.58125 3.58125 0 8 0C12.4187 0 16 3.58125 16 8ZM8 1.5C4.40937 1.5 1.5 4.40937 1.5 8C1.5 11.5906 4.40937 14.5 8 14.5C11.5906 14.5 14.5 11.5906 14.5 8C14.5 4.40937 11.5906 1.5 8 1.5Z' fill-rule='evenodd' clip-rule='evenodd' /%3E%3C/svg%3E\");background:var(--gse-ui-radioButton-icon-hover-foregroundColor)}::slotted(input[type=radio]:checked:not(:disabled):hover)::before{-webkit-mask-image:url(\"data:image/svg+xml,%3Csvg viewBox='0 0 16 16' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M5 8C5 6.31563 6.31563 5 8 5C9.65625 5 11 6.31563 11 8C11 9.65625 9.65625 11 8 11C6.31563 11 5 9.65625 5 8ZM16 8C16 12.4187 12.4187 16 8 16C3.58125 16 0 12.4187 0 8C0 3.58125 3.58125 0 8 0C12.4187 0 16 3.58125 16 8ZM8 1.5C4.40938 1.5 1.5 4.40938 1.5 8C1.5 11.5906 4.40938 14.5 8 14.5C11.5906 14.5 14.5 11.5906 14.5 8C14.5 4.40938 11.5906 1.5 8 1.5Z' /%3E%3C/svg%3E\");mask-image:url(\"data:image/svg+xml,%3Csvg viewBox='0 0 16 16' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M5 8C5 6.31563 6.31563 5 8 5C9.65625 5 11 6.31563 11 8C11 9.65625 9.65625 11 8 11C6.31563 11 5 9.65625 5 8ZM16 8C16 12.4187 12.4187 16 8 16C3.58125 16 0 12.4187 0 8C0 3.58125 3.58125 0 8 0C12.4187 0 16 3.58125 16 8ZM8 1.5C4.40938 1.5 1.5 4.40938 1.5 8C1.5 11.5906 4.40938 14.5 8 14.5C11.5906 14.5 14.5 11.5906 14.5 8C14.5 4.40938 11.5906 1.5 8 1.5Z' /%3E%3C/svg%3E\");background:var(--gse-ui-radioButton-icon-hover-foregroundColor)}::slotted(input[type=radio]:checked)::before{-webkit-mask-image:url(\"data:image/svg+xml,%3Csvg viewBox='0 0 16 16' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M5 8C5 6.31563 6.31563 5 8 5C9.65625 5 11 6.31563 11 8C11 9.65625 9.65625 11 8 11C6.31563 11 5 9.65625 5 8ZM16 8C16 12.4187 12.4187 16 8 16C3.58125 16 0 12.4187 0 8C0 3.58125 3.58125 0 8 0C12.4187 0 16 3.58125 16 8ZM8 1.5C4.40938 1.5 1.5 4.40938 1.5 8C1.5 11.5906 4.40938 14.5 8 14.5C11.5906 14.5 14.5 11.5906 14.5 8C14.5 4.40938 11.5906 1.5 8 1.5Z' /%3E%3C/svg%3E\");mask-image:url(\"data:image/svg+xml,%3Csvg viewBox='0 0 16 16' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M5 8C5 6.31563 6.31563 5 8 5C9.65625 5 11 6.31563 11 8C11 9.65625 9.65625 11 8 11C6.31563 11 5 9.65625 5 8ZM16 8C16 12.4187 12.4187 16 8 16C3.58125 16 0 12.4187 0 8C0 3.58125 3.58125 0 8 0C12.4187 0 16 3.58125 16 8ZM8 1.5C4.40938 1.5 1.5 4.40938 1.5 8C1.5 11.5906 4.40938 14.5 8 14.5C11.5906 14.5 14.5 11.5906 14.5 8C14.5 4.40938 11.5906 1.5 8 1.5Z' /%3E%3C/svg%3E\");background:var(--gse-ui-radioButton-icon-default-selectedForegroundColor)}::slotted(input[type=radio]:disabled)::before{cursor:not-allowed;opacity:var(--gse-ui-radioButton-disabled-opacity)}::slotted(label){display:inline-block;font-family:var(--gse-ui-radioButton-label-text-fontFamily);font-size:var(--gse-ui-formControl-label-text-fontSize);font-weight:var(--gse-ui-radioButton-label-text-fontWeight);line-height:var(--gse-ui-radioButton-label-text-lineHeight);vertical-align:middle;color:var(--gse-ui-radioButton-label-foregroundColor)}";export{p as gux_form_field_radio}
@@ -1 +1 @@
1
- import{r as e,h as t,a as i}from"./p-mm833MRp.js";import{t as s}from"./p-B_5U73XW.js";import{h as n}from"./p-qzV3vtOw.js";const a=class{constructor(t){e(this,t)}renderSlot(e){return n(this.root,e)?t("div",{class:`${e}`},t("slot",{name:`${e}`})):null}renderTitleDesc(){const e=n(this.root,"title"),i=n(this.root,"description");return e||i?t("div",{class:"gux-title-description"},e&&t("slot",{name:"title"}),i&&t("gux-truncate",{"max-lines":"2"},t("slot",{name:"description"}))):null}componentWillLoad(){s(this.root)}connectedCallback(){this.internals=this.root.attachInternals(),this.internals.role="banner"}render(){return t("div",{key:"3e51981bc3ef9171b30172615672e5bde142e0ed",class:"title-block"},this.renderSlot("icon"),this.renderTitleDesc(),this.renderSlot("badge"))}get root(){return i(this)}};a.style=":host{display:block;padding:var(--gse-ui-sidePanel-header-padding)}.title-block{display:flex;gap:var(--gse-ui-sidePanel-header-titleBlock-iconGap);padding:var(--gse-ui-sidePanel-header-titleBlock-padding)}.icon{flex:0 0 auto;align-content:center}.gux-title-description{flex:1 1 auto;inline-size:1px;font-family:var(--gse-ui-sidePanel-description-text-fontFamily);font-size:var(--gse-ui-sidePanel-description-text-fontSize);font-weight:var(--gse-ui-sidePanel-description-text-fontWeight);line-height:var(--gse-ui-sidePanel-description-text-lineHeight);color:var(--gse-ui-sidePanel-descriptionColor)}.badge{flex:0 0 auto;align-content:center}";export{a as gux_side_panel_header}
1
+ import{r as e,h as t,a as i}from"./p-mm833MRp.js";import{t as s}from"./p-B6h1eXrW.js";import{h as n}from"./p-qzV3vtOw.js";const a=class{constructor(t){e(this,t)}renderSlot(e){return n(this.root,e)?t("div",{class:`${e}`},t("slot",{name:`${e}`})):null}renderTitleDesc(){const e=n(this.root,"title"),i=n(this.root,"description");return e||i?t("div",{class:"gux-title-description"},e&&t("slot",{name:"title"}),i&&t("gux-truncate",{"max-lines":"2"},t("slot",{name:"description"}))):null}componentWillLoad(){s(this.root)}connectedCallback(){this.internals=this.root.attachInternals(),this.internals.role="banner"}render(){return t("div",{key:"daeb34deeff0d64980a20db719ececf47e73d2cd",class:"title-block"},this.renderSlot("icon"),this.renderTitleDesc(),this.renderSlot("badge"))}get root(){return i(this)}};a.style=":host{display:block;padding:var(--gse-ui-sidePanel-header-padding)}.title-block{display:flex;gap:var(--gse-ui-sidePanel-header-titleBlock-iconGap);padding:var(--gse-ui-sidePanel-header-titleBlock-padding)}.icon{flex:0 0 auto;align-content:center}.gux-title-description{flex:1 1 auto;inline-size:1px;font-family:var(--gse-ui-sidePanel-description-text-fontFamily);font-size:var(--gse-ui-sidePanel-description-text-fontSize);font-weight:var(--gse-ui-sidePanel-description-text-fontWeight);line-height:var(--gse-ui-sidePanel-description-text-lineHeight);color:var(--gse-ui-sidePanel-descriptionColor)}.badge{flex:0 0 auto;align-content:center}";export{a as gux_side_panel_header}
@@ -1 +1 @@
1
- import{r as e,h as t,H as i}from"./p-mm833MRp.js";const s=class{constructor(t){e(this,t),this.selected=!1,this.disabled=!1}onClick(e){this.disabled&&e.stopPropagation()}render(){return t(i,{key:"b0d511710c019c0d4f301441badd3d0efe135d09",class:{"gux-selected":this.selected}},t("button",{key:"c6ff5212f59e245d3a52f721dc653b36a6145419","aria-current":this.selected.toString(),type:"button",class:"gux-switch-item",disabled:this.disabled},t("slot",{key:"9fd47e740e607b3452b7714fae8d2dac5779bebe"})))}};s.style="gux-switch-item>.gux-switch-item{font-family:var(--gse-semantic-body-sm-regular-fontFamily), var(--gse-semantic-theme-fontFamily-body), sans-serif;font-size:var(--gse-semantic-body-sm-regular-fontSize);line-height:var(--gse-semantic-body-sm-regular-lineHeight);font-weight:var(--gse-semantic-body-sm-regular-fontWeight);font:unset;color:var(--gse-semantic-foreground-container-highEmphasis);text-align:center;outline:none;background:none;border:none}gux-switch-item>.gux-switch-item>gux-icon svg{fill:#99a4b8}gux-switch-item[disabled]{pointer-events:none;opacity:0.5}gux-switch-item.gux-selected{font-family:var(--gse-semantic-body-sm-regular-fontFamily), var(--gse-semantic-theme-fontFamily-body), sans-serif;font-size:var(--gse-semantic-body-sm-regular-fontSize);line-height:var(--gse-semantic-body-sm-regular-lineHeight);font-weight:var(--gse-semantic-body-sm-bold-fontWeight)}gux-switch-legacy>gux-switch-item .gux-switch-item{padding:0 8px 4px;border-bottom:1px solid var(--gse-ui-segmentedControl-button-active-backgroundColor)}gux-switch-legacy>gux-switch-item .gux-switch-item:focus-visible,gux-switch-legacy>gux-switch-item .gux-switch-item:hover{padding:0 8px 1px;border-bottom:4px solid var(--gse-ui-segmentedControl-button-default-foregroundColor)}gux-switch-legacy>gux-switch-item .gux-switch-item:focus-visible>gux-icon svg,gux-switch-legacy>gux-switch-item .gux-switch-item:hover>gux-icon svg{fill:var(--gse-ui-segmentedControl-button-disabled-foregroundColor)}gux-switch-legacy>gux-switch-item .gux-switch-item:focus-visible{outline:var(--gse-semantic-focusOutline-md-borderWidth) solid var(--gse-semantic-border-focus);outline-offset:var(--gse-semantic-focusOutline-offset);border-radius:2px}gux-switch-legacy>gux-switch-item .gux-switch-item>gux-icon{width:32px;height:32px}gux-switch-legacy>gux-switch-item.gux-selected .gux-switch-item{padding:0 8px 1px;border-bottom:4px solid var(--gse-ui-segmentedControl-button-default-foregroundColor)}gux-switch-legacy>gux-switch-item.gux-selected .gux-switch-item>gux-icon svg{fill:var(--gse-ui-segmentedControl-button-disabled-foregroundColor)}gux-switch-legacy.gux-small>gux-switch-item .gux-switch-item{font-family:var(--gse-semantic-body-sm-regular-fontFamily), var(--gse-semantic-theme-fontFamily-body), sans-serif;font-size:var(--gse-semantic-body-sm-regular-fontSize);line-height:var(--gse-semantic-body-sm-regular-lineHeight);font-weight:var(--gse-semantic-body-sm-regular-fontWeight);padding:0 4px;border-bottom:1px solid var(--gse-ui-segmentedControl-button-active-backgroundColor)}gux-switch-legacy.gux-small>gux-switch-item .gux-switch-item:focus-visible,gux-switch-legacy.gux-small>gux-switch-item .gux-switch-item:hover{border-bottom-color:var(--gse-ui-segmentedControl-button-disabled-foregroundColor)}gux-switch-legacy.gux-small>gux-switch-item .gux-switch-item>gux-icon{width:24px;height:24px}gux-switch-legacy.gux-small>gux-switch-item.gux-selected .gux-switch-item{border-bottom-color:var(--gse-ui-segmentedControl-button-disabled-foregroundColor)}";export{s as gux_switch_item}
1
+ import{r as e,h as t,H as i}from"./p-mm833MRp.js";const s=class{constructor(t){e(this,t),this.selected=!1,this.disabled=!1}onClick(e){this.disabled&&e.stopPropagation()}render(){return t(i,{key:"6d988f5b2c4df5b0611b4bc67f59242712ad1ea0",class:{"gux-selected":this.selected}},t("button",{key:"d54319e54862f47a31a972979dcc737a7b1b2ed6","aria-current":this.selected.toString(),type:"button",class:"gux-switch-item",disabled:this.disabled},t("slot",{key:"1fd0c43c5e394e383412a0973bdac80aa65873b9"})))}};s.style="gux-switch-item>.gux-switch-item{font-family:var(--gse-semantic-body-sm-regular-fontFamily), var(--gse-semantic-theme-fontFamily-body), sans-serif;font-size:var(--gse-semantic-body-sm-regular-fontSize);line-height:var(--gse-semantic-body-sm-regular-lineHeight);font-weight:var(--gse-semantic-body-sm-regular-fontWeight);font:unset;color:var(--gse-semantic-foreground-container-highEmphasis);text-align:center;outline:none;background:none;border:none}gux-switch-item>.gux-switch-item>gux-icon svg{fill:#99a4b8}gux-switch-item[disabled]{pointer-events:none;opacity:0.5}gux-switch-item.gux-selected{font-family:var(--gse-semantic-body-sm-regular-fontFamily), var(--gse-semantic-theme-fontFamily-body), sans-serif;font-size:var(--gse-semantic-body-sm-regular-fontSize);line-height:var(--gse-semantic-body-sm-regular-lineHeight);font-weight:var(--gse-semantic-body-sm-bold-fontWeight)}gux-switch-legacy>gux-switch-item .gux-switch-item{padding:0 8px 4px;border-bottom:1px solid var(--gse-ui-segmentedControl-button-active-backgroundColor)}gux-switch-legacy>gux-switch-item .gux-switch-item:focus-visible,gux-switch-legacy>gux-switch-item .gux-switch-item:hover{padding:0 8px 1px;border-bottom:4px solid var(--gse-ui-segmentedControl-button-default-foregroundColor)}gux-switch-legacy>gux-switch-item .gux-switch-item:focus-visible>gux-icon svg,gux-switch-legacy>gux-switch-item .gux-switch-item:hover>gux-icon svg{fill:var(--gse-ui-segmentedControl-button-disabled-foregroundColor)}gux-switch-legacy>gux-switch-item .gux-switch-item:focus-visible{outline:var(--gse-semantic-focusOutline-md-borderWidth) solid var(--gse-semantic-border-focus);outline-offset:var(--gse-semantic-focusOutline-offset);border-radius:2px}gux-switch-legacy>gux-switch-item .gux-switch-item>gux-icon{width:32px;height:32px}gux-switch-legacy>gux-switch-item.gux-selected .gux-switch-item{padding:0 8px 1px;border-bottom:4px solid var(--gse-ui-segmentedControl-button-default-foregroundColor)}gux-switch-legacy>gux-switch-item.gux-selected .gux-switch-item>gux-icon svg{fill:var(--gse-ui-segmentedControl-button-disabled-foregroundColor)}gux-switch-legacy.gux-small>gux-switch-item .gux-switch-item{font-family:var(--gse-semantic-body-sm-regular-fontFamily), var(--gse-semantic-theme-fontFamily-body), sans-serif;font-size:var(--gse-semantic-body-sm-regular-fontSize);line-height:var(--gse-semantic-body-sm-regular-lineHeight);font-weight:var(--gse-semantic-body-sm-regular-fontWeight);padding:0 4px;border-bottom:1px solid var(--gse-ui-segmentedControl-button-active-backgroundColor)}gux-switch-legacy.gux-small>gux-switch-item .gux-switch-item:focus-visible,gux-switch-legacy.gux-small>gux-switch-item .gux-switch-item:hover{border-bottom-color:var(--gse-ui-segmentedControl-button-disabled-foregroundColor)}gux-switch-legacy.gux-small>gux-switch-item .gux-switch-item>gux-icon{width:24px;height:24px}gux-switch-legacy.gux-small>gux-switch-item.gux-selected .gux-switch-item{border-bottom-color:var(--gse-ui-segmentedControl-button-disabled-foregroundColor)}";export{s as gux_switch_item}
@@ -1 +1 @@
1
- import{r as t,c as i,h as a,a as e}from"./p-mm833MRp.js";import{e as s}from"./p-C6ZfOd6U.js";import{r as o}from"./p-D9jKBqIb.js";import{a as n}from"./p-Bg4q97BS.js";import{b as d}from"./p-D_8CR3cJ.js";import{t as u}from"./p-DFTYqKJS.js";import"./p-Cd4R0amv.js";const r=class{constructor(a){t(this,a),this.internalactivatetabpanel=i(this,"internalactivatetabpanel",7),this.dropdownOptionsButtonId=o(),this.tabTitle="",this.focusinFromClick=!1,this.active=!1,this.guxDisabled=!1,this.popoverHidden=!0}onFocusin(t){!this.focusinFromClick&&t.target.classList.contains("gux-tab-button")&&this.tooltipTitleElement.setShowTooltip()}onFocusout(t){this.root.querySelector(".gux-tab").contains(t.relatedTarget)||(this.popoverHidden=!0),t.target.classList.contains("gux-tab-button")&&this.tooltipTitleElement.setHideTooltip(),this.focusinFromClick=!1}onKeydown(t){switch(t.key){case"ArrowDown":s(".gux-tab-options-trigger",t)&&(t.stopPropagation(),t.preventDefault(),this.popoverHidden=!1,this.focusFirstItemInPopupList()),s('gux-list[slot="dropdown-options"]',t)&&(t.stopImmediatePropagation(),t.stopPropagation());break;case"Enter":s(".gux-tab-options-trigger",t)&&(t.stopPropagation(),t.preventDefault(),this.popoverHidden=!1,this.focusFirstItemInPopupList());break;case"Escape":s('gux-list[slot="dropdown-options"]',t)&&(t.stopPropagation(),this.popoverHidden=!0,n((()=>{var t;null===(t=this.tabOptionsButtonElement)||void 0===t||t.focus()})));break;case"ArrowRight":case"ArrowLeft":case"ArrowUp":case"Tab":case"Home":case"End":s('gux-list[slot="dropdown-options"]',t)&&(t.stopImmediatePropagation(),t.stopPropagation())}}onKeyup(t){" "===t.key&&s(".gux-tab-options-trigger",t)&&this.focusFirstItemInPopupList()}onClick(t){s(".gux-tab-options-trigger",t)||this.active||this.guxDisabled||this.internalactivatetabpanel.emit(this.tabId)}onMouseDown(){this.focusinFromClick=!0}async guxSetActive(t){this.active=t}async guxGetActive(){return this.active}async guxFocus(){this.buttonElement.focus()}get hasDropdownOptions(){return Boolean(this.root.querySelector('gux-list[slot="dropdown-options"]'))}focusFirstItemInPopupList(){const t=this.root.querySelector('gux-list[slot="dropdown-options"]');n((()=>{null==t||t.guxFocusFirstItem()}))}toggleOptions(){this.popoverHidden=!this.popoverHidden}onSelectDropdownOption(t){this.popoverHidden=!0,t.stopPropagation(),n((()=>{this.tabOptionsButtonElement.focus()}))}async componentWillLoad(){this.i18n=await d(this.root,u,"gux-tabs-advanced")}componentDidLoad(){this.tabTitle=this.root.querySelector("gux-tooltip-title").textContent.trim()}popoverOnClick(t){t.stopPropagation()}renderTabOptions(){return this.hasDropdownOptions?a("div",{class:"gux-tab-options"},a("gux-button-slot",{accent:"ghost"},a("button",{id:this.dropdownOptionsButtonId,role:"tab","aria-expanded":(!this.popoverHidden).toString(),type:"button",class:"gux-tab-options-trigger",ref:t=>this.tabOptionsButtonElement=t,onClick:()=>this.toggleOptions(),tabIndex:this.active?0:-1,disabled:this.guxDisabled},a("gux-icon",{"icon-name":"fa/ellipsis-vertical-regular",decorative:!0}),a("gux-screen-reader-beta",null,this.i18n("options",{tabTitle:this.tabTitle})))),a("gux-popover-list",{position:"top-end",for:this.dropdownOptionsButtonId,displayDismissButton:!1,"is-open":!this.popoverHidden,closeOnClickOutside:!0,onGuxdismiss:()=>this.popoverHidden=!0,onClick:t=>this.popoverOnClick(t),onFocusout:t=>t.stopImmediatePropagation()},a("div",{class:"gux-dropdown-options-container",onClick:t=>this.onSelectDropdownOption(t)},a("slot",{name:"dropdown-options"})))):null}renderTabButton(){return a("button",{class:"gux-tab-button",type:"button",role:"tab",disabled:this.guxDisabled,"aria-selected":this.active.toString(),"aria-disabled":this.guxDisabled.toString(),"aria-controls":`gux-${this.tabId}-panel`,ref:t=>this.buttonElement=t,tabIndex:this.active?0:-1,id:`gux-${this.tabId}-tab`},a("gux-tooltip-title",{ref:t=>this.tooltipTitleElement=t},a("span",{class:"gux-tab-button-text"},a("slot",null))))}render(){return[a("div",{key:"bc5176fa0c08e7db647e89fe0f968494b576a494",class:{"gux-tab":!0,"gux-selected":this.active,"gux-dropdown-options":this.hasDropdownOptions,"gux-disabled":this.guxDisabled}},a("div",{key:"764fef8074b65e50d26d75c54c7ac38f29989691",class:"gux-buttons"},this.renderTabButton(),this.renderTabOptions()),a("div",{key:"b67efe6595d0752f758a158476df44520559a0d8",class:"gux-divider"}))]}get root(){return e(this)}};r.style="gux-tab-advanced .gux-tab{display:flex;align-items:center;border-color:transparent;border-block-start-width:var(--gse-ui-advancedTabs-item-indicator-height);border-block-end-style:solid;border-block-end-width:var(--gse-ui-advancedTabs-item-indicator-height)}gux-tab-advanced .gux-tab .gux-buttons{display:flex;flex:1 1 0;gap:var(--gse-ui-advancedTabs-item-gap);align-items:center;inline-size:var(--gse-ui-advancedTabs-item-width);min-inline-size:0}gux-tab-advanced .gux-tab .gux-buttons .gux-tab-button{all:unset;flex:1 1 0;inline-size:100px;min-inline-size:0;padding:var(--gse-ui-advancedTabs-item-padding)}gux-tab-advanced .gux-tab .gux-buttons .gux-tab-button:focus-visible{outline:var(--gse-semantic-focusOutline-md-borderWidth) solid var(--gse-semantic-border-focus);outline-offset:var(--gse-semantic-focusOutline-offset);outline-offset:calc(-1 * var(--gse-semantic-focusOutline-md-borderWidth));border-radius:var(--gse-ui-advancedTabs-item-focus-borderRadius)}gux-tab-advanced .gux-tab .gux-buttons .gux-tab-button .gux-tab-button-text{font-family:var(--gse-ui-advancedTabs-item-itemText-fontFamily);font-size:var(--gse-ui-advancedTabs-item-itemText-fontSize);font-weight:var(--gse-ui-advancedTabs-item-itemText-fontWeight);line-height:var(--gse-ui-advancedTabs-item-itemText-lineHeight);color:var(--gse-ui-advancedTabs-item-text-color);white-space:nowrap}gux-tab-advanced .gux-tab .gux-tab-options button{block-size:var(--gse-ui-button-default-height);padding:var(--gse-ui-button-default-paddingIconOnly);border-radius:var(--gse-ui-button-borderRadius)}gux-tab-advanced .gux-tab .gux-tab-options .gux-tab-options-trigger gux-icon{inline-size:var(--gse-ui-icon-small-size);block-size:var(--gse-ui-icon-small-size)}gux-tab-advanced .gux-tab .gux-tab-options .gux-tab-options-container{--no-op:none}gux-tab-advanced .gux-tab .gux-divider{inline-size:var(--gse-ui-advancedTabs-item-divider-right-width);block-size:var(--gse-ui-advancedTabs-item-divider-right-height);background-color:var(--gse-ui-advancedTabs-divider-dividerColor)}gux-tab-advanced .gux-tab:hover:not(.gux-disabled),gux-tab-advanced .gux-tab:focus-within{border-block-end-color:var(--gse-ui-advancedTabs-item-indicator-activeColor)}gux-tab-advanced .gux-tab.gux-selected{background-color:var(--gse-ui-advancedTabs-item-backgroundColor);border-block-end-color:var(--gse-ui-advancedTabs-item-indicator-activeColor)}gux-tab-advanced .gux-tab.gux-selected.gux-disabled{opacity:var(--gse-ui-advancedTabs-item-disabled-opacity)}gux-tab-advanced .gux-tab.gux-disabled .gux-buttons .gux-tab-button .gux-tab-button-text{opacity:var(--gse-ui-advancedTabs-item-disabled-opacity)}";export{r as gux_tab_advanced}
1
+ import{r as t,c as i,h as a,a as e}from"./p-mm833MRp.js";import{e as s}from"./p-C6ZfOd6U.js";import{r as o}from"./p-D9jKBqIb.js";import{a as n}from"./p-Bg4q97BS.js";import{b as d}from"./p-D_8CR3cJ.js";import{t as u}from"./p-DFTYqKJS.js";import"./p-Cd4R0amv.js";const r=class{constructor(a){t(this,a),this.internalactivatetabpanel=i(this,"internalactivatetabpanel",7),this.dropdownOptionsButtonId=o(),this.tabTitle="",this.focusinFromClick=!1,this.active=!1,this.guxDisabled=!1,this.popoverHidden=!0}onFocusin(t){!this.focusinFromClick&&t.target.classList.contains("gux-tab-button")&&this.tooltipTitleElement.setShowTooltip()}onFocusout(t){this.root.querySelector(".gux-tab").contains(t.relatedTarget)||(this.popoverHidden=!0),t.target.classList.contains("gux-tab-button")&&this.tooltipTitleElement.setHideTooltip(),this.focusinFromClick=!1}onKeydown(t){switch(t.key){case"ArrowDown":s(".gux-tab-options-trigger",t)&&(t.stopPropagation(),t.preventDefault(),this.popoverHidden=!1,this.focusFirstItemInPopupList()),s('gux-list[slot="dropdown-options"]',t)&&(t.stopImmediatePropagation(),t.stopPropagation());break;case"Enter":s(".gux-tab-options-trigger",t)&&(t.stopPropagation(),t.preventDefault(),this.popoverHidden=!1,this.focusFirstItemInPopupList());break;case"Escape":s('gux-list[slot="dropdown-options"]',t)&&(t.stopPropagation(),this.popoverHidden=!0,n((()=>{var t;null===(t=this.tabOptionsButtonElement)||void 0===t||t.focus()})));break;case"ArrowRight":case"ArrowLeft":case"ArrowUp":case"Tab":case"Home":case"End":s('gux-list[slot="dropdown-options"]',t)&&(t.stopImmediatePropagation(),t.stopPropagation())}}onKeyup(t){" "===t.key&&s(".gux-tab-options-trigger",t)&&this.focusFirstItemInPopupList()}onClick(t){s(".gux-tab-options-trigger",t)||this.active||this.guxDisabled||this.internalactivatetabpanel.emit(this.tabId)}onMouseDown(){this.focusinFromClick=!0}async guxSetActive(t){this.active=t}async guxGetActive(){return this.active}async guxFocus(){this.buttonElement.focus()}get hasDropdownOptions(){return Boolean(this.root.querySelector('gux-list[slot="dropdown-options"]'))}focusFirstItemInPopupList(){const t=this.root.querySelector('gux-list[slot="dropdown-options"]');n((()=>{null==t||t.guxFocusFirstItem()}))}toggleOptions(){this.popoverHidden=!this.popoverHidden}onSelectDropdownOption(t){this.popoverHidden=!0,t.stopPropagation(),n((()=>{this.tabOptionsButtonElement.focus()}))}async componentWillLoad(){this.i18n=await d(this.root,u,"gux-tabs-advanced")}componentDidLoad(){this.tabTitle=this.root.querySelector("gux-tooltip-title").textContent.trim()}popoverOnClick(t){t.stopPropagation()}renderTabOptions(){return this.hasDropdownOptions?a("div",{class:"gux-tab-options"},a("gux-button-slot",{accent:"ghost"},a("button",{id:this.dropdownOptionsButtonId,role:"tab","aria-expanded":(!this.popoverHidden).toString(),type:"button",class:"gux-tab-options-trigger",ref:t=>this.tabOptionsButtonElement=t,onClick:()=>this.toggleOptions(),tabIndex:this.active?0:-1,disabled:this.guxDisabled},a("gux-icon",{"icon-name":"fa/ellipsis-vertical-regular",decorative:!0}),a("gux-screen-reader-beta",null,this.i18n("options",{tabTitle:this.tabTitle})))),a("gux-popover-list",{position:"top-end",for:this.dropdownOptionsButtonId,displayDismissButton:!1,"is-open":!this.popoverHidden,closeOnClickOutside:!0,onGuxdismiss:()=>this.popoverHidden=!0,onClick:t=>this.popoverOnClick(t),onFocusout:t=>t.stopImmediatePropagation()},a("div",{class:"gux-dropdown-options-container",onClick:t=>this.onSelectDropdownOption(t)},a("slot",{name:"dropdown-options"})))):null}renderTabButton(){return a("button",{class:"gux-tab-button",type:"button",role:"tab",disabled:this.guxDisabled,"aria-selected":this.active.toString(),"aria-disabled":this.guxDisabled.toString(),"aria-controls":`gux-${this.tabId}-panel`,ref:t=>this.buttonElement=t,tabIndex:this.active?0:-1,id:`gux-${this.tabId}-tab`},a("gux-tooltip-title",{ref:t=>this.tooltipTitleElement=t},a("span",{class:"gux-tab-button-text"},a("slot",null))))}render(){return[a("div",{key:"d9a6e1e85e42ca8e1081f74b09728e613f74f8a7",class:{"gux-tab":!0,"gux-selected":this.active,"gux-dropdown-options":this.hasDropdownOptions,"gux-disabled":this.guxDisabled}},a("div",{key:"b531a00e3994179b1aa9e0346f7b5ce2d2f7b020",class:"gux-buttons"},this.renderTabButton(),this.renderTabOptions()),a("div",{key:"b176ce818e8fde42e1efe0f8aac64aec475e9b78",class:"gux-divider"}))]}get root(){return e(this)}};r.style="gux-tab-advanced .gux-tab{display:flex;align-items:center;border-color:transparent;border-block-start-width:var(--gse-ui-advancedTabs-item-indicator-height);border-block-end-style:solid;border-block-end-width:var(--gse-ui-advancedTabs-item-indicator-height)}gux-tab-advanced .gux-tab .gux-buttons{display:flex;flex:1 1 0;gap:var(--gse-ui-advancedTabs-item-gap);align-items:center;inline-size:var(--gse-ui-advancedTabs-item-width);min-inline-size:0}gux-tab-advanced .gux-tab .gux-buttons .gux-tab-button{all:unset;flex:1 1 0;inline-size:100px;min-inline-size:0;padding:var(--gse-ui-advancedTabs-item-padding)}gux-tab-advanced .gux-tab .gux-buttons .gux-tab-button:focus-visible{outline:var(--gse-semantic-focusOutline-md-borderWidth) solid var(--gse-semantic-border-focus);outline-offset:var(--gse-semantic-focusOutline-offset);outline-offset:calc(-1 * var(--gse-semantic-focusOutline-md-borderWidth));border-radius:var(--gse-ui-advancedTabs-item-focus-borderRadius)}gux-tab-advanced .gux-tab .gux-buttons .gux-tab-button .gux-tab-button-text{font-family:var(--gse-ui-advancedTabs-item-itemText-fontFamily);font-size:var(--gse-ui-advancedTabs-item-itemText-fontSize);font-weight:var(--gse-ui-advancedTabs-item-itemText-fontWeight);line-height:var(--gse-ui-advancedTabs-item-itemText-lineHeight);color:var(--gse-ui-advancedTabs-item-text-color);white-space:nowrap}gux-tab-advanced .gux-tab .gux-tab-options button{block-size:var(--gse-ui-button-default-height);padding:var(--gse-ui-button-default-paddingIconOnly);border-radius:var(--gse-ui-button-borderRadius)}gux-tab-advanced .gux-tab .gux-tab-options .gux-tab-options-trigger gux-icon{inline-size:var(--gse-ui-icon-small-size);block-size:var(--gse-ui-icon-small-size)}gux-tab-advanced .gux-tab .gux-tab-options .gux-tab-options-container{--no-op:none}gux-tab-advanced .gux-tab .gux-divider{inline-size:var(--gse-ui-advancedTabs-item-divider-right-width);block-size:var(--gse-ui-advancedTabs-item-divider-right-height);background-color:var(--gse-ui-advancedTabs-divider-dividerColor)}gux-tab-advanced .gux-tab:hover:not(.gux-disabled),gux-tab-advanced .gux-tab:focus-within{border-block-end-color:var(--gse-ui-advancedTabs-item-indicator-activeColor)}gux-tab-advanced .gux-tab.gux-selected{background-color:var(--gse-ui-advancedTabs-item-backgroundColor);border-block-end-color:var(--gse-ui-advancedTabs-item-indicator-activeColor)}gux-tab-advanced .gux-tab.gux-selected.gux-disabled{opacity:var(--gse-ui-advancedTabs-item-disabled-opacity)}gux-tab-advanced .gux-tab.gux-disabled .gux-buttons .gux-tab-button .gux-tab-button-text{opacity:var(--gse-ui-advancedTabs-item-disabled-opacity)}";export{r as gux_tab_advanced}
@@ -1 +1 @@
1
- import{r as e,h as t,a as r}from"./p-mm833MRp.js";import{b as a,g as n}from"./p-D_8CR3cJ.js";import{a as s}from"./p-DvPw3gUX.js";import{u as i}from"./p-BgaA4g76.js";import{s as o}from"./p-BMRf5pjV.js";import{b as u}from"./p-Bg4q97BS.js";import{g as h,b as c,a as l}from"./p-Dwrcabgx.js";import"./p-Cd4R0amv.js";import"./p-DCZG2J0G.js";var d={changeYear:"Current year is {currentYear}, Click to change year to {changeYear}"};const g=class{constructor(t){e(this,t),this.expanded=!0}onValueUpdate(e){const{year:t}=h(e);this.year=t}async guxFocus(e){this.expanded=!0,e=e||c();const{year:t}=h(e);this.year=t,u((()=>{const t=this.root.shadowRoot.querySelector(`gux-month-list-item[value="${e}"]`);t&&t.focus()}))}onKeyDown(e){if("Tab"===e.key){if(e.shiftKey)return;(this.nextYearElement.matches(":focus-visible")||this.previousYearElement.matches(":focus-visible")&&this.nextYearElement.disabled)&&(this.focusSelectedMonth(),e.preventDefault())}}focusSelectedMonth(){const e=this.root.shadowRoot.querySelector(`gux-month-list-item[value="${this.previewValue}"]`);if(e&&e.matches(":focus-visible"))null==e||e.focus();else{const e=this.root.shadowRoot.querySelectorAll("gux-month-list-item"),t=Array.from(e).find((e=>!e.disabled));null==t||t.focus()}}nextYearElementOnBlur(e){e.target.disabled&&!e.relatedTarget&&(this.focusSelectedMonth(),e.preventDefault())}async componentWillLoad(){this.i18n=await a(this.root,d),this.locale=i()?s(this.root):n(this.root),this.value?(this.year=h(this.value).year,this.previewValue=this.value):this.year=h(c()).year}updateValue(e){this.value=e,this.previewValue=this.value,o(this.root,"input"),o(this.root,"change")}isOutOfBounds(e){return this.max&&this.max<e||this.min&&this.min>e}onMonthClick(e){this.isOutOfBounds(e)||this.updateValue(e)}isCurrentMonth(e){return h(c()).year==this.year&&h(c()).month==e}getMonthAriaLabel(e){const{year:t,month:r}=h(e);return new Date(Number(t),Number(r)-1).toLocaleDateString(this.locale,{calendar:"gregory",year:"numeric",month:"long"})}getYearLabel(e){return new Date(Number(e),5).toLocaleDateString(this.locale,{calendar:"gregory",year:"numeric"})}isSelectedMonth(e){return e===this.value}isAriaSelectedMonth(e){return!!this.isSelectedMonth(e)&&"true"}changeYear(e){if(this.year=(parseInt(this.year)+e).toString(),this.value){const e=h(this.value).month,t=l(this.year,e);this.previewValue=t}}isPreviousYearLessThanMinYear(e,t){return(parseInt(e)-1).toString()<(t&&h(t).year)}isNextYearGreaterThanMaxYear(e,t){return(parseInt(e)+1).toString()>(t&&h(t).year)}getMonthShortName(e,t){return new Date(Number(e),Number(t)-1).toLocaleDateString(this.locale,{calendar:"gregory",month:"short"})}renderHeader(){return t("div",{class:"gux-year-header"},t("button",{type:"button",class:"gux-year-change",onClick:()=>this.changeYear(-1),disabled:this.isPreviousYearLessThanMinYear(this.year,this.min),ref:e=>this.previousYearElement=e},t("gux-icon",{"icon-name":"custom/chevron-left-small-regular",decorative:!0,size:"small"}),t("gux-screen-reader-beta",null,this.i18n("changeYear",{currentYear:parseInt(this.year),changeYear:parseInt(this.year)-1}))),t("div",{"data-testid":"year-label"},this.getYearLabel(this.year)),t("button",{type:"button",class:"gux-year-change",onClick:()=>this.changeYear(1),disabled:this.isNextYearGreaterThanMaxYear(this.year,this.max),ref:e=>this.nextYearElement=e,onBlur:this.nextYearElementOnBlur.bind(this)},t("gux-icon",{"icon-name":"custom/chevron-right-small-regular",decorative:!0,size:"small"}),t("gux-screen-reader-beta",null,this.i18n("changeYear",{currentYear:parseInt(this.year),changeYear:parseInt(this.year)+1}))))}renderMonths(){const e=Array.from(new Array(12),((e,t)=>String(t+1).padStart(2,"0"))).map((e=>{const r=l(this.year,e);return t("gux-month-list-item",{class:{"gux-current-month":this.isCurrentMonth(e)},value:r,selected:this.isSelectedMonth(r),"aria-selected":this.isAriaSelectedMonth(r),"aria-label":this.getMonthAriaLabel(r),onClick:()=>this.onMonthClick(r),disabled:this.isOutOfBounds(r)},this.getMonthShortName(this.year,e))}));return t("gux-month-list",null,e)}render(){return t("div",{key:"76f46429f1fb0bea437f0be16caa67ceb830b5c6",class:{"gux-hidden":!this.expanded,"gux-month-calendar":!0}},this.renderHeader(),this.renderMonths())}static get delegatesFocus(){return!0}get root(){return r(this)}static get watchers(){return{value:["onValueUpdate"]}}};g.style=".gux-month-calendar{flex-wrap:wrap;inline-size:var(--gse-ui-calendarMenu-width);box-shadow:var(--gse-ui-calendarMenu-boxShadow)}.gux-month-calendar.gux-hidden{display:none}.gux-month-calendar .gux-current-month{font-family:var(--gse-ui-calendarMenu-month-currentText-fontFamily);font-size:var(--gse-ui-calendarMenu-month-currentText-fontSize);font-weight:var(--gse-ui-calendarMenu-month-currentText-fontWeight);line-height:var(--gse-ui-calendarMenu-month-currentText-lineHeight);color:var(--gse-ui-calendarMenu-month-default-foregroundColor)}.gux-month-calendar .gux-year-header{position:relative;display:flex;align-items:center;justify-content:space-between;block-size:var(--gse-ui-calendarMenu-month-single-header-height);padding:var(--gse-ui-calendarMenu-header-padding);font-family:var(--gse-ui-calendarMenu-day-headerText-fontFamily);font-size:var(--gse-ui-calendarMenu-day-headerText-fontSize);font-weight:var(--gse-ui-calendarMenu-day-headerText-fontWeight);line-height:var(--gse-ui-calendarMenu-day-headerText-lineHeight);color:var(--gse-ui-calendarMenu-header-foregroundColor);background-color:var(--gse-ui-calendarMenu-header-backgroundColor);border-radius:var(--gse-ui-calendarMenu-single-header-borderRadius)}.gux-month-calendar .gux-year-header button{padding:var(--gse-ui-calendarMenu-header-arrow-padding);color:inherit;cursor:pointer;outline:none;background:none;border:none}.gux-month-calendar .gux-year-header button:focus-visible{outline:var(--gse-semantic-focusOutline-md-borderWidth) solid var(--gse-ui-color-focus);outline-offset:var(--gse-semantic-focusOutline-offset);border-radius:calc(var(--gse-semantic-focusOutline-sm-borderRadius) - var(--gse-semantic-focusOutline-offset))}.gux-month-calendar .gux-year-header button.gux-year-change:disabled{cursor:default;opacity:var(--gse-ui-calendarMenu-disabled-opacity)}.gux-month-calendar .gux-year-header button gux-icon{pointer-events:none}";export{g as gux_month_calendar}
1
+ import{r as e,h as t,a as r}from"./p-mm833MRp.js";import{b as a,g as n}from"./p-D_8CR3cJ.js";import{a as s}from"./p-DvPw3gUX.js";import{u as i}from"./p-BgaA4g76.js";import{s as o}from"./p-BMRf5pjV.js";import{b as u}from"./p-Bg4q97BS.js";import{g as h,b as c,a as l}from"./p-Dwrcabgx.js";import"./p-Cd4R0amv.js";import"./p-DCZG2J0G.js";var d={changeYear:"Current year is {currentYear}, Click to change year to {changeYear}"};const g=class{constructor(t){e(this,t),this.expanded=!0}onValueUpdate(e){const{year:t}=h(e);this.year=t}async guxFocus(e){this.expanded=!0,e=e||c();const{year:t}=h(e);this.year=t,u((()=>{const t=this.root.shadowRoot.querySelector(`gux-month-list-item[value="${e}"]`);t&&t.focus()}))}onKeyDown(e){if("Tab"===e.key){if(e.shiftKey)return;(this.nextYearElement.matches(":focus-visible")||this.previousYearElement.matches(":focus-visible")&&this.nextYearElement.disabled)&&(this.focusSelectedMonth(),e.preventDefault())}}focusSelectedMonth(){const e=this.root.shadowRoot.querySelector(`gux-month-list-item[value="${this.previewValue}"]`);if(e&&e.matches(":focus-visible"))null==e||e.focus();else{const e=this.root.shadowRoot.querySelectorAll("gux-month-list-item"),t=Array.from(e).find((e=>!e.disabled));null==t||t.focus()}}nextYearElementOnBlur(e){e.target.disabled&&!e.relatedTarget&&(this.focusSelectedMonth(),e.preventDefault())}async componentWillLoad(){this.i18n=await a(this.root,d),this.locale=i()?s(this.root):n(this.root),this.value?(this.year=h(this.value).year,this.previewValue=this.value):this.year=h(c()).year}updateValue(e){this.value=e,this.previewValue=this.value,o(this.root,"input"),o(this.root,"change")}isOutOfBounds(e){return this.max&&this.max<e||this.min&&this.min>e}onMonthClick(e){this.isOutOfBounds(e)||this.updateValue(e)}isCurrentMonth(e){return h(c()).year==this.year&&h(c()).month==e}getMonthAriaLabel(e){const{year:t,month:r}=h(e);return new Date(Number(t),Number(r)-1).toLocaleDateString(this.locale,{calendar:"gregory",year:"numeric",month:"long"})}getYearLabel(e){return new Date(Number(e),5).toLocaleDateString(this.locale,{calendar:"gregory",year:"numeric"})}isSelectedMonth(e){return e===this.value}isAriaSelectedMonth(e){return!!this.isSelectedMonth(e)&&"true"}changeYear(e){if(this.year=(parseInt(this.year)+e).toString(),this.value){const e=h(this.value).month,t=l(this.year,e);this.previewValue=t}}isPreviousYearLessThanMinYear(e,t){return(parseInt(e)-1).toString()<(t&&h(t).year)}isNextYearGreaterThanMaxYear(e,t){return(parseInt(e)+1).toString()>(t&&h(t).year)}getMonthShortName(e,t){return new Date(Number(e),Number(t)-1).toLocaleDateString(this.locale,{calendar:"gregory",month:"short"})}renderHeader(){return t("div",{class:"gux-year-header"},t("button",{type:"button",class:"gux-year-change",onClick:()=>this.changeYear(-1),disabled:this.isPreviousYearLessThanMinYear(this.year,this.min),ref:e=>this.previousYearElement=e},t("gux-icon",{"icon-name":"custom/chevron-left-small-regular",decorative:!0,size:"small"}),t("gux-screen-reader-beta",null,this.i18n("changeYear",{currentYear:parseInt(this.year),changeYear:parseInt(this.year)-1}))),t("div",{"data-testid":"year-label"},this.getYearLabel(this.year)),t("button",{type:"button",class:"gux-year-change",onClick:()=>this.changeYear(1),disabled:this.isNextYearGreaterThanMaxYear(this.year,this.max),ref:e=>this.nextYearElement=e,onBlur:this.nextYearElementOnBlur.bind(this)},t("gux-icon",{"icon-name":"custom/chevron-right-small-regular",decorative:!0,size:"small"}),t("gux-screen-reader-beta",null,this.i18n("changeYear",{currentYear:parseInt(this.year),changeYear:parseInt(this.year)+1}))))}renderMonths(){const e=Array.from(new Array(12),((e,t)=>String(t+1).padStart(2,"0"))).map((e=>{const r=l(this.year,e);return t("gux-month-list-item",{class:{"gux-current-month":this.isCurrentMonth(e)},value:r,selected:this.isSelectedMonth(r),"aria-selected":this.isAriaSelectedMonth(r),"aria-label":this.getMonthAriaLabel(r),onClick:()=>this.onMonthClick(r),disabled:this.isOutOfBounds(r)},this.getMonthShortName(this.year,e))}));return t("gux-month-list",null,e)}render(){return t("div",{key:"43c738fc5b21842ad8154673fe40c86d1998ecf5",class:{"gux-hidden":!this.expanded,"gux-month-calendar":!0}},this.renderHeader(),this.renderMonths())}static get delegatesFocus(){return!0}get root(){return r(this)}static get watchers(){return{value:["onValueUpdate"]}}};g.style=".gux-month-calendar{flex-wrap:wrap;inline-size:var(--gse-ui-calendarMenu-width);box-shadow:var(--gse-ui-calendarMenu-boxShadow)}.gux-month-calendar.gux-hidden{display:none}.gux-month-calendar .gux-current-month{font-family:var(--gse-ui-calendarMenu-month-currentText-fontFamily);font-size:var(--gse-ui-calendarMenu-month-currentText-fontSize);font-weight:var(--gse-ui-calendarMenu-month-currentText-fontWeight);line-height:var(--gse-ui-calendarMenu-month-currentText-lineHeight);color:var(--gse-ui-calendarMenu-month-default-foregroundColor)}.gux-month-calendar .gux-year-header{position:relative;display:flex;align-items:center;justify-content:space-between;block-size:var(--gse-ui-calendarMenu-month-single-header-height);padding:var(--gse-ui-calendarMenu-header-padding);font-family:var(--gse-ui-calendarMenu-day-headerText-fontFamily);font-size:var(--gse-ui-calendarMenu-day-headerText-fontSize);font-weight:var(--gse-ui-calendarMenu-day-headerText-fontWeight);line-height:var(--gse-ui-calendarMenu-day-headerText-lineHeight);color:var(--gse-ui-calendarMenu-header-foregroundColor);background-color:var(--gse-ui-calendarMenu-header-backgroundColor);border-radius:var(--gse-ui-calendarMenu-single-header-borderRadius)}.gux-month-calendar .gux-year-header button{padding:var(--gse-ui-calendarMenu-header-arrow-padding);color:inherit;cursor:pointer;outline:none;background:none;border:none}.gux-month-calendar .gux-year-header button:focus-visible{outline:var(--gse-semantic-focusOutline-md-borderWidth) solid var(--gse-ui-color-focus);outline-offset:var(--gse-semantic-focusOutline-offset);border-radius:calc(var(--gse-semantic-focusOutline-sm-borderRadius) - var(--gse-semantic-focusOutline-offset))}.gux-month-calendar .gux-year-header button.gux-year-change:disabled{cursor:default;opacity:var(--gse-ui-calendarMenu-disabled-opacity)}.gux-month-calendar .gux-year-header button gux-icon{pointer-events:none}";export{g as gux_month_calendar}
@@ -1 +1 @@
1
- import{r as o,h as e,H as t,a as r}from"./p-mm833MRp.js";import{t as a}from"./p-B_5U73XW.js";const i=class{constructor(e){o(this,e),this.placement="page-desktop"}componentWillLoad(){a(this.root,{variant:this.placement})}render(){return e(t,{key:"2397b3aad5df2c67ccd7ed477eb9388ca13a776d",class:{[`gux-form-footer-${this.placement}`]:!0}},e("slot",{key:"4df7466803b65af86d04d019f1f935cb7d74af53"}))}get root(){return r(this)}};i.style=":host ::slotted(footer){display:flex;align-items:center;justify-content:flex-start;margin-block-start:var(--gse-semantic-formControl-formBody-paddingBottom);border-block-start:var(--gse-ui-formFooter-separator-width) var(--gse-ui-formFooter-separator-style) var(--gse-ui-formFooter-separator-color)}:host(.gux-form-footer-page-desktop) ::slotted(footer){gap:var(--gse-ui-formFooter-page-desktop-gap);padding-block:var(--gse-ui-formFooter-page-desktop-topPadding) var(--gse-ui-formFooter-page-desktop-bottomPadding);padding-inline:var(--gse-ui-formFooter-page-desktop-horizontalPadding) var(--gse-ui-formFooter-page-desktop-horizontalPadding)}:host(.gux-form-footer-page-mobile) ::slotted(footer){flex-direction:column;gap:var(--gse-ui-formFooter-page-mobile-gap);align-items:stretch;justify-content:center;padding-block:var(--gse-ui-formFooter-page-mobile-topPadding) var(--gse-ui-formFooter-page-mobile-bottomPadding);padding-inline:var(--gse-ui-formFooter-page-mobile-horizontalPadding) var(--gse-ui-formFooter-page-mobile-horizontalPadding)}:host(.gux-form-footer-side-sheet-desktop) ::slotted(footer){gap:var(--gse-ui-formFooter-sideSheet-desktop-gap);padding-block:var(--gse-ui-formFooter-sideSheet-desktop-topPadding) var(--gse-ui-formFooter-sideSheet-desktop-bottomPadding);padding-inline:var(--gse-ui-formFooter-sideSheet-desktop-horizontalPadding) var(--gse-ui-formFooter-sideSheet-desktop-horizontalPadding)}";export{i as gux_form_footer}
1
+ import{r as o,h as e,H as t,a as r}from"./p-mm833MRp.js";import{t as a}from"./p-B6h1eXrW.js";const i=class{constructor(e){o(this,e),this.placement="page-desktop"}componentWillLoad(){a(this.root,{variant:this.placement})}render(){return e(t,{key:"f94cec6653d44f8f7f9c7e0b12929d9a2eedd492",class:{[`gux-form-footer-${this.placement}`]:!0}},e("slot",{key:"553db5a0585ddad60e28cda7d93b10ff7f127660"}))}get root(){return r(this)}};i.style=":host ::slotted(footer){display:flex;align-items:center;justify-content:flex-start;margin-block-start:var(--gse-semantic-formControl-formBody-paddingBottom);border-block-start:var(--gse-ui-formFooter-separator-width) var(--gse-ui-formFooter-separator-style) var(--gse-ui-formFooter-separator-color)}:host(.gux-form-footer-page-desktop) ::slotted(footer){gap:var(--gse-ui-formFooter-page-desktop-gap);padding-block:var(--gse-ui-formFooter-page-desktop-topPadding) var(--gse-ui-formFooter-page-desktop-bottomPadding);padding-inline:var(--gse-ui-formFooter-page-desktop-horizontalPadding) var(--gse-ui-formFooter-page-desktop-horizontalPadding)}:host(.gux-form-footer-page-mobile) ::slotted(footer){flex-direction:column;gap:var(--gse-ui-formFooter-page-mobile-gap);align-items:stretch;justify-content:center;padding-block:var(--gse-ui-formFooter-page-mobile-topPadding) var(--gse-ui-formFooter-page-mobile-bottomPadding);padding-inline:var(--gse-ui-formFooter-page-mobile-horizontalPadding) var(--gse-ui-formFooter-page-mobile-horizontalPadding)}:host(.gux-form-footer-side-sheet-desktop) ::slotted(footer){gap:var(--gse-ui-formFooter-sideSheet-desktop-gap);padding-block:var(--gse-ui-formFooter-sideSheet-desktop-topPadding) var(--gse-ui-formFooter-sideSheet-desktop-bottomPadding);padding-inline:var(--gse-ui-formFooter-sideSheet-desktop-horizontalPadding) var(--gse-ui-formFooter-sideSheet-desktop-horizontalPadding)}";export{i as gux_form_footer}
@@ -1 +1 @@
1
- import{r as a,c as e,h as o,a as t}from"./p-mm833MRp.js";import{r as i}from"./p-D9jKBqIb.js";import{t as n}from"./p-B_5U73XW.js";const d=class{constructor(o){a(this,o),this.guxdismiss=e(this,"guxdismiss",7),this.size="dynamic",this.trapFocus=!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,e,o;const t=this.getInitialFocusElement();t?null===(a=t.focus)||void 0===a||a.call(t):this.dismissButton&&(null===(o=(e=this.dismissButton).focus)||void 0===o||o.call(e))}render(){const a=this.hasModalTitleSlot(),e=this.hasFooterButtons(),t=i();return o("div",{key:"09677b7cf41bee98c7ff0184ca1d7d3de947b065",class:"gux-modal",role:"dialog","aria-modal":"true","aria-labelledby":a?t:null},o("div",{key:"d7e30d3d3d160f2dabc97e3ccf6ff88949162be3",class:`gux-modal-container gux-${this.size}`},this.renderModalTrapFocusEl(),a&&o("h1",{key:"bee9e01d63615d8ea0647d2da71e1d7df357b0e7",class:"gux-modal-header",id:t},o("slot",{key:"34e260a499780b3a3bf5ab6b7251e38984e9291c",name:"title"})),o("gux-dismiss-button",{key:"423eafafc2586e5f2f30597b1331528256c10b5c",onClick:this.onDismissHandler.bind(this),ref:a=>this.dismissButton=a}),o("div",{key:"9203ea19d1521a22264405bdcb5db76185949f8e",class:{"gux-modal-content":!0,"gux-no-buttons":!e}},o("p",{key:"1136985c490e15f37e003179013accdaddddb244"},o("slot",{key:"86787b100e7fdf0c0139757c9130a5f370a63942",name:"content"}))),e&&o("div",{key:"b22a1f4a55e6e6f9b3ff30ee579ea5011a0679e4",class:"gux-button-footer"},o("div",{key:"f5549d2c59b859c77de44fe79833f0a28e05d89a",class:"gux-left-align-buttons"},o("slot",{key:"aaab9e8048cad7c6fdfd348255e39d0aa7931848",name:"left-align-buttons"})),o("div",{key:"38dc02d96f3fbf000e4428cfc13e6ec88c462f1d",class:"gux-right-align-buttons"},o("slot",{key:"47b8d970fb1845ba32f261874e82104c520b4477",name:"right-align-buttons"}))),this.renderModalTrapFocusEl()))}renderModalTrapFocusEl(){if(this.trapFocus)return o("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 e;a.stopPropagation(),this.guxdismiss.emit().defaultPrevented||(this.root.remove(),null===(e=this.triggerElement)||void 0===e||e.focus())}get root(){return t(this)}};d.style="::slotted(button:active:enabled){color:var(--gse-ui-links-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:var(--gse-semantic-foreground-container-highEmphasis);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) 0;background:var(--gse-ui-modal-backgroundColor);border:1px solid var(--gse-semantic-border-container-edges-default);border-radius:var(--gse-ui-modal-borderRadius);box-shadow:var(--gse-ui-modal-boxShadow)}: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{padding:0 var(--gse-ui-modal-padding);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);font-family:var(--gse-semantic-heading-xl-bold-fontFamily), var(--gse-semantic-theme-fontFamily-headings), sans-serif;font-size:var(--gse-semantic-heading-xl-bold-fontSize);line-height:var(--gse-semantic-heading-xl-bold-lineHeight);font-weight:var(--gse-semantic-heading-xl-bold-fontWeight)}:host .gux-modal .gux-modal-container .gux-modal-content{max-height:432px;padding:0 var(--gse-ui-modal-padding);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;padding:0 var(--gse-ui-modal-padding)}@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{d as gux_modal_legacy}
1
+ import{r as a,c as e,h as o,a as t}from"./p-mm833MRp.js";import{r as i}from"./p-D9jKBqIb.js";import{t as n}from"./p-B6h1eXrW.js";const d=class{constructor(o){a(this,o),this.guxdismiss=e(this,"guxdismiss",7),this.size="dynamic",this.trapFocus=!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,e,o;const t=this.getInitialFocusElement();t?null===(a=t.focus)||void 0===a||a.call(t):this.dismissButton&&(null===(o=(e=this.dismissButton).focus)||void 0===o||o.call(e))}render(){const a=this.hasModalTitleSlot(),e=this.hasFooterButtons(),t=i();return o("div",{key:"e453b9e4b68c4ad9e489ac4a6e8700754fc6cc4c",class:"gux-modal",role:"dialog","aria-modal":"true","aria-labelledby":a?t:null},o("div",{key:"ceeeb4b5876b69afe3d3d93f4d0750fedb57d77e",class:`gux-modal-container gux-${this.size}`},this.renderModalTrapFocusEl(),a&&o("h1",{key:"8aa8aa694370d50413cc4a943b2bab0cba6daa5a",class:"gux-modal-header",id:t},o("slot",{key:"7482ebd759b0844d9704bb6b259ad8e4d49fd73f",name:"title"})),o("gux-dismiss-button",{key:"4721737b9b90a0e93e54e62e2f02fa2bce302e0c",onClick:this.onDismissHandler.bind(this),ref:a=>this.dismissButton=a}),o("div",{key:"330d2e8f6d3eb9d8d64217fbfc1a3c5381520d50",class:{"gux-modal-content":!0,"gux-no-buttons":!e}},o("p",{key:"615a572550359a68a212fff83f9c250230ea780a"},o("slot",{key:"1f06f6de3144e0f6d06646a8a8a34264735df5ef",name:"content"}))),e&&o("div",{key:"0a908b3103edd743256f3baad58cfa445e991b15",class:"gux-button-footer"},o("div",{key:"d2527dc6e184693edef8e338182665e745547056",class:"gux-left-align-buttons"},o("slot",{key:"3d429d69c5659beeccfb96929bd10b3b9fd004c0",name:"left-align-buttons"})),o("div",{key:"3912e750570efaac011094ebf21eddfb6aedfc9f",class:"gux-right-align-buttons"},o("slot",{key:"f3584a23eb7c200d8ae71c2f7249e34deca37a1c",name:"right-align-buttons"}))),this.renderModalTrapFocusEl()))}renderModalTrapFocusEl(){if(this.trapFocus)return o("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 e;a.stopPropagation(),this.guxdismiss.emit().defaultPrevented||(this.root.remove(),null===(e=this.triggerElement)||void 0===e||e.focus())}get root(){return t(this)}};d.style="::slotted(button:active:enabled){color:var(--gse-ui-links-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:var(--gse-semantic-foreground-container-highEmphasis);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) 0;background:var(--gse-ui-modal-backgroundColor);border:1px solid var(--gse-semantic-border-container-edges-default);border-radius:var(--gse-ui-modal-borderRadius);box-shadow:var(--gse-ui-modal-boxShadow)}: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{padding:0 var(--gse-ui-modal-padding);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);font-family:var(--gse-semantic-heading-xl-bold-fontFamily), var(--gse-semantic-theme-fontFamily-headings), sans-serif;font-size:var(--gse-semantic-heading-xl-bold-fontSize);line-height:var(--gse-semantic-heading-xl-bold-lineHeight);font-weight:var(--gse-semantic-heading-xl-bold-fontWeight)}:host .gux-modal .gux-modal-container .gux-modal-content{max-height:432px;padding:0 var(--gse-ui-modal-padding);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;padding:0 var(--gse-ui-modal-padding)}@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{d as gux_modal_legacy}