genesys-spark-components 4.0.0-beta.5 → 4.0.0-beta.6

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 (249) hide show
  1. package/dist/cjs/gux-accordion.cjs.entry.js +1 -1
  2. package/dist/cjs/gux-action-button.cjs.entry.js +1 -1
  3. package/dist/cjs/gux-action-toast-legacy.cjs.entry.js +1 -1
  4. package/dist/cjs/gux-advanced-dropdown.cjs.entry.js +1 -1
  5. package/dist/cjs/gux-announce-beta.cjs.entry.js +1 -1
  6. package/dist/cjs/gux-badge-beta.cjs.entry.js +1 -1
  7. package/dist/cjs/gux-blank-state-beta.cjs.entry.js +1 -1
  8. package/dist/cjs/gux-breadcrumbs.cjs.entry.js +1 -1
  9. package/dist/cjs/gux-button-multi.cjs.entry.js +1 -1
  10. package/dist/cjs/gux-button-slot-beta.cjs.entry.js +1 -1
  11. package/dist/cjs/gux-button.cjs.entry.js +1 -1
  12. package/dist/cjs/gux-calendar.cjs.entry.js +1 -1
  13. package/dist/cjs/gux-card.cjs.entry.js +1 -1
  14. package/dist/cjs/gux-column-manager-beta.cjs.entry.js +1 -1
  15. package/dist/cjs/gux-content-search.cjs.entry.js +1 -1
  16. package/dist/cjs/gux-context-menu-beta.cjs.entry.js +1 -1
  17. package/dist/cjs/gux-copy-to-clipboard.cjs.entry.js +1 -1
  18. package/dist/cjs/gux-date-beta.cjs.entry.js +1 -1
  19. package/dist/cjs/gux-date-time-beta.cjs.entry.js +1 -1
  20. package/dist/cjs/gux-datepicker.cjs.entry.js +1 -1
  21. package/dist/cjs/gux-disclosure-button.cjs.entry.js +1 -1
  22. package/dist/cjs/gux-dismiss-button.cjs.entry.js +1 -1
  23. package/dist/cjs/gux-dropdown-multi-beta.cjs.entry.js +1 -1
  24. package/dist/cjs/gux-dropdown_3.cjs.entry.js +1 -1
  25. package/dist/cjs/gux-error-message-beta.cjs.entry.js +1 -1
  26. package/dist/cjs/gux-flyout-menu-beta.cjs.entry.js +1 -1
  27. package/dist/cjs/gux-form-field-checkbox.cjs.entry.js +1 -1
  28. package/dist/cjs/gux-form-field-color.cjs.entry.js +1 -1
  29. package/dist/cjs/gux-form-field-dropdown.cjs.entry.js +1 -1
  30. package/dist/cjs/gux-form-field-input-clear-button.cjs.entry.js +1 -1
  31. package/dist/cjs/gux-form-field-number_3.cjs.entry.js +1 -1
  32. package/dist/cjs/gux-form-field-phone.cjs.entry.js +1 -1
  33. package/dist/cjs/gux-form-field-radio.cjs.entry.js +1 -1
  34. package/dist/cjs/gux-form-field-range.cjs.entry.js +1 -1
  35. package/dist/cjs/gux-form-field-search.cjs.entry.js +1 -1
  36. package/dist/cjs/gux-form-field-select.cjs.entry.js +1 -1
  37. package/dist/cjs/gux-form-field-text-like.cjs.entry.js +1 -1
  38. package/dist/cjs/gux-form-field-textarea.cjs.entry.js +1 -1
  39. package/dist/cjs/gux-form-field-time-picker.cjs.entry.js +1 -1
  40. package/dist/cjs/gux-icon.cjs.entry.js +1 -1
  41. package/dist/cjs/gux-inline-alert.cjs.entry.js +2 -2
  42. package/dist/cjs/gux-list.cjs.entry.js +1 -1
  43. package/dist/cjs/gux-listbox-multi.cjs.entry.js +1 -1
  44. package/dist/cjs/gux-loading-message-beta.cjs.entry.js +1 -1
  45. package/dist/cjs/gux-modal.cjs.entry.js +1 -1
  46. package/dist/cjs/gux-month-picker-beta.cjs.entry.js +1 -1
  47. package/dist/cjs/gux-notification-toast-legacy.cjs.entry.js +1 -1
  48. package/dist/cjs/gux-page-loading-spinner.cjs.entry.js +1 -1
  49. package/dist/cjs/gux-pagination-beta.cjs.entry.js +1 -1
  50. package/dist/cjs/gux-pagination-cursor.cjs.entry.js +1 -1
  51. package/dist/cjs/gux-pagination.cjs.entry.js +1 -1
  52. package/dist/cjs/gux-phone-input-beta.cjs.entry.js +1 -1
  53. package/dist/cjs/gux-popover-list-beta.cjs.entry.js +1 -1
  54. package/dist/cjs/gux-popover-list.cjs.entry.js +1 -1
  55. package/dist/cjs/gux-popover.cjs.entry.js +1 -1
  56. package/dist/cjs/gux-radial-loading.cjs.entry.js +1 -1
  57. package/dist/cjs/gux-radial-progress.cjs.entry.js +1 -1
  58. package/dist/cjs/gux-rating.cjs.entry.js +1 -1
  59. package/dist/cjs/gux-region-icon.cjs.entry.js +1 -1
  60. package/dist/cjs/gux-screen-reader-beta.cjs.entry.js +1 -1
  61. package/dist/cjs/gux-simple-toast-legacy.cjs.entry.js +1 -1
  62. package/dist/cjs/gux-skip-navigation-list-beta.cjs.entry.js +1 -1
  63. package/dist/cjs/gux-sort-control.cjs.entry.js +1 -1
  64. package/dist/cjs/gux-switch.cjs.entry.js +1 -1
  65. package/dist/cjs/gux-table-beta.cjs.entry.js +1 -1
  66. package/dist/cjs/gux-table-toolbar-action.cjs.entry.js +1 -1
  67. package/dist/cjs/gux-table-toolbar-beta.cjs.entry.js +1 -1
  68. package/dist/cjs/gux-table-toolbar-custom-action.cjs.entry.js +1 -1
  69. package/dist/cjs/gux-table-toolbar-menu-button.cjs.entry.js +1 -1
  70. package/dist/cjs/gux-tabs-advanced.cjs.entry.js +1 -1
  71. package/dist/cjs/gux-tabs.cjs.entry.js +1 -1
  72. package/dist/cjs/gux-tag-beta.cjs.entry.js +1 -1
  73. package/dist/cjs/gux-text-highlight.cjs.entry.js +1 -1
  74. package/dist/cjs/gux-time-beta.cjs.entry.js +1 -1
  75. package/dist/cjs/gux-time-picker-beta.cjs.entry.js +1 -1
  76. package/dist/cjs/gux-toast.cjs.entry.js +1 -1
  77. package/dist/cjs/gux-toggle.cjs.entry.js +1 -1
  78. package/dist/cjs/gux-tooltip.cjs.entry.js +1 -1
  79. package/dist/cjs/{usage-2c2d30d0.js → usage-1f95509f.js} +1 -1
  80. package/dist/collection/components/stable/gux-alert/gux-inline-alert.css +2 -1
  81. package/dist/deploy-info.json +3 -3
  82. package/dist/esm/gux-accordion.entry.js +1 -1
  83. package/dist/esm/gux-action-button.entry.js +1 -1
  84. package/dist/esm/gux-action-toast-legacy.entry.js +1 -1
  85. package/dist/esm/gux-advanced-dropdown.entry.js +1 -1
  86. package/dist/esm/gux-announce-beta.entry.js +1 -1
  87. package/dist/esm/gux-badge-beta.entry.js +1 -1
  88. package/dist/esm/gux-blank-state-beta.entry.js +1 -1
  89. package/dist/esm/gux-breadcrumbs.entry.js +1 -1
  90. package/dist/esm/gux-button-multi.entry.js +1 -1
  91. package/dist/esm/gux-button-slot-beta.entry.js +1 -1
  92. package/dist/esm/gux-button.entry.js +1 -1
  93. package/dist/esm/gux-calendar.entry.js +1 -1
  94. package/dist/esm/gux-card.entry.js +1 -1
  95. package/dist/esm/gux-column-manager-beta.entry.js +1 -1
  96. package/dist/esm/gux-content-search.entry.js +1 -1
  97. package/dist/esm/gux-context-menu-beta.entry.js +1 -1
  98. package/dist/esm/gux-copy-to-clipboard.entry.js +1 -1
  99. package/dist/esm/gux-date-beta.entry.js +1 -1
  100. package/dist/esm/gux-date-time-beta.entry.js +1 -1
  101. package/dist/esm/gux-datepicker.entry.js +1 -1
  102. package/dist/esm/gux-disclosure-button.entry.js +1 -1
  103. package/dist/esm/gux-dismiss-button.entry.js +1 -1
  104. package/dist/esm/gux-dropdown-multi-beta.entry.js +1 -1
  105. package/dist/esm/gux-dropdown_3.entry.js +1 -1
  106. package/dist/esm/gux-error-message-beta.entry.js +1 -1
  107. package/dist/esm/gux-flyout-menu-beta.entry.js +1 -1
  108. package/dist/esm/gux-form-field-checkbox.entry.js +1 -1
  109. package/dist/esm/gux-form-field-color.entry.js +1 -1
  110. package/dist/esm/gux-form-field-dropdown.entry.js +1 -1
  111. package/dist/esm/gux-form-field-input-clear-button.entry.js +1 -1
  112. package/dist/esm/gux-form-field-number_3.entry.js +1 -1
  113. package/dist/esm/gux-form-field-phone.entry.js +1 -1
  114. package/dist/esm/gux-form-field-radio.entry.js +1 -1
  115. package/dist/esm/gux-form-field-range.entry.js +1 -1
  116. package/dist/esm/gux-form-field-search.entry.js +1 -1
  117. package/dist/esm/gux-form-field-select.entry.js +1 -1
  118. package/dist/esm/gux-form-field-text-like.entry.js +1 -1
  119. package/dist/esm/gux-form-field-textarea.entry.js +1 -1
  120. package/dist/esm/gux-form-field-time-picker.entry.js +1 -1
  121. package/dist/esm/gux-icon.entry.js +1 -1
  122. package/dist/esm/gux-inline-alert.entry.js +2 -2
  123. package/dist/esm/gux-list.entry.js +1 -1
  124. package/dist/esm/gux-listbox-multi.entry.js +1 -1
  125. package/dist/esm/gux-loading-message-beta.entry.js +1 -1
  126. package/dist/esm/gux-modal.entry.js +1 -1
  127. package/dist/esm/gux-month-picker-beta.entry.js +1 -1
  128. package/dist/esm/gux-notification-toast-legacy.entry.js +1 -1
  129. package/dist/esm/gux-page-loading-spinner.entry.js +1 -1
  130. package/dist/esm/gux-pagination-beta.entry.js +1 -1
  131. package/dist/esm/gux-pagination-cursor.entry.js +1 -1
  132. package/dist/esm/gux-pagination.entry.js +1 -1
  133. package/dist/esm/gux-phone-input-beta.entry.js +1 -1
  134. package/dist/esm/gux-popover-list-beta.entry.js +1 -1
  135. package/dist/esm/gux-popover-list.entry.js +1 -1
  136. package/dist/esm/gux-popover.entry.js +1 -1
  137. package/dist/esm/gux-radial-loading.entry.js +1 -1
  138. package/dist/esm/gux-radial-progress.entry.js +1 -1
  139. package/dist/esm/gux-rating.entry.js +1 -1
  140. package/dist/esm/gux-region-icon.entry.js +1 -1
  141. package/dist/esm/gux-screen-reader-beta.entry.js +1 -1
  142. package/dist/esm/gux-simple-toast-legacy.entry.js +1 -1
  143. package/dist/esm/gux-skip-navigation-list-beta.entry.js +1 -1
  144. package/dist/esm/gux-sort-control.entry.js +1 -1
  145. package/dist/esm/gux-switch.entry.js +1 -1
  146. package/dist/esm/gux-table-beta.entry.js +1 -1
  147. package/dist/esm/gux-table-toolbar-action.entry.js +1 -1
  148. package/dist/esm/gux-table-toolbar-beta.entry.js +1 -1
  149. package/dist/esm/gux-table-toolbar-custom-action.entry.js +1 -1
  150. package/dist/esm/gux-table-toolbar-menu-button.entry.js +1 -1
  151. package/dist/esm/gux-tabs-advanced.entry.js +1 -1
  152. package/dist/esm/gux-tabs.entry.js +1 -1
  153. package/dist/esm/gux-tag-beta.entry.js +1 -1
  154. package/dist/esm/gux-text-highlight.entry.js +1 -1
  155. package/dist/esm/gux-time-beta.entry.js +1 -1
  156. package/dist/esm/gux-time-picker-beta.entry.js +1 -1
  157. package/dist/esm/gux-toast.entry.js +1 -1
  158. package/dist/esm/gux-toggle.entry.js +1 -1
  159. package/dist/esm/gux-tooltip.entry.js +1 -1
  160. package/dist/esm/{usage-6a065244.js → usage-10ac856a.js} +1 -1
  161. package/dist/genesys-webcomponents/genesys-webcomponents.esm.js +1 -1
  162. package/dist/genesys-webcomponents/{p-9756b007.entry.js → p-03ed4af5.entry.js} +1 -1
  163. package/dist/genesys-webcomponents/{p-62a9f3bc.entry.js → p-0408f0a9.entry.js} +1 -1
  164. package/dist/genesys-webcomponents/{p-9839e3a1.entry.js → p-06c15cff.entry.js} +1 -1
  165. package/dist/genesys-webcomponents/{p-59146356.entry.js → p-076452db.entry.js} +1 -1
  166. package/dist/genesys-webcomponents/{p-daba61db.entry.js → p-09df19dd.entry.js} +1 -1
  167. package/dist/genesys-webcomponents/{p-2e27167a.entry.js → p-0b227ae0.entry.js} +1 -1
  168. package/dist/genesys-webcomponents/{p-e2547280.entry.js → p-0c5dd6a5.entry.js} +1 -1
  169. package/dist/genesys-webcomponents/{p-85678958.entry.js → p-11af1408.entry.js} +1 -1
  170. package/dist/genesys-webcomponents/{p-f49c69b9.entry.js → p-12c6d778.entry.js} +1 -1
  171. package/dist/genesys-webcomponents/{p-46578cdc.entry.js → p-157c1eb1.entry.js} +1 -1
  172. package/dist/genesys-webcomponents/{p-3bbd394d.entry.js → p-15a62730.entry.js} +1 -1
  173. package/dist/genesys-webcomponents/{p-6b6048c4.entry.js → p-17e2cce2.entry.js} +1 -1
  174. package/dist/genesys-webcomponents/{p-e7468691.entry.js → p-1f39ee30.entry.js} +1 -1
  175. package/dist/genesys-webcomponents/{p-7d6cf29d.entry.js → p-208d89a8.entry.js} +1 -1
  176. package/dist/genesys-webcomponents/{p-8901b0d7.entry.js → p-22102471.entry.js} +1 -1
  177. package/dist/genesys-webcomponents/{p-995fd359.entry.js → p-281b6feb.entry.js} +1 -1
  178. package/dist/genesys-webcomponents/{p-bba252b0.entry.js → p-28b4f8ce.entry.js} +1 -1
  179. package/dist/genesys-webcomponents/{p-724178a7.entry.js → p-2964e67c.entry.js} +1 -1
  180. package/dist/genesys-webcomponents/{p-e1558f84.js → p-2a13ca65.js} +1 -1
  181. package/dist/genesys-webcomponents/p-2c0e117b.entry.js +1 -0
  182. package/dist/genesys-webcomponents/p-2e0d2eac.entry.js +1 -0
  183. package/dist/genesys-webcomponents/{p-e874ef2c.entry.js → p-304cd421.entry.js} +1 -1
  184. package/dist/genesys-webcomponents/{p-d09a04e9.entry.js → p-3233b10a.entry.js} +1 -1
  185. package/dist/genesys-webcomponents/{p-24c8a3da.entry.js → p-329fe457.entry.js} +1 -1
  186. package/dist/genesys-webcomponents/{p-9b497375.entry.js → p-34bff129.entry.js} +1 -1
  187. package/dist/genesys-webcomponents/{p-1a990281.entry.js → p-3ac0ea21.entry.js} +1 -1
  188. package/dist/genesys-webcomponents/{p-7ec73c98.entry.js → p-3c71d470.entry.js} +1 -1
  189. package/dist/genesys-webcomponents/{p-fbb3071b.entry.js → p-46e71d1e.entry.js} +1 -1
  190. package/dist/genesys-webcomponents/{p-5265f3e0.entry.js → p-49392896.entry.js} +1 -1
  191. package/dist/genesys-webcomponents/{p-8797ebd7.entry.js → p-4f7c7feb.entry.js} +1 -1
  192. package/dist/genesys-webcomponents/{p-eb2eaa6f.entry.js → p-50efe901.entry.js} +1 -1
  193. package/dist/genesys-webcomponents/{p-7e9f97c7.entry.js → p-52854b65.entry.js} +1 -1
  194. package/dist/genesys-webcomponents/{p-3fb11797.entry.js → p-60694c1d.entry.js} +1 -1
  195. package/dist/genesys-webcomponents/{p-864044af.entry.js → p-61559499.entry.js} +1 -1
  196. package/dist/genesys-webcomponents/p-61d914b3.entry.js +1 -0
  197. package/dist/genesys-webcomponents/{p-1f3c3a89.entry.js → p-6f4ccbd8.entry.js} +1 -1
  198. package/dist/genesys-webcomponents/{p-ae031b68.entry.js → p-746103e9.entry.js} +1 -1
  199. package/dist/genesys-webcomponents/{p-5bae9e84.entry.js → p-7532a270.entry.js} +1 -1
  200. package/dist/genesys-webcomponents/p-78f35038.entry.js +1 -0
  201. package/dist/genesys-webcomponents/{p-de1e0b57.entry.js → p-808629e5.entry.js} +1 -1
  202. package/dist/genesys-webcomponents/{p-defd1281.entry.js → p-81e57bb9.entry.js} +1 -1
  203. package/dist/genesys-webcomponents/{p-52f443d6.entry.js → p-8c457a46.entry.js} +1 -1
  204. package/dist/genesys-webcomponents/{p-02834f4b.entry.js → p-8f126cbd.entry.js} +1 -1
  205. package/dist/genesys-webcomponents/{p-ada83f90.entry.js → p-90fa0bae.entry.js} +1 -1
  206. package/dist/genesys-webcomponents/{p-6df07350.entry.js → p-91a28bd3.entry.js} +1 -1
  207. package/dist/genesys-webcomponents/{p-db3fd2f0.entry.js → p-929dcd83.entry.js} +1 -1
  208. package/dist/genesys-webcomponents/{p-1dd2e1d2.entry.js → p-9390cb13.entry.js} +1 -1
  209. package/dist/genesys-webcomponents/{p-854eaa48.entry.js → p-9690e7fa.entry.js} +1 -1
  210. package/dist/genesys-webcomponents/p-96fd4c46.entry.js +1 -0
  211. package/dist/genesys-webcomponents/{p-c091c4d6.entry.js → p-9a20e913.entry.js} +1 -1
  212. package/dist/genesys-webcomponents/{p-284415fa.entry.js → p-9bd0ceaf.entry.js} +1 -1
  213. package/dist/genesys-webcomponents/{p-941df4de.entry.js → p-a5ecb0c7.entry.js} +1 -1
  214. package/dist/genesys-webcomponents/{p-398e3760.entry.js → p-a902d99f.entry.js} +1 -1
  215. package/dist/genesys-webcomponents/{p-43a195b0.entry.js → p-af02115d.entry.js} +1 -1
  216. package/dist/genesys-webcomponents/{p-f4cacd3c.entry.js → p-b1e168da.entry.js} +1 -1
  217. package/dist/genesys-webcomponents/{p-21266439.entry.js → p-c0e3b23d.entry.js} +1 -1
  218. package/dist/genesys-webcomponents/{p-14301475.entry.js → p-c33fcde7.entry.js} +1 -1
  219. package/dist/genesys-webcomponents/{p-62d3fbbd.entry.js → p-cc3174ef.entry.js} +1 -1
  220. package/dist/genesys-webcomponents/{p-5d67b3ab.entry.js → p-cfcdab63.entry.js} +1 -1
  221. package/dist/genesys-webcomponents/{p-c5c92fd8.entry.js → p-d2868f26.entry.js} +1 -1
  222. package/dist/genesys-webcomponents/{p-07ba6582.entry.js → p-d2a63bb2.entry.js} +1 -1
  223. package/dist/genesys-webcomponents/{p-aaf5194a.entry.js → p-d7289fa8.entry.js} +1 -1
  224. package/dist/genesys-webcomponents/{p-3efcf41d.entry.js → p-dd500089.entry.js} +1 -1
  225. package/dist/genesys-webcomponents/{p-2f704deb.entry.js → p-dd93419a.entry.js} +1 -1
  226. package/dist/genesys-webcomponents/{p-233c0566.entry.js → p-dee018b8.entry.js} +1 -1
  227. package/dist/genesys-webcomponents/{p-09260b54.entry.js → p-dfbc9442.entry.js} +1 -1
  228. package/dist/genesys-webcomponents/{p-cc9cfe49.entry.js → p-e2b5b02d.entry.js} +1 -1
  229. package/dist/genesys-webcomponents/{p-0f4dc346.entry.js → p-e2fa59f4.entry.js} +1 -1
  230. package/dist/genesys-webcomponents/{p-3befa564.entry.js → p-e3791a5d.entry.js} +1 -1
  231. package/dist/genesys-webcomponents/{p-634c85ec.entry.js → p-e7ec8c89.entry.js} +1 -1
  232. package/dist/genesys-webcomponents/{p-a9a8d206.entry.js → p-ec51e6f5.entry.js} +1 -1
  233. package/dist/genesys-webcomponents/{p-3f6a0e19.entry.js → p-ecbdd3b0.entry.js} +1 -1
  234. package/dist/genesys-webcomponents/{p-995a0981.entry.js → p-eceb2c2a.entry.js} +1 -1
  235. package/dist/genesys-webcomponents/{p-261dfba4.entry.js → p-ed82a48b.entry.js} +1 -1
  236. package/dist/genesys-webcomponents/{p-8b5e20b8.entry.js → p-ef880ee0.entry.js} +1 -1
  237. package/dist/genesys-webcomponents/{p-8afa9533.entry.js → p-efb1bb46.entry.js} +1 -1
  238. package/dist/genesys-webcomponents/p-f311a133.entry.js +1 -0
  239. package/dist/genesys-webcomponents/{p-52270d18.entry.js → p-f3e4e839.entry.js} +1 -1
  240. package/dist/genesys-webcomponents/{p-065dfcb5.entry.js → p-fa274900.entry.js} +1 -1
  241. package/dist/stencil-wrapper.js +1 -1
  242. package/dist/types/stencil-wrapper.d.ts +1 -1
  243. package/package.json +1 -1
  244. package/dist/genesys-webcomponents/p-54effc6d.entry.js +0 -1
  245. package/dist/genesys-webcomponents/p-68dc65c4.entry.js +0 -1
  246. package/dist/genesys-webcomponents/p-6fbe35ec.entry.js +0 -1
  247. package/dist/genesys-webcomponents/p-7946aac5.entry.js +0 -1
  248. package/dist/genesys-webcomponents/p-99b0b8e3.entry.js +0 -1
  249. package/dist/genesys-webcomponents/p-ad19fdb4.entry.js +0 -1
@@ -1,5 +1,5 @@
1
1
  import { r as registerInstance, h, H as Host, g as getElement } from './index-0b66fe2c.js';
2
- import { t as trackComponent } from './usage-6a065244.js';
2
+ import { t as trackComponent } from './usage-10ac856a.js';
3
3
  import { D as DateTimeFormatter } from './DateTimeFormatter-bb057477.js';
4
4
  import { g as getDesiredLocale } from './index-694d55cf.js';
5
5
  import './get-closest-element-1597503c.js';
@@ -3,7 +3,7 @@ import { O as OnClickOutside } from './on-click-outside-bc432a79.js';
3
3
  import { s as simulateNativeEvent } from './simulate-native-event-ac69961f.js';
4
4
  import { b as afterNextRender } from './after-next-render-ed0f7dcd.js';
5
5
  import { g as getDesiredLocale, b as buildI18nForComponent } from './index-694d55cf.js';
6
- import { t as trackComponent } from './usage-6a065244.js';
6
+ import { t as trackComponent } from './usage-10ac856a.js';
7
7
  import './get-closest-element-1597503c.js';
8
8
 
9
9
  const am = "AM";
@@ -1,5 +1,5 @@
1
1
  import { r as registerInstance, c as createEvent, h, g as getElement } from './index-0b66fe2c.js';
2
- import { t as trackComponent } from './usage-6a065244.js';
2
+ import { t as trackComponent } from './usage-10ac856a.js';
3
3
  import { h as hasSlot } from './has-slot-062ae63a.js';
4
4
 
5
5
  const guxToastCss = ".gux-toast{position:relative;display:flex;flex-direction:row;flex-wrap:nowrap;align-content:stretch;align-items:flex-start;justify-content:flex-start;gap:var(--gse-ui-toast-gap);width:var(--gse-ui-toast-wrappingWidth);padding:var(--gse-ui-toast-margin);margin-bottom:var(--gse-ui-toast-stacking-gap);border-radius:var(--gse-ui-toast-borderRadius);box-shadow:var(--gse-ui-toast-boxShadow-x) var(--gse-ui-toast-boxShadow-y) var(--gse-ui-toast-boxShadow-blur) var(--gse-ui-toast-boxShadow-spread) var(--gse-ui-toast-boxShadow-color)}.gux-toast .gux-icon ::slotted(gux-icon){width:var(--gse-ui-toast-icon) !important;height:var(--gse-ui-toast-icon) !important}.gux-toast .gux-icon gux-icon{width:var(--gse-ui-toast-icon) !important;height:var(--gse-ui-toast-icon) !important}.gux-toast .gux-icon.gux-icon-error{color:var(--gse-ui-toast-error-iconColor)}.gux-toast .gux-icon.gux-icon-warning{color:var(--gse-ui-toast-warning-iconColor)}.gux-toast .gux-icon.gux-icon-success{color:var(--gse-ui-toast-success-iconColor)}.gux-toast .gux-icon.gux-icon-info{color:var(--gse-ui-toast-info-iconColor)}.gux-toast .gux-icon.gux-icon-action{color:var(--gse-ui-toast-action-iconColor)}.gux-toast .gux-content{display:flex;flex:1 1 auto;flex-direction:column;flex-wrap:nowrap;align-content:stretch;align-items:flex-start;align-self:auto;justify-content:flex-start;order:0;gap:var(--gse-ui-toast-gapButton)}.gux-toast .gux-content .gux-message{display:flex;flex-direction:column;gap:var(--gse-ui-toast-gapText)}.gux-toast .gux-content .gux-message .gux-message-title{font-family:var(--gse-ui-toast-heading-fontFamily);line-height:var(--gse-ui-toast-heading-lineHeight);font-size:var(--gse-ui-toast-heading-fontSize);font-weight:var(--gse-ui-toast-heading-fontWeight)}.gux-toast .gux-content .gux-message .gux-message-body{font-family:var(--gse-ui-toast-text-fontFamily);line-height:var(--gse-ui-toast-text-lineHeight);font-size:var(--gse-ui-toast-text-fontSize)}.gux-toast .gux-content .gux-buttons-bar{display:flex;flex-direction:row;flex-wrap:nowrap;justify-content:flex-start;gap:var(--gse-ui-toast-buttonBar-gap)}.gux-toast.gux-toast-success{background-color:var(--gse-ui-toast-success-backgroundColor)}.gux-toast.gux-toast-success .gux-message{color:var(--gse-ui-toast-success-foregroundColor)}.gux-toast.gux-toast-warning{background-color:var(--gse-ui-toast-warning-backgroundColor)}.gux-toast.gux-toast-warning .gux-message{color:var(--gse-ui-toast-warning-foregroundColor)}.gux-toast.gux-toast-error{background-color:var(--gse-ui-toast-error-backgroundColor)}.gux-toast.gux-toast-error .gux-message{color:var(--gse-ui-toast-error-foregroundColor)}.gux-toast.gux-toast-info{background-color:var(--gse-ui-toast-info-backgroundColor)}.gux-toast.gux-toast-info .gux-message{color:var(--gse-ui-toast-info-foregroundColor)}.gux-toast.gux-toast-action{background-color:var(--gse-ui-toast-action-backgroundColor)}.gux-toast.gux-toast-action .gux-message{color:var(--gse-ui-toast-action-foregroundColor)}";
@@ -1,5 +1,5 @@
1
1
  import { r as registerInstance, c as createEvent, h, H as Host, g as getElement } from './index-0b66fe2c.js';
2
- import { t as trackComponent } from './usage-6a065244.js';
2
+ import { t as trackComponent } from './usage-10ac856a.js';
3
3
  import { r as randomHTMLId } from './random-html-id-8e3f658c.js';
4
4
  import { b as buildI18nForComponent } from './index-694d55cf.js';
5
5
  import './get-closest-element-1597503c.js';
@@ -1,7 +1,7 @@
1
1
  import { r as registerInstance, h, H as Host, g as getElement } from './index-0b66fe2c.js';
2
2
  import { a as autoUpdate, c as computePosition, o as offset, f as flip, s as shift } from './floating-ui.dom.esm-48871497.js';
3
3
  import { r as randomHTMLId } from './random-html-id-8e3f658c.js';
4
- import { t as trackComponent } from './usage-6a065244.js';
4
+ import { t as trackComponent } from './usage-10ac856a.js';
5
5
  import { f as findElementById } from './find-element-by-id-758a0703.js';
6
6
  import { b as afterNextRender } from './after-next-render-ed0f7dcd.js';
7
7
 
@@ -1,5 +1,5 @@
1
1
  const name = "genesys-spark-components";
2
- const version = "4.0.0-beta.5";
2
+ const version = "4.0.0-beta.6";
3
3
  const description = "Common webcomponents";
4
4
  const license = "MIT";
5
5
  const main = "dist/stencil-wrapper.js";
@@ -1 +1 @@
1
- import{p as e,b as o}from"./p-7d26b2e1.js";export{s as setNonce}from"./p-7d26b2e1.js";(()=>{const o=import.meta.url,t={};return""!==o&&(t.resourcesUrl=new URL(".",o).href),e(t)})().then((e=>o(JSON.parse('[["p-85678958",[[1,"gux-pagination-beta",{"layout":[1],"currentPage":[1026,"current-page"],"totalItems":[2,"total-items"],"itemsPerPage":[1026,"items-per-page"],"totalPages":[32],"displayedLayout":[32]}]]],["p-065dfcb5",[[1,"gux-pagination",{"currentPage":[1026,"current-page"],"totalItems":[2,"total-items"],"itemsPerPage":[1026,"items-per-page"],"layout":[1],"totalPages":[32]}]]],["p-21266439",[[1,"gux-pagination-cursor",{"hasPrevious":[4,"has-previous"],"hasNext":[4,"has-next"],"itemsPerPage":[2,"items-per-page"],"layout":[1]}]]],["p-7d6cf29d",[[1,"gux-phone-input-beta",{"value":[1025],"defaultRegion":[1,"default-region"],"labelId":[1,"label-id"],"hasError":[4,"has-error"],"disabled":[4],"required":[4],"phoneNumberFormat":[1,"phone-number-format"],"region":[32],"expanded":[32]},[[0,"internallistboxoptionsupdated","onInternallistboxoptionsupdated"],[0,"blur","onBlur"],[0,"focus","onFocus"],[0,"focusout","onFocusout"],[0,"focusin","onFocusin"]]]]],["p-02834f4b",[[1,"gux-month-picker-beta",{"value":[1025],"min":[1],"max":[1],"disabled":[4],"expanded":[32],"locale":[32]},[[0,"keydown","onKeyDown"]]]]],["p-5dd0ef71",[[4,"gux-tab-advanced",{"tabId":[1,"tab-id"],"guxDisabled":[4,"gux-disabled"],"active":[32],"popoverHidden":[32],"hasAnimated":[32],"guxSetActive":[64],"guxGetActive":[64],"guxFocus":[64]},[[0,"focusin","onFocusin"],[0,"focusout","onFocusout"],[0,"keydown","onKeydown"],[0,"keyup","onKeyup"],[0,"click","onClick"],[1,"mousedown","onMouseDown"]]]]],["p-284415fa",[[1,"gux-table-toolbar-beta",{"displayedLayout":[32],"hasContextDivider":[32]}]]],["p-724178a7",[[1,"gux-toast",{"toastType":[1,"toast-type"],"hasLink":[32],"hasPrimaryButton":[32],"hasSecondaryButton":[32]}]]],["p-995a0981",[[1,"gux-action-button",{"type":[1],"text":[1],"disabled":[4],"accent":[1],"isOpen":[1028,"is-open"]},[[0,"keydown","handleKeydown"],[0,"keyup","handleKeyup"]]]]],["p-c091c4d6",[[1,"gux-advanced-dropdown",{"disabled":[4],"placeholder":[1],"noFilter":[4,"no-filter"],"filterDebounceTimeout":[2,"filter-debounce-timeout"],"dropdownHeight":[1,"dropdown-height"],"srLabelledby":[32],"opened":[32],"currentlySelectedOption":[32],"selectionOptions":[32],"getSelectedValues":[64],"setLabeledBy":[64]}]]],["p-24c8a3da",[[1,"gux-button-multi",{"text":[1],"disabled":[4],"accent":[1],"isOpen":[1028,"is-open"]},[[0,"keydown","handleKeydown"],[0,"keyup","handleKeyup"]]]]],["p-43a195b0",[[1,"gux-column-manager-beta",{"highlightResults":[32],"keyboardOrderChange":[32]},[[0,"internal_order_change","handleInternalorderchange"],[0,"internal_keyboard_reorder_start","handleInternalkeyboardorderstart"],[0,"internal_keyboard_reorder_move","handleInternalkeyboardreordermove"],[0,"internal_keyboard_reorder_emit","handleInternalkeyboarddoreorder"],[0,"internal_keyboard_reorder_finish","handleInternalkeyboardorderfinish"]]]]],["p-1a990281",[[17,"gux-context-menu-beta",{"screenreaderText":[1,"screenreader-text"],"isOpen":[32]},[[0,"keydown","handleKeyDown"],[0,"keyup","handleKeyup"]]]]],["p-db3fd2f0",[[17,"gux-dropdown-multi-beta",{"value":[1025],"disabled":[4],"required":[4],"loading":[4],"placeholder":[1],"filterable":[4],"filterType":[1,"filter-type"],"hasError":[4,"has-error"],"hasCreate":[32],"expanded":[32],"textInput":[32],"getSelectedValues":[64]},[[0,"internalexpanded","onInternalExpanded"],[0,"internalcollapsed","onInternalCollapsed"],[0,"keydown","onKeydown"],[0,"internallistboxoptionsupdated","onInternallistboxoptionsupdated"],[0,"internalclearselected","onClearselected"],[0,"internalcreatenewoption","onCreatenewoption"],[0,"blur","onBlur"],[0,"focus","onFocus"],[0,"focusout","onFocusout"],[0,"focusin","onFocusin"]]]]],["p-8901b0d7",[[1,"gux-notification-toast-legacy",{"accent":[1]}]]],["p-0f4dc346",[[1,"gux-simple-toast-legacy",{"accent":[1]}]]],["p-8b5e20b8",[[1,"gux-time-picker-beta",{"value":[1025],"interval":[2],"step":[2],"disabled":[4],"required":[4],"hasError":[4,"has-error"],"clockType":[1025,"clock-type"],"expanded":[32]},[[0,"focus","onFocus"],[0,"blur","onBlur"],[0,"keydown","handleKeydown"]]]]],["p-941df4de",[[17,"gux-toggle",{"checked":[1028],"disabled":[4],"loading":[4],"checkedLabel":[1,"checked-label"],"uncheckedLabel":[1,"unchecked-label"],"labelPosition":[1,"label-position"],"errorMessage":[1,"error-message"],"displayInline":[4,"display-inline"]},[[0,"click","onClick"],[0,"keydown","onKeydown"]]]]],["p-0501a8ad",[[4,"gux-option-icon",{"value":[1],"iconName":[1,"icon-name"],"iconSrText":[1,"icon-sr-text"],"iconColor":[1,"icon-color"],"active":[4],"selected":[4],"disabled":[4],"filtered":[4],"hovered":[1028]},[[1,"mouseenter","onmouseenter"],[1,"mouseleave","onMouseleave"]]]]],["p-52f443d6",[[1,"gux-table-toolbar-action",{"action":[1],"accent":[1],"iconOnly":[4,"icon-only"],"disabled":[4]}]]],["p-d09a04e9",[[1,"gux-tag-beta",{"color":[1],"value":[1],"disabled":[4],"removable":[4],"accent":[32],"label":[32]},[[0,"keydown","onKeyDown"]]]]],["p-763ee30d",[[0,"gux-all-row-select",{"selected":[1028],"setIndeterminate":[64]},[[0,"input","onCheck"]]]]],["p-46578cdc",[[1,"gux-badge-beta",{"color":[1],"accent":[1],"bold":[4],"label":[32]}]]],["p-a95fbd3b",[[1,"gux-calendar-beta",{"focusedValue":[32],"minValue":[32],"maxValue":[32]}]]],["p-22a428f3",[[1,"gux-column-manager-item",{"orderId":[1,"order-id"],"highlightActive":[32],"highlight":[32],"text":[32],"pendingReorder":[32],"isDragging":[32],"isReordering":[32],"guxSetHighlight":[64],"guxFocus":[64]},[[0,"blur","onBlur"],[1,"dragstart","onDragStart"],[1,"dragenter","onDragEnter"],[0,"dragover","onDragOver"],[1,"dragleave","onDragLeave"],[1,"dragend","onDragEnd"],[1,"drop","onDrop"]]]]],["p-07ba6582",[[1,"gux-copy-to-clipboard",{"tooltipContent":[32]},[[1,"mouseleave","onMouseleave"],[0,"focusout","onFocusout"],[0,"focus","onFocus"]]]]],["p-5bae9e84",[[1,"gux-datepicker",{"value":[1025],"label":[1],"numberOfMonths":[1026,"number-of-months"],"startDayOfWeek":[2,"start-day-of-week"],"minDate":[1,"min-date"],"maxDate":[1,"max-date"],"mode":[1],"format":[1],"disabled":[4],"labelPosition":[1,"label-position"],"formattedValue":[32],"minDateDate":[32],"maxDateDate":[32],"toFormattedValue":[32],"active":[32]},[[0,"keydown","onKeyDown"],[1,"mousedown","onMouseDown"]]]]],["p-1f3c3a89",[[1,"gux-form-field-dropdown",{"labelPosition":[1,"label-position"],"computedLabelPosition":[32],"disabled":[32],"required":[32],"hasError":[32],"hasHelp":[32]}]]],["p-59146356",[[1,"gux-form-field-phone",{"labelPosition":[1,"label-position"],"computedLabelPosition":[32],"disabled":[32],"required":[32],"hasError":[32],"hasHelp":[32]}]]],["p-261dfba4",[[1,"gux-form-field-time-picker",{"labelPosition":[1,"label-position"],"computedLabelPosition":[32],"disabled":[32],"required":[32],"hasError":[32],"hasHelp":[32]}]]],["p-e874ef2c",[[1,"gux-modal",{"size":[1],"trapFocus":[4,"trap-focus"],"initialFocus":[1,"initial-focus"]},[[0,"keydown","handleKeyEvent"]]]]],["p-235edbf8",[[4,"gux-option-multi",{"value":[1],"active":[4],"selected":[1028],"disabled":[4],"filtered":[4],"hovered":[1028],"custom":[4]},[[1,"mouseenter","onmouseenter"],[1,"mouseleave","onMouseleave"]]]]],["p-de1e0b57",[[1,"gux-popover",{"for":[1],"position":[1],"displayDismissButton":[4,"display-dismiss-button"],"closeOnClickOutside":[4,"close-on-click-outside"],"hidden":[32]}]]],["p-9839e3a1",[[1,"gux-popover-list-beta",{"for":[1],"position":[1],"displayDismissButton":[4,"display-dismiss-button"],"closeOnClickOutside":[4,"close-on-click-outside"],"isOpen":[1028,"is-open"]}]]],["p-12a34636",[[0,"gux-row-select",{"selected":[1028],"disabled":[4]},[[0,"input","onCheck"]]]]],["p-9e354ad1",[[4,"gux-tab",{"tabId":[1,"tab-id"],"guxDisabled":[4,"gux-disabled"],"active":[32],"guxSetActive":[64],"guxFocus":[64],"guxGetActive":[64]},[[0,"click","onClick"],[0,"focusin","onFocusin"],[0,"focusout","onFocusout"]]]]],["p-ada83f90",[[1,"gux-table-beta",{"compact":[4],"objectTable":[4,"object-table"],"emptyMessage":[1,"empty-message"],"resizableColumns":[4,"resizable-columns"],"isVerticalScroll":[32],"isHorizontalScroll":[32],"isScrolledToFirstCell":[32],"isScrolledToLastCell":[32],"columnResizeHover":[32],"getSelected":[64]},[[3,"scroll","onScroll"],[0,"internalallrowselectchange","onInternalAllRowSelectChange"],[0,"internalrowselectchange","onInternalRowSelectChange"],[3,"mousemove","onMouseMove"],[1,"mousedown","onMouseDown"],[3,"mouseup","onMouseUp"]]]]],["p-8d8eb1cc",[[4,"gux-table-select-menu",{"dropdownDisabled":[4,"dropdown-disabled"],"popoverHidden":[32]},[[0,"keydown","onKeydown"],[0,"keyup","onKeyup"]]]]],["p-3a86180c",[[1,"gux-accordion-section",{"arrowPosition":[1,"arrow-position"],"contentLayout":[1,"content-layout"],"open":[1028],"disabled":[4],"reverseHeadings":[4,"reverse-headings"],"headingLevel":[32]}]]],["p-ae031b68",[[1,"gux-blank-state-beta",{"blankStateSize":[32]}]]],["p-1aab5a86",[[0,"gux-create-option",{"value":[1],"active":[4],"hidden":[4],"filtered":[4],"hovered":[32],"guxEmitInternalCreateNewOption":[64]},[[1,"mouseenter","onmouseenter"],[1,"mouseleave","onMouseleave"],[0,"click","handleClick"]]]]],["p-f4cacd3c",[[1,"gux-disclosure-button",{"position":[1],"label":[1],"isOpen":[1028,"is-open"],"icon":[32]}]]],["p-8797ebd7",[[1,"gux-error-message-beta"]]],["p-3efcf41d",[[1,"gux-form-field-color",{"labelPosition":[1,"label-position"],"computedLabelPosition":[32],"disabled":[32],"required":[32],"hasError":[32],"hasHelp":[32]}]]],["p-2f704deb",[[1,"gux-form-field-radio",{"disabled":[32],"hasError":[32],"hasHelp":[32]}]]],["p-aaf5194a",[[1,"gux-form-field-range",{"displayUnits":[1,"display-units"],"valueInTooltip":[4,"value-in-tooltip"],"labelPosition":[1,"label-position"],"computedLabelPosition":[32],"disabled":[32],"required":[32],"hasError":[32],"hasHelp":[32],"value":[32],"active":[32],"valueWatcherId":[32]},[[0,"input","onInput"],[0,"focusin","onMousedown"],[1,"mousedown","onMousedown"],[0,"focusout","onMouseup"],[1,"mouseup","onMouseup"]]]]],["p-3fb11797",[[1,"gux-form-field-select",{"labelPosition":[1,"label-position"],"computedLabelPosition":[32],"disabled":[32],"required":[32],"hasError":[32],"hasHelp":[32]}]]],["p-9b497375",[[1,"gux-form-field-textarea",{"resize":[1],"labelPosition":[1,"label-position"],"computedLabelPosition":[32],"disabled":[32],"required":[32],"hasError":[32],"hasHelp":[32]}]]],["p-7946aac5",[[1,"gux-inline-alert",{"accent":[1]}]]],["p-a9a8d206",[[1,"gux-listbox-multi",{"value":[1025],"loading":[4],"filter":[1],"textInput":[1,"text-input"],"filterType":[1,"filter-type"],"hasExactMatch":[1028,"has-exact-match"],"listboxOptions":[32],"allListboxOptionsFiltered":[32],"guxSelectActive":[64]},[[0,"focus","onFocus"],[0,"blur","onBlur"],[0,"internalselectcustomoption","selectNewCustomOption"],[0,"keydown","onKeydown"],[0,"keyup","onKeyup"],[1,"mousemove","onMousemove"],[0,"click","onClick"]]]]],["p-864044af",[[1,"gux-page-loading-spinner",{"screenreaderText":[1,"screenreader-text"]}]]],["p-68dc65c4",[[1,"gux-radial-progress",{"value":[2],"max":[2],"scale":[2],"screenreaderText":[1,"screenreader-text"]}]]],["p-9756b007",[[1,"gux-rating",{"value":[1026],"maxValue":[2,"max-value"],"disabled":[4],"readonly":[4]},[[0,"click","onClick"],[0,"keydown","onKeyDown"]]]]],["p-634c85ec",[[17,"gux-sort-control",{"includeUnsorted":[4,"include-unsorted"],"headerContent":[32],"active":[32],"sort":[32],"isLeftAlignIcon":[32]}]]],["p-43748f70",[[4,"gux-submenu",{"label":[1],"isShown":[32],"guxFocus":[64]},[[0,"keydown","onKeydown"],[0,"keyup","onKeyup"],[1,"mouseenter","onmouseenter"],[1,"mouseleave","onMouseleave"],[0,"click","onClick"],[0,"focusin","onFocusin"],[0,"focusout","onFocusout"]]]]],["p-c7631270",[[4,"gux-tab-advanced-list",{"showNewTabButton":[4,"show-new-tab-button"],"tabLimit":[2,"tab-limit"],"allowSort":[4,"allow-sort"],"focused":[32],"disableAddTabButton":[32],"tabTriggers":[32],"hasScrollbar":[32],"keyboardSort":[32],"initialSortIndex":[32],"sortTarget":[32],"ariaLiveAlert":[32],"guxSetActive":[64]},[[0,"focusin","onFocusin"],[0,"focusout","onFocusout"],[0,"keydown","onKeydown"],[0,"keyup","onKeyup"]]]]],["p-bcd6a155",[[4,"gux-tab-list",{"focused":[32],"tabTriggers":[32],"hasHorizontalScrollbar":[32],"hasVerticalScrollbar":[32],"isScrolledToBeginning":[32],"isScrolledToEnd":[32],"guxSetActive":[64]},[[0,"focusout","onFocusout"],[0,"hasVerticalScrollbar","onHasVerticalScrollBar"],[3,"scroll","onScroll"],[0,"keydown","onKeydown"]]]]],["p-14301475",[[1,"gux-accordion",{"singleOpenSection":[4,"single-open-section"]},[[0,"internalsectionopened","handleInternalsectionopened"]]]]],["p-6b6048c4",[[1,"gux-action-toast-legacy"]]],["p-8e9bfb5c",[[1,"gux-breadcrumb-item",{"href":[1]}]]],["p-233c0566",[[1,"gux-breadcrumbs",{"accent":[1]}]]],["p-defd1281",[[17,"gux-button",{"type":[1],"guxTitle":[1,"gux-title"],"disabled":[4],"accent":[1]}]]],["p-52270d18",[[1,"gux-card",{"accent":[1]}]]],["p-54effc6d",[[1,"gux-date-time-beta",{"datetime":[1],"format":[1]}]]],["p-7b43f40b",[[0,"gux-dropdown-option",{"value":[1],"disabled":[4],"filtered":[1540],"selected":[1540],"text":[1],"highlight":[32],"getDisplayedValue":[64],"shouldFilter":[64]}]]],["p-f49c69b9",[[1,"gux-flyout-menu-beta",{"isShown":[32]},[[0,"keydown","onKeydown"],[0,"keyup","onKeyup"],[1,"mouseenter","onmouseenter"],[1,"mouseleave","onMouseleave"],[0,"click","onClick"],[0,"focusin","onFocusin"],[0,"focusout","onFocusout"]]]]],["p-c94a287d",[[1,"gux-list-divider"]]],["p-e2547280",[[1,"gux-loading-message-beta",{"hasAdditionalGuidance":[32],"loadingMessageSize":[32]}]]],["p-65c5ed8b",[[4,"gux-menu"]]],["p-86b520ad",[[4,"gux-menu-option",{"guxFocus":[64]},[[0,"keydown","onKeydown"]]]]],["p-06a92400",[[17,"gux-skip-navigation-item"]]],["p-6df07350",[[17,"gux-skip-navigation-list-beta"]]],["p-5265f3e0",[[1,"gux-switch",{"value":[1025],"layout":[1],"switchItems":[32]},[[0,"click","onClick"]]]]],["p-81c3fa5a",[[4,"gux-switch-item",{"value":[1],"selected":[4],"disabled":[4]},[[0,"click","onClick"]]]]],["p-ac115d74",[[4,"gux-tab-advanced-panel",{"tabId":[1,"tab-id"],"active":[32],"guxSetActive":[64]}]]],["p-f2fea056",[[4,"gux-tab-panel",{"tabId":[1,"tab-id"],"active":[32],"guxSetActive":[64]}]]],["p-a83dd958",[[1,"gux-tab-panel-beta",{"tabId":[1,"tab-id"],"active":[32],"guxSetActive":[64]}]]],["p-fbb3071b",[[1,"gux-tabs",{"activeTab":[1025,"active-tab"],"orientation":[1],"alignment":[1],"tabList":[32],"tabPanels":[32],"guxActivate":[64]},[[0,"internalactivatetabpanel","onInternalActivateTabPanel"]]]]],["p-e7468691",[[1,"gux-tabs-advanced",{"activeTab":[1025,"active-tab"],"tabList":[32],"tabPanels":[32],"guxActivate":[64]},[[0,"internalactivatetabpanel","onInternalActivateTabPanel"]]]]],["p-09260b54",[[1,"gux-time-beta",{"datetime":[1],"format":[1]}]]],["p-854eaa48",[[1,"gux-icon",{"iconName":[1,"icon-name"],"decorative":[4],"screenreaderText":[1,"screenreader-text"],"svgHtml":[32]}]]],["p-62d3fbbd",[[17,"gux-table-toolbar-menu-button",{"showMenu":[4,"show-menu"],"expanded":[32]},[[0,"keydown","handleKeyDown"],[0,"keyup","handleKeyup"]]]]],["p-4d250c8c",[[17,"gux-month-calendar",{"value":[1025],"min":[1],"max":[1],"year":[32],"locale":[32],"guxFocus":[64]}]]],["p-eb2eaa6f",[[1,"gux-form-field-search",{"labelPosition":[1,"label-position"],"computedLabelPosition":[32],"clearable":[32],"disabled":[32],"required":[32],"hasContent":[32],"hasError":[32],"hasHelp":[32],"guxForceUpdate":[64]}]]],["p-3bbd394d",[[1,"gux-popover-list",{"for":[1],"position":[1],"displayDismissButton":[4,"display-dismiss-button"],"closeOnClickOutside":[4,"close-on-click-outside"],"hidden":[32]}]]],["p-7e9f97c7",[[1,"gux-calendar",{"value":[1025],"minDate":[1,"min-date"],"maxDate":[1,"max-date"],"mode":[1],"numberOfMonths":[2,"number-of-months"],"startDayOfWeek":[1026,"start-day-of-week"],"previewValue":[32],"selectingDate":[32],"setValue":[64],"focusPreviewDate":[64],"resetCalendarView":[64]}]]],["p-398e3760",[[1,"gux-content-search",{"matchCount":[1026,"match-count"],"currentMatch":[1026,"current-match"],"disabled":[32],"value":[32],"clear":[64]}]]],["p-3f96ede4",[[1,"gux-dropdown-multi-tag",{"disabled":[4],"numberSelected":[2,"number-selected"],"label":[32]},[[0,"keydown","onKeyDown"]]]]],["p-99b0b8e3",[[17,"gux-table-toolbar-custom-action",{"iconOnly":[4,"icon-only"],"accent":[1],"disabled":[4]}]]],["p-f9768ae7",[[0,"gux-toggle-slider",{"checked":[4],"disabled":[4],"guxAriaLabel":[1,"gux-aria-label"],"labelId":[1,"label-id"],"errorId":[1,"error-id"]}]]],["p-3f6a0e19",[[1,"gux-date-beta",{"datetime":[1],"format":[1]}]]],["p-43d22f9f",[[17,"gux-list-item",{"disabled":[4]},[[1,"mouseup","onMouseup"],[1,"mouseover","onMouseover"]]]]],["p-7ec73c98",[[1,"gux-region-icon",{"region":[1],"screenreaderText":[1,"screenreader-text"]}]]],["p-cbb3c659",[[1,"gux-table-select-popover",{"for":[1],"closeOnClickOutside":[4,"close-on-click-outside"],"hidden":[32]}]]],["p-995fd359",[[1,"gux-text-highlight",{"text":[1],"highlight":[1],"strategy":[1]}]]],["p-cc9cfe49",[[17,"gux-form-field-input-clear-button"]]],["p-daba61db",[[17,"gux-dismiss-button",{"position":[1]}]]],["p-62a9f3bc",[[1,"gux-pagination-ellipsis-button",{"totalPages":[2,"total-pages"],"isOpen":[32]},[[0,"keydown","handleKeyDown"],[0,"keyup","handleKeyup"]]],[17,"gux-form-field-number",{"clearable":[4],"labelPosition":[1,"label-position"],"computedLabelPosition":[32],"disabled":[32],"required":[32],"hasContent":[32],"hasError":[32],"hasHelp":[32],"guxForceUpdate":[64]}],[1,"gux-popover-beta",{"for":[1],"position":[1],"displayDismissButton":[4,"display-dismiss-button"],"closeOnClickOutside":[4,"close-on-click-outside"],"isOpen":[1028,"is-open"]}]]],["p-c5c92fd8",[[1,"gux-button-slot-beta",{"accent":[1]}]]],["p-3befa564",[[1,"gux-tooltip",{"for":[1],"placement":[1025],"isShown":[32],"showTooltip":[64],"hideTooltip":[64]},[[9,"keydown","handleKeyDown"]]]]],["p-3d65f3b8",[[0,"gux-pagination-buttons-beta",{"currentPage":[1026,"current-page"],"totalPages":[2,"total-pages"],"layout":[1]},[[0,"goToPage","goToPageHandler"]]],[0,"gux-pagination-item-counts-beta",{"totalItems":[2,"total-items"],"currentPage":[2,"current-page"],"itemsPerPage":[2,"items-per-page"]}]]],["p-92db2ccc",[[0,"gux-pagination-items-per-page-beta",{"itemsPerPage":[2,"items-per-page"]},[[0,"change","handleChange"]]]]],["p-5d67b3ab",[[1,"gux-form-field-text-like",{"clearable":[4],"labelPosition":[1,"label-position"],"hasPrefix":[32],"hasSuffix":[32],"computedLabelPosition":[32],"disabled":[32],"required":[32],"hasContent":[32],"hasError":[32],"hasHelp":[32],"guxForceUpdate":[64]}]]],["p-ad19fdb4",[[1,"gux-announce-beta",{"politeness":[1],"guxAnnounce":[64]}]]],["p-210bc5a8",[[0,"gux-pagination-items-per-page",{"itemsPerPage":[2,"items-per-page"]},[[0,"change","handleChange"]]],[0,"gux-pagination-buttons",{"currentPage":[2,"current-page"],"totalPages":[2,"total-pages"],"layout":[1]}],[0,"gux-pagination-item-counts",{"totalItems":[2,"total-items"],"currentPage":[2,"current-page"],"itemsPerPage":[2,"items-per-page"]}]]],["p-2e27167a",[[1,"gux-form-field-checkbox",{"disabled":[32],"hasError":[32],"hasHelp":[32]}]]],["p-6fbe35ec",[[1,"gux-screen-reader-beta"]]],["p-27b1150a",[[4,"gux-tooltip-title",{"hasTooltip":[32],"showTooltip":[32],"iconOnly":[32],"titleName":[32],"setShowTooltip":[64],"setHideTooltip":[64]},[[1,"mouseenter","onmouseenter"],[1,"mouseleave","onmouseleave"],[1,"mousedown","onmousedown"]]]]],["p-462a6cf1",[[17,"gux-month-list",{"guxFocusFirstItem":[64]},[[0,"keydown","onKeyDown"]]],[17,"gux-month-list-item",{"value":[1],"disabled":[4],"selected":[4]},[[1,"mouseup","onMouseup"],[1,"mouseover","onMouseover"]]]]],["p-8afa9533",[[17,"gux-list",{"guxFocusFirstItem":[64],"guxFocusItemById":[64],"guxFocusItemByClosestId":[64],"guxFocusLastItem":[64]},[[0,"keydown","onKeyDown"]]]]],["p-334e3b2c",[[1,"gux-truncate",{"maxLines":[2,"max-lines"],"setShowTooltip":[64],"setHideTooltip":[64]}]]],["p-1dd2e1d2",[[1,"gux-radial-loading",{"context":[1],"screenreaderText":[1,"screenreader-text"]}]]],["p-af48a4c4",[[1,"gux-popup",{"expanded":[4],"disabled":[4]}]]],["p-bba252b0",[[17,"gux-dropdown",{"value":[1025],"disabled":[4],"required":[4],"loading":[4],"placeholder":[1],"filterable":[4],"filterType":[1,"filter-type"],"hasError":[4,"has-error"],"expanded":[32],"filter":[32]},[[0,"keydown","onKeydown"],[0,"internallistboxoptionsupdated","onInternallistboxoptionsupdated"],[0,"blur","onBlur"],[0,"focus","onFocus"],[0,"focusout","onFocusout"],[0,"focusin","onFocusin"],[0,"internalexpanded","onInternalExpanded"],[0,"internalcollapsed","onInternalCollapsed"]]],[4,"gux-option",{"value":[1],"active":[4],"selected":[4],"disabled":[4],"filtered":[4],"hovered":[1028]},[[1,"mouseenter","onmouseenter"],[1,"mouseleave","onMouseleave"]]],[1,"gux-listbox",{"value":[1025],"filter":[1],"filterType":[1,"filter-type"],"loading":[4],"selectedValues":[32],"listboxOptions":[32],"allListboxOptionsFiltered":[32],"guxSelectActive":[64]},[[0,"focus","onFocus"],[0,"blur","onBlur"],[0,"keydown","onKeydown"],[0,"keyup","onKeyup"],[1,"mousemove","onMousemove"],[0,"click","onClick"]]]]]]'),e)));
1
+ import{p as e,b as o}from"./p-7d26b2e1.js";export{s as setNonce}from"./p-7d26b2e1.js";(()=>{const o=import.meta.url,t={};return""!==o&&(t.resourcesUrl=new URL(".",o).href),e(t)})().then((e=>o(JSON.parse('[["p-11af1408",[[1,"gux-pagination-beta",{"layout":[1],"currentPage":[1026,"current-page"],"totalItems":[2,"total-items"],"itemsPerPage":[1026,"items-per-page"],"totalPages":[32],"displayedLayout":[32]}]]],["p-fa274900",[[1,"gux-pagination",{"currentPage":[1026,"current-page"],"totalItems":[2,"total-items"],"itemsPerPage":[1026,"items-per-page"],"layout":[1],"totalPages":[32]}]]],["p-c0e3b23d",[[1,"gux-pagination-cursor",{"hasPrevious":[4,"has-previous"],"hasNext":[4,"has-next"],"itemsPerPage":[2,"items-per-page"],"layout":[1]}]]],["p-208d89a8",[[1,"gux-phone-input-beta",{"value":[1025],"defaultRegion":[1,"default-region"],"labelId":[1,"label-id"],"hasError":[4,"has-error"],"disabled":[4],"required":[4],"phoneNumberFormat":[1,"phone-number-format"],"region":[32],"expanded":[32]},[[0,"internallistboxoptionsupdated","onInternallistboxoptionsupdated"],[0,"blur","onBlur"],[0,"focus","onFocus"],[0,"focusout","onFocusout"],[0,"focusin","onFocusin"]]]]],["p-8f126cbd",[[1,"gux-month-picker-beta",{"value":[1025],"min":[1],"max":[1],"disabled":[4],"expanded":[32],"locale":[32]},[[0,"keydown","onKeyDown"]]]]],["p-5dd0ef71",[[4,"gux-tab-advanced",{"tabId":[1,"tab-id"],"guxDisabled":[4,"gux-disabled"],"active":[32],"popoverHidden":[32],"hasAnimated":[32],"guxSetActive":[64],"guxGetActive":[64],"guxFocus":[64]},[[0,"focusin","onFocusin"],[0,"focusout","onFocusout"],[0,"keydown","onKeydown"],[0,"keyup","onKeyup"],[0,"click","onClick"],[1,"mousedown","onMouseDown"]]]]],["p-9bd0ceaf",[[1,"gux-table-toolbar-beta",{"displayedLayout":[32],"hasContextDivider":[32]}]]],["p-2964e67c",[[1,"gux-toast",{"toastType":[1,"toast-type"],"hasLink":[32],"hasPrimaryButton":[32],"hasSecondaryButton":[32]}]]],["p-eceb2c2a",[[1,"gux-action-button",{"type":[1],"text":[1],"disabled":[4],"accent":[1],"isOpen":[1028,"is-open"]},[[0,"keydown","handleKeydown"],[0,"keyup","handleKeyup"]]]]],["p-9a20e913",[[1,"gux-advanced-dropdown",{"disabled":[4],"placeholder":[1],"noFilter":[4,"no-filter"],"filterDebounceTimeout":[2,"filter-debounce-timeout"],"dropdownHeight":[1,"dropdown-height"],"srLabelledby":[32],"opened":[32],"currentlySelectedOption":[32],"selectionOptions":[32],"getSelectedValues":[64],"setLabeledBy":[64]}]]],["p-329fe457",[[1,"gux-button-multi",{"text":[1],"disabled":[4],"accent":[1],"isOpen":[1028,"is-open"]},[[0,"keydown","handleKeydown"],[0,"keyup","handleKeyup"]]]]],["p-af02115d",[[1,"gux-column-manager-beta",{"highlightResults":[32],"keyboardOrderChange":[32]},[[0,"internal_order_change","handleInternalorderchange"],[0,"internal_keyboard_reorder_start","handleInternalkeyboardorderstart"],[0,"internal_keyboard_reorder_move","handleInternalkeyboardreordermove"],[0,"internal_keyboard_reorder_emit","handleInternalkeyboarddoreorder"],[0,"internal_keyboard_reorder_finish","handleInternalkeyboardorderfinish"]]]]],["p-3ac0ea21",[[17,"gux-context-menu-beta",{"screenreaderText":[1,"screenreader-text"],"isOpen":[32]},[[0,"keydown","handleKeyDown"],[0,"keyup","handleKeyup"]]]]],["p-929dcd83",[[17,"gux-dropdown-multi-beta",{"value":[1025],"disabled":[4],"required":[4],"loading":[4],"placeholder":[1],"filterable":[4],"filterType":[1,"filter-type"],"hasError":[4,"has-error"],"hasCreate":[32],"expanded":[32],"textInput":[32],"getSelectedValues":[64]},[[0,"internalexpanded","onInternalExpanded"],[0,"internalcollapsed","onInternalCollapsed"],[0,"keydown","onKeydown"],[0,"internallistboxoptionsupdated","onInternallistboxoptionsupdated"],[0,"internalclearselected","onClearselected"],[0,"internalcreatenewoption","onCreatenewoption"],[0,"blur","onBlur"],[0,"focus","onFocus"],[0,"focusout","onFocusout"],[0,"focusin","onFocusin"]]]]],["p-22102471",[[1,"gux-notification-toast-legacy",{"accent":[1]}]]],["p-e2fa59f4",[[1,"gux-simple-toast-legacy",{"accent":[1]}]]],["p-ef880ee0",[[1,"gux-time-picker-beta",{"value":[1025],"interval":[2],"step":[2],"disabled":[4],"required":[4],"hasError":[4,"has-error"],"clockType":[1025,"clock-type"],"expanded":[32]},[[0,"focus","onFocus"],[0,"blur","onBlur"],[0,"keydown","handleKeydown"]]]]],["p-a5ecb0c7",[[17,"gux-toggle",{"checked":[1028],"disabled":[4],"loading":[4],"checkedLabel":[1,"checked-label"],"uncheckedLabel":[1,"unchecked-label"],"labelPosition":[1,"label-position"],"errorMessage":[1,"error-message"],"displayInline":[4,"display-inline"]},[[0,"click","onClick"],[0,"keydown","onKeydown"]]]]],["p-0501a8ad",[[4,"gux-option-icon",{"value":[1],"iconName":[1,"icon-name"],"iconSrText":[1,"icon-sr-text"],"iconColor":[1,"icon-color"],"active":[4],"selected":[4],"disabled":[4],"filtered":[4],"hovered":[1028]},[[1,"mouseenter","onmouseenter"],[1,"mouseleave","onMouseleave"]]]]],["p-8c457a46",[[1,"gux-table-toolbar-action",{"action":[1],"accent":[1],"iconOnly":[4,"icon-only"],"disabled":[4]}]]],["p-3233b10a",[[1,"gux-tag-beta",{"color":[1],"value":[1],"disabled":[4],"removable":[4],"accent":[32],"label":[32]},[[0,"keydown","onKeyDown"]]]]],["p-763ee30d",[[0,"gux-all-row-select",{"selected":[1028],"setIndeterminate":[64]},[[0,"input","onCheck"]]]]],["p-157c1eb1",[[1,"gux-badge-beta",{"color":[1],"accent":[1],"bold":[4],"label":[32]}]]],["p-a95fbd3b",[[1,"gux-calendar-beta",{"focusedValue":[32],"minValue":[32],"maxValue":[32]}]]],["p-22a428f3",[[1,"gux-column-manager-item",{"orderId":[1,"order-id"],"highlightActive":[32],"highlight":[32],"text":[32],"pendingReorder":[32],"isDragging":[32],"isReordering":[32],"guxSetHighlight":[64],"guxFocus":[64]},[[0,"blur","onBlur"],[1,"dragstart","onDragStart"],[1,"dragenter","onDragEnter"],[0,"dragover","onDragOver"],[1,"dragleave","onDragLeave"],[1,"dragend","onDragEnd"],[1,"drop","onDrop"]]]]],["p-d2a63bb2",[[1,"gux-copy-to-clipboard",{"tooltipContent":[32]},[[1,"mouseleave","onMouseleave"],[0,"focusout","onFocusout"],[0,"focus","onFocus"]]]]],["p-7532a270",[[1,"gux-datepicker",{"value":[1025],"label":[1],"numberOfMonths":[1026,"number-of-months"],"startDayOfWeek":[2,"start-day-of-week"],"minDate":[1,"min-date"],"maxDate":[1,"max-date"],"mode":[1],"format":[1],"disabled":[4],"labelPosition":[1,"label-position"],"formattedValue":[32],"minDateDate":[32],"maxDateDate":[32],"toFormattedValue":[32],"active":[32]},[[0,"keydown","onKeyDown"],[1,"mousedown","onMouseDown"]]]]],["p-6f4ccbd8",[[1,"gux-form-field-dropdown",{"labelPosition":[1,"label-position"],"computedLabelPosition":[32],"disabled":[32],"required":[32],"hasError":[32],"hasHelp":[32]}]]],["p-076452db",[[1,"gux-form-field-phone",{"labelPosition":[1,"label-position"],"computedLabelPosition":[32],"disabled":[32],"required":[32],"hasError":[32],"hasHelp":[32]}]]],["p-ed82a48b",[[1,"gux-form-field-time-picker",{"labelPosition":[1,"label-position"],"computedLabelPosition":[32],"disabled":[32],"required":[32],"hasError":[32],"hasHelp":[32]}]]],["p-304cd421",[[1,"gux-modal",{"size":[1],"trapFocus":[4,"trap-focus"],"initialFocus":[1,"initial-focus"]},[[0,"keydown","handleKeyEvent"]]]]],["p-235edbf8",[[4,"gux-option-multi",{"value":[1],"active":[4],"selected":[1028],"disabled":[4],"filtered":[4],"hovered":[1028],"custom":[4]},[[1,"mouseenter","onmouseenter"],[1,"mouseleave","onMouseleave"]]]]],["p-808629e5",[[1,"gux-popover",{"for":[1],"position":[1],"displayDismissButton":[4,"display-dismiss-button"],"closeOnClickOutside":[4,"close-on-click-outside"],"hidden":[32]}]]],["p-06c15cff",[[1,"gux-popover-list-beta",{"for":[1],"position":[1],"displayDismissButton":[4,"display-dismiss-button"],"closeOnClickOutside":[4,"close-on-click-outside"],"isOpen":[1028,"is-open"]}]]],["p-12a34636",[[0,"gux-row-select",{"selected":[1028],"disabled":[4]},[[0,"input","onCheck"]]]]],["p-9e354ad1",[[4,"gux-tab",{"tabId":[1,"tab-id"],"guxDisabled":[4,"gux-disabled"],"active":[32],"guxSetActive":[64],"guxFocus":[64],"guxGetActive":[64]},[[0,"click","onClick"],[0,"focusin","onFocusin"],[0,"focusout","onFocusout"]]]]],["p-90fa0bae",[[1,"gux-table-beta",{"compact":[4],"objectTable":[4,"object-table"],"emptyMessage":[1,"empty-message"],"resizableColumns":[4,"resizable-columns"],"isVerticalScroll":[32],"isHorizontalScroll":[32],"isScrolledToFirstCell":[32],"isScrolledToLastCell":[32],"columnResizeHover":[32],"getSelected":[64]},[[3,"scroll","onScroll"],[0,"internalallrowselectchange","onInternalAllRowSelectChange"],[0,"internalrowselectchange","onInternalRowSelectChange"],[3,"mousemove","onMouseMove"],[1,"mousedown","onMouseDown"],[3,"mouseup","onMouseUp"]]]]],["p-8d8eb1cc",[[4,"gux-table-select-menu",{"dropdownDisabled":[4,"dropdown-disabled"],"popoverHidden":[32]},[[0,"keydown","onKeydown"],[0,"keyup","onKeyup"]]]]],["p-3a86180c",[[1,"gux-accordion-section",{"arrowPosition":[1,"arrow-position"],"contentLayout":[1,"content-layout"],"open":[1028],"disabled":[4],"reverseHeadings":[4,"reverse-headings"],"headingLevel":[32]}]]],["p-746103e9",[[1,"gux-blank-state-beta",{"blankStateSize":[32]}]]],["p-1aab5a86",[[0,"gux-create-option",{"value":[1],"active":[4],"hidden":[4],"filtered":[4],"hovered":[32],"guxEmitInternalCreateNewOption":[64]},[[1,"mouseenter","onmouseenter"],[1,"mouseleave","onMouseleave"],[0,"click","handleClick"]]]]],["p-b1e168da",[[1,"gux-disclosure-button",{"position":[1],"label":[1],"isOpen":[1028,"is-open"],"icon":[32]}]]],["p-4f7c7feb",[[1,"gux-error-message-beta"]]],["p-dd500089",[[1,"gux-form-field-color",{"labelPosition":[1,"label-position"],"computedLabelPosition":[32],"disabled":[32],"required":[32],"hasError":[32],"hasHelp":[32]}]]],["p-dd93419a",[[1,"gux-form-field-radio",{"disabled":[32],"hasError":[32],"hasHelp":[32]}]]],["p-d7289fa8",[[1,"gux-form-field-range",{"displayUnits":[1,"display-units"],"valueInTooltip":[4,"value-in-tooltip"],"labelPosition":[1,"label-position"],"computedLabelPosition":[32],"disabled":[32],"required":[32],"hasError":[32],"hasHelp":[32],"value":[32],"active":[32],"valueWatcherId":[32]},[[0,"input","onInput"],[0,"focusin","onMousedown"],[1,"mousedown","onMousedown"],[0,"focusout","onMouseup"],[1,"mouseup","onMouseup"]]]]],["p-60694c1d",[[1,"gux-form-field-select",{"labelPosition":[1,"label-position"],"computedLabelPosition":[32],"disabled":[32],"required":[32],"hasError":[32],"hasHelp":[32]}]]],["p-34bff129",[[1,"gux-form-field-textarea",{"resize":[1],"labelPosition":[1,"label-position"],"computedLabelPosition":[32],"disabled":[32],"required":[32],"hasError":[32],"hasHelp":[32]}]]],["p-2e0d2eac",[[1,"gux-inline-alert",{"accent":[1]}]]],["p-ec51e6f5",[[1,"gux-listbox-multi",{"value":[1025],"loading":[4],"filter":[1],"textInput":[1,"text-input"],"filterType":[1,"filter-type"],"hasExactMatch":[1028,"has-exact-match"],"listboxOptions":[32],"allListboxOptionsFiltered":[32],"guxSelectActive":[64]},[[0,"focus","onFocus"],[0,"blur","onBlur"],[0,"internalselectcustomoption","selectNewCustomOption"],[0,"keydown","onKeydown"],[0,"keyup","onKeyup"],[1,"mousemove","onMousemove"],[0,"click","onClick"]]]]],["p-61559499",[[1,"gux-page-loading-spinner",{"screenreaderText":[1,"screenreader-text"]}]]],["p-78f35038",[[1,"gux-radial-progress",{"value":[2],"max":[2],"scale":[2],"screenreaderText":[1,"screenreader-text"]}]]],["p-03ed4af5",[[1,"gux-rating",{"value":[1026],"maxValue":[2,"max-value"],"disabled":[4],"readonly":[4]},[[0,"click","onClick"],[0,"keydown","onKeyDown"]]]]],["p-e7ec8c89",[[17,"gux-sort-control",{"includeUnsorted":[4,"include-unsorted"],"headerContent":[32],"active":[32],"sort":[32],"isLeftAlignIcon":[32]}]]],["p-43748f70",[[4,"gux-submenu",{"label":[1],"isShown":[32],"guxFocus":[64]},[[0,"keydown","onKeydown"],[0,"keyup","onKeyup"],[1,"mouseenter","onmouseenter"],[1,"mouseleave","onMouseleave"],[0,"click","onClick"],[0,"focusin","onFocusin"],[0,"focusout","onFocusout"]]]]],["p-c7631270",[[4,"gux-tab-advanced-list",{"showNewTabButton":[4,"show-new-tab-button"],"tabLimit":[2,"tab-limit"],"allowSort":[4,"allow-sort"],"focused":[32],"disableAddTabButton":[32],"tabTriggers":[32],"hasScrollbar":[32],"keyboardSort":[32],"initialSortIndex":[32],"sortTarget":[32],"ariaLiveAlert":[32],"guxSetActive":[64]},[[0,"focusin","onFocusin"],[0,"focusout","onFocusout"],[0,"keydown","onKeydown"],[0,"keyup","onKeyup"]]]]],["p-bcd6a155",[[4,"gux-tab-list",{"focused":[32],"tabTriggers":[32],"hasHorizontalScrollbar":[32],"hasVerticalScrollbar":[32],"isScrolledToBeginning":[32],"isScrolledToEnd":[32],"guxSetActive":[64]},[[0,"focusout","onFocusout"],[0,"hasVerticalScrollbar","onHasVerticalScrollBar"],[3,"scroll","onScroll"],[0,"keydown","onKeydown"]]]]],["p-c33fcde7",[[1,"gux-accordion",{"singleOpenSection":[4,"single-open-section"]},[[0,"internalsectionopened","handleInternalsectionopened"]]]]],["p-17e2cce2",[[1,"gux-action-toast-legacy"]]],["p-8e9bfb5c",[[1,"gux-breadcrumb-item",{"href":[1]}]]],["p-dee018b8",[[1,"gux-breadcrumbs",{"accent":[1]}]]],["p-81e57bb9",[[17,"gux-button",{"type":[1],"guxTitle":[1,"gux-title"],"disabled":[4],"accent":[1]}]]],["p-f3e4e839",[[1,"gux-card",{"accent":[1]}]]],["p-ecbdd3b0",[[1,"gux-date-time-beta",{"datetime":[1],"format":[1]}]]],["p-7b43f40b",[[0,"gux-dropdown-option",{"value":[1],"disabled":[4],"filtered":[1540],"selected":[1540],"text":[1],"highlight":[32],"getDisplayedValue":[64],"shouldFilter":[64]}]]],["p-12c6d778",[[1,"gux-flyout-menu-beta",{"isShown":[32]},[[0,"keydown","onKeydown"],[0,"keyup","onKeyup"],[1,"mouseenter","onmouseenter"],[1,"mouseleave","onMouseleave"],[0,"click","onClick"],[0,"focusin","onFocusin"],[0,"focusout","onFocusout"]]]]],["p-c94a287d",[[1,"gux-list-divider"]]],["p-0c5dd6a5",[[1,"gux-loading-message-beta",{"hasAdditionalGuidance":[32],"loadingMessageSize":[32]}]]],["p-65c5ed8b",[[4,"gux-menu"]]],["p-86b520ad",[[4,"gux-menu-option",{"guxFocus":[64]},[[0,"keydown","onKeydown"]]]]],["p-06a92400",[[17,"gux-skip-navigation-item"]]],["p-91a28bd3",[[17,"gux-skip-navigation-list-beta"]]],["p-49392896",[[1,"gux-switch",{"value":[1025],"layout":[1],"switchItems":[32]},[[0,"click","onClick"]]]]],["p-81c3fa5a",[[4,"gux-switch-item",{"value":[1],"selected":[4],"disabled":[4]},[[0,"click","onClick"]]]]],["p-ac115d74",[[4,"gux-tab-advanced-panel",{"tabId":[1,"tab-id"],"active":[32],"guxSetActive":[64]}]]],["p-f2fea056",[[4,"gux-tab-panel",{"tabId":[1,"tab-id"],"active":[32],"guxSetActive":[64]}]]],["p-a83dd958",[[1,"gux-tab-panel-beta",{"tabId":[1,"tab-id"],"active":[32],"guxSetActive":[64]}]]],["p-46e71d1e",[[1,"gux-tabs",{"activeTab":[1025,"active-tab"],"orientation":[1],"alignment":[1],"tabList":[32],"tabPanels":[32],"guxActivate":[64]},[[0,"internalactivatetabpanel","onInternalActivateTabPanel"]]]]],["p-1f39ee30",[[1,"gux-tabs-advanced",{"activeTab":[1025,"active-tab"],"tabList":[32],"tabPanels":[32],"guxActivate":[64]},[[0,"internalactivatetabpanel","onInternalActivateTabPanel"]]]]],["p-dfbc9442",[[1,"gux-time-beta",{"datetime":[1],"format":[1]}]]],["p-9690e7fa",[[1,"gux-icon",{"iconName":[1,"icon-name"],"decorative":[4],"screenreaderText":[1,"screenreader-text"],"svgHtml":[32]}]]],["p-cc3174ef",[[17,"gux-table-toolbar-menu-button",{"showMenu":[4,"show-menu"],"expanded":[32]},[[0,"keydown","handleKeyDown"],[0,"keyup","handleKeyup"]]]]],["p-4d250c8c",[[17,"gux-month-calendar",{"value":[1025],"min":[1],"max":[1],"year":[32],"locale":[32],"guxFocus":[64]}]]],["p-50efe901",[[1,"gux-form-field-search",{"labelPosition":[1,"label-position"],"computedLabelPosition":[32],"clearable":[32],"disabled":[32],"required":[32],"hasContent":[32],"hasError":[32],"hasHelp":[32],"guxForceUpdate":[64]}]]],["p-15a62730",[[1,"gux-popover-list",{"for":[1],"position":[1],"displayDismissButton":[4,"display-dismiss-button"],"closeOnClickOutside":[4,"close-on-click-outside"],"hidden":[32]}]]],["p-52854b65",[[1,"gux-calendar",{"value":[1025],"minDate":[1,"min-date"],"maxDate":[1,"max-date"],"mode":[1],"numberOfMonths":[2,"number-of-months"],"startDayOfWeek":[1026,"start-day-of-week"],"previewValue":[32],"selectingDate":[32],"setValue":[64],"focusPreviewDate":[64],"resetCalendarView":[64]}]]],["p-a902d99f",[[1,"gux-content-search",{"matchCount":[1026,"match-count"],"currentMatch":[1026,"current-match"],"disabled":[32],"value":[32],"clear":[64]}]]],["p-3f96ede4",[[1,"gux-dropdown-multi-tag",{"disabled":[4],"numberSelected":[2,"number-selected"],"label":[32]},[[0,"keydown","onKeyDown"]]]]],["p-61d914b3",[[17,"gux-table-toolbar-custom-action",{"iconOnly":[4,"icon-only"],"accent":[1],"disabled":[4]}]]],["p-f9768ae7",[[0,"gux-toggle-slider",{"checked":[4],"disabled":[4],"guxAriaLabel":[1,"gux-aria-label"],"labelId":[1,"label-id"],"errorId":[1,"error-id"]}]]],["p-2c0e117b",[[1,"gux-date-beta",{"datetime":[1],"format":[1]}]]],["p-43d22f9f",[[17,"gux-list-item",{"disabled":[4]},[[1,"mouseup","onMouseup"],[1,"mouseover","onMouseover"]]]]],["p-3c71d470",[[1,"gux-region-icon",{"region":[1],"screenreaderText":[1,"screenreader-text"]}]]],["p-cbb3c659",[[1,"gux-table-select-popover",{"for":[1],"closeOnClickOutside":[4,"close-on-click-outside"],"hidden":[32]}]]],["p-281b6feb",[[1,"gux-text-highlight",{"text":[1],"highlight":[1],"strategy":[1]}]]],["p-e2b5b02d",[[17,"gux-form-field-input-clear-button"]]],["p-09df19dd",[[17,"gux-dismiss-button",{"position":[1]}]]],["p-0408f0a9",[[1,"gux-pagination-ellipsis-button",{"totalPages":[2,"total-pages"],"isOpen":[32]},[[0,"keydown","handleKeyDown"],[0,"keyup","handleKeyup"]]],[17,"gux-form-field-number",{"clearable":[4],"labelPosition":[1,"label-position"],"computedLabelPosition":[32],"disabled":[32],"required":[32],"hasContent":[32],"hasError":[32],"hasHelp":[32],"guxForceUpdate":[64]}],[1,"gux-popover-beta",{"for":[1],"position":[1],"displayDismissButton":[4,"display-dismiss-button"],"closeOnClickOutside":[4,"close-on-click-outside"],"isOpen":[1028,"is-open"]}]]],["p-d2868f26",[[1,"gux-button-slot-beta",{"accent":[1]}]]],["p-e3791a5d",[[1,"gux-tooltip",{"for":[1],"placement":[1025],"isShown":[32],"showTooltip":[64],"hideTooltip":[64]},[[9,"keydown","handleKeyDown"]]]]],["p-3d65f3b8",[[0,"gux-pagination-buttons-beta",{"currentPage":[1026,"current-page"],"totalPages":[2,"total-pages"],"layout":[1]},[[0,"goToPage","goToPageHandler"]]],[0,"gux-pagination-item-counts-beta",{"totalItems":[2,"total-items"],"currentPage":[2,"current-page"],"itemsPerPage":[2,"items-per-page"]}]]],["p-92db2ccc",[[0,"gux-pagination-items-per-page-beta",{"itemsPerPage":[2,"items-per-page"]},[[0,"change","handleChange"]]]]],["p-cfcdab63",[[1,"gux-form-field-text-like",{"clearable":[4],"labelPosition":[1,"label-position"],"hasPrefix":[32],"hasSuffix":[32],"computedLabelPosition":[32],"disabled":[32],"required":[32],"hasContent":[32],"hasError":[32],"hasHelp":[32],"guxForceUpdate":[64]}]]],["p-96fd4c46",[[1,"gux-announce-beta",{"politeness":[1],"guxAnnounce":[64]}]]],["p-210bc5a8",[[0,"gux-pagination-items-per-page",{"itemsPerPage":[2,"items-per-page"]},[[0,"change","handleChange"]]],[0,"gux-pagination-buttons",{"currentPage":[2,"current-page"],"totalPages":[2,"total-pages"],"layout":[1]}],[0,"gux-pagination-item-counts",{"totalItems":[2,"total-items"],"currentPage":[2,"current-page"],"itemsPerPage":[2,"items-per-page"]}]]],["p-0b227ae0",[[1,"gux-form-field-checkbox",{"disabled":[32],"hasError":[32],"hasHelp":[32]}]]],["p-f311a133",[[1,"gux-screen-reader-beta"]]],["p-27b1150a",[[4,"gux-tooltip-title",{"hasTooltip":[32],"showTooltip":[32],"iconOnly":[32],"titleName":[32],"setShowTooltip":[64],"setHideTooltip":[64]},[[1,"mouseenter","onmouseenter"],[1,"mouseleave","onmouseleave"],[1,"mousedown","onmousedown"]]]]],["p-462a6cf1",[[17,"gux-month-list",{"guxFocusFirstItem":[64]},[[0,"keydown","onKeyDown"]]],[17,"gux-month-list-item",{"value":[1],"disabled":[4],"selected":[4]},[[1,"mouseup","onMouseup"],[1,"mouseover","onMouseover"]]]]],["p-efb1bb46",[[17,"gux-list",{"guxFocusFirstItem":[64],"guxFocusItemById":[64],"guxFocusItemByClosestId":[64],"guxFocusLastItem":[64]},[[0,"keydown","onKeyDown"]]]]],["p-334e3b2c",[[1,"gux-truncate",{"maxLines":[2,"max-lines"],"setShowTooltip":[64],"setHideTooltip":[64]}]]],["p-9390cb13",[[1,"gux-radial-loading",{"context":[1],"screenreaderText":[1,"screenreader-text"]}]]],["p-af48a4c4",[[1,"gux-popup",{"expanded":[4],"disabled":[4]}]]],["p-28b4f8ce",[[17,"gux-dropdown",{"value":[1025],"disabled":[4],"required":[4],"loading":[4],"placeholder":[1],"filterable":[4],"filterType":[1,"filter-type"],"hasError":[4,"has-error"],"expanded":[32],"filter":[32]},[[0,"keydown","onKeydown"],[0,"internallistboxoptionsupdated","onInternallistboxoptionsupdated"],[0,"blur","onBlur"],[0,"focus","onFocus"],[0,"focusout","onFocusout"],[0,"focusin","onFocusin"],[0,"internalexpanded","onInternalExpanded"],[0,"internalcollapsed","onInternalCollapsed"]]],[4,"gux-option",{"value":[1],"active":[4],"selected":[4],"disabled":[4],"filtered":[4],"hovered":[1028]},[[1,"mouseenter","onmouseenter"],[1,"mouseleave","onMouseleave"]]],[1,"gux-listbox",{"value":[1025],"filter":[1],"filterType":[1,"filter-type"],"loading":[4],"selectedValues":[32],"listboxOptions":[32],"allListboxOptionsFiltered":[32],"guxSelectActive":[64]},[[0,"focus","onFocus"],[0,"blur","onBlur"],[0,"keydown","onKeydown"],[0,"keyup","onKeyup"],[1,"mousemove","onMousemove"],[0,"click","onClick"]]]]]]'),e)));
@@ -1 +1 @@
1
- import{r as t,h as i,H as a,g as s}from"./p-7d26b2e1.js";import{s as r}from"./p-d176c2ae.js";import{c as e}from"./p-9dd4b14a.js";import{t as n}from"./p-e1558f84.js";import{a as o}from"./p-d0805f56.js";const h=class{constructor(i){t(this,i),this.value=0,this.maxValue=5,this.disabled=!1,this.readonly=!1}onClick(t){if(t.stopPropagation(),this.disabled||this.readonly)return;const[i]=t.composedPath(),a=i.getRootNode(),s=Array.from(this.starContainer.children).findIndex((t=>t.shadowRoot===a))+1;s===this.value+.5?this.updateRatingValue(s):s===this.value?this.updateRatingValue(0):s!==Math.floor(this.value)&&this.updateRatingValue(s-.5)}onKeyDown(t){if(t.stopPropagation(),!this.disabled&&!this.readonly)switch(t.key){case"ArrowUp":case"ArrowLeft":t.preventDefault(),this.updateRatingValue(this.value-.5);break;case"ArrowDown":case"ArrowRight":t.preventDefault(),this.updateRatingValue(this.value+.5);break;case"End":t.preventDefault(),this.updateRatingValue(1/0);break;case"Home":t.preventDefault(),this.updateRatingValue(-1/0)}}updateRatingValue(t){const i=e(t,0,Array.from(this.starContainer.children).length);this.value!==i&&(this.value=i,r(this.root,"input"),r(this.root,"change"))}getRatingStarElements(){return[...Array(this.maxValue).keys()].reduce(((t,i)=>t.concat(i+.5===this.value?"rating-partial":i+1<=this.value?"rating-active":"rating")),[]).map((t=>i("gux-icon",{"icon-name":t,decorative:!0})))}getTabIndex(){return this.disabled?-1:0}componentWillLoad(){n(this.root)}componentDidLoad(){this.root.getAttribute("aria-label")||this.root.getAttribute("aria-labelledby")||o(this.root,"`gux-rating` requires a label. Either provide a label and associate it with the gux-rating element using `aria-labelledby` or add an `aria-label` attribute to the gux-rating element.")}render(){return i(a,{role:"spinbutton",tabindex:this.getTabIndex(),"aria-readonly":this.readonly.toString(),"aria-valuenow":this.value,"aria-valuemin":"0","aria-valuemax":this.maxValue},i("div",{ref:t=>this.starContainer=t,class:{"gux-rating-star-container":!0,"gux-disabled":this.disabled}},this.getRatingStarElements()))}get root(){return s(this)}};h.style=":host{display:inline-flex;user-select:none}:host:focus-visible{outline:none;box-shadow:0 0 0 3px rgba(117, 168, 255, 0.5)}.gux-rating-star-container{color:#2e394c}.gux-rating-star-container.gux-disabled{opacity:0.5}.gux-rating-star-container gux-icon{width:24px;height:24px}";export{h as gux_rating}
1
+ import{r as t,h as i,H as a,g as s}from"./p-7d26b2e1.js";import{s as r}from"./p-d176c2ae.js";import{c as e}from"./p-9dd4b14a.js";import{t as n}from"./p-2a13ca65.js";import{a as o}from"./p-d0805f56.js";const h=class{constructor(i){t(this,i),this.value=0,this.maxValue=5,this.disabled=!1,this.readonly=!1}onClick(t){if(t.stopPropagation(),this.disabled||this.readonly)return;const[i]=t.composedPath(),a=i.getRootNode(),s=Array.from(this.starContainer.children).findIndex((t=>t.shadowRoot===a))+1;s===this.value+.5?this.updateRatingValue(s):s===this.value?this.updateRatingValue(0):s!==Math.floor(this.value)&&this.updateRatingValue(s-.5)}onKeyDown(t){if(t.stopPropagation(),!this.disabled&&!this.readonly)switch(t.key){case"ArrowUp":case"ArrowLeft":t.preventDefault(),this.updateRatingValue(this.value-.5);break;case"ArrowDown":case"ArrowRight":t.preventDefault(),this.updateRatingValue(this.value+.5);break;case"End":t.preventDefault(),this.updateRatingValue(1/0);break;case"Home":t.preventDefault(),this.updateRatingValue(-1/0)}}updateRatingValue(t){const i=e(t,0,Array.from(this.starContainer.children).length);this.value!==i&&(this.value=i,r(this.root,"input"),r(this.root,"change"))}getRatingStarElements(){return[...Array(this.maxValue).keys()].reduce(((t,i)=>t.concat(i+.5===this.value?"rating-partial":i+1<=this.value?"rating-active":"rating")),[]).map((t=>i("gux-icon",{"icon-name":t,decorative:!0})))}getTabIndex(){return this.disabled?-1:0}componentWillLoad(){n(this.root)}componentDidLoad(){this.root.getAttribute("aria-label")||this.root.getAttribute("aria-labelledby")||o(this.root,"`gux-rating` requires a label. Either provide a label and associate it with the gux-rating element using `aria-labelledby` or add an `aria-label` attribute to the gux-rating element.")}render(){return i(a,{role:"spinbutton",tabindex:this.getTabIndex(),"aria-readonly":this.readonly.toString(),"aria-valuenow":this.value,"aria-valuemin":"0","aria-valuemax":this.maxValue},i("div",{ref:t=>this.starContainer=t,class:{"gux-rating-star-container":!0,"gux-disabled":this.disabled}},this.getRatingStarElements()))}get root(){return s(this)}};h.style=":host{display:inline-flex;user-select:none}:host:focus-visible{outline:none;box-shadow:0 0 0 3px rgba(117, 168, 255, 0.5)}.gux-rating-star-container{color:#2e394c}.gux-rating-star-container.gux-disabled{opacity:0.5}.gux-rating-star-container gux-icon{width:24px;height:24px}";export{h as gux_rating}
@@ -1 +1 @@
1
- import{r as t,f as e,h as o,g as i,c as r,H as n}from"./p-7d26b2e1.js";import{b as s}from"./p-deee079e.js";import{c as a,o as p}from"./p-3f5341ea.js";import{O as l}from"./p-f34ce7dc.js";import{o as u}from"./p-3701eff0.js";import{p as c}from"./p-c10e41a9.js";import{h,d,G as x,a as g,g as f,v as b,b as m,e as w}from"./p-b3c9fd06.js";import{s as v}from"./p-d176c2ae.js";import{h as y}from"./p-08bc2e6b.js";import{G as j,a as k}from"./p-a733f4ca.js";import{t as z}from"./p-e1558f84.js";import{t as O}from"./p-89af02eb.js";import{O as C}from"./p-9d18d475.js";import{b as R}from"./p-091f51f6.js";import{a as D,c as _,o as E,f as I,s as L,b as P}from"./p-ec218689.js";import{g as T}from"./p-3e6097e5.js";import{f as $}from"./p-7d614de7.js";import"./p-8a133b9b.js";import"./p-cbcbd1bb.js";import"./p-d0805f56.js";const F={increment:"Increment",decrement:"Decrement"};const S=class{constructor(e){t(this,e),this.clearable=void 0,this.labelPosition=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=y(this.root,"error"),this.hasHelp=y(this.root,"help")}async guxForceUpdate(){this.hasContent=h(this.input),this.hasError=y(this.root,"error"),this.hasHelp=y(this.root,"help"),e(this.root)}async componentWillLoad(){this.getI18nValue=await s(this.root,F),this.setInput(),this.setLabel(),this.hasError=y(this.root,"error"),this.hasHelp=y(this.root,"help"),z(this.root,{variant:this.variant})}disconnectedCallback(){this.disabledObserver&&this.disabledObserver.disconnect(),this.requiredObserver&&this.requiredObserver.disconnect()}render(){const t=this.clearable&&this.hasContent&&!this.disabled;return o(k,{labelPosition:this.computedLabelPosition},o(j,{position:this.computedLabelPosition,required:this.required},o("slot",{name:"label",onSlotchange:()=>this.setLabel()})),o("div",{class:"gux-input-and-error-container"},o("div",{class:{"gux-input":!0,"gux-input-error":this.hasError},part:"input-section"},o("div",{class:{"gux-input-container":!0,"gux-disabled":this.disabled,"gux-clear":t}},o("slot",{name:"input",onSlotchange:()=>this.setInput()}),t&&o("gux-form-field-input-clear-button",{onClick:()=>d(this.input)})),this.renderStepButtons(this.input,this.getI18nValue,this.disabled)),o(x,{show:this.hasError},o("slot",{name:"error"})),o(g,{show:!this.hasError&&this.hasHelp},o("slot",{name:"help"}))))}get variant(){const t=this.labelPosition?this.labelPosition.toLowerCase():"none";return`${this.clearable?"clearable":"unclearable"}-${t}`}setInput(){this.input=f(this.root,'input[type="number"][slot="input"]'),this.hasContent=h(this.input),c(this.input),this.input.addEventListener("input",(()=>{this.hasContent=h(this.input)})),this.disabled=a(this.input),this.required=this.input.required,this.disabledObserver=p(this.input,(t=>{this.disabled=t})),this.requiredObserver=u(this.input,(t=>{this.required=t})),b(this.root,this.input)}setLabel(){this.label=this.root.querySelector('label[slot="label"]'),this.computedLabelPosition=m(this.label,this.labelPosition)}renderStepButtons(t,e,i){return o("div",{class:"gux-step-buttons-container"},o("button",{class:"gux-step-button",tabIndex:-1,type:"button",title:e("increment"),disabled:i,onClick:()=>this.stepUp(t)},o("gux-icon",{"icon-name":"chevron-small-up",decorative:!0})),o("button",{class:"gux-step-button",tabIndex:-1,type:"button",title:e("decrement"),disabled:i,onClick:()=>this.stepDown(t)},o("gux-icon",{"icon-name":"chevron-small-down",decorative:!0})))}stepDown(t){""===t.value?w(t,t.min||"0",!1):(t.stepDown(),this.simulateNativeInputAndChangeEvents(t))}stepUp(t){""===t.value?w(t,t.min||"0",!1):(t.stepUp(),this.simulateNativeInputAndChangeEvents(t))}simulateNativeInputAndChangeEvents(t){v(t,"input"),v(t,"change")}static get delegatesFocus(){return!0}get root(){return i(this)}};(function(t,e,o,i){var r,n=arguments.length,s=n<3?e:null===i?i=Object.getOwnPropertyDescriptor(e,o):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(t,e,o,i);else for(var a=t.length-1;a>=0;a--)(r=t[a])&&(s=(n<3?r(s):n>3?r(e,o,s):r(e,o))||s);n>3&&s&&Object.defineProperty(e,o,s)})([l({childList:!0,subtree:!0})],S.prototype,"onMutation",null),S.style=".gux-form-field-container{margin:var(--gux-form-field-container-margin-top, 16px) 0 var(--gux-form-field-container-margin-bottom, 16px) 0}.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;margin:4px 0;font-size:12px;line-height:20px;color:#2e394c}.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:16px;min-height:16px;margin:2px 4px 0 0;color:#ea0b0b}.gux-form-field-error .gux-message{flex:0 1 auto;align-self:auto;order:0}.gux-form-field-label.gux-required::after{font-size:12px;color:#ea0b0b;content:' *'}.gux-form-field-label.gux-beside{position:relative;top:8px;width:fit-content;min-width:45px;margin-right:8px}.gux-form-field-label.gux-above{margin-bottom:8px}.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;margin:4px 0;font-size:12px;font-weight:400;line-height:20px;color:#6b7585}.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;color:#2e394c}::slotted(label){font-family:Roboto, sans-serif;font-weight:400;font-weight:700;font-size:12px;line-height:16px}::slotted(input){flex:1 1 auto;align-self:auto;order:0;width:100%;overflow:hidden;font-size:12px;color:#2e394c;text-align:right;text-overflow:ellipsis;background-color:#f6f7f9;border:none;outline:none}::slotted(input)::placeholder{color:#596373;opacity:1}.gux-input-and-error-container{flex-grow:1}.gux-input-and-error-container .gux-input{display:flex;flex-direction:row;flex-wrap:nowrap;align-content:stretch;align-items:center;width:100%}.gux-input-and-error-container .gux-input .gux-input-container{box-sizing:border-box;display:flex;flex:1 1 auto;flex-direction:row;flex-wrap:nowrap;align-content:stretch;align-items:center;align-self:auto;justify-content:center;order:0;width:100%;height:32px;padding:4px 12px;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-input-and-error-container .gux-input .gux-input-container.gux-disabled{opacity:0.5}.gux-input-and-error-container .gux-input .gux-input-container.gux-clear{padding-right:0}.gux-input-and-error-container .gux-input .gux-input-container:focus-within{border-color:#2a60c8;outline:3px solid #aac9ff;outline-offset:1px;box-shadow:0 0 0 1px #fdfdfd}.gux-input-and-error-container .gux-input.gux-input-error .gux-input-container{border-color:#ea0b0b}.gux-step-buttons-container{flex:0 1 14px;align-self:auto;order:0;margin:0 4px}.gux-step-buttons-container .gux-step-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-step-buttons-container .gux-step-button:not(:disabled):focus-visible,.gux-step-buttons-container .gux-step-button:not(:disabled):hover{color:#2a60c8;cursor:pointer}.gux-step-buttons-container .gux-step-button gux-icon{flex:0 0 auto;width:14px;height:14px}";const U=class{constructor(e){t(this,e),this.goToPage=r(this,"goToPage",7),this.isOpen=!1,this.totalPages=void 0}handleKeyDown(t){const e=t.composedPath();switch(t.key){case"Escape":this.isOpen=!1,this.ellipsisButton.focus();break;case"Tab":this.isOpen=!1;break;case"ArrowDown":case"Enter":e.includes(this.ellipsisButton)&&(t.preventDefault(),this.isOpen=!0,this.focusInputElement())}}handleKeyup(t){if(" "===t.key)t.composedPath().includes(this.ellipsisButton)&&(this.isOpen=!0,this.focusInputElement())}toggle(){this.isOpen=!this.isOpen,this.isOpen&&this.focusInputElement()}onClickOutside(){this.isOpen=!1}focusInputElement(){R((()=>{this.inputElement.focus()}))}applyInputListener(){var t;null===(t=this.inputElement)||void 0===t||t.addEventListener("keydown",(t=>{"Enter"!=t.key&&" "!=t.key||(t.preventDefault(),this.goToPage.emit(t.target.value),this.isOpen=!1)}))}async componentWillLoad(){this.i18n=await s(this.root,O),z(this.root)}componentDidLoad(){this.applyInputListener()}render(){return o(n,null,o("button",{id:"popover-target",type:"button",ref:t=>this.ellipsisButton=t,onClick:()=>this.toggle(),"aria-haspopup":"true","aria-expanded":this.isOpen.toString()},o("gux-icon",{screenreaderText:this.i18n("goToPage"),"icon-name":"menu-kebab-horizontal"})),o("gux-tooltip",{for:"popover-target"},this.i18n("goToPage")),o("gux-popover-beta",{"is-open":this.isOpen,for:"popover-target"},o("span",{slot:"title"},this.i18n("goToPage")),o("gux-form-field-number",null,o("input",{slot:"input",type:"number",ref:t=>this.inputElement=t,min:"1",max:this.totalPages,value:"1"}),o("label",{slot:"label"}))))}get root(){return i(this)}};(function(t,e,o,i){var r,n=arguments.length,s=n<3?e:null===i?i=Object.getOwnPropertyDescriptor(e,o):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(t,e,o,i);else for(var a=t.length-1;a>=0;a--)(r=t[a])&&(s=(n<3?r(s):n>3?r(e,o,s):r(e,o))||s);n>3&&s&&Object.defineProperty(e,o,s)})([C({triggerEvents:"mousedown"})],U.prototype,"onClickOutside",null),U.style="button{padding:0 2px;color:#6b7585;cursor:pointer;background:none;border:none}button:hover{color:#2e394c}button:focus-visible{border:3px solid #aac9ff;border-radius:5px;outline:none}button gux-icon{width:16px;height:16px;padding-top:4px}input::-webkit-outer-spin-button,input::-webkit-inner-spin-button{margin:0;-webkit-appearance:none}input[type='number']{-moz-appearance:textfield}";const B=class{constructor(e){t(this,e),this.guxdismiss=r(this,"guxdismiss",7),this.for=void 0,this.position="bottom",this.displayDismissButton=void 0,this.closeOnClickOutside=!1,this.isOpen=!1}checkForClickOutside(t){const e=t.composedPath(),o=$(this.root,this.for),i=e.includes(o);!this.closeOnClickOutside&&this.displayDismissButton||!this.isOpen||i||this.dismiss()}get titleSlot(){return T(this.root,"title")}runUpdatePosition(){this.root.isConnected?this.cleanupUpdatePosition=D($(this.root,this.for),this.popupElement,(()=>this.updatePosition()),{ancestorScroll:!0,elementResize:!0,animationFrame:!0,ancestorResize:!0}):this.disconnectedCallback()}updatePosition(){const t=$(this.root,this.for);this.popupElement&&_(t,this.popupElement,{placement:this.position,middleware:[E(7),I(),L(),P({element:this.arrowElement,padding:16})]}).then((({x:t,y:e,middlewareData:o,placement:i})=>{Object.assign(this.popupElement.style,{left:`${t}px`,top:`${e}px`});const r={top:"bottom",right:"left",bottom:"top",left:"right"}[i.split("-")[0]];if(o.arrow){const{x:t,y:e}=o.arrow;this.popupElement.setAttribute("data-placement",i),Object.assign(this.arrowElement.style,{left:null!=t?`${t}px`:"",top:null!=e?`${e}px`:"",right:"",bottom:"",[r]:"-6.5px",transform:"rotate(45deg)"})}}))}dismiss(){this.guxdismiss.emit().defaultPrevented||(this.isOpen=!1)}connectedCallback(){z(this.root,{variant:this.position})}componentDidLoad(){this.isOpen&&this.runUpdatePosition()}componentDidUpdate(){this.isOpen?this.runUpdatePosition():this.cleanupUpdatePosition&&this.cleanupUpdatePosition()}disconnectedCallback(){this.cleanupUpdatePosition&&this.cleanupUpdatePosition()}renderDismissButton(){if(this.displayDismissButton)return o("gux-dismiss-button",{onClick:this.dismiss.bind(this),position:"inherit"})}render(){return o("div",{ref:t=>this.popupElement=t,class:{"gux-hidden":!this.isOpen,"gux-popover-wrapper":!0},"data-placement":!0},o("div",{ref:t=>this.arrowElement=t,class:"gux-arrow"}),o("div",{class:{"gux-popover-header":Boolean(this.titleSlot)}},o("slot",{name:"title"}),this.renderDismissButton()),o("div",{class:"gux-popover-content"},o("slot",null)))}get root(){return i(this)}};(function(t,e,o,i){var r,n=arguments.length,s=n<3?e:null===i?i=Object.getOwnPropertyDescriptor(e,o):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(t,e,o,i);else for(var a=t.length-1;a>=0;a--)(r=t[a])&&(s=(n<3?r(s):n>3?r(e,o,s):r(e,o))||s);n>3&&s&&Object.defineProperty(e,o,s)})([C({triggerEvents:"mousedown"})],B.prototype,"checkForClickOutside",null),B.style=".gux-popover-wrapper{position:absolute;top:0;left:0;z-index:var(--gux-zindex-popover, 2);display:inline-block;padding:16px;color:#2e394c;background-color:#fdfdfd;border-radius:4px;box-shadow:0 3px 14px rgba(46, 57, 76, 0.22)}.gux-popover-wrapper.gux-hidden{display:none}.gux-popover-wrapper .gux-arrow{position:absolute;width:10px;height:10px;background:inherit}.gux-popover-wrapper[data-placement='bottom'] .gux-arrow,.gux-popover-wrapper[data-placement='bottom-start'] .gux-arrow,.gux-popover-wrapper[data-placement='bottom-end'] .gux-arrow{border-top:1px solid #b4bccb;border-left:1px solid #b4bccb}.gux-popover-wrapper[data-placement='top'] .gux-arrow,.gux-popover-wrapper[data-placement='top-start'] .gux-arrow,.gux-popover-wrapper[data-placement='top-end'] .gux-arrow{border-right:1px solid #b4bccb;border-bottom:1px solid #b4bccb}.gux-popover-wrapper[data-placement='left'] .gux-arrow,.gux-popover-wrapper[data-placement='left-start'] .gux-arrow,.gux-popover-wrapper[data-placement='left-end'] .gux-arrow{border-top:1px solid #b4bccb;border-right:1px solid #b4bccb}.gux-popover-wrapper[data-placement='right'] .gux-arrow,.gux-popover-wrapper[data-placement='right-start'] .gux-arrow,.gux-popover-wrapper[data-placement='right-end'] .gux-arrow{border-bottom:1px solid #b4bccb;border-left:1px solid #b4bccb}.gux-popover-wrapper .gux-popover-header{font-size:12px;line-height:20px;font-family:Roboto, sans-serif;font-weight:400;font-weight:700;display:flex;flex-direction:row;align-content:center;align-items:center;justify-content:space-between;padding-bottom:16px}.gux-popover-wrapper gux-dismiss-button{float:right}";export{S as gux_form_field_number,U as gux_pagination_ellipsis_button,B as gux_popover_beta}
1
+ import{r as t,f as e,h as o,g as i,c as r,H as n}from"./p-7d26b2e1.js";import{b as s}from"./p-deee079e.js";import{c as a,o as p}from"./p-3f5341ea.js";import{O as l}from"./p-f34ce7dc.js";import{o as u}from"./p-3701eff0.js";import{p as c}from"./p-c10e41a9.js";import{h,d,G as x,a as g,g as f,v as b,b as m,e as w}from"./p-b3c9fd06.js";import{s as v}from"./p-d176c2ae.js";import{h as y}from"./p-08bc2e6b.js";import{G as j,a as k}from"./p-a733f4ca.js";import{t as z}from"./p-2a13ca65.js";import{t as O}from"./p-89af02eb.js";import{O as C}from"./p-9d18d475.js";import{b as R}from"./p-091f51f6.js";import{a as D,c as _,o as E,f as I,s as L,b as P}from"./p-ec218689.js";import{g as T}from"./p-3e6097e5.js";import{f as $}from"./p-7d614de7.js";import"./p-8a133b9b.js";import"./p-cbcbd1bb.js";import"./p-d0805f56.js";const F={increment:"Increment",decrement:"Decrement"};const S=class{constructor(e){t(this,e),this.clearable=void 0,this.labelPosition=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=y(this.root,"error"),this.hasHelp=y(this.root,"help")}async guxForceUpdate(){this.hasContent=h(this.input),this.hasError=y(this.root,"error"),this.hasHelp=y(this.root,"help"),e(this.root)}async componentWillLoad(){this.getI18nValue=await s(this.root,F),this.setInput(),this.setLabel(),this.hasError=y(this.root,"error"),this.hasHelp=y(this.root,"help"),z(this.root,{variant:this.variant})}disconnectedCallback(){this.disabledObserver&&this.disabledObserver.disconnect(),this.requiredObserver&&this.requiredObserver.disconnect()}render(){const t=this.clearable&&this.hasContent&&!this.disabled;return o(k,{labelPosition:this.computedLabelPosition},o(j,{position:this.computedLabelPosition,required:this.required},o("slot",{name:"label",onSlotchange:()=>this.setLabel()})),o("div",{class:"gux-input-and-error-container"},o("div",{class:{"gux-input":!0,"gux-input-error":this.hasError},part:"input-section"},o("div",{class:{"gux-input-container":!0,"gux-disabled":this.disabled,"gux-clear":t}},o("slot",{name:"input",onSlotchange:()=>this.setInput()}),t&&o("gux-form-field-input-clear-button",{onClick:()=>d(this.input)})),this.renderStepButtons(this.input,this.getI18nValue,this.disabled)),o(x,{show:this.hasError},o("slot",{name:"error"})),o(g,{show:!this.hasError&&this.hasHelp},o("slot",{name:"help"}))))}get variant(){const t=this.labelPosition?this.labelPosition.toLowerCase():"none";return`${this.clearable?"clearable":"unclearable"}-${t}`}setInput(){this.input=f(this.root,'input[type="number"][slot="input"]'),this.hasContent=h(this.input),c(this.input),this.input.addEventListener("input",(()=>{this.hasContent=h(this.input)})),this.disabled=a(this.input),this.required=this.input.required,this.disabledObserver=p(this.input,(t=>{this.disabled=t})),this.requiredObserver=u(this.input,(t=>{this.required=t})),b(this.root,this.input)}setLabel(){this.label=this.root.querySelector('label[slot="label"]'),this.computedLabelPosition=m(this.label,this.labelPosition)}renderStepButtons(t,e,i){return o("div",{class:"gux-step-buttons-container"},o("button",{class:"gux-step-button",tabIndex:-1,type:"button",title:e("increment"),disabled:i,onClick:()=>this.stepUp(t)},o("gux-icon",{"icon-name":"chevron-small-up",decorative:!0})),o("button",{class:"gux-step-button",tabIndex:-1,type:"button",title:e("decrement"),disabled:i,onClick:()=>this.stepDown(t)},o("gux-icon",{"icon-name":"chevron-small-down",decorative:!0})))}stepDown(t){""===t.value?w(t,t.min||"0",!1):(t.stepDown(),this.simulateNativeInputAndChangeEvents(t))}stepUp(t){""===t.value?w(t,t.min||"0",!1):(t.stepUp(),this.simulateNativeInputAndChangeEvents(t))}simulateNativeInputAndChangeEvents(t){v(t,"input"),v(t,"change")}static get delegatesFocus(){return!0}get root(){return i(this)}};(function(t,e,o,i){var r,n=arguments.length,s=n<3?e:null===i?i=Object.getOwnPropertyDescriptor(e,o):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(t,e,o,i);else for(var a=t.length-1;a>=0;a--)(r=t[a])&&(s=(n<3?r(s):n>3?r(e,o,s):r(e,o))||s);n>3&&s&&Object.defineProperty(e,o,s)})([l({childList:!0,subtree:!0})],S.prototype,"onMutation",null),S.style=".gux-form-field-container{margin:var(--gux-form-field-container-margin-top, 16px) 0 var(--gux-form-field-container-margin-bottom, 16px) 0}.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;margin:4px 0;font-size:12px;line-height:20px;color:#2e394c}.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:16px;min-height:16px;margin:2px 4px 0 0;color:#ea0b0b}.gux-form-field-error .gux-message{flex:0 1 auto;align-self:auto;order:0}.gux-form-field-label.gux-required::after{font-size:12px;color:#ea0b0b;content:' *'}.gux-form-field-label.gux-beside{position:relative;top:8px;width:fit-content;min-width:45px;margin-right:8px}.gux-form-field-label.gux-above{margin-bottom:8px}.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;margin:4px 0;font-size:12px;font-weight:400;line-height:20px;color:#6b7585}.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;color:#2e394c}::slotted(label){font-family:Roboto, sans-serif;font-weight:400;font-weight:700;font-size:12px;line-height:16px}::slotted(input){flex:1 1 auto;align-self:auto;order:0;width:100%;overflow:hidden;font-size:12px;color:#2e394c;text-align:right;text-overflow:ellipsis;background-color:#f6f7f9;border:none;outline:none}::slotted(input)::placeholder{color:#596373;opacity:1}.gux-input-and-error-container{flex-grow:1}.gux-input-and-error-container .gux-input{display:flex;flex-direction:row;flex-wrap:nowrap;align-content:stretch;align-items:center;width:100%}.gux-input-and-error-container .gux-input .gux-input-container{box-sizing:border-box;display:flex;flex:1 1 auto;flex-direction:row;flex-wrap:nowrap;align-content:stretch;align-items:center;align-self:auto;justify-content:center;order:0;width:100%;height:32px;padding:4px 12px;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-input-and-error-container .gux-input .gux-input-container.gux-disabled{opacity:0.5}.gux-input-and-error-container .gux-input .gux-input-container.gux-clear{padding-right:0}.gux-input-and-error-container .gux-input .gux-input-container:focus-within{border-color:#2a60c8;outline:3px solid #aac9ff;outline-offset:1px;box-shadow:0 0 0 1px #fdfdfd}.gux-input-and-error-container .gux-input.gux-input-error .gux-input-container{border-color:#ea0b0b}.gux-step-buttons-container{flex:0 1 14px;align-self:auto;order:0;margin:0 4px}.gux-step-buttons-container .gux-step-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-step-buttons-container .gux-step-button:not(:disabled):focus-visible,.gux-step-buttons-container .gux-step-button:not(:disabled):hover{color:#2a60c8;cursor:pointer}.gux-step-buttons-container .gux-step-button gux-icon{flex:0 0 auto;width:14px;height:14px}";const U=class{constructor(e){t(this,e),this.goToPage=r(this,"goToPage",7),this.isOpen=!1,this.totalPages=void 0}handleKeyDown(t){const e=t.composedPath();switch(t.key){case"Escape":this.isOpen=!1,this.ellipsisButton.focus();break;case"Tab":this.isOpen=!1;break;case"ArrowDown":case"Enter":e.includes(this.ellipsisButton)&&(t.preventDefault(),this.isOpen=!0,this.focusInputElement())}}handleKeyup(t){if(" "===t.key)t.composedPath().includes(this.ellipsisButton)&&(this.isOpen=!0,this.focusInputElement())}toggle(){this.isOpen=!this.isOpen,this.isOpen&&this.focusInputElement()}onClickOutside(){this.isOpen=!1}focusInputElement(){R((()=>{this.inputElement.focus()}))}applyInputListener(){var t;null===(t=this.inputElement)||void 0===t||t.addEventListener("keydown",(t=>{"Enter"!=t.key&&" "!=t.key||(t.preventDefault(),this.goToPage.emit(t.target.value),this.isOpen=!1)}))}async componentWillLoad(){this.i18n=await s(this.root,O),z(this.root)}componentDidLoad(){this.applyInputListener()}render(){return o(n,null,o("button",{id:"popover-target",type:"button",ref:t=>this.ellipsisButton=t,onClick:()=>this.toggle(),"aria-haspopup":"true","aria-expanded":this.isOpen.toString()},o("gux-icon",{screenreaderText:this.i18n("goToPage"),"icon-name":"menu-kebab-horizontal"})),o("gux-tooltip",{for:"popover-target"},this.i18n("goToPage")),o("gux-popover-beta",{"is-open":this.isOpen,for:"popover-target"},o("span",{slot:"title"},this.i18n("goToPage")),o("gux-form-field-number",null,o("input",{slot:"input",type:"number",ref:t=>this.inputElement=t,min:"1",max:this.totalPages,value:"1"}),o("label",{slot:"label"}))))}get root(){return i(this)}};(function(t,e,o,i){var r,n=arguments.length,s=n<3?e:null===i?i=Object.getOwnPropertyDescriptor(e,o):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(t,e,o,i);else for(var a=t.length-1;a>=0;a--)(r=t[a])&&(s=(n<3?r(s):n>3?r(e,o,s):r(e,o))||s);n>3&&s&&Object.defineProperty(e,o,s)})([C({triggerEvents:"mousedown"})],U.prototype,"onClickOutside",null),U.style="button{padding:0 2px;color:#6b7585;cursor:pointer;background:none;border:none}button:hover{color:#2e394c}button:focus-visible{border:3px solid #aac9ff;border-radius:5px;outline:none}button gux-icon{width:16px;height:16px;padding-top:4px}input::-webkit-outer-spin-button,input::-webkit-inner-spin-button{margin:0;-webkit-appearance:none}input[type='number']{-moz-appearance:textfield}";const B=class{constructor(e){t(this,e),this.guxdismiss=r(this,"guxdismiss",7),this.for=void 0,this.position="bottom",this.displayDismissButton=void 0,this.closeOnClickOutside=!1,this.isOpen=!1}checkForClickOutside(t){const e=t.composedPath(),o=$(this.root,this.for),i=e.includes(o);!this.closeOnClickOutside&&this.displayDismissButton||!this.isOpen||i||this.dismiss()}get titleSlot(){return T(this.root,"title")}runUpdatePosition(){this.root.isConnected?this.cleanupUpdatePosition=D($(this.root,this.for),this.popupElement,(()=>this.updatePosition()),{ancestorScroll:!0,elementResize:!0,animationFrame:!0,ancestorResize:!0}):this.disconnectedCallback()}updatePosition(){const t=$(this.root,this.for);this.popupElement&&_(t,this.popupElement,{placement:this.position,middleware:[E(7),I(),L(),P({element:this.arrowElement,padding:16})]}).then((({x:t,y:e,middlewareData:o,placement:i})=>{Object.assign(this.popupElement.style,{left:`${t}px`,top:`${e}px`});const r={top:"bottom",right:"left",bottom:"top",left:"right"}[i.split("-")[0]];if(o.arrow){const{x:t,y:e}=o.arrow;this.popupElement.setAttribute("data-placement",i),Object.assign(this.arrowElement.style,{left:null!=t?`${t}px`:"",top:null!=e?`${e}px`:"",right:"",bottom:"",[r]:"-6.5px",transform:"rotate(45deg)"})}}))}dismiss(){this.guxdismiss.emit().defaultPrevented||(this.isOpen=!1)}connectedCallback(){z(this.root,{variant:this.position})}componentDidLoad(){this.isOpen&&this.runUpdatePosition()}componentDidUpdate(){this.isOpen?this.runUpdatePosition():this.cleanupUpdatePosition&&this.cleanupUpdatePosition()}disconnectedCallback(){this.cleanupUpdatePosition&&this.cleanupUpdatePosition()}renderDismissButton(){if(this.displayDismissButton)return o("gux-dismiss-button",{onClick:this.dismiss.bind(this),position:"inherit"})}render(){return o("div",{ref:t=>this.popupElement=t,class:{"gux-hidden":!this.isOpen,"gux-popover-wrapper":!0},"data-placement":!0},o("div",{ref:t=>this.arrowElement=t,class:"gux-arrow"}),o("div",{class:{"gux-popover-header":Boolean(this.titleSlot)}},o("slot",{name:"title"}),this.renderDismissButton()),o("div",{class:"gux-popover-content"},o("slot",null)))}get root(){return i(this)}};(function(t,e,o,i){var r,n=arguments.length,s=n<3?e:null===i?i=Object.getOwnPropertyDescriptor(e,o):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(t,e,o,i);else for(var a=t.length-1;a>=0;a--)(r=t[a])&&(s=(n<3?r(s):n>3?r(e,o,s):r(e,o))||s);n>3&&s&&Object.defineProperty(e,o,s)})([C({triggerEvents:"mousedown"})],B.prototype,"checkForClickOutside",null),B.style=".gux-popover-wrapper{position:absolute;top:0;left:0;z-index:var(--gux-zindex-popover, 2);display:inline-block;padding:16px;color:#2e394c;background-color:#fdfdfd;border-radius:4px;box-shadow:0 3px 14px rgba(46, 57, 76, 0.22)}.gux-popover-wrapper.gux-hidden{display:none}.gux-popover-wrapper .gux-arrow{position:absolute;width:10px;height:10px;background:inherit}.gux-popover-wrapper[data-placement='bottom'] .gux-arrow,.gux-popover-wrapper[data-placement='bottom-start'] .gux-arrow,.gux-popover-wrapper[data-placement='bottom-end'] .gux-arrow{border-top:1px solid #b4bccb;border-left:1px solid #b4bccb}.gux-popover-wrapper[data-placement='top'] .gux-arrow,.gux-popover-wrapper[data-placement='top-start'] .gux-arrow,.gux-popover-wrapper[data-placement='top-end'] .gux-arrow{border-right:1px solid #b4bccb;border-bottom:1px solid #b4bccb}.gux-popover-wrapper[data-placement='left'] .gux-arrow,.gux-popover-wrapper[data-placement='left-start'] .gux-arrow,.gux-popover-wrapper[data-placement='left-end'] .gux-arrow{border-top:1px solid #b4bccb;border-right:1px solid #b4bccb}.gux-popover-wrapper[data-placement='right'] .gux-arrow,.gux-popover-wrapper[data-placement='right-start'] .gux-arrow,.gux-popover-wrapper[data-placement='right-end'] .gux-arrow{border-bottom:1px solid #b4bccb;border-left:1px solid #b4bccb}.gux-popover-wrapper .gux-popover-header{font-size:12px;line-height:20px;font-family:Roboto, sans-serif;font-weight:400;font-weight:700;display:flex;flex-direction:row;align-content:center;align-items:center;justify-content:space-between;padding-bottom:16px}.gux-popover-wrapper gux-dismiss-button{float:right}";export{S as gux_form_field_number,U as gux_pagination_ellipsis_button,B as gux_popover_beta}
@@ -1 +1 @@
1
- import{r as t,c as o,h as e,g as r}from"./p-7d26b2e1.js";import{a as p,c as a,o as s,f as i,s as d,b as c}from"./p-ec218689.js";import{O as n}from"./p-9d18d475.js";import{t as l}from"./p-e1558f84.js";import{f as h}from"./p-7d614de7.js";const b=class{constructor(e){t(this,e),this.guxdismiss=o(this,"guxdismiss",7),this.for=void 0,this.position="bottom",this.displayDismissButton=void 0,this.closeOnClickOutside=!1,this.isOpen=!1}checkForClickOutside(t){const o=t.composedPath(),e=h(this.root,this.for),r=o.includes(e);!this.closeOnClickOutside&&this.displayDismissButton||!this.isOpen||r||this.dismiss()}runUpdatePosition(){this.root.isConnected?this.cleanupUpdatePosition=p(h(this.root,this.for),this.popupElement,(()=>this.updatePosition()),{ancestorScroll:!0,elementResize:!0,animationFrame:!0,ancestorResize:!0}):this.disconnectedCallback()}updatePosition(){const t=h(this.root,this.for);this.popupElement&&a(t,this.popupElement,{placement:this.position,middleware:[s(7),i(),d(),c({element:this.arrowElement,padding:16})]}).then((({x:t,y:o,middlewareData:e,placement:r})=>{Object.assign(this.popupElement.style,{left:`${t}px`,top:`${o}px`});const p={top:"bottom",right:"left",bottom:"top",left:"right"}[r.split("-")[0]];if(e.arrow){const{x:t,y:o}=e.arrow;this.popupElement.setAttribute("data-placement",r),Object.assign(this.arrowElement.style,{left:null!=t?`${t}px`:"",top:null!=o?`${o}px`:"",right:"",bottom:"",[p]:"-6.5px",transform:"rotate(45deg)"})}}))}dismiss(){this.guxdismiss.emit().defaultPrevented||(this.isOpen=!1)}connectedCallback(){l(this.root,{variant:this.position})}componentDidLoad(){this.isOpen&&this.runUpdatePosition()}componentDidUpdate(){this.isOpen?this.runUpdatePosition():this.cleanupUpdatePosition&&this.cleanupUpdatePosition()}disconnectedCallback(){this.cleanupUpdatePosition&&this.cleanupUpdatePosition()}render(){return e("div",{ref:t=>this.popupElement=t,class:{"gux-hidden":!this.isOpen,"gux-popover-wrapper":!0},"data-placement":!0},e("div",{ref:t=>this.arrowElement=t,class:"gux-arrow"}),this.displayDismissButton&&e("gux-dismiss-button",{onClick:this.dismiss.bind(this)}),e("div",{class:"gux-popover-content"},e("slot",null)))}get root(){return r(this)}};(function(t,o,e,r){var p,a=arguments.length,s=a<3?o:null===r?r=Object.getOwnPropertyDescriptor(o,e):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(t,o,e,r);else for(var i=t.length-1;i>=0;i--)(p=t[i])&&(s=(a<3?p(s):a>3?p(o,e,s):p(o,e))||s);a>3&&s&&Object.defineProperty(o,e,s)})([n({triggerEvents:"mousedown"})],b.prototype,"checkForClickOutside",null),b.style=".gux-popover-wrapper{position:absolute;top:0;left:0;z-index:var(--gux-zindex-popover, 2);display:inline-block;padding:8px 0;color:#2e394c;background-color:#fdfdfd;border:1px solid #b4bccb;border-radius:4px;box-shadow:0 2px 4px rgba(32, 41, 55, 0.24)}.gux-popover-wrapper.gux-hidden{display:none}.gux-popover-wrapper .gux-arrow{position:absolute;width:10px;height:10px;background:inherit}.gux-popover-wrapper[data-placement='bottom'] .gux-arrow,.gux-popover-wrapper[data-placement='bottom-start'] .gux-arrow,.gux-popover-wrapper[data-placement='bottom-end'] .gux-arrow{border-top:1px solid #b4bccb;border-left:1px solid #b4bccb}.gux-popover-wrapper[data-placement='top'] .gux-arrow,.gux-popover-wrapper[data-placement='top-start'] .gux-arrow,.gux-popover-wrapper[data-placement='top-end'] .gux-arrow{border-right:1px solid #b4bccb;border-bottom:1px solid #b4bccb}.gux-popover-wrapper[data-placement='left'] .gux-arrow,.gux-popover-wrapper[data-placement='left-start'] .gux-arrow,.gux-popover-wrapper[data-placement='left-end'] .gux-arrow{border-top:1px solid #b4bccb;border-right:1px solid #b4bccb}.gux-popover-wrapper[data-placement='right'] .gux-arrow,.gux-popover-wrapper[data-placement='right-start'] .gux-arrow,.gux-popover-wrapper[data-placement='right-end'] .gux-arrow{border-bottom:1px solid #b4bccb;border-left:1px solid #b4bccb}";export{b as gux_popover_list_beta}
1
+ import{r as t,c as o,h as e,g as r}from"./p-7d26b2e1.js";import{a as p,c as a,o as s,f as i,s as d,b as c}from"./p-ec218689.js";import{O as n}from"./p-9d18d475.js";import{t as l}from"./p-2a13ca65.js";import{f as h}from"./p-7d614de7.js";const b=class{constructor(e){t(this,e),this.guxdismiss=o(this,"guxdismiss",7),this.for=void 0,this.position="bottom",this.displayDismissButton=void 0,this.closeOnClickOutside=!1,this.isOpen=!1}checkForClickOutside(t){const o=t.composedPath(),e=h(this.root,this.for),r=o.includes(e);!this.closeOnClickOutside&&this.displayDismissButton||!this.isOpen||r||this.dismiss()}runUpdatePosition(){this.root.isConnected?this.cleanupUpdatePosition=p(h(this.root,this.for),this.popupElement,(()=>this.updatePosition()),{ancestorScroll:!0,elementResize:!0,animationFrame:!0,ancestorResize:!0}):this.disconnectedCallback()}updatePosition(){const t=h(this.root,this.for);this.popupElement&&a(t,this.popupElement,{placement:this.position,middleware:[s(7),i(),d(),c({element:this.arrowElement,padding:16})]}).then((({x:t,y:o,middlewareData:e,placement:r})=>{Object.assign(this.popupElement.style,{left:`${t}px`,top:`${o}px`});const p={top:"bottom",right:"left",bottom:"top",left:"right"}[r.split("-")[0]];if(e.arrow){const{x:t,y:o}=e.arrow;this.popupElement.setAttribute("data-placement",r),Object.assign(this.arrowElement.style,{left:null!=t?`${t}px`:"",top:null!=o?`${o}px`:"",right:"",bottom:"",[p]:"-6.5px",transform:"rotate(45deg)"})}}))}dismiss(){this.guxdismiss.emit().defaultPrevented||(this.isOpen=!1)}connectedCallback(){l(this.root,{variant:this.position})}componentDidLoad(){this.isOpen&&this.runUpdatePosition()}componentDidUpdate(){this.isOpen?this.runUpdatePosition():this.cleanupUpdatePosition&&this.cleanupUpdatePosition()}disconnectedCallback(){this.cleanupUpdatePosition&&this.cleanupUpdatePosition()}render(){return e("div",{ref:t=>this.popupElement=t,class:{"gux-hidden":!this.isOpen,"gux-popover-wrapper":!0},"data-placement":!0},e("div",{ref:t=>this.arrowElement=t,class:"gux-arrow"}),this.displayDismissButton&&e("gux-dismiss-button",{onClick:this.dismiss.bind(this)}),e("div",{class:"gux-popover-content"},e("slot",null)))}get root(){return r(this)}};(function(t,o,e,r){var p,a=arguments.length,s=a<3?o:null===r?r=Object.getOwnPropertyDescriptor(o,e):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(t,o,e,r);else for(var i=t.length-1;i>=0;i--)(p=t[i])&&(s=(a<3?p(s):a>3?p(o,e,s):p(o,e))||s);a>3&&s&&Object.defineProperty(o,e,s)})([n({triggerEvents:"mousedown"})],b.prototype,"checkForClickOutside",null),b.style=".gux-popover-wrapper{position:absolute;top:0;left:0;z-index:var(--gux-zindex-popover, 2);display:inline-block;padding:8px 0;color:#2e394c;background-color:#fdfdfd;border:1px solid #b4bccb;border-radius:4px;box-shadow:0 2px 4px rgba(32, 41, 55, 0.24)}.gux-popover-wrapper.gux-hidden{display:none}.gux-popover-wrapper .gux-arrow{position:absolute;width:10px;height:10px;background:inherit}.gux-popover-wrapper[data-placement='bottom'] .gux-arrow,.gux-popover-wrapper[data-placement='bottom-start'] .gux-arrow,.gux-popover-wrapper[data-placement='bottom-end'] .gux-arrow{border-top:1px solid #b4bccb;border-left:1px solid #b4bccb}.gux-popover-wrapper[data-placement='top'] .gux-arrow,.gux-popover-wrapper[data-placement='top-start'] .gux-arrow,.gux-popover-wrapper[data-placement='top-end'] .gux-arrow{border-right:1px solid #b4bccb;border-bottom:1px solid #b4bccb}.gux-popover-wrapper[data-placement='left'] .gux-arrow,.gux-popover-wrapper[data-placement='left-start'] .gux-arrow,.gux-popover-wrapper[data-placement='left-end'] .gux-arrow{border-top:1px solid #b4bccb;border-right:1px solid #b4bccb}.gux-popover-wrapper[data-placement='right'] .gux-arrow,.gux-popover-wrapper[data-placement='right-start'] .gux-arrow,.gux-popover-wrapper[data-placement='right-end'] .gux-arrow{border-bottom:1px solid #b4bccb;border-left:1px solid #b4bccb}";export{b as gux_popover_list_beta}
@@ -1 +1 @@
1
- import{r as t,h as e,g as i}from"./p-7d26b2e1.js";import{b as s}from"./p-deee079e.js";import{O as r}from"./p-f34ce7dc.js";import{a as o,o as n}from"./p-3701eff0.js";import{t as a}from"./p-e1558f84.js";import{G as l,g as h,a as f}from"./p-17385760.js";import{G as p,a as d,v as u,b as g}from"./p-b3c9fd06.js";import{h as x}from"./p-08bc2e6b.js";import"./p-8a133b9b.js";import"./p-cbcbd1bb.js";import"./p-d0805f56.js";import"./p-d176c2ae.js";const c={required:"Required"};const m=class{constructor(e){t(this,e),this.labelPosition=void 0,this.computedLabelPosition="above",this.disabled=void 0,this.required=!1,this.hasError=!1,this.hasHelp=!1}watchValue(t){const e=this.root.querySelector("gux-phone-input-beta");e&&(e.hasError=t)}onMutation(){this.hasError=x(this.root,"error"),this.hasHelp=x(this.root,"help")}async componentWillLoad(){this.getI18nValue=await s(this.root,c),this.setInput(),this.setLabel(),this.hasError=x(this.root,"error"),this.hasHelp=x(this.root,"help"),a(this.root,{variant:this.variant})}disconnectedCallback(){this.disabledObserver.disconnect(),this.requiredObserver.disconnect()}render(){return e(f,{labelPosition:this.computedLabelPosition},e(l,{position:this.computedLabelPosition,required:this.required},e("slot",{name:"label",onSlotchange:()=>this.setLabel()}),this.renderScreenReaderText(this.getI18nValue("required"),this.required),this.renderScreenReaderText(h(this.root,"error"),this.hasError)),e("div",{class:"gux-input-and-error-container"},e("div",{class:{"gux-input":!0,"gux-input-error":this.hasError}},e("div",{class:{"gux-input-container":!0,"gux-disabled":this.disabled}},e("slot",null))),e(p,{show:this.hasError},e("slot",{name:"error"})),e(d,{show:!this.hasError&&this.hasHelp},e("slot",{name:"help"}))))}renderScreenReaderText(t,i=!0){if(i)return e("gux-screen-reader-beta",null,t)}get variant(){return`phoneInput-${this.labelPosition?this.labelPosition.toLowerCase():"none"}`}setInput(){this.phoneInputElement=this.root.querySelector("gux-phone-input-beta"),this.disabled=this.phoneInputElement.disabled,this.required=this.phoneInputElement.required,this.disabledObserver=o(this.phoneInputElement,(t=>{this.disabled=t})),this.requiredObserver=n(this.phoneInputElement,(t=>{this.required=t})),u(this.root,this.phoneInputElement)}setLabel(){this.label=this.root.querySelector('label[slot="label"]'),this.computedLabelPosition=g(this.label,this.labelPosition)}get root(){return i(this)}static get watchers(){return{hasError:["watchValue"]}}};(function(t,e,i,s){var r,o=arguments.length,n=o<3?e:null===s?s=Object.getOwnPropertyDescriptor(e,i):s;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)n=Reflect.decorate(t,e,i,s);else for(var a=t.length-1;a>=0;a--)(r=t[a])&&(n=(o<3?r(n):o>3?r(e,i,n):r(e,i))||n);o>3&&n&&Object.defineProperty(e,i,n)})([r({childList:!0,subtree:!0})],m.prototype,"onMutation",null),m.style=".gux-form-field-fieldset-container{display:flex;min-width:0;padding:0;margin:var(--gux-form-field-fieldset-container-margin-top, 16px) 0 var(--gux-form-field-fieldset-container-margin-bottom, 16px) 0;border:none}.gux-form-field-error{display:none;flex-direction:row;flex-wrap:nowrap;align-content:stretch;align-items:flex-start;justify-content:flex-start;margin:4px 0;font-size:12px;line-height:20px;color:#2e394c}.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:16px;min-height:16px;margin:2px 4px 0 0;color:#ea0b0b}.gux-form-field-error .gux-message{flex:0 1 auto;align-self:auto;order:0}.gux-form-field-legend-label{padding:0}.gux-form-field-legend-label.gux-required::after{font-size:12px;color:#ea0b0b;content:' *'}.gux-form-field-legend-label.gux-beside{position:relative;top:8px;float:left;width:fit-content;min-width:45px;margin-right:8px}.gux-form-field-legend-label.gux-above{margin-bottom:8px}.gux-form-field-legend-label.gux-screenreader{position:absolute;top:auto;left:-10000px;width:1px;height:1px;overflow:hidden}::slotted(label){font-family:Roboto, sans-serif;font-weight:400;font-weight:700;font-size:12px;line-height:16px}.gux-input-and-error-container{flex-grow:1}";export{m as gux_form_field_phone}
1
+ import{r as t,h as e,g as i}from"./p-7d26b2e1.js";import{b as s}from"./p-deee079e.js";import{O as r}from"./p-f34ce7dc.js";import{a as o,o as n}from"./p-3701eff0.js";import{t as a}from"./p-2a13ca65.js";import{G as l,g as h,a as f}from"./p-17385760.js";import{G as p,a as d,v as u,b as g}from"./p-b3c9fd06.js";import{h as x}from"./p-08bc2e6b.js";import"./p-8a133b9b.js";import"./p-cbcbd1bb.js";import"./p-d0805f56.js";import"./p-d176c2ae.js";const c={required:"Required"};const m=class{constructor(e){t(this,e),this.labelPosition=void 0,this.computedLabelPosition="above",this.disabled=void 0,this.required=!1,this.hasError=!1,this.hasHelp=!1}watchValue(t){const e=this.root.querySelector("gux-phone-input-beta");e&&(e.hasError=t)}onMutation(){this.hasError=x(this.root,"error"),this.hasHelp=x(this.root,"help")}async componentWillLoad(){this.getI18nValue=await s(this.root,c),this.setInput(),this.setLabel(),this.hasError=x(this.root,"error"),this.hasHelp=x(this.root,"help"),a(this.root,{variant:this.variant})}disconnectedCallback(){this.disabledObserver.disconnect(),this.requiredObserver.disconnect()}render(){return e(f,{labelPosition:this.computedLabelPosition},e(l,{position:this.computedLabelPosition,required:this.required},e("slot",{name:"label",onSlotchange:()=>this.setLabel()}),this.renderScreenReaderText(this.getI18nValue("required"),this.required),this.renderScreenReaderText(h(this.root,"error"),this.hasError)),e("div",{class:"gux-input-and-error-container"},e("div",{class:{"gux-input":!0,"gux-input-error":this.hasError}},e("div",{class:{"gux-input-container":!0,"gux-disabled":this.disabled}},e("slot",null))),e(p,{show:this.hasError},e("slot",{name:"error"})),e(d,{show:!this.hasError&&this.hasHelp},e("slot",{name:"help"}))))}renderScreenReaderText(t,i=!0){if(i)return e("gux-screen-reader-beta",null,t)}get variant(){return`phoneInput-${this.labelPosition?this.labelPosition.toLowerCase():"none"}`}setInput(){this.phoneInputElement=this.root.querySelector("gux-phone-input-beta"),this.disabled=this.phoneInputElement.disabled,this.required=this.phoneInputElement.required,this.disabledObserver=o(this.phoneInputElement,(t=>{this.disabled=t})),this.requiredObserver=n(this.phoneInputElement,(t=>{this.required=t})),u(this.root,this.phoneInputElement)}setLabel(){this.label=this.root.querySelector('label[slot="label"]'),this.computedLabelPosition=g(this.label,this.labelPosition)}get root(){return i(this)}static get watchers(){return{hasError:["watchValue"]}}};(function(t,e,i,s){var r,o=arguments.length,n=o<3?e:null===s?s=Object.getOwnPropertyDescriptor(e,i):s;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)n=Reflect.decorate(t,e,i,s);else for(var a=t.length-1;a>=0;a--)(r=t[a])&&(n=(o<3?r(n):o>3?r(e,i,n):r(e,i))||n);o>3&&n&&Object.defineProperty(e,i,n)})([r({childList:!0,subtree:!0})],m.prototype,"onMutation",null),m.style=".gux-form-field-fieldset-container{display:flex;min-width:0;padding:0;margin:var(--gux-form-field-fieldset-container-margin-top, 16px) 0 var(--gux-form-field-fieldset-container-margin-bottom, 16px) 0;border:none}.gux-form-field-error{display:none;flex-direction:row;flex-wrap:nowrap;align-content:stretch;align-items:flex-start;justify-content:flex-start;margin:4px 0;font-size:12px;line-height:20px;color:#2e394c}.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:16px;min-height:16px;margin:2px 4px 0 0;color:#ea0b0b}.gux-form-field-error .gux-message{flex:0 1 auto;align-self:auto;order:0}.gux-form-field-legend-label{padding:0}.gux-form-field-legend-label.gux-required::after{font-size:12px;color:#ea0b0b;content:' *'}.gux-form-field-legend-label.gux-beside{position:relative;top:8px;float:left;width:fit-content;min-width:45px;margin-right:8px}.gux-form-field-legend-label.gux-above{margin-bottom:8px}.gux-form-field-legend-label.gux-screenreader{position:absolute;top:auto;left:-10000px;width:1px;height:1px;overflow:hidden}::slotted(label){font-family:Roboto, sans-serif;font-weight:400;font-weight:700;font-size:12px;line-height:16px}.gux-input-and-error-container{flex-grow:1}";export{m as gux_form_field_phone}
@@ -1 +1 @@
1
- import{r as t,h as o,g as i}from"./p-7d26b2e1.js";import{t as s}from"./p-e1558f84.js";import{b as e}from"./p-deee079e.js";import"./p-8a133b9b.js";const n={dismiss:"Dismiss"},r=class{constructor(o){t(this,o),this.position="absolute"}async componentWillLoad(){s(this.root,{variant:this.position}),this.i18n=await e(this.root,n)}render(){return o("button",{class:"inherit"==this.position?"gux-inherit":void 0,type:"button",title:this.i18n("dismiss")},o("gux-icon",{"icon-name":"close","screenreader-text":this.i18n("dismiss")}))}static get delegatesFocus(){return!0}get root(){return i(this)}};r.style="button{position:absolute;top:0;right:0;padding:2px;color:#596373;background:transparent;border:none;border-radius:4px}button.gux-inherit{position:inherit}button:not(:disabled):focus-visible,button:not(:disabled):hover{color:#2e394c;cursor:pointer}button gux-icon{width:16px;height:16px;margin:4px;border-radius:4px}button:focus{outline:none}button:focus gux-icon{outline:none}button:focus-visible:enabled gux-icon{outline:3px solid #aac9ff;outline-offset:1px;box-shadow:0 0 0 1px #fdfdfd}";export{r as gux_dismiss_button}
1
+ import{r as t,h as o,g as i}from"./p-7d26b2e1.js";import{t as s}from"./p-2a13ca65.js";import{b as e}from"./p-deee079e.js";import"./p-8a133b9b.js";const n={dismiss:"Dismiss"},r=class{constructor(o){t(this,o),this.position="absolute"}async componentWillLoad(){s(this.root,{variant:this.position}),this.i18n=await e(this.root,n)}render(){return o("button",{class:"inherit"==this.position?"gux-inherit":void 0,type:"button",title:this.i18n("dismiss")},o("gux-icon",{"icon-name":"close","screenreader-text":this.i18n("dismiss")}))}static get delegatesFocus(){return!0}get root(){return i(this)}};r.style="button{position:absolute;top:0;right:0;padding:2px;color:#596373;background:transparent;border:none;border-radius:4px}button.gux-inherit{position:inherit}button:not(:disabled):focus-visible,button:not(:disabled):hover{color:#2e394c;cursor:pointer}button gux-icon{width:16px;height:16px;margin:4px;border-radius:4px}button:focus{outline:none}button:focus gux-icon{outline:none}button:focus-visible:enabled gux-icon{outline:3px solid #aac9ff;outline-offset:1px;box-shadow:0 0 0 1px #fdfdfd}";export{r as gux_dismiss_button}
@@ -1 +1 @@
1
- import{r as e,h as t,H as o,g as i}from"./p-7d26b2e1.js";import{c as l,o as s}from"./p-3f5341ea.js";import{O as r}from"./p-f34ce7dc.js";import{p as a}from"./p-c10e41a9.js";import{h as n}from"./p-08bc2e6b.js";import{G as d,a as p,g as c,v as g}from"./p-b3c9fd06.js";import{t as f}from"./p-e1558f84.js";import"./p-cbcbd1bb.js";import"./p-d0805f56.js";import"./p-d176c2ae.js";const h=class{constructor(t){e(this,t),this.disabled=void 0,this.hasError=!1,this.hasHelp=!1}onMutation(){this.hasError=n(this.root,"error"),this.hasHelp=n(this.root,"help")}componentWillLoad(){this.setInput(),this.hasError=n(this.root,"error"),this.hasHelp=n(this.root,"help"),f(this.root)}disconnectedCallback(){this.disabledObserver&&this.disabledObserver.disconnect()}render(){return t(o,{class:{"gux-input-error":this.hasError,"gux-disabled":this.disabled}},t("div",{class:"gux-form-field-container"},t("div",{class:"gux-input-label"},t("div",{class:"gux-input"},t("slot",{name:"input",onSlotchange:()=>this.setInput()})),t("div",{class:"gux-label"},t("slot",{name:"label"}),t(d,{show:this.hasError},t("slot",{name:"error"})),t(p,{show:!this.hasError&&this.hasHelp},t("slot",{name:"help"}))))))}setInput(){this.input=c(this.root,'input[type="checkbox"][slot="input"]'),a(this.input),this.disabled=l(this.input),this.disabledObserver=s(this.input,(e=>{this.disabled=e})),g(this.root,this.input)}get root(){return i(this)}};(function(e,t,o,i){var l,s=arguments.length,r=s<3?t:null===i?i=Object.getOwnPropertyDescriptor(t,o):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)r=Reflect.decorate(e,t,o,i);else for(var a=e.length-1;a>=0;a--)(l=e[a])&&(r=(s<3?l(r):s>3?l(t,o,r):l(t,o))||r);s>3&&r&&Object.defineProperty(t,o,r)})([r({childList:!0,subtree:!0})],h.prototype,"onMutation",null),h.style=".gux-form-field-error{display:none;flex-direction:row;flex-wrap:nowrap;align-content:stretch;align-items:flex-start;justify-content:flex-start;margin:4px 0;font-size:12px;line-height:20px;color:#2e394c}.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:16px;min-height:16px;margin:2px 4px 0 0;color:#ea0b0b}.gux-form-field-error .gux-message{flex:0 1 auto;align-self:auto;order:0}.gux-form-field-help{display:none;flex-direction:row;flex-wrap:nowrap;align-content:stretch;align-items:flex-start;justify-content:flex-start;margin:4px 0;font-size:12px;font-weight:400;line-height:20px;color:#6b7585}.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;color:#2e394c}:host(.gux-input-error) ::slotted(input[type='checkbox']:not(:checked))::before{background-image:url(\"data:image/svg+xml,%3Csvg viewBox='0 0 16 16' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath fill-rule='evenodd' clip-rule='evenodd' d='M12.3077 1.84615H3.69231C2.67271 1.84615 1.84615 2.67271 1.84615 3.69231V12.3077C1.84615 13.3273 2.67271 14.1538 3.69231 14.1538H12.3077C13.3273 14.1538 14.1538 13.3273 14.1538 12.3077V3.69231C14.1538 2.67271 13.3273 1.84615 12.3077 1.84615ZM3.69231 0C1.6531 0 0 1.6531 0 3.69231V12.3077C0 14.3469 1.6531 16 3.69231 16H12.3077C14.3469 16 16 14.3469 16 12.3077V3.69231C16 1.6531 14.3469 0 12.3077 0H3.69231Z' fill='%23ea0b0b'/%3E%3C/svg%3E\")}:host(.gux-disabled){cursor:not-allowed;opacity:0.5}:host(.gux-disabled) ::slotted(label){cursor:not-allowed}.gux-input-label{display:flex;flex-direction:row}.gux-input-label .gux-label{display:flex;flex-direction:column}::slotted(input[type='checkbox']){display:inline-grid;width:16px;height:16px;margin:4px;text-align:center;vertical-align:middle;-webkit-appearance:none;appearance:none;cursor:pointer;border:0;outline:none}::slotted(input[type='checkbox'])::before{grid-area:1;content:'';border-radius:15%}::slotted(input[type='checkbox']:focus-visible)::before{outline:3px solid #aac9ff;outline-offset:1px;box-shadow:0 0 0 1px #fdfdfd}::slotted(input[type='checkbox']:not(:checked))::before{background-image:url(\"data:image/svg+xml,%3Csvg viewBox='0 0 16 16' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath fill-rule='evenodd' clip-rule='evenodd' d='M12.3077 1.84615H3.69231C2.67271 1.84615 1.84615 2.67271 1.84615 3.69231V12.3077C1.84615 13.3273 2.67271 14.1538 3.69231 14.1538H12.3077C13.3273 14.1538 14.1538 13.3273 14.1538 12.3077V3.69231C14.1538 2.67271 13.3273 1.84615 12.3077 1.84615ZM3.69231 0C1.6531 0 0 1.6531 0 3.69231V12.3077C0 14.3469 1.6531 16 3.69231 16H12.3077C14.3469 16 16 14.3469 16 12.3077V3.69231C16 1.6531 14.3469 0 12.3077 0H3.69231Z' fill='%2377828f'/%3E%3C/svg%3E\")}::slotted(input[type='checkbox']:not(:checked):not(:disabled):not(:indeterminate):hover)::before{background-image:url(\"data:image/svg+xml,%3Csvg viewBox='0 0 16 16' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath fill-rule='evenodd' clip-rule='evenodd' d='M12.3077 1.84615H3.69231C2.67271 1.84615 1.84615 2.67271 1.84615 3.69231V12.3077C1.84615 13.3273 2.67271 14.1538 3.69231 14.1538H12.3077C13.3273 14.1538 14.1538 13.3273 14.1538 12.3077V3.69231C14.1538 2.67271 13.3273 1.84615 12.3077 1.84615ZM3.69231 0C1.6531 0 0 1.6531 0 3.69231V12.3077C0 14.3469 1.6531 16 3.69231 16H12.3077C14.3469 16 16 14.3469 16 12.3077V3.69231C16 1.6531 14.3469 0 12.3077 0H3.69231Z' fill='%232a60c8'/%3E%3C/svg%3E\")}::slotted(input[type='checkbox']:checked)::before{background-image:url(\"data:image/svg+xml,%3Csvg viewBox='0 0 16 16' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath fill-rule='evenodd' clip-rule='evenodd' d='M3.69231 0H12.3077C13.287 0 14.2261 0.38901 14.9185 1.08145C15.611 1.77389 16 2.71305 16 3.69231V12.3077C16 13.287 15.611 14.2261 14.9185 14.9185C14.2261 15.611 13.287 16 12.3077 16H3.69231C2.71305 16 1.77389 15.611 1.08145 14.9185C0.38901 14.2261 0 13.287 0 12.3077V3.69231C0 2.71305 0.38901 1.77389 1.08145 1.08145C1.77389 0.38901 2.71305 0 3.69231 0ZM5.62483 11.5936C5.79089 11.7597 6.00122 11.8372 6.21155 11.8372C6.43295 11.8372 6.64329 11.7486 6.79827 11.5936L13.2854 5.10652C13.6064 4.78549 13.6064 4.25412 13.2854 3.93308C12.9643 3.61205 12.433 3.61205 12.1119 3.93308L6.21155 9.83348L3.87575 7.4866C3.55472 7.16557 3.02335 7.16557 2.70231 7.4866C2.38128 7.80764 2.38128 8.339 2.70231 8.66004L5.62483 11.5936Z' fill='%232a60c8'/%3E%3C/svg%3E\")}::slotted(input[type='checkbox']:indeterminate)::before{background-image:url(\"data:image/svg+xml,%3Csvg viewBox='0 0 16 16' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath fill-rule='evenodd' clip-rule='evenodd' d='M3.69231 1.84615H12.3077C13.3273 1.84615 14.1538 2.67271 14.1538 3.69231V12.3077C14.1538 13.3273 13.3273 14.1538 12.3077 14.1538H3.69231C2.67271 14.1538 1.84615 13.3273 1.84615 12.3077V3.69231C1.84615 2.67271 2.67271 1.84615 3.69231 1.84615ZM0 3.69231C0 1.6531 1.6531 0 3.69231 0H12.3077C14.3469 0 16 1.6531 16 3.69231V12.3077C16 14.3469 14.3469 16 12.3077 16H3.69231C1.6531 16 0 14.3469 0 12.3077V3.69231ZM4.00028 9.2308H12.0003C12.5049 9.2308 12.9234 8.81234 12.9234 8.30773C12.9234 7.80311 12.5049 7.38465 12.0003 7.38465H4.00028C3.49567 7.38465 3.07721 7.80311 3.07721 8.30773C3.07721 8.81234 3.49567 9.2308 4.00028 9.2308Z' fill='%232a60c8'/%3E%3C/svg%3E\")}::slotted(input[type='checkbox']:disabled)::before{cursor:not-allowed;opacity:0.5}::slotted(label){display:inline-block;font-size:12px;line-height:24px;vertical-align:middle}";export{h as gux_form_field_checkbox}
1
+ import{r as e,h as t,H as o,g as i}from"./p-7d26b2e1.js";import{c as l,o as s}from"./p-3f5341ea.js";import{O as r}from"./p-f34ce7dc.js";import{p as a}from"./p-c10e41a9.js";import{h as n}from"./p-08bc2e6b.js";import{G as d,a as p,g as c,v as g}from"./p-b3c9fd06.js";import{t as h}from"./p-2a13ca65.js";import"./p-cbcbd1bb.js";import"./p-d0805f56.js";import"./p-d176c2ae.js";const f=class{constructor(t){e(this,t),this.disabled=void 0,this.hasError=!1,this.hasHelp=!1}onMutation(){this.hasError=n(this.root,"error"),this.hasHelp=n(this.root,"help")}componentWillLoad(){this.setInput(),this.hasError=n(this.root,"error"),this.hasHelp=n(this.root,"help"),h(this.root)}disconnectedCallback(){this.disabledObserver&&this.disabledObserver.disconnect()}render(){return t(o,{class:{"gux-input-error":this.hasError,"gux-disabled":this.disabled}},t("div",{class:"gux-form-field-container"},t("div",{class:"gux-input-label"},t("div",{class:"gux-input"},t("slot",{name:"input",onSlotchange:()=>this.setInput()})),t("div",{class:"gux-label"},t("slot",{name:"label"}),t(d,{show:this.hasError},t("slot",{name:"error"})),t(p,{show:!this.hasError&&this.hasHelp},t("slot",{name:"help"}))))))}setInput(){this.input=c(this.root,'input[type="checkbox"][slot="input"]'),a(this.input),this.disabled=l(this.input),this.disabledObserver=s(this.input,(e=>{this.disabled=e})),g(this.root,this.input)}get root(){return i(this)}};(function(e,t,o,i){var l,s=arguments.length,r=s<3?t:null===i?i=Object.getOwnPropertyDescriptor(t,o):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)r=Reflect.decorate(e,t,o,i);else for(var a=e.length-1;a>=0;a--)(l=e[a])&&(r=(s<3?l(r):s>3?l(t,o,r):l(t,o))||r);s>3&&r&&Object.defineProperty(t,o,r)})([r({childList:!0,subtree:!0})],f.prototype,"onMutation",null),f.style=".gux-form-field-error{display:none;flex-direction:row;flex-wrap:nowrap;align-content:stretch;align-items:flex-start;justify-content:flex-start;margin:4px 0;font-size:12px;line-height:20px;color:#2e394c}.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:16px;min-height:16px;margin:2px 4px 0 0;color:#ea0b0b}.gux-form-field-error .gux-message{flex:0 1 auto;align-self:auto;order:0}.gux-form-field-help{display:none;flex-direction:row;flex-wrap:nowrap;align-content:stretch;align-items:flex-start;justify-content:flex-start;margin:4px 0;font-size:12px;font-weight:400;line-height:20px;color:#6b7585}.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;color:#2e394c}:host(.gux-input-error) ::slotted(input[type='checkbox']:not(:checked))::before{background-image:url(\"data:image/svg+xml,%3Csvg viewBox='0 0 16 16' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath fill-rule='evenodd' clip-rule='evenodd' d='M12.3077 1.84615H3.69231C2.67271 1.84615 1.84615 2.67271 1.84615 3.69231V12.3077C1.84615 13.3273 2.67271 14.1538 3.69231 14.1538H12.3077C13.3273 14.1538 14.1538 13.3273 14.1538 12.3077V3.69231C14.1538 2.67271 13.3273 1.84615 12.3077 1.84615ZM3.69231 0C1.6531 0 0 1.6531 0 3.69231V12.3077C0 14.3469 1.6531 16 3.69231 16H12.3077C14.3469 16 16 14.3469 16 12.3077V3.69231C16 1.6531 14.3469 0 12.3077 0H3.69231Z' fill='%23ea0b0b'/%3E%3C/svg%3E\")}:host(.gux-disabled){cursor:not-allowed;opacity:0.5}:host(.gux-disabled) ::slotted(label){cursor:not-allowed}.gux-input-label{display:flex;flex-direction:row}.gux-input-label .gux-label{display:flex;flex-direction:column}::slotted(input[type='checkbox']){display:inline-grid;width:16px;height:16px;margin:4px;text-align:center;vertical-align:middle;-webkit-appearance:none;appearance:none;cursor:pointer;border:0;outline:none}::slotted(input[type='checkbox'])::before{grid-area:1;content:'';border-radius:15%}::slotted(input[type='checkbox']:focus-visible)::before{outline:3px solid #aac9ff;outline-offset:1px;box-shadow:0 0 0 1px #fdfdfd}::slotted(input[type='checkbox']:not(:checked))::before{background-image:url(\"data:image/svg+xml,%3Csvg viewBox='0 0 16 16' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath fill-rule='evenodd' clip-rule='evenodd' d='M12.3077 1.84615H3.69231C2.67271 1.84615 1.84615 2.67271 1.84615 3.69231V12.3077C1.84615 13.3273 2.67271 14.1538 3.69231 14.1538H12.3077C13.3273 14.1538 14.1538 13.3273 14.1538 12.3077V3.69231C14.1538 2.67271 13.3273 1.84615 12.3077 1.84615ZM3.69231 0C1.6531 0 0 1.6531 0 3.69231V12.3077C0 14.3469 1.6531 16 3.69231 16H12.3077C14.3469 16 16 14.3469 16 12.3077V3.69231C16 1.6531 14.3469 0 12.3077 0H3.69231Z' fill='%2377828f'/%3E%3C/svg%3E\")}::slotted(input[type='checkbox']:not(:checked):not(:disabled):not(:indeterminate):hover)::before{background-image:url(\"data:image/svg+xml,%3Csvg viewBox='0 0 16 16' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath fill-rule='evenodd' clip-rule='evenodd' d='M12.3077 1.84615H3.69231C2.67271 1.84615 1.84615 2.67271 1.84615 3.69231V12.3077C1.84615 13.3273 2.67271 14.1538 3.69231 14.1538H12.3077C13.3273 14.1538 14.1538 13.3273 14.1538 12.3077V3.69231C14.1538 2.67271 13.3273 1.84615 12.3077 1.84615ZM3.69231 0C1.6531 0 0 1.6531 0 3.69231V12.3077C0 14.3469 1.6531 16 3.69231 16H12.3077C14.3469 16 16 14.3469 16 12.3077V3.69231C16 1.6531 14.3469 0 12.3077 0H3.69231Z' fill='%232a60c8'/%3E%3C/svg%3E\")}::slotted(input[type='checkbox']:checked)::before{background-image:url(\"data:image/svg+xml,%3Csvg viewBox='0 0 16 16' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath fill-rule='evenodd' clip-rule='evenodd' d='M3.69231 0H12.3077C13.287 0 14.2261 0.38901 14.9185 1.08145C15.611 1.77389 16 2.71305 16 3.69231V12.3077C16 13.287 15.611 14.2261 14.9185 14.9185C14.2261 15.611 13.287 16 12.3077 16H3.69231C2.71305 16 1.77389 15.611 1.08145 14.9185C0.38901 14.2261 0 13.287 0 12.3077V3.69231C0 2.71305 0.38901 1.77389 1.08145 1.08145C1.77389 0.38901 2.71305 0 3.69231 0ZM5.62483 11.5936C5.79089 11.7597 6.00122 11.8372 6.21155 11.8372C6.43295 11.8372 6.64329 11.7486 6.79827 11.5936L13.2854 5.10652C13.6064 4.78549 13.6064 4.25412 13.2854 3.93308C12.9643 3.61205 12.433 3.61205 12.1119 3.93308L6.21155 9.83348L3.87575 7.4866C3.55472 7.16557 3.02335 7.16557 2.70231 7.4866C2.38128 7.80764 2.38128 8.339 2.70231 8.66004L5.62483 11.5936Z' fill='%232a60c8'/%3E%3C/svg%3E\")}::slotted(input[type='checkbox']:indeterminate)::before{background-image:url(\"data:image/svg+xml,%3Csvg viewBox='0 0 16 16' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath fill-rule='evenodd' clip-rule='evenodd' d='M3.69231 1.84615H12.3077C13.3273 1.84615 14.1538 2.67271 14.1538 3.69231V12.3077C14.1538 13.3273 13.3273 14.1538 12.3077 14.1538H3.69231C2.67271 14.1538 1.84615 13.3273 1.84615 12.3077V3.69231C1.84615 2.67271 2.67271 1.84615 3.69231 1.84615ZM0 3.69231C0 1.6531 1.6531 0 3.69231 0H12.3077C14.3469 0 16 1.6531 16 3.69231V12.3077C16 14.3469 14.3469 16 12.3077 16H3.69231C1.6531 16 0 14.3469 0 12.3077V3.69231ZM4.00028 9.2308H12.0003C12.5049 9.2308 12.9234 8.81234 12.9234 8.30773C12.9234 7.80311 12.5049 7.38465 12.0003 7.38465H4.00028C3.49567 7.38465 3.07721 7.80311 3.07721 8.30773C3.07721 8.81234 3.49567 9.2308 4.00028 9.2308Z' fill='%232a60c8'/%3E%3C/svg%3E\")}::slotted(input[type='checkbox']:disabled)::before{cursor:not-allowed;opacity:0.5}::slotted(label){display:inline-block;font-size:12px;line-height:24px;vertical-align:middle}";export{f as gux_form_field_checkbox}
@@ -1 +1 @@
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-e1558f84.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
+ 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-2a13ca65.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 +1 @@
1
- import{r as t,c as i,d as a,h as n,g as e}from"./p-7d26b2e1.js";import{a as s}from"./p-091f51f6.js";import{t as o}from"./p-e1558f84.js";const r=class{constructor(a){t(this,a),this.guxpaginationchange=i(this,"guxpaginationchange",7),this.reinstateLayoutBreakpoint=0,this.layout="advanced",this.currentPage=1,this.totalItems=0,this.itemsPerPage=25,this.totalPages=void 0,this.displayedLayout=void 0}setPage(t){if(t<=0)return void this.setPage(1);const i=this.calculateTotalPages(this.totalItems,this.itemsPerPage);t>i?this.setPage(i):(this.currentPage=t,this.guxpaginationchange.emit({currentPage:this.currentPage,itemsPerPage:this.itemsPerPage}))}handleInternalitemsperpagechange(t){this.itemsPerPage=t.detail,this.setPage(1)}handleInternalcurrentpagechange(t){this.setPage(t.detail)}calculateTotalPages(t,i){return Math.max(1,Math.ceil(t/i))}calculateCurrentPage(t,i){return Math.max(t>0?1:0,Math.min(i,t))}checkPaginationContainerWidthForLayout(){a((()=>{const t=this.root.shadowRoot.querySelector(".gux-pagination-container"),i=this.root.shadowRoot.querySelector(".gux-pagination-spacer"),a=t.clientWidth;i.clientWidth<24&&"simple"!==this.displayedLayout?(this.reinstateLayoutBreakpoint=a,this.displayedLayout="simple"):a>this.reinstateLayoutBreakpoint&&(this.reinstateLayoutBreakpoint=0,this.displayedLayout=this.layout)}))}componentWillLoad(){o(this.root,{variant:this.layout})}componentWillRender(){this.totalPages=this.calculateTotalPages(this.totalItems,this.itemsPerPage),this.currentPage=this.calculateCurrentPage(this.totalPages,this.currentPage)}disconnectedCallback(){this.resizeObserver&&this.resizeObserver.unobserve(this.root.shadowRoot.querySelector(".gux-pagination-container"))}componentDidLoad(){!this.resizeObserver&&window.ResizeObserver&&(this.resizeObserver=new ResizeObserver((()=>this.checkPaginationContainerWidthForLayout()))),this.resizeObserver&&this.resizeObserver.observe(this.root.shadowRoot.querySelector(".gux-pagination-container")),s((()=>{this.checkPaginationContainerWidthForLayout()}),500)}render(){return n("div",{class:"gux-pagination-container"},n("div",{class:"gux-pagination-info"},n("gux-pagination-item-counts-beta",{"total-items":this.totalItems,"current-page":this.currentPage,"items-per-page":this.itemsPerPage}),"advanced"===this.displayedLayout&&n("gux-pagination-items-per-page-beta",{"items-per-page":this.itemsPerPage,onInternalitemsperpagechange:this.handleInternalitemsperpagechange.bind(this)})),n("div",{class:"gux-pagination-spacer"}),n("div",{class:"gux-pagination-change"},n("gux-pagination-buttons-beta",{layout:this.displayedLayout,"current-page":this.currentPage,"total-pages":this.totalPages,onInternalcurrentpagechange:this.handleInternalcurrentpagechange.bind(this)})))}get root(){return e(this)}};r.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:40px;margin:12px 12px 0 12px}.gux-pagination-container .gux-pagination-info{display:flex;flex:0 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-spacer{flex:1 1 auto;align-self:auto;order:0}.gux-pagination-container .gux-pagination-change{flex:0 1 auto;align-self:auto;order:0}.gux-pagination-container .gux-pagination-change:first-child{margin-left:0}";export{r as gux_pagination_beta}
1
+ import{r as t,c as i,d as a,h as n,g as e}from"./p-7d26b2e1.js";import{a as s}from"./p-091f51f6.js";import{t as o}from"./p-2a13ca65.js";const r=class{constructor(a){t(this,a),this.guxpaginationchange=i(this,"guxpaginationchange",7),this.reinstateLayoutBreakpoint=0,this.layout="advanced",this.currentPage=1,this.totalItems=0,this.itemsPerPage=25,this.totalPages=void 0,this.displayedLayout=void 0}setPage(t){if(t<=0)return void this.setPage(1);const i=this.calculateTotalPages(this.totalItems,this.itemsPerPage);t>i?this.setPage(i):(this.currentPage=t,this.guxpaginationchange.emit({currentPage:this.currentPage,itemsPerPage:this.itemsPerPage}))}handleInternalitemsperpagechange(t){this.itemsPerPage=t.detail,this.setPage(1)}handleInternalcurrentpagechange(t){this.setPage(t.detail)}calculateTotalPages(t,i){return Math.max(1,Math.ceil(t/i))}calculateCurrentPage(t,i){return Math.max(t>0?1:0,Math.min(i,t))}checkPaginationContainerWidthForLayout(){a((()=>{const t=this.root.shadowRoot.querySelector(".gux-pagination-container"),i=this.root.shadowRoot.querySelector(".gux-pagination-spacer"),a=t.clientWidth;i.clientWidth<24&&"simple"!==this.displayedLayout?(this.reinstateLayoutBreakpoint=a,this.displayedLayout="simple"):a>this.reinstateLayoutBreakpoint&&(this.reinstateLayoutBreakpoint=0,this.displayedLayout=this.layout)}))}componentWillLoad(){o(this.root,{variant:this.layout})}componentWillRender(){this.totalPages=this.calculateTotalPages(this.totalItems,this.itemsPerPage),this.currentPage=this.calculateCurrentPage(this.totalPages,this.currentPage)}disconnectedCallback(){this.resizeObserver&&this.resizeObserver.unobserve(this.root.shadowRoot.querySelector(".gux-pagination-container"))}componentDidLoad(){!this.resizeObserver&&window.ResizeObserver&&(this.resizeObserver=new ResizeObserver((()=>this.checkPaginationContainerWidthForLayout()))),this.resizeObserver&&this.resizeObserver.observe(this.root.shadowRoot.querySelector(".gux-pagination-container")),s((()=>{this.checkPaginationContainerWidthForLayout()}),500)}render(){return n("div",{class:"gux-pagination-container"},n("div",{class:"gux-pagination-info"},n("gux-pagination-item-counts-beta",{"total-items":this.totalItems,"current-page":this.currentPage,"items-per-page":this.itemsPerPage}),"advanced"===this.displayedLayout&&n("gux-pagination-items-per-page-beta",{"items-per-page":this.itemsPerPage,onInternalitemsperpagechange:this.handleInternalitemsperpagechange.bind(this)})),n("div",{class:"gux-pagination-spacer"}),n("div",{class:"gux-pagination-change"},n("gux-pagination-buttons-beta",{layout:this.displayedLayout,"current-page":this.currentPage,"total-pages":this.totalPages,onInternalcurrentpagechange:this.handleInternalcurrentpagechange.bind(this)})))}get root(){return e(this)}};r.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:40px;margin:12px 12px 0 12px}.gux-pagination-container .gux-pagination-info{display:flex;flex:0 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-spacer{flex:1 1 auto;align-self:auto;order:0}.gux-pagination-container .gux-pagination-change{flex:0 1 auto;align-self:auto;order:0}.gux-pagination-container .gux-pagination-change:first-child{margin-left:0}";export{r as gux_pagination_beta}
@@ -1 +1 @@
1
- import{r as t,h as o,H as s,g as e}from"./p-7d26b2e1.js";import{a as i}from"./p-091f51f6.js";import{t as r}from"./p-e1558f84.js";import{h as n}from"./p-837e3eff.js";import{c as a}from"./p-e459974a.js";const u=class{constructor(o){t(this,o),this.isShown=!1}forceUpdate(t){t&&this.popperInstance&&this.popperInstance.update()}onKeydown(t){if(t.stopPropagation(),this.isShown)switch(t.key){case"Escape":case"ArrowLeft":case"ArrowUp":return void this.root.focus();case"ArrowDown":return t.preventDefault(),void this.focusOnMenu();case"Enter":return void(this.hideDelayTimeout=i((()=>{this.focusOnMenu()})))}}onKeyup(t){t.stopPropagation()," "!==t.key||(this.menuContentElement.contains(document.activeElement)?this.root.focus():this.hideDelayTimeout=i((()=>{this.focusOnMenu()})))}onmouseenter(){this.show()}onMouseleave(){this.hide()}onClick(t){0!==t.detail&&this.hide(),this.root.focus()}onFocusin(){this.show()}onFocusout(){this.hide()}show(){clearTimeout(this.hideDelayTimeout),this.isShown=!0}hide(){this.isShown&&(this.hideDelayTimeout=setTimeout((()=>{this.isShown=!1}),n))}runPopper(){this.popperInstance=a(this.targetElement,document.querySelector("gux-menu"),{modifiers:[{name:"offset",options:{offset:[0,16]}},{name:"arrow",options:{padding:16}}],placement:"bottom-start"})}destroyPopper(){this.popperInstance&&(this.popperInstance.destroy(),this.popperInstance=null)}focusOnMenu(){if(this.menuContentElement.contains(document.activeElement))return;const t=this.root.querySelector("gux-menu");Array.from(t.children)[0].guxFocus()}componentWillLoad(){r(this.root)}componentDidLoad(){this.runPopper()}disconnectedCallback(){this.destroyPopper()}render(){return o(s,{tabIndex:0,"aria-haspopup":"true"},o("span",{ref:t=>this.targetElement=t},o("slot",{name:"target"})),o("div",{class:{"gux-flyout-menu-content":!0,"gux-shown":this.isShown},ref:t=>this.menuContentElement=t},o("slot",{name:"menu"})))}get root(){return e(this)}static get watchers(){return{isShown:["forceUpdate"]}}};u.style=":host{z-index:var(--gux-zindex-popover, 2);color:#2e394c;cursor:default}:host(:focus){outline:none}:host(:focus-visible){outline:3px solid #aac9ff;outline-offset:1px;box-shadow:0 0 0 1px #fdfdfd}.gux-flyout-menu-content{display:none;margin:0}.gux-flyout-menu-content.gux-shown{display:flex}.gux-arrow,.gux-arrow::before{position:absolute;top:-3px;width:10px;height:10px;background:inherit}.gux-arrow::before{visibility:visible;content:'';border-top:1px solid #b4bccb;border-left:1px solid #b4bccb;transform:rotate(45deg)}";export{u as gux_flyout_menu_beta}
1
+ import{r as t,h as o,H as s,g as e}from"./p-7d26b2e1.js";import{a as i}from"./p-091f51f6.js";import{t as r}from"./p-2a13ca65.js";import{h as n}from"./p-837e3eff.js";import{c as a}from"./p-e459974a.js";const u=class{constructor(o){t(this,o),this.isShown=!1}forceUpdate(t){t&&this.popperInstance&&this.popperInstance.update()}onKeydown(t){if(t.stopPropagation(),this.isShown)switch(t.key){case"Escape":case"ArrowLeft":case"ArrowUp":return void this.root.focus();case"ArrowDown":return t.preventDefault(),void this.focusOnMenu();case"Enter":return void(this.hideDelayTimeout=i((()=>{this.focusOnMenu()})))}}onKeyup(t){t.stopPropagation()," "!==t.key||(this.menuContentElement.contains(document.activeElement)?this.root.focus():this.hideDelayTimeout=i((()=>{this.focusOnMenu()})))}onmouseenter(){this.show()}onMouseleave(){this.hide()}onClick(t){0!==t.detail&&this.hide(),this.root.focus()}onFocusin(){this.show()}onFocusout(){this.hide()}show(){clearTimeout(this.hideDelayTimeout),this.isShown=!0}hide(){this.isShown&&(this.hideDelayTimeout=setTimeout((()=>{this.isShown=!1}),n))}runPopper(){this.popperInstance=a(this.targetElement,document.querySelector("gux-menu"),{modifiers:[{name:"offset",options:{offset:[0,16]}},{name:"arrow",options:{padding:16}}],placement:"bottom-start"})}destroyPopper(){this.popperInstance&&(this.popperInstance.destroy(),this.popperInstance=null)}focusOnMenu(){if(this.menuContentElement.contains(document.activeElement))return;const t=this.root.querySelector("gux-menu");Array.from(t.children)[0].guxFocus()}componentWillLoad(){r(this.root)}componentDidLoad(){this.runPopper()}disconnectedCallback(){this.destroyPopper()}render(){return o(s,{tabIndex:0,"aria-haspopup":"true"},o("span",{ref:t=>this.targetElement=t},o("slot",{name:"target"})),o("div",{class:{"gux-flyout-menu-content":!0,"gux-shown":this.isShown},ref:t=>this.menuContentElement=t},o("slot",{name:"menu"})))}get root(){return e(this)}static get watchers(){return{isShown:["forceUpdate"]}}};u.style=":host{z-index:var(--gux-zindex-popover, 2);color:#2e394c;cursor:default}:host(:focus){outline:none}:host(:focus-visible){outline:3px solid #aac9ff;outline-offset:1px;box-shadow:0 0 0 1px #fdfdfd}.gux-flyout-menu-content{display:none;margin:0}.gux-flyout-menu-content.gux-shown{display:flex}.gux-arrow,.gux-arrow::before{position:absolute;top:-3px;width:10px;height:10px;background:inherit}.gux-arrow::before{visibility:visible;content:'';border-top:1px solid #b4bccb;border-left:1px solid #b4bccb;transform:rotate(45deg)}";export{u as gux_flyout_menu_beta}
@@ -1 +1 @@
1
- import{r as e,h as o,g as l}from"./p-7d26b2e1.js";import{t}from"./p-e1558f84.js";import{b as g}from"./p-deee079e.js";import"./p-8a133b9b.js";const r={neutral:"badge with label: {label}, color: neutral","neutral-bold":"badge with label: {label}, color: neutral bold",green:"badge with label: {label}, color: green","green-bold":"badge with label: {label}, color: green bold",yellow:"badge with label: {label}, color: yellow","yellow-bold":"badge with label: {label}, color: yellow bold",red:"badge with label: {label}, color: red","red-bold":"badge with label: {label}, color: red bold",inherit:"badge with label: {label}"},a=class{constructor(o){e(this,o),this.color="neutral",this.accent="info",this.bold=!1,this.label=void 0}onSlotChange(e){const o=e.composedPath()[0].assignedNodes();this.label=o.map((e=>e.textContent)).join("")}renderBadgeTitle(){return o("gux-tooltip-title",null,o("span",null,o("slot",{"aria-hidden":"true",onSlotchange:this.onSlotChange.bind(this)})))}renderSrText(){return o("div",{class:"gux-sr-only"},this.i18n(this.getVariant(),{label:this.label}))}getVariant(){return`${this.color}${this.bold?"-bold":""}`}async componentWillLoad(){t(this.root),this.i18n=await g(this.root,r)}render(){return o("div",{class:{"gux-badge":!0,[`gux-${this.color}`]:!0,[`gux-${this.accent}`]:!0,"gux-bold":this.bold}},this.renderBadgeTitle(),this.renderSrText())}get root(){return l(this)}};a.style=":host{display:inline-block;height:fit-content;border-radius:100%}.gux-badge{display:flex;flex-direction:row;flex-wrap:nowrap;align-content:stretch;align-items:center;justify-content:flex-start;height:20px;padding:2px 8px;color:#fdfdfd;background-color:#2e394c;border-radius:4px;font-family:Roboto, sans-serif;font-weight:400;font-weight:700;font-size:12px;line-height:16px}.gux-badge gux-tooltip-title{white-space:nowrap}.gux-badge gux-tooltip-title ::slotted(gux-icon){height:16px;font-size:16px}.gux-badge .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-badge.gux-info,.gux-badge.gux-neutral{color:#2e394c;background-color:#e2e6ee}.gux-badge.gux-info.gux-bold,.gux-badge.gux-neutral.gux-bold{color:#fdfdfd;background-color:#2e394c}.gux-badge.gux-error,.gux-badge.gux-red{color:#8f0707;background-color:#fceaea}.gux-badge.gux-error.gux-bold,.gux-badge.gux-red.gux-bold{color:#fdfdfd;background-color:#ea0b0b}.gux-badge.gux-warning,.gux-badge.gux-yellow{color:#976700;background-color:#fdf8ec}.gux-badge.gux-warning.gux-bold,.gux-badge.gux-yellow.gux-bold{color:#2e394c;background-color:#ffae00}.gux-badge.gux-success,.gux-badge.gux-green{color:#205a10;background-color:#eefcea}.gux-badge.gux-success.gux-bold,.gux-badge.gux-green.gux-bold{color:#fdfdfd;background-color:#3c8527}.gux-badge.gux-inherit{color:inherit;background-color:inherit}";export{a as gux_badge_beta}
1
+ import{r as e,h as o,g as l}from"./p-7d26b2e1.js";import{t}from"./p-2a13ca65.js";import{b as g}from"./p-deee079e.js";import"./p-8a133b9b.js";const r={neutral:"badge with label: {label}, color: neutral","neutral-bold":"badge with label: {label}, color: neutral bold",green:"badge with label: {label}, color: green","green-bold":"badge with label: {label}, color: green bold",yellow:"badge with label: {label}, color: yellow","yellow-bold":"badge with label: {label}, color: yellow bold",red:"badge with label: {label}, color: red","red-bold":"badge with label: {label}, color: red bold",inherit:"badge with label: {label}"},a=class{constructor(o){e(this,o),this.color="neutral",this.accent="info",this.bold=!1,this.label=void 0}onSlotChange(e){const o=e.composedPath()[0].assignedNodes();this.label=o.map((e=>e.textContent)).join("")}renderBadgeTitle(){return o("gux-tooltip-title",null,o("span",null,o("slot",{"aria-hidden":"true",onSlotchange:this.onSlotChange.bind(this)})))}renderSrText(){return o("div",{class:"gux-sr-only"},this.i18n(this.getVariant(),{label:this.label}))}getVariant(){return`${this.color}${this.bold?"-bold":""}`}async componentWillLoad(){t(this.root),this.i18n=await g(this.root,r)}render(){return o("div",{class:{"gux-badge":!0,[`gux-${this.color}`]:!0,[`gux-${this.accent}`]:!0,"gux-bold":this.bold}},this.renderBadgeTitle(),this.renderSrText())}get root(){return l(this)}};a.style=":host{display:inline-block;height:fit-content;border-radius:100%}.gux-badge{display:flex;flex-direction:row;flex-wrap:nowrap;align-content:stretch;align-items:center;justify-content:flex-start;height:20px;padding:2px 8px;color:#fdfdfd;background-color:#2e394c;border-radius:4px;font-family:Roboto, sans-serif;font-weight:400;font-weight:700;font-size:12px;line-height:16px}.gux-badge gux-tooltip-title{white-space:nowrap}.gux-badge gux-tooltip-title ::slotted(gux-icon){height:16px;font-size:16px}.gux-badge .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-badge.gux-info,.gux-badge.gux-neutral{color:#2e394c;background-color:#e2e6ee}.gux-badge.gux-info.gux-bold,.gux-badge.gux-neutral.gux-bold{color:#fdfdfd;background-color:#2e394c}.gux-badge.gux-error,.gux-badge.gux-red{color:#8f0707;background-color:#fceaea}.gux-badge.gux-error.gux-bold,.gux-badge.gux-red.gux-bold{color:#fdfdfd;background-color:#ea0b0b}.gux-badge.gux-warning,.gux-badge.gux-yellow{color:#976700;background-color:#fdf8ec}.gux-badge.gux-warning.gux-bold,.gux-badge.gux-yellow.gux-bold{color:#2e394c;background-color:#ffae00}.gux-badge.gux-success,.gux-badge.gux-green{color:#205a10;background-color:#eefcea}.gux-badge.gux-success.gux-bold,.gux-badge.gux-green.gux-bold{color:#fdfdfd;background-color:#3c8527}.gux-badge.gux-inherit{color:inherit;background-color:inherit}";export{a as gux_badge_beta}
@@ -1 +1 @@
1
- import{r,c as p,h as e,g as o}from"./p-7d26b2e1.js";import{O as t}from"./p-9d18d475.js";import{b as a}from"./p-3701eff0.js";import{t as i}from"./p-e1558f84.js";import{c as s}from"./p-e459974a.js";const d=class{constructor(e){r(this,e),this.guxdismiss=p(this,"guxdismiss",7),this.for=void 0,this.position="bottom",this.displayDismissButton=void 0,this.closeOnClickOutside=!1,this.hidden=!0}hiddenHandler(r){r||this.popperInstance?!r&&this.popperInstance&&this.popperInstance.forceUpdate():this.runPopper()}checkForClickOutside(r){const p=r.composedPath(),e=document.getElementById(this.for),o=p.includes(e);!this.closeOnClickOutside&&this.displayDismissButton||this.hidden||o||this.dismiss()}runPopper(){const r=document.getElementById(this.for);r?this.popupElement&&(this.popperInstance=s(r,this.popupElement,{modifiers:[{name:"offset",options:{offset:[0,7]}},{name:"arrow",options:{padding:16}}],placement:this.position})):console.error(`gux-popover-list: invalid "for" attribute. No element in page with the id "${this.for}"`)}destroyPopper(){this.popperInstance&&(this.popperInstance.destroy(),this.popperInstance=null)}dismiss(){this.guxdismiss.emit().defaultPrevented||this.root.setAttribute("hidden","")}connectedCallback(){i(this.root,{variant:this.position}),this.hiddenObserver=a(this.root,(r=>{this.hidden=r})),this.hidden=this.root.hidden}componentDidLoad(){this.runPopper()}disconnectedCallback(){this.destroyPopper(),this.hiddenObserver&&this.hiddenObserver.disconnect()}render(){return e("div",{ref:r=>this.popupElement=r,class:"gux-popover-wrapper"},e("div",{class:"gux-arrow","data-popper-arrow":!0}),this.displayDismissButton&&e("gux-dismiss-button",{onClick:this.dismiss.bind(this)}),e("div",{class:"gux-popover-content"},e("slot",null)))}get root(){return o(this)}static get watchers(){return{hidden:["hiddenHandler"]}}};(function(r,p,e,o){var t,a=arguments.length,i=a<3?p:null===o?o=Object.getOwnPropertyDescriptor(p,e):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)i=Reflect.decorate(r,p,e,o);else for(var s=r.length-1;s>=0;s--)(t=r[s])&&(i=(a<3?t(i):a>3?t(p,e,i):t(p,e))||i);a>3&&i&&Object.defineProperty(p,e,i)})([t({triggerEvents:"mousedown"})],d.prototype,"checkForClickOutside",null),d.style=":host{color:#2e394c}.gux-popover-wrapper{z-index:var(--gux-zindex-popover, 2);display:inline-block;padding:8px 0;background-color:#fdfdfd;border:1px solid #b4bccb;border-radius:4px;box-shadow:0 2px 4px rgba(32, 41, 55, 0.24)}.gux-popover-wrapper .gux-arrow,.gux-popover-wrapper .gux-arrow::before{position:absolute;width:10px;height:10px;background:inherit}.gux-popover-wrapper .gux-arrow{visibility:hidden}.gux-popover-wrapper .gux-arrow::before{visibility:visible;content:'';transform:rotate(45deg)}.gux-popover-wrapper[data-popper-placement='bottom'] .gux-arrow,.gux-popover-wrapper[data-popper-placement='bottom-start'] .gux-arrow,.gux-popover-wrapper[data-popper-placement='bottom-end'] .gux-arrow{top:-5px}.gux-popover-wrapper[data-popper-placement='bottom'] .gux-arrow::before,.gux-popover-wrapper[data-popper-placement='bottom-start'] .gux-arrow::before,.gux-popover-wrapper[data-popper-placement='bottom-end'] .gux-arrow::before{border-top:1px solid #b4bccb;border-left:1px solid #b4bccb}.gux-popover-wrapper[data-popper-placement='top'] .gux-arrow,.gux-popover-wrapper[data-popper-placement='top-start'] .gux-arrow,.gux-popover-wrapper[data-popper-placement='top-end'] .gux-arrow{bottom:-5px}.gux-popover-wrapper[data-popper-placement='top'] .gux-arrow::before,.gux-popover-wrapper[data-popper-placement='top-start'] .gux-arrow::before,.gux-popover-wrapper[data-popper-placement='top-end'] .gux-arrow::before{border-right:1px solid #b4bccb;border-bottom:1px solid #b4bccb}.gux-popover-wrapper[data-popper-placement='left'] .gux-arrow,.gux-popover-wrapper[data-popper-placement='left-start'] .gux-arrow,.gux-popover-wrapper[data-popper-placement='left-end'] .gux-arrow{right:-5px}.gux-popover-wrapper[data-popper-placement='left'] .gux-arrow::before,.gux-popover-wrapper[data-popper-placement='left-start'] .gux-arrow::before,.gux-popover-wrapper[data-popper-placement='left-end'] .gux-arrow::before{border-top:1px solid #b4bccb;border-right:1px solid #b4bccb}.gux-popover-wrapper[data-popper-placement='right'] .gux-arrow,.gux-popover-wrapper[data-popper-placement='right-start'] .gux-arrow,.gux-popover-wrapper[data-popper-placement='right-end'] .gux-arrow{left:-5px}.gux-popover-wrapper[data-popper-placement='right'] .gux-arrow::before,.gux-popover-wrapper[data-popper-placement='right-start'] .gux-arrow::before,.gux-popover-wrapper[data-popper-placement='right-end'] .gux-arrow::before{border-bottom:1px solid #b4bccb;border-left:1px solid #b4bccb}";export{d as gux_popover_list}
1
+ import{r,c as p,h as e,g as o}from"./p-7d26b2e1.js";import{O as t}from"./p-9d18d475.js";import{b as a}from"./p-3701eff0.js";import{t as i}from"./p-2a13ca65.js";import{c as s}from"./p-e459974a.js";const d=class{constructor(e){r(this,e),this.guxdismiss=p(this,"guxdismiss",7),this.for=void 0,this.position="bottom",this.displayDismissButton=void 0,this.closeOnClickOutside=!1,this.hidden=!0}hiddenHandler(r){r||this.popperInstance?!r&&this.popperInstance&&this.popperInstance.forceUpdate():this.runPopper()}checkForClickOutside(r){const p=r.composedPath(),e=document.getElementById(this.for),o=p.includes(e);!this.closeOnClickOutside&&this.displayDismissButton||this.hidden||o||this.dismiss()}runPopper(){const r=document.getElementById(this.for);r?this.popupElement&&(this.popperInstance=s(r,this.popupElement,{modifiers:[{name:"offset",options:{offset:[0,7]}},{name:"arrow",options:{padding:16}}],placement:this.position})):console.error(`gux-popover-list: invalid "for" attribute. No element in page with the id "${this.for}"`)}destroyPopper(){this.popperInstance&&(this.popperInstance.destroy(),this.popperInstance=null)}dismiss(){this.guxdismiss.emit().defaultPrevented||this.root.setAttribute("hidden","")}connectedCallback(){i(this.root,{variant:this.position}),this.hiddenObserver=a(this.root,(r=>{this.hidden=r})),this.hidden=this.root.hidden}componentDidLoad(){this.runPopper()}disconnectedCallback(){this.destroyPopper(),this.hiddenObserver&&this.hiddenObserver.disconnect()}render(){return e("div",{ref:r=>this.popupElement=r,class:"gux-popover-wrapper"},e("div",{class:"gux-arrow","data-popper-arrow":!0}),this.displayDismissButton&&e("gux-dismiss-button",{onClick:this.dismiss.bind(this)}),e("div",{class:"gux-popover-content"},e("slot",null)))}get root(){return o(this)}static get watchers(){return{hidden:["hiddenHandler"]}}};(function(r,p,e,o){var t,a=arguments.length,i=a<3?p:null===o?o=Object.getOwnPropertyDescriptor(p,e):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)i=Reflect.decorate(r,p,e,o);else for(var s=r.length-1;s>=0;s--)(t=r[s])&&(i=(a<3?t(i):a>3?t(p,e,i):t(p,e))||i);a>3&&i&&Object.defineProperty(p,e,i)})([t({triggerEvents:"mousedown"})],d.prototype,"checkForClickOutside",null),d.style=":host{color:#2e394c}.gux-popover-wrapper{z-index:var(--gux-zindex-popover, 2);display:inline-block;padding:8px 0;background-color:#fdfdfd;border:1px solid #b4bccb;border-radius:4px;box-shadow:0 2px 4px rgba(32, 41, 55, 0.24)}.gux-popover-wrapper .gux-arrow,.gux-popover-wrapper .gux-arrow::before{position:absolute;width:10px;height:10px;background:inherit}.gux-popover-wrapper .gux-arrow{visibility:hidden}.gux-popover-wrapper .gux-arrow::before{visibility:visible;content:'';transform:rotate(45deg)}.gux-popover-wrapper[data-popper-placement='bottom'] .gux-arrow,.gux-popover-wrapper[data-popper-placement='bottom-start'] .gux-arrow,.gux-popover-wrapper[data-popper-placement='bottom-end'] .gux-arrow{top:-5px}.gux-popover-wrapper[data-popper-placement='bottom'] .gux-arrow::before,.gux-popover-wrapper[data-popper-placement='bottom-start'] .gux-arrow::before,.gux-popover-wrapper[data-popper-placement='bottom-end'] .gux-arrow::before{border-top:1px solid #b4bccb;border-left:1px solid #b4bccb}.gux-popover-wrapper[data-popper-placement='top'] .gux-arrow,.gux-popover-wrapper[data-popper-placement='top-start'] .gux-arrow,.gux-popover-wrapper[data-popper-placement='top-end'] .gux-arrow{bottom:-5px}.gux-popover-wrapper[data-popper-placement='top'] .gux-arrow::before,.gux-popover-wrapper[data-popper-placement='top-start'] .gux-arrow::before,.gux-popover-wrapper[data-popper-placement='top-end'] .gux-arrow::before{border-right:1px solid #b4bccb;border-bottom:1px solid #b4bccb}.gux-popover-wrapper[data-popper-placement='left'] .gux-arrow,.gux-popover-wrapper[data-popper-placement='left-start'] .gux-arrow,.gux-popover-wrapper[data-popper-placement='left-end'] .gux-arrow{right:-5px}.gux-popover-wrapper[data-popper-placement='left'] .gux-arrow::before,.gux-popover-wrapper[data-popper-placement='left-start'] .gux-arrow::before,.gux-popover-wrapper[data-popper-placement='left-end'] .gux-arrow::before{border-top:1px solid #b4bccb;border-right:1px solid #b4bccb}.gux-popover-wrapper[data-popper-placement='right'] .gux-arrow,.gux-popover-wrapper[data-popper-placement='right-start'] .gux-arrow,.gux-popover-wrapper[data-popper-placement='right-end'] .gux-arrow{left:-5px}.gux-popover-wrapper[data-popper-placement='right'] .gux-arrow::before,.gux-popover-wrapper[data-popper-placement='right-start'] .gux-arrow::before,.gux-popover-wrapper[data-popper-placement='right-end'] .gux-arrow::before{border-bottom:1px solid #b4bccb;border-left:1px solid #b4bccb}";export{d as gux_popover_list}
@@ -1 +1 @@
1
- import{r as o,h as t,H as e,g as f}from"./p-7d26b2e1.js";import{t as i}from"./p-e1558f84.js";const a=class{constructor(t){o(this,t)}componentWillLoad(){i(this.root)}render(){return t(e,null,t("div",{class:"gux-header"},t("div",{class:"gux-icon"},t("slot",{name:"icon"})),t("div",{class:"gux-title"},t("slot",{name:"title"}))),t("div",{class:"gux-message"},t("slot",{name:"message"})),t("div",{class:"gux-action-buttons"},t("div",{class:"gux-positive-button"},t("slot",{name:"positive-button"})),t("div",{class:"gux-negative-button"},t("slot",{name:"negative-button"}))))}get root(){return f(this)}};a.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:8px}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{display:flex;flex-direction:column;flex-wrap:nowrap;align-content:stretch;align-items:stretch;justify-content:flex-start;width:270px;padding:20px 24px;margin-bottom:4px;color:#2e394c;background:#f6f7f9;border:1px solid #b4bccb;border-radius:4px;box-shadow:0 2px 4px fade(#202937, 24%)}.gux-header{display:flex;flex:0 1 auto;flex-direction:row;flex-wrap:nowrap;align-content:stretch;align-items:center;align-self:auto;justify-content:flex-start;order:0;font-family:Roboto, sans-serif;font-weight:400;font-weight:300;font-size:18px;line-height:24px}.gux-header .gux-icon{flex:0 1 auto;align-self:auto;order:0;color:#1da8b3}.gux-header .gux-icon ::slotted(gux-icon){width:32px !important;height:32px !important}.gux-header .gux-title{flex:1 1 auto;align-self:auto;order:0;margin:0 0 0 8px}.gux-message{flex:0 1 auto;align-self:auto;order:0;margin:16px 0;font-family:Roboto, sans-serif;font-weight:400;font-size:12px;line-height:20px}.gux-message ::slotted(dl){display:flex;flex-direction:row;flex-wrap:wrap;align-content:stretch;align-items:flex-start;justify-content:flex-start;margin:0}.gux-action-buttons{display:flex;flex:0 1 auto;flex-direction:row;flex-wrap:nowrap;align-content:stretch;align-items:flex-start;align-self:auto;justify-content:space-between;order:0}.gux-action-buttons .gux-negative-button{flex:0 1 auto;align-self:auto;order:0}.gux-action-buttons .gux-positive-button{flex:0 1 auto;align-self:auto;order:0}.gux-action-buttons{display:flex;flex:0 1 auto;flex-direction:row;flex-wrap:nowrap;align-content:stretch;align-items:flex-start;align-self:auto;justify-content:space-between;order:0}.gux-action-buttons .gux-negative-button{flex:0 1 auto;align-self:auto;order:0}.gux-action-buttons .gux-positive-button{flex:0 1 auto;align-self:auto;order:0}';export{a as gux_action_toast_legacy}
1
+ import{r as o,h as t,H as e,g as f}from"./p-7d26b2e1.js";import{t as i}from"./p-2a13ca65.js";const a=class{constructor(t){o(this,t)}componentWillLoad(){i(this.root)}render(){return t(e,null,t("div",{class:"gux-header"},t("div",{class:"gux-icon"},t("slot",{name:"icon"})),t("div",{class:"gux-title"},t("slot",{name:"title"}))),t("div",{class:"gux-message"},t("slot",{name:"message"})),t("div",{class:"gux-action-buttons"},t("div",{class:"gux-positive-button"},t("slot",{name:"positive-button"})),t("div",{class:"gux-negative-button"},t("slot",{name:"negative-button"}))))}get root(){return f(this)}};a.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:8px}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{display:flex;flex-direction:column;flex-wrap:nowrap;align-content:stretch;align-items:stretch;justify-content:flex-start;width:270px;padding:20px 24px;margin-bottom:4px;color:#2e394c;background:#f6f7f9;border:1px solid #b4bccb;border-radius:4px;box-shadow:0 2px 4px fade(#202937, 24%)}.gux-header{display:flex;flex:0 1 auto;flex-direction:row;flex-wrap:nowrap;align-content:stretch;align-items:center;align-self:auto;justify-content:flex-start;order:0;font-family:Roboto, sans-serif;font-weight:400;font-weight:300;font-size:18px;line-height:24px}.gux-header .gux-icon{flex:0 1 auto;align-self:auto;order:0;color:#1da8b3}.gux-header .gux-icon ::slotted(gux-icon){width:32px !important;height:32px !important}.gux-header .gux-title{flex:1 1 auto;align-self:auto;order:0;margin:0 0 0 8px}.gux-message{flex:0 1 auto;align-self:auto;order:0;margin:16px 0;font-family:Roboto, sans-serif;font-weight:400;font-size:12px;line-height:20px}.gux-message ::slotted(dl){display:flex;flex-direction:row;flex-wrap:wrap;align-content:stretch;align-items:flex-start;justify-content:flex-start;margin:0}.gux-action-buttons{display:flex;flex:0 1 auto;flex-direction:row;flex-wrap:nowrap;align-content:stretch;align-items:flex-start;align-self:auto;justify-content:space-between;order:0}.gux-action-buttons .gux-negative-button{flex:0 1 auto;align-self:auto;order:0}.gux-action-buttons .gux-positive-button{flex:0 1 auto;align-self:auto;order:0}.gux-action-buttons{display:flex;flex:0 1 auto;flex-direction:row;flex-wrap:nowrap;align-content:stretch;align-items:flex-start;align-self:auto;justify-content:space-between;order:0}.gux-action-buttons .gux-negative-button{flex:0 1 auto;align-self:auto;order:0}.gux-action-buttons .gux-positive-button{flex:0 1 auto;align-self:auto;order:0}';export{a as gux_action_toast_legacy}
@@ -1 +1 @@
1
- import{r as t,c as s,h as i,H as a,g as h}from"./p-7d26b2e1.js";import{t as o}from"./p-e1558f84.js";const n=class{constructor(i){t(this,i),this.guxactivetabchange=s(this,"guxactivetabchange",7),this.tabList=void 0,this.tabPanels=[],this.activeTab=void 0}watchActiveTab(t){this.activateTab(t,this.tabList,this.tabPanels),this.guxactivetabchange.emit(t)}onInternalActivateTabPanel(t){t.stopPropagation(),this.activateTab(t.detail,this.tabList,this.tabPanels)}async guxActivate(t){this.activateTab(t,this.tabList,this.tabPanels)}onSlotchange(){const[t,s]=Array.from(this.root.shadowRoot.querySelectorAll("slot"));this.tabList=t.assignedElements()[0],this.tabPanels=s.assignedElements(),this.activateTab(this.activeTab,this.tabList,this.tabPanels)}activateTab(t,s,i){var a;this.activeTab=t||(null===(a=null==s?void 0:s.querySelector("gux-tab-advanced"))||void 0===a?void 0:a.getAttribute("tab-id")),s.guxSetActive(this.activeTab),i.forEach((t=>{t.guxSetActive(t.tabId===this.activeTab)}))}componentWillLoad(){o(this.root)}render(){return i(a,null,i("div",{class:"gux-tabs"},i("slot",{name:"tab-list"}),i("div",null,i("slot",{onSlotchange:this.onSlotchange.bind(this)}))))}get root(){return h(this)}static get watchers(){return{activeTab:["watchActiveTab"]}}};n.style="gux-tabs-advanced{-custom-noop:noop}";export{n as gux_tabs_advanced}
1
+ import{r as t,c as s,h as i,H as a,g as h}from"./p-7d26b2e1.js";import{t as o}from"./p-2a13ca65.js";const n=class{constructor(i){t(this,i),this.guxactivetabchange=s(this,"guxactivetabchange",7),this.tabList=void 0,this.tabPanels=[],this.activeTab=void 0}watchActiveTab(t){this.activateTab(t,this.tabList,this.tabPanels),this.guxactivetabchange.emit(t)}onInternalActivateTabPanel(t){t.stopPropagation(),this.activateTab(t.detail,this.tabList,this.tabPanels)}async guxActivate(t){this.activateTab(t,this.tabList,this.tabPanels)}onSlotchange(){const[t,s]=Array.from(this.root.shadowRoot.querySelectorAll("slot"));this.tabList=t.assignedElements()[0],this.tabPanels=s.assignedElements(),this.activateTab(this.activeTab,this.tabList,this.tabPanels)}activateTab(t,s,i){var a;this.activeTab=t||(null===(a=null==s?void 0:s.querySelector("gux-tab-advanced"))||void 0===a?void 0:a.getAttribute("tab-id")),s.guxSetActive(this.activeTab),i.forEach((t=>{t.guxSetActive(t.tabId===this.activeTab)}))}componentWillLoad(){o(this.root)}render(){return i(a,null,i("div",{class:"gux-tabs"},i("slot",{name:"tab-list"}),i("div",null,i("slot",{onSlotchange:this.onSlotchange.bind(this)}))))}get root(){return h(this)}static get watchers(){return{activeTab:["watchActiveTab"]}}};n.style="gux-tabs-advanced{-custom-noop:noop}";export{n as gux_tabs_advanced}