genesys-spark-components 4.71.0 → 4.72.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 (532) hide show
  1. package/dist/cjs/focus-input-element-3a0c1858.js +9 -0
  2. package/dist/cjs/genesys-webcomponents.cjs.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 +2 -2
  6. package/dist/cjs/gux-action-toast-legacy.cjs.entry.js +2 -2
  7. package/dist/cjs/gux-advanced-dropdown-legacy.cjs.entry.js +3 -3
  8. package/dist/cjs/gux-all-row-select.cjs.entry.js +1 -1
  9. package/dist/cjs/gux-announce-beta.cjs.entry.js +1 -1
  10. package/dist/cjs/gux-avatar-beta.cjs.entry.js +1 -1
  11. package/dist/cjs/gux-avatar-change-photo-beta.cjs.entry.js +1 -1
  12. package/dist/cjs/gux-badge.cjs.entry.js +2 -2
  13. package/dist/cjs/gux-blank-state.cjs.entry.js +2 -2
  14. package/dist/cjs/gux-breadcrumb-item.cjs.entry.js +1 -1
  15. package/dist/cjs/gux-breadcrumbs.cjs.entry.js +2 -2
  16. package/dist/cjs/gux-button-multi.cjs.entry.js +2 -2
  17. package/dist/cjs/gux-button-slot.cjs.entry.js +2 -2
  18. package/dist/cjs/gux-button.cjs.entry.js +3 -3
  19. package/dist/cjs/gux-calendar.cjs.entry.js +2 -2
  20. package/dist/cjs/gux-card.cjs.entry.js +3 -3
  21. package/dist/cjs/gux-column-manager-item.cjs.entry.js +3 -3
  22. package/dist/cjs/gux-column-manager.cjs.entry.js +2 -2
  23. package/dist/cjs/gux-content-search.cjs.entry.js +5 -4
  24. package/dist/cjs/gux-context-menu.cjs.entry.js +3 -3
  25. package/dist/cjs/gux-copy-to-clipboard.cjs.entry.js +2 -2
  26. package/dist/cjs/gux-create-option.cjs.entry.js +2 -2
  27. package/dist/cjs/gux-date-beta.cjs.entry.js +1 -1
  28. package/dist/cjs/gux-date-time-beta.cjs.entry.js +1 -1
  29. package/dist/cjs/gux-datepicker.cjs.entry.js +2 -2
  30. package/dist/cjs/gux-disclosure-button-legacy.cjs.entry.js +3 -3
  31. package/dist/cjs/gux-dismiss-button.cjs.entry.js +2 -2
  32. package/dist/cjs/gux-dropdown-multi-tag.cjs.entry.js +1 -1
  33. package/dist/cjs/gux-dropdown-multi.cjs.entry.js +2 -2
  34. package/dist/cjs/gux-dropdown-option.cjs.entry.js +1 -1
  35. package/dist/cjs/gux-dropdown_3.cjs.entry.js +4 -4
  36. package/dist/cjs/gux-flag-icon-beta.cjs.entry.js +1 -1
  37. package/dist/cjs/gux-flyout-menu.cjs.entry.js +3 -3
  38. package/dist/cjs/gux-form-field-checkbox-group-beta.cjs.entry.js +3 -3
  39. package/dist/cjs/gux-form-field-checkbox.cjs.entry.js +3 -3
  40. package/dist/cjs/gux-form-field-color.cjs.entry.js +4 -4
  41. package/dist/cjs/gux-form-field-dropdown.cjs.entry.js +4 -4
  42. package/dist/cjs/gux-form-field-file.cjs.entry.js +2 -2
  43. package/dist/cjs/gux-form-field-input-clear-button.cjs.entry.js +2 -2
  44. package/dist/cjs/gux-form-field-label-indicator.cjs.entry.js +1 -1
  45. package/dist/cjs/gux-form-field-number_3.cjs.entry.js +10 -9
  46. package/dist/cjs/gux-form-field-phone.cjs.entry.js +5 -5
  47. package/dist/cjs/gux-form-field-radio-group-beta.cjs.entry.js +3 -3
  48. package/dist/cjs/gux-form-field-radio.cjs.entry.js +3 -3
  49. package/dist/cjs/gux-form-field-range.cjs.entry.js +3 -3
  50. package/dist/cjs/gux-form-field-search.cjs.entry.js +6 -5
  51. package/dist/cjs/gux-form-field-select.cjs.entry.js +4 -4
  52. package/dist/cjs/gux-form-field-text-like.cjs.entry.js +6 -5
  53. package/dist/cjs/gux-form-field-textarea.cjs.entry.js +3 -3
  54. package/dist/cjs/gux-form-field-time-picker.cjs.entry.js +5 -5
  55. package/dist/cjs/gux-form-field-time-zone-picker.cjs.entry.js +4 -4
  56. package/dist/cjs/gux-form-footer.cjs.entry.js +1 -1
  57. package/dist/cjs/gux-icon-tooltip-beta.cjs.entry.js +1 -1
  58. package/dist/cjs/gux-icon.cjs.entry.js +2 -2
  59. package/dist/cjs/gux-inline-alert.cjs.entry.js +3 -3
  60. package/dist/cjs/gux-label-info-beta.cjs.entry.js +1 -1
  61. package/dist/cjs/gux-list-divider.cjs.entry.js +1 -1
  62. package/dist/cjs/gux-list-item.cjs.entry.js +1 -1
  63. package/dist/cjs/gux-list.cjs.entry.js +2 -2
  64. package/dist/cjs/gux-listbox-multi.cjs.entry.js +1 -1
  65. package/dist/cjs/gux-loading-message.cjs.entry.js +2 -2
  66. package/dist/cjs/gux-menu-option.cjs.entry.js +1 -1
  67. package/dist/cjs/gux-menu.cjs.entry.js +1 -1
  68. package/dist/cjs/gux-modal-legacy.cjs.entry.js +3 -3
  69. package/dist/cjs/gux-modal.cjs.entry.js +2 -2
  70. package/dist/cjs/gux-month-picker-beta.cjs.entry.js +1 -1
  71. package/dist/cjs/gux-notification-toast-legacy.cjs.entry.js +2 -2
  72. package/dist/cjs/gux-option-group-beta.cjs.entry.js +1 -1
  73. package/dist/cjs/gux-option-icon.cjs.entry.js +2 -2
  74. package/dist/cjs/gux-option-multi.cjs.entry.js +2 -2
  75. package/dist/cjs/gux-page-loading-spinner.cjs.entry.js +2 -2
  76. package/dist/cjs/gux-pagination-buttons-legacy_3.cjs.entry.js +4 -4
  77. package/dist/cjs/gux-pagination-buttons_2.cjs.entry.js +2 -2
  78. package/dist/cjs/gux-pagination-cursor.cjs.entry.js +1 -1
  79. package/dist/cjs/gux-pagination-items-per-page.cjs.entry.js +1 -1
  80. package/dist/cjs/gux-pagination-legacy.cjs.entry.js +2 -2
  81. package/dist/cjs/gux-pagination.cjs.entry.js +2 -2
  82. package/dist/cjs/gux-phone-input-beta.cjs.entry.js +6 -5
  83. package/dist/cjs/gux-popover-list.cjs.entry.js +3 -3
  84. package/dist/cjs/gux-popup.cjs.entry.js +3 -3
  85. package/dist/cjs/gux-radial-loading.cjs.entry.js +2 -2
  86. package/dist/cjs/gux-radial-progress.cjs.entry.js +1 -1
  87. package/dist/cjs/gux-rating.cjs.entry.js +2 -2
  88. package/dist/cjs/gux-row-select.cjs.entry.js +1 -1
  89. package/dist/cjs/gux-screen-reader-beta_2.cjs.entry.js +2 -2
  90. package/dist/cjs/gux-segmented-control-beta.cjs.entry.js +1 -1
  91. package/dist/cjs/gux-selector-card-beta.cjs.entry.js +1 -1
  92. package/dist/cjs/gux-selector-cards-beta.cjs.entry.js +1 -1
  93. package/dist/cjs/gux-simple-toast-legacy.cjs.entry.js +2 -2
  94. package/dist/cjs/gux-skip-navigation-item.cjs.entry.js +1 -1
  95. package/dist/cjs/gux-skip-navigation-list.cjs.entry.js +2 -2
  96. package/dist/cjs/gux-sort-control.cjs.entry.js +4 -4
  97. package/dist/cjs/gux-submenu.cjs.entry.js +3 -3
  98. package/dist/cjs/gux-switch-item.cjs.entry.js +1 -1
  99. package/dist/cjs/gux-switch-legacy.cjs.entry.js +2 -2
  100. package/dist/cjs/gux-tab-advanced-list.cjs.entry.js +1 -1
  101. package/dist/cjs/gux-tab-advanced-panel.cjs.entry.js +1 -1
  102. package/dist/cjs/gux-tab-advanced.cjs.entry.js +2 -2
  103. package/dist/cjs/gux-tab-list.cjs.entry.js +2 -2
  104. package/dist/cjs/gux-tab-panel.cjs.entry.js +1 -1
  105. package/dist/cjs/gux-tab.cjs.entry.js +2 -2
  106. package/dist/cjs/gux-table-select-menu.cjs.entry.js +1 -1
  107. package/dist/cjs/gux-table-toolbar-action.cjs.entry.js +2 -2
  108. package/dist/cjs/gux-table-toolbar-custom-action.cjs.entry.js +2 -2
  109. package/dist/cjs/gux-table-toolbar-menu-button.cjs.entry.js +2 -2
  110. package/dist/cjs/gux-table-toolbar.cjs.entry.js +3 -3
  111. package/dist/cjs/gux-table.cjs.entry.js +2 -2
  112. package/dist/cjs/gux-tabs-advanced.cjs.entry.js +2 -2
  113. package/dist/cjs/gux-tabs.cjs.entry.js +2 -2
  114. package/dist/cjs/gux-tag.cjs.entry.js +2 -2
  115. package/dist/cjs/gux-text-highlight.cjs.entry.js +1 -1
  116. package/dist/cjs/gux-time-beta.cjs.entry.js +1 -1
  117. package/dist/cjs/gux-time-picker.cjs.entry.js +2 -2
  118. package/dist/cjs/gux-time-zone-beta.cjs.entry.js +56 -0
  119. package/dist/cjs/gux-time-zone-picker-beta.cjs.entry.js +11 -7666
  120. package/dist/cjs/gux-toast.cjs.entry.js +3 -3
  121. package/dist/cjs/gux-toggle-slider.cjs.entry.js +2 -2
  122. package/dist/cjs/gux-toggle.cjs.entry.js +3 -3
  123. package/dist/cjs/gux-tooltip-base-beta.cjs.entry.js +3 -3
  124. package/dist/cjs/gux-tooltip-title.cjs.entry.js +2 -2
  125. package/dist/cjs/gux-tooltip.cjs.entry.js +3 -3
  126. package/dist/cjs/gux-truncate.cjs.entry.js +3 -3
  127. package/dist/cjs/index-7fb02c8c.js +4 -0
  128. package/dist/cjs/loader.cjs.js +1 -1
  129. package/dist/cjs/time-zone-72675c4e.js +7661 -0
  130. package/dist/cjs/{usage-e635215d.js → usage-6426963f.js} +1 -1
  131. package/dist/collection/collection-manifest.json +1 -0
  132. package/dist/collection/components/beta/gux-phone-input/gux-phone-input.css +6 -1
  133. package/dist/collection/components/beta/gux-phone-input/gux-phone-input.js +4 -3
  134. package/dist/collection/components/beta/gux-time-zone/gux-time-zone.js +117 -0
  135. package/dist/collection/components/beta/gux-time-zone/gux-time-zone.service.js +11 -0
  136. package/dist/collection/components/beta/gux-time-zone/tests/gux-time-zone.service.spec.js +24 -0
  137. package/dist/collection/components/beta/gux-time-zone/tests/gux-time-zone.spec.js +24 -0
  138. package/dist/collection/components/beta/gux-time-zone-picker/gux-time-zone-picker.js +2 -2
  139. package/dist/collection/components/beta/gux-tooltip-base/gux-tooltip-base.js +2 -2
  140. package/dist/collection/components/beta/gux-tooltip-beta/gux-tooltip.js +1 -1
  141. package/dist/collection/components/legacy/gux-action-toast-legacy/gux-action-toast.js +1 -1
  142. package/dist/collection/components/legacy/gux-advanced-dropdown-legacy/dropdown-option/gux-dropdown-option.js +1 -1
  143. package/dist/collection/components/legacy/gux-advanced-dropdown-legacy/gux-advanced-dropdown.js +2 -2
  144. package/dist/collection/components/legacy/gux-disclosure-button-legacy/gux-disclosure-button.js +2 -2
  145. package/dist/collection/components/legacy/gux-modal-legacy/gux-modal-legacy.js +2 -2
  146. package/dist/collection/components/legacy/gux-notification-toast-legacy/gux-notification-toast.js +1 -1
  147. package/dist/collection/components/legacy/gux-pagination-legacy/gux-pagination-buttons-legacy/gux-pagination-buttons.js +1 -1
  148. package/dist/collection/components/legacy/gux-pagination-legacy/gux-pagination-item-counts-legacy/gux-pagination-item-counts.js +2 -2
  149. package/dist/collection/components/legacy/gux-pagination-legacy/gux-pagination-items-per-page-legacy/gux-pagination-items-per-page.js +1 -1
  150. package/dist/collection/components/legacy/gux-pagination-legacy/gux-pagination.js +1 -1
  151. package/dist/collection/components/legacy/gux-simple-toast-legacy/gux-simple-toast.js +1 -1
  152. package/dist/collection/components/legacy/gux-switch-legacy/gux-switch-item/gux-switch-item.js +1 -1
  153. package/dist/collection/components/legacy/gux-switch-legacy/gux-switch.js +1 -1
  154. package/dist/collection/components/stable/gux-accordion/gux-accordion-section/gux-accordion-section.js +5 -5
  155. package/dist/collection/components/stable/gux-accordion/gux-accordion.js +1 -1
  156. package/dist/collection/components/stable/gux-action-button/gux-action-button.js +1 -1
  157. package/dist/collection/components/stable/gux-badge/gux-badge.js +1 -1
  158. package/dist/collection/components/stable/gux-blank-state/gux-blank-state.js +1 -1
  159. package/dist/collection/components/stable/gux-breadcrumbs/breadcrumb-item/gux-breadcrumb-item.js +1 -1
  160. package/dist/collection/components/stable/gux-breadcrumbs/gux-breadcrumbs.js +1 -1
  161. package/dist/collection/components/stable/gux-button/gux-button.js +2 -2
  162. package/dist/collection/components/stable/gux-button-multi/gux-button-multi.js +1 -1
  163. package/dist/collection/components/stable/gux-button-slot/gux-button-slot.js +1 -1
  164. package/dist/collection/components/stable/gux-calendar/gux-calendar.js +1 -1
  165. package/dist/collection/components/stable/gux-card/gux-card.js +2 -2
  166. package/dist/collection/components/stable/gux-column-manager/gux-column-manager-item/gux-column-manager-item.js +3 -3
  167. package/dist/collection/components/stable/gux-column-manager/gux-column-manager.js +1 -1
  168. package/dist/collection/components/stable/gux-content-search/gux-content-search.css +1 -0
  169. package/dist/collection/components/stable/gux-content-search/gux-content-search.js +3 -2
  170. package/dist/collection/components/stable/gux-context-menu/gux-context-menu.js +2 -2
  171. package/dist/collection/components/stable/gux-copy-to-clipboard/gux-copy-to-clipboard.js +1 -1
  172. package/dist/collection/components/stable/gux-datepicker/gux-datepicker.js +1 -1
  173. package/dist/collection/components/stable/gux-dismiss-button/gux-dismiss-button.js +1 -1
  174. package/dist/collection/components/stable/gux-dropdown/gux-dropdown.js +1 -1
  175. package/dist/collection/components/stable/gux-dropdown-multi/gux-dropdown-multi-tag/gux-dropdown-multi-tag.js +1 -1
  176. package/dist/collection/components/stable/gux-dropdown-multi/gux-dropdown-multi.js +1 -1
  177. package/dist/collection/components/stable/gux-flyout-menu/gux-flyout-menu.js +2 -2
  178. package/dist/collection/components/stable/gux-flyout-menu/gux-menu/gux-menu-option/gux-menu-option.js +1 -1
  179. package/dist/collection/components/stable/gux-flyout-menu/gux-menu/gux-menu.js +1 -1
  180. package/dist/collection/components/stable/gux-flyout-menu/gux-menu/gux-submenu/gux-submenu.js +3 -3
  181. package/dist/collection/components/stable/gux-form-field/components/gux-form-field-checkbox/gux-form-field-checkbox.js +2 -2
  182. package/dist/collection/components/stable/gux-form-field/components/gux-form-field-checkbox-group/gux-form-field-checkbox-group.js +2 -2
  183. package/dist/collection/components/stable/gux-form-field/components/gux-form-field-color/gux-form-field-color.js +3 -3
  184. package/dist/collection/components/stable/gux-form-field/components/gux-form-field-dropdown/gux-form-field-dropdown.js +3 -3
  185. package/dist/collection/components/stable/gux-form-field/components/gux-form-field-file/gux-form-field-file.js +1 -1
  186. package/dist/collection/components/stable/gux-form-field/components/gux-form-field-number/gux-form-field-number.css +2 -0
  187. package/dist/collection/components/stable/gux-form-field/components/gux-form-field-number/gux-form-field-number.js +4 -3
  188. package/dist/collection/components/stable/gux-form-field/components/gux-form-field-phone/gux-form-field-phone.js +4 -4
  189. package/dist/collection/components/stable/gux-form-field/components/gux-form-field-radio/gux-form-field-radio.js +2 -2
  190. package/dist/collection/components/stable/gux-form-field/components/gux-form-field-radio-group/gux-form-field-radio-group.js +2 -2
  191. package/dist/collection/components/stable/gux-form-field/components/gux-form-field-range/gux-form-field-range.js +2 -2
  192. package/dist/collection/components/stable/gux-form-field/components/gux-form-field-search/gux-form-field-search.css +2 -0
  193. package/dist/collection/components/stable/gux-form-field/components/gux-form-field-search/gux-form-field-search.js +4 -3
  194. package/dist/collection/components/stable/gux-form-field/components/gux-form-field-select/gux-form-field-select.js +3 -3
  195. package/dist/collection/components/stable/gux-form-field/components/gux-form-field-text-like/gux-form-field-text-like.css +2 -0
  196. package/dist/collection/components/stable/gux-form-field/components/gux-form-field-text-like/gux-form-field-text-like.js +4 -3
  197. package/dist/collection/components/stable/gux-form-field/components/gux-form-field-textarea/gux-form-field-textarea.js +2 -2
  198. package/dist/collection/components/stable/gux-form-field/components/gux-form-field-time-picker/gux-form-field-time-picker.js +4 -4
  199. package/dist/collection/components/stable/gux-form-field/components/gux-form-field-time-zone-picker/gux-form-field-time-zone-picker.js +3 -3
  200. 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
  201. package/dist/collection/components/stable/gux-icon/gux-icon.js +1 -1
  202. package/dist/collection/components/stable/gux-inline-alert/gux-inline-alert.js +2 -2
  203. package/dist/collection/components/stable/gux-list/gux-list-divider/gux-list-divider.js +1 -1
  204. package/dist/collection/components/stable/gux-list/gux-list-item/gux-list-item.js +1 -1
  205. package/dist/collection/components/stable/gux-list/gux-list.js +1 -1
  206. package/dist/collection/components/stable/gux-listbox/option-group/gux-option-group.js +1 -1
  207. package/dist/collection/components/stable/gux-listbox/options/gux-option/gux-option.js +2 -2
  208. package/dist/collection/components/stable/gux-listbox/options/gux-option-icon/gux-option-icon.js +2 -2
  209. package/dist/collection/components/stable/gux-listbox-multi/gux-create-option/gux-create-option.js +2 -2
  210. package/dist/collection/components/stable/gux-listbox-multi/gux-option-multi/gux-option-multi.js +2 -2
  211. package/dist/collection/components/stable/gux-loading-message/gux-loading-message.js +1 -1
  212. package/dist/collection/components/stable/gux-modal/gux-modal.js +1 -1
  213. package/dist/collection/components/stable/gux-page-loading-spinner/gux-page-loading-spinner.js +1 -1
  214. package/dist/collection/components/stable/gux-pagination/gux-pagination-buttons/gux-pagination-buttons.js +1 -1
  215. package/dist/collection/components/stable/gux-pagination/gux-pagination-buttons/gux-pagination-ellipsis-button/gux-pagination-ellipsis-button.js +2 -2
  216. package/dist/collection/components/stable/gux-pagination/gux-pagination-item-counts/gux-pagination-item-counts.js +1 -1
  217. package/dist/collection/components/stable/gux-pagination/gux-pagination-items-per-page/gux-pagination-items-per-page.js +1 -1
  218. package/dist/collection/components/stable/gux-pagination/gux-pagination.js +1 -1
  219. package/dist/collection/components/stable/gux-popover/gux-popover.js +2 -2
  220. package/dist/collection/components/stable/gux-popover-list/gux-popover-list.js +2 -2
  221. package/dist/collection/components/stable/gux-popup/gux-popup.js +3 -3
  222. package/dist/collection/components/stable/gux-radial-loading/gux-radial-loading.js +1 -1
  223. package/dist/collection/components/stable/gux-rating/gux-rating.js +1 -1
  224. package/dist/collection/components/stable/gux-skip-navigation-list/gux-skip-navigation-item/gux-skip-navigation-item.js +1 -1
  225. package/dist/collection/components/stable/gux-skip-navigation-list/gux-skip-navigation-list.js +1 -1
  226. package/dist/collection/components/stable/gux-table/gux-all-row-select/gux-all-row-select.js +1 -1
  227. package/dist/collection/components/stable/gux-table/gux-row-select/gux-row-select.js +1 -1
  228. package/dist/collection/components/stable/gux-table/gux-sort-control/gux-sort-control.js +3 -3
  229. package/dist/collection/components/stable/gux-table/gux-table-select-menu/gux-table-select-menu.js +1 -1
  230. package/dist/collection/components/stable/gux-table/gux-table.js +1 -1
  231. package/dist/collection/components/stable/gux-table-toolbar/gux-table-toolbar-action/gux-table-toolbar-action.js +1 -1
  232. package/dist/collection/components/stable/gux-table-toolbar/gux-table-toolbar-custom-action/gux-table-toolbar-custom-action.js +1 -1
  233. package/dist/collection/components/stable/gux-table-toolbar/gux-table-toolbar-menu-button/gux-table-toolbar-menu-button.js +1 -1
  234. package/dist/collection/components/stable/gux-table-toolbar/gux-table-toolbar.js +2 -2
  235. package/dist/collection/components/stable/gux-tabs/gux-tab/gux-tab.js +2 -2
  236. package/dist/collection/components/stable/gux-tabs/gux-tab-list/gux-tab-list.js +2 -2
  237. package/dist/collection/components/stable/gux-tabs/gux-tab-panel/gux-tab-panel.js +1 -1
  238. package/dist/collection/components/stable/gux-tabs/gux-tabs.js +1 -1
  239. package/dist/collection/components/stable/gux-tabs-advanced/gux-tab-advanced/gux-tab-advanced.js +2 -2
  240. package/dist/collection/components/stable/gux-tabs-advanced/gux-tab-advanced-list/gux-tab-advanced-list.js +1 -1
  241. package/dist/collection/components/stable/gux-tabs-advanced/gux-tab-advanced-panel/gux-tab-advanced-panel.js +1 -1
  242. package/dist/collection/components/stable/gux-tabs-advanced/gux-tabs-advanced.js +1 -1
  243. package/dist/collection/components/stable/gux-tag/gux-tag.js +1 -1
  244. package/dist/collection/components/stable/gux-time-picker/gux-time-picker.js +1 -1
  245. package/dist/collection/components/stable/gux-toast/gux-toast.js +2 -2
  246. package/dist/collection/components/stable/gux-toggle/gux-toggle-slider/gux-toggle-slider.js +2 -2
  247. package/dist/collection/components/stable/gux-toggle/gux-toggle.js +2 -2
  248. package/dist/collection/components/stable/gux-tooltip/gux-tooltip.js +2 -2
  249. package/dist/collection/components/stable/gux-tooltip-title/gux-tooltip-title.js +2 -2
  250. package/dist/collection/components/stable/gux-truncate/gux-truncate.js +3 -3
  251. package/dist/collection/utils/dom/focus-input-element.js +5 -0
  252. package/dist/esm/focus-input-element-8a137b12.js +7 -0
  253. package/dist/esm/genesys-webcomponents.js +1 -1
  254. package/dist/esm/gux-accordion-section.entry.js +5 -5
  255. package/dist/esm/gux-accordion.entry.js +2 -2
  256. package/dist/esm/gux-action-button.entry.js +2 -2
  257. package/dist/esm/gux-action-toast-legacy.entry.js +2 -2
  258. package/dist/esm/gux-advanced-dropdown-legacy.entry.js +3 -3
  259. package/dist/esm/gux-all-row-select.entry.js +1 -1
  260. package/dist/esm/gux-announce-beta.entry.js +1 -1
  261. package/dist/esm/gux-avatar-beta.entry.js +1 -1
  262. package/dist/esm/gux-avatar-change-photo-beta.entry.js +1 -1
  263. package/dist/esm/gux-badge.entry.js +2 -2
  264. package/dist/esm/gux-blank-state.entry.js +2 -2
  265. package/dist/esm/gux-breadcrumb-item.entry.js +1 -1
  266. package/dist/esm/gux-breadcrumbs.entry.js +2 -2
  267. package/dist/esm/gux-button-multi.entry.js +2 -2
  268. package/dist/esm/gux-button-slot.entry.js +2 -2
  269. package/dist/esm/gux-button.entry.js +3 -3
  270. package/dist/esm/gux-calendar.entry.js +2 -2
  271. package/dist/esm/gux-card.entry.js +3 -3
  272. package/dist/esm/gux-column-manager-item.entry.js +3 -3
  273. package/dist/esm/gux-column-manager.entry.js +2 -2
  274. package/dist/esm/gux-content-search.entry.js +5 -4
  275. package/dist/esm/gux-context-menu.entry.js +3 -3
  276. package/dist/esm/gux-copy-to-clipboard.entry.js +2 -2
  277. package/dist/esm/gux-create-option.entry.js +2 -2
  278. package/dist/esm/gux-date-beta.entry.js +1 -1
  279. package/dist/esm/gux-date-time-beta.entry.js +1 -1
  280. package/dist/esm/gux-datepicker.entry.js +2 -2
  281. package/dist/esm/gux-disclosure-button-legacy.entry.js +3 -3
  282. package/dist/esm/gux-dismiss-button.entry.js +2 -2
  283. package/dist/esm/gux-dropdown-multi-tag.entry.js +1 -1
  284. package/dist/esm/gux-dropdown-multi.entry.js +2 -2
  285. package/dist/esm/gux-dropdown-option.entry.js +1 -1
  286. package/dist/esm/gux-dropdown_3.entry.js +4 -4
  287. package/dist/esm/gux-flag-icon-beta.entry.js +1 -1
  288. package/dist/esm/gux-flyout-menu.entry.js +3 -3
  289. package/dist/esm/gux-form-field-checkbox-group-beta.entry.js +3 -3
  290. package/dist/esm/gux-form-field-checkbox.entry.js +3 -3
  291. package/dist/esm/gux-form-field-color.entry.js +4 -4
  292. package/dist/esm/gux-form-field-dropdown.entry.js +4 -4
  293. package/dist/esm/gux-form-field-file.entry.js +2 -2
  294. package/dist/esm/gux-form-field-input-clear-button.entry.js +2 -2
  295. package/dist/esm/gux-form-field-label-indicator.entry.js +1 -1
  296. package/dist/esm/gux-form-field-number_3.entry.js +10 -9
  297. package/dist/esm/gux-form-field-phone.entry.js +5 -5
  298. package/dist/esm/gux-form-field-radio-group-beta.entry.js +3 -3
  299. package/dist/esm/gux-form-field-radio.entry.js +3 -3
  300. package/dist/esm/gux-form-field-range.entry.js +3 -3
  301. package/dist/esm/gux-form-field-search.entry.js +6 -5
  302. package/dist/esm/gux-form-field-select.entry.js +4 -4
  303. package/dist/esm/gux-form-field-text-like.entry.js +6 -5
  304. package/dist/esm/gux-form-field-textarea.entry.js +3 -3
  305. package/dist/esm/gux-form-field-time-picker.entry.js +5 -5
  306. package/dist/esm/gux-form-field-time-zone-picker.entry.js +4 -4
  307. package/dist/esm/gux-form-footer.entry.js +1 -1
  308. package/dist/esm/gux-icon-tooltip-beta.entry.js +1 -1
  309. package/dist/esm/gux-icon.entry.js +2 -2
  310. package/dist/esm/gux-inline-alert.entry.js +3 -3
  311. package/dist/esm/gux-label-info-beta.entry.js +1 -1
  312. package/dist/esm/gux-list-divider.entry.js +1 -1
  313. package/dist/esm/gux-list-item.entry.js +1 -1
  314. package/dist/esm/gux-list.entry.js +2 -2
  315. package/dist/esm/gux-listbox-multi.entry.js +1 -1
  316. package/dist/esm/gux-loading-message.entry.js +2 -2
  317. package/dist/esm/gux-menu-option.entry.js +1 -1
  318. package/dist/esm/gux-menu.entry.js +1 -1
  319. package/dist/esm/gux-modal-legacy.entry.js +3 -3
  320. package/dist/esm/gux-modal.entry.js +2 -2
  321. package/dist/esm/gux-month-picker-beta.entry.js +1 -1
  322. package/dist/esm/gux-notification-toast-legacy.entry.js +2 -2
  323. package/dist/esm/gux-option-group-beta.entry.js +1 -1
  324. package/dist/esm/gux-option-icon.entry.js +2 -2
  325. package/dist/esm/gux-option-multi.entry.js +2 -2
  326. package/dist/esm/gux-page-loading-spinner.entry.js +2 -2
  327. package/dist/esm/gux-pagination-buttons-legacy_3.entry.js +4 -4
  328. package/dist/esm/gux-pagination-buttons_2.entry.js +2 -2
  329. package/dist/esm/gux-pagination-cursor.entry.js +1 -1
  330. package/dist/esm/gux-pagination-items-per-page.entry.js +1 -1
  331. package/dist/esm/gux-pagination-legacy.entry.js +2 -2
  332. package/dist/esm/gux-pagination.entry.js +2 -2
  333. package/dist/esm/gux-phone-input-beta.entry.js +6 -5
  334. package/dist/esm/gux-popover-list.entry.js +3 -3
  335. package/dist/esm/gux-popup.entry.js +3 -3
  336. package/dist/esm/gux-radial-loading.entry.js +2 -2
  337. package/dist/esm/gux-radial-progress.entry.js +1 -1
  338. package/dist/esm/gux-rating.entry.js +2 -2
  339. package/dist/esm/gux-row-select.entry.js +1 -1
  340. package/dist/esm/gux-screen-reader-beta_2.entry.js +2 -2
  341. package/dist/esm/gux-segmented-control-beta.entry.js +1 -1
  342. package/dist/esm/gux-selector-card-beta.entry.js +1 -1
  343. package/dist/esm/gux-selector-cards-beta.entry.js +1 -1
  344. package/dist/esm/gux-simple-toast-legacy.entry.js +2 -2
  345. package/dist/esm/gux-skip-navigation-item.entry.js +1 -1
  346. package/dist/esm/gux-skip-navigation-list.entry.js +2 -2
  347. package/dist/esm/gux-sort-control.entry.js +4 -4
  348. package/dist/esm/gux-submenu.entry.js +3 -3
  349. package/dist/esm/gux-switch-item.entry.js +1 -1
  350. package/dist/esm/gux-switch-legacy.entry.js +2 -2
  351. package/dist/esm/gux-tab-advanced-list.entry.js +1 -1
  352. package/dist/esm/gux-tab-advanced-panel.entry.js +1 -1
  353. package/dist/esm/gux-tab-advanced.entry.js +2 -2
  354. package/dist/esm/gux-tab-list.entry.js +2 -2
  355. package/dist/esm/gux-tab-panel.entry.js +1 -1
  356. package/dist/esm/gux-tab.entry.js +2 -2
  357. package/dist/esm/gux-table-select-menu.entry.js +1 -1
  358. package/dist/esm/gux-table-toolbar-action.entry.js +2 -2
  359. package/dist/esm/gux-table-toolbar-custom-action.entry.js +2 -2
  360. package/dist/esm/gux-table-toolbar-menu-button.entry.js +2 -2
  361. package/dist/esm/gux-table-toolbar.entry.js +3 -3
  362. package/dist/esm/gux-table.entry.js +2 -2
  363. package/dist/esm/gux-tabs-advanced.entry.js +2 -2
  364. package/dist/esm/gux-tabs.entry.js +2 -2
  365. package/dist/esm/gux-tag.entry.js +2 -2
  366. package/dist/esm/gux-text-highlight.entry.js +1 -1
  367. package/dist/esm/gux-time-beta.entry.js +1 -1
  368. package/dist/esm/gux-time-picker.entry.js +2 -2
  369. package/dist/esm/gux-time-zone-beta.entry.js +52 -0
  370. package/dist/esm/gux-time-zone-picker-beta.entry.js +4 -7659
  371. package/dist/esm/gux-toast.entry.js +3 -3
  372. package/dist/esm/gux-toggle-slider.entry.js +2 -2
  373. package/dist/esm/gux-toggle.entry.js +3 -3
  374. package/dist/esm/gux-tooltip-base-beta.entry.js +3 -3
  375. package/dist/esm/gux-tooltip-title.entry.js +2 -2
  376. package/dist/esm/gux-tooltip.entry.js +3 -3
  377. package/dist/esm/gux-truncate.entry.js +3 -3
  378. package/dist/esm/index-da21b737.js +4 -0
  379. package/dist/esm/loader.js +1 -1
  380. package/dist/esm/time-zone-49d54a2b.js +7657 -0
  381. package/dist/esm/{usage-7b89648a.js → usage-aa7b41bc.js} +1 -1
  382. package/dist/genesys-webcomponents/genesys-webcomponents.esm.js +1 -1
  383. package/dist/genesys-webcomponents/{p-932f72d9.entry.js → p-00b51e67.entry.js} +1 -1
  384. package/dist/genesys-webcomponents/{p-738bc18d.entry.js → p-015ba6c2.entry.js} +1 -1
  385. package/dist/genesys-webcomponents/{p-49b1764a.entry.js → p-025f0e2b.entry.js} +1 -1
  386. package/dist/genesys-webcomponents/p-035a2718.entry.js +1 -0
  387. package/dist/genesys-webcomponents/{p-452c5b0d.entry.js → p-03e2cbe6.entry.js} +1 -1
  388. package/dist/genesys-webcomponents/p-0437dc64.entry.js +1 -0
  389. package/dist/genesys-webcomponents/{p-b5dfee03.entry.js → p-043b47f9.entry.js} +1 -1
  390. package/dist/genesys-webcomponents/{p-910f4721.entry.js → p-04c0f757.entry.js} +1 -1
  391. package/dist/genesys-webcomponents/{p-2f1d1949.entry.js → p-0522aa6d.entry.js} +1 -1
  392. package/dist/genesys-webcomponents/{p-ee5733de.entry.js → p-06569e2d.entry.js} +1 -1
  393. package/dist/genesys-webcomponents/{p-d7136495.entry.js → p-093f8f77.entry.js} +1 -1
  394. package/dist/genesys-webcomponents/{p-5cded110.js → p-098c0e57.js} +1 -1
  395. package/dist/genesys-webcomponents/{p-5acc1588.entry.js → p-0c015f00.entry.js} +1 -1
  396. package/dist/genesys-webcomponents/{p-e45a56d4.entry.js → p-0c9ff55a.entry.js} +1 -1
  397. package/dist/genesys-webcomponents/{p-4cfbe8c6.entry.js → p-0f9d7f4c.entry.js} +1 -1
  398. package/dist/genesys-webcomponents/{p-791a4344.entry.js → p-10cf7ebd.entry.js} +1 -1
  399. package/dist/genesys-webcomponents/{p-41a1bc81.entry.js → p-1209b591.entry.js} +1 -1
  400. package/dist/genesys-webcomponents/{p-4c2e929e.entry.js → p-135393b0.entry.js} +1 -1
  401. package/dist/genesys-webcomponents/{p-5e8608ca.entry.js → p-155c20fa.entry.js} +1 -1
  402. package/dist/genesys-webcomponents/{p-0010b29a.entry.js → p-17af2f7e.entry.js} +1 -1
  403. package/dist/genesys-webcomponents/{p-d7896017.entry.js → p-17ecf154.entry.js} +1 -1
  404. package/dist/genesys-webcomponents/{p-a76b34bc.entry.js → p-1a30d3ce.entry.js} +1 -1
  405. package/dist/genesys-webcomponents/{p-fafaba43.entry.js → p-1aede5fc.entry.js} +1 -1
  406. package/dist/genesys-webcomponents/{p-a97e85f4.entry.js → p-1ce46adb.entry.js} +1 -1
  407. package/dist/genesys-webcomponents/{p-701383c6.entry.js → p-1d4d3e08.entry.js} +1 -1
  408. package/dist/genesys-webcomponents/{p-a962f9d0.entry.js → p-1e324507.entry.js} +1 -1
  409. package/dist/genesys-webcomponents/{p-75579e00.entry.js → p-1ea57dc3.entry.js} +1 -1
  410. package/dist/genesys-webcomponents/{p-6b648403.entry.js → p-202d8e02.entry.js} +1 -1
  411. package/dist/genesys-webcomponents/{p-272019cc.entry.js → p-26470365.entry.js} +1 -1
  412. package/dist/genesys-webcomponents/{p-a159f63c.entry.js → p-27ac0861.entry.js} +1 -1
  413. package/dist/genesys-webcomponents/p-282651c5.entry.js +1 -0
  414. package/dist/genesys-webcomponents/{p-ba88e8a0.entry.js → p-2e3d82b2.entry.js} +1 -1
  415. package/dist/genesys-webcomponents/{p-c0a1cb45.entry.js → p-2ec56ebd.entry.js} +1 -1
  416. package/dist/genesys-webcomponents/{p-845715d1.entry.js → p-30aa101a.entry.js} +1 -1
  417. package/dist/genesys-webcomponents/{p-fdbe74ea.entry.js → p-32bc1830.entry.js} +1 -1
  418. package/dist/genesys-webcomponents/p-33d52598.entry.js +1 -0
  419. package/dist/genesys-webcomponents/p-3527f66a.entry.js +1 -0
  420. package/dist/genesys-webcomponents/p-39243cee.entry.js +1 -0
  421. package/dist/genesys-webcomponents/{p-5b6fa4aa.entry.js → p-3b5f8cb2.entry.js} +1 -1
  422. package/dist/genesys-webcomponents/{p-b5ce66bb.entry.js → p-3bb3833f.entry.js} +1 -1
  423. package/dist/genesys-webcomponents/{p-dbbc6add.entry.js → p-3ec605e0.entry.js} +1 -1
  424. package/dist/genesys-webcomponents/{p-21f9062f.entry.js → p-4171d0c0.entry.js} +1 -1
  425. package/dist/genesys-webcomponents/{p-7ae26589.entry.js → p-41d692ed.entry.js} +1 -1
  426. package/dist/genesys-webcomponents/p-424c58bb.entry.js +1 -0
  427. package/dist/genesys-webcomponents/p-42a4a814.entry.js +1 -0
  428. package/dist/genesys-webcomponents/{p-cd48592f.entry.js → p-42bfa534.entry.js} +1 -1
  429. package/dist/genesys-webcomponents/{p-4d8c8489.entry.js → p-43b69b39.entry.js} +1 -1
  430. package/dist/genesys-webcomponents/{p-1e5371b8.entry.js → p-45fbbf0b.entry.js} +1 -1
  431. package/dist/genesys-webcomponents/{p-7ae2eff2.entry.js → p-471357b7.entry.js} +1 -1
  432. package/dist/genesys-webcomponents/{p-7eb3dd02.entry.js → p-4789f653.entry.js} +1 -1
  433. package/dist/genesys-webcomponents/{p-fdfd3f7f.entry.js → p-49fc4219.entry.js} +1 -1
  434. package/dist/genesys-webcomponents/{p-63224ca2.entry.js → p-4b7b6cc5.entry.js} +1 -1
  435. package/dist/genesys-webcomponents/{p-1f586ae5.entry.js → p-534c7821.entry.js} +1 -1
  436. package/dist/genesys-webcomponents/{p-8ebe6cad.entry.js → p-53ed5d56.entry.js} +1 -1
  437. package/dist/genesys-webcomponents/{p-f6c4c160.entry.js → p-5420b80d.entry.js} +1 -1
  438. package/dist/genesys-webcomponents/p-54822e3b.js +1 -0
  439. package/dist/genesys-webcomponents/{p-e8f1a964.entry.js → p-589aa4b9.entry.js} +1 -1
  440. package/dist/genesys-webcomponents/{p-f1bd904f.entry.js → p-5b548ede.entry.js} +1 -1
  441. package/dist/genesys-webcomponents/{p-3ec1cae1.entry.js → p-5bcc81a6.entry.js} +1 -1
  442. package/dist/genesys-webcomponents/{p-e637e262.entry.js → p-61bbdf15.entry.js} +1 -1
  443. package/dist/genesys-webcomponents/p-6777b598.entry.js +1 -0
  444. package/dist/genesys-webcomponents/{p-50923f62.entry.js → p-67d68554.entry.js} +1 -1
  445. package/dist/genesys-webcomponents/p-68a3ce56.js +1 -0
  446. package/dist/genesys-webcomponents/{p-d76ee83d.entry.js → p-6d45e54c.entry.js} +1 -1
  447. package/dist/genesys-webcomponents/{p-baf3e3cc.entry.js → p-6d8ce079.entry.js} +1 -1
  448. package/dist/genesys-webcomponents/{p-99c09496.entry.js → p-6ef23b98.entry.js} +1 -1
  449. package/dist/genesys-webcomponents/{p-186ea804.entry.js → p-6f38c8c4.entry.js} +1 -1
  450. package/dist/genesys-webcomponents/p-7326adfe.entry.js +1 -0
  451. package/dist/genesys-webcomponents/{p-1f47e36a.entry.js → p-78296318.entry.js} +1 -1
  452. package/dist/genesys-webcomponents/{p-d71059b0.entry.js → p-7b942bf7.entry.js} +1 -1
  453. package/dist/genesys-webcomponents/{p-8cbf6f8c.entry.js → p-7be88f1f.entry.js} +1 -1
  454. package/dist/genesys-webcomponents/{p-47d4651b.entry.js → p-7d040a23.entry.js} +1 -1
  455. package/dist/genesys-webcomponents/{p-a8871e34.entry.js → p-7f87e9cf.entry.js} +1 -1
  456. package/dist/genesys-webcomponents/{p-93e225d3.entry.js → p-7fe1ff05.entry.js} +1 -1
  457. package/dist/genesys-webcomponents/{p-f171dcc7.entry.js → p-80ace452.entry.js} +1 -1
  458. package/dist/genesys-webcomponents/{p-a48855d4.entry.js → p-852b8c1e.entry.js} +1 -1
  459. package/dist/genesys-webcomponents/{p-9617674c.entry.js → p-8635c0de.entry.js} +1 -1
  460. package/dist/genesys-webcomponents/{p-9456432c.entry.js → p-8788196e.entry.js} +1 -1
  461. package/dist/genesys-webcomponents/{p-e5932e45.entry.js → p-87c2c3b5.entry.js} +1 -1
  462. package/dist/genesys-webcomponents/{p-0358feb6.entry.js → p-88577792.entry.js} +1 -1
  463. package/dist/genesys-webcomponents/{p-3d333253.entry.js → p-8a35ac2a.entry.js} +1 -1
  464. package/dist/genesys-webcomponents/{p-ce0cbb1e.entry.js → p-8d9f9041.entry.js} +1 -1
  465. package/dist/genesys-webcomponents/{p-1e83a663.entry.js → p-946a7b5a.entry.js} +1 -1
  466. package/dist/genesys-webcomponents/{p-105b9424.entry.js → p-951867c4.entry.js} +1 -1
  467. package/dist/genesys-webcomponents/{p-4619670f.entry.js → p-957a9dd5.entry.js} +1 -1
  468. package/dist/genesys-webcomponents/{p-01883986.entry.js → p-96b05417.entry.js} +1 -1
  469. package/dist/genesys-webcomponents/{p-88e8c730.entry.js → p-9902abd0.entry.js} +1 -1
  470. package/dist/genesys-webcomponents/{p-d34e2d20.entry.js → p-9b5200cc.entry.js} +1 -1
  471. package/dist/genesys-webcomponents/{p-e9a2c05f.entry.js → p-9b69c946.entry.js} +1 -1
  472. package/dist/genesys-webcomponents/{p-3f196478.entry.js → p-9f20a7b4.entry.js} +1 -1
  473. package/dist/genesys-webcomponents/{p-21d911cd.entry.js → p-9f5c901e.entry.js} +1 -1
  474. package/dist/genesys-webcomponents/p-a0ca75c5.entry.js +1 -0
  475. package/dist/genesys-webcomponents/{p-34da27b1.entry.js → p-a196a61e.entry.js} +1 -1
  476. package/dist/genesys-webcomponents/{p-071b26f6.entry.js → p-a2e02042.entry.js} +1 -1
  477. package/dist/genesys-webcomponents/{p-6e3ee4a5.entry.js → p-a5238c83.entry.js} +1 -1
  478. package/dist/genesys-webcomponents/{p-d4005404.entry.js → p-a84a1d0e.entry.js} +1 -1
  479. package/dist/genesys-webcomponents/{p-430a5f24.entry.js → p-ab730c30.entry.js} +1 -1
  480. package/dist/genesys-webcomponents/{p-49a1c24f.entry.js → p-ac1d0f30.entry.js} +1 -1
  481. package/dist/genesys-webcomponents/{p-2e39c897.entry.js → p-ae214410.entry.js} +1 -1
  482. package/dist/genesys-webcomponents/{p-6f89da63.entry.js → p-b2df6d1e.entry.js} +1 -1
  483. package/dist/genesys-webcomponents/p-b7bf5feb.entry.js +1 -0
  484. package/dist/genesys-webcomponents/{p-4ff08fc3.entry.js → p-b89b91a9.entry.js} +1 -1
  485. package/dist/genesys-webcomponents/{p-d766d08d.entry.js → p-b8cc63d0.entry.js} +1 -1
  486. package/dist/genesys-webcomponents/{p-6fd70b53.entry.js → p-bafe1b71.entry.js} +1 -1
  487. package/dist/genesys-webcomponents/{p-812bd311.entry.js → p-bb2b97b9.entry.js} +1 -1
  488. package/dist/genesys-webcomponents/p-bd8f52f1.entry.js +1 -0
  489. package/dist/genesys-webcomponents/{p-61f2648a.entry.js → p-c817f633.entry.js} +1 -1
  490. package/dist/genesys-webcomponents/{p-1608cc1b.entry.js → p-c9e7e517.entry.js} +1 -1
  491. package/dist/genesys-webcomponents/{p-9ebdfbc4.entry.js → p-ccd22a8c.entry.js} +1 -1
  492. package/dist/genesys-webcomponents/{p-670489f5.entry.js → p-ce4cb1d0.entry.js} +1 -1
  493. package/dist/genesys-webcomponents/{p-cc041b28.entry.js → p-d2d9c4e9.entry.js} +1 -1
  494. package/dist/genesys-webcomponents/p-d35d1f42.entry.js +1 -0
  495. package/dist/genesys-webcomponents/p-d409f37b.entry.js +1 -0
  496. package/dist/genesys-webcomponents/{p-1581fcef.entry.js → p-d5e0aab6.entry.js} +1 -1
  497. package/dist/genesys-webcomponents/{p-1cc32ffd.entry.js → p-db850e5a.entry.js} +1 -1
  498. package/dist/genesys-webcomponents/{p-273548e3.entry.js → p-dc1eb0c9.entry.js} +1 -1
  499. package/dist/genesys-webcomponents/{p-fbad9fbe.entry.js → p-dcc03a70.entry.js} +1 -1
  500. package/dist/genesys-webcomponents/{p-007a9152.entry.js → p-de05a6a6.entry.js} +1 -1
  501. package/dist/genesys-webcomponents/p-df3f7c3c.entry.js +1 -0
  502. package/dist/genesys-webcomponents/{p-45e2c1c6.entry.js → p-e047f9ee.entry.js} +1 -1
  503. package/dist/genesys-webcomponents/{p-7a10675c.entry.js → p-e2832fbe.entry.js} +1 -1
  504. package/dist/genesys-webcomponents/{p-7fa5933e.entry.js → p-e623ad0c.entry.js} +1 -1
  505. package/dist/genesys-webcomponents/{p-3645f8d2.entry.js → p-f03c9b93.entry.js} +1 -1
  506. package/dist/genesys-webcomponents/{p-f0c4f049.entry.js → p-f28527cd.entry.js} +1 -1
  507. package/dist/genesys-webcomponents/{p-ccb633c0.entry.js → p-f2d7b9ad.entry.js} +1 -1
  508. package/dist/genesys-webcomponents/{p-4c043d35.entry.js → p-f78350c7.entry.js} +1 -1
  509. package/dist/genesys-webcomponents/p-fef04e83.entry.js +1 -0
  510. package/dist/stencil-wrapper.js +1 -1
  511. package/dist/types/components/beta/gux-time-zone/gux-time-zone.d.ts +28 -0
  512. package/dist/types/components/beta/gux-time-zone/gux-time-zone.service.d.ts +3 -0
  513. package/dist/types/components.d.ts +45 -0
  514. package/dist/types/stencil-wrapper.d.ts +1 -1
  515. package/dist/types/utils/dom/focus-input-element.d.ts +1 -0
  516. package/package.json +1 -1
  517. package/dist/genesys-webcomponents/p-034a8a0e.entry.js +0 -1
  518. package/dist/genesys-webcomponents/p-0c094c4a.entry.js +0 -1
  519. package/dist/genesys-webcomponents/p-0fd0a130.entry.js +0 -1
  520. package/dist/genesys-webcomponents/p-2162d366.entry.js +0 -1
  521. package/dist/genesys-webcomponents/p-26d27228.entry.js +0 -1
  522. package/dist/genesys-webcomponents/p-4db03f11.entry.js +0 -1
  523. package/dist/genesys-webcomponents/p-51e5d776.entry.js +0 -1
  524. package/dist/genesys-webcomponents/p-91c9d868.entry.js +0 -1
  525. package/dist/genesys-webcomponents/p-977e9d28.entry.js +0 -1
  526. package/dist/genesys-webcomponents/p-a40f7d99.entry.js +0 -1
  527. package/dist/genesys-webcomponents/p-a93d6bae.entry.js +0 -1
  528. package/dist/genesys-webcomponents/p-b908a9ab.entry.js +0 -1
  529. package/dist/genesys-webcomponents/p-becf393f.entry.js +0 -1
  530. package/dist/genesys-webcomponents/p-bfc42123.entry.js +0 -1
  531. package/dist/genesys-webcomponents/p-cc43bf2f.entry.js +0 -1
  532. package/dist/genesys-webcomponents/p-e50cf0f4.entry.js +0 -1
@@ -1 +1 @@
1
- import{r as t,h as i,H as o,g as e}from"./p-2e827df1.js";import{a as s,o as a,f as r,s as n,h as l,c as h}from"./p-b43ee47b.js";import{r as d}from"./p-0934300e.js";import{t as c}from"./p-5cded110.js";import{f as p}from"./p-9b0d3713.js";import{b as g}from"./p-cf0e7d3b.js";const u=class{constructor(i){t(this,i),this.pointerenterHandler=()=>this.show(),this.pointerleaveHandler=()=>this.hide(),this.focusinHandler=()=>this.show(),this.focusoutHandler=()=>this.hide(),this.forElementListeners=new Map([["pointerenter",this.pointerenterHandler],["pointerleave",this.pointerleaveHandler],["focusin",this.focusinHandler],["focusout",this.focusoutHandler]]),this.id=d("gux-tooltip"),this.for=void 0,this.placement="bottom-start",this.accent="light",this.isShown=!1}handleKeyDown(t){"Escape"===t.key&&this.isShown&&this.hide()}async showTooltip(){this.show()}async hideTooltip(){this.hide()}runUpdatePosition(){this.cleanupUpdatePosition=s(this.forElement,this.root,(()=>this.updatePosition()),{ancestorScroll:!0,elementResize:!0,animationFrame:!1,ancestorResize:!0})}updatePosition(){const t=[a(16),r(),n(),l()];h(this.forElement,this.root,{placement:this.placement,strategy:"fixed",middleware:t}).then((({x:t,y:i,middlewareData:o})=>{var e;Object.assign(this.root.style,{left:`${t}px`,top:`${i}px`,visibility:(null===(e=o.hide)||void 0===e?void 0:e.referenceHidden)?"hidden":"visible"}),this.root.setAttribute("data-placement",this.placement)}))}show(){this.isShown=!0,g((()=>{this.runUpdatePosition()}))}hide(){this.cleanupUpdatePosition&&this.cleanupUpdatePosition(),this.isShown=!1}getForElement(){return this.for?p(this.root,this.for):this.root.parentElement}logForAttributeError(){this.root.isConnected&&console.error(`gux-tooltip: invalid element supplied to 'for': "${this.for}"`)}setForElement(){this.forElement=this.getForElement(),this.forElement?(this.forElement.setAttribute("aria-describedby",this.id),this.forElementListeners.forEach(((t,i)=>this.forElement.addEventListener(i,t)))):this.logForAttributeError()}disconnectForElement(){this.forElement&&(this.forElement.removeAttribute("aria-describedby"),this.forElementListeners.forEach(((t,i)=>this.forElement.removeEventListener(i,t))))}updateForElement(){this.disconnectForElement(),this.setForElement()}connectedCallback(){this.setForElement()}componentWillLoad(){c(this.root,{variant:this.placement})}disconnectedCallback(){this.cleanupUpdatePosition&&this.cleanupUpdatePosition(),this.disconnectForElement()}render(){return i(o,{key:"72a9593cc9ee3bf1b3a55b933c830409a6bf1e8c",id:this.id,class:{"gux-show":this.isShown},role:"tooltip"},i("div",{key:"265376cc6eb7238a8e39a113146c64983e410aa4",class:{"gux-container":!0,[`gux-${this.accent}`]:!0},"data-placement":this.placement},i("slot",{key:"a01233fdcbde3eae7525f1d4101548a2c84221ad",name:"content"},i("slot",{key:"212dce4370264009615ce7bfb5237cf07483f0a5"}))))}get root(){return e(this)}static get watchers(){return{for:["updateForElement"]}}};u.style=":host{position:fixed;z-index:var(--gse-semantic-zIndex-tooltip);display:none;width:max-content;max-width:250px;pointer-events:none;border-radius:var(--gse-ui-tooltip-borderRadius);box-shadow:var(--gse-ui-tooltip-boxShadow-x) var(--gse-ui-tooltip-boxShadow-y) var(--gse-ui-tooltip-boxShadow-blur) var(--gse-ui-tooltip-boxShadow-spread) var(--gse-ui-tooltip-boxShadow-color);opacity:0}:host(.gux-show){display:block;animation-name:fade-in;animation-duration:250ms;animation-delay:1s;animation-fill-mode:forwards}.gux-container{box-sizing:border-box;display:flex;flex-direction:row;gap:var(--gse-ui-tooltip-gap);place-content:center flex-start;padding:var(--gse-ui-tooltip-padding);font-family:var(--gse-ui-tooltip-text-fontFamily);font-size:var(--gse-ui-tooltip-text-fontSize);font-weight:var(--gse-ui-tooltip-text-fontWeight);line-height:var(--gse-ui-tooltip-text-lineHeight);color:var(--gse-ui-tooltip-light-foregroundColor);background-color:var(--gse-ui-tooltip-light-backgroundColor);border:var(--gse-ui-tooltip-light-border-width) var(--gse-ui-tooltip-light-border-style) var(--gse-ui-tooltip-light-border-color);border-radius:var(--gse-ui-tooltip-borderRadius)}.gux-container ::slotted(gux-icon){align-self:center;width:var(--gse-ui-icon-size-sm);height:var(--gse-ui-icon-size-sm);color:var(--gse-ui-tooltip-light-iconColor)}.gux-container ::slotted(*){width:100%;overflow-wrap:break-word;white-space:normal}.gux-container.gux-dark{color:var(--gse-ui-tooltip-dark-foregroundColor);background-color:var(--gse-ui-tooltip-dark-backgroundColor);border-color:var(--gse-ui-tooltip-dark-border-color)}.gux-container.gux-dark ::slotted(gux-icon){align-self:center;width:var(--gse-ui-icon-size-sm);height:var(--gse-ui-icon-size-sm);color:var(--gse-ui-tooltip-dark-iconColor)}@keyframes fade-in{0%{opacity:0}100%{opacity:1}}";export{u as gux_tooltip}
1
+ import{r as t,h as i,H as o,g as e}from"./p-2e827df1.js";import{a as s,o as a,f as r,s as n,h as l,c as h}from"./p-b43ee47b.js";import{r as d}from"./p-0934300e.js";import{t as c}from"./p-098c0e57.js";import{f as p}from"./p-9b0d3713.js";import{b as g}from"./p-cf0e7d3b.js";const u=class{constructor(i){t(this,i),this.pointerenterHandler=()=>this.show(),this.pointerleaveHandler=()=>this.hide(),this.focusinHandler=()=>this.show(),this.focusoutHandler=()=>this.hide(),this.forElementListeners=new Map([["pointerenter",this.pointerenterHandler],["pointerleave",this.pointerleaveHandler],["focusin",this.focusinHandler],["focusout",this.focusoutHandler]]),this.id=d("gux-tooltip"),this.for=void 0,this.placement="bottom-start",this.accent="light",this.isShown=!1}handleKeyDown(t){"Escape"===t.key&&this.isShown&&this.hide()}async showTooltip(){this.show()}async hideTooltip(){this.hide()}runUpdatePosition(){this.cleanupUpdatePosition=s(this.forElement,this.root,(()=>this.updatePosition()),{ancestorScroll:!0,elementResize:!0,animationFrame:!1,ancestorResize:!0})}updatePosition(){const t=[a(16),r(),n(),l()];h(this.forElement,this.root,{placement:this.placement,strategy:"fixed",middleware:t}).then((({x:t,y:i,middlewareData:o})=>{var e;Object.assign(this.root.style,{left:`${t}px`,top:`${i}px`,visibility:(null===(e=o.hide)||void 0===e?void 0:e.referenceHidden)?"hidden":"visible"}),this.root.setAttribute("data-placement",this.placement)}))}show(){this.isShown=!0,g((()=>{this.runUpdatePosition()}))}hide(){this.cleanupUpdatePosition&&this.cleanupUpdatePosition(),this.isShown=!1}getForElement(){return this.for?p(this.root,this.for):this.root.parentElement}logForAttributeError(){this.root.isConnected&&console.error(`gux-tooltip: invalid element supplied to 'for': "${this.for}"`)}setForElement(){this.forElement=this.getForElement(),this.forElement?(this.forElement.setAttribute("aria-describedby",this.id),this.forElementListeners.forEach(((t,i)=>this.forElement.addEventListener(i,t)))):this.logForAttributeError()}disconnectForElement(){this.forElement&&(this.forElement.removeAttribute("aria-describedby"),this.forElementListeners.forEach(((t,i)=>this.forElement.removeEventListener(i,t))))}updateForElement(){this.disconnectForElement(),this.setForElement()}connectedCallback(){this.setForElement()}componentWillLoad(){c(this.root,{variant:this.placement})}disconnectedCallback(){this.cleanupUpdatePosition&&this.cleanupUpdatePosition(),this.disconnectForElement()}render(){return i(o,{key:"58ffcb9d5bb8a5ee638cc4f4ecfa948cfb912253",id:this.id,class:{"gux-show":this.isShown},role:"tooltip"},i("div",{key:"4c250ba6ab30b89bf2a8949514047de03ec3db0c",class:{"gux-container":!0,[`gux-${this.accent}`]:!0},"data-placement":this.placement},i("slot",{key:"a0317a87948d0fb91f0a591ad63419605b5a6d34",name:"content"},i("slot",{key:"43befaf01580296f7aefee7619cec57d00164b92"}))))}get root(){return e(this)}static get watchers(){return{for:["updateForElement"]}}};u.style=":host{position:fixed;z-index:var(--gse-semantic-zIndex-tooltip);display:none;width:max-content;max-width:250px;pointer-events:none;border-radius:var(--gse-ui-tooltip-borderRadius);box-shadow:var(--gse-ui-tooltip-boxShadow-x) var(--gse-ui-tooltip-boxShadow-y) var(--gse-ui-tooltip-boxShadow-blur) var(--gse-ui-tooltip-boxShadow-spread) var(--gse-ui-tooltip-boxShadow-color);opacity:0}:host(.gux-show){display:block;animation-name:fade-in;animation-duration:250ms;animation-delay:1s;animation-fill-mode:forwards}.gux-container{box-sizing:border-box;display:flex;flex-direction:row;gap:var(--gse-ui-tooltip-gap);place-content:center flex-start;padding:var(--gse-ui-tooltip-padding);font-family:var(--gse-ui-tooltip-text-fontFamily);font-size:var(--gse-ui-tooltip-text-fontSize);font-weight:var(--gse-ui-tooltip-text-fontWeight);line-height:var(--gse-ui-tooltip-text-lineHeight);color:var(--gse-ui-tooltip-light-foregroundColor);background-color:var(--gse-ui-tooltip-light-backgroundColor);border:var(--gse-ui-tooltip-light-border-width) var(--gse-ui-tooltip-light-border-style) var(--gse-ui-tooltip-light-border-color);border-radius:var(--gse-ui-tooltip-borderRadius)}.gux-container ::slotted(gux-icon){align-self:center;width:var(--gse-ui-icon-size-sm);height:var(--gse-ui-icon-size-sm);color:var(--gse-ui-tooltip-light-iconColor)}.gux-container ::slotted(*){width:100%;overflow-wrap:break-word;white-space:normal}.gux-container.gux-dark{color:var(--gse-ui-tooltip-dark-foregroundColor);background-color:var(--gse-ui-tooltip-dark-backgroundColor);border-color:var(--gse-ui-tooltip-dark-border-color)}.gux-container.gux-dark ::slotted(gux-icon){align-self:center;width:var(--gse-ui-icon-size-sm);height:var(--gse-ui-icon-size-sm);color:var(--gse-ui-tooltip-dark-iconColor)}@keyframes fade-in{0%{opacity:0}100%{opacity:1}}";export{u as gux_tooltip}
@@ -0,0 +1 @@
1
+ import{r as t,h as i,g as e}from"./p-2e827df1.js";import{t as o}from"./p-098c0e57.js";import{b as s}from"./p-0367930a.js";import"./p-4202e9f2.js";const n={dismiss:"Dismiss"},a=class{constructor(i){t(this,i),this.position="absolute"}async componentWillLoad(){o(this.root,{variant:this.position}),this.i18n=await s(this.root,n)}render(){return i("gux-button-slot",{key:"83378466334b72279df60b88cfe410a74f11ca02",accent:"ghost",class:"inherit"==this.position?"gux-inherit":void 0},i("button",{key:"02546ece8f67f304eff7b5855491c8e0ffe6a905",type:"button",title:this.i18n("dismiss")},i("div",{key:"f9829ff48e74cbae901e06770430bf9683b2069a",class:"gux-icon-container"},i("gux-icon",{key:"7018c674a3e0a9f225930e748e31239ed601b1c2","icon-name":"fa/xmark-large-regular",decorative:!0}))))}static get delegatesFocus(){return!0}get root(){return e(this)}};a.style="gux-button-slot{position:absolute;top:var(--gse-ui-modal-dismissButton-paddingTop);right:var(--gse-ui-modal-dismissButton-paddingRight)}gux-button-slot.gux-inherit{position:inherit}gux-button-slot .gux-icon-container{display:flex;flex-direction:row;flex-wrap:nowrap;place-content:stretch center;align-items:center;width:8px}gux-button-slot .gux-icon-container gux-icon{flex:0 0 auto;align-self:auto;order:0;width:16px;height:16px;color:var(--gse-ui-dismissButton-foregroundColor)}";export{a as gux_dismiss_button}
@@ -0,0 +1 @@
1
+ import{r as e,f as t,h as a,g as r}from"./p-2e827df1.js";import{b as s}from"./p-0367930a.js";import{t as c}from"./p-098c0e57.js";import"./p-4202e9f2.js";const i={breadcrumbs:"Breadcrumbs"},o=class{constructor(t){e(this,t),this.accent="primary"}componentWillLoad(){c(this.root,{variant:this.accent})}async componentWillRender(){this.i18n=await s(this.root,i)}onSlotChange(){Array.from(this.root.children).forEach((e=>t(e)))}render(){return a("nav",{key:"cd80398b510699e4106c23d9ff371d6cb1ccd7cc","aria-label":this.i18n("breadcrumbs")},a("ol",{key:"fc9defd6e0b44c64c2d42646a01f5e6a8ab0f2c5"},a("slot",{key:"f7c68255a50ce75964be0e7ad9b3ff79f655a606",onSlotchange:this.onSlotChange.bind(this)})))}get root(){return r(this)}};o.style="ol{display:flex;flex-direction:row;flex-wrap:wrap;place-content:flex-start flex-start;align-items:center;padding:0;margin:0;list-style:none}";export{o as gux_breadcrumbs}
@@ -0,0 +1 @@
1
+ import{r as t,h as i,g as e}from"./p-2e827df1.js";import{b as o}from"./p-0367930a.js";import{t as a}from"./p-098c0e57.js";import"./p-4202e9f2.js";const n={navigationName:"Skip links navigation"},s=class{constructor(i){t(this,i)}async componentWillLoad(){a(this.root),this.i18n=await o(this.root,n)}render(){return i("div",{key:"3978590d77fd2434fff4438be8eab23c171fa481",class:"gux-container"},i("nav",{key:"251418bdbd8f7b2ebedf9ecf13c6b5bf49f0df36","aria-label":this.i18n("navigationName")},i("ul",{key:"21423b041708188886ab7fa1ec5e624184bf98b5",role:"list"},i("slot",{key:"829d83bb4302c6a84ce3818483f375978e7f0724"}))))}static get delegatesFocus(){return!0}get root(){return e(this)}};s.style=":host{position:absolute;top:auto;left:-10000px;width:1px;height:1px;overflow:hidden}:host(:focus-within){position:inherit;top:inherit;left:inherit;width:inherit;height:inherit;overflow:inherit;position:absolute;inset:0}.gux-container nav{width:fit-content;margin:40px auto}.gux-container nav ul{padding:0;margin:0}";export{s as gux_skip_navigation_list}
@@ -1 +1 @@
1
- import{r as e,c as t,h as o,H as i,g as s}from"./p-2e827df1.js";import{r as n}from"./p-0934300e.js";import{b as a}from"./p-0367930a.js";import{h as r}from"./p-6d8b4027.js";import"./p-4202e9f2.js";const u={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,u),this.root.id=this.root.id||n("gux-option-multi"),this.custom&&this.internalselectcustomoption.emit(this.value),this.onSubtextChange()}onSubtextChange(){this.hasSubtext=r(this.root,"subtext")}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:"26f74ac330d738ac01119c81505f4a472dee3711",role:"option",class:{"gux-active":this.active,"gux-disabled":this.disabled,"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:"91646c7ee2054f8dbabdd0a9df8a655386d2f1d8",class:"gux-option-wrapper"},o("gux-truncate",{key:"4ef49a5f4d0e4b8672f5b806f1b01a0e171c986a",ref:e=>this.truncateElement=e},o("slot",{key:"43aadbe104fa7f9e6991b276bc3bab20c09931f3"})),o("slot",{key:"cc9a573d680b1979acce992d7a28ddb01d2a933d",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-height: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{width:100%}:host .gux-checkbox-container{position:relative;display:inline-block;min-width:var(--gse-ui-menu-option-startIcon-width);max-width:var(--gse-ui-menu-option-startIcon-width);height: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-focusRing-cornerRadius);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;height:auto}:host:host(.gux-show-subtext) .gux-option-wrapper{display:flex;flex-direction:column}:host:host(.gux-show-subtext) slot[name=subtext]::slotted(*){height:var(--gse-ui-groupedMenu-subtext-height);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
+ import{r as e,c as t,h as o,H as i,g as s}from"./p-2e827df1.js";import{r as n}from"./p-0934300e.js";import{b as a}from"./p-0367930a.js";import{h as r}from"./p-6d8b4027.js";import"./p-4202e9f2.js";const u={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,u),this.root.id=this.root.id||n("gux-option-multi"),this.custom&&this.internalselectcustomoption.emit(this.value),this.onSubtextChange()}onSubtextChange(){this.hasSubtext=r(this.root,"subtext")}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:"c0ee80a1e887bce0a0a793df494fd429ddb4a60c",role:"option",class:{"gux-active":this.active,"gux-disabled":this.disabled,"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:"da6a8e6cf621311a22d870ce16969909561e4834",class:"gux-option-wrapper"},o("gux-truncate",{key:"1f3c00b576ea51da0df4343f7e240f30ae86216f",ref:e=>this.truncateElement=e},o("slot",{key:"c3eaf571850d783cc475707a0f7ce6c6683a3226"})),o("slot",{key:"f8e8ea760065b9d1125e5e0bda6c84d273e135a4",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-height: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{width:100%}:host .gux-checkbox-container{position:relative;display:inline-block;min-width:var(--gse-ui-menu-option-startIcon-width);max-width:var(--gse-ui-menu-option-startIcon-width);height: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-focusRing-cornerRadius);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;height:auto}:host:host(.gux-show-subtext) .gux-option-wrapper{display:flex;flex-direction:column}:host:host(.gux-show-subtext) slot[name=subtext]::slotted(*){height:var(--gse-ui-groupedMenu-subtext-height);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,c as t,h as a,g as n}from"./p-2e827df1.js";import{a as r}from"./p-cf0e7d3b.js";import{b as d,c as i,a as s,f as o}from"./p-9349b5e4.js";import{t as u}from"./p-5cded110.js";import{g as l,a as c}from"./p-0367930a.js";import{c as g}from"./p-267e2aed.js";import{u as h,d as x}from"./p-a5415051.js";import"./p-4202e9f2.js";function b(e,t){f(e,"remove",t)}function f(e=[],t,a){const n=[].concat(e);for(const e of n)e.classList[t](a)}function v(e,t){return h()?g(x(t,{year:"numeric",month:"long"}).format(e)):g(e.toLocaleDateString(t,{year:"numeric",month:"long"}))}const m=class{constructor(a){e(this,a),this.calendarSelect=t(this,"calendarSelect",7),this.locale="en",this.value="",this.minDate="",this.maxDate="",this.mode="single",this.numberOfMonths=1,this.startDayOfWeek=void 0,this.previewValue=new Date,this.selectingDate=null}emitCalendarSelect(){this.calendarSelect.emit(this.value)}async setValue(e){if("range"===this.mode&&e instanceof Array){const[t,a]=e;this.value=d(t,a),this.previewValue=i(this.value)[0]}else{const t=e;this.value=s(t),this.previewValue=t}}async focusPreviewDate(){const e=this.root.shadowRoot.querySelector(`td[data-date="${this.previewValue.getTime()}"]`);e&&e.focus()}async resetCalendarView(e){this.previewValue=e}incrementPreviewDateByMonth(e){this.previewValue=new Date(this.previewValue.getFullYear(),this.previewValue.getMonth()+e,15,0,0,0),r((()=>{this.focusPreviewDate()}))}async setValueAndEmit(e){await this.setValue(e),this.emitCalendarSelect()}outOfBounds(e){return""!==this.maxDate&&o(this.maxDate)<e||""!==this.minDate&&o(this.minDate)>e}generateDatesFrom(e,t,a){const n=[],r=new Date(t.getFullYear(),t.getMonth(),t.getDate(),0,0,0,0);for(let t=0;t<a;t++){const t=new Date(r.getFullYear(),r.getMonth(),r.getDate(),0,0,0,0),a=[],d=new Date,s=r.getFullYear()===d.getFullYear()&&r.getMonth()===d.getMonth()&&r.getDate()===d.getDate();let u=!1,l=!1;t.getMonth()!==e&&(a.push("gux-not-in-month"),u=!0,"range"===this.mode&&(a.push("gux-hidden"),l=!0)),this.outOfBounds(t)&&(a.push("gux-disabled"),u=!0);let c=!1;if(s&&a.push("gux-current-date"),"range"===this.mode){const[e,n]=i(this.value),r=e.getTime(),d=n.getTime();t.getTime()===r&&t.getTime()===d?(c=!0,a.push("gux-selected")):t.getTime()===r?(c=!0,a.push("gux-selected"),a.push("gux-start-date")):t.getTime()===d&&(c=!0,a.push("gux-selected"),a.push("gux-end-date"))}else{const e=o(this.value).getTime();t.getTime()===e&&(c=!0,a.push("gux-selected"))}n.push({class:a.join(" "),date:t,hidden:l,disabled:u,selected:c,isToday:s}),r.setDate(r.getDate()+1)}return n}create2DArray(e,t){const a=[];for(let n=0;n<t-1;n++){const r=e.slice(n*t,n*t+t);this.weekShouldBeDisplayed(r)&&a.push(r)}return a}isFocusableDate(e){return e.selected||this.previewValue.getTime()===e.date.getTime()}weekShouldBeDisplayed(e){const t=e.find((e=>!e.hidden));return e.length&&!!t}getMonthDays(e){const t=new Date(this.previewValue.getTime());t.setDate(1),t.setMonth(t.getMonth()+e);const a=t.getMonth(),n=function(e,t,a){const n=new Date(t,e,1,1,0,0,0),r=-1*(a-n.getDay()-7)%7;return new Date(n.getTime()-864e5*r)}(a,t.getFullYear(),this.startDayOfWeek),r=this.generateDatesFrom(a,n,42);return this.create2DArray(r,7)}addDays(e,t){const a=new Date(e.valueOf());return a.setDate(a.getDate()+t),a}getAllDatesElements(){const e=this.root.shadowRoot.querySelectorAll("td");return Array.from(e)}getAllSelectableDatesElements(){const e=this.root.shadowRoot.querySelectorAll('td[tabindex="0"]');return Array.from(e)}getRangeDatesElements(e,t){const a=[];let n;n=t<e?this.getRangeDates(t,e):this.getRangeDates(e,t);for(const e of n){const t=this.root.shadowRoot.querySelector(`td[data-date="${e.getTime()}"]:not(.gux-hidden)`);t&&a.push(t)}return a}getRangeDates(e,t){const a=[];let n=e;for(;n<=t;)a.push(new Date(n)),n=this.addDays(n,1);return a}async onDateClick(e){if(!this.outOfBounds(e))if("range"!==this.mode)await this.setValueAndEmit(e);else if(null===this.selectingDate)b(this.getAllDatesElements(),"gux-hovered"),this.selectingDate=new Date(e.valueOf()),this.value=d(e,e);else{const t=this.root.shadowRoot.querySelector(`td[data-date="${e.getTime()}"]`);t&&t.classList.add("gux-selected"),this.updateRangeElements(),await this.setValueAndEmit([this.selectingDate,e]),this.previewValue=e,this.selectingDate=null}}onDateMouseEnter(e){"range"===this.mode&&null!==this.selectingDate&&(this.value=d(e,this.selectingDate),this.updateRangeElements())}updateRangeElements(){if("range"===this.mode){b(this.getAllDatesElements(),"gux-hovered");const[e,t]=i(this.value);f(this.getRangeDatesElements(e,t),"add","gux-hovered")}}async onKeyDown(e){switch(e.key){case" ":case"Enter":e.preventDefault(),await this.onDateClick(this.previewValue);break;case"ArrowDown":e.preventDefault(),this.previewValue=new Date(this.previewValue.setDate(this.previewValue.getDate()+7)),this.onDateMouseEnter(this.previewValue),r((()=>{this.focusPreviewDate()}));break;case"ArrowUp":e.preventDefault(),this.previewValue=new Date(this.previewValue.setDate(this.previewValue.getDate()-7)),this.onDateMouseEnter(this.previewValue),r((()=>{this.focusPreviewDate()}));break;case"ArrowLeft":e.preventDefault(),this.previewValue=new Date(this.previewValue.setDate(this.previewValue.getDate()-1)),this.onDateMouseEnter(this.previewValue),r((()=>{this.focusPreviewDate()}));break;case"ArrowRight":e.preventDefault(),this.previewValue=new Date(this.previewValue.setDate(this.previewValue.getDate()+1)),this.onDateMouseEnter(this.previewValue),r((()=>{this.focusPreviewDate()}));break;case"PageUp":this.incrementPreviewDateByMonth(1),this.onDateMouseEnter(this.previewValue);break;case"PageDown":this.incrementPreviewDateByMonth(-1),this.onDateMouseEnter(this.previewValue)}}componentWillLoad(){if(u(this.root,{variant:this.mode}),this.locale=l(this.root),this.startDayOfWeek=this.startDayOfWeek||c(this.locale),!this.value){const e=new Date;e.setHours(0,0,0,0),this.value="range"===this.mode?d(e,e):s(e)}this.previewValue=o(this.value)}componentDidRender(){this.updateRangeElements()}renderMonthHeader(){return a("div",{class:"gux-month-list"},Array.from(Array(this.numberOfMonths).keys()).map((e=>{const t=function(e,t){const a=new Date(e);return a.setDate(1),a.setMonth(a.getMonth()+t),a}(this.previewValue,e);return a("label",null,v(t,this.locale))})))}renderCalendarTable(e){return a("table",null,a("tr",null,function(e,t){const a=[],n=new Date(1970,0,4);for(let t=0;t<7;t++){const t=n.toLocaleString(e,{weekday:"narrow"});a.push(t),n.setDate(n.getDate()+1)}return(r=a).concat(r.splice(0,(d=t)>r.length?d%r.length:d));var r,d}(this.locale,this.startDayOfWeek).map((e=>a("th",null,e)))),this.getMonthDays(e).map((e=>a("tr",null,e.map((e=>a("td",{tabindex:this.isFocusableDate(e)?"0":"-1",class:e.class,"aria-hidden":e.hidden?"true":"false","aria-disabled":e.disabled?"true":"false","data-date":e.date.getTime(),onClick:()=>{this.onDateClick(e.date)},onMouseEnter:()=>this.onDateMouseEnter(e.date),onKeyDown:e=>{this.onKeyDown(e)}},a("div",{class:"gux-date"},e.date.getDate(),a("span",{class:"gux-sr-only"},v(e.date,this.locale))))))))))}render(){return a("div",{key:"4a276aef1eebfd772d72c89a7045cdfa32d4cb68",class:"gux-calendar"},a("div",{key:"df59ceb11b7cbf7d9479908448740164082f96d3",class:"gux-header"},a("button",{key:"4442b2517beb58274fc40512e45451bfa6c8759e",type:"button",class:"gux-left",onClick:()=>this.incrementPreviewDateByMonth(-1),tabindex:"-1","aria-hidden":"true"},a("gux-icon",{key:"831b9ba2c759171aae07c8ed82913f5a5a9c951a",decorative:!0,"icon-name":"custom/chevron-left-small-regular"})),this.renderMonthHeader(),a("button",{key:"a19d13d912774ff4e9906259860cdccf66ea3206",type:"button",class:"gux-right",onClick:()=>this.incrementPreviewDateByMonth(1),tabindex:"-1","aria-hidden":"true"},a("gux-icon",{key:"ed01c461b9e2b03b8fcee6e6e869063e97511edd",decorative:!0,"icon-name":"custom/chevron-right-small-regular"}))),a("div",{key:"8862931ddc372b822e98978482d33fd703664c37",class:"gux-content"},Array.from(Array(this.numberOfMonths).keys()).map((e=>this.renderCalendarTable(e)))))}get root(){return n(this)}};m.style=":host{display:inline-block}.gux-calendar{margin-top:2px;border-radius:var(--gse-ui-calendarMenu-single-body-borderRadius);box-shadow:var(--gse-ui-calendarMenu-boxShadow-x) var(--gse-ui-calendarMenu-boxShadow-y) var(--gse-ui-calendarMenu-boxShadow-blur) var(--gse-ui-calendarMenu-boxShadow-spread) var(--gse-ui-calendarMenu-boxShadow-color)}.gux-calendar .gux-header{position:relative;display:flex;gap:var(--gse-ui-calendarMenu-header-gap);align-items:center;justify-content:space-between;height:var(--gse-ui-calendarMenu-month-single-header-height);padding:var(--gse-ui-calendarMenu-header-padding);font-weight:var(--gse-ui-calendarMenu-month-currentText-fontWeight);color:var(--gse-ui-calendarMenu-header-foregroundColor);background-color:var(--gse-ui-calendarMenu-header-backgroundColor);border-radius:var(--gse-ui-calendarMenu-single-header-borderRadius)}.gux-calendar .gux-header button{position:absolute;color:var(--gse-ui-calendarMenu-month-monthHeader-foregroundColor);cursor:pointer;background:none;border:none;outline:none}.gux-calendar .gux-header button:focus-visible{outline:var(--gse-ui-formControl-input-focus-border-width) var(--gse-ui-formControl-input-focus-border-style) var(--gse-ui-formControl-input-focus-border-color)}.gux-calendar .gux-header button.gux-left{left:18px}.gux-calendar .gux-header button.gux-right{right:18px}.gux-calendar .gux-header button gux-icon{width:var(--gse-ui-icon-size-sm);height:var(--gse-ui-icon-size-sm);pointer-events:none}.gux-calendar .gux-header .gux-month-list{display:flex;justify-content:space-between;width:100%;font-family:var(--gse-ui-calendarMenu-month-headerText-fontFamily);font-size:var(--gse-ui-calendarMenu-month-headerText-fontSize);line-height:var(--gse-ui-calendarMenu-month-headerText-lineHeight)}.gux-calendar .gux-header .gux-month-list label{width:100%;text-align:center}.gux-calendar .gux-content{display:flex;align-items:flex-start;height:var(--gse-ui-calendarMenu-height);padding:var(--gse-ui-calendarMenu-dateBody-padding);color:var(--gse-ui-calendarMenu-month-default-foregroundColor);background-color:var(--gse-ui-calendarMenu-backgroundColor);border-radius:var(--gse-ui-calendarMenu-single-body-borderRadius)}.gux-calendar .gux-content table{width:var(--gse-ui-calendarMenu-day-input-width);text-align:left;table-layout:fixed;border-spacing:0;-ms-user-select:none;user-select:none}.gux-calendar .gux-content table:not(:last-child){padding-right:24px}.gux-calendar .gux-content table tr{height:var(--gse-ui-calendarMenu-day-input-height)}.gux-calendar .gux-content table tr:empty{display:none}.gux-calendar .gux-content table tr th,.gux-calendar .gux-content table tr td{width:var(--gse-ui-calendarMenu-day-date-size);height:var(--gse-ui-calendarMenu-day-date-size);padding:0;margin:0;text-align:center}.gux-calendar .gux-content table tr th{font-family:var(--gse-ui-calendarMenu-day-headerText-fontFamily);font-size:var(--gse-ui-calendarMenu-day-headerText-fontSize);font-weight:var(--gse-ui-calendarMenu-day-headerText-fontWeight);line-height:var(--gse-ui-calendarMenu-day-headerText-lineHeight)}.gux-calendar .gux-content table tr td{font-family:var(--gse-ui-calendarMenu-date-defaultText-fontFamily);font-size:var(--gse-ui-calendarMenu-date-defaultText-fontSize);font-weight:var(--gse-ui-calendarMenu-date-defaultText-fontWeight);line-height:var(--gse-ui-calendarMenu-date-defaultText-lineHeight);color:var(--gse-ui-calendarMenu-date-default-foregroundColor);cursor:pointer}.gux-calendar .gux-content table tr td.gux-hovered{background-color:var(--gse-ui-calendarMenu-date-range-backgroundColor)}.gux-calendar .gux-content table tr td.gux-selected{color:var(--gse-ui-calendarMenu-date-selected-foregroundColor);background-color:var(--gse-ui-calendarMenu-date-selected-backgroundColor);border-radius:var(--gse-ui-calendarMenu-month-borderRadius)}.gux-calendar .gux-content table tr td.gux-selected:hover:not(.gux-calendar .gux-content table tr td.gux-selected.gux-start-date):not(.gux-calendar .gux-content table tr td.gux-selected.gux-end-date){background-color:var(--gse-ui-calendarMenu-date-selected-hoverBackgroundColor)}.gux-calendar .gux-content table tr td.gux-start-date,.gux-calendar .gux-content table tr td.gux-end-date{background-color:var(--gse-ui-calendarMenu-date-range-backgroundColor)}.gux-calendar .gux-content table tr td.gux-start-date .gux-date,.gux-calendar .gux-content table tr td.gux-end-date .gux-date{display:flex;align-items:center;justify-content:center;width:var(--gse-ui-calendarMenu-day-date-size);height:var(--gse-ui-calendarMenu-day-date-size);background-color:var(--gse-ui-calendarMenu-date-selected-backgroundColor);border-radius:var(--gse-ui-calendarMenu-month-borderRadius)}.gux-calendar .gux-content table tr td.gux-start-date .gux-date:hover,.gux-calendar .gux-content table tr td.gux-end-date .gux-date:hover{background-color:var(--gse-ui-calendarMenu-date-selected-hoverBackgroundColor)}.gux-calendar .gux-content table tr td.gux-start-date{border-radius:16px 0 0 16px}.gux-calendar .gux-content table tr td.gux-end-date{border-radius:0 16px 16px 0}.gux-calendar .gux-content table tr td:hover:not(.gux-calendar .gux-content table tr td.gux-start-date):not(.gux-calendar .gux-content table tr td.gux-end-date):not(.gux-calendar .gux-content table tr td.gux-hovered):not(.gux-calendar .gux-content table tr td.gux-selected){background-color:var(--gse-ui-calendarMenu-date-hover-backgroundColor);border-radius:var(--gse-ui-calendarMenu-month-borderRadius)}.gux-calendar .gux-content table tr td.gux-disabled{pointer-events:none;opacity:var(--gse-ui-calendarMenu-disabled-opacity)}.gux-calendar .gux-content table tr td.gux-not-in-month{opacity:var(--gse-ui-calendarMenu-disabled-opacity)}.gux-calendar .gux-content table tr td.gux-not-in-month:hover{background-color:var(--gse-ui-calendarMenu-date-hover-backgroundColor)}.gux-calendar .gux-content table tr td.gux-not-in-month.gux-hidden{visibility:hidden}.gux-calendar .gux-content table tr td.gux-current-date{font-family:var(--gse-ui-calendarMenu-date-currentText-fontFamily);font-size:var(--gse-ui-calendarMenu-date-currentText-fontSize);font-weight:var(--gse-ui-calendarMenu-date-currentText-fontWeight);line-height:var(--gse-ui-calendarMenu-date-currentText-lineHeight)}.gux-calendar .gux-content table tr td:focus-visible{border-radius:var(--gse-ui-calendarMenu-month-focusBorderRadius);outline:var(--gse-semantic-focusRing-default-border-width) solid var(--gse-semantic-focusRing-default-border-color)}.gux-sr-only{position:absolute;top:auto;left:-10000px;width:1px;height:1px;overflow:hidden}";export{m as gux_calendar}
1
+ import{r as e,c as t,h as a,g as n}from"./p-2e827df1.js";import{a as r}from"./p-cf0e7d3b.js";import{b as d,c as i,a as s,f as o}from"./p-9349b5e4.js";import{t as u}from"./p-098c0e57.js";import{g as l,a as c}from"./p-0367930a.js";import{c as g}from"./p-267e2aed.js";import{u as h,d as x}from"./p-a5415051.js";import"./p-4202e9f2.js";function b(e,t){f(e,"remove",t)}function f(e=[],t,a){const n=[].concat(e);for(const e of n)e.classList[t](a)}function v(e,t){return h()?g(x(t,{year:"numeric",month:"long"}).format(e)):g(e.toLocaleDateString(t,{year:"numeric",month:"long"}))}const m=class{constructor(a){e(this,a),this.calendarSelect=t(this,"calendarSelect",7),this.locale="en",this.value="",this.minDate="",this.maxDate="",this.mode="single",this.numberOfMonths=1,this.startDayOfWeek=void 0,this.previewValue=new Date,this.selectingDate=null}emitCalendarSelect(){this.calendarSelect.emit(this.value)}async setValue(e){if("range"===this.mode&&e instanceof Array){const[t,a]=e;this.value=d(t,a),this.previewValue=i(this.value)[0]}else{const t=e;this.value=s(t),this.previewValue=t}}async focusPreviewDate(){const e=this.root.shadowRoot.querySelector(`td[data-date="${this.previewValue.getTime()}"]`);e&&e.focus()}async resetCalendarView(e){this.previewValue=e}incrementPreviewDateByMonth(e){this.previewValue=new Date(this.previewValue.getFullYear(),this.previewValue.getMonth()+e,15,0,0,0),r((()=>{this.focusPreviewDate()}))}async setValueAndEmit(e){await this.setValue(e),this.emitCalendarSelect()}outOfBounds(e){return""!==this.maxDate&&o(this.maxDate)<e||""!==this.minDate&&o(this.minDate)>e}generateDatesFrom(e,t,a){const n=[],r=new Date(t.getFullYear(),t.getMonth(),t.getDate(),0,0,0,0);for(let t=0;t<a;t++){const t=new Date(r.getFullYear(),r.getMonth(),r.getDate(),0,0,0,0),a=[],d=new Date,s=r.getFullYear()===d.getFullYear()&&r.getMonth()===d.getMonth()&&r.getDate()===d.getDate();let u=!1,l=!1;t.getMonth()!==e&&(a.push("gux-not-in-month"),u=!0,"range"===this.mode&&(a.push("gux-hidden"),l=!0)),this.outOfBounds(t)&&(a.push("gux-disabled"),u=!0);let c=!1;if(s&&a.push("gux-current-date"),"range"===this.mode){const[e,n]=i(this.value),r=e.getTime(),d=n.getTime();t.getTime()===r&&t.getTime()===d?(c=!0,a.push("gux-selected")):t.getTime()===r?(c=!0,a.push("gux-selected"),a.push("gux-start-date")):t.getTime()===d&&(c=!0,a.push("gux-selected"),a.push("gux-end-date"))}else{const e=o(this.value).getTime();t.getTime()===e&&(c=!0,a.push("gux-selected"))}n.push({class:a.join(" "),date:t,hidden:l,disabled:u,selected:c,isToday:s}),r.setDate(r.getDate()+1)}return n}create2DArray(e,t){const a=[];for(let n=0;n<t-1;n++){const r=e.slice(n*t,n*t+t);this.weekShouldBeDisplayed(r)&&a.push(r)}return a}isFocusableDate(e){return e.selected||this.previewValue.getTime()===e.date.getTime()}weekShouldBeDisplayed(e){const t=e.find((e=>!e.hidden));return e.length&&!!t}getMonthDays(e){const t=new Date(this.previewValue.getTime());t.setDate(1),t.setMonth(t.getMonth()+e);const a=t.getMonth(),n=function(e,t,a){const n=new Date(t,e,1,1,0,0,0),r=-1*(a-n.getDay()-7)%7;return new Date(n.getTime()-864e5*r)}(a,t.getFullYear(),this.startDayOfWeek),r=this.generateDatesFrom(a,n,42);return this.create2DArray(r,7)}addDays(e,t){const a=new Date(e.valueOf());return a.setDate(a.getDate()+t),a}getAllDatesElements(){const e=this.root.shadowRoot.querySelectorAll("td");return Array.from(e)}getAllSelectableDatesElements(){const e=this.root.shadowRoot.querySelectorAll('td[tabindex="0"]');return Array.from(e)}getRangeDatesElements(e,t){const a=[];let n;n=t<e?this.getRangeDates(t,e):this.getRangeDates(e,t);for(const e of n){const t=this.root.shadowRoot.querySelector(`td[data-date="${e.getTime()}"]:not(.gux-hidden)`);t&&a.push(t)}return a}getRangeDates(e,t){const a=[];let n=e;for(;n<=t;)a.push(new Date(n)),n=this.addDays(n,1);return a}async onDateClick(e){if(!this.outOfBounds(e))if("range"!==this.mode)await this.setValueAndEmit(e);else if(null===this.selectingDate)b(this.getAllDatesElements(),"gux-hovered"),this.selectingDate=new Date(e.valueOf()),this.value=d(e,e);else{const t=this.root.shadowRoot.querySelector(`td[data-date="${e.getTime()}"]`);t&&t.classList.add("gux-selected"),this.updateRangeElements(),await this.setValueAndEmit([this.selectingDate,e]),this.previewValue=e,this.selectingDate=null}}onDateMouseEnter(e){"range"===this.mode&&null!==this.selectingDate&&(this.value=d(e,this.selectingDate),this.updateRangeElements())}updateRangeElements(){if("range"===this.mode){b(this.getAllDatesElements(),"gux-hovered");const[e,t]=i(this.value);f(this.getRangeDatesElements(e,t),"add","gux-hovered")}}async onKeyDown(e){switch(e.key){case" ":case"Enter":e.preventDefault(),await this.onDateClick(this.previewValue);break;case"ArrowDown":e.preventDefault(),this.previewValue=new Date(this.previewValue.setDate(this.previewValue.getDate()+7)),this.onDateMouseEnter(this.previewValue),r((()=>{this.focusPreviewDate()}));break;case"ArrowUp":e.preventDefault(),this.previewValue=new Date(this.previewValue.setDate(this.previewValue.getDate()-7)),this.onDateMouseEnter(this.previewValue),r((()=>{this.focusPreviewDate()}));break;case"ArrowLeft":e.preventDefault(),this.previewValue=new Date(this.previewValue.setDate(this.previewValue.getDate()-1)),this.onDateMouseEnter(this.previewValue),r((()=>{this.focusPreviewDate()}));break;case"ArrowRight":e.preventDefault(),this.previewValue=new Date(this.previewValue.setDate(this.previewValue.getDate()+1)),this.onDateMouseEnter(this.previewValue),r((()=>{this.focusPreviewDate()}));break;case"PageUp":this.incrementPreviewDateByMonth(1),this.onDateMouseEnter(this.previewValue);break;case"PageDown":this.incrementPreviewDateByMonth(-1),this.onDateMouseEnter(this.previewValue)}}componentWillLoad(){if(u(this.root,{variant:this.mode}),this.locale=l(this.root),this.startDayOfWeek=this.startDayOfWeek||c(this.locale),!this.value){const e=new Date;e.setHours(0,0,0,0),this.value="range"===this.mode?d(e,e):s(e)}this.previewValue=o(this.value)}componentDidRender(){this.updateRangeElements()}renderMonthHeader(){return a("div",{class:"gux-month-list"},Array.from(Array(this.numberOfMonths).keys()).map((e=>{const t=function(e,t){const a=new Date(e);return a.setDate(1),a.setMonth(a.getMonth()+t),a}(this.previewValue,e);return a("label",null,v(t,this.locale))})))}renderCalendarTable(e){return a("table",null,a("tr",null,function(e,t){const a=[],n=new Date(1970,0,4);for(let t=0;t<7;t++){const t=n.toLocaleString(e,{weekday:"narrow"});a.push(t),n.setDate(n.getDate()+1)}return(r=a).concat(r.splice(0,(d=t)>r.length?d%r.length:d));var r,d}(this.locale,this.startDayOfWeek).map((e=>a("th",null,e)))),this.getMonthDays(e).map((e=>a("tr",null,e.map((e=>a("td",{tabindex:this.isFocusableDate(e)?"0":"-1",class:e.class,"aria-hidden":e.hidden?"true":"false","aria-disabled":e.disabled?"true":"false","data-date":e.date.getTime(),onClick:()=>{this.onDateClick(e.date)},onMouseEnter:()=>this.onDateMouseEnter(e.date),onKeyDown:e=>{this.onKeyDown(e)}},a("div",{class:"gux-date"},e.date.getDate(),a("span",{class:"gux-sr-only"},v(e.date,this.locale))))))))))}render(){return a("div",{key:"9ab737ccca49fede337ff7bcad0e617e0553aa5d",class:"gux-calendar"},a("div",{key:"a1fd0990b64c72cf52ea46a2f44eedbc2cd9c307",class:"gux-header"},a("button",{key:"1e1d001bcad30918bf35cab7bf75a631f3e219d1",type:"button",class:"gux-left",onClick:()=>this.incrementPreviewDateByMonth(-1),tabindex:"-1","aria-hidden":"true"},a("gux-icon",{key:"b361c20900a9cdd8161a2b0023b8cac62bb5673d",decorative:!0,"icon-name":"custom/chevron-left-small-regular"})),this.renderMonthHeader(),a("button",{key:"faa2fc7104de023f321701f15a6faf3e6c60b338",type:"button",class:"gux-right",onClick:()=>this.incrementPreviewDateByMonth(1),tabindex:"-1","aria-hidden":"true"},a("gux-icon",{key:"5fbe742618df07732a9d86174a9b97b43c5bf235",decorative:!0,"icon-name":"custom/chevron-right-small-regular"}))),a("div",{key:"e3326d9316145ec86a36efa504fd7457cb144a03",class:"gux-content"},Array.from(Array(this.numberOfMonths).keys()).map((e=>this.renderCalendarTable(e)))))}get root(){return n(this)}};m.style=":host{display:inline-block}.gux-calendar{margin-top:2px;border-radius:var(--gse-ui-calendarMenu-single-body-borderRadius);box-shadow:var(--gse-ui-calendarMenu-boxShadow-x) var(--gse-ui-calendarMenu-boxShadow-y) var(--gse-ui-calendarMenu-boxShadow-blur) var(--gse-ui-calendarMenu-boxShadow-spread) var(--gse-ui-calendarMenu-boxShadow-color)}.gux-calendar .gux-header{position:relative;display:flex;gap:var(--gse-ui-calendarMenu-header-gap);align-items:center;justify-content:space-between;height:var(--gse-ui-calendarMenu-month-single-header-height);padding:var(--gse-ui-calendarMenu-header-padding);font-weight:var(--gse-ui-calendarMenu-month-currentText-fontWeight);color:var(--gse-ui-calendarMenu-header-foregroundColor);background-color:var(--gse-ui-calendarMenu-header-backgroundColor);border-radius:var(--gse-ui-calendarMenu-single-header-borderRadius)}.gux-calendar .gux-header button{position:absolute;color:var(--gse-ui-calendarMenu-month-monthHeader-foregroundColor);cursor:pointer;background:none;border:none;outline:none}.gux-calendar .gux-header button:focus-visible{outline:var(--gse-ui-formControl-input-focus-border-width) var(--gse-ui-formControl-input-focus-border-style) var(--gse-ui-formControl-input-focus-border-color)}.gux-calendar .gux-header button.gux-left{left:18px}.gux-calendar .gux-header button.gux-right{right:18px}.gux-calendar .gux-header button gux-icon{width:var(--gse-ui-icon-size-sm);height:var(--gse-ui-icon-size-sm);pointer-events:none}.gux-calendar .gux-header .gux-month-list{display:flex;justify-content:space-between;width:100%;font-family:var(--gse-ui-calendarMenu-month-headerText-fontFamily);font-size:var(--gse-ui-calendarMenu-month-headerText-fontSize);line-height:var(--gse-ui-calendarMenu-month-headerText-lineHeight)}.gux-calendar .gux-header .gux-month-list label{width:100%;text-align:center}.gux-calendar .gux-content{display:flex;align-items:flex-start;height:var(--gse-ui-calendarMenu-height);padding:var(--gse-ui-calendarMenu-dateBody-padding);color:var(--gse-ui-calendarMenu-month-default-foregroundColor);background-color:var(--gse-ui-calendarMenu-backgroundColor);border-radius:var(--gse-ui-calendarMenu-single-body-borderRadius)}.gux-calendar .gux-content table{width:var(--gse-ui-calendarMenu-day-input-width);text-align:left;table-layout:fixed;border-spacing:0;-ms-user-select:none;user-select:none}.gux-calendar .gux-content table:not(:last-child){padding-right:24px}.gux-calendar .gux-content table tr{height:var(--gse-ui-calendarMenu-day-input-height)}.gux-calendar .gux-content table tr:empty{display:none}.gux-calendar .gux-content table tr th,.gux-calendar .gux-content table tr td{width:var(--gse-ui-calendarMenu-day-date-size);height:var(--gse-ui-calendarMenu-day-date-size);padding:0;margin:0;text-align:center}.gux-calendar .gux-content table tr th{font-family:var(--gse-ui-calendarMenu-day-headerText-fontFamily);font-size:var(--gse-ui-calendarMenu-day-headerText-fontSize);font-weight:var(--gse-ui-calendarMenu-day-headerText-fontWeight);line-height:var(--gse-ui-calendarMenu-day-headerText-lineHeight)}.gux-calendar .gux-content table tr td{font-family:var(--gse-ui-calendarMenu-date-defaultText-fontFamily);font-size:var(--gse-ui-calendarMenu-date-defaultText-fontSize);font-weight:var(--gse-ui-calendarMenu-date-defaultText-fontWeight);line-height:var(--gse-ui-calendarMenu-date-defaultText-lineHeight);color:var(--gse-ui-calendarMenu-date-default-foregroundColor);cursor:pointer}.gux-calendar .gux-content table tr td.gux-hovered{background-color:var(--gse-ui-calendarMenu-date-range-backgroundColor)}.gux-calendar .gux-content table tr td.gux-selected{color:var(--gse-ui-calendarMenu-date-selected-foregroundColor);background-color:var(--gse-ui-calendarMenu-date-selected-backgroundColor);border-radius:var(--gse-ui-calendarMenu-month-borderRadius)}.gux-calendar .gux-content table tr td.gux-selected:hover:not(.gux-calendar .gux-content table tr td.gux-selected.gux-start-date):not(.gux-calendar .gux-content table tr td.gux-selected.gux-end-date){background-color:var(--gse-ui-calendarMenu-date-selected-hoverBackgroundColor)}.gux-calendar .gux-content table tr td.gux-start-date,.gux-calendar .gux-content table tr td.gux-end-date{background-color:var(--gse-ui-calendarMenu-date-range-backgroundColor)}.gux-calendar .gux-content table tr td.gux-start-date .gux-date,.gux-calendar .gux-content table tr td.gux-end-date .gux-date{display:flex;align-items:center;justify-content:center;width:var(--gse-ui-calendarMenu-day-date-size);height:var(--gse-ui-calendarMenu-day-date-size);background-color:var(--gse-ui-calendarMenu-date-selected-backgroundColor);border-radius:var(--gse-ui-calendarMenu-month-borderRadius)}.gux-calendar .gux-content table tr td.gux-start-date .gux-date:hover,.gux-calendar .gux-content table tr td.gux-end-date .gux-date:hover{background-color:var(--gse-ui-calendarMenu-date-selected-hoverBackgroundColor)}.gux-calendar .gux-content table tr td.gux-start-date{border-radius:16px 0 0 16px}.gux-calendar .gux-content table tr td.gux-end-date{border-radius:0 16px 16px 0}.gux-calendar .gux-content table tr td:hover:not(.gux-calendar .gux-content table tr td.gux-start-date):not(.gux-calendar .gux-content table tr td.gux-end-date):not(.gux-calendar .gux-content table tr td.gux-hovered):not(.gux-calendar .gux-content table tr td.gux-selected){background-color:var(--gse-ui-calendarMenu-date-hover-backgroundColor);border-radius:var(--gse-ui-calendarMenu-month-borderRadius)}.gux-calendar .gux-content table tr td.gux-disabled{pointer-events:none;opacity:var(--gse-ui-calendarMenu-disabled-opacity)}.gux-calendar .gux-content table tr td.gux-not-in-month{opacity:var(--gse-ui-calendarMenu-disabled-opacity)}.gux-calendar .gux-content table tr td.gux-not-in-month:hover{background-color:var(--gse-ui-calendarMenu-date-hover-backgroundColor)}.gux-calendar .gux-content table tr td.gux-not-in-month.gux-hidden{visibility:hidden}.gux-calendar .gux-content table tr td.gux-current-date{font-family:var(--gse-ui-calendarMenu-date-currentText-fontFamily);font-size:var(--gse-ui-calendarMenu-date-currentText-fontSize);font-weight:var(--gse-ui-calendarMenu-date-currentText-fontWeight);line-height:var(--gse-ui-calendarMenu-date-currentText-lineHeight)}.gux-calendar .gux-content table tr td:focus-visible{border-radius:var(--gse-ui-calendarMenu-month-focusBorderRadius);outline:var(--gse-semantic-focusRing-default-border-width) solid var(--gse-semantic-focusRing-default-border-color)}.gux-sr-only{position:absolute;top:auto;left:-10000px;width:1px;height:1px;overflow:hidden}";export{m as gux_calendar}
@@ -1 +1 @@
1
- import{r as e,h as t,H as s,g as o}from"./p-2e827df1.js";import{a as i}from"./p-cf0e7d3b.js";import{e as n}from"./p-ea5e1b2f.js";import{r}from"./p-0934300e.js";import{b as a}from"./p-0367930a.js";import{t as u}from"./p-408d5857.js";import"./p-4202e9f2.js";const l=class{constructor(t){e(this,t),this.dropdownOptionsButtonId=r("gux-table-select-menu"),this.hasSelectMenuOptions=!1,this.dropdownDisabled=!1,this.popoverHidden=!0}focusFirstItemInPopupList(){const e=this.root.querySelector("gux-list");i((()=>{null==e||e.guxFocusFirstItem()}))}async componentWillLoad(){this.hasSelectMenuOptions=!!this.root.querySelector('[slot="select-menu-options"]'),this.i18n=await a(this.root,u,"gux-table")}onKeydown(e){var t;switch(e.key){case"ArrowDown":n(".gux-select-menu-button",e)&&(this.toggleOptions(),this.focusFirstItemInPopupList());break;case"Enter":n(".gux-select-menu-button",e)&&this.focusFirstItemInPopupList();break;case"Escape":n("gux-list",e)&&(e.stopPropagation(),this.popoverHidden=!0,null===(t=this.tableSelectMenuButtonElement)||void 0===t||t.focus());break;case"Tab":this.popoverHidden=!0}}onKeyup(e){" "===e.key&&n(".gux-select-menu-button",e)&&this.focusFirstItemInPopupList()}toggleOptions(){this.popoverHidden=!this.popoverHidden}renderSelectDropdown(){if(this.hasSelectMenuOptions)return[t("button",{id:this.dropdownOptionsButtonId,"aria-haspopup":"listbox","aria-expanded":(!this.popoverHidden).toString(),type:"button",class:"gux-select-menu-button",ref:e=>this.tableSelectMenuButtonElement=e,onClick:()=>this.toggleOptions(),disabled:this.dropdownDisabled},t("gux-icon",{"icon-name":"custom/chevron-down-small-regular","screenreader-text":this.i18n("tableOptions")})),t("gux-popover-list",{for:this.dropdownOptionsButtonId,isOpen:!this.popoverHidden,closeOnClickOutside:!0,onGuxdismiss:()=>this.popoverHidden=!0},t("div",null,t("slot",{name:"select-menu-options"})))]}render(){return t(s,{key:"20db4257ea49e02f7c0838d192b0a3579550ecf8"},t("slot",{key:"177130d715f3f70869ed4411741269ab78947350"}),this.renderSelectDropdown())}get root(){return o(this)}};l.style="gux-table-select-menu{display:inline-flex;font-family:var(--gse-ui-popover-body-text-fontFamily);font-size:var(--gse-ui-popover-body-text-fontSize);font-weight:var(--gse-ui-popover-body-text-fontWeight);line-height:var(--gse-ui-popover-body-text-lineHeight)}gux-table-select-menu .gux-select-menu-button{padding:0;margin-left:var(--gse-ui-dataTableItems-header-gap);color:var(--gse-ui-dataTableItems-cell-chevron-foregroundColor);background-color:inherit;border:none;outline:none}gux-table-select-menu .gux-select-menu-button:focus-visible{outline:var(--gse-semantic-focusRing-default-border-color) var(--gse-semantic-focusRing-default-border-style) var(--gse-semantic-focusRing-default-border-width);outline-offset:var(--gse-semantic-focusRing-offset);border-radius:4px}gux-table-select-menu .gux-select-menu-button gux-icon{width:var(--gse-ui-icon-size-sm);height:var(--gse-ui-icon-size-sm)}";export{l as gux_table_select_menu}
1
+ import{r as e,h as t,H as s,g as o}from"./p-2e827df1.js";import{a as i}from"./p-cf0e7d3b.js";import{e as n}from"./p-ea5e1b2f.js";import{r}from"./p-0934300e.js";import{b as a}from"./p-0367930a.js";import{t as u}from"./p-408d5857.js";import"./p-4202e9f2.js";const l=class{constructor(t){e(this,t),this.dropdownOptionsButtonId=r("gux-table-select-menu"),this.hasSelectMenuOptions=!1,this.dropdownDisabled=!1,this.popoverHidden=!0}focusFirstItemInPopupList(){const e=this.root.querySelector("gux-list");i((()=>{null==e||e.guxFocusFirstItem()}))}async componentWillLoad(){this.hasSelectMenuOptions=!!this.root.querySelector('[slot="select-menu-options"]'),this.i18n=await a(this.root,u,"gux-table")}onKeydown(e){var t;switch(e.key){case"ArrowDown":n(".gux-select-menu-button",e)&&(this.toggleOptions(),this.focusFirstItemInPopupList());break;case"Enter":n(".gux-select-menu-button",e)&&this.focusFirstItemInPopupList();break;case"Escape":n("gux-list",e)&&(e.stopPropagation(),this.popoverHidden=!0,null===(t=this.tableSelectMenuButtonElement)||void 0===t||t.focus());break;case"Tab":this.popoverHidden=!0}}onKeyup(e){" "===e.key&&n(".gux-select-menu-button",e)&&this.focusFirstItemInPopupList()}toggleOptions(){this.popoverHidden=!this.popoverHidden}renderSelectDropdown(){if(this.hasSelectMenuOptions)return[t("button",{id:this.dropdownOptionsButtonId,"aria-haspopup":"listbox","aria-expanded":(!this.popoverHidden).toString(),type:"button",class:"gux-select-menu-button",ref:e=>this.tableSelectMenuButtonElement=e,onClick:()=>this.toggleOptions(),disabled:this.dropdownDisabled},t("gux-icon",{"icon-name":"custom/chevron-down-small-regular","screenreader-text":this.i18n("tableOptions")})),t("gux-popover-list",{for:this.dropdownOptionsButtonId,isOpen:!this.popoverHidden,closeOnClickOutside:!0,onGuxdismiss:()=>this.popoverHidden=!0},t("div",null,t("slot",{name:"select-menu-options"})))]}render(){return t(s,{key:"3661144146959bd1e017f4c32a39b69854488093"},t("slot",{key:"ef50ceee71a1e0f29fbf65eab47335d568cdc049"}),this.renderSelectDropdown())}get root(){return o(this)}};l.style="gux-table-select-menu{display:inline-flex;font-family:var(--gse-ui-popover-body-text-fontFamily);font-size:var(--gse-ui-popover-body-text-fontSize);font-weight:var(--gse-ui-popover-body-text-fontWeight);line-height:var(--gse-ui-popover-body-text-lineHeight)}gux-table-select-menu .gux-select-menu-button{padding:0;margin-left:var(--gse-ui-dataTableItems-header-gap);color:var(--gse-ui-dataTableItems-cell-chevron-foregroundColor);background-color:inherit;border:none;outline:none}gux-table-select-menu .gux-select-menu-button:focus-visible{outline:var(--gse-semantic-focusRing-default-border-color) var(--gse-semantic-focusRing-default-border-style) var(--gse-semantic-focusRing-default-border-width);outline-offset:var(--gse-semantic-focusRing-offset);border-radius:4px}gux-table-select-menu .gux-select-menu-button gux-icon{width:var(--gse-ui-icon-size-sm);height:var(--gse-ui-icon-size-sm)}";export{l as gux_table_select_menu}
@@ -1 +1 @@
1
- import{r as e,h as n,g as a}from"./p-2e827df1.js";import{t}from"./p-5cded110.js";import{O as i}from"./p-01471ba0.js";import{h as o}from"./p-6d8b4027.js";const r=class{constructor(n){e(this,n),this.hasCallToAction=!1}onMutation(){this.hasCallToAction=o(this.root,"call-to-action")}renderCallToActionSlot(){if(this.hasCallToAction)return n("gux-button-slot",{accent:"primary"},n("slot",{name:"call-to-action"}))}componentWillLoad(){t(this.root),this.hasCallToAction=o(this.root,"call-to-action")}render(){return n("div",{key:"6a5e9203be09fab0959f0dec947bf8ab69a26e5a",class:"gux-container"},n("div",{key:"c4511e0db2f9605e23f055275dd813103d58aeae",class:"gux-image"},n("slot",{key:"d73e935433d963002c4fd106b6156f058af95451",name:"image"})),n("div",{key:"3e5cead9db6e0de250218644a298746cfa519e4f",class:"gux-message"},n("slot",{key:"91da6b28888872d8b7c01a989bc81e0ac0986ebb",name:"primary-message"})),n("div",{key:"7ddddc9f53283b61cbf6a412a9dbba0980f7ae77",class:"gux-guidance"},n("slot",{key:"d5018c40313612891f0a93041dc0086d9fc51b2e",name:"additional-guidance"})),this.renderCallToActionSlot())}get root(){return a(this)}};(function(e,n,a,t){var i,o=arguments.length,r=o<3?n:null===t?t=Object.getOwnPropertyDescriptor(n,a):t;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)r=Reflect.decorate(e,n,a,t);else for(var s=e.length-1;s>=0;s--)(i=e[s])&&(r=(o<3?i(r):o>3?i(n,a,r):i(n,a))||r);o>3&&r&&Object.defineProperty(n,a,r)})([i({childList:!0,subtree:!0})],r.prototype,"onMutation",null),r.style=":host {\n display: flex;\n flex-direction: column;\n align-items: center;\n justify-content: center;\n container-type: inline-size;\n}\n\n.gux-container {\n display: flex;\n flex-direction: column;\n align-items: center;\n justify-content: center;\n padding: var(--gse-ui-blankState-padding);\n color: var(--gse-ui-blankState-foregroundColor);\n background-color: var(--gse-ui-blankState-backgroundColor);\n border-radius: var(--gse-ui-blankState-borderRadius);\n}\n.gux-container .gux-image {\n padding-bottom: var(--gse-ui-blankState-gapMain);\n}\n.gux-container .gux-message {\n padding-bottom: var(--gse-ui-blankState-gapMessage);\n}\n.gux-container .gux-guidance {\n padding-bottom: var(--gse-ui-blankState-gapContent);\n}\n.gux-container ::slotted(gux-icon) {\n width: var(--gse-ui-blankState-icon-size-lg);\n height: var(--gse-ui-blankState-icon-size-lg);\n color: var(--gse-ui-blankState-iconColor);\n}\n.gux-container slot[name=primary-message] {\n font-family: var(--gse-ui-progressAndLoading-blankState-large-header-fontFamily);\n font-size: var(--gse-ui-progressAndLoading-blankState-large-header-fontSize);\n font-weight: var(--gse-ui-progressAndLoading-blankState-large-header-fontWeight);\n line-height: var(--gse-ui-progressAndLoading-blankState-large-header-lineHeight);\n color: var(--gse-ui-blankState-foregroundColor);\n text-align: center;\n}\n.gux-container slot[name=additional-guidance] {\n font-family: var(--gse-ui-progressAndLoading-blankState-large-subheader-fontFamily);\n font-size: var(--gse-ui-progressAndLoading-blankState-large-subheader-fontSize);\n font-weight: var(--gse-ui-progressAndLoading-blankState-large-subheader-fontWeight);\n line-height: var(--gse-ui-progressAndLoading-blankState-large-subheader-lineHeight);\n color: var(--gse-ui-blankState-foregroundColor);\n text-align: center;\n}\n\n@container (width < 570px) {\n .gux-container ::slotted(gux-icon) {\n width: var(--gse-ui-blankState-icon-size-sm);\n height: var(--gse-ui-blankState-icon-size-sm);\n }\n .gux-container slot[name=primary-message] {\n font-family: var(--gse-ui-progressAndLoading-blankState-small-header-fontFamily);\n font-size: var(--gse-ui-progressAndLoading-blankState-small-header-fontSize);\n font-weight: var(--gse-ui-progressAndLoading-blankState-small-header-fontWeight);\n line-height: var(--gse-ui-progressAndLoading-blankState-small-header-lineHeight);\n }\n .gux-container slot[name=additional-guidance] {\n font-family: var(--gse-ui-progressAndLoading-blankState-small-subheader-fontFamily);\n font-size: var(--gse-ui-progressAndLoading-blankState-small-subheader-fontSize);\n font-weight: var(--gse-ui-progressAndLoading-blankState-small-subheader-fontWeight);\n line-height: var(--gse-ui-progressAndLoading-blankState-small-subheader-lineHeight);\n }\n}";export{r as gux_blank_state}
1
+ import{r as e,h as n,g as a}from"./p-2e827df1.js";import{t}from"./p-098c0e57.js";import{O as i}from"./p-01471ba0.js";import{h as o}from"./p-6d8b4027.js";const r=class{constructor(n){e(this,n),this.hasCallToAction=!1}onMutation(){this.hasCallToAction=o(this.root,"call-to-action")}renderCallToActionSlot(){if(this.hasCallToAction)return n("gux-button-slot",{accent:"primary"},n("slot",{name:"call-to-action"}))}componentWillLoad(){t(this.root),this.hasCallToAction=o(this.root,"call-to-action")}render(){return n("div",{key:"7e514e368c4267dafeeb7f1c6da8db6dd496ffd1",class:"gux-container"},n("div",{key:"40b07cb4856fe789cb2f004cdaa94bee58ec9470",class:"gux-image"},n("slot",{key:"34c73b345f050cf759202b45bffb2517aec83f4b",name:"image"})),n("div",{key:"c13519b747979f6a449750896991e492948c57e8",class:"gux-message"},n("slot",{key:"9265e265ff286653cd0205f2222d0859a131787e",name:"primary-message"})),n("div",{key:"329205bee7cf4be7315ec6f7ac63ee43285b30b6",class:"gux-guidance"},n("slot",{key:"e0a927b555b4b079fb927925bb5756c6ba93e300",name:"additional-guidance"})),this.renderCallToActionSlot())}get root(){return a(this)}};(function(e,n,a,t){var i,o=arguments.length,r=o<3?n:null===t?t=Object.getOwnPropertyDescriptor(n,a):t;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)r=Reflect.decorate(e,n,a,t);else for(var s=e.length-1;s>=0;s--)(i=e[s])&&(r=(o<3?i(r):o>3?i(n,a,r):i(n,a))||r);o>3&&r&&Object.defineProperty(n,a,r)})([i({childList:!0,subtree:!0})],r.prototype,"onMutation",null),r.style=":host {\n display: flex;\n flex-direction: column;\n align-items: center;\n justify-content: center;\n container-type: inline-size;\n}\n\n.gux-container {\n display: flex;\n flex-direction: column;\n align-items: center;\n justify-content: center;\n padding: var(--gse-ui-blankState-padding);\n color: var(--gse-ui-blankState-foregroundColor);\n background-color: var(--gse-ui-blankState-backgroundColor);\n border-radius: var(--gse-ui-blankState-borderRadius);\n}\n.gux-container .gux-image {\n padding-bottom: var(--gse-ui-blankState-gapMain);\n}\n.gux-container .gux-message {\n padding-bottom: var(--gse-ui-blankState-gapMessage);\n}\n.gux-container .gux-guidance {\n padding-bottom: var(--gse-ui-blankState-gapContent);\n}\n.gux-container ::slotted(gux-icon) {\n width: var(--gse-ui-blankState-icon-size-lg);\n height: var(--gse-ui-blankState-icon-size-lg);\n color: var(--gse-ui-blankState-iconColor);\n}\n.gux-container slot[name=primary-message] {\n font-family: var(--gse-ui-progressAndLoading-blankState-large-header-fontFamily);\n font-size: var(--gse-ui-progressAndLoading-blankState-large-header-fontSize);\n font-weight: var(--gse-ui-progressAndLoading-blankState-large-header-fontWeight);\n line-height: var(--gse-ui-progressAndLoading-blankState-large-header-lineHeight);\n color: var(--gse-ui-blankState-foregroundColor);\n text-align: center;\n}\n.gux-container slot[name=additional-guidance] {\n font-family: var(--gse-ui-progressAndLoading-blankState-large-subheader-fontFamily);\n font-size: var(--gse-ui-progressAndLoading-blankState-large-subheader-fontSize);\n font-weight: var(--gse-ui-progressAndLoading-blankState-large-subheader-fontWeight);\n line-height: var(--gse-ui-progressAndLoading-blankState-large-subheader-lineHeight);\n color: var(--gse-ui-blankState-foregroundColor);\n text-align: center;\n}\n\n@container (width < 570px) {\n .gux-container ::slotted(gux-icon) {\n width: var(--gse-ui-blankState-icon-size-sm);\n height: var(--gse-ui-blankState-icon-size-sm);\n }\n .gux-container slot[name=primary-message] {\n font-family: var(--gse-ui-progressAndLoading-blankState-small-header-fontFamily);\n font-size: var(--gse-ui-progressAndLoading-blankState-small-header-fontSize);\n font-weight: var(--gse-ui-progressAndLoading-blankState-small-header-fontWeight);\n line-height: var(--gse-ui-progressAndLoading-blankState-small-header-lineHeight);\n }\n .gux-container slot[name=additional-guidance] {\n font-family: var(--gse-ui-progressAndLoading-blankState-small-subheader-fontFamily);\n font-size: var(--gse-ui-progressAndLoading-blankState-small-subheader-fontSize);\n font-weight: var(--gse-ui-progressAndLoading-blankState-small-subheader-fontWeight);\n line-height: var(--gse-ui-progressAndLoading-blankState-small-subheader-lineHeight);\n }\n}";export{r as gux_blank_state}
@@ -1 +1 @@
1
- import{r as e,h as t,g as o}from"./p-2e827df1.js";import{O as i}from"./p-01471ba0.js";import{h as r}from"./p-6d8b4027.js";import{t as l}from"./p-5cded110.js";import{a,G as s}from"./p-fb1ab7b1.js";import{G as f,a as n}from"./p-9773c4fe.js";import{a as h,g as d,v as u}from"./p-66246239.js";import{p}from"./p-a11d5d42.js";import{o as g}from"./p-e5b1cffc.js";import"./p-0934300e.js";import"./p-8eaf8caf.js";import"./p-2c25e2f2.js";const m=class{constructor(t){e(this,t),this.labelPosition=void 0,this.computedLabelPosition="above",this.hasError=!1,this.hasHelp=!1,this.required=!1}onMutation(){this.labelInfo=this.root.querySelector("[slot=label-info]"),this.hasError=r(this.root,"error"),this.hasHelp=r(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)}componentWillLoad(){this.setInput(),this.setLabel(),this.hasError=r(this.root,"error"),this.hasHelp=r(this.root,"help"),this.labelInfo=this.root.querySelector("[slot=label-info]"),l(this.root,{variant:this.variant})}disconnectedCallback(){this.requiredObserver&&this.requiredObserver.disconnect()}setLabel(){this.label=this.root.querySelector('label[slot="label"]'),this.computedLabelPosition=h(this.label,this.labelPosition)}setInput(){this.input=d(this.root,'input[type="file"][slot="input"]'),p(this.input),this.required=this.input.required,this.requiredObserver=g(this.input,(e=>{this.required=e})),u(this.root,this.input)}get variant(){return`fileInput-${this.labelPosition?this.labelPosition.toLowerCase():"none"}`}render(){return t(n,{key:"b45503dabdcb64f1df72928b99305aa5efaef423",labelPosition:this.computedLabelPosition},t(f,{key:"f09e291be24f57e678a72e417b2f1b7bb977082e",position:this.computedLabelPosition,required:this.required},t("slot",{key:"fc9b9068354b8da568006d4d44640fef4123fa9e",name:"label",onSlotchange:()=>this.setLabel()}),t("gux-form-field-label-indicator",{key:"3ef29064e0601bd2c8af11a19c9a1a8b9e986b0e",variant:"required",required:this.required}),t("slot",{key:"83ae1424fcb54708af961155db4c26fcbd059cbd",name:"label-info"})),t("div",{key:"33b58d805d61f1d8b27a50b0db96c31caca6f54b",class:"gux-input-and-error-container"},t("slot",{key:"4fe2f05d1b6012908ac312d1bacb3a3d62f28c8c",name:"input",onSlotchange:()=>this.setInput()}),t(a,{key:"f82044540fa10d5cd81806e7ecccba3419fb6667",show:this.hasError},t("slot",{key:"9142937b77c997e8bfc0ffc80b2e363609e72b88",name:"error"})),t(s,{key:"6ceb51c3e58b3cd3023e7a7184e171e8c2f75027",show:!this.hasError&&this.hasHelp},t("slot",{key:"60641e4d45948eaa1b9d8faad04aa70f12ab1693",name:"help"}))))}get root(){return o(this)}};(function(e,t,o,i){var r,l=arguments.length,a=l<3?t:null===i?i=Object.getOwnPropertyDescriptor(t,o):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(e,t,o,i);else for(var s=e.length-1;s>=0;s--)(r=e[s])&&(a=(l<3?r(a):l>3?r(t,o,a):r(t,o))||a);l>3&&a&&Object.defineProperty(t,o,a)})([i({childList:!0,subtree:!0})],m.prototype,"onMutation",null),m.style=".gux-form-field-container.gux-beside{display:flex;flex-direction:row}.gux-form-field-error{display:none;flex-direction:row;flex-wrap:nowrap;gap:var(--gse-ui-formControl-helper-gap);place-content:stretch flex-start;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;align-self:start;order:0;min-width:var(--gse-ui-icon-size-sm);min-height:var(--gse-ui-icon-size-sm);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-label-gap)}.gux-form-field-label.gux-required gux-form-field-label-indicator{padding-inline-start:var(--gse-ui-formControl-label-gap)}.gux-form-field-label.gux-beside{position:relative;top:var(--gse-ui-formControl-input-top);width:fit-content;min-width:var(--gse-ui-formControl-input-textfield-minWidth);max-width:fit-content;margin-right:var(--gse-ui-formControl-group-gapItems)}.gux-form-field-label.gux-above{padding:var(--gse-ui-formControl-label-padding)}.gux-form-field-label.gux-screenreader{position:absolute;top:auto;left:-10000px;width:1px;height:1px;overflow:hidden}.gux-form-field-help{display:none;flex-direction:row;flex-wrap:nowrap;place-content:stretch flex-start;align-items:flex-start;justify-content:flex-start;padding:var(--gse-ui-formControl-helper-paddingSmall);font-family:var(--gse-ui-formControl-helper-helperText-fontFamily);font-size:var(--gse-ui-formControl-helper-helperText-fontSize);line-height:var(--gse-ui-formControl-helper-helperText-lineHeight);color:var(--gse-ui-formControl-helper-defaultColor)}.gux-form-field-help.gux-show{display:flex}.gux-form-field-help .gux-message{flex:0 1 auto;align-self:none;order:0}:host{display:block}::slotted(label){font-family:var(--gse-ui-formControl-label-textBold-fontFamily);font-size:var(--gse-ui-formControl-label-textBold-fontSize);font-weight:var(--gse-ui-formControl-label-textBold-fontWeight);line-height:var(--gse-ui-formControl-label-textBold-lineHeight);color:var(--gse-ui-formControl-label-labelColor)}.gux-input-and-error-container{flex-grow:1}";export{m as gux_form_field_file}
1
+ import{r as e,h as t,g as o}from"./p-2e827df1.js";import{O as i}from"./p-01471ba0.js";import{h as r}from"./p-6d8b4027.js";import{t as l}from"./p-098c0e57.js";import{a,G as s}from"./p-fb1ab7b1.js";import{G as f,a as n}from"./p-9773c4fe.js";import{a as d,g as h,v as u}from"./p-66246239.js";import{p}from"./p-a11d5d42.js";import{o as g}from"./p-e5b1cffc.js";import"./p-0934300e.js";import"./p-8eaf8caf.js";import"./p-2c25e2f2.js";const m=class{constructor(t){e(this,t),this.labelPosition=void 0,this.computedLabelPosition="above",this.hasError=!1,this.hasHelp=!1,this.required=!1}onMutation(){this.labelInfo=this.root.querySelector("[slot=label-info]"),this.hasError=r(this.root,"error"),this.hasHelp=r(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)}componentWillLoad(){this.setInput(),this.setLabel(),this.hasError=r(this.root,"error"),this.hasHelp=r(this.root,"help"),this.labelInfo=this.root.querySelector("[slot=label-info]"),l(this.root,{variant:this.variant})}disconnectedCallback(){this.requiredObserver&&this.requiredObserver.disconnect()}setLabel(){this.label=this.root.querySelector('label[slot="label"]'),this.computedLabelPosition=d(this.label,this.labelPosition)}setInput(){this.input=h(this.root,'input[type="file"][slot="input"]'),p(this.input),this.required=this.input.required,this.requiredObserver=g(this.input,(e=>{this.required=e})),u(this.root,this.input)}get variant(){return`fileInput-${this.labelPosition?this.labelPosition.toLowerCase():"none"}`}render(){return t(n,{key:"e5b4d9fdfa79cad57d505668636f26d2f9daf69c",labelPosition:this.computedLabelPosition},t(f,{key:"99f7577d1400eb36b0242b195008988b59f5f248",position:this.computedLabelPosition,required:this.required},t("slot",{key:"c12c665f1cd9dc5749057cfc2a594481ecc0faca",name:"label",onSlotchange:()=>this.setLabel()}),t("gux-form-field-label-indicator",{key:"52b9d60441ba013611560a7d2116c14e0e5323e0",variant:"required",required:this.required}),t("slot",{key:"5ffdd1246404deeb9f621ada51a85bb4ec29dd65",name:"label-info"})),t("div",{key:"b4d0f24cbe35ea18cb2390d7cad8db8c44186157",class:"gux-input-and-error-container"},t("slot",{key:"5576250cc594f994c3bd8d265c509e8a72fd49f1",name:"input",onSlotchange:()=>this.setInput()}),t(a,{key:"142b616ae68ce9bbf0add9261eb298b085c4eced",show:this.hasError},t("slot",{key:"f0e40d277507f95bf89a6adb7db6700e1760f969",name:"error"})),t(s,{key:"f9019d60c785a5f1134748beee6322b887f3e02a",show:!this.hasError&&this.hasHelp},t("slot",{key:"ce08f918eb12f490a5a1b0f6e02ec2c8866d3845",name:"help"}))))}get root(){return o(this)}};(function(e,t,o,i){var r,l=arguments.length,a=l<3?t:null===i?i=Object.getOwnPropertyDescriptor(t,o):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(e,t,o,i);else for(var s=e.length-1;s>=0;s--)(r=e[s])&&(a=(l<3?r(a):l>3?r(t,o,a):r(t,o))||a);l>3&&a&&Object.defineProperty(t,o,a)})([i({childList:!0,subtree:!0})],m.prototype,"onMutation",null),m.style=".gux-form-field-container.gux-beside{display:flex;flex-direction:row}.gux-form-field-error{display:none;flex-direction:row;flex-wrap:nowrap;gap:var(--gse-ui-formControl-helper-gap);place-content:stretch flex-start;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;align-self:start;order:0;min-width:var(--gse-ui-icon-size-sm);min-height:var(--gse-ui-icon-size-sm);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-label-gap)}.gux-form-field-label.gux-required gux-form-field-label-indicator{padding-inline-start:var(--gse-ui-formControl-label-gap)}.gux-form-field-label.gux-beside{position:relative;top:var(--gse-ui-formControl-input-top);width:fit-content;min-width:var(--gse-ui-formControl-input-textfield-minWidth);max-width:fit-content;margin-right:var(--gse-ui-formControl-group-gapItems)}.gux-form-field-label.gux-above{padding:var(--gse-ui-formControl-label-padding)}.gux-form-field-label.gux-screenreader{position:absolute;top:auto;left:-10000px;width:1px;height:1px;overflow:hidden}.gux-form-field-help{display:none;flex-direction:row;flex-wrap:nowrap;place-content:stretch flex-start;align-items:flex-start;justify-content:flex-start;padding:var(--gse-ui-formControl-helper-paddingSmall);font-family:var(--gse-ui-formControl-helper-helperText-fontFamily);font-size:var(--gse-ui-formControl-helper-helperText-fontSize);line-height:var(--gse-ui-formControl-helper-helperText-lineHeight);color:var(--gse-ui-formControl-helper-defaultColor)}.gux-form-field-help.gux-show{display:flex}.gux-form-field-help .gux-message{flex:0 1 auto;align-self:none;order:0}:host{display:block}::slotted(label){font-family:var(--gse-ui-formControl-label-textBold-fontFamily);font-size:var(--gse-ui-formControl-label-textBold-fontSize);font-weight:var(--gse-ui-formControl-label-textBold-fontWeight);line-height:var(--gse-ui-formControl-label-textBold-lineHeight);color:var(--gse-ui-formControl-label-labelColor)}.gux-input-and-error-container{flex-grow:1}";export{m as gux_form_field_file}
@@ -0,0 +1 @@
1
+ import{r as t,h as i,g as s}from"./p-2e827df1.js";import{b as e}from"./p-0367930a.js";import{f as o,g as a,t as r}from"./p-68a3ce56.js";import{t as n}from"./p-098c0e57.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 e(this.root,r),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=this.i18n(t.countryName);if(!i)return;const e=o(t.currentTimeOffsetInMinutes),a=`${i}`,r=` (${this.i18n("UTC")}${e})`,n=`${r}`,h=a.replace(/_/g," "),d=`${s}`,u=a.startsWith("Etc/GMT")?2:1;return{value:t.name,localizedGroupName:i,formattedOffset:e,displayTextNameFormatted:h,displayTextOffset:r,baseDisplayOffsetText:n,countryName:d,defaultZone:"",priority:u}}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=a(),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:"e7269ca7f2756dc8554b5898c2ef9a0d10def291",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:"e67ad005d7ad2979ce77604bcbe9a37af551cf3a","aria-label":this.i18n("timeZones")},this.renderDefaultsList(),this.renderAllTimeZoneOptionsList()))}get root(){return s(this)}};d.style="gux-dropdown .zone-header{padding:8px 12px 4px;color:#6b7585;text-transform:uppercase}gux-dropdown gux-option{padding:var(--gse-ui-menu-option-padding)}gux-dropdown gux-option.gux-has-defaults{height: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}
@@ -0,0 +1 @@
1
+ import{r as e,c as t,h as s,g as i}from"./p-2e827df1.js";import{b as o}from"./p-0367930a.js";import{r as c}from"./p-0934300e.js";import{t as r}from"./p-408d5857.js";import"./p-4202e9f2.js";const a=class{constructor(s){e(this,s),this.internalrowselectchange=t(this,"internalrowselectchange",7),this.id=c("gux-row-select"),this.selected=!1,this.disabled=void 0}onCheck(e){e.stopPropagation(),this.selected=this.inputElement.checked,this.internalrowselectchange.emit(this.inputElement.checked)}async componentWillLoad(){this.i18n=await o(this.root,r,"gux-table")}render(){return s("gux-form-field-checkbox",{key:"ee79925440b7aee35f222c1fb08e77a7c5b9adc3","label-position":"screenreader"},s("input",{key:"643e6e83fbd1081dec1c009d04abc796fa425fce",ref:e=>this.inputElement=e,slot:"input",id:this.id,type:"checkbox",checked:this.selected,disabled:this.disabled}),s("label",{key:"4d506e1dda6121c6bf4f539d739e76e3ecbd3937",slot:"label",htmlFor:this.id},"​",s("span",{key:"6855726afce26f49f6051fa1ab2018cfc827f28f"},this.i18n("selectTableRow"))))}get root(){return i(this)}};a.style=":host{display:flex;flex-direction:row;justify-content:center}";export{a as gux_row_select}
@@ -1 +1 @@
1
- import{a as e,r,h as a,g as l}from"./p-2e827df1.js";import{t as o}from"./p-5cded110.js";import{l as s}from"./p-8eaf8caf.js";const t=["fa/arrow-left-to-line-solid","fa/arrow-right-to-line-solid"],u={"8x8":"custom/8x8","8x8-alt":"custom/8x8-solid",add:"fa/plus-regular","add-circle":"fa/circle-plus-regular",agent:"fa/head-side-headphones-regular","agent-circle":"custom/circle-head-side-headphones-regular","agent-group":"fa/people-group-regular","alert-info":"fa/circle-info-regular","alert-success":"deprecated/fa/circle-check-regular","alert-warning-octogon":"fa/hexagon-exclamation-regular","alert-warning-triangle":"fa/triangle-exclamation-regular",android:"fa/android","app-chart":"fa/square-poll-vertical-regular","app-generic":"fa/browser-regular","app-layout":"fa/table-layout-regular","app-table":"fa/table-regular",apple:"fa/apple",archive:"fa/box-archive-regular","arrow-down":"fa/arrow-down-regular","arrow-down-left":"fa/arrow-down-left-regular","arrow-down-right":"fa/arrow-down-right-regular","arrow-left":"fa/arrow-left-regular","arrow-right":"fa/arrow-right-regular","arrow-solid-down":"fa/caret-down-solid","arrow-solid-left":"fa/caret-left-solid","arrow-solid-right":"fa/caret-right-solid","arrow-solid-up":"fa/caret-up-solid","arrow-up":"fa/arrow-up-regular","arrow-up-left":"fa/arrow-up-left-regular","arrow-up-right":"fa/arrow-up-right-regular",at:"fa/at-regular",attachment:"fa/paperclip-regular",backspace:"fa/delete-left-regular","badge-amount":"fa/circle-0-solid","badge-check":"fa/circle-check-solid","badge-edit":"fa/pen-circle-regular","badge-file":"deprecated/badge-file","badge-pause":"fa/circle-pause-solid","badge-x":"fa/circle-xmark-solid","ban-outline":"deprecated/fa/ban-regular",bell:"fa/bell-regular",bolt:"fa/bolt-regular",bot:"fa/robot-regular",branch:"fa/code-branch-regular",bug:"fa/bug-regular",bus:"fa/bus-simple-regular",calendar:"fa/calendar-regular","calendar-add":"fa/calendar-plus-regular","calendar-clock":"fa/calendar-clock-regular",campaign:"fa/bullhorn-regular",certificate:"fa/file-certificate-regular",chat:"fa/message-lines-regular","chat-bell":"custom/message-bell-regular","chat-close":"fa/message-xmark-regular","chat-disable":"fa/message-slash-regular","chat-multi":"fa/messages-regular","chat-notification-score":"custom/message-bell-regular",checkbox:"fa/square-regular","checkbox-active":"fa/square-check-solid","checkbox-partial":"fa/square-minus-regular",checkmark:"custom/check-small-regular","chevron-double-down":"fa/chevrons-down-regular","chevron-double-left":"fa/chevrons-left-regular","chevron-double-right":"fa/chevrons-right-regular","chevron-double-up":"fa/chevrons-up-regular","chevron-left":"fa/chevron-left-regular","chevron-right":"fa/chevron-right-regular","chevron-small-down":"custom/chevron-down-small-regular","chevron-small-left":"custom/chevron-left-small-regular","chevron-small-right":"custom/chevron-right-small-regular","chevron-small-up":"custom/chevron-up-small-regular",chrome:"fa/chrome","cjv-badge-file":"fa/file-regular","cjv-calendar-clock":"fa/calendar-clock-regular","cjv-custom-default":"deprecated/cjv-custom-default","cjv-custom-event":"fa/circle-star-solid","cjv-custom-session":"custom/rectangules-arrow-left-to-right-regular","cjv-default-event":"fa/circle-star-solid","cjv-delivery":"fa/truck-regular","cjv-finance-invoice":"fa/file-invoice-dollar-regular","cjv-form-abandoned":"fa/file-circle-xmark-regular","cjv-form-submitted":"custom/file-arrow-up-regular","cjv-generic-application":"fa/file-user-regular","cjv-offer-closed":"fa/circle-xmark-solid","cjv-offer-ignored":"fa/subtract-circle-solid","cjv-offer-offered":"fa/circle-chevron-right-solid","cjv-offer-opened":"fa/badge-check-solid","cjv-outcome-achieved":"fa/circle-check-solid","cjv-page-view":"fa/circle-dot-regular","cjv-policy-contract":"fa/file-contract-regular","cjv-product-added":"fa/cart-circle-plus-regular","cjv-product-purchased":"fa/cart-circle-check-regular","cjv-product-removed":"fa/cart-circle-xmark-regular","cjv-search":"fa/magnifying-glass-regular","cjv-segment":"fa/chart-pie-simple-regular","cjv-segment-assigned":"fa/circle-quarter-regular","cjv-web-session":"fa/globe-regular","cjv-webchat-accepted":"fa/message-check-solid","cjv-webchat-error":"fa/message-xmark-solid","cjv-webchat-ignored":"fa/message-minus-solid","cjv-webchat-offered":"fa/message-arrow-up-right-solid","cjv-webchat-rejected":"fa/message-xmark-solid","cjv-webchat-requested":"fa/message-plus-solid","cjv-webchat-submitted":"fa/message-arrow-up-solid","cjv-webchat-timeout":"fa/timer-regular",clipboard:"fa/clipboard-regular","clipboard-error":"fa/clipboard-question-regular","clipboard-success":"fa/clipboard-check-regular",clock:"fa/clock-regular","clock-outline":"fa/clock-regular",clone:"fa/clone-regular",close:"fa/xmark-large-regular","close-circle":"deprecated/fa/circle-xmark-regular",cloud:"fa/cloud-regular","cloud-outline":"fa/cloud-regular",coaching:"fa/whistle-regular",cobrowse:"deprecated/cobrowse",collapse:"fa/arrow-down-left-and-arrow-up-right-to-center-regular",comments:"fa/message-lines-regular","comments-disable":"fa/message-slash-regular",configuration:"fa/block-brick-regular","control-end":"fa/forward-fast-regular","control-pause":"fa/pause-regular","control-play":"fa/play-regular","control-skip-left":"fa/backward-regular","control-skip-right":"fa/forward-regular","control-slide-back":"fa/backward-step-regular","control-slide-forward":"fa/forward-step-regular","control-start":"fa/backward-fast-regular","control-stop":"fa/stop-regular",copy:"fa/copy-regular","custom/add-column-after":"custom/table-column-plus-right-regular","custom/add-column-before":"custom/table-column-plus-left-regular","custom/add-row-after":"custom/table-row-plus-bottom-regular","custom/add-row-before":"custom/table-row-plus-top-regular","custom/binoculars-slash-regular":"custom/regular-binoculars-slash","custom/carousel":"custom/rectangle-carousel-regular","custom/clipboard-list-slash-regular":"custom/regular-clipboard-list-slash","custom/co-browse":"custom/screen-monitor-regular","custom/delete-column":"custom/table-column-xmark-regular","custom/delete-row":"custom/table-row-xmark-regular","custom/delete-table":"custom/table-xmark-regular","custom/file-pen-question":"custom/file-pen-question-regular","custom/filter-notification":"custom/filter-dot-regular","custom/font-regular-highlight":"custom/font-underline-regular","custom/one-button":"custom/mobiles-one-button-regular","custom/person-running":"fa/person-running-solid","custom/quick-reply":"custom/circle-buttons-regular","custom/three-button":"custom/mobile-three-button-regular","custom/wrap-text-inline":"custom/wrap-text-inline-regular","custom/wrap-text-tight":"custom/wrap-text-tight-regular","custom/wrap-text-top-bottom":"custom/wrap-text-top-bottom-regular","customer-journey":"fa/map-location-dot-regular",cut:"fa/scissors-regular",dash:"fa/gauge-simple-high-regular",delete:"fa/trash-regular","device-camera":"fa/camera-regular","device-cellphone":"fa/mobile-regular","device-headphones":"fa/headphones-regular","device-laptop":"fa/laptop-regular","device-pc":"deprecated/device-pc","device-server":"fa/server-regular","device-tablet":"fa/tablet-regular",download:"fa/arrow-down-to-line-regular",edge:"fa/edge-legacy",edit:"fa/pen-regular","email-notification-score":"fa/envelope-dot-regular",expand:"fa/arrow-up-right-and-arrow-down-left-from-center-regular",export:"fa/arrow-up-from-line-regular","external-link":"fa/arrow-up-right-from-square-regular","fa/00-solid":"fa/00-regular","fa/arrows-rotate-solid":"fa/arrows-rotate-regular","fa/ban-regular":"deprecated/fa/ban-regular","fa/check-solid":"custom/check-small-regular","fa/circle-check-regular":"deprecated/fa/circle-check-regular","fa/circle-xmark-regular":"deprecated/fa/circle-xmark-regular","fa/clock-outline":"fa/clock-regular","fa/comment-dots-regular":"fa/message-dots-regular","fa/comments-regular":"fa/messages-regular","fa/diagram-project-gear-regular":"fa/regular-diagram-project-gear","fa/eye-regular":"deprecated/fa/eye-regular","fa/eye-slash-regular":"deprecated/fa/eye-slash-regular","fa/life-ring-regular":"deprecated/fa/life-ring-regular","fa/link-horizontal-slash-regular":"fa/link-slash-regular","fa/link-horizontal-solid":"fa/link-regular","fa/list-radio-clean-regular":"fa/list-ul-regular","fa/list-radio-regular":"fa/list-ul-regular","fa/list-regular":"fa/list-ul-regular","fa/rectangle-list-regular":"fa/square-list-regular","fa/reply-regular":"custom/reply-regular","fa/right-to-bracket-regular":"fa/arrow-right-to-bracket-regular","fa/share-regular":"custom/share-regular","fa/volume-regular":"deprecated/fa/volume-regular","face-empathy":"deprecated/face-empathy","face-happy":"fa/face-smile-regular","face-happy-solid":"fa/face-smile-solid","face-neutral":"fa/face-meh-regular","face-neutral-solid":"fa/face-meh-solid","face-sad":"fa/face-frown-regular","face-sad-solid":"fa/face-frown-solid",facebook:"fa/facebook","facebook-messenger":"fa/facebook-messenger",fax:"fa/fax-regular",file:"fa/file-regular","file-all":"fa/files-regular","file-audio":"deprecated/fa/volume-regular","file-image-landscape":"fa/image-regular","file-image-portrait":"fa/image-portrait-regular","file-pdf":"fa/file-pdf-regular","file-preview":"fa/file-magnifying-glass-regular","file-report":"fa/file-chart-column-regular","file-text":"fa/file-lines-regular","file-video":"fa/video-regular",filter:"fa/filter-regular",fire:"fa/fire-regular",firefox:"fa/firefox",flag:"fa/flag-regular",folder:"fa/folder-regular","folder-add":"fa/folder-plus-regular","folder-open":"fa/folder-open-regular",follow:"fa/binoculars-regular",generic:"fa/shapes-regular",globe:"fa/earth-africa-regular","grab-horizontal":"fa/grip-solid","grab-vertical":"fa/grip-vertical-solid","graph-bar-horizontal":"fa/chart-bar-regular","graph-bar-vertical":"fa/chart-column-regular","graph-bubble":"fa/chart-scatter-bubble-regular","graph-chart":"fa/chart-area-regular","graph-line":"fa/chart-line-regular","graph-pie":"fa/chart-pie-regular","graph-spark":"custom/chart-line-spark-regular","group-standard":"custom/users-light",help:"fa/circle-question-regular",home:"fa/home-regular",hourglass:"fa/hourglass-half-regular",import:"fa/file-import-regular",inbox:"fa/inbox-regular",inspect:"deprecated/fa/eye-regular","inspect-disable":"deprecated/fa/eye-slash-regular",instagram:"fa/instagram","internet-explorer":"fa/internet-explorer",key:"fa/key-regular",lightbulb:"fa/lightbulb-regular","line-messenger":"fa/line",link:"fa/link-regular",linkedin:"fa/linkedin",linux:"fa/linux",lock:"fa/lock-regular","lock-hold":"custom/lock-keyholes-regular",logout:"fa/arrow-right-from-bracket-regular","low-bandwidth":"fa/wifi-slash-regular",lunch:"fa/utensils-regular",menu:"fa/bars-regular","menu-kebab-horizontal":"fa/ellipsis-regular","menu-kebab-vertical":"fa/ellipsis-vertical-regular","message-email":"fa/envelope-regular","message-email-outbound":"custom/envelope-arrow-up-right-regular","message-forward":"custom/share-regular","message-reply":"custom/reply-regular","message-reply-all":"custom/reply-all-regular",microphone:"fa/microphone-regular","microphone-disable":"fa/microphone-slash-regular","microphone-talking":"custom/microphone-line-on-regular",microsoft:"fa/microsoft","microsoft-teams":"custom/microsoft-teams",moon:"fa/moon-regular",music:"fa/music-regular",notes:"fa/memo-regular",notification:"fa/circle-solid",opera:"fa/opera","operator-pair":"custom/users-headset-regular",paint:"fa/fill-drip-regular",palette:"fa/palette-regular","parking-sign-regular":"fa/square-parking-regular",paste:"fa/paste-regular",people:"fa/people-pants-simple-regular",phone:"fa/phone-regular","phone-bell":"custom/phone-bell-regular","phone-call-directory":"deprecated/phone-call-directory","phone-call-history":"custom/phone-bars-regular","phone-callback":"custom/phone-arrow-left-regular","phone-close":"fa/phone-xmark-regular","phone-conference":"custom/phone-big-small-regular","phone-dialpad":"fa/grid-regular","phone-disable":"fa/phone-slash-regular","phone-forward":"fa/phone-arrow-right-regular","phone-hangup":"fa/phone-hangup-regular","phone-hold":"custom/phone-clock-regular","phone-inbound":"fa/phone-arrow-down-left-regular","phone-missed-call":"fa/phone-missed-regular","phone-notification-score":"custom/phone-star-regular","phone-outbound":"fa/phone-arrow-up-right-regular","phone-success":"custom/phone-check-regular","phone-voice":"custom/phone-high-volume-regular",pin:"fa/thumbtack-regular","pin-location":"fa/location-dot-regular",post:"fa/newspaper-regular","product-logo-beyond":"custom/genesys-beyond","product-logo-g":"custom/genesys","quote-left":"fa/quote-left-regular","quote-right":"fa/quote-right-regular",radio:"fa/circle-regular","radio-active":"fa/circle-dot-regular",rating:"fa/star-regular","rating-active":"fa/star-solid","rating-partial":"fa/star-sharp-half-stroke-regular",record:"fa/waveform-lines-regular",refresh:"fa/arrows-rotate-regular",reset:"fa/arrow-rotate-left-regular",resource:"fa/notebook-regular",retweet:"custom/arrows-retweet-regular","roster-chat":"fa/message-lines-regular","roster-chat-disable":"fa/message-slash-regular","roster-email":"fa/envelope-regular","roster-email-disable":"fa/regular-envelope-slash","roster-instagram":"fa/instagram","roster-instagram-disable":"custom/instagram-slash","roster-line":"fa/line","roster-line-disable":"custom/line-slash","roster-message":"fa/message-lines-regular","roster-message-disable":"fa/message-xmark-regular","roster-messenger":"fa/facebook-messenger","roster-messenger-disable":"custom/facebook-messenger-slash","roster-phone":"fa/phone-regular","roster-phone-disable":"fa/phone-slash-regular","roster-sms":"fa/message-dots-regular","roster-sms-disable":"fa/message-slash-regular","roster-twitter":"fa/twitter","roster-twitter-disable":"custom/twitter-slash","roster-wechat":"fa/weixin","roster-wechat-disable":"deprecated/roster-wechat-disable","roster-whatsapp":"fa/whatsapp","roster-whatsapp-disable":"fa/custon-whatsapp-slash",rss:"fa/square-rss-solid",run:"fa/person-running-solid",safari:"fa/safari",save:"fa/floppy-disk-regular","screen-share-regular":"custom/display-arrow-right-regular","screen-share-slash":"custom/display-arrow-right-slash-regular",scripter:"fa/scroll-regular",search:"fa/magnifying-glass-regular",send:"fa/paper-plane-top-regular",server:"fa/server-regular",settings:"fa/gear-regular",share:"fa/share-nodes-regular","shield-lock":"fa/shield-keyhole-regular","shield-outline":"fa/shield-check-regular","shield-solid":"fa/shield-check-solid",site:"fa/building-regular",skills:"fa/graduation-cap-regular",slideshare:"fa/slideshare",sms:"fa/message-dots-regular","sms-cancel":"fa/message-xmark-regular","sms-close":"fa/message-xmark-regular",stamp:"fa/stamp-regular",subtract:"fa/minus-regular","subtract-circle":"fa/subtract-circle-regular",sun:"fa/sun-bright-regular",tag:"fa/tag-regular","tag-add":"deprecated/tag-add","tag-remove":"deprecated/tag-remove",telegram:"fa/telegram",tenant:"fa/box-regular","thumbs-down":"fa/thumb-down-regular","thumbs-up":"fa/thumb-up-regular",timeline:"custom/arrow-turn-left-clock-regular","toolbar-apps":"custom/squares-big-small-regular","toolbar-apps-disable":"custom/squares-big-small-slash-regular","toolbar-assist":"deprecated/fa/life-ring-regular","toolbar-assist-disable":"custom/life-ring-slash-regular","toolbar-chat":"fa/message-regular","toolbar-chat-disable":"fa/message-slash-regular","toolbar-favorite":"deprecated/toolbar-favorite","toolbar-favourite":"fa/star-regular","toolbar-help":"fa/circle-question-regular","toolbar-inbox":"fa/inbox-regular","toolbar-interactions":"custom/user-talking-regular","toolbar-interactions-disable":"custom/user-talking-slash-regular","toolbar-notification":"fa/circle-solid","toolbar-phone":"fa/phone-regular","toolbar-phone-active-1":"custom/phone-low-volume-regular","toolbar-phone-active-2":"custom/phone-volume-regular","toolbar-phone-active-3":"custom/phone-high-volume-regular","toolbar-phone-disable":"fa/phone-slash-regular","toolbar-video":"fa/video-regular","toolbar-video-disable":"fa/video-slash-regular",trade:"fa/handshake-regular",transfer:"fa/arrow-right-arrow-left-regular",twitter:"fa/twitter",unknown:"fa/square-x-regular",unlink:"fa/link-slash-regular",unlock:"fa/unlock-regular",upload:"fa/upload-regular",user:"fa/user-regular","user-add":"fa/user-plus-regular","user-circle":"fa/circle-user-regular","user-contact-id":"fa/address-card-regular","user-directory":"fa/address-book-regular","user-group":"fa/users-regular","user-interactions":"custom/user-talking-regular","user-interactions-disable":"custom/user-talking-slash-regular",viber:"fa/viber",video:"fa/video-regular","video-disable":"fa/video-slash-regular","view-all":"fa/grid-4-regular","view-cells":"custom/columns-3-regular","view-grid":"fa/border-all-regular","view-list":"fa/square-list-regular","view-lists":"custom/columns-3-regular","view-roster":"fa/table-list-regular","view-stacked":"fa/table-rows-regular",voicemail:"fa/voicemail-regular","volume-disable":"fa/volume-slash-regular","volume-down":"fa/volume-low-regular","volume-none":"fa/volume-off-regular","volume-up":"deprecated/fa/volume-regular",web:"fa/globe-regular",webcam:"fa/camera-web-regular","webcam-disable":"fa/camera-web-slash-regular",wechat:"fa/weixin",whatsapp:"fa/whatsapp","window-actual-size":"fa/brackets-square-regular","window-contract":"fa/arrows-minimize-regular","window-drag-out":"fa/arrow-up-right-from-square-regular","window-expand":"fa/arrows-maximize-regular","window-fullscreen":"fa/arrows-maximize-regular","window-popout":"fa/square-arrow-up-right-regular",wordpress:"fa/wordpress",youtube:"fa/youtube","zoom-in":"fa/magnifying-glass-plus-regular","zoom-out":"fa/magnifying-glass-minus-regular"},i=Object.keys(u),c=new Map;function g(e){return t.includes(e)?`legacy/${e}`:i.includes(e)?u[e]:e}async function f(r){const a=function(e){return e.replace("/","-")}(r);if(c.has(a))return c.get(a);const l=async function(r){const a=await fetch(e(`./icons/${r}.svg`));if(200===a.status)return a.text();throw new Error(`[gux-icon] fetching failed for icon "${r}" with status "${a.statusText} (${a.status})".`)}(r).then((e=>e)).catch((e=>(setTimeout((()=>{throw e}),0),f("fa/square-x-regular"))));return c.set(a,l),l}const n=class{constructor(e){r(this,e),this.iconName=void 0,this.decorative=!1,this.screenreaderText="",this.size="inherit",this.svgHtml=void 0}async prepIcon(e){if(e){const r=g(e);this.baseSvgHtml=await f(r),this.svgHtml=this.getSvgWithAriaAttributes(this.baseSvgHtml)}}watchDecorative(e){this.validateProps(e,this.screenreaderText),this.baseSvgHtml&&(this.svgHtml=this.getSvgWithAriaAttributes(this.baseSvgHtml))}watchScreenreaderText(e){this.validateProps(this.decorative,e),this.baseSvgHtml&&(this.svgHtml=this.getSvgWithAriaAttributes(this.baseSvgHtml))}async componentWillLoad(){o(this.root,{variant:g(this.iconName)}),await this.prepIcon(this.iconName)}componentDidLoad(){this.validateProps(this.decorative,this.screenreaderText)}validateProps(e,r){this.root.isConnected&&(e||r||s(this.root,"No screenreader-text provided. Either provide a localized screenreader-text property or set `decorative` to true."))}getSvgWithAriaAttributes(e){const r=(new DOMParser).parseFromString(e,"image/svg+xml").firstChild;return r.setAttribute("aria-hidden",this.decorative?String(this.decorative):"false"),this.screenreaderText?r.setAttribute("aria-label",this.screenreaderText):r.removeAttribute("aria-label"),r.outerHTML}render(){return this.svgHtml&&a("div",{key:"11e42c61e6b6a268d4f3202b85587865a2777469",class:"gux-icon-container",innerHTML:this.svgHtml})}static get assetsDirs(){return["icons"]}get root(){return l(this)}static get watchers(){return{iconName:["prepIcon"],decorative:["watchDecorative"],screenreaderText:["watchScreenreaderText"]}}};n.style=":host{display:inline-flex;width:1em;height:1em}:host([size=small]){width:var(--gse-ui-icon-size-sm);height:var(--gse-ui-icon-size-sm)}:host([size=medium]){width:var(--gse-ui-icon-size-md);height:var(--gse-ui-icon-size-md)}:host([size=large]){width:var(--gse-ui-icon-size-lg);height:var(--gse-ui-icon-size-lg)}.gux-icon-container{display:flex;align-items:center;justify-content:center;width:100%}.gux-icon-container svg{width:100%;max-width:100%;height:100%;max-height:100%;fill:currentcolor}";export{n as gux_icon}
1
+ import{a as e,r,h as a,g as l}from"./p-2e827df1.js";import{t as o}from"./p-098c0e57.js";import{l as s}from"./p-8eaf8caf.js";const t=["fa/arrow-left-to-line-solid","fa/arrow-right-to-line-solid"],u={"8x8":"custom/8x8","8x8-alt":"custom/8x8-solid",add:"fa/plus-regular","add-circle":"fa/circle-plus-regular",agent:"fa/head-side-headphones-regular","agent-circle":"custom/circle-head-side-headphones-regular","agent-group":"fa/people-group-regular","alert-info":"fa/circle-info-regular","alert-success":"deprecated/fa/circle-check-regular","alert-warning-octogon":"fa/hexagon-exclamation-regular","alert-warning-triangle":"fa/triangle-exclamation-regular",android:"fa/android","app-chart":"fa/square-poll-vertical-regular","app-generic":"fa/browser-regular","app-layout":"fa/table-layout-regular","app-table":"fa/table-regular",apple:"fa/apple",archive:"fa/box-archive-regular","arrow-down":"fa/arrow-down-regular","arrow-down-left":"fa/arrow-down-left-regular","arrow-down-right":"fa/arrow-down-right-regular","arrow-left":"fa/arrow-left-regular","arrow-right":"fa/arrow-right-regular","arrow-solid-down":"fa/caret-down-solid","arrow-solid-left":"fa/caret-left-solid","arrow-solid-right":"fa/caret-right-solid","arrow-solid-up":"fa/caret-up-solid","arrow-up":"fa/arrow-up-regular","arrow-up-left":"fa/arrow-up-left-regular","arrow-up-right":"fa/arrow-up-right-regular",at:"fa/at-regular",attachment:"fa/paperclip-regular",backspace:"fa/delete-left-regular","badge-amount":"fa/circle-0-solid","badge-check":"fa/circle-check-solid","badge-edit":"fa/pen-circle-regular","badge-file":"deprecated/badge-file","badge-pause":"fa/circle-pause-solid","badge-x":"fa/circle-xmark-solid","ban-outline":"deprecated/fa/ban-regular",bell:"fa/bell-regular",bolt:"fa/bolt-regular",bot:"fa/robot-regular",branch:"fa/code-branch-regular",bug:"fa/bug-regular",bus:"fa/bus-simple-regular",calendar:"fa/calendar-regular","calendar-add":"fa/calendar-plus-regular","calendar-clock":"fa/calendar-clock-regular",campaign:"fa/bullhorn-regular",certificate:"fa/file-certificate-regular",chat:"fa/message-lines-regular","chat-bell":"custom/message-bell-regular","chat-close":"fa/message-xmark-regular","chat-disable":"fa/message-slash-regular","chat-multi":"fa/messages-regular","chat-notification-score":"custom/message-bell-regular",checkbox:"fa/square-regular","checkbox-active":"fa/square-check-solid","checkbox-partial":"fa/square-minus-regular",checkmark:"custom/check-small-regular","chevron-double-down":"fa/chevrons-down-regular","chevron-double-left":"fa/chevrons-left-regular","chevron-double-right":"fa/chevrons-right-regular","chevron-double-up":"fa/chevrons-up-regular","chevron-left":"fa/chevron-left-regular","chevron-right":"fa/chevron-right-regular","chevron-small-down":"custom/chevron-down-small-regular","chevron-small-left":"custom/chevron-left-small-regular","chevron-small-right":"custom/chevron-right-small-regular","chevron-small-up":"custom/chevron-up-small-regular",chrome:"fa/chrome","cjv-badge-file":"fa/file-regular","cjv-calendar-clock":"fa/calendar-clock-regular","cjv-custom-default":"deprecated/cjv-custom-default","cjv-custom-event":"fa/circle-star-solid","cjv-custom-session":"custom/rectangules-arrow-left-to-right-regular","cjv-default-event":"fa/circle-star-solid","cjv-delivery":"fa/truck-regular","cjv-finance-invoice":"fa/file-invoice-dollar-regular","cjv-form-abandoned":"fa/file-circle-xmark-regular","cjv-form-submitted":"custom/file-arrow-up-regular","cjv-generic-application":"fa/file-user-regular","cjv-offer-closed":"fa/circle-xmark-solid","cjv-offer-ignored":"fa/subtract-circle-solid","cjv-offer-offered":"fa/circle-chevron-right-solid","cjv-offer-opened":"fa/badge-check-solid","cjv-outcome-achieved":"fa/circle-check-solid","cjv-page-view":"fa/circle-dot-regular","cjv-policy-contract":"fa/file-contract-regular","cjv-product-added":"fa/cart-circle-plus-regular","cjv-product-purchased":"fa/cart-circle-check-regular","cjv-product-removed":"fa/cart-circle-xmark-regular","cjv-search":"fa/magnifying-glass-regular","cjv-segment":"fa/chart-pie-simple-regular","cjv-segment-assigned":"fa/circle-quarter-regular","cjv-web-session":"fa/globe-regular","cjv-webchat-accepted":"fa/message-check-solid","cjv-webchat-error":"fa/message-xmark-solid","cjv-webchat-ignored":"fa/message-minus-solid","cjv-webchat-offered":"fa/message-arrow-up-right-solid","cjv-webchat-rejected":"fa/message-xmark-solid","cjv-webchat-requested":"fa/message-plus-solid","cjv-webchat-submitted":"fa/message-arrow-up-solid","cjv-webchat-timeout":"fa/timer-regular",clipboard:"fa/clipboard-regular","clipboard-error":"fa/clipboard-question-regular","clipboard-success":"fa/clipboard-check-regular",clock:"fa/clock-regular","clock-outline":"fa/clock-regular",clone:"fa/clone-regular",close:"fa/xmark-large-regular","close-circle":"deprecated/fa/circle-xmark-regular",cloud:"fa/cloud-regular","cloud-outline":"fa/cloud-regular",coaching:"fa/whistle-regular",cobrowse:"deprecated/cobrowse",collapse:"fa/arrow-down-left-and-arrow-up-right-to-center-regular",comments:"fa/message-lines-regular","comments-disable":"fa/message-slash-regular",configuration:"fa/block-brick-regular","control-end":"fa/forward-fast-regular","control-pause":"fa/pause-regular","control-play":"fa/play-regular","control-skip-left":"fa/backward-regular","control-skip-right":"fa/forward-regular","control-slide-back":"fa/backward-step-regular","control-slide-forward":"fa/forward-step-regular","control-start":"fa/backward-fast-regular","control-stop":"fa/stop-regular",copy:"fa/copy-regular","custom/add-column-after":"custom/table-column-plus-right-regular","custom/add-column-before":"custom/table-column-plus-left-regular","custom/add-row-after":"custom/table-row-plus-bottom-regular","custom/add-row-before":"custom/table-row-plus-top-regular","custom/binoculars-slash-regular":"custom/regular-binoculars-slash","custom/carousel":"custom/rectangle-carousel-regular","custom/clipboard-list-slash-regular":"custom/regular-clipboard-list-slash","custom/co-browse":"custom/screen-monitor-regular","custom/delete-column":"custom/table-column-xmark-regular","custom/delete-row":"custom/table-row-xmark-regular","custom/delete-table":"custom/table-xmark-regular","custom/file-pen-question":"custom/file-pen-question-regular","custom/filter-notification":"custom/filter-dot-regular","custom/font-regular-highlight":"custom/font-underline-regular","custom/one-button":"custom/mobiles-one-button-regular","custom/person-running":"fa/person-running-solid","custom/quick-reply":"custom/circle-buttons-regular","custom/three-button":"custom/mobile-three-button-regular","custom/wrap-text-inline":"custom/wrap-text-inline-regular","custom/wrap-text-tight":"custom/wrap-text-tight-regular","custom/wrap-text-top-bottom":"custom/wrap-text-top-bottom-regular","customer-journey":"fa/map-location-dot-regular",cut:"fa/scissors-regular",dash:"fa/gauge-simple-high-regular",delete:"fa/trash-regular","device-camera":"fa/camera-regular","device-cellphone":"fa/mobile-regular","device-headphones":"fa/headphones-regular","device-laptop":"fa/laptop-regular","device-pc":"deprecated/device-pc","device-server":"fa/server-regular","device-tablet":"fa/tablet-regular",download:"fa/arrow-down-to-line-regular",edge:"fa/edge-legacy",edit:"fa/pen-regular","email-notification-score":"fa/envelope-dot-regular",expand:"fa/arrow-up-right-and-arrow-down-left-from-center-regular",export:"fa/arrow-up-from-line-regular","external-link":"fa/arrow-up-right-from-square-regular","fa/00-solid":"fa/00-regular","fa/arrows-rotate-solid":"fa/arrows-rotate-regular","fa/ban-regular":"deprecated/fa/ban-regular","fa/check-solid":"custom/check-small-regular","fa/circle-check-regular":"deprecated/fa/circle-check-regular","fa/circle-xmark-regular":"deprecated/fa/circle-xmark-regular","fa/clock-outline":"fa/clock-regular","fa/comment-dots-regular":"fa/message-dots-regular","fa/comments-regular":"fa/messages-regular","fa/diagram-project-gear-regular":"fa/regular-diagram-project-gear","fa/eye-regular":"deprecated/fa/eye-regular","fa/eye-slash-regular":"deprecated/fa/eye-slash-regular","fa/life-ring-regular":"deprecated/fa/life-ring-regular","fa/link-horizontal-slash-regular":"fa/link-slash-regular","fa/link-horizontal-solid":"fa/link-regular","fa/list-radio-clean-regular":"fa/list-ul-regular","fa/list-radio-regular":"fa/list-ul-regular","fa/list-regular":"fa/list-ul-regular","fa/rectangle-list-regular":"fa/square-list-regular","fa/reply-regular":"custom/reply-regular","fa/right-to-bracket-regular":"fa/arrow-right-to-bracket-regular","fa/share-regular":"custom/share-regular","fa/volume-regular":"deprecated/fa/volume-regular","face-empathy":"deprecated/face-empathy","face-happy":"fa/face-smile-regular","face-happy-solid":"fa/face-smile-solid","face-neutral":"fa/face-meh-regular","face-neutral-solid":"fa/face-meh-solid","face-sad":"fa/face-frown-regular","face-sad-solid":"fa/face-frown-solid",facebook:"fa/facebook","facebook-messenger":"fa/facebook-messenger",fax:"fa/fax-regular",file:"fa/file-regular","file-all":"fa/files-regular","file-audio":"deprecated/fa/volume-regular","file-image-landscape":"fa/image-regular","file-image-portrait":"fa/image-portrait-regular","file-pdf":"fa/file-pdf-regular","file-preview":"fa/file-magnifying-glass-regular","file-report":"fa/file-chart-column-regular","file-text":"fa/file-lines-regular","file-video":"fa/video-regular",filter:"fa/filter-regular",fire:"fa/fire-regular",firefox:"fa/firefox",flag:"fa/flag-regular",folder:"fa/folder-regular","folder-add":"fa/folder-plus-regular","folder-open":"fa/folder-open-regular",follow:"fa/binoculars-regular",generic:"fa/shapes-regular",globe:"fa/earth-africa-regular","grab-horizontal":"fa/grip-solid","grab-vertical":"fa/grip-vertical-solid","graph-bar-horizontal":"fa/chart-bar-regular","graph-bar-vertical":"fa/chart-column-regular","graph-bubble":"fa/chart-scatter-bubble-regular","graph-chart":"fa/chart-area-regular","graph-line":"fa/chart-line-regular","graph-pie":"fa/chart-pie-regular","graph-spark":"custom/chart-line-spark-regular","group-standard":"custom/users-light",help:"fa/circle-question-regular",home:"fa/home-regular",hourglass:"fa/hourglass-half-regular",import:"fa/file-import-regular",inbox:"fa/inbox-regular",inspect:"deprecated/fa/eye-regular","inspect-disable":"deprecated/fa/eye-slash-regular",instagram:"fa/instagram","internet-explorer":"fa/internet-explorer",key:"fa/key-regular",lightbulb:"fa/lightbulb-regular","line-messenger":"fa/line",link:"fa/link-regular",linkedin:"fa/linkedin",linux:"fa/linux",lock:"fa/lock-regular","lock-hold":"custom/lock-keyholes-regular",logout:"fa/arrow-right-from-bracket-regular","low-bandwidth":"fa/wifi-slash-regular",lunch:"fa/utensils-regular",menu:"fa/bars-regular","menu-kebab-horizontal":"fa/ellipsis-regular","menu-kebab-vertical":"fa/ellipsis-vertical-regular","message-email":"fa/envelope-regular","message-email-outbound":"custom/envelope-arrow-up-right-regular","message-forward":"custom/share-regular","message-reply":"custom/reply-regular","message-reply-all":"custom/reply-all-regular",microphone:"fa/microphone-regular","microphone-disable":"fa/microphone-slash-regular","microphone-talking":"custom/microphone-line-on-regular",microsoft:"fa/microsoft","microsoft-teams":"custom/microsoft-teams",moon:"fa/moon-regular",music:"fa/music-regular",notes:"fa/memo-regular",notification:"fa/circle-solid",opera:"fa/opera","operator-pair":"custom/users-headset-regular",paint:"fa/fill-drip-regular",palette:"fa/palette-regular","parking-sign-regular":"fa/square-parking-regular",paste:"fa/paste-regular",people:"fa/people-pants-simple-regular",phone:"fa/phone-regular","phone-bell":"custom/phone-bell-regular","phone-call-directory":"deprecated/phone-call-directory","phone-call-history":"custom/phone-bars-regular","phone-callback":"custom/phone-arrow-left-regular","phone-close":"fa/phone-xmark-regular","phone-conference":"custom/phone-big-small-regular","phone-dialpad":"fa/grid-regular","phone-disable":"fa/phone-slash-regular","phone-forward":"fa/phone-arrow-right-regular","phone-hangup":"fa/phone-hangup-regular","phone-hold":"custom/phone-clock-regular","phone-inbound":"fa/phone-arrow-down-left-regular","phone-missed-call":"fa/phone-missed-regular","phone-notification-score":"custom/phone-star-regular","phone-outbound":"fa/phone-arrow-up-right-regular","phone-success":"custom/phone-check-regular","phone-voice":"custom/phone-high-volume-regular",pin:"fa/thumbtack-regular","pin-location":"fa/location-dot-regular",post:"fa/newspaper-regular","product-logo-beyond":"custom/genesys-beyond","product-logo-g":"custom/genesys","quote-left":"fa/quote-left-regular","quote-right":"fa/quote-right-regular",radio:"fa/circle-regular","radio-active":"fa/circle-dot-regular",rating:"fa/star-regular","rating-active":"fa/star-solid","rating-partial":"fa/star-sharp-half-stroke-regular",record:"fa/waveform-lines-regular",refresh:"fa/arrows-rotate-regular",reset:"fa/arrow-rotate-left-regular",resource:"fa/notebook-regular",retweet:"custom/arrows-retweet-regular","roster-chat":"fa/message-lines-regular","roster-chat-disable":"fa/message-slash-regular","roster-email":"fa/envelope-regular","roster-email-disable":"fa/regular-envelope-slash","roster-instagram":"fa/instagram","roster-instagram-disable":"custom/instagram-slash","roster-line":"fa/line","roster-line-disable":"custom/line-slash","roster-message":"fa/message-lines-regular","roster-message-disable":"fa/message-xmark-regular","roster-messenger":"fa/facebook-messenger","roster-messenger-disable":"custom/facebook-messenger-slash","roster-phone":"fa/phone-regular","roster-phone-disable":"fa/phone-slash-regular","roster-sms":"fa/message-dots-regular","roster-sms-disable":"fa/message-slash-regular","roster-twitter":"fa/twitter","roster-twitter-disable":"custom/twitter-slash","roster-wechat":"fa/weixin","roster-wechat-disable":"deprecated/roster-wechat-disable","roster-whatsapp":"fa/whatsapp","roster-whatsapp-disable":"fa/custon-whatsapp-slash",rss:"fa/square-rss-solid",run:"fa/person-running-solid",safari:"fa/safari",save:"fa/floppy-disk-regular","screen-share-regular":"custom/display-arrow-right-regular","screen-share-slash":"custom/display-arrow-right-slash-regular",scripter:"fa/scroll-regular",search:"fa/magnifying-glass-regular",send:"fa/paper-plane-top-regular",server:"fa/server-regular",settings:"fa/gear-regular",share:"fa/share-nodes-regular","shield-lock":"fa/shield-keyhole-regular","shield-outline":"fa/shield-check-regular","shield-solid":"fa/shield-check-solid",site:"fa/building-regular",skills:"fa/graduation-cap-regular",slideshare:"fa/slideshare",sms:"fa/message-dots-regular","sms-cancel":"fa/message-xmark-regular","sms-close":"fa/message-xmark-regular",stamp:"fa/stamp-regular",subtract:"fa/minus-regular","subtract-circle":"fa/subtract-circle-regular",sun:"fa/sun-bright-regular",tag:"fa/tag-regular","tag-add":"deprecated/tag-add","tag-remove":"deprecated/tag-remove",telegram:"fa/telegram",tenant:"fa/box-regular","thumbs-down":"fa/thumb-down-regular","thumbs-up":"fa/thumb-up-regular",timeline:"custom/arrow-turn-left-clock-regular","toolbar-apps":"custom/squares-big-small-regular","toolbar-apps-disable":"custom/squares-big-small-slash-regular","toolbar-assist":"deprecated/fa/life-ring-regular","toolbar-assist-disable":"custom/life-ring-slash-regular","toolbar-chat":"fa/message-regular","toolbar-chat-disable":"fa/message-slash-regular","toolbar-favorite":"deprecated/toolbar-favorite","toolbar-favourite":"fa/star-regular","toolbar-help":"fa/circle-question-regular","toolbar-inbox":"fa/inbox-regular","toolbar-interactions":"custom/user-talking-regular","toolbar-interactions-disable":"custom/user-talking-slash-regular","toolbar-notification":"fa/circle-solid","toolbar-phone":"fa/phone-regular","toolbar-phone-active-1":"custom/phone-low-volume-regular","toolbar-phone-active-2":"custom/phone-volume-regular","toolbar-phone-active-3":"custom/phone-high-volume-regular","toolbar-phone-disable":"fa/phone-slash-regular","toolbar-video":"fa/video-regular","toolbar-video-disable":"fa/video-slash-regular",trade:"fa/handshake-regular",transfer:"fa/arrow-right-arrow-left-regular",twitter:"fa/twitter",unknown:"fa/square-x-regular",unlink:"fa/link-slash-regular",unlock:"fa/unlock-regular",upload:"fa/upload-regular",user:"fa/user-regular","user-add":"fa/user-plus-regular","user-circle":"fa/circle-user-regular","user-contact-id":"fa/address-card-regular","user-directory":"fa/address-book-regular","user-group":"fa/users-regular","user-interactions":"custom/user-talking-regular","user-interactions-disable":"custom/user-talking-slash-regular",viber:"fa/viber",video:"fa/video-regular","video-disable":"fa/video-slash-regular","view-all":"fa/grid-4-regular","view-cells":"custom/columns-3-regular","view-grid":"fa/border-all-regular","view-list":"fa/square-list-regular","view-lists":"custom/columns-3-regular","view-roster":"fa/table-list-regular","view-stacked":"fa/table-rows-regular",voicemail:"fa/voicemail-regular","volume-disable":"fa/volume-slash-regular","volume-down":"fa/volume-low-regular","volume-none":"fa/volume-off-regular","volume-up":"deprecated/fa/volume-regular",web:"fa/globe-regular",webcam:"fa/camera-web-regular","webcam-disable":"fa/camera-web-slash-regular",wechat:"fa/weixin",whatsapp:"fa/whatsapp","window-actual-size":"fa/brackets-square-regular","window-contract":"fa/arrows-minimize-regular","window-drag-out":"fa/arrow-up-right-from-square-regular","window-expand":"fa/arrows-maximize-regular","window-fullscreen":"fa/arrows-maximize-regular","window-popout":"fa/square-arrow-up-right-regular",wordpress:"fa/wordpress",youtube:"fa/youtube","zoom-in":"fa/magnifying-glass-plus-regular","zoom-out":"fa/magnifying-glass-minus-regular"},i=Object.keys(u),c=new Map;function g(e){return t.includes(e)?`legacy/${e}`:i.includes(e)?u[e]:e}async function f(r){const a=function(e){return e.replace("/","-")}(r);if(c.has(a))return c.get(a);const l=async function(r){const a=await fetch(e(`./icons/${r}.svg`));if(200===a.status)return a.text();throw new Error(`[gux-icon] fetching failed for icon "${r}" with status "${a.statusText} (${a.status})".`)}(r).then((e=>e)).catch((e=>(setTimeout((()=>{throw e}),0),f("fa/square-x-regular"))));return c.set(a,l),l}const n=class{constructor(e){r(this,e),this.iconName=void 0,this.decorative=!1,this.screenreaderText="",this.size="inherit",this.svgHtml=void 0}async prepIcon(e){if(e){const r=g(e);this.baseSvgHtml=await f(r),this.svgHtml=this.getSvgWithAriaAttributes(this.baseSvgHtml)}}watchDecorative(e){this.validateProps(e,this.screenreaderText),this.baseSvgHtml&&(this.svgHtml=this.getSvgWithAriaAttributes(this.baseSvgHtml))}watchScreenreaderText(e){this.validateProps(this.decorative,e),this.baseSvgHtml&&(this.svgHtml=this.getSvgWithAriaAttributes(this.baseSvgHtml))}async componentWillLoad(){o(this.root,{variant:g(this.iconName)}),await this.prepIcon(this.iconName)}componentDidLoad(){this.validateProps(this.decorative,this.screenreaderText)}validateProps(e,r){this.root.isConnected&&(e||r||s(this.root,"No screenreader-text provided. Either provide a localized screenreader-text property or set `decorative` to true."))}getSvgWithAriaAttributes(e){const r=(new DOMParser).parseFromString(e,"image/svg+xml").firstChild;return r.setAttribute("aria-hidden",this.decorative?String(this.decorative):"false"),this.screenreaderText?r.setAttribute("aria-label",this.screenreaderText):r.removeAttribute("aria-label"),r.outerHTML}render(){return this.svgHtml&&a("div",{key:"fdaed8279e654d61223d21363ea96aa68a8a32e6",class:"gux-icon-container",innerHTML:this.svgHtml})}static get assetsDirs(){return["icons"]}get root(){return l(this)}static get watchers(){return{iconName:["prepIcon"],decorative:["watchDecorative"],screenreaderText:["watchScreenreaderText"]}}};n.style=":host{display:inline-flex;width:1em;height:1em}:host([size=small]){width:var(--gse-ui-icon-size-sm);height:var(--gse-ui-icon-size-sm)}:host([size=medium]){width:var(--gse-ui-icon-size-md);height:var(--gse-ui-icon-size-md)}:host([size=large]){width:var(--gse-ui-icon-size-lg);height:var(--gse-ui-icon-size-lg)}.gux-icon-container{display:flex;align-items:center;justify-content:center;width:100%}.gux-icon-container svg{width:100%;max-width:100%;height:100%;max-height:100%;fill:currentcolor}";export{n as gux_icon}
@@ -1 +1 @@
1
- import{r as o,h as t,g as e}from"./p-2e827df1.js";import{m as n}from"./p-67d20704.js";const u=class{constructor(t){o(this,t)}async guxFocus(){this.buttonElement.focus()}onKeydown(o){switch(n(o,this.root),o.key){case"ArrowRight":case"Enter":o.stopPropagation()}}onKeyup(o){" "===o.key&&o.stopPropagation()}render(){return t("button",{key:"0b8ab4835145bf20fbfc50bad3b032ea6ee33716",type:"button",class:"gux-menu-option-button",role:"menuitem","aria-haspopup":"false",tabIndex:-1,ref:o=>this.buttonElement=o},t("span",{key:"88d7518f7f17013442c64e015564ec2b80a9a88a",class:"gux-menu-option-button-text"},t("slot",{key:"05eacb7de85ef5298cd604cc6bf0c3166b852928"})))}get root(){return e(this)}};u.style=":host{display:block;flex:1 1 auto;align-self:auto}:host .gux-menu-option-button{all:unset;width:var(--gse-ui-flyoutMenu-width);height:var(--gse-ui-menu-option-height);padding:var(--gse-ui-menu-option-padding);line-height:var(--gse-ui-menu-option-label-default-text-lineHeight);color:var(--gse-ui-menu-option-label-foregroundColor);background-color:var(--gse-ui-menu-option-default-backgroundColor)}:host .gux-menu-option-button:focus-within,:host .gux-menu-option-button:hover{background-color:var(--gse-ui-menu-option-hover-backgroundColor)}:host .gux-menu-option-button:enabled{cursor:pointer}:host .gux-menu-option-button .gux-menu-option-button-text{display:block;overflow-x:hidden;text-overflow:ellipsis;white-space:nowrap}";export{u as gux_menu_option}
1
+ import{r as o,h as t,g as e}from"./p-2e827df1.js";import{m as n}from"./p-67d20704.js";const u=class{constructor(t){o(this,t)}async guxFocus(){this.buttonElement.focus()}onKeydown(o){switch(n(o,this.root),o.key){case"ArrowRight":case"Enter":o.stopPropagation()}}onKeyup(o){" "===o.key&&o.stopPropagation()}render(){return t("button",{key:"e79faabef6b54fe1009610ace99549a13917aa2a",type:"button",class:"gux-menu-option-button",role:"menuitem","aria-haspopup":"false",tabIndex:-1,ref:o=>this.buttonElement=o},t("span",{key:"daf0064c5b7692af88365aefd72bec4eda3fec79",class:"gux-menu-option-button-text"},t("slot",{key:"d50cd034a9df228ac3dd9a927a8b590ca2979012"})))}get root(){return e(this)}};u.style=":host{display:block;flex:1 1 auto;align-self:auto}:host .gux-menu-option-button{all:unset;width:var(--gse-ui-flyoutMenu-width);height:var(--gse-ui-menu-option-height);padding:var(--gse-ui-menu-option-padding);line-height:var(--gse-ui-menu-option-label-default-text-lineHeight);color:var(--gse-ui-menu-option-label-foregroundColor);background-color:var(--gse-ui-menu-option-default-backgroundColor)}:host .gux-menu-option-button:focus-within,:host .gux-menu-option-button:hover{background-color:var(--gse-ui-menu-option-hover-backgroundColor)}:host .gux-menu-option-button:enabled{cursor:pointer}:host .gux-menu-option-button .gux-menu-option-button-text{display:block;overflow-x:hidden;text-overflow:ellipsis;white-space:nowrap}";export{u as gux_menu_option}
@@ -1 +1 @@
1
- import{r as t,d as s,w as i,h as o,g as e}from"./p-2e827df1.js";import{a as r}from"./p-cf0e7d3b.js";import{b as l}from"./p-0367930a.js";import{O as a}from"./p-01471ba0.js";import"./p-4202e9f2.js";const c={scrollLeft:"Scroll Left",scrollRight:"Scroll Right",scrollUp:"Scroll Up",scrollDown:"Scroll Down"};const n=class{constructor(s){t(this,s),this.currentScrollIndex=0,this.focused=0,this.tabTriggers=void 0,this.hasHorizontalScrollbar=!1,this.hasVerticalScrollbar=!1,this.isScrolledToBeginning=!1,this.isScrolledToEnd=!1}onFocusout(t){this.root.contains(t.relatedTarget)||this.tabTriggers.forEach(((t,s)=>{t.guxGetActive().then((i=>{i?this.focused=s:t.querySelector("button").setAttribute("tabindex","-1")}))}))}onHasVerticalScrollBar(){this.checkDisabledScrollButtons()}onScroll(){this.checkDisabledScrollButtons()}onKeydown(t){switch(t.key){case"ArrowRight":case"ArrowDown":t.preventDefault(),this.handleKeyboardScroll("forward");break;case"ArrowLeft":case"ArrowUp":t.preventDefault(),this.handleKeyboardScroll("backward");break;case"Escape":t.preventDefault(),this.focusTab(this.focused);break;case"Home":t.preventDefault(),this.focusTab(0);break;case"End":t.preventDefault(),this.focusTab(this.tabTriggers.length-1)}}onMutation(){this.setTabTriggers()}async guxSetActive(t){this.tabTriggers.forEach(((s,i)=>{const o=s.tabId===t;s.guxSetActive(o),o&&(this.focused=i)}))}focusTab(t){this.focused=t,this.tabTriggers.forEach(((t,s)=>{t.guxGetActive().then((i=>{this.focused===s||i||t.querySelector("button").setAttribute("tabindex","-1")}))})),this.tabTriggers[this.focused].querySelector("button").setAttribute("tabindex","0"),this.tabTriggers[this.focused].guxFocus()}setTabTriggers(){this.tabTriggers=this.root.querySelectorAll("gux-tab"),this.triggerIds=this.tabTriggers?Array.from(this.tabTriggers).map((t=>`gux-${t.getAttribute("tab-id")}-tab`)).join(" "):""}checkForScrollbarHideOrShow(){s((()=>{const t=this.root.querySelector(".gux-scrollable-section"),s=t.clientWidth<t.scrollWidth,i=t.clientHeight<t.scrollHeight;s!==this.hasHorizontalScrollbar&&(this.hasHorizontalScrollbar=s),i!==this.hasVerticalScrollbar&&(this.hasVerticalScrollbar=i),this.checkDisabledScrollButtons()}))}handleKeyboardScroll(t){const s=this.root.querySelector(".gux-scrollable-section");"forward"===t?this.focused<this.tabTriggers.length-1?(i((()=>{this.hasHorizontalScrollbar?this.scrollRight():this.scrollDown()})),this.focusTab(this.focused+1)):(i((()=>{this.hasHorizontalScrollbar?s.scrollBy(-s.scrollWidth,0):s.scrollBy(0,-s.scrollHeight)})),this.focusTab(0)):"backward"===t&&(this.focused>0?(i((()=>{this.hasHorizontalScrollbar?this.scrollLeft():this.scrollUp()})),this.focusTab(this.focused-1)):(i((()=>{this.hasHorizontalScrollbar?s.scrollBy(s.scrollWidth,0):s.scrollBy(0,s.scrollHeight)})),this.focusTab(this.tabTriggers.length-1)))}disconnectedCallback(){this.resizeObserver&&this.resizeObserver.unobserve(this.root.querySelector(".gux-tab-container")),this.domObserver&&this.domObserver.disconnect()}async componentWillLoad(){this.setTabTriggers(),this.i18n=await l(this.root,c,"gux-tabs")}componentDidLoad(){!this.resizeObserver&&window.ResizeObserver&&(this.resizeObserver=new ResizeObserver((()=>this.checkForScrollbarHideOrShow()))),this.resizeObserver&&this.resizeObserver.observe(this.root.querySelector(".gux-scrollable-section")),!this.domObserver&&window.MutationObserver&&(this.domObserver=new MutationObserver((()=>this.checkForScrollbarHideOrShow()))),this.domObserver&&this.domObserver.observe(this.root,{childList:!0,attributes:!1,subtree:!0}),r((()=>{this.checkForScrollbarHideOrShow()}),500)}checkDisabledScrollButtons(){const t=this.root.querySelector(".gux-scrollable-section");if(this.hasHorizontalScrollbar){const s=t.scrollLeft,i=t.scrollWidth-t.clientWidth;this.isScrolledToBeginning=0===s,this.isScrolledToEnd=i-s==0}else{const s=t.scrollTop,i=t.scrollHeight-t.clientHeight;this.isScrolledToBeginning=0===s,this.isScrolledToEnd=i-s==0}}getTabLength(){var t;return null===(t=this.tabTriggers[this.currentScrollIndex])||void 0===t?void 0:t.scrollWidth}scrollLeft(){i((()=>{this.currentScrollIndex=this.isScrolledToEnd?this.tabTriggers.length-1:this.currentScrollIndex-1,this.root.querySelector(".gux-scrollable-section").scrollBy(-this.getTabLength(),0)}))}scrollRight(){i((()=>{this.isScrolledToBeginning&&(this.currentScrollIndex=0),this.root.querySelector(".gux-scrollable-section").scrollBy(this.getTabLength(),0),this.currentScrollIndex=this.currentScrollIndex+1}))}scrollUp(){i((()=>{this.root.querySelector(".gux-scrollable-section").scrollBy(0,-this.tabTriggers[this.focused].clientHeight)}))}scrollDown(){i((()=>{this.root.querySelector(".gux-scrollable-section").scrollBy(0,this.tabTriggers[this.focused].clientHeight)}))}render(){return o("div",{key:"680306423a224a9a1646ba5f67fdb9f31e2d0454",class:"gux-tab-container"},this.renderScrollButton(this.hasHorizontalScrollbar?"scrollLeft":"scrollUp"),o("div",{key:"b86e164ab68080f6510abeb70310c0458e7f5844",role:"tablist",class:"gux-scrollable-section","aria-owns":this.triggerIds},o("slot",{key:"ec4815defba142048face3b67c1eb6ee092ffb14"})),this.renderScrollButton(this.hasHorizontalScrollbar?"scrollRight":"scrollDown"))}renderScrollButton(t){return o("div",{class:"gux-scroll-button-container"},this.hasHorizontalScrollbar||this.hasVerticalScrollbar?o("button",{disabled:this.getButtonDisabled(t),tabindex:"-1",title:this.i18n(t),"aria-label":this.i18n(t),class:"gux-scroll-button",onClick:()=>this.getScrollDirection(t)},o("gux-icon",{"icon-name":this.getChevronIconName(t),decorative:!0})):null)}getButtonDisabled(t){switch(t){case"scrollLeft":case"scrollUp":return this.isScrolledToBeginning;case"scrollRight":case"scrollDown":return this.isScrolledToEnd}}getScrollDirection(t){switch(t){case"scrollLeft":this.scrollLeft();break;case"scrollRight":this.scrollRight();break;case"scrollUp":this.scrollUp();break;case"scrollDown":this.scrollDown()}}getChevronIconName(t){switch(t){case"scrollLeft":return"custom/chevron-left-small-regular";case"scrollRight":return"custom/chevron-right-small-regular";case"scrollUp":return"custom/chevron-up-small-regular";case"scrollDown":return"custom/chevron-down-small-regular"}}get root(){return e(this)}};(function(t,s,i,o){var e,r=arguments.length,l=r<3?s:null===o?o=Object.getOwnPropertyDescriptor(s,i):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)l=Reflect.decorate(t,s,i,o);else for(var a=t.length-1;a>=0;a--)(e=t[a])&&(l=(r<3?e(l):r>3?e(s,i,l):e(s,i))||l);r>3&&l&&Object.defineProperty(s,i,l)})([a({childList:!0,subtree:!0})],n.prototype,"onMutation",null),n.style="gux-tabs[orientation=vertical]{height:100%}gux-tabs[orientation=vertical]>gux-tab-list .gux-tab-container{display:flex;flex-direction:column;width:var(--gse-ui-tabs-set-vertical-width);height:100%;margin-right:var(--gse-ui-tabs-set-vertical-marginRight);border-right:var(--gse-ui-tabs-item-divider-horizontal-height) solid var(--gse-ui-tabs-item-divider-dividerColor)}gux-tabs[orientation=vertical]>gux-tab-list .gux-tab-container .gux-scroll-button-container{width:100%}gux-tabs[orientation=vertical]>gux-tab-list .gux-tab-container .gux-scroll-button-container button{width:100%}gux-tabs[orientation=vertical]>gux-tab-list .gux-tab-container .gux-scrollable-section{flex-direction:column;height:100%;overflow-y:auto;scrollbar-width:none;-ms-overflow-style:none;scroll-behavior:smooth}gux-tabs[orientation=vertical]>gux-tab-list .gux-tab-container .gux-scrollable-section::-webkit-scrollbar{width:0;height:0}gux-tabs:not([orientation=vertical])>gux-tab-list .gux-tab-container{height:var(--gse-ui-tabs-set-horizontal-height);margin-bottom:var(--gse-ui-tabs-set-horizontal-marginBottom);border-bottom:var(--gse-ui-tabs-item-divider-horizontal-height) solid var(--gse-ui-tabs-item-divider-dividerColor)}gux-tabs:not([orientation=vertical])>gux-tab-list .gux-scrollable-section{overflow-x:auto}gux-tabs .gux-tab-container{box-sizing:content-box;display:flex;width:100%;overflow:hidden hidden;background-color:transparent}gux-tabs .gux-scrollable-section{display:flex;flex:1 1 auto;scroll-behavior:smooth;scrollbar-width:none}gux-tabs .gux-scrollable-section::-webkit-scrollbar{height:0}gux-tabs .gux-scroll-button-container{display:flex;border-radius:4px}gux-tabs .gux-scroll-button-container .gux-scroll-button{display:flex;align-items:center;justify-content:center;width:28px;height:40px;color:#202937;cursor:pointer;background-color:#e2e6ee;border:none;border-radius:4px}gux-tabs .gux-scroll-button-container .gux-scroll-button gux-icon{width:16px;height:16px}gux-tabs .gux-scroll-button-container .gux-scroll-button:hover:not(:disabled){background-color:#d7dce5}gux-tabs .gux-scroll-button-container .gux-scroll-button:active:not(:disabled){background-color:#d2d8e5}gux-tabs .gux-scroll-button-container .gux-scroll-button:disabled{cursor:default;opacity:0.5}";export{n as gux_tab_list}
1
+ import{r as t,d as s,w as i,h as o,g as e}from"./p-2e827df1.js";import{a as r}from"./p-cf0e7d3b.js";import{b as l}from"./p-0367930a.js";import{O as a}from"./p-01471ba0.js";import"./p-4202e9f2.js";const c={scrollLeft:"Scroll Left",scrollRight:"Scroll Right",scrollUp:"Scroll Up",scrollDown:"Scroll Down"};const n=class{constructor(s){t(this,s),this.currentScrollIndex=0,this.focused=0,this.tabTriggers=void 0,this.hasHorizontalScrollbar=!1,this.hasVerticalScrollbar=!1,this.isScrolledToBeginning=!1,this.isScrolledToEnd=!1}onFocusout(t){this.root.contains(t.relatedTarget)||this.tabTriggers.forEach(((t,s)=>{t.guxGetActive().then((i=>{i?this.focused=s:t.querySelector("button").setAttribute("tabindex","-1")}))}))}onHasVerticalScrollBar(){this.checkDisabledScrollButtons()}onScroll(){this.checkDisabledScrollButtons()}onKeydown(t){switch(t.key){case"ArrowRight":case"ArrowDown":t.preventDefault(),this.handleKeyboardScroll("forward");break;case"ArrowLeft":case"ArrowUp":t.preventDefault(),this.handleKeyboardScroll("backward");break;case"Escape":t.preventDefault(),this.focusTab(this.focused);break;case"Home":t.preventDefault(),this.focusTab(0);break;case"End":t.preventDefault(),this.focusTab(this.tabTriggers.length-1)}}onMutation(){this.setTabTriggers()}async guxSetActive(t){this.tabTriggers.forEach(((s,i)=>{const o=s.tabId===t;s.guxSetActive(o),o&&(this.focused=i)}))}focusTab(t){this.focused=t,this.tabTriggers.forEach(((t,s)=>{t.guxGetActive().then((i=>{this.focused===s||i||t.querySelector("button").setAttribute("tabindex","-1")}))})),this.tabTriggers[this.focused].querySelector("button").setAttribute("tabindex","0"),this.tabTriggers[this.focused].guxFocus()}setTabTriggers(){this.tabTriggers=this.root.querySelectorAll("gux-tab"),this.triggerIds=this.tabTriggers?Array.from(this.tabTriggers).map((t=>`gux-${t.getAttribute("tab-id")}-tab`)).join(" "):""}checkForScrollbarHideOrShow(){s((()=>{const t=this.root.querySelector(".gux-scrollable-section"),s=t.clientWidth<t.scrollWidth,i=t.clientHeight<t.scrollHeight;s!==this.hasHorizontalScrollbar&&(this.hasHorizontalScrollbar=s),i!==this.hasVerticalScrollbar&&(this.hasVerticalScrollbar=i),this.checkDisabledScrollButtons()}))}handleKeyboardScroll(t){const s=this.root.querySelector(".gux-scrollable-section");"forward"===t?this.focused<this.tabTriggers.length-1?(i((()=>{this.hasHorizontalScrollbar?this.scrollRight():this.scrollDown()})),this.focusTab(this.focused+1)):(i((()=>{this.hasHorizontalScrollbar?s.scrollBy(-s.scrollWidth,0):s.scrollBy(0,-s.scrollHeight)})),this.focusTab(0)):"backward"===t&&(this.focused>0?(i((()=>{this.hasHorizontalScrollbar?this.scrollLeft():this.scrollUp()})),this.focusTab(this.focused-1)):(i((()=>{this.hasHorizontalScrollbar?s.scrollBy(s.scrollWidth,0):s.scrollBy(0,s.scrollHeight)})),this.focusTab(this.tabTriggers.length-1)))}disconnectedCallback(){this.resizeObserver&&this.resizeObserver.unobserve(this.root.querySelector(".gux-tab-container")),this.domObserver&&this.domObserver.disconnect()}async componentWillLoad(){this.setTabTriggers(),this.i18n=await l(this.root,c,"gux-tabs")}componentDidLoad(){!this.resizeObserver&&window.ResizeObserver&&(this.resizeObserver=new ResizeObserver((()=>this.checkForScrollbarHideOrShow()))),this.resizeObserver&&this.resizeObserver.observe(this.root.querySelector(".gux-scrollable-section")),!this.domObserver&&window.MutationObserver&&(this.domObserver=new MutationObserver((()=>this.checkForScrollbarHideOrShow()))),this.domObserver&&this.domObserver.observe(this.root,{childList:!0,attributes:!1,subtree:!0}),r((()=>{this.checkForScrollbarHideOrShow()}),500)}checkDisabledScrollButtons(){const t=this.root.querySelector(".gux-scrollable-section");if(this.hasHorizontalScrollbar){const s=t.scrollLeft,i=t.scrollWidth-t.clientWidth;this.isScrolledToBeginning=0===s,this.isScrolledToEnd=i-s==0}else{const s=t.scrollTop,i=t.scrollHeight-t.clientHeight;this.isScrolledToBeginning=0===s,this.isScrolledToEnd=i-s==0}}getTabLength(){var t;return null===(t=this.tabTriggers[this.currentScrollIndex])||void 0===t?void 0:t.scrollWidth}scrollLeft(){i((()=>{this.currentScrollIndex=this.isScrolledToEnd?this.tabTriggers.length-1:this.currentScrollIndex-1,this.root.querySelector(".gux-scrollable-section").scrollBy(-this.getTabLength(),0)}))}scrollRight(){i((()=>{this.isScrolledToBeginning&&(this.currentScrollIndex=0),this.root.querySelector(".gux-scrollable-section").scrollBy(this.getTabLength(),0),this.currentScrollIndex=this.currentScrollIndex+1}))}scrollUp(){i((()=>{this.root.querySelector(".gux-scrollable-section").scrollBy(0,-this.tabTriggers[this.focused].clientHeight)}))}scrollDown(){i((()=>{this.root.querySelector(".gux-scrollable-section").scrollBy(0,this.tabTriggers[this.focused].clientHeight)}))}render(){return o("div",{key:"b32f188c3f1d9ea07b8c8475268f3aabc57f3ff1",class:"gux-tab-container"},this.renderScrollButton(this.hasHorizontalScrollbar?"scrollLeft":"scrollUp"),o("div",{key:"b57f80c836570869b97817579d7606319ffb0e76",role:"tablist",class:"gux-scrollable-section","aria-owns":this.triggerIds},o("slot",{key:"e55980ba380656fc8a73b724620b95aee9a22eb7"})),this.renderScrollButton(this.hasHorizontalScrollbar?"scrollRight":"scrollDown"))}renderScrollButton(t){return o("div",{class:"gux-scroll-button-container"},this.hasHorizontalScrollbar||this.hasVerticalScrollbar?o("button",{disabled:this.getButtonDisabled(t),tabindex:"-1",title:this.i18n(t),"aria-label":this.i18n(t),class:"gux-scroll-button",onClick:()=>this.getScrollDirection(t)},o("gux-icon",{"icon-name":this.getChevronIconName(t),decorative:!0})):null)}getButtonDisabled(t){switch(t){case"scrollLeft":case"scrollUp":return this.isScrolledToBeginning;case"scrollRight":case"scrollDown":return this.isScrolledToEnd}}getScrollDirection(t){switch(t){case"scrollLeft":this.scrollLeft();break;case"scrollRight":this.scrollRight();break;case"scrollUp":this.scrollUp();break;case"scrollDown":this.scrollDown()}}getChevronIconName(t){switch(t){case"scrollLeft":return"custom/chevron-left-small-regular";case"scrollRight":return"custom/chevron-right-small-regular";case"scrollUp":return"custom/chevron-up-small-regular";case"scrollDown":return"custom/chevron-down-small-regular"}}get root(){return e(this)}};(function(t,s,i,o){var e,r=arguments.length,l=r<3?s:null===o?o=Object.getOwnPropertyDescriptor(s,i):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)l=Reflect.decorate(t,s,i,o);else for(var a=t.length-1;a>=0;a--)(e=t[a])&&(l=(r<3?e(l):r>3?e(s,i,l):e(s,i))||l);r>3&&l&&Object.defineProperty(s,i,l)})([a({childList:!0,subtree:!0})],n.prototype,"onMutation",null),n.style="gux-tabs[orientation=vertical]{height:100%}gux-tabs[orientation=vertical]>gux-tab-list .gux-tab-container{display:flex;flex-direction:column;width:var(--gse-ui-tabs-set-vertical-width);height:100%;margin-right:var(--gse-ui-tabs-set-vertical-marginRight);border-right:var(--gse-ui-tabs-item-divider-horizontal-height) solid var(--gse-ui-tabs-item-divider-dividerColor)}gux-tabs[orientation=vertical]>gux-tab-list .gux-tab-container .gux-scroll-button-container{width:100%}gux-tabs[orientation=vertical]>gux-tab-list .gux-tab-container .gux-scroll-button-container button{width:100%}gux-tabs[orientation=vertical]>gux-tab-list .gux-tab-container .gux-scrollable-section{flex-direction:column;height:100%;overflow-y:auto;scrollbar-width:none;-ms-overflow-style:none;scroll-behavior:smooth}gux-tabs[orientation=vertical]>gux-tab-list .gux-tab-container .gux-scrollable-section::-webkit-scrollbar{width:0;height:0}gux-tabs:not([orientation=vertical])>gux-tab-list .gux-tab-container{height:var(--gse-ui-tabs-set-horizontal-height);margin-bottom:var(--gse-ui-tabs-set-horizontal-marginBottom);border-bottom:var(--gse-ui-tabs-item-divider-horizontal-height) solid var(--gse-ui-tabs-item-divider-dividerColor)}gux-tabs:not([orientation=vertical])>gux-tab-list .gux-scrollable-section{overflow-x:auto}gux-tabs .gux-tab-container{box-sizing:content-box;display:flex;width:100%;overflow:hidden hidden;background-color:transparent}gux-tabs .gux-scrollable-section{display:flex;flex:1 1 auto;scroll-behavior:smooth;scrollbar-width:none}gux-tabs .gux-scrollable-section::-webkit-scrollbar{height:0}gux-tabs .gux-scroll-button-container{display:flex;border-radius:4px}gux-tabs .gux-scroll-button-container .gux-scroll-button{display:flex;align-items:center;justify-content:center;width:28px;height:40px;color:#202937;cursor:pointer;background-color:#e2e6ee;border:none;border-radius:4px}gux-tabs .gux-scroll-button-container .gux-scroll-button gux-icon{width:16px;height:16px}gux-tabs .gux-scroll-button-container .gux-scroll-button:hover:not(:disabled){background-color:#d7dce5}gux-tabs .gux-scroll-button-container .gux-scroll-button:active:not(:disabled){background-color:#d2d8e5}gux-tabs .gux-scroll-button-container .gux-scroll-button:disabled{cursor:default;opacity:0.5}";export{n as gux_tab_list}
@@ -1 +1 @@
1
- import{r as a,c as o,h as t,g as i}from"./p-2e827df1.js";import{r as e}from"./p-0934300e.js";import{t as n}from"./p-5cded110.js";const d=class{constructor(t){a(this,t),this.guxdismiss=o(this,"guxdismiss",7),this.size="dynamic",this.open=!1}syncOpenState(){this.open?this.dialogElement.showModal():this.dialogElement.close()}async showModal(){this.open=!0}async close(){this.open=!1}onKeydown(a){if("Escape"===a.key)return a.preventDefault(),void this.onDismissHandler()}componentWillLoad(){n(this.root,{variant:`${this.size}`})}componentDidLoad(){this.syncOpenState()}hasModalTitleSlot(){return Boolean(this.root.querySelector('[slot="title"]'))}hasFooterButtons(){var a,o;const t=this.root.querySelector('[slot="start-align-buttons"]'),i=this.root.querySelector('[slot="end-align-buttons"]');return Boolean(null===(a=null==t?void 0:t.textContent)||void 0===a?void 0:a.trim())||Boolean(null===(o=null==i?void 0:i.textContent)||void 0===o?void 0:o.trim())}render(){const a=this.hasModalTitleSlot(),o=e();return t("dialog",{key:"b21f66fea97ad825220bf1f7cb607c2b028530cb",onClose:this.onCloseHandler.bind(this),ref:a=>this.dialogElement=a,"aria-labelledby":a?o:null},t("div",{key:"6f9f15215b90d95674356b3183f1cb73695500df",class:`gux-modal-container gux-${this.size}`},t("gux-dismiss-button",{key:"b2cf8c0bbc3a35fe922187395bdc9a14c566be9f",onClick:this.onDismissHandler.bind(this)}),a&&this.renderTitle(o),t("div",{key:"b6be54d55a19922d444f43c83f8daa60b91cc299",class:"gux-modal-content"},t("p",{key:"c68709bfa8c21e50e8e10fe382843a0dda63beae"},t("slot",{key:"1e6316fd283c5822b0cb77e00a9f7fa3134770d3",name:"content"}))),this.renderButtonFooter()))}renderTitle(a){return t("h1",{class:"gux-modal-header",id:a},t("slot",{name:"title"}))}renderButtonFooter(){const a=this.hasFooterButtons();return t("div",{class:{"gux-button-footer":!0,"gux-no-buttons":!a}},t("div",{class:"gux-start-align-buttons"},t("slot",{name:"start-align-buttons"})),t("div",{class:"gux-end-align-buttons"},t("slot",{name:"end-align-buttons"})))}onCloseHandler(){this.guxdismiss.emit()}onDismissHandler(){this.open=!1}static get delegatesFocus(){return!0}get root(){return i(this)}static get watchers(){return{open:["syncOpenState"]}}};d.style="::slotted(button:active:enabled){color:var(--gse-ui-link-active-foregroundColor);text-decoration:underline;background:none}slot[name=start-align-buttons]::slotted(:not(button,gux-button-slot)){display:flex;flex-direction:row;gap:var(--gse-ui-modal-buttonBar-gap);align-content:flex-start;align-items:center}:host dialog{box-sizing:border-box;justify-content:space-between;padding:0;border:none;border-radius:var(--gse-ui-modal-borderRadius);box-shadow:var(--gse-ui-modal-boxShadow-x) var(--gse-ui-modal-boxShadow-y) var(--gse-ui-modal-boxShadow-blur) var(--gse-ui-modal-boxShadow-spread) var(--gse-ui-modal-boxShadow-color)}:host dialog::backdrop{background:rgba(77, 97, 130, 0.8)}:host dialog .gux-modal-container{display:flex;flex-direction:column;padding-top:var(--gse-ui-modal-padding);padding-bottom:var(--gse-ui-modal-padding)}:host dialog .gux-modal-container.gux-small{width:var(--gse-ui-modal-small-width);max-height:min(368px, 100vh - 2 * 24px)}:host dialog .gux-modal-container.gux-medium{width:var(--gse-ui-modal-medium-width);max-height:min(640px, 100vh - 2 * 24px)}:host dialog .gux-modal-container.gux-large{width:var(--gse-ui-modal-large-width);max-height:min(640px, 100vh - 2 * 24px)}:host dialog .gux-modal-container.gux-dynamic{max-width:calc(100vw - 48px);max-height:calc(100vh - 48px)}:host dialog .gux-modal-container.gux-dynamic .gux-modal-content{max-height:none}:host dialog .gux-modal-container .gux-modal-header{padding-right:var(--gse-ui-modal-padding);padding-left:var(--gse-ui-modal-padding);margin:0;font-family:var(--gse-ui-modal-heading-fontFamily);font-size:var(--gse-ui-modal-heading-fontSize);font-weight:var(--gse-ui-modal-heading-fontWeight);line-height:var(--gse-ui-modal-heading-fontFamily);color:var(--gse-ui-modal-headerColor);letter-spacing:var(--gse-ui-modal-heading-letterSpacing);font-family:var(--gse-core-typography-heading-xl-fontFamily), var(--gse-core-fontFamily-heading), sans-serif;font-size:var(--gse-core-typography-heading-xl-fontSize);line-height:var(--gse-core-typography-heading-xl-lineHeight);font-weight:var(--gse-core-fontWeight-bold)}:host dialog .gux-modal-container .gux-modal-content{max-height:432px;padding-right:var(--gse-ui-modal-padding);padding-left:var(--gse-ui-modal-padding);margin-top:var(--gse-ui-modal-gap);overflow-y:auto}:host dialog .gux-modal-container .gux-button-footer{display:flex;justify-content:space-between;padding-right:var(--gse-ui-modal-padding);padding-left:var(--gse-ui-modal-padding);margin-top:var(--gse-ui-modal-gap)}:host dialog .gux-modal-container .gux-button-footer.gux-no-buttons{display:none}@media (max-width: 416px){:host dialog .gux-modal-container.gux-small,:host dialog .gux-modal-container.gux-medium,:host dialog .gux-modal-container.gux-large{width:100%;height:100%}}";export{d as gux_modal}
1
+ import{r as a,c as o,h as t,g as e}from"./p-2e827df1.js";import{r as i}from"./p-0934300e.js";import{t as n}from"./p-098c0e57.js";const d=class{constructor(t){a(this,t),this.guxdismiss=o(this,"guxdismiss",7),this.size="dynamic",this.open=!1}syncOpenState(){this.open?this.dialogElement.showModal():this.dialogElement.close()}async showModal(){this.open=!0}async close(){this.open=!1}onKeydown(a){if("Escape"===a.key)return a.preventDefault(),void this.onDismissHandler()}componentWillLoad(){n(this.root,{variant:`${this.size}`})}componentDidLoad(){this.syncOpenState()}hasModalTitleSlot(){return Boolean(this.root.querySelector('[slot="title"]'))}hasFooterButtons(){var a,o;const t=this.root.querySelector('[slot="start-align-buttons"]'),e=this.root.querySelector('[slot="end-align-buttons"]');return Boolean(null===(a=null==t?void 0:t.textContent)||void 0===a?void 0:a.trim())||Boolean(null===(o=null==e?void 0:e.textContent)||void 0===o?void 0:o.trim())}render(){const a=this.hasModalTitleSlot(),o=i();return t("dialog",{key:"cc85caa876e0e2fc620e4214592b55d9c74b9566",onClose:this.onCloseHandler.bind(this),ref:a=>this.dialogElement=a,"aria-labelledby":a?o:null},t("div",{key:"dbec361b43bbdb54216089fc89f7e7d17220005e",class:`gux-modal-container gux-${this.size}`},t("gux-dismiss-button",{key:"05e5e9c4f7d9cacd2211b51d712d3b02b6b7de43",onClick:this.onDismissHandler.bind(this)}),a&&this.renderTitle(o),t("div",{key:"ab136993dc831cbc2f985c486135632c36042951",class:"gux-modal-content"},t("p",{key:"0132c588a4ad7bfc0a51422f31c4e76c7ce208be"},t("slot",{key:"9e22336a5a65f8d16aa3913404846a87eed98714",name:"content"}))),this.renderButtonFooter()))}renderTitle(a){return t("h1",{class:"gux-modal-header",id:a},t("slot",{name:"title"}))}renderButtonFooter(){const a=this.hasFooterButtons();return t("div",{class:{"gux-button-footer":!0,"gux-no-buttons":!a}},t("div",{class:"gux-start-align-buttons"},t("slot",{name:"start-align-buttons"})),t("div",{class:"gux-end-align-buttons"},t("slot",{name:"end-align-buttons"})))}onCloseHandler(){this.guxdismiss.emit()}onDismissHandler(){this.open=!1}static get delegatesFocus(){return!0}get root(){return e(this)}static get watchers(){return{open:["syncOpenState"]}}};d.style="::slotted(button:active:enabled){color:var(--gse-ui-link-active-foregroundColor);text-decoration:underline;background:none}slot[name=start-align-buttons]::slotted(:not(button,gux-button-slot)){display:flex;flex-direction:row;gap:var(--gse-ui-modal-buttonBar-gap);align-content:flex-start;align-items:center}:host dialog{box-sizing:border-box;justify-content:space-between;padding:0;border:none;border-radius:var(--gse-ui-modal-borderRadius);box-shadow:var(--gse-ui-modal-boxShadow-x) var(--gse-ui-modal-boxShadow-y) var(--gse-ui-modal-boxShadow-blur) var(--gse-ui-modal-boxShadow-spread) var(--gse-ui-modal-boxShadow-color)}:host dialog::backdrop{background:rgba(77, 97, 130, 0.8)}:host dialog .gux-modal-container{display:flex;flex-direction:column;padding-top:var(--gse-ui-modal-padding);padding-bottom:var(--gse-ui-modal-padding)}:host dialog .gux-modal-container.gux-small{width:var(--gse-ui-modal-small-width);max-height:min(368px, 100vh - 2 * 24px)}:host dialog .gux-modal-container.gux-medium{width:var(--gse-ui-modal-medium-width);max-height:min(640px, 100vh - 2 * 24px)}:host dialog .gux-modal-container.gux-large{width:var(--gse-ui-modal-large-width);max-height:min(640px, 100vh - 2 * 24px)}:host dialog .gux-modal-container.gux-dynamic{max-width:calc(100vw - 48px);max-height:calc(100vh - 48px)}:host dialog .gux-modal-container.gux-dynamic .gux-modal-content{max-height:none}:host dialog .gux-modal-container .gux-modal-header{padding-right:var(--gse-ui-modal-padding);padding-left:var(--gse-ui-modal-padding);margin:0;font-family:var(--gse-ui-modal-heading-fontFamily);font-size:var(--gse-ui-modal-heading-fontSize);font-weight:var(--gse-ui-modal-heading-fontWeight);line-height:var(--gse-ui-modal-heading-fontFamily);color:var(--gse-ui-modal-headerColor);letter-spacing:var(--gse-ui-modal-heading-letterSpacing);font-family:var(--gse-core-typography-heading-xl-fontFamily), var(--gse-core-fontFamily-heading), sans-serif;font-size:var(--gse-core-typography-heading-xl-fontSize);line-height:var(--gse-core-typography-heading-xl-lineHeight);font-weight:var(--gse-core-fontWeight-bold)}:host dialog .gux-modal-container .gux-modal-content{max-height:432px;padding-right:var(--gse-ui-modal-padding);padding-left:var(--gse-ui-modal-padding);margin-top:var(--gse-ui-modal-gap);overflow-y:auto}:host dialog .gux-modal-container .gux-button-footer{display:flex;justify-content:space-between;padding-right:var(--gse-ui-modal-padding);padding-left:var(--gse-ui-modal-padding);margin-top:var(--gse-ui-modal-gap)}:host dialog .gux-modal-container .gux-button-footer.gux-no-buttons{display:none}@media (max-width: 416px){:host dialog .gux-modal-container.gux-small,:host dialog .gux-modal-container.gux-medium,:host dialog .gux-modal-container.gux-large{width:100%;height:100%}}";export{d as gux_modal}
@@ -1 +1 @@
1
- import{r as t,c as e,h as a,g as i}from"./p-2e827df1.js";import{t as n}from"./p-5cded110.js";import{b as o}from"./p-0367930a.js";import"./p-4202e9f2.js";const s={previous:"Previous",next:"Next"},r=class{constructor(a){t(this,a),this.guxPaginationCursorchange=e(this,"guxPaginationCursorchange",7),this.guxitemsperpagechange=e(this,"guxitemsperpagechange",7),this.hasPrevious=!1,this.hasNext=!1,this.label=void 0,this.itemsPerPage=void 0,this.layout="simple"}handleInternalitemsperpagechange(t){this.guxitemsperpagechange.emit(t.detail)}onButtonClick(t){("previous"===t&&this.hasPrevious||"next"===t&&this.hasNext)&&this.guxPaginationCursorchange.emit(t)}async componentWillLoad(){n(this.root),this.i18n=await o(this.root,s)}renderSimpleLayout(){return[a("nav",{"aria-label":this.label,class:"gux-pagination-button-container"},a("gux-button-slot",{accent:"ghost"},a("button",{class:"gux-simple-button",type:"button",disabled:!this.hasPrevious,onClick:()=>this.onButtonClick("previous")},a("gux-icon",{iconName:"custom/chevron-left-small-regular","screenreader-text":this.i18n("previous")}))),a("gux-button-slot",{accent:"ghost"},a("button",{class:"gux-simple-button",type:"button",disabled:!this.hasNext,onClick:()=>this.onButtonClick("next")},a("gux-icon",{iconName:"custom/chevron-right-small-regular","screenreader-text":this.i18n("next")}))))]}renderAdvancedLayout(){return[a("nav",{"aria-label":this.label,class:"gux-pagination-button-container"},a("gux-button-slot",{accent:"ghost"},a("button",{type:"button",disabled:!this.hasPrevious,onClick:()=>this.onButtonClick("previous")},a("div",{class:"gux-button-align-content"},a("gux-icon",{decorative:!0,iconName:"custom/chevron-left-small-regular"}),a("span",null,this.i18n("previous"))))),a("gux-button-slot",{accent:"ghost"},a("button",{type:"button",disabled:!this.hasNext,onClick:()=>this.onButtonClick("next")},a("div",{class:"gux-button-align-content"},a("span",null,this.i18n("next")),a("gux-icon",{decorative:!0,iconName:"custom/chevron-right-small-regular"}))))),this.renderItemsPerPage()]}renderItemsPerPage(){return this.itemsPerPage&&a("gux-pagination-items-per-page",{"items-per-page":this.itemsPerPage,onInternalitemsperpagechange:this.handleInternalitemsperpagechange.bind(this)})}render(){return"advanced"===this.layout?this.renderAdvancedLayout():this.renderSimpleLayout()}get root(){return i(this)}};r.style=":host{display:flex;flex-direction:row-reverse;flex-wrap:nowrap;place-content:stretch space-between;align-items:flex-start;padding:var(--gse-ui-dataTableItems-tablePagination-padding);font-family:var(--gse-ui-dataTableItems-tablePagination-defaultText-fontFamily);font-size:var(--gse-ui-dataTableItems-tablePagination-defaultText-fontSize);font-weight:var(--gse-ui-dataTableItems-tablePagination-defaultText-fontWeight);line-height:var(--gse-ui-dataTableItems-tablePagination-defaultText-lineHeight);color:var(--gse-ui-dataTableItems-tablePagination-foregroundColor);background-color:var(--gse-ui-dataTableItems-tablePagination-defaultBackgroundColor);border-top:var(--gse-ui-dataTableItems-tablePagination-divider-width) var(--gse-ui-dataTableItems-tablePagination-divider-style) var(--gse-ui-dataTableItems-tablePagination-divider-color)}:host .gux-pagination-button-container{display:flex;flex-wrap:nowrap;gap:var(--gse-ui-dataTableItems-tablePagination-recordsetControls-gap);align-content:center}:host .gux-button-align-content{display:flex;flex-direction:row;flex-wrap:nowrap;gap:var(--gse-ui-button-gap);align-content:center;align-items:center}:host .gux-button-align-content>*{flex:0 1 auto;align-self:auto;order:0}:host gux-icon{width:var(--gse-ui-button-icon-size);height:var(--gse-ui-button-icon-size)}";export{r as gux_pagination_cursor}
1
+ import{r as t,c as e,h as a,g as i}from"./p-2e827df1.js";import{t as n}from"./p-098c0e57.js";import{b as o}from"./p-0367930a.js";import"./p-4202e9f2.js";const s={previous:"Previous",next:"Next"},r=class{constructor(a){t(this,a),this.guxPaginationCursorchange=e(this,"guxPaginationCursorchange",7),this.guxitemsperpagechange=e(this,"guxitemsperpagechange",7),this.hasPrevious=!1,this.hasNext=!1,this.label=void 0,this.itemsPerPage=void 0,this.layout="simple"}handleInternalitemsperpagechange(t){this.guxitemsperpagechange.emit(t.detail)}onButtonClick(t){("previous"===t&&this.hasPrevious||"next"===t&&this.hasNext)&&this.guxPaginationCursorchange.emit(t)}async componentWillLoad(){n(this.root),this.i18n=await o(this.root,s)}renderSimpleLayout(){return[a("nav",{"aria-label":this.label,class:"gux-pagination-button-container"},a("gux-button-slot",{accent:"ghost"},a("button",{class:"gux-simple-button",type:"button",disabled:!this.hasPrevious,onClick:()=>this.onButtonClick("previous")},a("gux-icon",{iconName:"custom/chevron-left-small-regular","screenreader-text":this.i18n("previous")}))),a("gux-button-slot",{accent:"ghost"},a("button",{class:"gux-simple-button",type:"button",disabled:!this.hasNext,onClick:()=>this.onButtonClick("next")},a("gux-icon",{iconName:"custom/chevron-right-small-regular","screenreader-text":this.i18n("next")}))))]}renderAdvancedLayout(){return[a("nav",{"aria-label":this.label,class:"gux-pagination-button-container"},a("gux-button-slot",{accent:"ghost"},a("button",{type:"button",disabled:!this.hasPrevious,onClick:()=>this.onButtonClick("previous")},a("div",{class:"gux-button-align-content"},a("gux-icon",{decorative:!0,iconName:"custom/chevron-left-small-regular"}),a("span",null,this.i18n("previous"))))),a("gux-button-slot",{accent:"ghost"},a("button",{type:"button",disabled:!this.hasNext,onClick:()=>this.onButtonClick("next")},a("div",{class:"gux-button-align-content"},a("span",null,this.i18n("next")),a("gux-icon",{decorative:!0,iconName:"custom/chevron-right-small-regular"}))))),this.renderItemsPerPage()]}renderItemsPerPage(){return this.itemsPerPage&&a("gux-pagination-items-per-page",{"items-per-page":this.itemsPerPage,onInternalitemsperpagechange:this.handleInternalitemsperpagechange.bind(this)})}render(){return"advanced"===this.layout?this.renderAdvancedLayout():this.renderSimpleLayout()}get root(){return i(this)}};r.style=":host{display:flex;flex-direction:row-reverse;flex-wrap:nowrap;place-content:stretch space-between;align-items:flex-start;padding:var(--gse-ui-dataTableItems-tablePagination-padding);font-family:var(--gse-ui-dataTableItems-tablePagination-defaultText-fontFamily);font-size:var(--gse-ui-dataTableItems-tablePagination-defaultText-fontSize);font-weight:var(--gse-ui-dataTableItems-tablePagination-defaultText-fontWeight);line-height:var(--gse-ui-dataTableItems-tablePagination-defaultText-lineHeight);color:var(--gse-ui-dataTableItems-tablePagination-foregroundColor);background-color:var(--gse-ui-dataTableItems-tablePagination-defaultBackgroundColor);border-top:var(--gse-ui-dataTableItems-tablePagination-divider-width) var(--gse-ui-dataTableItems-tablePagination-divider-style) var(--gse-ui-dataTableItems-tablePagination-divider-color)}:host .gux-pagination-button-container{display:flex;flex-wrap:nowrap;gap:var(--gse-ui-dataTableItems-tablePagination-recordsetControls-gap);align-content:center}:host .gux-button-align-content{display:flex;flex-direction:row;flex-wrap:nowrap;gap:var(--gse-ui-button-gap);align-content:center;align-items:center}:host .gux-button-align-content>*{flex:0 1 auto;align-self:auto;order:0}:host gux-icon{width:var(--gse-ui-button-icon-size);height:var(--gse-ui-button-icon-size)}";export{r as gux_pagination_cursor}
@@ -1 +1 @@
1
- import{r as o,h as t,g as s}from"./p-2e827df1.js";import{t as r}from"./p-5cded110.js";const c=class{constructor(t){o(this,t),this.singleOpenSection=!1}handleGuxopened(o){this.singleOpenSection&&this.getAccordionSections().forEach((t=>{t!==o.target&&this.closeSection(t)}))}componentWillLoad(){this.singleOpenSection&&this.getAccordionSections().reduceRight(((o,t)=>(o&&this.closeSection(t),o||t.open)),!1),r(this.root)}getAccordionSections(){return Array.from(this.root.children)}closeSection(o){o.disabled||(o.open=!1)}render(){return t("slot",{key:"4c045aa71769a45acc49beeab9bf818c55ff5a29"})}get root(){return s(this)}};c.style="gux-accordion{-custom-noop:noop}";export{c as gux_accordion}
1
+ import{r as o,h as t,g as s}from"./p-2e827df1.js";import{t as r}from"./p-098c0e57.js";const e=class{constructor(t){o(this,t),this.singleOpenSection=!1}handleGuxopened(o){this.singleOpenSection&&this.getAccordionSections().forEach((t=>{t!==o.target&&this.closeSection(t)}))}componentWillLoad(){this.singleOpenSection&&this.getAccordionSections().reduceRight(((o,t)=>(o&&this.closeSection(t),o||t.open)),!1),r(this.root)}getAccordionSections(){return Array.from(this.root.children)}closeSection(o){o.disabled||(o.open=!1)}render(){return t("slot",{key:"dc56ec212bd493738002e610fbf5f69d4a84a321"})}get root(){return s(this)}};e.style="gux-accordion{-custom-noop:noop}";export{e as gux_accordion}
@@ -1 +1 @@
1
- import{r as o,h as r,g as t}from"./p-2e827df1.js";import{t as e}from"./p-5cded110.js";const n=class{constructor(r){o(this,r),this.type="button",this.guxTitle=void 0,this.disabled=!1,this.accent="secondary",this.iconOnly=void 0}connectedCallback(){this.slotChanged()}componentWillLoad(){e(this.root,{variant:this.accent})}render(){return r("button",{key:"c31bb1879557d9dcb1a5fc8c16cb83bb7420da4a",type:this.type,title:this.guxTitle,disabled:this.disabled,class:{[`gux-${this.accent}`]:!0,"gux-icon-only":this.iconOnly}},r("slot",{key:"b9413a30294f833a8b16cb8278b332064375c0d1",onSlotchange:this.slotChanged.bind(this)}))}stopEventIfDisabled(o){this.disabled&&(o.stopImmediatePropagation(),o.stopPropagation(),o.preventDefault())}makeSlotContentDisableable(){this.root.shadowRoot.addEventListener("click",(o=>this.stopEventIfDisabled(o))),Array.from(this.root.children).forEach((o=>{o.addEventListener("click",(o=>this.stopEventIfDisabled(o)))}))}hasIconOnly(){const o=Array.from(this.root.children);return 1===o.length&&"GUX-ICON"===o[0].tagName}slotChanged(){this.makeSlotContentDisableable(),this.iconOnly=this.hasIconOnly()}static get delegatesFocus(){return!0}get root(){return t(this)}};n.style=":host{display:inline-block;pointer-events:none;-webkit-user-select:none;user-select:none}:host(:focus){outline:none}:host(:focus) button{outline:none}::slotted(gux-icon){inline-size:var(--gse-ui-button-icon-size);block-size:var(--gse-ui-button-icon-size)}::slotted(*){padding-inline-start:var(--gse-core-spacing-3xs);vertical-align:middle}::slotted(*:first-child){padding:0}button{font-family:var(--gse-ui-button-text-fontFamily);font-size:var(--gse-ui-button-text-fontSize);font-weight:var(--gse-ui-button-text-fontWeight);line-height:var(--gse-ui-button-text-lineHeight);inline-size:100%;min-inline-size:var(--gse-ui-button-icon-only-width);block-size:var(--gse-ui-button-default-height);padding:var(--gse-ui-button-default-padding);overflow:hidden;color:var(--gse-ui-button-secondary-default-foregroundColor);text-overflow:ellipsis;white-space:nowrap;pointer-events:auto;cursor:pointer;background-color:var(--gse-ui-button-secondary-default-backgroundColor);border:none;border-radius:var(--gse-ui-button-borderRadius)}button.gux-icon-only{display:inline-flex;padding:var(--gse-ui-button-default-paddingIconOnly)}button[disabled]{cursor:default;opacity:var(--gse-ui-button-disabled-opacity)}button:hover:enabled{color:var(--gse-ui-button-secondary-hover-foregroundColor);background-color:var(--gse-ui-button-secondary-hover-backgroundColor)}button:active:enabled{color:var(--gse-ui-button-secondary-active-foregroundColor);background-color:var(--gse-ui-button-secondary-active-backgroundColor)}button:focus-visible:enabled{outline:var(--gse-semantic-focusRing-default-border-color) var(--gse-semantic-focusRing-default-border-style) var(--gse-semantic-focusRing-default-border-width);outline-offset:var(--gse-semantic-focusRing-offset);border-radius:var(--gse-semantic-focusRing-cornerRadius)}button.gux-primary{color:var(--gse-ui-button-primary-default-foregroundColor);background-color:var(--gse-ui-button-primary-default-backgroundColor)}button.gux-primary:hover:enabled{color:var(--gse-ui-button-primary-hover-foregroundColor);background-color:var(--gse-ui-button-primary-hover-backgroundColor)}button.gux-primary:active:enabled{color:var(--gse-ui-button-primary-active-foregroundColor);background-color:var(--gse-ui-button-primary-active-backgroundColor)}button.gux-tertiary{color:var(--gse-ui-button-tertiary-default-foregroundColor);background-color:var(--gse-ui-button-tertiary-default-backgroundColor);border-color:var(--gse-ui-button-tertiary-default-border-color);border-style:var(--gse-ui-button-tertiary-default-border-style);border-width:var(--gse-ui-button-tertiary-default-border-width)}button.gux-tertiary.gux-icon-only{padding:calc(var(--gse-ui-button-default-paddingIconOnly) - var(--gse-ui-button-tertiary-default-border-width))}button.gux-tertiary:hover:enabled{color:var(--gse-ui-button-tertiary-hover-foregroundColor);background-color:var(--gse-ui-button-tertiary-hover-backgroundColor)}button.gux-tertiary:active:enabled{color:var(--gse-ui-button-tertiary-active-foregroundColor);background-color:var(--gse-ui-button-tertiary-active-backgroundColor)}button.gux-ghost{color:var(--gse-ui-button-ghost-default-foregroundColor);background-color:var(--gse-ui-button-ghost-default-backgroundColor)}button.gux-ghost:hover:enabled{color:var(--gse-ui-button-ghost-hover-foregroundColor);background-color:var(--gse-ui-button-ghost-hover-backgroundColor)}button.gux-ghost:active:enabled{color:var(--gse-ui-button-ghost-active-foregroundColor);background-color:var(--gse-ui-button-ghost-active-backgroundColor)}button.gux-danger{color:var(--gse-ui-button-danger-default-foregroundColor);background-color:var(--gse-ui-button-danger-default-backgroundColor)}button.gux-danger:hover:enabled{color:var(--gse-ui-button-danger-hover-foregroundColor);background-color:var(--gse-ui-button-danger-hover-backgroundColor)}button.gux-danger:active:enabled{color:var(--gse-ui-button-danger-active-foregroundColor);background-color:var(--gse-ui-button-danger-active-backgroundColor)}button.gux-inline{min-inline-size:initial;block-size:initial;padding:0;color:var(--gse-ui-link-default-foregroundColor);background:none;border:none;border-radius:0}button.gux-inline[disabled]{color:var(--gse-ui-link-disabled-foregroundColor)}button.gux-inline:hover:enabled{color:var(--gse-ui-link-hover-foregroundColor);text-decoration:underline;background:none}button.gux-inline:active:enabled{color:var(--gse-ui-link-active-foregroundColor);text-decoration:underline;background:none}";export{n as gux_button}
1
+ import{r as o,h as r,g as t}from"./p-2e827df1.js";import{t as e}from"./p-098c0e57.js";const n=class{constructor(r){o(this,r),this.type="button",this.guxTitle=void 0,this.disabled=!1,this.accent="secondary",this.iconOnly=void 0}connectedCallback(){this.slotChanged()}componentWillLoad(){e(this.root,{variant:this.accent})}render(){return r("button",{key:"3022bc5ad8034a69266e8fccbac8a0415574cdba",type:this.type,title:this.guxTitle,disabled:this.disabled,class:{[`gux-${this.accent}`]:!0,"gux-icon-only":this.iconOnly}},r("slot",{key:"02525623e91c00c0a57c3261e5f01854e4f4ecb5",onSlotchange:this.slotChanged.bind(this)}))}stopEventIfDisabled(o){this.disabled&&(o.stopImmediatePropagation(),o.stopPropagation(),o.preventDefault())}makeSlotContentDisableable(){this.root.shadowRoot.addEventListener("click",(o=>this.stopEventIfDisabled(o))),Array.from(this.root.children).forEach((o=>{o.addEventListener("click",(o=>this.stopEventIfDisabled(o)))}))}hasIconOnly(){const o=Array.from(this.root.children);return 1===o.length&&"GUX-ICON"===o[0].tagName}slotChanged(){this.makeSlotContentDisableable(),this.iconOnly=this.hasIconOnly()}static get delegatesFocus(){return!0}get root(){return t(this)}};n.style=":host{display:inline-block;pointer-events:none;-webkit-user-select:none;user-select:none}:host(:focus){outline:none}:host(:focus) button{outline:none}::slotted(gux-icon){inline-size:var(--gse-ui-button-icon-size);block-size:var(--gse-ui-button-icon-size)}::slotted(*){padding-inline-start:var(--gse-core-spacing-3xs);vertical-align:middle}::slotted(*:first-child){padding:0}button{font-family:var(--gse-ui-button-text-fontFamily);font-size:var(--gse-ui-button-text-fontSize);font-weight:var(--gse-ui-button-text-fontWeight);line-height:var(--gse-ui-button-text-lineHeight);inline-size:100%;min-inline-size:var(--gse-ui-button-icon-only-width);block-size:var(--gse-ui-button-default-height);padding:var(--gse-ui-button-default-padding);overflow:hidden;color:var(--gse-ui-button-secondary-default-foregroundColor);text-overflow:ellipsis;white-space:nowrap;pointer-events:auto;cursor:pointer;background-color:var(--gse-ui-button-secondary-default-backgroundColor);border:none;border-radius:var(--gse-ui-button-borderRadius)}button.gux-icon-only{display:inline-flex;padding:var(--gse-ui-button-default-paddingIconOnly)}button[disabled]{cursor:default;opacity:var(--gse-ui-button-disabled-opacity)}button:hover:enabled{color:var(--gse-ui-button-secondary-hover-foregroundColor);background-color:var(--gse-ui-button-secondary-hover-backgroundColor)}button:active:enabled{color:var(--gse-ui-button-secondary-active-foregroundColor);background-color:var(--gse-ui-button-secondary-active-backgroundColor)}button:focus-visible:enabled{outline:var(--gse-semantic-focusRing-default-border-color) var(--gse-semantic-focusRing-default-border-style) var(--gse-semantic-focusRing-default-border-width);outline-offset:var(--gse-semantic-focusRing-offset);border-radius:var(--gse-semantic-focusRing-cornerRadius)}button.gux-primary{color:var(--gse-ui-button-primary-default-foregroundColor);background-color:var(--gse-ui-button-primary-default-backgroundColor)}button.gux-primary:hover:enabled{color:var(--gse-ui-button-primary-hover-foregroundColor);background-color:var(--gse-ui-button-primary-hover-backgroundColor)}button.gux-primary:active:enabled{color:var(--gse-ui-button-primary-active-foregroundColor);background-color:var(--gse-ui-button-primary-active-backgroundColor)}button.gux-tertiary{color:var(--gse-ui-button-tertiary-default-foregroundColor);background-color:var(--gse-ui-button-tertiary-default-backgroundColor);border-color:var(--gse-ui-button-tertiary-default-border-color);border-style:var(--gse-ui-button-tertiary-default-border-style);border-width:var(--gse-ui-button-tertiary-default-border-width)}button.gux-tertiary.gux-icon-only{padding:calc(var(--gse-ui-button-default-paddingIconOnly) - var(--gse-ui-button-tertiary-default-border-width))}button.gux-tertiary:hover:enabled{color:var(--gse-ui-button-tertiary-hover-foregroundColor);background-color:var(--gse-ui-button-tertiary-hover-backgroundColor)}button.gux-tertiary:active:enabled{color:var(--gse-ui-button-tertiary-active-foregroundColor);background-color:var(--gse-ui-button-tertiary-active-backgroundColor)}button.gux-ghost{color:var(--gse-ui-button-ghost-default-foregroundColor);background-color:var(--gse-ui-button-ghost-default-backgroundColor)}button.gux-ghost:hover:enabled{color:var(--gse-ui-button-ghost-hover-foregroundColor);background-color:var(--gse-ui-button-ghost-hover-backgroundColor)}button.gux-ghost:active:enabled{color:var(--gse-ui-button-ghost-active-foregroundColor);background-color:var(--gse-ui-button-ghost-active-backgroundColor)}button.gux-danger{color:var(--gse-ui-button-danger-default-foregroundColor);background-color:var(--gse-ui-button-danger-default-backgroundColor)}button.gux-danger:hover:enabled{color:var(--gse-ui-button-danger-hover-foregroundColor);background-color:var(--gse-ui-button-danger-hover-backgroundColor)}button.gux-danger:active:enabled{color:var(--gse-ui-button-danger-active-foregroundColor);background-color:var(--gse-ui-button-danger-active-backgroundColor)}button.gux-inline{min-inline-size:initial;block-size:initial;padding:0;color:var(--gse-ui-link-default-foregroundColor);background:none;border:none;border-radius:0}button.gux-inline[disabled]{color:var(--gse-ui-link-disabled-foregroundColor)}button.gux-inline:hover:enabled{color:var(--gse-ui-link-hover-foregroundColor);text-decoration:underline;background:none}button.gux-inline:active:enabled{color:var(--gse-ui-link-active-foregroundColor);text-decoration:underline;background:none}";export{n as gux_button}