genesys-spark-components 4.261.1 → 4.261.2

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 (420) hide show
  1. package/dist/cjs/gux-accordion.cjs.entry.js +1 -1
  2. package/dist/cjs/gux-action-button.cjs.entry.js +1 -1
  3. package/dist/cjs/gux-action-toast-legacy.cjs.entry.js +1 -1
  4. package/dist/cjs/gux-actionable-inline-alert-beta.cjs.entry.js +1 -1
  5. package/dist/cjs/gux-advanced-dropdown-legacy.cjs.entry.js +1 -1
  6. package/dist/cjs/gux-ai-indicator-beta.cjs.entry.js +1 -1
  7. package/dist/cjs/gux-ai-powered-badge-beta.cjs.entry.js +1 -1
  8. package/dist/cjs/gux-ai-powered-button-beta.cjs.entry.js +1 -1
  9. package/dist/cjs/gux-ai-spinner-loader-beta.cjs.entry.js +1 -1
  10. package/dist/cjs/gux-announce-beta.cjs.entry.js +1 -1
  11. package/dist/cjs/gux-avatar-beta.cjs.entry.js +1 -1
  12. package/dist/cjs/gux-avatar-change-photo-beta.cjs.entry.js +1 -1
  13. package/dist/cjs/gux-avatar-group-add-item-beta_3.cjs.entry.js +1 -1
  14. package/dist/cjs/gux-avatar-group-beta.cjs.entry.js +1 -1
  15. package/dist/cjs/gux-avatar-group-item-beta.cjs.entry.js +1 -1
  16. package/dist/cjs/gux-badge.cjs.entry.js +1 -1
  17. package/dist/cjs/gux-blank-state-beta.cjs.entry.js +1 -1
  18. package/dist/cjs/gux-blank-state.cjs.entry.js +1 -1
  19. package/dist/cjs/gux-breadcrumbs.cjs.entry.js +1 -1
  20. package/dist/cjs/gux-button-multi.cjs.entry.js +1 -1
  21. package/dist/cjs/gux-button-slot.cjs.entry.js +1 -1
  22. package/dist/cjs/gux-button_2.cjs.entry.js +1 -1
  23. package/dist/cjs/gux-calendar.cjs.entry.js +1 -1
  24. package/dist/cjs/gux-card.cjs.entry.js +1 -1
  25. package/dist/cjs/gux-cloud-logo-beta.cjs.entry.js +1 -1
  26. package/dist/cjs/gux-cloud-logomark-beta.cjs.entry.js +1 -1
  27. package/dist/cjs/gux-column-manager.cjs.entry.js +1 -1
  28. package/dist/cjs/gux-content-search.cjs.entry.js +1 -1
  29. package/dist/cjs/gux-context-menu.cjs.entry.js +1 -1
  30. package/dist/cjs/gux-copy-to-clipboard.cjs.entry.js +1 -1
  31. package/dist/cjs/gux-date-beta.cjs.entry.js +1 -1
  32. package/dist/cjs/gux-date-time-beta.cjs.entry.js +1 -1
  33. package/dist/cjs/gux-datepicker.cjs.entry.js +1 -1
  34. package/dist/cjs/gux-disclosure-button-legacy.cjs.entry.js +1 -1
  35. package/dist/cjs/gux-dismiss-button.cjs.entry.js +1 -1
  36. package/dist/cjs/gux-dropdown-multi.cjs.entry.js +1 -1
  37. package/dist/cjs/gux-dropdown_3.cjs.entry.js +1 -1
  38. package/dist/cjs/gux-file-list-item.cjs.entry.js +1 -1
  39. package/dist/cjs/gux-flag-icon-beta.cjs.entry.js +1 -1
  40. package/dist/cjs/gux-flyout-menu.cjs.entry.js +1 -1
  41. package/dist/cjs/gux-form-field-checkbox-group-beta.cjs.entry.js +1 -1
  42. package/dist/cjs/gux-form-field-checkbox.cjs.entry.js +1 -1
  43. package/dist/cjs/gux-form-field-color.cjs.entry.js +1 -1
  44. package/dist/cjs/gux-form-field-dropdown.cjs.entry.js +1 -1
  45. package/dist/cjs/gux-form-field-file-beta.cjs.entry.js +1 -1
  46. package/dist/cjs/gux-form-field-file.cjs.entry.js +1 -1
  47. package/dist/cjs/gux-form-field-input-clear-button.cjs.entry.js +1 -1
  48. package/dist/cjs/gux-form-field-label-indicator.cjs.entry.js +1 -1
  49. package/dist/cjs/gux-form-field-number_2.cjs.entry.js +1 -1
  50. package/dist/cjs/gux-form-field-phone.cjs.entry.js +1 -1
  51. package/dist/cjs/gux-form-field-radio-group-beta.cjs.entry.js +1 -1
  52. package/dist/cjs/gux-form-field-radio.cjs.entry.js +1 -1
  53. package/dist/cjs/gux-form-field-range.cjs.entry.js +1 -1
  54. package/dist/cjs/gux-form-field-search.cjs.entry.js +1 -1
  55. package/dist/cjs/gux-form-field-select.cjs.entry.js +1 -1
  56. package/dist/cjs/gux-form-field-text-like.cjs.entry.js +1 -1
  57. package/dist/cjs/gux-form-field-textarea.cjs.entry.js +1 -1
  58. package/dist/cjs/gux-form-field-time-picker.cjs.entry.js +1 -1
  59. package/dist/cjs/gux-form-field-time-zone-picker.cjs.entry.js +1 -1
  60. package/dist/cjs/gux-form-footer.cjs.entry.js +1 -1
  61. package/dist/cjs/gux-icon-tooltip-beta.cjs.entry.js +1 -1
  62. package/dist/cjs/gux-icon.cjs.entry.js +1 -1
  63. package/dist/cjs/gux-illustration-beta.cjs.entry.js +1 -1
  64. package/dist/cjs/gux-inline-alert.cjs.entry.js +1 -1
  65. package/dist/cjs/gux-inline-dropdown-beta.cjs.entry.js +2 -2
  66. package/dist/cjs/gux-label-info-beta.cjs.entry.js +1 -1
  67. package/dist/cjs/gux-link-beta.cjs.entry.js +1 -1
  68. package/dist/cjs/gux-list.cjs.entry.js +1 -1
  69. package/dist/cjs/gux-listbox-multi.cjs.entry.js +1 -1
  70. package/dist/cjs/gux-loading-message.cjs.entry.js +1 -1
  71. package/dist/cjs/gux-logo-beta.cjs.entry.js +1 -1
  72. package/dist/cjs/gux-logomark-beta.cjs.entry.js +1 -1
  73. package/dist/cjs/gux-modal-legacy.cjs.entry.js +1 -1
  74. package/dist/cjs/gux-modal-side-panel-beta.cjs.entry.js +1 -1
  75. package/dist/cjs/gux-modal.cjs.entry.js +1 -1
  76. package/dist/cjs/gux-month-picker-beta.cjs.entry.js +1 -1
  77. package/dist/cjs/gux-notification-indicator-beta.cjs.entry.js +1 -1
  78. package/dist/cjs/gux-notification-toast-legacy.cjs.entry.js +1 -1
  79. package/dist/cjs/gux-page-loading-spinner.cjs.entry.js +1 -1
  80. package/dist/cjs/gux-pagination-cursor.cjs.entry.js +1 -1
  81. package/dist/cjs/gux-pagination-legacy.cjs.entry.js +1 -1
  82. package/dist/cjs/gux-pagination.cjs.entry.js +1 -1
  83. package/dist/cjs/gux-phone-input-beta.cjs.entry.js +1 -1
  84. package/dist/cjs/gux-popover-beta.cjs.entry.js +1 -1
  85. package/dist/cjs/gux-popover-list-beta.cjs.entry.js +1 -1
  86. package/dist/cjs/gux-popover-list.cjs.entry.js +1 -1
  87. package/dist/cjs/gux-prompt-input-beta.cjs.entry.js +1 -1
  88. package/dist/cjs/gux-radial-loading.cjs.entry.js +1 -1
  89. package/dist/cjs/gux-radial-progress.cjs.entry.js +1 -1
  90. package/dist/cjs/gux-rating.cjs.entry.js +1 -1
  91. package/dist/cjs/gux-rich-highlight-list-item.cjs.entry.js +1 -1
  92. package/dist/cjs/gux-rich-style-list-item_3.cjs.entry.js +1 -1
  93. package/dist/cjs/gux-rich-text-editor-action-link.cjs.entry.js +1 -1
  94. package/dist/cjs/gux-rich-text-editor-action-rich-style.cjs.entry.js +1 -1
  95. package/dist/cjs/gux-rich-text-editor-action-text-highlight.cjs.entry.js +1 -1
  96. package/dist/cjs/gux-rich-text-editor-action.cjs.entry.js +1 -1
  97. package/dist/cjs/gux-rich-text-editor-beta.cjs.entry.js +1 -1
  98. package/dist/cjs/gux-rich-text-editor-list.cjs.entry.js +1 -1
  99. package/dist/cjs/gux-screen-reader-beta.cjs.entry.js +1 -1
  100. package/dist/cjs/gux-segmented-control-beta.cjs.entry.js +1 -1
  101. package/dist/cjs/gux-selector-card-beta.cjs.entry.js +1 -1
  102. package/dist/cjs/gux-selector-cards-beta.cjs.entry.js +1 -1
  103. package/dist/cjs/gux-side-panel-beta.cjs.entry.js +1 -1
  104. package/dist/cjs/gux-side-panel-header-mini.cjs.entry.js +1 -1
  105. package/dist/cjs/gux-side-panel-header.cjs.entry.js +1 -1
  106. package/dist/cjs/gux-side-panel-heading.cjs.entry.js +1 -1
  107. package/dist/cjs/gux-simple-toast-legacy.cjs.entry.js +1 -1
  108. package/dist/cjs/gux-skip-navigation-list.cjs.entry.js +1 -1
  109. package/dist/cjs/gux-sort-control.cjs.entry.js +1 -1
  110. package/dist/cjs/gux-sparkle-indicator-beta.cjs.entry.js +1 -1
  111. package/dist/cjs/gux-status-indicator-beta.cjs.entry.js +1 -1
  112. package/dist/cjs/gux-step-title.cjs.entry.js +1 -1
  113. package/dist/cjs/gux-step.cjs.entry.js +1 -1
  114. package/dist/cjs/gux-stepper-beta.cjs.entry.js +1 -1
  115. package/dist/cjs/gux-switch-legacy.cjs.entry.js +1 -1
  116. package/dist/cjs/gux-table-toolbar-action.cjs.entry.js +1 -1
  117. package/dist/cjs/gux-table-toolbar-custom-action.cjs.entry.js +1 -1
  118. package/dist/cjs/gux-table-toolbar-menu-button.cjs.entry.js +1 -1
  119. package/dist/cjs/gux-table-toolbar.cjs.entry.js +1 -1
  120. package/dist/cjs/gux-table.cjs.entry.js +1 -1
  121. package/dist/cjs/gux-tabs-advanced.cjs.entry.js +1 -1
  122. package/dist/cjs/gux-tabs.cjs.entry.js +1 -1
  123. package/dist/cjs/gux-tag.cjs.entry.js +1 -1
  124. package/dist/cjs/gux-text-highlight.cjs.entry.js +1 -1
  125. package/dist/cjs/gux-time-beta.cjs.entry.js +1 -1
  126. package/dist/cjs/gux-time-picker.cjs.entry.js +1 -1
  127. package/dist/cjs/gux-time-zone-beta.cjs.entry.js +1 -1
  128. package/dist/cjs/gux-time-zone-picker-beta.cjs.entry.js +1 -1
  129. package/dist/cjs/gux-toast.cjs.entry.js +1 -1
  130. package/dist/cjs/gux-toggle.cjs.entry.js +1 -1
  131. package/dist/cjs/gux-tooltip-base-beta_2.cjs.entry.js +1 -1
  132. package/dist/cjs/gux-tooltip-pointer-beta.cjs.entry.js +1 -1
  133. package/dist/cjs/gux-tooltip_2.cjs.entry.js +1 -1
  134. package/dist/cjs/gux-tree-beta.cjs.entry.js +1 -1
  135. package/dist/cjs/gux-tree-dropdown-beta.cjs.entry.js +1 -1
  136. package/dist/cjs/gux-tree-multi-beta.cjs.entry.js +1 -1
  137. package/dist/cjs/{usage-LSYahjAg.js → usage-DMueEYDc.js} +1 -1
  138. package/dist/collection/components/beta/gux-inline-dropdown/gux-inline-dropdown.css +1 -0
  139. package/dist/esm/gux-accordion.entry.js +1 -1
  140. package/dist/esm/gux-action-button.entry.js +1 -1
  141. package/dist/esm/gux-action-toast-legacy.entry.js +1 -1
  142. package/dist/esm/gux-actionable-inline-alert-beta.entry.js +1 -1
  143. package/dist/esm/gux-advanced-dropdown-legacy.entry.js +1 -1
  144. package/dist/esm/gux-ai-indicator-beta.entry.js +1 -1
  145. package/dist/esm/gux-ai-powered-badge-beta.entry.js +1 -1
  146. package/dist/esm/gux-ai-powered-button-beta.entry.js +1 -1
  147. package/dist/esm/gux-ai-spinner-loader-beta.entry.js +1 -1
  148. package/dist/esm/gux-announce-beta.entry.js +1 -1
  149. package/dist/esm/gux-avatar-beta.entry.js +1 -1
  150. package/dist/esm/gux-avatar-change-photo-beta.entry.js +1 -1
  151. package/dist/esm/gux-avatar-group-add-item-beta_3.entry.js +1 -1
  152. package/dist/esm/gux-avatar-group-beta.entry.js +1 -1
  153. package/dist/esm/gux-avatar-group-item-beta.entry.js +1 -1
  154. package/dist/esm/gux-badge.entry.js +1 -1
  155. package/dist/esm/gux-blank-state-beta.entry.js +1 -1
  156. package/dist/esm/gux-blank-state.entry.js +1 -1
  157. package/dist/esm/gux-breadcrumbs.entry.js +1 -1
  158. package/dist/esm/gux-button-multi.entry.js +1 -1
  159. package/dist/esm/gux-button-slot.entry.js +1 -1
  160. package/dist/esm/gux-button_2.entry.js +1 -1
  161. package/dist/esm/gux-calendar.entry.js +1 -1
  162. package/dist/esm/gux-card.entry.js +1 -1
  163. package/dist/esm/gux-cloud-logo-beta.entry.js +1 -1
  164. package/dist/esm/gux-cloud-logomark-beta.entry.js +1 -1
  165. package/dist/esm/gux-column-manager.entry.js +1 -1
  166. package/dist/esm/gux-content-search.entry.js +1 -1
  167. package/dist/esm/gux-context-menu.entry.js +1 -1
  168. package/dist/esm/gux-copy-to-clipboard.entry.js +1 -1
  169. package/dist/esm/gux-date-beta.entry.js +1 -1
  170. package/dist/esm/gux-date-time-beta.entry.js +1 -1
  171. package/dist/esm/gux-datepicker.entry.js +1 -1
  172. package/dist/esm/gux-disclosure-button-legacy.entry.js +1 -1
  173. package/dist/esm/gux-dismiss-button.entry.js +1 -1
  174. package/dist/esm/gux-dropdown-multi.entry.js +1 -1
  175. package/dist/esm/gux-dropdown_3.entry.js +1 -1
  176. package/dist/esm/gux-file-list-item.entry.js +1 -1
  177. package/dist/esm/gux-flag-icon-beta.entry.js +1 -1
  178. package/dist/esm/gux-flyout-menu.entry.js +1 -1
  179. package/dist/esm/gux-form-field-checkbox-group-beta.entry.js +1 -1
  180. package/dist/esm/gux-form-field-checkbox.entry.js +1 -1
  181. package/dist/esm/gux-form-field-color.entry.js +1 -1
  182. package/dist/esm/gux-form-field-dropdown.entry.js +1 -1
  183. package/dist/esm/gux-form-field-file-beta.entry.js +1 -1
  184. package/dist/esm/gux-form-field-file.entry.js +1 -1
  185. package/dist/esm/gux-form-field-input-clear-button.entry.js +1 -1
  186. package/dist/esm/gux-form-field-label-indicator.entry.js +1 -1
  187. package/dist/esm/gux-form-field-number_2.entry.js +1 -1
  188. package/dist/esm/gux-form-field-phone.entry.js +1 -1
  189. package/dist/esm/gux-form-field-radio-group-beta.entry.js +1 -1
  190. package/dist/esm/gux-form-field-radio.entry.js +1 -1
  191. package/dist/esm/gux-form-field-range.entry.js +1 -1
  192. package/dist/esm/gux-form-field-search.entry.js +1 -1
  193. package/dist/esm/gux-form-field-select.entry.js +1 -1
  194. package/dist/esm/gux-form-field-text-like.entry.js +1 -1
  195. package/dist/esm/gux-form-field-textarea.entry.js +1 -1
  196. package/dist/esm/gux-form-field-time-picker.entry.js +1 -1
  197. package/dist/esm/gux-form-field-time-zone-picker.entry.js +1 -1
  198. package/dist/esm/gux-form-footer.entry.js +1 -1
  199. package/dist/esm/gux-icon-tooltip-beta.entry.js +1 -1
  200. package/dist/esm/gux-icon.entry.js +1 -1
  201. package/dist/esm/gux-illustration-beta.entry.js +1 -1
  202. package/dist/esm/gux-inline-alert.entry.js +1 -1
  203. package/dist/esm/gux-inline-dropdown-beta.entry.js +2 -2
  204. package/dist/esm/gux-label-info-beta.entry.js +1 -1
  205. package/dist/esm/gux-link-beta.entry.js +1 -1
  206. package/dist/esm/gux-list.entry.js +1 -1
  207. package/dist/esm/gux-listbox-multi.entry.js +1 -1
  208. package/dist/esm/gux-loading-message.entry.js +1 -1
  209. package/dist/esm/gux-logo-beta.entry.js +1 -1
  210. package/dist/esm/gux-logomark-beta.entry.js +1 -1
  211. package/dist/esm/gux-modal-legacy.entry.js +1 -1
  212. package/dist/esm/gux-modal-side-panel-beta.entry.js +1 -1
  213. package/dist/esm/gux-modal.entry.js +1 -1
  214. package/dist/esm/gux-month-picker-beta.entry.js +1 -1
  215. package/dist/esm/gux-notification-indicator-beta.entry.js +1 -1
  216. package/dist/esm/gux-notification-toast-legacy.entry.js +1 -1
  217. package/dist/esm/gux-page-loading-spinner.entry.js +1 -1
  218. package/dist/esm/gux-pagination-cursor.entry.js +1 -1
  219. package/dist/esm/gux-pagination-legacy.entry.js +1 -1
  220. package/dist/esm/gux-pagination.entry.js +1 -1
  221. package/dist/esm/gux-phone-input-beta.entry.js +1 -1
  222. package/dist/esm/gux-popover-beta.entry.js +1 -1
  223. package/dist/esm/gux-popover-list-beta.entry.js +1 -1
  224. package/dist/esm/gux-popover-list.entry.js +1 -1
  225. package/dist/esm/gux-prompt-input-beta.entry.js +1 -1
  226. package/dist/esm/gux-radial-loading.entry.js +1 -1
  227. package/dist/esm/gux-radial-progress.entry.js +1 -1
  228. package/dist/esm/gux-rating.entry.js +1 -1
  229. package/dist/esm/gux-rich-highlight-list-item.entry.js +1 -1
  230. package/dist/esm/gux-rich-style-list-item_3.entry.js +1 -1
  231. package/dist/esm/gux-rich-text-editor-action-link.entry.js +1 -1
  232. package/dist/esm/gux-rich-text-editor-action-rich-style.entry.js +1 -1
  233. package/dist/esm/gux-rich-text-editor-action-text-highlight.entry.js +1 -1
  234. package/dist/esm/gux-rich-text-editor-action.entry.js +1 -1
  235. package/dist/esm/gux-rich-text-editor-beta.entry.js +1 -1
  236. package/dist/esm/gux-rich-text-editor-list.entry.js +1 -1
  237. package/dist/esm/gux-screen-reader-beta.entry.js +1 -1
  238. package/dist/esm/gux-segmented-control-beta.entry.js +1 -1
  239. package/dist/esm/gux-selector-card-beta.entry.js +1 -1
  240. package/dist/esm/gux-selector-cards-beta.entry.js +1 -1
  241. package/dist/esm/gux-side-panel-beta.entry.js +1 -1
  242. package/dist/esm/gux-side-panel-header-mini.entry.js +1 -1
  243. package/dist/esm/gux-side-panel-header.entry.js +1 -1
  244. package/dist/esm/gux-side-panel-heading.entry.js +1 -1
  245. package/dist/esm/gux-simple-toast-legacy.entry.js +1 -1
  246. package/dist/esm/gux-skip-navigation-list.entry.js +1 -1
  247. package/dist/esm/gux-sort-control.entry.js +1 -1
  248. package/dist/esm/gux-sparkle-indicator-beta.entry.js +1 -1
  249. package/dist/esm/gux-status-indicator-beta.entry.js +1 -1
  250. package/dist/esm/gux-step-title.entry.js +1 -1
  251. package/dist/esm/gux-step.entry.js +1 -1
  252. package/dist/esm/gux-stepper-beta.entry.js +1 -1
  253. package/dist/esm/gux-switch-legacy.entry.js +1 -1
  254. package/dist/esm/gux-table-toolbar-action.entry.js +1 -1
  255. package/dist/esm/gux-table-toolbar-custom-action.entry.js +1 -1
  256. package/dist/esm/gux-table-toolbar-menu-button.entry.js +1 -1
  257. package/dist/esm/gux-table-toolbar.entry.js +1 -1
  258. package/dist/esm/gux-table.entry.js +1 -1
  259. package/dist/esm/gux-tabs-advanced.entry.js +1 -1
  260. package/dist/esm/gux-tabs.entry.js +1 -1
  261. package/dist/esm/gux-tag.entry.js +1 -1
  262. package/dist/esm/gux-text-highlight.entry.js +1 -1
  263. package/dist/esm/gux-time-beta.entry.js +1 -1
  264. package/dist/esm/gux-time-picker.entry.js +1 -1
  265. package/dist/esm/gux-time-zone-beta.entry.js +1 -1
  266. package/dist/esm/gux-time-zone-picker-beta.entry.js +1 -1
  267. package/dist/esm/gux-toast.entry.js +1 -1
  268. package/dist/esm/gux-toggle.entry.js +1 -1
  269. package/dist/esm/gux-tooltip-base-beta_2.entry.js +1 -1
  270. package/dist/esm/gux-tooltip-pointer-beta.entry.js +1 -1
  271. package/dist/esm/gux-tooltip_2.entry.js +1 -1
  272. package/dist/esm/gux-tree-beta.entry.js +1 -1
  273. package/dist/esm/gux-tree-dropdown-beta.entry.js +1 -1
  274. package/dist/esm/gux-tree-multi-beta.entry.js +1 -1
  275. package/dist/esm/{usage-Bblleze_.js → usage-DKZuo64L.js} +1 -1
  276. package/dist/genesys-webcomponents/genesys-webcomponents.esm.js +1 -1
  277. package/dist/genesys-webcomponents/{p-01b8a20b.entry.js → p-0083d424.entry.js} +1 -1
  278. package/dist/genesys-webcomponents/{p-f9a9529e.entry.js → p-04b2ae89.entry.js} +1 -1
  279. package/dist/genesys-webcomponents/{p-ee30dd88.entry.js → p-0648c9a2.entry.js} +1 -1
  280. package/dist/genesys-webcomponents/{p-52c199ee.entry.js → p-06a55d8a.entry.js} +1 -1
  281. package/dist/genesys-webcomponents/{p-f01d232d.entry.js → p-076e80d8.entry.js} +1 -1
  282. package/dist/genesys-webcomponents/{p-932224ab.entry.js → p-0a1f05ca.entry.js} +1 -1
  283. package/dist/genesys-webcomponents/{p-ec0b7fc7.entry.js → p-0b46b7ea.entry.js} +1 -1
  284. package/dist/genesys-webcomponents/{p-28ff2539.entry.js → p-0c6b9211.entry.js} +1 -1
  285. package/dist/genesys-webcomponents/{p-90e701ab.entry.js → p-1759f8ef.entry.js} +1 -1
  286. package/dist/genesys-webcomponents/{p-30f7cfe2.entry.js → p-187a2314.entry.js} +1 -1
  287. package/dist/genesys-webcomponents/{p-6f1a581d.entry.js → p-193eaa52.entry.js} +1 -1
  288. package/dist/genesys-webcomponents/{p-122b8319.entry.js → p-1b15b90f.entry.js} +1 -1
  289. package/dist/genesys-webcomponents/{p-1fbb1ee0.entry.js → p-1b45dd15.entry.js} +1 -1
  290. package/dist/genesys-webcomponents/{p-5eb8e1ce.entry.js → p-1ba418aa.entry.js} +1 -1
  291. package/dist/genesys-webcomponents/{p-db1b9a51.entry.js → p-20a9d5a5.entry.js} +1 -1
  292. package/dist/genesys-webcomponents/{p-08402a05.entry.js → p-23b777f6.entry.js} +1 -1
  293. package/dist/genesys-webcomponents/{p-80526461.entry.js → p-295a4079.entry.js} +1 -1
  294. package/dist/genesys-webcomponents/{p-7d912abb.entry.js → p-29a52d7c.entry.js} +1 -1
  295. package/dist/genesys-webcomponents/{p-ae5e6177.entry.js → p-2ac1b642.entry.js} +1 -1
  296. package/dist/genesys-webcomponents/p-2b138538.entry.js +1 -0
  297. package/dist/genesys-webcomponents/{p-2a2897e5.entry.js → p-2e1a4674.entry.js} +1 -1
  298. package/dist/genesys-webcomponents/{p-488dd200.entry.js → p-2f5d02c0.entry.js} +1 -1
  299. package/dist/genesys-webcomponents/{p-1d07c1f5.entry.js → p-3028380a.entry.js} +1 -1
  300. package/dist/genesys-webcomponents/{p-b01c0466.entry.js → p-30631d44.entry.js} +1 -1
  301. package/dist/genesys-webcomponents/{p-374b4562.entry.js → p-33c7e062.entry.js} +1 -1
  302. package/dist/genesys-webcomponents/{p-8f0b7680.entry.js → p-347cf37f.entry.js} +1 -1
  303. package/dist/genesys-webcomponents/{p-c4030db9.entry.js → p-3662860e.entry.js} +1 -1
  304. package/dist/genesys-webcomponents/{p-b61abfba.entry.js → p-39dc17df.entry.js} +1 -1
  305. package/dist/genesys-webcomponents/{p-df01b18b.entry.js → p-3ac4751a.entry.js} +1 -1
  306. package/dist/genesys-webcomponents/{p-adf7460c.entry.js → p-3b2b7515.entry.js} +1 -1
  307. package/dist/genesys-webcomponents/{p-a9a01c00.entry.js → p-3ceece98.entry.js} +1 -1
  308. package/dist/genesys-webcomponents/{p-c0b185f5.entry.js → p-3e848d1c.entry.js} +1 -1
  309. package/dist/genesys-webcomponents/{p-7895dd18.entry.js → p-41710465.entry.js} +1 -1
  310. package/dist/genesys-webcomponents/{p-e3108260.entry.js → p-4284b636.entry.js} +1 -1
  311. package/dist/genesys-webcomponents/{p-be8d53b5.entry.js → p-438b8555.entry.js} +1 -1
  312. package/dist/genesys-webcomponents/{p-3e5f959c.entry.js → p-43b91b7a.entry.js} +1 -1
  313. package/dist/genesys-webcomponents/{p-e89e6c5d.entry.js → p-461f06f3.entry.js} +1 -1
  314. package/dist/genesys-webcomponents/{p-7d8ab96e.entry.js → p-4792dae2.entry.js} +1 -1
  315. package/dist/genesys-webcomponents/{p-39d094b3.entry.js → p-4b2f0379.entry.js} +1 -1
  316. package/dist/genesys-webcomponents/{p-33a981da.entry.js → p-4c7f389f.entry.js} +1 -1
  317. package/dist/genesys-webcomponents/{p-79ecc943.entry.js → p-4dc5715b.entry.js} +1 -1
  318. package/dist/genesys-webcomponents/{p-8a57ef19.entry.js → p-4df2df5e.entry.js} +1 -1
  319. package/dist/genesys-webcomponents/{p-b94964cd.entry.js → p-4f830624.entry.js} +1 -1
  320. package/dist/genesys-webcomponents/{p-3bcd8885.entry.js → p-52981377.entry.js} +1 -1
  321. package/dist/genesys-webcomponents/{p-f88cd0b5.entry.js → p-5346dd71.entry.js} +1 -1
  322. package/dist/genesys-webcomponents/{p-3f2b13eb.entry.js → p-53f903c7.entry.js} +1 -1
  323. package/dist/genesys-webcomponents/{p-69b14693.entry.js → p-53fbfcf3.entry.js} +1 -1
  324. package/dist/genesys-webcomponents/{p-166eab9f.entry.js → p-553ab810.entry.js} +1 -1
  325. package/dist/genesys-webcomponents/{p-83265744.entry.js → p-568ca58c.entry.js} +1 -1
  326. package/dist/genesys-webcomponents/{p-60e39d58.entry.js → p-56e93396.entry.js} +1 -1
  327. package/dist/genesys-webcomponents/{p-dd357692.entry.js → p-5829e909.entry.js} +1 -1
  328. package/dist/genesys-webcomponents/{p-0a8df757.entry.js → p-595aefa2.entry.js} +1 -1
  329. package/dist/genesys-webcomponents/{p-84bd2585.entry.js → p-5b75cacc.entry.js} +1 -1
  330. package/dist/genesys-webcomponents/p-5f15a778.entry.js +1 -0
  331. package/dist/genesys-webcomponents/{p-2fa2df36.entry.js → p-5f9db77c.entry.js} +1 -1
  332. package/dist/genesys-webcomponents/{p-5972cbdc.entry.js → p-5fd66374.entry.js} +1 -1
  333. package/dist/genesys-webcomponents/{p-e23ca21f.entry.js → p-60531229.entry.js} +1 -1
  334. package/dist/genesys-webcomponents/{p-1e7140e1.entry.js → p-61d42669.entry.js} +1 -1
  335. package/dist/genesys-webcomponents/{p-33f29fb0.entry.js → p-633cf7e1.entry.js} +1 -1
  336. package/dist/genesys-webcomponents/{p-8f257afe.entry.js → p-648ecd60.entry.js} +1 -1
  337. package/dist/genesys-webcomponents/{p-cd2e697f.entry.js → p-697cf68a.entry.js} +1 -1
  338. package/dist/genesys-webcomponents/{p-8ca5b274.entry.js → p-6994c54d.entry.js} +1 -1
  339. package/dist/genesys-webcomponents/{p-5bf2ac88.entry.js → p-6c4c0ff9.entry.js} +1 -1
  340. package/dist/genesys-webcomponents/{p-4d477e7a.entry.js → p-6c92eafd.entry.js} +1 -1
  341. package/dist/genesys-webcomponents/{p-b56150a1.entry.js → p-6d0cd31d.entry.js} +1 -1
  342. package/dist/genesys-webcomponents/{p-636831c2.entry.js → p-6e57ec2f.entry.js} +1 -1
  343. package/dist/genesys-webcomponents/{p-536b42a7.entry.js → p-70de364d.entry.js} +1 -1
  344. package/dist/genesys-webcomponents/{p-c43ae047.entry.js → p-717a35dc.entry.js} +1 -1
  345. package/dist/genesys-webcomponents/{p-d200fbac.entry.js → p-750b5acb.entry.js} +1 -1
  346. package/dist/genesys-webcomponents/{p-c1baa146.entry.js → p-753181f9.entry.js} +1 -1
  347. package/dist/genesys-webcomponents/{p-d9767b1b.entry.js → p-7719e600.entry.js} +1 -1
  348. package/dist/genesys-webcomponents/{p-c114227a.entry.js → p-792df71e.entry.js} +1 -1
  349. package/dist/genesys-webcomponents/{p-865b7b9f.entry.js → p-7d11a46a.entry.js} +1 -1
  350. package/dist/genesys-webcomponents/{p-32d08346.entry.js → p-811aaefa.entry.js} +1 -1
  351. package/dist/genesys-webcomponents/{p-cbfa2ebe.entry.js → p-84ff31b3.entry.js} +1 -1
  352. package/dist/genesys-webcomponents/{p-6d1ac6d0.entry.js → p-89463c3a.entry.js} +1 -1
  353. package/dist/genesys-webcomponents/{p-0da99e1f.entry.js → p-8c08521a.entry.js} +1 -1
  354. package/dist/genesys-webcomponents/{p-fe9617b5.entry.js → p-8c56abd8.entry.js} +1 -1
  355. package/dist/genesys-webcomponents/{p-a4eb2b75.entry.js → p-8e5688e6.entry.js} +1 -1
  356. package/dist/genesys-webcomponents/{p-a107673b.entry.js → p-8fc5043b.entry.js} +1 -1
  357. package/dist/genesys-webcomponents/{p-bece1ac5.entry.js → p-91566ac4.entry.js} +1 -1
  358. package/dist/genesys-webcomponents/{p-89a04d51.entry.js → p-94a54293.entry.js} +1 -1
  359. package/dist/genesys-webcomponents/{p-1e1a6d9d.entry.js → p-9a78aeaa.entry.js} +1 -1
  360. package/dist/genesys-webcomponents/p-9adc9449.entry.js +1 -0
  361. package/dist/genesys-webcomponents/{p-42ff48ee.entry.js → p-9d771fd0.entry.js} +1 -1
  362. package/dist/genesys-webcomponents/{p-5d205310.entry.js → p-9ff2bc4b.entry.js} +1 -1
  363. package/dist/genesys-webcomponents/{p-Bblleze_.js → p-DKZuo64L.js} +1 -1
  364. package/dist/genesys-webcomponents/{p-6fc8c75c.entry.js → p-a0773ea1.entry.js} +1 -1
  365. package/dist/genesys-webcomponents/{p-f048410d.entry.js → p-a11ccda5.entry.js} +1 -1
  366. package/dist/genesys-webcomponents/{p-244f8c7f.entry.js → p-a1c1088a.entry.js} +1 -1
  367. package/dist/genesys-webcomponents/{p-d5a9113b.entry.js → p-a1f340be.entry.js} +1 -1
  368. package/dist/genesys-webcomponents/{p-0a4bb60c.entry.js → p-a4853a1a.entry.js} +1 -1
  369. package/dist/genesys-webcomponents/{p-a7f05685.entry.js → p-a499b41d.entry.js} +1 -1
  370. package/dist/genesys-webcomponents/{p-2a4f3e94.entry.js → p-a6d5500d.entry.js} +1 -1
  371. package/dist/genesys-webcomponents/{p-2b7d492f.entry.js → p-a9569d94.entry.js} +1 -1
  372. package/dist/genesys-webcomponents/{p-86ea89ed.entry.js → p-aa9c3b0e.entry.js} +1 -1
  373. package/dist/genesys-webcomponents/{p-398d0091.entry.js → p-ab6b7408.entry.js} +1 -1
  374. package/dist/genesys-webcomponents/{p-ea4410f6.entry.js → p-ab7bfbdd.entry.js} +1 -1
  375. package/dist/genesys-webcomponents/{p-2548c625.entry.js → p-b1bbcba7.entry.js} +1 -1
  376. package/dist/genesys-webcomponents/{p-f7252fe0.entry.js → p-b36766ab.entry.js} +1 -1
  377. package/dist/genesys-webcomponents/{p-f4c5e5df.entry.js → p-b47c6696.entry.js} +1 -1
  378. package/dist/genesys-webcomponents/{p-8417ab57.entry.js → p-b4c3ef0e.entry.js} +1 -1
  379. package/dist/genesys-webcomponents/{p-0607161c.entry.js → p-b51f958f.entry.js} +1 -1
  380. package/dist/genesys-webcomponents/{p-d40be581.entry.js → p-ba29e87c.entry.js} +1 -1
  381. package/dist/genesys-webcomponents/{p-2ffeb670.entry.js → p-bce3e3a9.entry.js} +1 -1
  382. package/dist/genesys-webcomponents/{p-067445c8.entry.js → p-bcfcf8e6.entry.js} +1 -1
  383. package/dist/genesys-webcomponents/{p-e3639952.entry.js → p-c2e22e6f.entry.js} +1 -1
  384. package/dist/genesys-webcomponents/{p-c66e3cf5.entry.js → p-c388395f.entry.js} +1 -1
  385. package/dist/genesys-webcomponents/{p-3fb92668.entry.js → p-c73f9171.entry.js} +1 -1
  386. package/dist/genesys-webcomponents/{p-17b8935b.entry.js → p-cc0e9cf0.entry.js} +1 -1
  387. package/dist/genesys-webcomponents/{p-7ee6d43f.entry.js → p-d0f6308a.entry.js} +1 -1
  388. package/dist/genesys-webcomponents/{p-304a1691.entry.js → p-d2b5a1c5.entry.js} +1 -1
  389. package/dist/genesys-webcomponents/{p-7cf48b8e.entry.js → p-d3ae6bb8.entry.js} +1 -1
  390. package/dist/genesys-webcomponents/{p-e3166ba2.entry.js → p-d56f89a0.entry.js} +1 -1
  391. package/dist/genesys-webcomponents/{p-2a412663.entry.js → p-d648b8e7.entry.js} +1 -1
  392. package/dist/genesys-webcomponents/{p-1914d694.entry.js → p-d8fa5cde.entry.js} +1 -1
  393. package/dist/genesys-webcomponents/{p-f8fcba5a.entry.js → p-d935a01d.entry.js} +1 -1
  394. package/dist/genesys-webcomponents/{p-f7370f64.entry.js → p-d944110b.entry.js} +1 -1
  395. package/dist/genesys-webcomponents/{p-52d3207d.entry.js → p-dab152ba.entry.js} +1 -1
  396. package/dist/genesys-webcomponents/{p-e510716e.entry.js → p-dc7ceedd.entry.js} +1 -1
  397. package/dist/genesys-webcomponents/{p-73a3b3fa.entry.js → p-de007f58.entry.js} +1 -1
  398. package/dist/genesys-webcomponents/{p-f5cf36e2.entry.js → p-deefdcc7.entry.js} +1 -1
  399. package/dist/genesys-webcomponents/{p-eb472303.entry.js → p-df9741f9.entry.js} +1 -1
  400. package/dist/genesys-webcomponents/{p-d25d3a53.entry.js → p-e43946e1.entry.js} +1 -1
  401. package/dist/genesys-webcomponents/p-e713cfec.entry.js +1 -0
  402. package/dist/genesys-webcomponents/{p-0163c3d4.entry.js → p-e75397b2.entry.js} +1 -1
  403. package/dist/genesys-webcomponents/{p-187d30e3.entry.js → p-e7ad0ec4.entry.js} +1 -1
  404. package/dist/genesys-webcomponents/{p-2214301f.entry.js → p-ea6870a5.entry.js} +1 -1
  405. package/dist/genesys-webcomponents/{p-084113c7.entry.js → p-ebbd65ee.entry.js} +1 -1
  406. package/dist/genesys-webcomponents/{p-2cc475a7.entry.js → p-ecb0d3ef.entry.js} +1 -1
  407. package/dist/genesys-webcomponents/{p-2b4139e8.entry.js → p-ed1c9bd6.entry.js} +1 -1
  408. package/dist/genesys-webcomponents/{p-2042b50f.entry.js → p-ed8343ca.entry.js} +1 -1
  409. package/dist/genesys-webcomponents/{p-c1d08fd3.entry.js → p-f0297fb3.entry.js} +1 -1
  410. package/dist/genesys-webcomponents/{p-afa7c1dd.entry.js → p-f21415c9.entry.js} +1 -1
  411. package/dist/genesys-webcomponents/{p-e6580df5.entry.js → p-f2a73312.entry.js} +1 -1
  412. package/dist/genesys-webcomponents/{p-08a7c7b5.entry.js → p-f50653bb.entry.js} +1 -1
  413. package/dist/genesys-webcomponents/{p-24a2fe03.entry.js → p-fbb43c51.entry.js} +1 -1
  414. package/dist/stencil-wrapper.js +1 -1
  415. package/dist/types/stencil-wrapper.d.ts +1 -1
  416. package/package.json +1 -1
  417. package/dist/genesys-webcomponents/p-1073cc26.entry.js +0 -1
  418. package/dist/genesys-webcomponents/p-974334fc.entry.js +0 -1
  419. package/dist/genesys-webcomponents/p-f8aa13f4.entry.js +0 -1
  420. package/dist/genesys-webcomponents/p-f975d58c.entry.js +0 -1
@@ -1 +1 @@
1
- import{r as e,h as i,a as t}from"./p-OQnq_QVU.js";import{b as o}from"./p-U5Uee2Gr.js";import{O as r}from"./p-dnkpqym6.js";import{a as l,o as s}from"./p-De1NnCmO.js";import{t as a}from"./p-Bblleze_.js";import{G as n,a as f}from"./p-Dp8jWSrS.js";import{G as h,a as d,b as u}from"./p-DQxY0GTH.js";import{h as p}from"./p-qzV3vtOw.js";import{g as c}from"./p-MAoEg4ig.js";import{v as g,g as m}from"./p-D8ztWCZ3.js";import"./p-Bwt-u0lF.js";import"./p-D9jKBqIb.js";import"./p-DxtJDeL9.js";import"./p-BMRf5pjV.js";var b={required:"Required"};const x=class{constructor(i){e(this,i),this.indicatorMark="required",this.computedLabelPosition="above",this.required=!1,this.hasError=!1,this.hasHelp=!1,this.hasLabelInfo=!1}watchValue(e){const i=this.root.querySelector("gux-phone-input-beta");i&&(i.hasError=e)}onMutation(){this.labelInfo=this.root.querySelector("[slot=label-info]"),this.hasError=p(this.root,"error"),this.hasHelp=p(this.root,"help"),this.hasLabelInfo=p(this.root,"label-info")}handleKeyup(e){var i,t;switch(e.key){case"Tab":this.input.matches(":focus-within")&&(null===(i=this.labelInfo)||void 0===i||i.showTooltip(),this.hideLabelInfoTimeout=setTimeout((()=>{var e;null===(e=this.labelInfo)||void 0===e||e.hideTooltip()}),6e3));break;case"Shift":break;default:this.input.matches(":focus-within")&&(null===(t=this.labelInfo)||void 0===t||t.hideTooltip(),clearTimeout(this.hideLabelInfoTimeout))}}onFocusout(){var e;null===(e=this.labelInfo)||void 0===e||e.hideTooltip(),clearTimeout(this.hideLabelInfoTimeout)}async componentWillLoad(){this.getI18nValue=await o(this.root,b),this.setInput(),this.setLabel(),this.labelInfo=this.root.querySelector("[slot=label-info]"),this.hasError=p(this.root,"error"),this.hasHelp=p(this.root,"help"),this.hasLabelInfo=p(this.root,"label-info"),a(this.root,{variant:this.variant})}connectedCallback(){this.hasError=p(this.root,"error"),this.hasHelp=p(this.root,"help")}disconnectedCallback(){this.disabledObserver.disconnect(),this.requiredObserver.disconnect()}render(){var e;return i(u,{key:"0a6a83dbbf8d4b7bdfa8a8db647e5269b4726ac6",labelPosition:this.computedLabelPosition},i(d,{key:"4b2388976885869fff5589503384ebe32bdc05dd"},null===(e=this.label)||void 0===e?void 0:e.textContent,this.renderText(this.getI18nValue("required"),this.required),this.renderText(c(this.root,"error"),this.hasError),this.renderText(c(this.root,"label-info"),this.hasLabelInfo)),i(h,{key:"304397e42e9371d9d0bcc3c0374e149831d2db4e",position:this.computedLabelPosition,required:this.required},i("slot",{key:"11a09da1c416b13eef69803aec32b76e80ff117b",name:"label",onSlotchange:()=>this.setLabel()}),i("gux-form-field-label-indicator",{key:"0e0dccb7fe2b0a95ca42f05933210e34d5918bfd",variant:this.indicatorMark,required:this.required}),i("slot",{key:"f65396efb0a1f91b1aace19470fc0abc9068f1a7",name:"label-info"})),i("div",{key:"814debc58ecef7c36dc6c5948c73add1ec4c7061",class:"gux-input-and-error-container"},i("div",{key:"3b803f704b96ce8d0bff8a4c7a552372d84862c0",class:{"gux-input":!0,"gux-input-error":this.hasError}},i("div",{key:"7d016d98f9df6090cb22364db21a5e195f50bafd",class:{"gux-input-container":!0,"gux-disabled":this.disabled}},i("slot",{key:"4d35246e49b8a26de5745d61d6632ea8b77a37f5"}))),i(n,{key:"a74f8185a9b66f5b45ad35c0d9817f7284e6daf9",show:this.hasError},i("slot",{key:"2a126893e95d7e84878164f57c1613a57bcebe52",name:"error"})),i(f,{key:"43e86dbfdc8ec54cdfed92ae319369f38c14b438",show:!this.hasError&&this.hasHelp},i("slot",{key:"cfe2dd2f498af49f7e16caa1c5b5ee0cfb4833db",name:"help"}))))}renderText(e,i=!1){if(i)return" "+e}get variant(){return`phoneInput-${this.labelPosition?this.labelPosition.toLowerCase():"none"}`}setInput(){this.input=this.root.querySelector("gux-phone-input-beta"),this.disabled=this.input.disabled,this.required=this.input.required,this.disabledObserver=l(this.input,(e=>{this.disabled=e})),this.requiredObserver=s(this.input,(e=>{this.required=e})),g(this.root,this.input)}setLabel(){this.label=this.root.querySelector('label[slot="label"]'),this.computedLabelPosition=m(this.label,this.labelPosition)}get root(){return t(this)}static get watchers(){return{hasError:[{watchValue:0}]}}};(function(e,i,t,o){var r,l=arguments.length,s=l<3?i:null===o?o=Object.getOwnPropertyDescriptor(i,t):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(e,i,t,o);else for(var a=e.length-1;a>=0;a--)(r=e[a])&&(s=(l<3?r(s):l>3?r(i,t,s):r(i,t))||s);l>3&&s&&Object.defineProperty(i,t,s)})([r({childList:!0,subtree:!0})],x.prototype,"onMutation",null),x.style=".gux-form-field-fieldset-container{display:flex;min-inline-size:0;padding:0;margin:0;border:none}.gux-form-field-fieldset-container.gux-beside{flex-direction:row}.gux-form-field-fieldset-container.gux-above{flex-direction:column}.gux-form-field-error{display:none;flex-direction:row;flex-wrap:nowrap;gap:var(--gse-ui-formControl-helper-gap);place-content:stretch flex-start;padding:var(--gse-ui-formControl-helper-errorPadding);font-family:var(--gse-ui-formControl-helper-helperText-fontFamily);font-size:var(--gse-ui-formControl-helper-helperText-fontSize);line-height:var(--gse-ui-formControl-helper-helperText-lineHeight);color:var(--gse-ui-formControl-helper-errorColor)}.gux-form-field-error.gux-show{display:flex}.gux-form-field-error gux-icon{flex:0 0 auto;order:0;color:var(--gse-ui-formControl-helper-errorColor)}.gux-form-field-error .gux-message{flex:0 1 auto;align-self:auto;order:0}.gux-form-field-help{display:none;flex-direction:row;flex-wrap:nowrap;place-content:stretch flex-start;align-items:flex-start;justify-content:flex-start;padding-block-start:var(--gse-ui-formControl-formField-gap);font-family:var(--gse-ui-formControl-helper-helperText-fontFamily);font-size:var(--gse-ui-formControl-helper-helperText-fontSize);line-height:var(--gse-ui-formControl-helper-helperText-lineHeight);color:var(--gse-ui-formControl-helper-defaultColor)}.gux-form-field-help.gux-show{display:flex}.gux-form-field-help .gux-message{flex:0 1 auto;align-self:none;order:0}.gux-form-field-visual-label{display:inline-flex;flex:1 0 auto}.gux-form-field-visual-label ::slotted(label){min-inline-size:0}.gux-form-field-visual-label ::slotted(gux-label-info-beta){padding-inline-start:var(--gse-ui-formControl-formField-gap)}.gux-form-field-visual-label.gux-beside{position:relative;inset-block-start:var(--gse-ui-formControl-input-top);inline-size:fit-content;min-inline-size:var(--gse-ui-formControl-input-textfield-minWidth);max-inline-size:fit-content;margin-inline-end:var(--gse-ui-formControl-group-gapItems)}.gux-form-field-visual-label.gux-above{padding-block-end:var(--gse-ui-formControl-formField-gap)}.gux-form-field-visual-label.gux-screenreader{display:none}.gux-form-field-screenreader-label{position:absolute;top:auto;left:-10000px;width:1px;height:1px;overflow:hidden}:host{flex:1 1 auto;min-inline-size:0}::slotted(label){font-family:var(--gse-ui-formControl-label-textBold-fontFamily);font-size:var(--gse-ui-formControl-label-textBold-fontSize);font-weight:var(--gse-ui-formControl-label-textBold-fontWeight);line-height:var(--gse-ui-formControl-label-textBold-lineHeight);color:var(--gse-ui-formControl-label-labelColor)}.gux-input-and-error-container{flex-grow:1}";export{x as gux_form_field_phone}
1
+ import{r as e,h as i,a as t}from"./p-OQnq_QVU.js";import{b as o}from"./p-U5Uee2Gr.js";import{O as r}from"./p-dnkpqym6.js";import{a as l,o as s}from"./p-De1NnCmO.js";import{t as a}from"./p-DKZuo64L.js";import{G as n,a as f}from"./p-Dp8jWSrS.js";import{G as h,a as d,b as u}from"./p-DQxY0GTH.js";import{h as p}from"./p-qzV3vtOw.js";import{g as c}from"./p-MAoEg4ig.js";import{v as g,g as m}from"./p-D8ztWCZ3.js";import"./p-Bwt-u0lF.js";import"./p-D9jKBqIb.js";import"./p-DxtJDeL9.js";import"./p-BMRf5pjV.js";var b={required:"Required"};const x=class{constructor(i){e(this,i),this.indicatorMark="required",this.computedLabelPosition="above",this.required=!1,this.hasError=!1,this.hasHelp=!1,this.hasLabelInfo=!1}watchValue(e){const i=this.root.querySelector("gux-phone-input-beta");i&&(i.hasError=e)}onMutation(){this.labelInfo=this.root.querySelector("[slot=label-info]"),this.hasError=p(this.root,"error"),this.hasHelp=p(this.root,"help"),this.hasLabelInfo=p(this.root,"label-info")}handleKeyup(e){var i,t;switch(e.key){case"Tab":this.input.matches(":focus-within")&&(null===(i=this.labelInfo)||void 0===i||i.showTooltip(),this.hideLabelInfoTimeout=setTimeout((()=>{var e;null===(e=this.labelInfo)||void 0===e||e.hideTooltip()}),6e3));break;case"Shift":break;default:this.input.matches(":focus-within")&&(null===(t=this.labelInfo)||void 0===t||t.hideTooltip(),clearTimeout(this.hideLabelInfoTimeout))}}onFocusout(){var e;null===(e=this.labelInfo)||void 0===e||e.hideTooltip(),clearTimeout(this.hideLabelInfoTimeout)}async componentWillLoad(){this.getI18nValue=await o(this.root,b),this.setInput(),this.setLabel(),this.labelInfo=this.root.querySelector("[slot=label-info]"),this.hasError=p(this.root,"error"),this.hasHelp=p(this.root,"help"),this.hasLabelInfo=p(this.root,"label-info"),a(this.root,{variant:this.variant})}connectedCallback(){this.hasError=p(this.root,"error"),this.hasHelp=p(this.root,"help")}disconnectedCallback(){this.disabledObserver.disconnect(),this.requiredObserver.disconnect()}render(){var e;return i(u,{key:"0a6a83dbbf8d4b7bdfa8a8db647e5269b4726ac6",labelPosition:this.computedLabelPosition},i(d,{key:"4b2388976885869fff5589503384ebe32bdc05dd"},null===(e=this.label)||void 0===e?void 0:e.textContent,this.renderText(this.getI18nValue("required"),this.required),this.renderText(c(this.root,"error"),this.hasError),this.renderText(c(this.root,"label-info"),this.hasLabelInfo)),i(h,{key:"304397e42e9371d9d0bcc3c0374e149831d2db4e",position:this.computedLabelPosition,required:this.required},i("slot",{key:"11a09da1c416b13eef69803aec32b76e80ff117b",name:"label",onSlotchange:()=>this.setLabel()}),i("gux-form-field-label-indicator",{key:"0e0dccb7fe2b0a95ca42f05933210e34d5918bfd",variant:this.indicatorMark,required:this.required}),i("slot",{key:"f65396efb0a1f91b1aace19470fc0abc9068f1a7",name:"label-info"})),i("div",{key:"814debc58ecef7c36dc6c5948c73add1ec4c7061",class:"gux-input-and-error-container"},i("div",{key:"3b803f704b96ce8d0bff8a4c7a552372d84862c0",class:{"gux-input":!0,"gux-input-error":this.hasError}},i("div",{key:"7d016d98f9df6090cb22364db21a5e195f50bafd",class:{"gux-input-container":!0,"gux-disabled":this.disabled}},i("slot",{key:"4d35246e49b8a26de5745d61d6632ea8b77a37f5"}))),i(n,{key:"a74f8185a9b66f5b45ad35c0d9817f7284e6daf9",show:this.hasError},i("slot",{key:"2a126893e95d7e84878164f57c1613a57bcebe52",name:"error"})),i(f,{key:"43e86dbfdc8ec54cdfed92ae319369f38c14b438",show:!this.hasError&&this.hasHelp},i("slot",{key:"cfe2dd2f498af49f7e16caa1c5b5ee0cfb4833db",name:"help"}))))}renderText(e,i=!1){if(i)return" "+e}get variant(){return`phoneInput-${this.labelPosition?this.labelPosition.toLowerCase():"none"}`}setInput(){this.input=this.root.querySelector("gux-phone-input-beta"),this.disabled=this.input.disabled,this.required=this.input.required,this.disabledObserver=l(this.input,(e=>{this.disabled=e})),this.requiredObserver=s(this.input,(e=>{this.required=e})),g(this.root,this.input)}setLabel(){this.label=this.root.querySelector('label[slot="label"]'),this.computedLabelPosition=m(this.label,this.labelPosition)}get root(){return t(this)}static get watchers(){return{hasError:[{watchValue:0}]}}};(function(e,i,t,o){var r,l=arguments.length,s=l<3?i:null===o?o=Object.getOwnPropertyDescriptor(i,t):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(e,i,t,o);else for(var a=e.length-1;a>=0;a--)(r=e[a])&&(s=(l<3?r(s):l>3?r(i,t,s):r(i,t))||s);l>3&&s&&Object.defineProperty(i,t,s)})([r({childList:!0,subtree:!0})],x.prototype,"onMutation",null),x.style=".gux-form-field-fieldset-container{display:flex;min-inline-size:0;padding:0;margin:0;border:none}.gux-form-field-fieldset-container.gux-beside{flex-direction:row}.gux-form-field-fieldset-container.gux-above{flex-direction:column}.gux-form-field-error{display:none;flex-direction:row;flex-wrap:nowrap;gap:var(--gse-ui-formControl-helper-gap);place-content:stretch flex-start;padding:var(--gse-ui-formControl-helper-errorPadding);font-family:var(--gse-ui-formControl-helper-helperText-fontFamily);font-size:var(--gse-ui-formControl-helper-helperText-fontSize);line-height:var(--gse-ui-formControl-helper-helperText-lineHeight);color:var(--gse-ui-formControl-helper-errorColor)}.gux-form-field-error.gux-show{display:flex}.gux-form-field-error gux-icon{flex:0 0 auto;order:0;color:var(--gse-ui-formControl-helper-errorColor)}.gux-form-field-error .gux-message{flex:0 1 auto;align-self:auto;order:0}.gux-form-field-help{display:none;flex-direction:row;flex-wrap:nowrap;place-content:stretch flex-start;align-items:flex-start;justify-content:flex-start;padding-block-start:var(--gse-ui-formControl-formField-gap);font-family:var(--gse-ui-formControl-helper-helperText-fontFamily);font-size:var(--gse-ui-formControl-helper-helperText-fontSize);line-height:var(--gse-ui-formControl-helper-helperText-lineHeight);color:var(--gse-ui-formControl-helper-defaultColor)}.gux-form-field-help.gux-show{display:flex}.gux-form-field-help .gux-message{flex:0 1 auto;align-self:none;order:0}.gux-form-field-visual-label{display:inline-flex;flex:1 0 auto}.gux-form-field-visual-label ::slotted(label){min-inline-size:0}.gux-form-field-visual-label ::slotted(gux-label-info-beta){padding-inline-start:var(--gse-ui-formControl-formField-gap)}.gux-form-field-visual-label.gux-beside{position:relative;inset-block-start:var(--gse-ui-formControl-input-top);inline-size:fit-content;min-inline-size:var(--gse-ui-formControl-input-textfield-minWidth);max-inline-size:fit-content;margin-inline-end:var(--gse-ui-formControl-group-gapItems)}.gux-form-field-visual-label.gux-above{padding-block-end:var(--gse-ui-formControl-formField-gap)}.gux-form-field-visual-label.gux-screenreader{display:none}.gux-form-field-screenreader-label{position:absolute;top:auto;left:-10000px;width:1px;height:1px;overflow:hidden}:host{flex:1 1 auto;min-inline-size:0}::slotted(label){font-family:var(--gse-ui-formControl-label-textBold-fontFamily);font-size:var(--gse-ui-formControl-label-textBold-fontSize);font-weight:var(--gse-ui-formControl-label-textBold-fontWeight);line-height:var(--gse-ui-formControl-label-textBold-lineHeight);color:var(--gse-ui-formControl-label-labelColor)}.gux-input-and-error-container{flex-grow:1}";export{x as gux_form_field_phone}
@@ -1 +1 @@
1
- import{r as e,f as o,h as r,a as t}from"./p-OQnq_QVU.js";import{c as i,o as n}from"./p-Cb3FOYGS.js";import{O as l}from"./p-dnkpqym6.js";import{o as a}from"./p-De1NnCmO.js";import{p as s}from"./p-PYfNAK8p.js";import{h as u}from"./p-qzV3vtOw.js";import{G as f,a as d}from"./p-Dp8jWSrS.js";import{G as c,a as g}from"./p-DtyfCKSn.js";import{h,c as p,a as m,v as x,g as b}from"./p-D8ztWCZ3.js";import{t as v}from"./p-Bblleze_.js";import{f as C}from"./p-JHLuJ8Pb.js";import"./p-D9jKBqIb.js";import"./p-DxtJDeL9.js";import"./p-BMRf5pjV.js";const y=class{constructor(o){e(this,o),this.indicatorMark="required",this.computedLabelPosition="above",this.clearable=!0,this.hasContent=!1,this.hasError=!1,this.hasHelp=!1}onMutation(){this.labelInfo=this.root.querySelector("[slot=label-info]"),this.hasError=u(this.root,"error"),this.hasHelp=u(this.root,"help")}handleKeyup(e){var o,r;switch(e.key){case"Tab":this.input.matches(":focus-visible")&&(null===(o=this.labelInfo)||void 0===o||o.showTooltip(),this.hideLabelInfoTimeout=setTimeout((()=>{var e;null===(e=this.labelInfo)||void 0===e||e.hideTooltip()}),6e3));break;case"Shift":break;default:this.input.matches(":focus-visible")&&(null===(r=this.labelInfo)||void 0===r||r.hideTooltip(),clearTimeout(this.hideLabelInfoTimeout))}}onFocusout(){var e;null===(e=this.labelInfo)||void 0===e||e.hideTooltip(),clearTimeout(this.hideLabelInfoTimeout)}async guxForceUpdate(){this.hasContent=h(this.input),this.hasError=u(this.root,"error"),this.hasHelp=u(this.root,"help"),o(this.root)}componentWillLoad(){this.setInput(),this.setLabel(),this.labelInfo=this.root.querySelector("[slot=label-info]"),this.hasError=u(this.root,"error"),this.hasHelp=u(this.root,"help"),v(this.root,{variant:this.variant})}connectedCallback(){this.hasError=u(this.root,"error"),this.hasHelp=u(this.root,"help")}disconnectedCallback(){this.disabledObserver&&this.disabledObserver.disconnect(),this.requiredObserver&&this.requiredObserver.disconnect()}render(){return r(g,{key:"ea704b5601012c7dbdfc59f90a609847b45a8057",labelPosition:this.computedLabelPosition},r(c,{key:"1c427d6ed78355a9a9405a229445627bec02043b",required:this.required,position:this.computedLabelPosition},r("slot",{key:"a2036e3dc213148d4a7d426720cee6b9e2c04751",name:"label",onSlotchange:()=>this.setLabel()}),r("gux-form-field-label-indicator",{key:"c74b55c7d34e894fc2da612fbdb8fcaf364ee894",variant:this.indicatorMark,required:this.required}),r("slot",{key:"8ca1bf2426adaa0846c2d640dfa8f50f0ecfc931",name:"label-info"})),r("div",{key:"067ae5c07dcf7aff20af735a9b4a02d33ae1495d",class:"gux-input-and-error-container"},r("div",{key:"5f00ec51b086d6948876b6be119b12b76dae9df3",class:{"gux-input":!0,"gux-input-error":this.hasError}},r("div",{key:"6ade0e834fe3d235f1e92d12fc961bd3249c69fc",class:{"gux-input-container":!0,"gux-disabled":this.disabled},onClick:()=>C(this.input)},r("gux-icon",{key:"d81a8f4aaeab8355da55acd932554095099f68bf","icon-name":"fa/magnifying-glass-regular",decorative:!0,size:"small"}),r("slot",{key:"bad4a4a9f563d6900233a6c0c767c77262340adf",name:"input"}),this.clearable&&this.hasContent&&!this.disabled&&r("gux-form-field-input-clear-button",{key:"84b737a6fe4588e9d71cb42ccb80a06420b062c9",onClick:()=>p(this.input)}))),r(f,{key:"041bfc02ab924c926e128f301ffff1986f95408a",show:this.hasError},r("slot",{key:"3537cef0b76d260ba4b84b88fa9e7b56e64985fa",name:"error"})),r(d,{key:"aaf086d23781690a4896645fda39c20e2f19a305",show:!this.hasError&&this.hasHelp},r("slot",{key:"702aef4ace48c81ebb3050ac64b4e4509b463980",name:"help"}))))}get variant(){const e=this.labelPosition?this.labelPosition.toLowerCase():"none";return`${this.input.getAttribute("type")}-${e}`}setInput(){this.input=m(this.root,'input[type="search"][slot="input"]'),this.hasContent=h(this.input),s(this.input),this.input.addEventListener("input",(()=>{this.hasContent=h(this.input)})),this.disabled=i(this.input),this.required=this.input.required,this.disabledObserver=n(this.input,(e=>{this.disabled=e})),this.requiredObserver=a(this.input,(e=>{this.required=e})),x(this.root,this.input)}setLabel(){this.label=this.root.querySelector('label[slot="label"]'),this.computedLabelPosition=b(this.label,this.labelPosition)}get root(){return t(this)}};(function(e,o,r,t){var i,n=arguments.length,l=n<3?o:null===t?t=Object.getOwnPropertyDescriptor(o,r):t;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)l=Reflect.decorate(e,o,r,t);else for(var a=e.length-1;a>=0;a--)(i=e[a])&&(l=(n<3?i(l):n>3?i(o,r,l):i(o,r))||l);n>3&&l&&Object.defineProperty(o,r,l)})([l({childList:!0,subtree:!0})],y.prototype,"onMutation",null),y.style='.gux-form-field-container{display:flex;flex-direction:column}.gux-form-field-container.gux-beside{flex-direction:row}.gux-character-counter{display:grid;grid-template-rows:auto auto auto;grid-template-columns:1fr 1fr}.gux-character-counter :nth-child(1){grid-row:1/2;grid-column:2/3}.gux-character-counter :nth-child(2){grid-row:1/2;grid-column:1/2}.gux-character-counter :nth-child(3){grid-row:2/3;grid-column:1/-1}.gux-character-counter :nth-child(4){grid-row:3/4;grid-column:1/-1}.gux-character-counter.gux-beside{grid-template-columns:min-content 1fr}.gux-character-counter.gux-beside :nth-child(1){grid-row:1/2;grid-column:1/-1}.gux-character-counter.gux-beside :nth-child(2){grid-row:2/3;grid-column:1/2}.gux-character-counter.gux-beside :nth-child(3){grid-row:2/3;grid-column:2/3}.gux-character-counter.gux-beside :nth-child(4){grid-row:3/4;grid-column:1/-1}.gux-form-field-error{display:none;flex-direction:row;flex-wrap:nowrap;gap:var(--gse-ui-formControl-helper-gap);place-content:stretch flex-start;padding:var(--gse-ui-formControl-helper-errorPadding);font-family:var(--gse-ui-formControl-helper-helperText-fontFamily);font-size:var(--gse-ui-formControl-helper-helperText-fontSize);line-height:var(--gse-ui-formControl-helper-helperText-lineHeight);color:var(--gse-ui-formControl-helper-errorColor)}.gux-form-field-error.gux-show{display:flex}.gux-form-field-error gux-icon{flex:0 0 auto;order:0;color:var(--gse-ui-formControl-helper-errorColor)}.gux-form-field-error .gux-message{flex:0 1 auto;align-self:auto;order:0}.gux-form-field-label{display:inline-flex;flex:1 0 auto}.gux-form-field-label ::slotted(label){min-inline-size:0}.gux-form-field-label ::slotted(gux-label-info-beta){padding-inline-start:var(--gse-ui-formControl-formField-gap)}.gux-form-field-label.gux-beside{position:relative;inset-block-start:var(--gse-ui-formControl-input-top);inline-size:fit-content;min-inline-size:var(--gse-ui-formControl-input-textfield-minWidth);max-inline-size:fit-content;margin-inline-end:var(--gse-ui-formControl-group-gapItems)}.gux-form-field-label.gux-above{padding-block-end:var(--gse-ui-formControl-formField-gap)}.gux-form-field-label.gux-screenreader{position:absolute;top:auto;left:-10000px;width:1px;height:1px;overflow:hidden}.gux-form-field-help{display:none;flex-direction:row;flex-wrap:nowrap;place-content:stretch flex-start;align-items:flex-start;justify-content:flex-start;padding-block-start:var(--gse-ui-formControl-formField-gap);font-family:var(--gse-ui-formControl-helper-helperText-fontFamily);font-size:var(--gse-ui-formControl-helper-helperText-fontSize);line-height:var(--gse-ui-formControl-helper-helperText-lineHeight);color:var(--gse-ui-formControl-helper-defaultColor)}.gux-form-field-help.gux-show{display:flex}.gux-form-field-help .gux-message{flex:0 1 auto;align-self:none;order:0}:host{display:block;flex:1 1 auto;min-inline-size:0}::slotted(label){font-family:var(--gse-ui-formControl-label-textBold-fontFamily);font-size:var(--gse-ui-formControl-label-textBold-fontSize);font-weight:var(--gse-ui-formControl-label-textBold-fontWeight);line-height:var(--gse-ui-formControl-label-textBold-lineHeight);color:var(--gse-ui-formControl-label-labelColor)}::slotted(input){flex:1 1 auto;align-self:auto;order:0;inline-size:100%;overflow:hidden;text-overflow:ellipsis;font-family:var(--gse-ui-formControl-input-contentText-fontFamily);font-size:var(--gse-ui-formControl-input-contentText-fontSize);font-weight:var(--gse-ui-formControl-input-contentText-fontWeight);line-height:var(--gse-ui-formControl-input-contentText-lineHeight);color:var(--gse-ui-formControl-input-populatedColor);outline:none;background-color:var(--gse-ui-formControl-input-backgroundColor);border:none}::slotted(input)::placeholder{color:var(--gse-ui-formControl-input-placeholderColor);opacity:1}.gux-input-and-error-container{flex-grow:1}.gux-input-and-error-container .gux-input{display:flex;flex-direction:row;flex-wrap:nowrap;align-content:stretch;align-items:center}.gux-input-and-error-container .gux-input .gux-input-container{box-sizing:border-box;display:flex;flex:1 1 auto;flex-direction:row;flex-wrap:nowrap;gap:var(--gse-ui-formControl-input-gap);place-content:stretch center;align-items:center;align-self:auto;order:0;inline-size:100%;block-size:var(--gse-ui-formControl-input-textfield-height);padding:var(--gse-ui-formControl-input-padding);font-family:var(--gse-ui-formControl-input-contentText-fontFamily);font-size:var(--gse-ui-formControl-input-contentText-fontSize);font-weight:var(--gse-ui-formControl-input-contentText-fontWeight);line-height:var(--gse-ui-formControl-input-contentText-lineHeight);color:var(--gse-ui-formControl-input-populatedColor);cursor:text;background-color:var(--gse-ui-formControl-input-backgroundColor);background-image:none;border:var(--gse-ui-formControl-input-default-border-width) var(--gse-ui-formControl-input-default-border-style) var(--gse-ui-formControl-input-default-border-color);border-radius:var(--gse-ui-formControl-input-borderRadius)}.gux-input-and-error-container .gux-input .gux-input-container.gux-disabled{cursor:default;opacity:var(--gse-ui-formControl-input-disabled-opacity)}.gux-input-and-error-container .gux-input .gux-input-container gux-icon[icon-name="fa/magnifying-glass-regular"]{flex:0 0 auto;align-self:auto;order:0;color:var(--gse-ui-formControl-input-inputIcon-defaultColor)}.gux-input-and-error-container .gux-input .gux-input-container:focus-within{outline:var(--gse-ui-formControl-input-focus-border-width) var(--gse-ui-formControl-input-focus-border-style) var(--gse-ui-formControl-input-focus-border-color);outline-offset:var(--gse-semantic-focusOutline-offset);border:var(--gse-ui-formControl-input-active-border-width) var(--gse-ui-formControl-input-active-border-style) var(--gse-ui-formControl-input-active-border-color);border-radius:var(--gse-ui-formControl-focusRing-borderRadius)}.gux-input-and-error-container .gux-input .gux-input-container:hover:not(.gux-disabled){border:var(--gse-ui-formControl-input-hover-border-width) var(--gse-ui-formControl-input-hover-border-style) var(--gse-ui-formControl-input-hover-border-color)}.gux-input-and-error-container .gux-input.gux-input-error .gux-input-container{border-color:var(--gse-ui-formControl-input-error-border-color)}';export{y as gux_form_field_search}
1
+ import{r as e,f as o,h as r,a as t}from"./p-OQnq_QVU.js";import{c as i,o as n}from"./p-Cb3FOYGS.js";import{O as l}from"./p-dnkpqym6.js";import{o as a}from"./p-De1NnCmO.js";import{p as s}from"./p-PYfNAK8p.js";import{h as u}from"./p-qzV3vtOw.js";import{G as f,a as d}from"./p-Dp8jWSrS.js";import{G as c,a as g}from"./p-DtyfCKSn.js";import{h,c as p,a as m,v as x,g as b}from"./p-D8ztWCZ3.js";import{t as v}from"./p-DKZuo64L.js";import{f as C}from"./p-JHLuJ8Pb.js";import"./p-D9jKBqIb.js";import"./p-DxtJDeL9.js";import"./p-BMRf5pjV.js";const y=class{constructor(o){e(this,o),this.indicatorMark="required",this.computedLabelPosition="above",this.clearable=!0,this.hasContent=!1,this.hasError=!1,this.hasHelp=!1}onMutation(){this.labelInfo=this.root.querySelector("[slot=label-info]"),this.hasError=u(this.root,"error"),this.hasHelp=u(this.root,"help")}handleKeyup(e){var o,r;switch(e.key){case"Tab":this.input.matches(":focus-visible")&&(null===(o=this.labelInfo)||void 0===o||o.showTooltip(),this.hideLabelInfoTimeout=setTimeout((()=>{var e;null===(e=this.labelInfo)||void 0===e||e.hideTooltip()}),6e3));break;case"Shift":break;default:this.input.matches(":focus-visible")&&(null===(r=this.labelInfo)||void 0===r||r.hideTooltip(),clearTimeout(this.hideLabelInfoTimeout))}}onFocusout(){var e;null===(e=this.labelInfo)||void 0===e||e.hideTooltip(),clearTimeout(this.hideLabelInfoTimeout)}async guxForceUpdate(){this.hasContent=h(this.input),this.hasError=u(this.root,"error"),this.hasHelp=u(this.root,"help"),o(this.root)}componentWillLoad(){this.setInput(),this.setLabel(),this.labelInfo=this.root.querySelector("[slot=label-info]"),this.hasError=u(this.root,"error"),this.hasHelp=u(this.root,"help"),v(this.root,{variant:this.variant})}connectedCallback(){this.hasError=u(this.root,"error"),this.hasHelp=u(this.root,"help")}disconnectedCallback(){this.disabledObserver&&this.disabledObserver.disconnect(),this.requiredObserver&&this.requiredObserver.disconnect()}render(){return r(g,{key:"ea704b5601012c7dbdfc59f90a609847b45a8057",labelPosition:this.computedLabelPosition},r(c,{key:"1c427d6ed78355a9a9405a229445627bec02043b",required:this.required,position:this.computedLabelPosition},r("slot",{key:"a2036e3dc213148d4a7d426720cee6b9e2c04751",name:"label",onSlotchange:()=>this.setLabel()}),r("gux-form-field-label-indicator",{key:"c74b55c7d34e894fc2da612fbdb8fcaf364ee894",variant:this.indicatorMark,required:this.required}),r("slot",{key:"8ca1bf2426adaa0846c2d640dfa8f50f0ecfc931",name:"label-info"})),r("div",{key:"067ae5c07dcf7aff20af735a9b4a02d33ae1495d",class:"gux-input-and-error-container"},r("div",{key:"5f00ec51b086d6948876b6be119b12b76dae9df3",class:{"gux-input":!0,"gux-input-error":this.hasError}},r("div",{key:"6ade0e834fe3d235f1e92d12fc961bd3249c69fc",class:{"gux-input-container":!0,"gux-disabled":this.disabled},onClick:()=>C(this.input)},r("gux-icon",{key:"d81a8f4aaeab8355da55acd932554095099f68bf","icon-name":"fa/magnifying-glass-regular",decorative:!0,size:"small"}),r("slot",{key:"bad4a4a9f563d6900233a6c0c767c77262340adf",name:"input"}),this.clearable&&this.hasContent&&!this.disabled&&r("gux-form-field-input-clear-button",{key:"84b737a6fe4588e9d71cb42ccb80a06420b062c9",onClick:()=>p(this.input)}))),r(f,{key:"041bfc02ab924c926e128f301ffff1986f95408a",show:this.hasError},r("slot",{key:"3537cef0b76d260ba4b84b88fa9e7b56e64985fa",name:"error"})),r(d,{key:"aaf086d23781690a4896645fda39c20e2f19a305",show:!this.hasError&&this.hasHelp},r("slot",{key:"702aef4ace48c81ebb3050ac64b4e4509b463980",name:"help"}))))}get variant(){const e=this.labelPosition?this.labelPosition.toLowerCase():"none";return`${this.input.getAttribute("type")}-${e}`}setInput(){this.input=m(this.root,'input[type="search"][slot="input"]'),this.hasContent=h(this.input),s(this.input),this.input.addEventListener("input",(()=>{this.hasContent=h(this.input)})),this.disabled=i(this.input),this.required=this.input.required,this.disabledObserver=n(this.input,(e=>{this.disabled=e})),this.requiredObserver=a(this.input,(e=>{this.required=e})),x(this.root,this.input)}setLabel(){this.label=this.root.querySelector('label[slot="label"]'),this.computedLabelPosition=b(this.label,this.labelPosition)}get root(){return t(this)}};(function(e,o,r,t){var i,n=arguments.length,l=n<3?o:null===t?t=Object.getOwnPropertyDescriptor(o,r):t;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)l=Reflect.decorate(e,o,r,t);else for(var a=e.length-1;a>=0;a--)(i=e[a])&&(l=(n<3?i(l):n>3?i(o,r,l):i(o,r))||l);n>3&&l&&Object.defineProperty(o,r,l)})([l({childList:!0,subtree:!0})],y.prototype,"onMutation",null),y.style='.gux-form-field-container{display:flex;flex-direction:column}.gux-form-field-container.gux-beside{flex-direction:row}.gux-character-counter{display:grid;grid-template-rows:auto auto auto;grid-template-columns:1fr 1fr}.gux-character-counter :nth-child(1){grid-row:1/2;grid-column:2/3}.gux-character-counter :nth-child(2){grid-row:1/2;grid-column:1/2}.gux-character-counter :nth-child(3){grid-row:2/3;grid-column:1/-1}.gux-character-counter :nth-child(4){grid-row:3/4;grid-column:1/-1}.gux-character-counter.gux-beside{grid-template-columns:min-content 1fr}.gux-character-counter.gux-beside :nth-child(1){grid-row:1/2;grid-column:1/-1}.gux-character-counter.gux-beside :nth-child(2){grid-row:2/3;grid-column:1/2}.gux-character-counter.gux-beside :nth-child(3){grid-row:2/3;grid-column:2/3}.gux-character-counter.gux-beside :nth-child(4){grid-row:3/4;grid-column:1/-1}.gux-form-field-error{display:none;flex-direction:row;flex-wrap:nowrap;gap:var(--gse-ui-formControl-helper-gap);place-content:stretch flex-start;padding:var(--gse-ui-formControl-helper-errorPadding);font-family:var(--gse-ui-formControl-helper-helperText-fontFamily);font-size:var(--gse-ui-formControl-helper-helperText-fontSize);line-height:var(--gse-ui-formControl-helper-helperText-lineHeight);color:var(--gse-ui-formControl-helper-errorColor)}.gux-form-field-error.gux-show{display:flex}.gux-form-field-error gux-icon{flex:0 0 auto;order:0;color:var(--gse-ui-formControl-helper-errorColor)}.gux-form-field-error .gux-message{flex:0 1 auto;align-self:auto;order:0}.gux-form-field-label{display:inline-flex;flex:1 0 auto}.gux-form-field-label ::slotted(label){min-inline-size:0}.gux-form-field-label ::slotted(gux-label-info-beta){padding-inline-start:var(--gse-ui-formControl-formField-gap)}.gux-form-field-label.gux-beside{position:relative;inset-block-start:var(--gse-ui-formControl-input-top);inline-size:fit-content;min-inline-size:var(--gse-ui-formControl-input-textfield-minWidth);max-inline-size:fit-content;margin-inline-end:var(--gse-ui-formControl-group-gapItems)}.gux-form-field-label.gux-above{padding-block-end:var(--gse-ui-formControl-formField-gap)}.gux-form-field-label.gux-screenreader{position:absolute;top:auto;left:-10000px;width:1px;height:1px;overflow:hidden}.gux-form-field-help{display:none;flex-direction:row;flex-wrap:nowrap;place-content:stretch flex-start;align-items:flex-start;justify-content:flex-start;padding-block-start:var(--gse-ui-formControl-formField-gap);font-family:var(--gse-ui-formControl-helper-helperText-fontFamily);font-size:var(--gse-ui-formControl-helper-helperText-fontSize);line-height:var(--gse-ui-formControl-helper-helperText-lineHeight);color:var(--gse-ui-formControl-helper-defaultColor)}.gux-form-field-help.gux-show{display:flex}.gux-form-field-help .gux-message{flex:0 1 auto;align-self:none;order:0}:host{display:block;flex:1 1 auto;min-inline-size:0}::slotted(label){font-family:var(--gse-ui-formControl-label-textBold-fontFamily);font-size:var(--gse-ui-formControl-label-textBold-fontSize);font-weight:var(--gse-ui-formControl-label-textBold-fontWeight);line-height:var(--gse-ui-formControl-label-textBold-lineHeight);color:var(--gse-ui-formControl-label-labelColor)}::slotted(input){flex:1 1 auto;align-self:auto;order:0;inline-size:100%;overflow:hidden;text-overflow:ellipsis;font-family:var(--gse-ui-formControl-input-contentText-fontFamily);font-size:var(--gse-ui-formControl-input-contentText-fontSize);font-weight:var(--gse-ui-formControl-input-contentText-fontWeight);line-height:var(--gse-ui-formControl-input-contentText-lineHeight);color:var(--gse-ui-formControl-input-populatedColor);outline:none;background-color:var(--gse-ui-formControl-input-backgroundColor);border:none}::slotted(input)::placeholder{color:var(--gse-ui-formControl-input-placeholderColor);opacity:1}.gux-input-and-error-container{flex-grow:1}.gux-input-and-error-container .gux-input{display:flex;flex-direction:row;flex-wrap:nowrap;align-content:stretch;align-items:center}.gux-input-and-error-container .gux-input .gux-input-container{box-sizing:border-box;display:flex;flex:1 1 auto;flex-direction:row;flex-wrap:nowrap;gap:var(--gse-ui-formControl-input-gap);place-content:stretch center;align-items:center;align-self:auto;order:0;inline-size:100%;block-size:var(--gse-ui-formControl-input-textfield-height);padding:var(--gse-ui-formControl-input-padding);font-family:var(--gse-ui-formControl-input-contentText-fontFamily);font-size:var(--gse-ui-formControl-input-contentText-fontSize);font-weight:var(--gse-ui-formControl-input-contentText-fontWeight);line-height:var(--gse-ui-formControl-input-contentText-lineHeight);color:var(--gse-ui-formControl-input-populatedColor);cursor:text;background-color:var(--gse-ui-formControl-input-backgroundColor);background-image:none;border:var(--gse-ui-formControl-input-default-border-width) var(--gse-ui-formControl-input-default-border-style) var(--gse-ui-formControl-input-default-border-color);border-radius:var(--gse-ui-formControl-input-borderRadius)}.gux-input-and-error-container .gux-input .gux-input-container.gux-disabled{cursor:default;opacity:var(--gse-ui-formControl-input-disabled-opacity)}.gux-input-and-error-container .gux-input .gux-input-container gux-icon[icon-name="fa/magnifying-glass-regular"]{flex:0 0 auto;align-self:auto;order:0;color:var(--gse-ui-formControl-input-inputIcon-defaultColor)}.gux-input-and-error-container .gux-input .gux-input-container:focus-within{outline:var(--gse-ui-formControl-input-focus-border-width) var(--gse-ui-formControl-input-focus-border-style) var(--gse-ui-formControl-input-focus-border-color);outline-offset:var(--gse-semantic-focusOutline-offset);border:var(--gse-ui-formControl-input-active-border-width) var(--gse-ui-formControl-input-active-border-style) var(--gse-ui-formControl-input-active-border-color);border-radius:var(--gse-ui-formControl-focusRing-borderRadius)}.gux-input-and-error-container .gux-input .gux-input-container:hover:not(.gux-disabled){border:var(--gse-ui-formControl-input-hover-border-width) var(--gse-ui-formControl-input-hover-border-style) var(--gse-ui-formControl-input-hover-border-color)}.gux-input-and-error-container .gux-input.gux-input-error .gux-input-container{border-color:var(--gse-ui-formControl-input-error-border-color)}';export{y as gux_form_field_search}
@@ -1 +1 @@
1
- import{r as e,h as t,a as r}from"./p-OQnq_QVU.js";import{O as o}from"./p-dnkpqym6.js";import{h as i}from"./p-qzV3vtOw.js";import{t as l}from"./p-Bblleze_.js";import{G as a,a as n}from"./p-Dp8jWSrS.js";import{G as s,a as f}from"./p-DtyfCKSn.js";import{g as h,a as d,v as u}from"./p-D8ztWCZ3.js";import{p as c}from"./p-PYfNAK8p.js";import{o as g}from"./p-De1NnCmO.js";import"./p-D9jKBqIb.js";import"./p-DxtJDeL9.js";import"./p-BMRf5pjV.js";const m=class{constructor(t){e(this,t),this.indicatorMark="required",this.computedLabelPosition="above",this.hasError=!1,this.hasHelp=!1,this.required=!1}onMutation(){this.labelInfo=this.root.querySelector("[slot=label-info]"),this.hasError=i(this.root,"error"),this.hasHelp=i(this.root,"help")}handleKeyup(e){var t,r;switch(e.key){case"Tab":this.input.matches(":focus-visible")&&(null===(t=this.labelInfo)||void 0===t||t.showTooltip(),this.hideLabelInfoTimeout=setTimeout((()=>{var e;null===(e=this.labelInfo)||void 0===e||e.hideTooltip()}),6e3));break;case"Shift":break;default:this.input.matches(":focus-visible")&&(null===(r=this.labelInfo)||void 0===r||r.hideTooltip(),clearTimeout(this.hideLabelInfoTimeout))}}onFocusout(){var e;null===(e=this.labelInfo)||void 0===e||e.hideTooltip(),clearTimeout(this.hideLabelInfoTimeout)}componentWillLoad(){this.setInput(),this.setLabel(),this.hasError=i(this.root,"error"),this.hasHelp=i(this.root,"help"),this.labelInfo=this.root.querySelector("[slot=label-info]"),l(this.root,{variant:this.variant})}connectedCallback(){this.hasError=i(this.root,"error"),this.hasHelp=i(this.root,"help")}disconnectedCallback(){this.requiredObserver&&this.requiredObserver.disconnect()}setLabel(){this.label=this.root.querySelector('label[slot="label"]'),this.computedLabelPosition=h(this.label,this.labelPosition)}setInput(){this.input=d(this.root,'input[type="file"][slot="input"]'),c(this.input),this.required=this.input.required,this.requiredObserver=g(this.input,(e=>{this.required=e})),u(this.root,this.input)}get variant(){return`fileInput-${this.labelPosition?this.labelPosition.toLowerCase():"none"}`}render(){return t(f,{key:"a664d13914ec436e71584eccfd461a71c5caa930",labelPosition:this.computedLabelPosition},t(s,{key:"cfab783cd96bb56b083cc41deb33aeec3164aa3b",position:this.computedLabelPosition,required:this.required},t("slot",{key:"bbef67c979e9f1f7b76433fba0b915eb79b347ef",name:"label",onSlotchange:()=>this.setLabel()}),t("gux-form-field-label-indicator",{key:"6a32469d6a60f51a3f7717ca972add8640f1e713",variant:this.indicatorMark,required:this.required}),t("slot",{key:"bc7bfc01db1e9e20486f73fe11db01b56ad06138",name:"label-info"})),t("div",{key:"06dd5e02c5fb499475a32487c7538ba97ec2fd44",class:"gux-input-and-error-container"},t("slot",{key:"4b4848e4958f89faa6ec9b5158c3788a68d3abd8",name:"input",onSlotchange:()=>this.setInput()}),t(a,{key:"18f5f72e699fc5515959dde4c162bdef3e0538f2",show:this.hasError},t("slot",{key:"dff54c8318d42151a929154e7d2beab6a30c41b0",name:"error"})),t(n,{key:"22a66f45276ebda2bd6191615281e7e9a0f6b095",show:!this.hasError&&this.hasHelp},t("slot",{key:"30f42a1d64f5562963340a38e76faa3618b141c4",name:"help"}))))}get root(){return r(this)}};(function(e,t,r,o){var i,l=arguments.length,a=l<3?t:null===o?o=Object.getOwnPropertyDescriptor(t,r):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(e,t,r,o);else for(var n=e.length-1;n>=0;n--)(i=e[n])&&(a=(l<3?i(a):l>3?i(t,r,a):i(t,r))||a);l>3&&a&&Object.defineProperty(t,r,a)})([o({childList:!0,subtree:!0})],m.prototype,"onMutation",null),m.style=".gux-form-field-container{display:flex;flex-direction:column}.gux-form-field-container.gux-beside{flex-direction:row}.gux-character-counter{display:grid;grid-template-rows:auto auto auto;grid-template-columns:1fr 1fr}.gux-character-counter :nth-child(1){grid-row:1/2;grid-column:2/3}.gux-character-counter :nth-child(2){grid-row:1/2;grid-column:1/2}.gux-character-counter :nth-child(3){grid-row:2/3;grid-column:1/-1}.gux-character-counter :nth-child(4){grid-row:3/4;grid-column:1/-1}.gux-character-counter.gux-beside{grid-template-columns:min-content 1fr}.gux-character-counter.gux-beside :nth-child(1){grid-row:1/2;grid-column:1/-1}.gux-character-counter.gux-beside :nth-child(2){grid-row:2/3;grid-column:1/2}.gux-character-counter.gux-beside :nth-child(3){grid-row:2/3;grid-column:2/3}.gux-character-counter.gux-beside :nth-child(4){grid-row:3/4;grid-column:1/-1}.gux-form-field-error{display:none;flex-direction:row;flex-wrap:nowrap;gap:var(--gse-ui-formControl-helper-gap);place-content:stretch flex-start;padding:var(--gse-ui-formControl-helper-errorPadding);font-family:var(--gse-ui-formControl-helper-helperText-fontFamily);font-size:var(--gse-ui-formControl-helper-helperText-fontSize);line-height:var(--gse-ui-formControl-helper-helperText-lineHeight);color:var(--gse-ui-formControl-helper-errorColor)}.gux-form-field-error.gux-show{display:flex}.gux-form-field-error gux-icon{flex:0 0 auto;order:0;color:var(--gse-ui-formControl-helper-errorColor)}.gux-form-field-error .gux-message{flex:0 1 auto;align-self:auto;order:0}.gux-form-field-label{display:inline-flex;flex:1 0 auto}.gux-form-field-label ::slotted(label){min-inline-size:0}.gux-form-field-label ::slotted(gux-label-info-beta){padding-inline-start:var(--gse-ui-formControl-formField-gap)}.gux-form-field-label.gux-beside{position:relative;inset-block-start:var(--gse-ui-formControl-input-top);inline-size:fit-content;min-inline-size:var(--gse-ui-formControl-input-textfield-minWidth);max-inline-size:fit-content;margin-inline-end:var(--gse-ui-formControl-group-gapItems)}.gux-form-field-label.gux-above{padding-block-end:var(--gse-ui-formControl-formField-gap)}.gux-form-field-label.gux-screenreader{position:absolute;top:auto;left:-10000px;width:1px;height:1px;overflow:hidden}.gux-form-field-help{display:none;flex-direction:row;flex-wrap:nowrap;place-content:stretch flex-start;align-items:flex-start;justify-content:flex-start;padding-block-start:var(--gse-ui-formControl-formField-gap);font-family:var(--gse-ui-formControl-helper-helperText-fontFamily);font-size:var(--gse-ui-formControl-helper-helperText-fontSize);line-height:var(--gse-ui-formControl-helper-helperText-lineHeight);color:var(--gse-ui-formControl-helper-defaultColor)}.gux-form-field-help.gux-show{display:flex}.gux-form-field-help .gux-message{flex:0 1 auto;align-self:none;order:0}:host{display:block;flex:1 1 auto;min-inline-size:0}::slotted(label){font-family:var(--gse-ui-formControl-label-textBold-fontFamily);font-size:var(--gse-ui-formControl-label-textBold-fontSize);font-weight:var(--gse-ui-formControl-label-textBold-fontWeight);line-height:var(--gse-ui-formControl-label-textBold-lineHeight);color:var(--gse-ui-formControl-label-labelColor)}.gux-input-and-error-container{flex-grow:1}";export{m as gux_form_field_file}
1
+ import{r as e,h as t,a as r}from"./p-OQnq_QVU.js";import{O as o}from"./p-dnkpqym6.js";import{h as i}from"./p-qzV3vtOw.js";import{t as l}from"./p-DKZuo64L.js";import{G as a,a as n}from"./p-Dp8jWSrS.js";import{G as s,a as f}from"./p-DtyfCKSn.js";import{g as h,a as d,v as u}from"./p-D8ztWCZ3.js";import{p as c}from"./p-PYfNAK8p.js";import{o as g}from"./p-De1NnCmO.js";import"./p-D9jKBqIb.js";import"./p-DxtJDeL9.js";import"./p-BMRf5pjV.js";const m=class{constructor(t){e(this,t),this.indicatorMark="required",this.computedLabelPosition="above",this.hasError=!1,this.hasHelp=!1,this.required=!1}onMutation(){this.labelInfo=this.root.querySelector("[slot=label-info]"),this.hasError=i(this.root,"error"),this.hasHelp=i(this.root,"help")}handleKeyup(e){var t,r;switch(e.key){case"Tab":this.input.matches(":focus-visible")&&(null===(t=this.labelInfo)||void 0===t||t.showTooltip(),this.hideLabelInfoTimeout=setTimeout((()=>{var e;null===(e=this.labelInfo)||void 0===e||e.hideTooltip()}),6e3));break;case"Shift":break;default:this.input.matches(":focus-visible")&&(null===(r=this.labelInfo)||void 0===r||r.hideTooltip(),clearTimeout(this.hideLabelInfoTimeout))}}onFocusout(){var e;null===(e=this.labelInfo)||void 0===e||e.hideTooltip(),clearTimeout(this.hideLabelInfoTimeout)}componentWillLoad(){this.setInput(),this.setLabel(),this.hasError=i(this.root,"error"),this.hasHelp=i(this.root,"help"),this.labelInfo=this.root.querySelector("[slot=label-info]"),l(this.root,{variant:this.variant})}connectedCallback(){this.hasError=i(this.root,"error"),this.hasHelp=i(this.root,"help")}disconnectedCallback(){this.requiredObserver&&this.requiredObserver.disconnect()}setLabel(){this.label=this.root.querySelector('label[slot="label"]'),this.computedLabelPosition=h(this.label,this.labelPosition)}setInput(){this.input=d(this.root,'input[type="file"][slot="input"]'),c(this.input),this.required=this.input.required,this.requiredObserver=g(this.input,(e=>{this.required=e})),u(this.root,this.input)}get variant(){return`fileInput-${this.labelPosition?this.labelPosition.toLowerCase():"none"}`}render(){return t(f,{key:"a664d13914ec436e71584eccfd461a71c5caa930",labelPosition:this.computedLabelPosition},t(s,{key:"cfab783cd96bb56b083cc41deb33aeec3164aa3b",position:this.computedLabelPosition,required:this.required},t("slot",{key:"bbef67c979e9f1f7b76433fba0b915eb79b347ef",name:"label",onSlotchange:()=>this.setLabel()}),t("gux-form-field-label-indicator",{key:"6a32469d6a60f51a3f7717ca972add8640f1e713",variant:this.indicatorMark,required:this.required}),t("slot",{key:"bc7bfc01db1e9e20486f73fe11db01b56ad06138",name:"label-info"})),t("div",{key:"06dd5e02c5fb499475a32487c7538ba97ec2fd44",class:"gux-input-and-error-container"},t("slot",{key:"4b4848e4958f89faa6ec9b5158c3788a68d3abd8",name:"input",onSlotchange:()=>this.setInput()}),t(a,{key:"18f5f72e699fc5515959dde4c162bdef3e0538f2",show:this.hasError},t("slot",{key:"dff54c8318d42151a929154e7d2beab6a30c41b0",name:"error"})),t(n,{key:"22a66f45276ebda2bd6191615281e7e9a0f6b095",show:!this.hasError&&this.hasHelp},t("slot",{key:"30f42a1d64f5562963340a38e76faa3618b141c4",name:"help"}))))}get root(){return r(this)}};(function(e,t,r,o){var i,l=arguments.length,a=l<3?t:null===o?o=Object.getOwnPropertyDescriptor(t,r):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(e,t,r,o);else for(var n=e.length-1;n>=0;n--)(i=e[n])&&(a=(l<3?i(a):l>3?i(t,r,a):i(t,r))||a);l>3&&a&&Object.defineProperty(t,r,a)})([o({childList:!0,subtree:!0})],m.prototype,"onMutation",null),m.style=".gux-form-field-container{display:flex;flex-direction:column}.gux-form-field-container.gux-beside{flex-direction:row}.gux-character-counter{display:grid;grid-template-rows:auto auto auto;grid-template-columns:1fr 1fr}.gux-character-counter :nth-child(1){grid-row:1/2;grid-column:2/3}.gux-character-counter :nth-child(2){grid-row:1/2;grid-column:1/2}.gux-character-counter :nth-child(3){grid-row:2/3;grid-column:1/-1}.gux-character-counter :nth-child(4){grid-row:3/4;grid-column:1/-1}.gux-character-counter.gux-beside{grid-template-columns:min-content 1fr}.gux-character-counter.gux-beside :nth-child(1){grid-row:1/2;grid-column:1/-1}.gux-character-counter.gux-beside :nth-child(2){grid-row:2/3;grid-column:1/2}.gux-character-counter.gux-beside :nth-child(3){grid-row:2/3;grid-column:2/3}.gux-character-counter.gux-beside :nth-child(4){grid-row:3/4;grid-column:1/-1}.gux-form-field-error{display:none;flex-direction:row;flex-wrap:nowrap;gap:var(--gse-ui-formControl-helper-gap);place-content:stretch flex-start;padding:var(--gse-ui-formControl-helper-errorPadding);font-family:var(--gse-ui-formControl-helper-helperText-fontFamily);font-size:var(--gse-ui-formControl-helper-helperText-fontSize);line-height:var(--gse-ui-formControl-helper-helperText-lineHeight);color:var(--gse-ui-formControl-helper-errorColor)}.gux-form-field-error.gux-show{display:flex}.gux-form-field-error gux-icon{flex:0 0 auto;order:0;color:var(--gse-ui-formControl-helper-errorColor)}.gux-form-field-error .gux-message{flex:0 1 auto;align-self:auto;order:0}.gux-form-field-label{display:inline-flex;flex:1 0 auto}.gux-form-field-label ::slotted(label){min-inline-size:0}.gux-form-field-label ::slotted(gux-label-info-beta){padding-inline-start:var(--gse-ui-formControl-formField-gap)}.gux-form-field-label.gux-beside{position:relative;inset-block-start:var(--gse-ui-formControl-input-top);inline-size:fit-content;min-inline-size:var(--gse-ui-formControl-input-textfield-minWidth);max-inline-size:fit-content;margin-inline-end:var(--gse-ui-formControl-group-gapItems)}.gux-form-field-label.gux-above{padding-block-end:var(--gse-ui-formControl-formField-gap)}.gux-form-field-label.gux-screenreader{position:absolute;top:auto;left:-10000px;width:1px;height:1px;overflow:hidden}.gux-form-field-help{display:none;flex-direction:row;flex-wrap:nowrap;place-content:stretch flex-start;align-items:flex-start;justify-content:flex-start;padding-block-start:var(--gse-ui-formControl-formField-gap);font-family:var(--gse-ui-formControl-helper-helperText-fontFamily);font-size:var(--gse-ui-formControl-helper-helperText-fontSize);line-height:var(--gse-ui-formControl-helper-helperText-lineHeight);color:var(--gse-ui-formControl-helper-defaultColor)}.gux-form-field-help.gux-show{display:flex}.gux-form-field-help .gux-message{flex:0 1 auto;align-self:none;order:0}:host{display:block;flex:1 1 auto;min-inline-size:0}::slotted(label){font-family:var(--gse-ui-formControl-label-textBold-fontFamily);font-size:var(--gse-ui-formControl-label-textBold-fontSize);font-weight:var(--gse-ui-formControl-label-textBold-fontWeight);line-height:var(--gse-ui-formControl-label-textBold-lineHeight);color:var(--gse-ui-formControl-label-labelColor)}.gux-input-and-error-container{flex-grow:1}";export{m as gux_form_field_file}
@@ -1 +1 @@
1
- import{r as e,h as a,a as i}from"./p-OQnq_QVU.js";import{t}from"./p-Bblleze_.js";const l=class{constructor(a){e(this,a),this.level=1,this.size="default"}componentWillLoad(){t(this.root),this.headingTag=`h${this.level}`}render(){return a(this.headingTag,{key:"8c29dd8f594c91a0765e0b330d46a9ce5ea18347",class:this.size},a("gux-truncate",{key:"fc5c12618f6fd40ba8bd184e85367e89c2fcc064"},a("slot",{key:"4cb41caa94e2e5b6d8d8a8ebff3a3cfa55a753a9"})))}get root(){return i(this)}};l.style=":host{display:block}h1,h2,h3,h4,h5,h6{display:flex;flex:0 0 auto;gap:var(--gse-ui-sidePanel-header-iconGap);align-items:center;inline-size:100%;padding:0;margin:0;color:var(--gse-ui-sidePanel-headerColor)}h1.default,h2.default,h3.default,h4.default,h5.default,h6.default{font-family:var(--gse-ui-sidePanel-heading-mdText-fontFamily);font-size:var(--gse-ui-sidePanel-heading-mdText-fontSize);font-weight:var(--gse-ui-sidePanel-heading-mdText-fontWeight);line-height:var(--gse-ui-sidePanel-heading-mdText-lineHeight)}h1.large,h2.large,h3.large,h4.large,h5.large,h6.large{font-family:var(--gse-ui-sidePanel-heading-lgText-fontFamily);font-size:var(--gse-ui-sidePanel-heading-lgText-fontSize);font-weight:var(--gse-ui-sidePanel-heading-lgText-fontWeight);line-height:var(--gse-ui-sidePanel-heading-lgText-lineHeight)}";export{l as gux_side_panel_heading}
1
+ import{r as e,h as a,a as i}from"./p-OQnq_QVU.js";import{t}from"./p-DKZuo64L.js";const n=class{constructor(a){e(this,a),this.level=1,this.size="default"}componentWillLoad(){t(this.root),this.headingTag=`h${this.level}`}render(){return a(this.headingTag,{key:"8c29dd8f594c91a0765e0b330d46a9ce5ea18347",class:this.size},a("gux-truncate",{key:"fc5c12618f6fd40ba8bd184e85367e89c2fcc064"},a("slot",{key:"4cb41caa94e2e5b6d8d8a8ebff3a3cfa55a753a9"})))}get root(){return i(this)}};n.style=":host{display:block}h1,h2,h3,h4,h5,h6{display:flex;flex:0 0 auto;gap:var(--gse-ui-sidePanel-header-iconGap);align-items:center;inline-size:100%;padding:0;margin:0;color:var(--gse-ui-sidePanel-headerColor)}h1.default,h2.default,h3.default,h4.default,h5.default,h6.default{font-family:var(--gse-ui-sidePanel-heading-mdText-fontFamily);font-size:var(--gse-ui-sidePanel-heading-mdText-fontSize);font-weight:var(--gse-ui-sidePanel-heading-mdText-fontWeight);line-height:var(--gse-ui-sidePanel-heading-mdText-lineHeight)}h1.large,h2.large,h3.large,h4.large,h5.large,h6.large{font-family:var(--gse-ui-sidePanel-heading-lgText-fontFamily);font-size:var(--gse-ui-sidePanel-heading-lgText-fontSize);font-weight:var(--gse-ui-sidePanel-heading-lgText-fontWeight);line-height:var(--gse-ui-sidePanel-heading-lgText-lineHeight)}";export{n as gux_side_panel_heading}
@@ -1 +1 @@
1
- import{r as o,c as a,h as i,a as t}from"./p-OQnq_QVU.js";import{r as e}from"./p-D9jKBqIb.js";import{t as n}from"./p-Bblleze_.js";import{h as s}from"./p-qzV3vtOw.js";const d=class{constructor(i){o(this,i),this.guxdismiss=a(this,"guxdismiss",7),this.size="dynamic",this.open=!1,this.overlayDismiss=!1}syncOpenState(){this.open?this.dialogElement.showModal():this.dialogElement.close()}async showModal(){this.open=!0}async close(){this.open=!1}onKeydown(o){if("Escape"===o.key)return o.stopPropagation(),o.preventDefault(),void this.onDismissHandler()}componentWillLoad(){n(this.root,{variant:`${this.size}`})}componentDidLoad(){this.syncOpenState()}hasModalTitleSlot(){return Boolean(this.root.querySelector('[slot="title"]'))}hasFooterButtons(){var o,a;const i=this.root.querySelector('[slot="start-align-buttons"]'),t=this.root.querySelector('[slot="end-align-buttons"]');return Boolean(null===(o=null==i?void 0:i.textContent)||void 0===o?void 0:o.trim())||Boolean(null===(a=null==t?void 0:t.textContent)||void 0===a?void 0:a.trim())}renderFooter(){return s(this.root,"footer")?i("footer",null,i("slot",{name:"footer"})):this.renderButtonFooter()}render(){const o=this.hasModalTitleSlot(),a=e();return i("dialog",{key:"a634facde4a5721618ab0f8b3cc219eeec8fcf43",onClick:this.onDialogClick.bind(this),onClose:this.onCloseHandler.bind(this),ref:o=>this.dialogElement=o,"aria-labelledby":o?a:null},i("div",{key:"55d5441139995a7d2ddd47691f37a396b9b0013f",class:`gux-modal-container gux-${this.size}`},i("gux-dismiss-button",{key:"6d0f428fe4a9a939788492a4981564097c26b9d8",onClick:this.onDismissHandler.bind(this)}),o&&this.renderTitle(a),i("div",{key:"8971b8357579cab117dec62bd19b5c4f9ead2333",class:"gux-modal-content"},i("p",{key:"c9793b4ed0c335aaf1d9d0cb23419922add91608"},i("slot",{key:"0a853cb6fdf648d7775f63b7d91589417e3fa103",name:"content"}))),this.renderFooter()))}renderTitle(o){return i("h1",{class:"gux-modal-header",id:o},i("slot",{name:"title"}))}renderButtonFooter(){const o=this.hasFooterButtons();return i("div",{class:{"gux-button-footer":!0,"gux-no-buttons":!o}},i("div",{class:"gux-start-align-buttons"},i("slot",{name:"start-align-buttons"})),i("div",{class:"gux-end-align-buttons"},i("slot",{name:"end-align-buttons"})))}onCloseHandler(){this.guxdismiss.emit()}onDismissHandler(){this.open=!1}onDialogClick(o){this.overlayDismiss&&o.target===this.dialogElement&&this.onDismissHandler()}static get delegatesFocus(){return!0}get root(){return t(this)}static get watchers(){return{open:[{syncOpenState:0}]}}};d.style="::slotted(button:active:enabled){color:var(--gse-ui-links-active-foregroundColor);text-decoration:underline;background:none}slot[name=start-align-buttons]::slotted(:not(button,gux-button-slot)){display:flex;flex-direction:row;gap:var(--gse-ui-modal-buttonBar-gap);align-content:flex-start;align-items:center}:host dialog{box-sizing:border-box;justify-content:space-between;padding:0;overflow:hidden;background-color:var(--gse-ui-modal-backgroundColor);border:none;border-radius:var(--gse-ui-modal-borderRadius);box-shadow:var(--gse-ui-modal-boxShadow)}:host dialog::backdrop{background:var(--gse-ui-modal-shroudColor)}:host dialog .gux-modal-container{display:flex;flex-direction:column}:host dialog .gux-modal-container.gux-small{inline-size:var(--gse-ui-modal-small-width);max-block-size:min(368px, 100vh - 2 * 24px)}:host dialog .gux-modal-container.gux-medium{inline-size:min(var(--gse-ui-modal-medium-width), 100vw - 48px);max-block-size:min(640px, 100vh - 2 * 24px)}:host dialog .gux-modal-container.gux-large{inline-size:min(var(--gse-ui-modal-large-width), 100vw - 48px);max-block-size:min(640px, 100vh - 2 * 24px)}:host dialog .gux-modal-container.gux-dynamic{max-inline-size:calc(100vw - 48px);max-block-size:calc(100vh - 48px)}:host dialog .gux-modal-container.gux-dynamic .gux-modal-content{max-block-size:none}:host dialog .gux-modal-container .gux-modal-header{padding-block-start:var(--gse-ui-modal-padding);padding-inline:var(--gse-ui-modal-padding);margin:0;font-family:var(--gse-ui-modal-heading-fontFamily);font-size:var(--gse-ui-modal-heading-fontSize);font-weight:var(--gse-ui-modal-heading-fontWeight);line-height:var(--gse-ui-modal-heading-lineHeight);color:var(--gse-ui-modal-headerColor)}:host dialog .gux-modal-container .gux-modal-content{max-block-size:432px;padding-inline:var(--gse-ui-modal-padding);margin-block-start:var(--gse-ui-modal-gap);overflow-y:auto;color:var(--gse-semantic-foreground-container-highEmphasis)}:host dialog .gux-modal-container .gux-button-footer{display:flex;justify-content:space-between;padding-block-end:var(--gse-ui-modal-padding);padding-inline:var(--gse-ui-modal-padding);margin-block-start:var(--gse-ui-modal-gap)}:host dialog .gux-modal-container .gux-button-footer.gux-no-buttons{display:none}:host dialog .gux-modal-container footer{padding-block-end:var(--gse-ui-modal-padding);padding-inline:var(--gse-ui-modal-padding);margin-block-start:var(--gse-ui-modal-gap)}@media (max-width: 416px){:host dialog .gux-modal-container.gux-small,:host dialog .gux-modal-container.gux-medium,:host dialog .gux-modal-container.gux-large{inline-size:100%;block-size:100%}}";export{d as gux_modal}
1
+ import{r as o,c as a,h as i,a as t}from"./p-OQnq_QVU.js";import{r as n}from"./p-D9jKBqIb.js";import{t as e}from"./p-DKZuo64L.js";import{h as s}from"./p-qzV3vtOw.js";const d=class{constructor(i){o(this,i),this.guxdismiss=a(this,"guxdismiss",7),this.size="dynamic",this.open=!1,this.overlayDismiss=!1}syncOpenState(){this.open?this.dialogElement.showModal():this.dialogElement.close()}async showModal(){this.open=!0}async close(){this.open=!1}onKeydown(o){if("Escape"===o.key)return o.stopPropagation(),o.preventDefault(),void this.onDismissHandler()}componentWillLoad(){e(this.root,{variant:`${this.size}`})}componentDidLoad(){this.syncOpenState()}hasModalTitleSlot(){return Boolean(this.root.querySelector('[slot="title"]'))}hasFooterButtons(){var o,a;const i=this.root.querySelector('[slot="start-align-buttons"]'),t=this.root.querySelector('[slot="end-align-buttons"]');return Boolean(null===(o=null==i?void 0:i.textContent)||void 0===o?void 0:o.trim())||Boolean(null===(a=null==t?void 0:t.textContent)||void 0===a?void 0:a.trim())}renderFooter(){return s(this.root,"footer")?i("footer",null,i("slot",{name:"footer"})):this.renderButtonFooter()}render(){const o=this.hasModalTitleSlot(),a=n();return i("dialog",{key:"a634facde4a5721618ab0f8b3cc219eeec8fcf43",onClick:this.onDialogClick.bind(this),onClose:this.onCloseHandler.bind(this),ref:o=>this.dialogElement=o,"aria-labelledby":o?a:null},i("div",{key:"55d5441139995a7d2ddd47691f37a396b9b0013f",class:`gux-modal-container gux-${this.size}`},i("gux-dismiss-button",{key:"6d0f428fe4a9a939788492a4981564097c26b9d8",onClick:this.onDismissHandler.bind(this)}),o&&this.renderTitle(a),i("div",{key:"8971b8357579cab117dec62bd19b5c4f9ead2333",class:"gux-modal-content"},i("p",{key:"c9793b4ed0c335aaf1d9d0cb23419922add91608"},i("slot",{key:"0a853cb6fdf648d7775f63b7d91589417e3fa103",name:"content"}))),this.renderFooter()))}renderTitle(o){return i("h1",{class:"gux-modal-header",id:o},i("slot",{name:"title"}))}renderButtonFooter(){const o=this.hasFooterButtons();return i("div",{class:{"gux-button-footer":!0,"gux-no-buttons":!o}},i("div",{class:"gux-start-align-buttons"},i("slot",{name:"start-align-buttons"})),i("div",{class:"gux-end-align-buttons"},i("slot",{name:"end-align-buttons"})))}onCloseHandler(){this.guxdismiss.emit()}onDismissHandler(){this.open=!1}onDialogClick(o){this.overlayDismiss&&o.target===this.dialogElement&&this.onDismissHandler()}static get delegatesFocus(){return!0}get root(){return t(this)}static get watchers(){return{open:[{syncOpenState:0}]}}};d.style="::slotted(button:active:enabled){color:var(--gse-ui-links-active-foregroundColor);text-decoration:underline;background:none}slot[name=start-align-buttons]::slotted(:not(button,gux-button-slot)){display:flex;flex-direction:row;gap:var(--gse-ui-modal-buttonBar-gap);align-content:flex-start;align-items:center}:host dialog{box-sizing:border-box;justify-content:space-between;padding:0;overflow:hidden;background-color:var(--gse-ui-modal-backgroundColor);border:none;border-radius:var(--gse-ui-modal-borderRadius);box-shadow:var(--gse-ui-modal-boxShadow)}:host dialog::backdrop{background:var(--gse-ui-modal-shroudColor)}:host dialog .gux-modal-container{display:flex;flex-direction:column}:host dialog .gux-modal-container.gux-small{inline-size:var(--gse-ui-modal-small-width);max-block-size:min(368px, 100vh - 2 * 24px)}:host dialog .gux-modal-container.gux-medium{inline-size:min(var(--gse-ui-modal-medium-width), 100vw - 48px);max-block-size:min(640px, 100vh - 2 * 24px)}:host dialog .gux-modal-container.gux-large{inline-size:min(var(--gse-ui-modal-large-width), 100vw - 48px);max-block-size:min(640px, 100vh - 2 * 24px)}:host dialog .gux-modal-container.gux-dynamic{max-inline-size:calc(100vw - 48px);max-block-size:calc(100vh - 48px)}:host dialog .gux-modal-container.gux-dynamic .gux-modal-content{max-block-size:none}:host dialog .gux-modal-container .gux-modal-header{padding-block-start:var(--gse-ui-modal-padding);padding-inline:var(--gse-ui-modal-padding);margin:0;font-family:var(--gse-ui-modal-heading-fontFamily);font-size:var(--gse-ui-modal-heading-fontSize);font-weight:var(--gse-ui-modal-heading-fontWeight);line-height:var(--gse-ui-modal-heading-lineHeight);color:var(--gse-ui-modal-headerColor)}:host dialog .gux-modal-container .gux-modal-content{max-block-size:432px;padding-inline:var(--gse-ui-modal-padding);margin-block-start:var(--gse-ui-modal-gap);overflow-y:auto;color:var(--gse-semantic-foreground-container-highEmphasis)}:host dialog .gux-modal-container .gux-button-footer{display:flex;justify-content:space-between;padding-block-end:var(--gse-ui-modal-padding);padding-inline:var(--gse-ui-modal-padding);margin-block-start:var(--gse-ui-modal-gap)}:host dialog .gux-modal-container .gux-button-footer.gux-no-buttons{display:none}:host dialog .gux-modal-container footer{padding-block-end:var(--gse-ui-modal-padding);padding-inline:var(--gse-ui-modal-padding);margin-block-start:var(--gse-ui-modal-gap)}@media (max-width: 416px){:host dialog .gux-modal-container.gux-small,:host dialog .gux-modal-container.gux-medium,:host dialog .gux-modal-container.gux-large{inline-size:100%;block-size:100%}}";export{d as gux_modal}
@@ -0,0 +1 @@
1
+ import{r as t,h as e,a as o}from"./p-OQnq_QVU.js";import{t as a}from"./p-DKZuo64L.js";import{b as i}from"./p-U5Uee2Gr.js";import"./p-Bwt-u0lF.js";var n={buttonLabel:"AI indicator button. Click for more information."};const s=class{constructor(e){t(this,e)}async componentWillLoad(){this.i18n=await i(this.root,n),a(this.root)}render(){return e("div",{key:"0a59e46fb2c44f219ae724e45a018af532661b46"},e("gux-button-slot",{key:"0c1636039c57573a03c1b2bbd1924a1a350b6cd1",id:"button","icon-only":!0},e("button",{key:"cdd4944bfd92961d4d7165bfc5d921855ba52338",type:"button"},e("gux-icon",{key:"ed0db54f25923976dd2381f975f41a789ee8aac4",size:"small","icon-name":"custom/ai-tooltip-regular",decorative:!0}),e("gux-screen-reader-beta",{key:"3dd50f5cb3d500dc3a776a8cfefe39cc17af529a"},this.i18n("buttonLabel")))),e("gux-popover-beta",{key:"e234d6a741ab5566d6d33526d9663ef67ef947f2",for:"button","display-dismiss-button":!0,position:"right"},e("slot",{key:"b1d1d93cc8df687562f2eae0ee0e35e18fa028ef",name:"title",slot:"title"}),e("slot",{key:"86fef16205446cae7a01729a78b74f6fb415565e",name:"content"})))}static get delegatesFocus(){return!0}get root(){return o(this)}};s.style=":host{display:inline-block}#button{--gse-ui-button-iconOnly-width:20px;--gse-ui-button-default-height:20px;--gse-ui-button-default-paddingIconOnly:2px}";export{s as gux_ai_indicator_beta}
@@ -1 +1 @@
1
- import{r as t,c as e,h as i,a as s}from"./p-OQnq_QVU.js";import{a as o}from"./p-DSMRdS3g.js";import{r}from"./p-D9jKBqIb.js";import{t as a}from"./p-Bblleze_.js";import{b as n}from"./p-U5Uee2Gr.js";import"./p-Bwt-u0lF.js";var c={defaultLabel:"Disclosure button"};const d=class{constructor(i){t(this,i),this.active=e(this,"active",7),this.panelId=r("gux-disclosure-button-panel"),this.position="left",this.isOpen=!1,this.icon="fa/caret-right-solid"}watchIsOpen(){this.updateIcon()}changeState(){this.togglePanel(),this.active.emit(this.isOpen)}togglePanel(){this.isOpen=!this.isOpen}updateIcon(){this.icon="right"===this.position?this.isOpen?"fa/caret-right-solid":"fa/caret-left-solid":this.isOpen?"fa/caret-left-solid":"fa/caret-right-solid"}async componentWillLoad(){a(this.root,{variant:this.position}),this.i18n=await n(this.root,c),this.updateIcon()}render(){return i("div",{key:"9123580521c08d0643c3e553ecc5fd7de9629b50",class:`gux-disclosure-button-container gux-${this.position}`},i("button",{key:"d5dd6dae816d4e61c6d01fe96d3a1bbdd90bb610",class:"gux-disclosure-button",onClick:()=>this.changeState(),"aria-controls":this.panelId,"aria-expanded":o(this.isOpen),"aria-label":this.label||this.i18n("defaultLabel"),"data-testid":"disclosure-button"},i("gux-icon",{key:"48787c269995cbb74deb59bbc10b8a2da9be4494","icon-name":`${this.icon}`,decorative:!0})),i("div",{key:"4396c7ffe83a81d2fdc85b004f60597fc5ae8a4a",id:this.panelId,class:{"gux-disclosure-panel":!0,"gux-active":this.isOpen},role:"region"},i("slot",{key:"b0189d71ae25e10a08707a1ba9cea52c68cea75a",name:"panel-content"})))}get root(){return s(this)}static get watchers(){return{isOpen:[{watchIsOpen:0}]}}};d.style=":host{height:100%;color:var(--gse-ui-tabs-item-icon-iconColor)}.gux-disclosure-button-container{display:flex;flex-direction:row;justify-content:flex-start;height:100%}.gux-disclosure-button-container .gux-disclosure-button{width:16px;padding:0;margin:0;color:var(--gse-ui-tabs-item-icon-iconColor);background:transparent;border-top:none;border-right:1px solid var(--gse-ui-tabs-item-divider-dividerColor);border-bottom:none;border-left:1px solid var(--gse-ui-tabs-item-divider-dividerColor)}.gux-disclosure-button-container .gux-disclosure-button gux-icon{width:12px;height:12px}.gux-disclosure-button-container .gux-disclosure-button:focus-visible{outline:var(--gse-semantic-focusOutline-md-borderWidth) solid var(--gse-semantic-border-focus);outline-offset:var(--gse-semantic-focusOutline-offset)}.gux-disclosure-button-container .gux-disclosure-panel{display:none;order:-1;width:100%}.gux-disclosure-button-container .gux-disclosure-panel.gux-active{display:block}.gux-disclosure-button-container.gux-right{justify-content:flex-end}.gux-disclosure-button-container.gux-right .gux-disclosure-panel{order:1}";export{d as gux_disclosure_button_legacy}
1
+ import{r as t,c as e,h as i,a as s}from"./p-OQnq_QVU.js";import{a as o}from"./p-DSMRdS3g.js";import{r}from"./p-D9jKBqIb.js";import{t as a}from"./p-DKZuo64L.js";import{b as n}from"./p-U5Uee2Gr.js";import"./p-Bwt-u0lF.js";var c={defaultLabel:"Disclosure button"};const u=class{constructor(i){t(this,i),this.active=e(this,"active",7),this.panelId=r("gux-disclosure-button-panel"),this.position="left",this.isOpen=!1,this.icon="fa/caret-right-solid"}watchIsOpen(){this.updateIcon()}changeState(){this.togglePanel(),this.active.emit(this.isOpen)}togglePanel(){this.isOpen=!this.isOpen}updateIcon(){this.icon="right"===this.position?this.isOpen?"fa/caret-right-solid":"fa/caret-left-solid":this.isOpen?"fa/caret-left-solid":"fa/caret-right-solid"}async componentWillLoad(){a(this.root,{variant:this.position}),this.i18n=await n(this.root,c),this.updateIcon()}render(){return i("div",{key:"9123580521c08d0643c3e553ecc5fd7de9629b50",class:`gux-disclosure-button-container gux-${this.position}`},i("button",{key:"d5dd6dae816d4e61c6d01fe96d3a1bbdd90bb610",class:"gux-disclosure-button",onClick:()=>this.changeState(),"aria-controls":this.panelId,"aria-expanded":o(this.isOpen),"aria-label":this.label||this.i18n("defaultLabel"),"data-testid":"disclosure-button"},i("gux-icon",{key:"48787c269995cbb74deb59bbc10b8a2da9be4494","icon-name":`${this.icon}`,decorative:!0})),i("div",{key:"4396c7ffe83a81d2fdc85b004f60597fc5ae8a4a",id:this.panelId,class:{"gux-disclosure-panel":!0,"gux-active":this.isOpen},role:"region"},i("slot",{key:"b0189d71ae25e10a08707a1ba9cea52c68cea75a",name:"panel-content"})))}get root(){return s(this)}static get watchers(){return{isOpen:[{watchIsOpen:0}]}}};u.style=":host{height:100%;color:var(--gse-ui-tabs-item-icon-iconColor)}.gux-disclosure-button-container{display:flex;flex-direction:row;justify-content:flex-start;height:100%}.gux-disclosure-button-container .gux-disclosure-button{width:16px;padding:0;margin:0;color:var(--gse-ui-tabs-item-icon-iconColor);background:transparent;border-top:none;border-right:1px solid var(--gse-ui-tabs-item-divider-dividerColor);border-bottom:none;border-left:1px solid var(--gse-ui-tabs-item-divider-dividerColor)}.gux-disclosure-button-container .gux-disclosure-button gux-icon{width:12px;height:12px}.gux-disclosure-button-container .gux-disclosure-button:focus-visible{outline:var(--gse-semantic-focusOutline-md-borderWidth) solid var(--gse-semantic-border-focus);outline-offset:var(--gse-semantic-focusOutline-offset)}.gux-disclosure-button-container .gux-disclosure-panel{display:none;order:-1;width:100%}.gux-disclosure-button-container .gux-disclosure-panel.gux-active{display:block}.gux-disclosure-button-container.gux-right{justify-content:flex-end}.gux-disclosure-button-container.gux-right .gux-disclosure-panel{order:1}";export{u as gux_disclosure_button_legacy}
@@ -1 +1 @@
1
- import{r as e,h as o,a as r}from"./p-OQnq_QVU.js";import{c as t,o as i}from"./p-Cb3FOYGS.js";import{O as n}from"./p-dnkpqym6.js";import{o as l}from"./p-De1NnCmO.js";import{p as a}from"./p-PYfNAK8p.js";import{h as s}from"./p-qzV3vtOw.js";import{G as u,a as f}from"./p-Dp8jWSrS.js";import{G as d,a as c}from"./p-DtyfCKSn.js";import{v as g,g as p}from"./p-D8ztWCZ3.js";import{t as h}from"./p-Bblleze_.js";import"./p-D9jKBqIb.js";import"./p-DxtJDeL9.js";import"./p-BMRf5pjV.js";const m=class{constructor(o){e(this,o),this.indicatorMark="required",this.computedLabelPosition="above",this.hasError=!1,this.hasHelp=!1}onMutation(){this.labelInfo=this.root.querySelector("[slot=label-info]"),this.hasError=s(this.root,"error"),this.hasHelp=s(this.root,"help")}handleKeyup(e){var o,r;switch(e.key){case"Tab":this.input.matches(":focus-visible")&&(null===(o=this.labelInfo)||void 0===o||o.showTooltip(),this.hideLabelInfoTimeout=setTimeout((()=>{var e;null===(e=this.labelInfo)||void 0===e||e.hideTooltip()}),6e3));break;case"Shift":break;default:this.input.matches(":focus-visible")&&(null===(r=this.labelInfo)||void 0===r||r.hideTooltip(),clearTimeout(this.hideLabelInfoTimeout))}}onFocusout(){var e;null===(e=this.labelInfo)||void 0===e||e.hideTooltip(),clearTimeout(this.hideLabelInfoTimeout)}componentWillLoad(){this.setInput(),this.setLabel(),this.labelInfo=this.root.querySelector("[slot=label-info]"),this.hasError=s(this.root,"error"),this.hasHelp=s(this.root,"help"),h(this.root,{variant:this.variant})}connectedCallback(){this.hasError=s(this.root,"error"),this.hasHelp=s(this.root,"help")}disconnectedCallback(){this.disabledObserver&&this.disabledObserver.disconnect(),this.requiredObserver&&this.requiredObserver.disconnect()}render(){return o(c,{key:"fabb3178958633dd2945a974f0b346d73f588e71",labelPosition:this.computedLabelPosition},o(d,{key:"81e6c7a7e96eb5c4287f0fed108077118f159fbf",required:this.required,position:this.computedLabelPosition},o("slot",{key:"51c06915d6a0a658269a17cfb5fe1b4116868c89",name:"label",onSlotchange:()=>this.setLabel()}),o("gux-form-field-label-indicator",{key:"b3dd98fcf2e076d5607ec34ba9fdc323835f3e01",variant:this.indicatorMark,required:this.required}),o("slot",{key:"ce655430ff2690c9075b8cef3f253746a49ee8bb",name:"label-info"})),o("div",{key:"e7b9cf047ea38710fa595f7f748a1597332d5969",class:"gux-input-and-error-container"},o("div",{key:"d58b7bad681703e87d1fe7c4f87e0dce7ac927df",class:{"gux-input":!0,"gux-input-error":this.hasError}},o("div",{key:"c2c7354723d68b61c07dfb7578086e983f71539d",class:{"gux-input-container":!0,"gux-disabled":this.disabled}},o("slot",{key:"cac06445b89763baafaa080fc667acd20a9b57e0",name:"input"}),o("gux-icon",{key:"64537d1e3ad7b530b2aae7477e845ab80847fe25","icon-name":"custom/chevron-down-small-regular",decorative:!0,size:"small"}))),o(u,{key:"fe19c632128fc7e6e39959df96519e326d7e395d",show:this.hasError},o("slot",{key:"5a12968adab9a0e89aba9b2c87204a27c9643dda",name:"error"})),o(f,{key:"d82e1bb6e6b36a7dda2f28d0d07d0b950a11bcdb",show:!this.hasError&&this.hasHelp},o("slot",{key:"4348f79be8cabe6d91ad0fbeaaec06f60852ef71",name:"help"}))))}get variant(){const e=this.labelPosition?this.labelPosition.toLowerCase():"none";return`${this.input.getAttribute("type")}-${e}`}setInput(){this.input=this.root.querySelector('select[slot="input"]'),a(this.input),this.disabled=t(this.input),this.required=this.input.required,this.disabledObserver=i(this.input,(e=>{this.disabled=e})),this.requiredObserver=l(this.input,(e=>{this.required=e})),g(this.root,this.input)}setLabel(){this.label=this.root.querySelector('label[slot="label"]'),this.computedLabelPosition=p(this.label,this.labelPosition)}get root(){return r(this)}};(function(e,o,r,t){var i,n=arguments.length,l=n<3?o:null===t?t=Object.getOwnPropertyDescriptor(o,r):t;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)l=Reflect.decorate(e,o,r,t);else for(var a=e.length-1;a>=0;a--)(i=e[a])&&(l=(n<3?i(l):n>3?i(o,r,l):i(o,r))||l);n>3&&l&&Object.defineProperty(o,r,l)})([n({childList:!0,subtree:!0})],m.prototype,"onMutation",null),m.style=".gux-form-field-container{display:flex;flex-direction:column}.gux-form-field-container.gux-beside{flex-direction:row}.gux-character-counter{display:grid;grid-template-rows:auto auto auto;grid-template-columns:1fr 1fr}.gux-character-counter :nth-child(1){grid-row:1/2;grid-column:2/3}.gux-character-counter :nth-child(2){grid-row:1/2;grid-column:1/2}.gux-character-counter :nth-child(3){grid-row:2/3;grid-column:1/-1}.gux-character-counter :nth-child(4){grid-row:3/4;grid-column:1/-1}.gux-character-counter.gux-beside{grid-template-columns:min-content 1fr}.gux-character-counter.gux-beside :nth-child(1){grid-row:1/2;grid-column:1/-1}.gux-character-counter.gux-beside :nth-child(2){grid-row:2/3;grid-column:1/2}.gux-character-counter.gux-beside :nth-child(3){grid-row:2/3;grid-column:2/3}.gux-character-counter.gux-beside :nth-child(4){grid-row:3/4;grid-column:1/-1}.gux-form-field-error{display:none;flex-direction:row;flex-wrap:nowrap;gap:var(--gse-ui-formControl-helper-gap);place-content:stretch flex-start;padding:var(--gse-ui-formControl-helper-errorPadding);font-family:var(--gse-ui-formControl-helper-helperText-fontFamily);font-size:var(--gse-ui-formControl-helper-helperText-fontSize);line-height:var(--gse-ui-formControl-helper-helperText-lineHeight);color:var(--gse-ui-formControl-helper-errorColor)}.gux-form-field-error.gux-show{display:flex}.gux-form-field-error gux-icon{flex:0 0 auto;order:0;color:var(--gse-ui-formControl-helper-errorColor)}.gux-form-field-error .gux-message{flex:0 1 auto;align-self:auto;order:0}.gux-form-field-label{display:inline-flex;flex:1 0 auto}.gux-form-field-label ::slotted(label){min-inline-size:0}.gux-form-field-label ::slotted(gux-label-info-beta){padding-inline-start:var(--gse-ui-formControl-formField-gap)}.gux-form-field-label.gux-beside{position:relative;inset-block-start:var(--gse-ui-formControl-input-top);inline-size:fit-content;min-inline-size:var(--gse-ui-formControl-input-textfield-minWidth);max-inline-size:fit-content;margin-inline-end:var(--gse-ui-formControl-group-gapItems)}.gux-form-field-label.gux-above{padding-block-end:var(--gse-ui-formControl-formField-gap)}.gux-form-field-label.gux-screenreader{position:absolute;top:auto;left:-10000px;width:1px;height:1px;overflow:hidden}.gux-form-field-help{display:none;flex-direction:row;flex-wrap:nowrap;place-content:stretch flex-start;align-items:flex-start;justify-content:flex-start;padding-block-start:var(--gse-ui-formControl-formField-gap);font-family:var(--gse-ui-formControl-helper-helperText-fontFamily);font-size:var(--gse-ui-formControl-helper-helperText-fontSize);line-height:var(--gse-ui-formControl-helper-helperText-lineHeight);color:var(--gse-ui-formControl-helper-defaultColor)}.gux-form-field-help.gux-show{display:flex}.gux-form-field-help .gux-message{flex:0 1 auto;align-self:none;order:0}:host{display:block;flex:1 1 auto;min-inline-size:0}::slotted(label){font-family:var(--gse-ui-formControl-label-textBold-fontFamily);font-size:var(--gse-ui-formControl-label-textBold-fontSize);font-weight:var(--gse-ui-formControl-label-textBold-fontWeight);line-height:var(--gse-ui-formControl-label-textBold-lineHeight);color:var(--gse-ui-formControl-label-labelColor)}::slotted(select){flex:1 1 auto;align-self:auto;order:0;inline-size:100%;block-size:var(--gse-ui-formControl-input-textfield-height);padding-inline:var(--gse-ui-formControl-input-gap) calc(var(--gse-ui-formControl-input-gap) * 2 + var(--gse-ui-formControl-input-inputIcon-size));overflow:hidden;text-overflow:ellipsis;color:var(--gse-ui-formControl-input-populatedColor);white-space:nowrap;-moz-appearance:none;-webkit-appearance:none;appearance:none;outline:none;background-color:var(--gse-ui-formControl-input-backgroundColor);border:none;border-radius:var(--gse-ui-formControl-input-borderRadius)}::slotted(select)::placeholder{color:var(--gse-ui-formControl-input-placeholderColor);opacity:1}.gux-input-and-error-container{flex-grow:1}.gux-input-and-error-container .gux-input .gux-input-container{position:relative;box-sizing:border-box;display:flex;flex-direction:row;flex-wrap:nowrap;gap:var(--gse-ui-formControl-input-gap);place-content:stretch center;align-items:center;inline-size:100%;font-family:var(--gse-ui-formControl-input-contentText-fontFamily);font-size:var(--gse-ui-formControl-input-contentText-fontSize);font-weight:var(--gse-ui-formControl-input-contentText-fontWeight);line-height:var(--gse-ui-formControl-input-contentText-lineHeight);color:var(--gse-ui-formControl-input-populatedColor);background-color:var(--gse-ui-formControl-input-backgroundColor);background-image:none;border:var(--gse-ui-formControl-input-default-border-width) var(--gse-ui-formControl-input-default-border-style) var(--gse-ui-formControl-input-default-border-color);border-radius:var(--gse-ui-formControl-input-borderRadius)}.gux-input-and-error-container .gux-input .gux-input-container.gux-disabled{pointer-events:none;opacity:var(--gse-ui-formControl-input-disabled-opacity)}.gux-input-and-error-container .gux-input .gux-input-container:hover gux-icon{color:var(--gse-ui-formControl-input-inputIcon-iconEndColor)}.gux-input-and-error-container .gux-input .gux-input-container gux-icon{position:absolute;inset-block-start:0;inset-inline-end:0;margin:var(--gse-ui-formControl-input-padding);pointer-events:none}.gux-input-and-error-container .gux-input .gux-input-container:focus-within{outline:var(--gse-ui-formControl-input-focus-border-width) var(--gse-ui-formControl-input-focus-border-style) var(--gse-ui-formControl-input-focus-border-color);outline-offset:var(--gse-semantic-focusOutline-offset);border:var(--gse-ui-formControl-input-active-border-width) var(--gse-ui-formControl-input-active-border-style) var(--gse-ui-formControl-input-active-border-color);border-radius:var(--gse-ui-formControl-focusRing-borderRadius)}.gux-input-and-error-container .gux-input.gux-input-error .gux-input-container{border-color:var(--gse-ui-formControl-input-error-border-color)}";export{m as gux_form_field_select}
1
+ import{r as e,h as o,a as r}from"./p-OQnq_QVU.js";import{c as t,o as i}from"./p-Cb3FOYGS.js";import{O as n}from"./p-dnkpqym6.js";import{o as l}from"./p-De1NnCmO.js";import{p as a}from"./p-PYfNAK8p.js";import{h as s}from"./p-qzV3vtOw.js";import{G as u,a as f}from"./p-Dp8jWSrS.js";import{G as d,a as c}from"./p-DtyfCKSn.js";import{v as g,g as p}from"./p-D8ztWCZ3.js";import{t as h}from"./p-DKZuo64L.js";import"./p-D9jKBqIb.js";import"./p-DxtJDeL9.js";import"./p-BMRf5pjV.js";const m=class{constructor(o){e(this,o),this.indicatorMark="required",this.computedLabelPosition="above",this.hasError=!1,this.hasHelp=!1}onMutation(){this.labelInfo=this.root.querySelector("[slot=label-info]"),this.hasError=s(this.root,"error"),this.hasHelp=s(this.root,"help")}handleKeyup(e){var o,r;switch(e.key){case"Tab":this.input.matches(":focus-visible")&&(null===(o=this.labelInfo)||void 0===o||o.showTooltip(),this.hideLabelInfoTimeout=setTimeout((()=>{var e;null===(e=this.labelInfo)||void 0===e||e.hideTooltip()}),6e3));break;case"Shift":break;default:this.input.matches(":focus-visible")&&(null===(r=this.labelInfo)||void 0===r||r.hideTooltip(),clearTimeout(this.hideLabelInfoTimeout))}}onFocusout(){var e;null===(e=this.labelInfo)||void 0===e||e.hideTooltip(),clearTimeout(this.hideLabelInfoTimeout)}componentWillLoad(){this.setInput(),this.setLabel(),this.labelInfo=this.root.querySelector("[slot=label-info]"),this.hasError=s(this.root,"error"),this.hasHelp=s(this.root,"help"),h(this.root,{variant:this.variant})}connectedCallback(){this.hasError=s(this.root,"error"),this.hasHelp=s(this.root,"help")}disconnectedCallback(){this.disabledObserver&&this.disabledObserver.disconnect(),this.requiredObserver&&this.requiredObserver.disconnect()}render(){return o(c,{key:"fabb3178958633dd2945a974f0b346d73f588e71",labelPosition:this.computedLabelPosition},o(d,{key:"81e6c7a7e96eb5c4287f0fed108077118f159fbf",required:this.required,position:this.computedLabelPosition},o("slot",{key:"51c06915d6a0a658269a17cfb5fe1b4116868c89",name:"label",onSlotchange:()=>this.setLabel()}),o("gux-form-field-label-indicator",{key:"b3dd98fcf2e076d5607ec34ba9fdc323835f3e01",variant:this.indicatorMark,required:this.required}),o("slot",{key:"ce655430ff2690c9075b8cef3f253746a49ee8bb",name:"label-info"})),o("div",{key:"e7b9cf047ea38710fa595f7f748a1597332d5969",class:"gux-input-and-error-container"},o("div",{key:"d58b7bad681703e87d1fe7c4f87e0dce7ac927df",class:{"gux-input":!0,"gux-input-error":this.hasError}},o("div",{key:"c2c7354723d68b61c07dfb7578086e983f71539d",class:{"gux-input-container":!0,"gux-disabled":this.disabled}},o("slot",{key:"cac06445b89763baafaa080fc667acd20a9b57e0",name:"input"}),o("gux-icon",{key:"64537d1e3ad7b530b2aae7477e845ab80847fe25","icon-name":"custom/chevron-down-small-regular",decorative:!0,size:"small"}))),o(u,{key:"fe19c632128fc7e6e39959df96519e326d7e395d",show:this.hasError},o("slot",{key:"5a12968adab9a0e89aba9b2c87204a27c9643dda",name:"error"})),o(f,{key:"d82e1bb6e6b36a7dda2f28d0d07d0b950a11bcdb",show:!this.hasError&&this.hasHelp},o("slot",{key:"4348f79be8cabe6d91ad0fbeaaec06f60852ef71",name:"help"}))))}get variant(){const e=this.labelPosition?this.labelPosition.toLowerCase():"none";return`${this.input.getAttribute("type")}-${e}`}setInput(){this.input=this.root.querySelector('select[slot="input"]'),a(this.input),this.disabled=t(this.input),this.required=this.input.required,this.disabledObserver=i(this.input,(e=>{this.disabled=e})),this.requiredObserver=l(this.input,(e=>{this.required=e})),g(this.root,this.input)}setLabel(){this.label=this.root.querySelector('label[slot="label"]'),this.computedLabelPosition=p(this.label,this.labelPosition)}get root(){return r(this)}};(function(e,o,r,t){var i,n=arguments.length,l=n<3?o:null===t?t=Object.getOwnPropertyDescriptor(o,r):t;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)l=Reflect.decorate(e,o,r,t);else for(var a=e.length-1;a>=0;a--)(i=e[a])&&(l=(n<3?i(l):n>3?i(o,r,l):i(o,r))||l);n>3&&l&&Object.defineProperty(o,r,l)})([n({childList:!0,subtree:!0})],m.prototype,"onMutation",null),m.style=".gux-form-field-container{display:flex;flex-direction:column}.gux-form-field-container.gux-beside{flex-direction:row}.gux-character-counter{display:grid;grid-template-rows:auto auto auto;grid-template-columns:1fr 1fr}.gux-character-counter :nth-child(1){grid-row:1/2;grid-column:2/3}.gux-character-counter :nth-child(2){grid-row:1/2;grid-column:1/2}.gux-character-counter :nth-child(3){grid-row:2/3;grid-column:1/-1}.gux-character-counter :nth-child(4){grid-row:3/4;grid-column:1/-1}.gux-character-counter.gux-beside{grid-template-columns:min-content 1fr}.gux-character-counter.gux-beside :nth-child(1){grid-row:1/2;grid-column:1/-1}.gux-character-counter.gux-beside :nth-child(2){grid-row:2/3;grid-column:1/2}.gux-character-counter.gux-beside :nth-child(3){grid-row:2/3;grid-column:2/3}.gux-character-counter.gux-beside :nth-child(4){grid-row:3/4;grid-column:1/-1}.gux-form-field-error{display:none;flex-direction:row;flex-wrap:nowrap;gap:var(--gse-ui-formControl-helper-gap);place-content:stretch flex-start;padding:var(--gse-ui-formControl-helper-errorPadding);font-family:var(--gse-ui-formControl-helper-helperText-fontFamily);font-size:var(--gse-ui-formControl-helper-helperText-fontSize);line-height:var(--gse-ui-formControl-helper-helperText-lineHeight);color:var(--gse-ui-formControl-helper-errorColor)}.gux-form-field-error.gux-show{display:flex}.gux-form-field-error gux-icon{flex:0 0 auto;order:0;color:var(--gse-ui-formControl-helper-errorColor)}.gux-form-field-error .gux-message{flex:0 1 auto;align-self:auto;order:0}.gux-form-field-label{display:inline-flex;flex:1 0 auto}.gux-form-field-label ::slotted(label){min-inline-size:0}.gux-form-field-label ::slotted(gux-label-info-beta){padding-inline-start:var(--gse-ui-formControl-formField-gap)}.gux-form-field-label.gux-beside{position:relative;inset-block-start:var(--gse-ui-formControl-input-top);inline-size:fit-content;min-inline-size:var(--gse-ui-formControl-input-textfield-minWidth);max-inline-size:fit-content;margin-inline-end:var(--gse-ui-formControl-group-gapItems)}.gux-form-field-label.gux-above{padding-block-end:var(--gse-ui-formControl-formField-gap)}.gux-form-field-label.gux-screenreader{position:absolute;top:auto;left:-10000px;width:1px;height:1px;overflow:hidden}.gux-form-field-help{display:none;flex-direction:row;flex-wrap:nowrap;place-content:stretch flex-start;align-items:flex-start;justify-content:flex-start;padding-block-start:var(--gse-ui-formControl-formField-gap);font-family:var(--gse-ui-formControl-helper-helperText-fontFamily);font-size:var(--gse-ui-formControl-helper-helperText-fontSize);line-height:var(--gse-ui-formControl-helper-helperText-lineHeight);color:var(--gse-ui-formControl-helper-defaultColor)}.gux-form-field-help.gux-show{display:flex}.gux-form-field-help .gux-message{flex:0 1 auto;align-self:none;order:0}:host{display:block;flex:1 1 auto;min-inline-size:0}::slotted(label){font-family:var(--gse-ui-formControl-label-textBold-fontFamily);font-size:var(--gse-ui-formControl-label-textBold-fontSize);font-weight:var(--gse-ui-formControl-label-textBold-fontWeight);line-height:var(--gse-ui-formControl-label-textBold-lineHeight);color:var(--gse-ui-formControl-label-labelColor)}::slotted(select){flex:1 1 auto;align-self:auto;order:0;inline-size:100%;block-size:var(--gse-ui-formControl-input-textfield-height);padding-inline:var(--gse-ui-formControl-input-gap) calc(var(--gse-ui-formControl-input-gap) * 2 + var(--gse-ui-formControl-input-inputIcon-size));overflow:hidden;text-overflow:ellipsis;color:var(--gse-ui-formControl-input-populatedColor);white-space:nowrap;-moz-appearance:none;-webkit-appearance:none;appearance:none;outline:none;background-color:var(--gse-ui-formControl-input-backgroundColor);border:none;border-radius:var(--gse-ui-formControl-input-borderRadius)}::slotted(select)::placeholder{color:var(--gse-ui-formControl-input-placeholderColor);opacity:1}.gux-input-and-error-container{flex-grow:1}.gux-input-and-error-container .gux-input .gux-input-container{position:relative;box-sizing:border-box;display:flex;flex-direction:row;flex-wrap:nowrap;gap:var(--gse-ui-formControl-input-gap);place-content:stretch center;align-items:center;inline-size:100%;font-family:var(--gse-ui-formControl-input-contentText-fontFamily);font-size:var(--gse-ui-formControl-input-contentText-fontSize);font-weight:var(--gse-ui-formControl-input-contentText-fontWeight);line-height:var(--gse-ui-formControl-input-contentText-lineHeight);color:var(--gse-ui-formControl-input-populatedColor);background-color:var(--gse-ui-formControl-input-backgroundColor);background-image:none;border:var(--gse-ui-formControl-input-default-border-width) var(--gse-ui-formControl-input-default-border-style) var(--gse-ui-formControl-input-default-border-color);border-radius:var(--gse-ui-formControl-input-borderRadius)}.gux-input-and-error-container .gux-input .gux-input-container.gux-disabled{pointer-events:none;opacity:var(--gse-ui-formControl-input-disabled-opacity)}.gux-input-and-error-container .gux-input .gux-input-container:hover gux-icon{color:var(--gse-ui-formControl-input-inputIcon-iconEndColor)}.gux-input-and-error-container .gux-input .gux-input-container gux-icon{position:absolute;inset-block-start:0;inset-inline-end:0;margin:var(--gse-ui-formControl-input-padding);pointer-events:none}.gux-input-and-error-container .gux-input .gux-input-container:focus-within{outline:var(--gse-ui-formControl-input-focus-border-width) var(--gse-ui-formControl-input-focus-border-style) var(--gse-ui-formControl-input-focus-border-color);outline-offset:var(--gse-semantic-focusOutline-offset);border:var(--gse-ui-formControl-input-active-border-width) var(--gse-ui-formControl-input-active-border-style) var(--gse-ui-formControl-input-active-border-color);border-radius:var(--gse-ui-formControl-focusRing-borderRadius)}.gux-input-and-error-container .gux-input.gux-input-error .gux-input-container{border-color:var(--gse-ui-formControl-input-error-border-color)}";export{m as gux_form_field_select}
@@ -1 +1 @@
1
- import{r as e,h as o,a}from"./p-OQnq_QVU.js";import{t as r}from"./p-Bblleze_.js";import{b as s}from"./p-U5Uee2Gr.js";import"./p-Bwt-u0lF.js";var l={genesysLogomark:"Genesys Logomark"};const g=class{constructor(o){e(this,o),this.variant="primary"}async componentWillLoad(){this.i18n=await s(this.root,l),r(this.root,{variant:this.variant})}render(){return o("svg",{key:"3ca05aec41bb68a3bb9bd0ea142954fd0340b69b",class:`gux-${this.variant}`,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 30 50","aria-label":this.i18n("genesysLogomark"),role:"img",focusable:"false"},o("path",{key:"66068a2366666de2b6a4d377bea855c9e6452839",class:"gux-foreground-fill",d:"M21.7947 34.7408H16.7148C14.6475 34.7408 12.6648 35.5446 11.203 36.9754C9.74117 38.4061 8.91992 40.3466 8.91992 42.37C8.91992 44.3933 9.74117 46.3338 11.203 47.7645C12.6648 49.1953 14.6475 49.9991 16.7148 49.9991H21.7947C23.862 49.9991 25.8447 49.1953 27.3065 47.7645C28.7683 46.3338 29.5896 44.3933 29.5896 42.37C29.5896 40.3466 28.7683 38.4061 27.3065 36.9754C25.8447 35.5446 23.862 34.7408 21.7947 34.7408Z"}),o("path",{key:"c4347210fd3defeb588682ea827790f472a88a8a",class:"gux-foreground-fill",d:"M21.3004 15.0225H8.38053C6.15787 15.0225 4.02625 15.8881 2.4546 17.4289C0.882946 18.9697 0 21.0594 0 23.2384C0 25.4174 0.882946 27.5072 2.4546 29.048C4.02625 30.5888 6.15787 31.4544 8.38053 31.4544H21.3004C22.401 31.4544 23.4907 31.2419 24.5075 30.829C25.5243 30.4161 26.4481 29.8109 27.2264 29.048C28.0046 28.2851 28.6219 27.3793 29.043 26.3825C29.4642 25.3857 29.681 24.3174 29.681 23.2384C29.681 22.1595 29.4642 21.0911 29.043 20.0943C28.6219 19.0975 28.0046 18.1918 27.2264 17.4289C26.4481 16.6659 25.5243 16.0608 24.5075 15.6479C23.4907 15.235 22.401 15.0225 21.3004 15.0225Z"}),o("path",{key:"5fcf88ec63df94c4d660b95b3d9b8315cbcf6c95",class:"gux-foreground-fill",d:"M17.8403 5.8683C17.8403 2.62719 20.4678 -0.000244141 23.7089 -0.000244141C26.95 -0.000244141 29.5774 2.62719 29.5774 5.8683C29.5774 9.10941 26.95 11.7368 23.7089 11.7368C20.4678 11.7368 17.8403 9.10941 17.8403 5.8683Z"}),o("path",{key:"4f616b65ac113d7a2f94b3d9599e7e3ab93cb017",class:"gux-foreground-outline",d:"M16.7153 35.5144H21.7954C23.6628 35.5145 25.4506 36.2406 26.7661 37.5281C28.0811 38.815 28.8168 40.5572 28.8169 42.3699C28.8169 44.1826 28.081 45.9247 26.7661 47.2117C25.4506 48.4992 23.6628 49.2253 21.7954 49.2253H16.7153C14.8478 49.2253 13.0602 48.4992 11.7446 47.2117C10.4297 45.9247 9.69385 44.1826 9.69385 42.3699C9.6939 40.5572 10.4297 38.815 11.7446 37.5281C13.0602 36.2406 14.8479 35.5144 16.7153 35.5144Z"}),o("path",{key:"c889fed95210dfad2f8c691644183a1f4810915a",class:"gux-foreground-outline",d:"M8.38086 15.7959H21.3008C22.3017 15.7959 23.2928 15.9891 24.2168 16.3643C25.1408 16.7395 25.9789 17.2897 26.6846 17.9814C27.3902 18.6733 27.949 19.4937 28.3301 20.3955C28.7111 21.2973 28.9072 22.2631 28.9072 23.2383C28.9072 24.2134 28.7111 25.1793 28.3301 26.0811C27.949 26.9829 27.3902 27.8043 26.6846 28.4961C25.979 29.1877 25.1406 29.7371 24.2168 30.1123C23.2928 30.4875 22.3017 30.6806 21.3008 30.6807H8.38086C6.35857 30.6807 4.42154 29.8934 2.99609 28.4961C1.57115 27.0991 0.773438 25.2071 0.773438 23.2383C0.773476 21.2695 1.57126 19.3784 2.99609 17.9814C4.42156 16.584 6.35846 15.7959 8.38086 15.7959Z"}),o("path",{key:"9f4e44e42d1a4f45346b6d3e0cefae818bf117cd",class:"gux-foreground-outline",d:"M23.7085 0.773193C26.5223 0.773193 28.804 3.05419 28.8042 5.86792C28.8042 8.68182 26.5224 10.9636 23.7085 10.9636C20.8948 10.9634 18.6138 8.68169 18.6138 5.86792C18.614 3.05432 20.8949 0.773399 23.7085 0.773193Z"}))}get root(){return a(this)}};g.style=":host{display:inline-block}svg{inline-size:100%;block-size:100%;fill:var(--gse-core-color-transparent)}svg .gux-foreground-fill{fill:var(--gse-ui-logo-brand-logomark-primary)}svg.gux-neutral .gux-foreground-fill{fill:var(--gse-ui-logo-brand-logomark-neutral)}svg.gux-outlined .gux-foreground-fill{fill:var(--gse-core-color-transparent)}svg.gux-outlined .gux-foreground-outline{stroke:var(--gse-ui-logo-brand-logomark-outlined);stroke-width:1.5}";export{g as gux_logomark_beta}
1
+ import{r as e,h as o,a}from"./p-OQnq_QVU.js";import{t as r}from"./p-DKZuo64L.js";import{b as s}from"./p-U5Uee2Gr.js";import"./p-Bwt-u0lF.js";var l={genesysLogomark:"Genesys Logomark"};const g=class{constructor(o){e(this,o),this.variant="primary"}async componentWillLoad(){this.i18n=await s(this.root,l),r(this.root,{variant:this.variant})}render(){return o("svg",{key:"3ca05aec41bb68a3bb9bd0ea142954fd0340b69b",class:`gux-${this.variant}`,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 30 50","aria-label":this.i18n("genesysLogomark"),role:"img",focusable:"false"},o("path",{key:"66068a2366666de2b6a4d377bea855c9e6452839",class:"gux-foreground-fill",d:"M21.7947 34.7408H16.7148C14.6475 34.7408 12.6648 35.5446 11.203 36.9754C9.74117 38.4061 8.91992 40.3466 8.91992 42.37C8.91992 44.3933 9.74117 46.3338 11.203 47.7645C12.6648 49.1953 14.6475 49.9991 16.7148 49.9991H21.7947C23.862 49.9991 25.8447 49.1953 27.3065 47.7645C28.7683 46.3338 29.5896 44.3933 29.5896 42.37C29.5896 40.3466 28.7683 38.4061 27.3065 36.9754C25.8447 35.5446 23.862 34.7408 21.7947 34.7408Z"}),o("path",{key:"c4347210fd3defeb588682ea827790f472a88a8a",class:"gux-foreground-fill",d:"M21.3004 15.0225H8.38053C6.15787 15.0225 4.02625 15.8881 2.4546 17.4289C0.882946 18.9697 0 21.0594 0 23.2384C0 25.4174 0.882946 27.5072 2.4546 29.048C4.02625 30.5888 6.15787 31.4544 8.38053 31.4544H21.3004C22.401 31.4544 23.4907 31.2419 24.5075 30.829C25.5243 30.4161 26.4481 29.8109 27.2264 29.048C28.0046 28.2851 28.6219 27.3793 29.043 26.3825C29.4642 25.3857 29.681 24.3174 29.681 23.2384C29.681 22.1595 29.4642 21.0911 29.043 20.0943C28.6219 19.0975 28.0046 18.1918 27.2264 17.4289C26.4481 16.6659 25.5243 16.0608 24.5075 15.6479C23.4907 15.235 22.401 15.0225 21.3004 15.0225Z"}),o("path",{key:"5fcf88ec63df94c4d660b95b3d9b8315cbcf6c95",class:"gux-foreground-fill",d:"M17.8403 5.8683C17.8403 2.62719 20.4678 -0.000244141 23.7089 -0.000244141C26.95 -0.000244141 29.5774 2.62719 29.5774 5.8683C29.5774 9.10941 26.95 11.7368 23.7089 11.7368C20.4678 11.7368 17.8403 9.10941 17.8403 5.8683Z"}),o("path",{key:"4f616b65ac113d7a2f94b3d9599e7e3ab93cb017",class:"gux-foreground-outline",d:"M16.7153 35.5144H21.7954C23.6628 35.5145 25.4506 36.2406 26.7661 37.5281C28.0811 38.815 28.8168 40.5572 28.8169 42.3699C28.8169 44.1826 28.081 45.9247 26.7661 47.2117C25.4506 48.4992 23.6628 49.2253 21.7954 49.2253H16.7153C14.8478 49.2253 13.0602 48.4992 11.7446 47.2117C10.4297 45.9247 9.69385 44.1826 9.69385 42.3699C9.6939 40.5572 10.4297 38.815 11.7446 37.5281C13.0602 36.2406 14.8479 35.5144 16.7153 35.5144Z"}),o("path",{key:"c889fed95210dfad2f8c691644183a1f4810915a",class:"gux-foreground-outline",d:"M8.38086 15.7959H21.3008C22.3017 15.7959 23.2928 15.9891 24.2168 16.3643C25.1408 16.7395 25.9789 17.2897 26.6846 17.9814C27.3902 18.6733 27.949 19.4937 28.3301 20.3955C28.7111 21.2973 28.9072 22.2631 28.9072 23.2383C28.9072 24.2134 28.7111 25.1793 28.3301 26.0811C27.949 26.9829 27.3902 27.8043 26.6846 28.4961C25.979 29.1877 25.1406 29.7371 24.2168 30.1123C23.2928 30.4875 22.3017 30.6806 21.3008 30.6807H8.38086C6.35857 30.6807 4.42154 29.8934 2.99609 28.4961C1.57115 27.0991 0.773438 25.2071 0.773438 23.2383C0.773476 21.2695 1.57126 19.3784 2.99609 17.9814C4.42156 16.584 6.35846 15.7959 8.38086 15.7959Z"}),o("path",{key:"9f4e44e42d1a4f45346b6d3e0cefae818bf117cd",class:"gux-foreground-outline",d:"M23.7085 0.773193C26.5223 0.773193 28.804 3.05419 28.8042 5.86792C28.8042 8.68182 26.5224 10.9636 23.7085 10.9636C20.8948 10.9634 18.6138 8.68169 18.6138 5.86792C18.614 3.05432 20.8949 0.773399 23.7085 0.773193Z"}))}get root(){return a(this)}};g.style=":host{display:inline-block}svg{inline-size:100%;block-size:100%;fill:var(--gse-core-color-transparent)}svg .gux-foreground-fill{fill:var(--gse-ui-logo-brand-logomark-primary)}svg.gux-neutral .gux-foreground-fill{fill:var(--gse-ui-logo-brand-logomark-neutral)}svg.gux-outlined .gux-foreground-fill{fill:var(--gse-core-color-transparent)}svg.gux-outlined .gux-foreground-outline{stroke:var(--gse-ui-logo-brand-logomark-outlined);stroke-width:1.5}";export{g as gux_logomark_beta}
@@ -1 +1 @@
1
- import{r as t,h as s,a as e}from"./p-OQnq_QVU.js";import{b as i}from"./p-U5Uee2Gr.js";import{t as o,f as r,g as n}from"./p-RWUera2Z.js";import{t as a}from"./p-Bblleze_.js";import{s as l}from"./p-BMRf5pjV.js";import"./p-Bwt-u0lF.js";const u=class{constructor(s){t(this,s),this.hasError=!1,this.disabled=!1,this.required=!1,this.searchString=""}onGuxFilter(t){const s=t.detail.trim();this.searchString!==s&&(this.searchString=s)}async componentWillLoad(){a(this.root),this.i18n=await i(this.root,o),this.timeZoneList=this.getTimeZoneOptionsList()}componentDidLoad(){this.applyEventListeners()}applyEventListeners(){var t;const s=null===(t=this.root)||void 0===t?void 0:t.shadowRoot.querySelector("gux-dropdown");s&&s.addEventListener("input",(t=>{const s=t.target;this.value=null==s?void 0:s.value,l(this.root,"input"),l(this.root,"change")}))}isTimeZoneOptionFiltered(t){return!!this.searchString&&!this.getFormattedTimeZoneOption(t).toLowerCase().includes(this.searchString.toLowerCase())}getTimeZoneOption(t){const s=this.i18n(t.name),e=t.countryName?this.i18n(t.countryName):void 0;if(!s)return;const i=r(t.currentTimeOffsetInMinutes),o=`${s}`,n=` (${this.i18n("UTC")}${i})`,a=`${n}`,l=o.replace(/_/g," "),u=`${e}`,p=o.startsWith("Etc/GMT")?2:1;return{value:t.name,localizedGroupName:s,formattedOffset:i,displayTextNameFormatted:l,displayTextOffset:n,baseDisplayOffsetText:a,countryName:u,defaultZone:"",priority:p}}getFormattedTimeZoneOption(t){return t.displayTextNameFormatted.startsWith("Etc/GMT")?t.displayTextNameFormatted.concat(t.baseDisplayOffsetText):t.displayTextNameFormatted.split("/").pop().concat(", ",t.countryName,t.baseDisplayOffsetText)}getTimeZoneOptionsList(){const t=n(),s=[];return t.forEach((t=>{const e=this.getTimeZoneOption(t);e&&s.push(e)})),s.sort(((t,s)=>{var e;return t.priority-s.priority||(null===(e=t.displayTextNameFormatted)||void 0===e?void 0:e.localeCompare(s.displayTextNameFormatted))}))}getDefaultZones(){return[this.workspaceDefault,this.localDefault,this.customDefault].filter((t=>!!t))}getDefaultZoneList(){const t=this.getDefaultZones(),s=this.timeZoneList.reduce(((s,e)=>t.includes(e.value)?s.concat([Object.assign({},e)]):s),[]);return s.forEach((t=>{this.workspaceDefault===this.localDefault?t.defaultZone=`${this.i18n("localAndWorkspaceDefault")}`:t.value===this.workspaceDefault?t.defaultZone=`${this.i18n("workspaceDefault")}`:t.value===this.localDefault&&(t.defaultZone=`${this.i18n("localDefault")}`),t.value===this.customDefault&&(t.defaultZone=`(${this.customDefaultLabel})`)})),s}renderTimeZones(t){return t.map((t=>s("gux-option",{class:{"gux-has-defaults":""!==t.defaultZone},value:t.value,filtered:this.isTimeZoneOptionFiltered(t)},s("div",{class:"gux-option-wrapper"},s("div",null,this.getFormattedTimeZoneOption(t)),s("span",{class:"gux-default-zone"},t.defaultZone)))))}renderDefaultsList(){const t=this.renderTimeZones(this.getDefaultZoneList());if(t.length)return s("gux-option-group-beta",{label:this.i18n("default")},t)}renderAllTimeZoneOptionsList(){return s("gux-option-group-beta",{label:this.i18n("all")},this.renderTimeZones(this.timeZoneList))}render(){return s("gux-dropdown",{key:"1fd7a96a77f151866d9f6147de62920b53147e68",class:{"has-defaults":!!this.workspaceDefault||!!this.localDefault||!!this.customDefault},"filter-type":"custom",placeholder:this.i18n("selectZone"),value:this.value,hasError:this.hasError,disabled:this.disabled},s("gux-listbox",{key:"db386000587f66f340c0200b3826f2377b67ac62","aria-label":this.i18n("timeZones")},this.renderDefaultsList(),this.renderAllTimeZoneOptionsList()))}get root(){return e(this)}};u.style="gux-dropdown .zone-header{padding-block:8px 4px;padding-inline:12px;color:#6b7585;text-transform:uppercase}gux-dropdown gux-option{padding:var(--gse-ui-menu-option-padding)}gux-dropdown gux-option.gux-has-defaults{block-size:auto}gux-dropdown gux-option .gux-option-wrapper{display:flex;flex-direction:column}gux-dropdown gux-option .gux-default-zone{color:#626e84}";export{u as gux_time_zone_picker_beta}
1
+ import{r as t,h as s,a as i}from"./p-OQnq_QVU.js";import{b as e}from"./p-U5Uee2Gr.js";import{t as o,f as r,g as n}from"./p-RWUera2Z.js";import{t as a}from"./p-DKZuo64L.js";import{s as u}from"./p-BMRf5pjV.js";import"./p-Bwt-u0lF.js";const l=class{constructor(s){t(this,s),this.hasError=!1,this.disabled=!1,this.required=!1,this.searchString=""}onGuxFilter(t){const s=t.detail.trim();this.searchString!==s&&(this.searchString=s)}async componentWillLoad(){a(this.root),this.i18n=await e(this.root,o),this.timeZoneList=this.getTimeZoneOptionsList()}componentDidLoad(){this.applyEventListeners()}applyEventListeners(){var t;const s=null===(t=this.root)||void 0===t?void 0:t.shadowRoot.querySelector("gux-dropdown");s&&s.addEventListener("input",(t=>{const s=t.target;this.value=null==s?void 0:s.value,u(this.root,"input"),u(this.root,"change")}))}isTimeZoneOptionFiltered(t){return!!this.searchString&&!this.getFormattedTimeZoneOption(t).toLowerCase().includes(this.searchString.toLowerCase())}getTimeZoneOption(t){const s=this.i18n(t.name),i=t.countryName?this.i18n(t.countryName):void 0;if(!s)return;const e=r(t.currentTimeOffsetInMinutes),o=`${s}`,n=` (${this.i18n("UTC")}${e})`,a=`${n}`,u=o.replace(/_/g," "),l=`${i}`,p=o.startsWith("Etc/GMT")?2:1;return{value:t.name,localizedGroupName:s,formattedOffset:e,displayTextNameFormatted:u,displayTextOffset:n,baseDisplayOffsetText:a,countryName:l,defaultZone:"",priority:p}}getFormattedTimeZoneOption(t){return t.displayTextNameFormatted.startsWith("Etc/GMT")?t.displayTextNameFormatted.concat(t.baseDisplayOffsetText):t.displayTextNameFormatted.split("/").pop().concat(", ",t.countryName,t.baseDisplayOffsetText)}getTimeZoneOptionsList(){const t=n(),s=[];return t.forEach((t=>{const i=this.getTimeZoneOption(t);i&&s.push(i)})),s.sort(((t,s)=>{var i;return t.priority-s.priority||(null===(i=t.displayTextNameFormatted)||void 0===i?void 0:i.localeCompare(s.displayTextNameFormatted))}))}getDefaultZones(){return[this.workspaceDefault,this.localDefault,this.customDefault].filter((t=>!!t))}getDefaultZoneList(){const t=this.getDefaultZones(),s=this.timeZoneList.reduce(((s,i)=>t.includes(i.value)?s.concat([Object.assign({},i)]):s),[]);return s.forEach((t=>{this.workspaceDefault===this.localDefault?t.defaultZone=`${this.i18n("localAndWorkspaceDefault")}`:t.value===this.workspaceDefault?t.defaultZone=`${this.i18n("workspaceDefault")}`:t.value===this.localDefault&&(t.defaultZone=`${this.i18n("localDefault")}`),t.value===this.customDefault&&(t.defaultZone=`(${this.customDefaultLabel})`)})),s}renderTimeZones(t){return t.map((t=>s("gux-option",{class:{"gux-has-defaults":""!==t.defaultZone},value:t.value,filtered:this.isTimeZoneOptionFiltered(t)},s("div",{class:"gux-option-wrapper"},s("div",null,this.getFormattedTimeZoneOption(t)),s("span",{class:"gux-default-zone"},t.defaultZone)))))}renderDefaultsList(){const t=this.renderTimeZones(this.getDefaultZoneList());if(t.length)return s("gux-option-group-beta",{label:this.i18n("default")},t)}renderAllTimeZoneOptionsList(){return s("gux-option-group-beta",{label:this.i18n("all")},this.renderTimeZones(this.timeZoneList))}render(){return s("gux-dropdown",{key:"1fd7a96a77f151866d9f6147de62920b53147e68",class:{"has-defaults":!!this.workspaceDefault||!!this.localDefault||!!this.customDefault},"filter-type":"custom",placeholder:this.i18n("selectZone"),value:this.value,hasError:this.hasError,disabled:this.disabled},s("gux-listbox",{key:"db386000587f66f340c0200b3826f2377b67ac62","aria-label":this.i18n("timeZones")},this.renderDefaultsList(),this.renderAllTimeZoneOptionsList()))}get root(){return i(this)}};l.style="gux-dropdown .zone-header{padding-block:8px 4px;padding-inline:12px;color:#6b7585;text-transform:uppercase}gux-dropdown gux-option{padding:var(--gse-ui-menu-option-padding)}gux-dropdown gux-option.gux-has-defaults{block-size:auto}gux-dropdown gux-option .gux-option-wrapper{display:flex;flex-direction:column}gux-dropdown gux-option .gux-default-zone{color:#626e84}";export{l as gux_time_zone_picker_beta}
@@ -1 +1 @@
1
- import{r as i,h as t,a as e}from"./p-OQnq_QVU.js";import{b as a}from"./p-U5Uee2Gr.js";import{t as n}from"./p-Bblleze_.js";import"./p-Bwt-u0lF.js";var o={navigationName:"Skip links"};const s=class{constructor(t){i(this,t)}async componentWillLoad(){n(this.root),this.i18n=await a(this.root,o)}render(){return t("div",{key:"f37490e773907b22438d2a4f81651bf095c6d3aa",class:"gux-container"},t("nav",{key:"10ccc63658c0a80d0e67cf52bfc32ef23d6f0cb0","aria-label":this.i18n("navigationName")},t("ul",{key:"7990811c22ca2bbe54856e672241c072a58023ee",role:"list"},t("slot",{key:"a30a3efbe09cedafde4606d22bff346cf9c9dbdc"}))))}static get delegatesFocus(){return!0}get root(){return e(this)}};s.style=":host{position:absolute;top:auto;left:-10000px;width:1px;height:1px;overflow:hidden}:host(:focus-within){position:inherit;top:inherit;left:inherit;width:inherit;height:inherit;overflow:inherit;position:absolute;inset:0}.gux-container nav{inline-size:fit-content;margin-block:40px;margin-inline:auto}.gux-container nav ul{padding:0;margin:0}";export{s as gux_skip_navigation_list}
1
+ import{r as i,h as t,a as e}from"./p-OQnq_QVU.js";import{b as a}from"./p-U5Uee2Gr.js";import{t as n}from"./p-DKZuo64L.js";import"./p-Bwt-u0lF.js";var o={navigationName:"Skip links"};const s=class{constructor(t){i(this,t)}async componentWillLoad(){n(this.root),this.i18n=await a(this.root,o)}render(){return t("div",{key:"f37490e773907b22438d2a4f81651bf095c6d3aa",class:"gux-container"},t("nav",{key:"10ccc63658c0a80d0e67cf52bfc32ef23d6f0cb0","aria-label":this.i18n("navigationName")},t("ul",{key:"7990811c22ca2bbe54856e672241c072a58023ee",role:"list"},t("slot",{key:"a30a3efbe09cedafde4606d22bff346cf9c9dbdc"}))))}static get delegatesFocus(){return!0}get root(){return e(this)}};s.style=":host{position:absolute;top:auto;left:-10000px;width:1px;height:1px;overflow:hidden}:host(:focus-within){position:inherit;top:inherit;left:inherit;width:inherit;height:inherit;overflow:inherit;position:absolute;inset:0}.gux-container nav{inline-size:fit-content;margin-block:40px;margin-inline:auto}.gux-container nav ul{padding:0;margin:0}";export{s as gux_skip_navigation_list}
@@ -1 +1 @@
1
- import{r as e,c as t,h as r,a as s}from"./p-OQnq_QVU.js";import{t as i}from"./p-Bblleze_.js";const p=class{constructor(r){e(this,r),this.guxactivestepchange=t(this,"guxactivestepchange",7),this.orientation="horizontal",this.disabled=!1,this.stepList=[]}onInternalActiveStepChange(e){e.stopPropagation(),this.activateStep(null==e?void 0:e.detail,this.stepList)}watchActiveStep(e){this.activateStep(e,this.stepList),this.guxactivestepchange.emit(e)}componentWillLoad(){i(this.root)}componentDidLoad(){this.activateStep(this.activeStepId,this.stepList),this.activeStepId&&this.guxactivestepchange.emit(this.activeStepId)}activateStep(e,t){e&&(this.activeStepId=e),null==t||t.forEach((e=>{e.guxSetActive(e.stepId===this.activeStepId)}))}onSlotChange(){const e=this.root.shadowRoot.querySelector("slot");this.stepList=e.assignedElements()}render(){return r("div",{key:"821fcc944ef24e52d697ec4cac7022ce25fa7a60",class:{"gux-stepper":!0,[`gux-stepper-${this.orientation}`]:!0}},r("slot",{key:"c89168001ecb401b874c1f2300d601deff6a6e52",onSlotchange:this.onSlotChange.bind(this)}))}get root(){return s(this)}static get watchers(){return{activeStepId:[{watchActiveStep:0}]}}};p.style=":host{display:flex;flex-direction:column}:host .gux-stepper{display:flex;block-size:100%}:host .gux-stepper.gux-stepper-horizontal{flex-direction:row;--stepper-min-inline-size:var(--gse-ui-stepper-step-horizontal-minWidth);--stepper-min-block-size:var(--gse-ui-stepper-step-horizontal-minHeight);--step-gap:var(--gse-ui-stepper-step-gap);--stepper-padding-block:var(--gse-ui-stepper-step-horizontal-gap) 0;--stepper-border-block-start-incomplete:var( --gse-ui-stepper-bar-horizontal-height ) var(--gse-ui-stepper-bar-incompleted-foregroundColor) solid;--stepper-border-block-start-completed:var( --gse-ui-stepper-bar-horizontal-height ) var(--gse-ui-stepper-icon-completed-selectedForegroundColor) solid;--stepper-border-block-start-error:var( --gse-ui-stepper-bar-horizontal-height ) var(--gse-ui-stepper-bar-error-foregroundColor) solid;--stepper-border-block-start-active:var( --gse-ui-stepper-bar-horizontal-height ) var(--gse-ui-stepper-bar-active-foregroundColor) solid}:host .gux-stepper.gux-stepper-vertical{flex-direction:column;--step-gap:var(--gse-ui-stepper-step-vertical-gap);--stepper-min-block-size:var(--gse-ui-stepper-step-vertical-minHeight);--stepper-min-inline-size:var(--gse-ui-stepper-step-vertical-minWidth);--stepper-padding-inline:var(--gse-ui-stepper-step-vertical-gap) 0;--stepper-border-inline-start-incomplete:var( --gse-ui-stepper-bar-horizontal-height ) var(--gse-ui-stepper-bar-incompleted-foregroundColor) solid;--stepper-border-inline-start-completed:var( --gse-ui-stepper-bar-horizontal-height ) var(--gse-ui-stepper-icon-completed-selectedForegroundColor) solid;--stepper-border-inline-start-error:var( --gse-ui-stepper-bar-horizontal-height ) var(--gse-ui-stepper-bar-error-foregroundColor) solid;--stepper-border-inline-start-active:var( --gse-ui-stepper-bar-horizontal-height ) var(--gse-ui-stepper-bar-active-foregroundColor) solid;--stepper-step-body-margin:var( --gse-ui-stepper-step-vertical-body-marginTop )}";export{p as gux_stepper_beta}
1
+ import{r as e,c as t,h as r,a as s}from"./p-OQnq_QVU.js";import{t as i}from"./p-DKZuo64L.js";const p=class{constructor(r){e(this,r),this.guxactivestepchange=t(this,"guxactivestepchange",7),this.orientation="horizontal",this.disabled=!1,this.stepList=[]}onInternalActiveStepChange(e){e.stopPropagation(),this.activateStep(null==e?void 0:e.detail,this.stepList)}watchActiveStep(e){this.activateStep(e,this.stepList),this.guxactivestepchange.emit(e)}componentWillLoad(){i(this.root)}componentDidLoad(){this.activateStep(this.activeStepId,this.stepList),this.activeStepId&&this.guxactivestepchange.emit(this.activeStepId)}activateStep(e,t){e&&(this.activeStepId=e),null==t||t.forEach((e=>{e.guxSetActive(e.stepId===this.activeStepId)}))}onSlotChange(){const e=this.root.shadowRoot.querySelector("slot");this.stepList=e.assignedElements()}render(){return r("div",{key:"821fcc944ef24e52d697ec4cac7022ce25fa7a60",class:{"gux-stepper":!0,[`gux-stepper-${this.orientation}`]:!0}},r("slot",{key:"c89168001ecb401b874c1f2300d601deff6a6e52",onSlotchange:this.onSlotChange.bind(this)}))}get root(){return s(this)}static get watchers(){return{activeStepId:[{watchActiveStep:0}]}}};p.style=":host{display:flex;flex-direction:column}:host .gux-stepper{display:flex;block-size:100%}:host .gux-stepper.gux-stepper-horizontal{flex-direction:row;--stepper-min-inline-size:var(--gse-ui-stepper-step-horizontal-minWidth);--stepper-min-block-size:var(--gse-ui-stepper-step-horizontal-minHeight);--step-gap:var(--gse-ui-stepper-step-gap);--stepper-padding-block:var(--gse-ui-stepper-step-horizontal-gap) 0;--stepper-border-block-start-incomplete:var( --gse-ui-stepper-bar-horizontal-height ) var(--gse-ui-stepper-bar-incompleted-foregroundColor) solid;--stepper-border-block-start-completed:var( --gse-ui-stepper-bar-horizontal-height ) var(--gse-ui-stepper-icon-completed-selectedForegroundColor) solid;--stepper-border-block-start-error:var( --gse-ui-stepper-bar-horizontal-height ) var(--gse-ui-stepper-bar-error-foregroundColor) solid;--stepper-border-block-start-active:var( --gse-ui-stepper-bar-horizontal-height ) var(--gse-ui-stepper-bar-active-foregroundColor) solid}:host .gux-stepper.gux-stepper-vertical{flex-direction:column;--step-gap:var(--gse-ui-stepper-step-vertical-gap);--stepper-min-block-size:var(--gse-ui-stepper-step-vertical-minHeight);--stepper-min-inline-size:var(--gse-ui-stepper-step-vertical-minWidth);--stepper-padding-inline:var(--gse-ui-stepper-step-vertical-gap) 0;--stepper-border-inline-start-incomplete:var( --gse-ui-stepper-bar-horizontal-height ) var(--gse-ui-stepper-bar-incompleted-foregroundColor) solid;--stepper-border-inline-start-completed:var( --gse-ui-stepper-bar-horizontal-height ) var(--gse-ui-stepper-icon-completed-selectedForegroundColor) solid;--stepper-border-inline-start-error:var( --gse-ui-stepper-bar-horizontal-height ) var(--gse-ui-stepper-bar-error-foregroundColor) solid;--stepper-border-inline-start-active:var( --gse-ui-stepper-bar-horizontal-height ) var(--gse-ui-stepper-bar-active-foregroundColor) solid;--stepper-step-body-margin:var( --gse-ui-stepper-step-vertical-body-marginTop )}";export{p as gux_stepper_beta}
@@ -1 +1 @@
1
- import{r as e,c as t,h as s,a as i}from"./p-OQnq_QVU.js";import{o}from"./p-CF55kYjc.js";import{O as a}from"./p-Bek-SoDA.js";import{a as n}from"./p-Bg4q97BS.js";import{t as c}from"./p-Bblleze_.js";import{b as r}from"./p-U5Uee2Gr.js";import"./p-Bwt-u0lF.js";var p={searchAria:"Search"};const d=class{constructor(s){e(this,s),this.input=t(this,"input",7),this.filter=t(this,"filter",7),this.disabled=!1,this.noFilter=!1,this.filterDebounceTimeout=500,this.dropdownHeight="320px"}watchValue(e){this.opened&&e&&this.closeDropdown(!1)}get value(){var e;return null===(e=this.currentlySelectedOption)||void 0===e?void 0:e.text}getSelectedValues(){return Promise.resolve([this.value])}async setLabeledBy(e){this.srLabelledby=e}onClickOutside(){this.closeDropdown(!1)}async componentWillLoad(){c(this.root),this.i18n=await r(this.root,p),this.handleSelectionChange=this.handleSelectionChange.bind(this),this.updateSelectionState(),this.addOptionListener(),this.slotObserver=o(this.root,(()=>this.updateSelectionState()))}disconnectedCallback(){this.slotObserver&&this.slotObserver.disconnect()}render(){return s("gux-popup",{key:"952e9b0497ef3c10ca5a379bd085d80b8947fc58",expanded:this.opened,disabled:this.disabled},s("div",{key:"8b498d1dab6e3005b0c8832571087e0e3f8963ff",slot:"target",class:"gux-select-field",onMouseDown:()=>this.inputMouseDown()},s("a",{key:"17483e68248f7228ff99a87c3d72abb401f0133c",ref:e=>this.inputBox=e,class:"gux-select-input","aria-labelledby":this.srLabelledby,tabindex:"0",onKeyDown:e=>this.inputKeyDown(e)},this.placeholder&&!this.value&&s("span",{key:"522cacade8541847aa30886c5d8ca681a3dcb151",class:"gux-select-placeholder",title:this.placeholder},this.placeholder),this.value&&s("span",{key:"07c93e5fd416c8c386ef1c1f7f668937104fce00",class:"gux-select-value",title:this.value},this.value)),s("div",{key:"03a7e87211bdf983e9b1342940d46536c7fce480",class:"gux-icon-wrapper"},s("gux-icon",{key:"517a6830a9c29607d011ecfcff8809a084b2f04b",decorative:!0,"icon-name":"custom/chevron-down-small-regular"}))),s("div",{key:"51171aa0e254179552e6dfb827668882994a8813",slot:"popup",class:"gux-advanced-dropdown-menu"},s("div",{key:"ca03d8835744b0ddfb0ea4f597003f72a40881a6",class:"gux-dropdown-menu-container"},s("gux-form-field-search",{key:"af3ae0bc4f20ab0a06b7ff053b753eb85fb61bae","label-position":"screenreader"},s("label",{key:"8a285b95b4b74cf62d933c49572abb4434f208b8",slot:"label"},this.i18n("searchAria")),s("input",{key:"96d5d36788fd8f66f69678549e88bd34761ee4ff",slot:"input",type:"search",onInput:e=>{this.handleSearchInput(e)},ref:e=>this.searchInput=e})),s("div",{key:"b1632faabc93dfba17effd707ca0803544c6e53c",class:"gux-dropdown-options",style:{maxHeight:this.dropdownHeight},onKeyDown:e=>this.optionsKeyDown(e)},s("slot",{key:"50d8e65d0386af5161f495873baaa057624b4843"})))))}updateSelectionState(){this.selectionOptions=this.getSelectionOptions(),this.currentlySelectedOption=this.selectionOptions.find((e=>e.selected))}addOptionListener(){this.root.addEventListener("selectedChanged",(e=>this.handleSelectionChange(e)))}handleSelectionChange({target:e}){const t=e;this.closeDropdown(!0),this.currentlySelectedOption!==t&&(this.currentlySelectedOption&&(this.currentlySelectedOption.selected=!1),this.currentlySelectedOption=t,this.input.emit(t.value))}getSelectionOptions(){const e=this.root.querySelectorAll("gux-dropdown-option");return Array.from(e)}inputMouseDown(){this.disabled||(this.opened?this.closeDropdown(!0):this.openDropdown(!1))}getFocusIndex(){return this.selectionOptions.findIndex((e=>e.matches(":focus")))}optionsKeyDown(e){switch(e.key){case"ArrowUp":{e.preventDefault();const t=this.getFocusIndex();t>0&&this.selectionOptions[t-1].focus();break}case"ArrowDown":{e.preventDefault();const t=this.getFocusIndex();t<this.selectionOptions.length-1&&this.selectionOptions[t+1].focus();break}case"Home":if(!this.selectionOptions.length)return;this.selectionOptions[0].focus();break;case"End":if(!this.selectionOptions.length)return;this.selectionOptions[this.selectionOptions.length-1].focus()}}inputKeyDown(e){switch(e.key){case"ArrowUp":case"ArrowDown":case" ":this.openDropdown(!0)}}handleSearchInput(e){e.stopPropagation(),clearTimeout(this.filterDebounceTimer),this.filterDebounceTimer=setTimeout((()=>this.searchRequested()),this.filterDebounceTimeout)}searchRequested(){this.filter.emit(this.searchInput.value),this.setFilteredOptions()}setFilteredOptions(){const e=this.searchInput.value;if(!this.noFilter)for(const t of this.selectionOptions)t.shouldFilter(e).then((e=>{t.filtered=e}))}changeFocusToSearch(){n((()=>{this.searchInput.focus()}))}openDropdown(e){this.opened=!0,e&&this.changeFocusToSearch()}closeDropdown(e){this.opened=!1,this.searchInput.value="",this.setFilteredOptions(),e&&this.inputBox.focus()}get root(){return i(this)}static get watchers(){return{disabled:[{watchValue:0}]}}};(function(e,t,s,i){var o,a=arguments.length,n=a<3?t:null===i?i=Object.getOwnPropertyDescriptor(t,s):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)n=Reflect.decorate(e,t,s,i);else for(var c=e.length-1;c>=0;c--)(o=e[c])&&(n=(a<3?o(n):a>3?o(t,s,n):o(t,s))||n);a>3&&n&&Object.defineProperty(t,s,n)})([a()],d.prototype,"onClickOutside",null),d.style=":host{color:#2e394c}gux-popup{display:block;margin:4px 0}gux-popup .gux-select-field{position:relative;width:100%;height:32px}gux-popup .gux-select-field a.gux-select-input{position:absolute;inset:0;padding:6px 24px 6px 12px;overflow:hidden;text-overflow:ellipsis;color:#2e394c;white-space:nowrap;text-decoration:none;cursor:pointer;background-color:#f6f7f9;background-image:none;border:1px solid #6b7585;border-radius:4px;box-shadow:inset 0 0 4px rgba(32, 41, 55, 0.16)}gux-popup .gux-select-field a.gux-select-input .gux-select-placeholder,gux-popup .gux-select-field a.gux-select-input .gux-select-value{line-height:20px}gux-popup .gux-select-field a.gux-select-input .gux-select-placeholder{color:#596373}gux-popup .gux-select-field a.gux-select-input:focus-visible{outline:var(--gse-semantic-focusOutline-md-borderWidth) solid var(--gse-semantic-border-focus);outline-offset:var(--gse-semantic-focusOutline-offset)}gux-popup .gux-select-field .gux-icon-wrapper gux-icon{width:16px;height:16px;color:#596373}gux-popup .gux-select-field .gux-icon-wrapper{position:absolute;top:1px;right:8px;bottom:0;display:flex;align-items:center;overflow:hidden;cursor:pointer}gux-popup .gux-select-field:hover .gux-icon-wrapper gux-icon{color:#2e394c}gux-popup .gux-advanced-dropdown-menu{background:#fdfdfd;border:1px solid #b4bccb;border-radius:4px;box-shadow:0 0 2px 0 rgba(32, 41, 55, 0.24)}gux-popup .gux-advanced-dropdown-menu .gux-dropdown-menu-container gux-form-field-search{margin:8px 16px}gux-popup .gux-advanced-dropdown-menu .gux-dropdown-menu-container gux-form-field-search input::-webkit-search-cancel-button,gux-popup .gux-advanced-dropdown-menu .gux-dropdown-menu-container gux-form-field-search input::-webkit-search-results-button,gux-popup .gux-advanced-dropdown-menu .gux-dropdown-menu-container gux-form-field-search input::-webkit-calendar-picker-indicator{display:none;-webkit-appearance:none}gux-popup .gux-dropdown-options{padding:8px 0;margin:0;overflow-y:auto;color:#2e394c;background:#fdfdfd;border-radius:4px;box-shadow:none}";export{d as gux_advanced_dropdown_legacy}
1
+ import{r as e,c as t,h as s,a as i}from"./p-OQnq_QVU.js";import{o}from"./p-CF55kYjc.js";import{O as a}from"./p-Bek-SoDA.js";import{a as n}from"./p-Bg4q97BS.js";import{t as c}from"./p-DKZuo64L.js";import{b as r}from"./p-U5Uee2Gr.js";import"./p-Bwt-u0lF.js";var p={searchAria:"Search"};const d=class{constructor(s){e(this,s),this.input=t(this,"input",7),this.filter=t(this,"filter",7),this.disabled=!1,this.noFilter=!1,this.filterDebounceTimeout=500,this.dropdownHeight="320px"}watchValue(e){this.opened&&e&&this.closeDropdown(!1)}get value(){var e;return null===(e=this.currentlySelectedOption)||void 0===e?void 0:e.text}getSelectedValues(){return Promise.resolve([this.value])}async setLabeledBy(e){this.srLabelledby=e}onClickOutside(){this.closeDropdown(!1)}async componentWillLoad(){c(this.root),this.i18n=await r(this.root,p),this.handleSelectionChange=this.handleSelectionChange.bind(this),this.updateSelectionState(),this.addOptionListener(),this.slotObserver=o(this.root,(()=>this.updateSelectionState()))}disconnectedCallback(){this.slotObserver&&this.slotObserver.disconnect()}render(){return s("gux-popup",{key:"952e9b0497ef3c10ca5a379bd085d80b8947fc58",expanded:this.opened,disabled:this.disabled},s("div",{key:"8b498d1dab6e3005b0c8832571087e0e3f8963ff",slot:"target",class:"gux-select-field",onMouseDown:()=>this.inputMouseDown()},s("a",{key:"17483e68248f7228ff99a87c3d72abb401f0133c",ref:e=>this.inputBox=e,class:"gux-select-input","aria-labelledby":this.srLabelledby,tabindex:"0",onKeyDown:e=>this.inputKeyDown(e)},this.placeholder&&!this.value&&s("span",{key:"522cacade8541847aa30886c5d8ca681a3dcb151",class:"gux-select-placeholder",title:this.placeholder},this.placeholder),this.value&&s("span",{key:"07c93e5fd416c8c386ef1c1f7f668937104fce00",class:"gux-select-value",title:this.value},this.value)),s("div",{key:"03a7e87211bdf983e9b1342940d46536c7fce480",class:"gux-icon-wrapper"},s("gux-icon",{key:"517a6830a9c29607d011ecfcff8809a084b2f04b",decorative:!0,"icon-name":"custom/chevron-down-small-regular"}))),s("div",{key:"51171aa0e254179552e6dfb827668882994a8813",slot:"popup",class:"gux-advanced-dropdown-menu"},s("div",{key:"ca03d8835744b0ddfb0ea4f597003f72a40881a6",class:"gux-dropdown-menu-container"},s("gux-form-field-search",{key:"af3ae0bc4f20ab0a06b7ff053b753eb85fb61bae","label-position":"screenreader"},s("label",{key:"8a285b95b4b74cf62d933c49572abb4434f208b8",slot:"label"},this.i18n("searchAria")),s("input",{key:"96d5d36788fd8f66f69678549e88bd34761ee4ff",slot:"input",type:"search",onInput:e=>{this.handleSearchInput(e)},ref:e=>this.searchInput=e})),s("div",{key:"b1632faabc93dfba17effd707ca0803544c6e53c",class:"gux-dropdown-options",style:{maxHeight:this.dropdownHeight},onKeyDown:e=>this.optionsKeyDown(e)},s("slot",{key:"50d8e65d0386af5161f495873baaa057624b4843"})))))}updateSelectionState(){this.selectionOptions=this.getSelectionOptions(),this.currentlySelectedOption=this.selectionOptions.find((e=>e.selected))}addOptionListener(){this.root.addEventListener("selectedChanged",(e=>this.handleSelectionChange(e)))}handleSelectionChange({target:e}){const t=e;this.closeDropdown(!0),this.currentlySelectedOption!==t&&(this.currentlySelectedOption&&(this.currentlySelectedOption.selected=!1),this.currentlySelectedOption=t,this.input.emit(t.value))}getSelectionOptions(){const e=this.root.querySelectorAll("gux-dropdown-option");return Array.from(e)}inputMouseDown(){this.disabled||(this.opened?this.closeDropdown(!0):this.openDropdown(!1))}getFocusIndex(){return this.selectionOptions.findIndex((e=>e.matches(":focus")))}optionsKeyDown(e){switch(e.key){case"ArrowUp":{e.preventDefault();const t=this.getFocusIndex();t>0&&this.selectionOptions[t-1].focus();break}case"ArrowDown":{e.preventDefault();const t=this.getFocusIndex();t<this.selectionOptions.length-1&&this.selectionOptions[t+1].focus();break}case"Home":if(!this.selectionOptions.length)return;this.selectionOptions[0].focus();break;case"End":if(!this.selectionOptions.length)return;this.selectionOptions[this.selectionOptions.length-1].focus()}}inputKeyDown(e){switch(e.key){case"ArrowUp":case"ArrowDown":case" ":this.openDropdown(!0)}}handleSearchInput(e){e.stopPropagation(),clearTimeout(this.filterDebounceTimer),this.filterDebounceTimer=setTimeout((()=>this.searchRequested()),this.filterDebounceTimeout)}searchRequested(){this.filter.emit(this.searchInput.value),this.setFilteredOptions()}setFilteredOptions(){const e=this.searchInput.value;if(!this.noFilter)for(const t of this.selectionOptions)t.shouldFilter(e).then((e=>{t.filtered=e}))}changeFocusToSearch(){n((()=>{this.searchInput.focus()}))}openDropdown(e){this.opened=!0,e&&this.changeFocusToSearch()}closeDropdown(e){this.opened=!1,this.searchInput.value="",this.setFilteredOptions(),e&&this.inputBox.focus()}get root(){return i(this)}static get watchers(){return{disabled:[{watchValue:0}]}}};(function(e,t,s,i){var o,a=arguments.length,n=a<3?t:null===i?i=Object.getOwnPropertyDescriptor(t,s):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)n=Reflect.decorate(e,t,s,i);else for(var c=e.length-1;c>=0;c--)(o=e[c])&&(n=(a<3?o(n):a>3?o(t,s,n):o(t,s))||n);a>3&&n&&Object.defineProperty(t,s,n)})([a()],d.prototype,"onClickOutside",null),d.style=":host{color:#2e394c}gux-popup{display:block;margin:4px 0}gux-popup .gux-select-field{position:relative;width:100%;height:32px}gux-popup .gux-select-field a.gux-select-input{position:absolute;inset:0;padding:6px 24px 6px 12px;overflow:hidden;text-overflow:ellipsis;color:#2e394c;white-space:nowrap;text-decoration:none;cursor:pointer;background-color:#f6f7f9;background-image:none;border:1px solid #6b7585;border-radius:4px;box-shadow:inset 0 0 4px rgba(32, 41, 55, 0.16)}gux-popup .gux-select-field a.gux-select-input .gux-select-placeholder,gux-popup .gux-select-field a.gux-select-input .gux-select-value{line-height:20px}gux-popup .gux-select-field a.gux-select-input .gux-select-placeholder{color:#596373}gux-popup .gux-select-field a.gux-select-input:focus-visible{outline:var(--gse-semantic-focusOutline-md-borderWidth) solid var(--gse-semantic-border-focus);outline-offset:var(--gse-semantic-focusOutline-offset)}gux-popup .gux-select-field .gux-icon-wrapper gux-icon{width:16px;height:16px;color:#596373}gux-popup .gux-select-field .gux-icon-wrapper{position:absolute;top:1px;right:8px;bottom:0;display:flex;align-items:center;overflow:hidden;cursor:pointer}gux-popup .gux-select-field:hover .gux-icon-wrapper gux-icon{color:#2e394c}gux-popup .gux-advanced-dropdown-menu{background:#fdfdfd;border:1px solid #b4bccb;border-radius:4px;box-shadow:0 0 2px 0 rgba(32, 41, 55, 0.24)}gux-popup .gux-advanced-dropdown-menu .gux-dropdown-menu-container gux-form-field-search{margin:8px 16px}gux-popup .gux-advanced-dropdown-menu .gux-dropdown-menu-container gux-form-field-search input::-webkit-search-cancel-button,gux-popup .gux-advanced-dropdown-menu .gux-dropdown-menu-container gux-form-field-search input::-webkit-search-results-button,gux-popup .gux-advanced-dropdown-menu .gux-dropdown-menu-container gux-form-field-search input::-webkit-calendar-picker-indicator{display:none;-webkit-appearance:none}gux-popup .gux-dropdown-options{padding:8px 0;margin:0;overflow-y:auto;color:#2e394c;background:#fdfdfd;border-radius:4px;box-shadow:none}";export{d as gux_advanced_dropdown_legacy}
@@ -1 +1 @@
1
- import{r as a,c as t,h as e,a as i}from"./p-OQnq_QVU.js";import{t as n}from"./p-Bblleze_.js";const s=class{constructor(e){a(this,e),this.guxpaginationchange=t(this,"guxpaginationchange",7),this.currentPage=1,this.totalItems=0,this.itemsPerPage=25,this.layout="full"}setPage(a){if(a<=0)return void this.setPage(1);const t=this.calculateTotalPages();a>t?this.setPage(t):(this.currentPage=a,this.guxpaginationchange.emit({currentPage:this.currentPage,itemsPerPage:this.itemsPerPage}))}calculateTotalPages(){return Math.max(1,Math.ceil(this.totalItems/this.itemsPerPage))}calculateCurrentPage(){return Math.max(this.totalPages>0?1:0,Math.min(this.currentPage,this.totalPages))}handleInternalitemsperpagechange(a){this.itemsPerPage=a.detail,this.setPage(1)}handleInternalcurrentpagechange(a){this.setPage(a.detail)}getPaginationInfoElement(a){if("expanded"===a)return null;const t=[e("gux-pagination-item-counts-legacy",{"total-items":this.totalItems,"current-page":this.currentPage,"items-per-page":this.itemsPerPage})];return"full"===a&&t.push(e("gux-pagination-items-per-page-legacy",{"items-per-page":this.itemsPerPage,onInternalitemsperpagechange:this.handleInternalitemsperpagechange.bind(this)})),e("div",{class:"gux-pagination-info"},t)}componentWillLoad(){n(this.root,{variant:this.layout})}componentWillRender(){this.totalPages=this.calculateTotalPages(),this.currentPage=this.calculateCurrentPage()}render(){return e("div",{key:"ae7cd2b35ebb8a4d9aaee353c43a24f5693a2fef",class:"gux-pagination-container"},this.getPaginationInfoElement(this.layout),e("div",{key:"22d7b8ea944d575d6208e328619b4fdc906fec30",class:"gux-pagination-change"},e("gux-pagination-buttons-legacy",{key:"c260978cdbd62c904c94ff4aa76d616518f81f18",layout:this.layout,"current-page":this.currentPage,"total-pages":this.totalPages,onInternalcurrentpagechange:this.handleInternalcurrentpagechange.bind(this)})))}get root(){return i(this)}};s.style=":host{display:block;border-top:var(--gse-ui-dataTableItems-tablePagination-divider-width) var(--gse-ui-dataTableItems-tablePagination-divider-style) var(--gse-ui-dataTableItems-tablePagination-divider-color)}.gux-pagination-container{display:flex;flex-direction:row;flex-wrap:nowrap;place-content:stretch space-between;align-items:center;height:var(--gse-ui-dataTableItems-cell-tablePagination-height);padding:var(--gse-ui-dataTableItems-tablePagination-padding);background-color:var(--gse-ui-dataTableItems-tablePagination-defaultBackgroundColor)}.gux-pagination-container .gux-pagination-info{display:flex;flex:1 1 auto;flex-direction:row;flex-wrap:nowrap;gap:var(--gse-ui-dataTableItems-tablePagination-recordsetControls-gap);place-content:stretch flex-start;align-items:center;align-self:auto;order:0}.gux-pagination-container .gux-pagination-info>*{flex:0 1 auto;align-self:auto;order:0}.gux-pagination-container .gux-pagination-change{flex:1 1 auto;align-self:auto;order:0}.gux-pagination-container .gux-pagination-change:first-child{margin-left:0}";export{s as gux_pagination_legacy}
1
+ import{r as a,c as t,h as e,a as i}from"./p-OQnq_QVU.js";import{t as n}from"./p-DKZuo64L.js";const s=class{constructor(e){a(this,e),this.guxpaginationchange=t(this,"guxpaginationchange",7),this.currentPage=1,this.totalItems=0,this.itemsPerPage=25,this.layout="full"}setPage(a){if(a<=0)return void this.setPage(1);const t=this.calculateTotalPages();a>t?this.setPage(t):(this.currentPage=a,this.guxpaginationchange.emit({currentPage:this.currentPage,itemsPerPage:this.itemsPerPage}))}calculateTotalPages(){return Math.max(1,Math.ceil(this.totalItems/this.itemsPerPage))}calculateCurrentPage(){return Math.max(this.totalPages>0?1:0,Math.min(this.currentPage,this.totalPages))}handleInternalitemsperpagechange(a){this.itemsPerPage=a.detail,this.setPage(1)}handleInternalcurrentpagechange(a){this.setPage(a.detail)}getPaginationInfoElement(a){if("expanded"===a)return null;const t=[e("gux-pagination-item-counts-legacy",{"total-items":this.totalItems,"current-page":this.currentPage,"items-per-page":this.itemsPerPage})];return"full"===a&&t.push(e("gux-pagination-items-per-page-legacy",{"items-per-page":this.itemsPerPage,onInternalitemsperpagechange:this.handleInternalitemsperpagechange.bind(this)})),e("div",{class:"gux-pagination-info"},t)}componentWillLoad(){n(this.root,{variant:this.layout})}componentWillRender(){this.totalPages=this.calculateTotalPages(),this.currentPage=this.calculateCurrentPage()}render(){return e("div",{key:"ae7cd2b35ebb8a4d9aaee353c43a24f5693a2fef",class:"gux-pagination-container"},this.getPaginationInfoElement(this.layout),e("div",{key:"22d7b8ea944d575d6208e328619b4fdc906fec30",class:"gux-pagination-change"},e("gux-pagination-buttons-legacy",{key:"c260978cdbd62c904c94ff4aa76d616518f81f18",layout:this.layout,"current-page":this.currentPage,"total-pages":this.totalPages,onInternalcurrentpagechange:this.handleInternalcurrentpagechange.bind(this)})))}get root(){return i(this)}};s.style=":host{display:block;border-top:var(--gse-ui-dataTableItems-tablePagination-divider-width) var(--gse-ui-dataTableItems-tablePagination-divider-style) var(--gse-ui-dataTableItems-tablePagination-divider-color)}.gux-pagination-container{display:flex;flex-direction:row;flex-wrap:nowrap;place-content:stretch space-between;align-items:center;height:var(--gse-ui-dataTableItems-cell-tablePagination-height);padding:var(--gse-ui-dataTableItems-tablePagination-padding);background-color:var(--gse-ui-dataTableItems-tablePagination-defaultBackgroundColor)}.gux-pagination-container .gux-pagination-info{display:flex;flex:1 1 auto;flex-direction:row;flex-wrap:nowrap;gap:var(--gse-ui-dataTableItems-tablePagination-recordsetControls-gap);place-content:stretch flex-start;align-items:center;align-self:auto;order:0}.gux-pagination-container .gux-pagination-info>*{flex:0 1 auto;align-self:auto;order:0}.gux-pagination-container .gux-pagination-change{flex:1 1 auto;align-self:auto;order:0}.gux-pagination-container .gux-pagination-change:first-child{margin-left:0}";export{s as gux_pagination_legacy}
@@ -1 +1 @@
1
- import{r as t,c as e,h as a,a as i}from"./p-OQnq_QVU.js";import{t as n}from"./p-Bblleze_.js";import{b as s}from"./p-U5Uee2Gr.js";import"./p-Bwt-u0lF.js";var o={previous:"Previous",next:"Next",pagination:"Pagination"};const l=class{constructor(a){t(this,a),this.guxPaginationCursorchange=e(this,"guxPaginationCursorchange",7),this.guxitemsperpagechange=e(this,"guxitemsperpagechange",7),this.hasPrevious=!1,this.hasNext=!1,this.layout="simple",this.disabled=!1}handleInternalitemsperpagechange(t){this.guxitemsperpagechange.emit(t.detail)}onButtonClick(t){this.disabled||("previous"===t&&this.hasPrevious||"next"===t&&this.hasNext)&&this.guxPaginationCursorchange.emit(t)}async componentWillLoad(){n(this.root),this.i18n=await s(this.root,o)}renderSimpleLayout(){return[a("nav",{"aria-label":this.label||this.i18n("pagination"),class:"gux-pagination-button-container"},a("gux-button-slot",{accent:"ghost"},a("button",{class:"gux-simple-button",type:"button",disabled:this.disabled||!this.hasPrevious,onClick:()=>this.onButtonClick("previous")},a("gux-icon",{iconName:"custom/chevron-left-small-regular",decorative:!0,size:"small"}),a("gux-screen-reader-beta",null,this.i18n("previous")))),a("gux-button-slot",{accent:"ghost"},a("button",{class:"gux-simple-button",type:"button",disabled:this.disabled||!this.hasNext,onClick:()=>this.onButtonClick("next")},a("gux-icon",{iconName:"custom/chevron-right-small-regular",decorative:!0,size:"small"}),a("gux-screen-reader-beta",null,this.i18n("next")))))]}renderAdvancedLayout(){return[a("nav",{"aria-label":this.label||this.i18n("pagination"),class:"gux-pagination-button-container"},a("gux-button-slot",{accent:"ghost"},a("button",{type:"button",disabled:this.disabled||!this.hasPrevious,onClick:()=>this.onButtonClick("previous")},a("div",{class:"gux-button-align-content"},a("gux-icon",{decorative:!0,iconName:"custom/chevron-left-small-regular",size:"small"}),a("span",null,this.i18n("previous"))))),a("gux-button-slot",{accent:"ghost"},a("button",{type:"button",disabled:this.disabled||!this.hasNext,onClick:()=>this.onButtonClick("next")},a("div",{class:"gux-button-align-content"},a("span",null,this.i18n("next")),a("gux-icon",{decorative:!0,iconName:"custom/chevron-right-small-regular",size:"small"}))))),this.renderItemsPerPage()]}renderItemsPerPage(){if(this.itemsPerPage)return a("gux-pagination-items-per-page",{"items-per-page":this.itemsPerPage,disabled:this.disabled,onInternalitemsperpagechange:this.handleInternalitemsperpagechange.bind(this)})}render(){return"advanced"===this.layout?this.renderAdvancedLayout():this.renderSimpleLayout()}get root(){return i(this)}};l.style=":host{display:flex;flex-direction:row-reverse;flex-wrap:nowrap;place-content:stretch space-between;align-items:flex-start;padding:var(--gse-ui-dataTableItems-tablePagination-padding);font-family:var(--gse-ui-dataTableItems-tablePagination-defaultText-fontFamily);font-size:var(--gse-ui-dataTableItems-tablePagination-defaultText-fontSize);font-weight:var(--gse-ui-dataTableItems-tablePagination-defaultText-fontWeight);line-height:var(--gse-ui-dataTableItems-tablePagination-defaultText-lineHeight);color:var(--gse-ui-dataTableItems-tablePagination-foregroundColor);background-color:var(--gse-ui-dataTableItems-tablePagination-defaultBackgroundColor);border-block-start:var(--gse-ui-dataTableItems-tablePagination-divider-width) var(--gse-ui-dataTableItems-tablePagination-divider-style) var(--gse-ui-dataTableItems-tablePagination-divider-color)}:host .gux-pagination-button-container{display:flex;flex-wrap:nowrap;gap:var(--gse-ui-dataTableItems-tablePagination-recordsetControls-gap);align-content:center}:host .gux-button-align-content{display:flex;flex-direction:row;flex-wrap:nowrap;gap:var(--gse-ui-button-gap);align-content:center;align-items:center}:host .gux-button-align-content>*{flex:0 1 auto;align-self:auto;order:0}:host gux-icon{display:flex}:host gux-icon:dir(rtl){transform:scaleX(-1)}";export{l as gux_pagination_cursor}
1
+ import{r as t,c as e,h as a,a as i}from"./p-OQnq_QVU.js";import{t as n}from"./p-DKZuo64L.js";import{b as s}from"./p-U5Uee2Gr.js";import"./p-Bwt-u0lF.js";var o={previous:"Previous",next:"Next",pagination:"Pagination"};const r=class{constructor(a){t(this,a),this.guxPaginationCursorchange=e(this,"guxPaginationCursorchange",7),this.guxitemsperpagechange=e(this,"guxitemsperpagechange",7),this.hasPrevious=!1,this.hasNext=!1,this.layout="simple",this.disabled=!1}handleInternalitemsperpagechange(t){this.guxitemsperpagechange.emit(t.detail)}onButtonClick(t){this.disabled||("previous"===t&&this.hasPrevious||"next"===t&&this.hasNext)&&this.guxPaginationCursorchange.emit(t)}async componentWillLoad(){n(this.root),this.i18n=await s(this.root,o)}renderSimpleLayout(){return[a("nav",{"aria-label":this.label||this.i18n("pagination"),class:"gux-pagination-button-container"},a("gux-button-slot",{accent:"ghost"},a("button",{class:"gux-simple-button",type:"button",disabled:this.disabled||!this.hasPrevious,onClick:()=>this.onButtonClick("previous")},a("gux-icon",{iconName:"custom/chevron-left-small-regular",decorative:!0,size:"small"}),a("gux-screen-reader-beta",null,this.i18n("previous")))),a("gux-button-slot",{accent:"ghost"},a("button",{class:"gux-simple-button",type:"button",disabled:this.disabled||!this.hasNext,onClick:()=>this.onButtonClick("next")},a("gux-icon",{iconName:"custom/chevron-right-small-regular",decorative:!0,size:"small"}),a("gux-screen-reader-beta",null,this.i18n("next")))))]}renderAdvancedLayout(){return[a("nav",{"aria-label":this.label||this.i18n("pagination"),class:"gux-pagination-button-container"},a("gux-button-slot",{accent:"ghost"},a("button",{type:"button",disabled:this.disabled||!this.hasPrevious,onClick:()=>this.onButtonClick("previous")},a("div",{class:"gux-button-align-content"},a("gux-icon",{decorative:!0,iconName:"custom/chevron-left-small-regular",size:"small"}),a("span",null,this.i18n("previous"))))),a("gux-button-slot",{accent:"ghost"},a("button",{type:"button",disabled:this.disabled||!this.hasNext,onClick:()=>this.onButtonClick("next")},a("div",{class:"gux-button-align-content"},a("span",null,this.i18n("next")),a("gux-icon",{decorative:!0,iconName:"custom/chevron-right-small-regular",size:"small"}))))),this.renderItemsPerPage()]}renderItemsPerPage(){if(this.itemsPerPage)return a("gux-pagination-items-per-page",{"items-per-page":this.itemsPerPage,disabled:this.disabled,onInternalitemsperpagechange:this.handleInternalitemsperpagechange.bind(this)})}render(){return"advanced"===this.layout?this.renderAdvancedLayout():this.renderSimpleLayout()}get root(){return i(this)}};r.style=":host{display:flex;flex-direction:row-reverse;flex-wrap:nowrap;place-content:stretch space-between;align-items:flex-start;padding:var(--gse-ui-dataTableItems-tablePagination-padding);font-family:var(--gse-ui-dataTableItems-tablePagination-defaultText-fontFamily);font-size:var(--gse-ui-dataTableItems-tablePagination-defaultText-fontSize);font-weight:var(--gse-ui-dataTableItems-tablePagination-defaultText-fontWeight);line-height:var(--gse-ui-dataTableItems-tablePagination-defaultText-lineHeight);color:var(--gse-ui-dataTableItems-tablePagination-foregroundColor);background-color:var(--gse-ui-dataTableItems-tablePagination-defaultBackgroundColor);border-block-start:var(--gse-ui-dataTableItems-tablePagination-divider-width) var(--gse-ui-dataTableItems-tablePagination-divider-style) var(--gse-ui-dataTableItems-tablePagination-divider-color)}:host .gux-pagination-button-container{display:flex;flex-wrap:nowrap;gap:var(--gse-ui-dataTableItems-tablePagination-recordsetControls-gap);align-content:center}:host .gux-button-align-content{display:flex;flex-direction:row;flex-wrap:nowrap;gap:var(--gse-ui-button-gap);align-content:center;align-items:center}:host .gux-button-align-content>*{flex:0 1 auto;align-self:auto;order:0}:host gux-icon{display:flex}:host gux-icon:dir(rtl){transform:scaleX(-1)}";export{r as gux_pagination_cursor}
@@ -1 +1 @@
1
- import{r as e,f as r,h as t,a}from"./p-OQnq_QVU.js";import{b as s}from"./p-U5Uee2Gr.js";import{t as i}from"./p-Bblleze_.js";import"./p-Bwt-u0lF.js";var o={breadcrumbs:"Breadcrumbs"};const n=class{constructor(r){e(this,r),this.accent="primary"}componentWillLoad(){i(this.root,{variant:this.accent})}async componentWillRender(){this.i18n=await s(this.root,o)}onSlotChange(){Array.from(this.root.children).forEach((e=>r(e)))}render(){return t("nav",{key:"24b18c4859d0e89eac8b273b86e46be51a01595f","aria-label":this.i18n("breadcrumbs")},t("ol",{key:"b0fa4ede0fee11f8adf40dc574f47eb83a941047"},t("slot",{key:"e2356eb5ba71d750fcd7d152efff3ff9430601e1",onSlotchange:this.onSlotChange.bind(this)})))}get root(){return a(this)}};n.style="ol{display:flex;flex-direction:row;flex-wrap:wrap;place-content:flex-start flex-start;align-items:center;padding:0;margin:0;list-style:none}";export{n as gux_breadcrumbs}
1
+ import{r as e,f as r,h as t,a}from"./p-OQnq_QVU.js";import{b as s}from"./p-U5Uee2Gr.js";import{t as o}from"./p-DKZuo64L.js";import"./p-Bwt-u0lF.js";var i={breadcrumbs:"Breadcrumbs"};const n=class{constructor(r){e(this,r),this.accent="primary"}componentWillLoad(){o(this.root,{variant:this.accent})}async componentWillRender(){this.i18n=await s(this.root,i)}onSlotChange(){Array.from(this.root.children).forEach((e=>r(e)))}render(){return t("nav",{key:"24b18c4859d0e89eac8b273b86e46be51a01595f","aria-label":this.i18n("breadcrumbs")},t("ol",{key:"b0fa4ede0fee11f8adf40dc574f47eb83a941047"},t("slot",{key:"e2356eb5ba71d750fcd7d152efff3ff9430601e1",onSlotchange:this.onSlotChange.bind(this)})))}get root(){return a(this)}};n.style="ol{display:flex;flex-direction:row;flex-wrap:wrap;place-content:flex-start flex-start;align-items:center;padding:0;margin:0;list-style:none}";export{n as gux_breadcrumbs}
@@ -1 +1 @@
1
- import{r as e,h as t,a as n}from"./p-OQnq_QVU.js";import{t as o}from"./p-Bblleze_.js";import{a}from"./p-DSMRdS3g.js";const i=class{constructor(t){e(this,t),this.generating=!1,this.disabled=!1,this.iconOnly=!1,this.autofocus=!1,this.hasScreenReader=!1}async componentWillLoad(){o(this.root)}onDefaultSlotChange(e){const t=e.target.assignedElements({flatten:!0});this.hasScreenReader=t.some((e=>"gux-screen-reader-beta"===e.tagName.toLowerCase()))}renderIcon(){return[t("div",{class:{"gux-icon-default":!0,"gux-hidden":this.generating}},t("slot",{name:"icon"},t("gux-icon",{size:"small","icon-name":"restricted/custom/sparkles-solid",decorative:!0}))),t("div",{class:{"gux-icon-generating":!0,"gux-hidden":!this.generating}},t("gux-ai-spinner-loader-beta",{accent:"primary",size:"small"}))]}render(){return t("gux-button-slot",{key:"060e087c64ceeb05489d28b69f9cda1e3ebb7172"},t("button",{key:"cb33118a9bd04d5ce126ec7e1bbbbd74f45f454f",type:"button",disabled:this.disabled,autofocus:this.autofocus,"aria-busy":a(this.generating),class:{"gux-generating-button":this.generating,"gux-icon-only":this.iconOnly}},t("div",{key:"20236c90ffdb6e4aed5620dcb73683dd71cd8253",class:{"align-content":!0,"gux-content":!0}},t("div",{key:"3a6a6bbef6fd035abd227426a087e3318d3ce4eb",class:"gux-icon-wrapper"},this.renderIcon()),t("div",{key:"87a19b82ed7e8ef2b5a8ffaf4818eaefafec5b26",class:{"gux-label-container":!0,"gux-has-screenreader":this.hasScreenReader}},t("slot",{key:"bcdcb5dd813162ddee229cba0ef585e9c8c902f5",onSlotchange:e=>this.onDefaultSlotChange(e)})))))}get root(){return n(this)}};i.style=":host{display:inline-block}button{display:flex;align-items:center;justify-content:center;block-size:var(--gse-ui-button-default-height);padding:var(--gse-ui-button-default-padding);color:var(--gse-ui-button-primary-default-foregroundColor);background:var(--gse-ui-button-primary-default-backgroundColor);border-radius:var(--gse-ui-button-borderRadius);box-shadow:var(--gse-ui-button-aiPowered-glow-default)}button.gux-icon-only{inline-size:var(--gse-ui-button-iconOnly-width)}button.gux-icon-only .gux-content{gap:0}button.gux-icon-only .gux-content .gux-label-container:not(.gux-has-screenreader){display:none}button:focus-visible:enabled{outline:var(--gse-semantic-focusOutline-md-borderWidth) solid var(--gse-semantic-border-focus);outline-offset:var(--gse-semantic-focusOutline-offset)}button:hover{background:var(--gse-ui-button-primary-hover-backgroundColor);box-shadow:var(--gse-ui-button-aiPowered-glow-hover)}button:active{background:var(--gse-ui-button-primary-active-backgroundColor);box-shadow:var(--gse-ui-button-aiPowered-glow-active)}button[disabled]{pointer-events:none;cursor:default;box-shadow:none;opacity:var(--gse-ui-button-disabled-opacity)}button .align-content{display:flex;flex-direction:row;flex-wrap:nowrap;gap:var(--gse-ui-button-gap);place-content:center center;align-items:center}button .align-content .gux-icon-wrapper{display:flex;align-items:center;justify-content:center}button .align-content .gux-icon-wrapper .gux-icon-default,button .align-content .gux-icon-wrapper .gux-icon-generating{display:flex;align-items:center;justify-content:center}button .align-content .gux-icon-wrapper .gux-hidden{display:none}button.gux-generating-button{pointer-events:none;cursor:default;background:var(--gse-ui-button-primary-active-backgroundColor);box-shadow:var(--gse-ui-button-aiPowered-glow-active)}";export{i as gux_ai_powered_button_beta}
1
+ import{r as e,h as t,a as n}from"./p-OQnq_QVU.js";import{t as o}from"./p-DKZuo64L.js";import{a}from"./p-DSMRdS3g.js";const i=class{constructor(t){e(this,t),this.generating=!1,this.disabled=!1,this.iconOnly=!1,this.autofocus=!1,this.hasScreenReader=!1}async componentWillLoad(){o(this.root)}onDefaultSlotChange(e){const t=e.target.assignedElements({flatten:!0});this.hasScreenReader=t.some((e=>"gux-screen-reader-beta"===e.tagName.toLowerCase()))}renderIcon(){return[t("div",{class:{"gux-icon-default":!0,"gux-hidden":this.generating}},t("slot",{name:"icon"},t("gux-icon",{size:"small","icon-name":"restricted/custom/sparkles-solid",decorative:!0}))),t("div",{class:{"gux-icon-generating":!0,"gux-hidden":!this.generating}},t("gux-ai-spinner-loader-beta",{accent:"primary",size:"small"}))]}render(){return t("gux-button-slot",{key:"060e087c64ceeb05489d28b69f9cda1e3ebb7172"},t("button",{key:"cb33118a9bd04d5ce126ec7e1bbbbd74f45f454f",type:"button",disabled:this.disabled,autofocus:this.autofocus,"aria-busy":a(this.generating),class:{"gux-generating-button":this.generating,"gux-icon-only":this.iconOnly}},t("div",{key:"20236c90ffdb6e4aed5620dcb73683dd71cd8253",class:{"align-content":!0,"gux-content":!0}},t("div",{key:"3a6a6bbef6fd035abd227426a087e3318d3ce4eb",class:"gux-icon-wrapper"},this.renderIcon()),t("div",{key:"87a19b82ed7e8ef2b5a8ffaf4818eaefafec5b26",class:{"gux-label-container":!0,"gux-has-screenreader":this.hasScreenReader}},t("slot",{key:"bcdcb5dd813162ddee229cba0ef585e9c8c902f5",onSlotchange:e=>this.onDefaultSlotChange(e)})))))}get root(){return n(this)}};i.style=":host{display:inline-block}button{display:flex;align-items:center;justify-content:center;block-size:var(--gse-ui-button-default-height);padding:var(--gse-ui-button-default-padding);color:var(--gse-ui-button-primary-default-foregroundColor);background:var(--gse-ui-button-primary-default-backgroundColor);border-radius:var(--gse-ui-button-borderRadius);box-shadow:var(--gse-ui-button-aiPowered-glow-default)}button.gux-icon-only{inline-size:var(--gse-ui-button-iconOnly-width)}button.gux-icon-only .gux-content{gap:0}button.gux-icon-only .gux-content .gux-label-container:not(.gux-has-screenreader){display:none}button:focus-visible:enabled{outline:var(--gse-semantic-focusOutline-md-borderWidth) solid var(--gse-semantic-border-focus);outline-offset:var(--gse-semantic-focusOutline-offset)}button:hover{background:var(--gse-ui-button-primary-hover-backgroundColor);box-shadow:var(--gse-ui-button-aiPowered-glow-hover)}button:active{background:var(--gse-ui-button-primary-active-backgroundColor);box-shadow:var(--gse-ui-button-aiPowered-glow-active)}button[disabled]{pointer-events:none;cursor:default;box-shadow:none;opacity:var(--gse-ui-button-disabled-opacity)}button .align-content{display:flex;flex-direction:row;flex-wrap:nowrap;gap:var(--gse-ui-button-gap);place-content:center center;align-items:center}button .align-content .gux-icon-wrapper{display:flex;align-items:center;justify-content:center}button .align-content .gux-icon-wrapper .gux-icon-default,button .align-content .gux-icon-wrapper .gux-icon-generating{display:flex;align-items:center;justify-content:center}button .align-content .gux-icon-wrapper .gux-hidden{display:none}button.gux-generating-button{pointer-events:none;cursor:default;background:var(--gse-ui-button-primary-active-backgroundColor);box-shadow:var(--gse-ui-button-aiPowered-glow-active)}";export{i as gux_ai_powered_button_beta}
@@ -1 +1 @@
1
- import{r as t,h as e,a as r}from"./p-OQnq_QVU.js";import{t as i}from"./p-Bblleze_.js";import{O as o}from"./p-Bek-SoDA.js";import{b as s,g as a}from"./p-U5Uee2Gr.js";import{a as n}from"./p-BZEnY8oF.js";import{u}from"./p-BgaA4g76.js";import{s as l}from"./p-BMRf5pjV.js";import{b as h}from"./p-Bg4q97BS.js";import{g,a as c,b as d}from"./p-Dwrcabgx.js";import"./p-Bwt-u0lF.js";import"./p-DCZG2J0G.js";var p={toggleCalendar:"Toggle month calendar view",month:"Month",year:"Year",unset:"Unset"};const f={calendar:"gregory",year:"numeric",month:"long"},m=["ar","he","ja","ko","zh-cn","zh-tw"],b=class{constructor(e){t(this,e),this.disabled=!1,this.expanded=!1}onKeyDown(t){"Escape"===t.key&&(this.expanded=!1,this.calendarToggleButtonElement.focus())}onValueUpdate(t){this.value=this.isOutOfBounds(t)?this.isBeforeMin(t)?this.min:this.max:t,l(this.root,"input"),l(this.root,"change")}onClickOutside(){this.expanded=!1}async componentWillLoad(){i(this.root),this.i18n=await s(this.root,p),this.locale=u()?n(this.root):a(this.root)}onFocusout(t){t.relatedTarget&&!this.root.contains(t.relatedTarget)&&(this.expanded=!1)}isOutOfBounds(t){return this.isBeforeMin(t)||this.isAfterMax(t)}isBeforeMin(t){return this.min&&this.min>t}isAfterMax(t){return this.max&&this.max<t}toggleCalendar(){this.expanded=!this.expanded,this.expanded&&h((()=>{this.monthCalendarElement.guxFocus(this.value)}))}onMonthCalendarInput(){this.value=this.monthCalendarElement.value,this.expanded=!1,this.calendarToggleButtonElement.focus()}incrementMonth(t){if(this.value){const{year:e,month:r}=g(this.value),i=((parseInt(r)+11+t)%12+1).toString().padStart(2,"0");this.value=c(e,i)}else this.value=d()}incrementYear(t){if(this.value){const{year:e,month:r}=g(this.value),i=Math.max(Number(e)+t,0).toString();this.value=c(i,r)}else this.value=d()}onSpinnerKeyDown(t,e,r){switch(t.key){case"ArrowDown":t.preventDefault(),e(-1);break;case"ArrowUp":t.preventDefault(),e(1);break;case"ArrowLeft":case"ArrowRight":t.preventDefault(),r.focus();break;case"Enter":t.preventDefault(),this.expanded=!0,h((()=>{this.monthCalendarElement.guxFocus(this.value)}));break;case" ":t.preventDefault()}}onSpinnerKeyUp(t){t.stopPropagation()," "===t.key&&(t.preventDefault(),this.expanded=!0,h((()=>{this.monthCalendarElement.guxFocus(this.value)})))}onSpinnerClick(){this.expanded=!0}getSpinnerLabel(t){if(this.value){const{year:e,month:r}=g(this.value);return new Date(Number(e),Number(r)-1).toLocaleDateString(this.locale,{calendar:"gregory",[t]:f[t]})}return this.i18n(t)}getSpinnerValueNow(t){return this.value?g(this.value)[t]:"0"}getSpinnerValueText(){if(this.value){const{year:t,month:e}=g(this.value);return new Date(Number(t),Number(e)-1).toLocaleDateString(this.locale,{calendar:"gregory",year:"numeric",month:"long"})}return this.i18n("unset")}renderMonthSpinnerButton(){return e("div",{role:"spinbutton",class:"gux-spinner",tabIndex:this.disabled?-1:0,onKeyDown:t=>this.onSpinnerKeyDown(t,(t=>this.incrementMonth(t)),this.yearSpinnerElement),onKeyUp:t=>this.onSpinnerKeyUp(t),onClick:()=>this.onSpinnerClick(),ref:t=>this.monthSpinnerElement=t,"aria-valuenow":this.getSpinnerValueNow("month"),"aria-valuetext":this.getSpinnerValueText(),"aria-valuemin":"1","aria-valuemax":"12","aria-label":this.i18n("month")},this.getSpinnerLabel("month"))}renderYearSpinnerButton(){return e("div",{role:"spinbutton",class:"gux-spinner",tabIndex:this.disabled?-1:0,onKeyDown:t=>this.onSpinnerKeyDown(t,(t=>this.incrementYear(t)),this.monthSpinnerElement),onKeyUp:t=>this.onSpinnerKeyUp(t),onClick:()=>this.onSpinnerClick(),ref:t=>this.yearSpinnerElement=t,"aria-valuenow":this.getSpinnerValueNow("year"),"aria-valuetext":this.getSpinnerValueText(),"aria-valuemin":"0","aria-label":this.i18n("year")},this.getSpinnerLabel("year"))}renderSpinnerButtons(){return m.includes(this.locale)?e("span",{class:"gux-display"},this.renderYearSpinnerButton(),this.renderMonthSpinnerButton()):e("span",{class:"gux-display"},this.renderMonthSpinnerButton(),this.renderYearSpinnerButton())}renderCalendarToggleButton(){return e("button",{class:{"gux-popup-toggle":!0,"gux-expanded":this.expanded},ref:t=>this.calendarToggleButtonElement=t,type:"button",onClick:()=>this.toggleCalendar(),disabled:this.disabled},e("gux-icon",{"icon-name":"fa/calendar-regular",decorative:!0,size:"small"}),e("gux-screen-reader-beta",null,this.i18n("toggleCalendar")))}renderTarget(){return e("div",{class:"gux-target",slot:"target"},this.renderSpinnerButtons(),this.renderCalendarToggleButton())}renderPopup(){return e("gux-month-calendar",{slot:"popup",ref:t=>this.monthCalendarElement=t,onInput:()=>this.onMonthCalendarInput(),value:this.value,min:this.min,max:this.max})}render(){return e("gux-popup",{key:"e3646bf67cfdafa69d289dd6586ac1983471ea19",expanded:this.expanded,disabled:this.disabled,"exceed-target-width":!0},this.renderTarget(),this.renderPopup())}get root(){return r(this)}static get watchers(){return{value:[{onValueUpdate:0}]}}};(function(t,e,r,i){var o,s=arguments.length,a=s<3?e:null===i?i=Object.getOwnPropertyDescriptor(e,r):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(t,e,r,i);else for(var n=t.length-1;n>=0;n--)(o=t[n])&&(a=(s<3?o(a):s>3?o(e,r,a):o(e,r))||a);s>3&&a&&Object.defineProperty(e,r,a)})([o()],b.prototype,"onClickOutside",null),b.style=":host{display:inline-block}.gux-target{display:inline-flex;gap:var(--gse-ui-formControl-input-gap);padding:var(--gse-ui-formControl-textarea-padding);cursor:pointer;background-color:var(--gse-ui-calendarMenu-backgroundColor);border:var(--gse-ui-formControl-input-default-border-width) var(--gse-ui-formControl-input-default-border-style) var(--gse-ui-formControl-input-default-border-color);border-radius:var(--gse-ui-formControl-input-borderRadius)}.gux-target:focus-within{outline:var(--gse-ui-formControl-input-focus-border-width) var(--gse-ui-formControl-input-focus-border-style) var(--gse-ui-formControl-input-focus-border-color);outline-offset:var(--gse-semantic-focusOutline-offset);border:var(--gse-ui-formControl-input-active-border-width) var(--gse-ui-formControl-input-active-border-style) var(--gse-ui-formControl-input-active-border-color);border-radius:var(--gse-ui-formControl-focusRing-borderRadius)}.gux-target .gux-display{display:inline-flex;align-items:center;min-inline-size:100px;padding-inline-end:var(--gse-ui-formControl-input-gap);font-family:var(--gse-ui-formControl-label-text-fontFamily);font-size:var(--gse-ui-formControl-label-text-fontSize);font-weight:var(--gse-ui-formControl-label-text-fontWeight);line-height:var(--gse-ui-formControl-label-text-lineHeight);color:var(--gse-ui-formControl-label-labelColor)}.gux-target .gux-display .gux-spinner{outline:none}.gux-target .gux-display .gux-spinner:not(:first-child){margin-inline-start:4px}.gux-target .gux-display .gux-spinner:focus-visible{background:var(--gse-ui-calendarMenu-month-hover-backgroundColor)}.gux-target .gux-popup-toggle{justify-content:right;color:var(--gse-ui-monthPicker-calendarStates-defaultColor);background:transparent;border:none}.gux-target .gux-popup-toggle:focus-visible{outline:var(--gse-ui-monthPicker-calendarStates-focus-border-width) var(--gse-ui-monthPicker-calendarStates-focus-border-style) var(--gse-ui-monthPicker-calendarStates-focus-border-color);outline-offset:var(--gse-semantic-focusOutline-offset);border-radius:var(--gse-ui-calendarMenu-month-calendarButton-focusBorderRadius)}.gux-target .gux-popup-toggle:not(:disabled):hover{color:var(--gse-ui-monthPicker-calendarStates-hoverColor);cursor:pointer}.gux-target .gux-popup-toggle:not(:disabled):focus{color:var(--gse-ui-monthPicker-calendarStates-activeColor);cursor:pointer}.gux-target .gux-popup-toggle:disabled{color:var(--gse-ui-monthPicker-calendarStates-disabledColor)}.gux-target .gux-popup-toggle.gux-expanded{color:var(--gse-ui-monthPicker-calendarStates-activeColor)}";export{b as gux_month_picker_beta}
1
+ import{r as t,h as e,a as r}from"./p-OQnq_QVU.js";import{t as i}from"./p-DKZuo64L.js";import{O as o}from"./p-Bek-SoDA.js";import{b as s,g as a}from"./p-U5Uee2Gr.js";import{a as n}from"./p-BZEnY8oF.js";import{u}from"./p-BgaA4g76.js";import{s as l}from"./p-BMRf5pjV.js";import{b as h}from"./p-Bg4q97BS.js";import{g,a as c,b as d}from"./p-Dwrcabgx.js";import"./p-Bwt-u0lF.js";import"./p-DCZG2J0G.js";var p={toggleCalendar:"Toggle month calendar view",month:"Month",year:"Year",unset:"Unset"};const f={calendar:"gregory",year:"numeric",month:"long"},m=["ar","he","ja","ko","zh-cn","zh-tw"],b=class{constructor(e){t(this,e),this.disabled=!1,this.expanded=!1}onKeyDown(t){"Escape"===t.key&&(this.expanded=!1,this.calendarToggleButtonElement.focus())}onValueUpdate(t){this.value=this.isOutOfBounds(t)?this.isBeforeMin(t)?this.min:this.max:t,l(this.root,"input"),l(this.root,"change")}onClickOutside(){this.expanded=!1}async componentWillLoad(){i(this.root),this.i18n=await s(this.root,p),this.locale=u()?n(this.root):a(this.root)}onFocusout(t){t.relatedTarget&&!this.root.contains(t.relatedTarget)&&(this.expanded=!1)}isOutOfBounds(t){return this.isBeforeMin(t)||this.isAfterMax(t)}isBeforeMin(t){return this.min&&this.min>t}isAfterMax(t){return this.max&&this.max<t}toggleCalendar(){this.expanded=!this.expanded,this.expanded&&h((()=>{this.monthCalendarElement.guxFocus(this.value)}))}onMonthCalendarInput(){this.value=this.monthCalendarElement.value,this.expanded=!1,this.calendarToggleButtonElement.focus()}incrementMonth(t){if(this.value){const{year:e,month:r}=g(this.value),i=((parseInt(r)+11+t)%12+1).toString().padStart(2,"0");this.value=c(e,i)}else this.value=d()}incrementYear(t){if(this.value){const{year:e,month:r}=g(this.value),i=Math.max(Number(e)+t,0).toString();this.value=c(i,r)}else this.value=d()}onSpinnerKeyDown(t,e,r){switch(t.key){case"ArrowDown":t.preventDefault(),e(-1);break;case"ArrowUp":t.preventDefault(),e(1);break;case"ArrowLeft":case"ArrowRight":t.preventDefault(),r.focus();break;case"Enter":t.preventDefault(),this.expanded=!0,h((()=>{this.monthCalendarElement.guxFocus(this.value)}));break;case" ":t.preventDefault()}}onSpinnerKeyUp(t){t.stopPropagation()," "===t.key&&(t.preventDefault(),this.expanded=!0,h((()=>{this.monthCalendarElement.guxFocus(this.value)})))}onSpinnerClick(){this.expanded=!0}getSpinnerLabel(t){if(this.value){const{year:e,month:r}=g(this.value);return new Date(Number(e),Number(r)-1).toLocaleDateString(this.locale,{calendar:"gregory",[t]:f[t]})}return this.i18n(t)}getSpinnerValueNow(t){return this.value?g(this.value)[t]:"0"}getSpinnerValueText(){if(this.value){const{year:t,month:e}=g(this.value);return new Date(Number(t),Number(e)-1).toLocaleDateString(this.locale,{calendar:"gregory",year:"numeric",month:"long"})}return this.i18n("unset")}renderMonthSpinnerButton(){return e("div",{role:"spinbutton",class:"gux-spinner",tabIndex:this.disabled?-1:0,onKeyDown:t=>this.onSpinnerKeyDown(t,(t=>this.incrementMonth(t)),this.yearSpinnerElement),onKeyUp:t=>this.onSpinnerKeyUp(t),onClick:()=>this.onSpinnerClick(),ref:t=>this.monthSpinnerElement=t,"aria-valuenow":this.getSpinnerValueNow("month"),"aria-valuetext":this.getSpinnerValueText(),"aria-valuemin":"1","aria-valuemax":"12","aria-label":this.i18n("month")},this.getSpinnerLabel("month"))}renderYearSpinnerButton(){return e("div",{role:"spinbutton",class:"gux-spinner",tabIndex:this.disabled?-1:0,onKeyDown:t=>this.onSpinnerKeyDown(t,(t=>this.incrementYear(t)),this.monthSpinnerElement),onKeyUp:t=>this.onSpinnerKeyUp(t),onClick:()=>this.onSpinnerClick(),ref:t=>this.yearSpinnerElement=t,"aria-valuenow":this.getSpinnerValueNow("year"),"aria-valuetext":this.getSpinnerValueText(),"aria-valuemin":"0","aria-label":this.i18n("year")},this.getSpinnerLabel("year"))}renderSpinnerButtons(){return m.includes(this.locale)?e("span",{class:"gux-display"},this.renderYearSpinnerButton(),this.renderMonthSpinnerButton()):e("span",{class:"gux-display"},this.renderMonthSpinnerButton(),this.renderYearSpinnerButton())}renderCalendarToggleButton(){return e("button",{class:{"gux-popup-toggle":!0,"gux-expanded":this.expanded},ref:t=>this.calendarToggleButtonElement=t,type:"button",onClick:()=>this.toggleCalendar(),disabled:this.disabled},e("gux-icon",{"icon-name":"fa/calendar-regular",decorative:!0,size:"small"}),e("gux-screen-reader-beta",null,this.i18n("toggleCalendar")))}renderTarget(){return e("div",{class:"gux-target",slot:"target"},this.renderSpinnerButtons(),this.renderCalendarToggleButton())}renderPopup(){return e("gux-month-calendar",{slot:"popup",ref:t=>this.monthCalendarElement=t,onInput:()=>this.onMonthCalendarInput(),value:this.value,min:this.min,max:this.max})}render(){return e("gux-popup",{key:"e3646bf67cfdafa69d289dd6586ac1983471ea19",expanded:this.expanded,disabled:this.disabled,"exceed-target-width":!0},this.renderTarget(),this.renderPopup())}get root(){return r(this)}static get watchers(){return{value:[{onValueUpdate:0}]}}};(function(t,e,r,i){var o,s=arguments.length,a=s<3?e:null===i?i=Object.getOwnPropertyDescriptor(e,r):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(t,e,r,i);else for(var n=t.length-1;n>=0;n--)(o=t[n])&&(a=(s<3?o(a):s>3?o(e,r,a):o(e,r))||a);s>3&&a&&Object.defineProperty(e,r,a)})([o()],b.prototype,"onClickOutside",null),b.style=":host{display:inline-block}.gux-target{display:inline-flex;gap:var(--gse-ui-formControl-input-gap);padding:var(--gse-ui-formControl-textarea-padding);cursor:pointer;background-color:var(--gse-ui-calendarMenu-backgroundColor);border:var(--gse-ui-formControl-input-default-border-width) var(--gse-ui-formControl-input-default-border-style) var(--gse-ui-formControl-input-default-border-color);border-radius:var(--gse-ui-formControl-input-borderRadius)}.gux-target:focus-within{outline:var(--gse-ui-formControl-input-focus-border-width) var(--gse-ui-formControl-input-focus-border-style) var(--gse-ui-formControl-input-focus-border-color);outline-offset:var(--gse-semantic-focusOutline-offset);border:var(--gse-ui-formControl-input-active-border-width) var(--gse-ui-formControl-input-active-border-style) var(--gse-ui-formControl-input-active-border-color);border-radius:var(--gse-ui-formControl-focusRing-borderRadius)}.gux-target .gux-display{display:inline-flex;align-items:center;min-inline-size:100px;padding-inline-end:var(--gse-ui-formControl-input-gap);font-family:var(--gse-ui-formControl-label-text-fontFamily);font-size:var(--gse-ui-formControl-label-text-fontSize);font-weight:var(--gse-ui-formControl-label-text-fontWeight);line-height:var(--gse-ui-formControl-label-text-lineHeight);color:var(--gse-ui-formControl-label-labelColor)}.gux-target .gux-display .gux-spinner{outline:none}.gux-target .gux-display .gux-spinner:not(:first-child){margin-inline-start:4px}.gux-target .gux-display .gux-spinner:focus-visible{background:var(--gse-ui-calendarMenu-month-hover-backgroundColor)}.gux-target .gux-popup-toggle{justify-content:right;color:var(--gse-ui-monthPicker-calendarStates-defaultColor);background:transparent;border:none}.gux-target .gux-popup-toggle:focus-visible{outline:var(--gse-ui-monthPicker-calendarStates-focus-border-width) var(--gse-ui-monthPicker-calendarStates-focus-border-style) var(--gse-ui-monthPicker-calendarStates-focus-border-color);outline-offset:var(--gse-semantic-focusOutline-offset);border-radius:var(--gse-ui-calendarMenu-month-calendarButton-focusBorderRadius)}.gux-target .gux-popup-toggle:not(:disabled):hover{color:var(--gse-ui-monthPicker-calendarStates-hoverColor);cursor:pointer}.gux-target .gux-popup-toggle:not(:disabled):focus{color:var(--gse-ui-monthPicker-calendarStates-activeColor);cursor:pointer}.gux-target .gux-popup-toggle:disabled{color:var(--gse-ui-monthPicker-calendarStates-disabledColor)}.gux-target .gux-popup-toggle.gux-expanded{color:var(--gse-ui-monthPicker-calendarStates-activeColor)}";export{b as gux_month_picker_beta}
@@ -1 +1 @@
1
- import{r as t,h as s,H as i,a}from"./p-OQnq_QVU.js";import{t as e}from"./p-Bblleze_.js";import{D as r,s as o,g as h}from"./p-DVtjaZ7Q.js";import{b as n,g as p}from"./p-U5Uee2Gr.js";import{d as m,a as d}from"./p-BZEnY8oF.js";import{u as j}from"./p-BgaA4g76.js";import"./p-DxtJDeL9.js";import"./p-Bwt-u0lF.js";import"./p-DCZG2J0G.js";var l={invalidDate:"Invalid date"};const D=class{constructor(s){t(this,s),this.hasRegionalDatesCookie=!1,this.datetime=(new Date).toISOString(),this.format="short"}async componentWillLoad(){e(this.root),this.i18n=await n(this.root,l),j()?this.hasRegionalDatesCookie=!0:this.formatter=new r(p(this.root))}renderDate(){const t=o(this.root,this.datetime);return t?this.hasRegionalDatesCookie?m(d(this.root),{dateStyle:this.format,timeZone:h(this.timeZone)}).format(t):this.formatter.formatDate(t,this.format,{timeZone:h(this.timeZone)}):this.i18n("invalidDate")}render(){return s(i,{key:"f6db646e40a621ae9671d494435d4e5a2534a89e"},this.renderDate())}get root(){return a(this)}};export{D as gux_date_beta}
1
+ import{r as t,h as s,H as i,a}from"./p-OQnq_QVU.js";import{t as e}from"./p-DKZuo64L.js";import{D as r,s as o,g as h}from"./p-DVtjaZ7Q.js";import{b as n,g as p}from"./p-U5Uee2Gr.js";import{d as m,a as d}from"./p-BZEnY8oF.js";import{u as j}from"./p-BgaA4g76.js";import"./p-DxtJDeL9.js";import"./p-Bwt-u0lF.js";import"./p-DCZG2J0G.js";var D={invalidDate:"Invalid date"};const l=class{constructor(s){t(this,s),this.hasRegionalDatesCookie=!1,this.datetime=(new Date).toISOString(),this.format="short"}async componentWillLoad(){e(this.root),this.i18n=await n(this.root,D),j()?this.hasRegionalDatesCookie=!0:this.formatter=new r(p(this.root))}renderDate(){const t=o(this.root,this.datetime);return t?this.hasRegionalDatesCookie?m(d(this.root),{dateStyle:this.format,timeZone:h(this.timeZone)}).format(t):this.formatter.formatDate(t,this.format,{timeZone:h(this.timeZone)}):this.i18n("invalidDate")}render(){return s(i,{key:"f6db646e40a621ae9671d494435d4e5a2534a89e"},this.renderDate())}get root(){return a(this)}};export{l as gux_date_beta}