genesys-spark-components 4.105.4 → 4.106.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 (653) hide show
  1. package/dist/cjs/genesys-webcomponents.cjs.js +1 -1
  2. package/dist/cjs/{get-valid-timezone-cbe2b3e3.js → get-valid-timezone-89d16e0c.js} +1 -1
  3. package/dist/cjs/gux-accordion-section.cjs.entry.js +5 -5
  4. package/dist/cjs/gux-accordion.cjs.entry.js +2 -2
  5. package/dist/cjs/gux-action-button.cjs.entry.js +3 -3
  6. package/dist/cjs/gux-action-toast-legacy.cjs.entry.js +2 -2
  7. package/dist/cjs/gux-advanced-dropdown-legacy.cjs.entry.js +5 -5
  8. package/dist/cjs/gux-all-row-select.cjs.entry.js +2 -2
  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 +3 -3
  12. package/dist/cjs/gux-avatar-group-beta.cjs.entry.js +1 -1
  13. package/dist/cjs/gux-avatar-group-item-beta.cjs.entry.js +2 -2
  14. package/dist/cjs/gux-badge.cjs.entry.js +11 -5
  15. package/dist/cjs/gux-blank-state.cjs.entry.js +2 -2
  16. package/dist/cjs/gux-breadcrumb-item.cjs.entry.js +4 -4
  17. package/dist/cjs/gux-breadcrumbs.cjs.entry.js +3 -3
  18. package/dist/cjs/gux-button-multi.cjs.entry.js +2 -2
  19. package/dist/cjs/gux-button-slot.cjs.entry.js +3 -3
  20. package/dist/cjs/gux-button_4.cjs.entry.js +14 -14
  21. package/dist/cjs/gux-calendar-beta.cjs.entry.js +6 -6
  22. package/dist/cjs/gux-calendar.cjs.entry.js +4 -4
  23. package/dist/cjs/gux-card.cjs.entry.js +3 -3
  24. package/dist/cjs/gux-column-manager-item.cjs.entry.js +5 -5
  25. package/dist/cjs/gux-column-manager.cjs.entry.js +3 -3
  26. package/dist/cjs/gux-content-search.cjs.entry.js +5 -5
  27. package/dist/cjs/gux-context-menu.cjs.entry.js +4 -4
  28. package/dist/cjs/gux-copy-to-clipboard.cjs.entry.js +3 -11
  29. package/dist/cjs/gux-create-option.cjs.entry.js +3 -3
  30. package/dist/cjs/gux-date-beta.cjs.entry.js +3 -3
  31. package/dist/cjs/gux-date-time-beta.cjs.entry.js +3 -3
  32. package/dist/cjs/gux-datepicker.cjs.entry.js +3 -3
  33. package/dist/cjs/gux-disclosure-button-legacy.cjs.entry.js +5 -5
  34. package/dist/cjs/gux-dismiss-button.cjs.entry.js +4 -4
  35. package/dist/cjs/gux-dropdown-multi-tag.cjs.entry.js +3 -3
  36. package/dist/cjs/gux-dropdown-multi.cjs.entry.js +4 -4
  37. package/dist/cjs/gux-dropdown-option.cjs.entry.js +1 -1
  38. package/dist/cjs/gux-dropdown_3.cjs.entry.js +5 -5
  39. package/dist/cjs/gux-flag-icon-beta.cjs.entry.js +1 -1
  40. package/dist/cjs/gux-flyout-menu.cjs.entry.js +4 -4
  41. package/dist/cjs/gux-form-field-checkbox-group-beta.cjs.entry.js +4 -4
  42. package/dist/cjs/gux-form-field-checkbox.cjs.entry.js +3 -3
  43. package/dist/cjs/gux-form-field-color.cjs.entry.js +4 -4
  44. package/dist/cjs/gux-form-field-dropdown.cjs.entry.js +5 -5
  45. package/dist/cjs/gux-form-field-file.cjs.entry.js +2 -2
  46. package/dist/cjs/gux-form-field-input-clear-button.cjs.entry.js +3 -3
  47. package/dist/cjs/gux-form-field-label-indicator.cjs.entry.js +2 -2
  48. package/dist/cjs/gux-form-field-phone.cjs.entry.js +6 -6
  49. package/dist/cjs/gux-form-field-radio-group-beta.cjs.entry.js +4 -4
  50. package/dist/cjs/gux-form-field-radio.cjs.entry.js +3 -3
  51. package/dist/cjs/gux-form-field-range.cjs.entry.js +3 -3
  52. package/dist/cjs/gux-form-field-search.cjs.entry.js +4 -4
  53. package/dist/cjs/gux-form-field-select.cjs.entry.js +4 -4
  54. package/dist/cjs/gux-form-field-text-like.cjs.entry.js +4 -4
  55. package/dist/cjs/gux-form-field-textarea.cjs.entry.js +3 -3
  56. package/dist/cjs/gux-form-field-time-picker.cjs.entry.js +6 -6
  57. package/dist/cjs/gux-form-field-time-zone-picker.cjs.entry.js +5 -5
  58. package/dist/cjs/gux-form-footer.cjs.entry.js +1 -1
  59. package/dist/cjs/gux-icon-tooltip-beta.cjs.entry.js +1 -1
  60. package/dist/cjs/gux-icon.cjs.entry.js +2 -2
  61. package/dist/cjs/gux-inline-alert.cjs.entry.js +4 -4
  62. package/dist/cjs/gux-label-info-beta.cjs.entry.js +1 -1
  63. package/dist/cjs/gux-link-beta.cjs.entry.js +33 -0
  64. package/dist/cjs/gux-list-divider.cjs.entry.js +1 -1
  65. package/dist/cjs/gux-list-item.cjs.entry.js +1 -1
  66. package/dist/cjs/gux-list.cjs.entry.js +2 -2
  67. package/dist/cjs/gux-listbox-multi.cjs.entry.js +2 -2
  68. package/dist/cjs/gux-loading-message.cjs.entry.js +2 -2
  69. package/dist/cjs/gux-menu-option.cjs.entry.js +1 -1
  70. package/dist/cjs/gux-menu.cjs.entry.js +1 -1
  71. package/dist/cjs/gux-modal-legacy.cjs.entry.js +3 -3
  72. package/dist/cjs/gux-modal-side-panel-beta.cjs.entry.js +2 -2
  73. package/dist/cjs/gux-modal.cjs.entry.js +2 -2
  74. package/dist/cjs/gux-month-calendar.cjs.entry.js +2 -2
  75. package/dist/cjs/gux-month-list_2.cjs.entry.js +2 -2
  76. package/dist/cjs/gux-month-picker-beta.cjs.entry.js +3 -3
  77. package/dist/cjs/gux-notification-toast-legacy.cjs.entry.js +2 -2
  78. package/dist/cjs/gux-option-group-beta.cjs.entry.js +1 -1
  79. package/dist/cjs/gux-option-icon.cjs.entry.js +2 -2
  80. package/dist/cjs/gux-option-multi.cjs.entry.js +3 -3
  81. package/dist/cjs/gux-page-loading-spinner.cjs.entry.js +2 -2
  82. package/dist/cjs/gux-pagination-buttons-legacy_3.cjs.entry.js +5 -5
  83. package/dist/cjs/gux-pagination-buttons_2.cjs.entry.js +4 -4
  84. package/dist/cjs/gux-pagination-cursor.cjs.entry.js +2 -2
  85. package/dist/cjs/gux-pagination-items-per-page.cjs.entry.js +2 -2
  86. package/dist/cjs/gux-pagination-legacy.cjs.entry.js +2 -2
  87. package/dist/cjs/gux-pagination.cjs.entry.js +2 -2
  88. package/dist/cjs/gux-phone-input-beta.cjs.entry.js +4 -4
  89. package/dist/cjs/gux-popover-beta.cjs.entry.js +3 -3
  90. package/dist/cjs/gux-popover-list-beta.cjs.entry.js +3 -3
  91. package/dist/cjs/gux-popover-list.cjs.entry.js +3 -3
  92. package/dist/cjs/gux-popup.cjs.entry.js +3 -3
  93. package/dist/cjs/gux-radial-loading.cjs.entry.js +3 -3
  94. package/dist/cjs/gux-radial-progress.cjs.entry.js +1 -1
  95. package/dist/cjs/gux-rating.cjs.entry.js +5 -3
  96. package/dist/cjs/gux-rich-style-list-item.cjs.entry.js +44 -0
  97. package/dist/cjs/gux-rich-text-editor-action-group.cjs.entry.js +1 -1
  98. package/dist/cjs/gux-rich-text-editor-action-rich-style.cjs.entry.js +187 -0
  99. package/dist/cjs/gux-rich-text-editor-action.cjs.entry.js +7 -68
  100. package/dist/cjs/gux-rich-text-editor-beta.cjs.entry.js +2 -2
  101. package/dist/cjs/gux-rich-text-editor-list.cjs.entry.js +81 -0
  102. package/dist/cjs/gux-rich-text-editor.service-8a6cb26a.js +70 -0
  103. package/dist/cjs/gux-row-select.cjs.entry.js +3 -3
  104. package/dist/cjs/gux-screen-reader-beta.cjs.entry.js +2 -2
  105. package/dist/cjs/gux-segmented-control-beta.cjs.entry.js +2 -2
  106. package/dist/cjs/gux-segmented-control-item.cjs.entry.js +5 -5
  107. package/dist/cjs/gux-selector-card-beta.cjs.entry.js +4 -4
  108. package/dist/cjs/gux-selector-cards-beta.cjs.entry.js +2 -2
  109. package/dist/cjs/gux-side-panel-beta.cjs.entry.js +3 -3
  110. package/dist/cjs/gux-side-panel-heading.cjs.entry.js +2 -2
  111. package/dist/cjs/gux-simple-toast-legacy.cjs.entry.js +2 -2
  112. package/dist/cjs/gux-skip-navigation-item.cjs.entry.js +2 -2
  113. package/dist/cjs/gux-skip-navigation-list.cjs.entry.js +3 -3
  114. package/dist/cjs/gux-sort-control.cjs.entry.js +5 -5
  115. package/dist/cjs/gux-submenu.cjs.entry.js +3 -3
  116. package/dist/cjs/gux-switch-item.cjs.entry.js +2 -2
  117. package/dist/cjs/gux-switch-legacy.cjs.entry.js +2 -2
  118. package/dist/cjs/gux-tab-advanced-list.cjs.entry.js +2 -2
  119. package/dist/cjs/gux-tab-advanced-panel.cjs.entry.js +2 -2
  120. package/dist/cjs/gux-tab-advanced.cjs.entry.js +4 -4
  121. package/dist/cjs/gux-tab-list.cjs.entry.js +3 -3
  122. package/dist/cjs/gux-tab-panel.cjs.entry.js +2 -2
  123. package/dist/cjs/gux-tab.cjs.entry.js +2 -2
  124. package/dist/cjs/gux-table-select-menu.cjs.entry.js +3 -3
  125. package/dist/cjs/gux-table-toolbar-action.cjs.entry.js +3 -3
  126. package/dist/cjs/gux-table-toolbar-custom-action.cjs.entry.js +2 -2
  127. package/dist/cjs/gux-table-toolbar-menu-button.cjs.entry.js +3 -3
  128. package/dist/cjs/gux-table-toolbar.cjs.entry.js +3 -3
  129. package/dist/cjs/gux-table.cjs.entry.js +3 -3
  130. package/dist/cjs/gux-tabs-advanced.cjs.entry.js +2 -2
  131. package/dist/cjs/gux-tabs.cjs.entry.js +2 -2
  132. package/dist/cjs/gux-tag.cjs.entry.js +3 -3
  133. package/dist/cjs/gux-text-highlight.cjs.entry.js +1 -1
  134. package/dist/cjs/gux-time-beta.cjs.entry.js +4 -4
  135. package/dist/cjs/gux-time-picker.cjs.entry.js +4 -4
  136. package/dist/cjs/gux-time-zone-beta.cjs.entry.js +3 -3
  137. package/dist/cjs/gux-time-zone-picker-beta.cjs.entry.js +4 -4
  138. package/dist/cjs/gux-toast.cjs.entry.js +5 -5
  139. package/dist/cjs/gux-toggle-slider.cjs.entry.js +2 -2
  140. package/dist/cjs/gux-toggle.cjs.entry.js +5 -5
  141. package/dist/cjs/gux-tooltip-base-beta_2.cjs.entry.js +4 -4
  142. package/dist/cjs/gux-tooltip-title.cjs.entry.js +2 -2
  143. package/dist/cjs/gux-tooltip.cjs.entry.js +3 -3
  144. package/dist/cjs/gux-truncate.cjs.entry.js +3 -3
  145. package/dist/cjs/{index-16a4179e.js → index-643c40f5.js} +9 -71
  146. package/dist/cjs/index-79505d14.js +20 -4
  147. package/dist/cjs/loader.cjs.js +1 -1
  148. package/dist/cjs/{usage-2ca86a7f.js → usage-7cad50c2.js} +1 -1
  149. package/dist/collection/collection-manifest.json +4 -0
  150. package/dist/collection/components/beta/gux-avatar/gux-avatar-change-photo/gux-avatar-change-photo.css +1 -1
  151. package/dist/collection/components/beta/gux-avatar-group/gux-avatar-group-item/gux-avatar-group-item.css +1 -1
  152. package/dist/collection/components/beta/gux-calendar-beta/components/single/gux-calendar.css +28 -31
  153. package/dist/collection/components/beta/gux-calendar-beta/components/single/gux-calendar.js +4 -4
  154. package/dist/collection/components/beta/gux-link/gux-link.css +88 -0
  155. package/dist/collection/components/beta/gux-link/gux-link.js +73 -0
  156. package/dist/collection/components/beta/gux-month-picker/gux-month-calendar/gux-month-calendar.js +1 -1
  157. package/dist/collection/components/beta/gux-month-picker/gux-month-calendar/gux-month-list/gux-month-list-item/gux-month-list-item.js +1 -1
  158. package/dist/collection/components/beta/gux-month-picker/gux-month-calendar/gux-month-list/gux-month-list.js +1 -1
  159. package/dist/collection/components/beta/gux-month-picker/gux-month-picker.js +1 -1
  160. package/dist/collection/components/beta/gux-phone-input/gux-phone-input.css +2 -2
  161. package/dist/collection/components/beta/gux-phone-input/gux-phone-input.js +1 -1
  162. package/dist/collection/components/beta/gux-popover-beta/gux-popover.js +2 -2
  163. package/dist/collection/components/beta/gux-popover-list-beta/gux-popover-list.js +2 -2
  164. package/dist/collection/components/beta/gux-rich-text-editor/gux-rich-text-editor-action/gux-rich-text-editor-action-rich-style/gux-rich-text-editor-action-rich-style.css +27 -0
  165. package/dist/collection/components/beta/gux-rich-text-editor/gux-rich-text-editor-action/gux-rich-text-editor-action-rich-style/gux-rich-text-editor-action-rich-style.js +259 -0
  166. package/dist/collection/components/beta/gux-rich-text-editor/gux-rich-text-editor-action/gux-rich-text-editor-action.css +1 -1
  167. package/dist/collection/components/beta/gux-rich-text-editor/gux-rich-text-editor-action/gux-rich-text-editor-action.js +3 -4
  168. package/dist/collection/components/beta/gux-rich-text-editor/gux-rich-text-editor-action-group/gux-rich-text-editor-action-group.js +1 -1
  169. package/dist/collection/components/beta/gux-rich-text-editor/gux-rich-text-editor-beta.js +2 -2
  170. package/dist/collection/components/beta/gux-rich-text-editor/gux-rich-text-editor-list/gux-rich-style-list-item/gux-rich-style-list-item.css +61 -0
  171. package/dist/collection/components/beta/gux-rich-text-editor/gux-rich-text-editor-list/gux-rich-style-list-item/gux-rich-style-list-item.js +101 -0
  172. package/dist/collection/components/beta/gux-rich-text-editor/gux-rich-text-editor-list/gux-rich-text-editor-list.css +8 -0
  173. package/dist/collection/components/beta/gux-rich-text-editor/gux-rich-text-editor-list/gux-rich-text-editor-list.js +171 -0
  174. package/dist/collection/components/beta/gux-rich-text-editor/gux-rich-text-editor.service.js +2 -2
  175. package/dist/collection/components/beta/gux-screen-reader/gux-screen-reader.js +1 -1
  176. package/dist/collection/components/beta/gux-segmented-control/gux-segmented-control-item/gux-segmented-control-item.css +1 -1
  177. package/dist/collection/components/beta/gux-segmented-control/gux-segmented-control-item/gux-segmented-control-item.js +4 -4
  178. package/dist/collection/components/beta/gux-segmented-control/gux-segmented-control.js +1 -1
  179. package/dist/collection/components/beta/gux-selector-cards/gux-selector-card/gux-selector-card.css +1 -1
  180. package/dist/collection/components/beta/gux-selector-cards/gux-selector-card/gux-selector-card.js +2 -2
  181. package/dist/collection/components/beta/gux-selector-cards/gux-selector-cards.js +1 -1
  182. package/dist/collection/components/beta/gux-side-panel/components/gux-modal-side-panel/gux-modal-side-panel.js +1 -1
  183. package/dist/collection/components/beta/gux-side-panel/components/gux-side-panel-heading/gux-side-panel-heading.js +1 -1
  184. package/dist/collection/components/beta/gux-side-panel/gux-side-panel.js +2 -2
  185. package/dist/collection/components/beta/gux-time/gux-time.js +1 -1
  186. package/dist/collection/components/beta/gux-time-zone/gux-time-zone.js +1 -1
  187. package/dist/collection/components/beta/gux-time-zone-picker/gux-time-zone-picker.js +2 -2
  188. package/dist/collection/components/beta/gux-tooltip-base/gux-tooltip-base.js +2 -2
  189. package/dist/collection/components/beta/gux-tooltip-beta/gux-tooltip.js +1 -1
  190. package/dist/collection/components/legacy/gux-action-toast-legacy/gux-action-toast.js +1 -1
  191. package/dist/collection/components/legacy/gux-advanced-dropdown-legacy/dropdown-option/gux-dropdown-option.js +1 -1
  192. package/dist/collection/components/legacy/gux-advanced-dropdown-legacy/gux-advanced-dropdown.css +1 -1
  193. package/dist/collection/components/legacy/gux-advanced-dropdown-legacy/gux-advanced-dropdown.js +2 -2
  194. package/dist/collection/components/legacy/gux-disclosure-button-legacy/gux-disclosure-button.css +1 -1
  195. package/dist/collection/components/legacy/gux-disclosure-button-legacy/gux-disclosure-button.js +2 -2
  196. package/dist/collection/components/legacy/gux-modal-legacy/gux-modal-legacy.js +2 -2
  197. package/dist/collection/components/legacy/gux-notification-toast-legacy/gux-notification-toast.js +1 -1
  198. package/dist/collection/components/legacy/gux-pagination-legacy/gux-pagination-buttons-legacy/gux-pagination-buttons.js +1 -1
  199. package/dist/collection/components/legacy/gux-pagination-legacy/gux-pagination-item-counts-legacy/gux-pagination-item-counts.js +2 -2
  200. package/dist/collection/components/legacy/gux-pagination-legacy/gux-pagination-items-per-page-legacy/gux-pagination-items-per-page.js +1 -1
  201. package/dist/collection/components/legacy/gux-pagination-legacy/gux-pagination.js +1 -1
  202. package/dist/collection/components/legacy/gux-simple-toast-legacy/gux-simple-toast.js +1 -1
  203. package/dist/collection/components/legacy/gux-switch-legacy/gux-switch-item/gux-switch-item.css +1 -1
  204. package/dist/collection/components/legacy/gux-switch-legacy/gux-switch-item/gux-switch-item.js +1 -1
  205. package/dist/collection/components/legacy/gux-switch-legacy/gux-switch.js +1 -1
  206. package/dist/collection/components/stable/gux-accordion/gux-accordion-section/gux-accordion-section.js +5 -5
  207. package/dist/collection/components/stable/gux-accordion/gux-accordion.js +1 -1
  208. package/dist/collection/components/stable/gux-action-button/gux-action-button.js +1 -1
  209. package/dist/collection/components/stable/gux-badge/gux-badge.js +8 -2
  210. package/dist/collection/components/stable/gux-blank-state/gux-blank-state.js +1 -1
  211. package/dist/collection/components/stable/gux-breadcrumbs/breadcrumb-item/gux-breadcrumb-item.css +0 -30
  212. package/dist/collection/components/stable/gux-breadcrumbs/breadcrumb-item/gux-breadcrumb-item.js +3 -3
  213. package/dist/collection/components/stable/gux-breadcrumbs/gux-breadcrumbs.js +1 -1
  214. package/dist/collection/components/stable/gux-button/gux-button.css +1 -1
  215. package/dist/collection/components/stable/gux-button/gux-button.js +2 -2
  216. package/dist/collection/components/stable/gux-button-multi/gux-button-multi.js +1 -1
  217. package/dist/collection/components/stable/gux-button-slot/gux-button-slot.css +1 -1
  218. package/dist/collection/components/stable/gux-button-slot/gux-button-slot.js +1 -1
  219. package/dist/collection/components/stable/gux-calendar/gux-calendar.css +4 -46
  220. package/dist/collection/components/stable/gux-calendar/gux-calendar.js +1 -1
  221. package/dist/collection/components/stable/gux-card/gux-card.js +2 -2
  222. package/dist/collection/components/stable/gux-column-manager/gux-column-manager-item/gux-column-manager-item.css +1 -1
  223. package/dist/collection/components/stable/gux-column-manager/gux-column-manager-item/gux-column-manager-item.js +3 -3
  224. package/dist/collection/components/stable/gux-column-manager/gux-column-manager.js +1 -1
  225. package/dist/collection/components/stable/gux-content-search/gux-content-search.css +1 -1
  226. package/dist/collection/components/stable/gux-content-search/gux-content-search.js +2 -2
  227. package/dist/collection/components/stable/gux-context-menu/gux-context-menu.js +2 -2
  228. package/dist/collection/components/stable/gux-copy-to-clipboard/gux-copy-to-clipboard.js +1 -13
  229. package/dist/collection/components/stable/gux-datepicker/gux-datepicker.js +1 -1
  230. package/dist/collection/components/stable/gux-dismiss-button/gux-dismiss-button.js +2 -2
  231. package/dist/collection/components/stable/gux-dropdown/gux-dropdown.js +1 -1
  232. package/dist/collection/components/stable/gux-dropdown-multi/gux-dropdown-multi-tag/gux-dropdown-multi-tag.css +1 -1
  233. package/dist/collection/components/stable/gux-dropdown-multi/gux-dropdown-multi-tag/gux-dropdown-multi-tag.js +1 -1
  234. package/dist/collection/components/stable/gux-dropdown-multi/gux-dropdown-multi.css +4 -4
  235. package/dist/collection/components/stable/gux-dropdown-multi/gux-dropdown-multi.js +1 -1
  236. package/dist/collection/components/stable/gux-flyout-menu/gux-flyout-menu.css +1 -1
  237. package/dist/collection/components/stable/gux-flyout-menu/gux-flyout-menu.js +2 -2
  238. package/dist/collection/components/stable/gux-flyout-menu/gux-menu/gux-menu-option/gux-menu-option.js +1 -1
  239. package/dist/collection/components/stable/gux-flyout-menu/gux-menu/gux-menu.js +1 -1
  240. package/dist/collection/components/stable/gux-flyout-menu/gux-menu/gux-submenu/gux-submenu.js +3 -3
  241. package/dist/collection/components/stable/gux-form-field/components/gux-form-field-checkbox/gux-form-field-checkbox.js +2 -2
  242. package/dist/collection/components/stable/gux-form-field/components/gux-form-field-checkbox-group/gux-form-field-checkbox-group.js +2 -2
  243. package/dist/collection/components/stable/gux-form-field/components/gux-form-field-color/gux-form-field-color.js +3 -3
  244. package/dist/collection/components/stable/gux-form-field/components/gux-form-field-dropdown/gux-form-field-dropdown.js +3 -3
  245. package/dist/collection/components/stable/gux-form-field/components/gux-form-field-file/gux-form-field-file.js +1 -1
  246. package/dist/collection/components/stable/gux-form-field/components/gux-form-field-number/gux-form-field-number.js +3 -3
  247. package/dist/collection/components/stable/gux-form-field/components/gux-form-field-phone/gux-form-field-phone.js +4 -4
  248. package/dist/collection/components/stable/gux-form-field/components/gux-form-field-radio/gux-form-field-radio.js +2 -2
  249. package/dist/collection/components/stable/gux-form-field/components/gux-form-field-radio-group/gux-form-field-radio-group.js +2 -2
  250. package/dist/collection/components/stable/gux-form-field/components/gux-form-field-range/gux-form-field-range.js +2 -2
  251. package/dist/collection/components/stable/gux-form-field/components/gux-form-field-search/gux-form-field-search.js +3 -3
  252. package/dist/collection/components/stable/gux-form-field/components/gux-form-field-select/gux-form-field-select.js +3 -3
  253. package/dist/collection/components/stable/gux-form-field/components/gux-form-field-text-like/gux-form-field-text-like.js +3 -3
  254. package/dist/collection/components/stable/gux-form-field/components/gux-form-field-textarea/gux-form-field-textarea.js +2 -2
  255. package/dist/collection/components/stable/gux-form-field/components/gux-form-field-time-picker/gux-form-field-time-picker.js +4 -4
  256. package/dist/collection/components/stable/gux-form-field/components/gux-form-field-time-zone-picker/gux-form-field-time-zone-picker.js +3 -3
  257. package/dist/collection/components/stable/gux-form-field/helper-components/gux-form-field-input-clear-button/gux-form-field-input-clear-button.js +1 -1
  258. package/dist/collection/components/stable/gux-icon/gux-icon.js +1 -1
  259. package/dist/collection/components/stable/gux-inline-alert/gux-inline-alert.js +2 -2
  260. package/dist/collection/components/stable/gux-list/gux-list-divider/gux-list-divider.js +1 -1
  261. package/dist/collection/components/stable/gux-list/gux-list-item/gux-list-item.js +1 -1
  262. package/dist/collection/components/stable/gux-list/gux-list.js +1 -1
  263. package/dist/collection/components/stable/gux-listbox/option-group/gux-option-group.js +1 -1
  264. package/dist/collection/components/stable/gux-listbox/options/gux-option/gux-option.js +2 -2
  265. package/dist/collection/components/stable/gux-listbox/options/gux-option-icon/gux-option-icon.js +2 -2
  266. package/dist/collection/components/stable/gux-listbox-multi/gux-create-option/gux-create-option.js +2 -2
  267. package/dist/collection/components/stable/gux-listbox-multi/gux-option-multi/gux-option-multi.js +2 -2
  268. package/dist/collection/components/stable/gux-loading-message/gux-loading-message.js +1 -1
  269. package/dist/collection/components/stable/gux-modal/gux-modal.js +1 -1
  270. package/dist/collection/components/stable/gux-page-loading-spinner/gux-page-loading-spinner.js +1 -1
  271. package/dist/collection/components/stable/gux-pagination/gux-pagination-buttons/gux-pagination-buttons.js +1 -1
  272. package/dist/collection/components/stable/gux-pagination/gux-pagination-buttons/gux-pagination-ellipsis-button/gux-pagination-ellipsis-button.js +4 -4
  273. package/dist/collection/components/stable/gux-pagination/gux-pagination-item-counts/gux-pagination-item-counts.js +2 -2
  274. package/dist/collection/components/stable/gux-pagination/gux-pagination-items-per-page/gux-pagination-items-per-page.js +1 -1
  275. package/dist/collection/components/stable/gux-pagination/gux-pagination.js +1 -1
  276. package/dist/collection/components/stable/gux-popover/gux-popover.js +2 -2
  277. package/dist/collection/components/stable/gux-popover-list/gux-popover-list.js +2 -2
  278. package/dist/collection/components/stable/gux-popup/gux-popup.js +3 -3
  279. package/dist/collection/components/stable/gux-radial-loading/gux-radial-loading.js +1 -1
  280. package/dist/collection/components/stable/gux-rating/gux-rating.css +1 -1
  281. package/dist/collection/components/stable/gux-rating/gux-rating.js +3 -1
  282. package/dist/collection/components/stable/gux-skip-navigation-list/gux-skip-navigation-item/gux-skip-navigation-item.css +1 -2
  283. package/dist/collection/components/stable/gux-skip-navigation-list/gux-skip-navigation-item/gux-skip-navigation-item.js +1 -1
  284. package/dist/collection/components/stable/gux-skip-navigation-list/gux-skip-navigation-list.js +1 -1
  285. package/dist/collection/components/stable/gux-table/gux-all-row-select/gux-all-row-select.js +1 -1
  286. package/dist/collection/components/stable/gux-table/gux-row-select/gux-row-select.js +2 -2
  287. package/dist/collection/components/stable/gux-table/gux-sort-control/gux-sort-control.js +3 -3
  288. package/dist/collection/components/stable/gux-table/gux-table-select-menu/gux-table-select-menu.css +1 -1
  289. package/dist/collection/components/stable/gux-table/gux-table-select-menu/gux-table-select-menu.js +1 -1
  290. package/dist/collection/components/stable/gux-table/gux-table.js +1 -1
  291. package/dist/collection/components/stable/gux-table-toolbar/gux-table-toolbar-action/gux-table-toolbar-action.js +1 -1
  292. package/dist/collection/components/stable/gux-table-toolbar/gux-table-toolbar-custom-action/gux-table-toolbar-custom-action.js +1 -1
  293. package/dist/collection/components/stable/gux-table-toolbar/gux-table-toolbar-menu-button/gux-table-toolbar-menu-button.js +1 -1
  294. package/dist/collection/components/stable/gux-table-toolbar/gux-table-toolbar.js +2 -2
  295. package/dist/collection/components/stable/gux-tabs/gux-tab/gux-tab.js +2 -2
  296. package/dist/collection/components/stable/gux-tabs/gux-tab-list/gux-tab-list.js +2 -2
  297. package/dist/collection/components/stable/gux-tabs/gux-tab-panel/gux-tab-panel.css +1 -1
  298. package/dist/collection/components/stable/gux-tabs/gux-tab-panel/gux-tab-panel.js +1 -1
  299. package/dist/collection/components/stable/gux-tabs/gux-tabs.js +1 -1
  300. package/dist/collection/components/stable/gux-tabs-advanced/gux-tab-advanced/gux-tab-advanced.css +1 -1
  301. package/dist/collection/components/stable/gux-tabs-advanced/gux-tab-advanced/gux-tab-advanced.js +2 -2
  302. package/dist/collection/components/stable/gux-tabs-advanced/gux-tab-advanced-list/gux-tab-advanced-list.js +1 -1
  303. package/dist/collection/components/stable/gux-tabs-advanced/gux-tab-advanced-panel/gux-tab-advanced-panel.css +1 -1
  304. package/dist/collection/components/stable/gux-tabs-advanced/gux-tab-advanced-panel/gux-tab-advanced-panel.js +1 -1
  305. package/dist/collection/components/stable/gux-tabs-advanced/gux-tabs-advanced.js +1 -1
  306. package/dist/collection/components/stable/gux-tag/gux-tag.js +1 -1
  307. package/dist/collection/components/stable/gux-time-picker/gux-time-picker.css +3 -3
  308. package/dist/collection/components/stable/gux-time-picker/gux-time-picker.js +1 -1
  309. package/dist/collection/components/stable/gux-toast/gux-toast.css +0 -6
  310. package/dist/collection/components/stable/gux-toast/gux-toast.js +3 -3
  311. package/dist/collection/components/stable/gux-toggle/gux-toggle-slider/gux-toggle-slider.js +2 -2
  312. package/dist/collection/components/stable/gux-toggle/gux-toggle.css +0 -2
  313. package/dist/collection/components/stable/gux-toggle/gux-toggle.js +2 -2
  314. package/dist/collection/components/stable/gux-tooltip/gux-tooltip.js +2 -2
  315. package/dist/collection/components/stable/gux-tooltip-title/gux-tooltip-title.js +2 -2
  316. package/dist/collection/components/stable/gux-truncate/gux-truncate.js +3 -3
  317. package/dist/esm/genesys-webcomponents.js +1 -1
  318. package/dist/esm/{get-valid-timezone-ecb85439.js → get-valid-timezone-4eaf7597.js} +1 -1
  319. package/dist/esm/gux-accordion-section.entry.js +5 -5
  320. package/dist/esm/gux-accordion.entry.js +2 -2
  321. package/dist/esm/gux-action-button.entry.js +3 -3
  322. package/dist/esm/gux-action-toast-legacy.entry.js +2 -2
  323. package/dist/esm/gux-advanced-dropdown-legacy.entry.js +5 -5
  324. package/dist/esm/gux-all-row-select.entry.js +2 -2
  325. package/dist/esm/gux-announce-beta.entry.js +1 -1
  326. package/dist/esm/gux-avatar-beta.entry.js +2 -2
  327. package/dist/esm/gux-avatar-change-photo-beta.entry.js +3 -3
  328. package/dist/esm/gux-avatar-group-beta.entry.js +1 -1
  329. package/dist/esm/gux-avatar-group-item-beta.entry.js +2 -2
  330. package/dist/esm/gux-badge.entry.js +11 -5
  331. package/dist/esm/gux-blank-state.entry.js +2 -2
  332. package/dist/esm/gux-breadcrumb-item.entry.js +4 -4
  333. package/dist/esm/gux-breadcrumbs.entry.js +3 -3
  334. package/dist/esm/gux-button-multi.entry.js +2 -2
  335. package/dist/esm/gux-button-slot.entry.js +3 -3
  336. package/dist/esm/gux-button_4.entry.js +14 -14
  337. package/dist/esm/gux-calendar-beta.entry.js +6 -6
  338. package/dist/esm/gux-calendar.entry.js +4 -4
  339. package/dist/esm/gux-card.entry.js +3 -3
  340. package/dist/esm/gux-column-manager-item.entry.js +5 -5
  341. package/dist/esm/gux-column-manager.entry.js +3 -3
  342. package/dist/esm/gux-content-search.entry.js +5 -5
  343. package/dist/esm/gux-context-menu.entry.js +4 -4
  344. package/dist/esm/gux-copy-to-clipboard.entry.js +3 -11
  345. package/dist/esm/gux-create-option.entry.js +3 -3
  346. package/dist/esm/gux-date-beta.entry.js +3 -3
  347. package/dist/esm/gux-date-time-beta.entry.js +3 -3
  348. package/dist/esm/gux-datepicker.entry.js +3 -3
  349. package/dist/esm/gux-disclosure-button-legacy.entry.js +5 -5
  350. package/dist/esm/gux-dismiss-button.entry.js +4 -4
  351. package/dist/esm/gux-dropdown-multi-tag.entry.js +3 -3
  352. package/dist/esm/gux-dropdown-multi.entry.js +4 -4
  353. package/dist/esm/gux-dropdown-option.entry.js +1 -1
  354. package/dist/esm/gux-dropdown_3.entry.js +5 -5
  355. package/dist/esm/gux-flag-icon-beta.entry.js +1 -1
  356. package/dist/esm/gux-flyout-menu.entry.js +4 -4
  357. package/dist/esm/gux-form-field-checkbox-group-beta.entry.js +4 -4
  358. package/dist/esm/gux-form-field-checkbox.entry.js +3 -3
  359. package/dist/esm/gux-form-field-color.entry.js +4 -4
  360. package/dist/esm/gux-form-field-dropdown.entry.js +5 -5
  361. package/dist/esm/gux-form-field-file.entry.js +2 -2
  362. package/dist/esm/gux-form-field-input-clear-button.entry.js +3 -3
  363. package/dist/esm/gux-form-field-label-indicator.entry.js +2 -2
  364. package/dist/esm/gux-form-field-phone.entry.js +6 -6
  365. package/dist/esm/gux-form-field-radio-group-beta.entry.js +4 -4
  366. package/dist/esm/gux-form-field-radio.entry.js +3 -3
  367. package/dist/esm/gux-form-field-range.entry.js +3 -3
  368. package/dist/esm/gux-form-field-search.entry.js +4 -4
  369. package/dist/esm/gux-form-field-select.entry.js +4 -4
  370. package/dist/esm/gux-form-field-text-like.entry.js +4 -4
  371. package/dist/esm/gux-form-field-textarea.entry.js +3 -3
  372. package/dist/esm/gux-form-field-time-picker.entry.js +6 -6
  373. package/dist/esm/gux-form-field-time-zone-picker.entry.js +5 -5
  374. package/dist/esm/gux-form-footer.entry.js +1 -1
  375. package/dist/esm/gux-icon-tooltip-beta.entry.js +1 -1
  376. package/dist/esm/gux-icon.entry.js +2 -2
  377. package/dist/esm/gux-inline-alert.entry.js +4 -4
  378. package/dist/esm/gux-label-info-beta.entry.js +1 -1
  379. package/dist/esm/gux-link-beta.entry.js +29 -0
  380. package/dist/esm/gux-list-divider.entry.js +1 -1
  381. package/dist/esm/gux-list-item.entry.js +1 -1
  382. package/dist/esm/gux-list.entry.js +2 -2
  383. package/dist/esm/gux-listbox-multi.entry.js +2 -2
  384. package/dist/esm/gux-loading-message.entry.js +2 -2
  385. package/dist/esm/gux-menu-option.entry.js +1 -1
  386. package/dist/esm/gux-menu.entry.js +1 -1
  387. package/dist/esm/gux-modal-legacy.entry.js +3 -3
  388. package/dist/esm/gux-modal-side-panel-beta.entry.js +2 -2
  389. package/dist/esm/gux-modal.entry.js +2 -2
  390. package/dist/esm/gux-month-calendar.entry.js +2 -2
  391. package/dist/esm/gux-month-list_2.entry.js +2 -2
  392. package/dist/esm/gux-month-picker-beta.entry.js +3 -3
  393. package/dist/esm/gux-notification-toast-legacy.entry.js +2 -2
  394. package/dist/esm/gux-option-group-beta.entry.js +1 -1
  395. package/dist/esm/gux-option-icon.entry.js +2 -2
  396. package/dist/esm/gux-option-multi.entry.js +3 -3
  397. package/dist/esm/gux-page-loading-spinner.entry.js +2 -2
  398. package/dist/esm/gux-pagination-buttons-legacy_3.entry.js +5 -5
  399. package/dist/esm/gux-pagination-buttons_2.entry.js +4 -4
  400. package/dist/esm/gux-pagination-cursor.entry.js +2 -2
  401. package/dist/esm/gux-pagination-items-per-page.entry.js +2 -2
  402. package/dist/esm/gux-pagination-legacy.entry.js +2 -2
  403. package/dist/esm/gux-pagination.entry.js +2 -2
  404. package/dist/esm/gux-phone-input-beta.entry.js +4 -4
  405. package/dist/esm/gux-popover-beta.entry.js +3 -3
  406. package/dist/esm/gux-popover-list-beta.entry.js +3 -3
  407. package/dist/esm/gux-popover-list.entry.js +3 -3
  408. package/dist/esm/gux-popup.entry.js +3 -3
  409. package/dist/esm/gux-radial-loading.entry.js +3 -3
  410. package/dist/esm/gux-radial-progress.entry.js +1 -1
  411. package/dist/esm/gux-rating.entry.js +5 -3
  412. package/dist/esm/gux-rich-style-list-item.entry.js +40 -0
  413. package/dist/esm/gux-rich-text-editor-action-group.entry.js +1 -1
  414. package/dist/esm/gux-rich-text-editor-action-rich-style.entry.js +183 -0
  415. package/dist/esm/gux-rich-text-editor-action.entry.js +6 -67
  416. package/dist/esm/gux-rich-text-editor-beta.entry.js +2 -2
  417. package/dist/esm/gux-rich-text-editor-list.entry.js +77 -0
  418. package/dist/esm/gux-rich-text-editor.service-3148d102.js +66 -0
  419. package/dist/esm/gux-row-select.entry.js +3 -3
  420. package/dist/esm/gux-screen-reader-beta.entry.js +2 -2
  421. package/dist/esm/gux-segmented-control-beta.entry.js +2 -2
  422. package/dist/esm/gux-segmented-control-item.entry.js +5 -5
  423. package/dist/esm/gux-selector-card-beta.entry.js +4 -4
  424. package/dist/esm/gux-selector-cards-beta.entry.js +2 -2
  425. package/dist/esm/gux-side-panel-beta.entry.js +3 -3
  426. package/dist/esm/gux-side-panel-heading.entry.js +2 -2
  427. package/dist/esm/gux-simple-toast-legacy.entry.js +2 -2
  428. package/dist/esm/gux-skip-navigation-item.entry.js +2 -2
  429. package/dist/esm/gux-skip-navigation-list.entry.js +3 -3
  430. package/dist/esm/gux-sort-control.entry.js +5 -5
  431. package/dist/esm/gux-submenu.entry.js +3 -3
  432. package/dist/esm/gux-switch-item.entry.js +2 -2
  433. package/dist/esm/gux-switch-legacy.entry.js +2 -2
  434. package/dist/esm/gux-tab-advanced-list.entry.js +2 -2
  435. package/dist/esm/gux-tab-advanced-panel.entry.js +2 -2
  436. package/dist/esm/gux-tab-advanced.entry.js +4 -4
  437. package/dist/esm/gux-tab-list.entry.js +3 -3
  438. package/dist/esm/gux-tab-panel.entry.js +2 -2
  439. package/dist/esm/gux-tab.entry.js +2 -2
  440. package/dist/esm/gux-table-select-menu.entry.js +3 -3
  441. package/dist/esm/gux-table-toolbar-action.entry.js +3 -3
  442. package/dist/esm/gux-table-toolbar-custom-action.entry.js +2 -2
  443. package/dist/esm/gux-table-toolbar-menu-button.entry.js +3 -3
  444. package/dist/esm/gux-table-toolbar.entry.js +3 -3
  445. package/dist/esm/gux-table.entry.js +3 -3
  446. package/dist/esm/gux-tabs-advanced.entry.js +2 -2
  447. package/dist/esm/gux-tabs.entry.js +2 -2
  448. package/dist/esm/gux-tag.entry.js +3 -3
  449. package/dist/esm/gux-text-highlight.entry.js +1 -1
  450. package/dist/esm/gux-time-beta.entry.js +4 -4
  451. package/dist/esm/gux-time-picker.entry.js +4 -4
  452. package/dist/esm/gux-time-zone-beta.entry.js +3 -3
  453. package/dist/esm/gux-time-zone-picker-beta.entry.js +4 -4
  454. package/dist/esm/gux-toast.entry.js +5 -5
  455. package/dist/esm/gux-toggle-slider.entry.js +2 -2
  456. package/dist/esm/gux-toggle.entry.js +5 -5
  457. package/dist/esm/gux-tooltip-base-beta_2.entry.js +4 -4
  458. package/dist/esm/gux-tooltip-title.entry.js +2 -2
  459. package/dist/esm/gux-tooltip.entry.js +3 -3
  460. package/dist/esm/gux-truncate.entry.js +3 -3
  461. package/dist/esm/{index-44765751.js → index-2b16ce44.js} +9 -71
  462. package/dist/esm/index-b6ca2adc.js +20 -4
  463. package/dist/esm/loader.js +1 -1
  464. package/dist/esm/{usage-8beafc8f.js → usage-066c5c19.js} +1 -1
  465. package/dist/genesys-webcomponents/genesys-webcomponents-legacy.css +1 -1
  466. package/dist/genesys-webcomponents/genesys-webcomponents.css +3 -3
  467. package/dist/genesys-webcomponents/genesys-webcomponents.esm.js +1 -1
  468. package/dist/genesys-webcomponents/i18n/genesys-webcomponents.i18n.en.json +1 -1
  469. package/dist/genesys-webcomponents/{p-bd8ae7f4.entry.js → p-0106ac78.entry.js} +1 -1
  470. package/dist/genesys-webcomponents/p-01dfe97b.entry.js +1 -0
  471. package/dist/genesys-webcomponents/p-04250f54.entry.js +1 -0
  472. package/dist/genesys-webcomponents/{p-6e919cbb.entry.js → p-04388e12.entry.js} +1 -1
  473. package/dist/genesys-webcomponents/p-0446191f.entry.js +1 -0
  474. package/dist/genesys-webcomponents/{p-88243422.entry.js → p-047ce368.entry.js} +1 -1
  475. package/dist/genesys-webcomponents/{p-e18bc832.entry.js → p-05e21e03.entry.js} +1 -1
  476. package/dist/genesys-webcomponents/{p-061e3d30.entry.js → p-06dbb8e0.entry.js} +1 -1
  477. package/dist/genesys-webcomponents/{p-f5143c3d.entry.js → p-0947ee0b.entry.js} +1 -1
  478. package/dist/genesys-webcomponents/{p-04f8b646.entry.js → p-0b0b643f.entry.js} +1 -1
  479. package/dist/genesys-webcomponents/{p-a17cd3a7.entry.js → p-0b0e1fbb.entry.js} +1 -1
  480. package/dist/genesys-webcomponents/{p-fde37009.entry.js → p-0c095c0b.entry.js} +1 -1
  481. package/dist/genesys-webcomponents/{p-c27691ff.entry.js → p-0cef84cb.entry.js} +1 -1
  482. package/dist/genesys-webcomponents/{p-dc9c37b0.entry.js → p-0d4a4771.entry.js} +1 -1
  483. package/dist/genesys-webcomponents/{p-934a1ffb.entry.js → p-0dab3fb2.entry.js} +1 -1
  484. package/dist/genesys-webcomponents/p-0fd06ae8.entry.js +1 -0
  485. package/dist/genesys-webcomponents/{p-b477c5c8.entry.js → p-149321b0.entry.js} +1 -1
  486. package/dist/genesys-webcomponents/{p-03e3e8ee.entry.js → p-16787f1f.entry.js} +1 -1
  487. package/dist/genesys-webcomponents/{p-944ab272.entry.js → p-16851080.entry.js} +1 -1
  488. package/dist/genesys-webcomponents/{p-917a9f7b.entry.js → p-18ae3c9c.entry.js} +1 -1
  489. package/dist/genesys-webcomponents/{p-32d61d3c.entry.js → p-1e3a23be.entry.js} +1 -1
  490. package/dist/genesys-webcomponents/{p-abbcf807.entry.js → p-1e5036a0.entry.js} +1 -1
  491. package/dist/genesys-webcomponents/{p-1b60a6dd.entry.js → p-1f581e70.entry.js} +1 -1
  492. package/dist/genesys-webcomponents/{p-53d97286.entry.js → p-23164136.entry.js} +1 -1
  493. package/dist/genesys-webcomponents/{p-b482f026.entry.js → p-23fbc42b.entry.js} +1 -1
  494. package/dist/genesys-webcomponents/{p-7b64ef0b.entry.js → p-25235216.entry.js} +1 -1
  495. package/dist/genesys-webcomponents/{p-91083439.entry.js → p-2579e517.entry.js} +1 -1
  496. package/dist/genesys-webcomponents/{p-05fc26cd.entry.js → p-26378293.entry.js} +1 -1
  497. package/dist/genesys-webcomponents/{p-81f074d7.entry.js → p-27112a8e.entry.js} +1 -1
  498. package/dist/genesys-webcomponents/{p-364230fd.js → p-2b4c94f1.js} +1 -1
  499. package/dist/genesys-webcomponents/{p-4be31246.entry.js → p-2d461e6a.entry.js} +1 -1
  500. package/dist/genesys-webcomponents/{p-df751dd8.entry.js → p-3135014d.entry.js} +1 -1
  501. package/dist/genesys-webcomponents/{p-f371e1ee.entry.js → p-316ce8f0.entry.js} +1 -1
  502. package/dist/genesys-webcomponents/{p-bebb395c.entry.js → p-32487dd2.entry.js} +1 -1
  503. package/dist/genesys-webcomponents/{p-096d02ea.entry.js → p-32f0d6e6.entry.js} +1 -1
  504. package/dist/genesys-webcomponents/{p-1b540ea1.entry.js → p-34bd2ae0.entry.js} +1 -1
  505. package/dist/genesys-webcomponents/{p-1c7993bc.entry.js → p-36303a99.entry.js} +1 -1
  506. package/dist/genesys-webcomponents/{p-5ff77f2b.entry.js → p-38979190.entry.js} +1 -1
  507. package/dist/genesys-webcomponents/{p-7350a8d7.entry.js → p-3b006fc4.entry.js} +1 -1
  508. package/dist/genesys-webcomponents/{p-75b07e43.entry.js → p-3b9559f2.entry.js} +1 -1
  509. package/dist/genesys-webcomponents/{p-b76d45d8.entry.js → p-3e8c2e5c.entry.js} +1 -1
  510. package/dist/genesys-webcomponents/{p-f1e8b85a.entry.js → p-40009e41.entry.js} +1 -1
  511. package/dist/genesys-webcomponents/{p-90d3a97d.entry.js → p-416ecc27.entry.js} +1 -1
  512. package/dist/genesys-webcomponents/{p-030b955d.entry.js → p-41901cbe.entry.js} +1 -1
  513. package/dist/genesys-webcomponents/{p-39811eff.entry.js → p-4859d63b.entry.js} +1 -1
  514. package/dist/genesys-webcomponents/p-4921e865.entry.js +1 -0
  515. package/dist/genesys-webcomponents/p-4a16f02b.entry.js +1 -0
  516. package/dist/genesys-webcomponents/{p-4d4e1a83.entry.js → p-4b35d226.entry.js} +1 -1
  517. package/dist/genesys-webcomponents/{p-fd95aa57.entry.js → p-4ba5402b.entry.js} +1 -1
  518. package/dist/genesys-webcomponents/p-510badb1.entry.js +1 -0
  519. package/dist/genesys-webcomponents/{p-849237e7.entry.js → p-53c2a39d.entry.js} +1 -1
  520. package/dist/genesys-webcomponents/p-598fc0ec.entry.js +1 -0
  521. package/dist/genesys-webcomponents/{p-9eb3a56e.entry.js → p-59ae3fe8.entry.js} +1 -1
  522. package/dist/genesys-webcomponents/{p-d79cb6d4.entry.js → p-5c3157c9.entry.js} +1 -1
  523. package/dist/genesys-webcomponents/p-5d7f5ebd.entry.js +1 -0
  524. package/dist/genesys-webcomponents/{p-280757aa.entry.js → p-63c66751.entry.js} +1 -1
  525. package/dist/genesys-webcomponents/{p-b3364b48.entry.js → p-6677bcdd.entry.js} +1 -1
  526. package/dist/genesys-webcomponents/{p-dca84bbd.entry.js → p-671c1883.entry.js} +1 -1
  527. package/dist/genesys-webcomponents/p-695a617c.entry.js +1 -0
  528. package/dist/genesys-webcomponents/p-6ab45f18.entry.js +1 -0
  529. package/dist/genesys-webcomponents/{p-4d2dd936.entry.js → p-6c86f3fa.entry.js} +1 -1
  530. package/dist/genesys-webcomponents/{p-b1c4b310.entry.js → p-6d824b20.entry.js} +1 -1
  531. package/dist/genesys-webcomponents/{p-17152cfd.entry.js → p-6e6c200f.entry.js} +1 -1
  532. package/dist/genesys-webcomponents/{p-d14f5165.entry.js → p-6e7d7550.entry.js} +1 -1
  533. package/dist/genesys-webcomponents/{p-5bb10249.entry.js → p-6fa76b4f.entry.js} +1 -1
  534. package/dist/genesys-webcomponents/{p-f186e5ca.entry.js → p-6fe2b096.entry.js} +1 -1
  535. package/dist/genesys-webcomponents/{p-fea8bc7e.entry.js → p-72b3570c.entry.js} +1 -1
  536. package/dist/genesys-webcomponents/{p-3b6f3e35.entry.js → p-7719b7e0.entry.js} +1 -1
  537. package/dist/genesys-webcomponents/p-77af2b4b.entry.js +1 -0
  538. package/dist/genesys-webcomponents/p-78f45bde.entry.js +1 -0
  539. package/dist/genesys-webcomponents/{p-d2129b44.entry.js → p-7c6482ea.entry.js} +1 -1
  540. package/dist/genesys-webcomponents/{p-9619fe3d.entry.js → p-7e412ddd.entry.js} +1 -1
  541. package/dist/genesys-webcomponents/{p-f97b3ab3.entry.js → p-7f29e3bd.entry.js} +1 -1
  542. package/dist/genesys-webcomponents/{p-6e0967d7.entry.js → p-81b5c657.entry.js} +1 -1
  543. package/dist/genesys-webcomponents/{p-4af5f9e6.entry.js → p-81b73b96.entry.js} +1 -1
  544. package/dist/genesys-webcomponents/p-82569637.entry.js +1 -0
  545. package/dist/genesys-webcomponents/p-8260cb7f.entry.js +1 -0
  546. package/dist/genesys-webcomponents/{p-9c695d18.entry.js → p-834b4473.entry.js} +1 -1
  547. package/dist/genesys-webcomponents/{p-c3545cfa.entry.js → p-83a77800.entry.js} +1 -1
  548. package/dist/genesys-webcomponents/{p-6ffad370.entry.js → p-85613211.entry.js} +1 -1
  549. package/dist/genesys-webcomponents/{p-5fae27b1.entry.js → p-8bad7a34.entry.js} +1 -1
  550. package/dist/genesys-webcomponents/{p-61f1f342.entry.js → p-8e4a5550.entry.js} +1 -1
  551. package/dist/genesys-webcomponents/{p-77b755e5.entry.js → p-90f30232.entry.js} +1 -1
  552. package/dist/genesys-webcomponents/p-93871c33.js +1 -0
  553. package/dist/genesys-webcomponents/{p-b149a896.entry.js → p-96c40b6e.entry.js} +1 -1
  554. package/dist/genesys-webcomponents/{p-7952d812.entry.js → p-9d2fdc30.entry.js} +1 -1
  555. package/dist/genesys-webcomponents/{p-9425316a.entry.js → p-9eada83c.entry.js} +1 -1
  556. package/dist/genesys-webcomponents/{p-978a32bd.entry.js → p-9ed11091.entry.js} +1 -1
  557. package/dist/genesys-webcomponents/p-a2abb92b.entry.js +1 -0
  558. package/dist/genesys-webcomponents/{p-9902a144.entry.js → p-ab3f8896.entry.js} +1 -1
  559. package/dist/genesys-webcomponents/{p-c496b6b1.entry.js → p-ab5db8c0.entry.js} +1 -1
  560. package/dist/genesys-webcomponents/{p-b47c1cdb.entry.js → p-abead298.entry.js} +1 -1
  561. package/dist/genesys-webcomponents/p-ad63b51c.entry.js +1 -0
  562. package/dist/genesys-webcomponents/{p-5f83d0af.entry.js → p-af43a611.entry.js} +1 -1
  563. package/dist/genesys-webcomponents/p-b1259f8d.entry.js +1 -0
  564. package/dist/genesys-webcomponents/{p-f62bef1c.entry.js → p-b138ee2d.entry.js} +1 -1
  565. package/dist/genesys-webcomponents/p-b4ab9b06.js +1 -0
  566. package/dist/genesys-webcomponents/{p-bdee0bbf.entry.js → p-b593e940.entry.js} +1 -1
  567. package/dist/genesys-webcomponents/p-b5e58657.entry.js +1 -0
  568. package/dist/genesys-webcomponents/{p-a136f30a.entry.js → p-b9e503fd.entry.js} +1 -1
  569. package/dist/genesys-webcomponents/p-bb0c08d9.entry.js +1 -0
  570. package/dist/genesys-webcomponents/{p-23cf6a6a.entry.js → p-bb5c0b16.entry.js} +1 -1
  571. package/dist/genesys-webcomponents/{p-196ab728.entry.js → p-bc1b0809.entry.js} +1 -1
  572. package/dist/genesys-webcomponents/{p-1e7d9534.entry.js → p-bc26ac8e.entry.js} +1 -1
  573. package/dist/genesys-webcomponents/p-bf7853ff.entry.js +1 -0
  574. package/dist/genesys-webcomponents/{p-d57ec9a1.entry.js → p-c121a4fd.entry.js} +1 -1
  575. package/dist/genesys-webcomponents/p-c1ae84da.entry.js +1 -0
  576. package/dist/genesys-webcomponents/{p-e7603270.entry.js → p-c2d926f1.entry.js} +1 -1
  577. package/dist/genesys-webcomponents/{p-fad8cf68.js → p-c88988c2.js} +1 -1
  578. package/dist/genesys-webcomponents/{p-0c37395f.entry.js → p-c895ff36.entry.js} +1 -1
  579. package/dist/genesys-webcomponents/{p-c311409b.entry.js → p-c92d94e0.entry.js} +1 -1
  580. package/dist/genesys-webcomponents/{p-d3f79c81.entry.js → p-cfe4db5c.entry.js} +1 -1
  581. package/dist/genesys-webcomponents/{p-dc7cb915.entry.js → p-d01793d6.entry.js} +1 -1
  582. package/dist/genesys-webcomponents/{p-72ddc750.entry.js → p-d068dde1.entry.js} +1 -1
  583. package/dist/genesys-webcomponents/{p-9d8a38d9.entry.js → p-d0921c16.entry.js} +1 -1
  584. package/dist/genesys-webcomponents/p-d16de23f.entry.js +1 -0
  585. package/dist/genesys-webcomponents/p-d21b70ff.entry.js +1 -0
  586. package/dist/genesys-webcomponents/{p-2da3ef89.entry.js → p-d41b85b1.entry.js} +1 -1
  587. package/dist/genesys-webcomponents/{p-685a4ae6.entry.js → p-d4b98f63.entry.js} +1 -1
  588. package/dist/genesys-webcomponents/p-d500294d.entry.js +1 -0
  589. package/dist/genesys-webcomponents/{p-c8183381.entry.js → p-d77f5d0d.entry.js} +1 -1
  590. package/dist/genesys-webcomponents/{p-d49c9a26.entry.js → p-ddfddc2f.entry.js} +2 -2
  591. package/dist/genesys-webcomponents/p-de87bbba.entry.js +1 -0
  592. package/dist/genesys-webcomponents/{p-f37238d1.entry.js → p-e1448ec7.entry.js} +1 -1
  593. package/dist/genesys-webcomponents/{p-de539e43.entry.js → p-e4486177.entry.js} +1 -1
  594. package/dist/genesys-webcomponents/p-e4b94bdb.entry.js +1 -0
  595. package/dist/genesys-webcomponents/{p-48d46b6e.entry.js → p-e4f2844a.entry.js} +1 -1
  596. package/dist/genesys-webcomponents/{p-2d1c6916.entry.js → p-e7b5fa3e.entry.js} +1 -1
  597. package/dist/genesys-webcomponents/{p-64d47f11.entry.js → p-e7e22147.entry.js} +1 -1
  598. package/dist/genesys-webcomponents/p-e9507805.entry.js +1 -0
  599. package/dist/genesys-webcomponents/p-e9c7b37f.entry.js +1 -0
  600. package/dist/genesys-webcomponents/{p-00692558.entry.js → p-ec01232b.entry.js} +1 -1
  601. package/dist/genesys-webcomponents/p-ee047272.entry.js +1 -0
  602. package/dist/genesys-webcomponents/{p-4bad0892.entry.js → p-ee0fdaa5.entry.js} +1 -1
  603. package/dist/genesys-webcomponents/{p-e3cf6700.entry.js → p-eea9f25c.entry.js} +1 -1
  604. package/dist/genesys-webcomponents/{p-e8e97d50.entry.js → p-f0056aa6.entry.js} +1 -1
  605. package/dist/genesys-webcomponents/{p-05f8d49e.entry.js → p-f1c9ad78.entry.js} +1 -1
  606. package/dist/genesys-webcomponents/{p-14bdfb53.entry.js → p-f4ba7a17.entry.js} +1 -1
  607. package/dist/genesys-webcomponents/{p-2f56accd.entry.js → p-f68a94bb.entry.js} +1 -1
  608. package/dist/genesys-webcomponents/{p-16bfa2d7.entry.js → p-f6ae6dc6.entry.js} +1 -1
  609. package/dist/genesys-webcomponents/p-f732354f.entry.js +1 -0
  610. package/dist/genesys-webcomponents/{p-abe58df7.entry.js → p-f7566344.entry.js} +1 -1
  611. package/dist/genesys-webcomponents/p-fa6d3504.entry.js +1 -0
  612. package/dist/genesys-webcomponents/p-fae7130e.entry.js +1 -0
  613. package/dist/genesys-webcomponents/{p-180c3645.entry.js → p-fd27838d.entry.js} +1 -1
  614. package/dist/stencil-wrapper.js +1 -1
  615. package/dist/types/components/beta/gux-link/gux-link.d.ts +9 -0
  616. package/dist/types/components/beta/gux-rich-text-editor/gux-rich-text-editor-action/gux-rich-text-editor-action-rich-style/gux-rich-text-editor-action-rich-style.d.ts +33 -0
  617. package/dist/types/components/beta/gux-rich-text-editor/gux-rich-text-editor-list/gux-rich-style-list-item/gux-rich-style-list-item.d.ts +13 -0
  618. package/dist/types/components/beta/gux-rich-text-editor/gux-rich-text-editor-list/gux-rich-text-editor-list.d.ts +16 -0
  619. package/dist/types/components/beta/gux-rich-text-editor/gux-rich-text-editor.service.d.ts +1 -1
  620. package/dist/types/components/stable/gux-copy-to-clipboard/gux-copy-to-clipboard.d.ts +0 -2
  621. package/dist/types/components.d.ts +84 -0
  622. package/dist/types/stencil-wrapper.d.ts +1 -1
  623. package/package.json +1 -1
  624. package/dist/genesys-webcomponents/p-1484f380.entry.js +0 -1
  625. package/dist/genesys-webcomponents/p-1bcd22ed.entry.js +0 -1
  626. package/dist/genesys-webcomponents/p-24d19a41.entry.js +0 -1
  627. package/dist/genesys-webcomponents/p-25cfb6e2.entry.js +0 -1
  628. package/dist/genesys-webcomponents/p-33673f97.entry.js +0 -1
  629. package/dist/genesys-webcomponents/p-37382e85.entry.js +0 -1
  630. package/dist/genesys-webcomponents/p-3cf744ce.entry.js +0 -1
  631. package/dist/genesys-webcomponents/p-6a594fd5.entry.js +0 -1
  632. package/dist/genesys-webcomponents/p-6bbe167b.entry.js +0 -1
  633. package/dist/genesys-webcomponents/p-86b9c7fa.entry.js +0 -1
  634. package/dist/genesys-webcomponents/p-892bdbf5.entry.js +0 -1
  635. package/dist/genesys-webcomponents/p-91a3bfa0.entry.js +0 -1
  636. package/dist/genesys-webcomponents/p-96d61f4a.entry.js +0 -1
  637. package/dist/genesys-webcomponents/p-a4ef79f1.entry.js +0 -1
  638. package/dist/genesys-webcomponents/p-a5b5b014.entry.js +0 -1
  639. package/dist/genesys-webcomponents/p-a82e4a04.js +0 -1
  640. package/dist/genesys-webcomponents/p-aa62e068.entry.js +0 -1
  641. package/dist/genesys-webcomponents/p-b79ab93c.entry.js +0 -1
  642. package/dist/genesys-webcomponents/p-b83fa734.entry.js +0 -1
  643. package/dist/genesys-webcomponents/p-bda8f51a.entry.js +0 -1
  644. package/dist/genesys-webcomponents/p-bdff2c38.entry.js +0 -1
  645. package/dist/genesys-webcomponents/p-be644ecc.entry.js +0 -1
  646. package/dist/genesys-webcomponents/p-bf2bd505.entry.js +0 -1
  647. package/dist/genesys-webcomponents/p-c21580f2.entry.js +0 -1
  648. package/dist/genesys-webcomponents/p-c4de3d4c.entry.js +0 -1
  649. package/dist/genesys-webcomponents/p-cc075411.entry.js +0 -1
  650. package/dist/genesys-webcomponents/p-d3c286c4.entry.js +0 -1
  651. package/dist/genesys-webcomponents/p-e2bbef6e.entry.js +0 -1
  652. package/dist/genesys-webcomponents/p-e86f42a0.entry.js +0 -1
  653. package/dist/genesys-webcomponents/p-fcf933cf.entry.js +0 -1
@@ -1 +1 @@
1
- import{r as e,c as t,h as a,g as i}from"./p-6e010355.js";import{b as r}from"./p-a82e4a04.js";import"./p-4202e9f2.js";const s={clearSelection:"Clear {numberSelected} selected items"},o=class{constructor(a){e(this,a),this.internalclearselected=t(this,"internalclearselected",7),this.disabled=!1,this.numberSelected=0,this.label=""}onKeyDown(e){switch(e.key){case"Backspace":case"Delete":this.removeTag(e)}}removeTag(e){e.stopPropagation(),this.disabled||this.internalclearselected.emit()}renderRemoveButton(){return a("button",{class:"gux-tag-remove-button",onClick:this.removeTag.bind(this),type:"button",disabled:this.disabled},a("gux-icon",{class:"gux-tag-remove-icon","icon-name":"fa/xmark-large-regular","screenreader-text":this.i18n("clearSelection",{numberSelected:this.numberSelected.toString()})}))}async componentWillRender(){this.i18n=await r(this.root,s)}render(){return a("div",{key:"f9671d5f9d34b1a882962746d31f3511520204ea",class:{"gux-tag":!0,"gux-disabled":this.disabled},"aria-disabled":this.disabled.toString()},this.numberSelected.toString(),this.renderRemoveButton())}get root(){return i(this)}};o.style=":host{display:inline-block}.gux-tag{display:flex;flex-direction:row;flex-wrap:nowrap;place-content:stretch flex-start;align-items:center;block-size:var(--gse-ui-tag-small-height);padding:var(--gse-ui-tag-removable-padding);font-family:var(--gse-ui-tag-textLarge-fontFamily);font-size:var(--gse-ui-tag-textLarge-fontSize);font-weight:var(--gse-ui-tag-textLarge-fontWeight);line-height:var(--gse-ui-tag-textLarge-lineHeight);color:var(--gse-ui-tag-accent1-bold-foregroundColor);background-color:var(--gse-ui-tag-accent1-bold-backgroundColor);border-radius:var(--gse-ui-tag-borderRadius)}.gux-tag .gux-sr-only:not(:focus):not(:active){position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);clip-path:inset(50%);white-space:nowrap}.gux-tag .gux-tag-remove-button{all:unset;display:flex;place-content:center center;align-items:center;margin-inline-start:var(--gse-ui-tag-removable-gap)}.gux-tag .gux-tag-remove-button:not(:disabled):hover{cursor:pointer}.gux-tag .gux-tag-remove-button .gux-tag-remove-icon{inline-size:var(--gse-ui-tag-button-size);block-size:var(--gse-ui-tag-button-size)}.gux-tag .gux-tag-remove-button:focus-within .gux-tag-remove-icon{outline:var(--gse-semantic-border-focus) solid var(--gse-semantic-focusOutline-sm-borderWidth)}.gux-tag.gux-disabled{opacity:var(--gse-ui-tag-disabled-opacity)}";export{o as gux_dropdown_multi_tag}
1
+ import{r as e,c as t,h as a,g as i}from"./p-6e010355.js";import{b as r}from"./p-93871c33.js";import"./p-4202e9f2.js";const s={clearSelection:"Clear {numberSelected} selected items"},o=class{constructor(a){e(this,a),this.internalclearselected=t(this,"internalclearselected",7),this.disabled=!1,this.numberSelected=0,this.label=""}onKeyDown(e){switch(e.key){case"Backspace":case"Delete":this.removeTag(e)}}removeTag(e){e.stopPropagation(),this.disabled||this.internalclearselected.emit()}renderRemoveButton(){return a("button",{class:"gux-tag-remove-button",onClick:this.removeTag.bind(this),type:"button",disabled:this.disabled},a("gux-icon",{class:"gux-tag-remove-icon","icon-name":"fa/xmark-large-regular","screenreader-text":this.i18n("clearSelection",{numberSelected:this.numberSelected.toString()})}))}async componentWillRender(){this.i18n=await r(this.root,s)}render(){return a("div",{key:"635499c202da270d0657b975548e1d22f8a1a655",class:{"gux-tag":!0,"gux-disabled":this.disabled},"aria-disabled":this.disabled.toString()},this.numberSelected.toString(),this.renderRemoveButton())}get root(){return i(this)}};o.style=":host{display:inline-block}.gux-tag{display:flex;flex-direction:row;flex-wrap:nowrap;place-content:stretch flex-start;align-items:center;block-size:var(--gse-ui-tag-small-height);padding:var(--gse-ui-tag-removable-padding);font-family:var(--gse-ui-tag-textLarge-fontFamily);font-size:var(--gse-ui-tag-textLarge-fontSize);font-weight:var(--gse-ui-tag-textLarge-fontWeight);line-height:var(--gse-ui-tag-textLarge-lineHeight);color:var(--gse-ui-tag-accent1-bold-foregroundColor);background-color:var(--gse-ui-tag-accent1-bold-backgroundColor);border-radius:var(--gse-ui-tag-borderRadius)}.gux-tag .gux-sr-only:not(:focus):not(:active){position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);clip-path:inset(50%);white-space:nowrap}.gux-tag .gux-tag-remove-button{all:unset;display:flex;place-content:center center;align-items:center;margin-inline-start:var(--gse-ui-tag-removable-gap)}.gux-tag .gux-tag-remove-button:not(:disabled):hover{cursor:pointer}.gux-tag .gux-tag-remove-button .gux-tag-remove-icon{inline-size:var(--gse-ui-tag-button-size);block-size:var(--gse-ui-tag-button-size)}.gux-tag .gux-tag-remove-button:focus-within .gux-tag-remove-icon{outline:var(--gse-semantic-focusOutline-sm-borderWidth) solid var(--gse-semantic-border-focus)}.gux-tag.gux-disabled{opacity:var(--gse-ui-tag-disabled-opacity)}";export{o as gux_dropdown_multi_tag}
@@ -1 +1 @@
1
- import{r as t,h as s,H as e,g as o}from"./p-6e010355.js";import{s as i}from"./p-2c25e2f2.js";import{t as r}from"./p-364230fd.js";const n=class{constructor(s){t(this,s),this.value=void 0,this.disabled=!1,this.items=[]}onClick(t){t.stopPropagation();const s=t.target.closest("gux-segmented-control-item");s&&this.value!==s.value&&(this.value=s.value,i(this.root,"input"),i(this.root,"change"))}slotChanged(){this.items=Array.from(this.root.children)}componentWillLoad(){r(this.root)}componentWillRender(){this.items.forEach((t=>{t.selected=t.value===this.value}))}render(){return s(e,{key:"ce2a752e70599cae1a95d16712b28b1b067d07a4",role:"group"},s("slot",{key:"783879e721aad7497229b07333bdeb12df7ea29b",onSlotchange:this.slotChanged.bind(this)}))}get root(){return o(this)}};n.style=":host{display:inline-flex}";export{n as gux_segmented_control_beta}
1
+ import{r as t,h as s,H as o,g as e}from"./p-6e010355.js";import{s as i}from"./p-2c25e2f2.js";import{t as r}from"./p-2b4c94f1.js";const n=class{constructor(s){t(this,s),this.value=void 0,this.disabled=!1,this.items=[]}onClick(t){t.stopPropagation();const s=t.target.closest("gux-segmented-control-item");s&&this.value!==s.value&&(this.value=s.value,i(this.root,"input"),i(this.root,"change"))}slotChanged(){this.items=Array.from(this.root.children)}componentWillLoad(){r(this.root)}componentWillRender(){this.items.forEach((t=>{t.selected=t.value===this.value}))}render(){return s(o,{key:"607f885b5a78b63b8c8fda2c8d58bad988b792cc",role:"group"},s("slot",{key:"23747d2307246856b1b85fad90b57b2876ccfb24",onSlotchange:this.slotChanged.bind(this)}))}get root(){return e(this)}};n.style=":host{display:inline-flex}";export{n as gux_segmented_control_beta}
@@ -1 +1 @@
1
- import{r as e,c as i,h as s,g as a}from"./p-6e010355.js";import{t as d}from"./p-364230fd.js";import{h as n}from"./p-6d8b4027.js";const t=class{constructor(s){e(this,s),this.sidePanelDismiss=i(this,"sidePanelDismiss",7),this.size="small"}onDismissHandler(){this.sidePanelDismiss.emit()}componentWillLoad(){d(this.root,{variant:this.size})}renderDescription(){return n(this.root,"description")?s("div",{class:"gux-side-panel-description"},s("slot",{name:"description"})):null}render(){return s("div",{key:"07e34d61e328ca7d29b2405edff8a51d4b91d62b",class:{"gux-side-panel":!0,[`gux-side-panel-${this.size}`]:!0}},s("header",{key:"61024628df2d0f2b89668e3abeeaa5047aa60164"},s("gux-dismiss-button",{key:"25db410c7c7eb671c34b1a211cde19920ffb4dbf",position:"inherit",onClick:this.onDismissHandler.bind(this)}),s("slot",{key:"3c0b85f9d5cf9184ac99139dd649ae83c5599773",name:"heading"})),this.renderDescription(),s("div",{key:"9e70a18b4876be722d5e542b3db8052e1e47640d",class:"gux-side-panel-content"},s("slot",{key:"b59de7fa06f20042f5e6abfb1bd914fa5839cda5",name:"content"})),s("footer",{key:"bb66cb613ed9d379290ce700ffcd9a044f1c44b6"},s("slot",{key:"e6b36a71976aab45d69ffc277a0fde4e1b41fae2",name:"footer"})))}get root(){return a(this)}};t.style=":host{display:block;inline-size:fit-content;block-size:100%}:host([size=large]){max-inline-size:50%}.gux-side-panel{position:relative;display:flex;flex-direction:column;inline-size:calc(100vw - var(--gse-ui-sidePanel-shoud-minWidth));block-size:inherit;background-color:var(--gse-ui-sidePanel-backgroundColor);box-shadow:var(--gse-ui-sidePanel-boxShadow-offsetX) var(--gse-ui-sidePanel-boxShadow-offsetY) var(--gse-ui-sidePanel-boxShadow-blur) var(--gse-ui-sidePanel-boxShadow-spread) var(--gse-ui-sidePanel-boxShadow-color)}.gux-side-panel.gux-side-panel-small{max-inline-size:var(--gse-ui-sidePanel-widthSize-sm)}.gux-side-panel.gux-side-panel-medium{max-inline-size:var(--gse-ui-sidePanel-widthSize-md)}.gux-side-panel.gux-side-panel-large{max-inline-size:var(--gse-ui-sidePanel-widthSize-lg)}.gux-side-panel>header{position:relative;padding:var(--gse-ui-sidePanel-header-padding);border-block-end:var(--gse-ui-sidePanel-divider-width) var(--gse-ui-sidePanel-divider-style) var(--gse-ui-sidePanel-divider-color)}.gux-side-panel>header gux-dismiss-button{position:absolute;inset-block-start:calc(var(--gse-ui-sidePanel-header-dismiss-padding) - var(--gse-ui-modal-dismissButton-paddingTop));inset-inline-end:calc(var(--gse-ui-modal-dismissButton-paddingRight) - var(--gse-ui-sidePanel-header-dismiss-padding));display:block}.gux-side-panel .gux-side-panel-description{margin:var(--gse-ui-sidePanel-description-padding) !important}.gux-side-panel .gux-side-panel-content{display:flex;flex:1 1 100%;padding:var(--gse-ui-sidePanel-body-padding);overflow-y:auto;font-family:var(--gse-ui-sidePanel-description-text-fontFamily);font-size:var(--gse-ui-sidePanel-description-text-fontSize);font-weight:var(--gse-ui-sidePanel-description-text-fontWeight);line-height:var(--gse-ui-sidePanel-description-text-lineHeight);color:var(--gse-ui-sidePanel-descriptionColor)}.gux-side-panel>footer{flex:0 0 auto;padding:var(--gse-ui-sidePanel-footer-padding);border-block-start:var(--gse-ui-sidePanel-divider-width) var(--gse-ui-sidePanel-divider-style) var(--gse-ui-sidePanel-divider-color)}.gux-side-panel-description ::slotted(*){margin:0;font-family:var(--gse-ui-sidePanel-description-text-fontFamily) !important;font-size:var(--gse-ui-sidePanel-description-text-fontSize) !important;font-weight:var(--gse-ui-sidePanel-description-text-fontWeight) !important;line-height:var(--gse-ui-sidePanel-description-text-lineHeight) !important;color:var(--gse-ui-sidePanel-descriptionColor) !important}";export{t as gux_side_panel_beta}
1
+ import{r as e,c as i,h as s,g as a}from"./p-6e010355.js";import{t as d}from"./p-2b4c94f1.js";import{h as n}from"./p-6d8b4027.js";const t=class{constructor(s){e(this,s),this.sidePanelDismiss=i(this,"sidePanelDismiss",7),this.size="small"}onDismissHandler(){this.sidePanelDismiss.emit()}componentWillLoad(){d(this.root,{variant:this.size})}renderDescription(){return n(this.root,"description")?s("div",{class:"gux-side-panel-description"},s("slot",{name:"description"})):null}render(){return s("div",{key:"ceca7e10b604a619bb385e0619913bf1fa7b3b24",class:{"gux-side-panel":!0,[`gux-side-panel-${this.size}`]:!0}},s("header",{key:"cb2c914299013c93bbada6751a39d1b6fdf9bf36"},s("gux-dismiss-button",{key:"13615da20e162f08135cd13e71e9c5aadc9dd6ed",position:"inherit",onClick:this.onDismissHandler.bind(this)}),s("slot",{key:"8ea7cfe36f4e612754a1f5e7e788b4c15a64b3fa",name:"heading"})),this.renderDescription(),s("div",{key:"6d94ca8ba56886026e8e32ac2062063849e60875",class:"gux-side-panel-content"},s("slot",{key:"ee16b473aae7cc512934a238d4e9109ac5f35d31",name:"content"})),s("footer",{key:"11b8cbe1e90b8d24065f438021d6af1a09590a3e"},s("slot",{key:"ce5f280c7c98176df5b9ef0c3dbebdd718fafbbf",name:"footer"})))}get root(){return a(this)}};t.style=":host{display:block;inline-size:fit-content;block-size:100%}:host([size=large]){max-inline-size:50%}.gux-side-panel{position:relative;display:flex;flex-direction:column;inline-size:calc(100vw - var(--gse-ui-sidePanel-shoud-minWidth));block-size:inherit;background-color:var(--gse-ui-sidePanel-backgroundColor);box-shadow:var(--gse-ui-sidePanel-boxShadow-offsetX) var(--gse-ui-sidePanel-boxShadow-offsetY) var(--gse-ui-sidePanel-boxShadow-blur) var(--gse-ui-sidePanel-boxShadow-spread) var(--gse-ui-sidePanel-boxShadow-color)}.gux-side-panel.gux-side-panel-small{max-inline-size:var(--gse-ui-sidePanel-widthSize-sm)}.gux-side-panel.gux-side-panel-medium{max-inline-size:var(--gse-ui-sidePanel-widthSize-md)}.gux-side-panel.gux-side-panel-large{max-inline-size:var(--gse-ui-sidePanel-widthSize-lg)}.gux-side-panel>header{position:relative;padding:var(--gse-ui-sidePanel-header-padding);border-block-end:var(--gse-ui-sidePanel-divider-width) var(--gse-ui-sidePanel-divider-style) var(--gse-ui-sidePanel-divider-color)}.gux-side-panel>header gux-dismiss-button{position:absolute;inset-block-start:calc(var(--gse-ui-sidePanel-header-dismiss-padding) - var(--gse-ui-modal-dismissButton-paddingTop));inset-inline-end:calc(var(--gse-ui-modal-dismissButton-paddingRight) - var(--gse-ui-sidePanel-header-dismiss-padding));display:block}.gux-side-panel .gux-side-panel-description{margin:var(--gse-ui-sidePanel-description-padding) !important}.gux-side-panel .gux-side-panel-content{display:flex;flex:1 1 100%;padding:var(--gse-ui-sidePanel-body-padding);overflow-y:auto;font-family:var(--gse-ui-sidePanel-description-text-fontFamily);font-size:var(--gse-ui-sidePanel-description-text-fontSize);font-weight:var(--gse-ui-sidePanel-description-text-fontWeight);line-height:var(--gse-ui-sidePanel-description-text-lineHeight);color:var(--gse-ui-sidePanel-descriptionColor)}.gux-side-panel>footer{flex:0 0 auto;padding:var(--gse-ui-sidePanel-footer-padding);border-block-start:var(--gse-ui-sidePanel-divider-width) var(--gse-ui-sidePanel-divider-style) var(--gse-ui-sidePanel-divider-color)}.gux-side-panel-description ::slotted(*){margin:0;font-family:var(--gse-ui-sidePanel-description-text-fontFamily) !important;font-size:var(--gse-ui-sidePanel-description-text-fontSize) !important;font-weight:var(--gse-ui-sidePanel-description-text-fontWeight) !important;line-height:var(--gse-ui-sidePanel-description-text-lineHeight) !important;color:var(--gse-ui-sidePanel-descriptionColor) !important}";export{t as gux_side_panel_beta}
@@ -0,0 +1 @@
1
+ import{r as s,h as t,H as e,g as a}from"./p-6e010355.js";import{l as r,n as o,f as i,p as n,b as c,c as d}from"./p-8d73b418.js";import{t as u}from"./p-2b4c94f1.js";const l=["gux-list-item"],p=class{constructor(t){s(this,t)}componentWillLoad(){u(this.root)}onKeyDown(s){switch(s.key){case"ArrowUp":s.preventDefault(),n(this.root,l);break;case"Home":s.preventDefault(),i(this.root,l);break;case"ArrowDown":s.preventDefault(),o(this.root,l);break;case"End":s.preventDefault(),r(this.root,l)}}async guxFocusFirstItem(){i(this.root,l)}async guxFocusItemById(s){c(this.root,l,s)}async guxFocusItemByClosestId(s){d(this.root,l,s)}async guxFocusLastItem(){r(this.root,l)}renderFocusTarget(){return t("span",{tabindex:"-1","aria-hidden":"true"})}render(){return t(e,{key:"1ded5bf94c9eb48b4d9ed2e9a088ffd018ed392e",role:"list"},this.renderFocusTarget(),t("slot",{key:"0da0b7d786344469976279f6790a4209f7b9be16"}))}static get delegatesFocus(){return!0}get root(){return a(this)}};p.style=":host{display:flex;flex-direction:column;flex-wrap:nowrap;place-content:stretch flex-start;align-items:flex-start;padding:var(--gse-ui-menu-padding)}";export{p as gux_list}
@@ -0,0 +1 @@
1
+ import{r as e,c as t,h as o,H as i,g as s}from"./p-6e010355.js";import{g as n}from"./p-4202e9f2.js";import{r}from"./p-0934300e.js";import{b as a}from"./p-93871c33.js";import{h as u}from"./p-6d8b4027.js";const l={removeCustomElementInstructions:", unselecting this custom option will remove it from the list"},h=class{constructor(o){e(this,o),this.guxremovecustomoption=t(this,"guxremovecustomoption",7),this.internalselectcustomoption=t(this,"internalselectcustomoption",7),this.value=void 0,this.active=!1,this.selected=!1,this.disabled=!1,this.filtered=!1,this.custom=!1,this.hasSubtext=!1}emitRemoveCustomOption(){!this.selected&&this.custom&&this.guxremovecustomoption.emit()}handleActive(e){var t,o;e?null===(t=this.truncateElement)||void 0===t||t.setShowTooltip():null===(o=this.truncateElement)||void 0===o||o.setHideTooltip()}async componentWillLoad(){this.i18n=await a(this.root,l),this.root.id=this.root.id||r("gux-option-multi"),this.custom&&this.internalselectcustomoption.emit(this.value),this.onSubtextChange()}onSubtextChange(){this.hasSubtext=u(this.root,"subtext")}hasDisabledParent(){const e=n("gux-listbox-multi",this.root);return null==e?void 0:e.disabled}renderSVGCheckbox(){return o("svg",{class:"gux-checkbox-container",xmlns:"http://www.w3.org/2000/svg",viewBox:"1 1 13 13"},o("path",this.selected?{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M4 1H11C11.7956 1 12.5587 1.31607 13.1213 1.87868C13.6839 2.44129 14 3.20435 14 4V11C14 11.7956 13.6839 12.5587 13.1213 13.1213C12.5587 13.6839 11.7956 14 11 14H4C3.20435 14 2.44129 13.6839 1.87868 13.1213C1.31607 12.5587 1 11.7956 1 11V4C1 3.20435 1.31607 2.44129 1.87868 1.87868C2.44129 1.31607 3.20435 1 4 1ZM5.57018 10.4198C5.7051 10.5547 5.87599 10.6177 6.04689 10.6177C6.22678 10.6177 6.39767 10.5457 6.52359 10.4198L11.7944 5.14905C12.0552 4.88821 12.0552 4.45647 11.7944 4.19563C11.5335 3.93479 11.1018 3.93479 10.841 4.19563L6.04689 8.9897L4.14905 7.08286C3.88821 6.82202 3.45647 6.82202 3.19563 7.08286C2.93479 7.3437 2.93479 7.77544 3.19563 8.03628L5.57018 10.4198Z"}:{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M11 2.5H4C3.17157 2.5 2.5 3.17157 2.5 4V11C2.5 11.8284 3.17157 12.5 4 12.5H11C11.8284 12.5 12.5 11.8284 12.5 11V4C12.5 3.17157 11.8284 2.5 11 2.5ZM4 1C2.34315 1 1 2.34315 1 4V11C1 12.6569 2.34315 14 4 14H11C12.6569 14 14 12.6569 14 11V4C14 2.34315 12.6569 1 11 1H4Z"}))}renderCustomOptionInstructions(){if(this.custom)return o("span",{class:"gux-screenreader"},this.i18n("removeCustomElementInstructions"))}render(){return o(i,{key:"6d5378c2e2a1e2721f1b3f822aab1e450b8eea6f",role:"option",class:{"gux-active":this.active,"gux-disabled":this.disabled||this.hasDisabledParent(),"gux-filtered":this.filtered,"gux-selected":this.selected,"gux-show-subtext":this.hasSubtext},"aria-selected":this.selected.toString(),"aria-disabled":this.disabled.toString()},this.renderSVGCheckbox(),o("div",{key:"2265d61a2894633e19f1d3c874263de9899cb87f",class:"gux-option-wrapper"},o("gux-truncate",{key:"aae2b70f061dfe4a6fea45d2c284b9faaa32b29d",ref:e=>this.truncateElement=e},o("slot",{key:"926f3d5753c64cb5fcb3b275b9bb7c3bd7ff755c"})),o("slot",{key:"4f05856cd8645779f5863ad9286c7b2cf7b1a3c9",onSlotchange:()=>this.onSubtextChange(),name:"subtext"})),this.renderCustomOptionInstructions())}get root(){return s(this)}static get watchers(){return{selected:["emitRemoveCustomOption"],active:["handleActive"]}}};h.style=':host{box-sizing:border-box;display:flex;flex-direction:row;flex-wrap:nowrap;gap:var(--gse-ui-menu-option-gap);align-content:stretch;align-items:center;min-block-size:var(--gse-ui-menu-option-height);padding:var(--gse-ui-menu-option-padding);font-family:var(--gse-ui-menu-option-label-default-text-fontFamily);font-size:var(--gse-ui-menu-option-label-default-text-fontSize);font-weight:var(--gse-ui-menu-option-label-default-text-fontWeight);line-height:var(--gse-ui-menu-option-label-default-text-lineHeight);color:var(--gse-ui-menu-option-label-foregroundColor);word-wrap:break-word;cursor:pointer}:host .gux-option-wrapper{inline-size:100%}:host .gux-checkbox-container{position:relative;display:inline-block;min-inline-size:var(--gse-ui-menu-option-startIcon-width);max-inline-size:var(--gse-ui-menu-option-startIcon-width);block-size:var(--gse-ui-menu-option-startIcon-height);content:""}:host .gux-checkbox-container>path{fill:var(--gse-ui-menu-option-checkbox-unchecked-default-foregroundColor)}:host:host(.gux-disabled){opacity:var(--gse-ui-menu-option-disabled-opacity);pointer-events:none;cursor:default}:host:host(:active:not(:disabled)){font-family:var(--gse-ui-menu-option-label-active-text-fontFamily);font-size:var(--gse-ui-menu-option-label-active-text-fontSize);font-weight:var(--gse-ui-menu-option-label-active-text-fontWeight);line-height:var(--gse-ui-menu-option-label-active-text-lineHeight)}:host:host(.gux-selected){font-family:var(--gse-ui-menu-option-label-active-text-fontFamily);font-size:var(--gse-ui-menu-option-label-active-text-fontSize);font-weight:var(--gse-ui-menu-option-label-active-text-fontWeight);line-height:var(--gse-ui-menu-option-label-active-text-lineHeight);background-color:var(--gse-ui-menu-option-selected-backgroundColor)}:host:host(.gux-selected) .gux-checkbox-container>path{fill:var(--gse-ui-menu-option-checkbox-checked-default-foregroundColor)}:host:host(.gux-active){border-radius:var(--gse-semantic-focusOutline-sm-borderRadius);outline:var(--gse-ui-menu-option-focus-border-width) var(--gse-ui-menu-option-focus-border-style) var(--gse-ui-menu-option-focus-border-color);outline-offset:-2px}:host:host(.gux-show-subtext){place-content:stretch flex-start;block-size:auto}:host:host(.gux-show-subtext) .gux-option-wrapper{display:flex;flex-direction:column}:host:host(.gux-show-subtext) slot[name=subtext]::slotted(*){font-weight:var(--gse-ui-menu-option-label-default-text-fontWeight);color:var(--gse-ui-menu-groupedMenu-subtext-foregroundColor)}:host:host(:hover:not([disabled])){background-color:var(--gse-ui-menu-option-hover-backgroundColor)}:host:host(:hover:not([disabled])):host(.gux-selected) .gux-checkbox-container>path{fill:var(--gse-ui-menu-option-checkbox-checked-hover-foregroundColor)}:host:host(:hover:not([disabled])):host(:not(.gux-selected)) .gux-checkbox-container>path{fill:var(--gse-ui-menu-option-checkbox-unchecked-hover-foregroundColor)}:host:host(.gux-filtered){display:none}:host .gux-screenreader{position:absolute;top:auto;left:-10000px;width:1px;height:1px;overflow:hidden}';export{h as gux_option_multi}
@@ -1 +1 @@
1
- import{r as e,h as o,H as t,g as r}from"./p-6e010355.js";import{c as i,o as a}from"./p-f4751a15.js";import{O as l}from"./p-e720c07a.js";import{p as s}from"./p-a11d5d42.js";import{h as d}from"./p-6d8b4027.js";import{a as n,G as g}from"./p-b8c3ecdc.js";import{g as u,v as C}from"./p-42f2e889.js";import{t as f}from"./p-364230fd.js";import"./p-0934300e.js";import"./p-8eaf8caf.js";import"./p-2c25e2f2.js";const p=class{constructor(o){e(this,o),this.disabled=void 0,this.hasHelp=!1,this.hasError=!1,this.hasGroupError=!1,this.hasGroupDisabled=!1}onMutation(){this.hasError=d(this.root,"error"),this.hasHelp=d(this.root,"help")}componentWillLoad(){this.setInput(),this.hasError=d(this.root,"error"),this.hasHelp=d(this.root,"help"),f(this.root)}disconnectedCallback(){this.disabledObserver&&this.disabledObserver.disconnect()}render(){return o(t,{key:"d1127a17b222e558a678352b319aac9c21246416",class:{"gux-input-error":this.hasError||this.hasGroupError,"gux-disabled":this.disabled}},o("div",{key:"40ce4ffe960d27f6696c00ff5a7f7ad4e5269042",class:"gux-form-field-container","aria-disabled":this.disabled?"true":"false"},o("div",{key:"38eee0289e9dc0a3b3d6d20f4bd0bd405a0cd258",class:"gux-input-label"},o("div",{key:"856e8f33583c81bdcfd517d376895779d2832214",class:"gux-input"},o("slot",{key:"083283facc76eeffb2b77c02a8f8ba3df16a5f6a",name:"input",onSlotchange:()=>this.setInput()})),o("div",{key:"bb32d46769c6ca2355afe8690b7c09042a593719",class:"gux-label"},o("slot",{key:"e29f6ad20d005ac8ddc86a9c96469b3ca0e34df4",name:"label"}))),o("div",{key:"3c07a55b5b3dc71216cd4f2eb4807ad95f70b121",class:"error-and-help-text"},o(n,{key:"cc6376b010a26cf41e829a627734842abe631978",show:this.hasError},o("slot",{key:"e18d7e8792834388a3816501c8e133749ba0c4a4",name:"error"})),o(g,{key:"91360aa3979dc848d22e30a54653b593c003bbb5",show:!this.hasError&&this.hasHelp},o("slot",{key:"52480069a8f4ce36a83b66ffbdde59604bc0efb4",name:"help"})))))}setInput(){this.input=u(this.root,'input[type="radio"][slot="input"]'),this.hasGroupDisabled&&(this.input.disabled=!0),s(this.input),this.disabled=i(this.input),this.disabledObserver=a(this.input,(e=>{this.disabled=e})),C(this.root,this.input)}get root(){return r(this)}};(function(e,o,t,r){var i,a=arguments.length,l=a<3?o:null===r?r=Object.getOwnPropertyDescriptor(o,t):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)l=Reflect.decorate(e,o,t,r);else for(var s=e.length-1;s>=0;s--)(i=e[s])&&(l=(a<3?i(l):a>3?i(o,t,l):i(o,t))||l);a>3&&l&&Object.defineProperty(o,t,l)})([l({childList:!0,subtree:!0})],p.prototype,"onMutation",null),p.style=".gux-form-field-error{display:none;flex-direction:row;flex-wrap:nowrap;gap:var(--gse-ui-formControl-helper-gap);place-content:stretch flex-start;align-items:center;padding:var(--gse-ui-formControl-helper-errorPadding);font-family:var(--gse-ui-formControl-helper-helperText-fontFamily);font-size:var(--gse-ui-formControl-helper-helperText-fontSize);line-height:var(--gse-ui-formControl-helper-helperText-lineHeight);color:var(--gse-ui-formControl-helper-errorColor)}.gux-form-field-error.gux-show{display:flex}.gux-form-field-error gux-icon{flex:0 1 auto;order:0;min-inline-size:var(--gse-ui-icon-small-size);min-block-size:var(--gse-ui-icon-small-size);color:var(--gse-ui-formControl-helper-errorColor)}.gux-form-field-error .gux-message{flex:0 1 auto;align-self:auto;order:0}.gux-form-field-help{display:none;flex-direction:row;flex-wrap:nowrap;place-content:stretch flex-start;align-items:flex-start;justify-content:flex-start;padding-block-start:var(--gse-ui-formControl-formField-gap);font-family:var(--gse-ui-formControl-helper-helperText-fontFamily);font-size:var(--gse-ui-formControl-helper-helperText-fontSize);line-height:var(--gse-ui-formControl-helper-helperText-lineHeight);color:var(--gse-ui-formControl-helper-defaultColor)}.gux-form-field-help.gux-show{display:flex}.gux-form-field-help .gux-message{flex:0 1 auto;align-self:none;order:0}:host{display:block;padding-block-start:4px}:host(.gux-disabled){cursor:not-allowed;opacity:var(--gse-ui-radioButton-disabled-opacity)}:host(.gux-disabled) ::slotted(label){cursor:not-allowed}:host(.gux-input-error) input[type=radio]:checked::before{-webkit-mask-image:url(\"data:image/svg+xml,%3Csvg viewBox='0 0 16 16' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M5 8C5 6.31563 6.31563 5 8 5C9.65625 5 11 6.31563 11 8C11 9.65625 9.65625 11 8 11C6.31563 11 5 9.65625 5 8ZM16 8C16 12.4187 12.4187 16 8 16C3.58125 16 0 12.4187 0 8C0 3.58125 3.58125 0 8 0C12.4187 0 16 3.58125 16 8ZM8 1.5C4.40938 1.5 1.5 4.40938 1.5 8C1.5 11.5906 4.40938 14.5 8 14.5C11.5906 14.5 14.5 11.5906 14.5 8C14.5 4.40938 11.5906 1.5 8 1.5Z' /%3E%3C/svg%3E\");mask-image:url(\"data:image/svg+xml,%3Csvg viewBox='0 0 16 16' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M5 8C5 6.31563 6.31563 5 8 5C9.65625 5 11 6.31563 11 8C11 9.65625 9.65625 11 8 11C6.31563 11 5 9.65625 5 8ZM16 8C16 12.4187 12.4187 16 8 16C3.58125 16 0 12.4187 0 8C0 3.58125 3.58125 0 8 0C12.4187 0 16 3.58125 16 8ZM8 1.5C4.40938 1.5 1.5 4.40938 1.5 8C1.5 11.5906 4.40938 14.5 8 14.5C11.5906 14.5 14.5 11.5906 14.5 8C14.5 4.40938 11.5906 1.5 8 1.5Z' /%3E%3C/svg%3E\");background:var(--gse-ui-radioButton-icon-error-foregroundColor)}:host(.gux-input-error) ::slotted(input[type=radio]:not(:checked))::before{-webkit-mask-image:url(\"data:image/svg+xml,%3Csvg viewBox='0 0 16 16' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M16 8C16 12.4187 12.4187 16 8 16C3.58125 16 0 12.4187 0 8C0 3.58125 3.58125 0 8 0C12.4187 0 16 3.58125 16 8ZM8 1.5C4.40937 1.5 1.5 4.40937 1.5 8C1.5 11.5906 4.40937 14.5 8 14.5C11.5906 14.5 14.5 11.5906 14.5 8C14.5 4.40937 11.5906 1.5 8 1.5Z' /%3E%3C/svg%3E\");mask-image:url(\"data:image/svg+xml,%3Csvg viewBox='0 0 16 16' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M16 8C16 12.4187 12.4187 16 8 16C3.58125 16 0 12.4187 0 8C0 3.58125 3.58125 0 8 0C12.4187 0 16 3.58125 16 8ZM8 1.5C4.40937 1.5 1.5 4.40937 1.5 8C1.5 11.5906 4.40937 14.5 8 14.5C11.5906 14.5 14.5 11.5906 14.5 8C14.5 4.40937 11.5906 1.5 8 1.5Z' /%3E%3C/svg%3E\");background:var(--gse-ui-radioButton-icon-error-foregroundColor)}:host(.gux-input-error) .gux-form-field-error{font-family:var(--gse-ui-formControl-helper-helperText-fontFamily);color:var(--gse-ui-radioButton-icon-error-foregroundColor)}.gux-input-label{display:flex;flex-direction:row;gap:var(--gse-ui-radioButton-helper-gap)}.gux-input-label .gux-label{display:flex;flex-direction:column;line-height:var(--gse-ui-radioButton-label-text-lineHeight)}.gux-input-label .gux-input{line-height:16px}::slotted(input[type=radio]){display:inline-grid;inline-size:var(--gse-ui-radioButton-icon-width);block-size:var(--gse-ui-radioButton-icon-height);margin:0;color:var(--gse-ui-radioButton-icon-default-unselectedForegroundColor);text-align:center;vertical-align:middle;-webkit-appearance:none;appearance:none;cursor:pointer;border:0;outline:none}::slotted(input[type=radio])::before{grid-area:1/1;content:\"\";border-radius:50%}::slotted(input[type=radio]:focus-visible){border-radius:var(--gse-ui-radioButton-focus-borderRadius);outline:var(--gse-ui-radioButton-focus-border-width) var(--gse-ui-radioButton-focus-border-style) var(--gse-ui-radioButton-focus-border-color);outline-offset:var(--gse-semantic-focusOutline-offset)}::slotted(input[type=radio]:not(:checked))::before{-webkit-mask-image:url(\"data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M16 8C16 12.4187 12.4187 16 8 16C3.58125 16 0 12.4187 0 8C0 3.58125 3.58125 0 8 0C12.4187 0 16 3.58125 16 8ZM8 1.5C4.40937 1.5 1.5 4.40937 1.5 8C1.5 11.5906 4.40937 14.5 8 14.5C11.5906 14.5 14.5 11.5906 14.5 8C14.5 4.40937 11.5906 1.5 8 1.5Z' fill-rule='evenodd' clip-rule='evenodd' /%3E%3C/svg%3E\");mask-image:url(\"data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M16 8C16 12.4187 12.4187 16 8 16C3.58125 16 0 12.4187 0 8C0 3.58125 3.58125 0 8 0C12.4187 0 16 3.58125 16 8ZM8 1.5C4.40937 1.5 1.5 4.40937 1.5 8C1.5 11.5906 4.40937 14.5 8 14.5C11.5906 14.5 14.5 11.5906 14.5 8C14.5 4.40937 11.5906 1.5 8 1.5Z' fill-rule='evenodd' clip-rule='evenodd' /%3E%3C/svg%3E\");background:var(--gse-ui-radioButton-icon-default-unselectedForegroundColor)}::slotted(input[type=radio]:not(:checked):not(:disabled):hover)::before{-webkit-mask-image:url(\"data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M16 8C16 12.4187 12.4187 16 8 16C3.58125 16 0 12.4187 0 8C0 3.58125 3.58125 0 8 0C12.4187 0 16 3.58125 16 8ZM8 1.5C4.40937 1.5 1.5 4.40937 1.5 8C1.5 11.5906 4.40937 14.5 8 14.5C11.5906 14.5 14.5 11.5906 14.5 8C14.5 4.40937 11.5906 1.5 8 1.5Z' fill-rule='evenodd' clip-rule='evenodd' /%3E%3C/svg%3E\");mask-image:url(\"data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M16 8C16 12.4187 12.4187 16 8 16C3.58125 16 0 12.4187 0 8C0 3.58125 3.58125 0 8 0C12.4187 0 16 3.58125 16 8ZM8 1.5C4.40937 1.5 1.5 4.40937 1.5 8C1.5 11.5906 4.40937 14.5 8 14.5C11.5906 14.5 14.5 11.5906 14.5 8C14.5 4.40937 11.5906 1.5 8 1.5Z' fill-rule='evenodd' clip-rule='evenodd' /%3E%3C/svg%3E\");background:var(--gse-ui-radioButton-icon-hover-foregroundColor)}::slotted(input[type=radio]:checked:not(:disabled):hover)::before{-webkit-mask-image:url(\"data:image/svg+xml,%3Csvg viewBox='0 0 16 16' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M5 8C5 6.31563 6.31563 5 8 5C9.65625 5 11 6.31563 11 8C11 9.65625 9.65625 11 8 11C6.31563 11 5 9.65625 5 8ZM16 8C16 12.4187 12.4187 16 8 16C3.58125 16 0 12.4187 0 8C0 3.58125 3.58125 0 8 0C12.4187 0 16 3.58125 16 8ZM8 1.5C4.40938 1.5 1.5 4.40938 1.5 8C1.5 11.5906 4.40938 14.5 8 14.5C11.5906 14.5 14.5 11.5906 14.5 8C14.5 4.40938 11.5906 1.5 8 1.5Z' /%3E%3C/svg%3E\");mask-image:url(\"data:image/svg+xml,%3Csvg viewBox='0 0 16 16' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M5 8C5 6.31563 6.31563 5 8 5C9.65625 5 11 6.31563 11 8C11 9.65625 9.65625 11 8 11C6.31563 11 5 9.65625 5 8ZM16 8C16 12.4187 12.4187 16 8 16C3.58125 16 0 12.4187 0 8C0 3.58125 3.58125 0 8 0C12.4187 0 16 3.58125 16 8ZM8 1.5C4.40938 1.5 1.5 4.40938 1.5 8C1.5 11.5906 4.40938 14.5 8 14.5C11.5906 14.5 14.5 11.5906 14.5 8C14.5 4.40938 11.5906 1.5 8 1.5Z' /%3E%3C/svg%3E\");background:var(--gse-ui-radioButton-icon-hover-foregroundColor)}::slotted(input[type=radio]:checked)::before{-webkit-mask-image:url(\"data:image/svg+xml,%3Csvg viewBox='0 0 16 16' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M5 8C5 6.31563 6.31563 5 8 5C9.65625 5 11 6.31563 11 8C11 9.65625 9.65625 11 8 11C6.31563 11 5 9.65625 5 8ZM16 8C16 12.4187 12.4187 16 8 16C3.58125 16 0 12.4187 0 8C0 3.58125 3.58125 0 8 0C12.4187 0 16 3.58125 16 8ZM8 1.5C4.40938 1.5 1.5 4.40938 1.5 8C1.5 11.5906 4.40938 14.5 8 14.5C11.5906 14.5 14.5 11.5906 14.5 8C14.5 4.40938 11.5906 1.5 8 1.5Z' /%3E%3C/svg%3E\");mask-image:url(\"data:image/svg+xml,%3Csvg viewBox='0 0 16 16' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M5 8C5 6.31563 6.31563 5 8 5C9.65625 5 11 6.31563 11 8C11 9.65625 9.65625 11 8 11C6.31563 11 5 9.65625 5 8ZM16 8C16 12.4187 12.4187 16 8 16C3.58125 16 0 12.4187 0 8C0 3.58125 3.58125 0 8 0C12.4187 0 16 3.58125 16 8ZM8 1.5C4.40938 1.5 1.5 4.40938 1.5 8C1.5 11.5906 4.40938 14.5 8 14.5C11.5906 14.5 14.5 11.5906 14.5 8C14.5 4.40938 11.5906 1.5 8 1.5Z' /%3E%3C/svg%3E\");background:var(--gse-ui-radioButton-icon-default-selectedForegroundColor)}::slotted(input[type=radio]:disabled)::before{cursor:not-allowed;opacity:var(--gse-ui-radioButton-disabled-opacity)}::slotted(label){display:inline-block;font-family:var(--gse-ui-radioButton-label-text-fontFamily);font-size:var(--gse-ui-formControl-label-text-fontSize);font-weight:var(--gse-ui-radioButton-label-text-fontWeight);line-height:var(--gse-ui-radioButton-label-text-lineHeight);color:var(--gse-ui-radioButton-label-foregroundColor);vertical-align:middle}";export{p as gux_form_field_radio}
1
+ import{r as e,h as o,H as t,g as r}from"./p-6e010355.js";import{c as i,o as a}from"./p-f4751a15.js";import{O as l}from"./p-e720c07a.js";import{p as s}from"./p-a11d5d42.js";import{h as d}from"./p-6d8b4027.js";import{a as n,G as g}from"./p-b8c3ecdc.js";import{g as u,v as C}from"./p-42f2e889.js";import{t as f}from"./p-2b4c94f1.js";import"./p-0934300e.js";import"./p-8eaf8caf.js";import"./p-2c25e2f2.js";const p=class{constructor(o){e(this,o),this.disabled=void 0,this.hasHelp=!1,this.hasError=!1,this.hasGroupError=!1,this.hasGroupDisabled=!1}onMutation(){this.hasError=d(this.root,"error"),this.hasHelp=d(this.root,"help")}componentWillLoad(){this.setInput(),this.hasError=d(this.root,"error"),this.hasHelp=d(this.root,"help"),f(this.root)}disconnectedCallback(){this.disabledObserver&&this.disabledObserver.disconnect()}render(){return o(t,{key:"49ef8bdb9e7268f6ed72d138596e30d2942df483",class:{"gux-input-error":this.hasError||this.hasGroupError,"gux-disabled":this.disabled}},o("div",{key:"6a26a205570eb6ff11e77f81d01d44261d21e072",class:"gux-form-field-container","aria-disabled":this.disabled?"true":"false"},o("div",{key:"b77bc44125eaa97141430489ac2eb184ba7df709",class:"gux-input-label"},o("div",{key:"d4186aef6e7b7a0ebfe645344d5a745e16cc9614",class:"gux-input"},o("slot",{key:"2fc89568cc4659ff4838799e5278baa273085d2a",name:"input",onSlotchange:()=>this.setInput()})),o("div",{key:"61ff648660ef9c6c37ebdea28bbb35d7f6c14d0e",class:"gux-label"},o("slot",{key:"6ff9554ebb06ff5c11b68b784b24a834dc7837e5",name:"label"}))),o("div",{key:"ac51eb19dfe44b8069ce7e29edb9e97073d8c75f",class:"error-and-help-text"},o(n,{key:"6d27501b269cad64a8c4f1fb78545a5c6e512254",show:this.hasError},o("slot",{key:"bada69224c02868f8541a2895218fb392cc46d59",name:"error"})),o(g,{key:"a3d3221e309a5c891ac5beb1c50ed3f8cddfbb86",show:!this.hasError&&this.hasHelp},o("slot",{key:"7794ca8ee2cc4b82d761c37e2868ff0a776864cd",name:"help"})))))}setInput(){this.input=u(this.root,'input[type="radio"][slot="input"]'),this.hasGroupDisabled&&(this.input.disabled=!0),s(this.input),this.disabled=i(this.input),this.disabledObserver=a(this.input,(e=>{this.disabled=e})),C(this.root,this.input)}get root(){return r(this)}};(function(e,o,t,r){var i,a=arguments.length,l=a<3?o:null===r?r=Object.getOwnPropertyDescriptor(o,t):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)l=Reflect.decorate(e,o,t,r);else for(var s=e.length-1;s>=0;s--)(i=e[s])&&(l=(a<3?i(l):a>3?i(o,t,l):i(o,t))||l);a>3&&l&&Object.defineProperty(o,t,l)})([l({childList:!0,subtree:!0})],p.prototype,"onMutation",null),p.style=".gux-form-field-error{display:none;flex-direction:row;flex-wrap:nowrap;gap:var(--gse-ui-formControl-helper-gap);place-content:stretch flex-start;align-items:center;padding:var(--gse-ui-formControl-helper-errorPadding);font-family:var(--gse-ui-formControl-helper-helperText-fontFamily);font-size:var(--gse-ui-formControl-helper-helperText-fontSize);line-height:var(--gse-ui-formControl-helper-helperText-lineHeight);color:var(--gse-ui-formControl-helper-errorColor)}.gux-form-field-error.gux-show{display:flex}.gux-form-field-error gux-icon{flex:0 1 auto;order:0;min-inline-size:var(--gse-ui-icon-small-size);min-block-size:var(--gse-ui-icon-small-size);color:var(--gse-ui-formControl-helper-errorColor)}.gux-form-field-error .gux-message{flex:0 1 auto;align-self:auto;order:0}.gux-form-field-help{display:none;flex-direction:row;flex-wrap:nowrap;place-content:stretch flex-start;align-items:flex-start;justify-content:flex-start;padding-block-start:var(--gse-ui-formControl-formField-gap);font-family:var(--gse-ui-formControl-helper-helperText-fontFamily);font-size:var(--gse-ui-formControl-helper-helperText-fontSize);line-height:var(--gse-ui-formControl-helper-helperText-lineHeight);color:var(--gse-ui-formControl-helper-defaultColor)}.gux-form-field-help.gux-show{display:flex}.gux-form-field-help .gux-message{flex:0 1 auto;align-self:none;order:0}:host{display:block;padding-block-start:4px}:host(.gux-disabled){cursor:not-allowed;opacity:var(--gse-ui-radioButton-disabled-opacity)}:host(.gux-disabled) ::slotted(label){cursor:not-allowed}:host(.gux-input-error) input[type=radio]:checked::before{-webkit-mask-image:url(\"data:image/svg+xml,%3Csvg viewBox='0 0 16 16' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M5 8C5 6.31563 6.31563 5 8 5C9.65625 5 11 6.31563 11 8C11 9.65625 9.65625 11 8 11C6.31563 11 5 9.65625 5 8ZM16 8C16 12.4187 12.4187 16 8 16C3.58125 16 0 12.4187 0 8C0 3.58125 3.58125 0 8 0C12.4187 0 16 3.58125 16 8ZM8 1.5C4.40938 1.5 1.5 4.40938 1.5 8C1.5 11.5906 4.40938 14.5 8 14.5C11.5906 14.5 14.5 11.5906 14.5 8C14.5 4.40938 11.5906 1.5 8 1.5Z' /%3E%3C/svg%3E\");mask-image:url(\"data:image/svg+xml,%3Csvg viewBox='0 0 16 16' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M5 8C5 6.31563 6.31563 5 8 5C9.65625 5 11 6.31563 11 8C11 9.65625 9.65625 11 8 11C6.31563 11 5 9.65625 5 8ZM16 8C16 12.4187 12.4187 16 8 16C3.58125 16 0 12.4187 0 8C0 3.58125 3.58125 0 8 0C12.4187 0 16 3.58125 16 8ZM8 1.5C4.40938 1.5 1.5 4.40938 1.5 8C1.5 11.5906 4.40938 14.5 8 14.5C11.5906 14.5 14.5 11.5906 14.5 8C14.5 4.40938 11.5906 1.5 8 1.5Z' /%3E%3C/svg%3E\");background:var(--gse-ui-radioButton-icon-error-foregroundColor)}:host(.gux-input-error) ::slotted(input[type=radio]:not(:checked))::before{-webkit-mask-image:url(\"data:image/svg+xml,%3Csvg viewBox='0 0 16 16' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M16 8C16 12.4187 12.4187 16 8 16C3.58125 16 0 12.4187 0 8C0 3.58125 3.58125 0 8 0C12.4187 0 16 3.58125 16 8ZM8 1.5C4.40937 1.5 1.5 4.40937 1.5 8C1.5 11.5906 4.40937 14.5 8 14.5C11.5906 14.5 14.5 11.5906 14.5 8C14.5 4.40937 11.5906 1.5 8 1.5Z' /%3E%3C/svg%3E\");mask-image:url(\"data:image/svg+xml,%3Csvg viewBox='0 0 16 16' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M16 8C16 12.4187 12.4187 16 8 16C3.58125 16 0 12.4187 0 8C0 3.58125 3.58125 0 8 0C12.4187 0 16 3.58125 16 8ZM8 1.5C4.40937 1.5 1.5 4.40937 1.5 8C1.5 11.5906 4.40937 14.5 8 14.5C11.5906 14.5 14.5 11.5906 14.5 8C14.5 4.40937 11.5906 1.5 8 1.5Z' /%3E%3C/svg%3E\");background:var(--gse-ui-radioButton-icon-error-foregroundColor)}:host(.gux-input-error) .gux-form-field-error{font-family:var(--gse-ui-formControl-helper-helperText-fontFamily);color:var(--gse-ui-radioButton-icon-error-foregroundColor)}.gux-input-label{display:flex;flex-direction:row;gap:var(--gse-ui-radioButton-helper-gap)}.gux-input-label .gux-label{display:flex;flex-direction:column;line-height:var(--gse-ui-radioButton-label-text-lineHeight)}.gux-input-label .gux-input{line-height:16px}::slotted(input[type=radio]){display:inline-grid;inline-size:var(--gse-ui-radioButton-icon-width);block-size:var(--gse-ui-radioButton-icon-height);margin:0;color:var(--gse-ui-radioButton-icon-default-unselectedForegroundColor);text-align:center;vertical-align:middle;-webkit-appearance:none;appearance:none;cursor:pointer;border:0;outline:none}::slotted(input[type=radio])::before{grid-area:1/1;content:\"\";border-radius:50%}::slotted(input[type=radio]:focus-visible){border-radius:var(--gse-ui-radioButton-focus-borderRadius);outline:var(--gse-ui-radioButton-focus-border-width) var(--gse-ui-radioButton-focus-border-style) var(--gse-ui-radioButton-focus-border-color);outline-offset:var(--gse-semantic-focusOutline-offset)}::slotted(input[type=radio]:not(:checked))::before{-webkit-mask-image:url(\"data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M16 8C16 12.4187 12.4187 16 8 16C3.58125 16 0 12.4187 0 8C0 3.58125 3.58125 0 8 0C12.4187 0 16 3.58125 16 8ZM8 1.5C4.40937 1.5 1.5 4.40937 1.5 8C1.5 11.5906 4.40937 14.5 8 14.5C11.5906 14.5 14.5 11.5906 14.5 8C14.5 4.40937 11.5906 1.5 8 1.5Z' fill-rule='evenodd' clip-rule='evenodd' /%3E%3C/svg%3E\");mask-image:url(\"data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M16 8C16 12.4187 12.4187 16 8 16C3.58125 16 0 12.4187 0 8C0 3.58125 3.58125 0 8 0C12.4187 0 16 3.58125 16 8ZM8 1.5C4.40937 1.5 1.5 4.40937 1.5 8C1.5 11.5906 4.40937 14.5 8 14.5C11.5906 14.5 14.5 11.5906 14.5 8C14.5 4.40937 11.5906 1.5 8 1.5Z' fill-rule='evenodd' clip-rule='evenodd' /%3E%3C/svg%3E\");background:var(--gse-ui-radioButton-icon-default-unselectedForegroundColor)}::slotted(input[type=radio]:not(:checked):not(:disabled):hover)::before{-webkit-mask-image:url(\"data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M16 8C16 12.4187 12.4187 16 8 16C3.58125 16 0 12.4187 0 8C0 3.58125 3.58125 0 8 0C12.4187 0 16 3.58125 16 8ZM8 1.5C4.40937 1.5 1.5 4.40937 1.5 8C1.5 11.5906 4.40937 14.5 8 14.5C11.5906 14.5 14.5 11.5906 14.5 8C14.5 4.40937 11.5906 1.5 8 1.5Z' fill-rule='evenodd' clip-rule='evenodd' /%3E%3C/svg%3E\");mask-image:url(\"data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M16 8C16 12.4187 12.4187 16 8 16C3.58125 16 0 12.4187 0 8C0 3.58125 3.58125 0 8 0C12.4187 0 16 3.58125 16 8ZM8 1.5C4.40937 1.5 1.5 4.40937 1.5 8C1.5 11.5906 4.40937 14.5 8 14.5C11.5906 14.5 14.5 11.5906 14.5 8C14.5 4.40937 11.5906 1.5 8 1.5Z' fill-rule='evenodd' clip-rule='evenodd' /%3E%3C/svg%3E\");background:var(--gse-ui-radioButton-icon-hover-foregroundColor)}::slotted(input[type=radio]:checked:not(:disabled):hover)::before{-webkit-mask-image:url(\"data:image/svg+xml,%3Csvg viewBox='0 0 16 16' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M5 8C5 6.31563 6.31563 5 8 5C9.65625 5 11 6.31563 11 8C11 9.65625 9.65625 11 8 11C6.31563 11 5 9.65625 5 8ZM16 8C16 12.4187 12.4187 16 8 16C3.58125 16 0 12.4187 0 8C0 3.58125 3.58125 0 8 0C12.4187 0 16 3.58125 16 8ZM8 1.5C4.40938 1.5 1.5 4.40938 1.5 8C1.5 11.5906 4.40938 14.5 8 14.5C11.5906 14.5 14.5 11.5906 14.5 8C14.5 4.40938 11.5906 1.5 8 1.5Z' /%3E%3C/svg%3E\");mask-image:url(\"data:image/svg+xml,%3Csvg viewBox='0 0 16 16' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M5 8C5 6.31563 6.31563 5 8 5C9.65625 5 11 6.31563 11 8C11 9.65625 9.65625 11 8 11C6.31563 11 5 9.65625 5 8ZM16 8C16 12.4187 12.4187 16 8 16C3.58125 16 0 12.4187 0 8C0 3.58125 3.58125 0 8 0C12.4187 0 16 3.58125 16 8ZM8 1.5C4.40938 1.5 1.5 4.40938 1.5 8C1.5 11.5906 4.40938 14.5 8 14.5C11.5906 14.5 14.5 11.5906 14.5 8C14.5 4.40938 11.5906 1.5 8 1.5Z' /%3E%3C/svg%3E\");background:var(--gse-ui-radioButton-icon-hover-foregroundColor)}::slotted(input[type=radio]:checked)::before{-webkit-mask-image:url(\"data:image/svg+xml,%3Csvg viewBox='0 0 16 16' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M5 8C5 6.31563 6.31563 5 8 5C9.65625 5 11 6.31563 11 8C11 9.65625 9.65625 11 8 11C6.31563 11 5 9.65625 5 8ZM16 8C16 12.4187 12.4187 16 8 16C3.58125 16 0 12.4187 0 8C0 3.58125 3.58125 0 8 0C12.4187 0 16 3.58125 16 8ZM8 1.5C4.40938 1.5 1.5 4.40938 1.5 8C1.5 11.5906 4.40938 14.5 8 14.5C11.5906 14.5 14.5 11.5906 14.5 8C14.5 4.40938 11.5906 1.5 8 1.5Z' /%3E%3C/svg%3E\");mask-image:url(\"data:image/svg+xml,%3Csvg viewBox='0 0 16 16' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M5 8C5 6.31563 6.31563 5 8 5C9.65625 5 11 6.31563 11 8C11 9.65625 9.65625 11 8 11C6.31563 11 5 9.65625 5 8ZM16 8C16 12.4187 12.4187 16 8 16C3.58125 16 0 12.4187 0 8C0 3.58125 3.58125 0 8 0C12.4187 0 16 3.58125 16 8ZM8 1.5C4.40938 1.5 1.5 4.40938 1.5 8C1.5 11.5906 4.40938 14.5 8 14.5C11.5906 14.5 14.5 11.5906 14.5 8C14.5 4.40938 11.5906 1.5 8 1.5Z' /%3E%3C/svg%3E\");background:var(--gse-ui-radioButton-icon-default-selectedForegroundColor)}::slotted(input[type=radio]:disabled)::before{cursor:not-allowed;opacity:var(--gse-ui-radioButton-disabled-opacity)}::slotted(label){display:inline-block;font-family:var(--gse-ui-radioButton-label-text-fontFamily);font-size:var(--gse-ui-formControl-label-text-fontSize);font-weight:var(--gse-ui-radioButton-label-text-fontWeight);line-height:var(--gse-ui-radioButton-label-text-lineHeight);color:var(--gse-ui-radioButton-label-foregroundColor);vertical-align:middle}";export{p as gux_form_field_radio}
@@ -1 +1 @@
1
- import{r as t,c as e,h as i}from"./p-6e010355.js";import{a as s,c as a,o as n,f as o,e as d,s as c,h as p}from"./p-5107a20b.js";const h=class{constructor(i){t(this,i),this.internalexpanded=e(this,"internalexpanded",7),this.internalcollapsed=e(this,"internalcollapsed",7),this.placement="bottom-start",this.expanded=!1,this.disabled=!1,this.offset=2,this.exceedTargetWidth=!1}runUpdatePosition(){this.cleanupUpdatePosition=s(this.targetElementContainer,this.popupElementContainer,(()=>this.updatePosition()),{ancestorScroll:!0,elementResize:!0,animationFrame:!0,ancestorResize:!0})}updatePosition(){if(this.targetElementContainer&&this.popupElementContainer){const t=this.exceedTargetWidth;a(this.targetElementContainer,this.popupElementContainer,{strategy:"fixed",placement:this.placement,middleware:[n(this.offset),o(),d({apply({rects:e,elements:i}){Object.assign(i.floating.style,t?{minWidth:`${e.reference.width}px`}:{width:`${e.reference.width}px`,overflow:"hidden"})}}),c(),p()]}).then((({x:t,y:e,middlewareData:i})=>{const{referenceHidden:s}=i.hide;isNaN(t)||Object.assign(this.popupElementContainer.style,{left:`${t}px`}),isNaN(e)||Object.assign(this.popupElementContainer.style,{top:`${e}px`}),s?this.popupElementContainer.classList.add("gux-sr-only-clip"):this.popupElementContainer.classList.remove("gux-sr-only-clip")}))}}onExpandedChange(t){t?this.internalexpanded.emit():this.internalcollapsed.emit()}componentDidLoad(){this.expanded?this.runUpdatePosition():this.updatePosition()}componentDidUpdate(){this.expanded?this.runUpdatePosition():this.cleanupUpdatePosition&&this.cleanupUpdatePosition()}disconnectedCallback(){this.cleanupUpdatePosition&&this.cleanupUpdatePosition()}render(){return i("div",{key:"0f088e297f3f94a7391aad49bdd07f6aec47dade",class:{"gux-target-container":!0,"gux-disabled":this.disabled},"aria-disabled":this.disabled.toString(),ref:t=>this.targetElementContainer=t},i("slot",{key:"dae472fe22e9774dd5e6c859fbe20388340ca935",name:"target"}),i("div",{key:"301bf56aef78a42ef8edb98696b03facf445fb5b",class:{"gux-popup-container":!0,"gux-expanded":this.expanded&&!this.disabled},ref:t=>this.popupElementContainer=t},i("slot",{key:"b369d17d7fc08f60c4452812cfb3959a91c6ccaf",name:"popup"})))}static get watchers(){return{expanded:["onExpandedChange"]}}};h.style=".gux-target-container.gux-disabled{pointer-events:none;cursor:default;opacity:0.5}.gux-popup-container{position:fixed;z-index:var(--gse-semantic-zIndex-popup);inline-size:max-content;visibility:hidden;background-color:var(--gse-ui-menu-backgroundColor)}.gux-popup-container.gux-expanded{visibility:visible}.gux-sr-only-clip:not(:focus):not(:active){position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);clip-path:inset(50%);white-space:nowrap}";export{h as gux_popup}
1
+ import{r as e,c as t,h as i}from"./p-6e010355.js";import{a as s,c as a,o as n,f as o,e as d,s as c,h as p}from"./p-5107a20b.js";const h=class{constructor(i){e(this,i),this.internalexpanded=t(this,"internalexpanded",7),this.internalcollapsed=t(this,"internalcollapsed",7),this.placement="bottom-start",this.expanded=!1,this.disabled=!1,this.offset=2,this.exceedTargetWidth=!1}runUpdatePosition(){this.cleanupUpdatePosition=s(this.targetElementContainer,this.popupElementContainer,(()=>this.updatePosition()),{ancestorScroll:!0,elementResize:!0,animationFrame:!0,ancestorResize:!0})}updatePosition(){if(this.targetElementContainer&&this.popupElementContainer){const e=this.exceedTargetWidth;a(this.targetElementContainer,this.popupElementContainer,{strategy:"fixed",placement:this.placement,middleware:[n(this.offset),o(),d({apply({rects:t,elements:i}){Object.assign(i.floating.style,e?{minWidth:`${t.reference.width}px`}:{width:`${t.reference.width}px`,overflow:"hidden"})}}),c(),p()]}).then((({x:e,y:t,middlewareData:i})=>{const{referenceHidden:s}=i.hide;isNaN(e)||Object.assign(this.popupElementContainer.style,{left:`${e}px`}),isNaN(t)||Object.assign(this.popupElementContainer.style,{top:`${t}px`}),s?this.popupElementContainer.classList.add("gux-sr-only-clip"):this.popupElementContainer.classList.remove("gux-sr-only-clip")}))}}onExpandedChange(e){e?this.internalexpanded.emit():this.internalcollapsed.emit()}componentDidLoad(){this.expanded?this.runUpdatePosition():this.updatePosition()}componentDidUpdate(){this.expanded?this.runUpdatePosition():this.cleanupUpdatePosition&&this.cleanupUpdatePosition()}disconnectedCallback(){this.cleanupUpdatePosition&&this.cleanupUpdatePosition()}render(){return i("div",{key:"e65eba8bf2ea21b2c75e5d7219e8d4ce847f14cf",class:{"gux-target-container":!0,"gux-disabled":this.disabled},"aria-disabled":this.disabled.toString(),ref:e=>this.targetElementContainer=e},i("slot",{key:"10a5ee61912e0f0155e566fa0d8a71b8dc673958",name:"target"}),i("div",{key:"f45ed6fe78f16164e6141fedd8b0dd59878cf3fa",class:{"gux-popup-container":!0,"gux-expanded":this.expanded&&!this.disabled},ref:e=>this.popupElementContainer=e},i("slot",{key:"04965afccbb522397d745370c3c83fa3b20c8e9b",name:"popup"})))}static get watchers(){return{expanded:["onExpandedChange"]}}};h.style=".gux-target-container.gux-disabled{pointer-events:none;cursor:default;opacity:0.5}.gux-popup-container{position:fixed;z-index:var(--gse-semantic-zIndex-popup);inline-size:max-content;visibility:hidden;background-color:var(--gse-ui-menu-backgroundColor)}.gux-popup-container.gux-expanded{visibility:visible}.gux-sr-only-clip:not(:focus):not(:active){position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);clip-path:inset(50%);white-space:nowrap}";export{h as gux_popup}
@@ -1 +1 @@
1
- import{r as t,c as a,h as e,g as i}from"./p-6e010355.js";import{b as n}from"./p-a82e4a04.js";import{t as s}from"./p-20fbe34f.js";import{b as r}from"./p-cf0e7d3b.js";import"./p-4202e9f2.js";class o{static displayAllPageButtons(t,a,e){switch(e){case"advanced":return function(t,a){if(a<=7)return[...Array(a).keys()].map((a=>{const e=a+1;return{pageNumber:e,display:String(e),current:e===t}}));if(t<=3)return[...[...Array(5).keys()].map((a=>{const e=a+1;return{pageNumber:e,display:String(e),current:e===t}})),{pageNumber:6,display:"...",current:!1},{pageNumber:a,display:String(a),current:!1}];if(t>a-3){const e=[...Array(5).keys()].map((e=>{const i=e+a-4;return{pageNumber:i,display:String(i),current:i===t}}));return[{pageNumber:1,display:"1",current:!1},{pageNumber:a-6,display:"...",current:!1},...e]}const e=[...Array(3).keys()].map((a=>{const e=a+t-1;return{pageNumber:e,display:String(e),current:e===t}}));return[{pageNumber:1,display:"1",current:!1},{pageNumber:t-3,display:"...",current:!1},...e,{pageNumber:t+3,display:"...",current:!1},{pageNumber:a,display:String(a),current:!1}]}(t,a);case"simple":return function(t,a){return a<=3?[...Array(a).keys()].map((a=>{const e=a+1;return{pageNumber:e,display:String(e),current:e===t}})):a===t?[{pageNumber:1,display:"1",current:!1},{pageNumber:t,display:"...",current:!1},{pageNumber:a,display:String(a),current:!0}]:a>=4?[...[...Array(1).keys()].map((e=>{const i=e+t;return{pageNumber:i,display:String(i),current:i!==a}})),{pageNumber:t,display:"...",current:!1},{pageNumber:a,display:String(a),current:a==t}]:void 0}(t,a)}}}const u=class{constructor(e){t(this,e),this.internalcurrentpagechange=a(this,"internalcurrentpagechange",3),this.currentPage=void 0,this.totalPages=void 0,this.layout="advanced",this.disabled=!1}goToPageHandler(t){this.currentPage=t.detail,this.handlePageChange(this.currentPage),r((()=>{this.currentElement.focus()}))}get onFirstPage(){return this.currentPage<=1}get onLastPage(){return this.currentPage>=this.totalPages}handleClickFirst(){this.internalcurrentpagechange.emit(1)}handleClickPrevious(){this.internalcurrentpagechange.emit(this.currentPage-1)}handleClickNext(){this.internalcurrentpagechange.emit(this.currentPage+1)}handleClickLast(){this.internalcurrentpagechange.emit(this.totalPages)}handlePageChange(t){this.internalcurrentpagechange.emit(t)}getPageListEnteries(t,a,i){return o.displayAllPageButtons(t,a,i).reduce(((t,a)=>t.concat(a.current?e("gux-button-slot",{accent:"ghost"},e("button",{disabled:this.disabled,ref:t=>this.currentElement=t,class:"gux-pagination-buttons-list-current","aria-label":this.i18n("pageSelected",{pageSelected:a.pageNumber})},a.display)):"..."==a.display?e("gux-pagination-ellipsis-button",{disabled:this.disabled,totalPages:this.totalPages}):e("gux-button-slot",{accent:"ghost"},e("button",{disabled:this.disabled,onClick:()=>this.handlePageChange(a.pageNumber),"aria-label":this.i18n("pageNumber",{pageNumber:a.pageNumber})},a.display)))),[])}getPageNavigation(){return e("div",{class:"gux-pagination-buttons-list-container"},this.getPageListEnteries(this.currentPage,this.totalPages,this.layout))}async componentWillLoad(){this.i18n=await n(this.root,s)}render(){return e("div",{key:"72b66db1cbc26688e815dc782b0b5a28b759879d",class:`gux-pagination-buttons-container gux-${this.layout}`},e("div",{key:"17bc0dc108aa05afac2c3050e45017bc1fc69cbd",class:"gux-pagination-buttons-group"},e("gux-button-slot",{key:"969ca6e7227dae0669d99fea285fbf375492b02f",accent:"ghost","icon-only":!0},e("button",{key:"3662f442b719187fc86446016b27cafb22ce494c",title:this.i18n("firstPage"),disabled:this.onFirstPage||this.disabled,onClick:this.handleClickFirst.bind(this)},e("gux-icon",{key:"6e03327be2a73b32ca6c544b1b3b246a3f161ea1",size:"small",decorative:!0,"icon-name":"fa/chevrons-left-regular"}))),e("gux-button-slot",{key:"f3d9835f8aa4b3fa68f246736370c72d1b390a1a",accent:"ghost","icon-only":!0},e("button",{key:"4ea8c4df47a919397b4b1373e7651a28bc5e6378",title:this.i18n("previousPage"),disabled:this.onFirstPage||this.disabled,onClick:this.handleClickPrevious.bind(this)},e("gux-icon",{key:"bd86ff2eac3caf867bcd1b8c3f005a363c6bad1a",size:"small",decorative:!0,"icon-name":"custom/chevron-left-small-regular"})))),this.getPageNavigation(),e("div",{key:"35ba6f5915d4370c89111e74e8eeba70b0c4ea03",class:"gux-pagination-buttons-group"},e("gux-button-slot",{key:"2b0e96ba9184c98f8330f4bac7bba3be60a760b1",accent:"ghost","icon-only":!0},e("button",{key:"934b6d5ea44d4379d5c11d54f93a1837155b6ab8",title:this.i18n("nextPage"),disabled:this.onLastPage||this.disabled,onClick:this.handleClickNext.bind(this)},e("gux-icon",{key:"f4b31131e7a6a9b8fa7f784125625f75651b2a0a",size:"small",decorative:!0,"icon-name":"custom/chevron-right-small-regular"}))),e("gux-button-slot",{key:"fec4b9d51505922b372590d1a662ccbd77ab29fb",accent:"ghost","icon-only":!0},e("button",{key:"6977753e1fa976906af6165ef1f512c5bc3b92a8",title:this.i18n("lastPage"),disabled:this.onLastPage||this.disabled,onClick:this.handleClickLast.bind(this)},e("gux-icon",{key:"8de80526c818f209fc6fe42aa74d363e1ed60aed",size:"small",decorative:!0,"icon-name":"fa/chevrons-right-regular"})))))}get root(){return i(this)}};u.style="gux-pagination-buttons .gux-pagination-buttons-container{display:flex;flex-direction:row;flex-wrap:nowrap;gap:var(--gse-ui-dataTableItems-tablePagination-recordsetControls-gap);place-content:stretch flex-end;align-items:center;margin-inline-start:var(--gse-ui-dataTableItems-tablePagination-recordsetControls-gap)}gux-pagination-buttons .gux-pagination-buttons-container>div{flex:0 1 auto;align-self:auto;order:0}gux-pagination-buttons .gux-pagination-buttons-container .gux-pagination-buttons-group{display:flex;flex-direction:row;gap:var(--gse-ui-dataTableItems-tablePagination-recordsetControls-gap);white-space:nowrap}gux-pagination-buttons .gux-pagination-buttons-container .gux-pagination-buttons-list-container{display:flex;flex-shrink:0;flex-direction:row;flex-wrap:nowrap;gap:var(--gse-ui-dataTableItems-tablePagination-recordsetControls-gap);place-content:stretch center;align-items:center}gux-pagination-buttons .gux-pagination-buttons-container .gux-pagination-buttons-list-container .gux-pagination-buttons-list-current{color:var(--gse-ui-button-ghost-active-foregroundColor);background-color:var(--gse-ui-button-ghost-active-backgroundColor);border-radius:var(--gse-ui-button-borderRadius)}";const g={itemCountDisplay:"{firstItem, number} - {lastItem, number}",totalItems:" of {totalItems, number}"},l=class{constructor(a){t(this,a),this.totalItems=0,this.currentPage=0,this.itemsPerPage=25}get firstItem(){return this.totalItems<1?0:(this.currentPage-1)*this.itemsPerPage+1}get lastItem(){return this.totalItems<1?0:Math.min(this.currentPage*this.itemsPerPage,this.totalItems)}async componentWillLoad(){this.i18n=await n(this.root,g)}getPaginationItemCountsRange(){if(this.totalItems)return e("span",null,this.i18n("totalItems",{totalItems:this.totalItems}))}render(){return e("div",{key:"3074bfecfee49de818823df5699d7ea4043c0a2a",class:"gux-pagination-item-counts-container"},e("span",{key:"d8335788be0aacfe6461a2f8af1e7fd5130b2653",class:"gux-pagination-item-counts-range"},this.i18n("itemCountDisplay",{firstItem:this.firstItem,lastItem:this.lastItem})),e("span",{key:"9457155bbf26b5def8c1533e8361bbddcca761f7",class:"gux-pagination-item-counts-total"},this.getPaginationItemCountsRange()))}get root(){return i(this)}};l.style="gux-pagination-item-counts .gux-pagination-item-counts-container{display:flex;flex-direction:row;gap:var(--gse-ui-dataTableItems-tablePagination-countDisplay-gap);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-currentResultText-fontWeight);line-height:var(--gse-ui-dataTableItems-tablePagination-defaultText-lineHeight);color:var(--gse-ui-dataTableItems-tablePagination-foregroundColor);white-space:nowrap}gux-pagination-item-counts .gux-pagination-item-counts-total{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);white-space:nowrap}";export{u as gux_pagination_buttons,l as gux_pagination_item_counts}
1
+ import{r as t,c as e,h as a,g as i}from"./p-6e010355.js";import{b as n}from"./p-93871c33.js";import{t as s}from"./p-20fbe34f.js";import{b as r}from"./p-cf0e7d3b.js";import"./p-4202e9f2.js";class o{static displayAllPageButtons(t,e,a){switch(a){case"advanced":return function(t,e){if(e<=7)return[...Array(e).keys()].map((e=>{const a=e+1;return{pageNumber:a,display:String(a),current:a===t}}));if(t<=3)return[...[...Array(5).keys()].map((e=>{const a=e+1;return{pageNumber:a,display:String(a),current:a===t}})),{pageNumber:6,display:"...",current:!1},{pageNumber:e,display:String(e),current:!1}];if(t>e-3){const a=[...Array(5).keys()].map((a=>{const i=a+e-4;return{pageNumber:i,display:String(i),current:i===t}}));return[{pageNumber:1,display:"1",current:!1},{pageNumber:e-6,display:"...",current:!1},...a]}const a=[...Array(3).keys()].map((e=>{const a=e+t-1;return{pageNumber:a,display:String(a),current:a===t}}));return[{pageNumber:1,display:"1",current:!1},{pageNumber:t-3,display:"...",current:!1},...a,{pageNumber:t+3,display:"...",current:!1},{pageNumber:e,display:String(e),current:!1}]}(t,e);case"simple":return function(t,e){return e<=3?[...Array(e).keys()].map((e=>{const a=e+1;return{pageNumber:a,display:String(a),current:a===t}})):e===t?[{pageNumber:1,display:"1",current:!1},{pageNumber:t,display:"...",current:!1},{pageNumber:e,display:String(e),current:!0}]:e>=4?[...[...Array(1).keys()].map((a=>{const i=a+t;return{pageNumber:i,display:String(i),current:i!==e}})),{pageNumber:t,display:"...",current:!1},{pageNumber:e,display:String(e),current:e==t}]:void 0}(t,e)}}}const u=class{constructor(a){t(this,a),this.internalcurrentpagechange=e(this,"internalcurrentpagechange",3),this.currentPage=void 0,this.totalPages=void 0,this.layout="advanced",this.disabled=!1}goToPageHandler(t){this.currentPage=t.detail,this.handlePageChange(this.currentPage),r((()=>{this.currentElement.focus()}))}get onFirstPage(){return this.currentPage<=1}get onLastPage(){return this.currentPage>=this.totalPages}handleClickFirst(){this.internalcurrentpagechange.emit(1)}handleClickPrevious(){this.internalcurrentpagechange.emit(this.currentPage-1)}handleClickNext(){this.internalcurrentpagechange.emit(this.currentPage+1)}handleClickLast(){this.internalcurrentpagechange.emit(this.totalPages)}handlePageChange(t){this.internalcurrentpagechange.emit(t)}getPageListEnteries(t,e,i){return o.displayAllPageButtons(t,e,i).reduce(((t,e)=>t.concat(e.current?a("gux-button-slot",{accent:"ghost"},a("button",{disabled:this.disabled,ref:t=>this.currentElement=t,class:"gux-pagination-buttons-list-current","aria-label":this.i18n("pageSelected",{pageSelected:e.pageNumber})},e.display)):"..."==e.display?a("gux-pagination-ellipsis-button",{disabled:this.disabled,totalPages:this.totalPages}):a("gux-button-slot",{accent:"ghost"},a("button",{disabled:this.disabled,onClick:()=>this.handlePageChange(e.pageNumber),"aria-label":this.i18n("pageNumber",{pageNumber:e.pageNumber})},e.display)))),[])}getPageNavigation(){return a("div",{class:"gux-pagination-buttons-list-container"},this.getPageListEnteries(this.currentPage,this.totalPages,this.layout))}async componentWillLoad(){this.i18n=await n(this.root,s)}render(){return a("div",{key:"14e2cb197b8f3a1703d6333eeb7ff8417bcefab3",class:`gux-pagination-buttons-container gux-${this.layout}`},a("div",{key:"ae06b3ef2b3bb4a750707ada7b2b006e2da08f84",class:"gux-pagination-buttons-group"},a("gux-button-slot",{key:"4acc6a849ec328f1ee87d46904e81131fde51ae7",accent:"ghost","icon-only":!0},a("button",{key:"20d2a336f9c6b41806dd408b1ccae46f2ec320be",title:this.i18n("firstPage"),disabled:this.onFirstPage||this.disabled,onClick:this.handleClickFirst.bind(this)},a("gux-icon",{key:"025c7fb0362a36a399d4adbe99c4b5c39b3b0067",size:"small",decorative:!0,"icon-name":"fa/chevrons-left-regular"}))),a("gux-button-slot",{key:"0d132964ff31001ddd3e4f20083ec7ba359b3b65",accent:"ghost","icon-only":!0},a("button",{key:"30217658c71785063f1eeaf91c8b6871671b84c0",title:this.i18n("previousPage"),disabled:this.onFirstPage||this.disabled,onClick:this.handleClickPrevious.bind(this)},a("gux-icon",{key:"63492bebd681d7511522d9364f5544d46d03de96",size:"small",decorative:!0,"icon-name":"custom/chevron-left-small-regular"})))),this.getPageNavigation(),a("div",{key:"1ada7b9ad943d2bbb738f0ebbdddfad4b2920b8d",class:"gux-pagination-buttons-group"},a("gux-button-slot",{key:"3c683c3d73a07f7cbdb4db057512b07f8aa8ff61",accent:"ghost","icon-only":!0},a("button",{key:"4e34b6fe95628a03cc820279ac4702d1f75a0ba5",title:this.i18n("nextPage"),disabled:this.onLastPage||this.disabled,onClick:this.handleClickNext.bind(this)},a("gux-icon",{key:"b8864e980129846584356d13739743378f32e0f3",size:"small",decorative:!0,"icon-name":"custom/chevron-right-small-regular"}))),a("gux-button-slot",{key:"8a7f66ddae73f9ddfa09f90da9cdffefc856729a",accent:"ghost","icon-only":!0},a("button",{key:"f9194a9b13674a987ca2b95f80a2c4e185366792",title:this.i18n("lastPage"),disabled:this.onLastPage||this.disabled,onClick:this.handleClickLast.bind(this)},a("gux-icon",{key:"ee3943f6e5cc0da3d9e8a45db4e050789ec9af63",size:"small",decorative:!0,"icon-name":"fa/chevrons-right-regular"})))))}get root(){return i(this)}};u.style="gux-pagination-buttons .gux-pagination-buttons-container{display:flex;flex-direction:row;flex-wrap:nowrap;gap:var(--gse-ui-dataTableItems-tablePagination-recordsetControls-gap);place-content:stretch flex-end;align-items:center;margin-inline-start:var(--gse-ui-dataTableItems-tablePagination-recordsetControls-gap)}gux-pagination-buttons .gux-pagination-buttons-container>div{flex:0 1 auto;align-self:auto;order:0}gux-pagination-buttons .gux-pagination-buttons-container .gux-pagination-buttons-group{display:flex;flex-direction:row;gap:var(--gse-ui-dataTableItems-tablePagination-recordsetControls-gap);white-space:nowrap}gux-pagination-buttons .gux-pagination-buttons-container .gux-pagination-buttons-list-container{display:flex;flex-shrink:0;flex-direction:row;flex-wrap:nowrap;gap:var(--gse-ui-dataTableItems-tablePagination-recordsetControls-gap);place-content:stretch center;align-items:center}gux-pagination-buttons .gux-pagination-buttons-container .gux-pagination-buttons-list-container .gux-pagination-buttons-list-current{color:var(--gse-ui-button-ghost-active-foregroundColor);background-color:var(--gse-ui-button-ghost-active-backgroundColor);border-radius:var(--gse-ui-button-borderRadius)}";const g={itemCountDisplay:"{firstItem, number} - {lastItem, number}",totalItems:" of {totalItems, number}"},l=class{constructor(e){t(this,e),this.totalItems=0,this.currentPage=0,this.itemsPerPage=25}get firstItem(){return this.totalItems<1?0:(this.currentPage-1)*this.itemsPerPage+1}get lastItem(){return this.totalItems<1?0:Math.min(this.currentPage*this.itemsPerPage,this.totalItems)}async componentWillLoad(){this.i18n=await n(this.root,g)}getPaginationItemCountsRange(){if(this.totalItems)return a("span",null,this.i18n("totalItems",{totalItems:this.totalItems}))}render(){return a("div",{key:"044293b0a682f391853ae27c5e9f9e8ffbd21707",class:"gux-pagination-item-counts-container"},a("span",{key:"b69fddec13c6e23301a27e740fff918a3f22d6d5",class:"gux-pagination-item-counts-range"},this.i18n("itemCountDisplay",{firstItem:this.firstItem,lastItem:this.lastItem})),a("span",{key:"689cc9a803488c967bee5009be885fdfd847c357",class:"gux-pagination-item-counts-total"},this.getPaginationItemCountsRange()))}get root(){return i(this)}};l.style="gux-pagination-item-counts .gux-pagination-item-counts-container{display:flex;flex-direction:row;gap:var(--gse-ui-dataTableItems-tablePagination-countDisplay-gap);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-currentResultText-fontWeight);line-height:var(--gse-ui-dataTableItems-tablePagination-defaultText-lineHeight);color:var(--gse-ui-dataTableItems-tablePagination-foregroundColor);white-space:nowrap}gux-pagination-item-counts .gux-pagination-item-counts-total{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);white-space:nowrap}";export{u as gux_pagination_buttons,l as gux_pagination_item_counts}
@@ -1 +1 @@
1
- import{r as e,h as o,H as r}from"./p-6e010355.js";const a=class{constructor(o){e(this,o)}render(){return o(r,{key:"5601f1b2d378a742ffa1008dd4ff5b80f3a16e92",role:"menu"},o("slot",{key:"1bc149fc20a308903962de2e11631b5a23807db4"}))}};a.style=":host{flex-direction:column;inline-size:fit-content;padding:var(--gse-ui-menu-padding);background-color:var(--gse-ui-flyoutMenu-backgroundColor);border:none;border-radius:var(--gse-ui-menu-borderRadius);box-shadow:var(--gse-ui-menu-boxShadow-offsetX) var(--gse-ui-menu-boxShadow-offsetY) var(--gse-ui-menu-boxShadow-blur) var(--gse-ui-menu-boxShadow-spread) var(--gse-ui-menu-boxShadow-color)}";export{a as gux_menu}
1
+ import{r as e,h as o,H as r}from"./p-6e010355.js";const a=class{constructor(o){e(this,o)}render(){return o(r,{key:"f1845a190e1b54ad6cfd1f371e70b819c1613ecc",role:"menu"},o("slot",{key:"45fa4c2c63ca630d8fd518fa1394948d03e50587"}))}};a.style=":host{flex-direction:column;inline-size:fit-content;padding:var(--gse-ui-menu-padding);background-color:var(--gse-ui-flyoutMenu-backgroundColor);border:none;border-radius:var(--gse-ui-menu-borderRadius);box-shadow:var(--gse-ui-menu-boxShadow-offsetX) var(--gse-ui-menu-boxShadow-offsetY) var(--gse-ui-menu-boxShadow-blur) var(--gse-ui-menu-boxShadow-spread) var(--gse-ui-menu-boxShadow-color)}";export{a as gux_menu}
@@ -1 +1 @@
1
- import{r as a,c as t,d as i,h as e,g as n}from"./p-6e010355.js";import{a as s}from"./p-cf0e7d3b.js";import{t as o}from"./p-364230fd.js";const r=class{constructor(i){a(this,i),this.guxpaginationchange=t(this,"guxpaginationchange",7),this.reinstateLayoutBreakpoint=0,this.layout="advanced",this.currentPage=1,this.totalItems=0,this.itemsPerPage=25,this.disabled=!1,this.totalPages=void 0,this.displayedLayout=void 0}setPage(a){if(a<=0)return void this.setPage(1);const t=this.calculateTotalPages(this.totalItems,this.itemsPerPage);a>t?this.setPage(t):(this.currentPage=a,this.guxpaginationchange.emit({currentPage:this.currentPage,itemsPerPage:this.itemsPerPage}))}handleInternalitemsperpagechange(a){this.itemsPerPage=a.detail,this.setPage(1)}handleInternalcurrentpagechange(a){this.setPage(a.detail)}calculateTotalPages(a,t){return Math.max(1,Math.ceil(a/t))}calculateCurrentPage(a,t){return Math.max(a>0?1:0,Math.min(t,a))}checkPaginationContainerWidthForLayout(){i((()=>{const a=this.root.shadowRoot.querySelector(".gux-pagination-container"),t=this.root.shadowRoot.querySelector(".gux-pagination-spacer"),i=a.clientWidth;t.clientWidth<24&&"simple"!==this.displayedLayout?(this.reinstateLayoutBreakpoint=i,this.displayedLayout="simple"):i>this.reinstateLayoutBreakpoint&&(this.reinstateLayoutBreakpoint=0,this.displayedLayout=this.layout)}))}componentWillLoad(){o(this.root,{variant:this.layout})}componentWillRender(){this.totalPages=this.calculateTotalPages(this.totalItems,this.itemsPerPage),this.currentPage=this.calculateCurrentPage(this.totalPages,this.currentPage)}disconnectedCallback(){this.resizeObserver&&this.resizeObserver.unobserve(this.root.shadowRoot.querySelector(".gux-pagination-container"))}componentDidLoad(){!this.resizeObserver&&window.ResizeObserver&&(this.resizeObserver=new ResizeObserver((()=>this.checkPaginationContainerWidthForLayout()))),this.resizeObserver&&this.resizeObserver.observe(this.root.shadowRoot.querySelector(".gux-pagination-container")),s((()=>{this.checkPaginationContainerWidthForLayout()}),500)}render(){return e("div",{key:"79c47b75477edcb39a51d98b29d83d9c5e06ee1f",class:"gux-pagination-container"},e("div",{key:"f9666c062ab80b17eb79b32cc7fb6c693cf538f6",class:"gux-pagination-info"},e("gux-pagination-item-counts",{key:"3fce8053ae451d66574e58ab6185c9437dc8e655","total-items":this.totalItems,"current-page":this.currentPage,"items-per-page":this.itemsPerPage}),"advanced"===this.displayedLayout&&e("gux-pagination-items-per-page",{key:"b08e55067cd9b13de58e7789e1e0b1b68562df68",disabled:this.disabled,"items-per-page":this.itemsPerPage,onInternalitemsperpagechange:this.handleInternalitemsperpagechange.bind(this)})),e("div",{key:"6597bb0de33af5558e3163972fab3a87833859a2",class:"gux-pagination-spacer"}),e("div",{key:"5caea6763b35c8cf89ce750fb369b92315d1274f",class:"gux-pagination-change"},e("gux-pagination-buttons",{key:"2bd9e8b602a2be355f05880cb912a57ff7f97b35",disabled:this.disabled,layout:this.displayedLayout,"current-page":this.currentPage,"total-pages":this.totalPages,onInternalcurrentpagechange:this.handleInternalcurrentpagechange.bind(this)})))}get root(){return n(this)}};r.style=":host{display:block;block-size:var(--gse-ui-dataTableItems-cell-tablePagination-height);border-block-start:var(--gse-ui-dataTableItems-tablePagination-divider-width) var(--gse-ui-dataTableItems-tablePagination-divider-style) var(--gse-ui-dataTableItems-tablePagination-divider-color)}.gux-pagination-container{display:flex;flex-direction:row;flex-wrap:nowrap;place-content:stretch space-between;align-items:center;padding:var(--gse-ui-dataTableItems-tablePagination-padding);background-color:var(--gse-ui-dataTableItems-tablePagination-defaultBackgroundColor)}.gux-pagination-container .gux-pagination-info{display:flex;flex:0 1 auto;flex-direction:row;flex-wrap:nowrap;gap:var(--gse-ui-dataTableItems-tablePagination-recordsetControls-gap);place-content:stretch flex-start;align-items:center;align-self:auto;order:0}.gux-pagination-container .gux-pagination-info>*{flex:0 1 auto;align-self:auto;order:0}.gux-pagination-container .gux-pagination-spacer{flex:1 1 auto;align-self:auto;order:0}.gux-pagination-container .gux-pagination-change{flex:0 1 auto;align-self:auto;order:0}.gux-pagination-container .gux-pagination-change:first-child{margin-inline-start:0}";export{r as gux_pagination}
1
+ import{r as a,c as t,d as i,h as e,g as n}from"./p-6e010355.js";import{a as s}from"./p-cf0e7d3b.js";import{t as o}from"./p-2b4c94f1.js";const r=class{constructor(i){a(this,i),this.guxpaginationchange=t(this,"guxpaginationchange",7),this.reinstateLayoutBreakpoint=0,this.layout="advanced",this.currentPage=1,this.totalItems=0,this.itemsPerPage=25,this.disabled=!1,this.totalPages=void 0,this.displayedLayout=void 0}setPage(a){if(a<=0)return void this.setPage(1);const t=this.calculateTotalPages(this.totalItems,this.itemsPerPage);a>t?this.setPage(t):(this.currentPage=a,this.guxpaginationchange.emit({currentPage:this.currentPage,itemsPerPage:this.itemsPerPage}))}handleInternalitemsperpagechange(a){this.itemsPerPage=a.detail,this.setPage(1)}handleInternalcurrentpagechange(a){this.setPage(a.detail)}calculateTotalPages(a,t){return Math.max(1,Math.ceil(a/t))}calculateCurrentPage(a,t){return Math.max(a>0?1:0,Math.min(t,a))}checkPaginationContainerWidthForLayout(){i((()=>{const a=this.root.shadowRoot.querySelector(".gux-pagination-container"),t=this.root.shadowRoot.querySelector(".gux-pagination-spacer"),i=a.clientWidth;t.clientWidth<24&&"simple"!==this.displayedLayout?(this.reinstateLayoutBreakpoint=i,this.displayedLayout="simple"):i>this.reinstateLayoutBreakpoint&&(this.reinstateLayoutBreakpoint=0,this.displayedLayout=this.layout)}))}componentWillLoad(){o(this.root,{variant:this.layout})}componentWillRender(){this.totalPages=this.calculateTotalPages(this.totalItems,this.itemsPerPage),this.currentPage=this.calculateCurrentPage(this.totalPages,this.currentPage)}disconnectedCallback(){this.resizeObserver&&this.resizeObserver.unobserve(this.root.shadowRoot.querySelector(".gux-pagination-container"))}componentDidLoad(){!this.resizeObserver&&window.ResizeObserver&&(this.resizeObserver=new ResizeObserver((()=>this.checkPaginationContainerWidthForLayout()))),this.resizeObserver&&this.resizeObserver.observe(this.root.shadowRoot.querySelector(".gux-pagination-container")),s((()=>{this.checkPaginationContainerWidthForLayout()}),500)}render(){return e("div",{key:"361ceaf6693c424bae10aa61798b0acac93c5e42",class:"gux-pagination-container"},e("div",{key:"0d427c60e7010b510490fb0d0a25c3e021ddd6bc",class:"gux-pagination-info"},e("gux-pagination-item-counts",{key:"ce8dec2525b01766163e54176e5d816e9126d360","total-items":this.totalItems,"current-page":this.currentPage,"items-per-page":this.itemsPerPage}),"advanced"===this.displayedLayout&&e("gux-pagination-items-per-page",{key:"cfbb91e75acfd69383540d1c948f029ae590a3a4",disabled:this.disabled,"items-per-page":this.itemsPerPage,onInternalitemsperpagechange:this.handleInternalitemsperpagechange.bind(this)})),e("div",{key:"e67a3e34889a8c7aed71e6fe511d11518edbd14c",class:"gux-pagination-spacer"}),e("div",{key:"d7696ff702f3cc254497891ec5cc2081d87b3a52",class:"gux-pagination-change"},e("gux-pagination-buttons",{key:"3594f78147f8e32531bfb3ba8b1304810c40e4be",disabled:this.disabled,layout:this.displayedLayout,"current-page":this.currentPage,"total-pages":this.totalPages,onInternalcurrentpagechange:this.handleInternalcurrentpagechange.bind(this)})))}get root(){return n(this)}};r.style=":host{display:block;block-size:var(--gse-ui-dataTableItems-cell-tablePagination-height);border-block-start:var(--gse-ui-dataTableItems-tablePagination-divider-width) var(--gse-ui-dataTableItems-tablePagination-divider-style) var(--gse-ui-dataTableItems-tablePagination-divider-color)}.gux-pagination-container{display:flex;flex-direction:row;flex-wrap:nowrap;place-content:stretch space-between;align-items:center;padding:var(--gse-ui-dataTableItems-tablePagination-padding);background-color:var(--gse-ui-dataTableItems-tablePagination-defaultBackgroundColor)}.gux-pagination-container .gux-pagination-info{display:flex;flex:0 1 auto;flex-direction:row;flex-wrap:nowrap;gap:var(--gse-ui-dataTableItems-tablePagination-recordsetControls-gap);place-content:stretch flex-start;align-items:center;align-self:auto;order:0}.gux-pagination-container .gux-pagination-info>*{flex:0 1 auto;align-self:auto;order:0}.gux-pagination-container .gux-pagination-spacer{flex:1 1 auto;align-self:auto;order:0}.gux-pagination-container .gux-pagination-change{flex:0 1 auto;align-self:auto;order:0}.gux-pagination-container .gux-pagination-change:first-child{margin-inline-start:0}";export{r as gux_pagination}
@@ -1 +1 @@
1
- import{r as a,c as t,h as e,g as i}from"./p-6e010355.js";import{t as n}from"./p-364230fd.js";const s=class{constructor(e){a(this,e),this.guxpaginationchange=t(this,"guxpaginationchange",7),this.currentPage=1,this.totalItems=0,this.itemsPerPage=25,this.layout="full",this.totalPages=void 0}setPage(a){if(a<=0)return void this.setPage(1);const t=this.calculateTotalPages();a>t?this.setPage(t):(this.currentPage=a,this.guxpaginationchange.emit({currentPage:this.currentPage,itemsPerPage:this.itemsPerPage}))}calculateTotalPages(){return Math.max(1,Math.ceil(this.totalItems/this.itemsPerPage))}calculateCurrentPage(){return Math.max(this.totalPages>0?1:0,Math.min(this.currentPage,this.totalPages))}handleInternalitemsperpagechange(a){this.itemsPerPage=a.detail,this.setPage(1)}handleInternalcurrentpagechange(a){this.setPage(a.detail)}getPaginationInfoElement(a){if("expanded"===a)return null;const t=[e("gux-pagination-item-counts-legacy",{"total-items":this.totalItems,"current-page":this.currentPage,"items-per-page":this.itemsPerPage})];return"full"===a&&t.push(e("gux-pagination-items-per-page-legacy",{"items-per-page":this.itemsPerPage,onInternalitemsperpagechange:this.handleInternalitemsperpagechange.bind(this)})),e("div",{class:"gux-pagination-info"},t)}componentWillLoad(){n(this.root,{variant:this.layout})}componentWillRender(){this.totalPages=this.calculateTotalPages(),this.currentPage=this.calculateCurrentPage()}render(){return e("div",{key:"8602516dee10463971c9dcd18588e5ae59220461",class:"gux-pagination-container"},this.getPaginationInfoElement(this.layout),e("div",{key:"35b0b2c623b2adfd697d2233e650fd123da83c35",class:"gux-pagination-change"},e("gux-pagination-buttons-legacy",{key:"d0341a4f877d4d8f8d4a5fb460b521ddd78aa906",layout:this.layout,"current-page":this.currentPage,"total-pages":this.totalPages,onInternalcurrentpagechange:this.handleInternalcurrentpagechange.bind(this)})))}get root(){return i(this)}};s.style=":host{display:block;border-top:var(--gse-ui-dataTableItems-tablePagination-divider-width) var(--gse-ui-dataTableItems-tablePagination-divider-style) var(--gse-ui-dataTableItems-tablePagination-divider-color)}.gux-pagination-container{display:flex;flex-direction:row;flex-wrap:nowrap;place-content:stretch space-between;align-items:center;height:var(--gse-ui-dataTableItems-cell-tablePagination-height);padding:var(--gse-ui-dataTableItems-tablePagination-padding);background-color:var(--gse-ui-dataTableItems-tablePagination-defaultBackgroundColor)}.gux-pagination-container .gux-pagination-info{display:flex;flex:1 1 auto;flex-direction:row;flex-wrap:nowrap;gap:var(--gse-ui-dataTableItems-tablePagination-recordsetControls-gap);place-content:stretch flex-start;align-items:center;align-self:auto;order:0}.gux-pagination-container .gux-pagination-info>*{flex:0 1 auto;align-self:auto;order:0}.gux-pagination-container .gux-pagination-change{flex:1 1 auto;align-self:auto;order:0}.gux-pagination-container .gux-pagination-change:first-child{margin-left:0}";export{s as gux_pagination_legacy}
1
+ import{r as a,c as t,h as e,g as i}from"./p-6e010355.js";import{t as n}from"./p-2b4c94f1.js";const s=class{constructor(e){a(this,e),this.guxpaginationchange=t(this,"guxpaginationchange",7),this.currentPage=1,this.totalItems=0,this.itemsPerPage=25,this.layout="full",this.totalPages=void 0}setPage(a){if(a<=0)return void this.setPage(1);const t=this.calculateTotalPages();a>t?this.setPage(t):(this.currentPage=a,this.guxpaginationchange.emit({currentPage:this.currentPage,itemsPerPage:this.itemsPerPage}))}calculateTotalPages(){return Math.max(1,Math.ceil(this.totalItems/this.itemsPerPage))}calculateCurrentPage(){return Math.max(this.totalPages>0?1:0,Math.min(this.currentPage,this.totalPages))}handleInternalitemsperpagechange(a){this.itemsPerPage=a.detail,this.setPage(1)}handleInternalcurrentpagechange(a){this.setPage(a.detail)}getPaginationInfoElement(a){if("expanded"===a)return null;const t=[e("gux-pagination-item-counts-legacy",{"total-items":this.totalItems,"current-page":this.currentPage,"items-per-page":this.itemsPerPage})];return"full"===a&&t.push(e("gux-pagination-items-per-page-legacy",{"items-per-page":this.itemsPerPage,onInternalitemsperpagechange:this.handleInternalitemsperpagechange.bind(this)})),e("div",{class:"gux-pagination-info"},t)}componentWillLoad(){n(this.root,{variant:this.layout})}componentWillRender(){this.totalPages=this.calculateTotalPages(),this.currentPage=this.calculateCurrentPage()}render(){return e("div",{key:"d6c03ef698ab13d8f0dcbf044462aaf24c1e86d4",class:"gux-pagination-container"},this.getPaginationInfoElement(this.layout),e("div",{key:"ba58e1096bb6dcc20f0fe24acb444e2ed936099b",class:"gux-pagination-change"},e("gux-pagination-buttons-legacy",{key:"5c8ba4cb17c85bf335d86b41c51e0753317a0fca",layout:this.layout,"current-page":this.currentPage,"total-pages":this.totalPages,onInternalcurrentpagechange:this.handleInternalcurrentpagechange.bind(this)})))}get root(){return i(this)}};s.style=":host{display:block;border-top:var(--gse-ui-dataTableItems-tablePagination-divider-width) var(--gse-ui-dataTableItems-tablePagination-divider-style) var(--gse-ui-dataTableItems-tablePagination-divider-color)}.gux-pagination-container{display:flex;flex-direction:row;flex-wrap:nowrap;place-content:stretch space-between;align-items:center;height:var(--gse-ui-dataTableItems-cell-tablePagination-height);padding:var(--gse-ui-dataTableItems-tablePagination-padding);background-color:var(--gse-ui-dataTableItems-tablePagination-defaultBackgroundColor)}.gux-pagination-container .gux-pagination-info{display:flex;flex:1 1 auto;flex-direction:row;flex-wrap:nowrap;gap:var(--gse-ui-dataTableItems-tablePagination-recordsetControls-gap);place-content:stretch flex-start;align-items:center;align-self:auto;order:0}.gux-pagination-container .gux-pagination-info>*{flex:0 1 auto;align-self:auto;order:0}.gux-pagination-container .gux-pagination-change{flex:1 1 auto;align-self:auto;order:0}.gux-pagination-container .gux-pagination-change:first-child{margin-left:0}";export{s as gux_pagination_legacy}
@@ -0,0 +1 @@
1
+ import{a as t}from"./p-6e010355.js";import{g as r}from"./p-4202e9f2.js";var n=function(t,r){return n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,r){t.__proto__=r}||function(t,r){for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(t[n]=r[n])},n(t,r)};function e(t,r){if("function"!=typeof r&&null!==r)throw new TypeError("Class extends value "+String(r)+" is not a constructor or null");function e(){this.constructor=t}n(t,r),t.prototype=null===r?Object.create(r):(e.prototype=r.prototype,new e)}var h=function(){return h=Object.assign||function(t){for(var r,n=1,e=arguments.length;n<e;n++)for(var h in r=arguments[n])Object.prototype.hasOwnProperty.call(r,h)&&(t[h]=r[h]);return t},h.apply(this,arguments)};function i(t,r,n){if(n||2===arguments.length)for(var e,h=0,i=r.length;h<i;h++)!e&&h in r||(e||(e=Array.prototype.slice.call(r,0,h)),e[h]=r[h]);return t.concat(e||Array.prototype.slice.call(r))}function s(t,r){return(r&&r.strategy?r.strategy:c)(t,{cache:r&&r.cache?r.cache:v,serializer:r&&r.serializer?r.serializer:f})}function o(t,r,n,e){var h,i=null==(h=e)||"number"==typeof h||"boolean"==typeof h?e:n(e),s=r.get(i);return void 0===s&&(s=t.call(this,e),r.set(i,s)),s}function a(t,r,n){var e=Array.prototype.slice.call(arguments,3),h=n(e),i=r.get(h);return void 0===i&&(i=t.apply(this,e),r.set(h,i)),i}function u(t,r,n,e,h){return n.bind(r,t,e,h)}function c(t,r){return u(t,this,1===t.length?o:a,r.cache.create(),r.serializer)}"function"==typeof SuppressedError&&SuppressedError;var f=function(){return JSON.stringify(arguments)};function l(){this.cache=Object.create(null)}l.prototype.get=function(t){return this.cache[t]},l.prototype.set=function(t,r){this.cache[t]=r};var H,B,b,v={create:function(){return new l}},p={variadic:function(t,r){return u(t,this,a,r.cache.create(),r.serializer)},monadic:function(t,r){return u(t,this,o,r.cache.create(),r.serializer)}};function E(t){return t.type===B.literal}function d(t){return t.type===B.argument}function g(t){return t.type===B.number}function m(t){return t.type===B.date}function y(t){return t.type===B.time}function w(t){return t.type===B.select}function T(t){return t.type===B.plural}function A(t){return t.type===B.pound}function S(t){return t.type===B.tag}function _(t){return!(!t||"object"!=typeof t||t.type!==b.number)}function N(t){return!(!t||"object"!=typeof t||t.type!==b.dateTime)}!function(t){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"}(H||(H={})),function(t){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"}(B||(B={})),function(t){t[t.number=0]="number",t[t.dateTime=1]="dateTime"}(b||(b={}));var I=/[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/,M=/(?:[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 R(t){var r={};return t.replace(M,(function(t){var n=t.length;switch(t[0]){case"G":r.era=4===n?"long":5===n?"narrow":"short";break;case"y":r.year=2===n?"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":r.month=["numeric","2-digit","short","long","narrow"][n-1];break;case"w":case"W":throw new RangeError("`w/W` (week) patterns are not supported");case"d":r.day=["numeric","2-digit"][n-1];break;case"D":case"F":case"g":throw new RangeError("`D/F/g` (day) patterns are not supported, use `d` instead");case"E":r.weekday=4===n?"long":5===n?"narrow":"short";break;case"e":if(n<4)throw new RangeError("`e..eee` (weekday) patterns are not supported");r.weekday=["short","long","narrow","short"][n-4];break;case"c":if(n<4)throw new RangeError("`c..ccc` (weekday) patterns are not supported");r.weekday=["short","long","narrow","short"][n-4];break;case"a":r.hour12=!0;break;case"b":case"B":throw new RangeError("`b/B` (period) patterns are not supported, use `a` instead");case"h":r.hourCycle="h12",r.hour=["numeric","2-digit"][n-1];break;case"H":r.hourCycle="h23",r.hour=["numeric","2-digit"][n-1];break;case"K":r.hourCycle="h11",r.hour=["numeric","2-digit"][n-1];break;case"k":r.hourCycle="h24",r.hour=["numeric","2-digit"][n-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":r.minute=["numeric","2-digit"][n-1];break;case"s":r.second=["numeric","2-digit"][n-1];break;case"S":case"A":throw new RangeError("`S/A` (second) patterns are not supported, use `s` instead");case"z":r.timeZoneName=n<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""})),r}var L=/[\t-\r \x85\u200E\u200F\u2028\u2029]/i,C=/^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g,O=/^(@+)?(\+|#+)?[rs]?$/g,G=/(\*)(0+)|(#+)(0+)|(0+)/g,U=/^(0+)$/;function P(t){var r={};return"r"===t[t.length-1]?r.roundingPriority="morePrecision":"s"===t[t.length-1]&&(r.roundingPriority="lessPrecision"),t.replace(O,(function(t,n,e){return"string"!=typeof e?(r.minimumSignificantDigits=n.length,r.maximumSignificantDigits=n.length):"+"===e?r.minimumSignificantDigits=n.length:"#"===n[0]?r.maximumSignificantDigits=n.length:(r.minimumSignificantDigits=n.length,r.maximumSignificantDigits=n.length+("string"==typeof e?e.length:0)),""})),r}function k(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 D(t){var r;if("E"===t[0]&&"E"===t[1]?(r={notation:"engineering"},t=t.slice(2)):"E"===t[0]&&(r={notation:"scientific"},t=t.slice(1)),r){var n=t.slice(0,2);if("+!"===n?(r.signDisplay="always",t=t.slice(2)):"+?"===n&&(r.signDisplay="exceptZero",t=t.slice(2)),!U.test(t))throw new Error("Malformed concise eng/scientific notation");r.minimumIntegerDigits=t.length}return r}function F(t){return k(t)||{}}function j(t){for(var r={},n=0,e=t;n<e.length;n++){var i=e[n];switch(i.stem){case"percent":case"%":r.style="percent";continue;case"%x100":r.style="percent",r.scale=100;continue;case"currency":r.style="currency",r.currency=i.options[0];continue;case"group-off":case",_":r.useGrouping=!1;continue;case"precision-integer":case".":r.maximumFractionDigits=0;continue;case"measure-unit":case"unit":r.style="unit",r.unit=i.options[0].replace(/^(.*?)-/,"");continue;case"compact-short":case"K":r.notation="compact",r.compactDisplay="short";continue;case"compact-long":case"KK":r.notation="compact",r.compactDisplay="long";continue;case"scientific":r=h(h(h({},r),{notation:"scientific"}),i.options.reduce((function(t,r){return h(h({},t),F(r))}),{}));continue;case"engineering":r=h(h(h({},r),{notation:"engineering"}),i.options.reduce((function(t,r){return h(h({},t),F(r))}),{}));continue;case"notation-simple":r.notation="standard";continue;case"unit-width-narrow":r.currencyDisplay="narrowSymbol",r.unitDisplay="narrow";continue;case"unit-width-short":r.currencyDisplay="code",r.unitDisplay="short";continue;case"unit-width-full-name":r.currencyDisplay="name",r.unitDisplay="long";continue;case"unit-width-iso-code":r.currencyDisplay="symbol";continue;case"scale":r.scale=parseFloat(i.options[0]);continue;case"rounding-mode-floor":r.roundingMode="floor";continue;case"rounding-mode-ceiling":r.roundingMode="ceil";continue;case"rounding-mode-down":r.roundingMode="trunc";continue;case"rounding-mode-up":r.roundingMode="expand";continue;case"rounding-mode-half-even":r.roundingMode="halfEven";continue;case"rounding-mode-half-down":r.roundingMode="halfTrunc";continue;case"rounding-mode-half-up":r.roundingMode="halfExpand";continue;case"integer-width":if(i.options.length>1)throw new RangeError("integer-width stems only accept a single optional option");i.options[0].replace(G,(function(t,n,e,h,i,s){if(n)r.minimumIntegerDigits=e.length;else{if(h&&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(U.test(i.stem))r.minimumIntegerDigits=i.stem.length;else if(C.test(i.stem)){if(i.options.length>1)throw new RangeError("Fraction-precision stems only accept a single optional option");i.stem.replace(C,(function(t,n,e,h,i,s){return"*"===e?r.minimumFractionDigits=n.length:h&&"#"===h[0]?r.maximumFractionDigits=h.length:i&&s?(r.minimumFractionDigits=i.length,r.maximumFractionDigits=i.length+s.length):(r.minimumFractionDigits=n.length,r.maximumFractionDigits=n.length),""}));var s=i.options[0];"w"===s?r=h(h({},r),{trailingZeroDisplay:"stripIfInteger"}):s&&(r=h(h({},r),P(s)))}else if(O.test(i.stem))r=h(h({},r),P(i.stem));else{var o=k(i.stem);o&&(r=h(h({},r),o));var a=D(i.stem);a&&(r=h(h({},r),a))}}return r}var K,V={"001":["H","h"],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","hB","h","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","hB","h","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"],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","hB","h","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"],"es-BO":["H","h","hB","hb"],"es-BR":["H","h","hB","hb"],"es-EC":["H","h","hB","hb"],"es-ES":["H","h","hB","hb"],"es-GQ":["H","h","hB","hb"],"es-PE":["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"],"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 x(t){var r=t.hourCycle;if(void 0===r&&t.hourCycles&&t.hourCycles.length&&(r=t.hourCycles[0]),r)switch(r){case"h24":return"k";case"h23":return"H";case"h12":return"h";case"h11":return"K";default:throw new Error("Invalid hourCycle")}var n,e=t.language;return"root"!==e&&(n=t.maximize().region),(V[n||""]||V[e||""]||V["".concat(e,"-001")]||V["001"])[0]}var Z=new RegExp("^".concat(I.source,"*")),W=new RegExp("".concat(I.source,"*$"));function X(t,r){return{start:t,end:r}}var Y=!!String.prototype.startsWith&&"_a".startsWith("a",1),J=!!String.fromCodePoint,z=!!Object.fromEntries,Q=!!String.prototype.codePointAt,$=!!String.prototype.trimStart,q=!!String.prototype.trimEnd,tt=Number.isSafeInteger?Number.isSafeInteger:function(t){return"number"==typeof t&&isFinite(t)&&Math.floor(t)===t&&Math.abs(t)<=9007199254740991},rt=!0;try{rt="a"===(null===(K=ut("([^\\p{White_Space}\\p{Pattern_Syntax}]*)","yu").exec("a"))||void 0===K?void 0:K[0])}catch(t){rt=!1}var nt,et=Y?function(t,r,n){return t.startsWith(r,n)}:function(t,r,n){return t.slice(n,n+r.length)===r},ht=J?String.fromCodePoint:function(){for(var t=[],r=0;r<arguments.length;r++)t[r]=arguments[r];for(var n,e="",h=t.length,i=0;h>i;){if((n=t[i++])>1114111)throw RangeError(n+" is not a valid code point");e+=n<65536?String.fromCharCode(n):String.fromCharCode(55296+((n-=65536)>>10),n%1024+56320)}return e},it=z?Object.fromEntries:function(t){for(var r={},n=0,e=t;n<e.length;n++){var h=e[n];r[h[0]]=h[1]}return r},st=Q?function(t,r){return t.codePointAt(r)}:function(t,r){var n=t.length;if(!(r<0||r>=n)){var e,h=t.charCodeAt(r);return h<55296||h>56319||r+1===n||(e=t.charCodeAt(r+1))<56320||e>57343?h:e-56320+(h-55296<<10)+65536}},ot=$?function(t){return t.trimStart()}:function(t){return t.replace(Z,"")},at=q?function(t){return t.trimEnd()}:function(t){return t.replace(W,"")};function ut(t,r){return new RegExp(t,r)}if(rt){var ct=ut("([^\\p{White_Space}\\p{Pattern_Syntax}]*)","yu");nt=function(t,r){var n;return ct.lastIndex=r,null!==(n=ct.exec(t)[1])&&void 0!==n?n:""}}else nt=function(t,r){for(var n=[];;){var e=st(t,r);if(void 0===e||Bt(e)||bt(e))break;n.push(e),r+=e>=65536?2:1}return ht.apply(void 0,n)};var ft,lt=function(){function t(t,r){void 0===r&&(r={}),this.message=t,this.position={offset:0,line:1,column:1},this.ignoreTag=!!r.ignoreTag,this.locale=r.locale,this.requiresOtherClause=!!r.requiresOtherClause,this.shouldParseSkeletons=!!r.shouldParseSkeletons}return t.prototype.parse=function(){if(0!==this.offset())throw Error("parser can only be used once");return this.parseMessage(0,"",!1)},t.prototype.parseMessage=function(t,r,n){for(var e=[];!this.isEOF();){var h=this.char();if(123===h){if((i=this.parseArgument(t,n)).err)return i;e.push(i.val)}else{if(125===h&&t>0)break;if(35!==h||"plural"!==r&&"selectordinal"!==r){if(60===h&&!this.ignoreTag&&47===this.peek()){if(n)break;return this.error(H.UNMATCHED_CLOSING_TAG,X(this.clonePosition(),this.clonePosition()))}if(60===h&&!this.ignoreTag&&Ht(this.peek()||0)){if((i=this.parseTag(t,r)).err)return i;e.push(i.val)}else{var i;if((i=this.parseLiteral(t,r)).err)return i;e.push(i.val)}}else{var s=this.clonePosition();this.bump(),e.push({type:B.pound,location:X(s,this.clonePosition())})}}}return{val:e,err:null}},t.prototype.parseTag=function(t,r){var n=this.clonePosition();this.bump();var e=this.parseTagName();if(this.bumpSpace(),this.bumpIf("/>"))return{val:{type:B.literal,value:"<".concat(e,"/>"),location:X(n,this.clonePosition())},err:null};if(this.bumpIf(">")){var h=this.parseMessage(t+1,r,!0);if(h.err)return h;var i=h.val,s=this.clonePosition();if(this.bumpIf("</")){if(this.isEOF()||!Ht(this.char()))return this.error(H.INVALID_TAG,X(s,this.clonePosition()));var o=this.clonePosition();return e!==this.parseTagName()?this.error(H.UNMATCHED_CLOSING_TAG,X(o,this.clonePosition())):(this.bumpSpace(),this.bumpIf(">")?{val:{type:B.tag,value:e,children:i,location:X(n,this.clonePosition())},err:null}:this.error(H.INVALID_TAG,X(s,this.clonePosition())))}return this.error(H.UNCLOSED_TAG,X(n,this.clonePosition()))}return this.error(H.INVALID_TAG,X(n,this.clonePosition()))},t.prototype.parseTagName=function(){var t,r=this.offset();for(this.bump();!this.isEOF()&&(45===(t=this.char())||46===t||t>=48&&t<=57||95===t||t>=97&&t<=122||t>=65&&t<=90||183==t||t>=192&&t<=214||t>=216&&t<=246||t>=248&&t<=893||t>=895&&t<=8191||t>=8204&&t<=8205||t>=8255&&t<=8256||t>=8304&&t<=8591||t>=11264&&t<=12271||t>=12289&&t<=55295||t>=63744&&t<=64975||t>=65008&&t<=65533||t>=65536&&t<=983039);)this.bump();return this.message.slice(r,this.offset())},t.prototype.parseLiteral=function(t,r){for(var n=this.clonePosition(),e="";;){var h=this.tryParseQuote(r);if(h)e+=h;else{var i=this.tryParseUnquoted(t,r);if(i)e+=i;else{var s=this.tryParseLeftAngleBracket();if(!s)break;e+=s}}}var o=X(n,this.clonePosition());return{val:{type:B.literal,value:e,location:o},err:null}},t.prototype.tryParseLeftAngleBracket=function(){return this.isEOF()||60!==this.char()||!this.ignoreTag&&(Ht(t=this.peek()||0)||47===t)?null:(this.bump(),"<");var t},t.prototype.tryParseQuote=function(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();var r=[this.char()];for(this.bump();!this.isEOF();){var n=this.char();if(39===n){if(39!==this.peek()){this.bump();break}r.push(39),this.bump()}else r.push(n);this.bump()}return ht.apply(void 0,r)},t.prototype.tryParseUnquoted=function(t,r){if(this.isEOF())return null;var n=this.char();return 60===n||123===n||35===n&&("plural"===r||"selectordinal"===r)||125===n&&t>0?null:(this.bump(),ht(n))},t.prototype.parseArgument=function(t,r){var n=this.clonePosition();if(this.bump(),this.bumpSpace(),this.isEOF())return this.error(H.EXPECT_ARGUMENT_CLOSING_BRACE,X(n,this.clonePosition()));if(125===this.char())return this.bump(),this.error(H.EMPTY_ARGUMENT,X(n,this.clonePosition()));var e=this.parseIdentifierIfPossible().value;if(!e)return this.error(H.MALFORMED_ARGUMENT,X(n,this.clonePosition()));if(this.bumpSpace(),this.isEOF())return this.error(H.EXPECT_ARGUMENT_CLOSING_BRACE,X(n,this.clonePosition()));switch(this.char()){case 125:return this.bump(),{val:{type:B.argument,value:e,location:X(n,this.clonePosition())},err:null};case 44:return this.bump(),this.bumpSpace(),this.isEOF()?this.error(H.EXPECT_ARGUMENT_CLOSING_BRACE,X(n,this.clonePosition())):this.parseArgumentOptions(t,r,e,n);default:return this.error(H.MALFORMED_ARGUMENT,X(n,this.clonePosition()))}},t.prototype.parseIdentifierIfPossible=function(){var t=this.clonePosition(),r=this.offset(),n=nt(this.message,r);return this.bumpTo(r+n.length),{value:n,location:X(t,this.clonePosition())}},t.prototype.parseArgumentOptions=function(t,r,n,e){var i,s=this.clonePosition(),o=this.parseIdentifierIfPossible().value,a=this.clonePosition();switch(o){case"":return this.error(H.EXPECT_ARGUMENT_TYPE,X(s,a));case"number":case"date":case"time":this.bumpSpace();var u=null;if(this.bumpIf(",")){this.bumpSpace();var c=this.clonePosition();if((m=this.parseSimpleArgStyleIfPossible()).err)return m;if(0===(p=at(m.val)).length)return this.error(H.EXPECT_ARGUMENT_STYLE,X(this.clonePosition(),this.clonePosition()));u={style:p,styleLocation:X(c,this.clonePosition())}}if((y=this.tryParseArgumentClose(e)).err)return y;var f=X(e,this.clonePosition());if(u&&et(null==u?void 0:u.style,"::",0)){var l=ot(u.style.slice(2));if("number"===o)return(m=this.parseNumberSkeletonFromString(l,u.styleLocation)).err?m:{val:{type:B.number,value:n,location:f,style:m.val},err:null};if(0===l.length)return this.error(H.EXPECT_DATE_TIME_SKELETON,f);var v=l;this.locale&&(v=function(t,r){for(var n="",e=0;e<t.length;e++){var h=t.charAt(e);if("j"===h){for(var i=0;e+1<t.length&&t.charAt(e+1)===h;)i++,e++;var s=1+(1&i),o=i<2?1:3+(i>>1),a=x(r);for("H"!=a&&"k"!=a||(o=0);o-- >0;)n+="a";for(;s-- >0;)n=a+n}else n+="J"===h?"H":h}return n}(l,this.locale));var p={type:b.dateTime,pattern:v,location:u.styleLocation,parsedOptions:this.shouldParseSkeletons?R(v):{}};return{val:{type:"date"===o?B.date:B.time,value:n,location:f,style:p},err:null}}return{val:{type:"number"===o?B.number:"date"===o?B.date:B.time,value:n,location:f,style:null!==(i=null==u?void 0:u.style)&&void 0!==i?i:null},err:null};case"plural":case"selectordinal":case"select":var E=this.clonePosition();if(this.bumpSpace(),!this.bumpIf(","))return this.error(H.EXPECT_SELECT_ARGUMENT_OPTIONS,X(E,h({},E)));this.bumpSpace();var d=this.parseIdentifierIfPossible(),g=0;if("select"!==o&&"offset"===d.value){if(!this.bumpIf(":"))return this.error(H.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE,X(this.clonePosition(),this.clonePosition()));var m;if(this.bumpSpace(),(m=this.tryParseDecimalInteger(H.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE,H.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE)).err)return m;this.bumpSpace(),d=this.parseIdentifierIfPossible(),g=m.val}var y,w=this.tryParsePluralOrSelectOptions(t,o,r,d);if(w.err)return w;if((y=this.tryParseArgumentClose(e)).err)return y;var T=X(e,this.clonePosition());return"select"===o?{val:{type:B.select,value:n,options:it(w.val),location:T},err:null}:{val:{type:B.plural,value:n,options:it(w.val),offset:g,pluralType:"plural"===o?"cardinal":"ordinal",location:T},err:null};default:return this.error(H.INVALID_ARGUMENT_TYPE,X(s,a))}},t.prototype.tryParseArgumentClose=function(t){return this.isEOF()||125!==this.char()?this.error(H.EXPECT_ARGUMENT_CLOSING_BRACE,X(t,this.clonePosition())):(this.bump(),{val:!0,err:null})},t.prototype.parseSimpleArgStyleIfPossible=function(){for(var t=0,r=this.clonePosition();!this.isEOF();)switch(this.char()){case 39:this.bump();var n=this.clonePosition();if(!this.bumpUntil("'"))return this.error(H.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE,X(n,this.clonePosition()));this.bump();break;case 123:t+=1,this.bump();break;case 125:if(!(t>0))return{val:this.message.slice(r.offset,this.offset()),err:null};t-=1;break;default:this.bump()}return{val:this.message.slice(r.offset,this.offset()),err:null}},t.prototype.parseNumberSkeletonFromString=function(t,r){var n=[];try{n=function(t){if(0===t.length)throw new Error("Number skeleton cannot be empty");for(var r=[],n=0,e=t.split(L).filter((function(t){return t.length>0}));n<e.length;n++){var h=e[n].split("/");if(0===h.length)throw new Error("Invalid number skeleton");for(var i=h[0],s=h.slice(1),o=0,a=s;o<a.length;o++)if(0===a[o].length)throw new Error("Invalid number skeleton");r.push({stem:i,options:s})}return r}(t)}catch(t){return this.error(H.INVALID_NUMBER_SKELETON,r)}return{val:{type:b.number,tokens:n,location:r,parsedOptions:this.shouldParseSkeletons?j(n):{}},err:null}},t.prototype.tryParsePluralOrSelectOptions=function(t,r,n,e){for(var h,i=!1,s=[],o=new Set,a=e.value,u=e.location;;){if(0===a.length){var c=this.clonePosition();if("select"===r||!this.bumpIf("="))break;var f=this.tryParseDecimalInteger(H.EXPECT_PLURAL_ARGUMENT_SELECTOR,H.INVALID_PLURAL_ARGUMENT_SELECTOR);if(f.err)return f;u=X(c,this.clonePosition()),a=this.message.slice(c.offset,this.offset())}if(o.has(a))return this.error("select"===r?H.DUPLICATE_SELECT_ARGUMENT_SELECTOR:H.DUPLICATE_PLURAL_ARGUMENT_SELECTOR,u);"other"===a&&(i=!0),this.bumpSpace();var l=this.clonePosition();if(!this.bumpIf("{"))return this.error("select"===r?H.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT:H.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT,X(this.clonePosition(),this.clonePosition()));var B=this.parseMessage(t+1,r,n);if(B.err)return B;var b=this.tryParseArgumentClose(l);if(b.err)return b;s.push([a,{value:B.val,location:X(l,this.clonePosition())}]),o.add(a),this.bumpSpace(),a=(h=this.parseIdentifierIfPossible()).value,u=h.location}return 0===s.length?this.error("select"===r?H.EXPECT_SELECT_ARGUMENT_SELECTOR:H.EXPECT_PLURAL_ARGUMENT_SELECTOR,X(this.clonePosition(),this.clonePosition())):this.requiresOtherClause&&!i?this.error(H.MISSING_OTHER_CLAUSE,X(this.clonePosition(),this.clonePosition())):{val:s,err:null}},t.prototype.tryParseDecimalInteger=function(t,r){var n=1,e=this.clonePosition();this.bumpIf("+")||this.bumpIf("-")&&(n=-1);for(var h=!1,i=0;!this.isEOF();){var s=this.char();if(!(s>=48&&s<=57))break;h=!0,i=10*i+(s-48),this.bump()}var o=X(e,this.clonePosition());return h?tt(i*=n)?{val:i,err:null}:this.error(r,o):this.error(t,o)},t.prototype.offset=function(){return this.position.offset},t.prototype.isEOF=function(){return this.offset()===this.message.length},t.prototype.clonePosition=function(){return{offset:this.position.offset,line:this.position.line,column:this.position.column}},t.prototype.char=function(){var t=this.position.offset;if(t>=this.message.length)throw Error("out of bound");var r=st(this.message,t);if(void 0===r)throw Error("Offset ".concat(t," is at invalid UTF-16 code unit boundary"));return r},t.prototype.error=function(t,r){return{val:null,err:{kind:t,message:this.message,location:r}}},t.prototype.bump=function(){if(!this.isEOF()){var 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)}},t.prototype.bumpIf=function(t){if(et(this.message,t,this.offset())){for(var r=0;r<t.length;r++)this.bump();return!0}return!1},t.prototype.bumpUntil=function(t){var r=this.offset(),n=this.message.indexOf(t,r);return n>=0?(this.bumpTo(n),!0):(this.bumpTo(this.message.length),!1)},t.prototype.bumpTo=function(t){if(this.offset()>t)throw Error("targetOffset ".concat(t," must be greater than or equal to the current offset ").concat(this.offset()));for(t=Math.min(t,this.message.length);;){var r=this.offset();if(r===t)break;if(r>t)throw Error("targetOffset ".concat(t," is at invalid UTF-16 code unit boundary"));if(this.bump(),this.isEOF())break}},t.prototype.bumpSpace=function(){for(;!this.isEOF()&&Bt(this.char());)this.bump()},t.prototype.peek=function(){if(this.isEOF())return null;var t=this.char(),r=this.offset(),n=this.message.charCodeAt(r+(t>=65536?2:1));return null!=n?n:null},t}();function Ht(t){return t>=97&&t<=122||t>=65&&t<=90}function Bt(t){return t>=9&&t<=13||32===t||133===t||t>=8206&&t<=8207||8232===t||8233===t}function bt(t){return t>=33&&t<=35||36===t||t>=37&&t<=39||40===t||41===t||42===t||43===t||44===t||45===t||t>=46&&t<=47||t>=58&&t<=59||t>=60&&t<=62||t>=63&&t<=64||91===t||92===t||93===t||94===t||96===t||123===t||124===t||125===t||126===t||161===t||t>=162&&t<=165||166===t||167===t||169===t||171===t||172===t||174===t||176===t||177===t||182===t||187===t||191===t||215===t||247===t||t>=8208&&t<=8213||t>=8214&&t<=8215||8216===t||8217===t||8218===t||t>=8219&&t<=8220||8221===t||8222===t||8223===t||t>=8224&&t<=8231||t>=8240&&t<=8248||8249===t||8250===t||t>=8251&&t<=8254||t>=8257&&t<=8259||8260===t||8261===t||8262===t||t>=8263&&t<=8273||8274===t||8275===t||t>=8277&&t<=8286||t>=8592&&t<=8596||t>=8597&&t<=8601||t>=8602&&t<=8603||t>=8604&&t<=8607||8608===t||t>=8609&&t<=8610||8611===t||t>=8612&&t<=8613||8614===t||t>=8615&&t<=8621||8622===t||t>=8623&&t<=8653||t>=8654&&t<=8655||t>=8656&&t<=8657||8658===t||8659===t||8660===t||t>=8661&&t<=8691||t>=8692&&t<=8959||t>=8960&&t<=8967||8968===t||8969===t||8970===t||8971===t||t>=8972&&t<=8991||t>=8992&&t<=8993||t>=8994&&t<=9e3||9001===t||9002===t||t>=9003&&t<=9083||9084===t||t>=9085&&t<=9114||t>=9115&&t<=9139||t>=9140&&t<=9179||t>=9180&&t<=9185||t>=9186&&t<=9254||t>=9255&&t<=9279||t>=9280&&t<=9290||t>=9291&&t<=9311||t>=9472&&t<=9654||9655===t||t>=9656&&t<=9664||9665===t||t>=9666&&t<=9719||t>=9720&&t<=9727||t>=9728&&t<=9838||9839===t||t>=9840&&t<=10087||10088===t||10089===t||10090===t||10091===t||10092===t||10093===t||10094===t||10095===t||10096===t||10097===t||10098===t||10099===t||10100===t||10101===t||t>=10132&&t<=10175||t>=10176&&t<=10180||10181===t||10182===t||t>=10183&&t<=10213||10214===t||10215===t||10216===t||10217===t||10218===t||10219===t||10220===t||10221===t||10222===t||10223===t||t>=10224&&t<=10239||t>=10240&&t<=10495||t>=10496&&t<=10626||10627===t||10628===t||10629===t||10630===t||10631===t||10632===t||10633===t||10634===t||10635===t||10636===t||10637===t||10638===t||10639===t||10640===t||10641===t||10642===t||10643===t||10644===t||10645===t||10646===t||10647===t||10648===t||t>=10649&&t<=10711||10712===t||10713===t||10714===t||10715===t||t>=10716&&t<=10747||10748===t||10749===t||t>=10750&&t<=11007||t>=11008&&t<=11055||t>=11056&&t<=11076||t>=11077&&t<=11078||t>=11079&&t<=11084||t>=11085&&t<=11123||t>=11124&&t<=11125||t>=11126&&t<=11157||11158===t||t>=11159&&t<=11263||t>=11776&&t<=11777||11778===t||11779===t||11780===t||11781===t||t>=11782&&t<=11784||11785===t||11786===t||11787===t||11788===t||11789===t||t>=11790&&t<=11798||11799===t||t>=11800&&t<=11801||11802===t||11803===t||11804===t||11805===t||t>=11806&&t<=11807||11808===t||11809===t||11810===t||11811===t||11812===t||11813===t||11814===t||11815===t||11816===t||11817===t||t>=11818&&t<=11822||11823===t||t>=11824&&t<=11833||t>=11834&&t<=11835||t>=11836&&t<=11839||11840===t||11841===t||11842===t||t>=11843&&t<=11855||t>=11856&&t<=11857||11858===t||t>=11859&&t<=11903||t>=12289&&t<=12291||12296===t||12297===t||12298===t||12299===t||12300===t||12301===t||12302===t||12303===t||12304===t||12305===t||t>=12306&&t<=12307||12308===t||12309===t||12310===t||12311===t||12312===t||12313===t||12314===t||12315===t||12316===t||12317===t||t>=12318&&t<=12319||12320===t||12336===t||64830===t||64831===t||t>=65093&&t<=65094}function vt(t){t.forEach((function(t){if(delete t.location,w(t)||T(t))for(var r in t.options)delete t.options[r].location,vt(t.options[r].value);else g(t)&&_(t.style)||(m(t)||y(t))&&N(t.style)?delete t.style.location:S(t)&&vt(t.children)}))}function pt(t,r){void 0===r&&(r={}),r=h({shouldParseSkeletons:!0,requiresOtherClause:!0},r);var n=new lt(t,r).parse();if(n.err){var e=SyntaxError(H[n.err.kind]);throw e.location=n.err.location,e.originalMessage=n.err.message,e}return(null==r?void 0:r.captureLocation)||vt(n.val),n.val}!function(t){t.MISSING_VALUE="MISSING_VALUE",t.INVALID_VALUE="INVALID_VALUE",t.MISSING_INTL_API="MISSING_INTL_API"}(ft||(ft={}));var Et,dt=function(t){function r(r,n,e){var h=t.call(this,r)||this;return h.code=n,h.originalMessage=e,h}return e(r,t),r.prototype.toString=function(){return"[formatjs Error: ".concat(this.code,"] ").concat(this.message)},r}(Error),gt=function(t){function r(r,n,e,h){return t.call(this,'Invalid values for "'.concat(r,'": "').concat(n,'". Options are "').concat(Object.keys(e).join('", "'),'"'),ft.INVALID_VALUE,h)||this}return e(r,t),r}(dt),mt=function(t){function r(r,n,e){return t.call(this,'Value for "'.concat(r,'" must be of type ').concat(n),ft.INVALID_VALUE,e)||this}return e(r,t),r}(dt),yt=function(t){function r(r,n){return t.call(this,'The intl string context variable "'.concat(r,'" was not provided to the string "').concat(n,'"'),ft.MISSING_VALUE,n)||this}return e(r,t),r}(dt);function wt(t){return"function"==typeof t}function Tt(t,r,n,e,h,i,s){if(1===t.length&&E(t[0]))return[{type:Et.literal,value:t[0].value}];for(var o=[],a=0,u=t;a<u.length;a++){var c=u[a];if(E(c))o.push({type:Et.literal,value:c.value});else if(A(c))"number"==typeof i&&o.push({type:Et.literal,value:n.getNumberFormat(r).format(i)});else{var f=c.value;if(!h||!(f in h))throw new yt(f,s);var l=h[f];if(d(c))l&&"string"!=typeof l&&"number"!=typeof l||(l="string"==typeof l||"number"==typeof l?String(l):""),o.push({type:"string"==typeof l?Et.literal:Et.object,value:l});else if(m(c)){var H="string"==typeof c.style?e.date[c.style]:N(c.style)?c.style.parsedOptions:void 0;o.push({type:Et.literal,value:n.getDateTimeFormat(r,H).format(l)})}else if(y(c))H="string"==typeof c.style?e.time[c.style]:N(c.style)?c.style.parsedOptions:e.time.medium,o.push({type:Et.literal,value:n.getDateTimeFormat(r,H).format(l)});else if(g(c))(H="string"==typeof c.style?e.number[c.style]:_(c.style)?c.style.parsedOptions:void 0)&&H.scale&&(l*=H.scale||1),o.push({type:Et.literal,value:n.getNumberFormat(r,H).format(l)});else{if(S(c)){var B=c.children,b=c.value,v=h[b];if(!wt(v))throw new mt(b,"function",s);var p=v(Tt(B,r,n,e,h,i).map((function(t){return t.value})));Array.isArray(p)||(p=[p]),o.push.apply(o,p.map((function(t){return{type:"string"==typeof t?Et.literal:Et.object,value:t}})))}if(w(c)){if(!(I=c.options[l]||c.options.other))throw new gt(c.value,l,Object.keys(c.options),s);o.push.apply(o,Tt(I.value,r,n,e,h))}else if(T(c)){var I;if(!(I=c.options["=".concat(l)])){if(!Intl.PluralRules)throw new dt('Intl.PluralRules is not available in this environment.\nTry polyfilling it using "@formatjs/intl-pluralrules"\n',ft.MISSING_INTL_API,s);var M=n.getPluralRules(r,{type:c.pluralType}).select(l-(c.offset||0));I=c.options[M]||c.options.other}if(!I)throw new gt(c.value,l,Object.keys(c.options),s);o.push.apply(o,Tt(I.value,r,n,e,h,l-(c.offset||0)))}}}}return(R=o).length<2?R:R.reduce((function(t,r){var n=t[t.length-1];return n&&n.type===Et.literal&&r.type===Et.literal?n.value+=r.value:t.push(r),t}),[]);var R}function At(t){return{create:function(){return{get:function(r){return t[r]},set:function(r,n){t[r]=n}}}}}!function(t){t[t.literal=0]="literal",t[t.object=1]="object"}(Et||(Et={}));var St=function(){function t(r,n,e,o){void 0===n&&(n=t.defaultLocale);var a,u,c,f=this;if(this.formatterCache={number:{},dateTime:{},pluralRules:{}},this.format=function(t){var r=f.formatToParts(t);if(1===r.length)return r[0].value;var n=r.reduce((function(t,r){return t.length&&r.type===Et.literal&&"string"==typeof t[t.length-1]?t[t.length-1]+=r.value:t.push(r.value),t}),[]);return n.length<=1?n[0]||"":n},this.formatToParts=function(t){return Tt(f.ast,f.locales,f.formatters,f.formats,t,void 0,f.message)},this.resolvedOptions=function(){var t;return{locale:(null===(t=f.resolvedLocale)||void 0===t?void 0:t.toString())||Intl.NumberFormat.supportedLocalesOf(f.locales)[0]}},this.getAst=function(){return f.ast},this.locales=n,this.resolvedLocale=t.resolveLocale(n),"string"==typeof r){if(this.message=r,!t.__parse)throw new TypeError("IntlMessageFormat.__parse must be set to process `message` of type `string`");var l=function(t,r){var n={};for(var e in t)Object.prototype.hasOwnProperty.call(t,e)&&r.indexOf(e)<0&&(n[e]=t[e]);if(null!=t&&"function"==typeof Object.getOwnPropertySymbols){var h=0;for(e=Object.getOwnPropertySymbols(t);h<e.length;h++)r.indexOf(e[h])<0&&Object.prototype.propertyIsEnumerable.call(t,e[h])&&(n[e[h]]=t[e[h]])}return n}(o||{},["formatters"]);this.ast=t.__parse(r,h(h({},l),{locale:this.resolvedLocale}))}else this.ast=r;if(!Array.isArray(this.ast))throw new TypeError("A message must be provided as a String or AST.");this.formats=(u=t.formats,(c=e)?Object.keys(u).reduce((function(t,r){var n,e;return t[r]=(n=u[r],(e=c[r])?h(h(h({},n||{}),e||{}),Object.keys(n).reduce((function(t,r){return t[r]=h(h({},n[r]),e[r]||{}),t}),{})):n),t}),h({},u)):u),this.formatters=o&&o.formatters||(void 0===(a=this.formatterCache)&&(a={number:{},dateTime:{},pluralRules:{}}),{getNumberFormat:s((function(){for(var t,r=[],n=0;n<arguments.length;n++)r[n]=arguments[n];return new((t=Intl.NumberFormat).bind.apply(t,i([void 0],r,!1)))}),{cache:At(a.number),strategy:p.variadic}),getDateTimeFormat:s((function(){for(var t,r=[],n=0;n<arguments.length;n++)r[n]=arguments[n];return new((t=Intl.DateTimeFormat).bind.apply(t,i([void 0],r,!1)))}),{cache:At(a.dateTime),strategy:p.variadic}),getPluralRules:s((function(){for(var t,r=[],n=0;n<arguments.length;n++)r[n]=arguments[n];return new((t=Intl.PluralRules).bind.apply(t,i([void 0],r,!1)))}),{cache:At(a.pluralRules),strategy:p.variadic})})}return Object.defineProperty(t,"defaultLocale",{get:function(){return t.memoizedDefaultLocale||(t.memoizedDefaultLocale=(new Intl.NumberFormat).resolvedOptions().locale),t.memoizedDefaultLocale},enumerable:!1,configurable:!0}),t.memoizedDefaultLocale=null,t.resolveLocale=function(t){if(void 0!==Intl.Locale){var r=Intl.NumberFormat.supportedLocalesOf(t);return r.length>0?new Intl.Locale(r[0]):new Intl.Locale("string"==typeof t?t:t[0])}},t.__parse=pt,t.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"}}},t}();const _t=St,Nt={},It=["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"],Mt={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},Rt="en";async function Lt(r,n,e){let h=n,i="en";void 0!==r&&(i=Ct(r),h=await async function(r,n,e,h){const i=h||r.tagName.toLocaleLowerCase().replace(/-beta$/,"");let s;if(r["i18n-resources"])s=r["i18n-resources"];else if(e!==Rt)try{s=await(async(r,n)=>{if(!Nt[n]){const r=((r="en")=>t(`i18n/genesys-webcomponents.i18n.${r}.json`))(n),e=await fetch(r),h=await e.json();Nt[n]=h}return Nt[n][r]})(i,e)}catch(t){s=null}return s||(s=n),s}(r,n,i,e));const s=Object.entries(h).reduce(((t,[r,n])=>(t.set(r,new _t(n,i)),t)),new Map),o=Object.entries(n).reduce(((t,[r,n])=>(t.set(r,new _t(n,Rt)),t)),new Map);return(t,r)=>{var n,e;let h=null===(n=s.get(t))||void 0===n?void 0:n.format(r);return h||(h=null===(e=o.get(t))||void 0===e?void 0:e.format(r),console.warn(`No localized string available for "${t}-${h}" for "${i}" locale. Falling back to English translation.`)),h}}function Ct(t){const n=function(t){const n=r("[lang]",t);return n&&n.lang?n.lang.toLowerCase():Rt}(t),e=n.split(/[_-]/)[0];return It.indexOf(n)>=0?n:It.indexOf(e)>=0?e:Rt}function Ot(t=Rt){return Mt[t]?Mt[t]:Mt[Rt]}export{Ot as a,Lt as b,Ct as g,It as l}
@@ -1 +1 @@
1
- import{r as e,c as t,h as a,H as i,g as o}from"./p-6e010355.js";import{t as s}from"./p-364230fd.js";const n=class{constructor(a){e(this,a),this.guxdismiss=t(this,"guxdismiss",7),this.accent="neutral"}componentWillLoad(){s(this.root,{variant:this.accent})}render(){return a(i,{key:"f297c56319dfc9f4895fdf5a1b08b4065c721db5"},a("div",{key:"40c8c0f65cb3bfd8f5c916e75702f74f74abedec",class:`gux-icon gux-${this.accent}`},a("slot",{key:"46134600bb228490827cfecc90dfbcefb86e33eb",name:"icon"})),a("div",{key:"a2deeaf2e36d6fd5e5971ff3ef46e9ae285d90a0",class:"gux-content"},a("gux-truncate",{key:"89317a1a0b8b9f86f5868c0531c98db64c28d0eb",class:"gux-title","max-lines":1},a("slot",{key:"3d4e934f981ffbf8a75ece185586a64e1000da6d",name:"title"})),a("gux-truncate",{key:"088e5d0ea116c418cdaae85335d0511d3b3971b1",class:"gux-message","max-lines":2},a("slot",{key:"9d01e51a12423b8bb0b155aaf9093377b49283e1",name:"message"}))),a("gux-dismiss-button",{key:"5e2eeffd5093411d30ffc5d704fc12a3145ef979",onClick:this.onDismissClickHandler.bind(this)}))}onDismissClickHandler(e){e.stopPropagation(),this.guxdismiss.emit().defaultPrevented||this.root.remove()}get root(){return o(this)}};n.style=":host{position:relative;display:flex;flex-direction:row;flex-wrap:nowrap;place-content:stretch flex-start;align-items:flex-start;width:294px;padding:16px 8px 16px 16px;margin-bottom:4px;color:#2e394c;background:#f6f7f9;border:1px solid #b4bccb;border-color:#b4bccb;border-radius:4px;box-shadow:0 2px 4px rgba(32, 41, 55, 0.24)}.gux-icon{flex:0 1 auto;align-self:auto;order:0;margin:4px}.gux-icon ::slotted(gux-icon){width:24px !important;height:24px !important}.gux-icon.gux-alert{color:#ea0b0b}.gux-icon.gux-warning{color:#ffae00}.gux-icon.gux-positive{color:#3c8527}.gux-icon.gux-neutral{color:#203b73}.gux-content{display:flex;flex:1 1 auto;flex-direction:column;flex-wrap:nowrap;place-content:stretch flex-start;align-items:flex-start;align-self:auto;order:0;margin:0 12px 0 8px;color:#2e394c}.gux-content .gux-title,.gux-content .gux-message{flex:1 1 auto;align-self:auto;order:0}.gux-content .gux-title{font-family:var(--gse-semantic-heading-sm-bold-fontFamily), var(--gse-semantic-theme-fontFamily-headings), sans-serif;font-size:var(--gse-semantic-heading-sm-bold-fontSize);line-height:var(--gse-semantic-heading-sm-bold-lineHeight);font-weight:var(--gse-semantic-heading-sm-bold-fontWeight)}";export{n as gux_notification_toast_legacy}
1
+ import{r as e,c as t,h as a,H as i,g as o}from"./p-6e010355.js";import{t as s}from"./p-2b4c94f1.js";const c=class{constructor(a){e(this,a),this.guxdismiss=t(this,"guxdismiss",7),this.accent="neutral"}componentWillLoad(){s(this.root,{variant:this.accent})}render(){return a(i,{key:"31d0c5d681802c64a1e749b9cc949295d68afd51"},a("div",{key:"389db0e03b54d217b56bdc4cd3a48958d426b835",class:`gux-icon gux-${this.accent}`},a("slot",{key:"145296993a81312a71ca52cea0c3147c57bcc8fa",name:"icon"})),a("div",{key:"fc891d72f38af203b80e58203fcf64fab30b6ee0",class:"gux-content"},a("gux-truncate",{key:"ccdfb33c8b032c1677145c549776cedd2ca893a8",class:"gux-title","max-lines":1},a("slot",{key:"a0348791c2dca5229c3f3ea4e24bd1e4ebca4638",name:"title"})),a("gux-truncate",{key:"04ae61deae7908e60c509ee0b4e338666a9e9230",class:"gux-message","max-lines":2},a("slot",{key:"89656871688dbf65aec6d9099630e44fa8c123dd",name:"message"}))),a("gux-dismiss-button",{key:"3ee8b89c9f091f33454d18880c0a3006e4e94dce",onClick:this.onDismissClickHandler.bind(this)}))}onDismissClickHandler(e){e.stopPropagation(),this.guxdismiss.emit().defaultPrevented||this.root.remove()}get root(){return o(this)}};c.style=":host{position:relative;display:flex;flex-direction:row;flex-wrap:nowrap;place-content:stretch flex-start;align-items:flex-start;width:294px;padding:16px 8px 16px 16px;margin-bottom:4px;color:#2e394c;background:#f6f7f9;border:1px solid #b4bccb;border-color:#b4bccb;border-radius:4px;box-shadow:0 2px 4px rgba(32, 41, 55, 0.24)}.gux-icon{flex:0 1 auto;align-self:auto;order:0;margin:4px}.gux-icon ::slotted(gux-icon){width:24px !important;height:24px !important}.gux-icon.gux-alert{color:#ea0b0b}.gux-icon.gux-warning{color:#ffae00}.gux-icon.gux-positive{color:#3c8527}.gux-icon.gux-neutral{color:#203b73}.gux-content{display:flex;flex:1 1 auto;flex-direction:column;flex-wrap:nowrap;place-content:stretch flex-start;align-items:flex-start;align-self:auto;order:0;margin:0 12px 0 8px;color:#2e394c}.gux-content .gux-title,.gux-content .gux-message{flex:1 1 auto;align-self:auto;order:0}.gux-content .gux-title{font-family:var(--gse-semantic-heading-sm-bold-fontFamily), var(--gse-semantic-theme-fontFamily-headings), sans-serif;font-size:var(--gse-semantic-heading-sm-bold-fontSize);line-height:var(--gse-semantic-heading-sm-bold-lineHeight);font-weight:var(--gse-semantic-heading-sm-bold-fontWeight)}";export{c as gux_notification_toast_legacy}
@@ -1 +1 @@
1
- import{r as e,f as t,h as o,g as i}from"./p-6e010355.js";import{c as r,o as n}from"./p-f4751a15.js";import{O as l}from"./p-e720c07a.js";import{o as s}from"./p-e5b1cffc.js";import{p as a}from"./p-a11d5d42.js";import{h as u}from"./p-6d8b4027.js";import{a as f,G as d}from"./p-b8c3ecdc.js";import{G as p,a as h}from"./p-7e76ac06.js";import{h as g,b as c,c as m,g as x,v as b,a as v}from"./p-42f2e889.js";import{t as C}from"./p-364230fd.js";import{f as y}from"./p-54822e3b.js";import"./p-0934300e.js";import"./p-8eaf8caf.js";import"./p-2c25e2f2.js";const k=class{constructor(t){e(this,t),this.clearable=void 0,this.labelPosition=void 0,this.loading=!1,this.indicatorMark="required",this.hasPrefix=void 0,this.hasSuffix=void 0,this.computedLabelPosition="above",this.disabled=void 0,this.required=void 0,this.hasContent=!1,this.hasError=!1,this.hasHelp=!1}onMutation(){this.labelInfo=this.root.querySelector("[slot=label-info]"),this.hasError=u(this.root,"error"),this.hasHelp=u(this.root,"help")}handleKeyup(e){var t,o;"Tab"===e.key?this.input.matches(":focus-visible")&&(null===(t=this.labelInfo)||void 0===t||t.showTooltip(),this.hideLabelInfoTimeout=setTimeout((()=>{var e;null===(e=this.labelInfo)||void 0===e||e.hideTooltip()}),6e3)):this.input.matches(":focus-visible")&&(null===(o=this.labelInfo)||void 0===o||o.hideTooltip(),clearTimeout(this.hideLabelInfoTimeout))}onFocusout(){var e;null===(e=this.labelInfo)||void 0===e||e.hideTooltip(),clearTimeout(this.hideLabelInfoTimeout)}async guxForceUpdate(){this.hasContent=g(this.input),this.hasError=u(this.root,"error"),this.hasHelp=u(this.root,"help"),t(this.root)}renderRadialLoading(){if(this.loading)return o("gux-radial-loading",{context:"input"})}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"),this.hasPrefix=Boolean(this.root.querySelector('[slot="prefix"]')),this.hasSuffix=Boolean(this.root.querySelector('[slot="suffix"]')),this.hasPrefix&&c(this.root,this.input,"prefix"),this.hasSuffix&&c(this.root,this.input,"suffix"),C(this.root,{variant:this.variant})}disconnectedCallback(){this.disabledObserver&&this.disabledObserver.disconnect(),this.requiredObserver&&this.requiredObserver.disconnect()}render(){return o(h,{key:"a17ad83e0eeed1763ffab9e134d3e1e75bcdbbce",labelPosition:this.computedLabelPosition},o(p,{key:"d1fba6ee751d62b92c02cf78afd2b1bae95ae1a7",required:this.required,position:this.computedLabelPosition},o("slot",{key:"c9527a88f7c03968667e3d38ba90db9f937a8045",name:"label",onSlotchange:()=>this.setLabel()}),o("gux-form-field-label-indicator",{key:"c718be1417371a21611463fb9c2e917d3eed9a51",variant:this.indicatorMark,required:this.required}),o("slot",{key:"03a4284732b09805195499f9dcae12817fdef15b",name:"label-info"})),o("div",{key:"de7b7423b50f7617e9ea4383b2fce94f673a83b4",class:"gux-input-and-error-container"},o("div",{key:"9046f75a00e1fcd235887aea65aa6bb17ebbcde5",class:{"gux-input":!0,"gux-input-error":this.hasError}},o("div",{key:"d670db234a4c2dd32c07f75c63be7dd65c938600",class:{"gux-input-container":!0,"gux-disabled":this.disabled,"gux-has-prefix":this.hasPrefix,"gux-has-suffix":this.hasSuffix},onClick:()=>y(this.input)},o("slot",{key:"554497e8dd31ce8fbc9f79f30834e0b8139948bb",name:"prefix"}),o("slot",{key:"e206680f5d0a492e39e82d0543d093f8651c88d2",name:"input"}),this.renderRadialLoading(),o("slot",{key:"0ca00b2011c98147c92af40ab2681d50a9706b96",name:"suffix"}),this.clearable&&this.hasContent&&!this.disabled&&o("gux-form-field-input-clear-button",{key:"c05015420e0345b526b19dcf6238aa554cf398e9",onClick:()=>m(this.input)}))),o(f,{key:"544d850e90788504a69525b2d620c880437c0f62",show:this.hasError},o("slot",{key:"de3651ab7deea14e18f115b5e8f1614af124ac2c",name:"error"})),o(d,{key:"8949600a85dabae56accb74829c74f05e56972aa",show:!this.hasError&&this.hasHelp},o("slot",{key:"b0314622491a9219baa2b1f6c265ef6edb4faafd",name:"help"}))))}get variant(){const e=this.labelPosition?this.labelPosition.toLowerCase():"none";return`${this.input.getAttribute("type")}-${this.clearable?"clearable":"unclearable"}-${e}`}setInput(){this.input=x(this.root,'input[type="email"][slot="input"], input[type="number"][slot="input"], input[type="password"][slot="input"], input[type="text"][slot="input"]'),this.hasContent=g(this.input),a(this.input),this.input.addEventListener("input",(()=>{this.hasContent=g(this.input)})),this.disabled=r(this.input),this.required=this.input.required,this.disabledObserver=n(this.input,(e=>{this.disabled=e})),this.requiredObserver=s(this.input,(e=>{this.required=e})),b(this.root,this.input)}setLabel(){this.label=this.root.querySelector('label[slot="label"]'),this.computedLabelPosition=v(this.label,this.labelPosition)}get root(){return i(this)}};(function(e,t,o,i){var r,n=arguments.length,l=n<3?t:null===i?i=Object.getOwnPropertyDescriptor(t,o):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)l=Reflect.decorate(e,t,o,i);else for(var s=e.length-1;s>=0;s--)(r=e[s])&&(l=(n<3?r(l):n>3?r(t,o,l):r(t,o))||l);n>3&&l&&Object.defineProperty(t,o,l)})([l({childList:!0,subtree:!0})],k.prototype,"onMutation",null),k.style=".gux-form-field-container.gux-beside{display:flex;flex-direction:row}.gux-form-field-error{display:none;flex-direction:row;flex-wrap:nowrap;gap:var(--gse-ui-formControl-helper-gap);place-content:stretch flex-start;align-items:center;padding:var(--gse-ui-formControl-helper-errorPadding);font-family:var(--gse-ui-formControl-helper-helperText-fontFamily);font-size:var(--gse-ui-formControl-helper-helperText-fontSize);line-height:var(--gse-ui-formControl-helper-helperText-lineHeight);color:var(--gse-ui-formControl-helper-errorColor)}.gux-form-field-error.gux-show{display:flex}.gux-form-field-error gux-icon{flex:0 1 auto;order:0;min-inline-size:var(--gse-ui-icon-small-size);min-block-size:var(--gse-ui-icon-small-size);color:var(--gse-ui-formControl-helper-errorColor)}.gux-form-field-error .gux-message{flex:0 1 auto;align-self:auto;order:0}.gux-form-field-label{display:inline-flex;flex:1 0 auto}.gux-form-field-label ::slotted(gux-label-info-beta){padding-inline-start:var(--gse-ui-formControl-formField-gap)}.gux-form-field-label.gux-beside{position:relative;inset-block-start:var(--gse-ui-formControl-input-top);inline-size:fit-content;min-inline-size:var(--gse-ui-formControl-input-textfield-minWidth);max-inline-size:fit-content;margin-inline-end:var(--gse-ui-formControl-group-gapItems)}.gux-form-field-label.gux-above{padding-block-end:var(--gse-ui-formControl-formField-gap)}.gux-form-field-label.gux-screenreader{position:absolute;top:auto;left:-10000px;width:1px;height:1px;overflow:hidden}.gux-form-field-help{display:none;flex-direction:row;flex-wrap:nowrap;place-content:stretch flex-start;align-items:flex-start;justify-content:flex-start;padding-block-start:var(--gse-ui-formControl-formField-gap);font-family:var(--gse-ui-formControl-helper-helperText-fontFamily);font-size:var(--gse-ui-formControl-helper-helperText-fontSize);line-height:var(--gse-ui-formControl-helper-helperText-lineHeight);color:var(--gse-ui-formControl-helper-defaultColor)}.gux-form-field-help.gux-show{display:flex}.gux-form-field-help .gux-message{flex:0 1 auto;align-self:none;order:0}:host{display:block}::slotted(label){font-family:var(--gse-ui-formControl-label-textBold-fontFamily);font-size:var(--gse-ui-formControl-label-textBold-fontSize);font-weight:var(--gse-ui-formControl-label-textBold-fontWeight);line-height:var(--gse-ui-formControl-label-textBold-lineHeight);color:var(--gse-ui-formControl-label-labelColor)}::slotted(input){flex:1 1 auto;align-self:auto;order:0;inline-size:100%;overflow:hidden;font-size:var(--gse-ui-formControl-input-contentText-fontSize);text-overflow:ellipsis;background-color:var(--gse-ui-formControl-input-backgroundColor);border:none;outline:none}::slotted(input)::placeholder{color:var(--gse-ui-formControl-input-placeholderColor);opacity:1}slot[name=prefix],slot[name=suffix]{font-family:var(--gse-ui-formControl-input-prefixSufix-text-fontFamily);font-size:var(--gse-ui-formControl-input-prefixSufix-text-fontSize);line-height:var(--gse-ui-formControl-input-prefixSufix-text-lineHeight);color:var(--gse-ui-formControl-input-prefixSufix-defaultColor);text-align:center;text-decoration:none;white-space:nowrap}.gux-input-and-error-container{flex-grow:1}.gux-input-and-error-container .gux-input .gux-input-container{box-sizing:border-box;display:flex;flex-direction:row;flex-wrap:nowrap;gap:var(--gse-ui-formControl-input-gap);place-content:stretch center;align-items:center;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-has-suffix:not(.gux-input-and-error-container .gux-input .gux-input-container.gux-has-prefix) ::slotted(input){text-align:end}.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:focus-within{border:var(--gse-ui-formControl-input-active-border-width) var(--gse-ui-formControl-input-active-border-style) var(--gse-ui-formControl-input-active-border-color);border-radius:var(--gse-ui-formControl-focusRing-borderRadius);outline:var(--gse-ui-formControl-input-focus-border-width) var(--gse-ui-formControl-input-focus-border-style) var(--gse-ui-formControl-input-focus-border-color);outline-offset:var(--gse-semantic-focusOutline-offset)}.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{k as gux_form_field_text_like}
1
+ import{r as e,f as t,h as o,g as i}from"./p-6e010355.js";import{c as r,o as n}from"./p-f4751a15.js";import{O as l}from"./p-e720c07a.js";import{o as s}from"./p-e5b1cffc.js";import{p as a}from"./p-a11d5d42.js";import{h as f}from"./p-6d8b4027.js";import{a as u,G as d}from"./p-b8c3ecdc.js";import{G as p,a as h}from"./p-7e76ac06.js";import{h as c,b as g,c as m,g as x,v as b,a as v}from"./p-42f2e889.js";import{t as C}from"./p-2b4c94f1.js";import{f as y}from"./p-54822e3b.js";import"./p-0934300e.js";import"./p-8eaf8caf.js";import"./p-2c25e2f2.js";const k=class{constructor(t){e(this,t),this.clearable=void 0,this.labelPosition=void 0,this.loading=!1,this.indicatorMark="required",this.hasPrefix=void 0,this.hasSuffix=void 0,this.computedLabelPosition="above",this.disabled=void 0,this.required=void 0,this.hasContent=!1,this.hasError=!1,this.hasHelp=!1}onMutation(){this.labelInfo=this.root.querySelector("[slot=label-info]"),this.hasError=f(this.root,"error"),this.hasHelp=f(this.root,"help")}handleKeyup(e){var t,o;"Tab"===e.key?this.input.matches(":focus-visible")&&(null===(t=this.labelInfo)||void 0===t||t.showTooltip(),this.hideLabelInfoTimeout=setTimeout((()=>{var e;null===(e=this.labelInfo)||void 0===e||e.hideTooltip()}),6e3)):this.input.matches(":focus-visible")&&(null===(o=this.labelInfo)||void 0===o||o.hideTooltip(),clearTimeout(this.hideLabelInfoTimeout))}onFocusout(){var e;null===(e=this.labelInfo)||void 0===e||e.hideTooltip(),clearTimeout(this.hideLabelInfoTimeout)}async guxForceUpdate(){this.hasContent=c(this.input),this.hasError=f(this.root,"error"),this.hasHelp=f(this.root,"help"),t(this.root)}renderRadialLoading(){if(this.loading)return o("gux-radial-loading",{context:"input"})}componentWillLoad(){this.setInput(),this.setLabel(),this.labelInfo=this.root.querySelector("[slot=label-info]"),this.hasError=f(this.root,"error"),this.hasHelp=f(this.root,"help"),this.hasPrefix=Boolean(this.root.querySelector('[slot="prefix"]')),this.hasSuffix=Boolean(this.root.querySelector('[slot="suffix"]')),this.hasPrefix&&g(this.root,this.input,"prefix"),this.hasSuffix&&g(this.root,this.input,"suffix"),C(this.root,{variant:this.variant})}disconnectedCallback(){this.disabledObserver&&this.disabledObserver.disconnect(),this.requiredObserver&&this.requiredObserver.disconnect()}render(){return o(h,{key:"4bfc2c90ceda36b591173fb005c270f212c519f4",labelPosition:this.computedLabelPosition},o(p,{key:"6cb86ea988e2381b54fd73c257702b4cb4833393",required:this.required,position:this.computedLabelPosition},o("slot",{key:"6aae331a3446da315706bf381a6943fbceed9695",name:"label",onSlotchange:()=>this.setLabel()}),o("gux-form-field-label-indicator",{key:"6c13dbbd39696396243fc84221d24f8adb612d88",variant:this.indicatorMark,required:this.required}),o("slot",{key:"d7d696dd7029f2ef13b571434ff2e2c4b9ae44ee",name:"label-info"})),o("div",{key:"4adebc576047a0b0df4bec53e8d0e520c28caccc",class:"gux-input-and-error-container"},o("div",{key:"b3c47ca1858946defb5c5bf0a5e96eefc45bb287",class:{"gux-input":!0,"gux-input-error":this.hasError}},o("div",{key:"66923b721b025485284a666eeabda9d8ddf38a8f",class:{"gux-input-container":!0,"gux-disabled":this.disabled,"gux-has-prefix":this.hasPrefix,"gux-has-suffix":this.hasSuffix},onClick:()=>y(this.input)},o("slot",{key:"6d30e93d1772b718346d6335e23e9f38b812419a",name:"prefix"}),o("slot",{key:"449f84eb06fa74a0fd1acaa33ff016b1ec45f550",name:"input"}),this.renderRadialLoading(),o("slot",{key:"b3b67a15ecf829a143f052f51f1c95fb2d3e04ce",name:"suffix"}),this.clearable&&this.hasContent&&!this.disabled&&o("gux-form-field-input-clear-button",{key:"c8869108f24091264f38748e2d3f41846cd7291d",onClick:()=>m(this.input)}))),o(u,{key:"ad45607c9fd01891cd0023959a5b5de5213e741f",show:this.hasError},o("slot",{key:"52f46539c187533b54522b185bb5ba084c52e70a",name:"error"})),o(d,{key:"f91d1eb88f117e1cbe451b23565921b9dad0710b",show:!this.hasError&&this.hasHelp},o("slot",{key:"c907e53165909fea45e0d4cca3aed992dada7a6b",name:"help"}))))}get variant(){const e=this.labelPosition?this.labelPosition.toLowerCase():"none";return`${this.input.getAttribute("type")}-${this.clearable?"clearable":"unclearable"}-${e}`}setInput(){this.input=x(this.root,'input[type="email"][slot="input"], input[type="number"][slot="input"], input[type="password"][slot="input"], input[type="text"][slot="input"]'),this.hasContent=c(this.input),a(this.input),this.input.addEventListener("input",(()=>{this.hasContent=c(this.input)})),this.disabled=r(this.input),this.required=this.input.required,this.disabledObserver=n(this.input,(e=>{this.disabled=e})),this.requiredObserver=s(this.input,(e=>{this.required=e})),b(this.root,this.input)}setLabel(){this.label=this.root.querySelector('label[slot="label"]'),this.computedLabelPosition=v(this.label,this.labelPosition)}get root(){return i(this)}};(function(e,t,o,i){var r,n=arguments.length,l=n<3?t:null===i?i=Object.getOwnPropertyDescriptor(t,o):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)l=Reflect.decorate(e,t,o,i);else for(var s=e.length-1;s>=0;s--)(r=e[s])&&(l=(n<3?r(l):n>3?r(t,o,l):r(t,o))||l);n>3&&l&&Object.defineProperty(t,o,l)})([l({childList:!0,subtree:!0})],k.prototype,"onMutation",null),k.style=".gux-form-field-container.gux-beside{display:flex;flex-direction:row}.gux-form-field-error{display:none;flex-direction:row;flex-wrap:nowrap;gap:var(--gse-ui-formControl-helper-gap);place-content:stretch flex-start;align-items:center;padding:var(--gse-ui-formControl-helper-errorPadding);font-family:var(--gse-ui-formControl-helper-helperText-fontFamily);font-size:var(--gse-ui-formControl-helper-helperText-fontSize);line-height:var(--gse-ui-formControl-helper-helperText-lineHeight);color:var(--gse-ui-formControl-helper-errorColor)}.gux-form-field-error.gux-show{display:flex}.gux-form-field-error gux-icon{flex:0 1 auto;order:0;min-inline-size:var(--gse-ui-icon-small-size);min-block-size:var(--gse-ui-icon-small-size);color:var(--gse-ui-formControl-helper-errorColor)}.gux-form-field-error .gux-message{flex:0 1 auto;align-self:auto;order:0}.gux-form-field-label{display:inline-flex;flex:1 0 auto}.gux-form-field-label ::slotted(gux-label-info-beta){padding-inline-start:var(--gse-ui-formControl-formField-gap)}.gux-form-field-label.gux-beside{position:relative;inset-block-start:var(--gse-ui-formControl-input-top);inline-size:fit-content;min-inline-size:var(--gse-ui-formControl-input-textfield-minWidth);max-inline-size:fit-content;margin-inline-end:var(--gse-ui-formControl-group-gapItems)}.gux-form-field-label.gux-above{padding-block-end:var(--gse-ui-formControl-formField-gap)}.gux-form-field-label.gux-screenreader{position:absolute;top:auto;left:-10000px;width:1px;height:1px;overflow:hidden}.gux-form-field-help{display:none;flex-direction:row;flex-wrap:nowrap;place-content:stretch flex-start;align-items:flex-start;justify-content:flex-start;padding-block-start:var(--gse-ui-formControl-formField-gap);font-family:var(--gse-ui-formControl-helper-helperText-fontFamily);font-size:var(--gse-ui-formControl-helper-helperText-fontSize);line-height:var(--gse-ui-formControl-helper-helperText-lineHeight);color:var(--gse-ui-formControl-helper-defaultColor)}.gux-form-field-help.gux-show{display:flex}.gux-form-field-help .gux-message{flex:0 1 auto;align-self:none;order:0}:host{display:block}::slotted(label){font-family:var(--gse-ui-formControl-label-textBold-fontFamily);font-size:var(--gse-ui-formControl-label-textBold-fontSize);font-weight:var(--gse-ui-formControl-label-textBold-fontWeight);line-height:var(--gse-ui-formControl-label-textBold-lineHeight);color:var(--gse-ui-formControl-label-labelColor)}::slotted(input){flex:1 1 auto;align-self:auto;order:0;inline-size:100%;overflow:hidden;font-size:var(--gse-ui-formControl-input-contentText-fontSize);text-overflow:ellipsis;background-color:var(--gse-ui-formControl-input-backgroundColor);border:none;outline:none}::slotted(input)::placeholder{color:var(--gse-ui-formControl-input-placeholderColor);opacity:1}slot[name=prefix],slot[name=suffix]{font-family:var(--gse-ui-formControl-input-prefixSufix-text-fontFamily);font-size:var(--gse-ui-formControl-input-prefixSufix-text-fontSize);line-height:var(--gse-ui-formControl-input-prefixSufix-text-lineHeight);color:var(--gse-ui-formControl-input-prefixSufix-defaultColor);text-align:center;text-decoration:none;white-space:nowrap}.gux-input-and-error-container{flex-grow:1}.gux-input-and-error-container .gux-input .gux-input-container{box-sizing:border-box;display:flex;flex-direction:row;flex-wrap:nowrap;gap:var(--gse-ui-formControl-input-gap);place-content:stretch center;align-items:center;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-has-suffix:not(.gux-input-and-error-container .gux-input .gux-input-container.gux-has-prefix) ::slotted(input){text-align:end}.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:focus-within{border:var(--gse-ui-formControl-input-active-border-width) var(--gse-ui-formControl-input-active-border-style) var(--gse-ui-formControl-input-active-border-color);border-radius:var(--gse-ui-formControl-focusRing-borderRadius);outline:var(--gse-ui-formControl-input-focus-border-width) var(--gse-ui-formControl-input-focus-border-style) var(--gse-ui-formControl-input-focus-border-color);outline-offset:var(--gse-semantic-focusOutline-offset)}.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{k as gux_form_field_text_like}
@@ -1 +1 @@
1
- import{r as e,h as t,H as o,g as i}from"./p-6e010355.js";import{g as n}from"./p-4202e9f2.js";const a=class{constructor(t){e(this,t),this.disabled=!1}onMouseup(){this.focusParentList()}onMouseover(){this.focusParentList()}focusParentList(){const e=n("gux-list",this.root);e&&null===e.shadowRoot.activeElement&&(this.root.blur(),e.focus({preventScroll:!0}))}render(){return t(o,{key:"cb8ae8d2ce0c34f8a4c562728dd5165911a6bdc3",role:"listitem"},t("button",{key:"33c2c3849bdbfabbc7f2e409cfd5665e93a057b5",type:"button",tabIndex:-1,disabled:this.disabled},t("slot",{key:"b8a77addb549f33091b052e9074d21359ec7f49b"})))}static get delegatesFocus(){return!0}get root(){return i(this)}};a.style=":host{inline-size:100%;text-align:start;outline:none}:host([disabled]){pointer-events:none}:host([disabled=false]){pointer-events:auto}::slotted(gux-icon){inline-size:var(--gse-ui-menu-option-startIcon-height);block-size:var(--gse-ui-menu-option-startIcon-height);margin-inline-end:var(--gse-ui-menu-option-gap);vertical-align:middle}button{all:unset;box-sizing:border-box;inline-size:100%;min-block-size:var(--gse-ui-menu-option-height);padding:var(--gse-ui-menu-option-padding);font-family:var(--gse-ui-menu-option-label-default-text-fontFamily);font-size:var(--gse-ui-menu-option-label-default-text-fontSize);font-weight:var(--gse-ui-menu-option-label-default-text-fontWeight);line-height:var(--gse-ui-menu-option-label-default-text-lineHeight);color:var(--gse-ui-menu-option-label-foregroundColor);word-wrap:break-word;cursor:pointer;background-color:var(--gse-ui-menu-option-default-backgroundColor);border:none;outline:none;outline-offset:calc(var(--gse-ui-menu-option-focus-border-width) * -1)}button:focus-visible:not(:disabled){border-radius:var(--gse-semantic-focusOutline-sm-borderRadius);outline:var(--gse-ui-menu-option-focus-border-width) var(--gse-ui-menu-option-focus-border-style) var(--gse-ui-menu-option-focus-border-color)}button:hover:not(:disabled){background:var(--gse-ui-menu-option-hover-backgroundColor)}button:active:not(:disabled){font-family:var(--gse-ui-menu-option-label-active-text-fontFamily);font-size:var(--gse-ui-menu-option-label-active-text-fontSize);font-weight:var(--gse-ui-menu-option-label-active-text-fontWeight);line-height:var(--gse-ui-menu-option-label-active-text-lineHeight);background:var(--gse-ui-menu-option-selected-backgroundColor)}button:disabled{cursor:default;opacity:var(--gse-ui-menu-option-disabled-opacity)}";export{a as gux_list_item}
1
+ import{r as e,h as t,H as o,g as i}from"./p-6e010355.js";import{g as n}from"./p-4202e9f2.js";const a=class{constructor(t){e(this,t),this.disabled=!1}onMouseup(){this.focusParentList()}onMouseover(){this.focusParentList()}focusParentList(){const e=n("gux-list",this.root);e&&null===e.shadowRoot.activeElement&&(this.root.blur(),e.focus({preventScroll:!0}))}render(){return t(o,{key:"640b7b741d24ae8e3aed710c60844d1016bb48af",role:"listitem"},t("button",{key:"9bf043cd5c07e4d37cc61e50080992697bdaaaa0",type:"button",tabIndex:-1,disabled:this.disabled},t("slot",{key:"4431356fff2ea50b0858abbca178673c32557f4c"})))}static get delegatesFocus(){return!0}get root(){return i(this)}};a.style=":host{inline-size:100%;text-align:start;outline:none}:host([disabled]){pointer-events:none}:host([disabled=false]){pointer-events:auto}::slotted(gux-icon){inline-size:var(--gse-ui-menu-option-startIcon-height);block-size:var(--gse-ui-menu-option-startIcon-height);margin-inline-end:var(--gse-ui-menu-option-gap);vertical-align:middle}button{all:unset;box-sizing:border-box;inline-size:100%;min-block-size:var(--gse-ui-menu-option-height);padding:var(--gse-ui-menu-option-padding);font-family:var(--gse-ui-menu-option-label-default-text-fontFamily);font-size:var(--gse-ui-menu-option-label-default-text-fontSize);font-weight:var(--gse-ui-menu-option-label-default-text-fontWeight);line-height:var(--gse-ui-menu-option-label-default-text-lineHeight);color:var(--gse-ui-menu-option-label-foregroundColor);word-wrap:break-word;cursor:pointer;background-color:var(--gse-ui-menu-option-default-backgroundColor);border:none;outline:none;outline-offset:calc(var(--gse-ui-menu-option-focus-border-width) * -1)}button:focus-visible:not(:disabled){border-radius:var(--gse-semantic-focusOutline-sm-borderRadius);outline:var(--gse-ui-menu-option-focus-border-width) var(--gse-ui-menu-option-focus-border-style) var(--gse-ui-menu-option-focus-border-color)}button:hover:not(:disabled){background:var(--gse-ui-menu-option-hover-backgroundColor)}button:active:not(:disabled){font-family:var(--gse-ui-menu-option-label-active-text-fontFamily);font-size:var(--gse-ui-menu-option-label-active-text-fontSize);font-weight:var(--gse-ui-menu-option-label-active-text-fontWeight);line-height:var(--gse-ui-menu-option-label-active-text-lineHeight);background:var(--gse-ui-menu-option-selected-backgroundColor)}button:disabled{cursor:default;opacity:var(--gse-ui-menu-option-disabled-opacity)}";export{a as gux_list_item}
@@ -1 +1 @@
1
- import{r,h as d,g as e}from"./p-6e010355.js";import{t as a}from"./p-364230fd.js";const o=class{constructor(d){r(this,d),this.accent="bordered"}componentWillLoad(){a(this.root,{variant:this.accent})}render(){return d("div",{key:"b3cd41d0628aa3810cb86a87563102572eaebe27",class:{"gux-card":!0,[`gux-${this.accent}`]:!0}},d("slot",{key:"961411eb67625b6326c5a46ba6bc13e48d3c4605"}))}get root(){return e(this)}};o.style=":host{display:block;inline-size:fit-content}.gux-card{box-sizing:border-box;padding:var(--gse-ui-card-padding);background-color:var(--gse-ui-card-backgroundColor);border:var(--gse-ui-card-default-border-width) var(--gse-ui-card-default-border-style) var(--gse-ui-card-default-border-color);border-radius:var(--gse-ui-card-borderRadius)}.gux-card.gux-bordered{border:var(--gse-ui-card-default-border-width) var(--gse-ui-card-default-border-style) var(--gse-ui-card-default-border-color)}.gux-card.gux-raised{border:var(--gse-ui-card-raised-border-width) var(--gse-ui-card-raised-border-style) var(--gse-ui-card-raised-border-color);box-shadow:var(--gse-ui-card-raised-boxShadow-offsetX) var(--gse-ui-card-raised-boxShadow-offsetY) var(--gse-ui-card-raised-boxShadow-blur) var(--gse-ui-card-raised-boxShadow-spread) var(--gse-ui-card-raised-boxShadow-color)}.gux-card.gux-borderless{border:var(--gse-ui-card-borderless-border-width) var(--gse-ui-card-borderless-border-style) var(--gse-ui-card-borderless-border-color)}";export{o as gux_card}
1
+ import{r,h as d,g as a}from"./p-6e010355.js";import{t as e}from"./p-2b4c94f1.js";const o=class{constructor(d){r(this,d),this.accent="bordered"}componentWillLoad(){e(this.root,{variant:this.accent})}render(){return d("div",{key:"10dd232bf731c61aa431999f32a7a8aa68a4f51f",class:{"gux-card":!0,[`gux-${this.accent}`]:!0}},d("slot",{key:"897f58d36d1f391e54da8098aa6d5fe2e4dd7aa9"}))}get root(){return a(this)}};o.style=":host{display:block;inline-size:fit-content}.gux-card{box-sizing:border-box;padding:var(--gse-ui-card-padding);background-color:var(--gse-ui-card-backgroundColor);border:var(--gse-ui-card-default-border-width) var(--gse-ui-card-default-border-style) var(--gse-ui-card-default-border-color);border-radius:var(--gse-ui-card-borderRadius)}.gux-card.gux-bordered{border:var(--gse-ui-card-default-border-width) var(--gse-ui-card-default-border-style) var(--gse-ui-card-default-border-color)}.gux-card.gux-raised{border:var(--gse-ui-card-raised-border-width) var(--gse-ui-card-raised-border-style) var(--gse-ui-card-raised-border-color);box-shadow:var(--gse-ui-card-raised-boxShadow-offsetX) var(--gse-ui-card-raised-boxShadow-offsetY) var(--gse-ui-card-raised-boxShadow-blur) var(--gse-ui-card-raised-boxShadow-spread) var(--gse-ui-card-raised-boxShadow-color)}.gux-card.gux-borderless{border:var(--gse-ui-card-borderless-border-width) var(--gse-ui-card-borderless-border-style) var(--gse-ui-card-borderless-border-color)}";export{o as gux_card}
@@ -0,0 +1 @@
1
+ import{r as e,c as t,h as o,g as s}from"./p-6e010355.js";import{a as i,c as a,o as r,f as p,s as n,h as d,b as c}from"./p-5107a20b.js";import{O as h}from"./p-b0758688.js";import{t as l}from"./p-2b4c94f1.js";import{f as b}from"./p-9b0d3713.js";const u=class{constructor(o){e(this,o),this.guxdismiss=t(this,"guxdismiss",7),this.for=void 0,this.position="bottom",this.displayDismissButton=void 0,this.closeOnClickOutside=!1,this.isOpen=!1}onKeyDown(e){switch(e.key){case"Tab":case"Escape":this.dismiss()}}checkForClickOutside(e){const t=e.composedPath(),o=b(this.root,this.for),s=t.includes(o);!this.closeOnClickOutside&&this.displayDismissButton||!this.isOpen||s||this.dismiss(),s&&(this.popupElement.togglePopover(),this.isOpen=!this.isOpen,this.runUpdatePosition())}runUpdatePosition(){this.root.isConnected?this.cleanupUpdatePosition=i(b(this.root,this.for),this.popupElement,(()=>this.updatePosition()),{ancestorScroll:!0,elementResize:!0,animationFrame:!0,ancestorResize:!0}):this.disconnectedCallback()}updatePosition(){const e=b(this.root,this.for);this.popupElement&&a(e,this.popupElement,{strategy:"fixed",placement:this.position,middleware:[r(2),p(),n(),d(),c({element:this.arrowElement,padding:16})]}).then((({x:e,y:t,middlewareData:o,placement:s})=>{Object.assign(this.popupElement.style,{left:`${e}px`,top:`${t}px`});const i={top:"bottom",right:"left",bottom:"top",left:"right"}[s.split("-")[0]];if(o.arrow){const{x:e,y:t}=o.arrow;this.popupElement.setAttribute("data-placement",s),Object.assign(this.arrowElement.style,{left:null!=e?`${e}px`:"",top:null!=t?`${t}px`:"",right:"",bottom:"",[i]:"-6.5px",transform:"rotate(45deg)"})}o.hide&&Object.assign(this.popupElement.style,{visibility:o.hide.referenceHidden?"hidden":"visible"})}))}dismiss(){this.guxdismiss.emit().defaultPrevented||(this.isOpen=!1,this.popupElement.togglePopover())}connectedCallback(){l(this.root,{variant:this.position})}componentDidLoad(){this.isOpen&&(this.popupElement.togglePopover(),this.runUpdatePosition())}componentDidUpdate(){this.isOpen?this.runUpdatePosition():this.cleanupUpdatePosition&&this.cleanupUpdatePosition()}disconnectedCallback(){this.cleanupUpdatePosition&&this.cleanupUpdatePosition()}render(){return o("div",{key:"2cbd8677025be6ba4dfef8c1165149a16d0acd2a",ref:e=>this.popupElement=e,class:{"gux-hidden":!this.isOpen,"gux-popover-wrapper":!0},"data-placement":!0,popover:"manual"},o("div",{key:"7c8f422379a975dd8dc50ebcda8daa8d3c268c4f",ref:e=>this.arrowElement=e,class:"gux-arrow"}),this.displayDismissButton&&o("gux-dismiss-button",{key:"fec3a9253c4a9d99997ddd0bcee5e18baee45c27",onClick:this.dismiss.bind(this)}),o("div",{key:"eca980665fa52dbb091f4feb814df0aecabc6b9a",class:"gux-popover-content"},o("slot",{key:"5b5224973fc71787a27f37661f4a0fe0a349fdee"})))}get root(){return s(this)}};(function(e,t,o,s){var i,a=arguments.length,r=a<3?t:null===s?s=Object.getOwnPropertyDescriptor(t,o):s;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)r=Reflect.decorate(e,t,o,s);else for(var p=e.length-1;p>=0;p--)(i=e[p])&&(r=(a<3?i(r):a>3?i(t,o,r):i(t,o))||r);a>3&&r&&Object.defineProperty(t,o,r)})([h({triggerEvents:"mousedown"})],u.prototype,"checkForClickOutside",null),u.style=":popover-open{position:absolute;inset:unset}.gux-popover-wrapper{position:fixed;inset-block-start:0;inset-inline-start:0;z-index:var(--gse-semantic-zIndex-popover);display:inline-block;padding-block:8px;padding-inline:0;overflow-y:hidden;background-color:var(--gse-ui-popover-backgroundColor);border:none;border-radius:var(--gse-ui-popover-borderRadius);box-shadow:var(--gse-ui-popover-boxShadow-offsetX) var(--gse-ui-popover-boxShadow-offsetY) var(--gse-ui-popover-boxShadow-blur) var(--gse-ui-popover-boxShadow-spread) var(--gse-ui-popover-boxShadow-color);}.gux-popover-wrapper.gux-hidden{display:none}.gux-popover-wrapper .gux-arrow{position:absolute;inline-size:var(--gse-ui-popover-anchor-width);block-size:var(--gse-ui-popover-anchor-width);background:var(--gse-ui-popover-backgroundColor)}";export{u as gux_popover_list_beta}
@@ -1 +1 @@
1
- import{r as t,h as i,g as s}from"./p-6e010355.js";import{b as o}from"./p-a82e4a04.js";import{f as e,g as r,t as a}from"./p-36923b17.js";import{t as n}from"./p-364230fd.js";import{s as h}from"./p-2c25e2f2.js";import"./p-4202e9f2.js";const d=class{constructor(i){t(this,i),this.value=void 0,this.workspaceDefault=void 0,this.localDefault=void 0,this.customDefault=void 0,this.customDefaultLabel=void 0,this.hasError=!1,this.disabled=!1,this.required=!1,this.searchString="",this.timeZoneOptionElements=void 0,this.timeZoneList=void 0,this.filteredZoneList=void 0}on(t){this.searchString=t.detail,this.filteredZoneList=this.filterTimeZoneList(this.timeZoneList),this.timeZoneOptionElements=this.renderTimeZones(this.filteredZoneList)}async componentWillLoad(){n(this.root),this.i18n=await o(this.root,a),this.timeZoneList=this.getTimeZoneOptionsList(),this.filteredZoneList=this.timeZoneList,this.timeZoneOptionElements=this.renderTimeZones(this.filteredZoneList)}componentDidLoad(){var t;(null===(t=this.root)||void 0===t?void 0:t.shadowRoot.querySelector("gux-dropdown")).addEventListener("change",(t=>{const i=t.target;this.value=null==i?void 0:i.value,h(this.root,"change")}))}filterTimeZoneList(t){const i=this.searchString;return t.filter((t=>this.getFormattedTimeZoneOption(t).toLowerCase().includes(i.toLowerCase())))}getTimeZoneOption(t){const i=this.i18n(t.name),s=t.countryName?this.i18n(t.countryName):void 0;if(!i)return;const o=e(t.currentTimeOffsetInMinutes),r=`${i}`,a=` (${this.i18n("UTC")}${o})`,n=`${a}`,h=r.replace(/_/g," "),d=`${s}`,l=r.startsWith("Etc/GMT")?2:1;return{value:t.name,localizedGroupName:i,formattedOffset:o,displayTextNameFormatted:h,displayTextOffset:a,baseDisplayOffsetText:n,countryName:d,defaultZone:"",priority:l}}getFormattedTimeZoneOption(t){return t.displayTextNameFormatted.startsWith("Etc/GMT")?t.displayTextNameFormatted.concat(t.baseDisplayOffsetText):t.displayTextNameFormatted.split("/").pop().concat(", ",t.countryName,t.baseDisplayOffsetText)}getTimeZoneOptionsList(){const t=r(),i=[];return t.forEach((t=>{const s=this.getTimeZoneOption(t);s&&i.push(s)})),i.sort(((t,i)=>{var s;return t.priority-i.priority||(null===(s=t.displayTextNameFormatted)||void 0===s?void 0:s.localeCompare(i.displayTextNameFormatted))}))}getDefaultZones(){return[this.workspaceDefault,this.localDefault,this.customDefault].filter((t=>!!t))}getDefaultZoneList(){const t=this.getDefaultZones(),i=this.timeZoneList.reduce(((i,s)=>t.includes(s.value)?i.concat([Object.assign({},s)]):i),[]);return i.forEach((t=>{this.workspaceDefault===this.localDefault?t.defaultZone=`${this.i18n("localAndWorkspaceDefault")}`:t.value===this.workspaceDefault?t.defaultZone=`${this.i18n("workspaceDefault")}`:t.value===this.localDefault&&(t.defaultZone=`${this.i18n("localDefault")}`),t.value===this.customDefault&&(t.defaultZone=`(${this.customDefaultLabel})`)})),i}renderTimeZones(t){return t.map((t=>i("gux-option",{class:{"gux-has-defaults":""!==t.defaultZone},value:t.value},i("div",{class:"gux-option-wrapper"},i("div",null,this.getFormattedTimeZoneOption(t)),i("span",{class:"gux-default-zone"},t.defaultZone)))))}renderDefaultsList(){const t=this.renderTimeZones(this.getDefaultZoneList());if(t.length)return i("gux-option-group-beta",{label:this.i18n("default")},t)}renderAllTimeZoneOptionsList(){return i("gux-option-group-beta",{label:this.i18n("all")},this.timeZoneOptionElements)}render(){return i("gux-dropdown",{key:"b158dc7a9da068f23d83163717204f66c6d6a527",class:{"has-defaults":!!this.workspaceDefault||!!this.localDefault||!!this.customDefault},"filter-type":"custom",placeholder:this.i18n("selectZone"),value:this.value,hasError:this.hasError,disabled:this.disabled},i("gux-listbox",{key:"8843b96c17d35d428733ab1dd440224b3cfea056","aria-label":this.i18n("timeZones")},this.renderDefaultsList(),this.renderAllTimeZoneOptionsList()))}get root(){return s(this)}};d.style="gux-dropdown .zone-header{padding-block:8px 4px;padding-inline:12px;color:#6b7585;text-transform:uppercase}gux-dropdown gux-option{padding:var(--gse-ui-menu-option-padding)}gux-dropdown gux-option.gux-has-defaults{block-size:auto}gux-dropdown gux-option .gux-option-wrapper{display:flex;flex-direction:column}gux-dropdown gux-option .gux-default-zone{color:#626e84}";export{d as gux_time_zone_picker_beta}
1
+ import{r as t,h as i,g as s}from"./p-6e010355.js";import{b as e}from"./p-93871c33.js";import{f as o,g as r,t as n}from"./p-36923b17.js";import{t as a}from"./p-2b4c94f1.js";import{s as h}from"./p-2c25e2f2.js";import"./p-4202e9f2.js";const d=class{constructor(i){t(this,i),this.value=void 0,this.workspaceDefault=void 0,this.localDefault=void 0,this.customDefault=void 0,this.customDefaultLabel=void 0,this.hasError=!1,this.disabled=!1,this.required=!1,this.searchString="",this.timeZoneOptionElements=void 0,this.timeZoneList=void 0,this.filteredZoneList=void 0}on(t){this.searchString=t.detail,this.filteredZoneList=this.filterTimeZoneList(this.timeZoneList),this.timeZoneOptionElements=this.renderTimeZones(this.filteredZoneList)}async componentWillLoad(){a(this.root),this.i18n=await e(this.root,n),this.timeZoneList=this.getTimeZoneOptionsList(),this.filteredZoneList=this.timeZoneList,this.timeZoneOptionElements=this.renderTimeZones(this.filteredZoneList)}componentDidLoad(){var t;(null===(t=this.root)||void 0===t?void 0:t.shadowRoot.querySelector("gux-dropdown")).addEventListener("change",(t=>{const i=t.target;this.value=null==i?void 0:i.value,h(this.root,"change")}))}filterTimeZoneList(t){const i=this.searchString;return t.filter((t=>this.getFormattedTimeZoneOption(t).toLowerCase().includes(i.toLowerCase())))}getTimeZoneOption(t){const i=this.i18n(t.name),s=t.countryName?this.i18n(t.countryName):void 0;if(!i)return;const e=o(t.currentTimeOffsetInMinutes),r=`${i}`,n=` (${this.i18n("UTC")}${e})`,a=`${n}`,h=r.replace(/_/g," "),d=`${s}`,l=r.startsWith("Etc/GMT")?2:1;return{value:t.name,localizedGroupName:i,formattedOffset:e,displayTextNameFormatted:h,displayTextOffset:n,baseDisplayOffsetText:a,countryName:d,defaultZone:"",priority:l}}getFormattedTimeZoneOption(t){return t.displayTextNameFormatted.startsWith("Etc/GMT")?t.displayTextNameFormatted.concat(t.baseDisplayOffsetText):t.displayTextNameFormatted.split("/").pop().concat(", ",t.countryName,t.baseDisplayOffsetText)}getTimeZoneOptionsList(){const t=r(),i=[];return t.forEach((t=>{const s=this.getTimeZoneOption(t);s&&i.push(s)})),i.sort(((t,i)=>{var s;return t.priority-i.priority||(null===(s=t.displayTextNameFormatted)||void 0===s?void 0:s.localeCompare(i.displayTextNameFormatted))}))}getDefaultZones(){return[this.workspaceDefault,this.localDefault,this.customDefault].filter((t=>!!t))}getDefaultZoneList(){const t=this.getDefaultZones(),i=this.timeZoneList.reduce(((i,s)=>t.includes(s.value)?i.concat([Object.assign({},s)]):i),[]);return i.forEach((t=>{this.workspaceDefault===this.localDefault?t.defaultZone=`${this.i18n("localAndWorkspaceDefault")}`:t.value===this.workspaceDefault?t.defaultZone=`${this.i18n("workspaceDefault")}`:t.value===this.localDefault&&(t.defaultZone=`${this.i18n("localDefault")}`),t.value===this.customDefault&&(t.defaultZone=`(${this.customDefaultLabel})`)})),i}renderTimeZones(t){return t.map((t=>i("gux-option",{class:{"gux-has-defaults":""!==t.defaultZone},value:t.value},i("div",{class:"gux-option-wrapper"},i("div",null,this.getFormattedTimeZoneOption(t)),i("span",{class:"gux-default-zone"},t.defaultZone)))))}renderDefaultsList(){const t=this.renderTimeZones(this.getDefaultZoneList());if(t.length)return i("gux-option-group-beta",{label:this.i18n("default")},t)}renderAllTimeZoneOptionsList(){return i("gux-option-group-beta",{label:this.i18n("all")},this.timeZoneOptionElements)}render(){return i("gux-dropdown",{key:"8ee50f8dce21ffc958c2accb69c99ea7b9bf518e",class:{"has-defaults":!!this.workspaceDefault||!!this.localDefault||!!this.customDefault},"filter-type":"custom",placeholder:this.i18n("selectZone"),value:this.value,hasError:this.hasError,disabled:this.disabled},i("gux-listbox",{key:"858e8f406fc20a27fa608ba488dc13199858cf3c","aria-label":this.i18n("timeZones")},this.renderDefaultsList(),this.renderAllTimeZoneOptionsList()))}get root(){return s(this)}};d.style="gux-dropdown .zone-header{padding-block:8px 4px;padding-inline:12px;color:#6b7585;text-transform:uppercase}gux-dropdown gux-option{padding:var(--gse-ui-menu-option-padding)}gux-dropdown gux-option.gux-has-defaults{block-size:auto}gux-dropdown gux-option .gux-option-wrapper{display:flex;flex-direction:column}gux-dropdown gux-option .gux-default-zone{color:#626e84}";export{d as gux_time_zone_picker_beta}