genesys-spark-components 4.149.1 → 4.151.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 (394) hide show
  1. package/dist/cjs/genesys-webcomponents.cjs.js +1 -1
  2. package/dist/cjs/gux-accordion.cjs.entry.js +1 -1
  3. package/dist/cjs/gux-action-button.cjs.entry.js +1 -1
  4. package/dist/cjs/gux-action-toast-legacy.cjs.entry.js +1 -1
  5. package/dist/cjs/gux-advanced-dropdown-legacy.cjs.entry.js +1 -1
  6. package/dist/cjs/gux-announce-beta.cjs.entry.js +1 -1
  7. package/dist/cjs/gux-avatar-beta.cjs.entry.js +20 -12
  8. package/dist/cjs/gux-avatar-change-photo-beta.cjs.entry.js +2 -2
  9. package/dist/cjs/gux-avatar-group-add-item-beta_3.cjs.entry.js +1 -1
  10. package/dist/cjs/gux-avatar-group-beta.cjs.entry.js +1 -1
  11. package/dist/cjs/gux-avatar-group-item-beta.cjs.entry.js +1 -1
  12. package/dist/cjs/gux-badge.cjs.entry.js +1 -1
  13. package/dist/cjs/gux-blank-state.cjs.entry.js +1 -1
  14. package/dist/cjs/gux-breadcrumbs.cjs.entry.js +1 -1
  15. package/dist/cjs/gux-button-multi.cjs.entry.js +1 -1
  16. package/dist/cjs/gux-button-slot.cjs.entry.js +1 -1
  17. package/dist/cjs/gux-button_2.cjs.entry.js +1 -1
  18. package/dist/cjs/gux-calendar-beta.cjs.entry.js +1 -1
  19. package/dist/cjs/gux-calendar.cjs.entry.js +11 -3
  20. package/dist/cjs/gux-card.cjs.entry.js +1 -1
  21. package/dist/cjs/gux-column-manager.cjs.entry.js +1 -1
  22. package/dist/cjs/gux-content-search.cjs.entry.js +1 -1
  23. package/dist/cjs/gux-context-menu.cjs.entry.js +1 -1
  24. package/dist/cjs/gux-copy-to-clipboard.cjs.entry.js +1 -1
  25. package/dist/cjs/gux-date-beta.cjs.entry.js +1 -1
  26. package/dist/cjs/gux-date-time-beta.cjs.entry.js +1 -1
  27. package/dist/cjs/gux-datepicker.cjs.entry.js +1 -1
  28. package/dist/cjs/gux-day-beta.cjs.entry.js +1 -1
  29. package/dist/cjs/gux-disclosure-button-legacy.cjs.entry.js +1 -1
  30. package/dist/cjs/gux-dismiss-button.cjs.entry.js +1 -1
  31. package/dist/cjs/gux-dropdown-multi.cjs.entry.js +1 -1
  32. package/dist/cjs/gux-dropdown_3.cjs.entry.js +1 -1
  33. package/dist/cjs/gux-file-list-item.cjs.entry.js +1 -1
  34. package/dist/cjs/gux-flag-icon-beta.cjs.entry.js +1 -1
  35. package/dist/cjs/gux-flyout-menu.cjs.entry.js +1 -1
  36. package/dist/cjs/gux-form-field-checkbox-group-beta.cjs.entry.js +1 -1
  37. package/dist/cjs/gux-form-field-checkbox.cjs.entry.js +1 -1
  38. package/dist/cjs/gux-form-field-color.cjs.entry.js +1 -1
  39. package/dist/cjs/gux-form-field-dropdown.cjs.entry.js +1 -1
  40. package/dist/cjs/gux-form-field-file-beta.cjs.entry.js +1 -1
  41. package/dist/cjs/gux-form-field-file.cjs.entry.js +1 -1
  42. package/dist/cjs/gux-form-field-input-clear-button.cjs.entry.js +1 -1
  43. package/dist/cjs/gux-form-field-label-indicator.cjs.entry.js +1 -1
  44. package/dist/cjs/gux-form-field-number_2.cjs.entry.js +1 -1
  45. package/dist/cjs/gux-form-field-phone.cjs.entry.js +1 -1
  46. package/dist/cjs/gux-form-field-radio-group-beta.cjs.entry.js +1 -1
  47. package/dist/cjs/gux-form-field-radio.cjs.entry.js +1 -1
  48. package/dist/cjs/gux-form-field-range.cjs.entry.js +2 -2
  49. package/dist/cjs/gux-form-field-search.cjs.entry.js +1 -1
  50. package/dist/cjs/gux-form-field-select.cjs.entry.js +1 -1
  51. package/dist/cjs/gux-form-field-text-like.cjs.entry.js +1 -1
  52. package/dist/cjs/gux-form-field-textarea.cjs.entry.js +1 -1
  53. package/dist/cjs/gux-form-field-time-picker.cjs.entry.js +1 -1
  54. package/dist/cjs/gux-form-field-time-zone-picker.cjs.entry.js +1 -1
  55. package/dist/cjs/gux-form-footer.cjs.entry.js +1 -1
  56. package/dist/cjs/gux-icon-tooltip-beta.cjs.entry.js +1 -1
  57. package/dist/cjs/gux-icon.cjs.entry.js +1 -1
  58. package/dist/cjs/gux-inline-alert.cjs.entry.js +1 -1
  59. package/dist/cjs/gux-inline-dropdown-beta.cjs.entry.js +1 -1
  60. package/dist/cjs/gux-label-info-beta.cjs.entry.js +1 -1
  61. package/dist/cjs/gux-link-beta.cjs.entry.js +1 -1
  62. package/dist/cjs/gux-list.cjs.entry.js +1 -1
  63. package/dist/cjs/gux-listbox-multi.cjs.entry.js +1 -1
  64. package/dist/cjs/gux-loading-message.cjs.entry.js +1 -1
  65. package/dist/cjs/gux-modal-legacy.cjs.entry.js +1 -1
  66. package/dist/cjs/gux-modal-side-panel-beta.cjs.entry.js +1 -1
  67. package/dist/cjs/gux-modal.cjs.entry.js +1 -1
  68. package/dist/cjs/gux-month-picker-beta.cjs.entry.js +1 -1
  69. package/dist/cjs/gux-notification-toast-legacy.cjs.entry.js +1 -1
  70. package/dist/cjs/gux-page-loading-spinner.cjs.entry.js +1 -1
  71. package/dist/cjs/gux-pagination-cursor.cjs.entry.js +1 -1
  72. package/dist/cjs/gux-pagination-legacy.cjs.entry.js +1 -1
  73. package/dist/cjs/gux-pagination.cjs.entry.js +1 -1
  74. package/dist/cjs/gux-phone-input-beta.cjs.entry.js +171 -168
  75. package/dist/cjs/gux-popover-beta.cjs.entry.js +1 -1
  76. package/dist/cjs/gux-popover-list-beta.cjs.entry.js +1 -1
  77. package/dist/cjs/gux-popover-list.cjs.entry.js +1 -1
  78. package/dist/cjs/gux-radial-loading.cjs.entry.js +1 -1
  79. package/dist/cjs/gux-radial-progress.cjs.entry.js +1 -1
  80. package/dist/cjs/gux-rating.cjs.entry.js +1 -1
  81. package/dist/cjs/gux-rich-highlight-list-item.cjs.entry.js +1 -1
  82. package/dist/cjs/gux-rich-style-list-item_3.cjs.entry.js +1 -1
  83. package/dist/cjs/gux-rich-text-editor-action-link.cjs.entry.js +1 -1
  84. package/dist/cjs/gux-rich-text-editor-action-rich-style.cjs.entry.js +1 -1
  85. package/dist/cjs/gux-rich-text-editor-action-text-highlight.cjs.entry.js +1 -1
  86. package/dist/cjs/gux-rich-text-editor-action.cjs.entry.js +1 -1
  87. package/dist/cjs/gux-rich-text-editor-beta.cjs.entry.js +2 -2
  88. package/dist/cjs/gux-rich-text-editor-list.cjs.entry.js +1 -1
  89. package/dist/cjs/gux-screen-reader-beta.cjs.entry.js +1 -1
  90. package/dist/cjs/gux-segmented-control-beta.cjs.entry.js +1 -1
  91. package/dist/cjs/gux-selector-card-beta.cjs.entry.js +1 -1
  92. package/dist/cjs/gux-selector-cards-beta.cjs.entry.js +1 -1
  93. package/dist/cjs/gux-side-panel-beta.cjs.entry.js +1 -1
  94. package/dist/cjs/gux-side-panel-heading.cjs.entry.js +1 -1
  95. package/dist/cjs/gux-simple-toast-legacy.cjs.entry.js +1 -1
  96. package/dist/cjs/gux-skip-navigation-list.cjs.entry.js +1 -1
  97. package/dist/cjs/gux-sort-control.cjs.entry.js +1 -1
  98. package/dist/cjs/gux-status-indicator-beta.cjs.entry.js +1 -1
  99. package/dist/cjs/gux-switch-legacy.cjs.entry.js +1 -1
  100. package/dist/cjs/gux-tab-list.cjs.entry.js +7 -3
  101. package/dist/cjs/gux-table-toolbar-action.cjs.entry.js +1 -1
  102. package/dist/cjs/gux-table-toolbar-custom-action.cjs.entry.js +1 -1
  103. package/dist/cjs/gux-table-toolbar-menu-button.cjs.entry.js +1 -1
  104. package/dist/cjs/gux-table-toolbar.cjs.entry.js +2 -2
  105. package/dist/cjs/gux-table.cjs.entry.js +1 -1
  106. package/dist/cjs/gux-tabs-advanced.cjs.entry.js +1 -1
  107. package/dist/cjs/gux-tabs.cjs.entry.js +1 -1
  108. package/dist/cjs/gux-tag.cjs.entry.js +1 -1
  109. package/dist/cjs/gux-text-highlight.cjs.entry.js +1 -1
  110. package/dist/cjs/gux-time-beta.cjs.entry.js +1 -1
  111. package/dist/cjs/gux-time-picker.cjs.entry.js +1 -1
  112. package/dist/cjs/gux-time-zone-beta.cjs.entry.js +1 -1
  113. package/dist/cjs/gux-time-zone-picker-beta.cjs.entry.js +1 -1
  114. package/dist/cjs/gux-toast.cjs.entry.js +1 -1
  115. package/dist/cjs/gux-toggle.cjs.entry.js +1 -1
  116. package/dist/cjs/gux-tooltip-base-beta_2.cjs.entry.js +1 -1
  117. package/dist/cjs/gux-tooltip-pointer-beta.cjs.entry.js +1 -1
  118. package/dist/cjs/gux-tooltip-title.cjs.entry.js +1 -1
  119. package/dist/cjs/gux-tooltip_2.cjs.entry.js +2 -2
  120. package/dist/cjs/loader.cjs.js +1 -1
  121. package/dist/cjs/{on-resize-b2cc6e7f.js → on-resize-6374cacf.js} +5 -1
  122. package/dist/cjs/{usage-61e05be7.js → usage-35064d43.js} +4 -4
  123. package/dist/collection/components/beta/gux-avatar/gux-avatar-change-photo/gux-avatar-change-photo.js +1 -1
  124. package/dist/collection/components/beta/gux-avatar/gux-avatar.js +19 -11
  125. package/dist/collection/components/beta/gux-date-time/tests/gux-date-time.common.js +9 -0
  126. package/dist/collection/components/beta/gux-flag-icon/tests/gux-flag-icon.common.js +260 -0
  127. package/dist/collection/components/stable/gux-calendar/gux-calendar.js +5 -3
  128. package/dist/collection/components/stable/gux-tabs/gux-tab/tests/gux-tab.common.js +10 -0
  129. package/dist/collection/components/stable/gux-tabs/gux-tab-list/gux-tab-list.js +7 -3
  130. package/dist/collection/test/playwrightTestUtils.js +8 -6
  131. package/dist/collection/utils/decorator/on-resize.js +5 -1
  132. package/dist/esm/genesys-webcomponents.js +1 -1
  133. package/dist/esm/gux-accordion.entry.js +1 -1
  134. package/dist/esm/gux-action-button.entry.js +1 -1
  135. package/dist/esm/gux-action-toast-legacy.entry.js +1 -1
  136. package/dist/esm/gux-advanced-dropdown-legacy.entry.js +1 -1
  137. package/dist/esm/gux-announce-beta.entry.js +1 -1
  138. package/dist/esm/gux-avatar-beta.entry.js +20 -12
  139. package/dist/esm/gux-avatar-change-photo-beta.entry.js +2 -2
  140. package/dist/esm/gux-avatar-group-add-item-beta_3.entry.js +1 -1
  141. package/dist/esm/gux-avatar-group-beta.entry.js +1 -1
  142. package/dist/esm/gux-avatar-group-item-beta.entry.js +1 -1
  143. package/dist/esm/gux-badge.entry.js +1 -1
  144. package/dist/esm/gux-blank-state.entry.js +1 -1
  145. package/dist/esm/gux-breadcrumbs.entry.js +1 -1
  146. package/dist/esm/gux-button-multi.entry.js +1 -1
  147. package/dist/esm/gux-button-slot.entry.js +1 -1
  148. package/dist/esm/gux-button_2.entry.js +1 -1
  149. package/dist/esm/gux-calendar-beta.entry.js +1 -1
  150. package/dist/esm/gux-calendar.entry.js +12 -4
  151. package/dist/esm/gux-card.entry.js +1 -1
  152. package/dist/esm/gux-column-manager.entry.js +1 -1
  153. package/dist/esm/gux-content-search.entry.js +1 -1
  154. package/dist/esm/gux-context-menu.entry.js +1 -1
  155. package/dist/esm/gux-copy-to-clipboard.entry.js +1 -1
  156. package/dist/esm/gux-date-beta.entry.js +1 -1
  157. package/dist/esm/gux-date-time-beta.entry.js +1 -1
  158. package/dist/esm/gux-datepicker.entry.js +1 -1
  159. package/dist/esm/gux-day-beta.entry.js +1 -1
  160. package/dist/esm/gux-disclosure-button-legacy.entry.js +1 -1
  161. package/dist/esm/gux-dismiss-button.entry.js +1 -1
  162. package/dist/esm/gux-dropdown-multi.entry.js +1 -1
  163. package/dist/esm/gux-dropdown_3.entry.js +1 -1
  164. package/dist/esm/gux-file-list-item.entry.js +1 -1
  165. package/dist/esm/gux-flag-icon-beta.entry.js +1 -1
  166. package/dist/esm/gux-flyout-menu.entry.js +1 -1
  167. package/dist/esm/gux-form-field-checkbox-group-beta.entry.js +1 -1
  168. package/dist/esm/gux-form-field-checkbox.entry.js +1 -1
  169. package/dist/esm/gux-form-field-color.entry.js +1 -1
  170. package/dist/esm/gux-form-field-dropdown.entry.js +1 -1
  171. package/dist/esm/gux-form-field-file-beta.entry.js +1 -1
  172. package/dist/esm/gux-form-field-file.entry.js +1 -1
  173. package/dist/esm/gux-form-field-input-clear-button.entry.js +1 -1
  174. package/dist/esm/gux-form-field-label-indicator.entry.js +1 -1
  175. package/dist/esm/gux-form-field-number_2.entry.js +1 -1
  176. package/dist/esm/gux-form-field-phone.entry.js +1 -1
  177. package/dist/esm/gux-form-field-radio-group-beta.entry.js +1 -1
  178. package/dist/esm/gux-form-field-radio.entry.js +1 -1
  179. package/dist/esm/gux-form-field-range.entry.js +2 -2
  180. package/dist/esm/gux-form-field-search.entry.js +1 -1
  181. package/dist/esm/gux-form-field-select.entry.js +1 -1
  182. package/dist/esm/gux-form-field-text-like.entry.js +1 -1
  183. package/dist/esm/gux-form-field-textarea.entry.js +1 -1
  184. package/dist/esm/gux-form-field-time-picker.entry.js +1 -1
  185. package/dist/esm/gux-form-field-time-zone-picker.entry.js +1 -1
  186. package/dist/esm/gux-form-footer.entry.js +1 -1
  187. package/dist/esm/gux-icon-tooltip-beta.entry.js +1 -1
  188. package/dist/esm/gux-icon.entry.js +1 -1
  189. package/dist/esm/gux-inline-alert.entry.js +1 -1
  190. package/dist/esm/gux-inline-dropdown-beta.entry.js +1 -1
  191. package/dist/esm/gux-label-info-beta.entry.js +1 -1
  192. package/dist/esm/gux-link-beta.entry.js +1 -1
  193. package/dist/esm/gux-list.entry.js +1 -1
  194. package/dist/esm/gux-listbox-multi.entry.js +1 -1
  195. package/dist/esm/gux-loading-message.entry.js +1 -1
  196. package/dist/esm/gux-modal-legacy.entry.js +1 -1
  197. package/dist/esm/gux-modal-side-panel-beta.entry.js +1 -1
  198. package/dist/esm/gux-modal.entry.js +1 -1
  199. package/dist/esm/gux-month-picker-beta.entry.js +1 -1
  200. package/dist/esm/gux-notification-toast-legacy.entry.js +1 -1
  201. package/dist/esm/gux-page-loading-spinner.entry.js +1 -1
  202. package/dist/esm/gux-pagination-cursor.entry.js +1 -1
  203. package/dist/esm/gux-pagination-legacy.entry.js +1 -1
  204. package/dist/esm/gux-pagination.entry.js +1 -1
  205. package/dist/esm/gux-phone-input-beta.entry.js +171 -168
  206. package/dist/esm/gux-popover-beta.entry.js +1 -1
  207. package/dist/esm/gux-popover-list-beta.entry.js +1 -1
  208. package/dist/esm/gux-popover-list.entry.js +1 -1
  209. package/dist/esm/gux-radial-loading.entry.js +1 -1
  210. package/dist/esm/gux-radial-progress.entry.js +1 -1
  211. package/dist/esm/gux-rating.entry.js +1 -1
  212. package/dist/esm/gux-rich-highlight-list-item.entry.js +1 -1
  213. package/dist/esm/gux-rich-style-list-item_3.entry.js +1 -1
  214. package/dist/esm/gux-rich-text-editor-action-link.entry.js +1 -1
  215. package/dist/esm/gux-rich-text-editor-action-rich-style.entry.js +1 -1
  216. package/dist/esm/gux-rich-text-editor-action-text-highlight.entry.js +1 -1
  217. package/dist/esm/gux-rich-text-editor-action.entry.js +1 -1
  218. package/dist/esm/gux-rich-text-editor-beta.entry.js +2 -2
  219. package/dist/esm/gux-rich-text-editor-list.entry.js +1 -1
  220. package/dist/esm/gux-screen-reader-beta.entry.js +1 -1
  221. package/dist/esm/gux-segmented-control-beta.entry.js +1 -1
  222. package/dist/esm/gux-selector-card-beta.entry.js +1 -1
  223. package/dist/esm/gux-selector-cards-beta.entry.js +1 -1
  224. package/dist/esm/gux-side-panel-beta.entry.js +1 -1
  225. package/dist/esm/gux-side-panel-heading.entry.js +1 -1
  226. package/dist/esm/gux-simple-toast-legacy.entry.js +1 -1
  227. package/dist/esm/gux-skip-navigation-list.entry.js +1 -1
  228. package/dist/esm/gux-sort-control.entry.js +1 -1
  229. package/dist/esm/gux-status-indicator-beta.entry.js +1 -1
  230. package/dist/esm/gux-switch-legacy.entry.js +1 -1
  231. package/dist/esm/gux-tab-list.entry.js +7 -3
  232. package/dist/esm/gux-table-toolbar-action.entry.js +1 -1
  233. package/dist/esm/gux-table-toolbar-custom-action.entry.js +1 -1
  234. package/dist/esm/gux-table-toolbar-menu-button.entry.js +1 -1
  235. package/dist/esm/gux-table-toolbar.entry.js +2 -2
  236. package/dist/esm/gux-table.entry.js +1 -1
  237. package/dist/esm/gux-tabs-advanced.entry.js +1 -1
  238. package/dist/esm/gux-tabs.entry.js +1 -1
  239. package/dist/esm/gux-tag.entry.js +1 -1
  240. package/dist/esm/gux-text-highlight.entry.js +1 -1
  241. package/dist/esm/gux-time-beta.entry.js +1 -1
  242. package/dist/esm/gux-time-picker.entry.js +1 -1
  243. package/dist/esm/gux-time-zone-beta.entry.js +1 -1
  244. package/dist/esm/gux-time-zone-picker-beta.entry.js +1 -1
  245. package/dist/esm/gux-toast.entry.js +1 -1
  246. package/dist/esm/gux-toggle.entry.js +1 -1
  247. package/dist/esm/gux-tooltip-base-beta_2.entry.js +1 -1
  248. package/dist/esm/gux-tooltip-pointer-beta.entry.js +1 -1
  249. package/dist/esm/gux-tooltip-title.entry.js +1 -1
  250. package/dist/esm/gux-tooltip_2.entry.js +2 -2
  251. package/dist/esm/loader.js +1 -1
  252. package/dist/esm/{on-resize-c9d0d33c.js → on-resize-47eb1cef.js} +5 -1
  253. package/dist/esm/{usage-1c4df161.js → usage-904e7cb6.js} +4 -4
  254. package/dist/genesys-webcomponents/genesys-webcomponents.esm.js +1 -1
  255. package/dist/genesys-webcomponents/i18n/genesys-webcomponents.i18n.en.json +1 -1
  256. package/dist/genesys-webcomponents/{p-2432b03e.entry.js → p-01a4f95e.entry.js} +1 -1
  257. package/dist/genesys-webcomponents/{p-2ba82c14.entry.js → p-01cfebdd.entry.js} +1 -1
  258. package/dist/genesys-webcomponents/{p-d2d91a3c.entry.js → p-020deffc.entry.js} +1 -1
  259. package/dist/genesys-webcomponents/{p-2ee1e180.entry.js → p-023fa3ac.entry.js} +1 -1
  260. package/dist/genesys-webcomponents/{p-89cb42c6.entry.js → p-068533ef.entry.js} +1 -1
  261. package/dist/genesys-webcomponents/{p-b05606d0.entry.js → p-06e117d1.entry.js} +1 -1
  262. package/dist/genesys-webcomponents/p-079294ad.entry.js +1 -0
  263. package/dist/genesys-webcomponents/{p-1294a1cf.entry.js → p-0c01558c.entry.js} +1 -1
  264. package/dist/genesys-webcomponents/{p-3b520b9f.entry.js → p-0c65a6f7.entry.js} +1 -1
  265. package/dist/genesys-webcomponents/{p-d0dbd67e.entry.js → p-0ccd32e3.entry.js} +1 -1
  266. package/dist/genesys-webcomponents/{p-ac42d079.entry.js → p-12c4ebf9.entry.js} +1 -1
  267. package/dist/genesys-webcomponents/{p-0203d5ed.entry.js → p-150f1604.entry.js} +1 -1
  268. package/dist/genesys-webcomponents/{p-66949f74.entry.js → p-16eb5729.entry.js} +1 -1
  269. package/dist/genesys-webcomponents/{p-24feefe4.entry.js → p-176c0909.entry.js} +1 -1
  270. package/dist/genesys-webcomponents/{p-656935cc.entry.js → p-18703181.entry.js} +1 -1
  271. package/dist/genesys-webcomponents/{p-6619dc55.entry.js → p-19fd4a47.entry.js} +1 -1
  272. package/dist/genesys-webcomponents/{p-70ce0f17.entry.js → p-1ac25e89.entry.js} +1 -1
  273. package/dist/genesys-webcomponents/{p-b96756e7.entry.js → p-1b146622.entry.js} +1 -1
  274. package/dist/genesys-webcomponents/{p-d3efdb92.entry.js → p-1babd4a8.entry.js} +1 -1
  275. package/dist/genesys-webcomponents/{p-a491db2f.entry.js → p-1ee7cd5a.entry.js} +1 -1
  276. package/dist/genesys-webcomponents/{p-73ddc340.entry.js → p-1f49618a.entry.js} +1 -1
  277. package/dist/genesys-webcomponents/{p-95f863ff.entry.js → p-1f594e99.entry.js} +1 -1
  278. package/dist/genesys-webcomponents/{p-f2b3759f.entry.js → p-289fe52b.entry.js} +1 -1
  279. package/dist/genesys-webcomponents/{p-0cb23b5f.entry.js → p-2e542f67.entry.js} +1 -1
  280. package/dist/genesys-webcomponents/{p-ff6fd2bb.entry.js → p-34cf61c4.entry.js} +1 -1
  281. package/dist/genesys-webcomponents/{p-48c24671.entry.js → p-3652c571.entry.js} +1 -1
  282. package/dist/genesys-webcomponents/{p-b0496e11.entry.js → p-3a3970ff.entry.js} +1 -1
  283. package/dist/genesys-webcomponents/{p-3d43d3e1.entry.js → p-3f484937.entry.js} +1 -1
  284. package/dist/genesys-webcomponents/{p-77f47e24.entry.js → p-3fc337da.entry.js} +1 -1
  285. package/dist/genesys-webcomponents/{p-ca642b50.entry.js → p-3fcdb483.entry.js} +1 -1
  286. package/dist/genesys-webcomponents/{p-7494aeb5.entry.js → p-40e3da2e.entry.js} +1 -1
  287. package/dist/genesys-webcomponents/{p-52853f52.entry.js → p-48764f97.entry.js} +1 -1
  288. package/dist/genesys-webcomponents/{p-d4f0cfb6.entry.js → p-49a0ed0e.entry.js} +1 -1
  289. package/dist/genesys-webcomponents/{p-1bc44598.entry.js → p-4c7c4696.entry.js} +1 -1
  290. package/dist/genesys-webcomponents/{p-ebf75b52.entry.js → p-4fa5e3ea.entry.js} +1 -1
  291. package/dist/genesys-webcomponents/{p-33547f78.entry.js → p-4feb5888.entry.js} +1 -1
  292. package/dist/genesys-webcomponents/{p-a0ac557d.entry.js → p-5214e418.entry.js} +1 -1
  293. package/dist/genesys-webcomponents/p-52e5fb32.entry.js +1 -0
  294. package/dist/genesys-webcomponents/{p-2152f958.entry.js → p-5398f1fc.entry.js} +1 -1
  295. package/dist/genesys-webcomponents/{p-3e6cfe0a.entry.js → p-55e871c1.entry.js} +1 -1
  296. package/dist/genesys-webcomponents/{p-73d0e477.entry.js → p-5632bb86.entry.js} +1 -1
  297. package/dist/genesys-webcomponents/{p-bac769fe.entry.js → p-5aa58416.entry.js} +1 -1
  298. package/dist/genesys-webcomponents/{p-6ed53325.entry.js → p-5b2438c6.entry.js} +1 -1
  299. package/dist/genesys-webcomponents/{p-b01eef1c.entry.js → p-600a52e5.entry.js} +1 -1
  300. package/dist/genesys-webcomponents/{p-ef0425bd.entry.js → p-6344b4e6.entry.js} +1 -1
  301. package/dist/genesys-webcomponents/{p-e2c1d3db.entry.js → p-63d1032f.entry.js} +1 -1
  302. package/dist/genesys-webcomponents/{p-19f6f3b6.entry.js → p-653efb6c.entry.js} +1 -1
  303. package/dist/genesys-webcomponents/{p-1f0b0556.entry.js → p-6565ac1b.entry.js} +1 -1
  304. package/dist/genesys-webcomponents/{p-44eba830.entry.js → p-68358a3c.entry.js} +1 -1
  305. package/dist/genesys-webcomponents/{p-65ade5df.entry.js → p-6c7fcc2d.entry.js} +1 -1
  306. package/dist/genesys-webcomponents/{p-29779dc1.entry.js → p-716d04ac.entry.js} +1 -1
  307. package/dist/genesys-webcomponents/{p-1c008e48.entry.js → p-72405dec.entry.js} +1 -1
  308. package/dist/genesys-webcomponents/{p-7aece572.entry.js → p-7335f3b3.entry.js} +1 -1
  309. package/dist/genesys-webcomponents/{p-522586fc.entry.js → p-773d1315.entry.js} +1 -1
  310. package/dist/genesys-webcomponents/{p-bba34d27.entry.js → p-775ac832.entry.js} +1 -1
  311. package/dist/genesys-webcomponents/{p-2d502946.entry.js → p-7a9e6287.entry.js} +1 -1
  312. package/dist/genesys-webcomponents/{p-e67305fe.entry.js → p-7f047114.entry.js} +1 -1
  313. package/dist/genesys-webcomponents/{p-96dc4537.entry.js → p-842cc7ba.entry.js} +1 -1
  314. package/dist/genesys-webcomponents/{p-b462b544.entry.js → p-8737f826.entry.js} +1 -1
  315. package/dist/genesys-webcomponents/{p-75baf204.entry.js → p-880c3e57.entry.js} +1 -1
  316. package/dist/genesys-webcomponents/{p-d7c7ea8e.entry.js → p-88c383dc.entry.js} +1 -1
  317. package/dist/genesys-webcomponents/{p-9ef40d4d.entry.js → p-8b2eace5.entry.js} +1 -1
  318. package/dist/genesys-webcomponents/{p-611bf11e.entry.js → p-8c156f3e.entry.js} +1 -1
  319. package/dist/genesys-webcomponents/{p-45a5598f.entry.js → p-8f6c3b75.entry.js} +1 -1
  320. package/dist/genesys-webcomponents/{p-4a67cd75.entry.js → p-90b81f49.entry.js} +1 -1
  321. package/dist/genesys-webcomponents/{p-ea237c1f.entry.js → p-9129ca93.entry.js} +1 -1
  322. package/dist/genesys-webcomponents/{p-c2a581cb.entry.js → p-918c6c19.entry.js} +1 -1
  323. package/dist/genesys-webcomponents/{p-ae1454a2.entry.js → p-9259d9ec.entry.js} +1 -1
  324. package/dist/genesys-webcomponents/{p-5b3a156a.entry.js → p-93cd8032.entry.js} +1 -1
  325. package/dist/genesys-webcomponents/{p-13cebb13.entry.js → p-94c66ce9.entry.js} +1 -1
  326. package/dist/genesys-webcomponents/{p-84af9a85.entry.js → p-958bf4a7.entry.js} +1 -1
  327. package/dist/genesys-webcomponents/{p-487eca78.entry.js → p-9bc4b7f9.entry.js} +1 -1
  328. package/dist/genesys-webcomponents/{p-f66904d2.entry.js → p-a2904722.entry.js} +1 -1
  329. package/dist/genesys-webcomponents/{p-b328534b.entry.js → p-a5238344.entry.js} +1 -1
  330. package/dist/genesys-webcomponents/{p-66fcb73b.entry.js → p-ac44d7e5.entry.js} +1 -1
  331. package/dist/genesys-webcomponents/{p-cdce1939.entry.js → p-b2449a28.entry.js} +1 -1
  332. package/dist/genesys-webcomponents/{p-b0cce5c5.entry.js → p-b7245e10.entry.js} +1 -1
  333. package/dist/genesys-webcomponents/{p-5d652817.entry.js → p-b7263825.entry.js} +1 -1
  334. package/dist/genesys-webcomponents/{p-764becc4.entry.js → p-ba16f7d6.entry.js} +1 -1
  335. package/dist/genesys-webcomponents/{p-b035f5fb.entry.js → p-bb6534d1.entry.js} +1 -1
  336. package/dist/genesys-webcomponents/{p-afc507f3.entry.js → p-bc6b3e64.entry.js} +1 -1
  337. package/dist/genesys-webcomponents/{p-1eee2ebc.entry.js → p-bd3e9877.entry.js} +1 -1
  338. package/dist/genesys-webcomponents/{p-87dfa6cc.entry.js → p-bda3dee1.entry.js} +1 -1
  339. package/dist/genesys-webcomponents/{p-1af339cb.entry.js → p-bdc7fdf7.entry.js} +1 -1
  340. package/dist/genesys-webcomponents/p-c285ca69.entry.js +1 -0
  341. package/dist/genesys-webcomponents/{p-e79482cf.js → p-c35a9bb6.js} +1 -1
  342. package/dist/genesys-webcomponents/{p-c9d79122.entry.js → p-c363a938.entry.js} +1 -1
  343. package/dist/genesys-webcomponents/{p-57a21964.entry.js → p-c58cb6b0.entry.js} +1 -1
  344. package/dist/genesys-webcomponents/{p-f4631342.entry.js → p-c7dca446.entry.js} +1 -1
  345. package/dist/genesys-webcomponents/{p-ec821356.entry.js → p-c7ecdeba.entry.js} +1 -1
  346. package/dist/genesys-webcomponents/{p-73a1d96d.entry.js → p-cb3acc8b.entry.js} +1 -1
  347. package/dist/genesys-webcomponents/p-cde01f6c.entry.js +1 -0
  348. package/dist/genesys-webcomponents/{p-3d483f22.entry.js → p-cde7e3bc.entry.js} +1 -1
  349. package/dist/genesys-webcomponents/{p-8c2ea407.entry.js → p-ce7ad842.entry.js} +1 -1
  350. package/dist/genesys-webcomponents/{p-a24e35e6.entry.js → p-d4c54839.entry.js} +1 -1
  351. package/dist/genesys-webcomponents/{p-50f7d9a4.entry.js → p-d64fe323.entry.js} +1 -1
  352. package/dist/genesys-webcomponents/{p-51fcb060.entry.js → p-d80a4fdd.entry.js} +1 -1
  353. package/dist/genesys-webcomponents/{p-0c037b7b.entry.js → p-dd55a750.entry.js} +1 -1
  354. package/dist/genesys-webcomponents/{p-930b375a.entry.js → p-de170942.entry.js} +1 -1
  355. package/dist/genesys-webcomponents/{p-be74d638.entry.js → p-de8bfccb.entry.js} +1 -1
  356. package/dist/genesys-webcomponents/{p-9a0f3762.entry.js → p-dea8c1f3.entry.js} +1 -1
  357. package/dist/genesys-webcomponents/p-dfc8bde5.entry.js +1 -0
  358. package/dist/genesys-webcomponents/{p-f914190e.entry.js → p-dfce2c42.entry.js} +1 -1
  359. package/dist/genesys-webcomponents/{p-5c0e6d8b.entry.js → p-e49ca372.entry.js} +1 -1
  360. package/dist/genesys-webcomponents/{p-9f6fb97e.entry.js → p-e7bf1221.entry.js} +1 -1
  361. package/dist/genesys-webcomponents/{p-be2fe10b.entry.js → p-e8f9c5b1.entry.js} +1 -1
  362. package/dist/genesys-webcomponents/{p-9496fdb1.entry.js → p-eaea4ef2.entry.js} +1 -1
  363. package/dist/genesys-webcomponents/{p-34d4e93a.entry.js → p-ebf26170.entry.js} +1 -1
  364. package/dist/genesys-webcomponents/{p-4eee1a2a.entry.js → p-f031e733.entry.js} +1 -1
  365. package/dist/genesys-webcomponents/{p-bc07e611.entry.js → p-f1fa87e7.entry.js} +1 -1
  366. package/dist/genesys-webcomponents/{p-d1e2e7bd.entry.js → p-f260e992.entry.js} +1 -1
  367. package/dist/genesys-webcomponents/{p-0833150f.entry.js → p-f27d19b4.entry.js} +1 -1
  368. package/dist/genesys-webcomponents/{p-08b6b57a.entry.js → p-f2ad6e73.entry.js} +1 -1
  369. package/dist/genesys-webcomponents/{p-bad6bb75.entry.js → p-f56b28be.entry.js} +1 -1
  370. package/dist/genesys-webcomponents/{p-b00139c0.entry.js → p-f5a48a63.entry.js} +1 -1
  371. package/dist/genesys-webcomponents/p-f69da993.entry.js +1 -0
  372. package/dist/genesys-webcomponents/p-f7112041.js +1 -0
  373. package/dist/genesys-webcomponents/{p-e33979d6.entry.js → p-f8e2fc52.entry.js} +1 -1
  374. package/dist/genesys-webcomponents/{p-26bffc14.entry.js → p-fd6f8d8f.entry.js} +1 -1
  375. package/dist/genesys-webcomponents/{p-63ef5e07.entry.js → p-ffc29e51.entry.js} +1 -1
  376. package/dist/stencil-wrapper.js +1 -1
  377. package/dist/types/components/beta/gux-avatar/gux-avatar.d.ts +1 -0
  378. package/dist/types/components/beta/gux-date-time/tests/gux-date-time.common.d.ts +8 -0
  379. package/dist/types/components/beta/gux-flag-icon/tests/gux-flag-icon.common.d.ts +11 -0
  380. package/dist/types/components/stable/gux-calendar/gux-calendar.d.ts +2 -1
  381. package/dist/types/components/stable/gux-tabs/gux-tab/tests/gux-tab.common.d.ts +4 -0
  382. package/dist/types/stencil-wrapper.d.ts +1 -1
  383. package/dist/types/test/playwrightTestUtils.d.ts +9 -3
  384. package/package.json +4 -4
  385. package/dist/genesys-webcomponents/p-2208f2a7.entry.js +0 -1
  386. package/dist/genesys-webcomponents/p-6d19f0e4.entry.js +0 -1
  387. package/dist/genesys-webcomponents/p-821ae45f.entry.js +0 -1
  388. package/dist/genesys-webcomponents/p-832c080d.js +0 -1
  389. package/dist/genesys-webcomponents/p-84ec78b2.entry.js +0 -1
  390. package/dist/genesys-webcomponents/p-94109c21.entry.js +0 -1
  391. package/dist/genesys-webcomponents/p-db5a0b17.entry.js +0 -1
  392. /package/dist/cjs/{index.umd-d862fbdc.js → index.umd-f284f091.js} +0 -0
  393. /package/dist/esm/{index.umd-75d0cca4.js → index.umd-360609c4.js} +0 -0
  394. /package/dist/genesys-webcomponents/{p-983dda6b.js → p-f2e3b12a.js} +0 -0
@@ -1 +1 @@
1
- import{r as e,h as i,g as a}from"./p-cf74fd3d.js";import{t}from"./p-e79482cf.js";const s=class{constructor(i){e(this,i),this.level=1}componentWillLoad(){t(this.root),this.headingTag=`h${this.level}`}render(){return i(this.headingTag,{key:"102982a11dc324ec6c2b41c75427e1321b64418a"},this.iconName&&i("gux-icon",{key:"2902d503a5097a95b0f7bf45a243a9f170d7dd3e",decorative:!0,size:"medium","icon-name":this.iconName}),i("gux-truncate",{key:"bdbe0e7213049066a3b949fa8b301404112df58c"},i("slot",{key:"373dc1b994d6dccaa8bea6805a27956b670d1582"})))}get root(){return a(this)}};s.style=":host{display:block}h1,h2,h3,h4,h5,h6{display:flex;flex:0 0 auto;gap:var(--gse-ui-sidePanel-header-iconGap);align-items:center;inline-size:100%;padding:0;margin:0;font-family:var(--gse-ui-sidePanel-heading-text-fontFamily);font-size:var(--gse-ui-sidePanel-heading-text-fontSize);font-weight:var(--gse-ui-sidePanel-heading-text-fontWeight);line-height:var(--gse-ui-sidePanel-heading-text-lineHeight);color:var(--gse-ui-sidePanel-headerColor)}";export{s as gux_side_panel_heading}
1
+ import{r as e,h as i,g as a}from"./p-cf74fd3d.js";import{t}from"./p-c35a9bb6.js";const s=class{constructor(i){e(this,i),this.level=1}componentWillLoad(){t(this.root),this.headingTag=`h${this.level}`}render(){return i(this.headingTag,{key:"102982a11dc324ec6c2b41c75427e1321b64418a"},this.iconName&&i("gux-icon",{key:"2902d503a5097a95b0f7bf45a243a9f170d7dd3e",decorative:!0,size:"medium","icon-name":this.iconName}),i("gux-truncate",{key:"bdbe0e7213049066a3b949fa8b301404112df58c"},i("slot",{key:"373dc1b994d6dccaa8bea6805a27956b670d1582"})))}get root(){return a(this)}};s.style=":host{display:block}h1,h2,h3,h4,h5,h6{display:flex;flex:0 0 auto;gap:var(--gse-ui-sidePanel-header-iconGap);align-items:center;inline-size:100%;padding:0;margin:0;font-family:var(--gse-ui-sidePanel-heading-text-fontFamily);font-size:var(--gse-ui-sidePanel-heading-text-fontSize);font-weight:var(--gse-ui-sidePanel-heading-text-fontWeight);line-height:var(--gse-ui-sidePanel-heading-text-lineHeight);color:var(--gse-ui-sidePanel-headerColor)}";export{s as gux_side_panel_heading}
@@ -1 +1 @@
1
- import{r as t,h as a,H as i,g as s}from"./p-cf74fd3d.js";import{s as e}from"./p-2c25e2f2.js";import{c as r}from"./p-a43079c8.js";import{t as o}from"./p-e79482cf.js";import{a as n}from"./p-8eaf8caf.js";const h=class{constructor(a){t(this,a),this.value=0,this.maxValue=5,this.disabled=!1,this.readonly=!1,this.increment="default"}onClick(t){if(t.stopPropagation(),this.disabled||this.readonly)return;const[a]=t.composedPath(),i=a.getRootNode(),s=Array.from(this.starContainer.children).findIndex((t=>t.shadowRoot===i))+1;s===this.value+.5?this.updateRatingValue(s):s===this.value?this.updateRatingValue(0):s!==Math.floor(this.value)?this.updateRatingValue("half"===this.increment?s-.5:s):this.updateRatingValue(s)}onKeyDown(t){if(t.stopPropagation(),this.disabled||this.readonly)return;const a="half"===this.increment?.5:1;switch(t.key){case"ArrowUp":case"ArrowRight":t.preventDefault(),this.updateRatingValue(this.value+a);break;case"ArrowDown":case"ArrowLeft":t.preventDefault(),this.updateRatingValue(this.value-a);break;case"End":t.preventDefault(),this.updateRatingValue(1/0);break;case"Home":t.preventDefault(),this.updateRatingValue(-1/0)}}updateRatingValue(t){const a=r(t,0,Array.from(this.starContainer.children).length),i="half"===this.increment?.5:1,s=Math.round(a/i)*i;this.value!==s&&(this.value=s,e(this.root,"input"),e(this.root,"change"))}getRatingStarElements(){return[...Array(this.maxValue).keys()].reduce(((t,a)=>t.concat(a+.5===this.value?"fa/star-sharp-half-stroke-regular":a+1<=this.value?"fa/star-solid":"fa/star-regular")),[]).map((t=>a("gux-icon",{"icon-name":t,decorative:!0,size:"small"})))}getTabIndex(){return this.disabled?-1:0}componentWillLoad(){o(this.root)}componentDidLoad(){this.root.getAttribute("aria-label")||this.root.getAttribute("aria-labelledby")||n(this.root,"`gux-rating` requires a label. Either provide a label and associate it with the gux-rating element using `aria-labelledby` or add an `aria-label` attribute to the gux-rating element.")}render(){return a(i,{key:"57c06c38d906ceda4290cd20b4676cf8659f95a6",role:"spinbutton",tabindex:this.getTabIndex(),"aria-readonly":this.readonly.toString(),"aria-valuenow":this.value,"aria-valuemin":"0","aria-valuemax":this.maxValue},a("div",{key:"a00ca1dbf3ad5163a0d7aa145db929afcf487238",ref:t=>this.starContainer=t,class:{"gux-rating-star-container":!0,"gux-disabled":this.disabled}},this.getRatingStarElements()))}get root(){return s(this)}};h.style=":host{display:inline-block;min-inline-size:fit-content;user-select:none}:host(:host:focus-visible){outline:var(--gse-semantic-focusOutline-sm-borderWidth) solid var(--gse-semantic-border-focus);outline-offset:var(--gse-semantic-focusOutline-offset);box-shadow:0 0 0 1px var(--gse-semantic-border-focus)}.gux-rating-star-container{display:flex;gap:var(--gse-ui-rating-star-gap);justify-content:space-between;color:var(--gse-ui-rating-default-color)}.gux-rating-star-container.gux-disabled{color:var(--gse-ui-rating-disabled-color);pointer-events:none;opacity:var(--gse-ui-rating-disabled-opacity)}.gux-rating-star-container gux-icon{flex:0 0 auto;color:var(--gse-ui-rating-default-color)}.gux-rating-star-container gux-icon:hover:not(.gux-disabled){color:var(--gse-ui-rating-hover-color)}";export{h as gux_rating}
1
+ import{r as t,h as a,H as i,g as s}from"./p-cf74fd3d.js";import{s as e}from"./p-2c25e2f2.js";import{c as r}from"./p-a43079c8.js";import{t as o}from"./p-c35a9bb6.js";import{a as n}from"./p-8eaf8caf.js";const h=class{constructor(a){t(this,a),this.value=0,this.maxValue=5,this.disabled=!1,this.readonly=!1,this.increment="default"}onClick(t){if(t.stopPropagation(),this.disabled||this.readonly)return;const[a]=t.composedPath(),i=a.getRootNode(),s=Array.from(this.starContainer.children).findIndex((t=>t.shadowRoot===i))+1;s===this.value+.5?this.updateRatingValue(s):s===this.value?this.updateRatingValue(0):s!==Math.floor(this.value)?this.updateRatingValue("half"===this.increment?s-.5:s):this.updateRatingValue(s)}onKeyDown(t){if(t.stopPropagation(),this.disabled||this.readonly)return;const a="half"===this.increment?.5:1;switch(t.key){case"ArrowUp":case"ArrowRight":t.preventDefault(),this.updateRatingValue(this.value+a);break;case"ArrowDown":case"ArrowLeft":t.preventDefault(),this.updateRatingValue(this.value-a);break;case"End":t.preventDefault(),this.updateRatingValue(1/0);break;case"Home":t.preventDefault(),this.updateRatingValue(-1/0)}}updateRatingValue(t){const a=r(t,0,Array.from(this.starContainer.children).length),i="half"===this.increment?.5:1,s=Math.round(a/i)*i;this.value!==s&&(this.value=s,e(this.root,"input"),e(this.root,"change"))}getRatingStarElements(){return[...Array(this.maxValue).keys()].reduce(((t,a)=>t.concat(a+.5===this.value?"fa/star-sharp-half-stroke-regular":a+1<=this.value?"fa/star-solid":"fa/star-regular")),[]).map((t=>a("gux-icon",{"icon-name":t,decorative:!0,size:"small"})))}getTabIndex(){return this.disabled?-1:0}componentWillLoad(){o(this.root)}componentDidLoad(){this.root.getAttribute("aria-label")||this.root.getAttribute("aria-labelledby")||n(this.root,"`gux-rating` requires a label. Either provide a label and associate it with the gux-rating element using `aria-labelledby` or add an `aria-label` attribute to the gux-rating element.")}render(){return a(i,{key:"57c06c38d906ceda4290cd20b4676cf8659f95a6",role:"spinbutton",tabindex:this.getTabIndex(),"aria-readonly":this.readonly.toString(),"aria-valuenow":this.value,"aria-valuemin":"0","aria-valuemax":this.maxValue},a("div",{key:"a00ca1dbf3ad5163a0d7aa145db929afcf487238",ref:t=>this.starContainer=t,class:{"gux-rating-star-container":!0,"gux-disabled":this.disabled}},this.getRatingStarElements()))}get root(){return s(this)}};h.style=":host{display:inline-block;min-inline-size:fit-content;user-select:none}:host(:host:focus-visible){outline:var(--gse-semantic-focusOutline-sm-borderWidth) solid var(--gse-semantic-border-focus);outline-offset:var(--gse-semantic-focusOutline-offset);box-shadow:0 0 0 1px var(--gse-semantic-border-focus)}.gux-rating-star-container{display:flex;gap:var(--gse-ui-rating-star-gap);justify-content:space-between;color:var(--gse-ui-rating-default-color)}.gux-rating-star-container.gux-disabled{color:var(--gse-ui-rating-disabled-color);pointer-events:none;opacity:var(--gse-ui-rating-disabled-opacity)}.gux-rating-star-container gux-icon{flex:0 0 auto;color:var(--gse-ui-rating-default-color)}.gux-rating-star-container gux-icon:hover:not(.gux-disabled){color:var(--gse-ui-rating-hover-color)}";export{h as gux_rating}
@@ -1 +1 @@
1
- import{r as i,h as o,g as r}from"./p-cf74fd3d.js";import{t}from"./p-e79482cf.js";import{b as a}from"./p-e5e644b3.js";import"./p-4202e9f2.js";const e={optional:"optional"},l=class{constructor(o){i(this,o),this.variant="required",this.required=!1}async componentWillLoad(){t(this.root,{variant:this.variant}),this.i18n=await a(this.root,e)}render(){return"optional"!==this.variant||this.required?"required"===this.variant&&this.required?o("span",{class:"gux-form-field-label-indicator-required","aria-hidden":"true"},"*"):null:o("span",{class:"gux-form-field-label-indicator-optional"},"(",this.i18n("optional"),")")}get root(){return r(this)}};l.style=".gux-form-field-label-indicator-required{padding-inline-start:var(--gse-ui-formControl-formField-gap);color:var(--gse-ui-formControl-label-indicator-requiredColor)}.gux-form-field-label-indicator-optional{margin-inline-start:var(--gse-ui-formControl-formField-gap);font-family:var(--gse-ui-formControl-label-indicator-text-fontFamily);font-size:var(--gse-ui-formControl-label-indicator-text-fontSize);font-weight:var(--gse-ui-formControl-label-indicator-text-fontWeight);line-height:var(--gse-ui-formControl-label-indicator-text-lineHeight);color:var(--gse-ui-formControl-label-indicator-optionalColor)}";export{l as gux_form_field_label_indicator}
1
+ import{r as i,h as o,g as r}from"./p-cf74fd3d.js";import{t}from"./p-c35a9bb6.js";import{b as a}from"./p-e5e644b3.js";import"./p-4202e9f2.js";const e={optional:"optional"},l=class{constructor(o){i(this,o),this.variant="required",this.required=!1}async componentWillLoad(){t(this.root,{variant:this.variant}),this.i18n=await a(this.root,e)}render(){return"optional"!==this.variant||this.required?"required"===this.variant&&this.required?o("span",{class:"gux-form-field-label-indicator-required","aria-hidden":"true"},"*"):null:o("span",{class:"gux-form-field-label-indicator-optional"},"(",this.i18n("optional"),")")}get root(){return r(this)}};l.style=".gux-form-field-label-indicator-required{padding-inline-start:var(--gse-ui-formControl-formField-gap);color:var(--gse-ui-formControl-label-indicator-requiredColor)}.gux-form-field-label-indicator-optional{margin-inline-start:var(--gse-ui-formControl-formField-gap);font-family:var(--gse-ui-formControl-label-indicator-text-fontFamily);font-size:var(--gse-ui-formControl-label-indicator-text-fontSize);font-weight:var(--gse-ui-formControl-label-indicator-text-fontWeight);line-height:var(--gse-ui-formControl-label-indicator-text-lineHeight);color:var(--gse-ui-formControl-label-indicator-optionalColor)}";export{l as gux_form_field_label_indicator}
@@ -1 +1 @@
1
- import{r as t,f as e,h as s,g as i}from"./p-cf74fd3d.js";import{t as r}from"./p-e79482cf.js";import{h as o}from"./p-b2e29026.js";import{O as a}from"./p-f3d844c7.js";import{b as n}from"./p-cf0e7d3b.js";import{b as l}from"./p-e5e644b3.js";import{t as u}from"./p-f01d2320.js";import"./p-43af726d.js";import"./p-4202e9f2.js";const h=class{constructor(e){t(this,e),this.expanded=!1,this.disabled=!1}onClickOutside(){this.expanded=!1}watchValue(t){this.validateValue(t,this.listElement)}watchDisabled(t){t&&(this.expanded=!1)}onInternallistitemsupdated(t){t.stopPropagation(),e(this.root)}handleKeydown(t){const e=t.composedPath().includes(this.actionButton),s=t.composedPath().includes(this.listElement);switch(t.key){case"Escape":s&&(t.preventDefault(),this.expanded=!1,this.actionButton.focus());break;case"ArrowDown":case"Enter":e&&!this.expanded&&(t.preventDefault(),this.expanded=!0,this.focusFirstListItem());break;case"Tab":this.expanded=!1;break;case"ArrowUp":e&&!this.expanded&&(t.preventDefault(),this.expanded=!0,this.focusLastListItem())}}handleKeyup(t){" "===t.key&&t.composedPath().includes(this.actionButton)&&(t.preventDefault(),this.expanded=!0,this.focusFirstListItem())}focusFirstListItem(){n((()=>{this.listElement.guxFocusFirstItem()}))}focusLastListItem(){n((()=>{this.listElement.guxFocusLastItem()}))}async componentWillLoad(){r(this.root),this.i18n=await l(this.root,u)}componentWillRender(){(null==this?void 0:this.listElement)&&this.validateValue(this.value,this.listElement)}validateValue(t,e){void 0!==t?this.getListItemElementByValue(t)&&(e.value=t):e.value=t}get listItemElements(){const t=this.listElement.querySelector("slot");if(t)return Array.from(t.assignedElements())}getListItemElementByValue(t){return this.listItemElements.find((e=>e.value===t))}renderTargetDisplay(){if(null==this?void 0:this.listElement){const t=this.getListItemElementByValue(this.value);if(t)return s("span",null,this.renderListItem(t))}}renderMenu(){return s("div",{class:"gux-target-display"},this.renderTargetDisplay(),s("gux-icon",{"icon-name":this.expanded?"custom/chevron-up-small-regular":"custom/chevron-down-small-regular","screenreader-text":this.i18n("richStyleDropdown")}))}renderListItem(t){return s("gux-truncate",{"max-lines":1},t.textContent)}renderTooltip(){if(!this.disabled&&!this.expanded)return s("gux-tooltip-beta",null,s("div",{slot:"content"},this.i18n("richStyle")))}onActionButtonClick(){this.expanded=!this.expanded,this.expanded&&this.focusFirstListItem()}updateValue(t){this.value!==t&&(this.value=t)}onListClick(t){const e=t.target.closest("gux-rich-style-list-item");e&&(this.expanded=!1,this.updateValue(e.value),this.actionButton.focus())}renderPopup(){return s("div",{class:"gux-list-container",slot:"popup"},s("gux-rich-text-editor-list",{ref:t=>this.listElement=t,onClick:t=>this.onListClick(t)},s("slot",null)))}renderTarget(){return s("gux-button-slot",{accent:"ghost",slot:"target","icon-only":!0},s("button",{type:"button",ref:t=>this.actionButton=t,class:{"gux-is-pressed":this.expanded},onClick:()=>this.onActionButtonClick(),disabled:this.disabled||o(this.root),"aria-haspopup":"true","aria-expanded":this.expanded.toString()},this.renderMenu()),this.renderTooltip())}render(){return s("gux-popup",{key:"a3acff488d05a0c81e3e877015c8ccf90f901479",expanded:this.expanded,exceedTargetWidth:!0,placement:"bottom-start"},this.renderTarget(),this.renderPopup())}static get delegatesFocus(){return!0}get root(){return i(this)}static get watchers(){return{value:["watchValue"],disabled:["watchDisabled"]}}};(function(t,e,s,i){var r,o=arguments.length,a=o<3?e:null===i?i=Object.getOwnPropertyDescriptor(e,s):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(t,e,s,i);else for(var n=t.length-1;n>=0;n--)(r=t[n])&&(a=(o<3?r(a):o>3?r(e,s,a):r(e,s))||a);o>3&&a&&Object.defineProperty(e,s,a)})([a({triggerEvents:"mousedown"})],h.prototype,"onClickOutside",null),h.style=":host{display:block}gux-button-slot button .gux-target-display{display:flex;flex-direction:row;gap:4px;align-items:center;justify-content:center}gux-button-slot button.gux-is-pressed{color:var(--gse-ui-button-ghost-active-foregroundColor);background-color:var(--gse-ui-button-ghost-active-backgroundColor)}.gux-list-container{inline-size:214px;margin:0;overflow-y:auto;background:var(--gse-ui-menu-backgroundColor);border-color:var(--gse-ui-menu-border-color);border-style:var(--gse-ui-menu-border-style);border-width:var(--gse-ui-menu-border-width);border-radius:var(--gse-ui-menu-borderRadius);box-shadow:var(--gse-ui-menu-boxShadow)}";export{h as gux_rich_text_editor_action_rich_style}
1
+ import{r as t,f as e,h as s,g as i}from"./p-cf74fd3d.js";import{t as r}from"./p-c35a9bb6.js";import{h as o}from"./p-b2e29026.js";import{O as a}from"./p-f3d844c7.js";import{b as n}from"./p-cf0e7d3b.js";import{b as l}from"./p-e5e644b3.js";import{t as u}from"./p-f01d2320.js";import"./p-43af726d.js";import"./p-4202e9f2.js";const h=class{constructor(e){t(this,e),this.expanded=!1,this.disabled=!1}onClickOutside(){this.expanded=!1}watchValue(t){this.validateValue(t,this.listElement)}watchDisabled(t){t&&(this.expanded=!1)}onInternallistitemsupdated(t){t.stopPropagation(),e(this.root)}handleKeydown(t){const e=t.composedPath().includes(this.actionButton),s=t.composedPath().includes(this.listElement);switch(t.key){case"Escape":s&&(t.preventDefault(),this.expanded=!1,this.actionButton.focus());break;case"ArrowDown":case"Enter":e&&!this.expanded&&(t.preventDefault(),this.expanded=!0,this.focusFirstListItem());break;case"Tab":this.expanded=!1;break;case"ArrowUp":e&&!this.expanded&&(t.preventDefault(),this.expanded=!0,this.focusLastListItem())}}handleKeyup(t){" "===t.key&&t.composedPath().includes(this.actionButton)&&(t.preventDefault(),this.expanded=!0,this.focusFirstListItem())}focusFirstListItem(){n((()=>{this.listElement.guxFocusFirstItem()}))}focusLastListItem(){n((()=>{this.listElement.guxFocusLastItem()}))}async componentWillLoad(){r(this.root),this.i18n=await l(this.root,u)}componentWillRender(){(null==this?void 0:this.listElement)&&this.validateValue(this.value,this.listElement)}validateValue(t,e){void 0!==t?this.getListItemElementByValue(t)&&(e.value=t):e.value=t}get listItemElements(){const t=this.listElement.querySelector("slot");if(t)return Array.from(t.assignedElements())}getListItemElementByValue(t){return this.listItemElements.find((e=>e.value===t))}renderTargetDisplay(){if(null==this?void 0:this.listElement){const t=this.getListItemElementByValue(this.value);if(t)return s("span",null,this.renderListItem(t))}}renderMenu(){return s("div",{class:"gux-target-display"},this.renderTargetDisplay(),s("gux-icon",{"icon-name":this.expanded?"custom/chevron-up-small-regular":"custom/chevron-down-small-regular","screenreader-text":this.i18n("richStyleDropdown")}))}renderListItem(t){return s("gux-truncate",{"max-lines":1},t.textContent)}renderTooltip(){if(!this.disabled&&!this.expanded)return s("gux-tooltip-beta",null,s("div",{slot:"content"},this.i18n("richStyle")))}onActionButtonClick(){this.expanded=!this.expanded,this.expanded&&this.focusFirstListItem()}updateValue(t){this.value!==t&&(this.value=t)}onListClick(t){const e=t.target.closest("gux-rich-style-list-item");e&&(this.expanded=!1,this.updateValue(e.value),this.actionButton.focus())}renderPopup(){return s("div",{class:"gux-list-container",slot:"popup"},s("gux-rich-text-editor-list",{ref:t=>this.listElement=t,onClick:t=>this.onListClick(t)},s("slot",null)))}renderTarget(){return s("gux-button-slot",{accent:"ghost",slot:"target","icon-only":!0},s("button",{type:"button",ref:t=>this.actionButton=t,class:{"gux-is-pressed":this.expanded},onClick:()=>this.onActionButtonClick(),disabled:this.disabled||o(this.root),"aria-haspopup":"true","aria-expanded":this.expanded.toString()},this.renderMenu()),this.renderTooltip())}render(){return s("gux-popup",{key:"a3acff488d05a0c81e3e877015c8ccf90f901479",expanded:this.expanded,exceedTargetWidth:!0,placement:"bottom-start"},this.renderTarget(),this.renderPopup())}static get delegatesFocus(){return!0}get root(){return i(this)}static get watchers(){return{value:["watchValue"],disabled:["watchDisabled"]}}};(function(t,e,s,i){var r,o=arguments.length,a=o<3?e:null===i?i=Object.getOwnPropertyDescriptor(e,s):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(t,e,s,i);else for(var n=t.length-1;n>=0;n--)(r=t[n])&&(a=(o<3?r(a):o>3?r(e,s,a):r(e,s))||a);o>3&&a&&Object.defineProperty(e,s,a)})([a({triggerEvents:"mousedown"})],h.prototype,"onClickOutside",null),h.style=":host{display:block}gux-button-slot button .gux-target-display{display:flex;flex-direction:row;gap:4px;align-items:center;justify-content:center}gux-button-slot button.gux-is-pressed{color:var(--gse-ui-button-ghost-active-foregroundColor);background-color:var(--gse-ui-button-ghost-active-backgroundColor)}.gux-list-container{inline-size:214px;margin:0;overflow-y:auto;background:var(--gse-ui-menu-backgroundColor);border-color:var(--gse-ui-menu-border-color);border-style:var(--gse-ui-menu-border-style);border-width:var(--gse-ui-menu-border-width);border-radius:var(--gse-ui-menu-borderRadius);box-shadow:var(--gse-ui-menu-boxShadow)}";export{h as gux_rich_text_editor_action_rich_style}
@@ -1 +1 @@
1
- import{r as o,h as i,g as e}from"./p-cf74fd3d.js";import{t as r}from"./p-e79482cf.js";import{b as c}from"./p-e5e644b3.js";import"./p-4202e9f2.js";const t={clickToCopy:"Click to Copy",copySuccess:"Copied to Clipboard",copyFailure:"Error. Please Try Again."},a=class{constructor(i){o(this,i),this.tooltipContent="clickToCopy"}onMouseleave(){this.resetTooltip()}onFocusout(){this.resetTooltip()}resetTooltip(){this.tooltipContent="clickToCopy"}async onCopyToClipboard(){return navigator.clipboard.writeText(this.root.innerText).then((()=>{this.tooltipContent="copySuccess"})).catch((()=>{this.tooltipContent="copyFailure"}))}getIconName(o){switch(o){case"copyFailure":return"fa/circle-xmark-solid";case"copySuccess":return"fa/circle-check-solid"}}renderTooltipIcon(){const o=this.getIconName(this.tooltipContent);if(o)return i("gux-icon",{"icon-name":o,size:"small",decorative:!0})}renderTooltip(){return i("gux-tooltip",{placement:"bottom-end"},i("div",{slot:"content",class:"gux-tooltip-content"},this.renderTooltipIcon(),i("span",null,this.i18n(this.tooltipContent))))}async componentWillLoad(){r(this.root),this.i18n=await c(this.root,t)}render(){return i("button",{key:"4a1d855939d0f110c8486ad4d8899234d36f42f7",class:"gux-copy-to-clipboard-wrapper",onClick:this.onCopyToClipboard.bind(this)},i("div",{key:"ceb1e4e07fdc56791e89185c73ce8a592b9f14c6",class:"gux-copy-content"},i("slot",{key:"ed877b38943607c97402fe2af8b7ada0441476c1",name:"content"}),i("gux-icon",{key:"188ff54cc16790ef609dd66ccbcbc3251da2ca86","icon-name":"fa/copy-regular",size:"small",decorative:!0})),this.renderTooltip())}get root(){return e(this)}};a.style='button{all:unset}.gux-copy-to-clipboard-wrapper{display:inline-flex;align-items:center;max-inline-size:100%}.gux-copy-to-clipboard-wrapper .gux-copy-content{display:inherit;gap:var(--gse-ui-copyToClipboard-contentContainer-gap);align-items:inherit;max-inline-size:100%;cursor:pointer}.gux-copy-to-clipboard-wrapper .gux-copy-content ::slotted(*){padding:var(--gse-ui-copyToClipboard-label-padding);font-family:var(--gse-ui-copyToClipboard-label-text-fontFamily);font-size:var(--gse-ui-copyToClipboard-label-text-fontSize);font-weight:var(--gse-ui-copyToClipboard-label-text-fontWeight);line-height:var(--gse-ui-copyToClipboard-label-text-lineHeight);color:var(--gse-ui-copyToClipboard-label-foregroundColor);text-decoration:var(--gse-ui-copyToClipboard-label-text-textDecoration);border-radius:var(--gse-ui-copyToClipboard-label-borderRadius)}.gux-copy-to-clipboard-wrapper .gux-copy-content:hover ::slotted(*){background-color:var(--gse-ui-copyToClipboard-label-active-backgroundColor)}.gux-copy-to-clipboard-wrapper .gux-copy-content:hover gux-icon[icon-name="fa/copy-regular"]{visibility:visible}.gux-copy-to-clipboard-wrapper .gux-copy-content gux-icon[icon-name="fa/copy-regular"]{visibility:hidden;flex-shrink:0;padding:var(--gse-ui-copyToClipboard-iconContainer-padding);background-color:var(--gse-ui-copyToClipboard-label-active-backgroundColor);border-radius:var(--gse-ui-copyToClipboard-label-borderRadius)}.gux-copy-to-clipboard-wrapper:focus-visible{outline:none}.gux-copy-to-clipboard-wrapper:focus-visible ::slotted(*){background-color:var(--gse-ui-copyToClipboard-label-active-backgroundColor)}.gux-copy-to-clipboard-wrapper:focus-visible gux-icon[icon-name="fa/copy-regular"]{visibility:visible}gux-tooltip.gux-show{display:inline-flex;align-items:center}gux-tooltip.gux-show .gux-tooltip-content{display:contents}gux-tooltip.gux-show .gux-tooltip-content>*{vertical-align:middle}gux-tooltip.gux-show gux-icon[icon-name="fa/circle-check-solid"]{color:var(--gse-ui-copyToClipboard-tooltipIcon-success-foregroundColor)}gux-tooltip.gux-show gux-icon[icon-name="fa/circle-xmark-solid"]{color:var(--gse-ui-copyToClipboard-tooltipIcon-error-foregroundColor)}';export{a as gux_copy_to_clipboard}
1
+ import{r as o,h as i,g as e}from"./p-cf74fd3d.js";import{t as r}from"./p-c35a9bb6.js";import{b as c}from"./p-e5e644b3.js";import"./p-4202e9f2.js";const t={clickToCopy:"Click to Copy",copySuccess:"Copied to Clipboard",copyFailure:"Error. Please Try Again."},a=class{constructor(i){o(this,i),this.tooltipContent="clickToCopy"}onMouseleave(){this.resetTooltip()}onFocusout(){this.resetTooltip()}resetTooltip(){this.tooltipContent="clickToCopy"}async onCopyToClipboard(){return navigator.clipboard.writeText(this.root.innerText).then((()=>{this.tooltipContent="copySuccess"})).catch((()=>{this.tooltipContent="copyFailure"}))}getIconName(o){switch(o){case"copyFailure":return"fa/circle-xmark-solid";case"copySuccess":return"fa/circle-check-solid"}}renderTooltipIcon(){const o=this.getIconName(this.tooltipContent);if(o)return i("gux-icon",{"icon-name":o,size:"small",decorative:!0})}renderTooltip(){return i("gux-tooltip",{placement:"bottom-end"},i("div",{slot:"content",class:"gux-tooltip-content"},this.renderTooltipIcon(),i("span",null,this.i18n(this.tooltipContent))))}async componentWillLoad(){r(this.root),this.i18n=await c(this.root,t)}render(){return i("button",{key:"4a1d855939d0f110c8486ad4d8899234d36f42f7",class:"gux-copy-to-clipboard-wrapper",onClick:this.onCopyToClipboard.bind(this)},i("div",{key:"ceb1e4e07fdc56791e89185c73ce8a592b9f14c6",class:"gux-copy-content"},i("slot",{key:"ed877b38943607c97402fe2af8b7ada0441476c1",name:"content"}),i("gux-icon",{key:"188ff54cc16790ef609dd66ccbcbc3251da2ca86","icon-name":"fa/copy-regular",size:"small",decorative:!0})),this.renderTooltip())}get root(){return e(this)}};a.style='button{all:unset}.gux-copy-to-clipboard-wrapper{display:inline-flex;align-items:center;max-inline-size:100%}.gux-copy-to-clipboard-wrapper .gux-copy-content{display:inherit;gap:var(--gse-ui-copyToClipboard-contentContainer-gap);align-items:inherit;max-inline-size:100%;cursor:pointer}.gux-copy-to-clipboard-wrapper .gux-copy-content ::slotted(*){padding:var(--gse-ui-copyToClipboard-label-padding);font-family:var(--gse-ui-copyToClipboard-label-text-fontFamily);font-size:var(--gse-ui-copyToClipboard-label-text-fontSize);font-weight:var(--gse-ui-copyToClipboard-label-text-fontWeight);line-height:var(--gse-ui-copyToClipboard-label-text-lineHeight);color:var(--gse-ui-copyToClipboard-label-foregroundColor);text-decoration:var(--gse-ui-copyToClipboard-label-text-textDecoration);border-radius:var(--gse-ui-copyToClipboard-label-borderRadius)}.gux-copy-to-clipboard-wrapper .gux-copy-content:hover ::slotted(*){background-color:var(--gse-ui-copyToClipboard-label-active-backgroundColor)}.gux-copy-to-clipboard-wrapper .gux-copy-content:hover gux-icon[icon-name="fa/copy-regular"]{visibility:visible}.gux-copy-to-clipboard-wrapper .gux-copy-content gux-icon[icon-name="fa/copy-regular"]{visibility:hidden;flex-shrink:0;padding:var(--gse-ui-copyToClipboard-iconContainer-padding);background-color:var(--gse-ui-copyToClipboard-label-active-backgroundColor);border-radius:var(--gse-ui-copyToClipboard-label-borderRadius)}.gux-copy-to-clipboard-wrapper:focus-visible{outline:none}.gux-copy-to-clipboard-wrapper:focus-visible ::slotted(*){background-color:var(--gse-ui-copyToClipboard-label-active-backgroundColor)}.gux-copy-to-clipboard-wrapper:focus-visible gux-icon[icon-name="fa/copy-regular"]{visibility:visible}gux-tooltip.gux-show{display:inline-flex;align-items:center}gux-tooltip.gux-show .gux-tooltip-content{display:contents}gux-tooltip.gux-show .gux-tooltip-content>*{vertical-align:middle}gux-tooltip.gux-show gux-icon[icon-name="fa/circle-check-solid"]{color:var(--gse-ui-copyToClipboard-tooltipIcon-success-foregroundColor)}gux-tooltip.gux-show gux-icon[icon-name="fa/circle-xmark-solid"]{color:var(--gse-ui-copyToClipboard-tooltipIcon-error-foregroundColor)}';export{a as gux_copy_to_clipboard}
@@ -1 +1 @@
1
- import{r as e,h as a,H as t,g as o}from"./p-cf74fd3d.js";import{t as s}from"./p-e79482cf.js";const i=class{constructor(a){e(this,a)}componentWillLoad(){s(this.root)}render(){return a(t,{key:"5d7be20ea53282aef79c15e42517b144b0cbfd5b"},a("div",{key:"fbb672040f9b00139370de77842f763d7c444d82",class:"gux-header"},a("div",{key:"46df3ad076b750f44376e487d233d7be2ef14b01",class:"gux-icon"},a("slot",{key:"dc0730150a9af5ad75aad9db5d33bc909c714047",name:"icon"})),a("div",{key:"d1f9a0c574c16e676eb92645c9e51b597edd886c",class:"gux-title"},a("slot",{key:"9372dabc098635cc19ad656311f30c62ba1a5565",name:"title"}))),a("div",{key:"d2ae69071c50cce8e798935738921287a2facd93",class:"gux-message"},a("slot",{key:"ab78c36d967882fb610a218578b5e0210ad1f653",name:"message"})),a("div",{key:"60a7954ddd8e6a8df9e7f33b9756cd17a1907e50",class:"gux-action-buttons"},a("div",{key:"a046473821a2859c475988b28a20cff06b46d529",class:"gux-positive-button"},a("slot",{key:"6a1f75aab4d30d5e55e5b9a0a4a5b3d2af879fd1",name:"positive-button"})),a("div",{key:"d0c0656c38ccaf912c339a232064e01568b53dc5",class:"gux-negative-button"},a("slot",{key:"82410c00de820177bffa6e7e3ac510792a4e7dd6",name:"negative-button"}))))}get root(){return o(this)}};i.style=":host{display:flex;flex-direction:column;flex-wrap:nowrap;place-content:stretch flex-start;align-items:stretch;width:270px;padding:20px 24px;margin-bottom:4px;color:var(--gse-ui-toast-success-foregroundColor);background:var(--gse-ui-toast-success-backgroundColor);border:1px solid var(--gse-ui-card-default-border-color);border-radius:4px;box-shadow:0 2px 4px rgba(32, 41, 55, 0.24)}.gux-header{display:flex;flex:0 1 auto;flex-direction:row;flex-wrap:nowrap;place-content:stretch flex-start;align-items:center;align-self:auto;order:0;font-family:var(--gse-semantic-heading-lg-bold-fontFamily), var(--gse-semantic-theme-fontFamily-headings), sans-serif;font-size:var(--gse-semantic-heading-lg-bold-fontSize);line-height:var(--gse-semantic-heading-lg-bold-lineHeight);font-weight:var(--gse-semantic-heading-lg-bold-fontWeight)}.gux-header .gux-icon{flex:0 1 auto;align-self:auto;order:0;color:var(--gse-core-colorLegacy-secondary-aquaGreen)}.gux-header .gux-icon ::slotted(gux-icon){width:32px !important;height:32px !important}.gux-header .gux-title{flex:1 1 auto;align-self:auto;order:0;margin:0 0 0 8px}.gux-message{flex:0 1 auto;align-self:auto;order:0;margin:16px 0;font-family:var(--gse-semantic-body-sm-regular-fontFamily), var(--gse-semantic-theme-fontFamily-body), sans-serif;font-size:var(--gse-semantic-body-sm-regular-fontSize);line-height:var(--gse-semantic-body-sm-regular-lineHeight);font-weight:var(--gse-semantic-body-sm-regular-fontWeight)}.gux-message ::slotted(dl){display:flex;flex-direction:row;flex-wrap:wrap;place-content:stretch flex-start;align-items:flex-start;margin:0}.gux-action-buttons{display:flex;flex:0 1 auto;flex-direction:row;flex-wrap:nowrap;place-content:stretch space-between;align-items:flex-start;align-self:auto;order:0}.gux-action-buttons .gux-negative-button{flex:0 1 auto;align-self:auto;order:0}.gux-action-buttons .gux-positive-button{flex:0 1 auto;align-self:auto;order:0}.gux-action-buttons{display:flex;flex:0 1 auto;flex-direction:row;flex-wrap:nowrap;place-content:stretch space-between;align-items:flex-start;align-self:auto;order:0}.gux-action-buttons .gux-negative-button{flex:0 1 auto;align-self:auto;order:0}.gux-action-buttons .gux-positive-button{flex:0 1 auto;align-self:auto;order:0}";export{i as gux_action_toast_legacy}
1
+ import{r as e,h as a,H as t,g as o}from"./p-cf74fd3d.js";import{t as s}from"./p-c35a9bb6.js";const i=class{constructor(a){e(this,a)}componentWillLoad(){s(this.root)}render(){return a(t,{key:"5d7be20ea53282aef79c15e42517b144b0cbfd5b"},a("div",{key:"fbb672040f9b00139370de77842f763d7c444d82",class:"gux-header"},a("div",{key:"46df3ad076b750f44376e487d233d7be2ef14b01",class:"gux-icon"},a("slot",{key:"dc0730150a9af5ad75aad9db5d33bc909c714047",name:"icon"})),a("div",{key:"d1f9a0c574c16e676eb92645c9e51b597edd886c",class:"gux-title"},a("slot",{key:"9372dabc098635cc19ad656311f30c62ba1a5565",name:"title"}))),a("div",{key:"d2ae69071c50cce8e798935738921287a2facd93",class:"gux-message"},a("slot",{key:"ab78c36d967882fb610a218578b5e0210ad1f653",name:"message"})),a("div",{key:"60a7954ddd8e6a8df9e7f33b9756cd17a1907e50",class:"gux-action-buttons"},a("div",{key:"a046473821a2859c475988b28a20cff06b46d529",class:"gux-positive-button"},a("slot",{key:"6a1f75aab4d30d5e55e5b9a0a4a5b3d2af879fd1",name:"positive-button"})),a("div",{key:"d0c0656c38ccaf912c339a232064e01568b53dc5",class:"gux-negative-button"},a("slot",{key:"82410c00de820177bffa6e7e3ac510792a4e7dd6",name:"negative-button"}))))}get root(){return o(this)}};i.style=":host{display:flex;flex-direction:column;flex-wrap:nowrap;place-content:stretch flex-start;align-items:stretch;width:270px;padding:20px 24px;margin-bottom:4px;color:var(--gse-ui-toast-success-foregroundColor);background:var(--gse-ui-toast-success-backgroundColor);border:1px solid var(--gse-ui-card-default-border-color);border-radius:4px;box-shadow:0 2px 4px rgba(32, 41, 55, 0.24)}.gux-header{display:flex;flex:0 1 auto;flex-direction:row;flex-wrap:nowrap;place-content:stretch flex-start;align-items:center;align-self:auto;order:0;font-family:var(--gse-semantic-heading-lg-bold-fontFamily), var(--gse-semantic-theme-fontFamily-headings), sans-serif;font-size:var(--gse-semantic-heading-lg-bold-fontSize);line-height:var(--gse-semantic-heading-lg-bold-lineHeight);font-weight:var(--gse-semantic-heading-lg-bold-fontWeight)}.gux-header .gux-icon{flex:0 1 auto;align-self:auto;order:0;color:var(--gse-core-colorLegacy-secondary-aquaGreen)}.gux-header .gux-icon ::slotted(gux-icon){width:32px !important;height:32px !important}.gux-header .gux-title{flex:1 1 auto;align-self:auto;order:0;margin:0 0 0 8px}.gux-message{flex:0 1 auto;align-self:auto;order:0;margin:16px 0;font-family:var(--gse-semantic-body-sm-regular-fontFamily), var(--gse-semantic-theme-fontFamily-body), sans-serif;font-size:var(--gse-semantic-body-sm-regular-fontSize);line-height:var(--gse-semantic-body-sm-regular-lineHeight);font-weight:var(--gse-semantic-body-sm-regular-fontWeight)}.gux-message ::slotted(dl){display:flex;flex-direction:row;flex-wrap:wrap;place-content:stretch flex-start;align-items:flex-start;margin:0}.gux-action-buttons{display:flex;flex:0 1 auto;flex-direction:row;flex-wrap:nowrap;place-content:stretch space-between;align-items:flex-start;align-self:auto;order:0}.gux-action-buttons .gux-negative-button{flex:0 1 auto;align-self:auto;order:0}.gux-action-buttons .gux-positive-button{flex:0 1 auto;align-self:auto;order:0}.gux-action-buttons{display:flex;flex:0 1 auto;flex-direction:row;flex-wrap:nowrap;place-content:stretch space-between;align-items:flex-start;align-self:auto;order:0}.gux-action-buttons .gux-negative-button{flex:0 1 auto;align-self:auto;order:0}.gux-action-buttons .gux-positive-button{flex:0 1 auto;align-self:auto;order:0}";export{i as gux_action_toast_legacy}
@@ -1 +1 @@
1
- import{r as t,f as s,h as e,H as i,g as o}from"./p-cf74fd3d.js";import{s as a}from"./p-2c25e2f2.js";import{t as r}from"./p-e79482cf.js";const c=class{constructor(s){t(this,s),this.disabled=!1,this.items=[]}onClick(t){t.stopPropagation();const s=t.target.closest("gux-segmented-control-item");s&&this.value!==s.value&&(this.value=s.value,a(this.root,"input"),a(this.root,"change"))}watchDisabled(){this.items.forEach((t=>{s(t)}))}slotChanged(){this.items=Array.from(this.root.children)}componentWillLoad(){r(this.root)}componentWillRender(){this.items.forEach((t=>{t.selected=t.value===this.value}))}render(){return e(i,{key:"ef39fcb72114edc136fa4c617831ea4295204e9a",role:"group"},e("slot",{key:"73e153633d0dcf2e10ecaf5fb8df2dca9d1c1aa2",onSlotchange:this.slotChanged.bind(this)}))}get root(){return o(this)}static get watchers(){return{disabled:["watchDisabled"]}}};c.style=":host{display:inline-flex}";export{c as gux_segmented_control_beta}
1
+ import{r as t,f as s,h as e,H as i,g as a}from"./p-cf74fd3d.js";import{s as o}from"./p-2c25e2f2.js";import{t as r}from"./p-c35a9bb6.js";const c=class{constructor(s){t(this,s),this.disabled=!1,this.items=[]}onClick(t){t.stopPropagation();const s=t.target.closest("gux-segmented-control-item");s&&this.value!==s.value&&(this.value=s.value,o(this.root,"input"),o(this.root,"change"))}watchDisabled(){this.items.forEach((t=>{s(t)}))}slotChanged(){this.items=Array.from(this.root.children)}componentWillLoad(){r(this.root)}componentWillRender(){this.items.forEach((t=>{t.selected=t.value===this.value}))}render(){return e(i,{key:"ef39fcb72114edc136fa4c617831ea4295204e9a",role:"group"},e("slot",{key:"73e153633d0dcf2e10ecaf5fb8df2dca9d1c1aa2",onSlotchange:this.slotChanged.bind(this)}))}get root(){return a(this)}static get watchers(){return{disabled:["watchDisabled"]}}};c.style=":host{display:inline-flex}";export{c as gux_segmented_control_beta}
@@ -1 +1 @@
1
- import{r as t,h as e,g as i}from"./p-cf74fd3d.js";import{a as o}from"./p-8eaf8caf.js";import{O as n}from"./p-946c70b7.js";import{O as s}from"./p-832c080d.js";var r=function(t,e,i,o){var n,s=arguments.length,r=s<3?e:null===o?o=Object.getOwnPropertyDescriptor(e,i):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)r=Reflect.decorate(t,e,i,o);else for(var l=t.length-1;l>=0;l--)(n=t[l])&&(r=(s<3?n(r):s>3?n(e,i,r):n(e,i))||r);return s>3&&r&&Object.defineProperty(e,i,r),r};const l=class{constructor(e){t(this,e),this.hasTooltip=!1,this.showTooltip=!1,this.iconOnly=!1,this.titleName=""}onmouseenter(t){t.buttons||(this.showTooltip=!0)}onmouseleave(){this.showTooltip=!1}onmousedown(){this.showTooltip=!1}async setShowTooltip(){this.tooltipElement&&(this.showTooltip=!0,await this.tooltipElement.showTooltip())}async setHideTooltip(){this.tooltipElement&&(this.showTooltip=!1,await this.tooltipElement.hideTooltip())}onMutation(){this.titleName=this.setTooltipTitleText(),this.checkForTooltipHideOrShow()}onResize(){this.titleName=this.setTooltipTitleText(),this.checkForTooltipHideOrShow()}componentWillLoad(){this.titleName=this.setTooltipTitleText()}componentDidLoad(){this.logWarnNoIconSrText()}logWarnNoIconSrText(){this.iconOnly&&!this.titleName&&o(this.root,"No screenreader-text provided. Provide a localized screenreader-text property for the gux-icon. The screenreader-text property is used for the icon screenreader text and the tooltip.")}addIconDecorative(){this.root.classList.add("gux-tooltip-icon-decorative")}getTitleElements(){var t;const e=this.root.querySelector("slot"),i=null===(t=this.root.querySelector(".gux-title-container span"))||void 0===t?void 0:t.children;return e?e.assignedElements():i?Array.from(i):[]}getTitleTextContent(){return this.root.querySelector("slot")?this.root.querySelector("slot").assignedNodes().map((t=>t.textContent.trim())).join(""):this.root.querySelector(".gux-title-container")?this.root.querySelector(".gux-title-container").textContent.trim():""}setTooltipTitleText(){let t=this.getTitleTextContent();return this.getTitleElements().forEach((e=>{"GUX-ICON"!==e.tagName||this.getTitleTextContent()?"GUX-ICON"===e.tagName&&this.getTitleTextContent()&&this.addIconDecorative():(this.iconOnly=!0,t=e.getAttribute("screenreader-text"))})),t}checkForTooltipHideOrShow(){const t=this.root.querySelector(".gux-title-container");this.root.classList.remove("gux-overflow-hidden"),this.iconOnly&&this.titleName?this.hasTooltip=!0:(null==t?void 0:t.scrollWidth)>(null==t?void 0:t.offsetWidth)?(this.root.classList.add("gux-overflow-hidden"),this.hasTooltip=!0):this.hasTooltip=!1}render(){return[e("span",{key:"4fbf28a8cf77ea3c2f047522de0a7d19696218e8",class:{"gux-title-container":!0,"gux-icon-only":this.iconOnly}},e("slot",{key:"a4651f889595c0f1ae3c18c15f7fe701896dcbe6"})),this.renderTooltip()]}renderTooltip(){if(this.hasTooltip)return e("gux-tooltip",{"aria-hidden":"true",ref:t=>this.tooltipElement=t,hidden:!this.showTooltip},e("div",{slot:"content"},this.titleName))}get root(){return i(this)}};r([n({childList:!0,subtree:!0,characterData:!0})],l.prototype,"onMutation",null),r([s()],l.prototype,"onResize",null),l.style="gux-tooltip-title{overflow:hidden}gux-tooltip{font-weight:normal;line-height:normal;text-align:start;overflow-wrap:break-word;white-space:normal}.gux-overflow-hidden .gux-title-container ::slotted(span){overflow:hidden;text-overflow:ellipsis}.gux-overflow-hidden .gux-title-container>*{overflow:hidden;text-overflow:ellipsis}.gux-title-container{display:flex;pointer-events:none}.gux-tooltip-icon-decorative .gux-title-container{position:relative;margin-inline-start:20px}.gux-tooltip-icon-decorative .gux-title-container gux-icon,.gux-tooltip-icon-decorative .gux-title-container ::slotted(gux-icon){position:absolute;inset-block-start:1px;inset-inline-start:-20px;flex-shrink:0;inline-size:16px;block-size:16px}.gux-icon-only{line-height:0px}";export{l as gux_tooltip_title}
1
+ import{r as t,h as e,g as i}from"./p-cf74fd3d.js";import{a as o}from"./p-8eaf8caf.js";import{O as n}from"./p-946c70b7.js";import{O as s}from"./p-f7112041.js";var r=function(t,e,i,o){var n,s=arguments.length,r=s<3?e:null===o?o=Object.getOwnPropertyDescriptor(e,i):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)r=Reflect.decorate(t,e,i,o);else for(var l=t.length-1;l>=0;l--)(n=t[l])&&(r=(s<3?n(r):s>3?n(e,i,r):n(e,i))||r);return s>3&&r&&Object.defineProperty(e,i,r),r};const l=class{constructor(e){t(this,e),this.hasTooltip=!1,this.showTooltip=!1,this.iconOnly=!1,this.titleName=""}onmouseenter(t){t.buttons||(this.showTooltip=!0)}onmouseleave(){this.showTooltip=!1}onmousedown(){this.showTooltip=!1}async setShowTooltip(){this.tooltipElement&&(this.showTooltip=!0,await this.tooltipElement.showTooltip())}async setHideTooltip(){this.tooltipElement&&(this.showTooltip=!1,await this.tooltipElement.hideTooltip())}onMutation(){this.titleName=this.setTooltipTitleText(),this.checkForTooltipHideOrShow()}onResize(){this.titleName=this.setTooltipTitleText(),this.checkForTooltipHideOrShow()}componentWillLoad(){this.titleName=this.setTooltipTitleText()}componentDidLoad(){this.logWarnNoIconSrText()}logWarnNoIconSrText(){this.iconOnly&&!this.titleName&&o(this.root,"No screenreader-text provided. Provide a localized screenreader-text property for the gux-icon. The screenreader-text property is used for the icon screenreader text and the tooltip.")}addIconDecorative(){this.root.classList.add("gux-tooltip-icon-decorative")}getTitleElements(){var t;const e=this.root.querySelector("slot"),i=null===(t=this.root.querySelector(".gux-title-container span"))||void 0===t?void 0:t.children;return e?e.assignedElements():i?Array.from(i):[]}getTitleTextContent(){return this.root.querySelector("slot")?this.root.querySelector("slot").assignedNodes().map((t=>t.textContent.trim())).join(""):this.root.querySelector(".gux-title-container")?this.root.querySelector(".gux-title-container").textContent.trim():""}setTooltipTitleText(){let t=this.getTitleTextContent();return this.getTitleElements().forEach((e=>{"GUX-ICON"!==e.tagName||this.getTitleTextContent()?"GUX-ICON"===e.tagName&&this.getTitleTextContent()&&this.addIconDecorative():(this.iconOnly=!0,t=e.getAttribute("screenreader-text"))})),t}checkForTooltipHideOrShow(){const t=this.root.querySelector(".gux-title-container");this.root.classList.remove("gux-overflow-hidden"),this.iconOnly&&this.titleName?this.hasTooltip=!0:(null==t?void 0:t.scrollWidth)>(null==t?void 0:t.offsetWidth)?(this.root.classList.add("gux-overflow-hidden"),this.hasTooltip=!0):this.hasTooltip=!1}render(){return[e("span",{key:"4fbf28a8cf77ea3c2f047522de0a7d19696218e8",class:{"gux-title-container":!0,"gux-icon-only":this.iconOnly}},e("slot",{key:"a4651f889595c0f1ae3c18c15f7fe701896dcbe6"})),this.renderTooltip()]}renderTooltip(){if(this.hasTooltip)return e("gux-tooltip",{"aria-hidden":"true",ref:t=>this.tooltipElement=t,hidden:!this.showTooltip},e("div",{slot:"content"},this.titleName))}get root(){return i(this)}};r([n({childList:!0,subtree:!0,characterData:!0})],l.prototype,"onMutation",null),r([s()],l.prototype,"onResize",null),l.style="gux-tooltip-title{overflow:hidden}gux-tooltip{font-weight:normal;line-height:normal;text-align:start;overflow-wrap:break-word;white-space:normal}.gux-overflow-hidden .gux-title-container ::slotted(span){overflow:hidden;text-overflow:ellipsis}.gux-overflow-hidden .gux-title-container>*{overflow:hidden;text-overflow:ellipsis}.gux-title-container{display:flex;pointer-events:none}.gux-tooltip-icon-decorative .gux-title-container{position:relative;margin-inline-start:20px}.gux-tooltip-icon-decorative .gux-title-container gux-icon,.gux-tooltip-icon-decorative .gux-title-container ::slotted(gux-icon){position:absolute;inset-block-start:1px;inset-inline-start:-20px;flex-shrink:0;inline-size:16px;block-size:16px}.gux-icon-only{line-height:0px}";export{l as gux_tooltip_title}
@@ -1 +1 @@
1
- import{r as e,h as o,g as r}from"./p-cf74fd3d.js";import{c as t,o as i}from"./p-f4751a15.js";import{O as n}from"./p-946c70b7.js";import{o as l}from"./p-6b12dd16.js";import{p as a}from"./p-a11d5d42.js";import{h as s}from"./p-6d8b4027.js";import{a as u,G as f}from"./p-56b18d28.js";import{G as d,a as p}from"./p-bd1d4fac.js";import{v as c,a as g}from"./p-4aaf349e.js";import{t as h}from"./p-e79482cf.js";import"./p-0934300e.js";import"./p-8eaf8caf.js";import"./p-2c25e2f2.js";const m=class{constructor(o){e(this,o),this.indicatorMark="required",this.computedLabelPosition="above",this.hasError=!1,this.hasHelp=!1}onMutation(){this.labelInfo=this.root.querySelector("[slot=label-info]"),this.hasError=s(this.root,"error"),this.hasHelp=s(this.root,"help")}handleKeyup(e){var o,r;"Tab"===e.key?this.input.matches(":focus-visible")&&(null===(o=this.labelInfo)||void 0===o||o.showTooltip(),this.hideLabelInfoTimeout=setTimeout((()=>{var e;null===(e=this.labelInfo)||void 0===e||e.hideTooltip()}),6e3)):this.input.matches(":focus-visible")&&(null===(r=this.labelInfo)||void 0===r||r.hideTooltip(),clearTimeout(this.hideLabelInfoTimeout))}onFocusout(){var e;null===(e=this.labelInfo)||void 0===e||e.hideTooltip(),clearTimeout(this.hideLabelInfoTimeout)}componentWillLoad(){this.setInput(),this.setLabel(),this.labelInfo=this.root.querySelector("[slot=label-info]"),this.hasError=s(this.root,"error"),this.hasHelp=s(this.root,"help"),h(this.root,{variant:this.variant})}disconnectedCallback(){this.disabledObserver&&this.disabledObserver.disconnect(),this.requiredObserver&&this.requiredObserver.disconnect()}render(){return o(p,{key:"b5a097aed911e182261254e69d6c6048506102e0",labelPosition:this.computedLabelPosition},o(d,{key:"3cfaa421c75d936be6044354dbdd83cb17a87b18",required:this.required,position:this.computedLabelPosition},o("slot",{key:"5b216bef231c4781957f7035a1b51de80976e04f",name:"label",onSlotchange:()=>this.setLabel()}),o("gux-form-field-label-indicator",{key:"a3f49ddf62ed9e49b0a6e91d249ea9c1a6ee11d6",variant:this.indicatorMark,required:this.required}),o("slot",{key:"bc9871752294ebae4ec8d744c53e807750a2a251",name:"label-info"})),o("div",{key:"aef461d8e4bcad541cd541972441beb188bfa25e",class:"gux-input-and-error-container"},o("div",{key:"dc54a1bac17dcc7dd8c28a5d3a3166987b73c9f7",class:{"gux-input":!0,"gux-input-error":this.hasError}},o("div",{key:"1d416cae3aaccb505ee390f1748be4491a6391b9",class:{"gux-input-container":!0,"gux-disabled":this.disabled}},o("slot",{key:"9d8424a8a68939dd708a732dd22113ca62c6b0d6",name:"input"}),o("gux-icon",{key:"e1ffd7f6c6136cd94f4b6fb0d78d88020d4c5ef3","icon-name":"custom/chevron-down-small-regular",decorative:!0,size:"small"}))),o(u,{key:"dfec2002ea77b4d11219d0c0b6b04fb662a3488a",show:this.hasError},o("slot",{key:"7eadef44136e5040fe2348f0392756adbaaf3203",name:"error"})),o(f,{key:"b04f820b64c9f8bf3416fe7cfd1768472adb512a",show:!this.hasError&&this.hasHelp},o("slot",{key:"1753996cd6dec9a97a84060e7d8b2612241edd24",name:"help"}))))}get variant(){const e=this.labelPosition?this.labelPosition.toLowerCase():"none";return`${this.input.getAttribute("type")}-${e}`}setInput(){this.input=this.root.querySelector('select[slot="input"]'),a(this.input),this.disabled=t(this.input),this.required=this.input.required,this.disabledObserver=i(this.input,(e=>{this.disabled=e})),this.requiredObserver=l(this.input,(e=>{this.required=e})),c(this.root,this.input)}setLabel(){this.label=this.root.querySelector('label[slot="label"]'),this.computedLabelPosition=g(this.label,this.labelPosition)}get root(){return r(this)}};(function(e,o,r,t){var i,n=arguments.length,l=n<3?o:null===t?t=Object.getOwnPropertyDescriptor(o,r):t;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)l=Reflect.decorate(e,o,r,t);else for(var a=e.length-1;a>=0;a--)(i=e[a])&&(l=(n<3?i(l):n>3?i(o,r,l):i(o,r))||l);n>3&&l&&Object.defineProperty(o,r,l)})([n({childList:!0,subtree:!0})],m.prototype,"onMutation",null),m.style=".gux-form-field-container.gux-beside{display:flex;flex-direction:row}.gux-form-field-error{display:none;flex-direction:row;flex-wrap:nowrap;gap:var(--gse-ui-formControl-helper-gap);place-content:stretch flex-start;padding:var(--gse-ui-formControl-helper-errorPadding);font-family:var(--gse-ui-formControl-helper-helperText-fontFamily);font-size:var(--gse-ui-formControl-helper-helperText-fontSize);line-height:var(--gse-ui-formControl-helper-helperText-lineHeight);color:var(--gse-ui-formControl-helper-errorColor)}.gux-form-field-error.gux-show{display:flex}.gux-form-field-error gux-icon{flex:0 1 auto;order:0;color:var(--gse-ui-formControl-helper-errorColor)}.gux-form-field-error .gux-message{flex:0 1 auto;align-self:auto;order:0}.gux-form-field-label{display:inline-flex;flex:1 0 auto}.gux-form-field-label ::slotted(gux-label-info-beta){padding-inline-start:var(--gse-ui-formControl-formField-gap)}.gux-form-field-label.gux-beside{position:relative;inset-block-start:var(--gse-ui-formControl-input-top);inline-size:fit-content;min-inline-size:var(--gse-ui-formControl-input-textfield-minWidth);max-inline-size:fit-content;margin-inline-end:var(--gse-ui-formControl-group-gapItems)}.gux-form-field-label.gux-above{padding-block-end:var(--gse-ui-formControl-formField-gap)}.gux-form-field-label.gux-screenreader{position:absolute;top:auto;left:-10000px;width:1px;height:1px;overflow:hidden}.gux-form-field-help{display:none;flex-direction:row;flex-wrap:nowrap;place-content:stretch flex-start;align-items:flex-start;justify-content:flex-start;padding-block-start:var(--gse-ui-formControl-formField-gap);font-family:var(--gse-ui-formControl-helper-helperText-fontFamily);font-size:var(--gse-ui-formControl-helper-helperText-fontSize);line-height:var(--gse-ui-formControl-helper-helperText-lineHeight);color:var(--gse-ui-formControl-helper-defaultColor)}.gux-form-field-help.gux-show{display:flex}.gux-form-field-help .gux-message{flex:0 1 auto;align-self:none;order:0}:host{display:block}::slotted(label){font-family:var(--gse-ui-formControl-label-textBold-fontFamily);font-size:var(--gse-ui-formControl-label-textBold-fontSize);font-weight:var(--gse-ui-formControl-label-textBold-fontWeight);line-height:var(--gse-ui-formControl-label-textBold-lineHeight);color:var(--gse-ui-formControl-label-labelColor)}::slotted(select){flex:1 1 auto;align-self:auto;order:0;inline-size:100%;block-size:var(--gse-ui-formControl-input-textfield-height);padding-inline-start:var(--gse-ui-formControl-input-gap);color:var(--gse-ui-formControl-input-populatedColor);-moz-appearance:none;-webkit-appearance:none;appearance:none;outline:none;background-color:var(--gse-ui-formControl-input-backgroundColor);border:none;border-radius:var(--gse-ui-formControl-input-borderRadius)}::slotted(select)::placeholder{color:var(--gse-ui-formControl-input-placeholderColor);opacity:1}.gux-input-and-error-container{flex-grow:1}.gux-input-and-error-container .gux-input .gux-input-container{position:relative;box-sizing:border-box;display:flex;flex-direction:row;flex-wrap:nowrap;gap:var(--gse-ui-formControl-input-gap);place-content:stretch center;align-items:center;inline-size:100%;font-family:var(--gse-ui-formControl-input-contentText-fontFamily);font-size:var(--gse-ui-formControl-input-contentText-fontSize);font-weight:var(--gse-ui-formControl-input-contentText-fontWeight);line-height:var(--gse-ui-formControl-input-contentText-lineHeight);color:var(--gse-ui-formControl-input-populatedColor);background-color:var(--gse-ui-formControl-input-backgroundColor);background-image:none;border:var(--gse-ui-formControl-input-default-border-width) var(--gse-ui-formControl-input-default-border-style) var(--gse-ui-formControl-input-default-border-color);border-radius:var(--gse-ui-formControl-input-borderRadius)}.gux-input-and-error-container .gux-input .gux-input-container.gux-disabled{pointer-events:none;opacity:var(--gse-ui-formControl-input-disabled-opacity)}.gux-input-and-error-container .gux-input .gux-input-container:hover gux-icon{color:var(--gse-ui-formControl-input-inputIcon-iconEndColor)}.gux-input-and-error-container .gux-input .gux-input-container gux-icon{position:absolute;inset-block-start:0;inset-inline-end:0;margin:var(--gse-ui-formControl-input-padding);pointer-events:none}.gux-input-and-error-container .gux-input .gux-input-container:focus-within{outline:var(--gse-ui-formControl-input-focus-border-width) var(--gse-ui-formControl-input-focus-border-style) var(--gse-ui-formControl-input-focus-border-color);outline-offset:var(--gse-semantic-focusOutline-offset);border:var(--gse-ui-formControl-input-active-border-width) var(--gse-ui-formControl-input-active-border-style) var(--gse-ui-formControl-input-active-border-color);border-radius:var(--gse-ui-formControl-focusRing-borderRadius)}.gux-input-and-error-container .gux-input.gux-input-error .gux-input-container{border-color:var(--gse-ui-formControl-input-error-border-color)}";export{m as gux_form_field_select}
1
+ import{r as e,h as o,g as r}from"./p-cf74fd3d.js";import{c as t,o as i}from"./p-f4751a15.js";import{O as n}from"./p-946c70b7.js";import{o as l}from"./p-6b12dd16.js";import{p as a}from"./p-a11d5d42.js";import{h as s}from"./p-6d8b4027.js";import{a as u,G as f}from"./p-56b18d28.js";import{G as d,a as p}from"./p-bd1d4fac.js";import{v as c,a as g}from"./p-4aaf349e.js";import{t as h}from"./p-c35a9bb6.js";import"./p-0934300e.js";import"./p-8eaf8caf.js";import"./p-2c25e2f2.js";const m=class{constructor(o){e(this,o),this.indicatorMark="required",this.computedLabelPosition="above",this.hasError=!1,this.hasHelp=!1}onMutation(){this.labelInfo=this.root.querySelector("[slot=label-info]"),this.hasError=s(this.root,"error"),this.hasHelp=s(this.root,"help")}handleKeyup(e){var o,r;"Tab"===e.key?this.input.matches(":focus-visible")&&(null===(o=this.labelInfo)||void 0===o||o.showTooltip(),this.hideLabelInfoTimeout=setTimeout((()=>{var e;null===(e=this.labelInfo)||void 0===e||e.hideTooltip()}),6e3)):this.input.matches(":focus-visible")&&(null===(r=this.labelInfo)||void 0===r||r.hideTooltip(),clearTimeout(this.hideLabelInfoTimeout))}onFocusout(){var e;null===(e=this.labelInfo)||void 0===e||e.hideTooltip(),clearTimeout(this.hideLabelInfoTimeout)}componentWillLoad(){this.setInput(),this.setLabel(),this.labelInfo=this.root.querySelector("[slot=label-info]"),this.hasError=s(this.root,"error"),this.hasHelp=s(this.root,"help"),h(this.root,{variant:this.variant})}disconnectedCallback(){this.disabledObserver&&this.disabledObserver.disconnect(),this.requiredObserver&&this.requiredObserver.disconnect()}render(){return o(p,{key:"b5a097aed911e182261254e69d6c6048506102e0",labelPosition:this.computedLabelPosition},o(d,{key:"3cfaa421c75d936be6044354dbdd83cb17a87b18",required:this.required,position:this.computedLabelPosition},o("slot",{key:"5b216bef231c4781957f7035a1b51de80976e04f",name:"label",onSlotchange:()=>this.setLabel()}),o("gux-form-field-label-indicator",{key:"a3f49ddf62ed9e49b0a6e91d249ea9c1a6ee11d6",variant:this.indicatorMark,required:this.required}),o("slot",{key:"bc9871752294ebae4ec8d744c53e807750a2a251",name:"label-info"})),o("div",{key:"aef461d8e4bcad541cd541972441beb188bfa25e",class:"gux-input-and-error-container"},o("div",{key:"dc54a1bac17dcc7dd8c28a5d3a3166987b73c9f7",class:{"gux-input":!0,"gux-input-error":this.hasError}},o("div",{key:"1d416cae3aaccb505ee390f1748be4491a6391b9",class:{"gux-input-container":!0,"gux-disabled":this.disabled}},o("slot",{key:"9d8424a8a68939dd708a732dd22113ca62c6b0d6",name:"input"}),o("gux-icon",{key:"e1ffd7f6c6136cd94f4b6fb0d78d88020d4c5ef3","icon-name":"custom/chevron-down-small-regular",decorative:!0,size:"small"}))),o(u,{key:"dfec2002ea77b4d11219d0c0b6b04fb662a3488a",show:this.hasError},o("slot",{key:"7eadef44136e5040fe2348f0392756adbaaf3203",name:"error"})),o(f,{key:"b04f820b64c9f8bf3416fe7cfd1768472adb512a",show:!this.hasError&&this.hasHelp},o("slot",{key:"1753996cd6dec9a97a84060e7d8b2612241edd24",name:"help"}))))}get variant(){const e=this.labelPosition?this.labelPosition.toLowerCase():"none";return`${this.input.getAttribute("type")}-${e}`}setInput(){this.input=this.root.querySelector('select[slot="input"]'),a(this.input),this.disabled=t(this.input),this.required=this.input.required,this.disabledObserver=i(this.input,(e=>{this.disabled=e})),this.requiredObserver=l(this.input,(e=>{this.required=e})),c(this.root,this.input)}setLabel(){this.label=this.root.querySelector('label[slot="label"]'),this.computedLabelPosition=g(this.label,this.labelPosition)}get root(){return r(this)}};(function(e,o,r,t){var i,n=arguments.length,l=n<3?o:null===t?t=Object.getOwnPropertyDescriptor(o,r):t;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)l=Reflect.decorate(e,o,r,t);else for(var a=e.length-1;a>=0;a--)(i=e[a])&&(l=(n<3?i(l):n>3?i(o,r,l):i(o,r))||l);n>3&&l&&Object.defineProperty(o,r,l)})([n({childList:!0,subtree:!0})],m.prototype,"onMutation",null),m.style=".gux-form-field-container.gux-beside{display:flex;flex-direction:row}.gux-form-field-error{display:none;flex-direction:row;flex-wrap:nowrap;gap:var(--gse-ui-formControl-helper-gap);place-content:stretch flex-start;padding:var(--gse-ui-formControl-helper-errorPadding);font-family:var(--gse-ui-formControl-helper-helperText-fontFamily);font-size:var(--gse-ui-formControl-helper-helperText-fontSize);line-height:var(--gse-ui-formControl-helper-helperText-lineHeight);color:var(--gse-ui-formControl-helper-errorColor)}.gux-form-field-error.gux-show{display:flex}.gux-form-field-error gux-icon{flex:0 1 auto;order:0;color:var(--gse-ui-formControl-helper-errorColor)}.gux-form-field-error .gux-message{flex:0 1 auto;align-self:auto;order:0}.gux-form-field-label{display:inline-flex;flex:1 0 auto}.gux-form-field-label ::slotted(gux-label-info-beta){padding-inline-start:var(--gse-ui-formControl-formField-gap)}.gux-form-field-label.gux-beside{position:relative;inset-block-start:var(--gse-ui-formControl-input-top);inline-size:fit-content;min-inline-size:var(--gse-ui-formControl-input-textfield-minWidth);max-inline-size:fit-content;margin-inline-end:var(--gse-ui-formControl-group-gapItems)}.gux-form-field-label.gux-above{padding-block-end:var(--gse-ui-formControl-formField-gap)}.gux-form-field-label.gux-screenreader{position:absolute;top:auto;left:-10000px;width:1px;height:1px;overflow:hidden}.gux-form-field-help{display:none;flex-direction:row;flex-wrap:nowrap;place-content:stretch flex-start;align-items:flex-start;justify-content:flex-start;padding-block-start:var(--gse-ui-formControl-formField-gap);font-family:var(--gse-ui-formControl-helper-helperText-fontFamily);font-size:var(--gse-ui-formControl-helper-helperText-fontSize);line-height:var(--gse-ui-formControl-helper-helperText-lineHeight);color:var(--gse-ui-formControl-helper-defaultColor)}.gux-form-field-help.gux-show{display:flex}.gux-form-field-help .gux-message{flex:0 1 auto;align-self:none;order:0}:host{display:block}::slotted(label){font-family:var(--gse-ui-formControl-label-textBold-fontFamily);font-size:var(--gse-ui-formControl-label-textBold-fontSize);font-weight:var(--gse-ui-formControl-label-textBold-fontWeight);line-height:var(--gse-ui-formControl-label-textBold-lineHeight);color:var(--gse-ui-formControl-label-labelColor)}::slotted(select){flex:1 1 auto;align-self:auto;order:0;inline-size:100%;block-size:var(--gse-ui-formControl-input-textfield-height);padding-inline-start:var(--gse-ui-formControl-input-gap);color:var(--gse-ui-formControl-input-populatedColor);-moz-appearance:none;-webkit-appearance:none;appearance:none;outline:none;background-color:var(--gse-ui-formControl-input-backgroundColor);border:none;border-radius:var(--gse-ui-formControl-input-borderRadius)}::slotted(select)::placeholder{color:var(--gse-ui-formControl-input-placeholderColor);opacity:1}.gux-input-and-error-container{flex-grow:1}.gux-input-and-error-container .gux-input .gux-input-container{position:relative;box-sizing:border-box;display:flex;flex-direction:row;flex-wrap:nowrap;gap:var(--gse-ui-formControl-input-gap);place-content:stretch center;align-items:center;inline-size:100%;font-family:var(--gse-ui-formControl-input-contentText-fontFamily);font-size:var(--gse-ui-formControl-input-contentText-fontSize);font-weight:var(--gse-ui-formControl-input-contentText-fontWeight);line-height:var(--gse-ui-formControl-input-contentText-lineHeight);color:var(--gse-ui-formControl-input-populatedColor);background-color:var(--gse-ui-formControl-input-backgroundColor);background-image:none;border:var(--gse-ui-formControl-input-default-border-width) var(--gse-ui-formControl-input-default-border-style) var(--gse-ui-formControl-input-default-border-color);border-radius:var(--gse-ui-formControl-input-borderRadius)}.gux-input-and-error-container .gux-input .gux-input-container.gux-disabled{pointer-events:none;opacity:var(--gse-ui-formControl-input-disabled-opacity)}.gux-input-and-error-container .gux-input .gux-input-container:hover gux-icon{color:var(--gse-ui-formControl-input-inputIcon-iconEndColor)}.gux-input-and-error-container .gux-input .gux-input-container gux-icon{position:absolute;inset-block-start:0;inset-inline-end:0;margin:var(--gse-ui-formControl-input-padding);pointer-events:none}.gux-input-and-error-container .gux-input .gux-input-container:focus-within{outline:var(--gse-ui-formControl-input-focus-border-width) var(--gse-ui-formControl-input-focus-border-style) var(--gse-ui-formControl-input-focus-border-color);outline-offset:var(--gse-semantic-focusOutline-offset);border:var(--gse-ui-formControl-input-active-border-width) var(--gse-ui-formControl-input-active-border-style) var(--gse-ui-formControl-input-active-border-color);border-radius:var(--gse-ui-formControl-focusRing-borderRadius)}.gux-input-and-error-container .gux-input.gux-input-error .gux-input-container{border-color:var(--gse-ui-formControl-input-error-border-color)}";export{m as gux_form_field_select}
@@ -0,0 +1 @@
1
+ import{h as a,r as e,g as i}from"./p-cf74fd3d.js";import{t}from"./p-c35a9bb6.js";import{a as r}from"./p-8eaf8caf.js";import{b as n}from"./p-e5e644b3.js";import{g,a as o}from"./p-5fcdcbfd.js";import"./p-4202e9f2.js";const u={notifications:"Notifications"},s=class{constructor(a){e(this,a),this.size="large",this.accent="default",this.presence="none",this.ring=!1,this.badge=!1,this.notifications=!1,this.ucIntegration="none"}get hasUcIntegration(){return["zoom","teams","8x8"].includes(this.ucIntegration)&&"large"===this.size}validatingInputs(){const a=this.root.querySelector("img");this.name||r(this.root,"Name prop is required for accessibility"),a&&!a.getAttribute("alt")&&r(this.root,"Alt attribute is required for slotted image."),"none"!==this.ucIntegration&&"large"!==this.size&&r(this.root,"UC Integration app logo can only be shown on large avatar")}renderBadge(){return this.notifications?this.renderNotificationsBadge():this.badge&&!["idle","none"].includes(this.presence)?a("div",{"aria-hidden":"true",class:{"gux-avatar-badge":!0,[`gux-${this.presence}`]:!0,[`gux-${this.size}`]:!0}},a("gux-icon",{"icon-name":this.getPresenceIcon(this.presence),decorative:!0})):void 0}renderNotificationsBadge(){return a("div",{"aria-hidden":"true",class:{"gux-avatar-badge gux-notifications":!0,[`gux-${this.size}`]:!0}},a("gux-icon",{"icon-name":"fa/bell-regular",decorative:!0}))}getPresenceIcon(a){switch(a){case"available":return"fa/circle-check-solid";case"busy":case"meeting":return"fa/ban-outline";case"away":case"break":case"meal":case"training":return"fa/clock-outline";case"on-queue":return"fa/headset-solid";case"offline":default:return"fa/circle-xmark-regular";case"out-of-office":return"fa/subtract-circle"}}renderUcIntegrationsIcon(e){switch(e){case"teams":return a("svg",{width:"32",height:"32",viewBox:"0 0 32 32",fill:"none",xmlns:"http://www.w3.org/2000/svg"},a("g",{"clip-path":"url(#clip0_17811_243865)"},a("path",{d:"M22.3205 12.0769H30.5862C31.3671 12.0769 32.0002 12.7051 32.0002 13.48V20.951C32.0002 23.799 29.6735 26.1077 26.8035 26.1077H26.7789C23.9089 26.1081 21.582 23.7997 21.5815 20.9517C21.5815 20.9515 21.5815 20.9512 21.5815 20.951V12.8102C21.5816 12.4052 21.9124 12.0769 22.3205 12.0769Z",fill:"#5059C9"}),a("path",{d:"M27.9069 10.6C29.7565 10.6 31.2558 9.11222 31.2558 7.27694C31.2558 5.44165 29.7565 3.95386 27.9069 3.95386C26.0574 3.95386 24.5581 5.44165 24.5581 7.27694C24.5581 9.11222 26.0574 10.6 27.9069 10.6Z",fill:"#5059C9"}),a("path",{d:"M17.4886 10.6C20.1601 10.6 22.3258 8.45098 22.3258 5.80001C22.3258 3.14904 20.1601 1 17.4886 1C14.8171 1 12.6514 3.14904 12.6514 5.80001C12.6514 8.45098 14.8171 10.6 17.4886 10.6Z",fill:"#7B83EB"}),a("path",{d:"M23.9381 12.0769H10.2941C9.52253 12.0959 8.91215 12.7313 8.93005 13.497V22.0181C8.8223 26.613 12.4857 30.426 17.1161 30.5385C21.7465 30.426 25.4099 26.613 25.3022 22.0181V13.497C25.32 12.7313 24.7097 12.0959 23.9381 12.0769Z",fill:"#7B83EB"}),a("path",{opacity:"0.1",d:"M17.8603 12.0769V24.0178C17.8566 24.5654 17.5222 25.0573 17.0119 25.2658C16.8495 25.334 16.6749 25.3692 16.4985 25.3692H9.58496C9.48822 25.1255 9.39892 24.8818 9.32449 24.6308C9.064 23.7834 8.93108 22.9025 8.93007 22.0166V13.4948C8.91218 12.7303 9.52156 12.0959 10.2919 12.0769H17.8603Z",fill:"black"}),a("path",{opacity:"0.2",d:"M17.1161 12.0769V24.7563C17.1161 24.9313 17.0807 25.1046 17.0119 25.2658C16.8018 25.7722 16.3061 26.104 15.7543 26.1077H9.93474C9.80822 25.864 9.68915 25.6203 9.58496 25.3692C9.48077 25.1181 9.39892 24.8818 9.32449 24.6308C9.064 23.7834 8.93108 22.9025 8.93007 22.0166V13.4948C8.91218 12.7303 9.52156 12.0959 10.2919 12.0769H17.1161Z",fill:"black"}),a("path",{opacity:"0.2",d:"M17.1161 12.0769V23.2794C17.1105 24.0234 16.504 24.6251 15.7543 24.6308H9.32449C9.064 23.7834 8.93108 22.9025 8.93007 22.0166V13.4948C8.91218 12.7303 9.52156 12.0959 10.2919 12.0769H17.1161Z",fill:"black"}),a("path",{opacity:"0.2",d:"M16.3719 12.0769V23.2794C16.3663 24.0234 15.7598 24.6251 15.0101 24.6308H9.32449C9.064 23.7834 8.93108 22.9025 8.93007 22.0166V13.4948C8.91218 12.7303 9.52156 12.0959 10.2919 12.0769H16.3719Z",fill:"black"}),a("path",{opacity:"0.1",d:"M17.8605 8.25909V10.5852C17.734 10.5926 17.6149 10.6 17.4884 10.6C17.3619 10.6 17.2428 10.5926 17.1163 10.5852C16.8651 10.5687 16.616 10.5291 16.3721 10.4671C14.8652 10.113 13.6201 9.06422 13.0233 7.64617C12.9206 7.40804 12.8409 7.16077 12.7852 6.90771H16.4986C17.2496 6.91054 17.8577 7.5139 17.8605 8.25909Z",fill:"black"}),a("path",{opacity:"0.2",d:"M17.1165 8.99749V10.5852C16.8653 10.5686 16.6161 10.5291 16.3723 10.467C14.8653 10.1129 13.6203 9.06416 13.0234 7.64612H15.7546C16.5055 7.64894 17.1136 8.25232 17.1165 8.99749Z",fill:"black"}),a("path",{opacity:"0.2",d:"M17.1165 8.99749V10.5852C16.8653 10.5686 16.6161 10.5291 16.3723 10.467C14.8653 10.1129 13.6203 9.06416 13.0234 7.64612H15.7546C16.5055 7.64894 17.1136 8.25232 17.1165 8.99749Z",fill:"black"}),a("path",{opacity:"0.2",d:"M16.3723 8.9975V10.467C14.8653 10.1129 13.6203 9.06416 13.0234 7.64612H15.0104C15.7614 7.64895 16.3694 8.25234 16.3723 8.9975Z",fill:"black"}),a("path",{d:"M1.36409 7.64612H15.008C15.7614 7.64612 16.3721 8.25215 16.3721 8.99971V22.5387C16.3721 23.2862 15.7613 23.8923 15.008 23.8923H1.36409C0.610716 23.8923 0 23.2862 0 22.5387V8.99971C0 8.25215 0.61073 7.64612 1.36409 7.64612Z",fill:"url(#paint0_linear_17811_243865)"}),a("path",{d:"M11.7761 12.7992H9.04865V20.169H7.31098V12.7992H4.59619V11.3695H11.7761V12.7992Z",fill:"white"})),a("defs",null,a("linearGradient",{id:"paint0_linear_17811_243865",x1:"2.84416",y1:"6.58844",x2:"13.4047",y2:"25.0206",gradientUnits:"userSpaceOnUse"},a("stop",{"stop-color":"#5A62C3"}),a("stop",{offset:"0.5","stop-color":"#4D55BD"}),a("stop",{offset:"1","stop-color":"#3940AB"})),a("clipPath",{id:"clip0_17811_243865"},a("rect",{width:"32",height:"29.5385",fill:"white",transform:"translate(0 1)"}))));case"zoom":return a("svg",{width:"32",height:"32",viewBox:"0 0 32 32",fill:"none",xmlns:"http://www.w3.org/2000/svg"},a("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_17811_243867)"}),a("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"}),a("defs",null,a("linearGradient",{id:"paint0_linear_17811_243867",x1:"6",y1:"29",x2:"26",y2:"2.5",gradientUnits:"userSpaceOnUse"},a("stop",{"stop-color":"#084ACD"}),a("stop",{offset:"0.505","stop-color":"#0B5CFF"}),a("stop",{offset:"1","stop-color":"#236EF9"}))));case"8x8":return a("svg",{width:"32",height:"32",viewBox:"0 0 32 32",fill:"none",xmlns:"http://www.w3.org/2000/svg"},a("rect",{width:"32",height:"32",fill:"#CB2233"}),a("path",{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M19.4298 14.2388H16.8341L16.2371 15.4154C16.1751 15.5507 16.1037 15.6811 16.0236 15.8055H15.9988C15.9988 15.8055 15.8808 15.5988 15.7841 15.4154L15.1965 14.2302H12.6127L14.6479 17.5052L12.621 20.7815H15.1611L15.8454 19.4129C15.9061 19.2937 15.9589 19.1704 16.0035 19.0437H16.0283C16.0283 19.0437 16.1227 19.2898 16.1864 19.4129L16.886 20.7815H19.4298L17.4028 17.5052L19.4298 14.2388ZM7.95949 19.1225C7.79341 19.1261 7.62828 19.0954 7.47357 19.0323C7.31886 18.9692 7.17761 18.8748 7.05792 18.7547C6.93823 18.6345 6.84245 18.4909 6.77608 18.332C6.7097 18.1732 6.67404 18.0022 6.67112 17.8289C6.68897 17.3197 6.89037 16.8362 7.23508 16.4751C8.28512 16.9674 9.24078 17.3465 9.24078 17.9852C9.24668 18.7163 8.75352 19.1225 7.95949 19.1225ZM8.03028 12.3975C8.72992 12.3975 9.15112 12.8037 9.15112 13.4252C9.14236 13.9074 9.0139 14.3789 8.77829 14.7938C7.83443 14.3705 7.06047 13.9975 7.06047 13.2677C7.05575 12.7877 7.3625 12.3975 8.03028 12.3975ZM10.6613 15.7625C10.7651 15.6308 11.7113 14.4283 11.7113 13.2258C11.7113 11.152 10.082 10 8.09399 10C5.59748 10 4.5085 11.5914 4.5085 13.2086C4.5085 14.1625 4.91436 14.8258 5.47832 15.3403C5.15269 15.6148 4 16.624 4 18.0615C4 19.8363 5.35916 21.52 7.95949 21.52C10.6058 21.52 11.9178 19.8191 11.9178 18.1194C11.9178 16.9994 11.3774 16.2782 10.6613 15.7625ZM24.0452 19.1225C23.8792 19.1259 23.7142 19.0951 23.5597 19.0319C23.4051 18.9688 23.264 18.8744 23.1444 18.7542C23.0249 18.6341 22.9292 18.4905 22.8629 18.3317C22.7966 18.1729 22.761 18.0021 22.758 17.8289C22.7759 17.3197 22.9773 16.8362 23.322 16.4751C24.372 16.9674 25.3277 17.3465 25.3277 17.9852C25.3277 18.7237 24.8345 19.1286 24.0476 19.1286L24.0452 19.1225ZM24.1172 12.3975C24.8168 12.3975 25.238 12.8037 25.238 13.4252C25.2296 13.9076 25.1007 14.3794 24.864 14.7938C23.9202 14.3705 23.1474 13.9975 23.1474 13.2677C23.1474 12.7877 23.4494 12.3975 24.1172 12.3975ZM26.7435 15.7625C26.8473 15.6222 27.7935 14.4197 27.7935 13.2258C27.7935 11.152 26.163 10 24.1762 10C21.6797 10 20.5907 11.5914 20.5907 13.2086C20.5907 14.1625 20.9966 14.8258 21.5605 15.3403C21.2349 15.6049 20.0822 16.6166 20.0822 18.048C20.0822 19.8228 21.4414 21.5065 24.0405 21.5065C26.688 21.5065 28 19.8068 28 18.1058C28 16.9994 27.4596 16.2782 26.7435 15.7625Z",fill:"white"}));default:return null}}getUcIntegrationText(a){switch(a){case"teams":return"Microsoft Teams";case"zoom":return"Zoom";case"8x8":return"8 by 8";default:return null}}renderUcIntegrationBadge(){if(this.hasUcIntegration)return a("div",{class:"gux-avatar-integration-badge","aria-hidden":"true"},this.renderUcIntegrationsIcon(this.ucIntegration))}renderTooltip(){return["A","BUTTON"].includes(this.parentElement.tagName)?a("gux-tooltip-beta",{placement:"top",ref:a=>this.tooltip=a,visualOnly:!0},a("div",{slot:"content"},this.getDescriptionText())):null}getDescriptionText(){let a=`${this.name}`;return this.notifications?a+` (${this.i18n("notifications")})`:(this.label&&"none"!==this.presence&&(a=a+=` (${this.label})`),this.hasUcIntegration&&(a=a+=` (${this.getUcIntegrationText(this.ucIntegration)})`),a)}async showTooltip(){return await this.tooltip.showTooltip()}async hideTooltip(){return await this.tooltip.hideTooltip()}async componentWillLoad(){this.parentElement=this.root.parentElement,t(this.root,{variant:this.size}),this.i18n=await n(this.root,u)}componentDidLoad(){this.validatingInputs()}render(){return[a("div",{key:"726bef49a457290460cde7a3f552c3dd5ee11298",class:{"gux-avatar":!0,[`gux-${this.presence}`]:this.ring||this.badge,[`gux-${this.size}`]:!0,"gux-ring":this.ring,[o(this.accent,this.name)]:!0}},a("div",{key:"7b5ba0e6a9e5f44e51afab37897092e3040d1812",class:"gux-content"},a("slot",{key:"6c9f011924462b50028314bf21e320ab8006f7f3",name:"image"},a("span",{key:"c82a2cf30e67077e209b1571edc3c6367b4c5372",role:"img","aria-label":this.getDescriptionText()},g(this.name)))),this.renderTooltip()),this.renderBadge(),this.renderUcIntegrationBadge()]}get root(){return i(this)}};s.style=":host{position:relative;display:inline-block}:host abbr{text-decoration:none}::slotted(img){inline-size:100%;block-size:100%;object-fit:cover}.gux-avatar{position:relative;inline-size:var(--gse-ui-avatar-large-size);block-size:var(--gse-ui-avatar-large-size);overflow:hidden;border-radius:50%}.gux-avatar .gux-content{box-sizing:border-box;display:flex;align-items:center;justify-content:center;inline-size:calc(100% - var(--gse-ui-avatar-large-presenceRing-width) * 2);block-size:calc(100% - var(--gse-ui-avatar-large-presenceRing-width) * 2);margin:var(--gse-ui-avatar-large-presenceRing-width);overflow:hidden;font-family:var(--gse-ui-avatar-large-initials-fontFamily);font-size:var(--gse-ui-avatar-large-initials-fontSize);font-weight:var(--gse-ui-avatar-large-initials-fontWeight);line-height:var(--gse-ui-avatar-small-initials-lineHeight);color:var(--gse-ui-avatar-media-initialsForeground-inverse);text-transform:uppercase;background-color:var(--gse-ui-avatar-media-initialsBackground-default);border:var(--gse-ui-avatar-content-large-border-width) var(--gse-ui-avatar-content-default-border-style) var(--gse-ui-avatar-content-default-border-color);border-radius:50%}.gux-avatar.gux-medium{inline-size:var(--gse-ui-avatar-medium-size);block-size:var(--gse-ui-avatar-medium-size)}.gux-avatar.gux-medium .gux-content{inline-size:calc(100% - var(--gse-ui-avatar-medium-presenceRing-width) * 2);block-size:calc(100% - var(--gse-ui-avatar-medium-presenceRing-width) * 2);margin:var(--gse-ui-avatar-medium-presenceRing-width);font-size:var(--gse-ui-avatar-medium-initials-fontSize);font-weight:var(--gse-ui-avatar-medium-initials-fontWeight)}.gux-avatar.gux-medium .gux-content,.gux-avatar.gux-small .gux-content,.gux-avatar.gux-xsmall .gux-content{border-width:var(--gse-ui-avatar-content-default-border-width)}.gux-avatar.gux-small{inline-size:var(--gse-ui-avatar-small-size);block-size:var(--gse-ui-avatar-small-size)}.gux-avatar.gux-small .gux-content{inline-size:calc(100% - var(--gse-ui-avatar-small-presenceRing-width) * 2);block-size:calc(100% - var(--gse-ui-avatar-small-presenceRing-width) * 2);margin:var(--gse-ui-avatar-small-presenceRing-width);font-size:var(--gse-ui-avatar-small-initials-fontSize);font-weight:var(--gse-ui-avatar-small-initials-fontWeight)}.gux-avatar.gux-xsmall{inline-size:var(--gse-ui-avatar-xsmall-size);block-size:var(--gse-ui-avatar-xsmall-size)}.gux-avatar.gux-xsmall .gux-content{inline-size:calc(100% - var(--gse-ui-avatar-xsmall-presenceRing-width) * 2);block-size:calc(100% - var(--gse-ui-avatar-xsmall-presenceRing-width) * 2);margin:var(--gse-ui-avatar-xsmall-presenceRing-width);font-size:var(--gse-ui-avatar-xsmall-initials-fontSize);font-weight:var(--gse-ui-avatar-xsmall-initials-fontWeight)}.gux-avatar.gux-accent-1 .gux-content{color:var(--gse-ui-avatar-media-initialsForeground-inverse);background-color:var(--gse-ui-avatar-media-initialsBackground-accent1)}.gux-avatar.gux-accent-2 .gux-content{color:var(--gse-ui-avatar-media-initialsForeground-default);background-color:var(--gse-ui-avatar-media-initialsBackground-accent2)}.gux-avatar.gux-accent-3 .gux-content{color:var(--gse-ui-avatar-media-initialsForeground-inverse);background-color:var(--gse-ui-avatar-media-initialsBackground-accent3)}.gux-avatar.gux-accent-4 .gux-content{color:var(--gse-ui-avatar-media-initialsForeground-inverse);background-color:var(--gse-ui-avatar-media-initialsBackground-accent4)}.gux-avatar.gux-accent-5 .gux-content{color:var(--gse-ui-avatar-media-initialsForeground-default);background-color:var(--gse-ui-avatar-media-initialsBackground-accent5)}.gux-avatar.gux-accent-6 .gux-content{color:var(--gse-ui-avatar-media-initialsForeground-default);background-color:var(--gse-ui-avatar-media-initialsBackground-accent6)}.gux-avatar.gux-accent-7 .gux-content{color:var(--gse-ui-avatar-media-initialsForeground-inverse);background-color:var(--gse-ui-avatar-media-initialsBackground-accent7)}.gux-avatar.gux-accent-8 .gux-content{color:var(--gse-ui-avatar-media-initialsForeground-default);background-color:var(--gse-ui-avatar-media-initialsBackground-accent8)}.gux-avatar.gux-accent-9 .gux-content{color:var(--gse-ui-avatar-media-initialsForeground-default);background-color:var(--gse-ui-avatar-media-initialsBackground-accent9)}.gux-avatar.gux-accent-10 .gux-content{color:var(--gse-ui-avatar-media-initialsForeground-default);background-color:var(--gse-ui-avatar-media-initialsBackground-accent10)}.gux-avatar.gux-accent-11 .gux-content{color:var(--gse-ui-avatar-media-initialsForeground-default);background-color:var(--gse-ui-avatar-media-initialsBackground-accent11)}.gux-avatar.gux-accent-12 .gux-content{color:var(--gse-ui-avatar-media-initialsForeground-inverse);background-color:var(--gse-ui-avatar-media-initialsBackground-accent12)}.gux-avatar.gux-accent-inherit .gux-content{color:inherit;background-color:inherit}.gux-avatar.gux-ring.gux-available{background:var(--gse-ui-avatar-presenceRing-available)}.gux-avatar.gux-ring.gux-away,.gux-avatar.gux-ring.gux-break,.gux-avatar.gux-ring.gux-meal,.gux-avatar.gux-ring.gux-training{background:var(--gse-ui-avatar-presenceRing-away)}.gux-avatar.gux-ring.gux-busy,.gux-avatar.gux-ring.gux-meeting{background:var(--gse-ui-avatar-presenceRing-busy)}.gux-avatar.gux-ring.gux-offline{background:var(--gse-ui-avatar-presenceRing-offline)}.gux-avatar.gux-ring.gux-out-of-office{background:var(--gse-ui-avatar-presenceRing-outOfOffice)}.gux-avatar.gux-ring.gux-on-queue{background:var(--gse-ui-avatar-presenceRing-onQueue)}.gux-avatar-integration-badge{position:absolute;inset-block-end:0;inset-inline-end:0;z-index:var(--gse-semantic-zIndex-showFocus);display:flex;align-items:center;justify-content:center}.gux-avatar-badge{position:absolute;inset-block-start:calc(var(--gse-ui-avatar-content-large-border-width) * -1);inset-inline-end:calc(var(--gse-ui-avatar-content-large-border-width) * -1);z-index:var(--gse-semantic-zIndex-showFocus);display:flex;align-items:center;justify-content:center;inline-size:var(--gse-ui-avatar-large-badge-size);block-size:var(--gse-ui-avatar-large-badge-size);border-color:var(--gse-ui-avatar-content-default-border-color);border-style:var(--gse-ui-avatar-content-default-border-style);border-width:var(--gse-ui-avatar-content-large-border-width);border-radius:50%}.gux-avatar-badge.gux-medium{inset-block-start:calc(var(--gse-ui-avatar-content-default-border-width) * -1);inset-inline-end:calc(var(--gse-ui-avatar-content-default-border-width) * -1);inline-size:var(--gse-ui-avatar-medium-badge-size);block-size:var(--gse-ui-avatar-medium-badge-size);border-width:var(--gse-ui-avatar-content-default-border-width)}.gux-avatar-badge.gux-small,.gux-avatar-badge.gux-xsmall{inset-block-start:calc(var(--gse-ui-avatar-content-default-border-width) * -1);inset-inline-end:calc(var(--gse-ui-avatar-content-default-border-width) * -1);inline-size:var(--gse-ui-avatar-small-badge-size);block-size:var(--gse-ui-avatar-small-badge-size);border-width:var(--gse-ui-avatar-content-default-border-width)}.gux-avatar-badge.gux-small gux-icon,.gux-avatar-badge.gux-xsmall gux-icon{display:none}.gux-avatar-badge.gux-available{background-color:var(--gse-semantic-background-container-elevated-default)}.gux-avatar-badge.gux-available.gux-small,.gux-avatar-badge.gux-available.gux-xsmall{background-color:var(--gse-ui-avatar-badge-available-color)}.gux-avatar-badge.gux-available gux-icon{color:var(--gse-ui-avatar-badge-available-color)}.gux-avatar-badge.gux-away,.gux-avatar-badge.gux-break,.gux-avatar-badge.gux-meal,.gux-avatar-badge.gux-training{background-color:var(--gse-ui-avatar-badge-away-color)}.gux-avatar-badge.gux-away gux-icon,.gux-avatar-badge.gux-break gux-icon,.gux-avatar-badge.gux-meal gux-icon,.gux-avatar-badge.gux-training gux-icon{margin:var(--gse-ui-avatar-badge-away-icon-margin);color:var(--gse-ui-avatar-badge-foregroundDark-color)}.gux-avatar-badge.gux-busy,.gux-avatar-badge.gux-meeting{background-color:var(--gse-ui-avatar-badge-busy-color)}.gux-avatar-badge.gux-busy gux-icon,.gux-avatar-badge.gux-meeting gux-icon{margin:var(--gse-ui-avatar-badge-busy-icon-margin);color:var(--gse-ui-avatar-badge-foregroundDefault-color)}.gux-avatar-badge.gux-notifications{background-color:var(--gse-ui-avatar-badge-notification-color)}.gux-avatar-badge.gux-notifications gux-icon{margin:var(--gse-ui-avatar-badge-notifications-icon-margin);color:var(--gse-ui-avatar-badge-foregroundDefault-color)}.gux-avatar-badge.gux-offline{background-color:var(--gse-semantic-background-container-elevated-default)}.gux-avatar-badge.gux-offline.gux-small,.gux-avatar-badge.gux-offline.gux-xsmall{background-color:var(--gse-ui-avatar-badge-offline-color)}.gux-avatar-badge.gux-offline gux-icon{color:var(--gse-ui-avatar-badge-offline-color)}.gux-avatar-badge.gux-out-of-office{background-color:var(--gse-semantic-background-container-elevated-default)}.gux-avatar-badge.gux-out-of-office.gux-small,.gux-avatar-badge.gux-out-of-office.gux-xsmall{background-color:var(--gse-ui-avatar-badge-outOfOffice)}.gux-avatar-badge.gux-out-of-office gux-icon{color:var(--gse-ui-avatar-badge-outOfOffice)}.gux-avatar-badge.gux-on-queue{background-color:var(--gse-ui-avatar-badge-onQueue-color)}.gux-avatar-badge.gux-on-queue gux-icon{margin:var(--gse-ui-avatar-badge-queue-icon-margin);color:var(--gse-ui-avatar-badge-foregroundDefault-color)}.gux-avatar-badge gux-icon{inline-size:100%;block-size:100%}";export{s as gux_avatar_beta}
@@ -1 +1 @@
1
- import{r,h as e,g as a}from"./p-cf74fd3d.js";import{b as o}from"./p-e5e644b3.js";import{t as i}from"./p-e79482cf.js";import"./p-4202e9f2.js";const t={info:"Information alert with message",success:"Success alert with message",warning:"Warning alert with message",error:"Error alert with message"},l=class{constructor(e){r(this,e),this.accent="info"}getIcon(r){switch(r){case"info":default:return"fa/circle-info-solid";case"success":return"fa/circle-check-solid";case"warning":return"fa/triangle-exclamation-solid";case"error":return"fa/hexagon-exclamation-solid"}}async componentWillLoad(){i(this.root,{variant:this.accent}),this.i18n=await o(this.root,t)}render(){return e("div",{key:"e38a052abde5bdb85f668e7a56d3735704755f03",class:{"gux-inline-alert":!0,[`gux-${this.accent}`]:!0}},e("div",{key:"3685211e79104b9158b6d373998c77f2476f5a95",class:"gux-message-wrapper"},e("gux-icon",{key:"3b332a38888504f9dfa1c05de9886c094ef9e183","icon-name":this.getIcon(this.accent),decorative:!0,size:"small"}),e("gux-screen-reader-beta",{key:"c7718994a9bd5b94e6d2bddadfe7bb3a6996733f"},this.i18n(this.accent)),e("div",{key:"d0a29d8e5a44d2d18b480b75fcfa426a99067b55",class:"gux-content"},e("slot",{key:"162d617ab2c483968f6118ffb9ad043333695bbf",name:"content"},e("slot",{key:"e0b6e888bdc70bf18e6271c18993c30f532be7e9"})))))}get root(){return a(this)}};l.style=":host{display:flex;inline-size:fit-content}.gux-inline-alert{display:inline-flex;flex:1 1 auto;flex-direction:row;flex-wrap:nowrap;align-items:center;justify-content:flex-start;padding:var(--gse-ui-alert-padding);border:1px solid;border-radius:var(--gse-ui-alert-borderRadius)}.gux-inline-alert gux-icon{flex-shrink:0;align-self:flex-start;margin-block-start:1px}.gux-inline-alert gux-tooltip-title{white-space:nowrap}.gux-inline-alert .gux-message-wrapper{display:flex;gap:var(--gse-ui-alert-gap);font-family:var(--gse-ui-alert-text-fontFamily);font-size:var(--gse-ui-alert-text-fontSize);font-weight:var(--gse-ui-alert-text-fontWeight);line-height:var(--gse-ui-alert-text-lineHeight)}.gux-inline-alert .gux-content{flex:1 1 auto}.gux-inline-alert.gux-info{color:var(--gse-ui-alert-info-foregroundColor);background-color:var(--gse-ui-alert-info-backgroundColor);border:var(--gse-ui-alert-info-border-width) var(--gse-ui-alert-info-border-style) var(--gse-ui-alert-info-border-color)}.gux-inline-alert.gux-info gux-icon{color:var(--gse-ui-alert-info-iconColor)}.gux-inline-alert.gux-error{color:var(--gse-ui-alert-error-foregroundColor);background-color:var(--gse-ui-alert-error-backgroundColor);border:var(--gse-ui-alert-error-border-width) var(--gse-ui-alert-error-border-style) var(--gse-ui-alert-error-border-color)}.gux-inline-alert.gux-error gux-icon{color:var(--gse-ui-alert-error-iconColor)}.gux-inline-alert.gux-warning{color:var(--gse-ui-alert-warning-foregroundColor);background-color:var(--gse-ui-alert-warning-backgroundColor);border:var(--gse-ui-alert-warning-border-width) var(--gse-ui-alert-warning-border-style) var(--gse-ui-alert-warning-border-color)}.gux-inline-alert.gux-warning gux-icon{color:var(--gse-ui-alert-warning-iconColor)}.gux-inline-alert.gux-success{color:var(--gse-ui-alert-success-foregroundColor);background-color:var(--gse-ui-alert-success-backgroundColor);border:var(--gse-ui-alert-success-border-width) var(--gse-ui-alert-success-border-style) var(--gse-ui-alert-success-border-color)}.gux-inline-alert.gux-success gux-icon{color:var(--gse-ui-alert-success-iconColor)}";export{l as gux_inline_alert}
1
+ import{r,h as e,g as a}from"./p-cf74fd3d.js";import{b as o}from"./p-e5e644b3.js";import{t as i}from"./p-c35a9bb6.js";import"./p-4202e9f2.js";const t={info:"Information alert with message",success:"Success alert with message",warning:"Warning alert with message",error:"Error alert with message"},l=class{constructor(e){r(this,e),this.accent="info"}getIcon(r){switch(r){case"info":default:return"fa/circle-info-solid";case"success":return"fa/circle-check-solid";case"warning":return"fa/triangle-exclamation-solid";case"error":return"fa/hexagon-exclamation-solid"}}async componentWillLoad(){i(this.root,{variant:this.accent}),this.i18n=await o(this.root,t)}render(){return e("div",{key:"e38a052abde5bdb85f668e7a56d3735704755f03",class:{"gux-inline-alert":!0,[`gux-${this.accent}`]:!0}},e("div",{key:"3685211e79104b9158b6d373998c77f2476f5a95",class:"gux-message-wrapper"},e("gux-icon",{key:"3b332a38888504f9dfa1c05de9886c094ef9e183","icon-name":this.getIcon(this.accent),decorative:!0,size:"small"}),e("gux-screen-reader-beta",{key:"c7718994a9bd5b94e6d2bddadfe7bb3a6996733f"},this.i18n(this.accent)),e("div",{key:"d0a29d8e5a44d2d18b480b75fcfa426a99067b55",class:"gux-content"},e("slot",{key:"162d617ab2c483968f6118ffb9ad043333695bbf",name:"content"},e("slot",{key:"e0b6e888bdc70bf18e6271c18993c30f532be7e9"})))))}get root(){return a(this)}};l.style=":host{display:flex;inline-size:fit-content}.gux-inline-alert{display:inline-flex;flex:1 1 auto;flex-direction:row;flex-wrap:nowrap;align-items:center;justify-content:flex-start;padding:var(--gse-ui-alert-padding);border:1px solid;border-radius:var(--gse-ui-alert-borderRadius)}.gux-inline-alert gux-icon{flex-shrink:0;align-self:flex-start;margin-block-start:1px}.gux-inline-alert gux-tooltip-title{white-space:nowrap}.gux-inline-alert .gux-message-wrapper{display:flex;gap:var(--gse-ui-alert-gap);font-family:var(--gse-ui-alert-text-fontFamily);font-size:var(--gse-ui-alert-text-fontSize);font-weight:var(--gse-ui-alert-text-fontWeight);line-height:var(--gse-ui-alert-text-lineHeight)}.gux-inline-alert .gux-content{flex:1 1 auto}.gux-inline-alert.gux-info{color:var(--gse-ui-alert-info-foregroundColor);background-color:var(--gse-ui-alert-info-backgroundColor);border:var(--gse-ui-alert-info-border-width) var(--gse-ui-alert-info-border-style) var(--gse-ui-alert-info-border-color)}.gux-inline-alert.gux-info gux-icon{color:var(--gse-ui-alert-info-iconColor)}.gux-inline-alert.gux-error{color:var(--gse-ui-alert-error-foregroundColor);background-color:var(--gse-ui-alert-error-backgroundColor);border:var(--gse-ui-alert-error-border-width) var(--gse-ui-alert-error-border-style) var(--gse-ui-alert-error-border-color)}.gux-inline-alert.gux-error gux-icon{color:var(--gse-ui-alert-error-iconColor)}.gux-inline-alert.gux-warning{color:var(--gse-ui-alert-warning-foregroundColor);background-color:var(--gse-ui-alert-warning-backgroundColor);border:var(--gse-ui-alert-warning-border-width) var(--gse-ui-alert-warning-border-style) var(--gse-ui-alert-warning-border-color)}.gux-inline-alert.gux-warning gux-icon{color:var(--gse-ui-alert-warning-iconColor)}.gux-inline-alert.gux-success{color:var(--gse-ui-alert-success-foregroundColor);background-color:var(--gse-ui-alert-success-backgroundColor);border:var(--gse-ui-alert-success-border-width) var(--gse-ui-alert-success-border-style) var(--gse-ui-alert-success-border-color)}.gux-inline-alert.gux-success gux-icon{color:var(--gse-ui-alert-success-iconColor)}";export{l as gux_inline_alert}
@@ -1 +1 @@
1
- import{r as t,h as a,g as s}from"./p-cf74fd3d.js";import{t as e}from"./p-e79482cf.js";import{h as i}from"./p-6d8b4027.js";const o=class{constructor(a){t(this,a),this.accent="info"}async componentWillLoad(){e(this.root,{variant:this.accent})}componentDidLoad(){this.applyTableStyle()}applyTableStyle(){var t;"td"===(null===(t=this.root.parentElement)||void 0===t?void 0:t.tagName.toLowerCase())&&this.statusIndicatorContainerElement.classList.add("gux-has-table-parent")}renderTooltip(){if(i(this.root,"tooltip-text"))return a("gux-tooltip",null,a("slot",{name:"tooltip-text"}))}render(){return a("div",{key:"ad1f1e6a860c831567d34ad5bba3dd95a5a9334c",class:"gux-status-indicator",ref:t=>this.statusIndicatorContainerElement=t},a("span",{key:"ade6bc682959ad174431d6572966261f7c104350",class:`gux-status-icon gux-status-icon-${this.accent}`}),a("div",{key:"c057ddfe0f5515d3b691f738e88263454fb17847",class:"gux-status-indicator-text"},a("slot",{key:"e62a87ec29e45b8800d41054ca1ab1b561a313d3"})),this.renderTooltip())}get root(){return s(this)}};o.style=".gux-status-indicator{display:inline-flex;gap:var(--gse-ui-dataTableItems-statusIndicator-gap);align-items:center;padding:var(--gse-ui-dataTableItems-statusIndicator-gap);font-size:var(--gse-ui-dataTableItems-statusIndicator-label-fontSize);line-height:var(--gse-ui-dataTableItems-statusIndicator-label-lineHeight);border-radius:var(--gse-ui-dataTableItems-statusIndicator-borderRadius)}.gux-status-indicator:hover{cursor:default;background-color:var(--gse-ui-dataTableItems-statusIndicator-hover)}.gux-has-table-parent{position:relative;inset-inline-start:-8px}.gux-status-indicator-text{color:var(--gse-ui-dataTableItems-statusIndicator-text)}.gux-status-icon{display:inline-flex}.gux-status-icon::before{content:\"\"}.gux-status-icon-info::before{-webkit-mask-image:url(\"data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12' %3E%3Cpath d='M6 0C7.59 0 9.12 0.629997 10.245 1.755C11.37 2.88 12 4.41 12 6C12 7.59 11.37 9.12 10.245 10.245C9.12 11.37 7.59 12 6 12C4.41 12 2.88 11.37 1.755 10.245C0.629997 9.12 0 7.59 0 6C0 4.41 0.629997 2.88 1.755 1.755C2.88 0.629997 4.41 0 6 0Z' /%3E%3C/svg%3E\");mask-image:url(\"data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12' %3E%3Cpath d='M6 0C7.59 0 9.12 0.629997 10.245 1.755C11.37 2.88 12 4.41 12 6C12 7.59 11.37 9.12 10.245 10.245C9.12 11.37 7.59 12 6 12C4.41 12 2.88 11.37 1.755 10.245C0.629997 9.12 0 7.59 0 6C0 4.41 0.629997 2.88 1.755 1.755C2.88 0.629997 4.41 0 6 0Z' /%3E%3C/svg%3E\");inline-size:var(--gse-ui-dataTableItems-statusIndicator-label-fontSize);block-size:var(--gse-ui-dataTableItems-statusIndicator-label-fontSize);background:var(--gse-ui-statusGlyph-information)}.gux-status-icon-warning::before{inline-size:var(--gse-ui-dataTableItems-statusIndicator-label-fontSize);block-size:var(--gse-ui-dataTableItems-statusIndicator-label-fontSize);-webkit-mask-image:url(\"data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12' %3E%3Cpath d='M6.16516 0.749268C6.49521 0.749268 6.80275 0.921791 6.97527 1.21434L12.0386 9.8407C12.2111 10.1332 12.2111 10.4933 12.0386 10.7783C11.8735 11.0709 11.5585 11.2509 11.2285 11.2509H1.10186C0.764303 11.2509 0.456764 11.0709 0.291738 10.7783C0.126712 10.4858 0.126712 10.1257 0.291738 9.8407L5.35504 1.21434C5.52757 0.929292 5.8276 0.749268 6.16516 0.749268Z' /%3E%3C/svg%3E\");mask-image:url(\"data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12' %3E%3Cpath d='M6.16516 0.749268C6.49521 0.749268 6.80275 0.921791 6.97527 1.21434L12.0386 9.8407C12.2111 10.1332 12.2111 10.4933 12.0386 10.7783C11.8735 11.0709 11.5585 11.2509 11.2285 11.2509H1.10186C0.764303 11.2509 0.456764 11.0709 0.291738 10.7783C0.126712 10.4858 0.126712 10.1257 0.291738 9.8407L5.35504 1.21434C5.52757 0.929292 5.8276 0.749268 6.16516 0.749268Z' /%3E%3C/svg%3E\");background:var(--gse-ui-statusGlyph-neutral)}.gux-status-icon-error::before{inline-size:var(--gse-ui-dataTableItems-statusIndicator-label-fontSize);block-size:var(--gse-ui-dataTableItems-statusIndicator-label-fontSize);-webkit-mask-image:url(\"data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12' %3E%3Cpath d='M0.236102 6.88C-0.0787008 6.33785 -0.0787008 5.66215 0.236102 5.12L2.36477 1.38C2.67957 0.837853 3.24922 0.5 3.87133 0.5H8.12867C8.75078 0.5 9.32043 0.837853 9.63523 1.38L11.7639 5.12C12.0787 5.66215 12.0787 6.33785 11.7639 6.88L9.63523 10.62C9.32043 11.1621 8.75078 11.5 8.12867 11.5H3.87133C3.24922 11.5 2.67957 11.1621 2.36477 10.62L0.236102 6.88Z' /%3E%3C/svg%3E\");mask-image:url(\"data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12' %3E%3Cpath d='M0.236102 6.88C-0.0787008 6.33785 -0.0787008 5.66215 0.236102 5.12L2.36477 1.38C2.67957 0.837853 3.24922 0.5 3.87133 0.5H8.12867C8.75078 0.5 9.32043 0.837853 9.63523 1.38L11.7639 5.12C12.0787 5.66215 12.0787 6.33785 11.7639 6.88L9.63523 10.62C9.32043 11.1621 8.75078 11.5 8.12867 11.5H3.87133C3.24922 11.5 2.67957 11.1621 2.36477 10.62L0.236102 6.88Z' /%3E%3C/svg%3E\");background:var(--gse-ui-statusGlyph-negative)}.gux-status-icon-success::before{inline-size:var(--gse-ui-dataTableItems-statusIndicator-label-fontSize);block-size:var(--gse-ui-dataTableItems-statusIndicator-label-fontSize);-webkit-mask-image:url(\"data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12' %3E%3Cpath d='M6 0C7.59 0 9.12 0.629997 10.245 1.755C11.37 2.88 12 4.41 12 6C12 7.59 11.37 9.12 10.245 10.245C9.12 11.37 7.59 12 6 12C4.41 12 2.88 11.37 1.755 10.245C0.629997 9.12 0 7.59 0 6C0 4.41 0.629997 2.88 1.755 1.755C2.88 0.629997 4.41 0 6 0Z' /%3E%3C/svg%3E\");mask-image:url(\"data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12' %3E%3Cpath d='M6 0C7.59 0 9.12 0.629997 10.245 1.755C11.37 2.88 12 4.41 12 6C12 7.59 11.37 9.12 10.245 10.245C9.12 11.37 7.59 12 6 12C4.41 12 2.88 11.37 1.755 10.245C0.629997 9.12 0 7.59 0 6C0 4.41 0.629997 2.88 1.755 1.755C2.88 0.629997 4.41 0 6 0Z' /%3E%3C/svg%3E\");background:var(--gse-ui-statusGlyph-positive)}";export{o as gux_status_indicator_beta}
1
+ import{r as t,h as a,g as s}from"./p-cf74fd3d.js";import{t as e}from"./p-c35a9bb6.js";import{h as i}from"./p-6d8b4027.js";const o=class{constructor(a){t(this,a),this.accent="info"}async componentWillLoad(){e(this.root,{variant:this.accent})}componentDidLoad(){this.applyTableStyle()}applyTableStyle(){var t;"td"===(null===(t=this.root.parentElement)||void 0===t?void 0:t.tagName.toLowerCase())&&this.statusIndicatorContainerElement.classList.add("gux-has-table-parent")}renderTooltip(){if(i(this.root,"tooltip-text"))return a("gux-tooltip",null,a("slot",{name:"tooltip-text"}))}render(){return a("div",{key:"ad1f1e6a860c831567d34ad5bba3dd95a5a9334c",class:"gux-status-indicator",ref:t=>this.statusIndicatorContainerElement=t},a("span",{key:"ade6bc682959ad174431d6572966261f7c104350",class:`gux-status-icon gux-status-icon-${this.accent}`}),a("div",{key:"c057ddfe0f5515d3b691f738e88263454fb17847",class:"gux-status-indicator-text"},a("slot",{key:"e62a87ec29e45b8800d41054ca1ab1b561a313d3"})),this.renderTooltip())}get root(){return s(this)}};o.style=".gux-status-indicator{display:inline-flex;gap:var(--gse-ui-dataTableItems-statusIndicator-gap);align-items:center;padding:var(--gse-ui-dataTableItems-statusIndicator-gap);font-size:var(--gse-ui-dataTableItems-statusIndicator-label-fontSize);line-height:var(--gse-ui-dataTableItems-statusIndicator-label-lineHeight);border-radius:var(--gse-ui-dataTableItems-statusIndicator-borderRadius)}.gux-status-indicator:hover{cursor:default;background-color:var(--gse-ui-dataTableItems-statusIndicator-hover)}.gux-has-table-parent{position:relative;inset-inline-start:-8px}.gux-status-indicator-text{color:var(--gse-ui-dataTableItems-statusIndicator-text)}.gux-status-icon{display:inline-flex}.gux-status-icon::before{content:\"\"}.gux-status-icon-info::before{-webkit-mask-image:url(\"data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12' %3E%3Cpath d='M6 0C7.59 0 9.12 0.629997 10.245 1.755C11.37 2.88 12 4.41 12 6C12 7.59 11.37 9.12 10.245 10.245C9.12 11.37 7.59 12 6 12C4.41 12 2.88 11.37 1.755 10.245C0.629997 9.12 0 7.59 0 6C0 4.41 0.629997 2.88 1.755 1.755C2.88 0.629997 4.41 0 6 0Z' /%3E%3C/svg%3E\");mask-image:url(\"data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12' %3E%3Cpath d='M6 0C7.59 0 9.12 0.629997 10.245 1.755C11.37 2.88 12 4.41 12 6C12 7.59 11.37 9.12 10.245 10.245C9.12 11.37 7.59 12 6 12C4.41 12 2.88 11.37 1.755 10.245C0.629997 9.12 0 7.59 0 6C0 4.41 0.629997 2.88 1.755 1.755C2.88 0.629997 4.41 0 6 0Z' /%3E%3C/svg%3E\");inline-size:var(--gse-ui-dataTableItems-statusIndicator-label-fontSize);block-size:var(--gse-ui-dataTableItems-statusIndicator-label-fontSize);background:var(--gse-ui-statusGlyph-information)}.gux-status-icon-warning::before{inline-size:var(--gse-ui-dataTableItems-statusIndicator-label-fontSize);block-size:var(--gse-ui-dataTableItems-statusIndicator-label-fontSize);-webkit-mask-image:url(\"data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12' %3E%3Cpath d='M6.16516 0.749268C6.49521 0.749268 6.80275 0.921791 6.97527 1.21434L12.0386 9.8407C12.2111 10.1332 12.2111 10.4933 12.0386 10.7783C11.8735 11.0709 11.5585 11.2509 11.2285 11.2509H1.10186C0.764303 11.2509 0.456764 11.0709 0.291738 10.7783C0.126712 10.4858 0.126712 10.1257 0.291738 9.8407L5.35504 1.21434C5.52757 0.929292 5.8276 0.749268 6.16516 0.749268Z' /%3E%3C/svg%3E\");mask-image:url(\"data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12' %3E%3Cpath d='M6.16516 0.749268C6.49521 0.749268 6.80275 0.921791 6.97527 1.21434L12.0386 9.8407C12.2111 10.1332 12.2111 10.4933 12.0386 10.7783C11.8735 11.0709 11.5585 11.2509 11.2285 11.2509H1.10186C0.764303 11.2509 0.456764 11.0709 0.291738 10.7783C0.126712 10.4858 0.126712 10.1257 0.291738 9.8407L5.35504 1.21434C5.52757 0.929292 5.8276 0.749268 6.16516 0.749268Z' /%3E%3C/svg%3E\");background:var(--gse-ui-statusGlyph-neutral)}.gux-status-icon-error::before{inline-size:var(--gse-ui-dataTableItems-statusIndicator-label-fontSize);block-size:var(--gse-ui-dataTableItems-statusIndicator-label-fontSize);-webkit-mask-image:url(\"data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12' %3E%3Cpath d='M0.236102 6.88C-0.0787008 6.33785 -0.0787008 5.66215 0.236102 5.12L2.36477 1.38C2.67957 0.837853 3.24922 0.5 3.87133 0.5H8.12867C8.75078 0.5 9.32043 0.837853 9.63523 1.38L11.7639 5.12C12.0787 5.66215 12.0787 6.33785 11.7639 6.88L9.63523 10.62C9.32043 11.1621 8.75078 11.5 8.12867 11.5H3.87133C3.24922 11.5 2.67957 11.1621 2.36477 10.62L0.236102 6.88Z' /%3E%3C/svg%3E\");mask-image:url(\"data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12' %3E%3Cpath d='M0.236102 6.88C-0.0787008 6.33785 -0.0787008 5.66215 0.236102 5.12L2.36477 1.38C2.67957 0.837853 3.24922 0.5 3.87133 0.5H8.12867C8.75078 0.5 9.32043 0.837853 9.63523 1.38L11.7639 5.12C12.0787 5.66215 12.0787 6.33785 11.7639 6.88L9.63523 10.62C9.32043 11.1621 8.75078 11.5 8.12867 11.5H3.87133C3.24922 11.5 2.67957 11.1621 2.36477 10.62L0.236102 6.88Z' /%3E%3C/svg%3E\");background:var(--gse-ui-statusGlyph-negative)}.gux-status-icon-success::before{inline-size:var(--gse-ui-dataTableItems-statusIndicator-label-fontSize);block-size:var(--gse-ui-dataTableItems-statusIndicator-label-fontSize);-webkit-mask-image:url(\"data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12' %3E%3Cpath d='M6 0C7.59 0 9.12 0.629997 10.245 1.755C11.37 2.88 12 4.41 12 6C12 7.59 11.37 9.12 10.245 10.245C9.12 11.37 7.59 12 6 12C4.41 12 2.88 11.37 1.755 10.245C0.629997 9.12 0 7.59 0 6C0 4.41 0.629997 2.88 1.755 1.755C2.88 0.629997 4.41 0 6 0Z' /%3E%3C/svg%3E\");mask-image:url(\"data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12' %3E%3Cpath d='M6 0C7.59 0 9.12 0.629997 10.245 1.755C11.37 2.88 12 4.41 12 6C12 7.59 11.37 9.12 10.245 10.245C9.12 11.37 7.59 12 6 12C4.41 12 2.88 11.37 1.755 10.245C0.629997 9.12 0 7.59 0 6C0 4.41 0.629997 2.88 1.755 1.755C2.88 0.629997 4.41 0 6 0Z' /%3E%3C/svg%3E\");background:var(--gse-ui-statusGlyph-positive)}";export{o as gux_status_indicator_beta}
@@ -1 +1 @@
1
- import{r as o,c as a,h as e,g as i}from"./p-cf74fd3d.js";import{r as t}from"./p-0934300e.js";import{t as n}from"./p-e79482cf.js";import{h as s}from"./p-6d8b4027.js";const d=class{constructor(e){o(this,e),this.guxdismiss=a(this,"guxdismiss",7),this.size="dynamic",this.open=!1}syncOpenState(){this.open?this.dialogElement.showModal():this.dialogElement.close()}async showModal(){this.open=!0}async close(){this.open=!1}onKeydown(o){if("Escape"===o.key)return o.preventDefault(),void this.onDismissHandler()}componentWillLoad(){n(this.root,{variant:`${this.size}`})}componentDidLoad(){this.syncOpenState()}hasModalTitleSlot(){return Boolean(this.root.querySelector('[slot="title"]'))}hasFooterButtons(){var o,a;const e=this.root.querySelector('[slot="start-align-buttons"]'),i=this.root.querySelector('[slot="end-align-buttons"]');return Boolean(null===(o=null==e?void 0:e.textContent)||void 0===o?void 0:o.trim())||Boolean(null===(a=null==i?void 0:i.textContent)||void 0===a?void 0:a.trim())}renderFooter(){return s(this.root,"footer")?e("footer",null,e("slot",{name:"footer"})):this.renderButtonFooter()}render(){const o=this.hasModalTitleSlot(),a=t();return e("dialog",{key:"4b61b7e4e7c9d059732c1933f9784dda0e90cdbe",onClose:this.onCloseHandler.bind(this),ref:o=>this.dialogElement=o,"aria-labelledby":o?a:null},e("div",{key:"66a7ac7efa0210ead6e402bf7420380439e03373",class:`gux-modal-container gux-${this.size}`},e("gux-dismiss-button",{key:"46161b5e3471dbe6f9575e4077ab4c6a20d68bfc",onClick:this.onDismissHandler.bind(this)}),o&&this.renderTitle(a),e("div",{key:"a3598b51fe5ed50f1754e0d1d9b745dac6d8210e",class:"gux-modal-content"},e("p",{key:"4ea4feae5814a7cd369f2588b0604766cb0c0c9e"},e("slot",{key:"d68607a3d8b03f2ad152b5f978f923b0a2f20ee7",name:"content"}))),this.renderFooter()))}renderTitle(o){return e("h1",{class:"gux-modal-header",id:o},e("slot",{name:"title"}))}renderButtonFooter(){const o=this.hasFooterButtons();return e("div",{class:{"gux-button-footer":!0,"gux-no-buttons":!o}},e("div",{class:"gux-start-align-buttons"},e("slot",{name:"start-align-buttons"})),e("div",{class:"gux-end-align-buttons"},e("slot",{name:"end-align-buttons"})))}onCloseHandler(){this.guxdismiss.emit()}onDismissHandler(){this.open=!1}static get delegatesFocus(){return!0}get root(){return i(this)}static get watchers(){return{open:["syncOpenState"]}}};d.style="::slotted(button:active:enabled){color:var(--gse-ui-links-active-foregroundColor);text-decoration:underline;background:none}slot[name=start-align-buttons]::slotted(:not(button,gux-button-slot)){display:flex;flex-direction:row;gap:var(--gse-ui-modal-buttonBar-gap);align-content:flex-start;align-items:center}:host dialog{box-sizing:border-box;justify-content:space-between;padding:0;overflow:hidden;background-color:var(--gse-ui-modal-backgroundColor);border:none;border-radius:var(--gse-ui-modal-borderRadius);box-shadow:var(--gse-ui-modal-boxShadow)}:host dialog::backdrop{background:var(--gse-ui-modal-shroudColor)}:host dialog .gux-modal-container{display:flex;flex-direction:column}:host dialog .gux-modal-container.gux-small{inline-size:var(--gse-ui-modal-small-width);max-block-size:min(368px, 100vh - 2 * 24px)}:host dialog .gux-modal-container.gux-medium{inline-size:min(var(--gse-ui-modal-medium-width), 100vw - 48px);max-block-size:min(640px, 100vh - 2 * 24px)}:host dialog .gux-modal-container.gux-large{inline-size:min(var(--gse-ui-modal-large-width), 100vw - 48px);max-block-size:min(640px, 100vh - 2 * 24px)}:host dialog .gux-modal-container.gux-dynamic{max-inline-size:calc(100vw - 48px);max-block-size:calc(100vh - 48px)}:host dialog .gux-modal-container.gux-dynamic .gux-modal-content{max-block-size:none}:host dialog .gux-modal-container .gux-modal-header{padding-block-start:var(--gse-ui-modal-padding);padding-inline:var(--gse-ui-modal-padding);margin:0;font-family:var(--gse-ui-modal-heading-fontFamily);font-size:var(--gse-ui-modal-heading-fontSize);font-weight:var(--gse-ui-modal-heading-fontWeight);line-height:var(--gse-ui-modal-heading-lineHeight);color:var(--gse-ui-modal-headerColor)}:host dialog .gux-modal-container .gux-modal-content{max-block-size:432px;padding-inline:var(--gse-ui-modal-padding);margin-block-start:var(--gse-ui-modal-gap);overflow-y:auto;color:var(--gse-semantic-foreground-container-highEmphasis)}:host dialog .gux-modal-container .gux-button-footer{display:flex;justify-content:space-between;padding-block-end:var(--gse-ui-modal-padding);padding-inline:var(--gse-ui-modal-padding);margin-block-start:var(--gse-ui-modal-gap)}:host dialog .gux-modal-container .gux-button-footer.gux-no-buttons{display:none}:host dialog .gux-modal-container footer{padding-block-end:var(--gse-ui-modal-padding);padding-inline:var(--gse-ui-modal-padding);margin-block-start:var(--gse-ui-modal-gap)}@media (max-width: 416px){:host dialog .gux-modal-container.gux-small,:host dialog .gux-modal-container.gux-medium,:host dialog .gux-modal-container.gux-large{inline-size:100%;block-size:100%}}";export{d as gux_modal}
1
+ import{r as o,c as a,h as e,g as i}from"./p-cf74fd3d.js";import{r as t}from"./p-0934300e.js";import{t as n}from"./p-c35a9bb6.js";import{h as s}from"./p-6d8b4027.js";const d=class{constructor(e){o(this,e),this.guxdismiss=a(this,"guxdismiss",7),this.size="dynamic",this.open=!1}syncOpenState(){this.open?this.dialogElement.showModal():this.dialogElement.close()}async showModal(){this.open=!0}async close(){this.open=!1}onKeydown(o){if("Escape"===o.key)return o.preventDefault(),void this.onDismissHandler()}componentWillLoad(){n(this.root,{variant:`${this.size}`})}componentDidLoad(){this.syncOpenState()}hasModalTitleSlot(){return Boolean(this.root.querySelector('[slot="title"]'))}hasFooterButtons(){var o,a;const e=this.root.querySelector('[slot="start-align-buttons"]'),i=this.root.querySelector('[slot="end-align-buttons"]');return Boolean(null===(o=null==e?void 0:e.textContent)||void 0===o?void 0:o.trim())||Boolean(null===(a=null==i?void 0:i.textContent)||void 0===a?void 0:a.trim())}renderFooter(){return s(this.root,"footer")?e("footer",null,e("slot",{name:"footer"})):this.renderButtonFooter()}render(){const o=this.hasModalTitleSlot(),a=t();return e("dialog",{key:"4b61b7e4e7c9d059732c1933f9784dda0e90cdbe",onClose:this.onCloseHandler.bind(this),ref:o=>this.dialogElement=o,"aria-labelledby":o?a:null},e("div",{key:"66a7ac7efa0210ead6e402bf7420380439e03373",class:`gux-modal-container gux-${this.size}`},e("gux-dismiss-button",{key:"46161b5e3471dbe6f9575e4077ab4c6a20d68bfc",onClick:this.onDismissHandler.bind(this)}),o&&this.renderTitle(a),e("div",{key:"a3598b51fe5ed50f1754e0d1d9b745dac6d8210e",class:"gux-modal-content"},e("p",{key:"4ea4feae5814a7cd369f2588b0604766cb0c0c9e"},e("slot",{key:"d68607a3d8b03f2ad152b5f978f923b0a2f20ee7",name:"content"}))),this.renderFooter()))}renderTitle(o){return e("h1",{class:"gux-modal-header",id:o},e("slot",{name:"title"}))}renderButtonFooter(){const o=this.hasFooterButtons();return e("div",{class:{"gux-button-footer":!0,"gux-no-buttons":!o}},e("div",{class:"gux-start-align-buttons"},e("slot",{name:"start-align-buttons"})),e("div",{class:"gux-end-align-buttons"},e("slot",{name:"end-align-buttons"})))}onCloseHandler(){this.guxdismiss.emit()}onDismissHandler(){this.open=!1}static get delegatesFocus(){return!0}get root(){return i(this)}static get watchers(){return{open:["syncOpenState"]}}};d.style="::slotted(button:active:enabled){color:var(--gse-ui-links-active-foregroundColor);text-decoration:underline;background:none}slot[name=start-align-buttons]::slotted(:not(button,gux-button-slot)){display:flex;flex-direction:row;gap:var(--gse-ui-modal-buttonBar-gap);align-content:flex-start;align-items:center}:host dialog{box-sizing:border-box;justify-content:space-between;padding:0;overflow:hidden;background-color:var(--gse-ui-modal-backgroundColor);border:none;border-radius:var(--gse-ui-modal-borderRadius);box-shadow:var(--gse-ui-modal-boxShadow)}:host dialog::backdrop{background:var(--gse-ui-modal-shroudColor)}:host dialog .gux-modal-container{display:flex;flex-direction:column}:host dialog .gux-modal-container.gux-small{inline-size:var(--gse-ui-modal-small-width);max-block-size:min(368px, 100vh - 2 * 24px)}:host dialog .gux-modal-container.gux-medium{inline-size:min(var(--gse-ui-modal-medium-width), 100vw - 48px);max-block-size:min(640px, 100vh - 2 * 24px)}:host dialog .gux-modal-container.gux-large{inline-size:min(var(--gse-ui-modal-large-width), 100vw - 48px);max-block-size:min(640px, 100vh - 2 * 24px)}:host dialog .gux-modal-container.gux-dynamic{max-inline-size:calc(100vw - 48px);max-block-size:calc(100vh - 48px)}:host dialog .gux-modal-container.gux-dynamic .gux-modal-content{max-block-size:none}:host dialog .gux-modal-container .gux-modal-header{padding-block-start:var(--gse-ui-modal-padding);padding-inline:var(--gse-ui-modal-padding);margin:0;font-family:var(--gse-ui-modal-heading-fontFamily);font-size:var(--gse-ui-modal-heading-fontSize);font-weight:var(--gse-ui-modal-heading-fontWeight);line-height:var(--gse-ui-modal-heading-lineHeight);color:var(--gse-ui-modal-headerColor)}:host dialog .gux-modal-container .gux-modal-content{max-block-size:432px;padding-inline:var(--gse-ui-modal-padding);margin-block-start:var(--gse-ui-modal-gap);overflow-y:auto;color:var(--gse-semantic-foreground-container-highEmphasis)}:host dialog .gux-modal-container .gux-button-footer{display:flex;justify-content:space-between;padding-block-end:var(--gse-ui-modal-padding);padding-inline:var(--gse-ui-modal-padding);margin-block-start:var(--gse-ui-modal-gap)}:host dialog .gux-modal-container .gux-button-footer.gux-no-buttons{display:none}:host dialog .gux-modal-container footer{padding-block-end:var(--gse-ui-modal-padding);padding-inline:var(--gse-ui-modal-padding);margin-block-start:var(--gse-ui-modal-gap)}@media (max-width: 416px){:host dialog .gux-modal-container.gux-small,:host dialog .gux-modal-container.gux-medium,:host dialog .gux-modal-container.gux-large{inline-size:100%;block-size:100%}}";export{d as gux_modal}
@@ -1 +1 @@
1
- import{r as t,h as r,g as i}from"./p-cf74fd3d.js";import{t as o}from"./p-e79482cf.js";import{b as e}from"./p-e5e644b3.js";import{t as a}from"./p-f01d2320.js";import{g as s}from"./p-4202e9f2.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:"50c3810ca3ad7f64567098681c701703eb4d7922",class:{"gux-highlight":!0,[`gux-${this.highlight}`]:!0},role:"listitem"},r("button",{key:"5d2c996348c87453395739b2c28267cadc7a74c6",type:"button","aria-label":this.i18n(`${this.highlight}`),tabIndex:-1,disabled:this.disabled}),this.renderTooltip())}static get delegatesFocus(){return!0}get root(){return i(this)}};g.style=":host{display:block;border-radius:var(--gse-ui-button-borderRadius)}.gux-highlight{inline-size:var(--gse-ui-rte-colorSwatch-width);block-size:var(--gse-ui-rte-colorSwatch-height);border-radius:var(--gse-ui-button-borderRadius)}.gux-highlight button{all:unset;inline-size:100%;block-size:100%;cursor:pointer}.gux-highlight button:focus-visible{outline:var(--gse-semantic-focusOutline-sm-borderWidth) solid var(--gse-semantic-border-focus);border-radius:var(--gse-semantic-focusOutline-sm-borderRadius)}.gux-highlight.gux-orange{background-color:var(--gse-ui-rte-colorSwatch-orange-default)}.gux-highlight.gux-coral{background-color:var(--gse-ui-rte-colorSwatch-coral-default)}.gux-highlight.gux-pear{background-color:var(--gse-ui-rte-colorSwatch-pear-default)}.gux-highlight.gux-raspberry{background-color:var(--gse-ui-rte-colorSwatch-raspberry-default)}.gux-highlight.gux-mango{background-color:var(--gse-ui-rte-colorSwatch-mango-default)}.gux-highlight.gux-blue{background-color:var(--gse-ui-rte-colorSwatch-azure-default)}.gux-highlight.gux-mineral{background-color:var(--gse-ui-rte-colorSwatch-mineral-default)}.gux-highlight.gux-island{background-color:var(--gse-ui-rte-colorSwatch-island-default)}.gux-highlight.gux-inherit{color:inherit;background-color:inherit}";export{g as gux_rich_highlight_list_item}
1
+ import{r as t,h as r,g as i}from"./p-cf74fd3d.js";import{t as o}from"./p-c35a9bb6.js";import{b as e}from"./p-e5e644b3.js";import{t as a}from"./p-f01d2320.js";import{g as s}from"./p-4202e9f2.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:"50c3810ca3ad7f64567098681c701703eb4d7922",class:{"gux-highlight":!0,[`gux-${this.highlight}`]:!0},role:"listitem"},r("button",{key:"5d2c996348c87453395739b2c28267cadc7a74c6",type:"button","aria-label":this.i18n(`${this.highlight}`),tabIndex:-1,disabled:this.disabled}),this.renderTooltip())}static get delegatesFocus(){return!0}get root(){return i(this)}};g.style=":host{display:block;border-radius:var(--gse-ui-button-borderRadius)}.gux-highlight{inline-size:var(--gse-ui-rte-colorSwatch-width);block-size:var(--gse-ui-rte-colorSwatch-height);border-radius:var(--gse-ui-button-borderRadius)}.gux-highlight button{all:unset;inline-size:100%;block-size:100%;cursor:pointer}.gux-highlight button:focus-visible{outline:var(--gse-semantic-focusOutline-sm-borderWidth) solid var(--gse-semantic-border-focus);border-radius:var(--gse-semantic-focusOutline-sm-borderRadius)}.gux-highlight.gux-orange{background-color:var(--gse-ui-rte-colorSwatch-orange-default)}.gux-highlight.gux-coral{background-color:var(--gse-ui-rte-colorSwatch-coral-default)}.gux-highlight.gux-pear{background-color:var(--gse-ui-rte-colorSwatch-pear-default)}.gux-highlight.gux-raspberry{background-color:var(--gse-ui-rte-colorSwatch-raspberry-default)}.gux-highlight.gux-mango{background-color:var(--gse-ui-rte-colorSwatch-mango-default)}.gux-highlight.gux-blue{background-color:var(--gse-ui-rte-colorSwatch-azure-default)}.gux-highlight.gux-mineral{background-color:var(--gse-ui-rte-colorSwatch-mineral-default)}.gux-highlight.gux-island{background-color:var(--gse-ui-rte-colorSwatch-island-default)}.gux-highlight.gux-inherit{color:inherit;background-color:inherit}";export{g as gux_rich_highlight_list_item}
@@ -1 +1 @@
1
- import{r as a,c as o,h as t,g as e}from"./p-cf74fd3d.js";import{r as i}from"./p-0934300e.js";import{t as n}from"./p-e79482cf.js";const d=class{constructor(t){a(this,t),this.guxdismiss=o(this,"guxdismiss",7),this.size="dynamic",this.trapFocus=!0}handleKeyEvent(a){"Escape"===a.key&&this.onDismissHandler(a)}connectedCallback(){this.triggerElement=document.activeElement}componentWillLoad(){n(this.root,{variant:`${this.size}-${this.trapFocus?"trapfocuson":"trapfocusoff"}`})}componentDidLoad(){var a,o,t;const e=this.getInitialFocusElement();e?null===(a=e.focus)||void 0===a||a.call(e):this.dismissButton&&(null===(t=(o=this.dismissButton).focus)||void 0===t||t.call(o))}render(){const a=this.hasModalTitleSlot(),o=this.hasFooterButtons(),e=i();return t("div",{key:"031ff7a58553125d01cf7fd6f42c5be903149b5c",class:"gux-modal",role:"dialog","aria-modal":"true","aria-labelledby":a?e:null},t("div",{key:"123628751d97390036422179ca73d2dba021d9a8",class:`gux-modal-container gux-${this.size}`},this.renderModalTrapFocusEl(),a&&t("h1",{key:"fdb3c7c38ea79a0069797f0d3482a86256bb4676",class:"gux-modal-header",id:e},t("slot",{key:"95186647f351f4dbc6a4a2638ed8b81ebc929235",name:"title"})),t("gux-dismiss-button",{key:"a45d8854a38ea724dfa5986d40f40c2aab68c1e2",onClick:this.onDismissHandler.bind(this),ref:a=>this.dismissButton=a}),t("div",{key:"295de0752cf87d420d37a8d510cf7b8644ae7d83",class:{"gux-modal-content":!0,"gux-no-buttons":!o}},t("p",{key:"ac0fb8ebd4a6d063bc1186ccbbf3919468330dc4"},t("slot",{key:"2ae6de8a8b5375034b79b21d6fbfc84127888c66",name:"content"}))),o&&t("div",{key:"e3554d6aa17546638b88e8ac98ef8ebc8fa789cb",class:"gux-button-footer"},t("div",{key:"340f525af22095d6854b9f9ef2e062582bfca1d8",class:"gux-left-align-buttons"},t("slot",{key:"ef9d1bf333171f64c1240355fb6559c456b24cb5",name:"left-align-buttons"})),t("div",{key:"90bfd9fdf40b0789dc8ce252bad24bb207f834d7",class:"gux-right-align-buttons"},t("slot",{key:"972a396e077178093f9a23710ded2f8e111c62a3",name:"right-align-buttons"}))),this.renderModalTrapFocusEl()))}renderModalTrapFocusEl(){if(this.trapFocus)return t("span",{onFocus:()=>this.dismissButton.focus(),tabindex:"0"})}getInitialFocusElement(){return this.initialFocus?this.root.querySelector(this.initialFocus):void 0}hasModalTitleSlot(){return Boolean(this.root.querySelector('[slot="title"]'))}hasFooterButtons(){return Boolean(this.root.querySelector('[slot="left-align-buttons"]'))||Boolean(this.root.querySelector('[slot="right-align-buttons"]'))}onDismissHandler(a){var o;a.stopPropagation(),this.guxdismiss.emit().defaultPrevented||(this.root.remove(),null===(o=this.triggerElement)||void 0===o||o.focus())}get root(){return e(this)}};d.style="::slotted(button:active:enabled){color:var(--gse-ui-links-active-foregroundColor);text-decoration:underline;background:none}slot[name=left-align-buttons]::slotted(:not(button,gux-button)){display:flex;flex-direction:row;gap:var(--gse-ui-modal-buttonBar-gap);align-content:flex-start;align-items:center}:host .gux-modal{position:fixed;inset:0;z-index:var(--gse-semantic-zIndex-modal);display:flex;align-items:center;justify-content:center;color:var(--gse-semantic-foreground-container-highEmphasis);background:var(--gse-ui-modal-shroudColor)}:host .gux-modal .gux-modal-container{position:relative;box-sizing:border-box;display:flex;flex-direction:column;justify-content:space-between;padding:var(--gse-ui-modal-padding) 0;background:var(--gse-ui-modal-backgroundColor);border:1px solid var(--gse-semantic-border-container-edges-default);border-radius:var(--gse-ui-modal-borderRadius);box-shadow:var(--gse-ui-modal-boxShadow)}:host .gux-modal .gux-modal-container.gux-small{width:var(--gse-ui-modal-small-width);max-height:min(368px, 100vh - 2 * 24px)}:host .gux-modal .gux-modal-container.gux-medium{width:var(--gse-ui-modal-medium-width);max-height:min(640px, 100vh - 2 * 24px)}:host .gux-modal .gux-modal-container.gux-large{width:var(--gse-ui-modal-large-width);max-height:min(640px, 100vh - 2 * 24px)}:host .gux-modal .gux-modal-container.gux-dynamic{max-width:calc(100vw - 48px);max-height:calc(100vh - 48px)}:host .gux-modal .gux-modal-container.gux-dynamic .gux-modal-content{max-height:none}:host .gux-modal .gux-modal-container .gux-modal-header{padding:0 var(--gse-ui-modal-padding);margin:0;font-family:var(--gse-ui-modal-heading-fontFamily);font-size:var(--gse-ui-modal-heading-fontSize);font-weight:var(--gse-ui-modal-heading-fontWeight);line-height:var(--gse-ui-modal-heading-fontFamily);color:var(--gse-ui-modal-headerColor);font-family:var(--gse-semantic-heading-xl-bold-fontFamily), var(--gse-semantic-theme-fontFamily-headings), sans-serif;font-size:var(--gse-semantic-heading-xl-bold-fontSize);line-height:var(--gse-semantic-heading-xl-bold-lineHeight);font-weight:var(--gse-semantic-heading-xl-bold-fontWeight)}:host .gux-modal .gux-modal-container .gux-modal-content{max-height:432px;padding:0 var(--gse-ui-modal-padding);margin-top:var(--gse-ui-modal-gap);margin-bottom:var(--gse-ui-modal-gap);overflow-y:auto}:host .gux-modal .gux-modal-container .gux-modal-content.gux-no-buttons{margin-bottom:0}:host .gux-modal .gux-modal-container .gux-button-footer{display:flex;justify-content:space-between;padding:0 var(--gse-ui-modal-padding)}@media (max-width: 416px){:host .gux-modal .gux-modal-container.gux-small,:host .gux-modal .gux-modal-container.gux-medium,:host .gux-modal .gux-modal-container.gux-large{width:100%;height:100%}}";export{d as gux_modal_legacy}
1
+ import{r as a,c as o,h as t,g as e}from"./p-cf74fd3d.js";import{r as i}from"./p-0934300e.js";import{t as n}from"./p-c35a9bb6.js";const d=class{constructor(t){a(this,t),this.guxdismiss=o(this,"guxdismiss",7),this.size="dynamic",this.trapFocus=!0}handleKeyEvent(a){"Escape"===a.key&&this.onDismissHandler(a)}connectedCallback(){this.triggerElement=document.activeElement}componentWillLoad(){n(this.root,{variant:`${this.size}-${this.trapFocus?"trapfocuson":"trapfocusoff"}`})}componentDidLoad(){var a,o,t;const e=this.getInitialFocusElement();e?null===(a=e.focus)||void 0===a||a.call(e):this.dismissButton&&(null===(t=(o=this.dismissButton).focus)||void 0===t||t.call(o))}render(){const a=this.hasModalTitleSlot(),o=this.hasFooterButtons(),e=i();return t("div",{key:"031ff7a58553125d01cf7fd6f42c5be903149b5c",class:"gux-modal",role:"dialog","aria-modal":"true","aria-labelledby":a?e:null},t("div",{key:"123628751d97390036422179ca73d2dba021d9a8",class:`gux-modal-container gux-${this.size}`},this.renderModalTrapFocusEl(),a&&t("h1",{key:"fdb3c7c38ea79a0069797f0d3482a86256bb4676",class:"gux-modal-header",id:e},t("slot",{key:"95186647f351f4dbc6a4a2638ed8b81ebc929235",name:"title"})),t("gux-dismiss-button",{key:"a45d8854a38ea724dfa5986d40f40c2aab68c1e2",onClick:this.onDismissHandler.bind(this),ref:a=>this.dismissButton=a}),t("div",{key:"295de0752cf87d420d37a8d510cf7b8644ae7d83",class:{"gux-modal-content":!0,"gux-no-buttons":!o}},t("p",{key:"ac0fb8ebd4a6d063bc1186ccbbf3919468330dc4"},t("slot",{key:"2ae6de8a8b5375034b79b21d6fbfc84127888c66",name:"content"}))),o&&t("div",{key:"e3554d6aa17546638b88e8ac98ef8ebc8fa789cb",class:"gux-button-footer"},t("div",{key:"340f525af22095d6854b9f9ef2e062582bfca1d8",class:"gux-left-align-buttons"},t("slot",{key:"ef9d1bf333171f64c1240355fb6559c456b24cb5",name:"left-align-buttons"})),t("div",{key:"90bfd9fdf40b0789dc8ce252bad24bb207f834d7",class:"gux-right-align-buttons"},t("slot",{key:"972a396e077178093f9a23710ded2f8e111c62a3",name:"right-align-buttons"}))),this.renderModalTrapFocusEl()))}renderModalTrapFocusEl(){if(this.trapFocus)return t("span",{onFocus:()=>this.dismissButton.focus(),tabindex:"0"})}getInitialFocusElement(){return this.initialFocus?this.root.querySelector(this.initialFocus):void 0}hasModalTitleSlot(){return Boolean(this.root.querySelector('[slot="title"]'))}hasFooterButtons(){return Boolean(this.root.querySelector('[slot="left-align-buttons"]'))||Boolean(this.root.querySelector('[slot="right-align-buttons"]'))}onDismissHandler(a){var o;a.stopPropagation(),this.guxdismiss.emit().defaultPrevented||(this.root.remove(),null===(o=this.triggerElement)||void 0===o||o.focus())}get root(){return e(this)}};d.style="::slotted(button:active:enabled){color:var(--gse-ui-links-active-foregroundColor);text-decoration:underline;background:none}slot[name=left-align-buttons]::slotted(:not(button,gux-button)){display:flex;flex-direction:row;gap:var(--gse-ui-modal-buttonBar-gap);align-content:flex-start;align-items:center}:host .gux-modal{position:fixed;inset:0;z-index:var(--gse-semantic-zIndex-modal);display:flex;align-items:center;justify-content:center;color:var(--gse-semantic-foreground-container-highEmphasis);background:var(--gse-ui-modal-shroudColor)}:host .gux-modal .gux-modal-container{position:relative;box-sizing:border-box;display:flex;flex-direction:column;justify-content:space-between;padding:var(--gse-ui-modal-padding) 0;background:var(--gse-ui-modal-backgroundColor);border:1px solid var(--gse-semantic-border-container-edges-default);border-radius:var(--gse-ui-modal-borderRadius);box-shadow:var(--gse-ui-modal-boxShadow)}:host .gux-modal .gux-modal-container.gux-small{width:var(--gse-ui-modal-small-width);max-height:min(368px, 100vh - 2 * 24px)}:host .gux-modal .gux-modal-container.gux-medium{width:var(--gse-ui-modal-medium-width);max-height:min(640px, 100vh - 2 * 24px)}:host .gux-modal .gux-modal-container.gux-large{width:var(--gse-ui-modal-large-width);max-height:min(640px, 100vh - 2 * 24px)}:host .gux-modal .gux-modal-container.gux-dynamic{max-width:calc(100vw - 48px);max-height:calc(100vh - 48px)}:host .gux-modal .gux-modal-container.gux-dynamic .gux-modal-content{max-height:none}:host .gux-modal .gux-modal-container .gux-modal-header{padding:0 var(--gse-ui-modal-padding);margin:0;font-family:var(--gse-ui-modal-heading-fontFamily);font-size:var(--gse-ui-modal-heading-fontSize);font-weight:var(--gse-ui-modal-heading-fontWeight);line-height:var(--gse-ui-modal-heading-fontFamily);color:var(--gse-ui-modal-headerColor);font-family:var(--gse-semantic-heading-xl-bold-fontFamily), var(--gse-semantic-theme-fontFamily-headings), sans-serif;font-size:var(--gse-semantic-heading-xl-bold-fontSize);line-height:var(--gse-semantic-heading-xl-bold-lineHeight);font-weight:var(--gse-semantic-heading-xl-bold-fontWeight)}:host .gux-modal .gux-modal-container .gux-modal-content{max-height:432px;padding:0 var(--gse-ui-modal-padding);margin-top:var(--gse-ui-modal-gap);margin-bottom:var(--gse-ui-modal-gap);overflow-y:auto}:host .gux-modal .gux-modal-container .gux-modal-content.gux-no-buttons{margin-bottom:0}:host .gux-modal .gux-modal-container .gux-button-footer{display:flex;justify-content:space-between;padding:0 var(--gse-ui-modal-padding)}@media (max-width: 416px){:host .gux-modal .gux-modal-container.gux-small,:host .gux-modal .gux-modal-container.gux-medium,:host .gux-modal .gux-modal-container.gux-large{width:100%;height:100%}}";export{d as gux_modal_legacy}
@@ -1 +1 @@
1
- import{r as i,h as t,g as a}from"./p-cf74fd3d.js";import{b as e}from"./p-e5e644b3.js";import{t as n}from"./p-e79482cf.js";import"./p-4202e9f2.js";const o={navigationName:"Skip links navigation"},s=class{constructor(t){i(this,t)}async componentWillLoad(){n(this.root),this.i18n=await e(this.root,o)}render(){return t("div",{key:"464f29128ba4bb4af31a4f904dab9d11e0024a5a",class:"gux-container"},t("nav",{key:"d52d3ffef7edd2300233902bde84a5aa64aca4d5","aria-label":this.i18n("navigationName")},t("ul",{key:"31e72bbbfab7582c05f48a631d2e21c4b26e38fd",role:"list"},t("slot",{key:"1bf53a4c70f24968b841f76e593dac2c2016b064"}))))}static get delegatesFocus(){return!0}get root(){return a(this)}};s.style=":host{position:absolute;top:auto;left:-10000px;width:1px;height:1px;overflow:hidden}:host(:focus-within){position:inherit;top:inherit;left:inherit;width:inherit;height:inherit;overflow:inherit;position:absolute;inset:0}.gux-container nav{inline-size:fit-content;margin-block:40px;margin-inline:auto}.gux-container nav ul{padding:0;margin:0}";export{s as gux_skip_navigation_list}
1
+ import{r as i,h as t,g as a}from"./p-cf74fd3d.js";import{b as e}from"./p-e5e644b3.js";import{t as n}from"./p-c35a9bb6.js";import"./p-4202e9f2.js";const o={navigationName:"Skip links navigation"},s=class{constructor(t){i(this,t)}async componentWillLoad(){n(this.root),this.i18n=await e(this.root,o)}render(){return t("div",{key:"464f29128ba4bb4af31a4f904dab9d11e0024a5a",class:"gux-container"},t("nav",{key:"d52d3ffef7edd2300233902bde84a5aa64aca4d5","aria-label":this.i18n("navigationName")},t("ul",{key:"31e72bbbfab7582c05f48a631d2e21c4b26e38fd",role:"list"},t("slot",{key:"1bf53a4c70f24968b841f76e593dac2c2016b064"}))))}static get delegatesFocus(){return!0}get root(){return a(this)}};s.style=":host{position:absolute;top:auto;left:-10000px;width:1px;height:1px;overflow:hidden}:host(:focus-within){position:inherit;top:inherit;left:inherit;width:inherit;height:inherit;overflow:inherit;position:absolute;inset:0}.gux-container nav{inline-size:fit-content;margin-block:40px;margin-inline:auto}.gux-container nav ul{padding:0;margin:0}";export{s as gux_skip_navigation_list}
@@ -1 +1 @@
1
- import{r as t,h as o,g as e}from"./p-cf74fd3d.js";import{t as i}from"./p-e79482cf.js";import{g as a}from"./p-0268a3e8.js";const r=class{constructor(o){t(this,o),this.placement="right"}componentWillLoad(){i(this.root)}async showTooltip(){return await this.tooltip.showTooltip()}async hideTooltip(){return await this.tooltip.hideTooltip()}render(){return o("div",{key:"1d7c4cd8f3a16245f010ec66dd975c97234b01ac",class:"gux-icon-tooltip"},o("gux-screen-reader-beta",{key:"d6fef5089af4f967c9df31d2732c65d160604beb"},o("slot",{key:"6867e45124f6031a25a5b3c8725642773871a39e",name:"content"})),o("gux-icon",{key:"ead0d91cb12c90697046d89c114206020d4d685c","icon-name":this.iconName,size:"small",decorative:!0}),o("gux-tooltip-beta",{key:"49cabba6e05798ee7720dd085b6686f669ab59be",placement:this.placement,ref:t=>this.tooltip=t},o("div",{key:"439b5a9da00fa5cd885dac7c51238c3f8ee5c72e",slot:"content"},a(this.root,"content"))))}get root(){return e(this)}};r.style=".gux-icon-tooltip{inline-size:fit-content;padding:0;line-height:0;background-color:transparent;border:none;border-radius:var(--gse-ui-formControl-label-tooltipTrigger-borderRadius)}.gux-icon-tooltip gux-tooltip{padding-inline-start:0}.gux-icon-tooltip gux-icon{vertical-align:bottom;color:var(--gse-ui-formControl-label-tooltipTrigger-color)}";export{r as gux_icon_tooltip_beta}
1
+ import{r as t,h as o,g as e}from"./p-cf74fd3d.js";import{t as i}from"./p-c35a9bb6.js";import{g as a}from"./p-0268a3e8.js";const r=class{constructor(o){t(this,o),this.placement="right"}componentWillLoad(){i(this.root)}async showTooltip(){return await this.tooltip.showTooltip()}async hideTooltip(){return await this.tooltip.hideTooltip()}render(){return o("div",{key:"1d7c4cd8f3a16245f010ec66dd975c97234b01ac",class:"gux-icon-tooltip"},o("gux-screen-reader-beta",{key:"d6fef5089af4f967c9df31d2732c65d160604beb"},o("slot",{key:"6867e45124f6031a25a5b3c8725642773871a39e",name:"content"})),o("gux-icon",{key:"ead0d91cb12c90697046d89c114206020d4d685c","icon-name":this.iconName,size:"small",decorative:!0}),o("gux-tooltip-beta",{key:"49cabba6e05798ee7720dd085b6686f669ab59be",placement:this.placement,ref:t=>this.tooltip=t},o("div",{key:"439b5a9da00fa5cd885dac7c51238c3f8ee5c72e",slot:"content"},a(this.root,"content"))))}get root(){return e(this)}};r.style=".gux-icon-tooltip{inline-size:fit-content;padding:0;line-height:0;background-color:transparent;border:none;border-radius:var(--gse-ui-formControl-label-tooltipTrigger-borderRadius)}.gux-icon-tooltip gux-tooltip{padding-inline-start:0}.gux-icon-tooltip gux-icon{vertical-align:bottom;color:var(--gse-ui-formControl-label-tooltipTrigger-color)}";export{r as gux_icon_tooltip_beta}
@@ -1 +1 @@
1
- import{r as t,c as i,h as e,H as s,g as o}from"./p-cf74fd3d.js";import{d as n,h as r,s as a,e as h,f as l,i as u,j as d,k as c,l as g,m as p,n as m,c as v,a as b,o as f}from"./p-01ff7495.js";import{b as x}from"./p-e5e644b3.js";import{w}from"./p-e97879b4.js";import{s as O}from"./p-2c25e2f2.js";import{t as j}from"./p-e79482cf.js";import{b as y}from"./p-cf0e7d3b.js";import{O as C}from"./p-946c70b7.js";import"./p-4202e9f2.js";const M={add:"Add {name}",noMatches:"No matches",loading:"Loading..."};const S=class{constructor(e){t(this,e),this.internallistboxoptionsupdated=i(this,"internallistboxoptionsupdated",7),this.loading=!1,this.filter="",this.textInput="",this.filterType="none",this.disabled=!1,this.listboxOptions=[],this.hasExactMatch=!1}onMutation(){y((()=>{this.updateOnSlotChange()}))}onBlur(){n(this.root)}selectNewCustomOption(t){this.updateValue(t.detail)}onKeydown(t){var i;if(!r(this.root))return t.preventDefault(),void a(this.root);switch(t.key){case"Enter":return t.preventDefault(),void((null===(i=this.optionCreateElement)||void 0===i?void 0:i.active)?(this.optionCreateElement.guxEmitInternalCreateNewOption(),y((()=>{a(this.root)}))):p(this.root,(t=>this.updateValue(t))));case"ArrowDown":return t.preventDefault(),void(c(this.root)?(t.stopPropagation(),g(this.root)):l(this.root));case"ArrowUp":return t.preventDefault(),void(u(this.root)?(t.stopPropagation(),d(this.root)):h(this.root));case"Home":return t.preventDefault(),void l(this.root);case"End":return t.preventDefault(),void h(this.root);case" ":return void t.preventDefault()}1!==t.key.length||m(this.root,t.key)}onKeyup(t){var i;" "!==t.key||((null===(i=this.optionCreateElement)||void 0===i?void 0:i.active)?(this.optionCreateElement.guxEmitInternalCreateNewOption(),y((()=>{a(this.root)}))):p(this.root,(t=>this.updateValue(t))))}onMousemove(){n(this.root)}onClick(t){w("gux-option-multi",t,(t=>{f(t,(t=>this.updateValue(t)))}))}async guxSelectActive(){p(this.root,(t=>this.updateValue(t)))}getHasExactMatch(){let t=!1;return this.hasExactMatch=!1,this.listboxOptions.forEach((i=>{var e,s;(null===(s=null===(e=i.textContent)||void 0===e?void 0:e.toLowerCase())||void 0===s?void 0:s.trim())==this.textInput.toLowerCase().trim()&&(t=!0,this.hasExactMatch=!0)})),t}updateOptionMultiCreateValue(){this.optionCreateElement&&(this.optionCreateElement.value=this.textInput,this.optionCreateElement.filtered=!this.textInput||this.getHasExactMatch())}getSelectedValues(){return v(this.value)}updateOnSlotChange(){this.setListboxOptions(),this.updateListboxOptions()}getOptionCreateElement(){this.optionCreateElement=this.root.querySelector("gux-create-option")}setListboxOptions(){this.listboxOptions=Array.from(this.root.children).filter((t=>"GUX-OPTION-MULTI"===t.tagName)),this.internallistboxoptionsupdated.emit()}updateListboxOptions(){this.listboxOptions.forEach((t=>{var i;t.selected=this.getSelectedValues().includes(t.value),"custom"!==this.filterType&&"none"!==this.filterType&&(t.filtered=!(null===(i=b(t))||void 0===i?void 0:i.textContent.trim().toLowerCase().startsWith(this.textInput.toLowerCase())))}))}updateValue(t){if(this.getSelectedValues().includes(t)){const i=this.getSelectedValues().filter((i=>i!==t));this.value=i.length?i.join(","):void 0}else{const i=[...this.getSelectedValues(),t];this.value=i.join(",")}O(this.root,"input"),O(this.root,"change")}async componentWillLoad(){j(this.root),this.i18n=await x(this.root,M),this.setListboxOptions(),this.getOptionCreateElement()}componentWillRender(){this.setListboxOptions(),this.updateListboxOptions(),this.allListboxOptionsFiltered=0===this.listboxOptions.filter((t=>!t.filtered)).length}renderHiddenSlot(){return e("div",{hidden:!0},e("slot",{onSlotchange:()=>this.setListboxOptions()}))}renderLoading(){return[e("div",{class:"gux-message-container"},e("gux-radial-loading",{context:"modal"}),e("span",null,this.i18n("loading"))),this.renderHiddenSlot()]}renderAllListboxOptionsFiltered(){if(this.allListboxOptionsFiltered)return[e("div",{class:"gux-message-container"},e("div",{class:"gux-no-matches"},this.emptyMessage||this.i18n("noMatches"))),this.renderHiddenSlot()]}renderCreateOptionSlot(){return e("slot",{name:"create"})}render(){return this.loading?this.renderLoading():e(s,{role:"listbox","aria-multiselectable":"true",tabindex:0},e("slot",{onSlotchange:()=>this.updateOnSlotChange()}),this.renderAllListboxOptionsFiltered(),this.renderCreateOptionSlot())}get root(){return o(this)}static get watchers(){return{textInput:["updateOptionMultiCreateValue"]}}};(function(t,i,e,s){var o,n=arguments.length,r=n<3?i:null===s?s=Object.getOwnPropertyDescriptor(i,e):s;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)r=Reflect.decorate(t,i,e,s);else for(var a=t.length-1;a>=0;a--)(o=t[a])&&(r=(n<3?o(r):n>3?o(i,e,r):o(i,e))||r);n>3&&r&&Object.defineProperty(i,e,r)})([C({childList:!0,subtree:!0})],S.prototype,"onMutation",null),S.style=":host{box-sizing:border-box;display:block;max-block-size:var(--gse-ui-menu-maxHeight);padding:var(--gse-ui-menu-padding);overflow:hidden auto;outline:none;scrollbar-color:var(--gse-ui-menu-scrollbar-foregroundColor);background:var(--gse-ui-menu-backgroundColor);border:var(--gse-ui-menu-border-width) var(--gse-ui-menu-border-style) var(--gse-ui-menu-border-color);border-radius:var(--gse-ui-menu-borderRadius);box-shadow:var(--gse-ui-menu-boxShadow)}.gux-message-container{display:flex;flex-direction:column;flex-wrap:nowrap;place-content:stretch center;align-items:center}.gux-message-container .gux-no-matches{box-sizing:border-box;block-size:var(--gse-ui-menu-option-height);padding-block:var(--gse-ui-dropdown-gap);font-family:var(--gse-ui-menu-option-label-active-text-fontFamily);font-size:var(--gse-ui-menu-option-label-active-text-fontSize);font-weight:var(--gse-ui-menu-option-label-active-text-fontWeight);line-height:var(--gse-ui-menu-option-label-active-text-lineHeight);color:var(--gse-ui-menu-option-label-foregroundColor)}";export{S as gux_listbox_multi}
1
+ import{r as t,c as i,h as e,H as s,g as o}from"./p-cf74fd3d.js";import{d as n,h as r,s as a,e as h,f as l,i as u,j as d,k as c,l as g,m as p,n as m,c as v,a as b,o as f}from"./p-01ff7495.js";import{b as x}from"./p-e5e644b3.js";import{w}from"./p-e97879b4.js";import{s as O}from"./p-2c25e2f2.js";import{t as j}from"./p-c35a9bb6.js";import{b as y}from"./p-cf0e7d3b.js";import{O as C}from"./p-946c70b7.js";import"./p-4202e9f2.js";const M={add:"Add {name}",noMatches:"No matches",loading:"Loading..."};const S=class{constructor(e){t(this,e),this.internallistboxoptionsupdated=i(this,"internallistboxoptionsupdated",7),this.loading=!1,this.filter="",this.textInput="",this.filterType="none",this.disabled=!1,this.listboxOptions=[],this.hasExactMatch=!1}onMutation(){y((()=>{this.updateOnSlotChange()}))}onBlur(){n(this.root)}selectNewCustomOption(t){this.updateValue(t.detail)}onKeydown(t){var i;if(!r(this.root))return t.preventDefault(),void a(this.root);switch(t.key){case"Enter":return t.preventDefault(),void((null===(i=this.optionCreateElement)||void 0===i?void 0:i.active)?(this.optionCreateElement.guxEmitInternalCreateNewOption(),y((()=>{a(this.root)}))):p(this.root,(t=>this.updateValue(t))));case"ArrowDown":return t.preventDefault(),void(c(this.root)?(t.stopPropagation(),g(this.root)):l(this.root));case"ArrowUp":return t.preventDefault(),void(u(this.root)?(t.stopPropagation(),d(this.root)):h(this.root));case"Home":return t.preventDefault(),void l(this.root);case"End":return t.preventDefault(),void h(this.root);case" ":return void t.preventDefault()}1!==t.key.length||m(this.root,t.key)}onKeyup(t){var i;" "!==t.key||((null===(i=this.optionCreateElement)||void 0===i?void 0:i.active)?(this.optionCreateElement.guxEmitInternalCreateNewOption(),y((()=>{a(this.root)}))):p(this.root,(t=>this.updateValue(t))))}onMousemove(){n(this.root)}onClick(t){w("gux-option-multi",t,(t=>{f(t,(t=>this.updateValue(t)))}))}async guxSelectActive(){p(this.root,(t=>this.updateValue(t)))}getHasExactMatch(){let t=!1;return this.hasExactMatch=!1,this.listboxOptions.forEach((i=>{var e,s;(null===(s=null===(e=i.textContent)||void 0===e?void 0:e.toLowerCase())||void 0===s?void 0:s.trim())==this.textInput.toLowerCase().trim()&&(t=!0,this.hasExactMatch=!0)})),t}updateOptionMultiCreateValue(){this.optionCreateElement&&(this.optionCreateElement.value=this.textInput,this.optionCreateElement.filtered=!this.textInput||this.getHasExactMatch())}getSelectedValues(){return v(this.value)}updateOnSlotChange(){this.setListboxOptions(),this.updateListboxOptions()}getOptionCreateElement(){this.optionCreateElement=this.root.querySelector("gux-create-option")}setListboxOptions(){this.listboxOptions=Array.from(this.root.children).filter((t=>"GUX-OPTION-MULTI"===t.tagName)),this.internallistboxoptionsupdated.emit()}updateListboxOptions(){this.listboxOptions.forEach((t=>{var i;t.selected=this.getSelectedValues().includes(t.value),"custom"!==this.filterType&&"none"!==this.filterType&&(t.filtered=!(null===(i=b(t))||void 0===i?void 0:i.textContent.trim().toLowerCase().startsWith(this.textInput.toLowerCase())))}))}updateValue(t){if(this.getSelectedValues().includes(t)){const i=this.getSelectedValues().filter((i=>i!==t));this.value=i.length?i.join(","):void 0}else{const i=[...this.getSelectedValues(),t];this.value=i.join(",")}O(this.root,"input"),O(this.root,"change")}async componentWillLoad(){j(this.root),this.i18n=await x(this.root,M),this.setListboxOptions(),this.getOptionCreateElement()}componentWillRender(){this.setListboxOptions(),this.updateListboxOptions(),this.allListboxOptionsFiltered=0===this.listboxOptions.filter((t=>!t.filtered)).length}renderHiddenSlot(){return e("div",{hidden:!0},e("slot",{onSlotchange:()=>this.setListboxOptions()}))}renderLoading(){return[e("div",{class:"gux-message-container"},e("gux-radial-loading",{context:"modal"}),e("span",null,this.i18n("loading"))),this.renderHiddenSlot()]}renderAllListboxOptionsFiltered(){if(this.allListboxOptionsFiltered)return[e("div",{class:"gux-message-container"},e("div",{class:"gux-no-matches"},this.emptyMessage||this.i18n("noMatches"))),this.renderHiddenSlot()]}renderCreateOptionSlot(){return e("slot",{name:"create"})}render(){return this.loading?this.renderLoading():e(s,{role:"listbox","aria-multiselectable":"true",tabindex:0},e("slot",{onSlotchange:()=>this.updateOnSlotChange()}),this.renderAllListboxOptionsFiltered(),this.renderCreateOptionSlot())}get root(){return o(this)}static get watchers(){return{textInput:["updateOptionMultiCreateValue"]}}};(function(t,i,e,s){var o,n=arguments.length,r=n<3?i:null===s?s=Object.getOwnPropertyDescriptor(i,e):s;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)r=Reflect.decorate(t,i,e,s);else for(var a=t.length-1;a>=0;a--)(o=t[a])&&(r=(n<3?o(r):n>3?o(i,e,r):o(i,e))||r);n>3&&r&&Object.defineProperty(i,e,r)})([C({childList:!0,subtree:!0})],S.prototype,"onMutation",null),S.style=":host{box-sizing:border-box;display:block;max-block-size:var(--gse-ui-menu-maxHeight);padding:var(--gse-ui-menu-padding);overflow:hidden auto;outline:none;scrollbar-color:var(--gse-ui-menu-scrollbar-foregroundColor);background:var(--gse-ui-menu-backgroundColor);border:var(--gse-ui-menu-border-width) var(--gse-ui-menu-border-style) var(--gse-ui-menu-border-color);border-radius:var(--gse-ui-menu-borderRadius);box-shadow:var(--gse-ui-menu-boxShadow)}.gux-message-container{display:flex;flex-direction:column;flex-wrap:nowrap;place-content:stretch center;align-items:center}.gux-message-container .gux-no-matches{box-sizing:border-box;block-size:var(--gse-ui-menu-option-height);padding-block:var(--gse-ui-dropdown-gap);font-family:var(--gse-ui-menu-option-label-active-text-fontFamily);font-size:var(--gse-ui-menu-option-label-active-text-fontSize);font-weight:var(--gse-ui-menu-option-label-active-text-fontWeight);line-height:var(--gse-ui-menu-option-label-active-text-lineHeight);color:var(--gse-ui-menu-option-label-foregroundColor)}";export{S as gux_listbox_multi}
@@ -1 +1 @@
1
- import{r as e,h as o,H as t,g as r}from"./p-cf74fd3d.js";import{c as a,o as s}from"./p-f4751a15.js";import{O as i}from"./p-946c70b7.js";import{p as l}from"./p-a11d5d42.js";import{h as C}from"./p-6d8b4027.js";import{a as g,G as c}from"./p-56b18d28.js";import{t as n}from"./p-e79482cf.js";import{g as d,v as h}from"./p-4aaf349e.js";import"./p-0934300e.js";import"./p-8eaf8caf.js";import"./p-2c25e2f2.js";const u=class{constructor(o){e(this,o),this.labelPosition="beside",this.hasHelp=!1,this.hasError=!1,this.hasGroupError=!1,this.hasGroupDisabled=!1}onMutation(){this.hasError=C(this.root,"error"),this.hasHelp=C(this.root,"help")}componentWillLoad(){this.setInput(),this.hasError=C(this.root,"error"),this.hasHelp=C(this.root,"help"),n(this.root,{variant:this.variant})}disconnectedCallback(){this.disabledObserver&&this.disabledObserver.disconnect()}render(){return o(t,{key:"3807b1ae64ec97a88b614521d43e17cfc42529b9",class:{"gux-input-error":this.hasError||this.hasGroupError,"gux-disabled":this.disabled}},o("div",{key:"4b0197733ce8805e94ea35710c631cdaa75a9f08",class:"gux-form-field-container"},o("div",{key:"21bff41e6716c39404111211b3961a12572dabc0",class:"gux-input-label"},o("div",{key:"248842d8c5b1925209fe3c8d71e9401d85df5be3",class:"gux-input"},o("slot",{key:"617fbbb990ac8aaca2419f39cc67e7ce71fc747d",name:"input",onSlotchange:()=>this.setInput()})),o("div",{key:"4c6008656f5972debaf900588c98feca21735cc7",class:`gux-label-${this.labelPosition}`,"aria-disabled":this.disabled?"true":"false"},o("slot",{key:"b025ca7c7be84f0567b62010b5a07e04edfd00c5",name:"label"}))),o("div",{key:"30174559135d2382d8148678ee15258be90d24cf",class:"error-and-help-text"},o(g,{key:"4e8f50c6416a5114c67e95afdd10ca2bf54ae4dc",show:this.hasError},o("slot",{key:"afe78c0a23baf77e348845cb11aacf66f32948a9",name:"error"})),o(c,{key:"d13d0a3b79454de838274b5f91066ec785771c4b",show:!this.hasError&&this.hasHelp},o("slot",{key:"0f5c4a72d948a21fc12b7589269c0366b6ebab26",name:"help"})))))}get variant(){return this.labelPosition.toLowerCase()}setInput(){this.input=d(this.root,'input[type="checkbox"][slot="input"]'),this.hasGroupDisabled&&(this.input.disabled=!0),l(this.input),this.disabled=a(this.input),this.disabledObserver=s(this.input,(e=>{this.disabled=e})),h(this.root,this.input)}get root(){return r(this)}};(function(e,o,t,r){var a,s=arguments.length,i=s<3?o:null===r?r=Object.getOwnPropertyDescriptor(o,t):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)i=Reflect.decorate(e,o,t,r);else for(var l=e.length-1;l>=0;l--)(a=e[l])&&(i=(s<3?a(i):s>3?a(o,t,i):a(o,t))||i);s>3&&i&&Object.defineProperty(o,t,i)})([i({childList:!0,subtree:!0})],u.prototype,"onMutation",null),u.style=".gux-form-field-error{display:none;flex-direction:row;flex-wrap:nowrap;gap:var(--gse-ui-formControl-helper-gap);place-content:stretch flex-start;padding:var(--gse-ui-formControl-helper-errorPadding);font-family:var(--gse-ui-formControl-helper-helperText-fontFamily);font-size:var(--gse-ui-formControl-helper-helperText-fontSize);line-height:var(--gse-ui-formControl-helper-helperText-lineHeight);color:var(--gse-ui-formControl-helper-errorColor)}.gux-form-field-error.gux-show{display:flex}.gux-form-field-error gux-icon{flex:0 1 auto;order:0;color:var(--gse-ui-formControl-helper-errorColor)}.gux-form-field-error .gux-message{flex:0 1 auto;align-self:auto;order:0}.gux-form-field-help{display:none;flex-direction:row;flex-wrap:nowrap;place-content:stretch flex-start;align-items:flex-start;justify-content:flex-start;padding-block-start:var(--gse-ui-formControl-formField-gap);font-family:var(--gse-ui-formControl-helper-helperText-fontFamily);font-size:var(--gse-ui-formControl-helper-helperText-fontSize);line-height:var(--gse-ui-formControl-helper-helperText-lineHeight);color:var(--gse-ui-formControl-helper-defaultColor)}.gux-form-field-help.gux-show{display:flex}.gux-form-field-help .gux-message{flex:0 1 auto;align-self:none;order:0}:host{display:block}:host(.gux-input-error) ::slotted(input[type=checkbox]:not(:checked))::before{-webkit-mask-image:url(\"data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' %3E%3Cpath d='M13.7143 0C14.975 0 16 1.02321 16 2.28571V13.7143C16 14.975 14.975 16 13.7143 16H2.28571C1.02321 16 0 14.975 0 13.7143V2.28571C0 1.02321 1.02321 0 2.28571 0H13.7143ZM13.7143 1.71429H2.28571C1.97 1.71429 1.71429 1.97 1.71429 2.28571V13.7143C1.71429 14.0286 1.97 14.2857 2.28571 14.2857H13.7143C14.0286 14.2857 14.2857 14.0286 14.2857 13.7143V2.28571C14.2857 1.97 14.0286 1.71429 13.7143 1.71429Z' /%3E%3C/svg%3E\");mask-image:url(\"data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' %3E%3Cpath d='M13.7143 0C14.975 0 16 1.02321 16 2.28571V13.7143C16 14.975 14.975 16 13.7143 16H2.28571C1.02321 16 0 14.975 0 13.7143V2.28571C0 1.02321 1.02321 0 2.28571 0H13.7143ZM13.7143 1.71429H2.28571C1.97 1.71429 1.71429 1.97 1.71429 2.28571V13.7143C1.71429 14.0286 1.97 14.2857 2.28571 14.2857H13.7143C14.0286 14.2857 14.2857 14.0286 14.2857 13.7143V2.28571C14.2857 1.97 14.0286 1.71429 13.7143 1.71429Z' /%3E%3C/svg%3E\");background:var(--gse-ui-checkbox-icon-error-foregroundColor)}:host(.gux-input-error) ::slotted(input[type=checkbox]:checked)::before{-webkit-mask-image:url(\"data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' %3E%3Cpath d='M2.28571 0C1.025 0 0 1.025 0 2.28571V13.7143C0 14.975 1.025 16 2.28571 16H13.7143C14.975 16 16 14.975 16 13.7143V2.28571C16 1.025 14.975 0 13.7143 0H2.28571ZM12.0357 6.32143L7.46429 10.8929C7.12857 11.2286 6.58571 11.2286 6.25357 10.8929L3.96786 8.60714C3.63214 8.27143 3.63214 7.72857 3.96786 7.39643C4.30357 7.06429 4.84643 7.06071 5.17857 7.39643L6.85714 9.075L10.8214 5.10714C11.1571 4.77143 11.7 4.77143 12.0321 5.10714C12.3643 5.44286 12.3679 5.98571 12.0321 6.31786L12.0357 6.32143Z' /%3E%3C/svg%3E\");mask-image:url(\"data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' %3E%3Cpath d='M2.28571 0C1.025 0 0 1.025 0 2.28571V13.7143C0 14.975 1.025 16 2.28571 16H13.7143C14.975 16 16 14.975 16 13.7143V2.28571C16 1.025 14.975 0 13.7143 0H2.28571ZM12.0357 6.32143L7.46429 10.8929C7.12857 11.2286 6.58571 11.2286 6.25357 10.8929L3.96786 8.60714C3.63214 8.27143 3.63214 7.72857 3.96786 7.39643C4.30357 7.06429 4.84643 7.06071 5.17857 7.39643L6.85714 9.075L10.8214 5.10714C11.1571 4.77143 11.7 4.77143 12.0321 5.10714C12.3643 5.44286 12.3679 5.98571 12.0321 6.31786L12.0357 6.32143Z' /%3E%3C/svg%3E\");background:var(--gse-ui-checkbox-icon-error-foregroundColor)}:host(.gux-input-error) ::slotted(input[type=checkbox]:not(:checked):not(:disabled):not(:indeterminate):hover)::before{-webkit-mask-image:url(\"data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' %3E%3Cpath d='M13.7143 0C14.975 0 16 1.02321 16 2.28571V13.7143C16 14.975 14.975 16 13.7143 16H2.28571C1.02321 16 0 14.975 0 13.7143V2.28571C0 1.02321 1.02321 0 2.28571 0H13.7143ZM13.7143 1.71429H2.28571C1.97 1.71429 1.71429 1.97 1.71429 2.28571V13.7143C1.71429 14.0286 1.97 14.2857 2.28571 14.2857H13.7143C14.0286 14.2857 14.2857 14.0286 14.2857 13.7143V2.28571C14.2857 1.97 14.0286 1.71429 13.7143 1.71429Z' /%3E%3C/svg%3E\");mask-image:url(\"data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' %3E%3Cpath d='M13.7143 0C14.975 0 16 1.02321 16 2.28571V13.7143C16 14.975 14.975 16 13.7143 16H2.28571C1.02321 16 0 14.975 0 13.7143V2.28571C0 1.02321 1.02321 0 2.28571 0H13.7143ZM13.7143 1.71429H2.28571C1.97 1.71429 1.71429 1.97 1.71429 2.28571V13.7143C1.71429 14.0286 1.97 14.2857 2.28571 14.2857H13.7143C14.0286 14.2857 14.2857 14.0286 14.2857 13.7143V2.28571C14.2857 1.97 14.0286 1.71429 13.7143 1.71429Z' /%3E%3C/svg%3E\");background:var(--gse-ui-checkbox-icon-error-foregroundColor)}:host(.gux-input-error) ::slotted(input[type=checkbox]:indeterminate)::before{-webkit-mask-image:url(\"data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' %3E%3Cpath d='M11.1429 7.14286C11.6179 7.14286 12 7.525 12 8C12 8.475 11.6179 8.85714 11.1429 8.85714H4.85714C4.38214 8.85714 4 8.475 4 8C4 7.525 4.38214 7.14286 4.85714 7.14286H11.1429ZM0 2.28571C0 1.02321 1.02321 0 2.28571 0H13.7143C14.975 0 16 1.02321 16 2.28571V13.7143C16 14.975 14.975 16 13.7143 16H2.28571C1.02321 16 0 14.975 0 13.7143V2.28571ZM1.71429 2.28571V13.7143C1.71429 14.0286 1.97 14.2857 2.28571 14.2857H13.7143C14.0286 14.2857 14.2857 14.0286 14.2857 13.7143V2.28571C14.2857 1.97 14.0286 1.71429 13.7143 1.71429H2.28571C1.97 1.71429 1.71429 1.97 1.71429 2.28571Z' /%3E%3C/svg%3E\");mask-image:url(\"data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' %3E%3Cpath d='M11.1429 7.14286C11.6179 7.14286 12 7.525 12 8C12 8.475 11.6179 8.85714 11.1429 8.85714H4.85714C4.38214 8.85714 4 8.475 4 8C4 7.525 4.38214 7.14286 4.85714 7.14286H11.1429ZM0 2.28571C0 1.02321 1.02321 0 2.28571 0H13.7143C14.975 0 16 1.02321 16 2.28571V13.7143C16 14.975 14.975 16 13.7143 16H2.28571C1.02321 16 0 14.975 0 13.7143V2.28571ZM1.71429 2.28571V13.7143C1.71429 14.0286 1.97 14.2857 2.28571 14.2857H13.7143C14.0286 14.2857 14.2857 14.0286 14.2857 13.7143V2.28571C14.2857 1.97 14.0286 1.71429 13.7143 1.71429H2.28571C1.97 1.71429 1.71429 1.97 1.71429 2.28571Z' /%3E%3C/svg%3E\");background:var(--gse-ui-checkbox-icon-error-foregroundColor)}:host(.gux-disabled){cursor:not-allowed;opacity:var(--gse-ui-checkbox-disabled-opacity)}:host(.gux-disabled) ::slotted(label){cursor:not-allowed}.gux-input-label{display:inline-flex;flex-direction:row;gap:var(--gse-ui-checkbox-gap)}.gux-input-label .gux-label-screenreader{position:absolute;top:auto;left:-10000px;width:1px;height:1px;overflow:hidden}::slotted(input[type=checkbox]){display:inline-grid;inline-size:var(--gse-ui-checkbox-icon-width);block-size:var(--gse-ui-checkbox-icon-height);margin:0;vertical-align:middle;text-align:center;-webkit-appearance:none;appearance:none;cursor:pointer;outline:none;border:0}::slotted(input[type=checkbox])::before{grid-area:1/1;content:\"\";border-radius:15%}::slotted(input[type=checkbox]:focus-visible){outline:var(--gse-ui-checkbox-focus-border-width) var(--gse-ui-checkbox-focus-border-style) var(--gse-ui-checkbox-focus-border-color);outline-offset:var(--gse-ui-checkbox-focus-offset);border-radius:var(--gse-ui-checkbox-focus-borderRadiusSmall)}::slotted(input[type=checkbox]:not(:checked))::before{-webkit-mask-image:url(\"data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' %3E%3Cpath d='M13.7143 0C14.975 0 16 1.02321 16 2.28571V13.7143C16 14.975 14.975 16 13.7143 16H2.28571C1.02321 16 0 14.975 0 13.7143V2.28571C0 1.02321 1.02321 0 2.28571 0H13.7143ZM13.7143 1.71429H2.28571C1.97 1.71429 1.71429 1.97 1.71429 2.28571V13.7143C1.71429 14.0286 1.97 14.2857 2.28571 14.2857H13.7143C14.0286 14.2857 14.2857 14.0286 14.2857 13.7143V2.28571C14.2857 1.97 14.0286 1.71429 13.7143 1.71429Z' /%3E%3C/svg%3E\");mask-image:url(\"data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' %3E%3Cpath d='M13.7143 0C14.975 0 16 1.02321 16 2.28571V13.7143C16 14.975 14.975 16 13.7143 16H2.28571C1.02321 16 0 14.975 0 13.7143V2.28571C0 1.02321 1.02321 0 2.28571 0H13.7143ZM13.7143 1.71429H2.28571C1.97 1.71429 1.71429 1.97 1.71429 2.28571V13.7143C1.71429 14.0286 1.97 14.2857 2.28571 14.2857H13.7143C14.0286 14.2857 14.2857 14.0286 14.2857 13.7143V2.28571C14.2857 1.97 14.0286 1.71429 13.7143 1.71429Z' /%3E%3C/svg%3E\");background:var(--gse-ui-checkbox-icon-default-unselectedForegroundColor)}::slotted(input[type=checkbox]:not(:checked):not(:disabled):not(:indeterminate):hover)::before{-webkit-mask-image:url(\"data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' %3E%3Cpath d='M13.7143 0C14.975 0 16 1.02321 16 2.28571V13.7143C16 14.975 14.975 16 13.7143 16H2.28571C1.02321 16 0 14.975 0 13.7143V2.28571C0 1.02321 1.02321 0 2.28571 0H13.7143ZM13.7143 1.71429H2.28571C1.97 1.71429 1.71429 1.97 1.71429 2.28571V13.7143C1.71429 14.0286 1.97 14.2857 2.28571 14.2857H13.7143C14.0286 14.2857 14.2857 14.0286 14.2857 13.7143V2.28571C14.2857 1.97 14.0286 1.71429 13.7143 1.71429Z' /%3E%3C/svg%3E\");mask-image:url(\"data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' %3E%3Cpath d='M13.7143 0C14.975 0 16 1.02321 16 2.28571V13.7143C16 14.975 14.975 16 13.7143 16H2.28571C1.02321 16 0 14.975 0 13.7143V2.28571C0 1.02321 1.02321 0 2.28571 0H13.7143ZM13.7143 1.71429H2.28571C1.97 1.71429 1.71429 1.97 1.71429 2.28571V13.7143C1.71429 14.0286 1.97 14.2857 2.28571 14.2857H13.7143C14.0286 14.2857 14.2857 14.0286 14.2857 13.7143V2.28571C14.2857 1.97 14.0286 1.71429 13.7143 1.71429Z' /%3E%3C/svg%3E\");background:var(--gse-ui-checkbox-icon-hover-foregroundColor)}::slotted(input[type=checkbox]:checked:not(:disabled):hover){-webkit-mask-image:url(\"data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' %3E%3Cpath d='M2.28571 0C1.025 0 0 1.025 0 2.28571V13.7143C0 14.975 1.025 16 2.28571 16H13.7143C14.975 16 16 14.975 16 13.7143V2.28571C16 1.025 14.975 0 13.7143 0H2.28571ZM12.0357 6.32143L7.46429 10.8929C7.12857 11.2286 6.58571 11.2286 6.25357 10.8929L3.96786 8.60714C3.63214 8.27143 3.63214 7.72857 3.96786 7.39643C4.30357 7.06429 4.84643 7.06071 5.17857 7.39643L6.85714 9.075L10.8214 5.10714C11.1571 4.77143 11.7 4.77143 12.0321 5.10714C12.3643 5.44286 12.3679 5.98571 12.0321 6.31786L12.0357 6.32143Z' /%3E%3C/svg%3E\");mask-image:url(\"data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' %3E%3Cpath d='M2.28571 0C1.025 0 0 1.025 0 2.28571V13.7143C0 14.975 1.025 16 2.28571 16H13.7143C14.975 16 16 14.975 16 13.7143V2.28571C16 1.025 14.975 0 13.7143 0H2.28571ZM12.0357 6.32143L7.46429 10.8929C7.12857 11.2286 6.58571 11.2286 6.25357 10.8929L3.96786 8.60714C3.63214 8.27143 3.63214 7.72857 3.96786 7.39643C4.30357 7.06429 4.84643 7.06071 5.17857 7.39643L6.85714 9.075L10.8214 5.10714C11.1571 4.77143 11.7 4.77143 12.0321 5.10714C12.3643 5.44286 12.3679 5.98571 12.0321 6.31786L12.0357 6.32143Z' /%3E%3C/svg%3E\");background:var(--gse-ui-checkbox-icon-hover-foregroundColor)}::slotted(input[type=checkbox]:not(:disabled):indeterminate:hover){-webkit-mask-image:url(\"data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' %3E%3Cpath d='M11.1429 7.14286C11.6179 7.14286 12 7.525 12 8C12 8.475 11.6179 8.85714 11.1429 8.85714H4.85714C4.38214 8.85714 4 8.475 4 8C4 7.525 4.38214 7.14286 4.85714 7.14286H11.1429ZM0 2.28571C0 1.02321 1.02321 0 2.28571 0H13.7143C14.975 0 16 1.02321 16 2.28571V13.7143C16 14.975 14.975 16 13.7143 16H2.28571C1.02321 16 0 14.975 0 13.7143V2.28571ZM1.71429 2.28571V13.7143C1.71429 14.0286 1.97 14.2857 2.28571 14.2857H13.7143C14.0286 14.2857 14.2857 14.0286 14.2857 13.7143V2.28571C14.2857 1.97 14.0286 1.71429 13.7143 1.71429H2.28571C1.97 1.71429 1.71429 1.97 1.71429 2.28571Z' /%3E%3C/svg%3E\");mask-image:url(\"data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' %3E%3Cpath d='M11.1429 7.14286C11.6179 7.14286 12 7.525 12 8C12 8.475 11.6179 8.85714 11.1429 8.85714H4.85714C4.38214 8.85714 4 8.475 4 8C4 7.525 4.38214 7.14286 4.85714 7.14286H11.1429ZM0 2.28571C0 1.02321 1.02321 0 2.28571 0H13.7143C14.975 0 16 1.02321 16 2.28571V13.7143C16 14.975 14.975 16 13.7143 16H2.28571C1.02321 16 0 14.975 0 13.7143V2.28571ZM1.71429 2.28571V13.7143C1.71429 14.0286 1.97 14.2857 2.28571 14.2857H13.7143C14.0286 14.2857 14.2857 14.0286 14.2857 13.7143V2.28571C14.2857 1.97 14.0286 1.71429 13.7143 1.71429H2.28571C1.97 1.71429 1.71429 1.97 1.71429 2.28571Z' /%3E%3C/svg%3E\");background:var(--gse-ui-checkbox-icon-hover-foregroundColor)}::slotted(input[type=checkbox]:checked)::before{-webkit-mask-image:url(\"data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' %3E%3Cpath d='M2.28571 0C1.025 0 0 1.025 0 2.28571V13.7143C0 14.975 1.025 16 2.28571 16H13.7143C14.975 16 16 14.975 16 13.7143V2.28571C16 1.025 14.975 0 13.7143 0H2.28571ZM12.0357 6.32143L7.46429 10.8929C7.12857 11.2286 6.58571 11.2286 6.25357 10.8929L3.96786 8.60714C3.63214 8.27143 3.63214 7.72857 3.96786 7.39643C4.30357 7.06429 4.84643 7.06071 5.17857 7.39643L6.85714 9.075L10.8214 5.10714C11.1571 4.77143 11.7 4.77143 12.0321 5.10714C12.3643 5.44286 12.3679 5.98571 12.0321 6.31786L12.0357 6.32143Z' /%3E%3C/svg%3E\");mask-image:url(\"data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' %3E%3Cpath d='M2.28571 0C1.025 0 0 1.025 0 2.28571V13.7143C0 14.975 1.025 16 2.28571 16H13.7143C14.975 16 16 14.975 16 13.7143V2.28571C16 1.025 14.975 0 13.7143 0H2.28571ZM12.0357 6.32143L7.46429 10.8929C7.12857 11.2286 6.58571 11.2286 6.25357 10.8929L3.96786 8.60714C3.63214 8.27143 3.63214 7.72857 3.96786 7.39643C4.30357 7.06429 4.84643 7.06071 5.17857 7.39643L6.85714 9.075L10.8214 5.10714C11.1571 4.77143 11.7 4.77143 12.0321 5.10714C12.3643 5.44286 12.3679 5.98571 12.0321 6.31786L12.0357 6.32143Z' /%3E%3C/svg%3E\");background:var(--gse-ui-checkbox-icon-default-selectedForegroundColor)}::slotted(input[type=checkbox]:indeterminate)::before{-webkit-mask-image:url(\"data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' %3E%3Cpath d='M11.1429 7.14286C11.6179 7.14286 12 7.525 12 8C12 8.475 11.6179 8.85714 11.1429 8.85714H4.85714C4.38214 8.85714 4 8.475 4 8C4 7.525 4.38214 7.14286 4.85714 7.14286H11.1429ZM0 2.28571C0 1.02321 1.02321 0 2.28571 0H13.7143C14.975 0 16 1.02321 16 2.28571V13.7143C16 14.975 14.975 16 13.7143 16H2.28571C1.02321 16 0 14.975 0 13.7143V2.28571ZM1.71429 2.28571V13.7143C1.71429 14.0286 1.97 14.2857 2.28571 14.2857H13.7143C14.0286 14.2857 14.2857 14.0286 14.2857 13.7143V2.28571C14.2857 1.97 14.0286 1.71429 13.7143 1.71429H2.28571C1.97 1.71429 1.71429 1.97 1.71429 2.28571Z'/%3E%3C/svg%3E\");mask-image:url(\"data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' %3E%3Cpath d='M11.1429 7.14286C11.6179 7.14286 12 7.525 12 8C12 8.475 11.6179 8.85714 11.1429 8.85714H4.85714C4.38214 8.85714 4 8.475 4 8C4 7.525 4.38214 7.14286 4.85714 7.14286H11.1429ZM0 2.28571C0 1.02321 1.02321 0 2.28571 0H13.7143C14.975 0 16 1.02321 16 2.28571V13.7143C16 14.975 14.975 16 13.7143 16H2.28571C1.02321 16 0 14.975 0 13.7143V2.28571ZM1.71429 2.28571V13.7143C1.71429 14.0286 1.97 14.2857 2.28571 14.2857H13.7143C14.0286 14.2857 14.2857 14.0286 14.2857 13.7143V2.28571C14.2857 1.97 14.0286 1.71429 13.7143 1.71429H2.28571C1.97 1.71429 1.71429 1.97 1.71429 2.28571Z'/%3E%3C/svg%3E\");background:var(--gse-ui-checkbox-icon-default-selectedForegroundColor)}::slotted(input[type=checkbox]:disabled)::before{cursor:not-allowed;opacity:var(--gse-ui-checkbox-disabled-opacity)}::slotted(label){display:inline-block;font-family:var(--gse-ui-checkbox-label-text-fontFamily);font-size:12px;font-weight:var(--gse-ui-checkbox-label-text-fontWeight);line-height:var(--gse-ui-checkbox-label-text-lineHeight);vertical-align:middle;color:var(--gse-ui-checkbox-label-foregroundColor)}";export{u as gux_form_field_checkbox}
1
+ import{r as e,h as o,H as t,g as r}from"./p-cf74fd3d.js";import{c as a,o as s}from"./p-f4751a15.js";import{O as i}from"./p-946c70b7.js";import{p as l}from"./p-a11d5d42.js";import{h as C}from"./p-6d8b4027.js";import{a as g,G as c}from"./p-56b18d28.js";import{t as n}from"./p-c35a9bb6.js";import{g as d,v as h}from"./p-4aaf349e.js";import"./p-0934300e.js";import"./p-8eaf8caf.js";import"./p-2c25e2f2.js";const u=class{constructor(o){e(this,o),this.labelPosition="beside",this.hasHelp=!1,this.hasError=!1,this.hasGroupError=!1,this.hasGroupDisabled=!1}onMutation(){this.hasError=C(this.root,"error"),this.hasHelp=C(this.root,"help")}componentWillLoad(){this.setInput(),this.hasError=C(this.root,"error"),this.hasHelp=C(this.root,"help"),n(this.root,{variant:this.variant})}disconnectedCallback(){this.disabledObserver&&this.disabledObserver.disconnect()}render(){return o(t,{key:"3807b1ae64ec97a88b614521d43e17cfc42529b9",class:{"gux-input-error":this.hasError||this.hasGroupError,"gux-disabled":this.disabled}},o("div",{key:"4b0197733ce8805e94ea35710c631cdaa75a9f08",class:"gux-form-field-container"},o("div",{key:"21bff41e6716c39404111211b3961a12572dabc0",class:"gux-input-label"},o("div",{key:"248842d8c5b1925209fe3c8d71e9401d85df5be3",class:"gux-input"},o("slot",{key:"617fbbb990ac8aaca2419f39cc67e7ce71fc747d",name:"input",onSlotchange:()=>this.setInput()})),o("div",{key:"4c6008656f5972debaf900588c98feca21735cc7",class:`gux-label-${this.labelPosition}`,"aria-disabled":this.disabled?"true":"false"},o("slot",{key:"b025ca7c7be84f0567b62010b5a07e04edfd00c5",name:"label"}))),o("div",{key:"30174559135d2382d8148678ee15258be90d24cf",class:"error-and-help-text"},o(g,{key:"4e8f50c6416a5114c67e95afdd10ca2bf54ae4dc",show:this.hasError},o("slot",{key:"afe78c0a23baf77e348845cb11aacf66f32948a9",name:"error"})),o(c,{key:"d13d0a3b79454de838274b5f91066ec785771c4b",show:!this.hasError&&this.hasHelp},o("slot",{key:"0f5c4a72d948a21fc12b7589269c0366b6ebab26",name:"help"})))))}get variant(){return this.labelPosition.toLowerCase()}setInput(){this.input=d(this.root,'input[type="checkbox"][slot="input"]'),this.hasGroupDisabled&&(this.input.disabled=!0),l(this.input),this.disabled=a(this.input),this.disabledObserver=s(this.input,(e=>{this.disabled=e})),h(this.root,this.input)}get root(){return r(this)}};(function(e,o,t,r){var a,s=arguments.length,i=s<3?o:null===r?r=Object.getOwnPropertyDescriptor(o,t):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)i=Reflect.decorate(e,o,t,r);else for(var l=e.length-1;l>=0;l--)(a=e[l])&&(i=(s<3?a(i):s>3?a(o,t,i):a(o,t))||i);s>3&&i&&Object.defineProperty(o,t,i)})([i({childList:!0,subtree:!0})],u.prototype,"onMutation",null),u.style=".gux-form-field-error{display:none;flex-direction:row;flex-wrap:nowrap;gap:var(--gse-ui-formControl-helper-gap);place-content:stretch flex-start;padding:var(--gse-ui-formControl-helper-errorPadding);font-family:var(--gse-ui-formControl-helper-helperText-fontFamily);font-size:var(--gse-ui-formControl-helper-helperText-fontSize);line-height:var(--gse-ui-formControl-helper-helperText-lineHeight);color:var(--gse-ui-formControl-helper-errorColor)}.gux-form-field-error.gux-show{display:flex}.gux-form-field-error gux-icon{flex:0 1 auto;order:0;color:var(--gse-ui-formControl-helper-errorColor)}.gux-form-field-error .gux-message{flex:0 1 auto;align-self:auto;order:0}.gux-form-field-help{display:none;flex-direction:row;flex-wrap:nowrap;place-content:stretch flex-start;align-items:flex-start;justify-content:flex-start;padding-block-start:var(--gse-ui-formControl-formField-gap);font-family:var(--gse-ui-formControl-helper-helperText-fontFamily);font-size:var(--gse-ui-formControl-helper-helperText-fontSize);line-height:var(--gse-ui-formControl-helper-helperText-lineHeight);color:var(--gse-ui-formControl-helper-defaultColor)}.gux-form-field-help.gux-show{display:flex}.gux-form-field-help .gux-message{flex:0 1 auto;align-self:none;order:0}:host{display:block}:host(.gux-input-error) ::slotted(input[type=checkbox]:not(:checked))::before{-webkit-mask-image:url(\"data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' %3E%3Cpath d='M13.7143 0C14.975 0 16 1.02321 16 2.28571V13.7143C16 14.975 14.975 16 13.7143 16H2.28571C1.02321 16 0 14.975 0 13.7143V2.28571C0 1.02321 1.02321 0 2.28571 0H13.7143ZM13.7143 1.71429H2.28571C1.97 1.71429 1.71429 1.97 1.71429 2.28571V13.7143C1.71429 14.0286 1.97 14.2857 2.28571 14.2857H13.7143C14.0286 14.2857 14.2857 14.0286 14.2857 13.7143V2.28571C14.2857 1.97 14.0286 1.71429 13.7143 1.71429Z' /%3E%3C/svg%3E\");mask-image:url(\"data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' %3E%3Cpath d='M13.7143 0C14.975 0 16 1.02321 16 2.28571V13.7143C16 14.975 14.975 16 13.7143 16H2.28571C1.02321 16 0 14.975 0 13.7143V2.28571C0 1.02321 1.02321 0 2.28571 0H13.7143ZM13.7143 1.71429H2.28571C1.97 1.71429 1.71429 1.97 1.71429 2.28571V13.7143C1.71429 14.0286 1.97 14.2857 2.28571 14.2857H13.7143C14.0286 14.2857 14.2857 14.0286 14.2857 13.7143V2.28571C14.2857 1.97 14.0286 1.71429 13.7143 1.71429Z' /%3E%3C/svg%3E\");background:var(--gse-ui-checkbox-icon-error-foregroundColor)}:host(.gux-input-error) ::slotted(input[type=checkbox]:checked)::before{-webkit-mask-image:url(\"data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' %3E%3Cpath d='M2.28571 0C1.025 0 0 1.025 0 2.28571V13.7143C0 14.975 1.025 16 2.28571 16H13.7143C14.975 16 16 14.975 16 13.7143V2.28571C16 1.025 14.975 0 13.7143 0H2.28571ZM12.0357 6.32143L7.46429 10.8929C7.12857 11.2286 6.58571 11.2286 6.25357 10.8929L3.96786 8.60714C3.63214 8.27143 3.63214 7.72857 3.96786 7.39643C4.30357 7.06429 4.84643 7.06071 5.17857 7.39643L6.85714 9.075L10.8214 5.10714C11.1571 4.77143 11.7 4.77143 12.0321 5.10714C12.3643 5.44286 12.3679 5.98571 12.0321 6.31786L12.0357 6.32143Z' /%3E%3C/svg%3E\");mask-image:url(\"data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' %3E%3Cpath d='M2.28571 0C1.025 0 0 1.025 0 2.28571V13.7143C0 14.975 1.025 16 2.28571 16H13.7143C14.975 16 16 14.975 16 13.7143V2.28571C16 1.025 14.975 0 13.7143 0H2.28571ZM12.0357 6.32143L7.46429 10.8929C7.12857 11.2286 6.58571 11.2286 6.25357 10.8929L3.96786 8.60714C3.63214 8.27143 3.63214 7.72857 3.96786 7.39643C4.30357 7.06429 4.84643 7.06071 5.17857 7.39643L6.85714 9.075L10.8214 5.10714C11.1571 4.77143 11.7 4.77143 12.0321 5.10714C12.3643 5.44286 12.3679 5.98571 12.0321 6.31786L12.0357 6.32143Z' /%3E%3C/svg%3E\");background:var(--gse-ui-checkbox-icon-error-foregroundColor)}:host(.gux-input-error) ::slotted(input[type=checkbox]:not(:checked):not(:disabled):not(:indeterminate):hover)::before{-webkit-mask-image:url(\"data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' %3E%3Cpath d='M13.7143 0C14.975 0 16 1.02321 16 2.28571V13.7143C16 14.975 14.975 16 13.7143 16H2.28571C1.02321 16 0 14.975 0 13.7143V2.28571C0 1.02321 1.02321 0 2.28571 0H13.7143ZM13.7143 1.71429H2.28571C1.97 1.71429 1.71429 1.97 1.71429 2.28571V13.7143C1.71429 14.0286 1.97 14.2857 2.28571 14.2857H13.7143C14.0286 14.2857 14.2857 14.0286 14.2857 13.7143V2.28571C14.2857 1.97 14.0286 1.71429 13.7143 1.71429Z' /%3E%3C/svg%3E\");mask-image:url(\"data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' %3E%3Cpath d='M13.7143 0C14.975 0 16 1.02321 16 2.28571V13.7143C16 14.975 14.975 16 13.7143 16H2.28571C1.02321 16 0 14.975 0 13.7143V2.28571C0 1.02321 1.02321 0 2.28571 0H13.7143ZM13.7143 1.71429H2.28571C1.97 1.71429 1.71429 1.97 1.71429 2.28571V13.7143C1.71429 14.0286 1.97 14.2857 2.28571 14.2857H13.7143C14.0286 14.2857 14.2857 14.0286 14.2857 13.7143V2.28571C14.2857 1.97 14.0286 1.71429 13.7143 1.71429Z' /%3E%3C/svg%3E\");background:var(--gse-ui-checkbox-icon-error-foregroundColor)}:host(.gux-input-error) ::slotted(input[type=checkbox]:indeterminate)::before{-webkit-mask-image:url(\"data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' %3E%3Cpath d='M11.1429 7.14286C11.6179 7.14286 12 7.525 12 8C12 8.475 11.6179 8.85714 11.1429 8.85714H4.85714C4.38214 8.85714 4 8.475 4 8C4 7.525 4.38214 7.14286 4.85714 7.14286H11.1429ZM0 2.28571C0 1.02321 1.02321 0 2.28571 0H13.7143C14.975 0 16 1.02321 16 2.28571V13.7143C16 14.975 14.975 16 13.7143 16H2.28571C1.02321 16 0 14.975 0 13.7143V2.28571ZM1.71429 2.28571V13.7143C1.71429 14.0286 1.97 14.2857 2.28571 14.2857H13.7143C14.0286 14.2857 14.2857 14.0286 14.2857 13.7143V2.28571C14.2857 1.97 14.0286 1.71429 13.7143 1.71429H2.28571C1.97 1.71429 1.71429 1.97 1.71429 2.28571Z' /%3E%3C/svg%3E\");mask-image:url(\"data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' %3E%3Cpath d='M11.1429 7.14286C11.6179 7.14286 12 7.525 12 8C12 8.475 11.6179 8.85714 11.1429 8.85714H4.85714C4.38214 8.85714 4 8.475 4 8C4 7.525 4.38214 7.14286 4.85714 7.14286H11.1429ZM0 2.28571C0 1.02321 1.02321 0 2.28571 0H13.7143C14.975 0 16 1.02321 16 2.28571V13.7143C16 14.975 14.975 16 13.7143 16H2.28571C1.02321 16 0 14.975 0 13.7143V2.28571ZM1.71429 2.28571V13.7143C1.71429 14.0286 1.97 14.2857 2.28571 14.2857H13.7143C14.0286 14.2857 14.2857 14.0286 14.2857 13.7143V2.28571C14.2857 1.97 14.0286 1.71429 13.7143 1.71429H2.28571C1.97 1.71429 1.71429 1.97 1.71429 2.28571Z' /%3E%3C/svg%3E\");background:var(--gse-ui-checkbox-icon-error-foregroundColor)}:host(.gux-disabled){cursor:not-allowed;opacity:var(--gse-ui-checkbox-disabled-opacity)}:host(.gux-disabled) ::slotted(label){cursor:not-allowed}.gux-input-label{display:inline-flex;flex-direction:row;gap:var(--gse-ui-checkbox-gap)}.gux-input-label .gux-label-screenreader{position:absolute;top:auto;left:-10000px;width:1px;height:1px;overflow:hidden}::slotted(input[type=checkbox]){display:inline-grid;inline-size:var(--gse-ui-checkbox-icon-width);block-size:var(--gse-ui-checkbox-icon-height);margin:0;vertical-align:middle;text-align:center;-webkit-appearance:none;appearance:none;cursor:pointer;outline:none;border:0}::slotted(input[type=checkbox])::before{grid-area:1/1;content:\"\";border-radius:15%}::slotted(input[type=checkbox]:focus-visible){outline:var(--gse-ui-checkbox-focus-border-width) var(--gse-ui-checkbox-focus-border-style) var(--gse-ui-checkbox-focus-border-color);outline-offset:var(--gse-ui-checkbox-focus-offset);border-radius:var(--gse-ui-checkbox-focus-borderRadiusSmall)}::slotted(input[type=checkbox]:not(:checked))::before{-webkit-mask-image:url(\"data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' %3E%3Cpath d='M13.7143 0C14.975 0 16 1.02321 16 2.28571V13.7143C16 14.975 14.975 16 13.7143 16H2.28571C1.02321 16 0 14.975 0 13.7143V2.28571C0 1.02321 1.02321 0 2.28571 0H13.7143ZM13.7143 1.71429H2.28571C1.97 1.71429 1.71429 1.97 1.71429 2.28571V13.7143C1.71429 14.0286 1.97 14.2857 2.28571 14.2857H13.7143C14.0286 14.2857 14.2857 14.0286 14.2857 13.7143V2.28571C14.2857 1.97 14.0286 1.71429 13.7143 1.71429Z' /%3E%3C/svg%3E\");mask-image:url(\"data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' %3E%3Cpath d='M13.7143 0C14.975 0 16 1.02321 16 2.28571V13.7143C16 14.975 14.975 16 13.7143 16H2.28571C1.02321 16 0 14.975 0 13.7143V2.28571C0 1.02321 1.02321 0 2.28571 0H13.7143ZM13.7143 1.71429H2.28571C1.97 1.71429 1.71429 1.97 1.71429 2.28571V13.7143C1.71429 14.0286 1.97 14.2857 2.28571 14.2857H13.7143C14.0286 14.2857 14.2857 14.0286 14.2857 13.7143V2.28571C14.2857 1.97 14.0286 1.71429 13.7143 1.71429Z' /%3E%3C/svg%3E\");background:var(--gse-ui-checkbox-icon-default-unselectedForegroundColor)}::slotted(input[type=checkbox]:not(:checked):not(:disabled):not(:indeterminate):hover)::before{-webkit-mask-image:url(\"data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' %3E%3Cpath d='M13.7143 0C14.975 0 16 1.02321 16 2.28571V13.7143C16 14.975 14.975 16 13.7143 16H2.28571C1.02321 16 0 14.975 0 13.7143V2.28571C0 1.02321 1.02321 0 2.28571 0H13.7143ZM13.7143 1.71429H2.28571C1.97 1.71429 1.71429 1.97 1.71429 2.28571V13.7143C1.71429 14.0286 1.97 14.2857 2.28571 14.2857H13.7143C14.0286 14.2857 14.2857 14.0286 14.2857 13.7143V2.28571C14.2857 1.97 14.0286 1.71429 13.7143 1.71429Z' /%3E%3C/svg%3E\");mask-image:url(\"data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' %3E%3Cpath d='M13.7143 0C14.975 0 16 1.02321 16 2.28571V13.7143C16 14.975 14.975 16 13.7143 16H2.28571C1.02321 16 0 14.975 0 13.7143V2.28571C0 1.02321 1.02321 0 2.28571 0H13.7143ZM13.7143 1.71429H2.28571C1.97 1.71429 1.71429 1.97 1.71429 2.28571V13.7143C1.71429 14.0286 1.97 14.2857 2.28571 14.2857H13.7143C14.0286 14.2857 14.2857 14.0286 14.2857 13.7143V2.28571C14.2857 1.97 14.0286 1.71429 13.7143 1.71429Z' /%3E%3C/svg%3E\");background:var(--gse-ui-checkbox-icon-hover-foregroundColor)}::slotted(input[type=checkbox]:checked:not(:disabled):hover){-webkit-mask-image:url(\"data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' %3E%3Cpath d='M2.28571 0C1.025 0 0 1.025 0 2.28571V13.7143C0 14.975 1.025 16 2.28571 16H13.7143C14.975 16 16 14.975 16 13.7143V2.28571C16 1.025 14.975 0 13.7143 0H2.28571ZM12.0357 6.32143L7.46429 10.8929C7.12857 11.2286 6.58571 11.2286 6.25357 10.8929L3.96786 8.60714C3.63214 8.27143 3.63214 7.72857 3.96786 7.39643C4.30357 7.06429 4.84643 7.06071 5.17857 7.39643L6.85714 9.075L10.8214 5.10714C11.1571 4.77143 11.7 4.77143 12.0321 5.10714C12.3643 5.44286 12.3679 5.98571 12.0321 6.31786L12.0357 6.32143Z' /%3E%3C/svg%3E\");mask-image:url(\"data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' %3E%3Cpath d='M2.28571 0C1.025 0 0 1.025 0 2.28571V13.7143C0 14.975 1.025 16 2.28571 16H13.7143C14.975 16 16 14.975 16 13.7143V2.28571C16 1.025 14.975 0 13.7143 0H2.28571ZM12.0357 6.32143L7.46429 10.8929C7.12857 11.2286 6.58571 11.2286 6.25357 10.8929L3.96786 8.60714C3.63214 8.27143 3.63214 7.72857 3.96786 7.39643C4.30357 7.06429 4.84643 7.06071 5.17857 7.39643L6.85714 9.075L10.8214 5.10714C11.1571 4.77143 11.7 4.77143 12.0321 5.10714C12.3643 5.44286 12.3679 5.98571 12.0321 6.31786L12.0357 6.32143Z' /%3E%3C/svg%3E\");background:var(--gse-ui-checkbox-icon-hover-foregroundColor)}::slotted(input[type=checkbox]:not(:disabled):indeterminate:hover){-webkit-mask-image:url(\"data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' %3E%3Cpath d='M11.1429 7.14286C11.6179 7.14286 12 7.525 12 8C12 8.475 11.6179 8.85714 11.1429 8.85714H4.85714C4.38214 8.85714 4 8.475 4 8C4 7.525 4.38214 7.14286 4.85714 7.14286H11.1429ZM0 2.28571C0 1.02321 1.02321 0 2.28571 0H13.7143C14.975 0 16 1.02321 16 2.28571V13.7143C16 14.975 14.975 16 13.7143 16H2.28571C1.02321 16 0 14.975 0 13.7143V2.28571ZM1.71429 2.28571V13.7143C1.71429 14.0286 1.97 14.2857 2.28571 14.2857H13.7143C14.0286 14.2857 14.2857 14.0286 14.2857 13.7143V2.28571C14.2857 1.97 14.0286 1.71429 13.7143 1.71429H2.28571C1.97 1.71429 1.71429 1.97 1.71429 2.28571Z' /%3E%3C/svg%3E\");mask-image:url(\"data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' %3E%3Cpath d='M11.1429 7.14286C11.6179 7.14286 12 7.525 12 8C12 8.475 11.6179 8.85714 11.1429 8.85714H4.85714C4.38214 8.85714 4 8.475 4 8C4 7.525 4.38214 7.14286 4.85714 7.14286H11.1429ZM0 2.28571C0 1.02321 1.02321 0 2.28571 0H13.7143C14.975 0 16 1.02321 16 2.28571V13.7143C16 14.975 14.975 16 13.7143 16H2.28571C1.02321 16 0 14.975 0 13.7143V2.28571ZM1.71429 2.28571V13.7143C1.71429 14.0286 1.97 14.2857 2.28571 14.2857H13.7143C14.0286 14.2857 14.2857 14.0286 14.2857 13.7143V2.28571C14.2857 1.97 14.0286 1.71429 13.7143 1.71429H2.28571C1.97 1.71429 1.71429 1.97 1.71429 2.28571Z' /%3E%3C/svg%3E\");background:var(--gse-ui-checkbox-icon-hover-foregroundColor)}::slotted(input[type=checkbox]:checked)::before{-webkit-mask-image:url(\"data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' %3E%3Cpath d='M2.28571 0C1.025 0 0 1.025 0 2.28571V13.7143C0 14.975 1.025 16 2.28571 16H13.7143C14.975 16 16 14.975 16 13.7143V2.28571C16 1.025 14.975 0 13.7143 0H2.28571ZM12.0357 6.32143L7.46429 10.8929C7.12857 11.2286 6.58571 11.2286 6.25357 10.8929L3.96786 8.60714C3.63214 8.27143 3.63214 7.72857 3.96786 7.39643C4.30357 7.06429 4.84643 7.06071 5.17857 7.39643L6.85714 9.075L10.8214 5.10714C11.1571 4.77143 11.7 4.77143 12.0321 5.10714C12.3643 5.44286 12.3679 5.98571 12.0321 6.31786L12.0357 6.32143Z' /%3E%3C/svg%3E\");mask-image:url(\"data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' %3E%3Cpath d='M2.28571 0C1.025 0 0 1.025 0 2.28571V13.7143C0 14.975 1.025 16 2.28571 16H13.7143C14.975 16 16 14.975 16 13.7143V2.28571C16 1.025 14.975 0 13.7143 0H2.28571ZM12.0357 6.32143L7.46429 10.8929C7.12857 11.2286 6.58571 11.2286 6.25357 10.8929L3.96786 8.60714C3.63214 8.27143 3.63214 7.72857 3.96786 7.39643C4.30357 7.06429 4.84643 7.06071 5.17857 7.39643L6.85714 9.075L10.8214 5.10714C11.1571 4.77143 11.7 4.77143 12.0321 5.10714C12.3643 5.44286 12.3679 5.98571 12.0321 6.31786L12.0357 6.32143Z' /%3E%3C/svg%3E\");background:var(--gse-ui-checkbox-icon-default-selectedForegroundColor)}::slotted(input[type=checkbox]:indeterminate)::before{-webkit-mask-image:url(\"data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' %3E%3Cpath d='M11.1429 7.14286C11.6179 7.14286 12 7.525 12 8C12 8.475 11.6179 8.85714 11.1429 8.85714H4.85714C4.38214 8.85714 4 8.475 4 8C4 7.525 4.38214 7.14286 4.85714 7.14286H11.1429ZM0 2.28571C0 1.02321 1.02321 0 2.28571 0H13.7143C14.975 0 16 1.02321 16 2.28571V13.7143C16 14.975 14.975 16 13.7143 16H2.28571C1.02321 16 0 14.975 0 13.7143V2.28571ZM1.71429 2.28571V13.7143C1.71429 14.0286 1.97 14.2857 2.28571 14.2857H13.7143C14.0286 14.2857 14.2857 14.0286 14.2857 13.7143V2.28571C14.2857 1.97 14.0286 1.71429 13.7143 1.71429H2.28571C1.97 1.71429 1.71429 1.97 1.71429 2.28571Z'/%3E%3C/svg%3E\");mask-image:url(\"data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' %3E%3Cpath d='M11.1429 7.14286C11.6179 7.14286 12 7.525 12 8C12 8.475 11.6179 8.85714 11.1429 8.85714H4.85714C4.38214 8.85714 4 8.475 4 8C4 7.525 4.38214 7.14286 4.85714 7.14286H11.1429ZM0 2.28571C0 1.02321 1.02321 0 2.28571 0H13.7143C14.975 0 16 1.02321 16 2.28571V13.7143C16 14.975 14.975 16 13.7143 16H2.28571C1.02321 16 0 14.975 0 13.7143V2.28571ZM1.71429 2.28571V13.7143C1.71429 14.0286 1.97 14.2857 2.28571 14.2857H13.7143C14.0286 14.2857 14.2857 14.0286 14.2857 13.7143V2.28571C14.2857 1.97 14.0286 1.71429 13.7143 1.71429H2.28571C1.97 1.71429 1.71429 1.97 1.71429 2.28571Z'/%3E%3C/svg%3E\");background:var(--gse-ui-checkbox-icon-default-selectedForegroundColor)}::slotted(input[type=checkbox]:disabled)::before{cursor:not-allowed;opacity:var(--gse-ui-checkbox-disabled-opacity)}::slotted(label){display:inline-block;font-family:var(--gse-ui-checkbox-label-text-fontFamily);font-size:12px;font-weight:var(--gse-ui-checkbox-label-text-fontWeight);line-height:var(--gse-ui-checkbox-label-text-lineHeight);vertical-align:middle;color:var(--gse-ui-checkbox-label-foregroundColor)}";export{u as gux_form_field_checkbox}
@@ -1 +1 @@
1
- import{r as e,h as i,g as t}from"./p-cf74fd3d.js";import{b as o}from"./p-e5e644b3.js";import{O as r}from"./p-946c70b7.js";import{a as l,o as s}from"./p-6b12dd16.js";import{h as a}from"./p-6d8b4027.js";import{g as n}from"./p-0268a3e8.js";import{a as f,G as h}from"./p-56b18d28.js";import{G as d,a as u,b as c}from"./p-eca567b9.js";import{v as p,a as m}from"./p-4aaf349e.js";import{t as g}from"./p-e79482cf.js";import"./p-4202e9f2.js";import"./p-0934300e.js";import"./p-8eaf8caf.js";import"./p-2c25e2f2.js";const b={required:"Required"};const x=class{constructor(i){e(this,i),this.indicatorMark="required",this.computedLabelPosition="above",this.hasError=!1,this.hasHelp=!1,this.hasLabelInfo=!1}watchValue(e){const i=this.root.querySelector("gux-time-zone-picker-beta");i&&(i.hasError=e)}onMutation(){this.labelInfo=this.root.querySelector("[slot=label-info]"),this.hasError=a(this.root,"error"),this.hasHelp=a(this.root,"help")}handleKeyup(e){var i,t;"Tab"===e.key?this.input.matches(":focus-within")&&(null===(i=this.labelInfo)||void 0===i||i.showTooltip(),this.hideLabelInfoTimeout=setTimeout((()=>{var e;null===(e=this.labelInfo)||void 0===e||e.hideTooltip()}),6e3)):this.input.matches(":focus-within")&&(null===(t=this.labelInfo)||void 0===t||t.hideTooltip(),clearTimeout(this.hideLabelInfoTimeout))}onFocusout(){var e;null===(e=this.labelInfo)||void 0===e||e.hideTooltip(),clearTimeout(this.hideLabelInfoTimeout)}async componentWillLoad(){this.getI18nValue=await o(this.root,b),this.setInput(),this.setLabel(),this.labelInfo=this.root.querySelector("[slot=label-info]"),this.hasError=a(this.root,"error"),this.hasHelp=a(this.root,"help"),this.hasLabelInfo=a(this.root,"label-info"),g(this.root,{variant:this.variant})}disconnectedCallback(){this.disabledObserver&&this.disabledObserver.disconnect(),this.requiredObserver&&this.requiredObserver.disconnect()}render(){var e;return i(c,{key:"5a4493c1f8c9e5d3618cffc378e50f5a79055b4d",labelPosition:this.computedLabelPosition},i(u,{key:"1bc0e7dc45d864ee842129920050614e6cd2d2ed"},null===(e=this.label)||void 0===e?void 0:e.textContent,this.renderText(this.getI18nValue("required"),this.required),this.renderText(n(this.root,"error"),this.hasError),this.renderText(n(this.root,"label-info"),this.hasLabelInfo)),i(d,{key:"8b404bb3d16c262aa86f8fb776ae52a29147693a",position:this.computedLabelPosition,required:this.required},i("slot",{key:"362a673cb006cf6ebcc684e09fc3ec9b9207a3ce",name:"label",onSlotchange:()=>this.setLabel()}),i("gux-form-field-label-indicator",{key:"217f639502817eea789d805e92b46b246f31eb0e",variant:this.indicatorMark,required:this.required}),i("slot",{key:"fe95de1394e09cf1f936d828c3c8f2e0312f2c29",name:"label-info"})),i("slot",{key:"68076e7fb7bc00708b393e7886fa2f26c9131683",name:"label-info"}),i("div",{key:"7612b983aae771d98e2cd3d874e1e47845596a01",class:"gux-input-and-error-container"},i("div",{key:"8828cbdbbbec905a5d5edd5374d8039dfedeff2f",class:{"gux-input":!0,"gux-input-error":this.hasError,"gux-time-zone-picker-container":!0,"gux-disabled":this.disabled}},i("slot",{key:"91694867233c695f0998f32e74bde23222d9948b"})),i(f,{key:"5aa018784fd0bf6567a3d4e113e98a0ba6a1ab11",show:this.hasError},i("slot",{key:"17771e2dc7275cbf4a3c094c806687a029ff806d",name:"error"})),i(h,{key:"6a6764a937e6a6fc34fb7687fc679466f41f7c9e",show:!this.hasError&&this.hasHelp},i("slot",{key:"c4dd635643c051598aedae337d4e9c51ecf881e1",name:"help"}))))}renderText(e,i=!1){if(i)return" "+e}get variant(){return`timeZonePicker-${this.labelPosition?this.labelPosition.toLowerCase():"none"}`}setInput(){this.input=this.root.querySelector("gux-time-zone-picker-beta"),this.disabled=this.input.disabled,this.required=this.input.required,this.disabledObserver=l(this.input,(e=>{this.disabled=e})),this.requiredObserver=s(this.input,(e=>{this.required=e})),p(this.root,this.input)}setLabel(){this.label=this.root.querySelector('label[slot="label"]'),this.computedLabelPosition=m(this.label,this.labelPosition)}get root(){return t(this)}static get watchers(){return{hasError:["watchValue"]}}};(function(e,i,t,o){var r,l=arguments.length,s=l<3?i:null===o?o=Object.getOwnPropertyDescriptor(i,t):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(e,i,t,o);else for(var a=e.length-1;a>=0;a--)(r=e[a])&&(s=(l<3?r(s):l>3?r(i,t,s):r(i,t))||s);l>3&&s&&Object.defineProperty(i,t,s)})([r({childList:!0,subtree:!0})],x.prototype,"onMutation",null),x.style=".gux-form-field-fieldset-container{display:flex;min-inline-size:0;padding:0;margin:0;border:none}.gux-form-field-fieldset-container.gux-beside{flex-direction:row}.gux-form-field-fieldset-container.gux-above{flex-direction:column}.gux-form-field-error{display:none;flex-direction:row;flex-wrap:nowrap;gap:var(--gse-ui-formControl-helper-gap);place-content:stretch flex-start;padding:var(--gse-ui-formControl-helper-errorPadding);font-family:var(--gse-ui-formControl-helper-helperText-fontFamily);font-size:var(--gse-ui-formControl-helper-helperText-fontSize);line-height:var(--gse-ui-formControl-helper-helperText-lineHeight);color:var(--gse-ui-formControl-helper-errorColor)}.gux-form-field-error.gux-show{display:flex}.gux-form-field-error gux-icon{flex:0 1 auto;order:0;color:var(--gse-ui-formControl-helper-errorColor)}.gux-form-field-error .gux-message{flex:0 1 auto;align-self:auto;order:0}.gux-form-field-help{display:none;flex-direction:row;flex-wrap:nowrap;place-content:stretch flex-start;align-items:flex-start;justify-content:flex-start;padding-block-start:var(--gse-ui-formControl-formField-gap);font-family:var(--gse-ui-formControl-helper-helperText-fontFamily);font-size:var(--gse-ui-formControl-helper-helperText-fontSize);line-height:var(--gse-ui-formControl-helper-helperText-lineHeight);color:var(--gse-ui-formControl-helper-defaultColor)}.gux-form-field-help.gux-show{display:flex}.gux-form-field-help .gux-message{flex:0 1 auto;align-self:none;order:0}.gux-form-field-visual-label{display:inline-flex;flex:1 0 auto}.gux-form-field-visual-label ::slotted(gux-label-info-beta){padding-inline-start:var(--gse-ui-formControl-formField-gap)}.gux-form-field-visual-label.gux-beside{position:relative;inset-block-start:var(--gse-ui-formControl-input-top);inline-size:fit-content;min-inline-size:var(--gse-ui-formControl-input-textfield-minWidth);max-inline-size:fit-content;margin-inline-end:var(--gse-ui-formControl-group-gapItems)}.gux-form-field-visual-label.gux-above{padding-block-end:var(--gse-ui-formControl-formField-gap)}.gux-form-field-visual-label.gux-screenreader{display:none}.gux-form-field-screenreader-label{position:absolute;top:auto;left:-10000px;width:1px;height:1px;overflow:hidden}::slotted(label){font-family:var(--gse-ui-formControl-label-textBold-fontFamily);font-size:var(--gse-ui-formControl-label-textBold-fontSize);font-weight:var(--gse-ui-formControl-label-textBold-fontWeight);line-height:var(--gse-ui-formControl-label-textBold-lineHeight);color:var(--gse-ui-formControl-label-labelColor)}.gux-input-and-error-container{flex-grow:1}";export{x as gux_form_field_time_zone_picker}
1
+ import{r as e,h as i,g as t}from"./p-cf74fd3d.js";import{b as o}from"./p-e5e644b3.js";import{O as r}from"./p-946c70b7.js";import{a as l,o as s}from"./p-6b12dd16.js";import{h as a}from"./p-6d8b4027.js";import{g as n}from"./p-0268a3e8.js";import{a as f,G as h}from"./p-56b18d28.js";import{G as d,a as u,b as c}from"./p-eca567b9.js";import{v as p,a as m}from"./p-4aaf349e.js";import{t as g}from"./p-c35a9bb6.js";import"./p-4202e9f2.js";import"./p-0934300e.js";import"./p-8eaf8caf.js";import"./p-2c25e2f2.js";const b={required:"Required"};const x=class{constructor(i){e(this,i),this.indicatorMark="required",this.computedLabelPosition="above",this.hasError=!1,this.hasHelp=!1,this.hasLabelInfo=!1}watchValue(e){const i=this.root.querySelector("gux-time-zone-picker-beta");i&&(i.hasError=e)}onMutation(){this.labelInfo=this.root.querySelector("[slot=label-info]"),this.hasError=a(this.root,"error"),this.hasHelp=a(this.root,"help")}handleKeyup(e){var i,t;"Tab"===e.key?this.input.matches(":focus-within")&&(null===(i=this.labelInfo)||void 0===i||i.showTooltip(),this.hideLabelInfoTimeout=setTimeout((()=>{var e;null===(e=this.labelInfo)||void 0===e||e.hideTooltip()}),6e3)):this.input.matches(":focus-within")&&(null===(t=this.labelInfo)||void 0===t||t.hideTooltip(),clearTimeout(this.hideLabelInfoTimeout))}onFocusout(){var e;null===(e=this.labelInfo)||void 0===e||e.hideTooltip(),clearTimeout(this.hideLabelInfoTimeout)}async componentWillLoad(){this.getI18nValue=await o(this.root,b),this.setInput(),this.setLabel(),this.labelInfo=this.root.querySelector("[slot=label-info]"),this.hasError=a(this.root,"error"),this.hasHelp=a(this.root,"help"),this.hasLabelInfo=a(this.root,"label-info"),g(this.root,{variant:this.variant})}disconnectedCallback(){this.disabledObserver&&this.disabledObserver.disconnect(),this.requiredObserver&&this.requiredObserver.disconnect()}render(){var e;return i(c,{key:"5a4493c1f8c9e5d3618cffc378e50f5a79055b4d",labelPosition:this.computedLabelPosition},i(u,{key:"1bc0e7dc45d864ee842129920050614e6cd2d2ed"},null===(e=this.label)||void 0===e?void 0:e.textContent,this.renderText(this.getI18nValue("required"),this.required),this.renderText(n(this.root,"error"),this.hasError),this.renderText(n(this.root,"label-info"),this.hasLabelInfo)),i(d,{key:"8b404bb3d16c262aa86f8fb776ae52a29147693a",position:this.computedLabelPosition,required:this.required},i("slot",{key:"362a673cb006cf6ebcc684e09fc3ec9b9207a3ce",name:"label",onSlotchange:()=>this.setLabel()}),i("gux-form-field-label-indicator",{key:"217f639502817eea789d805e92b46b246f31eb0e",variant:this.indicatorMark,required:this.required}),i("slot",{key:"fe95de1394e09cf1f936d828c3c8f2e0312f2c29",name:"label-info"})),i("slot",{key:"68076e7fb7bc00708b393e7886fa2f26c9131683",name:"label-info"}),i("div",{key:"7612b983aae771d98e2cd3d874e1e47845596a01",class:"gux-input-and-error-container"},i("div",{key:"8828cbdbbbec905a5d5edd5374d8039dfedeff2f",class:{"gux-input":!0,"gux-input-error":this.hasError,"gux-time-zone-picker-container":!0,"gux-disabled":this.disabled}},i("slot",{key:"91694867233c695f0998f32e74bde23222d9948b"})),i(f,{key:"5aa018784fd0bf6567a3d4e113e98a0ba6a1ab11",show:this.hasError},i("slot",{key:"17771e2dc7275cbf4a3c094c806687a029ff806d",name:"error"})),i(h,{key:"6a6764a937e6a6fc34fb7687fc679466f41f7c9e",show:!this.hasError&&this.hasHelp},i("slot",{key:"c4dd635643c051598aedae337d4e9c51ecf881e1",name:"help"}))))}renderText(e,i=!1){if(i)return" "+e}get variant(){return`timeZonePicker-${this.labelPosition?this.labelPosition.toLowerCase():"none"}`}setInput(){this.input=this.root.querySelector("gux-time-zone-picker-beta"),this.disabled=this.input.disabled,this.required=this.input.required,this.disabledObserver=l(this.input,(e=>{this.disabled=e})),this.requiredObserver=s(this.input,(e=>{this.required=e})),p(this.root,this.input)}setLabel(){this.label=this.root.querySelector('label[slot="label"]'),this.computedLabelPosition=m(this.label,this.labelPosition)}get root(){return t(this)}static get watchers(){return{hasError:["watchValue"]}}};(function(e,i,t,o){var r,l=arguments.length,s=l<3?i:null===o?o=Object.getOwnPropertyDescriptor(i,t):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(e,i,t,o);else for(var a=e.length-1;a>=0;a--)(r=e[a])&&(s=(l<3?r(s):l>3?r(i,t,s):r(i,t))||s);l>3&&s&&Object.defineProperty(i,t,s)})([r({childList:!0,subtree:!0})],x.prototype,"onMutation",null),x.style=".gux-form-field-fieldset-container{display:flex;min-inline-size:0;padding:0;margin:0;border:none}.gux-form-field-fieldset-container.gux-beside{flex-direction:row}.gux-form-field-fieldset-container.gux-above{flex-direction:column}.gux-form-field-error{display:none;flex-direction:row;flex-wrap:nowrap;gap:var(--gse-ui-formControl-helper-gap);place-content:stretch flex-start;padding:var(--gse-ui-formControl-helper-errorPadding);font-family:var(--gse-ui-formControl-helper-helperText-fontFamily);font-size:var(--gse-ui-formControl-helper-helperText-fontSize);line-height:var(--gse-ui-formControl-helper-helperText-lineHeight);color:var(--gse-ui-formControl-helper-errorColor)}.gux-form-field-error.gux-show{display:flex}.gux-form-field-error gux-icon{flex:0 1 auto;order:0;color:var(--gse-ui-formControl-helper-errorColor)}.gux-form-field-error .gux-message{flex:0 1 auto;align-self:auto;order:0}.gux-form-field-help{display:none;flex-direction:row;flex-wrap:nowrap;place-content:stretch flex-start;align-items:flex-start;justify-content:flex-start;padding-block-start:var(--gse-ui-formControl-formField-gap);font-family:var(--gse-ui-formControl-helper-helperText-fontFamily);font-size:var(--gse-ui-formControl-helper-helperText-fontSize);line-height:var(--gse-ui-formControl-helper-helperText-lineHeight);color:var(--gse-ui-formControl-helper-defaultColor)}.gux-form-field-help.gux-show{display:flex}.gux-form-field-help .gux-message{flex:0 1 auto;align-self:none;order:0}.gux-form-field-visual-label{display:inline-flex;flex:1 0 auto}.gux-form-field-visual-label ::slotted(gux-label-info-beta){padding-inline-start:var(--gse-ui-formControl-formField-gap)}.gux-form-field-visual-label.gux-beside{position:relative;inset-block-start:var(--gse-ui-formControl-input-top);inline-size:fit-content;min-inline-size:var(--gse-ui-formControl-input-textfield-minWidth);max-inline-size:fit-content;margin-inline-end:var(--gse-ui-formControl-group-gapItems)}.gux-form-field-visual-label.gux-above{padding-block-end:var(--gse-ui-formControl-formField-gap)}.gux-form-field-visual-label.gux-screenreader{display:none}.gux-form-field-screenreader-label{position:absolute;top:auto;left:-10000px;width:1px;height:1px;overflow:hidden}::slotted(label){font-family:var(--gse-ui-formControl-label-textBold-fontFamily);font-size:var(--gse-ui-formControl-label-textBold-fontSize);font-weight:var(--gse-ui-formControl-label-textBold-fontWeight);line-height:var(--gse-ui-formControl-label-textBold-lineHeight);color:var(--gse-ui-formControl-label-labelColor)}.gux-input-and-error-container{flex-grow:1}";export{x as gux_form_field_time_zone_picker}