genesys-spark-components 4.39.0 → 4.41.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 (368) hide show
  1. package/dist/cjs/gux-accordion.cjs.entry.js +1 -1
  2. package/dist/cjs/gux-action-button.cjs.entry.js +1 -1
  3. package/dist/cjs/gux-action-toast-legacy.cjs.entry.js +1 -1
  4. package/dist/cjs/gux-advanced-dropdown-legacy.cjs.entry.js +1 -1
  5. package/dist/cjs/gux-all-row-select.cjs.entry.js +1 -1
  6. package/dist/cjs/gux-announce-beta.cjs.entry.js +1 -1
  7. package/dist/cjs/gux-avatar-beta.cjs.entry.js +1 -1
  8. package/dist/cjs/gux-avatar-change-photo-beta.cjs.entry.js +1 -1
  9. package/dist/cjs/gux-badge.cjs.entry.js +1 -1
  10. package/dist/cjs/gux-blank-state.cjs.entry.js +1 -1
  11. package/dist/cjs/gux-breadcrumbs.cjs.entry.js +1 -1
  12. package/dist/cjs/gux-button-multi.cjs.entry.js +1 -1
  13. package/dist/cjs/gux-button-slot.cjs.entry.js +1 -1
  14. package/dist/cjs/gux-button.cjs.entry.js +1 -1
  15. package/dist/cjs/gux-calendar.cjs.entry.js +1 -1
  16. package/dist/cjs/gux-card.cjs.entry.js +1 -1
  17. package/dist/cjs/gux-column-manager.cjs.entry.js +1 -1
  18. package/dist/cjs/gux-content-search.cjs.entry.js +1 -1
  19. package/dist/cjs/gux-context-menu.cjs.entry.js +1 -1
  20. package/dist/cjs/gux-copy-to-clipboard.cjs.entry.js +1 -1
  21. package/dist/cjs/gux-create-option.cjs.entry.js +2 -2
  22. package/dist/cjs/gux-date-beta.cjs.entry.js +1 -1
  23. package/dist/cjs/gux-date-time-beta.cjs.entry.js +1 -1
  24. package/dist/cjs/gux-datepicker.cjs.entry.js +1 -1
  25. package/dist/cjs/gux-disclosure-button-legacy.cjs.entry.js +1 -1
  26. package/dist/cjs/gux-dismiss-button.cjs.entry.js +1 -1
  27. package/dist/cjs/gux-dropdown-multi.cjs.entry.js +1 -1
  28. package/dist/cjs/gux-dropdown_3.cjs.entry.js +1 -1
  29. package/dist/cjs/gux-flag-icon-beta.cjs.entry.js +1 -1
  30. package/dist/cjs/gux-flyout-menu.cjs.entry.js +1 -1
  31. package/dist/cjs/gux-form-field-checkbox.cjs.entry.js +1 -1
  32. package/dist/cjs/gux-form-field-color.cjs.entry.js +1 -1
  33. package/dist/cjs/gux-form-field-dropdown.cjs.entry.js +1 -1
  34. package/dist/cjs/gux-form-field-input-clear-button.cjs.entry.js +1 -1
  35. package/dist/cjs/gux-form-field-number_3.cjs.entry.js +4 -4
  36. package/dist/cjs/gux-form-field-phone.cjs.entry.js +1 -1
  37. package/dist/cjs/gux-form-field-radio.cjs.entry.js +1 -1
  38. package/dist/cjs/gux-form-field-range.cjs.entry.js +1 -1
  39. package/dist/cjs/gux-form-field-search.cjs.entry.js +1 -1
  40. package/dist/cjs/gux-form-field-select.cjs.entry.js +1 -1
  41. package/dist/cjs/gux-form-field-text-like.cjs.entry.js +1 -1
  42. package/dist/cjs/gux-form-field-textarea.cjs.entry.js +1 -1
  43. package/dist/cjs/gux-form-field-time-picker.cjs.entry.js +1 -1
  44. package/dist/cjs/gux-form-field-time-zone-picker.cjs.entry.js +1 -1
  45. package/dist/cjs/gux-icon.cjs.entry.js +1 -1
  46. package/dist/cjs/gux-inline-alert.cjs.entry.js +4 -4
  47. package/dist/cjs/gux-list.cjs.entry.js +1 -1
  48. package/dist/cjs/gux-listbox-multi.cjs.entry.js +1 -1
  49. package/dist/cjs/gux-loading-message.cjs.entry.js +2 -2
  50. package/dist/cjs/gux-modal-legacy.cjs.entry.js +1 -1
  51. package/dist/cjs/gux-modal.cjs.entry.js +3 -3
  52. package/dist/cjs/gux-month-picker-beta.cjs.entry.js +1 -1
  53. package/dist/cjs/gux-notification-toast-legacy.cjs.entry.js +1 -1
  54. package/dist/cjs/gux-page-loading-spinner.cjs.entry.js +2 -2
  55. package/dist/cjs/gux-pagination-buttons_2.cjs.entry.js +2 -2
  56. package/dist/cjs/gux-pagination-cursor.cjs.entry.js +1 -1
  57. package/dist/cjs/gux-pagination-items-per-page.cjs.entry.js +1 -1
  58. package/dist/cjs/gux-pagination-legacy.cjs.entry.js +1 -1
  59. package/dist/cjs/gux-pagination.cjs.entry.js +2 -2
  60. package/dist/cjs/gux-phone-input-beta.cjs.entry.js +1 -1
  61. package/dist/cjs/gux-popover-list.cjs.entry.js +3 -3
  62. package/dist/cjs/gux-popup.cjs.entry.js +3 -3
  63. package/dist/cjs/gux-radial-loading.cjs.entry.js +2 -2
  64. package/dist/cjs/gux-radial-progress.cjs.entry.js +1 -1
  65. package/dist/cjs/gux-rating.cjs.entry.js +2 -2
  66. package/dist/cjs/gux-row-select.cjs.entry.js +1 -1
  67. package/dist/cjs/gux-screen-reader-beta.cjs.entry.js +1 -1
  68. package/dist/cjs/gux-segmented-control-beta.cjs.entry.js +1 -1
  69. package/dist/cjs/gux-simple-toast-legacy.cjs.entry.js +1 -1
  70. package/dist/cjs/gux-skip-navigation-item.cjs.entry.js +1 -1
  71. package/dist/cjs/gux-skip-navigation-list.cjs.entry.js +2 -2
  72. package/dist/cjs/gux-sort-control.cjs.entry.js +4 -4
  73. package/dist/cjs/gux-switch-legacy.cjs.entry.js +1 -1
  74. package/dist/cjs/gux-tab-advanced-list.cjs.entry.js +1 -1
  75. package/dist/cjs/gux-tab-advanced-panel.cjs.entry.js +1 -1
  76. package/dist/cjs/gux-tab-advanced.cjs.entry.js +2 -2
  77. package/dist/cjs/gux-tab-list.cjs.entry.js +2 -2
  78. package/dist/cjs/gux-tab-panel.cjs.entry.js +1 -1
  79. package/dist/cjs/gux-tab.cjs.entry.js +2 -2
  80. package/dist/cjs/gux-table-select-menu.cjs.entry.js +1 -1
  81. package/dist/cjs/gux-table-toolbar-action.cjs.entry.js +2 -2
  82. package/dist/cjs/gux-table-toolbar-custom-action.cjs.entry.js +2 -2
  83. package/dist/cjs/gux-table-toolbar-menu-button.cjs.entry.js +2 -2
  84. package/dist/cjs/gux-table-toolbar.cjs.entry.js +3 -3
  85. package/dist/cjs/gux-table.cjs.entry.js +2 -2
  86. package/dist/cjs/gux-tabs-advanced.cjs.entry.js +2 -2
  87. package/dist/cjs/gux-tabs.cjs.entry.js +2 -2
  88. package/dist/cjs/gux-tag.cjs.entry.js +2 -2
  89. package/dist/cjs/gux-text-highlight.cjs.entry.js +1 -1
  90. package/dist/cjs/gux-time-beta.cjs.entry.js +1 -1
  91. package/dist/cjs/gux-time-picker.cjs.entry.js +2 -2
  92. package/dist/cjs/gux-time-zone-picker-beta.cjs.entry.js +1 -1
  93. package/dist/cjs/gux-toast.cjs.entry.js +3 -3
  94. package/dist/cjs/gux-toggle-slider.cjs.entry.js +2 -2
  95. package/dist/cjs/gux-toggle.cjs.entry.js +3 -3
  96. package/dist/cjs/gux-tooltip-base-beta.cjs.entry.js +2 -2
  97. package/dist/cjs/gux-tooltip-beta.cjs.entry.js +1 -1
  98. package/dist/cjs/gux-tooltip-title.cjs.entry.js +2 -2
  99. package/dist/cjs/gux-tooltip.cjs.entry.js +4 -4
  100. package/dist/cjs/gux-truncate.cjs.entry.js +2 -2
  101. package/dist/cjs/{usage-208820ba.js → usage-eeb5ac34.js} +1 -1
  102. package/dist/collection/components/beta/gux-tooltip-base/gux-tooltip-base.css +1 -0
  103. package/dist/collection/components/stable/gux-inline-alert/gux-inline-alert.css +6 -4
  104. package/dist/collection/components/stable/gux-inline-alert/gux-inline-alert.js +3 -3
  105. package/dist/collection/components/stable/gux-inline-alert/tests/gux-inline-alert.e2e.js +4 -4
  106. package/dist/collection/components/stable/gux-inline-alert/tests/gux-inline-alert.spec.js +4 -4
  107. package/dist/collection/components/stable/gux-listbox-multi/gux-create-option/gux-create-option.js +2 -2
  108. package/dist/collection/components/stable/gux-loading-message/gux-loading-message.js +1 -1
  109. package/dist/collection/components/stable/gux-modal/gux-modal.js +2 -2
  110. package/dist/collection/components/stable/gux-page-loading-spinner/gux-page-loading-spinner.js +1 -1
  111. package/dist/collection/components/stable/gux-pagination/gux-pagination-buttons/gux-pagination-buttons.js +1 -1
  112. package/dist/collection/components/stable/gux-pagination/gux-pagination-buttons/gux-pagination-ellipsis-button/gux-pagination-ellipsis-button.js +1 -1
  113. package/dist/collection/components/stable/gux-pagination/gux-pagination-item-counts/gux-pagination-item-counts.js +1 -1
  114. package/dist/collection/components/stable/gux-pagination/gux-pagination-items-per-page/gux-pagination-items-per-page.js +1 -1
  115. package/dist/collection/components/stable/gux-pagination/gux-pagination.js +1 -1
  116. package/dist/collection/components/stable/gux-popover/gux-popover.js +2 -2
  117. package/dist/collection/components/stable/gux-popover-list/gux-popover-list.js +2 -2
  118. package/dist/collection/components/stable/gux-popup/gux-popup.js +3 -3
  119. package/dist/collection/components/stable/gux-radial-loading/gux-radial-loading.js +1 -1
  120. package/dist/collection/components/stable/gux-rating/gux-rating.js +1 -1
  121. package/dist/collection/components/stable/gux-skip-navigation-list/gux-skip-navigation-item/gux-skip-navigation-item.js +1 -1
  122. package/dist/collection/components/stable/gux-skip-navigation-list/gux-skip-navigation-list.js +1 -1
  123. package/dist/collection/components/stable/gux-table/gux-all-row-select/gux-all-row-select.js +1 -1
  124. package/dist/collection/components/stable/gux-table/gux-row-select/gux-row-select.js +1 -1
  125. package/dist/collection/components/stable/gux-table/gux-sort-control/gux-sort-control.js +3 -3
  126. package/dist/collection/components/stable/gux-table/gux-table-select-menu/gux-table-select-menu.js +1 -1
  127. package/dist/collection/components/stable/gux-table/gux-table.js +1 -1
  128. package/dist/collection/components/stable/gux-table-toolbar/gux-table-toolbar-action/gux-table-toolbar-action.js +1 -1
  129. package/dist/collection/components/stable/gux-table-toolbar/gux-table-toolbar-custom-action/gux-table-toolbar-custom-action.js +1 -1
  130. package/dist/collection/components/stable/gux-table-toolbar/gux-table-toolbar-menu-button/gux-table-toolbar-menu-button.js +1 -1
  131. package/dist/collection/components/stable/gux-table-toolbar/gux-table-toolbar.js +2 -2
  132. package/dist/collection/components/stable/gux-tabs/gux-tab/gux-tab.js +2 -2
  133. package/dist/collection/components/stable/gux-tabs/gux-tab-list/gux-tab-list.js +2 -2
  134. package/dist/collection/components/stable/gux-tabs/gux-tab-panel/gux-tab-panel.js +1 -1
  135. package/dist/collection/components/stable/gux-tabs/gux-tabs.js +1 -1
  136. package/dist/collection/components/stable/gux-tabs-advanced/gux-tab-advanced/gux-tab-advanced.js +2 -2
  137. package/dist/collection/components/stable/gux-tabs-advanced/gux-tab-advanced-list/gux-tab-advanced-list.js +1 -1
  138. package/dist/collection/components/stable/gux-tabs-advanced/gux-tab-advanced-panel/gux-tab-advanced-panel.js +1 -1
  139. package/dist/collection/components/stable/gux-tabs-advanced/gux-tabs-advanced.js +1 -1
  140. package/dist/collection/components/stable/gux-tag/gux-tag.js +1 -1
  141. package/dist/collection/components/stable/gux-time-picker/gux-time-picker.js +1 -1
  142. package/dist/collection/components/stable/gux-toast/gux-toast.js +2 -2
  143. package/dist/collection/components/stable/gux-toggle/gux-toggle-slider/gux-toggle-slider.js +2 -2
  144. package/dist/collection/components/stable/gux-toggle/gux-toggle.js +2 -2
  145. package/dist/collection/components/stable/gux-tooltip/gux-tooltip.css +1 -0
  146. package/dist/collection/components/stable/gux-tooltip/gux-tooltip.js +2 -2
  147. package/dist/collection/components/stable/gux-tooltip-title/gux-tooltip-title.js +2 -2
  148. package/dist/collection/components/stable/gux-truncate/gux-truncate.js +2 -2
  149. package/dist/esm/gux-accordion.entry.js +1 -1
  150. package/dist/esm/gux-action-button.entry.js +1 -1
  151. package/dist/esm/gux-action-toast-legacy.entry.js +1 -1
  152. package/dist/esm/gux-advanced-dropdown-legacy.entry.js +1 -1
  153. package/dist/esm/gux-all-row-select.entry.js +1 -1
  154. package/dist/esm/gux-announce-beta.entry.js +1 -1
  155. package/dist/esm/gux-avatar-beta.entry.js +1 -1
  156. package/dist/esm/gux-avatar-change-photo-beta.entry.js +1 -1
  157. package/dist/esm/gux-badge.entry.js +1 -1
  158. package/dist/esm/gux-blank-state.entry.js +1 -1
  159. package/dist/esm/gux-breadcrumbs.entry.js +1 -1
  160. package/dist/esm/gux-button-multi.entry.js +1 -1
  161. package/dist/esm/gux-button-slot.entry.js +1 -1
  162. package/dist/esm/gux-button.entry.js +1 -1
  163. package/dist/esm/gux-calendar.entry.js +1 -1
  164. package/dist/esm/gux-card.entry.js +1 -1
  165. package/dist/esm/gux-column-manager.entry.js +1 -1
  166. package/dist/esm/gux-content-search.entry.js +1 -1
  167. package/dist/esm/gux-context-menu.entry.js +1 -1
  168. package/dist/esm/gux-copy-to-clipboard.entry.js +1 -1
  169. package/dist/esm/gux-create-option.entry.js +2 -2
  170. package/dist/esm/gux-date-beta.entry.js +1 -1
  171. package/dist/esm/gux-date-time-beta.entry.js +1 -1
  172. package/dist/esm/gux-datepicker.entry.js +1 -1
  173. package/dist/esm/gux-disclosure-button-legacy.entry.js +1 -1
  174. package/dist/esm/gux-dismiss-button.entry.js +1 -1
  175. package/dist/esm/gux-dropdown-multi.entry.js +1 -1
  176. package/dist/esm/gux-dropdown_3.entry.js +1 -1
  177. package/dist/esm/gux-flag-icon-beta.entry.js +1 -1
  178. package/dist/esm/gux-flyout-menu.entry.js +1 -1
  179. package/dist/esm/gux-form-field-checkbox.entry.js +1 -1
  180. package/dist/esm/gux-form-field-color.entry.js +1 -1
  181. package/dist/esm/gux-form-field-dropdown.entry.js +1 -1
  182. package/dist/esm/gux-form-field-input-clear-button.entry.js +1 -1
  183. package/dist/esm/gux-form-field-number_3.entry.js +4 -4
  184. package/dist/esm/gux-form-field-phone.entry.js +1 -1
  185. package/dist/esm/gux-form-field-radio.entry.js +1 -1
  186. package/dist/esm/gux-form-field-range.entry.js +1 -1
  187. package/dist/esm/gux-form-field-search.entry.js +1 -1
  188. package/dist/esm/gux-form-field-select.entry.js +1 -1
  189. package/dist/esm/gux-form-field-text-like.entry.js +1 -1
  190. package/dist/esm/gux-form-field-textarea.entry.js +1 -1
  191. package/dist/esm/gux-form-field-time-picker.entry.js +1 -1
  192. package/dist/esm/gux-form-field-time-zone-picker.entry.js +1 -1
  193. package/dist/esm/gux-icon.entry.js +1 -1
  194. package/dist/esm/gux-inline-alert.entry.js +4 -4
  195. package/dist/esm/gux-list.entry.js +1 -1
  196. package/dist/esm/gux-listbox-multi.entry.js +1 -1
  197. package/dist/esm/gux-loading-message.entry.js +2 -2
  198. package/dist/esm/gux-modal-legacy.entry.js +1 -1
  199. package/dist/esm/gux-modal.entry.js +3 -3
  200. package/dist/esm/gux-month-picker-beta.entry.js +1 -1
  201. package/dist/esm/gux-notification-toast-legacy.entry.js +1 -1
  202. package/dist/esm/gux-page-loading-spinner.entry.js +2 -2
  203. package/dist/esm/gux-pagination-buttons_2.entry.js +2 -2
  204. package/dist/esm/gux-pagination-cursor.entry.js +1 -1
  205. package/dist/esm/gux-pagination-items-per-page.entry.js +1 -1
  206. package/dist/esm/gux-pagination-legacy.entry.js +1 -1
  207. package/dist/esm/gux-pagination.entry.js +2 -2
  208. package/dist/esm/gux-phone-input-beta.entry.js +1 -1
  209. package/dist/esm/gux-popover-list.entry.js +3 -3
  210. package/dist/esm/gux-popup.entry.js +3 -3
  211. package/dist/esm/gux-radial-loading.entry.js +2 -2
  212. package/dist/esm/gux-radial-progress.entry.js +1 -1
  213. package/dist/esm/gux-rating.entry.js +2 -2
  214. package/dist/esm/gux-row-select.entry.js +1 -1
  215. package/dist/esm/gux-screen-reader-beta.entry.js +1 -1
  216. package/dist/esm/gux-segmented-control-beta.entry.js +1 -1
  217. package/dist/esm/gux-simple-toast-legacy.entry.js +1 -1
  218. package/dist/esm/gux-skip-navigation-item.entry.js +1 -1
  219. package/dist/esm/gux-skip-navigation-list.entry.js +2 -2
  220. package/dist/esm/gux-sort-control.entry.js +4 -4
  221. package/dist/esm/gux-switch-legacy.entry.js +1 -1
  222. package/dist/esm/gux-tab-advanced-list.entry.js +1 -1
  223. package/dist/esm/gux-tab-advanced-panel.entry.js +1 -1
  224. package/dist/esm/gux-tab-advanced.entry.js +2 -2
  225. package/dist/esm/gux-tab-list.entry.js +2 -2
  226. package/dist/esm/gux-tab-panel.entry.js +1 -1
  227. package/dist/esm/gux-tab.entry.js +2 -2
  228. package/dist/esm/gux-table-select-menu.entry.js +1 -1
  229. package/dist/esm/gux-table-toolbar-action.entry.js +2 -2
  230. package/dist/esm/gux-table-toolbar-custom-action.entry.js +2 -2
  231. package/dist/esm/gux-table-toolbar-menu-button.entry.js +2 -2
  232. package/dist/esm/gux-table-toolbar.entry.js +3 -3
  233. package/dist/esm/gux-table.entry.js +2 -2
  234. package/dist/esm/gux-tabs-advanced.entry.js +2 -2
  235. package/dist/esm/gux-tabs.entry.js +2 -2
  236. package/dist/esm/gux-tag.entry.js +2 -2
  237. package/dist/esm/gux-text-highlight.entry.js +1 -1
  238. package/dist/esm/gux-time-beta.entry.js +1 -1
  239. package/dist/esm/gux-time-picker.entry.js +2 -2
  240. package/dist/esm/gux-time-zone-picker-beta.entry.js +1 -1
  241. package/dist/esm/gux-toast.entry.js +3 -3
  242. package/dist/esm/gux-toggle-slider.entry.js +2 -2
  243. package/dist/esm/gux-toggle.entry.js +3 -3
  244. package/dist/esm/gux-tooltip-base-beta.entry.js +2 -2
  245. package/dist/esm/gux-tooltip-beta.entry.js +1 -1
  246. package/dist/esm/gux-tooltip-title.entry.js +2 -2
  247. package/dist/esm/gux-tooltip.entry.js +4 -4
  248. package/dist/esm/gux-truncate.entry.js +2 -2
  249. package/dist/esm/{usage-b1ea9683.js → usage-8c4d4226.js} +1 -1
  250. package/dist/genesys-webcomponents/genesys-webcomponents.css +1 -1
  251. package/dist/genesys-webcomponents/genesys-webcomponents.esm.js +1 -1
  252. package/dist/genesys-webcomponents/i18n/genesys-webcomponents.i18n.da.json +1 -1
  253. package/dist/genesys-webcomponents/i18n/genesys-webcomponents.i18n.es-es.json +1 -1
  254. package/dist/genesys-webcomponents/i18n/genesys-webcomponents.i18n.es.json +1 -1
  255. package/dist/genesys-webcomponents/i18n/genesys-webcomponents.i18n.it.json +1 -1
  256. package/dist/genesys-webcomponents/i18n/genesys-webcomponents.i18n.pt-br.json +1 -1
  257. package/dist/genesys-webcomponents/{p-350f8e18.entry.js → p-00aafef2.entry.js} +1 -1
  258. package/dist/genesys-webcomponents/{p-4056f86a.entry.js → p-00ab5307.entry.js} +1 -1
  259. package/dist/genesys-webcomponents/{p-910a4570.entry.js → p-02b9db9f.entry.js} +1 -1
  260. package/dist/genesys-webcomponents/{p-48800683.entry.js → p-0bd94adc.entry.js} +1 -1
  261. package/dist/genesys-webcomponents/{p-0bb59007.entry.js → p-0c3905e2.entry.js} +1 -1
  262. package/dist/genesys-webcomponents/{p-1d2b7832.entry.js → p-0e934fdf.entry.js} +1 -1
  263. package/dist/genesys-webcomponents/{p-f5a2278b.entry.js → p-12a26976.entry.js} +1 -1
  264. package/dist/genesys-webcomponents/{p-ea4fd5b6.entry.js → p-15036f44.entry.js} +1 -1
  265. package/dist/genesys-webcomponents/{p-c5710f56.entry.js → p-189f8a2e.entry.js} +1 -1
  266. package/dist/genesys-webcomponents/{p-755971fc.entry.js → p-19867294.entry.js} +1 -1
  267. package/dist/genesys-webcomponents/{p-03920c6c.entry.js → p-1c6e334d.entry.js} +1 -1
  268. package/dist/genesys-webcomponents/{p-a0942671.entry.js → p-1dd6c2ad.entry.js} +1 -1
  269. package/dist/genesys-webcomponents/{p-80b2eb82.entry.js → p-1ee6d6eb.entry.js} +1 -1
  270. package/dist/genesys-webcomponents/{p-1d2e150b.entry.js → p-2367f051.entry.js} +1 -1
  271. package/dist/genesys-webcomponents/{p-8728d27a.entry.js → p-29d83663.entry.js} +1 -1
  272. package/dist/genesys-webcomponents/{p-77ce316a.entry.js → p-2aa96618.entry.js} +1 -1
  273. package/dist/genesys-webcomponents/{p-3a844b87.entry.js → p-2e3d16aa.entry.js} +1 -1
  274. package/dist/genesys-webcomponents/{p-9f1debe0.entry.js → p-3103e564.entry.js} +1 -1
  275. package/dist/genesys-webcomponents/{p-dbbb9078.entry.js → p-31b42460.entry.js} +1 -1
  276. package/dist/genesys-webcomponents/p-3654dcb8.entry.js +1 -0
  277. package/dist/genesys-webcomponents/{p-81a778dd.entry.js → p-3d151dac.entry.js} +1 -1
  278. package/dist/genesys-webcomponents/{p-bbd644ea.entry.js → p-40f3c620.entry.js} +1 -1
  279. package/dist/genesys-webcomponents/{p-60938266.entry.js → p-4177a0ac.entry.js} +1 -1
  280. package/dist/genesys-webcomponents/{p-6f1af26c.entry.js → p-4519aecb.entry.js} +1 -1
  281. package/dist/genesys-webcomponents/{p-62c6fb3a.entry.js → p-49f00c3b.entry.js} +1 -1
  282. package/dist/genesys-webcomponents/{p-b4479288.entry.js → p-4bdeec66.entry.js} +1 -1
  283. package/dist/genesys-webcomponents/{p-b95b3b8b.entry.js → p-50f8b8db.entry.js} +1 -1
  284. package/dist/genesys-webcomponents/{p-779923a0.entry.js → p-5172f4d9.entry.js} +1 -1
  285. package/dist/genesys-webcomponents/{p-86571ca6.entry.js → p-523caea0.entry.js} +1 -1
  286. package/dist/genesys-webcomponents/{p-55c48c3d.entry.js → p-55bc5125.entry.js} +1 -1
  287. package/dist/genesys-webcomponents/{p-51dfd6d8.entry.js → p-5a1d03be.entry.js} +1 -1
  288. package/dist/genesys-webcomponents/{p-2621a61e.entry.js → p-5aad257f.entry.js} +1 -1
  289. package/dist/genesys-webcomponents/{p-9d1d681f.entry.js → p-5ac2cbc7.entry.js} +1 -1
  290. package/dist/genesys-webcomponents/{p-1c6af162.entry.js → p-5b33f648.entry.js} +1 -1
  291. package/dist/genesys-webcomponents/{p-8bc00ec4.entry.js → p-5bd475fb.entry.js} +1 -1
  292. package/dist/genesys-webcomponents/p-5c44cde2.entry.js +1 -0
  293. package/dist/genesys-webcomponents/{p-c73b1485.entry.js → p-5d567b38.entry.js} +1 -1
  294. package/dist/genesys-webcomponents/{p-9017944a.entry.js → p-5ea44c8b.entry.js} +1 -1
  295. package/dist/genesys-webcomponents/{p-4ddb6412.entry.js → p-615c4b8b.entry.js} +1 -1
  296. package/dist/genesys-webcomponents/{p-1d026269.entry.js → p-621c043c.entry.js} +1 -1
  297. package/dist/genesys-webcomponents/{p-304a279e.entry.js → p-628b2877.entry.js} +1 -1
  298. package/dist/genesys-webcomponents/{p-ddf5aa82.entry.js → p-6426feeb.entry.js} +1 -1
  299. package/dist/genesys-webcomponents/{p-680a38b9.entry.js → p-6655fb37.entry.js} +1 -1
  300. package/dist/genesys-webcomponents/{p-233f2c4c.entry.js → p-680be5ae.entry.js} +1 -1
  301. package/dist/genesys-webcomponents/{p-0022fdb0.entry.js → p-6a0b9047.entry.js} +1 -1
  302. package/dist/genesys-webcomponents/{p-71153c98.entry.js → p-6c1d284d.entry.js} +1 -1
  303. package/dist/genesys-webcomponents/p-6e67e0d8.entry.js +1 -0
  304. package/dist/genesys-webcomponents/{p-9e2e2baa.entry.js → p-6eccfb10.entry.js} +1 -1
  305. package/dist/genesys-webcomponents/{p-caad591d.entry.js → p-747bcfbb.entry.js} +1 -1
  306. package/dist/genesys-webcomponents/{p-b6feb930.entry.js → p-7d6747ee.entry.js} +1 -1
  307. package/dist/genesys-webcomponents/{p-c990f013.entry.js → p-822aa88b.entry.js} +1 -1
  308. package/dist/genesys-webcomponents/{p-2bb2e4fe.entry.js → p-8691d85d.entry.js} +1 -1
  309. package/dist/genesys-webcomponents/{p-b5383905.entry.js → p-8a85dc7a.entry.js} +1 -1
  310. package/dist/genesys-webcomponents/{p-922d6c18.entry.js → p-8c2ff6f9.entry.js} +1 -1
  311. package/dist/genesys-webcomponents/{p-66848e1e.entry.js → p-9069b550.entry.js} +1 -1
  312. package/dist/genesys-webcomponents/{p-f661152b.entry.js → p-926eb99d.entry.js} +1 -1
  313. package/dist/genesys-webcomponents/{p-30554c1b.entry.js → p-92b2991d.entry.js} +1 -1
  314. package/dist/genesys-webcomponents/{p-c2f95e60.entry.js → p-94b748af.entry.js} +1 -1
  315. package/dist/genesys-webcomponents/{p-a9c6e659.entry.js → p-960451cb.entry.js} +1 -1
  316. package/dist/genesys-webcomponents/{p-f8e17b73.entry.js → p-970f4e9d.entry.js} +1 -1
  317. package/dist/genesys-webcomponents/{p-9b5d4523.entry.js → p-979e49e5.entry.js} +1 -1
  318. package/dist/genesys-webcomponents/{p-b790b595.entry.js → p-97d878b2.entry.js} +1 -1
  319. package/dist/genesys-webcomponents/{p-71248638.entry.js → p-98d883a7.entry.js} +1 -1
  320. package/dist/genesys-webcomponents/{p-eb7a3fa8.entry.js → p-98e970d8.entry.js} +1 -1
  321. package/dist/genesys-webcomponents/p-98fc81c7.entry.js +1 -0
  322. package/dist/genesys-webcomponents/{p-4edb9825.entry.js → p-9b344f8f.entry.js} +1 -1
  323. package/dist/genesys-webcomponents/{p-568878c3.entry.js → p-9bf3599e.entry.js} +1 -1
  324. package/dist/genesys-webcomponents/{p-c8924da4.entry.js → p-a1c3d43a.entry.js} +1 -1
  325. package/dist/genesys-webcomponents/{p-3d0be570.entry.js → p-a2203753.entry.js} +1 -1
  326. package/dist/genesys-webcomponents/{p-0dd339dd.entry.js → p-a3c0e402.entry.js} +1 -1
  327. package/dist/genesys-webcomponents/{p-9d58a78d.entry.js → p-a860b342.entry.js} +1 -1
  328. package/dist/genesys-webcomponents/p-a9803085.entry.js +1 -0
  329. package/dist/genesys-webcomponents/{p-58f2dc26.entry.js → p-aa19d1b7.entry.js} +1 -1
  330. package/dist/genesys-webcomponents/{p-6042f6e6.entry.js → p-aa26aaac.entry.js} +1 -1
  331. package/dist/genesys-webcomponents/{p-0cf61c25.entry.js → p-aac8d814.entry.js} +1 -1
  332. package/dist/genesys-webcomponents/{p-d72679e4.entry.js → p-b1187e8d.entry.js} +1 -1
  333. package/dist/genesys-webcomponents/{p-fac8476b.entry.js → p-b1d6b1fd.entry.js} +1 -1
  334. package/dist/genesys-webcomponents/{p-e5711464.entry.js → p-b35e8054.entry.js} +1 -1
  335. package/dist/genesys-webcomponents/{p-815ba833.entry.js → p-bf8d3b65.entry.js} +1 -1
  336. package/dist/genesys-webcomponents/{p-62101675.entry.js → p-bfa60031.entry.js} +1 -1
  337. package/dist/genesys-webcomponents/{p-0dd23563.entry.js → p-c1808de4.entry.js} +1 -1
  338. package/dist/genesys-webcomponents/{p-a84be9e8.entry.js → p-c5c367c7.entry.js} +1 -1
  339. package/dist/genesys-webcomponents/{p-d56e0dfd.entry.js → p-c7d908db.entry.js} +1 -1
  340. package/dist/genesys-webcomponents/{p-90d4deb6.entry.js → p-c8ac345a.entry.js} +1 -1
  341. package/dist/genesys-webcomponents/{p-62007a87.entry.js → p-cb66a7cb.entry.js} +1 -1
  342. package/dist/genesys-webcomponents/{p-7c9a3300.entry.js → p-cf4281c4.entry.js} +1 -1
  343. package/dist/genesys-webcomponents/{p-ad812f07.entry.js → p-d0ff29d1.entry.js} +1 -1
  344. package/dist/genesys-webcomponents/{p-8a13099f.entry.js → p-d56dce3f.entry.js} +1 -1
  345. package/dist/genesys-webcomponents/{p-7beb4052.entry.js → p-d61073cf.entry.js} +1 -1
  346. package/dist/genesys-webcomponents/{p-13dd9346.js → p-d7160874.js} +1 -1
  347. package/dist/genesys-webcomponents/{p-1b1e4104.entry.js → p-d76e928c.entry.js} +1 -1
  348. package/dist/genesys-webcomponents/{p-8d60eb2b.entry.js → p-d7b5bd1f.entry.js} +1 -1
  349. package/dist/genesys-webcomponents/{p-97441fc8.entry.js → p-d9057d06.entry.js} +1 -1
  350. package/dist/genesys-webcomponents/{p-3227feba.entry.js → p-d99e567f.entry.js} +1 -1
  351. package/dist/genesys-webcomponents/{p-57b94a6d.entry.js → p-dadfcb9b.entry.js} +1 -1
  352. package/dist/genesys-webcomponents/{p-a9c23509.entry.js → p-e060af7f.entry.js} +1 -1
  353. package/dist/genesys-webcomponents/p-e194645e.entry.js +1 -0
  354. package/dist/genesys-webcomponents/{p-e5f32a75.entry.js → p-e23385c5.entry.js} +1 -1
  355. package/dist/genesys-webcomponents/{p-4ecb7235.entry.js → p-f001b6e9.entry.js} +1 -1
  356. package/dist/genesys-webcomponents/{p-30e22389.entry.js → p-f24fa0a1.entry.js} +1 -1
  357. package/dist/genesys-webcomponents/p-fc041a4c.entry.js +1 -0
  358. package/dist/stencil-wrapper.js +1 -1
  359. package/dist/types/components/stable/gux-inline-alert/gux-inline-alert.d.ts +1 -1
  360. package/dist/types/stencil-wrapper.d.ts +1 -1
  361. package/package.json +1 -1
  362. package/dist/genesys-webcomponents/p-46c62170.entry.js +0 -1
  363. package/dist/genesys-webcomponents/p-728e6f04.entry.js +0 -1
  364. package/dist/genesys-webcomponents/p-867b30f2.entry.js +0 -1
  365. package/dist/genesys-webcomponents/p-9611b417.entry.js +0 -1
  366. package/dist/genesys-webcomponents/p-b26e53e6.entry.js +0 -1
  367. package/dist/genesys-webcomponents/p-f68fd4fe.entry.js +0 -1
  368. package/dist/genesys-webcomponents/p-f7a7dbf6.entry.js +0 -1
@@ -1 +1 @@
1
- import{r as e,h as t,g as r}from"./p-2e827df1.js";import{b as o}from"./p-0367930a.js";import{O as i}from"./p-01471ba0.js";import{o as l}from"./p-e5b1cffc.js";import{h as s}from"./p-6d8b4027.js";import{G as a,a as n,s as f,c as h,b as d}from"./p-770270f8.js";import{G as g,a as u}from"./p-b0e1eb0c.js";import{g as p}from"./p-0268a3e8.js";import{t as c}from"./p-13dd9346.js";import"./p-4202e9f2.js";import"./p-0934300e.js";import"./p-8eaf8caf.js";import"./p-2c25e2f2.js";const m={required:"Required"};const x=class{constructor(t){e(this,t),this.labelPosition=void 0,this.computedLabelPosition="above",this.required=void 0,this.hasError=!1,this.hasHelp=!1}watchValue(e){const t=this.root.querySelector("gux-dropdown")||this.root.querySelector("gux-dropdown-multi");t&&(t.hasError=e)}onMutation(){this.hasError=s(this.root,"error"),this.hasHelp=s(this.root,"help")}async componentWillLoad(){this.getI18nValue=await o(this.root,m),this.setInput(),this.setLabel(),this.hasError=s(this.root,"error"),this.hasHelp=s(this.root,"help"),c(this.root,{variant:this.variant})}disconnectedCallback(){this.requiredObserver&&this.requiredObserver.disconnect()}renderScreenReaderText(e,r=!1){if(r)return t("gux-screen-reader-beta",null,e)}render(){var e;return t(u,{key:"b6795f760c878fec170807360855c19a3cf86c34",labelPosition:this.computedLabelPosition},t(g,{key:"3ab1b5ff4edb22646bc7988e89e71f9107295c5d",position:this.computedLabelPosition,required:this.required,labelText:null===(e=this.label)||void 0===e?void 0:e.textContent},t("slot",{key:"33f7bd3e8fe6a9090fbfe666df1c91ccae732d7a",name:"label",onSlotchange:()=>this.setLabel()}),this.renderScreenReaderText(this.getI18nValue("required"),this.required),this.renderScreenReaderText(p(this.root,"error"),this.hasError),this.renderScreenReaderText(p(this.root,"help"),this.hasHelp)),t("div",{key:"9f40bcf396c553b508c5d9b053b014afb21fc21b",class:"gux-input-and-error-container"},t("div",{key:"cc6a593a3e2b8b6931f127f3cb768b244637e6b2",class:{"gux-input":!0,"gux-input-error":this.hasError}},t("slot",{key:"cf4a935215026a57f9f66e0aa55b64003554b223"})),t(a,{key:"1fa254b89897d637622332789ad6eaa0f5f83fae",show:this.hasError},t("slot",{key:"8c15e70d21f2e709c80d34052e49a6ecc11c7ddd",name:"error"})),t(n,{key:"00c58d2c3a03bf6d016fc2d1f621b7703e2ae2ce",show:!this.hasError&&this.hasHelp},t("slot",{key:"7896c8464a0be2e4072bc1e31484b4fca69bc540",name:"help"}))))}get variant(){return`dropdown-${this.labelPosition?this.labelPosition.toLowerCase():"none"}`}setInput(){this.dropdownElement=this.root.querySelector("gux-dropdown")||this.root.querySelector("gux-dropdown-multi"),this.listboxElement=this.root.querySelector("gux-listbox")||this.root.querySelector("gux-listbox-multi"),this.required=this.dropdownElement.required,this.requiredObserver=l(this.dropdownElement,(e=>{this.required=e})),f(this.root,this.listboxElement,"label"),h(this.root,this.listboxElement,"error"),h(this.root,this.listboxElement,"help")}setLabel(){this.label=this.root.querySelector('label[slot="label"]'),this.computedLabelPosition=d(this.label,this.labelPosition)}get root(){return r(this)}static get watchers(){return{hasError:["watchValue"]}}};(function(e,t,r,o){var i,l=arguments.length,s=l<3?t:null===o?o=Object.getOwnPropertyDescriptor(t,r):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(e,t,r,o);else for(var a=e.length-1;a>=0;a--)(i=e[a])&&(s=(l<3?i(s):l>3?i(t,r,s):i(t,r))||s);l>3&&s&&Object.defineProperty(t,r,s)})([i({childList:!0,subtree:!0})],x.prototype,"onMutation",null),x.style='.gux-form-field-fieldset-container{display:flex;min-width:0;padding:0;margin:0;border:none}.gux-form-field-fieldset-container.gux-beside{flex-direction:row}.gux-form-field-fieldset-container.gux-above{flex-direction:column}.gux-form-field-error{display:none;flex-direction:row;flex-wrap:nowrap;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:auto;order:0;min-width:var(--gse-ui-icon-size-sm);min-height:var(--gse-ui-icon-size-sm);margin-right:var(--gse-ui-formControl-helper-gap);color:var(--gse-ui-formControl-helper-errorColor)}.gux-form-field-error .gux-message{flex:0 1 auto;align-self:auto;order:0}.gux-form-field-legend-label ::slotted(label){white-space:nowrap}.gux-form-field-legend-label.gux-required::after{color:var(--gse-ui-formControl-label-indicator-requiredColor);content:" *"}.gux-form-field-legend-label.gux-beside{position:relative;top:var(--gse-ui-formControl-input-top);float:left;width:fit-content;min-width:45px;margin-right:var(--gse-ui-formControl-label-gap)}.gux-form-field-legend-label.gux-above{padding:var(--gse-ui-formControl-label-padding)}.gux-form-field-legend-label.gux-screenreader{position:absolute;top:auto;left:-10000px;width:1px;height:1px;overflow:hidden}.gux-form-field-help{display:none;flex-direction:row;flex-wrap:nowrap;place-content:stretch flex-start;align-items:flex-start;justify-content:flex-start;padding:var(--gse-ui-formControl-helper-paddingSmall);font-family:var(--gse-ui-formControl-helper-helperText-fontFamily);font-size:var(--gse-ui-formControl-helper-helperText-fontSize);line-height:var(--gse-ui-formControl-helper-helperText-lineHeight);color:var(--gse-ui-formControl-helper-defaultColor)}.gux-form-field-help.gux-show{display:flex}.gux-form-field-help .gux-message{flex:0 1 auto;align-self:none;order:0}:host{display:block}::slotted(label){font-family:var(--gse-ui-formControl-label-text-fontFamily);font-size:var(--gse-ui-formControl-label-text-fontSize);font-weight:var(--gse-ui-formControl-label-text-fontWeight);line-height:var(--gse-ui-formControl-label-text-lineHeight);color:var(--gse-ui-formControl-label-labelColor)}.gux-input-and-error-container{flex-grow:1;width:100%}';export{x as gux_form_field_dropdown}
1
+ import{r as e,h as t,g as r}from"./p-2e827df1.js";import{b as o}from"./p-0367930a.js";import{O as i}from"./p-01471ba0.js";import{o as l}from"./p-e5b1cffc.js";import{h as s}from"./p-6d8b4027.js";import{G as a,a as n,s as f,c as h,b as d}from"./p-770270f8.js";import{G as g,a as u}from"./p-b0e1eb0c.js";import{g as p}from"./p-0268a3e8.js";import{t as c}from"./p-d7160874.js";import"./p-4202e9f2.js";import"./p-0934300e.js";import"./p-8eaf8caf.js";import"./p-2c25e2f2.js";const m={required:"Required"};const x=class{constructor(t){e(this,t),this.labelPosition=void 0,this.computedLabelPosition="above",this.required=void 0,this.hasError=!1,this.hasHelp=!1}watchValue(e){const t=this.root.querySelector("gux-dropdown")||this.root.querySelector("gux-dropdown-multi");t&&(t.hasError=e)}onMutation(){this.hasError=s(this.root,"error"),this.hasHelp=s(this.root,"help")}async componentWillLoad(){this.getI18nValue=await o(this.root,m),this.setInput(),this.setLabel(),this.hasError=s(this.root,"error"),this.hasHelp=s(this.root,"help"),c(this.root,{variant:this.variant})}disconnectedCallback(){this.requiredObserver&&this.requiredObserver.disconnect()}renderScreenReaderText(e,r=!1){if(r)return t("gux-screen-reader-beta",null,e)}render(){var e;return t(u,{key:"b6795f760c878fec170807360855c19a3cf86c34",labelPosition:this.computedLabelPosition},t(g,{key:"3ab1b5ff4edb22646bc7988e89e71f9107295c5d",position:this.computedLabelPosition,required:this.required,labelText:null===(e=this.label)||void 0===e?void 0:e.textContent},t("slot",{key:"33f7bd3e8fe6a9090fbfe666df1c91ccae732d7a",name:"label",onSlotchange:()=>this.setLabel()}),this.renderScreenReaderText(this.getI18nValue("required"),this.required),this.renderScreenReaderText(p(this.root,"error"),this.hasError),this.renderScreenReaderText(p(this.root,"help"),this.hasHelp)),t("div",{key:"9f40bcf396c553b508c5d9b053b014afb21fc21b",class:"gux-input-and-error-container"},t("div",{key:"cc6a593a3e2b8b6931f127f3cb768b244637e6b2",class:{"gux-input":!0,"gux-input-error":this.hasError}},t("slot",{key:"cf4a935215026a57f9f66e0aa55b64003554b223"})),t(a,{key:"1fa254b89897d637622332789ad6eaa0f5f83fae",show:this.hasError},t("slot",{key:"8c15e70d21f2e709c80d34052e49a6ecc11c7ddd",name:"error"})),t(n,{key:"00c58d2c3a03bf6d016fc2d1f621b7703e2ae2ce",show:!this.hasError&&this.hasHelp},t("slot",{key:"7896c8464a0be2e4072bc1e31484b4fca69bc540",name:"help"}))))}get variant(){return`dropdown-${this.labelPosition?this.labelPosition.toLowerCase():"none"}`}setInput(){this.dropdownElement=this.root.querySelector("gux-dropdown")||this.root.querySelector("gux-dropdown-multi"),this.listboxElement=this.root.querySelector("gux-listbox")||this.root.querySelector("gux-listbox-multi"),this.required=this.dropdownElement.required,this.requiredObserver=l(this.dropdownElement,(e=>{this.required=e})),f(this.root,this.listboxElement,"label"),h(this.root,this.listboxElement,"error"),h(this.root,this.listboxElement,"help")}setLabel(){this.label=this.root.querySelector('label[slot="label"]'),this.computedLabelPosition=d(this.label,this.labelPosition)}get root(){return r(this)}static get watchers(){return{hasError:["watchValue"]}}};(function(e,t,r,o){var i,l=arguments.length,s=l<3?t:null===o?o=Object.getOwnPropertyDescriptor(t,r):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(e,t,r,o);else for(var a=e.length-1;a>=0;a--)(i=e[a])&&(s=(l<3?i(s):l>3?i(t,r,s):i(t,r))||s);l>3&&s&&Object.defineProperty(t,r,s)})([i({childList:!0,subtree:!0})],x.prototype,"onMutation",null),x.style='.gux-form-field-fieldset-container{display:flex;min-width:0;padding:0;margin:0;border:none}.gux-form-field-fieldset-container.gux-beside{flex-direction:row}.gux-form-field-fieldset-container.gux-above{flex-direction:column}.gux-form-field-error{display:none;flex-direction:row;flex-wrap:nowrap;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:auto;order:0;min-width:var(--gse-ui-icon-size-sm);min-height:var(--gse-ui-icon-size-sm);margin-right:var(--gse-ui-formControl-helper-gap);color:var(--gse-ui-formControl-helper-errorColor)}.gux-form-field-error .gux-message{flex:0 1 auto;align-self:auto;order:0}.gux-form-field-legend-label ::slotted(label){white-space:nowrap}.gux-form-field-legend-label.gux-required::after{color:var(--gse-ui-formControl-label-indicator-requiredColor);content:" *"}.gux-form-field-legend-label.gux-beside{position:relative;top:var(--gse-ui-formControl-input-top);float:left;width:fit-content;min-width:45px;margin-right:var(--gse-ui-formControl-label-gap)}.gux-form-field-legend-label.gux-above{padding:var(--gse-ui-formControl-label-padding)}.gux-form-field-legend-label.gux-screenreader{position:absolute;top:auto;left:-10000px;width:1px;height:1px;overflow:hidden}.gux-form-field-help{display:none;flex-direction:row;flex-wrap:nowrap;place-content:stretch flex-start;align-items:flex-start;justify-content:flex-start;padding:var(--gse-ui-formControl-helper-paddingSmall);font-family:var(--gse-ui-formControl-helper-helperText-fontFamily);font-size:var(--gse-ui-formControl-helper-helperText-fontSize);line-height:var(--gse-ui-formControl-helper-helperText-lineHeight);color:var(--gse-ui-formControl-helper-defaultColor)}.gux-form-field-help.gux-show{display:flex}.gux-form-field-help .gux-message{flex:0 1 auto;align-self:none;order:0}:host{display:block}::slotted(label){font-family:var(--gse-ui-formControl-label-text-fontFamily);font-size:var(--gse-ui-formControl-label-text-fontSize);font-weight:var(--gse-ui-formControl-label-text-fontWeight);line-height:var(--gse-ui-formControl-label-text-lineHeight);color:var(--gse-ui-formControl-label-labelColor)}.gux-input-and-error-container{flex-grow:1;width:100%}';export{x as gux_form_field_dropdown}
@@ -1 +1 @@
1
- import{r as t,f as e,h as i,g as o}from"./p-2e827df1.js";import{O as n}from"./p-01471ba0.js";import{O as a}from"./p-ab6cf9b9.js";function r(t){return t.reduce(((t,e)=>{if("SLOT"===e.nodeName){const i=e.assignedNodes();return t.concat(r(i))}return t.concat(e.textContent)}),[]).map((t=>t.trim())).join(" ")}var l=function(t,e,i,o){var n,a=arguments.length,r=a<3?e:null===o?o=Object.getOwnPropertyDescriptor(e,i):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)r=Reflect.decorate(t,e,i,o);else for(var l=t.length-1;l>=0;l--)(n=t[l])&&(r=(a<3?n(r):a>3?n(e,i,r):n(e,i))||r);return a>3&&r&&Object.defineProperty(e,i,r),r};const s=class{constructor(e){t(this,e),this.maxLines=void 0}async setShowTooltip(){var t;await(null===(t=this.tooltipElement)||void 0===t?void 0:t.showTooltip())}async setHideTooltip(){var t;await(null===(t=this.tooltipElement)||void 0===t?void 0:t.hideTooltip())}onMutation(){e(this.root)}onResize(){e(this.root)}getTooltipContent(){return r(Array.from(this.root.childNodes))||""}needsTruncation(){const t=this.root.shadowRoot.querySelector(".gux-truncate-slot-container");return(null==t?void 0:t.scrollWidth)>(null==t?void 0:t.offsetWidth)||(null==t?void 0:t.scrollHeight)>(null==t?void 0:t.offsetHeight)}renderTooltip(){return this.needsTruncation()?i("gux-tooltip",{"aria-hidden":"true",ref:t=>this.tooltipElement=t},this.getTooltipContent()):null}render(){var t;return i("div",{key:"5df5df7882cb4a06f27571a0ba2b96a097d2907f",class:{"gux-truncate-multi-line":Boolean(this.maxLines)}},i("span",{key:"5da947daace9a82a0fbb44bb5f175b31608204d7",class:"gux-truncate-slot-container",style:{webkitLineClamp:null===(t=this.maxLines)||void 0===t?void 0:t.toString()}},i("slot",{key:"7a7baaf356a304c6f1f67d389974a5a9668c69d1"})),this.renderTooltip())}get root(){return o(this)}};l([n({childList:!0,subtree:!0,characterData:!0})],s.prototype,"onMutation",null),l([a()],s.prototype,"onResize",null),s.style=":host{display:block;width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;cursor:inherit}::slotted(*){display:inline}.gux-truncate-multi-line{white-space:normal}.gux-truncate-multi-line .gux-truncate-slot-container{display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:1}gux-tooltip{font-weight:normal;line-height:normal;text-align:left;overflow-wrap:break-word;white-space:normal}.gux-truncate-slot-container>*{display:inline}.gux-truncate-slot-container{display:block;overflow:hidden;text-overflow:ellipsis}";export{s as gux_truncate}
1
+ import{r as t,f as e,h as i,g as o}from"./p-2e827df1.js";import{O as n}from"./p-01471ba0.js";import{O as r}from"./p-ab6cf9b9.js";function l(t){return t.reduce(((t,e)=>{if("SLOT"===e.nodeName){const i=e.assignedNodes();return t.concat(l(i))}return t.concat(e.textContent)}),[]).map((t=>t.trim())).join(" ")}var a=function(t,e,i,o){var n,r=arguments.length,l=r<3?e:null===o?o=Object.getOwnPropertyDescriptor(e,i):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)l=Reflect.decorate(t,e,i,o);else for(var a=t.length-1;a>=0;a--)(n=t[a])&&(l=(r<3?n(l):r>3?n(e,i,l):n(e,i))||l);return r>3&&l&&Object.defineProperty(e,i,l),l};const s=class{constructor(e){t(this,e),this.maxLines=void 0}async setShowTooltip(){var t;await(null===(t=this.tooltipElement)||void 0===t?void 0:t.showTooltip())}async setHideTooltip(){var t;await(null===(t=this.tooltipElement)||void 0===t?void 0:t.hideTooltip())}onMutation(){e(this.root)}onResize(){e(this.root)}getTooltipContent(){return l(Array.from(this.root.childNodes))||""}needsTruncation(){const t=this.root.shadowRoot.querySelector(".gux-truncate-slot-container");return(null==t?void 0:t.scrollWidth)>(null==t?void 0:t.offsetWidth)||(null==t?void 0:t.scrollHeight)>(null==t?void 0:t.offsetHeight)}renderTooltip(){return this.needsTruncation()?i("gux-tooltip",{"aria-hidden":"true",ref:t=>this.tooltipElement=t},this.getTooltipContent()):null}render(){var t;return i("div",{key:"0c8585823f7036702397c660f3cb12ae826487b1",class:{"gux-truncate-multi-line":Boolean(this.maxLines)}},i("span",{key:"1668d4836f2ab87cf276f2c3cd445b4834429f19",class:"gux-truncate-slot-container",style:{webkitLineClamp:null===(t=this.maxLines)||void 0===t?void 0:t.toString()}},i("slot",{key:"33c07ec26e6a8eb937c1f4de2303a66e9bc92b9c"})),this.renderTooltip())}get root(){return o(this)}};a([n({childList:!0,subtree:!0,characterData:!0})],s.prototype,"onMutation",null),a([r()],s.prototype,"onResize",null),s.style=":host{display:block;width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;cursor:inherit}::slotted(*){display:inline}.gux-truncate-multi-line{white-space:normal}.gux-truncate-multi-line .gux-truncate-slot-container{display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:1}gux-tooltip{font-weight:normal;line-height:normal;text-align:left;overflow-wrap:break-word;white-space:normal}.gux-truncate-slot-container>*{display:inline}.gux-truncate-slot-container{display:block;overflow:hidden;text-overflow:ellipsis}";export{s as gux_truncate}
@@ -1 +1 @@
1
- import{r as o,h as i,g as e}from"./p-2e827df1.js";import{t as r}from"./p-13dd9346.js";import{b as t}from"./p-0367930a.js";import"./p-4202e9f2.js";const a={clickToCopy:"Click to Copy",enterToCopy:"Press Enter to Copy",copySuccess:"Copied to Clipboard",copyFailure:"Error. Please Try Again."},c=class{constructor(i){o(this,i),this.tooltipContent="clickToCopy"}onMouseleave(){this.resetTooltip()}onFocusout(){this.resetTooltip()}onFocus(){this.copyButton.matches(":focus-visible")&&(this.tooltipContent="enterToCopy")}resetTooltip(){this.tooltipContent="clickToCopy"}async onCopyToClipboard(){return navigator.clipboard.writeText(this.root.innerText).then((()=>{this.tooltipContent="copySuccess"})).catch((()=>{this.tooltipContent="copyFailure"}))}getIconName(o){switch(o){case"copyFailure":return"fa/circle-xmark-solid";case"copySuccess":return"fa/circle-check-solid"}}renderTooltipIcon(){const o=this.getIconName(this.tooltipContent);if(o)return i("gux-icon",{"icon-name":o,decorative:!0})}renderTooltip(){return i("gux-tooltip",{placement:"bottom-end"},i("div",{class:"gux-tooltip-content"},this.renderTooltipIcon(),i("span",null,this.i18n(this.tooltipContent))))}async componentWillLoad(){r(this.root),this.i18n=await t(this.root,a)}render(){return i("button",{key:"999ee07a48cd3d9d1369d204af767997c73f16be",class:"gux-copy-to-clipboard-wrapper",ref:o=>this.copyButton=o,onClick:this.onCopyToClipboard.bind(this)},i("div",{key:"27bd5e847b21682aa2ebe939844db4d36daa764a",class:"gux-copy-content"},i("slot",{key:"51b127d5a83ee1868f4ecf43009b1950cf06c26c",name:"content"}),i("gux-icon",{key:"22d9e44fe2864e5aaeb0d28b7e726da385b373bb","icon-name":"fa/copy-regular",decorative:!0})),this.renderTooltip())}get root(){return e(this)}};c.style="button{all:unset}.gux-copy-to-clipboard-wrapper{display:inline-flex;align-items:center}.gux-copy-to-clipboard-wrapper .gux-copy-content{display:inherit;gap:var(--gse-ui-copyToClipboard-contentContainer-gap);align-items:inherit;cursor:pointer}.gux-copy-to-clipboard-wrapper .gux-copy-content ::slotted(*){padding:var(--gse-ui-copyToClipboard-label-padding);font-family:var(--gse-ui-copyToClipboard-label-text-fontFamily);font-size:var(--gse-ui-copyToClipboard-label-text-fontSize);font-weight:var(--gse-ui-copyToClipboard-label-text-fontWeight);line-height:var(--gse-ui-copyToClipboard-label-text-lineHeight);color:var(--gse-ui-copyToClipboard-label-foregroundColor);text-decoration:var(--gse-ui-copyToClipboard-label-text-textDecoration);border-radius:var(--gse-ui-copyToClipboard-label-borderRadius)}.gux-copy-to-clipboard-wrapper .gux-copy-content:hover ::slotted(*){background-color:var(--gse-ui-copyToClipboard-label-active-backgroundColor)}.gux-copy-to-clipboard-wrapper .gux-copy-content:hover gux-icon[icon-name=copy]{visibility:visible}.gux-copy-to-clipboard-wrapper .gux-copy-content gux-icon[icon-name=copy]{flex-shrink:0;width:var(--gse-ui-icon-size-sm);height:var(--gse-ui-icon-size-sm);padding:var(--gse-ui-copyToClipboard-iconContainer-padding);visibility:hidden;background-color:var(--gse-ui-copyToClipboard-label-active-backgroundColor);border-radius:var(--gse-ui-copyToClipboard-label-borderRadius)}.gux-copy-to-clipboard-wrapper:focus-visible{outline:none}.gux-copy-to-clipboard-wrapper:focus-visible ::slotted(*){background-color:var(--gse-ui-copyToClipboard-label-active-backgroundColor)}.gux-copy-to-clipboard-wrapper:focus-visible gux-icon[icon-name=copy]{visibility:visible}.gux-copy-to-clipboard-wrapper gux-tooltip{display:inline-flex;align-items:center}.gux-copy-to-clipboard-wrapper gux-tooltip .gux-tooltip-content>*{vertical-align:middle}.gux-copy-to-clipboard-wrapper gux-tooltip gux-icon{width:var(--gse-ui-icon-size-sm);height:var(--gse-ui-icon-size-sm);padding:var(--gse-ui-copyToClipboard-iconContainer-padding)}.gux-copy-to-clipboard-wrapper gux-tooltip gux-icon[icon-name=badge-check]{color:var(--gse-ui-copyToClipboard-tooltipIcon-success-foregroundColor)}.gux-copy-to-clipboard-wrapper gux-tooltip gux-icon[icon-name=badge-x]{color:var(--gse-ui-copyToClipboard-tooltipIcon-error-foregroundColor)}";export{c as gux_copy_to_clipboard}
1
+ import{r as o,h as i,g as e}from"./p-2e827df1.js";import{t as r}from"./p-d7160874.js";import{b as t}from"./p-0367930a.js";import"./p-4202e9f2.js";const a={clickToCopy:"Click to Copy",enterToCopy:"Press Enter to Copy",copySuccess:"Copied to Clipboard",copyFailure:"Error. Please Try Again."},c=class{constructor(i){o(this,i),this.tooltipContent="clickToCopy"}onMouseleave(){this.resetTooltip()}onFocusout(){this.resetTooltip()}onFocus(){this.copyButton.matches(":focus-visible")&&(this.tooltipContent="enterToCopy")}resetTooltip(){this.tooltipContent="clickToCopy"}async onCopyToClipboard(){return navigator.clipboard.writeText(this.root.innerText).then((()=>{this.tooltipContent="copySuccess"})).catch((()=>{this.tooltipContent="copyFailure"}))}getIconName(o){switch(o){case"copyFailure":return"fa/circle-xmark-solid";case"copySuccess":return"fa/circle-check-solid"}}renderTooltipIcon(){const o=this.getIconName(this.tooltipContent);if(o)return i("gux-icon",{"icon-name":o,decorative:!0})}renderTooltip(){return i("gux-tooltip",{placement:"bottom-end"},i("div",{class:"gux-tooltip-content"},this.renderTooltipIcon(),i("span",null,this.i18n(this.tooltipContent))))}async componentWillLoad(){r(this.root),this.i18n=await t(this.root,a)}render(){return i("button",{key:"999ee07a48cd3d9d1369d204af767997c73f16be",class:"gux-copy-to-clipboard-wrapper",ref:o=>this.copyButton=o,onClick:this.onCopyToClipboard.bind(this)},i("div",{key:"27bd5e847b21682aa2ebe939844db4d36daa764a",class:"gux-copy-content"},i("slot",{key:"51b127d5a83ee1868f4ecf43009b1950cf06c26c",name:"content"}),i("gux-icon",{key:"22d9e44fe2864e5aaeb0d28b7e726da385b373bb","icon-name":"fa/copy-regular",decorative:!0})),this.renderTooltip())}get root(){return e(this)}};c.style="button{all:unset}.gux-copy-to-clipboard-wrapper{display:inline-flex;align-items:center}.gux-copy-to-clipboard-wrapper .gux-copy-content{display:inherit;gap:var(--gse-ui-copyToClipboard-contentContainer-gap);align-items:inherit;cursor:pointer}.gux-copy-to-clipboard-wrapper .gux-copy-content ::slotted(*){padding:var(--gse-ui-copyToClipboard-label-padding);font-family:var(--gse-ui-copyToClipboard-label-text-fontFamily);font-size:var(--gse-ui-copyToClipboard-label-text-fontSize);font-weight:var(--gse-ui-copyToClipboard-label-text-fontWeight);line-height:var(--gse-ui-copyToClipboard-label-text-lineHeight);color:var(--gse-ui-copyToClipboard-label-foregroundColor);text-decoration:var(--gse-ui-copyToClipboard-label-text-textDecoration);border-radius:var(--gse-ui-copyToClipboard-label-borderRadius)}.gux-copy-to-clipboard-wrapper .gux-copy-content:hover ::slotted(*){background-color:var(--gse-ui-copyToClipboard-label-active-backgroundColor)}.gux-copy-to-clipboard-wrapper .gux-copy-content:hover gux-icon[icon-name=copy]{visibility:visible}.gux-copy-to-clipboard-wrapper .gux-copy-content gux-icon[icon-name=copy]{flex-shrink:0;width:var(--gse-ui-icon-size-sm);height:var(--gse-ui-icon-size-sm);padding:var(--gse-ui-copyToClipboard-iconContainer-padding);visibility:hidden;background-color:var(--gse-ui-copyToClipboard-label-active-backgroundColor);border-radius:var(--gse-ui-copyToClipboard-label-borderRadius)}.gux-copy-to-clipboard-wrapper:focus-visible{outline:none}.gux-copy-to-clipboard-wrapper:focus-visible ::slotted(*){background-color:var(--gse-ui-copyToClipboard-label-active-backgroundColor)}.gux-copy-to-clipboard-wrapper:focus-visible gux-icon[icon-name=copy]{visibility:visible}.gux-copy-to-clipboard-wrapper gux-tooltip{display:inline-flex;align-items:center}.gux-copy-to-clipboard-wrapper gux-tooltip .gux-tooltip-content>*{vertical-align:middle}.gux-copy-to-clipboard-wrapper gux-tooltip gux-icon{width:var(--gse-ui-icon-size-sm);height:var(--gse-ui-icon-size-sm);padding:var(--gse-ui-copyToClipboard-iconContainer-padding)}.gux-copy-to-clipboard-wrapper gux-tooltip gux-icon[icon-name=badge-check]{color:var(--gse-ui-copyToClipboard-tooltipIcon-success-foregroundColor)}.gux-copy-to-clipboard-wrapper gux-tooltip gux-icon[icon-name=badge-x]{color:var(--gse-ui-copyToClipboard-tooltipIcon-error-foregroundColor)}";export{c as gux_copy_to_clipboard}
@@ -1 +1 @@
1
- import{r as t,c as o,h as a,g as s}from"./p-2e827df1.js";import{t as e}from"./p-13dd9346.js";import{h as i}from"./p-6d8b4027.js";const n=class{constructor(a){t(this,a),this.guxdismiss=o(this,"guxdismiss",7),this.toastType="success",this.hasLink=!1,this.hasPrimaryButton=!1,this.hasSecondaryButton=!1}componentWillLoad(){e(this.root,{variant:this.toastType}),this.hasPrimaryButton=i(this.root,"primary-button"),this.hasSecondaryButton=i(this.root,"secondary-button"),this.hasLink=i(this.root,"link")}renderToastIcon(){switch(this.toastType){case"success":return a("gux-icon",{"icon-name":"fa/circle-check-solid",decorative:!0});case"warning":return a("gux-icon",{"icon-name":"fa/triangle-exclamation-solid",decorative:!0});case"error":return a("gux-icon",{"icon-name":"fa/hexagon-exclamation-solid",decorative:!0});case"info":return a("gux-icon",{"icon-name":"fa/circle-info-solid",decorative:!0});case"action":return a("slot",{name:"icon"})}}renderLink(){return a("div",{class:"gux-buttons-bar"},a("slot",{name:"link"}))}renderActions(){return a("div",{class:"gux-buttons-bar"},this.hasSecondaryButton&&a("gux-button-slot",null,a("slot",{name:"secondary-button"})),a("gux-button-slot",{accent:this.hasSecondaryButton?"primary":"tertiary"},a("slot",{name:"primary-button"})))}render(){return a("div",{key:"f0ed026305946ba26bb3a3769221d5d7e0b498ed",class:`gux-toast gux-toast-${this.toastType}`},a("div",{key:"9b56fb033e76353568a7c6b079c1360ecb07ef1b",class:`gux-icon gux-icon-${this.toastType}`},this.renderToastIcon()),a("div",{key:"3591b11eb2a6dfc7e24a4714c4291d331901befd",class:"gux-content"},a("div",{key:"c1719200e50b4804535da871ad5160c21ba40321",class:"gux-message"},a("gux-truncate",{key:"cd17fa8f4333f195836f55ac32f4e92ab06969dd",class:"gux-message-title","max-lines":1},a("slot",{key:"07fae79978b9e08144cfdd247e3425a1ff52b161",name:"title"})),a("gux-truncate",{key:"cb1d8892ae398c739dab239edcf48420f3204457",class:"gux-message-body","max-lines":2},a("slot",{key:"fd92de34f22ad32466f93ea30d218a409e2a8076",name:"message"}))),"action"!==this.toastType&&this.hasLink&&this.renderLink(),"action"===this.toastType&&this.hasPrimaryButton&&this.renderActions()),a("gux-dismiss-button",{key:"0cce58ff023b8edf2df095681a82c68f33c995d4",position:"inherit",onClick:this.onDismissClickHandler.bind(this)}))}onDismissClickHandler(t){t.stopPropagation(),this.guxdismiss.emit().defaultPrevented||this.root.remove()}get root(){return s(this)}};n.style=".gux-toast{position:relative;display:flex;flex-direction:row;flex-wrap:nowrap;gap:var(--gse-ui-toast-gap);place-content:stretch flex-start;align-items:flex-start;width:var(--gse-ui-toast-wrappingWidth);padding:var(--gse-ui-toast-margin);margin-bottom:var(--gse-ui-toast-stacking-gap);border-radius:var(--gse-ui-toast-borderRadius);box-shadow:var(--gse-ui-toast-boxShadow-x) var(--gse-ui-toast-boxShadow-y) var(--gse-ui-toast-boxShadow-blur) var(--gse-ui-toast-boxShadow-spread) var(--gse-ui-toast-boxShadow-color)}.gux-toast .gux-icon ::slotted(gux-icon){width:var(--gse-ui-toast-icon) !important;height:var(--gse-ui-toast-icon) !important}.gux-toast .gux-icon gux-icon{width:var(--gse-ui-toast-icon) !important;height:var(--gse-ui-toast-icon) !important}.gux-toast .gux-icon.gux-icon-error{color:var(--gse-ui-toast-error-iconColor)}.gux-toast .gux-icon.gux-icon-warning{color:var(--gse-ui-toast-warning-iconColor)}.gux-toast .gux-icon.gux-icon-success{color:var(--gse-ui-toast-success-iconColor)}.gux-toast .gux-icon.gux-icon-info{color:var(--gse-ui-toast-info-iconColor)}.gux-toast .gux-icon.gux-icon-action{color:var(--gse-ui-toast-action-iconColor)}.gux-toast .gux-content{display:flex;flex:1 1 auto;flex-direction:column;flex-wrap:nowrap;gap:var(--gse-ui-toast-gapButton);place-content:stretch flex-start;align-items:flex-start;align-self:auto;order:0}.gux-toast .gux-content .gux-message{display:flex;flex-direction:column;gap:var(--gse-ui-toast-gapText)}.gux-toast .gux-content .gux-message .gux-message-title{font-family:var(--gse-ui-toast-heading-fontFamily);font-size:var(--gse-ui-toast-heading-fontSize);font-weight:var(--gse-ui-toast-heading-fontWeight);line-height:var(--gse-ui-toast-heading-lineHeight)}.gux-toast .gux-content .gux-message .gux-message-body{font-family:var(--gse-ui-toast-text-fontFamily);font-size:var(--gse-ui-toast-text-fontSize);line-height:var(--gse-ui-toast-text-lineHeight)}.gux-toast .gux-content .gux-buttons-bar{display:flex;flex-direction:row;flex-wrap:nowrap;gap:var(--gse-ui-toast-buttonBar-gap);justify-content:flex-start}.gux-toast .gux-content .gux-buttons-bar ::slotted(a){font-family:var(--gse-ui-link-inLine-medium-underlinedText-fontFamily);font-size:var(--gse-ui-link-inLine-medium-underlinedText-fontSize);font-weight:var(--gse-ui-link-inLine-medium-underlinedText-fontWeight);line-height:var(--gse-ui-link-inLine-medium-underlinedText-lineHeight)}.gux-toast.gux-toast-success{background-color:var(--gse-ui-toast-success-backgroundColor)}.gux-toast.gux-toast-success .gux-message{color:var(--gse-ui-toast-success-foregroundColor)}.gux-toast.gux-toast-warning{background-color:var(--gse-ui-toast-warning-backgroundColor)}.gux-toast.gux-toast-warning .gux-message{color:var(--gse-ui-toast-warning-foregroundColor)}.gux-toast.gux-toast-error{background-color:var(--gse-ui-toast-error-backgroundColor)}.gux-toast.gux-toast-error .gux-message{color:var(--gse-ui-toast-error-foregroundColor)}.gux-toast.gux-toast-info{background-color:var(--gse-ui-toast-info-backgroundColor)}.gux-toast.gux-toast-info .gux-message{color:var(--gse-ui-toast-info-foregroundColor)}.gux-toast.gux-toast-action{background-color:var(--gse-ui-toast-action-backgroundColor)}.gux-toast.gux-toast-action .gux-message{color:var(--gse-ui-toast-action-foregroundColor)}";export{n as gux_toast}
1
+ import{r as t,c as o,h as a,g as s}from"./p-2e827df1.js";import{t as e}from"./p-d7160874.js";import{h as i}from"./p-6d8b4027.js";const n=class{constructor(a){t(this,a),this.guxdismiss=o(this,"guxdismiss",7),this.toastType="success",this.hasLink=!1,this.hasPrimaryButton=!1,this.hasSecondaryButton=!1}componentWillLoad(){e(this.root,{variant:this.toastType}),this.hasPrimaryButton=i(this.root,"primary-button"),this.hasSecondaryButton=i(this.root,"secondary-button"),this.hasLink=i(this.root,"link")}renderToastIcon(){switch(this.toastType){case"success":return a("gux-icon",{"icon-name":"fa/circle-check-solid",decorative:!0});case"warning":return a("gux-icon",{"icon-name":"fa/triangle-exclamation-solid",decorative:!0});case"error":return a("gux-icon",{"icon-name":"fa/hexagon-exclamation-solid",decorative:!0});case"info":return a("gux-icon",{"icon-name":"fa/circle-info-solid",decorative:!0});case"action":return a("slot",{name:"icon"})}}renderLink(){return a("div",{class:"gux-buttons-bar"},a("slot",{name:"link"}))}renderActions(){return a("div",{class:"gux-buttons-bar"},this.hasSecondaryButton&&a("gux-button-slot",null,a("slot",{name:"secondary-button"})),a("gux-button-slot",{accent:this.hasSecondaryButton?"primary":"tertiary"},a("slot",{name:"primary-button"})))}render(){return a("div",{key:"239ecd616eb448f71ba18494903ba93ba46a033f",class:`gux-toast gux-toast-${this.toastType}`},a("div",{key:"f6eb89065eca0289f2f4b918a21dca6bf29d2e59",class:`gux-icon gux-icon-${this.toastType}`},this.renderToastIcon()),a("div",{key:"7b101af7f04d3251547bcdac1cfb81507b85af73",class:"gux-content"},a("div",{key:"07cf0f0213a6dda3ef37ef8db507e0cc5fd31f43",class:"gux-message"},a("gux-truncate",{key:"38480feb5635c696e910bf2aa6413de6579b53bf",class:"gux-message-title","max-lines":1},a("slot",{key:"b21a417c14c5c5e90741913a7fc8243220772f78",name:"title"})),a("gux-truncate",{key:"a6c7d63043c809e0a7a10e4f5b88637323e51326",class:"gux-message-body","max-lines":2},a("slot",{key:"6257236d5d444776db8591ce5a2f96a4bc6a3314",name:"message"}))),"action"!==this.toastType&&this.hasLink&&this.renderLink(),"action"===this.toastType&&this.hasPrimaryButton&&this.renderActions()),a("gux-dismiss-button",{key:"d38123737d04d0072c02df597d008052ff5cb25f",position:"inherit",onClick:this.onDismissClickHandler.bind(this)}))}onDismissClickHandler(t){t.stopPropagation(),this.guxdismiss.emit().defaultPrevented||this.root.remove()}get root(){return s(this)}};n.style=".gux-toast{position:relative;display:flex;flex-direction:row;flex-wrap:nowrap;gap:var(--gse-ui-toast-gap);place-content:stretch flex-start;align-items:flex-start;width:var(--gse-ui-toast-wrappingWidth);padding:var(--gse-ui-toast-margin);margin-bottom:var(--gse-ui-toast-stacking-gap);border-radius:var(--gse-ui-toast-borderRadius);box-shadow:var(--gse-ui-toast-boxShadow-x) var(--gse-ui-toast-boxShadow-y) var(--gse-ui-toast-boxShadow-blur) var(--gse-ui-toast-boxShadow-spread) var(--gse-ui-toast-boxShadow-color)}.gux-toast .gux-icon ::slotted(gux-icon){width:var(--gse-ui-toast-icon) !important;height:var(--gse-ui-toast-icon) !important}.gux-toast .gux-icon gux-icon{width:var(--gse-ui-toast-icon) !important;height:var(--gse-ui-toast-icon) !important}.gux-toast .gux-icon.gux-icon-error{color:var(--gse-ui-toast-error-iconColor)}.gux-toast .gux-icon.gux-icon-warning{color:var(--gse-ui-toast-warning-iconColor)}.gux-toast .gux-icon.gux-icon-success{color:var(--gse-ui-toast-success-iconColor)}.gux-toast .gux-icon.gux-icon-info{color:var(--gse-ui-toast-info-iconColor)}.gux-toast .gux-icon.gux-icon-action{color:var(--gse-ui-toast-action-iconColor)}.gux-toast .gux-content{display:flex;flex:1 1 auto;flex-direction:column;flex-wrap:nowrap;gap:var(--gse-ui-toast-gapButton);place-content:stretch flex-start;align-items:flex-start;align-self:auto;order:0}.gux-toast .gux-content .gux-message{display:flex;flex-direction:column;gap:var(--gse-ui-toast-gapText)}.gux-toast .gux-content .gux-message .gux-message-title{font-family:var(--gse-ui-toast-heading-fontFamily);font-size:var(--gse-ui-toast-heading-fontSize);font-weight:var(--gse-ui-toast-heading-fontWeight);line-height:var(--gse-ui-toast-heading-lineHeight)}.gux-toast .gux-content .gux-message .gux-message-body{font-family:var(--gse-ui-toast-text-fontFamily);font-size:var(--gse-ui-toast-text-fontSize);line-height:var(--gse-ui-toast-text-lineHeight)}.gux-toast .gux-content .gux-buttons-bar{display:flex;flex-direction:row;flex-wrap:nowrap;gap:var(--gse-ui-toast-buttonBar-gap);justify-content:flex-start}.gux-toast .gux-content .gux-buttons-bar ::slotted(a){font-family:var(--gse-ui-link-inLine-medium-underlinedText-fontFamily);font-size:var(--gse-ui-link-inLine-medium-underlinedText-fontSize);font-weight:var(--gse-ui-link-inLine-medium-underlinedText-fontWeight);line-height:var(--gse-ui-link-inLine-medium-underlinedText-lineHeight)}.gux-toast.gux-toast-success{background-color:var(--gse-ui-toast-success-backgroundColor)}.gux-toast.gux-toast-success .gux-message{color:var(--gse-ui-toast-success-foregroundColor)}.gux-toast.gux-toast-warning{background-color:var(--gse-ui-toast-warning-backgroundColor)}.gux-toast.gux-toast-warning .gux-message{color:var(--gse-ui-toast-warning-foregroundColor)}.gux-toast.gux-toast-error{background-color:var(--gse-ui-toast-error-backgroundColor)}.gux-toast.gux-toast-error .gux-message{color:var(--gse-ui-toast-error-foregroundColor)}.gux-toast.gux-toast-info{background-color:var(--gse-ui-toast-info-backgroundColor)}.gux-toast.gux-toast-info .gux-message{color:var(--gse-ui-toast-info-foregroundColor)}.gux-toast.gux-toast-action{background-color:var(--gse-ui-toast-action-backgroundColor)}.gux-toast.gux-toast-action .gux-message{color:var(--gse-ui-toast-action-foregroundColor)}";export{n as gux_toast}
@@ -1 +1 @@
1
- import{r as t,c as a,h as e,g as i}from"./p-2e827df1.js";import{b as n}from"./p-0367930a.js";import{t as o}from"./p-20fbe34f.js";import{b as s}from"./p-cf0e7d3b.js";import"./p-4202e9f2.js";class r{static displayAllPageButtons(t,a,e){switch(e){case"advanced":return function(t,a){if(a<=7)return[...Array(a).keys()].map((a=>{const e=a+1;return{pageNumber:e,display:String(e),current:e===t}}));if(t<=3)return[...[...Array(5).keys()].map((a=>{const e=a+1;return{pageNumber:e,display:String(e),current:e===t}})),{pageNumber:6,display:"...",current:!1},{pageNumber:a,display:String(a),current:!1}];if(t>a-3){const e=[...Array(5).keys()].map((e=>{const i=e+a-4;return{pageNumber:i,display:String(i),current:i===t}}));return[{pageNumber:1,display:"1",current:!1},{pageNumber:a-6,display:"...",current:!1},...e]}const e=[...Array(3).keys()].map((a=>{const e=a+t-1;return{pageNumber:e,display:String(e),current:e===t}}));return[{pageNumber:1,display:"1",current:!1},{pageNumber:t-3,display:"...",current:!1},...e,{pageNumber:t+3,display:"...",current:!1},{pageNumber:a,display:String(a),current:!1}]}(t,a);case"simple":return function(t,a){return a<=3?[...Array(a).keys()].map((a=>{const e=a+1;return{pageNumber:e,display:String(e),current:e===t}})):a>=4?[...[...Array(1).keys()].map((e=>{const i=e+t;return{pageNumber:i,display:String(i),current:i!==a}})),{pageNumber:t,display:"...",current:!1},{pageNumber:a,display:String(a),current:a==t}]:void 0}(t,a)}}}const g=class{constructor(e){t(this,e),this.internalcurrentpagechange=a(this,"internalcurrentpagechange",3),this.currentPage=void 0,this.totalPages=void 0,this.layout="advanced"}goToPageHandler(t){this.currentPage=t.detail,this.handlePageChange(this.currentPage),s((()=>{this.currentElement.focus()}))}get onFirstPage(){return this.currentPage<=1}get onLastPage(){return this.currentPage>=this.totalPages}handleClickFirst(){this.internalcurrentpagechange.emit(1)}handleClickPrevious(){this.internalcurrentpagechange.emit(this.currentPage-1)}handleClickNext(){this.internalcurrentpagechange.emit(this.currentPage+1)}handleClickLast(){this.internalcurrentpagechange.emit(this.totalPages)}handlePageChange(t){this.internalcurrentpagechange.emit(t)}getPageListEnteries(t,a,i){return r.displayAllPageButtons(t,a,i).reduce(((t,a)=>t.concat(a.current?e("button",{ref:t=>this.currentElement=t,class:"gux-pagination-buttons-list-current","aria-label":this.i18n("pageSelected",{pageSelected:a.pageNumber})},a.display):"..."==a.display?e("gux-pagination-ellipsis-button",{totalPages:this.totalPages}):e("button",{class:"gux-pagination-buttons-list-target",onClick:()=>this.handlePageChange(a.pageNumber),"aria-label":this.i18n("pageNumber",{pageNumber:a.pageNumber})},a.display))),[])}getPageNavigation(){return e("div",{class:"gux-pagination-buttons-list-container"},this.getPageListEnteries(this.currentPage,this.totalPages,this.layout))}async componentWillLoad(){this.i18n=await n(this.root,o)}render(){return e("div",{key:"d4594d1c2e584baf9974daf3d39291edd3749aef",class:`gux-pagination-buttons-container gux-${this.layout}`},e("div",{key:"064e1e7d8f7d004784c6bac3a07a70b61651da61",class:"gux-pagination-buttons-group"},e("gux-button-slot",{key:"ce6b24d73d5cd944140d92f73aa83cbfc962d25f",accent:"ghost"},e("button",{key:"a3339b92f2929f107005e6d1f1b482033cb23682",title:this.i18n("firstPage"),disabled:this.onFirstPage,onClick:this.handleClickFirst.bind(this)},e("gux-icon",{key:"0f76c160716be44ad3f1589396b9a0f0e9fcd900",decorative:!0,"icon-name":"fa/chevrons-left-regular"}))),e("gux-button-slot",{key:"bc20fa6610e2d4a0280eb3db974addb853889159",accent:"ghost"},e("button",{key:"ad037e8b2e006ed8f777b4a3c58e42d8a445f323",title:this.i18n("previousPage"),disabled:this.onFirstPage,onClick:this.handleClickPrevious.bind(this)},e("gux-icon",{key:"bcf36dc8271cbe9a5a7b3f92db7ad1cbd5390145",decorative:!0,"icon-name":"custom/chevron-left-small-regular"})))),this.getPageNavigation(),e("div",{key:"9023a7b60da313aa3a6907e1597833dee55d2b02",class:"gux-pagination-buttons-group"},e("gux-button-slot",{key:"8f3db6714f558f13adc27af77a8f6f8466c6ba1c",accent:"ghost"},e("button",{key:"0cc4ec6d03f3a2abf347bb0f26f72cfcc099b890",title:this.i18n("nextPage"),disabled:this.onLastPage,onClick:this.handleClickNext.bind(this)},e("gux-icon",{key:"e77f5188351363b18d02f0ea194bae3ec963e512",decorative:!0,"icon-name":"custom/chevron-right-small-regular"}))),e("gux-button-slot",{key:"1c9b5d73f376782215f004a9aff0eb9a74129fda",accent:"ghost"},e("button",{key:"e90e81a3892d30aa2d70a23710b11dac2a61f619",title:this.i18n("lastPage"),disabled:this.onLastPage,onClick:this.handleClickLast.bind(this)},e("gux-icon",{key:"1d0baa7087344f98ea4aad68cd10b538478e1e7b",decorative:!0,"icon-name":"fa/chevrons-right-regular"})))))}get root(){return i(this)}};g.style="gux-pagination-buttons .gux-pagination-buttons-container{display:flex;flex-direction:row;flex-wrap:nowrap;gap:var(--gse-ui-dataTableItems-tablePagination-recordsetControls-gap);place-content:stretch flex-end;align-items:center;margin-left:var(--gse-ui-dataTableItems-tablePagination-recordsetControls-gap)}gux-pagination-buttons .gux-pagination-buttons-container>div{flex:0 1 auto;align-self:auto;order:0}gux-pagination-buttons .gux-pagination-buttons-container .gux-pagination-buttons-group{display:flex;flex-direction:row;gap:var(--gse-ui-dataTableItems-tablePagination-recordsetControls-gap);white-space:nowrap}gux-pagination-buttons .gux-pagination-buttons-container .gux-pagination-buttons-list-container{display:flex;flex-direction:row;flex-shrink:0;flex-wrap:nowrap;gap:var(--gse-ui-dataTableItems-tablePagination-recordsetControls-gap);place-content:stretch center;align-items:center}gux-pagination-buttons .gux-pagination-buttons-container .gux-pagination-buttons-list-container .gux-pagination-buttons-list-current,gux-pagination-buttons .gux-pagination-buttons-container .gux-pagination-buttons-list-container .gux-pagination-buttons-list-target{min-width:28px;min-height:24px;padding-right:var(--gse-ui-dataTableItems-tablePagination-padding);padding-left:var(--gse-ui-dataTableItems-tablePagination-padding);margin:0;font-family:var(--gse-ui-dataTableItems-tablePagination-defaultText-fontFamily);font-size:var(--gse-ui-dataTableItems-tablePagination-defaultText-fontSize);font-weight:var(--gse-ui-dataTableItems-tablePagination-currentResultText-fontWeight);line-height:var(--gse-ui-dataTableItems-tablePagination-defaultText-lineHeight);color:var(--gse-ui-dataTableItems-tablePagination-foregroundColor);background:inherit;border:none}gux-pagination-buttons .gux-pagination-buttons-container .gux-pagination-buttons-list-container .gux-pagination-buttons-list-current:focus-visible,gux-pagination-buttons .gux-pagination-buttons-container .gux-pagination-buttons-list-container .gux-pagination-buttons-list-target:focus-visible{border-radius:calc(var(--gse-semantic-focusRing-cornerRadius) - var(--gse-semantic-focusRing-offset));outline:var(--gse-semantic-focusRing-width) solid var(--gse-semantic-color-focus);outline-offset:var(--gse-semantic-focusRing-offset)}gux-pagination-buttons .gux-pagination-buttons-container .gux-pagination-buttons-list-container .gux-pagination-buttons-list-current{background-color:var(--gse-ui-button-ghost-active-backgroundColor);border-radius:var(--gse-ui-button-borderRadius)}gux-pagination-buttons .gux-pagination-buttons-container .gux-pagination-buttons-list-container .gux-pagination-buttons-list-target{color:var(--gse-ui-button-ghost-default-foregroundColor);cursor:pointer}gux-pagination-buttons .gux-pagination-buttons-container .gux-pagination-buttons-list-container .gux-pagination-buttons-list-target:hover{color:var(--gse-ui-button-ghost-hover-foregroundColor);background-color:var(--gse-ui-button-ghost-hover-backgroundColor);border-radius:var(--gse-ui-button-borderRadius)}";const u={itemCountDisplay:"{firstItem, number} - {lastItem, number}",totalItems:" of {totalItems, number}"},l=class{constructor(a){t(this,a),this.totalItems=0,this.currentPage=0,this.itemsPerPage=25}get firstItem(){return this.totalItems<1?0:(this.currentPage-1)*this.itemsPerPage+1}get lastItem(){return this.totalItems<1?0:Math.min(this.currentPage*this.itemsPerPage,this.totalItems)}async componentWillLoad(){this.i18n=await n(this.root,u)}getPaginationItemCountsRange(){if(this.totalItems)return e("span",null,this.i18n("totalItems",{totalItems:this.totalItems}))}render(){return e("div",{key:"ba46918ac86906781491a097996b88d9b67564a9",class:"gux-pagination-item-counts-container"},e("span",{key:"15f50119c6db5b35e4b9669dbf130847a6d8eba4",class:"gux-pagination-item-counts-range"},this.i18n("itemCountDisplay",{firstItem:this.firstItem,lastItem:this.lastItem})),this.getPaginationItemCountsRange())}get root(){return i(this)}};l.style="gux-pagination-item-counts .gux-pagination-item-counts-container{display:flex;flex-direction:row;gap:var(--gse-ui-dataTableItems-tablePagination-countDisplay-gap);font-family:var(--gse-ui-dataTableItems-tablePagination-defaultText-fontFamily);font-size:var(--gse-ui-dataTableItems-tablePagination-defaultText-fontSize);font-weight:var(--gse-ui-dataTableItems-tablePagination-currentResultText-fontWeight);line-height:var(--gse-ui-dataTableItems-tablePagination-defaultText-lineHeight);color:var(--gse-ui-dataTableItems-tablePagination-foregroundColor);white-space:nowrap}";export{g as gux_pagination_buttons,l as gux_pagination_item_counts}
1
+ import{r as t,c as a,h as e,g as i}from"./p-2e827df1.js";import{b as n}from"./p-0367930a.js";import{t as o}from"./p-20fbe34f.js";import{b as s}from"./p-cf0e7d3b.js";import"./p-4202e9f2.js";class r{static displayAllPageButtons(t,a,e){switch(e){case"advanced":return function(t,a){if(a<=7)return[...Array(a).keys()].map((a=>{const e=a+1;return{pageNumber:e,display:String(e),current:e===t}}));if(t<=3)return[...[...Array(5).keys()].map((a=>{const e=a+1;return{pageNumber:e,display:String(e),current:e===t}})),{pageNumber:6,display:"...",current:!1},{pageNumber:a,display:String(a),current:!1}];if(t>a-3){const e=[...Array(5).keys()].map((e=>{const i=e+a-4;return{pageNumber:i,display:String(i),current:i===t}}));return[{pageNumber:1,display:"1",current:!1},{pageNumber:a-6,display:"...",current:!1},...e]}const e=[...Array(3).keys()].map((a=>{const e=a+t-1;return{pageNumber:e,display:String(e),current:e===t}}));return[{pageNumber:1,display:"1",current:!1},{pageNumber:t-3,display:"...",current:!1},...e,{pageNumber:t+3,display:"...",current:!1},{pageNumber:a,display:String(a),current:!1}]}(t,a);case"simple":return function(t,a){return a<=3?[...Array(a).keys()].map((a=>{const e=a+1;return{pageNumber:e,display:String(e),current:e===t}})):a>=4?[...[...Array(1).keys()].map((e=>{const i=e+t;return{pageNumber:i,display:String(i),current:i!==a}})),{pageNumber:t,display:"...",current:!1},{pageNumber:a,display:String(a),current:a==t}]:void 0}(t,a)}}}const g=class{constructor(e){t(this,e),this.internalcurrentpagechange=a(this,"internalcurrentpagechange",3),this.currentPage=void 0,this.totalPages=void 0,this.layout="advanced"}goToPageHandler(t){this.currentPage=t.detail,this.handlePageChange(this.currentPage),s((()=>{this.currentElement.focus()}))}get onFirstPage(){return this.currentPage<=1}get onLastPage(){return this.currentPage>=this.totalPages}handleClickFirst(){this.internalcurrentpagechange.emit(1)}handleClickPrevious(){this.internalcurrentpagechange.emit(this.currentPage-1)}handleClickNext(){this.internalcurrentpagechange.emit(this.currentPage+1)}handleClickLast(){this.internalcurrentpagechange.emit(this.totalPages)}handlePageChange(t){this.internalcurrentpagechange.emit(t)}getPageListEnteries(t,a,i){return r.displayAllPageButtons(t,a,i).reduce(((t,a)=>t.concat(a.current?e("button",{ref:t=>this.currentElement=t,class:"gux-pagination-buttons-list-current","aria-label":this.i18n("pageSelected",{pageSelected:a.pageNumber})},a.display):"..."==a.display?e("gux-pagination-ellipsis-button",{totalPages:this.totalPages}):e("button",{class:"gux-pagination-buttons-list-target",onClick:()=>this.handlePageChange(a.pageNumber),"aria-label":this.i18n("pageNumber",{pageNumber:a.pageNumber})},a.display))),[])}getPageNavigation(){return e("div",{class:"gux-pagination-buttons-list-container"},this.getPageListEnteries(this.currentPage,this.totalPages,this.layout))}async componentWillLoad(){this.i18n=await n(this.root,o)}render(){return e("div",{key:"45100f3375b4d3bc6248bdaf4f3a5f19d0343b0b",class:`gux-pagination-buttons-container gux-${this.layout}`},e("div",{key:"7c2b52ba5c9e43de2213df8183a5197751249d4b",class:"gux-pagination-buttons-group"},e("gux-button-slot",{key:"c34328f06f22e700fa26bf8fc90219f7faf5e66f",accent:"ghost"},e("button",{key:"a0798d70f1098c19255b44df29085f2f34006d36",title:this.i18n("firstPage"),disabled:this.onFirstPage,onClick:this.handleClickFirst.bind(this)},e("gux-icon",{key:"7fdae1bc2e4b72dc60d9576b2d2e0100a58eb71d",decorative:!0,"icon-name":"fa/chevrons-left-regular"}))),e("gux-button-slot",{key:"a13cee840effc2d86d163cd190018dd345030beb",accent:"ghost"},e("button",{key:"d385a2de26d53786cd40a49c69c669373149b4d3",title:this.i18n("previousPage"),disabled:this.onFirstPage,onClick:this.handleClickPrevious.bind(this)},e("gux-icon",{key:"8288c2727740e55f0bc3b851702bec93ec14a551",decorative:!0,"icon-name":"custom/chevron-left-small-regular"})))),this.getPageNavigation(),e("div",{key:"8a4e7f7d0e904187bd1a619a2321bda0189fba7a",class:"gux-pagination-buttons-group"},e("gux-button-slot",{key:"972f2ba87d9bb2c60d5dfc31631f4fa7614f2b97",accent:"ghost"},e("button",{key:"5aa6a7752e359565996f162abf6eda03c0199c47",title:this.i18n("nextPage"),disabled:this.onLastPage,onClick:this.handleClickNext.bind(this)},e("gux-icon",{key:"70e3b754d3fa5e9c7602f73f8a106d9771eaeb25",decorative:!0,"icon-name":"custom/chevron-right-small-regular"}))),e("gux-button-slot",{key:"41356030d74951070258b0a807e29d4595968fcd",accent:"ghost"},e("button",{key:"c938e80a109e5c924a568dc2858951561f6bf49e",title:this.i18n("lastPage"),disabled:this.onLastPage,onClick:this.handleClickLast.bind(this)},e("gux-icon",{key:"eb002910cc9ee53bf0c699ae23e97defa17e3227",decorative:!0,"icon-name":"fa/chevrons-right-regular"})))))}get root(){return i(this)}};g.style="gux-pagination-buttons .gux-pagination-buttons-container{display:flex;flex-direction:row;flex-wrap:nowrap;gap:var(--gse-ui-dataTableItems-tablePagination-recordsetControls-gap);place-content:stretch flex-end;align-items:center;margin-left:var(--gse-ui-dataTableItems-tablePagination-recordsetControls-gap)}gux-pagination-buttons .gux-pagination-buttons-container>div{flex:0 1 auto;align-self:auto;order:0}gux-pagination-buttons .gux-pagination-buttons-container .gux-pagination-buttons-group{display:flex;flex-direction:row;gap:var(--gse-ui-dataTableItems-tablePagination-recordsetControls-gap);white-space:nowrap}gux-pagination-buttons .gux-pagination-buttons-container .gux-pagination-buttons-list-container{display:flex;flex-direction:row;flex-shrink:0;flex-wrap:nowrap;gap:var(--gse-ui-dataTableItems-tablePagination-recordsetControls-gap);place-content:stretch center;align-items:center}gux-pagination-buttons .gux-pagination-buttons-container .gux-pagination-buttons-list-container .gux-pagination-buttons-list-current,gux-pagination-buttons .gux-pagination-buttons-container .gux-pagination-buttons-list-container .gux-pagination-buttons-list-target{min-width:28px;min-height:24px;padding-right:var(--gse-ui-dataTableItems-tablePagination-padding);padding-left:var(--gse-ui-dataTableItems-tablePagination-padding);margin:0;font-family:var(--gse-ui-dataTableItems-tablePagination-defaultText-fontFamily);font-size:var(--gse-ui-dataTableItems-tablePagination-defaultText-fontSize);font-weight:var(--gse-ui-dataTableItems-tablePagination-currentResultText-fontWeight);line-height:var(--gse-ui-dataTableItems-tablePagination-defaultText-lineHeight);color:var(--gse-ui-dataTableItems-tablePagination-foregroundColor);background:inherit;border:none}gux-pagination-buttons .gux-pagination-buttons-container .gux-pagination-buttons-list-container .gux-pagination-buttons-list-current:focus-visible,gux-pagination-buttons .gux-pagination-buttons-container .gux-pagination-buttons-list-container .gux-pagination-buttons-list-target:focus-visible{border-radius:calc(var(--gse-semantic-focusRing-cornerRadius) - var(--gse-semantic-focusRing-offset));outline:var(--gse-semantic-focusRing-width) solid var(--gse-semantic-color-focus);outline-offset:var(--gse-semantic-focusRing-offset)}gux-pagination-buttons .gux-pagination-buttons-container .gux-pagination-buttons-list-container .gux-pagination-buttons-list-current{background-color:var(--gse-ui-button-ghost-active-backgroundColor);border-radius:var(--gse-ui-button-borderRadius)}gux-pagination-buttons .gux-pagination-buttons-container .gux-pagination-buttons-list-container .gux-pagination-buttons-list-target{color:var(--gse-ui-button-ghost-default-foregroundColor);cursor:pointer}gux-pagination-buttons .gux-pagination-buttons-container .gux-pagination-buttons-list-container .gux-pagination-buttons-list-target:hover{color:var(--gse-ui-button-ghost-hover-foregroundColor);background-color:var(--gse-ui-button-ghost-hover-backgroundColor);border-radius:var(--gse-ui-button-borderRadius)}";const u={itemCountDisplay:"{firstItem, number} - {lastItem, number}",totalItems:" of {totalItems, number}"},c=class{constructor(a){t(this,a),this.totalItems=0,this.currentPage=0,this.itemsPerPage=25}get firstItem(){return this.totalItems<1?0:(this.currentPage-1)*this.itemsPerPage+1}get lastItem(){return this.totalItems<1?0:Math.min(this.currentPage*this.itemsPerPage,this.totalItems)}async componentWillLoad(){this.i18n=await n(this.root,u)}getPaginationItemCountsRange(){if(this.totalItems)return e("span",null,this.i18n("totalItems",{totalItems:this.totalItems}))}render(){return e("div",{key:"a10e5fd868ba68c62113ff1c724321517cbca501",class:"gux-pagination-item-counts-container"},e("span",{key:"fd717e99897bf74f48fea9e7ef715c59ac13f4ae",class:"gux-pagination-item-counts-range"},this.i18n("itemCountDisplay",{firstItem:this.firstItem,lastItem:this.lastItem})),this.getPaginationItemCountsRange())}get root(){return i(this)}};c.style="gux-pagination-item-counts .gux-pagination-item-counts-container{display:flex;flex-direction:row;gap:var(--gse-ui-dataTableItems-tablePagination-countDisplay-gap);font-family:var(--gse-ui-dataTableItems-tablePagination-defaultText-fontFamily);font-size:var(--gse-ui-dataTableItems-tablePagination-defaultText-fontSize);font-weight:var(--gse-ui-dataTableItems-tablePagination-currentResultText-fontWeight);line-height:var(--gse-ui-dataTableItems-tablePagination-defaultText-lineHeight);color:var(--gse-ui-dataTableItems-tablePagination-foregroundColor);white-space:nowrap}";export{g as gux_pagination_buttons,c as gux_pagination_item_counts}