genesys-spark-components 4.0.0-beta.60 → 4.0.0-beta.62

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 (385) 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 +2 -2
  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-badge.cjs.entry.js +1 -1
  8. package/dist/cjs/gux-blank-state.cjs.entry.js +2 -2
  9. package/dist/cjs/gux-breadcrumbs.cjs.entry.js +1 -1
  10. package/dist/cjs/gux-button-multi.cjs.entry.js +1 -1
  11. package/dist/cjs/gux-button-slot.cjs.entry.js +1 -1
  12. package/dist/cjs/gux-button.cjs.entry.js +1 -1
  13. package/dist/cjs/gux-calendar.cjs.entry.js +1 -1
  14. package/dist/cjs/gux-card.cjs.entry.js +1 -1
  15. package/dist/cjs/gux-column-manager-item.cjs.entry.js +1 -1
  16. package/dist/cjs/gux-column-manager.cjs.entry.js +1 -1
  17. package/dist/cjs/gux-content-search.cjs.entry.js +1 -1
  18. package/dist/cjs/gux-context-menu.cjs.entry.js +2 -2
  19. package/dist/cjs/gux-copy-to-clipboard.cjs.entry.js +1 -1
  20. package/dist/cjs/gux-date-beta.cjs.entry.js +1 -1
  21. package/dist/cjs/gux-date-time-beta.cjs.entry.js +1 -1
  22. package/dist/cjs/gux-datepicker.cjs.entry.js +2 -2
  23. package/dist/cjs/gux-disclosure-button-legacy.cjs.entry.js +1 -1
  24. package/dist/cjs/gux-dismiss-button.cjs.entry.js +2 -2
  25. package/dist/cjs/gux-dropdown-multi.cjs.entry.js +2 -2
  26. package/dist/cjs/gux-dropdown_3.cjs.entry.js +3 -3
  27. package/dist/cjs/gux-flyout-menu.cjs.entry.js +2 -2
  28. package/dist/cjs/gux-form-field-checkbox.cjs.entry.js +2 -2
  29. package/dist/cjs/gux-form-field-color.cjs.entry.js +2 -2
  30. package/dist/cjs/gux-form-field-dropdown.cjs.entry.js +5 -4
  31. package/dist/cjs/{gux-form-field-fieldset-container-af6f096e.js → gux-form-field-fieldset-container-e43868e8.js} +9 -6
  32. package/dist/cjs/gux-form-field-input-clear-button.cjs.entry.js +2 -2
  33. package/dist/cjs/gux-form-field-number_3.cjs.entry.js +2 -2
  34. package/dist/cjs/gux-form-field-phone.cjs.entry.js +5 -4
  35. package/dist/cjs/gux-form-field-radio.cjs.entry.js +2 -2
  36. package/dist/cjs/gux-form-field-range.cjs.entry.js +2 -2
  37. package/dist/cjs/gux-form-field-search.cjs.entry.js +2 -2
  38. package/dist/cjs/gux-form-field-select.cjs.entry.js +2 -2
  39. package/dist/cjs/gux-form-field-text-like.cjs.entry.js +2 -2
  40. package/dist/cjs/gux-form-field-textarea.cjs.entry.js +2 -2
  41. package/dist/cjs/gux-form-field-time-picker.cjs.entry.js +5 -4
  42. package/dist/cjs/gux-form-field-time-zone-picker.cjs.entry.js +5 -4
  43. package/dist/cjs/gux-icon.cjs.entry.js +1 -1
  44. package/dist/cjs/gux-inline-alert.cjs.entry.js +1 -1
  45. package/dist/cjs/gux-list-divider.cjs.entry.js +1 -1
  46. package/dist/cjs/gux-list.cjs.entry.js +1 -1
  47. package/dist/cjs/gux-listbox-multi.cjs.entry.js +2 -2
  48. package/dist/cjs/gux-loading-message.cjs.entry.js +2 -2
  49. package/dist/cjs/gux-menu.cjs.entry.js +1 -1
  50. package/dist/cjs/gux-modal-legacy.cjs.entry.js +1 -1
  51. package/dist/cjs/gux-modal.cjs.entry.js +1 -1
  52. package/dist/cjs/gux-month-list_2.cjs.entry.js +1 -1
  53. package/dist/cjs/gux-month-picker-beta.cjs.entry.js +1 -1
  54. package/dist/cjs/gux-notification-toast-legacy.cjs.entry.js +1 -1
  55. package/dist/cjs/gux-page-loading-spinner.cjs.entry.js +1 -1
  56. package/dist/cjs/gux-pagination-cursor.cjs.entry.js +1 -1
  57. package/dist/cjs/gux-pagination-legacy.cjs.entry.js +1 -1
  58. package/dist/cjs/gux-pagination.cjs.entry.js +1 -1
  59. package/dist/cjs/gux-phone-input-beta.cjs.entry.js +6 -3
  60. package/dist/cjs/gux-popover-list.cjs.entry.js +1 -1
  61. package/dist/cjs/gux-popup.cjs.entry.js +2 -1
  62. package/dist/cjs/gux-radial-loading.cjs.entry.js +1 -1
  63. package/dist/cjs/gux-radial-progress.cjs.entry.js +1 -1
  64. package/dist/cjs/gux-rating.cjs.entry.js +1 -1
  65. package/dist/cjs/gux-region-icon.cjs.entry.js +1 -1
  66. package/dist/cjs/gux-screen-reader-beta.cjs.entry.js +1 -1
  67. package/dist/cjs/gux-segmented-control-beta.cjs.entry.js +1 -1
  68. package/dist/cjs/gux-simple-toast-legacy.cjs.entry.js +1 -1
  69. package/dist/cjs/gux-skip-navigation-list.cjs.entry.js +1 -1
  70. package/dist/cjs/gux-sort-control.cjs.entry.js +1 -1
  71. package/dist/cjs/gux-submenu.cjs.entry.js +2 -2
  72. package/dist/cjs/gux-switch-legacy.cjs.entry.js +1 -1
  73. package/dist/cjs/gux-tab.cjs.entry.js +1 -1
  74. package/dist/cjs/gux-table-toolbar-action.cjs.entry.js +1 -1
  75. package/dist/cjs/gux-table-toolbar-custom-action.cjs.entry.js +1 -1
  76. package/dist/cjs/gux-table-toolbar-menu-button.cjs.entry.js +1 -1
  77. package/dist/cjs/gux-table-toolbar.cjs.entry.js +1 -1
  78. package/dist/cjs/gux-table.cjs.entry.js +1 -1
  79. package/dist/cjs/gux-tabs-advanced.cjs.entry.js +1 -1
  80. package/dist/cjs/gux-tabs.cjs.entry.js +1 -1
  81. package/dist/cjs/gux-tag.cjs.entry.js +1 -1
  82. package/dist/cjs/gux-text-highlight.cjs.entry.js +2 -2
  83. package/dist/cjs/gux-time-beta.cjs.entry.js +1 -1
  84. package/dist/cjs/gux-time-picker.cjs.entry.js +2 -2
  85. package/dist/cjs/gux-time-zone-picker-beta.cjs.entry.js +6802 -7268
  86. package/dist/cjs/gux-toast.cjs.entry.js +1 -1
  87. package/dist/cjs/gux-toggle-slider.cjs.entry.js +1 -1
  88. package/dist/cjs/gux-toggle.cjs.entry.js +3 -7
  89. package/dist/cjs/gux-tooltip-title.cjs.entry.js +1 -1
  90. package/dist/cjs/gux-tooltip.cjs.entry.js +1 -1
  91. package/dist/cjs/loader.cjs.js +1 -1
  92. package/dist/cjs/{usage-e4332130.js → usage-be422c72.js} +1 -1
  93. package/dist/collection/components/beta/gux-month-picker/gux-month-calendar/gux-month-list/gux-month-list-item/gux-month-list-item.css +6 -7
  94. package/dist/collection/components/beta/gux-phone-input/gux-phone-input.css +4 -0
  95. package/dist/collection/components/beta/gux-phone-input/gux-phone-input.js +4 -1
  96. package/dist/collection/components/beta/gux-segmented-control/gux-segmented-control-item/gux-segmented-control-item.css +0 -23
  97. package/dist/collection/components/beta/gux-time-zone-picker/gux-time-zone-picker.js +20 -51
  98. package/dist/collection/components/beta/gux-time-zone-picker/tests/gux-time-zone-picker.e2e.js +3 -3
  99. package/dist/collection/components/stable/gux-action-button/gux-action-button.css +3 -0
  100. package/dist/collection/components/stable/gux-badge/gux-badge.css +0 -25
  101. package/dist/collection/components/stable/gux-blank-state/gux-blank-state.css +0 -30
  102. package/dist/collection/components/stable/gux-breadcrumbs/breadcrumb-item/gux-breadcrumb-item.css +0 -42
  103. package/dist/collection/components/stable/gux-card/gux-card.css +0 -19
  104. package/dist/collection/components/stable/gux-column-manager/gux-column-manager-item/gux-column-manager-item.css +3 -5
  105. package/dist/collection/components/stable/gux-column-manager/gux-column-manager.css +0 -4
  106. package/dist/collection/components/stable/gux-context-menu/gux-context-menu.js +1 -1
  107. package/dist/collection/components/stable/gux-copy-to-clipboard/gux-copy-to-clipboard.css +0 -17
  108. package/dist/collection/components/stable/gux-datepicker/gux-datepicker.css +2 -1
  109. package/dist/collection/components/stable/gux-dismiss-button/gux-dismiss-button.css +1 -1
  110. package/dist/collection/components/stable/gux-dropdown/gux-dropdown.css +10 -2
  111. package/dist/collection/components/stable/gux-dropdown-multi/gux-dropdown-multi.css +10 -2
  112. package/dist/collection/components/stable/gux-flyout-menu/gux-flyout-menu.css +10 -9
  113. package/dist/collection/components/stable/gux-flyout-menu/gux-menu/gux-menu.css +2 -1
  114. package/dist/collection/components/stable/gux-flyout-menu/gux-menu/gux-submenu/gux-submenu.css +1 -1
  115. package/dist/collection/components/stable/gux-flyout-menu/gux-menu/gux-submenu/gux-submenu.js +1 -1
  116. package/dist/collection/components/stable/gux-form-field/components/gux-form-field-checkbox/gux-form-field-checkbox.css +2 -22
  117. package/dist/collection/components/stable/gux-form-field/components/gux-form-field-color/gux-form-field-color.css +1 -1
  118. package/dist/collection/components/stable/gux-form-field/components/gux-form-field-dropdown/gux-form-field-dropdown.css +10 -1
  119. package/dist/collection/components/stable/gux-form-field/components/gux-form-field-dropdown/gux-form-field-dropdown.js +2 -1
  120. package/dist/collection/components/stable/gux-form-field/components/gux-form-field-number/gux-form-field-number.css +1 -1
  121. package/dist/collection/components/stable/gux-form-field/components/gux-form-field-phone/gux-form-field-phone.css +10 -1
  122. package/dist/collection/components/stable/gux-form-field/components/gux-form-field-phone/gux-form-field-phone.js +2 -1
  123. package/dist/collection/components/stable/gux-form-field/components/gux-form-field-radio/gux-form-field-radio.css +1 -1
  124. package/dist/collection/components/stable/gux-form-field/components/gux-form-field-range/gux-form-field-range.css +1 -1
  125. package/dist/collection/components/stable/gux-form-field/components/gux-form-field-search/gux-form-field-search.css +1 -1
  126. package/dist/collection/components/stable/gux-form-field/components/gux-form-field-select/gux-form-field-select.css +1 -1
  127. package/dist/collection/components/stable/gux-form-field/components/gux-form-field-text-like/gux-form-field-text-like.css +1 -1
  128. package/dist/collection/components/stable/gux-form-field/components/gux-form-field-textarea/gux-form-field-textarea.css +1 -1
  129. package/dist/collection/components/stable/gux-form-field/components/gux-form-field-time-picker/gux-form-field-time-picker.css +10 -1
  130. package/dist/collection/components/stable/gux-form-field/components/gux-form-field-time-picker/gux-form-field-time-picker.js +2 -1
  131. package/dist/collection/components/stable/gux-form-field/components/gux-form-field-time-zone-picker/gux-form-field-time-zone-picker.css +10 -1
  132. package/dist/collection/components/stable/gux-form-field/components/gux-form-field-time-zone-picker/gux-form-field-time-zone-picker.js +2 -1
  133. package/dist/collection/components/stable/gux-form-field/functional-components/gux-form-field-legend-label/gux-form-field-legend-label.js +9 -6
  134. package/dist/collection/components/stable/gux-form-field/helper-components/gux-form-field-input-clear-button/gux-form-field-input-clear-button.css +1 -0
  135. package/dist/collection/components/stable/gux-inline-alert/gux-inline-alert.css +0 -33
  136. package/dist/collection/components/stable/gux-list/gux-list-divider/gux-list-divider.css +3 -4
  137. package/dist/collection/components/stable/gux-listbox/gux-listbox.css +2 -2
  138. package/dist/collection/components/stable/gux-listbox-multi/gux-listbox-multi.css +1 -1
  139. package/dist/collection/components/stable/gux-loading-message/gux-loading-message.css +0 -37
  140. package/dist/collection/components/stable/gux-popup/gux-popup.js +20 -1
  141. package/dist/collection/components/stable/gux-radial-loading/gux-radial-loading.css +0 -9
  142. package/dist/collection/components/stable/gux-radial-progress/gux-radial-progress.css +0 -11
  143. package/dist/collection/components/stable/gux-rating/gux-rating.css +0 -8
  144. package/dist/collection/components/stable/gux-tabs/gux-tab/gux-tab.css +13 -8
  145. package/dist/collection/components/stable/gux-tag/gux-tag.css +0 -34
  146. package/dist/collection/components/stable/gux-text-highlight/gux-text-highlight.css +0 -3
  147. package/dist/collection/components/stable/gux-time-picker/gux-time-picker.css +5 -7
  148. package/dist/collection/components/stable/gux-toggle/gux-toggle-slider/gux-toggle-slider.css +1 -35
  149. package/dist/collection/components/stable/gux-toggle/gux-toggle.css +6 -14
  150. package/dist/collection/components/stable/gux-toggle/gux-toggle.js +1 -20
  151. package/dist/collection/components/stable/gux-toggle/tests/gux-toggle.e2e.js +14 -7
  152. package/dist/collection/components/stable/gux-toggle/tests/gux-toggle.spec.js +12 -10
  153. package/dist/collection/components/stable/gux-tooltip/gux-tooltip.css +0 -28
  154. package/dist/collection/components/stable/gux-tooltip-title/gux-tooltip-title.css +1 -0
  155. package/dist/collection/utils/date/time-zone.js +98 -0
  156. package/dist/collection/utils/date/time-zone.spec.js +22 -0
  157. package/dist/deploy-info.json +3 -3
  158. package/dist/esm/genesys-webcomponents.js +1 -1
  159. package/dist/esm/gux-accordion.entry.js +1 -1
  160. package/dist/esm/gux-action-button.entry.js +2 -2
  161. package/dist/esm/gux-action-toast-legacy.entry.js +1 -1
  162. package/dist/esm/gux-advanced-dropdown-legacy.entry.js +1 -1
  163. package/dist/esm/gux-announce-beta.entry.js +1 -1
  164. package/dist/esm/gux-badge.entry.js +1 -1
  165. package/dist/esm/gux-blank-state.entry.js +2 -2
  166. package/dist/esm/gux-breadcrumbs.entry.js +1 -1
  167. package/dist/esm/gux-button-multi.entry.js +1 -1
  168. package/dist/esm/gux-button-slot.entry.js +1 -1
  169. package/dist/esm/gux-button.entry.js +1 -1
  170. package/dist/esm/gux-calendar.entry.js +1 -1
  171. package/dist/esm/gux-card.entry.js +1 -1
  172. package/dist/esm/gux-column-manager-item.entry.js +1 -1
  173. package/dist/esm/gux-column-manager.entry.js +1 -1
  174. package/dist/esm/gux-content-search.entry.js +1 -1
  175. package/dist/esm/gux-context-menu.entry.js +2 -2
  176. package/dist/esm/gux-copy-to-clipboard.entry.js +1 -1
  177. package/dist/esm/gux-date-beta.entry.js +1 -1
  178. package/dist/esm/gux-date-time-beta.entry.js +1 -1
  179. package/dist/esm/gux-datepicker.entry.js +2 -2
  180. package/dist/esm/gux-disclosure-button-legacy.entry.js +1 -1
  181. package/dist/esm/gux-dismiss-button.entry.js +2 -2
  182. package/dist/esm/gux-dropdown-multi.entry.js +2 -2
  183. package/dist/esm/gux-dropdown_3.entry.js +3 -3
  184. package/dist/esm/gux-flyout-menu.entry.js +2 -2
  185. package/dist/esm/gux-form-field-checkbox.entry.js +2 -2
  186. package/dist/esm/gux-form-field-color.entry.js +2 -2
  187. package/dist/esm/gux-form-field-dropdown.entry.js +5 -4
  188. package/dist/esm/gux-form-field-fieldset-container-dcaed6c7.js +21 -0
  189. package/dist/esm/gux-form-field-input-clear-button.entry.js +2 -2
  190. package/dist/esm/gux-form-field-number_3.entry.js +2 -2
  191. package/dist/esm/gux-form-field-phone.entry.js +5 -4
  192. package/dist/esm/gux-form-field-radio.entry.js +2 -2
  193. package/dist/esm/gux-form-field-range.entry.js +2 -2
  194. package/dist/esm/gux-form-field-search.entry.js +2 -2
  195. package/dist/esm/gux-form-field-select.entry.js +2 -2
  196. package/dist/esm/gux-form-field-text-like.entry.js +2 -2
  197. package/dist/esm/gux-form-field-textarea.entry.js +2 -2
  198. package/dist/esm/gux-form-field-time-picker.entry.js +5 -4
  199. package/dist/esm/gux-form-field-time-zone-picker.entry.js +5 -4
  200. package/dist/esm/gux-icon.entry.js +1 -1
  201. package/dist/esm/gux-inline-alert.entry.js +1 -1
  202. package/dist/esm/gux-list-divider.entry.js +1 -1
  203. package/dist/esm/gux-list.entry.js +1 -1
  204. package/dist/esm/gux-listbox-multi.entry.js +2 -2
  205. package/dist/esm/gux-loading-message.entry.js +2 -2
  206. package/dist/esm/gux-menu.entry.js +1 -1
  207. package/dist/esm/gux-modal-legacy.entry.js +1 -1
  208. package/dist/esm/gux-modal.entry.js +1 -1
  209. package/dist/esm/gux-month-list_2.entry.js +1 -1
  210. package/dist/esm/gux-month-picker-beta.entry.js +1 -1
  211. package/dist/esm/gux-notification-toast-legacy.entry.js +1 -1
  212. package/dist/esm/gux-page-loading-spinner.entry.js +1 -1
  213. package/dist/esm/gux-pagination-cursor.entry.js +1 -1
  214. package/dist/esm/gux-pagination-legacy.entry.js +1 -1
  215. package/dist/esm/gux-pagination.entry.js +1 -1
  216. package/dist/esm/gux-phone-input-beta.entry.js +6 -3
  217. package/dist/esm/gux-popover-list.entry.js +1 -1
  218. package/dist/esm/gux-popup.entry.js +2 -1
  219. package/dist/esm/gux-radial-loading.entry.js +1 -1
  220. package/dist/esm/gux-radial-progress.entry.js +1 -1
  221. package/dist/esm/gux-rating.entry.js +1 -1
  222. package/dist/esm/gux-region-icon.entry.js +1 -1
  223. package/dist/esm/gux-screen-reader-beta.entry.js +1 -1
  224. package/dist/esm/gux-segmented-control-beta.entry.js +1 -1
  225. package/dist/esm/gux-simple-toast-legacy.entry.js +1 -1
  226. package/dist/esm/gux-skip-navigation-list.entry.js +1 -1
  227. package/dist/esm/gux-sort-control.entry.js +1 -1
  228. package/dist/esm/gux-submenu.entry.js +2 -2
  229. package/dist/esm/gux-switch-legacy.entry.js +1 -1
  230. package/dist/esm/gux-tab.entry.js +1 -1
  231. package/dist/esm/gux-table-toolbar-action.entry.js +1 -1
  232. package/dist/esm/gux-table-toolbar-custom-action.entry.js +1 -1
  233. package/dist/esm/gux-table-toolbar-menu-button.entry.js +1 -1
  234. package/dist/esm/gux-table-toolbar.entry.js +1 -1
  235. package/dist/esm/gux-table.entry.js +1 -1
  236. package/dist/esm/gux-tabs-advanced.entry.js +1 -1
  237. package/dist/esm/gux-tabs.entry.js +1 -1
  238. package/dist/esm/gux-tag.entry.js +1 -1
  239. package/dist/esm/gux-text-highlight.entry.js +2 -2
  240. package/dist/esm/gux-time-beta.entry.js +1 -1
  241. package/dist/esm/gux-time-picker.entry.js +2 -2
  242. package/dist/esm/gux-time-zone-picker-beta.entry.js +6802 -7268
  243. package/dist/esm/gux-toast.entry.js +1 -1
  244. package/dist/esm/gux-toggle-slider.entry.js +1 -1
  245. package/dist/esm/gux-toggle.entry.js +3 -7
  246. package/dist/esm/gux-tooltip-title.entry.js +1 -1
  247. package/dist/esm/gux-tooltip.entry.js +1 -1
  248. package/dist/esm/loader.js +1 -1
  249. package/dist/esm/{usage-4869a698.js → usage-6879106a.js} +1 -1
  250. package/dist/genesys-webcomponents/genesys-webcomponents.esm.js +1 -1
  251. package/dist/genesys-webcomponents/i18n/genesys-webcomponents.i18n.en.json +1 -1
  252. package/dist/genesys-webcomponents/p-007f41a3.entry.js +1 -0
  253. package/dist/genesys-webcomponents/p-010213a0.entry.js +1 -0
  254. package/dist/genesys-webcomponents/{p-fa396d1e.entry.js → p-016b1973.entry.js} +1 -1
  255. package/dist/genesys-webcomponents/p-0ab33fd6.entry.js +1 -0
  256. package/dist/genesys-webcomponents/p-11fa4fb5.entry.js +1 -0
  257. package/dist/genesys-webcomponents/{p-fb015d16.entry.js → p-1296aae3.entry.js} +1 -1
  258. package/dist/genesys-webcomponents/p-149e4c7c.entry.js +1 -0
  259. package/dist/genesys-webcomponents/p-15905cc3.js +1 -0
  260. package/dist/genesys-webcomponents/{p-804fb8f0.entry.js → p-160b6889.entry.js} +1 -1
  261. package/dist/genesys-webcomponents/p-18e786dd.entry.js +1 -0
  262. package/dist/genesys-webcomponents/{p-f29e097d.entry.js → p-1af6108e.entry.js} +1 -1
  263. package/dist/genesys-webcomponents/{p-7d4f181b.entry.js → p-1e9df352.entry.js} +1 -1
  264. package/dist/genesys-webcomponents/p-276096ce.entry.js +1 -0
  265. package/dist/genesys-webcomponents/{p-48a2c515.entry.js → p-288b96a7.entry.js} +1 -1
  266. package/dist/genesys-webcomponents/p-2bba231f.entry.js +1 -0
  267. package/dist/genesys-webcomponents/{p-e782eee0.entry.js → p-2c5d3759.entry.js} +1 -1
  268. package/dist/genesys-webcomponents/p-2c79ca87.entry.js +1 -0
  269. package/dist/genesys-webcomponents/{p-02e248d2.js → p-30350a33.js} +1 -1
  270. package/dist/genesys-webcomponents/p-30622b3c.entry.js +1 -0
  271. package/dist/genesys-webcomponents/{p-f0a81556.entry.js → p-3290742e.entry.js} +1 -1
  272. package/dist/genesys-webcomponents/{p-e63d315d.entry.js → p-35bb9f3a.entry.js} +1 -1
  273. package/dist/genesys-webcomponents/{p-f90a179e.entry.js → p-3c08316c.entry.js} +1 -1
  274. package/dist/genesys-webcomponents/{p-2fa56c5e.entry.js → p-3da1800d.entry.js} +1 -1
  275. package/dist/genesys-webcomponents/{p-de7e8960.entry.js → p-3eb6ed19.entry.js} +1 -1
  276. package/dist/genesys-webcomponents/{p-06ef8e24.entry.js → p-3ef8cc19.entry.js} +1 -1
  277. package/dist/genesys-webcomponents/p-42ae7d3d.entry.js +1 -0
  278. package/dist/genesys-webcomponents/{p-cf6a820b.entry.js → p-43f0b927.entry.js} +1 -1
  279. package/dist/genesys-webcomponents/{p-0a47fd78.entry.js → p-4594c809.entry.js} +1 -1
  280. package/dist/genesys-webcomponents/{p-b85f7a8f.entry.js → p-47067f90.entry.js} +1 -1
  281. package/dist/genesys-webcomponents/p-488fb8a1.entry.js +1 -0
  282. package/dist/genesys-webcomponents/{p-90729738.entry.js → p-4ec5b752.entry.js} +1 -1
  283. package/dist/genesys-webcomponents/p-53997a4d.entry.js +1 -0
  284. package/dist/genesys-webcomponents/{p-df2fb285.entry.js → p-58de61c8.entry.js} +1 -1
  285. package/dist/genesys-webcomponents/{p-d5dd2855.entry.js → p-6b2ee0ec.entry.js} +1 -1
  286. package/dist/genesys-webcomponents/{p-100bee9b.entry.js → p-6e5f9aa5.entry.js} +1 -1
  287. package/dist/genesys-webcomponents/p-7103c6ec.entry.js +1 -0
  288. package/dist/genesys-webcomponents/p-715a0141.entry.js +1 -0
  289. package/dist/genesys-webcomponents/{p-784fef32.entry.js → p-7a7e6558.entry.js} +1 -1
  290. package/dist/genesys-webcomponents/p-7b913239.entry.js +1 -0
  291. package/dist/genesys-webcomponents/{p-6e89ed8f.entry.js → p-7e99660f.entry.js} +1 -1
  292. package/dist/genesys-webcomponents/p-7ed4230e.entry.js +1 -0
  293. package/dist/genesys-webcomponents/{p-ecb7c335.entry.js → p-7f844555.entry.js} +1 -1
  294. package/dist/genesys-webcomponents/p-804cb9f2.entry.js +1 -0
  295. package/dist/genesys-webcomponents/{p-4e697b4e.entry.js → p-83ade044.entry.js} +1 -1
  296. package/dist/genesys-webcomponents/p-88f82ba1.entry.js +1 -0
  297. package/dist/genesys-webcomponents/{p-c0126105.entry.js → p-8a32f976.entry.js} +1 -1
  298. package/dist/genesys-webcomponents/{p-44912ca5.entry.js → p-8e994fdd.entry.js} +1 -1
  299. package/dist/genesys-webcomponents/{p-62f1cf81.entry.js → p-902f0fc4.entry.js} +1 -1
  300. package/dist/genesys-webcomponents/{p-2c738d6c.entry.js → p-903e96e8.entry.js} +1 -1
  301. package/dist/genesys-webcomponents/{p-61760c8b.entry.js → p-90786900.entry.js} +1 -1
  302. package/dist/genesys-webcomponents/p-9575cd18.entry.js +1 -0
  303. package/dist/genesys-webcomponents/p-9583b2ab.entry.js +1 -0
  304. package/dist/genesys-webcomponents/{p-72048eeb.entry.js → p-9978a427.entry.js} +1 -1
  305. package/dist/genesys-webcomponents/p-99d5b094.entry.js +1 -0
  306. package/dist/genesys-webcomponents/{p-c6207eba.entry.js → p-a12bcd17.entry.js} +1 -1
  307. package/dist/genesys-webcomponents/{p-e4084d2a.entry.js → p-a336253d.entry.js} +1 -1
  308. package/dist/genesys-webcomponents/{p-74d3e2b7.entry.js → p-a48169c8.entry.js} +1 -1
  309. package/dist/genesys-webcomponents/p-a58ea37d.entry.js +1 -0
  310. package/dist/genesys-webcomponents/{p-a6b57fcd.entry.js → p-aad993ff.entry.js} +1 -1
  311. package/dist/genesys-webcomponents/p-ae1ce08d.entry.js +1 -0
  312. package/dist/genesys-webcomponents/p-b106b3e7.entry.js +1 -0
  313. package/dist/genesys-webcomponents/p-b4cd2364.entry.js +1 -0
  314. package/dist/genesys-webcomponents/{p-381b780d.entry.js → p-bcca4670.entry.js} +1 -1
  315. package/dist/genesys-webcomponents/{p-3fe2d366.entry.js → p-be14f793.entry.js} +1 -1
  316. package/dist/genesys-webcomponents/{p-c0078d5f.entry.js → p-c13a35ef.entry.js} +1 -1
  317. package/dist/genesys-webcomponents/{p-eeb7971b.entry.js → p-c34bf386.entry.js} +1 -1
  318. package/dist/genesys-webcomponents/p-c7ece6cf.entry.js +1 -0
  319. package/dist/genesys-webcomponents/{p-1fa4f9f2.entry.js → p-ca5af1ef.entry.js} +1 -1
  320. package/dist/genesys-webcomponents/{p-b2d68d0b.entry.js → p-cbc27905.entry.js} +1 -1
  321. package/dist/genesys-webcomponents/{p-9cb6894d.entry.js → p-d17f79ca.entry.js} +1 -1
  322. package/dist/genesys-webcomponents/p-d590ca77.entry.js +1 -0
  323. package/dist/genesys-webcomponents/{p-505ed9d3.entry.js → p-d6621860.entry.js} +1 -1
  324. package/dist/genesys-webcomponents/{p-3052c604.entry.js → p-d7371e93.entry.js} +1 -1
  325. package/dist/genesys-webcomponents/{p-5dd4e8fc.entry.js → p-d74f56f8.entry.js} +1 -1
  326. package/dist/genesys-webcomponents/{p-867caa46.entry.js → p-e024961c.entry.js} +1 -1
  327. package/dist/genesys-webcomponents/{p-e209afe3.entry.js → p-e0964d7c.entry.js} +1 -1
  328. package/dist/genesys-webcomponents/{p-4ca2bfb2.entry.js → p-e15afd81.entry.js} +1 -1
  329. package/dist/genesys-webcomponents/{p-e1ff82af.entry.js → p-e3143c70.entry.js} +1 -1
  330. package/dist/genesys-webcomponents/{p-0f2408bf.entry.js → p-e76ab6f1.entry.js} +1 -1
  331. package/dist/genesys-webcomponents/{p-4a8b82d7.entry.js → p-ec80f053.entry.js} +1 -1
  332. package/dist/genesys-webcomponents/{p-3277194f.entry.js → p-efa75ae3.entry.js} +1 -1
  333. package/dist/genesys-webcomponents/{p-935b6c2b.entry.js → p-f0817fd2.entry.js} +1 -1
  334. package/dist/genesys-webcomponents/p-f152897a.entry.js +1 -0
  335. package/dist/genesys-webcomponents/{p-7797626a.entry.js → p-f1c05a62.entry.js} +1 -1
  336. package/dist/genesys-webcomponents/p-f23c0d1b.entry.js +1 -0
  337. package/dist/genesys-webcomponents/p-f32f3140.entry.js +1 -0
  338. package/dist/genesys-webcomponents/{p-e129294b.entry.js → p-f59106b6.entry.js} +1 -1
  339. package/dist/genesys-webcomponents/{p-4aeb584a.entry.js → p-f9297423.entry.js} +1 -1
  340. package/dist/genesys-webcomponents/{p-ddbc4f0e.entry.js → p-f9e87cb1.entry.js} +1 -1
  341. package/dist/genesys-webcomponents/p-fba591fa.entry.js +1 -0
  342. package/dist/stencil-wrapper.js +1 -1
  343. package/dist/types/components/beta/gux-time-zone-picker/gux-time-zone-picker.d.ts +1 -13
  344. package/dist/types/components/beta/gux-time-zone-picker/gux-time-zone-picker.types.d.ts +1 -0
  345. package/dist/types/components/stable/gux-form-field/functional-components/gux-form-field-legend-label/gux-form-field-legend-label.d.ts +1 -0
  346. package/dist/types/components/stable/gux-popup/gux-popup.d.ts +4 -0
  347. package/dist/types/components/stable/gux-toggle/gux-toggle.d.ts +1 -2
  348. package/dist/types/components.d.ts +8 -0
  349. package/dist/types/stencil-wrapper.d.ts +1 -1
  350. package/dist/types/utils/date/time-zone.d.ts +9 -0
  351. package/package.json +1 -1
  352. package/dist/esm/gux-form-field-fieldset-container-050466a8.js +0 -18
  353. package/dist/genesys-webcomponents/p-0e6bd326.entry.js +0 -1
  354. package/dist/genesys-webcomponents/p-0eff7f37.entry.js +0 -1
  355. package/dist/genesys-webcomponents/p-14295805.entry.js +0 -1
  356. package/dist/genesys-webcomponents/p-1454081c.entry.js +0 -1
  357. package/dist/genesys-webcomponents/p-2c0fec5b.entry.js +0 -1
  358. package/dist/genesys-webcomponents/p-2e6f95dc.entry.js +0 -1
  359. package/dist/genesys-webcomponents/p-2f713edf.entry.js +0 -1
  360. package/dist/genesys-webcomponents/p-33994281.entry.js +0 -1
  361. package/dist/genesys-webcomponents/p-35bff387.entry.js +0 -1
  362. package/dist/genesys-webcomponents/p-3ce7af92.entry.js +0 -1
  363. package/dist/genesys-webcomponents/p-44ddce73.entry.js +0 -1
  364. package/dist/genesys-webcomponents/p-5c6e89b8.entry.js +0 -1
  365. package/dist/genesys-webcomponents/p-71d741e6.entry.js +0 -1
  366. package/dist/genesys-webcomponents/p-7e293ec0.entry.js +0 -1
  367. package/dist/genesys-webcomponents/p-82a8964e.entry.js +0 -1
  368. package/dist/genesys-webcomponents/p-8324a0ac.js +0 -1
  369. package/dist/genesys-webcomponents/p-83dedbc9.entry.js +0 -1
  370. package/dist/genesys-webcomponents/p-8b213ee3.entry.js +0 -1
  371. package/dist/genesys-webcomponents/p-a45934c5.entry.js +0 -1
  372. package/dist/genesys-webcomponents/p-a5c82a4d.entry.js +0 -1
  373. package/dist/genesys-webcomponents/p-a75f5094.entry.js +0 -1
  374. package/dist/genesys-webcomponents/p-b52d0b90.entry.js +0 -1
  375. package/dist/genesys-webcomponents/p-b6043830.entry.js +0 -1
  376. package/dist/genesys-webcomponents/p-bdc6ca65.entry.js +0 -1
  377. package/dist/genesys-webcomponents/p-be21ae9c.entry.js +0 -1
  378. package/dist/genesys-webcomponents/p-c24424d9.entry.js +0 -1
  379. package/dist/genesys-webcomponents/p-c280c18e.entry.js +0 -1
  380. package/dist/genesys-webcomponents/p-ca8bfb7a.entry.js +0 -1
  381. package/dist/genesys-webcomponents/p-d2da0cb8.entry.js +0 -1
  382. package/dist/genesys-webcomponents/p-eecc77a4.entry.js +0 -1
  383. package/dist/genesys-webcomponents/p-f2f2441e.entry.js +0 -1
  384. package/dist/genesys-webcomponents/p-fad45757.entry.js +0 -1
  385. package/dist/genesys-webcomponents/p-fed933c8.entry.js +0 -1
@@ -1 +0,0 @@
1
- import{r as t,f as o,h as r,g as e}from"./p-deca7631.js";import{c as i,o as n}from"./p-16f3da0d.js";import{O as l}from"./p-d6edbaeb.js";import{o as s}from"./p-37bfd195.js";import{p as a}from"./p-28f55159.js";import{h as u}from"./p-324b23f3.js";import{h as f,c as p,d as h,G as g,a as d,g as x,v as m,b as c}from"./p-e5766b80.js";import{G as v,a as b}from"./p-2b468e4b.js";import{t as C}from"./p-02e248d2.js";import"./p-3ea0d493.js";import"./p-9d734bbd.js";import"./p-373c5d93.js";const w=class{constructor(o){t(this,o),this.clearable=void 0,this.labelPosition=void 0,this.hasPrefix=void 0,this.hasSuffix=void 0,this.computedLabelPosition="above",this.disabled=void 0,this.required=void 0,this.hasContent=!1,this.hasError=!1,this.hasHelp=!1}onMutation(){this.hasError=u(this.root,"error"),this.hasHelp=u(this.root,"help")}async guxForceUpdate(){this.hasContent=f(this.input),this.hasError=u(this.root,"error"),this.hasHelp=u(this.root,"help"),o(this.root)}componentWillLoad(){this.setInput(),this.setLabel(),this.hasError=u(this.root,"error"),this.hasHelp=u(this.root,"help"),this.hasPrefix=Boolean(this.root.querySelector('[slot="prefix"]')),this.hasSuffix=Boolean(this.root.querySelector('[slot="suffix"]')),this.hasPrefix&&p(this.root,this.input,"prefix"),this.hasSuffix&&p(this.root,this.input,"suffix"),C(this.root,{variant:this.variant})}disconnectedCallback(){this.disabledObserver&&this.disabledObserver.disconnect(),this.requiredObserver&&this.requiredObserver.disconnect()}render(){return r(b,{labelPosition:this.computedLabelPosition},r(v,{position:this.computedLabelPosition,required:this.required},r("slot",{name:"label",onSlotchange:()=>this.setLabel()})),r("div",{class:"gux-input-and-error-container"},r("div",{class:{"gux-input":!0,"gux-input-error":this.hasError}},r("div",{class:{"gux-input-container":!0,"gux-disabled":this.disabled,"gux-has-prefix":this.hasPrefix,"gux-has-suffix":this.hasSuffix}},r("slot",{name:"prefix"}),r("slot",{name:"input"}),r("slot",{name:"suffix"}),this.clearable&&this.hasContent&&!this.disabled&&r("gux-form-field-input-clear-button",{onClick:()=>h(this.input)}))),r(g,{show:this.hasError},r("slot",{name:"error"})),r(d,{show:!this.hasError&&this.hasHelp},r("slot",{name:"help"}))))}get variant(){const t=this.labelPosition?this.labelPosition.toLowerCase():"none";return`${this.input.getAttribute("type")}-${this.clearable?"clearable":"unclearable"}-${t}`}setInput(){this.input=x(this.root,'input[type="email"][slot="input"], input[type="number"][slot="input"], input[type="password"][slot="input"], input[type="text"][slot="input"]'),this.hasContent=f(this.input),a(this.input),this.input.addEventListener("input",(()=>{this.hasContent=f(this.input)})),this.disabled=i(this.input),this.required=this.input.required,this.disabledObserver=n(this.input,(t=>{this.disabled=t})),this.requiredObserver=s(this.input,(t=>{this.required=t})),m(this.root,this.input)}setLabel(){this.label=this.root.querySelector('label[slot="label"]'),this.computedLabelPosition=c(this.label,this.labelPosition)}get root(){return e(this)}};(function(t,o,r,e){var i,n=arguments.length,l=n<3?o:null===e?e=Object.getOwnPropertyDescriptor(o,r):e;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)l=Reflect.decorate(t,o,r,e);else for(var s=t.length-1;s>=0;s--)(i=t[s])&&(l=(n<3?i(l):n>3?i(o,r,l):i(o,r))||l);n>3&&l&&Object.defineProperty(o,r,l)})([l({childList:!0,subtree:!0})],w.prototype,"onMutation",null),w.style='.gux-form-field-container.gux-beside{display:flex;flex-direction:row}.gux-form-field-error{display:none;flex-direction:row;flex-wrap:nowrap;place-content:stretch flex-start;align-items: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;align-self:auto;order:0;min-width:var(--gse-ui-icon-size-sm);min-height:var(--gse-ui-icon-size-sm);margin-right:var(--gse-ui-formControl-helper-gap);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.gux-required::after{color:var(--gse-ui-formControl-label-indicator-requiredColor);content:" *"}.gux-form-field-label.gux-beside{position:relative;top:8px;width:fit-content;min-width:45px;margin-right:var(--gse-ui-formControl-label-gap)}.gux-form-field-label.gux-above{padding:var(--gse-ui-formControl-label-padding)}.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:var(--gse-ui-formControl-helper-paddingSmall);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-text-fontFamily);font-size:var(--gse-ui-formControl-label-text-fontSize);font-weight:var(--gse-ui-formControl-label-text-fontWeight);line-height:var(--gse-ui-formControl-label-text-lineHeight);color:var(--gse-ui-formControl-label-labelColor)}::slotted(input){flex:1 1 auto;align-self:auto;order:0;width:100%;overflow:hidden;font-size:var(--gse-ui-formControl-input-contentText-fontSize);text-overflow:ellipsis;background-color:var(--gse-ui-formControl-input-backgroundColor);border:none;outline:none}::slotted(input)::placeholder{color:var(--gse-ui-formControl-input-placeholderColor);opacity:1}slot[name=prefix],slot[name=suffix]{font-family:var(--gse-ui-formControl-input-prefixSufix-text-fontFamily);font-size:var(--gse-ui-formControl-input-prefixSufix-text-fontSize);line-height:var(--gse-ui-formControl-input-prefixSufix-text-lineHeight);color:var(--gse-ui-formControl-input-prefixSufix-defaultColor);text-align:center;text-decoration:none;white-space:nowrap}.gux-input-and-error-container{flex-grow:1}.gux-input-and-error-container .gux-input .gux-input-container{box-sizing:border-box;display:flex;flex-direction:row;flex-wrap:nowrap;gap:var(--gse-ui-formControl-input-gap);place-content:stretch center;align-items:center;width:100%;height:var(--gse-ui-formControl-input-textfield-height);padding:var(--gse-ui-formControl-input-padding);font-family:var(--gse-ui-formControl-input-contentText-fontFamily);font-size:var(--gse-ui-formControl-input-contentText-fontSize);font-weight:var(--gse-ui-formControl-input-contentText-fontWeight);line-height:var(--gse-ui-formControl-input-contentText-lineHeight);color:var(--gse-ui-formControl-input-populatedColor);background-color:var(--gse-ui-formControl-input-backgroundColor);background-image:none;border:var(--gse-ui-formControl-input-default-border-width) var(--gse-ui-formControl-input-default-border-style) var(--gse-ui-formControl-input-default-border-color);border-radius:var(--gse-ui-formControl-input-borderRadius)}.gux-input-and-error-container .gux-input .gux-input-container.gux-has-suffix:not(.gux-input-and-error-container .gux-input .gux-input-container.gux-has-prefix) ::slotted(input){text-align:right}.gux-input-and-error-container .gux-input .gux-input-container.gux-disabled{opacity:var(--gse-ui-formControl-input-disabled-opacity)}.gux-input-and-error-container .gux-input .gux-input-container:focus-within{border:var(--gse-ui-formControl-input-active-border-width) var(--gse-ui-formControl-input-active-border-style) var(--gse-ui-formControl-input-active-border-color);border-radius:var(--gse-ui-formControl-focusRing-borderRadius);outline:var(--gse-ui-formControl-input-focus-border-width) var(--gse-ui-formControl-input-focus-border-style) var(--gse-ui-formControl-input-focus-border-color)}.gux-input-and-error-container .gux-input .gux-input-container:hover:not(.gux-disabled){border:var(--gse-ui-formControl-input-hover-border-width) var(--gse-ui-formControl-input-hover-border-style) var(--gse-ui-formControl-input-hover-border-color)}.gux-input-and-error-container .gux-input.gux-input-error .gux-input-container{border-color:var(--gse-ui-formControl-input-error-border-color)}';export{w as gux_form_field_text_like}
@@ -1 +0,0 @@
1
- import{r as o,h as r,g as t}from"./p-deca7631.js";import{t as e}from"./p-02e248d2.js";import{b as i}from"./p-e10cb032.js";import"./p-0962dd7a.js";const n={clear:"Clear"},s=class{constructor(r){o(this,r)}async componentWillLoad(){e(this.root),this.i18n=await i(this.root,n)}render(){return r("button",{tabIndex:-1,type:"button",title:this.i18n("clear")},r("gux-icon",{"icon-name":"close",decorative:!0}))}static get delegatesFocus(){return!0}get root(){return t(this)}};s.style="button{padding:0;color:var(--gse-ui-formControl-input-inputIcon-defaultColor);background:transparent;border:none;border-radius:var(--gse-ui-formControl-input-borderRadius)}button:not(:disabled):focus-visible,button:not(:disabled):hover{color:var(--gse-ui-formControl-input-inputIcon-iconEndColor);cursor:pointer}button gux-icon{width:var(--gse-ui-icon-size-sm);height:var(--gse-ui-icon-size-sm);border-radius:var(--gse-ui-formControl-input-borderRadius)}button:focus{outline:none}button:focus-visible:enabled gux-icon{border:var(--gse-ui-formControl-input-active-border-width) var(--gse-ui-formControl-input-active-border-style) var(--gse-ui-formControl-input-active-border-color);border-radius:var(--gse-ui-formControl-focusRing-borderRadius);outline:var(--gse-ui-formControl-input-focus-border-width) var(--gse-ui-formControl-input-focus-border-style) var(--gse-ui-formControl-input-focus-border-color)}";export{s as gux_form_field_input_clear_button}
@@ -1 +0,0 @@
1
- import{r as e,h as t,g as r}from"./p-deca7631.js";import{b as i}from"./p-e10cb032.js";import{O as o}from"./p-d6edbaeb.js";import{a as s,o as l}from"./p-37bfd195.js";import{t as a}from"./p-02e248d2.js";import{G as n,a as h}from"./p-8324a0ac.js";import{G as f,a as u,v as d,b as g}from"./p-e5766b80.js";import{h as p}from"./p-324b23f3.js";import{g as m}from"./p-dd53013c.js";import"./p-0962dd7a.js";import"./p-3ea0d493.js";import"./p-9d734bbd.js";import"./p-373c5d93.js";const c={required:"Required"};const x=class{constructor(t){e(this,t),this.labelPosition=void 0,this.computedLabelPosition="above",this.disabled=void 0,this.required=!1,this.hasError=!1,this.hasHelp=!1}watchValue(e){const t=this.root.querySelector("gux-phone-input-beta");t&&(t.hasError=e)}onMutation(){this.hasError=p(this.root,"error"),this.hasHelp=p(this.root,"help")}async componentWillLoad(){this.getI18nValue=await i(this.root,c),this.setInput(),this.setLabel(),this.hasError=p(this.root,"error"),this.hasHelp=p(this.root,"help"),a(this.root,{variant:this.variant})}disconnectedCallback(){this.disabledObserver.disconnect(),this.requiredObserver.disconnect()}render(){return t(h,{labelPosition:this.computedLabelPosition},t(n,{position:this.computedLabelPosition,required:this.required},t("slot",{name:"label",onSlotchange:()=>this.setLabel()}),this.renderScreenReaderText(this.getI18nValue("required"),this.required),this.renderScreenReaderText(m(this.root,"error"),this.hasError)),t("div",{class:"gux-input-and-error-container"},t("div",{class:{"gux-input":!0,"gux-input-error":this.hasError}},t("div",{class:{"gux-input-container":!0,"gux-disabled":this.disabled}},t("slot",null))),t(f,{show:this.hasError},t("slot",{name:"error"})),t(u,{show:!this.hasError&&this.hasHelp},t("slot",{name:"help"}))))}renderScreenReaderText(e,r=!0){if(r)return t("gux-screen-reader-beta",null,e)}get variant(){return`phoneInput-${this.labelPosition?this.labelPosition.toLowerCase():"none"}`}setInput(){this.phoneInputElement=this.root.querySelector("gux-phone-input-beta"),this.disabled=this.phoneInputElement.disabled,this.required=this.phoneInputElement.required,this.disabledObserver=s(this.phoneInputElement,(e=>{this.disabled=e})),this.requiredObserver=l(this.phoneInputElement,(e=>{this.required=e})),d(this.root,this.phoneInputElement)}setLabel(){this.label=this.root.querySelector('label[slot="label"]'),this.computedLabelPosition=g(this.label,this.labelPosition)}get root(){return r(this)}static get watchers(){return{hasError:["watchValue"]}}};(function(e,t,r,i){var o,s=arguments.length,l=s<3?t:null===i?i=Object.getOwnPropertyDescriptor(t,r):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)l=Reflect.decorate(e,t,r,i);else for(var a=e.length-1;a>=0;a--)(o=e[a])&&(l=(s<3?o(l):s>3?o(t,r,l):o(t,r))||l);s>3&&l&&Object.defineProperty(t,r,l)})([o({childList:!0,subtree:!0})],x.prototype,"onMutation",null),x.style='.gux-form-field-fieldset-container{display:flex;min-width:0;padding:0;margin:0;border:none}.gux-form-field-error{display:none;flex-direction:row;flex-wrap:nowrap;place-content:stretch flex-start;align-items: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;align-self:auto;order:0;min-width:var(--gse-ui-icon-size-sm);min-height:var(--gse-ui-icon-size-sm);margin-right:var(--gse-ui-formControl-helper-gap);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-legend-label.gux-required::after{color:var(--gse-ui-formControl-label-indicator-requiredColor);content:" *"}.gux-form-field-legend-label.gux-beside{position:relative;top:var(--gse-ui-formControl-input-top);float:left;width:fit-content;min-width:45px;margin-right:var(--gse-ui-formControl-label-gap)}.gux-form-field-legend-label.gux-above{padding:var(--gse-ui-formControl-label-padding)}.gux-form-field-legend-label.gux-screenreader{position:absolute;top:auto;left:-10000px;width:1px;height:1px;overflow:hidden}::slotted(label){font-family:var(--gse-ui-formControl-label-text-fontFamily);font-size:var(--gse-ui-formControl-label-text-fontSize);font-weight:var(--gse-ui-formControl-label-text-fontWeight);line-height:var(--gse-ui-formControl-label-text-lineHeight);color:var(--gse-ui-formControl-label-labelColor)}.gux-input-and-error-container{flex-grow:1}';export{x as gux_form_field_phone}
@@ -1 +0,0 @@
1
- import{h as e}from"./p-deca7631.js";const i=({position:i,required:l},s)=>e("legend",{class:{"gux-form-field-legend-label":!0,[`gux-${i}`]:!0,"gux-required":l}},s),l=({labelPosition:i},l)=>e("fieldset",{class:{"gux-form-field-fieldset-container":!0,[`gux-${i}`]:!0}},l);export{i as G,l as a}
@@ -1 +0,0 @@
1
- import{r as o,h as r,g as e}from"./p-deca7631.js";import{c as t,o as i}from"./p-16f3da0d.js";import{O as n}from"./p-d6edbaeb.js";import{o as l}from"./p-37bfd195.js";import{p as a}from"./p-28f55159.js";import{h as s}from"./p-324b23f3.js";import{G as u,a as p,v as f,b as g}from"./p-e5766b80.js";import{G as d,a as h}from"./p-2b468e4b.js";import{t as c}from"./p-02e248d2.js";import"./p-3ea0d493.js";import"./p-9d734bbd.js";import"./p-373c5d93.js";const m=class{constructor(r){o(this,r),this.labelPosition=void 0,this.computedLabelPosition="above",this.disabled=void 0,this.required=void 0,this.hasError=!1,this.hasHelp=!1}onMutation(){this.hasError=s(this.root,"error"),this.hasHelp=s(this.root,"help")}componentWillLoad(){this.setInput(),this.setLabel(),this.hasError=s(this.root,"error"),this.hasHelp=s(this.root,"help"),c(this.root,{variant:this.variant})}disconnectedCallback(){this.disabledObserver&&this.disabledObserver.disconnect(),this.requiredObserver&&this.requiredObserver.disconnect()}render(){return r(h,{labelPosition:this.computedLabelPosition},r(d,{position:this.computedLabelPosition,required:this.required},r("slot",{name:"label",onSlotchange:()=>this.setLabel()})),r("div",{class:"gux-input-and-error-container"},r("div",{class:{"gux-input":!0,"gux-input-error":this.hasError}},r("div",{class:{"gux-input-container":!0,"gux-disabled":this.disabled}},r("slot",{name:"input"}),r("gux-icon",{"icon-name":"chevron-small-down",decorative:!0}))),r(u,{show:this.hasError},r("slot",{name:"error"})),r(p,{show:!this.hasError&&this.hasHelp},r("slot",{name:"help"}))))}get variant(){const o=this.labelPosition?this.labelPosition.toLowerCase():"none";return`${this.input.getAttribute("type")}-${o}`}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,(o=>{this.disabled=o})),this.requiredObserver=l(this.input,(o=>{this.required=o})),f(this.root,this.input)}setLabel(){this.label=this.root.querySelector('label[slot="label"]'),this.computedLabelPosition=g(this.label,this.labelPosition)}get root(){return e(this)}};(function(o,r,e,t){var i,n=arguments.length,l=n<3?r:null===t?t=Object.getOwnPropertyDescriptor(r,e):t;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)l=Reflect.decorate(o,r,e,t);else for(var a=o.length-1;a>=0;a--)(i=o[a])&&(l=(n<3?i(l):n>3?i(r,e,l):i(r,e))||l);n>3&&l&&Object.defineProperty(r,e,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;place-content:stretch flex-start;align-items: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;align-self:auto;order:0;min-width:var(--gse-ui-icon-size-sm);min-height:var(--gse-ui-icon-size-sm);margin-right:var(--gse-ui-formControl-helper-gap);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.gux-required::after{color:var(--gse-ui-formControl-label-indicator-requiredColor);content:" *"}.gux-form-field-label.gux-beside{position:relative;top:8px;width:fit-content;min-width:45px;margin-right:var(--gse-ui-formControl-label-gap)}.gux-form-field-label.gux-above{padding:var(--gse-ui-formControl-label-padding)}.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:var(--gse-ui-formControl-helper-paddingSmall);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-text-fontFamily);font-size:var(--gse-ui-formControl-label-text-fontSize);font-weight:var(--gse-ui-formControl-label-text-fontWeight);line-height:var(--gse-ui-formControl-label-text-lineHeight);color:var(--gse-ui-formControl-label-labelColor)}::slotted(select){flex:1 1 auto;align-self:auto;order:0;width:100%;margin-left:var(--gse-ui-formControl-input-gap);color:var(--gse-ui-formControl-input-populatedColor);-moz-appearance:none;-webkit-appearance:none;appearance:none;background-color:var(--gse-ui-formControl-input-backgroundColor);border:none;border-radius:var(--gse-ui-formControl-input-borderRadius);outline:none}::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;width:100%;height:var(--gse-ui-formControl-input-textfield-height);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{width:var(--gse-ui-formControl-input-inputIcon-size);height:var(--gse-ui-formControl-input-inputIcon-size);margin-right:var(--gse-ui-formControl-input-gap);pointer-events:none}.gux-input-and-error-container .gux-input .gux-input-container:focus-within{border:var(--gse-ui-formControl-input-active-border-width) var(--gse-ui-formControl-input-active-border-style) var(--gse-ui-formControl-input-active-border-color);border-radius:var(--gse-ui-formControl-focusRing-borderRadius);outline:var(--gse-ui-formControl-input-focus-border-width) var(--gse-ui-formControl-input-focus-border-style) var(--gse-ui-formControl-input-focus-border-color)}.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 +0,0 @@
1
- import{r as e,h as g}from"./p-deca7631.js";const r=class{constructor(g){e(this,g),this.checked=!1,this.disabled=!1,this.guxAriaLabel="",this.labelId="",this.errorId=""}componentDidLoad(){var e,g,r;this.labelId?null===(e=this.checkboxElement)||void 0===e||e.setAttribute("aria-labelledby",this.labelId):null===(g=this.checkboxElement)||void 0===g||g.setAttribute("aria-label",this.guxAriaLabel),this.errorId&&(null===(r=this.checkboxElement)||void 0===r||r.setAttribute("aria-describedby",this.errorId))}render(){const e=this.errorId.length>0;return g("div",{class:{"gux-toggle-slider":!0,"gux-checked":this.checked,"gux-disabled":this.disabled,"gux-error":e},role:"checkbox","aria-checked":this.checked.toString(),"aria-disabled":this.disabled.toString(),tabindex:this.disabled?"":"0",ref:e=>this.checkboxElement=e},g("div",{class:"gux-slider"},g("div",{class:"gux-switch"},!e&&g("gux-icon",{"icon-name":"checkmark",decorative:!0}))))}};r.style='gux-toggle-slider{display:flex;align-items:center;padding:2px;outline:none}gux-toggle-slider .gux-toggle-slider{position:relative;display:inline-block;flex:0 1 auto;align-self:auto;order:0;width:var(--gse-ui-toggle-track-width);height:var(--gse-ui-toggle-track-height);border-radius:var(--gse-ui-toggle-track-borderRadius)}gux-toggle-slider .gux-toggle-slider.gux-error .gux-slider{background-color:var(--gse-ui-toggle-track-error-off-backgroundColor)}gux-toggle-slider .gux-toggle-slider.gux-error .gux-slider .gux-switch{border:var(--gse-ui-toggle-handle-error-border-width) var(--gse-ui-toggle-handle-error-border-style) var(--gse-ui-toggle-handle-error-border-color)}gux-toggle-slider .gux-toggle-slider.gux-error.gux-checked .gux-slider{background-color:var(--gse-ui-toggle-track-error-on-backgroundColor)}gux-toggle-slider .gux-toggle-slider.gux-disabled{pointer-events:none;cursor:default;background-color:var(--gse-ui-toggle-track-disabled-off-backgroundColor);opacity:var(--gse-ui-toggle-disabled-opacity)}gux-toggle-slider .gux-toggle-slider:focus-visible{border-radius:var(--gse-ui-toggle-focus-borderRadius);outline:var(--gse-ui-toggle-focus-border-width) var(--gse-ui-toggle-focus-border-style) var(--gse-ui-toggle-focus-border-color);outline-offset:var(--gse-ui-toggle-focus-offset)}gux-toggle-slider .gux-toggle-slider .gux-slider{position:absolute;inset:0;background-color:var(--gse-ui-toggle-track-enabled-off-backgroundColor);border-radius:calc(var(--gse-ui-toggle-track-height) / 2);transition:background-color 0.5s ease}gux-toggle-slider .gux-toggle-slider .gux-slider:hover{background-color:var(--gse-ui-toggle-track-hover-off-backgroundColor)}gux-toggle-slider .gux-toggle-slider .gux-slider .gux-switch{position:absolute;bottom:calc((var(--gse-ui-toggle-track-height) - var(--gse-ui-toggle-handle-width)) / 2);left:calc((var(--gse-ui-toggle-track-height) - var(--gse-ui-toggle-handle-width)) / 2);width:calc(var(--gse-ui-toggle-handle-width) - 4px);height:calc(var(--gse-ui-toggle-handle-height) - 4px);color:var(--gse-ui-toggle-handle-foregroundColor);content:"";background-color:var(--gse-ui-toggle-handle-backgroundColor);border:var(--gse-ui-toggle-handle-enabled-border-width) var(--gse-ui-toggle-handle-enabled-border-style) var(--gse-ui-toggle-handle-enabled-border-color);border-radius:var(--gse-ui-toggle-handle-borderRadius);transition:0.5s}gux-toggle-slider .gux-toggle-slider .gux-slider .gux-switch gux-icon{position:absolute;inset:0;width:calc(var(--gse-ui-toggle-handle-width) - 2);height:calc(var(--gse-ui-toggle-handle-width) - 2);padding:1px;color:#fdfdfd;opacity:0;transition:color 0.5s linear}gux-toggle-slider .gux-toggle-slider.gux-checked .gux-slider{background-color:var(--gse-ui-toggle-track-enabled-on-backgroundColor)}gux-toggle-slider .gux-toggle-slider.gux-checked .gux-slider.gux-disabled{background-color:var(--gse-ui-toggle-track-disabled-on-backgroundColor)}gux-toggle-slider .gux-toggle-slider.gux-checked .gux-slider.gux-disabled .gux-switch{border:var(--gse-ui-toggle-handle-hover-disabled-border-width) var(--gse-ui-toggle-handle-hover-disabled-border-style) var(--gse-ui-toggle-handle-hover-disabled-border-color)}gux-toggle-slider .gux-toggle-slider.gux-checked .gux-slider:hover{background-color:var(--gse-ui-toggle-track-hover-on-backgroundColor)}gux-toggle-slider .gux-toggle-slider.gux-checked .gux-slider:hover .gux-switch{border:var(--gse-ui-toggle-handle-hover-border-width) var(--gse-ui-toggle-handle-hover-border-style) var(--gse-ui-toggle-handle-hover-border-color)}gux-toggle-slider .gux-toggle-slider.gux-checked .gux-slider .gux-switch{transform:translateX(calc(var(--gse-ui-toggle-track-width) - var(--gse-ui-toggle-track-height)))}gux-toggle-slider .gux-toggle-slider.gux-checked .gux-slider .gux-switch gux-icon{color:#2a60c8;opacity:1;transition:opacity 0.25s linear;transition-delay:0.25s}';export{r as gux_toggle_slider}
@@ -1 +0,0 @@
1
- import{r as o,f as r,h as t,g as e}from"./p-deca7631.js";import{c as i,o as n}from"./p-16f3da0d.js";import{O as l}from"./p-d6edbaeb.js";import{o as s}from"./p-37bfd195.js";import{p as a}from"./p-28f55159.js";import{h as u}from"./p-324b23f3.js";import{h as f,d as p,G as g,a as h,g as d,v as c,b as m}from"./p-e5766b80.js";import{G as x,a as v}from"./p-2b468e4b.js";import{t as b}from"./p-02e248d2.js";import"./p-3ea0d493.js";import"./p-9d734bbd.js";import"./p-373c5d93.js";const C=class{constructor(r){o(this,r),this.labelPosition=void 0,this.computedLabelPosition="above",this.clearable=!0,this.disabled=void 0,this.required=void 0,this.hasContent=!1,this.hasError=!1,this.hasHelp=!1}onMutation(){this.hasError=u(this.root,"error"),this.hasHelp=u(this.root,"help")}async guxForceUpdate(){this.hasContent=f(this.input),this.hasError=u(this.root,"error"),this.hasHelp=u(this.root,"help"),r(this.root)}componentWillLoad(){this.setInput(),this.setLabel(),this.hasError=u(this.root,"error"),this.hasHelp=u(this.root,"help"),b(this.root,{variant:this.variant})}disconnectedCallback(){this.disabledObserver&&this.disabledObserver.disconnect(),this.requiredObserver&&this.requiredObserver.disconnect()}render(){return t(v,{labelPosition:this.computedLabelPosition},t(x,{position:this.computedLabelPosition,required:this.required},t("slot",{name:"label",onSlotchange:()=>this.setLabel()})),t("div",{class:"gux-input-and-error-container"},t("div",{class:{"gux-input":!0,"gux-input-error":this.hasError}},t("div",{class:{"gux-input-container":!0,"gux-disabled":this.disabled}},t("gux-icon",{"icon-name":"search",decorative:!0}),t("slot",{name:"input"}),this.clearable&&this.hasContent&&!this.disabled&&t("gux-form-field-input-clear-button",{onClick:()=>p(this.input)}))),t(g,{show:this.hasError},t("slot",{name:"error"})),t(h,{show:!this.hasError&&this.hasHelp},t("slot",{name:"help"}))))}get variant(){const o=this.labelPosition?this.labelPosition.toLowerCase():"none";return`${this.input.getAttribute("type")}-${o}`}setInput(){this.input=d(this.root,'input[type="search"][slot="input"]'),this.hasContent=f(this.input),a(this.input),this.input.addEventListener("input",(()=>{this.hasContent=f(this.input)})),this.disabled=i(this.input),this.required=this.input.required,this.disabledObserver=n(this.input,(o=>{this.disabled=o})),this.requiredObserver=s(this.input,(o=>{this.required=o})),c(this.root,this.input)}setLabel(){this.label=this.root.querySelector('label[slot="label"]'),this.computedLabelPosition=m(this.label,this.labelPosition)}get root(){return e(this)}};(function(o,r,t,e){var i,n=arguments.length,l=n<3?r:null===e?e=Object.getOwnPropertyDescriptor(r,t):e;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)l=Reflect.decorate(o,r,t,e);else for(var s=o.length-1;s>=0;s--)(i=o[s])&&(l=(n<3?i(l):n>3?i(r,t,l):i(r,t))||l);n>3&&l&&Object.defineProperty(r,t,l)})([l({childList:!0,subtree:!0})],C.prototype,"onMutation",null),C.style='.gux-form-field-container.gux-beside{display:flex;flex-direction:row}.gux-form-field-error{display:none;flex-direction:row;flex-wrap:nowrap;place-content:stretch flex-start;align-items: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;align-self:auto;order:0;min-width:var(--gse-ui-icon-size-sm);min-height:var(--gse-ui-icon-size-sm);margin-right:var(--gse-ui-formControl-helper-gap);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.gux-required::after{color:var(--gse-ui-formControl-label-indicator-requiredColor);content:" *"}.gux-form-field-label.gux-beside{position:relative;top:8px;width:fit-content;min-width:45px;margin-right:var(--gse-ui-formControl-label-gap)}.gux-form-field-label.gux-above{padding:var(--gse-ui-formControl-label-padding)}.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:var(--gse-ui-formControl-helper-paddingSmall);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-text-fontFamily);font-size:var(--gse-ui-formControl-label-text-fontSize);font-weight:var(--gse-ui-formControl-label-text-fontWeight);line-height:var(--gse-ui-formControl-label-text-lineHeight);color:var(--gse-ui-formControl-label-labelColor)}::slotted(input){flex:1 1 auto;align-self:auto;order:0;width:100%;overflow:hidden;font-size:var(--gse-ui-formControl-input-contentText-fontSize);color:var(--gse-ui-formControl-input-populatedColor);text-overflow:ellipsis;background-color:var(--gse-ui-formControl-input-backgroundColor);border:none;outline:none}::slotted(input)::placeholder{color:var(--gse-ui-formControl-input-placeholderColor);opacity:1}.gux-input-and-error-container{flex-grow:1}.gux-input-and-error-container .gux-input{display:flex;flex-direction:row;flex-wrap:nowrap;align-content:stretch;align-items:center}.gux-input-and-error-container .gux-input .gux-input-container{box-sizing:border-box;display:flex;flex:1 1 auto;flex-direction:row;flex-wrap:nowrap;gap:var(--gse-ui-formControl-input-gap);place-content:stretch center;align-items:center;align-self:auto;order:0;width:100%;height:var(--gse-ui-formControl-input-textfield-height);padding:var(--gse-ui-formControl-input-padding);font-family:var(--gse-ui-formControl-input-contentText-fontFamily);font-size:var(--gse-ui-formControl-input-contentText-fontSize);font-weight:var(--gse-ui-formControl-input-contentText-fontWeight);line-height:var(--gse-ui-formControl-input-contentText-lineHeight);color:var(--gse-ui-formControl-input-populatedColor);background-color:var(--gse-ui-formControl-input-backgroundColor);background-image:none;border:var(--gse-ui-formControl-input-default-border-width) var(--gse-ui-formControl-input-default-border-style) var(--gse-ui-formControl-input-default-border-color);border-radius:var(--gse-ui-formControl-input-borderRadius)}.gux-input-and-error-container .gux-input .gux-input-container.gux-disabled{opacity:var(--gse-ui-formControl-input-disabled-opacity)}.gux-input-and-error-container .gux-input .gux-input-container gux-icon[icon-name=search]{flex:0 0 auto;align-self:auto;order:0;width:var(--gse-ui-formControl-input-inputIcon-size);height:var(--gse-ui-formControl-input-inputIcon-size);color:var(--gse-ui-formControl-input-inputIcon-defaultColor)}.gux-input-and-error-container .gux-input .gux-input-container:focus-within{border:var(--gse-ui-formControl-input-active-border-width) var(--gse-ui-formControl-input-active-border-style) var(--gse-ui-formControl-input-active-border-color);border-radius:var(--gse-ui-formControl-focusRing-borderRadius);outline:var(--gse-ui-formControl-input-focus-border-width) var(--gse-ui-formControl-input-focus-border-style) var(--gse-ui-formControl-input-focus-border-color)}.gux-input-and-error-container .gux-input .gux-input-container:hover:not(.gux-disabled){border:var(--gse-ui-formControl-input-hover-border-width) var(--gse-ui-formControl-input-hover-border-style) var(--gse-ui-formControl-input-hover-border-color)}.gux-input-and-error-container .gux-input.gux-input-error .gux-input-container{border-color:var(--gse-ui-formControl-input-error-border-color)}';export{C as gux_form_field_search}
@@ -1 +0,0 @@
1
- import{r as e,h as t,H as o,g as s}from"./p-deca7631.js";import{a as i,c as u,o as n}from"./p-f3521f3e.js";import{a as r}from"./p-ffaadf62.js";import{m as a,h}from"./p-705311af.js";const l=class{constructor(t){e(this,t),this.label=void 0,this.isShown=!1}async guxFocus(){this.buttonElement.focus()}onKeydown(e){switch(a(e,this.root),e.key){case"Enter":e.stopPropagation(),this.hideDelayTimeout=r((()=>{this.focusOnSubmenu()})),this.guxFocus();break;case"ArrowRight":e.stopPropagation(),this.show(),this.hideDelayTimeout=r((()=>{this.focusOnSubmenu()}));break;case"ArrowLeft":case"Escape":this.root!==e.target&&e.stopPropagation(),this.guxFocus()}}onKeyup(e){" "===e.key&&(this.hideDelayTimeout=r((()=>{this.focusOnSubmenu()})),this.guxFocus())}onmouseenter(){this.show()}onMouseleave(){this.hide()}onClick(e){"GUX-MENU-OPTION"!==e.target.nodeName?e.stopPropagation():this.hide()}onFocusin(){this.show()}onFocusout(){this.hide()}show(){clearTimeout(this.hideDelayTimeout),this.isShown=!0}hide(){this.isShown&&(this.hideDelayTimeout=setTimeout((()=>{this.isShown=!1}),h))}runUpdatePosition(){this.root.isConnected?this.cleanupUpdatePosition=i(this.buttonElement,this.submenuElement,(()=>this.updatePosition()),{ancestorScroll:!0,elementResize:!0,animationFrame:!0,ancestorResize:!0}):this.disconnectedCallback()}updatePosition(){this.submenuElement&&u(this.buttonElement,this.submenuElement,{placement:"right-start",strategy:"fixed",middleware:[n(4)]}).then((({x:e,y:t})=>{Object.assign(this.submenuElement.style,{left:`${e}px`,top:`${t}px`})}))}focusOnSubmenu(){this.submenuContentElement.contains(document.activeElement)||Array.from(this.root.children)[0].guxFocus()}componentDidLoad(){this.isShown&&this.runUpdatePosition()}componentDidUpdate(){this.isShown?this.runUpdatePosition():this.cleanupUpdatePosition&&this.cleanupUpdatePosition()}disconnectedCallback(){this.cleanupUpdatePosition&&this.cleanupUpdatePosition()}render(){return t(o,null,t("button",{type:"button",class:{"gux-submenu-button":!0,"gux-submenu-button-active":this.isShown},role:"menuitem",tabIndex:-1,ref:e=>this.buttonElement=e,"aria-haspopup":"true","aria-expanded":this.isShown.toString()},t("span",{class:"gux-submenu-button-text"},this.label),t("gux-icon",{class:"gux-submenu-open-icon","icon-name":"chevron-small-right",decorative:!0})),t("div",{ref:e=>this.submenuElement=e,class:{"gux-submenu-wrapper":!0,"gux-shown":this.isShown}},t("div",{role:"menu",class:"gux-submenu-content",ref:e=>this.submenuContentElement=e},t("slot",null))))}get root(){return s(this)}};l.style=":host{display:block;flex:1 1 auto;align-self:auto}:host .gux-submenu-button{all:unset;display:flex;flex-direction:row;flex-wrap:nowrap;place-content:stretch flex-start;align-items:center;width:var(--gse-ui-flyoutMenu-width);height:var(--gse-ui-menu-option-height);padding:var(--gse-ui-menu-option-padding);line-height:var(--gse-ui-menu-option-label-default-text-lineHeight);color:var(--gse-ui-menu-option-label-foregroundColor);background-color:var(--gse-ui-menu-option-default-backgroundColor)}:host .gux-submenu-button:focus-within,:host .gux-submenu-button:hover{background-color:var(--gse-ui-menu-option-hover-backgroundColor)}:host .gux-submenu-button.gux-submenu-button-active{font-weight:var(--gse-ui-menu-option-label-active-text-fontWeight);color:var(--gse-ui-menu-option-shortcut-selected-foregroundColor);background-color:var(--gse-ui-menu-option-selected-backgroundColor)}:host .gux-submenu-button .gux-submenu-button-text{flex:1 1 auto;align-self:auto;order:0;margin-right:var(--gse-ui-menu-option-gap);overflow-x:hidden;text-overflow:ellipsis;white-space:nowrap}:host .gux-submenu-button .gux-submenu-open-icon{flex:0 0 auto;align-self:auto;order:0;width:var(--gse-ui-menu-option-startIcon-width);height:var(--gse-ui-menu-option-startIcon-height)}:host .gux-submenu-wrapper{position:fixed;top:0;left:0;flex-direction:column;padding:var(--gse-ui-menu-padding);margin:0;visibility:hidden;background-color: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-x) var(--gse-ui-menu-boxShadow-y) var(--gse-ui-menu-boxShadow-blur) var(--gse-ui-menu-boxShadow-spread) var(--gse-ui-menu-boxShadow-color)}:host .gux-submenu-wrapper.gux-shown{visibility:visible}";export{l as gux_submenu}
@@ -1 +0,0 @@
1
- import{r,h as e,H as t}from"./p-deca7631.js";const o=class{constructor(e){r(this,e)}render(){return e(t,{role:"presentation"})}};o.style=":host{position:relative;display:flex;width:100%;height:1px;padding:0;margin:16px 0;line-height:32px;pointer-events:none;cursor:pointer;cursor:default;background-color:#c8cfda}";export{o as gux_list_divider}
@@ -1 +0,0 @@
1
- import{r as t,c as i,h as a}from"./p-deca7631.js";const e=class{constructor(a){t(this,a),this.internalactivatetabpanel=i(this,"internalactivatetabpanel",7),this.tabId=void 0,this.guxDisabled=!1,this.active=!1}onClick(){this.active||this.guxDisabled||this.internalactivatetabpanel.emit(this.tabId)}onFocusin(){this.tooltipTitleElement.setShowTooltip()}onFocusout(){this.tooltipTitleElement.setHideTooltip()}async guxSetActive(t){this.active=t}async guxFocus(){this.buttonElement.focus()}async guxGetActive(){return this.active}render(){return a("button",{class:{"gux-disabled":this.guxDisabled,"gux-tab":!0,"gux-active":this.active},type:"button","aria-disabled":this.guxDisabled.toString(),id:`gux-${this.tabId}-tab`,role:"tab","aria-controls":`gux-${this.tabId}-panel`,"aria-selected":this.active.toString(),tabIndex:this.active?0:-1,ref:t=>this.buttonElement=t},a("gux-tooltip-title",{ref:t=>this.tooltipTitleElement=t},a("span",null,a("slot",null))))}};e.style="gux-tabs[orientation=vertical]>gux-tab-list .gux-tab{display:flex;justify-content:flex-end;height:var(--gse-ui-tabs-item-vertical-fixedHeight);padding:var(--gse-ui-tabs-item-vertical-padding);border-right:var(--gse-ui-tabs-item-divider-vertical-width) solid var(--gse-ui-tabs-item-divider-dividerColor)}gux-tabs[orientation=vertical]>gux-tab-list .gux-tab.gux-active{border-right:var(--gse-ui-tabs-item-indicator-vertical-width) solid var(--gse-ui-tabs-item-indicator-activeColor)}gux-tabs[orientation=vertical]>gux-tab-list .gux-tab:hover:not(.gux-active):not(.gux-disabled){border-right:var(--gse-ui-tabs-item-indicator-vertical-width) solid var(--gse-ui-tabs-item-indicator-hoverColor)}gux-tabs:not([orientation=vertical])>gux-tab-list .gux-tab{box-sizing:border-box;height:var(--gse-ui-tabs-item-horizontal-fixedHeight);padding:var(--gse-ui-tabs-item-horizontal-padding)}gux-tabs:not([orientation=vertical])>gux-tab-list .gux-tab.gux-active{border-bottom:var(--gse-ui-tabs-item-indicator-horizontal-height) solid var(--gse-ui-tabs-item-indicator-activeColor)}gux-tabs:not([orientation=vertical])>gux-tab-list .gux-tab:hover:not(.gux-active):not(.gux-disabled){border-bottom:var(--gse-ui-tabs-item-indicator-horizontal-height) solid var(--gse-ui-tabs-item-indicator-hoverColor)}gux-tabs:not([orientation=vertical])>gux-tab-list .gux-tab gux-tooltip-title{margin:auto}gux-tabs[alignment=center]>gux-tab-list .gux-scrollable-section{justify-content:center}gux-tabs[alignment=full-width]>gux-tab-list .gux-scrollable-section{flex-grow:1}gux-tabs[alignment=full-width]>gux-tab-list gux-tab{width:100%;max-width:100%}gux-tabs[alignment=full-width]>gux-tab-list gux-tab .gux-tab{width:100%;max-width:100%}gux-tab{display:flex;width:var(--gse-ui-tabs-item-fixedWidth);max-width:160px}gux-tab .gux-tab{display:flex;align-items:center;width:var(--gse-ui-tabs-item-fixedWidth);max-width:160px;height:var(--gse-ui-tabs-item-height);font-family:var(--gse-ui-tabs-item-itemText-fontFamily);font-size:var(--gse-ui-tabs-item-itemText-fontSize);font-weight:var(--gse-ui-tabs-item-itemText-fontWeight);line-height:var(--gse-ui-tabs-item-itemText-lineHeight);color:var(--gse-ui-tabs-item-itemTextColor);cursor:pointer;background-color:transparent;border:none}gux-tab .gux-tab.gux-disabled{cursor:default}gux-tab .gux-tab.gux-disabled gux-tooltip-title{opacity:var(--gse-ui-tabs-item-disableOpacity)}gux-tab .gux-tab:focus-visible{border:var(--gse-ui-tabs-focusRing-border-width) var(--gse-ui-tabs-focusRing-border-style) var(--gse-ui-tabs-focusRing-border-color);border-radius:var(--gse-ui-tabs-focusRing-borderRadius);outline:none}gux-tab .gux-tab gux-tooltip-title{max-width:160px;white-space:nowrap}";export{e as gux_tab}
@@ -1 +0,0 @@
1
- import{r as e,h as o,H as t,g as r}from"./p-deca7631.js";import{c as i,o as s}from"./p-16f3da0d.js";import{O as a}from"./p-d6edbaeb.js";import{p as l}from"./p-28f55159.js";import{h as C}from"./p-324b23f3.js";import{G as g,a as n,g as h,v as d}from"./p-e5766b80.js";import{t as c}from"./p-02e248d2.js";import"./p-3ea0d493.js";import"./p-9d734bbd.js";import"./p-373c5d93.js";const u=class{constructor(o){e(this,o),this.labelPosition="beside",this.disabled=void 0,this.hasError=!1,this.hasHelp=!1}onMutation(){this.hasError=C(this.root,"error"),this.hasHelp=C(this.root,"help")}componentWillLoad(){this.setInput(),this.hasError=C(this.root,"error"),this.hasHelp=C(this.root,"help"),c(this.root,{variant:this.variant})}disconnectedCallback(){this.disabledObserver&&this.disabledObserver.disconnect()}render(){return o(t,{class:{"gux-input-error":this.hasError,"gux-disabled":this.disabled}},o("div",{class:"gux-form-field-container"},o("div",{class:"gux-input-label"},o("div",{class:"gux-input"},o("slot",{name:"input",onSlotchange:()=>this.setInput()})),o("div",{class:`gux-label-${this.labelPosition}`},o("slot",{name:"label"}),o(g,{show:this.hasError},o("slot",{name:"error"})),o(n,{show:!this.hasError&&this.hasHelp},o("slot",{name:"help"}))))))}get variant(){return this.labelPosition.toLowerCase()}setInput(){this.input=h(this.root,'input[type="checkbox"][slot="input"]'),l(this.input),this.disabled=i(this.input),this.disabledObserver=s(this.input,(e=>{this.disabled=e})),d(this.root,this.input)}get root(){return r(this)}};(function(e,o,t,r){var i,s=arguments.length,a=s<3?o:null===r?r=Object.getOwnPropertyDescriptor(o,t):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(e,o,t,r);else for(var l=e.length-1;l>=0;l--)(i=e[l])&&(a=(s<3?i(a):s>3?i(o,t,a):i(o,t))||a);s>3&&a&&Object.defineProperty(o,t,a)})([a({childList:!0,subtree:!0})],u.prototype,"onMutation",null),u.style=".gux-form-field-error{display:none;flex-direction:row;flex-wrap:nowrap;place-content:stretch flex-start;align-items: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;align-self:auto;order:0;min-width:var(--gse-ui-icon-size-sm);min-height:var(--gse-ui-icon-size-sm);margin-right:var(--gse-ui-formControl-helper-gap);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:var(--gse-ui-formControl-helper-paddingSmall);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{background:var(--gse-ui-checkbox-icon-error-foregroundColor);-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\")}:host(.gux-input-error) ::slotted(input[type=checkbox]:checked)::before{background:var(--gse-ui-checkbox-icon-error-foregroundColor);-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\")}:host(.gux-input-error) ::slotted(input[type=checkbox]:not(:checked):not(:disabled):not(:indeterminate):hover)::before{background:var(--gse-ui-checkbox-icon-error-foregroundColor);-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\")}:host(.gux-input-error) ::slotted(input[type=checkbox]:indeterminate)::before{background:var(--gse-ui-checkbox-icon-error-foregroundColor);-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\")}: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;width:var(--gse-ui-checkbox-icon-width);height:var(--gse-ui-checkbox-icon-height);margin:0;text-align:center;vertical-align:middle;-webkit-appearance:none;appearance:none;cursor:pointer;border:0;outline:none}::slotted(input[type=checkbox])::before{grid-area:1/1;content:\"\";border-radius:15%}::slotted(input[type=checkbox]:focus-visible){border-radius:var(--gse-ui-checkbox-focus-borderRadiusSmall);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)}::slotted(input[type=checkbox]:not(:checked))::before{background:var(--gse-ui-checkbox-icon-default-unselectedForegroundColor);-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\")}::slotted(input[type=checkbox]:not(:checked):not(:disabled):not(:indeterminate):hover)::before{background:var(--gse-ui-checkbox-icon-hover-foregroundColor);-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\")}::slotted(input[type=checkbox]:checked:not(:disabled):hover){background:var(--gse-ui-checkbox-icon-hover-foregroundColor);-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\")}::slotted(input[type=checkbox]:not(:disabled):indeterminate:hover){background:var(--gse-ui-checkbox-icon-hover-foregroundColor);-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\")}::slotted(input[type=checkbox]:checked)::before{background:var(--gse-ui-checkbox-icon-default-selectedForegroundColor);-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\")}::slotted(input[type=checkbox]:indeterminate)::before{background:var(--gse-ui-checkbox-icon-default-selectedForegroundColor);-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\")}::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);color:var(--gse-ui-checkbox-label-foregroundColor);vertical-align:middle}";export{u as gux_form_field_checkbox}
@@ -1 +0,0 @@
1
- import{r as o,h as r,H as e}from"./p-deca7631.js";const u=class{constructor(r){o(this,r)}render(){return r(e,{role:"menu"},r("slot",null))}};u.style=":host{flex-direction:column;width:fit-content;padding:var(--gse-ui-flyoutMenu-padding);background-color:var(--gse-ui-flyoutMenu-backgroundColor);border-radius:var(--gse-ui-menu-borderRadius);box-shadow:var(--gse-ui-menu-boxShadow-x) var(--gse-ui-menu-boxShadow-y) var(--gse-ui-menu-boxShadow-blur) var(--gse-ui-menu-boxShadow-spread) var(--gse-ui-menu-boxShadow-color)}";export{u as gux_menu}
@@ -1 +0,0 @@
1
- import{r as t,h as s,g as r}from"./p-deca7631.js";import{t as i}from"./p-02e248d2.js";const e=/[ +]/g,n=new Map,h=new Map;function a(t){return t.replace(/[\^$*+?.(){}[\]\\]/g,"\\$&")}const o=class{constructor(s){t(this,s),this.text=void 0,this.highlight=void 0,this.strategy="start",this.dimmed=!1}componentWillLoad(){i(this.root)}render(){if(this.highlight&&this.text)switch(this.strategy){case"start":return this.renderStartsWith();case"contains":return this.renderContains();case"fuzzy":return this.renderFuzzy()}return s("span",{class:{"gux-dimmed":this.dimmed}},this.text)}renderStartsWith(){if(this.text.toLowerCase().startsWith(this.highlight.toLowerCase())){const t=this.text.substring(0,this.highlight.length),r=this.text.substring(this.highlight.length);return s("span",{class:{"gux-dimmed":this.dimmed}},s("mark",null,t),r)}return s("span",{class:{"gux-dimmed":this.dimmed}},this.text)}renderContains(){const t={highlighted:"",remaining:this.text};for(;t.remaining.toLowerCase().includes(this.highlight.toLowerCase());){const s=t.remaining.toLowerCase().indexOf(this.highlight.toLowerCase()),r=t.remaining.substring(0,s),i=t.remaining.substring(s,s+this.highlight.length);t.highlighted+=r+`<mark>${i}</mark>`,t.remaining=t.remaining.substring(s+i.length)}return s("span",{class:{"gux-dimmed":this.dimmed},innerHTML:t.highlighted+t.remaining})}renderFuzzy(){if(function(t,s){let r=n.get(t);return r||(r=function(t){const s=t.split(e).map(a);if(1===s.length)return new RegExp(s[0],"i");let r="(";return s.forEach(((t,i)=>{r+=t+").*",i!==s.length-1&&(r+="(")})),new RegExp(r+"$","i")}(t),n.set(t,r)),r.test(s)}(this.highlight,this.text)){const r=(t=this.highlight,t.split(e).map(a).map((t=>{let s=h.get(t);return s||(s=new RegExp(t,"i"),h.set(t,s)),s}))).reduce(((t,s)=>{const{0:r,index:i,input:e}=t.remaining.match(s),n=e.substring(0,i);return{highlighted:`${t.highlighted+n}<mark>${r}</mark>`,remaining:e.substring(i+r.length)}}),{highlighted:"",remaining:this.text});return s("span",{class:{"gux-dimmed":this.dimmed},innerHTML:r.highlighted+r.remaining})}var t;return s("span",{class:{"gux-dimmed":this.dimmed}},this.text)}get root(){return r(this)}};o.style="span{color:var(--gse-ui-search-match-firstLevel-foregroundColour)}span mark{background-color:var(--gse-ui-search-match-firstLevel-backgroundColor)}.gux-dimmed mark{background-color:var(--gse-ui-search-match-subsequentLevel-backgroundColor)}";export{o as gux_text_highlight}
@@ -1 +0,0 @@
1
- import{r as e,c as t,h as o,H as r,g as i}from"./p-deca7631.js";import{b as s}from"./p-e10cb032.js";import{c as n}from"./p-a285abaf.js";import"./p-0962dd7a.js";import"./p-7b08c759.js";import"./p-373c5d93.js";const a={activateReordering:"Activate reordering mode for {columnName} column"},c=class{constructor(o){e(this,o),this.internal_order_change=t(this,"internal_order_change",7),this.internal_keyboard_reorder_start=t(this,"internal_keyboard_reorder_start",7),this.internal_keyboard_reorder_move=t(this,"internal_keyboard_reorder_move",7),this.internal_keyboard_reorder_emit=t(this,"internal_keyboard_reorder_emit",7),this.internal_keyboard_reorder_finish=t(this,"internal_keyboard_reorder_finish",7),this.orderId=void 0,this.highlightActive=void 0,this.highlight=void 0,this.text=void 0,this.pendingReorder="none",this.isDragging=!1,this.isReordering=!1}async guxSetHighlight(e="",t=!1){this.highlight=e,this.highlightActive=t}async guxFocus(){this.reorderButtonElement.focus()}onBlur(){this.setReorderMode(!1)}onDragStart(e){this.isDragging=!0;const t=n(this.root);e.dataTransfer.setData("oldIndex",String(t)),e.dataTransfer.effectAllowed="move"}onDragEnter(e){e.dataTransfer.dropEffect="move",this.pendingReorder=this.mouseOnTopHalf(e)?"above":"below"}onDragOver(e){e.preventDefault(),this.pendingReorder=this.mouseOnTopHalf(e)?"above":"below"}onDragLeave(){this.pendingReorder="none"}onDragEnd(){this.isDragging=!1}onDrop(e){const t=Number(e.dataTransfer.getData("oldIndex")),o=n(this.root);e.stopPropagation(),e.stopImmediatePropagation(),this.pendingReorder="none";const r=function(e,t,o){return e<t?o?t-1:t:o?t:t+1}(t,o,this.mouseOnTopHalf(e));return this.internal_order_change.emit({oldIndex:t,newIndex:r}),!1}mouseOnTopHalf(e){const t=this.root.getBoundingClientRect();return e.clientY-t.top<=(t.bottom-t.top)/2}onSlotChange(){this.text=this.root.querySelector("gux-form-field-checkbox label").textContent}setReorderMode(e,t=!1){this.isReordering!==e&&(this.isReordering=e,e?this.internal_keyboard_reorder_start.emit(this.text):(t&&this.internal_keyboard_reorder_emit.emit(),this.internal_keyboard_reorder_finish.emit()))}toggleReorderMode(){this.setReorderMode(!this.isReordering,!0)}keyboardReorder(e){if(this.isReordering)switch(e.key){case"ArrowUp":e.preventDefault(),this.internal_keyboard_reorder_move.emit({delta:-1,column:this.text});break;case"ArrowDown":e.preventDefault(),this.internal_keyboard_reorder_move.emit({delta:1,column:this.text});break;case"Home":e.preventDefault(),this.internal_keyboard_reorder_move.emit({delta:-1/0,column:this.text});break;case"End":e.preventDefault(),this.internal_keyboard_reorder_move.emit({delta:1/0,column:this.text});break;case"Escape":e.preventDefault(),this.setReorderMode(!1)}}async componentWillLoad(){this.i18n=await s(this.root,a)}render(){return o(r,{draggable:"true"},o("div",{class:{"gux-container":!0,[`gux-drop-${this.pendingReorder}`]:!0,"gux-dragging":this.isDragging}},o("button",{class:{"gux-reorder":!0,"gux-reordering":this.isReordering},type:"button",onClick:()=>this.toggleReorderMode(),onKeyDown:e=>this.keyboardReorder(e),ref:e=>this.reorderButtonElement=e},o("gux-icon",{"icon-name":"grab-vertical",decorative:!0}),o("span",{class:"gux-sr-only"},this.i18n("activateReordering",{columnName:this.text}))),o("div",{class:"gux-select"},o("slot",{onSlotchange:()=>this.onSlotChange()}),o("gux-text-highlight",{highlight:this.highlight,text:this.text,strategy:"contains",dimmed:!this.highlightActive}))))}get root(){return i(this)}};c.style=":host([gs-reorder-indicator=above]) .gux-container{border-top-color:#aac9ff}:host([gs-reorder-indicator=below]) .gux-container{border-bottom-color:#aac9ff}.gux-container{display:flex;flex-direction:row;flex-wrap:nowrap;gap:var(--gse-ui-dataTableItems-editColumn-editColumnItem-gap);place-content:stretch flex-start;align-items:center;margin-bottom:-2px;border-top:2px solid transparent;border-bottom:2px solid transparent}.gux-container.gux-drop-above{border-top-color:#aac9ff}.gux-container.gux-drop-below{border-bottom-color:#aac9ff}.gux-container.gux-dragging{border-top-color:transparent;border-bottom-color:transparent;opacity:0.4}.gux-container .gux-reorder{all:unset;flex:0 1 auto;align-self:auto;order:0;color:#596373;cursor:grab;border-radius:4px}.gux-container .gux-reorder gux-icon{width:var(--gse-ui-icon-size-sm);height:var(--gse-ui-icon-size-sm)}.gux-container .gux-reorder.gux-reordering:focus-visible gux-icon{color:#2a60c8}.gux-container .gux-reorder:active{pointer-events:none;cursor:grabbing !important}.gux-container .gux-reorder:hover,.gux-container .gux-reorder:focus-visible{outline:var(--gse-semantic-focusRing-small-border-color) var(--gse-semantic-focusRing-small-border-style) var(--gse-semantic-focusRing-small-border-width)}.gux-container .gux-reorder:hover gux-icon,.gux-container .gux-reorder:focus-visible gux-icon{color:#2a60c8}.gux-container .gux-select{position:relative;flex:1 1 auto;align-self:auto;order:1}.gux-container .gux-select gux-text-highlight{position:absolute;top:0;left:31px;color:transparent;pointer-events:none}.gux-sr-only:not(:focus):not(:active){position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);clip-path:inset(50%);white-space:nowrap}";export{c as gux_column_manager_item}
@@ -1 +0,0 @@
1
- import{r as e,h as n,g as a}from"./p-deca7631.js";import{t as g}from"./p-02e248d2.js";const i=class{constructor(n){e(this,n)}componentWillLoad(){g(this.root)}render(){return n("div",{class:"gux-container",role:"alert","aria-live":"assertive"},n("div",{class:"gux-progress"},n("slot",{name:"progress"})),n("div",{class:"gux-primary-message"},n("slot",{name:"primary-message"})),n("div",{class:"gux-additional-guidance"},n("slot",{name:"additional-guidance"})))}get root(){return a(this)}};i.style="/**\n * @prop --gse-progressAndLoading-loadingState-large-header-fontFamily\n * @prop --gse-progressAndLoading-loadingState-large-header-fontWeight\n * @prop --gse-progressAndLoading-loadingState-large-header-lineHeight\n * @prop --gse-progressAndLoading-loadingState-large-header-fontSize\n * @prop --gse-progressAndLoading-loadingState-large-subheader-fontFamily\n * @prop --gse-progressAndLoading-loadingState-large-subheader-fontWeight\n * @prop --gse-progressAndLoading-loadingState-large-subheader-lineHeight\n * @prop --gse-progressAndLoading-loadingState-large-subheader-fontSize\n * @prop --gse-progressAndLoading-loadingState-large-width : TODO https://inindca.atlassian.net/browse/COMUI-2264\n * @prop --gse-progressAndLoading-loadingState-medium-header-fontFamily\n * @prop --gse-progressAndLoading-loadingState-medium-header-fontWeight\n * @prop --gse-progressAndLoading-loadingState-medium-header-lineHeight\n * @prop --gse-progressAndLoading-loadingState-medium-header-fontSize\n * @prop --gse-progressAndLoading-loadingState-medium-subheader-fontFamily\n * @prop --gse-progressAndLoading-loadingState-medium-subheader-fontWeight\n * @prop --gse-progressAndLoading-loadingState-medium-subheader-lineHeight\n * @prop --gse-progressAndLoading-loadingState-medium-subheader-fontSize\n * @prop --gse-progressAndLoading-loadingState-medium-width\n * @prop --gse-progressAndLoading-loadingState-small-header-fontFamily\n * @prop --gse-progressAndLoading-loadingState-small-header-fontWeight\n * @prop --gse-progressAndLoading-loadingState-small-header-lineHeight\n * @prop --gse-progressAndLoading-loadingState-small-header-fontSize\n * @prop --gse-progressAndLoading-loadingState-small-subheader-fontFamily\n * @prop --gse-progressAndLoading-loadingState-small-subheader-fontWeight\n * @prop --gse-progressAndLoading-loadingState-small-subheader-lineHeight\n * @prop --gse-progressAndLoading-loadingState-small-subheader-fontSize\n * @prop --gse-progressAndLoading-loadingState-small-width\n * @prop --gse-progressAndLoading-large-gap\n * @prop --gse-progressAndLoading-large-gapText\n * @prop --gse-progressAndLoading-pageLoading-gap\n * @prop --gse-progressAndLoading-medium-gap\n * @prop --gse-progressAndLoading-medium-gapText\n * @prop --gse-progressAndLoading-small-gap\n * @prop --gse-progressAndLoading-small-gapText\n * @prop --gse-ui-progressAndLoading-textColor\n */\n:host {\n display: flex;\n flex-direction: column;\n align-items: center;\n justify-content: center;\n container-type: inline-size;\n}\n\n.gux-container {\n display: flex;\n flex-direction: column;\n align-items: center;\n justify-content: center;\n max-width: var(--gse-ui-progressAndLoading-loadingState-large-width);\n color: var(--gse-ui-progressAndLoading-textColor);\n text-align: center;\n}\n\n@container (width > 400px) {\n .gux-container .gux-primary-message {\n margin-top: var(--gse-ui-progressAndLoading-large-gap);\n font-family: var(--gse-ui-progressAndLoading-loadingState-large-header-fontFamily);\n font-size: var(--gse-ui-progressAndLoading-loadingState-large-header-fontSize);\n font-weight: var(--gse-ui-progressAndLoading-loadingState-large-header-fontWeight);\n line-height: var(--gse-ui-progressAndLoading-loadingState-large-header-lineHeight);\n }\n .gux-container .gux-additional-guidance {\n margin-top: var(--gse-ui-progressAndLoading-large-gapText);\n font-family: var(--gse-ui-progressAndLoading-loadingState-large-subheader-fontFamily);\n font-size: var(--gse-ui-progressAndLoading-loadingState-large-subheader-fontSize);\n font-weight: var(--gse-ui-progressAndLoading-loadingState-large-subheader-fontWeight);\n line-height: var(--gse-ui-progressAndLoading-loadingState-large-subheader-lineHeight);\n }\n}\n@container (width > 200px) and (width <=400px) {\n .gux-container .gux-primary-message {\n margin-top: var(--gse-ui-progressAndLoading-medium-gap);\n font-family: var(--gse-ui-progressAndLoading-loadingState-medium-header-fontFamily);\n font-size: var(--gse-ui-progressAndLoading-loadingState-medium-header-fontSize);\n font-weight: var(--gse-ui-progressAndLoading-loadingState-medium-header-fontWeight);\n line-height: var(--gse-ui-progressAndLoading-loadingState-medium-header-lineHeight);\n }\n .gux-container .gux-additional-guidance {\n margin-top: var(--gse-ui-progressAndLoading-medium-gapText);\n font-family: var(--gse-ui-progressAndLoading-loadingState-medium-subheader-fontFamily);\n font-size: var(--gse-ui-progressAndLoading-loadingState-medium-subheader-fontSize);\n font-weight: var(--gse-ui-progressAndLoading-loadingState-medium-subheader-fontWeight);\n line-height: var(--gse-ui-progressAndLoading-loadingState-medium-subheader-lineHeight);\n }\n}\n@container (width <=200px) {\n .gux-container .gux-primary-message {\n margin-top: var(--gse-ui-progressAndLoading-small-gap);\n font-family: var(--gse-ui-progressAndLoading-loadingState-small-header-fontFamily);\n font-size: var(--gse-ui-progressAndLoading-loadingState-small-header-fontSize);\n font-weight: var(--gse-ui-progressAndLoading-loadingState-small-header-fontWeight);\n line-height: var(--gse-ui-progressAndLoading-loadingState-small-header-lineHeight);\n }\n .gux-container .gux-additional-guidance {\n margin-top: var(--gse-ui-progressAndLoading-small-gapText);\n font-family: var(--gse-ui-progressAndLoading-loadingState-small-subheader-fontFamily);\n font-size: var(--gse-ui-progressAndLoading-loadingState-small-subheader-fontSize);\n font-weight: var(--gse-ui-progressAndLoading-loadingState-small-subheader-fontWeight);\n line-height: var(--gse-ui-progressAndLoading-loadingState-small-subheader-lineHeight);\n }\n}";export{i as gux_loading_message}
@@ -1 +0,0 @@
1
- import{r as e,h as n,g as a}from"./p-deca7631.js";import{t}from"./p-02e248d2.js";import{O as i}from"./p-d6edbaeb.js";import{h as r}from"./p-324b23f3.js";const o=class{constructor(n){e(this,n),this.hasCallToAction=!1}onMutation(){this.hasCallToAction=r(this.root,"call-to-action")}renderCallToActionSlot(){if(this.hasCallToAction)return n("gux-button-slot",{accent:"primary"},n("slot",{name:"call-to-action"}))}componentWillLoad(){t(this.root),this.hasCallToAction=r(this.root,"call-to-action")}render(){return n("div",{class:"gux-container"},n("div",{class:"gux-image"},n("slot",{name:"image"})),n("div",{class:"gux-message"},n("slot",{name:"primary-message"})),n("div",{class:"gux-guidance"},n("slot",{name:"additional-guidance"})),this.renderCallToActionSlot())}get root(){return a(this)}};(function(e,n,a,t){var i,r=arguments.length,o=r<3?n:null===t?t=Object.getOwnPropertyDescriptor(n,a):t;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)o=Reflect.decorate(e,n,a,t);else for(var s=e.length-1;s>=0;s--)(i=e[s])&&(o=(r<3?i(o):r>3?i(n,a,o):i(n,a))||o);r>3&&o&&Object.defineProperty(n,a,o)})([i({childList:!0,subtree:!0})],o.prototype,"onMutation",null),o.style="/**\n * @prop --gse-ui-badge-height\n * @prop --gse-ui-badge-height\n * @prop --gse-ui-blankState-backgroundColor\n * @prop --gse-ui-blankState-borderRadius\n * @prop --gse-ui-blankState-gapContent\n * @prop --gse-ui-blankState-gapMain\n * @prop --gse-ui-blankState-gapMessage\n * @prop --gse-ui-blankState-icon-size-lg\n * @prop --gse-ui-blankState-icon-size-sm\n * @prop --gse-ui-blankState-iconColor\n * @prop --gse-ui-blankState-padding\n * @prop --gse-ui-blankState-large-minWidth\n * @prop --gse-ui-progressAndLoading-blankState-large-header-fontFamily\n * @prop --gse-ui-progressAndLoading-blankState-large-header-fontSize\n * @prop --gse-ui-progressAndLoading-blankState-large-header-fontWeight\n * @prop --gse-ui-progressAndLoading-blankState-large-header-lineHeight\n * @prop --gse-ui-progressAndLoading-blankState-large-subheader-fontFamily\n * @prop --gse-ui-progressAndLoading-blankState-large-subheader-fontSize\n * @prop --gse-ui-progressAndLoading-blankState-large-subheader-fontWeight\n * @prop --gse-ui-progressAndLoading-blankState-large-subheader-lineHeight\n * @prop --gse-ui-progressAndLoading-blankState-small-header-fontFamily\n * @prop --gse-ui-progressAndLoading-blankState-small-header-fontSize\n * @prop --gse-ui-progressAndLoading-blankState-small-header-fontWeight\n * @prop --gse-ui-progressAndLoading-blankState-small-header-lineHeight\n * @prop --gse-ui-progressAndLoading-blankState-small-subheader-fontFamily\n * @prop --gse-ui-progressAndLoading-blankState-small-subheader-fontSize\n * @prop --gse-ui-progressAndLoading-blankState-small-subheader-fontWeight\n * @prop --gse-ui-progressAndLoading-blankState-small-subheader-lineHeight\n */\n:host {\n display: flex;\n flex-direction: column;\n align-items: center;\n justify-content: center;\n container-type: inline-size;\n}\n\n.gux-container {\n display: flex;\n flex-direction: column;\n align-items: center;\n justify-content: center;\n padding: var(--gse-ui-blankState-padding);\n color: var(--gse-ui-blankState-foregroundColor);\n background-color: var(--gse-ui-blankState-backgroundColor);\n border-radius: var(--gse-ui-blankState-borderRadius);\n}\n.gux-container .gux-image {\n padding-bottom: var(--gse-ui-blankState-gapMain);\n}\n.gux-container .gux-message {\n padding-bottom: var(--gse-ui-blankState-gapMessage);\n}\n.gux-container .gux-guidance {\n padding-bottom: var(--gse-ui-blankState-gapContent);\n}\n.gux-container ::slotted(gux-icon) {\n width: var(--gse-ui-blankState-icon-size-lg);\n height: var(--gse-ui-blankState-icon-size-lg);\n color: var(--gse-ui-blankState-iconColor);\n}\n.gux-container slot[name=primary-message] {\n font-family: var(--gse-ui-progressAndLoading-blankState-large-header-fontFamily);\n font-size: var(--gse-ui-progressAndLoading-blankState-large-header-fontSize);\n font-weight: var(--gse-ui-progressAndLoading-blankState-large-header-fontWeight);\n line-height: var(--gse-ui-progressAndLoading-blankState-large-header-lineHeight);\n color: var(--gse-ui-blankState-foregroundColor);\n text-align: center;\n}\n.gux-container slot[name=additional-guidance] {\n font-family: var(--gse-ui-progressAndLoading-blankState-large-subheader-fontFamily);\n font-size: var(--gse-ui-progressAndLoading-blankState-large-subheader-fontSize);\n font-weight: var(--gse-ui-progressAndLoading-blankState-large-subheader-fontWeight);\n line-height: var(--gse-ui-progressAndLoading-blankState-large-subheader-lineHeight);\n color: var(--gse-ui-blankState-foregroundColor);\n text-align: center;\n}\n\n@container (width < 570px) {\n .gux-container ::slotted(gux-icon) {\n width: var(--gse-ui-blankState-icon-size-sm);\n height: var(--gse-ui-blankState-icon-size-sm);\n }\n .gux-container slot[name=primary-message] {\n font-family: var(--gse-ui-progressAndLoading-blankState-small-header-fontFamily);\n font-size: var(--gse-ui-progressAndLoading-blankState-small-header-fontSize);\n font-weight: var(--gse-ui-progressAndLoading-blankState-small-header-fontWeight);\n line-height: var(--gse-ui-progressAndLoading-blankState-small-header-lineHeight);\n }\n .gux-container slot[name=additional-guidance] {\n font-family: var(--gse-ui-progressAndLoading-blankState-small-subheader-fontFamily);\n font-size: var(--gse-ui-progressAndLoading-blankState-small-subheader-fontSize);\n font-weight: var(--gse-ui-progressAndLoading-blankState-small-subheader-fontWeight);\n line-height: var(--gse-ui-progressAndLoading-blankState-small-subheader-lineHeight);\n }\n}";export{o as gux_blank_state}
@@ -1 +0,0 @@
1
- import{r as o,h as r,g as e}from"./p-deca7631.js";import{c as t,o as i}from"./p-16f3da0d.js";import{O as n}from"./p-d6edbaeb.js";import{o as l}from"./p-37bfd195.js";import{p as s}from"./p-28f55159.js";import{h as a}from"./p-324b23f3.js";import{G as u,a as f,g as p,v as g,b as d}from"./p-e5766b80.js";import{G as h,a as c}from"./p-2b468e4b.js";import{t as m}from"./p-02e248d2.js";import"./p-3ea0d493.js";import"./p-9d734bbd.js";import"./p-373c5d93.js";const x=class{constructor(r){o(this,r),this.labelPosition=void 0,this.computedLabelPosition=void 0,this.disabled=void 0,this.required=void 0,this.hasError=!1,this.hasHelp=!1}onMutation(){this.hasError=a(this.root,"error"),this.hasHelp=a(this.root,"help")}componentWillLoad(){this.setInput(),this.setLabel(),this.hasError=a(this.root,"error"),this.hasHelp=a(this.root,"help"),m(this.root,{variant:this.variant})}disconnectedCallback(){this.disabledObserver&&this.disabledObserver.disconnect(),this.requiredObserver&&this.requiredObserver.disconnect()}render(){return r(c,{labelPosition:this.computedLabelPosition},r(h,{position:this.computedLabelPosition,required:this.required},r("slot",{name:"label",onSlotchange:()=>this.setLabel()})),r("div",{class:"gux-input-and-error-container"},r("div",{class:{"gux-input":!0,"gux-input-error":this.hasError}},r("div",{class:{"gux-input-container":!0,"gux-disabled":this.disabled}},r("slot",{name:"input",onSlotchange:()=>this.setInput()}))),r(u,{show:this.hasError},r("slot",{name:"error"})),r(f,{show:!this.hasError&&this.hasHelp},r("slot",{name:"help"}))))}get variant(){return this.labelPosition?this.labelPosition.toLowerCase():"none"}setInput(){this.input=p(this.root,'input[type="color"][slot="input"]'),s(this.input),this.disabled=t(this.input),this.required=this.input.required,this.disabledObserver=i(this.input,(o=>{this.disabled=o})),this.requiredObserver=l(this.input,(o=>{this.required=o})),g(this.root,this.input)}setLabel(){this.label=this.root.querySelector('label[slot="label"]'),this.computedLabelPosition=d(this.label,this.labelPosition)}get root(){return e(this)}};(function(o,r,e,t){var i,n=arguments.length,l=n<3?r:null===t?t=Object.getOwnPropertyDescriptor(r,e):t;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)l=Reflect.decorate(o,r,e,t);else for(var s=o.length-1;s>=0;s--)(i=o[s])&&(l=(n<3?i(l):n>3?i(r,e,l):i(r,e))||l);n>3&&l&&Object.defineProperty(r,e,l)})([n({childList:!0,subtree:!0})],x.prototype,"onMutation",null),x.style='.gux-form-field-container.gux-beside{display:flex;flex-direction:row}.gux-form-field-error{display:none;flex-direction:row;flex-wrap:nowrap;place-content:stretch flex-start;align-items: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;align-self:auto;order:0;min-width:var(--gse-ui-icon-size-sm);min-height:var(--gse-ui-icon-size-sm);margin-right:var(--gse-ui-formControl-helper-gap);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.gux-required::after{color:var(--gse-ui-formControl-label-indicator-requiredColor);content:" *"}.gux-form-field-label.gux-beside{position:relative;top:8px;width:fit-content;min-width:45px;margin-right:var(--gse-ui-formControl-label-gap)}.gux-form-field-label.gux-above{padding:var(--gse-ui-formControl-label-padding)}.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:var(--gse-ui-formControl-helper-paddingSmall);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-text-fontFamily);font-size:var(--gse-ui-formControl-label-text-fontSize);font-weight:var(--gse-ui-formControl-label-text-fontWeight);line-height:var(--gse-ui-formControl-label-text-lineHeight);color:var(--gse-ui-formControl-label-labelColor)}::slotted(input){flex:1 1 auto;align-self:auto;order:0;width:var(--gse-ui-formControl-input-colorPicker-size);height:var(--gse-ui-formControl-input-colorPicker-size);overflow:hidden;font-size:var(--gse-ui-formControl-input-contentText-fontSize);color:var(--gse-ui-formControl-input-populatedColor);text-align:right;text-overflow:ellipsis;background-color:var(--gse-ui-formControl-input-backgroundColor);border:none;border-radius:var(--gse-ui-formControl-input-borderRadius);outline:none}::slotted(input)::placeholder{color:var(--gse-ui-formControl-input-placeholderColor);opacity:1}.gux-input-and-error-container{flex-grow:1}.gux-input-and-error-container .gux-input{display:flex;flex-direction:row;flex-wrap:nowrap;align-content:stretch;align-items:center}.gux-input-and-error-container .gux-input .gux-input-container{box-sizing:border-box;display:flex;flex-direction:row;flex-wrap:nowrap;gap:var(--gse-ui-formControl-input-gap);place-content:stretch center;align-items:center;align-self:auto;order:0;height:var(--gse-ui-formControl-input-textfield-height);font-family:var(--gse-ui-formControl-input-contentText-fontFamily);font-size:var(--gse-ui-formControl-input-contentText-fontSize);line-height:var(--gse-ui-formControl-input-contentText-lineHeight);color:var(--gse-ui-formControl-input-populatedColor);background-color:var(--gse-ui-formControl-input-backgroundColor);background-image:none;border-radius:var(--gse-ui-formControl-input-borderRadius)}.gux-input-and-error-container .gux-input .gux-input-container.gux-disabled{opacity:var(--gse-ui-formControl-input-disabled-opacity)}.gux-input-and-error-container .gux-input .gux-input-container:focus-within{border:var(--gse-ui-formControl-input-active-border-width) var(--gse-ui-formControl-input-active-border-style) var(--gse-ui-formControl-input-active-border-color);border-radius:var(--gse-ui-formControl-focusRing-borderRadius);outline:var(--gse-ui-formControl-input-focus-border-width) var(--gse-ui-formControl-input-focus-border-style) var(--gse-ui-formControl-input-focus-border-color)}.gux-input-and-error-container .gux-input .gux-input-container.gux-input-error .gux-input-container{border-color:var(--gse-ui-formControl-input-error-border-color)}';export{x as gux_form_field_color}
@@ -1 +0,0 @@
1
- import{r as t,h as o,g as s}from"./p-deca7631.js";import{t as e}from"./p-02e248d2.js";const r=class{constructor(o){t(this,o)}componentWillLoad(){e(this.root)}render(){return o("span",{class:"gux-sr-only"},o("slot",null))}get root(){return s(this)}};r.style=".gux-sr-only:not(:focus):not(:active){position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);clip-path:inset(50%);white-space:nowrap}";export{r as gux_screen_reader_beta}
@@ -1 +0,0 @@
1
- import{r as t,h as o,H as s,g as i}from"./p-deca7631.js";import{t as e}from"./p-02e248d2.js";import{b as r}from"./p-ffaadf62.js";const a=class{constructor(o){t(this,o),this.politeness="polite"}async guxAnnounce(t){this.containerElement.innerText="",r((()=>{this.containerElement.innerText=t}))}componentWillLoad(){e(this.root)}render(){return o(s,{"aria-live":this.politeness},o("slot",null),o("div",{ref:t=>this.containerElement=t}))}get root(){return i(this)}};a.style=":host{position:absolute;top:auto;left:-10000px;width:1px;height:1px;overflow:hidden}";export{a as gux_announce_beta}
@@ -1 +0,0 @@
1
- import{r as t,c as e,h as i,H as s,g as o}from"./p-deca7631.js";import{c as r,h as a,s as n,a as h,b as d,d as u,e as l,f as c,i as g,j as m,k as p,o as v}from"./p-65b03df8.js";import{b}from"./p-e10cb032.js";import{w as x}from"./p-8b703092.js";import{s as f}from"./p-373c5d93.js";import{t as w}from"./p-02e248d2.js";import{b as S}from"./p-ffaadf62.js";import"./p-0962dd7a.js";const y={add:"Add {name}",noMatches:"No matches",loading:"Loading..."},O=class{constructor(i){t(this,i),this.internallistboxoptionsupdated=e(this,"internallistboxoptionsupdated",7),this.value=void 0,this.loading=!1,this.filter="",this.textInput="",this.filterType="none",this.emptyMessage=void 0,this.listboxOptions=[],this.allListboxOptionsFiltered=void 0,this.hasExactMatch=!1}onBlur(){r(this.root)}selectNewCustomOption(t){this.updateValue(t.detail)}onKeydown(t){var e;if(!a(this.root))return t.preventDefault(),void n(this.root);switch(t.key){case"Enter":return t.preventDefault(),void((null===(e=this.optionCreateElement)||void 0===e?void 0:e.active)?(this.optionCreateElement.guxEmitInternalCreateNewOption(),S((()=>{n(this.root)}))):m(this.root,(t=>this.updateValue(t))));case"ArrowDown":return t.preventDefault(),void(c(this.root)?(t.stopPropagation(),g(this.root)):d(this.root));case"ArrowUp":return t.preventDefault(),void(u(this.root)?(t.stopPropagation(),l(this.root)):h(this.root));case"Home":return t.preventDefault(),void d(this.root);case"End":return t.preventDefault(),void h(this.root);case" ":return void t.preventDefault()}1!==t.key.length||p(this.root,t.key)}onKeyup(t){var e;" "!==t.key||((null===(e=this.optionCreateElement)||void 0===e?void 0:e.active)?(this.optionCreateElement.guxEmitInternalCreateNewOption(),S((()=>{n(this.root)}))):m(this.root,(t=>this.updateValue(t))))}onMousemove(){r(this.root)}onClick(t){x("gux-option-multi",t,(t=>{v(t,(t=>this.updateValue(t)))}))}async guxSelectActive(){m(this.root,(t=>this.updateValue(t)))}getHasExactMatch(){let t=!1;return this.hasExactMatch=!1,this.listboxOptions.forEach((e=>{var i,s;(null===(s=null===(i=e.textContent)||void 0===i?void 0:i.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 this.value?this.value.split(","):[]}updateOnSlotChange(){this.setListboxOptions(),this.updateListboxOptions()}getOptionCreateElement(){this.optionCreateElement=this.root.querySelector("gux-create-option")}setListboxOptions(){this.listboxOptions=Array.from(this.root.children).filter((t=>"GUX-OPTION-MULTI"===t.tagName)),this.internallistboxoptionsupdated.emit()}updateListboxOptions(){this.listboxOptions.forEach((t=>{t.selected=this.getSelectedValues().includes(t.value),"custom"!==this.filterType&&(t.filtered=!t.textContent.trim().toLowerCase().startsWith(this.textInput.toLowerCase()))}))}updateValue(t){if(this.getSelectedValues().includes(t))this.value=this.getSelectedValues().filter((e=>e!==t)).join(",");else{const e=[...this.getSelectedValues(),t];this.value=e.join(",")}f(this.root,"input"),f(this.root,"change")}async componentWillLoad(){w(this.root),this.i18n=await b(this.root,y),this.setListboxOptions(),this.getOptionCreateElement()}componentWillRender(){this.setListboxOptions(),this.updateListboxOptions(),this.allListboxOptionsFiltered=0===this.listboxOptions.filter((t=>!t.filtered)).length}renderHiddenSlot(){return i("div",{hidden:!0},i("slot",{onSlotchange:()=>this.setListboxOptions()}))}renderLoading(){return[i("div",{class:"gux-message-container"},i("gux-radial-loading",{context:"modal"}),i("span",null,this.i18n("loading"))),this.renderHiddenSlot()]}renderAllListboxOptionsFiltered(){if(this.allListboxOptionsFiltered)return[i("div",{class:"gux-message-container"},i("div",{class:"gux-no-matches"},this.emptyMessage||this.i18n("noMatches"))),this.renderHiddenSlot()]}renderCreateOptionSlot(){return i("slot",{name:"create"})}render(){return this.loading?this.renderLoading():i(s,{role:"listbox","aria-multiselectable":"true",tabindex:0},i("slot",{onSlotchange:()=>this.updateOnSlotChange()}),this.renderAllListboxOptionsFiltered(),this.renderCreateOptionSlot())}get root(){return o(this)}static get watchers(){return{textInput:["updateOptionMultiCreateValue"]}}};O.style=":host{box-sizing:border-box;display:block;max-height:20rem;padding:var(--gse-ui-menu-padding);overflow-y:auto;background:var(--gse-ui-menu-backgroundColor);border:var(--gse-ui-menu-border-width) var(--gse-ui-menu-border-style) var(--gse-ui-menu-border-color);border-radius:var(--gse-ui-menu-borderRadius);outline:none;box-shadow:var(--gse-ui-menu-boxShadow-x) var(--gse-ui-menu-boxShadow-y) var(--gse-ui-menu-boxShadow-blur) var(--gse-ui-menu-boxShadow-spread) var(--gse-ui-menu-boxShadow-color);scrollbar-color:var(--gse-ui-menu-scrollbar-foregroundColor)}.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;height:var(--gse-ui-menu-option-height);font-family:var(--gse-ui-dropdown-menu-emptyState-subheader-text-fontFamily);font-size:var(--gse-ui-dropdown-menu-emptyState-subheader-text-fontSize);font-weight:var(--gse-ui-dropdown-menu-emptyState-subheader-text-fontWeight);line-height:var(--gse-ui-dropdown-menu-emptyState-subheader-text-lineHeight);color:var(--gse-ui-dropdown-menu-emptyState-subheader-foregroundColor)}";export{O as gux_listbox_multi}
@@ -1 +0,0 @@
1
- import{r as e,h as t,g as r}from"./p-deca7631.js";import{b as o}from"./p-e10cb032.js";import{c as i,o as s}from"./p-16f3da0d.js";import{O as l}from"./p-d6edbaeb.js";import{o as a}from"./p-37bfd195.js";import{h as n}from"./p-324b23f3.js";import{G as h,a as f,s as d,c as p,b as u}from"./p-e5766b80.js";import{G as g,a as m}from"./p-8324a0ac.js";import{g as x}from"./p-dd53013c.js";import{t as c}from"./p-02e248d2.js";import"./p-0962dd7a.js";import"./p-3ea0d493.js";import"./p-9d734bbd.js";import"./p-373c5d93.js";const b={required:"Required"};const v=class{constructor(t){e(this,t),this.labelPosition=void 0,this.computedLabelPosition="above",this.disabled=void 0,this.required=void 0,this.hasError=!1,this.hasHelp=!1}watchValue(e){const t=this.root.querySelector("gux-dropdown")||this.root.querySelector("gux-dropdown-multi");t&&(t.hasError=e)}onMutation(){this.hasError=n(this.root,"error"),this.hasHelp=n(this.root,"help")}async componentWillLoad(){this.getI18nValue=await o(this.root,b),this.setInput(),this.setLabel(),this.hasError=n(this.root,"error"),this.hasHelp=n(this.root,"help"),c(this.root,{variant:this.variant})}disconnectedCallback(){this.disabledObserver&&this.disabledObserver.disconnect(),this.requiredObserver&&this.requiredObserver.disconnect()}renderScreenReaderText(e,r=!1){if(r)return t("gux-screen-reader-beta",null,e)}render(){return t(m,{labelPosition:this.computedLabelPosition},t(g,{position:this.computedLabelPosition,required:this.required},t("slot",{name:"label",onSlotchange:()=>this.setLabel()}),this.renderScreenReaderText(this.getI18nValue("required"),this.required),this.renderScreenReaderText(x(this.root,"error"),this.hasError),this.renderScreenReaderText(x(this.root,"help"),this.hasHelp)),t("div",{class:"gux-input-and-error-container"},t("div",{class:{"gux-input":!0,"gux-input-error":this.hasError,"gux-disabled":this.disabled}},t("slot",null)),t(h,{show:this.hasError},t("slot",{name:"error"})),t(f,{show:!this.hasError&&this.hasHelp},t("slot",{name:"help"}))))}get variant(){return`dropdown-${this.labelPosition?this.labelPosition.toLowerCase():"none"}`}setInput(){this.dropdownElement=this.root.querySelector("gux-dropdown")||this.root.querySelector("gux-dropdown-multi"),this.listboxElement=this.root.querySelector("gux-listbox")||this.root.querySelector("gux-listbox-multi"),this.disabled=i(this.dropdownElement),this.required=this.dropdownElement.required,this.disabledObserver=s(this.dropdownElement,(e=>{this.disabled=e})),this.requiredObserver=a(this.dropdownElement,(e=>{this.required=e})),d(this.root,this.listboxElement,"label"),p(this.root,this.listboxElement,"error"),p(this.root,this.listboxElement,"help")}setLabel(){this.label=this.root.querySelector('label[slot="label"]'),this.computedLabelPosition=u(this.label,this.labelPosition)}get root(){return r(this)}static get watchers(){return{hasError:["watchValue"]}}};(function(e,t,r,o){var i,s=arguments.length,l=s<3?t:null===o?o=Object.getOwnPropertyDescriptor(t,r):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)l=Reflect.decorate(e,t,r,o);else for(var a=e.length-1;a>=0;a--)(i=e[a])&&(l=(s<3?i(l):s>3?i(t,r,l):i(t,r))||l);s>3&&l&&Object.defineProperty(t,r,l)})([l({childList:!0,subtree:!0})],v.prototype,"onMutation",null),v.style='.gux-form-field-fieldset-container{display:flex;min-width:0;padding:0;margin:0;border:none}.gux-form-field-error{display:none;flex-direction:row;flex-wrap:nowrap;place-content:stretch flex-start;align-items: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;align-self:auto;order:0;min-width:var(--gse-ui-icon-size-sm);min-height:var(--gse-ui-icon-size-sm);margin-right:var(--gse-ui-formControl-helper-gap);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-legend-label.gux-required::after{color:var(--gse-ui-formControl-label-indicator-requiredColor);content:" *"}.gux-form-field-legend-label.gux-beside{position:relative;top:var(--gse-ui-formControl-input-top);float:left;width:fit-content;min-width:45px;margin-right:var(--gse-ui-formControl-label-gap)}.gux-form-field-legend-label.gux-above{padding:var(--gse-ui-formControl-label-padding)}.gux-form-field-legend-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:var(--gse-ui-formControl-helper-paddingSmall);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-text-fontFamily);font-size:var(--gse-ui-formControl-label-text-fontSize);font-weight:var(--gse-ui-formControl-label-text-fontWeight);line-height:var(--gse-ui-formControl-label-text-lineHeight);color:var(--gse-ui-formControl-label-labelColor)}.gux-input-and-error-container{flex-grow:1;width:100%}.gux-input-and-error-container .gux-input.gux-disabled{pointer-events:none;opacity:var(--gse-ui-formControl-input-disabled-opacity)}';export{v as gux_form_field_dropdown}