genesys-spark-components 4.0.0-beta.24 → 4.0.0-beta.26

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 (372) hide show
  1. package/dist/cjs/genesys-webcomponents.cjs.js +1 -1
  2. package/dist/cjs/get-valid-timezone-39ba3e64.js +520 -0
  3. package/dist/cjs/gux-accordion.cjs.entry.js +1 -1
  4. package/dist/cjs/gux-action-button.cjs.entry.js +1 -1
  5. package/dist/cjs/gux-action-toast-legacy.cjs.entry.js +1 -1
  6. package/dist/cjs/gux-advanced-dropdown.cjs.entry.js +1 -1
  7. package/dist/cjs/gux-announce-beta.cjs.entry.js +1 -1
  8. package/dist/cjs/gux-badge.cjs.entry.js +1 -1
  9. package/dist/cjs/gux-blank-state.cjs.entry.js +24 -0
  10. package/dist/cjs/gux-breadcrumbs.cjs.entry.js +1 -1
  11. package/dist/cjs/gux-button-multi.cjs.entry.js +1 -1
  12. package/dist/cjs/gux-button-slot.cjs.entry.js +1 -1
  13. package/dist/cjs/gux-button.cjs.entry.js +1 -1
  14. package/dist/cjs/gux-calendar.cjs.entry.js +1 -1
  15. package/dist/cjs/gux-card.cjs.entry.js +1 -1
  16. package/dist/cjs/gux-column-manager-item.cjs.entry.js +2 -2
  17. package/dist/cjs/{gux-column-manager-beta.cjs.entry.js → gux-column-manager.cjs.entry.js} +4 -4
  18. package/dist/cjs/gux-content-search.cjs.entry.js +1 -1
  19. package/dist/cjs/{gux-context-menu-beta.cjs.entry.js → gux-context-menu.cjs.entry.js} +3 -3
  20. package/dist/cjs/gux-copy-to-clipboard.cjs.entry.js +1 -1
  21. package/dist/cjs/gux-date-beta.cjs.entry.js +4 -4
  22. package/dist/cjs/gux-date-time-beta.cjs.entry.js +4 -4
  23. package/dist/cjs/gux-datepicker.cjs.entry.js +1 -1
  24. package/dist/cjs/gux-disclosure-button-legacy.cjs.entry.js +1 -1
  25. package/dist/cjs/gux-dismiss-button.cjs.entry.js +1 -1
  26. package/dist/cjs/gux-dropdown-multi-beta.cjs.entry.js +1 -1
  27. package/dist/cjs/gux-dropdown_3.cjs.entry.js +11 -6
  28. package/dist/cjs/gux-flyout-menu-beta.cjs.entry.js +1 -1
  29. package/dist/cjs/gux-form-field-checkbox.cjs.entry.js +1 -1
  30. package/dist/cjs/gux-form-field-color.cjs.entry.js +1 -1
  31. package/dist/cjs/gux-form-field-dropdown.cjs.entry.js +1 -1
  32. package/dist/cjs/gux-form-field-input-clear-button.cjs.entry.js +1 -1
  33. package/dist/cjs/gux-form-field-number_3.cjs.entry.js +1 -1
  34. package/dist/cjs/gux-form-field-phone.cjs.entry.js +1 -1
  35. package/dist/cjs/gux-form-field-radio.cjs.entry.js +1 -1
  36. package/dist/cjs/gux-form-field-range.cjs.entry.js +1 -1
  37. package/dist/cjs/gux-form-field-search.cjs.entry.js +1 -1
  38. package/dist/cjs/gux-form-field-select.cjs.entry.js +1 -1
  39. package/dist/cjs/gux-form-field-text-like.cjs.entry.js +2 -2
  40. package/dist/cjs/gux-form-field-textarea.cjs.entry.js +2 -2
  41. package/dist/cjs/gux-form-field-time-picker.cjs.entry.js +1 -1
  42. package/dist/cjs/gux-icon.cjs.entry.js +1 -1
  43. package/dist/cjs/gux-inline-alert.cjs.entry.js +1 -1
  44. package/dist/cjs/gux-list.cjs.entry.js +1 -1
  45. package/dist/cjs/gux-listbox-multi.cjs.entry.js +1 -1
  46. package/dist/cjs/gux-loading-message.cjs.entry.js +68 -0
  47. package/dist/cjs/gux-modal.cjs.entry.js +1 -1
  48. package/dist/cjs/gux-month-picker-beta.cjs.entry.js +1 -1
  49. package/dist/cjs/gux-notification-toast-legacy.cjs.entry.js +1 -1
  50. package/dist/cjs/gux-option-icon.cjs.entry.js +1 -1
  51. package/dist/cjs/gux-page-loading-spinner.cjs.entry.js +1 -1
  52. package/dist/cjs/gux-pagination-beta.cjs.entry.js +1 -1
  53. package/dist/cjs/{gux-pagination-buttons_3.cjs.entry.js → gux-pagination-buttons-legacy_3.cjs.entry.js} +14 -14
  54. package/dist/cjs/gux-pagination-cursor.cjs.entry.js +1 -1
  55. package/dist/cjs/{gux-pagination.cjs.entry.js → gux-pagination-legacy.cjs.entry.js} +8 -8
  56. package/dist/cjs/gux-phone-input-beta.cjs.entry.js +1 -1
  57. package/dist/cjs/gux-popover-list.cjs.entry.js +1 -1
  58. package/dist/cjs/gux-radial-loading.cjs.entry.js +1 -1
  59. package/dist/cjs/gux-radial-progress.cjs.entry.js +1 -1
  60. package/dist/cjs/gux-rating.cjs.entry.js +1 -1
  61. package/dist/cjs/gux-region-icon.cjs.entry.js +1 -1
  62. package/dist/cjs/gux-screen-reader-beta.cjs.entry.js +1 -1
  63. package/dist/cjs/gux-simple-toast-legacy.cjs.entry.js +1 -1
  64. package/dist/cjs/{gux-skip-navigation-list-beta.cjs.entry.js → gux-skip-navigation-list.cjs.entry.js} +2 -2
  65. package/dist/cjs/gux-sort-control.cjs.entry.js +1 -1
  66. package/dist/cjs/gux-switch.cjs.entry.js +1 -1
  67. package/dist/cjs/gux-table-toolbar-action.cjs.entry.js +1 -1
  68. package/dist/cjs/gux-table-toolbar-custom-action.cjs.entry.js +2 -2
  69. package/dist/cjs/gux-table-toolbar-menu-button.cjs.entry.js +1 -1
  70. package/dist/cjs/gux-table-toolbar.cjs.entry.js +1 -1
  71. package/dist/cjs/gux-table.cjs.entry.js +1 -1
  72. package/dist/cjs/gux-tabs-advanced.cjs.entry.js +1 -1
  73. package/dist/cjs/gux-tabs.cjs.entry.js +1 -1
  74. package/dist/cjs/gux-tag-beta.cjs.entry.js +1 -1
  75. package/dist/cjs/gux-text-highlight.cjs.entry.js +1 -1
  76. package/dist/cjs/gux-time-beta.cjs.entry.js +4 -4
  77. package/dist/cjs/gux-time-picker.cjs.entry.js +2 -2
  78. package/dist/cjs/gux-time-zone-picker-beta.cjs.entry.js +1 -1
  79. package/dist/cjs/gux-toast.cjs.entry.js +1 -1
  80. package/dist/cjs/gux-toggle.cjs.entry.js +1 -1
  81. package/dist/cjs/gux-tooltip.cjs.entry.js +1 -1
  82. package/dist/cjs/index-0d0fdb85.js +18 -18
  83. package/dist/cjs/loader.cjs.js +1 -1
  84. package/dist/cjs/{usage-350f4210.js → usage-fcdc9156.js} +1 -1
  85. package/dist/collection/collection-manifest.json +11 -11
  86. package/dist/collection/components/beta/gux-announce/gux-announce.css +1 -1
  87. package/dist/collection/components/beta/gux-announce/gux-announce.js +1 -1
  88. package/dist/collection/components/beta/gux-date/gux-date.js +3 -2
  89. package/dist/collection/components/beta/gux-date-time/gux-date-time.js +3 -2
  90. package/dist/collection/components/beta/gux-pagination-beta/gux-pagination-beta.js +2 -2
  91. package/dist/collection/components/beta/gux-screen-reader/gux-screen-reader.css +1 -1
  92. package/dist/collection/components/beta/gux-screen-reader/gux-screen-reader.js +1 -1
  93. package/dist/collection/components/beta/gux-time/gux-time.js +3 -2
  94. package/dist/collection/components/legacy/gux-pagination-legacy/gux-pagination-buttons/gux-pagination-buttons-legacy.css +95 -0
  95. package/dist/collection/components/{stable/gux-pagination → legacy/gux-pagination-legacy}/gux-pagination-buttons/gux-pagination-buttons.js +5 -5
  96. package/dist/collection/components/legacy/gux-pagination-legacy/gux-pagination-item-counts/gux-pagination-item-counts-legacy.css +11 -0
  97. package/dist/collection/components/{stable/gux-pagination → legacy/gux-pagination-legacy}/gux-pagination-item-counts/gux-pagination-item-counts.js +4 -4
  98. package/dist/collection/components/legacy/gux-pagination-legacy/gux-pagination-items-per-page/gux-pagination-items-per-page-legacy.css +26 -0
  99. package/dist/collection/components/{stable/gux-pagination → legacy/gux-pagination-legacy}/gux-pagination-items-per-page/gux-pagination-items-per-page.js +5 -5
  100. package/dist/collection/components/{stable/gux-pagination/gux-pagination.css → legacy/gux-pagination-legacy/gux-pagination-legacy.css} +7 -5
  101. package/dist/collection/components/{stable/gux-pagination → legacy/gux-pagination-legacy}/gux-pagination.js +7 -7
  102. package/dist/collection/components/stable/gux-blank-state/gux-blank-state.css +98 -0
  103. package/dist/collection/components/stable/gux-blank-state/gux-blank-state.js +29 -0
  104. package/dist/collection/components/stable/gux-column-manager/gux-column-manager-item/gux-column-manager-item.css +230 -0
  105. package/dist/collection/components/{beta → stable}/gux-column-manager/gux-column-manager-item/gux-column-manager-item.js +1 -1
  106. package/dist/collection/components/{beta → stable}/gux-column-manager/gux-column-manager.css +6 -5
  107. package/dist/collection/components/{beta → stable}/gux-column-manager/gux-column-manager.js +2 -2
  108. package/dist/collection/components/{beta → stable}/gux-context-menu/gux-context-menu.css +4 -2
  109. package/dist/collection/components/{beta → stable}/gux-context-menu/gux-context-menu.js +2 -2
  110. package/dist/collection/components/stable/gux-form-field/components/gux-form-field-range/gux-form-field-range.css +1 -1
  111. package/dist/collection/components/stable/gux-form-field/components/gux-form-field-text-like/gux-form-field-text-like.css +0 -154
  112. package/dist/collection/components/stable/gux-form-field/components/gux-form-field-textarea/gux-form-field-textarea.css +0 -154
  113. package/dist/collection/components/stable/gux-listbox/gux-listbox.css +22 -10
  114. package/dist/collection/components/stable/gux-listbox/gux-listbox.js +7 -4
  115. package/dist/collection/components/stable/gux-listbox/options/gux-option/gux-option.css +40 -19
  116. package/dist/collection/components/stable/gux-listbox/options/gux-option/gux-option.js +3 -2
  117. package/dist/collection/components/stable/gux-listbox/options/gux-option-icon/gux-option-icon.css +44 -25
  118. package/dist/collection/components/stable/gux-listbox/options/gux-option-icon/gux-option-icon.js +3 -2
  119. package/dist/collection/components/stable/gux-loading-message/gux-loading-message.css +207 -0
  120. package/dist/collection/components/{beta → stable}/gux-loading-message/gux-loading-message.js +2 -2
  121. package/dist/collection/components/stable/gux-pagination-cursor/gux-pagination-cursor.js +1 -1
  122. package/dist/collection/components/{beta → stable}/gux-skip-navigation-list/gux-skip-navigation-list.css +3 -1
  123. package/dist/collection/components/{beta → stable}/gux-skip-navigation-list/gux-skip-navigation-list.js +2 -2
  124. package/dist/collection/components/stable/gux-table-toolbar/gux-table-toolbar-custom-action/gux-table-toolbar-custom-action.css +0 -154
  125. package/dist/collection/components/stable/gux-time-picker/gux-time-picker.css +47 -60
  126. package/dist/collection/components/stable/gux-time-picker/gux-time-picker.js +1 -1
  127. package/dist/collection/i18n/time-zone/identifiers.js +108 -0
  128. package/dist/collection/utils/date/get-valid-timezone.js +7 -0
  129. package/dist/component-specs.json +158 -50
  130. package/dist/deploy-info.json +3 -3
  131. package/dist/esm/genesys-webcomponents.js +1 -1
  132. package/dist/esm/get-valid-timezone-4b39f118.js +517 -0
  133. package/dist/esm/gux-accordion.entry.js +1 -1
  134. package/dist/esm/gux-action-button.entry.js +1 -1
  135. package/dist/esm/gux-action-toast-legacy.entry.js +1 -1
  136. package/dist/esm/gux-advanced-dropdown.entry.js +1 -1
  137. package/dist/esm/gux-announce-beta.entry.js +1 -1
  138. package/dist/esm/gux-badge.entry.js +1 -1
  139. package/dist/esm/gux-blank-state.entry.js +20 -0
  140. package/dist/esm/gux-breadcrumbs.entry.js +1 -1
  141. package/dist/esm/gux-button-multi.entry.js +1 -1
  142. package/dist/esm/gux-button-slot.entry.js +1 -1
  143. package/dist/esm/gux-button.entry.js +1 -1
  144. package/dist/esm/gux-calendar.entry.js +1 -1
  145. package/dist/esm/gux-card.entry.js +1 -1
  146. package/dist/esm/gux-column-manager-item.entry.js +2 -2
  147. package/dist/esm/{gux-column-manager-beta.entry.js → gux-column-manager.entry.js} +4 -4
  148. package/dist/esm/gux-content-search.entry.js +1 -1
  149. package/dist/esm/{gux-context-menu-beta.entry.js → gux-context-menu.entry.js} +3 -3
  150. package/dist/esm/gux-copy-to-clipboard.entry.js +1 -1
  151. package/dist/esm/gux-date-beta.entry.js +3 -3
  152. package/dist/esm/gux-date-time-beta.entry.js +3 -3
  153. package/dist/esm/gux-datepicker.entry.js +1 -1
  154. package/dist/esm/gux-disclosure-button-legacy.entry.js +1 -1
  155. package/dist/esm/gux-dismiss-button.entry.js +1 -1
  156. package/dist/esm/gux-dropdown-multi-beta.entry.js +1 -1
  157. package/dist/esm/gux-dropdown_3.entry.js +11 -6
  158. package/dist/esm/gux-flyout-menu-beta.entry.js +1 -1
  159. package/dist/esm/gux-form-field-checkbox.entry.js +1 -1
  160. package/dist/esm/gux-form-field-color.entry.js +1 -1
  161. package/dist/esm/gux-form-field-dropdown.entry.js +1 -1
  162. package/dist/esm/gux-form-field-input-clear-button.entry.js +1 -1
  163. package/dist/esm/gux-form-field-number_3.entry.js +1 -1
  164. package/dist/esm/gux-form-field-phone.entry.js +1 -1
  165. package/dist/esm/gux-form-field-radio.entry.js +1 -1
  166. package/dist/esm/gux-form-field-range.entry.js +1 -1
  167. package/dist/esm/gux-form-field-search.entry.js +1 -1
  168. package/dist/esm/gux-form-field-select.entry.js +1 -1
  169. package/dist/esm/gux-form-field-text-like.entry.js +2 -2
  170. package/dist/esm/gux-form-field-textarea.entry.js +2 -2
  171. package/dist/esm/gux-form-field-time-picker.entry.js +1 -1
  172. package/dist/esm/gux-icon.entry.js +1 -1
  173. package/dist/esm/gux-inline-alert.entry.js +1 -1
  174. package/dist/esm/gux-list.entry.js +1 -1
  175. package/dist/esm/gux-listbox-multi.entry.js +1 -1
  176. package/dist/esm/gux-loading-message.entry.js +64 -0
  177. package/dist/esm/gux-modal.entry.js +1 -1
  178. package/dist/esm/gux-month-picker-beta.entry.js +1 -1
  179. package/dist/esm/gux-notification-toast-legacy.entry.js +1 -1
  180. package/dist/esm/gux-option-icon.entry.js +1 -1
  181. package/dist/esm/gux-page-loading-spinner.entry.js +1 -1
  182. package/dist/esm/gux-pagination-beta.entry.js +1 -1
  183. package/dist/esm/{gux-pagination-buttons_3.entry.js → gux-pagination-buttons-legacy_3.entry.js} +12 -12
  184. package/dist/esm/gux-pagination-cursor.entry.js +1 -1
  185. package/dist/esm/gux-pagination-legacy.entry.js +72 -0
  186. package/dist/esm/gux-phone-input-beta.entry.js +1 -1
  187. package/dist/esm/gux-popover-list.entry.js +1 -1
  188. package/dist/esm/gux-radial-loading.entry.js +1 -1
  189. package/dist/esm/gux-radial-progress.entry.js +1 -1
  190. package/dist/esm/gux-rating.entry.js +1 -1
  191. package/dist/esm/gux-region-icon.entry.js +1 -1
  192. package/dist/esm/gux-screen-reader-beta.entry.js +1 -1
  193. package/dist/esm/gux-simple-toast-legacy.entry.js +1 -1
  194. package/dist/esm/{gux-skip-navigation-list-beta.entry.js → gux-skip-navigation-list.entry.js} +2 -2
  195. package/dist/esm/gux-sort-control.entry.js +1 -1
  196. package/dist/esm/gux-switch.entry.js +1 -1
  197. package/dist/esm/gux-table-toolbar-action.entry.js +1 -1
  198. package/dist/esm/gux-table-toolbar-custom-action.entry.js +2 -2
  199. package/dist/esm/gux-table-toolbar-menu-button.entry.js +1 -1
  200. package/dist/esm/gux-table-toolbar.entry.js +1 -1
  201. package/dist/esm/gux-table.entry.js +1 -1
  202. package/dist/esm/gux-tabs-advanced.entry.js +1 -1
  203. package/dist/esm/gux-tabs.entry.js +1 -1
  204. package/dist/esm/gux-tag-beta.entry.js +1 -1
  205. package/dist/esm/gux-text-highlight.entry.js +1 -1
  206. package/dist/esm/gux-time-beta.entry.js +3 -3
  207. package/dist/esm/gux-time-picker.entry.js +2 -2
  208. package/dist/esm/gux-time-zone-picker-beta.entry.js +1 -1
  209. package/dist/esm/gux-toast.entry.js +1 -1
  210. package/dist/esm/gux-toggle.entry.js +1 -1
  211. package/dist/esm/gux-tooltip.entry.js +1 -1
  212. package/dist/esm/index-0b66fe2c.js +18 -18
  213. package/dist/esm/loader.js +1 -1
  214. package/dist/esm/{usage-144bdf70.js → usage-f03a9e96.js} +1 -1
  215. package/dist/genesys-webcomponents/genesys-webcomponents.css +1 -1
  216. package/dist/genesys-webcomponents/genesys-webcomponents.esm.js +1 -1
  217. package/dist/genesys-webcomponents/i18n/genesys-webcomponents.i18n.en.json +1 -1
  218. package/dist/genesys-webcomponents/{p-bd12e46f.entry.js → p-0212b664.entry.js} +1 -1
  219. package/dist/genesys-webcomponents/p-0978a177.entry.js +1 -0
  220. package/dist/genesys-webcomponents/{p-49219c0d.entry.js → p-0af113c1.entry.js} +1 -1
  221. package/dist/genesys-webcomponents/{p-e8d9d006.entry.js → p-0b01b76e.entry.js} +1 -1
  222. package/dist/genesys-webcomponents/{p-b73e2256.entry.js → p-0b14794a.entry.js} +1 -1
  223. package/dist/genesys-webcomponents/{p-f4dd0fd2.entry.js → p-119bf1e5.entry.js} +1 -1
  224. package/dist/genesys-webcomponents/{p-cc043796.entry.js → p-15182c48.entry.js} +1 -1
  225. package/dist/genesys-webcomponents/{p-e55b3774.entry.js → p-1a7b3efe.entry.js} +1 -1
  226. package/dist/genesys-webcomponents/{p-42151d14.entry.js → p-1b9ae90d.entry.js} +1 -1
  227. package/dist/genesys-webcomponents/{p-eef539ab.entry.js → p-1f39a936.entry.js} +1 -1
  228. package/dist/genesys-webcomponents/{p-f7a14a12.entry.js → p-24a36458.entry.js} +1 -1
  229. package/dist/genesys-webcomponents/{p-2bc99e5e.entry.js → p-30598362.entry.js} +1 -1
  230. package/dist/genesys-webcomponents/{p-8ccc45cf.entry.js → p-35784c37.entry.js} +1 -1
  231. package/dist/genesys-webcomponents/p-39170389.entry.js +1 -0
  232. package/dist/genesys-webcomponents/{p-6128be0b.entry.js → p-3ad223ac.entry.js} +1 -1
  233. package/dist/genesys-webcomponents/{p-c8dcfd36.entry.js → p-40744307.entry.js} +1 -1
  234. package/dist/genesys-webcomponents/{p-beceeda9.entry.js → p-425a79f2.entry.js} +1 -1
  235. package/dist/genesys-webcomponents/p-46980018.entry.js +1 -0
  236. package/dist/genesys-webcomponents/{p-dc0581c4.entry.js → p-46abdd72.entry.js} +1 -1
  237. package/dist/genesys-webcomponents/{p-ece938b3.entry.js → p-516497a8.entry.js} +1 -1
  238. package/dist/genesys-webcomponents/{p-df3db717.entry.js → p-532ea636.entry.js} +1 -1
  239. package/dist/genesys-webcomponents/{p-b98dcf72.entry.js → p-5623eb9b.entry.js} +1 -1
  240. package/dist/genesys-webcomponents/p-596ed860.entry.js +1 -0
  241. package/dist/genesys-webcomponents/{p-ee52283b.entry.js → p-5f0d8583.entry.js} +1 -1
  242. package/dist/genesys-webcomponents/{p-a0ec6dde.entry.js → p-6b48fbde.entry.js} +1 -1
  243. package/dist/genesys-webcomponents/p-75f9676c.entry.js +1 -0
  244. package/dist/genesys-webcomponents/{p-77dfb786.entry.js → p-7ae4a9fe.entry.js} +1 -1
  245. package/dist/genesys-webcomponents/{p-7e1e6609.entry.js → p-8056c132.entry.js} +1 -1
  246. package/dist/genesys-webcomponents/{p-ce78c6a2.entry.js → p-806357bf.entry.js} +1 -1
  247. package/dist/genesys-webcomponents/{p-7e13a157.entry.js → p-81a01440.entry.js} +1 -1
  248. package/dist/genesys-webcomponents/{p-39af23ba.entry.js → p-82aad1f7.entry.js} +1 -1
  249. package/dist/genesys-webcomponents/{p-16867376.entry.js → p-82b561eb.entry.js} +1 -1
  250. package/dist/genesys-webcomponents/p-82bab522.entry.js +1 -0
  251. package/dist/genesys-webcomponents/p-831456f4.entry.js +1 -0
  252. package/dist/genesys-webcomponents/p-844dfb88.entry.js +1 -0
  253. package/dist/genesys-webcomponents/{p-e4e980c4.entry.js → p-855c7fcc.entry.js} +1 -1
  254. package/dist/genesys-webcomponents/p-8920a5e5.js +1 -0
  255. package/dist/genesys-webcomponents/{p-d275077a.entry.js → p-8d693163.entry.js} +1 -1
  256. package/dist/genesys-webcomponents/{p-1bcb53c0.entry.js → p-8e592f22.entry.js} +1 -1
  257. package/dist/genesys-webcomponents/p-90379a2c.entry.js +1 -0
  258. package/dist/genesys-webcomponents/{p-70c20c25.entry.js → p-92095ee1.entry.js} +1 -1
  259. package/dist/genesys-webcomponents/{p-8f21ff40.entry.js → p-948ad846.entry.js} +1 -1
  260. package/dist/genesys-webcomponents/p-9be45fa0.entry.js +1 -0
  261. package/dist/genesys-webcomponents/{p-e4aa7b47.entry.js → p-9f919a75.entry.js} +1 -1
  262. package/dist/genesys-webcomponents/{p-91c445ab.entry.js → p-a0b3b9f2.entry.js} +1 -1
  263. package/dist/genesys-webcomponents/p-a3f9f44a.entry.js +1 -0
  264. package/dist/genesys-webcomponents/{p-2eb21361.entry.js → p-a5d5ba91.entry.js} +1 -1
  265. package/dist/genesys-webcomponents/{p-a4cb7a4a.entry.js → p-a7ad3633.entry.js} +1 -1
  266. package/dist/genesys-webcomponents/{p-85bc7ce7.entry.js → p-b08f2a1f.entry.js} +1 -1
  267. package/dist/genesys-webcomponents/{p-b279643a.entry.js → p-b5eb0d49.entry.js} +1 -1
  268. package/dist/genesys-webcomponents/{p-6bfa78c6.entry.js → p-b90e7457.entry.js} +1 -1
  269. package/dist/genesys-webcomponents/{p-da6575df.entry.js → p-ba247660.entry.js} +1 -1
  270. package/dist/genesys-webcomponents/{p-cdf3db02.entry.js → p-bb29dc80.entry.js} +1 -1
  271. package/dist/genesys-webcomponents/{p-a6378d29.entry.js → p-bcec2244.entry.js} +1 -1
  272. package/dist/genesys-webcomponents/{p-baffb252.entry.js → p-bfa89db2.entry.js} +1 -1
  273. package/dist/genesys-webcomponents/{p-5b57fc5a.entry.js → p-c3980b75.entry.js} +1 -1
  274. package/dist/genesys-webcomponents/p-c4bdc563.entry.js +1 -0
  275. package/dist/genesys-webcomponents/p-c6a3a814.entry.js +1 -0
  276. package/dist/genesys-webcomponents/{p-41787744.entry.js → p-c9ada3f6.entry.js} +1 -1
  277. package/dist/genesys-webcomponents/{p-e7b25ec5.entry.js → p-d0abf3d7.entry.js} +1 -1
  278. package/dist/genesys-webcomponents/{p-df279eda.entry.js → p-d107d384.entry.js} +1 -1
  279. package/dist/genesys-webcomponents/p-d2ec2410.entry.js +1 -0
  280. package/dist/genesys-webcomponents/{p-a961cc5e.entry.js → p-d68a0863.entry.js} +1 -1
  281. package/dist/genesys-webcomponents/p-d6b3146d.entry.js +1 -0
  282. package/dist/genesys-webcomponents/{p-836fbb2a.entry.js → p-da2efa1d.entry.js} +1 -1
  283. package/dist/genesys-webcomponents/{p-2abcbff8.entry.js → p-dc6723ca.entry.js} +1 -1
  284. package/dist/genesys-webcomponents/{p-9bf0a4a8.js → p-dc84cec7.js} +1 -1
  285. package/dist/genesys-webcomponents/p-de63108a.entry.js +1 -0
  286. package/dist/genesys-webcomponents/{p-d5ff613a.entry.js → p-dfc7c240.entry.js} +1 -1
  287. package/dist/genesys-webcomponents/{p-2e256680.entry.js → p-e01bffb0.entry.js} +1 -1
  288. package/dist/genesys-webcomponents/{p-cf1b7653.entry.js → p-e33c43dd.entry.js} +1 -1
  289. package/dist/genesys-webcomponents/p-e73a5b4e.entry.js +1 -0
  290. package/dist/genesys-webcomponents/{p-a7c56dad.entry.js → p-ea9d71eb.entry.js} +1 -1
  291. package/dist/genesys-webcomponents/{p-5058a2ee.entry.js → p-ec46bb6e.entry.js} +1 -1
  292. package/dist/genesys-webcomponents/{p-186085f3.entry.js → p-f06e2d5d.entry.js} +1 -1
  293. package/dist/genesys-webcomponents/{p-c858bbf5.entry.js → p-f2f53d61.entry.js} +1 -1
  294. package/dist/genesys-webcomponents/{p-8107bee0.entry.js → p-f4048683.entry.js} +1 -1
  295. package/dist/genesys-webcomponents/{p-37051105.entry.js → p-f51f3281.entry.js} +1 -1
  296. package/dist/genesys-webcomponents/{p-081aaf02.entry.js → p-fab005df.entry.js} +1 -1
  297. package/dist/genesys-webcomponents/{p-152851c5.entry.js → p-fd52eebf.entry.js} +1 -1
  298. package/dist/genesys-webcomponents/{p-3d6c91b4.entry.js → p-ffe2a7bc.entry.js} +1 -1
  299. package/dist/stencil-wrapper.js +1 -1
  300. package/dist/types/components/beta/gux-pagination-beta/gux-pagination-beta.d.ts +1 -1
  301. package/dist/types/components/{stable/gux-pagination → legacy/gux-pagination-legacy}/gux-pagination-buttons/gux-pagination-buttons.d.ts +1 -1
  302. package/dist/types/components/{stable/gux-pagination → legacy/gux-pagination-legacy}/gux-pagination-item-counts/gux-pagination-item-counts.d.ts +1 -1
  303. package/dist/types/components/{stable/gux-pagination → legacy/gux-pagination-legacy}/gux-pagination-items-per-page/gux-pagination-items-per-page.d.ts +1 -1
  304. package/dist/types/components/{stable/gux-pagination → legacy/gux-pagination-legacy}/gux-pagination.d.ts +1 -1
  305. package/dist/types/components/{beta → stable}/gux-blank-state/gux-blank-state.d.ts +0 -8
  306. package/dist/types/components/stable/gux-pagination-cursor/gux-pagination-cursor.d.ts +1 -1
  307. package/dist/types/components.d.ts +156 -156
  308. package/dist/types/i18n/time-zone/identifiers.d.ts +1 -1
  309. package/dist/types/stencil-wrapper.d.ts +1 -1
  310. package/dist/types/utils/date/get-valid-timezone.d.ts +2 -0
  311. package/package.json +1 -1
  312. package/dist/cjs/DateTimeFormatter-8d9469d0.js +0 -51
  313. package/dist/cjs/gux-blank-state-beta.cjs.entry.js +0 -68
  314. package/dist/cjs/gux-loading-message-beta.cjs.entry.js +0 -68
  315. package/dist/collection/components/beta/gux-blank-state/gux-blank-state-constants.js +0 -5
  316. package/dist/collection/components/beta/gux-blank-state/gux-blank-state.css +0 -61
  317. package/dist/collection/components/beta/gux-blank-state/gux-blank-state.js +0 -75
  318. package/dist/collection/components/beta/gux-blank-state/gux-blank-state.types.js +0 -1
  319. package/dist/collection/components/beta/gux-column-manager/gux-column-manager-item/gux-column-manager-item.css +0 -75
  320. package/dist/collection/components/beta/gux-loading-message/gux-loading-message.css +0 -55
  321. package/dist/collection/components/stable/gux-pagination/gux-pagination-buttons/gux-pagination-buttons.css +0 -80
  322. package/dist/collection/components/stable/gux-pagination/gux-pagination-item-counts/gux-pagination-item-counts.css +0 -9
  323. package/dist/collection/components/stable/gux-pagination/gux-pagination-items-per-page/gux-pagination-items-per-page.css +0 -24
  324. package/dist/esm/DateTimeFormatter-f66da75e.js +0 -49
  325. package/dist/esm/gux-blank-state-beta.entry.js +0 -64
  326. package/dist/esm/gux-loading-message-beta.entry.js +0 -64
  327. package/dist/esm/gux-pagination.entry.js +0 -72
  328. package/dist/genesys-webcomponents/p-0501a8ad.entry.js +0 -1
  329. package/dist/genesys-webcomponents/p-149233e1.entry.js +0 -1
  330. package/dist/genesys-webcomponents/p-1cd54bb6.entry.js +0 -1
  331. package/dist/genesys-webcomponents/p-2873e1ad.entry.js +0 -1
  332. package/dist/genesys-webcomponents/p-2987698a.entry.js +0 -1
  333. package/dist/genesys-webcomponents/p-2a1a57db.entry.js +0 -1
  334. package/dist/genesys-webcomponents/p-3f818cd5.entry.js +0 -1
  335. package/dist/genesys-webcomponents/p-4e40fb5f.entry.js +0 -1
  336. package/dist/genesys-webcomponents/p-5f572ff5.entry.js +0 -1
  337. package/dist/genesys-webcomponents/p-69d33177.entry.js +0 -1
  338. package/dist/genesys-webcomponents/p-93380bce.entry.js +0 -1
  339. package/dist/genesys-webcomponents/p-98b50eb3.js +0 -1
  340. package/dist/genesys-webcomponents/p-a756279a.entry.js +0 -1
  341. package/dist/genesys-webcomponents/p-b3443cf0.entry.js +0 -1
  342. package/dist/genesys-webcomponents/p-bbc47467.entry.js +0 -1
  343. package/dist/genesys-webcomponents/p-c0c7fcd1.entry.js +0 -1
  344. package/dist/genesys-webcomponents/p-c744ed0d.entry.js +0 -1
  345. package/dist/genesys-webcomponents/p-c7c4227b.entry.js +0 -1
  346. package/dist/types/components/beta/gux-blank-state/gux-blank-state-constants.d.ts +0 -5
  347. package/dist/types/components/beta/gux-blank-state/gux-blank-state.types.d.ts +0 -1
  348. /package/dist/cjs/{gux-column-manager.service-94f84964.js → gux-column-manager.service-8a71e1f3.js} +0 -0
  349. /package/dist/collection/components/{stable/gux-pagination → legacy/gux-pagination-legacy}/gux-pagination-buttons/gux-pagination-button.service.js +0 -0
  350. /package/dist/collection/components/{stable/gux-pagination → legacy/gux-pagination-legacy}/gux-pagination.types.js +0 -0
  351. /package/dist/collection/components/{beta → stable}/gux-column-manager/gux-column-manager-item/gux-column-manager-item.service.js +0 -0
  352. /package/dist/collection/components/{beta → stable}/gux-column-manager/gux-column-manager.service.js +0 -0
  353. /package/dist/collection/components/{beta → stable}/gux-column-manager/gux-column-manager.types.js +0 -0
  354. /package/dist/collection/components/{beta → stable}/gux-loading-message/gux-loading-message-constants.js +0 -0
  355. /package/dist/collection/components/{beta → stable}/gux-loading-message/gux-loading-message-size.types.js +0 -0
  356. /package/dist/collection/components/{beta → stable}/gux-skip-navigation-list/gux-skip-navigation-item/gux-skip-navigation-item.css +0 -0
  357. /package/dist/collection/components/{beta → stable}/gux-skip-navigation-list/gux-skip-navigation-item/gux-skip-navigation-item.js +0 -0
  358. /package/dist/esm/{gux-column-manager.service-07ddccf5.js → gux-column-manager.service-a9ea5c54.js} +0 -0
  359. /package/dist/genesys-webcomponents/{p-62913396.js → p-4a6ae41e.js} +0 -0
  360. /package/dist/types/components/{stable/gux-pagination → legacy/gux-pagination-legacy}/gux-pagination-buttons/gux-pagination-button.service.d.ts +0 -0
  361. /package/dist/types/components/{stable/gux-pagination → legacy/gux-pagination-legacy}/gux-pagination.types.d.ts +0 -0
  362. /package/dist/types/components/{beta → stable}/gux-column-manager/gux-column-manager-item/gux-column-manager-item.d.ts +0 -0
  363. /package/dist/types/components/{beta → stable}/gux-column-manager/gux-column-manager-item/gux-column-manager-item.service.d.ts +0 -0
  364. /package/dist/types/components/{beta → stable}/gux-column-manager/gux-column-manager.d.ts +0 -0
  365. /package/dist/types/components/{beta → stable}/gux-column-manager/gux-column-manager.service.d.ts +0 -0
  366. /package/dist/types/components/{beta → stable}/gux-column-manager/gux-column-manager.types.d.ts +0 -0
  367. /package/dist/types/components/{beta → stable}/gux-context-menu/gux-context-menu.d.ts +0 -0
  368. /package/dist/types/components/{beta → stable}/gux-loading-message/gux-loading-message-constants.d.ts +0 -0
  369. /package/dist/types/components/{beta → stable}/gux-loading-message/gux-loading-message-size.types.d.ts +0 -0
  370. /package/dist/types/components/{beta → stable}/gux-loading-message/gux-loading-message.d.ts +0 -0
  371. /package/dist/types/components/{beta → stable}/gux-skip-navigation-list/gux-skip-navigation-item/gux-skip-navigation-item.d.ts +0 -0
  372. /package/dist/types/components/{beta → stable}/gux-skip-navigation-list/gux-skip-navigation-list.d.ts +0 -0
@@ -1,49 +0,0 @@
1
- import { l as locales } from './index-694d55cf.js';
2
-
3
- /**
4
- * @class A class that implements the method needed to format dates and times depending on locales
5
- */
6
- class DateTimeFormatter {
7
- /**
8
- * @constructor
9
- * @param locale A locale string is required to initialize a DateTimeFormatter class instance
10
- */
11
- constructor(locale) {
12
- if (locales.includes(locale)) {
13
- this.locale = locale;
14
- }
15
- else {
16
- console.warn(`Locale "${locale}" is not supported. Falling back to English translation.`);
17
- this.locale = 'en';
18
- }
19
- }
20
- /**
21
- *
22
- * @param {Date} datetime A Date object that requires formatting
23
- * @param {GuxDateTimeFormat} format An allowed format string
24
- * @returns {string} Formatted date string
25
- */
26
- formatDate(datetime, format, options = {}) {
27
- return datetime.toLocaleDateString(this.locale, Object.assign({}, options, { dateStyle: format }));
28
- }
29
- /**
30
- *
31
- * @param {Date} datetime A Date object that requires formatting
32
- * @param {GuxDateTimeFormat} format An allowed format string
33
- * @returns {string} Formatted time string
34
- */
35
- formatTime(datetime, format, options = {}) {
36
- return datetime.toLocaleTimeString(this.locale, Object.assign({}, options, { timeStyle: format }));
37
- }
38
- /**
39
- *
40
- * @param {Date} datetime A Date object that requires formatting
41
- * @param {GuxDateTimeFormat} format An allowed format string
42
- * @returns {string} Formatted datetime string
43
- */
44
- formatDateTime(datetime, format, options = {}) {
45
- return datetime.toLocaleString(this.locale, Object.assign({}, options, { dateStyle: format, timeStyle: format }));
46
- }
47
- }
48
-
49
- export { DateTimeFormatter as D };
@@ -1,64 +0,0 @@
1
- import { r as registerInstance, d as readTask, h, g as getElement } from './index-0b66fe2c.js';
2
- import { t as trackComponent } from './usage-144bdf70.js';
3
- import { O as OnResize } from './on-resize-7177429a.js';
4
-
5
- /**
6
- * Below are the max-widths for the blank state component.
7
- */
8
- const SMALL_STATE = 160;
9
- const MEDIUM_STATE = 300;
10
-
11
- const guxBlankStateCss = ":host{display:flex;flex-direction:column;align-items:center;justify-content:center}.gux-container{display:flex;flex-direction:column;align-items:center;justify-content:center}.gux-container ::slotted(gux-icon){width:48px;height:48px;color:#c8cfda}.gux-container slot[name='primary-message']{color:#364154;text-align:center;font-family:Roboto, sans-serif;font-weight:400;font-weight:700;font-size:14px;line-height:20px}.gux-container slot[name='additional-guidance']{color:#364154;text-align:center;font-family:Roboto, sans-serif;font-weight:400;font-size:11px;line-height:16px}.gux-container.gux-small .gux-message-container,.gux-container.gux-medium .gux-message-container{padding:8px 0 4px}.gux-container.gux-small .gux-guidance-container,.gux-container.gux-medium .gux-guidance-container{padding-bottom:8px}.gux-container.gux-large .gux-message-container{padding:16px 0 4px}.gux-container.gux-large .gux-message-container slot[name='primary-message']{font-family:Roboto, sans-serif;font-weight:400;font-weight:300;font-size:24px;line-height:32px}.gux-container.gux-large .gux-guidance-container{padding-bottom:16px}.gux-container.gux-large .gux-guidance-container slot[name='additional-guidance']{font-family:Roboto, sans-serif;font-weight:400;font-size:14px;line-height:24px}";
12
-
13
- var __decorate = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {
14
- var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
15
- if (typeof Reflect === "object" && typeof Reflect.decorate === "function")
16
- r = Reflect.decorate(decorators, target, key, desc);
17
- else
18
- for (var i = decorators.length - 1; i >= 0; i--)
19
- if (d = decorators[i])
20
- r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
21
- return c > 3 && r && Object.defineProperty(target, key, r), r;
22
- };
23
- const GuxBlankState = class {
24
- constructor(hostRef) {
25
- registerInstance(this, hostRef);
26
- this.blankStateSize = undefined;
27
- }
28
- onResize() {
29
- this.setBlankStateSize();
30
- }
31
- componentWillLoad() {
32
- trackComponent(this.root);
33
- }
34
- componentDidLoad() {
35
- this.setBlankStateSize();
36
- }
37
- setBlankStateSize() {
38
- readTask(() => {
39
- const containerWidth = this.root.clientWidth;
40
- if (containerWidth <= SMALL_STATE) {
41
- this.blankStateSize = 'small';
42
- }
43
- else if (containerWidth <= MEDIUM_STATE) {
44
- this.blankStateSize = 'medium';
45
- }
46
- else {
47
- this.blankStateSize = 'large';
48
- }
49
- });
50
- }
51
- render() {
52
- return (h("div", { class: {
53
- 'gux-container': true,
54
- [`gux-${this.blankStateSize}`]: true
55
- } }, h("slot", { name: "image" }), h("div", { class: "gux-message-container" }, h("slot", { name: "primary-message" })), h("div", { class: "gux-guidance-container" }, h("slot", { name: "additional-guidance" })), h("gux-button-slot", { accent: "primary" }, h("slot", { name: "call-to-action" }))));
56
- }
57
- get root() { return getElement(this); }
58
- };
59
- __decorate([
60
- OnResize()
61
- ], GuxBlankState.prototype, "onResize", null);
62
- GuxBlankState.style = guxBlankStateCss;
63
-
64
- export { GuxBlankState as gux_blank_state_beta };
@@ -1,64 +0,0 @@
1
- import { r as registerInstance, d as readTask, h, g as getElement } from './index-0b66fe2c.js';
2
- import { a as afterNextRenderTimeout } from './after-next-render-ed0f7dcd.js';
3
- import { t as trackComponent } from './usage-144bdf70.js';
4
-
5
- /**
6
- * Below are the max-widths for the loading component.
7
- */
8
- const SMALL_LOADING_MESSAGE = 160;
9
- const MEDIUM_LOADING_MESSAGE = 300;
10
-
11
- const guxLoadingMessageCss = ":host{display:flex;flex-direction:column;align-items:center;justify-content:center}.gux-container{display:flex;flex-direction:column;align-items:center;justify-content:center}.gux-container slot[name='primary-message']{color:#364154;text-align:center}.gux-container slot[name='additional-guidance']{color:#596373;text-align:center}.gux-container.gux-small,.gux-container.gux-medium{padding:8px 0 4px}.gux-container.gux-small slot[name='primary-message'],.gux-container.gux-medium slot[name='primary-message']{font-family:Roboto, sans-serif;font-weight:400;font-weight:700;font-size:14px;line-height:20px}.gux-container.gux-small slot[name='additional-guidance'],.gux-container.gux-medium slot[name='additional-guidance']{font-family:Roboto, sans-serif;font-weight:400;font-size:11px;line-height:16px}.gux-container.gux-large{padding:16px 0 4px}.gux-container.gux-large slot[name='primary-message']{font-family:Roboto, sans-serif;font-weight:400;font-weight:300;font-size:24px;line-height:32px}.gux-container.gux-large slot[name='additional-guidance']{font-family:Roboto, sans-serif;font-weight:400;font-size:14px;line-height:24px}";
12
-
13
- const GuxLoadingMessage = class {
14
- constructor(hostRef) {
15
- registerInstance(this, hostRef);
16
- this.hasAdditionalGuidance = undefined;
17
- this.loadingMessageSize = undefined;
18
- }
19
- updateLoadingMessageSize() {
20
- readTask(() => {
21
- const containerWidth = this.root.clientWidth;
22
- if (containerWidth <= SMALL_LOADING_MESSAGE) {
23
- this.loadingMessageSize = 'small';
24
- }
25
- else if (containerWidth <= MEDIUM_LOADING_MESSAGE) {
26
- this.loadingMessageSize = 'medium';
27
- }
28
- else {
29
- this.loadingMessageSize = 'large';
30
- }
31
- });
32
- }
33
- componentWillLoad() {
34
- trackComponent(this.root);
35
- }
36
- componentDidLoad() {
37
- if (!this.resizeObserver && window.ResizeObserver) {
38
- this.resizeObserver = new ResizeObserver(() => {
39
- this.updateLoadingMessageSize();
40
- });
41
- }
42
- if (this.resizeObserver) {
43
- this.resizeObserver.observe(this.root);
44
- }
45
- afterNextRenderTimeout(() => {
46
- this.updateLoadingMessageSize();
47
- }, 500);
48
- }
49
- disconnectedCallback() {
50
- if (this.resizeObserver) {
51
- this.resizeObserver.unobserve(this.root);
52
- }
53
- }
54
- render() {
55
- return (h("div", { class: {
56
- 'gux-container': true,
57
- [`gux-${this.loadingMessageSize}`]: true
58
- }, role: "alert", "aria-live": "assertive" }, h("slot", { name: "progress" }), h("slot", { name: "primary-message" }), h("slot", { name: "additional-guidance" })));
59
- }
60
- get root() { return getElement(this); }
61
- };
62
- GuxLoadingMessage.style = guxLoadingMessageCss;
63
-
64
- export { GuxLoadingMessage as gux_loading_message_beta };
@@ -1,72 +0,0 @@
1
- import { r as registerInstance, c as createEvent, h, g as getElement } from './index-0b66fe2c.js';
2
- import { t as trackComponent } from './usage-144bdf70.js';
3
-
4
- const guxPaginationCss = ":host{display:block;border-top:1px solid #e2e6ee}.gux-pagination-container{display:flex;flex-direction:row;flex-wrap:nowrap;align-content:stretch;align-items:center;justify-content:space-between;height:32px;margin-top:12px}.gux-pagination-container .gux-pagination-info{display:flex;flex:1 1 auto;flex-direction:row;flex-wrap:nowrap;align-content:stretch;align-items:center;align-self:auto;justify-content:flex-start;order:0}.gux-pagination-container .gux-pagination-info>*{flex:0 1 auto;align-self:auto;order:0}.gux-pagination-container .gux-pagination-change{flex:1 1 auto;align-self:auto;order:0;margin-left:16px}.gux-pagination-container .gux-pagination-change:first-child{margin-left:0}";
5
-
6
- const GuxPagination = class {
7
- constructor(hostRef) {
8
- registerInstance(this, hostRef);
9
- this.guxpaginationchange = createEvent(this, "guxpaginationchange", 7);
10
- this.currentPage = 1;
11
- this.totalItems = 0;
12
- this.itemsPerPage = 25;
13
- this.layout = 'full';
14
- this.totalPages = undefined;
15
- }
16
- setPage(page) {
17
- if (page <= 0) {
18
- this.setPage(1);
19
- return;
20
- }
21
- const totalPages = this.calculateTotalPages();
22
- if (page > totalPages) {
23
- this.setPage(totalPages);
24
- return;
25
- }
26
- this.currentPage = page;
27
- this.guxpaginationchange.emit({
28
- currentPage: this.currentPage,
29
- itemsPerPage: this.itemsPerPage
30
- });
31
- }
32
- calculateTotalPages() {
33
- return Math.max(1, Math.ceil(this.totalItems / this.itemsPerPage));
34
- }
35
- calculateCurrentPage() {
36
- const minCurrentPage = this.totalPages > 0 ? 1 : 0;
37
- return Math.max(minCurrentPage, Math.min(this.currentPage, this.totalPages));
38
- }
39
- handleInternalitemsperpagechange(event) {
40
- this.itemsPerPage = event.detail;
41
- this.setPage(1);
42
- }
43
- handleInternalcurrentpagechange(event) {
44
- this.setPage(event.detail);
45
- }
46
- getPaginationInfoElement(layout) {
47
- if (layout === 'expanded') {
48
- return null;
49
- }
50
- const content = [
51
- h("gux-pagination-item-counts", { "total-items": this.totalItems, "current-page": this.currentPage, "items-per-page": this.itemsPerPage })
52
- ];
53
- if (layout === 'full') {
54
- content.push(h("gux-pagination-items-per-page", { "items-per-page": this.itemsPerPage, onInternalitemsperpagechange: this.handleInternalitemsperpagechange.bind(this) }));
55
- }
56
- return (h("div", { class: "gux-pagination-info" }, content));
57
- }
58
- componentWillLoad() {
59
- trackComponent(this.root, { variant: this.layout });
60
- }
61
- componentWillRender() {
62
- this.totalPages = this.calculateTotalPages();
63
- this.currentPage = this.calculateCurrentPage();
64
- }
65
- render() {
66
- return (h("div", { class: "gux-pagination-container" }, this.getPaginationInfoElement(this.layout), h("div", { class: "gux-pagination-change" }, h("gux-pagination-buttons", { layout: this.layout, "current-page": this.currentPage, "total-pages": this.totalPages, onInternalcurrentpagechange: this.handleInternalcurrentpagechange.bind(this) }))));
67
- }
68
- get root() { return getElement(this); }
69
- };
70
- GuxPagination.style = guxPaginationCss;
71
-
72
- export { GuxPagination as gux_pagination };
@@ -1 +0,0 @@
1
- import{r as i,h as t,H as e,g as o}from"./p-7d26b2e1.js";import{r as s}from"./p-cbcbd1bb.js";const n=class{constructor(t){i(this,t),this.value=void 0,this.iconName=void 0,this.iconSrText=void 0,this.iconColor=void 0,this.active=!1,this.selected=!1,this.disabled=!1,this.filtered=!1,this.hovered=!1}onmouseenter(){this.hovered=!0}onMouseleave(){this.hovered=!1}handleActive(i){var t,e;i?null===(t=this.truncateElement)||void 0===t||t.setShowTooltip():null===(e=this.truncateElement)||void 0===e||e.setHideTooltip()}componentWillLoad(){this.root.id=this.root.id||s("gux-option-icon")}getAriaSelected(){return!this.disabled&&(this.selected?"true":"false")}render(){let i=null;return null===this.iconColor||this.hovered||this.active||(i={color:this.iconColor}),t(e,{role:"option",class:{"gux-active":this.active,"gux-disabled":this.disabled,"gux-filtered":this.filtered,"gux-hovered":this.hovered,"gux-selected":this.selected},"aria-selected":this.getAriaSelected(),"aria-disabled":this.disabled.toString()},t("gux-icon",{decorative:null==this.iconSrText,"screenreader-text":this.iconSrText,"icon-name":this.iconName,style:i}),t("gux-truncate",{ref:i=>this.truncateElement=i},t("slot",null)))}get root(){return o(this)}static get watchers(){return{active:["handleActive"]}}};n.style="gux-option-icon{box-sizing:border-box;display:flex;height:32px;padding:6px 8px;color:#2e394c;word-wrap:break-word;cursor:pointer;align-items:flex-start}gux-option-icon.gux-disabled{pointer-events:none;cursor:default;opacity:0.5}gux-option-icon.gux-selected{background:#deeaff}gux-option-icon.gux-active,gux-option-icon.gux-hovered:not(:disabled){color:#fdfdfd;background:#2a60c8}gux-option-icon.gux-filtered{display:none}gux-option-icon .gux-slot-container{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}gux-option-icon gux-icon{flex-shrink:0;width:16px;height:16px;margin-block-start:calc((20px - 16px) / 2);margin-inline-end:8px}";export{n as gux_option_icon}
@@ -1 +0,0 @@
1
- import{r as o,f as t,h as i,g as e}from"./p-7d26b2e1.js";import{c as r,o as f}from"./p-3f5341ea.js";import{O as n}from"./p-f34ce7dc.js";import{o as l}from"./p-3701eff0.js";import{p as s}from"./p-c10e41a9.js";import{h as a}from"./p-08bc2e6b.js";import{h as u,c,d,G as g,a as p,g as h,v as x,b}from"./p-b3c9fd06.js";import{G as m,a as v}from"./p-a733f4ca.js";import{t as w}from"./p-9bf0a4a8.js";import"./p-cbcbd1bb.js";import"./p-d0805f56.js";import"./p-d176c2ae.js";const y=class{constructor(t){o(this,t),this.clearable=void 0,this.labelPosition=void 0,this.hasPrefix=void 0,this.hasSuffix=void 0,this.computedLabelPosition="above",this.disabled=void 0,this.required=void 0,this.hasContent=!1,this.hasError=!1,this.hasHelp=!1}onMutation(){this.hasError=a(this.root,"error"),this.hasHelp=a(this.root,"help")}async guxForceUpdate(){this.hasContent=u(this.input),this.hasError=a(this.root,"error"),this.hasHelp=a(this.root,"help"),t(this.root)}componentWillLoad(){this.setInput(),this.setLabel(),this.hasError=a(this.root,"error"),this.hasHelp=a(this.root,"help"),this.hasPrefix=Boolean(this.root.querySelector('[slot="prefix"]')),this.hasSuffix=Boolean(this.root.querySelector('[slot="suffix"]')),this.hasPrefix&&c(this.root,this.input,"prefix"),this.hasSuffix&&c(this.root,this.input,"suffix"),w(this.root,{variant:this.variant})}disconnectedCallback(){this.disabledObserver&&this.disabledObserver.disconnect(),this.requiredObserver&&this.requiredObserver.disconnect()}render(){return i(v,{labelPosition:this.computedLabelPosition},i(m,{position:this.computedLabelPosition,required:this.required},i("slot",{name:"label",onSlotchange:()=>this.setLabel()})),i("div",{class:"gux-input-and-error-container"},i("div",{class:{"gux-input":!0,"gux-input-error":this.hasError}},i("div",{class:{"gux-input-container":!0,"gux-disabled":this.disabled,"gux-has-prefix":this.hasPrefix,"gux-has-suffix":this.hasSuffix}},i("slot",{name:"prefix"}),i("slot",{name:"input"}),i("slot",{name:"suffix"}),this.clearable&&this.hasContent&&!this.disabled&&i("gux-form-field-input-clear-button",{onClick:()=>d(this.input)}))),i(g,{show:this.hasError},i("slot",{name:"error"})),i(p,{show:!this.hasError&&this.hasHelp},i("slot",{name:"help"}))))}get variant(){const o=this.labelPosition?this.labelPosition.toLowerCase():"none";return`${this.input.getAttribute("type")}-${this.clearable?"clearable":"unclearable"}-${o}`}setInput(){this.input=h(this.root,'input[type="email"][slot="input"], input[type="number"][slot="input"], input[type="password"][slot="input"], input[type="text"][slot="input"]'),this.hasContent=u(this.input),s(this.input),this.input.addEventListener("input",(()=>{this.hasContent=u(this.input)})),this.disabled=r(this.input),this.required=this.input.required,this.disabledObserver=f(this.input,(o=>{this.disabled=o})),this.requiredObserver=l(this.input,(o=>{this.required=o})),x(this.root,this.input)}setLabel(){this.label=this.root.querySelector('label[slot="label"]'),this.computedLabelPosition=b(this.label,this.labelPosition)}get root(){return e(this)}};(function(o,t,i,e){var r,f=arguments.length,n=f<3?t:null===e?e=Object.getOwnPropertyDescriptor(t,i):e;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)n=Reflect.decorate(o,t,i,e);else for(var l=o.length-1;l>=0;l--)(r=o[l])&&(n=(f<3?r(n):f>3?r(t,i,n):r(t,i))||n);f>3&&n&&Object.defineProperty(t,i,n)})([n({childList:!0,subtree:!0})],y.prototype,"onMutation",null),y.style='.gux-focus-ring-focused:focus{outline:3px solid #aac9ff;outline-offset:1px;box-shadow:0 0 0 1px #fdfdfd}.gux-focus-ring-focused-within:focus-within{outline:3px solid #aac9ff;outline-offset:1px;box-shadow:0 0 0 1px #fdfdfd}.gux-focus-ring-focused-visible:focus-visible{outline:3px solid #aac9ff;outline-offset:1px;box-shadow:0 0 0 1px #fdfdfd}.gux-focus-ring-small-focused:focus{outline:2px solid #aac9ff;outline-offset:0}.gux-focus-ring-small-focused-within:focus-within{outline:2px solid #aac9ff;outline-offset:0}.gux-focus-ring-small-focused-visible:focus-visible{outline:2px solid #aac9ff;outline-offset:0}.gux-focus-ring-focused:focus{outline:3px solid #aac9ff;outline-offset:1px;box-shadow:0 0 0 1px #fdfdfd}.gux-focus-ring-focused-within:focus-within{outline:3px solid #aac9ff;outline-offset:1px;box-shadow:0 0 0 1px #fdfdfd}.gux-focus-ring-focused-visible:focus-visible{outline:3px solid #aac9ff;outline-offset:1px;box-shadow:0 0 0 1px #fdfdfd}.gux-focus-ring-small-focused:focus{outline:2px solid #aac9ff;outline-offset:0}.gux-focus-ring-small-focused-within:focus-within{outline:2px solid #aac9ff;outline-offset:0}.gux-focus-ring-small-focused-visible:focus-visible{outline:2px solid #aac9ff;outline-offset:0}@font-face{font-family:Roboto;font-style:normal;font-weight:300;src:url("./fonts/roboto-v20-latin-300.eot");src:local("Roboto Light"), local("Roboto-Light"), url("./fonts/roboto-v20-latin-300.eot?#iefix") format("embedded-opentype"), url("./fonts/roboto-v20-latin-300.woff2") format("woff2"), url("./fonts/roboto-v20-latin-300.woff") format("woff"), url("./fonts/roboto-v20-latin-300.ttf") format("truetype"), url("./fonts/roboto-v20-latin-300.svg#Roboto") format("svg");}@font-face{font-family:Roboto;font-style:normal;font-weight:400;src:url("./fonts/roboto-v20-latin-regular.eot");src:local("Roboto"), local("Roboto-Regular"), url("./fonts/roboto-v20-latin-regular.eot?#iefix") format("embedded-opentype"), url("./fonts/roboto-v20-latin-regular.woff2") format("woff2"), url("./fonts/roboto-v20-latin-regular.woff") format("woff"), url("./fonts/roboto-v20-latin-regular.ttf") format("truetype"), url("./fonts/roboto-v20-latin-regular.svg#Roboto") format("svg");}@font-face{font-family:Roboto;font-style:italic;font-weight:400;src:url("./fonts/roboto-v20-latin-italic.eot");src:local("Roboto Italic"), local("Roboto-Italic"), url("./fonts/roboto-v20-latin-italic.eot?#iefix") format("embedded-opentype"), url("./fonts/roboto-v20-latin-italic.woff2") format("woff2"), url("./fonts/roboto-v20-latin-italic.woff") format("woff"), url("./fonts/roboto-v20-latin-italic.ttf") format("truetype"), url("./fonts/roboto-v20-latin-italic.svg#Roboto") format("svg");}@font-face{font-family:Roboto;font-style:normal;font-weight:700;src:url("./fonts/roboto-v20-latin-700.eot");src:local("Roboto Bold"), local("Roboto-Bold"), url("./fonts/roboto-v20-latin-700.eot?#iefix") format("embedded-opentype"), url("./fonts/roboto-v20-latin-700.woff2") format("woff2"), url("./fonts/roboto-v20-latin-700.woff") format("woff"), url("./fonts/roboto-v20-latin-700.ttf") format("truetype"), url("./fonts/roboto-v20-latin-700.svg#Roboto") format("svg");}body{font-family:Roboto, sans-serif;font-weight:400;font-size:12px;line-height:20px}h1{font-family:Roboto, sans-serif;font-weight:400;font-weight:300;font-size:24px;line-height:32px}h2{font-family:Roboto, sans-serif;font-weight:400;font-weight:300;font-size:18px;line-height:24px}h3{font-family:Roboto, sans-serif;font-weight:400;font-weight:700;font-size:14px;line-height:20px}h4,h5,h6{font-family:Roboto, sans-serif;font-weight:400;font-size:14px;line-height:20px}.gux-icon-anchor gux-icon{padding-right:2px}a{color:#2a60c8;text-decoration:underline;border-radius:2px}a:hover{color:#2754ac}a:active{color:#23478f}a:focus-visible{outline:3px solid #aac9ff;outline-offset:1px;box-shadow:0 0 0 1px #fdfdfd}table a{color:#2a60c8;text-decoration:underline;border-radius:2px;text-decoration:none}table a:hover{color:#2754ac}table a:active{color:#23478f}table a:focus-visible{outline:3px solid #aac9ff;outline-offset:1px;box-shadow:0 0 0 1px #fdfdfd}.gux-focus-ring-focused:focus{outline:3px solid #aac9ff;outline-offset:1px;box-shadow:0 0 0 1px #fdfdfd}.gux-focus-ring-focused-within:focus-within{outline:3px solid #aac9ff;outline-offset:1px;box-shadow:0 0 0 1px #fdfdfd}.gux-focus-ring-focused-visible:focus-visible{outline:3px solid #aac9ff;outline-offset:1px;box-shadow:0 0 0 1px #fdfdfd}.gux-focus-ring-small-focused:focus{outline:2px solid #aac9ff;outline-offset:0}.gux-focus-ring-small-focused-within:focus-within{outline:2px solid #aac9ff;outline-offset:0}.gux-focus-ring-small-focused-visible:focus-visible{outline:2px solid #aac9ff;outline-offset:0}@font-face{font-family:Roboto;font-style:normal;font-weight:300;src:url("./fonts/roboto-v20-latin-300.eot");src:local("Roboto Light"), local("Roboto-Light"), url("./fonts/roboto-v20-latin-300.eot?#iefix") format("embedded-opentype"), url("./fonts/roboto-v20-latin-300.woff2") format("woff2"), url("./fonts/roboto-v20-latin-300.woff") format("woff"), url("./fonts/roboto-v20-latin-300.ttf") format("truetype"), url("./fonts/roboto-v20-latin-300.svg#Roboto") format("svg");}@font-face{font-family:Roboto;font-style:normal;font-weight:400;src:url("./fonts/roboto-v20-latin-regular.eot");src:local("Roboto"), local("Roboto-Regular"), url("./fonts/roboto-v20-latin-regular.eot?#iefix") format("embedded-opentype"), url("./fonts/roboto-v20-latin-regular.woff2") format("woff2"), url("./fonts/roboto-v20-latin-regular.woff") format("woff"), url("./fonts/roboto-v20-latin-regular.ttf") format("truetype"), url("./fonts/roboto-v20-latin-regular.svg#Roboto") format("svg");}@font-face{font-family:Roboto;font-style:italic;font-weight:400;src:url("./fonts/roboto-v20-latin-italic.eot");src:local("Roboto Italic"), local("Roboto-Italic"), url("./fonts/roboto-v20-latin-italic.eot?#iefix") format("embedded-opentype"), url("./fonts/roboto-v20-latin-italic.woff2") format("woff2"), url("./fonts/roboto-v20-latin-italic.woff") format("woff"), url("./fonts/roboto-v20-latin-italic.ttf") format("truetype"), url("./fonts/roboto-v20-latin-italic.svg#Roboto") format("svg");}@font-face{font-family:Roboto;font-style:normal;font-weight:700;src:url("./fonts/roboto-v20-latin-700.eot");src:local("Roboto Bold"), local("Roboto-Bold"), url("./fonts/roboto-v20-latin-700.eot?#iefix") format("embedded-opentype"), url("./fonts/roboto-v20-latin-700.woff2") format("woff2"), url("./fonts/roboto-v20-latin-700.woff") format("woff"), url("./fonts/roboto-v20-latin-700.ttf") format("truetype"), url("./fonts/roboto-v20-latin-700.svg#Roboto") format("svg");}body{font-family:Roboto, sans-serif;font-weight:400;font-size:12px;line-height:20px}h1{font-family:Roboto, sans-serif;font-weight:400;font-weight:300;font-size:24px;line-height:32px}h2{font-family:Roboto, sans-serif;font-weight:400;font-weight:300;font-size:18px;line-height:24px}h3{font-family:Roboto, sans-serif;font-weight:400;font-weight:700;font-size:14px;line-height:20px}h4,h5,h6{font-family:Roboto, sans-serif;font-weight:400;font-size:14px;line-height:20px}.gux-icon-anchor gux-icon{padding-right:2px}a{color:#2a60c8;text-decoration:underline;border-radius:2px}a:hover{color:#2754ac}a:active{color:#23478f}a:focus-visible{outline:3px solid #aac9ff;outline-offset:1px;box-shadow:0 0 0 1px #fdfdfd}table a{color:#2a60c8;text-decoration:underline;border-radius:2px;text-decoration:none}table a:hover{color:#2754ac}table a:active{color:#23478f}table a:focus-visible{outline:3px solid #aac9ff;outline-offset:1px;box-shadow:0 0 0 1px #fdfdfd}.gux-form-field-container.gux-beside{display:flex;flex-direction:row}.gux-form-field-error{display:none;flex-direction:row;flex-wrap:nowrap;align-content:stretch;align-items:flex-start;justify-content:flex-start;padding:var(--gse-ui-formControl-helper-errorPadding);font-family:var(--gse-ui-formControl-helper-helperText-fontFamily);font-size:var(--gse-ui-formControl-helper-helperText-fontSize);line-height:var(--gse-ui-formControl-helper-helperText-lineHeight);color:var(--gse-ui-formControl-helper-errorColor)}.gux-form-field-error.gux-show{display:flex}.gux-form-field-error gux-icon{flex:0 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-label.gux-required::after{color:var(--gse-ui-formControl-label-indicator-requiredColor);content:" *"}.gux-form-field-label.gux-beside{position:relative;top:8px;width:fit-content;min-width:45px;margin-right:var(--gse-ui-formControl-label-gap)}.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;align-content:stretch;align-items:flex-start;justify-content:flex-start;padding:var(--gse-ui-formControl-helper-padding);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);line-height:var(--gse-ui-formControl-label-text-lineHeight);font-size:var(--gse-ui-formControl-label-text-fontSize);color:var(--gse-ui-formControl-label-labelColor);font-weight:var(--gse-ui-formControl-label-text-fontWeight)}::slotted(input){flex:1 1 auto;align-self:auto;order:0;width:100%;overflow:hidden;font-size:var(--gse-ui-formControl-input-contentText-fontSize);text-overflow:ellipsis;background-color:var(--gse-ui-formControl-input-backgroundColor);border:none;outline:none}::slotted(input)::placeholder{color:var(--gse-ui-formControl-input-placeholderColor);opacity:1}slot[name=prefix],slot[name=suffix]{font-family:var(--gse-ui-formControl-input-prefixSufix-text-fontFamily);font-size:var(--gse-ui-formControl-input-prefixSufix-text-fontSize);color:var(--gse-ui-formControl-input-prefixSufix-defaultColor);line-height:var(--gse-ui-formControl-input-prefixSufix-text-lineHeight);white-space:nowrap;text-decoration:none;text-align:center}.gux-input-and-error-container{flex-grow:1}.gux-input-and-error-container .gux-input .gux-input-container{box-sizing:border-box;display:flex;flex-direction:row;flex-wrap:nowrap;align-content:stretch;align-items:center;justify-content:center;gap:var(--gse-ui-formControl-input-gap);width:100%;height:var(--gse-ui-formControl-input-textfield-height);color:var(--gse-ui-formControl-input-populatedColor);padding:var(--gse-ui-formControl-input-padding);font-family:var(--gse-ui-formControl-input-contentText-fontFamily);line-height:var(--gse-ui-formControl-input-contentText-lineHeight);font-size:var(--gse-ui-formControl-input-contentText-fontSize);font-weight:var(--gse-ui-formControl-input-contentText-fontWeight);background-color:var(--gse-ui-formControl-input-backgroundColor);background-image:none;border:var(--gse-ui-formControl-input-default-border-width) var(--gse-ui-formControl-input-default-border-style) var(--gse-ui-formControl-input-default-border-color);border-radius:var(--gse-ui-formControl-input-borderRadius)}.gux-input-and-error-container .gux-input .gux-input-container.gux-has-suffix:not(.gux-input-and-error-container .gux-input .gux-input-container.gux-has-prefix) ::slotted(input){text-align:right}.gux-input-and-error-container .gux-input .gux-input-container.gux-disabled{opacity:var(--gse-ui-formControl-input-disabled-opacity)}.gux-input-and-error-container .gux-input .gux-input-container:focus-within{outline:var(--gse-ui-formControl-input-focus-border-width) var(--gse-ui-formControl-input-focus-border-style) var(--gse-ui-formControl-input-focus-border-color);border:var(--gse-ui-formControl-input-active-border-width) var(--gse-ui-formControl-input-active-border-style) var(--gse-ui-formControl-input-active-border-color);border-radius:var(--gse-ui-formControl-focusRing-borderRadius)}.gux-input-and-error-container .gux-input .gux-input-container:hover:not(.gux-disabled){border:var(--gse-ui-formControl-input-hover-border-width) var(--gse-ui-formControl-input-hover-border-style) var(--gse-ui-formControl-input-hover-border-color)}.gux-input-and-error-container .gux-input.gux-input-error .gux-input-container{border-color:var(--gse-ui-formControl-input-error-border-color)}';export{y as gux_form_field_text_like}
@@ -1 +0,0 @@
1
- import{r as t,c as i,h as n,g as a}from"./p-7d26b2e1.js";import{t as e}from"./p-9bf0a4a8.js";const s=class{constructor(n){t(this,n),this.guxpaginationchange=i(this,"guxpaginationchange",7),this.currentPage=1,this.totalItems=0,this.itemsPerPage=25,this.layout="full",this.totalPages=void 0}setPage(t){if(t<=0)return void this.setPage(1);const i=this.calculateTotalPages();t>i?this.setPage(i):(this.currentPage=t,this.guxpaginationchange.emit({currentPage:this.currentPage,itemsPerPage:this.itemsPerPage}))}calculateTotalPages(){return Math.max(1,Math.ceil(this.totalItems/this.itemsPerPage))}calculateCurrentPage(){return Math.max(this.totalPages>0?1:0,Math.min(this.currentPage,this.totalPages))}handleInternalitemsperpagechange(t){this.itemsPerPage=t.detail,this.setPage(1)}handleInternalcurrentpagechange(t){this.setPage(t.detail)}getPaginationInfoElement(t){if("expanded"===t)return null;const i=[n("gux-pagination-item-counts",{"total-items":this.totalItems,"current-page":this.currentPage,"items-per-page":this.itemsPerPage})];return"full"===t&&i.push(n("gux-pagination-items-per-page",{"items-per-page":this.itemsPerPage,onInternalitemsperpagechange:this.handleInternalitemsperpagechange.bind(this)})),n("div",{class:"gux-pagination-info"},i)}componentWillLoad(){e(this.root,{variant:this.layout})}componentWillRender(){this.totalPages=this.calculateTotalPages(),this.currentPage=this.calculateCurrentPage()}render(){return n("div",{class:"gux-pagination-container"},this.getPaginationInfoElement(this.layout),n("div",{class:"gux-pagination-change"},n("gux-pagination-buttons",{layout:this.layout,"current-page":this.currentPage,"total-pages":this.totalPages,onInternalcurrentpagechange:this.handleInternalcurrentpagechange.bind(this)})))}get root(){return a(this)}};s.style=":host{display:block;border-top:1px solid #e2e6ee}.gux-pagination-container{display:flex;flex-direction:row;flex-wrap:nowrap;align-content:stretch;align-items:center;justify-content:space-between;height:32px;margin-top:12px}.gux-pagination-container .gux-pagination-info{display:flex;flex:1 1 auto;flex-direction:row;flex-wrap:nowrap;align-content:stretch;align-items:center;align-self:auto;justify-content:flex-start;order:0}.gux-pagination-container .gux-pagination-info>*{flex:0 1 auto;align-self:auto;order:0}.gux-pagination-container .gux-pagination-change{flex:1 1 auto;align-self:auto;order:0;margin-left:16px}.gux-pagination-container .gux-pagination-change:first-child{margin-left:0}";export{s as gux_pagination}
@@ -1 +0,0 @@
1
- import{r as t,c as n,h as i,g as a}from"./p-7d26b2e1.js";import{b as e}from"./p-deee079e.js";import"./p-8a133b9b.js";const o={page:"Page",totalPages:" of {totalPages, number}",first:"First",previous:"Previous",next:"Next",last:"Last",pageInputLabel:"Page {currentPage, number} of {totalPages, number}"};class s{static getPageList(t,n){if(n<=10)return[...Array(n).keys()].map((n=>{const i=n+1;return{pageNumber:i,display:String(i),current:i===t}}));if(t<=5)return[...[...Array(6).keys()].map((n=>{const i=n+1;return{pageNumber:i,display:String(i),current:i===t}})),{pageNumber:7,display:"...",current:!1},{pageNumber:n,display:String(n),current:!1}];if(t>n-5){const i=[...Array(6).keys()].map((i=>{const a=i+n-5;return{pageNumber:a,display:String(a),current:a===t}}));return[{pageNumber:1,display:"1",current:!1},{pageNumber:n-6,display:"...",current:!1},...i]}const i=[...Array(5).keys()].map((n=>{const i=n+t-2;return{pageNumber:i,display:String(i),current:i===t}}));return[{pageNumber:1,display:"1",current:!1},{pageNumber:t-3,display:"...",current:!1},...i,{pageNumber:t+3,display:"...",current:!1},{pageNumber:n,display:String(n),current:!1}]}}const r=class{constructor(i){t(this,i),this.internalcurrentpagechange=n(this,"internalcurrentpagechange",3),this.currentPage=void 0,this.totalPages=void 0,this.layout="full"}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)}handleClickPage(t){this.internalcurrentpagechange.emit(t)}setPageFromInput(t){const n=parseInt(t,10);!n||isNaN(n)?this.textFieldRef.value=String(this.currentPage):this.internalcurrentpagechange.emit(n)}getPageListEnteries(t,n){return s.getPageList(t,n).reduce(((t,n)=>t.concat(i("button",n.current?{class:"gux-pagination-buttons-list-button gux-current"}:{class:"gux-pagination-buttons-list-button gux-target",onClick:()=>this.handleClickPage(n.pageNumber)},n.display))),[])}getSmallPagePicker(){return i("div",{class:"gux-pagination-buttons-spacer"})}getExpandedPagePicker(){return i("div",{class:"gux-pagination-buttons-list-container"},this.getPageListEnteries(this.currentPage,this.totalPages))}getFullPagePicker(){return i("div",{class:"gux-pagination-buttons-input-container"},i("div",null,this.i18n("page")),i("div",{class:"gux-pagination-buttons-input"},i("gux-form-field-text-like",{"label-position":"screenreader"},i("label",{slot:"label"},this.i18n("pageInputLabel",{currentPage:this.currentPage,totalPages:this.totalPages})),i("input",{type:"text",slot:"input",value:String(this.currentPage),ref:t=>this.textFieldRef=t,onChange:()=>this.setPageFromInput(this.textFieldRef.value)}))),i("div",null,this.i18n("totalPages",{totalPages:this.totalPages})))}getPagePicker(t){return"small"===t?this.getSmallPagePicker():"expanded"===t?this.getExpandedPagePicker():this.getFullPagePicker()}async componentWillLoad(){this.i18n=await e(this.root,o)}render(){return i("div",{class:`gux-pagination-buttons-container gux-${this.layout}`},i("div",{class:"gux-pagination-buttons-group"},i("gux-button-slot",{accent:"secondary"},i("button",{title:this.i18n("first"),disabled:this.onFirstPage,onClick:this.handleClickFirst.bind(this)},i("gux-icon",{decorative:!0,"icon-name":"chevron-double-left"}))),i("gux-button-slot",{accent:"secondary"},i("button",{title:this.i18n("previous"),disabled:this.onFirstPage,onClick:this.handleClickPrevious.bind(this)},i("gux-icon",{decorative:!0,"icon-name":"chevron-small-left"})))),this.getPagePicker(this.layout),i("div",{class:"gux-pagination-buttons-group"},i("gux-button-slot",{accent:"secondary"},i("button",{title:this.i18n("next"),disabled:this.onLastPage,onClick:this.handleClickNext.bind(this)},i("gux-icon",{decorative:!0,"icon-name":"chevron-small-right"}))),i("gux-button-slot",{accent:"secondary"},i("button",{title:this.i18n("last"),disabled:this.onLastPage,onClick:this.handleClickLast.bind(this)},i("gux-icon",{decorative:!0,"icon-name":"chevron-double-right"})))))}get root(){return a(this)}};r.style="gux-pagination-buttons{color:#2e394c}gux-pagination-buttons .gux-pagination-buttons-container{display:flex;flex-direction:row;flex-wrap:nowrap;align-content:stretch;align-items:center;justify-content:flex-end}gux-pagination-buttons .gux-pagination-buttons-container.gux-expanded{justify-content:center}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{white-space:nowrap}gux-pagination-buttons .gux-pagination-buttons-container .gux-pagination-buttons-group gux-button-slot:not(:first-of-type){margin-left:4px}gux-pagination-buttons .gux-pagination-buttons-container .gux-pagination-buttons-input-container{display:flex;flex-direction:row;flex-wrap:nowrap;align-content:stretch;align-items:center;justify-content:center;margin:0 16px}gux-pagination-buttons .gux-pagination-buttons-container .gux-pagination-buttons-input-container>div{flex:0 1 auto;align-self:auto;order:0;white-space:nowrap}gux-pagination-buttons .gux-pagination-buttons-container .gux-pagination-buttons-input-container .gux-pagination-buttons-input{width:60px;margin:0 8px}gux-pagination-buttons .gux-pagination-buttons-container .gux-pagination-buttons-input-container .gux-pagination-buttons-input input{width:inherit;text-align:center}gux-pagination-buttons .gux-pagination-buttons-container .gux-pagination-buttons-list-container{display:flex;flex-direction:row;flex-wrap:nowrap;align-content:stretch;align-items:center;justify-content:center;margin:0 16px}gux-pagination-buttons .gux-pagination-buttons-container .gux-pagination-buttons-list-container .gux-pagination-buttons-list-button{height:32px;padding:0 4px;margin:0 4px;background:inherit;border:none;border-radius:2px}gux-pagination-buttons .gux-pagination-buttons-container .gux-pagination-buttons-list-container .gux-pagination-buttons-list-button:focus-visible{outline:3px solid #aac9ff;outline-offset:1px;box-shadow:0 0 0 1px #fdfdfd}gux-pagination-buttons .gux-pagination-buttons-container .gux-pagination-buttons-list-container .gux-pagination-buttons-list-button.gux-current{font-weight:600}gux-pagination-buttons .gux-pagination-buttons-container .gux-pagination-buttons-list-container .gux-pagination-buttons-list-button.gux-target{color:#2a60c8;cursor:pointer}gux-pagination-buttons .gux-pagination-buttons-container .gux-pagination-buttons-spacer{width:12px}";const g={itemCountDisplay:"{firstItem, number} - {lastItem, number}",totalItems:" of {totalItems, number}"},u=class{constructor(n){t(this,n),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 e(this.root,g)}render(){return i("div",{class:"gux-pagination-item-counts-container"},i("span",{class:"gux-pagination-item-counts-range"},this.i18n("itemCountDisplay",{firstItem:this.firstItem,lastItem:this.lastItem})),i("span",null,this.i18n("totalItems",{totalItems:this.totalItems})))}get root(){return a(this)}};u.style="gux-pagination-item-counts{color:#2e394c}gux-pagination-item-counts .gux-pagination-item-counts-container{white-space:nowrap}gux-pagination-item-counts .gux-pagination-item-counts-container .gux-pagination-item-counts-range{font-weight:bold}";const p={perPage:"per page",itemsPerPage:"Items per page",rangeSelected:"Items per page dropdown, {range} selected"},c=class{constructor(i){t(this,i),this.internalitemsperpagechange=n(this,"internalitemsperpagechange",3),this.itemsPerPage=25}handleChange(t){t.stopPropagation();const n=parseInt(this.dropdownElement.value,10);this.internalitemsperpagechange.emit(n)}async componentWillLoad(){this.i18n=await e(this.root,p)}getDropdown(){return i("gux-dropdown",{ref:t=>this.dropdownElement=t,value:`${this.itemsPerPage}`,"aria-label":this.i18n("rangeSelected",{range:this.itemsPerPage})},i("gux-listbox",{"aria-label":this.i18n("itemsPerPage")},i("gux-option",{value:"25"},"25"),i("gux-option",{value:"50"},"50"),i("gux-option",{value:"75"},"75"),i("gux-option",{value:"100"},"100")))}render(){return i("div",{class:"gux-pagination-items-per-page-container"},i("div",{class:"gux-pagination-items-per-page-picker"},this.getDropdown()),i("div",null,this.i18n("perPage")))}get root(){return a(this)}};c.style="gux-pagination-items-per-page{color:#2e394c}gux-pagination-items-per-page .gux-pagination-items-per-page-container{display:flex;flex-direction:row;flex-wrap:nowrap;align-content:stretch;align-items:center;justify-content:center}gux-pagination-items-per-page .gux-pagination-items-per-page-container>div{flex:0 1 auto;align-self:auto;order:0;white-space:nowrap}gux-pagination-items-per-page .gux-pagination-items-per-page-container .gux-pagination-items-per-page-picker{margin:0 8px 0 16px}gux-pagination-items-per-page .gux-pagination-items-per-page-container .gux-pagination-items-per-page-picker gux-dropdown{display:inline-block;width:64px}";export{r as gux_pagination_buttons,u as gux_pagination_item_counts,c as gux_pagination_items_per_page}
@@ -1 +0,0 @@
1
- import{r as e,d as t,h as n,g as i}from"./p-7d26b2e1.js";import{t as o}from"./p-9bf0a4a8.js";import{O as a}from"./p-13dd4c6b.js";const s=class{constructor(t){e(this,t),this.blankStateSize=void 0}onResize(){this.setBlankStateSize()}componentWillLoad(){o(this.root)}componentDidLoad(){this.setBlankStateSize()}setBlankStateSize(){t((()=>{const e=this.root.clientWidth;this.blankStateSize=e<=160?"small":e<=300?"medium":"large"}))}render(){return n("div",{class:{"gux-container":!0,[`gux-${this.blankStateSize}`]:!0}},n("slot",{name:"image"}),n("div",{class:"gux-message-container"},n("slot",{name:"primary-message"})),n("div",{class:"gux-guidance-container"},n("slot",{name:"additional-guidance"})),n("gux-button-slot",{accent:"primary"},n("slot",{name:"call-to-action"})))}get root(){return i(this)}};(function(e,t,n,i){var o,a=arguments.length,s=a<3?t:null===i?i=Object.getOwnPropertyDescriptor(t,n):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(e,t,n,i);else for(var g=e.length-1;g>=0;g--)(o=e[g])&&(s=(a<3?o(s):a>3?o(t,n,s):o(t,n))||s);a>3&&s&&Object.defineProperty(t,n,s)})([a()],s.prototype,"onResize",null),s.style=":host{display:flex;flex-direction:column;align-items:center;justify-content:center}.gux-container{display:flex;flex-direction:column;align-items:center;justify-content:center}.gux-container ::slotted(gux-icon){width:48px;height:48px;color:#c8cfda}.gux-container slot[name='primary-message']{color:#364154;text-align:center;font-family:Roboto, sans-serif;font-weight:400;font-weight:700;font-size:14px;line-height:20px}.gux-container slot[name='additional-guidance']{color:#364154;text-align:center;font-family:Roboto, sans-serif;font-weight:400;font-size:11px;line-height:16px}.gux-container.gux-small .gux-message-container,.gux-container.gux-medium .gux-message-container{padding:8px 0 4px}.gux-container.gux-small .gux-guidance-container,.gux-container.gux-medium .gux-guidance-container{padding-bottom:8px}.gux-container.gux-large .gux-message-container{padding:16px 0 4px}.gux-container.gux-large .gux-message-container slot[name='primary-message']{font-family:Roboto, sans-serif;font-weight:400;font-weight:300;font-size:24px;line-height:32px}.gux-container.gux-large .gux-guidance-container{padding-bottom:16px}.gux-container.gux-large .gux-guidance-container slot[name='additional-guidance']{font-family:Roboto, sans-serif;font-weight:400;font-size:14px;line-height:24px}";export{s as gux_blank_state_beta}
@@ -1 +0,0 @@
1
- import{r as t,h as o,g as s}from"./p-7d26b2e1.js";import{t as r}from"./p-9bf0a4a8.js";const e=class{constructor(o){t(this,o)}componentWillLoad(){r(this.root)}render(){return o("span",{class:"gux-sr-only"},o("slot",null))}get root(){return s(this)}};e.style=".gux-sr-only:not(:focus):not(:active){position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);clip-path:inset(50%);white-space:nowrap}";export{e as gux_screen_reader_beta}
@@ -1 +0,0 @@
1
- import{r as t,h as o,H as s,g as i}from"./p-7d26b2e1.js";import{t as r}from"./p-9bf0a4a8.js";import{b as e}from"./p-091f51f6.js";const a=class{constructor(o){t(this,o),this.politeness="polite"}async guxAnnounce(t){this.containerElement.innerText="",e((()=>{this.containerElement.innerText=t}))}componentWillLoad(){r(this.root)}render(){return o(s,{"aria-live":this.politeness},o("slot",null),o("div",{ref:t=>this.containerElement=t}))}get root(){return i(this)}};a.style=":host{position:absolute;top:auto;left:-10000px;width:1px;height:1px;overflow:hidden}";export{a as gux_announce_beta}
@@ -1 +0,0 @@
1
- import{r as t,c as i,f as e,h as s,g as o,H as n}from"./p-7d26b2e1.js";import{O as r}from"./p-9d18d475.js";import{b as a}from"./p-deee079e.js";import{s as l}from"./p-d176c2ae.js";import{o as d,c as u}from"./p-3f5341ea.js";import{b as h}from"./p-091f51f6.js";import{t as c}from"./p-9bf0a4a8.js";import{O as x}from"./p-f34ce7dc.js";import{k as g,g as p,s as f,c as b,a as v,b as m,h as w,d as y,e as F,f as j,i as k,j as L,m as E,o as C}from"./p-55cf6d81.js";import{w as O}from"./p-76ff3e75.js";import{r as T}from"./p-cbcbd1bb.js";import"./p-8a133b9b.js";const A={filterResults:"Type to filter dropdown results",noSelection:"Select...",dropdown:"Dropdown"};var I=function(t,i,e,s){var o,n=arguments.length,r=n<3?i:null===s?s=Object.getOwnPropertyDescriptor(i,e):s;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)r=Reflect.decorate(t,i,e,s);else for(var a=t.length-1;a>=0;a--)(o=t[a])&&(r=(n<3?o(r):n>3?o(i,e,r):o(i,e))||r);return n>3&&r&&Object.defineProperty(i,e,r),r};const S=class{constructor(e){t(this,e),this.guxexpanded=i(this,"guxexpanded",7),this.guxcollapsed=i(this,"guxcollapsed",7),this.guxfilter=i(this,"guxfilter",7),this.value=void 0,this.disabled=!1,this.required=!1,this.loading=!1,this.placeholder=void 0,this.filterable=!1,this.filterType="none",this.hasError=!1,this.expanded=!1,this.filter=""}watchExpanded(t){t||(this.filter="")}watchValue(t){this.validateValue(t,this.listboxElement)}handleFilter(t){this.guxfilter.emit(t)}onKeydown(t){switch(t.key){case"Escape":return this.isFilterable()&&document.activeElement===this.listboxElement?this.filterElement.focus():void this.collapseListbox("focusFieldButton");case"Tab":return this.shiftTabFromFilterListbox(t)?(t.preventDefault(),this.filterElement.focus()):this.shiftTabFromExpandedFilterInput(t)?(t.preventDefault(),this.collapseListbox("focusFieldButton")):void this.collapseListbox("noFocusChange");case"ArrowDown":return void(this.activeElementNotListbox()&&(t.preventDefault(),this.expanded=!0))}}onInternallistboxoptionsupdated(t){t.stopPropagation(),e(this.root)}onBlur(t){this.stopPropagationOfInternalFocusEvents(t)}onFocus(t){this.stopPropagationOfInternalFocusEvents(t)}onFocusout(t){this.stopPropagationOfInternalFocusEvents(t)}onFocusin(t){this.stopPropagationOfInternalFocusEvents(t)}onClickOutside(){this.collapseListbox("noFocusChange")}onMutation(){var t;this.listboxElement||(this.listboxElement=null===(t=this.root)||void 0===t?void 0:t.querySelector("gux-listbox"),this.applyListboxEventListeners())}onInternalExpanded(t){t.stopPropagation(),this.guxexpanded.emit(),this.listboxElement&&h((()=>{this.listboxElement.focus(),this.isFilterable()&&this.filterElement&&this.filterElement.focus()}))}onInternalCollapsed(t){t.stopPropagation(),this.guxcollapsed.emit()}connectedCallback(){var t;this.listboxElement=null===(t=this.root)||void 0===t?void 0:t.querySelector("gux-listbox"),this.listboxElement&&this.validateValue(this.value,this.listboxElement)}async componentWillLoad(){c(this.root),this.i18n=await a(this.root,A),d(this.root,(()=>{e(this.root)}))}componentDidLoad(){this.applyListboxEventListeners()}componentWillRender(){this.listboxElement&&(this.validateValue(this.value,this.listboxElement),this.listboxElement.loading=this.loading,this.listboxElement.filterType=this.filterType,this.listboxElement.filter=this.filter)}showTooltip(){var t;null===(t=this.truncateElement)||void 0===t||t.setShowTooltip()}hideTooltip(){var t;null===(t=this.truncateElement)||void 0===t||t.setHideTooltip()}validateValue(t,i){void 0!==t?this.getOptionElementByValue(t)&&(i.value=t):i&&(i.value=t)}applyListboxEventListeners(){var t,i;null===(t=this.listboxElement)||void 0===t||t.addEventListener("input",(t=>{t.stopPropagation(),this.updateValue(t.target.value)})),null===(i=this.listboxElement)||void 0===i||i.addEventListener("change",(t=>{t.stopPropagation()}))}stopPropagationOfInternalFocusEvents(t){if(this.root.contains(t.relatedTarget))return t.stopImmediatePropagation()}isFilterable(){return this.filterable||"starts-with"===this.filterType||"custom"===this.filterType}get optionElements(){return g(this.listboxElement)}getOptionElementByValue(t){return this.optionElements.find((i=>i.value===t))}fieldButtonClick(){this.expanded=!this.expanded}filterInput(t){t.stopPropagation(),this.filter=this.filterElement.value}shiftTabFromExpandedFilterInput(t){return t.shiftKey&&this.isFilterable()&&this.expanded&&!(document.activeElement===this.listboxElement)}shiftTabFromFilterListbox(t){return t.shiftKey&&this.isFilterable()&&document.activeElement===this.listboxElement}activeElementNotListbox(){return document.activeElement!==this.listboxElement}filterKeydown(t){switch(t.key){case"ArrowDown":return t.stopImmediatePropagation(),void this.listboxElement.focus();case"Enter":return this.listboxElement.guxSelectActive(),void t.preventDefault()}}filterKeyup(t){" "!==t.key||t.preventDefault()}collapseListbox(t){this.expanded&&(this.expanded=!1),"focusFieldButton"===t&&this.fieldButtonElement.focus()}updateValue(t){this.value!==t&&(this.value=t,l(this.root,"input"),l(this.root,"change")),this.collapseListbox("focusFieldButton")}getTypeaheadText(t){const i=t.length;if(i>0&&!this.loading){const e=p(this.listboxElement,t);if(e&&"custom"!==this.filterType)return e.textContent.trim().substring(i)}return""}renderTargetDisplay(){const t=this.getOptionElementByValue(this.value);return t?s("div",{class:"gux-selected-option"},this.renderSelectedItem(t)):s("div",{class:"gux-placeholder"},this.placeholder||this.i18n("noSelection"))}renderSelectedItem(t){const i=t.tagName.toLowerCase();switch(i){case"gux-option":return s("gux-truncate",{ref:t=>this.truncateElement=t},t.textContent);case"gux-option-icon":return this.renderIconOption(t);default:return i}}renderIconOption(t){let i=null;return null!==t.iconColor&&(i={color:t.iconColor}),s("span",{class:"gux-selected-icon"},s("gux-icon",{"icon-name":t.iconName,style:i,decorative:!0}),s("gux-truncate",{ref:t=>this.truncateElement=t},t.textContent))}renderFilterInputField(){if(this.expanded&&this.isFilterable())return s("div",{class:"gux-field gux-input-field"},s("div",{class:"gux-field-content"},s("div",{class:"gux-filter"},s("div",{class:"gux-filter-display"},s("span",{class:"gux-filter-text"},this.filter),s("span",{class:"gux-filter-suggestion"},this.getTypeaheadText(this.filter))),s("div",{class:"input-and-dropdown-button"},s("input",{onClick:this.fieldButtonClick.bind(this),class:"gux-filter-input",type:"text","aria-label":this.i18n("filterResults"),ref:t=>this.filterElement=t,onInput:this.filterInput.bind(this),onKeyDown:this.filterKeydown.bind(this),onKeyUp:this.filterKeyup.bind(this)})))))}renderPopup(){return s("div",{slot:"popup",class:"gux-listbox-container"},s("slot",null))}renderTarget(){return s("div",{class:{"gux-target-container-expanded":this.expanded&&this.isFilterable(),"gux-target-container-collapsed":!(this.expanded&&this.isFilterable()),"gux-error":this.hasError},slot:"target"},this.renderFilterInputField(),s("button",{type:"button",class:"gux-field gux-field-button",disabled:u(this.root),onClick:this.fieldButtonClick.bind(this),onFocusin:this.showTooltip.bind(this),onFocusout:this.hideTooltip.bind(this),ref:t=>this.fieldButtonElement=t,"aria-haspopup":"listbox","aria-expanded":this.expanded.toString()},this.renderTargetContent(),this.renderRadialLoading(),s("gux-icon",{class:{"gux-expand-icon":!0},"screenreader-text":this.i18n("dropdown"),iconName:"chevron-small-down"})))}renderTargetContent(){if(!this.expanded||!this.isFilterable())return s("div",{class:"gux-field-content"},this.renderTargetDisplay())}renderRadialLoading(){if(this.loading&&!this.expanded)return s("gux-radial-loading",{context:"input"})}render(){return s("gux-popup",{expanded:this.expanded&&(!this.loading||this.isFilterable()),disabled:this.disabled},this.renderTarget(),this.renderPopup())}static get delegatesFocus(){return!0}get root(){return o(this)}static get watchers(){return{expanded:["watchExpanded"],value:["watchValue"],filter:["handleFilter"]}}};I([r({triggerEvents:"mousedown"})],S.prototype,"onClickOutside",null),I([x({childList:!0,subtree:!0})],S.prototype,"onMutation",null),S.style=":host{color:#2e394c}.gux-field,.gux-target-container-expanded{all:unset;box-sizing:border-box;display:flex;flex-direction:row;flex-wrap:nowrap;align-content:stretch;align-items:center;justify-content:center;width:100%;height:32px;padding:6px 8px;font-family:inherit;font-size:12px;line-height:1.6667;cursor:pointer;background-color:#f6f7f9}.gux-error.gux-target-container-collapsed .gux-field-button,.gux-error.gux-target-container-expanded{border-color:#ea0b0b}.gux-field.gux-input-field{height:30px}.gux-field .gux-field-content{--gux-zindex-tooltip:3;display:flex;flex:1 1 0;flex-direction:row;flex-wrap:nowrap;align-content:stretch;align-items:flex-start;justify-content:flex-start;min-width:0;height:100%}.gux-field .gux-field-content .gux-filter,.gux-field .gux-field-content .gux-selected-option,.gux-field .gux-field-content .gux-placeholder{flex:1 1 auto;align-self:auto;order:0;padding:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.gux-field .gux-field-content .gux-filter{position:relative;height:100%}.gux-field .gux-field-content .gux-filter .gux-filter-input{all:unset;width:100%;color:transparent;caret-color:#2e394c}.gux-field .gux-field-content .gux-filter .gux-filter-display{white-space:pre}.gux-field .gux-field-content .gux-filter .gux-filter-display .gux-filter-text{color:#2e394c}.gux-field .gux-field-content .gux-filter .gux-filter-display .gux-filter-suggestion{color:#596373}.gux-field .gux-field-content .gux-filter .gux-filter-input,.gux-field .gux-field-content .gux-filter .gux-filter-display{position:absolute}.gux-field .gux-field-content .gux-placeholder{color:#596373}.gux-field .gux-expand-icon{flex:0 0 auto;align-self:auto;order:0;width:16px;height:16px;padding-left:8px;color:#596373}.gux-target-container-expanded{border:1px solid #6b7585;border-radius:4px;box-shadow:inset 0 0 4px rgba(32, 41, 55, 0.16)}.gux-target-container-expanded:focus-visible,.gux-target-container-expanded:focus-within{outline:3px solid #aac9ff;outline-offset:1px;box-shadow:0 0 0 1px #fdfdfd}.gux-target-container-expanded .gux-filter-input{background-color:inherit;border:none}.gux-target-container-expanded .gux-filter-input:focus{border:none;outline:none}.gux-target-container-expanded .gux-field-button{width:auto;height:30px;padding:0 0 0 8px;margin:0;background:inherit;border:none;outline:none;box-shadow:none}.gux-target-container-expanded .gux-field-button:focus{outline:none}.gux-target-container-collapsed .gux-field-button{border:1px solid #6b7585;border-radius:4px;box-shadow:inset 0 0 4px rgba(32, 41, 55, 0.16)}.gux-target-container-collapsed .gux-field-button:focus-visible,.gux-target-container-collapsed .gux-field-button:focus-within{outline:3px solid #aac9ff;outline-offset:1px;box-shadow:0 0 0 1px #fdfdfd}.gux-listbox-container{box-sizing:border-box;margin:0;color:#2e394c}gux-popup::part(gux-popup-container){width:inherit}.gux-selected-icon{display:flex;align-items:center}.gux-selected-icon gux-icon{width:16px;height:16px;padding-right:8px}";const B=["gux-option","gux-option-icon"].join(","),R={noMatches:"No matches",loading:"Loading..."},z=class{constructor(e){t(this,e),this.internallistboxoptionsupdated=i(this,"internallistboxoptionsupdated",7),this.value=void 0,this.loading=!1,this.filter="",this.filterType="none",this.emptyMessage=void 0,this.selectedValues=[],this.listboxOptions=[],this.allListboxOptionsFiltered=void 0}onFocus(){f(this.root)}onBlur(){b(this.root)}onKeydown(t){switch(t.key){case"Enter":return t.preventDefault(),void k(this.root,(t=>this.updateValue(t)));case"ArrowDown":return t.preventDefault(),void(F(this.root)?(t.stopPropagation(),j(this.root)):m(this.root));case"ArrowUp":return t.preventDefault(),void(w(this.root)?(t.stopPropagation(),y(this.root)):v(this.root));case"Home":return t.preventDefault(),void m(this.root);case"End":return t.preventDefault(),void v(this.root);case" ":return void t.preventDefault()}1!==t.key.length||L(this.root,t.key)}onKeyup(t){" "!==t.key||k(this.root,(t=>this.updateValue(t)))}onMousemove(){b(this.root)}onClick(t){O(B,t,(t=>{C(t,(t=>this.updateValue(t)))}))}async guxSelectActive(){k(this.root,(t=>this.updateValue(t)))}setListboxOptions(){this.value&&(this.selectedValues=this.value.split(",")),this.listboxOptions=Array.from(this.root.children),this.internallistboxoptionsupdated.emit()}updateValue(t){this.value!==t&&(this.value=t),l(this.root,"input"),l(this.root,"change")}async componentWillLoad(){c(this.root),this.i18n=await a(this.root,R),this.setListboxOptions()}componentWillRender(){this.listboxOptions.forEach((t=>{t.selected=t.value===this.value,"custom"!==this.filterType&&(t.filtered=!E(t,this.filter))})),this.allListboxOptionsFiltered=0===this.listboxOptions.filter((t=>!t.filtered)).length,!this.allListboxOptionsFiltered&&this.filter?m(this.root):b(this.root)}renderHiddenSlot(){return s("div",{hidden:!0},s("slot",{onSlotchange:()=>this.setListboxOptions()}))}renderLoading(){return[s("div",{class:"gux-message-container"},s("gux-radial-loading",{context:"modal"}),s("span",null,this.i18n("loading"))),this.renderHiddenSlot()]}renderAllListboxOptionsFiltered(){return[s("div",{class:"gux-message-container"},s("div",{class:"gux-no-matches"},this.emptyMessage||this.i18n("noMatches"))),this.renderHiddenSlot()]}render(){return this.loading?this.renderLoading():this.allListboxOptionsFiltered?this.renderAllListboxOptionsFiltered():s(n,{role:"listbox",tabindex:0},s("slot",{onSlotchange:()=>this.setListboxOptions()}))}get root(){return o(this)}};z.style=":host{box-sizing:border-box;display:block;max-height:20rem;padding:8px 0;margin:0;overflow-y:auto;color:#2e394c;background:#fdfdfd;border:1px solid #b4bccb;border-radius:4px;outline:none}:host(:focus){outline:3px solid #aac9ff;outline-offset:1px;box-shadow:0 0 0 1px #fdfdfd}.gux-message-container{display:flex;flex-direction:column;flex-wrap:nowrap;align-content:stretch;align-items:center;justify-content:center}.gux-message-container .gux-no-matches{box-sizing:border-box;height:32px;padding:8px 16px;color:#2e394c}";const D=class{constructor(i){t(this,i),this.value=void 0,this.active=!1,this.selected=!1,this.disabled=!1,this.filtered=!1,this.hovered=!1}onmouseenter(){this.hovered=!0}onMouseleave(){this.hovered=!1}handleActive(t){var i,e;t?null===(i=this.truncateElement)||void 0===i||i.setShowTooltip():null===(e=this.truncateElement)||void 0===e||e.setHideTooltip()}componentWillLoad(){this.root.id=this.root.id||T("gux-option")}getAriaSelected(){return!this.disabled&&(this.selected?"true":"false")}render(){return s(n,{role:"option",class:{"gux-active":this.active,"gux-disabled":this.disabled,"gux-filtered":this.filtered,"gux-hovered":this.hovered,"gux-selected":this.selected},"aria-selected":this.getAriaSelected(),"aria-disabled":this.disabled.toString()},s("gux-truncate",{ref:t=>this.truncateElement=t},s("slot",null)))}get root(){return o(this)}static get watchers(){return{active:["handleActive"]}}};D.style="gux-option{box-sizing:border-box;display:flex;height:32px;padding:6px 8px;color:#2e394c;word-wrap:break-word;cursor:pointer}gux-option.gux-disabled{pointer-events:none;cursor:default;opacity:0.5}gux-option.gux-selected{background:#deeaff}gux-option.gux-active,gux-option.gux-hovered:not(:disabled){color:#fdfdfd;background:#2a60c8}gux-option.gux-filtered{display:none}gux-option .gux-slot-container{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}";export{S as gux_dropdown,z as gux_listbox,D as gux_option}
@@ -1 +0,0 @@
1
- import{r as o,h as t,g as f}from"./p-7d26b2e1.js";import{t as i}from"./p-9bf0a4a8.js";import{g as e}from"./p-aa2f9991.js";const l=class{constructor(t){o(this,t),this.iconOnly=!1,this.accent="secondary",this.disabled=!1}renderTooltip(){if(this.iconOnly)return t("gux-tooltip",null,e(this.root,"text"))}componentWillLoad(){i(this.root)}render(){return t("gux-button-slot",{accent:this.accent},t("button",{disabled:this.disabled,type:"button",class:"gux-action-title"},t("slot",{name:"icon"}),t("span",{class:{"gux-sr-only":this.iconOnly}},t("slot",{name:"text"}))),this.renderTooltip())}static get delegatesFocus(){return!0}get root(){return f(this)}};l.style='.gux-focus-ring-focused:focus{outline:3px solid #aac9ff;outline-offset:1px;box-shadow:0 0 0 1px #fdfdfd}.gux-focus-ring-focused-within:focus-within{outline:3px solid #aac9ff;outline-offset:1px;box-shadow:0 0 0 1px #fdfdfd}.gux-focus-ring-focused-visible:focus-visible{outline:3px solid #aac9ff;outline-offset:1px;box-shadow:0 0 0 1px #fdfdfd}.gux-focus-ring-small-focused:focus{outline:2px solid #aac9ff;outline-offset:0}.gux-focus-ring-small-focused-within:focus-within{outline:2px solid #aac9ff;outline-offset:0}.gux-focus-ring-small-focused-visible:focus-visible{outline:2px solid #aac9ff;outline-offset:0}@font-face{font-family:Roboto;font-style:normal;font-weight:300;src:url("./fonts/roboto-v20-latin-300.eot");src:local("Roboto Light"), local("Roboto-Light"), url("./fonts/roboto-v20-latin-300.eot?#iefix") format("embedded-opentype"), url("./fonts/roboto-v20-latin-300.woff2") format("woff2"), url("./fonts/roboto-v20-latin-300.woff") format("woff"), url("./fonts/roboto-v20-latin-300.ttf") format("truetype"), url("./fonts/roboto-v20-latin-300.svg#Roboto") format("svg");}@font-face{font-family:Roboto;font-style:normal;font-weight:400;src:url("./fonts/roboto-v20-latin-regular.eot");src:local("Roboto"), local("Roboto-Regular"), url("./fonts/roboto-v20-latin-regular.eot?#iefix") format("embedded-opentype"), url("./fonts/roboto-v20-latin-regular.woff2") format("woff2"), url("./fonts/roboto-v20-latin-regular.woff") format("woff"), url("./fonts/roboto-v20-latin-regular.ttf") format("truetype"), url("./fonts/roboto-v20-latin-regular.svg#Roboto") format("svg");}@font-face{font-family:Roboto;font-style:italic;font-weight:400;src:url("./fonts/roboto-v20-latin-italic.eot");src:local("Roboto Italic"), local("Roboto-Italic"), url("./fonts/roboto-v20-latin-italic.eot?#iefix") format("embedded-opentype"), url("./fonts/roboto-v20-latin-italic.woff2") format("woff2"), url("./fonts/roboto-v20-latin-italic.woff") format("woff"), url("./fonts/roboto-v20-latin-italic.ttf") format("truetype"), url("./fonts/roboto-v20-latin-italic.svg#Roboto") format("svg");}@font-face{font-family:Roboto;font-style:normal;font-weight:700;src:url("./fonts/roboto-v20-latin-700.eot");src:local("Roboto Bold"), local("Roboto-Bold"), url("./fonts/roboto-v20-latin-700.eot?#iefix") format("embedded-opentype"), url("./fonts/roboto-v20-latin-700.woff2") format("woff2"), url("./fonts/roboto-v20-latin-700.woff") format("woff"), url("./fonts/roboto-v20-latin-700.ttf") format("truetype"), url("./fonts/roboto-v20-latin-700.svg#Roboto") format("svg");}body{font-family:Roboto, sans-serif;font-weight:400;font-size:12px;line-height:20px}h1{font-family:Roboto, sans-serif;font-weight:400;font-weight:300;font-size:24px;line-height:32px}h2{font-family:Roboto, sans-serif;font-weight:400;font-weight:300;font-size:18px;line-height:24px}h3{font-family:Roboto, sans-serif;font-weight:400;font-weight:700;font-size:14px;line-height:20px}h4,h5,h6{font-family:Roboto, sans-serif;font-weight:400;font-size:14px;line-height:20px}.gux-icon-anchor gux-icon{padding-right:2px}a{color:#2a60c8;text-decoration:underline;border-radius:2px}a:hover{color:#2754ac}a:active{color:#23478f}a:focus-visible{outline:3px solid #aac9ff;outline-offset:1px;box-shadow:0 0 0 1px #fdfdfd}table a{color:#2a60c8;text-decoration:underline;border-radius:2px;text-decoration:none}table a:hover{color:#2754ac}table a:active{color:#23478f}table a:focus-visible{outline:3px solid #aac9ff;outline-offset:1px;box-shadow:0 0 0 1px #fdfdfd}:host([disabled]),button[disabled]{pointer-events:none}.gux-sr-only{display:flex}.gux-sr-only:not(:focus):not(:active){position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);clip-path:inset(50%);white-space:nowrap}.gux-action-title{display:flex;flex-direction:row;gap:var(--gse-ui-button-gap);align-items:center}.gux-action-title slot[name=icon]::slotted(gux-icon){width:var(--gse-ui-icon-size-sm);height:var(--gse-ui-icon-size-sm)}';export{l as gux_table_toolbar_custom_action}
@@ -1 +0,0 @@
1
- import{r as t,c as o,h as e,H as r,g as i}from"./p-7d26b2e1.js";import{b as n}from"./p-deee079e.js";import{c as s}from"./p-62913396.js";import"./p-8a133b9b.js";import"./p-9dd4b14a.js";import"./p-d176c2ae.js";const a={activateReordering:"Activate reordering mode for {columnName} column"},c=class{constructor(e){t(this,e),this.internal_order_change=o(this,"internal_order_change",7),this.internal_keyboard_reorder_start=o(this,"internal_keyboard_reorder_start",7),this.internal_keyboard_reorder_move=o(this,"internal_keyboard_reorder_move",7),this.internal_keyboard_reorder_emit=o(this,"internal_keyboard_reorder_emit",7),this.internal_keyboard_reorder_finish=o(this,"internal_keyboard_reorder_finish",7),this.orderId=void 0,this.highlightActive=void 0,this.highlight=void 0,this.text=void 0,this.pendingReorder="none",this.isDragging=!1,this.isReordering=!1}async guxSetHighlight(t="",o=!1){this.highlight=t,this.highlightActive=o}async guxFocus(){this.reorderButtonElement.focus()}onBlur(){this.setReorderMode(!1)}onDragStart(t){this.isDragging=!0;const o=s(this.root);t.dataTransfer.setData("oldIndex",String(o)),t.dataTransfer.effectAllowed="move"}onDragEnter(t){t.dataTransfer.dropEffect="move",this.pendingReorder=this.mouseOnTopHalf(t)?"above":"below"}onDragOver(t){t.preventDefault(),this.pendingReorder=this.mouseOnTopHalf(t)?"above":"below"}onDragLeave(){this.pendingReorder="none"}onDragEnd(){this.isDragging=!1}onDrop(t){const o=Number(t.dataTransfer.getData("oldIndex")),e=s(this.root);t.stopPropagation(),t.stopImmediatePropagation(),this.pendingReorder="none";const r=function(t,o,e){return t<o?e?o-1:o:e?o:o+1}(o,e,this.mouseOnTopHalf(t));return this.internal_order_change.emit({oldIndex:o,newIndex:r}),!1}mouseOnTopHalf(t){const o=this.root.getBoundingClientRect();return t.clientY-o.top<=(o.bottom-o.top)/2}onSlotChange(){this.text=this.root.querySelector("gux-form-field-checkbox label").textContent}setReorderMode(t,o=!1){this.isReordering!==t&&(this.isReordering=t,t?this.internal_keyboard_reorder_start.emit(this.text):(o&&this.internal_keyboard_reorder_emit.emit(),this.internal_keyboard_reorder_finish.emit()))}toggleReorderMode(){this.setReorderMode(!this.isReordering,!0)}keyboardReorder(t){if(this.isReordering)switch(t.key){case"ArrowUp":t.preventDefault(),this.internal_keyboard_reorder_move.emit({delta:-1,column:this.text});break;case"ArrowDown":t.preventDefault(),this.internal_keyboard_reorder_move.emit({delta:1,column:this.text});break;case"Home":t.preventDefault(),this.internal_keyboard_reorder_move.emit({delta:-1/0,column:this.text});break;case"End":t.preventDefault(),console.log("End"),this.internal_keyboard_reorder_move.emit({delta:1/0,column:this.text});break;case"Escape":t.preventDefault(),this.setReorderMode(!1)}}async componentWillLoad(){this.i18n=await n(this.root,a)}render(){return e(r,{draggable:"true"},e("div",{class:{"gux-container":!0,[`gux-drop-${this.pendingReorder}`]:!0,"gux-dragging":this.isDragging}},e("button",{class:{"gux-reorder":!0,"gux-reordering":this.isReordering},type:"button",onClick:()=>this.toggleReorderMode(),onKeyDown:t=>this.keyboardReorder(t),ref:t=>this.reorderButtonElement=t},e("gux-icon",{"icon-name":"grab-vertical",decorative:!0}),e("span",{class:"gux-sr-only"},this.i18n("activateReordering",{columnName:this.text}))),e("div",{class:"gux-select"},e("slot",{onSlotchange:()=>this.onSlotChange()}),e("gux-text-highlight",{highlight:this.highlight,text:this.text,strategy:"contains",dimmed:!this.highlightActive}))))}get root(){return i(this)}};c.style=":host([gs-reorder-indicator='above']) .gux-container{border-top-color:#aac9ff}:host([gs-reorder-indicator='below']) .gux-container{border-bottom-color:#aac9ff}.gux-container{display:flex;flex-direction:row;flex-wrap:nowrap;align-content:stretch;align-items:center;justify-content:flex-start;margin-bottom:-2px;border-top:2px solid transparent;border-bottom:2px solid transparent}.gux-container.gux-drop-above{border-top-color:#aac9ff}.gux-container.gux-drop-below{border-bottom-color:#aac9ff}.gux-container.gux-dragging{border-top-color:transparent;border-bottom-color:transparent;opacity:0.4}.gux-container .gux-reorder{all:unset;flex:0 1 auto;align-self:auto;order:0;margin-right:4px;color:#596373;cursor:grab;border-radius:4px}.gux-container .gux-reorder.gux-reordering:focus-visible gux-icon{color:#2a60c8}.gux-container .gux-reorder:active{pointer-events:none;cursor:grabbing !important}.gux-container .gux-reorder:hover,.gux-container .gux-reorder:focus-visible{outline:2px solid #aac9ff;outline-offset:0}.gux-container .gux-reorder:hover gux-icon,.gux-container .gux-reorder:focus-visible gux-icon{color:#2a60c8}.gux-container .gux-select{position:relative;flex:1 1 auto;align-self:auto;order:1}.gux-container .gux-select gux-text-highlight{position:absolute;top:2px;left:24px;pointer-events:none}.gux-sr-only:not(:focus):not(:active){position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);clip-path:inset(50%);white-space:nowrap}";export{c as gux_column_manager_item}
@@ -1 +0,0 @@
1
- import{r as e,d as t,h as i,g as n}from"./p-7d26b2e1.js";import{a}from"./p-091f51f6.js";import{t as o}from"./p-9bf0a4a8.js";const s=class{constructor(t){e(this,t),this.hasAdditionalGuidance=void 0,this.loadingMessageSize=void 0}updateLoadingMessageSize(){t((()=>{const e=this.root.clientWidth;this.loadingMessageSize=e<=160?"small":e<=300?"medium":"large"}))}componentWillLoad(){o(this.root)}componentDidLoad(){!this.resizeObserver&&window.ResizeObserver&&(this.resizeObserver=new ResizeObserver((()=>{this.updateLoadingMessageSize()}))),this.resizeObserver&&this.resizeObserver.observe(this.root),a((()=>{this.updateLoadingMessageSize()}),500)}disconnectedCallback(){this.resizeObserver&&this.resizeObserver.unobserve(this.root)}render(){return i("div",{class:{"gux-container":!0,[`gux-${this.loadingMessageSize}`]:!0},role:"alert","aria-live":"assertive"},i("slot",{name:"progress"}),i("slot",{name:"primary-message"}),i("slot",{name:"additional-guidance"}))}get root(){return n(this)}};s.style=":host{display:flex;flex-direction:column;align-items:center;justify-content:center}.gux-container{display:flex;flex-direction:column;align-items:center;justify-content:center}.gux-container slot[name='primary-message']{color:#364154;text-align:center}.gux-container slot[name='additional-guidance']{color:#596373;text-align:center}.gux-container.gux-small,.gux-container.gux-medium{padding:8px 0 4px}.gux-container.gux-small slot[name='primary-message'],.gux-container.gux-medium slot[name='primary-message']{font-family:Roboto, sans-serif;font-weight:400;font-weight:700;font-size:14px;line-height:20px}.gux-container.gux-small slot[name='additional-guidance'],.gux-container.gux-medium slot[name='additional-guidance']{font-family:Roboto, sans-serif;font-weight:400;font-size:11px;line-height:16px}.gux-container.gux-large{padding:16px 0 4px}.gux-container.gux-large slot[name='primary-message']{font-family:Roboto, sans-serif;font-weight:400;font-weight:300;font-size:24px;line-height:32px}.gux-container.gux-large slot[name='additional-guidance']{font-family:Roboto, sans-serif;font-weight:400;font-size:14px;line-height:24px}";export{s as gux_loading_message_beta}
@@ -1 +0,0 @@
1
- import{l as t}from"./p-deee079e.js";class e{constructor(e){t.includes(e)?this.locale=e:(console.warn(`Locale "${e}" is not supported. Falling back to English translation.`),this.locale="en")}formatDate(t,e,r={}){return t.toLocaleDateString(this.locale,Object.assign({},r,{dateStyle:e}))}formatTime(t,e,r={}){return t.toLocaleTimeString(this.locale,Object.assign({},r,{timeStyle:e}))}formatDateTime(t,e,r={}){return t.toLocaleString(this.locale,Object.assign({},r,{dateStyle:e,timeStyle:e}))}}export{e as D}
@@ -1 +0,0 @@
1
- import{r as t,h as s,H as e,g as i}from"./p-7d26b2e1.js";import{t as o}from"./p-9bf0a4a8.js";import{D as r}from"./p-98b50eb3.js";import{g as a}from"./p-deee079e.js";import"./p-8a133b9b.js";const h=class{constructor(s){t(this,s),this.datetime=(new Date).toISOString(),this.format="short",this.timeZone=void 0}componentWillLoad(){o(this.root),this.formatter=new r(a(this.root))}render(){return s(e,null,this.formatter.formatDateTime(new Date(this.datetime),this.format,{timeZone:this.timeZone}))}get root(){return i(this)}};export{h as gux_date_time_beta}
@@ -1 +0,0 @@
1
- import{r as t,h as e,g as i}from"./p-7d26b2e1.js";import{O as s}from"./p-9d18d475.js";import{s as o}from"./p-d176c2ae.js";import{b as n}from"./p-091f51f6.js";import{g as r,b as u}from"./p-deee079e.js";import{t as a}from"./p-9bf0a4a8.js";import"./p-8a133b9b.js";const c={am:"AM","time-separator":":",clockButton:"Toggle suggested times",hoursInput:"Input hours",minutesInput:"Input minutes",pm:"PM",timeOptionsState:"Time options open: {state}",toggleAmPM:"{amOrPm} selected, click to toggle"};function p(t,e){const[i,s]=t.split(":");return`${((parseInt(i,10)+e+24)%24).toString().padStart(2,"0")}:${s}`}function l(t,e,i){const[s,o]=t.split(":");let n=(parseInt(o,10)+e+60)%60;for(;n%i!=0;)n=(n+e+60)%60;return`${s}:${n.toString().padStart(2,"0")}`}function h(t,e){const[i,s]=t.split(":");return"12h"===e?`${(parseInt(i,10)%12||12).toString()}:${s}`:`${i}:${s}`}function g(t,e,i){const[s,o]=t.split(":");return"12h"===e?i?`${(parseInt(s,10)%12).toString().padStart(2,"0")}:${o}`:`${(parseInt(s,10)%12+12).toString().padStart(2,"0")}:${o}`:`${s}:${o}`}function m(t,e){const[i]=h(t,e).split(":");return i}function x(t){const[,e]=t.split(":");return e}function d(t){const[e]=t.split(":");return parseInt(e,10)<12}function f(t){return"12h"===t?"^(0?[1-9]|1[012])$":"^([01]?[0-9]|2[0-3])$"}const b=class{constructor(e){t(this,e),this.value="00:00",this.interval=60,this.step=1,this.disabled=!1,this.required=!1,this.hasError=!1,this.clockType=void 0,this.expanded=!1}onFocus(){this.valueLastChange=this.value}onBlur(){this.valueLastChange!==this.value&&o(this.root,"change")}onClickOutside(){this.expanded=!1}handleKeydown(t){switch(t.key){case"Escape":case"Tab":this.expanded=!1}}async componentWillLoad(){a(this.root),this.i18n=await u(this.root,c),this.clockType=this.clockType||function(t){const e=r(t),i=new Date("January 19, 1975 15:00:00 UTC+00:00"),s=new Intl.DateTimeFormat(e,{timeStyle:"short",timeZone:"UTC"}).format(i);return e.startsWith("ar")||new RegExp(".*15.*").test(s)?"24h":"12h"}(this.root)}updateValue(t,e=!1){t!==this.value&&(this.value=t,o(this.root,"input"),e&&this.valueLastChange!==this.value&&(o(this.root,"change"),this.valueLastChange=this.value))}valueToId(t){return`gux-id-${t.replace(":","-")}`}focusRelevantItemInPopupList(){n((()=>{this.listElement.guxFocusItemByClosestId(this.valueToId(this.value))}))}toggleDropdown(){this.expanded=!this.expanded,this.expanded&&this.focusRelevantItemInPopupList()}handleClickDropdownValue(t){const e=g(t,this.clockType,d(this.value));this.updateValue(e,!0),this.clockButton.focus(),this.expanded=!1}onHourKeyDown(t){switch(t.key){case"Tab":case"ArrowLeft":case"ArrowRight":case"Escape":break;case"ArrowDown":t.preventDefault(),this.updateValue(p(this.value,-1));break;case"ArrowUp":t.preventDefault(),this.updateValue(p(this.value,1));break;case"Backspace":case"0":case"1":case"2":case"3":case"4":case"5":case"6":case"7":case"8":case"9":t.preventDefault(),this.hourInputElement.setSelectionRange(2,2),this.updateValue(function(t,e,i,s,o){const[n,r]=h(t,e).split(":");let u=n;return u="Backspace"===i?"12h"==e&&1==o?u.split("").filter(((t,e)=>e==s-1)).join(""):u.split("").filter(((t,e)=>e!==s-1)).join("").padStart(2,"0"):parseInt(u.slice(0,s)+i+u.slice(s+1),10).toString().slice(-2).padStart(2,"0"),new RegExp(f(e)).test(u)||(u="12h"===e?i:i.padStart(2,"0")),g(`${u}:${r}`,e,d(t))}(this.value,this.clockType,t.key,this.hourInputElement.selectionStart,this.hourInputElement.value.length));break;default:t.preventDefault()}}onMinuteKeyDown(t){switch(t.key){case"Tab":case"ArrowLeft":case"ArrowRight":case"Escape":break;case"ArrowDown":t.preventDefault(),this.updateValue(l(this.value,-1,this.step));break;case"ArrowUp":t.preventDefault(),this.updateValue(l(this.value,1,this.step));break;case"Backspace":case"0":case"1":case"2":case"3":case"4":case"5":case"6":case"7":case"8":case"9":t.preventDefault(),this.minuteInputElement.setSelectionRange(2,2),this.updateValue(function(t,e,i){const[s,o]=t.split(":");let n=o;return n="Backspace"===e?n.split("").filter(((t,e)=>e!==i-1)).join("").padStart(2,"0"):(n.slice(0,i)+e+n.slice(i+1)).slice(-2).padStart(2,"0"),new RegExp("^[0-5][0-9]$").test(n)||(n=e.padStart(2,"0")),`${s}:${n}`}(this.value,t.key,this.minuteInputElement.selectionStart));break;default:t.preventDefault()}}onAmPmButtonKeyDown(t){switch(t.key){case"ArrowDown":case"ArrowUp":this.toggleAmPm(t)}}onListKeyDown(t){"Escape"===t.key&&(this.expanded=!1,this.clockButton.focus())}toggleAmPm(t){t.preventDefault(),this.updateValue(p(this.value,12),!0)}getAmPmString(){return d(this.value)?this.i18n("am"):this.i18n("pm")}renderNumberInput(){return e("div",{class:"gux-input-time-container"},e("input",{class:"gux-input-time-hours",type:"text",disabled:this.disabled,value:m(this.value,this.clockType),onKeyDown:t=>this.onHourKeyDown(t),"aria-label":this.i18n("hoursInput"),pattern:f(this.clockType),ref:t=>this.hourInputElement=t}),e("span",{class:"gux-time-separator"},this.i18n("time-separator")),e("input",{class:"gux-input-time-minutes",type:"text",disabled:this.disabled,value:x(this.value),onKeyDown:t=>this.onMinuteKeyDown(t),"aria-label":this.i18n("minutesInput"),pattern:"^[0-5][0-9]$",ref:t=>this.minuteInputElement=t}))}renderAmPmSelector(){if("12h"===this.clockType)return e("button",{class:"gux-input-time-am-pm-selector",type:"button",disabled:this.disabled,"aria-label":this.i18n("toggleAmPM",{amOrPm:this.getAmPmString()}),onClick:t=>this.toggleAmPm(t),onKeyDown:t=>this.onAmPmButtonKeyDown(t)},e("div",{class:{"gux-meridiem":!0,"gux-visible":d(this.value)}},this.i18n("am")),e("div",{class:{"gux-meridiem":!0,"gux-visible":!d(this.value)}},this.i18n("pm")))}renderClockButton(){return e("button",{class:{"gux-clock-button":!0,"gux-active":this.expanded},type:"button",disabled:this.disabled,"aria-label":this.i18n("clockButton"),"aria-expanded":this.expanded.toString(),onClick:this.toggleDropdown.bind(this),ref:t=>this.clockButton=t},e("gux-icon",{decorative:!0,"icon-name":"clock-outline"}))}renderTimeListItems(){return function(t,e){const i=[0,15,30,45].filter((e=>Number.isInteger(e/t))).map((t=>String(t).padStart(2,"0")));return("12h"===e?["12","1","2","3","4","5","6","7","8","9","10","11"]:Array.from(Array(24).keys()).map((t=>String(t).padStart(2,"0")))).reduce(((t,e)=>t.concat(i.map((t=>`${e}:${t}`)))),[])}(this.interval,this.clockType).map((t=>{const i=g(t,this.clockType,d(this.value));return e("gux-list-item",{id:this.valueToId(i),onClick:()=>this.handleClickDropdownValue(t)},t)}))}renderTarget(){return e("div",{class:"gux-input-time",slot:"target"},this.renderNumberInput(),this.renderAmPmSelector(),this.renderClockButton())}renderPopup(){return e("div",{slot:"popup",class:"gux-list-container",onKeyDown:t=>this.onListKeyDown(t)},e("gux-list",{ref:t=>this.listElement=t},this.renderTimeListItems()))}render(){return e("gux-popup",{class:{"gux-time-picker":!0,"gux-error":this.hasError},expanded:this.expanded,disabled:this.disabled},this.renderTarget(),this.renderPopup())}get root(){return i(this)}};(function(t,e,i,s){var o,n=arguments.length,r=n<3?e:null===s?s=Object.getOwnPropertyDescriptor(e,i):s;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)r=Reflect.decorate(t,e,i,s);else for(var u=t.length-1;u>=0;u--)(o=t[u])&&(r=(n<3?o(r):n>3?o(e,i,r):o(e,i))||r);n>3&&r&&Object.defineProperty(e,i,r)})([s({triggerEvents:"mousedown"})],b.prototype,"onClickOutside",null),b.style=".gux-time-picker{position:relative;display:inline-block}.gux-time-picker.gux-error .gux-input-time{border-color:#ea0b0b}.gux-time-picker .gux-input-time{box-sizing:border-box;display:flex;flex-direction:row;flex-wrap:nowrap;gap:8px;align-content:stretch;align-items:center;justify-content:center;width:100%;height:32px;padding:4px 8px;font-family:inherit;font-size:12px;line-height:1.6667;color:#2e394c;background-color:#f6f7f9;background-image:none;border:1px solid #6b7585;border-radius:4px;box-shadow:inset 0 0 4px rgba(32, 41, 55, 0.16)}.gux-time-picker .gux-input-time:focus-within{border-color:#2a60c8;outline:3px solid #aac9ff;outline-offset:1px;box-shadow:0 0 0 1px #fdfdfd}.gux-time-picker .gux-input-time input{flex:1 1 auto;align-self:auto;order:0;width:20px;padding:0;font-size:12px;color:#2e394c;text-align:center;text-align:left;background-color:#f6f7f9;border:none;outline:none}.gux-time-picker .gux-input-time input.gux-input-time-hours{text-align:right}.gux-time-picker .gux-input-time input::placeholder{color:#596373;opacity:1}.gux-time-picker .gux-input-time .gux-input-time-am-pm-selector{display:grid;grid-template:auto 1fr / auto 1fr auto;place-items:flex-end;padding:0;font-size:12px;font-weight:bold;color:#2e394c;background:transparent;border:none;outline:none}.gux-time-picker .gux-input-time .gux-input-time-am-pm-selector:not(:disabled):hover{color:#2a60c8;cursor:pointer}.gux-time-picker .gux-input-time .gux-input-time-am-pm-selector:focus-visible{color:#2a60c8;outline:2px solid #aac9ff;outline-offset:0;border-radius:2px}.gux-time-picker .gux-input-time .gux-input-time-am-pm-selector .gux-meridiem{grid-row:1;grid-column:1;visibility:hidden}.gux-time-picker .gux-input-time .gux-input-time-am-pm-selector .gux-meridiem.gux-visible{visibility:visible}.gux-time-picker .gux-input-time .gux-clock-button{display:flex;flex:0 1 auto;align-items:center;align-self:auto;justify-content:center;order:0;padding:0;color:#596373;background:transparent;border:none}.gux-time-picker .gux-input-time .gux-clock-button.gux-active:not(:disabled){color:#2a60c8;cursor:pointer}.gux-time-picker .gux-input-time .gux-clock-button.gux-active:not(:disabled):hover{color:#2a60c8 !important;cursor:pointer}.gux-time-picker .gux-input-time .gux-clock-button:not(:disabled):hover{color:#2e394c;cursor:pointer}.gux-time-picker .gux-input-time .gux-clock-button:focus{border:none;outline:none}.gux-time-picker .gux-input-time .gux-clock-button:focus-visible gux-icon{outline:2px solid #aac9ff;outline-offset:0;border-radius:2px}.gux-time-picker .gux-input-time .gux-clock-button gux-icon{width:16px;height:16px}.gux-time-picker .gux-list-container{max-height:150px;padding:8px 0;margin:0;overflow-y:scroll;list-style:none;background-color:#fdfdfd;border:1px solid #b4bccb;border-radius:4px;box-shadow:0 2px 4px rgba(32, 41, 55, 0.24)}";export{b as gux_time_picker}
@@ -1 +0,0 @@
1
- import{r as t,h as s,H as e,g as o}from"./p-7d26b2e1.js";import{t as r}from"./p-9bf0a4a8.js";import{D as i}from"./p-98b50eb3.js";import{g as a}from"./p-deee079e.js";import"./p-8a133b9b.js";const h=class{constructor(s){t(this,s),this.datetime=(new Date).toISOString(),this.format="short",this.timeZone=void 0}componentWillLoad(){r(this.root),this.formatter=new i(a(this.root))}render(){return s(e,null,this.formatter.formatDate(new Date(this.datetime),this.format,{timeZone:this.timeZone}))}get root(){return o(this)}};export{h as gux_date_beta}
@@ -1 +0,0 @@
1
- import{r as t,h as s,H as e,g as i}from"./p-7d26b2e1.js";import{t as o}from"./p-9bf0a4a8.js";import{D as r}from"./p-98b50eb3.js";import{g as a}from"./p-deee079e.js";import"./p-8a133b9b.js";const h=class{constructor(s){t(this,s),this.datetime=(new Date).toISOString(),this.format="short",this.timeZone=void 0}componentWillLoad(){o(this.root),this.formatter=new r(a(this.root))}render(){return s(e,null,this.formatter.formatTime(new Date(this.datetime),this.format,{timeZone:this.timeZone}))}get root(){return i(this)}};export{h as gux_time_beta}
@@ -1 +0,0 @@
1
- import{r as t,c as s,h as i,g as e}from"./p-7d26b2e1.js";import{O as o}from"./p-9d18d475.js";import{w as n}from"./p-76ff3e75.js";import{a}from"./p-091f51f6.js";import{t as r}from"./p-9bf0a4a8.js";const u=["primary","secondary","tertiary"];const c=class{constructor(i){t(this,i),this.open=s(this,"open",7),this.close=s(this,"close",7),this.text=void 0,this.disabled=!1,this.accent="secondary",this.isOpen=!1}handleKeydown(t){const s=t.composedPath();switch(t.key){case"Escape":this.isOpen=!1,s.includes(this.listElement)&&(t.preventDefault(),this.dropdownButton.focus());break;case"Tab":this.isOpen=!1;break;case"ArrowDown":case"Enter":s.includes(this.dropdownButton)&&(t.preventDefault(),this.isOpen=!0,this.focusFirstItemInPopupList())}}handleKeyup(t){if(" "===t.key)t.composedPath().includes(this.dropdownButton)&&(this.isOpen=!0,this.focusFirstItemInPopupList())}watchDisabled(t){t&&(this.isOpen=!1)}watchValue(t){t?this.open.emit():this.close.emit()}onClickOutside(){this.isOpen=!1}toggle(){this.disabled||(this.isOpen=!this.isOpen,this.isOpen&&this.focusPopupList())}focusPopupList(){a((()=>{this.listElement.focus()}))}focusFirstItemInPopupList(){a((()=>{this.listElement.guxFocusFirstItem()}))}onListClick(t){n("gux-list-item",t,(()=>{this.isOpen=!1,this.dropdownButton.focus()}))}componentWillLoad(){r(this.root,{variant:this.accent})}render(){return i("gux-popup",{expanded:this.isOpen},i("div",{slot:"target",class:"gux-button-multi-container"},i("gux-button-slot",{class:"gux-dropdown-button",accent:(t=this.accent,u.find((s=>s===t))?t:"secondary")},i("button",{type:"button",disabled:this.disabled,ref:t=>this.dropdownButton=t,onMouseUp:()=>this.toggle(),"aria-haspopup":"true","aria-expanded":this.isOpen.toString()},i("slot",{name:"title"},this.text),i("gux-icon",{decorative:!0,"icon-name":"chevron-small-down"})))),i("div",{class:"gux-list-container",slot:"popup"},i("gux-list",{onClick:t=>this.onListClick(t),ref:t=>this.listElement=t},i("slot",null))));var t}get root(){return e(this)}static get watchers(){return{disabled:["watchDisabled"],isOpen:["watchValue"]}}};(function(t,s,i,e){var o,n=arguments.length,a=n<3?s:null===e?e=Object.getOwnPropertyDescriptor(s,i):e;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(t,s,i,e);else for(var r=t.length-1;r>=0;r--)(o=t[r])&&(a=(n<3?o(a):n>3?o(s,i,a):o(s,i))||a);n>3&&a&&Object.defineProperty(s,i,a)})([o({triggerEvents:"mousedown"})],c.prototype,"onClickOutside",null),c.style=":host{display:block;-webkit-user-select:none;user-select:none}.gux-button-multi-container .gux-dropdown-button button{display:inline-flex;align-items:center}.gux-button-multi-container .gux-dropdown-button button gux-icon{width:var(--gse-ui-button-icon-size);height:var(--gse-ui-button-icon-size);margin-left:var(--gux-spacing-xs)}.gux-list-container{max-width:220px;padding:var(--gux-spacing-xs) 0;margin:0;list-style:none;background-color:var(--gse-ui-menu-wrapper-backgroundColor);border:1px solid var(--gse-ui-menu-wrapper-border);border-radius:4px;box-shadow:0px 4px 6px 1px rgba(35, 57, 92, 0.12)}";export{c as gux_button_multi}
@@ -1 +0,0 @@
1
- import{r as o,h as t,g as e}from"./p-7d26b2e1.js";import{c as i,o as r}from"./p-3f5341ea.js";import{O as f}from"./p-f34ce7dc.js";import{o as n}from"./p-3701eff0.js";import{p as l}from"./p-c10e41a9.js";import{h as a}from"./p-08bc2e6b.js";import{G as s,a as u,v as d,b as c}from"./p-b3c9fd06.js";import{G as g,a as p}from"./p-a733f4ca.js";import{t as h}from"./p-9bf0a4a8.js";import"./p-cbcbd1bb.js";import"./p-d0805f56.js";import"./p-d176c2ae.js";const x=class{constructor(t){o(this,t),this.resize=void 0,this.labelPosition=void 0,this.computedLabelPosition="above",this.disabled=void 0,this.required=!0,this.hasError=!1,this.hasHelp=!1}onMutation(){this.hasError=a(this.root,"error"),this.hasHelp=a(this.root,"help")}componentWillLoad(){this.setInput(),this.setLabel(),this.hasError=a(this.root,"error"),this.hasHelp=a(this.root,"help"),h(this.root,{variant:this.variant})}componentDidLoad(){this.updateHeight(this.textareaContainerElement,this.input,this.resize)}disconnectedCallback(){this.disabledObserver&&this.disabledObserver.disconnect(),this.requiredObserver&&this.requiredObserver.disconnect()}render(){return t(p,{labelPosition:this.computedLabelPosition},t(g,{position:this.computedLabelPosition,required:this.required},t("slot",{name:"label",onSlotchange:()=>this.setLabel()})),t("div",{class:"gux-input-and-error-container"},t("div",{ref:o=>this.textareaContainerElement=o,class:{"gux-input":!0,[`gux-resize-${this.resize}`]:!0,"gux-disabled":this.disabled,"gux-input-error":this.hasError}},t("slot",{name:"input"})),t(s,{show:this.hasError},t("slot",{name:"error"})),t(u,{show:!this.hasError&&this.hasHelp},t("slot",{name:"help"}))))}get variant(){const o=this.labelPosition?this.labelPosition.toLowerCase():"none";return`${this.resize}-${o}`}setInput(){this.input=this.root.querySelector('textarea[slot="input"]'),l(this.input),this.updateHeight(this.textareaContainerElement,this.input,this.resize),this.input.addEventListener("input",(()=>{this.updateHeight(this.textareaContainerElement,this.input,this.resize)})),this.disabled=i(this.input),this.required=this.input.required,this.disabledObserver=r(this.input,(o=>{this.disabled=o})),this.requiredObserver=n(this.input,(o=>{this.required=o})),d(this.root,this.input)}setLabel(){this.label=this.root.querySelector('label[slot="label"]'),this.computedLabelPosition=c(this.label,this.labelPosition)}updateHeight(o,t,e){"auto"===e&&o&&(o.dataset.replicatedValue=t.value,o.style.maxHeight=t.style.maxHeight)}get root(){return e(this)}};(function(o,t,e,i){var r,f=arguments.length,n=f<3?t:null===i?i=Object.getOwnPropertyDescriptor(t,e):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)n=Reflect.decorate(o,t,e,i);else for(var l=o.length-1;l>=0;l--)(r=o[l])&&(n=(f<3?r(n):f>3?r(t,e,n):r(t,e))||n);f>3&&n&&Object.defineProperty(t,e,n)})([f({childList:!0,subtree:!0})],x.prototype,"onMutation",null),x.style='.gux-focus-ring-focused:focus{outline:3px solid #aac9ff;outline-offset:1px;box-shadow:0 0 0 1px #fdfdfd}.gux-focus-ring-focused-within:focus-within{outline:3px solid #aac9ff;outline-offset:1px;box-shadow:0 0 0 1px #fdfdfd}.gux-focus-ring-focused-visible:focus-visible{outline:3px solid #aac9ff;outline-offset:1px;box-shadow:0 0 0 1px #fdfdfd}.gux-focus-ring-small-focused:focus{outline:2px solid #aac9ff;outline-offset:0}.gux-focus-ring-small-focused-within:focus-within{outline:2px solid #aac9ff;outline-offset:0}.gux-focus-ring-small-focused-visible:focus-visible{outline:2px solid #aac9ff;outline-offset:0}.gux-focus-ring-focused:focus{outline:3px solid #aac9ff;outline-offset:1px;box-shadow:0 0 0 1px #fdfdfd}.gux-focus-ring-focused-within:focus-within{outline:3px solid #aac9ff;outline-offset:1px;box-shadow:0 0 0 1px #fdfdfd}.gux-focus-ring-focused-visible:focus-visible{outline:3px solid #aac9ff;outline-offset:1px;box-shadow:0 0 0 1px #fdfdfd}.gux-focus-ring-small-focused:focus{outline:2px solid #aac9ff;outline-offset:0}.gux-focus-ring-small-focused-within:focus-within{outline:2px solid #aac9ff;outline-offset:0}.gux-focus-ring-small-focused-visible:focus-visible{outline:2px solid #aac9ff;outline-offset:0}@font-face{font-family:Roboto;font-style:normal;font-weight:300;src:url("./fonts/roboto-v20-latin-300.eot");src:local("Roboto Light"), local("Roboto-Light"), url("./fonts/roboto-v20-latin-300.eot?#iefix") format("embedded-opentype"), url("./fonts/roboto-v20-latin-300.woff2") format("woff2"), url("./fonts/roboto-v20-latin-300.woff") format("woff"), url("./fonts/roboto-v20-latin-300.ttf") format("truetype"), url("./fonts/roboto-v20-latin-300.svg#Roboto") format("svg");}@font-face{font-family:Roboto;font-style:normal;font-weight:400;src:url("./fonts/roboto-v20-latin-regular.eot");src:local("Roboto"), local("Roboto-Regular"), url("./fonts/roboto-v20-latin-regular.eot?#iefix") format("embedded-opentype"), url("./fonts/roboto-v20-latin-regular.woff2") format("woff2"), url("./fonts/roboto-v20-latin-regular.woff") format("woff"), url("./fonts/roboto-v20-latin-regular.ttf") format("truetype"), url("./fonts/roboto-v20-latin-regular.svg#Roboto") format("svg");}@font-face{font-family:Roboto;font-style:italic;font-weight:400;src:url("./fonts/roboto-v20-latin-italic.eot");src:local("Roboto Italic"), local("Roboto-Italic"), url("./fonts/roboto-v20-latin-italic.eot?#iefix") format("embedded-opentype"), url("./fonts/roboto-v20-latin-italic.woff2") format("woff2"), url("./fonts/roboto-v20-latin-italic.woff") format("woff"), url("./fonts/roboto-v20-latin-italic.ttf") format("truetype"), url("./fonts/roboto-v20-latin-italic.svg#Roboto") format("svg");}@font-face{font-family:Roboto;font-style:normal;font-weight:700;src:url("./fonts/roboto-v20-latin-700.eot");src:local("Roboto Bold"), local("Roboto-Bold"), url("./fonts/roboto-v20-latin-700.eot?#iefix") format("embedded-opentype"), url("./fonts/roboto-v20-latin-700.woff2") format("woff2"), url("./fonts/roboto-v20-latin-700.woff") format("woff"), url("./fonts/roboto-v20-latin-700.ttf") format("truetype"), url("./fonts/roboto-v20-latin-700.svg#Roboto") format("svg");}body{font-family:Roboto, sans-serif;font-weight:400;font-size:12px;line-height:20px}h1{font-family:Roboto, sans-serif;font-weight:400;font-weight:300;font-size:24px;line-height:32px}h2{font-family:Roboto, sans-serif;font-weight:400;font-weight:300;font-size:18px;line-height:24px}h3{font-family:Roboto, sans-serif;font-weight:400;font-weight:700;font-size:14px;line-height:20px}h4,h5,h6{font-family:Roboto, sans-serif;font-weight:400;font-size:14px;line-height:20px}.gux-icon-anchor gux-icon{padding-right:2px}a{color:#2a60c8;text-decoration:underline;border-radius:2px}a:hover{color:#2754ac}a:active{color:#23478f}a:focus-visible{outline:3px solid #aac9ff;outline-offset:1px;box-shadow:0 0 0 1px #fdfdfd}table a{color:#2a60c8;text-decoration:underline;border-radius:2px;text-decoration:none}table a:hover{color:#2754ac}table a:active{color:#23478f}table a:focus-visible{outline:3px solid #aac9ff;outline-offset:1px;box-shadow:0 0 0 1px #fdfdfd}.gux-focus-ring-focused:focus{outline:3px solid #aac9ff;outline-offset:1px;box-shadow:0 0 0 1px #fdfdfd}.gux-focus-ring-focused-within:focus-within{outline:3px solid #aac9ff;outline-offset:1px;box-shadow:0 0 0 1px #fdfdfd}.gux-focus-ring-focused-visible:focus-visible{outline:3px solid #aac9ff;outline-offset:1px;box-shadow:0 0 0 1px #fdfdfd}.gux-focus-ring-small-focused:focus{outline:2px solid #aac9ff;outline-offset:0}.gux-focus-ring-small-focused-within:focus-within{outline:2px solid #aac9ff;outline-offset:0}.gux-focus-ring-small-focused-visible:focus-visible{outline:2px solid #aac9ff;outline-offset:0}@font-face{font-family:Roboto;font-style:normal;font-weight:300;src:url("./fonts/roboto-v20-latin-300.eot");src:local("Roboto Light"), local("Roboto-Light"), url("./fonts/roboto-v20-latin-300.eot?#iefix") format("embedded-opentype"), url("./fonts/roboto-v20-latin-300.woff2") format("woff2"), url("./fonts/roboto-v20-latin-300.woff") format("woff"), url("./fonts/roboto-v20-latin-300.ttf") format("truetype"), url("./fonts/roboto-v20-latin-300.svg#Roboto") format("svg");}@font-face{font-family:Roboto;font-style:normal;font-weight:400;src:url("./fonts/roboto-v20-latin-regular.eot");src:local("Roboto"), local("Roboto-Regular"), url("./fonts/roboto-v20-latin-regular.eot?#iefix") format("embedded-opentype"), url("./fonts/roboto-v20-latin-regular.woff2") format("woff2"), url("./fonts/roboto-v20-latin-regular.woff") format("woff"), url("./fonts/roboto-v20-latin-regular.ttf") format("truetype"), url("./fonts/roboto-v20-latin-regular.svg#Roboto") format("svg");}@font-face{font-family:Roboto;font-style:italic;font-weight:400;src:url("./fonts/roboto-v20-latin-italic.eot");src:local("Roboto Italic"), local("Roboto-Italic"), url("./fonts/roboto-v20-latin-italic.eot?#iefix") format("embedded-opentype"), url("./fonts/roboto-v20-latin-italic.woff2") format("woff2"), url("./fonts/roboto-v20-latin-italic.woff") format("woff"), url("./fonts/roboto-v20-latin-italic.ttf") format("truetype"), url("./fonts/roboto-v20-latin-italic.svg#Roboto") format("svg");}@font-face{font-family:Roboto;font-style:normal;font-weight:700;src:url("./fonts/roboto-v20-latin-700.eot");src:local("Roboto Bold"), local("Roboto-Bold"), url("./fonts/roboto-v20-latin-700.eot?#iefix") format("embedded-opentype"), url("./fonts/roboto-v20-latin-700.woff2") format("woff2"), url("./fonts/roboto-v20-latin-700.woff") format("woff"), url("./fonts/roboto-v20-latin-700.ttf") format("truetype"), url("./fonts/roboto-v20-latin-700.svg#Roboto") format("svg");}body{font-family:Roboto, sans-serif;font-weight:400;font-size:12px;line-height:20px}h1{font-family:Roboto, sans-serif;font-weight:400;font-weight:300;font-size:24px;line-height:32px}h2{font-family:Roboto, sans-serif;font-weight:400;font-weight:300;font-size:18px;line-height:24px}h3{font-family:Roboto, sans-serif;font-weight:400;font-weight:700;font-size:14px;line-height:20px}h4,h5,h6{font-family:Roboto, sans-serif;font-weight:400;font-size:14px;line-height:20px}.gux-icon-anchor gux-icon{padding-right:2px}a{color:#2a60c8;text-decoration:underline;border-radius:2px}a:hover{color:#2754ac}a:active{color:#23478f}a:focus-visible{outline:3px solid #aac9ff;outline-offset:1px;box-shadow:0 0 0 1px #fdfdfd}table a{color:#2a60c8;text-decoration:underline;border-radius:2px;text-decoration:none}table a:hover{color:#2754ac}table a:active{color:#23478f}table a:focus-visible{outline:3px solid #aac9ff;outline-offset:1px;box-shadow:0 0 0 1px #fdfdfd}.gux-form-field-container.gux-beside{display:flex;flex-direction:row}.gux-form-field-error{display:none;flex-direction:row;flex-wrap:nowrap;align-content:stretch;align-items:flex-start;justify-content:flex-start;padding:var(--gse-ui-formControl-helper-errorPadding);font-family:var(--gse-ui-formControl-helper-helperText-fontFamily);font-size:var(--gse-ui-formControl-helper-helperText-fontSize);line-height:var(--gse-ui-formControl-helper-helperText-lineHeight);color:var(--gse-ui-formControl-helper-errorColor)}.gux-form-field-error.gux-show{display:flex}.gux-form-field-error gux-icon{flex:0 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-label.gux-required::after{color:var(--gse-ui-formControl-label-indicator-requiredColor);content:" *"}.gux-form-field-label.gux-beside{position:relative;top:8px;width:fit-content;min-width:45px;margin-right:var(--gse-ui-formControl-label-gap)}.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;align-content:stretch;align-items:flex-start;justify-content:flex-start;padding:var(--gse-ui-formControl-helper-padding);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);line-height:var(--gse-ui-formControl-label-text-lineHeight);font-size:var(--gse-ui-formControl-label-text-fontSize);color:var(--gse-ui-formControl-label-labelColor);font-weight:var(--gse-ui-formControl-label-text-fontWeight)}::slotted(textarea){flex:1 1 auto;align-self:auto;order:0;color:var(--gse-ui-formControl-input-populatedColor);font-family:inherit;font-family:var(--gse-ui-formControl-input-contentText-fontFamily);line-height:var(--gse-ui-formControl-input-contentText-lineHeight);font-size:var(--gse-ui-formControl-input-contentText-fontSize);font-weight:var(--gse-ui-formControl-input-contentText-fontWeight);resize:vertical;background-color:var(--gse-ui-formControl-input-backgroundColor);background-image:none;border:none;border-radius:var(--gse-ui-formControl-input-borderRadius);outline:none;padding:var(--gse-ui-formControl-textarea-padding);margin:0}::slotted(textarea)::placeholder{color:var(--gse-ui-formControl-input-placeholderColor);opacity:1}::slotted(textarea)[disabled]{opacity:var(--gse-ui-formControl-input-disabled-opacity)}.gux-input-and-error-container{flex-grow:1}.gux-input-and-error-container .gux-input{position:relative;display:flex;border:var(--gse-ui-formControl-input-default-border-width) var(--gse-ui-formControl-input-default-border-style) var(--gse-ui-formControl-input-default-border-color);border-radius:var(--gse-ui-formControl-input-borderRadius);outline:none}.gux-input-and-error-container .gux-input:focus-within{outline:var(--gse-ui-formControl-input-focus-border-width) var(--gse-ui-formControl-input-focus-border-style) var(--gse-ui-formControl-input-focus-border-color);border:var(--gse-ui-formControl-input-active-border-width) var(--gse-ui-formControl-input-active-border-style) var(--gse-ui-formControl-input-active-border-color);border-radius:var(--gse-ui-formControl-focusRing-borderRadius)}.gux-input-and-error-container .gux-input:hover:not(.gux-disabled){border:var(--gse-ui-formControl-input-hover-border-width) var(--gse-ui-formControl-input-hover-border-style) var(--gse-ui-formControl-input-hover-border-color)}.gux-input-and-error-container .gux-input.gux-input-error{border-color:var(--gse-ui-formControl-input-error-border-color)}.gux-input-and-error-container .gux-input.gux-disabled{opacity:var(--gse-ui-formControl-input-disabled-opacity)}.gux-input-and-error-container .gux-input.gux-resize-none ::slotted(textarea){resize:none}.gux-input-and-error-container .gux-input.gux-resize-auto{display:grid;overflow:hidden;word-break:normal;word-break:break-word;overflow-wrap:anywhere}.gux-input-and-error-container .gux-input.gux-resize-auto::after{grid-row-start:1;grid-row-end:2;grid-column-start:1;grid-column-end:2;white-space:pre-wrap;visibility:hidden;content:attr(data-replicated-value) " ";padding:var(--gse-ui-formControl-textarea-padding);margin:0}.gux-input-and-error-container .gux-input.gux-resize-auto ::slotted(textarea){grid-row-start:1;grid-row-end:2;grid-column-start:1;grid-column-end:2;overflow-x:hidden;resize:none}';export{x as gux_form_field_textarea}
@@ -1,5 +0,0 @@
1
- /**
2
- * Below are the max-widths for the blank state component.
3
- */
4
- export declare const SMALL_STATE = 160;
5
- export declare const MEDIUM_STATE = 300;
@@ -1 +0,0 @@
1
- export type GuxBlankStateSizes = 'small' | 'medium' | 'large';