genesys-spark-components 4.123.0 → 4.124.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 (432) hide show
  1. package/dist/cjs/gux-accordion.cjs.entry.js +1 -1
  2. package/dist/cjs/gux-action-button.cjs.entry.js +1 -1
  3. package/dist/cjs/gux-action-toast-legacy.cjs.entry.js +1 -1
  4. package/dist/cjs/gux-advanced-dropdown-legacy.cjs.entry.js +1 -1
  5. package/dist/cjs/gux-announce-beta.cjs.entry.js +1 -1
  6. package/dist/cjs/gux-avatar-beta.cjs.entry.js +1 -1
  7. package/dist/cjs/gux-avatar-change-photo-beta.cjs.entry.js +1 -1
  8. package/dist/cjs/gux-avatar-group-add-item-beta_3.cjs.entry.js +1 -1
  9. package/dist/cjs/gux-avatar-group-beta.cjs.entry.js +1 -1
  10. package/dist/cjs/gux-avatar-group-item-beta.cjs.entry.js +1 -1
  11. package/dist/cjs/gux-badge.cjs.entry.js +1 -1
  12. package/dist/cjs/gux-blank-state.cjs.entry.js +1 -1
  13. package/dist/cjs/gux-breadcrumbs.cjs.entry.js +1 -1
  14. package/dist/cjs/gux-button-multi.cjs.entry.js +1 -1
  15. package/dist/cjs/gux-button-slot.cjs.entry.js +1 -1
  16. package/dist/cjs/gux-button_2.cjs.entry.js +1 -1
  17. package/dist/cjs/gux-calendar.cjs.entry.js +1 -1
  18. package/dist/cjs/gux-card.cjs.entry.js +1 -1
  19. package/dist/cjs/gux-column-manager.cjs.entry.js +1 -1
  20. package/dist/cjs/gux-content-search.cjs.entry.js +1 -1
  21. package/dist/cjs/gux-context-menu.cjs.entry.js +1 -1
  22. package/dist/cjs/gux-copy-to-clipboard.cjs.entry.js +1 -1
  23. package/dist/cjs/gux-create-option.cjs.entry.js +2 -2
  24. package/dist/cjs/gux-date-beta.cjs.entry.js +1 -1
  25. package/dist/cjs/gux-date-time-beta.cjs.entry.js +1 -1
  26. package/dist/cjs/gux-datepicker.cjs.entry.js +1 -1
  27. package/dist/cjs/gux-disclosure-button-legacy.cjs.entry.js +1 -1
  28. package/dist/cjs/gux-dismiss-button.cjs.entry.js +1 -1
  29. package/dist/cjs/gux-dropdown-multi.cjs.entry.js +1 -1
  30. package/dist/cjs/gux-dropdown_3.cjs.entry.js +1 -1
  31. package/dist/cjs/gux-file-list-item.cjs.entry.js +1 -1
  32. package/dist/cjs/gux-flag-icon-beta.cjs.entry.js +1 -1
  33. package/dist/cjs/gux-flyout-menu.cjs.entry.js +1 -1
  34. package/dist/cjs/gux-form-field-checkbox-group-beta.cjs.entry.js +3 -3
  35. package/dist/cjs/gux-form-field-checkbox.cjs.entry.js +3 -3
  36. package/dist/cjs/gux-form-field-color.cjs.entry.js +3 -3
  37. package/dist/cjs/gux-form-field-dropdown.cjs.entry.js +3 -3
  38. package/dist/cjs/{gux-form-field-error-b04c6f58.js → gux-form-field-error-ccb568cb.js} +1 -1
  39. package/dist/cjs/gux-form-field-file-beta.cjs.entry.js +3 -3
  40. package/dist/cjs/gux-form-field-file.cjs.entry.js +3 -3
  41. package/dist/cjs/gux-form-field-input-clear-button.cjs.entry.js +3 -3
  42. package/dist/cjs/gux-form-field-label-indicator.cjs.entry.js +1 -1
  43. package/dist/cjs/gux-form-field-number_2.cjs.entry.js +8 -8
  44. package/dist/cjs/gux-form-field-phone.cjs.entry.js +3 -3
  45. package/dist/cjs/gux-form-field-radio-group-beta.cjs.entry.js +3 -3
  46. package/dist/cjs/gux-form-field-radio.cjs.entry.js +3 -3
  47. package/dist/cjs/gux-form-field-range.cjs.entry.js +3 -3
  48. package/dist/cjs/gux-form-field-search.cjs.entry.js +4 -4
  49. package/dist/cjs/gux-form-field-select.cjs.entry.js +4 -4
  50. package/dist/cjs/gux-form-field-text-like.cjs.entry.js +3 -3
  51. package/dist/cjs/gux-form-field-textarea.cjs.entry.js +3 -3
  52. package/dist/cjs/gux-form-field-time-picker.cjs.entry.js +3 -3
  53. package/dist/cjs/gux-form-field-time-zone-picker.cjs.entry.js +3 -3
  54. package/dist/cjs/gux-form-footer.cjs.entry.js +1 -1
  55. package/dist/cjs/gux-icon-tooltip-beta.cjs.entry.js +1 -1
  56. package/dist/cjs/gux-icon.cjs.entry.js +1 -1
  57. package/dist/cjs/gux-inline-alert.cjs.entry.js +3 -3
  58. package/dist/cjs/gux-label-info-beta.cjs.entry.js +1 -1
  59. package/dist/cjs/gux-link-beta.cjs.entry.js +1 -1
  60. package/dist/cjs/gux-list.cjs.entry.js +1 -1
  61. package/dist/cjs/gux-listbox-multi.cjs.entry.js +1 -1
  62. package/dist/cjs/gux-loading-message.cjs.entry.js +1 -1
  63. package/dist/cjs/gux-modal-legacy.cjs.entry.js +1 -1
  64. package/dist/cjs/gux-modal-side-panel-beta.cjs.entry.js +1 -1
  65. package/dist/cjs/gux-modal.cjs.entry.js +2 -2
  66. package/dist/cjs/gux-month-picker-beta.cjs.entry.js +1 -1
  67. package/dist/cjs/gux-notification-toast-legacy.cjs.entry.js +1 -1
  68. package/dist/cjs/gux-option-icon.cjs.entry.js +4 -4
  69. package/dist/cjs/gux-page-loading-spinner.cjs.entry.js +1 -1
  70. package/dist/cjs/gux-pagination-cursor.cjs.entry.js +4 -4
  71. package/dist/cjs/gux-pagination-legacy.cjs.entry.js +1 -1
  72. package/dist/cjs/gux-pagination.cjs.entry.js +1 -1
  73. package/dist/cjs/gux-phone-input-beta.cjs.entry.js +1 -1
  74. package/dist/cjs/gux-popover-beta.cjs.entry.js +1 -1
  75. package/dist/cjs/gux-popover-list-beta.cjs.entry.js +1 -1
  76. package/dist/cjs/gux-popover-list.cjs.entry.js +1 -1
  77. package/dist/cjs/gux-radial-loading.cjs.entry.js +1 -1
  78. package/dist/cjs/gux-radial-progress.cjs.entry.js +1 -1
  79. package/dist/cjs/gux-rating.cjs.entry.js +4 -4
  80. package/dist/cjs/gux-rich-highlight-list-item.cjs.entry.js +1 -1
  81. package/dist/cjs/gux-rich-style-list-item_3.cjs.entry.js +2 -2
  82. package/dist/cjs/gux-rich-text-editor-action-link.cjs.entry.js +1 -1
  83. package/dist/cjs/gux-rich-text-editor-action-rich-style.cjs.entry.js +1 -1
  84. package/dist/cjs/gux-rich-text-editor-action-text-highlight.cjs.entry.js +1 -1
  85. package/dist/cjs/gux-rich-text-editor-action.cjs.entry.js +1 -1
  86. package/dist/cjs/gux-rich-text-editor-beta.cjs.entry.js +1 -1
  87. package/dist/cjs/gux-rich-text-editor-list.cjs.entry.js +1 -1
  88. package/dist/cjs/gux-screen-reader-beta.cjs.entry.js +1 -1
  89. package/dist/cjs/gux-segmented-control-beta.cjs.entry.js +1 -1
  90. package/dist/cjs/gux-selector-card-beta.cjs.entry.js +1 -1
  91. package/dist/cjs/gux-selector-cards-beta.cjs.entry.js +1 -1
  92. package/dist/cjs/gux-side-panel-beta.cjs.entry.js +1 -1
  93. package/dist/cjs/gux-side-panel-heading.cjs.entry.js +1 -1
  94. package/dist/cjs/gux-simple-toast-legacy.cjs.entry.js +1 -1
  95. package/dist/cjs/gux-skip-navigation-list.cjs.entry.js +1 -1
  96. package/dist/cjs/gux-sort-control.cjs.entry.js +4 -4
  97. package/dist/cjs/gux-submenu.cjs.entry.js +3 -3
  98. package/dist/cjs/gux-switch-legacy.cjs.entry.js +1 -1
  99. package/dist/cjs/gux-table-select-menu.cjs.entry.js +3 -3
  100. package/dist/cjs/gux-table-toolbar-action.cjs.entry.js +1 -1
  101. package/dist/cjs/gux-table-toolbar-custom-action.cjs.entry.js +1 -1
  102. package/dist/cjs/gux-table-toolbar-menu-button.cjs.entry.js +3 -3
  103. package/dist/cjs/gux-table-toolbar.cjs.entry.js +1 -1
  104. package/dist/cjs/gux-table.cjs.entry.js +1 -1
  105. package/dist/cjs/gux-tabs-advanced.cjs.entry.js +1 -1
  106. package/dist/cjs/gux-tabs.cjs.entry.js +1 -1
  107. package/dist/cjs/gux-tag.cjs.entry.js +1 -1
  108. package/dist/cjs/gux-text-highlight.cjs.entry.js +1 -1
  109. package/dist/cjs/gux-time-beta.cjs.entry.js +1 -1
  110. package/dist/cjs/gux-time-picker.cjs.entry.js +4 -4
  111. package/dist/cjs/gux-time-zone-beta.cjs.entry.js +1 -1
  112. package/dist/cjs/gux-time-zone-picker-beta.cjs.entry.js +1 -1
  113. package/dist/cjs/gux-toast.cjs.entry.js +1 -1
  114. package/dist/cjs/gux-toggle.cjs.entry.js +5 -5
  115. package/dist/cjs/gux-tooltip-base-beta_2.cjs.entry.js +1 -1
  116. package/dist/cjs/gux-tooltip_2.cjs.entry.js +1 -1
  117. package/dist/cjs/{usage-cee7c9f5.js → usage-e7656f4f.js} +1 -1
  118. package/dist/collection/components/beta/gux-rich-text-editor/gux-rich-text-editor-list/gux-rich-text-editor-sub-list/gux-rich-text-editor-sub-list.css +1 -1
  119. package/dist/collection/components/stable/gux-flyout-menu/gux-menu/gux-submenu/gux-submenu.css +0 -2
  120. package/dist/collection/components/stable/gux-flyout-menu/gux-menu/gux-submenu/gux-submenu.js +2 -2
  121. package/dist/collection/components/stable/gux-form-field/components/gux-form-field-checkbox/gux-form-field-checkbox.css +0 -2
  122. package/dist/collection/components/stable/gux-form-field/components/gux-form-field-checkbox-group/gux-form-field-checkbox-group.css +0 -4
  123. package/dist/collection/components/stable/gux-form-field/components/gux-form-field-color/gux-form-field-color.css +0 -2
  124. package/dist/collection/components/stable/gux-form-field/components/gux-form-field-dropdown/gux-form-field-dropdown.css +0 -2
  125. package/dist/collection/components/stable/gux-form-field/components/gux-form-field-file/gux-form-field-file.css +0 -2
  126. package/dist/collection/components/stable/gux-form-field/components/gux-form-field-file-beta/gux-form-field-file.css +0 -2
  127. package/dist/collection/components/stable/gux-form-field/components/gux-form-field-number/gux-form-field-number.css +0 -2
  128. package/dist/collection/components/stable/gux-form-field/components/gux-form-field-phone/gux-form-field-phone.css +0 -2
  129. package/dist/collection/components/stable/gux-form-field/components/gux-form-field-radio/gux-form-field-radio.css +0 -2
  130. package/dist/collection/components/stable/gux-form-field/components/gux-form-field-radio-group/gux-form-field-radio-group.css +0 -4
  131. package/dist/collection/components/stable/gux-form-field/components/gux-form-field-range/gux-form-field-range.css +0 -2
  132. package/dist/collection/components/stable/gux-form-field/components/gux-form-field-search/gux-form-field-search.css +1 -5
  133. package/dist/collection/components/stable/gux-form-field/components/gux-form-field-search/gux-form-field-search.js +1 -1
  134. package/dist/collection/components/stable/gux-form-field/components/gux-form-field-select/gux-form-field-select.css +0 -4
  135. package/dist/collection/components/stable/gux-form-field/components/gux-form-field-select/gux-form-field-select.js +1 -1
  136. package/dist/collection/components/stable/gux-form-field/components/gux-form-field-text-like/gux-form-field-text-like.css +0 -2
  137. package/dist/collection/components/stable/gux-form-field/components/gux-form-field-textarea/gux-form-field-textarea.css +0 -2
  138. package/dist/collection/components/stable/gux-form-field/components/gux-form-field-time-picker/gux-form-field-time-picker.css +0 -2
  139. package/dist/collection/components/stable/gux-form-field/components/gux-form-field-time-zone-picker/gux-form-field-time-zone-picker.css +0 -2
  140. package/dist/collection/components/stable/gux-form-field/functional-components/gux-form-field-error/gux-form-field-error.js +1 -1
  141. package/dist/collection/components/stable/gux-form-field/helper-components/gux-form-field-input-clear-button/gux-form-field-input-clear-button.css +0 -2
  142. 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
  143. package/dist/collection/components/stable/gux-inline-alert/gux-inline-alert.css +0 -2
  144. package/dist/collection/components/stable/gux-inline-alert/gux-inline-alert.js +1 -1
  145. package/dist/collection/components/stable/gux-listbox/options/gux-option-icon/gux-option-icon.css +0 -2
  146. package/dist/collection/components/stable/gux-listbox/options/gux-option-icon/gux-option-icon.js +3 -3
  147. package/dist/collection/components/stable/gux-listbox-multi/gux-create-option/gux-create-option.css +0 -2
  148. package/dist/collection/components/stable/gux-listbox-multi/gux-create-option/gux-create-option.js +1 -1
  149. package/dist/collection/components/stable/gux-modal/gux-modal.css +2 -0
  150. package/dist/collection/components/stable/gux-pagination/gux-pagination-buttons/gux-pagination-ellipsis-button/gux-pagination-ellipsis-button.css +0 -2
  151. package/dist/collection/components/stable/gux-pagination/gux-pagination-buttons/gux-pagination-ellipsis-button/gux-pagination-ellipsis-button.js +4 -4
  152. package/dist/collection/components/stable/gux-pagination-cursor/gux-pagination-cursor.css +0 -2
  153. package/dist/collection/components/stable/gux-pagination-cursor/gux-pagination-cursor.js +2 -2
  154. package/dist/collection/components/stable/gux-rating/gux-rating.css +0 -2
  155. package/dist/collection/components/stable/gux-rating/gux-rating.js +2 -2
  156. package/dist/collection/components/stable/gux-table/gux-sort-control/gux-sort-control.css +0 -2
  157. package/dist/collection/components/stable/gux-table/gux-sort-control/gux-sort-control.js +2 -2
  158. package/dist/collection/components/stable/gux-table/gux-table-select-menu/gux-table-select-menu.css +0 -4
  159. package/dist/collection/components/stable/gux-table/gux-table-select-menu/gux-table-select-menu.js +2 -2
  160. package/dist/collection/components/stable/gux-table-toolbar/gux-table-toolbar-menu-button/gux-table-toolbar-menu-button.css +0 -2
  161. package/dist/collection/components/stable/gux-table-toolbar/gux-table-toolbar-menu-button/gux-table-toolbar-menu-button.js +1 -1
  162. package/dist/collection/components/stable/gux-time-picker/gux-time-picker.css +0 -2
  163. package/dist/collection/components/stable/gux-time-picker/gux-time-picker.js +2 -2
  164. package/dist/collection/components/stable/gux-toggle/gux-toggle.css +0 -2
  165. package/dist/collection/components/stable/gux-toggle/gux-toggle.js +3 -3
  166. package/dist/esm/gux-accordion.entry.js +1 -1
  167. package/dist/esm/gux-action-button.entry.js +1 -1
  168. package/dist/esm/gux-action-toast-legacy.entry.js +1 -1
  169. package/dist/esm/gux-advanced-dropdown-legacy.entry.js +1 -1
  170. package/dist/esm/gux-announce-beta.entry.js +1 -1
  171. package/dist/esm/gux-avatar-beta.entry.js +1 -1
  172. package/dist/esm/gux-avatar-change-photo-beta.entry.js +1 -1
  173. package/dist/esm/gux-avatar-group-add-item-beta_3.entry.js +1 -1
  174. package/dist/esm/gux-avatar-group-beta.entry.js +1 -1
  175. package/dist/esm/gux-avatar-group-item-beta.entry.js +1 -1
  176. package/dist/esm/gux-badge.entry.js +1 -1
  177. package/dist/esm/gux-blank-state.entry.js +1 -1
  178. package/dist/esm/gux-breadcrumbs.entry.js +1 -1
  179. package/dist/esm/gux-button-multi.entry.js +1 -1
  180. package/dist/esm/gux-button-slot.entry.js +1 -1
  181. package/dist/esm/gux-button_2.entry.js +1 -1
  182. package/dist/esm/gux-calendar.entry.js +1 -1
  183. package/dist/esm/gux-card.entry.js +1 -1
  184. package/dist/esm/gux-column-manager.entry.js +1 -1
  185. package/dist/esm/gux-content-search.entry.js +1 -1
  186. package/dist/esm/gux-context-menu.entry.js +1 -1
  187. package/dist/esm/gux-copy-to-clipboard.entry.js +1 -1
  188. package/dist/esm/gux-create-option.entry.js +2 -2
  189. package/dist/esm/gux-date-beta.entry.js +1 -1
  190. package/dist/esm/gux-date-time-beta.entry.js +1 -1
  191. package/dist/esm/gux-datepicker.entry.js +1 -1
  192. package/dist/esm/gux-disclosure-button-legacy.entry.js +1 -1
  193. package/dist/esm/gux-dismiss-button.entry.js +1 -1
  194. package/dist/esm/gux-dropdown-multi.entry.js +1 -1
  195. package/dist/esm/gux-dropdown_3.entry.js +1 -1
  196. package/dist/esm/gux-file-list-item.entry.js +1 -1
  197. package/dist/esm/gux-flag-icon-beta.entry.js +1 -1
  198. package/dist/esm/gux-flyout-menu.entry.js +1 -1
  199. package/dist/esm/gux-form-field-checkbox-group-beta.entry.js +3 -3
  200. package/dist/esm/gux-form-field-checkbox.entry.js +3 -3
  201. package/dist/esm/gux-form-field-color.entry.js +3 -3
  202. package/dist/esm/gux-form-field-dropdown.entry.js +3 -3
  203. package/dist/esm/{gux-form-field-error-d4daeee8.js → gux-form-field-error-129036c1.js} +1 -1
  204. package/dist/esm/gux-form-field-file-beta.entry.js +3 -3
  205. package/dist/esm/gux-form-field-file.entry.js +3 -3
  206. package/dist/esm/gux-form-field-input-clear-button.entry.js +3 -3
  207. package/dist/esm/gux-form-field-label-indicator.entry.js +1 -1
  208. package/dist/esm/gux-form-field-number_2.entry.js +8 -8
  209. package/dist/esm/gux-form-field-phone.entry.js +3 -3
  210. package/dist/esm/gux-form-field-radio-group-beta.entry.js +3 -3
  211. package/dist/esm/gux-form-field-radio.entry.js +3 -3
  212. package/dist/esm/gux-form-field-range.entry.js +3 -3
  213. package/dist/esm/gux-form-field-search.entry.js +4 -4
  214. package/dist/esm/gux-form-field-select.entry.js +4 -4
  215. package/dist/esm/gux-form-field-text-like.entry.js +3 -3
  216. package/dist/esm/gux-form-field-textarea.entry.js +3 -3
  217. package/dist/esm/gux-form-field-time-picker.entry.js +3 -3
  218. package/dist/esm/gux-form-field-time-zone-picker.entry.js +3 -3
  219. package/dist/esm/gux-form-footer.entry.js +1 -1
  220. package/dist/esm/gux-icon-tooltip-beta.entry.js +1 -1
  221. package/dist/esm/gux-icon.entry.js +1 -1
  222. package/dist/esm/gux-inline-alert.entry.js +3 -3
  223. package/dist/esm/gux-label-info-beta.entry.js +1 -1
  224. package/dist/esm/gux-link-beta.entry.js +1 -1
  225. package/dist/esm/gux-list.entry.js +1 -1
  226. package/dist/esm/gux-listbox-multi.entry.js +1 -1
  227. package/dist/esm/gux-loading-message.entry.js +1 -1
  228. package/dist/esm/gux-modal-legacy.entry.js +1 -1
  229. package/dist/esm/gux-modal-side-panel-beta.entry.js +1 -1
  230. package/dist/esm/gux-modal.entry.js +2 -2
  231. package/dist/esm/gux-month-picker-beta.entry.js +1 -1
  232. package/dist/esm/gux-notification-toast-legacy.entry.js +1 -1
  233. package/dist/esm/gux-option-icon.entry.js +4 -4
  234. package/dist/esm/gux-page-loading-spinner.entry.js +1 -1
  235. package/dist/esm/gux-pagination-cursor.entry.js +4 -4
  236. package/dist/esm/gux-pagination-legacy.entry.js +1 -1
  237. package/dist/esm/gux-pagination.entry.js +1 -1
  238. package/dist/esm/gux-phone-input-beta.entry.js +1 -1
  239. package/dist/esm/gux-popover-beta.entry.js +1 -1
  240. package/dist/esm/gux-popover-list-beta.entry.js +1 -1
  241. package/dist/esm/gux-popover-list.entry.js +1 -1
  242. package/dist/esm/gux-radial-loading.entry.js +1 -1
  243. package/dist/esm/gux-radial-progress.entry.js +1 -1
  244. package/dist/esm/gux-rating.entry.js +4 -4
  245. package/dist/esm/gux-rich-highlight-list-item.entry.js +1 -1
  246. package/dist/esm/gux-rich-style-list-item_3.entry.js +2 -2
  247. package/dist/esm/gux-rich-text-editor-action-link.entry.js +1 -1
  248. package/dist/esm/gux-rich-text-editor-action-rich-style.entry.js +1 -1
  249. package/dist/esm/gux-rich-text-editor-action-text-highlight.entry.js +1 -1
  250. package/dist/esm/gux-rich-text-editor-action.entry.js +1 -1
  251. package/dist/esm/gux-rich-text-editor-beta.entry.js +1 -1
  252. package/dist/esm/gux-rich-text-editor-list.entry.js +1 -1
  253. package/dist/esm/gux-screen-reader-beta.entry.js +1 -1
  254. package/dist/esm/gux-segmented-control-beta.entry.js +1 -1
  255. package/dist/esm/gux-selector-card-beta.entry.js +1 -1
  256. package/dist/esm/gux-selector-cards-beta.entry.js +1 -1
  257. package/dist/esm/gux-side-panel-beta.entry.js +1 -1
  258. package/dist/esm/gux-side-panel-heading.entry.js +1 -1
  259. package/dist/esm/gux-simple-toast-legacy.entry.js +1 -1
  260. package/dist/esm/gux-skip-navigation-list.entry.js +1 -1
  261. package/dist/esm/gux-sort-control.entry.js +4 -4
  262. package/dist/esm/gux-submenu.entry.js +3 -3
  263. package/dist/esm/gux-switch-legacy.entry.js +1 -1
  264. package/dist/esm/gux-table-select-menu.entry.js +3 -3
  265. package/dist/esm/gux-table-toolbar-action.entry.js +1 -1
  266. package/dist/esm/gux-table-toolbar-custom-action.entry.js +1 -1
  267. package/dist/esm/gux-table-toolbar-menu-button.entry.js +3 -3
  268. package/dist/esm/gux-table-toolbar.entry.js +1 -1
  269. package/dist/esm/gux-table.entry.js +1 -1
  270. package/dist/esm/gux-tabs-advanced.entry.js +1 -1
  271. package/dist/esm/gux-tabs.entry.js +1 -1
  272. package/dist/esm/gux-tag.entry.js +1 -1
  273. package/dist/esm/gux-text-highlight.entry.js +1 -1
  274. package/dist/esm/gux-time-beta.entry.js +1 -1
  275. package/dist/esm/gux-time-picker.entry.js +4 -4
  276. package/dist/esm/gux-time-zone-beta.entry.js +1 -1
  277. package/dist/esm/gux-time-zone-picker-beta.entry.js +1 -1
  278. package/dist/esm/gux-toast.entry.js +1 -1
  279. package/dist/esm/gux-toggle.entry.js +5 -5
  280. package/dist/esm/gux-tooltip-base-beta_2.entry.js +1 -1
  281. package/dist/esm/gux-tooltip_2.entry.js +1 -1
  282. package/dist/esm/{usage-2c9a4d54.js → usage-bcb279ed.js} +1 -1
  283. package/dist/genesys-webcomponents/genesys-webcomponents.esm.js +1 -1
  284. package/dist/genesys-webcomponents/{p-7b5cfddb.entry.js → p-00dc7d8e.entry.js} +1 -1
  285. package/dist/genesys-webcomponents/p-013c853c.entry.js +1 -0
  286. package/dist/genesys-webcomponents/{p-a9b7eec3.entry.js → p-0184d448.entry.js} +1 -1
  287. package/dist/genesys-webcomponents/{p-d6e5175b.entry.js → p-0203f213.entry.js} +1 -1
  288. package/dist/genesys-webcomponents/{p-1e5144ca.entry.js → p-0284e857.entry.js} +1 -1
  289. package/dist/genesys-webcomponents/{p-cbb98fa5.entry.js → p-0484a785.entry.js} +1 -1
  290. package/dist/genesys-webcomponents/{p-a51d68dc.entry.js → p-05f563b8.entry.js} +1 -1
  291. package/dist/genesys-webcomponents/{p-94d4a224.entry.js → p-093919fa.entry.js} +1 -1
  292. package/dist/genesys-webcomponents/p-09e761ab.entry.js +1 -0
  293. package/dist/genesys-webcomponents/{p-84a31c7a.entry.js → p-0ccc6e58.entry.js} +1 -1
  294. package/dist/genesys-webcomponents/p-0ce04063.entry.js +1 -0
  295. package/dist/genesys-webcomponents/{p-85f3a0fb.entry.js → p-0e793fef.entry.js} +1 -1
  296. package/dist/genesys-webcomponents/{p-5d04c86c.entry.js → p-138c748a.entry.js} +1 -1
  297. package/dist/genesys-webcomponents/{p-0095b1a9.entry.js → p-1ceaf1b1.entry.js} +1 -1
  298. package/dist/genesys-webcomponents/{p-a3695df9.entry.js → p-1ecf1dcc.entry.js} +1 -1
  299. package/dist/genesys-webcomponents/{p-dc9713fc.entry.js → p-1fb466df.entry.js} +1 -1
  300. package/dist/genesys-webcomponents/{p-b7b925ec.entry.js → p-217ee853.entry.js} +1 -1
  301. package/dist/genesys-webcomponents/{p-8d90c6fa.entry.js → p-242adbc0.entry.js} +1 -1
  302. package/dist/genesys-webcomponents/{p-d0de678b.entry.js → p-28672bd9.entry.js} +1 -1
  303. package/dist/genesys-webcomponents/p-288ccac0.entry.js +1 -0
  304. package/dist/genesys-webcomponents/{p-95ec698f.entry.js → p-2a1112c5.entry.js} +1 -1
  305. package/dist/genesys-webcomponents/p-2b3ce4ab.entry.js +1 -0
  306. package/dist/genesys-webcomponents/{p-52d73ad3.entry.js → p-2dc5b2a4.entry.js} +1 -1
  307. package/dist/genesys-webcomponents/p-32818ae5.entry.js +1 -0
  308. package/dist/genesys-webcomponents/{p-d5d582f1.entry.js → p-3356414d.entry.js} +1 -1
  309. package/dist/genesys-webcomponents/{p-a573e43b.entry.js → p-359a690d.entry.js} +1 -1
  310. package/dist/genesys-webcomponents/p-3bd3f533.entry.js +1 -0
  311. package/dist/genesys-webcomponents/{p-979756fc.entry.js → p-3eddac75.entry.js} +1 -1
  312. package/dist/genesys-webcomponents/{p-3b4943fb.entry.js → p-3f38e775.entry.js} +1 -1
  313. package/dist/genesys-webcomponents/p-432cd76a.entry.js +1 -0
  314. package/dist/genesys-webcomponents/{p-b89f270e.entry.js → p-46cb96e3.entry.js} +1 -1
  315. package/dist/genesys-webcomponents/p-4ab918aa.entry.js +1 -0
  316. package/dist/genesys-webcomponents/{p-7ada77c2.entry.js → p-4b05e93e.entry.js} +1 -1
  317. package/dist/genesys-webcomponents/{p-946fb7d7.entry.js → p-4b08d0dc.entry.js} +1 -1
  318. package/dist/genesys-webcomponents/{p-9ffd8ad9.entry.js → p-4ea2e4ff.entry.js} +1 -1
  319. package/dist/genesys-webcomponents/{p-be33ce5f.entry.js → p-51275efd.entry.js} +1 -1
  320. package/dist/genesys-webcomponents/{p-0d5de42d.entry.js → p-533c04a9.entry.js} +1 -1
  321. package/dist/genesys-webcomponents/{p-f4f55946.entry.js → p-53cbae9c.entry.js} +1 -1
  322. package/dist/genesys-webcomponents/p-588c3008.entry.js +1 -0
  323. package/dist/genesys-webcomponents/{p-37ab2172.entry.js → p-5ad06550.entry.js} +1 -1
  324. package/dist/genesys-webcomponents/p-5d600723.entry.js +1 -0
  325. package/dist/genesys-webcomponents/{p-db306845.js → p-5d9df6a7.js} +1 -1
  326. package/dist/genesys-webcomponents/{p-dd539618.entry.js → p-5e4c9c9f.entry.js} +1 -1
  327. package/dist/genesys-webcomponents/{p-a6ca79ce.entry.js → p-5f83c070.entry.js} +1 -1
  328. package/dist/genesys-webcomponents/{p-279ade3b.entry.js → p-6081e7aa.entry.js} +1 -1
  329. package/dist/genesys-webcomponents/{p-22c19dc2.entry.js → p-623f9bd8.entry.js} +1 -1
  330. package/dist/genesys-webcomponents/{p-848bdebb.entry.js → p-62e365b7.entry.js} +1 -1
  331. package/dist/genesys-webcomponents/{p-2513fba1.entry.js → p-635f8ea1.entry.js} +1 -1
  332. package/dist/genesys-webcomponents/p-674a37cb.entry.js +1 -0
  333. package/dist/genesys-webcomponents/{p-2e39b980.entry.js → p-68dc8fac.entry.js} +1 -1
  334. package/dist/genesys-webcomponents/{p-76b32737.entry.js → p-692f036a.entry.js} +1 -1
  335. package/dist/genesys-webcomponents/{p-0eeb6746.entry.js → p-6d9923a3.entry.js} +1 -1
  336. package/dist/genesys-webcomponents/p-6e122c13.entry.js +1 -0
  337. package/dist/genesys-webcomponents/{p-b3535a8a.entry.js → p-6ef63173.entry.js} +1 -1
  338. package/dist/genesys-webcomponents/{p-bf591743.entry.js → p-72352af0.entry.js} +1 -1
  339. package/dist/genesys-webcomponents/{p-bd202335.entry.js → p-72981e91.entry.js} +1 -1
  340. package/dist/genesys-webcomponents/p-74dfe388.entry.js +1 -0
  341. package/dist/genesys-webcomponents/{p-ff402d97.entry.js → p-78694209.entry.js} +1 -1
  342. package/dist/genesys-webcomponents/{p-cb7cfce2.entry.js → p-791cc7a9.entry.js} +1 -1
  343. package/dist/genesys-webcomponents/p-7e0eb41c.entry.js +1 -0
  344. package/dist/genesys-webcomponents/{p-90873e49.entry.js → p-7e212f17.entry.js} +1 -1
  345. package/dist/genesys-webcomponents/{p-c7f1ff13.entry.js → p-862a716d.entry.js} +1 -1
  346. package/dist/genesys-webcomponents/{p-f9d9be12.entry.js → p-863c7de1.entry.js} +1 -1
  347. package/dist/genesys-webcomponents/{p-67440c93.entry.js → p-876113fc.entry.js} +1 -1
  348. package/dist/genesys-webcomponents/{p-7834e8b9.entry.js → p-8acb26fd.entry.js} +1 -1
  349. package/dist/genesys-webcomponents/{p-21e2f0cc.entry.js → p-8b5211be.entry.js} +1 -1
  350. package/dist/genesys-webcomponents/{p-ca64e9fd.entry.js → p-8eb94348.entry.js} +1 -1
  351. package/dist/genesys-webcomponents/{p-4a113db7.entry.js → p-90e2551c.entry.js} +1 -1
  352. package/dist/genesys-webcomponents/p-912e0a41.entry.js +1 -0
  353. package/dist/genesys-webcomponents/{p-6798eb63.entry.js → p-92331ca5.entry.js} +1 -1
  354. package/dist/genesys-webcomponents/p-935faa35.entry.js +1 -0
  355. package/dist/genesys-webcomponents/p-96a12e3b.entry.js +1 -0
  356. package/dist/genesys-webcomponents/{p-06dd3571.entry.js → p-9b926648.entry.js} +1 -1
  357. package/dist/genesys-webcomponents/p-9f7230e6.entry.js +1 -0
  358. package/dist/genesys-webcomponents/{p-6903b856.entry.js → p-a04d1e8e.entry.js} +1 -1
  359. package/dist/genesys-webcomponents/{p-6d772a2f.entry.js → p-a0dc5b67.entry.js} +1 -1
  360. package/dist/genesys-webcomponents/{p-8902a036.entry.js → p-a10f06d2.entry.js} +1 -1
  361. package/dist/genesys-webcomponents/{p-9db8610f.entry.js → p-a13db3b7.entry.js} +1 -1
  362. package/dist/genesys-webcomponents/{p-ca0945a4.entry.js → p-a26b6fd7.entry.js} +1 -1
  363. package/dist/genesys-webcomponents/p-a3bb728d.entry.js +1 -0
  364. package/dist/genesys-webcomponents/{p-b8b1cdbf.entry.js → p-a5ca2cf7.entry.js} +1 -1
  365. package/dist/genesys-webcomponents/{p-98fa2f26.entry.js → p-a62fb010.entry.js} +1 -1
  366. package/dist/genesys-webcomponents/{p-b6be214e.entry.js → p-a7330c41.entry.js} +1 -1
  367. package/dist/genesys-webcomponents/{p-972d1404.entry.js → p-aa4d28c9.entry.js} +1 -1
  368. package/dist/genesys-webcomponents/p-ade33823.entry.js +1 -0
  369. package/dist/genesys-webcomponents/{p-d0f4d1eb.entry.js → p-b5cdeb34.entry.js} +1 -1
  370. package/dist/genesys-webcomponents/{p-8a727cfc.entry.js → p-b728fdc9.entry.js} +1 -1
  371. package/dist/genesys-webcomponents/p-b8648528.entry.js +1 -0
  372. package/dist/genesys-webcomponents/p-b8652722.entry.js +1 -0
  373. package/dist/genesys-webcomponents/p-ba830adf.entry.js +1 -0
  374. package/dist/genesys-webcomponents/{p-f0e2ae89.entry.js → p-c149f50c.entry.js} +1 -1
  375. package/dist/genesys-webcomponents/{p-f71f3692.entry.js → p-c3b298ac.entry.js} +1 -1
  376. package/dist/genesys-webcomponents/p-c6493f6c.entry.js +1 -0
  377. package/dist/genesys-webcomponents/{p-0a72a5b4.entry.js → p-c7249ecf.entry.js} +1 -1
  378. package/dist/genesys-webcomponents/{p-262a22b6.entry.js → p-c8dcd40e.entry.js} +1 -1
  379. package/dist/genesys-webcomponents/{p-62026921.entry.js → p-c9186c88.entry.js} +1 -1
  380. package/dist/genesys-webcomponents/{p-74a1d9ba.entry.js → p-cb7a3a2c.entry.js} +1 -1
  381. package/dist/genesys-webcomponents/{p-3a05bb21.entry.js → p-cc60bc33.entry.js} +1 -1
  382. package/dist/genesys-webcomponents/p-cd2d0445.entry.js +1 -0
  383. package/dist/genesys-webcomponents/{p-e414408c.entry.js → p-cd46dba6.entry.js} +1 -1
  384. package/dist/genesys-webcomponents/{p-b6770aac.entry.js → p-ce97b48a.entry.js} +1 -1
  385. package/dist/genesys-webcomponents/{p-c3c963a5.entry.js → p-d00a1daf.entry.js} +1 -1
  386. package/dist/genesys-webcomponents/p-d2105aa1.entry.js +1 -0
  387. package/dist/genesys-webcomponents/{p-27e99f5c.entry.js → p-dcc0b820.entry.js} +1 -1
  388. package/dist/genesys-webcomponents/{p-45c16b00.entry.js → p-dd63b8f1.entry.js} +1 -1
  389. package/dist/genesys-webcomponents/{p-fcca9736.js → p-e556534e.js} +1 -1
  390. package/dist/genesys-webcomponents/{p-f8820aff.entry.js → p-e9e6a64d.entry.js} +1 -1
  391. package/dist/genesys-webcomponents/{p-a9852dbc.entry.js → p-eb313a5f.entry.js} +1 -1
  392. package/dist/genesys-webcomponents/{p-da2a54aa.entry.js → p-ec305737.entry.js} +1 -1
  393. package/dist/genesys-webcomponents/{p-0bfed962.entry.js → p-f1eb64ea.entry.js} +1 -1
  394. package/dist/genesys-webcomponents/{p-3cbef447.entry.js → p-f325a037.entry.js} +1 -1
  395. package/dist/genesys-webcomponents/{p-8e8c67db.entry.js → p-f58d0228.entry.js} +1 -1
  396. package/dist/genesys-webcomponents/p-f63df650.entry.js +1 -0
  397. package/dist/genesys-webcomponents/{p-5faaeb1b.entry.js → p-f72f970c.entry.js} +1 -1
  398. package/dist/genesys-webcomponents/p-f900b897.entry.js +1 -0
  399. package/dist/genesys-webcomponents/{p-97bc37b8.entry.js → p-fdc9bae9.entry.js} +1 -1
  400. package/dist/genesys-webcomponents/{p-b7347eb6.entry.js → p-ffd91cee.entry.js} +1 -1
  401. package/dist/stencil-wrapper.js +1 -1
  402. package/dist/types/stencil-wrapper.d.ts +1 -1
  403. package/package.json +1 -1
  404. package/dist/genesys-webcomponents/p-063dc5ad.entry.js +0 -1
  405. package/dist/genesys-webcomponents/p-0e900117.entry.js +0 -1
  406. package/dist/genesys-webcomponents/p-12dd689a.entry.js +0 -1
  407. package/dist/genesys-webcomponents/p-15e2e14d.entry.js +0 -1
  408. package/dist/genesys-webcomponents/p-1bb32259.entry.js +0 -1
  409. package/dist/genesys-webcomponents/p-24ad939b.entry.js +0 -1
  410. package/dist/genesys-webcomponents/p-2ec5ea1e.entry.js +0 -1
  411. package/dist/genesys-webcomponents/p-33f3269e.entry.js +0 -1
  412. package/dist/genesys-webcomponents/p-400ba313.entry.js +0 -1
  413. package/dist/genesys-webcomponents/p-539eba16.entry.js +0 -1
  414. package/dist/genesys-webcomponents/p-5639a5e2.entry.js +0 -1
  415. package/dist/genesys-webcomponents/p-7977d063.entry.js +0 -1
  416. package/dist/genesys-webcomponents/p-7e7d9b61.entry.js +0 -1
  417. package/dist/genesys-webcomponents/p-8df778a2.entry.js +0 -1
  418. package/dist/genesys-webcomponents/p-94c2e132.entry.js +0 -1
  419. package/dist/genesys-webcomponents/p-9b2b7dca.entry.js +0 -1
  420. package/dist/genesys-webcomponents/p-a4b04afd.entry.js +0 -1
  421. package/dist/genesys-webcomponents/p-b99f3f9c.entry.js +0 -1
  422. package/dist/genesys-webcomponents/p-bbdb689e.entry.js +0 -1
  423. package/dist/genesys-webcomponents/p-cb4a5155.entry.js +0 -1
  424. package/dist/genesys-webcomponents/p-cc6dfea9.entry.js +0 -1
  425. package/dist/genesys-webcomponents/p-cfb7293c.entry.js +0 -1
  426. package/dist/genesys-webcomponents/p-d31fb265.entry.js +0 -1
  427. package/dist/genesys-webcomponents/p-da750227.entry.js +0 -1
  428. package/dist/genesys-webcomponents/p-ec7fb58f.entry.js +0 -1
  429. package/dist/genesys-webcomponents/p-f060d70b.entry.js +0 -1
  430. package/dist/genesys-webcomponents/p-f27f9eed.entry.js +0 -1
  431. package/dist/genesys-webcomponents/p-fc85e603.entry.js +0 -1
  432. package/dist/genesys-webcomponents/p-fec416c1.entry.js +0 -1
@@ -1 +1 @@
1
- import{h as r,r as a,g as e}from"./p-ffb7c9dc.js";import{b as s}from"./p-cfeaf436.js";import{t}from"./p-db306845.js";import"./p-4202e9f2.js";const o=({context:a="modal",screenreaderText:e})=>{let s=48,t=22;return"input"===a&&(s=16,t=7),r("div",{class:`gux-${a}`,role:"progressbar","aria-label":e},r("svg",{class:"gux-svg-container",viewBox:`0 0 ${s} ${s}`,role:"presentation"},r("circle",{cx:"50%",cy:"50%",r:t,class:"gux-static-circle"}),r("circle",{cx:"50%",cy:"50%",r:t,class:"gux-dynamic-circle","stroke-linecap":"round"}),r("circle",{cx:"50%",cy:"50%",r:t,class:"gux-dynamic-circle-mask","stroke-linecap":"round"})))},n={loading:"Loading"},i=class{constructor(r){a(this,r),this.context="modal",this.screenreaderText=""}async componentWillLoad(){t(this.root,{variant:this.context}),this.getI18nValue=await s(this.root,n)}render(){return r(o,{key:"45a21de33b10cdcb56358c304fecf87f033b07b3",context:this.context,screenreaderText:this.screenreaderText||this.getI18nValue("loading")})}get root(){return e(this)}};i.style="@keyframes largeSpin{0%{stroke-dasharray:1 68.115038379;transform:rotate(0deg)}7.5%{stroke-dasharray:1 68.115038379;transform:rotate(0deg)}20%{stroke-dasharray:1 68.115038379;transform:rotate(90deg)}30%{stroke-dasharray:34.5575191895;transform:rotate(180deg)}40%{stroke-dasharray:34.5575191895}50%{stroke-dasharray:1 68.115038379;transform:rotate(450deg)}57.5%{stroke-dasharray:1 68.115038379;transform:rotate(450deg)}70%{stroke-dasharray:34.5575191895;transform:rotate(540deg)}80%{stroke-dasharray:34.5575191895;transform:rotate(630deg)}90%{stroke-dasharray:34.5575191895}100%{stroke-dasharray:1 68.115038379;transform:rotate(900deg)}}@keyframes smallSpin{0%{stroke-dasharray:1 20.9911485751;transform:rotate(0deg)}7.5%{stroke-dasharray:1 20.9911485751;transform:rotate(0deg)}20%{stroke-dasharray:1 20.9911485751;transform:rotate(90deg)}30%{stroke-dasharray:10.9955742876;transform:rotate(180deg)}40%{stroke-dasharray:10.9955742876}50%{stroke-dasharray:1 20.9911485751;transform:rotate(450deg)}57.5%{stroke-dasharray:1 20.9911485751;transform:rotate(450deg)}70%{stroke-dasharray:10.9955742876;transform:rotate(540deg)}80%{stroke-dasharray:10.9955742876;transform:rotate(630deg)}90%{stroke-dasharray:10.9955742876}100%{stroke-dasharray:1 20.9911485751;transform:rotate(900deg)}}@keyframes largeThinSpin{0%{stroke-dasharray:1 71.2566310326;transform:rotate(0deg)}7.5%{stroke-dasharray:1 71.2566310326;transform:rotate(0deg)}20%{stroke-dasharray:1 71.2566310326;transform:rotate(90deg)}30%{stroke-dasharray:36.1283155163;transform:rotate(180deg)}40%{stroke-dasharray:36.1283155163}50%{stroke-dasharray:1 71.2566310326;transform:rotate(450deg)}57.5%{stroke-dasharray:1 71.2566310326;transform:rotate(450deg)}70%{stroke-dasharray:36.1283155163;transform:rotate(540deg)}80%{stroke-dasharray:36.1283155163;transform:rotate(630deg)}90%{stroke-dasharray:36.1283155163}100%{stroke-dasharray:1 71.2566310326;transform:rotate(900deg)}}:host{display:inline-block}div[role=progressbar] .gux-svg-container{display:block;inline-size:var(--gse-ui-progressAndLoading-spinner-large);block-size:var(--gse-ui-progressAndLoading-spinner-large)}div[role=progressbar] .gux-svg-container .gux-dynamic-circle,div[role=progressbar] .gux-svg-container .gux-dynamic-circle-mask{fill:none;stroke:var(--gse-ui-progressAndLoading-spinner-foreground);stroke-width:4;transform-origin:50% 50%;animation-name:largeSpin;animation-duration:2s;animation-timing-function:linear;animation-iteration-count:infinite, infinite}div[role=progressbar] .gux-svg-container .gux-dynamic-circle-mask{display:none;stroke:white;stroke-width:2}div[role=progressbar] .gux-svg-container .gux-static-circle{fill:none;stroke:var(--gse-ui-progressAndLoading-spinner-base);stroke-width:4}div[role=progressbar].gux-full-page .gux-svg-container .gux-dynamic-circle-mask{display:initial}div[role=progressbar].gux-full-page .gux-svg-container .gux-static-circle{display:none}div[role=progressbar].gux-input .gux-svg-container{inline-size:var(--gse-ui-progressAndLoading-spinner-small);block-size:var(--gse-ui-progressAndLoading-spinner-small)}div[role=progressbar].gux-input .gux-svg-container .gux-dynamic-circle{fill:none;stroke:var(--gse-ui-progressAndLoading-spinner-foreground);stroke-width:2;transform-origin:50% 50%;animation-name:smallSpin;animation-duration:2s;animation-timing-function:linear;animation-iteration-count:infinite, infinite}div[role=progressbar].gux-input .gux-svg-container .gux-static-circle{stroke:var(--gse-ui-progressAndLoading-spinner-base);stroke-width:2}";export{i as gux_radial_loading}
1
+ import{h as r,r as a,g as e}from"./p-ffb7c9dc.js";import{b as s}from"./p-cfeaf436.js";import{t}from"./p-5d9df6a7.js";import"./p-4202e9f2.js";const o=({context:a="modal",screenreaderText:e})=>{let s=48,t=22;return"input"===a&&(s=16,t=7),r("div",{class:`gux-${a}`,role:"progressbar","aria-label":e},r("svg",{class:"gux-svg-container",viewBox:`0 0 ${s} ${s}`,role:"presentation"},r("circle",{cx:"50%",cy:"50%",r:t,class:"gux-static-circle"}),r("circle",{cx:"50%",cy:"50%",r:t,class:"gux-dynamic-circle","stroke-linecap":"round"}),r("circle",{cx:"50%",cy:"50%",r:t,class:"gux-dynamic-circle-mask","stroke-linecap":"round"})))},n={loading:"Loading"},i=class{constructor(r){a(this,r),this.context="modal",this.screenreaderText=""}async componentWillLoad(){t(this.root,{variant:this.context}),this.getI18nValue=await s(this.root,n)}render(){return r(o,{key:"45a21de33b10cdcb56358c304fecf87f033b07b3",context:this.context,screenreaderText:this.screenreaderText||this.getI18nValue("loading")})}get root(){return e(this)}};i.style="@keyframes largeSpin{0%{stroke-dasharray:1 68.115038379;transform:rotate(0deg)}7.5%{stroke-dasharray:1 68.115038379;transform:rotate(0deg)}20%{stroke-dasharray:1 68.115038379;transform:rotate(90deg)}30%{stroke-dasharray:34.5575191895;transform:rotate(180deg)}40%{stroke-dasharray:34.5575191895}50%{stroke-dasharray:1 68.115038379;transform:rotate(450deg)}57.5%{stroke-dasharray:1 68.115038379;transform:rotate(450deg)}70%{stroke-dasharray:34.5575191895;transform:rotate(540deg)}80%{stroke-dasharray:34.5575191895;transform:rotate(630deg)}90%{stroke-dasharray:34.5575191895}100%{stroke-dasharray:1 68.115038379;transform:rotate(900deg)}}@keyframes smallSpin{0%{stroke-dasharray:1 20.9911485751;transform:rotate(0deg)}7.5%{stroke-dasharray:1 20.9911485751;transform:rotate(0deg)}20%{stroke-dasharray:1 20.9911485751;transform:rotate(90deg)}30%{stroke-dasharray:10.9955742876;transform:rotate(180deg)}40%{stroke-dasharray:10.9955742876}50%{stroke-dasharray:1 20.9911485751;transform:rotate(450deg)}57.5%{stroke-dasharray:1 20.9911485751;transform:rotate(450deg)}70%{stroke-dasharray:10.9955742876;transform:rotate(540deg)}80%{stroke-dasharray:10.9955742876;transform:rotate(630deg)}90%{stroke-dasharray:10.9955742876}100%{stroke-dasharray:1 20.9911485751;transform:rotate(900deg)}}@keyframes largeThinSpin{0%{stroke-dasharray:1 71.2566310326;transform:rotate(0deg)}7.5%{stroke-dasharray:1 71.2566310326;transform:rotate(0deg)}20%{stroke-dasharray:1 71.2566310326;transform:rotate(90deg)}30%{stroke-dasharray:36.1283155163;transform:rotate(180deg)}40%{stroke-dasharray:36.1283155163}50%{stroke-dasharray:1 71.2566310326;transform:rotate(450deg)}57.5%{stroke-dasharray:1 71.2566310326;transform:rotate(450deg)}70%{stroke-dasharray:36.1283155163;transform:rotate(540deg)}80%{stroke-dasharray:36.1283155163;transform:rotate(630deg)}90%{stroke-dasharray:36.1283155163}100%{stroke-dasharray:1 71.2566310326;transform:rotate(900deg)}}:host{display:inline-block}div[role=progressbar] .gux-svg-container{display:block;inline-size:var(--gse-ui-progressAndLoading-spinner-large);block-size:var(--gse-ui-progressAndLoading-spinner-large)}div[role=progressbar] .gux-svg-container .gux-dynamic-circle,div[role=progressbar] .gux-svg-container .gux-dynamic-circle-mask{fill:none;stroke:var(--gse-ui-progressAndLoading-spinner-foreground);stroke-width:4;transform-origin:50% 50%;animation-name:largeSpin;animation-duration:2s;animation-timing-function:linear;animation-iteration-count:infinite, infinite}div[role=progressbar] .gux-svg-container .gux-dynamic-circle-mask{display:none;stroke:white;stroke-width:2}div[role=progressbar] .gux-svg-container .gux-static-circle{fill:none;stroke:var(--gse-ui-progressAndLoading-spinner-base);stroke-width:4}div[role=progressbar].gux-full-page .gux-svg-container .gux-dynamic-circle-mask{display:initial}div[role=progressbar].gux-full-page .gux-svg-container .gux-static-circle{display:none}div[role=progressbar].gux-input .gux-svg-container{inline-size:var(--gse-ui-progressAndLoading-spinner-small);block-size:var(--gse-ui-progressAndLoading-spinner-small)}div[role=progressbar].gux-input .gux-svg-container .gux-dynamic-circle{fill:none;stroke:var(--gse-ui-progressAndLoading-spinner-foreground);stroke-width:2;transform-origin:50% 50%;animation-name:smallSpin;animation-duration:2s;animation-timing-function:linear;animation-iteration-count:infinite, infinite}div[role=progressbar].gux-input .gux-svg-container .gux-static-circle{stroke:var(--gse-ui-progressAndLoading-spinner-base);stroke-width:2}";export{i as gux_radial_loading}
@@ -0,0 +1 @@
1
+ import{r as t,c as e,h as a,g as i}from"./p-ffb7c9dc.js";import{t as n}from"./p-5d9df6a7.js";import{b as s}from"./p-cfeaf436.js";import"./p-4202e9f2.js";const o={previous:"Previous",next:"Next"},r=class{constructor(a){t(this,a),this.guxPaginationCursorchange=e(this,"guxPaginationCursorchange",7),this.guxitemsperpagechange=e(this,"guxitemsperpagechange",7),this.hasPrevious=!1,this.hasNext=!1,this.label=void 0,this.itemsPerPage=void 0,this.layout="simple"}handleInternalitemsperpagechange(t){this.guxitemsperpagechange.emit(t.detail)}onButtonClick(t){("previous"===t&&this.hasPrevious||"next"===t&&this.hasNext)&&this.guxPaginationCursorchange.emit(t)}async componentWillLoad(){n(this.root),this.i18n=await s(this.root,o)}renderSimpleLayout(){return[a("nav",{"aria-label":this.label,class:"gux-pagination-button-container"},a("gux-button-slot",{accent:"ghost"},a("button",{class:"gux-simple-button",type:"button",disabled:!this.hasPrevious,onClick:()=>this.onButtonClick("previous")},a("gux-icon",{iconName:"custom/chevron-left-small-regular","screenreader-text":this.i18n("previous"),size:"small"}))),a("gux-button-slot",{accent:"ghost"},a("button",{class:"gux-simple-button",type:"button",disabled:!this.hasNext,onClick:()=>this.onButtonClick("next")},a("gux-icon",{iconName:"custom/chevron-right-small-regular","screenreader-text":this.i18n("next"),size:"small"}))))]}renderAdvancedLayout(){return[a("nav",{"aria-label":this.label,class:"gux-pagination-button-container"},a("gux-button-slot",{accent:"ghost"},a("button",{type:"button",disabled:!this.hasPrevious,onClick:()=>this.onButtonClick("previous")},a("div",{class:"gux-button-align-content"},a("gux-icon",{decorative:!0,iconName:"custom/chevron-left-small-regular",size:"small"}),a("span",null,this.i18n("previous"))))),a("gux-button-slot",{accent:"ghost"},a("button",{type:"button",disabled:!this.hasNext,onClick:()=>this.onButtonClick("next")},a("div",{class:"gux-button-align-content"},a("span",null,this.i18n("next")),a("gux-icon",{decorative:!0,iconName:"custom/chevron-right-small-regular",size:"small"}))))),this.renderItemsPerPage()]}renderItemsPerPage(){return this.itemsPerPage&&a("gux-pagination-items-per-page",{"items-per-page":this.itemsPerPage,onInternalitemsperpagechange:this.handleInternalitemsperpagechange.bind(this)})}render(){return"advanced"===this.layout?this.renderAdvancedLayout():this.renderSimpleLayout()}get root(){return i(this)}};r.style=":host{display:flex;flex-direction:row-reverse;flex-wrap:nowrap;place-content:stretch space-between;align-items:flex-start;padding:var(--gse-ui-dataTableItems-tablePagination-padding);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-defaultText-fontWeight);line-height:var(--gse-ui-dataTableItems-tablePagination-defaultText-lineHeight);color:var(--gse-ui-dataTableItems-tablePagination-foregroundColor);background-color:var(--gse-ui-dataTableItems-tablePagination-defaultBackgroundColor);border-block-start:var(--gse-ui-dataTableItems-tablePagination-divider-width) var(--gse-ui-dataTableItems-tablePagination-divider-style) var(--gse-ui-dataTableItems-tablePagination-divider-color)}:host .gux-pagination-button-container{display:flex;flex-wrap:nowrap;gap:var(--gse-ui-dataTableItems-tablePagination-recordsetControls-gap);align-content:center}:host .gux-button-align-content{display:flex;flex-direction:row;flex-wrap:nowrap;gap:var(--gse-ui-button-gap);align-content:center;align-items:center}:host .gux-button-align-content>*{flex:0 1 auto;align-self:auto;order:0}:host gux-icon{display:flex}";export{r as gux_pagination_cursor}
@@ -1 +1 @@
1
- import{r as t,h as s,g as i}from"./p-ffb7c9dc.js";import{t as r}from"./p-db306845.js";const n=/[ +]/g,e=new Map,h=new Map;function a(t){return t.replace(/[\^$*+?.(){}[\]\\]/g,"\\$&")}const o=class{constructor(s){t(this,s),this.text=void 0,this.highlight=void 0,this.strategy="start",this.dimmed=!1}componentWillLoad(){r(this.root)}render(){if(this.highlight&&this.text)switch(this.strategy){case"start":return this.renderStartsWith();case"contains":return this.renderContains();case"fuzzy":return this.renderFuzzy()}return s("span",{class:{"gux-dimmed":this.dimmed}},this.text)}renderStartsWith(){if(this.text.toLowerCase().startsWith(this.highlight.toLowerCase())){const t=this.text.substring(0,this.highlight.length),i=this.text.substring(this.highlight.length);return s("span",{class:{"gux-dimmed":this.dimmed}},s("mark",null,t),i)}return s("span",{class:{"gux-dimmed":this.dimmed}},this.text)}renderContains(){const t={highlighted:"",remaining:this.text};for(;t.remaining.toLowerCase().includes(this.highlight.toLowerCase());){const s=t.remaining.toLowerCase().indexOf(this.highlight.toLowerCase()),i=t.remaining.substring(0,s),r=t.remaining.substring(s,s+this.highlight.length);t.highlighted+=i+`<mark>${r}</mark>`,t.remaining=t.remaining.substring(s+r.length)}return s("span",{class:{"gux-dimmed":this.dimmed},innerHTML:t.highlighted+t.remaining})}renderFuzzy(){if(function(t,s){let i=e.get(t);return i||(i=function(t){const s=t.split(n).map(a);if(1===s.length)return new RegExp(s[0],"i");let i="(";return s.forEach(((t,r)=>{i+=t+").*",r!==s.length-1&&(i+="(")})),new RegExp(i+"$","i")}(t),e.set(t,i)),i.test(s)}(this.highlight,this.text)){const i=(t=this.highlight,t.split(n).map(a).map((t=>{let s=h.get(t);return s||(s=new RegExp(t,"i"),h.set(t,s)),s}))).reduce(((t,s)=>{const{0:i,index:r,input:n}=t.remaining.match(s),e=n.substring(0,r);return{highlighted:`${t.highlighted+e}<mark>${i}</mark>`,remaining:n.substring(r+i.length)}}),{highlighted:"",remaining:this.text});return s("span",{class:{"gux-dimmed":this.dimmed},innerHTML:i.highlighted+i.remaining})}var t;return s("span",{class:{"gux-dimmed":this.dimmed}},this.text)}get root(){return i(this)}};o.style="span mark{background-color:var(--gse-ui-search-match-firstLevel-backgroundColor)}.gux-dimmed mark{background-color:var(--gse-ui-search-match-subsequentLevel-backgroundColor)}";export{o as gux_text_highlight}
1
+ import{r as t,h as s,g as i}from"./p-ffb7c9dc.js";import{t as r}from"./p-5d9df6a7.js";const n=/[ +]/g,e=new Map,h=new Map;function a(t){return t.replace(/[\^$*+?.(){}[\]\\]/g,"\\$&")}const o=class{constructor(s){t(this,s),this.text=void 0,this.highlight=void 0,this.strategy="start",this.dimmed=!1}componentWillLoad(){r(this.root)}render(){if(this.highlight&&this.text)switch(this.strategy){case"start":return this.renderStartsWith();case"contains":return this.renderContains();case"fuzzy":return this.renderFuzzy()}return s("span",{class:{"gux-dimmed":this.dimmed}},this.text)}renderStartsWith(){if(this.text.toLowerCase().startsWith(this.highlight.toLowerCase())){const t=this.text.substring(0,this.highlight.length),i=this.text.substring(this.highlight.length);return s("span",{class:{"gux-dimmed":this.dimmed}},s("mark",null,t),i)}return s("span",{class:{"gux-dimmed":this.dimmed}},this.text)}renderContains(){const t={highlighted:"",remaining:this.text};for(;t.remaining.toLowerCase().includes(this.highlight.toLowerCase());){const s=t.remaining.toLowerCase().indexOf(this.highlight.toLowerCase()),i=t.remaining.substring(0,s),r=t.remaining.substring(s,s+this.highlight.length);t.highlighted+=i+`<mark>${r}</mark>`,t.remaining=t.remaining.substring(s+r.length)}return s("span",{class:{"gux-dimmed":this.dimmed},innerHTML:t.highlighted+t.remaining})}renderFuzzy(){if(function(t,s){let i=e.get(t);return i||(i=function(t){const s=t.split(n).map(a);if(1===s.length)return new RegExp(s[0],"i");let i="(";return s.forEach(((t,r)=>{i+=t+").*",r!==s.length-1&&(i+="(")})),new RegExp(i+"$","i")}(t),e.set(t,i)),i.test(s)}(this.highlight,this.text)){const i=(t=this.highlight,t.split(n).map(a).map((t=>{let s=h.get(t);return s||(s=new RegExp(t,"i"),h.set(t,s)),s}))).reduce(((t,s)=>{const{0:i,index:r,input:n}=t.remaining.match(s),e=n.substring(0,r);return{highlighted:`${t.highlighted+e}<mark>${i}</mark>`,remaining:n.substring(r+i.length)}}),{highlighted:"",remaining:this.text});return s("span",{class:{"gux-dimmed":this.dimmed},innerHTML:i.highlighted+i.remaining})}var t;return s("span",{class:{"gux-dimmed":this.dimmed}},this.text)}get root(){return i(this)}};o.style="span mark{background-color:var(--gse-ui-search-match-firstLevel-backgroundColor)}.gux-dimmed mark{background-color:var(--gse-ui-search-match-subsequentLevel-backgroundColor)}";export{o as gux_text_highlight}
@@ -1 +1 @@
1
- import{r as t,h as s,g as o}from"./p-ffb7c9dc.js";import{t as i}from"./p-db306845.js";import{b as r}from"./p-cfeaf436.js";import{t as e}from"./p-f01d2320.js";import{h as n,r as a}from"./p-b2e29026.js";import"./p-4202e9f2.js";import"./p-43af726d.js";const u=class{constructor(s){t(this,s),this.action=void 0,this.disabled=!1,this.isActive=!1}async componentWillLoad(){i(this.root,{variant:this.action}),this.i18n=await r(this.root,e)}renderTooltip(){if(!this.disabled)return s("gux-tooltip-beta",null,s("div",{slot:"content"},this.i18n(this.action)))}renderActionButton(){return s("gux-button-slot",{accent:"ghost","icon-only":!0},s("button",{type:"button",disabled:this.disabled||n(this.root),class:{"gux-is-pressed":this.isActive},"aria-pressed":this.isActive.toString()},s("gux-icon",{"icon-name":a(this.action),"screenreader-text":this.i18n(this.action),size:"small"})),this.renderTooltip())}render(){return this.renderActionButton()}get root(){return o(this)}};u.style=":host{display:block}gux-button-slot{inline-size:var(--gse-ui-button-iconOnly-width);block-size:var(--gse-ui-button-default-height)}gux-button-slot button.gux-is-pressed{color:var(--gse-ui-button-ghost-active-foregroundColor);background-color:var(--gse-ui-button-ghost-active-backgroundColor)}";export{u as gux_rich_text_editor_action}
1
+ import{r as t,h as s,g as o}from"./p-ffb7c9dc.js";import{t as i}from"./p-5d9df6a7.js";import{b as r}from"./p-cfeaf436.js";import{t as e}from"./p-f01d2320.js";import{h as n,r as a}from"./p-b2e29026.js";import"./p-4202e9f2.js";import"./p-43af726d.js";const u=class{constructor(s){t(this,s),this.action=void 0,this.disabled=!1,this.isActive=!1}async componentWillLoad(){i(this.root,{variant:this.action}),this.i18n=await r(this.root,e)}renderTooltip(){if(!this.disabled)return s("gux-tooltip-beta",null,s("div",{slot:"content"},this.i18n(this.action)))}renderActionButton(){return s("gux-button-slot",{accent:"ghost","icon-only":!0},s("button",{type:"button",disabled:this.disabled||n(this.root),class:{"gux-is-pressed":this.isActive},"aria-pressed":this.isActive.toString()},s("gux-icon",{"icon-name":a(this.action),"screenreader-text":this.i18n(this.action),size:"small"})),this.renderTooltip())}render(){return this.renderActionButton()}get root(){return o(this)}};u.style=":host{display:block}gux-button-slot{inline-size:var(--gse-ui-button-iconOnly-width);block-size:var(--gse-ui-button-default-height)}gux-button-slot button.gux-is-pressed{color:var(--gse-ui-button-ghost-active-foregroundColor);background-color:var(--gse-ui-button-ghost-active-backgroundColor)}";export{u as gux_rich_text_editor_action}
@@ -1 +1 @@
1
- import{r as i,h as t,g as e}from"./p-ffb7c9dc.js";import{b as a}from"./p-cfeaf436.js";import{t as n}from"./p-db306845.js";import"./p-4202e9f2.js";const o={navigationName:"Skip links navigation"},s=class{constructor(t){i(this,t)}async componentWillLoad(){n(this.root),this.i18n=await a(this.root,o)}render(){return t("div",{key:"c1e6d745d73f309e1d06ab5c5cc0a7c27c289f70",class:"gux-container"},t("nav",{key:"9d3e9e46d23809c1041e56da315268d85d13947e","aria-label":this.i18n("navigationName")},t("ul",{key:"dcda32ba4904b05c4a2cc35cc9193f999a60526c",role:"list"},t("slot",{key:"fec5585b42d0b940b2fa89653fff54686d11c9d9"}))))}static get delegatesFocus(){return!0}get root(){return e(this)}};s.style=":host{position:absolute;top:auto;left:-10000px;width:1px;height:1px;overflow:hidden}:host(:focus-within){position:inherit;top:inherit;left:inherit;width:inherit;height:inherit;overflow:inherit;position:absolute;inset:0}.gux-container nav{inline-size:fit-content;margin-block:40px;margin-inline:auto}.gux-container nav ul{padding:0;margin:0}";export{s as gux_skip_navigation_list}
1
+ import{r as i,h as t,g as e}from"./p-ffb7c9dc.js";import{b as a}from"./p-cfeaf436.js";import{t as n}from"./p-5d9df6a7.js";import"./p-4202e9f2.js";const o={navigationName:"Skip links navigation"},s=class{constructor(t){i(this,t)}async componentWillLoad(){n(this.root),this.i18n=await a(this.root,o)}render(){return t("div",{key:"c1e6d745d73f309e1d06ab5c5cc0a7c27c289f70",class:"gux-container"},t("nav",{key:"9d3e9e46d23809c1041e56da315268d85d13947e","aria-label":this.i18n("navigationName")},t("ul",{key:"dcda32ba4904b05c4a2cc35cc9193f999a60526c",role:"list"},t("slot",{key:"fec5585b42d0b940b2fa89653fff54686d11c9d9"}))))}static get delegatesFocus(){return!0}get root(){return e(this)}};s.style=":host{position:absolute;top:auto;left:-10000px;width:1px;height:1px;overflow:hidden}:host(:focus-within){position:inherit;top:inherit;left:inherit;width:inherit;height:inherit;overflow:inherit;position:absolute;inset:0}.gux-container nav{inline-size:fit-content;margin-block:40px;margin-inline:auto}.gux-container nav ul{padding:0;margin:0}";export{s as gux_skip_navigation_list}
@@ -1 +1 @@
1
- import{r as o,h as t,g as s}from"./p-ffb7c9dc.js";import{t as r}from"./p-db306845.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:"3ae9c26587b4e858dc9b99802dc0b9fdc524f328"})}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-ffb7c9dc.js";import{t as r}from"./p-5d9df6a7.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:"3ae9c26587b4e858dc9b99802dc0b9fdc524f328"})}get root(){return s(this)}};c.style="gux-accordion{-custom-noop:noop}";export{c as gux_accordion}
@@ -1 +1 @@
1
- import{r as e,c as t,f as n,h as s,g as a}from"./p-ffb7c9dc.js";import{b as o}from"./p-cfeaf436.js";import{t as c}from"./p-db306845.js";import{g as i,s as r,a as h,b as d,c as l,d as u,e as b,f as m,h as p}from"./p-db201bbc.js";import"./p-4202e9f2.js";import"./p-a43079c8.js";import"./p-2c25e2f2.js";const g={search:"Search",searchResults:"search results",selectedColumnCount:"{count} / {total} Columns Selected",selectAllColumnsScreenReader:"{count} of {total} columns selected: check checkbox to select all {total} columns",unselectAllColumnsScreenReader:"{count} of {total} columns selected: uncheck checkbox to unselect all {total} columns",movePositionPrompt:"Press space or enter to move the {columnName} column to position {newPositionNumber} from position {oldPositionNumber}.",reorderingModeActive:"Reordering mode active. Reposition the {columnName} column using the up arrow key, the down arrow key, the home key and the end key. Press Escape to deactivate reordering mode."},x=class{constructor(n){e(this,n),this.guxorderchange=t(this,"guxorderchange",7),this.highlightResults={matchCount:0,currentMatch:0},this.keyboardOrderChange=i()}watchKeyboardOrderChange(){r(this.root,this.keyboardOrderChange)}async componentWillLoad(){c(this.root),this.i18n=await o(this.root,g)}componentDidLoad(){h(this.root,this.mainCheckboxElement)}handleInternalorderchange(e){e.stopPropagation(),this.emitOrderChange(e.detail)}emitOrderChange(e){const{oldIndex:t,newIndex:n}=e;if(t!==n){const t=d(this.root,e);this.guxorderchange.emit(t)}}handleInternalkeyboardorderstart(e){e.stopPropagation();const t=e.detail,n=l(e.target);this.keyboardOrderChange={oldIndex:n,newIndex:n},this.announceElement.guxAnnounce(this.i18n("reorderingModeActive",{columnName:t}))}handleInternalkeyboardreordermove(e){e.stopPropagation();const{delta:t,column:n}=e.detail;this.keyboardOrderChange=u(this.root,this.keyboardOrderChange,t),this.announceElement.guxAnnounce(this.i18n("movePositionPrompt",{columnName:n,newPositionNumber:this.keyboardOrderChange.newIndex+1,oldPositionNumber:this.keyboardOrderChange.oldIndex+1}))}handleInternalkeyboarddoreorder(e){e.stopPropagation(),this.emitOrderChange(this.keyboardOrderChange),e.target.guxFocus()}handleInternalkeyboardorderfinish(e){e.stopPropagation(),this.keyboardOrderChange=i()}onSearchInput(){this.highlightResults=b(this.root,this.searchElement)}onGuxCurrentMatchChanged(e){this.highlightResults=b(this.root,this.searchElement,e.detail)}onMainCheckboxChange(){m(this.root,this.mainCheckboxElement.checked),n(this.root)}onListChange(){h(this.root,this.mainCheckboxElement),n(this.root)}onSlotChange(){this.onListChange()}renderSelectedColumnCount(){const{count:e,total:t}=p(this.root);return s("div",null,s("span",{"aria-hidden":"true"},this.i18n("selectedColumnCount",{count:e,total:t})),s("span",{class:"gux-sr-only"},s("span",null,": ",this.i18n(e===t?"unselectAllColumnsScreenReader":"selectAllColumnsScreenReader",{count:e,total:t}))))}render(){return s("div",{key:"83f8c56f7b40274f4c90a19ff85f56eb0b9f0c1b",class:"gux-container"},s("div",{key:"cd0a19859d0475b7e92b9bbc06d0889943c7802b",class:"gux-sr-only","aria-live":"polite"},`${this.highlightResults.matchCount} ${this.i18n("searchResults")}`),s("div",{key:"092d37573ab5991e38db44f0c2a81e2c34806d3f",class:"gux-search"},s("gux-content-search",{key:"7cab45a1358fbd2fe8646b90fd8afc4b29a973b5","match-count":this.highlightResults.matchCount,"current-match":this.highlightResults.currentMatch,onGuxcurrentmatchchanged:e=>this.onGuxCurrentMatchChanged(e)},s("input",{key:"3523482ff7a71159d0a651be41b8fda04c1485f3",type:"search",placeholder:this.i18n("search"),onInput:()=>this.onSearchInput(),ref:e=>this.searchElement=e}))),s("div",{key:"50dd1066c38088bd7c457cfc355007c37d075602",class:"gux-select"},s("gux-form-field-checkbox",{key:"9a2bbaa79781ad1b416328970aa01676cef39cf0"},s("input",{key:"9e3057496b6edeb25b33c5d96642e9dd83e5abc1",slot:"input",type:"checkbox",ref:e=>this.mainCheckboxElement=e,onChange:()=>this.onMainCheckboxChange()}),s("label",{key:"c79b45b9957847d59753bf51de17066850438489",slot:"label"},this.renderSelectedColumnCount()))),s("div",{key:"3690576a14aacca46bd638588b071b8e38e74c87",class:"gux-list",onChange:()=>this.onListChange()},s("slot",{key:"397e963311bb6d94231235625b8d9e65b9a1bd48",onSlotchange:()=>this.onSlotChange()})),s("gux-announce-beta",{key:"10cb64eeeb4a03e0e5d94d09b21103b1e3094654",ref:e=>this.announceElement=e}))}get root(){return a(this)}static get watchers(){return{keyboardOrderChange:["watchKeyboardOrderChange"]}}};x.style=".gux-container{inline-size:320px;min-inline-size:320px;padding:var(--gse-ui-dataTableItems-editColumn-editColumnContent-padding)}.gux-container .gux-search gux-content-search{inline-size:100%}.gux-container .gux-search gux-content-search input[type=search]::-webkit-search-decoration,.gux-container .gux-search gux-content-search input[type=search]::-webkit-search-cancel-button,.gux-container .gux-search gux-content-search input[type=search]::-webkit-search-results-button,.gux-container .gux-search gux-content-search input[type=search]::-webkit-search-results-decoration{display:none;-webkit-appearance:none}.gux-container .gux-select{padding:var(--gse-ui-dataTableItems-editColumn-editColumnContent-padding);margin-inline-start:24px}.gux-sr-only:not(:focus):not(:active){position:absolute;width:1px;height:1px;overflow:hidden;white-space:nowrap;clip:rect(0 0 0 0);clip-path:inset(50%)}";export{x as gux_column_manager}
1
+ import{r as e,c as t,f as n,h as s,g as a}from"./p-ffb7c9dc.js";import{b as o}from"./p-cfeaf436.js";import{t as c}from"./p-5d9df6a7.js";import{g as i,s as r,a as h,b as d,c as l,d as u,e as b,f as m,h as p}from"./p-db201bbc.js";import"./p-4202e9f2.js";import"./p-a43079c8.js";import"./p-2c25e2f2.js";const g={search:"Search",searchResults:"search results",selectedColumnCount:"{count} / {total} Columns Selected",selectAllColumnsScreenReader:"{count} of {total} columns selected: check checkbox to select all {total} columns",unselectAllColumnsScreenReader:"{count} of {total} columns selected: uncheck checkbox to unselect all {total} columns",movePositionPrompt:"Press space or enter to move the {columnName} column to position {newPositionNumber} from position {oldPositionNumber}.",reorderingModeActive:"Reordering mode active. Reposition the {columnName} column using the up arrow key, the down arrow key, the home key and the end key. Press Escape to deactivate reordering mode."},x=class{constructor(n){e(this,n),this.guxorderchange=t(this,"guxorderchange",7),this.highlightResults={matchCount:0,currentMatch:0},this.keyboardOrderChange=i()}watchKeyboardOrderChange(){r(this.root,this.keyboardOrderChange)}async componentWillLoad(){c(this.root),this.i18n=await o(this.root,g)}componentDidLoad(){h(this.root,this.mainCheckboxElement)}handleInternalorderchange(e){e.stopPropagation(),this.emitOrderChange(e.detail)}emitOrderChange(e){const{oldIndex:t,newIndex:n}=e;if(t!==n){const t=d(this.root,e);this.guxorderchange.emit(t)}}handleInternalkeyboardorderstart(e){e.stopPropagation();const t=e.detail,n=l(e.target);this.keyboardOrderChange={oldIndex:n,newIndex:n},this.announceElement.guxAnnounce(this.i18n("reorderingModeActive",{columnName:t}))}handleInternalkeyboardreordermove(e){e.stopPropagation();const{delta:t,column:n}=e.detail;this.keyboardOrderChange=u(this.root,this.keyboardOrderChange,t),this.announceElement.guxAnnounce(this.i18n("movePositionPrompt",{columnName:n,newPositionNumber:this.keyboardOrderChange.newIndex+1,oldPositionNumber:this.keyboardOrderChange.oldIndex+1}))}handleInternalkeyboarddoreorder(e){e.stopPropagation(),this.emitOrderChange(this.keyboardOrderChange),e.target.guxFocus()}handleInternalkeyboardorderfinish(e){e.stopPropagation(),this.keyboardOrderChange=i()}onSearchInput(){this.highlightResults=b(this.root,this.searchElement)}onGuxCurrentMatchChanged(e){this.highlightResults=b(this.root,this.searchElement,e.detail)}onMainCheckboxChange(){m(this.root,this.mainCheckboxElement.checked),n(this.root)}onListChange(){h(this.root,this.mainCheckboxElement),n(this.root)}onSlotChange(){this.onListChange()}renderSelectedColumnCount(){const{count:e,total:t}=p(this.root);return s("div",null,s("span",{"aria-hidden":"true"},this.i18n("selectedColumnCount",{count:e,total:t})),s("span",{class:"gux-sr-only"},s("span",null,": ",this.i18n(e===t?"unselectAllColumnsScreenReader":"selectAllColumnsScreenReader",{count:e,total:t}))))}render(){return s("div",{key:"83f8c56f7b40274f4c90a19ff85f56eb0b9f0c1b",class:"gux-container"},s("div",{key:"cd0a19859d0475b7e92b9bbc06d0889943c7802b",class:"gux-sr-only","aria-live":"polite"},`${this.highlightResults.matchCount} ${this.i18n("searchResults")}`),s("div",{key:"092d37573ab5991e38db44f0c2a81e2c34806d3f",class:"gux-search"},s("gux-content-search",{key:"7cab45a1358fbd2fe8646b90fd8afc4b29a973b5","match-count":this.highlightResults.matchCount,"current-match":this.highlightResults.currentMatch,onGuxcurrentmatchchanged:e=>this.onGuxCurrentMatchChanged(e)},s("input",{key:"3523482ff7a71159d0a651be41b8fda04c1485f3",type:"search",placeholder:this.i18n("search"),onInput:()=>this.onSearchInput(),ref:e=>this.searchElement=e}))),s("div",{key:"50dd1066c38088bd7c457cfc355007c37d075602",class:"gux-select"},s("gux-form-field-checkbox",{key:"9a2bbaa79781ad1b416328970aa01676cef39cf0"},s("input",{key:"9e3057496b6edeb25b33c5d96642e9dd83e5abc1",slot:"input",type:"checkbox",ref:e=>this.mainCheckboxElement=e,onChange:()=>this.onMainCheckboxChange()}),s("label",{key:"c79b45b9957847d59753bf51de17066850438489",slot:"label"},this.renderSelectedColumnCount()))),s("div",{key:"3690576a14aacca46bd638588b071b8e38e74c87",class:"gux-list",onChange:()=>this.onListChange()},s("slot",{key:"397e963311bb6d94231235625b8d9e65b9a1bd48",onSlotchange:()=>this.onSlotChange()})),s("gux-announce-beta",{key:"10cb64eeeb4a03e0e5d94d09b21103b1e3094654",ref:e=>this.announceElement=e}))}get root(){return a(this)}static get watchers(){return{keyboardOrderChange:["watchKeyboardOrderChange"]}}};x.style=".gux-container{inline-size:320px;min-inline-size:320px;padding:var(--gse-ui-dataTableItems-editColumn-editColumnContent-padding)}.gux-container .gux-search gux-content-search{inline-size:100%}.gux-container .gux-search gux-content-search input[type=search]::-webkit-search-decoration,.gux-container .gux-search gux-content-search input[type=search]::-webkit-search-cancel-button,.gux-container .gux-search gux-content-search input[type=search]::-webkit-search-results-button,.gux-container .gux-search gux-content-search input[type=search]::-webkit-search-results-decoration{display:none;-webkit-appearance:none}.gux-container .gux-select{padding:var(--gse-ui-dataTableItems-editColumn-editColumnContent-padding);margin-inline-start:24px}.gux-sr-only:not(:focus):not(:active){position:absolute;width:1px;height:1px;overflow:hidden;white-space:nowrap;clip:rect(0 0 0 0);clip-path:inset(50%)}";export{x as gux_column_manager}
@@ -1 +1 @@
1
- import{r as t,c as e,h as i,H as s,g as o}from"./p-ffb7c9dc.js";import{O as a}from"./p-da087c59.js";import{t as c}from"./p-db306845.js";import{b as r}from"./p-cfeaf436.js";import{t as n}from"./p-f01d2320.js";import{b as l}from"./p-cf0e7d3b.js";import{h as d}from"./p-b2e29026.js";import"./p-4202e9f2.js";import"./p-43af726d.js";const b=class{constructor(i){t(this,i),this.linkOptions=e(this,"linkOptions",7),this.disabled=!1,this.isActive=!1,this.isOpen=!1}onClickOutside(){this.isOpen=!1}handleKeydown(t){const e=t.composedPath();switch(t.key){case"Escape":this.isOpen=!1,this.actionButton.focus();break;case"ArrowDown":case"Enter":e.includes(this.actionButton)&&(t.preventDefault(),this.isOpen=!0,this.focusTextToDisplayInputElement())}}async componentWillLoad(){c(this.root),this.i18n=await r(this.root,n)}emitLinkOptions(){this.linkOptions.emit({textToDisplay:this.textToDisplayInputElement.value,href:this.linkAddressInputElement.value}),this.textToDisplayInputElement.value=null,this.linkAddressInputElement.value=null,this.isOpen=!1}togglePopover(){this.isOpen=!this.isOpen,this.isOpen?this.focusTextToDisplayInputElement():this.actionButton.focus()}focusTextToDisplayInputElement(){l((()=>{this.textToDisplayInputElement.focus()}))}renderTooltip(){if(!this.disabled)return i("gux-tooltip-beta",null,i("div",{slot:"content"},this.i18n("link")))}render(){return i(s,{key:"a52d8e6349d4b6fc33f9b45e14aee9818589a56b"},i("gux-button-slot",{key:"01932efb7f846d04279bbef7425c8c420e11226a",accent:"ghost","icon-only":!0},i("button",{key:"ceee1786a52a0cf6c8ac79433d0c5a0b9375bea8",id:"popover-target",class:{"gux-is-pressed":this.isActive||this.isOpen},onClick:()=>this.togglePopover(),ref:t=>this.actionButton=t,type:"button",disabled:this.disabled||d(this.root),"aria-label":this.i18n("link"),"aria-haspopup":"true","aria-expanded":this.isOpen.toString(),"aria-pressed":this.isActive.toString()},i("gux-icon",{key:"3356d333fc7b6f2cda7d72b97196648af125f3ed",size:"small","icon-name":"fa/link-simple-regular",decorative:!0})),this.renderTooltip()),i("gux-popover",{key:"0ab02cd9b64fdd8d16379041d054457a65c5f9ae","is-open":this.isOpen,for:"popover-target"},i("div",{key:"e7832a550bce5968ab722f9c7a67599d2b73924d",class:"gux-popover-content-wrapper"},i("gux-form-field-text-like",{key:"97ecdbdb6b2e03bc4d187088b5f7196d437d47d6"},i("input",{key:"39e5ad15e4c18074e5a90fcedfef76bb29730469",id:"textToDisplay",ref:t=>this.textToDisplayInputElement=t,slot:"input",type:"text"}),i("label",{key:"d87abf3d276e9243251714c1e8b4e1dfe5c8cda6",slot:"label"},this.i18n("textToDisplay"))),i("gux-form-field-text-like",{key:"c87795f31d0d954fe0c7cb740acbd8460c710728"},i("input",{key:"78bcbcefe6a2c1a9fcd5c6796beb6d50176eb69e",ref:t=>this.linkAddressInputElement=t,slot:"input",type:"text"}),i("label",{key:"632ba33b6ae356917bca3b60d1ca00668a1ed60c",slot:"label"},this.i18n("linkAddress"))),i("gux-cta-group",{key:"2008fabff6da53e39b5d4fcfe1a7b17b529a3aec",align:"end"},i("gux-button",{key:"028dee824f38d29abd96c891797ca78f682373ac",onClick:()=>this.emitLinkOptions(),slot:"primary"},this.i18n("insert")),i("gux-button",{key:"670e16d66a2294a61f9e6e96eb35d08067778aba",onClick:()=>this.togglePopover(),slot:"dismiss"},this.i18n("cancel"))))))}get root(){return o(this)}};(function(t,e,i,s){var o,a=arguments.length,c=a<3?e:null===s?s=Object.getOwnPropertyDescriptor(e,i):s;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)c=Reflect.decorate(t,e,i,s);else for(var r=t.length-1;r>=0;r--)(o=t[r])&&(c=(a<3?o(c):a>3?o(e,i,c):o(e,i))||c);a>3&&c&&Object.defineProperty(e,i,c)})([a({triggerEvents:"mousedown"})],b.prototype,"onClickOutside",null),b.style=":host{display:block}gux-popover div.gux-popover-content-wrapper{display:flex;flex-direction:column;gap:var(--gse-ui-popover-gap)}gux-button-slot{inline-size:var(--gse-ui-button-iconOnly-width);block-size:var(--gse-ui-button-default-height)}gux-button-slot button.gux-is-pressed{color:var(--gse-ui-button-ghost-active-foregroundColor);background-color:var(--gse-ui-button-ghost-active-backgroundColor)}";export{b as gux_rich_text_editor_action_link}
1
+ import{r as t,c as e,h as i,H as s,g as o}from"./p-ffb7c9dc.js";import{O as a}from"./p-da087c59.js";import{t as c}from"./p-5d9df6a7.js";import{b as r}from"./p-cfeaf436.js";import{t as n}from"./p-f01d2320.js";import{b as l}from"./p-cf0e7d3b.js";import{h as d}from"./p-b2e29026.js";import"./p-4202e9f2.js";import"./p-43af726d.js";const b=class{constructor(i){t(this,i),this.linkOptions=e(this,"linkOptions",7),this.disabled=!1,this.isActive=!1,this.isOpen=!1}onClickOutside(){this.isOpen=!1}handleKeydown(t){const e=t.composedPath();switch(t.key){case"Escape":this.isOpen=!1,this.actionButton.focus();break;case"ArrowDown":case"Enter":e.includes(this.actionButton)&&(t.preventDefault(),this.isOpen=!0,this.focusTextToDisplayInputElement())}}async componentWillLoad(){c(this.root),this.i18n=await r(this.root,n)}emitLinkOptions(){this.linkOptions.emit({textToDisplay:this.textToDisplayInputElement.value,href:this.linkAddressInputElement.value}),this.textToDisplayInputElement.value=null,this.linkAddressInputElement.value=null,this.isOpen=!1}togglePopover(){this.isOpen=!this.isOpen,this.isOpen?this.focusTextToDisplayInputElement():this.actionButton.focus()}focusTextToDisplayInputElement(){l((()=>{this.textToDisplayInputElement.focus()}))}renderTooltip(){if(!this.disabled)return i("gux-tooltip-beta",null,i("div",{slot:"content"},this.i18n("link")))}render(){return i(s,{key:"a52d8e6349d4b6fc33f9b45e14aee9818589a56b"},i("gux-button-slot",{key:"01932efb7f846d04279bbef7425c8c420e11226a",accent:"ghost","icon-only":!0},i("button",{key:"ceee1786a52a0cf6c8ac79433d0c5a0b9375bea8",id:"popover-target",class:{"gux-is-pressed":this.isActive||this.isOpen},onClick:()=>this.togglePopover(),ref:t=>this.actionButton=t,type:"button",disabled:this.disabled||d(this.root),"aria-label":this.i18n("link"),"aria-haspopup":"true","aria-expanded":this.isOpen.toString(),"aria-pressed":this.isActive.toString()},i("gux-icon",{key:"3356d333fc7b6f2cda7d72b97196648af125f3ed",size:"small","icon-name":"fa/link-simple-regular",decorative:!0})),this.renderTooltip()),i("gux-popover",{key:"0ab02cd9b64fdd8d16379041d054457a65c5f9ae","is-open":this.isOpen,for:"popover-target"},i("div",{key:"e7832a550bce5968ab722f9c7a67599d2b73924d",class:"gux-popover-content-wrapper"},i("gux-form-field-text-like",{key:"97ecdbdb6b2e03bc4d187088b5f7196d437d47d6"},i("input",{key:"39e5ad15e4c18074e5a90fcedfef76bb29730469",id:"textToDisplay",ref:t=>this.textToDisplayInputElement=t,slot:"input",type:"text"}),i("label",{key:"d87abf3d276e9243251714c1e8b4e1dfe5c8cda6",slot:"label"},this.i18n("textToDisplay"))),i("gux-form-field-text-like",{key:"c87795f31d0d954fe0c7cb740acbd8460c710728"},i("input",{key:"78bcbcefe6a2c1a9fcd5c6796beb6d50176eb69e",ref:t=>this.linkAddressInputElement=t,slot:"input",type:"text"}),i("label",{key:"632ba33b6ae356917bca3b60d1ca00668a1ed60c",slot:"label"},this.i18n("linkAddress"))),i("gux-cta-group",{key:"2008fabff6da53e39b5d4fcfe1a7b17b529a3aec",align:"end"},i("gux-button",{key:"028dee824f38d29abd96c891797ca78f682373ac",onClick:()=>this.emitLinkOptions(),slot:"primary"},this.i18n("insert")),i("gux-button",{key:"670e16d66a2294a61f9e6e96eb35d08067778aba",onClick:()=>this.togglePopover(),slot:"dismiss"},this.i18n("cancel"))))))}get root(){return o(this)}};(function(t,e,i,s){var o,a=arguments.length,c=a<3?e:null===s?s=Object.getOwnPropertyDescriptor(e,i):s;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)c=Reflect.decorate(t,e,i,s);else for(var r=t.length-1;r>=0;r--)(o=t[r])&&(c=(a<3?o(c):a>3?o(e,i,c):o(e,i))||c);a>3&&c&&Object.defineProperty(e,i,c)})([a({triggerEvents:"mousedown"})],b.prototype,"onClickOutside",null),b.style=":host{display:block}gux-popover div.gux-popover-content-wrapper{display:flex;flex-direction:column;gap:var(--gse-ui-popover-gap)}gux-button-slot{inline-size:var(--gse-ui-button-iconOnly-width);block-size:var(--gse-ui-button-default-height)}gux-button-slot button.gux-is-pressed{color:var(--gse-ui-button-ghost-active-foregroundColor);background-color:var(--gse-ui-button-ghost-active-backgroundColor)}";export{b as gux_rich_text_editor_action_link}
@@ -1 +1 @@
1
- import{r as t,h as s,H as e,g as i}from"./p-ffb7c9dc.js";import{t as r}from"./p-db306845.js";import{D as o,g as a}from"./p-ad9b3d73.js";import{u as h,d as m,a as p}from"./p-2319558c.js";import{g as n}from"./p-cfeaf436.js";import"./p-43af726d.js";import"./p-4202e9f2.js";const f=class{constructor(s){t(this,s),this.hasRegionalDatesCookie=!1,this.datetime=(new Date).toISOString(),this.format="short",this.timeZone=void 0}componentWillLoad(){r(this.root),h()?this.hasRegionalDatesCookie=!0:this.formatter=new o(n(this.root))}renderTime(){return this.hasRegionalDatesCookie?m(p(this.root),{timeStyle:this.format,timeZone:a(this.timeZone)}).format(new Date(this.datetime)):this.formatter.formatTime(new Date(this.datetime),this.format,{timeZone:a(this.timeZone)})}render(){return s(e,{key:"e3b90e8322cf23ee1f714ca7e3d3e96965ae1f29"},this.renderTime())}get root(){return i(this)}};export{f as gux_time_beta}
1
+ import{r as t,h as s,H as e,g as i}from"./p-ffb7c9dc.js";import{t as r}from"./p-5d9df6a7.js";import{D as o,g as a}from"./p-ad9b3d73.js";import{u as h,d as m,a as p}from"./p-2319558c.js";import{g as f}from"./p-cfeaf436.js";import"./p-43af726d.js";import"./p-4202e9f2.js";const n=class{constructor(s){t(this,s),this.hasRegionalDatesCookie=!1,this.datetime=(new Date).toISOString(),this.format="short",this.timeZone=void 0}componentWillLoad(){r(this.root),h()?this.hasRegionalDatesCookie=!0:this.formatter=new o(f(this.root))}renderTime(){return this.hasRegionalDatesCookie?m(p(this.root),{timeStyle:this.format,timeZone:a(this.timeZone)}).format(new Date(this.datetime)):this.formatter.formatTime(new Date(this.datetime),this.format,{timeZone:a(this.timeZone)})}render(){return s(e,{key:"e3b90e8322cf23ee1f714ca7e3d3e96965ae1f29"},this.renderTime())}get root(){return i(this)}};export{n as gux_time_beta}
@@ -1 +1 @@
1
- import{r as e,f as i,h as t,H as r,g as o}from"./p-ffb7c9dc.js";import{c as a,o as n}from"./p-f4751a15.js";import{O as s}from"./p-166634e1.js";import{o as l}from"./p-6b12dd16.js";import{p as g}from"./p-a11d5d42.js";import{h as u}from"./p-6d8b4027.js";import{a as d,G as h}from"./p-fcca9736.js";import{a as f,G as c}from"./p-727bfafa.js";import{g as p,v as x,a as b}from"./p-4aaf349e.js";import{t as m}from"./p-db306845.js";import{O as v}from"./p-1d9ed425.js";import"./p-0934300e.js";import"./p-8eaf8caf.js";import"./p-2c25e2f2.js";var y=function(e,i,t,r){var o,a=arguments.length,n=a<3?i:null===r?r=Object.getOwnPropertyDescriptor(i,t):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)n=Reflect.decorate(e,i,t,r);else for(var s=e.length-1;s>=0;s--)(o=e[s])&&(n=(a<3?o(n):a>3?o(i,t,n):o(i,t))||n);return a>3&&n&&Object.defineProperty(i,t,n),n};const k=class{constructor(i){e(this,i),this.displayUnits=void 0,this.valueInTooltip=void 0,this.labelPosition=void 0,this.indicatorMark="required",this.computedLabelPosition="above",this.disabled=void 0,this.required=void 0,this.hasError=!1,this.hasHelp=!1,this.value=void 0,this.active=void 0,this.valueWatcherId=void 0}onInput(e){this.updateValue(e.target.value)}onMousedown(){this.disabled||(this.active=!0)}onMouseup(){this.active=!1}onMutation(){this.labelInfo=this.root.querySelector("[slot=label-info]"),this.hasError=u(this.root,"error"),this.hasHelp=u(this.root,"help")}handleKeyup(e){var i,t;"Tab"===e.key?this.input.matches(":focus-visible")&&(null===(i=this.labelInfo)||void 0===i||i.showTooltip(),this.hideLabelInfoTimeout=setTimeout((()=>{var e;null===(e=this.labelInfo)||void 0===e||e.hideTooltip()}),6e3)):this.input.matches(":focus-visible")&&(null===(t=this.labelInfo)||void 0===t||t.hideTooltip(),clearTimeout(this.hideLabelInfoTimeout))}onFocusout(){var e;this.active=!1,null===(e=this.labelInfo)||void 0===e||e.hideTooltip(),clearTimeout(this.hideLabelInfoTimeout)}componentWillLoad(){this.setInput(),this.setLabel(),this.labelInfo=this.root.querySelector("[slot=label-info]"),this.hasError=u(this.root,"error"),this.hasHelp=u(this.root,"help"),m(this.root,{variant:this.variant})}componentDidLoad(){this.updatePosition(),this.tooltipElement&&i(this.root)}disconnectedCallback(){this.disabledObserver&&this.disabledObserver.disconnect(),this.requiredObserver&&this.requiredObserver.disconnect(),clearInterval(this.valueWatcherId)}render(){return t(r,{key:"6695fd4b486d4b288b42768e8c6105376d49f580",class:{"gux-active":this.active}},t(f,{key:"648c0a85f4470ba9f7e47e4218caeda3cde59f83",labelPosition:this.computedLabelPosition},t(c,{key:"fd6dbd89b6e073c2f684ef908dc065e84463cf1a",required:this.required,position:this.computedLabelPosition},t("slot",{key:"9a0c9a674bd536c26bd07b38ac8577ca5f2c7814",name:"label",onSlotchange:()=>this.setLabel()}),t("gux-form-field-label-indicator",{key:"a52555014c784f3dc06553017d9610cee840c5de",variant:this.indicatorMark,required:this.required}),t("slot",{key:"0cb195c1e75ce2b546c65d51fc7826b859c1a409",name:"label-info"})),t("div",{key:"5986de20e72287a20d2ebf6a1879f7bcdff4143e",class:"gux-input-and-error-container"},this.renderRangeInput(),t(d,{key:"8ee1d349e59c05a6f72129a970fc5f1c3f717b9f",show:this.hasError},t("slot",{key:"0e35a28b75c8678306a54e6f10df456472708602",name:"error"})),t(h,{key:"7a0dd4bdd6e8b0fdf0e0dff9b014ed7d2dc035f7",show:!this.hasError&&this.hasHelp},t("slot",{key:"d1e2cb2e267de30eed1807afda20c58a3d9bc54b",name:"help"})))))}get variant(){return this.labelPosition?this.labelPosition.toLowerCase():"none"}setInput(){this.input=p(this.root,'input[type="range"][slot="input"]'),g(this.input),this.disabled=a(this.input),this.required=this.input.required,this.value=this.input.value,this.disabledObserver=n(this.input,(e=>{this.disabled=e})),this.requiredObserver=l(this.input,(e=>{this.required=e})),clearInterval(this.valueWatcherId),this.valueWatcherId=setInterval((()=>{this.value!==this.input.value&&this.updateValue(this.input.value)}),100),x(this.root,this.input)}setLabel(){this.label=this.root.querySelector('label[slot="label"]'),this.computedLabelPosition=b(this.label,this.labelPosition)}renderRangeInput(){return t("div",{class:{"gux-range-input-container":!0,"gux-disabled":this.disabled},ref:e=>this.containerElement=e},t("div",{class:"gux-range"},t("div",{class:"gux-track"},t("div",{class:"gux-progress",ref:e=>this.progressElement=e})),t("slot",{name:"input"}),this.valueInTooltip&&t("gux-tooltip-base-beta",{ref:e=>this.tooltipElement=e,forElement:this.containerElement,offsetY:-10,placement:"top"},t("span",{slot:"content"},this.getDisplayValue()))),t("div",{class:{"gux-display":!0,"gux-hidden":this.valueInTooltip}},this.getDisplayValue()))}updateValue(e){this.value=e,this.updatePosition()}updatePosition(){var e,i,t;const r=Number((null===(e=this.input)||void 0===e?void 0:e.value)||0),o=Number((null===(i=this.input)||void 0===i?void 0:i.min)||0),a=(r-o)/(Number((null===(t=this.input)||void 0===t?void 0:t.max)||100)-o)*100;this.tooltipElement&&(this.tooltipElement.offsetX=(a/100-.5)*(this.containerElement.offsetWidth-20)),this.progressElement&&(this.progressElement.style.width=`${a}%`)}getDisplayValue(){return this.displayUnits?`${this.value}${this.displayUnits}`:this.value}get root(){return o(this)}};y([s({childList:!0,subtree:!0})],k.prototype,"onMutation",null),y([v()],k.prototype,"updatePosition",null),k.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[type=range]){position:absolute;inline-size:100%;block-size:var(--gse-ui-rangeSlider-bar-height);margin-block:calc(var(--gse-ui-rangeSlider-handle-height) / 2);margin-block-start:calc(-1 * (var(--gse-ui-rangeSlider-handle-height) / 2 + var(--gse-ui-rangeSlider-bar-height)));margin-inline:0;-webkit-appearance:none;background:transparent}.gux-input-and-error-container{flex-grow:1}.gux-input-and-error-container.gux-hidden{display:none}.gux-input-and-error-container .gux-range-input-container{display:flex;flex-direction:row;flex-wrap:nowrap;gap:var(--gse-ui-rangeSlider-gap);place-content:stretch flex-start;align-items:center;block-size:var(--gse-ui-rangeSlider-set-height);font-size:var(--gse-ui-rangeSlider-label-text-fontSize)}.gux-input-and-error-container .gux-range-input-container.gux-disabled{opacity:var(--gse-ui-rangeSlider-disabled-opacity)}.gux-input-and-error-container .gux-range-input-container .gux-range{position:relative;flex:1 1 auto;align-self:center;order:0}.gux-input-and-error-container .gux-range-input-container .gux-range:hover .gux-range-tooltip,.gux-input-and-error-container .gux-range-input-container .gux-range:focus-within .gux-range-tooltip{visibility:visible}.gux-input-and-error-container .gux-range-input-container .gux-range .gux-track{inline-size:100%;block-size:var(--gse-ui-rangeSlider-bar-height);margin-block:6px;margin-inline:0;background:var(--gse-ui-rangeSlider-bar-default-backgroundColor);border-radius:var(--gse-ui-rangeSlider-track-borderRadius)}.gux-input-and-error-container .gux-range-input-container .gux-range .gux-track .gux-progress{block-size:var(--gse-ui-rangeSlider-bar-height);background-color:var(--gse-ui-rangeSlider-bar-selected-backgroundColor);border-radius:var(--gse-ui-rangeSlider-track-borderRadius)}.gux-input-and-error-container .gux-range-input-container .gux-display{flex:0 1 auto;align-self:auto;order:0;margin-block:0;margin-inline:var(--gux-spacing-medium) 0;font-family:var(--gse-ui-rangeSlider-label-text-fontFamily);font-size:var(--gse-ui-rangeSlider-label-text-fontSize);font-weight:var(--gse-ui-rangeSlider-label-text-fontWeight);line-height:var(--gse-ui-rangeSlider-label-text-lineHeight);text-align:end}.gux-input-and-error-container .gux-range-input-container .gux-display.gux-hidden{display:none}.gux-form-field-label.gux-beside{inset-block-start:0}";export{k as gux_form_field_range}
1
+ import{r as e,f as i,h as t,H as r,g as o}from"./p-ffb7c9dc.js";import{c as a,o as n}from"./p-f4751a15.js";import{O as s}from"./p-166634e1.js";import{o as l}from"./p-6b12dd16.js";import{p as g}from"./p-a11d5d42.js";import{h as d}from"./p-6d8b4027.js";import{a as u,G as h}from"./p-e556534e.js";import{a as f,G as p}from"./p-727bfafa.js";import{g as c,v as x,a as b}from"./p-4aaf349e.js";import{t as m}from"./p-5d9df6a7.js";import{O as v}from"./p-1d9ed425.js";import"./p-0934300e.js";import"./p-8eaf8caf.js";import"./p-2c25e2f2.js";var y=function(e,i,t,r){var o,a=arguments.length,n=a<3?i:null===r?r=Object.getOwnPropertyDescriptor(i,t):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)n=Reflect.decorate(e,i,t,r);else for(var s=e.length-1;s>=0;s--)(o=e[s])&&(n=(a<3?o(n):a>3?o(i,t,n):o(i,t))||n);return a>3&&n&&Object.defineProperty(i,t,n),n};const k=class{constructor(i){e(this,i),this.displayUnits=void 0,this.valueInTooltip=void 0,this.labelPosition=void 0,this.indicatorMark="required",this.computedLabelPosition="above",this.disabled=void 0,this.required=void 0,this.hasError=!1,this.hasHelp=!1,this.value=void 0,this.active=void 0,this.valueWatcherId=void 0}onInput(e){this.updateValue(e.target.value)}onMousedown(){this.disabled||(this.active=!0)}onMouseup(){this.active=!1}onMutation(){this.labelInfo=this.root.querySelector("[slot=label-info]"),this.hasError=d(this.root,"error"),this.hasHelp=d(this.root,"help")}handleKeyup(e){var i,t;"Tab"===e.key?this.input.matches(":focus-visible")&&(null===(i=this.labelInfo)||void 0===i||i.showTooltip(),this.hideLabelInfoTimeout=setTimeout((()=>{var e;null===(e=this.labelInfo)||void 0===e||e.hideTooltip()}),6e3)):this.input.matches(":focus-visible")&&(null===(t=this.labelInfo)||void 0===t||t.hideTooltip(),clearTimeout(this.hideLabelInfoTimeout))}onFocusout(){var e;this.active=!1,null===(e=this.labelInfo)||void 0===e||e.hideTooltip(),clearTimeout(this.hideLabelInfoTimeout)}componentWillLoad(){this.setInput(),this.setLabel(),this.labelInfo=this.root.querySelector("[slot=label-info]"),this.hasError=d(this.root,"error"),this.hasHelp=d(this.root,"help"),m(this.root,{variant:this.variant})}componentDidLoad(){this.updatePosition(),this.tooltipElement&&i(this.root)}disconnectedCallback(){this.disabledObserver&&this.disabledObserver.disconnect(),this.requiredObserver&&this.requiredObserver.disconnect(),clearInterval(this.valueWatcherId)}render(){return t(r,{key:"6695fd4b486d4b288b42768e8c6105376d49f580",class:{"gux-active":this.active}},t(f,{key:"648c0a85f4470ba9f7e47e4218caeda3cde59f83",labelPosition:this.computedLabelPosition},t(p,{key:"fd6dbd89b6e073c2f684ef908dc065e84463cf1a",required:this.required,position:this.computedLabelPosition},t("slot",{key:"9a0c9a674bd536c26bd07b38ac8577ca5f2c7814",name:"label",onSlotchange:()=>this.setLabel()}),t("gux-form-field-label-indicator",{key:"a52555014c784f3dc06553017d9610cee840c5de",variant:this.indicatorMark,required:this.required}),t("slot",{key:"0cb195c1e75ce2b546c65d51fc7826b859c1a409",name:"label-info"})),t("div",{key:"5986de20e72287a20d2ebf6a1879f7bcdff4143e",class:"gux-input-and-error-container"},this.renderRangeInput(),t(u,{key:"8ee1d349e59c05a6f72129a970fc5f1c3f717b9f",show:this.hasError},t("slot",{key:"0e35a28b75c8678306a54e6f10df456472708602",name:"error"})),t(h,{key:"7a0dd4bdd6e8b0fdf0e0dff9b014ed7d2dc035f7",show:!this.hasError&&this.hasHelp},t("slot",{key:"d1e2cb2e267de30eed1807afda20c58a3d9bc54b",name:"help"})))))}get variant(){return this.labelPosition?this.labelPosition.toLowerCase():"none"}setInput(){this.input=c(this.root,'input[type="range"][slot="input"]'),g(this.input),this.disabled=a(this.input),this.required=this.input.required,this.value=this.input.value,this.disabledObserver=n(this.input,(e=>{this.disabled=e})),this.requiredObserver=l(this.input,(e=>{this.required=e})),clearInterval(this.valueWatcherId),this.valueWatcherId=setInterval((()=>{this.value!==this.input.value&&this.updateValue(this.input.value)}),100),x(this.root,this.input)}setLabel(){this.label=this.root.querySelector('label[slot="label"]'),this.computedLabelPosition=b(this.label,this.labelPosition)}renderRangeInput(){return t("div",{class:{"gux-range-input-container":!0,"gux-disabled":this.disabled},ref:e=>this.containerElement=e},t("div",{class:"gux-range"},t("div",{class:"gux-track"},t("div",{class:"gux-progress",ref:e=>this.progressElement=e})),t("slot",{name:"input"}),this.valueInTooltip&&t("gux-tooltip-base-beta",{ref:e=>this.tooltipElement=e,forElement:this.containerElement,offsetY:-10,placement:"top"},t("span",{slot:"content"},this.getDisplayValue()))),t("div",{class:{"gux-display":!0,"gux-hidden":this.valueInTooltip}},this.getDisplayValue()))}updateValue(e){this.value=e,this.updatePosition()}updatePosition(){var e,i,t;const r=Number((null===(e=this.input)||void 0===e?void 0:e.value)||0),o=Number((null===(i=this.input)||void 0===i?void 0:i.min)||0),a=(r-o)/(Number((null===(t=this.input)||void 0===t?void 0:t.max)||100)-o)*100;this.tooltipElement&&(this.tooltipElement.offsetX=(a/100-.5)*(this.containerElement.offsetWidth-20)),this.progressElement&&(this.progressElement.style.width=`${a}%`)}getDisplayValue(){return this.displayUnits?`${this.value}${this.displayUnits}`:this.value}get root(){return o(this)}};y([s({childList:!0,subtree:!0})],k.prototype,"onMutation",null),y([v()],k.prototype,"updatePosition",null),k.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;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[type=range]){position:absolute;inline-size:100%;block-size:var(--gse-ui-rangeSlider-bar-height);margin-block:calc(var(--gse-ui-rangeSlider-handle-height) / 2);margin-block-start:calc(-1 * (var(--gse-ui-rangeSlider-handle-height) / 2 + var(--gse-ui-rangeSlider-bar-height)));margin-inline:0;-webkit-appearance:none;background:transparent}.gux-input-and-error-container{flex-grow:1}.gux-input-and-error-container.gux-hidden{display:none}.gux-input-and-error-container .gux-range-input-container{display:flex;flex-direction:row;flex-wrap:nowrap;gap:var(--gse-ui-rangeSlider-gap);place-content:stretch flex-start;align-items:center;block-size:var(--gse-ui-rangeSlider-set-height);font-size:var(--gse-ui-rangeSlider-label-text-fontSize)}.gux-input-and-error-container .gux-range-input-container.gux-disabled{opacity:var(--gse-ui-rangeSlider-disabled-opacity)}.gux-input-and-error-container .gux-range-input-container .gux-range{position:relative;flex:1 1 auto;align-self:center;order:0}.gux-input-and-error-container .gux-range-input-container .gux-range:hover .gux-range-tooltip,.gux-input-and-error-container .gux-range-input-container .gux-range:focus-within .gux-range-tooltip{visibility:visible}.gux-input-and-error-container .gux-range-input-container .gux-range .gux-track{inline-size:100%;block-size:var(--gse-ui-rangeSlider-bar-height);margin-block:6px;margin-inline:0;background:var(--gse-ui-rangeSlider-bar-default-backgroundColor);border-radius:var(--gse-ui-rangeSlider-track-borderRadius)}.gux-input-and-error-container .gux-range-input-container .gux-range .gux-track .gux-progress{block-size:var(--gse-ui-rangeSlider-bar-height);background-color:var(--gse-ui-rangeSlider-bar-selected-backgroundColor);border-radius:var(--gse-ui-rangeSlider-track-borderRadius)}.gux-input-and-error-container .gux-range-input-container .gux-display{flex:0 1 auto;align-self:auto;order:0;margin-block:0;margin-inline:var(--gux-spacing-medium) 0;font-family:var(--gse-ui-rangeSlider-label-text-fontFamily);font-size:var(--gse-ui-rangeSlider-label-text-fontSize);font-weight:var(--gse-ui-rangeSlider-label-text-fontWeight);line-height:var(--gse-ui-rangeSlider-label-text-lineHeight);text-align:end}.gux-input-and-error-container .gux-range-input-container .gux-display.gux-hidden{display:none}.gux-form-field-label.gux-beside{inset-block-start:0}";export{k as gux_form_field_range}
@@ -0,0 +1 @@
1
+ import{r as e,h as o,H as t,g as r}from"./p-ffb7c9dc.js";import{c as a,o as s}from"./p-f4751a15.js";import{O as i}from"./p-166634e1.js";import{p as l}from"./p-a11d5d42.js";import{h as C}from"./p-6d8b4027.js";import{a as g,G as n}from"./p-e556534e.js";import{t as c}from"./p-5d9df6a7.js";import{g as d,v as h}from"./p-4aaf349e.js";import"./p-0934300e.js";import"./p-8eaf8caf.js";import"./p-2c25e2f2.js";const u=class{constructor(o){e(this,o),this.labelPosition="beside",this.disabled=void 0,this.hasHelp=!1,this.hasError=!1,this.hasGroupError=!1,this.hasGroupDisabled=!1}onMutation(){this.hasError=C(this.root,"error"),this.hasHelp=C(this.root,"help")}componentWillLoad(){this.setInput(),this.hasError=C(this.root,"error"),this.hasHelp=C(this.root,"help"),c(this.root,{variant:this.variant})}disconnectedCallback(){this.disabledObserver&&this.disabledObserver.disconnect()}render(){return o(t,{key:"3952a4199d3438da06a849e6999f6c9d4a3ba14b",class:{"gux-input-error":this.hasError||this.hasGroupError,"gux-disabled":this.disabled}},o("div",{key:"82ea66460bdff18a363dbfbc3b0b5be5bfcd4a5b",class:"gux-form-field-container"},o("div",{key:"f255f120d3fa9458c665188eb1b74e2c292e1444",class:"gux-input-label"},o("div",{key:"0f2a6b127c0fc617cb3f3067e567bf78afd33da2",class:"gux-input"},o("slot",{key:"e9e8c4bdfe5559fb0e828d9231c92c9dfc8efb29",name:"input",onSlotchange:()=>this.setInput()})),o("div",{key:"a9c0497816f802058b620fbab3ff151f49e20215",class:`gux-label-${this.labelPosition}`,"aria-disabled":this.disabled?"true":"false"},o("slot",{key:"2b76e7bf0d7f21641999e5b4137c5f490a1eb636",name:"label"}))),o("div",{key:"8bfa3a196caa49ef7efd5286e192c30a677921e8",class:"error-and-help-text"},o(g,{key:"c1aeed2f735e5d11c318a7103169d1b0aa7560c5",show:this.hasError},o("slot",{key:"62060ed5631396da5b3accf25ea61a67ae79f1c4",name:"error"})),o(n,{key:"25239cf4b2442ce5634beb204d40f7504e23fe7f",show:!this.hasError&&this.hasHelp},o("slot",{key:"56b20ef7431c0d940876063f1a7890d8723882a5",name:"help"})))))}get variant(){return this.labelPosition.toLowerCase()}setInput(){this.input=d(this.root,'input[type="checkbox"][slot="input"]'),this.hasGroupDisabled&&(this.input.disabled=!0),l(this.input),this.disabled=a(this.input),this.disabledObserver=s(this.input,(e=>{this.disabled=e})),h(this.root,this.input)}get root(){return r(this)}};(function(e,o,t,r){var a,s=arguments.length,i=s<3?o:null===r?r=Object.getOwnPropertyDescriptor(o,t):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)i=Reflect.decorate(e,o,t,r);else for(var l=e.length-1;l>=0;l--)(a=e[l])&&(i=(s<3?a(i):s>3?a(o,t,i):a(o,t))||i);s>3&&i&&Object.defineProperty(o,t,i)})([i({childList:!0,subtree:!0})],u.prototype,"onMutation",null),u.style=".gux-form-field-error{display:none;flex-direction:row;flex-wrap:nowrap;gap:var(--gse-ui-formControl-helper-gap);place-content:stretch flex-start;padding:var(--gse-ui-formControl-helper-errorPadding);font-family:var(--gse-ui-formControl-helper-helperText-fontFamily);font-size:var(--gse-ui-formControl-helper-helperText-fontSize);line-height:var(--gse-ui-formControl-helper-helperText-lineHeight);color:var(--gse-ui-formControl-helper-errorColor)}.gux-form-field-error.gux-show{display:flex}.gux-form-field-error gux-icon{flex:0 1 auto;order:0;color:var(--gse-ui-formControl-helper-errorColor)}.gux-form-field-error .gux-message{flex:0 1 auto;align-self:auto;order:0}.gux-form-field-help{display:none;flex-direction:row;flex-wrap:nowrap;place-content:stretch flex-start;align-items:flex-start;justify-content:flex-start;padding-block-start:var(--gse-ui-formControl-formField-gap);font-family:var(--gse-ui-formControl-helper-helperText-fontFamily);font-size:var(--gse-ui-formControl-helper-helperText-fontSize);line-height:var(--gse-ui-formControl-helper-helperText-lineHeight);color:var(--gse-ui-formControl-helper-defaultColor)}.gux-form-field-help.gux-show{display:flex}.gux-form-field-help .gux-message{flex:0 1 auto;align-self:none;order:0}:host{display:block}:host(.gux-input-error) ::slotted(input[type=checkbox]:not(:checked))::before{-webkit-mask-image:url(\"data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' %3E%3Cpath d='M13.7143 0C14.975 0 16 1.02321 16 2.28571V13.7143C16 14.975 14.975 16 13.7143 16H2.28571C1.02321 16 0 14.975 0 13.7143V2.28571C0 1.02321 1.02321 0 2.28571 0H13.7143ZM13.7143 1.71429H2.28571C1.97 1.71429 1.71429 1.97 1.71429 2.28571V13.7143C1.71429 14.0286 1.97 14.2857 2.28571 14.2857H13.7143C14.0286 14.2857 14.2857 14.0286 14.2857 13.7143V2.28571C14.2857 1.97 14.0286 1.71429 13.7143 1.71429Z' /%3E%3C/svg%3E\");mask-image:url(\"data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' %3E%3Cpath d='M13.7143 0C14.975 0 16 1.02321 16 2.28571V13.7143C16 14.975 14.975 16 13.7143 16H2.28571C1.02321 16 0 14.975 0 13.7143V2.28571C0 1.02321 1.02321 0 2.28571 0H13.7143ZM13.7143 1.71429H2.28571C1.97 1.71429 1.71429 1.97 1.71429 2.28571V13.7143C1.71429 14.0286 1.97 14.2857 2.28571 14.2857H13.7143C14.0286 14.2857 14.2857 14.0286 14.2857 13.7143V2.28571C14.2857 1.97 14.0286 1.71429 13.7143 1.71429Z' /%3E%3C/svg%3E\");background:var(--gse-ui-checkbox-icon-error-foregroundColor)}:host(.gux-input-error) ::slotted(input[type=checkbox]:checked)::before{-webkit-mask-image:url(\"data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' %3E%3Cpath d='M2.28571 0C1.025 0 0 1.025 0 2.28571V13.7143C0 14.975 1.025 16 2.28571 16H13.7143C14.975 16 16 14.975 16 13.7143V2.28571C16 1.025 14.975 0 13.7143 0H2.28571ZM12.0357 6.32143L7.46429 10.8929C7.12857 11.2286 6.58571 11.2286 6.25357 10.8929L3.96786 8.60714C3.63214 8.27143 3.63214 7.72857 3.96786 7.39643C4.30357 7.06429 4.84643 7.06071 5.17857 7.39643L6.85714 9.075L10.8214 5.10714C11.1571 4.77143 11.7 4.77143 12.0321 5.10714C12.3643 5.44286 12.3679 5.98571 12.0321 6.31786L12.0357 6.32143Z' /%3E%3C/svg%3E\");mask-image:url(\"data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' %3E%3Cpath d='M2.28571 0C1.025 0 0 1.025 0 2.28571V13.7143C0 14.975 1.025 16 2.28571 16H13.7143C14.975 16 16 14.975 16 13.7143V2.28571C16 1.025 14.975 0 13.7143 0H2.28571ZM12.0357 6.32143L7.46429 10.8929C7.12857 11.2286 6.58571 11.2286 6.25357 10.8929L3.96786 8.60714C3.63214 8.27143 3.63214 7.72857 3.96786 7.39643C4.30357 7.06429 4.84643 7.06071 5.17857 7.39643L6.85714 9.075L10.8214 5.10714C11.1571 4.77143 11.7 4.77143 12.0321 5.10714C12.3643 5.44286 12.3679 5.98571 12.0321 6.31786L12.0357 6.32143Z' /%3E%3C/svg%3E\");background:var(--gse-ui-checkbox-icon-error-foregroundColor)}:host(.gux-input-error) ::slotted(input[type=checkbox]:not(:checked):not(:disabled):not(:indeterminate):hover)::before{-webkit-mask-image:url(\"data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' %3E%3Cpath d='M13.7143 0C14.975 0 16 1.02321 16 2.28571V13.7143C16 14.975 14.975 16 13.7143 16H2.28571C1.02321 16 0 14.975 0 13.7143V2.28571C0 1.02321 1.02321 0 2.28571 0H13.7143ZM13.7143 1.71429H2.28571C1.97 1.71429 1.71429 1.97 1.71429 2.28571V13.7143C1.71429 14.0286 1.97 14.2857 2.28571 14.2857H13.7143C14.0286 14.2857 14.2857 14.0286 14.2857 13.7143V2.28571C14.2857 1.97 14.0286 1.71429 13.7143 1.71429Z' /%3E%3C/svg%3E\");mask-image:url(\"data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' %3E%3Cpath d='M13.7143 0C14.975 0 16 1.02321 16 2.28571V13.7143C16 14.975 14.975 16 13.7143 16H2.28571C1.02321 16 0 14.975 0 13.7143V2.28571C0 1.02321 1.02321 0 2.28571 0H13.7143ZM13.7143 1.71429H2.28571C1.97 1.71429 1.71429 1.97 1.71429 2.28571V13.7143C1.71429 14.0286 1.97 14.2857 2.28571 14.2857H13.7143C14.0286 14.2857 14.2857 14.0286 14.2857 13.7143V2.28571C14.2857 1.97 14.0286 1.71429 13.7143 1.71429Z' /%3E%3C/svg%3E\");background:var(--gse-ui-checkbox-icon-error-foregroundColor)}:host(.gux-input-error) ::slotted(input[type=checkbox]:indeterminate)::before{-webkit-mask-image:url(\"data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' %3E%3Cpath d='M11.1429 7.14286C11.6179 7.14286 12 7.525 12 8C12 8.475 11.6179 8.85714 11.1429 8.85714H4.85714C4.38214 8.85714 4 8.475 4 8C4 7.525 4.38214 7.14286 4.85714 7.14286H11.1429ZM0 2.28571C0 1.02321 1.02321 0 2.28571 0H13.7143C14.975 0 16 1.02321 16 2.28571V13.7143C16 14.975 14.975 16 13.7143 16H2.28571C1.02321 16 0 14.975 0 13.7143V2.28571ZM1.71429 2.28571V13.7143C1.71429 14.0286 1.97 14.2857 2.28571 14.2857H13.7143C14.0286 14.2857 14.2857 14.0286 14.2857 13.7143V2.28571C14.2857 1.97 14.0286 1.71429 13.7143 1.71429H2.28571C1.97 1.71429 1.71429 1.97 1.71429 2.28571Z' /%3E%3C/svg%3E\");mask-image:url(\"data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' %3E%3Cpath d='M11.1429 7.14286C11.6179 7.14286 12 7.525 12 8C12 8.475 11.6179 8.85714 11.1429 8.85714H4.85714C4.38214 8.85714 4 8.475 4 8C4 7.525 4.38214 7.14286 4.85714 7.14286H11.1429ZM0 2.28571C0 1.02321 1.02321 0 2.28571 0H13.7143C14.975 0 16 1.02321 16 2.28571V13.7143C16 14.975 14.975 16 13.7143 16H2.28571C1.02321 16 0 14.975 0 13.7143V2.28571ZM1.71429 2.28571V13.7143C1.71429 14.0286 1.97 14.2857 2.28571 14.2857H13.7143C14.0286 14.2857 14.2857 14.0286 14.2857 13.7143V2.28571C14.2857 1.97 14.0286 1.71429 13.7143 1.71429H2.28571C1.97 1.71429 1.71429 1.97 1.71429 2.28571Z' /%3E%3C/svg%3E\");background:var(--gse-ui-checkbox-icon-error-foregroundColor)}:host(.gux-disabled){cursor:not-allowed;opacity:var(--gse-ui-checkbox-disabled-opacity)}:host(.gux-disabled) ::slotted(label){cursor:not-allowed}.gux-input-label{display:inline-flex;flex-direction:row;gap:var(--gse-ui-checkbox-gap)}.gux-input-label .gux-label-screenreader{position:absolute;top:auto;left:-10000px;width:1px;height:1px;overflow:hidden}::slotted(input[type=checkbox]){display:inline-grid;inline-size:var(--gse-ui-checkbox-icon-width);block-size:var(--gse-ui-checkbox-icon-height);margin:0;vertical-align:middle;text-align:center;-webkit-appearance:none;appearance:none;cursor:pointer;outline:none;border:0}::slotted(input[type=checkbox])::before{grid-area:1/1;content:\"\";border-radius:15%}::slotted(input[type=checkbox]:focus-visible){outline:var(--gse-ui-checkbox-focus-border-width) var(--gse-ui-checkbox-focus-border-style) var(--gse-ui-checkbox-focus-border-color);outline-offset:var(--gse-ui-checkbox-focus-offset);border-radius:var(--gse-ui-checkbox-focus-borderRadiusSmall)}::slotted(input[type=checkbox]:not(:checked))::before{-webkit-mask-image:url(\"data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' %3E%3Cpath d='M13.7143 0C14.975 0 16 1.02321 16 2.28571V13.7143C16 14.975 14.975 16 13.7143 16H2.28571C1.02321 16 0 14.975 0 13.7143V2.28571C0 1.02321 1.02321 0 2.28571 0H13.7143ZM13.7143 1.71429H2.28571C1.97 1.71429 1.71429 1.97 1.71429 2.28571V13.7143C1.71429 14.0286 1.97 14.2857 2.28571 14.2857H13.7143C14.0286 14.2857 14.2857 14.0286 14.2857 13.7143V2.28571C14.2857 1.97 14.0286 1.71429 13.7143 1.71429Z' /%3E%3C/svg%3E\");mask-image:url(\"data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' %3E%3Cpath d='M13.7143 0C14.975 0 16 1.02321 16 2.28571V13.7143C16 14.975 14.975 16 13.7143 16H2.28571C1.02321 16 0 14.975 0 13.7143V2.28571C0 1.02321 1.02321 0 2.28571 0H13.7143ZM13.7143 1.71429H2.28571C1.97 1.71429 1.71429 1.97 1.71429 2.28571V13.7143C1.71429 14.0286 1.97 14.2857 2.28571 14.2857H13.7143C14.0286 14.2857 14.2857 14.0286 14.2857 13.7143V2.28571C14.2857 1.97 14.0286 1.71429 13.7143 1.71429Z' /%3E%3C/svg%3E\");background:var(--gse-ui-checkbox-icon-default-unselectedForegroundColor)}::slotted(input[type=checkbox]:not(:checked):not(:disabled):not(:indeterminate):hover)::before{-webkit-mask-image:url(\"data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' %3E%3Cpath d='M13.7143 0C14.975 0 16 1.02321 16 2.28571V13.7143C16 14.975 14.975 16 13.7143 16H2.28571C1.02321 16 0 14.975 0 13.7143V2.28571C0 1.02321 1.02321 0 2.28571 0H13.7143ZM13.7143 1.71429H2.28571C1.97 1.71429 1.71429 1.97 1.71429 2.28571V13.7143C1.71429 14.0286 1.97 14.2857 2.28571 14.2857H13.7143C14.0286 14.2857 14.2857 14.0286 14.2857 13.7143V2.28571C14.2857 1.97 14.0286 1.71429 13.7143 1.71429Z' /%3E%3C/svg%3E\");mask-image:url(\"data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' %3E%3Cpath d='M13.7143 0C14.975 0 16 1.02321 16 2.28571V13.7143C16 14.975 14.975 16 13.7143 16H2.28571C1.02321 16 0 14.975 0 13.7143V2.28571C0 1.02321 1.02321 0 2.28571 0H13.7143ZM13.7143 1.71429H2.28571C1.97 1.71429 1.71429 1.97 1.71429 2.28571V13.7143C1.71429 14.0286 1.97 14.2857 2.28571 14.2857H13.7143C14.0286 14.2857 14.2857 14.0286 14.2857 13.7143V2.28571C14.2857 1.97 14.0286 1.71429 13.7143 1.71429Z' /%3E%3C/svg%3E\");background:var(--gse-ui-checkbox-icon-hover-foregroundColor)}::slotted(input[type=checkbox]:checked:not(:disabled):hover){-webkit-mask-image:url(\"data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' %3E%3Cpath d='M2.28571 0C1.025 0 0 1.025 0 2.28571V13.7143C0 14.975 1.025 16 2.28571 16H13.7143C14.975 16 16 14.975 16 13.7143V2.28571C16 1.025 14.975 0 13.7143 0H2.28571ZM12.0357 6.32143L7.46429 10.8929C7.12857 11.2286 6.58571 11.2286 6.25357 10.8929L3.96786 8.60714C3.63214 8.27143 3.63214 7.72857 3.96786 7.39643C4.30357 7.06429 4.84643 7.06071 5.17857 7.39643L6.85714 9.075L10.8214 5.10714C11.1571 4.77143 11.7 4.77143 12.0321 5.10714C12.3643 5.44286 12.3679 5.98571 12.0321 6.31786L12.0357 6.32143Z' /%3E%3C/svg%3E\");mask-image:url(\"data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' %3E%3Cpath d='M2.28571 0C1.025 0 0 1.025 0 2.28571V13.7143C0 14.975 1.025 16 2.28571 16H13.7143C14.975 16 16 14.975 16 13.7143V2.28571C16 1.025 14.975 0 13.7143 0H2.28571ZM12.0357 6.32143L7.46429 10.8929C7.12857 11.2286 6.58571 11.2286 6.25357 10.8929L3.96786 8.60714C3.63214 8.27143 3.63214 7.72857 3.96786 7.39643C4.30357 7.06429 4.84643 7.06071 5.17857 7.39643L6.85714 9.075L10.8214 5.10714C11.1571 4.77143 11.7 4.77143 12.0321 5.10714C12.3643 5.44286 12.3679 5.98571 12.0321 6.31786L12.0357 6.32143Z' /%3E%3C/svg%3E\");background:var(--gse-ui-checkbox-icon-hover-foregroundColor)}::slotted(input[type=checkbox]:not(:disabled):indeterminate:hover){-webkit-mask-image:url(\"data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' %3E%3Cpath d='M11.1429 7.14286C11.6179 7.14286 12 7.525 12 8C12 8.475 11.6179 8.85714 11.1429 8.85714H4.85714C4.38214 8.85714 4 8.475 4 8C4 7.525 4.38214 7.14286 4.85714 7.14286H11.1429ZM0 2.28571C0 1.02321 1.02321 0 2.28571 0H13.7143C14.975 0 16 1.02321 16 2.28571V13.7143C16 14.975 14.975 16 13.7143 16H2.28571C1.02321 16 0 14.975 0 13.7143V2.28571ZM1.71429 2.28571V13.7143C1.71429 14.0286 1.97 14.2857 2.28571 14.2857H13.7143C14.0286 14.2857 14.2857 14.0286 14.2857 13.7143V2.28571C14.2857 1.97 14.0286 1.71429 13.7143 1.71429H2.28571C1.97 1.71429 1.71429 1.97 1.71429 2.28571Z' /%3E%3C/svg%3E\");mask-image:url(\"data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' %3E%3Cpath d='M11.1429 7.14286C11.6179 7.14286 12 7.525 12 8C12 8.475 11.6179 8.85714 11.1429 8.85714H4.85714C4.38214 8.85714 4 8.475 4 8C4 7.525 4.38214 7.14286 4.85714 7.14286H11.1429ZM0 2.28571C0 1.02321 1.02321 0 2.28571 0H13.7143C14.975 0 16 1.02321 16 2.28571V13.7143C16 14.975 14.975 16 13.7143 16H2.28571C1.02321 16 0 14.975 0 13.7143V2.28571ZM1.71429 2.28571V13.7143C1.71429 14.0286 1.97 14.2857 2.28571 14.2857H13.7143C14.0286 14.2857 14.2857 14.0286 14.2857 13.7143V2.28571C14.2857 1.97 14.0286 1.71429 13.7143 1.71429H2.28571C1.97 1.71429 1.71429 1.97 1.71429 2.28571Z' /%3E%3C/svg%3E\");background:var(--gse-ui-checkbox-icon-hover-foregroundColor)}::slotted(input[type=checkbox]:checked)::before{-webkit-mask-image:url(\"data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' %3E%3Cpath d='M2.28571 0C1.025 0 0 1.025 0 2.28571V13.7143C0 14.975 1.025 16 2.28571 16H13.7143C14.975 16 16 14.975 16 13.7143V2.28571C16 1.025 14.975 0 13.7143 0H2.28571ZM12.0357 6.32143L7.46429 10.8929C7.12857 11.2286 6.58571 11.2286 6.25357 10.8929L3.96786 8.60714C3.63214 8.27143 3.63214 7.72857 3.96786 7.39643C4.30357 7.06429 4.84643 7.06071 5.17857 7.39643L6.85714 9.075L10.8214 5.10714C11.1571 4.77143 11.7 4.77143 12.0321 5.10714C12.3643 5.44286 12.3679 5.98571 12.0321 6.31786L12.0357 6.32143Z' /%3E%3C/svg%3E\");mask-image:url(\"data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' %3E%3Cpath d='M2.28571 0C1.025 0 0 1.025 0 2.28571V13.7143C0 14.975 1.025 16 2.28571 16H13.7143C14.975 16 16 14.975 16 13.7143V2.28571C16 1.025 14.975 0 13.7143 0H2.28571ZM12.0357 6.32143L7.46429 10.8929C7.12857 11.2286 6.58571 11.2286 6.25357 10.8929L3.96786 8.60714C3.63214 8.27143 3.63214 7.72857 3.96786 7.39643C4.30357 7.06429 4.84643 7.06071 5.17857 7.39643L6.85714 9.075L10.8214 5.10714C11.1571 4.77143 11.7 4.77143 12.0321 5.10714C12.3643 5.44286 12.3679 5.98571 12.0321 6.31786L12.0357 6.32143Z' /%3E%3C/svg%3E\");background:var(--gse-ui-checkbox-icon-default-selectedForegroundColor)}::slotted(input[type=checkbox]:indeterminate)::before{-webkit-mask-image:url(\"data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' %3E%3Cpath d='M11.1429 7.14286C11.6179 7.14286 12 7.525 12 8C12 8.475 11.6179 8.85714 11.1429 8.85714H4.85714C4.38214 8.85714 4 8.475 4 8C4 7.525 4.38214 7.14286 4.85714 7.14286H11.1429ZM0 2.28571C0 1.02321 1.02321 0 2.28571 0H13.7143C14.975 0 16 1.02321 16 2.28571V13.7143C16 14.975 14.975 16 13.7143 16H2.28571C1.02321 16 0 14.975 0 13.7143V2.28571ZM1.71429 2.28571V13.7143C1.71429 14.0286 1.97 14.2857 2.28571 14.2857H13.7143C14.0286 14.2857 14.2857 14.0286 14.2857 13.7143V2.28571C14.2857 1.97 14.0286 1.71429 13.7143 1.71429H2.28571C1.97 1.71429 1.71429 1.97 1.71429 2.28571Z'/%3E%3C/svg%3E\");mask-image:url(\"data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' %3E%3Cpath d='M11.1429 7.14286C11.6179 7.14286 12 7.525 12 8C12 8.475 11.6179 8.85714 11.1429 8.85714H4.85714C4.38214 8.85714 4 8.475 4 8C4 7.525 4.38214 7.14286 4.85714 7.14286H11.1429ZM0 2.28571C0 1.02321 1.02321 0 2.28571 0H13.7143C14.975 0 16 1.02321 16 2.28571V13.7143C16 14.975 14.975 16 13.7143 16H2.28571C1.02321 16 0 14.975 0 13.7143V2.28571ZM1.71429 2.28571V13.7143C1.71429 14.0286 1.97 14.2857 2.28571 14.2857H13.7143C14.0286 14.2857 14.2857 14.0286 14.2857 13.7143V2.28571C14.2857 1.97 14.0286 1.71429 13.7143 1.71429H2.28571C1.97 1.71429 1.71429 1.97 1.71429 2.28571Z'/%3E%3C/svg%3E\");background:var(--gse-ui-checkbox-icon-default-selectedForegroundColor)}::slotted(input[type=checkbox]:disabled)::before{cursor:not-allowed;opacity:var(--gse-ui-checkbox-disabled-opacity)}::slotted(label){display:inline-block;font-family:var(--gse-ui-checkbox-label-text-fontFamily);font-size:12px;font-weight:var(--gse-ui-checkbox-label-text-fontWeight);line-height:var(--gse-ui-checkbox-label-text-lineHeight);vertical-align:middle;color:var(--gse-ui-checkbox-label-foregroundColor)}";export{u as gux_form_field_checkbox}
@@ -1 +1 @@
1
- import{r as e,h as t,H as o,g as s}from"./p-ffb7c9dc.js";import{a as i,c as a,o as r,f as n,s as c,b as d}from"./p-864af39c.js";import{a as h}from"./p-cf0e7d3b.js";import{t as u}from"./p-db306845.js";import{h as l}from"./p-67d20704.js";const f=class{constructor(t){e(this,t),this.isShown=!1}onKeydown(e){if(e.stopPropagation(),this.isShown)switch(e.key){case"Escape":case"ArrowLeft":case"ArrowUp":return void this.root.focus();case"ArrowDown":return e.preventDefault(),void this.focusOnMenu();case"Enter":return void(this.hideDelayTimeout=h((()=>{this.focusOnMenu()})))}}onKeyup(e){e.stopPropagation()," "!==e.key||(this.root===e.target?this.focusOnMenu():this.hideDelayTimeout=h((()=>{this.root.focus()})))}onmouseenter(){this.show()}onMouseleave(){this.hide()}onClick(e){0!==e.detail&&this.hide(),this.root.focus()}onFocusin(){this.show()}onFocusout(){this.hide()}show(){clearTimeout(this.hideDelayTimeout),this.isShown=!0}hide(){this.isShown&&(this.hideDelayTimeout=setTimeout((()=>{this.isShown=!1}),l))}runUpdatePosition(){this.root.isConnected?this.cleanupUpdatePosition=i(this.targetElement,this.menuContentElement,(()=>this.updatePosition()),{ancestorScroll:!0,elementResize:!0,animationFrame:!0,ancestorResize:!0}):this.disconnectedCallback()}updatePosition(){this.root&&a(this.targetElement,this.menuContentElement,{placement:"bottom-start",strategy:"fixed",middleware:[r(16),n(),c(),d({element:this.arrowElement,padding:16})]}).then((({x:e,y:t,middlewareData:o,placement:s})=>{var i;Object.assign(this.menuContentElement.style,{left:`${e}px`,top:`${t}px`});const a=s.split("-")[0],r={top:"bottom",right:"left",bottom:"top",left:"right"}[a],n={top:0,right:90,bottom:180,left:-90}[a];if(o.arrow){const{x:e,y:t}=o.arrow;Object.assign(null===(i=this.arrowElement)||void 0===i?void 0:i.style,{left:null!=e?`${e}px`:"",top:null!=t?`${t}px`:"",right:"",bottom:"",[r]:"-13px",transform:`rotate(${n}deg)`})}}))}focusOnMenu(){if(this.menuContentElement.contains(document.activeElement))return;const e=this.root.querySelector("gux-menu");Array.from(e.children)[0].guxFocus()}componentWillLoad(){u(this.root)}componentDidLoad(){this.isShown&&this.runUpdatePosition()}componentDidUpdate(){this.isShown?this.runUpdatePosition():this.cleanupUpdatePosition&&this.cleanupUpdatePosition()}disconnectedCallback(){this.cleanupUpdatePosition&&this.cleanupUpdatePosition()}render(){return t(o,{key:"9b7c076d26067de1a1f0bfc8394d434e169f7b42",tabIndex:0,"aria-haspopup":"true"},t("span",{key:"88e983ea52f9c71d96dadd3b89d49574f01a328a",ref:e=>this.targetElement=e},t("slot",{key:"e9c941c341f55aa351024689a4e91a20f0474c2a",name:"target"})),t("div",{key:"02628fb1b9069e3af39401bd688bf3f1b3bade2a",class:{"gux-flyout-menu-content":!0,"gux-shown":this.isShown},ref:e=>this.menuContentElement=e},t("div",{key:"78ade05f92a1463ebb4caa202c0782f25575e4b8",ref:e=>this.arrowElement=e,class:"gux-arrow"},t("div",{key:"304999e540bca8136b6f597d5caa3ae46d169c5f",class:"gux-arrow-caret"})),t("slot",{key:"ff85260ab68d522c402cf01dc2d3cde3f1de1d78",name:"menu"})))}get root(){return s(this)}};f.style=":host{z-index:var(--gse-semantic-zIndex-popover);color:var(--gse-ui-menu-option-label-foregroundColor);cursor:default}:host(:focus){outline:none}:host(:focus-visible){outline:var(--gse-semantic-focusOutline-md-borderWidth) solid var(--gse-semantic-border-focus);outline-offset:var(--gse-semantic-focusOutline-offset)}.gux-flyout-menu-content{position:fixed;display:none;border:none;border-radius:var(--gse-ui-menu-borderRadius)}.gux-flyout-menu-content.gux-shown{display:flex}.gux-flyout-menu-content .gux-arrow{position:absolute;inline-size:var(--gse-ui-popover-anchor-width);block-size:var(--gse-ui-popover-anchor-height);padding-block-end:4px;overflow:hidden}.gux-flyout-menu-content .gux-arrow-caret{inline-size:0;block-size:0;border-block-start:calc(var(--gse-ui-popover-anchor-width) / 2) solid var(--gse-ui-popover-backgroundColor);border-inline-start:calc(var(--gse-ui-popover-anchor-width) / 2) solid transparent;border-inline-end:calc(var(--gse-ui-popover-anchor-width) / 2) solid transparent;filter:drop-shadow(0 0 4px var(--gse-semantic-effects-boxShadow))}";export{f as gux_flyout_menu}
1
+ import{r as e,h as t,H as o,g as s}from"./p-ffb7c9dc.js";import{a as i,c as a,o as r,f as n,s as c,b as d}from"./p-864af39c.js";import{a as h}from"./p-cf0e7d3b.js";import{t as u}from"./p-5d9df6a7.js";import{h as l}from"./p-67d20704.js";const f=class{constructor(t){e(this,t),this.isShown=!1}onKeydown(e){if(e.stopPropagation(),this.isShown)switch(e.key){case"Escape":case"ArrowLeft":case"ArrowUp":return void this.root.focus();case"ArrowDown":return e.preventDefault(),void this.focusOnMenu();case"Enter":return void(this.hideDelayTimeout=h((()=>{this.focusOnMenu()})))}}onKeyup(e){e.stopPropagation()," "!==e.key||(this.root===e.target?this.focusOnMenu():this.hideDelayTimeout=h((()=>{this.root.focus()})))}onmouseenter(){this.show()}onMouseleave(){this.hide()}onClick(e){0!==e.detail&&this.hide(),this.root.focus()}onFocusin(){this.show()}onFocusout(){this.hide()}show(){clearTimeout(this.hideDelayTimeout),this.isShown=!0}hide(){this.isShown&&(this.hideDelayTimeout=setTimeout((()=>{this.isShown=!1}),l))}runUpdatePosition(){this.root.isConnected?this.cleanupUpdatePosition=i(this.targetElement,this.menuContentElement,(()=>this.updatePosition()),{ancestorScroll:!0,elementResize:!0,animationFrame:!0,ancestorResize:!0}):this.disconnectedCallback()}updatePosition(){this.root&&a(this.targetElement,this.menuContentElement,{placement:"bottom-start",strategy:"fixed",middleware:[r(16),n(),c(),d({element:this.arrowElement,padding:16})]}).then((({x:e,y:t,middlewareData:o,placement:s})=>{var i;Object.assign(this.menuContentElement.style,{left:`${e}px`,top:`${t}px`});const a=s.split("-")[0],r={top:"bottom",right:"left",bottom:"top",left:"right"}[a],n={top:0,right:90,bottom:180,left:-90}[a];if(o.arrow){const{x:e,y:t}=o.arrow;Object.assign(null===(i=this.arrowElement)||void 0===i?void 0:i.style,{left:null!=e?`${e}px`:"",top:null!=t?`${t}px`:"",right:"",bottom:"",[r]:"-13px",transform:`rotate(${n}deg)`})}}))}focusOnMenu(){if(this.menuContentElement.contains(document.activeElement))return;const e=this.root.querySelector("gux-menu");Array.from(e.children)[0].guxFocus()}componentWillLoad(){u(this.root)}componentDidLoad(){this.isShown&&this.runUpdatePosition()}componentDidUpdate(){this.isShown?this.runUpdatePosition():this.cleanupUpdatePosition&&this.cleanupUpdatePosition()}disconnectedCallback(){this.cleanupUpdatePosition&&this.cleanupUpdatePosition()}render(){return t(o,{key:"9b7c076d26067de1a1f0bfc8394d434e169f7b42",tabIndex:0,"aria-haspopup":"true"},t("span",{key:"88e983ea52f9c71d96dadd3b89d49574f01a328a",ref:e=>this.targetElement=e},t("slot",{key:"e9c941c341f55aa351024689a4e91a20f0474c2a",name:"target"})),t("div",{key:"02628fb1b9069e3af39401bd688bf3f1b3bade2a",class:{"gux-flyout-menu-content":!0,"gux-shown":this.isShown},ref:e=>this.menuContentElement=e},t("div",{key:"78ade05f92a1463ebb4caa202c0782f25575e4b8",ref:e=>this.arrowElement=e,class:"gux-arrow"},t("div",{key:"304999e540bca8136b6f597d5caa3ae46d169c5f",class:"gux-arrow-caret"})),t("slot",{key:"ff85260ab68d522c402cf01dc2d3cde3f1de1d78",name:"menu"})))}get root(){return s(this)}};f.style=":host{z-index:var(--gse-semantic-zIndex-popover);color:var(--gse-ui-menu-option-label-foregroundColor);cursor:default}:host(:focus){outline:none}:host(:focus-visible){outline:var(--gse-semantic-focusOutline-md-borderWidth) solid var(--gse-semantic-border-focus);outline-offset:var(--gse-semantic-focusOutline-offset)}.gux-flyout-menu-content{position:fixed;display:none;border:none;border-radius:var(--gse-ui-menu-borderRadius)}.gux-flyout-menu-content.gux-shown{display:flex}.gux-flyout-menu-content .gux-arrow{position:absolute;inline-size:var(--gse-ui-popover-anchor-width);block-size:var(--gse-ui-popover-anchor-height);padding-block-end:4px;overflow:hidden}.gux-flyout-menu-content .gux-arrow-caret{inline-size:0;block-size:0;border-block-start:calc(var(--gse-ui-popover-anchor-width) / 2) solid var(--gse-ui-popover-backgroundColor);border-inline-start:calc(var(--gse-ui-popover-anchor-width) / 2) solid transparent;border-inline-end:calc(var(--gse-ui-popover-anchor-width) / 2) solid transparent;filter:drop-shadow(0 0 4px var(--gse-semantic-effects-boxShadow))}";export{f as gux_flyout_menu}
@@ -0,0 +1 @@
1
+ import{r as e,f as t,h as o,g as i}from"./p-ffb7c9dc.js";import{c as r,o as n}from"./p-f4751a15.js";import{O as l}from"./p-166634e1.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-e556534e.js";import{G as p,a as h}from"./p-727bfafa.js";import{h as g,b as c,c as x,g as m,v as b,a as v}from"./p-4aaf349e.js";import{t as C}from"./p-5d9df6a7.js";import{f as y}from"./p-54822e3b.js";import"./p-0934300e.js";import"./p-8eaf8caf.js";import"./p-2c25e2f2.js";const k=class{constructor(t){e(this,t),this.clearable=void 0,this.labelPosition=void 0,this.loading=!1,this.indicatorMark="required",this.hasPrefix=void 0,this.hasSuffix=void 0,this.computedLabelPosition="above",this.disabled=void 0,this.required=void 0,this.hasContent=!1,this.hasError=!1,this.hasHelp=!1}onMutation(){this.labelInfo=this.root.querySelector("[slot=label-info]"),this.hasError=u(this.root,"error"),this.hasHelp=u(this.root,"help")}handleKeyup(e){var t,o;"Tab"===e.key?this.input.matches(":focus-visible")&&(null===(t=this.labelInfo)||void 0===t||t.showTooltip(),this.hideLabelInfoTimeout=setTimeout((()=>{var e;null===(e=this.labelInfo)||void 0===e||e.hideTooltip()}),6e3)):this.input.matches(":focus-visible")&&(null===(o=this.labelInfo)||void 0===o||o.hideTooltip(),clearTimeout(this.hideLabelInfoTimeout))}onFocusout(){var e;null===(e=this.labelInfo)||void 0===e||e.hideTooltip(),clearTimeout(this.hideLabelInfoTimeout)}async guxForceUpdate(){this.hasContent=g(this.input),this.hasError=u(this.root,"error"),this.hasHelp=u(this.root,"help"),t(this.root)}renderRadialLoading(){if(this.loading)return o("gux-radial-loading",{context:"input"})}componentWillLoad(){this.setInput(),this.setLabel(),this.labelInfo=this.root.querySelector("[slot=label-info]"),this.hasError=u(this.root,"error"),this.hasHelp=u(this.root,"help"),this.hasPrefix=Boolean(this.root.querySelector('[slot="prefix"]')),this.hasSuffix=Boolean(this.root.querySelector('[slot="suffix"]')),this.hasPrefix&&c(this.root,this.input,"prefix"),this.hasSuffix&&c(this.root,this.input,"suffix"),C(this.root,{variant:this.variant})}disconnectedCallback(){this.disabledObserver&&this.disabledObserver.disconnect(),this.requiredObserver&&this.requiredObserver.disconnect()}render(){return o(h,{key:"9cf0d8cdcb743aefb389bdfac835c2bf004e6c6e",labelPosition:this.computedLabelPosition},o(p,{key:"a5353955d4be04c46d7c251b11084b3f4c3e07c3",required:this.required,position:this.computedLabelPosition},o("slot",{key:"a4f796744756df06dc7a39d8597047b8eba6eac4",name:"label",onSlotchange:()=>this.setLabel()}),o("gux-form-field-label-indicator",{key:"04852e7fdc0663c522ac8b08e7f481de4a382963",variant:this.indicatorMark,required:this.required}),o("slot",{key:"a7222bab8d6fa3d165c5121224e68b14d88684eb",name:"label-info"})),o("div",{key:"bb016817dda043bfd151847d70aa0336dc84e96c",class:"gux-input-and-error-container"},o("div",{key:"80cf6edc654586f6d07ad7eab749aa792e6ead9b",class:{"gux-input":!0,"gux-input-error":this.hasError}},o("div",{key:"1683555b14817ac54ff31e3197b5ad9656c82997",class:{"gux-input-container":!0,"gux-disabled":this.disabled,"gux-has-prefix":this.hasPrefix,"gux-has-suffix":this.hasSuffix},onClick:()=>y(this.input)},o("slot",{key:"d7bd6a4ca72b4dc7c65b20b9219ef121b2e712db",name:"prefix"}),o("slot",{key:"c6fd8bb5a113244a32715b775a2717549805ffef",name:"input"}),this.renderRadialLoading(),o("slot",{key:"b77bfe217b456ac9a3b28462c38d50a2c5ed2261",name:"suffix"}),this.clearable&&this.hasContent&&!this.disabled&&o("gux-form-field-input-clear-button",{key:"0da69238645ed44eb3d0472454746b1cd336836f",onClick:()=>x(this.input)}))),o(f,{key:"1dba5afb79e032cf7aa69c71514aed98587ea49d",show:this.hasError},o("slot",{key:"dcecdcc6252f70b584abdf9edafaae9b36fb43cd",name:"error"})),o(d,{key:"20956660e7e70579877200488e5443c151edc004",show:!this.hasError&&this.hasHelp},o("slot",{key:"e9265c67ad26603eda3ed2c2218bba8a2651a189",name:"help"}))))}get variant(){const e=this.labelPosition?this.labelPosition.toLowerCase():"none";return`${this.input.getAttribute("type")}-${this.clearable?"clearable":"unclearable"}-${e}`}setInput(){this.input=m(this.root,'input[type="email"][slot="input"], input[type="number"][slot="input"], input[type="password"][slot="input"], input[type="text"][slot="input"]'),this.hasContent=g(this.input),s(this.input),this.input.addEventListener("input",(()=>{this.hasContent=g(this.input)})),this.disabled=r(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=v(this.label,this.labelPosition)}get root(){return i(this)}};(function(e,t,o,i){var r,n=arguments.length,l=n<3?t:null===i?i=Object.getOwnPropertyDescriptor(t,o):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)l=Reflect.decorate(e,t,o,i);else for(var a=e.length-1;a>=0;a--)(r=e[a])&&(l=(n<3?r(l):n>3?r(t,o,l):r(t,o))||l);n>3&&l&&Object.defineProperty(t,o,l)})([l({childList:!0,subtree:!0})],k.prototype,"onMutation",null),k.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;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;text-overflow:ellipsis;font-family:var(--gse-ui-formControl-input-contentText-fontFamily);font-size:var(--gse-ui-formControl-input-contentText-fontSize);font-weight:var(--gse-ui-formControl-input-contentText-fontWeight);line-height:var(--gse-ui-formControl-input-contentText-lineHeight);color:var(--gse-ui-formControl-input-populatedColor);outline:none;background-color:var(--gse-ui-formControl-input-backgroundColor);border:none}::slotted(input)::placeholder{color:var(--gse-ui-formControl-input-placeholderColor);opacity:1}slot[name=prefix],slot[name=suffix]{font-family:var(--gse-ui-formControl-input-prefixSufix-text-fontFamily);font-size:var(--gse-ui-formControl-input-prefixSufix-text-fontSize);line-height:var(--gse-ui-formControl-input-prefixSufix-text-lineHeight);color:var(--gse-ui-formControl-input-prefixSufix-defaultColor);text-align:center;white-space:nowrap;text-decoration:none}.gux-input-and-error-container{flex-grow:1}.gux-input-and-error-container .gux-input .gux-input-container{box-sizing:border-box;display:flex;flex-direction:row;flex-wrap:nowrap;gap:var(--gse-ui-formControl-input-gap);place-content:stretch center;align-items:center;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-has-suffix:not(.gux-input-and-error-container .gux-input .gux-input-container.gux-has-prefix) ::slotted(input){text-align:end}.gux-input-and-error-container .gux-input .gux-input-container.gux-disabled{cursor:default;opacity:var(--gse-ui-formControl-input-disabled-opacity)}.gux-input-and-error-container .gux-input .gux-input-container:focus-within{outline:var(--gse-ui-formControl-input-focus-border-width) var(--gse-ui-formControl-input-focus-border-style) var(--gse-ui-formControl-input-focus-border-color);outline-offset:var(--gse-semantic-focusOutline-offset);border:var(--gse-ui-formControl-input-active-border-width) var(--gse-ui-formControl-input-active-border-style) var(--gse-ui-formControl-input-active-border-color);border-radius:var(--gse-ui-formControl-focusRing-borderRadius)}.gux-input-and-error-container .gux-input .gux-input-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{k as gux_form_field_text_like}
@@ -0,0 +1 @@
1
+ import{r as e,h as t,H as s,g as o}from"./p-ffb7c9dc.js";import{a as i}from"./p-cf0e7d3b.js";import{e as n}from"./p-ea5e1b2f.js";import{r}from"./p-0934300e.js";import{b as a}from"./p-cfeaf436.js";import{t as l}from"./p-408d5857.js";import"./p-4202e9f2.js";const u=class{constructor(t){e(this,t),this.dropdownOptionsButtonId=r("gux-table-select-menu"),this.hasSelectMenuOptions=!1,this.dropdownDisabled=!1,this.popoverHidden=!0}focusFirstItemInPopupList(){const e=this.root.querySelector("gux-list");i((()=>{null==e||e.guxFocusFirstItem()}))}async componentWillLoad(){this.hasSelectMenuOptions=!!this.root.querySelector('[slot="select-menu-options"]'),this.i18n=await a(this.root,l,"gux-table")}onKeydown(e){var t;switch(e.key){case"ArrowDown":n(".gux-select-menu-button",e)&&(this.toggleOptions(),this.focusFirstItemInPopupList());break;case"Enter":n(".gux-select-menu-button",e)&&this.focusFirstItemInPopupList();break;case"Escape":n("gux-list",e)&&(e.stopPropagation(),this.popoverHidden=!0,null===(t=this.tableSelectMenuButtonElement)||void 0===t||t.focus());break;case"Tab":this.popoverHidden=!0}}onKeyup(e){" "===e.key&&n(".gux-select-menu-button",e)&&this.focusFirstItemInPopupList()}toggleOptions(){this.popoverHidden=!this.popoverHidden}renderSelectDropdown(){if(this.hasSelectMenuOptions)return[t("button",{id:this.dropdownOptionsButtonId,"aria-haspopup":"listbox","aria-expanded":(!this.popoverHidden).toString(),type:"button",class:"gux-select-menu-button",ref:e=>this.tableSelectMenuButtonElement=e,onClick:()=>this.toggleOptions(),disabled:this.dropdownDisabled},t("gux-icon",{"icon-name":"custom/chevron-down-small-regular","screenreader-text":this.i18n("tableOptions"),size:"small"})),t("gux-popover-list",{for:this.dropdownOptionsButtonId,isOpen:!this.popoverHidden,closeOnClickOutside:!0,onGuxdismiss:()=>this.popoverHidden=!0},t("div",null,t("slot",{name:"select-menu-options"})))]}render(){return t(s,{key:"656a010b563fadb0360bd64666ead6622a3f7645"},t("slot",{key:"7027d271cd5cf7d280b19b24b6004e62fc700ca1"}),this.renderSelectDropdown())}get root(){return o(this)}};u.style="gux-table-select-menu{display:inline-flex;font-family:var(--gse-ui-popover-body-text-fontFamily);font-size:var(--gse-ui-popover-body-text-fontSize);font-weight:var(--gse-ui-popover-body-text-fontWeight);line-height:var(--gse-ui-popover-body-text-lineHeight)}gux-table-select-menu .gux-select-menu-button{padding:0;margin-inline-start:var(--gse-ui-dataTableItems-header-gap);color:var(--gse-ui-dataTableItems-cell-chevron-foregroundColor);outline:none;background-color:inherit;border:none}gux-table-select-menu .gux-select-menu-button:focus-visible{outline:var(--gse-semantic-focusOutline-md-borderWidth) solid var(--gse-semantic-border-focus);outline-offset:var(--gse-semantic-focusOutline-offset);border-radius:4px}";export{u as gux_table_select_menu}
@@ -1 +1 @@
1
- import{r as t,h as e,g as o}from"./p-ffb7c9dc.js";import{t as s}from"./p-db306845.js";const r=class{constructor(e){t(this,e)}componentWillLoad(){s(this.root)}render(){return e("span",{key:"b61aa74de6cc2f8f9f0ac6053f91a7e4be2638a3",class:"gux-sr-only"},e("slot",{key:"497018bbc50adf0226f7b70d4efd3cf52bf9fbd5"}))}get root(){return o(this)}};r.style=":host{position:relative}.gux-sr-only:not(:focus):not(:active){position:absolute;width:1px;height:1px;overflow:hidden;white-space:nowrap;clip:rect(0 0 0 0);clip-path:inset(50%)}";export{r as gux_screen_reader_beta}
1
+ import{r as t,h as e,g as o}from"./p-ffb7c9dc.js";import{t as s}from"./p-5d9df6a7.js";const r=class{constructor(e){t(this,e)}componentWillLoad(){s(this.root)}render(){return e("span",{key:"b61aa74de6cc2f8f9f0ac6053f91a7e4be2638a3",class:"gux-sr-only"},e("slot",{key:"497018bbc50adf0226f7b70d4efd3cf52bf9fbd5"}))}get root(){return o(this)}};r.style=":host{position:relative}.gux-sr-only:not(:focus):not(:active){position:absolute;width:1px;height:1px;overflow:hidden;white-space:nowrap;clip:rect(0 0 0 0);clip-path:inset(50%)}";export{r as gux_screen_reader_beta}
@@ -0,0 +1 @@
1
+ import{r as e,c as t,h as s,g as i}from"./p-ffb7c9dc.js";import{o}from"./p-0f60c7b5.js";import{O as a}from"./p-da087c59.js";import{a as c}from"./p-cf0e7d3b.js";import{t as d}from"./p-5d9df6a7.js";import{b as n}from"./p-cfeaf436.js";import"./p-4202e9f2.js";const r={searchAria:"Search"};const p=class{constructor(s){e(this,s),this.input=t(this,"input",7),this.filter=t(this,"filter",7),this.disabled=!1,this.placeholder=void 0,this.noFilter=!1,this.filterDebounceTimeout=500,this.dropdownHeight="320px",this.srLabelledby=void 0,this.opened=void 0,this.currentlySelectedOption=void 0,this.selectionOptions=void 0}watchValue(e){this.opened&&e&&this.closeDropdown(!1)}get value(){var e;return null===(e=this.currentlySelectedOption)||void 0===e?void 0:e.text}getSelectedValues(){return Promise.resolve([this.value])}async setLabeledBy(e){this.srLabelledby=e}onClickOutside(){this.closeDropdown(!1)}async componentWillLoad(){d(this.root),this.i18n=await n(this.root,r),this.handleSelectionChange=this.handleSelectionChange.bind(this),this.updateSelectionState(),this.addOptionListener(),this.slotObserver=o(this.root,(()=>this.updateSelectionState()))}disconnectedCallback(){this.slotObserver&&this.slotObserver.disconnect()}render(){return s("gux-popup",{key:"c944093eb307f6a3355f865b815b12d3de080378",expanded:this.opened,disabled:this.disabled},s("div",{key:"c94b4d9436e4621bea33e06824aa6d930f13d907",slot:"target",class:"gux-select-field",onMouseDown:()=>this.inputMouseDown()},s("a",{key:"a492105382407607813648edce5c9b6edc06b257",ref:e=>this.inputBox=e,class:"gux-select-input","aria-labelledby":this.srLabelledby,tabindex:"0",onKeyDown:e=>this.inputKeyDown(e)},this.placeholder&&!this.value&&s("span",{key:"71c0e91daf846d825fea3be742bfd0ff9042a231",class:"gux-select-placeholder",title:this.placeholder},this.placeholder),this.value&&s("span",{key:"3e1e5a223fbcc5247cceebb6c8e9cec548a04659",class:"gux-select-value",title:this.value},this.value)),s("div",{key:"52fc09c51f9401418bf5de14f14760f2af1cd343",class:"gux-icon-wrapper"},s("gux-icon",{key:"183dd97e8f1adaa46a6309b3e0016c4f5bef58dc",decorative:!0,"icon-name":"custom/chevron-down-small-regular"}))),s("div",{key:"b111b6d8a3ea31dac3da91fd7c75e342c67f87c9",slot:"popup",class:"gux-advanced-dropdown-menu"},s("div",{key:"c15b4d84749a404b0ecb37f3a1dfc725a85cf3dd",class:"gux-dropdown-menu-container"},s("gux-form-field-search",{key:"4d01119df28a603467c9768b2c7925b328a5a448","label-position":"screenreader"},s("label",{key:"22e23e3c02f46badd679e2587face6070b031d57",slot:"label"},this.i18n("searchAria")),s("input",{key:"b6952561bc2b3c3195c390cef80b8d99ffa8ae9e",slot:"input",type:"search",onInput:e=>{this.handleSearchInput(e)},ref:e=>this.searchInput=e})),s("div",{key:"db0ad6dc0d97e4aac0c72fe39a3c004a1df56cc5",class:"gux-dropdown-options",style:{maxHeight:this.dropdownHeight},onKeyDown:e=>this.optionsKeyDown(e)},s("slot",{key:"33129990bdb0f547cd1b3ace89189e51b5c4b66c"})))))}updateSelectionState(){this.selectionOptions=this.getSelectionOptions(),this.currentlySelectedOption=this.selectionOptions.find((e=>e.selected))}addOptionListener(){this.root.addEventListener("selectedChanged",(e=>this.handleSelectionChange(e)))}handleSelectionChange({target:e}){const t=e;this.closeDropdown(!0),this.currentlySelectedOption!==t&&(this.currentlySelectedOption&&(this.currentlySelectedOption.selected=!1),this.currentlySelectedOption=t,this.input.emit(t.value))}getSelectionOptions(){const e=this.root.querySelectorAll("gux-dropdown-option");return Array.from(e)}inputMouseDown(){this.disabled||(this.opened?this.closeDropdown(!0):this.openDropdown(!1))}getFocusIndex(){return this.selectionOptions.findIndex((e=>e.matches(":focus")))}optionsKeyDown(e){switch(e.key){case"ArrowUp":{e.preventDefault();const t=this.getFocusIndex();t>0&&this.selectionOptions[t-1].focus();break}case"ArrowDown":{e.preventDefault();const t=this.getFocusIndex();t<this.selectionOptions.length-1&&this.selectionOptions[t+1].focus();break}case"Home":if(!this.selectionOptions.length)return;this.selectionOptions[0].focus();break;case"End":if(!this.selectionOptions.length)return;this.selectionOptions[this.selectionOptions.length-1].focus()}}inputKeyDown(e){switch(e.key){case"ArrowUp":case"ArrowDown":case" ":this.openDropdown(!0)}}handleSearchInput(e){e.stopPropagation(),clearTimeout(this.filterDebounceTimer),this.filterDebounceTimer=setTimeout((()=>this.searchRequested()),this.filterDebounceTimeout)}searchRequested(){this.filter.emit(this.searchInput.value),this.setFilteredOptions()}setFilteredOptions(){const e=this.searchInput.value;if(!this.noFilter)for(const t of this.selectionOptions)t.shouldFilter(e).then((e=>{t.filtered=e}))}changeFocusToSearch(){c((()=>{this.searchInput.focus()}))}openDropdown(e){this.opened=!0,e&&this.changeFocusToSearch()}closeDropdown(e){this.opened=!1,this.searchInput.value="",this.setFilteredOptions(),e&&this.inputBox.focus()}get root(){return i(this)}static get watchers(){return{disabled:["watchValue"]}}};(function(e,t,s,i){var o,a=arguments.length,c=a<3?t:null===i?i=Object.getOwnPropertyDescriptor(t,s):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)c=Reflect.decorate(e,t,s,i);else for(var d=e.length-1;d>=0;d--)(o=e[d])&&(c=(a<3?o(c):a>3?o(t,s,c):o(t,s))||c);a>3&&c&&Object.defineProperty(t,s,c)})([a({triggerEvents:"mousedown"})],p.prototype,"onClickOutside",null),p.style=":host{color:#2e394c}gux-popup{display:block;margin:4px 0}gux-popup .gux-select-field{position:relative;width:100%;height:32px}gux-popup .gux-select-field a.gux-select-input{position:absolute;inset:0;padding:6px 24px 6px 12px;overflow:hidden;text-overflow:ellipsis;color:#2e394c;white-space:nowrap;text-decoration:none;cursor:pointer;background-color:#f6f7f9;background-image:none;border:1px solid #6b7585;border-radius:4px;box-shadow:inset 0 0 4px rgba(32, 41, 55, 0.16)}gux-popup .gux-select-field a.gux-select-input .gux-select-placeholder,gux-popup .gux-select-field a.gux-select-input .gux-select-value{line-height:20px}gux-popup .gux-select-field a.gux-select-input .gux-select-placeholder{color:#596373}gux-popup .gux-select-field a.gux-select-input:focus-visible{outline:var(--gse-semantic-focusOutline-md-borderWidth) solid var(--gse-semantic-border-focus);outline-offset:var(--gse-semantic-focusOutline-offset)}gux-popup .gux-select-field .gux-icon-wrapper{position:absolute;top:1px;right:8px;bottom:0;display:flex;align-items:center;overflow:hidden;cursor:pointer}gux-popup .gux-select-field .gux-icon-wrapper gux-icon{width:16px;height:16px;color:#596373}gux-popup .gux-select-field:hover .gux-icon-wrapper gux-icon{color:#2e394c}gux-popup .gux-advanced-dropdown-menu{background:#fdfdfd;border:1px solid #b4bccb;border-radius:4px;box-shadow:0 0 2px 0 rgba(32, 41, 55, 0.24)}gux-popup .gux-advanced-dropdown-menu .gux-dropdown-menu-container gux-form-field-search{margin:8px 16px}gux-popup .gux-advanced-dropdown-menu .gux-dropdown-menu-container gux-form-field-search input::-webkit-search-cancel-button,gux-popup .gux-advanced-dropdown-menu .gux-dropdown-menu-container gux-form-field-search input::-webkit-search-results-button,gux-popup .gux-advanced-dropdown-menu .gux-dropdown-menu-container gux-form-field-search input::-webkit-calendar-picker-indicator{display:none;-webkit-appearance:none}gux-popup .gux-dropdown-options{padding:8px 0;margin:0;overflow-y:auto;color:#2e394c;background:#fdfdfd;border-radius:4px;box-shadow:none}";export{p as gux_advanced_dropdown_legacy}
@@ -1 +1 @@
1
- import{r as e,h as n,g as a}from"./p-ffb7c9dc.js";import{t as i}from"./p-db306845.js";const g=class{constructor(n){e(this,n)}componentWillLoad(){i(this.root)}render(){return n("div",{key:"bec01bcb41c1d7c67b327a06c4004fd69610cb3a",class:"gux-container",role:"alert","aria-live":"assertive"},n("div",{key:"61fd1c41cd84bc3170b485409fc1f875cfae53b4",class:"gux-progress"},n("slot",{key:"162770be6b1e4ddac98ba43d1cde295d8812beb1",name:"progress"})),n("div",{key:"ce41002cfbdafe06cf7e596879dedbf0569e78d3",class:"gux-primary-message"},n("slot",{key:"969c00afc1f9441e046f64c9f335f6212531c15d",name:"primary-message"})),n("div",{key:"30566e826ddf339d1bf65ce475cab14af48942d5",class:"gux-additional-guidance"},n("slot",{key:"7f0c15ff42391a285379a7af5ae34d2a25ef48c1",name:"additional-guidance"})))}get root(){return a(this)}};g.style=":host {\n display: flex;\n flex-direction: column;\n align-items: center;\n justify-content: center;\n container-type: inline-size;\n}\n\n.gux-container {\n display: flex;\n flex-direction: column;\n align-items: center;\n justify-content: center;\n max-inline-size: var(--gse-ui-progressAndLoading-loadingState-large-width);\n color: var(--gse-ui-progressAndLoading-textColor);\n text-align: center;\n}\n\n@container (width > 400px) {\n .gux-container .gux-primary-message {\n margin-block-start: var(--gse-ui-progressAndLoading-large-gap);\n font-family: var(--gse-ui-progressAndLoading-loadingState-large-header-fontFamily);\n font-size: var(--gse-ui-progressAndLoading-loadingState-large-header-fontSize);\n font-weight: var(--gse-ui-progressAndLoading-loadingState-large-header-fontWeight);\n line-height: var(--gse-ui-progressAndLoading-loadingState-large-header-lineHeight);\n }\n .gux-container .gux-additional-guidance {\n margin-block-start: var(--gse-ui-progressAndLoading-large-gapText);\n font-family: var(--gse-ui-progressAndLoading-loadingState-large-subheader-fontFamily);\n font-size: var(--gse-ui-progressAndLoading-loadingState-large-subheader-fontSize);\n font-weight: var(--gse-ui-progressAndLoading-loadingState-large-subheader-fontWeight);\n line-height: var(--gse-ui-progressAndLoading-loadingState-large-subheader-lineHeight);\n }\n}\n@container (width > 200px) and (width <=400px) {\n .gux-container .gux-primary-message {\n margin-block-start: var(--gse-ui-progressAndLoading-medium-gap);\n font-family: var(--gse-ui-progressAndLoading-loadingState-medium-header-fontFamily);\n font-size: var(--gse-ui-progressAndLoading-loadingState-medium-header-fontSize);\n font-weight: var(--gse-ui-progressAndLoading-loadingState-medium-header-fontWeight);\n line-height: var(--gse-ui-progressAndLoading-loadingState-medium-header-lineHeight);\n }\n .gux-container .gux-additional-guidance {\n margin-block-start: var(--gse-ui-progressAndLoading-medium-gapText);\n font-family: var(--gse-ui-progressAndLoading-loadingState-medium-subheader-fontFamily);\n font-size: var(--gse-ui-progressAndLoading-loadingState-medium-subheader-fontSize);\n font-weight: var(--gse-ui-progressAndLoading-loadingState-medium-subheader-fontWeight);\n line-height: var(--gse-ui-progressAndLoading-loadingState-medium-subheader-lineHeight);\n }\n}\n@container (width <=200px) {\n .gux-container .gux-primary-message {\n margin-block-start: var(--gse-ui-progressAndLoading-small-gap);\n font-family: var(--gse-ui-progressAndLoading-loadingState-small-header-fontFamily);\n font-size: var(--gse-ui-progressAndLoading-loadingState-small-header-fontSize);\n font-weight: var(--gse-ui-progressAndLoading-loadingState-small-header-fontWeight);\n line-height: var(--gse-ui-progressAndLoading-loadingState-small-header-lineHeight);\n }\n .gux-container .gux-additional-guidance {\n margin-block-start: var(--gse-ui-progressAndLoading-small-gapText);\n font-family: var(--gse-ui-progressAndLoading-loadingState-small-subheader-fontFamily);\n font-size: var(--gse-ui-progressAndLoading-loadingState-small-subheader-fontSize);\n font-weight: var(--gse-ui-progressAndLoading-loadingState-small-subheader-fontWeight);\n line-height: var(--gse-ui-progressAndLoading-loadingState-small-subheader-lineHeight);\n }\n}";export{g as gux_loading_message}
1
+ import{r as e,h as n,g as a}from"./p-ffb7c9dc.js";import{t as i}from"./p-5d9df6a7.js";const g=class{constructor(n){e(this,n)}componentWillLoad(){i(this.root)}render(){return n("div",{key:"bec01bcb41c1d7c67b327a06c4004fd69610cb3a",class:"gux-container",role:"alert","aria-live":"assertive"},n("div",{key:"61fd1c41cd84bc3170b485409fc1f875cfae53b4",class:"gux-progress"},n("slot",{key:"162770be6b1e4ddac98ba43d1cde295d8812beb1",name:"progress"})),n("div",{key:"ce41002cfbdafe06cf7e596879dedbf0569e78d3",class:"gux-primary-message"},n("slot",{key:"969c00afc1f9441e046f64c9f335f6212531c15d",name:"primary-message"})),n("div",{key:"30566e826ddf339d1bf65ce475cab14af48942d5",class:"gux-additional-guidance"},n("slot",{key:"7f0c15ff42391a285379a7af5ae34d2a25ef48c1",name:"additional-guidance"})))}get root(){return a(this)}};g.style=":host {\n display: flex;\n flex-direction: column;\n align-items: center;\n justify-content: center;\n container-type: inline-size;\n}\n\n.gux-container {\n display: flex;\n flex-direction: column;\n align-items: center;\n justify-content: center;\n max-inline-size: var(--gse-ui-progressAndLoading-loadingState-large-width);\n color: var(--gse-ui-progressAndLoading-textColor);\n text-align: center;\n}\n\n@container (width > 400px) {\n .gux-container .gux-primary-message {\n margin-block-start: var(--gse-ui-progressAndLoading-large-gap);\n font-family: var(--gse-ui-progressAndLoading-loadingState-large-header-fontFamily);\n font-size: var(--gse-ui-progressAndLoading-loadingState-large-header-fontSize);\n font-weight: var(--gse-ui-progressAndLoading-loadingState-large-header-fontWeight);\n line-height: var(--gse-ui-progressAndLoading-loadingState-large-header-lineHeight);\n }\n .gux-container .gux-additional-guidance {\n margin-block-start: var(--gse-ui-progressAndLoading-large-gapText);\n font-family: var(--gse-ui-progressAndLoading-loadingState-large-subheader-fontFamily);\n font-size: var(--gse-ui-progressAndLoading-loadingState-large-subheader-fontSize);\n font-weight: var(--gse-ui-progressAndLoading-loadingState-large-subheader-fontWeight);\n line-height: var(--gse-ui-progressAndLoading-loadingState-large-subheader-lineHeight);\n }\n}\n@container (width > 200px) and (width <=400px) {\n .gux-container .gux-primary-message {\n margin-block-start: var(--gse-ui-progressAndLoading-medium-gap);\n font-family: var(--gse-ui-progressAndLoading-loadingState-medium-header-fontFamily);\n font-size: var(--gse-ui-progressAndLoading-loadingState-medium-header-fontSize);\n font-weight: var(--gse-ui-progressAndLoading-loadingState-medium-header-fontWeight);\n line-height: var(--gse-ui-progressAndLoading-loadingState-medium-header-lineHeight);\n }\n .gux-container .gux-additional-guidance {\n margin-block-start: var(--gse-ui-progressAndLoading-medium-gapText);\n font-family: var(--gse-ui-progressAndLoading-loadingState-medium-subheader-fontFamily);\n font-size: var(--gse-ui-progressAndLoading-loadingState-medium-subheader-fontSize);\n font-weight: var(--gse-ui-progressAndLoading-loadingState-medium-subheader-fontWeight);\n line-height: var(--gse-ui-progressAndLoading-loadingState-medium-subheader-lineHeight);\n }\n}\n@container (width <=200px) {\n .gux-container .gux-primary-message {\n margin-block-start: var(--gse-ui-progressAndLoading-small-gap);\n font-family: var(--gse-ui-progressAndLoading-loadingState-small-header-fontFamily);\n font-size: var(--gse-ui-progressAndLoading-loadingState-small-header-fontSize);\n font-weight: var(--gse-ui-progressAndLoading-loadingState-small-header-fontWeight);\n line-height: var(--gse-ui-progressAndLoading-loadingState-small-header-lineHeight);\n }\n .gux-container .gux-additional-guidance {\n margin-block-start: var(--gse-ui-progressAndLoading-small-gapText);\n font-family: var(--gse-ui-progressAndLoading-loadingState-small-subheader-fontFamily);\n font-size: var(--gse-ui-progressAndLoading-loadingState-small-subheader-fontSize);\n font-weight: var(--gse-ui-progressAndLoading-loadingState-small-subheader-fontWeight);\n line-height: var(--gse-ui-progressAndLoading-loadingState-small-subheader-lineHeight);\n }\n}";export{g as gux_loading_message}
@@ -1 +1 @@
1
- import{r as t,h as s,H as e,g as i}from"./p-ffb7c9dc.js";import{t as r}from"./p-db306845.js";import{D as a,g as o}from"./p-ad9b3d73.js";import{u as h,d,a as p}from"./p-2319558c.js";import{g as m}from"./p-cfeaf436.js";import"./p-43af726d.js";import"./p-4202e9f2.js";const n=class{constructor(s){t(this,s),this.hasRegionalDatesCookie=!1,this.datetime=(new Date).toISOString(),this.format="short",this.timeZone=void 0}componentWillLoad(){r(this.root),h()?this.hasRegionalDatesCookie=!0:this.formatter=new a(m(this.root))}renderDate(){return this.hasRegionalDatesCookie?d(p(this.root),{dateStyle:this.format,timeZone:o(this.timeZone)}).format(new Date(this.datetime)):this.formatter.formatDate(new Date(this.datetime),this.format,{timeZone:o(this.timeZone)})}render(){return s(e,{key:"491e0809d9072e6cdddb2fbb18e9a19b0bb827f6"},this.renderDate())}get root(){return i(this)}};export{n as gux_date_beta}
1
+ import{r as t,h as s,H as e,g as i}from"./p-ffb7c9dc.js";import{t as r}from"./p-5d9df6a7.js";import{D as a,g as o}from"./p-ad9b3d73.js";import{u as h,d,a as p}from"./p-2319558c.js";import{g as m}from"./p-cfeaf436.js";import"./p-43af726d.js";import"./p-4202e9f2.js";const n=class{constructor(s){t(this,s),this.hasRegionalDatesCookie=!1,this.datetime=(new Date).toISOString(),this.format="short",this.timeZone=void 0}componentWillLoad(){r(this.root),h()?this.hasRegionalDatesCookie=!0:this.formatter=new a(m(this.root))}renderDate(){return this.hasRegionalDatesCookie?d(p(this.root),{dateStyle:this.format,timeZone:o(this.timeZone)}).format(new Date(this.datetime)):this.formatter.formatDate(new Date(this.datetime),this.format,{timeZone:o(this.timeZone)})}render(){return s(e,{key:"491e0809d9072e6cdddb2fbb18e9a19b0bb827f6"},this.renderDate())}get root(){return i(this)}};export{n as gux_date_beta}
@@ -1 +1 @@
1
- import{r as t,c as i,h as s,H as e,g as o}from"./p-ffb7c9dc.js";import{c as n,h as r,s as a,b as h,d as l,e as u,f as d,i as c,j as g,k as p,l as m,a as v,o as b}from"./p-870844dc.js";import{b as x}from"./p-cfeaf436.js";import{w as f}from"./p-e97879b4.js";import{s as w}from"./p-2c25e2f2.js";import{t as O}from"./p-db306845.js";import{b as y}from"./p-cf0e7d3b.js";import"./p-4202e9f2.js";const C={add:"Add {name}",noMatches:"No matches",loading:"Loading..."},j=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(){n(this.root)}selectNewCustomOption(t){this.updateValue(t.detail)}onKeydown(t){var i;if(!r(this.root))return t.preventDefault(),void a(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((()=>{a(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((()=>{a(this.root)}))):p(this.root,(t=>this.updateValue(t))))}onMousemove(){n(this.root)}onClick(t){f("gux-option-multi",t,(t=>{b(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=>{var i;t.selected=this.getSelectedValues().includes(t.value),"custom"!==this.filterType&&"none"!==this.filterType&&(t.filtered=!(null===(i=v(t))||void 0===i?void 0:i.textContent.trim().toLowerCase().startsWith(this.textInput.toLowerCase())))}))}updateValue(t){if(this.getSelectedValues().includes(t)){const i=this.getSelectedValues().filter((i=>i!==t));this.value=i.length?i.join(","):void 0}else{const i=[...this.getSelectedValues(),t];this.value=i.join(",")}w(this.root,"input"),w(this.root,"change")}async componentWillLoad(){O(this.root),this.i18n=await x(this.root,C),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"]}}};j.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;outline:none;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);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{j as gux_listbox_multi}
1
+ import{r as t,c as i,h as s,H as e,g as o}from"./p-ffb7c9dc.js";import{c as a,h as n,s as r,b as h,d as l,e as u,f as d,i as c,j as g,k as p,l as m,a as v,o as b}from"./p-870844dc.js";import{b as x}from"./p-cfeaf436.js";import{w as f}from"./p-e97879b4.js";import{s as w}from"./p-2c25e2f2.js";import{t as O}from"./p-5d9df6a7.js";import{b as y}from"./p-cf0e7d3b.js";import"./p-4202e9f2.js";const C={add:"Add {name}",noMatches:"No matches",loading:"Loading..."},j=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(){a(this.root)}selectNewCustomOption(t){this.updateValue(t.detail)}onKeydown(t){var i;if(!n(this.root))return t.preventDefault(),void r(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((()=>{r(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((()=>{r(this.root)}))):p(this.root,(t=>this.updateValue(t))))}onMousemove(){a(this.root)}onClick(t){f("gux-option-multi",t,(t=>{b(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=>{var i;t.selected=this.getSelectedValues().includes(t.value),"custom"!==this.filterType&&"none"!==this.filterType&&(t.filtered=!(null===(i=v(t))||void 0===i?void 0:i.textContent.trim().toLowerCase().startsWith(this.textInput.toLowerCase())))}))}updateValue(t){if(this.getSelectedValues().includes(t)){const i=this.getSelectedValues().filter((i=>i!==t));this.value=i.length?i.join(","):void 0}else{const i=[...this.getSelectedValues(),t];this.value=i.join(",")}w(this.root,"input"),w(this.root,"change")}async componentWillLoad(){O(this.root),this.i18n=await x(this.root,C),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"]}}};j.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;outline:none;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);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{j as gux_listbox_multi}
@@ -1 +1 @@
1
- import{r as t,f as e,h as s,g as i}from"./p-ffb7c9dc.js";import{t as r}from"./p-db306845.js";import{h as o}from"./p-b2e29026.js";import{O as a}from"./p-da087c59.js";import{b as n}from"./p-cf0e7d3b.js";import{b as l}from"./p-cfeaf436.js";import{t as u}from"./p-f01d2320.js";import"./p-43af726d.js";import"./p-4202e9f2.js";const h=class{constructor(e){t(this,e),this.value=void 0,this.expanded=!1,this.disabled=!1}onClickOutside(){this.expanded=!1}watchValue(t){this.validateValue(t,this.listElement)}watchDisabled(t){t&&(this.expanded=!1)}onInternallistitemsupdated(t){t.stopPropagation(),e(this.root)}handleKeydown(t){const e=t.composedPath().includes(this.actionButton),s=t.composedPath().includes(this.listElement);switch(t.key){case"Escape":s&&(t.preventDefault(),this.expanded=!1,this.actionButton.focus());break;case"ArrowDown":case"Enter":e&&!this.expanded&&(t.preventDefault(),this.expanded=!0,this.focusFirstListItem());break;case"Tab":this.expanded=!1;break;case"ArrowUp":e&&!this.expanded&&(t.preventDefault(),this.expanded=!0,this.focusLastListItem())}}handleKeyup(t){" "===t.key&&t.composedPath().includes(this.actionButton)&&(t.preventDefault(),this.expanded=!0,this.focusFirstListItem())}focusFirstListItem(){n((()=>{this.listElement.guxFocusFirstItem()}))}focusLastListItem(){n((()=>{this.listElement.guxFocusLastItem()}))}async componentWillLoad(){r(this.root),this.i18n=await l(this.root,u)}componentWillRender(){(null==this?void 0:this.listElement)&&this.validateValue(this.value,this.listElement)}validateValue(t,e){void 0!==t?this.getListItemElementByValue(t)&&(e.value=t):e.value=t}get listItemElements(){const t=this.listElement.querySelector("slot");if(t)return Array.from(t.assignedElements())}getListItemElementByValue(t){return this.listItemElements.find((e=>e.value===t))}renderTargetDisplay(){if(null==this?void 0:this.listElement){const t=this.getListItemElementByValue(this.value);if(t)return s("span",null,this.renderListItem(t))}}renderMenu(){return s("div",{class:"gux-target-display"},this.renderTargetDisplay(),s("gux-icon",{"icon-name":this.expanded?"custom/chevron-up-small-regular":"custom/chevron-down-small-regular","screenreader-text":this.i18n("richStyleDropdown")}))}renderListItem(t){return s("gux-truncate",{"max-lines":1},t.textContent)}renderTooltip(){if(!this.disabled&&!this.expanded)return s("gux-tooltip-beta",null,s("div",{slot:"content"},this.i18n("richStyle")))}onActionButtonClick(){this.expanded=!this.expanded,this.expanded&&this.focusFirstListItem()}updateValue(t){this.value!==t&&(this.value=t)}onListClick(t){const e=t.target.closest("gux-rich-style-list-item");e&&(this.expanded=!1,this.updateValue(e.value),this.actionButton.focus())}renderPopup(){return s("div",{class:"gux-list-container",slot:"popup"},s("gux-rich-text-editor-list",{ref:t=>this.listElement=t,onClick:t=>this.onListClick(t)},s("slot",null)))}renderTarget(){return s("gux-button-slot",{accent:"ghost",slot:"target","icon-only":!0},s("button",{type:"button",ref:t=>this.actionButton=t,class:{"gux-is-pressed":this.expanded},onClick:()=>this.onActionButtonClick(),disabled:this.disabled||o(this.root),"aria-haspopup":"true","aria-expanded":this.expanded.toString()},this.renderMenu()),this.renderTooltip())}render(){return s("gux-popup",{key:"a0ab8d22aeefe6381bc2aa164aa88719f83ae884",expanded:this.expanded,exceedTargetWidth:!0,placement:"bottom-start"},this.renderTarget(),this.renderPopup())}static get delegatesFocus(){return!0}get root(){return i(this)}static get watchers(){return{value:["watchValue"],disabled:["watchDisabled"]}}};(function(t,e,s,i){var r,o=arguments.length,a=o<3?e:null===i?i=Object.getOwnPropertyDescriptor(e,s):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(t,e,s,i);else for(var n=t.length-1;n>=0;n--)(r=t[n])&&(a=(o<3?r(a):o>3?r(e,s,a):r(e,s))||a);o>3&&a&&Object.defineProperty(e,s,a)})([a({triggerEvents:"mousedown"})],h.prototype,"onClickOutside",null),h.style=":host{display:block}gux-button-slot button .gux-target-display{display:flex;flex-direction:row;gap:4px;align-items:center;justify-content:center}gux-button-slot button.gux-is-pressed{color:var(--gse-ui-button-ghost-active-foregroundColor);background-color:var(--gse-ui-button-ghost-active-backgroundColor)}.gux-list-container{inline-size:214px;margin:0;overflow-y:auto;background:var(--gse-ui-menu-backgroundColor);border-color:var(--gse-ui-menu-border-color);border-style:var(--gse-ui-menu-border-style);border-width:var(--gse-ui-menu-border-width);border-radius:var(--gse-ui-menu-borderRadius);box-shadow:var(--gse-ui-menu-boxShadow)}";export{h as gux_rich_text_editor_action_rich_style}
1
+ import{r as t,f as e,h as s,g as i}from"./p-ffb7c9dc.js";import{t as r}from"./p-5d9df6a7.js";import{h as o}from"./p-b2e29026.js";import{O as a}from"./p-da087c59.js";import{b as n}from"./p-cf0e7d3b.js";import{b as l}from"./p-cfeaf436.js";import{t as u}from"./p-f01d2320.js";import"./p-43af726d.js";import"./p-4202e9f2.js";const h=class{constructor(e){t(this,e),this.value=void 0,this.expanded=!1,this.disabled=!1}onClickOutside(){this.expanded=!1}watchValue(t){this.validateValue(t,this.listElement)}watchDisabled(t){t&&(this.expanded=!1)}onInternallistitemsupdated(t){t.stopPropagation(),e(this.root)}handleKeydown(t){const e=t.composedPath().includes(this.actionButton),s=t.composedPath().includes(this.listElement);switch(t.key){case"Escape":s&&(t.preventDefault(),this.expanded=!1,this.actionButton.focus());break;case"ArrowDown":case"Enter":e&&!this.expanded&&(t.preventDefault(),this.expanded=!0,this.focusFirstListItem());break;case"Tab":this.expanded=!1;break;case"ArrowUp":e&&!this.expanded&&(t.preventDefault(),this.expanded=!0,this.focusLastListItem())}}handleKeyup(t){" "===t.key&&t.composedPath().includes(this.actionButton)&&(t.preventDefault(),this.expanded=!0,this.focusFirstListItem())}focusFirstListItem(){n((()=>{this.listElement.guxFocusFirstItem()}))}focusLastListItem(){n((()=>{this.listElement.guxFocusLastItem()}))}async componentWillLoad(){r(this.root),this.i18n=await l(this.root,u)}componentWillRender(){(null==this?void 0:this.listElement)&&this.validateValue(this.value,this.listElement)}validateValue(t,e){void 0!==t?this.getListItemElementByValue(t)&&(e.value=t):e.value=t}get listItemElements(){const t=this.listElement.querySelector("slot");if(t)return Array.from(t.assignedElements())}getListItemElementByValue(t){return this.listItemElements.find((e=>e.value===t))}renderTargetDisplay(){if(null==this?void 0:this.listElement){const t=this.getListItemElementByValue(this.value);if(t)return s("span",null,this.renderListItem(t))}}renderMenu(){return s("div",{class:"gux-target-display"},this.renderTargetDisplay(),s("gux-icon",{"icon-name":this.expanded?"custom/chevron-up-small-regular":"custom/chevron-down-small-regular","screenreader-text":this.i18n("richStyleDropdown")}))}renderListItem(t){return s("gux-truncate",{"max-lines":1},t.textContent)}renderTooltip(){if(!this.disabled&&!this.expanded)return s("gux-tooltip-beta",null,s("div",{slot:"content"},this.i18n("richStyle")))}onActionButtonClick(){this.expanded=!this.expanded,this.expanded&&this.focusFirstListItem()}updateValue(t){this.value!==t&&(this.value=t)}onListClick(t){const e=t.target.closest("gux-rich-style-list-item");e&&(this.expanded=!1,this.updateValue(e.value),this.actionButton.focus())}renderPopup(){return s("div",{class:"gux-list-container",slot:"popup"},s("gux-rich-text-editor-list",{ref:t=>this.listElement=t,onClick:t=>this.onListClick(t)},s("slot",null)))}renderTarget(){return s("gux-button-slot",{accent:"ghost",slot:"target","icon-only":!0},s("button",{type:"button",ref:t=>this.actionButton=t,class:{"gux-is-pressed":this.expanded},onClick:()=>this.onActionButtonClick(),disabled:this.disabled||o(this.root),"aria-haspopup":"true","aria-expanded":this.expanded.toString()},this.renderMenu()),this.renderTooltip())}render(){return s("gux-popup",{key:"a0ab8d22aeefe6381bc2aa164aa88719f83ae884",expanded:this.expanded,exceedTargetWidth:!0,placement:"bottom-start"},this.renderTarget(),this.renderPopup())}static get delegatesFocus(){return!0}get root(){return i(this)}static get watchers(){return{value:["watchValue"],disabled:["watchDisabled"]}}};(function(t,e,s,i){var r,o=arguments.length,a=o<3?e:null===i?i=Object.getOwnPropertyDescriptor(e,s):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(t,e,s,i);else for(var n=t.length-1;n>=0;n--)(r=t[n])&&(a=(o<3?r(a):o>3?r(e,s,a):r(e,s))||a);o>3&&a&&Object.defineProperty(e,s,a)})([a({triggerEvents:"mousedown"})],h.prototype,"onClickOutside",null),h.style=":host{display:block}gux-button-slot button .gux-target-display{display:flex;flex-direction:row;gap:4px;align-items:center;justify-content:center}gux-button-slot button.gux-is-pressed{color:var(--gse-ui-button-ghost-active-foregroundColor);background-color:var(--gse-ui-button-ghost-active-backgroundColor)}.gux-list-container{inline-size:214px;margin:0;overflow-y:auto;background:var(--gse-ui-menu-backgroundColor);border-color:var(--gse-ui-menu-border-color);border-style:var(--gse-ui-menu-border-style);border-width:var(--gse-ui-menu-border-width);border-radius:var(--gse-ui-menu-borderRadius);box-shadow:var(--gse-ui-menu-boxShadow)}";export{h as gux_rich_text_editor_action_rich_style}
@@ -1 +1 @@
1
- import{r as t,h as i,g as s}from"./p-ffb7c9dc.js";import{b as o}from"./p-cfeaf436.js";import{f as e,g as r,t as n}from"./p-bd48b8c8.js";import{t as a}from"./p-db306845.js";import{s as h}from"./p-2c25e2f2.js";import"./p-4202e9f2.js";const d=class{constructor(i){t(this,i),this.value=void 0,this.workspaceDefault=void 0,this.localDefault=void 0,this.customDefault=void 0,this.customDefaultLabel=void 0,this.hasError=!1,this.disabled=!1,this.required=!1,this.searchString="",this.timeZoneOptionElements=void 0,this.timeZoneList=void 0,this.filteredZoneList=void 0}on(t){this.searchString=t.detail,this.filteredZoneList=this.filterTimeZoneList(this.timeZoneList),this.timeZoneOptionElements=this.renderTimeZones(this.filteredZoneList)}async componentWillLoad(){a(this.root),this.i18n=await o(this.root,n),this.timeZoneList=this.getTimeZoneOptionsList(),this.filteredZoneList=this.timeZoneList,this.timeZoneOptionElements=this.renderTimeZones(this.filteredZoneList)}componentDidLoad(){var t;(null===(t=this.root)||void 0===t?void 0:t.shadowRoot.querySelector("gux-dropdown")).addEventListener("change",(t=>{const i=t.target;this.value=null==i?void 0:i.value,h(this.root,"change")}))}filterTimeZoneList(t){const i=this.searchString;return t.filter((t=>this.getFormattedTimeZoneOption(t).toLowerCase().includes(i.toLowerCase())))}getTimeZoneOption(t){const i=this.i18n(t.name),s=t.countryName?this.i18n(t.countryName):void 0;if(!i)return;const o=e(t.currentTimeOffsetInMinutes),r=`${i}`,n=` (${this.i18n("UTC")}${o})`,a=`${n}`,h=r.replace(/_/g," "),d=`${s}`,l=r.startsWith("Etc/GMT")?2:1;return{value:t.name,localizedGroupName:i,formattedOffset:o,displayTextNameFormatted:h,displayTextOffset:n,baseDisplayOffsetText:a,countryName:d,defaultZone:"",priority:l}}getFormattedTimeZoneOption(t){return t.displayTextNameFormatted.startsWith("Etc/GMT")?t.displayTextNameFormatted.concat(t.baseDisplayOffsetText):t.displayTextNameFormatted.split("/").pop().concat(", ",t.countryName,t.baseDisplayOffsetText)}getTimeZoneOptionsList(){const t=r(),i=[];return t.forEach((t=>{const s=this.getTimeZoneOption(t);s&&i.push(s)})),i.sort(((t,i)=>{var s;return t.priority-i.priority||(null===(s=t.displayTextNameFormatted)||void 0===s?void 0:s.localeCompare(i.displayTextNameFormatted))}))}getDefaultZones(){return[this.workspaceDefault,this.localDefault,this.customDefault].filter((t=>!!t))}getDefaultZoneList(){const t=this.getDefaultZones(),i=this.timeZoneList.reduce(((i,s)=>t.includes(s.value)?i.concat([Object.assign({},s)]):i),[]);return i.forEach((t=>{this.workspaceDefault===this.localDefault?t.defaultZone=`${this.i18n("localAndWorkspaceDefault")}`:t.value===this.workspaceDefault?t.defaultZone=`${this.i18n("workspaceDefault")}`:t.value===this.localDefault&&(t.defaultZone=`${this.i18n("localDefault")}`),t.value===this.customDefault&&(t.defaultZone=`(${this.customDefaultLabel})`)})),i}renderTimeZones(t){return t.map((t=>i("gux-option",{class:{"gux-has-defaults":""!==t.defaultZone},value:t.value},i("div",{class:"gux-option-wrapper"},i("div",null,this.getFormattedTimeZoneOption(t)),i("span",{class:"gux-default-zone"},t.defaultZone)))))}renderDefaultsList(){const t=this.renderTimeZones(this.getDefaultZoneList());if(t.length)return i("gux-option-group-beta",{label:this.i18n("default")},t)}renderAllTimeZoneOptionsList(){return i("gux-option-group-beta",{label:this.i18n("all")},this.timeZoneOptionElements)}render(){return i("gux-dropdown",{key:"cb14436dd2958bb6d9c1942103cfb8f80ffffd4d",class:{"has-defaults":!!this.workspaceDefault||!!this.localDefault||!!this.customDefault},"filter-type":"custom",placeholder:this.i18n("selectZone"),value:this.value,hasError:this.hasError,disabled:this.disabled},i("gux-listbox",{key:"c3d35afbd7043cd196ea1f11915e4f9510db2148","aria-label":this.i18n("timeZones")},this.renderDefaultsList(),this.renderAllTimeZoneOptionsList()))}get root(){return s(this)}};d.style="gux-dropdown .zone-header{padding-block:8px 4px;padding-inline:12px;color:#6b7585;text-transform:uppercase}gux-dropdown gux-option{padding:var(--gse-ui-menu-option-padding)}gux-dropdown gux-option.gux-has-defaults{block-size:auto}gux-dropdown gux-option .gux-option-wrapper{display:flex;flex-direction:column}gux-dropdown gux-option .gux-default-zone{color:#626e84}";export{d as gux_time_zone_picker_beta}
1
+ import{r as t,h as i,g as s}from"./p-ffb7c9dc.js";import{b as o}from"./p-cfeaf436.js";import{f as e,g as r,t as n}from"./p-bd48b8c8.js";import{t as a}from"./p-5d9df6a7.js";import{s as d}from"./p-2c25e2f2.js";import"./p-4202e9f2.js";const h=class{constructor(i){t(this,i),this.value=void 0,this.workspaceDefault=void 0,this.localDefault=void 0,this.customDefault=void 0,this.customDefaultLabel=void 0,this.hasError=!1,this.disabled=!1,this.required=!1,this.searchString="",this.timeZoneOptionElements=void 0,this.timeZoneList=void 0,this.filteredZoneList=void 0}on(t){this.searchString=t.detail,this.filteredZoneList=this.filterTimeZoneList(this.timeZoneList),this.timeZoneOptionElements=this.renderTimeZones(this.filteredZoneList)}async componentWillLoad(){a(this.root),this.i18n=await o(this.root,n),this.timeZoneList=this.getTimeZoneOptionsList(),this.filteredZoneList=this.timeZoneList,this.timeZoneOptionElements=this.renderTimeZones(this.filteredZoneList)}componentDidLoad(){var t;(null===(t=this.root)||void 0===t?void 0:t.shadowRoot.querySelector("gux-dropdown")).addEventListener("change",(t=>{const i=t.target;this.value=null==i?void 0:i.value,d(this.root,"change")}))}filterTimeZoneList(t){const i=this.searchString;return t.filter((t=>this.getFormattedTimeZoneOption(t).toLowerCase().includes(i.toLowerCase())))}getTimeZoneOption(t){const i=this.i18n(t.name),s=t.countryName?this.i18n(t.countryName):void 0;if(!i)return;const o=e(t.currentTimeOffsetInMinutes),r=`${i}`,n=` (${this.i18n("UTC")}${o})`,a=`${n}`,d=r.replace(/_/g," "),h=`${s}`,l=r.startsWith("Etc/GMT")?2:1;return{value:t.name,localizedGroupName:i,formattedOffset:o,displayTextNameFormatted:d,displayTextOffset:n,baseDisplayOffsetText:a,countryName:h,defaultZone:"",priority:l}}getFormattedTimeZoneOption(t){return t.displayTextNameFormatted.startsWith("Etc/GMT")?t.displayTextNameFormatted.concat(t.baseDisplayOffsetText):t.displayTextNameFormatted.split("/").pop().concat(", ",t.countryName,t.baseDisplayOffsetText)}getTimeZoneOptionsList(){const t=r(),i=[];return t.forEach((t=>{const s=this.getTimeZoneOption(t);s&&i.push(s)})),i.sort(((t,i)=>{var s;return t.priority-i.priority||(null===(s=t.displayTextNameFormatted)||void 0===s?void 0:s.localeCompare(i.displayTextNameFormatted))}))}getDefaultZones(){return[this.workspaceDefault,this.localDefault,this.customDefault].filter((t=>!!t))}getDefaultZoneList(){const t=this.getDefaultZones(),i=this.timeZoneList.reduce(((i,s)=>t.includes(s.value)?i.concat([Object.assign({},s)]):i),[]);return i.forEach((t=>{this.workspaceDefault===this.localDefault?t.defaultZone=`${this.i18n("localAndWorkspaceDefault")}`:t.value===this.workspaceDefault?t.defaultZone=`${this.i18n("workspaceDefault")}`:t.value===this.localDefault&&(t.defaultZone=`${this.i18n("localDefault")}`),t.value===this.customDefault&&(t.defaultZone=`(${this.customDefaultLabel})`)})),i}renderTimeZones(t){return t.map((t=>i("gux-option",{class:{"gux-has-defaults":""!==t.defaultZone},value:t.value},i("div",{class:"gux-option-wrapper"},i("div",null,this.getFormattedTimeZoneOption(t)),i("span",{class:"gux-default-zone"},t.defaultZone)))))}renderDefaultsList(){const t=this.renderTimeZones(this.getDefaultZoneList());if(t.length)return i("gux-option-group-beta",{label:this.i18n("default")},t)}renderAllTimeZoneOptionsList(){return i("gux-option-group-beta",{label:this.i18n("all")},this.timeZoneOptionElements)}render(){return i("gux-dropdown",{key:"cb14436dd2958bb6d9c1942103cfb8f80ffffd4d",class:{"has-defaults":!!this.workspaceDefault||!!this.localDefault||!!this.customDefault},"filter-type":"custom",placeholder:this.i18n("selectZone"),value:this.value,hasError:this.hasError,disabled:this.disabled},i("gux-listbox",{key:"c3d35afbd7043cd196ea1f11915e4f9510db2148","aria-label":this.i18n("timeZones")},this.renderDefaultsList(),this.renderAllTimeZoneOptionsList()))}get root(){return s(this)}};h.style="gux-dropdown .zone-header{padding-block:8px 4px;padding-inline:12px;color:#6b7585;text-transform:uppercase}gux-dropdown gux-option{padding:var(--gse-ui-menu-option-padding)}gux-dropdown gux-option.gux-has-defaults{block-size:auto}gux-dropdown gux-option .gux-option-wrapper{display:flex;flex-direction:column}gux-dropdown gux-option .gux-default-zone{color:#626e84}";export{h as gux_time_zone_picker_beta}
@@ -0,0 +1 @@
1
+ import{r as e,h as o,g as t}from"./p-ffb7c9dc.js";import{O as i}from"./p-166634e1.js";import{h as r}from"./p-6d8b4027.js";import{t as l}from"./p-5d9df6a7.js";import{a as s,G as a}from"./p-e556534e.js";import{G as f,a as n}from"./p-727bfafa.js";import{a as h,g as d,v as p}from"./p-4aaf349e.js";import{p as u}from"./p-a11d5d42.js";import{o as c}from"./p-6b12dd16.js";import"./p-0934300e.js";import"./p-8eaf8caf.js";import"./p-2c25e2f2.js";const m=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,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)}componentWillLoad(){this.setInput(),this.setLabel(),this.hasError=r(this.root,"error"),this.hasHelp=r(this.root,"help"),this.labelInfo=this.root.querySelector("[slot=label-info]"),l(this.root,{variant:this.variant})}disconnectedCallback(){this.requiredObserver&&this.requiredObserver.disconnect()}setLabel(){this.label=this.root.querySelector('label[slot="label"]'),this.computedLabelPosition=h(this.label,this.labelPosition)}setInput(){this.input=d(this.root,'input[type="file"][slot="input"]'),u(this.input),this.required=this.input.required,this.requiredObserver=c(this.input,(e=>{this.required=e})),p(this.root,this.input)}get variant(){return`fileInput-${this.labelPosition?this.labelPosition.toLowerCase():"none"}`}render(){return o(n,{key:"b4979c91b509011952b95cef5d259857cf76e6c1",labelPosition:this.computedLabelPosition},o(f,{key:"5f48c85f8e8605b9aae03d21893cdb08860d12e6",position:this.computedLabelPosition,required:this.required},o("slot",{key:"616f0bc4eecdd2c811917508aa4b5aa088a5d391",name:"label",onSlotchange:()=>this.setLabel()}),o("gux-form-field-label-indicator",{key:"7f7a137786883f86f74e214438a21f961d375c25",variant:this.indicatorMark,required:this.required}),o("slot",{key:"89590dc1113c88aeb0de99bd91935b48576b4853",name:"label-info"})),o("div",{key:"5fa096f225b34670fc3d9c6b57338e5dc5c13590",class:"gux-input-and-error-container"},o("slot",{key:"26c82efe9f980b18c11d9408e55cc2e564867028",name:"input",onSlotchange:()=>this.setInput()}),o(s,{key:"7a2a52d8c23fcb5882c51df48fea669e70d6a2b6",show:this.hasError},o("slot",{key:"e3895126f0568980f1be45a852913f20f6237cbf",name:"error"})),o(a,{key:"0173b8bb2db7ecc54454c1cb496f29c5d091a5c7",show:!this.hasError&&this.hasHelp},o("slot",{key:"40b1d3fb225a2e41a41b7572d510cc6a4c8f53ab",name:"help"}))))}get root(){return t(this)}};(function(e,o,t,i){var r,l=arguments.length,s=l<3?o:null===i?i=Object.getOwnPropertyDescriptor(o,t):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(e,o,t,i);else for(var a=e.length-1;a>=0;a--)(r=e[a])&&(s=(l<3?r(s):l>3?r(o,t,s):r(o,t))||s);l>3&&s&&Object.defineProperty(o,t,s)})([i({childList:!0,subtree:!0})],m.prototype,"onMutation",null),m.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;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{m as gux_form_field_file}
@@ -1 +1 @@
1
- import{r as e,h as i,g as a}from"./p-ffb7c9dc.js";import{t}from"./p-db306845.js";const s=class{constructor(i){e(this,i),this.level=1,this.iconName=void 0}componentWillLoad(){t(this.root),this.headingTag=`h${this.level}`}render(){return i(this.headingTag,{key:"ce6bbaff86615d00a48661bb23b1783b5e019ddc"},this.iconName&&i("gux-icon",{key:"f7af9e1575bc822344ac094bef1d5a10fd0ddfa7",decorative:!0,size:"medium","icon-name":this.iconName}),i("gux-truncate",{key:"fa067c9326ec149f51592673e14688a78d91d0d1"},i("slot",{key:"b44e3a118822173be502213d82b6a95365917b41"})))}get root(){return a(this)}};s.style=":host{display:block}h1,h2,h3,h4,h5,h6{display:flex;flex:0 0 auto;gap:var(--gse-ui-sidePanel-header-iconGap);align-items:center;inline-size:100%;padding:0;margin:0;font-family:var(--gse-ui-sidePanel-heading-text-fontFamily);font-size:var(--gse-ui-sidePanel-heading-text-fontSize);font-weight:var(--gse-ui-sidePanel-heading-text-fontWeight);line-height:var(--gse-ui-sidePanel-heading-text-lineHeight);color:var(--gse-ui-sidePanel-headerColor)}";export{s as gux_side_panel_heading}
1
+ import{r as e,h as i,g as a}from"./p-ffb7c9dc.js";import{t}from"./p-5d9df6a7.js";const s=class{constructor(i){e(this,i),this.level=1,this.iconName=void 0}componentWillLoad(){t(this.root),this.headingTag=`h${this.level}`}render(){return i(this.headingTag,{key:"ce6bbaff86615d00a48661bb23b1783b5e019ddc"},this.iconName&&i("gux-icon",{key:"f7af9e1575bc822344ac094bef1d5a10fd0ddfa7",decorative:!0,size:"medium","icon-name":this.iconName}),i("gux-truncate",{key:"fa067c9326ec149f51592673e14688a78d91d0d1"},i("slot",{key:"b44e3a118822173be502213d82b6a95365917b41"})))}get root(){return a(this)}};s.style=":host{display:block}h1,h2,h3,h4,h5,h6{display:flex;flex:0 0 auto;gap:var(--gse-ui-sidePanel-header-iconGap);align-items:center;inline-size:100%;padding:0;margin:0;font-family:var(--gse-ui-sidePanel-heading-text-fontFamily);font-size:var(--gse-ui-sidePanel-heading-text-fontSize);font-weight:var(--gse-ui-sidePanel-heading-text-fontWeight);line-height:var(--gse-ui-sidePanel-heading-text-lineHeight);color:var(--gse-ui-sidePanel-headerColor)}";export{s as gux_side_panel_heading}
@@ -1 +1 @@
1
- import{r as t,h as o,H as e,g as n}from"./p-ffb7c9dc.js";import{t as r}from"./p-db306845.js";import{l as a}from"./p-8eaf8caf.js";const i=class{constructor(o){t(this,o),this.accent="secondary",this.iconOnly=void 0}validateSlotContent(){let t=this.root.children[0],o=t.tagName;if("SLOT"===o&&(t=t.assignedNodes()[0],o=t.tagName),"BUTTON"!==o){if("INPUT"===o){const o=t.getAttribute("type");if("button"===o||"submit"===o)return}a(this.root,'You must slot a button, input[type="button"] or input[type="submit"] element.')}}componentWillLoad(){r(this.root),this.validateSlotContent()}render(){return o(e,{key:"9a891811762f4fa8c9019a89f65c6ee5e4987dd0",accent:this.accent,"icon-only":this.iconOnly},o("slot",{key:"3a1aeaf096df87239ff780f96d5b73cbedcd687c"}))}get root(){return n(this)}};i.style=":host{display:inline-block;pointer-events:none}::slotted(input[type=button]),::slotted(input[type=submit]),::slotted(button){font-family:var(--gse-ui-button-text-fontFamily);font-size:var(--gse-ui-button-text-fontSize);font-weight:var(--gse-ui-button-text-fontWeight);line-height:var(--gse-ui-button-text-lineHeight);inline-size:100%;min-inline-size:var(--gse-ui-button-iconOnly-width);block-size:var(--gse-ui-button-default-height);padding:var(--gse-ui-button-default-padding);overflow:hidden;text-overflow:ellipsis;color:var(--gse-ui-button-secondary-default-foregroundColor);white-space:nowrap;pointer-events:auto;cursor:pointer;background-color:var(--gse-ui-button-secondary-default-backgroundColor);border:none;border-radius:var(--gse-ui-button-borderRadius)}:host([icon-only]) ::slotted(input[type=button]),:host([icon-only]) ::slotted(input[type=submit]),:host([icon-only]) ::slotted(button){padding:var(--gse-ui-button-default-paddingIconOnly)}::slotted(input[type=button][disabled]),::slotted(input[type=submit][disabled]),::slotted(button[disabled]){cursor:default;opacity:var(--gse-ui-button-disabled-opacity)}::slotted(input[type=button]:focus),::slotted(input[type=submit]:focus),::slotted(button:focus){outline:none}::slotted(input[type=button]:focus-visible:enabled),::slotted(input[type=submit]:focus-visible:enabled),::slotted(button:focus-visible:enabled){outline:var(--gse-semantic-focusOutline-md-borderWidth) solid var(--gse-semantic-border-focus);outline-offset:var(--gse-semantic-focusOutline-offset)}::slotted(input[type=button]:hover:enabled),::slotted(input[type=submit]:hover:enabled),::slotted(button:hover:enabled){color:var(--gse-ui-button-secondary-hover-foregroundColor);background-color:var(--gse-ui-button-secondary-hover-backgroundColor)}::slotted(input[type=button]:active:enabled),::slotted(input[type=submit]:active:enabled),::slotted(button:active:enabled){color:var(--gse-ui-button-secondary-active-foregroundColor);background-color:var(--gse-ui-button-secondary-active-backgroundColor)}:host([accent=primary]) ::slotted(input[type=button]),:host([accent=primary]) ::slotted(input[type=submit]),:host([accent=primary]) ::slotted(button){color:var(--gse-ui-button-primary-default-foregroundColor);background-color:var(--gse-ui-button-primary-default-backgroundColor)}:host([accent=primary]) ::slotted(input[type=button]:hover:enabled),:host([accent=primary]) ::slotted(input[type=submit]:hover:enabled),:host([accent=primary]) ::slotted(button:hover:enabled){color:var(--gse-ui-button-primary-hover-foregroundColor);background-color:var(--gse-ui-button-primary-hover-backgroundColor)}:host([accent=primary]) ::slotted(input[type=button]:active:enabled),:host([accent=primary]) ::slotted(input[type=submit]:active:enabled),:host([accent=primary]) ::slotted(button:active:enabled){color:var(--gse-ui-button-primary-active-foregroundColor);background-color:var(--gse-ui-button-primary-active-backgroundColor)}:host([accent=tertiary]) ::slotted(input[type=button]),:host([accent=tertiary]) ::slotted(input[type=submit]),:host([accent=tertiary]) ::slotted(button){color:var(--gse-ui-button-tertiary-default-foregroundColor);background-color:var(--gse-ui-button-tertiary-default-backgroundColor);border-color:var(--gse-ui-button-tertiary-default-border-color);border-style:var(--gse-ui-button-tertiary-default-border-style);border-width:var(--gse-ui-button-tertiary-default-border-width)}:host([accent=tertiary]) ::slotted(input[type=button]:hover:enabled),:host([accent=tertiary]) ::slotted(input[type=submit]:hover:enabled),:host([accent=tertiary]) ::slotted(button:hover:enabled){color:var(--gse-ui-button-tertiary-hover-foregroundColor);background-color:var(--gse-ui-button-tertiary-hover-backgroundColor)}:host([accent=tertiary]) ::slotted(input[type=button]:active:enabled),:host([accent=tertiary]) ::slotted(input[type=submit]:active:enabled),:host([accent=tertiary]) ::slotted(button:active:enabled){color:var(--gse-ui-button-tertiary-active-foregroundColor);background-color:var(--gse-ui-button-tertiary-active-backgroundColor)}:host([accent=ghost]) ::slotted(input[type=button]),:host([accent=ghost]) ::slotted(input[type=submit]),:host([accent=ghost]) ::slotted(button){color:var(--gse-ui-button-ghost-default-foregroundColor);background-color:var(--gse-ui-button-ghost-default-backgroundColor)}:host([accent=ghost]) ::slotted(input[type=button]:hover:enabled),:host([accent=ghost]) ::slotted(input[type=submit]:hover:enabled),:host([accent=ghost]) ::slotted(button:hover:enabled){color:var(--gse-ui-button-ghost-hover-foregroundColor);background-color:var(--gse-ui-button-ghost-hover-backgroundColor)}:host([accent=ghost]) ::slotted(input[type=button]:active:enabled),:host([accent=ghost]) ::slotted(input[type=submit]:active:enabled),:host([accent=ghost]) ::slotted(button:active:enabled){color:var(--gse-ui-button-ghost-active-foregroundColor);background-color:var(--gse-ui-button-ghost-active-backgroundColor)}:host([accent=danger]) ::slotted(input[type=button]),:host([accent=danger]) ::slotted(input[type=submit]),:host([accent=danger]) ::slotted(button){color:var(--gse-ui-button-danger-default-foregroundColor);background-color:var(--gse-ui-button-danger-default-backgroundColor)}:host([accent=danger]) ::slotted(input[type=button]:hover:enabled),:host([accent=danger]) ::slotted(input[type=submit]:hover:enabled),:host([accent=danger]) ::slotted(button:hover:enabled){color:var(--gse-ui-button-danger-hover-foregroundColor);background-color:var(--gse-ui-button-danger-hover-backgroundColor)}:host([accent=danger]) ::slotted(input[type=button]:active:enabled),:host([accent=danger]) ::slotted(input[type=submit]:active:enabled),:host([accent=danger]) ::slotted(button:active:enabled){color:var(--gse-ui-button-danger-active-foregroundColor);background-color:var(--gse-ui-button-danger-active-backgroundColor)}:host([accent=inline]){min-inline-size:initial}:host([accent=inline]) ::slotted(input[type=button]),:host([accent=inline]) ::slotted(input[type=submit]),:host([accent=inline]) ::slotted(button){block-size:initial;padding:0;color:var(--gse-ui-links-default-foregroundColor);background:none;border:none}:host([accent=inline]) ::slotted(input[type=button][disabled]),:host([accent=inline]) ::slotted(input[type=submit][disabled]),:host([accent=inline]) ::slotted(button[disabled]){color:var(--gse-ui-links-disabled-foregroundColor)}:host([accent=inline]) ::slotted(input[type=button]:hover:enabled),:host([accent=inline]) ::slotted(input[type=submit]:hover:enabled),:host([accent=inline]) ::slotted(button:hover:enabled){color:var(--gse-ui-links-hover-foregroundColor);text-decoration:underline;background:none}:host([accent=inline]) ::slotted(input[type=button]:active:enabled),:host([accent=inline]) ::slotted(input[type=submit]:active:enabled),:host([accent=inline]) ::slotted(button:active:enabled){color:var(--gse-ui-links-active-foregroundColor);text-decoration:underline;background:none}";export{i as gux_button_slot}
1
+ import{r as t,h as o,H as e,g as n}from"./p-ffb7c9dc.js";import{t as r}from"./p-5d9df6a7.js";import{l as a}from"./p-8eaf8caf.js";const i=class{constructor(o){t(this,o),this.accent="secondary",this.iconOnly=void 0}validateSlotContent(){let t=this.root.children[0],o=t.tagName;if("SLOT"===o&&(t=t.assignedNodes()[0],o=t.tagName),"BUTTON"!==o){if("INPUT"===o){const o=t.getAttribute("type");if("button"===o||"submit"===o)return}a(this.root,'You must slot a button, input[type="button"] or input[type="submit"] element.')}}componentWillLoad(){r(this.root),this.validateSlotContent()}render(){return o(e,{key:"9a891811762f4fa8c9019a89f65c6ee5e4987dd0",accent:this.accent,"icon-only":this.iconOnly},o("slot",{key:"3a1aeaf096df87239ff780f96d5b73cbedcd687c"}))}get root(){return n(this)}};i.style=":host{display:inline-block;pointer-events:none}::slotted(input[type=button]),::slotted(input[type=submit]),::slotted(button){font-family:var(--gse-ui-button-text-fontFamily);font-size:var(--gse-ui-button-text-fontSize);font-weight:var(--gse-ui-button-text-fontWeight);line-height:var(--gse-ui-button-text-lineHeight);inline-size:100%;min-inline-size:var(--gse-ui-button-iconOnly-width);block-size:var(--gse-ui-button-default-height);padding:var(--gse-ui-button-default-padding);overflow:hidden;text-overflow:ellipsis;color:var(--gse-ui-button-secondary-default-foregroundColor);white-space:nowrap;pointer-events:auto;cursor:pointer;background-color:var(--gse-ui-button-secondary-default-backgroundColor);border:none;border-radius:var(--gse-ui-button-borderRadius)}:host([icon-only]) ::slotted(input[type=button]),:host([icon-only]) ::slotted(input[type=submit]),:host([icon-only]) ::slotted(button){padding:var(--gse-ui-button-default-paddingIconOnly)}::slotted(input[type=button][disabled]),::slotted(input[type=submit][disabled]),::slotted(button[disabled]){cursor:default;opacity:var(--gse-ui-button-disabled-opacity)}::slotted(input[type=button]:focus),::slotted(input[type=submit]:focus),::slotted(button:focus){outline:none}::slotted(input[type=button]:focus-visible:enabled),::slotted(input[type=submit]:focus-visible:enabled),::slotted(button:focus-visible:enabled){outline:var(--gse-semantic-focusOutline-md-borderWidth) solid var(--gse-semantic-border-focus);outline-offset:var(--gse-semantic-focusOutline-offset)}::slotted(input[type=button]:hover:enabled),::slotted(input[type=submit]:hover:enabled),::slotted(button:hover:enabled){color:var(--gse-ui-button-secondary-hover-foregroundColor);background-color:var(--gse-ui-button-secondary-hover-backgroundColor)}::slotted(input[type=button]:active:enabled),::slotted(input[type=submit]:active:enabled),::slotted(button:active:enabled){color:var(--gse-ui-button-secondary-active-foregroundColor);background-color:var(--gse-ui-button-secondary-active-backgroundColor)}:host([accent=primary]) ::slotted(input[type=button]),:host([accent=primary]) ::slotted(input[type=submit]),:host([accent=primary]) ::slotted(button){color:var(--gse-ui-button-primary-default-foregroundColor);background-color:var(--gse-ui-button-primary-default-backgroundColor)}:host([accent=primary]) ::slotted(input[type=button]:hover:enabled),:host([accent=primary]) ::slotted(input[type=submit]:hover:enabled),:host([accent=primary]) ::slotted(button:hover:enabled){color:var(--gse-ui-button-primary-hover-foregroundColor);background-color:var(--gse-ui-button-primary-hover-backgroundColor)}:host([accent=primary]) ::slotted(input[type=button]:active:enabled),:host([accent=primary]) ::slotted(input[type=submit]:active:enabled),:host([accent=primary]) ::slotted(button:active:enabled){color:var(--gse-ui-button-primary-active-foregroundColor);background-color:var(--gse-ui-button-primary-active-backgroundColor)}:host([accent=tertiary]) ::slotted(input[type=button]),:host([accent=tertiary]) ::slotted(input[type=submit]),:host([accent=tertiary]) ::slotted(button){color:var(--gse-ui-button-tertiary-default-foregroundColor);background-color:var(--gse-ui-button-tertiary-default-backgroundColor);border-color:var(--gse-ui-button-tertiary-default-border-color);border-style:var(--gse-ui-button-tertiary-default-border-style);border-width:var(--gse-ui-button-tertiary-default-border-width)}:host([accent=tertiary]) ::slotted(input[type=button]:hover:enabled),:host([accent=tertiary]) ::slotted(input[type=submit]:hover:enabled),:host([accent=tertiary]) ::slotted(button:hover:enabled){color:var(--gse-ui-button-tertiary-hover-foregroundColor);background-color:var(--gse-ui-button-tertiary-hover-backgroundColor)}:host([accent=tertiary]) ::slotted(input[type=button]:active:enabled),:host([accent=tertiary]) ::slotted(input[type=submit]:active:enabled),:host([accent=tertiary]) ::slotted(button:active:enabled){color:var(--gse-ui-button-tertiary-active-foregroundColor);background-color:var(--gse-ui-button-tertiary-active-backgroundColor)}:host([accent=ghost]) ::slotted(input[type=button]),:host([accent=ghost]) ::slotted(input[type=submit]),:host([accent=ghost]) ::slotted(button){color:var(--gse-ui-button-ghost-default-foregroundColor);background-color:var(--gse-ui-button-ghost-default-backgroundColor)}:host([accent=ghost]) ::slotted(input[type=button]:hover:enabled),:host([accent=ghost]) ::slotted(input[type=submit]:hover:enabled),:host([accent=ghost]) ::slotted(button:hover:enabled){color:var(--gse-ui-button-ghost-hover-foregroundColor);background-color:var(--gse-ui-button-ghost-hover-backgroundColor)}:host([accent=ghost]) ::slotted(input[type=button]:active:enabled),:host([accent=ghost]) ::slotted(input[type=submit]:active:enabled),:host([accent=ghost]) ::slotted(button:active:enabled){color:var(--gse-ui-button-ghost-active-foregroundColor);background-color:var(--gse-ui-button-ghost-active-backgroundColor)}:host([accent=danger]) ::slotted(input[type=button]),:host([accent=danger]) ::slotted(input[type=submit]),:host([accent=danger]) ::slotted(button){color:var(--gse-ui-button-danger-default-foregroundColor);background-color:var(--gse-ui-button-danger-default-backgroundColor)}:host([accent=danger]) ::slotted(input[type=button]:hover:enabled),:host([accent=danger]) ::slotted(input[type=submit]:hover:enabled),:host([accent=danger]) ::slotted(button:hover:enabled){color:var(--gse-ui-button-danger-hover-foregroundColor);background-color:var(--gse-ui-button-danger-hover-backgroundColor)}:host([accent=danger]) ::slotted(input[type=button]:active:enabled),:host([accent=danger]) ::slotted(input[type=submit]:active:enabled),:host([accent=danger]) ::slotted(button:active:enabled){color:var(--gse-ui-button-danger-active-foregroundColor);background-color:var(--gse-ui-button-danger-active-backgroundColor)}:host([accent=inline]){min-inline-size:initial}:host([accent=inline]) ::slotted(input[type=button]),:host([accent=inline]) ::slotted(input[type=submit]),:host([accent=inline]) ::slotted(button){block-size:initial;padding:0;color:var(--gse-ui-links-default-foregroundColor);background:none;border:none}:host([accent=inline]) ::slotted(input[type=button][disabled]),:host([accent=inline]) ::slotted(input[type=submit][disabled]),:host([accent=inline]) ::slotted(button[disabled]){color:var(--gse-ui-links-disabled-foregroundColor)}:host([accent=inline]) ::slotted(input[type=button]:hover:enabled),:host([accent=inline]) ::slotted(input[type=submit]:hover:enabled),:host([accent=inline]) ::slotted(button:hover:enabled){color:var(--gse-ui-links-hover-foregroundColor);text-decoration:underline;background:none}:host([accent=inline]) ::slotted(input[type=button]:active:enabled),:host([accent=inline]) ::slotted(input[type=submit]:active:enabled),:host([accent=inline]) ::slotted(button:active:enabled){color:var(--gse-ui-links-active-foregroundColor);text-decoration:underline;background:none}";export{i as gux_button_slot}
@@ -1 +1 @@
1
- import{r as s,c as e,h as i,H as a,g as t}from"./p-ffb7c9dc.js";import{t as o}from"./p-db306845.js";const r=class{constructor(i){s(this,i),this.guxdismiss=e(this,"guxdismiss",7),this.accent="neutral"}componentWillLoad(){o(this.root,{variant:this.accent})}render(){return i(a,{key:"2853a0394e80823ec23cfd235d18ce61fcb23dc9"},i("div",{key:"c8e60b609e9aed4f0a2d4494c7852aa3ec4492f0",class:`gux-icon gux-${this.accent}`},i("slot",{key:"292d2c66f83d5a7fecd35fdffbdb44d54dab2230",name:"icon"})),i("gux-truncate",{key:"534595189892b09407e233758f72adddd6fcf727",class:"gux-message","max-lines":2},i("slot",{key:"5196d360662853f04709aae09dd2ca17a8613893",name:"message"})),i("gux-dismiss-button",{key:"1900232f3d21bea2ab19311f6b05672788ae7736",class:"gux-dismiss",position:"inherit",onClick:this.onDismissClickHandler.bind(this)}))}onDismissClickHandler(s){s.stopPropagation(),this.guxdismiss.emit().defaultPrevented||this.root.remove()}get root(){return t(this)}};r.style=":host{position:relative;display:flex;flex-direction:row;flex-wrap:nowrap;place-content:stretch flex-start;align-items:flex-start;width:286px;margin-bottom:4px;color:#2e394c;background:#f6f7f9;border:1px solid #b4bccb;border-radius:4px;box-shadow:0 2px 4px rgba(32, 41, 55, 0.24)}.gux-icon{flex:0 1 auto;align-self:auto;order:0;padding:8px 12px 8px 16px;margin:2px 0}.gux-icon.gux-alert{color:#ea0b0b}.gux-icon.gux-warning{color:#ffae00}.gux-icon.gux-positive{color:#3c8527}.gux-icon.gux-neutral{color:#203b73}.gux-icon ::slotted(gux-icon){width:16px;height:16px}.gux-message{flex:1 1 auto;align-self:center;order:0;margin:8px 0}.gux-dismiss{margin:4px 0}";export{r as gux_simple_toast_legacy}
1
+ import{r as s,c as e,h as a,H as i,g as t}from"./p-ffb7c9dc.js";import{t as o}from"./p-5d9df6a7.js";const r=class{constructor(a){s(this,a),this.guxdismiss=e(this,"guxdismiss",7),this.accent="neutral"}componentWillLoad(){o(this.root,{variant:this.accent})}render(){return a(i,{key:"2853a0394e80823ec23cfd235d18ce61fcb23dc9"},a("div",{key:"c8e60b609e9aed4f0a2d4494c7852aa3ec4492f0",class:`gux-icon gux-${this.accent}`},a("slot",{key:"292d2c66f83d5a7fecd35fdffbdb44d54dab2230",name:"icon"})),a("gux-truncate",{key:"534595189892b09407e233758f72adddd6fcf727",class:"gux-message","max-lines":2},a("slot",{key:"5196d360662853f04709aae09dd2ca17a8613893",name:"message"})),a("gux-dismiss-button",{key:"1900232f3d21bea2ab19311f6b05672788ae7736",class:"gux-dismiss",position:"inherit",onClick:this.onDismissClickHandler.bind(this)}))}onDismissClickHandler(s){s.stopPropagation(),this.guxdismiss.emit().defaultPrevented||this.root.remove()}get root(){return t(this)}};r.style=":host{position:relative;display:flex;flex-direction:row;flex-wrap:nowrap;place-content:stretch flex-start;align-items:flex-start;width:286px;margin-bottom:4px;color:#2e394c;background:#f6f7f9;border:1px solid #b4bccb;border-radius:4px;box-shadow:0 2px 4px rgba(32, 41, 55, 0.24)}.gux-icon{flex:0 1 auto;align-self:auto;order:0;padding:8px 12px 8px 16px;margin:2px 0}.gux-icon.gux-alert{color:#ea0b0b}.gux-icon.gux-warning{color:#ffae00}.gux-icon.gux-positive{color:#3c8527}.gux-icon.gux-neutral{color:#203b73}.gux-icon ::slotted(gux-icon){width:16px;height:16px}.gux-message{flex:1 1 auto;align-self:center;order:0;margin:8px 0}.gux-dismiss{margin:4px 0}";export{r as gux_simple_toast_legacy}
@@ -1 +1 @@
1
- import{r as e,h as t,g as r}from"./p-ffb7c9dc.js";import{c as a}from"./p-267e2aed.js";import{t as o}from"./p-db306845.js";import{b as s}from"./p-cfeaf436.js";import"./p-4202e9f2.js";const i={actionRefresh:"Refresh",actionDelete:"Delete",actionExport:"Export",actionImport:"Import",actionRevert:"Revert",actionAdd:"Add"},c=class{constructor(t){e(this,t),this.action=void 0,this.accent="secondary",this.iconOnly=!1,this.disabled=!1}handleClick(e){this.disabled&&(e.preventDefault(),e.stopImmediatePropagation())}returnActionLocale(e){return this.i18n(`action${a(e)}`)}returnActionTypeIcon(e){switch(e){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 t("gux-table-toolbar-custom-action",{key:"33be8d51dd2f0bbcebd0371a0e681ac2594e99df","icon-only":this.iconOnly,accent:this.accent,disabled:this.disabled},t("span",{key:"d194547800d92d4eb2c1e6e86393edbddfd95ec9",slot:"text"},this.returnActionLocale(this.action)),t("gux-icon",{key:"c6f0f52671b112ffeceec2c32bf374d815d00e5a",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 e,h as t,g as r}from"./p-ffb7c9dc.js";import{c as a}from"./p-267e2aed.js";import{t as o}from"./p-5d9df6a7.js";import{b as s}from"./p-cfeaf436.js";import"./p-4202e9f2.js";const i={actionRefresh:"Refresh",actionDelete:"Delete",actionExport:"Export",actionImport:"Import",actionRevert:"Revert",actionAdd:"Add"},c=class{constructor(t){e(this,t),this.action=void 0,this.accent="secondary",this.iconOnly=!1,this.disabled=!1}handleClick(e){this.disabled&&(e.preventDefault(),e.stopImmediatePropagation())}returnActionLocale(e){return this.i18n(`action${a(e)}`)}returnActionTypeIcon(e){switch(e){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 t("gux-table-toolbar-custom-action",{key:"33be8d51dd2f0bbcebd0371a0e681ac2594e99df","icon-only":this.iconOnly,accent:this.accent,disabled:this.disabled},t("span",{key:"d194547800d92d4eb2c1e6e86393edbddfd95ec9",slot:"text"},this.returnActionLocale(this.action)),t("gux-icon",{key:"c6f0f52671b112ffeceec2c32bf374d815d00e5a",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}