genesys-spark-components 4.185.4 → 4.186.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (755) hide show
  1. package/dist/cjs/genesys-webcomponents.cjs.js +2 -2
  2. package/dist/cjs/{get-valid-timezone-CxcDLGWB.js → get-valid-timezone-wrCyyRlV.js} +1 -1
  3. package/dist/cjs/gux-accordion-section.cjs.entry.js +6 -6
  4. package/dist/cjs/gux-accordion.cjs.entry.js +3 -3
  5. package/dist/cjs/gux-action-button.cjs.entry.js +5 -5
  6. package/dist/cjs/gux-action-toast-legacy.cjs.entry.js +3 -3
  7. package/dist/cjs/gux-advanced-dropdown-legacy.cjs.entry.js +6 -6
  8. package/dist/cjs/gux-all-row-select.cjs.entry.js +3 -3
  9. package/dist/cjs/gux-announce-beta.cjs.entry.js +2 -2
  10. package/dist/cjs/gux-avatar-beta.cjs.entry.js +3 -3
  11. package/dist/cjs/gux-avatar-change-photo-beta.cjs.entry.js +3 -3
  12. package/dist/cjs/gux-avatar-focusable-beta.cjs.entry.js +1 -1
  13. package/dist/cjs/gux-avatar-group-add-item-beta_3.cjs.entry.js +4 -4
  14. package/dist/cjs/gux-avatar-group-beta.cjs.entry.js +2 -2
  15. package/dist/cjs/gux-avatar-group-item-beta.cjs.entry.js +2 -2
  16. package/dist/cjs/gux-badge.cjs.entry.js +5 -5
  17. package/dist/cjs/gux-blank-state-beta.cjs.entry.js +3 -3
  18. package/dist/cjs/gux-blank-state.cjs.entry.js +4 -4
  19. package/dist/cjs/gux-branch-multi.cjs.entry.js +85 -0
  20. package/dist/cjs/gux-branch.cjs.entry.js +78 -0
  21. package/dist/cjs/gux-breadcrumb-item.cjs.entry.js +2 -2
  22. package/dist/cjs/gux-breadcrumbs.cjs.entry.js +4 -4
  23. package/dist/cjs/gux-button-multi.cjs.entry.js +4 -4
  24. package/dist/cjs/gux-button-slot.cjs.entry.js +3 -3
  25. package/dist/cjs/gux-button_2.cjs.entry.js +7 -7
  26. package/dist/cjs/gux-calendar-beta.cjs.entry.js +2 -2
  27. package/dist/cjs/gux-calendar.cjs.entry.js +4 -4
  28. package/dist/cjs/gux-card.cjs.entry.js +4 -4
  29. package/dist/cjs/gux-cloud-logo-beta.cjs.entry.js +3 -3
  30. package/dist/cjs/gux-cloud-logomark-beta.cjs.entry.js +3 -3
  31. package/dist/cjs/gux-column-manager-item.cjs.entry.js +5 -5
  32. package/dist/cjs/gux-column-manager.cjs.entry.js +4 -4
  33. package/dist/cjs/gux-content-search.cjs.entry.js +5 -5
  34. package/dist/cjs/gux-context-menu.cjs.entry.js +6 -6
  35. package/dist/cjs/gux-copy-to-clipboard.cjs.entry.js +4 -4
  36. package/dist/cjs/gux-create-option.cjs.entry.js +4 -4
  37. package/dist/cjs/gux-cta-group.cjs.entry.js +1 -1
  38. package/dist/cjs/gux-date-beta.cjs.entry.js +4 -4
  39. package/dist/cjs/gux-date-time-beta.cjs.entry.js +4 -4
  40. package/dist/cjs/gux-datepicker.cjs.entry.js +5 -5
  41. package/dist/cjs/gux-day-beta.cjs.entry.js +2 -2
  42. package/dist/cjs/gux-disclosure-button-legacy.cjs.entry.js +5 -5
  43. package/dist/cjs/gux-dismiss-button.cjs.entry.js +5 -5
  44. package/dist/cjs/gux-dropdown-multi-tag.cjs.entry.js +3 -3
  45. package/dist/cjs/gux-dropdown-multi.cjs.entry.js +6 -6
  46. package/dist/cjs/gux-dropdown-option.cjs.entry.js +2 -2
  47. package/dist/cjs/gux-dropdown_3.cjs.entry.js +8 -8
  48. package/dist/cjs/gux-file-list-item.cjs.entry.js +5 -5
  49. package/dist/cjs/gux-flag-icon-beta.cjs.entry.js +3 -3
  50. package/dist/cjs/gux-flyout-menu.cjs.entry.js +6 -6
  51. package/dist/cjs/gux-form-beta.cjs.entry.js +1 -1
  52. package/dist/cjs/gux-form-description.cjs.entry.js +1 -1
  53. package/dist/cjs/gux-form-field-checkbox-group-beta.cjs.entry.js +8 -8
  54. package/dist/cjs/gux-form-field-checkbox.cjs.entry.js +6 -6
  55. package/dist/cjs/gux-form-field-color.cjs.entry.js +8 -8
  56. package/dist/cjs/{gux-form-field-container-3csXa1_D.js → gux-form-field-container-C_ksnWvh.js} +1 -1
  57. package/dist/cjs/gux-form-field-dropdown.cjs.entry.js +9 -9
  58. package/dist/cjs/{gux-form-field-error-Zis2K2ea.js → gux-form-field-error-DsQplUhW.js} +1 -1
  59. package/dist/cjs/{gux-form-field-fieldset-container-BcJCmFTG.js → gux-form-field-fieldset-container-DDS9BG7u.js} +1 -1
  60. package/dist/cjs/gux-form-field-file-beta.cjs.entry.js +7 -7
  61. package/dist/cjs/gux-form-field-file.cjs.entry.js +6 -6
  62. package/dist/cjs/gux-form-field-input-clear-button.cjs.entry.js +4 -4
  63. package/dist/cjs/gux-form-field-label-indicator.cjs.entry.js +3 -3
  64. package/dist/cjs/gux-form-field-number_2.cjs.entry.js +14 -14
  65. package/dist/cjs/gux-form-field-phone.cjs.entry.js +10 -10
  66. package/dist/cjs/gux-form-field-radio-group-beta.cjs.entry.js +8 -8
  67. package/dist/cjs/gux-form-field-radio.cjs.entry.js +6 -6
  68. package/dist/cjs/gux-form-field-range.cjs.entry.js +8 -8
  69. package/dist/cjs/gux-form-field-search.cjs.entry.js +8 -8
  70. package/dist/cjs/gux-form-field-select.cjs.entry.js +8 -8
  71. package/dist/cjs/gux-form-field-text-like.cjs.entry.js +8 -8
  72. package/dist/cjs/gux-form-field-textarea.cjs.entry.js +7 -7
  73. package/dist/cjs/gux-form-field-time-picker.cjs.entry.js +10 -10
  74. package/dist/cjs/gux-form-field-time-zone-picker.cjs.entry.js +9 -9
  75. package/dist/cjs/gux-form-fieldset-heading.cjs.entry.js +1 -1
  76. package/dist/cjs/gux-form-footer.cjs.entry.js +2 -2
  77. package/dist/cjs/gux-form-heading.cjs.entry.js +1 -1
  78. package/dist/cjs/gux-icon-tooltip-beta.cjs.entry.js +2 -2
  79. package/dist/cjs/gux-icon.cjs.entry.js +3 -3
  80. package/dist/cjs/gux-illustration-beta.cjs.entry.js +2 -2
  81. package/dist/cjs/gux-inline-alert.cjs.entry.js +5 -5
  82. package/dist/cjs/gux-inline-dropdown-beta.cjs.entry.js +5 -5
  83. package/dist/cjs/gux-label-info-beta.cjs.entry.js +2 -2
  84. package/dist/cjs/gux-leaf-multi.cjs.entry.js +70 -0
  85. package/dist/cjs/gux-leaf.cjs.entry.js +68 -0
  86. package/dist/cjs/gux-link-beta.cjs.entry.js +2 -2
  87. package/dist/cjs/gux-list-divider.cjs.entry.js +2 -2
  88. package/dist/cjs/gux-list-item.cjs.entry.js +2 -2
  89. package/dist/cjs/gux-list.cjs.entry.js +3 -3
  90. package/dist/cjs/gux-listbox-multi.cjs.entry.js +4 -4
  91. package/dist/cjs/gux-loading-message.cjs.entry.js +3 -3
  92. package/dist/cjs/gux-logo-beta.cjs.entry.js +3 -3
  93. package/dist/cjs/gux-logomark-beta.cjs.entry.js +3 -3
  94. package/dist/cjs/gux-menu-option.cjs.entry.js +2 -2
  95. package/dist/cjs/gux-menu.cjs.entry.js +2 -2
  96. package/dist/cjs/gux-modal-legacy.cjs.entry.js +4 -4
  97. package/dist/cjs/gux-modal-side-panel-beta.cjs.entry.js +2 -2
  98. package/dist/cjs/gux-modal.cjs.entry.js +3 -3
  99. package/dist/cjs/gux-month-calendar.cjs.entry.js +2 -2
  100. package/dist/cjs/gux-month-list_2.cjs.entry.js +1 -1
  101. package/dist/cjs/gux-month-picker-beta.cjs.entry.js +4 -4
  102. package/dist/cjs/gux-notification-toast-legacy.cjs.entry.js +3 -3
  103. package/dist/cjs/gux-option-group-beta.cjs.entry.js +2 -2
  104. package/dist/cjs/gux-option-icon.cjs.entry.js +3 -3
  105. package/dist/cjs/gux-option-multi.cjs.entry.js +4 -4
  106. package/dist/cjs/gux-option-status-beta.cjs.entry.js +1 -1
  107. package/dist/cjs/gux-page-loading-spinner.cjs.entry.js +3 -3
  108. package/dist/cjs/gux-pagination-buttons-legacy_3.cjs.entry.js +6 -6
  109. package/dist/cjs/gux-pagination-buttons_2.cjs.entry.js +5 -5
  110. package/dist/cjs/gux-pagination-cursor.cjs.entry.js +3 -3
  111. package/dist/cjs/gux-pagination-items-per-page.cjs.entry.js +3 -3
  112. package/dist/cjs/gux-pagination-legacy.cjs.entry.js +3 -3
  113. package/dist/cjs/gux-pagination.cjs.entry.js +3 -3
  114. package/dist/cjs/gux-phone-input-beta.cjs.entry.js +4 -4
  115. package/dist/cjs/gux-popover-beta.cjs.entry.js +3 -3
  116. package/dist/cjs/gux-popover-list-beta.cjs.entry.js +3 -3
  117. package/dist/cjs/gux-popover-list.cjs.entry.js +5 -5
  118. package/dist/cjs/gux-popup.cjs.entry.js +4 -4
  119. package/dist/cjs/gux-prompt-input-beta.cjs.entry.js +3 -3
  120. package/dist/cjs/gux-radial-loading.cjs.entry.js +4 -4
  121. package/dist/cjs/gux-radial-progress.cjs.entry.js +2 -2
  122. package/dist/cjs/gux-rating.cjs.entry.js +5 -5
  123. package/dist/cjs/gux-rich-highlight-list-item.cjs.entry.js +3 -3
  124. package/dist/cjs/gux-rich-style-list-item_3.cjs.entry.js +4 -4
  125. package/dist/cjs/gux-rich-text-editor-action-group.cjs.entry.js +1 -1
  126. package/dist/cjs/gux-rich-text-editor-action-link.cjs.entry.js +4 -4
  127. package/dist/cjs/gux-rich-text-editor-action-rich-style.cjs.entry.js +4 -4
  128. package/dist/cjs/gux-rich-text-editor-action-text-highlight.cjs.entry.js +4 -4
  129. package/dist/cjs/gux-rich-text-editor-action.cjs.entry.js +3 -3
  130. package/dist/cjs/gux-rich-text-editor-beta.cjs.entry.js +5 -5
  131. package/dist/cjs/gux-rich-text-editor-list.cjs.entry.js +2 -2
  132. package/dist/cjs/gux-row-select.cjs.entry.js +4 -4
  133. package/dist/cjs/gux-screen-reader-beta.cjs.entry.js +2 -2
  134. package/dist/cjs/gux-segmented-control-beta.cjs.entry.js +2 -2
  135. package/dist/cjs/gux-segmented-control-divider.cjs.entry.js +1 -1
  136. package/dist/cjs/gux-segmented-control-item.cjs.entry.js +1 -1
  137. package/dist/cjs/gux-select-all.cjs.entry.js +4 -4
  138. package/dist/cjs/gux-selector-card-beta.cjs.entry.js +2 -2
  139. package/dist/cjs/gux-selector-cards-beta.cjs.entry.js +2 -2
  140. package/dist/cjs/gux-side-panel-beta.cjs.entry.js +2 -2
  141. package/dist/cjs/gux-side-panel-header.cjs.entry.js +2 -2
  142. package/dist/cjs/gux-side-panel-heading.cjs.entry.js +2 -2
  143. package/dist/cjs/gux-simple-toast-legacy.cjs.entry.js +3 -3
  144. package/dist/cjs/gux-skip-navigation-item.cjs.entry.js +2 -2
  145. package/dist/cjs/gux-skip-navigation-list.cjs.entry.js +4 -4
  146. package/dist/cjs/gux-sort-control.cjs.entry.js +5 -5
  147. package/dist/cjs/gux-status-indicator-beta.cjs.entry.js +2 -2
  148. package/dist/cjs/gux-step-title.cjs.entry.js +2 -2
  149. package/dist/cjs/gux-step.cjs.entry.js +2 -2
  150. package/dist/cjs/gux-stepper-beta.cjs.entry.js +2 -2
  151. package/dist/cjs/gux-submenu.cjs.entry.js +4 -4
  152. package/dist/cjs/gux-switch-item.cjs.entry.js +2 -2
  153. package/dist/cjs/gux-switch-legacy.cjs.entry.js +3 -3
  154. package/dist/cjs/gux-tab-advanced-list.cjs.entry.js +4 -4
  155. package/dist/cjs/gux-tab-advanced-panel.cjs.entry.js +2 -2
  156. package/dist/cjs/gux-tab-advanced.cjs.entry.js +4 -4
  157. package/dist/cjs/gux-tab-list.cjs.entry.js +5 -5
  158. package/dist/cjs/gux-tab-panel.cjs.entry.js +2 -2
  159. package/dist/cjs/gux-tab.cjs.entry.js +3 -3
  160. package/dist/cjs/gux-table-select-menu.cjs.entry.js +3 -3
  161. package/dist/cjs/gux-table-toolbar-action.cjs.entry.js +4 -4
  162. package/dist/cjs/gux-table-toolbar-custom-action.cjs.entry.js +3 -3
  163. package/dist/cjs/gux-table-toolbar-menu-button.cjs.entry.js +5 -5
  164. package/dist/cjs/gux-table-toolbar.cjs.entry.js +6 -6
  165. package/dist/cjs/gux-table.cjs.entry.js +4 -4
  166. package/dist/cjs/gux-tabs-advanced.cjs.entry.js +3 -3
  167. package/dist/cjs/gux-tabs.cjs.entry.js +3 -3
  168. package/dist/cjs/gux-tag.cjs.entry.js +5 -5
  169. package/dist/cjs/gux-text-highlight.cjs.entry.js +2 -2
  170. package/dist/cjs/gux-time-beta.cjs.entry.js +4 -4
  171. package/dist/cjs/gux-time-picker.cjs.entry.js +5 -5
  172. package/dist/cjs/gux-time-zone-beta.cjs.entry.js +3 -3
  173. package/dist/cjs/gux-time-zone-picker-beta.cjs.entry.js +3 -3
  174. package/dist/cjs/gux-toast.cjs.entry.js +4 -4
  175. package/dist/cjs/gux-toggle-slider.cjs.entry.js +3 -3
  176. package/dist/cjs/gux-toggle.cjs.entry.js +5 -5
  177. package/dist/cjs/gux-tooltip-base-beta_2.cjs.entry.js +2 -2
  178. package/dist/cjs/gux-tooltip-pointer-beta.cjs.entry.js +2 -2
  179. package/dist/cjs/gux-tooltip-title.cjs.entry.js +5 -5
  180. package/dist/cjs/gux-tooltip_2.cjs.entry.js +9 -9
  181. package/dist/cjs/gux-tree-beta.cjs.entry.js +183 -0
  182. package/dist/cjs/gux-tree-multi-beta.cjs.entry.js +204 -0
  183. package/dist/cjs/gux-tree-multi.service-BFBspBvZ.js +313 -0
  184. package/dist/cjs/gux-tree.service-DM6q_PoD.js +240 -0
  185. package/dist/cjs/{index-Bfx8AGPj.js → index-C1LZ-Zd8.js} +25 -1
  186. package/dist/cjs/{index-C2XfGATp.js → index-CjUBUVCO.js} +1 -1
  187. package/dist/cjs/loader.cjs.js +2 -2
  188. package/dist/cjs/{on-click-outside-DSTNdYO6.js → on-click-outside-CXDzyPsA.js} +1 -1
  189. package/dist/cjs/{on-mutation-C-pkBYfu.js → on-mutation-Bpt2qL-s.js} +1 -1
  190. package/dist/cjs/{on-resize-CCaffmJ7.js → on-resize-nisbdZkE.js} +1 -1
  191. package/dist/cjs/{usage-D2AUYEBS.js → usage-o6I3mOuO.js} +1 -1
  192. package/dist/collection/collection-manifest.json +6 -0
  193. package/dist/collection/components/beta/gux-tree/gux-branch/gux-branch.css +114 -0
  194. package/dist/collection/components/beta/gux-tree/gux-branch/gux-branch.js +209 -0
  195. package/dist/collection/components/beta/gux-tree/gux-leaf/gux-leaf.css +86 -0
  196. package/dist/collection/components/beta/gux-tree/gux-leaf/gux-leaf.js +179 -0
  197. package/dist/collection/components/beta/gux-tree/gux-tree.css +13 -0
  198. package/dist/collection/components/beta/gux-tree/gux-tree.js +296 -0
  199. package/dist/collection/components/beta/gux-tree/gux-tree.service.js +220 -0
  200. package/dist/collection/components/beta/gux-tree/gux-tree.types.js +1 -0
  201. package/dist/collection/components/beta/gux-tree/tests/gux-tree.common.js +137 -0
  202. package/dist/collection/components/beta/gux-tree-multi/gux-branch-multi/gux-branch-multi.css +122 -0
  203. package/dist/collection/components/beta/gux-tree-multi/gux-branch-multi/gux-branch-multi.js +236 -0
  204. package/dist/collection/components/beta/gux-tree-multi/gux-leaf-multi/gux-leaf-multi.css +100 -0
  205. package/dist/collection/components/beta/gux-tree-multi/gux-leaf-multi/gux-leaf-multi.js +181 -0
  206. package/dist/collection/components/beta/gux-tree-multi/gux-tree-multi.css +13 -0
  207. package/dist/collection/components/beta/gux-tree-multi/gux-tree-multi.js +318 -0
  208. package/dist/collection/components/beta/gux-tree-multi/gux-tree-multi.service.js +320 -0
  209. package/dist/collection/components/beta/gux-tree-multi/gux-tree-multi.types.js +1 -0
  210. package/dist/collection/components/beta/gux-tree-multi/tests/gux-tree-multi.common.js +56 -0
  211. package/dist/collection/components/legacy/gux-action-toast-legacy/gux-action-toast.js +1 -1
  212. package/dist/collection/components/legacy/gux-advanced-dropdown-legacy/dropdown-option/gux-dropdown-option.js +1 -1
  213. package/dist/collection/components/legacy/gux-advanced-dropdown-legacy/gux-advanced-dropdown.js +2 -2
  214. package/dist/collection/components/legacy/gux-disclosure-button-legacy/gux-disclosure-button.js +2 -2
  215. package/dist/collection/components/legacy/gux-modal-legacy/gux-modal-legacy.js +2 -2
  216. package/dist/collection/components/legacy/gux-notification-toast-legacy/gux-notification-toast.js +1 -1
  217. package/dist/collection/components/legacy/gux-pagination-legacy/gux-pagination-buttons-legacy/gux-pagination-buttons.js +1 -1
  218. package/dist/collection/components/legacy/gux-pagination-legacy/gux-pagination-item-counts-legacy/gux-pagination-item-counts.js +2 -2
  219. package/dist/collection/components/legacy/gux-pagination-legacy/gux-pagination-items-per-page-legacy/gux-pagination-items-per-page.js +1 -1
  220. package/dist/collection/components/legacy/gux-pagination-legacy/gux-pagination.js +1 -1
  221. package/dist/collection/components/legacy/gux-simple-toast-legacy/gux-simple-toast.js +1 -1
  222. package/dist/collection/components/legacy/gux-switch-legacy/gux-switch-item/gux-switch-item.js +1 -1
  223. package/dist/collection/components/legacy/gux-switch-legacy/gux-switch.js +1 -1
  224. package/dist/collection/components/stable/gux-accordion/gux-accordion-section/gux-accordion-section.js +5 -5
  225. package/dist/collection/components/stable/gux-accordion/gux-accordion.js +1 -1
  226. package/dist/collection/components/stable/gux-action-button/gux-action-button.js +1 -1
  227. package/dist/collection/components/stable/gux-badge/gux-badge.js +1 -1
  228. package/dist/collection/components/stable/gux-blank-state/gux-blank-state.js +1 -1
  229. package/dist/collection/components/stable/gux-breadcrumbs/breadcrumb-item/gux-breadcrumb-item.js +1 -1
  230. package/dist/collection/components/stable/gux-breadcrumbs/gux-breadcrumbs.js +1 -1
  231. package/dist/collection/components/stable/gux-button/gux-button.js +2 -2
  232. package/dist/collection/components/stable/gux-button-multi/gux-button-multi.js +1 -1
  233. package/dist/collection/components/stable/gux-button-slot/gux-button-slot.js +1 -1
  234. package/dist/collection/components/stable/gux-calendar/gux-calendar.js +1 -1
  235. package/dist/collection/components/stable/gux-card/gux-card.js +2 -2
  236. package/dist/collection/components/stable/gux-column-manager/gux-column-manager-item/gux-column-manager-item.js +3 -3
  237. package/dist/collection/components/stable/gux-column-manager/gux-column-manager.js +1 -1
  238. package/dist/collection/components/stable/gux-content-search/gux-content-search.js +2 -2
  239. package/dist/collection/components/stable/gux-context-menu/gux-context-menu.js +2 -2
  240. package/dist/collection/components/stable/gux-copy-to-clipboard/gux-copy-to-clipboard.js +1 -1
  241. package/dist/collection/components/stable/gux-datepicker/gux-datepicker.js +1 -1
  242. package/dist/collection/components/stable/gux-dismiss-button/gux-dismiss-button.js +2 -2
  243. package/dist/collection/components/stable/gux-dropdown/gux-dropdown.js +1 -1
  244. package/dist/collection/components/stable/gux-dropdown-multi/gux-dropdown-multi-tag/gux-dropdown-multi-tag.js +1 -1
  245. package/dist/collection/components/stable/gux-dropdown-multi/gux-dropdown-multi.js +1 -1
  246. package/dist/collection/components/stable/gux-flyout-menu/gux-flyout-menu.css +8 -7
  247. package/dist/collection/components/stable/gux-flyout-menu/gux-flyout-menu.js +2 -2
  248. package/dist/collection/components/stable/gux-flyout-menu/gux-menu/gux-menu-option/gux-menu-option.js +1 -1
  249. package/dist/collection/components/stable/gux-flyout-menu/gux-menu/gux-menu.js +1 -1
  250. package/dist/collection/components/stable/gux-flyout-menu/gux-menu/gux-submenu/gux-submenu.js +3 -3
  251. package/dist/collection/components/stable/gux-form-field/components/gux-form-field-checkbox/gux-form-field-checkbox.js +2 -2
  252. package/dist/collection/components/stable/gux-form-field/components/gux-form-field-checkbox-group/gux-form-field-checkbox-group.js +2 -2
  253. package/dist/collection/components/stable/gux-form-field/components/gux-form-field-color/gux-form-field-color.js +3 -3
  254. package/dist/collection/components/stable/gux-form-field/components/gux-form-field-dropdown/gux-form-field-dropdown.js +3 -3
  255. package/dist/collection/components/stable/gux-form-field/components/gux-form-field-file/gux-form-field-file.js +1 -1
  256. 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
  257. package/dist/collection/components/stable/gux-form-field/components/gux-form-field-file-beta/gux-form-field-file.js +1 -1
  258. package/dist/collection/components/stable/gux-form-field/components/gux-form-field-number/gux-form-field-number.js +3 -3
  259. package/dist/collection/components/stable/gux-form-field/components/gux-form-field-phone/gux-form-field-phone.js +4 -4
  260. package/dist/collection/components/stable/gux-form-field/components/gux-form-field-radio/gux-form-field-radio.js +2 -2
  261. package/dist/collection/components/stable/gux-form-field/components/gux-form-field-radio-group/gux-form-field-radio-group.js +2 -2
  262. package/dist/collection/components/stable/gux-form-field/components/gux-form-field-range/gux-form-field-range.js +2 -2
  263. package/dist/collection/components/stable/gux-form-field/components/gux-form-field-search/gux-form-field-search.js +3 -3
  264. package/dist/collection/components/stable/gux-form-field/components/gux-form-field-select/gux-form-field-select.js +3 -3
  265. package/dist/collection/components/stable/gux-form-field/components/gux-form-field-text-like/gux-form-field-text-like.js +3 -3
  266. package/dist/collection/components/stable/gux-form-field/components/gux-form-field-textarea/gux-form-field-textarea.js +2 -2
  267. package/dist/collection/components/stable/gux-form-field/components/gux-form-field-time-picker/gux-form-field-time-picker.js +4 -4
  268. package/dist/collection/components/stable/gux-form-field/components/gux-form-field-time-zone-picker/gux-form-field-time-zone-picker.js +3 -3
  269. 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
  270. package/dist/collection/components/stable/gux-icon/gux-icon.js +1 -1
  271. package/dist/collection/components/stable/gux-inline-alert/gux-inline-alert.js +2 -2
  272. package/dist/collection/components/stable/gux-list/gux-list-divider/gux-list-divider.js +1 -1
  273. package/dist/collection/components/stable/gux-list/gux-list-item/gux-list-item.js +1 -1
  274. package/dist/collection/components/stable/gux-list/gux-list.js +1 -1
  275. package/dist/collection/components/stable/gux-listbox/option-group/gux-option-group.js +1 -1
  276. package/dist/collection/components/stable/gux-listbox/options/gux-option/gux-option.js +2 -2
  277. package/dist/collection/components/stable/gux-listbox/options/gux-option-icon/gux-option-icon.js +2 -2
  278. package/dist/collection/components/stable/gux-listbox-multi/gux-create-option/gux-create-option.js +2 -2
  279. package/dist/collection/components/stable/gux-listbox-multi/gux-option-multi/gux-option-multi.js +2 -2
  280. package/dist/collection/components/stable/gux-listbox-multi/gux-select-all/gux-select-all.js +2 -2
  281. package/dist/collection/components/stable/gux-loading-message/gux-loading-message.js +1 -1
  282. package/dist/collection/components/stable/gux-modal/gux-modal.js +1 -1
  283. package/dist/collection/components/stable/gux-page-loading-spinner/gux-page-loading-spinner.js +1 -1
  284. package/dist/collection/components/stable/gux-pagination/gux-pagination-buttons/gux-pagination-buttons.js +1 -1
  285. package/dist/collection/components/stable/gux-pagination/gux-pagination-buttons/gux-pagination-ellipsis-button/gux-pagination-ellipsis-button.js +4 -4
  286. package/dist/collection/components/stable/gux-pagination/gux-pagination-item-counts/gux-pagination-item-counts.js +2 -2
  287. package/dist/collection/components/stable/gux-pagination/gux-pagination-items-per-page/gux-pagination-items-per-page.js +1 -1
  288. package/dist/collection/components/stable/gux-pagination/gux-pagination.js +1 -1
  289. package/dist/collection/components/stable/gux-popover/gux-popover.js +2 -2
  290. package/dist/collection/components/stable/gux-popover-list/gux-popover-list.js +2 -2
  291. package/dist/collection/components/stable/gux-popup/gux-popup.js +3 -3
  292. package/dist/collection/components/stable/gux-radial-loading/gux-radial-loading.js +1 -1
  293. package/dist/collection/components/stable/gux-rating/gux-rating.js +1 -1
  294. package/dist/collection/components/stable/gux-skip-navigation-list/gux-skip-navigation-item/gux-skip-navigation-item.js +1 -1
  295. package/dist/collection/components/stable/gux-skip-navigation-list/gux-skip-navigation-list.js +1 -1
  296. package/dist/collection/components/stable/gux-table/gux-all-row-select/gux-all-row-select.js +1 -1
  297. package/dist/collection/components/stable/gux-table/gux-row-select/gux-row-select.js +2 -2
  298. package/dist/collection/components/stable/gux-table/gux-sort-control/gux-sort-control.js +2 -2
  299. package/dist/collection/components/stable/gux-table/gux-table-select-menu/gux-table-select-menu.js +1 -1
  300. package/dist/collection/components/stable/gux-table/gux-table.js +1 -1
  301. package/dist/collection/components/stable/gux-table-toolbar/gux-table-toolbar-action/gux-table-toolbar-action.js +1 -1
  302. package/dist/collection/components/stable/gux-table-toolbar/gux-table-toolbar-custom-action/gux-table-toolbar-custom-action.js +1 -1
  303. package/dist/collection/components/stable/gux-table-toolbar/gux-table-toolbar-menu-button/gux-table-toolbar-menu-button.js +1 -1
  304. package/dist/collection/components/stable/gux-table-toolbar/gux-table-toolbar.js +2 -2
  305. package/dist/collection/components/stable/gux-tabs/gux-tab/gux-tab.js +2 -2
  306. package/dist/collection/components/stable/gux-tabs/gux-tab-list/gux-tab-list.js +2 -2
  307. package/dist/collection/components/stable/gux-tabs/gux-tab-panel/gux-tab-panel.js +1 -1
  308. package/dist/collection/components/stable/gux-tabs/gux-tabs.js +1 -1
  309. package/dist/collection/components/stable/gux-tabs-advanced/gux-tab-advanced/gux-tab-advanced.js +2 -2
  310. package/dist/collection/components/stable/gux-tabs-advanced/gux-tab-advanced-list/gux-tab-advanced-list.js +1 -1
  311. package/dist/collection/components/stable/gux-tabs-advanced/gux-tab-advanced-panel/gux-tab-advanced-panel.js +1 -1
  312. package/dist/collection/components/stable/gux-tabs-advanced/gux-tabs-advanced.js +1 -1
  313. package/dist/collection/components/stable/gux-tag/gux-tag.js +1 -1
  314. package/dist/collection/components/stable/gux-time-picker/gux-time-picker.js +1 -1
  315. package/dist/collection/components/stable/gux-toast/gux-toast.js +2 -2
  316. package/dist/collection/components/stable/gux-toggle/gux-toggle-slider/gux-toggle-slider.js +2 -2
  317. package/dist/collection/components/stable/gux-toggle/gux-toggle.js +2 -2
  318. package/dist/collection/components/stable/gux-tooltip/gux-tooltip.js +2 -2
  319. package/dist/collection/components/stable/gux-tooltip-title/gux-tooltip-title.js +2 -2
  320. package/dist/collection/components/stable/gux-truncate/gux-truncate.js +3 -3
  321. package/dist/collection/utils/decorator/aria.js +17 -0
  322. package/dist/esm/genesys-webcomponents.js +3 -3
  323. package/dist/esm/{get-valid-timezone-CNkoPKdR.js → get-valid-timezone-LDHU1yLM.js} +1 -1
  324. package/dist/esm/gux-accordion-section.entry.js +6 -6
  325. package/dist/esm/gux-accordion.entry.js +3 -3
  326. package/dist/esm/gux-action-button.entry.js +5 -5
  327. package/dist/esm/gux-action-toast-legacy.entry.js +3 -3
  328. package/dist/esm/gux-advanced-dropdown-legacy.entry.js +6 -6
  329. package/dist/esm/gux-all-row-select.entry.js +3 -3
  330. package/dist/esm/gux-announce-beta.entry.js +2 -2
  331. package/dist/esm/gux-avatar-beta.entry.js +3 -3
  332. package/dist/esm/gux-avatar-change-photo-beta.entry.js +3 -3
  333. package/dist/esm/gux-avatar-focusable-beta.entry.js +1 -1
  334. package/dist/esm/gux-avatar-group-add-item-beta_3.entry.js +4 -4
  335. package/dist/esm/gux-avatar-group-beta.entry.js +2 -2
  336. package/dist/esm/gux-avatar-group-item-beta.entry.js +2 -2
  337. package/dist/esm/gux-badge.entry.js +5 -5
  338. package/dist/esm/gux-blank-state-beta.entry.js +3 -3
  339. package/dist/esm/gux-blank-state.entry.js +4 -4
  340. package/dist/esm/gux-branch-multi.entry.js +83 -0
  341. package/dist/esm/gux-branch.entry.js +76 -0
  342. package/dist/esm/gux-breadcrumb-item.entry.js +2 -2
  343. package/dist/esm/gux-breadcrumbs.entry.js +4 -4
  344. package/dist/esm/gux-button-multi.entry.js +4 -4
  345. package/dist/esm/gux-button-slot.entry.js +3 -3
  346. package/dist/esm/gux-button_2.entry.js +7 -7
  347. package/dist/esm/gux-calendar-beta.entry.js +2 -2
  348. package/dist/esm/gux-calendar.entry.js +4 -4
  349. package/dist/esm/gux-card.entry.js +4 -4
  350. package/dist/esm/gux-cloud-logo-beta.entry.js +3 -3
  351. package/dist/esm/gux-cloud-logomark-beta.entry.js +3 -3
  352. package/dist/esm/gux-column-manager-item.entry.js +5 -5
  353. package/dist/esm/gux-column-manager.entry.js +4 -4
  354. package/dist/esm/gux-content-search.entry.js +5 -5
  355. package/dist/esm/gux-context-menu.entry.js +6 -6
  356. package/dist/esm/gux-copy-to-clipboard.entry.js +4 -4
  357. package/dist/esm/gux-create-option.entry.js +4 -4
  358. package/dist/esm/gux-cta-group.entry.js +1 -1
  359. package/dist/esm/gux-date-beta.entry.js +4 -4
  360. package/dist/esm/gux-date-time-beta.entry.js +4 -4
  361. package/dist/esm/gux-datepicker.entry.js +5 -5
  362. package/dist/esm/gux-day-beta.entry.js +2 -2
  363. package/dist/esm/gux-disclosure-button-legacy.entry.js +5 -5
  364. package/dist/esm/gux-dismiss-button.entry.js +5 -5
  365. package/dist/esm/gux-dropdown-multi-tag.entry.js +3 -3
  366. package/dist/esm/gux-dropdown-multi.entry.js +6 -6
  367. package/dist/esm/gux-dropdown-option.entry.js +2 -2
  368. package/dist/esm/gux-dropdown_3.entry.js +8 -8
  369. package/dist/esm/gux-file-list-item.entry.js +5 -5
  370. package/dist/esm/gux-flag-icon-beta.entry.js +3 -3
  371. package/dist/esm/gux-flyout-menu.entry.js +6 -6
  372. package/dist/esm/gux-form-beta.entry.js +1 -1
  373. package/dist/esm/gux-form-description.entry.js +1 -1
  374. package/dist/esm/gux-form-field-checkbox-group-beta.entry.js +8 -8
  375. package/dist/esm/gux-form-field-checkbox.entry.js +6 -6
  376. package/dist/esm/gux-form-field-color.entry.js +8 -8
  377. package/dist/esm/{gux-form-field-container-K-R4rXST.js → gux-form-field-container-Dp9t605U.js} +1 -1
  378. package/dist/esm/gux-form-field-dropdown.entry.js +9 -9
  379. package/dist/esm/{gux-form-field-error-DO0r_oNt.js → gux-form-field-error-CUxY2-XD.js} +1 -1
  380. package/dist/esm/{gux-form-field-fieldset-container-DAmLNsF9.js → gux-form-field-fieldset-container-BT88yCp7.js} +1 -1
  381. package/dist/esm/gux-form-field-file-beta.entry.js +7 -7
  382. package/dist/esm/gux-form-field-file.entry.js +6 -6
  383. package/dist/esm/gux-form-field-input-clear-button.entry.js +4 -4
  384. package/dist/esm/gux-form-field-label-indicator.entry.js +3 -3
  385. package/dist/esm/gux-form-field-number_2.entry.js +14 -14
  386. package/dist/esm/gux-form-field-phone.entry.js +10 -10
  387. package/dist/esm/gux-form-field-radio-group-beta.entry.js +8 -8
  388. package/dist/esm/gux-form-field-radio.entry.js +6 -6
  389. package/dist/esm/gux-form-field-range.entry.js +8 -8
  390. package/dist/esm/gux-form-field-search.entry.js +8 -8
  391. package/dist/esm/gux-form-field-select.entry.js +8 -8
  392. package/dist/esm/gux-form-field-text-like.entry.js +8 -8
  393. package/dist/esm/gux-form-field-textarea.entry.js +7 -7
  394. package/dist/esm/gux-form-field-time-picker.entry.js +10 -10
  395. package/dist/esm/gux-form-field-time-zone-picker.entry.js +9 -9
  396. package/dist/esm/gux-form-fieldset-heading.entry.js +1 -1
  397. package/dist/esm/gux-form-footer.entry.js +2 -2
  398. package/dist/esm/gux-form-heading.entry.js +1 -1
  399. package/dist/esm/gux-icon-tooltip-beta.entry.js +2 -2
  400. package/dist/esm/gux-icon.entry.js +3 -3
  401. package/dist/esm/gux-illustration-beta.entry.js +2 -2
  402. package/dist/esm/gux-inline-alert.entry.js +5 -5
  403. package/dist/esm/gux-inline-dropdown-beta.entry.js +5 -5
  404. package/dist/esm/gux-label-info-beta.entry.js +2 -2
  405. package/dist/esm/gux-leaf-multi.entry.js +68 -0
  406. package/dist/esm/gux-leaf.entry.js +66 -0
  407. package/dist/esm/gux-link-beta.entry.js +2 -2
  408. package/dist/esm/gux-list-divider.entry.js +2 -2
  409. package/dist/esm/gux-list-item.entry.js +2 -2
  410. package/dist/esm/gux-list.entry.js +3 -3
  411. package/dist/esm/gux-listbox-multi.entry.js +4 -4
  412. package/dist/esm/gux-loading-message.entry.js +3 -3
  413. package/dist/esm/gux-logo-beta.entry.js +3 -3
  414. package/dist/esm/gux-logomark-beta.entry.js +3 -3
  415. package/dist/esm/gux-menu-option.entry.js +2 -2
  416. package/dist/esm/gux-menu.entry.js +2 -2
  417. package/dist/esm/gux-modal-legacy.entry.js +4 -4
  418. package/dist/esm/gux-modal-side-panel-beta.entry.js +2 -2
  419. package/dist/esm/gux-modal.entry.js +3 -3
  420. package/dist/esm/gux-month-calendar.entry.js +2 -2
  421. package/dist/esm/gux-month-list_2.entry.js +1 -1
  422. package/dist/esm/gux-month-picker-beta.entry.js +4 -4
  423. package/dist/esm/gux-notification-toast-legacy.entry.js +3 -3
  424. package/dist/esm/gux-option-group-beta.entry.js +2 -2
  425. package/dist/esm/gux-option-icon.entry.js +3 -3
  426. package/dist/esm/gux-option-multi.entry.js +4 -4
  427. package/dist/esm/gux-option-status-beta.entry.js +1 -1
  428. package/dist/esm/gux-page-loading-spinner.entry.js +3 -3
  429. package/dist/esm/gux-pagination-buttons-legacy_3.entry.js +6 -6
  430. package/dist/esm/gux-pagination-buttons_2.entry.js +5 -5
  431. package/dist/esm/gux-pagination-cursor.entry.js +3 -3
  432. package/dist/esm/gux-pagination-items-per-page.entry.js +3 -3
  433. package/dist/esm/gux-pagination-legacy.entry.js +3 -3
  434. package/dist/esm/gux-pagination.entry.js +3 -3
  435. package/dist/esm/gux-phone-input-beta.entry.js +4 -4
  436. package/dist/esm/gux-popover-beta.entry.js +3 -3
  437. package/dist/esm/gux-popover-list-beta.entry.js +3 -3
  438. package/dist/esm/gux-popover-list.entry.js +5 -5
  439. package/dist/esm/gux-popup.entry.js +4 -4
  440. package/dist/esm/gux-prompt-input-beta.entry.js +3 -3
  441. package/dist/esm/gux-radial-loading.entry.js +4 -4
  442. package/dist/esm/gux-radial-progress.entry.js +2 -2
  443. package/dist/esm/gux-rating.entry.js +5 -5
  444. package/dist/esm/gux-rich-highlight-list-item.entry.js +3 -3
  445. package/dist/esm/gux-rich-style-list-item_3.entry.js +4 -4
  446. package/dist/esm/gux-rich-text-editor-action-group.entry.js +1 -1
  447. package/dist/esm/gux-rich-text-editor-action-link.entry.js +4 -4
  448. package/dist/esm/gux-rich-text-editor-action-rich-style.entry.js +4 -4
  449. package/dist/esm/gux-rich-text-editor-action-text-highlight.entry.js +4 -4
  450. package/dist/esm/gux-rich-text-editor-action.entry.js +3 -3
  451. package/dist/esm/gux-rich-text-editor-beta.entry.js +5 -5
  452. package/dist/esm/gux-rich-text-editor-list.entry.js +2 -2
  453. package/dist/esm/gux-row-select.entry.js +4 -4
  454. package/dist/esm/gux-screen-reader-beta.entry.js +2 -2
  455. package/dist/esm/gux-segmented-control-beta.entry.js +2 -2
  456. package/dist/esm/gux-segmented-control-divider.entry.js +1 -1
  457. package/dist/esm/gux-segmented-control-item.entry.js +1 -1
  458. package/dist/esm/gux-select-all.entry.js +4 -4
  459. package/dist/esm/gux-selector-card-beta.entry.js +2 -2
  460. package/dist/esm/gux-selector-cards-beta.entry.js +2 -2
  461. package/dist/esm/gux-side-panel-beta.entry.js +2 -2
  462. package/dist/esm/gux-side-panel-header.entry.js +2 -2
  463. package/dist/esm/gux-side-panel-heading.entry.js +2 -2
  464. package/dist/esm/gux-simple-toast-legacy.entry.js +3 -3
  465. package/dist/esm/gux-skip-navigation-item.entry.js +2 -2
  466. package/dist/esm/gux-skip-navigation-list.entry.js +4 -4
  467. package/dist/esm/gux-sort-control.entry.js +5 -5
  468. package/dist/esm/gux-status-indicator-beta.entry.js +2 -2
  469. package/dist/esm/gux-step-title.entry.js +2 -2
  470. package/dist/esm/gux-step.entry.js +2 -2
  471. package/dist/esm/gux-stepper-beta.entry.js +2 -2
  472. package/dist/esm/gux-submenu.entry.js +4 -4
  473. package/dist/esm/gux-switch-item.entry.js +2 -2
  474. package/dist/esm/gux-switch-legacy.entry.js +3 -3
  475. package/dist/esm/gux-tab-advanced-list.entry.js +4 -4
  476. package/dist/esm/gux-tab-advanced-panel.entry.js +2 -2
  477. package/dist/esm/gux-tab-advanced.entry.js +4 -4
  478. package/dist/esm/gux-tab-list.entry.js +5 -5
  479. package/dist/esm/gux-tab-panel.entry.js +2 -2
  480. package/dist/esm/gux-tab.entry.js +3 -3
  481. package/dist/esm/gux-table-select-menu.entry.js +3 -3
  482. package/dist/esm/gux-table-toolbar-action.entry.js +4 -4
  483. package/dist/esm/gux-table-toolbar-custom-action.entry.js +3 -3
  484. package/dist/esm/gux-table-toolbar-menu-button.entry.js +5 -5
  485. package/dist/esm/gux-table-toolbar.entry.js +6 -6
  486. package/dist/esm/gux-table.entry.js +4 -4
  487. package/dist/esm/gux-tabs-advanced.entry.js +3 -3
  488. package/dist/esm/gux-tabs.entry.js +3 -3
  489. package/dist/esm/gux-tag.entry.js +5 -5
  490. package/dist/esm/gux-text-highlight.entry.js +2 -2
  491. package/dist/esm/gux-time-beta.entry.js +4 -4
  492. package/dist/esm/gux-time-picker.entry.js +5 -5
  493. package/dist/esm/gux-time-zone-beta.entry.js +3 -3
  494. package/dist/esm/gux-time-zone-picker-beta.entry.js +3 -3
  495. package/dist/esm/gux-toast.entry.js +4 -4
  496. package/dist/esm/gux-toggle-slider.entry.js +3 -3
  497. package/dist/esm/gux-toggle.entry.js +5 -5
  498. package/dist/esm/gux-tooltip-base-beta_2.entry.js +2 -2
  499. package/dist/esm/gux-tooltip-pointer-beta.entry.js +2 -2
  500. package/dist/esm/gux-tooltip-title.entry.js +5 -5
  501. package/dist/esm/gux-tooltip_2.entry.js +9 -9
  502. package/dist/esm/gux-tree-beta.entry.js +181 -0
  503. package/dist/esm/gux-tree-multi-beta.entry.js +202 -0
  504. package/dist/esm/gux-tree-multi.service-BLZ1mRfa.js +295 -0
  505. package/dist/esm/gux-tree.service-BDeQhvUY.js +223 -0
  506. package/dist/esm/{index-T5mO569D.js → index-BcJFUYIV.js} +1 -1
  507. package/dist/esm/{index-Dz_2h4jr.js → index-CjVJoR6g.js} +25 -1
  508. package/dist/esm/loader.js +3 -3
  509. package/dist/esm/{on-click-outside-R32NST4z.js → on-click-outside-CQ9-ZPII.js} +1 -1
  510. package/dist/esm/{on-mutation-DfF7Bpf8.js → on-mutation-CEhI74kI.js} +1 -1
  511. package/dist/esm/{on-resize-CZO-3VCx.js → on-resize-BzUqKdDk.js} +1 -1
  512. package/dist/esm/{usage-CqFA-9uw.js → usage-m3Lae7sj.js} +1 -1
  513. package/dist/genesys-webcomponents/genesys-webcomponents-legacy.css +1 -1
  514. package/dist/genesys-webcomponents/genesys-webcomponents.css +2 -2
  515. package/dist/genesys-webcomponents/genesys-webcomponents.esm.js +1 -1
  516. package/dist/genesys-webcomponents/{p-aeb7034c.entry.js → p-017cb9d5.entry.js} +1 -1
  517. package/dist/genesys-webcomponents/p-056a7c6b.entry.js +1 -0
  518. package/dist/genesys-webcomponents/p-083804b1.entry.js +1 -0
  519. package/dist/genesys-webcomponents/{p-8ea4a492.entry.js → p-099f666a.entry.js} +1 -1
  520. package/dist/genesys-webcomponents/{p-fd316112.entry.js → p-0b052d60.entry.js} +1 -1
  521. package/dist/genesys-webcomponents/{p-44d918a8.entry.js → p-0b24178e.entry.js} +1 -1
  522. package/dist/genesys-webcomponents/{p-78eaa0d4.entry.js → p-0cd588f1.entry.js} +1 -1
  523. package/dist/genesys-webcomponents/{p-3f740896.entry.js → p-0d4c3b8f.entry.js} +1 -1
  524. package/dist/genesys-webcomponents/{p-adf7dd6a.entry.js → p-11837668.entry.js} +1 -1
  525. package/dist/genesys-webcomponents/{p-612dc777.entry.js → p-135367e9.entry.js} +1 -1
  526. package/dist/genesys-webcomponents/{p-a9af6f24.entry.js → p-139620e1.entry.js} +1 -1
  527. package/dist/genesys-webcomponents/{p-539fb3fe.entry.js → p-13ac38be.entry.js} +1 -1
  528. package/dist/genesys-webcomponents/{p-c242bb23.entry.js → p-150a39e6.entry.js} +1 -1
  529. package/dist/genesys-webcomponents/{p-99137082.entry.js → p-154def26.entry.js} +1 -1
  530. package/dist/genesys-webcomponents/{p-40d081da.entry.js → p-16b176e0.entry.js} +1 -1
  531. package/dist/genesys-webcomponents/{p-83209428.entry.js → p-19aae774.entry.js} +1 -1
  532. package/dist/genesys-webcomponents/{p-4a1529e5.entry.js → p-1d3c2d91.entry.js} +1 -1
  533. package/dist/genesys-webcomponents/{p-f8c169cd.entry.js → p-1f64bf9d.entry.js} +1 -1
  534. package/dist/genesys-webcomponents/{p-40ea83f0.entry.js → p-1fa2732f.entry.js} +1 -1
  535. package/dist/genesys-webcomponents/{p-10e4fe74.entry.js → p-21d62416.entry.js} +1 -1
  536. package/dist/genesys-webcomponents/p-23ae550d.entry.js +1 -0
  537. package/dist/genesys-webcomponents/p-25b9ab49.entry.js +1 -0
  538. package/dist/genesys-webcomponents/{p-84e0896b.entry.js → p-25fd3256.entry.js} +1 -1
  539. package/dist/genesys-webcomponents/{p-90caff1a.entry.js → p-26332854.entry.js} +1 -1
  540. package/dist/genesys-webcomponents/{p-f02b5c08.entry.js → p-26ae37e2.entry.js} +1 -1
  541. package/dist/genesys-webcomponents/{p-b6fd9593.entry.js → p-27917cd5.entry.js} +1 -1
  542. package/dist/genesys-webcomponents/{p-3c7ddb88.entry.js → p-285ee4a0.entry.js} +1 -1
  543. package/dist/genesys-webcomponents/{p-f20f3970.entry.js → p-28bb190c.entry.js} +1 -1
  544. package/dist/genesys-webcomponents/{p-893f62be.entry.js → p-2afa3fa3.entry.js} +1 -1
  545. package/dist/genesys-webcomponents/{p-23c41f6a.entry.js → p-2d4c4294.entry.js} +1 -1
  546. package/dist/genesys-webcomponents/p-2eeb7b23.entry.js +1 -0
  547. package/dist/genesys-webcomponents/p-324d6857.entry.js +1 -0
  548. package/dist/genesys-webcomponents/{p-544e996a.entry.js → p-32e6acb8.entry.js} +1 -1
  549. package/dist/genesys-webcomponents/{p-eae2d50f.entry.js → p-34fdea73.entry.js} +1 -1
  550. package/dist/genesys-webcomponents/{p-5e2583d3.entry.js → p-351b23d4.entry.js} +1 -1
  551. package/dist/genesys-webcomponents/{p-489b6f7e.entry.js → p-35a486e5.entry.js} +1 -1
  552. package/dist/genesys-webcomponents/{p-5c1b8f06.entry.js → p-38f5b4f6.entry.js} +1 -1
  553. package/dist/genesys-webcomponents/{p-bfff8a6b.entry.js → p-39260f95.entry.js} +1 -1
  554. package/dist/genesys-webcomponents/{p-a2d4d3ba.entry.js → p-3cd17631.entry.js} +1 -1
  555. package/dist/genesys-webcomponents/{p-e556fa9f.entry.js → p-3da05df8.entry.js} +1 -1
  556. package/dist/genesys-webcomponents/{p-8045e63b.entry.js → p-3e99d726.entry.js} +1 -1
  557. package/dist/genesys-webcomponents/{p-2a29ce57.entry.js → p-3eba96cc.entry.js} +1 -1
  558. package/dist/genesys-webcomponents/{p-21a1faf1.entry.js → p-42a37e44.entry.js} +1 -1
  559. package/dist/genesys-webcomponents/p-45586ff0.entry.js +1 -0
  560. package/dist/genesys-webcomponents/{p-4349f0ca.entry.js → p-467b440a.entry.js} +1 -1
  561. package/dist/genesys-webcomponents/{p-f594e172.entry.js → p-46a34101.entry.js} +1 -1
  562. package/dist/genesys-webcomponents/{p-53b2f894.entry.js → p-48ca42f5.entry.js} +1 -1
  563. package/dist/genesys-webcomponents/p-48de3ff3.entry.js +1 -0
  564. package/dist/genesys-webcomponents/{p-22c776f0.entry.js → p-49ee0c6f.entry.js} +1 -1
  565. package/dist/genesys-webcomponents/{p-2ca488ce.entry.js → p-4a7ea7e8.entry.js} +1 -1
  566. package/dist/genesys-webcomponents/{p-5594fa74.entry.js → p-4ad8978f.entry.js} +1 -1
  567. package/dist/genesys-webcomponents/{p-b37969e2.entry.js → p-4b45cd72.entry.js} +1 -1
  568. package/dist/genesys-webcomponents/{p-98e56fc8.entry.js → p-4f2bbd47.entry.js} +1 -1
  569. package/dist/genesys-webcomponents/{p-a2a6afc3.entry.js → p-514148f5.entry.js} +1 -1
  570. package/dist/genesys-webcomponents/{p-9f0b943d.entry.js → p-52373db0.entry.js} +1 -1
  571. package/dist/genesys-webcomponents/{p-7065d860.entry.js → p-53e22ff1.entry.js} +1 -1
  572. package/dist/genesys-webcomponents/{p-15692d0d.entry.js → p-541fb3fb.entry.js} +1 -1
  573. package/dist/genesys-webcomponents/{p-8bc25cf3.entry.js → p-556113ac.entry.js} +1 -1
  574. package/dist/genesys-webcomponents/{p-75f9bd17.entry.js → p-5725af26.entry.js} +1 -1
  575. package/dist/genesys-webcomponents/{p-b63f7073.entry.js → p-57f2d1dc.entry.js} +1 -1
  576. package/dist/genesys-webcomponents/{p-3144413b.entry.js → p-5800a64c.entry.js} +1 -1
  577. package/dist/genesys-webcomponents/p-5942b0f1.entry.js +1 -0
  578. package/dist/genesys-webcomponents/{p-a7e70e2a.entry.js → p-59895996.entry.js} +1 -1
  579. package/dist/genesys-webcomponents/{p-DrJn2EIj.js → p-5GSd1tCA.js} +1 -1
  580. package/dist/genesys-webcomponents/{p-d5ba3136.entry.js → p-5ac0a470.entry.js} +1 -1
  581. package/dist/genesys-webcomponents/{p-1485f433.entry.js → p-5b40c6e6.entry.js} +1 -1
  582. package/dist/genesys-webcomponents/p-5cf1b2ba.entry.js +1 -0
  583. package/dist/genesys-webcomponents/{p-4941fe4c.entry.js → p-5cf81958.entry.js} +1 -1
  584. package/dist/genesys-webcomponents/p-5e48e9fb.entry.js +1 -0
  585. package/dist/genesys-webcomponents/{p-6de55d53.entry.js → p-60011440.entry.js} +1 -1
  586. package/dist/genesys-webcomponents/{p-1547811e.entry.js → p-6041e65b.entry.js} +1 -1
  587. package/dist/genesys-webcomponents/{p-bafac823.entry.js → p-6143b5da.entry.js} +1 -1
  588. package/dist/genesys-webcomponents/{p-27a31162.entry.js → p-68dec694.entry.js} +2 -2
  589. package/dist/genesys-webcomponents/p-6a47bd85.entry.js +1 -0
  590. package/dist/genesys-webcomponents/{p-e1d6e045.entry.js → p-6d83742a.entry.js} +1 -1
  591. package/dist/genesys-webcomponents/{p-b778feee.entry.js → p-6f9cfe1b.entry.js} +1 -1
  592. package/dist/genesys-webcomponents/{p-375cd724.entry.js → p-7091f5b2.entry.js} +1 -1
  593. package/dist/genesys-webcomponents/{p-868f1326.entry.js → p-70999d68.entry.js} +1 -1
  594. package/dist/genesys-webcomponents/{p-7adb4b41.entry.js → p-7122ffc2.entry.js} +1 -1
  595. package/dist/genesys-webcomponents/{p-1427f966.entry.js → p-73082b46.entry.js} +1 -1
  596. package/dist/genesys-webcomponents/{p-1eaaf233.entry.js → p-7467d78b.entry.js} +1 -1
  597. package/dist/genesys-webcomponents/p-7869bfd9.entry.js +1 -0
  598. package/dist/genesys-webcomponents/p-7b70f2df.entry.js +1 -0
  599. package/dist/genesys-webcomponents/{p-48bc1a43.entry.js → p-7ee9b69d.entry.js} +1 -1
  600. package/dist/genesys-webcomponents/{p-416badb7.entry.js → p-7f602357.entry.js} +1 -1
  601. package/dist/genesys-webcomponents/{p-b5052251.entry.js → p-8033fd0b.entry.js} +1 -1
  602. package/dist/genesys-webcomponents/{p-6b11eab9.entry.js → p-84f88012.entry.js} +1 -1
  603. package/dist/genesys-webcomponents/{p-480528c6.entry.js → p-863302cc.entry.js} +1 -1
  604. package/dist/genesys-webcomponents/{p-80f96c1f.entry.js → p-8a13909f.entry.js} +1 -1
  605. package/dist/genesys-webcomponents/{p-84630362.entry.js → p-8b78c6e6.entry.js} +1 -1
  606. package/dist/genesys-webcomponents/{p-e2ba70cb.entry.js → p-8e9f07a4.entry.js} +1 -1
  607. package/dist/genesys-webcomponents/{p-5d4b57ce.entry.js → p-8f4e6f19.entry.js} +1 -1
  608. package/dist/genesys-webcomponents/{p-86066630.entry.js → p-8ff107e5.entry.js} +1 -1
  609. package/dist/genesys-webcomponents/p-908be904.entry.js +1 -0
  610. package/dist/genesys-webcomponents/{p-2d774310.entry.js → p-908ebad2.entry.js} +1 -1
  611. package/dist/genesys-webcomponents/{p-2b5a926f.entry.js → p-91abcf19.entry.js} +1 -1
  612. package/dist/genesys-webcomponents/{p-2ba9827a.entry.js → p-941d403f.entry.js} +1 -1
  613. package/dist/genesys-webcomponents/{p-2c059a6c.entry.js → p-9445c461.entry.js} +1 -1
  614. package/dist/genesys-webcomponents/{p-f9b60e9d.entry.js → p-9579eeaa.entry.js} +1 -1
  615. package/dist/genesys-webcomponents/{p-d6909cfa.entry.js → p-95aa1974.entry.js} +1 -1
  616. package/dist/genesys-webcomponents/{p-e50f271a.entry.js → p-95f7a089.entry.js} +1 -1
  617. package/dist/genesys-webcomponents/{p-c234f86c.entry.js → p-96154710.entry.js} +1 -1
  618. package/dist/genesys-webcomponents/{p-8594ff89.entry.js → p-994e4f51.entry.js} +1 -1
  619. package/dist/genesys-webcomponents/{p-787ceb33.entry.js → p-9a3086e6.entry.js} +1 -1
  620. package/dist/genesys-webcomponents/{p-0755b783.entry.js → p-9a59a9ca.entry.js} +1 -1
  621. package/dist/genesys-webcomponents/p-9a739818.entry.js +1 -0
  622. package/dist/genesys-webcomponents/p-9d0d3fa8.entry.js +1 -0
  623. package/dist/genesys-webcomponents/{p-2d679237.entry.js → p-9d22b1ee.entry.js} +1 -1
  624. package/dist/genesys-webcomponents/p-9f983574.entry.js +1 -0
  625. package/dist/genesys-webcomponents/{p-487d34ff.entry.js → p-9fa06bad.entry.js} +1 -1
  626. package/dist/genesys-webcomponents/p-BS-Yw6fq.js +1 -0
  627. package/dist/genesys-webcomponents/{p-Ct81NxWr.js → p-BvVMx5eW.js} +1 -1
  628. package/dist/genesys-webcomponents/p-CjVJoR6g.js +2 -0
  629. package/dist/genesys-webcomponents/p-CuKTBQuB.js +1 -0
  630. package/dist/genesys-webcomponents/{p-DmaAM9UB.js → p-D1QZQXQN.js} +1 -1
  631. package/dist/genesys-webcomponents/{p-DVjNN8WO.js → p-DTOY_vUZ.js} +1 -1
  632. package/dist/genesys-webcomponents/p-DaK6PJIg.js +1 -0
  633. package/dist/genesys-webcomponents/{p-Mjv14MGU.js → p-DcL3bWH_.js} +1 -1
  634. package/dist/genesys-webcomponents/{p-b571eabb.entry.js → p-a02a5f08.entry.js} +1 -1
  635. package/dist/genesys-webcomponents/{p-0ee86062.entry.js → p-a352dd2e.entry.js} +1 -1
  636. package/dist/genesys-webcomponents/{p-c5739404.entry.js → p-a466db49.entry.js} +1 -1
  637. package/dist/genesys-webcomponents/{p-a2d45e7a.entry.js → p-a619a0ff.entry.js} +1 -1
  638. package/dist/genesys-webcomponents/{p-c243addb.entry.js → p-a8143e2c.entry.js} +1 -1
  639. package/dist/genesys-webcomponents/{p-e3f192d1.entry.js → p-aaae46b8.entry.js} +1 -1
  640. package/dist/genesys-webcomponents/{p-0f0c7576.entry.js → p-aab878b2.entry.js} +1 -1
  641. package/dist/genesys-webcomponents/{p-01a0c3f5.entry.js → p-aede3166.entry.js} +1 -1
  642. package/dist/genesys-webcomponents/p-b0d02114.entry.js +1 -0
  643. package/dist/genesys-webcomponents/{p-ef689aba.entry.js → p-b12a8508.entry.js} +1 -1
  644. package/dist/genesys-webcomponents/{p-c9a5aa58.entry.js → p-b21ed8c2.entry.js} +1 -1
  645. package/dist/genesys-webcomponents/{p-671dfa9e.entry.js → p-b2334e35.entry.js} +1 -1
  646. package/dist/genesys-webcomponents/{p-3e068aae.entry.js → p-b5a01b48.entry.js} +1 -1
  647. package/dist/genesys-webcomponents/{p-d99703d1.entry.js → p-b5b441a3.entry.js} +1 -1
  648. package/dist/genesys-webcomponents/p-b6f2fc11.entry.js +1 -0
  649. package/dist/genesys-webcomponents/{p-3f1cd13d.entry.js → p-b823a092.entry.js} +1 -1
  650. package/dist/genesys-webcomponents/p-b90aef76.entry.js +1 -0
  651. package/dist/genesys-webcomponents/{p-9251c76b.entry.js → p-bd8741a3.entry.js} +1 -1
  652. package/dist/genesys-webcomponents/p-be9f6a45.entry.js +1 -0
  653. package/dist/genesys-webcomponents/{p-b8be5587.entry.js → p-bf044a81.entry.js} +1 -1
  654. package/dist/genesys-webcomponents/p-bf7dad16.entry.js +1 -0
  655. package/dist/genesys-webcomponents/p-c05f9f33.entry.js +1 -0
  656. package/dist/genesys-webcomponents/p-c1eb882e.entry.js +1 -0
  657. package/dist/genesys-webcomponents/{p-6386c7e1.entry.js → p-c8c0a498.entry.js} +1 -1
  658. package/dist/genesys-webcomponents/{p-605d874e.entry.js → p-c905638c.entry.js} +1 -1
  659. package/dist/genesys-webcomponents/{p-5d1a929a.entry.js → p-c961265f.entry.js} +1 -1
  660. package/dist/genesys-webcomponents/{p-10438489.entry.js → p-cae633ff.entry.js} +1 -1
  661. package/dist/genesys-webcomponents/{p-4a67abbc.entry.js → p-cb4791a1.entry.js} +1 -1
  662. package/dist/genesys-webcomponents/p-cbfda3ac.entry.js +1 -0
  663. package/dist/genesys-webcomponents/p-cd9a57b8.entry.js +1 -0
  664. package/dist/genesys-webcomponents/{p-b1e84bbd.entry.js → p-ceb683a7.entry.js} +1 -1
  665. package/dist/genesys-webcomponents/{p-2198a87f.entry.js → p-cf412061.entry.js} +1 -1
  666. package/dist/genesys-webcomponents/{p-b242698f.entry.js → p-d4cf29da.entry.js} +1 -1
  667. package/dist/genesys-webcomponents/{p-153f816e.entry.js → p-d5c18713.entry.js} +1 -1
  668. package/dist/genesys-webcomponents/p-d5e4a275.entry.js +1 -0
  669. package/dist/genesys-webcomponents/{p-71174517.entry.js → p-d895c2d4.entry.js} +1 -1
  670. package/dist/genesys-webcomponents/p-d8cbd44a.entry.js +1 -0
  671. package/dist/genesys-webcomponents/{p-dab22b10.entry.js → p-da5bf7b1.entry.js} +1 -1
  672. package/dist/genesys-webcomponents/{p-14f59f78.entry.js → p-dad081b0.entry.js} +1 -1
  673. package/dist/genesys-webcomponents/{p-9536e0c6.entry.js → p-daff771e.entry.js} +1 -1
  674. package/dist/genesys-webcomponents/p-dfca7776.entry.js +1 -0
  675. package/dist/genesys-webcomponents/{p-be3bc25f.entry.js → p-e0314387.entry.js} +1 -1
  676. package/dist/genesys-webcomponents/p-e181a441.entry.js +1 -0
  677. package/dist/genesys-webcomponents/{p-67b71af5.entry.js → p-e1b2080a.entry.js} +1 -1
  678. package/dist/genesys-webcomponents/{p-5d17f3bd.entry.js → p-e1fe1a06.entry.js} +1 -1
  679. package/dist/genesys-webcomponents/{p-87e71f17.entry.js → p-e4a44c7d.entry.js} +1 -1
  680. package/dist/genesys-webcomponents/{p-ecc889c1.entry.js → p-e77358d8.entry.js} +1 -1
  681. package/dist/genesys-webcomponents/{p-e7289e53.entry.js → p-e7841f8f.entry.js} +1 -1
  682. package/dist/genesys-webcomponents/{p-4b4adbc6.entry.js → p-e84d3b25.entry.js} +1 -1
  683. package/dist/genesys-webcomponents/{p-177ecae4.entry.js → p-e8541175.entry.js} +1 -1
  684. package/dist/genesys-webcomponents/{p-847c37dd.entry.js → p-e96fa35a.entry.js} +1 -1
  685. package/dist/genesys-webcomponents/{p-bc6e01fd.entry.js → p-e9973aeb.entry.js} +1 -1
  686. package/dist/genesys-webcomponents/p-ec5d01d6.entry.js +1 -0
  687. package/dist/genesys-webcomponents/{p-0ab0a627.entry.js → p-ed882ba0.entry.js} +1 -1
  688. package/dist/genesys-webcomponents/{p-d9cdc0da.entry.js → p-eeaf3569.entry.js} +1 -1
  689. package/dist/genesys-webcomponents/{p-831fb4cc.entry.js → p-ef9c62f0.entry.js} +1 -1
  690. package/dist/genesys-webcomponents/p-f19811e6.entry.js +1 -0
  691. package/dist/genesys-webcomponents/{p-51fda966.entry.js → p-f21766df.entry.js} +1 -1
  692. package/dist/genesys-webcomponents/{p-79dfd7bf.entry.js → p-f39ca032.entry.js} +1 -1
  693. package/dist/genesys-webcomponents/{p-4ece6ace.entry.js → p-f46d7dc9.entry.js} +1 -1
  694. package/dist/genesys-webcomponents/p-f480585b.entry.js +1 -0
  695. package/dist/genesys-webcomponents/{p-69c8e846.entry.js → p-f59113f5.entry.js} +1 -1
  696. package/dist/genesys-webcomponents/p-f68b47d9.entry.js +1 -0
  697. package/dist/genesys-webcomponents/{p-53dec3d9.entry.js → p-f6ecef3e.entry.js} +1 -1
  698. package/dist/genesys-webcomponents/p-fa3dd755.entry.js +1 -0
  699. package/dist/genesys-webcomponents/{p-061ea741.entry.js → p-fb37efda.entry.js} +1 -1
  700. package/dist/genesys-webcomponents/{p-b88e7f69.entry.js → p-fcd6e603.entry.js} +1 -1
  701. package/dist/genesys-webcomponents/p-fcdc8ed7.entry.js +1 -0
  702. package/dist/genesys-webcomponents/p-hPZIPnvb.js +1 -0
  703. package/dist/genesys-webcomponents/{p-JPhxXbs4.js → p-kyGdOoF4.js} +1 -1
  704. package/dist/genesys-webcomponents/{p-CqFA-9uw.js → p-m3Lae7sj.js} +1 -1
  705. package/dist/stencil-wrapper.js +1 -1
  706. package/dist/types/components/beta/gux-tree/gux-branch/gux-branch.d.ts +25 -0
  707. package/dist/types/components/beta/gux-tree/gux-leaf/gux-leaf.d.ts +23 -0
  708. package/dist/types/components/beta/gux-tree/gux-tree.d.ts +27 -0
  709. package/dist/types/components/beta/gux-tree/gux-tree.service.d.ts +21 -0
  710. package/dist/types/components/beta/gux-tree/gux-tree.types.d.ts +3 -0
  711. package/dist/types/components/beta/gux-tree/tests/gux-tree.common.d.ts +8 -0
  712. package/dist/types/components/beta/gux-tree-multi/gux-branch-multi/gux-branch-multi.d.ts +27 -0
  713. package/dist/types/components/beta/gux-tree-multi/gux-leaf-multi/gux-leaf-multi.d.ts +24 -0
  714. package/dist/types/components/beta/gux-tree-multi/gux-tree-multi.d.ts +28 -0
  715. package/dist/types/components/beta/gux-tree-multi/gux-tree-multi.service.d.ts +24 -0
  716. package/dist/types/components/beta/gux-tree-multi/gux-tree-multi.types.d.ts +16 -0
  717. package/dist/types/components/beta/gux-tree-multi/tests/gux-tree-multi.common.d.ts +10 -0
  718. package/dist/types/components.d.ts +264 -0
  719. package/dist/types/stencil-wrapper.d.ts +1 -1
  720. package/dist/types/utils/decorator/aria.d.ts +47 -0
  721. package/package.json +1 -1
  722. package/dist/genesys-webcomponents/p-078c349b.entry.js +0 -1
  723. package/dist/genesys-webcomponents/p-0a8991dc.entry.js +0 -1
  724. package/dist/genesys-webcomponents/p-0yc9CKxX.js +0 -1
  725. package/dist/genesys-webcomponents/p-116268dd.entry.js +0 -1
  726. package/dist/genesys-webcomponents/p-2d6e6ef9.entry.js +0 -1
  727. package/dist/genesys-webcomponents/p-2f8645cd.entry.js +0 -1
  728. package/dist/genesys-webcomponents/p-2fb25236.entry.js +0 -1
  729. package/dist/genesys-webcomponents/p-37b9c630.entry.js +0 -1
  730. package/dist/genesys-webcomponents/p-3b7c7a93.entry.js +0 -1
  731. package/dist/genesys-webcomponents/p-4551fc1a.entry.js +0 -1
  732. package/dist/genesys-webcomponents/p-49f4288e.entry.js +0 -1
  733. package/dist/genesys-webcomponents/p-63e3b1f3.entry.js +0 -1
  734. package/dist/genesys-webcomponents/p-71ff1a25.entry.js +0 -1
  735. package/dist/genesys-webcomponents/p-777ea613.entry.js +0 -1
  736. package/dist/genesys-webcomponents/p-79d0c705.entry.js +0 -1
  737. package/dist/genesys-webcomponents/p-7a9be627.entry.js +0 -1
  738. package/dist/genesys-webcomponents/p-7ba8755f.entry.js +0 -1
  739. package/dist/genesys-webcomponents/p-82c3e4ab.entry.js +0 -1
  740. package/dist/genesys-webcomponents/p-83c0a686.entry.js +0 -1
  741. package/dist/genesys-webcomponents/p-8eb7f37d.entry.js +0 -1
  742. package/dist/genesys-webcomponents/p-8ebf81fb.entry.js +0 -1
  743. package/dist/genesys-webcomponents/p-94cb27d3.entry.js +0 -1
  744. package/dist/genesys-webcomponents/p-97ad70c2.entry.js +0 -1
  745. package/dist/genesys-webcomponents/p-C-1lAIfW.js +0 -1
  746. package/dist/genesys-webcomponents/p-Dz_2h4jr.js +0 -2
  747. package/dist/genesys-webcomponents/p-a2f29975.entry.js +0 -1
  748. package/dist/genesys-webcomponents/p-ab3c9fe0.entry.js +0 -1
  749. package/dist/genesys-webcomponents/p-c372d8f5.entry.js +0 -1
  750. package/dist/genesys-webcomponents/p-c76a57f2.entry.js +0 -1
  751. package/dist/genesys-webcomponents/p-cb2f68ed.entry.js +0 -1
  752. package/dist/genesys-webcomponents/p-df234f82.entry.js +0 -1
  753. package/dist/genesys-webcomponents/p-e1de4af9.entry.js +0 -1
  754. package/dist/genesys-webcomponents/p-eaeb9124.entry.js +0 -1
  755. package/dist/genesys-webcomponents/p-f47b496d.entry.js +0 -1
@@ -0,0 +1 @@
1
+ import{r as e,h as t,a as i}from"./p-CjVJoR6g.js";import{r as a}from"./p-D9jKBqIb.js";import{h as r,g as s,a as g}from"./p-hPZIPnvb.js";import"./p-kLXvN2m9.js";const n=class{constructor(t){e(this,t),t.$hostElement$["s-ei"]?this.internals=t.$hostElement$["s-ei"]:(this.internals=t.$hostElement$.attachInternals(),t.$hostElement$["s-ei"]=this.internals),this.selected=!1,this._disabled=!1,this.active=!1,this.filtered=!1,this.size="comfy",this.alignment="start"}get disabled(){return this._disabled||r(this.root)}set disabled(e){this._disabled=e}handleActiveChange(e){this.root.setAttribute("tabIndex",e?"0":""),e&&this.root.focus()}componentWillLoad(){this.labelId=a("gux-leaf-label"),this.internals.role="treeitem",this.root.setAttribute("role","treeitem"),this.root.setAttribute("tabIndex",this.active?"0":""),this.size=s(this.root),this.alignment=g(this.root)}componentWillRender(){this.internals.ariaDisabled=String(this.disabled),this.root.setAttribute("aria-disabled",String(this.disabled)),this.internals.ariaSelected=String(this.selected),this.root.setAttribute("aria-selected",String(this.selected))}render(){return t("div",{key:"b695b25028c40a5332b8c8a4153e4431ffd71c5f",class:{"gux-wrapper":!0,"gux-compact":"compact"===this.size,"gux-end":"end"===this.alignment,"gux-disabled":this.disabled,"gux-selected":this.selected}},t("div",{key:"17b1cdba8590e16ef05fdaba718a2ea3df82010c",class:"gux-node"},t("div",{key:"f30b5f94dd474df8a3965237f4567a1fc41e22f1",class:"gux-selected-bookmark"}),t("div",{key:"1b444d520ba1689c7930f70ad725671e977a99d9",class:"gux-tree-item"},t("div",{key:"125c9722458a9de9f846fc246225b82ec05c490f",class:"gux-selection-target"},t("div",{key:"d0f2b2b84a129f67fa7125725b92d2250ef91753",class:"gux-checkbox-container"},t("input",{key:"57fea7519939e6a5a14c86121e1f682e5539a16d",tabIndex:-1,type:"checkbox",checked:this.selected,disabled:this.disabled,"aria-labelledby":this.labelId})),t("div",{key:"1959af1d9eef9c9848ceb9b1a78afaa15a9d1342",class:"gux-icon"},t("slot",{key:"db2364e938e79a74bf7c39c68ff6f9bcc8b51e7a",name:"icon"})),t("div",{key:"ab1aff2e8ee493a2a2008123c899a515f4b8b56b",class:"gux-label",id:this.labelId},t("slot",{key:"b7651313d0d08a25d7e23f03edcde4c21312edd1",name:"label"}))))))}static get formAssociated(){return!0}get root(){return i(this)}static get watchers(){return{active:["handleActiveChange"]}}};n.style=":host{display:block}:host(:focus-visible){outline:none}:host(:focus-visible) .gux-node{outline:var(--gse-semantic-focusOutline-md-borderWidth) solid var(--gse-semantic-border-focus);outline-offset:var(--gse-semantic-focusOutline-offset)}:host(:focus-visible) .gux-tree-item{background-color:var(--gse-ui-treeView-background-hover)}.gux-wrapper{display:flex;flex-direction:column;flex-wrap:nowrap;place-content:stretch flex-start;align-items:stretch}.gux-wrapper .gux-node{display:flex;flex-direction:row;flex-wrap:nowrap;gap:var(--gse-semantic-interactive-sm-gap);place-content:stretch flex-start;align-items:stretch}.gux-wrapper .gux-node .gux-selected-bookmark{flex:0 1 auto;align-self:auto;inline-size:6px;background:transparent;border-radius:var(--gse-semantic-interactive-sm-borderRadius)}.gux-wrapper .gux-node .gux-tree-item{display:flex;flex:1 1 auto;align-items:center;align-self:auto;padding:var(--gse-ui-treeView-item-comfy-leftAligned-padding);border-radius:var(--gse-semantic-interactive-sm-borderRadius)}.gux-wrapper .gux-node .gux-tree-item:has(:focus-visible),.gux-wrapper .gux-node .gux-tree-item:hover{background-color:var(--gse-ui-treeView-background-hover)}.gux-wrapper .gux-node .gux-tree-item .gux-selection-target{display:flex;flex:0 0 auto;gap:var(--gse-semantic-interactive-lg-gap);align-items:center;align-self:auto;padding-inline-start:8px}.gux-wrapper .gux-node .gux-tree-item .gux-selection-target .gux-checkbox-container{display:flex;align-items:center}.gux-wrapper .gux-node .gux-tree-item .gux-selection-target .gux-icon{display:flex;align-items:center}.gux-wrapper.gux-compact .gux-tree-item{padding:var(--gse-ui-treeView-item-compact-leftAligned-padding)}.gux-wrapper.gux-compact .gux-tree-item .gux-selection-target{padding-inline-start:4px}.gux-wrapper.gux-compact.gux-end .gux-tree-item{padding:var(--gse-ui-treeView-item-compact-rightAligned-padding)}.gux-wrapper.gux-compact.gux-end .gux-tree-item .gux-selection-target{padding-inline-start:0}.gux-wrapper.gux-end .gux-tree-item{padding:var(--gse-ui-treeView-item-comfy-rightAligned-padding)}.gux-wrapper.gux-end .gux-tree-item .gux-selection-target{padding-inline-start:0}.gux-wrapper.gux-selected .gux-selected-bookmark{background:var(--gse-semantic-background-interactive-primary-default)}.gux-wrapper.gux-selected .gux-tree-item{background-color:var(--gse-ui-treeView-background-selected)}.gux-wrapper.gux-disabled{opacity:var(--gse-ui-treeView-disableOpacity);pointer-events:none;cursor:default}::slotted(gux-icon[slot=icon]){display:flex;align-items:center;inline-size:16px;block-size:16px}";export{n as gux_leaf_multi}
@@ -1 +1 @@
1
- import{r as t,c as e,h as i,H as s,a as o}from"./p-Dz_2h4jr.js";import{O as a}from"./p-Ct81NxWr.js";import{t as c}from"./p-CqFA-9uw.js";import{b as r}from"./p-DmaAM9UB.js";import{t as n}from"./p-DN3YAdAX.js";import{b as l}from"./p-Bg4q97BS.js";import{h as d}from"./p-wqCHc7t7.js";import"./p-Cd4R0amv.js";import"./p-DCZG2J0G.js";const f=class{constructor(i){t(this,i),this.linkOptions=e(this,"linkOptions",7),this.disabled=!1,this.isActive=!1,this.isOpen=!1}onClickOutside(){this.isOpen=!1}onFocusOut(t){this.root.contains(t.relatedTarget)||(this.isOpen=!1)}handleKeydown(t){const e=t.composedPath();switch(t.key){case"Escape":this.isOpen=!1,this.actionButton.focus();break;case"ArrowDown":case"Enter":e.includes(this.actionButton)&&(t.preventDefault(),this.isOpen=!0,this.focusTextToDisplayInputElement())}}async componentWillLoad(){c(this.root),this.i18n=await r(this.root,n)}emitLinkOptions(){this.linkOptions.emit({textToDisplay:this.textToDisplayInputElement.value,href:this.linkAddressInputElement.value}),this.textToDisplayInputElement.value=null,this.linkAddressInputElement.value=null,this.isOpen=!1}togglePopover(){this.isOpen=!this.isOpen,this.isOpen?this.focusTextToDisplayInputElement():this.actionButton.focus()}focusTextToDisplayInputElement(){l((()=>{this.textToDisplayInputElement.focus()}))}renderTooltip(){if(!this.disabled)return i("gux-tooltip-beta",null,i("div",{slot:"content"},this.i18n("link")))}render(){return i(s,{key:"a1b092b331afa0f96ca25781b940b46b3035a841"},i("gux-button-slot",{key:"b4e66372d444b08e6dacc608cb344a9db612c69f",accent:"ghost","icon-only":!0},i("button",{key:"4aa355b570fd2ccaa928bdaf6ca4de206c50412b",id:"popover-target",class:{"gux-is-pressed":this.isActive||this.isOpen},onClick:()=>this.togglePopover(),ref:t=>this.actionButton=t,type:"button",disabled:this.disabled||d(this.root),"aria-label":this.i18n("link"),"aria-haspopup":"true","aria-expanded":this.isOpen.toString(),"aria-pressed":this.isActive.toString()},i("gux-icon",{key:"1ec0a4df78d75e9d8481252cb972def5e40d675f",size:"small","icon-name":"fa/link-simple-regular",decorative:!0})),this.renderTooltip()),i("gux-popover",{key:"a7468956071d1ae155015727158665349dcf6ae6","is-open":this.isOpen,for:"popover-target"},i("div",{key:"538950891278b624271633a5ec21c109c26b38be",class:"gux-popover-content-wrapper"},i("gux-form-field-text-like",{key:"08e4c3565214683c6c402b3eb132e9a7d1bcaf3a"},i("input",{key:"8a0ade3097ed0fe365ce604d67b9f4f7dd1ea638",id:"textToDisplay",ref:t=>this.textToDisplayInputElement=t,slot:"input",type:"text"}),i("label",{key:"e893379ef7d6e4eae7972fd2df09aba038947bff",slot:"label"},this.i18n("textToDisplay"))),i("gux-form-field-text-like",{key:"7d3e07127cdff6aab21790b17dd8e7c49186331a"},i("input",{key:"057c3c23108b44f5b1c71f275ed87bbbec95cf04",ref:t=>this.linkAddressInputElement=t,slot:"input",type:"text"}),i("label",{key:"9da451fd7faad7dfcc59504fb81347a44596ecc0",slot:"label"},this.i18n("linkAddress"))),i("gux-cta-group",{key:"701efdf259fef69be6593cbca2e76af5f4cf7cf4",align:"end"},i("gux-button",{key:"dc42e903033f014cf0d5a49d5f720c29b0527d83",onClick:()=>this.emitLinkOptions(),slot:"primary"},this.i18n("insert")),i("gux-button",{key:"af24bdc0a2ae64ba433307fc7ffa3d06a8249773",onClick:()=>this.togglePopover(),slot:"dismiss"},this.i18n("cancel"))))))}get root(){return o(this)}};(function(t,e,i,s){var o,a=arguments.length,c=a<3?e:null===s?s=Object.getOwnPropertyDescriptor(e,i):s;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)c=Reflect.decorate(t,e,i,s);else for(var r=t.length-1;r>=0;r--)(o=t[r])&&(c=(a<3?o(c):a>3?o(e,i,c):o(e,i))||c);a>3&&c&&Object.defineProperty(e,i,c)})([a({triggerEvents:"mousedown"})],f.prototype,"onClickOutside",null),f.style=":host{display:block}gux-popover div.gux-popover-content-wrapper{display:flex;flex-direction:column;gap:var(--gse-ui-popover-gap)}gux-button-slot{inline-size:var(--gse-ui-button-iconOnly-width);block-size:var(--gse-ui-button-default-height)}gux-button-slot button.gux-is-pressed{color:var(--gse-ui-button-ghost-active-foregroundColor);background-color:var(--gse-ui-button-ghost-active-backgroundColor)}";export{f as gux_rich_text_editor_action_link}
1
+ import{r as t,c as e,h as i,H as s,a as o}from"./p-CjVJoR6g.js";import{O as a}from"./p-BvVMx5eW.js";import{t as c}from"./p-m3Lae7sj.js";import{b as r}from"./p-D1QZQXQN.js";import{t as n}from"./p-DN3YAdAX.js";import{b as l}from"./p-Bg4q97BS.js";import{h as d}from"./p-wqCHc7t7.js";import"./p-Cd4R0amv.js";import"./p-DCZG2J0G.js";const f=class{constructor(i){t(this,i),this.linkOptions=e(this,"linkOptions",7),this.disabled=!1,this.isActive=!1,this.isOpen=!1}onClickOutside(){this.isOpen=!1}onFocusOut(t){this.root.contains(t.relatedTarget)||(this.isOpen=!1)}handleKeydown(t){const e=t.composedPath();switch(t.key){case"Escape":this.isOpen=!1,this.actionButton.focus();break;case"ArrowDown":case"Enter":e.includes(this.actionButton)&&(t.preventDefault(),this.isOpen=!0,this.focusTextToDisplayInputElement())}}async componentWillLoad(){c(this.root),this.i18n=await r(this.root,n)}emitLinkOptions(){this.linkOptions.emit({textToDisplay:this.textToDisplayInputElement.value,href:this.linkAddressInputElement.value}),this.textToDisplayInputElement.value=null,this.linkAddressInputElement.value=null,this.isOpen=!1}togglePopover(){this.isOpen=!this.isOpen,this.isOpen?this.focusTextToDisplayInputElement():this.actionButton.focus()}focusTextToDisplayInputElement(){l((()=>{this.textToDisplayInputElement.focus()}))}renderTooltip(){if(!this.disabled)return i("gux-tooltip-beta",null,i("div",{slot:"content"},this.i18n("link")))}render(){return i(s,{key:"a1b092b331afa0f96ca25781b940b46b3035a841"},i("gux-button-slot",{key:"b4e66372d444b08e6dacc608cb344a9db612c69f",accent:"ghost","icon-only":!0},i("button",{key:"4aa355b570fd2ccaa928bdaf6ca4de206c50412b",id:"popover-target",class:{"gux-is-pressed":this.isActive||this.isOpen},onClick:()=>this.togglePopover(),ref:t=>this.actionButton=t,type:"button",disabled:this.disabled||d(this.root),"aria-label":this.i18n("link"),"aria-haspopup":"true","aria-expanded":this.isOpen.toString(),"aria-pressed":this.isActive.toString()},i("gux-icon",{key:"1ec0a4df78d75e9d8481252cb972def5e40d675f",size:"small","icon-name":"fa/link-simple-regular",decorative:!0})),this.renderTooltip()),i("gux-popover",{key:"a7468956071d1ae155015727158665349dcf6ae6","is-open":this.isOpen,for:"popover-target"},i("div",{key:"538950891278b624271633a5ec21c109c26b38be",class:"gux-popover-content-wrapper"},i("gux-form-field-text-like",{key:"08e4c3565214683c6c402b3eb132e9a7d1bcaf3a"},i("input",{key:"8a0ade3097ed0fe365ce604d67b9f4f7dd1ea638",id:"textToDisplay",ref:t=>this.textToDisplayInputElement=t,slot:"input",type:"text"}),i("label",{key:"e893379ef7d6e4eae7972fd2df09aba038947bff",slot:"label"},this.i18n("textToDisplay"))),i("gux-form-field-text-like",{key:"7d3e07127cdff6aab21790b17dd8e7c49186331a"},i("input",{key:"057c3c23108b44f5b1c71f275ed87bbbec95cf04",ref:t=>this.linkAddressInputElement=t,slot:"input",type:"text"}),i("label",{key:"9da451fd7faad7dfcc59504fb81347a44596ecc0",slot:"label"},this.i18n("linkAddress"))),i("gux-cta-group",{key:"701efdf259fef69be6593cbca2e76af5f4cf7cf4",align:"end"},i("gux-button",{key:"dc42e903033f014cf0d5a49d5f720c29b0527d83",onClick:()=>this.emitLinkOptions(),slot:"primary"},this.i18n("insert")),i("gux-button",{key:"af24bdc0a2ae64ba433307fc7ffa3d06a8249773",onClick:()=>this.togglePopover(),slot:"dismiss"},this.i18n("cancel"))))))}get root(){return o(this)}};(function(t,e,i,s){var o,a=arguments.length,c=a<3?e:null===s?s=Object.getOwnPropertyDescriptor(e,i):s;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)c=Reflect.decorate(t,e,i,s);else for(var r=t.length-1;r>=0;r--)(o=t[r])&&(c=(a<3?o(c):a>3?o(e,i,c):o(e,i))||c);a>3&&c&&Object.defineProperty(e,i,c)})([a({triggerEvents:"mousedown"})],f.prototype,"onClickOutside",null),f.style=":host{display:block}gux-popover div.gux-popover-content-wrapper{display:flex;flex-direction:column;gap:var(--gse-ui-popover-gap)}gux-button-slot{inline-size:var(--gse-ui-button-iconOnly-width);block-size:var(--gse-ui-button-default-height)}gux-button-slot button.gux-is-pressed{color:var(--gse-ui-button-ghost-active-foregroundColor);background-color:var(--gse-ui-button-ghost-active-backgroundColor)}";export{f as gux_rich_text_editor_action_link}
@@ -1 +1 @@
1
- import{r as t,c as s,h as i,H as e,a as r}from"./p-Dz_2h4jr.js";import{t as a}from"./p-CqFA-9uw.js";import{n as h,p as o,l as c,f as n}from"./p-BebXX5IS.js";const l=["gux-rich-style-list-item","gux-rich-highlight-list-item","gux-rich-text-editor-sub-list"],g=class{constructor(i){t(this,i),this.internallistitemsupdated=s(this,"internallistitemsupdated",7),this.listItems=[]}get listItemsSlot(){return this.root.querySelector("slot")}get listItemElements(){var t;const s=null===(t=this.listItemsSlot)||void 0===t?void 0:t.assignedElements();return s?Array.from(s):[]}handleHighlighItemsNavigation(){if(this.listItemsSlot){const t=this.listItemsSlot.assignedElements().find((t=>"gux-rich-highlight-list-item"===t.tagName.toLowerCase()));if(t){const s=t.shadowRoot.querySelector("button");s&&(s.tabIndex=0)}}}setListItems(){this.listItems=this.listItemElements,this.internallistitemsupdated.emit()}async componentWillLoad(){a(this.root),this.setListItems(),this.handleHighlighItemsNavigation()}onKeyDown(t){const s=t.target;if(!s)return;const i=s.matches("gux-rich-highlight-list-item");switch(t.key){case"ArrowUp":t.preventDefault(),o(this.root,l);break;case"ArrowDown":t.preventDefault(),h(this.root,l);break;case"Home":t.preventDefault(),n(this.root,l);break;case"End":t.preventDefault(),c(this.root,l);break;case"ArrowLeft":i&&(t.preventDefault(),o(this.root,l));break;case"ArrowRight":i&&(t.preventDefault(),h(this.root,l))}}async guxFocusFirstItem(){n(this.root,l)}async guxFocusLastItem(){c(this.root,l)}render(){return i(e,{key:"afcb753bb56d4ddd0dc927b7d9b58cce1d63edfd",role:"list"},i("slot",{key:"b2d2345f7ae1c03c1c0c0ba8b44348425b1f3c98",onSlotchange:()=>this.setListItems()}))}static get delegatesFocus(){return!0}get root(){return r(this)}};g.style=":host{display:flex;flex-direction:column;flex-wrap:nowrap;place-content:stretch flex-start;align-items:flex-start;padding:var(--gse-ui-menu-padding)}";export{g as gux_rich_text_editor_list}
1
+ import{r as t,c as s,h as i,H as e,a as r}from"./p-CjVJoR6g.js";import{t as a}from"./p-m3Lae7sj.js";import{n as o,p as h,l as c,f as n}from"./p-BebXX5IS.js";const l=["gux-rich-style-list-item","gux-rich-highlight-list-item","gux-rich-text-editor-sub-list"],g=class{constructor(i){t(this,i),this.internallistitemsupdated=s(this,"internallistitemsupdated",7),this.listItems=[]}get listItemsSlot(){return this.root.querySelector("slot")}get listItemElements(){var t;const s=null===(t=this.listItemsSlot)||void 0===t?void 0:t.assignedElements();return s?Array.from(s):[]}handleHighlighItemsNavigation(){if(this.listItemsSlot){const t=this.listItemsSlot.assignedElements().find((t=>"gux-rich-highlight-list-item"===t.tagName.toLowerCase()));if(t){const s=t.shadowRoot.querySelector("button");s&&(s.tabIndex=0)}}}setListItems(){this.listItems=this.listItemElements,this.internallistitemsupdated.emit()}async componentWillLoad(){a(this.root),this.setListItems(),this.handleHighlighItemsNavigation()}onKeyDown(t){const s=t.target;if(!s)return;const i=s.matches("gux-rich-highlight-list-item");switch(t.key){case"ArrowUp":t.preventDefault(),h(this.root,l);break;case"ArrowDown":t.preventDefault(),o(this.root,l);break;case"Home":t.preventDefault(),n(this.root,l);break;case"End":t.preventDefault(),c(this.root,l);break;case"ArrowLeft":i&&(t.preventDefault(),h(this.root,l));break;case"ArrowRight":i&&(t.preventDefault(),o(this.root,l))}}async guxFocusFirstItem(){n(this.root,l)}async guxFocusLastItem(){c(this.root,l)}render(){return i(e,{key:"afcb753bb56d4ddd0dc927b7d9b58cce1d63edfd",role:"list"},i("slot",{key:"b2d2345f7ae1c03c1c0c0ba8b44348425b1f3c98",onSlotchange:()=>this.setListItems()}))}static get delegatesFocus(){return!0}get root(){return r(this)}};g.style=":host{display:flex;flex-direction:column;flex-wrap:nowrap;place-content:stretch flex-start;align-items:flex-start;padding:var(--gse-ui-menu-padding)}";export{g as gux_rich_text_editor_list}
@@ -1 +1 @@
1
- import{r as e,f as t,h as o,a as i,c as r}from"./p-Dz_2h4jr.js";import{b as n}from"./p-DmaAM9UB.js";import{c as s,o as a}from"./p-Cb3FOYGS.js";import{O as l}from"./p-0yc9CKxX.js";import{o as u}from"./p-De1NnCmO.js";import{p as f}from"./p-PYfNAK8p.js";import{h as c,c as d,g as p,v as g,a as h,d as b}from"./p-DHLxhscH.js";import{s as m}from"./p-BMRf5pjV.js";import{h as x}from"./p-qzV3vtOw.js";import{G as v,a as C}from"./p-JPhxXbs4.js";import{G as y,a as k}from"./p-C-1lAIfW.js";import{t as w}from"./p-CqFA-9uw.js";import{f as j}from"./p-JHLuJ8Pb.js";import{t as z}from"./p-BFMPPR7N.js";import{O as T}from"./p-Ct81NxWr.js";import{b as D}from"./p-Bg4q97BS.js";import"./p-Cd4R0amv.js";import"./p-D9jKBqIb.js";import"./p-DxtJDeL9.js";var F={increment:"Increment",decrement:"Decrement"};const I=class{constructor(t){e(this,t),this.indicatorMark="required",this.computedLabelPosition="above",this.hasContent=!1,this.hasError=!1,this.hasHelp=!1}onMutation(){this.labelInfo=this.root.querySelector("[slot=label-info]"),this.hasError=x(this.root,"error"),this.hasHelp=x(this.root,"help")}handleKeyup(e){var t,o;switch(e.key){case"Tab":this.input.matches(":focus-visible")&&(null===(t=this.labelInfo)||void 0===t||t.showTooltip(),this.hideLabelInfoTimeout=setTimeout((()=>{var e;null===(e=this.labelInfo)||void 0===e||e.hideTooltip()}),6e3));break;case"Shift":break;default:this.input.matches(":focus-visible")&&(null===(o=this.labelInfo)||void 0===o||o.hideTooltip(),clearTimeout(this.hideLabelInfoTimeout))}}onFocusout(){var e;null===(e=this.labelInfo)||void 0===e||e.hideTooltip(),clearTimeout(this.hideLabelInfoTimeout)}async guxForceUpdate(){this.hasContent=c(this.input),this.hasError=x(this.root,"error"),this.hasHelp=x(this.root,"help"),t(this.root)}async componentWillLoad(){this.getI18nValue=await n(this.root,F),this.setInput(),this.setLabel(),this.labelInfo=this.root.querySelector("[slot=label-info]"),this.hasError=x(this.root,"error"),this.hasHelp=x(this.root,"help"),w(this.root,{variant:this.variant})}disconnectedCallback(){this.disabledObserver&&this.disabledObserver.disconnect(),this.requiredObserver&&this.requiredObserver.disconnect()}render(){const e=this.clearable&&this.hasContent&&!this.disabled;return o(k,{key:"0ca5789e5559958c4ab1b417c73991b23ed11580",labelPosition:this.computedLabelPosition},o(y,{key:"f1a515af274fc2c6d8934c17a5d26c1348eeab72",required:this.required,position:this.computedLabelPosition},o("slot",{key:"bcec3882fa1918153d794e5c6ed3b8992d63db65",name:"label",onSlotchange:()=>this.setLabel()}),o("gux-form-field-label-indicator",{key:"110f71183b08e6cba8c526a858118bf46cb211c3",variant:this.indicatorMark,required:this.required}),o("slot",{key:"0c31a9352578006a4dca382689921121a8c5f249",name:"label-info"})),o("div",{key:"401dccf5bd3816a186a127ead4110fbe16991853",class:"gux-input-and-error-container"},o("div",{key:"6f3d3dd17c6440b9d8c7ba78f84a325b9f9ff506",class:{"gux-input":!0,"gux-input-error":this.hasError},part:"input-section"},o("div",{key:"fa47c9300d920689a7fb83d1caed78d83b4278f2",class:{"gux-input-container":!0,"gux-disabled":this.disabled,"gux-clear":e},onClick:()=>j(this.input)},o("slot",{key:"fff065406a009f7111596786957be17cd19d174c",name:"input",onSlotchange:()=>this.setInput()}),e&&o("gux-form-field-input-clear-button",{key:"d1254160acb0f0b6bd4ba64845b85789691bef30",onClick:()=>d(this.input)})),this.renderStepButtons(this.input,this.getI18nValue,this.disabled)),o(v,{key:"e812de2dd3698a21bbfa7482e233671b47658bd6",show:this.hasError},o("slot",{key:"14c27afac8d064a6c905c5e8b8cf707ed5cae8ff",name:"error"})),o(C,{key:"e8cdaded0cdbe3c99507bc56c8f97ce9b4ceae99",show:!this.hasError&&this.hasHelp},o("slot",{key:"6b1ad0a8da8bdf473678a2a3469f82f7596da261",name:"help"}))))}get variant(){const e=this.labelPosition?this.labelPosition.toLowerCase():"none";return`${this.clearable?"clearable":"unclearable"}-${e}`}setInput(){this.input=p(this.root,'input[type="number"][slot="input"]'),this.hasContent=c(this.input),f(this.input),this.input.addEventListener("input",(()=>{this.hasContent=c(this.input)})),this.disabled=s(this.input),this.required=this.input.required,this.disabledObserver=a(this.input,(e=>{this.disabled=e})),this.requiredObserver=u(this.input,(e=>{this.required=e})),g(this.root,this.input)}setLabel(){this.label=this.root.querySelector('label[slot="label"]'),this.computedLabelPosition=h(this.label,this.labelPosition)}renderStepButtons(e,t,i){return o("div",{class:"gux-step-buttons-container"},o("button",{class:"gux-step-button",tabIndex:-1,type:"button",title:t("increment"),disabled:i,onClick:()=>this.stepUp(e)},o("gux-icon",{"icon-name":"custom/chevron-up-small-regular",decorative:!0})),o("button",{class:"gux-step-button",tabIndex:-1,type:"button",title:t("decrement"),disabled:i,onClick:()=>this.stepDown(e)},o("gux-icon",{"icon-name":"custom/chevron-down-small-regular",decorative:!0})))}stepDown(e){""===e.value?b(e,e.min||"0",!1):(e.stepDown(),this.simulateNativeInputAndChangeEvents(e))}stepUp(e){""===e.value?b(e,e.min||"0",!1):(e.stepUp(),this.simulateNativeInputAndChangeEvents(e))}simulateNativeInputAndChangeEvents(e){m(e,"input"),m(e,"change")}static get delegatesFocus(){return!0}get root(){return i(this)}};(function(e,t,o,i){var r,n=arguments.length,s=n<3?t:null===i?i=Object.getOwnPropertyDescriptor(t,o):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(e,t,o,i);else for(var a=e.length-1;a>=0;a--)(r=e[a])&&(s=(n<3?r(s):n>3?r(t,o,s):r(t,o))||s);n>3&&s&&Object.defineProperty(t,o,s)})([l({childList:!0,subtree:!0})],I.prototype,"onMutation",null),I.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%;padding-block-end:0;overflow:hidden;text-overflow:ellipsis;font-family:var(--gse-ui-formControl-input-contentText-fontFamily);font-size:var(--gse-ui-formControl-input-contentText-fontSize);font-weight:var(--gse-ui-formControl-input-contentText-fontWeight);line-height:var(--gse-ui-formControl-input-contentText-lineHeight);color:var(--gse-ui-formControl-input-populatedColor);text-align:end;outline:none;background-color:var(--gse-ui-formControl-input-backgroundColor);border:none}::slotted(input)::placeholder{color:var(--gse-ui-formControl-input-placeholderColor);opacity:1}.gux-input-and-error-container{flex-grow:1}.gux-input-and-error-container .gux-input{display:flex;flex-direction:row;flex-wrap:nowrap;align-content:stretch;align-items:center;inline-size:100%}.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);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: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-error .gux-input-container{border-color:var(--gse-ui-formControl-input-error-border-color)}.gux-step-buttons-container{flex:0 1 14px;align-self:auto;order:0;margin-inline-start:var(--gse-ui-formControl-spinButton-gap)}.gux-step-buttons-container .gux-step-button{display:flex;flex:0 1 auto;align-items:center;align-self:auto;justify-content:center;order:0;padding:0;color:var(--gse-ui-formControl-input-inputIcon-defaultColor);background:transparent;border:var(--gse-ui-formControl-input-default-border-width) var(--gse-ui-formControl-input-default-border-style) transparent}.gux-step-buttons-container .gux-step-button:not(:disabled):focus-visible,.gux-step-buttons-container .gux-step-button:not(:disabled):hover{cursor:pointer;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-step-buttons-container .gux-step-button:disabled{opacity:var(--gse-ui-formControl-input-disabled-opacity)}.gux-step-buttons-container .gux-step-button gux-icon{flex:0 0 auto;inline-size:14px;block-size:14px}";const B=class{constructor(t){e(this,t),this.goToPage=r(this,"goToPage",7),this.isOpen=!1,this.disabled=!1}handleKeyDown(e){const t=e.composedPath();switch(e.key){case"Escape":this.isOpen=!1,this.ellipsisButton.focus();break;case"Tab":this.isOpen=!1;break;case"ArrowDown":case"Enter":t.includes(this.ellipsisButton)&&(e.preventDefault(),this.isOpen=!0,this.focusInputElement())}}handleKeyup(e){if(" "===e.key)e.composedPath().includes(this.ellipsisButton)&&(this.isOpen=!0,this.focusInputElement())}watchIsDisabled(e){e&&(this.isOpen=!1)}toggle(){this.isOpen=!this.isOpen,this.isOpen&&this.focusInputElement()}onClickOutside(){this.isOpen=!1}focusInputElement(){D((()=>{this.inputElement.focus()}))}applyInputListener(){var e;null===(e=this.inputElement)||void 0===e||e.addEventListener("keydown",(e=>{const t=e.target.value.trim();"Enter"!=e.key&&" "!=e.key||(""==t?e.preventDefault():(e.preventDefault(),this.goToPage.emit(e.target.value),this.isOpen=!1))}))}async componentWillLoad(){this.i18n=await n(this.root,z,"gux-pagination-buttons"),w(this.root)}componentDidLoad(){this.applyInputListener()}render(){return[o("gux-button",{key:"e10b419c593f6f299a60c20a7655b91f4e71e02a",accent:"ghost",id:"popover-target",type:"button",disabled:this.disabled,ref:e=>this.ellipsisButton=e,onClick:()=>this.toggle(),"aria-haspopup":"true","aria-expanded":this.isOpen.toString()},o("gux-icon",{key:"6a6ec779b319d3f26b5d0a591895c6d6d7796b16",screenreaderText:this.i18n("goToPage"),"icon-name":"fa/ellipsis-regular",size:"small"})),o("gux-tooltip",{key:"62e2ffc6ba51093c8f648e06628b8e732f5de3d8",for:"popover-target"},o("div",{key:"e0273908c8092a611674455f4154285976593c33",slot:"content"},this.i18n("goToPage"))),o("gux-popover",{key:"1e78cd0e315e6e709a8c277651bedefd4fbc535b","is-open":this.isOpen,for:"popover-target"},o("span",{key:"52e17202b3b1f1a58f524108b23f706dae46925c",slot:"title"},this.i18n("goToPage")),o("gux-form-field-number",{key:"004801a1160ece8a9fbfcfc5ad1103ff6aeab522"},o("input",{key:"33ad1e9bdf53ad8d1e3777039d25edca01463009",slot:"input",type:"number",ref:e=>this.inputElement=e,min:"1",max:this.totalPages,value:"1",onKeyDown:e=>["e","E","+","-","."].includes(e.key)&&e.preventDefault()}),o("label",{key:"af4b6fb251f9223a5e3b81cb3e8fdc4285abe193",slot:"label"})))]}get root(){return i(this)}static get watchers(){return{disabled:["watchIsDisabled"]}}};(function(e,t,o,i){var r,n=arguments.length,s=n<3?t:null===i?i=Object.getOwnPropertyDescriptor(t,o):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(e,t,o,i);else for(var a=e.length-1;a>=0;a--)(r=e[a])&&(s=(n<3?r(s):n>3?r(t,o,s):r(t,o))||s);n>3&&s&&Object.defineProperty(t,o,s)})([T({triggerEvents:"mousedown"})],B.prototype,"onClickOutside",null),B.style="gux-button gux-icon{padding-block-start:4px}input::-webkit-outer-spin-button,input::-webkit-inner-spin-button{margin:0;-webkit-appearance:none}input[type=number]{-moz-appearance:textfield}";export{I as gux_form_field_number,B as gux_pagination_ellipsis_button}
1
+ import{r as e,f as t,h as o,a as i,c as r}from"./p-CjVJoR6g.js";import{b as n}from"./p-D1QZQXQN.js";import{c as s,o as a}from"./p-Cb3FOYGS.js";import{O as l}from"./p-DaK6PJIg.js";import{o as u}from"./p-De1NnCmO.js";import{p as f}from"./p-PYfNAK8p.js";import{h as c,c as d,g as p,v as g,a as h,d as b}from"./p-DHLxhscH.js";import{s as m}from"./p-BMRf5pjV.js";import{h as x}from"./p-qzV3vtOw.js";import{G as v,a as C}from"./p-kyGdOoF4.js";import{G as y,a as k}from"./p-CuKTBQuB.js";import{t as w}from"./p-m3Lae7sj.js";import{f as j}from"./p-JHLuJ8Pb.js";import{t as z}from"./p-BFMPPR7N.js";import{O as T}from"./p-BvVMx5eW.js";import{b as D}from"./p-Bg4q97BS.js";import"./p-Cd4R0amv.js";import"./p-D9jKBqIb.js";import"./p-DxtJDeL9.js";var B={increment:"Increment",decrement:"Decrement"};const F=class{constructor(t){e(this,t),this.indicatorMark="required",this.computedLabelPosition="above",this.hasContent=!1,this.hasError=!1,this.hasHelp=!1}onMutation(){this.labelInfo=this.root.querySelector("[slot=label-info]"),this.hasError=x(this.root,"error"),this.hasHelp=x(this.root,"help")}handleKeyup(e){var t,o;switch(e.key){case"Tab":this.input.matches(":focus-visible")&&(null===(t=this.labelInfo)||void 0===t||t.showTooltip(),this.hideLabelInfoTimeout=setTimeout((()=>{var e;null===(e=this.labelInfo)||void 0===e||e.hideTooltip()}),6e3));break;case"Shift":break;default:this.input.matches(":focus-visible")&&(null===(o=this.labelInfo)||void 0===o||o.hideTooltip(),clearTimeout(this.hideLabelInfoTimeout))}}onFocusout(){var e;null===(e=this.labelInfo)||void 0===e||e.hideTooltip(),clearTimeout(this.hideLabelInfoTimeout)}async guxForceUpdate(){this.hasContent=c(this.input),this.hasError=x(this.root,"error"),this.hasHelp=x(this.root,"help"),t(this.root)}async componentWillLoad(){this.getI18nValue=await n(this.root,B),this.setInput(),this.setLabel(),this.labelInfo=this.root.querySelector("[slot=label-info]"),this.hasError=x(this.root,"error"),this.hasHelp=x(this.root,"help"),w(this.root,{variant:this.variant})}disconnectedCallback(){this.disabledObserver&&this.disabledObserver.disconnect(),this.requiredObserver&&this.requiredObserver.disconnect()}render(){const e=this.clearable&&this.hasContent&&!this.disabled;return o(k,{key:"90d5e16c6ef7e2a2e7abddc91bf5713c688d7441",labelPosition:this.computedLabelPosition},o(y,{key:"1796e128b658cef62715939694a50c71563adf1f",required:this.required,position:this.computedLabelPosition},o("slot",{key:"74b756eea647e50e0ec1f5b9b8ef196ff0baf919",name:"label",onSlotchange:()=>this.setLabel()}),o("gux-form-field-label-indicator",{key:"41c513200de88aeea159bdc06ec72ba4eef7d0ec",variant:this.indicatorMark,required:this.required}),o("slot",{key:"bbead0e0878d01a6c5b5c2080fd379bfe280781c",name:"label-info"})),o("div",{key:"d29c19a7659f7c6256d04f30c559f7a250db8d59",class:"gux-input-and-error-container"},o("div",{key:"348f1bd39cce8cb55808e575edce407a9de787c5",class:{"gux-input":!0,"gux-input-error":this.hasError},part:"input-section"},o("div",{key:"f5f0a64ecc9cdccad10aa53c736af6a58c64ad8c",class:{"gux-input-container":!0,"gux-disabled":this.disabled,"gux-clear":e},onClick:()=>j(this.input)},o("slot",{key:"98f09b4410b331d1b6e3be20339cabe5e4ed7dac",name:"input",onSlotchange:()=>this.setInput()}),e&&o("gux-form-field-input-clear-button",{key:"154a6d749eefe9b4e9a560665d6899c842d9cf88",onClick:()=>d(this.input)})),this.renderStepButtons(this.input,this.getI18nValue,this.disabled)),o(v,{key:"5595b19ff59894584333bb86b26626430e452d9f",show:this.hasError},o("slot",{key:"e3d9f931279d74a70d33249f8a91501ffdb6d5ef",name:"error"})),o(C,{key:"01fead16f03e86758a9a0a678297566b2942af5f",show:!this.hasError&&this.hasHelp},o("slot",{key:"a527b88629e7eb040ab000a6e6f3db8044c8c3cb",name:"help"}))))}get variant(){const e=this.labelPosition?this.labelPosition.toLowerCase():"none";return`${this.clearable?"clearable":"unclearable"}-${e}`}setInput(){this.input=p(this.root,'input[type="number"][slot="input"]'),this.hasContent=c(this.input),f(this.input),this.input.addEventListener("input",(()=>{this.hasContent=c(this.input)})),this.disabled=s(this.input),this.required=this.input.required,this.disabledObserver=a(this.input,(e=>{this.disabled=e})),this.requiredObserver=u(this.input,(e=>{this.required=e})),g(this.root,this.input)}setLabel(){this.label=this.root.querySelector('label[slot="label"]'),this.computedLabelPosition=h(this.label,this.labelPosition)}renderStepButtons(e,t,i){return o("div",{class:"gux-step-buttons-container"},o("button",{class:"gux-step-button",tabIndex:-1,type:"button",title:t("increment"),disabled:i,onClick:()=>this.stepUp(e)},o("gux-icon",{"icon-name":"custom/chevron-up-small-regular",decorative:!0})),o("button",{class:"gux-step-button",tabIndex:-1,type:"button",title:t("decrement"),disabled:i,onClick:()=>this.stepDown(e)},o("gux-icon",{"icon-name":"custom/chevron-down-small-regular",decorative:!0})))}stepDown(e){""===e.value?b(e,e.min||"0",!1):(e.stepDown(),this.simulateNativeInputAndChangeEvents(e))}stepUp(e){""===e.value?b(e,e.min||"0",!1):(e.stepUp(),this.simulateNativeInputAndChangeEvents(e))}simulateNativeInputAndChangeEvents(e){m(e,"input"),m(e,"change")}static get delegatesFocus(){return!0}get root(){return i(this)}};(function(e,t,o,i){var r,n=arguments.length,s=n<3?t:null===i?i=Object.getOwnPropertyDescriptor(t,o):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(e,t,o,i);else for(var a=e.length-1;a>=0;a--)(r=e[a])&&(s=(n<3?r(s):n>3?r(t,o,s):r(t,o))||s);n>3&&s&&Object.defineProperty(t,o,s)})([l({childList:!0,subtree:!0})],F.prototype,"onMutation",null),F.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%;padding-block-end:0;overflow:hidden;text-overflow:ellipsis;font-family:var(--gse-ui-formControl-input-contentText-fontFamily);font-size:var(--gse-ui-formControl-input-contentText-fontSize);font-weight:var(--gse-ui-formControl-input-contentText-fontWeight);line-height:var(--gse-ui-formControl-input-contentText-lineHeight);color:var(--gse-ui-formControl-input-populatedColor);text-align:end;outline:none;background-color:var(--gse-ui-formControl-input-backgroundColor);border:none}::slotted(input)::placeholder{color:var(--gse-ui-formControl-input-placeholderColor);opacity:1}.gux-input-and-error-container{flex-grow:1}.gux-input-and-error-container .gux-input{display:flex;flex-direction:row;flex-wrap:nowrap;align-content:stretch;align-items:center;inline-size:100%}.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);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: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-error .gux-input-container{border-color:var(--gse-ui-formControl-input-error-border-color)}.gux-step-buttons-container{flex:0 1 14px;align-self:auto;order:0;margin-inline-start:var(--gse-ui-formControl-spinButton-gap)}.gux-step-buttons-container .gux-step-button{display:flex;flex:0 1 auto;align-items:center;align-self:auto;justify-content:center;order:0;padding:0;color:var(--gse-ui-formControl-input-inputIcon-defaultColor);background:transparent;border:var(--gse-ui-formControl-input-default-border-width) var(--gse-ui-formControl-input-default-border-style) transparent}.gux-step-buttons-container .gux-step-button:not(:disabled):focus-visible,.gux-step-buttons-container .gux-step-button:not(:disabled):hover{cursor:pointer;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-step-buttons-container .gux-step-button:disabled{opacity:var(--gse-ui-formControl-input-disabled-opacity)}.gux-step-buttons-container .gux-step-button gux-icon{flex:0 0 auto;inline-size:14px;block-size:14px}";const I=class{constructor(t){e(this,t),this.goToPage=r(this,"goToPage",7),this.isOpen=!1,this.disabled=!1}handleKeyDown(e){const t=e.composedPath();switch(e.key){case"Escape":this.isOpen=!1,this.ellipsisButton.focus();break;case"Tab":this.isOpen=!1;break;case"ArrowDown":case"Enter":t.includes(this.ellipsisButton)&&(e.preventDefault(),this.isOpen=!0,this.focusInputElement())}}handleKeyup(e){if(" "===e.key)e.composedPath().includes(this.ellipsisButton)&&(this.isOpen=!0,this.focusInputElement())}watchIsDisabled(e){e&&(this.isOpen=!1)}toggle(){this.isOpen=!this.isOpen,this.isOpen&&this.focusInputElement()}onClickOutside(){this.isOpen=!1}focusInputElement(){D((()=>{this.inputElement.focus()}))}applyInputListener(){var e;null===(e=this.inputElement)||void 0===e||e.addEventListener("keydown",(e=>{const t=e.target.value.trim();"Enter"!=e.key&&" "!=e.key||(""==t?e.preventDefault():(e.preventDefault(),this.goToPage.emit(e.target.value),this.isOpen=!1))}))}async componentWillLoad(){this.i18n=await n(this.root,z,"gux-pagination-buttons"),w(this.root)}componentDidLoad(){this.applyInputListener()}render(){return[o("gux-button",{key:"dc02b1dd771945c1ecbce59fbafd05615874e712",accent:"ghost",id:"popover-target",type:"button",disabled:this.disabled,ref:e=>this.ellipsisButton=e,onClick:()=>this.toggle(),"aria-haspopup":"true","aria-expanded":this.isOpen.toString()},o("gux-icon",{key:"5b873a48e18ea081aebe22ace5d8ad886a81ecfd",screenreaderText:this.i18n("goToPage"),"icon-name":"fa/ellipsis-regular",size:"small"})),o("gux-tooltip",{key:"d82be5b126883b6c7cc5667d85255aa04a5dd879",for:"popover-target"},o("div",{key:"82059d46f97a0fecf7b0c53f8efc94ca01e21ae9",slot:"content"},this.i18n("goToPage"))),o("gux-popover",{key:"5c37bb4c99dc4a1192f059273dc1bb5b3ad1c1fc","is-open":this.isOpen,for:"popover-target"},o("span",{key:"b4bec3c175b53cac4f886437efdd68c185fa4486",slot:"title"},this.i18n("goToPage")),o("gux-form-field-number",{key:"187a746265682d387c0429687851851367bad470"},o("input",{key:"94f6afb7cd058db635e7c14377dc15e10dab9425",slot:"input",type:"number",ref:e=>this.inputElement=e,min:"1",max:this.totalPages,value:"1",onKeyDown:e=>["e","E","+","-","."].includes(e.key)&&e.preventDefault()}),o("label",{key:"3185a2487e177d653614e56bd48010d94bc110a7",slot:"label"})))]}get root(){return i(this)}static get watchers(){return{disabled:["watchIsDisabled"]}}};(function(e,t,o,i){var r,n=arguments.length,s=n<3?t:null===i?i=Object.getOwnPropertyDescriptor(t,o):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(e,t,o,i);else for(var a=e.length-1;a>=0;a--)(r=e[a])&&(s=(n<3?r(s):n>3?r(t,o,s):r(t,o))||s);n>3&&s&&Object.defineProperty(t,o,s)})([T({triggerEvents:"mousedown"})],I.prototype,"onClickOutside",null),I.style="gux-button gux-icon{padding-block-start:4px}input::-webkit-outer-spin-button,input::-webkit-inner-spin-button{margin:0;-webkit-appearance:none}input[type=number]{-moz-appearance:textfield}";export{F as gux_form_field_number,I as gux_pagination_ellipsis_button}
@@ -1 +1 @@
1
- import{r as a,c as t,d as i,h as e,a as n}from"./p-Dz_2h4jr.js";import{a as s}from"./p-Bg4q97BS.js";import{t as o}from"./p-CqFA-9uw.js";const r=class{constructor(i){a(this,i),this.guxpaginationchange=t(this,"guxpaginationchange",7),this.reinstateLayoutBreakpoint=0,this.layout="advanced",this.currentPage=1,this.totalItems=0,this.itemsPerPage=25,this.disabled=!1}setPage(a){if(a<=0)return void this.setPage(1);const t=this.calculateTotalPages(this.totalItems,this.itemsPerPage);a>t?this.setPage(t):(this.currentPage=a,this.guxpaginationchange.emit({currentPage:this.currentPage,itemsPerPage:this.itemsPerPage}))}handleInternalitemsperpagechange(a){this.itemsPerPage=a.detail,this.setPage(1)}handleInternalcurrentpagechange(a){this.setPage(a.detail)}calculateTotalPages(a,t){return Math.max(1,Math.ceil(a/t))}calculateCurrentPage(a,t){return Math.max(a>0?1:0,Math.min(t,a))}checkPaginationContainerWidthForLayout(){i((()=>{const a=this.root.shadowRoot.querySelector(".gux-pagination-container"),t=this.root.shadowRoot.querySelector(".gux-pagination-spacer"),i=a.clientWidth;t.clientWidth<24&&"simple"!==this.displayedLayout?(this.reinstateLayoutBreakpoint=i,this.displayedLayout="simple"):i>this.reinstateLayoutBreakpoint&&(this.reinstateLayoutBreakpoint=0,this.displayedLayout=this.layout)}))}componentWillLoad(){o(this.root,{variant:this.layout})}componentWillRender(){this.totalPages=this.calculateTotalPages(this.totalItems,this.itemsPerPage),this.currentPage=this.calculateCurrentPage(this.totalPages,this.currentPage)}disconnectedCallback(){this.resizeObserver&&this.resizeObserver.unobserve(this.root.shadowRoot.querySelector(".gux-pagination-container"))}componentDidLoad(){!this.resizeObserver&&window.ResizeObserver&&(this.resizeObserver=new ResizeObserver((()=>this.checkPaginationContainerWidthForLayout()))),this.resizeObserver&&this.resizeObserver.observe(this.root.shadowRoot.querySelector(".gux-pagination-container")),s((()=>{this.checkPaginationContainerWidthForLayout()}),500)}render(){return e("div",{key:"a3457044c618f68d56a7949b38697c38b81366b4",class:"gux-pagination-container"},e("div",{key:"760f80259b8202e74622dc124f3e926e27ecd0d9",class:"gux-pagination-info"},e("gux-pagination-item-counts",{key:"84e7667f505e4cd402bb25025ec22a4c0117886c","total-items":this.totalItems,"current-page":this.currentPage,"items-per-page":this.itemsPerPage}),"advanced"===this.displayedLayout&&e("gux-pagination-items-per-page",{key:"5481d08f3dc86b70d897735de7fab5b941f1a449",disabled:this.disabled,"items-per-page":this.itemsPerPage,onInternalitemsperpagechange:this.handleInternalitemsperpagechange.bind(this)})),e("div",{key:"9e7e49f9de9278488c13b2d50d885a3d6fe2ef20",class:"gux-pagination-spacer"}),e("div",{key:"137cc8057bd270f62cb1f123ae2d893937f506c8",class:"gux-pagination-change"},e("gux-pagination-buttons",{key:"9f8141a4e2be3dfa43929dd9d270eae8d8ba27b3",disabled:this.disabled,layout:this.displayedLayout,"current-page":this.currentPage,"total-pages":this.totalPages,onInternalcurrentpagechange:this.handleInternalcurrentpagechange.bind(this)})))}get root(){return n(this)}};r.style=":host{display:block;block-size:var(--gse-ui-dataTableItems-cell-tablePagination-height);border-block-start: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;padding:var(--gse-ui-dataTableItems-tablePagination-padding);background-color:var(--gse-ui-dataTableItems-tablePagination-defaultBackgroundColor)}.gux-pagination-container .gux-pagination-info{display:flex;flex:0 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-spacer{flex:1 1 auto;align-self:auto;order:0}.gux-pagination-container .gux-pagination-change{flex:0 1 auto;align-self:auto;order:0}.gux-pagination-container .gux-pagination-change:first-child{margin-inline-start:0}";export{r as gux_pagination}
1
+ import{r as a,c as t,d as i,h as e,a as n}from"./p-CjVJoR6g.js";import{a as s}from"./p-Bg4q97BS.js";import{t as o}from"./p-m3Lae7sj.js";const r=class{constructor(i){a(this,i),this.guxpaginationchange=t(this,"guxpaginationchange",7),this.reinstateLayoutBreakpoint=0,this.layout="advanced",this.currentPage=1,this.totalItems=0,this.itemsPerPage=25,this.disabled=!1}setPage(a){if(a<=0)return void this.setPage(1);const t=this.calculateTotalPages(this.totalItems,this.itemsPerPage);a>t?this.setPage(t):(this.currentPage=a,this.guxpaginationchange.emit({currentPage:this.currentPage,itemsPerPage:this.itemsPerPage}))}handleInternalitemsperpagechange(a){this.itemsPerPage=a.detail,this.setPage(1)}handleInternalcurrentpagechange(a){this.setPage(a.detail)}calculateTotalPages(a,t){return Math.max(1,Math.ceil(a/t))}calculateCurrentPage(a,t){return Math.max(a>0?1:0,Math.min(t,a))}checkPaginationContainerWidthForLayout(){i((()=>{const a=this.root.shadowRoot.querySelector(".gux-pagination-container"),t=this.root.shadowRoot.querySelector(".gux-pagination-spacer"),i=a.clientWidth;t.clientWidth<24&&"simple"!==this.displayedLayout?(this.reinstateLayoutBreakpoint=i,this.displayedLayout="simple"):i>this.reinstateLayoutBreakpoint&&(this.reinstateLayoutBreakpoint=0,this.displayedLayout=this.layout)}))}componentWillLoad(){o(this.root,{variant:this.layout})}componentWillRender(){this.totalPages=this.calculateTotalPages(this.totalItems,this.itemsPerPage),this.currentPage=this.calculateCurrentPage(this.totalPages,this.currentPage)}disconnectedCallback(){this.resizeObserver&&this.resizeObserver.unobserve(this.root.shadowRoot.querySelector(".gux-pagination-container"))}componentDidLoad(){!this.resizeObserver&&window.ResizeObserver&&(this.resizeObserver=new ResizeObserver((()=>this.checkPaginationContainerWidthForLayout()))),this.resizeObserver&&this.resizeObserver.observe(this.root.shadowRoot.querySelector(".gux-pagination-container")),s((()=>{this.checkPaginationContainerWidthForLayout()}),500)}render(){return e("div",{key:"6978cc54f2ad9988db08efbd3dc619b2f7b5605b",class:"gux-pagination-container"},e("div",{key:"56719bd646f8e299bf6444d48d27fbbcd5db0cea",class:"gux-pagination-info"},e("gux-pagination-item-counts",{key:"5e3e026bb6dc561092f80cf7ccebae0bc44d470e","total-items":this.totalItems,"current-page":this.currentPage,"items-per-page":this.itemsPerPage}),"advanced"===this.displayedLayout&&e("gux-pagination-items-per-page",{key:"5cf3ea6ed306b7ccca9f54f9da5afd607261d399",disabled:this.disabled,"items-per-page":this.itemsPerPage,onInternalitemsperpagechange:this.handleInternalitemsperpagechange.bind(this)})),e("div",{key:"ae2d7d8830d0c3655684d53c1f57384f32412311",class:"gux-pagination-spacer"}),e("div",{key:"4cf7aaefab6219ae0175540c02b2befb246d1069",class:"gux-pagination-change"},e("gux-pagination-buttons",{key:"d02299e1ff5b9ebf8eaacdf405a3e95c33ab4368",disabled:this.disabled,layout:this.displayedLayout,"current-page":this.currentPage,"total-pages":this.totalPages,onInternalcurrentpagechange:this.handleInternalcurrentpagechange.bind(this)})))}get root(){return n(this)}};r.style=":host{display:block;block-size:var(--gse-ui-dataTableItems-cell-tablePagination-height);border-block-start: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;padding:var(--gse-ui-dataTableItems-tablePagination-padding);background-color:var(--gse-ui-dataTableItems-tablePagination-defaultBackgroundColor)}.gux-pagination-container .gux-pagination-info{display:flex;flex:0 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-spacer{flex:1 1 auto;align-self:auto;order:0}.gux-pagination-container .gux-pagination-change{flex:0 1 auto;align-self:auto;order:0}.gux-pagination-container .gux-pagination-change:first-child{margin-inline-start:0}";export{r as gux_pagination}
@@ -1 +1 @@
1
- import{r as t,c as e,h as i}from"./p-Dz_2h4jr.js";import{a as s,c as a,o as n,f as o,e as c,s as d,h}from"./p-C8aV-TzO.js";const p=class{constructor(i){t(this,i),this.internalexpanded=e(this,"internalexpanded",7),this.internalcollapsed=e(this,"internalcollapsed",7),this.placement="bottom-start",this.expanded=!1,this.disabled=!1,this.offset=2,this.exceedTargetWidth=!1,this.inline=!1}runUpdatePosition(){this.cleanupUpdatePosition&&this.cleanupUpdatePosition(),this.cleanupUpdatePosition=s(this.targetElementContainer,this.popupElementContainer,(()=>this.updatePosition()),{ancestorScroll:!0,elementResize:!0,animationFrame:!0,ancestorResize:!0})}updatePosition(){if(this.targetElementContainer&&this.popupElementContainer){const t=this.exceedTargetWidth,e=this.inline;a(this.targetElementContainer,this.popupElementContainer,{strategy:"fixed",placement:this.placement,middleware:[n(this.offset),o(),c({apply({rects:i,elements:s}){t&&!e?Object.assign(s.floating.style,{minWidth:`${i.reference.width}px`}):e||Object.assign(s.floating.style,{width:`${i.reference.width}px`})}}),d(),h()]}).then((({x:t,y:e,middlewareData:i})=>{const{referenceHidden:s}=i.hide;isNaN(t)||Object.assign(this.popupElementContainer.style,{left:`${t}px`}),isNaN(e)||Object.assign(this.popupElementContainer.style,{top:`${e}px`}),s?this.popupElementContainer.classList.add("gux-sr-only-clip"):this.popupElementContainer.classList.remove("gux-sr-only-clip")}))}}onExpandedChange(t){t?this.internalexpanded.emit():this.internalcollapsed.emit()}componentDidLoad(){this.expanded&&this.runUpdatePosition()}componentDidUpdate(){this.expanded?this.runUpdatePosition():this.cleanupUpdatePosition&&this.cleanupUpdatePosition()}disconnectedCallback(){this.cleanupUpdatePosition&&this.cleanupUpdatePosition()}render(){return i("div",{key:"a8174ee5aaeb559bff6a643c7c548cf47b93a2d8",class:{"gux-target-container":!0,"gux-disabled":this.disabled},"aria-disabled":this.disabled.toString(),ref:t=>this.targetElementContainer=t},i("slot",{key:"32a1b620d4ccd219f077c0aea392cc294cc109ec",name:"target"}),i("div",{key:"8062ea28866a693c57f4df9568d49d87116c954e",class:{"gux-popup-container":!0,"gux-expanded":this.expanded&&!this.disabled},ref:t=>this.popupElementContainer=t},i("slot",{key:"1616edfe5ca6bedd6eeeffd36f0a0b5ba238dd75",name:"popup"})))}static get watchers(){return{expanded:["onExpandedChange"]}}};p.style=".gux-target-container.gux-disabled{pointer-events:none;cursor:default;opacity:0.5}.gux-popup-container{position:fixed;z-index:var(--gse-semantic-zIndex-popup);visibility:hidden;inline-size:max-content;background-color:var(--gse-ui-menu-backgroundColor)}.gux-popup-container.gux-expanded{visibility:visible}.gux-sr-only-clip{}.gux-sr-only-clip:not(:focus):not(:active){position:absolute;width:1px;height:1px;overflow:hidden;white-space:nowrap;clip-path:inset(50%)}";export{p as gux_popup}
1
+ import{r as t,c as e,h as i}from"./p-CjVJoR6g.js";import{a as s,c as a,o as n,f as o,e as d,s as c,h}from"./p-C8aV-TzO.js";const p=class{constructor(i){t(this,i),this.internalexpanded=e(this,"internalexpanded",7),this.internalcollapsed=e(this,"internalcollapsed",7),this.placement="bottom-start",this.expanded=!1,this.disabled=!1,this.offset=2,this.exceedTargetWidth=!1,this.inline=!1}runUpdatePosition(){this.cleanupUpdatePosition&&this.cleanupUpdatePosition(),this.cleanupUpdatePosition=s(this.targetElementContainer,this.popupElementContainer,(()=>this.updatePosition()),{ancestorScroll:!0,elementResize:!0,animationFrame:!0,ancestorResize:!0})}updatePosition(){if(this.targetElementContainer&&this.popupElementContainer){const t=this.exceedTargetWidth,e=this.inline;a(this.targetElementContainer,this.popupElementContainer,{strategy:"fixed",placement:this.placement,middleware:[n(this.offset),o(),d({apply({rects:i,elements:s}){t&&!e?Object.assign(s.floating.style,{minWidth:`${i.reference.width}px`}):e||Object.assign(s.floating.style,{width:`${i.reference.width}px`})}}),c(),h()]}).then((({x:t,y:e,middlewareData:i})=>{const{referenceHidden:s}=i.hide;isNaN(t)||Object.assign(this.popupElementContainer.style,{left:`${t}px`}),isNaN(e)||Object.assign(this.popupElementContainer.style,{top:`${e}px`}),s?this.popupElementContainer.classList.add("gux-sr-only-clip"):this.popupElementContainer.classList.remove("gux-sr-only-clip")}))}}onExpandedChange(t){t?this.internalexpanded.emit():this.internalcollapsed.emit()}componentDidLoad(){this.expanded&&this.runUpdatePosition()}componentDidUpdate(){this.expanded?this.runUpdatePosition():this.cleanupUpdatePosition&&this.cleanupUpdatePosition()}disconnectedCallback(){this.cleanupUpdatePosition&&this.cleanupUpdatePosition()}render(){return i("div",{key:"1b11e7f6289afcc7bd32d7e94c82bf450adf08c0",class:{"gux-target-container":!0,"gux-disabled":this.disabled},"aria-disabled":this.disabled.toString(),ref:t=>this.targetElementContainer=t},i("slot",{key:"e9a34bc876cac7d01175f5f9131511e9e1d66dd3",name:"target"}),i("div",{key:"5348da84e7bf80ab33aca37b39e7ac4597029b86",class:{"gux-popup-container":!0,"gux-expanded":this.expanded&&!this.disabled},ref:t=>this.popupElementContainer=t},i("slot",{key:"a6ee36bf1db796881b0e26e82f22fdf2bd5aecbe",name:"popup"})))}static get watchers(){return{expanded:["onExpandedChange"]}}};p.style=".gux-target-container.gux-disabled{pointer-events:none;cursor:default;opacity:0.5}.gux-popup-container{position:fixed;z-index:var(--gse-semantic-zIndex-popup);visibility:hidden;inline-size:max-content;background-color:var(--gse-ui-menu-backgroundColor)}.gux-popup-container.gux-expanded{visibility:visible}.gux-sr-only-clip{}.gux-sr-only-clip:not(:focus):not(:active){position:absolute;width:1px;height:1px;overflow:hidden;white-space:nowrap;clip-path:inset(50%)}";export{p as gux_popup}
@@ -0,0 +1 @@
1
+ import{r as e,h as o,a as t}from"./p-CjVJoR6g.js";import{O as i}from"./p-DaK6PJIg.js";import{h as r}from"./p-qzV3vtOw.js";import{t as l}from"./p-m3Lae7sj.js";import{G as a,a as s}from"./p-kyGdOoF4.js";import{G as n,a as f}from"./p-CuKTBQuB.js";import{a as h,g as d,v as u}from"./p-DHLxhscH.js";import{p}from"./p-PYfNAK8p.js";import{o as c}from"./p-De1NnCmO.js";import"./p-D9jKBqIb.js";import"./p-DxtJDeL9.js";import"./p-BMRf5pjV.js";const m=class{constructor(o){e(this,o),this.indicatorMark="required",this.computedLabelPosition="above",this.hasError=!1,this.hasHelp=!1,this.required=!1}onMutation(){this.labelInfo=this.root.querySelector("[slot=label-info]"),this.hasError=r(this.root,"error"),this.hasHelp=r(this.root,"help")}handleKeyup(e){var 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)}componentWillLoad(){this.setInput(),this.setLabel(),this.hasError=r(this.root,"error"),this.hasHelp=r(this.root,"help"),this.labelInfo=this.root.querySelector("[slot=label-info]"),l(this.root,{variant:this.variant})}disconnectedCallback(){this.requiredObserver&&this.requiredObserver.disconnect()}setLabel(){this.label=this.root.querySelector('label[slot="label"]'),this.computedLabelPosition=h(this.label,this.labelPosition)}setInput(){this.input=d(this.root,'input[type="file"][slot="input"]'),p(this.input),this.required=this.input.required,this.requiredObserver=c(this.input,(e=>{this.required=e})),u(this.root,this.input)}get variant(){return`fileInput-${this.labelPosition?this.labelPosition.toLowerCase():"none"}`}render(){return o(f,{key:"e0bf36a5846108b782d45d69d546df7968c27be1",labelPosition:this.computedLabelPosition},o(n,{key:"1e38a2db5962d0594b9c4c24b5cbfeec54e10a9e",position:this.computedLabelPosition,required:this.required},o("slot",{key:"cadd228e2193bfd3dc6fc683567798585a43a970",name:"label",onSlotchange:()=>this.setLabel()}),o("gux-form-field-label-indicator",{key:"274ff710fcaa93a43c8745733ea8b6ad7fc17886",variant:this.indicatorMark,required:this.required}),o("slot",{key:"a3769af19bd4ac5ba366b2665b94b2aecb52e6e2",name:"label-info"})),o("div",{key:"369144c92e017294e9239a789512f33cea2ef30c",class:"gux-input-and-error-container"},o("slot",{key:"c3404649dff37d36d99f3ee0e0fabeec595e56c6",name:"input",onSlotchange:()=>this.setInput()}),o(a,{key:"a611431c330b59cc6c3f10a3f61ece178d025c12",show:this.hasError},o("slot",{key:"29a75e190160ee14011b962724ba9f79913e938a",name:"error"})),o(s,{key:"34871d72bea59b39c5c582134c5cc9a44ccb448c",show:!this.hasError&&this.hasHelp},o("slot",{key:"69868bad03f1cb80e040723946677e476bd15efc",name:"help"}))))}get root(){return t(this)}};(function(e,o,t,i){var r,l=arguments.length,a=l<3?o:null===i?i=Object.getOwnPropertyDescriptor(o,t):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(e,o,t,i);else for(var s=e.length-1;s>=0;s--)(r=e[s])&&(a=(l<3?r(a):l>3?r(o,t,a):r(o,t))||a);l>3&&a&&Object.defineProperty(o,t,a)})([i({childList:!0,subtree:!0})],m.prototype,"onMutation",null),m.style=".gux-form-field-container{display:flex;flex-direction:column}.gux-form-field-container.gux-beside{flex-direction:row}.gux-form-field-error{display:none;flex-direction:row;flex-wrap:nowrap;gap:var(--gse-ui-formControl-helper-gap);place-content:stretch flex-start;padding:var(--gse-ui-formControl-helper-errorPadding);font-family:var(--gse-ui-formControl-helper-helperText-fontFamily);font-size:var(--gse-ui-formControl-helper-helperText-fontSize);line-height:var(--gse-ui-formControl-helper-helperText-lineHeight);color:var(--gse-ui-formControl-helper-errorColor)}.gux-form-field-error.gux-show{display:flex}.gux-form-field-error gux-icon{flex:0 0 auto;order:0;color:var(--gse-ui-formControl-helper-errorColor)}.gux-form-field-error .gux-message{flex:0 1 auto;align-self:auto;order:0}.gux-form-field-label{display:inline-flex;flex:1 0 auto}.gux-form-field-label ::slotted(label){min-inline-size:0}.gux-form-field-label ::slotted(gux-label-info-beta){padding-inline-start:var(--gse-ui-formControl-formField-gap)}.gux-form-field-label.gux-beside{position:relative;inset-block-start:var(--gse-ui-formControl-input-top);inline-size:fit-content;min-inline-size:var(--gse-ui-formControl-input-textfield-minWidth);max-inline-size:fit-content;margin-inline-end:var(--gse-ui-formControl-group-gapItems)}.gux-form-field-label.gux-above{padding-block-end:var(--gse-ui-formControl-formField-gap)}.gux-form-field-label.gux-screenreader{position:absolute;top:auto;left:-10000px;width:1px;height:1px;overflow:hidden}.gux-form-field-help{display:none;flex-direction:row;flex-wrap:nowrap;place-content:stretch flex-start;align-items:flex-start;justify-content:flex-start;padding-block-start:var(--gse-ui-formControl-formField-gap);font-family:var(--gse-ui-formControl-helper-helperText-fontFamily);font-size:var(--gse-ui-formControl-helper-helperText-fontSize);line-height:var(--gse-ui-formControl-helper-helperText-lineHeight);color:var(--gse-ui-formControl-helper-defaultColor)}.gux-form-field-help.gux-show{display:flex}.gux-form-field-help .gux-message{flex:0 1 auto;align-self:none;order:0}:host{display:block}::slotted(label){font-family:var(--gse-ui-formControl-label-textBold-fontFamily);font-size:var(--gse-ui-formControl-label-textBold-fontSize);font-weight:var(--gse-ui-formControl-label-textBold-fontWeight);line-height:var(--gse-ui-formControl-label-textBold-lineHeight);color:var(--gse-ui-formControl-label-labelColor)}.gux-input-and-error-container{flex-grow:1}";export{m as gux_form_field_file}
@@ -1 +1 @@
1
- import{r as e,h as t,H as i,a as o}from"./p-Dz_2h4jr.js";import{b as s}from"./p-CK42c8Uy.js";import{g as n}from"./p-Cd4R0amv.js";import{h as a}from"./p-qzV3vtOw.js";import{r}from"./p-D9jKBqIb.js";const l=class{constructor(t){e(this,t),this.iconPosition="start",this.active=!1,this.selected=!1,this.disabled=!1,this.filtered=!1,this.hovered=!1,this.hasSubtext=!1}onmouseenter(){this.hovered=!0}onMouseleave(){this.hovered=!1}handleActive(e){var t,i;e?null===(t=this.truncateElement)||void 0===t||t.setShowTooltip():null===(i=this.truncateElement)||void 0===i||i.setHideTooltip()}componentWillLoad(){this.root.id=this.root.id||r("gux-option-icon"),this.onSubtextChange()}onSubtextChange(){this.hasSubtext=a(this.root,"subtext")}getAriaSelected(){return!this.disabled&&(this.selected?"true":"false")}hasDisabledParent(){const e=n("gux-listbox",this.root);return null==e?void 0:e.disabled}renderMaybeIcon(e){if(e!==this.iconPosition)return null;let i=null;return null===this.iconColor||this.hovered||this.active||(i={color:this.iconColor}),t("gux-icon",{decorative:null==this.iconSrText,"screenreader-text":this.iconSrText,"icon-name":this.iconName,style:i,size:"small"})}render(){return t(i,{key:"4a5d562a9f36bc0fba3f0ef97098fac591229fd6",role:"option",class:{"gux-active":this.active,"gux-disabled":this.disabled||this.hasDisabledParent(),"gux-filtered":this.filtered,"gux-hovered":this.hovered,"gux-selected":this.selected,"gux-show-subtext":this.hasSubtext},"aria-selected":this.getAriaSelected(),"aria-disabled":s(this.disabled||this.hasDisabledParent())},this.renderMaybeIcon("start"),t("div",{key:"a46c3b0030de9e063c66bb8844c2b7cdedc041c6",class:"gux-option-wrapper"},t("gux-truncate",{key:"ab78233c510a13d72c886f32c67259ff2cc08d67","tooltip-placement":"right",ref:e=>this.truncateElement=e},t("slot",{key:"8708858e3906a4a2f33770b6ccb553ebc8f32a47"})),t("slot",{key:"45b838f8a64fd95568a7d727f1579a67cdba87d1",onSlotchange:()=>this.onSubtextChange(),name:"subtext"})),this.renderMaybeIcon("end"))}get root(){return o(this)}static get watchers(){return{active:["handleActive"]}}};l.style=":host{box-sizing:border-box;display:flex;flex-direction:row;flex-wrap:nowrap;gap:var(--gse-ui-menu-option-gap);place-content:stretch center;align-items:center;block-size:var(--gse-ui-menu-option-height);min-block-size:var(--gse-ui-menu-option-height);padding:var(--gse-ui-menu-option-padding);font-family:var(--gse-ui-menu-option-label-default-text-fontFamily);font-size:var(--gse-ui-menu-option-label-default-text-fontSize);font-weight:var(--gse-ui-menu-option-label-default-text-fontWeight);line-height:var(--gse-ui-menu-option-label-default-text-lineHeight);color:var(--gse-ui-menu-option-label-foregroundColor);overflow-wrap:break-word;cursor:pointer}:host .gux-option-wrapper{inline-size:100%;user-select:none}:host .gux-slot-container{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}:host(.gux-disabled){pointer-events:none;cursor:default;opacity:var(--gse-ui-menu-option-disabled-opacity)}:host(.gux-selected){font-family:var(--gse-ui-menu-option-label-active-text-fontFamily);font-size:var(--gse-ui-menu-option-label-active-text-fontSize);font-weight:var(--gse-ui-menu-option-label-active-text-fontWeight);line-height:var(--gse-ui-menu-option-label-active-text-lineHeight);background:var(--gse-ui-menu-option-selected-backgroundColor)}:host(:active:not(:disabled)){font-family:var(--gse-ui-menu-option-label-active-text-fontFamily);font-size:var(--gse-ui-menu-option-label-active-text-fontSize);font-weight:var(--gse-ui-menu-option-label-active-text-fontWeight);line-height:var(--gse-ui-menu-option-label-active-text-lineHeight)}:host(.gux-active){outline:var(--gse-ui-menu-option-focus-border-width) var(--gse-ui-menu-option-focus-border-style) var(--gse-ui-menu-option-focus-border-color);outline-offset:-2px;border-radius:var(--gse-semantic-focusOutline-sm-borderRadius)}:host(.gux-show-subtext){align-items:flex-start;block-size:auto;padding:var(--gse-ui-menu-option-subtext-padding)}:host(.gux-show-subtext) .gux-option-wrapper{display:flex;flex-direction:column}:host(.gux-show-subtext) slot[name=subtext]::slotted(*){font-weight:var(--gse-ui-menu-option-label-default-text-fontWeight);color:var(--gse-ui-menu-groupedMenu-subtext-foregroundColor)}:host(:hover:not(:disabled)){background:var(--gse-ui-menu-option-hover-backgroundColor)}:host(.gux-filtered){display:none}:host gux-icon{flex-shrink:0}:host .gux-option-wrapper{min-inline-size:0}";export{l as gux_option_icon}
1
+ import{r as e,h as t,H as i,a as o}from"./p-CjVJoR6g.js";import{b as s}from"./p-CK42c8Uy.js";import{g as n}from"./p-Cd4R0amv.js";import{h as a}from"./p-qzV3vtOw.js";import{r}from"./p-D9jKBqIb.js";const l=class{constructor(t){e(this,t),this.iconPosition="start",this.active=!1,this.selected=!1,this.disabled=!1,this.filtered=!1,this.hovered=!1,this.hasSubtext=!1}onmouseenter(){this.hovered=!0}onMouseleave(){this.hovered=!1}handleActive(e){var t,i;e?null===(t=this.truncateElement)||void 0===t||t.setShowTooltip():null===(i=this.truncateElement)||void 0===i||i.setHideTooltip()}componentWillLoad(){this.root.id=this.root.id||r("gux-option-icon"),this.onSubtextChange()}onSubtextChange(){this.hasSubtext=a(this.root,"subtext")}getAriaSelected(){return!this.disabled&&(this.selected?"true":"false")}hasDisabledParent(){const e=n("gux-listbox",this.root);return null==e?void 0:e.disabled}renderMaybeIcon(e){if(e!==this.iconPosition)return null;let i=null;return null===this.iconColor||this.hovered||this.active||(i={color:this.iconColor}),t("gux-icon",{decorative:null==this.iconSrText,"screenreader-text":this.iconSrText,"icon-name":this.iconName,style:i,size:"small"})}render(){return t(i,{key:"a0dafaa490624de3b8f9e15fb0ba79f679083567",role:"option",class:{"gux-active":this.active,"gux-disabled":this.disabled||this.hasDisabledParent(),"gux-filtered":this.filtered,"gux-hovered":this.hovered,"gux-selected":this.selected,"gux-show-subtext":this.hasSubtext},"aria-selected":this.getAriaSelected(),"aria-disabled":s(this.disabled||this.hasDisabledParent())},this.renderMaybeIcon("start"),t("div",{key:"4ac4c5871979db46592877ae65b0116d9f9deb4a",class:"gux-option-wrapper"},t("gux-truncate",{key:"8663dc8929ef0c2d371624a823b686f2a1345801","tooltip-placement":"right",ref:e=>this.truncateElement=e},t("slot",{key:"303b7881c1c5b96d4a70a7f49823733108650bd0"})),t("slot",{key:"9baaac543f178dcfa6e0073b4713a1ecf0353709",onSlotchange:()=>this.onSubtextChange(),name:"subtext"})),this.renderMaybeIcon("end"))}get root(){return o(this)}static get watchers(){return{active:["handleActive"]}}};l.style=":host{box-sizing:border-box;display:flex;flex-direction:row;flex-wrap:nowrap;gap:var(--gse-ui-menu-option-gap);place-content:stretch center;align-items:center;block-size:var(--gse-ui-menu-option-height);min-block-size:var(--gse-ui-menu-option-height);padding:var(--gse-ui-menu-option-padding);font-family:var(--gse-ui-menu-option-label-default-text-fontFamily);font-size:var(--gse-ui-menu-option-label-default-text-fontSize);font-weight:var(--gse-ui-menu-option-label-default-text-fontWeight);line-height:var(--gse-ui-menu-option-label-default-text-lineHeight);color:var(--gse-ui-menu-option-label-foregroundColor);overflow-wrap:break-word;cursor:pointer}:host .gux-option-wrapper{inline-size:100%;user-select:none}:host .gux-slot-container{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}:host(.gux-disabled){pointer-events:none;cursor:default;opacity:var(--gse-ui-menu-option-disabled-opacity)}:host(.gux-selected){font-family:var(--gse-ui-menu-option-label-active-text-fontFamily);font-size:var(--gse-ui-menu-option-label-active-text-fontSize);font-weight:var(--gse-ui-menu-option-label-active-text-fontWeight);line-height:var(--gse-ui-menu-option-label-active-text-lineHeight);background:var(--gse-ui-menu-option-selected-backgroundColor)}:host(:active:not(:disabled)){font-family:var(--gse-ui-menu-option-label-active-text-fontFamily);font-size:var(--gse-ui-menu-option-label-active-text-fontSize);font-weight:var(--gse-ui-menu-option-label-active-text-fontWeight);line-height:var(--gse-ui-menu-option-label-active-text-lineHeight)}:host(.gux-active){outline:var(--gse-ui-menu-option-focus-border-width) var(--gse-ui-menu-option-focus-border-style) var(--gse-ui-menu-option-focus-border-color);outline-offset:-2px;border-radius:var(--gse-semantic-focusOutline-sm-borderRadius)}:host(.gux-show-subtext){align-items:flex-start;block-size:auto;padding:var(--gse-ui-menu-option-subtext-padding)}:host(.gux-show-subtext) .gux-option-wrapper{display:flex;flex-direction:column}:host(.gux-show-subtext) slot[name=subtext]::slotted(*){font-weight:var(--gse-ui-menu-option-label-default-text-fontWeight);color:var(--gse-ui-menu-groupedMenu-subtext-foregroundColor)}:host(:hover:not(:disabled)){background:var(--gse-ui-menu-option-hover-backgroundColor)}:host(.gux-filtered){display:none}:host gux-icon{flex-shrink:0}:host .gux-option-wrapper{min-inline-size:0}";export{l as gux_option_icon}
@@ -0,0 +1 @@
1
+ import{r as t,h as s,H as i,a as e}from"./p-CjVJoR6g.js";import{t as r}from"./p-m3Lae7sj.js";import{D as o,g as a}from"./p-DcL3bWH_.js";import{d as m,a as h}from"./p-DvPw3gUX.js";import{u as p}from"./p-BgaA4g76.js";import{g as n}from"./p-D1QZQXQN.js";import"./p-DCZG2J0G.js";import"./p-Cd4R0amv.js";const c=class{constructor(s){t(this,s),this.hasRegionalDatesCookie=!1,this.datetime=(new Date).toISOString(),this.format="short"}componentWillLoad(){r(this.root),p()?this.hasRegionalDatesCookie=!0:this.formatter=new o(n(this.root))}renderTime(){return this.hasRegionalDatesCookie?m(h(this.root),{timeStyle:this.format,timeZone:a(this.timeZone)}).format(new Date(this.datetime)):this.formatter.formatTime(new Date(this.datetime),this.format,{timeZone:a(this.timeZone)})}render(){return s(i,{key:"9c1d2e451ccf531cb803b8052cfb5f9f7f01ea69"},this.renderTime())}get root(){return e(this)}};export{c as gux_time_beta}
@@ -1 +1 @@
1
- import{r as e,c as t,h as a,a as n}from"./p-Dz_2h4jr.js";import{a as r}from"./p-Bg4q97BS.js";import{a as s,c as i,b as d,f as o}from"./p-aKaDsw_5.js";import{t as u}from"./p-CqFA-9uw.js";import{b as l,g as c,c as g}from"./p-DmaAM9UB.js";import{c as h}from"./p-Cf6_BoFM.js";import{d as x}from"./p-DvPw3gUX.js";import{u as b}from"./p-BgaA4g76.js";import"./p-Cd4R0amv.js";import"./p-DCZG2J0G.js";function f(e,t){v(e,"remove",t)}function v(e=[],t,a){const n=[].concat(e);for(const e of n)e.classList[t](a)}var m={previousMonth:"Go to the previous month",nextMonth:"Go to the next month"};function y(e,t){return b()?h(x(t,{year:"numeric",month:"long"}).format(e)):h(e.toLocaleDateString(t,{calendar:"gregory",year:"numeric",month:"long"}))}const M=class{constructor(a){e(this,a),this.calendarSelect=t(this,"calendarSelect",7),this.value="",this.minDate="",this.maxDate="",this.mode="single",this.numberOfMonths=1,this.previewValue=new Date,this.selectingDate=null,this.locale="en"}emitCalendarSelect(){this.calendarSelect.emit(this.value)}async setValue(e){if("range"===this.mode&&e instanceof Array){const[t,a]=e;this.value=s(t,a),this.previewValue=i(this.value)[0]}else{const t=e;this.value=d(t),this.previewValue=t}}async focusPreviewDate(){const e=this.root.shadowRoot.querySelector(`td[data-date="${this.previewValue.getTime()}"]`);e&&e.focus()}async resetCalendarView(e){this.previewValue=e}incrementPreviewDateByMonth(e){this.previewValue=new Date(this.previewValue.getFullYear(),this.previewValue.getMonth()+e,15,0,0,0)}async setValueAndEmit(e){await this.setValue(e),this.emitCalendarSelect()}outOfBounds(e){return""!==this.maxDate&&o(this.maxDate)<e||""!==this.minDate&&o(this.minDate)>e}generateDatesFrom(e,t,a){const n=[],r=new Date(t.getFullYear(),t.getMonth(),t.getDate(),0,0,0,0);for(let t=0;t<a;t++){const t=new Date(r.getFullYear(),r.getMonth(),r.getDate(),0,0,0,0),a=[],s=new Date,d=r.getFullYear()===s.getFullYear()&&r.getMonth()===s.getMonth()&&r.getDate()===s.getDate();let u=!1,l=!1;t.getMonth()!==e&&(a.push("gux-not-in-month"),u=!0,"range"===this.mode&&(a.push("gux-hidden"),l=!0)),this.outOfBounds(t)&&(a.push("gux-disabled"),u=!0);let c=!1;if(d&&a.push("gux-current-date"),"range"===this.mode){const[e,n]=i(this.value),r=e.getTime(),s=n.getTime();t.getTime()===r&&t.getTime()===s?(c=!0,a.push("gux-selected")):t.getTime()===r?(c=!0,a.push("gux-selected"),a.push("gux-start-date")):t.getTime()===s&&(c=!0,a.push("gux-selected"),a.push("gux-end-date"))}else{const e=o(this.value).getTime();t.getTime()===e&&(c=!0,a.push("gux-selected"))}n.push({class:a.join(" "),date:t,hidden:l,disabled:u,selected:c,isToday:d}),r.setDate(r.getDate()+1)}return n}create2DArray(e,t){const a=[];for(let n=0;n<t-1;n++){const r=e.slice(n*t,n*t+t);this.weekShouldBeDisplayed(r)&&a.push(r)}return a}isFocusableDate(e){return e.selected||this.previewValue.getTime()===e.date.getTime()}weekShouldBeDisplayed(e){const t=e.find((e=>!e.hidden));return e.length&&!!t}getMonthDays(e){const t=new Date(this.previewValue.getTime());t.setDate(1),t.setMonth(t.getMonth()+e);const a=t.getMonth(),n=function(e,t,a){const n=new Date(t,e,1,1,0,0,0),r=-1*(a-n.getDay()-7)%7;return new Date(n.getTime()-864e5*r)}(a,t.getFullYear(),this.startDayOfWeek),r=this.generateDatesFrom(a,n,42);return this.create2DArray(r,7)}addDays(e,t){const a=new Date(e.valueOf());return a.setDate(a.getDate()+t),a}getAllDatesElements(){const e=this.root.shadowRoot.querySelectorAll("td");return Array.from(e)}getAllSelectableDatesElements(){const e=this.root.shadowRoot.querySelectorAll('td[tabindex="0"]');return Array.from(e)}getRangeDatesElements(e,t){const a=[];let n;n=t<e?this.getRangeDates(t,e):this.getRangeDates(e,t);for(const e of n){const t=this.root.shadowRoot.querySelector(`td[data-date="${e.getTime()}"]:not(.gux-hidden)`);t&&a.push(t)}return a}getRangeDates(e,t){const a=[];let n=e;for(;n<=t;)a.push(new Date(n)),n=this.addDays(n,1);return a}async onDateClick(e){if(!this.outOfBounds(e))if("range"!==this.mode)await this.setValueAndEmit(e);else if(null===this.selectingDate)f(this.getAllDatesElements(),"gux-hovered"),this.selectingDate=new Date(e.valueOf()),this.value=s(e,e);else{const t=this.root.shadowRoot.querySelector(`td[data-date="${e.getTime()}"]`);t&&t.classList.add("gux-selected"),this.updateRangeElements(),await this.setValueAndEmit([this.selectingDate,e]),this.previewValue=e,this.selectingDate=null}}onDateMouseEnter(e){"range"===this.mode&&null!==this.selectingDate&&(this.value=s(e,this.selectingDate),this.updateRangeElements())}updateRangeElements(){if("range"===this.mode){f(this.getAllDatesElements(),"gux-hovered");const[e,t]=i(this.value);v(this.getRangeDatesElements(e,t),"add","gux-hovered")}}async onKeyDown(e){switch(e.key){case" ":case"Enter":e.preventDefault(),await this.onDateClick(this.previewValue);break;case"ArrowDown":e.preventDefault(),this.previewValue=new Date(this.previewValue.setDate(this.previewValue.getDate()+7)),this.onDateMouseEnter(this.previewValue),r((()=>{this.focusPreviewDate()}));break;case"ArrowUp":e.preventDefault(),this.previewValue=new Date(this.previewValue.setDate(this.previewValue.getDate()-7)),this.onDateMouseEnter(this.previewValue),r((()=>{this.focusPreviewDate()}));break;case"ArrowLeft":e.preventDefault(),this.previewValue=new Date(this.previewValue.setDate(this.previewValue.getDate()-1)),this.onDateMouseEnter(this.previewValue),r((()=>{this.focusPreviewDate()}));break;case"ArrowRight":e.preventDefault(),this.previewValue=new Date(this.previewValue.setDate(this.previewValue.getDate()+1)),this.onDateMouseEnter(this.previewValue),r((()=>{this.focusPreviewDate()}));break;case"PageUp":e.preventDefault(),this.incrementPreviewDateByMonth(1),this.onDateMouseEnter(this.previewValue),r((()=>{this.focusPreviewDate()}));break;case"PageDown":e.preventDefault(),this.incrementPreviewDateByMonth(-1),this.onDateMouseEnter(this.previewValue),r((()=>{this.focusPreviewDate()}))}}async componentWillLoad(){if(u(this.root,{variant:this.mode}),this.i18n=await l(this.root,m),this.locale=c(this.root),this.startDayOfWeek=this.startDayOfWeek||g(this.locale),!this.value){const e=new Date;e.setHours(0,0,0,0),this.value="range"===this.mode?s(e,e):d(e)}this.previewValue=o(this.value)}componentDidRender(){this.updateRangeElements()}renderMonthHeader(){return a("div",{class:"gux-month-list"},Array.from(Array(this.numberOfMonths).keys()).map((e=>{const t=function(e,t){const a=new Date(e);return a.setDate(1),a.setMonth(a.getMonth()+t),a}(this.previewValue,e);return a("label",null,y(t,this.locale))})))}renderCalendarTable(e){return a("table",null,a("tr",null,function(e,t){const a=[],n=new Date(1970,0,4);for(let t=0;t<7;t++){const t=n.toLocaleString(e,{weekday:"narrow"});a.push(t),n.setDate(n.getDate()+1)}return(r=a).concat(r.splice(0,(s=t)>r.length?s%r.length:s));var r,s}(this.locale,this.startDayOfWeek).map((e=>a("th",null,e)))),this.getMonthDays(e).map((e=>a("tr",null,e.map((e=>a("td",{tabindex:this.isFocusableDate(e)?"0":"-1",class:e.class,"aria-hidden":e.hidden?"true":"false","aria-disabled":e.disabled?"true":"false","data-date":e.date.getTime(),onClick:()=>{this.onDateClick(e.date)},onMouseEnter:()=>this.onDateMouseEnter(e.date),onKeyDown:e=>{this.onKeyDown(e)}},a("div",{class:"gux-date"},e.date.getDate(),a("span",{class:"gux-sr-only"},y(e.date,this.locale))))))))))}render(){return a("div",{key:"cd6c50d851d8410f3843c68f1a5f0be54f8d7460",class:"gux-calendar"},a("div",{key:"c95ab41b3d438fd45c2d60d614355343691f0eb6",class:"gux-header"},a("button",{key:"b28c6d87ac010da89aa96e4d1c3402b64c23ed46",type:"button",class:"gux-left","aria-label":this.i18n("previousMonth"),onClick:()=>this.incrementPreviewDateByMonth(-1)},a("gux-icon",{key:"fec29d9097028b81d78c7df2f74f9cfa16773745",size:"small",decorative:!0,"icon-name":"custom/chevron-left-small-regular"})),this.renderMonthHeader(),a("button",{key:"55deb6a23f78e55b54eb8e3a1cb810acb0a2c33b",type:"button",class:"gux-right","aria-label":this.i18n("nextMonth"),onClick:()=>this.incrementPreviewDateByMonth(1)},a("gux-icon",{key:"ca9ea22a8ef0a0f9caa3ae3c035b293730ddf256",size:"small",decorative:!0,"icon-name":"custom/chevron-right-small-regular"}))),a("div",{key:"6350ba215eaefa732bab29346dd98ecf3b1acf09",class:"gux-content"},Array.from(Array(this.numberOfMonths).keys()).map((e=>this.renderCalendarTable(e)))))}get root(){return n(this)}};M.style=":host{display:inline-block}.gux-calendar{margin-block-start:2px;border-radius:8px;box-shadow:var(--gse-ui-calendarMenu-boxShadow)}.gux-calendar .gux-header{display:flex;align-items:center;justify-content:space-between;block-size:var(--gse-ui-calendarMenu-month-single-header-height);padding:var(--gse-ui-calendarMenu-header-padding);font-style:normal;font-weight:var(--gse-ui-calendarMenu-month-currentText-fontWeight);color:var(--gse-ui-calendarMenu-header-foregroundColor);text-align:center;background-color:var(--gse-ui-calendarMenu-header-backgroundColor);border-radius:var(--gse-ui-calendarMenu-single-header-borderRadius)}.gux-calendar .gux-header .gux-header-month-and-year{inline-size:var(--gse-ui-calendarMenu-month-single-header-textWidth);font-family:var(--gse-ui-calendarMenu-month-headerText-fontFamily);font-size:var(--gse-ui-calendarMenu-month-headerText-fontSize);line-height:var(--gse-ui-calendarMenu-month-headerText-lineHeight);color:var(--gse-ui-calendarMenu-month-selected-foregroundColor)}.gux-calendar .gux-header .gux-left,.gux-calendar .gux-header .gux-right{block-size:100%;color:var(--gse-ui-calendarMenu-header-foregroundColor);cursor:pointer;outline:none;background:none;border:none}.gux-calendar .gux-header .gux-left:focus-visible,.gux-calendar .gux-header .gux-right:focus-visible{outline:var(--gse-semantic-focusOutline-md-borderWidth) solid var(--gse-semantic-border-focus);outline-offset:var(--gse-semantic-focusOutline-offset)}.gux-calendar .gux-header .gux-month-list{display:flex;justify-content:space-between;inline-size:100%;font-family:var(--gse-ui-calendarMenu-month-headerText-fontFamily);font-size:var(--gse-ui-calendarMenu-month-headerText-fontSize);line-height:var(--gse-ui-calendarMenu-month-headerText-lineHeight)}.gux-calendar .gux-header .gux-month-list label{inline-size:100%;text-align:center}.gux-calendar .gux-content{display:flex;align-items:flex-start;block-size:var(--gse-ui-calendarMenu-height);padding:var(--gse-ui-calendarMenu-dateBody-padding);color:var(--gse-ui-calendarMenu-month-default-foregroundColor);background-color:var(--gse-ui-calendarMenu-backgroundColor);border-radius:var(--gse-ui-calendarMenu-single-body-borderRadius)}.gux-calendar .gux-content table{inline-size:var(--gse-ui-calendarMenu-day-input-width);text-align:start;-ms-user-select:none;user-select:none;table-layout:fixed;border-spacing:0}.gux-calendar .gux-content table:not(:last-child){padding-inline-end:24px}.gux-calendar .gux-content table tr{block-size:var(--gse-ui-calendarMenu-day-input-height)}.gux-calendar .gux-content table tr:empty{display:none}.gux-calendar .gux-content table tr th,.gux-calendar .gux-content table tr td{inline-size:var(--gse-ui-calendarMenu-day-date-size);block-size:var(--gse-ui-calendarMenu-day-date-size);padding:0;margin:0;text-align:center}.gux-calendar .gux-content table tr th{font-family:var(--gse-ui-calendarMenu-day-headerText-fontFamily);font-size:var(--gse-ui-calendarMenu-day-headerText-fontSize);font-weight:var(--gse-ui-calendarMenu-day-headerText-fontWeight);line-height:var(--gse-ui-calendarMenu-day-headerText-lineHeight)}.gux-calendar .gux-content table tr td{font-family:var(--gse-ui-calendarMenu-date-defaultText-fontFamily);font-size:var(--gse-ui-calendarMenu-date-defaultText-fontSize);font-weight:var(--gse-ui-calendarMenu-date-defaultText-fontWeight);line-height:var(--gse-ui-calendarMenu-date-defaultText-lineHeight);color:var(--gse-ui-calendarMenu-date-default-foregroundColor);cursor:pointer}.gux-calendar .gux-content table tr td.gux-hovered{background-color:var(--gse-ui-calendarMenu-date-range-backgroundColor)}.gux-calendar .gux-content table tr td.gux-selected{color:var(--gse-ui-calendarMenu-date-selected-foregroundColor);background-color:var(--gse-ui-calendarMenu-date-selected-backgroundColor);border-radius:var(--gse-ui-calendarMenu-month-borderRadius)}.gux-calendar .gux-content table tr td.gux-selected:hover:not(.gux-calendar .gux-content table tr td.gux-selected.gux-start-date):not(.gux-calendar .gux-content table tr td.gux-selected.gux-end-date){background-color:var(--gse-ui-calendarMenu-date-selected-hoverBackgroundColor)}.gux-calendar .gux-content table tr td.gux-start-date,.gux-calendar .gux-content table tr td.gux-end-date{background-color:var(--gse-ui-calendarMenu-date-range-backgroundColor)}.gux-calendar .gux-content table tr td.gux-start-date .gux-date,.gux-calendar .gux-content table tr td.gux-end-date .gux-date{display:flex;align-items:center;justify-content:center;inline-size:var(--gse-ui-calendarMenu-day-date-size);block-size:var(--gse-ui-calendarMenu-day-date-size);background-color:var(--gse-ui-calendarMenu-date-selected-backgroundColor);border-radius:var(--gse-ui-calendarMenu-month-borderRadius)}.gux-calendar .gux-content table tr td.gux-start-date .gux-date:hover,.gux-calendar .gux-content table tr td.gux-end-date .gux-date:hover{background-color:var(--gse-ui-calendarMenu-date-selected-hoverBackgroundColor)}.gux-calendar .gux-content table tr td.gux-start-date{border-radius:var(--gse-ui-calendarMenu-range-date-startDate-borderRadius)}.gux-calendar .gux-content table tr td.gux-end-date{border-radius:var(--gse-ui-calendarMenu-range-date-endDate-borderRadius)}.gux-calendar .gux-content table tr td:hover:not(.gux-calendar .gux-content table tr td.gux-start-date):not(.gux-calendar .gux-content table tr td.gux-end-date):not(.gux-calendar .gux-content table tr td.gux-hovered):not(.gux-calendar .gux-content table tr td.gux-selected){background-color:var(--gse-ui-calendarMenu-date-hover-backgroundColor);border-radius:var(--gse-ui-calendarMenu-month-borderRadius)}.gux-calendar .gux-content table tr td.gux-disabled{pointer-events:none;opacity:var(--gse-ui-calendarMenu-disabled-opacity)}.gux-calendar .gux-content table tr td.gux-not-in-month{opacity:var(--gse-ui-calendarMenu-disabled-opacity)}.gux-calendar .gux-content table tr td.gux-not-in-month:hover{background-color:var(--gse-ui-calendarMenu-date-hover-backgroundColor)}.gux-calendar .gux-content table tr td.gux-not-in-month.gux-hidden{visibility:hidden}.gux-calendar .gux-content table tr td.gux-current-date{font-family:var(--gse-ui-calendarMenu-date-currentText-fontFamily);font-size:var(--gse-ui-calendarMenu-date-currentText-fontSize);font-weight:var(--gse-ui-calendarMenu-date-currentText-fontWeight);line-height:var(--gse-ui-calendarMenu-date-currentText-lineHeight)}.gux-calendar .gux-content table tr td:focus-visible{border-radius:var(--gse-ui-calendarMenu-month-borderRadius);outline:var(--gse-semantic-focusOutline-md-borderWidth) solid var(--gse-semantic-border-focus);outline-offset:var(--gse-semantic-focusOutline-offset)}.gux-sr-only{position:absolute;top:auto;left:-10000px;width:1px;height:1px;overflow:hidden}";export{M as gux_calendar}
1
+ import{r as e,c as t,h as a,a as n}from"./p-CjVJoR6g.js";import{a as r}from"./p-Bg4q97BS.js";import{a as s,c as i,b as d,f as o}from"./p-aKaDsw_5.js";import{t as u}from"./p-m3Lae7sj.js";import{b as l,g as c,c as g}from"./p-D1QZQXQN.js";import{c as h}from"./p-Cf6_BoFM.js";import{d as x}from"./p-DvPw3gUX.js";import{u as b}from"./p-BgaA4g76.js";import"./p-Cd4R0amv.js";import"./p-DCZG2J0G.js";function f(e,t){v(e,"remove",t)}function v(e=[],t,a){const n=[].concat(e);for(const e of n)e.classList[t](a)}var m={previousMonth:"Go to the previous month",nextMonth:"Go to the next month"};function y(e,t){return b()?h(x(t,{year:"numeric",month:"long"}).format(e)):h(e.toLocaleDateString(t,{calendar:"gregory",year:"numeric",month:"long"}))}const M=class{constructor(a){e(this,a),this.calendarSelect=t(this,"calendarSelect",7),this.value="",this.minDate="",this.maxDate="",this.mode="single",this.numberOfMonths=1,this.previewValue=new Date,this.selectingDate=null,this.locale="en"}emitCalendarSelect(){this.calendarSelect.emit(this.value)}async setValue(e){if("range"===this.mode&&e instanceof Array){const[t,a]=e;this.value=s(t,a),this.previewValue=i(this.value)[0]}else{const t=e;this.value=d(t),this.previewValue=t}}async focusPreviewDate(){const e=this.root.shadowRoot.querySelector(`td[data-date="${this.previewValue.getTime()}"]`);e&&e.focus()}async resetCalendarView(e){this.previewValue=e}incrementPreviewDateByMonth(e){this.previewValue=new Date(this.previewValue.getFullYear(),this.previewValue.getMonth()+e,15,0,0,0)}async setValueAndEmit(e){await this.setValue(e),this.emitCalendarSelect()}outOfBounds(e){return""!==this.maxDate&&o(this.maxDate)<e||""!==this.minDate&&o(this.minDate)>e}generateDatesFrom(e,t,a){const n=[],r=new Date(t.getFullYear(),t.getMonth(),t.getDate(),0,0,0,0);for(let t=0;t<a;t++){const t=new Date(r.getFullYear(),r.getMonth(),r.getDate(),0,0,0,0),a=[],s=new Date,d=r.getFullYear()===s.getFullYear()&&r.getMonth()===s.getMonth()&&r.getDate()===s.getDate();let u=!1,l=!1;t.getMonth()!==e&&(a.push("gux-not-in-month"),u=!0,"range"===this.mode&&(a.push("gux-hidden"),l=!0)),this.outOfBounds(t)&&(a.push("gux-disabled"),u=!0);let c=!1;if(d&&a.push("gux-current-date"),"range"===this.mode){const[e,n]=i(this.value),r=e.getTime(),s=n.getTime();t.getTime()===r&&t.getTime()===s?(c=!0,a.push("gux-selected")):t.getTime()===r?(c=!0,a.push("gux-selected"),a.push("gux-start-date")):t.getTime()===s&&(c=!0,a.push("gux-selected"),a.push("gux-end-date"))}else{const e=o(this.value).getTime();t.getTime()===e&&(c=!0,a.push("gux-selected"))}n.push({class:a.join(" "),date:t,hidden:l,disabled:u,selected:c,isToday:d}),r.setDate(r.getDate()+1)}return n}create2DArray(e,t){const a=[];for(let n=0;n<t-1;n++){const r=e.slice(n*t,n*t+t);this.weekShouldBeDisplayed(r)&&a.push(r)}return a}isFocusableDate(e){return e.selected||this.previewValue.getTime()===e.date.getTime()}weekShouldBeDisplayed(e){const t=e.find((e=>!e.hidden));return e.length&&!!t}getMonthDays(e){const t=new Date(this.previewValue.getTime());t.setDate(1),t.setMonth(t.getMonth()+e);const a=t.getMonth(),n=function(e,t,a){const n=new Date(t,e,1,1,0,0,0),r=-1*(a-n.getDay()-7)%7;return new Date(n.getTime()-864e5*r)}(a,t.getFullYear(),this.startDayOfWeek),r=this.generateDatesFrom(a,n,42);return this.create2DArray(r,7)}addDays(e,t){const a=new Date(e.valueOf());return a.setDate(a.getDate()+t),a}getAllDatesElements(){const e=this.root.shadowRoot.querySelectorAll("td");return Array.from(e)}getAllSelectableDatesElements(){const e=this.root.shadowRoot.querySelectorAll('td[tabindex="0"]');return Array.from(e)}getRangeDatesElements(e,t){const a=[];let n;n=t<e?this.getRangeDates(t,e):this.getRangeDates(e,t);for(const e of n){const t=this.root.shadowRoot.querySelector(`td[data-date="${e.getTime()}"]:not(.gux-hidden)`);t&&a.push(t)}return a}getRangeDates(e,t){const a=[];let n=e;for(;n<=t;)a.push(new Date(n)),n=this.addDays(n,1);return a}async onDateClick(e){if(!this.outOfBounds(e))if("range"!==this.mode)await this.setValueAndEmit(e);else if(null===this.selectingDate)f(this.getAllDatesElements(),"gux-hovered"),this.selectingDate=new Date(e.valueOf()),this.value=s(e,e);else{const t=this.root.shadowRoot.querySelector(`td[data-date="${e.getTime()}"]`);t&&t.classList.add("gux-selected"),this.updateRangeElements(),await this.setValueAndEmit([this.selectingDate,e]),this.previewValue=e,this.selectingDate=null}}onDateMouseEnter(e){"range"===this.mode&&null!==this.selectingDate&&(this.value=s(e,this.selectingDate),this.updateRangeElements())}updateRangeElements(){if("range"===this.mode){f(this.getAllDatesElements(),"gux-hovered");const[e,t]=i(this.value);v(this.getRangeDatesElements(e,t),"add","gux-hovered")}}async onKeyDown(e){switch(e.key){case" ":case"Enter":e.preventDefault(),await this.onDateClick(this.previewValue);break;case"ArrowDown":e.preventDefault(),this.previewValue=new Date(this.previewValue.setDate(this.previewValue.getDate()+7)),this.onDateMouseEnter(this.previewValue),r((()=>{this.focusPreviewDate()}));break;case"ArrowUp":e.preventDefault(),this.previewValue=new Date(this.previewValue.setDate(this.previewValue.getDate()-7)),this.onDateMouseEnter(this.previewValue),r((()=>{this.focusPreviewDate()}));break;case"ArrowLeft":e.preventDefault(),this.previewValue=new Date(this.previewValue.setDate(this.previewValue.getDate()-1)),this.onDateMouseEnter(this.previewValue),r((()=>{this.focusPreviewDate()}));break;case"ArrowRight":e.preventDefault(),this.previewValue=new Date(this.previewValue.setDate(this.previewValue.getDate()+1)),this.onDateMouseEnter(this.previewValue),r((()=>{this.focusPreviewDate()}));break;case"PageUp":e.preventDefault(),this.incrementPreviewDateByMonth(1),this.onDateMouseEnter(this.previewValue),r((()=>{this.focusPreviewDate()}));break;case"PageDown":e.preventDefault(),this.incrementPreviewDateByMonth(-1),this.onDateMouseEnter(this.previewValue),r((()=>{this.focusPreviewDate()}))}}async componentWillLoad(){if(u(this.root,{variant:this.mode}),this.i18n=await l(this.root,m),this.locale=c(this.root),this.startDayOfWeek=this.startDayOfWeek||g(this.locale),!this.value){const e=new Date;e.setHours(0,0,0,0),this.value="range"===this.mode?s(e,e):d(e)}this.previewValue=o(this.value)}componentDidRender(){this.updateRangeElements()}renderMonthHeader(){return a("div",{class:"gux-month-list"},Array.from(Array(this.numberOfMonths).keys()).map((e=>{const t=function(e,t){const a=new Date(e);return a.setDate(1),a.setMonth(a.getMonth()+t),a}(this.previewValue,e);return a("label",null,y(t,this.locale))})))}renderCalendarTable(e){return a("table",null,a("tr",null,function(e,t){const a=[],n=new Date(1970,0,4);for(let t=0;t<7;t++){const t=n.toLocaleString(e,{weekday:"narrow"});a.push(t),n.setDate(n.getDate()+1)}return(r=a).concat(r.splice(0,(s=t)>r.length?s%r.length:s));var r,s}(this.locale,this.startDayOfWeek).map((e=>a("th",null,e)))),this.getMonthDays(e).map((e=>a("tr",null,e.map((e=>a("td",{tabindex:this.isFocusableDate(e)?"0":"-1",class:e.class,"aria-hidden":e.hidden?"true":"false","aria-disabled":e.disabled?"true":"false","data-date":e.date.getTime(),onClick:()=>{this.onDateClick(e.date)},onMouseEnter:()=>this.onDateMouseEnter(e.date),onKeyDown:e=>{this.onKeyDown(e)}},a("div",{class:"gux-date"},e.date.getDate(),a("span",{class:"gux-sr-only"},y(e.date,this.locale))))))))))}render(){return a("div",{key:"0306246dfcce32aabad2d001c20669cbe69fe280",class:"gux-calendar"},a("div",{key:"e5324dfe443431f5a28ddd5420625d664c24b0e3",class:"gux-header"},a("button",{key:"8c55a02accf37620a169b0cf3f879a61945d8d58",type:"button",class:"gux-left","aria-label":this.i18n("previousMonth"),onClick:()=>this.incrementPreviewDateByMonth(-1)},a("gux-icon",{key:"392607efecf36bab5a3efcba1c1f3059d5a6aa59",size:"small",decorative:!0,"icon-name":"custom/chevron-left-small-regular"})),this.renderMonthHeader(),a("button",{key:"62efa4a387829b89452430c48772ab412aa6d1f7",type:"button",class:"gux-right","aria-label":this.i18n("nextMonth"),onClick:()=>this.incrementPreviewDateByMonth(1)},a("gux-icon",{key:"1b2991888a3d39799f0994b9d4594405632871bd",size:"small",decorative:!0,"icon-name":"custom/chevron-right-small-regular"}))),a("div",{key:"288d3d25c4c9a4b97b07de9a5273932892689d30",class:"gux-content"},Array.from(Array(this.numberOfMonths).keys()).map((e=>this.renderCalendarTable(e)))))}get root(){return n(this)}};M.style=":host{display:inline-block}.gux-calendar{margin-block-start:2px;border-radius:8px;box-shadow:var(--gse-ui-calendarMenu-boxShadow)}.gux-calendar .gux-header{display:flex;align-items:center;justify-content:space-between;block-size:var(--gse-ui-calendarMenu-month-single-header-height);padding:var(--gse-ui-calendarMenu-header-padding);font-style:normal;font-weight:var(--gse-ui-calendarMenu-month-currentText-fontWeight);color:var(--gse-ui-calendarMenu-header-foregroundColor);text-align:center;background-color:var(--gse-ui-calendarMenu-header-backgroundColor);border-radius:var(--gse-ui-calendarMenu-single-header-borderRadius)}.gux-calendar .gux-header .gux-header-month-and-year{inline-size:var(--gse-ui-calendarMenu-month-single-header-textWidth);font-family:var(--gse-ui-calendarMenu-month-headerText-fontFamily);font-size:var(--gse-ui-calendarMenu-month-headerText-fontSize);line-height:var(--gse-ui-calendarMenu-month-headerText-lineHeight);color:var(--gse-ui-calendarMenu-month-selected-foregroundColor)}.gux-calendar .gux-header .gux-left,.gux-calendar .gux-header .gux-right{block-size:100%;color:var(--gse-ui-calendarMenu-header-foregroundColor);cursor:pointer;outline:none;background:none;border:none}.gux-calendar .gux-header .gux-left:focus-visible,.gux-calendar .gux-header .gux-right:focus-visible{outline:var(--gse-semantic-focusOutline-md-borderWidth) solid var(--gse-semantic-border-focus);outline-offset:var(--gse-semantic-focusOutline-offset)}.gux-calendar .gux-header .gux-month-list{display:flex;justify-content:space-between;inline-size:100%;font-family:var(--gse-ui-calendarMenu-month-headerText-fontFamily);font-size:var(--gse-ui-calendarMenu-month-headerText-fontSize);line-height:var(--gse-ui-calendarMenu-month-headerText-lineHeight)}.gux-calendar .gux-header .gux-month-list label{inline-size:100%;text-align:center}.gux-calendar .gux-content{display:flex;align-items:flex-start;block-size:var(--gse-ui-calendarMenu-height);padding:var(--gse-ui-calendarMenu-dateBody-padding);color:var(--gse-ui-calendarMenu-month-default-foregroundColor);background-color:var(--gse-ui-calendarMenu-backgroundColor);border-radius:var(--gse-ui-calendarMenu-single-body-borderRadius)}.gux-calendar .gux-content table{inline-size:var(--gse-ui-calendarMenu-day-input-width);text-align:start;-ms-user-select:none;user-select:none;table-layout:fixed;border-spacing:0}.gux-calendar .gux-content table:not(:last-child){padding-inline-end:24px}.gux-calendar .gux-content table tr{block-size:var(--gse-ui-calendarMenu-day-input-height)}.gux-calendar .gux-content table tr:empty{display:none}.gux-calendar .gux-content table tr th,.gux-calendar .gux-content table tr td{inline-size:var(--gse-ui-calendarMenu-day-date-size);block-size:var(--gse-ui-calendarMenu-day-date-size);padding:0;margin:0;text-align:center}.gux-calendar .gux-content table tr th{font-family:var(--gse-ui-calendarMenu-day-headerText-fontFamily);font-size:var(--gse-ui-calendarMenu-day-headerText-fontSize);font-weight:var(--gse-ui-calendarMenu-day-headerText-fontWeight);line-height:var(--gse-ui-calendarMenu-day-headerText-lineHeight)}.gux-calendar .gux-content table tr td{font-family:var(--gse-ui-calendarMenu-date-defaultText-fontFamily);font-size:var(--gse-ui-calendarMenu-date-defaultText-fontSize);font-weight:var(--gse-ui-calendarMenu-date-defaultText-fontWeight);line-height:var(--gse-ui-calendarMenu-date-defaultText-lineHeight);color:var(--gse-ui-calendarMenu-date-default-foregroundColor);cursor:pointer}.gux-calendar .gux-content table tr td.gux-hovered{background-color:var(--gse-ui-calendarMenu-date-range-backgroundColor)}.gux-calendar .gux-content table tr td.gux-selected{color:var(--gse-ui-calendarMenu-date-selected-foregroundColor);background-color:var(--gse-ui-calendarMenu-date-selected-backgroundColor);border-radius:var(--gse-ui-calendarMenu-month-borderRadius)}.gux-calendar .gux-content table tr td.gux-selected:hover:not(.gux-calendar .gux-content table tr td.gux-selected.gux-start-date):not(.gux-calendar .gux-content table tr td.gux-selected.gux-end-date){background-color:var(--gse-ui-calendarMenu-date-selected-hoverBackgroundColor)}.gux-calendar .gux-content table tr td.gux-start-date,.gux-calendar .gux-content table tr td.gux-end-date{background-color:var(--gse-ui-calendarMenu-date-range-backgroundColor)}.gux-calendar .gux-content table tr td.gux-start-date .gux-date,.gux-calendar .gux-content table tr td.gux-end-date .gux-date{display:flex;align-items:center;justify-content:center;inline-size:var(--gse-ui-calendarMenu-day-date-size);block-size:var(--gse-ui-calendarMenu-day-date-size);background-color:var(--gse-ui-calendarMenu-date-selected-backgroundColor);border-radius:var(--gse-ui-calendarMenu-month-borderRadius)}.gux-calendar .gux-content table tr td.gux-start-date .gux-date:hover,.gux-calendar .gux-content table tr td.gux-end-date .gux-date:hover{background-color:var(--gse-ui-calendarMenu-date-selected-hoverBackgroundColor)}.gux-calendar .gux-content table tr td.gux-start-date{border-radius:var(--gse-ui-calendarMenu-range-date-startDate-borderRadius)}.gux-calendar .gux-content table tr td.gux-end-date{border-radius:var(--gse-ui-calendarMenu-range-date-endDate-borderRadius)}.gux-calendar .gux-content table tr td:hover:not(.gux-calendar .gux-content table tr td.gux-start-date):not(.gux-calendar .gux-content table tr td.gux-end-date):not(.gux-calendar .gux-content table tr td.gux-hovered):not(.gux-calendar .gux-content table tr td.gux-selected){background-color:var(--gse-ui-calendarMenu-date-hover-backgroundColor);border-radius:var(--gse-ui-calendarMenu-month-borderRadius)}.gux-calendar .gux-content table tr td.gux-disabled{pointer-events:none;opacity:var(--gse-ui-calendarMenu-disabled-opacity)}.gux-calendar .gux-content table tr td.gux-not-in-month{opacity:var(--gse-ui-calendarMenu-disabled-opacity)}.gux-calendar .gux-content table tr td.gux-not-in-month:hover{background-color:var(--gse-ui-calendarMenu-date-hover-backgroundColor)}.gux-calendar .gux-content table tr td.gux-not-in-month.gux-hidden{visibility:hidden}.gux-calendar .gux-content table tr td.gux-current-date{font-family:var(--gse-ui-calendarMenu-date-currentText-fontFamily);font-size:var(--gse-ui-calendarMenu-date-currentText-fontSize);font-weight:var(--gse-ui-calendarMenu-date-currentText-fontWeight);line-height:var(--gse-ui-calendarMenu-date-currentText-lineHeight)}.gux-calendar .gux-content table tr td:focus-visible{border-radius:var(--gse-ui-calendarMenu-month-borderRadius);outline:var(--gse-semantic-focusOutline-md-borderWidth) solid var(--gse-semantic-border-focus);outline-offset:var(--gse-semantic-focusOutline-offset)}.gux-sr-only{position:absolute;top:auto;left:-10000px;width:1px;height:1px;overflow:hidden}";export{M as gux_calendar}
@@ -0,0 +1 @@
1
+ import{r as e,h as t,a as i}from"./p-CjVJoR6g.js";import{h as a,g as s,a as r}from"./p-BS-Yw6fq.js";import"./p-kLXvN2m9.js";const d=class{constructor(t){e(this,t),t.$hostElement$["s-ei"]?this.internals=t.$hostElement$["s-ei"]:(this.internals=t.$hostElement$.attachInternals(),t.$hostElement$["s-ei"]=this.internals),this.selected=!1,this._disabled=!1,this.active=!1,this.filtered=!1,this.size="comfy",this.alignment="start"}get disabled(){return this._disabled||a(this.root)}set disabled(e){this._disabled=e}handleActiveChange(e){this.root.setAttribute("tabIndex",e?"0":""),e&&this.root.focus()}componentWillLoad(){this.internals.role="treeitem",this.root.setAttribute("role","treeitem"),this.root.setAttribute("tabIndex",this.active?"0":""),this.size=s(this.root),this.alignment=r(this.root)}componentWillRender(){this.internals.ariaDisabled=String(this.disabled),this.root.setAttribute("aria-disabled",String(this.disabled)),this.internals.ariaSelected=String(this.selected),this.root.setAttribute("aria-selected",String(this.selected))}render(){return t("div",{key:"24f7df587743f1370eb06b93ae19c61df87bc7dc",class:{"gux-wrapper":!0,"gux-compact":"compact"===this.size,"gux-end":"end"===this.alignment,"gux-disabled":this.disabled,"gux-selected":this.selected}},t("div",{key:"ee0ae38ad6c4156647c9da4feeed55b4aad09b35",class:"gux-node"},t("div",{key:"7f09f8d288314cd961ad6b298b8f504e746af8d0",class:"gux-selected-bookmark"}),t("div",{key:"d082ed53f3e2b6d9c938f9430aac1f977a7bd1d4",class:"gux-tree-item"},t("div",{key:"5e381d69da4cb1a8a627b02dea21a30a61f1d502",class:"gux-selection-target"},t("div",{key:"4be916191e5aaf855065ed767d19207ef2427a2d",class:"gux-icon"},t("slot",{key:"9deae4002592cd444107fb882d90fc56c87883b1",name:"icon"})),t("div",{key:"52ab1087a0dfed78aebcb45cc6b8a402591d153f",class:"gux-label"},t("slot",{key:"2f96faaa3f77d7104c99b21f2510a1ec4c524b3e",name:"label"}))))))}static get formAssociated(){return!0}get root(){return i(this)}static get watchers(){return{active:["handleActiveChange"]}}};d.style=":host{display:block}:host(:focus-visible){outline:none}:host(:focus-visible) .gux-node{outline:var(--gse-semantic-focusOutline-md-borderWidth) solid var(--gse-semantic-border-focus);outline-offset:var(--gse-semantic-focusOutline-offset)}:host(:focus-visible) .gux-tree-item{background-color:var(--gse-ui-treeView-background-hover)}.gux-wrapper{display:flex;flex-direction:column;flex-wrap:nowrap;place-content:stretch flex-start;align-items:stretch}.gux-wrapper .gux-node{display:flex;flex-direction:row;flex-wrap:nowrap;gap:var(--gse-semantic-interactive-sm-gap);place-content:stretch flex-start;align-items:stretch}.gux-wrapper .gux-node .gux-selected-bookmark{flex:0 1 auto;align-self:auto;inline-size:6px;background:transparent;border-radius:var(--gse-semantic-interactive-sm-borderRadius)}.gux-wrapper .gux-node .gux-tree-item{display:flex;flex:1 1 auto;align-items:center;align-self:auto;padding:var(--gse-ui-treeView-item-comfy-leftAligned-padding);border-radius:var(--gse-semantic-interactive-sm-borderRadius)}.gux-wrapper .gux-node .gux-tree-item:has(:focus-visible),.gux-wrapper .gux-node .gux-tree-item:hover{background-color:var(--gse-ui-treeView-background-hover)}.gux-wrapper .gux-node .gux-tree-item .gux-selection-target{display:flex;flex:1 1 auto;gap:var(--gse-semantic-interactive-lg-gap);align-items:center;align-self:auto}.gux-wrapper .gux-node .gux-tree-item .gux-selection-target .gux-icon{display:flex;align-items:center}.gux-wrapper.gux-compact .gux-tree-item{padding:var(--gse-ui-treeView-item-compact-leftAligned-padding)}.gux-wrapper.gux-compact.gux-end .gux-tree-item{padding:var(--gse-ui-treeView-item-compact-rightAligned-padding)}.gux-wrapper.gux-end .gux-tree-item{padding:var(--gse-ui-treeView-item-comfy-rightAligned-padding)}.gux-wrapper.gux-selected .gux-selected-bookmark{background:var(--gse-semantic-background-interactive-primary-default)}.gux-wrapper.gux-selected .gux-tree-item{background-color:var(--gse-ui-treeView-background-selected)}.gux-wrapper.gux-disabled{opacity:var(--gse-ui-treeView-disableOpacity);pointer-events:none;cursor:default}::slotted(gux-icon[slot=icon]){display:flex;align-items:center;inline-size:16px;block-size:16px}";export{d as gux_leaf}
@@ -1 +1 @@
1
- import{r as e,h as o,a as r}from"./p-Dz_2h4jr.js";import{c as t,o as i}from"./p-Cb3FOYGS.js";import{O as n}from"./p-0yc9CKxX.js";import{o as l}from"./p-De1NnCmO.js";import{p as a}from"./p-PYfNAK8p.js";import{h as s}from"./p-qzV3vtOw.js";import{G as u,a as f}from"./p-JPhxXbs4.js";import{G as d,a as p}from"./p-C-1lAIfW.js";import{v as c,a as g}from"./p-DHLxhscH.js";import{t as h}from"./p-CqFA-9uw.js";import"./p-D9jKBqIb.js";import"./p-DxtJDeL9.js";import"./p-BMRf5pjV.js";const m=class{constructor(o){e(this,o),this.indicatorMark="required",this.computedLabelPosition="above",this.hasError=!1,this.hasHelp=!1}onMutation(){this.labelInfo=this.root.querySelector("[slot=label-info]"),this.hasError=s(this.root,"error"),this.hasHelp=s(this.root,"help")}handleKeyup(e){var o,r;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===(r=this.labelInfo)||void 0===r||r.hideTooltip(),clearTimeout(this.hideLabelInfoTimeout))}}onFocusout(){var e;null===(e=this.labelInfo)||void 0===e||e.hideTooltip(),clearTimeout(this.hideLabelInfoTimeout)}componentWillLoad(){this.setInput(),this.setLabel(),this.labelInfo=this.root.querySelector("[slot=label-info]"),this.hasError=s(this.root,"error"),this.hasHelp=s(this.root,"help"),h(this.root,{variant:this.variant})}disconnectedCallback(){this.disabledObserver&&this.disabledObserver.disconnect(),this.requiredObserver&&this.requiredObserver.disconnect()}render(){return o(p,{key:"ca693b68fd32b30883d57d9f8792df33828ffdca",labelPosition:this.computedLabelPosition},o(d,{key:"6b0b162815a06c7cebf36fcf1299aca282d7e6ad",required:this.required,position:this.computedLabelPosition},o("slot",{key:"928ad7d642abed86d29132ccc87377b522c2cc30",name:"label",onSlotchange:()=>this.setLabel()}),o("gux-form-field-label-indicator",{key:"4cffbff3ecc0926cbe70280fe9402b47ed9d3a58",variant:this.indicatorMark,required:this.required}),o("slot",{key:"5c19da1db4641b63431ddc4ff4de2c30934ecd7d",name:"label-info"})),o("div",{key:"8f4783ca4b4f52861ab11e06861a734888b37617",class:"gux-input-and-error-container"},o("div",{key:"3a24ecbcfd3a962f460ddf7f76276f6e15afa94f",class:{"gux-input":!0,"gux-input-error":this.hasError}},o("div",{key:"ff81adffa5cbf1b03c34d3ccb97f759bd4b1d032",class:{"gux-input-container":!0,"gux-disabled":this.disabled}},o("slot",{key:"3881716056254c5d70a8c36eec8bb576d2853e71",name:"input"}),o("gux-icon",{key:"e6e32ecb376b88404b77e7a0209e5ad4893b6b33","icon-name":"custom/chevron-down-small-regular",decorative:!0,size:"small"}))),o(u,{key:"cfdddc2b9662641c5847c642b7e12f194a8d1767",show:this.hasError},o("slot",{key:"ee1a2f08f6b1ea2ef7b5fc767a4c2eed2067b581",name:"error"})),o(f,{key:"6a84e3c7c79420d016fdf71f3e8d42f4e57110b9",show:!this.hasError&&this.hasHelp},o("slot",{key:"768d0b0d8b34444ec846fabb9334040ae225259d",name:"help"}))))}get variant(){const e=this.labelPosition?this.labelPosition.toLowerCase():"none";return`${this.input.getAttribute("type")}-${e}`}setInput(){this.input=this.root.querySelector('select[slot="input"]'),a(this.input),this.disabled=t(this.input),this.required=this.input.required,this.disabledObserver=i(this.input,(e=>{this.disabled=e})),this.requiredObserver=l(this.input,(e=>{this.required=e})),c(this.root,this.input)}setLabel(){this.label=this.root.querySelector('label[slot="label"]'),this.computedLabelPosition=g(this.label,this.labelPosition)}get root(){return r(this)}};(function(e,o,r,t){var i,n=arguments.length,l=n<3?o:null===t?t=Object.getOwnPropertyDescriptor(o,r):t;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)l=Reflect.decorate(e,o,r,t);else for(var a=e.length-1;a>=0;a--)(i=e[a])&&(l=(n<3?i(l):n>3?i(o,r,l):i(o,r))||l);n>3&&l&&Object.defineProperty(o,r,l)})([n({childList:!0,subtree:!0})],m.prototype,"onMutation",null),m.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(select){flex:1 1 auto;align-self:auto;order:0;inline-size:100%;block-size:var(--gse-ui-formControl-input-textfield-height);padding-inline-start:var(--gse-ui-formControl-input-gap);color:var(--gse-ui-formControl-input-populatedColor);-moz-appearance:none;-webkit-appearance:none;appearance:none;outline:none;background-color:var(--gse-ui-formControl-input-backgroundColor);border:none;border-radius:var(--gse-ui-formControl-input-borderRadius)}::slotted(select)::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 .gux-input-container{position:relative;box-sizing:border-box;display:flex;flex-direction:row;flex-wrap:nowrap;gap:var(--gse-ui-formControl-input-gap);place-content:stretch center;align-items:center;inline-size:100%;font-family:var(--gse-ui-formControl-input-contentText-fontFamily);font-size:var(--gse-ui-formControl-input-contentText-fontSize);font-weight:var(--gse-ui-formControl-input-contentText-fontWeight);line-height:var(--gse-ui-formControl-input-contentText-lineHeight);color:var(--gse-ui-formControl-input-populatedColor);background-color:var(--gse-ui-formControl-input-backgroundColor);background-image:none;border:var(--gse-ui-formControl-input-default-border-width) var(--gse-ui-formControl-input-default-border-style) var(--gse-ui-formControl-input-default-border-color);border-radius:var(--gse-ui-formControl-input-borderRadius)}.gux-input-and-error-container .gux-input .gux-input-container.gux-disabled{pointer-events:none;opacity:var(--gse-ui-formControl-input-disabled-opacity)}.gux-input-and-error-container .gux-input .gux-input-container:hover gux-icon{color:var(--gse-ui-formControl-input-inputIcon-iconEndColor)}.gux-input-and-error-container .gux-input .gux-input-container gux-icon{position:absolute;inset-block-start:0;inset-inline-end:0;margin:var(--gse-ui-formControl-input-padding);pointer-events:none}.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-error .gux-input-container{border-color:var(--gse-ui-formControl-input-error-border-color)}";export{m as gux_form_field_select}
1
+ import{r as e,h as o,a as r}from"./p-CjVJoR6g.js";import{c as t,o as i}from"./p-Cb3FOYGS.js";import{O as n}from"./p-DaK6PJIg.js";import{o as l}from"./p-De1NnCmO.js";import{p as a}from"./p-PYfNAK8p.js";import{h as s}from"./p-qzV3vtOw.js";import{G as u,a as f}from"./p-kyGdOoF4.js";import{G as d,a as p}from"./p-CuKTBQuB.js";import{v as c,a as g}from"./p-DHLxhscH.js";import{t as h}from"./p-m3Lae7sj.js";import"./p-D9jKBqIb.js";import"./p-DxtJDeL9.js";import"./p-BMRf5pjV.js";const m=class{constructor(o){e(this,o),this.indicatorMark="required",this.computedLabelPosition="above",this.hasError=!1,this.hasHelp=!1}onMutation(){this.labelInfo=this.root.querySelector("[slot=label-info]"),this.hasError=s(this.root,"error"),this.hasHelp=s(this.root,"help")}handleKeyup(e){var o,r;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===(r=this.labelInfo)||void 0===r||r.hideTooltip(),clearTimeout(this.hideLabelInfoTimeout))}}onFocusout(){var e;null===(e=this.labelInfo)||void 0===e||e.hideTooltip(),clearTimeout(this.hideLabelInfoTimeout)}componentWillLoad(){this.setInput(),this.setLabel(),this.labelInfo=this.root.querySelector("[slot=label-info]"),this.hasError=s(this.root,"error"),this.hasHelp=s(this.root,"help"),h(this.root,{variant:this.variant})}disconnectedCallback(){this.disabledObserver&&this.disabledObserver.disconnect(),this.requiredObserver&&this.requiredObserver.disconnect()}render(){return o(p,{key:"a7391265a55c9f703950aceefc7b598cecfbaefe",labelPosition:this.computedLabelPosition},o(d,{key:"75f90669539ce8a2b00f169879168bb7b6f6c6de",required:this.required,position:this.computedLabelPosition},o("slot",{key:"4626bb3d47f8fb4191f3f609f7d3ed85457bc6e3",name:"label",onSlotchange:()=>this.setLabel()}),o("gux-form-field-label-indicator",{key:"159e38c711a10611790936f2bbd017039242a6e2",variant:this.indicatorMark,required:this.required}),o("slot",{key:"3a54441e8560f64adde48187df3bbf76ac144abe",name:"label-info"})),o("div",{key:"e536713db2c5822747681bb0a3315c0788e3c8cb",class:"gux-input-and-error-container"},o("div",{key:"01cb019ea80bcc125ab27f53725f3f2c432e23ca",class:{"gux-input":!0,"gux-input-error":this.hasError}},o("div",{key:"a4b5e98a17f1d6b01a3020bb073394afe10a3181",class:{"gux-input-container":!0,"gux-disabled":this.disabled}},o("slot",{key:"a75c8740296b9e9b169d07f3101276206b500d2a",name:"input"}),o("gux-icon",{key:"b1ee6350c9dfed5ddb999e3849422f847b05179d","icon-name":"custom/chevron-down-small-regular",decorative:!0,size:"small"}))),o(u,{key:"33b5b8de06086d1c049a7928e46064c4f7beb4fe",show:this.hasError},o("slot",{key:"fdf44c14aa5b78dd2704029e360bb0a0413f524c",name:"error"})),o(f,{key:"d64c8146fd9fd495c27ef297a63991868237d33e",show:!this.hasError&&this.hasHelp},o("slot",{key:"a520e8e02675c633588e4dbc98c44e33936d5c55",name:"help"}))))}get variant(){const e=this.labelPosition?this.labelPosition.toLowerCase():"none";return`${this.input.getAttribute("type")}-${e}`}setInput(){this.input=this.root.querySelector('select[slot="input"]'),a(this.input),this.disabled=t(this.input),this.required=this.input.required,this.disabledObserver=i(this.input,(e=>{this.disabled=e})),this.requiredObserver=l(this.input,(e=>{this.required=e})),c(this.root,this.input)}setLabel(){this.label=this.root.querySelector('label[slot="label"]'),this.computedLabelPosition=g(this.label,this.labelPosition)}get root(){return r(this)}};(function(e,o,r,t){var i,n=arguments.length,l=n<3?o:null===t?t=Object.getOwnPropertyDescriptor(o,r):t;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)l=Reflect.decorate(e,o,r,t);else for(var a=e.length-1;a>=0;a--)(i=e[a])&&(l=(n<3?i(l):n>3?i(o,r,l):i(o,r))||l);n>3&&l&&Object.defineProperty(o,r,l)})([n({childList:!0,subtree:!0})],m.prototype,"onMutation",null),m.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(select){flex:1 1 auto;align-self:auto;order:0;inline-size:100%;block-size:var(--gse-ui-formControl-input-textfield-height);padding-inline-start:var(--gse-ui-formControl-input-gap);color:var(--gse-ui-formControl-input-populatedColor);-moz-appearance:none;-webkit-appearance:none;appearance:none;outline:none;background-color:var(--gse-ui-formControl-input-backgroundColor);border:none;border-radius:var(--gse-ui-formControl-input-borderRadius)}::slotted(select)::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 .gux-input-container{position:relative;box-sizing:border-box;display:flex;flex-direction:row;flex-wrap:nowrap;gap:var(--gse-ui-formControl-input-gap);place-content:stretch center;align-items:center;inline-size:100%;font-family:var(--gse-ui-formControl-input-contentText-fontFamily);font-size:var(--gse-ui-formControl-input-contentText-fontSize);font-weight:var(--gse-ui-formControl-input-contentText-fontWeight);line-height:var(--gse-ui-formControl-input-contentText-lineHeight);color:var(--gse-ui-formControl-input-populatedColor);background-color:var(--gse-ui-formControl-input-backgroundColor);background-image:none;border:var(--gse-ui-formControl-input-default-border-width) var(--gse-ui-formControl-input-default-border-style) var(--gse-ui-formControl-input-default-border-color);border-radius:var(--gse-ui-formControl-input-borderRadius)}.gux-input-and-error-container .gux-input .gux-input-container.gux-disabled{pointer-events:none;opacity:var(--gse-ui-formControl-input-disabled-opacity)}.gux-input-and-error-container .gux-input .gux-input-container:hover gux-icon{color:var(--gse-ui-formControl-input-inputIcon-iconEndColor)}.gux-input-and-error-container .gux-input .gux-input-container gux-icon{position:absolute;inset-block-start:0;inset-inline-end:0;margin:var(--gse-ui-formControl-input-padding);pointer-events:none}.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-error .gux-input-container{border-color:var(--gse-ui-formControl-input-error-border-color)}";export{m as gux_form_field_select}
@@ -0,0 +1 @@
1
+ import{r as a,f as r,h as t,a as e}from"./p-CjVJoR6g.js";import{b as s}from"./p-D1QZQXQN.js";import{t as o}from"./p-m3Lae7sj.js";import"./p-Cd4R0amv.js";var i={breadcrumbs:"Breadcrumbs"};const n=class{constructor(r){a(this,r),this.accent="primary"}componentWillLoad(){o(this.root,{variant:this.accent})}async componentWillRender(){this.i18n=await s(this.root,i)}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}
@@ -0,0 +1 @@
1
+ import{r as s,h as t,a as o}from"./p-CjVJoR6g.js";import{t as e}from"./p-m3Lae7sj.js";const r=class{constructor(t){s(this,t)}componentWillLoad(){e(this.root)}render(){return t("span",{key:"5edd5c0b02d6605dd8902bb830f5733bc6dc597c",class:"gux-sr-only"},t("slot",{key:"605827494225b8ed1ff05fce6704ec80381ad796"}))}get root(){return o(this)}};r.style=":host{display:contents}.gux-sr-only{}.gux-sr-only:not(:focus):not(:active){position:absolute;width:1px;height:1px;overflow:hidden;white-space:nowrap;clip-path:inset(50%)}";export{r as gux_screen_reader_beta}
@@ -0,0 +1 @@
1
+ import{r as e,h as t,a as i}from"./p-CjVJoR6g.js";import{r as a}from"./p-D9jKBqIb.js";import{h as r,g as s,a as c,b as n}from"./p-hPZIPnvb.js";import"./p-kLXvN2m9.js";const d=class{constructor(t){e(this,t),t.$hostElement$["s-ei"]?this.internals=t.$hostElement$["s-ei"]:(this.internals=t.$hostElement$.attachInternals(),t.$hostElement$["s-ei"]=this.internals),this.expanded=!1,this._disabled=!1,this.filtered=!1,this.active=!1,this.selected=!1,this.indeterminate=!1,this.size="comfy",this.alignment="start"}get disabled(){return this._disabled||r(this.root)}set disabled(e){this._disabled=e}handleActiveChange(e){this.root.setAttribute("tabIndex",e?"0":""),e&&this.root.focus()}componentWillLoad(){this.labelId=a("gux-branch-label"),this.internals.role="treeitem",this.root.setAttribute("role","treeitem"),this.root.setAttribute("tabIndex",this.active?"0":""),this.size=s(this.root),this.alignment=c(this.root)}componentWillRender(){this.internals.ariaDisabled=String(this.disabled),this.root.setAttribute("aria-disabled",String(this.disabled)),this.internals.ariaSelected=String(this.selected),this.root.setAttribute("aria-selected",String(this.selected)),this.internals.ariaExpanded=String(this.expanded),this.root.setAttribute("aria-expanded",String(this.expanded))}renderBranchIndicator(e){if(this.alignment===e)return t("div",{class:"gux-branch-indicator"},t("gux-icon",{class:"gux-arrow-icon",decorative:!0,"icon-name":"fa/caret-right-solid"}))}render(){return t("div",{key:"33af54e7beaa31958080ad6f3370cbed53989774",class:{"gux-wrapper":!0,"gux-compact":"compact"===this.size,"gux-end":"end"===this.alignment,"gux-expanded":this.expanded,"gux-disabled":this.disabled,"gux-selected":this.selected,"gux-child-selected":n(this.root)}},t("div",{key:"2966f26c4a1b46f4a29f9a7c3ae5a626971795fe",class:"gux-node"},t("div",{key:"b5de3c189e2adb7edb0b67591a09cd5a80398080",class:"gux-selected-bookmark"}),t("div",{key:"3660189eb276f6101a60c84c749b304893cca77b",class:"gux-tree-item"},this.renderBranchIndicator("start"),t("div",{key:"bd278808b47889e3c569438fe1edd2ec382ae722",class:"gux-selection-target"},t("div",{key:"339b1e434db480a7bd9196248628ee96990df5f6",class:"gux-checkbox-container"},t("input",{key:"e4158932f3bd68f24b02bf5f13aefc6492e8fd16",type:"checkbox",tabIndex:-1,checked:this.selected,disabled:this.disabled,"aria-labelledby":this.labelId,ref:e=>{e&&(e.indeterminate=this.indeterminate)}})),t("div",{key:"1dac97a5f7d691e1366c1002523c23a523e7c6d3",class:"gux-icon"},t("slot",{key:"6e9ae563a183ef94d52fa07b98b741b00453fbd7",name:"icon"})),t("div",{key:"014dec453ecaed7c34b78a3d325f9090c7c1ee47",class:"gux-label",id:this.labelId},t("slot",{key:"a73ed670d8e0bab2a92aa4c1ef5f03e152baca7b",name:"label"}))),this.renderBranchIndicator("end"))),t("div",{key:"d8502c699dd9f834ae9ef326d2de973bda52f0cd",role:"group",class:"gux-treeitems"},t("slot",{key:"50d35cbb506d71cece65d5d42e01e6c20873ef7a"})))}static get formAssociated(){return!0}get root(){return i(this)}static get watchers(){return{active:["handleActiveChange"]}}};d.style=":host{display:block}:host(:focus-visible){outline:none}:host(:focus-visible) .gux-node{outline:var(--gse-semantic-focusOutline-md-borderWidth) solid var(--gse-semantic-border-focus);outline-offset:var(--gse-semantic-focusOutline-offset)}:host(:focus-visible) .gux-tree-item{background-color:var(--gse-ui-treeView-background-hover)}.gux-wrapper{display:flex;flex-direction:column;flex-wrap:nowrap;gap:var(--gse-ui-treeView-item-internalGap);place-content:stretch flex-start;align-items:stretch}.gux-wrapper .gux-node{display:flex;flex-direction:row;flex-wrap:nowrap;gap:var(--gse-semantic-interactive-sm-gap);place-content:stretch flex-start;align-items:stretch}.gux-wrapper .gux-node .gux-selected-bookmark{flex:0 1 auto;align-self:auto;inline-size:6px;background:transparent;border-radius:var(--gse-semantic-interactive-sm-borderRadius)}.gux-wrapper .gux-node .gux-tree-item{display:flex;flex:1 1 auto;gap:var(--gse-ui-treeView-item-internalGap);align-items:center;align-self:auto;padding:var(--gse-ui-treeView-group-comfy-padding);border-radius:var(--gse-semantic-interactive-sm-borderRadius)}.gux-wrapper .gux-node .gux-tree-item:hover{background-color:var(--gse-ui-treeView-background-hover)}.gux-wrapper .gux-node .gux-tree-item .gux-selection-target{display:flex;flex:0 0 auto;gap:var(--gse-semantic-interactive-lg-gap);align-items:center;align-self:auto}.gux-wrapper .gux-node .gux-tree-item .gux-selection-target .gux-checkbox-container{display:flex;align-items:center}.gux-wrapper .gux-node .gux-tree-item .gux-selection-target .gux-icon{display:flex;align-items:center}.gux-wrapper.gux-compact .gux-tree-item{padding:var(--gse-ui-treeView-group-compact-padding)}.gux-wrapper.gux-compact.gux-end .gux-tree-item{justify-content:space-between;padding:var(--gse-ui-treeView-item-compact-rightAligned-padding)}.gux-wrapper.gux-end .gux-tree-item{justify-content:space-between;padding:var(--gse-ui-treeView-item-comfy-rightAligned-padding)}.gux-wrapper.gux-selected .gux-selected-bookmark{background:var(--gse-semantic-background-interactive-primary-default)}.gux-wrapper.gux-selected .gux-tree-item{background-color:var(--gse-ui-treeView-background-selected)}.gux-wrapper.gux-child-selected .gux-selected-bookmark{background:var(--gse-ui-treeView-selectionBookmark-midEmphasis)}.gux-wrapper.gux-disabled .gux-node{opacity:var(--gse-ui-treeView-disableOpacity)}.gux-wrapper.gux-disabled{pointer-events:none;cursor:default}.gux-wrapper .gux-treeitems{display:none;padding-inline-start:20px}.gux-wrapper.gux-expanded .gux-branch-indicator gux-icon{rotate:90deg}.gux-wrapper.gux-expanded .gux-treeitems{display:flex;flex-direction:column;flex-wrap:nowrap;gap:var(--gse-ui-treeView-item-internalGap);place-content:stretch flex-start;align-items:stretch}.gux-wrapper .gux-branch-indicator{display:flex;align-items:center}.gux-wrapper .gux-branch-indicator gux-icon{inline-size:16px;block-size:16px}::slotted(gux-icon[slot=icon]){display:flex;align-items:center;inline-size:16px;block-size:16px}";export{d as gux_branch_multi}
@@ -1 +1 @@
1
- import{r as e,f as t,h as i,a as o}from"./p-Dz_2h4jr.js";import{b as l}from"./p-DmaAM9UB.js";import"./p-Cd4R0amv.js";var n={allOptions:"All options",of:"of"};const a=class{constructor(t){e(this,t),this.selected=!1,this.indeterminate=!1,this.active=!1,this.hasScrolled=!1}onInternallistboxoptionsupdated(){t(this.root)}async componentWillLoad(){var e;this.i18n=await l(this.root,n),this.listboxElement=null===(e=this.root)||void 0===e?void 0:e.closest("gux-listbox-multi"),this.applyListboxScrollListener()}disconnectedCallback(){this.listboxElement&&this.scrollHandler&&this.listboxElement.removeEventListener("scroll",this.scrollHandler)}applyListboxScrollListener(){this.listboxElement&&(this.scrollHandler=e=>{e.stopPropagation(),this.hasScrolled=e.target.scrollTop>0},this.listboxElement.addEventListener("scroll",this.scrollHandler,{passive:!0}))}getCounterText(){if(!this.listboxElement)return;const e=Array.from(this.listboxElement.querySelectorAll("gux-option-multi"));return`(${e.filter((e=>e.selected)).length} ${this.i18n("of")} ${e.length})`}renderSVGCheckbox(){return i("svg",{class:"gux-checkbox-container",xmlns:"http://www.w3.org/2000/svg",viewBox:this.indeterminate?"0 0 16 16":"1 1 13 13"},i("path",{"fill-rule":"evenodd","clip-rule":"evenodd",d:{indeterminate:"M11.1429 7.14286C11.6179 7.14286 12 7.525 12 8C12 8.475 11.6179 8.85714 11.1429 8.85714H4.85714C4.38214 8.85714 4 8.475 4 8C4 7.525 4.38214 7.14286 4.85714 7.14286H11.1429ZM0 2.28571C0 1.02321 1.02321 0 2.28571 0H13.7143C14.975 0 16 1.02321 16 2.28571V13.7143C16 14.975 14.975 16 13.7143 16H2.28571C1.02321 16 0 14.975 0 13.7143V2.28571ZM1.71429 2.28571V13.7143C1.71429 14.0286 1.97 14.2857 2.28571 14.2857H13.7143C14.0286 14.2857 14.2857 14.0286 14.2857 13.7143V2.28571C14.2857 1.97 14.0286 1.71429 13.7143 1.71429H2.28571C1.97 1.71429 1.71429 1.97 1.71429 2.28571Z",selected:"M4 1H11C11.7956 1 12.5587 1.31607 13.1213 1.87868C13.6839 2.44129 14 3.20435 14 4V11C14 11.7956 13.6839 12.5587 13.1213 13.1213C12.5587 13.6839 11.7956 14 11 14H4C3.20435 14 2.44129 13.6839 1.87868 13.1213C1.31607 12.5587 1 11.7956 1 11V4C1 3.20435 1.31607 2.44129 1.87868 1.87868C2.44129 1.31607 3.20435 1 4 1ZM5.57018 10.4198C5.7051 10.5547 5.87599 10.6177 6.04689 10.6177C6.22678 10.6177 6.39767 10.5457 6.52359 10.4198L11.7944 5.14905C12.0552 4.88821 12.0552 4.45647 11.7944 4.19563C11.5335 3.93479 11.1018 3.93479 10.841 4.19563L6.04689 8.9897L4.14905 7.08286C3.88821 6.82202 3.45647 6.82202 3.19563 7.08286C2.93479 7.3437 2.93479 7.77544 3.19563 8.03628L5.57018 10.4198Z",unselected:"M11 2.5H4C3.17157 2.5 2.5 3.17157 2.5 4V11C2.5 11.8284 3.17157 12.5 4 12.5H11C11.8284 12.5 12.5 11.8284 12.5 11V4C12.5 3.17157 11.8284 2.5 11 2.5ZM4 1C2.34315 1 1 2.34315 1 4V11C1 12.6569 2.34315 14 4 14H11C12.6569 14 14 12.6569 14 11V4C14 2.34315 12.6569 1 11 1H4Z"}[this.indeterminate?"indeterminate":this.selected?"selected":"unselected"]}))}render(){return i("div",{key:"7ca8807a708c3203aabe0978ddbd5756e2264e35",role:"option","aria-selected":this.selected.toString(),class:{"gux-select-all-container":!0,"gux-active":this.active,"gux-selected":this.selected,"gux-indeterminate":this.indeterminate,"gux-has-scrolled":this.hasScrolled}},i("div",{key:"b8e2ceb303a692f62e21816ae2bdaef477c32b0b",class:"gux-select-all-content"},this.renderSVGCheckbox(),i("div",{key:"aba1a103be114a1e973a14a8cbd1f6139124cf6c",class:"gux-option-wrapper"},i("gux-truncate",{key:"eff5cd71293a012c841b7dac3450abe114f0aa7f","max-lines":1},i("span",{key:"f48a2c2eccc5014ff2250cf27774d390b16609a2"},i("slot",{key:"af1857139ad935c44559e5ed43eebaa369becb59"},this.i18n("allOptions")))),i("gux-truncate",{key:"e4c6506ba1b0319c852425ae192f7b3328bc4846","tooltip-placement":"right",class:"gux-counter-label","max-lines":1},this.getCounterText()))))}get root(){return o(this)}};a.style=':host{z-index:1}.gux-select-all-container{box-sizing:border-box;display:flex;flex-direction:row;flex-wrap:nowrap;align-content:stretch;align-items:center;min-block-size:var(--gse-ui-menu-option-height);padding-block:var(--gse-ui-menu-selectAll-padding);padding-block-end:var(--gse-ui-menu-selectAll-gap);font-family:var(--gse-ui-dropdown-menu-selectAll-labelText-fontFamily);font-size:var(--gse-ui-dropdown-menu-selectAll-labelText-fontSize);font-weight:var(--gse-ui-dropdown-menu-selectAll-labelText-fontWeight);line-height:var(--gse-ui-dropdown-menu-selectAll-labelText-lineHeight);color:var(--gse-ui-menu-selectAll-label-foregroundColor);overflow-wrap:break-word;cursor:pointer;background-color:var(--gse-ui-menu-selectAll-backgroundColor);border-block-end:var(--gse-semantic-container-divider-borderWidth) solid var(--gse-semantic-border-container-divider)}.gux-select-all-container.gux-has-scrolled{box-shadow:var(--gse-ui-menu-selectAll-scrolling-boxShadow)}.gux-select-all-container.gux-active{outline:var(--gse-ui-menu-option-focus-border-width) var(--gse-ui-menu-option-focus-border-style) var(--gse-ui-menu-option-focus-border-color);outline-offset:-2px;border-radius:var(--gse-semantic-focusOutline-sm-borderRadius)}.gux-select-all-container.gux-selected{font-family:var(--gse-ui-menu-option-label-active-text-fontFamily);font-size:var(--gse-ui-menu-option-label-active-text-fontSize);font-weight:var(--gse-ui-menu-option-label-active-text-fontWeight);line-height:var(--gse-ui-menu-option-label-active-text-lineHeight)}.gux-select-all-container.gux-selected .gux-checkbox-container>path{fill:var(--gse-ui-menu-option-checkbox-checked-selected-foregroundColor)}.gux-select-all-container.gux-indeterminate .gux-checkbox-container>path{fill:var(--gse-ui-menu-option-checkbox-checked-selected-foregroundColor)}.gux-select-all-container .gux-select-all-content{display:flex;flex-direction:row;gap:var(--gse-ui-menu-selectAll-labelContainer-gap);inline-size:100%;padding:var(--gse-ui-menu-selectAll-labelContainer-padding)}.gux-option-wrapper{display:flex;flex-direction:row;flex-wrap:nowrap;gap:var(--gse-ui-menu-selectAll-label-gap);align-items:center;inline-size:100%;min-inline-size:0;user-select:none}.gux-option-wrapper .gux-counter-label{inline-size:100%;font-family:var(--gse-ui-dropdown-menu-selectAll-counterText-fontFamily);font-size:var(--gse-ui-dropdown-menu-selectAll-counterText-fontSize);font-weight:var(--gse-ui-dropdown-menu-selectAll-counterText-fontWeight);line-height:var(--gse-ui-dropdown-menu-selectAll-counterText-lineHeight)}.gux-checkbox-container{position:relative;display:inline-block;min-inline-size:var(--gse-ui-menu-option-startIcon-width);max-inline-size:var(--gse-ui-menu-option-startIcon-width);block-size:var(--gse-ui-menu-option-startIcon-height);content:"";background-color:var(--gse-ui-menu-selectAll-backgroundColor)}.gux-checkbox-container>path{fill:var(--gse-ui-menu-option-checkbox-unchecked-default-foregroundColor)}';export{a as gux_select_all}
1
+ import{r as e,f as t,h as i,a as o}from"./p-CjVJoR6g.js";import{b as l}from"./p-D1QZQXQN.js";import"./p-Cd4R0amv.js";var n={allOptions:"All options",of:"of"};const s=class{constructor(t){e(this,t),this.selected=!1,this.indeterminate=!1,this.active=!1,this.hasScrolled=!1}onInternallistboxoptionsupdated(){t(this.root)}async componentWillLoad(){var e;this.i18n=await l(this.root,n),this.listboxElement=null===(e=this.root)||void 0===e?void 0:e.closest("gux-listbox-multi"),this.applyListboxScrollListener()}disconnectedCallback(){this.listboxElement&&this.scrollHandler&&this.listboxElement.removeEventListener("scroll",this.scrollHandler)}applyListboxScrollListener(){this.listboxElement&&(this.scrollHandler=e=>{e.stopPropagation(),this.hasScrolled=e.target.scrollTop>0},this.listboxElement.addEventListener("scroll",this.scrollHandler,{passive:!0}))}getCounterText(){if(!this.listboxElement)return;const e=Array.from(this.listboxElement.querySelectorAll("gux-option-multi"));return`(${e.filter((e=>e.selected)).length} ${this.i18n("of")} ${e.length})`}renderSVGCheckbox(){return i("svg",{class:"gux-checkbox-container",xmlns:"http://www.w3.org/2000/svg",viewBox:this.indeterminate?"0 0 16 16":"1 1 13 13"},i("path",{"fill-rule":"evenodd","clip-rule":"evenodd",d:{indeterminate:"M11.1429 7.14286C11.6179 7.14286 12 7.525 12 8C12 8.475 11.6179 8.85714 11.1429 8.85714H4.85714C4.38214 8.85714 4 8.475 4 8C4 7.525 4.38214 7.14286 4.85714 7.14286H11.1429ZM0 2.28571C0 1.02321 1.02321 0 2.28571 0H13.7143C14.975 0 16 1.02321 16 2.28571V13.7143C16 14.975 14.975 16 13.7143 16H2.28571C1.02321 16 0 14.975 0 13.7143V2.28571ZM1.71429 2.28571V13.7143C1.71429 14.0286 1.97 14.2857 2.28571 14.2857H13.7143C14.0286 14.2857 14.2857 14.0286 14.2857 13.7143V2.28571C14.2857 1.97 14.0286 1.71429 13.7143 1.71429H2.28571C1.97 1.71429 1.71429 1.97 1.71429 2.28571Z",selected:"M4 1H11C11.7956 1 12.5587 1.31607 13.1213 1.87868C13.6839 2.44129 14 3.20435 14 4V11C14 11.7956 13.6839 12.5587 13.1213 13.1213C12.5587 13.6839 11.7956 14 11 14H4C3.20435 14 2.44129 13.6839 1.87868 13.1213C1.31607 12.5587 1 11.7956 1 11V4C1 3.20435 1.31607 2.44129 1.87868 1.87868C2.44129 1.31607 3.20435 1 4 1ZM5.57018 10.4198C5.7051 10.5547 5.87599 10.6177 6.04689 10.6177C6.22678 10.6177 6.39767 10.5457 6.52359 10.4198L11.7944 5.14905C12.0552 4.88821 12.0552 4.45647 11.7944 4.19563C11.5335 3.93479 11.1018 3.93479 10.841 4.19563L6.04689 8.9897L4.14905 7.08286C3.88821 6.82202 3.45647 6.82202 3.19563 7.08286C2.93479 7.3437 2.93479 7.77544 3.19563 8.03628L5.57018 10.4198Z",unselected:"M11 2.5H4C3.17157 2.5 2.5 3.17157 2.5 4V11C2.5 11.8284 3.17157 12.5 4 12.5H11C11.8284 12.5 12.5 11.8284 12.5 11V4C12.5 3.17157 11.8284 2.5 11 2.5ZM4 1C2.34315 1 1 2.34315 1 4V11C1 12.6569 2.34315 14 4 14H11C12.6569 14 14 12.6569 14 11V4C14 2.34315 12.6569 1 11 1H4Z"}[this.indeterminate?"indeterminate":this.selected?"selected":"unselected"]}))}render(){return i("div",{key:"ef01bbf94794e4cf4d485f88866f8971f233518c",role:"option","aria-selected":this.selected.toString(),class:{"gux-select-all-container":!0,"gux-active":this.active,"gux-selected":this.selected,"gux-indeterminate":this.indeterminate,"gux-has-scrolled":this.hasScrolled}},i("div",{key:"158b650ff9508e799ef7f22ffdbc0c94d0abbcf3",class:"gux-select-all-content"},this.renderSVGCheckbox(),i("div",{key:"7cf1bdd0966755a160e3264fc27ce4d804e0d83b",class:"gux-option-wrapper"},i("gux-truncate",{key:"9f78326d7b9aafa0ae51c6693b50c24d17e0efe8","max-lines":1},i("span",{key:"8265a17b539391092e6c94a255fb840642bd888a"},i("slot",{key:"db86c59a61295cd8531e48c5b4feeaded1185400"},this.i18n("allOptions")))),i("gux-truncate",{key:"8014c7260cc42bf114e2ca868801ad89b71eb66d","tooltip-placement":"right",class:"gux-counter-label","max-lines":1},this.getCounterText()))))}get root(){return o(this)}};s.style=':host{z-index:1}.gux-select-all-container{box-sizing:border-box;display:flex;flex-direction:row;flex-wrap:nowrap;align-content:stretch;align-items:center;min-block-size:var(--gse-ui-menu-option-height);padding-block:var(--gse-ui-menu-selectAll-padding);padding-block-end:var(--gse-ui-menu-selectAll-gap);font-family:var(--gse-ui-dropdown-menu-selectAll-labelText-fontFamily);font-size:var(--gse-ui-dropdown-menu-selectAll-labelText-fontSize);font-weight:var(--gse-ui-dropdown-menu-selectAll-labelText-fontWeight);line-height:var(--gse-ui-dropdown-menu-selectAll-labelText-lineHeight);color:var(--gse-ui-menu-selectAll-label-foregroundColor);overflow-wrap:break-word;cursor:pointer;background-color:var(--gse-ui-menu-selectAll-backgroundColor);border-block-end:var(--gse-semantic-container-divider-borderWidth) solid var(--gse-semantic-border-container-divider)}.gux-select-all-container.gux-has-scrolled{box-shadow:var(--gse-ui-menu-selectAll-scrolling-boxShadow)}.gux-select-all-container.gux-active{outline:var(--gse-ui-menu-option-focus-border-width) var(--gse-ui-menu-option-focus-border-style) var(--gse-ui-menu-option-focus-border-color);outline-offset:-2px;border-radius:var(--gse-semantic-focusOutline-sm-borderRadius)}.gux-select-all-container.gux-selected{font-family:var(--gse-ui-menu-option-label-active-text-fontFamily);font-size:var(--gse-ui-menu-option-label-active-text-fontSize);font-weight:var(--gse-ui-menu-option-label-active-text-fontWeight);line-height:var(--gse-ui-menu-option-label-active-text-lineHeight)}.gux-select-all-container.gux-selected .gux-checkbox-container>path{fill:var(--gse-ui-menu-option-checkbox-checked-selected-foregroundColor)}.gux-select-all-container.gux-indeterminate .gux-checkbox-container>path{fill:var(--gse-ui-menu-option-checkbox-checked-selected-foregroundColor)}.gux-select-all-container .gux-select-all-content{display:flex;flex-direction:row;gap:var(--gse-ui-menu-selectAll-labelContainer-gap);inline-size:100%;padding:var(--gse-ui-menu-selectAll-labelContainer-padding)}.gux-option-wrapper{display:flex;flex-direction:row;flex-wrap:nowrap;gap:var(--gse-ui-menu-selectAll-label-gap);align-items:center;inline-size:100%;min-inline-size:0;user-select:none}.gux-option-wrapper .gux-counter-label{inline-size:100%;font-family:var(--gse-ui-dropdown-menu-selectAll-counterText-fontFamily);font-size:var(--gse-ui-dropdown-menu-selectAll-counterText-fontSize);font-weight:var(--gse-ui-dropdown-menu-selectAll-counterText-fontWeight);line-height:var(--gse-ui-dropdown-menu-selectAll-counterText-lineHeight)}.gux-checkbox-container{position:relative;display:inline-block;min-inline-size:var(--gse-ui-menu-option-startIcon-width);max-inline-size:var(--gse-ui-menu-option-startIcon-width);block-size:var(--gse-ui-menu-option-startIcon-height);content:"";background-color:var(--gse-ui-menu-selectAll-backgroundColor)}.gux-checkbox-container>path{fill:var(--gse-ui-menu-option-checkbox-unchecked-default-foregroundColor)}';export{s as gux_select_all}
@@ -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-CjVJoR6g.js";import{O as i}from"./p-DaK6PJIg.js";import{h as l}from"./p-qzV3vtOw.js";import{l as a}from"./p-DxtJDeL9.js";import{b as s}from"./p-D1QZQXQN.js";import{s as n}from"./p-BMRf5pjV.js";import{a as f,G as h}from"./p-kyGdOoF4.js";import{G as u,a as g,b as d}from"./p-5GSd1tCA.js";import{g as c}from"./p-MAoEg4ig.js";import{t as p}from"./p-m3Lae7sj.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(d,{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(c(this.root,"group-error"),this.hasGroupError),this.renderText(c(this.root,"group-help"),this.hasGroupHelp),this.renderText(c(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}
@@ -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-CjVJoR6g.js";import{t as n}from"./p-m3Lae7sj.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}
@@ -1 +1 @@
1
- import{r as e,h as t,H as i,a}from"./p-Dz_2h4jr.js";import{r as s}from"./p-D9jKBqIb.js";import{g as o}from"./p-Cd4R0amv.js";const n=class{constructor(t){e(this,t),this.active=!1,this.selected=!1,this.disabled=!1,this.accent="info"}handleActive(e){var t,i;e?null===(t=this.truncateElement)||void 0===t||t.setShowTooltip():null===(i=this.truncateElement)||void 0===i||i.setHideTooltip()}componentWillLoad(){this.root.id=this.root.id||s("gux-option-status")}getAriaSelected(){return!this.disabled&&(this.selected?"true":"false")}hasDisabledParent(){const e=o("gux-listbox",this.root);return null==e?void 0:e.disabled}render(){return t(i,{key:"a334972f4caaeadcc6e1dbbfd904e0e5bb71f10d",role:"option",class:{"gux-active":this.active,"gux-disabled":this.disabled||this.hasDisabledParent(),"gux-selected":this.selected},"aria-selected":this.getAriaSelected(),"aria-disabled":this.disabled.toString()},t("div",{key:"8c3128a229a9c34ea7c9a0e0a6601add942334a5",class:"gux-status-indicator"},t("span",{key:"88cd3f16fd0d199d69ac1d23349af251cd754f7a",class:`gux-status-icon gux-status-icon-${this.accent}`}),t("div",{key:"91940a275a235776900164ed2effae3f066171b0",class:"gux-status-indicator-text"},t("gux-truncate",{key:"4cdd799cd6b21c54a0e294c79b400b1a8c03e3df",ref:e=>this.truncateElement=e},t("slot",{key:"7d6057801c12e181427022be2001472f2da23e2f"})))))}get root(){return a(this)}static get watchers(){return{active:["handleActive"]}}};n.style=":host{box-sizing:border-box;display:flex;flex-direction:row;flex-wrap:nowrap;gap:var(--gse-ui-menu-option-gap);place-content:stretch center;align-items:center;block-size:var(--gse-ui-menu-option-height);min-block-size:var(--gse-ui-menu-option-height);padding:var(--gse-ui-menu-option-padding);font-family:var(--gse-ui-menu-option-label-default-text-fontFamily);font-size:var(--gse-ui-menu-option-label-default-text-fontSize);font-weight:var(--gse-ui-menu-option-label-default-text-fontWeight);line-height:var(--gse-ui-menu-option-label-default-text-lineHeight);color:var(--gse-ui-menu-option-label-foregroundColor);overflow-wrap:break-word;cursor:pointer}:host .gux-option-wrapper{inline-size:100%;user-select:none}:host .gux-slot-container{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}:host(.gux-disabled){pointer-events:none;cursor:default;opacity:var(--gse-ui-menu-option-disabled-opacity)}:host(.gux-selected){font-family:var(--gse-ui-menu-option-label-active-text-fontFamily);font-size:var(--gse-ui-menu-option-label-active-text-fontSize);font-weight:var(--gse-ui-menu-option-label-active-text-fontWeight);line-height:var(--gse-ui-menu-option-label-active-text-lineHeight);background:var(--gse-ui-menu-option-selected-backgroundColor)}:host(:active:not(:disabled)){font-family:var(--gse-ui-menu-option-label-active-text-fontFamily);font-size:var(--gse-ui-menu-option-label-active-text-fontSize);font-weight:var(--gse-ui-menu-option-label-active-text-fontWeight);line-height:var(--gse-ui-menu-option-label-active-text-lineHeight)}:host(.gux-active){outline:var(--gse-ui-menu-option-focus-border-width) var(--gse-ui-menu-option-focus-border-style) var(--gse-ui-menu-option-focus-border-color);outline-offset:-2px;border-radius:var(--gse-semantic-focusOutline-sm-borderRadius)}:host(.gux-show-subtext){align-items:flex-start;block-size:auto;padding:var(--gse-ui-menu-option-subtext-padding)}:host(.gux-show-subtext) .gux-option-wrapper{display:flex;flex-direction:column}:host(.gux-show-subtext) slot[name=subtext]::slotted(*){font-weight:var(--gse-ui-menu-option-label-default-text-fontWeight);color:var(--gse-ui-menu-groupedMenu-subtext-foregroundColor)}:host(:hover:not(:disabled)){background:var(--gse-ui-menu-option-hover-backgroundColor)}:host(.gux-filtered){display:none}:host{justify-content:flex-start}.gux-status-indicator{display:inline-flex;gap:var(--gse-ui-dataTableItems-statusIndicator-gap);align-items:center}.gux-status-icon{display:inline-flex}.gux-status-icon::before{content:\"\"}.gux-status-icon-info::before{-webkit-mask-image:url(\"data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12' %3E%3Cpath d='M6 0C7.59 0 9.12 0.629997 10.245 1.755C11.37 2.88 12 4.41 12 6C12 7.59 11.37 9.12 10.245 10.245C9.12 11.37 7.59 12 6 12C4.41 12 2.88 11.37 1.755 10.245C0.629997 9.12 0 7.59 0 6C0 4.41 0.629997 2.88 1.755 1.755C2.88 0.629997 4.41 0 6 0Z' /%3E%3C/svg%3E\");mask-image:url(\"data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12' %3E%3Cpath d='M6 0C7.59 0 9.12 0.629997 10.245 1.755C11.37 2.88 12 4.41 12 6C12 7.59 11.37 9.12 10.245 10.245C9.12 11.37 7.59 12 6 12C4.41 12 2.88 11.37 1.755 10.245C0.629997 9.12 0 7.59 0 6C0 4.41 0.629997 2.88 1.755 1.755C2.88 0.629997 4.41 0 6 0Z' /%3E%3C/svg%3E\");inline-size:var(--gse-ui-dataTableItems-statusIndicator-label-fontSize);block-size:var(--gse-ui-dataTableItems-statusIndicator-label-fontSize);background:var(--gse-ui-statusGlyph-information)}.gux-status-icon-warning::before{inline-size:var(--gse-ui-dataTableItems-statusIndicator-label-fontSize);block-size:var(--gse-ui-dataTableItems-statusIndicator-label-fontSize);-webkit-mask-image:url(\"data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12' %3E%3Cpath d='M6.16516 0.749268C6.49521 0.749268 6.80275 0.921791 6.97527 1.21434L12.0386 9.8407C12.2111 10.1332 12.2111 10.4933 12.0386 10.7783C11.8735 11.0709 11.5585 11.2509 11.2285 11.2509H1.10186C0.764303 11.2509 0.456764 11.0709 0.291738 10.7783C0.126712 10.4858 0.126712 10.1257 0.291738 9.8407L5.35504 1.21434C5.52757 0.929292 5.8276 0.749268 6.16516 0.749268Z' /%3E%3C/svg%3E\");mask-image:url(\"data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12' %3E%3Cpath d='M6.16516 0.749268C6.49521 0.749268 6.80275 0.921791 6.97527 1.21434L12.0386 9.8407C12.2111 10.1332 12.2111 10.4933 12.0386 10.7783C11.8735 11.0709 11.5585 11.2509 11.2285 11.2509H1.10186C0.764303 11.2509 0.456764 11.0709 0.291738 10.7783C0.126712 10.4858 0.126712 10.1257 0.291738 9.8407L5.35504 1.21434C5.52757 0.929292 5.8276 0.749268 6.16516 0.749268Z' /%3E%3C/svg%3E\");background:var(--gse-ui-statusGlyph-neutral)}.gux-status-icon-error::before{inline-size:var(--gse-ui-dataTableItems-statusIndicator-label-fontSize);block-size:var(--gse-ui-dataTableItems-statusIndicator-label-fontSize);-webkit-mask-image:url(\"data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12' %3E%3Cpath d='M0.236102 6.88C-0.0787008 6.33785 -0.0787008 5.66215 0.236102 5.12L2.36477 1.38C2.67957 0.837853 3.24922 0.5 3.87133 0.5H8.12867C8.75078 0.5 9.32043 0.837853 9.63523 1.38L11.7639 5.12C12.0787 5.66215 12.0787 6.33785 11.7639 6.88L9.63523 10.62C9.32043 11.1621 8.75078 11.5 8.12867 11.5H3.87133C3.24922 11.5 2.67957 11.1621 2.36477 10.62L0.236102 6.88Z' /%3E%3C/svg%3E\");mask-image:url(\"data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12' %3E%3Cpath d='M0.236102 6.88C-0.0787008 6.33785 -0.0787008 5.66215 0.236102 5.12L2.36477 1.38C2.67957 0.837853 3.24922 0.5 3.87133 0.5H8.12867C8.75078 0.5 9.32043 0.837853 9.63523 1.38L11.7639 5.12C12.0787 5.66215 12.0787 6.33785 11.7639 6.88L9.63523 10.62C9.32043 11.1621 8.75078 11.5 8.12867 11.5H3.87133C3.24922 11.5 2.67957 11.1621 2.36477 10.62L0.236102 6.88Z' /%3E%3C/svg%3E\");background:var(--gse-ui-statusGlyph-negative)}.gux-status-icon-success::before{inline-size:var(--gse-ui-dataTableItems-statusIndicator-label-fontSize);block-size:var(--gse-ui-dataTableItems-statusIndicator-label-fontSize);-webkit-mask-image:url(\"data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12' %3E%3Cpath d='M6 0C7.59 0 9.12 0.629997 10.245 1.755C11.37 2.88 12 4.41 12 6C12 7.59 11.37 9.12 10.245 10.245C9.12 11.37 7.59 12 6 12C4.41 12 2.88 11.37 1.755 10.245C0.629997 9.12 0 7.59 0 6C0 4.41 0.629997 2.88 1.755 1.755C2.88 0.629997 4.41 0 6 0Z' /%3E%3C/svg%3E\");mask-image:url(\"data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12' %3E%3Cpath d='M6 0C7.59 0 9.12 0.629997 10.245 1.755C11.37 2.88 12 4.41 12 6C12 7.59 11.37 9.12 10.245 10.245C9.12 11.37 7.59 12 6 12C4.41 12 2.88 11.37 1.755 10.245C0.629997 9.12 0 7.59 0 6C0 4.41 0.629997 2.88 1.755 1.755C2.88 0.629997 4.41 0 6 0Z' /%3E%3C/svg%3E\");background:var(--gse-ui-statusGlyph-positive)}";export{n as gux_option_status_beta}
1
+ import{r as e,h as t,H as i,a}from"./p-CjVJoR6g.js";import{r as s}from"./p-D9jKBqIb.js";import{g as o}from"./p-Cd4R0amv.js";const n=class{constructor(t){e(this,t),this.active=!1,this.selected=!1,this.disabled=!1,this.accent="info"}handleActive(e){var t,i;e?null===(t=this.truncateElement)||void 0===t||t.setShowTooltip():null===(i=this.truncateElement)||void 0===i||i.setHideTooltip()}componentWillLoad(){this.root.id=this.root.id||s("gux-option-status")}getAriaSelected(){return!this.disabled&&(this.selected?"true":"false")}hasDisabledParent(){const e=o("gux-listbox",this.root);return null==e?void 0:e.disabled}render(){return t(i,{key:"a334972f4caaeadcc6e1dbbfd904e0e5bb71f10d",role:"option",class:{"gux-active":this.active,"gux-disabled":this.disabled||this.hasDisabledParent(),"gux-selected":this.selected},"aria-selected":this.getAriaSelected(),"aria-disabled":this.disabled.toString()},t("div",{key:"8c3128a229a9c34ea7c9a0e0a6601add942334a5",class:"gux-status-indicator"},t("span",{key:"88cd3f16fd0d199d69ac1d23349af251cd754f7a",class:`gux-status-icon gux-status-icon-${this.accent}`}),t("div",{key:"91940a275a235776900164ed2effae3f066171b0",class:"gux-status-indicator-text"},t("gux-truncate",{key:"4cdd799cd6b21c54a0e294c79b400b1a8c03e3df",ref:e=>this.truncateElement=e},t("slot",{key:"7d6057801c12e181427022be2001472f2da23e2f"})))))}get root(){return a(this)}static get watchers(){return{active:["handleActive"]}}};n.style=":host{box-sizing:border-box;display:flex;flex-direction:row;flex-wrap:nowrap;gap:var(--gse-ui-menu-option-gap);place-content:stretch center;align-items:center;block-size:var(--gse-ui-menu-option-height);min-block-size:var(--gse-ui-menu-option-height);padding:var(--gse-ui-menu-option-padding);font-family:var(--gse-ui-menu-option-label-default-text-fontFamily);font-size:var(--gse-ui-menu-option-label-default-text-fontSize);font-weight:var(--gse-ui-menu-option-label-default-text-fontWeight);line-height:var(--gse-ui-menu-option-label-default-text-lineHeight);color:var(--gse-ui-menu-option-label-foregroundColor);overflow-wrap:break-word;cursor:pointer}:host .gux-option-wrapper{inline-size:100%;user-select:none}:host .gux-slot-container{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}:host(.gux-disabled){pointer-events:none;cursor:default;opacity:var(--gse-ui-menu-option-disabled-opacity)}:host(.gux-selected){font-family:var(--gse-ui-menu-option-label-active-text-fontFamily);font-size:var(--gse-ui-menu-option-label-active-text-fontSize);font-weight:var(--gse-ui-menu-option-label-active-text-fontWeight);line-height:var(--gse-ui-menu-option-label-active-text-lineHeight);background:var(--gse-ui-menu-option-selected-backgroundColor)}:host(:active:not(:disabled)){font-family:var(--gse-ui-menu-option-label-active-text-fontFamily);font-size:var(--gse-ui-menu-option-label-active-text-fontSize);font-weight:var(--gse-ui-menu-option-label-active-text-fontWeight);line-height:var(--gse-ui-menu-option-label-active-text-lineHeight)}:host(.gux-active){outline:var(--gse-ui-menu-option-focus-border-width) var(--gse-ui-menu-option-focus-border-style) var(--gse-ui-menu-option-focus-border-color);outline-offset:-2px;border-radius:var(--gse-semantic-focusOutline-sm-borderRadius)}:host(.gux-show-subtext){align-items:flex-start;block-size:auto;padding:var(--gse-ui-menu-option-subtext-padding)}:host(.gux-show-subtext) .gux-option-wrapper{display:flex;flex-direction:column}:host(.gux-show-subtext) slot[name=subtext]::slotted(*){font-weight:var(--gse-ui-menu-option-label-default-text-fontWeight);color:var(--gse-ui-menu-groupedMenu-subtext-foregroundColor)}:host(:hover:not(:disabled)){background:var(--gse-ui-menu-option-hover-backgroundColor)}:host(.gux-filtered){display:none}:host{justify-content:flex-start}.gux-status-indicator{display:inline-flex;gap:var(--gse-ui-dataTableItems-statusIndicator-gap);align-items:center}.gux-status-icon{display:inline-flex}.gux-status-icon::before{content:\"\"}.gux-status-icon-info::before{-webkit-mask-image:url(\"data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12' %3E%3Cpath d='M6 0C7.59 0 9.12 0.629997 10.245 1.755C11.37 2.88 12 4.41 12 6C12 7.59 11.37 9.12 10.245 10.245C9.12 11.37 7.59 12 6 12C4.41 12 2.88 11.37 1.755 10.245C0.629997 9.12 0 7.59 0 6C0 4.41 0.629997 2.88 1.755 1.755C2.88 0.629997 4.41 0 6 0Z' /%3E%3C/svg%3E\");mask-image:url(\"data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12' %3E%3Cpath d='M6 0C7.59 0 9.12 0.629997 10.245 1.755C11.37 2.88 12 4.41 12 6C12 7.59 11.37 9.12 10.245 10.245C9.12 11.37 7.59 12 6 12C4.41 12 2.88 11.37 1.755 10.245C0.629997 9.12 0 7.59 0 6C0 4.41 0.629997 2.88 1.755 1.755C2.88 0.629997 4.41 0 6 0Z' /%3E%3C/svg%3E\");inline-size:var(--gse-ui-dataTableItems-statusIndicator-label-fontSize);block-size:var(--gse-ui-dataTableItems-statusIndicator-label-fontSize);background:var(--gse-ui-statusGlyph-information)}.gux-status-icon-warning::before{inline-size:var(--gse-ui-dataTableItems-statusIndicator-label-fontSize);block-size:var(--gse-ui-dataTableItems-statusIndicator-label-fontSize);-webkit-mask-image:url(\"data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12' %3E%3Cpath d='M6.16516 0.749268C6.49521 0.749268 6.80275 0.921791 6.97527 1.21434L12.0386 9.8407C12.2111 10.1332 12.2111 10.4933 12.0386 10.7783C11.8735 11.0709 11.5585 11.2509 11.2285 11.2509H1.10186C0.764303 11.2509 0.456764 11.0709 0.291738 10.7783C0.126712 10.4858 0.126712 10.1257 0.291738 9.8407L5.35504 1.21434C5.52757 0.929292 5.8276 0.749268 6.16516 0.749268Z' /%3E%3C/svg%3E\");mask-image:url(\"data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12' %3E%3Cpath d='M6.16516 0.749268C6.49521 0.749268 6.80275 0.921791 6.97527 1.21434L12.0386 9.8407C12.2111 10.1332 12.2111 10.4933 12.0386 10.7783C11.8735 11.0709 11.5585 11.2509 11.2285 11.2509H1.10186C0.764303 11.2509 0.456764 11.0709 0.291738 10.7783C0.126712 10.4858 0.126712 10.1257 0.291738 9.8407L5.35504 1.21434C5.52757 0.929292 5.8276 0.749268 6.16516 0.749268Z' /%3E%3C/svg%3E\");background:var(--gse-ui-statusGlyph-neutral)}.gux-status-icon-error::before{inline-size:var(--gse-ui-dataTableItems-statusIndicator-label-fontSize);block-size:var(--gse-ui-dataTableItems-statusIndicator-label-fontSize);-webkit-mask-image:url(\"data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12' %3E%3Cpath d='M0.236102 6.88C-0.0787008 6.33785 -0.0787008 5.66215 0.236102 5.12L2.36477 1.38C2.67957 0.837853 3.24922 0.5 3.87133 0.5H8.12867C8.75078 0.5 9.32043 0.837853 9.63523 1.38L11.7639 5.12C12.0787 5.66215 12.0787 6.33785 11.7639 6.88L9.63523 10.62C9.32043 11.1621 8.75078 11.5 8.12867 11.5H3.87133C3.24922 11.5 2.67957 11.1621 2.36477 10.62L0.236102 6.88Z' /%3E%3C/svg%3E\");mask-image:url(\"data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12' %3E%3Cpath d='M0.236102 6.88C-0.0787008 6.33785 -0.0787008 5.66215 0.236102 5.12L2.36477 1.38C2.67957 0.837853 3.24922 0.5 3.87133 0.5H8.12867C8.75078 0.5 9.32043 0.837853 9.63523 1.38L11.7639 5.12C12.0787 5.66215 12.0787 6.33785 11.7639 6.88L9.63523 10.62C9.32043 11.1621 8.75078 11.5 8.12867 11.5H3.87133C3.24922 11.5 2.67957 11.1621 2.36477 10.62L0.236102 6.88Z' /%3E%3C/svg%3E\");background:var(--gse-ui-statusGlyph-negative)}.gux-status-icon-success::before{inline-size:var(--gse-ui-dataTableItems-statusIndicator-label-fontSize);block-size:var(--gse-ui-dataTableItems-statusIndicator-label-fontSize);-webkit-mask-image:url(\"data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12' %3E%3Cpath d='M6 0C7.59 0 9.12 0.629997 10.245 1.755C11.37 2.88 12 4.41 12 6C12 7.59 11.37 9.12 10.245 10.245C9.12 11.37 7.59 12 6 12C4.41 12 2.88 11.37 1.755 10.245C0.629997 9.12 0 7.59 0 6C0 4.41 0.629997 2.88 1.755 1.755C2.88 0.629997 4.41 0 6 0Z' /%3E%3C/svg%3E\");mask-image:url(\"data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12' %3E%3Cpath d='M6 0C7.59 0 9.12 0.629997 10.245 1.755C11.37 2.88 12 4.41 12 6C12 7.59 11.37 9.12 10.245 10.245C9.12 11.37 7.59 12 6 12C4.41 12 2.88 11.37 1.755 10.245C0.629997 9.12 0 7.59 0 6C0 4.41 0.629997 2.88 1.755 1.755C2.88 0.629997 4.41 0 6 0Z' /%3E%3C/svg%3E\");background:var(--gse-ui-statusGlyph-positive)}";export{n as gux_option_status_beta}
@@ -1 +1 @@
1
- import{r as t,h as a,H as s,a as i}from"./p-Dz_2h4jr.js";import{l as o}from"./p-DxtJDeL9.js";const e=class{constructor(a){t(this,a)}componentWillLoad(){this.validateSlot()}validateSlot(){var t;this.slottedElement=this.root.querySelector("a, button, gux-avatar-change-photo-beta"),this.slottedElement?(this.avatarElement=this.slottedElement.querySelector("gux-avatar-beta"),this.avatarElement||o(this.root,"Slotted element must contain a gux-avatar")):o(this.root,"An anchor tag, gux-avatar-change-photo-beta tag or button tag must be slotted into gux-avatar-focusable"),["A","BUTTON"].includes(null===(t=this.slottedElement)||void 0===t?void 0:t.tagName)&&(this.slottedElement.addEventListener("keyup",(t=>{this.handleKeyEvent(t)})),this.slottedElement.addEventListener("focusout",(()=>{this.handleFocusOut()})))}disconnectedCallback(){var t,a,s;["A","BUTTON"].includes(null===(t=this.slottedElement)||void 0===t?void 0:t.tagName)&&(null===(a=this.slottedElement)||void 0===a||a.removeEventListener("keyup",(t=>this.handleKeyEvent(t))),null===(s=this.slottedElement)||void 0===s||s.removeEventListener("focusout",(()=>this.handleFocusOut())))}handleKeyEvent(t){var a,s;"Tab"===t.key?this.slottedElement.matches(":focus-visible")&&this.avatarElement&&(null===(a=this.avatarElement)||void 0===a||a.showTooltip(),this.hideTooltipTimeout=setTimeout((()=>{var t;null===(t=this.avatarElement)||void 0===t||t.hideTooltip()}),6e3)):this.slottedElement.matches(":focus-visible")&&this.avatarElement&&(null===(s=this.avatarElement)||void 0===s||s.hideTooltip(),clearTimeout(this.hideTooltipTimeout))}handleFocusOut(){var t;null===(t=this.avatarElement)||void 0===t||t.hideTooltip(),clearTimeout(this.hideTooltipTimeout)}render(){return a(s,{key:"c32aa2b991c4c8275379d174498c14715be4ebad"},a("slot",{key:"93627d23004d26c9c8e72d6111a75c8585fa3f43"}))}get root(){return i(this)}};export{e as gux_avatar_focusable_beta}
1
+ import{r as t,h as a,H as s,a as i}from"./p-CjVJoR6g.js";import{l as o}from"./p-DxtJDeL9.js";const e=class{constructor(a){t(this,a)}componentWillLoad(){this.validateSlot()}validateSlot(){var t;this.slottedElement=this.root.querySelector("a, button, gux-avatar-change-photo-beta"),this.slottedElement?(this.avatarElement=this.slottedElement.querySelector("gux-avatar-beta"),this.avatarElement||o(this.root,"Slotted element must contain a gux-avatar")):o(this.root,"An anchor tag, gux-avatar-change-photo-beta tag or button tag must be slotted into gux-avatar-focusable"),["A","BUTTON"].includes(null===(t=this.slottedElement)||void 0===t?void 0:t.tagName)&&(this.slottedElement.addEventListener("keyup",(t=>{this.handleKeyEvent(t)})),this.slottedElement.addEventListener("focusout",(()=>{this.handleFocusOut()})))}disconnectedCallback(){var t,a,s;["A","BUTTON"].includes(null===(t=this.slottedElement)||void 0===t?void 0:t.tagName)&&(null===(a=this.slottedElement)||void 0===a||a.removeEventListener("keyup",(t=>this.handleKeyEvent(t))),null===(s=this.slottedElement)||void 0===s||s.removeEventListener("focusout",(()=>this.handleFocusOut())))}handleKeyEvent(t){var a,s;"Tab"===t.key?this.slottedElement.matches(":focus-visible")&&this.avatarElement&&(null===(a=this.avatarElement)||void 0===a||a.showTooltip(),this.hideTooltipTimeout=setTimeout((()=>{var t;null===(t=this.avatarElement)||void 0===t||t.hideTooltip()}),6e3)):this.slottedElement.matches(":focus-visible")&&this.avatarElement&&(null===(s=this.avatarElement)||void 0===s||s.hideTooltip(),clearTimeout(this.hideTooltipTimeout))}handleFocusOut(){var t;null===(t=this.avatarElement)||void 0===t||t.hideTooltip(),clearTimeout(this.hideTooltipTimeout)}render(){return a(s,{key:"c32aa2b991c4c8275379d174498c14715be4ebad"},a("slot",{key:"93627d23004d26c9c8e72d6111a75c8585fa3f43"}))}get root(){return i(this)}};export{e as gux_avatar_focusable_beta}
@@ -0,0 +1 @@
1
+ import{r,h as s,a}from"./p-CjVJoR6g.js";import{t as e}from"./p-m3Lae7sj.js";const t=class{constructor(s){r(this,s)}componentWillLoad(){e(this.root)}render(){return s("gux-radial-loading",{key:"029364a22ac1af63d34b1934bd9cd63f4e1450b4",class:"gux-spinner","screenreader-text":this.screenreaderText,context:"full-page"})}get root(){return a(this)}};t.style=":host{display:flex}.gux-spinner{margin:auto}";export{t as gux_page_loading_spinner}