genesys-spark-components 4.203.0 → 4.205.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (490) hide show
  1. package/dist/cjs/{get-valid-timezone-B5cZ0d-f.js → get-valid-timezone-Dr_-VXi7.js} +1 -1
  2. package/dist/cjs/gux-accordion.cjs.entry.js +1 -1
  3. package/dist/cjs/gux-action-button.cjs.entry.js +2 -2
  4. package/dist/cjs/gux-action-toast-legacy.cjs.entry.js +1 -1
  5. package/dist/cjs/gux-actionable-inline-alert-beta.cjs.entry.js +1 -1
  6. package/dist/cjs/gux-advanced-dropdown-legacy.cjs.entry.js +2 -2
  7. package/dist/cjs/gux-ai-powered-badge-beta.cjs.entry.js +2 -2
  8. package/dist/cjs/gux-all-row-select.cjs.entry.js +1 -1
  9. package/dist/cjs/gux-announce-beta.cjs.entry.js +1 -1
  10. package/dist/cjs/gux-avatar-beta.cjs.entry.js +2 -2
  11. package/dist/cjs/gux-avatar-change-photo-beta.cjs.entry.js +2 -2
  12. package/dist/cjs/gux-avatar-group-add-item-beta_3.cjs.entry.js +2 -2
  13. package/dist/cjs/gux-avatar-group-beta.cjs.entry.js +1 -1
  14. package/dist/cjs/gux-avatar-group-item-beta.cjs.entry.js +1 -1
  15. package/dist/cjs/gux-badge.cjs.entry.js +2 -2
  16. package/dist/cjs/gux-blank-state-beta.cjs.entry.js +1 -1
  17. package/dist/cjs/gux-blank-state.cjs.entry.js +1 -1
  18. package/dist/cjs/gux-breadcrumbs.cjs.entry.js +2 -2
  19. package/dist/cjs/gux-button-multi.cjs.entry.js +1 -1
  20. package/dist/cjs/gux-button-slot.cjs.entry.js +1 -1
  21. package/dist/cjs/gux-button_2.cjs.entry.js +1 -1
  22. package/dist/cjs/gux-calendar-beta.cjs.entry.js +1 -1
  23. package/dist/cjs/gux-calendar.cjs.entry.js +3 -3
  24. package/dist/cjs/gux-card.cjs.entry.js +1 -1
  25. package/dist/cjs/gux-cloud-logo-beta.cjs.entry.js +2 -2
  26. package/dist/cjs/gux-cloud-logomark-beta.cjs.entry.js +2 -2
  27. package/dist/cjs/gux-column-manager-item.cjs.entry.js +1 -1
  28. package/dist/cjs/gux-column-manager.cjs.entry.js +2 -2
  29. package/dist/cjs/gux-content-search.cjs.entry.js +2 -2
  30. package/dist/cjs/gux-context-menu.cjs.entry.js +2 -2
  31. package/dist/cjs/gux-copy-to-clipboard.cjs.entry.js +2 -2
  32. package/dist/cjs/gux-create-option.cjs.entry.js +1 -1
  33. package/dist/cjs/gux-date-beta.cjs.entry.js +3 -3
  34. package/dist/cjs/gux-date-time-beta.cjs.entry.js +3 -3
  35. package/dist/cjs/gux-datepicker.cjs.entry.js +15 -12
  36. package/dist/cjs/gux-day-beta.cjs.entry.js +1 -1
  37. package/dist/cjs/gux-disclosure-button-legacy.cjs.entry.js +2 -2
  38. package/dist/cjs/gux-dismiss-button.cjs.entry.js +2 -2
  39. package/dist/cjs/gux-dropdown-multi-tag.cjs.entry.js +1 -1
  40. package/dist/cjs/gux-dropdown-multi.cjs.entry.js +2 -2
  41. package/dist/cjs/gux-dropdown_3.cjs.entry.js +2 -2
  42. package/dist/cjs/gux-file-list-item.cjs.entry.js +2 -2
  43. package/dist/cjs/gux-flag-icon-beta.cjs.entry.js +2 -2
  44. package/dist/cjs/gux-flyout-menu.cjs.entry.js +2 -2
  45. package/dist/cjs/gux-form-field-checkbox-group-beta.cjs.entry.js +2 -2
  46. package/dist/cjs/gux-form-field-checkbox.cjs.entry.js +1 -1
  47. package/dist/cjs/gux-form-field-color.cjs.entry.js +1 -1
  48. package/dist/cjs/gux-form-field-dropdown.cjs.entry.js +2 -2
  49. package/dist/cjs/gux-form-field-file-beta.cjs.entry.js +2 -2
  50. package/dist/cjs/gux-form-field-file.cjs.entry.js +1 -1
  51. package/dist/cjs/gux-form-field-input-clear-button.cjs.entry.js +2 -2
  52. package/dist/cjs/gux-form-field-label-indicator.cjs.entry.js +2 -2
  53. package/dist/cjs/gux-form-field-number_2.cjs.entry.js +2 -2
  54. package/dist/cjs/gux-form-field-phone.cjs.entry.js +2 -2
  55. package/dist/cjs/gux-form-field-radio-group-beta.cjs.entry.js +2 -2
  56. package/dist/cjs/gux-form-field-radio.cjs.entry.js +1 -1
  57. package/dist/cjs/gux-form-field-range.cjs.entry.js +1 -1
  58. package/dist/cjs/gux-form-field-search.cjs.entry.js +1 -1
  59. package/dist/cjs/gux-form-field-select.cjs.entry.js +1 -1
  60. package/dist/cjs/gux-form-field-text-like.cjs.entry.js +2 -2
  61. package/dist/cjs/gux-form-field-textarea.cjs.entry.js +1 -1
  62. package/dist/cjs/gux-form-field-time-picker.cjs.entry.js +2 -2
  63. package/dist/cjs/gux-form-field-time-zone-picker.cjs.entry.js +2 -2
  64. package/dist/cjs/gux-form-footer.cjs.entry.js +1 -1
  65. package/dist/cjs/gux-icon-tooltip-beta.cjs.entry.js +1 -1
  66. package/dist/cjs/gux-icon.cjs.entry.js +2 -2
  67. package/dist/cjs/gux-illustration-beta.cjs.entry.js +1 -1
  68. package/dist/cjs/gux-inline-alert.cjs.entry.js +2 -2
  69. package/dist/cjs/gux-inline-dropdown-beta.cjs.entry.js +2 -2
  70. package/dist/cjs/gux-label-info-beta.cjs.entry.js +1 -1
  71. package/dist/cjs/gux-link-beta.cjs.entry.js +1 -1
  72. package/dist/cjs/gux-list.cjs.entry.js +1 -1
  73. package/dist/cjs/gux-listbox-multi.cjs.entry.js +2 -2
  74. package/dist/cjs/gux-loading-message.cjs.entry.js +1 -1
  75. package/dist/cjs/gux-logo-beta.cjs.entry.js +2 -2
  76. package/dist/cjs/gux-logomark-beta.cjs.entry.js +2 -2
  77. package/dist/cjs/gux-modal-legacy.cjs.entry.js +1 -1
  78. package/dist/cjs/gux-modal-side-panel-beta.cjs.entry.js +1 -1
  79. package/dist/cjs/gux-modal.cjs.entry.js +1 -1
  80. package/dist/cjs/gux-month-calendar.cjs.entry.js +1 -1
  81. package/dist/cjs/gux-month-picker-beta.cjs.entry.js +2 -2
  82. package/dist/cjs/gux-notification-toast-legacy.cjs.entry.js +1 -1
  83. package/dist/cjs/gux-option-multi.cjs.entry.js +1 -1
  84. package/dist/cjs/gux-page-loading-spinner.cjs.entry.js +1 -1
  85. package/dist/cjs/gux-pagination-buttons-legacy_3.cjs.entry.js +1 -1
  86. package/dist/cjs/gux-pagination-buttons_2.cjs.entry.js +1 -1
  87. package/dist/cjs/gux-pagination-cursor.cjs.entry.js +2 -2
  88. package/dist/cjs/gux-pagination-items-per-page.cjs.entry.js +1 -1
  89. package/dist/cjs/gux-pagination-legacy.cjs.entry.js +1 -1
  90. package/dist/cjs/gux-pagination.cjs.entry.js +1 -1
  91. package/dist/cjs/gux-phone-input-beta.cjs.entry.js +173 -171
  92. package/dist/cjs/gux-popover-beta.cjs.entry.js +1 -1
  93. package/dist/cjs/gux-popover-list-beta.cjs.entry.js +1 -1
  94. package/dist/cjs/gux-popover-list.cjs.entry.js +1 -1
  95. package/dist/cjs/gux-prompt-input-beta.cjs.entry.js +2 -2
  96. package/dist/cjs/gux-radial-loading.cjs.entry.js +2 -2
  97. package/dist/cjs/gux-radial-progress.cjs.entry.js +1 -1
  98. package/dist/cjs/gux-rating.cjs.entry.js +2 -2
  99. package/dist/cjs/gux-rich-highlight-list-item.cjs.entry.js +2 -2
  100. package/dist/cjs/gux-rich-style-list-item_3.cjs.entry.js +2 -2
  101. package/dist/cjs/gux-rich-text-editor-action-link.cjs.entry.js +2 -2
  102. package/dist/cjs/gux-rich-text-editor-action-rich-style.cjs.entry.js +2 -2
  103. package/dist/cjs/gux-rich-text-editor-action-text-highlight.cjs.entry.js +2 -2
  104. package/dist/cjs/gux-rich-text-editor-action.cjs.entry.js +2 -2
  105. package/dist/cjs/gux-rich-text-editor-beta.cjs.entry.js +2 -2
  106. package/dist/cjs/gux-rich-text-editor-list.cjs.entry.js +1 -1
  107. package/dist/cjs/gux-row-select.cjs.entry.js +1 -1
  108. package/dist/cjs/gux-screen-reader-beta.cjs.entry.js +1 -1
  109. package/dist/cjs/gux-segmented-control-beta.cjs.entry.js +1 -1
  110. package/dist/cjs/gux-select-all.cjs.entry.js +1 -1
  111. package/dist/cjs/gux-selector-card-beta.cjs.entry.js +1 -1
  112. package/dist/cjs/gux-selector-cards-beta.cjs.entry.js +1 -1
  113. package/dist/cjs/gux-side-panel-beta.cjs.entry.js +1 -1
  114. package/dist/cjs/gux-side-panel-header.cjs.entry.js +1 -1
  115. package/dist/cjs/gux-side-panel-heading.cjs.entry.js +1 -1
  116. package/dist/cjs/gux-simple-toast-legacy.cjs.entry.js +1 -1
  117. package/dist/cjs/gux-skip-navigation-list.cjs.entry.js +2 -2
  118. package/dist/cjs/gux-sort-control.cjs.entry.js +2 -2
  119. package/dist/cjs/gux-status-indicator-beta.cjs.entry.js +1 -1
  120. package/dist/cjs/gux-step-title.cjs.entry.js +1 -1
  121. package/dist/cjs/gux-step.cjs.entry.js +1 -1
  122. package/dist/cjs/gux-stepper-beta.cjs.entry.js +1 -1
  123. package/dist/cjs/gux-switch-legacy.cjs.entry.js +1 -1
  124. package/dist/cjs/gux-tab-advanced-list.cjs.entry.js +1 -1
  125. package/dist/cjs/gux-tab-advanced.cjs.entry.js +1 -1
  126. package/dist/cjs/gux-tab-list.cjs.entry.js +1 -1
  127. package/dist/cjs/gux-table-select-menu.cjs.entry.js +1 -1
  128. package/dist/cjs/gux-table-toolbar-action.cjs.entry.js +2 -2
  129. package/dist/cjs/gux-table-toolbar-custom-action.cjs.entry.js +1 -1
  130. package/dist/cjs/gux-table-toolbar-menu-button.cjs.entry.js +2 -2
  131. package/dist/cjs/gux-table-toolbar.cjs.entry.js +1 -1
  132. package/dist/cjs/gux-table.cjs.entry.js +2 -2
  133. package/dist/cjs/gux-tabs-advanced.cjs.entry.js +1 -1
  134. package/dist/cjs/gux-tabs.cjs.entry.js +1 -1
  135. package/dist/cjs/gux-tag.cjs.entry.js +2 -2
  136. package/dist/cjs/gux-text-highlight.cjs.entry.js +1 -1
  137. package/dist/cjs/gux-time-beta.cjs.entry.js +3 -3
  138. package/dist/cjs/gux-time-picker.cjs.entry.js +2 -2
  139. package/dist/cjs/gux-time-zone-beta.cjs.entry.js +2 -2
  140. package/dist/cjs/gux-time-zone-picker-beta.cjs.entry.js +2 -2
  141. package/dist/cjs/gux-toast.cjs.entry.js +1 -1
  142. package/dist/cjs/gux-toggle.cjs.entry.js +2 -2
  143. package/dist/cjs/gux-tooltip-base-beta_2.cjs.entry.js +1 -1
  144. package/dist/cjs/gux-tooltip-pointer-beta.cjs.entry.js +1 -1
  145. package/dist/cjs/gux-tooltip_2.cjs.entry.js +1 -1
  146. package/dist/cjs/gux-tree-beta.cjs.entry.js +1 -1
  147. package/dist/cjs/gux-tree-multi-beta.cjs.entry.js +1 -1
  148. package/dist/cjs/index-DRg53_B7.js +3372 -0
  149. package/dist/cjs/{iso-dates-B-hZmvim.js → iso-dates-BOFf_iIt.js} +3 -0
  150. package/dist/cjs/{usage-GrpazmBt.js → usage-CySZt7j5.js} +1 -1
  151. package/dist/collection/components/beta/gux-calendar-beta/tests/tests.service.playwright.js +1 -1
  152. package/dist/collection/components/stable/gux-datepicker/gux-datepicker.js +12 -9
  153. package/dist/collection/components/stable/gux-icon/gux-icon.css +1 -2
  154. package/dist/collection/utils/date/iso-dates.js +3 -0
  155. package/dist/esm/{get-valid-timezone-rh51yAZx.js → get-valid-timezone-DIdb7fir.js} +1 -1
  156. package/dist/esm/gux-accordion.entry.js +1 -1
  157. package/dist/esm/gux-action-button.entry.js +2 -2
  158. package/dist/esm/gux-action-toast-legacy.entry.js +1 -1
  159. package/dist/esm/gux-actionable-inline-alert-beta.entry.js +1 -1
  160. package/dist/esm/gux-advanced-dropdown-legacy.entry.js +2 -2
  161. package/dist/esm/gux-ai-powered-badge-beta.entry.js +2 -2
  162. package/dist/esm/gux-all-row-select.entry.js +1 -1
  163. package/dist/esm/gux-announce-beta.entry.js +1 -1
  164. package/dist/esm/gux-avatar-beta.entry.js +2 -2
  165. package/dist/esm/gux-avatar-change-photo-beta.entry.js +2 -2
  166. package/dist/esm/gux-avatar-group-add-item-beta_3.entry.js +2 -2
  167. package/dist/esm/gux-avatar-group-beta.entry.js +1 -1
  168. package/dist/esm/gux-avatar-group-item-beta.entry.js +1 -1
  169. package/dist/esm/gux-badge.entry.js +2 -2
  170. package/dist/esm/gux-blank-state-beta.entry.js +1 -1
  171. package/dist/esm/gux-blank-state.entry.js +1 -1
  172. package/dist/esm/gux-breadcrumbs.entry.js +2 -2
  173. package/dist/esm/gux-button-multi.entry.js +1 -1
  174. package/dist/esm/gux-button-slot.entry.js +1 -1
  175. package/dist/esm/gux-button_2.entry.js +1 -1
  176. package/dist/esm/gux-calendar-beta.entry.js +1 -1
  177. package/dist/esm/gux-calendar.entry.js +3 -3
  178. package/dist/esm/gux-card.entry.js +1 -1
  179. package/dist/esm/gux-cloud-logo-beta.entry.js +2 -2
  180. package/dist/esm/gux-cloud-logomark-beta.entry.js +2 -2
  181. package/dist/esm/gux-column-manager-item.entry.js +1 -1
  182. package/dist/esm/gux-column-manager.entry.js +2 -2
  183. package/dist/esm/gux-content-search.entry.js +2 -2
  184. package/dist/esm/gux-context-menu.entry.js +2 -2
  185. package/dist/esm/gux-copy-to-clipboard.entry.js +2 -2
  186. package/dist/esm/gux-create-option.entry.js +1 -1
  187. package/dist/esm/gux-date-beta.entry.js +3 -3
  188. package/dist/esm/gux-date-time-beta.entry.js +3 -3
  189. package/dist/esm/gux-datepicker.entry.js +15 -12
  190. package/dist/esm/gux-day-beta.entry.js +1 -1
  191. package/dist/esm/gux-disclosure-button-legacy.entry.js +2 -2
  192. package/dist/esm/gux-dismiss-button.entry.js +2 -2
  193. package/dist/esm/gux-dropdown-multi-tag.entry.js +1 -1
  194. package/dist/esm/gux-dropdown-multi.entry.js +2 -2
  195. package/dist/esm/gux-dropdown_3.entry.js +2 -2
  196. package/dist/esm/gux-file-list-item.entry.js +2 -2
  197. package/dist/esm/gux-flag-icon-beta.entry.js +2 -2
  198. package/dist/esm/gux-flyout-menu.entry.js +2 -2
  199. package/dist/esm/gux-form-field-checkbox-group-beta.entry.js +2 -2
  200. package/dist/esm/gux-form-field-checkbox.entry.js +1 -1
  201. package/dist/esm/gux-form-field-color.entry.js +1 -1
  202. package/dist/esm/gux-form-field-dropdown.entry.js +2 -2
  203. package/dist/esm/gux-form-field-file-beta.entry.js +2 -2
  204. package/dist/esm/gux-form-field-file.entry.js +1 -1
  205. package/dist/esm/gux-form-field-input-clear-button.entry.js +2 -2
  206. package/dist/esm/gux-form-field-label-indicator.entry.js +2 -2
  207. package/dist/esm/gux-form-field-number_2.entry.js +2 -2
  208. package/dist/esm/gux-form-field-phone.entry.js +2 -2
  209. package/dist/esm/gux-form-field-radio-group-beta.entry.js +2 -2
  210. package/dist/esm/gux-form-field-radio.entry.js +1 -1
  211. package/dist/esm/gux-form-field-range.entry.js +1 -1
  212. package/dist/esm/gux-form-field-search.entry.js +1 -1
  213. package/dist/esm/gux-form-field-select.entry.js +1 -1
  214. package/dist/esm/gux-form-field-text-like.entry.js +2 -2
  215. package/dist/esm/gux-form-field-textarea.entry.js +1 -1
  216. package/dist/esm/gux-form-field-time-picker.entry.js +2 -2
  217. package/dist/esm/gux-form-field-time-zone-picker.entry.js +2 -2
  218. package/dist/esm/gux-form-footer.entry.js +1 -1
  219. package/dist/esm/gux-icon-tooltip-beta.entry.js +1 -1
  220. package/dist/esm/gux-icon.entry.js +2 -2
  221. package/dist/esm/gux-illustration-beta.entry.js +1 -1
  222. package/dist/esm/gux-inline-alert.entry.js +2 -2
  223. package/dist/esm/gux-inline-dropdown-beta.entry.js +2 -2
  224. package/dist/esm/gux-label-info-beta.entry.js +1 -1
  225. package/dist/esm/gux-link-beta.entry.js +1 -1
  226. package/dist/esm/gux-list.entry.js +1 -1
  227. package/dist/esm/gux-listbox-multi.entry.js +2 -2
  228. package/dist/esm/gux-loading-message.entry.js +1 -1
  229. package/dist/esm/gux-logo-beta.entry.js +2 -2
  230. package/dist/esm/gux-logomark-beta.entry.js +2 -2
  231. package/dist/esm/gux-modal-legacy.entry.js +1 -1
  232. package/dist/esm/gux-modal-side-panel-beta.entry.js +1 -1
  233. package/dist/esm/gux-modal.entry.js +1 -1
  234. package/dist/esm/gux-month-calendar.entry.js +1 -1
  235. package/dist/esm/gux-month-picker-beta.entry.js +2 -2
  236. package/dist/esm/gux-notification-toast-legacy.entry.js +1 -1
  237. package/dist/esm/gux-option-multi.entry.js +1 -1
  238. package/dist/esm/gux-page-loading-spinner.entry.js +1 -1
  239. package/dist/esm/gux-pagination-buttons-legacy_3.entry.js +1 -1
  240. package/dist/esm/gux-pagination-buttons_2.entry.js +1 -1
  241. package/dist/esm/gux-pagination-cursor.entry.js +2 -2
  242. package/dist/esm/gux-pagination-items-per-page.entry.js +1 -1
  243. package/dist/esm/gux-pagination-legacy.entry.js +1 -1
  244. package/dist/esm/gux-pagination.entry.js +1 -1
  245. package/dist/esm/gux-phone-input-beta.entry.js +173 -171
  246. package/dist/esm/gux-popover-beta.entry.js +1 -1
  247. package/dist/esm/gux-popover-list-beta.entry.js +1 -1
  248. package/dist/esm/gux-popover-list.entry.js +1 -1
  249. package/dist/esm/gux-prompt-input-beta.entry.js +2 -2
  250. package/dist/esm/gux-radial-loading.entry.js +2 -2
  251. package/dist/esm/gux-radial-progress.entry.js +1 -1
  252. package/dist/esm/gux-rating.entry.js +2 -2
  253. package/dist/esm/gux-rich-highlight-list-item.entry.js +2 -2
  254. package/dist/esm/gux-rich-style-list-item_3.entry.js +2 -2
  255. package/dist/esm/gux-rich-text-editor-action-link.entry.js +2 -2
  256. package/dist/esm/gux-rich-text-editor-action-rich-style.entry.js +2 -2
  257. package/dist/esm/gux-rich-text-editor-action-text-highlight.entry.js +2 -2
  258. package/dist/esm/gux-rich-text-editor-action.entry.js +2 -2
  259. package/dist/esm/gux-rich-text-editor-beta.entry.js +2 -2
  260. package/dist/esm/gux-rich-text-editor-list.entry.js +1 -1
  261. package/dist/esm/gux-row-select.entry.js +1 -1
  262. package/dist/esm/gux-screen-reader-beta.entry.js +1 -1
  263. package/dist/esm/gux-segmented-control-beta.entry.js +1 -1
  264. package/dist/esm/gux-select-all.entry.js +1 -1
  265. package/dist/esm/gux-selector-card-beta.entry.js +1 -1
  266. package/dist/esm/gux-selector-cards-beta.entry.js +1 -1
  267. package/dist/esm/gux-side-panel-beta.entry.js +1 -1
  268. package/dist/esm/gux-side-panel-header.entry.js +1 -1
  269. package/dist/esm/gux-side-panel-heading.entry.js +1 -1
  270. package/dist/esm/gux-simple-toast-legacy.entry.js +1 -1
  271. package/dist/esm/gux-skip-navigation-list.entry.js +2 -2
  272. package/dist/esm/gux-sort-control.entry.js +2 -2
  273. package/dist/esm/gux-status-indicator-beta.entry.js +1 -1
  274. package/dist/esm/gux-step-title.entry.js +1 -1
  275. package/dist/esm/gux-step.entry.js +1 -1
  276. package/dist/esm/gux-stepper-beta.entry.js +1 -1
  277. package/dist/esm/gux-switch-legacy.entry.js +1 -1
  278. package/dist/esm/gux-tab-advanced-list.entry.js +1 -1
  279. package/dist/esm/gux-tab-advanced.entry.js +1 -1
  280. package/dist/esm/gux-tab-list.entry.js +1 -1
  281. package/dist/esm/gux-table-select-menu.entry.js +1 -1
  282. package/dist/esm/gux-table-toolbar-action.entry.js +2 -2
  283. package/dist/esm/gux-table-toolbar-custom-action.entry.js +1 -1
  284. package/dist/esm/gux-table-toolbar-menu-button.entry.js +2 -2
  285. package/dist/esm/gux-table-toolbar.entry.js +1 -1
  286. package/dist/esm/gux-table.entry.js +2 -2
  287. package/dist/esm/gux-tabs-advanced.entry.js +1 -1
  288. package/dist/esm/gux-tabs.entry.js +1 -1
  289. package/dist/esm/gux-tag.entry.js +2 -2
  290. package/dist/esm/gux-text-highlight.entry.js +1 -1
  291. package/dist/esm/gux-time-beta.entry.js +3 -3
  292. package/dist/esm/gux-time-picker.entry.js +2 -2
  293. package/dist/esm/gux-time-zone-beta.entry.js +2 -2
  294. package/dist/esm/gux-time-zone-picker-beta.entry.js +2 -2
  295. package/dist/esm/gux-toast.entry.js +1 -1
  296. package/dist/esm/gux-toggle.entry.js +2 -2
  297. package/dist/esm/gux-tooltip-base-beta_2.entry.js +1 -1
  298. package/dist/esm/gux-tooltip-pointer-beta.entry.js +1 -1
  299. package/dist/esm/gux-tooltip_2.entry.js +1 -1
  300. package/dist/esm/gux-tree-beta.entry.js +1 -1
  301. package/dist/esm/gux-tree-multi-beta.entry.js +1 -1
  302. package/dist/esm/index-ChoMleW_.js +3366 -0
  303. package/dist/esm/{iso-dates-aKaDsw_5.js → iso-dates-BFybQmZw.js} +3 -0
  304. package/dist/esm/{usage-CYZSsQYc.js → usage-DuA81njM.js} +1 -1
  305. package/dist/genesys-webcomponents/genesys-webcomponents.esm.js +1 -1
  306. package/dist/genesys-webcomponents/i18n/genesys-webcomponents.i18n.ar.json +1 -1
  307. package/dist/genesys-webcomponents/i18n/genesys-webcomponents.i18n.cs.json +1 -1
  308. package/dist/genesys-webcomponents/i18n/genesys-webcomponents.i18n.da.json +1 -1
  309. package/dist/genesys-webcomponents/i18n/genesys-webcomponents.i18n.es-es.json +1 -1
  310. package/dist/genesys-webcomponents/i18n/genesys-webcomponents.i18n.es.json +1 -1
  311. package/dist/genesys-webcomponents/i18n/genesys-webcomponents.i18n.fi.json +1 -1
  312. package/dist/genesys-webcomponents/i18n/genesys-webcomponents.i18n.fr.json +1 -1
  313. package/dist/genesys-webcomponents/i18n/genesys-webcomponents.i18n.he.json +1 -1
  314. package/dist/genesys-webcomponents/i18n/genesys-webcomponents.i18n.ja.json +1 -1
  315. package/dist/genesys-webcomponents/i18n/genesys-webcomponents.i18n.ko.json +1 -1
  316. package/dist/genesys-webcomponents/i18n/genesys-webcomponents.i18n.nl.json +1 -1
  317. package/dist/genesys-webcomponents/i18n/genesys-webcomponents.i18n.no.json +1 -1
  318. package/dist/genesys-webcomponents/i18n/genesys-webcomponents.i18n.pl.json +1 -1
  319. package/dist/genesys-webcomponents/i18n/genesys-webcomponents.i18n.pt-br.json +1 -1
  320. package/dist/genesys-webcomponents/i18n/genesys-webcomponents.i18n.pt-pt.json +1 -1
  321. package/dist/genesys-webcomponents/i18n/genesys-webcomponents.i18n.ru.json +1 -1
  322. package/dist/genesys-webcomponents/i18n/genesys-webcomponents.i18n.sv.json +1 -1
  323. package/dist/genesys-webcomponents/i18n/genesys-webcomponents.i18n.th.json +1 -1
  324. package/dist/genesys-webcomponents/i18n/genesys-webcomponents.i18n.tr.json +1 -1
  325. package/dist/genesys-webcomponents/i18n/genesys-webcomponents.i18n.uk.json +1 -1
  326. package/dist/genesys-webcomponents/i18n/genesys-webcomponents.i18n.zh-cn.json +1 -1
  327. package/dist/genesys-webcomponents/i18n/genesys-webcomponents.i18n.zh-tw.json +1 -1
  328. package/dist/genesys-webcomponents/{p-150dda1b.entry.js → p-02651a73.entry.js} +1 -1
  329. package/dist/genesys-webcomponents/{p-8f29fb00.entry.js → p-02cdb13e.entry.js} +1 -1
  330. package/dist/genesys-webcomponents/{p-77528c82.entry.js → p-039abfb4.entry.js} +1 -1
  331. package/dist/genesys-webcomponents/{p-4f62813b.entry.js → p-0937d865.entry.js} +1 -1
  332. package/dist/genesys-webcomponents/{p-4e05cb3a.entry.js → p-0bbe73dc.entry.js} +1 -1
  333. package/dist/genesys-webcomponents/{p-8aeb2c01.entry.js → p-0c5bce4e.entry.js} +1 -1
  334. package/dist/genesys-webcomponents/{p-f9ba7265.entry.js → p-0cf50df0.entry.js} +1 -1
  335. package/dist/genesys-webcomponents/{p-f0dfc482.entry.js → p-0ea7a415.entry.js} +1 -1
  336. package/dist/genesys-webcomponents/{p-40bdc6cf.entry.js → p-0f5ea607.entry.js} +1 -1
  337. package/dist/genesys-webcomponents/{p-25b01b19.entry.js → p-10ef87fe.entry.js} +1 -1
  338. package/dist/genesys-webcomponents/{p-8b620273.entry.js → p-1122968a.entry.js} +1 -1
  339. package/dist/genesys-webcomponents/{p-9a79b58d.entry.js → p-11dd3778.entry.js} +1 -1
  340. package/dist/genesys-webcomponents/{p-32991d30.entry.js → p-1bf6a162.entry.js} +1 -1
  341. package/dist/genesys-webcomponents/p-1e3ec93f.entry.js +1 -0
  342. package/dist/genesys-webcomponents/{p-d057a751.entry.js → p-21000f53.entry.js} +1 -1
  343. package/dist/genesys-webcomponents/{p-500841cb.entry.js → p-22f6b334.entry.js} +1 -1
  344. package/dist/genesys-webcomponents/{p-b78c93da.entry.js → p-23ae0917.entry.js} +1 -1
  345. package/dist/genesys-webcomponents/{p-2cc4e28d.entry.js → p-2633afb0.entry.js} +1 -1
  346. package/dist/genesys-webcomponents/{p-23d2d73b.entry.js → p-28e95900.entry.js} +1 -1
  347. package/dist/genesys-webcomponents/{p-f44e0aaf.entry.js → p-2bfaa86c.entry.js} +1 -1
  348. package/dist/genesys-webcomponents/{p-bafe648a.entry.js → p-30ae568b.entry.js} +1 -1
  349. package/dist/genesys-webcomponents/{p-9dbbdaa6.entry.js → p-3364834d.entry.js} +1 -1
  350. package/dist/genesys-webcomponents/{p-7df39689.entry.js → p-33b55d3a.entry.js} +1 -1
  351. package/dist/genesys-webcomponents/{p-801d79b5.entry.js → p-33f86ef9.entry.js} +1 -1
  352. package/dist/genesys-webcomponents/{p-6ac8394d.entry.js → p-34538d75.entry.js} +1 -1
  353. package/dist/genesys-webcomponents/{p-dfe507e8.entry.js → p-36528f75.entry.js} +1 -1
  354. package/dist/genesys-webcomponents/{p-d7aa420d.entry.js → p-36d13c33.entry.js} +1 -1
  355. package/dist/genesys-webcomponents/{p-b463bdd3.entry.js → p-3a1c4693.entry.js} +1 -1
  356. package/dist/genesys-webcomponents/{p-fe5a1f14.entry.js → p-3bed3583.entry.js} +1 -1
  357. package/dist/genesys-webcomponents/{p-573cb83a.entry.js → p-3d638b05.entry.js} +1 -1
  358. package/dist/genesys-webcomponents/{p-ed33d483.entry.js → p-3dfc1f32.entry.js} +1 -1
  359. package/dist/genesys-webcomponents/{p-a8a46b95.entry.js → p-3e2f8751.entry.js} +1 -1
  360. package/dist/genesys-webcomponents/{p-603bcd25.entry.js → p-41bc979f.entry.js} +1 -1
  361. package/dist/genesys-webcomponents/{p-f9e43e59.entry.js → p-428afcf5.entry.js} +1 -1
  362. package/dist/genesys-webcomponents/{p-00531df5.entry.js → p-43880345.entry.js} +1 -1
  363. package/dist/genesys-webcomponents/{p-8653db1a.entry.js → p-4846a88a.entry.js} +1 -1
  364. package/dist/genesys-webcomponents/{p-40e8150c.entry.js → p-49454b4d.entry.js} +1 -1
  365. package/dist/genesys-webcomponents/{p-edbe4ba0.entry.js → p-4c657161.entry.js} +1 -1
  366. package/dist/genesys-webcomponents/{p-e2fc68a6.entry.js → p-4ea1a4f0.entry.js} +1 -1
  367. package/dist/genesys-webcomponents/{p-a69cce2b.entry.js → p-4fcd278e.entry.js} +1 -1
  368. package/dist/genesys-webcomponents/p-505f865e.entry.js +1 -0
  369. package/dist/genesys-webcomponents/{p-7ef51b7d.entry.js → p-5932e0c1.entry.js} +1 -1
  370. package/dist/genesys-webcomponents/{p-ad9a18c7.entry.js → p-59f6f334.entry.js} +1 -1
  371. package/dist/genesys-webcomponents/{p-85c4cd01.entry.js → p-5b093234.entry.js} +1 -1
  372. package/dist/genesys-webcomponents/{p-9cce8f5a.entry.js → p-5c5a577a.entry.js} +1 -1
  373. package/dist/genesys-webcomponents/{p-17a45dbe.entry.js → p-5c7d27ab.entry.js} +1 -1
  374. package/dist/genesys-webcomponents/{p-dcd1882b.entry.js → p-5d13d3ee.entry.js} +1 -1
  375. package/dist/genesys-webcomponents/{p-24b6f102.entry.js → p-5e27003f.entry.js} +1 -1
  376. package/dist/genesys-webcomponents/{p-5155b824.entry.js → p-5fcc4435.entry.js} +1 -1
  377. package/dist/genesys-webcomponents/{p-71a63e54.entry.js → p-605dacba.entry.js} +1 -1
  378. package/dist/genesys-webcomponents/{p-554dbbe1.entry.js → p-62edb2f0.entry.js} +1 -1
  379. package/dist/genesys-webcomponents/{p-3de4faad.entry.js → p-62f984dc.entry.js} +1 -1
  380. package/dist/genesys-webcomponents/{p-6ff72393.entry.js → p-6bdceed9.entry.js} +1 -1
  381. package/dist/genesys-webcomponents/{p-d8d1b6db.entry.js → p-6d2d0937.entry.js} +1 -1
  382. package/dist/genesys-webcomponents/{p-64bdfffa.entry.js → p-6e935d0c.entry.js} +1 -1
  383. package/dist/genesys-webcomponents/{p-2a801ea9.entry.js → p-6fd91111.entry.js} +1 -1
  384. package/dist/genesys-webcomponents/{p-9f9e1e6f.entry.js → p-72963da0.entry.js} +1 -1
  385. package/dist/genesys-webcomponents/{p-a5a8e89a.entry.js → p-7324e903.entry.js} +1 -1
  386. package/dist/genesys-webcomponents/{p-56c66f0d.entry.js → p-737339b4.entry.js} +1 -1
  387. package/dist/genesys-webcomponents/{p-0f0d8d5d.entry.js → p-73a73ed8.entry.js} +1 -1
  388. package/dist/genesys-webcomponents/{p-13b0d7d1.entry.js → p-73e442a2.entry.js} +1 -1
  389. package/dist/genesys-webcomponents/{p-48926e3d.entry.js → p-751d9ed3.entry.js} +2 -2
  390. package/dist/genesys-webcomponents/{p-a7c37eab.entry.js → p-7537d923.entry.js} +1 -1
  391. package/dist/genesys-webcomponents/{p-1cd43bcd.entry.js → p-767fc5b1.entry.js} +1 -1
  392. package/dist/genesys-webcomponents/{p-4a5d7c92.entry.js → p-76de727c.entry.js} +1 -1
  393. package/dist/genesys-webcomponents/{p-99299d25.entry.js → p-779e8d6c.entry.js} +1 -1
  394. package/dist/genesys-webcomponents/{p-913ab88b.entry.js → p-793a81ec.entry.js} +1 -1
  395. package/dist/genesys-webcomponents/{p-36e360c1.entry.js → p-7ba8626d.entry.js} +1 -1
  396. package/dist/genesys-webcomponents/{p-ac558ad8.entry.js → p-7e6f6ec9.entry.js} +1 -1
  397. package/dist/genesys-webcomponents/{p-a8fb48d5.entry.js → p-80fd8236.entry.js} +1 -1
  398. package/dist/genesys-webcomponents/{p-11a4a6ef.entry.js → p-8511eff8.entry.js} +1 -1
  399. package/dist/genesys-webcomponents/p-864e10a7.entry.js +1 -0
  400. package/dist/genesys-webcomponents/{p-e67865a1.entry.js → p-8aae6e1b.entry.js} +1 -1
  401. package/dist/genesys-webcomponents/{p-10f9ef52.entry.js → p-8aee0028.entry.js} +1 -1
  402. package/dist/genesys-webcomponents/{p-40068451.entry.js → p-8bc90c92.entry.js} +1 -1
  403. package/dist/genesys-webcomponents/{p-19ae0df0.entry.js → p-8cd048c5.entry.js} +1 -1
  404. package/dist/genesys-webcomponents/{p-58f9da5c.entry.js → p-8d1004ec.entry.js} +1 -1
  405. package/dist/genesys-webcomponents/{p-e1e30fcb.entry.js → p-8dd2f365.entry.js} +1 -1
  406. package/dist/genesys-webcomponents/{p-b9d36907.entry.js → p-8f05b522.entry.js} +1 -1
  407. package/dist/genesys-webcomponents/{p-01acdf70.entry.js → p-9079b3d2.entry.js} +1 -1
  408. package/dist/genesys-webcomponents/{p-f66adf01.entry.js → p-91f48073.entry.js} +1 -1
  409. package/dist/genesys-webcomponents/{p-16940c56.entry.js → p-93f9d776.entry.js} +1 -1
  410. package/dist/genesys-webcomponents/{p-eda82225.entry.js → p-95204b40.entry.js} +1 -1
  411. package/dist/genesys-webcomponents/{p-2e742607.entry.js → p-96e13871.entry.js} +1 -1
  412. package/dist/genesys-webcomponents/{p-55bb8071.entry.js → p-9834c454.entry.js} +1 -1
  413. package/dist/genesys-webcomponents/{p-8b1ec4b4.entry.js → p-9944d6aa.entry.js} +1 -1
  414. package/dist/genesys-webcomponents/{p-f9fa3200.entry.js → p-9d76b7d4.entry.js} +1 -1
  415. package/dist/genesys-webcomponents/p-BFybQmZw.js +1 -0
  416. package/dist/genesys-webcomponents/{p-BvsD2Jrx.js → p-C1OLX65e.js} +1 -1
  417. package/dist/genesys-webcomponents/{p-CYZSsQYc.js → p-DuA81njM.js} +1 -1
  418. package/dist/genesys-webcomponents/p-DyLWs74h.js +1 -0
  419. package/dist/genesys-webcomponents/{p-4b496a5e.entry.js → p-a0c5eec6.entry.js} +1 -1
  420. package/dist/genesys-webcomponents/{p-7ccc09fb.entry.js → p-a2a33525.entry.js} +1 -1
  421. package/dist/genesys-webcomponents/p-a44f6a2a.entry.js +1 -0
  422. package/dist/genesys-webcomponents/{p-e4208622.entry.js → p-a4b58bd0.entry.js} +1 -1
  423. package/dist/genesys-webcomponents/{p-83014c33.entry.js → p-a509cc7b.entry.js} +1 -1
  424. package/dist/genesys-webcomponents/{p-8ac99306.entry.js → p-a9e0a048.entry.js} +1 -1
  425. package/dist/genesys-webcomponents/{p-4b1a4e58.entry.js → p-ab1cb72f.entry.js} +1 -1
  426. package/dist/genesys-webcomponents/{p-9e7fe47a.entry.js → p-ac521cfb.entry.js} +1 -1
  427. package/dist/genesys-webcomponents/{p-b091152c.entry.js → p-ae76b47c.entry.js} +1 -1
  428. package/dist/genesys-webcomponents/{p-66c9b0d0.entry.js → p-b1cd671e.entry.js} +1 -1
  429. package/dist/genesys-webcomponents/{p-37a4d70d.entry.js → p-b314f691.entry.js} +1 -1
  430. package/dist/genesys-webcomponents/{p-f38d7610.entry.js → p-b3db1945.entry.js} +1 -1
  431. package/dist/genesys-webcomponents/{p-d1b6b001.entry.js → p-b77b650c.entry.js} +1 -1
  432. package/dist/genesys-webcomponents/{p-984cbfe9.entry.js → p-b848d870.entry.js} +1 -1
  433. package/dist/genesys-webcomponents/{p-dd7741ca.entry.js → p-bc595779.entry.js} +1 -1
  434. package/dist/genesys-webcomponents/{p-77fa550d.entry.js → p-bd1d655e.entry.js} +1 -1
  435. package/dist/genesys-webcomponents/{p-86a3bdd6.entry.js → p-bd8150ac.entry.js} +1 -1
  436. package/dist/genesys-webcomponents/{p-931b24c4.entry.js → p-c2a110b2.entry.js} +1 -1
  437. package/dist/genesys-webcomponents/{p-e2a8084e.entry.js → p-c46de8f0.entry.js} +1 -1
  438. package/dist/genesys-webcomponents/{p-7e943541.entry.js → p-c629b283.entry.js} +1 -1
  439. package/dist/genesys-webcomponents/{p-592f2225.entry.js → p-c6795357.entry.js} +1 -1
  440. package/dist/genesys-webcomponents/{p-d1a7f402.entry.js → p-c7273180.entry.js} +1 -1
  441. package/dist/genesys-webcomponents/{p-cf9a2833.entry.js → p-c732debb.entry.js} +1 -1
  442. package/dist/genesys-webcomponents/{p-8595df72.entry.js → p-c831fe8b.entry.js} +1 -1
  443. package/dist/genesys-webcomponents/{p-e908936f.entry.js → p-c8db7588.entry.js} +1 -1
  444. package/dist/genesys-webcomponents/{p-56367f4c.entry.js → p-c91c7adc.entry.js} +1 -1
  445. package/dist/genesys-webcomponents/{p-40e67591.entry.js → p-c99aa895.entry.js} +1 -1
  446. package/dist/genesys-webcomponents/{p-81ddab63.entry.js → p-ca6c463f.entry.js} +1 -1
  447. package/dist/genesys-webcomponents/{p-2c0169ec.entry.js → p-caa541f9.entry.js} +1 -1
  448. package/dist/genesys-webcomponents/{p-485629ba.entry.js → p-cab51c69.entry.js} +1 -1
  449. package/dist/genesys-webcomponents/{p-e24b725f.entry.js → p-d19e9654.entry.js} +1 -1
  450. package/dist/genesys-webcomponents/{p-67f7bdf0.entry.js → p-d3f21a6e.entry.js} +1 -1
  451. package/dist/genesys-webcomponents/{p-67ffdd06.entry.js → p-d4530404.entry.js} +1 -1
  452. package/dist/genesys-webcomponents/{p-84c99152.entry.js → p-d57d0888.entry.js} +1 -1
  453. package/dist/genesys-webcomponents/{p-8afc5a3d.entry.js → p-d66b290b.entry.js} +1 -1
  454. package/dist/genesys-webcomponents/{p-d771bfca.entry.js → p-d7c78efb.entry.js} +1 -1
  455. package/dist/genesys-webcomponents/{p-7e122f43.entry.js → p-d8d4ec14.entry.js} +1 -1
  456. package/dist/genesys-webcomponents/{p-bab515b9.entry.js → p-d902565b.entry.js} +1 -1
  457. package/dist/genesys-webcomponents/{p-0ac44e50.entry.js → p-da89d324.entry.js} +1 -1
  458. package/dist/genesys-webcomponents/{p-ed4d78bc.entry.js → p-dfc484d0.entry.js} +1 -1
  459. package/dist/genesys-webcomponents/{p-5edbab02.entry.js → p-e5b05bb5.entry.js} +1 -1
  460. package/dist/genesys-webcomponents/{p-ed78de36.entry.js → p-e5c3d991.entry.js} +1 -1
  461. package/dist/genesys-webcomponents/{p-f0478e6e.entry.js → p-e791de9d.entry.js} +1 -1
  462. package/dist/genesys-webcomponents/{p-dad46386.entry.js → p-e9ac3c35.entry.js} +1 -1
  463. package/dist/genesys-webcomponents/{p-ddd7362d.entry.js → p-ec608d0e.entry.js} +1 -1
  464. package/dist/genesys-webcomponents/{p-b1fb20d7.entry.js → p-ec96e2c2.entry.js} +1 -1
  465. package/dist/genesys-webcomponents/{p-4c966844.entry.js → p-f2387a75.entry.js} +1 -1
  466. package/dist/genesys-webcomponents/{p-29222289.entry.js → p-f2bb6dac.entry.js} +1 -1
  467. package/dist/genesys-webcomponents/{p-4fc4f932.entry.js → p-f40d9591.entry.js} +1 -1
  468. package/dist/genesys-webcomponents/{p-4f402fad.entry.js → p-f57853a4.entry.js} +1 -1
  469. package/dist/genesys-webcomponents/{p-8a533da1.entry.js → p-f72dc6af.entry.js} +1 -1
  470. package/dist/genesys-webcomponents/p-f761a8a7.entry.js +1 -0
  471. package/dist/genesys-webcomponents/{p-ae7b7bda.entry.js → p-f80ce660.entry.js} +1 -1
  472. package/dist/genesys-webcomponents/{p-e321e392.entry.js → p-f874c81d.entry.js} +1 -1
  473. package/dist/genesys-webcomponents/{p-feedb61e.entry.js → p-faaf93da.entry.js} +1 -1
  474. package/dist/genesys-webcomponents/{p-4af7ac28.entry.js → p-fb2b16a8.entry.js} +1 -1
  475. package/dist/genesys-webcomponents/{p-1db598fc.entry.js → p-fc7b1a02.entry.js} +1 -1
  476. package/dist/genesys-webcomponents/{p-a658bc21.entry.js → p-fd6fead8.entry.js} +1 -1
  477. package/dist/genesys-webcomponents/{p-77265307.entry.js → p-ffc4b6cb.entry.js} +1 -1
  478. package/dist/stencil-wrapper.js +1 -1
  479. package/dist/types/components/stable/gux-datepicker/gux-datepicker.d.ts +1 -0
  480. package/dist/types/stencil-wrapper.d.ts +1 -1
  481. package/package.json +5 -5
  482. package/dist/cjs/index-D7ufkS4M.js +0 -4194
  483. package/dist/esm/index-HMDSHwTB.js +0 -4188
  484. package/dist/genesys-webcomponents/p-08aa9a17.entry.js +0 -1
  485. package/dist/genesys-webcomponents/p-0f9b2e05.entry.js +0 -1
  486. package/dist/genesys-webcomponents/p-11c7b49a.entry.js +0 -1
  487. package/dist/genesys-webcomponents/p-DnzIYzsz.js +0 -1
  488. package/dist/genesys-webcomponents/p-aKaDsw_5.js +0 -1
  489. package/dist/genesys-webcomponents/p-d061b1f4.entry.js +0 -1
  490. package/dist/genesys-webcomponents/p-deb3b990.entry.js +0 -1
@@ -1 +1 @@
1
- import{r as t,h as a,a as s}from"./p-8p-S7f9X.js";import{t as e}from"./p-CYZSsQYc.js";import{h as i}from"./p-qzV3vtOw.js";const o=class{constructor(a){t(this,a),this.accent="info"}async componentWillLoad(){e(this.root,{variant:this.accent})}componentDidLoad(){this.applyTableStyle()}applyTableStyle(){var t;"td"===(null===(t=this.root.parentElement)||void 0===t?void 0:t.tagName.toLowerCase())&&this.statusIndicatorContainerElement.classList.add("gux-has-table-parent")}renderTooltip(){if(i(this.root,"tooltip-text"))return a("gux-tooltip",null,a("slot",{name:"tooltip-text"}))}render(){return a("div",{key:"07464cf35a95ed7a4133436276f8fded82eb97d9",class:"gux-status-indicator",ref:t=>this.statusIndicatorContainerElement=t},a("span",{key:"bd897f3ca2f5f31d060b15ad209a8db140550863",class:`gux-status-icon gux-status-icon-${this.accent}`}),a("div",{key:"6c958a861a89965b816968534a9280f692361279",class:"gux-status-indicator-text"},a("slot",{key:"1b6ca9bcee7a115685a725181e4ee194596e8b69"})),this.renderTooltip())}get root(){return s(this)}};o.style=".gux-status-indicator{display:inline-flex;gap:var(--gse-ui-dataTableItems-statusIndicator-gap);align-items:center;padding:var(--gse-ui-dataTableItems-statusIndicator-gap);font-size:var(--gse-ui-dataTableItems-statusIndicator-label-fontSize);line-height:var(--gse-ui-dataTableItems-statusIndicator-label-lineHeight);border-radius:var(--gse-ui-dataTableItems-statusIndicator-borderRadius)}.gux-status-indicator:hover{cursor:default;background-color:var(--gse-ui-dataTableItems-statusIndicator-hover)}.gux-has-table-parent{position:relative;inset-inline-start:-8px}.gux-status-indicator-text{color:var(--gse-ui-dataTableItems-statusIndicator-text)}.gux-status-icon{display:inline-flex}.gux-status-icon::before{content:\"\"}.gux-status-icon-info::before{-webkit-mask-image:url(\"data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12' %3E%3Cpath d='M6 0C7.59 0 9.12 0.629997 10.245 1.755C11.37 2.88 12 4.41 12 6C12 7.59 11.37 9.12 10.245 10.245C9.12 11.37 7.59 12 6 12C4.41 12 2.88 11.37 1.755 10.245C0.629997 9.12 0 7.59 0 6C0 4.41 0.629997 2.88 1.755 1.755C2.88 0.629997 4.41 0 6 0Z' /%3E%3C/svg%3E\");mask-image:url(\"data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12' %3E%3Cpath d='M6 0C7.59 0 9.12 0.629997 10.245 1.755C11.37 2.88 12 4.41 12 6C12 7.59 11.37 9.12 10.245 10.245C9.12 11.37 7.59 12 6 12C4.41 12 2.88 11.37 1.755 10.245C0.629997 9.12 0 7.59 0 6C0 4.41 0.629997 2.88 1.755 1.755C2.88 0.629997 4.41 0 6 0Z' /%3E%3C/svg%3E\");inline-size:var(--gse-ui-dataTableItems-statusIndicator-label-fontSize);block-size:var(--gse-ui-dataTableItems-statusIndicator-label-fontSize);background:var(--gse-ui-statusGlyph-information)}.gux-status-icon-warning::before{inline-size:var(--gse-ui-dataTableItems-statusIndicator-label-fontSize);block-size:var(--gse-ui-dataTableItems-statusIndicator-label-fontSize);-webkit-mask-image:url(\"data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12' %3E%3Cpath d='M6.16516 0.749268C6.49521 0.749268 6.80275 0.921791 6.97527 1.21434L12.0386 9.8407C12.2111 10.1332 12.2111 10.4933 12.0386 10.7783C11.8735 11.0709 11.5585 11.2509 11.2285 11.2509H1.10186C0.764303 11.2509 0.456764 11.0709 0.291738 10.7783C0.126712 10.4858 0.126712 10.1257 0.291738 9.8407L5.35504 1.21434C5.52757 0.929292 5.8276 0.749268 6.16516 0.749268Z' /%3E%3C/svg%3E\");mask-image:url(\"data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12' %3E%3Cpath d='M6.16516 0.749268C6.49521 0.749268 6.80275 0.921791 6.97527 1.21434L12.0386 9.8407C12.2111 10.1332 12.2111 10.4933 12.0386 10.7783C11.8735 11.0709 11.5585 11.2509 11.2285 11.2509H1.10186C0.764303 11.2509 0.456764 11.0709 0.291738 10.7783C0.126712 10.4858 0.126712 10.1257 0.291738 9.8407L5.35504 1.21434C5.52757 0.929292 5.8276 0.749268 6.16516 0.749268Z' /%3E%3C/svg%3E\");background:var(--gse-ui-statusGlyph-neutral)}.gux-status-icon-error::before{inline-size:var(--gse-ui-dataTableItems-statusIndicator-label-fontSize);block-size:var(--gse-ui-dataTableItems-statusIndicator-label-fontSize);-webkit-mask-image:url(\"data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12' %3E%3Cpath d='M0.236102 6.88C-0.0787008 6.33785 -0.0787008 5.66215 0.236102 5.12L2.36477 1.38C2.67957 0.837853 3.24922 0.5 3.87133 0.5H8.12867C8.75078 0.5 9.32043 0.837853 9.63523 1.38L11.7639 5.12C12.0787 5.66215 12.0787 6.33785 11.7639 6.88L9.63523 10.62C9.32043 11.1621 8.75078 11.5 8.12867 11.5H3.87133C3.24922 11.5 2.67957 11.1621 2.36477 10.62L0.236102 6.88Z' /%3E%3C/svg%3E\");mask-image:url(\"data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12' %3E%3Cpath d='M0.236102 6.88C-0.0787008 6.33785 -0.0787008 5.66215 0.236102 5.12L2.36477 1.38C2.67957 0.837853 3.24922 0.5 3.87133 0.5H8.12867C8.75078 0.5 9.32043 0.837853 9.63523 1.38L11.7639 5.12C12.0787 5.66215 12.0787 6.33785 11.7639 6.88L9.63523 10.62C9.32043 11.1621 8.75078 11.5 8.12867 11.5H3.87133C3.24922 11.5 2.67957 11.1621 2.36477 10.62L0.236102 6.88Z' /%3E%3C/svg%3E\");background:var(--gse-ui-statusGlyph-negative)}.gux-status-icon-success::before{inline-size:var(--gse-ui-dataTableItems-statusIndicator-label-fontSize);block-size:var(--gse-ui-dataTableItems-statusIndicator-label-fontSize);-webkit-mask-image:url(\"data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12' %3E%3Cpath d='M6 0C7.59 0 9.12 0.629997 10.245 1.755C11.37 2.88 12 4.41 12 6C12 7.59 11.37 9.12 10.245 10.245C9.12 11.37 7.59 12 6 12C4.41 12 2.88 11.37 1.755 10.245C0.629997 9.12 0 7.59 0 6C0 4.41 0.629997 2.88 1.755 1.755C2.88 0.629997 4.41 0 6 0Z' /%3E%3C/svg%3E\");mask-image:url(\"data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12' %3E%3Cpath d='M6 0C7.59 0 9.12 0.629997 10.245 1.755C11.37 2.88 12 4.41 12 6C12 7.59 11.37 9.12 10.245 10.245C9.12 11.37 7.59 12 6 12C4.41 12 2.88 11.37 1.755 10.245C0.629997 9.12 0 7.59 0 6C0 4.41 0.629997 2.88 1.755 1.755C2.88 0.629997 4.41 0 6 0Z' /%3E%3C/svg%3E\");background:var(--gse-ui-statusGlyph-positive)}";export{o as gux_status_indicator_beta}
1
+ import{r as t,h as a,a as s}from"./p-8p-S7f9X.js";import{t as e}from"./p-DuA81njM.js";import{h as i}from"./p-qzV3vtOw.js";const o=class{constructor(a){t(this,a),this.accent="info"}async componentWillLoad(){e(this.root,{variant:this.accent})}componentDidLoad(){this.applyTableStyle()}applyTableStyle(){var t;"td"===(null===(t=this.root.parentElement)||void 0===t?void 0:t.tagName.toLowerCase())&&this.statusIndicatorContainerElement.classList.add("gux-has-table-parent")}renderTooltip(){if(i(this.root,"tooltip-text"))return a("gux-tooltip",null,a("slot",{name:"tooltip-text"}))}render(){return a("div",{key:"07464cf35a95ed7a4133436276f8fded82eb97d9",class:"gux-status-indicator",ref:t=>this.statusIndicatorContainerElement=t},a("span",{key:"bd897f3ca2f5f31d060b15ad209a8db140550863",class:`gux-status-icon gux-status-icon-${this.accent}`}),a("div",{key:"6c958a861a89965b816968534a9280f692361279",class:"gux-status-indicator-text"},a("slot",{key:"1b6ca9bcee7a115685a725181e4ee194596e8b69"})),this.renderTooltip())}get root(){return s(this)}};o.style=".gux-status-indicator{display:inline-flex;gap:var(--gse-ui-dataTableItems-statusIndicator-gap);align-items:center;padding:var(--gse-ui-dataTableItems-statusIndicator-gap);font-size:var(--gse-ui-dataTableItems-statusIndicator-label-fontSize);line-height:var(--gse-ui-dataTableItems-statusIndicator-label-lineHeight);border-radius:var(--gse-ui-dataTableItems-statusIndicator-borderRadius)}.gux-status-indicator:hover{cursor:default;background-color:var(--gse-ui-dataTableItems-statusIndicator-hover)}.gux-has-table-parent{position:relative;inset-inline-start:-8px}.gux-status-indicator-text{color:var(--gse-ui-dataTableItems-statusIndicator-text)}.gux-status-icon{display:inline-flex}.gux-status-icon::before{content:\"\"}.gux-status-icon-info::before{-webkit-mask-image:url(\"data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12' %3E%3Cpath d='M6 0C7.59 0 9.12 0.629997 10.245 1.755C11.37 2.88 12 4.41 12 6C12 7.59 11.37 9.12 10.245 10.245C9.12 11.37 7.59 12 6 12C4.41 12 2.88 11.37 1.755 10.245C0.629997 9.12 0 7.59 0 6C0 4.41 0.629997 2.88 1.755 1.755C2.88 0.629997 4.41 0 6 0Z' /%3E%3C/svg%3E\");mask-image:url(\"data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12' %3E%3Cpath d='M6 0C7.59 0 9.12 0.629997 10.245 1.755C11.37 2.88 12 4.41 12 6C12 7.59 11.37 9.12 10.245 10.245C9.12 11.37 7.59 12 6 12C4.41 12 2.88 11.37 1.755 10.245C0.629997 9.12 0 7.59 0 6C0 4.41 0.629997 2.88 1.755 1.755C2.88 0.629997 4.41 0 6 0Z' /%3E%3C/svg%3E\");inline-size:var(--gse-ui-dataTableItems-statusIndicator-label-fontSize);block-size:var(--gse-ui-dataTableItems-statusIndicator-label-fontSize);background:var(--gse-ui-statusGlyph-information)}.gux-status-icon-warning::before{inline-size:var(--gse-ui-dataTableItems-statusIndicator-label-fontSize);block-size:var(--gse-ui-dataTableItems-statusIndicator-label-fontSize);-webkit-mask-image:url(\"data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12' %3E%3Cpath d='M6.16516 0.749268C6.49521 0.749268 6.80275 0.921791 6.97527 1.21434L12.0386 9.8407C12.2111 10.1332 12.2111 10.4933 12.0386 10.7783C11.8735 11.0709 11.5585 11.2509 11.2285 11.2509H1.10186C0.764303 11.2509 0.456764 11.0709 0.291738 10.7783C0.126712 10.4858 0.126712 10.1257 0.291738 9.8407L5.35504 1.21434C5.52757 0.929292 5.8276 0.749268 6.16516 0.749268Z' /%3E%3C/svg%3E\");mask-image:url(\"data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12' %3E%3Cpath d='M6.16516 0.749268C6.49521 0.749268 6.80275 0.921791 6.97527 1.21434L12.0386 9.8407C12.2111 10.1332 12.2111 10.4933 12.0386 10.7783C11.8735 11.0709 11.5585 11.2509 11.2285 11.2509H1.10186C0.764303 11.2509 0.456764 11.0709 0.291738 10.7783C0.126712 10.4858 0.126712 10.1257 0.291738 9.8407L5.35504 1.21434C5.52757 0.929292 5.8276 0.749268 6.16516 0.749268Z' /%3E%3C/svg%3E\");background:var(--gse-ui-statusGlyph-neutral)}.gux-status-icon-error::before{inline-size:var(--gse-ui-dataTableItems-statusIndicator-label-fontSize);block-size:var(--gse-ui-dataTableItems-statusIndicator-label-fontSize);-webkit-mask-image:url(\"data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12' %3E%3Cpath d='M0.236102 6.88C-0.0787008 6.33785 -0.0787008 5.66215 0.236102 5.12L2.36477 1.38C2.67957 0.837853 3.24922 0.5 3.87133 0.5H8.12867C8.75078 0.5 9.32043 0.837853 9.63523 1.38L11.7639 5.12C12.0787 5.66215 12.0787 6.33785 11.7639 6.88L9.63523 10.62C9.32043 11.1621 8.75078 11.5 8.12867 11.5H3.87133C3.24922 11.5 2.67957 11.1621 2.36477 10.62L0.236102 6.88Z' /%3E%3C/svg%3E\");mask-image:url(\"data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12' %3E%3Cpath d='M0.236102 6.88C-0.0787008 6.33785 -0.0787008 5.66215 0.236102 5.12L2.36477 1.38C2.67957 0.837853 3.24922 0.5 3.87133 0.5H8.12867C8.75078 0.5 9.32043 0.837853 9.63523 1.38L11.7639 5.12C12.0787 5.66215 12.0787 6.33785 11.7639 6.88L9.63523 10.62C9.32043 11.1621 8.75078 11.5 8.12867 11.5H3.87133C3.24922 11.5 2.67957 11.1621 2.36477 10.62L0.236102 6.88Z' /%3E%3C/svg%3E\");background:var(--gse-ui-statusGlyph-negative)}.gux-status-icon-success::before{inline-size:var(--gse-ui-dataTableItems-statusIndicator-label-fontSize);block-size:var(--gse-ui-dataTableItems-statusIndicator-label-fontSize);-webkit-mask-image:url(\"data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12' %3E%3Cpath d='M6 0C7.59 0 9.12 0.629997 10.245 1.755C11.37 2.88 12 4.41 12 6C12 7.59 11.37 9.12 10.245 10.245C9.12 11.37 7.59 12 6 12C4.41 12 2.88 11.37 1.755 10.245C0.629997 9.12 0 7.59 0 6C0 4.41 0.629997 2.88 1.755 1.755C2.88 0.629997 4.41 0 6 0Z' /%3E%3C/svg%3E\");mask-image:url(\"data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12' %3E%3Cpath d='M6 0C7.59 0 9.12 0.629997 10.245 1.755C11.37 2.88 12 4.41 12 6C12 7.59 11.37 9.12 10.245 10.245C9.12 11.37 7.59 12 6 12C4.41 12 2.88 11.37 1.755 10.245C0.629997 9.12 0 7.59 0 6C0 4.41 0.629997 2.88 1.755 1.755C2.88 0.629997 4.41 0 6 0Z' /%3E%3C/svg%3E\");background:var(--gse-ui-statusGlyph-positive)}";export{o as gux_status_indicator_beta}
@@ -1 +1 @@
1
- import{r as e,f as o,h as r,a as t}from"./p-8p-S7f9X.js";import{c as i,o as n}from"./p-Cb3FOYGS.js";import{O as l}from"./p-3FH859nI.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-pGYGNEwk.js";import{G as g,a as c}from"./p-BICThoCJ.js";import{h,c as p,g as m,v as b,a as x}from"./p-1MK2QR3u.js";import{t as v}from"./p-CYZSsQYc.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})}disconnectedCallback(){this.disabledObserver&&this.disabledObserver.disconnect(),this.requiredObserver&&this.requiredObserver.disconnect()}render(){return r(c,{key:"00709e415fe88509771a2469515362a6991173b0",labelPosition:this.computedLabelPosition},r(g,{key:"839726dde8168b2aa9ab56911a3ff49b2674b636",required:this.required,position:this.computedLabelPosition},r("slot",{key:"d8e0aa0a54740bbab34727682e108bb54dc59064",name:"label",onSlotchange:()=>this.setLabel()}),r("gux-form-field-label-indicator",{key:"e89e4b45adecf31ca63bf6ebbb5f4feb034b273c",variant:this.indicatorMark,required:this.required}),r("slot",{key:"a3093cddb56d455e1f30b7af0f1914b5034a6dda",name:"label-info"})),r("div",{key:"ab7d0a3b20f5352350b1b3fe5a589aa436e3da05",class:"gux-input-and-error-container"},r("div",{key:"ffbe7f37b150a07990476e1216dde38e04b14846",class:{"gux-input":!0,"gux-input-error":this.hasError}},r("div",{key:"37b52655d2ea902022b519696a75794ede124f38",class:{"gux-input-container":!0,"gux-disabled":this.disabled},onClick:()=>C(this.input)},r("gux-icon",{key:"bb3412d11a1bb6eabadf43fd1a159691441aa90d","icon-name":"fa/magnifying-glass-regular",decorative:!0,size:"small"}),r("slot",{key:"cfcfeda810144c2560af684c5d7bf75936ef9cc7",name:"input"}),this.clearable&&this.hasContent&&!this.disabled&&r("gux-form-field-input-clear-button",{key:"7a5e5a9a349f034d1d67594456410c2938b1d5d8",onClick:()=>p(this.input)}))),r(f,{key:"ab7d7c33ea582586ba6c0ee3d4b06e7720107499",show:this.hasError},r("slot",{key:"64b37098ab2733397d90199aec6d82750276b716",name:"error"})),r(d,{key:"7680172857bcd37925817f5a6d9917b0d869198e",show:!this.hasError&&this.hasHelp},r("slot",{key:"b5e8fe3a734ee10c14ae5aefa5f78dfbd32d7c06",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})),b(this.root,this.input)}setLabel(){this.label=this.root.querySelector('label[slot="label"]'),this.computedLabelPosition=x(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{display:flex;inline-size:50%;padding-block-end:var(--gse-ui-formControl-formField-gap)}.gux-form-field-label.gux-screenreader{position:absolute;top:auto;left:-10000px;width:1px;height:1px;overflow:hidden}.gux-form-field-help{display:none;flex-direction:row;flex-wrap:nowrap;place-content:stretch flex-start;align-items:flex-start;justify-content:flex-start;padding-block-start:var(--gse-ui-formControl-formField-gap);font-family:var(--gse-ui-formControl-helper-helperText-fontFamily);font-size:var(--gse-ui-formControl-helper-helperText-fontSize);line-height:var(--gse-ui-formControl-helper-helperText-lineHeight);color:var(--gse-ui-formControl-helper-defaultColor)}.gux-form-field-help.gux-show{display:flex}.gux-form-field-help .gux-message{flex:0 1 auto;align-self:none;order:0}:host{display:block}::slotted(label){font-family:var(--gse-ui-formControl-label-textBold-fontFamily);font-size:var(--gse-ui-formControl-label-textBold-fontSize);font-weight:var(--gse-ui-formControl-label-textBold-fontWeight);line-height:var(--gse-ui-formControl-label-textBold-lineHeight);color:var(--gse-ui-formControl-label-labelColor)}::slotted(input){flex:1 1 auto;align-self:auto;order:0;inline-size:100%;overflow:hidden;text-overflow:ellipsis;font-family:var(--gse-ui-formControl-input-contentText-fontFamily);font-size:var(--gse-ui-formControl-input-contentText-fontSize);font-weight:var(--gse-ui-formControl-input-contentText-fontWeight);line-height:var(--gse-ui-formControl-input-contentText-lineHeight);color:var(--gse-ui-formControl-input-populatedColor);outline:none;background-color:var(--gse-ui-formControl-input-backgroundColor);border:none}::slotted(input)::placeholder{color:var(--gse-ui-formControl-input-placeholderColor);opacity:1}.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-8p-S7f9X.js";import{c as i,o as n}from"./p-Cb3FOYGS.js";import{O as l}from"./p-3FH859nI.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-pGYGNEwk.js";import{G as g,a as c}from"./p-BICThoCJ.js";import{h,c as p,g as m,v as b,a as x}from"./p-1MK2QR3u.js";import{t as v}from"./p-DuA81njM.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})}disconnectedCallback(){this.disabledObserver&&this.disabledObserver.disconnect(),this.requiredObserver&&this.requiredObserver.disconnect()}render(){return r(c,{key:"00709e415fe88509771a2469515362a6991173b0",labelPosition:this.computedLabelPosition},r(g,{key:"839726dde8168b2aa9ab56911a3ff49b2674b636",required:this.required,position:this.computedLabelPosition},r("slot",{key:"d8e0aa0a54740bbab34727682e108bb54dc59064",name:"label",onSlotchange:()=>this.setLabel()}),r("gux-form-field-label-indicator",{key:"e89e4b45adecf31ca63bf6ebbb5f4feb034b273c",variant:this.indicatorMark,required:this.required}),r("slot",{key:"a3093cddb56d455e1f30b7af0f1914b5034a6dda",name:"label-info"})),r("div",{key:"ab7d0a3b20f5352350b1b3fe5a589aa436e3da05",class:"gux-input-and-error-container"},r("div",{key:"ffbe7f37b150a07990476e1216dde38e04b14846",class:{"gux-input":!0,"gux-input-error":this.hasError}},r("div",{key:"37b52655d2ea902022b519696a75794ede124f38",class:{"gux-input-container":!0,"gux-disabled":this.disabled},onClick:()=>C(this.input)},r("gux-icon",{key:"bb3412d11a1bb6eabadf43fd1a159691441aa90d","icon-name":"fa/magnifying-glass-regular",decorative:!0,size:"small"}),r("slot",{key:"cfcfeda810144c2560af684c5d7bf75936ef9cc7",name:"input"}),this.clearable&&this.hasContent&&!this.disabled&&r("gux-form-field-input-clear-button",{key:"7a5e5a9a349f034d1d67594456410c2938b1d5d8",onClick:()=>p(this.input)}))),r(f,{key:"ab7d7c33ea582586ba6c0ee3d4b06e7720107499",show:this.hasError},r("slot",{key:"64b37098ab2733397d90199aec6d82750276b716",name:"error"})),r(d,{key:"7680172857bcd37925817f5a6d9917b0d869198e",show:!this.hasError&&this.hasHelp},r("slot",{key:"b5e8fe3a734ee10c14ae5aefa5f78dfbd32d7c06",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})),b(this.root,this.input)}setLabel(){this.label=this.root.querySelector('label[slot="label"]'),this.computedLabelPosition=x(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{display:flex;inline-size:50%;padding-block-end:var(--gse-ui-formControl-formField-gap)}.gux-form-field-label.gux-screenreader{position:absolute;top:auto;left:-10000px;width:1px;height:1px;overflow:hidden}.gux-form-field-help{display:none;flex-direction:row;flex-wrap:nowrap;place-content:stretch flex-start;align-items:flex-start;justify-content:flex-start;padding-block-start:var(--gse-ui-formControl-formField-gap);font-family:var(--gse-ui-formControl-helper-helperText-fontFamily);font-size:var(--gse-ui-formControl-helper-helperText-fontSize);line-height:var(--gse-ui-formControl-helper-helperText-lineHeight);color:var(--gse-ui-formControl-helper-defaultColor)}.gux-form-field-help.gux-show{display:flex}.gux-form-field-help .gux-message{flex:0 1 auto;align-self:none;order:0}:host{display:block}::slotted(label){font-family:var(--gse-ui-formControl-label-textBold-fontFamily);font-size:var(--gse-ui-formControl-label-textBold-fontSize);font-weight:var(--gse-ui-formControl-label-textBold-fontWeight);line-height:var(--gse-ui-formControl-label-textBold-lineHeight);color:var(--gse-ui-formControl-label-labelColor)}::slotted(input){flex:1 1 auto;align-self:auto;order:0;inline-size:100%;overflow:hidden;text-overflow:ellipsis;font-family:var(--gse-ui-formControl-input-contentText-fontFamily);font-size:var(--gse-ui-formControl-input-contentText-fontSize);font-weight:var(--gse-ui-formControl-input-contentText-fontWeight);line-height:var(--gse-ui-formControl-input-contentText-lineHeight);color:var(--gse-ui-formControl-input-populatedColor);outline:none;background-color:var(--gse-ui-formControl-input-backgroundColor);border:none}::slotted(input)::placeholder{color:var(--gse-ui-formControl-input-placeholderColor);opacity:1}.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 i,a as t}from"./p-8p-S7f9X.js";import{b as o}from"./p-DnzIYzsz.js";import{O as r}from"./p-3FH859nI.js";import{a as l,o as a}from"./p-De1NnCmO.js";import{h as s}from"./p-qzV3vtOw.js";import{g as n}from"./p-MAoEg4ig.js";import{G as f,a as h}from"./p-pGYGNEwk.js";import{G as d,a as u,b as p}from"./p-fIPa2NNq.js";import{v as m,a as c}from"./p-1MK2QR3u.js";import{t as g}from"./p-CYZSsQYc.js";import"./p-Cd4R0amv.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.hasError=!1,this.hasHelp=!1,this.hasLabelInfo=!1}watchValue(e){const i=this.root.querySelector("gux-time-zone-picker-beta");i&&(i.hasError=e)}onMutation(){this.labelInfo=this.root.querySelector("[slot=label-info]"),this.hasError=s(this.root,"error"),this.hasHelp=s(this.root,"help")}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=s(this.root,"error"),this.hasHelp=s(this.root,"help"),this.hasLabelInfo=s(this.root,"label-info"),g(this.root,{variant:this.variant})}disconnectedCallback(){this.disabledObserver&&this.disabledObserver.disconnect(),this.requiredObserver&&this.requiredObserver.disconnect()}render(){var e;return i(p,{key:"bb075b3f66c81ea5a8d1e92b109c8608af7c4f80",labelPosition:this.computedLabelPosition},i(u,{key:"11631e74407938e08ba072a910ae9fef2fa5e051"},null===(e=this.label)||void 0===e?void 0:e.textContent,this.renderText(this.getI18nValue("required"),this.required),this.renderText(n(this.root,"error"),this.hasError),this.renderText(n(this.root,"label-info"),this.hasLabelInfo)),i(d,{key:"56056f1016982c27107056ce6b1df8023fa85f37",position:this.computedLabelPosition,required:this.required},i("slot",{key:"6b059128760063d3d74ad16965c2bf2412b8b892",name:"label",onSlotchange:()=>this.setLabel()}),i("gux-form-field-label-indicator",{key:"df4924ae546b8fd079dd368b11e814263841ee83",variant:this.indicatorMark,required:this.required}),i("slot",{key:"d412138bef40185927bbc3aa0d0505ade7d72c85",name:"label-info"})),i("slot",{key:"d3633cf36eb1612f7f012d7aa83f2a5944718c3c",name:"label-info"}),i("div",{key:"8e3b8646013a25144fadde0f07f86fa4b86c3f17",class:"gux-input-and-error-container"},i("div",{key:"ba8783d219c7d4ecb3e1311f6e7a1a0ca23b4280",class:{"gux-input":!0,"gux-input-error":this.hasError,"gux-time-zone-picker-container":!0,"gux-disabled":this.disabled}},i("slot",{key:"87ca9d8bbcf8e7c3649bc466bbad3b2547953ed6"})),i(f,{key:"76b2b00bf1499789ae207a605cf6cbcc9f986525",show:this.hasError},i("slot",{key:"8d220f12c2889dc7eff8548af5aa20a12a4b0ce3",name:"error"})),i(h,{key:"a7696a867796a3c65839c9b1fc909b303879633d",show:!this.hasError&&this.hasHelp},i("slot",{key:"5a38f2de6966e3727b8f0dc06ebe90a9f805159f",name:"help"}))))}renderText(e,i=!1){if(i)return" "+e}get variant(){return`timeZonePicker-${this.labelPosition?this.labelPosition.toLowerCase():"none"}`}setInput(){this.input=this.root.querySelector("gux-time-zone-picker-beta"),this.disabled=this.input.disabled,this.required=this.input.required,this.disabledObserver=l(this.input,(e=>{this.disabled=e})),this.requiredObserver=a(this.input,(e=>{this.required=e})),m(this.root,this.input)}setLabel(){this.label=this.root.querySelector('label[slot="label"]'),this.computedLabelPosition=c(this.label,this.labelPosition)}get root(){return t(this)}static get watchers(){return{hasError:["watchValue"]}}};(function(e,i,t,o){var r,l=arguments.length,a=l<3?i:null===o?o=Object.getOwnPropertyDescriptor(i,t):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(e,i,t,o);else for(var s=e.length-1;s>=0;s--)(r=e[s])&&(a=(l<3?r(a):l>3?r(i,t,a):r(i,t))||a);l>3&&a&&Object.defineProperty(i,t,a)})([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}::slotted(label){font-family:var(--gse-ui-formControl-label-textBold-fontFamily);font-size:var(--gse-ui-formControl-label-textBold-fontSize);font-weight:var(--gse-ui-formControl-label-textBold-fontWeight);line-height:var(--gse-ui-formControl-label-textBold-lineHeight);color:var(--gse-ui-formControl-label-labelColor)}.gux-input-and-error-container{flex-grow:1}";export{x as gux_form_field_time_zone_picker}
1
+ import{r as e,h as i,a as t}from"./p-8p-S7f9X.js";import{b as o}from"./p-DyLWs74h.js";import{O as r}from"./p-3FH859nI.js";import{a as l,o as a}from"./p-De1NnCmO.js";import{h as s}from"./p-qzV3vtOw.js";import{g as n}from"./p-MAoEg4ig.js";import{G as f,a as h}from"./p-pGYGNEwk.js";import{G as d,a as u,b as p}from"./p-fIPa2NNq.js";import{v as m,a as c}from"./p-1MK2QR3u.js";import{t as g}from"./p-DuA81njM.js";import"./p-Cd4R0amv.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.hasError=!1,this.hasHelp=!1,this.hasLabelInfo=!1}watchValue(e){const i=this.root.querySelector("gux-time-zone-picker-beta");i&&(i.hasError=e)}onMutation(){this.labelInfo=this.root.querySelector("[slot=label-info]"),this.hasError=s(this.root,"error"),this.hasHelp=s(this.root,"help")}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=s(this.root,"error"),this.hasHelp=s(this.root,"help"),this.hasLabelInfo=s(this.root,"label-info"),g(this.root,{variant:this.variant})}disconnectedCallback(){this.disabledObserver&&this.disabledObserver.disconnect(),this.requiredObserver&&this.requiredObserver.disconnect()}render(){var e;return i(p,{key:"bb075b3f66c81ea5a8d1e92b109c8608af7c4f80",labelPosition:this.computedLabelPosition},i(u,{key:"11631e74407938e08ba072a910ae9fef2fa5e051"},null===(e=this.label)||void 0===e?void 0:e.textContent,this.renderText(this.getI18nValue("required"),this.required),this.renderText(n(this.root,"error"),this.hasError),this.renderText(n(this.root,"label-info"),this.hasLabelInfo)),i(d,{key:"56056f1016982c27107056ce6b1df8023fa85f37",position:this.computedLabelPosition,required:this.required},i("slot",{key:"6b059128760063d3d74ad16965c2bf2412b8b892",name:"label",onSlotchange:()=>this.setLabel()}),i("gux-form-field-label-indicator",{key:"df4924ae546b8fd079dd368b11e814263841ee83",variant:this.indicatorMark,required:this.required}),i("slot",{key:"d412138bef40185927bbc3aa0d0505ade7d72c85",name:"label-info"})),i("slot",{key:"d3633cf36eb1612f7f012d7aa83f2a5944718c3c",name:"label-info"}),i("div",{key:"8e3b8646013a25144fadde0f07f86fa4b86c3f17",class:"gux-input-and-error-container"},i("div",{key:"ba8783d219c7d4ecb3e1311f6e7a1a0ca23b4280",class:{"gux-input":!0,"gux-input-error":this.hasError,"gux-time-zone-picker-container":!0,"gux-disabled":this.disabled}},i("slot",{key:"87ca9d8bbcf8e7c3649bc466bbad3b2547953ed6"})),i(f,{key:"76b2b00bf1499789ae207a605cf6cbcc9f986525",show:this.hasError},i("slot",{key:"8d220f12c2889dc7eff8548af5aa20a12a4b0ce3",name:"error"})),i(h,{key:"a7696a867796a3c65839c9b1fc909b303879633d",show:!this.hasError&&this.hasHelp},i("slot",{key:"5a38f2de6966e3727b8f0dc06ebe90a9f805159f",name:"help"}))))}renderText(e,i=!1){if(i)return" "+e}get variant(){return`timeZonePicker-${this.labelPosition?this.labelPosition.toLowerCase():"none"}`}setInput(){this.input=this.root.querySelector("gux-time-zone-picker-beta"),this.disabled=this.input.disabled,this.required=this.input.required,this.disabledObserver=l(this.input,(e=>{this.disabled=e})),this.requiredObserver=a(this.input,(e=>{this.required=e})),m(this.root,this.input)}setLabel(){this.label=this.root.querySelector('label[slot="label"]'),this.computedLabelPosition=c(this.label,this.labelPosition)}get root(){return t(this)}static get watchers(){return{hasError:["watchValue"]}}};(function(e,i,t,o){var r,l=arguments.length,a=l<3?i:null===o?o=Object.getOwnPropertyDescriptor(i,t):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(e,i,t,o);else for(var s=e.length-1;s>=0;s--)(r=e[s])&&(a=(l<3?r(a):l>3?r(i,t,a):r(i,t))||a);l>3&&a&&Object.defineProperty(i,t,a)})([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}::slotted(label){font-family:var(--gse-ui-formControl-label-textBold-fontFamily);font-size:var(--gse-ui-formControl-label-textBold-fontSize);font-weight:var(--gse-ui-formControl-label-textBold-fontWeight);line-height:var(--gse-ui-formControl-label-textBold-lineHeight);color:var(--gse-ui-formControl-label-labelColor)}.gux-input-and-error-container{flex-grow:1}";export{x as gux_form_field_time_zone_picker}
@@ -1 +1 @@
1
- import{r as e,c as t,h as s,a as r}from"./p-8p-S7f9X.js";import{t as o}from"./p-CYZSsQYc.js";const i=class{constructor(s){e(this,s),this.internalactivestepchange=t(this,"internalactivestepchange",7)}onClick(){this.stepDisabledState||this.internalactivestepchange.emit()}get stepDisabledState(){var e;return null===(e=this.root.closest("gux-step"))||void 0===e?void 0:e.disabled}componentWillLoad(){o(this.root)}render(){return s("button",{key:"31ae92b2e60d10fd15f8d686f74d8b0071031758",type:"button",disabled:this.stepDisabledState},s("gux-truncate",{key:"3efc6cf00b8f2ac7eabd4301f6a4e1f783c6fac2",maxLines:2},s("slot",{key:"18bd2f89f01b1be9c601c2f43a58d8a46293b447"})))}get root(){return r(this)}};i.style="button{all:unset;font-family:var(--gse-ui-stepper-default-text-fontFamily);font-size:var(--gse-ui-stepper-default-text-fontSize);font-weight:var(--gse-ui-stepper-default-text-fontWeight);line-height:var(--gse-ui-stepper-default-text-lineHeight);color:var(--gse-ui-stepper-title-default);cursor:pointer}button[disabled]{pointer-events:none;user-select:none}button:hover:not([disabled]){font-family:var(--gse-ui-stepper-hover-text-fontFamily);font-size:var(--gse-ui-stepper-hover-text-fontSize);font-weight:var(--gse-ui-stepper-hover-text-fontWeight);line-height:var(--gse-ui-stepper-hover-text-lineHeight);color:var(--gse-ui-stepper-title-hover);text-decoration:var(--gse-ui-stepper-hover-text-textDecoration)}button:focus-visible{outline:var(--gse-ui-stepper-step-focus-border-width) var(--gse-ui-stepper-step-focus-border-style) var(--gse-ui-stepper-step-focus-border-color);outline-offset:var(--gse-ui-stepper-focus-offset);border-radius:var(--gse-ui-stepper-step-focus-borderRadius)}";export{i as gux_step_title}
1
+ import{r as e,c as t,h as s,a as r}from"./p-8p-S7f9X.js";import{t as o}from"./p-DuA81njM.js";const i=class{constructor(s){e(this,s),this.internalactivestepchange=t(this,"internalactivestepchange",7)}onClick(){this.stepDisabledState||this.internalactivestepchange.emit()}get stepDisabledState(){var e;return null===(e=this.root.closest("gux-step"))||void 0===e?void 0:e.disabled}componentWillLoad(){o(this.root)}render(){return s("button",{key:"31ae92b2e60d10fd15f8d686f74d8b0071031758",type:"button",disabled:this.stepDisabledState},s("gux-truncate",{key:"3efc6cf00b8f2ac7eabd4301f6a4e1f783c6fac2",maxLines:2},s("slot",{key:"18bd2f89f01b1be9c601c2f43a58d8a46293b447"})))}get root(){return r(this)}};i.style="button{all:unset;font-family:var(--gse-ui-stepper-default-text-fontFamily);font-size:var(--gse-ui-stepper-default-text-fontSize);font-weight:var(--gse-ui-stepper-default-text-fontWeight);line-height:var(--gse-ui-stepper-default-text-lineHeight);color:var(--gse-ui-stepper-title-default);cursor:pointer}button[disabled]{pointer-events:none;user-select:none}button:hover:not([disabled]){font-family:var(--gse-ui-stepper-hover-text-fontFamily);font-size:var(--gse-ui-stepper-hover-text-fontSize);font-weight:var(--gse-ui-stepper-hover-text-fontWeight);line-height:var(--gse-ui-stepper-hover-text-lineHeight);color:var(--gse-ui-stepper-title-hover);text-decoration:var(--gse-ui-stepper-hover-text-textDecoration)}button:focus-visible{outline:var(--gse-ui-stepper-step-focus-border-width) var(--gse-ui-stepper-step-focus-border-style) var(--gse-ui-stepper-step-focus-border-color);outline-offset:var(--gse-ui-stepper-focus-offset);border-radius:var(--gse-ui-stepper-step-focus-borderRadius)}";export{i as gux_step_title}
@@ -1 +1 @@
1
- import{r as e,c as a,h as t,a as i}from"./p-8p-S7f9X.js";import{b as n}from"./p-DnzIYzsz.js";import"./p-Cd4R0amv.js";var g={perPage:"per page",itemsPerPage:"Items per page",rangeSelected:"Items per page dropdown, {range} items per page selected"};const o=class{constructor(t){e(this,t),this.internalitemsperpagechange=a(this,"internalitemsperpagechange",3),this.itemsPerPage=25,this.disabled=!1}handleChange(e){e.stopPropagation();const a=parseInt(this.dropdownElement.value,10);this.internalitemsperpagechange.emit(a)}async componentWillLoad(){this.i18n=await n(this.root,g)}getDropdown(){return t("gux-dropdown",{ref:e=>this.dropdownElement=e,value:`${this.itemsPerPage}`,disabled:this.disabled,"aria-label":this.i18n("rangeSelected",{range:this.itemsPerPage})},t("gux-listbox",{"aria-label":this.i18n("itemsPerPage")},t("gux-option",{value:"25"},"25"),t("gux-option",{value:"50"},"50"),t("gux-option",{value:"75"},"75"),t("gux-option",{value:"100"},"100")))}render(){return t("div",{key:"124103892ed8e8110c5aabcf4c4bb3b4c9a17d45",class:"gux-pagination-items-per-page-container"},t("div",{key:"4db666a74aa886e3f131afe45848d44ede027ab6",class:"gux-pagination-items-per-page-picker"},this.getDropdown()),t("div",{key:"a5e3372cc40a6e0688a873613a64b68151290439",class:"gux-pagination-per-page"},this.i18n("perPage")))}get root(){return i(this)}};o.style="gux-pagination-items-per-page .gux-pagination-items-per-page-container{display:flex;flex-direction:row;flex-wrap:nowrap;gap:var(--gse-ui-dataTableItems-tablePagination-recordsetControls-gap);place-content:stretch center;align-items:center}gux-pagination-items-per-page .gux-pagination-items-per-page-container>div{flex:0 1 auto;align-self:auto;order:0;white-space:nowrap}gux-pagination-items-per-page .gux-pagination-items-per-page-container .gux-pagination-items-per-page-picker gux-dropdown{display:inline-block;inline-size:fit-content}gux-pagination-items-per-page .gux-pagination-items-per-page-container gux-dropdown div.gux-dropdown .gux-options.gux-opened{inset-block-end:100%;display:flex;flex-direction:column-reverse}gux-pagination-items-per-page .gux-pagination-items-per-page-container .gux-pagination-per-page{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)}";export{o as gux_pagination_items_per_page}
1
+ import{r as e,c as a,h as t,a as i}from"./p-8p-S7f9X.js";import{b as n}from"./p-DyLWs74h.js";import"./p-Cd4R0amv.js";var g={perPage:"per page",itemsPerPage:"Items per page",rangeSelected:"Items per page dropdown, {range} items per page selected"};const o=class{constructor(t){e(this,t),this.internalitemsperpagechange=a(this,"internalitemsperpagechange",3),this.itemsPerPage=25,this.disabled=!1}handleChange(e){e.stopPropagation();const a=parseInt(this.dropdownElement.value,10);this.internalitemsperpagechange.emit(a)}async componentWillLoad(){this.i18n=await n(this.root,g)}getDropdown(){return t("gux-dropdown",{ref:e=>this.dropdownElement=e,value:`${this.itemsPerPage}`,disabled:this.disabled,"aria-label":this.i18n("rangeSelected",{range:this.itemsPerPage})},t("gux-listbox",{"aria-label":this.i18n("itemsPerPage")},t("gux-option",{value:"25"},"25"),t("gux-option",{value:"50"},"50"),t("gux-option",{value:"75"},"75"),t("gux-option",{value:"100"},"100")))}render(){return t("div",{key:"124103892ed8e8110c5aabcf4c4bb3b4c9a17d45",class:"gux-pagination-items-per-page-container"},t("div",{key:"4db666a74aa886e3f131afe45848d44ede027ab6",class:"gux-pagination-items-per-page-picker"},this.getDropdown()),t("div",{key:"a5e3372cc40a6e0688a873613a64b68151290439",class:"gux-pagination-per-page"},this.i18n("perPage")))}get root(){return i(this)}};o.style="gux-pagination-items-per-page .gux-pagination-items-per-page-container{display:flex;flex-direction:row;flex-wrap:nowrap;gap:var(--gse-ui-dataTableItems-tablePagination-recordsetControls-gap);place-content:stretch center;align-items:center}gux-pagination-items-per-page .gux-pagination-items-per-page-container>div{flex:0 1 auto;align-self:auto;order:0;white-space:nowrap}gux-pagination-items-per-page .gux-pagination-items-per-page-container .gux-pagination-items-per-page-picker gux-dropdown{display:inline-block;inline-size:fit-content}gux-pagination-items-per-page .gux-pagination-items-per-page-container gux-dropdown div.gux-dropdown .gux-options.gux-opened{inset-block-end:100%;display:flex;flex-direction:column-reverse}gux-pagination-items-per-page .gux-pagination-items-per-page-container .gux-pagination-per-page{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)}";export{o as gux_pagination_items_per_page}
@@ -0,0 +1 @@
1
+ function n(n){const t=(n.getMonth()+1).toString().padStart(2,"0"),r=n.getDate().toString().padStart(2,"0");return`${n.getFullYear()}-${t}-${r}`}function t(t,r){const[e,s]=[t,r].sort(((n,t)=>n<t?-1:1));return`${n(e)}/${n(s)}`}function r(n){if(!n)return new Date;const[t,r,e]=n.split("-"),s=parseInt(t,10),a=parseInt(r,10)-1,c=parseInt(e,10);return new Date(s,a,c)}function e(n){const[t,e]=n.split("/");return[r(t),r(e)]}export{t as a,n as b,e as c,r as f}
@@ -1 +1 @@
1
- import{l as t}from"./p-DnzIYzsz.js";class e{constructor(e){t.includes(e)?this.locale=e:(console.warn(`Locale "${e}" is not supported. Falling back to English translation.`),this.locale="en")}formatDate(t,e,r={}){return t.toLocaleDateString(this.locale,Object.assign({calendar:"gregory"},r,{dateStyle:e}))}formatTime(t,e,r={}){return t.toLocaleTimeString(this.locale,Object.assign({calendar:"gregory"},r,{timeStyle:e}))}formatDateTime(t,e,r={}){return t.toLocaleString(this.locale,Object.assign({calendar:"gregory"},r,{dateStyle:e,timeStyle:e}))}}function r(t,e){try{return Intl.DateTimeFormat("en-US",{timeZone:t}).resolvedOptions().timeZone}catch(t){return console.error(t),e}}export{e as D,r as g}
1
+ import{l as t}from"./p-DyLWs74h.js";class e{constructor(e){t.includes(e)?this.locale=e:(console.warn(`Locale "${e}" is not supported. Falling back to English translation.`),this.locale="en")}formatDate(t,e,r={}){return t.toLocaleDateString(this.locale,Object.assign({calendar:"gregory"},r,{dateStyle:e}))}formatTime(t,e,r={}){return t.toLocaleTimeString(this.locale,Object.assign({calendar:"gregory"},r,{timeStyle:e}))}formatDateTime(t,e,r={}){return t.toLocaleString(this.locale,Object.assign({calendar:"gregory"},r,{dateStyle:e,timeStyle:e}))}}function r(t,e){try{return Intl.DateTimeFormat("en-US",{timeZone:t}).resolvedOptions().timeZone}catch(t){return console.error(t),e}}export{e as D,r as g}
@@ -1 +1 @@
1
- var e="4.203.0";const t=[function(e){const[t,n,...o]=e.split(".");return{name:"spark-library",metadata:{fullVersion:`${t}.${n}.${o.join(".")}`,majorVersion:t,minorVersion:`${t}.${n}`}}}(e)];function n(){const e=window.newrelic;if(e){for(let o=0;o<20;o++){if(0==t.length)return void setTimeout(n,3e4);const o=t.shift();e.addPageAction(o.name,Object.assign(Object.assign({},o.metadata),{queueDepth:t.length}))}setTimeout(n,3e4)}}let o=!1;function r(r,i){window.newrelic&&(o||(o=!0,n()),document.contains(r)&&t.push({name:"spark-component",metadata:Object.assign(Object.assign({},i),{component:r.tagName.toLowerCase(),version:e})}))}export{r as t}
1
+ var e="4.205.0";const t=[function(e){const[t,n,...o]=e.split(".");return{name:"spark-library",metadata:{fullVersion:`${t}.${n}.${o.join(".")}`,majorVersion:t,minorVersion:`${t}.${n}`}}}(e)];function n(){const e=window.newrelic;if(e){for(let o=0;o<20;o++){if(0==t.length)return void setTimeout(n,3e4);const o=t.shift();e.addPageAction(o.name,Object.assign(Object.assign({},o.metadata),{queueDepth:t.length}))}setTimeout(n,3e4)}}let o=!1;function r(r,i){window.newrelic&&(o||(o=!0,n()),document.contains(r)&&t.push({name:"spark-component",metadata:Object.assign(Object.assign({},i),{component:r.tagName.toLowerCase(),version:e})}))}export{r as t}
@@ -0,0 +1 @@
1
+ import{e as t}from"./p-8p-S7f9X.js";import{g as e}from"./p-Cd4R0amv.js";function h(t,e){return(e&&e.strategy?e.strategy:s)(t,{cache:e&&e.cache?e.cache:c,serializer:e&&e.serializer?e.serializer:o})}function n(t,e,h,n){const r=null==(i=n)||"number"==typeof i||"boolean"==typeof i?n:h(n);var i;let s=e.get(r);return void 0===s&&(s=t.call(this,n),e.set(r,s)),s}function r(t,e,h){const n=Array.prototype.slice.call(arguments,3),r=h(n);let i=e.get(r);return void 0===i&&(i=t.apply(this,n),e.set(r,i)),i}function i(t,e,h,n,r){return h.bind(e,t,n,r)}function s(t,e){return i(t,this,1===t.length?n:r,e.cache.create(),e.serializer)}const o=function(){return JSON.stringify(arguments)};class a{cache;constructor(){this.cache=Object.create(null)}get(t){return this.cache[t]}set(t,e){this.cache[t]=e}}const c={create:function(){return new a}},u={variadic:function(t,e){return i(t,this,r,e.cache.create(),e.serializer)}},l=/(?:[Eec]{1,6}|G{1,5}|[Qq]{1,5}|(?:[yYur]+|U{1,5})|[ML]{1,5}|d{1,2}|D{1,3}|F{1}|[abB]{1,5}|[hkHK]{1,2}|w{1,2}|W{1}|m{1,2}|s{1,2}|[zZOvVxX]{1,4})(?=([^']*'[^']*')*[^']*$)/g;function H(t){const e={};return t.replace(l,(t=>{const h=t.length;switch(t[0]){case"G":e.era=4===h?"long":5===h?"narrow":"short";break;case"y":e.year=2===h?"2-digit":"numeric";break;case"Y":case"u":case"U":case"r":throw new RangeError("`Y/u/U/r` (year) patterns are not supported, use `y` instead");case"q":case"Q":throw new RangeError("`q/Q` (quarter) patterns are not supported");case"M":case"L":e.month=["numeric","2-digit","short","long","narrow"][h-1];break;case"w":case"W":throw new RangeError("`w/W` (week) patterns are not supported");case"d":e.day=["numeric","2-digit"][h-1];break;case"D":case"F":case"g":throw new RangeError("`D/F/g` (day) patterns are not supported, use `d` instead");case"E":e.weekday=4===h?"long":5===h?"narrow":"short";break;case"e":if(h<4)throw new RangeError("`e..eee` (weekday) patterns are not supported");e.weekday=["short","long","narrow","short"][h-4];break;case"c":if(h<4)throw new RangeError("`c..ccc` (weekday) patterns are not supported");e.weekday=["short","long","narrow","short"][h-4];break;case"a":e.hour12=!0;break;case"b":case"B":throw new RangeError("`b/B` (period) patterns are not supported, use `a` instead");case"h":e.hourCycle="h12",e.hour=["numeric","2-digit"][h-1];break;case"H":e.hourCycle="h23",e.hour=["numeric","2-digit"][h-1];break;case"K":e.hourCycle="h11",e.hour=["numeric","2-digit"][h-1];break;case"k":e.hourCycle="h24",e.hour=["numeric","2-digit"][h-1];break;case"j":case"J":case"C":throw new RangeError("`j/J/C` (hour) patterns are not supported, use `h/H/K/k` instead");case"m":e.minute=["numeric","2-digit"][h-1];break;case"s":e.second=["numeric","2-digit"][h-1];break;case"S":case"A":throw new RangeError("`S/A` (second) patterns are not supported, use `s` instead");case"z":e.timeZoneName=h<4?"short":"long";break;case"Z":case"O":case"v":case"V":case"X":case"x":throw new RangeError("`Z/O/v/V/X/x` (timeZone) patterns are not supported, use `z` instead")}return""})),e}const f=/[\t-\r \x85\u200E\u200F\u2028\u2029]/i,B=/^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g,b=/^(@+)?(\+|#+)?[rs]?$/g,p=/(\*)(0+)|(#+)(0+)|(0+)/g,g=/^(0+)$/;function E(t){const e={};return"r"===t[t.length-1]?e.roundingPriority="morePrecision":"s"===t[t.length-1]&&(e.roundingPriority="lessPrecision"),t.replace(b,(function(t,h,n){return"string"!=typeof n?(e.minimumSignificantDigits=h.length,e.maximumSignificantDigits=h.length):"+"===n?e.minimumSignificantDigits=h.length:"#"===h[0]?e.maximumSignificantDigits=h.length:(e.minimumSignificantDigits=h.length,e.maximumSignificantDigits=h.length+("string"==typeof n?n.length:0)),""})),e}function d(t){switch(t){case"sign-auto":return{signDisplay:"auto"};case"sign-accounting":case"()":return{currencySign:"accounting"};case"sign-always":case"+!":return{signDisplay:"always"};case"sign-accounting-always":case"()!":return{signDisplay:"always",currencySign:"accounting"};case"sign-except-zero":case"+?":return{signDisplay:"exceptZero"};case"sign-accounting-except-zero":case"()?":return{signDisplay:"exceptZero",currencySign:"accounting"};case"sign-never":case"+_":return{signDisplay:"never"}}}function m(t){let e;if("E"===t[0]&&"E"===t[1]?(e={notation:"engineering"},t=t.slice(2)):"E"===t[0]&&(e={notation:"scientific"},t=t.slice(1)),e){const h=t.slice(0,2);if("+!"===h?(e.signDisplay="always",t=t.slice(2)):"+?"===h&&(e.signDisplay="exceptZero",t=t.slice(2)),!g.test(t))throw new Error("Malformed concise eng/scientific notation");e.minimumIntegerDigits=t.length}return e}function y(t){return d(t)||{}}function w(t){let e={};for(const h of t){switch(h.stem){case"percent":case"%":e.style="percent";continue;case"%x100":e.style="percent",e.scale=100;continue;case"currency":e.style="currency",e.currency=h.options[0];continue;case"group-off":case",_":e.useGrouping=!1;continue;case"precision-integer":case".":e.maximumFractionDigits=0;continue;case"measure-unit":case"unit":e.style="unit",e.unit=h.options[0].replace(/^(.*?)-/,"");continue;case"compact-short":case"K":e.notation="compact",e.compactDisplay="short";continue;case"compact-long":case"KK":e.notation="compact",e.compactDisplay="long";continue;case"scientific":e={...e,notation:"scientific",...h.options.reduce(((t,e)=>({...t,...y(e)})),{})};continue;case"engineering":e={...e,notation:"engineering",...h.options.reduce(((t,e)=>({...t,...y(e)})),{})};continue;case"notation-simple":e.notation="standard";continue;case"unit-width-narrow":e.currencyDisplay="narrowSymbol",e.unitDisplay="narrow";continue;case"unit-width-short":e.currencyDisplay="code",e.unitDisplay="short";continue;case"unit-width-full-name":e.currencyDisplay="name",e.unitDisplay="long";continue;case"unit-width-iso-code":e.currencyDisplay="symbol";continue;case"scale":e.scale=parseFloat(h.options[0]);continue;case"rounding-mode-floor":e.roundingMode="floor";continue;case"rounding-mode-ceiling":e.roundingMode="ceil";continue;case"rounding-mode-down":e.roundingMode="trunc";continue;case"rounding-mode-up":e.roundingMode="expand";continue;case"rounding-mode-half-even":e.roundingMode="halfEven";continue;case"rounding-mode-half-down":e.roundingMode="halfTrunc";continue;case"rounding-mode-half-up":e.roundingMode="halfExpand";continue;case"integer-width":if(h.options.length>1)throw new RangeError("integer-width stems only accept a single optional option");h.options[0].replace(p,(function(t,h,n,r,i,s){if(h)e.minimumIntegerDigits=n.length;else{if(r&&i)throw new Error("We currently do not support maximum integer digits");if(s)throw new Error("We currently do not support exact integer digits")}return""}));continue}if(g.test(h.stem)){e.minimumIntegerDigits=h.stem.length;continue}if(B.test(h.stem)){if(h.options.length>1)throw new RangeError("Fraction-precision stems only accept a single optional option");h.stem.replace(B,(function(t,h,n,r,i,s){return"*"===n?e.minimumFractionDigits=h.length:r&&"#"===r[0]?e.maximumFractionDigits=r.length:i&&s?(e.minimumFractionDigits=i.length,e.maximumFractionDigits=i.length+s.length):(e.minimumFractionDigits=h.length,e.maximumFractionDigits=h.length),""}));const t=h.options[0];"w"===t?e={...e,trailingZeroDisplay:"stripIfInteger"}:t&&(e={...e,...E(t)});continue}if(b.test(h.stem)){e={...e,...E(h.stem)};continue}const t=d(h.stem);t&&(e={...e,...t});const n=m(h.stem);n&&(e={...e,...n})}return e}let T=function(t){return t[t.literal=0]="literal",t[t.argument=1]="argument",t[t.number=2]="number",t[t.date=3]="date",t[t.time=4]="time",t[t.select=5]="select",t[t.plural=6]="plural",t[t.pound=7]="pound",t[t.tag=8]="tag",t}({}),A=function(t){return t[t.number=0]="number",t[t.dateTime=1]="dateTime",t}({});function S(t){return t.type===T.literal}function v(t){return t.type===T.argument}function N(t){return t.type===T.number}function I(t){return t.type===T.date}function L(t){return t.type===T.time}function M(t){return t.type===T.select}function _(t){return t.type===T.plural}function R(t){return t.type===T.pound}function C(t){return t.type===T.tag}function O(t){return!(!t||"object"!=typeof t||t.type!==A.number)}function G(t){return!(!t||"object"!=typeof t||t.type!==A.dateTime)}let P=function(t){return t[t.EXPECT_ARGUMENT_CLOSING_BRACE=1]="EXPECT_ARGUMENT_CLOSING_BRACE",t[t.EMPTY_ARGUMENT=2]="EMPTY_ARGUMENT",t[t.MALFORMED_ARGUMENT=3]="MALFORMED_ARGUMENT",t[t.EXPECT_ARGUMENT_TYPE=4]="EXPECT_ARGUMENT_TYPE",t[t.INVALID_ARGUMENT_TYPE=5]="INVALID_ARGUMENT_TYPE",t[t.EXPECT_ARGUMENT_STYLE=6]="EXPECT_ARGUMENT_STYLE",t[t.INVALID_NUMBER_SKELETON=7]="INVALID_NUMBER_SKELETON",t[t.INVALID_DATE_TIME_SKELETON=8]="INVALID_DATE_TIME_SKELETON",t[t.EXPECT_NUMBER_SKELETON=9]="EXPECT_NUMBER_SKELETON",t[t.EXPECT_DATE_TIME_SKELETON=10]="EXPECT_DATE_TIME_SKELETON",t[t.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE=11]="UNCLOSED_QUOTE_IN_ARGUMENT_STYLE",t[t.EXPECT_SELECT_ARGUMENT_OPTIONS=12]="EXPECT_SELECT_ARGUMENT_OPTIONS",t[t.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE=13]="EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE",t[t.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE=14]="INVALID_PLURAL_ARGUMENT_OFFSET_VALUE",t[t.EXPECT_SELECT_ARGUMENT_SELECTOR=15]="EXPECT_SELECT_ARGUMENT_SELECTOR",t[t.EXPECT_PLURAL_ARGUMENT_SELECTOR=16]="EXPECT_PLURAL_ARGUMENT_SELECTOR",t[t.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT=17]="EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT",t[t.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT=18]="EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT",t[t.INVALID_PLURAL_ARGUMENT_SELECTOR=19]="INVALID_PLURAL_ARGUMENT_SELECTOR",t[t.DUPLICATE_PLURAL_ARGUMENT_SELECTOR=20]="DUPLICATE_PLURAL_ARGUMENT_SELECTOR",t[t.DUPLICATE_SELECT_ARGUMENT_SELECTOR=21]="DUPLICATE_SELECT_ARGUMENT_SELECTOR",t[t.MISSING_OTHER_CLAUSE=22]="MISSING_OTHER_CLAUSE",t[t.INVALID_TAG=23]="INVALID_TAG",t[t.INVALID_TAG_NAME=25]="INVALID_TAG_NAME",t[t.UNMATCHED_CLOSING_TAG=26]="UNMATCHED_CLOSING_TAG",t[t.UNCLOSED_TAG=27]="UNCLOSED_TAG",t}({});const U=/[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/,k={"001":["H","h"],419:["h","H","hB","hb"],AC:["H","h","hb","hB"],AD:["H","hB"],AE:["h","hB","hb","H"],AF:["H","hb","hB","h"],AG:["h","hb","H","hB"],AI:["H","h","hb","hB"],AL:["h","H","hB"],AM:["H","hB"],AO:["H","hB"],AR:["h","H","hB","hb"],AS:["h","H"],AT:["H","hB"],AU:["h","hb","H","hB"],AW:["H","hB"],AX:["H"],AZ:["H","hB","h"],BA:["H","hB","h"],BB:["h","hb","H","hB"],BD:["h","hB","H"],BE:["H","hB"],BF:["H","hB"],BG:["H","hB","h"],BH:["h","hB","hb","H"],BI:["H","h"],BJ:["H","hB"],BL:["H","hB"],BM:["h","hb","H","hB"],BN:["hb","hB","h","H"],BO:["h","H","hB","hb"],BQ:["H"],BR:["H","hB"],BS:["h","hb","H","hB"],BT:["h","H"],BW:["H","h","hb","hB"],BY:["H","h"],BZ:["H","h","hb","hB"],CA:["h","hb","H","hB"],CC:["H","h","hb","hB"],CD:["hB","H"],CF:["H","h","hB"],CG:["H","hB"],CH:["H","hB","h"],CI:["H","hB"],CK:["H","h","hb","hB"],CL:["h","H","hB","hb"],CM:["H","h","hB"],CN:["H","hB","hb","h"],CO:["h","H","hB","hb"],CP:["H"],CR:["h","H","hB","hb"],CU:["h","H","hB","hb"],CV:["H","hB"],CW:["H","hB"],CX:["H","h","hb","hB"],CY:["h","H","hb","hB"],CZ:["H"],DE:["H","hB"],DG:["H","h","hb","hB"],DJ:["h","H"],DK:["H"],DM:["h","hb","H","hB"],DO:["h","H","hB","hb"],DZ:["h","hB","hb","H"],EA:["H","h","hB","hb"],EC:["h","H","hB","hb"],EE:["H","hB"],EG:["h","hB","hb","H"],EH:["h","hB","hb","H"],ER:["h","H"],ES:["H","hB","h","hb"],ET:["hB","hb","h","H"],FI:["H"],FJ:["h","hb","H","hB"],FK:["H","h","hb","hB"],FM:["h","hb","H","hB"],FO:["H","h"],FR:["H","hB"],GA:["H","hB"],GB:["H","h","hb","hB"],GD:["h","hb","H","hB"],GE:["H","hB","h"],GF:["H","hB"],GG:["H","h","hb","hB"],GH:["h","H"],GI:["H","h","hb","hB"],GL:["H","h"],GM:["h","hb","H","hB"],GN:["H","hB"],GP:["H","hB"],GQ:["H","hB","h","hb"],GR:["h","H","hb","hB"],GS:["H","h","hb","hB"],GT:["h","H","hB","hb"],GU:["h","hb","H","hB"],GW:["H","hB"],GY:["h","hb","H","hB"],HK:["h","hB","hb","H"],HN:["h","H","hB","hb"],HR:["H","hB"],HU:["H","h"],IC:["H","h","hB","hb"],ID:["H"],IE:["H","h","hb","hB"],IL:["H","hB"],IM:["H","h","hb","hB"],IN:["h","H"],IO:["H","h","hb","hB"],IQ:["h","hB","hb","H"],IR:["hB","H"],IS:["H"],IT:["H","hB"],JE:["H","h","hb","hB"],JM:["h","hb","H","hB"],JO:["h","hB","hb","H"],JP:["H","K","h"],KE:["hB","hb","H","h"],KG:["H","h","hB","hb"],KH:["hB","h","H","hb"],KI:["h","hb","H","hB"],KM:["H","h","hB","hb"],KN:["h","hb","H","hB"],KP:["h","H","hB","hb"],KR:["h","H","hB","hb"],KW:["h","hB","hb","H"],KY:["h","hb","H","hB"],KZ:["H","hB"],LA:["H","hb","hB","h"],LB:["h","hB","hb","H"],LC:["h","hb","H","hB"],LI:["H","hB","h"],LK:["H","h","hB","hb"],LR:["h","hb","H","hB"],LS:["h","H"],LT:["H","h","hb","hB"],LU:["H","h","hB"],LV:["H","hB","hb","h"],LY:["h","hB","hb","H"],MA:["H","h","hB","hb"],MC:["H","hB"],MD:["H","hB"],ME:["H","hB","h"],MF:["H","hB"],MG:["H","h"],MH:["h","hb","H","hB"],MK:["H","h","hb","hB"],ML:["H"],MM:["hB","hb","H","h"],MN:["H","h","hb","hB"],MO:["h","hB","hb","H"],MP:["h","hb","H","hB"],MQ:["H","hB"],MR:["h","hB","hb","H"],MS:["H","h","hb","hB"],MT:["H","h"],MU:["H","h"],MV:["H","h"],MW:["h","hb","H","hB"],MX:["h","H","hB","hb"],MY:["hb","hB","h","H"],MZ:["H","hB"],NA:["h","H","hB","hb"],NC:["H","hB"],NE:["H"],NF:["H","h","hb","hB"],NG:["H","h","hb","hB"],NI:["h","H","hB","hb"],NL:["H","hB"],NO:["H","h"],NP:["H","h","hB"],NR:["H","h","hb","hB"],NU:["H","h","hb","hB"],NZ:["h","hb","H","hB"],OM:["h","hB","hb","H"],PA:["h","H","hB","hb"],PE:["h","H","hB","hb"],PF:["H","h","hB"],PG:["h","H"],PH:["h","hB","hb","H"],PK:["h","hB","H"],PL:["H","h"],PM:["H","hB"],PN:["H","h","hb","hB"],PR:["h","H","hB","hb"],PS:["h","hB","hb","H"],PT:["H","hB"],PW:["h","H"],PY:["h","H","hB","hb"],QA:["h","hB","hb","H"],RE:["H","hB"],RO:["H","hB"],RS:["H","hB","h"],RU:["H"],RW:["H","h"],SA:["h","hB","hb","H"],SB:["h","hb","H","hB"],SC:["H","h","hB"],SD:["h","hB","hb","H"],SE:["H"],SG:["h","hb","H","hB"],SH:["H","h","hb","hB"],SI:["H","hB"],SJ:["H"],SK:["H"],SL:["h","hb","H","hB"],SM:["H","h","hB"],SN:["H","h","hB"],SO:["h","H"],SR:["H","hB"],SS:["h","hb","H","hB"],ST:["H","hB"],SV:["h","H","hB","hb"],SX:["H","h","hb","hB"],SY:["h","hB","hb","H"],SZ:["h","hb","H","hB"],TA:["H","h","hb","hB"],TC:["h","hb","H","hB"],TD:["h","H","hB"],TF:["H","h","hB"],TG:["H","hB"],TH:["H","h"],TJ:["H","h"],TL:["H","hB","hb","h"],TM:["H","h"],TN:["h","hB","hb","H"],TO:["h","H"],TR:["H","hB"],TT:["h","hb","H","hB"],TW:["hB","hb","h","H"],TZ:["hB","hb","H","h"],UA:["H","hB","h"],UG:["hB","hb","H","h"],UM:["h","hb","H","hB"],US:["h","hb","H","hB"],UY:["h","H","hB","hb"],UZ:["H","hB","h"],VA:["H","h","hB"],VC:["h","hb","H","hB"],VE:["h","H","hB","hb"],VG:["h","hb","H","hB"],VI:["h","hb","H","hB"],VN:["H","h"],VU:["h","H"],WF:["H","hB"],WS:["h","H"],XK:["H","hB","h"],YE:["h","hB","hb","H"],YT:["H","hB"],ZA:["H","h","hb","hB"],ZM:["h","hb","H","hB"],ZW:["H","h"],"af-ZA":["H","h","hB","hb"],"ar-001":["h","hB","hb","H"],"ca-ES":["H","h","hB"],"en-001":["h","hb","H","hB"],"en-HK":["h","hb","H","hB"],"en-IL":["H","h","hb","hB"],"en-MY":["h","hb","H","hB"],"es-BR":["H","h","hB","hb"],"es-ES":["H","h","hB","hb"],"es-GQ":["H","h","hB","hb"],"fr-CA":["H","h","hB"],"gl-ES":["H","h","hB"],"gu-IN":["hB","hb","h","H"],"hi-IN":["hB","h","H"],"it-CH":["H","h","hB"],"it-IT":["H","h","hB"],"kn-IN":["hB","h","H"],"ku-SY":["H","hB"],"ml-IN":["hB","h","H"],"mr-IN":["hB","hb","h","H"],"pa-IN":["hB","hb","h","H"],"ta-IN":["hB","h","hb","H"],"te-IN":["hB","h","H"],"zu-ZA":["H","hB","hb","h"]};function D(t){let e=t.hourCycle;if(void 0===e&&t.hourCycles&&t.hourCycles.length&&(e=t.hourCycles[0]),e)switch(e){case"h24":return"k";case"h23":return"H";case"h12":return"h";case"h11":return"K";default:throw new Error("Invalid hourCycle")}const h=t.language;let n;return"root"!==h&&(n=t.maximize().region),(k[n||""]||k[h||""]||k[`${h}-001`]||k["001"])[0]}const F=new RegExp(`^${U.source}*`),K=new RegExp(`${U.source}*$`);function $(t,e){return{start:t,end:e}}const x=Object.fromEntries?Object.fromEntries:function(t){const e={};for(const[h,n]of t)e[h]=n;return e},V=String.prototype.trimStart?function(t){return t.trimStart()}:function(t){return t.replace(F,"")},j=String.prototype.trimEnd?function(t){return t.trimEnd()}:function(t){return t.replace(K,"")},Z=new RegExp("([^\\p{White_Space}\\p{Pattern_Syntax}]*)","yu");class Y{message;position;locale;ignoreTag;requiresOtherClause;shouldParseSkeletons;constructor(t,e={}){this.message=t,this.position={offset:0,line:1,column:1},this.ignoreTag=!!e.ignoreTag,this.locale=e.locale,this.requiresOtherClause=!!e.requiresOtherClause,this.shouldParseSkeletons=!!e.shouldParseSkeletons}parse(){if(0!==this.offset())throw Error("parser can only be used once");return this.parseMessage(0,"",!1)}parseMessage(t,e,h){let n=[];for(;!this.isEOF();){const r=this.char();if(123===r){const e=this.parseArgument(t,h);if(e.err)return e;n.push(e.val)}else{if(125===r&&t>0)break;if(35!==r||"plural"!==e&&"selectordinal"!==e){if(60===r&&!this.ignoreTag&&47===this.peek()){if(h)break;return this.error(P.UNMATCHED_CLOSING_TAG,$(this.clonePosition(),this.clonePosition()))}if(60===r&&!this.ignoreTag&&X(this.peek()||0)){const h=this.parseTag(t,e);if(h.err)return h;n.push(h.val)}else{const h=this.parseLiteral(t,e);if(h.err)return h;n.push(h.val)}}else{const t=this.clonePosition();this.bump(),n.push({type:T.pound,location:$(t,this.clonePosition())})}}}return{val:n,err:null}}parseTag(t,e){const h=this.clonePosition();this.bump();const n=this.parseTagName();if(this.bumpSpace(),this.bumpIf("/>"))return{val:{type:T.literal,value:`<${n}/>`,location:$(h,this.clonePosition())},err:null};if(this.bumpIf(">")){const r=this.parseMessage(t+1,e,!0);if(r.err)return r;const i=r.val,s=this.clonePosition();if(this.bumpIf("</")){if(this.isEOF()||!X(this.char()))return this.error(P.INVALID_TAG,$(s,this.clonePosition()));const t=this.clonePosition();return n!==this.parseTagName()?this.error(P.UNMATCHED_CLOSING_TAG,$(t,this.clonePosition())):(this.bumpSpace(),this.bumpIf(">")?{val:{type:T.tag,value:n,children:i,location:$(h,this.clonePosition())},err:null}:this.error(P.INVALID_TAG,$(s,this.clonePosition())))}return this.error(P.UNCLOSED_TAG,$(h,this.clonePosition()))}return this.error(P.INVALID_TAG,$(h,this.clonePosition()))}parseTagName(){const t=this.offset();for(this.bump();!this.isEOF()&&(45===(e=this.char())||46===e||e>=48&&e<=57||95===e||e>=97&&e<=122||e>=65&&e<=90||183==e||e>=192&&e<=214||e>=216&&e<=246||e>=248&&e<=893||e>=895&&e<=8191||e>=8204&&e<=8205||e>=8255&&e<=8256||e>=8304&&e<=8591||e>=11264&&e<=12271||e>=12289&&e<=55295||e>=63744&&e<=64975||e>=65008&&e<=65533||e>=65536&&e<=983039);)this.bump();var e;return this.message.slice(t,this.offset())}parseLiteral(t,e){const h=this.clonePosition();let n="";for(;;){const h=this.tryParseQuote(e);if(h){n+=h;continue}const r=this.tryParseUnquoted(t,e);if(r){n+=r;continue}const i=this.tryParseLeftAngleBracket();if(!i)break;n+=i}const r=$(h,this.clonePosition());return{val:{type:T.literal,value:n,location:r},err:null}}tryParseLeftAngleBracket(){return this.isEOF()||60!==this.char()||!this.ignoreTag&&(X(t=this.peek()||0)||47===t)?null:(this.bump(),"<");var t}tryParseQuote(t){if(this.isEOF()||39!==this.char())return null;switch(this.peek()){case 39:return this.bump(),this.bump(),"'";case 123:case 60:case 62:case 125:break;case 35:if("plural"===t||"selectordinal"===t)break;return null;default:return null}this.bump();const e=[this.char()];for(this.bump();!this.isEOF();){const t=this.char();if(39===t){if(39!==this.peek()){this.bump();break}e.push(39),this.bump()}else e.push(t);this.bump()}return String.fromCodePoint(...e)}tryParseUnquoted(t,e){if(this.isEOF())return null;const h=this.char();return 60===h||123===h||35===h&&("plural"===e||"selectordinal"===e)||125===h&&t>0?null:(this.bump(),String.fromCodePoint(h))}parseArgument(t,e){const h=this.clonePosition();if(this.bump(),this.bumpSpace(),this.isEOF())return this.error(P.EXPECT_ARGUMENT_CLOSING_BRACE,$(h,this.clonePosition()));if(125===this.char())return this.bump(),this.error(P.EMPTY_ARGUMENT,$(h,this.clonePosition()));let n=this.parseIdentifierIfPossible().value;if(!n)return this.error(P.MALFORMED_ARGUMENT,$(h,this.clonePosition()));if(this.bumpSpace(),this.isEOF())return this.error(P.EXPECT_ARGUMENT_CLOSING_BRACE,$(h,this.clonePosition()));switch(this.char()){case 125:return this.bump(),{val:{type:T.argument,value:n,location:$(h,this.clonePosition())},err:null};case 44:return this.bump(),this.bumpSpace(),this.isEOF()?this.error(P.EXPECT_ARGUMENT_CLOSING_BRACE,$(h,this.clonePosition())):this.parseArgumentOptions(t,e,n,h);default:return this.error(P.MALFORMED_ARGUMENT,$(h,this.clonePosition()))}}parseIdentifierIfPossible(){const t=this.clonePosition(),e=this.offset(),h=(n=this.message,Z.lastIndex=e,Z.exec(n)[1]??"");var n;return this.bumpTo(e+h.length),{value:h,location:$(t,this.clonePosition())}}parseArgumentOptions(t,e,h,n){let r=this.clonePosition(),i=this.parseIdentifierIfPossible().value,s=this.clonePosition();switch(i){case"":return this.error(P.EXPECT_ARGUMENT_TYPE,$(r,s));case"number":case"date":case"time":{this.bumpSpace();let t=null;if(this.bumpIf(",")){this.bumpSpace();const e=this.clonePosition(),h=this.parseSimpleArgStyleIfPossible();if(h.err)return h;const n=j(h.val);if(0===n.length)return this.error(P.EXPECT_ARGUMENT_STYLE,$(this.clonePosition(),this.clonePosition()));t={style:n,styleLocation:$(e,this.clonePosition())}}const e=this.tryParseArgumentClose(n);if(e.err)return e;const r=$(n,this.clonePosition());if(t&&t.style.startsWith("::")){let e=V(t.style.slice(2));if("number"===i){const n=this.parseNumberSkeletonFromString(e,t.styleLocation);return n.err?n:{val:{type:T.number,value:h,location:r,style:n.val},err:null}}{if(0===e.length)return this.error(P.EXPECT_DATE_TIME_SKELETON,r);let n=e;this.locale&&(n=function(t,e){let h="";for(let n=0;n<t.length;n++){const r=t.charAt(n);if("j"===r){let i=0;for(;n+1<t.length&&t.charAt(n+1)===r;)i++,n++;let s=1+(1&i),o=i<2?1:3+(i>>1),a="a",c=D(e);for("H"!=c&&"k"!=c||(o=0);o-- >0;)h+=a;for(;s-- >0;)h=c+h}else h+="J"===r?"H":r}return h}(e,this.locale));const s={type:A.dateTime,pattern:n,location:t.styleLocation,parsedOptions:this.shouldParseSkeletons?H(n):{}};return{val:{type:"date"===i?T.date:T.time,value:h,location:r,style:s},err:null}}}return{val:{type:"number"===i?T.number:"date"===i?T.date:T.time,value:h,location:r,style:t?.style??null},err:null}}case"plural":case"selectordinal":case"select":{const r=this.clonePosition();if(this.bumpSpace(),!this.bumpIf(","))return this.error(P.EXPECT_SELECT_ARGUMENT_OPTIONS,$(r,{...r}));this.bumpSpace();let s=this.parseIdentifierIfPossible(),o=0;if("select"!==i&&"offset"===s.value){if(!this.bumpIf(":"))return this.error(P.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE,$(this.clonePosition(),this.clonePosition()));this.bumpSpace();const t=this.tryParseDecimalInteger(P.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE,P.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE);if(t.err)return t;this.bumpSpace(),s=this.parseIdentifierIfPossible(),o=t.val}const a=this.tryParsePluralOrSelectOptions(t,i,e,s);if(a.err)return a;const c=this.tryParseArgumentClose(n);if(c.err)return c;const u=$(n,this.clonePosition());return"select"===i?{val:{type:T.select,value:h,options:x(a.val),location:u},err:null}:{val:{type:T.plural,value:h,options:x(a.val),offset:o,pluralType:"plural"===i?"cardinal":"ordinal",location:u},err:null}}default:return this.error(P.INVALID_ARGUMENT_TYPE,$(r,s))}}tryParseArgumentClose(t){return this.isEOF()||125!==this.char()?this.error(P.EXPECT_ARGUMENT_CLOSING_BRACE,$(t,this.clonePosition())):(this.bump(),{val:!0,err:null})}parseSimpleArgStyleIfPossible(){let t=0;const e=this.clonePosition();for(;!this.isEOF();)switch(this.char()){case 39:{this.bump();let t=this.clonePosition();if(!this.bumpUntil("'"))return this.error(P.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE,$(t,this.clonePosition()));this.bump();break}case 123:t+=1,this.bump();break;case 125:if(!(t>0))return{val:this.message.slice(e.offset,this.offset()),err:null};t-=1;break;default:this.bump()}return{val:this.message.slice(e.offset,this.offset()),err:null}}parseNumberSkeletonFromString(t,e){let h=[];try{h=function(t){if(0===t.length)throw new Error("Number skeleton cannot be empty");const e=t.split(f).filter((t=>t.length>0)),h=[];for(const t of e){let e=t.split("/");if(0===e.length)throw new Error("Invalid number skeleton");const[n,...r]=e;for(const t of r)if(0===t.length)throw new Error("Invalid number skeleton");h.push({stem:n,options:r})}return h}(t)}catch{return this.error(P.INVALID_NUMBER_SKELETON,e)}return{val:{type:A.number,tokens:h,location:e,parsedOptions:this.shouldParseSkeletons?w(h):{}},err:null}}tryParsePluralOrSelectOptions(t,e,h,n){let r=!1;const i=[],s=new Set;let{value:o,location:a}=n;for(;;){if(0===o.length){const t=this.clonePosition();if("select"===e||!this.bumpIf("="))break;{const e=this.tryParseDecimalInteger(P.EXPECT_PLURAL_ARGUMENT_SELECTOR,P.INVALID_PLURAL_ARGUMENT_SELECTOR);if(e.err)return e;a=$(t,this.clonePosition()),o=this.message.slice(t.offset,this.offset())}}if(s.has(o))return this.error("select"===e?P.DUPLICATE_SELECT_ARGUMENT_SELECTOR:P.DUPLICATE_PLURAL_ARGUMENT_SELECTOR,a);"other"===o&&(r=!0),this.bumpSpace();const n=this.clonePosition();if(!this.bumpIf("{"))return this.error("select"===e?P.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT:P.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT,$(this.clonePosition(),this.clonePosition()));const c=this.parseMessage(t+1,e,h);if(c.err)return c;const u=this.tryParseArgumentClose(n);if(u.err)return u;i.push([o,{value:c.val,location:$(n,this.clonePosition())}]),s.add(o),this.bumpSpace(),({value:o,location:a}=this.parseIdentifierIfPossible())}return 0===i.length?this.error("select"===e?P.EXPECT_SELECT_ARGUMENT_SELECTOR:P.EXPECT_PLURAL_ARGUMENT_SELECTOR,$(this.clonePosition(),this.clonePosition())):this.requiresOtherClause&&!r?this.error(P.MISSING_OTHER_CLAUSE,$(this.clonePosition(),this.clonePosition())):{val:i,err:null}}tryParseDecimalInteger(t,e){let h=1;const n=this.clonePosition();this.bumpIf("+")||this.bumpIf("-")&&(h=-1);let r=!1,i=0;for(;!this.isEOF();){const t=this.char();if(!(t>=48&&t<=57))break;r=!0,i=10*i+(t-48),this.bump()}const s=$(n,this.clonePosition());return r?(i*=h,Number.isSafeInteger(i)?{val:i,err:null}:this.error(e,s)):this.error(t,s)}offset(){return this.position.offset}isEOF(){return this.offset()===this.message.length}clonePosition(){return{offset:this.position.offset,line:this.position.line,column:this.position.column}}char(){const t=this.position.offset;if(t>=this.message.length)throw Error("out of bound");const e=this.message.codePointAt(t);if(void 0===e)throw Error(`Offset ${t} is at invalid UTF-16 code unit boundary`);return e}error(t,e){return{val:null,err:{kind:t,message:this.message,location:e}}}bump(){if(this.isEOF())return;const t=this.char();10===t?(this.position.line+=1,this.position.column=1,this.position.offset+=1):(this.position.column+=1,this.position.offset+=t<65536?1:2)}bumpIf(t){if(this.message.startsWith(t,this.offset())){for(let e=0;e<t.length;e++)this.bump();return!0}return!1}bumpUntil(t){const e=this.offset(),h=this.message.indexOf(t,e);return h>=0?(this.bumpTo(h),!0):(this.bumpTo(this.message.length),!1)}bumpTo(t){if(this.offset()>t)throw Error(`targetOffset ${t} must be greater than or equal to the current offset ${this.offset()}`);for(t=Math.min(t,this.message.length);;){const e=this.offset();if(e===t)break;if(e>t)throw Error(`targetOffset ${t} is at invalid UTF-16 code unit boundary`);if(this.bump(),this.isEOF())break}}bumpSpace(){for(;!this.isEOF()&&((t=this.char())>=9&&t<=13||32===t||133===t||t>=8206&&t<=8207||8232===t||8233===t);)this.bump();var t}peek(){if(this.isEOF())return null;const t=this.char(),e=this.offset();return this.message.charCodeAt(e+(t>=65536?2:1))??null}}function X(t){return t>=97&&t<=122||t>=65&&t<=90}function W(t){t.forEach((t=>{if(delete t.location,M(t)||_(t))for(const e in t.options)delete t.options[e].location,W(t.options[e].value);else N(t)&&O(t.style)||(I(t)||L(t))&&G(t.style)?delete t.style.location:C(t)&&W(t.children)}))}function z(t,e={}){e={shouldParseSkeletons:!0,requiresOtherClause:!0,...e};const h=new Y(t,e).parse();if(h.err){const t=SyntaxError(P[h.err.kind]);throw t.location=h.err.location,t.originalMessage=h.err.message,t}return e?.captureLocation||W(h.val),h.val}let J=function(t){return t.MISSING_VALUE="MISSING_VALUE",t.INVALID_VALUE="INVALID_VALUE",t.MISSING_INTL_API="MISSING_INTL_API",t}({});class Q extends Error{code;originalMessage;constructor(t,e,h){super(t),this.code=e,this.originalMessage=h}toString(){return`[formatjs Error: ${this.code}] ${this.message}`}}class q extends Q{constructor(t,e,h,n){super(`Invalid values for "${t}": "${e}". Options are "${Object.keys(h).join('", "')}"`,J.INVALID_VALUE,n)}}class tt extends Q{constructor(t,e,h){super(`Value for "${t}" must be of type ${e}`,J.INVALID_VALUE,h)}}class et extends Q{constructor(t,e){super(`The intl string context variable "${t}" was not provided to the string "${e}"`,J.MISSING_VALUE,e)}}let ht=function(t){return t[t.literal=0]="literal",t[t.object=1]="object",t}({});function nt(t){return"function"==typeof t}function rt(t,e,h,n,r,i,s){if(1===t.length&&S(t[0]))return[{type:ht.literal,value:t[0].value}];const o=[];for(const a of t){if(S(a)){o.push({type:ht.literal,value:a.value});continue}if(R(a)){"number"==typeof i&&o.push({type:ht.literal,value:h.getNumberFormat(e).format(i)});continue}const{value:t}=a;if(!r||!(t in r))throw new et(t,s);let c=r[t];if(v(a))c&&"string"!=typeof c&&"number"!=typeof c&&"bigint"!=typeof c||(c="string"==typeof c||"number"==typeof c||"bigint"==typeof c?String(c):""),o.push({type:"string"==typeof c?ht.literal:ht.object,value:c});else if(I(a)){const t="string"==typeof a.style?n.date[a.style]:G(a.style)?a.style.parsedOptions:void 0;o.push({type:ht.literal,value:h.getDateTimeFormat(e,t).format(c)})}else if(L(a)){const t="string"==typeof a.style?n.time[a.style]:G(a.style)?a.style.parsedOptions:n.time.medium;o.push({type:ht.literal,value:h.getDateTimeFormat(e,t).format(c)})}else if(N(a)){const t="string"==typeof a.style?n.number[a.style]:O(a.style)?a.style.parsedOptions:void 0;if(t&&t.scale){const e=t.scale||1;if("bigint"==typeof c){if(!Number.isInteger(e))throw new TypeError(`Cannot apply fractional scale ${e} to bigint value. Scale must be an integer when formatting bigint.`);c*=BigInt(e)}else c*=e}o.push({type:ht.literal,value:h.getNumberFormat(e,t).format(c)})}else{if(C(a)){const{children:t,value:c}=a,u=r[c];if(!nt(u))throw new tt(c,"function",s);let l=u(rt(t,e,h,n,r,i).map((t=>t.value)));Array.isArray(l)||(l=[l]),o.push(...l.map((t=>({type:"string"==typeof t?ht.literal:ht.object,value:t}))))}if(M(a)){const t=c,i=(Object.prototype.hasOwnProperty.call(a.options,t)?a.options[t]:void 0)||a.options.other;if(!i)throw new q(a.value,c,Object.keys(a.options),s);o.push(...rt(i.value,e,h,n,r))}else if(_(a)){const t=`=${c}`;let i=Object.prototype.hasOwnProperty.call(a.options,t)?a.options[t]:void 0;if(!i){if(!Intl.PluralRules)throw new Q('Intl.PluralRules is not available in this environment.\nTry polyfilling it using "@formatjs/intl-pluralrules"\n',J.MISSING_INTL_API,s);const t="bigint"==typeof c?Number(c):c,n=h.getPluralRules(e,{type:a.pluralType}).select(t-(a.offset||0));i=(Object.prototype.hasOwnProperty.call(a.options,n)?a.options[n]:void 0)||a.options.other}if(!i)throw new q(a.value,c,Object.keys(a.options),s);const u="bigint"==typeof c?Number(c):c;o.push(...rt(i.value,e,h,n,r,u-(a.offset||0)))}}}return(a=o).length<2?a:a.reduce(((t,e)=>{const h=t[t.length-1];return h&&h.type===ht.literal&&e.type===ht.literal?h.value+=e.value:t.push(e),t}),[]);var a}function it(t){return{create:()=>({get:e=>t[e],set(e,h){t[e]=h}})}}class st{ast;locales;resolvedLocale;formatters;formats;message;formatterCache={number:{},dateTime:{},pluralRules:{}};constructor(t,e=st.defaultLocale,n,r){if(this.locales=e,this.resolvedLocale=st.resolveLocale(e),"string"==typeof t){if(this.message=t,!st.__parse)throw new TypeError("IntlMessageFormat.__parse must be set to process `message` of type `string`");const{...e}=r||{};this.ast=st.__parse(t,{...e,locale:this.resolvedLocale})}else this.ast=t;if(!Array.isArray(this.ast))throw new TypeError("A message must be provided as a String or AST.");var i,s;this.formats=(i=st.formats,(s=n)?Object.keys(i).reduce(((t,e)=>{var h,n;return t[e]=(h=i[e],(n=s[e])?{...h,...n,...Object.keys(h).reduce(((t,e)=>(t[e]={...h[e],...n[e]},t)),{})}:h),t}),{...i}):i),this.formatters=r&&r.formatters||function(t={number:{},dateTime:{},pluralRules:{}}){return{getNumberFormat:h(((...t)=>new Intl.NumberFormat(...t)),{cache:it(t.number),strategy:u.variadic}),getDateTimeFormat:h(((...t)=>new Intl.DateTimeFormat(...t)),{cache:it(t.dateTime),strategy:u.variadic}),getPluralRules:h(((...t)=>new Intl.PluralRules(...t)),{cache:it(t.pluralRules),strategy:u.variadic})}}(this.formatterCache)}format=t=>{const e=this.formatToParts(t);if(1===e.length)return e[0].value;const h=e.reduce(((t,e)=>(t.length&&e.type===ht.literal&&"string"==typeof t[t.length-1]?t[t.length-1]+=e.value:t.push(e.value),t)),[]);return h.length<=1?h[0]||"":h};formatToParts=t=>rt(this.ast,this.locales,this.formatters,this.formats,t,void 0,this.message);resolvedOptions=()=>({locale:this.resolvedLocale?.toString()||Intl.NumberFormat.supportedLocalesOf(this.locales)[0]});getAst=()=>this.ast;static memoizedDefaultLocale=null;static get defaultLocale(){return st.memoizedDefaultLocale||(st.memoizedDefaultLocale=(new Intl.NumberFormat).resolvedOptions().locale),st.memoizedDefaultLocale}static resolveLocale=t=>{if(void 0===Intl.Locale)return;const e=Intl.NumberFormat.supportedLocalesOf(t);return e.length>0?new Intl.Locale(e[0]):new Intl.Locale("string"==typeof t?t:t[0])};static __parse=z;static formats={number:{integer:{maximumFractionDigits:0},currency:{style:"currency"},percent:{style:"percent"}},date:{short:{month:"numeric",day:"numeric",year:"2-digit"},medium:{month:"short",day:"numeric",year:"numeric"},long:{month:"long",day:"numeric",year:"numeric"},full:{weekday:"long",month:"long",day:"numeric",year:"numeric"}},time:{short:{hour:"numeric",minute:"numeric"},medium:{hour:"numeric",minute:"numeric",second:"numeric"},long:{hour:"numeric",minute:"numeric",second:"numeric",timeZoneName:"short"},full:{hour:"numeric",minute:"numeric",second:"numeric",timeZoneName:"short"}}}}const ot={};var at=["ar","cs","da","de","en","es-es","es","fi","fr-ca","fr","he","hi","it","ja","ko","nl","no","pl","pt-br","pt-pt","ru","sv","th","tr","uk","zh-cn","zh-tw"],ct={ar:6,cs:1,da:1,de:1,en:0,"es-es":1,es:1,fi:1,"fr-ca":0,fr:1,he:0,hi:0,it:1,ja:0,ko:0,nl:1,no:1,pl:1,"pt-br":0,"pt-pt":0,ru:1,sv:1,th:0,tr:1,uk:1,"zh-cn":1,"zh-tw":0};const ut="en";async function lt(e,h,n){let r=h,i="en";void 0!==e&&(i=Ht(e),r=await async function(e,h,n,r){const i=r||e.tagName.toLocaleLowerCase().replace(/-beta$/,"");let s;if(e["i18n-resources"])s=e["i18n-resources"];else if(n!==ut)try{s=await(async(e,h)=>{if(!ot[h]){const e=((e="en")=>t(`i18n/genesys-webcomponents.i18n.${e}.json`))(h),n=await fetch(e),r=await n.json();ot[h]=r}return ot[h][e]})(i,n)}catch(t){s=null}return s||(s=h),s}(e,h,i,n));const s=Object.entries(r).reduce(((t,[e,h])=>(t.set(e,new st(h,i)),t)),new Map),o=Object.entries(h).reduce(((t,[e,h])=>(t.set(e,new st(h,ut)),t)),new Map);return(t,e)=>{var h,n;let r=null===(h=s.get(t))||void 0===h?void 0:h.format(e);return r||(r=null===(n=o.get(t))||void 0===n?void 0:n.format(e),console.warn(`No localized string available for "${t}-${r}" for "${i}" locale. Falling back to English translation.`)),r}}function Ht(t){const h=function(t){const h=e("[lang]",t);return h&&h.lang?h.lang.toLowerCase():ut}(t),n=h.split(/[_-]/)[0];return at.indexOf(h)>=0?h:at.indexOf(n)>=0?n:ut}function ft(t=ut){return ct[t]?ct[t]:ct[ut]}function Bt(t=ut){return((ft(t)-1)%7+7)%7+1}export{Bt as a,lt as b,ft as c,Ht as g,at as l}
@@ -1 +1 @@
1
- import{r as t,f as e,d as i,h as a,H as o,a as n}from"./p-8p-S7f9X.js";import{O as s}from"./p-EnDSOV4K.js";import{O as r}from"./p-3FH859nI.js";import{t as l}from"./p-CYZSsQYc.js";import{g as c}from"./p-BBpQG81s.js";import{a as d}from"./p-Bg4q97BS.js";import{l as u}from"./p-DxtJDeL9.js";function h(t,e){[].concat(t).forEach((t=>{null!=t&&(t.accent=e)}))}function b(t,...e){e.flat().filter((t=>null!=t&&!(null==t?void 0:t.hasAttribute("icon-only")))).forEach((e=>e.iconOnly=t))}var p=function(t,e,i,a){var o,n=arguments.length,s=n<3?e:null===a?a=Object.getOwnPropertyDescriptor(e,i):a;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(t,e,i,a);else for(var r=t.length-1;r>=0;r--)(o=t[r])&&(s=(n<3?o(s):n>3?o(e,i,s):o(e,i))||s);return n>3&&s&&Object.defineProperty(e,i,s),s};const m=class{constructor(e){t(this,e),this.displayedLayout="full",this.hasContextDivider=!1,this.minimumSizes={full:0,iconOnly:0,condensed:0}}onMutation(){this.hasContextDivider=this.needsContextDivider(),e(this.root)}recordLayoutMinSize(){i((()=>{var t,e,i;const a=0|(null===(t=this.searchAndFilterContainer)||void 0===t?void 0:t.clientWidth),o=0|(null===(e=this.actionsContainer)||void 0===e?void 0:e.clientWidth),n=0|(null===(i=this.minControlSize)||void 0===i?void 0:i.clientWidth);this.minimumSizes[this.displayedLayout]=a+o+n}))}get minControlSize(){return this.root.shadowRoot.querySelector(".section-spacing")}get actionsContainer(){return this.root.shadowRoot.querySelector(".gux-contextual-permanent-primary")}get searchAndFilterContainer(){return this.root.shadowRoot.querySelector(".search-filter-container")}get filterSlot(){return c(this.root,"search-and-filter")}get menuActionSlot(){return c(this.root,"menu-actions")}get permanentSlot(){return c(this.root,"permanent-actions")||this.menuActionSlot&&c(this.menuActionSlot,"permanent-actions")}get contextualSlot(){return c(this.root,"contextual-actions")}get primaryAction(){var t;return null===(t=this.root)||void 0===t?void 0:t.querySelector("gux-table-toolbar-custom-action[slot]")}get permanentActions(){var t,e;return(null===(t=this.permanentSlot)||void 0===t?void 0:t.hasChildNodes)?Array.from(null===(e=this.permanentSlot)||void 0===e?void 0:e.querySelectorAll("gux-table-toolbar-action, gux-table-toolbar-custom-action")):[]}get menuActionsItems(){var t,e;if(null===(t=this.menuActionSlot)||void 0===t?void 0:t.hasChildNodes)return Array.from(null===(e=this.menuActionSlot)||void 0===e?void 0:e.querySelectorAll("gux-table-toolbar-action, gux-table-toolbar-custom-action"))}get contextualActions(){var t,e;return(null===(t=this.contextualSlot)||void 0===t?void 0:t.hasChildNodes)?Array.from(null===(e=this.contextualSlot)||void 0===e?void 0:e.querySelectorAll("gux-table-toolbar-action, gux-table-toolbar-custom-action")):[]}get filterActions(){var t,e;return(null===(t=this.filterSlot)||void 0===t?void 0:t.hasChildNodes)?Array.from(null===(e=this.filterSlot)||void 0===e?void 0:e.querySelectorAll("gux-table-toolbar-action, gux-table-toolbar-custom-action")):[]}get allFilterContextual(){var t;return null===(t=this.filterActions)||void 0===t?void 0:t.concat(this.contextualActions)}needsContextDivider(){var t;return(null===(t=this.contextualActions)||void 0===t?void 0:t.length)&&this.contextualSlot!==this.root.lastElementChild}renderMenu(){var t;return Boolean((null===(t=this.menuActionsItems)||void 0===t?void 0:t.length)||"condensed"==this.displayedLayout)}renderFullLayout(){this.displayedLayout="full",b(!1,this.primaryAction,...this.allFilterContextual,...this.permanentActions)}renderIconOnlyLayoutScaleDown(){this.displayedLayout="iconOnly",b(!0,this.primaryAction,...this.allFilterContextual,...this.permanentActions)}renderIconOnlyLayoutScaleUp(){var t,e;this.displayedLayout="iconOnly",h(this.permanentActions,"secondary"),h(this.primaryAction,"primary"),b(!0,this.primaryAction,...this.allFilterContextual,...this.permanentActions),this.permanentActions&&(null===(t=this.root)||void 0===t||t.appendChild(this.permanentSlot)),this.primaryAction&&(null===(e=this.root)||void 0===e||e.appendChild(this.primaryAction))}renderCondensedLayout(){var t,e;this.displayedLayout="condensed",this.permanentActions&&(null===(t=this.menuActionSlot)||void 0===t||t.appendChild(this.permanentSlot)),this.primaryAction&&(null===(e=this.menuActionSlot)||void 0===e||e.appendChild(this.primaryAction)),b(!0,...this.allFilterContextual),b(!1,...this.permanentActions),b(!1,this.primaryAction),h(this.menuActionsItems,"ghost")}validateSlot(t){this.root.querySelector(`[slot=${t}]`)||u(this.root,`gux-table-toolbar requires a ${t} slot`)}componentWillRender(){l(this.root),this.hasContextDivider=this.needsContextDivider()}componentWillLoad(){this.validateSlot("menu-actions")}componentDidLoad(){d((()=>{this.recordLayoutMinSize(),this.checkResponsiveLayout()})),h(this.menuActionsItems,"ghost")}componentDidUpdate(){this.recordLayoutMinSize(),this.checkResponsiveLayout()}checkResponsiveLayout(){i((()=>{const t=this.root.clientWidth;t<=this.minimumSizes.iconOnly?"iconOnly"==this.displayedLayout&&this.renderCondensedLayout():t<=this.minimumSizes.full?"full"==this.displayedLayout?this.renderIconOnlyLayoutScaleDown():"condensed"==this.displayedLayout&&this.renderIconOnlyLayoutScaleUp():this.minimumSizes.iconOnly>this.minimumSizes.full?this.renderIconOnlyLayoutScaleUp():this.renderFullLayout()}))}render(){return a(o,{key:"3262a0b143e977c752214c98b436dd049737bc4c",role:"toolbar","aria-orientation":"horizontal","gs-layout":this.displayedLayout},a("div",{key:"b3639849e746dfbe908ca9129a254a191c96a97c",class:"search-filter-container"},a("slot",{key:"48ec5b59c3394cf697d3142284f49b2a3dcb9bfd",name:"search-and-filter"})),a("div",{key:"e147084a62a795a1d9f89135ce970a5db8d16020",class:"section-spacing"}),a("div",{key:"2bc88f2f283e7ca833fd376b46645506092f250c",class:"gux-contextual-permanent-primary"},a("div",{key:"990e2cffdde738d0a72d879e5f582221267ca1e8",class:{"gux-contextual-wrapper":this.hasContextDivider}},a("slot",{key:"e09e54e53f5980df3ea672e979690cac1b7130af",name:"contextual-actions"})),a("div",{key:"a1ddbc3d5f9984e6b70a9e4b10d0ef30e24b2300",class:"gux-permanent-menu-primary-wrapper"},a("slot",{key:"5ae603103b2f61eef9bdb9ec2a64989cbb185304",name:"permanent-actions"}),a("gux-table-toolbar-menu-button",{key:"f5a70d5d399d46682f3fd02cb2ab2d90772894f4","show-menu":this.renderMenu()},a("slot",{key:"dc03946306d806cf93c43e7cbcc072416869e546",name:"menu-actions"})),a("slot",{key:"7ab5192d51a90a95d1d9ee506c637b187fffb9c1",name:"primary-action"}))))}get root(){return n(this)}};p([r({childList:!0,subtree:!0})],m.prototype,"onMutation",null),p([s()],m.prototype,"checkResponsiveLayout",null),m.style=":host{display:flex;flex-direction:row;align-items:center;justify-content:space-between;inline-size:100%;max-block-size:var(--gse-ui-dataTableItems-tableToolbar-height);visibility:hidden;transition:visibility 0s 0.5s;}@keyframes show-toolbar{to{visibility:visible}}:host .search-filter-container{min-inline-size:260px;padding-inline-end:var(--gse-ui-dataTableItems-tableToolbar-gap)}:host slot[name=search-and-filter]::slotted(*){display:flex;flex-direction:row;gap:var(--gse-ui-dataTableItems-tableToolbar-tableToolbarGroup-gap);align-content:flex-start;align-items:center}:host .section-spacing{display:flex;flex-direction:row;min-inline-size:72px}:host .gux-contextual-permanent-primary{display:flex;flex-direction:row;justify-content:space-between;padding-inline-start:var(--gse-ui-dataTableItems-tableToolbar-gap)}:host .gux-contextual-permanent-primary slot[name=permanent-actions]::slotted(*),:host .gux-contextual-permanent-primary slot[name=contextual-actions]::slotted(*){display:flex;flex-direction:row;flex-wrap:nowrap;gap:var(--gse-ui-dataTableItems-tableToolbar-tableToolbarGroup-gap);align-content:flex-end;align-items:center}:host .gux-contextual-permanent-primary .gux-contextual-wrapper{padding-inline-end:var(--gse-ui-dataTableItems-tableToolbar-gap);border-inline-end:var(--gse-ui-dataTableItems-tableToolbar-divider-width) solid var(--gse-ui-dataTableItems-tableToolbar-dividerColor)}:host .gux-contextual-permanent-primary .gux-permanent-menu-primary-wrapper{display:flex;flex-direction:row;flex-wrap:nowrap;gap:var(--gse-ui-dataTableItems-tableToolbar-tableToolbarGroup-gap);margin-inline-start:var(--gse-ui-dataTableItems-tableToolbar-gap)}";export{m as gux_table_toolbar}
1
+ import{r as t,f as e,d as i,h as a,H as o,a as n}from"./p-8p-S7f9X.js";import{O as s}from"./p-EnDSOV4K.js";import{O as r}from"./p-3FH859nI.js";import{t as l}from"./p-DuA81njM.js";import{g as c}from"./p-BBpQG81s.js";import{a as d}from"./p-Bg4q97BS.js";import{l as u}from"./p-DxtJDeL9.js";function h(t,e){[].concat(t).forEach((t=>{null!=t&&(t.accent=e)}))}function b(t,...e){e.flat().filter((t=>null!=t&&!(null==t?void 0:t.hasAttribute("icon-only")))).forEach((e=>e.iconOnly=t))}var p=function(t,e,i,a){var o,n=arguments.length,s=n<3?e:null===a?a=Object.getOwnPropertyDescriptor(e,i):a;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(t,e,i,a);else for(var r=t.length-1;r>=0;r--)(o=t[r])&&(s=(n<3?o(s):n>3?o(e,i,s):o(e,i))||s);return n>3&&s&&Object.defineProperty(e,i,s),s};const m=class{constructor(e){t(this,e),this.displayedLayout="full",this.hasContextDivider=!1,this.minimumSizes={full:0,iconOnly:0,condensed:0}}onMutation(){this.hasContextDivider=this.needsContextDivider(),e(this.root)}recordLayoutMinSize(){i((()=>{var t,e,i;const a=0|(null===(t=this.searchAndFilterContainer)||void 0===t?void 0:t.clientWidth),o=0|(null===(e=this.actionsContainer)||void 0===e?void 0:e.clientWidth),n=0|(null===(i=this.minControlSize)||void 0===i?void 0:i.clientWidth);this.minimumSizes[this.displayedLayout]=a+o+n}))}get minControlSize(){return this.root.shadowRoot.querySelector(".section-spacing")}get actionsContainer(){return this.root.shadowRoot.querySelector(".gux-contextual-permanent-primary")}get searchAndFilterContainer(){return this.root.shadowRoot.querySelector(".search-filter-container")}get filterSlot(){return c(this.root,"search-and-filter")}get menuActionSlot(){return c(this.root,"menu-actions")}get permanentSlot(){return c(this.root,"permanent-actions")||this.menuActionSlot&&c(this.menuActionSlot,"permanent-actions")}get contextualSlot(){return c(this.root,"contextual-actions")}get primaryAction(){var t;return null===(t=this.root)||void 0===t?void 0:t.querySelector("gux-table-toolbar-custom-action[slot]")}get permanentActions(){var t,e;return(null===(t=this.permanentSlot)||void 0===t?void 0:t.hasChildNodes)?Array.from(null===(e=this.permanentSlot)||void 0===e?void 0:e.querySelectorAll("gux-table-toolbar-action, gux-table-toolbar-custom-action")):[]}get menuActionsItems(){var t,e;if(null===(t=this.menuActionSlot)||void 0===t?void 0:t.hasChildNodes)return Array.from(null===(e=this.menuActionSlot)||void 0===e?void 0:e.querySelectorAll("gux-table-toolbar-action, gux-table-toolbar-custom-action"))}get contextualActions(){var t,e;return(null===(t=this.contextualSlot)||void 0===t?void 0:t.hasChildNodes)?Array.from(null===(e=this.contextualSlot)||void 0===e?void 0:e.querySelectorAll("gux-table-toolbar-action, gux-table-toolbar-custom-action")):[]}get filterActions(){var t,e;return(null===(t=this.filterSlot)||void 0===t?void 0:t.hasChildNodes)?Array.from(null===(e=this.filterSlot)||void 0===e?void 0:e.querySelectorAll("gux-table-toolbar-action, gux-table-toolbar-custom-action")):[]}get allFilterContextual(){var t;return null===(t=this.filterActions)||void 0===t?void 0:t.concat(this.contextualActions)}needsContextDivider(){var t;return(null===(t=this.contextualActions)||void 0===t?void 0:t.length)&&this.contextualSlot!==this.root.lastElementChild}renderMenu(){var t;return Boolean((null===(t=this.menuActionsItems)||void 0===t?void 0:t.length)||"condensed"==this.displayedLayout)}renderFullLayout(){this.displayedLayout="full",b(!1,this.primaryAction,...this.allFilterContextual,...this.permanentActions)}renderIconOnlyLayoutScaleDown(){this.displayedLayout="iconOnly",b(!0,this.primaryAction,...this.allFilterContextual,...this.permanentActions)}renderIconOnlyLayoutScaleUp(){var t,e;this.displayedLayout="iconOnly",h(this.permanentActions,"secondary"),h(this.primaryAction,"primary"),b(!0,this.primaryAction,...this.allFilterContextual,...this.permanentActions),this.permanentActions&&(null===(t=this.root)||void 0===t||t.appendChild(this.permanentSlot)),this.primaryAction&&(null===(e=this.root)||void 0===e||e.appendChild(this.primaryAction))}renderCondensedLayout(){var t,e;this.displayedLayout="condensed",this.permanentActions&&(null===(t=this.menuActionSlot)||void 0===t||t.appendChild(this.permanentSlot)),this.primaryAction&&(null===(e=this.menuActionSlot)||void 0===e||e.appendChild(this.primaryAction)),b(!0,...this.allFilterContextual),b(!1,...this.permanentActions),b(!1,this.primaryAction),h(this.menuActionsItems,"ghost")}validateSlot(t){this.root.querySelector(`[slot=${t}]`)||u(this.root,`gux-table-toolbar requires a ${t} slot`)}componentWillRender(){l(this.root),this.hasContextDivider=this.needsContextDivider()}componentWillLoad(){this.validateSlot("menu-actions")}componentDidLoad(){d((()=>{this.recordLayoutMinSize(),this.checkResponsiveLayout()})),h(this.menuActionsItems,"ghost")}componentDidUpdate(){this.recordLayoutMinSize(),this.checkResponsiveLayout()}checkResponsiveLayout(){i((()=>{const t=this.root.clientWidth;t<=this.minimumSizes.iconOnly?"iconOnly"==this.displayedLayout&&this.renderCondensedLayout():t<=this.minimumSizes.full?"full"==this.displayedLayout?this.renderIconOnlyLayoutScaleDown():"condensed"==this.displayedLayout&&this.renderIconOnlyLayoutScaleUp():this.minimumSizes.iconOnly>this.minimumSizes.full?this.renderIconOnlyLayoutScaleUp():this.renderFullLayout()}))}render(){return a(o,{key:"3262a0b143e977c752214c98b436dd049737bc4c",role:"toolbar","aria-orientation":"horizontal","gs-layout":this.displayedLayout},a("div",{key:"b3639849e746dfbe908ca9129a254a191c96a97c",class:"search-filter-container"},a("slot",{key:"48ec5b59c3394cf697d3142284f49b2a3dcb9bfd",name:"search-and-filter"})),a("div",{key:"e147084a62a795a1d9f89135ce970a5db8d16020",class:"section-spacing"}),a("div",{key:"2bc88f2f283e7ca833fd376b46645506092f250c",class:"gux-contextual-permanent-primary"},a("div",{key:"990e2cffdde738d0a72d879e5f582221267ca1e8",class:{"gux-contextual-wrapper":this.hasContextDivider}},a("slot",{key:"e09e54e53f5980df3ea672e979690cac1b7130af",name:"contextual-actions"})),a("div",{key:"a1ddbc3d5f9984e6b70a9e4b10d0ef30e24b2300",class:"gux-permanent-menu-primary-wrapper"},a("slot",{key:"5ae603103b2f61eef9bdb9ec2a64989cbb185304",name:"permanent-actions"}),a("gux-table-toolbar-menu-button",{key:"f5a70d5d399d46682f3fd02cb2ab2d90772894f4","show-menu":this.renderMenu()},a("slot",{key:"dc03946306d806cf93c43e7cbcc072416869e546",name:"menu-actions"})),a("slot",{key:"7ab5192d51a90a95d1d9ee506c637b187fffb9c1",name:"primary-action"}))))}get root(){return n(this)}};p([r({childList:!0,subtree:!0})],m.prototype,"onMutation",null),p([s()],m.prototype,"checkResponsiveLayout",null),m.style=":host{display:flex;flex-direction:row;align-items:center;justify-content:space-between;inline-size:100%;max-block-size:var(--gse-ui-dataTableItems-tableToolbar-height);visibility:hidden;transition:visibility 0s 0.5s;}@keyframes show-toolbar{to{visibility:visible}}:host .search-filter-container{min-inline-size:260px;padding-inline-end:var(--gse-ui-dataTableItems-tableToolbar-gap)}:host slot[name=search-and-filter]::slotted(*){display:flex;flex-direction:row;gap:var(--gse-ui-dataTableItems-tableToolbar-tableToolbarGroup-gap);align-content:flex-start;align-items:center}:host .section-spacing{display:flex;flex-direction:row;min-inline-size:72px}:host .gux-contextual-permanent-primary{display:flex;flex-direction:row;justify-content:space-between;padding-inline-start:var(--gse-ui-dataTableItems-tableToolbar-gap)}:host .gux-contextual-permanent-primary slot[name=permanent-actions]::slotted(*),:host .gux-contextual-permanent-primary slot[name=contextual-actions]::slotted(*){display:flex;flex-direction:row;flex-wrap:nowrap;gap:var(--gse-ui-dataTableItems-tableToolbar-tableToolbarGroup-gap);align-content:flex-end;align-items:center}:host .gux-contextual-permanent-primary .gux-contextual-wrapper{padding-inline-end:var(--gse-ui-dataTableItems-tableToolbar-gap);border-inline-end:var(--gse-ui-dataTableItems-tableToolbar-divider-width) solid var(--gse-ui-dataTableItems-tableToolbar-dividerColor)}:host .gux-contextual-permanent-primary .gux-permanent-menu-primary-wrapper{display:flex;flex-direction:row;flex-wrap:nowrap;gap:var(--gse-ui-dataTableItems-tableToolbar-tableToolbarGroup-gap);margin-inline-start:var(--gse-ui-dataTableItems-tableToolbar-gap)}";export{m as gux_table_toolbar}
@@ -1 +1 @@
1
- import{r as i,h as t,a}from"./p-8p-S7f9X.js";import{b as e}from"./p-DnzIYzsz.js";import{t as n}from"./p-CYZSsQYc.js";import"./p-Cd4R0amv.js";var o={navigationName:"Skip links navigation"};const s=class{constructor(t){i(this,t)}async componentWillLoad(){n(this.root),this.i18n=await e(this.root,o)}render(){return t("div",{key:"c82d272f543273e41d1406d6524dd5db7de4f0c7",class:"gux-container"},t("nav",{key:"a7a7d0c7c79b83ade0a82529096d567d2e8087ec","aria-label":this.i18n("navigationName")},t("ul",{key:"c0382b4fcccb9780614f4590f6a85504357716ef",role:"list"},t("slot",{key:"7aa2b70403ca3dee5d5918371fb9e3163d664aad"}))))}static get delegatesFocus(){return!0}get root(){return a(this)}};s.style=":host{position:absolute;top:auto;left:-10000px;width:1px;height:1px;overflow:hidden}:host(:focus-within){position:inherit;top:inherit;left:inherit;width:inherit;height:inherit;overflow:inherit;position:absolute;inset:0}.gux-container nav{inline-size:fit-content;margin-block:40px;margin-inline:auto}.gux-container nav ul{padding:0;margin:0}";export{s as gux_skip_navigation_list}
1
+ import{r as i,h as t,a}from"./p-8p-S7f9X.js";import{b as e}from"./p-DyLWs74h.js";import{t as n}from"./p-DuA81njM.js";import"./p-Cd4R0amv.js";var o={navigationName:"Skip links navigation"};const s=class{constructor(t){i(this,t)}async componentWillLoad(){n(this.root),this.i18n=await e(this.root,o)}render(){return t("div",{key:"c82d272f543273e41d1406d6524dd5db7de4f0c7",class:"gux-container"},t("nav",{key:"a7a7d0c7c79b83ade0a82529096d567d2e8087ec","aria-label":this.i18n("navigationName")},t("ul",{key:"c0382b4fcccb9780614f4590f6a85504357716ef",role:"list"},t("slot",{key:"7aa2b70403ca3dee5d5918371fb9e3163d664aad"}))))}static get delegatesFocus(){return!0}get root(){return a(this)}};s.style=":host{position:absolute;top:auto;left:-10000px;width:1px;height:1px;overflow:hidden}:host(:focus-within){position:inherit;top:inherit;left:inherit;width:inherit;height:inherit;overflow:inherit;position:absolute;inset:0}.gux-container nav{inline-size:fit-content;margin-block:40px;margin-inline:auto}.gux-container nav ul{padding:0;margin:0}";export{s as gux_skip_navigation_list}