genesys-spark-components 4.138.1 → 4.138.2

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 (359) hide show
  1. package/dist/cjs/gux-accordion.cjs.entry.js +1 -1
  2. package/dist/cjs/gux-action-button.cjs.entry.js +1 -1
  3. package/dist/cjs/gux-action-toast-legacy.cjs.entry.js +1 -1
  4. package/dist/cjs/gux-advanced-dropdown-legacy.cjs.entry.js +1 -1
  5. package/dist/cjs/gux-announce-beta.cjs.entry.js +1 -1
  6. package/dist/cjs/gux-avatar-beta.cjs.entry.js +1 -1
  7. package/dist/cjs/gux-avatar-change-photo-beta.cjs.entry.js +1 -1
  8. package/dist/cjs/gux-avatar-group-add-item-beta_3.cjs.entry.js +1 -1
  9. package/dist/cjs/gux-avatar-group-beta.cjs.entry.js +1 -1
  10. package/dist/cjs/gux-avatar-group-item-beta.cjs.entry.js +1 -1
  11. package/dist/cjs/gux-badge.cjs.entry.js +1 -1
  12. package/dist/cjs/gux-blank-state.cjs.entry.js +1 -1
  13. package/dist/cjs/gux-breadcrumbs.cjs.entry.js +1 -1
  14. package/dist/cjs/gux-button-multi.cjs.entry.js +1 -1
  15. package/dist/cjs/gux-button-slot.cjs.entry.js +1 -1
  16. package/dist/cjs/gux-button_2.cjs.entry.js +1 -1
  17. package/dist/cjs/gux-calendar-beta.cjs.entry.js +1 -1
  18. package/dist/cjs/gux-calendar.cjs.entry.js +1 -1
  19. package/dist/cjs/gux-card.cjs.entry.js +1 -1
  20. package/dist/cjs/gux-column-manager.cjs.entry.js +1 -1
  21. package/dist/cjs/gux-content-search.cjs.entry.js +1 -1
  22. package/dist/cjs/gux-context-menu.cjs.entry.js +1 -1
  23. package/dist/cjs/gux-copy-to-clipboard.cjs.entry.js +1 -1
  24. package/dist/cjs/gux-date-beta.cjs.entry.js +1 -1
  25. package/dist/cjs/gux-date-time-beta.cjs.entry.js +1 -1
  26. package/dist/cjs/gux-datepicker.cjs.entry.js +1 -1
  27. package/dist/cjs/gux-day-beta.cjs.entry.js +1 -1
  28. package/dist/cjs/gux-disclosure-button-legacy.cjs.entry.js +1 -1
  29. package/dist/cjs/gux-dismiss-button.cjs.entry.js +1 -1
  30. package/dist/cjs/gux-dropdown-multi.cjs.entry.js +1 -1
  31. package/dist/cjs/gux-dropdown_3.cjs.entry.js +1 -1
  32. package/dist/cjs/gux-file-list-item.cjs.entry.js +1 -1
  33. package/dist/cjs/gux-flag-icon-beta.cjs.entry.js +1 -1
  34. package/dist/cjs/gux-flyout-menu.cjs.entry.js +1 -1
  35. package/dist/cjs/gux-form-field-checkbox-group-beta.cjs.entry.js +1 -1
  36. package/dist/cjs/gux-form-field-checkbox.cjs.entry.js +1 -1
  37. package/dist/cjs/gux-form-field-color.cjs.entry.js +1 -1
  38. package/dist/cjs/gux-form-field-dropdown.cjs.entry.js +1 -1
  39. package/dist/cjs/gux-form-field-file-beta.cjs.entry.js +1 -1
  40. package/dist/cjs/gux-form-field-file.cjs.entry.js +1 -1
  41. package/dist/cjs/gux-form-field-input-clear-button.cjs.entry.js +1 -1
  42. package/dist/cjs/gux-form-field-label-indicator.cjs.entry.js +1 -1
  43. package/dist/cjs/gux-form-field-number_2.cjs.entry.js +1 -1
  44. package/dist/cjs/gux-form-field-phone.cjs.entry.js +1 -1
  45. package/dist/cjs/gux-form-field-radio-group-beta.cjs.entry.js +1 -1
  46. package/dist/cjs/gux-form-field-radio.cjs.entry.js +1 -1
  47. package/dist/cjs/gux-form-field-range.cjs.entry.js +1 -1
  48. package/dist/cjs/gux-form-field-search.cjs.entry.js +1 -1
  49. package/dist/cjs/gux-form-field-select.cjs.entry.js +1 -1
  50. package/dist/cjs/gux-form-field-text-like.cjs.entry.js +1 -1
  51. package/dist/cjs/gux-form-field-textarea.cjs.entry.js +1 -1
  52. package/dist/cjs/gux-form-field-time-picker.cjs.entry.js +1 -1
  53. package/dist/cjs/gux-form-field-time-zone-picker.cjs.entry.js +1 -1
  54. package/dist/cjs/gux-form-footer.cjs.entry.js +1 -1
  55. package/dist/cjs/gux-icon-tooltip-beta.cjs.entry.js +1 -1
  56. package/dist/cjs/gux-icon.cjs.entry.js +1 -1
  57. package/dist/cjs/gux-inline-alert.cjs.entry.js +1 -1
  58. package/dist/cjs/gux-label-info-beta.cjs.entry.js +1 -1
  59. package/dist/cjs/gux-link-beta.cjs.entry.js +1 -1
  60. package/dist/cjs/gux-list.cjs.entry.js +1 -1
  61. package/dist/cjs/gux-listbox-multi.cjs.entry.js +1 -1
  62. package/dist/cjs/gux-loading-message.cjs.entry.js +1 -1
  63. package/dist/cjs/gux-modal-legacy.cjs.entry.js +1 -1
  64. package/dist/cjs/gux-modal-side-panel-beta.cjs.entry.js +1 -1
  65. package/dist/cjs/gux-modal.cjs.entry.js +1 -1
  66. package/dist/cjs/gux-month-picker-beta.cjs.entry.js +1 -1
  67. package/dist/cjs/gux-notification-toast-legacy.cjs.entry.js +1 -1
  68. package/dist/cjs/gux-page-loading-spinner.cjs.entry.js +1 -1
  69. package/dist/cjs/gux-pagination-cursor.cjs.entry.js +1 -1
  70. package/dist/cjs/gux-pagination-legacy.cjs.entry.js +1 -1
  71. package/dist/cjs/gux-pagination.cjs.entry.js +1 -1
  72. package/dist/cjs/gux-phone-input-beta.cjs.entry.js +1 -1
  73. package/dist/cjs/gux-popover-beta.cjs.entry.js +1 -1
  74. package/dist/cjs/gux-popover-list-beta.cjs.entry.js +1 -1
  75. package/dist/cjs/gux-popover-list.cjs.entry.js +1 -1
  76. package/dist/cjs/gux-radial-loading.cjs.entry.js +1 -1
  77. package/dist/cjs/gux-radial-progress.cjs.entry.js +1 -1
  78. package/dist/cjs/gux-rating.cjs.entry.js +1 -1
  79. package/dist/cjs/gux-rich-highlight-list-item.cjs.entry.js +1 -1
  80. package/dist/cjs/gux-rich-style-list-item_3.cjs.entry.js +1 -1
  81. package/dist/cjs/gux-rich-text-editor-action-link.cjs.entry.js +1 -1
  82. package/dist/cjs/gux-rich-text-editor-action-rich-style.cjs.entry.js +1 -1
  83. package/dist/cjs/gux-rich-text-editor-action-text-highlight.cjs.entry.js +1 -1
  84. package/dist/cjs/gux-rich-text-editor-action.cjs.entry.js +1 -1
  85. package/dist/cjs/gux-rich-text-editor-beta.cjs.entry.js +1 -1
  86. package/dist/cjs/gux-rich-text-editor-list.cjs.entry.js +1 -1
  87. package/dist/cjs/gux-screen-reader-beta.cjs.entry.js +1 -1
  88. package/dist/cjs/gux-segmented-control-beta.cjs.entry.js +1 -1
  89. package/dist/cjs/gux-selector-card-beta.cjs.entry.js +1 -1
  90. package/dist/cjs/gux-selector-cards-beta.cjs.entry.js +1 -1
  91. package/dist/cjs/gux-side-panel-beta.cjs.entry.js +1 -1
  92. package/dist/cjs/gux-side-panel-heading.cjs.entry.js +1 -1
  93. package/dist/cjs/gux-simple-toast-legacy.cjs.entry.js +1 -1
  94. package/dist/cjs/gux-skip-navigation-list.cjs.entry.js +1 -1
  95. package/dist/cjs/gux-sort-control.cjs.entry.js +1 -1
  96. package/dist/cjs/gux-switch-legacy.cjs.entry.js +1 -1
  97. package/dist/cjs/gux-table-toolbar-action.cjs.entry.js +1 -1
  98. package/dist/cjs/gux-table-toolbar-custom-action.cjs.entry.js +1 -1
  99. package/dist/cjs/gux-table-toolbar-menu-button.cjs.entry.js +1 -1
  100. package/dist/cjs/gux-table-toolbar.cjs.entry.js +1 -1
  101. package/dist/cjs/gux-table.cjs.entry.js +1 -1
  102. package/dist/cjs/gux-tabs-advanced.cjs.entry.js +1 -1
  103. package/dist/cjs/gux-tabs.cjs.entry.js +1 -1
  104. package/dist/cjs/gux-tag.cjs.entry.js +1 -1
  105. package/dist/cjs/gux-text-highlight.cjs.entry.js +1 -1
  106. package/dist/cjs/gux-time-beta.cjs.entry.js +1 -1
  107. package/dist/cjs/gux-time-picker.cjs.entry.js +3 -3
  108. package/dist/cjs/gux-time-zone-beta.cjs.entry.js +1 -1
  109. package/dist/cjs/gux-time-zone-picker-beta.cjs.entry.js +1 -1
  110. package/dist/cjs/gux-toast.cjs.entry.js +1 -1
  111. package/dist/cjs/gux-toggle.cjs.entry.js +1 -1
  112. package/dist/cjs/gux-tooltip-base-beta_2.cjs.entry.js +1 -1
  113. package/dist/cjs/gux-tooltip-pointer-beta.cjs.entry.js +1 -1
  114. package/dist/cjs/gux-tooltip_2.cjs.entry.js +1 -1
  115. package/dist/cjs/{usage-dcde91de.js → usage-e06b6a09.js} +1 -1
  116. package/dist/collection/components/stable/gux-time-picker/gux-time-picker.js +2 -2
  117. package/dist/esm/gux-accordion.entry.js +1 -1
  118. package/dist/esm/gux-action-button.entry.js +1 -1
  119. package/dist/esm/gux-action-toast-legacy.entry.js +1 -1
  120. package/dist/esm/gux-advanced-dropdown-legacy.entry.js +1 -1
  121. package/dist/esm/gux-announce-beta.entry.js +1 -1
  122. package/dist/esm/gux-avatar-beta.entry.js +1 -1
  123. package/dist/esm/gux-avatar-change-photo-beta.entry.js +1 -1
  124. package/dist/esm/gux-avatar-group-add-item-beta_3.entry.js +1 -1
  125. package/dist/esm/gux-avatar-group-beta.entry.js +1 -1
  126. package/dist/esm/gux-avatar-group-item-beta.entry.js +1 -1
  127. package/dist/esm/gux-badge.entry.js +1 -1
  128. package/dist/esm/gux-blank-state.entry.js +1 -1
  129. package/dist/esm/gux-breadcrumbs.entry.js +1 -1
  130. package/dist/esm/gux-button-multi.entry.js +1 -1
  131. package/dist/esm/gux-button-slot.entry.js +1 -1
  132. package/dist/esm/gux-button_2.entry.js +1 -1
  133. package/dist/esm/gux-calendar-beta.entry.js +1 -1
  134. package/dist/esm/gux-calendar.entry.js +1 -1
  135. package/dist/esm/gux-card.entry.js +1 -1
  136. package/dist/esm/gux-column-manager.entry.js +1 -1
  137. package/dist/esm/gux-content-search.entry.js +1 -1
  138. package/dist/esm/gux-context-menu.entry.js +1 -1
  139. package/dist/esm/gux-copy-to-clipboard.entry.js +1 -1
  140. package/dist/esm/gux-date-beta.entry.js +1 -1
  141. package/dist/esm/gux-date-time-beta.entry.js +1 -1
  142. package/dist/esm/gux-datepicker.entry.js +1 -1
  143. package/dist/esm/gux-day-beta.entry.js +1 -1
  144. package/dist/esm/gux-disclosure-button-legacy.entry.js +1 -1
  145. package/dist/esm/gux-dismiss-button.entry.js +1 -1
  146. package/dist/esm/gux-dropdown-multi.entry.js +1 -1
  147. package/dist/esm/gux-dropdown_3.entry.js +1 -1
  148. package/dist/esm/gux-file-list-item.entry.js +1 -1
  149. package/dist/esm/gux-flag-icon-beta.entry.js +1 -1
  150. package/dist/esm/gux-flyout-menu.entry.js +1 -1
  151. package/dist/esm/gux-form-field-checkbox-group-beta.entry.js +1 -1
  152. package/dist/esm/gux-form-field-checkbox.entry.js +1 -1
  153. package/dist/esm/gux-form-field-color.entry.js +1 -1
  154. package/dist/esm/gux-form-field-dropdown.entry.js +1 -1
  155. package/dist/esm/gux-form-field-file-beta.entry.js +1 -1
  156. package/dist/esm/gux-form-field-file.entry.js +1 -1
  157. package/dist/esm/gux-form-field-input-clear-button.entry.js +1 -1
  158. package/dist/esm/gux-form-field-label-indicator.entry.js +1 -1
  159. package/dist/esm/gux-form-field-number_2.entry.js +1 -1
  160. package/dist/esm/gux-form-field-phone.entry.js +1 -1
  161. package/dist/esm/gux-form-field-radio-group-beta.entry.js +1 -1
  162. package/dist/esm/gux-form-field-radio.entry.js +1 -1
  163. package/dist/esm/gux-form-field-range.entry.js +1 -1
  164. package/dist/esm/gux-form-field-search.entry.js +1 -1
  165. package/dist/esm/gux-form-field-select.entry.js +1 -1
  166. package/dist/esm/gux-form-field-text-like.entry.js +1 -1
  167. package/dist/esm/gux-form-field-textarea.entry.js +1 -1
  168. package/dist/esm/gux-form-field-time-picker.entry.js +1 -1
  169. package/dist/esm/gux-form-field-time-zone-picker.entry.js +1 -1
  170. package/dist/esm/gux-form-footer.entry.js +1 -1
  171. package/dist/esm/gux-icon-tooltip-beta.entry.js +1 -1
  172. package/dist/esm/gux-icon.entry.js +1 -1
  173. package/dist/esm/gux-inline-alert.entry.js +1 -1
  174. package/dist/esm/gux-label-info-beta.entry.js +1 -1
  175. package/dist/esm/gux-link-beta.entry.js +1 -1
  176. package/dist/esm/gux-list.entry.js +1 -1
  177. package/dist/esm/gux-listbox-multi.entry.js +1 -1
  178. package/dist/esm/gux-loading-message.entry.js +1 -1
  179. package/dist/esm/gux-modal-legacy.entry.js +1 -1
  180. package/dist/esm/gux-modal-side-panel-beta.entry.js +1 -1
  181. package/dist/esm/gux-modal.entry.js +1 -1
  182. package/dist/esm/gux-month-picker-beta.entry.js +1 -1
  183. package/dist/esm/gux-notification-toast-legacy.entry.js +1 -1
  184. package/dist/esm/gux-page-loading-spinner.entry.js +1 -1
  185. package/dist/esm/gux-pagination-cursor.entry.js +1 -1
  186. package/dist/esm/gux-pagination-legacy.entry.js +1 -1
  187. package/dist/esm/gux-pagination.entry.js +1 -1
  188. package/dist/esm/gux-phone-input-beta.entry.js +1 -1
  189. package/dist/esm/gux-popover-beta.entry.js +1 -1
  190. package/dist/esm/gux-popover-list-beta.entry.js +1 -1
  191. package/dist/esm/gux-popover-list.entry.js +1 -1
  192. package/dist/esm/gux-radial-loading.entry.js +1 -1
  193. package/dist/esm/gux-radial-progress.entry.js +1 -1
  194. package/dist/esm/gux-rating.entry.js +1 -1
  195. package/dist/esm/gux-rich-highlight-list-item.entry.js +1 -1
  196. package/dist/esm/gux-rich-style-list-item_3.entry.js +1 -1
  197. package/dist/esm/gux-rich-text-editor-action-link.entry.js +1 -1
  198. package/dist/esm/gux-rich-text-editor-action-rich-style.entry.js +1 -1
  199. package/dist/esm/gux-rich-text-editor-action-text-highlight.entry.js +1 -1
  200. package/dist/esm/gux-rich-text-editor-action.entry.js +1 -1
  201. package/dist/esm/gux-rich-text-editor-beta.entry.js +1 -1
  202. package/dist/esm/gux-rich-text-editor-list.entry.js +1 -1
  203. package/dist/esm/gux-screen-reader-beta.entry.js +1 -1
  204. package/dist/esm/gux-segmented-control-beta.entry.js +1 -1
  205. package/dist/esm/gux-selector-card-beta.entry.js +1 -1
  206. package/dist/esm/gux-selector-cards-beta.entry.js +1 -1
  207. package/dist/esm/gux-side-panel-beta.entry.js +1 -1
  208. package/dist/esm/gux-side-panel-heading.entry.js +1 -1
  209. package/dist/esm/gux-simple-toast-legacy.entry.js +1 -1
  210. package/dist/esm/gux-skip-navigation-list.entry.js +1 -1
  211. package/dist/esm/gux-sort-control.entry.js +1 -1
  212. package/dist/esm/gux-switch-legacy.entry.js +1 -1
  213. package/dist/esm/gux-table-toolbar-action.entry.js +1 -1
  214. package/dist/esm/gux-table-toolbar-custom-action.entry.js +1 -1
  215. package/dist/esm/gux-table-toolbar-menu-button.entry.js +1 -1
  216. package/dist/esm/gux-table-toolbar.entry.js +1 -1
  217. package/dist/esm/gux-table.entry.js +1 -1
  218. package/dist/esm/gux-tabs-advanced.entry.js +1 -1
  219. package/dist/esm/gux-tabs.entry.js +1 -1
  220. package/dist/esm/gux-tag.entry.js +1 -1
  221. package/dist/esm/gux-text-highlight.entry.js +1 -1
  222. package/dist/esm/gux-time-beta.entry.js +1 -1
  223. package/dist/esm/gux-time-picker.entry.js +3 -3
  224. package/dist/esm/gux-time-zone-beta.entry.js +1 -1
  225. package/dist/esm/gux-time-zone-picker-beta.entry.js +1 -1
  226. package/dist/esm/gux-toast.entry.js +1 -1
  227. package/dist/esm/gux-toggle.entry.js +1 -1
  228. package/dist/esm/gux-tooltip-base-beta_2.entry.js +1 -1
  229. package/dist/esm/gux-tooltip-pointer-beta.entry.js +1 -1
  230. package/dist/esm/gux-tooltip_2.entry.js +1 -1
  231. package/dist/esm/{usage-e4bc6464.js → usage-c3cd0c00.js} +1 -1
  232. package/dist/genesys-webcomponents/genesys-webcomponents.esm.js +1 -1
  233. package/dist/genesys-webcomponents/{p-1fd09b03.entry.js → p-00768df9.entry.js} +1 -1
  234. package/dist/genesys-webcomponents/{p-d6fd04fb.entry.js → p-03bbb10e.entry.js} +1 -1
  235. package/dist/genesys-webcomponents/{p-9a6e2561.entry.js → p-0420397a.entry.js} +1 -1
  236. package/dist/genesys-webcomponents/{p-6bc6cc5a.entry.js → p-05076617.entry.js} +1 -1
  237. package/dist/genesys-webcomponents/{p-2a7ecf49.entry.js → p-0656bfbe.entry.js} +1 -1
  238. package/dist/genesys-webcomponents/{p-d55b7705.entry.js → p-0858c5d5.entry.js} +1 -1
  239. package/dist/genesys-webcomponents/p-0b5bcd84.entry.js +1 -0
  240. package/dist/genesys-webcomponents/{p-b9e5e703.entry.js → p-0b823000.entry.js} +1 -1
  241. package/dist/genesys-webcomponents/{p-62228ac4.entry.js → p-0c9932d4.entry.js} +1 -1
  242. package/dist/genesys-webcomponents/{p-938a7954.entry.js → p-0f826c3e.entry.js} +1 -1
  243. package/dist/genesys-webcomponents/{p-aa5a0cb7.entry.js → p-111789c7.entry.js} +1 -1
  244. package/dist/genesys-webcomponents/p-133f8124.entry.js +1 -0
  245. package/dist/genesys-webcomponents/{p-a27f2f36.entry.js → p-16e9fcc3.entry.js} +1 -1
  246. package/dist/genesys-webcomponents/{p-5af06b54.entry.js → p-1ed9fa71.entry.js} +1 -1
  247. package/dist/genesys-webcomponents/{p-3620021e.entry.js → p-208a9f6b.entry.js} +1 -1
  248. package/dist/genesys-webcomponents/{p-562ddc5c.entry.js → p-2207554a.entry.js} +1 -1
  249. package/dist/genesys-webcomponents/{p-c4459167.entry.js → p-2a8044be.entry.js} +1 -1
  250. package/dist/genesys-webcomponents/{p-5483b2d0.entry.js → p-2b52643b.entry.js} +1 -1
  251. package/dist/genesys-webcomponents/{p-0a2067ad.entry.js → p-2cf2eef9.entry.js} +1 -1
  252. package/dist/genesys-webcomponents/{p-868a5a2b.entry.js → p-2df5689f.entry.js} +1 -1
  253. package/dist/genesys-webcomponents/{p-71354519.entry.js → p-2e85b7b3.entry.js} +1 -1
  254. package/dist/genesys-webcomponents/{p-0301591d.entry.js → p-2f8e672a.entry.js} +1 -1
  255. package/dist/genesys-webcomponents/p-309a3216.entry.js +1 -0
  256. package/dist/genesys-webcomponents/{p-609a3f29.entry.js → p-30eb0292.entry.js} +1 -1
  257. package/dist/genesys-webcomponents/{p-11cfb9c8.entry.js → p-32025f38.entry.js} +1 -1
  258. package/dist/genesys-webcomponents/{p-1a1dcbc6.entry.js → p-340e339e.entry.js} +1 -1
  259. package/dist/genesys-webcomponents/{p-f995bdbe.entry.js → p-348ec479.entry.js} +1 -1
  260. package/dist/genesys-webcomponents/{p-c914adfe.entry.js → p-38843c1e.entry.js} +1 -1
  261. package/dist/genesys-webcomponents/{p-b01fe4e1.entry.js → p-38f4de71.entry.js} +1 -1
  262. package/dist/genesys-webcomponents/{p-1276459f.entry.js → p-39e64d9a.entry.js} +1 -1
  263. package/dist/genesys-webcomponents/{p-e7b96bee.entry.js → p-3b3c40ad.entry.js} +1 -1
  264. package/dist/genesys-webcomponents/{p-23cfb3a9.entry.js → p-3be9abee.entry.js} +1 -1
  265. package/dist/genesys-webcomponents/{p-54c44077.entry.js → p-3eec985a.entry.js} +1 -1
  266. package/dist/genesys-webcomponents/{p-399a2cc8.entry.js → p-411bc309.entry.js} +1 -1
  267. package/dist/genesys-webcomponents/{p-03daa387.entry.js → p-4134fa64.entry.js} +1 -1
  268. package/dist/genesys-webcomponents/{p-7279f220.entry.js → p-43c731d0.entry.js} +1 -1
  269. package/dist/genesys-webcomponents/{p-1d5f3777.entry.js → p-4556d72f.entry.js} +1 -1
  270. package/dist/genesys-webcomponents/{p-0c02ddd7.entry.js → p-4604302c.entry.js} +1 -1
  271. package/dist/genesys-webcomponents/{p-76de5515.entry.js → p-4967539e.entry.js} +1 -1
  272. package/dist/genesys-webcomponents/{p-60c3c973.entry.js → p-4c09a53d.entry.js} +1 -1
  273. package/dist/genesys-webcomponents/{p-8b5a29ba.entry.js → p-4ed37e74.entry.js} +1 -1
  274. package/dist/genesys-webcomponents/{p-4fe4d48a.entry.js → p-504dab7e.entry.js} +1 -1
  275. package/dist/genesys-webcomponents/{p-11de8538.entry.js → p-52f86aa0.entry.js} +1 -1
  276. package/dist/genesys-webcomponents/{p-58a24997.entry.js → p-56a3bc97.entry.js} +1 -1
  277. package/dist/genesys-webcomponents/{p-aa8fd7a9.entry.js → p-56ac2b6f.entry.js} +1 -1
  278. package/dist/genesys-webcomponents/{p-71ad4177.entry.js → p-587a2bc4.entry.js} +1 -1
  279. package/dist/genesys-webcomponents/{p-866cb119.entry.js → p-5c305bcd.entry.js} +1 -1
  280. package/dist/genesys-webcomponents/{p-2b2c30db.entry.js → p-5cc173c2.entry.js} +1 -1
  281. package/dist/genesys-webcomponents/p-5e847656.entry.js +1 -0
  282. package/dist/genesys-webcomponents/{p-61fe00a2.entry.js → p-5f1bcf3b.entry.js} +1 -1
  283. package/dist/genesys-webcomponents/{p-8db05909.entry.js → p-607cbbc9.entry.js} +1 -1
  284. package/dist/genesys-webcomponents/{p-de54b4e8.entry.js → p-62e93449.entry.js} +1 -1
  285. package/dist/genesys-webcomponents/{p-17b63e83.entry.js → p-63bd2830.entry.js} +1 -1
  286. package/dist/genesys-webcomponents/{p-40f78520.entry.js → p-64da953f.entry.js} +1 -1
  287. package/dist/genesys-webcomponents/{p-36cf9b2b.entry.js → p-66f2cb44.entry.js} +1 -1
  288. package/dist/genesys-webcomponents/{p-18bad39a.entry.js → p-6cc12fae.entry.js} +1 -1
  289. package/dist/genesys-webcomponents/{p-30aa9110.entry.js → p-72d15c77.entry.js} +1 -1
  290. package/dist/genesys-webcomponents/{p-888f73a6.entry.js → p-735e957d.entry.js} +1 -1
  291. package/dist/genesys-webcomponents/{p-d601a7b8.js → p-74437e8f.js} +1 -1
  292. package/dist/genesys-webcomponents/{p-f29bb1fb.entry.js → p-746ca859.entry.js} +1 -1
  293. package/dist/genesys-webcomponents/{p-c86285f2.entry.js → p-79582a43.entry.js} +1 -1
  294. package/dist/genesys-webcomponents/{p-3d5c7b7d.entry.js → p-79855499.entry.js} +1 -1
  295. package/dist/genesys-webcomponents/{p-a2fd4ff1.entry.js → p-7cec65aa.entry.js} +1 -1
  296. package/dist/genesys-webcomponents/{p-26a0e7a3.entry.js → p-8233df36.entry.js} +1 -1
  297. package/dist/genesys-webcomponents/{p-b7bcfdf9.entry.js → p-83a152f7.entry.js} +1 -1
  298. package/dist/genesys-webcomponents/{p-10c3bcf2.entry.js → p-855e9ced.entry.js} +1 -1
  299. package/dist/genesys-webcomponents/{p-8354ab87.entry.js → p-8acb91aa.entry.js} +1 -1
  300. package/dist/genesys-webcomponents/{p-e35e0b74.entry.js → p-8af862d6.entry.js} +1 -1
  301. package/dist/genesys-webcomponents/{p-8dbb3ec5.entry.js → p-8b0fe0b6.entry.js} +1 -1
  302. package/dist/genesys-webcomponents/{p-4a0a58e9.entry.js → p-8c240ad2.entry.js} +1 -1
  303. package/dist/genesys-webcomponents/{p-caa75dcc.entry.js → p-8cef1d17.entry.js} +1 -1
  304. package/dist/genesys-webcomponents/{p-ffff3f5c.entry.js → p-8d7e07a4.entry.js} +1 -1
  305. package/dist/genesys-webcomponents/{p-77f429d7.entry.js → p-902659d1.entry.js} +1 -1
  306. package/dist/genesys-webcomponents/{p-edef4b57.entry.js → p-91928b63.entry.js} +1 -1
  307. package/dist/genesys-webcomponents/{p-164ab922.entry.js → p-933f3919.entry.js} +1 -1
  308. package/dist/genesys-webcomponents/{p-66d34d27.entry.js → p-949a75e6.entry.js} +1 -1
  309. package/dist/genesys-webcomponents/{p-22b68949.entry.js → p-95237bcb.entry.js} +1 -1
  310. package/dist/genesys-webcomponents/{p-a1837c07.entry.js → p-95d629d3.entry.js} +1 -1
  311. package/dist/genesys-webcomponents/{p-87c4dfb4.entry.js → p-987fbade.entry.js} +1 -1
  312. package/dist/genesys-webcomponents/{p-7fdf2212.entry.js → p-9d3d5116.entry.js} +1 -1
  313. package/dist/genesys-webcomponents/{p-66622421.entry.js → p-9e15fbab.entry.js} +1 -1
  314. package/dist/genesys-webcomponents/{p-8818d3c8.entry.js → p-9e3a26d4.entry.js} +1 -1
  315. package/dist/genesys-webcomponents/p-a2659047.entry.js +1 -0
  316. package/dist/genesys-webcomponents/{p-e719bc18.entry.js → p-a571a361.entry.js} +1 -1
  317. package/dist/genesys-webcomponents/{p-c4fa2c0b.entry.js → p-a57f2fa4.entry.js} +1 -1
  318. package/dist/genesys-webcomponents/{p-759d2331.entry.js → p-a73dccd8.entry.js} +1 -1
  319. package/dist/genesys-webcomponents/{p-7b0fb120.entry.js → p-aa9afbe6.entry.js} +1 -1
  320. package/dist/genesys-webcomponents/{p-8aff8a44.entry.js → p-aba21416.entry.js} +1 -1
  321. package/dist/genesys-webcomponents/{p-68f7e5f6.entry.js → p-acf1b535.entry.js} +1 -1
  322. package/dist/genesys-webcomponents/{p-2675e08f.entry.js → p-b593ba74.entry.js} +1 -1
  323. package/dist/genesys-webcomponents/{p-cc4bcfd1.entry.js → p-b64b966d.entry.js} +1 -1
  324. package/dist/genesys-webcomponents/{p-a5409a08.entry.js → p-b83601dd.entry.js} +1 -1
  325. package/dist/genesys-webcomponents/{p-1e9ab666.entry.js → p-bd947c75.entry.js} +1 -1
  326. package/dist/genesys-webcomponents/{p-4b2d9510.entry.js → p-c2645c4f.entry.js} +1 -1
  327. package/dist/genesys-webcomponents/{p-3856352a.entry.js → p-c3cfca83.entry.js} +1 -1
  328. package/dist/genesys-webcomponents/{p-84ec2356.entry.js → p-cffa4906.entry.js} +1 -1
  329. package/dist/genesys-webcomponents/{p-8988803f.entry.js → p-d0277a10.entry.js} +1 -1
  330. package/dist/genesys-webcomponents/{p-43ec9d07.entry.js → p-d2318610.entry.js} +1 -1
  331. package/dist/genesys-webcomponents/{p-c1f2a69f.entry.js → p-d308aed2.entry.js} +1 -1
  332. package/dist/genesys-webcomponents/p-d3b37155.entry.js +1 -0
  333. package/dist/genesys-webcomponents/{p-0ce40fb4.entry.js → p-d44d57f2.entry.js} +1 -1
  334. package/dist/genesys-webcomponents/{p-6a7f8cee.entry.js → p-d919fcd4.entry.js} +1 -1
  335. package/dist/genesys-webcomponents/{p-c242492b.entry.js → p-ddcb5255.entry.js} +1 -1
  336. package/dist/genesys-webcomponents/{p-ce7fb58b.entry.js → p-e1bbe19e.entry.js} +1 -1
  337. package/dist/genesys-webcomponents/{p-50fc1f1c.entry.js → p-e2e786d9.entry.js} +1 -1
  338. package/dist/genesys-webcomponents/{p-c7e1f2e8.entry.js → p-e8a6a1bc.entry.js} +1 -1
  339. package/dist/genesys-webcomponents/{p-0250f1d6.entry.js → p-ea2367f3.entry.js} +1 -1
  340. package/dist/genesys-webcomponents/{p-b1da5f61.entry.js → p-ec5b00d9.entry.js} +1 -1
  341. package/dist/genesys-webcomponents/{p-2fadabe7.entry.js → p-ec815012.entry.js} +1 -1
  342. package/dist/genesys-webcomponents/{p-140eb205.entry.js → p-eeeeff39.entry.js} +1 -1
  343. package/dist/genesys-webcomponents/{p-d036578d.entry.js → p-efddf800.entry.js} +1 -1
  344. package/dist/genesys-webcomponents/{p-3b49aafd.entry.js → p-f08fb315.entry.js} +1 -1
  345. package/dist/genesys-webcomponents/{p-37752eee.entry.js → p-fc3b9b4b.entry.js} +1 -1
  346. package/dist/genesys-webcomponents/{p-4fe93169.entry.js → p-fd0c88ae.entry.js} +1 -1
  347. package/dist/genesys-webcomponents/{p-2e6304b0.entry.js → p-fd7e528c.entry.js} +1 -1
  348. package/dist/stencil-wrapper.js +1 -1
  349. package/dist/types/stencil-wrapper.d.ts +1 -1
  350. package/package.json +1 -1
  351. package/dist/genesys-webcomponents/p-1690c1ea.entry.js +0 -1
  352. package/dist/genesys-webcomponents/p-4b903949.entry.js +0 -1
  353. package/dist/genesys-webcomponents/p-9236792a.entry.js +0 -1
  354. package/dist/genesys-webcomponents/p-a5103447.entry.js +0 -1
  355. package/dist/genesys-webcomponents/p-d0bc4731.entry.js +0 -1
  356. package/dist/genesys-webcomponents/p-efa47b3c.entry.js +0 -1
  357. /package/dist/cjs/{index.umd-cb411085.js → index.umd-bb1164bf.js} +0 -0
  358. /package/dist/esm/{index.umd-354e52e4.js → index.umd-8788765f.js} +0 -0
  359. /package/dist/genesys-webcomponents/{p-2e304b06.js → p-3958682f.js} +0 -0
@@ -1 +1 @@
1
- import{r as o,c as a,h as t,g as e}from"./p-cf74fd3d.js";import{b as g}from"./p-e5e644b3.js";import{t as r}from"./p-d601a7b8.js";import"./p-4202e9f2.js";const u={tag:"tag with label: {label}","tag-disabled":"disabled tag with label: {label}","remove-tag":"Remove tag with label: {label}"},c=class{constructor(t){o(this,t),this.guxdelete=a(this,"guxdelete",7),this.accent="default",this.disabled=!1,this.removable=!1,this.size="small",this.emphasis="bold"}onKeyDown(o){switch(o.key){case"Backspace":case"Delete":this.removeTag()}}removeTag(){!this.disabled&&this.removable&&this.guxdelete.emit()}onSlotChange(o){const a=o.composedPath()[0].assignedNodes();this.label=a.map((o=>o.textContent.trim())).join("")}renderTagTitle(){return t("gux-tooltip-title",null,t("span",null,t("slot",{"aria-hidden":"true",onSlotchange:this.onSlotChange.bind(this)})))}renderSrText(){return t("div",{class:"gux-sr-only"},this.i18n(this.disabled?"tag-disabled":"tag",{label:this.label}))}renderRemoveButton(){if(this.removable)return t("button",{class:"gux-tag-remove-button",onClick:this.removeTag.bind(this),type:"button",disabled:this.disabled},t("gux-icon",{class:"gux-tag-remove-icon","icon-name":"fa/xmark-large-regular","screenreader-text":this.i18n("remove-tag",{label:this.label})}))}componentWillLoad(){r(this.root,{variant:this.removable?"removable":"permenant"})}async componentWillRender(){this.i18n=await g(this.root,u)}render(){return t("div",{key:"ba6317addb48b6d4317df3ed659ce28574cd6d22",class:{"gux-tag":!0,[`gux-accent-${this.accent}`]:!0,"gux-disabled":this.disabled,[`gux-size-${this.size}`]:!0,[`gux-emphasis-${this.emphasis}`]:!0},"aria-disabled":this.disabled.toString()},this.renderTagTitle(),this.renderSrText(),this.renderRemoveButton())}get root(){return e(this)}};c.style=":host{display:inline-block;border-radius:var(--gse-ui-tag-borderRadius)}.gux-tag{display:flex;flex-direction:row;flex-wrap:nowrap;gap:var(--gse-ui-tag-removable-gap);place-content:stretch flex-start;align-items:center;block-size:var(--gse-ui-tag-small-height);padding:var(--gse-ui-tag-padding);font-family:var(--gse-ui-tag-textSmall-fontFamily);font-size:var(--gse-ui-tag-textSmall-fontSize);font-weight:var(--gse-ui-tag-textSmall-fontWeight);line-height:var(--gse-ui-tag-textSmall-lineHeight);color:var(--gse-ui-tag-default-bold-foregroundColor);background-color:var(--gse-ui-tag-default-bold-backgroundColor);border-radius:var(--gse-ui-tag-borderRadius)}.gux-tag.gux-size-large{block-size:var(--gse-ui-tag-large-height);font-family:var(--gse-ui-tag-textLarge-fontFamily);font-size:var(--gse-ui-tag-textLarge-fontSize);font-weight:var(--gse-ui-tag-textLarge-fontWeight);line-height:var(--gse-ui-tag-textLarge-lineHeight)}.gux-tag.gux-size-large .gux-tag-remove-button:focus-within .gux-tag-remove-icon{outline-offset:10px}.gux-tag.gux-disabled{position:relative;user-select:none;opacity:var(--gse-ui-tag-disabled-opacity)}.gux-tag gux-tooltip-title{white-space:nowrap;cursor:default}.gux-tag gux-tooltip-title ::slotted(gux-icon){font-size:var(--gse-ui-tag-button-size)}.gux-tag .gux-sr-only:not(:focus):not(:active){position:absolute;width:1px;height:1px;overflow:hidden;white-space:nowrap;clip:rect(0 0 0 0);clip-path:inset(50%)}.gux-tag .gux-tag-remove-button{all:unset;display:flex;place-content:center center;align-items:center}.gux-tag .gux-tag-remove-button:not(:disabled):hover{cursor:pointer}.gux-tag .gux-tag-remove-button .gux-tag-remove-icon{inline-size:var(--gse-ui-tag-button-size);block-size:var(--gse-ui-tag-button-size);margin-inline-end:-4px}.gux-tag .gux-tag-remove-button:focus-within .gux-tag-remove-icon{outline:var(--gse-semantic-focusOutline-md-borderWidth) solid var(--gse-ui-color-focus);outline-offset:5px;border-radius:var(--gse-semantic-focusOutline-sm-borderRadius)}.gux-tag.gux-accent-default{color:var(--gse-ui-tag-default-bold-foregroundColor);background-color:var(--gse-ui-tag-default-bold-backgroundColor)}.gux-tag.gux-accent-default.gux-emphasis-subtle{color:var(--gse-ui-tag-default-subtle-foregroundColor);background-color:var(--gse-ui-tag-default-subtle-backgroundColor)}.gux-tag.gux-accent-1{color:var(--gse-ui-tag-accent1-bold-foregroundColor);background-color:var(--gse-ui-tag-accent1-bold-backgroundColor)}.gux-tag.gux-accent-1.gux-emphasis-subtle{color:var(--gse-ui-tag-accent1-subtle-foregroundColor);background-color:var(--gse-ui-tag-accent1-subtle-backgroundColor)}.gux-tag.gux-accent-2{color:var(--gse-ui-tag-accent2-bold-foregroundColor);background-color:var(--gse-ui-tag-accent2-bold-backgroundColor)}.gux-tag.gux-accent-2.gux-emphasis-subtle{color:var(--gse-ui-tag-accent2-subtle-foregroundColor);background-color:var(--gse-ui-tag-accent2-subtle-backgroundColor)}.gux-tag.gux-accent-3{color:var(--gse-ui-tag-accent3-bold-foregroundColor);background-color:var(--gse-ui-tag-accent3-bold-backgroundColor)}.gux-tag.gux-accent-3.gux-emphasis-subtle{color:var(--gse-ui-tag-accent3-subtle-foregroundColor);background-color:var(--gse-ui-tag-accent3-subtle-backgroundColor)}.gux-tag.gux-accent-4{color:var(--gse-ui-tag-accent4-bold-foregroundColor);background-color:var(--gse-ui-tag-accent4-bold-backgroundColor)}.gux-tag.gux-accent-4.gux-emphasis-subtle{color:var(--gse-ui-tag-accent4-subtle-foregroundColor);background-color:var(--gse-ui-tag-accent4-subtle-backgroundColor)}.gux-tag.gux-accent-5{color:var(--gse-ui-tag-accent5-bold-foregroundColor);background-color:var(--gse-ui-tag-accent5-bold-backgroundColor)}.gux-tag.gux-accent-5.gux-emphasis-subtle{color:var(--gse-ui-tag-accent5-subtle-foregroundColor);background-color:var(--gse-ui-tag-accent5-subtle-backgroundColor)}.gux-tag.gux-accent-6{color:var(--gse-ui-tag-accent6-bold-foregroundColor);background-color:var(--gse-ui-tag-accent6-bold-backgroundColor)}.gux-tag.gux-accent-6.gux-emphasis-subtle{color:var(--gse-ui-tag-accent6-subtle-foregroundColor);background-color:var(--gse-ui-tag-accent6-subtle-backgroundColor)}.gux-tag.gux-accent-7{color:var(--gse-ui-tag-accent7-bold-foregroundColor);background-color:var(--gse-ui-tag-accent7-bold-backgroundColor)}.gux-tag.gux-accent-7.gux-emphasis-subtle{color:var(--gse-ui-tag-accent7-subtle-foregroundColor);background-color:var(--gse-ui-tag-accent7-subtle-backgroundColor)}.gux-tag.gux-accent-8{color:var(--gse-ui-tag-accent8-bold-foregroundColor);background-color:var(--gse-ui-tag-accent8-bold-backgroundColor)}.gux-tag.gux-accent-8.gux-emphasis-subtle{color:var(--gse-ui-tag-accent8-subtle-foregroundColor);background-color:var(--gse-ui-tag-accent8-subtle-backgroundColor)}.gux-tag.gux-accent-9{color:var(--gse-ui-tag-accent9-bold-foregroundColor);background-color:var(--gse-ui-tag-accent9-bold-backgroundColor)}.gux-tag.gux-accent-9.gux-emphasis-subtle{color:var(--gse-ui-tag-accent9-subtle-foregroundColor);background-color:var(--gse-ui-tag-accent9-subtle-backgroundColor)}.gux-tag.gux-accent-10{color:var(--gse-ui-tag-accent10-bold-foregroundColor);background-color:var(--gse-ui-tag-accent10-bold-backgroundColor)}.gux-tag.gux-accent-10.gux-emphasis-subtle{color:var(--gse-ui-tag-accent10-subtle-foregroundColor);background-color:var(--gse-ui-tag-accent10-subtle-backgroundColor)}.gux-tag.gux-accent-inherit{color:inherit;background-color:inherit}";export{c as gux_tag}
1
+ import{r as o,c as a,h as t,g as e}from"./p-cf74fd3d.js";import{b as g}from"./p-e5e644b3.js";import{t as r}from"./p-74437e8f.js";import"./p-4202e9f2.js";const u={tag:"tag with label: {label}","tag-disabled":"disabled tag with label: {label}","remove-tag":"Remove tag with label: {label}"},c=class{constructor(t){o(this,t),this.guxdelete=a(this,"guxdelete",7),this.accent="default",this.disabled=!1,this.removable=!1,this.size="small",this.emphasis="bold"}onKeyDown(o){switch(o.key){case"Backspace":case"Delete":this.removeTag()}}removeTag(){!this.disabled&&this.removable&&this.guxdelete.emit()}onSlotChange(o){const a=o.composedPath()[0].assignedNodes();this.label=a.map((o=>o.textContent.trim())).join("")}renderTagTitle(){return t("gux-tooltip-title",null,t("span",null,t("slot",{"aria-hidden":"true",onSlotchange:this.onSlotChange.bind(this)})))}renderSrText(){return t("div",{class:"gux-sr-only"},this.i18n(this.disabled?"tag-disabled":"tag",{label:this.label}))}renderRemoveButton(){if(this.removable)return t("button",{class:"gux-tag-remove-button",onClick:this.removeTag.bind(this),type:"button",disabled:this.disabled},t("gux-icon",{class:"gux-tag-remove-icon","icon-name":"fa/xmark-large-regular","screenreader-text":this.i18n("remove-tag",{label:this.label})}))}componentWillLoad(){r(this.root,{variant:this.removable?"removable":"permenant"})}async componentWillRender(){this.i18n=await g(this.root,u)}render(){return t("div",{key:"ba6317addb48b6d4317df3ed659ce28574cd6d22",class:{"gux-tag":!0,[`gux-accent-${this.accent}`]:!0,"gux-disabled":this.disabled,[`gux-size-${this.size}`]:!0,[`gux-emphasis-${this.emphasis}`]:!0},"aria-disabled":this.disabled.toString()},this.renderTagTitle(),this.renderSrText(),this.renderRemoveButton())}get root(){return e(this)}};c.style=":host{display:inline-block;border-radius:var(--gse-ui-tag-borderRadius)}.gux-tag{display:flex;flex-direction:row;flex-wrap:nowrap;gap:var(--gse-ui-tag-removable-gap);place-content:stretch flex-start;align-items:center;block-size:var(--gse-ui-tag-small-height);padding:var(--gse-ui-tag-padding);font-family:var(--gse-ui-tag-textSmall-fontFamily);font-size:var(--gse-ui-tag-textSmall-fontSize);font-weight:var(--gse-ui-tag-textSmall-fontWeight);line-height:var(--gse-ui-tag-textSmall-lineHeight);color:var(--gse-ui-tag-default-bold-foregroundColor);background-color:var(--gse-ui-tag-default-bold-backgroundColor);border-radius:var(--gse-ui-tag-borderRadius)}.gux-tag.gux-size-large{block-size:var(--gse-ui-tag-large-height);font-family:var(--gse-ui-tag-textLarge-fontFamily);font-size:var(--gse-ui-tag-textLarge-fontSize);font-weight:var(--gse-ui-tag-textLarge-fontWeight);line-height:var(--gse-ui-tag-textLarge-lineHeight)}.gux-tag.gux-size-large .gux-tag-remove-button:focus-within .gux-tag-remove-icon{outline-offset:10px}.gux-tag.gux-disabled{position:relative;user-select:none;opacity:var(--gse-ui-tag-disabled-opacity)}.gux-tag gux-tooltip-title{white-space:nowrap;cursor:default}.gux-tag gux-tooltip-title ::slotted(gux-icon){font-size:var(--gse-ui-tag-button-size)}.gux-tag .gux-sr-only:not(:focus):not(:active){position:absolute;width:1px;height:1px;overflow:hidden;white-space:nowrap;clip:rect(0 0 0 0);clip-path:inset(50%)}.gux-tag .gux-tag-remove-button{all:unset;display:flex;place-content:center center;align-items:center}.gux-tag .gux-tag-remove-button:not(:disabled):hover{cursor:pointer}.gux-tag .gux-tag-remove-button .gux-tag-remove-icon{inline-size:var(--gse-ui-tag-button-size);block-size:var(--gse-ui-tag-button-size);margin-inline-end:-4px}.gux-tag .gux-tag-remove-button:focus-within .gux-tag-remove-icon{outline:var(--gse-semantic-focusOutline-md-borderWidth) solid var(--gse-ui-color-focus);outline-offset:5px;border-radius:var(--gse-semantic-focusOutline-sm-borderRadius)}.gux-tag.gux-accent-default{color:var(--gse-ui-tag-default-bold-foregroundColor);background-color:var(--gse-ui-tag-default-bold-backgroundColor)}.gux-tag.gux-accent-default.gux-emphasis-subtle{color:var(--gse-ui-tag-default-subtle-foregroundColor);background-color:var(--gse-ui-tag-default-subtle-backgroundColor)}.gux-tag.gux-accent-1{color:var(--gse-ui-tag-accent1-bold-foregroundColor);background-color:var(--gse-ui-tag-accent1-bold-backgroundColor)}.gux-tag.gux-accent-1.gux-emphasis-subtle{color:var(--gse-ui-tag-accent1-subtle-foregroundColor);background-color:var(--gse-ui-tag-accent1-subtle-backgroundColor)}.gux-tag.gux-accent-2{color:var(--gse-ui-tag-accent2-bold-foregroundColor);background-color:var(--gse-ui-tag-accent2-bold-backgroundColor)}.gux-tag.gux-accent-2.gux-emphasis-subtle{color:var(--gse-ui-tag-accent2-subtle-foregroundColor);background-color:var(--gse-ui-tag-accent2-subtle-backgroundColor)}.gux-tag.gux-accent-3{color:var(--gse-ui-tag-accent3-bold-foregroundColor);background-color:var(--gse-ui-tag-accent3-bold-backgroundColor)}.gux-tag.gux-accent-3.gux-emphasis-subtle{color:var(--gse-ui-tag-accent3-subtle-foregroundColor);background-color:var(--gse-ui-tag-accent3-subtle-backgroundColor)}.gux-tag.gux-accent-4{color:var(--gse-ui-tag-accent4-bold-foregroundColor);background-color:var(--gse-ui-tag-accent4-bold-backgroundColor)}.gux-tag.gux-accent-4.gux-emphasis-subtle{color:var(--gse-ui-tag-accent4-subtle-foregroundColor);background-color:var(--gse-ui-tag-accent4-subtle-backgroundColor)}.gux-tag.gux-accent-5{color:var(--gse-ui-tag-accent5-bold-foregroundColor);background-color:var(--gse-ui-tag-accent5-bold-backgroundColor)}.gux-tag.gux-accent-5.gux-emphasis-subtle{color:var(--gse-ui-tag-accent5-subtle-foregroundColor);background-color:var(--gse-ui-tag-accent5-subtle-backgroundColor)}.gux-tag.gux-accent-6{color:var(--gse-ui-tag-accent6-bold-foregroundColor);background-color:var(--gse-ui-tag-accent6-bold-backgroundColor)}.gux-tag.gux-accent-6.gux-emphasis-subtle{color:var(--gse-ui-tag-accent6-subtle-foregroundColor);background-color:var(--gse-ui-tag-accent6-subtle-backgroundColor)}.gux-tag.gux-accent-7{color:var(--gse-ui-tag-accent7-bold-foregroundColor);background-color:var(--gse-ui-tag-accent7-bold-backgroundColor)}.gux-tag.gux-accent-7.gux-emphasis-subtle{color:var(--gse-ui-tag-accent7-subtle-foregroundColor);background-color:var(--gse-ui-tag-accent7-subtle-backgroundColor)}.gux-tag.gux-accent-8{color:var(--gse-ui-tag-accent8-bold-foregroundColor);background-color:var(--gse-ui-tag-accent8-bold-backgroundColor)}.gux-tag.gux-accent-8.gux-emphasis-subtle{color:var(--gse-ui-tag-accent8-subtle-foregroundColor);background-color:var(--gse-ui-tag-accent8-subtle-backgroundColor)}.gux-tag.gux-accent-9{color:var(--gse-ui-tag-accent9-bold-foregroundColor);background-color:var(--gse-ui-tag-accent9-bold-backgroundColor)}.gux-tag.gux-accent-9.gux-emphasis-subtle{color:var(--gse-ui-tag-accent9-subtle-foregroundColor);background-color:var(--gse-ui-tag-accent9-subtle-backgroundColor)}.gux-tag.gux-accent-10{color:var(--gse-ui-tag-accent10-bold-foregroundColor);background-color:var(--gse-ui-tag-accent10-bold-backgroundColor)}.gux-tag.gux-accent-10.gux-emphasis-subtle{color:var(--gse-ui-tag-accent10-subtle-foregroundColor);background-color:var(--gse-ui-tag-accent10-subtle-backgroundColor)}.gux-tag.gux-accent-inherit{color:inherit;background-color:inherit}";export{c as gux_tag}
@@ -0,0 +1 @@
1
+ import{h as e,r,g as s}from"./p-cf74fd3d.js";import{t as i}from"./p-74437e8f.js";import{a as n}from"./p-8eaf8caf.js";const a=2*Math.PI*22;function t(e,r){return!(isNaN(e)||isNaN(r)||e>r||e<0||0===r)}const o=({value:r,max:s,screenreaderText:i})=>e("div",{role:"progressbar","aria-valuenow":r,"aria-valuemin":"0","aria-valuemax":s,"aria-label":i},e("svg",{class:"gux-svg-container",viewBox:"0 0 48 48",role:"presentation"},e("circle",{cx:"50%",cy:"50%",r:22,class:"gux-static-circle"}),e("circle",{cx:"50%",cy:"50%",r:22,class:"gux-dynamic-circle","stroke-dashoffset":a*(1-r/s),"stroke-dasharray":a,"stroke-linecap":"round"}),e("text",{x:"50%",y:"50%","dominant-baseline":"central",class:"gux-percentage"},function(e,r){return`${Math.round((e+Number.EPSILON)/r*100)}%`}(r,s)))),g=({screenreaderText:r})=>e("gux-radial-loading",{"screenreader-text":r,context:"modal"}),c=class{constructor(e){r(this,e),this.max=100,this.screenreaderText=""}componentWillLoad(){i(this.root)}componentDidLoad(){!this.screenreaderText&&t(this.value,this.max)&&n(this.root,"No screenreader-text provided. Provide a localized screenreader-text property for the component.")}render(){return t(this.value,this.max)?e(o,{value:this.value,max:this.max,screenreaderText:this.screenreaderText}):e(g,{screenreaderText:this.screenreaderText})}get root(){return s(this)}};c.style=":host{display:inline-block}div[role=progressbar] .gux-svg-container{display:block;inline-size:var(--gse-ui-progressAndLoading-spinner-large);block-size:var(--gse-ui-progressAndLoading-spinner-large)}div[role=progressbar] .gux-svg-container .gux-dynamic-circle{fill:none;stroke:var(--gse-ui-progressAndLoading-spinner-foreground);stroke-width:4;transform:rotate(-90deg);transform-origin:50% 50%}div[role=progressbar] .gux-svg-container .gux-static-circle{fill:none;stroke:var(--gse-ui-progressAndLoading-spinner-base);stroke-width:4}div[role=progressbar] .gux-svg-container .gux-percentage{font-family:var(--gse-ui-progressAndLoading-spinner-text-fontFamily);font-size:var(--gse-ui-progressAndLoading-spinner-text-fontSize);font-weight:var(--gse-ui-progressAndLoading-spinner-text-fontWeight);line-height:var(--gse-ui-progressAndLoading-spinner-text-lineHeight);text-anchor:middle;fill:var(--gse-ui-progressAndLoading-textColor)}";export{c as gux_radial_progress}
@@ -1 +1 @@
1
- import{r as t,c as i,d as e,h as r,g as o}from"./p-cf74fd3d.js";import{O as n}from"./p-832c080d.js";import{h as s}from"./p-6d8b4027.js";import{t as a}from"./p-d601a7b8.js";import{g as d}from"./p-b2e29026.js";import{b as c}from"./p-e5e644b3.js";import{t as h}from"./p-f01d2320.js";import"./p-43af726d.js";import"./p-4202e9f2.js";const l=class{constructor(e){t(this,e),this.guxToggleAction=i(this,"guxToggleAction",7),this.disabled=!1,this.typographicalEmphasisActions=[],this.textStylingActions=[],this.listsAndIndentationActions=[],this.insertingActions=[]}checkResponsiveLayout(){e((()=>{this.handleOverflow(),this.getHiddenActions()}))}async componentWillLoad(){a(this.root),this.i18n=await c(this.root,h)}componentDidLoad(){this.checkResponsiveLayout()}componentDidUpdate(){this.handleOverflow()}isOverFlowing(){var t;const i=null===(t=this.root)||void 0===t?void 0:t.shadowRoot.querySelector(".gux-rich-text-editor-toolbar-container");return Array.from(i.children).filter((t=>!t.classList.contains("gux-hidden"))).reduce(((t,i)=>t+i.clientWidth),0)>i.clientWidth}handleOverflow(){const t=Array.from(this.root.querySelectorAll("gux-rich-text-editor-action-group"));for(;this.isOverFlowing();){let i=!1;for(let e=t.length-1;e>=0;e--)if(!t[e].classList.contains("gux-hidden")){t[e].classList.add("gux-hidden"),i=!0;break}if(!i)break}for(const i of t)if(i.classList.contains("gux-hidden")&&(i.classList.remove("gux-hidden"),this.isOverFlowing())){i.classList.add("gux-hidden");break}}getHiddenActions(){this.typographicalEmphasisActions=d(this.root,'gux-rich-text-editor-action-group[slot="typographical-emphasis"]',"gux-hidden"),this.listsAndIndentationActions=d(this.root,'gux-rich-text-editor-action-group[slot="lists-indentation"]',"gux-hidden"),this.textStylingActions=d(this.root,'gux-rich-text-editor-action-group[slot="text-styling"]',"gux-hidden"),this.insertingActions=d(this.root,'gux-rich-text-editor-action-group[slot="inserting"]',"gux-hidden")}getAllActions(){return[...this.textStylingActions,...this.typographicalEmphasisActions,...this.listsAndIndentationActions,...this.insertingActions]}categorizeActions(t){const i=[],e=[],r=[];return t.forEach((t=>{t.startsWith("rich-style-")?i.push(t.slice(11)):t.startsWith("highlight-")?e.push(t.slice(10)):r.push(t)})),{richStyleActions:i,highlightActions:e,filteredActions:r}}renderListItems(t,i=!1){return t.map(((t,e)=>{const o=t.replace(/<\/?[^>]+(>|$)/g,"");return r("gux-rich-style-list-item",Object.assign({onClick:()=>this.guxToggleAction.emit(o),key:e,value:o},i?{innerHTML:t}:{}),!i&&(this.i18n(o)||o))}))}renderSubList(t,i,e=!1){if(i.length>0)return r("gux-rich-text-editor-sub-list",{label:this.i18n(t)},this.renderListItems(i,e))}renderHighlightSubList(t){if(t.length>0)return r("gux-rich-text-editor-sub-list",{label:this.i18n("textHighlight")},this.renderListItems(t),r("gux-rich-style-list-item",{onClick:()=>this.guxToggleAction.emit("noHighlightAction"),value:"noHighlight"},r("gux-truncate",{"max-lines":1},this.i18n("noHighlight"))))}renderTextEditorMenu(){const t=this.getAllActions();if(t.length>0){const{richStyleActions:i,highlightActions:e,filteredActions:o}=this.categorizeActions(t);return r("gux-rich-text-editor-menu",null,this.renderListItems(o),this.renderSubList("richStyle",i,!0),this.renderHighlightSubList(e))}}renderSlot(t,i){return s(this.root,t)?r("div",{class:i},r("slot",{name:t})):null}renderTypographicalEmphasis(){return this.renderSlot("typographical-emphasis","gux-typographical-emphasis-container")}renderTextStyling(){return this.renderSlot("text-styling","gux-text-styling-container")}renderListsIndentation(){return this.renderSlot("lists-indentation","gux-lists-indentation-container")}renderInserting(){return this.renderSlot("inserting","gux-inserting-container")}renderGlobalAction(){return this.renderSlot("global-action","gux-global-action-container")}render(){return r("div",{key:"f54945da1c00ab87201827e01db7917e2bba6263",class:{"gux-rich-text-editor-container":!0,"gux-disabled":this.disabled}},r("div",{key:"827d6b034885915564a6d63cfed6a0c28dd4a3cb",class:"gux-rich-text-editor-toolbar-container"},this.renderTypographicalEmphasis(),this.renderTextStyling(),this.renderListsIndentation(),this.renderInserting(),this.renderTextEditorMenu(),this.renderGlobalAction()),r("slot",{key:"ccad9feba4847a9810a31dc8bbfc8456316b580d",name:"editor"}))}get root(){return o(this)}};(function(t,i,e,r){var o,n=arguments.length,s=n<3?i:null===r?r=Object.getOwnPropertyDescriptor(i,e):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(t,i,e,r);else for(var a=t.length-1;a>=0;a--)(o=t[a])&&(s=(n<3?o(s):n>3?o(i,e,s):o(i,e))||s);n>3&&s&&Object.defineProperty(i,e,s)})([n()],l.prototype,"checkResponsiveLayout",null),l.style=":host{display:block}.gux-rich-text-editor-container{box-sizing:border-box;display:flex;flex-direction:column;gap:var(--gse-ui-rte-innerContainer-gap);inline-size:100%;max-inline-size:100%;padding:var(--gse-ui-rte-padding);overflow:auto;background-color:var(--gse-ui-formControl-input-backgroundColor);border:var(--gse-ui-rte-mainContainer-default-border-width) var(--gse-ui-rte-mainContainer-default-border-color) var(--gse-ui-rte-mainContainer-default-border-style);border-radius:var(--gse-ui-rte-container-borderRadius)}.gux-rich-text-editor-container .gux-rich-text-editor-toolbar-container{display:flex;flex-direction:row;justify-content:flex-start}.gux-rich-text-editor-container .gux-rich-text-editor-toolbar-container .gux-global-action-container{margin-inline-start:auto}.gux-rich-text-editor-container.gux-disabled{pointer-events:none;cursor:default;user-select:none;border:var(--gse-ui-rte-mainContainer-disabled-border-width) var(--gse-ui-rte-mainContainer-disabled-border-color) var(--gse-ui-rte-mainContainer-disabled-border-style);opacity:0.5}.gux-rich-text-editor-container:active:enabled{border:var(--gse-ui-rte-mainContainer-active-border-width) var(--gse-ui-rte-mainContainer-active-border-color) var(--gse-ui-rte-mainContainer-active-border-style)}.gux-rich-text-editor-container:focus-within:not(.gux-disabled),.gux-rich-text-editor-container:hover:not(.gux-disabled){border:var(--gse-ui-rte-mainContainer-hover-border-width) var(--gse-ui-rte-mainContainer-hover-border-color) var(--gse-ui-rte-mainContainer-hover-border-style)}.gux-rich-text-editor-container:focus-within:not(.gux-disabled){outline:var(--gse-ui-rte-mainContainer-focus-border-width) var(--gse-ui-rte-mainContainer-focus-border-color) var(--gse-ui-rte-mainContainer-focus-border-style)}";export{l as gux_rich_text_editor_beta}
1
+ import{r as t,c as i,d as e,h as r,g as o}from"./p-cf74fd3d.js";import{O as n}from"./p-832c080d.js";import{h as s}from"./p-6d8b4027.js";import{t as a}from"./p-74437e8f.js";import{g as d}from"./p-b2e29026.js";import{b as c}from"./p-e5e644b3.js";import{t as h}from"./p-f01d2320.js";import"./p-43af726d.js";import"./p-4202e9f2.js";const l=class{constructor(e){t(this,e),this.guxToggleAction=i(this,"guxToggleAction",7),this.disabled=!1,this.typographicalEmphasisActions=[],this.textStylingActions=[],this.listsAndIndentationActions=[],this.insertingActions=[]}checkResponsiveLayout(){e((()=>{this.handleOverflow(),this.getHiddenActions()}))}async componentWillLoad(){a(this.root),this.i18n=await c(this.root,h)}componentDidLoad(){this.checkResponsiveLayout()}componentDidUpdate(){this.handleOverflow()}isOverFlowing(){var t;const i=null===(t=this.root)||void 0===t?void 0:t.shadowRoot.querySelector(".gux-rich-text-editor-toolbar-container");return Array.from(i.children).filter((t=>!t.classList.contains("gux-hidden"))).reduce(((t,i)=>t+i.clientWidth),0)>i.clientWidth}handleOverflow(){const t=Array.from(this.root.querySelectorAll("gux-rich-text-editor-action-group"));for(;this.isOverFlowing();){let i=!1;for(let e=t.length-1;e>=0;e--)if(!t[e].classList.contains("gux-hidden")){t[e].classList.add("gux-hidden"),i=!0;break}if(!i)break}for(const i of t)if(i.classList.contains("gux-hidden")&&(i.classList.remove("gux-hidden"),this.isOverFlowing())){i.classList.add("gux-hidden");break}}getHiddenActions(){this.typographicalEmphasisActions=d(this.root,'gux-rich-text-editor-action-group[slot="typographical-emphasis"]',"gux-hidden"),this.listsAndIndentationActions=d(this.root,'gux-rich-text-editor-action-group[slot="lists-indentation"]',"gux-hidden"),this.textStylingActions=d(this.root,'gux-rich-text-editor-action-group[slot="text-styling"]',"gux-hidden"),this.insertingActions=d(this.root,'gux-rich-text-editor-action-group[slot="inserting"]',"gux-hidden")}getAllActions(){return[...this.textStylingActions,...this.typographicalEmphasisActions,...this.listsAndIndentationActions,...this.insertingActions]}categorizeActions(t){const i=[],e=[],r=[];return t.forEach((t=>{t.startsWith("rich-style-")?i.push(t.slice(11)):t.startsWith("highlight-")?e.push(t.slice(10)):r.push(t)})),{richStyleActions:i,highlightActions:e,filteredActions:r}}renderListItems(t,i=!1){return t.map(((t,e)=>{const o=t.replace(/<\/?[^>]+(>|$)/g,"");return r("gux-rich-style-list-item",Object.assign({onClick:()=>this.guxToggleAction.emit(o),key:e,value:o},i?{innerHTML:t}:{}),!i&&(this.i18n(o)||o))}))}renderSubList(t,i,e=!1){if(i.length>0)return r("gux-rich-text-editor-sub-list",{label:this.i18n(t)},this.renderListItems(i,e))}renderHighlightSubList(t){if(t.length>0)return r("gux-rich-text-editor-sub-list",{label:this.i18n("textHighlight")},this.renderListItems(t),r("gux-rich-style-list-item",{onClick:()=>this.guxToggleAction.emit("noHighlightAction"),value:"noHighlight"},r("gux-truncate",{"max-lines":1},this.i18n("noHighlight"))))}renderTextEditorMenu(){const t=this.getAllActions();if(t.length>0){const{richStyleActions:i,highlightActions:e,filteredActions:o}=this.categorizeActions(t);return r("gux-rich-text-editor-menu",null,this.renderListItems(o),this.renderSubList("richStyle",i,!0),this.renderHighlightSubList(e))}}renderSlot(t,i){return s(this.root,t)?r("div",{class:i},r("slot",{name:t})):null}renderTypographicalEmphasis(){return this.renderSlot("typographical-emphasis","gux-typographical-emphasis-container")}renderTextStyling(){return this.renderSlot("text-styling","gux-text-styling-container")}renderListsIndentation(){return this.renderSlot("lists-indentation","gux-lists-indentation-container")}renderInserting(){return this.renderSlot("inserting","gux-inserting-container")}renderGlobalAction(){return this.renderSlot("global-action","gux-global-action-container")}render(){return r("div",{key:"f54945da1c00ab87201827e01db7917e2bba6263",class:{"gux-rich-text-editor-container":!0,"gux-disabled":this.disabled}},r("div",{key:"827d6b034885915564a6d63cfed6a0c28dd4a3cb",class:"gux-rich-text-editor-toolbar-container"},this.renderTypographicalEmphasis(),this.renderTextStyling(),this.renderListsIndentation(),this.renderInserting(),this.renderTextEditorMenu(),this.renderGlobalAction()),r("slot",{key:"ccad9feba4847a9810a31dc8bbfc8456316b580d",name:"editor"}))}get root(){return o(this)}};(function(t,i,e,r){var o,n=arguments.length,s=n<3?i:null===r?r=Object.getOwnPropertyDescriptor(i,e):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(t,i,e,r);else for(var a=t.length-1;a>=0;a--)(o=t[a])&&(s=(n<3?o(s):n>3?o(i,e,s):o(i,e))||s);n>3&&s&&Object.defineProperty(i,e,s)})([n()],l.prototype,"checkResponsiveLayout",null),l.style=":host{display:block}.gux-rich-text-editor-container{box-sizing:border-box;display:flex;flex-direction:column;gap:var(--gse-ui-rte-innerContainer-gap);inline-size:100%;max-inline-size:100%;padding:var(--gse-ui-rte-padding);overflow:auto;background-color:var(--gse-ui-formControl-input-backgroundColor);border:var(--gse-ui-rte-mainContainer-default-border-width) var(--gse-ui-rte-mainContainer-default-border-color) var(--gse-ui-rte-mainContainer-default-border-style);border-radius:var(--gse-ui-rte-container-borderRadius)}.gux-rich-text-editor-container .gux-rich-text-editor-toolbar-container{display:flex;flex-direction:row;justify-content:flex-start}.gux-rich-text-editor-container .gux-rich-text-editor-toolbar-container .gux-global-action-container{margin-inline-start:auto}.gux-rich-text-editor-container.gux-disabled{pointer-events:none;cursor:default;user-select:none;border:var(--gse-ui-rte-mainContainer-disabled-border-width) var(--gse-ui-rte-mainContainer-disabled-border-color) var(--gse-ui-rte-mainContainer-disabled-border-style);opacity:0.5}.gux-rich-text-editor-container:active:enabled{border:var(--gse-ui-rte-mainContainer-active-border-width) var(--gse-ui-rte-mainContainer-active-border-color) var(--gse-ui-rte-mainContainer-active-border-style)}.gux-rich-text-editor-container:focus-within:not(.gux-disabled),.gux-rich-text-editor-container:hover:not(.gux-disabled){border:var(--gse-ui-rte-mainContainer-hover-border-width) var(--gse-ui-rte-mainContainer-hover-border-color) var(--gse-ui-rte-mainContainer-hover-border-style)}.gux-rich-text-editor-container:focus-within:not(.gux-disabled){outline:var(--gse-ui-rte-mainContainer-focus-border-width) var(--gse-ui-rte-mainContainer-focus-border-color) var(--gse-ui-rte-mainContainer-focus-border-style)}";export{l as gux_rich_text_editor_beta}
@@ -1 +1 @@
1
- import{r as t,f as e,d as i,h as a,H as o,g as n}from"./p-cf74fd3d.js";import{O as s}from"./p-832c080d.js";import{O as r}from"./p-946c70b7.js";import{t as l}from"./p-d601a7b8.js";import{g as c}from"./p-89657908.js";import{a as d}from"./p-cf0e7d3b.js";function u(t,e){[].concat(t).forEach((t=>{null!=t&&(t.accent=e)}))}function h(t,...e){e.flat().filter((t=>null!=t&&!(null==t?void 0:t.hasAttribute("icon-only")))).forEach((e=>e.iconOnly=t))}var b=function(t,e,i,a){var o,n=arguments.length,s=n<3?e:null===a?a=Object.getOwnPropertyDescriptor(e,i):a;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(t,e,i,a);else for(var r=t.length-1;r>=0;r--)(o=t[r])&&(s=(n<3?o(s):n>3?o(e,i,s):o(e,i))||s);return n>3&&s&&Object.defineProperty(e,i,s),s};const p=class{constructor(e){t(this,e),this.displayedLayout="full",this.hasContextDivider=!1,this.minimumSizes={full:0,iconOnly:0,condensed:0}}onMutation(){this.hasContextDivider=this.needsContextDivider(),e(this.root)}recordLayoutMinSize(){i((()=>{var t,e,i;const a=0|(null===(t=this.searchAndFilterContainer)||void 0===t?void 0:t.clientWidth),o=0|(null===(e=this.actionsContainer)||void 0===e?void 0:e.clientWidth),n=0|(null===(i=this.minControlSize)||void 0===i?void 0:i.clientWidth);this.minimumSizes[this.displayedLayout]=a+o+n}))}get minControlSize(){return this.root.shadowRoot.querySelector(".section-spacing")}get actionsContainer(){return this.root.shadowRoot.querySelector(".gux-contextual-permanent-primary")}get searchAndFilterContainer(){return this.root.shadowRoot.querySelector(".search-filter-container")}get filterSlot(){return c(this.root,"search-and-filter")}get menuActionSlot(){return c(this.root,"menu-actions")}get permanentSlot(){return c(this.root,"permanent-actions")}get contextualSlot(){return c(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;return(null===(t=this.permanentSlot)||void 0===t?void 0:t.hasChildNodes)?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;return(null===(t=this.contextualSlot)||void 0===t?void 0:t.hasChildNodes)?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;return(null===(t=this.filterSlot)||void 0===t?void 0:t.hasChildNodes)?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(){this.displayedLayout="iconOnly",h(!0,this.primaryAction,...this.allFilterContextual,...this.permanentActions)}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")}componentWillRender(){l(this.root),this.hasContextDivider=this.needsContextDivider()}componentDidLoad(){d((()=>{this.recordLayoutMinSize(),this.checkResponsiveLayout()})),u(this.menuActionsItems,"ghost")}componentDidUpdate(){this.recordLayoutMinSize(),this.checkResponsiveLayout()}checkResponsiveLayout(){i((()=>{const t=this.root.clientWidth;t<=this.minimumSizes.iconOnly?"iconOnly"==this.displayedLayout&&this.renderCondensedLayout():t<=this.minimumSizes.full?"full"==this.displayedLayout?this.renderIconOnlyLayoutScaleDown():"condensed"==this.displayedLayout&&this.renderIconOnlyLayoutScaleUp():this.minimumSizes.iconOnly>this.minimumSizes.full?this.renderIconOnlyLayoutScaleUp():this.renderFullLayout()}))}render(){return a(o,{key:"286d16c8c0256fcdc3fc16bd8198ca522ec46561",role:"toolbar","aria-orientation":"horizontal","gs-layout":this.displayedLayout},a("div",{key:"81848d87616892f1116428a6955501e48bbbc8f2",class:"search-filter-container"},a("slot",{key:"acf93a2292d0bc75c41491c7e53de644d2f63b01",name:"search-and-filter"})),a("div",{key:"64524af5d3e61a5a9c2ad534047516ea375989d8",class:"section-spacing"}),a("div",{key:"63c1aa11001f861991e48a6e761b64bce5182c72",class:"gux-contextual-permanent-primary"},a("div",{key:"f56906133c61a97d28144221d49f7aebd01cca78",class:{"gux-contextual-wrapper":this.hasContextDivider}},a("slot",{key:"fc6d51300cb27009249040c0ab2c201a6d54bf3d",name:"contextual-actions"})),a("div",{key:"8104450e965aa066b05e96364443a453b12c8496",class:"gux-permanent-menu-primary-wrapper"},a("slot",{key:"c4bdb389d256c5c1eb374acd4738df6aa59f8337",name:"permanent-actions"}),a("gux-table-toolbar-menu-button",{key:"6bddd1b1fb4fe2f5d58ff02be1ac72efcea56fb9","show-menu":this.renderMenu()},a("slot",{key:"3de1e2e717e5baff05bba22f68c047d74d798ed2",name:"menu-actions"})),a("slot",{key:"e548f18daeb4f5d97696ce8a0eb144fe9d0d1cb8",name:"primary-action"}))))}get root(){return n(this)}};b([r({childList:!0,subtree:!0})],p.prototype,"onMutation",null),b([s()],p.prototype,"checkResponsiveLayout",null),p.style=":host{display:flex;flex-direction:row;align-items:center;justify-content:space-between;inline-size:100%;max-block-size:var(--gse-ui-dataTableItems-tableToolbar-height);visibility:hidden;transition:visibility 0s 0.5s;}@keyframes show-toolbar{to{visibility:visible}}:host .search-filter-container{min-inline-size:260px;padding-inline-end: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-inline-size:72px}:host .gux-contextual-permanent-primary{display:flex;flex-direction:row;justify-content:space-between;padding-inline-start: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-inline-end:var(--gse-ui-dataTableItems-tableToolbar-gap);border-inline-end: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-inline-start:var(--gse-ui-dataTableItems-tableToolbar-gap)}";export{p as gux_table_toolbar}
1
+ import{r as t,f as e,d as i,h as a,H as o,g as n}from"./p-cf74fd3d.js";import{O as s}from"./p-832c080d.js";import{O as r}from"./p-946c70b7.js";import{t as l}from"./p-74437e8f.js";import{g as c}from"./p-89657908.js";import{a as d}from"./p-cf0e7d3b.js";function u(t,e){[].concat(t).forEach((t=>{null!=t&&(t.accent=e)}))}function h(t,...e){e.flat().filter((t=>null!=t&&!(null==t?void 0:t.hasAttribute("icon-only")))).forEach((e=>e.iconOnly=t))}var b=function(t,e,i,a){var o,n=arguments.length,s=n<3?e:null===a?a=Object.getOwnPropertyDescriptor(e,i):a;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(t,e,i,a);else for(var r=t.length-1;r>=0;r--)(o=t[r])&&(s=(n<3?o(s):n>3?o(e,i,s):o(e,i))||s);return n>3&&s&&Object.defineProperty(e,i,s),s};const p=class{constructor(e){t(this,e),this.displayedLayout="full",this.hasContextDivider=!1,this.minimumSizes={full:0,iconOnly:0,condensed:0}}onMutation(){this.hasContextDivider=this.needsContextDivider(),e(this.root)}recordLayoutMinSize(){i((()=>{var t,e,i;const a=0|(null===(t=this.searchAndFilterContainer)||void 0===t?void 0:t.clientWidth),o=0|(null===(e=this.actionsContainer)||void 0===e?void 0:e.clientWidth),n=0|(null===(i=this.minControlSize)||void 0===i?void 0:i.clientWidth);this.minimumSizes[this.displayedLayout]=a+o+n}))}get minControlSize(){return this.root.shadowRoot.querySelector(".section-spacing")}get actionsContainer(){return this.root.shadowRoot.querySelector(".gux-contextual-permanent-primary")}get searchAndFilterContainer(){return this.root.shadowRoot.querySelector(".search-filter-container")}get filterSlot(){return c(this.root,"search-and-filter")}get menuActionSlot(){return c(this.root,"menu-actions")}get permanentSlot(){return c(this.root,"permanent-actions")}get contextualSlot(){return c(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;return(null===(t=this.permanentSlot)||void 0===t?void 0:t.hasChildNodes)?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;return(null===(t=this.contextualSlot)||void 0===t?void 0:t.hasChildNodes)?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;return(null===(t=this.filterSlot)||void 0===t?void 0:t.hasChildNodes)?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(){this.displayedLayout="iconOnly",h(!0,this.primaryAction,...this.allFilterContextual,...this.permanentActions)}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")}componentWillRender(){l(this.root),this.hasContextDivider=this.needsContextDivider()}componentDidLoad(){d((()=>{this.recordLayoutMinSize(),this.checkResponsiveLayout()})),u(this.menuActionsItems,"ghost")}componentDidUpdate(){this.recordLayoutMinSize(),this.checkResponsiveLayout()}checkResponsiveLayout(){i((()=>{const t=this.root.clientWidth;t<=this.minimumSizes.iconOnly?"iconOnly"==this.displayedLayout&&this.renderCondensedLayout():t<=this.minimumSizes.full?"full"==this.displayedLayout?this.renderIconOnlyLayoutScaleDown():"condensed"==this.displayedLayout&&this.renderIconOnlyLayoutScaleUp():this.minimumSizes.iconOnly>this.minimumSizes.full?this.renderIconOnlyLayoutScaleUp():this.renderFullLayout()}))}render(){return a(o,{key:"286d16c8c0256fcdc3fc16bd8198ca522ec46561",role:"toolbar","aria-orientation":"horizontal","gs-layout":this.displayedLayout},a("div",{key:"81848d87616892f1116428a6955501e48bbbc8f2",class:"search-filter-container"},a("slot",{key:"acf93a2292d0bc75c41491c7e53de644d2f63b01",name:"search-and-filter"})),a("div",{key:"64524af5d3e61a5a9c2ad534047516ea375989d8",class:"section-spacing"}),a("div",{key:"63c1aa11001f861991e48a6e761b64bce5182c72",class:"gux-contextual-permanent-primary"},a("div",{key:"f56906133c61a97d28144221d49f7aebd01cca78",class:{"gux-contextual-wrapper":this.hasContextDivider}},a("slot",{key:"fc6d51300cb27009249040c0ab2c201a6d54bf3d",name:"contextual-actions"})),a("div",{key:"8104450e965aa066b05e96364443a453b12c8496",class:"gux-permanent-menu-primary-wrapper"},a("slot",{key:"c4bdb389d256c5c1eb374acd4738df6aa59f8337",name:"permanent-actions"}),a("gux-table-toolbar-menu-button",{key:"6bddd1b1fb4fe2f5d58ff02be1ac72efcea56fb9","show-menu":this.renderMenu()},a("slot",{key:"3de1e2e717e5baff05bba22f68c047d74d798ed2",name:"menu-actions"})),a("slot",{key:"e548f18daeb4f5d97696ce8a0eb144fe9d0d1cb8",name:"primary-action"}))))}get root(){return n(this)}};b([r({childList:!0,subtree:!0})],p.prototype,"onMutation",null),b([s()],p.prototype,"checkResponsiveLayout",null),p.style=":host{display:flex;flex-direction:row;align-items:center;justify-content:space-between;inline-size:100%;max-block-size:var(--gse-ui-dataTableItems-tableToolbar-height);visibility:hidden;transition:visibility 0s 0.5s;}@keyframes show-toolbar{to{visibility:visible}}:host .search-filter-container{min-inline-size:260px;padding-inline-end: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-inline-size:72px}:host .gux-contextual-permanent-primary{display:flex;flex-direction:row;justify-content:space-between;padding-inline-start: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-inline-end:var(--gse-ui-dataTableItems-tableToolbar-gap);border-inline-end: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-inline-start:var(--gse-ui-dataTableItems-tableToolbar-gap)}";export{p as gux_table_toolbar}
@@ -1 +1 @@
1
- import{r as t,h as s,g as i}from"./p-cf74fd3d.js";import{t as r}from"./p-d601a7b8.js";const n=/[ +]/g,e=new Map,h=new Map;function a(t){return t.replace(/[\^$*+?.(){}[\]\\]/g,"\\$&")}const u=class{constructor(s){t(this,s),this.strategy="start",this.dimmed=!1}componentWillLoad(){r(this.root)}render(){if(this.highlight&&this.text)switch(this.strategy){case"start":return this.renderStartsWith();case"contains":return this.renderContains();case"fuzzy":return this.renderFuzzy()}return s("span",{class:{"gux-dimmed":this.dimmed}},this.text)}renderStartsWith(){if(this.text.toLowerCase().startsWith(this.highlight.toLowerCase())){const t=this.text.substring(0,this.highlight.length),i=this.text.substring(this.highlight.length);return s("span",{class:{"gux-dimmed":this.dimmed}},s("mark",null,t),i)}return s("span",{class:{"gux-dimmed":this.dimmed}},this.text)}renderContains(){const t={highlighted:"",remaining:this.text};for(;t.remaining.toLowerCase().includes(this.highlight.toLowerCase());){const s=t.remaining.toLowerCase().indexOf(this.highlight.toLowerCase()),i=t.remaining.substring(0,s),r=t.remaining.substring(s,s+this.highlight.length);t.highlighted+=i+`<mark>${r}</mark>`,t.remaining=t.remaining.substring(s+r.length)}return s("span",{class:{"gux-dimmed":this.dimmed},innerHTML:t.highlighted+t.remaining})}renderFuzzy(){if(function(t,s){let i=e.get(t);return i||(i=function(t){const s=t.split(n).map(a);if(1===s.length)return new RegExp(s[0],"i");let i="(";return s.forEach(((t,r)=>{i+=t+").*",r!==s.length-1&&(i+="(")})),new RegExp(i+"$","i")}(t),e.set(t,i)),i.test(s)}(this.highlight,this.text)){const i=(t=this.highlight,t.split(n).map(a).map((t=>{let s=h.get(t);return s||(s=new RegExp(t,"i"),h.set(t,s)),s}))).reduce(((t,s)=>{const{0:i,index:r,input:n}=t.remaining.match(s),e=n.substring(0,r);return{highlighted:`${t.highlighted+e}<mark>${i}</mark>`,remaining:n.substring(r+i.length)}}),{highlighted:"",remaining:this.text});return s("span",{class:{"gux-dimmed":this.dimmed},innerHTML:i.highlighted+i.remaining})}var t;return s("span",{class:{"gux-dimmed":this.dimmed}},this.text)}get root(){return i(this)}};u.style="span mark{background-color:var(--gse-ui-search-match-firstLevel-backgroundColor)}.gux-dimmed mark{background-color:var(--gse-ui-search-match-subsequentLevel-backgroundColor)}";export{u as gux_text_highlight}
1
+ import{r as t,h as s,g as i}from"./p-cf74fd3d.js";import{t as r}from"./p-74437e8f.js";const n=/[ +]/g,e=new Map,h=new Map;function a(t){return t.replace(/[\^$*+?.(){}[\]\\]/g,"\\$&")}const u=class{constructor(s){t(this,s),this.strategy="start",this.dimmed=!1}componentWillLoad(){r(this.root)}render(){if(this.highlight&&this.text)switch(this.strategy){case"start":return this.renderStartsWith();case"contains":return this.renderContains();case"fuzzy":return this.renderFuzzy()}return s("span",{class:{"gux-dimmed":this.dimmed}},this.text)}renderStartsWith(){if(this.text.toLowerCase().startsWith(this.highlight.toLowerCase())){const t=this.text.substring(0,this.highlight.length),i=this.text.substring(this.highlight.length);return s("span",{class:{"gux-dimmed":this.dimmed}},s("mark",null,t),i)}return s("span",{class:{"gux-dimmed":this.dimmed}},this.text)}renderContains(){const t={highlighted:"",remaining:this.text};for(;t.remaining.toLowerCase().includes(this.highlight.toLowerCase());){const s=t.remaining.toLowerCase().indexOf(this.highlight.toLowerCase()),i=t.remaining.substring(0,s),r=t.remaining.substring(s,s+this.highlight.length);t.highlighted+=i+`<mark>${r}</mark>`,t.remaining=t.remaining.substring(s+r.length)}return s("span",{class:{"gux-dimmed":this.dimmed},innerHTML:t.highlighted+t.remaining})}renderFuzzy(){if(function(t,s){let i=e.get(t);return i||(i=function(t){const s=t.split(n).map(a);if(1===s.length)return new RegExp(s[0],"i");let i="(";return s.forEach(((t,r)=>{i+=t+").*",r!==s.length-1&&(i+="(")})),new RegExp(i+"$","i")}(t),e.set(t,i)),i.test(s)}(this.highlight,this.text)){const i=(t=this.highlight,t.split(n).map(a).map((t=>{let s=h.get(t);return s||(s=new RegExp(t,"i"),h.set(t,s)),s}))).reduce(((t,s)=>{const{0:i,index:r,input:n}=t.remaining.match(s),e=n.substring(0,r);return{highlighted:`${t.highlighted+e}<mark>${i}</mark>`,remaining:n.substring(r+i.length)}}),{highlighted:"",remaining:this.text});return s("span",{class:{"gux-dimmed":this.dimmed},innerHTML:i.highlighted+i.remaining})}var t;return s("span",{class:{"gux-dimmed":this.dimmed}},this.text)}get root(){return i(this)}};u.style="span mark{background-color:var(--gse-ui-search-match-firstLevel-backgroundColor)}.gux-dimmed mark{background-color:var(--gse-ui-search-match-subsequentLevel-backgroundColor)}";export{u as gux_text_highlight}
@@ -1 +1 @@
1
- import{r as e,h as o,g as r}from"./p-cf74fd3d.js";import{c as t,o as i}from"./p-f4751a15.js";import{O as n}from"./p-946c70b7.js";import{o as l}from"./p-6b12dd16.js";import{p as a}from"./p-a11d5d42.js";import{h as s}from"./p-6d8b4027.js";import{a as u,G as f}from"./p-25141c4d.js";import{G as d,a as p}from"./p-bd1d4fac.js";import{v as c,a as g}from"./p-4aaf349e.js";import{t as h}from"./p-d601a7b8.js";import"./p-0934300e.js";import"./p-8eaf8caf.js";import"./p-2c25e2f2.js";const m=class{constructor(o){e(this,o),this.indicatorMark="required",this.computedLabelPosition="above",this.hasError=!1,this.hasHelp=!1}onMutation(){this.labelInfo=this.root.querySelector("[slot=label-info]"),this.hasError=s(this.root,"error"),this.hasHelp=s(this.root,"help")}handleKeyup(e){var o,r;"Tab"===e.key?this.input.matches(":focus-visible")&&(null===(o=this.labelInfo)||void 0===o||o.showTooltip(),this.hideLabelInfoTimeout=setTimeout((()=>{var e;null===(e=this.labelInfo)||void 0===e||e.hideTooltip()}),6e3)):this.input.matches(":focus-visible")&&(null===(r=this.labelInfo)||void 0===r||r.hideTooltip(),clearTimeout(this.hideLabelInfoTimeout))}onFocusout(){var e;null===(e=this.labelInfo)||void 0===e||e.hideTooltip(),clearTimeout(this.hideLabelInfoTimeout)}componentWillLoad(){this.setInput(),this.setLabel(),this.labelInfo=this.root.querySelector("[slot=label-info]"),this.hasError=s(this.root,"error"),this.hasHelp=s(this.root,"help"),h(this.root,{variant:this.variant})}disconnectedCallback(){this.disabledObserver&&this.disabledObserver.disconnect(),this.requiredObserver&&this.requiredObserver.disconnect()}render(){return o(p,{key:"8fab666ed9dd8dfb34c3c9169b0318cb85ae886c",labelPosition:this.computedLabelPosition},o(d,{key:"67c189b8e8ae3c38c5d7600e92aaa931b73fe3c7",required:this.required,position:this.computedLabelPosition},o("slot",{key:"5931134fe8b4b588213f17c3a073e300d6ad380d",name:"label",onSlotchange:()=>this.setLabel()}),o("gux-form-field-label-indicator",{key:"164f4bacb16425c76face2e8c8d030ab9be6c1e6",variant:this.indicatorMark,required:this.required}),o("slot",{key:"69f66ea9a268e95d7e7db80ab86d1fa9eea27374",name:"label-info"})),o("div",{key:"f50f9c67182be19f1f9d73d3577b2f5c8edb0d70",class:"gux-input-and-error-container"},o("div",{key:"38fb0fb812dca5f250a743edcf77c6f7a44006f7",class:{"gux-input":!0,"gux-input-error":this.hasError}},o("div",{key:"ce68e4c39d3bf617c406387857777775f8efa7b6",class:{"gux-input-container":!0,"gux-disabled":this.disabled}},o("slot",{key:"90cbaae24a5863e6d6bb65ec3e34cb09a2895ec0",name:"input"}),o("gux-icon",{key:"bcfb3024085f44651148d515befb45c3da39926e","icon-name":"custom/chevron-down-small-regular",decorative:!0,size:"small"}))),o(u,{key:"cec22eac2942c4f37bcf10a5ea148a69ea128a46",show:this.hasError},o("slot",{key:"b884778e478663e3e4cff9b07fc48dcd97ea05f1",name:"error"})),o(f,{key:"d373a37aec09d91e33e837fde1425dc2a35a64b4",show:!this.hasError&&this.hasHelp},o("slot",{key:"7d9c3445f573e585989aeb5ed5ff7ff8fb341e0d",name:"help"}))))}get variant(){const e=this.labelPosition?this.labelPosition.toLowerCase():"none";return`${this.input.getAttribute("type")}-${e}`}setInput(){this.input=this.root.querySelector('select[slot="input"]'),a(this.input),this.disabled=t(this.input),this.required=this.input.required,this.disabledObserver=i(this.input,(e=>{this.disabled=e})),this.requiredObserver=l(this.input,(e=>{this.required=e})),c(this.root,this.input)}setLabel(){this.label=this.root.querySelector('label[slot="label"]'),this.computedLabelPosition=g(this.label,this.labelPosition)}get root(){return r(this)}};(function(e,o,r,t){var i,n=arguments.length,l=n<3?o:null===t?t=Object.getOwnPropertyDescriptor(o,r):t;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)l=Reflect.decorate(e,o,r,t);else for(var a=e.length-1;a>=0;a--)(i=e[a])&&(l=(n<3?i(l):n>3?i(o,r,l):i(o,r))||l);n>3&&l&&Object.defineProperty(o,r,l)})([n({childList:!0,subtree:!0})],m.prototype,"onMutation",null),m.style=".gux-form-field-container.gux-beside{display:flex;flex-direction:row}.gux-form-field-error{display:none;flex-direction:row;flex-wrap:nowrap;gap:var(--gse-ui-formControl-helper-gap);place-content:stretch flex-start;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;order:0;color:var(--gse-ui-formControl-helper-errorColor)}.gux-form-field-error .gux-message{flex:0 1 auto;align-self:auto;order:0}.gux-form-field-label{display:inline-flex;flex:1 0 auto}.gux-form-field-label ::slotted(gux-label-info-beta){padding-inline-start:var(--gse-ui-formControl-formField-gap)}.gux-form-field-label.gux-beside{position:relative;inset-block-start:var(--gse-ui-formControl-input-top);inline-size:fit-content;min-inline-size:var(--gse-ui-formControl-input-textfield-minWidth);max-inline-size:fit-content;margin-inline-end:var(--gse-ui-formControl-group-gapItems)}.gux-form-field-label.gux-above{padding-block-end:var(--gse-ui-formControl-formField-gap)}.gux-form-field-label.gux-screenreader{position:absolute;top:auto;left:-10000px;width:1px;height:1px;overflow:hidden}.gux-form-field-help{display:none;flex-direction:row;flex-wrap:nowrap;place-content:stretch flex-start;align-items:flex-start;justify-content:flex-start;padding-block-start:var(--gse-ui-formControl-formField-gap);font-family:var(--gse-ui-formControl-helper-helperText-fontFamily);font-size:var(--gse-ui-formControl-helper-helperText-fontSize);line-height:var(--gse-ui-formControl-helper-helperText-lineHeight);color:var(--gse-ui-formControl-helper-defaultColor)}.gux-form-field-help.gux-show{display:flex}.gux-form-field-help .gux-message{flex:0 1 auto;align-self:none;order:0}:host{display:block}::slotted(label){font-family:var(--gse-ui-formControl-label-textBold-fontFamily);font-size:var(--gse-ui-formControl-label-textBold-fontSize);font-weight:var(--gse-ui-formControl-label-textBold-fontWeight);line-height:var(--gse-ui-formControl-label-textBold-lineHeight);color:var(--gse-ui-formControl-label-labelColor)}::slotted(select){flex:1 1 auto;align-self:auto;order:0;inline-size:100%;block-size:var(--gse-ui-formControl-input-textfield-height);padding-inline-start:var(--gse-ui-formControl-input-gap);color:var(--gse-ui-formControl-input-populatedColor);-moz-appearance:none;-webkit-appearance:none;appearance:none;outline:none;background-color:var(--gse-ui-formControl-input-backgroundColor);border:none;border-radius:var(--gse-ui-formControl-input-borderRadius)}::slotted(select)::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 .gux-input-container{position:relative;box-sizing:border-box;display:flex;flex-direction:row;flex-wrap:nowrap;gap:var(--gse-ui-formControl-input-gap);place-content:stretch center;align-items:center;inline-size:100%;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{pointer-events:none;opacity:var(--gse-ui-formControl-input-disabled-opacity)}.gux-input-and-error-container .gux-input .gux-input-container:hover gux-icon{color:var(--gse-ui-formControl-input-inputIcon-iconEndColor)}.gux-input-and-error-container .gux-input .gux-input-container gux-icon{position:absolute;inset-block-start:0;inset-inline-end:0;margin:var(--gse-ui-formControl-input-padding);pointer-events:none}.gux-input-and-error-container .gux-input .gux-input-container:focus-within{outline:var(--gse-ui-formControl-input-focus-border-width) var(--gse-ui-formControl-input-focus-border-style) var(--gse-ui-formControl-input-focus-border-color);outline-offset:var(--gse-semantic-focusOutline-offset);border:var(--gse-ui-formControl-input-active-border-width) var(--gse-ui-formControl-input-active-border-style) var(--gse-ui-formControl-input-active-border-color);border-radius:var(--gse-ui-formControl-focusRing-borderRadius)}.gux-input-and-error-container .gux-input.gux-input-error .gux-input-container{border-color:var(--gse-ui-formControl-input-error-border-color)}";export{m as gux_form_field_select}
1
+ import{r as e,h as o,g as r}from"./p-cf74fd3d.js";import{c as t,o as i}from"./p-f4751a15.js";import{O as n}from"./p-946c70b7.js";import{o as l}from"./p-6b12dd16.js";import{p as a}from"./p-a11d5d42.js";import{h as s}from"./p-6d8b4027.js";import{a as u,G as f}from"./p-25141c4d.js";import{G as d,a as p}from"./p-bd1d4fac.js";import{v as c,a as g}from"./p-4aaf349e.js";import{t as h}from"./p-74437e8f.js";import"./p-0934300e.js";import"./p-8eaf8caf.js";import"./p-2c25e2f2.js";const m=class{constructor(o){e(this,o),this.indicatorMark="required",this.computedLabelPosition="above",this.hasError=!1,this.hasHelp=!1}onMutation(){this.labelInfo=this.root.querySelector("[slot=label-info]"),this.hasError=s(this.root,"error"),this.hasHelp=s(this.root,"help")}handleKeyup(e){var o,r;"Tab"===e.key?this.input.matches(":focus-visible")&&(null===(o=this.labelInfo)||void 0===o||o.showTooltip(),this.hideLabelInfoTimeout=setTimeout((()=>{var e;null===(e=this.labelInfo)||void 0===e||e.hideTooltip()}),6e3)):this.input.matches(":focus-visible")&&(null===(r=this.labelInfo)||void 0===r||r.hideTooltip(),clearTimeout(this.hideLabelInfoTimeout))}onFocusout(){var e;null===(e=this.labelInfo)||void 0===e||e.hideTooltip(),clearTimeout(this.hideLabelInfoTimeout)}componentWillLoad(){this.setInput(),this.setLabel(),this.labelInfo=this.root.querySelector("[slot=label-info]"),this.hasError=s(this.root,"error"),this.hasHelp=s(this.root,"help"),h(this.root,{variant:this.variant})}disconnectedCallback(){this.disabledObserver&&this.disabledObserver.disconnect(),this.requiredObserver&&this.requiredObserver.disconnect()}render(){return o(p,{key:"8fab666ed9dd8dfb34c3c9169b0318cb85ae886c",labelPosition:this.computedLabelPosition},o(d,{key:"67c189b8e8ae3c38c5d7600e92aaa931b73fe3c7",required:this.required,position:this.computedLabelPosition},o("slot",{key:"5931134fe8b4b588213f17c3a073e300d6ad380d",name:"label",onSlotchange:()=>this.setLabel()}),o("gux-form-field-label-indicator",{key:"164f4bacb16425c76face2e8c8d030ab9be6c1e6",variant:this.indicatorMark,required:this.required}),o("slot",{key:"69f66ea9a268e95d7e7db80ab86d1fa9eea27374",name:"label-info"})),o("div",{key:"f50f9c67182be19f1f9d73d3577b2f5c8edb0d70",class:"gux-input-and-error-container"},o("div",{key:"38fb0fb812dca5f250a743edcf77c6f7a44006f7",class:{"gux-input":!0,"gux-input-error":this.hasError}},o("div",{key:"ce68e4c39d3bf617c406387857777775f8efa7b6",class:{"gux-input-container":!0,"gux-disabled":this.disabled}},o("slot",{key:"90cbaae24a5863e6d6bb65ec3e34cb09a2895ec0",name:"input"}),o("gux-icon",{key:"bcfb3024085f44651148d515befb45c3da39926e","icon-name":"custom/chevron-down-small-regular",decorative:!0,size:"small"}))),o(u,{key:"cec22eac2942c4f37bcf10a5ea148a69ea128a46",show:this.hasError},o("slot",{key:"b884778e478663e3e4cff9b07fc48dcd97ea05f1",name:"error"})),o(f,{key:"d373a37aec09d91e33e837fde1425dc2a35a64b4",show:!this.hasError&&this.hasHelp},o("slot",{key:"7d9c3445f573e585989aeb5ed5ff7ff8fb341e0d",name:"help"}))))}get variant(){const e=this.labelPosition?this.labelPosition.toLowerCase():"none";return`${this.input.getAttribute("type")}-${e}`}setInput(){this.input=this.root.querySelector('select[slot="input"]'),a(this.input),this.disabled=t(this.input),this.required=this.input.required,this.disabledObserver=i(this.input,(e=>{this.disabled=e})),this.requiredObserver=l(this.input,(e=>{this.required=e})),c(this.root,this.input)}setLabel(){this.label=this.root.querySelector('label[slot="label"]'),this.computedLabelPosition=g(this.label,this.labelPosition)}get root(){return r(this)}};(function(e,o,r,t){var i,n=arguments.length,l=n<3?o:null===t?t=Object.getOwnPropertyDescriptor(o,r):t;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)l=Reflect.decorate(e,o,r,t);else for(var a=e.length-1;a>=0;a--)(i=e[a])&&(l=(n<3?i(l):n>3?i(o,r,l):i(o,r))||l);n>3&&l&&Object.defineProperty(o,r,l)})([n({childList:!0,subtree:!0})],m.prototype,"onMutation",null),m.style=".gux-form-field-container.gux-beside{display:flex;flex-direction:row}.gux-form-field-error{display:none;flex-direction:row;flex-wrap:nowrap;gap:var(--gse-ui-formControl-helper-gap);place-content:stretch flex-start;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;order:0;color:var(--gse-ui-formControl-helper-errorColor)}.gux-form-field-error .gux-message{flex:0 1 auto;align-self:auto;order:0}.gux-form-field-label{display:inline-flex;flex:1 0 auto}.gux-form-field-label ::slotted(gux-label-info-beta){padding-inline-start:var(--gse-ui-formControl-formField-gap)}.gux-form-field-label.gux-beside{position:relative;inset-block-start:var(--gse-ui-formControl-input-top);inline-size:fit-content;min-inline-size:var(--gse-ui-formControl-input-textfield-minWidth);max-inline-size:fit-content;margin-inline-end:var(--gse-ui-formControl-group-gapItems)}.gux-form-field-label.gux-above{padding-block-end:var(--gse-ui-formControl-formField-gap)}.gux-form-field-label.gux-screenreader{position:absolute;top:auto;left:-10000px;width:1px;height:1px;overflow:hidden}.gux-form-field-help{display:none;flex-direction:row;flex-wrap:nowrap;place-content:stretch flex-start;align-items:flex-start;justify-content:flex-start;padding-block-start:var(--gse-ui-formControl-formField-gap);font-family:var(--gse-ui-formControl-helper-helperText-fontFamily);font-size:var(--gse-ui-formControl-helper-helperText-fontSize);line-height:var(--gse-ui-formControl-helper-helperText-lineHeight);color:var(--gse-ui-formControl-helper-defaultColor)}.gux-form-field-help.gux-show{display:flex}.gux-form-field-help .gux-message{flex:0 1 auto;align-self:none;order:0}:host{display:block}::slotted(label){font-family:var(--gse-ui-formControl-label-textBold-fontFamily);font-size:var(--gse-ui-formControl-label-textBold-fontSize);font-weight:var(--gse-ui-formControl-label-textBold-fontWeight);line-height:var(--gse-ui-formControl-label-textBold-lineHeight);color:var(--gse-ui-formControl-label-labelColor)}::slotted(select){flex:1 1 auto;align-self:auto;order:0;inline-size:100%;block-size:var(--gse-ui-formControl-input-textfield-height);padding-inline-start:var(--gse-ui-formControl-input-gap);color:var(--gse-ui-formControl-input-populatedColor);-moz-appearance:none;-webkit-appearance:none;appearance:none;outline:none;background-color:var(--gse-ui-formControl-input-backgroundColor);border:none;border-radius:var(--gse-ui-formControl-input-borderRadius)}::slotted(select)::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 .gux-input-container{position:relative;box-sizing:border-box;display:flex;flex-direction:row;flex-wrap:nowrap;gap:var(--gse-ui-formControl-input-gap);place-content:stretch center;align-items:center;inline-size:100%;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{pointer-events:none;opacity:var(--gse-ui-formControl-input-disabled-opacity)}.gux-input-and-error-container .gux-input .gux-input-container:hover gux-icon{color:var(--gse-ui-formControl-input-inputIcon-iconEndColor)}.gux-input-and-error-container .gux-input .gux-input-container gux-icon{position:absolute;inset-block-start:0;inset-inline-end:0;margin:var(--gse-ui-formControl-input-padding);pointer-events:none}.gux-input-and-error-container .gux-input .gux-input-container:focus-within{outline:var(--gse-ui-formControl-input-focus-border-width) var(--gse-ui-formControl-input-focus-border-style) var(--gse-ui-formControl-input-focus-border-color);outline-offset:var(--gse-semantic-focusOutline-offset);border:var(--gse-ui-formControl-input-active-border-width) var(--gse-ui-formControl-input-active-border-style) var(--gse-ui-formControl-input-active-border-color);border-radius:var(--gse-ui-formControl-focusRing-borderRadius)}.gux-input-and-error-container .gux-input.gux-input-error .gux-input-container{border-color:var(--gse-ui-formControl-input-error-border-color)}";export{m as gux_form_field_select}
@@ -1 +1 @@
1
- import{r as e,h as t,H as a,g as o}from"./p-cf74fd3d.js";import{t as i}from"./p-d601a7b8.js";const s=class{constructor(t){e(this,t)}componentWillLoad(){i(this.root)}render(){return t(a,{key:"1a8af93ebf97822103c278b6e1acf302d6fac828"},t("div",{key:"690645f09dfbbf533a000b8e573a8eea7077eb0f",class:"gux-header"},t("div",{key:"13d314e118929340e9f229fd4efbdd90342b7778",class:"gux-icon"},t("slot",{key:"dac24e0dcb852921e631e7e24ae8b283fb3dc348",name:"icon"})),t("div",{key:"d0c423a9f94f4cc2c2a0d9e42f28c0350c6eaebe",class:"gux-title"},t("slot",{key:"4dc1946758a1644e5a8f5f852e93205386f8dc5e",name:"title"}))),t("div",{key:"633d576934edbef111e81a4291c0586a831f8127",class:"gux-message"},t("slot",{key:"78830fba4de476e503b0bf6774c9453d3b7f589d",name:"message"})),t("div",{key:"ede5f36a0f0dfcfe3c57563813dcfb88754f9e1c",class:"gux-action-buttons"},t("div",{key:"6d4c629edce80fe5bb17af72eb20569c92afb8d2",class:"gux-positive-button"},t("slot",{key:"5d7ba5a7a8700b0258f38631f41a451f9229eea3",name:"positive-button"})),t("div",{key:"f004a4f6eff0999ace5bd07b5613c7e848f4b0c7",class:"gux-negative-button"},t("slot",{key:"45311073079442b62fa1580cb14cc4f0b4643cf4",name:"negative-button"}))))}get root(){return o(this)}};s.style=":host{display:flex;flex-direction:column;flex-wrap:nowrap;place-content:stretch flex-start;align-items:stretch;width:270px;padding:20px 24px;margin-bottom:4px;color:#2e394c;background:#f6f7f9;border:1px solid #b4bccb;border-radius:4px;box-shadow:0 2px 4px rgba(32, 41, 55, 0.24)}.gux-header{display:flex;flex:0 1 auto;flex-direction:row;flex-wrap:nowrap;place-content:stretch flex-start;align-items:center;align-self:auto;order:0;font-family:var(--gse-semantic-heading-lg-bold-fontFamily), var(--gse-semantic-theme-fontFamily-headings), sans-serif;font-size:var(--gse-semantic-heading-lg-bold-fontSize);line-height:var(--gse-semantic-heading-lg-bold-lineHeight);font-weight:var(--gse-semantic-heading-lg-bold-fontWeight)}.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:var(--gse-semantic-body-sm-regular-fontFamily), var(--gse-semantic-theme-fontFamily-body), sans-serif;font-size:var(--gse-semantic-body-sm-regular-fontSize);line-height:var(--gse-semantic-body-sm-regular-lineHeight);font-weight:var(--gse-semantic-body-sm-regular-fontWeight)}.gux-message ::slotted(dl){display:flex;flex-direction:row;flex-wrap:wrap;place-content:stretch flex-start;align-items:flex-start;margin:0}.gux-action-buttons{display:flex;flex:0 1 auto;flex-direction:row;flex-wrap:nowrap;place-content:stretch space-between;align-items:flex-start;align-self:auto;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;place-content:stretch space-between;align-items:flex-start;align-self:auto;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{s as gux_action_toast_legacy}
1
+ import{r as e,h as t,H as a,g as o}from"./p-cf74fd3d.js";import{t as i}from"./p-74437e8f.js";const s=class{constructor(t){e(this,t)}componentWillLoad(){i(this.root)}render(){return t(a,{key:"1a8af93ebf97822103c278b6e1acf302d6fac828"},t("div",{key:"690645f09dfbbf533a000b8e573a8eea7077eb0f",class:"gux-header"},t("div",{key:"13d314e118929340e9f229fd4efbdd90342b7778",class:"gux-icon"},t("slot",{key:"dac24e0dcb852921e631e7e24ae8b283fb3dc348",name:"icon"})),t("div",{key:"d0c423a9f94f4cc2c2a0d9e42f28c0350c6eaebe",class:"gux-title"},t("slot",{key:"4dc1946758a1644e5a8f5f852e93205386f8dc5e",name:"title"}))),t("div",{key:"633d576934edbef111e81a4291c0586a831f8127",class:"gux-message"},t("slot",{key:"78830fba4de476e503b0bf6774c9453d3b7f589d",name:"message"})),t("div",{key:"ede5f36a0f0dfcfe3c57563813dcfb88754f9e1c",class:"gux-action-buttons"},t("div",{key:"6d4c629edce80fe5bb17af72eb20569c92afb8d2",class:"gux-positive-button"},t("slot",{key:"5d7ba5a7a8700b0258f38631f41a451f9229eea3",name:"positive-button"})),t("div",{key:"f004a4f6eff0999ace5bd07b5613c7e848f4b0c7",class:"gux-negative-button"},t("slot",{key:"45311073079442b62fa1580cb14cc4f0b4643cf4",name:"negative-button"}))))}get root(){return o(this)}};s.style=":host{display:flex;flex-direction:column;flex-wrap:nowrap;place-content:stretch flex-start;align-items:stretch;width:270px;padding:20px 24px;margin-bottom:4px;color:#2e394c;background:#f6f7f9;border:1px solid #b4bccb;border-radius:4px;box-shadow:0 2px 4px rgba(32, 41, 55, 0.24)}.gux-header{display:flex;flex:0 1 auto;flex-direction:row;flex-wrap:nowrap;place-content:stretch flex-start;align-items:center;align-self:auto;order:0;font-family:var(--gse-semantic-heading-lg-bold-fontFamily), var(--gse-semantic-theme-fontFamily-headings), sans-serif;font-size:var(--gse-semantic-heading-lg-bold-fontSize);line-height:var(--gse-semantic-heading-lg-bold-lineHeight);font-weight:var(--gse-semantic-heading-lg-bold-fontWeight)}.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:var(--gse-semantic-body-sm-regular-fontFamily), var(--gse-semantic-theme-fontFamily-body), sans-serif;font-size:var(--gse-semantic-body-sm-regular-fontSize);line-height:var(--gse-semantic-body-sm-regular-lineHeight);font-weight:var(--gse-semantic-body-sm-regular-fontWeight)}.gux-message ::slotted(dl){display:flex;flex-direction:row;flex-wrap:wrap;place-content:stretch flex-start;align-items:flex-start;margin:0}.gux-action-buttons{display:flex;flex:0 1 auto;flex-direction:row;flex-wrap:nowrap;place-content:stretch space-between;align-items:flex-start;align-self:auto;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;place-content:stretch space-between;align-items:flex-start;align-self:auto;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{s as gux_action_toast_legacy}
@@ -1 +1 @@
1
- import{r as t,h as s,g as e}from"./p-cf74fd3d.js";import{b as i}from"./p-e5e644b3.js";import{f as o,g as r,t as a}from"./p-bd48b8c8.js";import{t as n}from"./p-d601a7b8.js";import{s as h}from"./p-2c25e2f2.js";import"./p-4202e9f2.js";const l=class{constructor(s){t(this,s),this.hasError=!1,this.disabled=!1,this.required=!1,this.searchString=""}on(t){this.searchString=t.detail,this.filteredZoneList=this.filterTimeZoneList(this.timeZoneList),this.timeZoneOptionElements=this.renderTimeZones(this.filteredZoneList)}async componentWillLoad(){n(this.root),this.i18n=await i(this.root,a),this.timeZoneList=this.getTimeZoneOptionsList(),this.filteredZoneList=this.timeZoneList,this.timeZoneOptionElements=this.renderTimeZones(this.filteredZoneList)}componentDidLoad(){var t;(null===(t=this.root)||void 0===t?void 0:t.shadowRoot.querySelector("gux-dropdown")).addEventListener("change",(t=>{const s=t.target;this.value=null==s?void 0:s.value,h(this.root,"change")}))}filterTimeZoneList(t){const s=this.searchString;return t.filter((t=>this.getFormattedTimeZoneOption(t).toLowerCase().includes(s.toLowerCase())))}getTimeZoneOption(t){const s=this.i18n(t.name),e=t.countryName?this.i18n(t.countryName):void 0;if(!s)return;const i=o(t.currentTimeOffsetInMinutes),r=`${s}`,a=` (${this.i18n("UTC")}${i})`,n=`${a}`,h=r.replace(/_/g," "),l=`${e}`,u=r.startsWith("Etc/GMT")?2:1;return{value:t.name,localizedGroupName:s,formattedOffset:i,displayTextNameFormatted:h,displayTextOffset:a,baseDisplayOffsetText:n,countryName:l,defaultZone:"",priority:u}}getFormattedTimeZoneOption(t){return t.displayTextNameFormatted.startsWith("Etc/GMT")?t.displayTextNameFormatted.concat(t.baseDisplayOffsetText):t.displayTextNameFormatted.split("/").pop().concat(", ",t.countryName,t.baseDisplayOffsetText)}getTimeZoneOptionsList(){const t=r(),s=[];return t.forEach((t=>{const e=this.getTimeZoneOption(t);e&&s.push(e)})),s.sort(((t,s)=>{var e;return t.priority-s.priority||(null===(e=t.displayTextNameFormatted)||void 0===e?void 0:e.localeCompare(s.displayTextNameFormatted))}))}getDefaultZones(){return[this.workspaceDefault,this.localDefault,this.customDefault].filter((t=>!!t))}getDefaultZoneList(){const t=this.getDefaultZones(),s=this.timeZoneList.reduce(((s,e)=>t.includes(e.value)?s.concat([Object.assign({},e)]):s),[]);return s.forEach((t=>{this.workspaceDefault===this.localDefault?t.defaultZone=`${this.i18n("localAndWorkspaceDefault")}`:t.value===this.workspaceDefault?t.defaultZone=`${this.i18n("workspaceDefault")}`:t.value===this.localDefault&&(t.defaultZone=`${this.i18n("localDefault")}`),t.value===this.customDefault&&(t.defaultZone=`(${this.customDefaultLabel})`)})),s}renderTimeZones(t){return t.map((t=>s("gux-option",{class:{"gux-has-defaults":""!==t.defaultZone},value:t.value},s("div",{class:"gux-option-wrapper"},s("div",null,this.getFormattedTimeZoneOption(t)),s("span",{class:"gux-default-zone"},t.defaultZone)))))}renderDefaultsList(){const t=this.renderTimeZones(this.getDefaultZoneList());if(t.length)return s("gux-option-group-beta",{label:this.i18n("default")},t)}renderAllTimeZoneOptionsList(){return s("gux-option-group-beta",{label:this.i18n("all")},this.timeZoneOptionElements)}render(){return s("gux-dropdown",{key:"c34c6efd43cb91ccf3fea9b5187cbfd7f7ee9c71",class:{"has-defaults":!!this.workspaceDefault||!!this.localDefault||!!this.customDefault},"filter-type":"custom",placeholder:this.i18n("selectZone"),value:this.value,hasError:this.hasError,disabled:this.disabled},s("gux-listbox",{key:"a217c92a154dc582a90716828ee5651e7b7d6caf","aria-label":this.i18n("timeZones")},this.renderDefaultsList(),this.renderAllTimeZoneOptionsList()))}get root(){return e(this)}};l.style="gux-dropdown .zone-header{padding-block:8px 4px;padding-inline:12px;color:#6b7585;text-transform:uppercase}gux-dropdown gux-option{padding:var(--gse-ui-menu-option-padding)}gux-dropdown gux-option.gux-has-defaults{block-size:auto}gux-dropdown gux-option .gux-option-wrapper{display:flex;flex-direction:column}gux-dropdown gux-option .gux-default-zone{color:#626e84}";export{l as gux_time_zone_picker_beta}
1
+ import{r as t,h as s,g as e}from"./p-cf74fd3d.js";import{b as i}from"./p-e5e644b3.js";import{f as o,g as r,t as n}from"./p-bd48b8c8.js";import{t as a}from"./p-74437e8f.js";import{s as h}from"./p-2c25e2f2.js";import"./p-4202e9f2.js";const l=class{constructor(s){t(this,s),this.hasError=!1,this.disabled=!1,this.required=!1,this.searchString=""}on(t){this.searchString=t.detail,this.filteredZoneList=this.filterTimeZoneList(this.timeZoneList),this.timeZoneOptionElements=this.renderTimeZones(this.filteredZoneList)}async componentWillLoad(){a(this.root),this.i18n=await i(this.root,n),this.timeZoneList=this.getTimeZoneOptionsList(),this.filteredZoneList=this.timeZoneList,this.timeZoneOptionElements=this.renderTimeZones(this.filteredZoneList)}componentDidLoad(){var t;(null===(t=this.root)||void 0===t?void 0:t.shadowRoot.querySelector("gux-dropdown")).addEventListener("change",(t=>{const s=t.target;this.value=null==s?void 0:s.value,h(this.root,"change")}))}filterTimeZoneList(t){const s=this.searchString;return t.filter((t=>this.getFormattedTimeZoneOption(t).toLowerCase().includes(s.toLowerCase())))}getTimeZoneOption(t){const s=this.i18n(t.name),e=t.countryName?this.i18n(t.countryName):void 0;if(!s)return;const i=o(t.currentTimeOffsetInMinutes),r=`${s}`,n=` (${this.i18n("UTC")}${i})`,a=`${n}`,h=r.replace(/_/g," "),l=`${e}`,u=r.startsWith("Etc/GMT")?2:1;return{value:t.name,localizedGroupName:s,formattedOffset:i,displayTextNameFormatted:h,displayTextOffset:n,baseDisplayOffsetText:a,countryName:l,defaultZone:"",priority:u}}getFormattedTimeZoneOption(t){return t.displayTextNameFormatted.startsWith("Etc/GMT")?t.displayTextNameFormatted.concat(t.baseDisplayOffsetText):t.displayTextNameFormatted.split("/").pop().concat(", ",t.countryName,t.baseDisplayOffsetText)}getTimeZoneOptionsList(){const t=r(),s=[];return t.forEach((t=>{const e=this.getTimeZoneOption(t);e&&s.push(e)})),s.sort(((t,s)=>{var e;return t.priority-s.priority||(null===(e=t.displayTextNameFormatted)||void 0===e?void 0:e.localeCompare(s.displayTextNameFormatted))}))}getDefaultZones(){return[this.workspaceDefault,this.localDefault,this.customDefault].filter((t=>!!t))}getDefaultZoneList(){const t=this.getDefaultZones(),s=this.timeZoneList.reduce(((s,e)=>t.includes(e.value)?s.concat([Object.assign({},e)]):s),[]);return s.forEach((t=>{this.workspaceDefault===this.localDefault?t.defaultZone=`${this.i18n("localAndWorkspaceDefault")}`:t.value===this.workspaceDefault?t.defaultZone=`${this.i18n("workspaceDefault")}`:t.value===this.localDefault&&(t.defaultZone=`${this.i18n("localDefault")}`),t.value===this.customDefault&&(t.defaultZone=`(${this.customDefaultLabel})`)})),s}renderTimeZones(t){return t.map((t=>s("gux-option",{class:{"gux-has-defaults":""!==t.defaultZone},value:t.value},s("div",{class:"gux-option-wrapper"},s("div",null,this.getFormattedTimeZoneOption(t)),s("span",{class:"gux-default-zone"},t.defaultZone)))))}renderDefaultsList(){const t=this.renderTimeZones(this.getDefaultZoneList());if(t.length)return s("gux-option-group-beta",{label:this.i18n("default")},t)}renderAllTimeZoneOptionsList(){return s("gux-option-group-beta",{label:this.i18n("all")},this.timeZoneOptionElements)}render(){return s("gux-dropdown",{key:"c34c6efd43cb91ccf3fea9b5187cbfd7f7ee9c71",class:{"has-defaults":!!this.workspaceDefault||!!this.localDefault||!!this.customDefault},"filter-type":"custom",placeholder:this.i18n("selectZone"),value:this.value,hasError:this.hasError,disabled:this.disabled},s("gux-listbox",{key:"a217c92a154dc582a90716828ee5651e7b7d6caf","aria-label":this.i18n("timeZones")},this.renderDefaultsList(),this.renderAllTimeZoneOptionsList()))}get root(){return e(this)}};l.style="gux-dropdown .zone-header{padding-block:8px 4px;padding-inline:12px;color:#6b7585;text-transform:uppercase}gux-dropdown gux-option{padding:var(--gse-ui-menu-option-padding)}gux-dropdown gux-option.gux-has-defaults{block-size:auto}gux-dropdown gux-option .gux-option-wrapper{display:flex;flex-direction:column}gux-dropdown gux-option .gux-default-zone{color:#626e84}";export{l as gux_time_zone_picker_beta}