genesys-spark-components 4.0.0-beta.40 → 4.0.0-beta.42

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 (344) hide show
  1. package/dist/cjs/genesys-webcomponents.cjs.js +1 -1
  2. package/dist/cjs/gux-accordion.cjs.entry.js +1 -1
  3. package/dist/cjs/gux-action-button.cjs.entry.js +1 -1
  4. package/dist/cjs/gux-action-toast-legacy.cjs.entry.js +1 -1
  5. package/dist/cjs/gux-advanced-dropdown-legacy.cjs.entry.js +1 -1
  6. package/dist/cjs/gux-announce-beta.cjs.entry.js +1 -1
  7. package/dist/cjs/gux-badge.cjs.entry.js +4 -3
  8. package/dist/cjs/gux-blank-state.cjs.entry.js +1 -1
  9. package/dist/cjs/gux-breadcrumbs.cjs.entry.js +1 -1
  10. package/dist/cjs/gux-button-multi.cjs.entry.js +1 -1
  11. package/dist/cjs/gux-button-slot.cjs.entry.js +4 -3
  12. package/dist/cjs/gux-button.cjs.entry.js +33 -18
  13. package/dist/cjs/gux-calendar.cjs.entry.js +1 -1
  14. package/dist/cjs/gux-card.cjs.entry.js +1 -1
  15. package/dist/cjs/gux-column-manager-item.cjs.entry.js +1 -2
  16. package/dist/cjs/gux-column-manager.cjs.entry.js +4 -4
  17. package/dist/cjs/gux-content-search.cjs.entry.js +2 -2
  18. package/dist/cjs/gux-context-menu.cjs.entry.js +1 -1
  19. package/dist/cjs/gux-copy-to-clipboard.cjs.entry.js +1 -1
  20. package/dist/cjs/gux-date-beta.cjs.entry.js +1 -1
  21. package/dist/cjs/gux-date-time-beta.cjs.entry.js +1 -1
  22. package/dist/cjs/gux-datepicker.cjs.entry.js +1 -1
  23. package/dist/cjs/gux-disclosure-button-legacy.cjs.entry.js +1 -1
  24. package/dist/cjs/gux-dismiss-button.cjs.entry.js +2 -2
  25. package/dist/cjs/gux-dropdown-multi.cjs.entry.js +1 -1
  26. package/dist/cjs/gux-dropdown_3.cjs.entry.js +1 -1
  27. package/dist/cjs/gux-flyout-menu.cjs.entry.js +4 -4
  28. package/dist/cjs/gux-form-field-checkbox.cjs.entry.js +1 -1
  29. package/dist/cjs/gux-form-field-color.cjs.entry.js +2 -2
  30. package/dist/cjs/gux-form-field-dropdown.cjs.entry.js +2 -2
  31. package/dist/cjs/gux-form-field-input-clear-button.cjs.entry.js +1 -1
  32. package/dist/cjs/gux-form-field-number_3.cjs.entry.js +2 -2
  33. package/dist/cjs/gux-form-field-phone.cjs.entry.js +2 -2
  34. package/dist/cjs/gux-form-field-radio.cjs.entry.js +1 -1
  35. package/dist/cjs/gux-form-field-range.cjs.entry.js +2 -2
  36. package/dist/cjs/gux-form-field-search.cjs.entry.js +2 -2
  37. package/dist/cjs/gux-form-field-select.cjs.entry.js +2 -2
  38. package/dist/cjs/gux-form-field-text-like.cjs.entry.js +2 -2
  39. package/dist/cjs/gux-form-field-textarea.cjs.entry.js +2 -2
  40. package/dist/cjs/gux-form-field-time-picker.cjs.entry.js +2 -2
  41. package/dist/cjs/gux-icon.cjs.entry.js +1 -1
  42. package/dist/cjs/gux-inline-alert.cjs.entry.js +2 -2
  43. package/dist/cjs/gux-list.cjs.entry.js +1 -1
  44. package/dist/cjs/gux-listbox-multi.cjs.entry.js +1 -1
  45. package/dist/cjs/gux-loading-message.cjs.entry.js +1 -1
  46. package/dist/cjs/gux-menu-option.cjs.entry.js +8 -1
  47. package/dist/cjs/gux-menu.cjs.entry.js +1 -1
  48. package/dist/cjs/gux-modal.cjs.entry.js +1 -1
  49. package/dist/cjs/gux-month-picker-beta.cjs.entry.js +1 -1
  50. package/dist/cjs/gux-notification-toast-legacy.cjs.entry.js +1 -1
  51. package/dist/cjs/gux-page-loading-spinner.cjs.entry.js +1 -1
  52. package/dist/cjs/gux-pagination-cursor.cjs.entry.js +1 -1
  53. package/dist/cjs/gux-pagination-legacy.cjs.entry.js +1 -1
  54. package/dist/cjs/gux-pagination.cjs.entry.js +1 -1
  55. package/dist/cjs/gux-phone-input-beta.cjs.entry.js +436 -378
  56. package/dist/cjs/gux-popover-list.cjs.entry.js +1 -1
  57. package/dist/cjs/gux-radial-loading.cjs.entry.js +1 -1
  58. package/dist/cjs/gux-radial-progress.cjs.entry.js +1 -1
  59. package/dist/cjs/gux-rating.cjs.entry.js +1 -1
  60. package/dist/cjs/gux-region-icon.cjs.entry.js +1 -1
  61. package/dist/cjs/gux-screen-reader-beta.cjs.entry.js +1 -1
  62. package/dist/cjs/gux-segmented-control-beta.cjs.entry.js +1 -1
  63. package/dist/cjs/gux-simple-toast-legacy.cjs.entry.js +1 -1
  64. package/dist/cjs/gux-skip-navigation-list.cjs.entry.js +1 -1
  65. package/dist/cjs/gux-sort-control.cjs.entry.js +1 -1
  66. package/dist/cjs/gux-submenu.cjs.entry.js +8 -13
  67. package/dist/cjs/gux-switch-legacy.cjs.entry.js +1 -1
  68. package/dist/cjs/gux-tab-list.cjs.entry.js +1 -1
  69. package/dist/cjs/gux-tab-panel.cjs.entry.js +1 -1
  70. package/dist/cjs/gux-tab.cjs.entry.js +1 -1
  71. package/dist/cjs/gux-table-select-menu.cjs.entry.js +1 -1
  72. package/dist/cjs/gux-table-toolbar-action.cjs.entry.js +1 -1
  73. package/dist/cjs/gux-table-toolbar-custom-action.cjs.entry.js +1 -1
  74. package/dist/cjs/gux-table-toolbar-menu-button.cjs.entry.js +1 -1
  75. package/dist/cjs/gux-table-toolbar.cjs.entry.js +1 -1
  76. package/dist/cjs/gux-table.cjs.entry.js +1 -1
  77. package/dist/cjs/gux-tabs-advanced.cjs.entry.js +1 -1
  78. package/dist/cjs/gux-tabs.cjs.entry.js +1 -1
  79. package/dist/cjs/gux-tag.cjs.entry.js +1 -1
  80. package/dist/cjs/gux-text-highlight.cjs.entry.js +2 -2
  81. package/dist/cjs/gux-time-beta.cjs.entry.js +1 -1
  82. package/dist/cjs/gux-time-picker.cjs.entry.js +1 -1
  83. package/dist/cjs/gux-time-zone-picker-beta.cjs.entry.js +145 -47
  84. package/dist/cjs/gux-toast.cjs.entry.js +1 -1
  85. package/dist/cjs/gux-toggle-slider.cjs.entry.js +5 -3
  86. package/dist/cjs/gux-toggle.cjs.entry.js +2 -2
  87. package/dist/cjs/gux-tooltip.cjs.entry.js +1 -1
  88. package/dist/cjs/index-39160f18.js +4 -8
  89. package/dist/cjs/loader.cjs.js +1 -1
  90. package/dist/cjs/{on-attribute-change-4db59350.js → on-attribute-change-9b2d8c85.js} +0 -13
  91. package/dist/cjs/{usage-9feecec4.js → usage-5d74fb88.js} +1 -2
  92. package/dist/collection/collection-manifest.json +0 -1
  93. package/dist/collection/components/beta/gux-phone-input/gux-phone-input.js +334 -143
  94. package/dist/collection/components/beta/gux-phone-input/gux-phone.types.js +1 -0
  95. package/dist/collection/components/beta/gux-phone-input/services/RegionCountryCodeMap.js +0 -249
  96. package/dist/collection/components/beta/gux-phone-input/services/region-map.service.js +3 -3
  97. package/dist/collection/components/beta/gux-phone-input/tests/gux-phone-input.e2e.js +50 -38
  98. package/dist/collection/components/beta/gux-time-zone-picker/tests/gux-time-zone-picker.e2e.js +3 -3
  99. package/dist/collection/components/stable/gux-alert/gux-inline-alert.css +1 -1
  100. package/dist/collection/components/stable/gux-badge/gux-badge.css +2 -2
  101. package/dist/collection/components/stable/gux-button/gux-button.css +4 -1
  102. package/dist/collection/components/stable/gux-button/gux-button.js +36 -16
  103. package/dist/collection/components/stable/gux-button-slot/gux-button-slot.css +6 -0
  104. package/dist/collection/components/stable/gux-button-slot/gux-button-slot.js +19 -1
  105. package/dist/collection/components/stable/gux-column-manager/gux-column-manager-item/gux-column-manager-item.css +11 -3
  106. package/dist/collection/components/stable/gux-column-manager/gux-column-manager-item/gux-column-manager-item.js +0 -1
  107. package/dist/collection/components/stable/gux-column-manager/gux-column-manager.css +7 -5
  108. package/dist/collection/components/stable/gux-dismiss-button/gux-dismiss-button.css +2 -2
  109. package/dist/collection/components/stable/gux-flyout-menu/gux-flyout-menu.js +3 -3
  110. package/dist/collection/components/stable/gux-flyout-menu/gux-menu/gux-menu-option/gux-menu-option.css +5 -5
  111. package/dist/collection/components/stable/gux-flyout-menu/gux-menu/gux-menu-option/gux-menu-option.js +14 -0
  112. package/dist/collection/components/stable/gux-flyout-menu/gux-menu/gux-menu.css +1 -1
  113. package/dist/collection/components/stable/gux-flyout-menu/gux-menu/gux-menu.js +1 -0
  114. package/dist/collection/components/stable/gux-flyout-menu/gux-menu/gux-submenu/gux-submenu.css +8 -8
  115. package/dist/collection/components/stable/gux-flyout-menu/gux-menu/gux-submenu/gux-submenu.js +8 -12
  116. package/dist/collection/components/stable/gux-radial-loading/gux-radial-loading.css +5 -14
  117. package/dist/collection/components/stable/gux-radial-progress/gux-radial-progress.css +1 -4
  118. package/dist/collection/components/stable/gux-table/gux-table-select-menu/gux-table-select-menu.js +1 -1
  119. package/dist/collection/components/stable/gux-table/tests/gux-table.e2e.js +7 -4
  120. package/dist/collection/components/stable/gux-tabs/gux-tab/gux-tab.css +21 -20
  121. package/dist/collection/components/stable/gux-tabs/gux-tab-list/gux-tab-list.css +4 -4
  122. package/dist/collection/components/stable/gux-tabs/gux-tab-panel/gux-tab-panel.css +1 -1
  123. package/dist/collection/components/stable/gux-tabs/tests/gux-tabs.e2e.js +1 -2
  124. package/dist/collection/components/stable/gux-text-highlight/gux-text-highlight.css +4 -1
  125. package/dist/collection/components/stable/gux-toggle/gux-toggle-slider/gux-toggle-slider.css +81 -19
  126. package/dist/collection/components/stable/gux-toggle/gux-toggle-slider/gux-toggle-slider.js +4 -2
  127. package/dist/collection/components/stable/gux-toggle/gux-toggle.css +18 -6
  128. package/dist/component-specs.json +5 -4
  129. package/dist/deploy-info.json +3 -3
  130. package/dist/esm/genesys-webcomponents.js +1 -1
  131. package/dist/esm/gux-accordion.entry.js +1 -1
  132. package/dist/esm/gux-action-button.entry.js +1 -1
  133. package/dist/esm/gux-action-toast-legacy.entry.js +1 -1
  134. package/dist/esm/gux-advanced-dropdown-legacy.entry.js +1 -1
  135. package/dist/esm/gux-announce-beta.entry.js +1 -1
  136. package/dist/esm/gux-badge.entry.js +4 -3
  137. package/dist/esm/gux-blank-state.entry.js +1 -1
  138. package/dist/esm/gux-breadcrumbs.entry.js +1 -1
  139. package/dist/esm/gux-button-multi.entry.js +1 -1
  140. package/dist/esm/gux-button-slot.entry.js +4 -3
  141. package/dist/esm/gux-button.entry.js +33 -18
  142. package/dist/esm/gux-calendar.entry.js +1 -1
  143. package/dist/esm/gux-card.entry.js +1 -1
  144. package/dist/esm/gux-column-manager-item.entry.js +1 -2
  145. package/dist/esm/gux-column-manager.entry.js +4 -4
  146. package/dist/esm/gux-content-search.entry.js +2 -2
  147. package/dist/esm/gux-context-menu.entry.js +1 -1
  148. package/dist/esm/gux-copy-to-clipboard.entry.js +1 -1
  149. package/dist/esm/gux-date-beta.entry.js +1 -1
  150. package/dist/esm/gux-date-time-beta.entry.js +1 -1
  151. package/dist/esm/gux-datepicker.entry.js +1 -1
  152. package/dist/esm/gux-disclosure-button-legacy.entry.js +1 -1
  153. package/dist/esm/gux-dismiss-button.entry.js +2 -2
  154. package/dist/esm/gux-dropdown-multi.entry.js +1 -1
  155. package/dist/esm/gux-dropdown_3.entry.js +1 -1
  156. package/dist/esm/gux-flyout-menu.entry.js +4 -4
  157. package/dist/esm/gux-form-field-checkbox.entry.js +1 -1
  158. package/dist/esm/gux-form-field-color.entry.js +2 -2
  159. package/dist/esm/gux-form-field-dropdown.entry.js +2 -2
  160. package/dist/esm/gux-form-field-input-clear-button.entry.js +1 -1
  161. package/dist/esm/gux-form-field-number_3.entry.js +2 -2
  162. package/dist/esm/gux-form-field-phone.entry.js +2 -2
  163. package/dist/esm/gux-form-field-radio.entry.js +1 -1
  164. package/dist/esm/gux-form-field-range.entry.js +2 -2
  165. package/dist/esm/gux-form-field-search.entry.js +2 -2
  166. package/dist/esm/gux-form-field-select.entry.js +2 -2
  167. package/dist/esm/gux-form-field-text-like.entry.js +2 -2
  168. package/dist/esm/gux-form-field-textarea.entry.js +2 -2
  169. package/dist/esm/gux-form-field-time-picker.entry.js +2 -2
  170. package/dist/esm/gux-icon.entry.js +1 -1
  171. package/dist/esm/gux-inline-alert.entry.js +2 -2
  172. package/dist/esm/gux-list.entry.js +1 -1
  173. package/dist/esm/gux-listbox-multi.entry.js +1 -1
  174. package/dist/esm/gux-loading-message.entry.js +1 -1
  175. package/dist/esm/gux-menu-option.entry.js +8 -1
  176. package/dist/esm/gux-menu.entry.js +1 -1
  177. package/dist/esm/gux-modal.entry.js +1 -1
  178. package/dist/esm/gux-month-picker-beta.entry.js +1 -1
  179. package/dist/esm/gux-notification-toast-legacy.entry.js +1 -1
  180. package/dist/esm/gux-page-loading-spinner.entry.js +1 -1
  181. package/dist/esm/gux-pagination-cursor.entry.js +1 -1
  182. package/dist/esm/gux-pagination-legacy.entry.js +1 -1
  183. package/dist/esm/gux-pagination.entry.js +1 -1
  184. package/dist/esm/gux-phone-input-beta.entry.js +436 -378
  185. package/dist/esm/gux-popover-list.entry.js +1 -1
  186. package/dist/esm/gux-radial-loading.entry.js +1 -1
  187. package/dist/esm/gux-radial-progress.entry.js +1 -1
  188. package/dist/esm/gux-rating.entry.js +1 -1
  189. package/dist/esm/gux-region-icon.entry.js +1 -1
  190. package/dist/esm/gux-screen-reader-beta.entry.js +1 -1
  191. package/dist/esm/gux-segmented-control-beta.entry.js +1 -1
  192. package/dist/esm/gux-simple-toast-legacy.entry.js +1 -1
  193. package/dist/esm/gux-skip-navigation-list.entry.js +1 -1
  194. package/dist/esm/gux-sort-control.entry.js +1 -1
  195. package/dist/esm/gux-submenu.entry.js +8 -13
  196. package/dist/esm/gux-switch-legacy.entry.js +1 -1
  197. package/dist/esm/gux-tab-list.entry.js +1 -1
  198. package/dist/esm/gux-tab-panel.entry.js +1 -1
  199. package/dist/esm/gux-tab.entry.js +1 -1
  200. package/dist/esm/gux-table-select-menu.entry.js +1 -1
  201. package/dist/esm/gux-table-toolbar-action.entry.js +1 -1
  202. package/dist/esm/gux-table-toolbar-custom-action.entry.js +1 -1
  203. package/dist/esm/gux-table-toolbar-menu-button.entry.js +1 -1
  204. package/dist/esm/gux-table-toolbar.entry.js +1 -1
  205. package/dist/esm/gux-table.entry.js +1 -1
  206. package/dist/esm/gux-tabs-advanced.entry.js +1 -1
  207. package/dist/esm/gux-tabs.entry.js +1 -1
  208. package/dist/esm/gux-tag.entry.js +1 -1
  209. package/dist/esm/gux-text-highlight.entry.js +2 -2
  210. package/dist/esm/gux-time-beta.entry.js +1 -1
  211. package/dist/esm/gux-time-picker.entry.js +1 -1
  212. package/dist/esm/gux-time-zone-picker-beta.entry.js +145 -47
  213. package/dist/esm/gux-toast.entry.js +1 -1
  214. package/dist/esm/gux-toggle-slider.entry.js +5 -3
  215. package/dist/esm/gux-toggle.entry.js +2 -2
  216. package/dist/esm/gux-tooltip.entry.js +1 -1
  217. package/dist/esm/index-a0eec33a.js +4 -8
  218. package/dist/esm/loader.js +1 -1
  219. package/dist/esm/{on-attribute-change-b91132e6.js → on-attribute-change-42a46627.js} +1 -13
  220. package/dist/esm/{usage-fb76486b.js → usage-53e5b02e.js} +1 -2
  221. package/dist/genesys-webcomponents/genesys-webcomponents.css +3 -3
  222. package/dist/genesys-webcomponents/genesys-webcomponents.esm.js +1 -1
  223. package/dist/genesys-webcomponents/i18n/genesys-webcomponents.i18n.en.json +1 -1
  224. package/dist/genesys-webcomponents/{p-66642f70.entry.js → p-0c8acbbe.entry.js} +1 -1
  225. package/dist/genesys-webcomponents/{p-7deeb046.entry.js → p-14da05b3.entry.js} +1 -1
  226. package/dist/genesys-webcomponents/{p-0681e196.entry.js → p-168849b0.entry.js} +1 -1
  227. package/dist/genesys-webcomponents/{p-34f39f9d.entry.js → p-1880ef1e.entry.js} +1 -1
  228. package/dist/genesys-webcomponents/{p-079a3314.entry.js → p-1b0d2282.entry.js} +1 -1
  229. package/dist/genesys-webcomponents/{p-1d35e592.entry.js → p-1d14b0b0.entry.js} +1 -1
  230. package/dist/genesys-webcomponents/{p-cda8804c.entry.js → p-2120398c.entry.js} +1 -1
  231. package/dist/genesys-webcomponents/{p-59674f9b.entry.js → p-2455dc8c.entry.js} +1 -1
  232. package/dist/genesys-webcomponents/{p-c74273f5.entry.js → p-2506c9a9.entry.js} +1 -1
  233. package/dist/genesys-webcomponents/{p-5f2d702e.entry.js → p-28592d60.entry.js} +1 -1
  234. package/dist/genesys-webcomponents/{p-93296fc2.entry.js → p-2b78d5dd.entry.js} +1 -1
  235. package/dist/genesys-webcomponents/{p-759d93b2.entry.js → p-2c7c7fae.entry.js} +1 -1
  236. package/dist/genesys-webcomponents/{p-895e3e22.entry.js → p-2f61eb09.entry.js} +1 -1
  237. package/dist/genesys-webcomponents/{p-092af550.entry.js → p-31232778.entry.js} +1 -1
  238. package/dist/genesys-webcomponents/p-333be813.entry.js +1 -0
  239. package/dist/genesys-webcomponents/p-3355ecf5.entry.js +1 -0
  240. package/dist/genesys-webcomponents/{p-7463fc52.entry.js → p-33655fa4.entry.js} +1 -1
  241. package/dist/genesys-webcomponents/{p-fb229e19.entry.js → p-37056eec.entry.js} +1 -1
  242. package/dist/genesys-webcomponents/p-37a6cf93.entry.js +1 -0
  243. package/dist/genesys-webcomponents/p-37bfd195.js +1 -0
  244. package/dist/genesys-webcomponents/p-388f3604.entry.js +1 -0
  245. package/dist/genesys-webcomponents/{p-7ae89101.entry.js → p-3c6ae413.entry.js} +1 -1
  246. package/dist/genesys-webcomponents/{p-2e0206ad.entry.js → p-428e0c83.entry.js} +1 -1
  247. package/dist/genesys-webcomponents/p-42af44ad.entry.js +1 -0
  248. package/dist/genesys-webcomponents/{p-b1239813.entry.js → p-47d62243.entry.js} +1 -1
  249. package/dist/genesys-webcomponents/{p-89ef8747.entry.js → p-4a787fd3.entry.js} +1 -1
  250. package/dist/genesys-webcomponents/p-4e890707.entry.js +1 -0
  251. package/dist/genesys-webcomponents/{p-ad5a9495.entry.js → p-52a685f5.entry.js} +1 -1
  252. package/dist/genesys-webcomponents/{p-d7625bff.entry.js → p-58c8d7a1.entry.js} +1 -1
  253. package/dist/genesys-webcomponents/{p-e841c083.entry.js → p-5b2dbd5f.entry.js} +1 -1
  254. package/dist/genesys-webcomponents/{p-62bec424.entry.js → p-5f2f57b9.entry.js} +1 -1
  255. package/dist/genesys-webcomponents/{p-703abdff.entry.js → p-64fe11fd.entry.js} +1 -1
  256. package/dist/genesys-webcomponents/{p-7e6b5a72.entry.js → p-6b906028.entry.js} +1 -1
  257. package/dist/genesys-webcomponents/p-6d04e8cd.entry.js +1 -0
  258. package/dist/genesys-webcomponents/{p-0714156f.entry.js → p-7a2ba62e.entry.js} +1 -1
  259. package/dist/genesys-webcomponents/{p-888e521b.js → p-7eb113fb.js} +1 -1
  260. package/dist/genesys-webcomponents/{p-283d98ec.entry.js → p-81c97230.entry.js} +1 -1
  261. package/dist/genesys-webcomponents/p-87c75c0c.entry.js +1 -0
  262. package/dist/genesys-webcomponents/{p-a5f41d6c.entry.js → p-88b88a84.entry.js} +1 -1
  263. package/dist/genesys-webcomponents/{p-298d37f4.entry.js → p-893825a0.entry.js} +1 -1
  264. package/dist/genesys-webcomponents/{p-723cdd66.entry.js → p-899b400d.entry.js} +1 -1
  265. package/dist/genesys-webcomponents/{p-946d3b24.entry.js → p-8f626ada.entry.js} +1 -1
  266. package/dist/genesys-webcomponents/{p-ff028bc8.entry.js → p-9139c6b0.entry.js} +1 -1
  267. package/dist/genesys-webcomponents/{p-9dfd5bd0.entry.js → p-956993c8.entry.js} +1 -1
  268. package/dist/genesys-webcomponents/{p-0f20be96.entry.js → p-971fbe4b.entry.js} +1 -1
  269. package/dist/genesys-webcomponents/{p-f6cdabee.entry.js → p-a6655b76.entry.js} +1 -1
  270. package/dist/genesys-webcomponents/{p-c8193aef.entry.js → p-a6bafa9e.entry.js} +1 -1
  271. package/dist/genesys-webcomponents/{p-a1151219.entry.js → p-a7341016.entry.js} +1 -1
  272. package/dist/genesys-webcomponents/p-ac7794e1.entry.js +1 -0
  273. package/dist/genesys-webcomponents/p-ac85575f.entry.js +1 -0
  274. package/dist/genesys-webcomponents/{p-8cde9be1.entry.js → p-ae8abc1b.entry.js} +1 -1
  275. package/dist/genesys-webcomponents/{p-c1d6b950.entry.js → p-b0e53652.entry.js} +1 -1
  276. package/dist/genesys-webcomponents/{p-b09ed8fd.entry.js → p-b48cf7fd.entry.js} +1 -1
  277. package/dist/genesys-webcomponents/{p-3bca88f0.entry.js → p-b6e12a6a.entry.js} +1 -1
  278. package/dist/genesys-webcomponents/{p-f254a399.entry.js → p-b71b0948.entry.js} +1 -1
  279. package/dist/genesys-webcomponents/{p-da1c6815.entry.js → p-bcf6f291.entry.js} +1 -1
  280. package/dist/genesys-webcomponents/{p-a811a043.entry.js → p-bd68340d.entry.js} +1 -1
  281. package/dist/genesys-webcomponents/{p-b716c999.entry.js → p-be681239.entry.js} +1 -1
  282. package/dist/genesys-webcomponents/{p-06a051e2.entry.js → p-beeeba5b.entry.js} +1 -1
  283. package/dist/genesys-webcomponents/{p-4c8af50f.entry.js → p-c0969440.entry.js} +1 -1
  284. package/dist/genesys-webcomponents/{p-04b1029f.entry.js → p-c1cdf4d6.entry.js} +1 -1
  285. package/dist/genesys-webcomponents/{p-d89f8435.entry.js → p-c3343605.entry.js} +1 -1
  286. package/dist/genesys-webcomponents/{p-e97e4344.entry.js → p-c353ce31.entry.js} +1 -1
  287. package/dist/genesys-webcomponents/{p-e491bcac.entry.js → p-c6f03610.entry.js} +1 -1
  288. package/dist/genesys-webcomponents/p-c8b59bf8.entry.js +1 -0
  289. package/dist/genesys-webcomponents/{p-85a97fdd.entry.js → p-c975b192.entry.js} +1 -1
  290. package/dist/genesys-webcomponents/{p-d5f9129a.entry.js → p-d10d53ee.entry.js} +1 -1
  291. package/dist/genesys-webcomponents/{p-53e99e1c.entry.js → p-d2c6394c.entry.js} +1 -1
  292. package/dist/genesys-webcomponents/{p-4fc6e77b.entry.js → p-d315fe5d.entry.js} +1 -1
  293. package/dist/genesys-webcomponents/{p-2767eedd.entry.js → p-d526ded1.entry.js} +1 -1
  294. package/dist/genesys-webcomponents/{p-0023db21.entry.js → p-d602e733.entry.js} +1 -1
  295. package/dist/genesys-webcomponents/{p-5edbbaa2.entry.js → p-d628bd9d.entry.js} +1 -1
  296. package/dist/genesys-webcomponents/{p-88b39a07.entry.js → p-d65cfc8a.entry.js} +1 -1
  297. package/dist/genesys-webcomponents/{p-b83c0fce.entry.js → p-d6ed1d5d.entry.js} +1 -1
  298. package/dist/genesys-webcomponents/p-d967c7e7.entry.js +1 -0
  299. package/dist/genesys-webcomponents/p-db7310c9.entry.js +1 -0
  300. package/dist/genesys-webcomponents/{p-49abdc36.entry.js → p-dbb066eb.entry.js} +1 -1
  301. package/dist/genesys-webcomponents/{p-e6ba3486.entry.js → p-e1d8649a.entry.js} +1 -1
  302. package/dist/genesys-webcomponents/{p-94c44b6b.entry.js → p-e1fc062c.entry.js} +1 -1
  303. package/dist/genesys-webcomponents/{p-22041782.entry.js → p-e3e34863.entry.js} +1 -1
  304. package/dist/genesys-webcomponents/{p-ee292004.entry.js → p-e4a47561.entry.js} +1 -1
  305. package/dist/genesys-webcomponents/{p-bc151fdb.entry.js → p-e71c94cc.entry.js} +1 -1
  306. package/dist/genesys-webcomponents/{p-e05782d1.entry.js → p-e7972e99.entry.js} +1 -1
  307. package/dist/genesys-webcomponents/{p-882b432e.entry.js → p-e9e4da73.entry.js} +1 -1
  308. package/dist/genesys-webcomponents/{p-79f33755.entry.js → p-ef3f0e46.entry.js} +1 -1
  309. package/dist/genesys-webcomponents/{p-c8d42dd7.entry.js → p-f6521818.entry.js} +1 -1
  310. package/dist/genesys-webcomponents/{p-8a67c5ac.entry.js → p-f8a78a0d.entry.js} +1 -1
  311. package/dist/genesys-webcomponents/{p-959d205b.entry.js → p-fb74f0fc.entry.js} +1 -1
  312. package/dist/stencil-wrapper.js +1 -1
  313. package/dist/types/components/beta/gux-phone-input/gux-phone-input.d.ts +31 -16
  314. package/dist/types/components/beta/gux-phone-input/gux-phone.types.d.ts +11 -0
  315. package/dist/types/components/beta/gux-phone-input/services/RegionCountryCodeMap.d.ts +0 -3
  316. package/dist/types/components/beta/gux-phone-input/services/region-map.service.d.ts +1 -5
  317. package/dist/types/components/stable/gux-button/gux-button.d.ts +5 -0
  318. package/dist/types/components/stable/gux-button-slot/gux-button-slot.d.ts +1 -0
  319. package/dist/types/components/stable/gux-flyout-menu/gux-menu/gux-menu-option/gux-menu-option.d.ts +1 -0
  320. package/dist/types/components.d.ts +22 -45
  321. package/dist/types/stencil-wrapper.d.ts +1 -1
  322. package/package.json +1 -2
  323. package/dist/cjs/gux-table-select-popover.cjs.entry.js +0 -1893
  324. package/dist/collection/components/beta/gux-phone-input/components/gux-region-icon/gux-region-select.service.js +0 -25
  325. package/dist/collection/components/stable/gux-table/gux-table-select-menu/gux-table-select-popover/gux-table-header-popover.js +0 -171
  326. package/dist/collection/components/stable/gux-table/gux-table-select-menu/gux-table-select-popover/gux-table-select-popover.css +0 -12
  327. package/dist/esm/gux-table-select-popover.entry.js +0 -1889
  328. package/dist/genesys-webcomponents/p-041433c6.entry.js +0 -1
  329. package/dist/genesys-webcomponents/p-0439dede.entry.js +0 -1
  330. package/dist/genesys-webcomponents/p-3b9f7f34.entry.js +0 -1
  331. package/dist/genesys-webcomponents/p-457dce75.entry.js +0 -1
  332. package/dist/genesys-webcomponents/p-4e030b49.js +0 -1
  333. package/dist/genesys-webcomponents/p-644b750b.entry.js +0 -1
  334. package/dist/genesys-webcomponents/p-655abec1.entry.js +0 -1
  335. package/dist/genesys-webcomponents/p-69153f39.entry.js +0 -1
  336. package/dist/genesys-webcomponents/p-6c72ef03.entry.js +0 -1
  337. package/dist/genesys-webcomponents/p-992542c8.entry.js +0 -1
  338. package/dist/genesys-webcomponents/p-9d684bc6.entry.js +0 -1
  339. package/dist/genesys-webcomponents/p-a1c693e2.entry.js +0 -1
  340. package/dist/genesys-webcomponents/p-e3342cc2.entry.js +0 -1
  341. package/dist/genesys-webcomponents/p-e7d70a06.entry.js +0 -1
  342. package/dist/genesys-webcomponents/p-ea41620e.entry.js +0 -1
  343. package/dist/types/components/beta/gux-phone-input/components/gux-region-icon/gux-region-select.service.d.ts +0 -1
  344. package/dist/types/components/stable/gux-table/gux-table-select-menu/gux-table-select-popover/gux-table-header-popover.d.ts +0 -32
@@ -1 +1 @@
1
- import{r as o,c as t,h as a,g as i}from"./p-ed724d66.js";import{r as e}from"./p-3ea0d493.js";import{t as n}from"./p-888e521b.js";const l=class{constructor(a){o(this,a),this.guxdismiss=t(this,"guxdismiss",7),this.size="dynamic",this.trapFocus=!0,this.initialFocus=void 0}handleKeyEvent(o){"Escape"===o.key&&this.onDismissHandler(o)}connectedCallback(){this.triggerElement=document.activeElement}componentWillLoad(){n(this.root,{variant:`${this.size}-${this.trapFocus?"trapfocuson":"trapfocusoff"}`})}componentDidLoad(){var o,t,a;const i=this.getInitialFocusElement();i?null===(o=i.focus)||void 0===o||o.call(i):this.dismissButton&&(null===(a=(t=this.dismissButton).focus)||void 0===a||a.call(t))}render(){const o=this.hasModalTitleSlot(),t=this.hasFooterButtons(),i=e();return a("div",{class:"gux-modal",role:"dialog","aria-modal":"true","aria-labelledby":o?i:null},a("div",{class:`gux-modal-container gux-${this.size}`},this.renderModalTrapFocusEl(),o&&a("h1",{class:"gux-modal-header",id:i},a("slot",{name:"title"})),a("gux-dismiss-button",{onClick:this.onDismissHandler.bind(this),ref:o=>this.dismissButton=o}),a("div",{class:{"gux-modal-content":!0,"gux-no-buttons":!t}},a("p",null,a("slot",{name:"content"}))),t&&a("div",{class:"gux-button-footer"},a("div",{class:"gux-left-align-buttons"},a("slot",{name:"left-align-buttons"})),a("div",{class:"gux-right-align-buttons"},a("slot",{name:"right-align-buttons"}))),this.renderModalTrapFocusEl()))}renderModalTrapFocusEl(){if(this.trapFocus)return a("span",{onFocus:()=>this.dismissButton.focus(),tabindex:"0"})}getInitialFocusElement(){return this.initialFocus?this.root.querySelector(this.initialFocus):void 0}hasModalTitleSlot(){return Boolean(this.root.querySelector('[slot="title"]'))}hasFooterButtons(){return Boolean(this.root.querySelector('[slot="left-align-buttons"]'))||Boolean(this.root.querySelector('[slot="right-align-buttons"]'))}onDismissHandler(o){var t;o.stopPropagation(),this.guxdismiss.emit().defaultPrevented||(this.root.remove(),null===(t=this.triggerElement)||void 0===t||t.focus())}get root(){return i(this)}};l.style="::slotted(button:active:enabled){color:var(--gse-ui-link-active-foregroundColor);text-decoration:underline;background:none}slot[name=left-align-buttons]::slotted(:not(button,gux-button)){display:flex;flex-direction:row;gap:var(--gse-ui-modal-buttonBar-gap);align-content:flex-start;align-items:center}:host .gux-modal{position:fixed;inset:0;z-index:var(--gux-zindex-modal, 1);display:flex;align-items:center;justify-content:center;color:#2e394c;background:var(--gse-ui-modal-shroudColor)}:host .gux-modal .gux-modal-container{position:relative;box-sizing:border-box;display:flex;flex-direction:column;justify-content:space-between;padding:var(--gse-ui-modal-padding);background:var(--gse-ui-modal-backgroundColor);border:1px solid #b4bccb;border-radius:var(--gse-ui-modal-borderRadius);box-shadow:var(--gse-ui-modal-boxShadow-x) var(--gse-ui-modal-boxShadow-y) var(--gse-ui-modal-boxShadow-blur) var(--gse-ui-modal-boxShadow-spread) var(--gse-ui-modal-boxShadow-color)}:host .gux-modal .gux-modal-container.gux-small{width:var(--gse-ui-modal-small-width);max-height:min(368px, 100vh - 2 * 24px)}:host .gux-modal .gux-modal-container.gux-medium{width:var(--gse-ui-modal-medium-width);max-height:min(640px, 100vh - 2 * 24px)}:host .gux-modal .gux-modal-container.gux-large{width:var(--gse-ui-modal-large-width);max-height:min(640px, 100vh - 2 * 24px)}:host .gux-modal .gux-modal-container.gux-dynamic{max-width:calc(100vw - 48px);max-height:calc(100vh - 48px)}:host .gux-modal .gux-modal-container.gux-dynamic .gux-modal-content{max-height:none}:host .gux-modal .gux-modal-container .gux-modal-header{margin:0;font-family:var(--gse-ui-modal-heading-fontFamily);font-size:var(--gse-ui-modal-heading-fontSize);font-weight:var(--gse-ui-modal-heading-fontWeight);line-height:var(--gse-ui-modal-heading-fontFamily);color:var(--gse-ui-modal-headerColor);letter-spacing:var(--gse-ui-modal-heading-letterSpacing);font-family:var(--gse-core-fontFamily-heading), var(--gse-core-fontFamily-body), sans-serif;font-size:var(--gse-core-fontSize-xl);font-weight:var(--gse-core-fontWeight-bold);line-height:var(--gse-core-lineHeight-xl)}:host .gux-modal .gux-modal-container .gux-modal-content{max-height:432px;margin-top:var(--gse-ui-modal-gap);margin-bottom:var(--gse-ui-modal-gap);overflow-y:auto}:host .gux-modal .gux-modal-container .gux-modal-content.gux-no-buttons{margin-bottom:0}:host .gux-modal .gux-modal-container .gux-button-footer{display:flex;justify-content:space-between}@media (max-width: 416px){:host .gux-modal .gux-modal-container.gux-small,:host .gux-modal .gux-modal-container.gux-medium,:host .gux-modal .gux-modal-container.gux-large{width:100%;height:100%}}";export{l as gux_modal}
1
+ import{r as o,c as t,h as a,g as i}from"./p-ed724d66.js";import{r as e}from"./p-3ea0d493.js";import{t as n}from"./p-7eb113fb.js";const l=class{constructor(a){o(this,a),this.guxdismiss=t(this,"guxdismiss",7),this.size="dynamic",this.trapFocus=!0,this.initialFocus=void 0}handleKeyEvent(o){"Escape"===o.key&&this.onDismissHandler(o)}connectedCallback(){this.triggerElement=document.activeElement}componentWillLoad(){n(this.root,{variant:`${this.size}-${this.trapFocus?"trapfocuson":"trapfocusoff"}`})}componentDidLoad(){var o,t,a;const i=this.getInitialFocusElement();i?null===(o=i.focus)||void 0===o||o.call(i):this.dismissButton&&(null===(a=(t=this.dismissButton).focus)||void 0===a||a.call(t))}render(){const o=this.hasModalTitleSlot(),t=this.hasFooterButtons(),i=e();return a("div",{class:"gux-modal",role:"dialog","aria-modal":"true","aria-labelledby":o?i:null},a("div",{class:`gux-modal-container gux-${this.size}`},this.renderModalTrapFocusEl(),o&&a("h1",{class:"gux-modal-header",id:i},a("slot",{name:"title"})),a("gux-dismiss-button",{onClick:this.onDismissHandler.bind(this),ref:o=>this.dismissButton=o}),a("div",{class:{"gux-modal-content":!0,"gux-no-buttons":!t}},a("p",null,a("slot",{name:"content"}))),t&&a("div",{class:"gux-button-footer"},a("div",{class:"gux-left-align-buttons"},a("slot",{name:"left-align-buttons"})),a("div",{class:"gux-right-align-buttons"},a("slot",{name:"right-align-buttons"}))),this.renderModalTrapFocusEl()))}renderModalTrapFocusEl(){if(this.trapFocus)return a("span",{onFocus:()=>this.dismissButton.focus(),tabindex:"0"})}getInitialFocusElement(){return this.initialFocus?this.root.querySelector(this.initialFocus):void 0}hasModalTitleSlot(){return Boolean(this.root.querySelector('[slot="title"]'))}hasFooterButtons(){return Boolean(this.root.querySelector('[slot="left-align-buttons"]'))||Boolean(this.root.querySelector('[slot="right-align-buttons"]'))}onDismissHandler(o){var t;o.stopPropagation(),this.guxdismiss.emit().defaultPrevented||(this.root.remove(),null===(t=this.triggerElement)||void 0===t||t.focus())}get root(){return i(this)}};l.style="::slotted(button:active:enabled){color:var(--gse-ui-link-active-foregroundColor);text-decoration:underline;background:none}slot[name=left-align-buttons]::slotted(:not(button,gux-button)){display:flex;flex-direction:row;gap:var(--gse-ui-modal-buttonBar-gap);align-content:flex-start;align-items:center}:host .gux-modal{position:fixed;inset:0;z-index:var(--gux-zindex-modal, 1);display:flex;align-items:center;justify-content:center;color:#2e394c;background:var(--gse-ui-modal-shroudColor)}:host .gux-modal .gux-modal-container{position:relative;box-sizing:border-box;display:flex;flex-direction:column;justify-content:space-between;padding:var(--gse-ui-modal-padding);background:var(--gse-ui-modal-backgroundColor);border:1px solid #b4bccb;border-radius:var(--gse-ui-modal-borderRadius);box-shadow:var(--gse-ui-modal-boxShadow-x) var(--gse-ui-modal-boxShadow-y) var(--gse-ui-modal-boxShadow-blur) var(--gse-ui-modal-boxShadow-spread) var(--gse-ui-modal-boxShadow-color)}:host .gux-modal .gux-modal-container.gux-small{width:var(--gse-ui-modal-small-width);max-height:min(368px, 100vh - 2 * 24px)}:host .gux-modal .gux-modal-container.gux-medium{width:var(--gse-ui-modal-medium-width);max-height:min(640px, 100vh - 2 * 24px)}:host .gux-modal .gux-modal-container.gux-large{width:var(--gse-ui-modal-large-width);max-height:min(640px, 100vh - 2 * 24px)}:host .gux-modal .gux-modal-container.gux-dynamic{max-width:calc(100vw - 48px);max-height:calc(100vh - 48px)}:host .gux-modal .gux-modal-container.gux-dynamic .gux-modal-content{max-height:none}:host .gux-modal .gux-modal-container .gux-modal-header{margin:0;font-family:var(--gse-ui-modal-heading-fontFamily);font-size:var(--gse-ui-modal-heading-fontSize);font-weight:var(--gse-ui-modal-heading-fontWeight);line-height:var(--gse-ui-modal-heading-fontFamily);color:var(--gse-ui-modal-headerColor);letter-spacing:var(--gse-ui-modal-heading-letterSpacing);font-family:var(--gse-core-fontFamily-heading), var(--gse-core-fontFamily-body), sans-serif;font-size:var(--gse-core-fontSize-xl);font-weight:var(--gse-core-fontWeight-bold);line-height:var(--gse-core-lineHeight-xl)}:host .gux-modal .gux-modal-container .gux-modal-content{max-height:432px;margin-top:var(--gse-ui-modal-gap);margin-bottom:var(--gse-ui-modal-gap);overflow-y:auto}:host .gux-modal .gux-modal-container .gux-modal-content.gux-no-buttons{margin-bottom:0}:host .gux-modal .gux-modal-container .gux-button-footer{display:flex;justify-content:space-between}@media (max-width: 416px){:host .gux-modal .gux-modal-container.gux-small,:host .gux-modal .gux-modal-container.gux-medium,:host .gux-modal .gux-modal-container.gux-large{width:100%;height:100%}}";export{l as gux_modal}
@@ -1 +1 @@
1
- import{r as o,f as r,h as t,g as e}from"./p-ed724d66.js";import{c as i,o as n}from"./p-16f3da0d.js";import{O as l}from"./p-8801741a.js";import{o as s}from"./p-4e030b49.js";import{p as a}from"./p-28f55159.js";import{h as u}from"./p-324b23f3.js";import{h as f,d as g,G as p,a as h,g as d,v as c,b as m}from"./p-a3bc3236.js";import{G as x,a as v}from"./p-9383fa8e.js";import{t as b}from"./p-888e521b.js";import"./p-3ea0d493.js";import"./p-9d734bbd.js";import"./p-373c5d93.js";const C=class{constructor(r){o(this,r),this.labelPosition=void 0,this.computedLabelPosition="above",this.clearable=!0,this.disabled=void 0,this.required=void 0,this.hasContent=!1,this.hasError=!1,this.hasHelp=!1}onMutation(){this.hasError=u(this.root,"error"),this.hasHelp=u(this.root,"help")}async guxForceUpdate(){this.hasContent=f(this.input),this.hasError=u(this.root,"error"),this.hasHelp=u(this.root,"help"),r(this.root)}componentWillLoad(){this.setInput(),this.setLabel(),this.hasError=u(this.root,"error"),this.hasHelp=u(this.root,"help"),b(this.root,{variant:this.variant})}disconnectedCallback(){this.disabledObserver&&this.disabledObserver.disconnect(),this.requiredObserver&&this.requiredObserver.disconnect()}render(){return t(v,{labelPosition:this.computedLabelPosition},t(x,{position:this.computedLabelPosition,required:this.required},t("slot",{name:"label",onSlotchange:()=>this.setLabel()})),t("div",{class:"gux-input-and-error-container"},t("div",{class:{"gux-input":!0,"gux-input-error":this.hasError}},t("div",{class:{"gux-input-container":!0,"gux-disabled":this.disabled}},t("gux-icon",{"icon-name":"search",decorative:!0}),t("slot",{name:"input"}),this.clearable&&this.hasContent&&!this.disabled&&t("gux-form-field-input-clear-button",{onClick:()=>g(this.input)}))),t(p,{show:this.hasError},t("slot",{name:"error"})),t(h,{show:!this.hasError&&this.hasHelp},t("slot",{name:"help"}))))}get variant(){const o=this.labelPosition?this.labelPosition.toLowerCase():"none";return`${this.input.getAttribute("type")}-${o}`}setInput(){this.input=d(this.root,'input[type="search"][slot="input"]'),this.hasContent=f(this.input),a(this.input),this.input.addEventListener("input",(()=>{this.hasContent=f(this.input)})),this.disabled=i(this.input),this.required=this.input.required,this.disabledObserver=n(this.input,(o=>{this.disabled=o})),this.requiredObserver=s(this.input,(o=>{this.required=o})),c(this.root,this.input)}setLabel(){this.label=this.root.querySelector('label[slot="label"]'),this.computedLabelPosition=m(this.label,this.labelPosition)}get root(){return e(this)}};(function(o,r,t,e){var i,n=arguments.length,l=n<3?r:null===e?e=Object.getOwnPropertyDescriptor(r,t):e;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)l=Reflect.decorate(o,r,t,e);else for(var s=o.length-1;s>=0;s--)(i=o[s])&&(l=(n<3?i(l):n>3?i(r,t,l):i(r,t))||l);n>3&&l&&Object.defineProperty(r,t,l)})([l({childList:!0,subtree:!0})],C.prototype,"onMutation",null),C.style='.gux-form-field-container.gux-beside{display:flex;flex-direction:row}.gux-form-field-error{display:none;flex-direction:row;flex-wrap:nowrap;align-content:stretch;align-items:flex-start;justify-content:flex-start;padding:var(--gse-ui-formControl-helper-errorPadding);font-family:var(--gse-ui-formControl-helper-helperText-fontFamily);font-size:var(--gse-ui-formControl-helper-helperText-fontSize);line-height:var(--gse-ui-formControl-helper-helperText-lineHeight);color:var(--gse-ui-formControl-helper-errorColor)}.gux-form-field-error.gux-show{display:flex}.gux-form-field-error gux-icon{flex:0 1 auto;align-self:auto;order:0;min-width:var(--gse-ui-icon-size-sm);min-height:var(--gse-ui-icon-size-sm);margin-right:var(--gse-ui-formControl-helper-gap);color:var(--gse-ui-formControl-helper-errorColor)}.gux-form-field-error .gux-message{flex:0 1 auto;align-self:auto;order:0}.gux-form-field-label.gux-required::after{color:var(--gse-ui-formControl-label-indicator-requiredColor);content:" *"}.gux-form-field-label.gux-beside{position:relative;top:8px;width:fit-content;min-width:45px;margin-right:var(--gse-ui-formControl-label-gap)}.gux-form-field-label.gux-above{padding:var(--gse-ui-formControl-label-padding)}.gux-form-field-label.gux-screenreader{position:absolute;top:auto;left:-10000px;width:1px;height:1px;overflow:hidden}.gux-form-field-help{display:none;flex-direction:row;flex-wrap:nowrap;align-content:stretch;align-items:flex-start;justify-content:flex-start;padding:var(--gse-ui-formControl-helper-padding);font-family:var(--gse-ui-formControl-helper-helperText-fontFamily);font-size:var(--gse-ui-formControl-helper-helperText-fontSize);line-height:var(--gse-ui-formControl-helper-helperText-lineHeight);color:var(--gse-ui-formControl-helper-defaultColor)}.gux-form-field-help.gux-show{display:flex}.gux-form-field-help .gux-message{flex:0 1 auto;align-self:none;order:0}:host{display:block}::slotted(label){font-family:var(--gse-ui-formControl-label-text-fontFamily);font-size:var(--gse-ui-formControl-label-text-fontSize);font-weight:var(--gse-ui-formControl-label-text-fontWeight);line-height:var(--gse-ui-formControl-label-text-lineHeight);color:var(--gse-ui-formControl-label-labelColor)}::slotted(input){flex:1 1 auto;align-self:auto;order:0;width:100%;overflow:hidden;font-size:var(--gse-ui-formControl-input-contentText-fontSize);text-overflow:ellipsis;background-color:var(--gse-ui-formControl-input-backgroundColor);border:none;outline:none}::slotted(input)::placeholder{color:var(--gse-ui-formControl-input-placeholderColor);opacity:1}.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}.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;gap:var(--gse-ui-formControl-input-gap);align-content:stretch;align-items:center;align-self:auto;justify-content:center;order:0;width:100%;height:var(--gse-ui-formControl-input-textfield-height);padding:var(--gse-ui-formControl-input-padding);font-family:var(--gse-ui-formControl-input-contentText-fontFamily);font-size:var(--gse-ui-formControl-input-contentText-fontSize);font-weight:var(--gse-ui-formControl-input-contentText-fontWeight);line-height:var(--gse-ui-formControl-input-contentText-lineHeight);color:var(--gse-ui-formControl-input-populatedColor);background-color:var(--gse-ui-formControl-input-backgroundColor);background-image:none;border:var(--gse-ui-formControl-input-default-border-width) var(--gse-ui-formControl-input-default-border-style) var(--gse-ui-formControl-input-default-border-color);border-radius:var(--gse-ui-formControl-input-borderRadius)}.gux-input-and-error-container .gux-input .gux-input-container.gux-disabled{opacity:var(--gse-ui-formControl-input-disabled-opacity)}.gux-input-and-error-container .gux-input .gux-input-container gux-icon[icon-name=search]{flex:0 0 auto;align-self:auto;order:0;width:var(--gse-ui-formControl-input-inputIcon-size);height:var(--gse-ui-formControl-input-inputIcon-size);color:var(--gse-ui-formControl-input-inputIcon-defaultColor)}.gux-input-and-error-container .gux-input .gux-input-container:focus-within{border:var(--gse-ui-formControl-input-active-border-width) var(--gse-ui-formControl-input-active-border-style) var(--gse-ui-formControl-input-active-border-color);border-radius:var(--gse-ui-formControl-focusRing-borderRadius);outline:var(--gse-ui-formControl-input-focus-border-width) var(--gse-ui-formControl-input-focus-border-style) var(--gse-ui-formControl-input-focus-border-color)}.gux-input-and-error-container .gux-input.gux-input-error .gux-input-container{border-color:var(--gse-ui-formControl-input-error-border-color)}';export{C as gux_form_field_search}
1
+ import{r as o,f as r,h as t,g as e}from"./p-ed724d66.js";import{c as i,o as n}from"./p-16f3da0d.js";import{O as l}from"./p-8801741a.js";import{o as s}from"./p-37bfd195.js";import{p as a}from"./p-28f55159.js";import{h as u}from"./p-324b23f3.js";import{h as f,d as g,G as p,a as h,g as d,v as c,b as m}from"./p-a3bc3236.js";import{G as x,a as v}from"./p-9383fa8e.js";import{t as b}from"./p-7eb113fb.js";import"./p-3ea0d493.js";import"./p-9d734bbd.js";import"./p-373c5d93.js";const C=class{constructor(r){o(this,r),this.labelPosition=void 0,this.computedLabelPosition="above",this.clearable=!0,this.disabled=void 0,this.required=void 0,this.hasContent=!1,this.hasError=!1,this.hasHelp=!1}onMutation(){this.hasError=u(this.root,"error"),this.hasHelp=u(this.root,"help")}async guxForceUpdate(){this.hasContent=f(this.input),this.hasError=u(this.root,"error"),this.hasHelp=u(this.root,"help"),r(this.root)}componentWillLoad(){this.setInput(),this.setLabel(),this.hasError=u(this.root,"error"),this.hasHelp=u(this.root,"help"),b(this.root,{variant:this.variant})}disconnectedCallback(){this.disabledObserver&&this.disabledObserver.disconnect(),this.requiredObserver&&this.requiredObserver.disconnect()}render(){return t(v,{labelPosition:this.computedLabelPosition},t(x,{position:this.computedLabelPosition,required:this.required},t("slot",{name:"label",onSlotchange:()=>this.setLabel()})),t("div",{class:"gux-input-and-error-container"},t("div",{class:{"gux-input":!0,"gux-input-error":this.hasError}},t("div",{class:{"gux-input-container":!0,"gux-disabled":this.disabled}},t("gux-icon",{"icon-name":"search",decorative:!0}),t("slot",{name:"input"}),this.clearable&&this.hasContent&&!this.disabled&&t("gux-form-field-input-clear-button",{onClick:()=>g(this.input)}))),t(p,{show:this.hasError},t("slot",{name:"error"})),t(h,{show:!this.hasError&&this.hasHelp},t("slot",{name:"help"}))))}get variant(){const o=this.labelPosition?this.labelPosition.toLowerCase():"none";return`${this.input.getAttribute("type")}-${o}`}setInput(){this.input=d(this.root,'input[type="search"][slot="input"]'),this.hasContent=f(this.input),a(this.input),this.input.addEventListener("input",(()=>{this.hasContent=f(this.input)})),this.disabled=i(this.input),this.required=this.input.required,this.disabledObserver=n(this.input,(o=>{this.disabled=o})),this.requiredObserver=s(this.input,(o=>{this.required=o})),c(this.root,this.input)}setLabel(){this.label=this.root.querySelector('label[slot="label"]'),this.computedLabelPosition=m(this.label,this.labelPosition)}get root(){return e(this)}};(function(o,r,t,e){var i,n=arguments.length,l=n<3?r:null===e?e=Object.getOwnPropertyDescriptor(r,t):e;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)l=Reflect.decorate(o,r,t,e);else for(var s=o.length-1;s>=0;s--)(i=o[s])&&(l=(n<3?i(l):n>3?i(r,t,l):i(r,t))||l);n>3&&l&&Object.defineProperty(r,t,l)})([l({childList:!0,subtree:!0})],C.prototype,"onMutation",null),C.style='.gux-form-field-container.gux-beside{display:flex;flex-direction:row}.gux-form-field-error{display:none;flex-direction:row;flex-wrap:nowrap;align-content:stretch;align-items:flex-start;justify-content:flex-start;padding:var(--gse-ui-formControl-helper-errorPadding);font-family:var(--gse-ui-formControl-helper-helperText-fontFamily);font-size:var(--gse-ui-formControl-helper-helperText-fontSize);line-height:var(--gse-ui-formControl-helper-helperText-lineHeight);color:var(--gse-ui-formControl-helper-errorColor)}.gux-form-field-error.gux-show{display:flex}.gux-form-field-error gux-icon{flex:0 1 auto;align-self:auto;order:0;min-width:var(--gse-ui-icon-size-sm);min-height:var(--gse-ui-icon-size-sm);margin-right:var(--gse-ui-formControl-helper-gap);color:var(--gse-ui-formControl-helper-errorColor)}.gux-form-field-error .gux-message{flex:0 1 auto;align-self:auto;order:0}.gux-form-field-label.gux-required::after{color:var(--gse-ui-formControl-label-indicator-requiredColor);content:" *"}.gux-form-field-label.gux-beside{position:relative;top:8px;width:fit-content;min-width:45px;margin-right:var(--gse-ui-formControl-label-gap)}.gux-form-field-label.gux-above{padding:var(--gse-ui-formControl-label-padding)}.gux-form-field-label.gux-screenreader{position:absolute;top:auto;left:-10000px;width:1px;height:1px;overflow:hidden}.gux-form-field-help{display:none;flex-direction:row;flex-wrap:nowrap;align-content:stretch;align-items:flex-start;justify-content:flex-start;padding:var(--gse-ui-formControl-helper-padding);font-family:var(--gse-ui-formControl-helper-helperText-fontFamily);font-size:var(--gse-ui-formControl-helper-helperText-fontSize);line-height:var(--gse-ui-formControl-helper-helperText-lineHeight);color:var(--gse-ui-formControl-helper-defaultColor)}.gux-form-field-help.gux-show{display:flex}.gux-form-field-help .gux-message{flex:0 1 auto;align-self:none;order:0}:host{display:block}::slotted(label){font-family:var(--gse-ui-formControl-label-text-fontFamily);font-size:var(--gse-ui-formControl-label-text-fontSize);font-weight:var(--gse-ui-formControl-label-text-fontWeight);line-height:var(--gse-ui-formControl-label-text-lineHeight);color:var(--gse-ui-formControl-label-labelColor)}::slotted(input){flex:1 1 auto;align-self:auto;order:0;width:100%;overflow:hidden;font-size:var(--gse-ui-formControl-input-contentText-fontSize);text-overflow:ellipsis;background-color:var(--gse-ui-formControl-input-backgroundColor);border:none;outline:none}::slotted(input)::placeholder{color:var(--gse-ui-formControl-input-placeholderColor);opacity:1}.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}.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;gap:var(--gse-ui-formControl-input-gap);align-content:stretch;align-items:center;align-self:auto;justify-content:center;order:0;width:100%;height:var(--gse-ui-formControl-input-textfield-height);padding:var(--gse-ui-formControl-input-padding);font-family:var(--gse-ui-formControl-input-contentText-fontFamily);font-size:var(--gse-ui-formControl-input-contentText-fontSize);font-weight:var(--gse-ui-formControl-input-contentText-fontWeight);line-height:var(--gse-ui-formControl-input-contentText-lineHeight);color:var(--gse-ui-formControl-input-populatedColor);background-color:var(--gse-ui-formControl-input-backgroundColor);background-image:none;border:var(--gse-ui-formControl-input-default-border-width) var(--gse-ui-formControl-input-default-border-style) var(--gse-ui-formControl-input-default-border-color);border-radius:var(--gse-ui-formControl-input-borderRadius)}.gux-input-and-error-container .gux-input .gux-input-container.gux-disabled{opacity:var(--gse-ui-formControl-input-disabled-opacity)}.gux-input-and-error-container .gux-input .gux-input-container gux-icon[icon-name=search]{flex:0 0 auto;align-self:auto;order:0;width:var(--gse-ui-formControl-input-inputIcon-size);height:var(--gse-ui-formControl-input-inputIcon-size);color:var(--gse-ui-formControl-input-inputIcon-defaultColor)}.gux-input-and-error-container .gux-input .gux-input-container:focus-within{border:var(--gse-ui-formControl-input-active-border-width) var(--gse-ui-formControl-input-active-border-style) var(--gse-ui-formControl-input-active-border-color);border-radius:var(--gse-ui-formControl-focusRing-borderRadius);outline:var(--gse-ui-formControl-input-focus-border-width) var(--gse-ui-formControl-input-focus-border-style) var(--gse-ui-formControl-input-focus-border-color)}.gux-input-and-error-container .gux-input.gux-input-error .gux-input-container{border-color:var(--gse-ui-formControl-input-error-border-color)}';export{C as gux_form_field_search}
@@ -1 +1 @@
1
- import{r as t,d as e,h as i,H as a,g as o}from"./p-ed724d66.js";import{O as n}from"./p-3d745319.js";import{O as r}from"./p-8801741a.js";import{t as s}from"./p-888e521b.js";import{g as l}from"./p-693c1709.js";function u(t,e){[].concat(t).forEach((t=>{null!=t&&(t.accent=e)}))}function h(t,...e){e.flat().filter((t=>null!==t&&!t.hasAttribute("icon-only"))).forEach((e=>e.iconOnly=t))}var d=function(t,e,i,a){var o,n=arguments.length,r=n<3?e:null===a?a=Object.getOwnPropertyDescriptor(e,i):a;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)r=Reflect.decorate(t,e,i,a);else for(var s=t.length-1;s>=0;s--)(o=t[s])&&(r=(n<3?o(r):n>3?o(e,i,r):o(e,i))||r);return n>3&&r&&Object.defineProperty(e,i,r),r};const c=class{constructor(e){t(this,e),this.minimumSizes={full:0,iconOnly:0,condensed:0},this.displayedLayout="full",this.hasContextDivider=!1}onMutation(){this.hasContextDivider=this.needsContextDivider()}recordLayoutMinSize(){e((()=>{var t,e;const i=0|(null===(t=this.filterSlot)||void 0===t?void 0:t.clientWidth),a=0|(null===(e=this.actionsContainer)||void 0===e?void 0:e.clientWidth);this.minimumSizes[this.displayedLayout]=i+a+72}))}get actionsContainer(){return this.root.shadowRoot.querySelector(".gux-contextual-permanent-primary")}get filterSlot(){return l(this.root,"search-and-filter")}get menuActionSlot(){return l(this.root,"menu-actions")}get permanentSlot(){return l(this.root,"permanent-actions")}get contextualSlot(){return l(this.root,"contextual-actions")}get primaryAction(){var t;return null===(t=this.root)||void 0===t?void 0:t.querySelector("gux-table-toolbar-custom-action[slot]")}get permanentActions(){var t,e;if(null===(t=this.permanentSlot)||void 0===t?void 0:t.hasChildNodes)return Array.from(null===(e=this.permanentSlot)||void 0===e?void 0:e.querySelectorAll("gux-table-toolbar-action, gux-table-toolbar-custom-action"))}get menuActionsItems(){var t,e;if(null===(t=this.menuActionSlot)||void 0===t?void 0:t.hasChildNodes)return Array.from(null===(e=this.menuActionSlot)||void 0===e?void 0:e.querySelectorAll("gux-table-toolbar-action, gux-table-toolbar-custom-action"))}get contextualActions(){var t,e;if(null===(t=this.contextualSlot)||void 0===t?void 0:t.hasChildNodes)return Array.from(null===(e=this.contextualSlot)||void 0===e?void 0:e.querySelectorAll("gux-table-toolbar-action, gux-table-toolbar-custom-action"))}get filterActions(){var t,e;if(null===(t=this.filterSlot)||void 0===t?void 0:t.hasChildNodes)return Array.from(null===(e=this.filterSlot)||void 0===e?void 0:e.querySelectorAll("gux-table-toolbar-action, gux-table-toolbar-custom-action"))}get allFilterContextual(){var t;return null===(t=this.filterActions)||void 0===t?void 0:t.concat(this.contextualActions)}needsContextDivider(){var t;return(null===(t=this.contextualActions)||void 0===t?void 0:t.length)&&this.contextualSlot!==this.root.lastElementChild}renderMenu(){var t;return Boolean((null===(t=this.menuActionsItems)||void 0===t?void 0:t.length)||"condensed"==this.displayedLayout)}renderFullLayout(){this.displayedLayout="full",h(!1,this.primaryAction,...this.allFilterContextual,...this.permanentActions)}renderIconOnlyLayoutScaleDown(t){this.displayedLayout="iconOnly",h(!0,this.primaryAction,...this.allFilterContextual,...this.permanentActions),this.iconOnlySectionWidth=t}renderIconOnlyLayoutScaleUp(){var t,e;this.displayedLayout="iconOnly",u(this.permanentActions,"secondary"),u(this.primaryAction,"primary"),h(!0,this.primaryAction,...this.allFilterContextual,...this.permanentActions),this.permanentActions&&(null===(t=this.root)||void 0===t||t.appendChild(this.permanentSlot)),this.primaryAction&&(null===(e=this.root)||void 0===e||e.appendChild(this.primaryAction))}renderCondensedLayout(){var t,e;this.displayedLayout="condensed",this.permanentActions&&(null===(t=this.menuActionSlot)||void 0===t||t.appendChild(this.permanentSlot)),this.primaryAction&&(null===(e=this.menuActionSlot)||void 0===e||e.appendChild(this.primaryAction)),h(!0,...this.allFilterContextual),h(!1,...this.permanentActions),h(!1,this.primaryAction),u(this.menuActionsItems,"ghost")}componentWillLoad(){s(this.root),this.hasContextDivider=this.needsContextDivider()}componentDidLoad(){this.recordLayoutMinSize(),this.checkResponsiveLayout(),u(this.menuActionsItems,"ghost")}componentDidUpdate(){this.recordLayoutMinSize(),this.checkResponsiveLayout()}checkResponsiveLayout(){e((()=>{var t;const e=0|(null===(t=this.actionsContainer)||void 0===t?void 0:t.clientWidth),i=this.root.clientWidth;i<=this.minimumSizes.full&&i>=this.minimumSizes.iconOnly?"full"==this.displayedLayout?this.renderIconOnlyLayoutScaleDown(e):"condensed"==this.displayedLayout&&this.renderIconOnlyLayoutScaleUp():i<=this.minimumSizes.iconOnly?this.renderCondensedLayout():this.minimumSizes.iconOnly>this.minimumSizes.full?this.renderIconOnlyLayoutScaleUp():this.renderFullLayout()}))}render(){return i(a,{role:"toolbar","aria-orientation":"horizontal"},i("div",{class:"search-filter-container"},i("slot",{name:"search-and-filter"})),i("div",{class:"section-spacing"}),i("div",{class:"gux-contextual-permanent-primary"},i("div",{class:{"gux-contextual-wrapper":this.hasContextDivider}},i("slot",{name:"contextual-actions"})),i("div",{class:"gux-permanent-menu-primary-wrapper"},i("slot",{name:"permanent-actions"}),i("gux-table-toolbar-menu-button",{"show-menu":this.renderMenu()},i("slot",{name:"menu-actions"})),i("slot",{name:"primary-action"}))))}get root(){return o(this)}};d([r({childList:!0,subtree:!0})],c.prototype,"onMutation",null),d([n()],c.prototype,"checkResponsiveLayout",null),c.style=":host{display:flex;flex-direction:row;align-items:center;justify-content:space-between;width:100%;max-height:var(--gse-ui-dataTableItems-tableToolbar-height)}:host .search-filter-container{width:260px;min-width:260px;padding-right:var(--gse-ui-dataTableItems-tableToolbar-gap)}:host slot[name=search-and-filter]::slotted(*){display:flex;flex-direction:row;gap:var(--gse-ui-dataTableItems-tableToolbar-tableToolbarGroup-gap);align-content:flex-start;align-items:center}:host .section-spacing{display:flex;flex-direction:row;min-width:72px}:host .gux-contextual-permanent-primary{display:flex;flex-direction:row;justify-content:space-between;padding-left:var(--gse-ui-dataTableItems-tableToolbar-gap)}:host .gux-contextual-permanent-primary slot[name=permanent-actions]::slotted(*),:host .gux-contextual-permanent-primary slot[name=contextual-actions]::slotted(*){display:flex;flex-direction:row;flex-wrap:nowrap;gap:var(--gse-ui-dataTableItems-tableToolbar-tableToolbarGroup-gap);align-content:flex-end;align-items:center}:host .gux-contextual-permanent-primary .gux-contextual-wrapper{padding-right:var(--gse-ui-dataTableItems-tableToolbar-gap);border-right:var(--gse-ui-dataTableItems-tableToolbar-divider-width) solid var(--gse-ui-dataTableItems-tableToolbar-dividerColor)}:host .gux-contextual-permanent-primary .gux-permanent-menu-primary-wrapper{display:flex;flex-direction:row;flex-wrap:nowrap;gap:var(--gse-ui-dataTableItems-tableToolbar-tableToolbarGroup-gap);margin-left:var(--gse-ui-dataTableItems-tableToolbar-gap)}";export{c as gux_table_toolbar}
1
+ import{r as t,d as e,h as i,H as a,g as o}from"./p-ed724d66.js";import{O as n}from"./p-3d745319.js";import{O as r}from"./p-8801741a.js";import{t as s}from"./p-7eb113fb.js";import{g as l}from"./p-693c1709.js";function u(t,e){[].concat(t).forEach((t=>{null!=t&&(t.accent=e)}))}function h(t,...e){e.flat().filter((t=>null!==t&&!t.hasAttribute("icon-only"))).forEach((e=>e.iconOnly=t))}var d=function(t,e,i,a){var o,n=arguments.length,r=n<3?e:null===a?a=Object.getOwnPropertyDescriptor(e,i):a;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)r=Reflect.decorate(t,e,i,a);else for(var s=t.length-1;s>=0;s--)(o=t[s])&&(r=(n<3?o(r):n>3?o(e,i,r):o(e,i))||r);return n>3&&r&&Object.defineProperty(e,i,r),r};const c=class{constructor(e){t(this,e),this.minimumSizes={full:0,iconOnly:0,condensed:0},this.displayedLayout="full",this.hasContextDivider=!1}onMutation(){this.hasContextDivider=this.needsContextDivider()}recordLayoutMinSize(){e((()=>{var t,e;const i=0|(null===(t=this.filterSlot)||void 0===t?void 0:t.clientWidth),a=0|(null===(e=this.actionsContainer)||void 0===e?void 0:e.clientWidth);this.minimumSizes[this.displayedLayout]=i+a+72}))}get actionsContainer(){return this.root.shadowRoot.querySelector(".gux-contextual-permanent-primary")}get filterSlot(){return l(this.root,"search-and-filter")}get menuActionSlot(){return l(this.root,"menu-actions")}get permanentSlot(){return l(this.root,"permanent-actions")}get contextualSlot(){return l(this.root,"contextual-actions")}get primaryAction(){var t;return null===(t=this.root)||void 0===t?void 0:t.querySelector("gux-table-toolbar-custom-action[slot]")}get permanentActions(){var t,e;if(null===(t=this.permanentSlot)||void 0===t?void 0:t.hasChildNodes)return Array.from(null===(e=this.permanentSlot)||void 0===e?void 0:e.querySelectorAll("gux-table-toolbar-action, gux-table-toolbar-custom-action"))}get menuActionsItems(){var t,e;if(null===(t=this.menuActionSlot)||void 0===t?void 0:t.hasChildNodes)return Array.from(null===(e=this.menuActionSlot)||void 0===e?void 0:e.querySelectorAll("gux-table-toolbar-action, gux-table-toolbar-custom-action"))}get contextualActions(){var t,e;if(null===(t=this.contextualSlot)||void 0===t?void 0:t.hasChildNodes)return Array.from(null===(e=this.contextualSlot)||void 0===e?void 0:e.querySelectorAll("gux-table-toolbar-action, gux-table-toolbar-custom-action"))}get filterActions(){var t,e;if(null===(t=this.filterSlot)||void 0===t?void 0:t.hasChildNodes)return Array.from(null===(e=this.filterSlot)||void 0===e?void 0:e.querySelectorAll("gux-table-toolbar-action, gux-table-toolbar-custom-action"))}get allFilterContextual(){var t;return null===(t=this.filterActions)||void 0===t?void 0:t.concat(this.contextualActions)}needsContextDivider(){var t;return(null===(t=this.contextualActions)||void 0===t?void 0:t.length)&&this.contextualSlot!==this.root.lastElementChild}renderMenu(){var t;return Boolean((null===(t=this.menuActionsItems)||void 0===t?void 0:t.length)||"condensed"==this.displayedLayout)}renderFullLayout(){this.displayedLayout="full",h(!1,this.primaryAction,...this.allFilterContextual,...this.permanentActions)}renderIconOnlyLayoutScaleDown(t){this.displayedLayout="iconOnly",h(!0,this.primaryAction,...this.allFilterContextual,...this.permanentActions),this.iconOnlySectionWidth=t}renderIconOnlyLayoutScaleUp(){var t,e;this.displayedLayout="iconOnly",u(this.permanentActions,"secondary"),u(this.primaryAction,"primary"),h(!0,this.primaryAction,...this.allFilterContextual,...this.permanentActions),this.permanentActions&&(null===(t=this.root)||void 0===t||t.appendChild(this.permanentSlot)),this.primaryAction&&(null===(e=this.root)||void 0===e||e.appendChild(this.primaryAction))}renderCondensedLayout(){var t,e;this.displayedLayout="condensed",this.permanentActions&&(null===(t=this.menuActionSlot)||void 0===t||t.appendChild(this.permanentSlot)),this.primaryAction&&(null===(e=this.menuActionSlot)||void 0===e||e.appendChild(this.primaryAction)),h(!0,...this.allFilterContextual),h(!1,...this.permanentActions),h(!1,this.primaryAction),u(this.menuActionsItems,"ghost")}componentWillLoad(){s(this.root),this.hasContextDivider=this.needsContextDivider()}componentDidLoad(){this.recordLayoutMinSize(),this.checkResponsiveLayout(),u(this.menuActionsItems,"ghost")}componentDidUpdate(){this.recordLayoutMinSize(),this.checkResponsiveLayout()}checkResponsiveLayout(){e((()=>{var t;const e=0|(null===(t=this.actionsContainer)||void 0===t?void 0:t.clientWidth),i=this.root.clientWidth;i<=this.minimumSizes.full&&i>=this.minimumSizes.iconOnly?"full"==this.displayedLayout?this.renderIconOnlyLayoutScaleDown(e):"condensed"==this.displayedLayout&&this.renderIconOnlyLayoutScaleUp():i<=this.minimumSizes.iconOnly?this.renderCondensedLayout():this.minimumSizes.iconOnly>this.minimumSizes.full?this.renderIconOnlyLayoutScaleUp():this.renderFullLayout()}))}render(){return i(a,{role:"toolbar","aria-orientation":"horizontal"},i("div",{class:"search-filter-container"},i("slot",{name:"search-and-filter"})),i("div",{class:"section-spacing"}),i("div",{class:"gux-contextual-permanent-primary"},i("div",{class:{"gux-contextual-wrapper":this.hasContextDivider}},i("slot",{name:"contextual-actions"})),i("div",{class:"gux-permanent-menu-primary-wrapper"},i("slot",{name:"permanent-actions"}),i("gux-table-toolbar-menu-button",{"show-menu":this.renderMenu()},i("slot",{name:"menu-actions"})),i("slot",{name:"primary-action"}))))}get root(){return o(this)}};d([r({childList:!0,subtree:!0})],c.prototype,"onMutation",null),d([n()],c.prototype,"checkResponsiveLayout",null),c.style=":host{display:flex;flex-direction:row;align-items:center;justify-content:space-between;width:100%;max-height:var(--gse-ui-dataTableItems-tableToolbar-height)}:host .search-filter-container{width:260px;min-width:260px;padding-right:var(--gse-ui-dataTableItems-tableToolbar-gap)}:host slot[name=search-and-filter]::slotted(*){display:flex;flex-direction:row;gap:var(--gse-ui-dataTableItems-tableToolbar-tableToolbarGroup-gap);align-content:flex-start;align-items:center}:host .section-spacing{display:flex;flex-direction:row;min-width:72px}:host .gux-contextual-permanent-primary{display:flex;flex-direction:row;justify-content:space-between;padding-left:var(--gse-ui-dataTableItems-tableToolbar-gap)}:host .gux-contextual-permanent-primary slot[name=permanent-actions]::slotted(*),:host .gux-contextual-permanent-primary slot[name=contextual-actions]::slotted(*){display:flex;flex-direction:row;flex-wrap:nowrap;gap:var(--gse-ui-dataTableItems-tableToolbar-tableToolbarGroup-gap);align-content:flex-end;align-items:center}:host .gux-contextual-permanent-primary .gux-contextual-wrapper{padding-right:var(--gse-ui-dataTableItems-tableToolbar-gap);border-right:var(--gse-ui-dataTableItems-tableToolbar-divider-width) solid var(--gse-ui-dataTableItems-tableToolbar-dividerColor)}:host .gux-contextual-permanent-primary .gux-permanent-menu-primary-wrapper{display:flex;flex-direction:row;flex-wrap:nowrap;gap:var(--gse-ui-dataTableItems-tableToolbar-tableToolbarGroup-gap);margin-left:var(--gse-ui-dataTableItems-tableToolbar-gap)}";export{c as gux_table_toolbar}
@@ -0,0 +1 @@
1
+ import{r as o,h as r,H as e}from"./p-ed724d66.js";const u=class{constructor(r){o(this,r)}render(){return r(e,{role:"menu"},r("slot",null))}};u.style=":host{flex-direction:column;width:fit-content;padding:var(--gse-ui-flyoutMenu-padding);background-color:var(--gse-ui-flyoutMenu-backgroundColor);border-radius:var(--gse-ui-menu-borderRadius);box-shadow:var(--gse-ui-menu-boxShadow-x) var(--gse-ui-menu-boxShadow-y) var(--gse-ui-menu-boxShadow-blur) var(--gse-ui-menu-boxShadow-spread) var(--gse-ui-menu-boxShadow-color)}";export{u as gux_menu}