genesys-spark-components 4.115.1 → 4.117.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (595) hide show
  1. package/dist/cjs/genesys-webcomponents.cjs.js +2 -2
  2. package/dist/cjs/{get-valid-timezone-221a0856.js → get-valid-timezone-eb9723e2.js} +1 -1
  3. package/dist/cjs/gux-accordion-section.cjs.entry.js +1 -1
  4. package/dist/cjs/gux-accordion.cjs.entry.js +2 -2
  5. package/dist/cjs/gux-action-button.cjs.entry.js +4 -4
  6. package/dist/cjs/gux-action-toast-legacy.cjs.entry.js +2 -2
  7. package/dist/cjs/gux-advanced-dropdown-legacy.cjs.entry.js +4 -4
  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-beta.cjs.entry.js +2 -2
  14. package/dist/cjs/gux-avatar-group-item-beta.cjs.entry.js +2 -2
  15. package/dist/cjs/gux-avatar-overflow-beta_2.cjs.entry.js +3 -3
  16. package/dist/cjs/gux-badge.cjs.entry.js +3 -3
  17. package/dist/cjs/gux-blank-state.cjs.entry.js +3 -3
  18. package/dist/cjs/gux-breadcrumb-item.cjs.entry.js +1 -1
  19. package/dist/cjs/gux-breadcrumbs.cjs.entry.js +3 -3
  20. package/dist/cjs/gux-button-multi.cjs.entry.js +4 -12
  21. package/dist/cjs/gux-button-slot.cjs.entry.js +2 -2
  22. package/dist/cjs/gux-button_2.cjs.entry.js +5 -5
  23. package/dist/cjs/gux-calendar-beta.cjs.entry.js +2 -2
  24. package/dist/cjs/gux-calendar.cjs.entry.js +3 -3
  25. package/dist/cjs/gux-card.cjs.entry.js +2 -2
  26. package/dist/cjs/gux-column-manager-item.cjs.entry.js +2 -2
  27. package/dist/cjs/gux-column-manager.cjs.entry.js +3 -3
  28. package/dist/cjs/gux-content-search.cjs.entry.js +4 -4
  29. package/dist/cjs/gux-context-menu.cjs.entry.js +4 -4
  30. package/dist/cjs/gux-copy-to-clipboard.cjs.entry.js +3 -3
  31. package/dist/cjs/gux-create-option.cjs.entry.js +4 -4
  32. package/dist/cjs/gux-cta-group.cjs.entry.js +1 -1
  33. package/dist/cjs/gux-date-beta.cjs.entry.js +4 -4
  34. package/dist/cjs/gux-date-time-beta.cjs.entry.js +4 -4
  35. package/dist/cjs/gux-datepicker.cjs.entry.js +5 -5
  36. package/dist/cjs/gux-disclosure-button-legacy.cjs.entry.js +3 -3
  37. package/dist/cjs/gux-dismiss-button.cjs.entry.js +3 -3
  38. package/dist/cjs/gux-dropdown-multi-tag.cjs.entry.js +2 -2
  39. package/dist/cjs/gux-dropdown-multi.cjs.entry.js +5 -5
  40. package/dist/cjs/gux-dropdown-option.cjs.entry.js +1 -1
  41. package/dist/cjs/gux-dropdown_3.cjs.entry.js +5 -5
  42. package/dist/cjs/gux-file-list-item.cjs.entry.js +74 -0
  43. package/dist/cjs/gux-flag-icon-beta.cjs.entry.js +2 -2
  44. package/dist/cjs/gux-flyout-menu.cjs.entry.js +2 -2
  45. package/dist/cjs/gux-form-beta.cjs.entry.js +1 -1
  46. package/dist/cjs/gux-form-description.cjs.entry.js +1 -1
  47. package/dist/cjs/gux-form-field-checkbox-group-beta.cjs.entry.js +6 -6
  48. package/dist/cjs/gux-form-field-checkbox.cjs.entry.js +4 -4
  49. package/dist/cjs/gux-form-field-color.cjs.entry.js +6 -6
  50. package/dist/cjs/{gux-form-field-container-ad5588d7.js → gux-form-field-container-d667bd55.js} +1 -1
  51. package/dist/cjs/gux-form-field-dropdown.cjs.entry.js +7 -7
  52. package/dist/cjs/{gux-form-field-error-c55f1055.js → gux-form-field-error-ce0cf9e4.js} +1 -1
  53. package/dist/cjs/{gux-form-field-fieldset-container-48d63d04.js → gux-form-field-fieldset-container-1b27772e.js} +1 -1
  54. package/dist/cjs/gux-form-field-file-beta.cjs.entry.js +234 -0
  55. package/dist/cjs/gux-form-field-file.cjs.entry.js +6 -6
  56. package/dist/cjs/gux-form-field-input-clear-button.cjs.entry.js +4 -4
  57. package/dist/cjs/gux-form-field-label-indicator.cjs.entry.js +3 -3
  58. package/dist/cjs/gux-form-field-number_2.cjs.entry.js +15 -15
  59. package/dist/cjs/gux-form-field-phone.cjs.entry.js +11 -11
  60. package/dist/cjs/gux-form-field-radio-group-beta.cjs.entry.js +8 -8
  61. package/dist/cjs/gux-form-field-radio.cjs.entry.js +6 -6
  62. package/dist/cjs/gux-form-field-range.cjs.entry.js +9 -9
  63. package/dist/cjs/gux-form-field-search.cjs.entry.js +9 -9
  64. package/dist/cjs/gux-form-field-select.cjs.entry.js +9 -9
  65. package/dist/cjs/gux-form-field-text-like.cjs.entry.js +6 -6
  66. package/dist/cjs/gux-form-field-textarea.cjs.entry.js +8 -8
  67. package/dist/cjs/gux-form-field-time-picker.cjs.entry.js +11 -11
  68. package/dist/cjs/gux-form-field-time-zone-picker.cjs.entry.js +10 -10
  69. package/dist/cjs/gux-form-fieldset-heading.cjs.entry.js +1 -1
  70. package/dist/cjs/gux-form-footer.cjs.entry.js +2 -2
  71. package/dist/cjs/gux-form-heading.cjs.entry.js +1 -1
  72. package/dist/cjs/gux-icon-tooltip-beta.cjs.entry.js +2 -2
  73. package/dist/cjs/gux-icon.cjs.entry.js +3 -3
  74. package/dist/cjs/gux-inline-alert.cjs.entry.js +5 -5
  75. package/dist/cjs/gux-label-info-beta.cjs.entry.js +2 -2
  76. package/dist/cjs/gux-link-beta.cjs.entry.js +2 -2
  77. package/dist/cjs/gux-list-divider.cjs.entry.js +1 -1
  78. package/dist/cjs/gux-list-item.cjs.entry.js +1 -1
  79. package/dist/cjs/gux-list.cjs.entry.js +2 -2
  80. package/dist/cjs/gux-listbox-multi.cjs.entry.js +4 -4
  81. package/dist/cjs/gux-loading-message.cjs.entry.js +3 -3
  82. package/dist/cjs/gux-menu-option.cjs.entry.js +13 -2
  83. package/dist/cjs/gux-menu.cjs.entry.js +1 -1
  84. package/dist/cjs/gux-modal-legacy.cjs.entry.js +2 -2
  85. package/dist/cjs/gux-modal-side-panel-beta.cjs.entry.js +2 -2
  86. package/dist/cjs/gux-modal.cjs.entry.js +3 -3
  87. package/dist/cjs/gux-month-calendar.cjs.entry.js +2 -2
  88. package/dist/cjs/gux-month-list_2.cjs.entry.js +1 -1
  89. package/dist/cjs/gux-month-picker-beta.cjs.entry.js +4 -4
  90. package/dist/cjs/gux-notification-toast-legacy.cjs.entry.js +2 -2
  91. package/dist/cjs/gux-option-group-beta.cjs.entry.js +1 -1
  92. package/dist/cjs/gux-option-icon.cjs.entry.js +1 -1
  93. package/dist/cjs/gux-option-multi.cjs.entry.js +2 -2
  94. package/dist/cjs/gux-page-loading-spinner.cjs.entry.js +3 -3
  95. package/dist/cjs/gux-pagination-buttons-legacy_3.cjs.entry.js +2 -2
  96. package/dist/cjs/gux-pagination-buttons_2.cjs.entry.js +5 -5
  97. package/dist/cjs/gux-pagination-cursor.cjs.entry.js +3 -3
  98. package/dist/cjs/gux-pagination-items-per-page.cjs.entry.js +3 -3
  99. package/dist/cjs/gux-pagination-legacy.cjs.entry.js +2 -2
  100. package/dist/cjs/gux-pagination.cjs.entry.js +3 -3
  101. package/dist/cjs/gux-phone-input-beta.cjs.entry.js +4 -4
  102. package/dist/cjs/gux-popover-beta.cjs.entry.js +3 -3
  103. package/dist/cjs/gux-popover-list-beta.cjs.entry.js +3 -3
  104. package/dist/cjs/gux-popover-list.cjs.entry.js +5 -5
  105. package/dist/cjs/gux-popup.cjs.entry.js +4 -4
  106. package/dist/cjs/gux-radial-loading.cjs.entry.js +4 -4
  107. package/dist/cjs/gux-radial-progress.cjs.entry.js +2 -2
  108. package/dist/cjs/gux-rating.cjs.entry.js +3 -3
  109. package/dist/cjs/gux-rich-highlight-list-item.cjs.entry.js +3 -3
  110. package/dist/cjs/gux-rich-style-list-item.cjs.entry.js +2 -2
  111. package/dist/cjs/gux-rich-text-editor-action-group.cjs.entry.js +1 -1
  112. package/dist/cjs/gux-rich-text-editor-action-link.cjs.entry.js +4 -4
  113. package/dist/cjs/gux-rich-text-editor-action-rich-style.cjs.entry.js +4 -4
  114. package/dist/cjs/gux-rich-text-editor-action-text-highlight.cjs.entry.js +4 -4
  115. package/dist/cjs/gux-rich-text-editor-action.cjs.entry.js +3 -3
  116. package/dist/cjs/gux-rich-text-editor-beta.cjs.entry.js +1 -1
  117. package/dist/cjs/gux-rich-text-editor-list.cjs.entry.js +2 -2
  118. package/dist/cjs/gux-row-select.cjs.entry.js +4 -4
  119. package/dist/cjs/gux-screen-reader-beta.cjs.entry.js +2 -2
  120. package/dist/cjs/gux-segmented-control-beta.cjs.entry.js +2 -2
  121. package/dist/cjs/gux-segmented-control-item.cjs.entry.js +1 -1
  122. package/dist/cjs/gux-selector-card-beta.cjs.entry.js +2 -2
  123. package/dist/cjs/gux-selector-cards-beta.cjs.entry.js +2 -2
  124. package/dist/cjs/gux-side-panel-beta.cjs.entry.js +2 -2
  125. package/dist/cjs/gux-side-panel-heading.cjs.entry.js +2 -2
  126. package/dist/cjs/gux-simple-toast-legacy.cjs.entry.js +2 -2
  127. package/dist/cjs/gux-skip-navigation-item.cjs.entry.js +2 -2
  128. package/dist/cjs/gux-skip-navigation-list.cjs.entry.js +4 -4
  129. package/dist/cjs/gux-sort-control.cjs.entry.js +6 -6
  130. package/dist/cjs/gux-submenu.cjs.entry.js +1 -1
  131. package/dist/cjs/gux-switch-item.cjs.entry.js +1 -1
  132. package/dist/cjs/gux-switch-legacy.cjs.entry.js +2 -2
  133. package/dist/cjs/gux-tab-advanced-list.cjs.entry.js +7 -7
  134. package/dist/cjs/gux-tab-advanced-panel.cjs.entry.js +2 -2
  135. package/dist/cjs/gux-tab-advanced.cjs.entry.js +5 -5
  136. package/dist/cjs/gux-tab-list.cjs.entry.js +5 -5
  137. package/dist/cjs/gux-tab-panel.cjs.entry.js +2 -2
  138. package/dist/cjs/gux-tab.cjs.entry.js +3 -3
  139. package/dist/cjs/gux-table-select-menu.cjs.entry.js +3 -3
  140. package/dist/cjs/gux-table-toolbar-action.cjs.entry.js +4 -4
  141. package/dist/cjs/gux-table-toolbar-custom-action.cjs.entry.js +3 -3
  142. package/dist/cjs/gux-table-toolbar-menu-button.cjs.entry.js +5 -5
  143. package/dist/cjs/gux-table-toolbar.cjs.entry.js +6 -6
  144. package/dist/cjs/gux-table.cjs.entry.js +4 -4
  145. package/dist/cjs/gux-tabs-advanced.cjs.entry.js +3 -3
  146. package/dist/cjs/gux-tabs.cjs.entry.js +3 -3
  147. package/dist/cjs/gux-tag.cjs.entry.js +4 -4
  148. package/dist/cjs/gux-text-highlight.cjs.entry.js +2 -2
  149. package/dist/cjs/gux-time-beta.cjs.entry.js +4 -4
  150. package/dist/cjs/gux-time-picker.cjs.entry.js +20 -6
  151. package/dist/cjs/gux-time-zone-beta.cjs.entry.js +3 -3
  152. package/dist/cjs/gux-time-zone-picker-beta.cjs.entry.js +3 -3
  153. package/dist/cjs/gux-toast.cjs.entry.js +4 -4
  154. package/dist/cjs/gux-toggle-slider.cjs.entry.js +3 -3
  155. package/dist/cjs/gux-toggle.cjs.entry.js +5 -5
  156. package/dist/cjs/gux-tooltip-base-beta_2.cjs.entry.js +2 -2
  157. package/dist/cjs/gux-tooltip-title.cjs.entry.js +5 -5
  158. package/dist/cjs/{gux-tooltip.cjs.entry.js → gux-tooltip_2.cjs.entry.js} +85 -4
  159. package/dist/cjs/{index-d7208697.js → index-220b0ad3.js} +1 -1
  160. package/dist/cjs/{index-2dd05ef3.js → index-77202cdc.js} +53 -21
  161. package/dist/cjs/loader.cjs.js +2 -2
  162. package/dist/cjs/{on-attribute-change-321d434b.js → on-attribute-change-a9f44523.js} +12 -0
  163. package/dist/cjs/{on-click-outside-bb55ad5e.js → on-click-outside-2faf7467.js} +1 -1
  164. package/dist/cjs/{on-mutation-c0879d47.js → on-mutation-e89e880e.js} +1 -1
  165. package/dist/cjs/{on-resize-62f7838d.js → on-resize-810e9012.js} +1 -1
  166. package/dist/cjs/{usage-e9f2212c.js → usage-b8a0be8e.js} +1 -1
  167. package/dist/collection/collection-manifest.json +2 -0
  168. package/dist/collection/components/stable/gux-button-multi/gux-button-multi.js +1 -9
  169. package/dist/collection/components/stable/gux-datepicker/gux-datepicker.css +1 -0
  170. package/dist/collection/components/stable/gux-flyout-menu/gux-menu/gux-menu-option/gux-menu-option.js +6 -1
  171. package/dist/collection/components/stable/gux-form-field/components/gux-form-field-file-beta/components/gux-file-list-item/gux-file-list-item.css +66 -0
  172. package/dist/collection/components/stable/gux-form-field/components/gux-form-field-file-beta/components/gux-file-list-item/gux-file-list-item.js +153 -0
  173. package/dist/collection/components/stable/gux-form-field/components/gux-form-field-file-beta/gux-form-field-file.css +159 -0
  174. package/dist/collection/components/stable/gux-form-field/components/gux-form-field-file-beta/gux-form-field-file.js +296 -0
  175. package/dist/collection/components/stable/gux-form-field/components/gux-form-field-number/gux-form-field-number.js +3 -3
  176. package/dist/collection/components/stable/gux-form-field/components/gux-form-field-phone/gux-form-field-phone.js +4 -4
  177. package/dist/collection/components/stable/gux-form-field/components/gux-form-field-radio/gux-form-field-radio.js +2 -2
  178. package/dist/collection/components/stable/gux-form-field/components/gux-form-field-radio-group/gux-form-field-radio-group.js +2 -2
  179. package/dist/collection/components/stable/gux-form-field/components/gux-form-field-range/gux-form-field-range.js +2 -2
  180. package/dist/collection/components/stable/gux-form-field/components/gux-form-field-search/gux-form-field-search.js +3 -3
  181. package/dist/collection/components/stable/gux-form-field/components/gux-form-field-select/gux-form-field-select.js +3 -3
  182. package/dist/collection/components/stable/gux-form-field/components/gux-form-field-textarea/gux-form-field-textarea.js +2 -2
  183. package/dist/collection/components/stable/gux-form-field/components/gux-form-field-time-picker/gux-form-field-time-picker.js +4 -4
  184. package/dist/collection/components/stable/gux-form-field/components/gux-form-field-time-zone-picker/gux-form-field-time-zone-picker.js +3 -3
  185. 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
  186. package/dist/collection/components/stable/gux-icon/gux-icon.js +1 -1
  187. package/dist/collection/components/stable/gux-inline-alert/gux-inline-alert.js +2 -2
  188. package/dist/collection/components/stable/gux-listbox-multi/gux-create-option/gux-create-option.js +2 -2
  189. package/dist/collection/components/stable/gux-listbox-multi/gux-listbox-multi.css +1 -1
  190. package/dist/collection/components/stable/gux-loading-message/gux-loading-message.js +1 -1
  191. package/dist/collection/components/stable/gux-modal/gux-modal.js +1 -1
  192. package/dist/collection/components/stable/gux-page-loading-spinner/gux-page-loading-spinner.js +1 -1
  193. package/dist/collection/components/stable/gux-pagination/gux-pagination-buttons/gux-pagination-buttons.js +1 -1
  194. package/dist/collection/components/stable/gux-pagination/gux-pagination-buttons/gux-pagination-ellipsis-button/gux-pagination-ellipsis-button.js +4 -4
  195. package/dist/collection/components/stable/gux-pagination/gux-pagination-item-counts/gux-pagination-item-counts.js +2 -2
  196. package/dist/collection/components/stable/gux-pagination/gux-pagination-items-per-page/gux-pagination-items-per-page.js +1 -1
  197. package/dist/collection/components/stable/gux-pagination/gux-pagination.js +1 -1
  198. package/dist/collection/components/stable/gux-popover/gux-popover.js +2 -2
  199. package/dist/collection/components/stable/gux-popover-list/gux-popover-list.js +2 -2
  200. package/dist/collection/components/stable/gux-popup/gux-popup.js +3 -3
  201. package/dist/collection/components/stable/gux-radial-loading/gux-radial-loading.js +1 -1
  202. package/dist/collection/components/stable/gux-rating/gux-rating.js +1 -1
  203. package/dist/collection/components/stable/gux-skip-navigation-list/gux-skip-navigation-item/gux-skip-navigation-item.js +1 -1
  204. package/dist/collection/components/stable/gux-skip-navigation-list/gux-skip-navigation-list.js +1 -1
  205. package/dist/collection/components/stable/gux-table/gux-all-row-select/gux-all-row-select.js +1 -1
  206. package/dist/collection/components/stable/gux-table/gux-row-select/gux-row-select.js +2 -2
  207. package/dist/collection/components/stable/gux-table/gux-sort-control/gux-sort-control.js +3 -3
  208. package/dist/collection/components/stable/gux-table/gux-table-select-menu/gux-table-select-menu.js +1 -1
  209. package/dist/collection/components/stable/gux-table/gux-table.js +1 -1
  210. package/dist/collection/components/stable/gux-table-toolbar/gux-table-toolbar-action/gux-table-toolbar-action.js +1 -1
  211. package/dist/collection/components/stable/gux-table-toolbar/gux-table-toolbar-custom-action/gux-table-toolbar-custom-action.js +1 -1
  212. package/dist/collection/components/stable/gux-table-toolbar/gux-table-toolbar-menu-button/gux-table-toolbar-menu-button.js +1 -1
  213. package/dist/collection/components/stable/gux-table-toolbar/gux-table-toolbar.js +2 -2
  214. package/dist/collection/components/stable/gux-tabs/gux-tab/gux-tab.js +2 -2
  215. package/dist/collection/components/stable/gux-tabs/gux-tab-list/gux-tab-list.js +2 -2
  216. package/dist/collection/components/stable/gux-tabs/gux-tab-panel/gux-tab-panel.js +1 -1
  217. package/dist/collection/components/stable/gux-tabs/gux-tabs.js +1 -1
  218. package/dist/collection/components/stable/gux-tabs-advanced/gux-tab-advanced/gux-tab-advanced.css +5 -0
  219. package/dist/collection/components/stable/gux-tabs-advanced/gux-tab-advanced/gux-tab-advanced.js +2 -2
  220. package/dist/collection/components/stable/gux-tabs-advanced/gux-tab-advanced-list/gux-tab-advanced-list.css +10 -1
  221. package/dist/collection/components/stable/gux-tabs-advanced/gux-tab-advanced-list/gux-tab-advanced-list.js +3 -3
  222. package/dist/collection/components/stable/gux-tabs-advanced/gux-tab-advanced-panel/gux-tab-advanced-panel.js +1 -1
  223. package/dist/collection/components/stable/gux-tabs-advanced/gux-tabs-advanced.js +1 -1
  224. package/dist/collection/components/stable/gux-tag/gux-tag.js +1 -1
  225. package/dist/collection/components/stable/gux-time-picker/gux-time-picker.js +19 -2
  226. package/dist/collection/components/stable/gux-toast/gux-toast.js +2 -2
  227. package/dist/collection/components/stable/gux-toggle/gux-toggle-slider/gux-toggle-slider.js +2 -2
  228. package/dist/collection/components/stable/gux-toggle/gux-toggle.js +2 -2
  229. package/dist/collection/components/stable/gux-tooltip/gux-tooltip.js +2 -2
  230. package/dist/collection/components/stable/gux-tooltip-title/gux-tooltip-title.js +2 -2
  231. package/dist/collection/components/stable/gux-truncate/gux-truncate.js +3 -3
  232. package/dist/collection/utils/dom/on-attribute-change.js +11 -0
  233. package/dist/esm/genesys-webcomponents.js +3 -3
  234. package/dist/esm/{get-valid-timezone-e3121f8f.js → get-valid-timezone-f5a3567c.js} +1 -1
  235. package/dist/esm/gux-accordion-section.entry.js +1 -1
  236. package/dist/esm/gux-accordion.entry.js +2 -2
  237. package/dist/esm/gux-action-button.entry.js +4 -4
  238. package/dist/esm/gux-action-toast-legacy.entry.js +2 -2
  239. package/dist/esm/gux-advanced-dropdown-legacy.entry.js +4 -4
  240. package/dist/esm/gux-all-row-select.entry.js +3 -3
  241. package/dist/esm/gux-announce-beta.entry.js +2 -2
  242. package/dist/esm/gux-avatar-beta.entry.js +3 -3
  243. package/dist/esm/gux-avatar-change-photo-beta.entry.js +3 -3
  244. package/dist/esm/gux-avatar-focusable-beta.entry.js +1 -1
  245. package/dist/esm/gux-avatar-group-beta.entry.js +2 -2
  246. package/dist/esm/gux-avatar-group-item-beta.entry.js +2 -2
  247. package/dist/esm/gux-avatar-overflow-beta_2.entry.js +3 -3
  248. package/dist/esm/gux-badge.entry.js +3 -3
  249. package/dist/esm/gux-blank-state.entry.js +3 -3
  250. package/dist/esm/gux-breadcrumb-item.entry.js +1 -1
  251. package/dist/esm/gux-breadcrumbs.entry.js +3 -3
  252. package/dist/esm/gux-button-multi.entry.js +4 -12
  253. package/dist/esm/gux-button-slot.entry.js +2 -2
  254. package/dist/esm/gux-button_2.entry.js +5 -5
  255. package/dist/esm/gux-calendar-beta.entry.js +2 -2
  256. package/dist/esm/gux-calendar.entry.js +3 -3
  257. package/dist/esm/gux-card.entry.js +2 -2
  258. package/dist/esm/gux-column-manager-item.entry.js +2 -2
  259. package/dist/esm/gux-column-manager.entry.js +3 -3
  260. package/dist/esm/gux-content-search.entry.js +4 -4
  261. package/dist/esm/gux-context-menu.entry.js +4 -4
  262. package/dist/esm/gux-copy-to-clipboard.entry.js +3 -3
  263. package/dist/esm/gux-create-option.entry.js +4 -4
  264. package/dist/esm/gux-cta-group.entry.js +1 -1
  265. package/dist/esm/gux-date-beta.entry.js +4 -4
  266. package/dist/esm/gux-date-time-beta.entry.js +4 -4
  267. package/dist/esm/gux-datepicker.entry.js +5 -5
  268. package/dist/esm/gux-disclosure-button-legacy.entry.js +3 -3
  269. package/dist/esm/gux-dismiss-button.entry.js +3 -3
  270. package/dist/esm/gux-dropdown-multi-tag.entry.js +2 -2
  271. package/dist/esm/gux-dropdown-multi.entry.js +5 -5
  272. package/dist/esm/gux-dropdown-option.entry.js +1 -1
  273. package/dist/esm/gux-dropdown_3.entry.js +5 -5
  274. package/dist/esm/gux-file-list-item.entry.js +70 -0
  275. package/dist/esm/gux-flag-icon-beta.entry.js +2 -2
  276. package/dist/esm/gux-flyout-menu.entry.js +2 -2
  277. package/dist/esm/gux-form-beta.entry.js +1 -1
  278. package/dist/esm/gux-form-description.entry.js +1 -1
  279. package/dist/esm/gux-form-field-checkbox-group-beta.entry.js +6 -6
  280. package/dist/esm/gux-form-field-checkbox.entry.js +4 -4
  281. package/dist/esm/gux-form-field-color.entry.js +6 -6
  282. package/dist/esm/{gux-form-field-container-3b76ab09.js → gux-form-field-container-8ca069d2.js} +1 -1
  283. package/dist/esm/gux-form-field-dropdown.entry.js +7 -7
  284. package/dist/esm/{gux-form-field-error-453cd4f0.js → gux-form-field-error-ffe2439b.js} +1 -1
  285. package/dist/esm/{gux-form-field-fieldset-container-6b73f582.js → gux-form-field-fieldset-container-afc88f04.js} +1 -1
  286. package/dist/esm/gux-form-field-file-beta.entry.js +230 -0
  287. package/dist/esm/gux-form-field-file.entry.js +6 -6
  288. package/dist/esm/gux-form-field-input-clear-button.entry.js +4 -4
  289. package/dist/esm/gux-form-field-label-indicator.entry.js +3 -3
  290. package/dist/esm/gux-form-field-number_2.entry.js +15 -15
  291. package/dist/esm/gux-form-field-phone.entry.js +11 -11
  292. package/dist/esm/gux-form-field-radio-group-beta.entry.js +8 -8
  293. package/dist/esm/gux-form-field-radio.entry.js +6 -6
  294. package/dist/esm/gux-form-field-range.entry.js +9 -9
  295. package/dist/esm/gux-form-field-search.entry.js +9 -9
  296. package/dist/esm/gux-form-field-select.entry.js +9 -9
  297. package/dist/esm/gux-form-field-text-like.entry.js +6 -6
  298. package/dist/esm/gux-form-field-textarea.entry.js +8 -8
  299. package/dist/esm/gux-form-field-time-picker.entry.js +11 -11
  300. package/dist/esm/gux-form-field-time-zone-picker.entry.js +10 -10
  301. package/dist/esm/gux-form-fieldset-heading.entry.js +1 -1
  302. package/dist/esm/gux-form-footer.entry.js +2 -2
  303. package/dist/esm/gux-form-heading.entry.js +1 -1
  304. package/dist/esm/gux-icon-tooltip-beta.entry.js +2 -2
  305. package/dist/esm/gux-icon.entry.js +3 -3
  306. package/dist/esm/gux-inline-alert.entry.js +5 -5
  307. package/dist/esm/gux-label-info-beta.entry.js +2 -2
  308. package/dist/esm/gux-link-beta.entry.js +2 -2
  309. package/dist/esm/gux-list-divider.entry.js +1 -1
  310. package/dist/esm/gux-list-item.entry.js +1 -1
  311. package/dist/esm/gux-list.entry.js +2 -2
  312. package/dist/esm/gux-listbox-multi.entry.js +4 -4
  313. package/dist/esm/gux-loading-message.entry.js +3 -3
  314. package/dist/esm/gux-menu-option.entry.js +13 -2
  315. package/dist/esm/gux-menu.entry.js +1 -1
  316. package/dist/esm/gux-modal-legacy.entry.js +2 -2
  317. package/dist/esm/gux-modal-side-panel-beta.entry.js +2 -2
  318. package/dist/esm/gux-modal.entry.js +3 -3
  319. package/dist/esm/gux-month-calendar.entry.js +2 -2
  320. package/dist/esm/gux-month-list_2.entry.js +1 -1
  321. package/dist/esm/gux-month-picker-beta.entry.js +4 -4
  322. package/dist/esm/gux-notification-toast-legacy.entry.js +2 -2
  323. package/dist/esm/gux-option-group-beta.entry.js +1 -1
  324. package/dist/esm/gux-option-icon.entry.js +1 -1
  325. package/dist/esm/gux-option-multi.entry.js +2 -2
  326. package/dist/esm/gux-page-loading-spinner.entry.js +3 -3
  327. package/dist/esm/gux-pagination-buttons-legacy_3.entry.js +2 -2
  328. package/dist/esm/gux-pagination-buttons_2.entry.js +5 -5
  329. package/dist/esm/gux-pagination-cursor.entry.js +3 -3
  330. package/dist/esm/gux-pagination-items-per-page.entry.js +3 -3
  331. package/dist/esm/gux-pagination-legacy.entry.js +2 -2
  332. package/dist/esm/gux-pagination.entry.js +3 -3
  333. package/dist/esm/gux-phone-input-beta.entry.js +4 -4
  334. package/dist/esm/gux-popover-beta.entry.js +3 -3
  335. package/dist/esm/gux-popover-list-beta.entry.js +3 -3
  336. package/dist/esm/gux-popover-list.entry.js +5 -5
  337. package/dist/esm/gux-popup.entry.js +4 -4
  338. package/dist/esm/gux-radial-loading.entry.js +4 -4
  339. package/dist/esm/gux-radial-progress.entry.js +2 -2
  340. package/dist/esm/gux-rating.entry.js +3 -3
  341. package/dist/esm/gux-rich-highlight-list-item.entry.js +3 -3
  342. package/dist/esm/gux-rich-style-list-item.entry.js +2 -2
  343. package/dist/esm/gux-rich-text-editor-action-group.entry.js +1 -1
  344. package/dist/esm/gux-rich-text-editor-action-link.entry.js +4 -4
  345. package/dist/esm/gux-rich-text-editor-action-rich-style.entry.js +4 -4
  346. package/dist/esm/gux-rich-text-editor-action-text-highlight.entry.js +4 -4
  347. package/dist/esm/gux-rich-text-editor-action.entry.js +3 -3
  348. package/dist/esm/gux-rich-text-editor-beta.entry.js +1 -1
  349. package/dist/esm/gux-rich-text-editor-list.entry.js +2 -2
  350. package/dist/esm/gux-row-select.entry.js +4 -4
  351. package/dist/esm/gux-screen-reader-beta.entry.js +2 -2
  352. package/dist/esm/gux-segmented-control-beta.entry.js +2 -2
  353. package/dist/esm/gux-segmented-control-item.entry.js +1 -1
  354. package/dist/esm/gux-selector-card-beta.entry.js +2 -2
  355. package/dist/esm/gux-selector-cards-beta.entry.js +2 -2
  356. package/dist/esm/gux-side-panel-beta.entry.js +2 -2
  357. package/dist/esm/gux-side-panel-heading.entry.js +2 -2
  358. package/dist/esm/gux-simple-toast-legacy.entry.js +2 -2
  359. package/dist/esm/gux-skip-navigation-item.entry.js +2 -2
  360. package/dist/esm/gux-skip-navigation-list.entry.js +4 -4
  361. package/dist/esm/gux-sort-control.entry.js +6 -6
  362. package/dist/esm/gux-submenu.entry.js +1 -1
  363. package/dist/esm/gux-switch-item.entry.js +1 -1
  364. package/dist/esm/gux-switch-legacy.entry.js +2 -2
  365. package/dist/esm/gux-tab-advanced-list.entry.js +7 -7
  366. package/dist/esm/gux-tab-advanced-panel.entry.js +2 -2
  367. package/dist/esm/gux-tab-advanced.entry.js +5 -5
  368. package/dist/esm/gux-tab-list.entry.js +5 -5
  369. package/dist/esm/gux-tab-panel.entry.js +2 -2
  370. package/dist/esm/gux-tab.entry.js +3 -3
  371. package/dist/esm/gux-table-select-menu.entry.js +3 -3
  372. package/dist/esm/gux-table-toolbar-action.entry.js +4 -4
  373. package/dist/esm/gux-table-toolbar-custom-action.entry.js +3 -3
  374. package/dist/esm/gux-table-toolbar-menu-button.entry.js +5 -5
  375. package/dist/esm/gux-table-toolbar.entry.js +6 -6
  376. package/dist/esm/gux-table.entry.js +4 -4
  377. package/dist/esm/gux-tabs-advanced.entry.js +3 -3
  378. package/dist/esm/gux-tabs.entry.js +3 -3
  379. package/dist/esm/gux-tag.entry.js +4 -4
  380. package/dist/esm/gux-text-highlight.entry.js +2 -2
  381. package/dist/esm/gux-time-beta.entry.js +4 -4
  382. package/dist/esm/gux-time-picker.entry.js +20 -6
  383. package/dist/esm/gux-time-zone-beta.entry.js +3 -3
  384. package/dist/esm/gux-time-zone-picker-beta.entry.js +3 -3
  385. package/dist/esm/gux-toast.entry.js +4 -4
  386. package/dist/esm/gux-toggle-slider.entry.js +3 -3
  387. package/dist/esm/gux-toggle.entry.js +5 -5
  388. package/dist/esm/gux-tooltip-base-beta_2.entry.js +2 -2
  389. package/dist/esm/gux-tooltip-title.entry.js +5 -5
  390. package/dist/esm/{gux-tooltip.entry.js → gux-tooltip_2.entry.js} +85 -5
  391. package/dist/esm/{index-6fa3d266.js → index-2b763ad6.js} +1 -1
  392. package/dist/esm/{index-feb7be20.js → index-46ac98b8.js} +53 -21
  393. package/dist/esm/loader.js +3 -3
  394. package/dist/esm/{on-attribute-change-f42eabee.js → on-attribute-change-33919964.js} +12 -1
  395. package/dist/esm/{on-click-outside-4688e1f9.js → on-click-outside-fe48b6ef.js} +1 -1
  396. package/dist/esm/{on-mutation-0160ea8e.js → on-mutation-c5880cd8.js} +1 -1
  397. package/dist/esm/{on-resize-324dd7f4.js → on-resize-6439d074.js} +1 -1
  398. package/dist/esm/{usage-9c330580.js → usage-90745dba.js} +1 -1
  399. package/dist/genesys-webcomponents/genesys-webcomponents-legacy.css +1 -1
  400. package/dist/genesys-webcomponents/genesys-webcomponents.css +2 -2
  401. package/dist/genesys-webcomponents/genesys-webcomponents.esm.js +1 -1
  402. package/dist/genesys-webcomponents/i18n/genesys-webcomponents.i18n.en.json +1 -1
  403. package/dist/genesys-webcomponents/{p-ac44c7e6.entry.js → p-01840a79.entry.js} +1 -1
  404. package/dist/genesys-webcomponents/{p-8dfae62c.entry.js → p-03b11a96.entry.js} +1 -1
  405. package/dist/genesys-webcomponents/{p-a3da8a2d.entry.js → p-044806d5.entry.js} +1 -1
  406. package/dist/genesys-webcomponents/{p-14579d6d.entry.js → p-084b7a5d.entry.js} +1 -1
  407. package/dist/genesys-webcomponents/p-086c5088.js +2 -0
  408. package/dist/genesys-webcomponents/{p-3aa566e0.entry.js → p-08f0fadb.entry.js} +1 -1
  409. package/dist/genesys-webcomponents/{p-1ef901bf.entry.js → p-09070e6d.entry.js} +1 -1
  410. package/dist/genesys-webcomponents/{p-5039353e.entry.js → p-09396a6a.entry.js} +1 -1
  411. package/dist/genesys-webcomponents/{p-bed8151a.entry.js → p-095ed50f.entry.js} +1 -1
  412. package/dist/genesys-webcomponents/{p-8c3fc3e0.entry.js → p-0ac5a3fd.entry.js} +1 -1
  413. package/dist/genesys-webcomponents/{p-5256b27c.entry.js → p-0afd1042.entry.js} +1 -1
  414. package/dist/genesys-webcomponents/{p-e7cf6c6d.entry.js → p-0b3b593d.entry.js} +1 -1
  415. package/dist/genesys-webcomponents/{p-069f2fe2.entry.js → p-0c0154d8.entry.js} +1 -1
  416. package/dist/genesys-webcomponents/{p-003b43e0.entry.js → p-0c7ebabe.entry.js} +1 -1
  417. package/dist/genesys-webcomponents/{p-c5d5e5bd.entry.js → p-0ec90cf0.entry.js} +1 -1
  418. package/dist/genesys-webcomponents/{p-ed5ea22d.entry.js → p-0f8cb007.entry.js} +1 -1
  419. package/dist/genesys-webcomponents/{p-5d251ef1.entry.js → p-0ffe238e.entry.js} +1 -1
  420. package/dist/genesys-webcomponents/{p-85dcd3da.entry.js → p-15c2fefa.entry.js} +1 -1
  421. package/dist/genesys-webcomponents/{p-04e3c81a.entry.js → p-165784d6.entry.js} +1 -1
  422. package/dist/genesys-webcomponents/{p-00757986.entry.js → p-168d8e84.entry.js} +1 -1
  423. package/dist/genesys-webcomponents/{p-54f0f30d.entry.js → p-16cafd12.entry.js} +1 -1
  424. package/dist/genesys-webcomponents/{p-e1c24516.entry.js → p-170ba93b.entry.js} +1 -1
  425. package/dist/genesys-webcomponents/{p-47733161.entry.js → p-17aef1a2.entry.js} +1 -1
  426. package/dist/genesys-webcomponents/p-1806cd8d.entry.js +1 -0
  427. package/dist/genesys-webcomponents/{p-2fd41f66.entry.js → p-199db589.entry.js} +1 -1
  428. package/dist/genesys-webcomponents/{p-1e79d2a8.entry.js → p-1a9a6e98.entry.js} +1 -1
  429. package/dist/genesys-webcomponents/{p-aa18eb74.entry.js → p-1d260935.entry.js} +1 -1
  430. package/dist/genesys-webcomponents/{p-5e79093f.js → p-1f6c052d.js} +1 -1
  431. package/dist/genesys-webcomponents/{p-7485e1ef.entry.js → p-2251dbdf.entry.js} +1 -1
  432. package/dist/genesys-webcomponents/{p-73e6ab30.entry.js → p-23cfd25f.entry.js} +1 -1
  433. package/dist/genesys-webcomponents/{p-96f5d164.entry.js → p-247a62ea.entry.js} +1 -1
  434. package/dist/genesys-webcomponents/{p-6aaf185d.entry.js → p-262c2378.entry.js} +1 -1
  435. package/dist/genesys-webcomponents/{p-fcaa82b7.entry.js → p-26524dd6.entry.js} +1 -1
  436. package/dist/genesys-webcomponents/{p-2dfd02ff.entry.js → p-2687de63.entry.js} +1 -1
  437. package/dist/genesys-webcomponents/{p-dc3580c6.entry.js → p-288415b7.entry.js} +1 -1
  438. package/dist/genesys-webcomponents/{p-98deb610.entry.js → p-28e0a88d.entry.js} +1 -1
  439. package/dist/genesys-webcomponents/{p-c67267ed.entry.js → p-29f74158.entry.js} +1 -1
  440. package/dist/genesys-webcomponents/{p-eb7cdf7a.entry.js → p-2cc9ae49.entry.js} +1 -1
  441. package/dist/genesys-webcomponents/{p-7046c178.entry.js → p-2ea036e5.entry.js} +1 -1
  442. package/dist/genesys-webcomponents/{p-83f99839.entry.js → p-2f584ed2.entry.js} +1 -1
  443. package/dist/genesys-webcomponents/{p-96ac9919.entry.js → p-32a937ab.entry.js} +1 -1
  444. package/dist/genesys-webcomponents/{p-c5bd2bd4.entry.js → p-333b1ff3.entry.js} +1 -1
  445. package/dist/genesys-webcomponents/{p-ef4db655.entry.js → p-33fa6cc1.entry.js} +1 -1
  446. package/dist/genesys-webcomponents/{p-9c02a360.entry.js → p-35dba935.entry.js} +1 -1
  447. package/dist/genesys-webcomponents/{p-dd7be042.entry.js → p-372aa57f.entry.js} +1 -1
  448. package/dist/genesys-webcomponents/{p-5c58be88.entry.js → p-376ef4e1.entry.js} +1 -1
  449. package/dist/genesys-webcomponents/p-389f1672.entry.js +1 -0
  450. package/dist/genesys-webcomponents/p-39b41b4b.entry.js +1 -0
  451. package/dist/genesys-webcomponents/{p-d118c83a.entry.js → p-39e10580.entry.js} +1 -1
  452. package/dist/genesys-webcomponents/{p-ca9119d1.entry.js → p-3aed72b9.entry.js} +1 -1
  453. package/dist/genesys-webcomponents/{p-8cf7c686.entry.js → p-3aef17ca.entry.js} +1 -1
  454. package/dist/genesys-webcomponents/{p-5b58c6f3.entry.js → p-3cccde7d.entry.js} +1 -1
  455. package/dist/genesys-webcomponents/{p-16d31feb.entry.js → p-3cd9f2e4.entry.js} +1 -1
  456. package/dist/genesys-webcomponents/{p-c331bd68.entry.js → p-40fcfeff.entry.js} +1 -1
  457. package/dist/genesys-webcomponents/p-410dccb6.entry.js +1 -0
  458. package/dist/genesys-webcomponents/{p-f2fc635a.entry.js → p-420f4f78.entry.js} +1 -1
  459. package/dist/genesys-webcomponents/{p-387905bb.entry.js → p-461e6b77.entry.js} +1 -1
  460. package/dist/genesys-webcomponents/{p-e71768a0.entry.js → p-46ef32f5.entry.js} +1 -1
  461. package/dist/genesys-webcomponents/p-4bf315a6.entry.js +1 -0
  462. package/dist/genesys-webcomponents/{p-aa1785d1.entry.js → p-4c4155d0.entry.js} +1 -1
  463. package/dist/genesys-webcomponents/{p-17c48a40.js → p-4cb43a74.js} +1 -1
  464. package/dist/genesys-webcomponents/{p-eed957f6.entry.js → p-4ec13223.entry.js} +1 -1
  465. package/dist/genesys-webcomponents/{p-527eaeda.entry.js → p-5124f2ba.entry.js} +1 -1
  466. package/dist/genesys-webcomponents/{p-68f329b8.entry.js → p-52b91d0f.entry.js} +1 -1
  467. package/dist/genesys-webcomponents/{p-856928e1.entry.js → p-53d5a19f.entry.js} +1 -1
  468. package/dist/genesys-webcomponents/{p-028c5630.entry.js → p-5424b3cf.entry.js} +1 -1
  469. package/dist/genesys-webcomponents/{p-0d4b33a8.entry.js → p-54589c94.entry.js} +1 -1
  470. package/dist/genesys-webcomponents/{p-f6715cb6.entry.js → p-54fabb39.entry.js} +1 -1
  471. package/dist/genesys-webcomponents/{p-8051ad60.entry.js → p-5592e014.entry.js} +1 -1
  472. package/dist/genesys-webcomponents/{p-66645e5c.entry.js → p-5665e195.entry.js} +1 -1
  473. package/dist/genesys-webcomponents/p-592bd118.entry.js +1 -0
  474. package/dist/genesys-webcomponents/p-5963e6fb.entry.js +1 -0
  475. package/dist/genesys-webcomponents/{p-c8c39016.entry.js → p-5c528b0d.entry.js} +1 -1
  476. package/dist/genesys-webcomponents/{p-dcc4fd5f.entry.js → p-5fe834b1.entry.js} +1 -1
  477. package/dist/genesys-webcomponents/{p-dbe8e5ae.entry.js → p-60af37ab.entry.js} +1 -1
  478. package/dist/genesys-webcomponents/{p-7e24081f.entry.js → p-618fe284.entry.js} +1 -1
  479. package/dist/genesys-webcomponents/{p-89ae91f1.entry.js → p-61b371bc.entry.js} +1 -1
  480. package/dist/genesys-webcomponents/{p-ab3a109e.entry.js → p-643ca56a.entry.js} +1 -1
  481. package/dist/genesys-webcomponents/{p-87e9bf31.entry.js → p-64a81e13.entry.js} +1 -1
  482. package/dist/genesys-webcomponents/p-68ab9138.entry.js +1 -0
  483. package/dist/genesys-webcomponents/{p-085b223b.entry.js → p-6a2f8196.entry.js} +1 -1
  484. package/dist/genesys-webcomponents/{p-3bcaf358.entry.js → p-6a9cf0ed.entry.js} +1 -1
  485. package/dist/genesys-webcomponents/p-6b12dd16.js +1 -0
  486. package/dist/genesys-webcomponents/{p-4e075626.entry.js → p-6d6f20a1.entry.js} +1 -1
  487. package/dist/genesys-webcomponents/{p-18cdb18a.entry.js → p-6e20bf44.entry.js} +1 -1
  488. package/dist/genesys-webcomponents/{p-11253567.entry.js → p-6e65679b.entry.js} +1 -1
  489. package/dist/genesys-webcomponents/{p-f23667e9.entry.js → p-6f1d90ed.entry.js} +1 -1
  490. package/dist/genesys-webcomponents/{p-c570c07d.entry.js → p-70cbae65.entry.js} +1 -1
  491. package/dist/genesys-webcomponents/{p-d3912e19.entry.js → p-74c877eb.entry.js} +1 -1
  492. package/dist/genesys-webcomponents/{p-c448e6d2.entry.js → p-753e548f.entry.js} +1 -1
  493. package/dist/genesys-webcomponents/{p-6edebe6b.entry.js → p-76f34007.entry.js} +1 -1
  494. package/dist/genesys-webcomponents/{p-9bbb057f.entry.js → p-7726f462.entry.js} +1 -1
  495. package/dist/genesys-webcomponents/{p-9a12e6e3.entry.js → p-77d97c02.entry.js} +1 -1
  496. package/dist/genesys-webcomponents/{p-2d20e292.entry.js → p-78af46c6.entry.js} +1 -1
  497. package/dist/genesys-webcomponents/{p-cdd09836.entry.js → p-78bfd1d4.entry.js} +1 -1
  498. package/dist/genesys-webcomponents/{p-b9c92fbb.entry.js → p-79e131ec.entry.js} +1 -1
  499. package/dist/genesys-webcomponents/{p-a9b2a651.entry.js → p-7a456ee1.entry.js} +1 -1
  500. package/dist/genesys-webcomponents/{p-25cdb2b7.entry.js → p-7ce9947c.entry.js} +1 -1
  501. package/dist/genesys-webcomponents/{p-f333506d.entry.js → p-7f7bbd18.entry.js} +1 -1
  502. package/dist/genesys-webcomponents/{p-0b5b039c.entry.js → p-8021a71b.entry.js} +1 -1
  503. package/dist/genesys-webcomponents/{p-6f7a1179.entry.js → p-80a97fc8.entry.js} +1 -1
  504. package/dist/genesys-webcomponents/{p-53f8fb9c.entry.js → p-82c692a8.entry.js} +1 -1
  505. package/dist/genesys-webcomponents/{p-a598a1c2.entry.js → p-83a14eb8.entry.js} +1 -1
  506. package/dist/genesys-webcomponents/{p-1b0e854d.entry.js → p-85f0b49b.entry.js} +1 -1
  507. package/dist/genesys-webcomponents/{p-df273ab8.entry.js → p-8904cc25.entry.js} +1 -1
  508. package/dist/genesys-webcomponents/{p-cc386a21.entry.js → p-8af91daf.entry.js} +1 -1
  509. package/dist/genesys-webcomponents/{p-4200fb31.entry.js → p-91ed46d0.entry.js} +1 -1
  510. package/dist/genesys-webcomponents/{p-3db21bf3.entry.js → p-923da1ea.entry.js} +1 -1
  511. package/dist/genesys-webcomponents/{p-fb2e15f5.entry.js → p-92fd14f2.entry.js} +1 -1
  512. package/dist/genesys-webcomponents/p-9457e274.entry.js +1 -0
  513. package/dist/genesys-webcomponents/{p-4f1759d5.entry.js → p-9514c470.entry.js} +1 -1
  514. package/dist/genesys-webcomponents/{p-624f26b2.entry.js → p-95fa3304.entry.js} +1 -1
  515. package/dist/genesys-webcomponents/{p-3c729636.entry.js → p-967dc012.entry.js} +1 -1
  516. package/dist/genesys-webcomponents/p-97c7e77e.entry.js +1 -0
  517. package/dist/genesys-webcomponents/{p-14a6dd0f.entry.js → p-9955bccf.entry.js} +1 -1
  518. package/dist/genesys-webcomponents/{p-9e70db3b.entry.js → p-9c4542ea.entry.js} +1 -1
  519. package/dist/genesys-webcomponents/{p-40daa702.entry.js → p-9e003354.entry.js} +1 -1
  520. package/dist/genesys-webcomponents/{p-045d724a.js → p-9e1bda51.js} +1 -1
  521. package/dist/genesys-webcomponents/{p-64791f10.entry.js → p-a15615d1.entry.js} +1 -1
  522. package/dist/genesys-webcomponents/{p-12d08ca8.entry.js → p-a5c5c091.entry.js} +1 -1
  523. package/dist/genesys-webcomponents/{p-0706aebd.js → p-a6c36b2c.js} +1 -1
  524. package/dist/genesys-webcomponents/{p-50ee8b09.entry.js → p-a7883819.entry.js} +1 -1
  525. package/dist/genesys-webcomponents/{p-63bfd1fa.entry.js → p-a80e11d7.entry.js} +1 -1
  526. package/dist/genesys-webcomponents/p-a94a0765.entry.js +1 -0
  527. package/dist/genesys-webcomponents/{p-f2c85451.entry.js → p-a959521e.entry.js} +1 -1
  528. package/dist/genesys-webcomponents/{p-4b423804.js → p-aa79d816.js} +1 -1
  529. package/dist/genesys-webcomponents/p-ab852616.entry.js +1 -0
  530. package/dist/genesys-webcomponents/{p-4099213f.entry.js → p-ace00884.entry.js} +1 -1
  531. package/dist/genesys-webcomponents/{p-dbc7abfb.entry.js → p-b0473145.entry.js} +1 -1
  532. package/dist/genesys-webcomponents/{p-21a6fe30.entry.js → p-b1a020ce.entry.js} +1 -1
  533. package/dist/genesys-webcomponents/{p-162ff53e.entry.js → p-b2312efb.entry.js} +1 -1
  534. package/dist/genesys-webcomponents/{p-e0cc5f64.entry.js → p-b2f79866.entry.js} +1 -1
  535. package/dist/genesys-webcomponents/{p-2f0f8e48.entry.js → p-b63065ba.entry.js} +1 -1
  536. package/dist/genesys-webcomponents/{p-64623fe4.entry.js → p-b9f84c85.entry.js} +1 -1
  537. package/dist/genesys-webcomponents/{p-4f362e88.js → p-bc955f73.js} +1 -1
  538. package/dist/genesys-webcomponents/{p-336d443a.entry.js → p-bd149a11.entry.js} +1 -1
  539. package/dist/genesys-webcomponents/p-be9e61d0.entry.js +1 -0
  540. package/dist/genesys-webcomponents/{p-21ee2e71.entry.js → p-bf9236fc.entry.js} +1 -1
  541. package/dist/genesys-webcomponents/{p-fc0be42d.entry.js → p-c462a7a4.entry.js} +1 -1
  542. package/dist/genesys-webcomponents/{p-6a6236a2.entry.js → p-c68ef8ef.entry.js} +1 -1
  543. package/dist/genesys-webcomponents/{p-ae7388b9.entry.js → p-cee0814e.entry.js} +1 -1
  544. package/dist/genesys-webcomponents/{p-6b26aef0.entry.js → p-d06fa0fa.entry.js} +2 -2
  545. package/dist/genesys-webcomponents/{p-2a2faa7d.entry.js → p-d49baa9e.entry.js} +1 -1
  546. package/dist/genesys-webcomponents/{p-5a53955e.entry.js → p-da46105c.entry.js} +1 -1
  547. package/dist/genesys-webcomponents/{p-64aff8dd.entry.js → p-da7bc9e8.entry.js} +1 -1
  548. package/dist/genesys-webcomponents/p-db24dee1.entry.js +1 -0
  549. package/dist/genesys-webcomponents/{p-81d0354b.entry.js → p-dcbc2b4d.entry.js} +1 -1
  550. package/dist/genesys-webcomponents/{p-1462a1d1.entry.js → p-dd9a0cf6.entry.js} +1 -1
  551. package/dist/genesys-webcomponents/{p-724e155b.entry.js → p-ddadda8a.entry.js} +1 -1
  552. package/dist/genesys-webcomponents/{p-3c71b54c.entry.js → p-dfc30bb0.entry.js} +1 -1
  553. package/dist/genesys-webcomponents/{p-f4a8d565.js → p-e07238b5.js} +1 -1
  554. package/dist/genesys-webcomponents/{p-a43e0510.entry.js → p-e432873c.entry.js} +1 -1
  555. package/dist/genesys-webcomponents/p-e52514cc.entry.js +1 -0
  556. package/dist/genesys-webcomponents/{p-544633db.entry.js → p-ec6fcfb7.entry.js} +1 -1
  557. package/dist/genesys-webcomponents/{p-a64fc44d.entry.js → p-eed18f9b.entry.js} +1 -1
  558. package/dist/genesys-webcomponents/{p-b1a44b54.entry.js → p-f30ea4c7.entry.js} +1 -1
  559. package/dist/genesys-webcomponents/{p-d5b15a1d.entry.js → p-f688a587.entry.js} +1 -1
  560. package/dist/genesys-webcomponents/{p-bc5a89d8.js → p-f75fe956.js} +1 -1
  561. package/dist/genesys-webcomponents/{p-f16a86aa.entry.js → p-f88537e3.entry.js} +1 -1
  562. package/dist/genesys-webcomponents/{p-1d9a9724.js → p-fbf14218.js} +1 -1
  563. package/dist/genesys-webcomponents/p-fc6bd548.entry.js +1 -0
  564. package/dist/genesys-webcomponents/{p-4afd2679.entry.js → p-fc8d3f20.entry.js} +1 -1
  565. package/dist/genesys-webcomponents/{p-0f4f8045.entry.js → p-fdb24fc1.entry.js} +1 -1
  566. package/dist/genesys-webcomponents/p-fe783040.entry.js +1 -0
  567. package/dist/stencil-wrapper.js +1 -1
  568. package/dist/types/components/stable/gux-flyout-menu/gux-menu/gux-menu-option/gux-menu-option.d.ts +2 -0
  569. package/dist/types/components/stable/gux-form-field/components/gux-form-field-file-beta/components/gux-file-list-item/gux-file-list-item.d.ts +15 -0
  570. package/dist/types/components/stable/gux-form-field/components/gux-form-field-file-beta/gux-form-field-file.d.ts +49 -0
  571. package/dist/types/components/stable/gux-time-picker/gux-time-picker.d.ts +2 -0
  572. package/dist/types/components.d.ts +60 -0
  573. package/dist/types/stencil-wrapper.d.ts +1 -1
  574. package/dist/types/utils/dom/on-attribute-change.d.ts +1 -0
  575. package/package.json +1 -1
  576. package/dist/cjs/gux-truncate.cjs.entry.js +0 -87
  577. package/dist/esm/gux-truncate.entry.js +0 -83
  578. package/dist/genesys-webcomponents/p-0a293f2f.entry.js +0 -1
  579. package/dist/genesys-webcomponents/p-149ed4f3.entry.js +0 -1
  580. package/dist/genesys-webcomponents/p-1e3d99b5.entry.js +0 -1
  581. package/dist/genesys-webcomponents/p-2d930b2b.entry.js +0 -1
  582. package/dist/genesys-webcomponents/p-2ecdc52f.entry.js +0 -1
  583. package/dist/genesys-webcomponents/p-48dcd676.entry.js +0 -1
  584. package/dist/genesys-webcomponents/p-5e250c17.entry.js +0 -1
  585. package/dist/genesys-webcomponents/p-75bf1516.entry.js +0 -1
  586. package/dist/genesys-webcomponents/p-78cb19b9.js +0 -2
  587. package/dist/genesys-webcomponents/p-bb9d5fa2.entry.js +0 -1
  588. package/dist/genesys-webcomponents/p-bc8a9aec.entry.js +0 -1
  589. package/dist/genesys-webcomponents/p-be8a9af0.entry.js +0 -1
  590. package/dist/genesys-webcomponents/p-c9d9a6b6.entry.js +0 -1
  591. package/dist/genesys-webcomponents/p-d5bcd405.entry.js +0 -1
  592. package/dist/genesys-webcomponents/p-e12e6140.entry.js +0 -1
  593. package/dist/genesys-webcomponents/p-e5b1cffc.js +0 -1
  594. package/dist/genesys-webcomponents/p-eca569d4.entry.js +0 -1
  595. package/dist/genesys-webcomponents/p-fc49b13a.entry.js +0 -1
@@ -1 +1 @@
1
- import{r as o,c as a,h as t,g as e}from"./p-78cb19b9.js";import{b as g}from"./p-4b423804.js";import{t as r}from"./p-4f362e88.js";import"./p-4202e9f2.js";const u={tag:"tag with label: {label}","tag-disabled":"disabled tag with label: {label}","remove-tag":"Remove tag with label: {label}"},c=class{constructor(t){o(this,t),this.guxdelete=a(this,"guxdelete",7),this.accent="default",this.disabled=!1,this.removable=!1,this.size="small",this.emphasis="bold",this.label=void 0}onKeyDown(o){switch(o.key){case"Backspace":case"Delete":this.removeTag()}}removeTag(){!this.disabled&&this.removable&&this.guxdelete.emit()}onSlotChange(o){const a=o.composedPath()[0].assignedNodes();this.label=a.map((o=>o.textContent.trim())).join("")}renderTagTitle(){return t("gux-tooltip-title",null,t("span",null,t("slot",{"aria-hidden":"true",onSlotchange:this.onSlotChange.bind(this)})))}renderSrText(){return t("div",{class:"gux-sr-only"},this.i18n(this.disabled?"tag-disabled":"tag",{label:this.label}))}renderRemoveButton(){if(this.removable)return t("button",{class:"gux-tag-remove-button",onClick:this.removeTag.bind(this),type:"button",disabled:this.disabled},t("gux-icon",{class:"gux-tag-remove-icon","icon-name":"fa/xmark-large-regular","screenreader-text":this.i18n("remove-tag",{label:this.label})}))}componentWillLoad(){r(this.root,{variant:this.removable?"removable":"permenant"})}async componentWillRender(){this.i18n=await g(this.root,u)}render(){return t("div",{key:"ee01d13be264469127b2d61714207e9b754b986f",class:{"gux-tag":!0,[`gux-accent-${this.accent}`]:!0,"gux-disabled":this.disabled,[`gux-size-${this.size}`]:!0,[`gux-emphasis-${this.emphasis}`]:!0},"aria-disabled":this.disabled.toString()},this.renderTagTitle(),this.renderSrText(),this.renderRemoveButton())}get root(){return e(this)}};c.style=":host{display:inline-block;border-radius:var(--gse-ui-tag-borderRadius)}.gux-tag{display:flex;flex-direction:row;flex-wrap:nowrap;gap:var(--gse-ui-tag-removable-gap);place-content:stretch flex-start;align-items:center;block-size:var(--gse-ui-tag-small-height);padding:var(--gse-ui-tag-padding);font-family:var(--gse-ui-tag-textSmall-fontFamily);font-size:var(--gse-ui-tag-textSmall-fontSize);font-weight:var(--gse-ui-tag-textSmall-fontWeight);line-height:var(--gse-ui-tag-textSmall-lineHeight);color:var(--gse-ui-tag-default-bold-foregroundColor);background-color:var(--gse-ui-tag-default-bold-backgroundColor);border-radius:var(--gse-ui-tag-borderRadius)}.gux-tag.gux-size-large{block-size:var(--gse-ui-tag-large-height);font-family:var(--gse-ui-tag-textLarge-fontFamily);font-size:var(--gse-ui-tag-textLarge-fontSize);font-weight:var(--gse-ui-tag-textLarge-fontWeight);line-height:var(--gse-ui-tag-textLarge-lineHeight)}.gux-tag.gux-disabled{position:relative;user-select:none;opacity:var(--gse-ui-tag-disabled-opacity)}.gux-tag gux-tooltip-title{white-space:nowrap;cursor:default}.gux-tag gux-tooltip-title ::slotted(gux-icon){font-size:var(--gse-ui-tag-button-size)}.gux-tag .gux-sr-only:not(:focus):not(:active){position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);clip-path:inset(50%);white-space:nowrap}.gux-tag .gux-tag-remove-button{all:unset;display:flex;place-content:center center;align-items:center}.gux-tag .gux-tag-remove-button:not(:disabled):hover{cursor:pointer}.gux-tag .gux-tag-remove-button .gux-tag-remove-icon{inline-size:var(--gse-ui-tag-button-size);block-size:var(--gse-ui-tag-button-size);margin-inline-end:-4px}.gux-tag .gux-tag-remove-button:focus-within .gux-tag-remove-icon{border-radius:var(--gse-semantic-focusOutline-sm-borderRadius);outline:var(--gse-semantic-focusOutline-sm-borderWidth) solid var(--gse-ui-color-focus)}.gux-tag.gux-accent-default{color:var(--gse-ui-tag-default-bold-foregroundColor);background-color:var(--gse-ui-tag-default-bold-backgroundColor)}.gux-tag.gux-accent-default.gux-emphasis-subtle{color:var(--gse-ui-tag-default-subtle-foregroundColor);background-color:var(--gse-ui-tag-default-subtle-backgroundColor)}.gux-tag.gux-accent-1{color:var(--gse-ui-tag-accent1-bold-foregroundColor);background-color:var(--gse-ui-tag-accent1-bold-backgroundColor)}.gux-tag.gux-accent-1.gux-emphasis-subtle{color:var(--gse-ui-tag-accent1-subtle-foregroundColor);background-color:var(--gse-ui-tag-accent1-subtle-backgroundColor)}.gux-tag.gux-accent-2{color:var(--gse-ui-tag-accent2-bold-foregroundColor);background-color:var(--gse-ui-tag-accent2-bold-backgroundColor)}.gux-tag.gux-accent-2.gux-emphasis-subtle{color:var(--gse-ui-tag-accent2-subtle-foregroundColor);background-color:var(--gse-ui-tag-accent2-subtle-backgroundColor)}.gux-tag.gux-accent-3{color:var(--gse-ui-tag-accent3-bold-foregroundColor);background-color:var(--gse-ui-tag-accent3-bold-backgroundColor)}.gux-tag.gux-accent-3.gux-emphasis-subtle{color:var(--gse-ui-tag-accent3-subtle-foregroundColor);background-color:var(--gse-ui-tag-accent3-subtle-backgroundColor)}.gux-tag.gux-accent-4{color:var(--gse-ui-tag-accent4-bold-foregroundColor);background-color:var(--gse-ui-tag-accent4-bold-backgroundColor)}.gux-tag.gux-accent-4.gux-emphasis-subtle{color:var(--gse-ui-tag-accent4-subtle-foregroundColor);background-color:var(--gse-ui-tag-accent4-subtle-backgroundColor)}.gux-tag.gux-accent-5{color:var(--gse-ui-tag-accent5-bold-foregroundColor);background-color:var(--gse-ui-tag-accent5-bold-backgroundColor)}.gux-tag.gux-accent-5.gux-emphasis-subtle{color:var(--gse-ui-tag-accent5-subtle-foregroundColor);background-color:var(--gse-ui-tag-accent5-subtle-backgroundColor)}.gux-tag.gux-accent-6{color:var(--gse-ui-tag-accent6-bold-foregroundColor);background-color:var(--gse-ui-tag-accent6-bold-backgroundColor)}.gux-tag.gux-accent-6.gux-emphasis-subtle{color:var(--gse-ui-tag-accent6-subtle-foregroundColor);background-color:var(--gse-ui-tag-accent6-subtle-backgroundColor)}.gux-tag.gux-accent-7{color:var(--gse-ui-tag-accent7-bold-foregroundColor);background-color:var(--gse-ui-tag-accent7-bold-backgroundColor)}.gux-tag.gux-accent-7.gux-emphasis-subtle{color:var(--gse-ui-tag-accent7-subtle-foregroundColor);background-color:var(--gse-ui-tag-accent7-subtle-backgroundColor)}.gux-tag.gux-accent-8{color:var(--gse-ui-tag-accent8-bold-foregroundColor);background-color:var(--gse-ui-tag-accent8-bold-backgroundColor)}.gux-tag.gux-accent-8.gux-emphasis-subtle{color:var(--gse-ui-tag-accent8-subtle-foregroundColor);background-color:var(--gse-ui-tag-accent8-subtle-backgroundColor)}.gux-tag.gux-accent-9{color:var(--gse-ui-tag-accent9-bold-foregroundColor);background-color:var(--gse-ui-tag-accent9-bold-backgroundColor)}.gux-tag.gux-accent-9.gux-emphasis-subtle{color:var(--gse-ui-tag-accent9-subtle-foregroundColor);background-color:var(--gse-ui-tag-accent9-subtle-backgroundColor)}.gux-tag.gux-accent-10{color:var(--gse-ui-tag-accent10-bold-foregroundColor);background-color:var(--gse-ui-tag-accent10-bold-backgroundColor)}.gux-tag.gux-accent-10.gux-emphasis-subtle{color:var(--gse-ui-tag-accent10-subtle-foregroundColor);background-color:var(--gse-ui-tag-accent10-subtle-backgroundColor)}.gux-tag.gux-accent-inherit{color:inherit;background-color:inherit}";export{c as gux_tag}
1
+ import{r as o,c as a,h as t,g as e}from"./p-086c5088.js";import{b as g}from"./p-aa79d816.js";import{t as r}from"./p-bc955f73.js";import"./p-4202e9f2.js";const u={tag:"tag with label: {label}","tag-disabled":"disabled tag with label: {label}","remove-tag":"Remove tag with label: {label}"},c=class{constructor(t){o(this,t),this.guxdelete=a(this,"guxdelete",7),this.accent="default",this.disabled=!1,this.removable=!1,this.size="small",this.emphasis="bold",this.label=void 0}onKeyDown(o){switch(o.key){case"Backspace":case"Delete":this.removeTag()}}removeTag(){!this.disabled&&this.removable&&this.guxdelete.emit()}onSlotChange(o){const a=o.composedPath()[0].assignedNodes();this.label=a.map((o=>o.textContent.trim())).join("")}renderTagTitle(){return t("gux-tooltip-title",null,t("span",null,t("slot",{"aria-hidden":"true",onSlotchange:this.onSlotChange.bind(this)})))}renderSrText(){return t("div",{class:"gux-sr-only"},this.i18n(this.disabled?"tag-disabled":"tag",{label:this.label}))}renderRemoveButton(){if(this.removable)return t("button",{class:"gux-tag-remove-button",onClick:this.removeTag.bind(this),type:"button",disabled:this.disabled},t("gux-icon",{class:"gux-tag-remove-icon","icon-name":"fa/xmark-large-regular","screenreader-text":this.i18n("remove-tag",{label:this.label})}))}componentWillLoad(){r(this.root,{variant:this.removable?"removable":"permenant"})}async componentWillRender(){this.i18n=await g(this.root,u)}render(){return t("div",{key:"73621e4155e60f6d2b7e2175d706301efa35247a",class:{"gux-tag":!0,[`gux-accent-${this.accent}`]:!0,"gux-disabled":this.disabled,[`gux-size-${this.size}`]:!0,[`gux-emphasis-${this.emphasis}`]:!0},"aria-disabled":this.disabled.toString()},this.renderTagTitle(),this.renderSrText(),this.renderRemoveButton())}get root(){return e(this)}};c.style=":host{display:inline-block;border-radius:var(--gse-ui-tag-borderRadius)}.gux-tag{display:flex;flex-direction:row;flex-wrap:nowrap;gap:var(--gse-ui-tag-removable-gap);place-content:stretch flex-start;align-items:center;block-size:var(--gse-ui-tag-small-height);padding:var(--gse-ui-tag-padding);font-family:var(--gse-ui-tag-textSmall-fontFamily);font-size:var(--gse-ui-tag-textSmall-fontSize);font-weight:var(--gse-ui-tag-textSmall-fontWeight);line-height:var(--gse-ui-tag-textSmall-lineHeight);color:var(--gse-ui-tag-default-bold-foregroundColor);background-color:var(--gse-ui-tag-default-bold-backgroundColor);border-radius:var(--gse-ui-tag-borderRadius)}.gux-tag.gux-size-large{block-size:var(--gse-ui-tag-large-height);font-family:var(--gse-ui-tag-textLarge-fontFamily);font-size:var(--gse-ui-tag-textLarge-fontSize);font-weight:var(--gse-ui-tag-textLarge-fontWeight);line-height:var(--gse-ui-tag-textLarge-lineHeight)}.gux-tag.gux-disabled{position:relative;user-select:none;opacity:var(--gse-ui-tag-disabled-opacity)}.gux-tag gux-tooltip-title{white-space:nowrap;cursor:default}.gux-tag gux-tooltip-title ::slotted(gux-icon){font-size:var(--gse-ui-tag-button-size)}.gux-tag .gux-sr-only:not(:focus):not(:active){position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);clip-path:inset(50%);white-space:nowrap}.gux-tag .gux-tag-remove-button{all:unset;display:flex;place-content:center center;align-items:center}.gux-tag .gux-tag-remove-button:not(:disabled):hover{cursor:pointer}.gux-tag .gux-tag-remove-button .gux-tag-remove-icon{inline-size:var(--gse-ui-tag-button-size);block-size:var(--gse-ui-tag-button-size);margin-inline-end:-4px}.gux-tag .gux-tag-remove-button:focus-within .gux-tag-remove-icon{border-radius:var(--gse-semantic-focusOutline-sm-borderRadius);outline:var(--gse-semantic-focusOutline-sm-borderWidth) solid var(--gse-ui-color-focus)}.gux-tag.gux-accent-default{color:var(--gse-ui-tag-default-bold-foregroundColor);background-color:var(--gse-ui-tag-default-bold-backgroundColor)}.gux-tag.gux-accent-default.gux-emphasis-subtle{color:var(--gse-ui-tag-default-subtle-foregroundColor);background-color:var(--gse-ui-tag-default-subtle-backgroundColor)}.gux-tag.gux-accent-1{color:var(--gse-ui-tag-accent1-bold-foregroundColor);background-color:var(--gse-ui-tag-accent1-bold-backgroundColor)}.gux-tag.gux-accent-1.gux-emphasis-subtle{color:var(--gse-ui-tag-accent1-subtle-foregroundColor);background-color:var(--gse-ui-tag-accent1-subtle-backgroundColor)}.gux-tag.gux-accent-2{color:var(--gse-ui-tag-accent2-bold-foregroundColor);background-color:var(--gse-ui-tag-accent2-bold-backgroundColor)}.gux-tag.gux-accent-2.gux-emphasis-subtle{color:var(--gse-ui-tag-accent2-subtle-foregroundColor);background-color:var(--gse-ui-tag-accent2-subtle-backgroundColor)}.gux-tag.gux-accent-3{color:var(--gse-ui-tag-accent3-bold-foregroundColor);background-color:var(--gse-ui-tag-accent3-bold-backgroundColor)}.gux-tag.gux-accent-3.gux-emphasis-subtle{color:var(--gse-ui-tag-accent3-subtle-foregroundColor);background-color:var(--gse-ui-tag-accent3-subtle-backgroundColor)}.gux-tag.gux-accent-4{color:var(--gse-ui-tag-accent4-bold-foregroundColor);background-color:var(--gse-ui-tag-accent4-bold-backgroundColor)}.gux-tag.gux-accent-4.gux-emphasis-subtle{color:var(--gse-ui-tag-accent4-subtle-foregroundColor);background-color:var(--gse-ui-tag-accent4-subtle-backgroundColor)}.gux-tag.gux-accent-5{color:var(--gse-ui-tag-accent5-bold-foregroundColor);background-color:var(--gse-ui-tag-accent5-bold-backgroundColor)}.gux-tag.gux-accent-5.gux-emphasis-subtle{color:var(--gse-ui-tag-accent5-subtle-foregroundColor);background-color:var(--gse-ui-tag-accent5-subtle-backgroundColor)}.gux-tag.gux-accent-6{color:var(--gse-ui-tag-accent6-bold-foregroundColor);background-color:var(--gse-ui-tag-accent6-bold-backgroundColor)}.gux-tag.gux-accent-6.gux-emphasis-subtle{color:var(--gse-ui-tag-accent6-subtle-foregroundColor);background-color:var(--gse-ui-tag-accent6-subtle-backgroundColor)}.gux-tag.gux-accent-7{color:var(--gse-ui-tag-accent7-bold-foregroundColor);background-color:var(--gse-ui-tag-accent7-bold-backgroundColor)}.gux-tag.gux-accent-7.gux-emphasis-subtle{color:var(--gse-ui-tag-accent7-subtle-foregroundColor);background-color:var(--gse-ui-tag-accent7-subtle-backgroundColor)}.gux-tag.gux-accent-8{color:var(--gse-ui-tag-accent8-bold-foregroundColor);background-color:var(--gse-ui-tag-accent8-bold-backgroundColor)}.gux-tag.gux-accent-8.gux-emphasis-subtle{color:var(--gse-ui-tag-accent8-subtle-foregroundColor);background-color:var(--gse-ui-tag-accent8-subtle-backgroundColor)}.gux-tag.gux-accent-9{color:var(--gse-ui-tag-accent9-bold-foregroundColor);background-color:var(--gse-ui-tag-accent9-bold-backgroundColor)}.gux-tag.gux-accent-9.gux-emphasis-subtle{color:var(--gse-ui-tag-accent9-subtle-foregroundColor);background-color:var(--gse-ui-tag-accent9-subtle-backgroundColor)}.gux-tag.gux-accent-10{color:var(--gse-ui-tag-accent10-bold-foregroundColor);background-color:var(--gse-ui-tag-accent10-bold-backgroundColor)}.gux-tag.gux-accent-10.gux-emphasis-subtle{color:var(--gse-ui-tag-accent10-subtle-foregroundColor);background-color:var(--gse-ui-tag-accent10-subtle-backgroundColor)}.gux-tag.gux-accent-inherit{color:inherit;background-color:inherit}";export{c as gux_tag}
@@ -0,0 +1 @@
1
+ import{r as a,f as t,h as r,g as e}from"./p-086c5088.js";import{b as s}from"./p-aa79d816.js";import{t as i}from"./p-bc955f73.js";import"./p-4202e9f2.js";const o={breadcrumbs:"Breadcrumbs"},c=class{constructor(t){a(this,t),this.accent="primary"}componentWillLoad(){i(this.root,{variant:this.accent})}async componentWillRender(){this.i18n=await s(this.root,o)}onSlotChange(){Array.from(this.root.children).forEach((a=>t(a)))}render(){return r("nav",{key:"47b29436439aeec2d6d3db2c9b5d29f23a6a1ab0","aria-label":this.i18n("breadcrumbs")},r("ol",{key:"30534f46660ef40e401ccd40f4d1a71f66e916dc"},r("slot",{key:"3f5a37c1cc6ab74400269d676db0998aa81297ed",onSlotchange:this.onSlotChange.bind(this)})))}get root(){return e(this)}};c.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{c as gux_breadcrumbs}
@@ -1 +1 @@
1
- import{r as e,c as i,h as s,g as a}from"./p-78cb19b9.js";import{t as d}from"./p-4f362e88.js";import{h as n}from"./p-6d8b4027.js";const t=class{constructor(s){e(this,s),this.sidePanelDismiss=i(this,"sidePanelDismiss",7),this.size="small"}onDismissHandler(){this.sidePanelDismiss.emit()}componentWillLoad(){d(this.root,{variant:this.size})}renderDescription(){return n(this.root,"description")?s("div",{class:"gux-side-panel-description"},s("slot",{name:"description"})):null}render(){return s("div",{key:"57b407cfe2e84ea6b951e141aebbf530f612e9bf",class:{"gux-side-panel":!0,[`gux-side-panel-${this.size}`]:!0}},s("header",{key:"d3fcabb1691d927364ccb34d37fd1be467511893"},s("gux-dismiss-button",{key:"353bb0e5806f0528ca0f67ab3e9d9b864039a61e",position:"inherit",onClick:this.onDismissHandler.bind(this)}),s("slot",{key:"ab3775392ab44d8ca086d2bdfd2b0d966f6f3628",name:"heading"})),this.renderDescription(),s("div",{key:"50fcbb0c2ba3e786eb378567eb7d81d4f1abacc6",class:"gux-side-panel-content"},s("slot",{key:"e74c5df75f1a338a9b677152c4a043c0feaa6a95",name:"content"})),s("footer",{key:"0be81160f37eac32e60a311f1702a853ea1c97bd"},s("slot",{key:"6e848313a8c01e537eda3726f47ec4c0d5ff5aa1",name:"footer"})))}get root(){return a(this)}};t.style=":host{display:block;inline-size:fit-content;block-size:100%}:host([size=large]){max-inline-size:50%}.gux-side-panel{position:relative;display:flex;flex-direction:column;inline-size:calc(100vw - var(--gse-ui-sidePanel-shoud-minWidth));block-size:inherit;background-color:var(--gse-ui-sidePanel-backgroundColor);box-shadow:var(--gse-ui-sidePanel-boxShadow)}.gux-side-panel.gux-side-panel-small{max-inline-size:var(--gse-ui-sidePanel-widthSize-sm)}.gux-side-panel.gux-side-panel-medium{max-inline-size:var(--gse-ui-sidePanel-widthSize-md)}.gux-side-panel.gux-side-panel-large{max-inline-size:var(--gse-ui-sidePanel-widthSize-lg)}.gux-side-panel>header{position:relative;padding:var(--gse-ui-sidePanel-header-padding);border-block-end:var(--gse-ui-sidePanel-divider-width) var(--gse-ui-sidePanel-divider-style) var(--gse-ui-sidePanel-divider-color)}.gux-side-panel>header gux-dismiss-button{position:absolute;inset-block-start:calc(var(--gse-ui-sidePanel-header-dismiss-padding) - var(--gse-ui-modal-dismissButton-paddingTop));inset-inline-end:calc(var(--gse-ui-modal-dismissButton-paddingRight) - var(--gse-ui-sidePanel-header-dismiss-padding));display:block}.gux-side-panel .gux-side-panel-description{margin:var(--gse-ui-sidePanel-description-padding) !important}.gux-side-panel .gux-side-panel-content{display:flex;flex:1 1 100%;padding:var(--gse-ui-sidePanel-body-padding);overflow-y:auto;font-family:var(--gse-ui-sidePanel-description-text-fontFamily);font-size:var(--gse-ui-sidePanel-description-text-fontSize);font-weight:var(--gse-ui-sidePanel-description-text-fontWeight);line-height:var(--gse-ui-sidePanel-description-text-lineHeight);color:var(--gse-ui-sidePanel-descriptionColor)}.gux-side-panel>footer{flex:0 0 auto;padding:var(--gse-ui-sidePanel-footer-padding);border-block-start:var(--gse-ui-sidePanel-divider-width) var(--gse-ui-sidePanel-divider-style) var(--gse-ui-sidePanel-divider-color)}.gux-side-panel-description ::slotted(*){margin:0;font-family:var(--gse-ui-sidePanel-description-text-fontFamily) !important;font-size:var(--gse-ui-sidePanel-description-text-fontSize) !important;font-weight:var(--gse-ui-sidePanel-description-text-fontWeight) !important;line-height:var(--gse-ui-sidePanel-description-text-lineHeight) !important;color:var(--gse-ui-sidePanel-descriptionColor) !important}";export{t as gux_side_panel_beta}
1
+ import{r as e,c as i,h as s,g as a}from"./p-086c5088.js";import{t as d}from"./p-bc955f73.js";import{h as n}from"./p-6d8b4027.js";const t=class{constructor(s){e(this,s),this.sidePanelDismiss=i(this,"sidePanelDismiss",7),this.size="small"}onDismissHandler(){this.sidePanelDismiss.emit()}componentWillLoad(){d(this.root,{variant:this.size})}renderDescription(){return n(this.root,"description")?s("div",{class:"gux-side-panel-description"},s("slot",{name:"description"})):null}render(){return s("div",{key:"57b407cfe2e84ea6b951e141aebbf530f612e9bf",class:{"gux-side-panel":!0,[`gux-side-panel-${this.size}`]:!0}},s("header",{key:"d3fcabb1691d927364ccb34d37fd1be467511893"},s("gux-dismiss-button",{key:"353bb0e5806f0528ca0f67ab3e9d9b864039a61e",position:"inherit",onClick:this.onDismissHandler.bind(this)}),s("slot",{key:"ab3775392ab44d8ca086d2bdfd2b0d966f6f3628",name:"heading"})),this.renderDescription(),s("div",{key:"50fcbb0c2ba3e786eb378567eb7d81d4f1abacc6",class:"gux-side-panel-content"},s("slot",{key:"e74c5df75f1a338a9b677152c4a043c0feaa6a95",name:"content"})),s("footer",{key:"0be81160f37eac32e60a311f1702a853ea1c97bd"},s("slot",{key:"6e848313a8c01e537eda3726f47ec4c0d5ff5aa1",name:"footer"})))}get root(){return a(this)}};t.style=":host{display:block;inline-size:fit-content;block-size:100%}:host([size=large]){max-inline-size:50%}.gux-side-panel{position:relative;display:flex;flex-direction:column;inline-size:calc(100vw - var(--gse-ui-sidePanel-shoud-minWidth));block-size:inherit;background-color:var(--gse-ui-sidePanel-backgroundColor);box-shadow:var(--gse-ui-sidePanel-boxShadow)}.gux-side-panel.gux-side-panel-small{max-inline-size:var(--gse-ui-sidePanel-widthSize-sm)}.gux-side-panel.gux-side-panel-medium{max-inline-size:var(--gse-ui-sidePanel-widthSize-md)}.gux-side-panel.gux-side-panel-large{max-inline-size:var(--gse-ui-sidePanel-widthSize-lg)}.gux-side-panel>header{position:relative;padding:var(--gse-ui-sidePanel-header-padding);border-block-end:var(--gse-ui-sidePanel-divider-width) var(--gse-ui-sidePanel-divider-style) var(--gse-ui-sidePanel-divider-color)}.gux-side-panel>header gux-dismiss-button{position:absolute;inset-block-start:calc(var(--gse-ui-sidePanel-header-dismiss-padding) - var(--gse-ui-modal-dismissButton-paddingTop));inset-inline-end:calc(var(--gse-ui-modal-dismissButton-paddingRight) - var(--gse-ui-sidePanel-header-dismiss-padding));display:block}.gux-side-panel .gux-side-panel-description{margin:var(--gse-ui-sidePanel-description-padding) !important}.gux-side-panel .gux-side-panel-content{display:flex;flex:1 1 100%;padding:var(--gse-ui-sidePanel-body-padding);overflow-y:auto;font-family:var(--gse-ui-sidePanel-description-text-fontFamily);font-size:var(--gse-ui-sidePanel-description-text-fontSize);font-weight:var(--gse-ui-sidePanel-description-text-fontWeight);line-height:var(--gse-ui-sidePanel-description-text-lineHeight);color:var(--gse-ui-sidePanel-descriptionColor)}.gux-side-panel>footer{flex:0 0 auto;padding:var(--gse-ui-sidePanel-footer-padding);border-block-start:var(--gse-ui-sidePanel-divider-width) var(--gse-ui-sidePanel-divider-style) var(--gse-ui-sidePanel-divider-color)}.gux-side-panel-description ::slotted(*){margin:0;font-family:var(--gse-ui-sidePanel-description-text-fontFamily) !important;font-size:var(--gse-ui-sidePanel-description-text-fontSize) !important;font-weight:var(--gse-ui-sidePanel-description-text-fontWeight) !important;line-height:var(--gse-ui-sidePanel-description-text-lineHeight) !important;color:var(--gse-ui-sidePanel-descriptionColor) !important}";export{t as gux_side_panel_beta}
@@ -1 +1 @@
1
- import{r as t,c as e,h as i,g as s}from"./p-78cb19b9.js";import{O as o}from"./p-045d724a.js";import{t as r}from"./p-4f362e88.js";import{b as h}from"./p-4b423804.js";import{t as a}from"./p-864d63fe.js";import{h as n}from"./p-274517cc.js";import{w as l}from"./p-e97879b4.js";import{b as u}from"./p-cf0e7d3b.js";import{e as g}from"./p-ea5e1b2f.js";import"./p-4202e9f2.js";import"./p-43af726d.js";const c=class{constructor(i){t(this,i),this.noHighlightAction=e(this,"noHighlightAction",7),this.disabled=!1,this.isActive=!1,this.expanded=!1}onClickOutside(){this.expanded=!1}watchDisabled(t){t&&(this.expanded=!1)}handleKeydown(t){const e=g("gux-rich-highlight-list-item",t),i=t.composedPath();switch(t.key){case"Escape":this.expanded=!1,this.actionButton.focus();break;case"ArrowDown":case"Enter":i.includes(this.actionButton)&&(t.preventDefault(),this.expanded=!0,this.focusNoHighlightActionButton());break;case"Tab":if(t.shiftKey)return;e&&(this.expanded=!1)}}async componentWillLoad(){r(this.root),this.i18n=await h(this.root,a)}togglePopup(){this.expanded=!this.expanded,this.expanded?this.focusNoHighlightActionButton():this.actionButton.focus()}focusNoHighlightActionButton(){u((()=>{this.noHighlightActionButton.focus()}))}renderTooltip(){if(!this.disabled&&!this.expanded)return i("gux-tooltip-beta",null,i("div",{slot:"content"},this.i18n("textHighlight")))}renderPopup(){return i("div",{class:"gux-text-highlight-popup",slot:"popup"},this.renderNoHighlightAction(),this.renderTextHighlightColors())}renderNoHighlightAction(){return i("gux-button-slot",{accent:"tertiary"},i("button",{type:"button",ref:t=>this.noHighlightActionButton=t,onClick:()=>this.emitNoHighlightAction()},i("gux-truncate",{"max-lines":1},this.i18n("noHighlight"))))}onListClick(t){l("gux-rich-highlight-list-item",t,(()=>{this.expanded=!1,this.actionButton.focus()}))}renderTextHighlightColors(){return i("gux-rich-text-editor-list",{onClick:t=>this.onListClick(t)},i("slot",null))}emitNoHighlightAction(){this.noHighlightAction.emit(),this.expanded=!1,this.actionButton.focus()}renderTarget(){return i("gux-button-slot",{accent:"ghost","icon-only":!0,slot:"target"},i("button",{type:"button",ref:t=>this.actionButton=t,onClick:()=>this.togglePopup(),disabled:this.disabled||n(this.root),class:{"gux-is-pressed":this.isActive||this.expanded},"aria-haspopup":"true","aria-expanded":this.expanded.toString(),"aria-pressed":this.isActive.toString()},i("gux-icon",{size:"small","icon-name":"fa/highlighter-line-regular","screenreader-text":this.i18n("textHighlight")})),this.renderTooltip())}render(){return i("gux-popup",{key:"5ab33be4e0c45633f0e14de414429c818b81e6ed",disabled:this.disabled,expanded:this.expanded,exceedTargetWidth:!0,placement:"bottom-start"},this.renderTarget(),this.renderPopup())}static get delegatesFocus(){return!0}get root(){return s(this)}static get watchers(){return{disabled:["watchDisabled"]}}};(function(t,e,i,s){var o,r=arguments.length,h=r<3?e:null===s?s=Object.getOwnPropertyDescriptor(e,i):s;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)h=Reflect.decorate(t,e,i,s);else for(var a=t.length-1;a>=0;a--)(o=t[a])&&(h=(r<3?o(h):r>3?o(e,i,h):o(e,i))||h);r>3&&h&&Object.defineProperty(e,i,h)})([o({triggerEvents:"mousedown"})],c.prototype,"onClickOutside",null),c.style=":host{display:block}.gux-text-highlight-popup{display:flex;flex-direction:column;gap:var(--gse-ui-rte-colorPalette-gap);inline-size:104px;padding:12px;margin:0;overflow-y:auto;background:var(--gse-ui-menu-backgroundColor);border-color:var(--gse-ui-menu-border-color);border-style:var(--gse-ui-menu-border-style);border-width:var(--gse-ui-menu-border-width);border-radius:var(--gse-ui-menu-borderRadius);box-shadow:var(--gse-ui-menu-boxShadow)}.gux-text-highlight-popup gux-rich-text-editor-list{display:flex;flex-direction:row;flex-wrap:wrap;gap:var(--gse-ui-rte-colorPalette-gap);align-items:flex-start;justify-content:flex-start;padding:0}.gux-text-highlight-popup gux-button-slot{align-self:center;block-size:var(--gse-ui-rte-menuButton-height)}.gux-text-highlight-popup gux-button-slot button{block-size:var(--gse-ui-rte-menuButton-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{c as gux_rich_text_editor_action_text_highlight}
1
+ import{r as t,c as e,h as i,g as s}from"./p-086c5088.js";import{O as o}from"./p-9e1bda51.js";import{t as r}from"./p-bc955f73.js";import{b as h}from"./p-aa79d816.js";import{t as a}from"./p-864d63fe.js";import{h as n}from"./p-274517cc.js";import{w as l}from"./p-e97879b4.js";import{b as u}from"./p-cf0e7d3b.js";import{e as g}from"./p-ea5e1b2f.js";import"./p-4202e9f2.js";import"./p-43af726d.js";const c=class{constructor(i){t(this,i),this.noHighlightAction=e(this,"noHighlightAction",7),this.disabled=!1,this.isActive=!1,this.expanded=!1}onClickOutside(){this.expanded=!1}watchDisabled(t){t&&(this.expanded=!1)}handleKeydown(t){const e=g("gux-rich-highlight-list-item",t),i=t.composedPath();switch(t.key){case"Escape":this.expanded=!1,this.actionButton.focus();break;case"ArrowDown":case"Enter":i.includes(this.actionButton)&&(t.preventDefault(),this.expanded=!0,this.focusNoHighlightActionButton());break;case"Tab":if(t.shiftKey)return;e&&(this.expanded=!1)}}async componentWillLoad(){r(this.root),this.i18n=await h(this.root,a)}togglePopup(){this.expanded=!this.expanded,this.expanded?this.focusNoHighlightActionButton():this.actionButton.focus()}focusNoHighlightActionButton(){u((()=>{this.noHighlightActionButton.focus()}))}renderTooltip(){if(!this.disabled&&!this.expanded)return i("gux-tooltip-beta",null,i("div",{slot:"content"},this.i18n("textHighlight")))}renderPopup(){return i("div",{class:"gux-text-highlight-popup",slot:"popup"},this.renderNoHighlightAction(),this.renderTextHighlightColors())}renderNoHighlightAction(){return i("gux-button-slot",{accent:"tertiary"},i("button",{type:"button",ref:t=>this.noHighlightActionButton=t,onClick:()=>this.emitNoHighlightAction()},i("gux-truncate",{"max-lines":1},this.i18n("noHighlight"))))}onListClick(t){l("gux-rich-highlight-list-item",t,(()=>{this.expanded=!1,this.actionButton.focus()}))}renderTextHighlightColors(){return i("gux-rich-text-editor-list",{onClick:t=>this.onListClick(t)},i("slot",null))}emitNoHighlightAction(){this.noHighlightAction.emit(),this.expanded=!1,this.actionButton.focus()}renderTarget(){return i("gux-button-slot",{accent:"ghost","icon-only":!0,slot:"target"},i("button",{type:"button",ref:t=>this.actionButton=t,onClick:()=>this.togglePopup(),disabled:this.disabled||n(this.root),class:{"gux-is-pressed":this.isActive||this.expanded},"aria-haspopup":"true","aria-expanded":this.expanded.toString(),"aria-pressed":this.isActive.toString()},i("gux-icon",{size:"small","icon-name":"fa/highlighter-line-regular","screenreader-text":this.i18n("textHighlight")})),this.renderTooltip())}render(){return i("gux-popup",{key:"5ab33be4e0c45633f0e14de414429c818b81e6ed",disabled:this.disabled,expanded:this.expanded,exceedTargetWidth:!0,placement:"bottom-start"},this.renderTarget(),this.renderPopup())}static get delegatesFocus(){return!0}get root(){return s(this)}static get watchers(){return{disabled:["watchDisabled"]}}};(function(t,e,i,s){var o,r=arguments.length,h=r<3?e:null===s?s=Object.getOwnPropertyDescriptor(e,i):s;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)h=Reflect.decorate(t,e,i,s);else for(var a=t.length-1;a>=0;a--)(o=t[a])&&(h=(r<3?o(h):r>3?o(e,i,h):o(e,i))||h);r>3&&h&&Object.defineProperty(e,i,h)})([o({triggerEvents:"mousedown"})],c.prototype,"onClickOutside",null),c.style=":host{display:block}.gux-text-highlight-popup{display:flex;flex-direction:column;gap:var(--gse-ui-rte-colorPalette-gap);inline-size:104px;padding:12px;margin:0;overflow-y:auto;background:var(--gse-ui-menu-backgroundColor);border-color:var(--gse-ui-menu-border-color);border-style:var(--gse-ui-menu-border-style);border-width:var(--gse-ui-menu-border-width);border-radius:var(--gse-ui-menu-borderRadius);box-shadow:var(--gse-ui-menu-boxShadow)}.gux-text-highlight-popup gux-rich-text-editor-list{display:flex;flex-direction:row;flex-wrap:wrap;gap:var(--gse-ui-rte-colorPalette-gap);align-items:flex-start;justify-content:flex-start;padding:0}.gux-text-highlight-popup gux-button-slot{align-self:center;block-size:var(--gse-ui-rte-menuButton-height)}.gux-text-highlight-popup gux-button-slot button{block-size:var(--gse-ui-rte-menuButton-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{c as gux_rich_text_editor_action_text_highlight}
@@ -0,0 +1 @@
1
+ function t(t,e){const n=new MutationObserver((n=>{n.forEach((n=>{"disabled"===n.attributeName&&e(t.disabled)}))}));return n.observe(t,{attributes:!0}),n}function e(t,e){const n=new MutationObserver((n=>{n.forEach((n=>{"required"===n.attributeName&&e(t.required)}))}));return n.observe(t,{attributes:!0}),n}function n(t,e){const n=new MutationObserver((n=>{n.forEach((n=>{"multiple"===n.attributeName&&e(t.multiple)}))}));return n.observe(t,{attributes:!0}),n}export{t as a,n as b,e as o}
@@ -1 +1 @@
1
- import{r as t,h as e,g as r}from"./p-78cb19b9.js";import{c as a}from"./p-267e2aed.js";import{t as o}from"./p-4f362e88.js";import{b as s}from"./p-4b423804.js";import"./p-4202e9f2.js";const i={actionRefresh:"Refresh",actionDelete:"Delete",actionExport:"Export",actionImport:"Import",actionRevert:"Revert",actionAdd:"Add"},c=class{constructor(e){t(this,e),this.action=void 0,this.accent="secondary",this.iconOnly=!1,this.disabled=!1}handleClick(t){this.disabled&&(t.preventDefault(),t.stopImmediatePropagation())}returnActionLocale(t){return this.i18n(`action${a(t)}`)}returnActionTypeIcon(t){switch(t){case"refresh":return"fa/arrows-rotate-regular";case"delete":return"fa/trash-regular";case"export":return"fa/arrow-up-from-line-regular";case"import":return"fa/file-import-regular";case"revert":return"fa/arrow-rotate-left-regular";case"add":return"fa/plus-regular";default:return"fa/square-x-regular"}}async componentWillLoad(){o(this.root,{variant:this.action}),this.i18n=await s(this.root,i)}render(){return e("gux-table-toolbar-custom-action",{key:"63d13660c77823cdd190cb3baf51d38768e94e0c","icon-only":this.iconOnly,accent:this.accent,disabled:this.disabled},e("span",{key:"18f8a6518dc7c999e068fc7bc983654807a7b222",slot:"text"},this.returnActionLocale(this.action)),e("gux-icon",{key:"bcb1194f316bd0fc6b53b25bab5d445edab61b6e",slot:"icon","icon-name":this.returnActionTypeIcon(this.action),decorative:!0}))}get root(){return r(this)}};c.style=":host([disabled]){pointer-events:none}";export{c as gux_table_toolbar_action}
1
+ import{r as t,h as e,g as r}from"./p-086c5088.js";import{c as a}from"./p-267e2aed.js";import{t as o}from"./p-bc955f73.js";import{b as s}from"./p-aa79d816.js";import"./p-4202e9f2.js";const i={actionRefresh:"Refresh",actionDelete:"Delete",actionExport:"Export",actionImport:"Import",actionRevert:"Revert",actionAdd:"Add"},c=class{constructor(e){t(this,e),this.action=void 0,this.accent="secondary",this.iconOnly=!1,this.disabled=!1}handleClick(t){this.disabled&&(t.preventDefault(),t.stopImmediatePropagation())}returnActionLocale(t){return this.i18n(`action${a(t)}`)}returnActionTypeIcon(t){switch(t){case"refresh":return"fa/arrows-rotate-regular";case"delete":return"fa/trash-regular";case"export":return"fa/arrow-up-from-line-regular";case"import":return"fa/file-import-regular";case"revert":return"fa/arrow-rotate-left-regular";case"add":return"fa/plus-regular";default:return"fa/square-x-regular"}}async componentWillLoad(){o(this.root,{variant:this.action}),this.i18n=await s(this.root,i)}render(){return e("gux-table-toolbar-custom-action",{key:"d3dcdc334d6f9065cc0d6e2fe2b3bc005889f393","icon-only":this.iconOnly,accent:this.accent,disabled:this.disabled},e("span",{key:"b59542f2a709203ef2c3738106bd9140b2447c48",slot:"text"},this.returnActionLocale(this.action)),e("gux-icon",{key:"4f0b0448863a274ed337378fda59a2bcd666e704",slot:"icon","icon-name":this.returnActionTypeIcon(this.action),decorative:!0}))}get root(){return r(this)}};c.style=":host([disabled]){pointer-events:none}";export{c as gux_table_toolbar_action}
@@ -1 +1 @@
1
- import{r as e,h as o,H as r}from"./p-78cb19b9.js";const a=class{constructor(o){e(this,o)}render(){return o(r,{key:"2d74355f99f30a0a767a6c10f8488358dc32d31d",role:"menu"},o("slot",{key:"cbc4501e25efdca1ac97ba654356b49a9a4ba644"}))}};a.style=":host{flex-direction:column;inline-size:fit-content;padding:var(--gse-ui-menu-padding);background-color:var(--gse-ui-flyoutMenu-backgroundColor);border:none;border-radius:var(--gse-ui-menu-borderRadius);box-shadow:var(--gse-ui-menu-boxShadow)}";export{a as gux_menu}
1
+ import{r as e,h as o,H as r}from"./p-086c5088.js";const a=class{constructor(o){e(this,o)}render(){return o(r,{key:"2d74355f99f30a0a767a6c10f8488358dc32d31d",role:"menu"},o("slot",{key:"cbc4501e25efdca1ac97ba654356b49a9a4ba644"}))}};a.style=":host{flex-direction:column;inline-size:fit-content;padding:var(--gse-ui-menu-padding);background-color:var(--gse-ui-flyoutMenu-backgroundColor);border:none;border-radius:var(--gse-ui-menu-borderRadius);box-shadow:var(--gse-ui-menu-boxShadow)}";export{a as gux_menu}
@@ -1 +1 @@
1
- import{r as t,c as e,f as s,d as i,h as a,H as h,g as o}from"./p-78cb19b9.js";import{b as n}from"./p-4b423804.js";import{w as l}from"./p-e97879b4.js";import{r}from"./p-0934300e.js";import{t as c}from"./p-4f362e88.js";import{t as d}from"./p-408d5857.js";import"./p-4202e9f2.js";const g=class{constructor(i){t(this,i),this.guxselectionchanged=e(this,"guxselectionchanged",7),this.guxsortchanged=e(this,"guxsortchanged",7),this.slotObserver=new MutationObserver((()=>{this.prepareSelectableRows(),s(this)})),this.tableId=r("gux-table"),this.columnsWidths={},this.isVerticalScroll=!1,this.columnResizeHover=!1,this.compact=!1,this.objectTable=!1,this.emptyMessage=void 0,this.resizableColumns=void 0}async componentWillLoad(){c(this.root),this.i18n=await n(this.root,d)}componentDidLoad(){this.resizableColumns&&this.prepareResizableColumns(),this.prepareSelectableRows(),i((()=>{this.checkVerticalScroll()})),!this.resizeObserver&&window.ResizeObserver&&(this.resizeObserver=new ResizeObserver((()=>{i((()=>{this.checkVerticalScroll()}))}))),this.resizeObserver&&(this.resizeObserver.observe(this.tableContainer),this.resizeObserver.observe(this.slottedTable)),this.slotObserver.observe(this.slottedTable,{subtree:!0,childList:!0})}checkVerticalScroll(){const t=this.tableContainer;this.isVerticalScroll=t.scrollHeight>t.clientHeight}disconnectedCallback(){this.resizeObserver&&(this.resizeObserver.unobserve(this.tableContainer),this.resizeObserver.unobserve(this.slottedTable)),this.resizableColumns&&document.getElementById(`${this.tableId}-resizable-styles`).remove()}onInternalAllRowSelectChange(t){t.stopPropagation(),this.handleSelectAllRows(t.detail)}onInternalRowSelectChange(t){t.stopPropagation();const e=t.target;e.selected=t.detail,this.handleRowSelection(e)}onMouseMove(t){this.resizableColumns&&this.updateResizeState(t)}onMouseDown(t){this.resizableColumns&&this.maybeStartResizing(t)}onMouseUp(){this.resizableColumns&&this.stopResizing()}get tableContainer(){return this.root.shadowRoot.querySelector(".gux-table-container")}get slottedTable(){return this.root.querySelector('table[slot="data"]')}get tableRows(){return Array.from(this.slottedTable.querySelectorAll("tbody tr"))}get tableColumns(){return Array.from(this.slottedTable.querySelectorAll("thead th"))}get rowCheckboxes(){return Array.from(this.slottedTable.querySelectorAll("tbody tr td gux-row-select"))}get selectAllCheckbox(){return this.slottedTable.querySelector("thead tr th gux-all-row-select")}async getSelected(){return this.getSelectedInternal()}getSelectedInternal(){return{selectedRowIds:Array.from(this.rowCheckboxes).filter((t=>t.selected)).map((t=>t.closest("tr").getAttribute("data-row-id")))}}prepareSelectableRows(){this.rowCheckboxes.forEach((t=>{this.updateRowSelection(t)})),this.updateSelectAllBoxState()}updateSelectAllBoxState(){const t=this.selectAllCheckbox;if(t){const e=this.rowCheckboxes,s=e.filter((t=>!t.disabled)),i=s.filter((t=>t.selected)),a=Boolean(e.length),h=i.length===s.length,o=0===i.length;t.selected=a&&h,t.setIndeterminate(a&&!h&&!o)}}handleSelectAllRows(t){this.rowCheckboxes.forEach((e=>{e.disabled||(e.selected=t,this.updateRowSelection(e))})),this.emitSelectionEvent()}handleRowSelection(t){this.updateRowSelection(t),this.updateSelectAllBoxState(),this.emitSelectionEvent()}emitSelectionEvent(){this.guxselectionchanged.emit(this.getSelectedInternal())}updateRowSelection(t){const e=t.closest("tr");t.selected?e.setAttribute("data-selected-row",""):e.removeAttribute("data-selected-row")}prepareResizableColumns(){const t=document.createElement("style");t.id=`${this.tableId}-resizable-styles`,document.querySelector("head").appendChild(t),this.calculateColumnWidths(this.tableColumns).slice(0,-1).forEach((t=>this.columnsWidths[t.name]=t.width)),this.setResizableColumnsStyles()}updateResizeState(t){if(this.columnResizeState){const e=this.columnResizeState.resizableColumn.dataset.columnName,s=Math.max(this.columnResizeState.resizableColumnInitialWidth+(t.pageX-this.columnResizeState.columnResizeMouseStartX),1),i=this.calculateColumnWidths(this.tableColumns).map((t=>t.name===e?Object.assign(Object.assign({},t),{width:s}):t));this.columnsWidths[e]=i.find((t=>t.name===e)).width,this.setResizableColumnsStyles()}else this.columnResizeHover=!1,l("th",t,(e=>{this.tableColumns.length-1!==e.cellIndex&&this.isInResizeZone(t,e)&&(this.columnResizeHover=!0)}))}maybeStartResizing(t){l("th",t,(e=>{this.isInResizeZone(t,e)&&(this.columnResizeState={resizableColumn:e,columnResizeMouseStartX:t.pageX,resizableColumnInitialWidth:e.clientWidth})}))}stopResizing(){this.columnResizeState&&(this.columnResizeState=null)}isInResizeZone(t,e){return e.getBoundingClientRect().right-t.clientX<3}calculateColumnWidths(t){return t.map((t=>({name:t.dataset.columnName,width:t.clientWidth})))}setResizableColumnsStyles(){const t=document.getElementById(`${this.tableId}-resizable-styles`);let e="";Object.keys(this.columnsWidths).forEach((t=>{e+=`[gs-table-id=${this.tableId}] th[data-column-name="${t}"]{\n width:${String(this.columnsWidths[t])}px;\n min-width:${String(this.columnsWidths[t])}px;\n }`})),t.innerHTML=e}get isTableEmpty(){return!this.root.children[0]||this.tableRows.length<1}get tableContainerClasses(){return{"gux-table-container":!0,"gux-column-resizing":Boolean(this.columnResizeState),"gux-column-resizing-hover":this.columnResizeHover}}render(){return a(h,{key:"8f72ea308b8ed67c59f0e65e540340c5b90be311","gs-table-id":this.tableId,"gs-obj-table":this.objectTable,"gs-compact":this.compact},a("div",{key:"0ce50919915d56992cf7caabe8c6204a06ee487f",class:"gux-table"},a("div",{key:"88e59d8c22f82957bf6327907f59a89cbe271632",tabindex:this.isVerticalScroll?"0":"-1",id:this.tableId,class:this.tableContainerClasses},a("slot",{key:"e9d103ba4664ecd686db44c6a411ca20d42c966e",name:"data"})),this.isTableEmpty&&a("div",{key:"c6d17820ec7b82465367cc685b474857815aff76",class:"gux-empty-table"},this.emptyMessage||this.i18n("emptyMessage"))))}get root(){return o(this)}};g.style=":host{position:relative;display:block}:host .gux-table{position:relative;block-size:inherit}:host .gux-table .gux-table-container{max-block-size:100%;overflow:auto;scrollbar-color:var(--gse-ui-dataTableItems-scrollbar-foregroundColor);scrollbar-width:thin}:host .gux-table .gux-table-container.gux-column-resizing-hover,:host .gux-table .gux-table-container.gux-column-resizing{cursor:col-resize}:host .gux-empty-table{display:flex;align-items:center;justify-content:center;block-size:calc(100% - var(--gse-ui-dataTableItems-header-default-height));color:var(--gse-semantic-foreground-container-lowEmphasis);background:var(--gse-semantic-background-container-page-tonalSubtle);font-family:var(--gse-semantic-heading-lg-bold-fontFamily), var(--gse-semantic-theme-fontFamily-headings), sans-serif;font-size:var(--gse-semantic-heading-lg-bold-fontSize);line-height:var(--gse-semantic-heading-lg-bold-lineHeight);font-weight:var(--gse-semantic-heading-lg-bold-fontWeight)}";export{g as gux_table}
1
+ import{r as t,c as e,f as s,d as i,h as a,H as h,g as o}from"./p-086c5088.js";import{b as n}from"./p-aa79d816.js";import{w as l}from"./p-e97879b4.js";import{r}from"./p-0934300e.js";import{t as c}from"./p-bc955f73.js";import{t as d}from"./p-408d5857.js";import"./p-4202e9f2.js";const g=class{constructor(i){t(this,i),this.guxselectionchanged=e(this,"guxselectionchanged",7),this.guxsortchanged=e(this,"guxsortchanged",7),this.slotObserver=new MutationObserver((()=>{this.prepareSelectableRows(),s(this)})),this.tableId=r("gux-table"),this.columnsWidths={},this.isVerticalScroll=!1,this.columnResizeHover=!1,this.compact=!1,this.objectTable=!1,this.emptyMessage=void 0,this.resizableColumns=void 0}async componentWillLoad(){c(this.root),this.i18n=await n(this.root,d)}componentDidLoad(){this.resizableColumns&&this.prepareResizableColumns(),this.prepareSelectableRows(),i((()=>{this.checkVerticalScroll()})),!this.resizeObserver&&window.ResizeObserver&&(this.resizeObserver=new ResizeObserver((()=>{i((()=>{this.checkVerticalScroll()}))}))),this.resizeObserver&&(this.resizeObserver.observe(this.tableContainer),this.resizeObserver.observe(this.slottedTable)),this.slotObserver.observe(this.slottedTable,{subtree:!0,childList:!0})}checkVerticalScroll(){const t=this.tableContainer;this.isVerticalScroll=t.scrollHeight>t.clientHeight}disconnectedCallback(){this.resizeObserver&&(this.resizeObserver.unobserve(this.tableContainer),this.resizeObserver.unobserve(this.slottedTable)),this.resizableColumns&&document.getElementById(`${this.tableId}-resizable-styles`).remove()}onInternalAllRowSelectChange(t){t.stopPropagation(),this.handleSelectAllRows(t.detail)}onInternalRowSelectChange(t){t.stopPropagation();const e=t.target;e.selected=t.detail,this.handleRowSelection(e)}onMouseMove(t){this.resizableColumns&&this.updateResizeState(t)}onMouseDown(t){this.resizableColumns&&this.maybeStartResizing(t)}onMouseUp(){this.resizableColumns&&this.stopResizing()}get tableContainer(){return this.root.shadowRoot.querySelector(".gux-table-container")}get slottedTable(){return this.root.querySelector('table[slot="data"]')}get tableRows(){return Array.from(this.slottedTable.querySelectorAll("tbody tr"))}get tableColumns(){return Array.from(this.slottedTable.querySelectorAll("thead th"))}get rowCheckboxes(){return Array.from(this.slottedTable.querySelectorAll("tbody tr td gux-row-select"))}get selectAllCheckbox(){return this.slottedTable.querySelector("thead tr th gux-all-row-select")}async getSelected(){return this.getSelectedInternal()}getSelectedInternal(){return{selectedRowIds:Array.from(this.rowCheckboxes).filter((t=>t.selected)).map((t=>t.closest("tr").getAttribute("data-row-id")))}}prepareSelectableRows(){this.rowCheckboxes.forEach((t=>{this.updateRowSelection(t)})),this.updateSelectAllBoxState()}updateSelectAllBoxState(){const t=this.selectAllCheckbox;if(t){const e=this.rowCheckboxes,s=e.filter((t=>!t.disabled)),i=s.filter((t=>t.selected)),a=Boolean(e.length),h=i.length===s.length,o=0===i.length;t.selected=a&&h,t.setIndeterminate(a&&!h&&!o)}}handleSelectAllRows(t){this.rowCheckboxes.forEach((e=>{e.disabled||(e.selected=t,this.updateRowSelection(e))})),this.emitSelectionEvent()}handleRowSelection(t){this.updateRowSelection(t),this.updateSelectAllBoxState(),this.emitSelectionEvent()}emitSelectionEvent(){this.guxselectionchanged.emit(this.getSelectedInternal())}updateRowSelection(t){const e=t.closest("tr");t.selected?e.setAttribute("data-selected-row",""):e.removeAttribute("data-selected-row")}prepareResizableColumns(){const t=document.createElement("style");t.id=`${this.tableId}-resizable-styles`,document.querySelector("head").appendChild(t),this.calculateColumnWidths(this.tableColumns).slice(0,-1).forEach((t=>this.columnsWidths[t.name]=t.width)),this.setResizableColumnsStyles()}updateResizeState(t){if(this.columnResizeState){const e=this.columnResizeState.resizableColumn.dataset.columnName,s=Math.max(this.columnResizeState.resizableColumnInitialWidth+(t.pageX-this.columnResizeState.columnResizeMouseStartX),1),i=this.calculateColumnWidths(this.tableColumns).map((t=>t.name===e?Object.assign(Object.assign({},t),{width:s}):t));this.columnsWidths[e]=i.find((t=>t.name===e)).width,this.setResizableColumnsStyles()}else this.columnResizeHover=!1,l("th",t,(e=>{this.tableColumns.length-1!==e.cellIndex&&this.isInResizeZone(t,e)&&(this.columnResizeHover=!0)}))}maybeStartResizing(t){l("th",t,(e=>{this.isInResizeZone(t,e)&&(this.columnResizeState={resizableColumn:e,columnResizeMouseStartX:t.pageX,resizableColumnInitialWidth:e.clientWidth})}))}stopResizing(){this.columnResizeState&&(this.columnResizeState=null)}isInResizeZone(t,e){return e.getBoundingClientRect().right-t.clientX<3}calculateColumnWidths(t){return t.map((t=>({name:t.dataset.columnName,width:t.clientWidth})))}setResizableColumnsStyles(){const t=document.getElementById(`${this.tableId}-resizable-styles`);let e="";Object.keys(this.columnsWidths).forEach((t=>{e+=`[gs-table-id=${this.tableId}] th[data-column-name="${t}"]{\n width:${String(this.columnsWidths[t])}px;\n min-width:${String(this.columnsWidths[t])}px;\n }`})),t.innerHTML=e}get isTableEmpty(){return!this.root.children[0]||this.tableRows.length<1}get tableContainerClasses(){return{"gux-table-container":!0,"gux-column-resizing":Boolean(this.columnResizeState),"gux-column-resizing-hover":this.columnResizeHover}}render(){return a(h,{key:"73aee8a90fbda7b70630f3bb7c51dfd9097fe3fb","gs-table-id":this.tableId,"gs-obj-table":this.objectTable,"gs-compact":this.compact},a("div",{key:"411b266888702c89db3d9a433a7afda659e93779",class:"gux-table"},a("div",{key:"5d8d33f9526b8d506297b77f6314667ecb09edc8",tabindex:this.isVerticalScroll?"0":"-1",id:this.tableId,class:this.tableContainerClasses},a("slot",{key:"fd1b7ec4dc41f3e568a340be5d41ed0f7b2de117",name:"data"})),this.isTableEmpty&&a("div",{key:"663a13e00ac43c13d24366dc146f4b9ead0a52d4",class:"gux-empty-table"},this.emptyMessage||this.i18n("emptyMessage"))))}get root(){return o(this)}};g.style=":host{position:relative;display:block}:host .gux-table{position:relative;block-size:inherit}:host .gux-table .gux-table-container{max-block-size:100%;overflow:auto;scrollbar-color:var(--gse-ui-dataTableItems-scrollbar-foregroundColor);scrollbar-width:thin}:host .gux-table .gux-table-container.gux-column-resizing-hover,:host .gux-table .gux-table-container.gux-column-resizing{cursor:col-resize}:host .gux-empty-table{display:flex;align-items:center;justify-content:center;block-size:calc(100% - var(--gse-ui-dataTableItems-header-default-height));color:var(--gse-semantic-foreground-container-lowEmphasis);background:var(--gse-semantic-background-container-page-tonalSubtle);font-family:var(--gse-semantic-heading-lg-bold-fontFamily), var(--gse-semantic-theme-fontFamily-headings), sans-serif;font-size:var(--gse-semantic-heading-lg-bold-fontSize);line-height:var(--gse-semantic-heading-lg-bold-lineHeight);font-weight:var(--gse-semantic-heading-lg-bold-fontWeight)}";export{g as gux_table}
@@ -1 +1 @@
1
- import{r as t,c as i,h as s,H as e,g as o}from"./p-78cb19b9.js";import{c as r,h as a,s as n,a as h,b as l,d as u,e as d,f as c,i as g,j as p,k as m,o as v}from"./p-787c5373.js";import{b}from"./p-4b423804.js";import{w as x}from"./p-e97879b4.js";import{s as f}from"./p-2c25e2f2.js";import{t as w}from"./p-4f362e88.js";import{b as y}from"./p-cf0e7d3b.js";import"./p-4202e9f2.js";const O={add:"Add {name}",noMatches:"No matches",loading:"Loading..."},C=class{constructor(s){t(this,s),this.internallistboxoptionsupdated=i(this,"internallistboxoptionsupdated",7),this.value=void 0,this.loading=!1,this.filter="",this.textInput="",this.filterType="none",this.emptyMessage=void 0,this.disabled=!1,this.listboxOptions=[],this.allListboxOptionsFiltered=void 0,this.hasExactMatch=!1}onBlur(){r(this.root)}selectNewCustomOption(t){this.updateValue(t.detail)}onKeydown(t){var i;if(!a(this.root))return t.preventDefault(),void n(this.root);switch(t.key){case"Enter":return t.preventDefault(),void((null===(i=this.optionCreateElement)||void 0===i?void 0:i.active)?(this.optionCreateElement.guxEmitInternalCreateNewOption(),y((()=>{n(this.root)}))):p(this.root,(t=>this.updateValue(t))));case"ArrowDown":return t.preventDefault(),void(c(this.root)?(t.stopPropagation(),g(this.root)):l(this.root));case"ArrowUp":return t.preventDefault(),void(u(this.root)?(t.stopPropagation(),d(this.root)):h(this.root));case"Home":return t.preventDefault(),void l(this.root);case"End":return t.preventDefault(),void h(this.root);case" ":return void t.preventDefault()}1!==t.key.length||m(this.root,t.key)}onKeyup(t){var i;" "!==t.key||((null===(i=this.optionCreateElement)||void 0===i?void 0:i.active)?(this.optionCreateElement.guxEmitInternalCreateNewOption(),y((()=>{n(this.root)}))):p(this.root,(t=>this.updateValue(t))))}onMousemove(){r(this.root)}onClick(t){x("gux-option-multi",t,(t=>{v(t,(t=>this.updateValue(t)))}))}async guxSelectActive(){p(this.root,(t=>this.updateValue(t)))}getHasExactMatch(){let t=!1;return this.hasExactMatch=!1,this.listboxOptions.forEach((i=>{var s,e;(null===(e=null===(s=i.textContent)||void 0===s?void 0:s.toLowerCase())||void 0===e?void 0:e.trim())==this.textInput.toLowerCase().trim()&&(t=!0,this.hasExactMatch=!0)})),t}updateOptionMultiCreateValue(){this.optionCreateElement&&(this.optionCreateElement.value=this.textInput,this.optionCreateElement.filtered=!this.textInput||this.getHasExactMatch())}getSelectedValues(){return this.value?this.value.split(","):[]}updateOnSlotChange(){this.setListboxOptions(),this.updateListboxOptions()}getOptionCreateElement(){this.optionCreateElement=this.root.querySelector("gux-create-option")}setListboxOptions(){this.listboxOptions=Array.from(this.root.children).filter((t=>"GUX-OPTION-MULTI"===t.tagName)),this.internallistboxoptionsupdated.emit()}updateListboxOptions(){this.listboxOptions.forEach((t=>{t.selected=this.getSelectedValues().includes(t.value),"custom"!==this.filterType&&(t.filtered=!t.textContent.trim().toLowerCase().startsWith(this.textInput.toLowerCase()))}))}updateValue(t){if(this.getSelectedValues().includes(t))this.value=this.getSelectedValues().filter((i=>i!==t)).join(",");else{const i=[...this.getSelectedValues(),t];this.value=i.join(",")}f(this.root,"input"),f(this.root,"change")}async componentWillLoad(){w(this.root),this.i18n=await b(this.root,O),this.setListboxOptions(),this.getOptionCreateElement()}componentWillRender(){this.setListboxOptions(),this.updateListboxOptions(),this.allListboxOptionsFiltered=0===this.listboxOptions.filter((t=>!t.filtered)).length}renderHiddenSlot(){return s("div",{hidden:!0},s("slot",{onSlotchange:()=>this.setListboxOptions()}))}renderLoading(){return[s("div",{class:"gux-message-container"},s("gux-radial-loading",{context:"modal"}),s("span",null,this.i18n("loading"))),this.renderHiddenSlot()]}renderAllListboxOptionsFiltered(){if(this.allListboxOptionsFiltered)return[s("div",{class:"gux-message-container"},s("div",{class:"gux-no-matches"},this.emptyMessage||this.i18n("noMatches"))),this.renderHiddenSlot()]}renderCreateOptionSlot(){return s("slot",{name:"create"})}render(){return this.loading?this.renderLoading():s(e,{role:"listbox","aria-multiselectable":"true",tabindex:0},s("slot",{onSlotchange:()=>this.updateOnSlotChange()}),this.renderAllListboxOptionsFiltered(),this.renderCreateOptionSlot())}get root(){return o(this)}static get watchers(){return{textInput:["updateOptionMultiCreateValue"]}}};C.style=":host{box-sizing:border-box;display:block;max-block-size:var(--gse-ui-menu-maxHeight);padding:var(--gse-ui-menu-padding);overflow-y:auto;scrollbar-color:var(--gse-ui-menu-scrollbar-foregroundColor);background:var(--gse-ui-menu-backgroundColor);border:var(--gse-ui-menu-border-width) var(--gse-ui-menu-border-style) var(--gse-ui-menu-border-color);border-radius:var(--gse-ui-menu-borderRadius);outline:none;box-shadow:var(--gse-ui-menu-boxShadow)}.gux-message-container{display:flex;flex-direction:column;flex-wrap:nowrap;place-content:stretch center;align-items:center}.gux-message-container .gux-no-matches{box-sizing:border-box;block-size:var(--gse-ui-menu-option-height);padding-block:var(--gse-ui-dropdown-gap);font-family:var(--gse-ui-menu-option-label-active-text-fontFamily);font-size:var(--gse-ui-menu-option-label-active-text-fontSize);font-weight:var(--gse-ui-menu-option-label-active-text-fontWeight);line-height:var(--gse-ui-menu-option-label-active-text-lineHeight);color:var(--gse-ui-menu-option-label-foregroundColor)}";export{C as gux_listbox_multi}
1
+ import{r as t,c as i,h as s,H as e,g as o}from"./p-086c5088.js";import{c as r,h as a,s as n,a as h,b as l,d as u,e as d,f as c,i as g,j as p,k as m,o as v}from"./p-787c5373.js";import{b}from"./p-aa79d816.js";import{w as x}from"./p-e97879b4.js";import{s as f}from"./p-2c25e2f2.js";import{t as w}from"./p-bc955f73.js";import{b as O}from"./p-cf0e7d3b.js";import"./p-4202e9f2.js";const y={add:"Add {name}",noMatches:"No matches",loading:"Loading..."},C=class{constructor(s){t(this,s),this.internallistboxoptionsupdated=i(this,"internallistboxoptionsupdated",7),this.value=void 0,this.loading=!1,this.filter="",this.textInput="",this.filterType="none",this.emptyMessage=void 0,this.disabled=!1,this.listboxOptions=[],this.allListboxOptionsFiltered=void 0,this.hasExactMatch=!1}onBlur(){r(this.root)}selectNewCustomOption(t){this.updateValue(t.detail)}onKeydown(t){var i;if(!a(this.root))return t.preventDefault(),void n(this.root);switch(t.key){case"Enter":return t.preventDefault(),void((null===(i=this.optionCreateElement)||void 0===i?void 0:i.active)?(this.optionCreateElement.guxEmitInternalCreateNewOption(),O((()=>{n(this.root)}))):p(this.root,(t=>this.updateValue(t))));case"ArrowDown":return t.preventDefault(),void(c(this.root)?(t.stopPropagation(),g(this.root)):l(this.root));case"ArrowUp":return t.preventDefault(),void(u(this.root)?(t.stopPropagation(),d(this.root)):h(this.root));case"Home":return t.preventDefault(),void l(this.root);case"End":return t.preventDefault(),void h(this.root);case" ":return void t.preventDefault()}1!==t.key.length||m(this.root,t.key)}onKeyup(t){var i;" "!==t.key||((null===(i=this.optionCreateElement)||void 0===i?void 0:i.active)?(this.optionCreateElement.guxEmitInternalCreateNewOption(),O((()=>{n(this.root)}))):p(this.root,(t=>this.updateValue(t))))}onMousemove(){r(this.root)}onClick(t){x("gux-option-multi",t,(t=>{v(t,(t=>this.updateValue(t)))}))}async guxSelectActive(){p(this.root,(t=>this.updateValue(t)))}getHasExactMatch(){let t=!1;return this.hasExactMatch=!1,this.listboxOptions.forEach((i=>{var s,e;(null===(e=null===(s=i.textContent)||void 0===s?void 0:s.toLowerCase())||void 0===e?void 0:e.trim())==this.textInput.toLowerCase().trim()&&(t=!0,this.hasExactMatch=!0)})),t}updateOptionMultiCreateValue(){this.optionCreateElement&&(this.optionCreateElement.value=this.textInput,this.optionCreateElement.filtered=!this.textInput||this.getHasExactMatch())}getSelectedValues(){return this.value?this.value.split(","):[]}updateOnSlotChange(){this.setListboxOptions(),this.updateListboxOptions()}getOptionCreateElement(){this.optionCreateElement=this.root.querySelector("gux-create-option")}setListboxOptions(){this.listboxOptions=Array.from(this.root.children).filter((t=>"GUX-OPTION-MULTI"===t.tagName)),this.internallistboxoptionsupdated.emit()}updateListboxOptions(){this.listboxOptions.forEach((t=>{t.selected=this.getSelectedValues().includes(t.value),"custom"!==this.filterType&&(t.filtered=!t.textContent.trim().toLowerCase().startsWith(this.textInput.toLowerCase()))}))}updateValue(t){if(this.getSelectedValues().includes(t))this.value=this.getSelectedValues().filter((i=>i!==t)).join(",");else{const i=[...this.getSelectedValues(),t];this.value=i.join(",")}f(this.root,"input"),f(this.root,"change")}async componentWillLoad(){w(this.root),this.i18n=await b(this.root,y),this.setListboxOptions(),this.getOptionCreateElement()}componentWillRender(){this.setListboxOptions(),this.updateListboxOptions(),this.allListboxOptionsFiltered=0===this.listboxOptions.filter((t=>!t.filtered)).length}renderHiddenSlot(){return s("div",{hidden:!0},s("slot",{onSlotchange:()=>this.setListboxOptions()}))}renderLoading(){return[s("div",{class:"gux-message-container"},s("gux-radial-loading",{context:"modal"}),s("span",null,this.i18n("loading"))),this.renderHiddenSlot()]}renderAllListboxOptionsFiltered(){if(this.allListboxOptionsFiltered)return[s("div",{class:"gux-message-container"},s("div",{class:"gux-no-matches"},this.emptyMessage||this.i18n("noMatches"))),this.renderHiddenSlot()]}renderCreateOptionSlot(){return s("slot",{name:"create"})}render(){return this.loading?this.renderLoading():s(e,{role:"listbox","aria-multiselectable":"true",tabindex:0},s("slot",{onSlotchange:()=>this.updateOnSlotChange()}),this.renderAllListboxOptionsFiltered(),this.renderCreateOptionSlot())}get root(){return o(this)}static get watchers(){return{textInput:["updateOptionMultiCreateValue"]}}};C.style=":host{box-sizing:border-box;display:block;max-block-size:var(--gse-ui-menu-maxHeight);padding:var(--gse-ui-menu-padding);overflow:hidden auto;scrollbar-color:var(--gse-ui-menu-scrollbar-foregroundColor);background:var(--gse-ui-menu-backgroundColor);border:var(--gse-ui-menu-border-width) var(--gse-ui-menu-border-style) var(--gse-ui-menu-border-color);border-radius:var(--gse-ui-menu-borderRadius);outline:none;box-shadow:var(--gse-ui-menu-boxShadow)}.gux-message-container{display:flex;flex-direction:column;flex-wrap:nowrap;place-content:stretch center;align-items:center}.gux-message-container .gux-no-matches{box-sizing:border-box;block-size:var(--gse-ui-menu-option-height);padding-block:var(--gse-ui-dropdown-gap);font-family:var(--gse-ui-menu-option-label-active-text-fontFamily);font-size:var(--gse-ui-menu-option-label-active-text-fontSize);font-weight:var(--gse-ui-menu-option-label-active-text-fontWeight);line-height:var(--gse-ui-menu-option-label-active-text-lineHeight);color:var(--gse-ui-menu-option-label-foregroundColor)}";export{C as gux_listbox_multi}
@@ -1 +1 @@
1
- import{r as t,c as a,h as e,g as i}from"./p-78cb19b9.js";import{b as n}from"./p-4b423804.js";import"./p-4202e9f2.js";const o={page:"Page",totalPages:" of {totalPages, number}",first:"First",previous:"Previous",next:"Next",last:"Last",pageInputLabel:"Page {currentPage, number} of {totalPages, number}"};class s{static getPageList(t,a){if(a<=10)return[...Array(a).keys()].map((a=>{const e=a+1;return{pageNumber:e,display:String(e),current:e===t}}));if(t<=5)return[...[...Array(6).keys()].map((a=>{const e=a+1;return{pageNumber:e,display:String(e),current:e===t}})),{pageNumber:7,display:"...",current:!1},{pageNumber:a,display:String(a),current:!1}];if(t>a-5){const e=[...Array(6).keys()].map((e=>{const i=e+a-5;return{pageNumber:i,display:String(i),current:i===t}}));return[{pageNumber:1,display:"1",current:!1},{pageNumber:a-6,display:"...",current:!1},...e]}const e=[...Array(5).keys()].map((a=>{const e=a+t-2;return{pageNumber:e,display:String(e),current:e===t}}));return[{pageNumber:1,display:"1",current:!1},{pageNumber:t-3,display:"...",current:!1},...e,{pageNumber:t+3,display:"...",current:!1},{pageNumber:a,display:String(a),current:!1}]}}const g=class{constructor(e){t(this,e),this.internalcurrentpagechange=a(this,"internalcurrentpagechange",3),this.currentPage=void 0,this.totalPages=void 0,this.layout="full"}get onFirstPage(){return this.currentPage<=1}get onLastPage(){return this.currentPage>=this.totalPages}handleClickFirst(){this.internalcurrentpagechange.emit(1)}handleClickPrevious(){this.internalcurrentpagechange.emit(this.currentPage-1)}handleClickNext(){this.internalcurrentpagechange.emit(this.currentPage+1)}handleClickLast(){this.internalcurrentpagechange.emit(this.totalPages)}handleClickPage(t){this.internalcurrentpagechange.emit(t)}setPageFromInput(t){const a=parseInt(t,10);!a||isNaN(a)?this.textFieldRef.value=String(this.currentPage):this.internalcurrentpagechange.emit(a)}getPageListEnteries(t,a){return s.getPageList(t,a).reduce(((t,a)=>t.concat(e("button",a.current?{class:"gux-pagination-buttons-list-button gux-current"}:{class:"gux-pagination-buttons-list-button gux-target",onClick:()=>this.handleClickPage(a.pageNumber)},a.display))),[])}getSmallPagePicker(){return e("div",{class:"gux-pagination-buttons-spacer"})}getExpandedPagePicker(){return e("div",{class:"gux-pagination-buttons-list-container"},this.getPageListEnteries(this.currentPage,this.totalPages))}getFullPagePicker(){return e("div",{class:"gux-pagination-buttons-input-container"},e("div",null,this.i18n("page")),e("div",{class:"gux-pagination-buttons-input"},e("gux-form-field-text-like",{"label-position":"screenreader"},e("label",{slot:"label"},this.i18n("pageInputLabel",{currentPage:this.currentPage,totalPages:this.totalPages})),e("input",{type:"text",slot:"input",value:String(this.currentPage),ref:t=>this.textFieldRef=t,onChange:()=>this.setPageFromInput(this.textFieldRef.value)}))),e("div",null,this.i18n("totalPages",{totalPages:this.totalPages})))}getPagePicker(t){return"small"===t?this.getSmallPagePicker():"expanded"===t?this.getExpandedPagePicker():this.getFullPagePicker()}async componentWillLoad(){this.i18n=await n(this.root,o)}render(){return e("div",{key:"557e3312c0152bd3654b28e6574fb741015e382c",class:`gux-pagination-buttons-container gux-${this.layout}`},e("div",{key:"fd835e1137e8736f609c8164d697b63ded852897",class:"gux-pagination-buttons-group"},e("gux-button-slot",{key:"061444e9654c31aa2a012e03465500f03a3b1ca1",accent:"ghost"},e("button",{key:"2da2393ea5079c930b7318d8c66ae9e4443ab15f",title:this.i18n("first"),disabled:this.onFirstPage,onClick:this.handleClickFirst.bind(this)},e("gux-icon",{key:"38e7d295fa218fe90b787fc46b644671d3993065",decorative:!0,"icon-name":"fa/chevrons-left-regular"}))),e("gux-button-slot",{key:"717e500afcb575faa741b65ee215a6817392326f",accent:"ghost"},e("button",{key:"57de16c874a2ff91c9a0fc3f6b162c27665532da",title:this.i18n("previous"),disabled:this.onFirstPage,onClick:this.handleClickPrevious.bind(this)},e("gux-icon",{key:"99fe82ca76d03a9b67e1307b2915808ab48b1507",decorative:!0,"icon-name":"custom/chevron-left-small-regular"})))),this.getPagePicker(this.layout),e("div",{key:"da2fc88c6ecfeecf6707a2f13836d07abaf80afc",class:"gux-pagination-buttons-group"},e("gux-button-slot",{key:"88bbffdb9c5f1f513191949b7d26dfa1b9eccbb9",accent:"ghost"},e("button",{key:"ecdae67eb330e77188c2cc9db64698003e0ec801",title:this.i18n("next"),disabled:this.onLastPage,onClick:this.handleClickNext.bind(this)},e("gux-icon",{key:"b6d2c5f2732a16e036bb8924a64bc957cb3e4e3c",decorative:!0,"icon-name":"custom/chevron-right-small-regular"}))),e("gux-button-slot",{key:"f47c7603b8d18724d2c7135ceed76d52d5db1913",accent:"ghost"},e("button",{key:"d096eedbb9620f27bee548deee00ddfb7a703957",title:this.i18n("last"),disabled:this.onLastPage,onClick:this.handleClickLast.bind(this)},e("gux-icon",{key:"b4c87b2bd8075540f3032acea4895f11dfb04bf2",decorative:!0,"icon-name":"fa/chevrons-right-regular"})))))}get root(){return i(this)}};g.style="gux-pagination-buttons-legacy .gux-pagination-buttons-container{display:flex;flex-direction:row;flex-wrap:nowrap;gap:var(--gse-ui-dataTableItems-tablePagination-recordsetControls-gap);place-content:stretch flex-end;align-items:center;margin-left:var(--gse-ui-dataTableItems-tablePagination-recordsetControls-gap)}gux-pagination-buttons-legacy .gux-pagination-buttons-container.gux-expanded{justify-content:center}gux-pagination-buttons-legacy .gux-pagination-buttons-container>div{flex:0 1 auto;align-self:auto;order:0}gux-pagination-buttons-legacy .gux-pagination-buttons-container .gux-pagination-buttons-group{white-space:nowrap}gux-pagination-buttons-legacy .gux-pagination-buttons-container .gux-pagination-buttons-input-container{display:flex;flex-direction:row;flex-wrap:nowrap;gap:var(--gse-ui-dataTableItems-tablePagination-recordsetControls-gap);place-content:stretch center;align-items:center}gux-pagination-buttons-legacy .gux-pagination-buttons-container .gux-pagination-buttons-input-container>div{flex:0 1 auto;align-self:auto;order:0;white-space:nowrap}gux-pagination-buttons-legacy .gux-pagination-buttons-container .gux-pagination-buttons-input-container .gux-pagination-buttons-input{width:60px}gux-pagination-buttons-legacy .gux-pagination-buttons-container .gux-pagination-buttons-input-container .gux-pagination-buttons-input input{width:60px;text-align:center;background-color:transparent}gux-pagination-buttons-legacy .gux-pagination-buttons-container .gux-pagination-buttons-list-container{display:flex;flex-direction:row;flex-wrap:nowrap;gap:var(--gse-ui-dataTableItems-tablePagination-recordsetControls-gap);place-content:stretch center;align-items:center}gux-pagination-buttons-legacy .gux-pagination-buttons-container .gux-pagination-buttons-list-container .gux-pagination-buttons-list-button{height:32px;padding-right:var(--gse-ui-dataTableItems-tablePagination-countDisplay-gap);padding-left:var(--gse-ui-dataTableItems-tablePagination-countDisplay-gap);margin-right:var(--gse-ui-dataTableItems-tablePagination-countDisplay-gap);margin-left:var(--gse-ui-dataTableItems-tablePagination-countDisplay-gap);background:inherit;border:none}gux-pagination-buttons-legacy .gux-pagination-buttons-container .gux-pagination-buttons-list-container .gux-pagination-buttons-list-button:focus-visible{border-radius:calc(var(--gse-semantic-focusOutline-sm-borderRadius) - var(--gse-semantic-focusOutline-offset));outline:var(--gse-semantic-focusOutline-md-borderWidth) solid var(--gse-ui-color-focus);outline-offset:var(--gse-semantic-focusOutline-offset)}gux-pagination-buttons-legacy .gux-pagination-buttons-container .gux-pagination-buttons-list-container .gux-pagination-buttons-list-button.gux-current{padding-right:var(--gse-ui-dataTableItems-tablePagination-padding);padding-left:var(--gse-ui-dataTableItems-tablePagination-padding);background-color:var(--gse-ui-button-ghost-active-backgroundColor);border-radius:var(--gse-ui-button-borderRadius);font-family:var(--gse-ui-dataTableItems-tablePagination-defaultText-fontFamily);font-size:var(--gse-ui-dataTableItems-tablePagination-defaultText-fontSize);font-weight:var(--gse-ui-dataTableItems-tablePagination-currentResultText-fontWeight);line-height:var(--gse-ui-dataTableItems-tablePagination-defaultText-lineHeight);color:var(--gse-ui-button-ghost-default-foregroundColor)}gux-pagination-buttons-legacy .gux-pagination-buttons-container .gux-pagination-buttons-list-container .gux-pagination-buttons-list-button.gux-target{padding-right:var(--gse-ui-dataTableItems-tablePagination-padding);padding-left:var(--gse-ui-dataTableItems-tablePagination-padding);cursor:pointer;font-family:var(--gse-ui-dataTableItems-tablePagination-defaultText-fontFamily);font-size:var(--gse-ui-dataTableItems-tablePagination-defaultText-fontSize);font-weight:var(--gse-ui-dataTableItems-tablePagination-currentResultText-fontWeight);line-height:var(--gse-ui-dataTableItems-tablePagination-defaultText-lineHeight);color:var(--gse-ui-button-ghost-default-foregroundColor)}gux-pagination-buttons-legacy .gux-pagination-buttons-container .gux-pagination-buttons-list-container .gux-pagination-buttons-list-button.gux-target:hover{color:var(--gse-ui-button-ghost-hover-foregroundColor);background-color:var(--gse-ui-button-ghost-hover-backgroundColor);border-radius:var(--gse-ui-button-borderRadius)}gux-pagination-buttons-legacy .gux-pagination-buttons-container .gux-pagination-buttons-spacer{width:var(--gse-ui-dataTableItems-tablePagination-padding)}";const r={itemCountDisplay:"{firstItem, number} - {lastItem, number}",totalItems:" of {totalItems, number}"},u=class{constructor(a){t(this,a),this.totalItems=0,this.currentPage=0,this.itemsPerPage=25}get firstItem(){return this.totalItems<1?0:(this.currentPage-1)*this.itemsPerPage+1}get lastItem(){return this.totalItems<1?0:Math.min(this.currentPage*this.itemsPerPage,this.totalItems)}async componentWillLoad(){this.i18n=await n(this.root,r)}render(){return e("div",{key:"b1aa6d30e61142f6272a3e03b7659b90e33ef0c8",class:"gux-pagination-item-counts-container"},e("span",{key:"3dca5b0d3e857662c0ffaa0d6e8ec92f20289107",class:"gux-pagination-item-counts-range"},this.i18n("itemCountDisplay",{firstItem:this.firstItem,lastItem:this.lastItem})),e("span",{key:"cd33418cd86dd09a03834b988dc74ac6807f0db5"},this.i18n("totalItems",{totalItems:this.totalItems})))}get root(){return i(this)}};u.style="gux-pagination-item-counts-legacy .gux-pagination-item-counts-container{display:flex;flex-direction:row;gap:var(--gse-ui-dataTableItems-tablePagination-countDisplay-gap);font-family:var(--gse-ui-dataTableItems-tablePagination-defaultText-fontFamily);font-size:var(--gse-ui-dataTableItems-tablePagination-defaultText-fontSize);font-weight:var(--gse-ui-dataTableItems-tablePagination-currentResultText-fontWeight);line-height:var(--gse-ui-dataTableItems-tablePagination-defaultText-lineHeight);color:var(--gse-ui-dataTableItems-tablePagination-foregroundColor);white-space:nowrap}";const l={perPage:"per page",itemsPerPage:"Items per page",rangeSelected:"Items per page dropdown, {range} selected"},c=class{constructor(e){t(this,e),this.internalitemsperpagechange=a(this,"internalitemsperpagechange",3),this.itemsPerPage=25}handleChange(t){t.stopPropagation();const a=parseInt(this.dropdownElement.value,10);this.internalitemsperpagechange.emit(a)}async componentWillLoad(){this.i18n=await n(this.root,l)}getDropdown(){return e("gux-dropdown",{ref:t=>this.dropdownElement=t,value:`${this.itemsPerPage}`,"aria-label":this.i18n("rangeSelected",{range:this.itemsPerPage})},e("gux-listbox",{"aria-label":this.i18n("itemsPerPage")},e("gux-option",{value:"25"},"25"),e("gux-option",{value:"50"},"50"),e("gux-option",{value:"75"},"75"),e("gux-option",{value:"100"},"100")))}render(){return e("div",{key:"7c562c72c13371778551e6bfd16b9931dc614926",class:"gux-pagination-items-per-page-container"},e("div",{key:"944d0f6d03ebc6f8dafd0702731510ebb0bdcca6",class:"gux-pagination-items-per-page-picker"},this.getDropdown()),e("div",{key:"96c6dab81456fcfa6c04b32be732a47134aa7d52",class:"gux-pagination-per-page"},this.i18n("perPage")))}get root(){return i(this)}};c.style="gux-pagination-items-per-page-legacy .gux-pagination-items-per-page-container{display:flex;flex-direction:row;flex-wrap:nowrap;gap:var(--gse-ui-dataTableItems-tablePagination-recordsetControls-gap);place-content:stretch center;align-items:center}gux-pagination-items-per-page-legacy .gux-pagination-items-per-page-container>div{flex:0 1 auto;align-self:auto;order:0;white-space:nowrap}gux-pagination-items-per-page-legacy .gux-pagination-items-per-page-container .gux-pagination-items-per-page-picker gux-dropdown{display:inline-block;width:64px}gux-pagination-items-per-page-legacy .gux-pagination-items-per-page-container .gux-pagination-per-page{font-family:var(--gse-ui-dataTableItems-tablePagination-defaultText-fontFamily);font-size:var(--gse-ui-dataTableItems-tablePagination-defaultText-fontSize);font-weight:var(--gse-ui-dataTableItems-tablePagination-currentResultText-fontWeight);line-height:var(--gse-ui-dataTableItems-tablePagination-defaultText-lineHeight);color:var(--gse-ui-dataTableItems-tablePagination-foregroundColor)}";export{g as gux_pagination_buttons_legacy,u as gux_pagination_item_counts_legacy,c as gux_pagination_items_per_page_legacy}
1
+ import{r as t,c as a,h as e,g as i}from"./p-086c5088.js";import{b as n}from"./p-aa79d816.js";import"./p-4202e9f2.js";const o={page:"Page",totalPages:" of {totalPages, number}",first:"First",previous:"Previous",next:"Next",last:"Last",pageInputLabel:"Page {currentPage, number} of {totalPages, number}"};class s{static getPageList(t,a){if(a<=10)return[...Array(a).keys()].map((a=>{const e=a+1;return{pageNumber:e,display:String(e),current:e===t}}));if(t<=5)return[...[...Array(6).keys()].map((a=>{const e=a+1;return{pageNumber:e,display:String(e),current:e===t}})),{pageNumber:7,display:"...",current:!1},{pageNumber:a,display:String(a),current:!1}];if(t>a-5){const e=[...Array(6).keys()].map((e=>{const i=e+a-5;return{pageNumber:i,display:String(i),current:i===t}}));return[{pageNumber:1,display:"1",current:!1},{pageNumber:a-6,display:"...",current:!1},...e]}const e=[...Array(5).keys()].map((a=>{const e=a+t-2;return{pageNumber:e,display:String(e),current:e===t}}));return[{pageNumber:1,display:"1",current:!1},{pageNumber:t-3,display:"...",current:!1},...e,{pageNumber:t+3,display:"...",current:!1},{pageNumber:a,display:String(a),current:!1}]}}const g=class{constructor(e){t(this,e),this.internalcurrentpagechange=a(this,"internalcurrentpagechange",3),this.currentPage=void 0,this.totalPages=void 0,this.layout="full"}get onFirstPage(){return this.currentPage<=1}get onLastPage(){return this.currentPage>=this.totalPages}handleClickFirst(){this.internalcurrentpagechange.emit(1)}handleClickPrevious(){this.internalcurrentpagechange.emit(this.currentPage-1)}handleClickNext(){this.internalcurrentpagechange.emit(this.currentPage+1)}handleClickLast(){this.internalcurrentpagechange.emit(this.totalPages)}handleClickPage(t){this.internalcurrentpagechange.emit(t)}setPageFromInput(t){const a=parseInt(t,10);!a||isNaN(a)?this.textFieldRef.value=String(this.currentPage):this.internalcurrentpagechange.emit(a)}getPageListEnteries(t,a){return s.getPageList(t,a).reduce(((t,a)=>t.concat(e("button",a.current?{class:"gux-pagination-buttons-list-button gux-current"}:{class:"gux-pagination-buttons-list-button gux-target",onClick:()=>this.handleClickPage(a.pageNumber)},a.display))),[])}getSmallPagePicker(){return e("div",{class:"gux-pagination-buttons-spacer"})}getExpandedPagePicker(){return e("div",{class:"gux-pagination-buttons-list-container"},this.getPageListEnteries(this.currentPage,this.totalPages))}getFullPagePicker(){return e("div",{class:"gux-pagination-buttons-input-container"},e("div",null,this.i18n("page")),e("div",{class:"gux-pagination-buttons-input"},e("gux-form-field-text-like",{"label-position":"screenreader"},e("label",{slot:"label"},this.i18n("pageInputLabel",{currentPage:this.currentPage,totalPages:this.totalPages})),e("input",{type:"text",slot:"input",value:String(this.currentPage),ref:t=>this.textFieldRef=t,onChange:()=>this.setPageFromInput(this.textFieldRef.value)}))),e("div",null,this.i18n("totalPages",{totalPages:this.totalPages})))}getPagePicker(t){return"small"===t?this.getSmallPagePicker():"expanded"===t?this.getExpandedPagePicker():this.getFullPagePicker()}async componentWillLoad(){this.i18n=await n(this.root,o)}render(){return e("div",{key:"557e3312c0152bd3654b28e6574fb741015e382c",class:`gux-pagination-buttons-container gux-${this.layout}`},e("div",{key:"fd835e1137e8736f609c8164d697b63ded852897",class:"gux-pagination-buttons-group"},e("gux-button-slot",{key:"061444e9654c31aa2a012e03465500f03a3b1ca1",accent:"ghost"},e("button",{key:"2da2393ea5079c930b7318d8c66ae9e4443ab15f",title:this.i18n("first"),disabled:this.onFirstPage,onClick:this.handleClickFirst.bind(this)},e("gux-icon",{key:"38e7d295fa218fe90b787fc46b644671d3993065",decorative:!0,"icon-name":"fa/chevrons-left-regular"}))),e("gux-button-slot",{key:"717e500afcb575faa741b65ee215a6817392326f",accent:"ghost"},e("button",{key:"57de16c874a2ff91c9a0fc3f6b162c27665532da",title:this.i18n("previous"),disabled:this.onFirstPage,onClick:this.handleClickPrevious.bind(this)},e("gux-icon",{key:"99fe82ca76d03a9b67e1307b2915808ab48b1507",decorative:!0,"icon-name":"custom/chevron-left-small-regular"})))),this.getPagePicker(this.layout),e("div",{key:"da2fc88c6ecfeecf6707a2f13836d07abaf80afc",class:"gux-pagination-buttons-group"},e("gux-button-slot",{key:"88bbffdb9c5f1f513191949b7d26dfa1b9eccbb9",accent:"ghost"},e("button",{key:"ecdae67eb330e77188c2cc9db64698003e0ec801",title:this.i18n("next"),disabled:this.onLastPage,onClick:this.handleClickNext.bind(this)},e("gux-icon",{key:"b6d2c5f2732a16e036bb8924a64bc957cb3e4e3c",decorative:!0,"icon-name":"custom/chevron-right-small-regular"}))),e("gux-button-slot",{key:"f47c7603b8d18724d2c7135ceed76d52d5db1913",accent:"ghost"},e("button",{key:"d096eedbb9620f27bee548deee00ddfb7a703957",title:this.i18n("last"),disabled:this.onLastPage,onClick:this.handleClickLast.bind(this)},e("gux-icon",{key:"b4c87b2bd8075540f3032acea4895f11dfb04bf2",decorative:!0,"icon-name":"fa/chevrons-right-regular"})))))}get root(){return i(this)}};g.style="gux-pagination-buttons-legacy .gux-pagination-buttons-container{display:flex;flex-direction:row;flex-wrap:nowrap;gap:var(--gse-ui-dataTableItems-tablePagination-recordsetControls-gap);place-content:stretch flex-end;align-items:center;margin-left:var(--gse-ui-dataTableItems-tablePagination-recordsetControls-gap)}gux-pagination-buttons-legacy .gux-pagination-buttons-container.gux-expanded{justify-content:center}gux-pagination-buttons-legacy .gux-pagination-buttons-container>div{flex:0 1 auto;align-self:auto;order:0}gux-pagination-buttons-legacy .gux-pagination-buttons-container .gux-pagination-buttons-group{white-space:nowrap}gux-pagination-buttons-legacy .gux-pagination-buttons-container .gux-pagination-buttons-input-container{display:flex;flex-direction:row;flex-wrap:nowrap;gap:var(--gse-ui-dataTableItems-tablePagination-recordsetControls-gap);place-content:stretch center;align-items:center}gux-pagination-buttons-legacy .gux-pagination-buttons-container .gux-pagination-buttons-input-container>div{flex:0 1 auto;align-self:auto;order:0;white-space:nowrap}gux-pagination-buttons-legacy .gux-pagination-buttons-container .gux-pagination-buttons-input-container .gux-pagination-buttons-input{width:60px}gux-pagination-buttons-legacy .gux-pagination-buttons-container .gux-pagination-buttons-input-container .gux-pagination-buttons-input input{width:60px;text-align:center;background-color:transparent}gux-pagination-buttons-legacy .gux-pagination-buttons-container .gux-pagination-buttons-list-container{display:flex;flex-direction:row;flex-wrap:nowrap;gap:var(--gse-ui-dataTableItems-tablePagination-recordsetControls-gap);place-content:stretch center;align-items:center}gux-pagination-buttons-legacy .gux-pagination-buttons-container .gux-pagination-buttons-list-container .gux-pagination-buttons-list-button{height:32px;padding-right:var(--gse-ui-dataTableItems-tablePagination-countDisplay-gap);padding-left:var(--gse-ui-dataTableItems-tablePagination-countDisplay-gap);margin-right:var(--gse-ui-dataTableItems-tablePagination-countDisplay-gap);margin-left:var(--gse-ui-dataTableItems-tablePagination-countDisplay-gap);background:inherit;border:none}gux-pagination-buttons-legacy .gux-pagination-buttons-container .gux-pagination-buttons-list-container .gux-pagination-buttons-list-button:focus-visible{border-radius:calc(var(--gse-semantic-focusOutline-sm-borderRadius) - var(--gse-semantic-focusOutline-offset));outline:var(--gse-semantic-focusOutline-md-borderWidth) solid var(--gse-ui-color-focus);outline-offset:var(--gse-semantic-focusOutline-offset)}gux-pagination-buttons-legacy .gux-pagination-buttons-container .gux-pagination-buttons-list-container .gux-pagination-buttons-list-button.gux-current{padding-right:var(--gse-ui-dataTableItems-tablePagination-padding);padding-left:var(--gse-ui-dataTableItems-tablePagination-padding);background-color:var(--gse-ui-button-ghost-active-backgroundColor);border-radius:var(--gse-ui-button-borderRadius);font-family:var(--gse-ui-dataTableItems-tablePagination-defaultText-fontFamily);font-size:var(--gse-ui-dataTableItems-tablePagination-defaultText-fontSize);font-weight:var(--gse-ui-dataTableItems-tablePagination-currentResultText-fontWeight);line-height:var(--gse-ui-dataTableItems-tablePagination-defaultText-lineHeight);color:var(--gse-ui-button-ghost-default-foregroundColor)}gux-pagination-buttons-legacy .gux-pagination-buttons-container .gux-pagination-buttons-list-container .gux-pagination-buttons-list-button.gux-target{padding-right:var(--gse-ui-dataTableItems-tablePagination-padding);padding-left:var(--gse-ui-dataTableItems-tablePagination-padding);cursor:pointer;font-family:var(--gse-ui-dataTableItems-tablePagination-defaultText-fontFamily);font-size:var(--gse-ui-dataTableItems-tablePagination-defaultText-fontSize);font-weight:var(--gse-ui-dataTableItems-tablePagination-currentResultText-fontWeight);line-height:var(--gse-ui-dataTableItems-tablePagination-defaultText-lineHeight);color:var(--gse-ui-button-ghost-default-foregroundColor)}gux-pagination-buttons-legacy .gux-pagination-buttons-container .gux-pagination-buttons-list-container .gux-pagination-buttons-list-button.gux-target:hover{color:var(--gse-ui-button-ghost-hover-foregroundColor);background-color:var(--gse-ui-button-ghost-hover-backgroundColor);border-radius:var(--gse-ui-button-borderRadius)}gux-pagination-buttons-legacy .gux-pagination-buttons-container .gux-pagination-buttons-spacer{width:var(--gse-ui-dataTableItems-tablePagination-padding)}";const r={itemCountDisplay:"{firstItem, number} - {lastItem, number}",totalItems:" of {totalItems, number}"},u=class{constructor(a){t(this,a),this.totalItems=0,this.currentPage=0,this.itemsPerPage=25}get firstItem(){return this.totalItems<1?0:(this.currentPage-1)*this.itemsPerPage+1}get lastItem(){return this.totalItems<1?0:Math.min(this.currentPage*this.itemsPerPage,this.totalItems)}async componentWillLoad(){this.i18n=await n(this.root,r)}render(){return e("div",{key:"b1aa6d30e61142f6272a3e03b7659b90e33ef0c8",class:"gux-pagination-item-counts-container"},e("span",{key:"3dca5b0d3e857662c0ffaa0d6e8ec92f20289107",class:"gux-pagination-item-counts-range"},this.i18n("itemCountDisplay",{firstItem:this.firstItem,lastItem:this.lastItem})),e("span",{key:"cd33418cd86dd09a03834b988dc74ac6807f0db5"},this.i18n("totalItems",{totalItems:this.totalItems})))}get root(){return i(this)}};u.style="gux-pagination-item-counts-legacy .gux-pagination-item-counts-container{display:flex;flex-direction:row;gap:var(--gse-ui-dataTableItems-tablePagination-countDisplay-gap);font-family:var(--gse-ui-dataTableItems-tablePagination-defaultText-fontFamily);font-size:var(--gse-ui-dataTableItems-tablePagination-defaultText-fontSize);font-weight:var(--gse-ui-dataTableItems-tablePagination-currentResultText-fontWeight);line-height:var(--gse-ui-dataTableItems-tablePagination-defaultText-lineHeight);color:var(--gse-ui-dataTableItems-tablePagination-foregroundColor);white-space:nowrap}";const l={perPage:"per page",itemsPerPage:"Items per page",rangeSelected:"Items per page dropdown, {range} selected"},c=class{constructor(e){t(this,e),this.internalitemsperpagechange=a(this,"internalitemsperpagechange",3),this.itemsPerPage=25}handleChange(t){t.stopPropagation();const a=parseInt(this.dropdownElement.value,10);this.internalitemsperpagechange.emit(a)}async componentWillLoad(){this.i18n=await n(this.root,l)}getDropdown(){return e("gux-dropdown",{ref:t=>this.dropdownElement=t,value:`${this.itemsPerPage}`,"aria-label":this.i18n("rangeSelected",{range:this.itemsPerPage})},e("gux-listbox",{"aria-label":this.i18n("itemsPerPage")},e("gux-option",{value:"25"},"25"),e("gux-option",{value:"50"},"50"),e("gux-option",{value:"75"},"75"),e("gux-option",{value:"100"},"100")))}render(){return e("div",{key:"7c562c72c13371778551e6bfd16b9931dc614926",class:"gux-pagination-items-per-page-container"},e("div",{key:"944d0f6d03ebc6f8dafd0702731510ebb0bdcca6",class:"gux-pagination-items-per-page-picker"},this.getDropdown()),e("div",{key:"96c6dab81456fcfa6c04b32be732a47134aa7d52",class:"gux-pagination-per-page"},this.i18n("perPage")))}get root(){return i(this)}};c.style="gux-pagination-items-per-page-legacy .gux-pagination-items-per-page-container{display:flex;flex-direction:row;flex-wrap:nowrap;gap:var(--gse-ui-dataTableItems-tablePagination-recordsetControls-gap);place-content:stretch center;align-items:center}gux-pagination-items-per-page-legacy .gux-pagination-items-per-page-container>div{flex:0 1 auto;align-self:auto;order:0;white-space:nowrap}gux-pagination-items-per-page-legacy .gux-pagination-items-per-page-container .gux-pagination-items-per-page-picker gux-dropdown{display:inline-block;width:64px}gux-pagination-items-per-page-legacy .gux-pagination-items-per-page-container .gux-pagination-per-page{font-family:var(--gse-ui-dataTableItems-tablePagination-defaultText-fontFamily);font-size:var(--gse-ui-dataTableItems-tablePagination-defaultText-fontSize);font-weight:var(--gse-ui-dataTableItems-tablePagination-currentResultText-fontWeight);line-height:var(--gse-ui-dataTableItems-tablePagination-defaultText-lineHeight);color:var(--gse-ui-dataTableItems-tablePagination-foregroundColor)}";export{g as gux_pagination_buttons_legacy,u as gux_pagination_item_counts_legacy,c as gux_pagination_items_per_page_legacy}
@@ -1 +1 @@
1
- import{r as o,c as a,h as t,g as i}from"./p-78cb19b9.js";import{r as e}from"./p-0934300e.js";import{t as n}from"./p-4f362e88.js";import{h as d}from"./p-6d8b4027.js";const s=class{constructor(t){o(this,t),this.guxdismiss=a(this,"guxdismiss",7),this.size="dynamic",this.open=!1}syncOpenState(){this.open?this.dialogElement.showModal():this.dialogElement.close()}async showModal(){this.open=!0}async close(){this.open=!1}onKeydown(o){if("Escape"===o.key)return o.preventDefault(),void this.onDismissHandler()}componentWillLoad(){n(this.root,{variant:`${this.size}`})}componentDidLoad(){this.syncOpenState()}hasModalTitleSlot(){return Boolean(this.root.querySelector('[slot="title"]'))}hasFooterButtons(){var o,a;const t=this.root.querySelector('[slot="start-align-buttons"]'),i=this.root.querySelector('[slot="end-align-buttons"]');return Boolean(null===(o=null==t?void 0:t.textContent)||void 0===o?void 0:o.trim())||Boolean(null===(a=null==i?void 0:i.textContent)||void 0===a?void 0:a.trim())}renderFooter(){return d(this.root,"footer")?t("footer",null,t("slot",{name:"footer"})):this.renderButtonFooter()}render(){const o=this.hasModalTitleSlot(),a=e();return t("dialog",{key:"f63cddeab575522484ba4c98777bd39db0693603",onClose:this.onCloseHandler.bind(this),ref:o=>this.dialogElement=o,"aria-labelledby":o?a:null},t("div",{key:"ab7b0ac052880bf8bd098bb6d61ed23bbd2d7d57",class:`gux-modal-container gux-${this.size}`},t("gux-dismiss-button",{key:"3287f5ded174ad6ebc72fbbbfee9922b8efb196e",onClick:this.onDismissHandler.bind(this)}),o&&this.renderTitle(a),t("div",{key:"b4cc1d49d68c06b78ccab305354a7d0ea6ba529d",class:"gux-modal-content"},t("p",{key:"18eaf0c3d247d33136456ea6b69cfd8f060917f2"},t("slot",{key:"36713cb4d872ac74ce315b8f9b48a88438d64429",name:"content"}))),this.renderFooter()))}renderTitle(o){return t("h1",{class:"gux-modal-header",id:o},t("slot",{name:"title"}))}renderButtonFooter(){const o=this.hasFooterButtons();return t("div",{class:{"gux-button-footer":!0,"gux-no-buttons":!o}},t("div",{class:"gux-start-align-buttons"},t("slot",{name:"start-align-buttons"})),t("div",{class:"gux-end-align-buttons"},t("slot",{name:"end-align-buttons"})))}onCloseHandler(){this.guxdismiss.emit()}onDismissHandler(){this.open=!1}static get delegatesFocus(){return!0}get root(){return i(this)}static get watchers(){return{open:["syncOpenState"]}}};s.style="::slotted(button:active:enabled){color:var(--gse-ui-links-active-foregroundColor);text-decoration:underline;background:none}slot[name=start-align-buttons]::slotted(:not(button,gux-button-slot)){display:flex;flex-direction:row;gap:var(--gse-ui-modal-buttonBar-gap);align-content:flex-start;align-items:center}:host dialog{box-sizing:border-box;justify-content:space-between;padding:0;overflow:hidden;border:none;border-radius:var(--gse-ui-modal-borderRadius);box-shadow:var(--gse-ui-modal-boxShadow)}:host dialog::backdrop{background:var(--gse-ui-modal-shroudColor)}:host dialog .gux-modal-container{display:flex;flex-direction:column}:host dialog .gux-modal-container.gux-small{inline-size:var(--gse-ui-modal-small-width);max-block-size:min(368px, 100vh - 2 * 24px)}:host dialog .gux-modal-container.gux-medium{inline-size:min(var(--gse-ui-modal-medium-width), 100vw - 48px);max-block-size:min(640px, 100vh - 2 * 24px)}:host dialog .gux-modal-container.gux-large{inline-size:min(var(--gse-ui-modal-large-width), 100vw - 48px);max-block-size:min(640px, 100vh - 2 * 24px)}:host dialog .gux-modal-container.gux-dynamic{max-inline-size:calc(100vw - 48px);max-block-size:calc(100vh - 48px)}:host dialog .gux-modal-container.gux-dynamic .gux-modal-content{max-block-size:none}:host dialog .gux-modal-container .gux-modal-header{padding-block-start:var(--gse-ui-modal-padding);padding-inline:var(--gse-ui-modal-padding);margin:0;font-family:var(--gse-ui-modal-heading-fontFamily);font-size:var(--gse-ui-modal-heading-fontSize);font-weight:var(--gse-ui-modal-heading-fontWeight);line-height:var(--gse-ui-modal-heading-lineHeight);color:var(--gse-ui-modal-headerColor)}:host dialog .gux-modal-container .gux-modal-content{max-block-size:432px;padding-inline:var(--gse-ui-modal-padding);margin-block-start:var(--gse-ui-modal-gap);overflow-y:auto}:host dialog .gux-modal-container .gux-button-footer{display:flex;justify-content:space-between;padding-block-end:var(--gse-ui-modal-padding);padding-inline:var(--gse-ui-modal-padding);margin-block-start:var(--gse-ui-modal-gap)}:host dialog .gux-modal-container .gux-button-footer.gux-no-buttons{display:none}:host dialog .gux-modal-container footer{padding-block-end:var(--gse-ui-modal-padding);padding-inline:var(--gse-ui-modal-padding);margin-block-start:var(--gse-ui-modal-gap)}@media (max-width: 416px){:host dialog .gux-modal-container.gux-small,:host dialog .gux-modal-container.gux-medium,:host dialog .gux-modal-container.gux-large{inline-size:100%;block-size:100%}}";export{s as gux_modal}
1
+ import{r as o,c as a,h as t,g as i}from"./p-086c5088.js";import{r as e}from"./p-0934300e.js";import{t as n}from"./p-bc955f73.js";import{h as s}from"./p-6d8b4027.js";const l=class{constructor(t){o(this,t),this.guxdismiss=a(this,"guxdismiss",7),this.size="dynamic",this.open=!1}syncOpenState(){this.open?this.dialogElement.showModal():this.dialogElement.close()}async showModal(){this.open=!0}async close(){this.open=!1}onKeydown(o){if("Escape"===o.key)return o.preventDefault(),void this.onDismissHandler()}componentWillLoad(){n(this.root,{variant:`${this.size}`})}componentDidLoad(){this.syncOpenState()}hasModalTitleSlot(){return Boolean(this.root.querySelector('[slot="title"]'))}hasFooterButtons(){var o,a;const t=this.root.querySelector('[slot="start-align-buttons"]'),i=this.root.querySelector('[slot="end-align-buttons"]');return Boolean(null===(o=null==t?void 0:t.textContent)||void 0===o?void 0:o.trim())||Boolean(null===(a=null==i?void 0:i.textContent)||void 0===a?void 0:a.trim())}renderFooter(){return s(this.root,"footer")?t("footer",null,t("slot",{name:"footer"})):this.renderButtonFooter()}render(){const o=this.hasModalTitleSlot(),a=e();return t("dialog",{key:"1ba76225c1eff0ea18b0174139b292e80b4e410f",onClose:this.onCloseHandler.bind(this),ref:o=>this.dialogElement=o,"aria-labelledby":o?a:null},t("div",{key:"341b8338d682b64460e913a40bde62ce5a608501",class:`gux-modal-container gux-${this.size}`},t("gux-dismiss-button",{key:"e2c44589e3e05caf3226e292ac8057ede5694112",onClick:this.onDismissHandler.bind(this)}),o&&this.renderTitle(a),t("div",{key:"5cd0a5ce5d10cdf63a209937572711594d1baf89",class:"gux-modal-content"},t("p",{key:"444bae638a018a71c1cff61d0e44e2f6dccb722c"},t("slot",{key:"04099bbf6b4a77aafd7b66fb47a09b96e9157ff4",name:"content"}))),this.renderFooter()))}renderTitle(o){return t("h1",{class:"gux-modal-header",id:o},t("slot",{name:"title"}))}renderButtonFooter(){const o=this.hasFooterButtons();return t("div",{class:{"gux-button-footer":!0,"gux-no-buttons":!o}},t("div",{class:"gux-start-align-buttons"},t("slot",{name:"start-align-buttons"})),t("div",{class:"gux-end-align-buttons"},t("slot",{name:"end-align-buttons"})))}onCloseHandler(){this.guxdismiss.emit()}onDismissHandler(){this.open=!1}static get delegatesFocus(){return!0}get root(){return i(this)}static get watchers(){return{open:["syncOpenState"]}}};l.style="::slotted(button:active:enabled){color:var(--gse-ui-links-active-foregroundColor);text-decoration:underline;background:none}slot[name=start-align-buttons]::slotted(:not(button,gux-button-slot)){display:flex;flex-direction:row;gap:var(--gse-ui-modal-buttonBar-gap);align-content:flex-start;align-items:center}:host dialog{box-sizing:border-box;justify-content:space-between;padding:0;overflow:hidden;border:none;border-radius:var(--gse-ui-modal-borderRadius);box-shadow:var(--gse-ui-modal-boxShadow)}:host dialog::backdrop{background:var(--gse-ui-modal-shroudColor)}:host dialog .gux-modal-container{display:flex;flex-direction:column}:host dialog .gux-modal-container.gux-small{inline-size:var(--gse-ui-modal-small-width);max-block-size:min(368px, 100vh - 2 * 24px)}:host dialog .gux-modal-container.gux-medium{inline-size:min(var(--gse-ui-modal-medium-width), 100vw - 48px);max-block-size:min(640px, 100vh - 2 * 24px)}:host dialog .gux-modal-container.gux-large{inline-size:min(var(--gse-ui-modal-large-width), 100vw - 48px);max-block-size:min(640px, 100vh - 2 * 24px)}:host dialog .gux-modal-container.gux-dynamic{max-inline-size:calc(100vw - 48px);max-block-size:calc(100vh - 48px)}:host dialog .gux-modal-container.gux-dynamic .gux-modal-content{max-block-size:none}:host dialog .gux-modal-container .gux-modal-header{padding-block-start:var(--gse-ui-modal-padding);padding-inline:var(--gse-ui-modal-padding);margin:0;font-family:var(--gse-ui-modal-heading-fontFamily);font-size:var(--gse-ui-modal-heading-fontSize);font-weight:var(--gse-ui-modal-heading-fontWeight);line-height:var(--gse-ui-modal-heading-lineHeight);color:var(--gse-ui-modal-headerColor)}:host dialog .gux-modal-container .gux-modal-content{max-block-size:432px;padding-inline:var(--gse-ui-modal-padding);margin-block-start:var(--gse-ui-modal-gap);overflow-y:auto}:host dialog .gux-modal-container .gux-button-footer{display:flex;justify-content:space-between;padding-block-end:var(--gse-ui-modal-padding);padding-inline:var(--gse-ui-modal-padding);margin-block-start:var(--gse-ui-modal-gap)}:host dialog .gux-modal-container .gux-button-footer.gux-no-buttons{display:none}:host dialog .gux-modal-container footer{padding-block-end:var(--gse-ui-modal-padding);padding-inline:var(--gse-ui-modal-padding);margin-block-start:var(--gse-ui-modal-gap)}@media (max-width: 416px){:host dialog .gux-modal-container.gux-small,:host dialog .gux-modal-container.gux-medium,:host dialog .gux-modal-container.gux-large{inline-size:100%;block-size:100%}}";export{l as gux_modal}
@@ -1 +1 @@
1
- import{r as e,h as o,g as i}from"./p-78cb19b9.js";import{O as t}from"./p-f4a8d565.js";import{h as r}from"./p-6d8b4027.js";import{t as l}from"./p-4f362e88.js";import{a as s,G as a}from"./p-1d9a9724.js";import{G as f,a as n}from"./p-5e79093f.js";import{a as d,g as h,v as u}from"./p-4aaf349e.js";import{p}from"./p-a11d5d42.js";import{o as m}from"./p-e5b1cffc.js";import"./p-0934300e.js";import"./p-8eaf8caf.js";import"./p-2c25e2f2.js";const g=class{constructor(o){e(this,o),this.labelPosition=void 0,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,i;"Tab"===e.key?this.input.matches(":focus-visible")&&(null===(o=this.labelInfo)||void 0===o||o.showTooltip(),this.hideLabelInfoTimeout=setTimeout((()=>{var e;null===(e=this.labelInfo)||void 0===e||e.hideTooltip()}),6e3)):this.input.matches(":focus-visible")&&(null===(i=this.labelInfo)||void 0===i||i.hideTooltip(),clearTimeout(this.hideLabelInfoTimeout))}onFocusout(){var e;null===(e=this.labelInfo)||void 0===e||e.hideTooltip(),clearTimeout(this.hideLabelInfoTimeout)}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=d(this.label,this.labelPosition)}setInput(){this.input=h(this.root,'input[type="file"][slot="input"]'),p(this.input),this.required=this.input.required,this.requiredObserver=m(this.input,(e=>{this.required=e})),u(this.root,this.input)}get variant(){return`fileInput-${this.labelPosition?this.labelPosition.toLowerCase():"none"}`}render(){return o(n,{key:"82b7f546e302726bf3da20fb203f65d39f518357",labelPosition:this.computedLabelPosition},o(f,{key:"8d6ea028da8b4b69a775e1db3458fb8d502b453a",position:this.computedLabelPosition,required:this.required},o("slot",{key:"855456190313c3de0b580b01d1e9f52e3de5ed28",name:"label",onSlotchange:()=>this.setLabel()}),o("gux-form-field-label-indicator",{key:"55daca20526e32d7d42ecfb28ebe19f2244bd9fa",variant:this.indicatorMark,required:this.required}),o("slot",{key:"e3fc2009e70ef3e1e34fddf871dc054c9295ae16",name:"label-info"})),o("div",{key:"a2f4c0707797b559d3706dbdfb7b0d0c02e327bd",class:"gux-input-and-error-container"},o("slot",{key:"4772369244195fc256a943d080f37d6339e17dd0",name:"input",onSlotchange:()=>this.setInput()}),o(s,{key:"9fb36778f5b95c8f838c4cad28ca732f7ab02197",show:this.hasError},o("slot",{key:"02eddf03b82dba489b2b1739d7f33ab0745f2fe6",name:"error"})),o(a,{key:"162bc657dfdd99bb609849cd328bed2941075575",show:!this.hasError&&this.hasHelp},o("slot",{key:"8b47d8af375b171573edc232fcacaf31ef31cb11",name:"help"}))))}get root(){return i(this)}};(function(e,o,i,t){var r,l=arguments.length,s=l<3?o:null===t?t=Object.getOwnPropertyDescriptor(o,i):t;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(e,o,i,t);else for(var a=e.length-1;a>=0;a--)(r=e[a])&&(s=(l<3?r(s):l>3?r(o,i,s):r(o,i))||s);l>3&&s&&Object.defineProperty(o,i,s)})([t({childList:!0,subtree:!0})],g.prototype,"onMutation",null),g.style=".gux-form-field-container.gux-beside{display:flex;flex-direction:row}.gux-form-field-error{display:none;flex-direction:row;flex-wrap:nowrap;gap:var(--gse-ui-formControl-helper-gap);place-content:stretch flex-start;padding:var(--gse-ui-formControl-helper-errorPadding);font-family:var(--gse-ui-formControl-helper-helperText-fontFamily);font-size:var(--gse-ui-formControl-helper-helperText-fontSize);line-height:var(--gse-ui-formControl-helper-helperText-lineHeight);color:var(--gse-ui-formControl-helper-errorColor)}.gux-form-field-error.gux-show{display:flex}.gux-form-field-error gux-icon{flex:0 1 auto;order:0;min-inline-size:var(--gse-ui-icon-small-size);min-block-size:var(--gse-ui-icon-small-size);color:var(--gse-ui-formControl-helper-errorColor)}.gux-form-field-error .gux-message{flex:0 1 auto;align-self:auto;order:0}.gux-form-field-label{display:inline-flex;flex:1 0 auto}.gux-form-field-label ::slotted(gux-label-info-beta){padding-inline-start:var(--gse-ui-formControl-formField-gap)}.gux-form-field-label.gux-beside{position:relative;inset-block-start:var(--gse-ui-formControl-input-top);inline-size:fit-content;min-inline-size:var(--gse-ui-formControl-input-textfield-minWidth);max-inline-size:fit-content;margin-inline-end:var(--gse-ui-formControl-group-gapItems)}.gux-form-field-label.gux-above{padding-block-end:var(--gse-ui-formControl-formField-gap)}.gux-form-field-label.gux-screenreader{position:absolute;top:auto;left:-10000px;width:1px;height:1px;overflow:hidden}.gux-form-field-help{display:none;flex-direction:row;flex-wrap:nowrap;place-content:stretch flex-start;align-items:flex-start;justify-content:flex-start;padding-block-start:var(--gse-ui-formControl-formField-gap);font-family:var(--gse-ui-formControl-helper-helperText-fontFamily);font-size:var(--gse-ui-formControl-helper-helperText-fontSize);line-height:var(--gse-ui-formControl-helper-helperText-lineHeight);color:var(--gse-ui-formControl-helper-defaultColor)}.gux-form-field-help.gux-show{display:flex}.gux-form-field-help .gux-message{flex:0 1 auto;align-self:none;order:0}:host{display:block}::slotted(label){font-family:var(--gse-ui-formControl-label-textBold-fontFamily);font-size:var(--gse-ui-formControl-label-textBold-fontSize);font-weight:var(--gse-ui-formControl-label-textBold-fontWeight);line-height:var(--gse-ui-formControl-label-textBold-lineHeight);color:var(--gse-ui-formControl-label-labelColor)}.gux-input-and-error-container{flex-grow:1}";export{g as gux_form_field_file}
1
+ import{r as e,h as o,g as i}from"./p-086c5088.js";import{O as t}from"./p-e07238b5.js";import{h as r}from"./p-6d8b4027.js";import{t as l}from"./p-bc955f73.js";import{a as s,G as a}from"./p-fbf14218.js";import{G as f,a as n}from"./p-1f6c052d.js";import{a as d,g as h,v as u}from"./p-4aaf349e.js";import{p}from"./p-a11d5d42.js";import{o as m}from"./p-6b12dd16.js";import"./p-0934300e.js";import"./p-8eaf8caf.js";import"./p-2c25e2f2.js";const g=class{constructor(o){e(this,o),this.labelPosition=void 0,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,i;"Tab"===e.key?this.input.matches(":focus-visible")&&(null===(o=this.labelInfo)||void 0===o||o.showTooltip(),this.hideLabelInfoTimeout=setTimeout((()=>{var e;null===(e=this.labelInfo)||void 0===e||e.hideTooltip()}),6e3)):this.input.matches(":focus-visible")&&(null===(i=this.labelInfo)||void 0===i||i.hideTooltip(),clearTimeout(this.hideLabelInfoTimeout))}onFocusout(){var e;null===(e=this.labelInfo)||void 0===e||e.hideTooltip(),clearTimeout(this.hideLabelInfoTimeout)}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=d(this.label,this.labelPosition)}setInput(){this.input=h(this.root,'input[type="file"][slot="input"]'),p(this.input),this.required=this.input.required,this.requiredObserver=m(this.input,(e=>{this.required=e})),u(this.root,this.input)}get variant(){return`fileInput-${this.labelPosition?this.labelPosition.toLowerCase():"none"}`}render(){return o(n,{key:"82b7f546e302726bf3da20fb203f65d39f518357",labelPosition:this.computedLabelPosition},o(f,{key:"8d6ea028da8b4b69a775e1db3458fb8d502b453a",position:this.computedLabelPosition,required:this.required},o("slot",{key:"855456190313c3de0b580b01d1e9f52e3de5ed28",name:"label",onSlotchange:()=>this.setLabel()}),o("gux-form-field-label-indicator",{key:"55daca20526e32d7d42ecfb28ebe19f2244bd9fa",variant:this.indicatorMark,required:this.required}),o("slot",{key:"e3fc2009e70ef3e1e34fddf871dc054c9295ae16",name:"label-info"})),o("div",{key:"a2f4c0707797b559d3706dbdfb7b0d0c02e327bd",class:"gux-input-and-error-container"},o("slot",{key:"4772369244195fc256a943d080f37d6339e17dd0",name:"input",onSlotchange:()=>this.setInput()}),o(s,{key:"9fb36778f5b95c8f838c4cad28ca732f7ab02197",show:this.hasError},o("slot",{key:"02eddf03b82dba489b2b1739d7f33ab0745f2fe6",name:"error"})),o(a,{key:"162bc657dfdd99bb609849cd328bed2941075575",show:!this.hasError&&this.hasHelp},o("slot",{key:"8b47d8af375b171573edc232fcacaf31ef31cb11",name:"help"}))))}get root(){return i(this)}};(function(e,o,i,t){var r,l=arguments.length,s=l<3?o:null===t?t=Object.getOwnPropertyDescriptor(o,i):t;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(e,o,i,t);else for(var a=e.length-1;a>=0;a--)(r=e[a])&&(s=(l<3?r(s):l>3?r(o,i,s):r(o,i))||s);l>3&&s&&Object.defineProperty(o,i,s)})([t({childList:!0,subtree:!0})],g.prototype,"onMutation",null),g.style=".gux-form-field-container.gux-beside{display:flex;flex-direction:row}.gux-form-field-error{display:none;flex-direction:row;flex-wrap:nowrap;gap:var(--gse-ui-formControl-helper-gap);place-content:stretch flex-start;padding:var(--gse-ui-formControl-helper-errorPadding);font-family:var(--gse-ui-formControl-helper-helperText-fontFamily);font-size:var(--gse-ui-formControl-helper-helperText-fontSize);line-height:var(--gse-ui-formControl-helper-helperText-lineHeight);color:var(--gse-ui-formControl-helper-errorColor)}.gux-form-field-error.gux-show{display:flex}.gux-form-field-error gux-icon{flex:0 1 auto;order:0;min-inline-size:var(--gse-ui-icon-small-size);min-block-size:var(--gse-ui-icon-small-size);color:var(--gse-ui-formControl-helper-errorColor)}.gux-form-field-error .gux-message{flex:0 1 auto;align-self:auto;order:0}.gux-form-field-label{display:inline-flex;flex:1 0 auto}.gux-form-field-label ::slotted(gux-label-info-beta){padding-inline-start:var(--gse-ui-formControl-formField-gap)}.gux-form-field-label.gux-beside{position:relative;inset-block-start:var(--gse-ui-formControl-input-top);inline-size:fit-content;min-inline-size:var(--gse-ui-formControl-input-textfield-minWidth);max-inline-size:fit-content;margin-inline-end:var(--gse-ui-formControl-group-gapItems)}.gux-form-field-label.gux-above{padding-block-end:var(--gse-ui-formControl-formField-gap)}.gux-form-field-label.gux-screenreader{position:absolute;top:auto;left:-10000px;width:1px;height:1px;overflow:hidden}.gux-form-field-help{display:none;flex-direction:row;flex-wrap:nowrap;place-content:stretch flex-start;align-items:flex-start;justify-content:flex-start;padding-block-start:var(--gse-ui-formControl-formField-gap);font-family:var(--gse-ui-formControl-helper-helperText-fontFamily);font-size:var(--gse-ui-formControl-helper-helperText-fontSize);line-height:var(--gse-ui-formControl-helper-helperText-lineHeight);color:var(--gse-ui-formControl-helper-defaultColor)}.gux-form-field-help.gux-show{display:flex}.gux-form-field-help .gux-message{flex:0 1 auto;align-self:none;order:0}:host{display:block}::slotted(label){font-family:var(--gse-ui-formControl-label-textBold-fontFamily);font-size:var(--gse-ui-formControl-label-textBold-fontSize);font-weight:var(--gse-ui-formControl-label-textBold-fontWeight);line-height:var(--gse-ui-formControl-label-textBold-lineHeight);color:var(--gse-ui-formControl-label-labelColor)}.gux-input-and-error-container{flex-grow:1}";export{g as gux_form_field_file}
@@ -1 +1 @@
1
- import{r as e,f as o,h as t,g as r}from"./p-78cb19b9.js";import{c as i,o as n}from"./p-f4751a15.js";import{O as a}from"./p-f4a8d565.js";import{o as l}from"./p-e5b1cffc.js";import{p as s}from"./p-a11d5d42.js";import{h as f}from"./p-6d8b4027.js";import{a as u,G as d}from"./p-1d9a9724.js";import{G as p,a as g}from"./p-5e79093f.js";import{h as c,c as h,g as m,v as x,a as b}from"./p-4aaf349e.js";import{t as v}from"./p-4f362e88.js";import{f as C}from"./p-54822e3b.js";import"./p-0934300e.js";import"./p-8eaf8caf.js";import"./p-2c25e2f2.js";const y=class{constructor(o){e(this,o),this.labelPosition=void 0,this.indicatorMark="required",this.computedLabelPosition="above",this.clearable=!0,this.disabled=void 0,this.required=void 0,this.hasContent=!1,this.hasError=!1,this.hasHelp=!1}onMutation(){this.labelInfo=this.root.querySelector("[slot=label-info]"),this.hasError=f(this.root,"error"),this.hasHelp=f(this.root,"help")}handleKeyup(e){var o,t;"Tab"===e.key?this.input.matches(":focus-visible")&&(null===(o=this.labelInfo)||void 0===o||o.showTooltip(),this.hideLabelInfoTimeout=setTimeout((()=>{var e;null===(e=this.labelInfo)||void 0===e||e.hideTooltip()}),6e3)):this.input.matches(":focus-visible")&&(null===(t=this.labelInfo)||void 0===t||t.hideTooltip(),clearTimeout(this.hideLabelInfoTimeout))}onFocusout(){var e;null===(e=this.labelInfo)||void 0===e||e.hideTooltip(),clearTimeout(this.hideLabelInfoTimeout)}async guxForceUpdate(){this.hasContent=c(this.input),this.hasError=f(this.root,"error"),this.hasHelp=f(this.root,"help"),o(this.root)}componentWillLoad(){this.setInput(),this.setLabel(),this.labelInfo=this.root.querySelector("[slot=label-info]"),this.hasError=f(this.root,"error"),this.hasHelp=f(this.root,"help"),v(this.root,{variant:this.variant})}disconnectedCallback(){this.disabledObserver&&this.disabledObserver.disconnect(),this.requiredObserver&&this.requiredObserver.disconnect()}render(){return t(g,{key:"fae9d2bde3b9f15520d7cf963352a9cb315ddacc",labelPosition:this.computedLabelPosition},t(p,{key:"c2dfab5ed0dc314a7dd6aa866747375ceae599df",required:this.required,position:this.computedLabelPosition},t("slot",{key:"ce66cd8e59f0e21d9d55319a468effac53af1af3",name:"label",onSlotchange:()=>this.setLabel()}),t("gux-form-field-label-indicator",{key:"7c6fbdcfc0c2144ce4c93b2f1dc3730f45f00ef5",variant:this.indicatorMark,required:this.required}),t("slot",{key:"3d382bee6d91e00f76dea6053012b0ea890871f6",name:"label-info"})),t("div",{key:"2710be721228743cbc5864865dd4a7307ba86cf6",class:"gux-input-and-error-container"},t("div",{key:"9d895f5095c690d9042dae6a0c6506575e59c082",class:{"gux-input":!0,"gux-input-error":this.hasError}},t("div",{key:"4a340e271b02549be901f60b9cfa85c044a5d1d9",class:{"gux-input-container":!0,"gux-disabled":this.disabled},onClick:()=>C(this.input)},t("gux-icon",{key:"4a2f32b34255decaf73aaf32ecb5d5520ad935b2","icon-name":"fa/magnifying-glass-regular",decorative:!0}),t("slot",{key:"b3e0aad95f7af9617fff5718e9a17e3c666d57ed",name:"input"}),this.clearable&&this.hasContent&&!this.disabled&&t("gux-form-field-input-clear-button",{key:"be4c68fa3184f04bdb3e7f1b5c6dda9ea9e6921f",onClick:()=>h(this.input)}))),t(u,{key:"a18b0950fe0a6814da3e4f25e5b5ae9841bf0e94",show:this.hasError},t("slot",{key:"90359f820a41b241e16a596e8c37273ecfd61781",name:"error"})),t(d,{key:"f9a40baa4a08a153e5dda5b542712822956698f4",show:!this.hasError&&this.hasHelp},t("slot",{key:"a135a1a2e80cad4e8c287a357a5290f735a33e4d",name:"help"}))))}get variant(){const e=this.labelPosition?this.labelPosition.toLowerCase():"none";return`${this.input.getAttribute("type")}-${e}`}setInput(){this.input=m(this.root,'input[type="search"][slot="input"]'),this.hasContent=c(this.input),s(this.input),this.input.addEventListener("input",(()=>{this.hasContent=c(this.input)})),this.disabled=i(this.input),this.required=this.input.required,this.disabledObserver=n(this.input,(e=>{this.disabled=e})),this.requiredObserver=l(this.input,(e=>{this.required=e})),x(this.root,this.input)}setLabel(){this.label=this.root.querySelector('label[slot="label"]'),this.computedLabelPosition=b(this.label,this.labelPosition)}get root(){return r(this)}};(function(e,o,t,r){var i,n=arguments.length,a=n<3?o:null===r?r=Object.getOwnPropertyDescriptor(o,t):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(e,o,t,r);else for(var l=e.length-1;l>=0;l--)(i=e[l])&&(a=(n<3?i(a):n>3?i(o,t,a):i(o,t))||a);n>3&&a&&Object.defineProperty(o,t,a)})([a({childList:!0,subtree:!0})],y.prototype,"onMutation",null),y.style=".gux-form-field-container.gux-beside{display:flex;flex-direction:row}.gux-form-field-error{display:none;flex-direction:row;flex-wrap:nowrap;gap:var(--gse-ui-formControl-helper-gap);place-content:stretch flex-start;padding:var(--gse-ui-formControl-helper-errorPadding);font-family:var(--gse-ui-formControl-helper-helperText-fontFamily);font-size:var(--gse-ui-formControl-helper-helperText-fontSize);line-height:var(--gse-ui-formControl-helper-helperText-lineHeight);color:var(--gse-ui-formControl-helper-errorColor)}.gux-form-field-error.gux-show{display:flex}.gux-form-field-error gux-icon{flex:0 1 auto;order:0;min-inline-size:var(--gse-ui-icon-small-size);min-block-size:var(--gse-ui-icon-small-size);color:var(--gse-ui-formControl-helper-errorColor)}.gux-form-field-error .gux-message{flex:0 1 auto;align-self:auto;order:0}.gux-form-field-label{display:inline-flex;flex:1 0 auto}.gux-form-field-label ::slotted(gux-label-info-beta){padding-inline-start:var(--gse-ui-formControl-formField-gap)}.gux-form-field-label.gux-beside{position:relative;inset-block-start:var(--gse-ui-formControl-input-top);inline-size:fit-content;min-inline-size:var(--gse-ui-formControl-input-textfield-minWidth);max-inline-size:fit-content;margin-inline-end:var(--gse-ui-formControl-group-gapItems)}.gux-form-field-label.gux-above{padding-block-end:var(--gse-ui-formControl-formField-gap)}.gux-form-field-label.gux-screenreader{position:absolute;top:auto;left:-10000px;width:1px;height:1px;overflow:hidden}.gux-form-field-help{display:none;flex-direction:row;flex-wrap:nowrap;place-content:stretch flex-start;align-items:flex-start;justify-content:flex-start;padding-block-start:var(--gse-ui-formControl-formField-gap);font-family:var(--gse-ui-formControl-helper-helperText-fontFamily);font-size:var(--gse-ui-formControl-helper-helperText-fontSize);line-height:var(--gse-ui-formControl-helper-helperText-lineHeight);color:var(--gse-ui-formControl-helper-defaultColor)}.gux-form-field-help.gux-show{display:flex}.gux-form-field-help .gux-message{flex:0 1 auto;align-self:none;order:0}:host{display:block}::slotted(label){font-family:var(--gse-ui-formControl-label-textBold-fontFamily);font-size:var(--gse-ui-formControl-label-textBold-fontSize);font-weight:var(--gse-ui-formControl-label-textBold-fontWeight);line-height:var(--gse-ui-formControl-label-textBold-lineHeight);color:var(--gse-ui-formControl-label-labelColor)}::slotted(input){flex:1 1 auto;align-self:auto;order:0;inline-size:100%;overflow:hidden;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-overflow:ellipsis;background-color:var(--gse-ui-formControl-input-backgroundColor);border:none;outline:none}::slotted(input)::placeholder{color:var(--gse-ui-formControl-input-placeholderColor);opacity:1}.gux-input-and-error-container{flex-grow:1}.gux-input-and-error-container .gux-input{display:flex;flex-direction:row;flex-wrap:nowrap;align-content:stretch;align-items:center}.gux-input-and-error-container .gux-input .gux-input-container{box-sizing:border-box;display:flex;flex:1 1 auto;flex-direction:row;flex-wrap:nowrap;gap:var(--gse-ui-formControl-input-gap);place-content:stretch center;align-items:center;align-self:auto;order:0;inline-size:100%;block-size:var(--gse-ui-formControl-input-textfield-height);padding:var(--gse-ui-formControl-input-padding);font-family:var(--gse-ui-formControl-input-contentText-fontFamily);font-size:var(--gse-ui-formControl-input-contentText-fontSize);font-weight:var(--gse-ui-formControl-input-contentText-fontWeight);line-height:var(--gse-ui-formControl-input-contentText-lineHeight);color:var(--gse-ui-formControl-input-populatedColor);cursor:text;background-color:var(--gse-ui-formControl-input-backgroundColor);background-image:none;border:var(--gse-ui-formControl-input-default-border-width) var(--gse-ui-formControl-input-default-border-style) var(--gse-ui-formControl-input-default-border-color);border-radius:var(--gse-ui-formControl-input-borderRadius)}.gux-input-and-error-container .gux-input .gux-input-container.gux-disabled{cursor:default;opacity:var(--gse-ui-formControl-input-disabled-opacity)}.gux-input-and-error-container .gux-input .gux-input-container gux-icon[icon-name=search]{flex:0 0 auto;align-self:auto;order:0;inline-size:var(--gse-ui-formControl-input-inputIcon-size);block-size:var(--gse-ui-formControl-input-inputIcon-size);color:var(--gse-ui-formControl-input-inputIcon-defaultColor)}.gux-input-and-error-container .gux-input .gux-input-container:focus-within{border:var(--gse-ui-formControl-input-active-border-width) var(--gse-ui-formControl-input-active-border-style) var(--gse-ui-formControl-input-active-border-color);border-radius:var(--gse-ui-formControl-focusRing-borderRadius);outline:var(--gse-ui-formControl-input-focus-border-width) var(--gse-ui-formControl-input-focus-border-style) var(--gse-ui-formControl-input-focus-border-color);outline-offset:var(--gse-semantic-focusOutline-offset)}.gux-input-and-error-container .gux-input .gux-input-container:hover:not(.gux-disabled){border:var(--gse-ui-formControl-input-hover-border-width) var(--gse-ui-formControl-input-hover-border-style) var(--gse-ui-formControl-input-hover-border-color)}.gux-input-and-error-container .gux-input.gux-input-error .gux-input-container{border-color:var(--gse-ui-formControl-input-error-border-color)}";export{y as gux_form_field_search}
1
+ import{r as e,f as o,h as t,g as r}from"./p-086c5088.js";import{c as i,o as n}from"./p-f4751a15.js";import{O as l}from"./p-e07238b5.js";import{o as a}from"./p-6b12dd16.js";import{p as s}from"./p-a11d5d42.js";import{h as u}from"./p-6d8b4027.js";import{a as f,G as d}from"./p-fbf14218.js";import{G as c,a as p}from"./p-1f6c052d.js";import{h as g,c as h,g as m,v as b,a as x}from"./p-4aaf349e.js";import{t as v}from"./p-bc955f73.js";import{f as C}from"./p-54822e3b.js";import"./p-0934300e.js";import"./p-8eaf8caf.js";import"./p-2c25e2f2.js";const y=class{constructor(o){e(this,o),this.labelPosition=void 0,this.indicatorMark="required",this.computedLabelPosition="above",this.clearable=!0,this.disabled=void 0,this.required=void 0,this.hasContent=!1,this.hasError=!1,this.hasHelp=!1}onMutation(){this.labelInfo=this.root.querySelector("[slot=label-info]"),this.hasError=u(this.root,"error"),this.hasHelp=u(this.root,"help")}handleKeyup(e){var o,t;"Tab"===e.key?this.input.matches(":focus-visible")&&(null===(o=this.labelInfo)||void 0===o||o.showTooltip(),this.hideLabelInfoTimeout=setTimeout((()=>{var e;null===(e=this.labelInfo)||void 0===e||e.hideTooltip()}),6e3)):this.input.matches(":focus-visible")&&(null===(t=this.labelInfo)||void 0===t||t.hideTooltip(),clearTimeout(this.hideLabelInfoTimeout))}onFocusout(){var e;null===(e=this.labelInfo)||void 0===e||e.hideTooltip(),clearTimeout(this.hideLabelInfoTimeout)}async guxForceUpdate(){this.hasContent=g(this.input),this.hasError=u(this.root,"error"),this.hasHelp=u(this.root,"help"),o(this.root)}componentWillLoad(){this.setInput(),this.setLabel(),this.labelInfo=this.root.querySelector("[slot=label-info]"),this.hasError=u(this.root,"error"),this.hasHelp=u(this.root,"help"),v(this.root,{variant:this.variant})}disconnectedCallback(){this.disabledObserver&&this.disabledObserver.disconnect(),this.requiredObserver&&this.requiredObserver.disconnect()}render(){return t(p,{key:"a2336e7651a6f5ff3820c3e2563a7c90c3874c08",labelPosition:this.computedLabelPosition},t(c,{key:"6e097e2824de2fddc0a82bdf8e80cbb3657dcd14",required:this.required,position:this.computedLabelPosition},t("slot",{key:"242a597a2fea8220c73d8b75c0587d25301d5f75",name:"label",onSlotchange:()=>this.setLabel()}),t("gux-form-field-label-indicator",{key:"6fa3c4a77948a92e97ce7c67cf4cc48ac6f1939b",variant:this.indicatorMark,required:this.required}),t("slot",{key:"110f0db57d97eb5eb3a34a2ad9801a6afafb650c",name:"label-info"})),t("div",{key:"3fe4dafec0206dca0a83202086751e5269309b7a",class:"gux-input-and-error-container"},t("div",{key:"786847c177cbe89d548008faf92cd6c506a443da",class:{"gux-input":!0,"gux-input-error":this.hasError}},t("div",{key:"3eb4d02673dc99dbb421ae0c362e15cdc1f67972",class:{"gux-input-container":!0,"gux-disabled":this.disabled},onClick:()=>C(this.input)},t("gux-icon",{key:"3ba253edcb34ab1f074302cad02676e1ae0791df","icon-name":"fa/magnifying-glass-regular",decorative:!0}),t("slot",{key:"070b82abdc3bd54a946a99e62ad03beac74a097a",name:"input"}),this.clearable&&this.hasContent&&!this.disabled&&t("gux-form-field-input-clear-button",{key:"6a0d7bf586fd25c55a2de4c043b1625126306af8",onClick:()=>h(this.input)}))),t(f,{key:"4466425ff65f008288e9d3fba5a9e208a2a1c6a1",show:this.hasError},t("slot",{key:"3b5e6dd26e7024f7a4154eb5aefb1dc51d396cc4",name:"error"})),t(d,{key:"4b062ea601c2d5fc9b0bf234870f520264ced92e",show:!this.hasError&&this.hasHelp},t("slot",{key:"11cf3ac8d19f9609d968b555bd468f138d1da4a3",name:"help"}))))}get variant(){const e=this.labelPosition?this.labelPosition.toLowerCase():"none";return`${this.input.getAttribute("type")}-${e}`}setInput(){this.input=m(this.root,'input[type="search"][slot="input"]'),this.hasContent=g(this.input),s(this.input),this.input.addEventListener("input",(()=>{this.hasContent=g(this.input)})),this.disabled=i(this.input),this.required=this.input.required,this.disabledObserver=n(this.input,(e=>{this.disabled=e})),this.requiredObserver=a(this.input,(e=>{this.required=e})),b(this.root,this.input)}setLabel(){this.label=this.root.querySelector('label[slot="label"]'),this.computedLabelPosition=x(this.label,this.labelPosition)}get root(){return r(this)}};(function(e,o,t,r){var i,n=arguments.length,l=n<3?o:null===r?r=Object.getOwnPropertyDescriptor(o,t):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)l=Reflect.decorate(e,o,t,r);else for(var a=e.length-1;a>=0;a--)(i=e[a])&&(l=(n<3?i(l):n>3?i(o,t,l):i(o,t))||l);n>3&&l&&Object.defineProperty(o,t,l)})([l({childList:!0,subtree:!0})],y.prototype,"onMutation",null),y.style=".gux-form-field-container.gux-beside{display:flex;flex-direction:row}.gux-form-field-error{display:none;flex-direction:row;flex-wrap:nowrap;gap:var(--gse-ui-formControl-helper-gap);place-content:stretch flex-start;padding:var(--gse-ui-formControl-helper-errorPadding);font-family:var(--gse-ui-formControl-helper-helperText-fontFamily);font-size:var(--gse-ui-formControl-helper-helperText-fontSize);line-height:var(--gse-ui-formControl-helper-helperText-lineHeight);color:var(--gse-ui-formControl-helper-errorColor)}.gux-form-field-error.gux-show{display:flex}.gux-form-field-error gux-icon{flex:0 1 auto;order:0;min-inline-size:var(--gse-ui-icon-small-size);min-block-size:var(--gse-ui-icon-small-size);color:var(--gse-ui-formControl-helper-errorColor)}.gux-form-field-error .gux-message{flex:0 1 auto;align-self:auto;order:0}.gux-form-field-label{display:inline-flex;flex:1 0 auto}.gux-form-field-label ::slotted(gux-label-info-beta){padding-inline-start:var(--gse-ui-formControl-formField-gap)}.gux-form-field-label.gux-beside{position:relative;inset-block-start:var(--gse-ui-formControl-input-top);inline-size:fit-content;min-inline-size:var(--gse-ui-formControl-input-textfield-minWidth);max-inline-size:fit-content;margin-inline-end:var(--gse-ui-formControl-group-gapItems)}.gux-form-field-label.gux-above{padding-block-end:var(--gse-ui-formControl-formField-gap)}.gux-form-field-label.gux-screenreader{position:absolute;top:auto;left:-10000px;width:1px;height:1px;overflow:hidden}.gux-form-field-help{display:none;flex-direction:row;flex-wrap:nowrap;place-content:stretch flex-start;align-items:flex-start;justify-content:flex-start;padding-block-start:var(--gse-ui-formControl-formField-gap);font-family:var(--gse-ui-formControl-helper-helperText-fontFamily);font-size:var(--gse-ui-formControl-helper-helperText-fontSize);line-height:var(--gse-ui-formControl-helper-helperText-lineHeight);color:var(--gse-ui-formControl-helper-defaultColor)}.gux-form-field-help.gux-show{display:flex}.gux-form-field-help .gux-message{flex:0 1 auto;align-self:none;order:0}:host{display:block}::slotted(label){font-family:var(--gse-ui-formControl-label-textBold-fontFamily);font-size:var(--gse-ui-formControl-label-textBold-fontSize);font-weight:var(--gse-ui-formControl-label-textBold-fontWeight);line-height:var(--gse-ui-formControl-label-textBold-lineHeight);color:var(--gse-ui-formControl-label-labelColor)}::slotted(input){flex:1 1 auto;align-self:auto;order:0;inline-size:100%;overflow:hidden;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-overflow:ellipsis;background-color:var(--gse-ui-formControl-input-backgroundColor);border:none;outline:none}::slotted(input)::placeholder{color:var(--gse-ui-formControl-input-placeholderColor);opacity:1}.gux-input-and-error-container{flex-grow:1}.gux-input-and-error-container .gux-input{display:flex;flex-direction:row;flex-wrap:nowrap;align-content:stretch;align-items:center}.gux-input-and-error-container .gux-input .gux-input-container{box-sizing:border-box;display:flex;flex:1 1 auto;flex-direction:row;flex-wrap:nowrap;gap:var(--gse-ui-formControl-input-gap);place-content:stretch center;align-items:center;align-self:auto;order:0;inline-size:100%;block-size:var(--gse-ui-formControl-input-textfield-height);padding:var(--gse-ui-formControl-input-padding);font-family:var(--gse-ui-formControl-input-contentText-fontFamily);font-size:var(--gse-ui-formControl-input-contentText-fontSize);font-weight:var(--gse-ui-formControl-input-contentText-fontWeight);line-height:var(--gse-ui-formControl-input-contentText-lineHeight);color:var(--gse-ui-formControl-input-populatedColor);cursor:text;background-color:var(--gse-ui-formControl-input-backgroundColor);background-image:none;border:var(--gse-ui-formControl-input-default-border-width) var(--gse-ui-formControl-input-default-border-style) var(--gse-ui-formControl-input-default-border-color);border-radius:var(--gse-ui-formControl-input-borderRadius)}.gux-input-and-error-container .gux-input .gux-input-container.gux-disabled{cursor:default;opacity:var(--gse-ui-formControl-input-disabled-opacity)}.gux-input-and-error-container .gux-input .gux-input-container gux-icon[icon-name=search]{flex:0 0 auto;align-self:auto;order:0;inline-size:var(--gse-ui-formControl-input-inputIcon-size);block-size:var(--gse-ui-formControl-input-inputIcon-size);color:var(--gse-ui-formControl-input-inputIcon-defaultColor)}.gux-input-and-error-container .gux-input .gux-input-container:focus-within{border:var(--gse-ui-formControl-input-active-border-width) var(--gse-ui-formControl-input-active-border-style) var(--gse-ui-formControl-input-active-border-color);border-radius:var(--gse-ui-formControl-focusRing-borderRadius);outline:var(--gse-ui-formControl-input-focus-border-width) var(--gse-ui-formControl-input-focus-border-style) var(--gse-ui-formControl-input-focus-border-color);outline-offset:var(--gse-semantic-focusOutline-offset)}.gux-input-and-error-container .gux-input .gux-input-container:hover:not(.gux-disabled){border:var(--gse-ui-formControl-input-hover-border-width) var(--gse-ui-formControl-input-hover-border-style) var(--gse-ui-formControl-input-hover-border-color)}.gux-input-and-error-container .gux-input.gux-input-error .gux-input-container{border-color:var(--gse-ui-formControl-input-error-border-color)}";export{y as gux_form_field_search}
@@ -1 +1 @@
1
- import{r as t,h as r,g as i}from"./p-78cb19b9.js";import{t as o}from"./p-4f362e88.js";import{b as e}from"./p-4b423804.js";import{t as a}from"./p-864d63fe.js";import{g as s}from"./p-4202e9f2.js";const g=class{constructor(r){t(this,r),this.disabled=!1,this.highlight="orange",this.value=void 0}onMouseUp(){this.focusParentList()}onMouseOver(){this.focusParentList()}focusParentList(){const t=s("gux-rich-text-editor-list",this.root);t&&null===t.shadowRoot.activeElement&&(this.root.blur(),t.focus({preventScroll:!0}))}async componentWillLoad(){o(this.root,{variant:this.highlight}),this.i18n=await e(this.root,a)}renderTooltip(){if(!this.disabled&&"inherit"!==this.highlight)return r("gux-tooltip-beta",null,r("div",{slot:"content"},this.i18n(`${this.highlight}`)))}render(){return r("div",{key:"c30f320ff38c903e13eb69fc493ba73815153579",class:{"gux-highlight":!0,[`gux-${this.highlight}`]:!0},role:"listitem"},r("button",{key:"58ba38a6ba5ca8a9f256e055e7217670e87e7d10",type:"button","aria-label":this.i18n(`${this.highlight}`),tabIndex:-1,disabled:this.disabled}),this.renderTooltip())}static get delegatesFocus(){return!0}get root(){return i(this)}};g.style=":host{display:block;border-radius:var(--gse-ui-button-borderRadius)}.gux-highlight{inline-size:var(--gse-ui-rte-colorSwatch-width);block-size:var(--gse-ui-rte-colorSwatch-height);border-radius:var(--gse-ui-button-borderRadius)}.gux-highlight button{all:unset;inline-size:100%;block-size:100%;cursor:pointer}.gux-highlight button:focus-visible{outline:var(--gse-semantic-focusOutline-sm-borderWidth) solid var(--gse-semantic-border-focus);border-radius:var(--gse-semantic-focusOutline-sm-borderRadius)}.gux-highlight.gux-orange{background-color:var(--gse-ui-rte-colorSwatch-orange-default)}.gux-highlight.gux-coral{background-color:var(--gse-ui-rte-colorSwatch-coral-default)}.gux-highlight.gux-pear{background-color:var(--gse-ui-rte-colorSwatch-pear-default)}.gux-highlight.gux-raspberry{background-color:var(--gse-ui-rte-colorSwatch-raspberry-default)}.gux-highlight.gux-mango{background-color:var(--gse-ui-rte-colorSwatch-mango-default)}.gux-highlight.gux-blue{background-color:var(--gse-ui-rte-colorSwatch-azure-default)}.gux-highlight.gux-mineral{background-color:var(--gse-ui-rte-colorSwatch-mineral-default)}.gux-highlight.gux-island{background-color:var(--gse-ui-rte-colorSwatch-island-default)}.gux-highlight.gux-inherit{color:inherit;background-color:inherit}";export{g as gux_rich_highlight_list_item}
1
+ import{r as t,h as r,g as i}from"./p-086c5088.js";import{t as o}from"./p-bc955f73.js";import{b as e}from"./p-aa79d816.js";import{t as a}from"./p-864d63fe.js";import{g as s}from"./p-4202e9f2.js";const g=class{constructor(r){t(this,r),this.disabled=!1,this.highlight="orange",this.value=void 0}onMouseUp(){this.focusParentList()}onMouseOver(){this.focusParentList()}focusParentList(){const t=s("gux-rich-text-editor-list",this.root);t&&null===t.shadowRoot.activeElement&&(this.root.blur(),t.focus({preventScroll:!0}))}async componentWillLoad(){o(this.root,{variant:this.highlight}),this.i18n=await e(this.root,a)}renderTooltip(){if(!this.disabled&&"inherit"!==this.highlight)return r("gux-tooltip-beta",null,r("div",{slot:"content"},this.i18n(`${this.highlight}`)))}render(){return r("div",{key:"c30f320ff38c903e13eb69fc493ba73815153579",class:{"gux-highlight":!0,[`gux-${this.highlight}`]:!0},role:"listitem"},r("button",{key:"58ba38a6ba5ca8a9f256e055e7217670e87e7d10",type:"button","aria-label":this.i18n(`${this.highlight}`),tabIndex:-1,disabled:this.disabled}),this.renderTooltip())}static get delegatesFocus(){return!0}get root(){return i(this)}};g.style=":host{display:block;border-radius:var(--gse-ui-button-borderRadius)}.gux-highlight{inline-size:var(--gse-ui-rte-colorSwatch-width);block-size:var(--gse-ui-rte-colorSwatch-height);border-radius:var(--gse-ui-button-borderRadius)}.gux-highlight button{all:unset;inline-size:100%;block-size:100%;cursor:pointer}.gux-highlight button:focus-visible{outline:var(--gse-semantic-focusOutline-sm-borderWidth) solid var(--gse-semantic-border-focus);border-radius:var(--gse-semantic-focusOutline-sm-borderRadius)}.gux-highlight.gux-orange{background-color:var(--gse-ui-rte-colorSwatch-orange-default)}.gux-highlight.gux-coral{background-color:var(--gse-ui-rte-colorSwatch-coral-default)}.gux-highlight.gux-pear{background-color:var(--gse-ui-rte-colorSwatch-pear-default)}.gux-highlight.gux-raspberry{background-color:var(--gse-ui-rte-colorSwatch-raspberry-default)}.gux-highlight.gux-mango{background-color:var(--gse-ui-rte-colorSwatch-mango-default)}.gux-highlight.gux-blue{background-color:var(--gse-ui-rte-colorSwatch-azure-default)}.gux-highlight.gux-mineral{background-color:var(--gse-ui-rte-colorSwatch-mineral-default)}.gux-highlight.gux-island{background-color:var(--gse-ui-rte-colorSwatch-island-default)}.gux-highlight.gux-inherit{color:inherit;background-color:inherit}";export{g as gux_rich_highlight_list_item}
@@ -1 +1 @@
1
- import{r as e,h as i,g as t}from"./p-78cb19b9.js";import{b as o}from"./p-4b423804.js";import{O as r}from"./p-f4a8d565.js";import{o as l}from"./p-e5b1cffc.js";import{h as s}from"./p-6d8b4027.js";import{a,G as n}from"./p-1d9a9724.js";import{G as f,a as h,b as d}from"./p-bc5a89d8.js";import{g as u}from"./p-0268a3e8.js";import{s as c,b as p,a as g}from"./p-4aaf349e.js";import{t as m}from"./p-4f362e88.js";import"./p-4202e9f2.js";import"./p-0934300e.js";import"./p-8eaf8caf.js";import"./p-2c25e2f2.js";const b={required:"Required"};const x=class{constructor(i){e(this,i),this.labelPosition=void 0,this.indicatorMark="required",this.computedLabelPosition="above",this.required=void 0,this.hasError=!1,this.hasHelp=!1,this.hasLabelInfo=!1}watchValue(e){const i=this.root.querySelector("gux-dropdown")||this.root.querySelector("gux-dropdown-multi");i&&(i.hasError=e)}onMutation(){this.labelInfo=this.root.querySelector("[slot=label-info]"),this.hasError=s(this.root,"error"),this.hasHelp=s(this.root,"help")}handleKeyup(e){var i,t;"Tab"===e.key?this.dropdownElement.matches(":focus-within")&&(null===(i=this.labelInfo)||void 0===i||i.showTooltip(),this.hideLabelInfoTimeout=setTimeout((()=>{var e;null===(e=this.labelInfo)||void 0===e||e.hideTooltip()}),6e3)):this.dropdownElement.matches(":focus-within")&&(null===(t=this.labelInfo)||void 0===t||t.hideTooltip(),clearTimeout(this.hideLabelInfoTimeout))}onFocusout(){var e;null===(e=this.labelInfo)||void 0===e||e.hideTooltip(),clearTimeout(this.hideLabelInfoTimeout)}async componentWillLoad(){this.getI18nValue=await o(this.root,b),this.setInput(),this.setLabel(),this.labelInfo=this.root.querySelector("[slot=label-info]"),this.hasError=s(this.root,"error"),this.hasHelp=s(this.root,"help"),this.hasLabelInfo=s(this.root,"label-info"),m(this.root,{variant:this.variant})}disconnectedCallback(){this.requiredObserver&&this.requiredObserver.disconnect()}renderText(e,i=!1){if(i)return" "+e}render(){var e;return i(d,{key:"24c11cf76b967caf723bc0d50034ca1982450201",labelPosition:this.computedLabelPosition},i(h,{key:"1f8350bee643311a6bbfb11bec30b5af63c3caa5"},null===(e=this.label)||void 0===e?void 0:e.textContent,this.renderText(this.getI18nValue("required"),this.required),this.renderText(u(this.root,"error"),this.hasError),this.renderText(u(this.root,"help"),this.hasHelp),this.renderText(u(this.root,"label-info"),this.hasLabelInfo)),i(f,{key:"db64a853d9a3e9b85eddd28affb3b920abe11cbc",position:this.computedLabelPosition,required:this.required},i("slot",{key:"37761aefe67dbbb28dafd2485044dfeea87a0b1c",name:"label",onSlotchange:()=>this.setLabel()}),i("gux-form-field-label-indicator",{key:"7c49f9df2354223d7005c22e7b09dd5aa564bbfa",variant:this.indicatorMark,required:this.required}),i("slot",{key:"0e23cb5b0f860cd0711125b13e55a7eaadc0e09a",name:"label-info"})),i("div",{key:"e3fa2afdd90d98729cab0d816d9f80803d457c40",class:"gux-input-and-error-container"},i("div",{key:"7238001ff7984c82ebe800529359c10e9074ca8d",class:{"gux-input":!0,"gux-input-error":this.hasError}},i("slot",{key:"7c9f77db11bf52459a2277525447fca26643fd6d"})),i(a,{key:"4dba038e763c2d0e96cb611f1786fa0c160bc924",show:this.hasError},i("slot",{key:"4d7a0a2167e494b4fefa444f4ef527a842c1fa0c",name:"error"})),i(n,{key:"2ee006ae770e3af278c4056f4b7fa6fdce490170",show:!this.hasError&&this.hasHelp},i("slot",{key:"0532bc69d0be05d01716b89147d6e461405b473c",name:"help"}))))}get variant(){return`dropdown-${this.labelPosition?this.labelPosition.toLowerCase():"none"}`}setInput(){this.dropdownElement=this.root.querySelector("gux-dropdown")||this.root.querySelector("gux-dropdown-multi"),this.listboxElement=this.root.querySelector("gux-listbox")||this.root.querySelector("gux-listbox-multi"),this.required=this.dropdownElement.required,this.requiredObserver=l(this.dropdownElement,(e=>{this.required=e})),c(this.root,this.listboxElement,"label"),p(this.root,this.listboxElement,"error"),p(this.root,this.listboxElement,"help")}setLabel(){this.label=this.root.querySelector('label[slot="label"]'),this.computedLabelPosition=g(this.label,this.labelPosition)}get root(){return t(this)}static get watchers(){return{hasError:["watchValue"]}}};(function(e,i,t,o){var r,l=arguments.length,s=l<3?i:null===o?o=Object.getOwnPropertyDescriptor(i,t):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(e,i,t,o);else for(var a=e.length-1;a>=0;a--)(r=e[a])&&(s=(l<3?r(s):l>3?r(i,t,s):r(i,t))||s);l>3&&s&&Object.defineProperty(i,t,s)})([r({childList:!0,subtree:!0})],x.prototype,"onMutation",null),x.style=".gux-form-field-fieldset-container{display:flex;min-inline-size:0;padding:0;margin:0;border:none}.gux-form-field-fieldset-container.gux-beside{flex-direction:row}.gux-form-field-fieldset-container.gux-above{flex-direction:column}.gux-form-field-error{display:none;flex-direction:row;flex-wrap:nowrap;gap:var(--gse-ui-formControl-helper-gap);place-content:stretch flex-start;padding:var(--gse-ui-formControl-helper-errorPadding);font-family:var(--gse-ui-formControl-helper-helperText-fontFamily);font-size:var(--gse-ui-formControl-helper-helperText-fontSize);line-height:var(--gse-ui-formControl-helper-helperText-lineHeight);color:var(--gse-ui-formControl-helper-errorColor)}.gux-form-field-error.gux-show{display:flex}.gux-form-field-error gux-icon{flex:0 1 auto;order:0;min-inline-size:var(--gse-ui-icon-small-size);min-block-size:var(--gse-ui-icon-small-size);color:var(--gse-ui-formControl-helper-errorColor)}.gux-form-field-error .gux-message{flex:0 1 auto;align-self:auto;order:0}.gux-form-field-help{display:none;flex-direction:row;flex-wrap:nowrap;place-content:stretch flex-start;align-items:flex-start;justify-content:flex-start;padding-block-start:var(--gse-ui-formControl-formField-gap);font-family:var(--gse-ui-formControl-helper-helperText-fontFamily);font-size:var(--gse-ui-formControl-helper-helperText-fontSize);line-height:var(--gse-ui-formControl-helper-helperText-lineHeight);color:var(--gse-ui-formControl-helper-defaultColor)}.gux-form-field-help.gux-show{display:flex}.gux-form-field-help .gux-message{flex:0 1 auto;align-self:none;order:0}.gux-form-field-visual-label{display:inline-flex;flex:1 0 auto}.gux-form-field-visual-label ::slotted(gux-label-info-beta){padding-inline-start:var(--gse-ui-formControl-formField-gap)}.gux-form-field-visual-label.gux-beside{position:relative;inset-block-start:var(--gse-ui-formControl-input-top);inline-size:fit-content;min-inline-size:var(--gse-ui-formControl-input-textfield-minWidth);max-inline-size:fit-content;margin-inline-end:var(--gse-ui-formControl-group-gapItems)}.gux-form-field-visual-label.gux-above{padding-block-end:var(--gse-ui-formControl-formField-gap)}.gux-form-field-visual-label.gux-screenreader{display:none}.gux-form-field-screenreader-label{position:absolute;top:auto;left:-10000px;width:1px;height:1px;overflow:hidden}:host{display:block}::slotted(label){font-family:var(--gse-ui-formControl-label-textBold-fontFamily);font-size:var(--gse-ui-formControl-label-textBold-fontSize);font-weight:var(--gse-ui-formControl-label-textBold-fontWeight);line-height:var(--gse-ui-formControl-label-textBold-lineHeight);color:var(--gse-ui-formControl-label-labelColor)}.gux-input-and-error-container{flex-grow:1;inline-size:100%}";export{x as gux_form_field_dropdown}
1
+ import{r as e,h as i,g as t}from"./p-086c5088.js";import{b as o}from"./p-aa79d816.js";import{O as r}from"./p-e07238b5.js";import{o as l}from"./p-6b12dd16.js";import{h as s}from"./p-6d8b4027.js";import{a,G as n}from"./p-fbf14218.js";import{G as f,a as h,b as d}from"./p-f75fe956.js";import{g as u}from"./p-0268a3e8.js";import{s as p,b as c,a as g}from"./p-4aaf349e.js";import{t as m}from"./p-bc955f73.js";import"./p-4202e9f2.js";import"./p-0934300e.js";import"./p-8eaf8caf.js";import"./p-2c25e2f2.js";const b={required:"Required"};const x=class{constructor(i){e(this,i),this.labelPosition=void 0,this.indicatorMark="required",this.computedLabelPosition="above",this.required=void 0,this.hasError=!1,this.hasHelp=!1,this.hasLabelInfo=!1}watchValue(e){const i=this.root.querySelector("gux-dropdown")||this.root.querySelector("gux-dropdown-multi");i&&(i.hasError=e)}onMutation(){this.labelInfo=this.root.querySelector("[slot=label-info]"),this.hasError=s(this.root,"error"),this.hasHelp=s(this.root,"help")}handleKeyup(e){var i,t;"Tab"===e.key?this.dropdownElement.matches(":focus-within")&&(null===(i=this.labelInfo)||void 0===i||i.showTooltip(),this.hideLabelInfoTimeout=setTimeout((()=>{var e;null===(e=this.labelInfo)||void 0===e||e.hideTooltip()}),6e3)):this.dropdownElement.matches(":focus-within")&&(null===(t=this.labelInfo)||void 0===t||t.hideTooltip(),clearTimeout(this.hideLabelInfoTimeout))}onFocusout(){var e;null===(e=this.labelInfo)||void 0===e||e.hideTooltip(),clearTimeout(this.hideLabelInfoTimeout)}async componentWillLoad(){this.getI18nValue=await o(this.root,b),this.setInput(),this.setLabel(),this.labelInfo=this.root.querySelector("[slot=label-info]"),this.hasError=s(this.root,"error"),this.hasHelp=s(this.root,"help"),this.hasLabelInfo=s(this.root,"label-info"),m(this.root,{variant:this.variant})}disconnectedCallback(){this.requiredObserver&&this.requiredObserver.disconnect()}renderText(e,i=!1){if(i)return" "+e}render(){var e;return i(d,{key:"24c11cf76b967caf723bc0d50034ca1982450201",labelPosition:this.computedLabelPosition},i(h,{key:"1f8350bee643311a6bbfb11bec30b5af63c3caa5"},null===(e=this.label)||void 0===e?void 0:e.textContent,this.renderText(this.getI18nValue("required"),this.required),this.renderText(u(this.root,"error"),this.hasError),this.renderText(u(this.root,"help"),this.hasHelp),this.renderText(u(this.root,"label-info"),this.hasLabelInfo)),i(f,{key:"db64a853d9a3e9b85eddd28affb3b920abe11cbc",position:this.computedLabelPosition,required:this.required},i("slot",{key:"37761aefe67dbbb28dafd2485044dfeea87a0b1c",name:"label",onSlotchange:()=>this.setLabel()}),i("gux-form-field-label-indicator",{key:"7c49f9df2354223d7005c22e7b09dd5aa564bbfa",variant:this.indicatorMark,required:this.required}),i("slot",{key:"0e23cb5b0f860cd0711125b13e55a7eaadc0e09a",name:"label-info"})),i("div",{key:"e3fa2afdd90d98729cab0d816d9f80803d457c40",class:"gux-input-and-error-container"},i("div",{key:"7238001ff7984c82ebe800529359c10e9074ca8d",class:{"gux-input":!0,"gux-input-error":this.hasError}},i("slot",{key:"7c9f77db11bf52459a2277525447fca26643fd6d"})),i(a,{key:"4dba038e763c2d0e96cb611f1786fa0c160bc924",show:this.hasError},i("slot",{key:"4d7a0a2167e494b4fefa444f4ef527a842c1fa0c",name:"error"})),i(n,{key:"2ee006ae770e3af278c4056f4b7fa6fdce490170",show:!this.hasError&&this.hasHelp},i("slot",{key:"0532bc69d0be05d01716b89147d6e461405b473c",name:"help"}))))}get variant(){return`dropdown-${this.labelPosition?this.labelPosition.toLowerCase():"none"}`}setInput(){this.dropdownElement=this.root.querySelector("gux-dropdown")||this.root.querySelector("gux-dropdown-multi"),this.listboxElement=this.root.querySelector("gux-listbox")||this.root.querySelector("gux-listbox-multi"),this.required=this.dropdownElement.required,this.requiredObserver=l(this.dropdownElement,(e=>{this.required=e})),p(this.root,this.listboxElement,"label"),c(this.root,this.listboxElement,"error"),c(this.root,this.listboxElement,"help")}setLabel(){this.label=this.root.querySelector('label[slot="label"]'),this.computedLabelPosition=g(this.label,this.labelPosition)}get root(){return t(this)}static get watchers(){return{hasError:["watchValue"]}}};(function(e,i,t,o){var r,l=arguments.length,s=l<3?i:null===o?o=Object.getOwnPropertyDescriptor(i,t):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(e,i,t,o);else for(var a=e.length-1;a>=0;a--)(r=e[a])&&(s=(l<3?r(s):l>3?r(i,t,s):r(i,t))||s);l>3&&s&&Object.defineProperty(i,t,s)})([r({childList:!0,subtree:!0})],x.prototype,"onMutation",null),x.style=".gux-form-field-fieldset-container{display:flex;min-inline-size:0;padding:0;margin:0;border:none}.gux-form-field-fieldset-container.gux-beside{flex-direction:row}.gux-form-field-fieldset-container.gux-above{flex-direction:column}.gux-form-field-error{display:none;flex-direction:row;flex-wrap:nowrap;gap:var(--gse-ui-formControl-helper-gap);place-content:stretch flex-start;padding:var(--gse-ui-formControl-helper-errorPadding);font-family:var(--gse-ui-formControl-helper-helperText-fontFamily);font-size:var(--gse-ui-formControl-helper-helperText-fontSize);line-height:var(--gse-ui-formControl-helper-helperText-lineHeight);color:var(--gse-ui-formControl-helper-errorColor)}.gux-form-field-error.gux-show{display:flex}.gux-form-field-error gux-icon{flex:0 1 auto;order:0;min-inline-size:var(--gse-ui-icon-small-size);min-block-size:var(--gse-ui-icon-small-size);color:var(--gse-ui-formControl-helper-errorColor)}.gux-form-field-error .gux-message{flex:0 1 auto;align-self:auto;order:0}.gux-form-field-help{display:none;flex-direction:row;flex-wrap:nowrap;place-content:stretch flex-start;align-items:flex-start;justify-content:flex-start;padding-block-start:var(--gse-ui-formControl-formField-gap);font-family:var(--gse-ui-formControl-helper-helperText-fontFamily);font-size:var(--gse-ui-formControl-helper-helperText-fontSize);line-height:var(--gse-ui-formControl-helper-helperText-lineHeight);color:var(--gse-ui-formControl-helper-defaultColor)}.gux-form-field-help.gux-show{display:flex}.gux-form-field-help .gux-message{flex:0 1 auto;align-self:none;order:0}.gux-form-field-visual-label{display:inline-flex;flex:1 0 auto}.gux-form-field-visual-label ::slotted(gux-label-info-beta){padding-inline-start:var(--gse-ui-formControl-formField-gap)}.gux-form-field-visual-label.gux-beside{position:relative;inset-block-start:var(--gse-ui-formControl-input-top);inline-size:fit-content;min-inline-size:var(--gse-ui-formControl-input-textfield-minWidth);max-inline-size:fit-content;margin-inline-end:var(--gse-ui-formControl-group-gapItems)}.gux-form-field-visual-label.gux-above{padding-block-end:var(--gse-ui-formControl-formField-gap)}.gux-form-field-visual-label.gux-screenreader{display:none}.gux-form-field-screenreader-label{position:absolute;top:auto;left:-10000px;width:1px;height:1px;overflow:hidden}:host{display:block}::slotted(label){font-family:var(--gse-ui-formControl-label-textBold-fontFamily);font-size:var(--gse-ui-formControl-label-textBold-fontSize);font-weight:var(--gse-ui-formControl-label-textBold-fontWeight);line-height:var(--gse-ui-formControl-label-textBold-lineHeight);color:var(--gse-ui-formControl-label-labelColor)}.gux-input-and-error-container{flex-grow:1;inline-size:100%}";export{x as gux_form_field_dropdown}
@@ -1 +1 @@
1
- import{r as e,h as t,g as r}from"./p-78cb19b9.js";import{b as a,g as n}from"./p-4b423804.js";import{u as i,a as s}from"./p-2319558c.js";import{s as o}from"./p-2c25e2f2.js";import{b as h}from"./p-cf0e7d3b.js";import{g as u,b as c,a as l}from"./p-67d92675.js";import"./p-4202e9f2.js";import"./p-43af726d.js";const d={changeYear:"Current year is {currentYear}, Click to change year to {changeYear}"},g=class{constructor(t){e(this,t),this.value=void 0,this.min=void 0,this.max=void 0,this.year=void 0,this.locale=void 0,this.previewValue=void 0,this.expanded=!0}onValueUpdate(e){const{year:t}=u(e);this.year=t}async guxFocus(e){this.expanded=!0,e=e||c();const{year:t}=u(e);this.year=t,h((()=>{const t=this.root.shadowRoot.querySelector(`gux-month-list-item[value="${e}"]`);t&&t.focus()}))}onKeyDown(e){if("Tab"===e.key){if(e.shiftKey)return;(this.nextYearElement.matches(":focus-visible")||this.previousYearElement.matches(":focus-visible")&&this.nextYearElement.disabled)&&(this.focusSelectedMonth(),e.preventDefault())}}focusSelectedMonth(){const e=this.root.shadowRoot.querySelector(`gux-month-list-item[value="${this.previewValue}"]`);if(e&&e.matches(":focus-visible"))null==e||e.focus();else{const e=this.root.shadowRoot.querySelectorAll("gux-month-list-item"),t=Array.from(e).find((e=>!e.disabled));null==t||t.focus()}}nextYearElementOnBlur(e){e.target.disabled&&!e.relatedTarget&&(this.focusSelectedMonth(),e.preventDefault())}async componentWillLoad(){this.i18n=await a(this.root,d),this.locale=i()?s(this.root):n(this.root),this.value?(this.year=u(this.value).year,this.previewValue=this.value):this.year=u(c()).year}updateValue(e){this.value=e,this.previewValue=this.value,o(this.root,"input"),o(this.root,"change")}isOutOfBounds(e){return this.max&&this.max<e||this.min&&this.min>e}onMonthClick(e){this.isOutOfBounds(e)||this.updateValue(e)}isCurrentMonth(e){return u(c()).year==this.year&&u(c()).month==e}getMonthAriaLabel(e){const{year:t,month:r}=u(e);return new Date(Number(t),Number(r)-1).toLocaleDateString(this.locale,{year:"numeric",month:"long"})}getYearLabel(e){return new Date(Number(e),5).toLocaleDateString(this.locale,{year:"numeric"})}isSelectedMonth(e){return e===this.value}isAriaSelectedMonth(e){return!!this.isSelectedMonth(e)&&"true"}changeYear(e){if(this.year=(parseInt(this.year)+e).toString(),this.value){const e=u(this.value).month,t=l(this.year,e);this.previewValue=t}}isPreviousYearLessThanMinYear(e,t){return(parseInt(e)-1).toString()<(t&&u(t).year)}isNextYearGreaterThanMaxYear(e,t){return(parseInt(e)+1).toString()>(t&&u(t).year)}getMonthShortName(e,t){return new Date(Number(e),Number(t)-1).toLocaleDateString(this.locale,{month:"short"})}renderHeader(){return t("div",{class:"gux-year-header"},t("button",{type:"button",class:"gux-year-change",onClick:()=>this.changeYear(-1),disabled:this.isPreviousYearLessThanMinYear(this.year,this.min),ref:e=>this.previousYearElement=e},t("gux-icon",{"icon-name":"custom/chevron-left-small-regular","screenreader-text":this.i18n("changeYear",{currentYear:parseInt(this.year),changeYear:parseInt(this.year)-1}),size:"small"})),t("div",null,this.getYearLabel(this.year)),t("button",{type:"button",class:"gux-year-change",onClick:()=>this.changeYear(1),disabled:this.isNextYearGreaterThanMaxYear(this.year,this.max),ref:e=>this.nextYearElement=e,onBlur:this.nextYearElementOnBlur.bind(this)},t("gux-icon",{"icon-name":"custom/chevron-right-small-regular","screenreader-text":this.i18n("changeYear",{currentYear:parseInt(this.year),changeYear:parseInt(this.year)+1}),size:"small"})))}renderMonths(){const e=Array.from(new Array(12),((e,t)=>String(t+1).padStart(2,"0"))).map((e=>{const r=l(this.year,e);return t("gux-month-list-item",{class:{"gux-current-month":this.isCurrentMonth(e)},value:r,selected:this.isSelectedMonth(r),"aria-selected":this.isAriaSelectedMonth(r),"aria-label":this.getMonthAriaLabel(r),onClick:()=>this.onMonthClick(r),disabled:this.isOutOfBounds(r)},this.getMonthShortName(this.year,e))}));return t("gux-month-list",null,e)}render(){return t("div",{key:"84a2981890cf379e96d4b2d43d9371ea939d5806",class:{"gux-hidden":!this.expanded,"gux-month-calendar":!0}},this.renderHeader(),this.renderMonths())}static get delegatesFocus(){return!0}get root(){return r(this)}static get watchers(){return{value:["onValueUpdate"]}}};g.style=".gux-month-calendar{flex-wrap:wrap;inline-size:var(--gse-ui-calendarMenu-width);box-shadow:var(--gse-ui-calendarMenu-boxShadow)}.gux-month-calendar.gux-hidden{display:none}.gux-month-calendar .gux-current-month{font-family:var(--gse-ui-calendarMenu-month-currentText-fontFamily);font-size:var(--gse-ui-calendarMenu-month-currentText-fontSize);font-weight:var(--gse-ui-calendarMenu-month-currentText-fontWeight);line-height:var(--gse-ui-calendarMenu-month-currentText-lineHeight);color:var(--gse-ui-calendarMenu-month-default-foregroundColor)}.gux-month-calendar .gux-year-header{position:relative;display:flex;align-items:center;justify-content:space-between;block-size:var(--gse-ui-calendarMenu-month-single-header-height);padding:var(--gse-ui-calendarMenu-header-padding);font-family:var(--gse-ui-calendarMenu-day-headerText-fontFamily);font-size:var(--gse-ui-calendarMenu-day-headerText-fontSize);font-weight:var(--gse-ui-calendarMenu-day-headerText-fontWeight);line-height:var(--gse-ui-calendarMenu-day-headerText-lineHeight);color:var(--gse-ui-calendarMenu-header-foregroundColor);background-color:var(--gse-ui-calendarMenu-header-backgroundColor);border-radius:var(--gse-ui-calendarMenu-single-header-borderRadius)}.gux-month-calendar .gux-year-header button{padding:var(--gse-ui-calendarMenu-header-arrow-padding);color:inherit;cursor:pointer;background:none;border:none;outline:none}.gux-month-calendar .gux-year-header button:focus-visible{border-radius:calc(var(--gse-semantic-focusOutline-sm-borderRadius) - var(--gse-semantic-focusOutline-offset));outline:var(--gse-semantic-focusOutline-md-borderWidth) solid var(--gse-ui-color-focus);outline-offset:var(--gse-semantic-focusOutline-offset)}.gux-month-calendar .gux-year-header button.gux-year-change:disabled{cursor:default;opacity:var(--gse-ui-calendarMenu-disabled-opacity)}.gux-month-calendar .gux-year-header button gux-icon{pointer-events:none}";export{g as gux_month_calendar}
1
+ import{r as e,h as t,g as r}from"./p-086c5088.js";import{b as a,g as n}from"./p-aa79d816.js";import{u as i,a as s}from"./p-2319558c.js";import{s as o}from"./p-2c25e2f2.js";import{b as h}from"./p-cf0e7d3b.js";import{g as u,b as c,a as l}from"./p-67d92675.js";import"./p-4202e9f2.js";import"./p-43af726d.js";const d={changeYear:"Current year is {currentYear}, Click to change year to {changeYear}"},g=class{constructor(t){e(this,t),this.value=void 0,this.min=void 0,this.max=void 0,this.year=void 0,this.locale=void 0,this.previewValue=void 0,this.expanded=!0}onValueUpdate(e){const{year:t}=u(e);this.year=t}async guxFocus(e){this.expanded=!0,e=e||c();const{year:t}=u(e);this.year=t,h((()=>{const t=this.root.shadowRoot.querySelector(`gux-month-list-item[value="${e}"]`);t&&t.focus()}))}onKeyDown(e){if("Tab"===e.key){if(e.shiftKey)return;(this.nextYearElement.matches(":focus-visible")||this.previousYearElement.matches(":focus-visible")&&this.nextYearElement.disabled)&&(this.focusSelectedMonth(),e.preventDefault())}}focusSelectedMonth(){const e=this.root.shadowRoot.querySelector(`gux-month-list-item[value="${this.previewValue}"]`);if(e&&e.matches(":focus-visible"))null==e||e.focus();else{const e=this.root.shadowRoot.querySelectorAll("gux-month-list-item"),t=Array.from(e).find((e=>!e.disabled));null==t||t.focus()}}nextYearElementOnBlur(e){e.target.disabled&&!e.relatedTarget&&(this.focusSelectedMonth(),e.preventDefault())}async componentWillLoad(){this.i18n=await a(this.root,d),this.locale=i()?s(this.root):n(this.root),this.value?(this.year=u(this.value).year,this.previewValue=this.value):this.year=u(c()).year}updateValue(e){this.value=e,this.previewValue=this.value,o(this.root,"input"),o(this.root,"change")}isOutOfBounds(e){return this.max&&this.max<e||this.min&&this.min>e}onMonthClick(e){this.isOutOfBounds(e)||this.updateValue(e)}isCurrentMonth(e){return u(c()).year==this.year&&u(c()).month==e}getMonthAriaLabel(e){const{year:t,month:r}=u(e);return new Date(Number(t),Number(r)-1).toLocaleDateString(this.locale,{year:"numeric",month:"long"})}getYearLabel(e){return new Date(Number(e),5).toLocaleDateString(this.locale,{year:"numeric"})}isSelectedMonth(e){return e===this.value}isAriaSelectedMonth(e){return!!this.isSelectedMonth(e)&&"true"}changeYear(e){if(this.year=(parseInt(this.year)+e).toString(),this.value){const e=u(this.value).month,t=l(this.year,e);this.previewValue=t}}isPreviousYearLessThanMinYear(e,t){return(parseInt(e)-1).toString()<(t&&u(t).year)}isNextYearGreaterThanMaxYear(e,t){return(parseInt(e)+1).toString()>(t&&u(t).year)}getMonthShortName(e,t){return new Date(Number(e),Number(t)-1).toLocaleDateString(this.locale,{month:"short"})}renderHeader(){return t("div",{class:"gux-year-header"},t("button",{type:"button",class:"gux-year-change",onClick:()=>this.changeYear(-1),disabled:this.isPreviousYearLessThanMinYear(this.year,this.min),ref:e=>this.previousYearElement=e},t("gux-icon",{"icon-name":"custom/chevron-left-small-regular","screenreader-text":this.i18n("changeYear",{currentYear:parseInt(this.year),changeYear:parseInt(this.year)-1}),size:"small"})),t("div",null,this.getYearLabel(this.year)),t("button",{type:"button",class:"gux-year-change",onClick:()=>this.changeYear(1),disabled:this.isNextYearGreaterThanMaxYear(this.year,this.max),ref:e=>this.nextYearElement=e,onBlur:this.nextYearElementOnBlur.bind(this)},t("gux-icon",{"icon-name":"custom/chevron-right-small-regular","screenreader-text":this.i18n("changeYear",{currentYear:parseInt(this.year),changeYear:parseInt(this.year)+1}),size:"small"})))}renderMonths(){const e=Array.from(new Array(12),((e,t)=>String(t+1).padStart(2,"0"))).map((e=>{const r=l(this.year,e);return t("gux-month-list-item",{class:{"gux-current-month":this.isCurrentMonth(e)},value:r,selected:this.isSelectedMonth(r),"aria-selected":this.isAriaSelectedMonth(r),"aria-label":this.getMonthAriaLabel(r),onClick:()=>this.onMonthClick(r),disabled:this.isOutOfBounds(r)},this.getMonthShortName(this.year,e))}));return t("gux-month-list",null,e)}render(){return t("div",{key:"84a2981890cf379e96d4b2d43d9371ea939d5806",class:{"gux-hidden":!this.expanded,"gux-month-calendar":!0}},this.renderHeader(),this.renderMonths())}static get delegatesFocus(){return!0}get root(){return r(this)}static get watchers(){return{value:["onValueUpdate"]}}};g.style=".gux-month-calendar{flex-wrap:wrap;inline-size:var(--gse-ui-calendarMenu-width);box-shadow:var(--gse-ui-calendarMenu-boxShadow)}.gux-month-calendar.gux-hidden{display:none}.gux-month-calendar .gux-current-month{font-family:var(--gse-ui-calendarMenu-month-currentText-fontFamily);font-size:var(--gse-ui-calendarMenu-month-currentText-fontSize);font-weight:var(--gse-ui-calendarMenu-month-currentText-fontWeight);line-height:var(--gse-ui-calendarMenu-month-currentText-lineHeight);color:var(--gse-ui-calendarMenu-month-default-foregroundColor)}.gux-month-calendar .gux-year-header{position:relative;display:flex;align-items:center;justify-content:space-between;block-size:var(--gse-ui-calendarMenu-month-single-header-height);padding:var(--gse-ui-calendarMenu-header-padding);font-family:var(--gse-ui-calendarMenu-day-headerText-fontFamily);font-size:var(--gse-ui-calendarMenu-day-headerText-fontSize);font-weight:var(--gse-ui-calendarMenu-day-headerText-fontWeight);line-height:var(--gse-ui-calendarMenu-day-headerText-lineHeight);color:var(--gse-ui-calendarMenu-header-foregroundColor);background-color:var(--gse-ui-calendarMenu-header-backgroundColor);border-radius:var(--gse-ui-calendarMenu-single-header-borderRadius)}.gux-month-calendar .gux-year-header button{padding:var(--gse-ui-calendarMenu-header-arrow-padding);color:inherit;cursor:pointer;background:none;border:none;outline:none}.gux-month-calendar .gux-year-header button:focus-visible{border-radius:calc(var(--gse-semantic-focusOutline-sm-borderRadius) - var(--gse-semantic-focusOutline-offset));outline:var(--gse-semantic-focusOutline-md-borderWidth) solid var(--gse-ui-color-focus);outline-offset:var(--gse-semantic-focusOutline-offset)}.gux-month-calendar .gux-year-header button.gux-year-change:disabled{cursor:default;opacity:var(--gse-ui-calendarMenu-disabled-opacity)}.gux-month-calendar .gux-year-header button gux-icon{pointer-events:none}";export{g as gux_month_calendar}
@@ -1 +1 @@
1
- import{r as o,h as t,g as s}from"./p-78cb19b9.js";import{t as r}from"./p-4f362e88.js";const c=class{constructor(t){o(this,t),this.singleOpenSection=!1}handleGuxopened(o){this.singleOpenSection&&this.getAccordionSections().forEach((t=>{t!==o.target&&this.closeSection(t)}))}componentWillLoad(){this.singleOpenSection&&this.getAccordionSections().reduceRight(((o,t)=>(o&&this.closeSection(t),o||t.open)),!1),r(this.root)}getAccordionSections(){return Array.from(this.root.children)}closeSection(o){o.disabled||(o.open=!1)}render(){return t("slot",{key:"2bd07707cf323ba6568223a125cec4b24d6197d5"})}get root(){return s(this)}};c.style="gux-accordion{-custom-noop:noop}";export{c as gux_accordion}
1
+ import{r as o,h as t,g as s}from"./p-086c5088.js";import{t as r}from"./p-bc955f73.js";const c=class{constructor(t){o(this,t),this.singleOpenSection=!1}handleGuxopened(o){this.singleOpenSection&&this.getAccordionSections().forEach((t=>{t!==o.target&&this.closeSection(t)}))}componentWillLoad(){this.singleOpenSection&&this.getAccordionSections().reduceRight(((o,t)=>(o&&this.closeSection(t),o||t.open)),!1),r(this.root)}getAccordionSections(){return Array.from(this.root.children)}closeSection(o){o.disabled||(o.open=!1)}render(){return t("slot",{key:"2bd07707cf323ba6568223a125cec4b24d6197d5"})}get root(){return s(this)}};c.style="gux-accordion{-custom-noop:noop}";export{c as gux_accordion}
@@ -1 +1 @@
1
- import{r as e,h as r,g as o}from"./p-78cb19b9.js";import{t as a}from"./p-4f362e88.js";import{b as g}from"./p-4b423804.js";import"./p-4202e9f2.js";const i={info:"badge with label: {label}, accent: info","info-bold":"badge with label: {label}, accent: info bold",success:"badge with label: {label}, accent: success","success-bold":"badge with label: {label}, accent: success bold",warning:"badge with label: {label}, accent: warning","warning-bold":"badge with label: {label}, accent: warning bold",error:"badge with label: {label}, accent: error","error-bold":"badge with label: {label}, accent: error bold",inherit:"badge with label: {label}","inherit-bold":"badge with label: {label}, bold"},l=class{constructor(r){e(this,r),this.accent="info",this.bold=!1,this.label=void 0}onSlotChange(e){const r=e.composedPath()[0].assignedNodes();this.label=r.map((e=>e.textContent)).join("")}renderBadgeTitle(){return r("gux-tooltip-title",{"aria-hidden":"true"},r("span",null,r("slot",{"aria-hidden":"true",onSlotchange:this.onSlotChange.bind(this)})))}renderSrText(){return r("div",{class:"gux-sr-only"},this.i18n(this.getVariant(),{label:this.label}))}getVariant(){return`${this.accent}${this.bold?"-bold":""}`}async componentWillLoad(){a(this.root),this.i18n=await g(this.root,i)}render(){return r("div",{key:"d61c4e2e2353b3385d8fbcdc06813fcac52d3105",class:{"gux-badge":!0,[`gux-${this.accent}`]:!0,"gux-bold":this.bold}},this.renderBadgeTitle(),this.renderSrText())}get root(){return o(this)}};l.style=":host{display:inline-block;block-size:fit-content;border-radius:var(--gse-ui-badge-borderRadius)}.gux-badge{display:flex;flex-direction:row;gap:var(--gse-ui-badge-gap);align-items:center;justify-content:center;block-size:var(--gse-ui-badge-height);padding:var(--gse-ui-badge-padding);font-family:var(--gse-ui-badge-text-fontFamily);font-size:var(--gse-ui-badge-text-fontSize);font-weight:var(--gse-ui-badge-text-fontWeight);line-height:var(--gse-ui-badge-text-lineHeight);border-radius:var(--gse-ui-badge-borderRadius)}.gux-badge gux-tooltip-title{white-space:nowrap}.gux-badge .gux-sr-only:not(:focus):not(:active){position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);clip-path:inset(50%);white-space:nowrap}.gux-badge.gux-info{color:var(--gse-ui-badge-info-regular-foregroundColor);background-color:var(--gse-ui-badge-info-regular-backgroundColor)}.gux-badge.gux-info.gux-bold{color:var(--gse-ui-badge-info-bold-foregroundColor);background-color:var(--gse-ui-badge-info-bold-backgroundColor)}.gux-badge.gux-error{color:var(--gse-ui-badge-error-regular-foregroundColor);background-color:var(--gse-ui-badge-error-regular-backgroundColor)}.gux-badge.gux-error.gux-bold{color:var(--gse-ui-badge-error-bold-foregroundColor);background-color:var(--gse-ui-badge-error-bold-backgroundColor)}.gux-badge.gux-warning{color:var(--gse-ui-badge-warning-regular-foregroundColor);background-color:var(--gse-ui-badge-warning-regular-backgroundColor)}.gux-badge.gux-warning.gux-bold{color:var(--gse-ui-badge-warning-bold-foregroundColor);background-color:var(--gse-ui-badge-warning-bold-backgroundColor)}.gux-badge.gux-success{color:var(--gse-ui-badge-success-regular-foregroundColor);background-color:var(--gse-ui-badge-success-regular-backgroundColor)}.gux-badge.gux-success.gux-bold{color:var(--gse-ui-badge-success-bold-foregroundColor);background-color:var(--gse-ui-badge-success-bold-backgroundColor)}.gux-badge.gux-inherit{color:inherit;background-color:inherit}";export{l as gux_badge}
1
+ import{r as e,h as r,g as o}from"./p-086c5088.js";import{t as a}from"./p-bc955f73.js";import{b as g}from"./p-aa79d816.js";import"./p-4202e9f2.js";const i={info:"badge with label: {label}, accent: info","info-bold":"badge with label: {label}, accent: info bold",success:"badge with label: {label}, accent: success","success-bold":"badge with label: {label}, accent: success bold",warning:"badge with label: {label}, accent: warning","warning-bold":"badge with label: {label}, accent: warning bold",error:"badge with label: {label}, accent: error","error-bold":"badge with label: {label}, accent: error bold",inherit:"badge with label: {label}","inherit-bold":"badge with label: {label}, bold"},l=class{constructor(r){e(this,r),this.accent="info",this.bold=!1,this.label=void 0}onSlotChange(e){const r=e.composedPath()[0].assignedNodes();this.label=r.map((e=>e.textContent)).join("")}renderBadgeTitle(){return r("gux-tooltip-title",{"aria-hidden":"true"},r("span",null,r("slot",{"aria-hidden":"true",onSlotchange:this.onSlotChange.bind(this)})))}renderSrText(){return r("div",{class:"gux-sr-only"},this.i18n(this.getVariant(),{label:this.label}))}getVariant(){return`${this.accent}${this.bold?"-bold":""}`}async componentWillLoad(){a(this.root),this.i18n=await g(this.root,i)}render(){return r("div",{key:"d61c4e2e2353b3385d8fbcdc06813fcac52d3105",class:{"gux-badge":!0,[`gux-${this.accent}`]:!0,"gux-bold":this.bold}},this.renderBadgeTitle(),this.renderSrText())}get root(){return o(this)}};l.style=":host{display:inline-block;block-size:fit-content;border-radius:var(--gse-ui-badge-borderRadius)}.gux-badge{display:flex;flex-direction:row;gap:var(--gse-ui-badge-gap);align-items:center;justify-content:center;block-size:var(--gse-ui-badge-height);padding:var(--gse-ui-badge-padding);font-family:var(--gse-ui-badge-text-fontFamily);font-size:var(--gse-ui-badge-text-fontSize);font-weight:var(--gse-ui-badge-text-fontWeight);line-height:var(--gse-ui-badge-text-lineHeight);border-radius:var(--gse-ui-badge-borderRadius)}.gux-badge gux-tooltip-title{white-space:nowrap}.gux-badge .gux-sr-only:not(:focus):not(:active){position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);clip-path:inset(50%);white-space:nowrap}.gux-badge.gux-info{color:var(--gse-ui-badge-info-regular-foregroundColor);background-color:var(--gse-ui-badge-info-regular-backgroundColor)}.gux-badge.gux-info.gux-bold{color:var(--gse-ui-badge-info-bold-foregroundColor);background-color:var(--gse-ui-badge-info-bold-backgroundColor)}.gux-badge.gux-error{color:var(--gse-ui-badge-error-regular-foregroundColor);background-color:var(--gse-ui-badge-error-regular-backgroundColor)}.gux-badge.gux-error.gux-bold{color:var(--gse-ui-badge-error-bold-foregroundColor);background-color:var(--gse-ui-badge-error-bold-backgroundColor)}.gux-badge.gux-warning{color:var(--gse-ui-badge-warning-regular-foregroundColor);background-color:var(--gse-ui-badge-warning-regular-backgroundColor)}.gux-badge.gux-warning.gux-bold{color:var(--gse-ui-badge-warning-bold-foregroundColor);background-color:var(--gse-ui-badge-warning-bold-backgroundColor)}.gux-badge.gux-success{color:var(--gse-ui-badge-success-regular-foregroundColor);background-color:var(--gse-ui-badge-success-regular-backgroundColor)}.gux-badge.gux-success.gux-bold{color:var(--gse-ui-badge-success-bold-foregroundColor);background-color:var(--gse-ui-badge-success-bold-backgroundColor)}.gux-badge.gux-inherit{color:inherit;background-color:inherit}";export{l as gux_badge}