genesys-spark-components 4.180.2 → 4.182.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 (451) hide show
  1. package/README.md +1 -3
  2. package/dist/cjs/boolean-string-D-xbzBO7.js +7 -0
  3. package/dist/cjs/genesys-webcomponents.cjs.js +1 -1
  4. package/dist/cjs/gux-accordion.cjs.entry.js +1 -1
  5. package/dist/cjs/gux-action-button.cjs.entry.js +1 -1
  6. package/dist/cjs/gux-action-toast-legacy.cjs.entry.js +1 -1
  7. package/dist/cjs/gux-advanced-dropdown-legacy.cjs.entry.js +1 -1
  8. package/dist/cjs/gux-announce-beta.cjs.entry.js +1 -1
  9. package/dist/cjs/gux-avatar-beta.cjs.entry.js +1 -1
  10. package/dist/cjs/gux-avatar-change-photo-beta.cjs.entry.js +1 -1
  11. package/dist/cjs/gux-avatar-group-add-item-beta_3.cjs.entry.js +1 -1
  12. package/dist/cjs/gux-avatar-group-beta.cjs.entry.js +1 -1
  13. package/dist/cjs/gux-avatar-group-item-beta.cjs.entry.js +1 -1
  14. package/dist/cjs/gux-badge.cjs.entry.js +1 -1
  15. package/dist/cjs/gux-blank-state-beta.cjs.entry.js +1 -1
  16. package/dist/cjs/gux-blank-state.cjs.entry.js +1 -1
  17. package/dist/cjs/gux-breadcrumbs.cjs.entry.js +1 -1
  18. package/dist/cjs/gux-button-multi.cjs.entry.js +1 -1
  19. package/dist/cjs/gux-button-slot.cjs.entry.js +1 -1
  20. package/dist/cjs/gux-button_2.cjs.entry.js +1 -1
  21. package/dist/cjs/gux-calendar.cjs.entry.js +1 -1
  22. package/dist/cjs/gux-card.cjs.entry.js +1 -1
  23. package/dist/cjs/gux-cloud-logo-beta.cjs.entry.js +1 -1
  24. package/dist/cjs/gux-cloud-logomark-beta.cjs.entry.js +1 -1
  25. package/dist/cjs/gux-column-manager.cjs.entry.js +1 -1
  26. package/dist/cjs/gux-content-search.cjs.entry.js +1 -1
  27. package/dist/cjs/gux-context-menu.cjs.entry.js +1 -1
  28. package/dist/cjs/gux-copy-to-clipboard.cjs.entry.js +1 -1
  29. package/dist/cjs/gux-date-beta.cjs.entry.js +1 -1
  30. package/dist/cjs/gux-date-time-beta.cjs.entry.js +1 -1
  31. package/dist/cjs/gux-datepicker.cjs.entry.js +1 -1
  32. package/dist/cjs/gux-disclosure-button-legacy.cjs.entry.js +1 -1
  33. package/dist/cjs/gux-dismiss-button.cjs.entry.js +1 -1
  34. package/dist/cjs/gux-dropdown-multi.cjs.entry.js +1 -1
  35. package/dist/cjs/gux-dropdown_3.cjs.entry.js +8 -5
  36. package/dist/cjs/gux-file-list-item.cjs.entry.js +1 -1
  37. package/dist/cjs/gux-flag-icon-beta.cjs.entry.js +1 -1
  38. package/dist/cjs/gux-flyout-menu.cjs.entry.js +1 -1
  39. package/dist/cjs/gux-form-field-checkbox-group-beta.cjs.entry.js +1 -1
  40. package/dist/cjs/gux-form-field-checkbox.cjs.entry.js +1 -1
  41. package/dist/cjs/gux-form-field-color.cjs.entry.js +1 -1
  42. package/dist/cjs/gux-form-field-dropdown.cjs.entry.js +1 -1
  43. package/dist/cjs/gux-form-field-file-beta.cjs.entry.js +1 -1
  44. package/dist/cjs/gux-form-field-file.cjs.entry.js +1 -1
  45. package/dist/cjs/gux-form-field-input-clear-button.cjs.entry.js +1 -1
  46. package/dist/cjs/gux-form-field-label-indicator.cjs.entry.js +1 -1
  47. package/dist/cjs/gux-form-field-number_2.cjs.entry.js +2 -2
  48. package/dist/cjs/gux-form-field-phone.cjs.entry.js +1 -1
  49. package/dist/cjs/gux-form-field-radio-group-beta.cjs.entry.js +1 -1
  50. package/dist/cjs/gux-form-field-radio.cjs.entry.js +1 -1
  51. package/dist/cjs/gux-form-field-range.cjs.entry.js +1 -1
  52. package/dist/cjs/gux-form-field-search.cjs.entry.js +1 -1
  53. package/dist/cjs/gux-form-field-select.cjs.entry.js +1 -1
  54. package/dist/cjs/gux-form-field-text-like.cjs.entry.js +1 -1
  55. package/dist/cjs/gux-form-field-textarea.cjs.entry.js +1 -1
  56. package/dist/cjs/gux-form-field-time-picker.cjs.entry.js +1 -1
  57. package/dist/cjs/gux-form-field-time-zone-picker.cjs.entry.js +1 -1
  58. package/dist/cjs/gux-form-footer.cjs.entry.js +1 -1
  59. package/dist/cjs/gux-icon-tooltip-beta.cjs.entry.js +1 -1
  60. package/dist/cjs/gux-icon.cjs.entry.js +1 -1
  61. package/dist/cjs/gux-illustration-beta.cjs.entry.js +1 -1
  62. package/dist/cjs/gux-inline-alert.cjs.entry.js +1 -1
  63. package/dist/cjs/gux-inline-dropdown-beta.cjs.entry.js +1 -1
  64. package/dist/cjs/gux-label-info-beta.cjs.entry.js +1 -1
  65. package/dist/cjs/gux-link-beta.cjs.entry.js +1 -1
  66. package/dist/cjs/gux-list.cjs.entry.js +1 -1
  67. package/dist/cjs/gux-listbox-multi.cjs.entry.js +1 -1
  68. package/dist/cjs/gux-loading-message.cjs.entry.js +1 -1
  69. package/dist/cjs/gux-logo-beta.cjs.entry.js +1 -1
  70. package/dist/cjs/gux-logomark-beta.cjs.entry.js +1 -1
  71. package/dist/cjs/gux-modal-legacy.cjs.entry.js +1 -1
  72. package/dist/cjs/gux-modal-side-panel-beta.cjs.entry.js +1 -1
  73. package/dist/cjs/gux-modal.cjs.entry.js +1 -1
  74. package/dist/cjs/gux-month-picker-beta.cjs.entry.js +1 -1
  75. package/dist/cjs/gux-notification-toast-legacy.cjs.entry.js +1 -1
  76. package/dist/cjs/gux-option-icon.cjs.entry.js +5 -4
  77. package/dist/cjs/gux-option-multi.cjs.entry.js +7 -5
  78. package/dist/cjs/gux-option-status-beta.cjs.entry.js +1 -1
  79. package/dist/cjs/gux-page-loading-spinner.cjs.entry.js +1 -1
  80. package/dist/cjs/gux-pagination-cursor.cjs.entry.js +1 -1
  81. package/dist/cjs/gux-pagination-legacy.cjs.entry.js +1 -1
  82. package/dist/cjs/gux-pagination.cjs.entry.js +1 -1
  83. package/dist/cjs/gux-phone-input-beta.cjs.entry.js +1 -1
  84. package/dist/cjs/gux-popover-beta.cjs.entry.js +1 -1
  85. package/dist/cjs/gux-popover-list-beta.cjs.entry.js +1 -1
  86. package/dist/cjs/gux-popover-list.cjs.entry.js +1 -1
  87. package/dist/cjs/gux-prompt-input-beta.cjs.entry.js +1 -1
  88. package/dist/cjs/gux-radial-loading.cjs.entry.js +1 -1
  89. package/dist/cjs/gux-radial-progress.cjs.entry.js +1 -1
  90. package/dist/cjs/gux-rating.cjs.entry.js +1 -1
  91. package/dist/cjs/gux-rich-highlight-list-item.cjs.entry.js +1 -1
  92. package/dist/cjs/gux-rich-style-list-item_3.cjs.entry.js +1 -1
  93. package/dist/cjs/gux-rich-text-editor-action-link.cjs.entry.js +1 -1
  94. package/dist/cjs/gux-rich-text-editor-action-rich-style.cjs.entry.js +1 -1
  95. package/dist/cjs/gux-rich-text-editor-action-text-highlight.cjs.entry.js +1 -1
  96. package/dist/cjs/gux-rich-text-editor-action.cjs.entry.js +1 -1
  97. package/dist/cjs/gux-rich-text-editor-beta.cjs.entry.js +1 -1
  98. package/dist/cjs/gux-rich-text-editor-list.cjs.entry.js +1 -1
  99. package/dist/cjs/gux-screen-reader-beta.cjs.entry.js +1 -1
  100. package/dist/cjs/gux-segmented-control-beta.cjs.entry.js +1 -1
  101. package/dist/cjs/gux-select-all.cjs.entry.js +9 -4
  102. package/dist/cjs/gux-selector-card-beta.cjs.entry.js +1 -1
  103. package/dist/cjs/gux-selector-cards-beta.cjs.entry.js +1 -1
  104. package/dist/cjs/gux-side-panel-beta.cjs.entry.js +1 -1
  105. package/dist/cjs/gux-side-panel-header.cjs.entry.js +1 -1
  106. package/dist/cjs/gux-side-panel-heading.cjs.entry.js +1 -1
  107. package/dist/cjs/gux-simple-toast-legacy.cjs.entry.js +1 -1
  108. package/dist/cjs/gux-skip-navigation-list.cjs.entry.js +1 -1
  109. package/dist/cjs/gux-sort-control.cjs.entry.js +1 -1
  110. package/dist/cjs/gux-status-indicator-beta.cjs.entry.js +1 -1
  111. package/dist/cjs/gux-step-title.cjs.entry.js +1 -1
  112. package/dist/cjs/gux-step.cjs.entry.js +1 -1
  113. package/dist/cjs/gux-stepper-beta.cjs.entry.js +1 -1
  114. package/dist/cjs/gux-switch-legacy.cjs.entry.js +1 -1
  115. package/dist/cjs/gux-table-toolbar-action.cjs.entry.js +1 -1
  116. package/dist/cjs/gux-table-toolbar-custom-action.cjs.entry.js +1 -1
  117. package/dist/cjs/gux-table-toolbar-menu-button.cjs.entry.js +1 -1
  118. package/dist/cjs/gux-table-toolbar.cjs.entry.js +1 -1
  119. package/dist/cjs/gux-table.cjs.entry.js +1 -1
  120. package/dist/cjs/gux-tabs-advanced.cjs.entry.js +1 -1
  121. package/dist/cjs/gux-tabs.cjs.entry.js +1 -1
  122. package/dist/cjs/gux-tag.cjs.entry.js +1 -1
  123. package/dist/cjs/gux-text-highlight.cjs.entry.js +1 -1
  124. package/dist/cjs/gux-time-beta.cjs.entry.js +1 -1
  125. package/dist/cjs/gux-time-picker.cjs.entry.js +1 -1
  126. package/dist/cjs/gux-time-zone-beta.cjs.entry.js +1 -1
  127. package/dist/cjs/gux-time-zone-picker-beta.cjs.entry.js +1 -1
  128. package/dist/cjs/gux-toast.cjs.entry.js +1 -1
  129. package/dist/cjs/gux-toggle.cjs.entry.js +1 -1
  130. package/dist/cjs/gux-tooltip-base-beta_2.cjs.entry.js +1 -1
  131. package/dist/cjs/gux-tooltip-pointer-beta.cjs.entry.js +1 -1
  132. package/dist/cjs/gux-tooltip_2.cjs.entry.js +6 -5
  133. package/dist/cjs/loader.cjs.js +1 -1
  134. package/dist/cjs/{usage-D0HYSgd-.js → usage-ObFGxeV1.js} +1 -1
  135. package/dist/collection/components/beta/gux-icon-tooltip/gux-icon-tooltip.js +1 -1
  136. package/dist/collection/components/beta/gux-option-status/gux-option-status.css +3 -1
  137. package/dist/collection/components/stable/gux-form-field/components/gux-form-field-number/gux-form-field-number.css +3 -0
  138. package/dist/collection/components/stable/gux-icon/gux-icon.js +1 -1
  139. package/dist/collection/components/stable/gux-icon/icons/brand/8x8.svg +3 -3
  140. package/dist/collection/components/stable/gux-icon/icons/brand/apple-business-messenger.svg +5 -5
  141. package/dist/collection/components/stable/gux-icon/icons/brand/google.svg +13 -6
  142. package/dist/collection/components/stable/gux-icon/icons/brand/instagram.svg +41 -23
  143. package/dist/collection/components/stable/gux-icon/icons/brand/meta.svg +19 -20
  144. package/dist/collection/components/stable/gux-icon/icons/brand/teams.svg +17 -17
  145. package/dist/collection/components/stable/gux-icon/icons/brand/zoom.svg +4 -4
  146. package/dist/collection/components/stable/gux-icon/icons/fa/arrow-up-arrow-down-regular.svg +1 -0
  147. package/dist/collection/components/stable/gux-listbox/options/gux-option/gux-option.css +3 -1
  148. package/dist/collection/components/stable/gux-listbox/options/gux-option/gux-option.js +6 -4
  149. package/dist/collection/components/stable/gux-listbox/options/gux-option-icon/gux-option-icon.css +3 -1
  150. package/dist/collection/components/stable/gux-listbox/options/gux-option-icon/gux-option-icon.js +4 -3
  151. package/dist/collection/components/stable/gux-listbox/tests/gux-listbox.common.js +81 -0
  152. package/dist/collection/components/stable/gux-listbox-multi/gux-option-multi/gux-option-multi.css +1 -0
  153. package/dist/collection/components/stable/gux-listbox-multi/gux-option-multi/gux-option-multi.js +6 -4
  154. package/dist/collection/components/stable/gux-listbox-multi/gux-select-all/gux-select-all.js +9 -4
  155. package/dist/collection/components/stable/gux-truncate/gux-truncate.js +31 -4
  156. package/dist/collection/components/stable/gux-truncate/tests/gux-truncate.common.js +4 -0
  157. package/dist/collection/utils/dom/boolean-string.js +3 -0
  158. package/dist/esm/boolean-string-CK42c8Uy.js +5 -0
  159. package/dist/esm/genesys-webcomponents.js +1 -1
  160. package/dist/esm/gux-accordion.entry.js +1 -1
  161. package/dist/esm/gux-action-button.entry.js +1 -1
  162. package/dist/esm/gux-action-toast-legacy.entry.js +1 -1
  163. package/dist/esm/gux-advanced-dropdown-legacy.entry.js +1 -1
  164. package/dist/esm/gux-announce-beta.entry.js +1 -1
  165. package/dist/esm/gux-avatar-beta.entry.js +1 -1
  166. package/dist/esm/gux-avatar-change-photo-beta.entry.js +1 -1
  167. package/dist/esm/gux-avatar-group-add-item-beta_3.entry.js +1 -1
  168. package/dist/esm/gux-avatar-group-beta.entry.js +1 -1
  169. package/dist/esm/gux-avatar-group-item-beta.entry.js +1 -1
  170. package/dist/esm/gux-badge.entry.js +1 -1
  171. package/dist/esm/gux-blank-state-beta.entry.js +1 -1
  172. package/dist/esm/gux-blank-state.entry.js +1 -1
  173. package/dist/esm/gux-breadcrumbs.entry.js +1 -1
  174. package/dist/esm/gux-button-multi.entry.js +1 -1
  175. package/dist/esm/gux-button-slot.entry.js +1 -1
  176. package/dist/esm/gux-button_2.entry.js +1 -1
  177. package/dist/esm/gux-calendar.entry.js +1 -1
  178. package/dist/esm/gux-card.entry.js +1 -1
  179. package/dist/esm/gux-cloud-logo-beta.entry.js +1 -1
  180. package/dist/esm/gux-cloud-logomark-beta.entry.js +1 -1
  181. package/dist/esm/gux-column-manager.entry.js +1 -1
  182. package/dist/esm/gux-content-search.entry.js +1 -1
  183. package/dist/esm/gux-context-menu.entry.js +1 -1
  184. package/dist/esm/gux-copy-to-clipboard.entry.js +1 -1
  185. package/dist/esm/gux-date-beta.entry.js +1 -1
  186. package/dist/esm/gux-date-time-beta.entry.js +1 -1
  187. package/dist/esm/gux-datepicker.entry.js +1 -1
  188. package/dist/esm/gux-disclosure-button-legacy.entry.js +1 -1
  189. package/dist/esm/gux-dismiss-button.entry.js +1 -1
  190. package/dist/esm/gux-dropdown-multi.entry.js +1 -1
  191. package/dist/esm/gux-dropdown_3.entry.js +8 -5
  192. package/dist/esm/gux-file-list-item.entry.js +1 -1
  193. package/dist/esm/gux-flag-icon-beta.entry.js +1 -1
  194. package/dist/esm/gux-flyout-menu.entry.js +1 -1
  195. package/dist/esm/gux-form-field-checkbox-group-beta.entry.js +1 -1
  196. package/dist/esm/gux-form-field-checkbox.entry.js +1 -1
  197. package/dist/esm/gux-form-field-color.entry.js +1 -1
  198. package/dist/esm/gux-form-field-dropdown.entry.js +1 -1
  199. package/dist/esm/gux-form-field-file-beta.entry.js +1 -1
  200. package/dist/esm/gux-form-field-file.entry.js +1 -1
  201. package/dist/esm/gux-form-field-input-clear-button.entry.js +1 -1
  202. package/dist/esm/gux-form-field-label-indicator.entry.js +1 -1
  203. package/dist/esm/gux-form-field-number_2.entry.js +2 -2
  204. package/dist/esm/gux-form-field-phone.entry.js +1 -1
  205. package/dist/esm/gux-form-field-radio-group-beta.entry.js +1 -1
  206. package/dist/esm/gux-form-field-radio.entry.js +1 -1
  207. package/dist/esm/gux-form-field-range.entry.js +1 -1
  208. package/dist/esm/gux-form-field-search.entry.js +1 -1
  209. package/dist/esm/gux-form-field-select.entry.js +1 -1
  210. package/dist/esm/gux-form-field-text-like.entry.js +1 -1
  211. package/dist/esm/gux-form-field-textarea.entry.js +1 -1
  212. package/dist/esm/gux-form-field-time-picker.entry.js +1 -1
  213. package/dist/esm/gux-form-field-time-zone-picker.entry.js +1 -1
  214. package/dist/esm/gux-form-footer.entry.js +1 -1
  215. package/dist/esm/gux-icon-tooltip-beta.entry.js +1 -1
  216. package/dist/esm/gux-icon.entry.js +1 -1
  217. package/dist/esm/gux-illustration-beta.entry.js +1 -1
  218. package/dist/esm/gux-inline-alert.entry.js +1 -1
  219. package/dist/esm/gux-inline-dropdown-beta.entry.js +1 -1
  220. package/dist/esm/gux-label-info-beta.entry.js +1 -1
  221. package/dist/esm/gux-link-beta.entry.js +1 -1
  222. package/dist/esm/gux-list.entry.js +1 -1
  223. package/dist/esm/gux-listbox-multi.entry.js +1 -1
  224. package/dist/esm/gux-loading-message.entry.js +1 -1
  225. package/dist/esm/gux-logo-beta.entry.js +1 -1
  226. package/dist/esm/gux-logomark-beta.entry.js +1 -1
  227. package/dist/esm/gux-modal-legacy.entry.js +1 -1
  228. package/dist/esm/gux-modal-side-panel-beta.entry.js +1 -1
  229. package/dist/esm/gux-modal.entry.js +1 -1
  230. package/dist/esm/gux-month-picker-beta.entry.js +1 -1
  231. package/dist/esm/gux-notification-toast-legacy.entry.js +1 -1
  232. package/dist/esm/gux-option-icon.entry.js +5 -4
  233. package/dist/esm/gux-option-multi.entry.js +7 -5
  234. package/dist/esm/gux-option-status-beta.entry.js +1 -1
  235. package/dist/esm/gux-page-loading-spinner.entry.js +1 -1
  236. package/dist/esm/gux-pagination-cursor.entry.js +1 -1
  237. package/dist/esm/gux-pagination-legacy.entry.js +1 -1
  238. package/dist/esm/gux-pagination.entry.js +1 -1
  239. package/dist/esm/gux-phone-input-beta.entry.js +1 -1
  240. package/dist/esm/gux-popover-beta.entry.js +1 -1
  241. package/dist/esm/gux-popover-list-beta.entry.js +1 -1
  242. package/dist/esm/gux-popover-list.entry.js +1 -1
  243. package/dist/esm/gux-prompt-input-beta.entry.js +1 -1
  244. package/dist/esm/gux-radial-loading.entry.js +1 -1
  245. package/dist/esm/gux-radial-progress.entry.js +1 -1
  246. package/dist/esm/gux-rating.entry.js +1 -1
  247. package/dist/esm/gux-rich-highlight-list-item.entry.js +1 -1
  248. package/dist/esm/gux-rich-style-list-item_3.entry.js +1 -1
  249. package/dist/esm/gux-rich-text-editor-action-link.entry.js +1 -1
  250. package/dist/esm/gux-rich-text-editor-action-rich-style.entry.js +1 -1
  251. package/dist/esm/gux-rich-text-editor-action-text-highlight.entry.js +1 -1
  252. package/dist/esm/gux-rich-text-editor-action.entry.js +1 -1
  253. package/dist/esm/gux-rich-text-editor-beta.entry.js +1 -1
  254. package/dist/esm/gux-rich-text-editor-list.entry.js +1 -1
  255. package/dist/esm/gux-screen-reader-beta.entry.js +1 -1
  256. package/dist/esm/gux-segmented-control-beta.entry.js +1 -1
  257. package/dist/esm/gux-select-all.entry.js +9 -4
  258. package/dist/esm/gux-selector-card-beta.entry.js +1 -1
  259. package/dist/esm/gux-selector-cards-beta.entry.js +1 -1
  260. package/dist/esm/gux-side-panel-beta.entry.js +1 -1
  261. package/dist/esm/gux-side-panel-header.entry.js +1 -1
  262. package/dist/esm/gux-side-panel-heading.entry.js +1 -1
  263. package/dist/esm/gux-simple-toast-legacy.entry.js +1 -1
  264. package/dist/esm/gux-skip-navigation-list.entry.js +1 -1
  265. package/dist/esm/gux-sort-control.entry.js +1 -1
  266. package/dist/esm/gux-status-indicator-beta.entry.js +1 -1
  267. package/dist/esm/gux-step-title.entry.js +1 -1
  268. package/dist/esm/gux-step.entry.js +1 -1
  269. package/dist/esm/gux-stepper-beta.entry.js +1 -1
  270. package/dist/esm/gux-switch-legacy.entry.js +1 -1
  271. package/dist/esm/gux-table-toolbar-action.entry.js +1 -1
  272. package/dist/esm/gux-table-toolbar-custom-action.entry.js +1 -1
  273. package/dist/esm/gux-table-toolbar-menu-button.entry.js +1 -1
  274. package/dist/esm/gux-table-toolbar.entry.js +1 -1
  275. package/dist/esm/gux-table.entry.js +1 -1
  276. package/dist/esm/gux-tabs-advanced.entry.js +1 -1
  277. package/dist/esm/gux-tabs.entry.js +1 -1
  278. package/dist/esm/gux-tag.entry.js +1 -1
  279. package/dist/esm/gux-text-highlight.entry.js +1 -1
  280. package/dist/esm/gux-time-beta.entry.js +1 -1
  281. package/dist/esm/gux-time-picker.entry.js +1 -1
  282. package/dist/esm/gux-time-zone-beta.entry.js +1 -1
  283. package/dist/esm/gux-time-zone-picker-beta.entry.js +1 -1
  284. package/dist/esm/gux-toast.entry.js +1 -1
  285. package/dist/esm/gux-toggle.entry.js +1 -1
  286. package/dist/esm/gux-tooltip-base-beta_2.entry.js +1 -1
  287. package/dist/esm/gux-tooltip-pointer-beta.entry.js +1 -1
  288. package/dist/esm/gux-tooltip_2.entry.js +6 -5
  289. package/dist/esm/loader.js +1 -1
  290. package/dist/esm/{usage-DEpB6GnC.js → usage-Dfk0nYGa.js} +1 -1
  291. package/dist/genesys-webcomponents/genesys-webcomponents.esm.js +1 -1
  292. package/dist/genesys-webcomponents/icons/brand/8x8.svg +3 -3
  293. package/dist/genesys-webcomponents/icons/brand/apple-business-messenger.svg +5 -5
  294. package/dist/genesys-webcomponents/icons/brand/google.svg +13 -6
  295. package/dist/genesys-webcomponents/icons/brand/instagram.svg +41 -23
  296. package/dist/genesys-webcomponents/icons/brand/meta.svg +19 -20
  297. package/dist/genesys-webcomponents/icons/brand/teams.svg +17 -17
  298. package/dist/genesys-webcomponents/icons/brand/zoom.svg +4 -4
  299. package/dist/genesys-webcomponents/icons/fa/arrow-up-arrow-down-regular.svg +1 -0
  300. package/dist/genesys-webcomponents/{p-1be4156d.entry.js → p-003b5126.entry.js} +1 -1
  301. package/dist/genesys-webcomponents/{p-792b8a9f.entry.js → p-03feffbd.entry.js} +1 -1
  302. package/dist/genesys-webcomponents/{p-3e866c48.entry.js → p-04508744.entry.js} +1 -1
  303. package/dist/genesys-webcomponents/{p-9dc03865.entry.js → p-053bbf83.entry.js} +1 -1
  304. package/dist/genesys-webcomponents/{p-66afbbbd.entry.js → p-059b42cf.entry.js} +1 -1
  305. package/dist/genesys-webcomponents/{p-a7a8ec46.entry.js → p-06219232.entry.js} +1 -1
  306. package/dist/genesys-webcomponents/{p-33bd4932.entry.js → p-0891a8a0.entry.js} +1 -1
  307. package/dist/genesys-webcomponents/{p-9fa903ec.entry.js → p-0982e88c.entry.js} +1 -1
  308. package/dist/genesys-webcomponents/{p-f2c39964.entry.js → p-0b30056f.entry.js} +1 -1
  309. package/dist/genesys-webcomponents/{p-07b11b95.entry.js → p-0ff5c1bd.entry.js} +1 -1
  310. package/dist/genesys-webcomponents/{p-fca170f5.entry.js → p-11efc4e8.entry.js} +1 -1
  311. package/dist/genesys-webcomponents/{p-bdda639e.entry.js → p-1c560362.entry.js} +1 -1
  312. package/dist/genesys-webcomponents/{p-c4cb290d.entry.js → p-1d22ab52.entry.js} +1 -1
  313. package/dist/genesys-webcomponents/{p-9290a7f6.entry.js → p-2068833c.entry.js} +1 -1
  314. package/dist/genesys-webcomponents/{p-868d0d57.entry.js → p-20c236b6.entry.js} +1 -1
  315. package/dist/genesys-webcomponents/{p-badb181e.entry.js → p-21e7f8f9.entry.js} +1 -1
  316. package/dist/genesys-webcomponents/{p-38b105d4.entry.js → p-231359a9.entry.js} +1 -1
  317. package/dist/genesys-webcomponents/{p-2d3cbfd9.entry.js → p-2361fa2e.entry.js} +1 -1
  318. package/dist/genesys-webcomponents/{p-8c3cdc31.entry.js → p-258c5578.entry.js} +1 -1
  319. package/dist/genesys-webcomponents/{p-4a6f697c.entry.js → p-2813b952.entry.js} +1 -1
  320. package/dist/genesys-webcomponents/{p-c7437b6e.entry.js → p-28d35aa7.entry.js} +1 -1
  321. package/dist/genesys-webcomponents/{p-182fd473.entry.js → p-29762e90.entry.js} +1 -1
  322. package/dist/genesys-webcomponents/{p-1296b84a.entry.js → p-2b0df652.entry.js} +1 -1
  323. package/dist/genesys-webcomponents/{p-31a7f0c8.entry.js → p-2b661701.entry.js} +1 -1
  324. package/dist/genesys-webcomponents/{p-478ee81a.entry.js → p-2dd36587.entry.js} +1 -1
  325. package/dist/genesys-webcomponents/{p-ca421d60.entry.js → p-320f0ec9.entry.js} +1 -1
  326. package/dist/genesys-webcomponents/{p-3d30090d.entry.js → p-32a77c6f.entry.js} +1 -1
  327. package/dist/genesys-webcomponents/{p-890ecf71.entry.js → p-3c5a3cab.entry.js} +1 -1
  328. package/dist/genesys-webcomponents/{p-44df23c5.entry.js → p-3f08402f.entry.js} +1 -1
  329. package/dist/genesys-webcomponents/{p-e28b9c46.entry.js → p-3fe6d842.entry.js} +1 -1
  330. package/dist/genesys-webcomponents/{p-7ddc0a90.entry.js → p-40be5948.entry.js} +1 -1
  331. package/dist/genesys-webcomponents/{p-8994fe02.entry.js → p-42157ed1.entry.js} +1 -1
  332. package/dist/genesys-webcomponents/{p-0bf3a43e.entry.js → p-427f650e.entry.js} +1 -1
  333. package/dist/genesys-webcomponents/{p-ddec7cd0.entry.js → p-429a6c87.entry.js} +1 -1
  334. package/dist/genesys-webcomponents/{p-d345b8ce.entry.js → p-43984609.entry.js} +1 -1
  335. package/dist/genesys-webcomponents/{p-515a7a86.entry.js → p-456fdc62.entry.js} +1 -1
  336. package/dist/genesys-webcomponents/{p-41252907.entry.js → p-46c80988.entry.js} +1 -1
  337. package/dist/genesys-webcomponents/p-482dc07d.entry.js +1 -0
  338. package/dist/genesys-webcomponents/p-485ddb95.entry.js +1 -0
  339. package/dist/genesys-webcomponents/{p-438691fa.entry.js → p-491a728e.entry.js} +1 -1
  340. package/dist/genesys-webcomponents/{p-8e03a31e.entry.js → p-4c0ca725.entry.js} +1 -1
  341. package/dist/genesys-webcomponents/{p-cb493e19.entry.js → p-4c951722.entry.js} +1 -1
  342. package/dist/genesys-webcomponents/{p-aba314a4.entry.js → p-501dac20.entry.js} +1 -1
  343. package/dist/genesys-webcomponents/{p-1be2f04e.entry.js → p-51b06281.entry.js} +1 -1
  344. package/dist/genesys-webcomponents/{p-089924ad.entry.js → p-550ea2a0.entry.js} +1 -1
  345. package/dist/genesys-webcomponents/{p-3afc68fd.entry.js → p-5720e044.entry.js} +1 -1
  346. package/dist/genesys-webcomponents/{p-962ab027.entry.js → p-5f35d9ce.entry.js} +1 -1
  347. package/dist/genesys-webcomponents/{p-70da570f.entry.js → p-609d8334.entry.js} +1 -1
  348. package/dist/genesys-webcomponents/{p-b073cb5b.entry.js → p-6467a711.entry.js} +1 -1
  349. package/dist/genesys-webcomponents/{p-0312b04b.entry.js → p-6502cd44.entry.js} +1 -1
  350. package/dist/genesys-webcomponents/{p-ded837f6.entry.js → p-66254d9d.entry.js} +1 -1
  351. package/dist/genesys-webcomponents/{p-ff9bc15a.entry.js → p-695056c0.entry.js} +1 -1
  352. package/dist/genesys-webcomponents/{p-9937f62f.entry.js → p-69ad4339.entry.js} +1 -1
  353. package/dist/genesys-webcomponents/{p-e33c6a8c.entry.js → p-6de3144d.entry.js} +1 -1
  354. package/dist/genesys-webcomponents/{p-e79473ca.entry.js → p-6f52c5bb.entry.js} +1 -1
  355. package/dist/genesys-webcomponents/p-76b3af17.entry.js +1 -0
  356. package/dist/genesys-webcomponents/p-775f113a.entry.js +1 -0
  357. package/dist/genesys-webcomponents/{p-db48008f.entry.js → p-797484b6.entry.js} +1 -1
  358. package/dist/genesys-webcomponents/{p-3d317b5d.entry.js → p-79882492.entry.js} +1 -1
  359. package/dist/genesys-webcomponents/{p-0c9b0ab6.entry.js → p-79b58ed5.entry.js} +1 -1
  360. package/dist/genesys-webcomponents/{p-7a357fd5.entry.js → p-7a31c7a8.entry.js} +1 -1
  361. package/dist/genesys-webcomponents/p-7e5ecd9e.entry.js +1 -0
  362. package/dist/genesys-webcomponents/p-804fec2f.entry.js +1 -0
  363. package/dist/genesys-webcomponents/{p-ef6eb4bb.entry.js → p-834738c5.entry.js} +1 -1
  364. package/dist/genesys-webcomponents/{p-feffa424.entry.js → p-86dcafcc.entry.js} +1 -1
  365. package/dist/genesys-webcomponents/{p-94e948e9.entry.js → p-872ca41a.entry.js} +1 -1
  366. package/dist/genesys-webcomponents/{p-b254f10c.entry.js → p-88e2a5b5.entry.js} +1 -1
  367. package/dist/genesys-webcomponents/p-8eed3de6.entry.js +1 -0
  368. package/dist/genesys-webcomponents/{p-a6bf00c2.entry.js → p-9000d7b5.entry.js} +1 -1
  369. package/dist/genesys-webcomponents/p-9131eecb.entry.js +1 -0
  370. package/dist/genesys-webcomponents/{p-230257e1.entry.js → p-936987a3.entry.js} +1 -1
  371. package/dist/genesys-webcomponents/{p-c3cfa769.entry.js → p-9509386b.entry.js} +1 -1
  372. package/dist/genesys-webcomponents/{p-883845f2.entry.js → p-95a055c6.entry.js} +1 -1
  373. package/dist/genesys-webcomponents/{p-380d5cbc.entry.js → p-96ffbf9d.entry.js} +1 -1
  374. package/dist/genesys-webcomponents/{p-100369da.entry.js → p-999ce9c9.entry.js} +1 -1
  375. package/dist/genesys-webcomponents/{p-ab56b057.entry.js → p-9a1577f7.entry.js} +1 -1
  376. package/dist/genesys-webcomponents/{p-2c1532ac.entry.js → p-9e6b9625.entry.js} +1 -1
  377. package/dist/genesys-webcomponents/p-CK42c8Uy.js +1 -0
  378. package/dist/genesys-webcomponents/{p-DEpB6GnC.js → p-Dfk0nYGa.js} +1 -1
  379. package/dist/genesys-webcomponents/{p-be8da697.entry.js → p-a23c6a51.entry.js} +1 -1
  380. package/dist/genesys-webcomponents/{p-ff2c73d4.entry.js → p-a25122cc.entry.js} +1 -1
  381. package/dist/genesys-webcomponents/{p-460eddf4.entry.js → p-a2e30859.entry.js} +1 -1
  382. package/dist/genesys-webcomponents/p-a3d3ca07.entry.js +1 -0
  383. package/dist/genesys-webcomponents/{p-9cb43481.entry.js → p-a3e57bbd.entry.js} +1 -1
  384. package/dist/genesys-webcomponents/{p-8fad0eb1.entry.js → p-a439080d.entry.js} +1 -1
  385. package/dist/genesys-webcomponents/{p-462463ad.entry.js → p-a49cf4ec.entry.js} +1 -1
  386. package/dist/genesys-webcomponents/{p-567c5518.entry.js → p-a53ca97b.entry.js} +1 -1
  387. package/dist/genesys-webcomponents/{p-a88c23f4.entry.js → p-a83b76cd.entry.js} +1 -1
  388. package/dist/genesys-webcomponents/{p-664e03e3.entry.js → p-a864eb89.entry.js} +1 -1
  389. package/dist/genesys-webcomponents/{p-75c91627.entry.js → p-aa7f4578.entry.js} +1 -1
  390. package/dist/genesys-webcomponents/{p-32cd82cc.entry.js → p-ac5123f5.entry.js} +1 -1
  391. package/dist/genesys-webcomponents/{p-33995459.entry.js → p-acb9d96d.entry.js} +1 -1
  392. package/dist/genesys-webcomponents/{p-e04842cd.entry.js → p-acf1e0d2.entry.js} +1 -1
  393. package/dist/genesys-webcomponents/{p-7de7c299.entry.js → p-af58914a.entry.js} +1 -1
  394. package/dist/genesys-webcomponents/{p-7a5a18ff.entry.js → p-afd0ec1a.entry.js} +1 -1
  395. package/dist/genesys-webcomponents/{p-3344dbd3.entry.js → p-b1339a99.entry.js} +1 -1
  396. package/dist/genesys-webcomponents/{p-70406d96.entry.js → p-b4f13af4.entry.js} +1 -1
  397. package/dist/genesys-webcomponents/{p-1f635b0c.entry.js → p-b5b09d15.entry.js} +1 -1
  398. package/dist/genesys-webcomponents/{p-0ae35c55.entry.js → p-b779eb0d.entry.js} +1 -1
  399. package/dist/genesys-webcomponents/{p-f895236e.entry.js → p-b7a5d81a.entry.js} +1 -1
  400. package/dist/genesys-webcomponents/{p-8a2488d9.entry.js → p-b8a96941.entry.js} +1 -1
  401. package/dist/genesys-webcomponents/{p-b80b1743.entry.js → p-ba78518e.entry.js} +1 -1
  402. package/dist/genesys-webcomponents/{p-6efdfeff.entry.js → p-bb1dea85.entry.js} +1 -1
  403. package/dist/genesys-webcomponents/p-bdc8956a.entry.js +1 -0
  404. package/dist/genesys-webcomponents/{p-8c5187df.entry.js → p-bddc87ee.entry.js} +1 -1
  405. package/dist/genesys-webcomponents/{p-442db0d3.entry.js → p-c1b344ab.entry.js} +1 -1
  406. package/dist/genesys-webcomponents/{p-9fcbfec5.entry.js → p-c4f7d76a.entry.js} +1 -1
  407. package/dist/genesys-webcomponents/{p-48619538.entry.js → p-c5764d14.entry.js} +1 -1
  408. package/dist/genesys-webcomponents/{p-336662e3.entry.js → p-c68e1b53.entry.js} +1 -1
  409. package/dist/genesys-webcomponents/p-c6ca9557.entry.js +1 -0
  410. package/dist/genesys-webcomponents/{p-117466ac.entry.js → p-c7174199.entry.js} +1 -1
  411. package/dist/genesys-webcomponents/{p-53263b3a.entry.js → p-cc35276f.entry.js} +1 -1
  412. package/dist/genesys-webcomponents/p-cfb67666.entry.js +1 -0
  413. package/dist/genesys-webcomponents/{p-f3dc5e22.entry.js → p-d06ca25c.entry.js} +1 -1
  414. package/dist/genesys-webcomponents/{p-abce0645.entry.js → p-d3430e75.entry.js} +1 -1
  415. package/dist/genesys-webcomponents/{p-d4f0f296.entry.js → p-d4076e9e.entry.js} +1 -1
  416. package/dist/genesys-webcomponents/{p-79f6e206.entry.js → p-d5f88f22.entry.js} +1 -1
  417. package/dist/genesys-webcomponents/{p-4a9b32d1.entry.js → p-d62265e9.entry.js} +1 -1
  418. package/dist/genesys-webcomponents/{p-c838c396.entry.js → p-da7b91f4.entry.js} +1 -1
  419. package/dist/genesys-webcomponents/{p-98a76e01.entry.js → p-dc632df5.entry.js} +1 -1
  420. package/dist/genesys-webcomponents/{p-99b60160.entry.js → p-df1842d9.entry.js} +1 -1
  421. package/dist/genesys-webcomponents/{p-d7f62f51.entry.js → p-dfb41cde.entry.js} +1 -1
  422. package/dist/genesys-webcomponents/{p-61c6cf93.entry.js → p-e20a9ad3.entry.js} +1 -1
  423. package/dist/genesys-webcomponents/{p-356fb1e9.entry.js → p-e8c17ba4.entry.js} +1 -1
  424. package/dist/genesys-webcomponents/{p-8542b5b3.entry.js → p-ecaa12ee.entry.js} +1 -1
  425. package/dist/genesys-webcomponents/{p-957f4c92.entry.js → p-f0d7d3fb.entry.js} +1 -1
  426. package/dist/genesys-webcomponents/{p-ffd37631.entry.js → p-f47e1ba4.entry.js} +1 -1
  427. package/dist/genesys-webcomponents/{p-cfacff68.entry.js → p-fb27a8a9.entry.js} +1 -1
  428. package/dist/genesys-webcomponents/{p-05f1fa74.entry.js → p-fbb18f10.entry.js} +1 -1
  429. package/dist/genesys-webcomponents/{p-e85d6608.entry.js → p-fd980cc8.entry.js} +1 -1
  430. package/dist/genesys-webcomponents/{p-a82b71ee.entry.js → p-ff5b2f0a.entry.js} +1 -1
  431. package/dist/stencil-wrapper.js +1 -1
  432. package/dist/types/components/stable/gux-icon/gux-icon.types.d.ts +1 -1
  433. package/dist/types/components/stable/gux-listbox/tests/gux-listbox.common.d.ts +36 -0
  434. package/dist/types/components/stable/gux-listbox-multi/gux-select-all/gux-select-all.d.ts +1 -0
  435. package/dist/types/components/stable/gux-truncate/gux-truncate.d.ts +2 -0
  436. package/dist/types/components.d.ts +8 -0
  437. package/dist/types/stencil-wrapper.d.ts +1 -1
  438. package/dist/types/utils/dom/boolean-string.d.ts +1 -0
  439. package/package.json +5 -6
  440. package/dist/genesys-webcomponents/p-0401dacc.entry.js +0 -1
  441. package/dist/genesys-webcomponents/p-151337ef.entry.js +0 -1
  442. package/dist/genesys-webcomponents/p-350696dc.entry.js +0 -1
  443. package/dist/genesys-webcomponents/p-455bb468.entry.js +0 -1
  444. package/dist/genesys-webcomponents/p-481a111b.entry.js +0 -1
  445. package/dist/genesys-webcomponents/p-557ab01c.entry.js +0 -1
  446. package/dist/genesys-webcomponents/p-6d02d177.entry.js +0 -1
  447. package/dist/genesys-webcomponents/p-6f8af00d.entry.js +0 -1
  448. package/dist/genesys-webcomponents/p-7aa33b3d.entry.js +0 -1
  449. package/dist/genesys-webcomponents/p-ceb28de9.entry.js +0 -1
  450. package/dist/genesys-webcomponents/p-dac4a7af.entry.js +0 -1
  451. package/dist/genesys-webcomponents/p-fc53e025.entry.js +0 -1
@@ -1,28 +1,28 @@
1
- <svg width="32" height="30" viewBox="0 0 32 30" fill="none" xmlns="http://www.w3.org/2000/svg">
1
+ <svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
2
2
  <g clip-path="url(#clip0_32119_98)">
3
- <path d="M22.3205 11.0769H30.5862C31.3671 11.0769 32.0002 11.7051 32.0002 12.48V19.951C32.0002 22.799 29.6735 25.1077 26.8035 25.1077H26.7789C23.9089 25.1081 21.582 22.7997 21.5815 19.9517C21.5815 19.9515 21.5815 19.9512 21.5815 19.951V11.8102C21.5816 11.4052 21.9124 11.0769 22.3205 11.0769Z" fill="#5059C9"/>
4
- <path d="M27.9069 9.60001C29.7565 9.60001 31.2558 8.11222 31.2558 6.27694C31.2558 4.44165 29.7565 2.95386 27.9069 2.95386C26.0574 2.95386 24.5581 4.44165 24.5581 6.27694C24.5581 8.11222 26.0574 9.60001 27.9069 9.60001Z" fill="#5059C9"/>
5
- <path d="M17.4886 9.60001C20.1601 9.60001 22.3258 7.45098 22.3258 4.80001C22.3258 2.14904 20.1601 0 17.4886 0C14.8171 0 12.6514 2.14904 12.6514 4.80001C12.6514 7.45098 14.8171 9.60001 17.4886 9.60001Z" fill="#7B83EB"/>
6
- <path d="M23.9381 11.0769H10.2941C9.52253 11.0959 8.91215 11.7313 8.93005 12.497V21.0181C8.8223 25.613 12.4857 29.426 17.1161 29.5385C21.7465 29.426 25.4099 25.613 25.3022 21.0181V12.497C25.32 11.7313 24.7097 11.0959 23.9381 11.0769Z" fill="#7B83EB"/>
7
- <path opacity="0.1" d="M17.8603 11.0769V23.0178C17.8566 23.5654 17.5222 24.0573 17.0119 24.2658C16.8495 24.334 16.6749 24.3692 16.4985 24.3692H9.58496C9.48822 24.1255 9.39892 23.8818 9.32449 23.6308C9.064 22.7834 8.93108 21.9025 8.93007 21.0166V12.4948C8.91218 11.7303 9.52156 11.0959 10.2919 11.0769H17.8603Z" fill="black"/>
8
- <path opacity="0.2" d="M17.1161 11.0769V23.7563C17.1161 23.9313 17.0807 24.1046 17.0119 24.2658C16.8018 24.7722 16.3061 25.104 15.7543 25.1077H9.93474C9.80822 24.864 9.68915 24.6203 9.58496 24.3692C9.48077 24.1181 9.39892 23.8818 9.32449 23.6308C9.064 22.7834 8.93108 21.9025 8.93007 21.0166V12.4948C8.91218 11.7303 9.52156 11.0959 10.2919 11.0769H17.1161Z" fill="black"/>
9
- <path opacity="0.2" d="M17.1161 11.0769V22.2794C17.1105 23.0234 16.504 23.6251 15.7543 23.6308H9.32449C9.064 22.7834 8.93108 21.9025 8.93007 21.0166V12.4948C8.91218 11.7303 9.52156 11.0959 10.2919 11.0769H17.1161Z" fill="black"/>
10
- <path opacity="0.2" d="M16.3719 11.0769V22.2794C16.3663 23.0234 15.7598 23.6251 15.0101 23.6308H9.32449C9.064 22.7834 8.93108 21.9025 8.93007 21.0166V12.4948C8.91218 11.7303 9.52156 11.0959 10.2919 11.0769H16.3719Z" fill="black"/>
11
- <path opacity="0.1" d="M17.8605 7.25909V9.58524C17.734 9.59262 17.6149 9.60001 17.4884 9.60001C17.3619 9.60001 17.2428 9.59263 17.1163 9.58524C16.8651 9.5687 16.616 9.52915 16.3721 9.46709C14.8652 9.11296 13.6201 8.06422 13.0233 6.64617C12.9206 6.40804 12.8409 6.16077 12.7852 5.90771H16.4986C17.2496 5.91054 17.8577 6.5139 17.8605 7.25909Z" fill="black"/>
12
- <path opacity="0.2" d="M17.1165 7.99755V9.58525C16.8653 9.56871 16.6161 9.52916 16.3723 9.4671C14.8653 9.11296 13.6203 8.06423 13.0234 6.64618H15.7546C16.5055 6.649 17.1136 7.25238 17.1165 7.99755Z" fill="black"/>
13
- <path opacity="0.2" d="M17.1165 7.99755V9.58525C16.8653 9.56871 16.6161 9.52916 16.3723 9.4671C14.8653 9.11296 13.6203 8.06423 13.0234 6.64618H15.7546C16.5055 6.649 17.1136 7.25238 17.1165 7.99755Z" fill="black"/>
14
- <path opacity="0.2" d="M16.3723 7.99756V9.4671C14.8653 9.11296 13.6203 8.06422 13.0234 6.64618H15.0104C15.7614 6.64901 16.3694 7.2524 16.3723 7.99756Z" fill="black"/>
15
- <path d="M1.36409 6.64618H15.008C15.7614 6.64618 16.3721 7.25221 16.3721 7.99977V21.5387C16.3721 22.2863 15.7613 22.8923 15.008 22.8923H1.36409C0.610716 22.8923 0 22.2863 0 21.5387V7.99977C0 7.25221 0.61073 6.64618 1.36409 6.64618Z" fill="url(#paint0_linear_32119_98)"/>
16
- <path d="M11.7761 11.7992H9.04865V19.169H7.31098V11.7992H4.59619V10.3695H11.7761V11.7992Z" fill="white"/>
3
+ <path d="M16.7403 9.25H22.9395C23.5252 9.25 24 9.71786 24 10.295V15.8593C24 17.9805 22.255 19.7 20.1025 19.7H20.0841C17.9316 19.7003 16.1863 17.981 16.186 15.8599C16.186 15.8597 16.186 15.8595 16.186 15.8593V9.79616C16.186 9.49452 16.4342 9.25 16.7403 9.25Z" fill="#5059C9"/>
4
+ <path d="M20.9301 8.15001C22.3172 8.15001 23.4417 7.04192 23.4417 5.67501C23.4417 4.30811 22.3172 3.20001 20.9301 3.20001C19.543 3.20001 18.4185 4.30811 18.4185 5.67501C18.4185 7.04192 19.543 8.15001 20.9301 8.15001Z" fill="#5059C9"/>
5
+ <path d="M13.1162 8.15001C15.1198 8.15001 16.7441 6.54943 16.7441 4.575C16.7441 2.60058 15.1198 1 13.1162 1C11.1126 1 9.48828 2.60058 9.48828 4.575C9.48828 6.54943 11.1126 8.15001 13.1162 8.15001Z" fill="#7B83EB"/>
6
+ <path d="M17.9535 9.25H7.7206C7.1419 9.26411 6.68411 9.73737 6.69754 10.3077V16.6541C6.61673 20.0763 9.3643 22.9163 12.8371 23C16.3099 22.9163 19.0574 20.0763 18.9766 16.6541V10.3077C18.99 9.73737 18.5322 9.26411 17.9535 9.25Z" fill="#7B83EB"/>
7
+ <path opacity="0.1" d="M13.3952 9.25V18.1435C13.3925 18.5513 13.1417 18.9177 12.759 19.073C12.6371 19.1238 12.5061 19.15 12.3738 19.15H7.18872C7.11617 18.9685 7.04919 18.787 6.99337 18.6C6.798 17.9689 6.69831 17.3128 6.69755 16.653V10.306C6.68414 9.73663 7.14117 9.26411 7.71895 9.25H13.3952Z" fill="black"/>
8
+ <path opacity="0.2" d="M12.8371 9.25V18.6935C12.8371 18.8239 12.8105 18.9529 12.759 19.073C12.6014 19.4501 12.2296 19.6973 11.8157 19.7H7.45105C7.35617 19.5185 7.26687 19.337 7.18872 19.15C7.11058 18.963 7.04919 18.787 6.99337 18.6C6.798 17.9689 6.69831 17.3128 6.69755 16.653V10.306C6.68414 9.73663 7.14117 9.26411 7.71895 9.25H12.8371Z" fill="black"/>
9
+ <path opacity="0.2" d="M12.8371 9.25V17.5935C12.8328 18.1476 12.378 18.5958 11.8157 18.6H6.99337C6.798 17.9689 6.69831 17.3128 6.69755 16.653V10.306C6.68414 9.73663 7.14117 9.26411 7.71895 9.25H12.8371Z" fill="black"/>
10
+ <path opacity="0.2" d="M12.2789 9.25V17.5935C12.2747 18.1476 11.8199 18.5958 11.2576 18.6H6.99337C6.798 17.9689 6.69831 17.3128 6.69755 16.653V10.306C6.68414 9.73663 7.14117 9.26411 7.71895 9.25H12.2789Z" fill="black"/>
11
+ <path opacity="0.1" d="M13.3954 6.40651V8.13901C13.3005 8.14451 13.2112 8.15002 13.1163 8.15002C13.0214 8.15002 12.9321 8.14452 12.8372 8.13901C12.6488 8.12669 12.462 8.09724 12.2791 8.05102C11.1489 7.78726 10.2151 7.00617 9.76748 5.95002C9.69045 5.77266 9.63066 5.5885 9.58887 5.40002H12.374C12.9372 5.40213 13.3932 5.85151 13.3954 6.40651Z" fill="black"/>
12
+ <path opacity="0.2" d="M12.8373 6.9565V8.13901C12.6489 8.12669 12.4621 8.09723 12.2792 8.05101C11.149 7.78725 10.2152 7.00616 9.76758 5.95001H11.8159C12.3792 5.95211 12.8352 6.40151 12.8373 6.9565Z" fill="black"/>
13
+ <path opacity="0.2" d="M12.8373 6.9565V8.13901C12.6489 8.12669 12.4621 8.09723 12.2792 8.05101C11.149 7.78725 10.2152 7.00616 9.76758 5.95001H11.8159C12.3792 5.95211 12.8352 6.40151 12.8373 6.9565Z" fill="black"/>
14
+ <path opacity="0.2" d="M12.2792 6.95651V8.05101C11.149 7.78725 10.2152 7.00616 9.76758 5.95001H11.2578C11.821 5.95212 12.2771 6.40152 12.2792 6.95651Z" fill="black"/>
15
+ <path d="M1.02306 5.95001H11.256C11.821 5.95001 12.2791 6.40138 12.2791 6.95816V17.0419C12.2791 17.5986 11.821 18.05 11.256 18.05H1.02306C0.458037 18.05 0 17.5986 0 17.0419V6.95816C0 6.40138 0.458048 5.95001 1.02306 5.95001Z" fill="url(#paint0_linear_32119_98)"/>
16
+ <path d="M8.8322 9.78788H6.78661V15.2769H5.48336V9.78788H3.44727V8.72308H8.8322V9.78788Z" fill="white"/>
17
17
  </g>
18
18
  <defs>
19
- <linearGradient id="paint0_linear_32119_98" x1="2.84416" y1="5.5885" x2="13.4047" y2="24.0206" gradientUnits="userSpaceOnUse">
19
+ <linearGradient id="paint0_linear_32119_98" x1="2.13312" y1="5.16226" x2="9.97068" y2="18.9375" gradientUnits="userSpaceOnUse">
20
20
  <stop stop-color="#5A62C3"/>
21
21
  <stop offset="0.5" stop-color="#4D55BD"/>
22
22
  <stop offset="1" stop-color="#3940AB"/>
23
23
  </linearGradient>
24
24
  <clipPath id="clip0_32119_98">
25
- <rect width="32" height="29.5385" fill="white"/>
25
+ <rect width="24" height="22" fill="white" transform="translate(0 1)"/>
26
26
  </clipPath>
27
27
  </defs>
28
28
  </svg>
@@ -1,8 +1,8 @@
1
- <svg width="32" height="32" viewBox="0 0 32 32" fill="none" xmlns="http://www.w3.org/2000/svg">
2
- <path d="M0 14C0 6.26801 6.26801 0 14 0H18C25.732 0 32 6.26801 32 14V18C32 25.732 25.732 32 18 32H14C6.26801 32 0 25.732 0 18V14Z" fill="url(#paint0_linear_32119_96)"/>
3
- <path d="M9.03495 17.9231H4.76573C4.48252 17.9231 4.22028 17.7885 4.08392 17.5577C3.93706 17.2885 3.98951 16.9712 4.22028 16.7692L7.1888 14.0481H5.05944C4.47203 14.0481 4 13.6058 4 13.0769H7.93355C8.21677 13.0769 8.479 13.2115 8.61537 13.4423C8.76222 13.7115 8.70977 14.0288 8.479 14.2308L5.51048 16.9519H7.97551C8.56292 16.9519 9.03495 17.3942 9.03495 17.9231ZM25.944 13C25.3356 13 24.7796 13.2404 24.402 13.6346C24.0244 13.25 23.4685 13 22.8601 13C21.7272 13 20.7936 13.8846 20.7936 14.9231V17.9231C21.3811 17.9231 21.8531 17.4904 21.8531 16.9519V14.9135C21.8531 14.4135 22.2727 13.9904 22.8181 13.9712C23.395 13.9519 23.8671 14.375 23.8671 14.8942V16.9519C23.8671 17.4904 24.3391 17.9231 24.9265 17.9231V14.9135C24.9265 14.4135 25.3461 13.9904 25.8915 13.9712C26.4684 13.9519 26.9405 14.375 26.9405 14.8942V16.9519C26.9405 17.4904 27.4125 17.9231 27.9999 17.9231V14.9231C28.0104 13.8846 27.0768 13 25.944 13ZM14.3846 15.5C14.3846 16.875 13.1573 18 11.6573 18C10.1468 18 8.93005 16.875 8.93005 15.5C8.93005 14.125 10.1573 13 11.6573 13C13.1573 13 14.3846 14.125 14.3846 15.5ZM13.3251 15.5C13.3251 14.6538 12.5804 13.9712 11.6573 13.9712C10.7342 13.9712 9.98949 14.6538 9.98949 15.5C9.98949 16.3462 10.7342 17.0288 11.6573 17.0288C12.5804 17.0288 13.3251 16.3462 13.3251 15.5ZM20.2692 15.5C20.2692 16.875 19.0419 18 17.5419 18C16.0314 18 14.8146 16.875 14.8146 15.5C14.8146 14.125 16.0419 13 17.5419 13C19.0419 13 20.2692 14.125 20.2692 15.5ZM19.2097 15.5C19.2097 14.6538 18.465 13.9712 17.5419 13.9712C16.6188 13.9712 15.8741 14.6538 15.8741 15.5C15.8741 16.3462 16.6188 17.0288 17.5419 17.0288C18.465 17.0288 19.2097 16.3462 19.2097 15.5Z" fill="white"/>
1
+ <svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
2
+ <path d="M0 10.5C0 4.70101 4.70101 0 10.5 0H13.5C19.299 0 24 4.70101 24 10.5V13.5C24 19.299 19.299 24 13.5 24H10.5C4.70101 24 0 19.299 0 13.5V10.5Z" fill="url(#paint0_linear_32119_96)"/>
3
+ <path d="M6.77621 13.4423H3.5743C3.36189 13.4423 3.16521 13.3413 3.06294 13.1683C2.9528 12.9663 2.99213 12.7284 3.16521 12.5769L5.3916 10.5361H3.79458C3.35402 10.5361 3 10.2043 3 9.80769H5.95016C6.16258 9.80769 6.35925 9.90865 6.46153 10.0817C6.57167 10.2837 6.53233 10.5216 6.35925 10.6731L4.13286 12.7139H5.98163C6.42219 12.7139 6.77621 13.0457 6.77621 13.4423ZM19.458 9.75C19.0017 9.75 18.5847 9.93029 18.3015 10.226C18.0183 9.9375 17.6013 9.75 17.1451 9.75C16.2954 9.75 15.5952 10.4135 15.5952 11.1923V13.4423C16.0358 13.4423 16.3898 13.1178 16.3898 12.7139V11.1851C16.3898 10.8101 16.7045 10.4928 17.1136 10.4784C17.5463 10.4639 17.9003 10.7813 17.9003 11.1707V12.7139C17.9003 13.1178 18.2543 13.4423 18.6949 13.4423V11.1851C18.6949 10.8101 19.0096 10.4928 19.4186 10.4784C19.8513 10.4639 20.2054 10.7813 20.2054 11.1707V12.7139C20.2054 13.1178 20.5594 13.4423 20.9999 13.4423V11.1923C21.0078 10.4135 20.3076 9.75 19.458 9.75ZM10.7884 11.625C10.7884 12.6562 9.86798 13.5 8.74299 13.5C7.61012 13.5 6.69754 12.6562 6.69754 11.625C6.69754 10.5938 7.61799 9.75 8.74299 9.75C9.86798 9.75 10.7884 10.5938 10.7884 11.625ZM9.99386 11.625C9.99386 10.9904 9.43529 10.4784 8.74299 10.4784C8.05068 10.4784 7.49212 10.9904 7.49212 11.625C7.49212 12.2596 8.05068 12.7716 8.74299 12.7716C9.43529 12.7716 9.99386 12.2596 9.99386 11.625ZM15.2019 11.625C15.2019 12.6562 14.2814 13.5 13.1564 13.5C12.0236 13.5 11.111 12.6562 11.111 11.625C11.111 10.5938 12.0314 9.75 13.1564 9.75C14.2814 9.75 15.2019 10.5938 15.2019 11.625ZM14.4073 11.625C14.4073 10.9904 13.8487 10.4784 13.1564 10.4784C12.4641 10.4784 11.9056 10.9904 11.9056 11.625C11.9056 12.2596 12.4641 12.7716 13.1564 12.7716C13.8487 12.7716 14.4073 12.2596 14.4073 11.625Z" fill="white"/>
4
4
  <defs>
5
- <linearGradient id="paint0_linear_32119_96" x1="6" y1="29" x2="26" y2="2.5" gradientUnits="userSpaceOnUse">
5
+ <linearGradient id="paint0_linear_32119_96" x1="4.5" y1="21.75" x2="19.5" y2="1.875" gradientUnits="userSpaceOnUse">
6
6
  <stop stop-color="#084ACD"/>
7
7
  <stop offset="0.505" stop-color="#0B5CFF"/>
8
8
  <stop offset="1" stop-color="#236EF9"/>
@@ -0,0 +1 @@
1
+ <svg viewBox="0 0 16 16" xmlns="http://www.w3.org/2000/svg"><path d="M6.97501 5.6275C7.21001 5.8625 7.59 5.8625 7.8225 5.6275C8.055 5.3925 8.0575 5.0125 7.8225 4.78L5.22501 2.1775C4.99001 1.9425 4.61001 1.9425 4.37751 2.1775L1.775 4.7775C1.54 5.0125 1.54 5.3925 1.775 5.625C2.01 5.8575 2.39 5.86 2.6225 5.625L4.1975 4.05V14.2025C4.1975 14.535 4.465 14.8025 4.7975 14.8025C5.13 14.8025 5.3975 14.535 5.3975 14.2025V4.05L6.97501 5.6275ZM13.375 11.1775L11.8 12.7525V2.6C11.8 2.2675 11.5325 2 11.2 2C10.8675 2 10.6 2.2675 10.6 2.6V12.7525L9.025 11.1775C8.79 10.9425 8.41 10.9425 8.1775 11.1775C7.945 11.4125 7.9425 11.7925 8.1775 12.025L10.7775 14.625C11.0125 14.86 11.3925 14.86 11.625 14.625L14.225 12.025C14.46 11.79 14.46 11.41 14.225 11.1775C13.99 10.945 13.61 10.9425 13.3775 11.1775H13.375Z"/></svg>
@@ -1 +1 @@
1
- import{r as e,f as o,h as r,a as t}from"./p-COgvjwDR.js";import{O as i}from"./p-vOC0-qDq.js";import{h as l}from"./p-qzV3vtOw.js";import{l as a}from"./p-DxtJDeL9.js";import{b as s}from"./p-D2nzPgXC.js";import{s as n}from"./p-BMRf5pjV.js";import{a as f,G as h}from"./p-Dry1Kkrx.js";import{G as u,a as g,b as c}from"./p-DiDRSPEJ.js";import{g as d}from"./p-MAoEg4ig.js";import{t as p}from"./p-DEpB6GnC.js";import"./p-Cd4R0amv.js";function x(e,o){if(o){const{checkedCheckboxes:r,totalCheckboxes:t}=function(e){const o=m(e).length,r=function(e){return m(e).filter((e=>e.checked))}(e).length;return{checkedCheckboxes:r,totalCheckboxes:o}}(e);0===r?(o.indeterminate=!1,o.checked=!1):r===t?(o.indeterminate=!1,o.checked=!0):o.indeterminate=!0}}function m(e){return Array.from(e.querySelectorAll('gux-form-field-checkbox input:not(gux-form-field-checkbox[slot="group-checkbox"] input'))}var b={required:"Required"};const v=class{constructor(o){e(this,o),this.indicatorMark="required",this.required=!1,this.hasGroupError=!1,this.hasGroupHelp=!1,this.hasGroupLabelInfo=!1,this.disabled=!1}watchGroupError(e){const o=this.root.querySelectorAll("gux-form-field-checkbox");o&&o.forEach((o=>{o.hasGroupError=e}))}watchDisabled(){this.setDisabledCheckboxes()}onMutation(){this.hasGroupError=l(this.root,"group-error"),this.hasGroupHelp=l(this.root,"group-help"),this.hasGroupLabelInfo=l(this.root,"group-label-info")}async componentWillLoad(){this.getI18nValue=await s(this.root,b),this.hasGroupError=l(this.root,"group-error"),this.hasGroupHelp=l(this.root,"group-help"),this.hasGroupLabelInfo=l(this.root,"group-label-info"),this.setLabel(),this.setDisabledCheckboxes(),p(this.root)}componentDidLoad(){x(this.root,this.root.querySelector('gux-form-field-checkbox[slot="group-checkbox"] input'))}disconnectedCallback(){this.disabledObserver&&this.disabledObserver.disconnect()}getGroupCheckboxElement(){return this.root.querySelector('gux-form-field-checkbox[slot="group-checkbox"] input')}setDisabledCheckboxes(){const e=this.root.querySelectorAll("gux-form-field-checkbox");e&&e.forEach((e=>{e.hasGroupDisabled=this.disabled}))}onMainCheckboxChange(){const e=this.getGroupCheckboxElement();var r;r=e.checked,m(this.root).forEach((e=>{e.checked===r||e.disabled||(e.checked=r,n(e,"input"),n(e,"change"))})),o(this.root)}setupNestedCheckboxes(){this.warnMultipleGroupCheckbox(),this.warnGroupCheckboxNameAttr();const e=this.getGroupCheckboxElement();e?this.root.classList.add("gux-group-checkbox"):this.root.classList.remove("gux-group-checkbox"),null==e||e.addEventListener("change",(()=>{this.onMainCheckboxChange()})),this.initialSetNestedCheckboxes(null==e?void 0:e.checked)}initialSetNestedCheckboxes(e){const o=Array.from(this.root.querySelectorAll('gux-form-field-checkbox input:not(gux-form-field-checkbox[slot="group-checkbox"] input)'));(null==o?void 0:o.length)&&o.forEach((o=>{o.addEventListener("change",(()=>{this.updateMainCheckbox()})),e&&!o.disabled&&(o.checked=!0)}))}warnMultipleGroupCheckbox(){const e=this.root.querySelectorAll('gux-form-field-checkbox[slot="group-checkbox"] input');(null==e?void 0:e.length)>1&&a(this.root,"Can only have one group checkbox")}warnGroupCheckboxNameAttr(){const e=this.getGroupCheckboxElement();(null==e?void 0:e.hasAttribute("name"))&&a(this.root,"Group checkbox should not have a name attribute")}updateMainCheckbox(){x(this.root,this.root.querySelector('gux-form-field-checkbox[slot="group-checkbox"] input')),o(this.root)}renderText(e,o=!1){if(o)return" "+e}render(){var e;return r(c,{key:"cd41207bcf0e7fa581f45453c978e417f00399cd",labelPosition:"above"},r(g,{key:"c5cc46f0e994f49d5c2ce4eee68d0001c2c301ac"},null===(e=this.label)||void 0===e?void 0:e.textContent,this.renderText(this.getI18nValue("required"),this.required),this.renderText(d(this.root,"group-error"),this.hasGroupError),this.renderText(d(this.root,"group-help"),this.hasGroupHelp),this.renderText(d(this.root,"group-label-info"),this.hasGroupLabelInfo)),r(u,{key:"018a9dcafe88d3337bea53a53488083b5b27a6d2",position:"above",required:this.required},r("slot",{key:"e3fb3a38dc90f18b43a618b2a2cb0df8b622d569",name:"group-label",onSlotchange:()=>this.setLabel()}),r("gux-form-field-label-indicator",{key:"26c540bbe51f05d763b28b52b4da9ca243d81cda",variant:this.indicatorMark,required:this.required}),r("slot",{key:"6e8b26bdd292e7a05a0e62d05767240e87bc8ae1",name:"group-label-info"})),r("slot",{key:"998cdb3c4498c27a0524f0103e38724397d462eb",onSlotchange:()=>this.setupNestedCheckboxes(),name:"group-checkbox"}),r("slot",{key:"7b4a080ba9712aa65137ee74337f1185b6671d1d",onSlotchange:()=>this.updateMainCheckbox()}),r(h,{key:"c137d23ed93339078fe224111d085eed892995f3",show:this.hasGroupError},r("slot",{key:"c30cbc6ec4417faaf69091f5eb9104ec14fab858",name:"group-error"})),r(f,{key:"a6217901c574c013c1234399031fec442f18cd08",show:!this.hasGroupError&&this.hasGroupHelp},r("slot",{key:"072e27395b31e3fd73203f75d9e7148369ff0895",name:"group-help"})))}setLabel(){this.label=this.root.querySelector('label[slot="group-label"]')}get root(){return t(this)}static get watchers(){return{hasGroupError:["watchGroupError"],disabled:["watchDisabled"]}}};(function(e,o,r,t){var i,l=arguments.length,a=l<3?o:null===t?t=Object.getOwnPropertyDescriptor(o,r):t;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(e,o,r,t);else for(var s=e.length-1;s>=0;s--)(i=e[s])&&(a=(l<3?i(a):l>3?i(o,r,a):i(o,r))||a);l>3&&a&&Object.defineProperty(o,r,a)})([i({childList:!0,subtree:!0})],v.prototype,"onMutation",null),v.style=".gux-form-field-fieldset-container{display:flex;min-inline-size:0;padding:0;margin:0;border:none}.gux-form-field-fieldset-container.gux-beside{flex-direction:row}.gux-form-field-fieldset-container.gux-above{flex-direction:column}.gux-form-field-error{display:none;flex-direction:row;flex-wrap:nowrap;gap:var(--gse-ui-formControl-helper-gap);place-content:stretch flex-start;padding:var(--gse-ui-formControl-helper-errorPadding);font-family:var(--gse-ui-formControl-helper-helperText-fontFamily);font-size:var(--gse-ui-formControl-helper-helperText-fontSize);line-height:var(--gse-ui-formControl-helper-helperText-lineHeight);color:var(--gse-ui-formControl-helper-errorColor)}.gux-form-field-error.gux-show{display:flex}.gux-form-field-error gux-icon{flex:0 0 auto;order:0;color:var(--gse-ui-formControl-helper-errorColor)}.gux-form-field-error .gux-message{flex:0 1 auto;align-self:auto;order:0}.gux-form-field-help{display:none;flex-direction:row;flex-wrap:nowrap;place-content:stretch flex-start;align-items:flex-start;justify-content:flex-start;padding-block-start:var(--gse-ui-formControl-formField-gap);font-family:var(--gse-ui-formControl-helper-helperText-fontFamily);font-size:var(--gse-ui-formControl-helper-helperText-fontSize);line-height:var(--gse-ui-formControl-helper-helperText-lineHeight);color:var(--gse-ui-formControl-helper-defaultColor)}.gux-form-field-help.gux-show{display:flex}.gux-form-field-help .gux-message{flex:0 1 auto;align-self:none;order:0}.gux-form-field-error{display:none;flex-direction:row;flex-wrap:nowrap;gap:var(--gse-ui-formControl-helper-gap);place-content:stretch flex-start;padding:var(--gse-ui-formControl-helper-errorPadding);font-family:var(--gse-ui-formControl-helper-helperText-fontFamily);font-size:var(--gse-ui-formControl-helper-helperText-fontSize);line-height:var(--gse-ui-formControl-helper-helperText-lineHeight);color:var(--gse-ui-formControl-helper-errorColor)}.gux-form-field-error.gux-show{display:flex}.gux-form-field-error gux-icon{flex:0 0 auto;order:0;color:var(--gse-ui-formControl-helper-errorColor)}.gux-form-field-error .gux-message{flex:0 1 auto;align-self:auto;order:0}.gux-form-field-help{display:none;flex-direction:row;flex-wrap:nowrap;place-content:stretch flex-start;align-items:flex-start;justify-content:flex-start;padding-block-start:var(--gse-ui-formControl-formField-gap);font-family:var(--gse-ui-formControl-helper-helperText-fontFamily);font-size:var(--gse-ui-formControl-helper-helperText-fontSize);line-height:var(--gse-ui-formControl-helper-helperText-lineHeight);color:var(--gse-ui-formControl-helper-defaultColor)}.gux-form-field-help.gux-show{display:flex}.gux-form-field-help .gux-message{flex:0 1 auto;align-self:none;order:0}.gux-form-field-visual-label{display:inline-flex;flex:1 0 auto}.gux-form-field-visual-label ::slotted(label){min-inline-size:0}.gux-form-field-visual-label ::slotted(gux-label-info-beta){padding-inline-start:var(--gse-ui-formControl-formField-gap)}.gux-form-field-visual-label.gux-beside{position:relative;inset-block-start:var(--gse-ui-formControl-input-top);inline-size:fit-content;min-inline-size:var(--gse-ui-formControl-input-textfield-minWidth);max-inline-size:fit-content;margin-inline-end:var(--gse-ui-formControl-group-gapItems)}.gux-form-field-visual-label.gux-above{padding-block-end:var(--gse-ui-formControl-formField-gap)}.gux-form-field-visual-label.gux-screenreader{display:none}.gux-form-field-screenreader-label{position:absolute;top:auto;left:-10000px;width:1px;height:1px;overflow:hidden}:host{display:block}:host([disabled]) .gux-form-field-legend-label{opacity:var(--gse-ui-formControl-input-disabled-opacity)}::slotted(gux-form-field-checkbox){padding-block-start:var(--gse-ui-formControl-group-gapItems)}::slotted(gux-form-field-checkbox:first-of-type){padding-block-start:0}:host(.gux-group-checkbox) ::slotted(gux-form-field-checkbox){padding-inline-start:var(--gse-ui-checkbox-group-paddingLeft)}:host(.gux-group-checkbox) slot[name=group-checkbox]::slotted(gux-form-field-checkbox){padding-inline-start:0}.gux-form-field-legend-label{font-family:var(--gse-ui-formControl-label-text-fontFamily);font-size:var(--gse-ui-formControl-label-text-fontSize);font-weight:var(--gse-ui-formControl-label-text-fontWeight);line-height:var(--gse-ui-formControl-label-text-lineHeight);color:var(--gse-ui-formControl-label-labelColor)}:host([disabled]) ::slotted(label){opacity:var(--gse-ui-formControl-input-disabled-opacity)}::slotted(label){font-family:var(--gse-ui-formControl-label-textBold-fontFamily);font-size:var(--gse-ui-formControl-label-textBold-fontSize);font-weight:var(--gse-ui-formControl-label-textBold-fontWeight);line-height:var(--gse-ui-formControl-label-textBold-lineHeight);color:var(--gse-ui-formControl-label-labelColor)}";export{v as gux_form_field_checkbox_group_beta}
1
+ import{r as e,f as o,h as r,a as t}from"./p-COgvjwDR.js";import{O as i}from"./p-vOC0-qDq.js";import{h as l}from"./p-qzV3vtOw.js";import{l as a}from"./p-DxtJDeL9.js";import{b as s}from"./p-D2nzPgXC.js";import{s as n}from"./p-BMRf5pjV.js";import{a as f,G as h}from"./p-Dry1Kkrx.js";import{G as u,a as g,b as c}from"./p-DiDRSPEJ.js";import{g as d}from"./p-MAoEg4ig.js";import{t as p}from"./p-Dfk0nYGa.js";import"./p-Cd4R0amv.js";function x(e,o){if(o){const{checkedCheckboxes:r,totalCheckboxes:t}=function(e){const o=m(e).length,r=function(e){return m(e).filter((e=>e.checked))}(e).length;return{checkedCheckboxes:r,totalCheckboxes:o}}(e);0===r?(o.indeterminate=!1,o.checked=!1):r===t?(o.indeterminate=!1,o.checked=!0):o.indeterminate=!0}}function m(e){return Array.from(e.querySelectorAll('gux-form-field-checkbox input:not(gux-form-field-checkbox[slot="group-checkbox"] input'))}var b={required:"Required"};const v=class{constructor(o){e(this,o),this.indicatorMark="required",this.required=!1,this.hasGroupError=!1,this.hasGroupHelp=!1,this.hasGroupLabelInfo=!1,this.disabled=!1}watchGroupError(e){const o=this.root.querySelectorAll("gux-form-field-checkbox");o&&o.forEach((o=>{o.hasGroupError=e}))}watchDisabled(){this.setDisabledCheckboxes()}onMutation(){this.hasGroupError=l(this.root,"group-error"),this.hasGroupHelp=l(this.root,"group-help"),this.hasGroupLabelInfo=l(this.root,"group-label-info")}async componentWillLoad(){this.getI18nValue=await s(this.root,b),this.hasGroupError=l(this.root,"group-error"),this.hasGroupHelp=l(this.root,"group-help"),this.hasGroupLabelInfo=l(this.root,"group-label-info"),this.setLabel(),this.setDisabledCheckboxes(),p(this.root)}componentDidLoad(){x(this.root,this.root.querySelector('gux-form-field-checkbox[slot="group-checkbox"] input'))}disconnectedCallback(){this.disabledObserver&&this.disabledObserver.disconnect()}getGroupCheckboxElement(){return this.root.querySelector('gux-form-field-checkbox[slot="group-checkbox"] input')}setDisabledCheckboxes(){const e=this.root.querySelectorAll("gux-form-field-checkbox");e&&e.forEach((e=>{e.hasGroupDisabled=this.disabled}))}onMainCheckboxChange(){const e=this.getGroupCheckboxElement();var r;r=e.checked,m(this.root).forEach((e=>{e.checked===r||e.disabled||(e.checked=r,n(e,"input"),n(e,"change"))})),o(this.root)}setupNestedCheckboxes(){this.warnMultipleGroupCheckbox(),this.warnGroupCheckboxNameAttr();const e=this.getGroupCheckboxElement();e?this.root.classList.add("gux-group-checkbox"):this.root.classList.remove("gux-group-checkbox"),null==e||e.addEventListener("change",(()=>{this.onMainCheckboxChange()})),this.initialSetNestedCheckboxes(null==e?void 0:e.checked)}initialSetNestedCheckboxes(e){const o=Array.from(this.root.querySelectorAll('gux-form-field-checkbox input:not(gux-form-field-checkbox[slot="group-checkbox"] input)'));(null==o?void 0:o.length)&&o.forEach((o=>{o.addEventListener("change",(()=>{this.updateMainCheckbox()})),e&&!o.disabled&&(o.checked=!0)}))}warnMultipleGroupCheckbox(){const e=this.root.querySelectorAll('gux-form-field-checkbox[slot="group-checkbox"] input');(null==e?void 0:e.length)>1&&a(this.root,"Can only have one group checkbox")}warnGroupCheckboxNameAttr(){const e=this.getGroupCheckboxElement();(null==e?void 0:e.hasAttribute("name"))&&a(this.root,"Group checkbox should not have a name attribute")}updateMainCheckbox(){x(this.root,this.root.querySelector('gux-form-field-checkbox[slot="group-checkbox"] input')),o(this.root)}renderText(e,o=!1){if(o)return" "+e}render(){var e;return r(c,{key:"cd41207bcf0e7fa581f45453c978e417f00399cd",labelPosition:"above"},r(g,{key:"c5cc46f0e994f49d5c2ce4eee68d0001c2c301ac"},null===(e=this.label)||void 0===e?void 0:e.textContent,this.renderText(this.getI18nValue("required"),this.required),this.renderText(d(this.root,"group-error"),this.hasGroupError),this.renderText(d(this.root,"group-help"),this.hasGroupHelp),this.renderText(d(this.root,"group-label-info"),this.hasGroupLabelInfo)),r(u,{key:"018a9dcafe88d3337bea53a53488083b5b27a6d2",position:"above",required:this.required},r("slot",{key:"e3fb3a38dc90f18b43a618b2a2cb0df8b622d569",name:"group-label",onSlotchange:()=>this.setLabel()}),r("gux-form-field-label-indicator",{key:"26c540bbe51f05d763b28b52b4da9ca243d81cda",variant:this.indicatorMark,required:this.required}),r("slot",{key:"6e8b26bdd292e7a05a0e62d05767240e87bc8ae1",name:"group-label-info"})),r("slot",{key:"998cdb3c4498c27a0524f0103e38724397d462eb",onSlotchange:()=>this.setupNestedCheckboxes(),name:"group-checkbox"}),r("slot",{key:"7b4a080ba9712aa65137ee74337f1185b6671d1d",onSlotchange:()=>this.updateMainCheckbox()}),r(h,{key:"c137d23ed93339078fe224111d085eed892995f3",show:this.hasGroupError},r("slot",{key:"c30cbc6ec4417faaf69091f5eb9104ec14fab858",name:"group-error"})),r(f,{key:"a6217901c574c013c1234399031fec442f18cd08",show:!this.hasGroupError&&this.hasGroupHelp},r("slot",{key:"072e27395b31e3fd73203f75d9e7148369ff0895",name:"group-help"})))}setLabel(){this.label=this.root.querySelector('label[slot="group-label"]')}get root(){return t(this)}static get watchers(){return{hasGroupError:["watchGroupError"],disabled:["watchDisabled"]}}};(function(e,o,r,t){var i,l=arguments.length,a=l<3?o:null===t?t=Object.getOwnPropertyDescriptor(o,r):t;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(e,o,r,t);else for(var s=e.length-1;s>=0;s--)(i=e[s])&&(a=(l<3?i(a):l>3?i(o,r,a):i(o,r))||a);l>3&&a&&Object.defineProperty(o,r,a)})([i({childList:!0,subtree:!0})],v.prototype,"onMutation",null),v.style=".gux-form-field-fieldset-container{display:flex;min-inline-size:0;padding:0;margin:0;border:none}.gux-form-field-fieldset-container.gux-beside{flex-direction:row}.gux-form-field-fieldset-container.gux-above{flex-direction:column}.gux-form-field-error{display:none;flex-direction:row;flex-wrap:nowrap;gap:var(--gse-ui-formControl-helper-gap);place-content:stretch flex-start;padding:var(--gse-ui-formControl-helper-errorPadding);font-family:var(--gse-ui-formControl-helper-helperText-fontFamily);font-size:var(--gse-ui-formControl-helper-helperText-fontSize);line-height:var(--gse-ui-formControl-helper-helperText-lineHeight);color:var(--gse-ui-formControl-helper-errorColor)}.gux-form-field-error.gux-show{display:flex}.gux-form-field-error gux-icon{flex:0 0 auto;order:0;color:var(--gse-ui-formControl-helper-errorColor)}.gux-form-field-error .gux-message{flex:0 1 auto;align-self:auto;order:0}.gux-form-field-help{display:none;flex-direction:row;flex-wrap:nowrap;place-content:stretch flex-start;align-items:flex-start;justify-content:flex-start;padding-block-start:var(--gse-ui-formControl-formField-gap);font-family:var(--gse-ui-formControl-helper-helperText-fontFamily);font-size:var(--gse-ui-formControl-helper-helperText-fontSize);line-height:var(--gse-ui-formControl-helper-helperText-lineHeight);color:var(--gse-ui-formControl-helper-defaultColor)}.gux-form-field-help.gux-show{display:flex}.gux-form-field-help .gux-message{flex:0 1 auto;align-self:none;order:0}.gux-form-field-error{display:none;flex-direction:row;flex-wrap:nowrap;gap:var(--gse-ui-formControl-helper-gap);place-content:stretch flex-start;padding:var(--gse-ui-formControl-helper-errorPadding);font-family:var(--gse-ui-formControl-helper-helperText-fontFamily);font-size:var(--gse-ui-formControl-helper-helperText-fontSize);line-height:var(--gse-ui-formControl-helper-helperText-lineHeight);color:var(--gse-ui-formControl-helper-errorColor)}.gux-form-field-error.gux-show{display:flex}.gux-form-field-error gux-icon{flex:0 0 auto;order:0;color:var(--gse-ui-formControl-helper-errorColor)}.gux-form-field-error .gux-message{flex:0 1 auto;align-self:auto;order:0}.gux-form-field-help{display:none;flex-direction:row;flex-wrap:nowrap;place-content:stretch flex-start;align-items:flex-start;justify-content:flex-start;padding-block-start:var(--gse-ui-formControl-formField-gap);font-family:var(--gse-ui-formControl-helper-helperText-fontFamily);font-size:var(--gse-ui-formControl-helper-helperText-fontSize);line-height:var(--gse-ui-formControl-helper-helperText-lineHeight);color:var(--gse-ui-formControl-helper-defaultColor)}.gux-form-field-help.gux-show{display:flex}.gux-form-field-help .gux-message{flex:0 1 auto;align-self:none;order:0}.gux-form-field-visual-label{display:inline-flex;flex:1 0 auto}.gux-form-field-visual-label ::slotted(label){min-inline-size:0}.gux-form-field-visual-label ::slotted(gux-label-info-beta){padding-inline-start:var(--gse-ui-formControl-formField-gap)}.gux-form-field-visual-label.gux-beside{position:relative;inset-block-start:var(--gse-ui-formControl-input-top);inline-size:fit-content;min-inline-size:var(--gse-ui-formControl-input-textfield-minWidth);max-inline-size:fit-content;margin-inline-end:var(--gse-ui-formControl-group-gapItems)}.gux-form-field-visual-label.gux-above{padding-block-end:var(--gse-ui-formControl-formField-gap)}.gux-form-field-visual-label.gux-screenreader{display:none}.gux-form-field-screenreader-label{position:absolute;top:auto;left:-10000px;width:1px;height:1px;overflow:hidden}:host{display:block}:host([disabled]) .gux-form-field-legend-label{opacity:var(--gse-ui-formControl-input-disabled-opacity)}::slotted(gux-form-field-checkbox){padding-block-start:var(--gse-ui-formControl-group-gapItems)}::slotted(gux-form-field-checkbox:first-of-type){padding-block-start:0}:host(.gux-group-checkbox) ::slotted(gux-form-field-checkbox){padding-inline-start:var(--gse-ui-checkbox-group-paddingLeft)}:host(.gux-group-checkbox) slot[name=group-checkbox]::slotted(gux-form-field-checkbox){padding-inline-start:0}.gux-form-field-legend-label{font-family:var(--gse-ui-formControl-label-text-fontFamily);font-size:var(--gse-ui-formControl-label-text-fontSize);font-weight:var(--gse-ui-formControl-label-text-fontWeight);line-height:var(--gse-ui-formControl-label-text-lineHeight);color:var(--gse-ui-formControl-label-labelColor)}:host([disabled]) ::slotted(label){opacity:var(--gse-ui-formControl-input-disabled-opacity)}::slotted(label){font-family:var(--gse-ui-formControl-label-textBold-fontFamily);font-size:var(--gse-ui-formControl-label-textBold-fontSize);font-weight:var(--gse-ui-formControl-label-textBold-fontWeight);line-height:var(--gse-ui-formControl-label-textBold-lineHeight);color:var(--gse-ui-formControl-label-labelColor)}";export{v as gux_form_field_checkbox_group_beta}
@@ -1 +1 @@
1
- import{r as t,h as o,H as e,a as n}from"./p-COgvjwDR.js";import{t as r}from"./p-DEpB6GnC.js";import{a}from"./p-DxtJDeL9.js";const i=class{constructor(o){t(this,o),this.accent="secondary"}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:"dd85e7b2e61d8a311d861faa2e56075fc7c81748",accent:this.accent,"icon-only":this.iconOnly},o("slot",{key:"30d12e7075b5476c40bb4fa65910bd3cb0d079c7"}))}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]) ::slotted(input[type=button]),:host([accent=inline]) ::slotted(input[type=submit]),:host([accent=inline]) ::slotted(button){min-inline-size:initial;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,a as n}from"./p-COgvjwDR.js";import{t as r}from"./p-Dfk0nYGa.js";import{a}from"./p-DxtJDeL9.js";const i=class{constructor(o){t(this,o),this.accent="secondary"}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:"dd85e7b2e61d8a311d861faa2e56075fc7c81748",accent:this.accent,"icon-only":this.iconOnly},o("slot",{key:"30d12e7075b5476c40bb4fa65910bd3cb0d079c7"}))}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]) ::slotted(input[type=button]),:host([accent=inline]) ::slotted(input[type=submit]),:host([accent=inline]) ::slotted(button){min-inline-size:initial;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 o,h as t,a as e,c as r}from"./p-COgvjwDR.js";import{t as i}from"./p-DEpB6GnC.js";import{r as n}from"./p-D9jKBqIb.js";import{a,c as s,o as u,f as l,s as d,b as c}from"./p-C8aV-TzO.js";import{O as g}from"./p-DGRFHar4.js";import{g as b}from"./p-BBpQG81s.js";import{f as h}from"./p-Cr5bTKWF.js";const p=class{constructor(t){o(this,t),this.buttonId=n("button"),this.type="button",this.disabled=!1,this.accent="secondary",this.autofocus=!1}connectedCallback(){this.slotChanged()}componentWillLoad(){i(this.root,{variant:this.accent})}render(){return[t("button",{key:"5f14032087d6595e0db541a39ac6f24c6d937e50",id:this.buttonId,type:this.type,disabled:this.disabled,class:{[`gux-${this.accent}`]:!0,"gux-icon-only":this.iconOnly},"aria-label":this.guxTitle,autofocus:this.autofocus},t("slot",{key:"157bc4883613d08916f3db528eedd6c24a35d962",onSlotchange:this.slotChanged.bind(this)})),this.renderTooltip()]}renderTooltip(){return this.guxTitle?t("gux-tooltip-beta",{for:this.buttonId,visualOnly:!0},t("div",{slot:"content"},this.guxTitle)):""}stopEventIfDisabled(o){this.disabled&&(o.stopImmediatePropagation(),o.stopPropagation(),o.preventDefault())}makeSlotContentDisableable(){this.root.shadowRoot.addEventListener("click",(o=>this.stopEventIfDisabled(o))),Array.from(this.root.children).forEach((o=>{o.addEventListener("click",(o=>this.stopEventIfDisabled(o)))}))}hasIconOnly(){const o=Array.from(this.root.children);if(1===o.length){if("GUX-ICON"===o[0].tagName)return!0}else if(2===o.length&&"GUX-ICON"===o[0].tagName&&["GUX-TOOLTIP","GUX-TOOLTIP-BETA"].includes(o[1].tagName))return!0;return!1}slotChanged(){this.makeSlotContentDisableable(),this.iconOnly=this.hasIconOnly()}static get delegatesFocus(){return!0}get root(){return e(this)}};p.style=":host{display:inline-block;pointer-events:none;-webkit-user-select:none;user-select:none}:host(:focus){outline:none}:host(:focus) button{outline:none}::slotted(gux-icon){inline-size:var(--gse-ui-button-icon-size);block-size:var(--gse-ui-button-icon-size)}::slotted(*){padding-inline-start:var(--gse-ui-button-gap);vertical-align:middle}::slotted(gux-tooltip),::slotted(gux-tooltip-beta){padding-inline-start:0}::slotted(*:first-child){padding:0}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)}button.gux-icon-only{display:inline-flex;padding:var(--gse-ui-button-default-paddingIconOnly)}button[disabled]{pointer-events:none;cursor:default;opacity:var(--gse-ui-button-disabled-opacity)}button:hover:enabled{color:var(--gse-ui-button-secondary-hover-foregroundColor);background-color:var(--gse-ui-button-secondary-hover-backgroundColor)}button:active:enabled{color:var(--gse-ui-button-secondary-active-foregroundColor);background-color:var(--gse-ui-button-secondary-active-backgroundColor)}button:focus-visible:enabled{outline:var(--gse-semantic-focusOutline-md-borderWidth) solid var(--gse-semantic-border-focus);outline-offset:var(--gse-semantic-focusOutline-offset);border-radius:var(--gse-semantic-focusOutline-sm-borderRadius)}button.gux-primary{color:var(--gse-ui-button-primary-default-foregroundColor);background-color:var(--gse-ui-button-primary-default-backgroundColor)}button.gux-primary:hover:enabled{color:var(--gse-ui-button-primary-hover-foregroundColor);background-color:var(--gse-ui-button-primary-hover-backgroundColor)}button.gux-primary:active:enabled{color:var(--gse-ui-button-primary-active-foregroundColor);background-color:var(--gse-ui-button-primary-active-backgroundColor)}button.gux-tertiary{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);}button.gux-tertiary.gux-icon-only{padding:calc(var(--gse-ui-button-default-paddingIconOnly) - var(--gse-ui-button-tertiary-default-border-width))}button.gux-tertiary:hover:enabled{color:var(--gse-ui-button-tertiary-hover-foregroundColor);background-color:var(--gse-ui-button-tertiary-hover-backgroundColor)}button.gux-tertiary:active:enabled{color:var(--gse-ui-button-tertiary-active-foregroundColor);background-color:var(--gse-ui-button-tertiary-active-backgroundColor)}button.gux-ghost{color:var(--gse-ui-button-ghost-default-foregroundColor);background-color:var(--gse-ui-button-ghost-default-backgroundColor)}button.gux-ghost:hover:enabled{color:var(--gse-ui-button-ghost-hover-foregroundColor);background-color:var(--gse-ui-button-ghost-hover-backgroundColor)}button.gux-ghost:active:enabled{color:var(--gse-ui-button-ghost-active-foregroundColor);background-color:var(--gse-ui-button-ghost-active-backgroundColor)}button.gux-danger{color:var(--gse-ui-button-danger-default-foregroundColor);background-color:var(--gse-ui-button-danger-default-backgroundColor)}button.gux-danger:hover:enabled{color:var(--gse-ui-button-danger-hover-foregroundColor);background-color:var(--gse-ui-button-danger-hover-backgroundColor)}button.gux-danger:active:enabled{color:var(--gse-ui-button-danger-active-foregroundColor);background-color:var(--gse-ui-button-danger-active-backgroundColor)}button.gux-inline{min-inline-size:initial;block-size:initial;padding:0;color:var(--gse-ui-links-default-foregroundColor);background:none;border:none;border-radius:0}button.gux-inline[disabled]{color:var(--gse-ui-links-disabled-foregroundColor)}button.gux-inline:hover:enabled{color:var(--gse-ui-links-hover-foregroundColor);text-decoration:underline;background:none}button.gux-inline:active:enabled{color:var(--gse-ui-links-active-foregroundColor);text-decoration:underline;background:none}";var v=function(o,t,e,r){var i,n=arguments.length,a=n<3?t:null===r?r=Object.getOwnPropertyDescriptor(t,e):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(o,t,e,r);else for(var s=o.length-1;s>=0;s--)(i=o[s])&&(a=(n<3?i(a):n>3?i(t,e,a):i(t,e))||a);return n>3&&a&&Object.defineProperty(t,e,a),a};const f=class{constructor(t){o(this,t),this.guxdismiss=r(this,"guxdismiss",7),this.position="bottom",this.displayDismissButton=!1,this.closeOnClickOutside=!1,this.isOpen=!1}onKeyDown(o){"Escape"===o.key&&this.dismiss()}onFocusout(o){!this.closeOnClickOutside&&this.displayDismissButton||o.relatedTarget&&!this.root.contains(o.relatedTarget)&&this.dismiss()}checkForClickOutside(o){const t=o.composedPath(),e=h(this.root,this.for),r=t.includes(e);!this.closeOnClickOutside&&this.displayDismissButton||!this.isOpen||r||this.dismiss()}get titleSlot(){return b(this.root,"title")}get footerSlot(){return b(this.root,"footer")}runUpdatePosition(){this.cleanupUpdatePosition&&this.cleanupUpdatePosition(),this.root.isConnected?this.cleanupUpdatePosition=a(h(this.root,this.for),this.popupElement,(()=>this.updatePosition()),{ancestorScroll:!0,elementResize:!0,animationFrame:!0,ancestorResize:!0}):this.disconnectedCallback()}updatePosition(){const o=h(this.root,this.for);this.popupElement&&o&&s(o,this.popupElement,{placement:this.position,middleware:[u(7),l(),d(),c({element:this.arrowElement,padding:16})]}).then((({x:o,y:t,middlewareData:e,placement:r})=>{Object.assign(this.popupElement.style,{left:`${o}px`,top:`${t}px`});const i=r.split("-")[0],n={top:"bottom",right:"left",bottom:"top",left:"right"}[i],a={top:0,right:90,bottom:180,left:-90}[i],s="left"===i||"right"===i?15:12;if(e.arrow){let o=e.arrow.x;const t=e.arrow.y;"left"!==i&&"right"!==i||(o+=4),this.popupElement.setAttribute("data-placement",r),Object.assign(this.arrowElement.style,{left:null!=o?`${o}px`:"",top:null!=t?`${t}px`:"",right:"",bottom:"",[n]:-s+"px",transform:`rotate(${a}deg)`})}}))}dismiss(){this.guxdismiss.emit().defaultPrevented||(this.isOpen=!1)}connectedCallback(){i(this.root,{variant:this.position})}componentDidLoad(){this.isOpen&&this.runUpdatePosition()}componentDidUpdate(){this.isOpen?this.runUpdatePosition():this.cleanupUpdatePosition&&this.cleanupUpdatePosition()}disconnectedCallback(){this.cleanupUpdatePosition&&this.cleanupUpdatePosition()}render(){return t("div",{key:"d39381f2339e503d7caa1df3d5a49e0c84929666",ref:o=>this.popupElement=o,class:{"gux-hidden":!this.isOpen,"gux-popover-wrapper":!0},"data-placement":!0},t("div",{key:"24eb2729b0b32aa303724585d2db15e106e09989",ref:o=>this.arrowElement=o,class:"gux-arrow"},t("div",{key:"7241c98e5998ea8646972fda4b9c6535336e978b",class:"gux-arrow-caret"})),this.displayDismissButton&&t("gux-dismiss-button",{key:"d30fd8b754eb3921d9853804869816d96c615489",onClick:this.dismiss.bind(this)}),t("div",{key:"c87a218894f377225916028e4b38fde0f7e8802b",class:{"gux-popover-header":Boolean(this.titleSlot)}},t("slot",{key:"42cc1956bbdfef21fbf7d6db6ff145b7b8245545",name:"title"})),t("div",{key:"b15673b3916fe3d5262f33326e04007caf899513",class:"gux-popover-content"},t("slot",{key:"f0d7097e894ba6b14594c0f43151013ad4f635ff"})),t("div",{key:"ae80a565daf3404f225a4009bb3ef5268f89bef2",class:{"gux-popover-footer":Boolean(this.footerSlot)}},t("slot",{key:"e09b54fa2375db71a5dbdceb7937975436a44b7d",name:"footer"})))}get root(){return e(this)}};v([g({triggerEvents:"mousedown"})],f.prototype,"checkForClickOutside",null),v([function(){let o=!1,t=null;return(e,r,i)=>{const n=i.value;i.value=function(...e){o||(n.apply(this,e),o=!0,clearTimeout(t),t=setTimeout((()=>{o=!1}),100))}}}()],f.prototype,"dismiss",null),f.style=".gux-popover-wrapper{position:absolute;inset-block-start:0;inset-inline-start:0;z-index:var(--gse-semantic-zIndex-popover);display:inline-block;padding:var(--gse-ui-popover-padding);background-color:var(--gse-ui-popover-backgroundColor);border-radius:var(--gse-ui-popover-borderRadius);box-shadow:var(--gse-ui-popover-boxShadow)}.gux-popover-wrapper.gux-hidden{display:none}.gux-popover-wrapper .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-popover-wrapper .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))}.gux-popover-wrapper .gux-popover-header{display:flex;flex-direction:row;place-content:center space-between;align-items:center;padding-block-end:var(--gse-ui-popover-gap);font-family:var(--gse-ui-popover-title-text-fontFamily);font-size:var(--gse-ui-popover-title-text-fontSize);font-weight:var(--gse-ui-popover-title-text-fontWeight);line-height:var(--gse-ui-popover-title-text-lineHeight);color:var(--gse-ui-popover-headerColor)}.gux-popover-wrapper .gux-popover-footer{padding-block-start:var(--gse-ui-popover-gap)}";export{p as gux_button,f as gux_popover}
1
+ import{r as o,h as t,a as e,c as r}from"./p-COgvjwDR.js";import{t as i}from"./p-Dfk0nYGa.js";import{r as n}from"./p-D9jKBqIb.js";import{a,c as s,o as u,f as l,s as d,b as c}from"./p-C8aV-TzO.js";import{O as g}from"./p-DGRFHar4.js";import{g as b}from"./p-BBpQG81s.js";import{f as h}from"./p-Cr5bTKWF.js";const p=class{constructor(t){o(this,t),this.buttonId=n("button"),this.type="button",this.disabled=!1,this.accent="secondary",this.autofocus=!1}connectedCallback(){this.slotChanged()}componentWillLoad(){i(this.root,{variant:this.accent})}render(){return[t("button",{key:"5f14032087d6595e0db541a39ac6f24c6d937e50",id:this.buttonId,type:this.type,disabled:this.disabled,class:{[`gux-${this.accent}`]:!0,"gux-icon-only":this.iconOnly},"aria-label":this.guxTitle,autofocus:this.autofocus},t("slot",{key:"157bc4883613d08916f3db528eedd6c24a35d962",onSlotchange:this.slotChanged.bind(this)})),this.renderTooltip()]}renderTooltip(){return this.guxTitle?t("gux-tooltip-beta",{for:this.buttonId,visualOnly:!0},t("div",{slot:"content"},this.guxTitle)):""}stopEventIfDisabled(o){this.disabled&&(o.stopImmediatePropagation(),o.stopPropagation(),o.preventDefault())}makeSlotContentDisableable(){this.root.shadowRoot.addEventListener("click",(o=>this.stopEventIfDisabled(o))),Array.from(this.root.children).forEach((o=>{o.addEventListener("click",(o=>this.stopEventIfDisabled(o)))}))}hasIconOnly(){const o=Array.from(this.root.children);if(1===o.length){if("GUX-ICON"===o[0].tagName)return!0}else if(2===o.length&&"GUX-ICON"===o[0].tagName&&["GUX-TOOLTIP","GUX-TOOLTIP-BETA"].includes(o[1].tagName))return!0;return!1}slotChanged(){this.makeSlotContentDisableable(),this.iconOnly=this.hasIconOnly()}static get delegatesFocus(){return!0}get root(){return e(this)}};p.style=":host{display:inline-block;pointer-events:none;-webkit-user-select:none;user-select:none}:host(:focus){outline:none}:host(:focus) button{outline:none}::slotted(gux-icon){inline-size:var(--gse-ui-button-icon-size);block-size:var(--gse-ui-button-icon-size)}::slotted(*){padding-inline-start:var(--gse-ui-button-gap);vertical-align:middle}::slotted(gux-tooltip),::slotted(gux-tooltip-beta){padding-inline-start:0}::slotted(*:first-child){padding:0}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)}button.gux-icon-only{display:inline-flex;padding:var(--gse-ui-button-default-paddingIconOnly)}button[disabled]{pointer-events:none;cursor:default;opacity:var(--gse-ui-button-disabled-opacity)}button:hover:enabled{color:var(--gse-ui-button-secondary-hover-foregroundColor);background-color:var(--gse-ui-button-secondary-hover-backgroundColor)}button:active:enabled{color:var(--gse-ui-button-secondary-active-foregroundColor);background-color:var(--gse-ui-button-secondary-active-backgroundColor)}button:focus-visible:enabled{outline:var(--gse-semantic-focusOutline-md-borderWidth) solid var(--gse-semantic-border-focus);outline-offset:var(--gse-semantic-focusOutline-offset);border-radius:var(--gse-semantic-focusOutline-sm-borderRadius)}button.gux-primary{color:var(--gse-ui-button-primary-default-foregroundColor);background-color:var(--gse-ui-button-primary-default-backgroundColor)}button.gux-primary:hover:enabled{color:var(--gse-ui-button-primary-hover-foregroundColor);background-color:var(--gse-ui-button-primary-hover-backgroundColor)}button.gux-primary:active:enabled{color:var(--gse-ui-button-primary-active-foregroundColor);background-color:var(--gse-ui-button-primary-active-backgroundColor)}button.gux-tertiary{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);}button.gux-tertiary.gux-icon-only{padding:calc(var(--gse-ui-button-default-paddingIconOnly) - var(--gse-ui-button-tertiary-default-border-width))}button.gux-tertiary:hover:enabled{color:var(--gse-ui-button-tertiary-hover-foregroundColor);background-color:var(--gse-ui-button-tertiary-hover-backgroundColor)}button.gux-tertiary:active:enabled{color:var(--gse-ui-button-tertiary-active-foregroundColor);background-color:var(--gse-ui-button-tertiary-active-backgroundColor)}button.gux-ghost{color:var(--gse-ui-button-ghost-default-foregroundColor);background-color:var(--gse-ui-button-ghost-default-backgroundColor)}button.gux-ghost:hover:enabled{color:var(--gse-ui-button-ghost-hover-foregroundColor);background-color:var(--gse-ui-button-ghost-hover-backgroundColor)}button.gux-ghost:active:enabled{color:var(--gse-ui-button-ghost-active-foregroundColor);background-color:var(--gse-ui-button-ghost-active-backgroundColor)}button.gux-danger{color:var(--gse-ui-button-danger-default-foregroundColor);background-color:var(--gse-ui-button-danger-default-backgroundColor)}button.gux-danger:hover:enabled{color:var(--gse-ui-button-danger-hover-foregroundColor);background-color:var(--gse-ui-button-danger-hover-backgroundColor)}button.gux-danger:active:enabled{color:var(--gse-ui-button-danger-active-foregroundColor);background-color:var(--gse-ui-button-danger-active-backgroundColor)}button.gux-inline{min-inline-size:initial;block-size:initial;padding:0;color:var(--gse-ui-links-default-foregroundColor);background:none;border:none;border-radius:0}button.gux-inline[disabled]{color:var(--gse-ui-links-disabled-foregroundColor)}button.gux-inline:hover:enabled{color:var(--gse-ui-links-hover-foregroundColor);text-decoration:underline;background:none}button.gux-inline:active:enabled{color:var(--gse-ui-links-active-foregroundColor);text-decoration:underline;background:none}";var v=function(o,t,e,r){var i,n=arguments.length,a=n<3?t:null===r?r=Object.getOwnPropertyDescriptor(t,e):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(o,t,e,r);else for(var s=o.length-1;s>=0;s--)(i=o[s])&&(a=(n<3?i(a):n>3?i(t,e,a):i(t,e))||a);return n>3&&a&&Object.defineProperty(t,e,a),a};const f=class{constructor(t){o(this,t),this.guxdismiss=r(this,"guxdismiss",7),this.position="bottom",this.displayDismissButton=!1,this.closeOnClickOutside=!1,this.isOpen=!1}onKeyDown(o){"Escape"===o.key&&this.dismiss()}onFocusout(o){!this.closeOnClickOutside&&this.displayDismissButton||o.relatedTarget&&!this.root.contains(o.relatedTarget)&&this.dismiss()}checkForClickOutside(o){const t=o.composedPath(),e=h(this.root,this.for),r=t.includes(e);!this.closeOnClickOutside&&this.displayDismissButton||!this.isOpen||r||this.dismiss()}get titleSlot(){return b(this.root,"title")}get footerSlot(){return b(this.root,"footer")}runUpdatePosition(){this.cleanupUpdatePosition&&this.cleanupUpdatePosition(),this.root.isConnected?this.cleanupUpdatePosition=a(h(this.root,this.for),this.popupElement,(()=>this.updatePosition()),{ancestorScroll:!0,elementResize:!0,animationFrame:!0,ancestorResize:!0}):this.disconnectedCallback()}updatePosition(){const o=h(this.root,this.for);this.popupElement&&o&&s(o,this.popupElement,{placement:this.position,middleware:[u(7),l(),d(),c({element:this.arrowElement,padding:16})]}).then((({x:o,y:t,middlewareData:e,placement:r})=>{Object.assign(this.popupElement.style,{left:`${o}px`,top:`${t}px`});const i=r.split("-")[0],n={top:"bottom",right:"left",bottom:"top",left:"right"}[i],a={top:0,right:90,bottom:180,left:-90}[i],s="left"===i||"right"===i?15:12;if(e.arrow){let o=e.arrow.x;const t=e.arrow.y;"left"!==i&&"right"!==i||(o+=4),this.popupElement.setAttribute("data-placement",r),Object.assign(this.arrowElement.style,{left:null!=o?`${o}px`:"",top:null!=t?`${t}px`:"",right:"",bottom:"",[n]:-s+"px",transform:`rotate(${a}deg)`})}}))}dismiss(){this.guxdismiss.emit().defaultPrevented||(this.isOpen=!1)}connectedCallback(){i(this.root,{variant:this.position})}componentDidLoad(){this.isOpen&&this.runUpdatePosition()}componentDidUpdate(){this.isOpen?this.runUpdatePosition():this.cleanupUpdatePosition&&this.cleanupUpdatePosition()}disconnectedCallback(){this.cleanupUpdatePosition&&this.cleanupUpdatePosition()}render(){return t("div",{key:"d39381f2339e503d7caa1df3d5a49e0c84929666",ref:o=>this.popupElement=o,class:{"gux-hidden":!this.isOpen,"gux-popover-wrapper":!0},"data-placement":!0},t("div",{key:"24eb2729b0b32aa303724585d2db15e106e09989",ref:o=>this.arrowElement=o,class:"gux-arrow"},t("div",{key:"7241c98e5998ea8646972fda4b9c6535336e978b",class:"gux-arrow-caret"})),this.displayDismissButton&&t("gux-dismiss-button",{key:"d30fd8b754eb3921d9853804869816d96c615489",onClick:this.dismiss.bind(this)}),t("div",{key:"c87a218894f377225916028e4b38fde0f7e8802b",class:{"gux-popover-header":Boolean(this.titleSlot)}},t("slot",{key:"42cc1956bbdfef21fbf7d6db6ff145b7b8245545",name:"title"})),t("div",{key:"b15673b3916fe3d5262f33326e04007caf899513",class:"gux-popover-content"},t("slot",{key:"f0d7097e894ba6b14594c0f43151013ad4f635ff"})),t("div",{key:"ae80a565daf3404f225a4009bb3ef5268f89bef2",class:{"gux-popover-footer":Boolean(this.footerSlot)}},t("slot",{key:"e09b54fa2375db71a5dbdceb7937975436a44b7d",name:"footer"})))}get root(){return e(this)}};v([g({triggerEvents:"mousedown"})],f.prototype,"checkForClickOutside",null),v([function(){let o=!1,t=null;return(e,r,i)=>{const n=i.value;i.value=function(...e){o||(n.apply(this,e),o=!0,clearTimeout(t),t=setTimeout((()=>{o=!1}),100))}}}()],f.prototype,"dismiss",null),f.style=".gux-popover-wrapper{position:absolute;inset-block-start:0;inset-inline-start:0;z-index:var(--gse-semantic-zIndex-popover);display:inline-block;padding:var(--gse-ui-popover-padding);background-color:var(--gse-ui-popover-backgroundColor);border-radius:var(--gse-ui-popover-borderRadius);box-shadow:var(--gse-ui-popover-boxShadow)}.gux-popover-wrapper.gux-hidden{display:none}.gux-popover-wrapper .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-popover-wrapper .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))}.gux-popover-wrapper .gux-popover-header{display:flex;flex-direction:row;place-content:center space-between;align-items:center;padding-block-end:var(--gse-ui-popover-gap);font-family:var(--gse-ui-popover-title-text-fontFamily);font-size:var(--gse-ui-popover-title-text-fontSize);font-weight:var(--gse-ui-popover-title-text-fontWeight);line-height:var(--gse-ui-popover-title-text-lineHeight);color:var(--gse-ui-popover-headerColor)}.gux-popover-wrapper .gux-popover-footer{padding-block-start:var(--gse-ui-popover-gap)}";export{p as gux_button,f as gux_popover}
@@ -1 +1 @@
1
- import{r as e,h as o,a as r}from"./p-COgvjwDR.js";import{c as t,o as i}from"./p-Cb3FOYGS.js";import{O as n}from"./p-vOC0-qDq.js";import{o as l}from"./p-De1NnCmO.js";import{p as a}from"./p-PYfNAK8p.js";import{h as s}from"./p-qzV3vtOw.js";import{G as u,a as f}from"./p-Dry1Kkrx.js";import{G as p,a as d}from"./p-Co3DWTSR.js";import{g as c,v as g,a as h}from"./p-DHLxhscH.js";import{t as m}from"./p-DEpB6GnC.js";import"./p-D9jKBqIb.js";import"./p-DxtJDeL9.js";import"./p-BMRf5pjV.js";const b=class{constructor(o){e(this,o),this.indicatorMark="required",this.hasError=!1,this.hasHelp=!1}onMutation(){this.labelInfo=this.root.querySelector("[slot=label-info]"),this.hasError=s(this.root,"error"),this.hasHelp=s(this.root,"help")}handleKeyup(e){var o,r;switch(e.key){case"Tab":this.input.matches(":focus-visible")&&(null===(o=this.labelInfo)||void 0===o||o.showTooltip(),this.hideLabelInfoTimeout=setTimeout((()=>{var e;null===(e=this.labelInfo)||void 0===e||e.hideTooltip()}),6e3));break;case"Shift":break;default:this.input.matches(":focus-visible")&&(null===(r=this.labelInfo)||void 0===r||r.hideTooltip(),clearTimeout(this.hideLabelInfoTimeout))}}onFocusout(){var e;null===(e=this.labelInfo)||void 0===e||e.hideTooltip(),clearTimeout(this.hideLabelInfoTimeout)}componentWillLoad(){this.setInput(),this.setLabel(),this.labelInfo=this.root.querySelector("[slot=label-info]"),this.hasError=s(this.root,"error"),this.hasHelp=s(this.root,"help"),m(this.root,{variant:this.variant})}disconnectedCallback(){this.disabledObserver&&this.disabledObserver.disconnect(),this.requiredObserver&&this.requiredObserver.disconnect()}render(){return o(d,{key:"a8ae60daff847ec4ba920e15c5c2229bb50a54ec",labelPosition:this.computedLabelPosition},o(p,{key:"cb5e53870665b34f5cba57d83f33db9515b867ec",required:this.required,position:this.computedLabelPosition},o("slot",{key:"be26235a31bf076b8878ab33d36bf2dda75cad80",name:"label",onSlotchange:()=>this.setLabel()}),o("gux-form-field-label-indicator",{key:"ffa2a4541738be67eae851e8ede06542e7bffae1",variant:this.indicatorMark,required:this.required}),o("slot",{key:"95a1761073c81ccb8adb21830e45323187864552",name:"label-info"})),o("div",{key:"dc1f66b955fa64f65ab9a82445d6f97e788c0cd9",class:"gux-input-and-error-container"},o("div",{key:"c87168f74a8d5285c02756f2237bf69dc180e07a",class:{"gux-input":!0,"gux-input-error":this.hasError}},o("div",{key:"ae187746dc81e70dbcd67571f775e4844c8dfb70",class:{"gux-input-container":!0,"gux-disabled":this.disabled}},o("slot",{key:"3ed3f0efb57ad55a3d6873eb57930af35924ac6e",name:"input",onSlotchange:()=>this.setInput()}))),o(u,{key:"93d384c4620676a97972abd766a77aca358f6a24",show:this.hasError},o("slot",{key:"3750328ca7c7b62a278a4805db4c7ac14e67aaa6",name:"error"})),o(f,{key:"7d26678c1b31303599741131bcb7228343a0ea7b",show:!this.hasError&&this.hasHelp},o("slot",{key:"52973388e061ee7efdae4b62f579934a494881f8",name:"help"}))))}get variant(){return this.labelPosition?this.labelPosition.toLowerCase():"none"}setInput(){this.input=c(this.root,'input[type="color"][slot="input"]'),a(this.input),this.disabled=t(this.input),this.required=this.input.required,this.disabledObserver=i(this.input,(e=>{this.disabled=e})),this.requiredObserver=l(this.input,(e=>{this.required=e})),g(this.root,this.input)}setLabel(){this.label=this.root.querySelector('label[slot="label"]'),this.computedLabelPosition=h(this.label,this.labelPosition)}get root(){return r(this)}};(function(e,o,r,t){var i,n=arguments.length,l=n<3?o:null===t?t=Object.getOwnPropertyDescriptor(o,r):t;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)l=Reflect.decorate(e,o,r,t);else for(var a=e.length-1;a>=0;a--)(i=e[a])&&(l=(n<3?i(l):n>3?i(o,r,l):i(o,r))||l);n>3&&l&&Object.defineProperty(o,r,l)})([n({childList:!0,subtree:!0})],b.prototype,"onMutation",null),b.style=".gux-form-field-container{display:flex;flex-direction:column}.gux-form-field-container.gux-beside{flex-direction:row}.gux-form-field-error{display:none;flex-direction:row;flex-wrap:nowrap;gap:var(--gse-ui-formControl-helper-gap);place-content:stretch flex-start;padding:var(--gse-ui-formControl-helper-errorPadding);font-family:var(--gse-ui-formControl-helper-helperText-fontFamily);font-size:var(--gse-ui-formControl-helper-helperText-fontSize);line-height:var(--gse-ui-formControl-helper-helperText-lineHeight);color:var(--gse-ui-formControl-helper-errorColor)}.gux-form-field-error.gux-show{display:flex}.gux-form-field-error gux-icon{flex:0 0 auto;order:0;color:var(--gse-ui-formControl-helper-errorColor)}.gux-form-field-error .gux-message{flex:0 1 auto;align-self:auto;order:0}.gux-form-field-label{display:inline-flex;flex:1 0 auto}.gux-form-field-label ::slotted(label){min-inline-size:0}.gux-form-field-label ::slotted(gux-label-info-beta){padding-inline-start:var(--gse-ui-formControl-formField-gap)}.gux-form-field-label.gux-beside{position:relative;inset-block-start:var(--gse-ui-formControl-input-top);inline-size:fit-content;min-inline-size:var(--gse-ui-formControl-input-textfield-minWidth);max-inline-size:fit-content;margin-inline-end:var(--gse-ui-formControl-group-gapItems)}.gux-form-field-label.gux-above{padding-block-end:var(--gse-ui-formControl-formField-gap)}.gux-form-field-label.gux-screenreader{position:absolute;top:auto;left:-10000px;width:1px;height:1px;overflow:hidden}.gux-form-field-help{display:none;flex-direction:row;flex-wrap:nowrap;place-content:stretch flex-start;align-items:flex-start;justify-content:flex-start;padding-block-start:var(--gse-ui-formControl-formField-gap);font-family:var(--gse-ui-formControl-helper-helperText-fontFamily);font-size:var(--gse-ui-formControl-helper-helperText-fontSize);line-height:var(--gse-ui-formControl-helper-helperText-lineHeight);color:var(--gse-ui-formControl-helper-defaultColor)}.gux-form-field-help.gux-show{display:flex}.gux-form-field-help .gux-message{flex:0 1 auto;align-self:none;order:0}:host{display:block}::slotted(label){font-family:var(--gse-ui-formControl-label-textBold-fontFamily);font-size:var(--gse-ui-formControl-label-textBold-fontSize);font-weight:var(--gse-ui-formControl-label-textBold-fontWeight);line-height:var(--gse-ui-formControl-label-textBold-lineHeight);color:var(--gse-ui-formControl-label-labelColor)}::slotted(input){flex:0 1 auto;align-self:auto;order:0;inline-size:var(--gse-ui-colorPicker-input-swatchSizing);min-inline-size:var(--gse-ui-colorPicker-input-swatchSizing);block-size:var(--gse-ui-colorPicker-input-swatchSizing);padding:0;overflow:hidden;text-overflow:ellipsis;font-family:var(--gse-ui-formControl-input-contentText-fontFamily);font-size:var(--gse-ui-formControl-input-contentText-fontSize);font-weight:var(--gse-ui-formControl-input-contentText-fontWeight);line-height:var(--gse-ui-formControl-input-contentText-lineHeight);color:var(--gse-ui-formControl-input-populatedColor);text-align:end;outline:none;background-color:var(--gse-ui-formControl-input-backgroundColor);border:none}::slotted(input)::placeholder{color:var(--gse-ui-formControl-input-placeholderColor);opacity:1}.gux-input-and-error-container{flex-grow:1}.gux-input-and-error-container .gux-input{display:flex;flex-direction:row;flex-wrap:nowrap;align-content:stretch;align-items:center}.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;align-self:auto;order:0;inline-size:var(--gse-ui-formControl-input-colorPicker-size);block-size:var(--gse-ui-formControl-input-colorPicker-size);font-family:var(--gse-ui-formControl-input-contentText-fontFamily);font-size:var(--gse-ui-formControl-input-contentText-fontSize);line-height:var(--gse-ui-formControl-input-contentText-lineHeight);color:var(--gse-ui-formControl-input-populatedColor);background-color:var(--gse-ui-formControl-input-backgroundColor);background-image:none;border:var(--gse-ui-formControl-input-default-border-width) var(--gse-ui-formControl-input-default-border-style) var(--gse-ui-formControl-input-default-border-color);border-radius:var(--gse-ui-formControl-input-borderRadius)}.gux-input-and-error-container .gux-input .gux-input-container.gux-disabled{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{cursor:pointer;border-color: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{b as gux_form_field_color}
1
+ import{r as e,h as o,a as r}from"./p-COgvjwDR.js";import{c as t,o as i}from"./p-Cb3FOYGS.js";import{O as n}from"./p-vOC0-qDq.js";import{o as l}from"./p-De1NnCmO.js";import{p as a}from"./p-PYfNAK8p.js";import{h as s}from"./p-qzV3vtOw.js";import{G as u,a as f}from"./p-Dry1Kkrx.js";import{G as d,a as p}from"./p-Co3DWTSR.js";import{g as c,v as g,a as h}from"./p-DHLxhscH.js";import{t as m}from"./p-Dfk0nYGa.js";import"./p-D9jKBqIb.js";import"./p-DxtJDeL9.js";import"./p-BMRf5pjV.js";const b=class{constructor(o){e(this,o),this.indicatorMark="required",this.hasError=!1,this.hasHelp=!1}onMutation(){this.labelInfo=this.root.querySelector("[slot=label-info]"),this.hasError=s(this.root,"error"),this.hasHelp=s(this.root,"help")}handleKeyup(e){var o,r;switch(e.key){case"Tab":this.input.matches(":focus-visible")&&(null===(o=this.labelInfo)||void 0===o||o.showTooltip(),this.hideLabelInfoTimeout=setTimeout((()=>{var e;null===(e=this.labelInfo)||void 0===e||e.hideTooltip()}),6e3));break;case"Shift":break;default:this.input.matches(":focus-visible")&&(null===(r=this.labelInfo)||void 0===r||r.hideTooltip(),clearTimeout(this.hideLabelInfoTimeout))}}onFocusout(){var e;null===(e=this.labelInfo)||void 0===e||e.hideTooltip(),clearTimeout(this.hideLabelInfoTimeout)}componentWillLoad(){this.setInput(),this.setLabel(),this.labelInfo=this.root.querySelector("[slot=label-info]"),this.hasError=s(this.root,"error"),this.hasHelp=s(this.root,"help"),m(this.root,{variant:this.variant})}disconnectedCallback(){this.disabledObserver&&this.disabledObserver.disconnect(),this.requiredObserver&&this.requiredObserver.disconnect()}render(){return o(p,{key:"a8ae60daff847ec4ba920e15c5c2229bb50a54ec",labelPosition:this.computedLabelPosition},o(d,{key:"cb5e53870665b34f5cba57d83f33db9515b867ec",required:this.required,position:this.computedLabelPosition},o("slot",{key:"be26235a31bf076b8878ab33d36bf2dda75cad80",name:"label",onSlotchange:()=>this.setLabel()}),o("gux-form-field-label-indicator",{key:"ffa2a4541738be67eae851e8ede06542e7bffae1",variant:this.indicatorMark,required:this.required}),o("slot",{key:"95a1761073c81ccb8adb21830e45323187864552",name:"label-info"})),o("div",{key:"dc1f66b955fa64f65ab9a82445d6f97e788c0cd9",class:"gux-input-and-error-container"},o("div",{key:"c87168f74a8d5285c02756f2237bf69dc180e07a",class:{"gux-input":!0,"gux-input-error":this.hasError}},o("div",{key:"ae187746dc81e70dbcd67571f775e4844c8dfb70",class:{"gux-input-container":!0,"gux-disabled":this.disabled}},o("slot",{key:"3ed3f0efb57ad55a3d6873eb57930af35924ac6e",name:"input",onSlotchange:()=>this.setInput()}))),o(u,{key:"93d384c4620676a97972abd766a77aca358f6a24",show:this.hasError},o("slot",{key:"3750328ca7c7b62a278a4805db4c7ac14e67aaa6",name:"error"})),o(f,{key:"7d26678c1b31303599741131bcb7228343a0ea7b",show:!this.hasError&&this.hasHelp},o("slot",{key:"52973388e061ee7efdae4b62f579934a494881f8",name:"help"}))))}get variant(){return this.labelPosition?this.labelPosition.toLowerCase():"none"}setInput(){this.input=c(this.root,'input[type="color"][slot="input"]'),a(this.input),this.disabled=t(this.input),this.required=this.input.required,this.disabledObserver=i(this.input,(e=>{this.disabled=e})),this.requiredObserver=l(this.input,(e=>{this.required=e})),g(this.root,this.input)}setLabel(){this.label=this.root.querySelector('label[slot="label"]'),this.computedLabelPosition=h(this.label,this.labelPosition)}get root(){return r(this)}};(function(e,o,r,t){var i,n=arguments.length,l=n<3?o:null===t?t=Object.getOwnPropertyDescriptor(o,r):t;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)l=Reflect.decorate(e,o,r,t);else for(var a=e.length-1;a>=0;a--)(i=e[a])&&(l=(n<3?i(l):n>3?i(o,r,l):i(o,r))||l);n>3&&l&&Object.defineProperty(o,r,l)})([n({childList:!0,subtree:!0})],b.prototype,"onMutation",null),b.style=".gux-form-field-container{display:flex;flex-direction:column}.gux-form-field-container.gux-beside{flex-direction:row}.gux-form-field-error{display:none;flex-direction:row;flex-wrap:nowrap;gap:var(--gse-ui-formControl-helper-gap);place-content:stretch flex-start;padding:var(--gse-ui-formControl-helper-errorPadding);font-family:var(--gse-ui-formControl-helper-helperText-fontFamily);font-size:var(--gse-ui-formControl-helper-helperText-fontSize);line-height:var(--gse-ui-formControl-helper-helperText-lineHeight);color:var(--gse-ui-formControl-helper-errorColor)}.gux-form-field-error.gux-show{display:flex}.gux-form-field-error gux-icon{flex:0 0 auto;order:0;color:var(--gse-ui-formControl-helper-errorColor)}.gux-form-field-error .gux-message{flex:0 1 auto;align-self:auto;order:0}.gux-form-field-label{display:inline-flex;flex:1 0 auto}.gux-form-field-label ::slotted(label){min-inline-size:0}.gux-form-field-label ::slotted(gux-label-info-beta){padding-inline-start:var(--gse-ui-formControl-formField-gap)}.gux-form-field-label.gux-beside{position:relative;inset-block-start:var(--gse-ui-formControl-input-top);inline-size:fit-content;min-inline-size:var(--gse-ui-formControl-input-textfield-minWidth);max-inline-size:fit-content;margin-inline-end:var(--gse-ui-formControl-group-gapItems)}.gux-form-field-label.gux-above{padding-block-end:var(--gse-ui-formControl-formField-gap)}.gux-form-field-label.gux-screenreader{position:absolute;top:auto;left:-10000px;width:1px;height:1px;overflow:hidden}.gux-form-field-help{display:none;flex-direction:row;flex-wrap:nowrap;place-content:stretch flex-start;align-items:flex-start;justify-content:flex-start;padding-block-start:var(--gse-ui-formControl-formField-gap);font-family:var(--gse-ui-formControl-helper-helperText-fontFamily);font-size:var(--gse-ui-formControl-helper-helperText-fontSize);line-height:var(--gse-ui-formControl-helper-helperText-lineHeight);color:var(--gse-ui-formControl-helper-defaultColor)}.gux-form-field-help.gux-show{display:flex}.gux-form-field-help .gux-message{flex:0 1 auto;align-self:none;order:0}:host{display:block}::slotted(label){font-family:var(--gse-ui-formControl-label-textBold-fontFamily);font-size:var(--gse-ui-formControl-label-textBold-fontSize);font-weight:var(--gse-ui-formControl-label-textBold-fontWeight);line-height:var(--gse-ui-formControl-label-textBold-lineHeight);color:var(--gse-ui-formControl-label-labelColor)}::slotted(input){flex:0 1 auto;align-self:auto;order:0;inline-size:var(--gse-ui-colorPicker-input-swatchSizing);min-inline-size:var(--gse-ui-colorPicker-input-swatchSizing);block-size:var(--gse-ui-colorPicker-input-swatchSizing);padding:0;overflow:hidden;text-overflow:ellipsis;font-family:var(--gse-ui-formControl-input-contentText-fontFamily);font-size:var(--gse-ui-formControl-input-contentText-fontSize);font-weight:var(--gse-ui-formControl-input-contentText-fontWeight);line-height:var(--gse-ui-formControl-input-contentText-lineHeight);color:var(--gse-ui-formControl-input-populatedColor);text-align:end;outline:none;background-color:var(--gse-ui-formControl-input-backgroundColor);border:none}::slotted(input)::placeholder{color:var(--gse-ui-formControl-input-placeholderColor);opacity:1}.gux-input-and-error-container{flex-grow:1}.gux-input-and-error-container .gux-input{display:flex;flex-direction:row;flex-wrap:nowrap;align-content:stretch;align-items:center}.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;align-self:auto;order:0;inline-size:var(--gse-ui-formControl-input-colorPicker-size);block-size:var(--gse-ui-formControl-input-colorPicker-size);font-family:var(--gse-ui-formControl-input-contentText-fontFamily);font-size:var(--gse-ui-formControl-input-contentText-fontSize);line-height:var(--gse-ui-formControl-input-contentText-lineHeight);color:var(--gse-ui-formControl-input-populatedColor);background-color:var(--gse-ui-formControl-input-backgroundColor);background-image:none;border:var(--gse-ui-formControl-input-default-border-width) var(--gse-ui-formControl-input-default-border-style) var(--gse-ui-formControl-input-default-border-color);border-radius:var(--gse-ui-formControl-input-borderRadius)}.gux-input-and-error-container .gux-input .gux-input-container.gux-disabled{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{cursor:pointer;border-color: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{b as gux_form_field_color}
@@ -1 +1 @@
1
- import{r as o,h as t,a as s}from"./p-COgvjwDR.js";import{t as r}from"./p-DEpB6GnC.js";const e=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:"e2823177090dd6fd41310ab4e9b6e304030cc155"})}get root(){return s(this)}};e.style="gux-accordion{-custom-noop:noop}";export{e as gux_accordion}
1
+ import{r as o,h as t,a as s}from"./p-COgvjwDR.js";import{t as r}from"./p-Dfk0nYGa.js";const e=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:"e2823177090dd6fd41310ab4e9b6e304030cc155"})}get root(){return s(this)}};e.style="gux-accordion{-custom-noop:noop}";export{e as gux_accordion}
@@ -1 +1 @@
1
- import{r as i,h as s,a as t}from"./p-COgvjwDR.js";import{t as e}from"./p-DEpB6GnC.js";import{b as n}from"./p-D2nzPgXC.js";import"./p-Cd4R0amv.js";var o={dismiss:"Dismiss"};const a=class{constructor(s){i(this,s),this.position="absolute",this.size="medium"}async componentWillLoad(){e(this.root,{variant:this.position}),this.i18n=await n(this.root,o)}render(){return s("gux-button-slot",{key:"8e9f664c567d0158fba24d555538c7d1eecba885",accent:"ghost",class:{"gux-inherit":"inherit"==this.position,"gux-dismiss-small":"small"==this.size}},s("button",{key:"005f5ee36a716e0f0ddc3af81fcd80776d15e3a0",type:"button",title:this.i18n("dismiss")},s("div",{key:"0ef51e79d18865cf643d1b85eb94a2721b6ce378",class:"gux-icon-container"},s("gux-icon",{key:"7fb042e8b56356d4736aae5e59ccc7bb66f64646","icon-name":"fa/xmark-large-regular",decorative:!0,size:"small"}))))}static get delegatesFocus(){return!0}get root(){return t(this)}};a.style="gux-button-slot{position:absolute;inset-block-start:4px;inset-inline-end:4px;inline-size:var(--gse-ui-button-dismiss-medium-width);block-size:var(--gse-ui-button-dismiss-medium-height)}gux-button-slot.gux-dismiss-small{inline-size:var(--gse-ui-button-dismiss-small-width);block-size:var(--gse-ui-button-dismiss-small-height)}gux-button-slot.gux-dismiss-small button{inline-size:var(--gse-ui-button-dismiss-small-width);min-inline-size:var(--gse-ui-button-dismiss-small-width);block-size:var(--gse-ui-button-dismiss-small-height);padding:0}gux-button-slot.gux-inherit{position:inherit;inset-block-start:inherit;inset-inline-end:inherit}gux-button-slot .gux-icon-container{display:flex;flex-direction:row;flex-wrap:nowrap;place-content:stretch center;align-items:center}gux-button-slot .gux-icon-container gux-icon{flex:0 0 auto;align-self:auto;order:0;color:var(--gse-ui-dismissButton-foregroundColor)}";export{a as gux_dismiss_button}
1
+ import{r as i,h as s,a as t}from"./p-COgvjwDR.js";import{t as e}from"./p-Dfk0nYGa.js";import{b as n}from"./p-D2nzPgXC.js";import"./p-Cd4R0amv.js";var o={dismiss:"Dismiss"};const a=class{constructor(s){i(this,s),this.position="absolute",this.size="medium"}async componentWillLoad(){e(this.root,{variant:this.position}),this.i18n=await n(this.root,o)}render(){return s("gux-button-slot",{key:"8e9f664c567d0158fba24d555538c7d1eecba885",accent:"ghost",class:{"gux-inherit":"inherit"==this.position,"gux-dismiss-small":"small"==this.size}},s("button",{key:"005f5ee36a716e0f0ddc3af81fcd80776d15e3a0",type:"button",title:this.i18n("dismiss")},s("div",{key:"0ef51e79d18865cf643d1b85eb94a2721b6ce378",class:"gux-icon-container"},s("gux-icon",{key:"7fb042e8b56356d4736aae5e59ccc7bb66f64646","icon-name":"fa/xmark-large-regular",decorative:!0,size:"small"}))))}static get delegatesFocus(){return!0}get root(){return t(this)}};a.style="gux-button-slot{position:absolute;inset-block-start:4px;inset-inline-end:4px;inline-size:var(--gse-ui-button-dismiss-medium-width);block-size:var(--gse-ui-button-dismiss-medium-height)}gux-button-slot.gux-dismiss-small{inline-size:var(--gse-ui-button-dismiss-small-width);block-size:var(--gse-ui-button-dismiss-small-height)}gux-button-slot.gux-dismiss-small button{inline-size:var(--gse-ui-button-dismiss-small-width);min-inline-size:var(--gse-ui-button-dismiss-small-width);block-size:var(--gse-ui-button-dismiss-small-height);padding:0}gux-button-slot.gux-inherit{position:inherit;inset-block-start:inherit;inset-inline-end:inherit}gux-button-slot .gux-icon-container{display:flex;flex-direction:row;flex-wrap:nowrap;place-content:stretch center;align-items:center}gux-button-slot .gux-icon-container gux-icon{flex:0 0 auto;align-self:auto;order:0;color:var(--gse-ui-dismissButton-foregroundColor)}";export{a as gux_dismiss_button}
@@ -1 +1 @@
1
- import{r as o,h as e,H as t,a as r}from"./p-COgvjwDR.js";import{t as a}from"./p-DEpB6GnC.js";const i=class{constructor(e){o(this,e),this.placement="page-desktop"}componentWillLoad(){a(this.root,{variant:this.placement})}render(){return e(t,{key:"6f43065715b3be05dfdd73a2582218c4c70d6a4c",class:{[`gux-form-footer-${this.placement}`]:!0}},e("slot",{key:"dc5c334596ee40433ac923c5534de6bec48c3522"}))}get root(){return r(this)}};i.style=":host ::slotted(footer){display:flex;align-items:center;justify-content:flex-start;margin-block-start:var(--gse-semantic-formControl-formBody-paddingBottom);border-block-start:var(--gse-ui-formFooter-separator-width) var(--gse-ui-formFooter-separator-style) var(--gse-ui-formFooter-separator-color)}:host(.gux-form-footer-page-desktop) ::slotted(footer){gap:var(--gse-ui-formFooter-page-desktop-gap);padding-block:var(--gse-ui-formFooter-page-desktop-topPadding) var(--gse-ui-formFooter-page-desktop-bottomPadding);padding-inline:var(--gse-ui-formFooter-page-desktop-horizontalPadding) var(--gse-ui-formFooter-page-desktop-horizontalPadding)}:host(.gux-form-footer-page-mobile) ::slotted(footer){flex-direction:column;gap:var(--gse-ui-formFooter-page-mobile-gap);align-items:stretch;justify-content:center;padding-block:var(--gse-ui-formFooter-page-mobile-topPadding) var(--gse-ui-formFooter-page-mobile-bottomPadding);padding-inline:var(--gse-ui-formFooter-page-mobile-horizontalPadding) var(--gse-ui-formFooter-page-mobile-horizontalPadding)}:host(.gux-form-footer-side-sheet-desktop) ::slotted(footer){gap:var(--gse-ui-formFooter-sideSheet-desktop-gap);padding-block:var(--gse-ui-formFooter-sideSheet-desktop-topPadding) var(--gse-ui-formFooter-sideSheet-desktop-bottomPadding);padding-inline:var(--gse-ui-formFooter-sideSheet-desktop-horizontalPadding) var(--gse-ui-formFooter-sideSheet-desktop-horizontalPadding)}";export{i as gux_form_footer}
1
+ import{r as o,h as e,H as t,a as r}from"./p-COgvjwDR.js";import{t as a}from"./p-Dfk0nYGa.js";const i=class{constructor(e){o(this,e),this.placement="page-desktop"}componentWillLoad(){a(this.root,{variant:this.placement})}render(){return e(t,{key:"6f43065715b3be05dfdd73a2582218c4c70d6a4c",class:{[`gux-form-footer-${this.placement}`]:!0}},e("slot",{key:"dc5c334596ee40433ac923c5534de6bec48c3522"}))}get root(){return r(this)}};i.style=":host ::slotted(footer){display:flex;align-items:center;justify-content:flex-start;margin-block-start:var(--gse-semantic-formControl-formBody-paddingBottom);border-block-start:var(--gse-ui-formFooter-separator-width) var(--gse-ui-formFooter-separator-style) var(--gse-ui-formFooter-separator-color)}:host(.gux-form-footer-page-desktop) ::slotted(footer){gap:var(--gse-ui-formFooter-page-desktop-gap);padding-block:var(--gse-ui-formFooter-page-desktop-topPadding) var(--gse-ui-formFooter-page-desktop-bottomPadding);padding-inline:var(--gse-ui-formFooter-page-desktop-horizontalPadding) var(--gse-ui-formFooter-page-desktop-horizontalPadding)}:host(.gux-form-footer-page-mobile) ::slotted(footer){flex-direction:column;gap:var(--gse-ui-formFooter-page-mobile-gap);align-items:stretch;justify-content:center;padding-block:var(--gse-ui-formFooter-page-mobile-topPadding) var(--gse-ui-formFooter-page-mobile-bottomPadding);padding-inline:var(--gse-ui-formFooter-page-mobile-horizontalPadding) var(--gse-ui-formFooter-page-mobile-horizontalPadding)}:host(.gux-form-footer-side-sheet-desktop) ::slotted(footer){gap:var(--gse-ui-formFooter-sideSheet-desktop-gap);padding-block:var(--gse-ui-formFooter-sideSheet-desktop-topPadding) var(--gse-ui-formFooter-sideSheet-desktop-bottomPadding);padding-inline:var(--gse-ui-formFooter-sideSheet-desktop-horizontalPadding) var(--gse-ui-formFooter-sideSheet-desktop-horizontalPadding)}";export{i as gux_form_footer}
@@ -1 +1 @@
1
- import{r as e,h as n,a}from"./p-COgvjwDR.js";import{t}from"./p-DEpB6GnC.js";import{O as i}from"./p-vOC0-qDq.js";import{h as o}from"./p-qzV3vtOw.js";const s=class{constructor(n){e(this,n),this.hasCallToAction=!1,this.hasGuidance=!1}onMutation(){this.hasCallToAction=o(this.root,"call-to-action"),this.hasGuidance=o(this.root,"additional-guidance")}renderCallToActionSlot(){if(this.hasCallToAction)return n("gux-button-slot",{accent:"primary"},n("slot",{name:"call-to-action"}))}renderGuidanceSlot(){if(this.hasGuidance)return n("div",{class:"gux-guidance"},n("slot",{name:"additional-guidance"}))}componentWillLoad(){t(this.root),this.hasCallToAction=o(this.root,"call-to-action"),this.hasGuidance=o(this.root,"additional-guidance")}render(){return n("div",{key:"1972904b2ed5339269cdc36567d15e653117a374",class:"gux-container"},n("div",{key:"833a2f5229bdb45bb6805f3bfe1feafba7fabd7c",class:"gux-image"},n("slot",{key:"452887ee580c168993a3daba42219fad0aa16d4f",name:"image"})),n("div",{key:"eb4600de623ba6958621a054ce4fbd46aa56889b",class:"gux-message"},n("slot",{key:"0a08f39a647d7a4cd2845b87034ecd38fbd99730",name:"primary-message"})),this.renderGuidanceSlot(),this.renderCallToActionSlot())}get root(){return a(this)}};(function(e,n,a,t){var i,o=arguments.length,s=o<3?n:null===t?t=Object.getOwnPropertyDescriptor(n,a):t;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(e,n,a,t);else for(var r=e.length-1;r>=0;r--)(i=e[r])&&(s=(o<3?i(s):o>3?i(n,a,s):i(n,a))||s);o>3&&s&&Object.defineProperty(n,a,s)})([i({childList:!0,subtree:!0})],s.prototype,"onMutation",null),s.style=":host {\n display: flex;\n flex-direction: column;\n align-items: center;\n justify-content: center;\n container-type: inline-size;\n}\n\n.gux-container {\n display: flex;\n flex-direction: column;\n align-items: center;\n justify-content: center;\n padding: var(--gse-ui-blankState-padding);\n color: var(--gse-ui-blankState-foregroundColor);\n}\n.gux-container .gux-image {\n padding-block-end: var(--gse-ui-blankState-gapMain);\n}\n.gux-container .gux-message {\n padding-block-end: var(--gse-ui-blankState-gapMessage);\n}\n.gux-container .gux-guidance {\n padding-block-end: var(--gse-ui-blankState-gapContent);\n}\n.gux-container ::slotted(gux-icon) {\n inline-size: var(--gse-ui-blankState-icon-size-lg);\n block-size: var(--gse-ui-blankState-icon-size-lg);\n color: var(--gse-ui-blankState-iconColor);\n}\n.gux-container slot[name=primary-message] {\n font-family: var(--gse-ui-progressAndLoading-blankState-large-header-fontFamily);\n font-size: var(--gse-ui-progressAndLoading-blankState-large-header-fontSize);\n font-weight: var(--gse-ui-progressAndLoading-blankState-large-header-fontWeight);\n line-height: var(--gse-ui-progressAndLoading-blankState-large-header-lineHeight);\n color: var(--gse-ui-blankState-foregroundColor);\n text-align: center;\n}\n.gux-container slot[name=additional-guidance] {\n font-family: var(--gse-ui-progressAndLoading-blankState-large-subheader-fontFamily);\n font-size: var(--gse-ui-progressAndLoading-blankState-large-subheader-fontSize);\n font-weight: var(--gse-ui-progressAndLoading-blankState-large-subheader-fontWeight);\n line-height: var(--gse-ui-progressAndLoading-blankState-large-subheader-lineHeight);\n color: var(--gse-ui-blankState-foregroundColor);\n text-align: center;\n}\n\n@container (width < 570px) {\n .gux-container ::slotted(gux-icon) {\n inline-size: var(--gse-ui-blankState-icon-size-sm);\n block-size: var(--gse-ui-blankState-icon-size-sm);\n }\n .gux-container slot[name=primary-message] {\n font-family: var(--gse-ui-progressAndLoading-blankState-small-header-fontFamily);\n font-size: var(--gse-ui-progressAndLoading-blankState-small-header-fontSize);\n font-weight: var(--gse-ui-progressAndLoading-blankState-small-header-fontWeight);\n line-height: var(--gse-ui-progressAndLoading-blankState-small-header-lineHeight);\n }\n .gux-container slot[name=additional-guidance] {\n font-family: var(--gse-ui-progressAndLoading-blankState-small-subheader-fontFamily);\n font-size: var(--gse-ui-progressAndLoading-blankState-small-subheader-fontSize);\n font-weight: var(--gse-ui-progressAndLoading-blankState-small-subheader-fontWeight);\n line-height: var(--gse-ui-progressAndLoading-blankState-small-subheader-lineHeight);\n }\n}";export{s as gux_blank_state}
1
+ import{r as e,h as n,a}from"./p-COgvjwDR.js";import{t}from"./p-Dfk0nYGa.js";import{O as i}from"./p-vOC0-qDq.js";import{h as o}from"./p-qzV3vtOw.js";const s=class{constructor(n){e(this,n),this.hasCallToAction=!1,this.hasGuidance=!1}onMutation(){this.hasCallToAction=o(this.root,"call-to-action"),this.hasGuidance=o(this.root,"additional-guidance")}renderCallToActionSlot(){if(this.hasCallToAction)return n("gux-button-slot",{accent:"primary"},n("slot",{name:"call-to-action"}))}renderGuidanceSlot(){if(this.hasGuidance)return n("div",{class:"gux-guidance"},n("slot",{name:"additional-guidance"}))}componentWillLoad(){t(this.root),this.hasCallToAction=o(this.root,"call-to-action"),this.hasGuidance=o(this.root,"additional-guidance")}render(){return n("div",{key:"1972904b2ed5339269cdc36567d15e653117a374",class:"gux-container"},n("div",{key:"833a2f5229bdb45bb6805f3bfe1feafba7fabd7c",class:"gux-image"},n("slot",{key:"452887ee580c168993a3daba42219fad0aa16d4f",name:"image"})),n("div",{key:"eb4600de623ba6958621a054ce4fbd46aa56889b",class:"gux-message"},n("slot",{key:"0a08f39a647d7a4cd2845b87034ecd38fbd99730",name:"primary-message"})),this.renderGuidanceSlot(),this.renderCallToActionSlot())}get root(){return a(this)}};(function(e,n,a,t){var i,o=arguments.length,s=o<3?n:null===t?t=Object.getOwnPropertyDescriptor(n,a):t;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(e,n,a,t);else for(var r=e.length-1;r>=0;r--)(i=e[r])&&(s=(o<3?i(s):o>3?i(n,a,s):i(n,a))||s);o>3&&s&&Object.defineProperty(n,a,s)})([i({childList:!0,subtree:!0})],s.prototype,"onMutation",null),s.style=":host {\n display: flex;\n flex-direction: column;\n align-items: center;\n justify-content: center;\n container-type: inline-size;\n}\n\n.gux-container {\n display: flex;\n flex-direction: column;\n align-items: center;\n justify-content: center;\n padding: var(--gse-ui-blankState-padding);\n color: var(--gse-ui-blankState-foregroundColor);\n}\n.gux-container .gux-image {\n padding-block-end: var(--gse-ui-blankState-gapMain);\n}\n.gux-container .gux-message {\n padding-block-end: var(--gse-ui-blankState-gapMessage);\n}\n.gux-container .gux-guidance {\n padding-block-end: var(--gse-ui-blankState-gapContent);\n}\n.gux-container ::slotted(gux-icon) {\n inline-size: var(--gse-ui-blankState-icon-size-lg);\n block-size: var(--gse-ui-blankState-icon-size-lg);\n color: var(--gse-ui-blankState-iconColor);\n}\n.gux-container slot[name=primary-message] {\n font-family: var(--gse-ui-progressAndLoading-blankState-large-header-fontFamily);\n font-size: var(--gse-ui-progressAndLoading-blankState-large-header-fontSize);\n font-weight: var(--gse-ui-progressAndLoading-blankState-large-header-fontWeight);\n line-height: var(--gse-ui-progressAndLoading-blankState-large-header-lineHeight);\n color: var(--gse-ui-blankState-foregroundColor);\n text-align: center;\n}\n.gux-container slot[name=additional-guidance] {\n font-family: var(--gse-ui-progressAndLoading-blankState-large-subheader-fontFamily);\n font-size: var(--gse-ui-progressAndLoading-blankState-large-subheader-fontSize);\n font-weight: var(--gse-ui-progressAndLoading-blankState-large-subheader-fontWeight);\n line-height: var(--gse-ui-progressAndLoading-blankState-large-subheader-lineHeight);\n color: var(--gse-ui-blankState-foregroundColor);\n text-align: center;\n}\n\n@container (width < 570px) {\n .gux-container ::slotted(gux-icon) {\n inline-size: var(--gse-ui-blankState-icon-size-sm);\n block-size: var(--gse-ui-blankState-icon-size-sm);\n }\n .gux-container slot[name=primary-message] {\n font-family: var(--gse-ui-progressAndLoading-blankState-small-header-fontFamily);\n font-size: var(--gse-ui-progressAndLoading-blankState-small-header-fontSize);\n font-weight: var(--gse-ui-progressAndLoading-blankState-small-header-fontWeight);\n line-height: var(--gse-ui-progressAndLoading-blankState-small-header-lineHeight);\n }\n .gux-container slot[name=additional-guidance] {\n font-family: var(--gse-ui-progressAndLoading-blankState-small-subheader-fontFamily);\n font-size: var(--gse-ui-progressAndLoading-blankState-small-subheader-fontSize);\n font-weight: var(--gse-ui-progressAndLoading-blankState-small-subheader-fontWeight);\n line-height: var(--gse-ui-progressAndLoading-blankState-small-subheader-lineHeight);\n }\n}";export{s as gux_blank_state}
@@ -1 +1 @@
1
- import{r as t,f as e,d as i,h as a,H as o,a as n}from"./p-COgvjwDR.js";import{O as s}from"./p-DKPAGIJA.js";import{O as r}from"./p-vOC0-qDq.js";import{t as l}from"./p-DEpB6GnC.js";import{g as c}from"./p-BBpQG81s.js";import{a as d}from"./p-Bg4q97BS.js";import{l as u}from"./p-DxtJDeL9.js";function h(t,e){[].concat(t).forEach((t=>{null!=t&&(t.accent=e)}))}function b(t,...e){e.flat().filter((t=>null!=t&&!(null==t?void 0:t.hasAttribute("icon-only")))).forEach((e=>e.iconOnly=t))}var p=function(t,e,i,a){var o,n=arguments.length,s=n<3?e:null===a?a=Object.getOwnPropertyDescriptor(e,i):a;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(t,e,i,a);else for(var r=t.length-1;r>=0;r--)(o=t[r])&&(s=(n<3?o(s):n>3?o(e,i,s):o(e,i))||s);return n>3&&s&&Object.defineProperty(e,i,s),s};const m=class{constructor(e){t(this,e),this.displayedLayout="full",this.hasContextDivider=!1,this.minimumSizes={full:0,iconOnly:0,condensed:0}}onMutation(){this.hasContextDivider=this.needsContextDivider(),e(this.root)}recordLayoutMinSize(){i((()=>{var t,e,i;const a=0|(null===(t=this.searchAndFilterContainer)||void 0===t?void 0:t.clientWidth),o=0|(null===(e=this.actionsContainer)||void 0===e?void 0:e.clientWidth),n=0|(null===(i=this.minControlSize)||void 0===i?void 0:i.clientWidth);this.minimumSizes[this.displayedLayout]=a+o+n}))}get minControlSize(){return this.root.shadowRoot.querySelector(".section-spacing")}get actionsContainer(){return this.root.shadowRoot.querySelector(".gux-contextual-permanent-primary")}get searchAndFilterContainer(){return this.root.shadowRoot.querySelector(".search-filter-container")}get filterSlot(){return c(this.root,"search-and-filter")}get menuActionSlot(){return c(this.root,"menu-actions")}get permanentSlot(){return c(this.root,"permanent-actions")||this.menuActionSlot&&c(this.menuActionSlot,"permanent-actions")}get contextualSlot(){return c(this.root,"contextual-actions")}get primaryAction(){var t;return null===(t=this.root)||void 0===t?void 0:t.querySelector("gux-table-toolbar-custom-action[slot]")}get permanentActions(){var t,e;return(null===(t=this.permanentSlot)||void 0===t?void 0:t.hasChildNodes)?Array.from(null===(e=this.permanentSlot)||void 0===e?void 0:e.querySelectorAll("gux-table-toolbar-action, gux-table-toolbar-custom-action")):[]}get menuActionsItems(){var t,e;if(null===(t=this.menuActionSlot)||void 0===t?void 0:t.hasChildNodes)return Array.from(null===(e=this.menuActionSlot)||void 0===e?void 0:e.querySelectorAll("gux-table-toolbar-action, gux-table-toolbar-custom-action"))}get contextualActions(){var t,e;return(null===(t=this.contextualSlot)||void 0===t?void 0:t.hasChildNodes)?Array.from(null===(e=this.contextualSlot)||void 0===e?void 0:e.querySelectorAll("gux-table-toolbar-action, gux-table-toolbar-custom-action")):[]}get filterActions(){var t,e;return(null===(t=this.filterSlot)||void 0===t?void 0:t.hasChildNodes)?Array.from(null===(e=this.filterSlot)||void 0===e?void 0:e.querySelectorAll("gux-table-toolbar-action, gux-table-toolbar-custom-action")):[]}get allFilterContextual(){var t;return null===(t=this.filterActions)||void 0===t?void 0:t.concat(this.contextualActions)}needsContextDivider(){var t;return(null===(t=this.contextualActions)||void 0===t?void 0:t.length)&&this.contextualSlot!==this.root.lastElementChild}renderMenu(){var t;return Boolean((null===(t=this.menuActionsItems)||void 0===t?void 0:t.length)||"condensed"==this.displayedLayout)}renderFullLayout(){this.displayedLayout="full",b(!1,this.primaryAction,...this.allFilterContextual,...this.permanentActions)}renderIconOnlyLayoutScaleDown(){this.displayedLayout="iconOnly",b(!0,this.primaryAction,...this.allFilterContextual,...this.permanentActions)}renderIconOnlyLayoutScaleUp(){var t,e;this.displayedLayout="iconOnly",h(this.permanentActions,"secondary"),h(this.primaryAction,"primary"),b(!0,this.primaryAction,...this.allFilterContextual,...this.permanentActions),this.permanentActions&&(null===(t=this.root)||void 0===t||t.appendChild(this.permanentSlot)),this.primaryAction&&(null===(e=this.root)||void 0===e||e.appendChild(this.primaryAction))}renderCondensedLayout(){var t,e;this.displayedLayout="condensed",this.permanentActions&&(null===(t=this.menuActionSlot)||void 0===t||t.appendChild(this.permanentSlot)),this.primaryAction&&(null===(e=this.menuActionSlot)||void 0===e||e.appendChild(this.primaryAction)),b(!0,...this.allFilterContextual),b(!1,...this.permanentActions),b(!1,this.primaryAction),h(this.menuActionsItems,"ghost")}validateSlot(t){this.root.querySelector(`[slot=${t}]`)||u(this.root,`gux-table-toolbar requires a ${t} slot`)}componentWillRender(){l(this.root),this.hasContextDivider=this.needsContextDivider()}componentWillLoad(){this.validateSlot("menu-actions")}componentDidLoad(){d((()=>{this.recordLayoutMinSize(),this.checkResponsiveLayout()})),h(this.menuActionsItems,"ghost")}componentDidUpdate(){this.recordLayoutMinSize(),this.checkResponsiveLayout()}checkResponsiveLayout(){i((()=>{const t=this.root.clientWidth;t<=this.minimumSizes.iconOnly?"iconOnly"==this.displayedLayout&&this.renderCondensedLayout():t<=this.minimumSizes.full?"full"==this.displayedLayout?this.renderIconOnlyLayoutScaleDown():"condensed"==this.displayedLayout&&this.renderIconOnlyLayoutScaleUp():this.minimumSizes.iconOnly>this.minimumSizes.full?this.renderIconOnlyLayoutScaleUp():this.renderFullLayout()}))}render(){return a(o,{key:"07ca4842a9a6f04116c43163259d9cb31a717327",role:"toolbar","aria-orientation":"horizontal","gs-layout":this.displayedLayout},a("div",{key:"1754ae879a030feb7caef605e3b599e72bf081ea",class:"search-filter-container"},a("slot",{key:"14c1d9add3f54774538ba09925d3a4ec2e4c646e",name:"search-and-filter"})),a("div",{key:"2d696e4fb1a1e34ed3104cef602eb30ebf0a2037",class:"section-spacing"}),a("div",{key:"b1ce09becc37748e22b162078f777c520c05dfb4",class:"gux-contextual-permanent-primary"},a("div",{key:"ca449c5326a7d36f4ecf20705be1a466baf340b5",class:{"gux-contextual-wrapper":this.hasContextDivider}},a("slot",{key:"22978890dbe308cc4ce0fa0c3ec469ac14dc9fe1",name:"contextual-actions"})),a("div",{key:"855839a07f6098c8bc24d9e2f1298b49b5dad3c2",class:"gux-permanent-menu-primary-wrapper"},a("slot",{key:"9e2f566c40d29d5a83396e386de8ac4aea419e2e",name:"permanent-actions"}),a("gux-table-toolbar-menu-button",{key:"7e55c8f168825806a05f92094a963045dd05e9b9","show-menu":this.renderMenu()},a("slot",{key:"954b4409edb2f0d0490fc394adee2329d6cfba5c",name:"menu-actions"})),a("slot",{key:"46e6ded8b18bf7d11963c9afba5696b6cfc287ab",name:"primary-action"}))))}get root(){return n(this)}};p([r({childList:!0,subtree:!0})],m.prototype,"onMutation",null),p([s()],m.prototype,"checkResponsiveLayout",null),m.style=":host{display:flex;flex-direction:row;align-items:center;justify-content:space-between;inline-size:100%;max-block-size:var(--gse-ui-dataTableItems-tableToolbar-height);visibility:hidden;transition:visibility 0s 0.5s;}@keyframes show-toolbar{to{visibility:visible}}:host .search-filter-container{min-inline-size:260px;padding-inline-end:var(--gse-ui-dataTableItems-tableToolbar-gap)}:host slot[name=search-and-filter]::slotted(*){display:flex;flex-direction:row;gap:var(--gse-ui-dataTableItems-tableToolbar-tableToolbarGroup-gap);align-content:flex-start;align-items:center}:host .section-spacing{display:flex;flex-direction:row;min-inline-size:72px}:host .gux-contextual-permanent-primary{display:flex;flex-direction:row;justify-content:space-between;padding-inline-start:var(--gse-ui-dataTableItems-tableToolbar-gap)}:host .gux-contextual-permanent-primary slot[name=permanent-actions]::slotted(*),:host .gux-contextual-permanent-primary slot[name=contextual-actions]::slotted(*){display:flex;flex-direction:row;flex-wrap:nowrap;gap:var(--gse-ui-dataTableItems-tableToolbar-tableToolbarGroup-gap);align-content:flex-end;align-items:center}:host .gux-contextual-permanent-primary .gux-contextual-wrapper{padding-inline-end:var(--gse-ui-dataTableItems-tableToolbar-gap);border-inline-end:var(--gse-ui-dataTableItems-tableToolbar-divider-width) solid var(--gse-ui-dataTableItems-tableToolbar-dividerColor)}:host .gux-contextual-permanent-primary .gux-permanent-menu-primary-wrapper{display:flex;flex-direction:row;flex-wrap:nowrap;gap:var(--gse-ui-dataTableItems-tableToolbar-tableToolbarGroup-gap);margin-inline-start:var(--gse-ui-dataTableItems-tableToolbar-gap)}";export{m as gux_table_toolbar}
1
+ import{r as t,f as e,d as i,h as a,H as o,a as n}from"./p-COgvjwDR.js";import{O as s}from"./p-DKPAGIJA.js";import{O as r}from"./p-vOC0-qDq.js";import{t as l}from"./p-Dfk0nYGa.js";import{g as c}from"./p-BBpQG81s.js";import{a as d}from"./p-Bg4q97BS.js";import{l as u}from"./p-DxtJDeL9.js";function h(t,e){[].concat(t).forEach((t=>{null!=t&&(t.accent=e)}))}function b(t,...e){e.flat().filter((t=>null!=t&&!(null==t?void 0:t.hasAttribute("icon-only")))).forEach((e=>e.iconOnly=t))}var p=function(t,e,i,a){var o,n=arguments.length,s=n<3?e:null===a?a=Object.getOwnPropertyDescriptor(e,i):a;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(t,e,i,a);else for(var r=t.length-1;r>=0;r--)(o=t[r])&&(s=(n<3?o(s):n>3?o(e,i,s):o(e,i))||s);return n>3&&s&&Object.defineProperty(e,i,s),s};const m=class{constructor(e){t(this,e),this.displayedLayout="full",this.hasContextDivider=!1,this.minimumSizes={full:0,iconOnly:0,condensed:0}}onMutation(){this.hasContextDivider=this.needsContextDivider(),e(this.root)}recordLayoutMinSize(){i((()=>{var t,e,i;const a=0|(null===(t=this.searchAndFilterContainer)||void 0===t?void 0:t.clientWidth),o=0|(null===(e=this.actionsContainer)||void 0===e?void 0:e.clientWidth),n=0|(null===(i=this.minControlSize)||void 0===i?void 0:i.clientWidth);this.minimumSizes[this.displayedLayout]=a+o+n}))}get minControlSize(){return this.root.shadowRoot.querySelector(".section-spacing")}get actionsContainer(){return this.root.shadowRoot.querySelector(".gux-contextual-permanent-primary")}get searchAndFilterContainer(){return this.root.shadowRoot.querySelector(".search-filter-container")}get filterSlot(){return c(this.root,"search-and-filter")}get menuActionSlot(){return c(this.root,"menu-actions")}get permanentSlot(){return c(this.root,"permanent-actions")||this.menuActionSlot&&c(this.menuActionSlot,"permanent-actions")}get contextualSlot(){return c(this.root,"contextual-actions")}get primaryAction(){var t;return null===(t=this.root)||void 0===t?void 0:t.querySelector("gux-table-toolbar-custom-action[slot]")}get permanentActions(){var t,e;return(null===(t=this.permanentSlot)||void 0===t?void 0:t.hasChildNodes)?Array.from(null===(e=this.permanentSlot)||void 0===e?void 0:e.querySelectorAll("gux-table-toolbar-action, gux-table-toolbar-custom-action")):[]}get menuActionsItems(){var t,e;if(null===(t=this.menuActionSlot)||void 0===t?void 0:t.hasChildNodes)return Array.from(null===(e=this.menuActionSlot)||void 0===e?void 0:e.querySelectorAll("gux-table-toolbar-action, gux-table-toolbar-custom-action"))}get contextualActions(){var t,e;return(null===(t=this.contextualSlot)||void 0===t?void 0:t.hasChildNodes)?Array.from(null===(e=this.contextualSlot)||void 0===e?void 0:e.querySelectorAll("gux-table-toolbar-action, gux-table-toolbar-custom-action")):[]}get filterActions(){var t,e;return(null===(t=this.filterSlot)||void 0===t?void 0:t.hasChildNodes)?Array.from(null===(e=this.filterSlot)||void 0===e?void 0:e.querySelectorAll("gux-table-toolbar-action, gux-table-toolbar-custom-action")):[]}get allFilterContextual(){var t;return null===(t=this.filterActions)||void 0===t?void 0:t.concat(this.contextualActions)}needsContextDivider(){var t;return(null===(t=this.contextualActions)||void 0===t?void 0:t.length)&&this.contextualSlot!==this.root.lastElementChild}renderMenu(){var t;return Boolean((null===(t=this.menuActionsItems)||void 0===t?void 0:t.length)||"condensed"==this.displayedLayout)}renderFullLayout(){this.displayedLayout="full",b(!1,this.primaryAction,...this.allFilterContextual,...this.permanentActions)}renderIconOnlyLayoutScaleDown(){this.displayedLayout="iconOnly",b(!0,this.primaryAction,...this.allFilterContextual,...this.permanentActions)}renderIconOnlyLayoutScaleUp(){var t,e;this.displayedLayout="iconOnly",h(this.permanentActions,"secondary"),h(this.primaryAction,"primary"),b(!0,this.primaryAction,...this.allFilterContextual,...this.permanentActions),this.permanentActions&&(null===(t=this.root)||void 0===t||t.appendChild(this.permanentSlot)),this.primaryAction&&(null===(e=this.root)||void 0===e||e.appendChild(this.primaryAction))}renderCondensedLayout(){var t,e;this.displayedLayout="condensed",this.permanentActions&&(null===(t=this.menuActionSlot)||void 0===t||t.appendChild(this.permanentSlot)),this.primaryAction&&(null===(e=this.menuActionSlot)||void 0===e||e.appendChild(this.primaryAction)),b(!0,...this.allFilterContextual),b(!1,...this.permanentActions),b(!1,this.primaryAction),h(this.menuActionsItems,"ghost")}validateSlot(t){this.root.querySelector(`[slot=${t}]`)||u(this.root,`gux-table-toolbar requires a ${t} slot`)}componentWillRender(){l(this.root),this.hasContextDivider=this.needsContextDivider()}componentWillLoad(){this.validateSlot("menu-actions")}componentDidLoad(){d((()=>{this.recordLayoutMinSize(),this.checkResponsiveLayout()})),h(this.menuActionsItems,"ghost")}componentDidUpdate(){this.recordLayoutMinSize(),this.checkResponsiveLayout()}checkResponsiveLayout(){i((()=>{const t=this.root.clientWidth;t<=this.minimumSizes.iconOnly?"iconOnly"==this.displayedLayout&&this.renderCondensedLayout():t<=this.minimumSizes.full?"full"==this.displayedLayout?this.renderIconOnlyLayoutScaleDown():"condensed"==this.displayedLayout&&this.renderIconOnlyLayoutScaleUp():this.minimumSizes.iconOnly>this.minimumSizes.full?this.renderIconOnlyLayoutScaleUp():this.renderFullLayout()}))}render(){return a(o,{key:"07ca4842a9a6f04116c43163259d9cb31a717327",role:"toolbar","aria-orientation":"horizontal","gs-layout":this.displayedLayout},a("div",{key:"1754ae879a030feb7caef605e3b599e72bf081ea",class:"search-filter-container"},a("slot",{key:"14c1d9add3f54774538ba09925d3a4ec2e4c646e",name:"search-and-filter"})),a("div",{key:"2d696e4fb1a1e34ed3104cef602eb30ebf0a2037",class:"section-spacing"}),a("div",{key:"b1ce09becc37748e22b162078f777c520c05dfb4",class:"gux-contextual-permanent-primary"},a("div",{key:"ca449c5326a7d36f4ecf20705be1a466baf340b5",class:{"gux-contextual-wrapper":this.hasContextDivider}},a("slot",{key:"22978890dbe308cc4ce0fa0c3ec469ac14dc9fe1",name:"contextual-actions"})),a("div",{key:"855839a07f6098c8bc24d9e2f1298b49b5dad3c2",class:"gux-permanent-menu-primary-wrapper"},a("slot",{key:"9e2f566c40d29d5a83396e386de8ac4aea419e2e",name:"permanent-actions"}),a("gux-table-toolbar-menu-button",{key:"7e55c8f168825806a05f92094a963045dd05e9b9","show-menu":this.renderMenu()},a("slot",{key:"954b4409edb2f0d0490fc394adee2329d6cfba5c",name:"menu-actions"})),a("slot",{key:"46e6ded8b18bf7d11963c9afba5696b6cfc287ab",name:"primary-action"}))))}get root(){return n(this)}};p([r({childList:!0,subtree:!0})],m.prototype,"onMutation",null),p([s()],m.prototype,"checkResponsiveLayout",null),m.style=":host{display:flex;flex-direction:row;align-items:center;justify-content:space-between;inline-size:100%;max-block-size:var(--gse-ui-dataTableItems-tableToolbar-height);visibility:hidden;transition:visibility 0s 0.5s;}@keyframes show-toolbar{to{visibility:visible}}:host .search-filter-container{min-inline-size:260px;padding-inline-end:var(--gse-ui-dataTableItems-tableToolbar-gap)}:host slot[name=search-and-filter]::slotted(*){display:flex;flex-direction:row;gap:var(--gse-ui-dataTableItems-tableToolbar-tableToolbarGroup-gap);align-content:flex-start;align-items:center}:host .section-spacing{display:flex;flex-direction:row;min-inline-size:72px}:host .gux-contextual-permanent-primary{display:flex;flex-direction:row;justify-content:space-between;padding-inline-start:var(--gse-ui-dataTableItems-tableToolbar-gap)}:host .gux-contextual-permanent-primary slot[name=permanent-actions]::slotted(*),:host .gux-contextual-permanent-primary slot[name=contextual-actions]::slotted(*){display:flex;flex-direction:row;flex-wrap:nowrap;gap:var(--gse-ui-dataTableItems-tableToolbar-tableToolbarGroup-gap);align-content:flex-end;align-items:center}:host .gux-contextual-permanent-primary .gux-contextual-wrapper{padding-inline-end:var(--gse-ui-dataTableItems-tableToolbar-gap);border-inline-end:var(--gse-ui-dataTableItems-tableToolbar-divider-width) solid var(--gse-ui-dataTableItems-tableToolbar-dividerColor)}:host .gux-contextual-permanent-primary .gux-permanent-menu-primary-wrapper{display:flex;flex-direction:row;flex-wrap:nowrap;gap:var(--gse-ui-dataTableItems-tableToolbar-tableToolbarGroup-gap);margin-inline-start:var(--gse-ui-dataTableItems-tableToolbar-gap)}";export{m as gux_table_toolbar}
@@ -1 +1 @@
1
- import{r as t,h as s,H as i,a}from"./p-COgvjwDR.js";import{s as e}from"./p-BMRf5pjV.js";import{t as o}from"./p-DEpB6GnC.js";const h=class{constructor(s){t(this,s),this.layout="default",this.switchItems=[]}onClick(t){t.stopPropagation();const s=t.target.closest("gux-switch-item");s&&this.value!==s.value&&(this.value=s.value,e(this.root,"input"),e(this.root,"change"))}slotChanged(){this.switchItems=Array.from(this.root.children)}componentWillLoad(){o(this.root,{variant:this.layout})}componentWillRender(){this.switchItems.forEach((t=>{t.selected=t.value===this.value}))}render(){return s(i,{key:"cfd18a7b5c306a1782daad2df95aeb6d2c467df3",role:"group",class:`gux-${this.layout}`},s("slot",{key:"1bdf61ea185e77da76770d7101c915217a0bdc1a",onSlotchange:this.slotChanged.bind(this)}))}get root(){return a(this)}};h.style=":host{display:flex;align-items:flex-end}";export{h as gux_switch_legacy}
1
+ import{r as t,h as s,H as i,a}from"./p-COgvjwDR.js";import{s as e}from"./p-BMRf5pjV.js";import{t as o}from"./p-Dfk0nYGa.js";const h=class{constructor(s){t(this,s),this.layout="default",this.switchItems=[]}onClick(t){t.stopPropagation();const s=t.target.closest("gux-switch-item");s&&this.value!==s.value&&(this.value=s.value,e(this.root,"input"),e(this.root,"change"))}slotChanged(){this.switchItems=Array.from(this.root.children)}componentWillLoad(){o(this.root,{variant:this.layout})}componentWillRender(){this.switchItems.forEach((t=>{t.selected=t.value===this.value}))}render(){return s(i,{key:"cfd18a7b5c306a1782daad2df95aeb6d2c467df3",role:"group",class:`gux-${this.layout}`},s("slot",{key:"1bdf61ea185e77da76770d7101c915217a0bdc1a",onSlotchange:this.slotChanged.bind(this)}))}get root(){return a(this)}};h.style=":host{display:flex;align-items:flex-end}";export{h as gux_switch_legacy}
@@ -1 +1 @@
1
- import{r as e,h as i,a as t}from"./p-COgvjwDR.js";import{b as o}from"./p-D2nzPgXC.js";import{O as r}from"./p-vOC0-qDq.js";import{o as l}from"./p-De1NnCmO.js";import{h as s}from"./p-qzV3vtOw.js";import{G as a,a as n}from"./p-Dry1Kkrx.js";import{G as f,a as h,b as d}from"./p-DiDRSPEJ.js";import{g as u}from"./p-MAoEg4ig.js";import{b as p,s as g,a as m}from"./p-DHLxhscH.js";import{t as c}from"./p-DEpB6GnC.js";import"./p-Cd4R0amv.js";import"./p-D9jKBqIb.js";import"./p-DxtJDeL9.js";import"./p-BMRf5pjV.js";var x={required:"Required"};const b=class{constructor(i){e(this,i),this.indicatorMark="required",this.computedLabelPosition="above",this.hasError=!1,this.hasHelp=!1,this.hasLabelInfo=!1}watchValue(e){const i=this.root.querySelector("gux-dropdown")||this.root.querySelector("gux-dropdown-multi");i&&(i.hasError=e)}onMutation(){this.labelInfo=this.root.querySelector("[slot=label-info]"),this.hasError=s(this.root,"error"),this.hasHelp=s(this.root,"help")}handleKeyup(e){var i,t;switch(e.key){case"Tab":this.dropdownElement.matches(":focus-within")&&(null===(i=this.labelInfo)||void 0===i||i.showTooltip(),this.hideLabelInfoTimeout=setTimeout((()=>{var e;null===(e=this.labelInfo)||void 0===e||e.hideTooltip()}),6e3));break;case"Shift":break;default:this.dropdownElement.matches(":focus-within")&&(null===(t=this.labelInfo)||void 0===t||t.hideTooltip(),clearTimeout(this.hideLabelInfoTimeout))}}onFocusout(){var e;null===(e=this.labelInfo)||void 0===e||e.hideTooltip(),clearTimeout(this.hideLabelInfoTimeout)}async componentWillLoad(){this.getI18nValue=await o(this.root,x),this.setInput(),this.setLabel(),this.labelInfo=this.root.querySelector("[slot=label-info]"),this.hasError=s(this.root,"error"),this.hasHelp=s(this.root,"help"),this.hasLabelInfo=s(this.root,"label-info"),c(this.root,{variant:this.variant})}disconnectedCallback(){this.requiredObserver&&this.requiredObserver.disconnect()}renderText(e,i=!1){if(i)return" "+e}render(){var e;return i(d,{key:"7b053afc1e4239cc544deac4650810ff88d13fa8",labelPosition:this.computedLabelPosition},i(h,{key:"9297c6459663934682afe9398efdfbaa4bb765b8"},null===(e=this.label)||void 0===e?void 0:e.textContent,this.renderText(this.getI18nValue("required"),this.required),this.renderText(u(this.root,"error"),this.hasError),this.renderText(u(this.root,"help"),this.hasHelp),this.renderText(u(this.root,"label-info"),this.hasLabelInfo)),i(f,{key:"767c8e4a4c4995cfa31100f79d7e96ad2de088a0",position:this.computedLabelPosition,required:this.required},i("slot",{key:"b879b53aa8df83797a16d1a263316808370e301d",name:"label",onSlotchange:()=>this.setLabel()}),i("gux-form-field-label-indicator",{key:"da7c9a5349db2f179866cbcc56ce77794c276ebf",variant:this.indicatorMark,required:this.required}),i("slot",{key:"b5dfdaffee81961e2d49aa90e511cea1d63dcecb",name:"label-info"})),i("div",{key:"795f20f6398169ad2c8bfee3f0e1a7cf03971524",class:"gux-input-and-error-container"},i("div",{key:"759eed24f07de9a0dba995c247962b04dbf84fd6",class:{"gux-input":!0,"gux-input-error":this.hasError}},i("slot",{key:"adc434705994f2973631ec282ee924e0faaa0309"})),i(a,{key:"665530549449a343dc485e4cbee3df3429cbd724",show:this.hasError},i("slot",{key:"49cdf2682aaa7fd032ebe3dc3ac952597fb655c6",name:"error"})),i(n,{key:"df6576ed2c4709d3196a12a2deb9f4e2eb9072d3",show:!this.hasError&&this.hasHelp},i("slot",{key:"842e31b97627469948198d6e517d54012ba29516",name:"help"}))))}get variant(){return`dropdown-${this.labelPosition?this.labelPosition.toLowerCase():"none"}`}setInput(){this.dropdownElement=this.root.querySelector("gux-dropdown")||this.root.querySelector("gux-dropdown-multi"),this.listboxElement=this.root.querySelector("gux-listbox")||this.root.querySelector("gux-listbox-multi"),this.required=this.dropdownElement.required,this.requiredObserver=l(this.dropdownElement,(e=>{this.required=e})),p(this.root,this.listboxElement,"label"),g(this.root,this.listboxElement,"error"),g(this.root,this.listboxElement,"help")}setLabel(){this.label=this.root.querySelector('label[slot="label"]'),this.computedLabelPosition=m(this.label,this.labelPosition)}get root(){return t(this)}static get watchers(){return{hasError:["watchValue"]}}};(function(e,i,t,o){var r,l=arguments.length,s=l<3?i:null===o?o=Object.getOwnPropertyDescriptor(i,t):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(e,i,t,o);else for(var a=e.length-1;a>=0;a--)(r=e[a])&&(s=(l<3?r(s):l>3?r(i,t,s):r(i,t))||s);l>3&&s&&Object.defineProperty(i,t,s)})([r({childList:!0,subtree:!0})],b.prototype,"onMutation",null),b.style=".gux-form-field-fieldset-container{display:flex;min-inline-size:0;padding:0;margin:0;border:none}.gux-form-field-fieldset-container.gux-beside{flex-direction:row}.gux-form-field-fieldset-container.gux-above{flex-direction:column}.gux-form-field-error{display:none;flex-direction:row;flex-wrap:nowrap;gap:var(--gse-ui-formControl-helper-gap);place-content:stretch flex-start;padding:var(--gse-ui-formControl-helper-errorPadding);font-family:var(--gse-ui-formControl-helper-helperText-fontFamily);font-size:var(--gse-ui-formControl-helper-helperText-fontSize);line-height:var(--gse-ui-formControl-helper-helperText-lineHeight);color:var(--gse-ui-formControl-helper-errorColor)}.gux-form-field-error.gux-show{display:flex}.gux-form-field-error gux-icon{flex:0 0 auto;order:0;color:var(--gse-ui-formControl-helper-errorColor)}.gux-form-field-error .gux-message{flex:0 1 auto;align-self:auto;order:0}.gux-form-field-help{display:none;flex-direction:row;flex-wrap:nowrap;place-content:stretch flex-start;align-items:flex-start;justify-content:flex-start;padding-block-start:var(--gse-ui-formControl-formField-gap);font-family:var(--gse-ui-formControl-helper-helperText-fontFamily);font-size:var(--gse-ui-formControl-helper-helperText-fontSize);line-height:var(--gse-ui-formControl-helper-helperText-lineHeight);color:var(--gse-ui-formControl-helper-defaultColor)}.gux-form-field-help.gux-show{display:flex}.gux-form-field-help .gux-message{flex:0 1 auto;align-self:none;order:0}.gux-form-field-visual-label{display:inline-flex;flex:1 0 auto}.gux-form-field-visual-label ::slotted(label){min-inline-size:0}.gux-form-field-visual-label ::slotted(gux-label-info-beta){padding-inline-start:var(--gse-ui-formControl-formField-gap)}.gux-form-field-visual-label.gux-beside{position:relative;inset-block-start:var(--gse-ui-formControl-input-top);inline-size:fit-content;min-inline-size:var(--gse-ui-formControl-input-textfield-minWidth);max-inline-size:fit-content;margin-inline-end:var(--gse-ui-formControl-group-gapItems)}.gux-form-field-visual-label.gux-above{padding-block-end:var(--gse-ui-formControl-formField-gap)}.gux-form-field-visual-label.gux-screenreader{display:none}.gux-form-field-screenreader-label{position:absolute;top:auto;left:-10000px;width:1px;height:1px;overflow:hidden}:host{display:block}::slotted(label){font-family:var(--gse-ui-formControl-label-textBold-fontFamily);font-size:var(--gse-ui-formControl-label-textBold-fontSize);font-weight:var(--gse-ui-formControl-label-textBold-fontWeight);line-height:var(--gse-ui-formControl-label-textBold-lineHeight);color:var(--gse-ui-formControl-label-labelColor)}.gux-input-and-error-container{flex-grow:1;inline-size:100%}";export{b as gux_form_field_dropdown}
1
+ import{r as e,h as i,a as t}from"./p-COgvjwDR.js";import{b as o}from"./p-D2nzPgXC.js";import{O as r}from"./p-vOC0-qDq.js";import{o as l}from"./p-De1NnCmO.js";import{h as s}from"./p-qzV3vtOw.js";import{G as a,a as n}from"./p-Dry1Kkrx.js";import{G as f,a as h,b as d}from"./p-DiDRSPEJ.js";import{g as u}from"./p-MAoEg4ig.js";import{b as p,s as g,a as m}from"./p-DHLxhscH.js";import{t as c}from"./p-Dfk0nYGa.js";import"./p-Cd4R0amv.js";import"./p-D9jKBqIb.js";import"./p-DxtJDeL9.js";import"./p-BMRf5pjV.js";var x={required:"Required"};const b=class{constructor(i){e(this,i),this.indicatorMark="required",this.computedLabelPosition="above",this.hasError=!1,this.hasHelp=!1,this.hasLabelInfo=!1}watchValue(e){const i=this.root.querySelector("gux-dropdown")||this.root.querySelector("gux-dropdown-multi");i&&(i.hasError=e)}onMutation(){this.labelInfo=this.root.querySelector("[slot=label-info]"),this.hasError=s(this.root,"error"),this.hasHelp=s(this.root,"help")}handleKeyup(e){var i,t;switch(e.key){case"Tab":this.dropdownElement.matches(":focus-within")&&(null===(i=this.labelInfo)||void 0===i||i.showTooltip(),this.hideLabelInfoTimeout=setTimeout((()=>{var e;null===(e=this.labelInfo)||void 0===e||e.hideTooltip()}),6e3));break;case"Shift":break;default:this.dropdownElement.matches(":focus-within")&&(null===(t=this.labelInfo)||void 0===t||t.hideTooltip(),clearTimeout(this.hideLabelInfoTimeout))}}onFocusout(){var e;null===(e=this.labelInfo)||void 0===e||e.hideTooltip(),clearTimeout(this.hideLabelInfoTimeout)}async componentWillLoad(){this.getI18nValue=await o(this.root,x),this.setInput(),this.setLabel(),this.labelInfo=this.root.querySelector("[slot=label-info]"),this.hasError=s(this.root,"error"),this.hasHelp=s(this.root,"help"),this.hasLabelInfo=s(this.root,"label-info"),c(this.root,{variant:this.variant})}disconnectedCallback(){this.requiredObserver&&this.requiredObserver.disconnect()}renderText(e,i=!1){if(i)return" "+e}render(){var e;return i(d,{key:"7b053afc1e4239cc544deac4650810ff88d13fa8",labelPosition:this.computedLabelPosition},i(h,{key:"9297c6459663934682afe9398efdfbaa4bb765b8"},null===(e=this.label)||void 0===e?void 0:e.textContent,this.renderText(this.getI18nValue("required"),this.required),this.renderText(u(this.root,"error"),this.hasError),this.renderText(u(this.root,"help"),this.hasHelp),this.renderText(u(this.root,"label-info"),this.hasLabelInfo)),i(f,{key:"767c8e4a4c4995cfa31100f79d7e96ad2de088a0",position:this.computedLabelPosition,required:this.required},i("slot",{key:"b879b53aa8df83797a16d1a263316808370e301d",name:"label",onSlotchange:()=>this.setLabel()}),i("gux-form-field-label-indicator",{key:"da7c9a5349db2f179866cbcc56ce77794c276ebf",variant:this.indicatorMark,required:this.required}),i("slot",{key:"b5dfdaffee81961e2d49aa90e511cea1d63dcecb",name:"label-info"})),i("div",{key:"795f20f6398169ad2c8bfee3f0e1a7cf03971524",class:"gux-input-and-error-container"},i("div",{key:"759eed24f07de9a0dba995c247962b04dbf84fd6",class:{"gux-input":!0,"gux-input-error":this.hasError}},i("slot",{key:"adc434705994f2973631ec282ee924e0faaa0309"})),i(a,{key:"665530549449a343dc485e4cbee3df3429cbd724",show:this.hasError},i("slot",{key:"49cdf2682aaa7fd032ebe3dc3ac952597fb655c6",name:"error"})),i(n,{key:"df6576ed2c4709d3196a12a2deb9f4e2eb9072d3",show:!this.hasError&&this.hasHelp},i("slot",{key:"842e31b97627469948198d6e517d54012ba29516",name:"help"}))))}get variant(){return`dropdown-${this.labelPosition?this.labelPosition.toLowerCase():"none"}`}setInput(){this.dropdownElement=this.root.querySelector("gux-dropdown")||this.root.querySelector("gux-dropdown-multi"),this.listboxElement=this.root.querySelector("gux-listbox")||this.root.querySelector("gux-listbox-multi"),this.required=this.dropdownElement.required,this.requiredObserver=l(this.dropdownElement,(e=>{this.required=e})),p(this.root,this.listboxElement,"label"),g(this.root,this.listboxElement,"error"),g(this.root,this.listboxElement,"help")}setLabel(){this.label=this.root.querySelector('label[slot="label"]'),this.computedLabelPosition=m(this.label,this.labelPosition)}get root(){return t(this)}static get watchers(){return{hasError:["watchValue"]}}};(function(e,i,t,o){var r,l=arguments.length,s=l<3?i:null===o?o=Object.getOwnPropertyDescriptor(i,t):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(e,i,t,o);else for(var a=e.length-1;a>=0;a--)(r=e[a])&&(s=(l<3?r(s):l>3?r(i,t,s):r(i,t))||s);l>3&&s&&Object.defineProperty(i,t,s)})([r({childList:!0,subtree:!0})],b.prototype,"onMutation",null),b.style=".gux-form-field-fieldset-container{display:flex;min-inline-size:0;padding:0;margin:0;border:none}.gux-form-field-fieldset-container.gux-beside{flex-direction:row}.gux-form-field-fieldset-container.gux-above{flex-direction:column}.gux-form-field-error{display:none;flex-direction:row;flex-wrap:nowrap;gap:var(--gse-ui-formControl-helper-gap);place-content:stretch flex-start;padding:var(--gse-ui-formControl-helper-errorPadding);font-family:var(--gse-ui-formControl-helper-helperText-fontFamily);font-size:var(--gse-ui-formControl-helper-helperText-fontSize);line-height:var(--gse-ui-formControl-helper-helperText-lineHeight);color:var(--gse-ui-formControl-helper-errorColor)}.gux-form-field-error.gux-show{display:flex}.gux-form-field-error gux-icon{flex:0 0 auto;order:0;color:var(--gse-ui-formControl-helper-errorColor)}.gux-form-field-error .gux-message{flex:0 1 auto;align-self:auto;order:0}.gux-form-field-help{display:none;flex-direction:row;flex-wrap:nowrap;place-content:stretch flex-start;align-items:flex-start;justify-content:flex-start;padding-block-start:var(--gse-ui-formControl-formField-gap);font-family:var(--gse-ui-formControl-helper-helperText-fontFamily);font-size:var(--gse-ui-formControl-helper-helperText-fontSize);line-height:var(--gse-ui-formControl-helper-helperText-lineHeight);color:var(--gse-ui-formControl-helper-defaultColor)}.gux-form-field-help.gux-show{display:flex}.gux-form-field-help .gux-message{flex:0 1 auto;align-self:none;order:0}.gux-form-field-visual-label{display:inline-flex;flex:1 0 auto}.gux-form-field-visual-label ::slotted(label){min-inline-size:0}.gux-form-field-visual-label ::slotted(gux-label-info-beta){padding-inline-start:var(--gse-ui-formControl-formField-gap)}.gux-form-field-visual-label.gux-beside{position:relative;inset-block-start:var(--gse-ui-formControl-input-top);inline-size:fit-content;min-inline-size:var(--gse-ui-formControl-input-textfield-minWidth);max-inline-size:fit-content;margin-inline-end:var(--gse-ui-formControl-group-gapItems)}.gux-form-field-visual-label.gux-above{padding-block-end:var(--gse-ui-formControl-formField-gap)}.gux-form-field-visual-label.gux-screenreader{display:none}.gux-form-field-screenreader-label{position:absolute;top:auto;left:-10000px;width:1px;height:1px;overflow:hidden}:host{display:block}::slotted(label){font-family:var(--gse-ui-formControl-label-textBold-fontFamily);font-size:var(--gse-ui-formControl-label-textBold-fontSize);font-weight:var(--gse-ui-formControl-label-textBold-fontWeight);line-height:var(--gse-ui-formControl-label-textBold-lineHeight);color:var(--gse-ui-formControl-label-labelColor)}.gux-input-and-error-container{flex-grow:1;inline-size:100%}";export{b as gux_form_field_dropdown}
@@ -1 +1 @@
1
- import{r as t,h as e,a as r}from"./p-COgvjwDR.js";import{t as i}from"./p-DEpB6GnC.js";import{O as o}from"./p-DGRFHar4.js";import{b as s,g as n}from"./p-D2nzPgXC.js";import{a}from"./p-B0p1zRQq.js";import{u}from"./p-ZuNZ-MBw.js";import{s as l}from"./p-BMRf5pjV.js";import{b as h}from"./p-Bg4q97BS.js";import{g,a as p,b as c}from"./p-Dwrcabgx.js";import"./p-Cd4R0amv.js";import"./p-BZb6pJEJ.js";var d={toggleCalendar:"Toggle month calendar view",month:"Month",year:"Year",unset:"Unset"};const f={year:"numeric",month:"long"},m=["ar","he","ja","ko","zh-cn","zh-tw"],b=class{constructor(e){t(this,e),this.disabled=!1,this.expanded=!1}onKeyDown(t){"Escape"===t.key&&(this.expanded=!1,this.calendarToggleButtonElement.focus())}onValueUpdate(t){this.value=this.isOutOfBounds(t)?this.isBeforeMin(t)?this.min:this.max:t,l(this.root,"input"),l(this.root,"change")}onClickOutside(){this.expanded=!1}async componentWillLoad(){i(this.root),this.i18n=await s(this.root,d),this.locale=u()?a(this.root):n(this.root)}onFocusout(t){t.relatedTarget&&!this.root.contains(t.relatedTarget)&&(this.expanded=!1)}isOutOfBounds(t){return this.isBeforeMin(t)||this.isAfterMax(t)}isBeforeMin(t){return this.min&&this.min>t}isAfterMax(t){return this.max&&this.max<t}toggleCalendar(){this.expanded=!this.expanded,this.expanded&&h((()=>{this.monthCalendarElement.guxFocus(this.value)}))}onMonthCalendarInput(){this.value=this.monthCalendarElement.value,this.expanded=!1,this.calendarToggleButtonElement.focus()}incrementMonth(t){if(this.value){const{year:e,month:r}=g(this.value),i=((parseInt(r)+11+t)%12+1).toString().padStart(2,"0");this.value=p(e,i)}else this.value=c()}incrementYear(t){if(this.value){const{year:e,month:r}=g(this.value),i=Math.max(Number(e)+t,0).toString();this.value=p(i,r)}else this.value=c()}onSpinnerKeyDown(t,e,r){switch(t.key){case"ArrowDown":t.preventDefault(),e(-1);break;case"ArrowUp":t.preventDefault(),e(1);break;case"ArrowLeft":case"ArrowRight":t.preventDefault(),r.focus();break;case"Enter":t.preventDefault(),this.expanded=!0,h((()=>{this.monthCalendarElement.guxFocus(this.value)}));break;case" ":t.preventDefault()}}onSpinnerKeyUp(t){t.stopPropagation()," "===t.key&&(t.preventDefault(),this.expanded=!0,h((()=>{this.monthCalendarElement.guxFocus(this.value)})))}onSpinnerClick(){this.expanded=!0}getSpinnerLabel(t){if(this.value){const{year:e,month:r}=g(this.value);return new Date(Number(e),Number(r)-1).toLocaleDateString(this.locale,{[t]:f[t]})}return this.i18n(t)}getSpinnerValueNow(t){return this.value?g(this.value)[t]:"0"}getSpinnerValueText(){if(this.value){const{year:t,month:e}=g(this.value);return new Date(Number(t),Number(e)-1).toLocaleDateString(this.locale,{year:"numeric",month:"long"})}return this.i18n("unset")}renderMonthSpinnerButton(){return e("div",{role:"spinbutton",class:"gux-spinner",tabIndex:this.disabled?-1:0,onKeyDown:t=>this.onSpinnerKeyDown(t,(t=>this.incrementMonth(t)),this.yearSpinnerElement),onKeyUp:t=>this.onSpinnerKeyUp(t),onClick:()=>this.onSpinnerClick(),ref:t=>this.monthSpinnerElement=t,"aria-valuenow":this.getSpinnerValueNow("month"),"aria-valuetext":this.getSpinnerValueText(),"aria-valuemin":"1","aria-valuemax":"12","aria-label":this.i18n("month")},this.getSpinnerLabel("month"))}renderYearSpinnerButton(){return e("div",{role:"spinbutton",class:"gux-spinner",tabIndex:this.disabled?-1:0,onKeyDown:t=>this.onSpinnerKeyDown(t,(t=>this.incrementYear(t)),this.monthSpinnerElement),onKeyUp:t=>this.onSpinnerKeyUp(t),onClick:()=>this.onSpinnerClick(),ref:t=>this.yearSpinnerElement=t,"aria-valuenow":this.getSpinnerValueNow("year"),"aria-valuetext":this.getSpinnerValueText(),"aria-valuemin":"0","aria-label":this.i18n("year")},this.getSpinnerLabel("year"))}renderSpinnerButtons(){return m.includes(this.locale)?e("span",{class:"gux-display"},this.renderYearSpinnerButton(),this.renderMonthSpinnerButton()):e("span",{class:"gux-display"},this.renderMonthSpinnerButton(),this.renderYearSpinnerButton())}renderCalendarToggleButton(){return e("button",{class:{"gux-popup-toggle":!0,"gux-expanded":this.expanded},ref:t=>this.calendarToggleButtonElement=t,type:"button",onClick:()=>this.toggleCalendar(),disabled:this.disabled},e("gux-icon",{"icon-name":"fa/calendar-regular",decorative:!0,size:"small"}),e("gux-screen-reader-beta",null,this.i18n("toggleCalendar")))}renderTarget(){return e("div",{class:"gux-target",slot:"target"},this.renderSpinnerButtons(),this.renderCalendarToggleButton())}renderPopup(){return e("gux-month-calendar",{slot:"popup",ref:t=>this.monthCalendarElement=t,onInput:()=>this.onMonthCalendarInput(),value:this.value,min:this.min,max:this.max})}render(){return e("gux-popup",{key:"f5b0413993a9d93f82ac1316a4be9db3869bddc1",expanded:this.expanded,disabled:this.disabled,"exceed-target-width":!0},this.renderTarget(),this.renderPopup())}get root(){return r(this)}static get watchers(){return{value:["onValueUpdate"]}}};(function(t,e,r,i){var o,s=arguments.length,n=s<3?e:null===i?i=Object.getOwnPropertyDescriptor(e,r):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)n=Reflect.decorate(t,e,r,i);else for(var a=t.length-1;a>=0;a--)(o=t[a])&&(n=(s<3?o(n):s>3?o(e,r,n):o(e,r))||n);s>3&&n&&Object.defineProperty(e,r,n)})([o({triggerEvents:"mousedown"})],b.prototype,"onClickOutside",null),b.style=":host{display:inline-block}.gux-target{display:inline-flex;gap:var(--gse-ui-formControl-input-gap);padding:var(--gse-ui-formControl-textarea-padding);cursor:pointer;background-color:var(--gse-ui-calendarMenu-backgroundColor);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-target: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-target .gux-display{display:inline-flex;align-items:center;min-inline-size:100px;padding-inline-end:var(--gse-ui-formControl-input-gap);font-family:var(--gse-ui-formControl-label-text-fontFamily);font-size:var(--gse-ui-formControl-label-text-fontSize);font-weight:var(--gse-ui-formControl-label-text-fontWeight);line-height:var(--gse-ui-formControl-label-text-lineHeight);color:var(--gse-ui-formControl-label-labelColor)}.gux-target .gux-display .gux-spinner{outline:none}.gux-target .gux-display .gux-spinner:not(:first-child){margin-inline-start:4px}.gux-target .gux-display .gux-spinner:focus-visible{background:var(--gse-ui-calendarMenu-month-hover-backgroundColor)}.gux-target .gux-popup-toggle{justify-content:right;color:var(--gse-ui-monthPicker-calendarStates-defaultColor);background:transparent;border:none}.gux-target .gux-popup-toggle:focus-visible{outline:var(--gse-ui-monthPicker-calendarStates-focus-border-width) var(--gse-ui-monthPicker-calendarStates-focus-border-style) var(--gse-ui-monthPicker-calendarStates-focus-border-color);outline-offset:var(--gse-semantic-focusOutline-offset);border-radius:var(--gse-ui-calendarMenu-month-calendarButton-focusBorderRadius)}.gux-target .gux-popup-toggle:not(:disabled):hover{color:var(--gse-ui-monthPicker-calendarStates-hoverColor);cursor:pointer}.gux-target .gux-popup-toggle:not(:disabled):focus{color:var(--gse-ui-monthPicker-calendarStates-activeColor);cursor:pointer}.gux-target .gux-popup-toggle:disabled{color:var(--gse-ui-monthPicker-calendarStates-disabledColor)}.gux-target .gux-popup-toggle.gux-expanded{color:var(--gse-ui-monthPicker-calendarStates-activeColor)}";export{b as gux_month_picker_beta}
1
+ import{r as t,h as e,a as r}from"./p-COgvjwDR.js";import{t as i}from"./p-Dfk0nYGa.js";import{O as o}from"./p-DGRFHar4.js";import{b as s,g as n}from"./p-D2nzPgXC.js";import{a}from"./p-B0p1zRQq.js";import{u}from"./p-ZuNZ-MBw.js";import{s as l}from"./p-BMRf5pjV.js";import{b as h}from"./p-Bg4q97BS.js";import{g,a as p,b as c}from"./p-Dwrcabgx.js";import"./p-Cd4R0amv.js";import"./p-BZb6pJEJ.js";var d={toggleCalendar:"Toggle month calendar view",month:"Month",year:"Year",unset:"Unset"};const f={year:"numeric",month:"long"},m=["ar","he","ja","ko","zh-cn","zh-tw"],b=class{constructor(e){t(this,e),this.disabled=!1,this.expanded=!1}onKeyDown(t){"Escape"===t.key&&(this.expanded=!1,this.calendarToggleButtonElement.focus())}onValueUpdate(t){this.value=this.isOutOfBounds(t)?this.isBeforeMin(t)?this.min:this.max:t,l(this.root,"input"),l(this.root,"change")}onClickOutside(){this.expanded=!1}async componentWillLoad(){i(this.root),this.i18n=await s(this.root,d),this.locale=u()?a(this.root):n(this.root)}onFocusout(t){t.relatedTarget&&!this.root.contains(t.relatedTarget)&&(this.expanded=!1)}isOutOfBounds(t){return this.isBeforeMin(t)||this.isAfterMax(t)}isBeforeMin(t){return this.min&&this.min>t}isAfterMax(t){return this.max&&this.max<t}toggleCalendar(){this.expanded=!this.expanded,this.expanded&&h((()=>{this.monthCalendarElement.guxFocus(this.value)}))}onMonthCalendarInput(){this.value=this.monthCalendarElement.value,this.expanded=!1,this.calendarToggleButtonElement.focus()}incrementMonth(t){if(this.value){const{year:e,month:r}=g(this.value),i=((parseInt(r)+11+t)%12+1).toString().padStart(2,"0");this.value=p(e,i)}else this.value=c()}incrementYear(t){if(this.value){const{year:e,month:r}=g(this.value),i=Math.max(Number(e)+t,0).toString();this.value=p(i,r)}else this.value=c()}onSpinnerKeyDown(t,e,r){switch(t.key){case"ArrowDown":t.preventDefault(),e(-1);break;case"ArrowUp":t.preventDefault(),e(1);break;case"ArrowLeft":case"ArrowRight":t.preventDefault(),r.focus();break;case"Enter":t.preventDefault(),this.expanded=!0,h((()=>{this.monthCalendarElement.guxFocus(this.value)}));break;case" ":t.preventDefault()}}onSpinnerKeyUp(t){t.stopPropagation()," "===t.key&&(t.preventDefault(),this.expanded=!0,h((()=>{this.monthCalendarElement.guxFocus(this.value)})))}onSpinnerClick(){this.expanded=!0}getSpinnerLabel(t){if(this.value){const{year:e,month:r}=g(this.value);return new Date(Number(e),Number(r)-1).toLocaleDateString(this.locale,{[t]:f[t]})}return this.i18n(t)}getSpinnerValueNow(t){return this.value?g(this.value)[t]:"0"}getSpinnerValueText(){if(this.value){const{year:t,month:e}=g(this.value);return new Date(Number(t),Number(e)-1).toLocaleDateString(this.locale,{year:"numeric",month:"long"})}return this.i18n("unset")}renderMonthSpinnerButton(){return e("div",{role:"spinbutton",class:"gux-spinner",tabIndex:this.disabled?-1:0,onKeyDown:t=>this.onSpinnerKeyDown(t,(t=>this.incrementMonth(t)),this.yearSpinnerElement),onKeyUp:t=>this.onSpinnerKeyUp(t),onClick:()=>this.onSpinnerClick(),ref:t=>this.monthSpinnerElement=t,"aria-valuenow":this.getSpinnerValueNow("month"),"aria-valuetext":this.getSpinnerValueText(),"aria-valuemin":"1","aria-valuemax":"12","aria-label":this.i18n("month")},this.getSpinnerLabel("month"))}renderYearSpinnerButton(){return e("div",{role:"spinbutton",class:"gux-spinner",tabIndex:this.disabled?-1:0,onKeyDown:t=>this.onSpinnerKeyDown(t,(t=>this.incrementYear(t)),this.monthSpinnerElement),onKeyUp:t=>this.onSpinnerKeyUp(t),onClick:()=>this.onSpinnerClick(),ref:t=>this.yearSpinnerElement=t,"aria-valuenow":this.getSpinnerValueNow("year"),"aria-valuetext":this.getSpinnerValueText(),"aria-valuemin":"0","aria-label":this.i18n("year")},this.getSpinnerLabel("year"))}renderSpinnerButtons(){return m.includes(this.locale)?e("span",{class:"gux-display"},this.renderYearSpinnerButton(),this.renderMonthSpinnerButton()):e("span",{class:"gux-display"},this.renderMonthSpinnerButton(),this.renderYearSpinnerButton())}renderCalendarToggleButton(){return e("button",{class:{"gux-popup-toggle":!0,"gux-expanded":this.expanded},ref:t=>this.calendarToggleButtonElement=t,type:"button",onClick:()=>this.toggleCalendar(),disabled:this.disabled},e("gux-icon",{"icon-name":"fa/calendar-regular",decorative:!0,size:"small"}),e("gux-screen-reader-beta",null,this.i18n("toggleCalendar")))}renderTarget(){return e("div",{class:"gux-target",slot:"target"},this.renderSpinnerButtons(),this.renderCalendarToggleButton())}renderPopup(){return e("gux-month-calendar",{slot:"popup",ref:t=>this.monthCalendarElement=t,onInput:()=>this.onMonthCalendarInput(),value:this.value,min:this.min,max:this.max})}render(){return e("gux-popup",{key:"f5b0413993a9d93f82ac1316a4be9db3869bddc1",expanded:this.expanded,disabled:this.disabled,"exceed-target-width":!0},this.renderTarget(),this.renderPopup())}get root(){return r(this)}static get watchers(){return{value:["onValueUpdate"]}}};(function(t,e,r,i){var o,s=arguments.length,n=s<3?e:null===i?i=Object.getOwnPropertyDescriptor(e,r):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)n=Reflect.decorate(t,e,r,i);else for(var a=t.length-1;a>=0;a--)(o=t[a])&&(n=(s<3?o(n):s>3?o(e,r,n):o(e,r))||n);s>3&&n&&Object.defineProperty(e,r,n)})([o({triggerEvents:"mousedown"})],b.prototype,"onClickOutside",null),b.style=":host{display:inline-block}.gux-target{display:inline-flex;gap:var(--gse-ui-formControl-input-gap);padding:var(--gse-ui-formControl-textarea-padding);cursor:pointer;background-color:var(--gse-ui-calendarMenu-backgroundColor);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-target: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-target .gux-display{display:inline-flex;align-items:center;min-inline-size:100px;padding-inline-end:var(--gse-ui-formControl-input-gap);font-family:var(--gse-ui-formControl-label-text-fontFamily);font-size:var(--gse-ui-formControl-label-text-fontSize);font-weight:var(--gse-ui-formControl-label-text-fontWeight);line-height:var(--gse-ui-formControl-label-text-lineHeight);color:var(--gse-ui-formControl-label-labelColor)}.gux-target .gux-display .gux-spinner{outline:none}.gux-target .gux-display .gux-spinner:not(:first-child){margin-inline-start:4px}.gux-target .gux-display .gux-spinner:focus-visible{background:var(--gse-ui-calendarMenu-month-hover-backgroundColor)}.gux-target .gux-popup-toggle{justify-content:right;color:var(--gse-ui-monthPicker-calendarStates-defaultColor);background:transparent;border:none}.gux-target .gux-popup-toggle:focus-visible{outline:var(--gse-ui-monthPicker-calendarStates-focus-border-width) var(--gse-ui-monthPicker-calendarStates-focus-border-style) var(--gse-ui-monthPicker-calendarStates-focus-border-color);outline-offset:var(--gse-semantic-focusOutline-offset);border-radius:var(--gse-ui-calendarMenu-month-calendarButton-focusBorderRadius)}.gux-target .gux-popup-toggle:not(:disabled):hover{color:var(--gse-ui-monthPicker-calendarStates-hoverColor);cursor:pointer}.gux-target .gux-popup-toggle:not(:disabled):focus{color:var(--gse-ui-monthPicker-calendarStates-activeColor);cursor:pointer}.gux-target .gux-popup-toggle:disabled{color:var(--gse-ui-monthPicker-calendarStates-disabledColor)}.gux-target .gux-popup-toggle.gux-expanded{color:var(--gse-ui-monthPicker-calendarStates-activeColor)}";export{b as gux_month_picker_beta}
@@ -1 +1 @@
1
- import{r,h as d,a as e}from"./p-COgvjwDR.js";import{t as a}from"./p-DEpB6GnC.js";const o=class{constructor(d){r(this,d),this.accent="bordered"}componentWillLoad(){a(this.root,{variant:this.accent})}render(){return d("div",{key:"c01aa0504b534e5b00ab38daaf678c28d0be9504",class:{"gux-card":!0,[`gux-${this.accent}`]:!0}},d("slot",{key:"7928067234ae701d43d3f787e76d8f807446804d"}))}get root(){return e(this)}};o.style=":host{display:block;inline-size:fit-content}.gux-card{box-sizing:border-box;padding:var(--gse-ui-card-padding);background-color:var(--gse-ui-card-backgroundColor);border:var(--gse-ui-card-default-border-width) var(--gse-ui-card-default-border-style) var(--gse-ui-card-default-border-color);border-radius:var(--gse-ui-card-borderRadius)}.gux-card.gux-bordered{border:var(--gse-ui-card-default-border-width) var(--gse-ui-card-default-border-style) var(--gse-ui-card-default-border-color)}.gux-card.gux-raised{border:var(--gse-ui-card-raised-border-width) var(--gse-ui-card-raised-border-style) var(--gse-ui-card-raised-border-color);box-shadow:var(--gse-ui-card-raised-boxShadow)}.gux-card.gux-borderless{border:var(--gse-ui-card-borderless-border-width) var(--gse-ui-card-borderless-border-style) var(--gse-ui-card-borderless-border-color)}";export{o as gux_card}
1
+ import{r,h as d,a as e}from"./p-COgvjwDR.js";import{t as a}from"./p-Dfk0nYGa.js";const o=class{constructor(d){r(this,d),this.accent="bordered"}componentWillLoad(){a(this.root,{variant:this.accent})}render(){return d("div",{key:"c01aa0504b534e5b00ab38daaf678c28d0be9504",class:{"gux-card":!0,[`gux-${this.accent}`]:!0}},d("slot",{key:"7928067234ae701d43d3f787e76d8f807446804d"}))}get root(){return e(this)}};o.style=":host{display:block;inline-size:fit-content}.gux-card{box-sizing:border-box;padding:var(--gse-ui-card-padding);background-color:var(--gse-ui-card-backgroundColor);border:var(--gse-ui-card-default-border-width) var(--gse-ui-card-default-border-style) var(--gse-ui-card-default-border-color);border-radius:var(--gse-ui-card-borderRadius)}.gux-card.gux-bordered{border:var(--gse-ui-card-default-border-width) var(--gse-ui-card-default-border-style) var(--gse-ui-card-default-border-color)}.gux-card.gux-raised{border:var(--gse-ui-card-raised-border-width) var(--gse-ui-card-raised-border-style) var(--gse-ui-card-raised-border-color);box-shadow:var(--gse-ui-card-raised-boxShadow)}.gux-card.gux-borderless{border:var(--gse-ui-card-borderless-border-width) var(--gse-ui-card-borderless-border-style) var(--gse-ui-card-borderless-border-color)}";export{o as gux_card}
@@ -1 +1 @@
1
- import{r as t,h as r,a as i}from"./p-COgvjwDR.js";import{t as o}from"./p-DEpB6GnC.js";import{b as e}from"./p-D2nzPgXC.js";import{t as a}from"./p-DN3YAdAX.js";import{g as s}from"./p-Cd4R0amv.js";const g=class{constructor(r){t(this,r),this.disabled=!1,this.highlight="orange"}onMouseUp(){this.focusParentList()}onMouseOver(){this.focusParentList()}focusParentList(){const t=s("gux-rich-text-editor-list",this.root);t&&null===t.shadowRoot.activeElement&&(this.root.blur(),t.focus({preventScroll:!0}))}async componentWillLoad(){o(this.root,{variant:this.highlight}),this.i18n=await e(this.root,a)}renderTooltip(){if(!this.disabled&&"inherit"!==this.highlight)return r("gux-tooltip-beta",null,r("div",{slot:"content"},this.i18n(`${this.highlight}`)))}render(){return r("div",{key:"09aabfefdaf4f72725194d505f000fe62f6db69f",class:{"gux-highlight":!0,[`gux-${this.highlight}`]:!0},role:"listitem"},r("button",{key:"05299d949d67855d820a7911a28cc5e3c6bbf27f",type:"button","aria-label":this.i18n(`${this.highlight}`),tabIndex:-1,disabled:this.disabled}),this.renderTooltip())}static get delegatesFocus(){return!0}get root(){return i(this)}};g.style=":host{display:block;border-radius:var(--gse-ui-button-borderRadius)}.gux-highlight{inline-size:var(--gse-ui-rte-colorSwatch-width);block-size:var(--gse-ui-rte-colorSwatch-height);border-radius:var(--gse-ui-button-borderRadius)}.gux-highlight button{all:unset;inline-size:100%;block-size:100%;cursor:pointer}.gux-highlight button:focus-visible{outline:var(--gse-semantic-focusOutline-sm-borderWidth) solid var(--gse-semantic-border-focus);border-radius:var(--gse-semantic-focusOutline-sm-borderRadius)}.gux-highlight.gux-orange{background-color:var(--gse-ui-rte-colorSwatch-orange-default)}.gux-highlight.gux-coral{background-color:var(--gse-ui-rte-colorSwatch-coral-default)}.gux-highlight.gux-pear{background-color:var(--gse-ui-rte-colorSwatch-pear-default)}.gux-highlight.gux-raspberry{background-color:var(--gse-ui-rte-colorSwatch-raspberry-default)}.gux-highlight.gux-mango{background-color:var(--gse-ui-rte-colorSwatch-mango-default)}.gux-highlight.gux-blue{background-color:var(--gse-ui-rte-colorSwatch-azure-default)}.gux-highlight.gux-mineral{background-color:var(--gse-ui-rte-colorSwatch-mineral-default)}.gux-highlight.gux-island{background-color:var(--gse-ui-rte-colorSwatch-island-default)}.gux-highlight.gux-inherit{color:inherit;background-color:inherit}";export{g as gux_rich_highlight_list_item}
1
+ import{r as t,h as r,a as i}from"./p-COgvjwDR.js";import{t as o}from"./p-Dfk0nYGa.js";import{b as e}from"./p-D2nzPgXC.js";import{t as a}from"./p-DN3YAdAX.js";import{g as s}from"./p-Cd4R0amv.js";const g=class{constructor(r){t(this,r),this.disabled=!1,this.highlight="orange"}onMouseUp(){this.focusParentList()}onMouseOver(){this.focusParentList()}focusParentList(){const t=s("gux-rich-text-editor-list",this.root);t&&null===t.shadowRoot.activeElement&&(this.root.blur(),t.focus({preventScroll:!0}))}async componentWillLoad(){o(this.root,{variant:this.highlight}),this.i18n=await e(this.root,a)}renderTooltip(){if(!this.disabled&&"inherit"!==this.highlight)return r("gux-tooltip-beta",null,r("div",{slot:"content"},this.i18n(`${this.highlight}`)))}render(){return r("div",{key:"09aabfefdaf4f72725194d505f000fe62f6db69f",class:{"gux-highlight":!0,[`gux-${this.highlight}`]:!0},role:"listitem"},r("button",{key:"05299d949d67855d820a7911a28cc5e3c6bbf27f",type:"button","aria-label":this.i18n(`${this.highlight}`),tabIndex:-1,disabled:this.disabled}),this.renderTooltip())}static get delegatesFocus(){return!0}get root(){return i(this)}};g.style=":host{display:block;border-radius:var(--gse-ui-button-borderRadius)}.gux-highlight{inline-size:var(--gse-ui-rte-colorSwatch-width);block-size:var(--gse-ui-rte-colorSwatch-height);border-radius:var(--gse-ui-button-borderRadius)}.gux-highlight button{all:unset;inline-size:100%;block-size:100%;cursor:pointer}.gux-highlight button:focus-visible{outline:var(--gse-semantic-focusOutline-sm-borderWidth) solid var(--gse-semantic-border-focus);border-radius:var(--gse-semantic-focusOutline-sm-borderRadius)}.gux-highlight.gux-orange{background-color:var(--gse-ui-rte-colorSwatch-orange-default)}.gux-highlight.gux-coral{background-color:var(--gse-ui-rte-colorSwatch-coral-default)}.gux-highlight.gux-pear{background-color:var(--gse-ui-rte-colorSwatch-pear-default)}.gux-highlight.gux-raspberry{background-color:var(--gse-ui-rte-colorSwatch-raspberry-default)}.gux-highlight.gux-mango{background-color:var(--gse-ui-rte-colorSwatch-mango-default)}.gux-highlight.gux-blue{background-color:var(--gse-ui-rte-colorSwatch-azure-default)}.gux-highlight.gux-mineral{background-color:var(--gse-ui-rte-colorSwatch-mineral-default)}.gux-highlight.gux-island{background-color:var(--gse-ui-rte-colorSwatch-island-default)}.gux-highlight.gux-inherit{color:inherit;background-color:inherit}";export{g as gux_rich_highlight_list_item}