genesys-spark-components 4.185.4 → 4.186.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (670) 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-advanced-dropdown-legacy.cjs.entry.js +3 -3
  7. package/dist/cjs/gux-all-row-select.cjs.entry.js +1 -1
  8. package/dist/cjs/gux-announce-beta.cjs.entry.js +1 -1
  9. package/dist/cjs/gux-avatar-beta.cjs.entry.js +1 -1
  10. package/dist/cjs/gux-avatar-change-photo-beta.cjs.entry.js +1 -1
  11. package/dist/cjs/gux-avatar-group-add-item-beta_3.cjs.entry.js +1 -1
  12. package/dist/cjs/gux-avatar-group-beta.cjs.entry.js +1 -1
  13. package/dist/cjs/gux-avatar-group-item-beta.cjs.entry.js +1 -1
  14. package/dist/cjs/gux-badge.cjs.entry.js +2 -2
  15. package/dist/cjs/gux-blank-state-beta.cjs.entry.js +1 -1
  16. package/dist/cjs/gux-blank-state.cjs.entry.js +2 -2
  17. package/dist/cjs/gux-branch-multi.cjs.entry.js +85 -0
  18. package/dist/cjs/gux-branch.cjs.entry.js +78 -0
  19. package/dist/cjs/gux-breadcrumb-item.cjs.entry.js +1 -1
  20. package/dist/cjs/gux-breadcrumbs.cjs.entry.js +2 -2
  21. package/dist/cjs/gux-button-multi.cjs.entry.js +2 -2
  22. package/dist/cjs/gux-button-slot.cjs.entry.js +2 -2
  23. package/dist/cjs/gux-button_2.cjs.entry.js +5 -5
  24. package/dist/cjs/gux-calendar.cjs.entry.js +2 -2
  25. package/dist/cjs/gux-card.cjs.entry.js +3 -3
  26. package/dist/cjs/gux-cloud-logo-beta.cjs.entry.js +1 -1
  27. package/dist/cjs/gux-cloud-logomark-beta.cjs.entry.js +1 -1
  28. package/dist/cjs/gux-column-manager-item.cjs.entry.js +3 -3
  29. package/dist/cjs/gux-column-manager.cjs.entry.js +2 -2
  30. package/dist/cjs/gux-content-search.cjs.entry.js +3 -3
  31. package/dist/cjs/gux-context-menu.cjs.entry.js +3 -3
  32. package/dist/cjs/gux-copy-to-clipboard.cjs.entry.js +2 -2
  33. package/dist/cjs/gux-create-option.cjs.entry.js +2 -2
  34. package/dist/cjs/gux-date-beta.cjs.entry.js +1 -1
  35. package/dist/cjs/gux-date-time-beta.cjs.entry.js +1 -1
  36. package/dist/cjs/gux-datepicker.cjs.entry.js +2 -2
  37. package/dist/cjs/gux-disclosure-button-legacy.cjs.entry.js +3 -3
  38. package/dist/cjs/gux-dismiss-button.cjs.entry.js +3 -3
  39. package/dist/cjs/gux-dropdown-multi-tag.cjs.entry.js +1 -1
  40. package/dist/cjs/gux-dropdown-multi.cjs.entry.js +2 -2
  41. package/dist/cjs/gux-dropdown-option.cjs.entry.js +1 -1
  42. package/dist/cjs/gux-dropdown_3.cjs.entry.js +4 -4
  43. package/dist/cjs/gux-file-list-item.cjs.entry.js +3 -3
  44. package/dist/cjs/gux-flag-icon-beta.cjs.entry.js +1 -1
  45. package/dist/cjs/gux-flyout-menu.cjs.entry.js +3 -3
  46. package/dist/cjs/gux-form-field-checkbox-group-beta.cjs.entry.js +3 -3
  47. package/dist/cjs/gux-form-field-checkbox.cjs.entry.js +3 -3
  48. package/dist/cjs/gux-form-field-color.cjs.entry.js +4 -4
  49. package/dist/cjs/gux-form-field-dropdown.cjs.entry.js +4 -4
  50. package/dist/cjs/gux-form-field-file-beta.cjs.entry.js +2 -2
  51. package/dist/cjs/gux-form-field-file.cjs.entry.js +2 -2
  52. package/dist/cjs/gux-form-field-input-clear-button.cjs.entry.js +2 -2
  53. package/dist/cjs/gux-form-field-label-indicator.cjs.entry.js +1 -1
  54. package/dist/cjs/gux-form-field-number_2.cjs.entry.js +8 -8
  55. package/dist/cjs/gux-form-field-phone.cjs.entry.js +5 -5
  56. package/dist/cjs/gux-form-field-radio-group-beta.cjs.entry.js +3 -3
  57. package/dist/cjs/gux-form-field-radio.cjs.entry.js +3 -3
  58. package/dist/cjs/gux-form-field-range.cjs.entry.js +3 -3
  59. package/dist/cjs/gux-form-field-search.cjs.entry.js +4 -4
  60. package/dist/cjs/gux-form-field-select.cjs.entry.js +4 -4
  61. package/dist/cjs/gux-form-field-text-like.cjs.entry.js +4 -4
  62. package/dist/cjs/gux-form-field-textarea.cjs.entry.js +3 -3
  63. package/dist/cjs/gux-form-field-time-picker.cjs.entry.js +5 -5
  64. package/dist/cjs/gux-form-field-time-zone-picker.cjs.entry.js +4 -4
  65. package/dist/cjs/gux-form-footer.cjs.entry.js +1 -1
  66. package/dist/cjs/gux-icon-tooltip-beta.cjs.entry.js +1 -1
  67. package/dist/cjs/gux-icon.cjs.entry.js +2 -2
  68. package/dist/cjs/gux-illustration-beta.cjs.entry.js +1 -1
  69. package/dist/cjs/gux-inline-alert.cjs.entry.js +3 -3
  70. package/dist/cjs/gux-inline-dropdown-beta.cjs.entry.js +1 -1
  71. package/dist/cjs/gux-label-info-beta.cjs.entry.js +1 -1
  72. package/dist/cjs/gux-leaf-multi.cjs.entry.js +70 -0
  73. package/dist/cjs/gux-leaf.cjs.entry.js +68 -0
  74. package/dist/cjs/gux-link-beta.cjs.entry.js +1 -1
  75. package/dist/cjs/gux-list-divider.cjs.entry.js +1 -1
  76. package/dist/cjs/gux-list-item.cjs.entry.js +1 -1
  77. package/dist/cjs/gux-list.cjs.entry.js +2 -2
  78. package/dist/cjs/gux-listbox-multi.cjs.entry.js +1 -1
  79. package/dist/cjs/gux-loading-message.cjs.entry.js +2 -2
  80. package/dist/cjs/gux-logo-beta.cjs.entry.js +1 -1
  81. package/dist/cjs/gux-logomark-beta.cjs.entry.js +1 -1
  82. package/dist/cjs/gux-menu-option.cjs.entry.js +1 -1
  83. package/dist/cjs/gux-menu.cjs.entry.js +1 -1
  84. package/dist/cjs/gux-modal-legacy.cjs.entry.js +3 -3
  85. package/dist/cjs/gux-modal-side-panel-beta.cjs.entry.js +1 -1
  86. package/dist/cjs/gux-modal.cjs.entry.js +2 -2
  87. package/dist/cjs/gux-month-picker-beta.cjs.entry.js +1 -1
  88. package/dist/cjs/gux-notification-toast-legacy.cjs.entry.js +2 -2
  89. package/dist/cjs/gux-option-group-beta.cjs.entry.js +1 -1
  90. package/dist/cjs/gux-option-icon.cjs.entry.js +2 -2
  91. package/dist/cjs/gux-option-multi.cjs.entry.js +2 -2
  92. package/dist/cjs/gux-page-loading-spinner.cjs.entry.js +2 -2
  93. package/dist/cjs/gux-pagination-buttons-legacy_3.cjs.entry.js +4 -4
  94. package/dist/cjs/gux-pagination-buttons_2.cjs.entry.js +3 -3
  95. package/dist/cjs/gux-pagination-cursor.cjs.entry.js +1 -1
  96. package/dist/cjs/gux-pagination-items-per-page.cjs.entry.js +1 -1
  97. package/dist/cjs/gux-pagination-legacy.cjs.entry.js +2 -2
  98. package/dist/cjs/gux-pagination.cjs.entry.js +2 -2
  99. package/dist/cjs/gux-phone-input-beta.cjs.entry.js +1 -1
  100. package/dist/cjs/gux-popover-beta.cjs.entry.js +1 -1
  101. package/dist/cjs/gux-popover-list-beta.cjs.entry.js +1 -1
  102. package/dist/cjs/gux-popover-list.cjs.entry.js +3 -3
  103. package/dist/cjs/gux-popup.cjs.entry.js +3 -3
  104. package/dist/cjs/gux-prompt-input-beta.cjs.entry.js +1 -1
  105. package/dist/cjs/gux-radial-loading.cjs.entry.js +2 -2
  106. package/dist/cjs/gux-radial-progress.cjs.entry.js +1 -1
  107. package/dist/cjs/gux-rating.cjs.entry.js +2 -2
  108. package/dist/cjs/gux-rich-highlight-list-item.cjs.entry.js +1 -1
  109. package/dist/cjs/gux-rich-style-list-item_3.cjs.entry.js +1 -1
  110. package/dist/cjs/gux-rich-text-editor-action-link.cjs.entry.js +1 -1
  111. package/dist/cjs/gux-rich-text-editor-action-rich-style.cjs.entry.js +1 -1
  112. package/dist/cjs/gux-rich-text-editor-action-text-highlight.cjs.entry.js +1 -1
  113. package/dist/cjs/gux-rich-text-editor-action.cjs.entry.js +1 -1
  114. package/dist/cjs/gux-rich-text-editor-beta.cjs.entry.js +1 -1
  115. package/dist/cjs/gux-rich-text-editor-list.cjs.entry.js +1 -1
  116. package/dist/cjs/gux-row-select.cjs.entry.js +2 -2
  117. package/dist/cjs/gux-screen-reader-beta.cjs.entry.js +1 -1
  118. package/dist/cjs/gux-segmented-control-beta.cjs.entry.js +1 -1
  119. package/dist/cjs/gux-select-all.cjs.entry.js +2 -2
  120. package/dist/cjs/gux-selector-card-beta.cjs.entry.js +1 -1
  121. package/dist/cjs/gux-selector-cards-beta.cjs.entry.js +1 -1
  122. package/dist/cjs/gux-side-panel-beta.cjs.entry.js +1 -1
  123. package/dist/cjs/gux-side-panel-header.cjs.entry.js +1 -1
  124. package/dist/cjs/gux-side-panel-heading.cjs.entry.js +1 -1
  125. package/dist/cjs/gux-simple-toast-legacy.cjs.entry.js +2 -2
  126. package/dist/cjs/gux-skip-navigation-item.cjs.entry.js +1 -1
  127. package/dist/cjs/gux-skip-navigation-list.cjs.entry.js +2 -2
  128. package/dist/cjs/gux-sort-control.cjs.entry.js +3 -3
  129. package/dist/cjs/gux-status-indicator-beta.cjs.entry.js +1 -1
  130. package/dist/cjs/gux-step-title.cjs.entry.js +1 -1
  131. package/dist/cjs/gux-step.cjs.entry.js +1 -1
  132. package/dist/cjs/gux-stepper-beta.cjs.entry.js +1 -1
  133. package/dist/cjs/gux-submenu.cjs.entry.js +3 -3
  134. package/dist/cjs/gux-switch-item.cjs.entry.js +1 -1
  135. package/dist/cjs/gux-switch-legacy.cjs.entry.js +2 -2
  136. package/dist/cjs/gux-tab-advanced-list.cjs.entry.js +1 -1
  137. package/dist/cjs/gux-tab-advanced-panel.cjs.entry.js +1 -1
  138. package/dist/cjs/gux-tab-advanced.cjs.entry.js +2 -2
  139. package/dist/cjs/gux-tab-list.cjs.entry.js +2 -2
  140. package/dist/cjs/gux-tab-panel.cjs.entry.js +1 -1
  141. package/dist/cjs/gux-tab.cjs.entry.js +2 -2
  142. package/dist/cjs/gux-table-select-menu.cjs.entry.js +1 -1
  143. package/dist/cjs/gux-table-toolbar-action.cjs.entry.js +2 -2
  144. package/dist/cjs/gux-table-toolbar-custom-action.cjs.entry.js +2 -2
  145. package/dist/cjs/gux-table-toolbar-menu-button.cjs.entry.js +2 -2
  146. package/dist/cjs/gux-table-toolbar.cjs.entry.js +3 -3
  147. package/dist/cjs/gux-table.cjs.entry.js +2 -2
  148. package/dist/cjs/gux-tabs-advanced.cjs.entry.js +2 -2
  149. package/dist/cjs/gux-tabs.cjs.entry.js +2 -2
  150. package/dist/cjs/gux-tag.cjs.entry.js +2 -2
  151. package/dist/cjs/gux-text-highlight.cjs.entry.js +1 -1
  152. package/dist/cjs/gux-time-beta.cjs.entry.js +1 -1
  153. package/dist/cjs/gux-time-picker.cjs.entry.js +2 -2
  154. package/dist/cjs/gux-time-zone-beta.cjs.entry.js +1 -1
  155. package/dist/cjs/gux-time-zone-picker-beta.cjs.entry.js +1 -1
  156. package/dist/cjs/gux-toast.cjs.entry.js +3 -3
  157. package/dist/cjs/gux-toggle-slider.cjs.entry.js +2 -2
  158. package/dist/cjs/gux-toggle.cjs.entry.js +3 -3
  159. package/dist/cjs/gux-tooltip-base-beta_2.cjs.entry.js +1 -1
  160. package/dist/cjs/gux-tooltip-pointer-beta.cjs.entry.js +1 -1
  161. package/dist/cjs/gux-tooltip-title.cjs.entry.js +2 -2
  162. package/dist/cjs/gux-tooltip_2.cjs.entry.js +6 -6
  163. package/dist/cjs/gux-tree-beta.cjs.entry.js +183 -0
  164. package/dist/cjs/gux-tree-multi-beta.cjs.entry.js +204 -0
  165. package/dist/cjs/gux-tree-multi.service-SP7ZA2lB.js +313 -0
  166. package/dist/cjs/gux-tree.service-w78yRmzF.js +240 -0
  167. package/dist/cjs/index-Bfx8AGPj.js +24 -0
  168. package/dist/cjs/loader.cjs.js +1 -1
  169. package/dist/cjs/{usage-D2AUYEBS.js → usage-CIw4kGaR.js} +1 -1
  170. package/dist/collection/collection-manifest.json +6 -0
  171. package/dist/collection/components/beta/gux-tree/gux-branch/gux-branch.css +114 -0
  172. package/dist/collection/components/beta/gux-tree/gux-branch/gux-branch.js +209 -0
  173. package/dist/collection/components/beta/gux-tree/gux-leaf/gux-leaf.css +86 -0
  174. package/dist/collection/components/beta/gux-tree/gux-leaf/gux-leaf.js +179 -0
  175. package/dist/collection/components/beta/gux-tree/gux-tree.css +13 -0
  176. package/dist/collection/components/beta/gux-tree/gux-tree.js +296 -0
  177. package/dist/collection/components/beta/gux-tree/gux-tree.service.js +220 -0
  178. package/dist/collection/components/beta/gux-tree/gux-tree.types.js +1 -0
  179. package/dist/collection/components/beta/gux-tree/tests/gux-tree.common.js +137 -0
  180. package/dist/collection/components/beta/gux-tree-multi/gux-branch-multi/gux-branch-multi.css +122 -0
  181. package/dist/collection/components/beta/gux-tree-multi/gux-branch-multi/gux-branch-multi.js +236 -0
  182. package/dist/collection/components/beta/gux-tree-multi/gux-leaf-multi/gux-leaf-multi.css +100 -0
  183. package/dist/collection/components/beta/gux-tree-multi/gux-leaf-multi/gux-leaf-multi.js +181 -0
  184. package/dist/collection/components/beta/gux-tree-multi/gux-tree-multi.css +13 -0
  185. package/dist/collection/components/beta/gux-tree-multi/gux-tree-multi.js +318 -0
  186. package/dist/collection/components/beta/gux-tree-multi/gux-tree-multi.service.js +320 -0
  187. package/dist/collection/components/beta/gux-tree-multi/gux-tree-multi.types.js +1 -0
  188. package/dist/collection/components/beta/gux-tree-multi/tests/gux-tree-multi.common.js +56 -0
  189. package/dist/collection/components/legacy/gux-action-toast-legacy/gux-action-toast.js +1 -1
  190. package/dist/collection/components/legacy/gux-advanced-dropdown-legacy/dropdown-option/gux-dropdown-option.js +1 -1
  191. package/dist/collection/components/legacy/gux-advanced-dropdown-legacy/gux-advanced-dropdown.js +2 -2
  192. package/dist/collection/components/legacy/gux-disclosure-button-legacy/gux-disclosure-button.js +2 -2
  193. package/dist/collection/components/legacy/gux-modal-legacy/gux-modal-legacy.js +2 -2
  194. package/dist/collection/components/legacy/gux-notification-toast-legacy/gux-notification-toast.js +1 -1
  195. package/dist/collection/components/legacy/gux-pagination-legacy/gux-pagination-buttons-legacy/gux-pagination-buttons.js +1 -1
  196. package/dist/collection/components/legacy/gux-pagination-legacy/gux-pagination-item-counts-legacy/gux-pagination-item-counts.js +2 -2
  197. package/dist/collection/components/legacy/gux-pagination-legacy/gux-pagination-items-per-page-legacy/gux-pagination-items-per-page.js +1 -1
  198. package/dist/collection/components/legacy/gux-pagination-legacy/gux-pagination.js +1 -1
  199. package/dist/collection/components/legacy/gux-simple-toast-legacy/gux-simple-toast.js +1 -1
  200. package/dist/collection/components/legacy/gux-switch-legacy/gux-switch-item/gux-switch-item.js +1 -1
  201. package/dist/collection/components/legacy/gux-switch-legacy/gux-switch.js +1 -1
  202. package/dist/collection/components/stable/gux-accordion/gux-accordion-section/gux-accordion-section.js +5 -5
  203. package/dist/collection/components/stable/gux-accordion/gux-accordion.js +1 -1
  204. package/dist/collection/components/stable/gux-action-button/gux-action-button.js +1 -1
  205. package/dist/collection/components/stable/gux-badge/gux-badge.js +1 -1
  206. package/dist/collection/components/stable/gux-blank-state/gux-blank-state.js +1 -1
  207. package/dist/collection/components/stable/gux-breadcrumbs/breadcrumb-item/gux-breadcrumb-item.js +1 -1
  208. package/dist/collection/components/stable/gux-breadcrumbs/gux-breadcrumbs.js +1 -1
  209. package/dist/collection/components/stable/gux-button/gux-button.js +2 -2
  210. package/dist/collection/components/stable/gux-button-multi/gux-button-multi.js +1 -1
  211. package/dist/collection/components/stable/gux-button-slot/gux-button-slot.js +1 -1
  212. package/dist/collection/components/stable/gux-calendar/gux-calendar.js +1 -1
  213. package/dist/collection/components/stable/gux-card/gux-card.js +2 -2
  214. package/dist/collection/components/stable/gux-column-manager/gux-column-manager-item/gux-column-manager-item.js +3 -3
  215. package/dist/collection/components/stable/gux-column-manager/gux-column-manager.js +1 -1
  216. package/dist/collection/components/stable/gux-content-search/gux-content-search.js +2 -2
  217. package/dist/collection/components/stable/gux-context-menu/gux-context-menu.js +2 -2
  218. package/dist/collection/components/stable/gux-copy-to-clipboard/gux-copy-to-clipboard.js +1 -1
  219. package/dist/collection/components/stable/gux-datepicker/gux-datepicker.js +1 -1
  220. package/dist/collection/components/stable/gux-dismiss-button/gux-dismiss-button.js +2 -2
  221. package/dist/collection/components/stable/gux-dropdown/gux-dropdown.js +1 -1
  222. package/dist/collection/components/stable/gux-dropdown-multi/gux-dropdown-multi-tag/gux-dropdown-multi-tag.js +1 -1
  223. package/dist/collection/components/stable/gux-dropdown-multi/gux-dropdown-multi.js +1 -1
  224. package/dist/collection/components/stable/gux-flyout-menu/gux-flyout-menu.js +2 -2
  225. package/dist/collection/components/stable/gux-flyout-menu/gux-menu/gux-menu-option/gux-menu-option.js +1 -1
  226. package/dist/collection/components/stable/gux-flyout-menu/gux-menu/gux-menu.js +1 -1
  227. package/dist/collection/components/stable/gux-flyout-menu/gux-menu/gux-submenu/gux-submenu.js +3 -3
  228. package/dist/collection/components/stable/gux-form-field/components/gux-form-field-checkbox/gux-form-field-checkbox.js +2 -2
  229. package/dist/collection/components/stable/gux-form-field/components/gux-form-field-checkbox-group/gux-form-field-checkbox-group.js +2 -2
  230. package/dist/collection/components/stable/gux-form-field/components/gux-form-field-color/gux-form-field-color.js +3 -3
  231. package/dist/collection/components/stable/gux-form-field/components/gux-form-field-dropdown/gux-form-field-dropdown.js +3 -3
  232. package/dist/collection/components/stable/gux-form-field/components/gux-form-field-file/gux-form-field-file.js +1 -1
  233. 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
  234. package/dist/collection/components/stable/gux-form-field/components/gux-form-field-file-beta/gux-form-field-file.js +1 -1
  235. package/dist/collection/components/stable/gux-form-field/components/gux-form-field-number/gux-form-field-number.js +3 -3
  236. package/dist/collection/components/stable/gux-form-field/components/gux-form-field-phone/gux-form-field-phone.js +4 -4
  237. package/dist/collection/components/stable/gux-form-field/components/gux-form-field-radio/gux-form-field-radio.js +2 -2
  238. package/dist/collection/components/stable/gux-form-field/components/gux-form-field-radio-group/gux-form-field-radio-group.js +2 -2
  239. package/dist/collection/components/stable/gux-form-field/components/gux-form-field-range/gux-form-field-range.js +2 -2
  240. package/dist/collection/components/stable/gux-form-field/components/gux-form-field-search/gux-form-field-search.js +3 -3
  241. package/dist/collection/components/stable/gux-form-field/components/gux-form-field-select/gux-form-field-select.js +3 -3
  242. package/dist/collection/components/stable/gux-form-field/components/gux-form-field-text-like/gux-form-field-text-like.js +3 -3
  243. package/dist/collection/components/stable/gux-form-field/components/gux-form-field-textarea/gux-form-field-textarea.js +2 -2
  244. package/dist/collection/components/stable/gux-form-field/components/gux-form-field-time-picker/gux-form-field-time-picker.js +4 -4
  245. package/dist/collection/components/stable/gux-form-field/components/gux-form-field-time-zone-picker/gux-form-field-time-zone-picker.js +3 -3
  246. 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
  247. package/dist/collection/components/stable/gux-icon/gux-icon.js +1 -1
  248. package/dist/collection/components/stable/gux-inline-alert/gux-inline-alert.js +2 -2
  249. package/dist/collection/components/stable/gux-list/gux-list-divider/gux-list-divider.js +1 -1
  250. package/dist/collection/components/stable/gux-list/gux-list-item/gux-list-item.js +1 -1
  251. package/dist/collection/components/stable/gux-list/gux-list.js +1 -1
  252. package/dist/collection/components/stable/gux-listbox/option-group/gux-option-group.js +1 -1
  253. package/dist/collection/components/stable/gux-listbox/options/gux-option/gux-option.js +2 -2
  254. package/dist/collection/components/stable/gux-listbox/options/gux-option-icon/gux-option-icon.js +2 -2
  255. package/dist/collection/components/stable/gux-listbox-multi/gux-create-option/gux-create-option.js +2 -2
  256. package/dist/collection/components/stable/gux-listbox-multi/gux-option-multi/gux-option-multi.js +2 -2
  257. package/dist/collection/components/stable/gux-listbox-multi/gux-select-all/gux-select-all.js +2 -2
  258. package/dist/collection/components/stable/gux-loading-message/gux-loading-message.js +1 -1
  259. package/dist/collection/components/stable/gux-modal/gux-modal.js +1 -1
  260. package/dist/collection/components/stable/gux-page-loading-spinner/gux-page-loading-spinner.js +1 -1
  261. package/dist/collection/components/stable/gux-pagination/gux-pagination-buttons/gux-pagination-buttons.js +1 -1
  262. package/dist/collection/components/stable/gux-pagination/gux-pagination-buttons/gux-pagination-ellipsis-button/gux-pagination-ellipsis-button.js +4 -4
  263. package/dist/collection/components/stable/gux-pagination/gux-pagination-item-counts/gux-pagination-item-counts.js +2 -2
  264. package/dist/collection/components/stable/gux-pagination/gux-pagination-items-per-page/gux-pagination-items-per-page.js +1 -1
  265. package/dist/collection/components/stable/gux-pagination/gux-pagination.js +1 -1
  266. package/dist/collection/components/stable/gux-popover/gux-popover.js +2 -2
  267. package/dist/collection/components/stable/gux-popover-list/gux-popover-list.js +2 -2
  268. package/dist/collection/components/stable/gux-popup/gux-popup.js +3 -3
  269. package/dist/collection/components/stable/gux-radial-loading/gux-radial-loading.js +1 -1
  270. package/dist/collection/components/stable/gux-rating/gux-rating.js +1 -1
  271. package/dist/collection/components/stable/gux-skip-navigation-list/gux-skip-navigation-item/gux-skip-navigation-item.js +1 -1
  272. package/dist/collection/components/stable/gux-skip-navigation-list/gux-skip-navigation-list.js +1 -1
  273. package/dist/collection/components/stable/gux-table/gux-all-row-select/gux-all-row-select.js +1 -1
  274. package/dist/collection/components/stable/gux-table/gux-row-select/gux-row-select.js +2 -2
  275. package/dist/collection/components/stable/gux-table/gux-sort-control/gux-sort-control.js +2 -2
  276. package/dist/collection/components/stable/gux-table/gux-table-select-menu/gux-table-select-menu.js +1 -1
  277. package/dist/collection/components/stable/gux-table/gux-table.js +1 -1
  278. package/dist/collection/components/stable/gux-table-toolbar/gux-table-toolbar-action/gux-table-toolbar-action.js +1 -1
  279. package/dist/collection/components/stable/gux-table-toolbar/gux-table-toolbar-custom-action/gux-table-toolbar-custom-action.js +1 -1
  280. package/dist/collection/components/stable/gux-table-toolbar/gux-table-toolbar-menu-button/gux-table-toolbar-menu-button.js +1 -1
  281. package/dist/collection/components/stable/gux-table-toolbar/gux-table-toolbar.js +2 -2
  282. package/dist/collection/components/stable/gux-tabs/gux-tab/gux-tab.js +2 -2
  283. package/dist/collection/components/stable/gux-tabs/gux-tab-list/gux-tab-list.js +2 -2
  284. package/dist/collection/components/stable/gux-tabs/gux-tab-panel/gux-tab-panel.js +1 -1
  285. package/dist/collection/components/stable/gux-tabs/gux-tabs.js +1 -1
  286. package/dist/collection/components/stable/gux-tabs-advanced/gux-tab-advanced/gux-tab-advanced.js +2 -2
  287. package/dist/collection/components/stable/gux-tabs-advanced/gux-tab-advanced-list/gux-tab-advanced-list.js +1 -1
  288. package/dist/collection/components/stable/gux-tabs-advanced/gux-tab-advanced-panel/gux-tab-advanced-panel.js +1 -1
  289. package/dist/collection/components/stable/gux-tabs-advanced/gux-tabs-advanced.js +1 -1
  290. package/dist/collection/components/stable/gux-tag/gux-tag.js +1 -1
  291. package/dist/collection/components/stable/gux-time-picker/gux-time-picker.js +1 -1
  292. package/dist/collection/components/stable/gux-toast/gux-toast.js +2 -2
  293. package/dist/collection/components/stable/gux-toggle/gux-toggle-slider/gux-toggle-slider.js +2 -2
  294. package/dist/collection/components/stable/gux-toggle/gux-toggle.js +2 -2
  295. package/dist/collection/components/stable/gux-tooltip/gux-tooltip.js +2 -2
  296. package/dist/collection/components/stable/gux-tooltip-title/gux-tooltip-title.js +2 -2
  297. package/dist/collection/components/stable/gux-truncate/gux-truncate.js +3 -3
  298. package/dist/collection/utils/decorator/aria.js +17 -0
  299. package/dist/esm/genesys-webcomponents.js +1 -1
  300. package/dist/esm/gux-accordion-section.entry.js +5 -5
  301. package/dist/esm/gux-accordion.entry.js +2 -2
  302. package/dist/esm/gux-action-button.entry.js +2 -2
  303. package/dist/esm/gux-action-toast-legacy.entry.js +2 -2
  304. package/dist/esm/gux-advanced-dropdown-legacy.entry.js +3 -3
  305. package/dist/esm/gux-all-row-select.entry.js +1 -1
  306. package/dist/esm/gux-announce-beta.entry.js +1 -1
  307. package/dist/esm/gux-avatar-beta.entry.js +1 -1
  308. package/dist/esm/gux-avatar-change-photo-beta.entry.js +1 -1
  309. package/dist/esm/gux-avatar-group-add-item-beta_3.entry.js +1 -1
  310. package/dist/esm/gux-avatar-group-beta.entry.js +1 -1
  311. package/dist/esm/gux-avatar-group-item-beta.entry.js +1 -1
  312. package/dist/esm/gux-badge.entry.js +2 -2
  313. package/dist/esm/gux-blank-state-beta.entry.js +1 -1
  314. package/dist/esm/gux-blank-state.entry.js +2 -2
  315. package/dist/esm/gux-branch-multi.entry.js +83 -0
  316. package/dist/esm/gux-branch.entry.js +76 -0
  317. package/dist/esm/gux-breadcrumb-item.entry.js +1 -1
  318. package/dist/esm/gux-breadcrumbs.entry.js +2 -2
  319. package/dist/esm/gux-button-multi.entry.js +2 -2
  320. package/dist/esm/gux-button-slot.entry.js +2 -2
  321. package/dist/esm/gux-button_2.entry.js +5 -5
  322. package/dist/esm/gux-calendar.entry.js +2 -2
  323. package/dist/esm/gux-card.entry.js +3 -3
  324. package/dist/esm/gux-cloud-logo-beta.entry.js +1 -1
  325. package/dist/esm/gux-cloud-logomark-beta.entry.js +1 -1
  326. package/dist/esm/gux-column-manager-item.entry.js +3 -3
  327. package/dist/esm/gux-column-manager.entry.js +2 -2
  328. package/dist/esm/gux-content-search.entry.js +3 -3
  329. package/dist/esm/gux-context-menu.entry.js +3 -3
  330. package/dist/esm/gux-copy-to-clipboard.entry.js +2 -2
  331. package/dist/esm/gux-create-option.entry.js +2 -2
  332. package/dist/esm/gux-date-beta.entry.js +1 -1
  333. package/dist/esm/gux-date-time-beta.entry.js +1 -1
  334. package/dist/esm/gux-datepicker.entry.js +2 -2
  335. package/dist/esm/gux-disclosure-button-legacy.entry.js +3 -3
  336. package/dist/esm/gux-dismiss-button.entry.js +3 -3
  337. package/dist/esm/gux-dropdown-multi-tag.entry.js +1 -1
  338. package/dist/esm/gux-dropdown-multi.entry.js +2 -2
  339. package/dist/esm/gux-dropdown-option.entry.js +1 -1
  340. package/dist/esm/gux-dropdown_3.entry.js +4 -4
  341. package/dist/esm/gux-file-list-item.entry.js +3 -3
  342. package/dist/esm/gux-flag-icon-beta.entry.js +1 -1
  343. package/dist/esm/gux-flyout-menu.entry.js +3 -3
  344. package/dist/esm/gux-form-field-checkbox-group-beta.entry.js +3 -3
  345. package/dist/esm/gux-form-field-checkbox.entry.js +3 -3
  346. package/dist/esm/gux-form-field-color.entry.js +4 -4
  347. package/dist/esm/gux-form-field-dropdown.entry.js +4 -4
  348. package/dist/esm/gux-form-field-file-beta.entry.js +2 -2
  349. package/dist/esm/gux-form-field-file.entry.js +2 -2
  350. package/dist/esm/gux-form-field-input-clear-button.entry.js +2 -2
  351. package/dist/esm/gux-form-field-label-indicator.entry.js +1 -1
  352. package/dist/esm/gux-form-field-number_2.entry.js +8 -8
  353. package/dist/esm/gux-form-field-phone.entry.js +5 -5
  354. package/dist/esm/gux-form-field-radio-group-beta.entry.js +3 -3
  355. package/dist/esm/gux-form-field-radio.entry.js +3 -3
  356. package/dist/esm/gux-form-field-range.entry.js +3 -3
  357. package/dist/esm/gux-form-field-search.entry.js +4 -4
  358. package/dist/esm/gux-form-field-select.entry.js +4 -4
  359. package/dist/esm/gux-form-field-text-like.entry.js +4 -4
  360. package/dist/esm/gux-form-field-textarea.entry.js +3 -3
  361. package/dist/esm/gux-form-field-time-picker.entry.js +5 -5
  362. package/dist/esm/gux-form-field-time-zone-picker.entry.js +4 -4
  363. package/dist/esm/gux-form-footer.entry.js +1 -1
  364. package/dist/esm/gux-icon-tooltip-beta.entry.js +1 -1
  365. package/dist/esm/gux-icon.entry.js +2 -2
  366. package/dist/esm/gux-illustration-beta.entry.js +1 -1
  367. package/dist/esm/gux-inline-alert.entry.js +3 -3
  368. package/dist/esm/gux-inline-dropdown-beta.entry.js +1 -1
  369. package/dist/esm/gux-label-info-beta.entry.js +1 -1
  370. package/dist/esm/gux-leaf-multi.entry.js +68 -0
  371. package/dist/esm/gux-leaf.entry.js +66 -0
  372. package/dist/esm/gux-link-beta.entry.js +1 -1
  373. package/dist/esm/gux-list-divider.entry.js +1 -1
  374. package/dist/esm/gux-list-item.entry.js +1 -1
  375. package/dist/esm/gux-list.entry.js +2 -2
  376. package/dist/esm/gux-listbox-multi.entry.js +1 -1
  377. package/dist/esm/gux-loading-message.entry.js +2 -2
  378. package/dist/esm/gux-logo-beta.entry.js +1 -1
  379. package/dist/esm/gux-logomark-beta.entry.js +1 -1
  380. package/dist/esm/gux-menu-option.entry.js +1 -1
  381. package/dist/esm/gux-menu.entry.js +1 -1
  382. package/dist/esm/gux-modal-legacy.entry.js +3 -3
  383. package/dist/esm/gux-modal-side-panel-beta.entry.js +1 -1
  384. package/dist/esm/gux-modal.entry.js +2 -2
  385. package/dist/esm/gux-month-picker-beta.entry.js +1 -1
  386. package/dist/esm/gux-notification-toast-legacy.entry.js +2 -2
  387. package/dist/esm/gux-option-group-beta.entry.js +1 -1
  388. package/dist/esm/gux-option-icon.entry.js +2 -2
  389. package/dist/esm/gux-option-multi.entry.js +2 -2
  390. package/dist/esm/gux-page-loading-spinner.entry.js +2 -2
  391. package/dist/esm/gux-pagination-buttons-legacy_3.entry.js +4 -4
  392. package/dist/esm/gux-pagination-buttons_2.entry.js +3 -3
  393. package/dist/esm/gux-pagination-cursor.entry.js +1 -1
  394. package/dist/esm/gux-pagination-items-per-page.entry.js +1 -1
  395. package/dist/esm/gux-pagination-legacy.entry.js +2 -2
  396. package/dist/esm/gux-pagination.entry.js +2 -2
  397. package/dist/esm/gux-phone-input-beta.entry.js +1 -1
  398. package/dist/esm/gux-popover-beta.entry.js +1 -1
  399. package/dist/esm/gux-popover-list-beta.entry.js +1 -1
  400. package/dist/esm/gux-popover-list.entry.js +3 -3
  401. package/dist/esm/gux-popup.entry.js +3 -3
  402. package/dist/esm/gux-prompt-input-beta.entry.js +1 -1
  403. package/dist/esm/gux-radial-loading.entry.js +2 -2
  404. package/dist/esm/gux-radial-progress.entry.js +1 -1
  405. package/dist/esm/gux-rating.entry.js +2 -2
  406. package/dist/esm/gux-rich-highlight-list-item.entry.js +1 -1
  407. package/dist/esm/gux-rich-style-list-item_3.entry.js +1 -1
  408. package/dist/esm/gux-rich-text-editor-action-link.entry.js +1 -1
  409. package/dist/esm/gux-rich-text-editor-action-rich-style.entry.js +1 -1
  410. package/dist/esm/gux-rich-text-editor-action-text-highlight.entry.js +1 -1
  411. package/dist/esm/gux-rich-text-editor-action.entry.js +1 -1
  412. package/dist/esm/gux-rich-text-editor-beta.entry.js +1 -1
  413. package/dist/esm/gux-rich-text-editor-list.entry.js +1 -1
  414. package/dist/esm/gux-row-select.entry.js +2 -2
  415. package/dist/esm/gux-screen-reader-beta.entry.js +1 -1
  416. package/dist/esm/gux-segmented-control-beta.entry.js +1 -1
  417. package/dist/esm/gux-select-all.entry.js +2 -2
  418. package/dist/esm/gux-selector-card-beta.entry.js +1 -1
  419. package/dist/esm/gux-selector-cards-beta.entry.js +1 -1
  420. package/dist/esm/gux-side-panel-beta.entry.js +1 -1
  421. package/dist/esm/gux-side-panel-header.entry.js +1 -1
  422. package/dist/esm/gux-side-panel-heading.entry.js +1 -1
  423. package/dist/esm/gux-simple-toast-legacy.entry.js +2 -2
  424. package/dist/esm/gux-skip-navigation-item.entry.js +1 -1
  425. package/dist/esm/gux-skip-navigation-list.entry.js +2 -2
  426. package/dist/esm/gux-sort-control.entry.js +3 -3
  427. package/dist/esm/gux-status-indicator-beta.entry.js +1 -1
  428. package/dist/esm/gux-step-title.entry.js +1 -1
  429. package/dist/esm/gux-step.entry.js +1 -1
  430. package/dist/esm/gux-stepper-beta.entry.js +1 -1
  431. package/dist/esm/gux-submenu.entry.js +3 -3
  432. package/dist/esm/gux-switch-item.entry.js +1 -1
  433. package/dist/esm/gux-switch-legacy.entry.js +2 -2
  434. package/dist/esm/gux-tab-advanced-list.entry.js +1 -1
  435. package/dist/esm/gux-tab-advanced-panel.entry.js +1 -1
  436. package/dist/esm/gux-tab-advanced.entry.js +2 -2
  437. package/dist/esm/gux-tab-list.entry.js +2 -2
  438. package/dist/esm/gux-tab-panel.entry.js +1 -1
  439. package/dist/esm/gux-tab.entry.js +2 -2
  440. package/dist/esm/gux-table-select-menu.entry.js +1 -1
  441. package/dist/esm/gux-table-toolbar-action.entry.js +2 -2
  442. package/dist/esm/gux-table-toolbar-custom-action.entry.js +2 -2
  443. package/dist/esm/gux-table-toolbar-menu-button.entry.js +2 -2
  444. package/dist/esm/gux-table-toolbar.entry.js +3 -3
  445. package/dist/esm/gux-table.entry.js +2 -2
  446. package/dist/esm/gux-tabs-advanced.entry.js +2 -2
  447. package/dist/esm/gux-tabs.entry.js +2 -2
  448. package/dist/esm/gux-tag.entry.js +2 -2
  449. package/dist/esm/gux-text-highlight.entry.js +1 -1
  450. package/dist/esm/gux-time-beta.entry.js +1 -1
  451. package/dist/esm/gux-time-picker.entry.js +2 -2
  452. package/dist/esm/gux-time-zone-beta.entry.js +1 -1
  453. package/dist/esm/gux-time-zone-picker-beta.entry.js +1 -1
  454. package/dist/esm/gux-toast.entry.js +3 -3
  455. package/dist/esm/gux-toggle-slider.entry.js +2 -2
  456. package/dist/esm/gux-toggle.entry.js +3 -3
  457. package/dist/esm/gux-tooltip-base-beta_2.entry.js +1 -1
  458. package/dist/esm/gux-tooltip-pointer-beta.entry.js +1 -1
  459. package/dist/esm/gux-tooltip-title.entry.js +2 -2
  460. package/dist/esm/gux-tooltip_2.entry.js +6 -6
  461. package/dist/esm/gux-tree-beta.entry.js +181 -0
  462. package/dist/esm/gux-tree-multi-beta.entry.js +202 -0
  463. package/dist/esm/gux-tree-multi.service-rN4u4zJA.js +295 -0
  464. package/dist/esm/gux-tree.service-g_oSRmLT.js +223 -0
  465. package/dist/esm/index-Dz_2h4jr.js +24 -0
  466. package/dist/esm/loader.js +1 -1
  467. package/dist/esm/{usage-CqFA-9uw.js → usage-P-hdUE3M.js} +1 -1
  468. package/dist/genesys-webcomponents/genesys-webcomponents.esm.js +1 -1
  469. package/dist/genesys-webcomponents/{p-94cb27d3.entry.js → p-02406da9.entry.js} +1 -1
  470. package/dist/genesys-webcomponents/p-07276a2e.entry.js +1 -0
  471. package/dist/genesys-webcomponents/{p-8ebf81fb.entry.js → p-07e854e0.entry.js} +1 -1
  472. package/dist/genesys-webcomponents/{p-e1d6e045.entry.js → p-084d7985.entry.js} +1 -1
  473. package/dist/genesys-webcomponents/{p-9f0b943d.entry.js → p-08f65ffb.entry.js} +1 -1
  474. package/dist/genesys-webcomponents/{p-6de55d53.entry.js → p-0a45b162.entry.js} +1 -1
  475. package/dist/genesys-webcomponents/{p-67b71af5.entry.js → p-0a9b5aa9.entry.js} +1 -1
  476. package/dist/genesys-webcomponents/{p-71174517.entry.js → p-0b8494e4.entry.js} +1 -1
  477. package/dist/genesys-webcomponents/{p-b37969e2.entry.js → p-0bacc1c0.entry.js} +1 -1
  478. package/dist/genesys-webcomponents/p-0e62a28a.entry.js +1 -0
  479. package/dist/genesys-webcomponents/p-0f906c83.entry.js +1 -0
  480. package/dist/genesys-webcomponents/p-10bc670e.entry.js +1 -0
  481. package/dist/genesys-webcomponents/{p-40d081da.entry.js → p-10c4aba5.entry.js} +1 -1
  482. package/dist/genesys-webcomponents/{p-0ee86062.entry.js → p-12879f8e.entry.js} +1 -1
  483. package/dist/genesys-webcomponents/{p-7ba8755f.entry.js → p-13121646.entry.js} +1 -1
  484. package/dist/genesys-webcomponents/{p-487d34ff.entry.js → p-14def48a.entry.js} +1 -1
  485. package/dist/genesys-webcomponents/{p-dab22b10.entry.js → p-14e56a8a.entry.js} +1 -1
  486. package/dist/genesys-webcomponents/{p-14f59f78.entry.js → p-1567ea4b.entry.js} +1 -1
  487. package/dist/genesys-webcomponents/{p-3c7ddb88.entry.js → p-181db322.entry.js} +1 -1
  488. package/dist/genesys-webcomponents/p-1K6Bdrw6.js +1 -0
  489. package/dist/genesys-webcomponents/{p-69c8e846.entry.js → p-1aefd34b.entry.js} +1 -1
  490. package/dist/genesys-webcomponents/{p-1485f433.entry.js → p-1b993de4.entry.js} +1 -1
  491. package/dist/genesys-webcomponents/{p-adf7dd6a.entry.js → p-1d8461af.entry.js} +1 -1
  492. package/dist/genesys-webcomponents/{p-90caff1a.entry.js → p-1eb0e7e1.entry.js} +1 -1
  493. package/dist/genesys-webcomponents/{p-671dfa9e.entry.js → p-1ed1d90f.entry.js} +1 -1
  494. package/dist/genesys-webcomponents/p-20f953d3.entry.js +1 -0
  495. package/dist/genesys-webcomponents/{p-c9a5aa58.entry.js → p-21925e45.entry.js} +1 -1
  496. package/dist/genesys-webcomponents/{p-eae2d50f.entry.js → p-22774ede.entry.js} +1 -1
  497. package/dist/genesys-webcomponents/{p-3f1cd13d.entry.js → p-22fc8bc7.entry.js} +1 -1
  498. package/dist/genesys-webcomponents/{p-a2a6afc3.entry.js → p-233754d3.entry.js} +1 -1
  499. package/dist/genesys-webcomponents/{p-a9af6f24.entry.js → p-250e46d5.entry.js} +1 -1
  500. package/dist/genesys-webcomponents/{p-2a29ce57.entry.js → p-25b54535.entry.js} +1 -1
  501. package/dist/genesys-webcomponents/{p-83209428.entry.js → p-2b21f5b0.entry.js} +1 -1
  502. package/dist/genesys-webcomponents/{p-8594ff89.entry.js → p-2c7f70e8.entry.js} +1 -1
  503. package/dist/genesys-webcomponents/{p-6386c7e1.entry.js → p-2ca52d1d.entry.js} +1 -1
  504. package/dist/genesys-webcomponents/{p-bafac823.entry.js → p-2d1decba.entry.js} +1 -1
  505. package/dist/genesys-webcomponents/p-2e560175.entry.js +1 -0
  506. package/dist/genesys-webcomponents/{p-4349f0ca.entry.js → p-2eba7fa7.entry.js} +1 -1
  507. package/dist/genesys-webcomponents/{p-4b4adbc6.entry.js → p-34c49dae.entry.js} +1 -1
  508. package/dist/genesys-webcomponents/{p-3e068aae.entry.js → p-355c6058.entry.js} +1 -1
  509. package/dist/genesys-webcomponents/p-37fc8995.entry.js +1 -0
  510. package/dist/genesys-webcomponents/{p-d5ba3136.entry.js → p-3885a340.entry.js} +1 -1
  511. package/dist/genesys-webcomponents/{p-8bc25cf3.entry.js → p-38ca0c04.entry.js} +1 -1
  512. package/dist/genesys-webcomponents/{p-bc6e01fd.entry.js → p-3c3be6b2.entry.js} +1 -1
  513. package/dist/genesys-webcomponents/{p-b571eabb.entry.js → p-3ef8c2ee.entry.js} +1 -1
  514. package/dist/genesys-webcomponents/{p-831fb4cc.entry.js → p-406efc68.entry.js} +1 -1
  515. package/dist/genesys-webcomponents/{p-75f9bd17.entry.js → p-40a8659f.entry.js} +1 -1
  516. package/dist/genesys-webcomponents/{p-2d6e6ef9.entry.js → p-42cb5452.entry.js} +1 -1
  517. package/dist/genesys-webcomponents/{p-97ad70c2.entry.js → p-42fd437b.entry.js} +1 -1
  518. package/dist/genesys-webcomponents/{p-544e996a.entry.js → p-4378ea79.entry.js} +1 -1
  519. package/dist/genesys-webcomponents/{p-b778feee.entry.js → p-44fccf34.entry.js} +1 -1
  520. package/dist/genesys-webcomponents/{p-f594e172.entry.js → p-46122325.entry.js} +1 -1
  521. package/dist/genesys-webcomponents/p-46ad732d.entry.js +1 -0
  522. package/dist/genesys-webcomponents/{p-c5739404.entry.js → p-4cc59941.entry.js} +1 -1
  523. package/dist/genesys-webcomponents/{p-3144413b.entry.js → p-4e86d6b0.entry.js} +1 -1
  524. package/dist/genesys-webcomponents/{p-0f0c7576.entry.js → p-50a70b04.entry.js} +1 -1
  525. package/dist/genesys-webcomponents/{p-82c3e4ab.entry.js → p-527f7a1a.entry.js} +1 -1
  526. package/dist/genesys-webcomponents/{p-e2ba70cb.entry.js → p-52bf984a.entry.js} +1 -1
  527. package/dist/genesys-webcomponents/{p-b242698f.entry.js → p-586b74de.entry.js} +1 -1
  528. package/dist/genesys-webcomponents/{p-84e0896b.entry.js → p-59691ec8.entry.js} +1 -1
  529. package/dist/genesys-webcomponents/{p-53dec3d9.entry.js → p-59f93cf5.entry.js} +1 -1
  530. package/dist/genesys-webcomponents/{p-80f96c1f.entry.js → p-5a2afb00.entry.js} +1 -1
  531. package/dist/genesys-webcomponents/{p-3b7c7a93.entry.js → p-5a7fcba4.entry.js} +1 -1
  532. package/dist/genesys-webcomponents/{p-ef689aba.entry.js → p-5adef61c.entry.js} +1 -1
  533. package/dist/genesys-webcomponents/{p-84630362.entry.js → p-5df2e379.entry.js} +1 -1
  534. package/dist/genesys-webcomponents/{p-aeb7034c.entry.js → p-5e36e00c.entry.js} +1 -1
  535. package/dist/genesys-webcomponents/{p-f02b5c08.entry.js → p-5e688f82.entry.js} +1 -1
  536. package/dist/genesys-webcomponents/{p-e3f192d1.entry.js → p-5f013968.entry.js} +1 -1
  537. package/dist/genesys-webcomponents/{p-ecc889c1.entry.js → p-62d5a576.entry.js} +1 -1
  538. package/dist/genesys-webcomponents/p-63fc23b7.entry.js +1 -0
  539. package/dist/genesys-webcomponents/{p-a2d45e7a.entry.js → p-6750f1bd.entry.js} +1 -1
  540. package/dist/genesys-webcomponents/{p-868f1326.entry.js → p-68c4c1f6.entry.js} +1 -1
  541. package/dist/genesys-webcomponents/{p-9251c76b.entry.js → p-70039747.entry.js} +1 -1
  542. package/dist/genesys-webcomponents/{p-d9cdc0da.entry.js → p-71bfc382.entry.js} +1 -1
  543. package/dist/genesys-webcomponents/{p-6b11eab9.entry.js → p-72cae5e3.entry.js} +1 -1
  544. package/dist/genesys-webcomponents/{p-be3bc25f.entry.js → p-72efcee2.entry.js} +1 -1
  545. package/dist/genesys-webcomponents/{p-847c37dd.entry.js → p-73bc81ae.entry.js} +1 -1
  546. package/dist/genesys-webcomponents/{p-4941fe4c.entry.js → p-761dfdfc.entry.js} +1 -1
  547. package/dist/genesys-webcomponents/{p-2f8645cd.entry.js → p-78797c2a.entry.js} +1 -1
  548. package/dist/genesys-webcomponents/{p-27a31162.entry.js → p-7b9ee43c.entry.js} +1 -1
  549. package/dist/genesys-webcomponents/p-7c04a9a6.entry.js +1 -0
  550. package/dist/genesys-webcomponents/{p-480528c6.entry.js → p-7c225701.entry.js} +1 -1
  551. package/dist/genesys-webcomponents/p-7f80b420.entry.js +1 -0
  552. package/dist/genesys-webcomponents/p-80ac162c.entry.js +1 -0
  553. package/dist/genesys-webcomponents/{p-2c059a6c.entry.js → p-8125094f.entry.js} +1 -1
  554. package/dist/genesys-webcomponents/{p-2d679237.entry.js → p-8388d345.entry.js} +1 -1
  555. package/dist/genesys-webcomponents/{p-c242bb23.entry.js → p-83c72397.entry.js} +1 -1
  556. package/dist/genesys-webcomponents/{p-893f62be.entry.js → p-840e5e72.entry.js} +1 -1
  557. package/dist/genesys-webcomponents/{p-df234f82.entry.js → p-86e60f03.entry.js} +1 -1
  558. package/dist/genesys-webcomponents/{p-4a1529e5.entry.js → p-878fb957.entry.js} +1 -1
  559. package/dist/genesys-webcomponents/{p-5c1b8f06.entry.js → p-88fe97ab.entry.js} +1 -1
  560. package/dist/genesys-webcomponents/{p-4ece6ace.entry.js → p-8a79bc83.entry.js} +1 -1
  561. package/dist/genesys-webcomponents/{p-612dc777.entry.js → p-8b00a8b1.entry.js} +1 -1
  562. package/dist/genesys-webcomponents/{p-1427f966.entry.js → p-8b77906f.entry.js} +1 -1
  563. package/dist/genesys-webcomponents/{p-10e4fe74.entry.js → p-8bfe887d.entry.js} +1 -1
  564. package/dist/genesys-webcomponents/{p-78eaa0d4.entry.js → p-8d17c505.entry.js} +1 -1
  565. package/dist/genesys-webcomponents/{p-c243addb.entry.js → p-8d2c4040.entry.js} +1 -1
  566. package/dist/genesys-webcomponents/{p-f9b60e9d.entry.js → p-8da560e6.entry.js} +1 -1
  567. package/dist/genesys-webcomponents/p-8fe5946c.entry.js +1 -0
  568. package/dist/genesys-webcomponents/{p-53b2f894.entry.js → p-94dec58d.entry.js} +1 -1
  569. package/dist/genesys-webcomponents/{p-bfff8a6b.entry.js → p-952f83d8.entry.js} +1 -1
  570. package/dist/genesys-webcomponents/{p-21a1faf1.entry.js → p-95c9d6e5.entry.js} +1 -1
  571. package/dist/genesys-webcomponents/p-98887eea.entry.js +1 -0
  572. package/dist/genesys-webcomponents/{p-86066630.entry.js → p-9921a228.entry.js} +1 -1
  573. package/dist/genesys-webcomponents/{p-b8be5587.entry.js → p-9c805410.entry.js} +1 -1
  574. package/dist/genesys-webcomponents/{p-e50f271a.entry.js → p-9f072d6e.entry.js} +1 -1
  575. package/dist/genesys-webcomponents/p-CkugK5PE.js +1 -0
  576. package/dist/genesys-webcomponents/{p-CqFA-9uw.js → p-P-hdUE3M.js} +1 -1
  577. package/dist/genesys-webcomponents/p-a0c70c7d.entry.js +1 -0
  578. package/dist/genesys-webcomponents/{p-1547811e.entry.js → p-a28fb4d6.entry.js} +1 -1
  579. package/dist/genesys-webcomponents/{p-15692d0d.entry.js → p-a5da5222.entry.js} +1 -1
  580. package/dist/genesys-webcomponents/{p-5d4b57ce.entry.js → p-a96b217c.entry.js} +1 -1
  581. package/dist/genesys-webcomponents/{p-5594fa74.entry.js → p-a9ae1a36.entry.js} +1 -1
  582. package/dist/genesys-webcomponents/{p-0755b783.entry.js → p-aa8035f2.entry.js} +1 -1
  583. package/dist/genesys-webcomponents/{p-5d17f3bd.entry.js → p-ae35a482.entry.js} +1 -1
  584. package/dist/genesys-webcomponents/{p-fd316112.entry.js → p-ae7f9a42.entry.js} +1 -1
  585. package/dist/genesys-webcomponents/{p-23c41f6a.entry.js → p-b011264f.entry.js} +1 -1
  586. package/dist/genesys-webcomponents/p-b0f65767.entry.js +1 -0
  587. package/dist/genesys-webcomponents/{p-e556fa9f.entry.js → p-b7ded211.entry.js} +1 -1
  588. package/dist/genesys-webcomponents/{p-b63f7073.entry.js → p-ba631fa5.entry.js} +1 -1
  589. package/dist/genesys-webcomponents/{p-2198a87f.entry.js → p-bb4bdcbe.entry.js} +1 -1
  590. package/dist/genesys-webcomponents/{p-22c776f0.entry.js → p-bc87db5c.entry.js} +1 -1
  591. package/dist/genesys-webcomponents/p-bd7562f2.entry.js +1 -0
  592. package/dist/genesys-webcomponents/{p-177ecae4.entry.js → p-be4dfcc9.entry.js} +1 -1
  593. package/dist/genesys-webcomponents/{p-777ea613.entry.js → p-bff08f71.entry.js} +1 -1
  594. package/dist/genesys-webcomponents/{p-2b5a926f.entry.js → p-c321b784.entry.js} +1 -1
  595. package/dist/genesys-webcomponents/{p-2fb25236.entry.js → p-c619ecb1.entry.js} +1 -1
  596. package/dist/genesys-webcomponents/{p-5d1a929a.entry.js → p-c691ee28.entry.js} +1 -1
  597. package/dist/genesys-webcomponents/p-c7212fc2.entry.js +1 -0
  598. package/dist/genesys-webcomponents/{p-489b6f7e.entry.js → p-c7674d3e.entry.js} +1 -1
  599. package/dist/genesys-webcomponents/{p-e7289e53.entry.js → p-c86f2a82.entry.js} +1 -1
  600. package/dist/genesys-webcomponents/{p-605d874e.entry.js → p-ca3e3fbb.entry.js} +1 -1
  601. package/dist/genesys-webcomponents/{p-375cd724.entry.js → p-ce75d98e.entry.js} +1 -1
  602. package/dist/genesys-webcomponents/{p-1eaaf233.entry.js → p-ce7e92de.entry.js} +1 -1
  603. package/dist/genesys-webcomponents/{p-c234f86c.entry.js → p-cf2837df.entry.js} +1 -1
  604. package/dist/genesys-webcomponents/{p-a7e70e2a.entry.js → p-cf6f951b.entry.js} +1 -1
  605. package/dist/genesys-webcomponents/{p-153f816e.entry.js → p-d28c5369.entry.js} +1 -1
  606. package/dist/genesys-webcomponents/p-d323c56f.entry.js +1 -0
  607. package/dist/genesys-webcomponents/p-d57f4f0f.entry.js +1 -0
  608. package/dist/genesys-webcomponents/{p-539fb3fe.entry.js → p-d5df8246.entry.js} +1 -1
  609. package/dist/genesys-webcomponents/{p-98e56fc8.entry.js → p-d638b856.entry.js} +1 -1
  610. package/dist/genesys-webcomponents/{p-b5052251.entry.js → p-d71e1784.entry.js} +1 -1
  611. package/dist/genesys-webcomponents/{p-f20f3970.entry.js → p-d80ed019.entry.js} +1 -1
  612. package/dist/genesys-webcomponents/{p-2ca488ce.entry.js → p-d91b4089.entry.js} +1 -1
  613. package/dist/genesys-webcomponents/{p-51fda966.entry.js → p-d951d08a.entry.js} +1 -1
  614. package/dist/genesys-webcomponents/{p-787ceb33.entry.js → p-dd96e223.entry.js} +1 -1
  615. package/dist/genesys-webcomponents/{p-b1e84bbd.entry.js → p-e165bcea.entry.js} +1 -1
  616. package/dist/genesys-webcomponents/{p-078c349b.entry.js → p-e19f8f0f.entry.js} +1 -1
  617. package/dist/genesys-webcomponents/{p-8ea4a492.entry.js → p-e1c5a946.entry.js} +1 -1
  618. package/dist/genesys-webcomponents/p-e2c96d2c.entry.js +1 -0
  619. package/dist/genesys-webcomponents/{p-b6fd9593.entry.js → p-e324984d.entry.js} +1 -1
  620. package/dist/genesys-webcomponents/{p-8eb7f37d.entry.js → p-e479e4d9.entry.js} +1 -1
  621. package/dist/genesys-webcomponents/p-e51be612.entry.js +1 -0
  622. package/dist/genesys-webcomponents/{p-9536e0c6.entry.js → p-e53bba61.entry.js} +1 -1
  623. package/dist/genesys-webcomponents/p-e7fbc88d.entry.js +1 -0
  624. package/dist/genesys-webcomponents/{p-48bc1a43.entry.js → p-eace50ae.entry.js} +1 -1
  625. package/dist/genesys-webcomponents/p-edaea90f.entry.js +1 -0
  626. package/dist/genesys-webcomponents/{p-01a0c3f5.entry.js → p-ee3875eb.entry.js} +1 -1
  627. package/dist/genesys-webcomponents/{p-f8c169cd.entry.js → p-efd89c57.entry.js} +1 -1
  628. package/dist/genesys-webcomponents/{p-8045e63b.entry.js → p-f09ea52d.entry.js} +1 -1
  629. package/dist/genesys-webcomponents/{p-061ea741.entry.js → p-f308e9ad.entry.js} +1 -1
  630. package/dist/genesys-webcomponents/p-f63d28a3.entry.js +1 -0
  631. package/dist/genesys-webcomponents/{p-40ea83f0.entry.js → p-f6be54af.entry.js} +1 -1
  632. package/dist/genesys-webcomponents/{p-7065d860.entry.js → p-f92de177.entry.js} +1 -1
  633. package/dist/genesys-webcomponents/{p-7adb4b41.entry.js → p-f9ad0cfb.entry.js} +1 -1
  634. package/dist/genesys-webcomponents/{p-99137082.entry.js → p-fdc40086.entry.js} +1 -1
  635. package/dist/stencil-wrapper.js +1 -1
  636. package/dist/types/components/beta/gux-tree/gux-branch/gux-branch.d.ts +25 -0
  637. package/dist/types/components/beta/gux-tree/gux-leaf/gux-leaf.d.ts +23 -0
  638. package/dist/types/components/beta/gux-tree/gux-tree.d.ts +27 -0
  639. package/dist/types/components/beta/gux-tree/gux-tree.service.d.ts +21 -0
  640. package/dist/types/components/beta/gux-tree/gux-tree.types.d.ts +3 -0
  641. package/dist/types/components/beta/gux-tree/tests/gux-tree.common.d.ts +8 -0
  642. package/dist/types/components/beta/gux-tree-multi/gux-branch-multi/gux-branch-multi.d.ts +27 -0
  643. package/dist/types/components/beta/gux-tree-multi/gux-leaf-multi/gux-leaf-multi.d.ts +24 -0
  644. package/dist/types/components/beta/gux-tree-multi/gux-tree-multi.d.ts +28 -0
  645. package/dist/types/components/beta/gux-tree-multi/gux-tree-multi.service.d.ts +24 -0
  646. package/dist/types/components/beta/gux-tree-multi/gux-tree-multi.types.d.ts +16 -0
  647. package/dist/types/components/beta/gux-tree-multi/tests/gux-tree-multi.common.d.ts +10 -0
  648. package/dist/types/components.d.ts +264 -0
  649. package/dist/types/stencil-wrapper.d.ts +1 -1
  650. package/dist/types/utils/decorator/aria.d.ts +47 -0
  651. package/package.json +1 -1
  652. package/dist/genesys-webcomponents/p-0a8991dc.entry.js +0 -1
  653. package/dist/genesys-webcomponents/p-116268dd.entry.js +0 -1
  654. package/dist/genesys-webcomponents/p-2d774310.entry.js +0 -1
  655. package/dist/genesys-webcomponents/p-37b9c630.entry.js +0 -1
  656. package/dist/genesys-webcomponents/p-4551fc1a.entry.js +0 -1
  657. package/dist/genesys-webcomponents/p-49f4288e.entry.js +0 -1
  658. package/dist/genesys-webcomponents/p-63e3b1f3.entry.js +0 -1
  659. package/dist/genesys-webcomponents/p-71ff1a25.entry.js +0 -1
  660. package/dist/genesys-webcomponents/p-79d0c705.entry.js +0 -1
  661. package/dist/genesys-webcomponents/p-7a9be627.entry.js +0 -1
  662. package/dist/genesys-webcomponents/p-83c0a686.entry.js +0 -1
  663. package/dist/genesys-webcomponents/p-a2f29975.entry.js +0 -1
  664. package/dist/genesys-webcomponents/p-ab3c9fe0.entry.js +0 -1
  665. package/dist/genesys-webcomponents/p-c372d8f5.entry.js +0 -1
  666. package/dist/genesys-webcomponents/p-c76a57f2.entry.js +0 -1
  667. package/dist/genesys-webcomponents/p-d99703d1.entry.js +0 -1
  668. package/dist/genesys-webcomponents/p-e1de4af9.entry.js +0 -1
  669. package/dist/genesys-webcomponents/p-eaeb9124.entry.js +0 -1
  670. package/dist/genesys-webcomponents/p-f47b496d.entry.js +0 -1
@@ -1 +1 @@
1
- import{r as t,h as e,H as i,a as s}from"./p-Dz_2h4jr.js";import{t as o}from"./p-CqFA-9uw.js";import{f as r}from"./p-Cr5bTKWF.js";import{r as a}from"./p-D9jKBqIb.js";const n=class{constructor(e){t(this,e),this.id=a("gux-tooltip-pointer"),this.accent="light",this.placement="bottom-start",this.visualOnly=!1}async showTooltip(){return await this.baseTooltip.showTooltip()}async hideTooltip(){return await this.baseTooltip.hideTooltip()}updateForElement(){this.forElement=this.getForElement()}componentWillLoad(){o(this.root,{variant:this.placement})}componentDidLoad(){this.baseTooltip&&(this.tooltipObserver=new MutationObserver((()=>{var t;this.role=null===(t=this.baseTooltip)||void 0===t?void 0:t.role})),this.tooltipObserver.observe(this.baseTooltip,{childList:!0,attributes:!0,attributeFilter:["role"]}))}connectedCallback(){this.updateForElement()}disconnectedCallback(){this.tooltipObserver&&this.tooltipObserver.disconnect()}getForElement(){if(this.for){const t=r(this.root,this.for);return t||this.logForAttributeError(),t}return this.root.parentElement}logForAttributeError(){this.root.isConnected&&console.error(`gux-tooltip-pointer: invalid element supplied to 'for': "${this.for}"`)}render(){return e(i,{key:"3bea0c4a5d4b8db56ddab2a433b33475e2bc4682",id:this.id,role:this.role},e("gux-tooltip-base-beta",{key:"3ab919ab52f171529a68b7cc827fa5e77e90151a",forElement:this.forElement,placement:this.placement,accent:this.accent,tooltipId:this.id,visualOnly:this.visualOnly,ref:t=>this.baseTooltip=t,followMouse:!0},e("span",{key:"ec30dddd207a47c5680ff95c9d77949408634d13",slot:"content"},e("slot",{key:"49bc97dbf058d0a5f9c0de0766c1d597851f3e3e",name:"content"},e("slot",{key:"e81dc5abf69e80746d4c013b260998837cdd21e2"})))))}get root(){return s(this)}static get watchers(){return{for:["updateForElement"]}}};export{n as gux_tooltip_pointer_beta}
1
+ import{r as t,h as e,H as i,a as s}from"./p-Dz_2h4jr.js";import{t as o}from"./p-P-hdUE3M.js";import{f as r}from"./p-Cr5bTKWF.js";import{r as a}from"./p-D9jKBqIb.js";const n=class{constructor(e){t(this,e),this.id=a("gux-tooltip-pointer"),this.accent="light",this.placement="bottom-start",this.visualOnly=!1}async showTooltip(){return await this.baseTooltip.showTooltip()}async hideTooltip(){return await this.baseTooltip.hideTooltip()}updateForElement(){this.forElement=this.getForElement()}componentWillLoad(){o(this.root,{variant:this.placement})}componentDidLoad(){this.baseTooltip&&(this.tooltipObserver=new MutationObserver((()=>{var t;this.role=null===(t=this.baseTooltip)||void 0===t?void 0:t.role})),this.tooltipObserver.observe(this.baseTooltip,{childList:!0,attributes:!0,attributeFilter:["role"]}))}connectedCallback(){this.updateForElement()}disconnectedCallback(){this.tooltipObserver&&this.tooltipObserver.disconnect()}getForElement(){if(this.for){const t=r(this.root,this.for);return t||this.logForAttributeError(),t}return this.root.parentElement}logForAttributeError(){this.root.isConnected&&console.error(`gux-tooltip-pointer: invalid element supplied to 'for': "${this.for}"`)}render(){return e(i,{key:"3bea0c4a5d4b8db56ddab2a433b33475e2bc4682",id:this.id,role:this.role},e("gux-tooltip-base-beta",{key:"3ab919ab52f171529a68b7cc827fa5e77e90151a",forElement:this.forElement,placement:this.placement,accent:this.accent,tooltipId:this.id,visualOnly:this.visualOnly,ref:t=>this.baseTooltip=t,followMouse:!0},e("span",{key:"ec30dddd207a47c5680ff95c9d77949408634d13",slot:"content"},e("slot",{key:"49bc97dbf058d0a5f9c0de0766c1d597851f3e3e",name:"content"},e("slot",{key:"e81dc5abf69e80746d4c013b260998837cdd21e2"})))))}get root(){return s(this)}static get watchers(){return{for:["updateForElement"]}}};export{n as gux_tooltip_pointer_beta}
@@ -1 +1 @@
1
- import{r as e,c as a,h as t}from"./p-Dz_2h4jr.js";const s=class{constructor(t){e(this,t),this.guxactivepanelchange=a(this,"guxactivepanelchange",7),this.active=!1}async guxSetActive(e){this.active=e}watchActivePanel(){!0===this.active&&this.guxactivepanelchange.emit(this.tabId)}render(){return t("div",{key:"550001ba64b622bda8d814a73ef511417f058979",id:`gux-${this.tabId}-panel`,class:"gux-tabpanel",role:"tabpanel","aria-labelledby":`gux-${this.tabId}-tab`,tabIndex:0,hidden:!this.active,"aria-live":"assertive"},t("slot",{key:"6ea2d7f62812c46e38d17355e0d21cb450ebe879"}))}static get watchers(){return{active:["watchActivePanel"]}}};s.style="gux-tab-advanced-panel .gux-tabpanel:focus{outline:none}gux-tab-advanced-panel .gux-tabpanel:focus-visible{outline:var(--gse-semantic-focusOutline-md-borderWidth) solid var(--gse-semantic-border-focus);outline-offset:var(--gse-semantic-focusOutline-offset)}";export{s as gux_tab_advanced_panel}
1
+ import{r as e,c as a,h as t}from"./p-Dz_2h4jr.js";const s=class{constructor(t){e(this,t),this.guxactivepanelchange=a(this,"guxactivepanelchange",7),this.active=!1}async guxSetActive(e){this.active=e}watchActivePanel(){!0===this.active&&this.guxactivepanelchange.emit(this.tabId)}render(){return t("div",{key:"0d07cfca0708a4ccb26c9144cc12b2b1662a4ca7",id:`gux-${this.tabId}-panel`,class:"gux-tabpanel",role:"tabpanel","aria-labelledby":`gux-${this.tabId}-tab`,tabIndex:0,hidden:!this.active,"aria-live":"assertive"},t("slot",{key:"4a875e3294ecfe09620a6656092bee37b99ce407"}))}static get watchers(){return{active:["watchActivePanel"]}}};s.style="gux-tab-advanced-panel .gux-tabpanel:focus{outline:none}gux-tab-advanced-panel .gux-tabpanel:focus-visible{outline:var(--gse-semantic-focusOutline-md-borderWidth) solid var(--gse-semantic-border-focus);outline-offset:var(--gse-semantic-focusOutline-offset)}";export{s as gux_tab_advanced_panel}
@@ -1 +1 @@
1
- import{r as t,h as o,a as e}from"./p-Dz_2h4jr.js";import{t as i}from"./p-CqFA-9uw.js";import{g as r}from"./p-MAoEg4ig.js";const a=class{constructor(o){t(this,o),this.placement="right"}componentWillLoad(){i(this.root)}async showTooltip(){return await this.tooltip.showTooltip()}async hideTooltip(){return await this.tooltip.hideTooltip()}render(){return o("div",{key:"577fdd3a6280b5fe4c4946646e1bb589e09ea4b1",class:"gux-icon-tooltip"},o("gux-screen-reader-beta",{key:"7980154285351d9c661747080e594e2a0847429c"},o("slot",{key:"50d52a249f7dbaf0d269dc006a15b182252d4434",name:"content"})),o("gux-icon",{key:"cd8e0307aaee4b9fc4bf7c0435912e199be8bf24","icon-name":this.iconName,size:"small",decorative:!0}),o("gux-tooltip-beta",{key:"1d276cbc8dd225f3704cd37bf7c7151fefce0294",placement:this.placement,ref:t=>this.tooltip=t},o("div",{key:"189c2ca911b3a2140181f220b1bb118c17b56cfd",slot:"content"},r(this.root,"content"))))}get root(){return e(this)}};a.style=".gux-icon-tooltip{inline-size:fit-content;padding:0;line-height:0;background-color:transparent;border:none;border-radius:var(--gse-ui-formControl-label-tooltipTrigger-borderRadius)}.gux-icon-tooltip gux-tooltip{padding-inline-start:0}.gux-icon-tooltip gux-icon{vertical-align:bottom;color:var(--gse-ui-formControl-label-tooltipTrigger-color)}";export{a as gux_icon_tooltip_beta}
1
+ import{r as t,h as o,a as e}from"./p-Dz_2h4jr.js";import{t as i}from"./p-P-hdUE3M.js";import{g as r}from"./p-MAoEg4ig.js";const a=class{constructor(o){t(this,o),this.placement="right"}componentWillLoad(){i(this.root)}async showTooltip(){return await this.tooltip.showTooltip()}async hideTooltip(){return await this.tooltip.hideTooltip()}render(){return o("div",{key:"577fdd3a6280b5fe4c4946646e1bb589e09ea4b1",class:"gux-icon-tooltip"},o("gux-screen-reader-beta",{key:"7980154285351d9c661747080e594e2a0847429c"},o("slot",{key:"50d52a249f7dbaf0d269dc006a15b182252d4434",name:"content"})),o("gux-icon",{key:"cd8e0307aaee4b9fc4bf7c0435912e199be8bf24","icon-name":this.iconName,size:"small",decorative:!0}),o("gux-tooltip-beta",{key:"1d276cbc8dd225f3704cd37bf7c7151fefce0294",placement:this.placement,ref:t=>this.tooltip=t},o("div",{key:"189c2ca911b3a2140181f220b1bb118c17b56cfd",slot:"content"},r(this.root,"content"))))}get root(){return e(this)}};a.style=".gux-icon-tooltip{inline-size:fit-content;padding:0;line-height:0;background-color:transparent;border:none;border-radius:var(--gse-ui-formControl-label-tooltipTrigger-borderRadius)}.gux-icon-tooltip gux-tooltip{padding-inline-start:0}.gux-icon-tooltip gux-icon{vertical-align:bottom;color:var(--gse-ui-formControl-label-tooltipTrigger-color)}";export{a as gux_icon_tooltip_beta}
@@ -1 +1 @@
1
- import{r as i,h as o,a as r}from"./p-Dz_2h4jr.js";import{t}from"./p-CqFA-9uw.js";import{b as a}from"./p-DmaAM9UB.js";import"./p-Cd4R0amv.js";var l={optional:"optional"};const e=class{constructor(o){i(this,o),this.variant="required",this.required=!1}async componentWillLoad(){t(this.root,{variant:this.variant}),this.i18n=await a(this.root,l)}render(){return"optional"!==this.variant||this.required?"required"===this.variant&&this.required?o("span",{class:"gux-form-field-label-indicator-required","aria-hidden":"true"},"*"):null:o("span",{class:"gux-form-field-label-indicator-optional"},"(",this.i18n("optional"),")")}get root(){return r(this)}};e.style=".gux-form-field-label-indicator-required{padding-inline-start:var(--gse-ui-formControl-formField-gap);color:var(--gse-ui-formControl-label-indicator-requiredColor)}.gux-form-field-label-indicator-optional{margin-inline-start:var(--gse-ui-formControl-formField-gap);font-family:var(--gse-ui-formControl-label-indicator-text-fontFamily);font-size:var(--gse-ui-formControl-label-indicator-text-fontSize);font-weight:var(--gse-ui-formControl-label-indicator-text-fontWeight);line-height:var(--gse-ui-formControl-label-indicator-text-lineHeight);color:var(--gse-ui-formControl-label-indicator-optionalColor)}";export{e as gux_form_field_label_indicator}
1
+ import{r as i,h as o,a as r}from"./p-Dz_2h4jr.js";import{t}from"./p-P-hdUE3M.js";import{b as a}from"./p-DmaAM9UB.js";import"./p-Cd4R0amv.js";var l={optional:"optional"};const e=class{constructor(o){i(this,o),this.variant="required",this.required=!1}async componentWillLoad(){t(this.root,{variant:this.variant}),this.i18n=await a(this.root,l)}render(){return"optional"!==this.variant||this.required?"required"===this.variant&&this.required?o("span",{class:"gux-form-field-label-indicator-required","aria-hidden":"true"},"*"):null:o("span",{class:"gux-form-field-label-indicator-optional"},"(",this.i18n("optional"),")")}get root(){return r(this)}};e.style=".gux-form-field-label-indicator-required{padding-inline-start:var(--gse-ui-formControl-formField-gap);color:var(--gse-ui-formControl-label-indicator-requiredColor)}.gux-form-field-label-indicator-optional{margin-inline-start:var(--gse-ui-formControl-formField-gap);font-family:var(--gse-ui-formControl-label-indicator-text-fontFamily);font-size:var(--gse-ui-formControl-label-indicator-text-fontSize);font-weight:var(--gse-ui-formControl-label-indicator-text-fontWeight);line-height:var(--gse-ui-formControl-label-indicator-text-lineHeight);color:var(--gse-ui-formControl-label-indicator-optionalColor)}";export{e as gux_form_field_label_indicator}
@@ -1 +1 @@
1
- import{r as e,h as i,a as t}from"./p-Dz_2h4jr.js";import{b as o}from"./p-DmaAM9UB.js";import{O as r}from"./p-0yc9CKxX.js";import{o as l}from"./p-De1NnCmO.js";import{h as s}from"./p-qzV3vtOw.js";import{G as a,a as n}from"./p-JPhxXbs4.js";import{G as f,a as h,b as d}from"./p-DrJn2EIj.js";import{g as u}from"./p-MAoEg4ig.js";import{b as p,s as m,a as g}from"./p-DHLxhscH.js";import{t as c}from"./p-CqFA-9uw.js";import"./p-Cd4R0amv.js";import"./p-D9jKBqIb.js";import"./p-DxtJDeL9.js";import"./p-BMRf5pjV.js";var x={required:"Required"};const b=class{constructor(i){e(this,i),this.indicatorMark="required",this.computedLabelPosition="above",this.hasError=!1,this.hasHelp=!1,this.hasLabelInfo=!1}watchValue(e){const i=this.root.querySelector("gux-dropdown")||this.root.querySelector("gux-dropdown-multi");i&&(i.hasError=e)}onMutation(){this.labelInfo=this.root.querySelector("[slot=label-info]"),this.hasError=s(this.root,"error"),this.hasHelp=s(this.root,"help")}handleKeyup(e){var i,t;switch(e.key){case"Tab":this.dropdownElement.matches(":focus-within")&&(null===(i=this.labelInfo)||void 0===i||i.showTooltip(),this.hideLabelInfoTimeout=setTimeout((()=>{var e;null===(e=this.labelInfo)||void 0===e||e.hideTooltip()}),6e3));break;case"Shift":break;default:this.dropdownElement.matches(":focus-within")&&(null===(t=this.labelInfo)||void 0===t||t.hideTooltip(),clearTimeout(this.hideLabelInfoTimeout))}}onFocusout(){var e;null===(e=this.labelInfo)||void 0===e||e.hideTooltip(),clearTimeout(this.hideLabelInfoTimeout)}async componentWillLoad(){this.getI18nValue=await o(this.root,x),this.setInput(),this.setLabel(),this.labelInfo=this.root.querySelector("[slot=label-info]"),this.hasError=s(this.root,"error"),this.hasHelp=s(this.root,"help"),this.hasLabelInfo=s(this.root,"label-info"),c(this.root,{variant:this.variant})}disconnectedCallback(){this.requiredObserver&&this.requiredObserver.disconnect()}renderText(e,i=!1){if(i)return" "+e}render(){var e;return i(d,{key:"7b053afc1e4239cc544deac4650810ff88d13fa8",labelPosition:this.computedLabelPosition},i(h,{key:"9297c6459663934682afe9398efdfbaa4bb765b8"},null===(e=this.label)||void 0===e?void 0:e.textContent,this.renderText(this.getI18nValue("required"),this.required),this.renderText(u(this.root,"error"),this.hasError),this.renderText(u(this.root,"help"),this.hasHelp),this.renderText(u(this.root,"label-info"),this.hasLabelInfo)),i(f,{key:"767c8e4a4c4995cfa31100f79d7e96ad2de088a0",position:this.computedLabelPosition,required:this.required},i("slot",{key:"b879b53aa8df83797a16d1a263316808370e301d",name:"label",onSlotchange:()=>this.setLabel()}),i("gux-form-field-label-indicator",{key:"da7c9a5349db2f179866cbcc56ce77794c276ebf",variant:this.indicatorMark,required:this.required}),i("slot",{key:"b5dfdaffee81961e2d49aa90e511cea1d63dcecb",name:"label-info"})),i("div",{key:"795f20f6398169ad2c8bfee3f0e1a7cf03971524",class:"gux-input-and-error-container"},i("div",{key:"759eed24f07de9a0dba995c247962b04dbf84fd6",class:{"gux-input":!0,"gux-input-error":this.hasError}},i("slot",{key:"adc434705994f2973631ec282ee924e0faaa0309"})),i(a,{key:"665530549449a343dc485e4cbee3df3429cbd724",show:this.hasError},i("slot",{key:"49cdf2682aaa7fd032ebe3dc3ac952597fb655c6",name:"error"})),i(n,{key:"df6576ed2c4709d3196a12a2deb9f4e2eb9072d3",show:!this.hasError&&this.hasHelp},i("slot",{key:"842e31b97627469948198d6e517d54012ba29516",name:"help"}))))}get variant(){return`dropdown-${this.labelPosition?this.labelPosition.toLowerCase():"none"}`}setInput(){this.dropdownElement=this.root.querySelector("gux-dropdown")||this.root.querySelector("gux-dropdown-multi"),this.listboxElement=this.root.querySelector("gux-listbox")||this.root.querySelector("gux-listbox-multi"),this.required=this.dropdownElement.required,this.requiredObserver=l(this.dropdownElement,(e=>{this.required=e})),p(this.root,this.listboxElement,"label"),m(this.root,this.listboxElement,"error"),m(this.root,this.listboxElement,"help")}setLabel(){this.label=this.root.querySelector('label[slot="label"]'),this.computedLabelPosition=g(this.label,this.labelPosition)}get root(){return t(this)}static get watchers(){return{hasError:["watchValue"]}}};(function(e,i,t,o){var r,l=arguments.length,s=l<3?i:null===o?o=Object.getOwnPropertyDescriptor(i,t):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(e,i,t,o);else for(var a=e.length-1;a>=0;a--)(r=e[a])&&(s=(l<3?r(s):l>3?r(i,t,s):r(i,t))||s);l>3&&s&&Object.defineProperty(i,t,s)})([r({childList:!0,subtree:!0})],b.prototype,"onMutation",null),b.style=".gux-form-field-fieldset-container{display:flex;min-inline-size:0;padding:0;margin:0;border:none}.gux-form-field-fieldset-container.gux-beside{flex-direction:row}.gux-form-field-fieldset-container.gux-above{flex-direction:column}.gux-form-field-error{display:none;flex-direction:row;flex-wrap:nowrap;gap:var(--gse-ui-formControl-helper-gap);place-content:stretch flex-start;padding:var(--gse-ui-formControl-helper-errorPadding);font-family:var(--gse-ui-formControl-helper-helperText-fontFamily);font-size:var(--gse-ui-formControl-helper-helperText-fontSize);line-height:var(--gse-ui-formControl-helper-helperText-lineHeight);color:var(--gse-ui-formControl-helper-errorColor)}.gux-form-field-error.gux-show{display:flex}.gux-form-field-error gux-icon{flex:0 0 auto;order:0;color:var(--gse-ui-formControl-helper-errorColor)}.gux-form-field-error .gux-message{flex:0 1 auto;align-self:auto;order:0}.gux-form-field-help{display:none;flex-direction:row;flex-wrap:nowrap;place-content:stretch flex-start;align-items:flex-start;justify-content:flex-start;padding-block-start:var(--gse-ui-formControl-formField-gap);font-family:var(--gse-ui-formControl-helper-helperText-fontFamily);font-size:var(--gse-ui-formControl-helper-helperText-fontSize);line-height:var(--gse-ui-formControl-helper-helperText-lineHeight);color:var(--gse-ui-formControl-helper-defaultColor)}.gux-form-field-help.gux-show{display:flex}.gux-form-field-help .gux-message{flex:0 1 auto;align-self:none;order:0}.gux-form-field-visual-label{display:inline-flex;flex:1 0 auto}.gux-form-field-visual-label ::slotted(label){min-inline-size:0}.gux-form-field-visual-label ::slotted(gux-label-info-beta){padding-inline-start:var(--gse-ui-formControl-formField-gap)}.gux-form-field-visual-label.gux-beside{position:relative;inset-block-start:var(--gse-ui-formControl-input-top);inline-size:fit-content;min-inline-size:var(--gse-ui-formControl-input-textfield-minWidth);max-inline-size:fit-content;margin-inline-end:var(--gse-ui-formControl-group-gapItems)}.gux-form-field-visual-label.gux-above{padding-block-end:var(--gse-ui-formControl-formField-gap)}.gux-form-field-visual-label.gux-screenreader{display:none}.gux-form-field-screenreader-label{position:absolute;top:auto;left:-10000px;width:1px;height:1px;overflow:hidden}:host{display:block}::slotted(label){font-family:var(--gse-ui-formControl-label-textBold-fontFamily);font-size:var(--gse-ui-formControl-label-textBold-fontSize);font-weight:var(--gse-ui-formControl-label-textBold-fontWeight);line-height:var(--gse-ui-formControl-label-textBold-lineHeight);color:var(--gse-ui-formControl-label-labelColor)}.gux-input-and-error-container{flex-grow:1;inline-size:100%}";export{b as gux_form_field_dropdown}
1
+ import{r as e,h as i,a as t}from"./p-Dz_2h4jr.js";import{b as o}from"./p-DmaAM9UB.js";import{O as r}from"./p-0yc9CKxX.js";import{o as l}from"./p-De1NnCmO.js";import{h as s}from"./p-qzV3vtOw.js";import{G as a,a as n}from"./p-JPhxXbs4.js";import{G as f,a as h,b as d}from"./p-DrJn2EIj.js";import{g as u}from"./p-MAoEg4ig.js";import{b as p,s as c,a as m}from"./p-DHLxhscH.js";import{t as g}from"./p-P-hdUE3M.js";import"./p-Cd4R0amv.js";import"./p-D9jKBqIb.js";import"./p-DxtJDeL9.js";import"./p-BMRf5pjV.js";var x={required:"Required"};const b=class{constructor(i){e(this,i),this.indicatorMark="required",this.computedLabelPosition="above",this.hasError=!1,this.hasHelp=!1,this.hasLabelInfo=!1}watchValue(e){const i=this.root.querySelector("gux-dropdown")||this.root.querySelector("gux-dropdown-multi");i&&(i.hasError=e)}onMutation(){this.labelInfo=this.root.querySelector("[slot=label-info]"),this.hasError=s(this.root,"error"),this.hasHelp=s(this.root,"help")}handleKeyup(e){var i,t;switch(e.key){case"Tab":this.dropdownElement.matches(":focus-within")&&(null===(i=this.labelInfo)||void 0===i||i.showTooltip(),this.hideLabelInfoTimeout=setTimeout((()=>{var e;null===(e=this.labelInfo)||void 0===e||e.hideTooltip()}),6e3));break;case"Shift":break;default:this.dropdownElement.matches(":focus-within")&&(null===(t=this.labelInfo)||void 0===t||t.hideTooltip(),clearTimeout(this.hideLabelInfoTimeout))}}onFocusout(){var e;null===(e=this.labelInfo)||void 0===e||e.hideTooltip(),clearTimeout(this.hideLabelInfoTimeout)}async componentWillLoad(){this.getI18nValue=await o(this.root,x),this.setInput(),this.setLabel(),this.labelInfo=this.root.querySelector("[slot=label-info]"),this.hasError=s(this.root,"error"),this.hasHelp=s(this.root,"help"),this.hasLabelInfo=s(this.root,"label-info"),g(this.root,{variant:this.variant})}disconnectedCallback(){this.requiredObserver&&this.requiredObserver.disconnect()}renderText(e,i=!1){if(i)return" "+e}render(){var e;return i(d,{key:"9133ae32d20ad4a621a0bbb7a94dc2f9e8ac613b",labelPosition:this.computedLabelPosition},i(h,{key:"71e21aa4cd76a7912b1a134da24b6eeca7613afd"},null===(e=this.label)||void 0===e?void 0:e.textContent,this.renderText(this.getI18nValue("required"),this.required),this.renderText(u(this.root,"error"),this.hasError),this.renderText(u(this.root,"help"),this.hasHelp),this.renderText(u(this.root,"label-info"),this.hasLabelInfo)),i(f,{key:"1082853d5b066488e3fa4fd967fced44a630bd36",position:this.computedLabelPosition,required:this.required},i("slot",{key:"c485afd80404797870c381d2c7bc4874a38780e2",name:"label",onSlotchange:()=>this.setLabel()}),i("gux-form-field-label-indicator",{key:"4bf6fe4371dea4ca230c06d5fa92f515397631dd",variant:this.indicatorMark,required:this.required}),i("slot",{key:"82a497f939b66fd5e02c603418cddb2a1ff45998",name:"label-info"})),i("div",{key:"b58671aff9f09554d4e787d20a68b459bcb27024",class:"gux-input-and-error-container"},i("div",{key:"cf6c229fe7eaacc9846171dcd8ab8efb22c25dd3",class:{"gux-input":!0,"gux-input-error":this.hasError}},i("slot",{key:"7626416d34c71ffd354e5648731bab5262c26c15"})),i(a,{key:"10e61c6dc2062a99e6a5f56341b7736f5672be60",show:this.hasError},i("slot",{key:"7f82f3c3c0594aa3c70aaa25b8ea665ae5fc03f1",name:"error"})),i(n,{key:"54f1c9da9894d8a6405e8f985ee174a6a9dc528e",show:!this.hasError&&this.hasHelp},i("slot",{key:"83ef12a54c7dd12750f980a8cad7627d0f1969fd",name:"help"}))))}get variant(){return`dropdown-${this.labelPosition?this.labelPosition.toLowerCase():"none"}`}setInput(){this.dropdownElement=this.root.querySelector("gux-dropdown")||this.root.querySelector("gux-dropdown-multi"),this.listboxElement=this.root.querySelector("gux-listbox")||this.root.querySelector("gux-listbox-multi"),this.required=this.dropdownElement.required,this.requiredObserver=l(this.dropdownElement,(e=>{this.required=e})),p(this.root,this.listboxElement,"label"),c(this.root,this.listboxElement,"error"),c(this.root,this.listboxElement,"help")}setLabel(){this.label=this.root.querySelector('label[slot="label"]'),this.computedLabelPosition=m(this.label,this.labelPosition)}get root(){return t(this)}static get watchers(){return{hasError:["watchValue"]}}};(function(e,i,t,o){var r,l=arguments.length,s=l<3?i:null===o?o=Object.getOwnPropertyDescriptor(i,t):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(e,i,t,o);else for(var a=e.length-1;a>=0;a--)(r=e[a])&&(s=(l<3?r(s):l>3?r(i,t,s):r(i,t))||s);l>3&&s&&Object.defineProperty(i,t,s)})([r({childList:!0,subtree:!0})],b.prototype,"onMutation",null),b.style=".gux-form-field-fieldset-container{display:flex;min-inline-size:0;padding:0;margin:0;border:none}.gux-form-field-fieldset-container.gux-beside{flex-direction:row}.gux-form-field-fieldset-container.gux-above{flex-direction:column}.gux-form-field-error{display:none;flex-direction:row;flex-wrap:nowrap;gap:var(--gse-ui-formControl-helper-gap);place-content:stretch flex-start;padding:var(--gse-ui-formControl-helper-errorPadding);font-family:var(--gse-ui-formControl-helper-helperText-fontFamily);font-size:var(--gse-ui-formControl-helper-helperText-fontSize);line-height:var(--gse-ui-formControl-helper-helperText-lineHeight);color:var(--gse-ui-formControl-helper-errorColor)}.gux-form-field-error.gux-show{display:flex}.gux-form-field-error gux-icon{flex:0 0 auto;order:0;color:var(--gse-ui-formControl-helper-errorColor)}.gux-form-field-error .gux-message{flex:0 1 auto;align-self:auto;order:0}.gux-form-field-help{display:none;flex-direction:row;flex-wrap:nowrap;place-content:stretch flex-start;align-items:flex-start;justify-content:flex-start;padding-block-start:var(--gse-ui-formControl-formField-gap);font-family:var(--gse-ui-formControl-helper-helperText-fontFamily);font-size:var(--gse-ui-formControl-helper-helperText-fontSize);line-height:var(--gse-ui-formControl-helper-helperText-lineHeight);color:var(--gse-ui-formControl-helper-defaultColor)}.gux-form-field-help.gux-show{display:flex}.gux-form-field-help .gux-message{flex:0 1 auto;align-self:none;order:0}.gux-form-field-visual-label{display:inline-flex;flex:1 0 auto}.gux-form-field-visual-label ::slotted(label){min-inline-size:0}.gux-form-field-visual-label ::slotted(gux-label-info-beta){padding-inline-start:var(--gse-ui-formControl-formField-gap)}.gux-form-field-visual-label.gux-beside{position:relative;inset-block-start:var(--gse-ui-formControl-input-top);inline-size:fit-content;min-inline-size:var(--gse-ui-formControl-input-textfield-minWidth);max-inline-size:fit-content;margin-inline-end:var(--gse-ui-formControl-group-gapItems)}.gux-form-field-visual-label.gux-above{padding-block-end:var(--gse-ui-formControl-formField-gap)}.gux-form-field-visual-label.gux-screenreader{display:none}.gux-form-field-screenreader-label{position:absolute;top:auto;left:-10000px;width:1px;height:1px;overflow:hidden}:host{display:block}::slotted(label){font-family:var(--gse-ui-formControl-label-textBold-fontFamily);font-size:var(--gse-ui-formControl-label-textBold-fontSize);font-weight:var(--gse-ui-formControl-label-textBold-fontWeight);line-height:var(--gse-ui-formControl-label-textBold-lineHeight);color:var(--gse-ui-formControl-label-labelColor)}.gux-input-and-error-container{flex-grow:1;inline-size:100%}";export{b as gux_form_field_dropdown}
@@ -0,0 +1 @@
1
+ import{r as e,h as i,a as t}from"./p-Dz_2h4jr.js";import{b as o}from"./p-DmaAM9UB.js";import{O as r}from"./p-0yc9CKxX.js";import{a as l,o as a}from"./p-De1NnCmO.js";import{t as s}from"./p-P-hdUE3M.js";import{G as n,a as f}from"./p-JPhxXbs4.js";import{G as h,a as d,b as u}from"./p-DrJn2EIj.js";import{h as c}from"./p-qzV3vtOw.js";import{g as p}from"./p-MAoEg4ig.js";import{v as g,a as m}from"./p-DHLxhscH.js";import"./p-Cd4R0amv.js";import"./p-D9jKBqIb.js";import"./p-DxtJDeL9.js";import"./p-BMRf5pjV.js";var b={required:"Required"};const x=class{constructor(i){e(this,i),this.indicatorMark="required",this.computedLabelPosition="above",this.required=!1,this.hasError=!1,this.hasHelp=!1,this.hasLabelInfo=!1}watchValue(e){const i=this.root.querySelector("gux-phone-input-beta");i&&(i.hasError=e)}onMutation(){this.labelInfo=this.root.querySelector("[slot=label-info]"),this.hasError=c(this.root,"error"),this.hasHelp=c(this.root,"help"),this.hasLabelInfo=c(this.root,"label-info")}handleKeyup(e){var i,t;switch(e.key){case"Tab":this.input.matches(":focus-within")&&(null===(i=this.labelInfo)||void 0===i||i.showTooltip(),this.hideLabelInfoTimeout=setTimeout((()=>{var e;null===(e=this.labelInfo)||void 0===e||e.hideTooltip()}),6e3));break;case"Shift":break;default:this.input.matches(":focus-within")&&(null===(t=this.labelInfo)||void 0===t||t.hideTooltip(),clearTimeout(this.hideLabelInfoTimeout))}}onFocusout(){var e;null===(e=this.labelInfo)||void 0===e||e.hideTooltip(),clearTimeout(this.hideLabelInfoTimeout)}async componentWillLoad(){this.getI18nValue=await o(this.root,b),this.setInput(),this.setLabel(),this.labelInfo=this.root.querySelector("[slot=label-info]"),this.hasError=c(this.root,"error"),this.hasHelp=c(this.root,"help"),this.hasLabelInfo=c(this.root,"label-info"),s(this.root,{variant:this.variant})}disconnectedCallback(){this.disabledObserver.disconnect(),this.requiredObserver.disconnect()}render(){var e;return i(u,{key:"d02acc2ecd285af4097c4f8e0650304ecb698666",labelPosition:this.computedLabelPosition},i(d,{key:"b87c20f8aae8c7ac95a0d4ae146c7814515a5b3b"},null===(e=this.label)||void 0===e?void 0:e.textContent,this.renderText(this.getI18nValue("required"),this.required),this.renderText(p(this.root,"error"),this.hasError),this.renderText(p(this.root,"label-info"),this.hasLabelInfo)),i(h,{key:"83d33ef98ffc592a170447e96ecabedd4125d256",position:this.computedLabelPosition,required:this.required},i("slot",{key:"75caecc8381787fb2751bc83fce11c65616c1d7a",name:"label",onSlotchange:()=>this.setLabel()}),i("gux-form-field-label-indicator",{key:"b5738ff7cf2ce709943d6908293eacc2a6ddb645",variant:this.indicatorMark,required:this.required}),i("slot",{key:"33752d449da92a9101bb15c8c465fcb2901b69f6",name:"label-info"})),i("div",{key:"16ecb114cc8328b0e03657d6f8ad21dc824db150",class:"gux-input-and-error-container"},i("div",{key:"e03f1e808f07138f7d7a1fa706d4b0ae5857c9f6",class:{"gux-input":!0,"gux-input-error":this.hasError}},i("div",{key:"cf3ed1da0bc6a6267faacbc72552603caa5a582c",class:{"gux-input-container":!0,"gux-disabled":this.disabled}},i("slot",{key:"9c46324d327fb4d7f572ad88ca1aa611442df87d"}))),i(n,{key:"3db40106986120504499cd2fc90f40fc2f8cc08b",show:this.hasError},i("slot",{key:"f8f4142753a77fcfef3837ac3f7cb0146a9472c5",name:"error"})),i(f,{key:"7bb84e4970d97b8d5551cf9cc2c193555f90b8f1",show:!this.hasError&&this.hasHelp},i("slot",{key:"8ae10776979cc9bbce58d3043d7749a8a6a913d2",name:"help"}))))}renderText(e,i=!1){if(i)return" "+e}get variant(){return`phoneInput-${this.labelPosition?this.labelPosition.toLowerCase():"none"}`}setInput(){this.input=this.root.querySelector("gux-phone-input-beta"),this.disabled=this.input.disabled,this.required=this.input.required,this.disabledObserver=l(this.input,(e=>{this.disabled=e})),this.requiredObserver=a(this.input,(e=>{this.required=e})),g(this.root,this.input)}setLabel(){this.label=this.root.querySelector('label[slot="label"]'),this.computedLabelPosition=m(this.label,this.labelPosition)}get root(){return t(this)}static get watchers(){return{hasError:["watchValue"]}}};(function(e,i,t,o){var r,l=arguments.length,a=l<3?i:null===o?o=Object.getOwnPropertyDescriptor(i,t):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(e,i,t,o);else for(var s=e.length-1;s>=0;s--)(r=e[s])&&(a=(l<3?r(a):l>3?r(i,t,a):r(i,t))||a);l>3&&a&&Object.defineProperty(i,t,a)})([r({childList:!0,subtree:!0})],x.prototype,"onMutation",null),x.style=".gux-form-field-fieldset-container{display:flex;min-inline-size:0;padding:0;margin:0;border:none}.gux-form-field-fieldset-container.gux-beside{flex-direction:row}.gux-form-field-fieldset-container.gux-above{flex-direction:column}.gux-form-field-error{display:none;flex-direction:row;flex-wrap:nowrap;gap:var(--gse-ui-formControl-helper-gap);place-content:stretch flex-start;padding:var(--gse-ui-formControl-helper-errorPadding);font-family:var(--gse-ui-formControl-helper-helperText-fontFamily);font-size:var(--gse-ui-formControl-helper-helperText-fontSize);line-height:var(--gse-ui-formControl-helper-helperText-lineHeight);color:var(--gse-ui-formControl-helper-errorColor)}.gux-form-field-error.gux-show{display:flex}.gux-form-field-error gux-icon{flex:0 0 auto;order:0;color:var(--gse-ui-formControl-helper-errorColor)}.gux-form-field-error .gux-message{flex:0 1 auto;align-self:auto;order:0}.gux-form-field-help{display:none;flex-direction:row;flex-wrap:nowrap;place-content:stretch flex-start;align-items:flex-start;justify-content:flex-start;padding-block-start:var(--gse-ui-formControl-formField-gap);font-family:var(--gse-ui-formControl-helper-helperText-fontFamily);font-size:var(--gse-ui-formControl-helper-helperText-fontSize);line-height:var(--gse-ui-formControl-helper-helperText-lineHeight);color:var(--gse-ui-formControl-helper-defaultColor)}.gux-form-field-help.gux-show{display:flex}.gux-form-field-help .gux-message{flex:0 1 auto;align-self:none;order:0}.gux-form-field-visual-label{display:inline-flex;flex:1 0 auto}.gux-form-field-visual-label ::slotted(label){min-inline-size:0}.gux-form-field-visual-label ::slotted(gux-label-info-beta){padding-inline-start:var(--gse-ui-formControl-formField-gap)}.gux-form-field-visual-label.gux-beside{position:relative;inset-block-start:var(--gse-ui-formControl-input-top);inline-size:fit-content;min-inline-size:var(--gse-ui-formControl-input-textfield-minWidth);max-inline-size:fit-content;margin-inline-end:var(--gse-ui-formControl-group-gapItems)}.gux-form-field-visual-label.gux-above{padding-block-end:var(--gse-ui-formControl-formField-gap)}.gux-form-field-visual-label.gux-screenreader{display:none}.gux-form-field-screenreader-label{position:absolute;top:auto;left:-10000px;width:1px;height:1px;overflow:hidden}::slotted(label){font-family:var(--gse-ui-formControl-label-textBold-fontFamily);font-size:var(--gse-ui-formControl-label-textBold-fontSize);font-weight:var(--gse-ui-formControl-label-textBold-fontWeight);line-height:var(--gse-ui-formControl-label-textBold-lineHeight);color:var(--gse-ui-formControl-label-labelColor)}.gux-input-and-error-container{flex-grow:1}";export{x as gux_form_field_phone}
@@ -1 +1 @@
1
- import{r as a,c as o,h as t,a as e}from"./p-Dz_2h4jr.js";import{r as i}from"./p-D9jKBqIb.js";import{t as n}from"./p-CqFA-9uw.js";const d=class{constructor(t){a(this,t),this.guxdismiss=o(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,o,t;const e=this.getInitialFocusElement();e?null===(a=e.focus)||void 0===a||a.call(e):this.dismissButton&&(null===(t=(o=this.dismissButton).focus)||void 0===t||t.call(o))}render(){const a=this.hasModalTitleSlot(),o=this.hasFooterButtons(),e=i();return t("div",{key:"f95615886dac7a95c47d47141d7b3883bab48795",class:"gux-modal",role:"dialog","aria-modal":"true","aria-labelledby":a?e:null},t("div",{key:"61c0834d0813b540a42a4d9f4a5114b72649a968",class:`gux-modal-container gux-${this.size}`},this.renderModalTrapFocusEl(),a&&t("h1",{key:"43bd81ead4e4fd22ddd29e86ac97bad973e30229",class:"gux-modal-header",id:e},t("slot",{key:"32876834598bc00fc2382e240f6f50b6d71499dc",name:"title"})),t("gux-dismiss-button",{key:"b78866c3cbcbf68e593b47f57653f4d4354899b4",onClick:this.onDismissHandler.bind(this),ref:a=>this.dismissButton=a}),t("div",{key:"15f5362e2910bbe0350ac04369d0c6485847a82b",class:{"gux-modal-content":!0,"gux-no-buttons":!o}},t("p",{key:"2fdba95cfbf38f2a82230b4e12e9a708646f97f1"},t("slot",{key:"9ccd1f88dcfb66c160a66760b00e05a21854d0b0",name:"content"}))),o&&t("div",{key:"0d2545752d8a6227e18c021fc8a793ada4a37e42",class:"gux-button-footer"},t("div",{key:"d4db72ea22b6a3e271ccc0acde99afcb1684c3ae",class:"gux-left-align-buttons"},t("slot",{key:"0a736ac380345b630d519ded5693198c3700369c",name:"left-align-buttons"})),t("div",{key:"1ccfab40f4d14f0381d49c295f5c187e36d69930",class:"gux-right-align-buttons"},t("slot",{key:"48c20996d7341184629fc31fb2675e7b183b93c0",name:"right-align-buttons"}))),this.renderModalTrapFocusEl()))}renderModalTrapFocusEl(){if(this.trapFocus)return t("span",{onFocus:()=>this.dismissButton.focus(),tabindex:"0"})}getInitialFocusElement(){return this.initialFocus?this.root.querySelector(this.initialFocus):void 0}hasModalTitleSlot(){return Boolean(this.root.querySelector('[slot="title"]'))}hasFooterButtons(){return Boolean(this.root.querySelector('[slot="left-align-buttons"]'))||Boolean(this.root.querySelector('[slot="right-align-buttons"]'))}onDismissHandler(a){var o;a.stopPropagation(),this.guxdismiss.emit().defaultPrevented||(this.root.remove(),null===(o=this.triggerElement)||void 0===o||o.focus())}get root(){return e(this)}};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 o,h as e,a as t}from"./p-Dz_2h4jr.js";import{r as i}from"./p-D9jKBqIb.js";import{t as n}from"./p-P-hdUE3M.js";const d=class{constructor(e){a(this,e),this.guxdismiss=o(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,o,e;const t=this.getInitialFocusElement();t?null===(a=t.focus)||void 0===a||a.call(t):this.dismissButton&&(null===(e=(o=this.dismissButton).focus)||void 0===e||e.call(o))}render(){const a=this.hasModalTitleSlot(),o=this.hasFooterButtons(),t=i();return e("div",{key:"527507413753622ec0b7f3dfed8916ac08d1e260",class:"gux-modal",role:"dialog","aria-modal":"true","aria-labelledby":a?t:null},e("div",{key:"bc6854785cb4731a55cb9dda9386bfd3d339f633",class:`gux-modal-container gux-${this.size}`},this.renderModalTrapFocusEl(),a&&e("h1",{key:"05489788536a33ba53b372b0302ba15e2361b58a",class:"gux-modal-header",id:t},e("slot",{key:"54d2f3707513c1b84c6cd813aa4638e3045676ee",name:"title"})),e("gux-dismiss-button",{key:"52af378c804a04204b5991b92da1e12668ca93ef",onClick:this.onDismissHandler.bind(this),ref:a=>this.dismissButton=a}),e("div",{key:"c60f7060d8b0f0c0dda66b2cfc772db50e10e0d6",class:{"gux-modal-content":!0,"gux-no-buttons":!o}},e("p",{key:"70a5d1c13c35ce1457e632d7f1a2395f35e2ab2a"},e("slot",{key:"4c49a8fec8a3692ffd90aa35a25a5696f8ca7cef",name:"content"}))),o&&e("div",{key:"fad2aa306ba5c9da2d368835f691543948e4bb17",class:"gux-button-footer"},e("div",{key:"0392fa1027e5c5e67f22c72aae46a53bcf0d711f",class:"gux-left-align-buttons"},e("slot",{key:"c82936fab005fd0a1ec6e171e1891529aaed072a",name:"left-align-buttons"})),e("div",{key:"0520e31db929134210e19f077a512df7fc01b8ad",class:"gux-right-align-buttons"},e("slot",{key:"360485ffb3f3d8e35635c9b07094f60c4c08c33f",name:"right-align-buttons"}))),this.renderModalTrapFocusEl()))}renderModalTrapFocusEl(){if(this.trapFocus)return e("span",{onFocus:()=>this.dismissButton.focus(),tabindex:"0"})}getInitialFocusElement(){return this.initialFocus?this.root.querySelector(this.initialFocus):void 0}hasModalTitleSlot(){return Boolean(this.root.querySelector('[slot="title"]'))}hasFooterButtons(){return Boolean(this.root.querySelector('[slot="left-align-buttons"]'))||Boolean(this.root.querySelector('[slot="right-align-buttons"]'))}onDismissHandler(a){var o;a.stopPropagation(),this.guxdismiss.emit().defaultPrevented||(this.root.remove(),null===(o=this.triggerElement)||void 0===o||o.focus())}get root(){return 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 +1 @@
1
- import{r as e,f as o,h as t,a as r}from"./p-Dz_2h4jr.js";import{c as i,o as n}from"./p-Cb3FOYGS.js";import{O as l}from"./p-0yc9CKxX.js";import{o as a}from"./p-De1NnCmO.js";import{p as s}from"./p-PYfNAK8p.js";import{h as u}from"./p-qzV3vtOw.js";import{G as f,a as d}from"./p-JPhxXbs4.js";import{G as c,a as p}from"./p-C-1lAIfW.js";import{h as g,c as h,g as m,v as x,a as b}from"./p-DHLxhscH.js";import{t as v}from"./p-CqFA-9uw.js";import{f as C}from"./p-JHLuJ8Pb.js";import"./p-D9jKBqIb.js";import"./p-DxtJDeL9.js";import"./p-BMRf5pjV.js";const y=class{constructor(o){e(this,o),this.indicatorMark="required",this.computedLabelPosition="above",this.clearable=!0,this.hasContent=!1,this.hasError=!1,this.hasHelp=!1}onMutation(){this.labelInfo=this.root.querySelector("[slot=label-info]"),this.hasError=u(this.root,"error"),this.hasHelp=u(this.root,"help")}handleKeyup(e){var o,t;switch(e.key){case"Tab":this.input.matches(":focus-visible")&&(null===(o=this.labelInfo)||void 0===o||o.showTooltip(),this.hideLabelInfoTimeout=setTimeout((()=>{var e;null===(e=this.labelInfo)||void 0===e||e.hideTooltip()}),6e3));break;case"Shift":break;default:this.input.matches(":focus-visible")&&(null===(t=this.labelInfo)||void 0===t||t.hideTooltip(),clearTimeout(this.hideLabelInfoTimeout))}}onFocusout(){var e;null===(e=this.labelInfo)||void 0===e||e.hideTooltip(),clearTimeout(this.hideLabelInfoTimeout)}async guxForceUpdate(){this.hasContent=g(this.input),this.hasError=u(this.root,"error"),this.hasHelp=u(this.root,"help"),o(this.root)}componentWillLoad(){this.setInput(),this.setLabel(),this.labelInfo=this.root.querySelector("[slot=label-info]"),this.hasError=u(this.root,"error"),this.hasHelp=u(this.root,"help"),v(this.root,{variant:this.variant})}disconnectedCallback(){this.disabledObserver&&this.disabledObserver.disconnect(),this.requiredObserver&&this.requiredObserver.disconnect()}render(){return t(p,{key:"1800f6b5551a09413912e1a58d4a089058d3152f",labelPosition:this.computedLabelPosition},t(c,{key:"98573195cbe1985347b122c23ac7f68867a72348",required:this.required,position:this.computedLabelPosition},t("slot",{key:"fa42ce1c5c480bd36e72ee0ef98e334920fc3a3d",name:"label",onSlotchange:()=>this.setLabel()}),t("gux-form-field-label-indicator",{key:"e75d18eac5cec8e717601b59fc86cce41780c4e2",variant:this.indicatorMark,required:this.required}),t("slot",{key:"54d70d22db1a653f6db0faf3326edc92ae9bcf92",name:"label-info"})),t("div",{key:"22c69828bc6fa7dbf487e4771ca4299b7db9907f",class:"gux-input-and-error-container"},t("div",{key:"4b64e4fcca08bc440633b902efc884acc8d2bcc4",class:{"gux-input":!0,"gux-input-error":this.hasError}},t("div",{key:"72fb6cae3a019031bf13e5417e503377c605c346",class:{"gux-input-container":!0,"gux-disabled":this.disabled},onClick:()=>C(this.input)},t("gux-icon",{key:"042971671d5690e3c8c84ce6da48d50fc31750f3","icon-name":"fa/magnifying-glass-regular",decorative:!0,size:"small"}),t("slot",{key:"1e1c08b4766fe614cef65c9ba331e3d012a35996",name:"input"}),this.clearable&&this.hasContent&&!this.disabled&&t("gux-form-field-input-clear-button",{key:"95dd854f278f2f77b98825f713f2a13e0fc50181",onClick:()=>h(this.input)}))),t(f,{key:"5074b697a51e69bf4c175999a92e4066321716cd",show:this.hasError},t("slot",{key:"6245bb63df86f6f748ea89e30ad7ec87b6194f66",name:"error"})),t(d,{key:"565eeea70347bc87c15aa60022f9d98ce6a5404d",show:!this.hasError&&this.hasHelp},t("slot",{key:"7df43b6ac9dfd6481ed9aecdf97d69955d07176e",name:"help"}))))}get variant(){const e=this.labelPosition?this.labelPosition.toLowerCase():"none";return`${this.input.getAttribute("type")}-${e}`}setInput(){this.input=m(this.root,'input[type="search"][slot="input"]'),this.hasContent=g(this.input),s(this.input),this.input.addEventListener("input",(()=>{this.hasContent=g(this.input)})),this.disabled=i(this.input),this.required=this.input.required,this.disabledObserver=n(this.input,(e=>{this.disabled=e})),this.requiredObserver=a(this.input,(e=>{this.required=e})),x(this.root,this.input)}setLabel(){this.label=this.root.querySelector('label[slot="label"]'),this.computedLabelPosition=b(this.label,this.labelPosition)}get root(){return r(this)}};(function(e,o,t,r){var i,n=arguments.length,l=n<3?o:null===r?r=Object.getOwnPropertyDescriptor(o,t):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)l=Reflect.decorate(e,o,t,r);else for(var a=e.length-1;a>=0;a--)(i=e[a])&&(l=(n<3?i(l):n>3?i(o,t,l):i(o,t))||l);n>3&&l&&Object.defineProperty(o,t,l)})([l({childList:!0,subtree:!0})],y.prototype,"onMutation",null),y.style='.gux-form-field-container{display:flex;flex-direction:column}.gux-form-field-container.gux-beside{flex-direction:row}.gux-form-field-error{display:none;flex-direction:row;flex-wrap:nowrap;gap:var(--gse-ui-formControl-helper-gap);place-content:stretch flex-start;padding:var(--gse-ui-formControl-helper-errorPadding);font-family:var(--gse-ui-formControl-helper-helperText-fontFamily);font-size:var(--gse-ui-formControl-helper-helperText-fontSize);line-height:var(--gse-ui-formControl-helper-helperText-lineHeight);color:var(--gse-ui-formControl-helper-errorColor)}.gux-form-field-error.gux-show{display:flex}.gux-form-field-error gux-icon{flex:0 0 auto;order:0;color:var(--gse-ui-formControl-helper-errorColor)}.gux-form-field-error .gux-message{flex:0 1 auto;align-self:auto;order:0}.gux-form-field-label{display:inline-flex;flex:1 0 auto}.gux-form-field-label ::slotted(label){min-inline-size:0}.gux-form-field-label ::slotted(gux-label-info-beta){padding-inline-start:var(--gse-ui-formControl-formField-gap)}.gux-form-field-label.gux-beside{position:relative;inset-block-start:var(--gse-ui-formControl-input-top);inline-size:fit-content;min-inline-size:var(--gse-ui-formControl-input-textfield-minWidth);max-inline-size:fit-content;margin-inline-end:var(--gse-ui-formControl-group-gapItems)}.gux-form-field-label.gux-above{padding-block-end:var(--gse-ui-formControl-formField-gap)}.gux-form-field-label.gux-screenreader{position:absolute;top:auto;left:-10000px;width:1px;height:1px;overflow:hidden}.gux-form-field-help{display:none;flex-direction:row;flex-wrap:nowrap;place-content:stretch flex-start;align-items:flex-start;justify-content:flex-start;padding-block-start:var(--gse-ui-formControl-formField-gap);font-family:var(--gse-ui-formControl-helper-helperText-fontFamily);font-size:var(--gse-ui-formControl-helper-helperText-fontSize);line-height:var(--gse-ui-formControl-helper-helperText-lineHeight);color:var(--gse-ui-formControl-helper-defaultColor)}.gux-form-field-help.gux-show{display:flex}.gux-form-field-help .gux-message{flex:0 1 auto;align-self:none;order:0}:host{display:block}::slotted(label){font-family:var(--gse-ui-formControl-label-textBold-fontFamily);font-size:var(--gse-ui-formControl-label-textBold-fontSize);font-weight:var(--gse-ui-formControl-label-textBold-fontWeight);line-height:var(--gse-ui-formControl-label-textBold-lineHeight);color:var(--gse-ui-formControl-label-labelColor)}::slotted(input){flex:1 1 auto;align-self:auto;order:0;inline-size:100%;overflow:hidden;text-overflow:ellipsis;font-family:var(--gse-ui-formControl-input-contentText-fontFamily);font-size:var(--gse-ui-formControl-input-contentText-fontSize);font-weight:var(--gse-ui-formControl-input-contentText-fontWeight);line-height:var(--gse-ui-formControl-input-contentText-lineHeight);color:var(--gse-ui-formControl-input-populatedColor);outline:none;background-color:var(--gse-ui-formControl-input-backgroundColor);border:none}::slotted(input)::placeholder{color:var(--gse-ui-formControl-input-placeholderColor);opacity:1}.gux-input-and-error-container{flex-grow:1}.gux-input-and-error-container .gux-input{display:flex;flex-direction:row;flex-wrap:nowrap;align-content:stretch;align-items:center}.gux-input-and-error-container .gux-input .gux-input-container{box-sizing:border-box;display:flex;flex:1 1 auto;flex-direction:row;flex-wrap:nowrap;gap:var(--gse-ui-formControl-input-gap);place-content:stretch center;align-items:center;align-self:auto;order:0;inline-size:100%;block-size:var(--gse-ui-formControl-input-textfield-height);padding:var(--gse-ui-formControl-input-padding);font-family:var(--gse-ui-formControl-input-contentText-fontFamily);font-size:var(--gse-ui-formControl-input-contentText-fontSize);font-weight:var(--gse-ui-formControl-input-contentText-fontWeight);line-height:var(--gse-ui-formControl-input-contentText-lineHeight);color:var(--gse-ui-formControl-input-populatedColor);cursor:text;background-color:var(--gse-ui-formControl-input-backgroundColor);background-image:none;border:var(--gse-ui-formControl-input-default-border-width) var(--gse-ui-formControl-input-default-border-style) var(--gse-ui-formControl-input-default-border-color);border-radius:var(--gse-ui-formControl-input-borderRadius)}.gux-input-and-error-container .gux-input .gux-input-container.gux-disabled{cursor:default;opacity:var(--gse-ui-formControl-input-disabled-opacity)}.gux-input-and-error-container .gux-input .gux-input-container gux-icon[icon-name="fa/magnifying-glass-regular"]{flex:0 0 auto;align-self:auto;order:0;color:var(--gse-ui-formControl-input-inputIcon-defaultColor)}.gux-input-and-error-container .gux-input .gux-input-container:focus-within{outline:var(--gse-ui-formControl-input-focus-border-width) var(--gse-ui-formControl-input-focus-border-style) var(--gse-ui-formControl-input-focus-border-color);outline-offset:var(--gse-semantic-focusOutline-offset);border:var(--gse-ui-formControl-input-active-border-width) var(--gse-ui-formControl-input-active-border-style) var(--gse-ui-formControl-input-active-border-color);border-radius:var(--gse-ui-formControl-focusRing-borderRadius)}.gux-input-and-error-container .gux-input .gux-input-container:hover:not(.gux-disabled){border:var(--gse-ui-formControl-input-hover-border-width) var(--gse-ui-formControl-input-hover-border-style) var(--gse-ui-formControl-input-hover-border-color)}.gux-input-and-error-container .gux-input.gux-input-error .gux-input-container{border-color:var(--gse-ui-formControl-input-error-border-color)}';export{y as gux_form_field_search}
1
+ import{r as e,f as o,h as t,a as r}from"./p-Dz_2h4jr.js";import{c as i,o as n}from"./p-Cb3FOYGS.js";import{O as l}from"./p-0yc9CKxX.js";import{o as a}from"./p-De1NnCmO.js";import{p as s}from"./p-PYfNAK8p.js";import{h as u}from"./p-qzV3vtOw.js";import{G as f,a as d}from"./p-JPhxXbs4.js";import{G as p,a as g}from"./p-C-1lAIfW.js";import{h as c,c as h,g as m,v as b,a as x}from"./p-DHLxhscH.js";import{t as v}from"./p-P-hdUE3M.js";import{f as C}from"./p-JHLuJ8Pb.js";import"./p-D9jKBqIb.js";import"./p-DxtJDeL9.js";import"./p-BMRf5pjV.js";const y=class{constructor(o){e(this,o),this.indicatorMark="required",this.computedLabelPosition="above",this.clearable=!0,this.hasContent=!1,this.hasError=!1,this.hasHelp=!1}onMutation(){this.labelInfo=this.root.querySelector("[slot=label-info]"),this.hasError=u(this.root,"error"),this.hasHelp=u(this.root,"help")}handleKeyup(e){var o,t;switch(e.key){case"Tab":this.input.matches(":focus-visible")&&(null===(o=this.labelInfo)||void 0===o||o.showTooltip(),this.hideLabelInfoTimeout=setTimeout((()=>{var e;null===(e=this.labelInfo)||void 0===e||e.hideTooltip()}),6e3));break;case"Shift":break;default:this.input.matches(":focus-visible")&&(null===(t=this.labelInfo)||void 0===t||t.hideTooltip(),clearTimeout(this.hideLabelInfoTimeout))}}onFocusout(){var e;null===(e=this.labelInfo)||void 0===e||e.hideTooltip(),clearTimeout(this.hideLabelInfoTimeout)}async guxForceUpdate(){this.hasContent=c(this.input),this.hasError=u(this.root,"error"),this.hasHelp=u(this.root,"help"),o(this.root)}componentWillLoad(){this.setInput(),this.setLabel(),this.labelInfo=this.root.querySelector("[slot=label-info]"),this.hasError=u(this.root,"error"),this.hasHelp=u(this.root,"help"),v(this.root,{variant:this.variant})}disconnectedCallback(){this.disabledObserver&&this.disabledObserver.disconnect(),this.requiredObserver&&this.requiredObserver.disconnect()}render(){return t(g,{key:"fd6c5b29b670241a7274565b60c512314ab8f383",labelPosition:this.computedLabelPosition},t(p,{key:"c55ff8ad630dc94c527409b5ae311a3418b34496",required:this.required,position:this.computedLabelPosition},t("slot",{key:"b97c16c1b697337e83b6425ea61dc8cd29b277d0",name:"label",onSlotchange:()=>this.setLabel()}),t("gux-form-field-label-indicator",{key:"f902dd50993fd669ab34555a2b885d9fd2c17b20",variant:this.indicatorMark,required:this.required}),t("slot",{key:"052b9371690257976bd2f427fe2acedf9286833b",name:"label-info"})),t("div",{key:"9fd52a6b9f3278c29a8d82192f291e36590e1c2b",class:"gux-input-and-error-container"},t("div",{key:"77724793917db9866f3ad178944217a05c9c7ca3",class:{"gux-input":!0,"gux-input-error":this.hasError}},t("div",{key:"62f5c3221ac6fa1c76a65debd59bfc4041d047f2",class:{"gux-input-container":!0,"gux-disabled":this.disabled},onClick:()=>C(this.input)},t("gux-icon",{key:"834aed9635d9356b920795bf76d3aca4a0b0de93","icon-name":"fa/magnifying-glass-regular",decorative:!0,size:"small"}),t("slot",{key:"4fee400396150e594f7b8139ffa6be376bf77d15",name:"input"}),this.clearable&&this.hasContent&&!this.disabled&&t("gux-form-field-input-clear-button",{key:"3c06d303acd96f4abcac5e33c13083bc5b6c793e",onClick:()=>h(this.input)}))),t(f,{key:"0a5ddf4eb6c946482a5d549ebf47fe8e409a0e52",show:this.hasError},t("slot",{key:"96ae030d8262c09d64443dc2fb6c8c73d3cb4764",name:"error"})),t(d,{key:"996725a6feacf9703909edf57940a21e1d1550ae",show:!this.hasError&&this.hasHelp},t("slot",{key:"1d96b320eb1f3a2ea923eaf9b34470d52fbc36a6",name:"help"}))))}get variant(){const e=this.labelPosition?this.labelPosition.toLowerCase():"none";return`${this.input.getAttribute("type")}-${e}`}setInput(){this.input=m(this.root,'input[type="search"][slot="input"]'),this.hasContent=c(this.input),s(this.input),this.input.addEventListener("input",(()=>{this.hasContent=c(this.input)})),this.disabled=i(this.input),this.required=this.input.required,this.disabledObserver=n(this.input,(e=>{this.disabled=e})),this.requiredObserver=a(this.input,(e=>{this.required=e})),b(this.root,this.input)}setLabel(){this.label=this.root.querySelector('label[slot="label"]'),this.computedLabelPosition=x(this.label,this.labelPosition)}get root(){return r(this)}};(function(e,o,t,r){var i,n=arguments.length,l=n<3?o:null===r?r=Object.getOwnPropertyDescriptor(o,t):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)l=Reflect.decorate(e,o,t,r);else for(var a=e.length-1;a>=0;a--)(i=e[a])&&(l=(n<3?i(l):n>3?i(o,t,l):i(o,t))||l);n>3&&l&&Object.defineProperty(o,t,l)})([l({childList:!0,subtree:!0})],y.prototype,"onMutation",null),y.style='.gux-form-field-container{display:flex;flex-direction:column}.gux-form-field-container.gux-beside{flex-direction:row}.gux-form-field-error{display:none;flex-direction:row;flex-wrap:nowrap;gap:var(--gse-ui-formControl-helper-gap);place-content:stretch flex-start;padding:var(--gse-ui-formControl-helper-errorPadding);font-family:var(--gse-ui-formControl-helper-helperText-fontFamily);font-size:var(--gse-ui-formControl-helper-helperText-fontSize);line-height:var(--gse-ui-formControl-helper-helperText-lineHeight);color:var(--gse-ui-formControl-helper-errorColor)}.gux-form-field-error.gux-show{display:flex}.gux-form-field-error gux-icon{flex:0 0 auto;order:0;color:var(--gse-ui-formControl-helper-errorColor)}.gux-form-field-error .gux-message{flex:0 1 auto;align-self:auto;order:0}.gux-form-field-label{display:inline-flex;flex:1 0 auto}.gux-form-field-label ::slotted(label){min-inline-size:0}.gux-form-field-label ::slotted(gux-label-info-beta){padding-inline-start:var(--gse-ui-formControl-formField-gap)}.gux-form-field-label.gux-beside{position:relative;inset-block-start:var(--gse-ui-formControl-input-top);inline-size:fit-content;min-inline-size:var(--gse-ui-formControl-input-textfield-minWidth);max-inline-size:fit-content;margin-inline-end:var(--gse-ui-formControl-group-gapItems)}.gux-form-field-label.gux-above{padding-block-end:var(--gse-ui-formControl-formField-gap)}.gux-form-field-label.gux-screenreader{position:absolute;top:auto;left:-10000px;width:1px;height:1px;overflow:hidden}.gux-form-field-help{display:none;flex-direction:row;flex-wrap:nowrap;place-content:stretch flex-start;align-items:flex-start;justify-content:flex-start;padding-block-start:var(--gse-ui-formControl-formField-gap);font-family:var(--gse-ui-formControl-helper-helperText-fontFamily);font-size:var(--gse-ui-formControl-helper-helperText-fontSize);line-height:var(--gse-ui-formControl-helper-helperText-lineHeight);color:var(--gse-ui-formControl-helper-defaultColor)}.gux-form-field-help.gux-show{display:flex}.gux-form-field-help .gux-message{flex:0 1 auto;align-self:none;order:0}:host{display:block}::slotted(label){font-family:var(--gse-ui-formControl-label-textBold-fontFamily);font-size:var(--gse-ui-formControl-label-textBold-fontSize);font-weight:var(--gse-ui-formControl-label-textBold-fontWeight);line-height:var(--gse-ui-formControl-label-textBold-lineHeight);color:var(--gse-ui-formControl-label-labelColor)}::slotted(input){flex:1 1 auto;align-self:auto;order:0;inline-size:100%;overflow:hidden;text-overflow:ellipsis;font-family:var(--gse-ui-formControl-input-contentText-fontFamily);font-size:var(--gse-ui-formControl-input-contentText-fontSize);font-weight:var(--gse-ui-formControl-input-contentText-fontWeight);line-height:var(--gse-ui-formControl-input-contentText-lineHeight);color:var(--gse-ui-formControl-input-populatedColor);outline:none;background-color:var(--gse-ui-formControl-input-backgroundColor);border:none}::slotted(input)::placeholder{color:var(--gse-ui-formControl-input-placeholderColor);opacity:1}.gux-input-and-error-container{flex-grow:1}.gux-input-and-error-container .gux-input{display:flex;flex-direction:row;flex-wrap:nowrap;align-content:stretch;align-items:center}.gux-input-and-error-container .gux-input .gux-input-container{box-sizing:border-box;display:flex;flex:1 1 auto;flex-direction:row;flex-wrap:nowrap;gap:var(--gse-ui-formControl-input-gap);place-content:stretch center;align-items:center;align-self:auto;order:0;inline-size:100%;block-size:var(--gse-ui-formControl-input-textfield-height);padding:var(--gse-ui-formControl-input-padding);font-family:var(--gse-ui-formControl-input-contentText-fontFamily);font-size:var(--gse-ui-formControl-input-contentText-fontSize);font-weight:var(--gse-ui-formControl-input-contentText-fontWeight);line-height:var(--gse-ui-formControl-input-contentText-lineHeight);color:var(--gse-ui-formControl-input-populatedColor);cursor:text;background-color:var(--gse-ui-formControl-input-backgroundColor);background-image:none;border:var(--gse-ui-formControl-input-default-border-width) var(--gse-ui-formControl-input-default-border-style) var(--gse-ui-formControl-input-default-border-color);border-radius:var(--gse-ui-formControl-input-borderRadius)}.gux-input-and-error-container .gux-input .gux-input-container.gux-disabled{cursor:default;opacity:var(--gse-ui-formControl-input-disabled-opacity)}.gux-input-and-error-container .gux-input .gux-input-container gux-icon[icon-name="fa/magnifying-glass-regular"]{flex:0 0 auto;align-self:auto;order:0;color:var(--gse-ui-formControl-input-inputIcon-defaultColor)}.gux-input-and-error-container .gux-input .gux-input-container:focus-within{outline:var(--gse-ui-formControl-input-focus-border-width) var(--gse-ui-formControl-input-focus-border-style) var(--gse-ui-formControl-input-focus-border-color);outline-offset:var(--gse-semantic-focusOutline-offset);border:var(--gse-ui-formControl-input-active-border-width) var(--gse-ui-formControl-input-active-border-style) var(--gse-ui-formControl-input-active-border-color);border-radius:var(--gse-ui-formControl-focusRing-borderRadius)}.gux-input-and-error-container .gux-input .gux-input-container:hover:not(.gux-disabled){border:var(--gse-ui-formControl-input-hover-border-width) var(--gse-ui-formControl-input-hover-border-style) var(--gse-ui-formControl-input-hover-border-color)}.gux-input-and-error-container .gux-input.gux-input-error .gux-input-container{border-color:var(--gse-ui-formControl-input-error-border-color)}';export{y as gux_form_field_search}
@@ -1 +1 @@
1
- import{r as e,h as o,f as i,a as r}from"./p-Dz_2h4jr.js";import{b as t}from"./p-DmaAM9UB.js";import{O as l}from"./p-0yc9CKxX.js";import{h as a}from"./p-qzV3vtOw.js";import{t as s}from"./p-CqFA-9uw.js";import{a as n,G as d}from"./p-JPhxXbs4.js";import{G as f,a as u}from"./p-C-1lAIfW.js";import{g as p,v as g}from"./p-DHLxhscH.js";import{p as h}from"./p-PYfNAK8p.js";import{a as c,o as x,b}from"./p-De1NnCmO.js";import{s as m}from"./p-BMRf5pjV.js";import"./p-Cd4R0amv.js";import"./p-D9jKBqIb.js";import"./p-DxtJDeL9.js";var v={uploadFile:"Upload file",uploadFiles:"Upload files",changeFile:"Change file",changeFiles:"Change files",clickToUpload:"Click to upload",dragAndDropFileInstructions:"Drag and drop a file here or",dragAndDropFilesInstructions:"Drag and drop files here or"};const y=class{constructor(o){e(this,o),this.indicatorMark="required",this.dragAndDrop=!1,this.disabled=!1,this.hasError=!1,this.hasHelp=!1,this.required=!1,this.multiple=!1}onMutation(){this.labelInfo=this.root.querySelector("[slot=label-info]"),this.hasError=a(this.root,"error"),this.hasHelp=a(this.root,"help")}handleKeyup(e){var o,i;switch(e.key){case"Tab":this.input.matches(":focus-visible")&&(null===(o=this.labelInfo)||void 0===o||o.showTooltip(),this.hideLabelInfoTimeout=setTimeout((()=>{var e;null===(e=this.labelInfo)||void 0===e||e.hideTooltip()}),6e3));break;case"Shift":break;default:this.input.matches(":focus-visible")&&(null===(i=this.labelInfo)||void 0===i||i.hideTooltip(),clearTimeout(this.hideLabelInfoTimeout))}}onFocusout(){var e;null===(e=this.labelInfo)||void 0===e||e.hideTooltip(),clearTimeout(this.hideLabelInfoTimeout)}onGuxRemoveFile(e){this.removeFile(e.detail)}async componentWillLoad(){this.getI18nValue=await t(this.root,v),this.setInput(),this.hasError=a(this.root,"error"),this.hasHelp=a(this.root,"help"),this.labelInfo=this.root.querySelector("[slot=label-info]"),s(this.root)}disconnectedCallback(){var e,o,i;null===(e=this.disabledObserver)||void 0===e||e.disconnect(),null===(o=this.requiredObserver)||void 0===o||o.disconnect(),null===(i=this.multipleObserver)||void 0===i||i.disconnect()}render(){return o(u,{key:"e9b166fd53f9331f707994d2d6a7434b492c71b3",labelPosition:"above"},o(f,{key:"08e530b79a6a7d6f5910c3a40a6a6e75595234e4",position:"above",required:this.required},o("slot",{key:"5aa85b7ff23fee47de65564f201696b81191e721",name:"label"}),o("gux-form-field-label-indicator",{key:"29984af400fe9533db9bcf9e8ba329b51aa37236",variant:this.indicatorMark,required:this.required}),o("slot",{key:"3732c9fad58a25507898e451944d96fd8cc02901",name:"label-info"})),o("div",{key:"58d976226028aa6dd527627ebfaa1a4e9eedb6d1",class:"gux-input-and-error-container"},o(n,{key:"d1be45394502290a514b0398a2cb445dfefaf3a8",show:this.hasHelp},o("slot",{key:"52d185b20681d5b75d694a049cca26bb26ce5be2",name:"help"})),this.renderInputSlot(),o(d,{key:"59a049e588913219a3bb3049b9598d2b9ad70cf4",show:this.hasError},o("slot",{key:"33a2f4286b4da11bbdbdf750a610c9891c2c46cd",name:"error"})),this.renderFileList()))}setInput(){this.input=p(this.root,'input[type="file"][slot="input"]'),this.input.addEventListener("input",(()=>{i(this.root)})),h(this.input),this.disabled=this.input.disabled,this.required=this.input.required,this.multiple=this.input.multiple,this.disabledObserver=c(this.input,(e=>{this.disabled=e})),this.requiredObserver=x(this.input,(e=>{this.required=e})),this.multipleObserver=b(this.input,(e=>{this.multiple=e})),g(this.root,this.input)}getDropZoneText(){return this.getI18nValue(this.multiple?"dragAndDropFilesInstructions":"dragAndDropFileInstructions")}getProxyButtonText(){var e,o,i,r;return this.dragAndDrop?this.getI18nValue("clickToUpload"):this.multiple?(null===(o=null===(e=this.input)||void 0===e?void 0:e.files)||void 0===o?void 0:o.length)>0?this.getI18nValue("changeFiles"):this.getI18nValue("uploadFiles"):(null===(r=null===(i=this.input)||void 0===i?void 0:i.files)||void 0===r?void 0:r.length)>0?this.getI18nValue("changeFile"):this.getI18nValue("uploadFile")}removeFile(e){const o=this.input.files,i=new DataTransfer;for(let r=0;r<o.length;r++)e!==r&&i.items.add(o[r]);this.modifyInputFiles(i.files)}modifyInputFiles(e){this.input.files=e,m(this.root,"input"),m(this.root,"change"),i(this.root)}onProxyFileButtonClick(e){e.preventDefault(),e.stopImmediatePropagation(),this.input.focus(),this.input.click()}onDrop(e){if(e.preventDefault(),e.stopPropagation(),this.disabled)return;const o=this.input.files,i=e.dataTransfer.items,r=new DataTransfer;if(this.multiple)for(let e=0;e<o.length;e++)r.items.add(o[e]);for(let e=0;e<i.length;e++){const o=i[e];if("file"===o.kind&&o.webkitGetAsEntry().isFile&&(r.items.add(o.getAsFile()),!this.multiple))break}this.dropContainer.classList.remove("gux-drag-over"),this.modifyInputFiles(r.files)}onDragOver(e){e.preventDefault(),e.stopPropagation(),this.disabled||this.dropContainer.classList.add("gux-drag-over")}onDragLeave(e){e.preventDefault(),e.stopPropagation(),this.dropContainer.classList.remove("gux-drag-over")}renderFileList(){const e=Array.from(this.input.files||(new DataTransfer).files);return 0===e.length?null:o("div",{class:"gux-file-list"},e.map(((e,i)=>o("slot",{name:`file-${i}`},o("gux-file-list-item",{name:e.name,index:i,disabled:this.disabled})))))}renderInputSlot(){return o("div",{ref:e=>this.dropContainer=e,class:{"gux-drop-container":!0,"gux-drop-zone":this.dragAndDrop,"gux-disabled":this.disabled},"aria-disabled":this.disabled?"true":"false",onDrop:e=>this.onDrop(e),onDragOver:e=>this.onDragOver(e),onDragEnter:e=>this.onDragOver(e),onDragLeave:e=>this.onDragLeave(e)},this.dragAndDrop&&o("div",{class:"gux-drag-and-drop-text"},this.getDropZoneText()),o("div",{class:"gux-proxy-button"},o("gux-button-slot",{accent:"tertiary"},o("button",{tabIndex:-1,type:"button",disabled:this.disabled,onClick:e=>this.onProxyFileButtonClick(e)},o("div",null,this.getProxyButtonText()))),o("div",{class:"gux-offscreen"},o("slot",{name:"input",onSlotchange:()=>this.setInput()}))))}get root(){return r(this)}};(function(e,o,i,r){var t,l=arguments.length,a=l<3?o:null===r?r=Object.getOwnPropertyDescriptor(o,i):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(e,o,i,r);else for(var s=e.length-1;s>=0;s--)(t=e[s])&&(a=(l<3?t(a):l>3?t(o,i,a):t(o,i))||a);l>3&&a&&Object.defineProperty(o,i,a)})([l({childList:!0,subtree:!0})],y.prototype,"onMutation",null),y.style=".gux-form-field-container{display:flex;flex-direction:column}.gux-form-field-container.gux-beside{flex-direction:row}.gux-form-field-error{display:none;flex-direction:row;flex-wrap:nowrap;gap:var(--gse-ui-formControl-helper-gap);place-content:stretch flex-start;padding:var(--gse-ui-formControl-helper-errorPadding);font-family:var(--gse-ui-formControl-helper-helperText-fontFamily);font-size:var(--gse-ui-formControl-helper-helperText-fontSize);line-height:var(--gse-ui-formControl-helper-helperText-lineHeight);color:var(--gse-ui-formControl-helper-errorColor)}.gux-form-field-error.gux-show{display:flex}.gux-form-field-error gux-icon{flex:0 0 auto;order:0;color:var(--gse-ui-formControl-helper-errorColor)}.gux-form-field-error .gux-message{flex:0 1 auto;align-self:auto;order:0}.gux-form-field-label{display:inline-flex;flex:1 0 auto}.gux-form-field-label ::slotted(label){min-inline-size:0}.gux-form-field-label ::slotted(gux-label-info-beta){padding-inline-start:var(--gse-ui-formControl-formField-gap)}.gux-form-field-label.gux-beside{position:relative;inset-block-start:var(--gse-ui-formControl-input-top);inline-size:fit-content;min-inline-size:var(--gse-ui-formControl-input-textfield-minWidth);max-inline-size:fit-content;margin-inline-end:var(--gse-ui-formControl-group-gapItems)}.gux-form-field-label.gux-above{padding-block-end:var(--gse-ui-formControl-formField-gap)}.gux-form-field-label.gux-screenreader{position:absolute;top:auto;left:-10000px;width:1px;height:1px;overflow:hidden}.gux-form-field-help{display:none;flex-direction:row;flex-wrap:nowrap;place-content:stretch flex-start;align-items:flex-start;justify-content:flex-start;padding-block-start:var(--gse-ui-formControl-formField-gap);font-family:var(--gse-ui-formControl-helper-helperText-fontFamily);font-size:var(--gse-ui-formControl-helper-helperText-fontSize);line-height:var(--gse-ui-formControl-helper-helperText-lineHeight);color:var(--gse-ui-formControl-helper-defaultColor)}.gux-form-field-help.gux-show{display:flex}.gux-form-field-help .gux-message{flex:0 1 auto;align-self:none;order:0}:host{display:block}::slotted(label){font-family:var(--gse-ui-formControl-label-textBold-fontFamily);font-size:var(--gse-ui-formControl-label-textBold-fontSize);font-weight:var(--gse-ui-formControl-label-textBold-fontWeight);line-height:var(--gse-ui-formControl-label-textBold-lineHeight);color:var(--gse-ui-formControl-label-labelColor)}.gux-input-and-error-container{display:flex;flex-grow:1;flex-direction:column;gap:var(--gse-ui-fileUpload-mainContainer-gap)}.gux-drop-container{box-sizing:border-box;display:flex;flex-direction:column;flex-wrap:nowrap;gap:var(--gse-ui-fileUpload-dragDrop-btnText-gap);margin-inline:0;font-family:var(--gse-ui-fileUpload-dragAndDrop-dropZone-text-fontFamily);font-size:var(--gse-ui-fileUpload-dragAndDrop-dropZone-text-fontSize);font-weight:var(--gse-ui-fileUpload-dragAndDrop-dropZone-text-fontWeight);line-height:var(--gse-ui-fileUpload-dragAndDrop-dropZone-text-lineHeight);color:var(--gse-ui-fileUpload-dragAndDrop-dropZoneText-color)}.gux-drop-container.gux-drop-zone{place-content:stretch center;align-items:center;min-block-size:var(--gse-ui-fileUpload-dragAndDrop-dropZone-minHeight);padding:20px;border:var(--gse-ui-fileUpload-dragAndDrop-dropZone-default-border-width) var(--gse-ui-fileUpload-dragAndDrop-dropZone-default-border-style) var(--gse-ui-fileUpload-dragAndDrop-dropZone-default-border-color);border-radius:var(--gse-ui-fileUpload-dropZone-borderRadius)}.gux-drop-container.gux-drop-zone.gux-drag-over:not(.gux-disabled){background-color:var(--gse-ui-fileUpload-dragAndDrop-dropZone-background-active);border:var(--gse-ui-fileUpload-dragAndDrop-dropZone-active-border-width) var(--gse-ui-fileUpload-dragAndDrop-dropZone-active-border-style) var(--gse-ui-fileUpload-dragAndDrop-dropZone-active-border-color)}.gux-drop-container.gux-drop-zone.gux-disabled{border-color:rgba(0, 0, 64, 0.2509803922)}.gux-drop-container.gux-drop-zone.gux-disabled .gux-drag-and-drop-text{opacity:0.5}.gux-offscreen{position:absolute;top:auto;left:-10000px;width:1px;height:1px;overflow:hidden}.gux-proxy-button{inline-size:fit-content;border-radius:var(--gse-ui-button-borderRadius)}.gux-proxy-button:focus-within{outline:var(--gse-semantic-focusOutline-md-borderWidth) solid var(--gse-semantic-border-focus);outline-offset:var(--gse-semantic-focusOutline-offset)}.gux-file-list{display:flex;flex-direction:column;gap:var(--gse-ui-fileUpload-fileCard-cardGroup-gap);inline-size:100%}";export{y as gux_form_field_file_beta}
1
+ import{r as e,h as o,f as i,a as r}from"./p-Dz_2h4jr.js";import{b as t}from"./p-DmaAM9UB.js";import{O as l}from"./p-0yc9CKxX.js";import{h as a}from"./p-qzV3vtOw.js";import{t as s}from"./p-P-hdUE3M.js";import{a as n,G as d}from"./p-JPhxXbs4.js";import{G as f,a as p}from"./p-C-1lAIfW.js";import{g as u,v as g}from"./p-DHLxhscH.js";import{p as h}from"./p-PYfNAK8p.js";import{a as c,o as x,b}from"./p-De1NnCmO.js";import{s as m}from"./p-BMRf5pjV.js";import"./p-Cd4R0amv.js";import"./p-D9jKBqIb.js";import"./p-DxtJDeL9.js";var v={uploadFile:"Upload file",uploadFiles:"Upload files",changeFile:"Change file",changeFiles:"Change files",clickToUpload:"Click to upload",dragAndDropFileInstructions:"Drag and drop a file here or",dragAndDropFilesInstructions:"Drag and drop files here or"};const y=class{constructor(o){e(this,o),this.indicatorMark="required",this.dragAndDrop=!1,this.disabled=!1,this.hasError=!1,this.hasHelp=!1,this.required=!1,this.multiple=!1}onMutation(){this.labelInfo=this.root.querySelector("[slot=label-info]"),this.hasError=a(this.root,"error"),this.hasHelp=a(this.root,"help")}handleKeyup(e){var o,i;switch(e.key){case"Tab":this.input.matches(":focus-visible")&&(null===(o=this.labelInfo)||void 0===o||o.showTooltip(),this.hideLabelInfoTimeout=setTimeout((()=>{var e;null===(e=this.labelInfo)||void 0===e||e.hideTooltip()}),6e3));break;case"Shift":break;default:this.input.matches(":focus-visible")&&(null===(i=this.labelInfo)||void 0===i||i.hideTooltip(),clearTimeout(this.hideLabelInfoTimeout))}}onFocusout(){var e;null===(e=this.labelInfo)||void 0===e||e.hideTooltip(),clearTimeout(this.hideLabelInfoTimeout)}onGuxRemoveFile(e){this.removeFile(e.detail)}async componentWillLoad(){this.getI18nValue=await t(this.root,v),this.setInput(),this.hasError=a(this.root,"error"),this.hasHelp=a(this.root,"help"),this.labelInfo=this.root.querySelector("[slot=label-info]"),s(this.root)}disconnectedCallback(){var e,o,i;null===(e=this.disabledObserver)||void 0===e||e.disconnect(),null===(o=this.requiredObserver)||void 0===o||o.disconnect(),null===(i=this.multipleObserver)||void 0===i||i.disconnect()}render(){return o(p,{key:"02dcf74825ace95fbe008f9c0bc27110e70cbd3b",labelPosition:"above"},o(f,{key:"ce34c0744dfb380228e8f85b49bfd34e6b9c46af",position:"above",required:this.required},o("slot",{key:"e6b0be9ab1d522dbfadaf52a2a616e477d536eff",name:"label"}),o("gux-form-field-label-indicator",{key:"c728afc13e494f18d65404f835ef0e8093fedede",variant:this.indicatorMark,required:this.required}),o("slot",{key:"7af682a968e63b01393a4effa5b1741834c7cd79",name:"label-info"})),o("div",{key:"9e8c1a5709bbdcc3c94ac6ea31b56a13387fb293",class:"gux-input-and-error-container"},o(n,{key:"e5e7e5a204be705f7554d2f5934c5d1349fde81e",show:this.hasHelp},o("slot",{key:"859d83bbfa4feac37b7778a7f91f234fb36c609b",name:"help"})),this.renderInputSlot(),o(d,{key:"458d699dba91973c48c544eac9b7e42bb7b753c6",show:this.hasError},o("slot",{key:"7d3adfeccd61ad7148ed8bd363f73416c56c3079",name:"error"})),this.renderFileList()))}setInput(){this.input=u(this.root,'input[type="file"][slot="input"]'),this.input.addEventListener("input",(()=>{i(this.root)})),h(this.input),this.disabled=this.input.disabled,this.required=this.input.required,this.multiple=this.input.multiple,this.disabledObserver=c(this.input,(e=>{this.disabled=e})),this.requiredObserver=x(this.input,(e=>{this.required=e})),this.multipleObserver=b(this.input,(e=>{this.multiple=e})),g(this.root,this.input)}getDropZoneText(){return this.getI18nValue(this.multiple?"dragAndDropFilesInstructions":"dragAndDropFileInstructions")}getProxyButtonText(){var e,o,i,r;return this.dragAndDrop?this.getI18nValue("clickToUpload"):this.multiple?(null===(o=null===(e=this.input)||void 0===e?void 0:e.files)||void 0===o?void 0:o.length)>0?this.getI18nValue("changeFiles"):this.getI18nValue("uploadFiles"):(null===(r=null===(i=this.input)||void 0===i?void 0:i.files)||void 0===r?void 0:r.length)>0?this.getI18nValue("changeFile"):this.getI18nValue("uploadFile")}removeFile(e){const o=this.input.files,i=new DataTransfer;for(let r=0;r<o.length;r++)e!==r&&i.items.add(o[r]);this.modifyInputFiles(i.files)}modifyInputFiles(e){this.input.files=e,m(this.root,"input"),m(this.root,"change"),i(this.root)}onProxyFileButtonClick(e){e.preventDefault(),e.stopImmediatePropagation(),this.input.focus(),this.input.click()}onDrop(e){if(e.preventDefault(),e.stopPropagation(),this.disabled)return;const o=this.input.files,i=e.dataTransfer.items,r=new DataTransfer;if(this.multiple)for(let e=0;e<o.length;e++)r.items.add(o[e]);for(let e=0;e<i.length;e++){const o=i[e];if("file"===o.kind&&o.webkitGetAsEntry().isFile&&(r.items.add(o.getAsFile()),!this.multiple))break}this.dropContainer.classList.remove("gux-drag-over"),this.modifyInputFiles(r.files)}onDragOver(e){e.preventDefault(),e.stopPropagation(),this.disabled||this.dropContainer.classList.add("gux-drag-over")}onDragLeave(e){e.preventDefault(),e.stopPropagation(),this.dropContainer.classList.remove("gux-drag-over")}renderFileList(){const e=Array.from(this.input.files||(new DataTransfer).files);return 0===e.length?null:o("div",{class:"gux-file-list"},e.map(((e,i)=>o("slot",{name:`file-${i}`},o("gux-file-list-item",{name:e.name,index:i,disabled:this.disabled})))))}renderInputSlot(){return o("div",{ref:e=>this.dropContainer=e,class:{"gux-drop-container":!0,"gux-drop-zone":this.dragAndDrop,"gux-disabled":this.disabled},"aria-disabled":this.disabled?"true":"false",onDrop:e=>this.onDrop(e),onDragOver:e=>this.onDragOver(e),onDragEnter:e=>this.onDragOver(e),onDragLeave:e=>this.onDragLeave(e)},this.dragAndDrop&&o("div",{class:"gux-drag-and-drop-text"},this.getDropZoneText()),o("div",{class:"gux-proxy-button"},o("gux-button-slot",{accent:"tertiary"},o("button",{tabIndex:-1,type:"button",disabled:this.disabled,onClick:e=>this.onProxyFileButtonClick(e)},o("div",null,this.getProxyButtonText()))),o("div",{class:"gux-offscreen"},o("slot",{name:"input",onSlotchange:()=>this.setInput()}))))}get root(){return r(this)}};(function(e,o,i,r){var t,l=arguments.length,a=l<3?o:null===r?r=Object.getOwnPropertyDescriptor(o,i):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(e,o,i,r);else for(var s=e.length-1;s>=0;s--)(t=e[s])&&(a=(l<3?t(a):l>3?t(o,i,a):t(o,i))||a);l>3&&a&&Object.defineProperty(o,i,a)})([l({childList:!0,subtree:!0})],y.prototype,"onMutation",null),y.style=".gux-form-field-container{display:flex;flex-direction:column}.gux-form-field-container.gux-beside{flex-direction:row}.gux-form-field-error{display:none;flex-direction:row;flex-wrap:nowrap;gap:var(--gse-ui-formControl-helper-gap);place-content:stretch flex-start;padding:var(--gse-ui-formControl-helper-errorPadding);font-family:var(--gse-ui-formControl-helper-helperText-fontFamily);font-size:var(--gse-ui-formControl-helper-helperText-fontSize);line-height:var(--gse-ui-formControl-helper-helperText-lineHeight);color:var(--gse-ui-formControl-helper-errorColor)}.gux-form-field-error.gux-show{display:flex}.gux-form-field-error gux-icon{flex:0 0 auto;order:0;color:var(--gse-ui-formControl-helper-errorColor)}.gux-form-field-error .gux-message{flex:0 1 auto;align-self:auto;order:0}.gux-form-field-label{display:inline-flex;flex:1 0 auto}.gux-form-field-label ::slotted(label){min-inline-size:0}.gux-form-field-label ::slotted(gux-label-info-beta){padding-inline-start:var(--gse-ui-formControl-formField-gap)}.gux-form-field-label.gux-beside{position:relative;inset-block-start:var(--gse-ui-formControl-input-top);inline-size:fit-content;min-inline-size:var(--gse-ui-formControl-input-textfield-minWidth);max-inline-size:fit-content;margin-inline-end:var(--gse-ui-formControl-group-gapItems)}.gux-form-field-label.gux-above{padding-block-end:var(--gse-ui-formControl-formField-gap)}.gux-form-field-label.gux-screenreader{position:absolute;top:auto;left:-10000px;width:1px;height:1px;overflow:hidden}.gux-form-field-help{display:none;flex-direction:row;flex-wrap:nowrap;place-content:stretch flex-start;align-items:flex-start;justify-content:flex-start;padding-block-start:var(--gse-ui-formControl-formField-gap);font-family:var(--gse-ui-formControl-helper-helperText-fontFamily);font-size:var(--gse-ui-formControl-helper-helperText-fontSize);line-height:var(--gse-ui-formControl-helper-helperText-lineHeight);color:var(--gse-ui-formControl-helper-defaultColor)}.gux-form-field-help.gux-show{display:flex}.gux-form-field-help .gux-message{flex:0 1 auto;align-self:none;order:0}:host{display:block}::slotted(label){font-family:var(--gse-ui-formControl-label-textBold-fontFamily);font-size:var(--gse-ui-formControl-label-textBold-fontSize);font-weight:var(--gse-ui-formControl-label-textBold-fontWeight);line-height:var(--gse-ui-formControl-label-textBold-lineHeight);color:var(--gse-ui-formControl-label-labelColor)}.gux-input-and-error-container{display:flex;flex-grow:1;flex-direction:column;gap:var(--gse-ui-fileUpload-mainContainer-gap)}.gux-drop-container{box-sizing:border-box;display:flex;flex-direction:column;flex-wrap:nowrap;gap:var(--gse-ui-fileUpload-dragDrop-btnText-gap);margin-inline:0;font-family:var(--gse-ui-fileUpload-dragAndDrop-dropZone-text-fontFamily);font-size:var(--gse-ui-fileUpload-dragAndDrop-dropZone-text-fontSize);font-weight:var(--gse-ui-fileUpload-dragAndDrop-dropZone-text-fontWeight);line-height:var(--gse-ui-fileUpload-dragAndDrop-dropZone-text-lineHeight);color:var(--gse-ui-fileUpload-dragAndDrop-dropZoneText-color)}.gux-drop-container.gux-drop-zone{place-content:stretch center;align-items:center;min-block-size:var(--gse-ui-fileUpload-dragAndDrop-dropZone-minHeight);padding:20px;border:var(--gse-ui-fileUpload-dragAndDrop-dropZone-default-border-width) var(--gse-ui-fileUpload-dragAndDrop-dropZone-default-border-style) var(--gse-ui-fileUpload-dragAndDrop-dropZone-default-border-color);border-radius:var(--gse-ui-fileUpload-dropZone-borderRadius)}.gux-drop-container.gux-drop-zone.gux-drag-over:not(.gux-disabled){background-color:var(--gse-ui-fileUpload-dragAndDrop-dropZone-background-active);border:var(--gse-ui-fileUpload-dragAndDrop-dropZone-active-border-width) var(--gse-ui-fileUpload-dragAndDrop-dropZone-active-border-style) var(--gse-ui-fileUpload-dragAndDrop-dropZone-active-border-color)}.gux-drop-container.gux-drop-zone.gux-disabled{border-color:rgba(0, 0, 64, 0.2509803922)}.gux-drop-container.gux-drop-zone.gux-disabled .gux-drag-and-drop-text{opacity:0.5}.gux-offscreen{position:absolute;top:auto;left:-10000px;width:1px;height:1px;overflow:hidden}.gux-proxy-button{inline-size:fit-content;border-radius:var(--gse-ui-button-borderRadius)}.gux-proxy-button:focus-within{outline:var(--gse-semantic-focusOutline-md-borderWidth) solid var(--gse-semantic-border-focus);outline-offset:var(--gse-semantic-focusOutline-offset)}.gux-file-list{display:flex;flex-direction:column;gap:var(--gse-ui-fileUpload-fileCard-cardGroup-gap);inline-size:100%}";export{y as gux_form_field_file_beta}
@@ -1 +1 @@
1
- import{r as n,h as e,a}from"./p-Dz_2h4jr.js";import{t}from"./p-CqFA-9uw.js";import{O as i}from"./p-0yc9CKxX.js";import{h as s}from"./p-qzV3vtOw.js";const o=class{constructor(e){n(this,e),this.hasCallToAction=!1,this.hasSecondaryCallToAction=!1,this.hasGuidance=!1,this.alignment="center",this.noPadding=!1}onMutation(){this.hasCallToAction=s(this.root,"call-to-action"),this.hasGuidance=s(this.root,"additional-guidance"),this.hasSecondaryCallToAction=s(this.root,"secondary-call-to-action")}renderImageSlot(){return e("slot",{name:"image"})}renderCallToActions(){if(this.hasCallToAction)return e("div",{class:"gux-call-to-actions"},this.hasCallToAction&&e("gux-button-slot",{accent:"primary"},e("slot",{name:"call-to-action"})),this.hasSecondaryCallToAction&&e("gux-button-slot",{accent:"ghost"},e("slot",{name:"secondary-call-to-action"})))}renderGuidanceSlot(){if(this.hasGuidance)return e("div",{class:"gux-guidance"},e("gux-truncate",{maxLines:3},e("slot",{name:"additional-guidance"})))}componentWillLoad(){t(this.root),this.hasCallToAction=s(this.root,"call-to-action"),this.hasGuidance=s(this.root,"additional-guidance"),this.hasSecondaryCallToAction=s(this.root,"secondary-call-to-action")}render(){return e("div",{key:"841a6017df97390ef5c7a6473052a0636301b7aa",class:{"gux-container":!0,"gux-no-padding":this.noPadding,"gux-alignment-left":"left"===this.alignment}},e("div",{key:"3bdd9f952f016a0212cc7c8ee3c280364adf5079",class:"gux-image"},this.renderImageSlot()),e("div",{key:"1801a0077669a67982d5488a594305fbaa665ada",class:"gux-message"},e("slot",{key:"155e931c22de756059a2e95c7ac3cdfd76aefae8",name:"primary-message"})),this.renderGuidanceSlot(),this.renderCallToActions())}get root(){return a(this)}};(function(n,e,a,t){var i,s=arguments.length,o=s<3?e:null===t?t=Object.getOwnPropertyDescriptor(e,a):t;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)o=Reflect.decorate(n,e,a,t);else for(var r=n.length-1;r>=0;r--)(i=n[r])&&(o=(s<3?i(o):s>3?i(e,a,o):i(e,a))||o);s>3&&o&&Object.defineProperty(e,a,o)})([i({childList:!0,subtree:!0})],o.prototype,"onMutation",null),o.style=":host {\n display: flex;\n flex-direction: column;\n align-items: center;\n justify-content: center;\n container-type: inline-size;\n}\n\n.gux-container {\n display: flex;\n flex-direction: column;\n align-items: center;\n justify-content: center;\n padding: var(--gse-ui-blankState-padding);\n color: var(--gse-ui-blankState-foregroundColor);\n}\n.gux-container.gux-no-padding {\n padding: 0;\n}\n.gux-container .gux-call-to-actions {\n display: flex;\n flex-direction: column;\n gap: var(--gse-ui-blankState-gapCtaGroup);\n padding-block-start: var(--gse-ui-blankState-gapContent);\n}\n.gux-container .gux-image {\n padding-block-end: var(--gse-ui-blankState-gapMain);\n}\n.gux-container .gux-message {\n padding-block-end: var(--gse-ui-blankState-gapMessage);\n}\n.gux-container .gux-guidance {\n text-align: center;\n}\n.gux-container ::slotted(gux-icon) {\n inline-size: var(--gse-ui-blankState-icon-size-lg);\n block-size: var(--gse-ui-blankState-icon-size-lg);\n color: var(--gse-ui-blankState-iconColor);\n}\n.gux-container slot[name=primary-message] {\n font-family: var(--gse-ui-progressAndLoading-blankState-large-header-fontFamily);\n font-size: var(--gse-ui-progressAndLoading-blankState-large-header-fontSize);\n font-weight: var(--gse-ui-progressAndLoading-blankState-large-header-fontWeight);\n line-height: var(--gse-ui-progressAndLoading-blankState-large-header-lineHeight);\n color: var(--gse-ui-blankState-foregroundColor);\n text-align: center;\n}\n.gux-container slot[name=additional-guidance] {\n font-family: var(--gse-ui-progressAndLoading-blankState-large-subheader-fontFamily);\n font-size: var(--gse-ui-progressAndLoading-blankState-large-subheader-fontSize);\n font-weight: var(--gse-ui-progressAndLoading-blankState-large-subheader-fontWeight);\n line-height: var(--gse-ui-progressAndLoading-blankState-large-subheader-lineHeight);\n color: var(--gse-ui-blankState-foregroundColor);\n text-align: center;\n}\n.gux-container.gux-alignment-left {\n align-items: flex-start;\n}\n.gux-container.gux-alignment-left slot[name=primary-message],\n.gux-container.gux-alignment-left slot[name=additional-guidance] {\n text-align: start;\n}\n.gux-container.gux-alignment-left .gux-guidance {\n text-align: start;\n}\n\n@container (width < 570px) {\n .gux-container ::slotted(gux-icon) {\n inline-size: var(--gse-ui-blankState-icon-size-sm);\n block-size: var(--gse-ui-blankState-icon-size-sm);\n }\n .gux-container slot[name=primary-message] {\n font-family: var(--gse-ui-progressAndLoading-blankState-small-header-fontFamily);\n font-size: var(--gse-ui-progressAndLoading-blankState-small-header-fontSize);\n font-weight: var(--gse-ui-progressAndLoading-blankState-small-header-fontWeight);\n line-height: var(--gse-ui-progressAndLoading-blankState-small-header-lineHeight);\n }\n .gux-container slot[name=additional-guidance] {\n font-family: var(--gse-ui-progressAndLoading-blankState-small-subheader-fontFamily);\n font-size: var(--gse-ui-progressAndLoading-blankState-small-subheader-fontSize);\n font-weight: var(--gse-ui-progressAndLoading-blankState-small-subheader-fontWeight);\n line-height: var(--gse-ui-progressAndLoading-blankState-small-subheader-lineHeight);\n }\n}";export{o as gux_blank_state_beta}
1
+ import{r as n,h as e,a}from"./p-Dz_2h4jr.js";import{t}from"./p-P-hdUE3M.js";import{O as i}from"./p-0yc9CKxX.js";import{h as s}from"./p-qzV3vtOw.js";const o=class{constructor(e){n(this,e),this.hasCallToAction=!1,this.hasSecondaryCallToAction=!1,this.hasGuidance=!1,this.alignment="center",this.noPadding=!1}onMutation(){this.hasCallToAction=s(this.root,"call-to-action"),this.hasGuidance=s(this.root,"additional-guidance"),this.hasSecondaryCallToAction=s(this.root,"secondary-call-to-action")}renderImageSlot(){return e("slot",{name:"image"})}renderCallToActions(){if(this.hasCallToAction)return e("div",{class:"gux-call-to-actions"},this.hasCallToAction&&e("gux-button-slot",{accent:"primary"},e("slot",{name:"call-to-action"})),this.hasSecondaryCallToAction&&e("gux-button-slot",{accent:"ghost"},e("slot",{name:"secondary-call-to-action"})))}renderGuidanceSlot(){if(this.hasGuidance)return e("div",{class:"gux-guidance"},e("gux-truncate",{maxLines:3},e("slot",{name:"additional-guidance"})))}componentWillLoad(){t(this.root),this.hasCallToAction=s(this.root,"call-to-action"),this.hasGuidance=s(this.root,"additional-guidance"),this.hasSecondaryCallToAction=s(this.root,"secondary-call-to-action")}render(){return e("div",{key:"841a6017df97390ef5c7a6473052a0636301b7aa",class:{"gux-container":!0,"gux-no-padding":this.noPadding,"gux-alignment-left":"left"===this.alignment}},e("div",{key:"3bdd9f952f016a0212cc7c8ee3c280364adf5079",class:"gux-image"},this.renderImageSlot()),e("div",{key:"1801a0077669a67982d5488a594305fbaa665ada",class:"gux-message"},e("slot",{key:"155e931c22de756059a2e95c7ac3cdfd76aefae8",name:"primary-message"})),this.renderGuidanceSlot(),this.renderCallToActions())}get root(){return a(this)}};(function(n,e,a,t){var i,s=arguments.length,o=s<3?e:null===t?t=Object.getOwnPropertyDescriptor(e,a):t;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)o=Reflect.decorate(n,e,a,t);else for(var r=n.length-1;r>=0;r--)(i=n[r])&&(o=(s<3?i(o):s>3?i(e,a,o):i(e,a))||o);s>3&&o&&Object.defineProperty(e,a,o)})([i({childList:!0,subtree:!0})],o.prototype,"onMutation",null),o.style=":host {\n display: flex;\n flex-direction: column;\n align-items: center;\n justify-content: center;\n container-type: inline-size;\n}\n\n.gux-container {\n display: flex;\n flex-direction: column;\n align-items: center;\n justify-content: center;\n padding: var(--gse-ui-blankState-padding);\n color: var(--gse-ui-blankState-foregroundColor);\n}\n.gux-container.gux-no-padding {\n padding: 0;\n}\n.gux-container .gux-call-to-actions {\n display: flex;\n flex-direction: column;\n gap: var(--gse-ui-blankState-gapCtaGroup);\n padding-block-start: var(--gse-ui-blankState-gapContent);\n}\n.gux-container .gux-image {\n padding-block-end: var(--gse-ui-blankState-gapMain);\n}\n.gux-container .gux-message {\n padding-block-end: var(--gse-ui-blankState-gapMessage);\n}\n.gux-container .gux-guidance {\n text-align: center;\n}\n.gux-container ::slotted(gux-icon) {\n inline-size: var(--gse-ui-blankState-icon-size-lg);\n block-size: var(--gse-ui-blankState-icon-size-lg);\n color: var(--gse-ui-blankState-iconColor);\n}\n.gux-container slot[name=primary-message] {\n font-family: var(--gse-ui-progressAndLoading-blankState-large-header-fontFamily);\n font-size: var(--gse-ui-progressAndLoading-blankState-large-header-fontSize);\n font-weight: var(--gse-ui-progressAndLoading-blankState-large-header-fontWeight);\n line-height: var(--gse-ui-progressAndLoading-blankState-large-header-lineHeight);\n color: var(--gse-ui-blankState-foregroundColor);\n text-align: center;\n}\n.gux-container slot[name=additional-guidance] {\n font-family: var(--gse-ui-progressAndLoading-blankState-large-subheader-fontFamily);\n font-size: var(--gse-ui-progressAndLoading-blankState-large-subheader-fontSize);\n font-weight: var(--gse-ui-progressAndLoading-blankState-large-subheader-fontWeight);\n line-height: var(--gse-ui-progressAndLoading-blankState-large-subheader-lineHeight);\n color: var(--gse-ui-blankState-foregroundColor);\n text-align: center;\n}\n.gux-container.gux-alignment-left {\n align-items: flex-start;\n}\n.gux-container.gux-alignment-left slot[name=primary-message],\n.gux-container.gux-alignment-left slot[name=additional-guidance] {\n text-align: start;\n}\n.gux-container.gux-alignment-left .gux-guidance {\n text-align: start;\n}\n\n@container (width < 570px) {\n .gux-container ::slotted(gux-icon) {\n inline-size: var(--gse-ui-blankState-icon-size-sm);\n block-size: var(--gse-ui-blankState-icon-size-sm);\n }\n .gux-container slot[name=primary-message] {\n font-family: var(--gse-ui-progressAndLoading-blankState-small-header-fontFamily);\n font-size: var(--gse-ui-progressAndLoading-blankState-small-header-fontSize);\n font-weight: var(--gse-ui-progressAndLoading-blankState-small-header-fontWeight);\n line-height: var(--gse-ui-progressAndLoading-blankState-small-header-lineHeight);\n }\n .gux-container slot[name=additional-guidance] {\n font-family: var(--gse-ui-progressAndLoading-blankState-small-subheader-fontFamily);\n font-size: var(--gse-ui-progressAndLoading-blankState-small-subheader-fontSize);\n font-weight: var(--gse-ui-progressAndLoading-blankState-small-subheader-fontWeight);\n line-height: var(--gse-ui-progressAndLoading-blankState-small-subheader-lineHeight);\n }\n}";export{o as gux_blank_state_beta}
@@ -0,0 +1 @@
1
+ import{r as a,f as r,h as t,a as e}from"./p-Dz_2h4jr.js";import{b as s}from"./p-DmaAM9UB.js";import{t as i}from"./p-P-hdUE3M.js";import"./p-Cd4R0amv.js";var o={breadcrumbs:"Breadcrumbs"};const n=class{constructor(r){a(this,r),this.accent="primary"}componentWillLoad(){i(this.root,{variant:this.accent})}async componentWillRender(){this.i18n=await s(this.root,o)}onSlotChange(){Array.from(this.root.children).forEach((a=>r(a)))}render(){return t("nav",{key:"9c5f5a9f99b9d45af99bf1eb8016881f387d904c","aria-label":this.i18n("breadcrumbs")},t("ol",{key:"7b8232f93afdf54cfef667dc9457edc269ec285b"},t("slot",{key:"3c06ad7d0d7fe0b5f0b96903036951e707bfae94",onSlotchange:this.onSlotChange.bind(this)})))}get root(){return e(this)}};n.style="ol{display:flex;flex-direction:row;flex-wrap:wrap;place-content:flex-start flex-start;align-items:center;padding:0;margin:0;list-style:none}";export{n as gux_breadcrumbs}
@@ -1 +1 @@
1
- import{r as e,h as t,H as i}from"./p-Dz_2h4jr.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:"b1f0827f1ad1f494da36fc3e7c4c9245ed9c0d6e",class:{"gux-selected":this.selected}},t("button",{key:"d0879ddb46a4792171643e79aac5e6f0b52e744f","aria-current":this.selected.toString(),type:"button",class:"gux-switch-item",disabled:this.disabled},t("slot",{key:"3b7ad789884ff53ee92ec6ecdd843295aca690d6"})))}};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-Dz_2h4jr.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:"4c477ed9def3873fae1d65570061b01883e9884a",class:{"gux-selected":this.selected}},t("button",{key:"f5290fd2396259c58e35ef466dd40e9bc4683a72","aria-current":this.selected.toString(),type:"button",class:"gux-switch-item",disabled:this.disabled},t("slot",{key:"46e1ddf4798aeda9dd78ec570035aa1b8741db31"})))}};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 e,h as t,H as o,a as s}from"./p-Dz_2h4jr.js";import{a as i,c as n,o as a,f as u,s as r}from"./p-C8aV-TzO.js";import{a as c}from"./p-Bg4q97BS.js";import{m as h,h as d}from"./p-QGDBFOq1.js";const l=class{constructor(t){e(this,t),this.isShown=!1}async guxFocus(){this.buttonElement.focus()}onKeydown(e){switch(h(e,this.root),e.key){case"Enter":e.stopPropagation(),this.hideDelayTimeout=c((()=>{this.focusOnSubmenu()})),this.guxFocus();break;case"ArrowRight":e.stopPropagation(),this.show(),this.hideDelayTimeout=c((()=>{this.focusOnSubmenu()}));break;case"ArrowLeft":case"Escape":this.root!==e.target&&e.stopPropagation(),this.guxFocus()}}onKeyup(e){" "===e.key&&(this.hideDelayTimeout=c((()=>{this.focusOnSubmenu()})),this.guxFocus())}onmouseenter(){this.show()}onMouseleave(){this.hide()}onClick(e){"GUX-MENU-OPTION"!==e.target.nodeName?e.stopPropagation():this.hide()}onFocusin(){this.show()}onFocusout(){this.hide()}show(){clearTimeout(this.hideDelayTimeout),this.isShown=!0}hide(){this.isShown&&(this.hideDelayTimeout=setTimeout((()=>{this.isShown=!1}),d))}runUpdatePosition(){this.cleanupUpdatePosition&&this.cleanupUpdatePosition(),this.root.isConnected?this.cleanupUpdatePosition=i(this.buttonElement,this.submenuElement,(()=>this.updatePosition()),{ancestorScroll:!0,elementResize:!0,animationFrame:!0,ancestorResize:!0}):this.disconnectedCallback()}updatePosition(){this.submenuElement&&n(this.buttonElement,this.submenuElement,{placement:"right-start",strategy:"fixed",middleware:[a(4),u(),r()]}).then((({x:e,y:t})=>{Object.assign(this.submenuElement.style,{left:`${e}px`,top:t-8+"px"})}))}focusOnSubmenu(){this.submenuContentElement.contains(document.activeElement)||Array.from(this.root.children)[0].guxFocus()}componentDidLoad(){this.isShown&&this.runUpdatePosition()}componentDidUpdate(){this.isShown?this.runUpdatePosition():this.cleanupUpdatePosition&&this.cleanupUpdatePosition()}disconnectedCallback(){this.cleanupUpdatePosition&&this.cleanupUpdatePosition()}render(){return t(o,{key:"4ea784955ae10022fa91c5be25be287a623011e9"},t("button",{key:"bdb44cd7380bd8f39b3dbe7333d58d123c756605",type:"button",class:{"gux-submenu-button":!0,"gux-submenu-button-active":this.isShown},role:"menuitem",tabIndex:-1,ref:e=>this.buttonElement=e,"aria-haspopup":"true","aria-expanded":this.isShown.toString()},t("span",{key:"386b8345753beb369ff01661050e3b0e69e5da7b",class:"gux-submenu-button-text"},this.label),t("gux-icon",{key:"6cf085db1867f48119889ff8d42f228c5cdfdb3c",class:"gux-submenu-open-icon","icon-name":"custom/chevron-right-small-regular",decorative:!0,size:"small"})),t("div",{key:"edc2968a5bcc8d30b7eb079fb35677cf61c1c529",ref:e=>this.submenuElement=e,class:{"gux-submenu-wrapper":!0,"gux-shown":this.isShown}},t("div",{key:"a214aaebcea062253170174237b06df17b958694",role:"menu",class:"gux-submenu-content",ref:e=>this.submenuContentElement=e},t("slot",{key:"eac5c8758d94ac30d273dc74503528105b857570"}))))}get root(){return s(this)}};l.style=":host{display:block;flex:1 1 auto;align-self:auto}:host .gux-submenu-button{all:unset;box-sizing:border-box;display:flex;flex-direction:row;flex-wrap:nowrap;place-content:stretch flex-start;align-items:center;inline-size:var(--gse-ui-flyoutMenu-width);block-size:var(--gse-ui-menu-option-height);padding:var(--gse-ui-menu-option-padding);line-height:var(--gse-ui-menu-option-label-default-text-lineHeight);color:var(--gse-ui-menu-option-label-foregroundColor);background-color:var(--gse-ui-menu-option-default-backgroundColor)}:host .gux-submenu-button:focus-within,:host .gux-submenu-button:hover{background-color:var(--gse-ui-menu-option-hover-backgroundColor)}:host .gux-submenu-button.gux-submenu-button-active{font-weight:var(--gse-ui-menu-option-label-active-text-fontWeight);color:var(--gse-ui-menu-option-shortcut-selected-foregroundColor);background-color:var(--gse-ui-menu-option-selected-backgroundColor)}:host .gux-submenu-button .gux-submenu-button-text{flex:1 1 auto;align-self:auto;order:0;margin-inline-end:var(--gse-ui-menu-option-gap);overflow-x:hidden;text-overflow:ellipsis;white-space:nowrap}:host .gux-submenu-button .gux-submenu-open-icon{flex:0 0 auto;align-self:auto;order:0}:host .gux-submenu-wrapper{position:fixed;inset-block-start:0;inset-inline-start:0;visibility:hidden;flex-direction:column;padding:var(--gse-ui-menu-padding);margin:0;background-color:var(--gse-ui-menu-backgroundColor);border:none;border-radius:var(--gse-ui-menu-borderRadius);box-shadow:var(--gse-ui-menu-boxShadow);opacity:0}:host .gux-submenu-wrapper.gux-shown{visibility:visible;animation-name:fade-in;animation-duration:100ms;animation-delay:350ms;animation-fill-mode:forwards}@keyframes fade-in{0%{opacity:0}100%{opacity:1}}";export{l as gux_submenu}
1
+ import{r as e,h as t,H as o,a as s}from"./p-Dz_2h4jr.js";import{a as i,c as n,o as a,f as u,s as r}from"./p-C8aV-TzO.js";import{a as d}from"./p-Bg4q97BS.js";import{m as h,h as c}from"./p-QGDBFOq1.js";const l=class{constructor(t){e(this,t),this.isShown=!1}async guxFocus(){this.buttonElement.focus()}onKeydown(e){switch(h(e,this.root),e.key){case"Enter":e.stopPropagation(),this.hideDelayTimeout=d((()=>{this.focusOnSubmenu()})),this.guxFocus();break;case"ArrowRight":e.stopPropagation(),this.show(),this.hideDelayTimeout=d((()=>{this.focusOnSubmenu()}));break;case"ArrowLeft":case"Escape":this.root!==e.target&&e.stopPropagation(),this.guxFocus()}}onKeyup(e){" "===e.key&&(this.hideDelayTimeout=d((()=>{this.focusOnSubmenu()})),this.guxFocus())}onmouseenter(){this.show()}onMouseleave(){this.hide()}onClick(e){"GUX-MENU-OPTION"!==e.target.nodeName?e.stopPropagation():this.hide()}onFocusin(){this.show()}onFocusout(){this.hide()}show(){clearTimeout(this.hideDelayTimeout),this.isShown=!0}hide(){this.isShown&&(this.hideDelayTimeout=setTimeout((()=>{this.isShown=!1}),c))}runUpdatePosition(){this.cleanupUpdatePosition&&this.cleanupUpdatePosition(),this.root.isConnected?this.cleanupUpdatePosition=i(this.buttonElement,this.submenuElement,(()=>this.updatePosition()),{ancestorScroll:!0,elementResize:!0,animationFrame:!0,ancestorResize:!0}):this.disconnectedCallback()}updatePosition(){this.submenuElement&&n(this.buttonElement,this.submenuElement,{placement:"right-start",strategy:"fixed",middleware:[a(4),u(),r()]}).then((({x:e,y:t})=>{Object.assign(this.submenuElement.style,{left:`${e}px`,top:t-8+"px"})}))}focusOnSubmenu(){this.submenuContentElement.contains(document.activeElement)||Array.from(this.root.children)[0].guxFocus()}componentDidLoad(){this.isShown&&this.runUpdatePosition()}componentDidUpdate(){this.isShown?this.runUpdatePosition():this.cleanupUpdatePosition&&this.cleanupUpdatePosition()}disconnectedCallback(){this.cleanupUpdatePosition&&this.cleanupUpdatePosition()}render(){return t(o,{key:"4684c393e9e08b9d1b661486df976bcd0d34d369"},t("button",{key:"77fafa569ed358f41fcfd33bd343cf01c3a9665c",type:"button",class:{"gux-submenu-button":!0,"gux-submenu-button-active":this.isShown},role:"menuitem",tabIndex:-1,ref:e=>this.buttonElement=e,"aria-haspopup":"true","aria-expanded":this.isShown.toString()},t("span",{key:"6c91e66a1a123d3cbbe3159b7d637d3fb76e6ea1",class:"gux-submenu-button-text"},this.label),t("gux-icon",{key:"4cc6e1d896f81f270dfbd7ddde28c84edbba028f",class:"gux-submenu-open-icon","icon-name":"custom/chevron-right-small-regular",decorative:!0,size:"small"})),t("div",{key:"68664f5ed95500750e761dd99543d65f0963dcf6",ref:e=>this.submenuElement=e,class:{"gux-submenu-wrapper":!0,"gux-shown":this.isShown}},t("div",{key:"8774718456ba008315d10ed8a100f7591d24cd32",role:"menu",class:"gux-submenu-content",ref:e=>this.submenuContentElement=e},t("slot",{key:"c3735395f3b40ce38334ea6064da228c5554aa56"}))))}get root(){return s(this)}};l.style=":host{display:block;flex:1 1 auto;align-self:auto}:host .gux-submenu-button{all:unset;box-sizing:border-box;display:flex;flex-direction:row;flex-wrap:nowrap;place-content:stretch flex-start;align-items:center;inline-size:var(--gse-ui-flyoutMenu-width);block-size:var(--gse-ui-menu-option-height);padding:var(--gse-ui-menu-option-padding);line-height:var(--gse-ui-menu-option-label-default-text-lineHeight);color:var(--gse-ui-menu-option-label-foregroundColor);background-color:var(--gse-ui-menu-option-default-backgroundColor)}:host .gux-submenu-button:focus-within,:host .gux-submenu-button:hover{background-color:var(--gse-ui-menu-option-hover-backgroundColor)}:host .gux-submenu-button.gux-submenu-button-active{font-weight:var(--gse-ui-menu-option-label-active-text-fontWeight);color:var(--gse-ui-menu-option-shortcut-selected-foregroundColor);background-color:var(--gse-ui-menu-option-selected-backgroundColor)}:host .gux-submenu-button .gux-submenu-button-text{flex:1 1 auto;align-self:auto;order:0;margin-inline-end:var(--gse-ui-menu-option-gap);overflow-x:hidden;text-overflow:ellipsis;white-space:nowrap}:host .gux-submenu-button .gux-submenu-open-icon{flex:0 0 auto;align-self:auto;order:0}:host .gux-submenu-wrapper{position:fixed;inset-block-start:0;inset-inline-start:0;visibility:hidden;flex-direction:column;padding:var(--gse-ui-menu-padding);margin:0;background-color:var(--gse-ui-menu-backgroundColor);border:none;border-radius:var(--gse-ui-menu-borderRadius);box-shadow:var(--gse-ui-menu-boxShadow);opacity:0}:host .gux-submenu-wrapper.gux-shown{visibility:visible;animation-name:fade-in;animation-duration:100ms;animation-delay:350ms;animation-fill-mode:forwards}@keyframes fade-in{0%{opacity:0}100%{opacity:1}}";export{l as gux_submenu}
@@ -1 +1 @@
1
- import{r as a,h as o,a as r}from"./p-Dz_2h4jr.js";import{t as e}from"./p-CqFA-9uw.js";import{b as s}from"./p-DmaAM9UB.js";import"./p-Cd4R0amv.js";var l={genesysLogomark:"Genesys Logomark"};const g=class{constructor(o){a(this,o),this.variant="primary"}async componentWillLoad(){this.i18n=await s(this.root,l),e(this.root,{variant:this.variant})}render(){return o("svg",{key:"abf83c5cc51c9f369eed1c2b351b4c58f341c7a9",class:`gux-${this.variant}`,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 30 50","aria-label":this.i18n("genesysLogomark"),role:"img",focusable:"false"},o("path",{key:"7996a793cb114a2cd06cd6b702974387f8c80222",class:"gux-foreground-fill",d:"M21.7947 34.7408H16.7148C14.6475 34.7408 12.6648 35.5446 11.203 36.9754C9.74117 38.4061 8.91992 40.3466 8.91992 42.37C8.91992 44.3933 9.74117 46.3338 11.203 47.7645C12.6648 49.1953 14.6475 49.9991 16.7148 49.9991H21.7947C23.862 49.9991 25.8447 49.1953 27.3065 47.7645C28.7683 46.3338 29.5896 44.3933 29.5896 42.37C29.5896 40.3466 28.7683 38.4061 27.3065 36.9754C25.8447 35.5446 23.862 34.7408 21.7947 34.7408Z"}),o("path",{key:"c0b4dc987b0aacc28d0de2826a436f1982bbe879",class:"gux-foreground-fill",d:"M21.3004 15.0225H8.38053C6.15787 15.0225 4.02625 15.8881 2.4546 17.4289C0.882946 18.9697 0 21.0594 0 23.2384C0 25.4174 0.882946 27.5072 2.4546 29.048C4.02625 30.5888 6.15787 31.4544 8.38053 31.4544H21.3004C22.401 31.4544 23.4907 31.2419 24.5075 30.829C25.5243 30.4161 26.4481 29.8109 27.2264 29.048C28.0046 28.2851 28.6219 27.3793 29.043 26.3825C29.4642 25.3857 29.681 24.3174 29.681 23.2384C29.681 22.1595 29.4642 21.0911 29.043 20.0943C28.6219 19.0975 28.0046 18.1918 27.2264 17.4289C26.4481 16.6659 25.5243 16.0608 24.5075 15.6479C23.4907 15.235 22.401 15.0225 21.3004 15.0225Z"}),o("path",{key:"4e6e91ec6881b9f45c054850302b476a508e73d0",class:"gux-foreground-fill",d:"M17.8403 5.8683C17.8403 2.62719 20.4678 -0.000244141 23.7089 -0.000244141C26.95 -0.000244141 29.5774 2.62719 29.5774 5.8683C29.5774 9.10941 26.95 11.7368 23.7089 11.7368C20.4678 11.7368 17.8403 9.10941 17.8403 5.8683Z"}),o("path",{key:"ea39caba0b3c8d6ece7e519b8b45e54c3a76c650",class:"gux-foreground-outline",d:"M16.7153 35.5144H21.7954C23.6628 35.5145 25.4506 36.2406 26.7661 37.5281C28.0811 38.815 28.8168 40.5572 28.8169 42.3699C28.8169 44.1826 28.081 45.9247 26.7661 47.2117C25.4506 48.4992 23.6628 49.2253 21.7954 49.2253H16.7153C14.8478 49.2253 13.0602 48.4992 11.7446 47.2117C10.4297 45.9247 9.69385 44.1826 9.69385 42.3699C9.6939 40.5572 10.4297 38.815 11.7446 37.5281C13.0602 36.2406 14.8479 35.5144 16.7153 35.5144Z"}),o("path",{key:"d6df09739b307b7a2537246565a7adc42a3d1872",class:"gux-foreground-outline",d:"M8.38086 15.7959H21.3008C22.3017 15.7959 23.2928 15.9891 24.2168 16.3643C25.1408 16.7395 25.9789 17.2897 26.6846 17.9814C27.3902 18.6733 27.949 19.4937 28.3301 20.3955C28.7111 21.2973 28.9072 22.2631 28.9072 23.2383C28.9072 24.2134 28.7111 25.1793 28.3301 26.0811C27.949 26.9829 27.3902 27.8043 26.6846 28.4961C25.979 29.1877 25.1406 29.7371 24.2168 30.1123C23.2928 30.4875 22.3017 30.6806 21.3008 30.6807H8.38086C6.35857 30.6807 4.42154 29.8934 2.99609 28.4961C1.57115 27.0991 0.773438 25.2071 0.773438 23.2383C0.773476 21.2695 1.57126 19.3784 2.99609 17.9814C4.42156 16.584 6.35846 15.7959 8.38086 15.7959Z"}),o("path",{key:"907daf16f1d243aa230fa7782d769b3e505f3380",class:"gux-foreground-outline",d:"M23.7085 0.773193C26.5223 0.773193 28.804 3.05419 28.8042 5.86792C28.8042 8.68182 26.5224 10.9636 23.7085 10.9636C20.8948 10.9634 18.6138 8.68169 18.6138 5.86792C18.614 3.05432 20.8949 0.773399 23.7085 0.773193Z"}))}get root(){return r(this)}};g.style=":host{display:inline-block}svg{inline-size:100%;block-size:100%;fill:var(--gse-core-color-transparent)}svg .gux-foreground-fill{fill:var(--gse-ui-logo-brand-logomark-primary)}svg.gux-neutral .gux-foreground-fill{fill:var(--gse-ui-logo-brand-logomark-neutral)}svg.gux-outlined .gux-foreground-fill{fill:var(--gse-core-color-transparent)}svg.gux-outlined .gux-foreground-outline{stroke:var(--gse-ui-logo-brand-logomark-outlined);stroke-width:1.5}";export{g as gux_logomark_beta}
1
+ import{r as a,h as o,a as r}from"./p-Dz_2h4jr.js";import{t as e}from"./p-P-hdUE3M.js";import{b as s}from"./p-DmaAM9UB.js";import"./p-Cd4R0amv.js";var l={genesysLogomark:"Genesys Logomark"};const g=class{constructor(o){a(this,o),this.variant="primary"}async componentWillLoad(){this.i18n=await s(this.root,l),e(this.root,{variant:this.variant})}render(){return o("svg",{key:"abf83c5cc51c9f369eed1c2b351b4c58f341c7a9",class:`gux-${this.variant}`,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 30 50","aria-label":this.i18n("genesysLogomark"),role:"img",focusable:"false"},o("path",{key:"7996a793cb114a2cd06cd6b702974387f8c80222",class:"gux-foreground-fill",d:"M21.7947 34.7408H16.7148C14.6475 34.7408 12.6648 35.5446 11.203 36.9754C9.74117 38.4061 8.91992 40.3466 8.91992 42.37C8.91992 44.3933 9.74117 46.3338 11.203 47.7645C12.6648 49.1953 14.6475 49.9991 16.7148 49.9991H21.7947C23.862 49.9991 25.8447 49.1953 27.3065 47.7645C28.7683 46.3338 29.5896 44.3933 29.5896 42.37C29.5896 40.3466 28.7683 38.4061 27.3065 36.9754C25.8447 35.5446 23.862 34.7408 21.7947 34.7408Z"}),o("path",{key:"c0b4dc987b0aacc28d0de2826a436f1982bbe879",class:"gux-foreground-fill",d:"M21.3004 15.0225H8.38053C6.15787 15.0225 4.02625 15.8881 2.4546 17.4289C0.882946 18.9697 0 21.0594 0 23.2384C0 25.4174 0.882946 27.5072 2.4546 29.048C4.02625 30.5888 6.15787 31.4544 8.38053 31.4544H21.3004C22.401 31.4544 23.4907 31.2419 24.5075 30.829C25.5243 30.4161 26.4481 29.8109 27.2264 29.048C28.0046 28.2851 28.6219 27.3793 29.043 26.3825C29.4642 25.3857 29.681 24.3174 29.681 23.2384C29.681 22.1595 29.4642 21.0911 29.043 20.0943C28.6219 19.0975 28.0046 18.1918 27.2264 17.4289C26.4481 16.6659 25.5243 16.0608 24.5075 15.6479C23.4907 15.235 22.401 15.0225 21.3004 15.0225Z"}),o("path",{key:"4e6e91ec6881b9f45c054850302b476a508e73d0",class:"gux-foreground-fill",d:"M17.8403 5.8683C17.8403 2.62719 20.4678 -0.000244141 23.7089 -0.000244141C26.95 -0.000244141 29.5774 2.62719 29.5774 5.8683C29.5774 9.10941 26.95 11.7368 23.7089 11.7368C20.4678 11.7368 17.8403 9.10941 17.8403 5.8683Z"}),o("path",{key:"ea39caba0b3c8d6ece7e519b8b45e54c3a76c650",class:"gux-foreground-outline",d:"M16.7153 35.5144H21.7954C23.6628 35.5145 25.4506 36.2406 26.7661 37.5281C28.0811 38.815 28.8168 40.5572 28.8169 42.3699C28.8169 44.1826 28.081 45.9247 26.7661 47.2117C25.4506 48.4992 23.6628 49.2253 21.7954 49.2253H16.7153C14.8478 49.2253 13.0602 48.4992 11.7446 47.2117C10.4297 45.9247 9.69385 44.1826 9.69385 42.3699C9.6939 40.5572 10.4297 38.815 11.7446 37.5281C13.0602 36.2406 14.8479 35.5144 16.7153 35.5144Z"}),o("path",{key:"d6df09739b307b7a2537246565a7adc42a3d1872",class:"gux-foreground-outline",d:"M8.38086 15.7959H21.3008C22.3017 15.7959 23.2928 15.9891 24.2168 16.3643C25.1408 16.7395 25.9789 17.2897 26.6846 17.9814C27.3902 18.6733 27.949 19.4937 28.3301 20.3955C28.7111 21.2973 28.9072 22.2631 28.9072 23.2383C28.9072 24.2134 28.7111 25.1793 28.3301 26.0811C27.949 26.9829 27.3902 27.8043 26.6846 28.4961C25.979 29.1877 25.1406 29.7371 24.2168 30.1123C23.2928 30.4875 22.3017 30.6806 21.3008 30.6807H8.38086C6.35857 30.6807 4.42154 29.8934 2.99609 28.4961C1.57115 27.0991 0.773438 25.2071 0.773438 23.2383C0.773476 21.2695 1.57126 19.3784 2.99609 17.9814C4.42156 16.584 6.35846 15.7959 8.38086 15.7959Z"}),o("path",{key:"907daf16f1d243aa230fa7782d769b3e505f3380",class:"gux-foreground-outline",d:"M23.7085 0.773193C26.5223 0.773193 28.804 3.05419 28.8042 5.86792C28.8042 8.68182 26.5224 10.9636 23.7085 10.9636C20.8948 10.9634 18.6138 8.68169 18.6138 5.86792C18.614 3.05432 20.8949 0.773399 23.7085 0.773193Z"}))}get root(){return r(this)}};g.style=":host{display:inline-block}svg{inline-size:100%;block-size:100%;fill:var(--gse-core-color-transparent)}svg .gux-foreground-fill{fill:var(--gse-ui-logo-brand-logomark-primary)}svg.gux-neutral .gux-foreground-fill{fill:var(--gse-ui-logo-brand-logomark-neutral)}svg.gux-outlined .gux-foreground-fill{fill:var(--gse-core-color-transparent)}svg.gux-outlined .gux-foreground-outline{stroke:var(--gse-ui-logo-brand-logomark-outlined);stroke-width:1.5}";export{g as gux_logomark_beta}
@@ -1 +1 @@
1
- import{r as t,h as r,a as e}from"./p-Dz_2h4jr.js";import{c as a}from"./p-Cf6_BoFM.js";import{t as o}from"./p-CqFA-9uw.js";import{b as s}from"./p-DmaAM9UB.js";import"./p-Cd4R0amv.js";var i={actionRefresh:"Refresh",actionDelete:"Delete",actionExport:"Export",actionImport:"Import",actionRevert:"Revert",actionAdd:"Add"};const n=class{constructor(r){t(this,r),this.accent="secondary",this.iconOnly=!1,this.disabled=!1}handleClick(t){this.disabled&&(t.preventDefault(),t.stopImmediatePropagation())}returnActionLocale(t){return this.i18n(`action${a(t)}`)}returnActionTypeIcon(t){switch(t){case"refresh":return"fa/arrows-rotate-regular";case"delete":return"fa/trash-regular";case"export":return"fa/arrow-up-from-line-regular";case"import":return"fa/file-import-regular";case"revert":return"fa/arrow-rotate-left-regular";case"add":return"fa/plus-regular";default:return"fa/square-x-regular"}}async componentWillLoad(){o(this.root,{variant:this.action}),this.i18n=await s(this.root,i)}render(){return r("gux-table-toolbar-custom-action",{key:"5a379ad915e4010fc9969763d5df56118cc54925","icon-only":this.iconOnly,accent:this.accent,disabled:this.disabled},r("span",{key:"dd3e77986d266aaf3f2c08629b5a1a156123fbac",slot:"text"},this.returnActionLocale(this.action)),r("gux-icon",{key:"82faac3c693dc4f7dad714860a80e5103185fcd1",slot:"icon","icon-name":this.returnActionTypeIcon(this.action),decorative:!0}))}get root(){return e(this)}};n.style=":host{display:inline-block;inline-size:100%}:host[disabled]{pointer-events:none}";export{n as gux_table_toolbar_action}
1
+ import{r as t,h as e,a as r}from"./p-Dz_2h4jr.js";import{c as a}from"./p-Cf6_BoFM.js";import{t as o}from"./p-P-hdUE3M.js";import{b as s}from"./p-DmaAM9UB.js";import"./p-Cd4R0amv.js";var i={actionRefresh:"Refresh",actionDelete:"Delete",actionExport:"Export",actionImport:"Import",actionRevert:"Revert",actionAdd:"Add"};const n=class{constructor(e){t(this,e),this.accent="secondary",this.iconOnly=!1,this.disabled=!1}handleClick(t){this.disabled&&(t.preventDefault(),t.stopImmediatePropagation())}returnActionLocale(t){return this.i18n(`action${a(t)}`)}returnActionTypeIcon(t){switch(t){case"refresh":return"fa/arrows-rotate-regular";case"delete":return"fa/trash-regular";case"export":return"fa/arrow-up-from-line-regular";case"import":return"fa/file-import-regular";case"revert":return"fa/arrow-rotate-left-regular";case"add":return"fa/plus-regular";default:return"fa/square-x-regular"}}async componentWillLoad(){o(this.root,{variant:this.action}),this.i18n=await s(this.root,i)}render(){return e("gux-table-toolbar-custom-action",{key:"9635e21ae3e0e05f22c04c0c54d305c1b45b8ed7","icon-only":this.iconOnly,accent:this.accent,disabled:this.disabled},e("span",{key:"b0c2d686f6ffbbf76322cf0a10b7b75df0f32e1e",slot:"text"},this.returnActionLocale(this.action)),e("gux-icon",{key:"7141fedd385aeb50bd33916c2893fcd179030cb2",slot:"icon","icon-name":this.returnActionTypeIcon(this.action),decorative:!0}))}get root(){return r(this)}};n.style=":host{display:inline-block;inline-size:100%}:host[disabled]{pointer-events:none}";export{n as gux_table_toolbar_action}
@@ -1 +1 @@
1
- import{r as a,c as t,h as e,a as i}from"./p-Dz_2h4jr.js";import{t as n}from"./p-CqFA-9uw.js";const s=class{constructor(e){a(this,e),this.guxpaginationchange=t(this,"guxpaginationchange",7),this.currentPage=1,this.totalItems=0,this.itemsPerPage=25,this.layout="full"}setPage(a){if(a<=0)return void this.setPage(1);const t=this.calculateTotalPages();a>t?this.setPage(t):(this.currentPage=a,this.guxpaginationchange.emit({currentPage:this.currentPage,itemsPerPage:this.itemsPerPage}))}calculateTotalPages(){return Math.max(1,Math.ceil(this.totalItems/this.itemsPerPage))}calculateCurrentPage(){return Math.max(this.totalPages>0?1:0,Math.min(this.currentPage,this.totalPages))}handleInternalitemsperpagechange(a){this.itemsPerPage=a.detail,this.setPage(1)}handleInternalcurrentpagechange(a){this.setPage(a.detail)}getPaginationInfoElement(a){if("expanded"===a)return null;const t=[e("gux-pagination-item-counts-legacy",{"total-items":this.totalItems,"current-page":this.currentPage,"items-per-page":this.itemsPerPage})];return"full"===a&&t.push(e("gux-pagination-items-per-page-legacy",{"items-per-page":this.itemsPerPage,onInternalitemsperpagechange:this.handleInternalitemsperpagechange.bind(this)})),e("div",{class:"gux-pagination-info"},t)}componentWillLoad(){n(this.root,{variant:this.layout})}componentWillRender(){this.totalPages=this.calculateTotalPages(),this.currentPage=this.calculateCurrentPage()}render(){return e("div",{key:"01777fca0770ef65e791d496ebd0dbb449a6ce8e",class:"gux-pagination-container"},this.getPaginationInfoElement(this.layout),e("div",{key:"c808d1ce2d5ec0115a8a0f271895514fe4028fc1",class:"gux-pagination-change"},e("gux-pagination-buttons-legacy",{key:"0e1f1762722178f82c2f9df23d5d59f8078a7465",layout:this.layout,"current-page":this.currentPage,"total-pages":this.totalPages,onInternalcurrentpagechange:this.handleInternalcurrentpagechange.bind(this)})))}get root(){return i(this)}};s.style=":host{display:block;border-top:var(--gse-ui-dataTableItems-tablePagination-divider-width) var(--gse-ui-dataTableItems-tablePagination-divider-style) var(--gse-ui-dataTableItems-tablePagination-divider-color)}.gux-pagination-container{display:flex;flex-direction:row;flex-wrap:nowrap;place-content:stretch space-between;align-items:center;height:var(--gse-ui-dataTableItems-cell-tablePagination-height);padding:var(--gse-ui-dataTableItems-tablePagination-padding);background-color:var(--gse-ui-dataTableItems-tablePagination-defaultBackgroundColor)}.gux-pagination-container .gux-pagination-info{display:flex;flex:1 1 auto;flex-direction:row;flex-wrap:nowrap;gap:var(--gse-ui-dataTableItems-tablePagination-recordsetControls-gap);place-content:stretch flex-start;align-items:center;align-self:auto;order:0}.gux-pagination-container .gux-pagination-info>*{flex:0 1 auto;align-self:auto;order:0}.gux-pagination-container .gux-pagination-change{flex:1 1 auto;align-self:auto;order:0}.gux-pagination-container .gux-pagination-change:first-child{margin-left:0}";export{s as gux_pagination_legacy}
1
+ import{r as a,c as t,h as e,a as i}from"./p-Dz_2h4jr.js";import{t as n}from"./p-P-hdUE3M.js";const s=class{constructor(e){a(this,e),this.guxpaginationchange=t(this,"guxpaginationchange",7),this.currentPage=1,this.totalItems=0,this.itemsPerPage=25,this.layout="full"}setPage(a){if(a<=0)return void this.setPage(1);const t=this.calculateTotalPages();a>t?this.setPage(t):(this.currentPage=a,this.guxpaginationchange.emit({currentPage:this.currentPage,itemsPerPage:this.itemsPerPage}))}calculateTotalPages(){return Math.max(1,Math.ceil(this.totalItems/this.itemsPerPage))}calculateCurrentPage(){return Math.max(this.totalPages>0?1:0,Math.min(this.currentPage,this.totalPages))}handleInternalitemsperpagechange(a){this.itemsPerPage=a.detail,this.setPage(1)}handleInternalcurrentpagechange(a){this.setPage(a.detail)}getPaginationInfoElement(a){if("expanded"===a)return null;const t=[e("gux-pagination-item-counts-legacy",{"total-items":this.totalItems,"current-page":this.currentPage,"items-per-page":this.itemsPerPage})];return"full"===a&&t.push(e("gux-pagination-items-per-page-legacy",{"items-per-page":this.itemsPerPage,onInternalitemsperpagechange:this.handleInternalitemsperpagechange.bind(this)})),e("div",{class:"gux-pagination-info"},t)}componentWillLoad(){n(this.root,{variant:this.layout})}componentWillRender(){this.totalPages=this.calculateTotalPages(),this.currentPage=this.calculateCurrentPage()}render(){return e("div",{key:"b5e568b7e4102bc8c4f9c8d89d6ddc6a94568e2e",class:"gux-pagination-container"},this.getPaginationInfoElement(this.layout),e("div",{key:"bcdb964d7b5fba9f39a45bb17897bfa35aae860a",class:"gux-pagination-change"},e("gux-pagination-buttons-legacy",{key:"927a40e7a393768195c118faa9062c091b0a5932",layout:this.layout,"current-page":this.currentPage,"total-pages":this.totalPages,onInternalcurrentpagechange:this.handleInternalcurrentpagechange.bind(this)})))}get root(){return i(this)}};s.style=":host{display:block;border-top:var(--gse-ui-dataTableItems-tablePagination-divider-width) var(--gse-ui-dataTableItems-tablePagination-divider-style) var(--gse-ui-dataTableItems-tablePagination-divider-color)}.gux-pagination-container{display:flex;flex-direction:row;flex-wrap:nowrap;place-content:stretch space-between;align-items:center;height:var(--gse-ui-dataTableItems-cell-tablePagination-height);padding:var(--gse-ui-dataTableItems-tablePagination-padding);background-color:var(--gse-ui-dataTableItems-tablePagination-defaultBackgroundColor)}.gux-pagination-container .gux-pagination-info{display:flex;flex:1 1 auto;flex-direction:row;flex-wrap:nowrap;gap:var(--gse-ui-dataTableItems-tablePagination-recordsetControls-gap);place-content:stretch flex-start;align-items:center;align-self:auto;order:0}.gux-pagination-container .gux-pagination-info>*{flex:0 1 auto;align-self:auto;order:0}.gux-pagination-container .gux-pagination-change{flex:1 1 auto;align-self:auto;order:0}.gux-pagination-container .gux-pagination-change:first-child{margin-left:0}";export{s as gux_pagination_legacy}
@@ -0,0 +1 @@
1
+ import{r as t,f as s,h as e,H as a,a as i}from"./p-Dz_2h4jr.js";import{t as r}from"./p-P-hdUE3M.js";import{s as h}from"./p-BMRf5pjV.js";import{h as o,s as n,f as c,c as d,d as l,e as f,i as p,j as m,k as g,l as b,m as u,n as w,o as k}from"./p-1K6Bdrw6.js";import"./p-kLXvN2m9.js";const v=class{constructor(s){t(this,s),s.$hostElement$["s-ei"]?this.internals=s.$hostElement$["s-ei"]:(this.internals=s.$hostElement$.attachInternals(),s.$hostElement$["s-ei"]=this.internals),this._disabled=!1,this.size="comfy",this.alignment="start"}get disabled(){return this._disabled||o(this.root)}set disabled(t){this._disabled=t}handleValueChange(t,s){var e;(null===(e=this.internals)||void 0===e?void 0:e.setFormValue)&&this.internals.setFormValue(t),n(this.root,this.value),h(this.root,"input"),s!==t&&h(this.root,"change"),c(this.root)}handleDisabledChange(){this.disabled?d(this.root):l(this.root),c(this.root)}onClick(t){this.disabled||f({event:t,onLeaf:t=>{u(this.root,t)},onBranch:t=>{t.expanded=!t.expanded,u(this.root,t)}})}handleKeydown(t){if(!this.disabled)switch(t.key){case"ArrowDown":t.preventDefault(),b(this.root);break;case"ArrowUp":t.preventDefault(),g(this.root);break;case"Home":t.preventDefault(),m(this.root);break;case"End":t.preventDefault(),p(this.root);break;case"ArrowLeft":case"ArrowRight":case"Enter":f({event:t,onLeaf:s=>{switch(t.key){case"ArrowLeft":t.preventDefault(),w(this.root);break;case"Enter":t.preventDefault(),u(this.root,s)}},onBranch:s=>{switch(t.key){case"ArrowRight":t.preventDefault(),s.expanded?k(this.root,s):s.expanded=!0;break;case"ArrowLeft":t.preventDefault(),s.expanded?s.expanded=!1:w(this.root);break;case"Enter":t.preventDefault(),u(this.root,s)}}});break;default:return}}formAssociatedCallback(t){console.info("Form associated:",t)}formDisabledCallback(){c(this.root)}formResetCallback(){this.value=""}formStateRestoreCallback(t){this.value=t}componentWillLoad(){var t;r(this.root),this.internals.role="tree",this.root.setAttribute("role","tree"),(null===(t=this.internals)||void 0===t?void 0:t.setFormValue)&&this.internals.setFormValue(this.value),n(this.root,this.value),l(this.root)}componentDidLoad(){this.handleDisabledChange()}onDefaultSlotchange(){s(this.root)}render(){return e(a,{key:"d68d924fb23d1120d753fc26001201709f9b417d",class:{"gux-compact":"compact"===this.size,"gux-end":"end"===this.alignment},"aria-disabled":this.disabled?"true":"false"},e("slot",{key:"f4f7c959b771c0079fbd1b73fc11085db4929d40",onSlotchange:()=>this.onDefaultSlotchange()}))}static get formAssociated(){return!0}get root(){return i(this)}static get watchers(){return{value:["handleValueChange"],disabled:["handleDisabledChange"]}}};v.style=":host{display:flex;flex-direction:column;flex-wrap:nowrap;gap:var(--gse-ui-treeView-item-internalGap);place-content:stretch flex-start;align-items:stretch;padding:var(--gse-ui-treeView-group-comfy-padding)}:host(.gux-compact){padding:var(--gse-ui-treeView-group-compact-padding)}";export{v as gux_tree_beta}
@@ -1 +1 @@
1
- import{r as e,f as i,h as t,H as r,a}from"./p-Dz_2h4jr.js";import{c as o,o as n}from"./p-Cb3FOYGS.js";import{O as l}from"./p-0yc9CKxX.js";import{o as s}from"./p-De1NnCmO.js";import{p as g}from"./p-PYfNAK8p.js";import{h as u}from"./p-qzV3vtOw.js";import{G as f,a as d}from"./p-JPhxXbs4.js";import{a as h,G as p}from"./p-C-1lAIfW.js";import{g as c,v as x,a as b}from"./p-DHLxhscH.js";import{t as m}from"./p-CqFA-9uw.js";import{O as v}from"./p-DVjNN8WO.js";import"./p-D9jKBqIb.js";import"./p-DxtJDeL9.js";import"./p-BMRf5pjV.js";var y=function(e,i,t,r){var a,o=arguments.length,n=o<3?i:null===r?r=Object.getOwnPropertyDescriptor(i,t):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)n=Reflect.decorate(e,i,t,r);else for(var l=e.length-1;l>=0;l--)(a=e[l])&&(n=(o<3?a(n):o>3?a(i,t,n):a(i,t))||n);return o>3&&n&&Object.defineProperty(i,t,n),n};const k=class{constructor(i){e(this,i),this.indicatorMark="required",this.computedLabelPosition="above",this.hasError=!1,this.hasHelp=!1}onInput(e){this.updateValue(e.target.value)}onMousedown(){this.disabled||(this.active=!0)}onMouseup(){this.active=!1}onMutation(){this.labelInfo=this.root.querySelector("[slot=label-info]"),this.hasError=u(this.root,"error"),this.hasHelp=u(this.root,"help")}handleKeyup(e){var i,t;switch(e.key){case"Tab":this.input.matches(":focus-visible")&&(null===(i=this.labelInfo)||void 0===i||i.showTooltip(),this.hideLabelInfoTimeout=setTimeout((()=>{var e;null===(e=this.labelInfo)||void 0===e||e.hideTooltip()}),6e3));break;case"Shift":break;default:this.input.matches(":focus-visible")&&(null===(t=this.labelInfo)||void 0===t||t.hideTooltip(),clearTimeout(this.hideLabelInfoTimeout))}}onFocusout(){var e;this.active=!1,null===(e=this.labelInfo)||void 0===e||e.hideTooltip(),clearTimeout(this.hideLabelInfoTimeout)}componentWillLoad(){this.setInput(),this.setLabel(),this.labelInfo=this.root.querySelector("[slot=label-info]"),this.hasError=u(this.root,"error"),this.hasHelp=u(this.root,"help"),m(this.root,{variant:this.variant})}componentDidLoad(){this.updatePosition(),this.tooltipElement&&i(this.root)}disconnectedCallback(){this.disabledObserver&&this.disabledObserver.disconnect(),this.requiredObserver&&this.requiredObserver.disconnect(),clearInterval(this.valueWatcherId)}render(){return t(r,{key:"c9659001a315704171830f441ec9182edcdb775b",class:{"gux-active":this.active}},t(h,{key:"6375acacb5ffe29e4ab47b537934b53adf2ca1eb",labelPosition:this.computedLabelPosition},t(p,{key:"bf3d45c557af11a891b35d4770f31627e181af4d",required:this.required,position:this.computedLabelPosition},t("slot",{key:"220710ee4498dee17925719dfd97833f2761a8b6",name:"label",onSlotchange:()=>this.setLabel()}),t("gux-form-field-label-indicator",{key:"6409696d7f0261aaf56fedf08b9aefa225f77c87",variant:this.indicatorMark,required:this.required}),t("slot",{key:"404dd77023651d4c31e63e792c3aeb4a04e67f5d",name:"label-info"})),t("div",{key:"cc59cf41be40345152d4ba98a267502cb4b09da4",class:"gux-input-and-error-container"},this.renderRangeInput(),t(f,{key:"82eb5395053d1f34698b3efbfd1906fc4ef872e1",show:this.hasError},t("slot",{key:"dff24fd024a96675168b79286aa97b1a8352ecc1",name:"error"})),t(d,{key:"95f342c37af75350aba83b531b3dfa73680266d0",show:!this.hasError&&this.hasHelp},t("slot",{key:"235e9611fccf02f722d1b6eeb738656b4e1c8154",name:"help"})))))}get variant(){return this.labelPosition?this.labelPosition.toLowerCase():"none"}setInput(){this.input=c(this.root,'input[type="range"][slot="input"]'),g(this.input),this.disabled=o(this.input),this.required=this.input.required,this.value=this.input.value,this.disabledObserver=n(this.input,(e=>{this.disabled=e})),this.requiredObserver=s(this.input,(e=>{this.required=e})),clearInterval(this.valueWatcherId),this.valueWatcherId=setInterval((()=>{this.value!==this.input.value&&this.updateValue(this.input.value)}),100),x(this.root,this.input)}setLabel(){this.label=this.root.querySelector('label[slot="label"]'),this.computedLabelPosition=b(this.label,this.labelPosition)}renderRangeInput(){return t("div",{class:{"gux-range-input-container":!0,"gux-disabled":this.disabled},"aria-disabled":this.disabled?"true":"false",ref:e=>this.containerElement=e},t("div",{class:"gux-range"},t("div",{class:"gux-track"},t("div",{class:"gux-progress",ref:e=>this.progressElement=e})),t("slot",{name:"input"}),this.valueInTooltip&&t("gux-tooltip-base-beta",{ref:e=>this.tooltipElement=e,forElement:this.containerElement,offsetY:10,placement:"top"},t("span",{slot:"content"},this.getDisplayValue()))),t("div",{class:{"gux-display":!0,"gux-hidden":this.valueInTooltip}},this.getDisplayValue()))}updateValue(e){this.value=e,this.updatePosition()}updatePosition(){var e,i,t;const r=Number((null===(e=this.input)||void 0===e?void 0:e.value)||0),a=Number((null===(i=this.input)||void 0===i?void 0:i.min)||0),o=(r-a)/(Number((null===(t=this.input)||void 0===t?void 0:t.max)||100)-a)*100;this.tooltipElement&&(this.tooltipElement.offsetX=(o/100-.5)*(this.containerElement.offsetWidth-20)),this.progressElement&&(this.progressElement.style.width=`${o}%`)}getDisplayValue(){return this.displayUnits?`${this.value}${this.displayUnits}`:this.value}get root(){return a(this)}};y([l({childList:!0,subtree:!0})],k.prototype,"onMutation",null),y([v()],k.prototype,"updatePosition",null),k.style=".gux-form-field-container{display:flex;flex-direction:column}.gux-form-field-container.gux-beside{flex-direction:row}.gux-form-field-error{display:none;flex-direction:row;flex-wrap:nowrap;gap:var(--gse-ui-formControl-helper-gap);place-content:stretch flex-start;padding:var(--gse-ui-formControl-helper-errorPadding);font-family:var(--gse-ui-formControl-helper-helperText-fontFamily);font-size:var(--gse-ui-formControl-helper-helperText-fontSize);line-height:var(--gse-ui-formControl-helper-helperText-lineHeight);color:var(--gse-ui-formControl-helper-errorColor)}.gux-form-field-error.gux-show{display:flex}.gux-form-field-error gux-icon{flex:0 0 auto;order:0;color:var(--gse-ui-formControl-helper-errorColor)}.gux-form-field-error .gux-message{flex:0 1 auto;align-self:auto;order:0}.gux-form-field-label{display:inline-flex;flex:1 0 auto}.gux-form-field-label ::slotted(label){min-inline-size:0}.gux-form-field-label ::slotted(gux-label-info-beta){padding-inline-start:var(--gse-ui-formControl-formField-gap)}.gux-form-field-label.gux-beside{position:relative;inset-block-start:var(--gse-ui-formControl-input-top);inline-size:fit-content;min-inline-size:var(--gse-ui-formControl-input-textfield-minWidth);max-inline-size:fit-content;margin-inline-end:var(--gse-ui-formControl-group-gapItems)}.gux-form-field-label.gux-above{padding-block-end:var(--gse-ui-formControl-formField-gap)}.gux-form-field-label.gux-screenreader{position:absolute;top:auto;left:-10000px;width:1px;height:1px;overflow:hidden}.gux-form-field-help{display:none;flex-direction:row;flex-wrap:nowrap;place-content:stretch flex-start;align-items:flex-start;justify-content:flex-start;padding-block-start:var(--gse-ui-formControl-formField-gap);font-family:var(--gse-ui-formControl-helper-helperText-fontFamily);font-size:var(--gse-ui-formControl-helper-helperText-fontSize);line-height:var(--gse-ui-formControl-helper-helperText-lineHeight);color:var(--gse-ui-formControl-helper-defaultColor)}.gux-form-field-help.gux-show{display:flex}.gux-form-field-help .gux-message{flex:0 1 auto;align-self:none;order:0}:host{display:block}::slotted(label){font-family:var(--gse-ui-formControl-label-textBold-fontFamily);font-size:var(--gse-ui-formControl-label-textBold-fontSize);font-weight:var(--gse-ui-formControl-label-textBold-fontWeight);line-height:var(--gse-ui-formControl-label-textBold-lineHeight);color:var(--gse-ui-formControl-label-labelColor)}::slotted(input[type=range]){position:absolute;inline-size:100%;block-size:var(--gse-ui-rangeSlider-bar-height);margin-block:calc(var(--gse-ui-rangeSlider-handle-height) / 2);margin-block-start:calc(-1 * (calc(var(--gse-ui-rangeSlider-handle-height) / 2) + var(--gse-ui-rangeSlider-bar-height)));margin-inline:0;-webkit-appearance:none;background:transparent}.gux-input-and-error-container{flex-grow:1}.gux-input-and-error-container.gux-hidden{display:none}.gux-input-and-error-container .gux-range-input-container{display:flex;flex-direction:row;flex-wrap:nowrap;gap:var(--gse-ui-rangeSlider-gap);place-content:stretch flex-start;align-items:center;block-size:var(--gse-ui-rangeSlider-set-height);font-size:var(--gse-ui-rangeSlider-label-text-fontSize)}.gux-input-and-error-container .gux-range-input-container.gux-disabled{opacity:var(--gse-ui-rangeSlider-disabled-opacity)}.gux-input-and-error-container .gux-range-input-container .gux-range{position:relative;flex:1 1 auto;align-self:center;order:0}.gux-input-and-error-container .gux-range-input-container .gux-range:hover .gux-range-tooltip,.gux-input-and-error-container .gux-range-input-container .gux-range:focus-within .gux-range-tooltip{visibility:visible}.gux-input-and-error-container .gux-range-input-container .gux-range .gux-track{inline-size:100%;block-size:var(--gse-ui-rangeSlider-bar-height);margin-block:6px;margin-inline:0;background:var(--gse-ui-rangeSlider-bar-default-backgroundColor);border-radius:var(--gse-ui-rangeSlider-track-borderRadius)}.gux-input-and-error-container .gux-range-input-container .gux-range .gux-track .gux-progress{block-size:var(--gse-ui-rangeSlider-bar-height);background-color:var(--gse-ui-rangeSlider-bar-selected-backgroundColor);border-radius:var(--gse-ui-rangeSlider-track-borderRadius)}.gux-input-and-error-container .gux-range-input-container .gux-display{flex:0 1 auto;align-self:auto;order:0;margin-block:0;margin-inline:var(--gux-spacing-medium) 0;font-family:var(--gse-ui-rangeSlider-label-text-fontFamily);font-size:var(--gse-ui-rangeSlider-label-text-fontSize);font-weight:var(--gse-ui-rangeSlider-label-text-fontWeight);line-height:var(--gse-ui-rangeSlider-label-text-lineHeight);text-align:end}.gux-input-and-error-container .gux-range-input-container .gux-display.gux-hidden{display:none}.gux-form-field-label.gux-beside{inset-block-start:0}";export{k as gux_form_field_range}
1
+ import{r as e,f as i,h as t,H as r,a}from"./p-Dz_2h4jr.js";import{c as o,o as n}from"./p-Cb3FOYGS.js";import{O as l}from"./p-0yc9CKxX.js";import{o as s}from"./p-De1NnCmO.js";import{p as g}from"./p-PYfNAK8p.js";import{h as u}from"./p-qzV3vtOw.js";import{G as d,a as f}from"./p-JPhxXbs4.js";import{a as h,G as c}from"./p-C-1lAIfW.js";import{g as p,v as x,a as b}from"./p-DHLxhscH.js";import{t as m}from"./p-P-hdUE3M.js";import{O as v}from"./p-DVjNN8WO.js";import"./p-D9jKBqIb.js";import"./p-DxtJDeL9.js";import"./p-BMRf5pjV.js";var y=function(e,i,t,r){var a,o=arguments.length,n=o<3?i:null===r?r=Object.getOwnPropertyDescriptor(i,t):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)n=Reflect.decorate(e,i,t,r);else for(var l=e.length-1;l>=0;l--)(a=e[l])&&(n=(o<3?a(n):o>3?a(i,t,n):a(i,t))||n);return o>3&&n&&Object.defineProperty(i,t,n),n};const k=class{constructor(i){e(this,i),this.indicatorMark="required",this.computedLabelPosition="above",this.hasError=!1,this.hasHelp=!1}onInput(e){this.updateValue(e.target.value)}onMousedown(){this.disabled||(this.active=!0)}onMouseup(){this.active=!1}onMutation(){this.labelInfo=this.root.querySelector("[slot=label-info]"),this.hasError=u(this.root,"error"),this.hasHelp=u(this.root,"help")}handleKeyup(e){var i,t;switch(e.key){case"Tab":this.input.matches(":focus-visible")&&(null===(i=this.labelInfo)||void 0===i||i.showTooltip(),this.hideLabelInfoTimeout=setTimeout((()=>{var e;null===(e=this.labelInfo)||void 0===e||e.hideTooltip()}),6e3));break;case"Shift":break;default:this.input.matches(":focus-visible")&&(null===(t=this.labelInfo)||void 0===t||t.hideTooltip(),clearTimeout(this.hideLabelInfoTimeout))}}onFocusout(){var e;this.active=!1,null===(e=this.labelInfo)||void 0===e||e.hideTooltip(),clearTimeout(this.hideLabelInfoTimeout)}componentWillLoad(){this.setInput(),this.setLabel(),this.labelInfo=this.root.querySelector("[slot=label-info]"),this.hasError=u(this.root,"error"),this.hasHelp=u(this.root,"help"),m(this.root,{variant:this.variant})}componentDidLoad(){this.updatePosition(),this.tooltipElement&&i(this.root)}disconnectedCallback(){this.disabledObserver&&this.disabledObserver.disconnect(),this.requiredObserver&&this.requiredObserver.disconnect(),clearInterval(this.valueWatcherId)}render(){return t(r,{key:"92ec1ee133a77d92f78c9202b871279a128a53bf",class:{"gux-active":this.active}},t(h,{key:"d71760f210098f07fce8cdd7534f1a28c2e23e34",labelPosition:this.computedLabelPosition},t(c,{key:"91e96fbb01462269dde8c4002a99ba6bc01b0ca0",required:this.required,position:this.computedLabelPosition},t("slot",{key:"faedc0d452b980a1a31ee866528f11478c0b30d6",name:"label",onSlotchange:()=>this.setLabel()}),t("gux-form-field-label-indicator",{key:"d5dd35d8531b413aa9d7070a3c6f9445dbafb906",variant:this.indicatorMark,required:this.required}),t("slot",{key:"5a88aedcaefd6194d1efdb3e505e4368ca01227c",name:"label-info"})),t("div",{key:"186590723bbc1dd4fc3e3b5df51e4ac8b9d364d3",class:"gux-input-and-error-container"},this.renderRangeInput(),t(d,{key:"3f9bf15506edae92c99c6ef2253fcac88f5f6efd",show:this.hasError},t("slot",{key:"87142fe9eaea7022f303a96c964251adc4e696bd",name:"error"})),t(f,{key:"4c104fe413acd07a3c6bca04fbb5c07616e63925",show:!this.hasError&&this.hasHelp},t("slot",{key:"67049f23c3d2f7a4b752e3204927aed9610fbe33",name:"help"})))))}get variant(){return this.labelPosition?this.labelPosition.toLowerCase():"none"}setInput(){this.input=p(this.root,'input[type="range"][slot="input"]'),g(this.input),this.disabled=o(this.input),this.required=this.input.required,this.value=this.input.value,this.disabledObserver=n(this.input,(e=>{this.disabled=e})),this.requiredObserver=s(this.input,(e=>{this.required=e})),clearInterval(this.valueWatcherId),this.valueWatcherId=setInterval((()=>{this.value!==this.input.value&&this.updateValue(this.input.value)}),100),x(this.root,this.input)}setLabel(){this.label=this.root.querySelector('label[slot="label"]'),this.computedLabelPosition=b(this.label,this.labelPosition)}renderRangeInput(){return t("div",{class:{"gux-range-input-container":!0,"gux-disabled":this.disabled},"aria-disabled":this.disabled?"true":"false",ref:e=>this.containerElement=e},t("div",{class:"gux-range"},t("div",{class:"gux-track"},t("div",{class:"gux-progress",ref:e=>this.progressElement=e})),t("slot",{name:"input"}),this.valueInTooltip&&t("gux-tooltip-base-beta",{ref:e=>this.tooltipElement=e,forElement:this.containerElement,offsetY:10,placement:"top"},t("span",{slot:"content"},this.getDisplayValue()))),t("div",{class:{"gux-display":!0,"gux-hidden":this.valueInTooltip}},this.getDisplayValue()))}updateValue(e){this.value=e,this.updatePosition()}updatePosition(){var e,i,t;const r=Number((null===(e=this.input)||void 0===e?void 0:e.value)||0),a=Number((null===(i=this.input)||void 0===i?void 0:i.min)||0),o=(r-a)/(Number((null===(t=this.input)||void 0===t?void 0:t.max)||100)-a)*100;this.tooltipElement&&(this.tooltipElement.offsetX=(o/100-.5)*(this.containerElement.offsetWidth-20)),this.progressElement&&(this.progressElement.style.width=`${o}%`)}getDisplayValue(){return this.displayUnits?`${this.value}${this.displayUnits}`:this.value}get root(){return a(this)}};y([l({childList:!0,subtree:!0})],k.prototype,"onMutation",null),y([v()],k.prototype,"updatePosition",null),k.style=".gux-form-field-container{display:flex;flex-direction:column}.gux-form-field-container.gux-beside{flex-direction:row}.gux-form-field-error{display:none;flex-direction:row;flex-wrap:nowrap;gap:var(--gse-ui-formControl-helper-gap);place-content:stretch flex-start;padding:var(--gse-ui-formControl-helper-errorPadding);font-family:var(--gse-ui-formControl-helper-helperText-fontFamily);font-size:var(--gse-ui-formControl-helper-helperText-fontSize);line-height:var(--gse-ui-formControl-helper-helperText-lineHeight);color:var(--gse-ui-formControl-helper-errorColor)}.gux-form-field-error.gux-show{display:flex}.gux-form-field-error gux-icon{flex:0 0 auto;order:0;color:var(--gse-ui-formControl-helper-errorColor)}.gux-form-field-error .gux-message{flex:0 1 auto;align-self:auto;order:0}.gux-form-field-label{display:inline-flex;flex:1 0 auto}.gux-form-field-label ::slotted(label){min-inline-size:0}.gux-form-field-label ::slotted(gux-label-info-beta){padding-inline-start:var(--gse-ui-formControl-formField-gap)}.gux-form-field-label.gux-beside{position:relative;inset-block-start:var(--gse-ui-formControl-input-top);inline-size:fit-content;min-inline-size:var(--gse-ui-formControl-input-textfield-minWidth);max-inline-size:fit-content;margin-inline-end:var(--gse-ui-formControl-group-gapItems)}.gux-form-field-label.gux-above{padding-block-end:var(--gse-ui-formControl-formField-gap)}.gux-form-field-label.gux-screenreader{position:absolute;top:auto;left:-10000px;width:1px;height:1px;overflow:hidden}.gux-form-field-help{display:none;flex-direction:row;flex-wrap:nowrap;place-content:stretch flex-start;align-items:flex-start;justify-content:flex-start;padding-block-start:var(--gse-ui-formControl-formField-gap);font-family:var(--gse-ui-formControl-helper-helperText-fontFamily);font-size:var(--gse-ui-formControl-helper-helperText-fontSize);line-height:var(--gse-ui-formControl-helper-helperText-lineHeight);color:var(--gse-ui-formControl-helper-defaultColor)}.gux-form-field-help.gux-show{display:flex}.gux-form-field-help .gux-message{flex:0 1 auto;align-self:none;order:0}:host{display:block}::slotted(label){font-family:var(--gse-ui-formControl-label-textBold-fontFamily);font-size:var(--gse-ui-formControl-label-textBold-fontSize);font-weight:var(--gse-ui-formControl-label-textBold-fontWeight);line-height:var(--gse-ui-formControl-label-textBold-lineHeight);color:var(--gse-ui-formControl-label-labelColor)}::slotted(input[type=range]){position:absolute;inline-size:100%;block-size:var(--gse-ui-rangeSlider-bar-height);margin-block:calc(var(--gse-ui-rangeSlider-handle-height) / 2);margin-block-start:calc(-1 * (calc(var(--gse-ui-rangeSlider-handle-height) / 2) + var(--gse-ui-rangeSlider-bar-height)));margin-inline:0;-webkit-appearance:none;background:transparent}.gux-input-and-error-container{flex-grow:1}.gux-input-and-error-container.gux-hidden{display:none}.gux-input-and-error-container .gux-range-input-container{display:flex;flex-direction:row;flex-wrap:nowrap;gap:var(--gse-ui-rangeSlider-gap);place-content:stretch flex-start;align-items:center;block-size:var(--gse-ui-rangeSlider-set-height);font-size:var(--gse-ui-rangeSlider-label-text-fontSize)}.gux-input-and-error-container .gux-range-input-container.gux-disabled{opacity:var(--gse-ui-rangeSlider-disabled-opacity)}.gux-input-and-error-container .gux-range-input-container .gux-range{position:relative;flex:1 1 auto;align-self:center;order:0}.gux-input-and-error-container .gux-range-input-container .gux-range:hover .gux-range-tooltip,.gux-input-and-error-container .gux-range-input-container .gux-range:focus-within .gux-range-tooltip{visibility:visible}.gux-input-and-error-container .gux-range-input-container .gux-range .gux-track{inline-size:100%;block-size:var(--gse-ui-rangeSlider-bar-height);margin-block:6px;margin-inline:0;background:var(--gse-ui-rangeSlider-bar-default-backgroundColor);border-radius:var(--gse-ui-rangeSlider-track-borderRadius)}.gux-input-and-error-container .gux-range-input-container .gux-range .gux-track .gux-progress{block-size:var(--gse-ui-rangeSlider-bar-height);background-color:var(--gse-ui-rangeSlider-bar-selected-backgroundColor);border-radius:var(--gse-ui-rangeSlider-track-borderRadius)}.gux-input-and-error-container .gux-range-input-container .gux-display{flex:0 1 auto;align-self:auto;order:0;margin-block:0;margin-inline:var(--gux-spacing-medium) 0;font-family:var(--gse-ui-rangeSlider-label-text-fontFamily);font-size:var(--gse-ui-rangeSlider-label-text-fontSize);font-weight:var(--gse-ui-rangeSlider-label-text-fontWeight);line-height:var(--gse-ui-rangeSlider-label-text-lineHeight);text-align:end}.gux-input-and-error-container .gux-range-input-container .gux-display.gux-hidden{display:none}.gux-form-field-label.gux-beside{inset-block-start:0}";export{k as gux_form_field_range}
@@ -1 +1 @@
1
- import{r as e,h as r,a as o}from"./p-Dz_2h4jr.js";import{t as a}from"./p-CqFA-9uw.js";import{b as g}from"./p-DmaAM9UB.js";import{O as i}from"./p-0yc9CKxX.js";import"./p-Cd4R0amv.js";var l={info:"badge with label: {label}, accent: info","info-bold":"badge with label: {label}, accent: info bold",success:"badge with label: {label}, accent: success","success-bold":"badge with label: {label}, accent: success bold",warning:"badge with label: {label}, accent: warning","warning-bold":"badge with label: {label}, accent: warning bold",error:"badge with label: {label}, accent: error","error-bold":"badge with label: {label}, accent: error bold",inherit:"badge with label: {label}","inherit-bold":"badge with label: {label}, bold"};const t=class{constructor(r){e(this,r),this.accent="info",this.bold=!1}onMutation(){this.label=this.root.textContent||""}onSlotChange(e){const r=e.composedPath()[0].assignedNodes();this.label=r.map((e=>e.textContent)).join("")}renderBadgeTitle(){return r("gux-tooltip-title",{"aria-hidden":"true"},r("span",null,r("slot",{"aria-hidden":"true",onSlotchange:this.onSlotChange.bind(this)})))}renderSrText(){return r("div",{class:"gux-sr-only"},this.i18n(this.getVariant(),{label:this.label}))}getVariant(){return`${this.accent}${this.bold?"-bold":""}`}async componentWillLoad(){a(this.root),this.i18n=await g(this.root,l)}render(){return r("div",{key:"4f297538594a1123876f5f87f6d8b2b78e9ae892",class:{"gux-badge":!0,[`gux-${this.accent}`]:!0,"gux-bold":this.bold}},this.renderBadgeTitle(),this.renderSrText())}get root(){return o(this)}};(function(e,r,o,a){var g,i=arguments.length,l=i<3?r:null===a?a=Object.getOwnPropertyDescriptor(r,o):a;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)l=Reflect.decorate(e,r,o,a);else for(var t=e.length-1;t>=0;t--)(g=e[t])&&(l=(i<3?g(l):i>3?g(r,o,l):g(r,o))||l);i>3&&l&&Object.defineProperty(r,o,l)})([i({childList:!0,subtree:!0,characterData:!0})],t.prototype,"onMutation",null),t.style=":host{display:inline-block;block-size:fit-content;border-radius:var(--gse-ui-badge-borderRadius)}.gux-badge{display:flex;flex-direction:row;gap:var(--gse-ui-badge-gap);align-items:center;justify-content:center;block-size:var(--gse-ui-badge-height);padding:var(--gse-ui-badge-padding);font-family:var(--gse-ui-badge-text-fontFamily);font-size:var(--gse-ui-badge-text-fontSize);font-weight:var(--gse-ui-badge-text-fontWeight);line-height:var(--gse-ui-badge-text-lineHeight);border-radius:var(--gse-ui-badge-borderRadius)}.gux-badge gux-tooltip-title{white-space:nowrap}.gux-badge .gux-sr-only{}.gux-badge .gux-sr-only:not(:focus):not(:active){position:absolute;width:1px;height:1px;overflow:hidden;white-space:nowrap;clip-path:inset(50%)}.gux-badge.gux-info{color:var(--gse-ui-badge-info-regular-foregroundColor);background-color:var(--gse-ui-badge-info-regular-backgroundColor)}.gux-badge.gux-info.gux-bold{color:var(--gse-ui-badge-info-bold-foregroundColor);background-color:var(--gse-ui-badge-info-bold-backgroundColor)}.gux-badge.gux-error{color:var(--gse-ui-badge-error-regular-foregroundColor);background-color:var(--gse-ui-badge-error-regular-backgroundColor)}.gux-badge.gux-error.gux-bold{color:var(--gse-ui-badge-error-bold-foregroundColor);background-color:var(--gse-ui-badge-error-bold-backgroundColor)}.gux-badge.gux-warning{color:var(--gse-ui-badge-warning-regular-foregroundColor);background-color:var(--gse-ui-badge-warning-regular-backgroundColor)}.gux-badge.gux-warning.gux-bold{color:var(--gse-ui-badge-warning-bold-foregroundColor);background-color:var(--gse-ui-badge-warning-bold-backgroundColor)}.gux-badge.gux-success{color:var(--gse-ui-badge-success-regular-foregroundColor);background-color:var(--gse-ui-badge-success-regular-backgroundColor)}.gux-badge.gux-success.gux-bold{color:var(--gse-ui-badge-success-bold-foregroundColor);background-color:var(--gse-ui-badge-success-bold-backgroundColor)}.gux-badge.gux-inherit{color:inherit;background-color:inherit}";export{t as gux_badge}
1
+ import{r as e,h as r,a as o}from"./p-Dz_2h4jr.js";import{t as a}from"./p-P-hdUE3M.js";import{b as g}from"./p-DmaAM9UB.js";import{O as i}from"./p-0yc9CKxX.js";import"./p-Cd4R0amv.js";var l={info:"badge with label: {label}, accent: info","info-bold":"badge with label: {label}, accent: info bold",success:"badge with label: {label}, accent: success","success-bold":"badge with label: {label}, accent: success bold",warning:"badge with label: {label}, accent: warning","warning-bold":"badge with label: {label}, accent: warning bold",error:"badge with label: {label}, accent: error","error-bold":"badge with label: {label}, accent: error bold",inherit:"badge with label: {label}","inherit-bold":"badge with label: {label}, bold"};const t=class{constructor(r){e(this,r),this.accent="info",this.bold=!1}onMutation(){this.label=this.root.textContent||""}onSlotChange(e){const r=e.composedPath()[0].assignedNodes();this.label=r.map((e=>e.textContent)).join("")}renderBadgeTitle(){return r("gux-tooltip-title",{"aria-hidden":"true"},r("span",null,r("slot",{"aria-hidden":"true",onSlotchange:this.onSlotChange.bind(this)})))}renderSrText(){return r("div",{class:"gux-sr-only"},this.i18n(this.getVariant(),{label:this.label}))}getVariant(){return`${this.accent}${this.bold?"-bold":""}`}async componentWillLoad(){a(this.root),this.i18n=await g(this.root,l)}render(){return r("div",{key:"6f54efc99bfd2d04e2c361ff6fc8fc6b45357900",class:{"gux-badge":!0,[`gux-${this.accent}`]:!0,"gux-bold":this.bold}},this.renderBadgeTitle(),this.renderSrText())}get root(){return o(this)}};(function(e,r,o,a){var g,i=arguments.length,l=i<3?r:null===a?a=Object.getOwnPropertyDescriptor(r,o):a;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)l=Reflect.decorate(e,r,o,a);else for(var t=e.length-1;t>=0;t--)(g=e[t])&&(l=(i<3?g(l):i>3?g(r,o,l):g(r,o))||l);i>3&&l&&Object.defineProperty(r,o,l)})([i({childList:!0,subtree:!0,characterData:!0})],t.prototype,"onMutation",null),t.style=":host{display:inline-block;block-size:fit-content;border-radius:var(--gse-ui-badge-borderRadius)}.gux-badge{display:flex;flex-direction:row;gap:var(--gse-ui-badge-gap);align-items:center;justify-content:center;block-size:var(--gse-ui-badge-height);padding:var(--gse-ui-badge-padding);font-family:var(--gse-ui-badge-text-fontFamily);font-size:var(--gse-ui-badge-text-fontSize);font-weight:var(--gse-ui-badge-text-fontWeight);line-height:var(--gse-ui-badge-text-lineHeight);border-radius:var(--gse-ui-badge-borderRadius)}.gux-badge gux-tooltip-title{white-space:nowrap}.gux-badge .gux-sr-only{}.gux-badge .gux-sr-only:not(:focus):not(:active){position:absolute;width:1px;height:1px;overflow:hidden;white-space:nowrap;clip-path:inset(50%)}.gux-badge.gux-info{color:var(--gse-ui-badge-info-regular-foregroundColor);background-color:var(--gse-ui-badge-info-regular-backgroundColor)}.gux-badge.gux-info.gux-bold{color:var(--gse-ui-badge-info-bold-foregroundColor);background-color:var(--gse-ui-badge-info-bold-backgroundColor)}.gux-badge.gux-error{color:var(--gse-ui-badge-error-regular-foregroundColor);background-color:var(--gse-ui-badge-error-regular-backgroundColor)}.gux-badge.gux-error.gux-bold{color:var(--gse-ui-badge-error-bold-foregroundColor);background-color:var(--gse-ui-badge-error-bold-backgroundColor)}.gux-badge.gux-warning{color:var(--gse-ui-badge-warning-regular-foregroundColor);background-color:var(--gse-ui-badge-warning-regular-backgroundColor)}.gux-badge.gux-warning.gux-bold{color:var(--gse-ui-badge-warning-bold-foregroundColor);background-color:var(--gse-ui-badge-warning-bold-backgroundColor)}.gux-badge.gux-success{color:var(--gse-ui-badge-success-regular-foregroundColor);background-color:var(--gse-ui-badge-success-regular-backgroundColor)}.gux-badge.gux-success.gux-bold{color:var(--gse-ui-badge-success-bold-foregroundColor);background-color:var(--gse-ui-badge-success-bold-backgroundColor)}.gux-badge.gux-inherit{color:inherit;background-color:inherit}";export{t as gux_badge}
@@ -1 +1 @@
1
- import{r as e,f as o,h as r,a as t}from"./p-Dz_2h4jr.js";import{O as i}from"./p-0yc9CKxX.js";import{h as l}from"./p-qzV3vtOw.js";import{l as a}from"./p-DxtJDeL9.js";import{b as s}from"./p-DmaAM9UB.js";import{s as n}from"./p-BMRf5pjV.js";import{a as f,G as h}from"./p-JPhxXbs4.js";import{G as u,a as c,b as g}from"./p-DrJn2EIj.js";import{g as d}from"./p-MAoEg4ig.js";import{t as p}from"./p-CqFA-9uw.js";import"./p-Cd4R0amv.js";function x(e,o){if(o){const{checkedCheckboxes:r,totalCheckboxes:t}=function(e){const o=m(e).length,r=function(e){return m(e).filter((e=>e.checked))}(e).length;return{checkedCheckboxes:r,totalCheckboxes:o}}(e);0===r?(o.indeterminate=!1,o.checked=!1):r===t?(o.indeterminate=!1,o.checked=!0):o.indeterminate=!0}}function m(e){return Array.from(e.querySelectorAll('gux-form-field-checkbox input:not(gux-form-field-checkbox[slot="group-checkbox"] input'))}var b={required:"Required"};const v=class{constructor(o){e(this,o),this.indicatorMark="required",this.required=!1,this.hasGroupError=!1,this.hasGroupHelp=!1,this.hasGroupLabelInfo=!1,this.disabled=!1}watchGroupError(e){const o=this.root.querySelectorAll("gux-form-field-checkbox");o&&o.forEach((o=>{o.hasGroupError=e}))}watchDisabled(){this.setDisabledCheckboxes()}onMutation(){this.hasGroupError=l(this.root,"group-error"),this.hasGroupHelp=l(this.root,"group-help"),this.hasGroupLabelInfo=l(this.root,"group-label-info")}async componentWillLoad(){this.getI18nValue=await s(this.root,b),this.hasGroupError=l(this.root,"group-error"),this.hasGroupHelp=l(this.root,"group-help"),this.hasGroupLabelInfo=l(this.root,"group-label-info"),this.setLabel(),this.setDisabledCheckboxes(),p(this.root)}componentDidLoad(){x(this.root,this.root.querySelector('gux-form-field-checkbox[slot="group-checkbox"] input'))}disconnectedCallback(){this.disabledObserver&&this.disabledObserver.disconnect()}getGroupCheckboxElement(){return this.root.querySelector('gux-form-field-checkbox[slot="group-checkbox"] input')}setDisabledCheckboxes(){const e=this.root.querySelectorAll("gux-form-field-checkbox");e&&e.forEach((e=>{e.hasGroupDisabled=this.disabled}))}onMainCheckboxChange(){const e=this.getGroupCheckboxElement();var r;r=e.checked,m(this.root).forEach((e=>{e.checked===r||e.disabled||(e.checked=r,n(e,"input"),n(e,"change"))})),o(this.root)}setupNestedCheckboxes(){this.warnMultipleGroupCheckbox(),this.warnGroupCheckboxNameAttr();const e=this.getGroupCheckboxElement();e?this.root.classList.add("gux-group-checkbox"):this.root.classList.remove("gux-group-checkbox"),null==e||e.addEventListener("change",(()=>{this.onMainCheckboxChange()})),this.initialSetNestedCheckboxes(null==e?void 0:e.checked)}initialSetNestedCheckboxes(e){const o=Array.from(this.root.querySelectorAll('gux-form-field-checkbox input:not(gux-form-field-checkbox[slot="group-checkbox"] input)'));(null==o?void 0:o.length)&&o.forEach((o=>{o.addEventListener("change",(()=>{this.updateMainCheckbox()})),e&&!o.disabled&&(o.checked=!0)}))}warnMultipleGroupCheckbox(){const e=this.root.querySelectorAll('gux-form-field-checkbox[slot="group-checkbox"] input');(null==e?void 0:e.length)>1&&a(this.root,"Can only have one group checkbox")}warnGroupCheckboxNameAttr(){const e=this.getGroupCheckboxElement();(null==e?void 0:e.hasAttribute("name"))&&a(this.root,"Group checkbox should not have a name attribute")}updateMainCheckbox(){x(this.root,this.root.querySelector('gux-form-field-checkbox[slot="group-checkbox"] input')),o(this.root)}renderText(e,o=!1){if(o)return" "+e}render(){var e;return r(g,{key:"cd41207bcf0e7fa581f45453c978e417f00399cd",labelPosition:"above"},r(c,{key:"c5cc46f0e994f49d5c2ce4eee68d0001c2c301ac"},null===(e=this.label)||void 0===e?void 0:e.textContent,this.renderText(this.getI18nValue("required"),this.required),this.renderText(d(this.root,"group-error"),this.hasGroupError),this.renderText(d(this.root,"group-help"),this.hasGroupHelp),this.renderText(d(this.root,"group-label-info"),this.hasGroupLabelInfo)),r(u,{key:"018a9dcafe88d3337bea53a53488083b5b27a6d2",position:"above",required:this.required},r("slot",{key:"e3fb3a38dc90f18b43a618b2a2cb0df8b622d569",name:"group-label",onSlotchange:()=>this.setLabel()}),r("gux-form-field-label-indicator",{key:"26c540bbe51f05d763b28b52b4da9ca243d81cda",variant:this.indicatorMark,required:this.required}),r("slot",{key:"6e8b26bdd292e7a05a0e62d05767240e87bc8ae1",name:"group-label-info"})),r("slot",{key:"998cdb3c4498c27a0524f0103e38724397d462eb",onSlotchange:()=>this.setupNestedCheckboxes(),name:"group-checkbox"}),r("slot",{key:"7b4a080ba9712aa65137ee74337f1185b6671d1d",onSlotchange:()=>this.updateMainCheckbox()}),r(h,{key:"c137d23ed93339078fe224111d085eed892995f3",show:this.hasGroupError},r("slot",{key:"c30cbc6ec4417faaf69091f5eb9104ec14fab858",name:"group-error"})),r(f,{key:"a6217901c574c013c1234399031fec442f18cd08",show:!this.hasGroupError&&this.hasGroupHelp},r("slot",{key:"072e27395b31e3fd73203f75d9e7148369ff0895",name:"group-help"})))}setLabel(){this.label=this.root.querySelector('label[slot="group-label"]')}get root(){return t(this)}static get watchers(){return{hasGroupError:["watchGroupError"],disabled:["watchDisabled"]}}};(function(e,o,r,t){var i,l=arguments.length,a=l<3?o:null===t?t=Object.getOwnPropertyDescriptor(o,r):t;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(e,o,r,t);else for(var s=e.length-1;s>=0;s--)(i=e[s])&&(a=(l<3?i(a):l>3?i(o,r,a):i(o,r))||a);l>3&&a&&Object.defineProperty(o,r,a)})([i({childList:!0,subtree:!0})],v.prototype,"onMutation",null),v.style=".gux-form-field-fieldset-container{display:flex;min-inline-size:0;padding:0;margin:0;border:none}.gux-form-field-fieldset-container.gux-beside{flex-direction:row}.gux-form-field-fieldset-container.gux-above{flex-direction:column}.gux-form-field-error{display:none;flex-direction:row;flex-wrap:nowrap;gap:var(--gse-ui-formControl-helper-gap);place-content:stretch flex-start;padding:var(--gse-ui-formControl-helper-errorPadding);font-family:var(--gse-ui-formControl-helper-helperText-fontFamily);font-size:var(--gse-ui-formControl-helper-helperText-fontSize);line-height:var(--gse-ui-formControl-helper-helperText-lineHeight);color:var(--gse-ui-formControl-helper-errorColor)}.gux-form-field-error.gux-show{display:flex}.gux-form-field-error gux-icon{flex:0 0 auto;order:0;color:var(--gse-ui-formControl-helper-errorColor)}.gux-form-field-error .gux-message{flex:0 1 auto;align-self:auto;order:0}.gux-form-field-help{display:none;flex-direction:row;flex-wrap:nowrap;place-content:stretch flex-start;align-items:flex-start;justify-content:flex-start;padding-block-start:var(--gse-ui-formControl-formField-gap);font-family:var(--gse-ui-formControl-helper-helperText-fontFamily);font-size:var(--gse-ui-formControl-helper-helperText-fontSize);line-height:var(--gse-ui-formControl-helper-helperText-lineHeight);color:var(--gse-ui-formControl-helper-defaultColor)}.gux-form-field-help.gux-show{display:flex}.gux-form-field-help .gux-message{flex:0 1 auto;align-self:none;order:0}.gux-form-field-error{display:none;flex-direction:row;flex-wrap:nowrap;gap:var(--gse-ui-formControl-helper-gap);place-content:stretch flex-start;padding:var(--gse-ui-formControl-helper-errorPadding);font-family:var(--gse-ui-formControl-helper-helperText-fontFamily);font-size:var(--gse-ui-formControl-helper-helperText-fontSize);line-height:var(--gse-ui-formControl-helper-helperText-lineHeight);color:var(--gse-ui-formControl-helper-errorColor)}.gux-form-field-error.gux-show{display:flex}.gux-form-field-error gux-icon{flex:0 0 auto;order:0;color:var(--gse-ui-formControl-helper-errorColor)}.gux-form-field-error .gux-message{flex:0 1 auto;align-self:auto;order:0}.gux-form-field-help{display:none;flex-direction:row;flex-wrap:nowrap;place-content:stretch flex-start;align-items:flex-start;justify-content:flex-start;padding-block-start:var(--gse-ui-formControl-formField-gap);font-family:var(--gse-ui-formControl-helper-helperText-fontFamily);font-size:var(--gse-ui-formControl-helper-helperText-fontSize);line-height:var(--gse-ui-formControl-helper-helperText-lineHeight);color:var(--gse-ui-formControl-helper-defaultColor)}.gux-form-field-help.gux-show{display:flex}.gux-form-field-help .gux-message{flex:0 1 auto;align-self:none;order:0}.gux-form-field-visual-label{display:inline-flex;flex:1 0 auto}.gux-form-field-visual-label ::slotted(label){min-inline-size:0}.gux-form-field-visual-label ::slotted(gux-label-info-beta){padding-inline-start:var(--gse-ui-formControl-formField-gap)}.gux-form-field-visual-label.gux-beside{position:relative;inset-block-start:var(--gse-ui-formControl-input-top);inline-size:fit-content;min-inline-size:var(--gse-ui-formControl-input-textfield-minWidth);max-inline-size:fit-content;margin-inline-end:var(--gse-ui-formControl-group-gapItems)}.gux-form-field-visual-label.gux-above{padding-block-end:var(--gse-ui-formControl-formField-gap)}.gux-form-field-visual-label.gux-screenreader{display:none}.gux-form-field-screenreader-label{position:absolute;top:auto;left:-10000px;width:1px;height:1px;overflow:hidden}:host{display:block}:host([disabled]) .gux-form-field-legend-label{opacity:var(--gse-ui-formControl-input-disabled-opacity)}::slotted(gux-form-field-checkbox){padding-block-start:var(--gse-ui-formControl-group-gapItems)}::slotted(gux-form-field-checkbox:first-of-type){padding-block-start:0}:host(.gux-group-checkbox) ::slotted(gux-form-field-checkbox){padding-inline-start:var(--gse-ui-checkbox-group-paddingLeft)}:host(.gux-group-checkbox) slot[name=group-checkbox]::slotted(gux-form-field-checkbox){padding-inline-start:0}.gux-form-field-legend-label{font-family:var(--gse-ui-formControl-label-text-fontFamily);font-size:var(--gse-ui-formControl-label-text-fontSize);font-weight:var(--gse-ui-formControl-label-text-fontWeight);line-height:var(--gse-ui-formControl-label-text-lineHeight);color:var(--gse-ui-formControl-label-labelColor)}:host([disabled]) ::slotted(label){opacity:var(--gse-ui-formControl-input-disabled-opacity)}::slotted(label){font-family:var(--gse-ui-formControl-label-textBold-fontFamily);font-size:var(--gse-ui-formControl-label-textBold-fontSize);font-weight:var(--gse-ui-formControl-label-textBold-fontWeight);line-height:var(--gse-ui-formControl-label-textBold-lineHeight);color:var(--gse-ui-formControl-label-labelColor)}";export{v as gux_form_field_checkbox_group_beta}
1
+ import{r as e,f as o,h as r,a as t}from"./p-Dz_2h4jr.js";import{O as i}from"./p-0yc9CKxX.js";import{h as l}from"./p-qzV3vtOw.js";import{l as a}from"./p-DxtJDeL9.js";import{b as s}from"./p-DmaAM9UB.js";import{s as n}from"./p-BMRf5pjV.js";import{a as f,G as h}from"./p-JPhxXbs4.js";import{G as u,a as g,b as c}from"./p-DrJn2EIj.js";import{g as d}from"./p-MAoEg4ig.js";import{t as p}from"./p-P-hdUE3M.js";import"./p-Cd4R0amv.js";function x(e,o){if(o){const{checkedCheckboxes:r,totalCheckboxes:t}=function(e){const o=m(e).length,r=function(e){return m(e).filter((e=>e.checked))}(e).length;return{checkedCheckboxes:r,totalCheckboxes:o}}(e);0===r?(o.indeterminate=!1,o.checked=!1):r===t?(o.indeterminate=!1,o.checked=!0):o.indeterminate=!0}}function m(e){return Array.from(e.querySelectorAll('gux-form-field-checkbox input:not(gux-form-field-checkbox[slot="group-checkbox"] input'))}var b={required:"Required"};const v=class{constructor(o){e(this,o),this.indicatorMark="required",this.required=!1,this.hasGroupError=!1,this.hasGroupHelp=!1,this.hasGroupLabelInfo=!1,this.disabled=!1}watchGroupError(e){const o=this.root.querySelectorAll("gux-form-field-checkbox");o&&o.forEach((o=>{o.hasGroupError=e}))}watchDisabled(){this.setDisabledCheckboxes()}onMutation(){this.hasGroupError=l(this.root,"group-error"),this.hasGroupHelp=l(this.root,"group-help"),this.hasGroupLabelInfo=l(this.root,"group-label-info")}async componentWillLoad(){this.getI18nValue=await s(this.root,b),this.hasGroupError=l(this.root,"group-error"),this.hasGroupHelp=l(this.root,"group-help"),this.hasGroupLabelInfo=l(this.root,"group-label-info"),this.setLabel(),this.setDisabledCheckboxes(),p(this.root)}componentDidLoad(){x(this.root,this.root.querySelector('gux-form-field-checkbox[slot="group-checkbox"] input'))}disconnectedCallback(){this.disabledObserver&&this.disabledObserver.disconnect()}getGroupCheckboxElement(){return this.root.querySelector('gux-form-field-checkbox[slot="group-checkbox"] input')}setDisabledCheckboxes(){const e=this.root.querySelectorAll("gux-form-field-checkbox");e&&e.forEach((e=>{e.hasGroupDisabled=this.disabled}))}onMainCheckboxChange(){const e=this.getGroupCheckboxElement();var r;r=e.checked,m(this.root).forEach((e=>{e.checked===r||e.disabled||(e.checked=r,n(e,"input"),n(e,"change"))})),o(this.root)}setupNestedCheckboxes(){this.warnMultipleGroupCheckbox(),this.warnGroupCheckboxNameAttr();const e=this.getGroupCheckboxElement();e?this.root.classList.add("gux-group-checkbox"):this.root.classList.remove("gux-group-checkbox"),null==e||e.addEventListener("change",(()=>{this.onMainCheckboxChange()})),this.initialSetNestedCheckboxes(null==e?void 0:e.checked)}initialSetNestedCheckboxes(e){const o=Array.from(this.root.querySelectorAll('gux-form-field-checkbox input:not(gux-form-field-checkbox[slot="group-checkbox"] input)'));(null==o?void 0:o.length)&&o.forEach((o=>{o.addEventListener("change",(()=>{this.updateMainCheckbox()})),e&&!o.disabled&&(o.checked=!0)}))}warnMultipleGroupCheckbox(){const e=this.root.querySelectorAll('gux-form-field-checkbox[slot="group-checkbox"] input');(null==e?void 0:e.length)>1&&a(this.root,"Can only have one group checkbox")}warnGroupCheckboxNameAttr(){const e=this.getGroupCheckboxElement();(null==e?void 0:e.hasAttribute("name"))&&a(this.root,"Group checkbox should not have a name attribute")}updateMainCheckbox(){x(this.root,this.root.querySelector('gux-form-field-checkbox[slot="group-checkbox"] input')),o(this.root)}renderText(e,o=!1){if(o)return" "+e}render(){var e;return r(c,{key:"8b23a6004b0b565409f77c8d8f76268777e4a46a",labelPosition:"above"},r(g,{key:"8db961d61792294a029105c59e6c6899cc0f824a"},null===(e=this.label)||void 0===e?void 0:e.textContent,this.renderText(this.getI18nValue("required"),this.required),this.renderText(d(this.root,"group-error"),this.hasGroupError),this.renderText(d(this.root,"group-help"),this.hasGroupHelp),this.renderText(d(this.root,"group-label-info"),this.hasGroupLabelInfo)),r(u,{key:"122b2a5e72978b9270d18250deca99aeab059964",position:"above",required:this.required},r("slot",{key:"672ea692498842082ce1280e14b73e076985873d",name:"group-label",onSlotchange:()=>this.setLabel()}),r("gux-form-field-label-indicator",{key:"2c1265810dd5e1493c16d6d38e6c649eb211adc4",variant:this.indicatorMark,required:this.required}),r("slot",{key:"21198558848aa14c73100f96f5d24e0174e34ca8",name:"group-label-info"})),r("slot",{key:"24253f95315f0c3772af65205841142f24f55c3f",onSlotchange:()=>this.setupNestedCheckboxes(),name:"group-checkbox"}),r("slot",{key:"454967df941b0b97105fc9b0d9570e068123eb6c",onSlotchange:()=>this.updateMainCheckbox()}),r(h,{key:"2f202060aef97b2a3b0102141208519de48e2fcc",show:this.hasGroupError},r("slot",{key:"9218a8634edc62dc2858c7a5fae894884e86d3fa",name:"group-error"})),r(f,{key:"c8f856367bf01b0549c4d85f767daf4904b61e32",show:!this.hasGroupError&&this.hasGroupHelp},r("slot",{key:"88d4a2a31f3900876ddfedf0e159bf483058e388",name:"group-help"})))}setLabel(){this.label=this.root.querySelector('label[slot="group-label"]')}get root(){return t(this)}static get watchers(){return{hasGroupError:["watchGroupError"],disabled:["watchDisabled"]}}};(function(e,o,r,t){var i,l=arguments.length,a=l<3?o:null===t?t=Object.getOwnPropertyDescriptor(o,r):t;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(e,o,r,t);else for(var s=e.length-1;s>=0;s--)(i=e[s])&&(a=(l<3?i(a):l>3?i(o,r,a):i(o,r))||a);l>3&&a&&Object.defineProperty(o,r,a)})([i({childList:!0,subtree:!0})],v.prototype,"onMutation",null),v.style=".gux-form-field-fieldset-container{display:flex;min-inline-size:0;padding:0;margin:0;border:none}.gux-form-field-fieldset-container.gux-beside{flex-direction:row}.gux-form-field-fieldset-container.gux-above{flex-direction:column}.gux-form-field-error{display:none;flex-direction:row;flex-wrap:nowrap;gap:var(--gse-ui-formControl-helper-gap);place-content:stretch flex-start;padding:var(--gse-ui-formControl-helper-errorPadding);font-family:var(--gse-ui-formControl-helper-helperText-fontFamily);font-size:var(--gse-ui-formControl-helper-helperText-fontSize);line-height:var(--gse-ui-formControl-helper-helperText-lineHeight);color:var(--gse-ui-formControl-helper-errorColor)}.gux-form-field-error.gux-show{display:flex}.gux-form-field-error gux-icon{flex:0 0 auto;order:0;color:var(--gse-ui-formControl-helper-errorColor)}.gux-form-field-error .gux-message{flex:0 1 auto;align-self:auto;order:0}.gux-form-field-help{display:none;flex-direction:row;flex-wrap:nowrap;place-content:stretch flex-start;align-items:flex-start;justify-content:flex-start;padding-block-start:var(--gse-ui-formControl-formField-gap);font-family:var(--gse-ui-formControl-helper-helperText-fontFamily);font-size:var(--gse-ui-formControl-helper-helperText-fontSize);line-height:var(--gse-ui-formControl-helper-helperText-lineHeight);color:var(--gse-ui-formControl-helper-defaultColor)}.gux-form-field-help.gux-show{display:flex}.gux-form-field-help .gux-message{flex:0 1 auto;align-self:none;order:0}.gux-form-field-error{display:none;flex-direction:row;flex-wrap:nowrap;gap:var(--gse-ui-formControl-helper-gap);place-content:stretch flex-start;padding:var(--gse-ui-formControl-helper-errorPadding);font-family:var(--gse-ui-formControl-helper-helperText-fontFamily);font-size:var(--gse-ui-formControl-helper-helperText-fontSize);line-height:var(--gse-ui-formControl-helper-helperText-lineHeight);color:var(--gse-ui-formControl-helper-errorColor)}.gux-form-field-error.gux-show{display:flex}.gux-form-field-error gux-icon{flex:0 0 auto;order:0;color:var(--gse-ui-formControl-helper-errorColor)}.gux-form-field-error .gux-message{flex:0 1 auto;align-self:auto;order:0}.gux-form-field-help{display:none;flex-direction:row;flex-wrap:nowrap;place-content:stretch flex-start;align-items:flex-start;justify-content:flex-start;padding-block-start:var(--gse-ui-formControl-formField-gap);font-family:var(--gse-ui-formControl-helper-helperText-fontFamily);font-size:var(--gse-ui-formControl-helper-helperText-fontSize);line-height:var(--gse-ui-formControl-helper-helperText-lineHeight);color:var(--gse-ui-formControl-helper-defaultColor)}.gux-form-field-help.gux-show{display:flex}.gux-form-field-help .gux-message{flex:0 1 auto;align-self:none;order:0}.gux-form-field-visual-label{display:inline-flex;flex:1 0 auto}.gux-form-field-visual-label ::slotted(label){min-inline-size:0}.gux-form-field-visual-label ::slotted(gux-label-info-beta){padding-inline-start:var(--gse-ui-formControl-formField-gap)}.gux-form-field-visual-label.gux-beside{position:relative;inset-block-start:var(--gse-ui-formControl-input-top);inline-size:fit-content;min-inline-size:var(--gse-ui-formControl-input-textfield-minWidth);max-inline-size:fit-content;margin-inline-end:var(--gse-ui-formControl-group-gapItems)}.gux-form-field-visual-label.gux-above{padding-block-end:var(--gse-ui-formControl-formField-gap)}.gux-form-field-visual-label.gux-screenreader{display:none}.gux-form-field-screenreader-label{position:absolute;top:auto;left:-10000px;width:1px;height:1px;overflow:hidden}:host{display:block}:host([disabled]) .gux-form-field-legend-label{opacity:var(--gse-ui-formControl-input-disabled-opacity)}::slotted(gux-form-field-checkbox){padding-block-start:var(--gse-ui-formControl-group-gapItems)}::slotted(gux-form-field-checkbox:first-of-type){padding-block-start:0}:host(.gux-group-checkbox) ::slotted(gux-form-field-checkbox){padding-inline-start:var(--gse-ui-checkbox-group-paddingLeft)}:host(.gux-group-checkbox) slot[name=group-checkbox]::slotted(gux-form-field-checkbox){padding-inline-start:0}.gux-form-field-legend-label{font-family:var(--gse-ui-formControl-label-text-fontFamily);font-size:var(--gse-ui-formControl-label-text-fontSize);font-weight:var(--gse-ui-formControl-label-text-fontWeight);line-height:var(--gse-ui-formControl-label-text-lineHeight);color:var(--gse-ui-formControl-label-labelColor)}:host([disabled]) ::slotted(label){opacity:var(--gse-ui-formControl-input-disabled-opacity)}::slotted(label){font-family:var(--gse-ui-formControl-label-textBold-fontFamily);font-size:var(--gse-ui-formControl-label-textBold-fontSize);font-weight:var(--gse-ui-formControl-label-textBold-fontWeight);line-height:var(--gse-ui-formControl-label-textBold-lineHeight);color:var(--gse-ui-formControl-label-labelColor)}";export{v as gux_form_field_checkbox_group_beta}