genesys-spark-components 4.138.2 → 4.138.3

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 (361) 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 +2 -2
  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 +2 -2
  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 +2 -2
  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 +2 -2
  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 +1 -1
  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 +2 -2
  113. package/dist/cjs/gux-tooltip-pointer-beta.cjs.entry.js +1 -1
  114. package/dist/cjs/gux-tooltip_2.cjs.entry.js +2 -2
  115. package/dist/cjs/{usage-e06b6a09.js → usage-72db1c7f.js} +1 -1
  116. package/dist/collection/components/beta/gux-avatar/gux-avatar.css +3 -3
  117. package/dist/collection/components/beta/gux-calendar-beta/gux-calendar.css +1 -1
  118. package/dist/collection/components/beta/gux-popover-beta/gux-popover.css +1 -0
  119. package/dist/collection/components/beta/gux-tooltip-base/gux-tooltip-base.js +1 -1
  120. package/dist/collection/components/stable/gux-radial-loading/gux-radial-loading.css +1 -1
  121. package/dist/collection/components/stable/gux-tooltip/gux-tooltip.js +1 -1
  122. package/dist/esm/gux-accordion.entry.js +1 -1
  123. package/dist/esm/gux-action-button.entry.js +1 -1
  124. package/dist/esm/gux-action-toast-legacy.entry.js +1 -1
  125. package/dist/esm/gux-advanced-dropdown-legacy.entry.js +1 -1
  126. package/dist/esm/gux-announce-beta.entry.js +1 -1
  127. package/dist/esm/gux-avatar-beta.entry.js +2 -2
  128. package/dist/esm/gux-avatar-change-photo-beta.entry.js +1 -1
  129. package/dist/esm/gux-avatar-group-add-item-beta_3.entry.js +1 -1
  130. package/dist/esm/gux-avatar-group-beta.entry.js +1 -1
  131. package/dist/esm/gux-avatar-group-item-beta.entry.js +1 -1
  132. package/dist/esm/gux-badge.entry.js +1 -1
  133. package/dist/esm/gux-blank-state.entry.js +1 -1
  134. package/dist/esm/gux-breadcrumbs.entry.js +1 -1
  135. package/dist/esm/gux-button-multi.entry.js +1 -1
  136. package/dist/esm/gux-button-slot.entry.js +1 -1
  137. package/dist/esm/gux-button_2.entry.js +1 -1
  138. package/dist/esm/gux-calendar-beta.entry.js +2 -2
  139. package/dist/esm/gux-calendar.entry.js +1 -1
  140. package/dist/esm/gux-card.entry.js +1 -1
  141. package/dist/esm/gux-column-manager.entry.js +1 -1
  142. package/dist/esm/gux-content-search.entry.js +1 -1
  143. package/dist/esm/gux-context-menu.entry.js +1 -1
  144. package/dist/esm/gux-copy-to-clipboard.entry.js +1 -1
  145. package/dist/esm/gux-date-beta.entry.js +1 -1
  146. package/dist/esm/gux-date-time-beta.entry.js +1 -1
  147. package/dist/esm/gux-datepicker.entry.js +1 -1
  148. package/dist/esm/gux-day-beta.entry.js +1 -1
  149. package/dist/esm/gux-disclosure-button-legacy.entry.js +1 -1
  150. package/dist/esm/gux-dismiss-button.entry.js +1 -1
  151. package/dist/esm/gux-dropdown-multi.entry.js +1 -1
  152. package/dist/esm/gux-dropdown_3.entry.js +1 -1
  153. package/dist/esm/gux-file-list-item.entry.js +1 -1
  154. package/dist/esm/gux-flag-icon-beta.entry.js +1 -1
  155. package/dist/esm/gux-flyout-menu.entry.js +1 -1
  156. package/dist/esm/gux-form-field-checkbox-group-beta.entry.js +1 -1
  157. package/dist/esm/gux-form-field-checkbox.entry.js +1 -1
  158. package/dist/esm/gux-form-field-color.entry.js +1 -1
  159. package/dist/esm/gux-form-field-dropdown.entry.js +1 -1
  160. package/dist/esm/gux-form-field-file-beta.entry.js +1 -1
  161. package/dist/esm/gux-form-field-file.entry.js +1 -1
  162. package/dist/esm/gux-form-field-input-clear-button.entry.js +1 -1
  163. package/dist/esm/gux-form-field-label-indicator.entry.js +1 -1
  164. package/dist/esm/gux-form-field-number_2.entry.js +1 -1
  165. package/dist/esm/gux-form-field-phone.entry.js +1 -1
  166. package/dist/esm/gux-form-field-radio-group-beta.entry.js +1 -1
  167. package/dist/esm/gux-form-field-radio.entry.js +1 -1
  168. package/dist/esm/gux-form-field-range.entry.js +1 -1
  169. package/dist/esm/gux-form-field-search.entry.js +1 -1
  170. package/dist/esm/gux-form-field-select.entry.js +1 -1
  171. package/dist/esm/gux-form-field-text-like.entry.js +1 -1
  172. package/dist/esm/gux-form-field-textarea.entry.js +1 -1
  173. package/dist/esm/gux-form-field-time-picker.entry.js +1 -1
  174. package/dist/esm/gux-form-field-time-zone-picker.entry.js +1 -1
  175. package/dist/esm/gux-form-footer.entry.js +1 -1
  176. package/dist/esm/gux-icon-tooltip-beta.entry.js +1 -1
  177. package/dist/esm/gux-icon.entry.js +1 -1
  178. package/dist/esm/gux-inline-alert.entry.js +1 -1
  179. package/dist/esm/gux-label-info-beta.entry.js +1 -1
  180. package/dist/esm/gux-link-beta.entry.js +1 -1
  181. package/dist/esm/gux-list.entry.js +1 -1
  182. package/dist/esm/gux-listbox-multi.entry.js +1 -1
  183. package/dist/esm/gux-loading-message.entry.js +1 -1
  184. package/dist/esm/gux-modal-legacy.entry.js +1 -1
  185. package/dist/esm/gux-modal-side-panel-beta.entry.js +1 -1
  186. package/dist/esm/gux-modal.entry.js +1 -1
  187. package/dist/esm/gux-month-picker-beta.entry.js +1 -1
  188. package/dist/esm/gux-notification-toast-legacy.entry.js +1 -1
  189. package/dist/esm/gux-page-loading-spinner.entry.js +1 -1
  190. package/dist/esm/gux-pagination-cursor.entry.js +1 -1
  191. package/dist/esm/gux-pagination-legacy.entry.js +1 -1
  192. package/dist/esm/gux-pagination.entry.js +1 -1
  193. package/dist/esm/gux-phone-input-beta.entry.js +1 -1
  194. package/dist/esm/gux-popover-beta.entry.js +2 -2
  195. package/dist/esm/gux-popover-list-beta.entry.js +1 -1
  196. package/dist/esm/gux-popover-list.entry.js +1 -1
  197. package/dist/esm/gux-radial-loading.entry.js +2 -2
  198. package/dist/esm/gux-radial-progress.entry.js +1 -1
  199. package/dist/esm/gux-rating.entry.js +1 -1
  200. package/dist/esm/gux-rich-highlight-list-item.entry.js +1 -1
  201. package/dist/esm/gux-rich-style-list-item_3.entry.js +1 -1
  202. package/dist/esm/gux-rich-text-editor-action-link.entry.js +1 -1
  203. package/dist/esm/gux-rich-text-editor-action-rich-style.entry.js +1 -1
  204. package/dist/esm/gux-rich-text-editor-action-text-highlight.entry.js +1 -1
  205. package/dist/esm/gux-rich-text-editor-action.entry.js +1 -1
  206. package/dist/esm/gux-rich-text-editor-beta.entry.js +1 -1
  207. package/dist/esm/gux-rich-text-editor-list.entry.js +1 -1
  208. package/dist/esm/gux-screen-reader-beta.entry.js +1 -1
  209. package/dist/esm/gux-segmented-control-beta.entry.js +1 -1
  210. package/dist/esm/gux-selector-card-beta.entry.js +1 -1
  211. package/dist/esm/gux-selector-cards-beta.entry.js +1 -1
  212. package/dist/esm/gux-side-panel-beta.entry.js +1 -1
  213. package/dist/esm/gux-side-panel-heading.entry.js +1 -1
  214. package/dist/esm/gux-simple-toast-legacy.entry.js +1 -1
  215. package/dist/esm/gux-skip-navigation-list.entry.js +1 -1
  216. package/dist/esm/gux-sort-control.entry.js +1 -1
  217. package/dist/esm/gux-switch-legacy.entry.js +1 -1
  218. package/dist/esm/gux-table-toolbar-action.entry.js +1 -1
  219. package/dist/esm/gux-table-toolbar-custom-action.entry.js +1 -1
  220. package/dist/esm/gux-table-toolbar-menu-button.entry.js +1 -1
  221. package/dist/esm/gux-table-toolbar.entry.js +1 -1
  222. package/dist/esm/gux-table.entry.js +1 -1
  223. package/dist/esm/gux-tabs-advanced.entry.js +1 -1
  224. package/dist/esm/gux-tabs.entry.js +1 -1
  225. package/dist/esm/gux-tag.entry.js +1 -1
  226. package/dist/esm/gux-text-highlight.entry.js +1 -1
  227. package/dist/esm/gux-time-beta.entry.js +1 -1
  228. package/dist/esm/gux-time-picker.entry.js +1 -1
  229. package/dist/esm/gux-time-zone-beta.entry.js +1 -1
  230. package/dist/esm/gux-time-zone-picker-beta.entry.js +1 -1
  231. package/dist/esm/gux-toast.entry.js +1 -1
  232. package/dist/esm/gux-toggle.entry.js +1 -1
  233. package/dist/esm/gux-tooltip-base-beta_2.entry.js +2 -2
  234. package/dist/esm/gux-tooltip-pointer-beta.entry.js +1 -1
  235. package/dist/esm/gux-tooltip_2.entry.js +2 -2
  236. package/dist/esm/{usage-c3cd0c00.js → usage-d1429172.js} +1 -1
  237. package/dist/genesys-webcomponents/genesys-webcomponents.esm.js +1 -1
  238. package/dist/genesys-webcomponents/{p-348ec479.entry.js → p-0062e044.entry.js} +1 -1
  239. package/dist/genesys-webcomponents/{p-9d3d5116.entry.js → p-0301c957.entry.js} +1 -1
  240. package/dist/genesys-webcomponents/p-049aa9dc.entry.js +1 -0
  241. package/dist/genesys-webcomponents/{p-340e339e.entry.js → p-04a9f678.entry.js} +1 -1
  242. package/dist/genesys-webcomponents/{p-111789c7.entry.js → p-04c4fe9f.entry.js} +1 -1
  243. package/dist/genesys-webcomponents/{p-ddcb5255.entry.js → p-05280559.entry.js} +1 -1
  244. package/dist/genesys-webcomponents/{p-39e64d9a.entry.js → p-078976df.entry.js} +1 -1
  245. package/dist/genesys-webcomponents/{p-e2e786d9.entry.js → p-0b43d368.entry.js} +1 -1
  246. package/dist/genesys-webcomponents/{p-8d7e07a4.entry.js → p-0c3ec001.entry.js} +1 -1
  247. package/dist/genesys-webcomponents/{p-acf1b535.entry.js → p-0c4b26e7.entry.js} +1 -1
  248. package/dist/genesys-webcomponents/{p-aba21416.entry.js → p-0ca70238.entry.js} +1 -1
  249. package/dist/genesys-webcomponents/{p-32025f38.entry.js → p-0dd4990b.entry.js} +1 -1
  250. package/dist/genesys-webcomponents/{p-9e3a26d4.entry.js → p-0e9194ae.entry.js} +1 -1
  251. package/dist/genesys-webcomponents/{p-746ca859.entry.js → p-1216cf81.entry.js} +1 -1
  252. package/dist/genesys-webcomponents/{p-9e15fbab.entry.js → p-16bf82fa.entry.js} +1 -1
  253. package/dist/genesys-webcomponents/{p-83a152f7.entry.js → p-1736e521.entry.js} +1 -1
  254. package/dist/genesys-webcomponents/{p-4ed37e74.entry.js → p-182c74fc.entry.js} +1 -1
  255. package/dist/genesys-webcomponents/{p-38f4de71.entry.js → p-1f4a3632.entry.js} +1 -1
  256. package/dist/genesys-webcomponents/{p-6cc12fae.entry.js → p-1f7e2cd3.entry.js} +1 -1
  257. package/dist/genesys-webcomponents/{p-72d15c77.entry.js → p-24e1e280.entry.js} +1 -1
  258. package/dist/genesys-webcomponents/{p-43c731d0.entry.js → p-28563aa8.entry.js} +1 -1
  259. package/dist/genesys-webcomponents/{p-587a2bc4.entry.js → p-316f3158.entry.js} +1 -1
  260. package/dist/genesys-webcomponents/p-32d0ba47.entry.js +1 -0
  261. package/dist/genesys-webcomponents/{p-133f8124.entry.js → p-35a77cc9.entry.js} +1 -1
  262. package/dist/genesys-webcomponents/{p-66f2cb44.entry.js → p-37edb8e5.entry.js} +1 -1
  263. package/dist/genesys-webcomponents/{p-4134fa64.entry.js → p-3a2d2349.entry.js} +1 -1
  264. package/dist/genesys-webcomponents/{p-ec815012.entry.js → p-3a646571.entry.js} +1 -1
  265. package/dist/genesys-webcomponents/{p-a57f2fa4.entry.js → p-3af72f54.entry.js} +1 -1
  266. package/dist/genesys-webcomponents/{p-b83601dd.entry.js → p-3c104307.entry.js} +1 -1
  267. package/dist/genesys-webcomponents/{p-0858c5d5.entry.js → p-3e0d6e08.entry.js} +1 -1
  268. package/dist/genesys-webcomponents/{p-e8a6a1bc.entry.js → p-3fcfd30d.entry.js} +1 -1
  269. package/dist/genesys-webcomponents/{p-0c9932d4.entry.js → p-42d7f553.entry.js} +1 -1
  270. package/dist/genesys-webcomponents/{p-d308aed2.entry.js → p-42fd8ae9.entry.js} +1 -1
  271. package/dist/genesys-webcomponents/{p-3b3c40ad.entry.js → p-506e3dbc.entry.js} +1 -1
  272. package/dist/genesys-webcomponents/{p-79582a43.entry.js → p-51162c55.entry.js} +1 -1
  273. package/dist/genesys-webcomponents/{p-a2659047.entry.js → p-51c41c74.entry.js} +1 -1
  274. package/dist/genesys-webcomponents/{p-0420397a.entry.js → p-51c6b14b.entry.js} +1 -1
  275. package/dist/genesys-webcomponents/{p-987fbade.entry.js → p-51d6c0fb.entry.js} +1 -1
  276. package/dist/genesys-webcomponents/{p-5cc173c2.entry.js → p-52e5f86b.entry.js} +1 -1
  277. package/dist/genesys-webcomponents/{p-8c240ad2.entry.js → p-594bd333.entry.js} +1 -1
  278. package/dist/genesys-webcomponents/{p-4967539e.entry.js → p-5e7c82bb.entry.js} +1 -1
  279. package/dist/genesys-webcomponents/{p-8b0fe0b6.entry.js → p-5f010cbf.entry.js} +1 -1
  280. package/dist/genesys-webcomponents/{p-ea2367f3.entry.js → p-5fd477be.entry.js} +1 -1
  281. package/dist/genesys-webcomponents/{p-a73dccd8.entry.js → p-6b384dfe.entry.js} +1 -1
  282. package/dist/genesys-webcomponents/{p-8acb91aa.entry.js → p-6e1bc83e.entry.js} +1 -1
  283. package/dist/genesys-webcomponents/{p-4604302c.entry.js → p-6ea77c3f.entry.js} +1 -1
  284. package/dist/genesys-webcomponents/{p-38843c1e.entry.js → p-6f11ea8a.entry.js} +1 -1
  285. package/dist/genesys-webcomponents/{p-bd947c75.entry.js → p-6ff8bfd0.entry.js} +1 -1
  286. package/dist/genesys-webcomponents/{p-fd7e528c.entry.js → p-7343f477.entry.js} +1 -1
  287. package/dist/genesys-webcomponents/{p-aa9afbe6.entry.js → p-785da8b2.entry.js} +1 -1
  288. package/dist/genesys-webcomponents/{p-91928b63.entry.js → p-79541549.entry.js} +1 -1
  289. package/dist/genesys-webcomponents/{p-2f8e672a.entry.js → p-7c83d992.entry.js} +1 -1
  290. package/dist/genesys-webcomponents/{p-cffa4906.entry.js → p-7cd6ceb1.entry.js} +1 -1
  291. package/dist/genesys-webcomponents/{p-309a3216.entry.js → p-7dc58f4e.entry.js} +1 -1
  292. package/dist/genesys-webcomponents/{p-d44d57f2.entry.js → p-8200c5b2.entry.js} +1 -1
  293. package/dist/genesys-webcomponents/{p-949a75e6.entry.js → p-87f5de30.entry.js} +1 -1
  294. package/dist/genesys-webcomponents/{p-c2645c4f.entry.js → p-8819a05a.entry.js} +1 -1
  295. package/dist/genesys-webcomponents/{p-855e9ced.entry.js → p-8fadc28a.entry.js} +1 -1
  296. package/dist/genesys-webcomponents/{p-16e9fcc3.entry.js → p-913857ed.entry.js} +1 -1
  297. package/dist/genesys-webcomponents/{p-3be9abee.entry.js → p-95ad5a8b.entry.js} +1 -1
  298. package/dist/genesys-webcomponents/{p-0f826c3e.entry.js → p-97398182.entry.js} +1 -1
  299. package/dist/genesys-webcomponents/{p-e1bbe19e.entry.js → p-9dc1e2f0.entry.js} +1 -1
  300. package/dist/genesys-webcomponents/{p-2a8044be.entry.js → p-9e7b5db3.entry.js} +1 -1
  301. package/dist/genesys-webcomponents/{p-56a3bc97.entry.js → p-a1209cad.entry.js} +1 -1
  302. package/dist/genesys-webcomponents/{p-1ed9fa71.entry.js → p-a42d7e2d.entry.js} +1 -1
  303. package/dist/genesys-webcomponents/{p-00768df9.entry.js → p-a4484a4f.entry.js} +1 -1
  304. package/dist/genesys-webcomponents/{p-b64b966d.entry.js → p-a5ab023f.entry.js} +1 -1
  305. package/dist/genesys-webcomponents/{p-4c09a53d.entry.js → p-a6273aa5.entry.js} +1 -1
  306. package/dist/genesys-webcomponents/{p-0b823000.entry.js → p-ab66e542.entry.js} +1 -1
  307. package/dist/genesys-webcomponents/{p-5e847656.entry.js → p-ac5a334c.entry.js} +1 -1
  308. package/dist/genesys-webcomponents/{p-63bd2830.entry.js → p-adbb5738.entry.js} +1 -1
  309. package/dist/genesys-webcomponents/{p-fd0c88ae.entry.js → p-aee9d919.entry.js} +1 -1
  310. package/dist/genesys-webcomponents/{p-efddf800.entry.js → p-af83b8cf.entry.js} +1 -1
  311. package/dist/genesys-webcomponents/{p-c3cfca83.entry.js → p-b1256d0d.entry.js} +1 -1
  312. package/dist/genesys-webcomponents/{p-52f86aa0.entry.js → p-b6394453.entry.js} +1 -1
  313. package/dist/genesys-webcomponents/{p-eeeeff39.entry.js → p-b649e9fb.entry.js} +1 -1
  314. package/dist/genesys-webcomponents/{p-56ac2b6f.entry.js → p-b667e75c.entry.js} +1 -1
  315. package/dist/genesys-webcomponents/{p-8cef1d17.entry.js → p-b6a3ca93.entry.js} +1 -1
  316. package/dist/genesys-webcomponents/{p-d2318610.entry.js → p-b89345e6.entry.js} +1 -1
  317. package/dist/genesys-webcomponents/{p-b593ba74.entry.js → p-b994e450.entry.js} +1 -1
  318. package/dist/genesys-webcomponents/{p-504dab7e.entry.js → p-ba5a5a6c.entry.js} +1 -1
  319. package/dist/genesys-webcomponents/{p-d0277a10.entry.js → p-c22e89e1.entry.js} +1 -1
  320. package/dist/genesys-webcomponents/{p-0656bfbe.entry.js → p-c34db689.entry.js} +1 -1
  321. package/dist/genesys-webcomponents/{p-208a9f6b.entry.js → p-c6bfc5f5.entry.js} +1 -1
  322. package/dist/genesys-webcomponents/{p-2207554a.entry.js → p-c8d5e0c1.entry.js} +1 -1
  323. package/dist/genesys-webcomponents/{p-ec5b00d9.entry.js → p-cc47d406.entry.js} +1 -1
  324. package/dist/genesys-webcomponents/{p-95237bcb.entry.js → p-cd310319.entry.js} +1 -1
  325. package/dist/genesys-webcomponents/{p-735e957d.entry.js → p-ce6d2a86.entry.js} +1 -1
  326. package/dist/genesys-webcomponents/{p-8af862d6.entry.js → p-cebf9948.entry.js} +1 -1
  327. package/dist/genesys-webcomponents/{p-62e93449.entry.js → p-cf416abb.entry.js} +1 -1
  328. package/dist/genesys-webcomponents/{p-933f3919.entry.js → p-d025b5a7.entry.js} +1 -1
  329. package/dist/genesys-webcomponents/p-d3d52f1d.entry.js +1 -0
  330. package/dist/genesys-webcomponents/{p-05076617.entry.js → p-d533f1df.entry.js} +1 -1
  331. package/dist/genesys-webcomponents/{p-2df5689f.entry.js → p-d53c034e.entry.js} +1 -1
  332. package/dist/genesys-webcomponents/{p-f08fb315.entry.js → p-d5d8a265.entry.js} +1 -1
  333. package/dist/genesys-webcomponents/{p-607cbbc9.entry.js → p-d6bad31d.entry.js} +1 -1
  334. package/dist/genesys-webcomponents/{p-d919fcd4.entry.js → p-d808fd9e.entry.js} +1 -1
  335. package/dist/genesys-webcomponents/{p-2cf2eef9.entry.js → p-db3894bd.entry.js} +1 -1
  336. package/dist/genesys-webcomponents/{p-03bbb10e.entry.js → p-decd0123.entry.js} +1 -1
  337. package/dist/genesys-webcomponents/{p-5f1bcf3b.entry.js → p-e55ae897.entry.js} +1 -1
  338. package/dist/genesys-webcomponents/{p-64da953f.entry.js → p-e56b0528.entry.js} +1 -1
  339. package/dist/genesys-webcomponents/{p-fc3b9b4b.entry.js → p-eba0f170.entry.js} +1 -1
  340. package/dist/genesys-webcomponents/{p-a571a361.entry.js → p-ebdbd0e9.entry.js} +1 -1
  341. package/dist/genesys-webcomponents/{p-2b52643b.entry.js → p-ec285984.entry.js} +1 -1
  342. package/dist/genesys-webcomponents/{p-95d629d3.entry.js → p-ecdd5f34.entry.js} +1 -1
  343. package/dist/genesys-webcomponents/{p-411bc309.entry.js → p-ed20979b.entry.js} +1 -1
  344. package/dist/genesys-webcomponents/{p-4556d72f.entry.js → p-ee12c3aa.entry.js} +1 -1
  345. package/dist/genesys-webcomponents/{p-5c305bcd.entry.js → p-f011d985.entry.js} +1 -1
  346. package/dist/genesys-webcomponents/{p-7cec65aa.entry.js → p-f0ba98a9.entry.js} +1 -1
  347. package/dist/genesys-webcomponents/{p-902659d1.entry.js → p-f1d24d09.entry.js} +1 -1
  348. package/dist/genesys-webcomponents/{p-74437e8f.js → p-f2226f29.js} +1 -1
  349. package/dist/genesys-webcomponents/{p-8233df36.entry.js → p-f3731ffd.entry.js} +1 -1
  350. package/dist/genesys-webcomponents/{p-2e85b7b3.entry.js → p-f5486999.entry.js} +1 -1
  351. package/dist/genesys-webcomponents/{p-30eb0292.entry.js → p-fa991dd8.entry.js} +1 -1
  352. package/dist/genesys-webcomponents/{p-3eec985a.entry.js → p-ff935525.entry.js} +1 -1
  353. package/dist/stencil-wrapper.js +1 -1
  354. package/dist/types/stencil-wrapper.d.ts +1 -1
  355. package/package.json +1 -1
  356. package/dist/genesys-webcomponents/p-0b5bcd84.entry.js +0 -1
  357. package/dist/genesys-webcomponents/p-79855499.entry.js +0 -1
  358. package/dist/genesys-webcomponents/p-d3b37155.entry.js +0 -1
  359. /package/dist/cjs/{index.umd-bb1164bf.js → index.umd-a5a02a20.js} +0 -0
  360. /package/dist/esm/{index.umd-8788765f.js → index.umd-376b6272.js} +0 -0
  361. /package/dist/genesys-webcomponents/{p-3958682f.js → p-caaa28df.js} +0 -0
@@ -1 +1 @@
1
- import{r as e,f as o,h as t,g as r}from"./p-cf74fd3d.js";import{c as i,o as n}from"./p-f4751a15.js";import{O as l}from"./p-946c70b7.js";import{o as a}from"./p-6b12dd16.js";import{p as s}from"./p-a11d5d42.js";import{h as f}from"./p-6d8b4027.js";import{a as u,G as d}from"./p-25141c4d.js";import{G as p,a as g}from"./p-bd1d4fac.js";import{h as c,c as h,g as m,v as b,a as x}from"./p-4aaf349e.js";import{t as v}from"./p-74437e8f.js";import{f as C}from"./p-54822e3b.js";import"./p-0934300e.js";import"./p-8eaf8caf.js";import"./p-2c25e2f2.js";const y=class{constructor(o){e(this,o),this.indicatorMark="required",this.computedLabelPosition="above",this.clearable=!0,this.hasContent=!1,this.hasError=!1,this.hasHelp=!1}onMutation(){this.labelInfo=this.root.querySelector("[slot=label-info]"),this.hasError=f(this.root,"error"),this.hasHelp=f(this.root,"help")}handleKeyup(e){var o,t;"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===(t=this.labelInfo)||void 0===t||t.hideTooltip(),clearTimeout(this.hideLabelInfoTimeout))}onFocusout(){var e;null===(e=this.labelInfo)||void 0===e||e.hideTooltip(),clearTimeout(this.hideLabelInfoTimeout)}async guxForceUpdate(){this.hasContent=c(this.input),this.hasError=f(this.root,"error"),this.hasHelp=f(this.root,"help"),o(this.root)}componentWillLoad(){this.setInput(),this.setLabel(),this.labelInfo=this.root.querySelector("[slot=label-info]"),this.hasError=f(this.root,"error"),this.hasHelp=f(this.root,"help"),v(this.root,{variant:this.variant})}disconnectedCallback(){this.disabledObserver&&this.disabledObserver.disconnect(),this.requiredObserver&&this.requiredObserver.disconnect()}render(){return t(g,{key:"d21f47e4158e59f11cc18bfc62f2cd19d9940e24",labelPosition:this.computedLabelPosition},t(p,{key:"22fe759769a4fa9c403863ab4a5ba7be08340309",required:this.required,position:this.computedLabelPosition},t("slot",{key:"3f236d73ea44814cb72c5a8e5a52fb20bbe22773",name:"label",onSlotchange:()=>this.setLabel()}),t("gux-form-field-label-indicator",{key:"896993f043090714466313b4539cb7ba237e78d7",variant:this.indicatorMark,required:this.required}),t("slot",{key:"281fffdbad31a072ca3d6d108a088fa390af7aa7",name:"label-info"})),t("div",{key:"f41c6d4ee5fceb465944e16c16faed671a2dc03e",class:"gux-input-and-error-container"},t("div",{key:"693527c71e04622714b3e64acf728fdafa22276c",class:{"gux-input":!0,"gux-input-error":this.hasError}},t("div",{key:"a5eb2409440cba119537ba4772318144f5d66688",class:{"gux-input-container":!0,"gux-disabled":this.disabled},onClick:()=>C(this.input)},t("gux-icon",{key:"5ca4d4208a06bddf0e9c8e0fea0a65a18908260f","icon-name":"fa/magnifying-glass-regular",decorative:!0,size:"small"}),t("slot",{key:"882532bcc88a3e6ef3717830bbc8c6765d85e165",name:"input"}),this.clearable&&this.hasContent&&!this.disabled&&t("gux-form-field-input-clear-button",{key:"75d3ae2eb0ac068d0e9c7c49b912cd05656dcfad",onClick:()=>h(this.input)}))),t(u,{key:"bfb2321a37d5e69873fc3535c4f9d19acd97f2b9",show:this.hasError},t("slot",{key:"640f29901bb289db2e4fd96db23360936080be67",name:"error"})),t(d,{key:"59f102e5ffdf520f1fc78a6d28767dbdd6e2bafe",show:!this.hasError&&this.hasHelp},t("slot",{key:"2aa34602b6bdaaa24298e2921ef4b3319bacd853",name:"help"}))))}get variant(){const e=this.labelPosition?this.labelPosition.toLowerCase():"none";return`${this.input.getAttribute("type")}-${e}`}setInput(){this.input=m(this.root,'input[type="search"][slot="input"]'),this.hasContent=c(this.input),s(this.input),this.input.addEventListener("input",(()=>{this.hasContent=c(this.input)})),this.disabled=i(this.input),this.required=this.input.required,this.disabledObserver=n(this.input,(e=>{this.disabled=e})),this.requiredObserver=a(this.input,(e=>{this.required=e})),b(this.root,this.input)}setLabel(){this.label=this.root.querySelector('label[slot="label"]'),this.computedLabelPosition=x(this.label,this.labelPosition)}get root(){return r(this)}};(function(e,o,t,r){var i,n=arguments.length,l=n<3?o:null===r?r=Object.getOwnPropertyDescriptor(o,t):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)l=Reflect.decorate(e,o,t,r);else for(var a=e.length-1;a>=0;a--)(i=e[a])&&(l=(n<3?i(l):n>3?i(o,t,l):i(o,t))||l);n>3&&l&&Object.defineProperty(o,t,l)})([l({childList:!0,subtree:!0})],y.prototype,"onMutation",null),y.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(input){flex:1 1 auto;align-self:auto;order:0;inline-size:100%;overflow:hidden;text-overflow:ellipsis;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);outline:none;background-color:var(--gse-ui-formControl-input-backgroundColor);border:none}::slotted(input)::placeholder{color:var(--gse-ui-formControl-input-placeholderColor);opacity:1}.gux-input-and-error-container{flex-grow:1}.gux-input-and-error-container .gux-input{display:flex;flex-direction:row;flex-wrap:nowrap;align-content:stretch;align-items:center}.gux-input-and-error-container .gux-input .gux-input-container{box-sizing:border-box;display:flex;flex:1 1 auto;flex-direction:row;flex-wrap:nowrap;gap:var(--gse-ui-formControl-input-gap);place-content:stretch center;align-items:center;align-self:auto;order:0;inline-size:100%;block-size:var(--gse-ui-formControl-input-textfield-height);padding:var(--gse-ui-formControl-input-padding);font-family:var(--gse-ui-formControl-input-contentText-fontFamily);font-size:var(--gse-ui-formControl-input-contentText-fontSize);font-weight:var(--gse-ui-formControl-input-contentText-fontWeight);line-height:var(--gse-ui-formControl-input-contentText-lineHeight);color:var(--gse-ui-formControl-input-populatedColor);cursor:text;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{cursor:default;opacity:var(--gse-ui-formControl-input-disabled-opacity)}.gux-input-and-error-container .gux-input .gux-input-container gux-icon[icon-name="fa/magnifying-glass-regular"]{flex:0 0 auto;align-self:auto;order:0;color:var(--gse-ui-formControl-input-inputIcon-defaultColor)}.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-container:hover:not(.gux-disabled){border:var(--gse-ui-formControl-input-hover-border-width) var(--gse-ui-formControl-input-hover-border-style) var(--gse-ui-formControl-input-hover-border-color)}.gux-input-and-error-container .gux-input.gux-input-error .gux-input-container{border-color:var(--gse-ui-formControl-input-error-border-color)}';export{y as gux_form_field_search}
1
+ import{r as e,f as o,h as t,g as r}from"./p-cf74fd3d.js";import{c as i,o as n}from"./p-f4751a15.js";import{O as l}from"./p-946c70b7.js";import{o as a}from"./p-6b12dd16.js";import{p as s}from"./p-a11d5d42.js";import{h as f}from"./p-6d8b4027.js";import{a as u,G as d}from"./p-25141c4d.js";import{G as p,a as g}from"./p-bd1d4fac.js";import{h as c,c as h,g as m,v as b,a as x}from"./p-4aaf349e.js";import{t as v}from"./p-f2226f29.js";import{f as C}from"./p-54822e3b.js";import"./p-0934300e.js";import"./p-8eaf8caf.js";import"./p-2c25e2f2.js";const y=class{constructor(o){e(this,o),this.indicatorMark="required",this.computedLabelPosition="above",this.clearable=!0,this.hasContent=!1,this.hasError=!1,this.hasHelp=!1}onMutation(){this.labelInfo=this.root.querySelector("[slot=label-info]"),this.hasError=f(this.root,"error"),this.hasHelp=f(this.root,"help")}handleKeyup(e){var o,t;"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===(t=this.labelInfo)||void 0===t||t.hideTooltip(),clearTimeout(this.hideLabelInfoTimeout))}onFocusout(){var e;null===(e=this.labelInfo)||void 0===e||e.hideTooltip(),clearTimeout(this.hideLabelInfoTimeout)}async guxForceUpdate(){this.hasContent=c(this.input),this.hasError=f(this.root,"error"),this.hasHelp=f(this.root,"help"),o(this.root)}componentWillLoad(){this.setInput(),this.setLabel(),this.labelInfo=this.root.querySelector("[slot=label-info]"),this.hasError=f(this.root,"error"),this.hasHelp=f(this.root,"help"),v(this.root,{variant:this.variant})}disconnectedCallback(){this.disabledObserver&&this.disabledObserver.disconnect(),this.requiredObserver&&this.requiredObserver.disconnect()}render(){return t(g,{key:"d21f47e4158e59f11cc18bfc62f2cd19d9940e24",labelPosition:this.computedLabelPosition},t(p,{key:"22fe759769a4fa9c403863ab4a5ba7be08340309",required:this.required,position:this.computedLabelPosition},t("slot",{key:"3f236d73ea44814cb72c5a8e5a52fb20bbe22773",name:"label",onSlotchange:()=>this.setLabel()}),t("gux-form-field-label-indicator",{key:"896993f043090714466313b4539cb7ba237e78d7",variant:this.indicatorMark,required:this.required}),t("slot",{key:"281fffdbad31a072ca3d6d108a088fa390af7aa7",name:"label-info"})),t("div",{key:"f41c6d4ee5fceb465944e16c16faed671a2dc03e",class:"gux-input-and-error-container"},t("div",{key:"693527c71e04622714b3e64acf728fdafa22276c",class:{"gux-input":!0,"gux-input-error":this.hasError}},t("div",{key:"a5eb2409440cba119537ba4772318144f5d66688",class:{"gux-input-container":!0,"gux-disabled":this.disabled},onClick:()=>C(this.input)},t("gux-icon",{key:"5ca4d4208a06bddf0e9c8e0fea0a65a18908260f","icon-name":"fa/magnifying-glass-regular",decorative:!0,size:"small"}),t("slot",{key:"882532bcc88a3e6ef3717830bbc8c6765d85e165",name:"input"}),this.clearable&&this.hasContent&&!this.disabled&&t("gux-form-field-input-clear-button",{key:"75d3ae2eb0ac068d0e9c7c49b912cd05656dcfad",onClick:()=>h(this.input)}))),t(u,{key:"bfb2321a37d5e69873fc3535c4f9d19acd97f2b9",show:this.hasError},t("slot",{key:"640f29901bb289db2e4fd96db23360936080be67",name:"error"})),t(d,{key:"59f102e5ffdf520f1fc78a6d28767dbdd6e2bafe",show:!this.hasError&&this.hasHelp},t("slot",{key:"2aa34602b6bdaaa24298e2921ef4b3319bacd853",name:"help"}))))}get variant(){const e=this.labelPosition?this.labelPosition.toLowerCase():"none";return`${this.input.getAttribute("type")}-${e}`}setInput(){this.input=m(this.root,'input[type="search"][slot="input"]'),this.hasContent=c(this.input),s(this.input),this.input.addEventListener("input",(()=>{this.hasContent=c(this.input)})),this.disabled=i(this.input),this.required=this.input.required,this.disabledObserver=n(this.input,(e=>{this.disabled=e})),this.requiredObserver=a(this.input,(e=>{this.required=e})),b(this.root,this.input)}setLabel(){this.label=this.root.querySelector('label[slot="label"]'),this.computedLabelPosition=x(this.label,this.labelPosition)}get root(){return r(this)}};(function(e,o,t,r){var i,n=arguments.length,l=n<3?o:null===r?r=Object.getOwnPropertyDescriptor(o,t):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)l=Reflect.decorate(e,o,t,r);else for(var a=e.length-1;a>=0;a--)(i=e[a])&&(l=(n<3?i(l):n>3?i(o,t,l):i(o,t))||l);n>3&&l&&Object.defineProperty(o,t,l)})([l({childList:!0,subtree:!0})],y.prototype,"onMutation",null),y.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(input){flex:1 1 auto;align-self:auto;order:0;inline-size:100%;overflow:hidden;text-overflow:ellipsis;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);outline:none;background-color:var(--gse-ui-formControl-input-backgroundColor);border:none}::slotted(input)::placeholder{color:var(--gse-ui-formControl-input-placeholderColor);opacity:1}.gux-input-and-error-container{flex-grow:1}.gux-input-and-error-container .gux-input{display:flex;flex-direction:row;flex-wrap:nowrap;align-content:stretch;align-items:center}.gux-input-and-error-container .gux-input .gux-input-container{box-sizing:border-box;display:flex;flex:1 1 auto;flex-direction:row;flex-wrap:nowrap;gap:var(--gse-ui-formControl-input-gap);place-content:stretch center;align-items:center;align-self:auto;order:0;inline-size:100%;block-size:var(--gse-ui-formControl-input-textfield-height);padding:var(--gse-ui-formControl-input-padding);font-family:var(--gse-ui-formControl-input-contentText-fontFamily);font-size:var(--gse-ui-formControl-input-contentText-fontSize);font-weight:var(--gse-ui-formControl-input-contentText-fontWeight);line-height:var(--gse-ui-formControl-input-contentText-lineHeight);color:var(--gse-ui-formControl-input-populatedColor);cursor:text;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{cursor:default;opacity:var(--gse-ui-formControl-input-disabled-opacity)}.gux-input-and-error-container .gux-input .gux-input-container gux-icon[icon-name="fa/magnifying-glass-regular"]{flex:0 0 auto;align-self:auto;order:0;color:var(--gse-ui-formControl-input-inputIcon-defaultColor)}.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-container:hover:not(.gux-disabled){border:var(--gse-ui-formControl-input-hover-border-width) var(--gse-ui-formControl-input-hover-border-style) var(--gse-ui-formControl-input-hover-border-color)}.gux-input-and-error-container .gux-input.gux-input-error .gux-input-container{border-color:var(--gse-ui-formControl-input-error-border-color)}';export{y as gux_form_field_search}
@@ -1 +1 @@
1
- import{r as t,h as s,H as e,g as i}from"./p-cf74fd3d.js";import{t as r}from"./p-74437e8f.js";import{D as a,g as o}from"./p-8e7bc8d5.js";import{d as h,a as m}from"./p-13d8a42a.js";import{u as p}from"./p-c36d332b.js";import{g as d}from"./p-e5e644b3.js";import"./p-43af726d.js";import"./p-4202e9f2.js";const n=class{constructor(s){t(this,s),this.hasRegionalDatesCookie=!1,this.datetime=(new Date).toISOString(),this.format="short"}componentWillLoad(){r(this.root),p()?this.hasRegionalDatesCookie=!0:this.formatter=new a(d(this.root))}renderDateTime(){return this.hasRegionalDatesCookie?h(m(this.root),{dateStyle:this.format,timeStyle:this.format,timeZone:o(this.timeZone)}).format(new Date(this.datetime)):this.formatter.formatDateTime(new Date(this.datetime),this.format,{timeZone:o(this.timeZone)})}render(){return s(e,{key:"225dd061be97e285818fd2cc95dc91f3ab8caad3"},this.renderDateTime())}get root(){return i(this)}};export{n as gux_date_time_beta}
1
+ import{r as t,h as s,H as e,g as i}from"./p-cf74fd3d.js";import{t as r}from"./p-f2226f29.js";import{D as a,g as o}from"./p-8e7bc8d5.js";import{d as h,a as m}from"./p-13d8a42a.js";import{u as p}from"./p-c36d332b.js";import{g as d}from"./p-e5e644b3.js";import"./p-43af726d.js";import"./p-4202e9f2.js";const n=class{constructor(s){t(this,s),this.hasRegionalDatesCookie=!1,this.datetime=(new Date).toISOString(),this.format="short"}componentWillLoad(){r(this.root),p()?this.hasRegionalDatesCookie=!0:this.formatter=new a(d(this.root))}renderDateTime(){return this.hasRegionalDatesCookie?h(m(this.root),{dateStyle:this.format,timeStyle:this.format,timeZone:o(this.timeZone)}).format(new Date(this.datetime)):this.formatter.formatDateTime(new Date(this.datetime),this.format,{timeZone:o(this.timeZone)})}render(){return s(e,{key:"225dd061be97e285818fd2cc95dc91f3ab8caad3"},this.renderDateTime())}get root(){return i(this)}};export{n as gux_date_time_beta}
@@ -1 +1 @@
1
- import{r as t,c as o,h as a,g as s}from"./p-cf74fd3d.js";import{t as e}from"./p-74437e8f.js";import{h as i}from"./p-6d8b4027.js";import{a as n}from"./p-8eaf8caf.js";const r=class{constructor(a){t(this,a),this.guxdismiss=o(this,"guxdismiss",7),this.toastType="success",this.hasLink=!1,this.hasPrimaryButton=!1,this.hasSecondaryButton=!1}componentWillLoad(){e(this.root,{variant:this.toastType}),this.hasPrimaryButton=i(this.root,"primary-button"),this.hasSecondaryButton=i(this.root,"secondary-button"),this.hasLink=i(this.root,"link")}componentDidLoad(){this.checkAriaLive()}checkAriaLive(){let t=this.root.parentElement;for(;t;){if(t.hasAttribute("aria-live"))return;t=t.parentElement}n(this.root,"gux-toast must have a parent element with an `aria-live` attribute")}renderToastIcon(){switch(this.toastType){case"success":return a("gux-icon",{"icon-name":"fa/circle-check-solid",decorative:!0});case"warning":return a("gux-icon",{"icon-name":"fa/triangle-exclamation-solid",decorative:!0});case"error":return a("gux-icon",{"icon-name":"fa/hexagon-exclamation-solid",decorative:!0});case"info":return a("gux-icon",{"icon-name":"fa/circle-info-solid",decorative:!0});case"action":return a("slot",{name:"icon"})}}renderLink(){return a("div",{class:"gux-buttons-bar"},a("gux-link-beta",{standalone:!0},a("slot",{name:"link"})))}renderActions(){return a("gux-cta-group",{class:"gux-buttons-bar",align:"end"},this.hasSecondaryButton&&a("gux-button-slot",{slot:"secondary"},a("slot",{name:"secondary-button"})),a("gux-button-slot",{slot:"primary"},a("slot",{name:"primary-button"})))}render(){return a("div",{key:"25961d73356340a8c09b7c3eca35844580231495",class:`gux-toast gux-toast-${this.toastType}`},a("div",{key:"d91c94b9ee5d82bdb90e52f5655192ef24c4d636",class:`gux-icon gux-icon-${this.toastType}`},this.renderToastIcon()),a("div",{key:"9c2953c61775b77995b591df0ab5e17f1ede2a22",class:"gux-content"},a("div",{key:"05c1207807c9be423acca1261da7ef459198db78",class:"gux-message"},a("gux-truncate",{key:"a02966c34b3864143695594f20d7ab190ad0a56d",class:"gux-message-title","max-lines":1},a("slot",{key:"2099a76aec045694b64a806b5fa09cc694d33662",name:"title"})),a("gux-truncate",{key:"dcb3ea2544dad2a9901319dcbabdce60883bde6f",class:"gux-message-body","max-lines":2},a("slot",{key:"fcb924aa6faf88c0d2e559761092660b99b4524d",name:"message"}))),"action"!==this.toastType&&this.hasLink&&this.renderLink(),"action"===this.toastType&&this.hasPrimaryButton&&this.renderActions()),a("gux-dismiss-button",{key:"201e1fa01443f0bb420c88da43a8338ecf6c9ece",position:"inherit",onClick:this.onDismissClickHandler.bind(this)}))}onDismissClickHandler(t){t.stopPropagation(),this.guxdismiss.emit().defaultPrevented||this.root.remove()}get root(){return s(this)}};r.style=".gux-toast{position:relative;display:flex;flex-direction:row;flex-wrap:nowrap;gap:var(--gse-ui-toast-gap);place-content:stretch flex-start;align-items:flex-start;inline-size:var(--gse-ui-toast-wrappingWidth);padding:var(--gse-ui-toast-margin);margin-block-end:var(--gse-ui-toast-stacking-gap);border-radius:var(--gse-ui-toast-borderRadius);box-shadow:var(--gse-ui-toast-boxShadow)}.gux-toast .gux-icon ::slotted(gux-icon){inline-size:var(--gse-ui-toast-icon) !important;block-size:var(--gse-ui-toast-icon) !important}.gux-toast .gux-icon gux-icon{inline-size:var(--gse-ui-toast-icon) !important;block-size:var(--gse-ui-toast-icon) !important}.gux-toast .gux-icon.gux-icon-error{color:var(--gse-ui-toast-error-iconColor)}.gux-toast .gux-icon.gux-icon-warning{color:var(--gse-ui-toast-warning-iconColor)}.gux-toast .gux-icon.gux-icon-success{color:var(--gse-ui-toast-success-iconColor)}.gux-toast .gux-icon.gux-icon-info{color:var(--gse-ui-toast-info-iconColor)}.gux-toast .gux-icon.gux-icon-action{color:var(--gse-ui-toast-action-iconColor)}.gux-toast .gux-content{display:flex;flex:1 1 auto;flex-direction:column;flex-wrap:nowrap;gap:var(--gse-ui-toast-gapButton);place-content:stretch flex-start;align-items:flex-start;align-self:auto;order:0}.gux-toast .gux-content .gux-message{display:flex;flex-direction:column;gap:var(--gse-ui-toast-gapText)}.gux-toast .gux-content .gux-message .gux-message-title{font-family:var(--gse-ui-toast-heading-fontFamily);font-size:var(--gse-ui-toast-heading-fontSize);font-weight:var(--gse-ui-toast-heading-fontWeight);line-height:var(--gse-ui-toast-heading-lineHeight)}.gux-toast .gux-content .gux-message .gux-message-body{font-family:var(--gse-ui-toast-text-fontFamily);font-size:var(--gse-ui-toast-text-fontSize);line-height:var(--gse-ui-toast-text-lineHeight)}.gux-toast .gux-content .gux-buttons-bar{inline-size:100%}.gux-toast.gux-toast-success{background-color:var(--gse-ui-toast-success-backgroundColor)}.gux-toast.gux-toast-success .gux-message{color:var(--gse-ui-toast-success-foregroundColor)}.gux-toast.gux-toast-warning{background-color:var(--gse-ui-toast-warning-backgroundColor)}.gux-toast.gux-toast-warning .gux-message{color:var(--gse-ui-toast-warning-foregroundColor)}.gux-toast.gux-toast-error{background-color:var(--gse-ui-toast-error-backgroundColor)}.gux-toast.gux-toast-error .gux-message{color:var(--gse-ui-toast-error-foregroundColor)}.gux-toast.gux-toast-info{background-color:var(--gse-ui-toast-info-backgroundColor)}.gux-toast.gux-toast-info .gux-message{color:var(--gse-ui-toast-info-foregroundColor)}.gux-toast.gux-toast-action{background-color:var(--gse-ui-toast-action-backgroundColor)}.gux-toast.gux-toast-action .gux-message{color:var(--gse-ui-toast-action-foregroundColor)}";export{r as gux_toast}
1
+ import{r as t,c as o,h as a,g as s}from"./p-cf74fd3d.js";import{t as e}from"./p-f2226f29.js";import{h as i}from"./p-6d8b4027.js";import{a as n}from"./p-8eaf8caf.js";const r=class{constructor(a){t(this,a),this.guxdismiss=o(this,"guxdismiss",7),this.toastType="success",this.hasLink=!1,this.hasPrimaryButton=!1,this.hasSecondaryButton=!1}componentWillLoad(){e(this.root,{variant:this.toastType}),this.hasPrimaryButton=i(this.root,"primary-button"),this.hasSecondaryButton=i(this.root,"secondary-button"),this.hasLink=i(this.root,"link")}componentDidLoad(){this.checkAriaLive()}checkAriaLive(){let t=this.root.parentElement;for(;t;){if(t.hasAttribute("aria-live"))return;t=t.parentElement}n(this.root,"gux-toast must have a parent element with an `aria-live` attribute")}renderToastIcon(){switch(this.toastType){case"success":return a("gux-icon",{"icon-name":"fa/circle-check-solid",decorative:!0});case"warning":return a("gux-icon",{"icon-name":"fa/triangle-exclamation-solid",decorative:!0});case"error":return a("gux-icon",{"icon-name":"fa/hexagon-exclamation-solid",decorative:!0});case"info":return a("gux-icon",{"icon-name":"fa/circle-info-solid",decorative:!0});case"action":return a("slot",{name:"icon"})}}renderLink(){return a("div",{class:"gux-buttons-bar"},a("gux-link-beta",{standalone:!0},a("slot",{name:"link"})))}renderActions(){return a("gux-cta-group",{class:"gux-buttons-bar",align:"end"},this.hasSecondaryButton&&a("gux-button-slot",{slot:"secondary"},a("slot",{name:"secondary-button"})),a("gux-button-slot",{slot:"primary"},a("slot",{name:"primary-button"})))}render(){return a("div",{key:"25961d73356340a8c09b7c3eca35844580231495",class:`gux-toast gux-toast-${this.toastType}`},a("div",{key:"d91c94b9ee5d82bdb90e52f5655192ef24c4d636",class:`gux-icon gux-icon-${this.toastType}`},this.renderToastIcon()),a("div",{key:"9c2953c61775b77995b591df0ab5e17f1ede2a22",class:"gux-content"},a("div",{key:"05c1207807c9be423acca1261da7ef459198db78",class:"gux-message"},a("gux-truncate",{key:"a02966c34b3864143695594f20d7ab190ad0a56d",class:"gux-message-title","max-lines":1},a("slot",{key:"2099a76aec045694b64a806b5fa09cc694d33662",name:"title"})),a("gux-truncate",{key:"dcb3ea2544dad2a9901319dcbabdce60883bde6f",class:"gux-message-body","max-lines":2},a("slot",{key:"fcb924aa6faf88c0d2e559761092660b99b4524d",name:"message"}))),"action"!==this.toastType&&this.hasLink&&this.renderLink(),"action"===this.toastType&&this.hasPrimaryButton&&this.renderActions()),a("gux-dismiss-button",{key:"201e1fa01443f0bb420c88da43a8338ecf6c9ece",position:"inherit",onClick:this.onDismissClickHandler.bind(this)}))}onDismissClickHandler(t){t.stopPropagation(),this.guxdismiss.emit().defaultPrevented||this.root.remove()}get root(){return s(this)}};r.style=".gux-toast{position:relative;display:flex;flex-direction:row;flex-wrap:nowrap;gap:var(--gse-ui-toast-gap);place-content:stretch flex-start;align-items:flex-start;inline-size:var(--gse-ui-toast-wrappingWidth);padding:var(--gse-ui-toast-margin);margin-block-end:var(--gse-ui-toast-stacking-gap);border-radius:var(--gse-ui-toast-borderRadius);box-shadow:var(--gse-ui-toast-boxShadow)}.gux-toast .gux-icon ::slotted(gux-icon){inline-size:var(--gse-ui-toast-icon) !important;block-size:var(--gse-ui-toast-icon) !important}.gux-toast .gux-icon gux-icon{inline-size:var(--gse-ui-toast-icon) !important;block-size:var(--gse-ui-toast-icon) !important}.gux-toast .gux-icon.gux-icon-error{color:var(--gse-ui-toast-error-iconColor)}.gux-toast .gux-icon.gux-icon-warning{color:var(--gse-ui-toast-warning-iconColor)}.gux-toast .gux-icon.gux-icon-success{color:var(--gse-ui-toast-success-iconColor)}.gux-toast .gux-icon.gux-icon-info{color:var(--gse-ui-toast-info-iconColor)}.gux-toast .gux-icon.gux-icon-action{color:var(--gse-ui-toast-action-iconColor)}.gux-toast .gux-content{display:flex;flex:1 1 auto;flex-direction:column;flex-wrap:nowrap;gap:var(--gse-ui-toast-gapButton);place-content:stretch flex-start;align-items:flex-start;align-self:auto;order:0}.gux-toast .gux-content .gux-message{display:flex;flex-direction:column;gap:var(--gse-ui-toast-gapText)}.gux-toast .gux-content .gux-message .gux-message-title{font-family:var(--gse-ui-toast-heading-fontFamily);font-size:var(--gse-ui-toast-heading-fontSize);font-weight:var(--gse-ui-toast-heading-fontWeight);line-height:var(--gse-ui-toast-heading-lineHeight)}.gux-toast .gux-content .gux-message .gux-message-body{font-family:var(--gse-ui-toast-text-fontFamily);font-size:var(--gse-ui-toast-text-fontSize);line-height:var(--gse-ui-toast-text-lineHeight)}.gux-toast .gux-content .gux-buttons-bar{inline-size:100%}.gux-toast.gux-toast-success{background-color:var(--gse-ui-toast-success-backgroundColor)}.gux-toast.gux-toast-success .gux-message{color:var(--gse-ui-toast-success-foregroundColor)}.gux-toast.gux-toast-warning{background-color:var(--gse-ui-toast-warning-backgroundColor)}.gux-toast.gux-toast-warning .gux-message{color:var(--gse-ui-toast-warning-foregroundColor)}.gux-toast.gux-toast-error{background-color:var(--gse-ui-toast-error-backgroundColor)}.gux-toast.gux-toast-error .gux-message{color:var(--gse-ui-toast-error-foregroundColor)}.gux-toast.gux-toast-info{background-color:var(--gse-ui-toast-info-backgroundColor)}.gux-toast.gux-toast-info .gux-message{color:var(--gse-ui-toast-info-foregroundColor)}.gux-toast.gux-toast-action{background-color:var(--gse-ui-toast-action-backgroundColor)}.gux-toast.gux-toast-action .gux-message{color:var(--gse-ui-toast-action-foregroundColor)}";export{r as gux_toast}
@@ -1 +1 @@
1
- import{r as e,h as t,g as r}from"./p-cf74fd3d.js";import{c as a}from"./p-267e2aed.js";import{t as o}from"./p-74437e8f.js";import{b as s}from"./p-e5e644b3.js";import"./p-4202e9f2.js";const i={actionRefresh:"Refresh",actionDelete:"Delete",actionExport:"Export",actionImport:"Import",actionRevert:"Revert",actionAdd:"Add"},n=class{constructor(t){e(this,t),this.accent="secondary",this.iconOnly=!1,this.disabled=!1}handleClick(e){this.disabled&&(e.preventDefault(),e.stopImmediatePropagation())}returnActionLocale(e){return this.i18n(`action${a(e)}`)}returnActionTypeIcon(e){switch(e){case"refresh":return"fa/arrows-rotate-regular";case"delete":return"fa/trash-regular";case"export":return"fa/arrow-up-from-line-regular";case"import":return"fa/file-import-regular";case"revert":return"fa/arrow-rotate-left-regular";case"add":return"fa/plus-regular";default:return"fa/square-x-regular"}}async componentWillLoad(){o(this.root,{variant:this.action}),this.i18n=await s(this.root,i)}render(){return t("gux-table-toolbar-custom-action",{key:"7275cff0eb26d84b7af1d15f29cb812770be7ced","icon-only":this.iconOnly,accent:this.accent,disabled:this.disabled},t("span",{key:"aebca288330d1bf23f156d80d42263cd217d1ae5",slot:"text"},this.returnActionLocale(this.action)),t("gux-icon",{key:"336d56282e3e3f5475d00804da7577b1ad48f2cb",slot:"icon","icon-name":this.returnActionTypeIcon(this.action),decorative:!0}))}get root(){return r(this)}};n.style=":host([disabled]){pointer-events:none}";export{n as gux_table_toolbar_action}
1
+ import{r as e,h as t,g as r}from"./p-cf74fd3d.js";import{c as a}from"./p-267e2aed.js";import{t as o}from"./p-f2226f29.js";import{b as s}from"./p-e5e644b3.js";import"./p-4202e9f2.js";const i={actionRefresh:"Refresh",actionDelete:"Delete",actionExport:"Export",actionImport:"Import",actionRevert:"Revert",actionAdd:"Add"},n=class{constructor(t){e(this,t),this.accent="secondary",this.iconOnly=!1,this.disabled=!1}handleClick(e){this.disabled&&(e.preventDefault(),e.stopImmediatePropagation())}returnActionLocale(e){return this.i18n(`action${a(e)}`)}returnActionTypeIcon(e){switch(e){case"refresh":return"fa/arrows-rotate-regular";case"delete":return"fa/trash-regular";case"export":return"fa/arrow-up-from-line-regular";case"import":return"fa/file-import-regular";case"revert":return"fa/arrow-rotate-left-regular";case"add":return"fa/plus-regular";default:return"fa/square-x-regular"}}async componentWillLoad(){o(this.root,{variant:this.action}),this.i18n=await s(this.root,i)}render(){return t("gux-table-toolbar-custom-action",{key:"7275cff0eb26d84b7af1d15f29cb812770be7ced","icon-only":this.iconOnly,accent:this.accent,disabled:this.disabled},t("span",{key:"aebca288330d1bf23f156d80d42263cd217d1ae5",slot:"text"},this.returnActionLocale(this.action)),t("gux-icon",{key:"336d56282e3e3f5475d00804da7577b1ad48f2cb",slot:"icon","icon-name":this.returnActionTypeIcon(this.action),decorative:!0}))}get root(){return r(this)}};n.style=":host([disabled]){pointer-events:none}";export{n as gux_table_toolbar_action}
@@ -1 +1 @@
1
- import{r as i,h as s,g as t}from"./p-cf74fd3d.js";import{t as e}from"./p-74437e8f.js";import{b as n}from"./p-e5e644b3.js";import"./p-4202e9f2.js";const o={dismiss:"Dismiss"},a=class{constructor(s){i(this,s),this.position="absolute",this.size="medium"}async componentWillLoad(){e(this.root,{variant:this.position}),this.i18n=await n(this.root,o)}render(){return s("gux-button-slot",{key:"a4f5661d7690d55be83e54a0da40f5b87d1f8c44",accent:"ghost",class:{"gux-inherit":"inherit"==this.position,"gux-dismiss-small":"small"==this.size}},s("button",{key:"2223786156e5c59b39b9364f5c83129dd71f714d",type:"button",title:this.i18n("dismiss")},s("div",{key:"cc8e1cfdedeb7dafffcf7875f938a9501e20eaae",class:"gux-icon-container"},s("gux-icon",{key:"1b72196d75de63a1de10f949464f891750c4efcb","icon-name":"fa/xmark-large-regular",decorative:!0,size:"small"}))))}static get delegatesFocus(){return!0}get root(){return t(this)}};a.style="gux-button-slot{position:absolute;inset-block-start:4px;inset-inline-end:4px;inline-size:var(--gse-ui-button-dismiss-medium-width);block-size:var(--gse-ui-button-dismiss-medium-height)}gux-button-slot.gux-dismiss-small{inline-size:var(--gse-ui-button-dismiss-small-width);block-size:var(--gse-ui-button-dismiss-small-height)}gux-button-slot.gux-dismiss-small button{inline-size:var(--gse-ui-button-dismiss-small-width);min-inline-size:var(--gse-ui-button-dismiss-small-width);block-size:var(--gse-ui-button-dismiss-small-height);padding:0}gux-button-slot.gux-inherit{position:inherit;inset-block-start:inherit;inset-inline-end:inherit}gux-button-slot .gux-icon-container{display:flex;flex-direction:row;flex-wrap:nowrap;place-content:stretch center;align-items:center}gux-button-slot .gux-icon-container gux-icon{flex:0 0 auto;align-self:auto;order:0;color:var(--gse-ui-dismissButton-foregroundColor)}";export{a as gux_dismiss_button}
1
+ import{r as i,h as s,g as t}from"./p-cf74fd3d.js";import{t as e}from"./p-f2226f29.js";import{b as n}from"./p-e5e644b3.js";import"./p-4202e9f2.js";const o={dismiss:"Dismiss"},a=class{constructor(s){i(this,s),this.position="absolute",this.size="medium"}async componentWillLoad(){e(this.root,{variant:this.position}),this.i18n=await n(this.root,o)}render(){return s("gux-button-slot",{key:"a4f5661d7690d55be83e54a0da40f5b87d1f8c44",accent:"ghost",class:{"gux-inherit":"inherit"==this.position,"gux-dismiss-small":"small"==this.size}},s("button",{key:"2223786156e5c59b39b9364f5c83129dd71f714d",type:"button",title:this.i18n("dismiss")},s("div",{key:"cc8e1cfdedeb7dafffcf7875f938a9501e20eaae",class:"gux-icon-container"},s("gux-icon",{key:"1b72196d75de63a1de10f949464f891750c4efcb","icon-name":"fa/xmark-large-regular",decorative:!0,size:"small"}))))}static get delegatesFocus(){return!0}get root(){return t(this)}};a.style="gux-button-slot{position:absolute;inset-block-start:4px;inset-inline-end:4px;inline-size:var(--gse-ui-button-dismiss-medium-width);block-size:var(--gse-ui-button-dismiss-medium-height)}gux-button-slot.gux-dismiss-small{inline-size:var(--gse-ui-button-dismiss-small-width);block-size:var(--gse-ui-button-dismiss-small-height)}gux-button-slot.gux-dismiss-small button{inline-size:var(--gse-ui-button-dismiss-small-width);min-inline-size:var(--gse-ui-button-dismiss-small-width);block-size:var(--gse-ui-button-dismiss-small-height);padding:0}gux-button-slot.gux-inherit{position:inherit;inset-block-start:inherit;inset-inline-end:inherit}gux-button-slot .gux-icon-container{display:flex;flex-direction:row;flex-wrap:nowrap;place-content:stretch center;align-items:center}gux-button-slot .gux-icon-container gux-icon{flex:0 0 auto;align-self:auto;order:0;color:var(--gse-ui-dismissButton-foregroundColor)}";export{a as gux_dismiss_button}
@@ -1 +1 @@
1
- import{r as e,c as s,h as a,H as i,g as t}from"./p-cf74fd3d.js";import{t as o}from"./p-74437e8f.js";const r=class{constructor(a){e(this,a),this.guxdismiss=s(this,"guxdismiss",7),this.accent="neutral"}componentWillLoad(){o(this.root,{variant:this.accent})}render(){return a(i,{key:"157ec729027a3467e254db6b592f81172a462f2e"},a("div",{key:"dbf92076c88be8e234b25faa4e6ff582082aa38f",class:`gux-icon gux-${this.accent}`},a("slot",{key:"7a83c235f3a25668879fb51053b612f863ebb6ab",name:"icon"})),a("gux-truncate",{key:"1f8981a054dae732bd85f3a866d3eb04f1303a91",class:"gux-message","max-lines":2},a("slot",{key:"29b960000f1e1acf28fa75115ed7f48d719a0580",name:"message"})),a("gux-dismiss-button",{key:"023a768ce4dd6f863e53c8d9de74455de1ca152d",class:"gux-dismiss",position:"inherit",onClick:this.onDismissClickHandler.bind(this)}))}onDismissClickHandler(e){e.stopPropagation(),this.guxdismiss.emit().defaultPrevented||this.root.remove()}get root(){return t(this)}};r.style=":host{position:relative;display:flex;flex-direction:row;flex-wrap:nowrap;place-content:stretch flex-start;align-items:flex-start;width:286px;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-icon{flex:0 1 auto;align-self:auto;order:0;padding:8px 12px 8px 16px;margin:2px 0}.gux-icon.gux-alert{color:#ea0b0b}.gux-icon.gux-warning{color:#ffae00}.gux-icon.gux-positive{color:#3c8527}.gux-icon.gux-neutral{color:#203b73}.gux-icon ::slotted(gux-icon){width:16px;height:16px}.gux-message{flex:1 1 auto;align-self:center;order:0;margin:8px 0}.gux-dismiss{margin:4px 0}";export{r as gux_simple_toast_legacy}
1
+ import{r as e,c as s,h as a,H as i,g as t}from"./p-cf74fd3d.js";import{t as o}from"./p-f2226f29.js";const r=class{constructor(a){e(this,a),this.guxdismiss=s(this,"guxdismiss",7),this.accent="neutral"}componentWillLoad(){o(this.root,{variant:this.accent})}render(){return a(i,{key:"157ec729027a3467e254db6b592f81172a462f2e"},a("div",{key:"dbf92076c88be8e234b25faa4e6ff582082aa38f",class:`gux-icon gux-${this.accent}`},a("slot",{key:"7a83c235f3a25668879fb51053b612f863ebb6ab",name:"icon"})),a("gux-truncate",{key:"1f8981a054dae732bd85f3a866d3eb04f1303a91",class:"gux-message","max-lines":2},a("slot",{key:"29b960000f1e1acf28fa75115ed7f48d719a0580",name:"message"})),a("gux-dismiss-button",{key:"023a768ce4dd6f863e53c8d9de74455de1ca152d",class:"gux-dismiss",position:"inherit",onClick:this.onDismissClickHandler.bind(this)}))}onDismissClickHandler(e){e.stopPropagation(),this.guxdismiss.emit().defaultPrevented||this.root.remove()}get root(){return t(this)}};r.style=":host{position:relative;display:flex;flex-direction:row;flex-wrap:nowrap;place-content:stretch flex-start;align-items:flex-start;width:286px;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-icon{flex:0 1 auto;align-self:auto;order:0;padding:8px 12px 8px 16px;margin:2px 0}.gux-icon.gux-alert{color:#ea0b0b}.gux-icon.gux-warning{color:#ffae00}.gux-icon.gux-positive{color:#3c8527}.gux-icon.gux-neutral{color:#203b73}.gux-icon ::slotted(gux-icon){width:16px;height:16px}.gux-message{flex:1 1 auto;align-self:center;order:0;margin:8px 0}.gux-dismiss{margin:4px 0}";export{r as gux_simple_toast_legacy}
@@ -1 +1 @@
1
- import{a as e,r,h as a,g as l}from"./p-cf74fd3d.js";import{t as o}from"./p-74437e8f.js";import{l as s}from"./p-8eaf8caf.js";const t=["fa/arrow-left-to-line-solid","fa/arrow-right-to-line-solid"],u={"8x8":"custom/8x8","8x8-alt":"custom/8x8-solid",add:"fa/plus-regular","add-circle":"fa/circle-plus-regular",agent:"fa/head-side-headphones-regular","agent-circle":"custom/circle-head-side-headphones-regular","agent-group":"fa/people-group-regular","alert-info":"fa/circle-info-regular","alert-success":"deprecated/fa/circle-check-regular","alert-warning-octogon":"fa/hexagon-exclamation-regular","alert-warning-triangle":"fa/triangle-exclamation-regular",android:"fa/android","app-chart":"fa/square-poll-vertical-regular","app-generic":"fa/browser-regular","app-layout":"fa/table-layout-regular","app-table":"fa/table-regular",apple:"fa/apple",archive:"fa/box-archive-regular","arrow-down":"fa/arrow-down-regular","arrow-down-left":"fa/arrow-down-left-regular","arrow-down-right":"fa/arrow-down-right-regular","arrow-left":"fa/arrow-left-regular","arrow-right":"fa/arrow-right-regular","arrow-solid-down":"fa/caret-down-solid","arrow-solid-left":"fa/caret-left-solid","arrow-solid-right":"fa/caret-right-solid","arrow-solid-up":"fa/caret-up-solid","arrow-up":"fa/arrow-up-regular","arrow-up-left":"fa/arrow-up-left-regular","arrow-up-right":"fa/arrow-up-right-regular",at:"fa/at-regular",attachment:"fa/paperclip-regular",backspace:"fa/delete-left-regular","badge-amount":"fa/circle-0-solid","badge-check":"fa/circle-check-solid","badge-edit":"fa/pen-circle-regular","badge-file":"deprecated/badge-file","badge-pause":"fa/circle-pause-solid","badge-x":"fa/circle-xmark-solid","ban-outline":"deprecated/fa/ban-regular",bell:"fa/bell-regular",bolt:"fa/bolt-regular",bot:"fa/robot-regular",branch:"fa/code-branch-regular",bug:"fa/bug-regular",bus:"fa/bus-simple-regular",calendar:"fa/calendar-regular","calendar-add":"fa/calendar-plus-regular","calendar-clock":"fa/calendar-clock-regular",campaign:"fa/bullhorn-regular",certificate:"fa/file-certificate-regular",chat:"fa/message-lines-regular","chat-bell":"custom/message-bell-regular","chat-close":"fa/message-xmark-regular","chat-disable":"fa/message-slash-regular","chat-multi":"fa/messages-regular","chat-notification-score":"custom/message-bell-regular",checkbox:"fa/square-regular","checkbox-active":"fa/square-check-solid","checkbox-partial":"fa/square-minus-regular",checkmark:"custom/check-small-regular","chevron-double-down":"fa/chevrons-down-regular","chevron-double-left":"fa/chevrons-left-regular","chevron-double-right":"fa/chevrons-right-regular","chevron-double-up":"fa/chevrons-up-regular","chevron-left":"fa/chevron-left-regular","chevron-right":"fa/chevron-right-regular","chevron-small-down":"custom/chevron-down-small-regular","chevron-small-left":"custom/chevron-left-small-regular","chevron-small-right":"custom/chevron-right-small-regular","chevron-small-up":"custom/chevron-up-small-regular",chrome:"fa/chrome","cjv-badge-file":"fa/file-regular","cjv-calendar-clock":"fa/calendar-clock-regular","cjv-custom-default":"deprecated/cjv-custom-default","cjv-custom-event":"fa/circle-star-solid","cjv-custom-session":"custom/rectangules-arrow-left-to-right-regular","cjv-default-event":"fa/circle-star-solid","cjv-delivery":"fa/truck-regular","cjv-finance-invoice":"fa/file-invoice-dollar-regular","cjv-form-abandoned":"fa/file-circle-xmark-regular","cjv-form-submitted":"custom/file-arrow-up-regular","cjv-generic-application":"fa/file-user-regular","cjv-offer-closed":"fa/circle-xmark-solid","cjv-offer-ignored":"fa/subtract-circle-solid","cjv-offer-offered":"fa/circle-chevron-right-solid","cjv-offer-opened":"fa/badge-check-solid","cjv-outcome-achieved":"fa/circle-check-solid","cjv-page-view":"fa/circle-dot-regular","cjv-policy-contract":"fa/file-contract-regular","cjv-product-added":"fa/cart-circle-plus-regular","cjv-product-purchased":"fa/cart-circle-check-regular","cjv-product-removed":"fa/cart-circle-xmark-regular","cjv-search":"fa/magnifying-glass-regular","cjv-segment":"fa/chart-pie-simple-regular","cjv-segment-assigned":"fa/circle-quarter-regular","cjv-web-session":"fa/globe-regular","cjv-webchat-accepted":"fa/message-check-solid","cjv-webchat-error":"fa/message-xmark-solid","cjv-webchat-ignored":"fa/message-minus-solid","cjv-webchat-offered":"fa/message-arrow-up-right-solid","cjv-webchat-rejected":"fa/message-xmark-solid","cjv-webchat-requested":"fa/message-plus-solid","cjv-webchat-submitted":"fa/message-arrow-up-solid","cjv-webchat-timeout":"fa/timer-regular",clipboard:"fa/clipboard-regular","clipboard-error":"fa/clipboard-question-regular","clipboard-success":"fa/clipboard-check-regular",clock:"fa/clock-regular","clock-outline":"fa/clock-regular",clone:"fa/clone-regular",close:"fa/xmark-large-regular","close-circle":"deprecated/fa/circle-xmark-regular",cloud:"fa/cloud-regular","cloud-outline":"fa/cloud-regular",coaching:"fa/whistle-regular",cobrowse:"deprecated/cobrowse",collapse:"fa/arrow-down-left-and-arrow-up-right-to-center-regular",comments:"fa/message-lines-regular","comments-disable":"fa/message-slash-regular",configuration:"fa/block-brick-regular","control-end":"fa/forward-fast-regular","control-pause":"fa/pause-regular","control-play":"fa/play-regular","control-skip-left":"fa/backward-regular","control-skip-right":"fa/forward-regular","control-slide-back":"fa/backward-step-regular","control-slide-forward":"fa/forward-step-regular","control-start":"fa/backward-fast-regular","control-stop":"fa/stop-regular",copy:"fa/copy-regular","custom/add-column-after":"custom/table-column-plus-right-regular","custom/add-column-before":"custom/table-column-plus-left-regular","custom/add-row-after":"custom/table-row-plus-bottom-regular","custom/add-row-before":"custom/table-row-plus-top-regular","custom/binoculars-slash-regular":"custom/regular-binoculars-slash","custom/carousel":"custom/rectangle-carousel-regular","custom/clipboard-list-slash-regular":"custom/regular-clipboard-list-slash","custom/co-browse":"custom/screen-monitor-regular","custom/delete-column":"custom/table-column-xmark-regular","custom/delete-row":"custom/table-row-xmark-regular","custom/delete-table":"custom/table-xmark-regular","custom/file-pen-question":"custom/file-pen-question-regular","custom/filter-notification":"custom/filter-dot-regular","custom/font-regular-highlight":"custom/font-underline-regular","custom/one-button":"custom/mobiles-one-button-regular","custom/person-running":"fa/person-running-solid","custom/quick-reply":"custom/circle-buttons-regular","custom/three-button":"custom/mobile-three-button-regular","custom/wrap-text-inline":"custom/wrap-text-inline-regular","custom/wrap-text-tight":"custom/wrap-text-tight-regular","custom/wrap-text-top-bottom":"custom/wrap-text-top-bottom-regular","customer-journey":"fa/map-location-dot-regular",cut:"fa/scissors-regular",dash:"fa/gauge-simple-high-regular",delete:"fa/trash-regular","device-camera":"fa/camera-regular","device-cellphone":"fa/mobile-regular","device-headphones":"fa/headphones-regular","device-laptop":"fa/laptop-regular","device-pc":"deprecated/device-pc","device-server":"fa/server-regular","device-tablet":"fa/tablet-regular",download:"fa/arrow-down-to-line-regular",edge:"fa/edge-legacy",edit:"fa/pen-regular","email-notification-score":"fa/envelope-dot-regular",expand:"fa/arrow-up-right-and-arrow-down-left-from-center-regular",export:"fa/arrow-up-from-line-regular","external-link":"fa/arrow-up-right-from-square-regular","fa/00-solid":"fa/00-regular","fa/arrows-rotate-solid":"fa/arrows-rotate-regular","fa/ban-regular":"deprecated/fa/ban-regular","fa/check-solid":"custom/check-small-regular","fa/circle-check-regular":"deprecated/fa/circle-check-regular","fa/circle-xmark-regular":"deprecated/fa/circle-xmark-regular","fa/clock-outline":"fa/clock-regular","fa/comment-dots-regular":"fa/message-dots-regular","fa/comments-regular":"fa/messages-regular","fa/diagram-project-gear-regular":"fa/regular-diagram-project-gear","fa/eye-regular":"deprecated/fa/eye-regular","fa/eye-slash-regular":"deprecated/fa/eye-slash-regular","fa/life-ring-regular":"deprecated/fa/life-ring-regular","fa/link-horizontal-slash-regular":"fa/link-slash-regular","fa/link-horizontal-solid":"fa/link-regular","fa/list-radio-clean-regular":"fa/list-ul-regular","fa/list-radio-regular":"fa/list-ul-regular","fa/list-regular":"fa/list-ul-regular","fa/rectangle-list-regular":"fa/square-list-regular","fa/reply-regular":"custom/reply-regular","fa/right-to-bracket-regular":"fa/arrow-right-to-bracket-regular","fa/share-regular":"custom/share-regular","fa/volume-regular":"deprecated/fa/volume-regular","face-empathy":"deprecated/face-empathy","face-happy":"fa/face-smile-regular","face-happy-solid":"fa/face-smile-solid","face-neutral":"fa/face-meh-regular","face-neutral-solid":"fa/face-meh-solid","face-sad":"fa/face-frown-regular","face-sad-solid":"fa/face-frown-solid",facebook:"fa/facebook","facebook-messenger":"fa/facebook-messenger",fax:"fa/fax-regular",file:"fa/file-regular","file-all":"fa/files-regular","file-audio":"deprecated/fa/volume-regular","file-image-landscape":"fa/image-regular","file-image-portrait":"fa/image-portrait-regular","file-pdf":"fa/file-pdf-regular","file-preview":"fa/file-magnifying-glass-regular","file-report":"fa/file-chart-column-regular","file-text":"fa/file-lines-regular","file-video":"fa/video-regular",filter:"fa/filter-regular",fire:"fa/fire-regular",firefox:"fa/firefox",flag:"fa/flag-regular",folder:"fa/folder-regular","folder-add":"fa/folder-plus-regular","folder-open":"fa/folder-open-regular",follow:"fa/binoculars-regular",generic:"fa/shapes-regular",globe:"fa/earth-africa-regular","grab-horizontal":"fa/grip-solid","grab-vertical":"fa/grip-vertical-solid","graph-bar-horizontal":"fa/chart-bar-regular","graph-bar-vertical":"fa/chart-column-regular","graph-bubble":"fa/chart-scatter-bubble-regular","graph-chart":"fa/chart-area-regular","graph-line":"fa/chart-line-regular","graph-pie":"fa/chart-pie-regular","graph-spark":"custom/chart-line-spark-regular","group-standard":"custom/users-light",help:"fa/circle-question-regular",home:"fa/home-regular",hourglass:"fa/hourglass-half-regular",import:"fa/file-import-regular",inbox:"fa/inbox-regular",inspect:"deprecated/fa/eye-regular","inspect-disable":"deprecated/fa/eye-slash-regular",instagram:"fa/instagram","internet-explorer":"fa/internet-explorer",key:"fa/key-regular",lightbulb:"fa/lightbulb-regular","line-messenger":"fa/line",link:"fa/link-regular",linkedin:"fa/linkedin",linux:"fa/linux",lock:"fa/lock-regular","lock-hold":"custom/lock-keyholes-regular",logout:"fa/arrow-right-from-bracket-regular","low-bandwidth":"fa/wifi-slash-regular",lunch:"fa/utensils-regular",menu:"fa/bars-regular","menu-kebab-horizontal":"fa/ellipsis-regular","menu-kebab-vertical":"fa/ellipsis-vertical-regular","message-email":"fa/envelope-regular","message-email-outbound":"custom/envelope-arrow-up-right-regular","message-forward":"custom/share-regular","message-reply":"custom/reply-regular","message-reply-all":"custom/reply-all-regular",microphone:"fa/microphone-regular","microphone-disable":"fa/microphone-slash-regular","microphone-talking":"custom/microphone-line-on-regular",microsoft:"fa/microsoft","microsoft-teams":"custom/microsoft-teams",moon:"fa/moon-regular",music:"fa/music-regular",notes:"fa/memo-regular",notification:"fa/circle-solid",opera:"fa/opera","operator-pair":"custom/users-headset-regular",paint:"fa/fill-drip-regular",palette:"fa/palette-regular","parking-sign-regular":"fa/square-parking-regular",paste:"fa/paste-regular",people:"fa/people-pants-simple-regular",phone:"fa/phone-regular","phone-bell":"custom/phone-bell-regular","phone-call-directory":"deprecated/phone-call-directory","phone-call-history":"custom/phone-bars-regular","phone-callback":"custom/phone-arrow-left-regular","phone-close":"fa/phone-xmark-regular","phone-conference":"custom/phone-big-small-regular","phone-dialpad":"fa/grid-regular","phone-disable":"fa/phone-slash-regular","phone-forward":"fa/phone-arrow-right-regular","phone-hangup":"fa/phone-hangup-regular","phone-hold":"custom/phone-clock-regular","phone-inbound":"fa/phone-arrow-down-left-regular","phone-missed-call":"fa/phone-missed-regular","phone-notification-score":"custom/phone-star-regular","phone-outbound":"fa/phone-arrow-up-right-regular","phone-success":"custom/phone-check-regular","phone-voice":"custom/phone-high-volume-regular",pin:"fa/thumbtack-regular","pin-location":"fa/location-dot-regular",post:"fa/newspaper-regular","product-logo-beyond":"custom/genesys-beyond","product-logo-g":"custom/genesys","quote-left":"fa/quote-left-regular","quote-right":"fa/quote-right-regular",radio:"fa/circle-regular","radio-active":"fa/circle-dot-regular",rating:"fa/star-regular","rating-active":"fa/star-solid","rating-partial":"fa/star-sharp-half-stroke-regular",record:"fa/waveform-lines-regular",refresh:"fa/arrows-rotate-regular",reset:"fa/arrow-rotate-left-regular",resource:"fa/notebook-regular",retweet:"custom/arrows-retweet-regular","roster-chat":"fa/message-lines-regular","roster-chat-disable":"fa/message-slash-regular","roster-email":"fa/envelope-regular","roster-email-disable":"fa/regular-envelope-slash","roster-instagram":"fa/instagram","roster-instagram-disable":"custom/instagram-slash","roster-line":"fa/line","roster-line-disable":"custom/line-slash","roster-message":"fa/message-lines-regular","roster-message-disable":"fa/message-xmark-regular","roster-messenger":"fa/facebook-messenger","roster-messenger-disable":"custom/facebook-messenger-slash","roster-phone":"fa/phone-regular","roster-phone-disable":"fa/phone-slash-regular","roster-sms":"fa/message-dots-regular","roster-sms-disable":"fa/message-slash-regular","roster-twitter":"fa/twitter","roster-twitter-disable":"custom/twitter-slash","roster-wechat":"fa/weixin","roster-wechat-disable":"deprecated/roster-wechat-disable","roster-whatsapp":"fa/whatsapp","roster-whatsapp-disable":"fa/custon-whatsapp-slash",rss:"fa/square-rss-solid",run:"fa/person-running-solid",safari:"fa/safari",save:"fa/floppy-disk-regular","screen-share-regular":"custom/display-arrow-right-regular","screen-share-slash":"custom/display-arrow-right-slash-regular",scripter:"fa/scroll-regular",search:"fa/magnifying-glass-regular",send:"fa/paper-plane-top-regular",server:"fa/server-regular",settings:"fa/gear-regular",share:"fa/share-nodes-regular","shield-lock":"fa/shield-keyhole-regular","shield-outline":"fa/shield-check-regular","shield-solid":"fa/shield-check-solid",site:"fa/building-regular",skills:"fa/graduation-cap-regular",slideshare:"fa/slideshare",sms:"fa/message-dots-regular","sms-cancel":"fa/message-xmark-regular","sms-close":"fa/message-xmark-regular",stamp:"fa/stamp-regular",subtract:"fa/minus-regular","subtract-circle":"fa/subtract-circle-regular",sun:"fa/sun-bright-regular",tag:"fa/tag-regular","tag-add":"deprecated/tag-add","tag-remove":"deprecated/tag-remove",telegram:"fa/telegram",tenant:"fa/box-regular","thumbs-down":"fa/thumb-down-regular","thumbs-up":"fa/thumb-up-regular",timeline:"custom/arrow-turn-left-clock-regular","toolbar-apps":"custom/squares-big-small-regular","toolbar-apps-disable":"custom/squares-big-small-slash-regular","toolbar-assist":"deprecated/fa/life-ring-regular","toolbar-assist-disable":"custom/life-ring-slash-regular","toolbar-chat":"fa/message-regular","toolbar-chat-disable":"fa/message-slash-regular","toolbar-favorite":"deprecated/toolbar-favorite","toolbar-favourite":"fa/star-regular","toolbar-help":"fa/circle-question-regular","toolbar-inbox":"fa/inbox-regular","toolbar-interactions":"custom/user-talking-regular","toolbar-interactions-disable":"custom/user-talking-slash-regular","toolbar-notification":"fa/circle-solid","toolbar-phone":"fa/phone-regular","toolbar-phone-active-1":"custom/phone-low-volume-regular","toolbar-phone-active-2":"custom/phone-volume-regular","toolbar-phone-active-3":"custom/phone-high-volume-regular","toolbar-phone-disable":"fa/phone-slash-regular","toolbar-video":"fa/video-regular","toolbar-video-disable":"fa/video-slash-regular",trade:"fa/handshake-regular",transfer:"fa/arrow-right-arrow-left-regular",twitter:"fa/twitter",unknown:"fa/square-x-regular",unlink:"fa/link-slash-regular",unlock:"fa/unlock-regular",upload:"fa/upload-regular",user:"fa/user-regular","user-add":"fa/user-plus-regular","user-circle":"fa/circle-user-regular","user-contact-id":"fa/address-card-regular","user-directory":"fa/address-book-regular","user-group":"fa/users-regular","user-interactions":"custom/user-talking-regular","user-interactions-disable":"custom/user-talking-slash-regular",viber:"fa/viber",video:"fa/video-regular","video-disable":"fa/video-slash-regular","view-all":"fa/grid-4-regular","view-cells":"custom/columns-3-regular","view-grid":"fa/border-all-regular","view-list":"fa/square-list-regular","view-lists":"custom/columns-3-regular","view-roster":"fa/table-list-regular","view-stacked":"fa/table-rows-regular",voicemail:"fa/voicemail-regular","volume-disable":"fa/volume-slash-regular","volume-down":"fa/volume-low-regular","volume-none":"fa/volume-off-regular","volume-up":"deprecated/fa/volume-regular",web:"fa/globe-regular",webcam:"fa/camera-web-regular","webcam-disable":"fa/camera-web-slash-regular",wechat:"fa/weixin",whatsapp:"fa/whatsapp","window-actual-size":"fa/brackets-square-regular","window-contract":"fa/arrows-minimize-regular","window-drag-out":"fa/arrow-up-right-from-square-regular","window-expand":"fa/arrows-maximize-regular","window-fullscreen":"fa/arrows-maximize-regular","window-popout":"fa/square-arrow-up-right-regular",wordpress:"fa/wordpress",youtube:"fa/youtube","zoom-in":"fa/magnifying-glass-plus-regular","zoom-out":"fa/magnifying-glass-minus-regular"},i=Object.keys(u),c=new Map;function g(e){return t.includes(e)?`legacy/${e}`:i.includes(e)?u[e]:e}async function f(r){const a=function(e){return e.replace("/","-")}(r);if(c.has(a))return c.get(a);const l=async function(r){const a=await fetch(e(`./icons/${r}.svg`));if(200===a.status)return a.text();throw new Error(`[gux-icon] fetching failed for icon "${r}" with status "${a.statusText} (${a.status})".`)}(r).then((e=>e)).catch((e=>(setTimeout((()=>{throw e}),0),f("fa/square-x-regular"))));return c.set(a,l),l}const n=class{constructor(e){r(this,e),this.decorative=!1,this.screenreaderText="",this.size="inherit"}async prepIcon(e){if(e){const r=g(e);this.baseSvgHtml=await f(r),this.svgHtml=this.getSvgWithAriaAttributes(this.baseSvgHtml)}}watchDecorative(e){this.validateProps(e,this.screenreaderText),this.baseSvgHtml&&(this.svgHtml=this.getSvgWithAriaAttributes(this.baseSvgHtml))}watchScreenreaderText(e){this.validateProps(this.decorative,e),this.baseSvgHtml&&(this.svgHtml=this.getSvgWithAriaAttributes(this.baseSvgHtml))}async componentWillLoad(){o(this.root,{variant:g(this.iconName)}),await this.prepIcon(this.iconName)}componentDidLoad(){this.validateProps(this.decorative,this.screenreaderText)}validateProps(e,r){this.root.isConnected&&(e||r||s(this.root,"No screenreader-text provided. Either provide a localized screenreader-text property or set `decorative` to true."))}getSvgWithAriaAttributes(e){const r=(new DOMParser).parseFromString(e,"image/svg+xml").firstChild;return r.setAttribute("role","img"),r.setAttribute("aria-hidden",this.decorative?String(this.decorative):"false"),this.screenreaderText?r.setAttribute("aria-label",this.screenreaderText):r.removeAttribute("aria-label"),r.outerHTML}render(){return this.svgHtml&&a("div",{key:"4cee2f5e075acfa120f017ad2fc1f6fefd901949",class:"gux-icon-container",innerHTML:this.svgHtml})}static get assetsDirs(){return["icons"]}get root(){return l(this)}static get watchers(){return{iconName:["prepIcon"],decorative:["watchDecorative"],screenreaderText:["watchScreenreaderText"]}}};n.style=":host{display:inline-flex;inline-size:1em;block-size:1em}:host([size=small]){inline-size:var(--gse-ui-icon-small-size);block-size:var(--gse-ui-icon-small-size)}:host([size=medium]){inline-size:var(--gse-ui-icon-medium-size);block-size:var(--gse-ui-icon-medium-size)}:host([size=large]){inline-size:var(--gse-ui-icon-large-size);block-size:var(--gse-ui-icon-large-size)}.gux-icon-container{display:flex;align-items:center;justify-content:center;inline-size:100%}.gux-icon-container svg{inline-size:100%;max-inline-size:100%;block-size:100%;max-block-size:100%;fill:currentcolor}";export{n as gux_icon}
1
+ import{a as e,r,h as a,g as l}from"./p-cf74fd3d.js";import{t as o}from"./p-f2226f29.js";import{l as s}from"./p-8eaf8caf.js";const t=["fa/arrow-left-to-line-solid","fa/arrow-right-to-line-solid"],u={"8x8":"custom/8x8","8x8-alt":"custom/8x8-solid",add:"fa/plus-regular","add-circle":"fa/circle-plus-regular",agent:"fa/head-side-headphones-regular","agent-circle":"custom/circle-head-side-headphones-regular","agent-group":"fa/people-group-regular","alert-info":"fa/circle-info-regular","alert-success":"deprecated/fa/circle-check-regular","alert-warning-octogon":"fa/hexagon-exclamation-regular","alert-warning-triangle":"fa/triangle-exclamation-regular",android:"fa/android","app-chart":"fa/square-poll-vertical-regular","app-generic":"fa/browser-regular","app-layout":"fa/table-layout-regular","app-table":"fa/table-regular",apple:"fa/apple",archive:"fa/box-archive-regular","arrow-down":"fa/arrow-down-regular","arrow-down-left":"fa/arrow-down-left-regular","arrow-down-right":"fa/arrow-down-right-regular","arrow-left":"fa/arrow-left-regular","arrow-right":"fa/arrow-right-regular","arrow-solid-down":"fa/caret-down-solid","arrow-solid-left":"fa/caret-left-solid","arrow-solid-right":"fa/caret-right-solid","arrow-solid-up":"fa/caret-up-solid","arrow-up":"fa/arrow-up-regular","arrow-up-left":"fa/arrow-up-left-regular","arrow-up-right":"fa/arrow-up-right-regular",at:"fa/at-regular",attachment:"fa/paperclip-regular",backspace:"fa/delete-left-regular","badge-amount":"fa/circle-0-solid","badge-check":"fa/circle-check-solid","badge-edit":"fa/pen-circle-regular","badge-file":"deprecated/badge-file","badge-pause":"fa/circle-pause-solid","badge-x":"fa/circle-xmark-solid","ban-outline":"deprecated/fa/ban-regular",bell:"fa/bell-regular",bolt:"fa/bolt-regular",bot:"fa/robot-regular",branch:"fa/code-branch-regular",bug:"fa/bug-regular",bus:"fa/bus-simple-regular",calendar:"fa/calendar-regular","calendar-add":"fa/calendar-plus-regular","calendar-clock":"fa/calendar-clock-regular",campaign:"fa/bullhorn-regular",certificate:"fa/file-certificate-regular",chat:"fa/message-lines-regular","chat-bell":"custom/message-bell-regular","chat-close":"fa/message-xmark-regular","chat-disable":"fa/message-slash-regular","chat-multi":"fa/messages-regular","chat-notification-score":"custom/message-bell-regular",checkbox:"fa/square-regular","checkbox-active":"fa/square-check-solid","checkbox-partial":"fa/square-minus-regular",checkmark:"custom/check-small-regular","chevron-double-down":"fa/chevrons-down-regular","chevron-double-left":"fa/chevrons-left-regular","chevron-double-right":"fa/chevrons-right-regular","chevron-double-up":"fa/chevrons-up-regular","chevron-left":"fa/chevron-left-regular","chevron-right":"fa/chevron-right-regular","chevron-small-down":"custom/chevron-down-small-regular","chevron-small-left":"custom/chevron-left-small-regular","chevron-small-right":"custom/chevron-right-small-regular","chevron-small-up":"custom/chevron-up-small-regular",chrome:"fa/chrome","cjv-badge-file":"fa/file-regular","cjv-calendar-clock":"fa/calendar-clock-regular","cjv-custom-default":"deprecated/cjv-custom-default","cjv-custom-event":"fa/circle-star-solid","cjv-custom-session":"custom/rectangules-arrow-left-to-right-regular","cjv-default-event":"fa/circle-star-solid","cjv-delivery":"fa/truck-regular","cjv-finance-invoice":"fa/file-invoice-dollar-regular","cjv-form-abandoned":"fa/file-circle-xmark-regular","cjv-form-submitted":"custom/file-arrow-up-regular","cjv-generic-application":"fa/file-user-regular","cjv-offer-closed":"fa/circle-xmark-solid","cjv-offer-ignored":"fa/subtract-circle-solid","cjv-offer-offered":"fa/circle-chevron-right-solid","cjv-offer-opened":"fa/badge-check-solid","cjv-outcome-achieved":"fa/circle-check-solid","cjv-page-view":"fa/circle-dot-regular","cjv-policy-contract":"fa/file-contract-regular","cjv-product-added":"fa/cart-circle-plus-regular","cjv-product-purchased":"fa/cart-circle-check-regular","cjv-product-removed":"fa/cart-circle-xmark-regular","cjv-search":"fa/magnifying-glass-regular","cjv-segment":"fa/chart-pie-simple-regular","cjv-segment-assigned":"fa/circle-quarter-regular","cjv-web-session":"fa/globe-regular","cjv-webchat-accepted":"fa/message-check-solid","cjv-webchat-error":"fa/message-xmark-solid","cjv-webchat-ignored":"fa/message-minus-solid","cjv-webchat-offered":"fa/message-arrow-up-right-solid","cjv-webchat-rejected":"fa/message-xmark-solid","cjv-webchat-requested":"fa/message-plus-solid","cjv-webchat-submitted":"fa/message-arrow-up-solid","cjv-webchat-timeout":"fa/timer-regular",clipboard:"fa/clipboard-regular","clipboard-error":"fa/clipboard-question-regular","clipboard-success":"fa/clipboard-check-regular",clock:"fa/clock-regular","clock-outline":"fa/clock-regular",clone:"fa/clone-regular",close:"fa/xmark-large-regular","close-circle":"deprecated/fa/circle-xmark-regular",cloud:"fa/cloud-regular","cloud-outline":"fa/cloud-regular",coaching:"fa/whistle-regular",cobrowse:"deprecated/cobrowse",collapse:"fa/arrow-down-left-and-arrow-up-right-to-center-regular",comments:"fa/message-lines-regular","comments-disable":"fa/message-slash-regular",configuration:"fa/block-brick-regular","control-end":"fa/forward-fast-regular","control-pause":"fa/pause-regular","control-play":"fa/play-regular","control-skip-left":"fa/backward-regular","control-skip-right":"fa/forward-regular","control-slide-back":"fa/backward-step-regular","control-slide-forward":"fa/forward-step-regular","control-start":"fa/backward-fast-regular","control-stop":"fa/stop-regular",copy:"fa/copy-regular","custom/add-column-after":"custom/table-column-plus-right-regular","custom/add-column-before":"custom/table-column-plus-left-regular","custom/add-row-after":"custom/table-row-plus-bottom-regular","custom/add-row-before":"custom/table-row-plus-top-regular","custom/binoculars-slash-regular":"custom/regular-binoculars-slash","custom/carousel":"custom/rectangle-carousel-regular","custom/clipboard-list-slash-regular":"custom/regular-clipboard-list-slash","custom/co-browse":"custom/screen-monitor-regular","custom/delete-column":"custom/table-column-xmark-regular","custom/delete-row":"custom/table-row-xmark-regular","custom/delete-table":"custom/table-xmark-regular","custom/file-pen-question":"custom/file-pen-question-regular","custom/filter-notification":"custom/filter-dot-regular","custom/font-regular-highlight":"custom/font-underline-regular","custom/one-button":"custom/mobiles-one-button-regular","custom/person-running":"fa/person-running-solid","custom/quick-reply":"custom/circle-buttons-regular","custom/three-button":"custom/mobile-three-button-regular","custom/wrap-text-inline":"custom/wrap-text-inline-regular","custom/wrap-text-tight":"custom/wrap-text-tight-regular","custom/wrap-text-top-bottom":"custom/wrap-text-top-bottom-regular","customer-journey":"fa/map-location-dot-regular",cut:"fa/scissors-regular",dash:"fa/gauge-simple-high-regular",delete:"fa/trash-regular","device-camera":"fa/camera-regular","device-cellphone":"fa/mobile-regular","device-headphones":"fa/headphones-regular","device-laptop":"fa/laptop-regular","device-pc":"deprecated/device-pc","device-server":"fa/server-regular","device-tablet":"fa/tablet-regular",download:"fa/arrow-down-to-line-regular",edge:"fa/edge-legacy",edit:"fa/pen-regular","email-notification-score":"fa/envelope-dot-regular",expand:"fa/arrow-up-right-and-arrow-down-left-from-center-regular",export:"fa/arrow-up-from-line-regular","external-link":"fa/arrow-up-right-from-square-regular","fa/00-solid":"fa/00-regular","fa/arrows-rotate-solid":"fa/arrows-rotate-regular","fa/ban-regular":"deprecated/fa/ban-regular","fa/check-solid":"custom/check-small-regular","fa/circle-check-regular":"deprecated/fa/circle-check-regular","fa/circle-xmark-regular":"deprecated/fa/circle-xmark-regular","fa/clock-outline":"fa/clock-regular","fa/comment-dots-regular":"fa/message-dots-regular","fa/comments-regular":"fa/messages-regular","fa/diagram-project-gear-regular":"fa/regular-diagram-project-gear","fa/eye-regular":"deprecated/fa/eye-regular","fa/eye-slash-regular":"deprecated/fa/eye-slash-regular","fa/life-ring-regular":"deprecated/fa/life-ring-regular","fa/link-horizontal-slash-regular":"fa/link-slash-regular","fa/link-horizontal-solid":"fa/link-regular","fa/list-radio-clean-regular":"fa/list-ul-regular","fa/list-radio-regular":"fa/list-ul-regular","fa/list-regular":"fa/list-ul-regular","fa/rectangle-list-regular":"fa/square-list-regular","fa/reply-regular":"custom/reply-regular","fa/right-to-bracket-regular":"fa/arrow-right-to-bracket-regular","fa/share-regular":"custom/share-regular","fa/volume-regular":"deprecated/fa/volume-regular","face-empathy":"deprecated/face-empathy","face-happy":"fa/face-smile-regular","face-happy-solid":"fa/face-smile-solid","face-neutral":"fa/face-meh-regular","face-neutral-solid":"fa/face-meh-solid","face-sad":"fa/face-frown-regular","face-sad-solid":"fa/face-frown-solid",facebook:"fa/facebook","facebook-messenger":"fa/facebook-messenger",fax:"fa/fax-regular",file:"fa/file-regular","file-all":"fa/files-regular","file-audio":"deprecated/fa/volume-regular","file-image-landscape":"fa/image-regular","file-image-portrait":"fa/image-portrait-regular","file-pdf":"fa/file-pdf-regular","file-preview":"fa/file-magnifying-glass-regular","file-report":"fa/file-chart-column-regular","file-text":"fa/file-lines-regular","file-video":"fa/video-regular",filter:"fa/filter-regular",fire:"fa/fire-regular",firefox:"fa/firefox",flag:"fa/flag-regular",folder:"fa/folder-regular","folder-add":"fa/folder-plus-regular","folder-open":"fa/folder-open-regular",follow:"fa/binoculars-regular",generic:"fa/shapes-regular",globe:"fa/earth-africa-regular","grab-horizontal":"fa/grip-solid","grab-vertical":"fa/grip-vertical-solid","graph-bar-horizontal":"fa/chart-bar-regular","graph-bar-vertical":"fa/chart-column-regular","graph-bubble":"fa/chart-scatter-bubble-regular","graph-chart":"fa/chart-area-regular","graph-line":"fa/chart-line-regular","graph-pie":"fa/chart-pie-regular","graph-spark":"custom/chart-line-spark-regular","group-standard":"custom/users-light",help:"fa/circle-question-regular",home:"fa/home-regular",hourglass:"fa/hourglass-half-regular",import:"fa/file-import-regular",inbox:"fa/inbox-regular",inspect:"deprecated/fa/eye-regular","inspect-disable":"deprecated/fa/eye-slash-regular",instagram:"fa/instagram","internet-explorer":"fa/internet-explorer",key:"fa/key-regular",lightbulb:"fa/lightbulb-regular","line-messenger":"fa/line",link:"fa/link-regular",linkedin:"fa/linkedin",linux:"fa/linux",lock:"fa/lock-regular","lock-hold":"custom/lock-keyholes-regular",logout:"fa/arrow-right-from-bracket-regular","low-bandwidth":"fa/wifi-slash-regular",lunch:"fa/utensils-regular",menu:"fa/bars-regular","menu-kebab-horizontal":"fa/ellipsis-regular","menu-kebab-vertical":"fa/ellipsis-vertical-regular","message-email":"fa/envelope-regular","message-email-outbound":"custom/envelope-arrow-up-right-regular","message-forward":"custom/share-regular","message-reply":"custom/reply-regular","message-reply-all":"custom/reply-all-regular",microphone:"fa/microphone-regular","microphone-disable":"fa/microphone-slash-regular","microphone-talking":"custom/microphone-line-on-regular",microsoft:"fa/microsoft","microsoft-teams":"custom/microsoft-teams",moon:"fa/moon-regular",music:"fa/music-regular",notes:"fa/memo-regular",notification:"fa/circle-solid",opera:"fa/opera","operator-pair":"custom/users-headset-regular",paint:"fa/fill-drip-regular",palette:"fa/palette-regular","parking-sign-regular":"fa/square-parking-regular",paste:"fa/paste-regular",people:"fa/people-pants-simple-regular",phone:"fa/phone-regular","phone-bell":"custom/phone-bell-regular","phone-call-directory":"deprecated/phone-call-directory","phone-call-history":"custom/phone-bars-regular","phone-callback":"custom/phone-arrow-left-regular","phone-close":"fa/phone-xmark-regular","phone-conference":"custom/phone-big-small-regular","phone-dialpad":"fa/grid-regular","phone-disable":"fa/phone-slash-regular","phone-forward":"fa/phone-arrow-right-regular","phone-hangup":"fa/phone-hangup-regular","phone-hold":"custom/phone-clock-regular","phone-inbound":"fa/phone-arrow-down-left-regular","phone-missed-call":"fa/phone-missed-regular","phone-notification-score":"custom/phone-star-regular","phone-outbound":"fa/phone-arrow-up-right-regular","phone-success":"custom/phone-check-regular","phone-voice":"custom/phone-high-volume-regular",pin:"fa/thumbtack-regular","pin-location":"fa/location-dot-regular",post:"fa/newspaper-regular","product-logo-beyond":"custom/genesys-beyond","product-logo-g":"custom/genesys","quote-left":"fa/quote-left-regular","quote-right":"fa/quote-right-regular",radio:"fa/circle-regular","radio-active":"fa/circle-dot-regular",rating:"fa/star-regular","rating-active":"fa/star-solid","rating-partial":"fa/star-sharp-half-stroke-regular",record:"fa/waveform-lines-regular",refresh:"fa/arrows-rotate-regular",reset:"fa/arrow-rotate-left-regular",resource:"fa/notebook-regular",retweet:"custom/arrows-retweet-regular","roster-chat":"fa/message-lines-regular","roster-chat-disable":"fa/message-slash-regular","roster-email":"fa/envelope-regular","roster-email-disable":"fa/regular-envelope-slash","roster-instagram":"fa/instagram","roster-instagram-disable":"custom/instagram-slash","roster-line":"fa/line","roster-line-disable":"custom/line-slash","roster-message":"fa/message-lines-regular","roster-message-disable":"fa/message-xmark-regular","roster-messenger":"fa/facebook-messenger","roster-messenger-disable":"custom/facebook-messenger-slash","roster-phone":"fa/phone-regular","roster-phone-disable":"fa/phone-slash-regular","roster-sms":"fa/message-dots-regular","roster-sms-disable":"fa/message-slash-regular","roster-twitter":"fa/twitter","roster-twitter-disable":"custom/twitter-slash","roster-wechat":"fa/weixin","roster-wechat-disable":"deprecated/roster-wechat-disable","roster-whatsapp":"fa/whatsapp","roster-whatsapp-disable":"fa/custon-whatsapp-slash",rss:"fa/square-rss-solid",run:"fa/person-running-solid",safari:"fa/safari",save:"fa/floppy-disk-regular","screen-share-regular":"custom/display-arrow-right-regular","screen-share-slash":"custom/display-arrow-right-slash-regular",scripter:"fa/scroll-regular",search:"fa/magnifying-glass-regular",send:"fa/paper-plane-top-regular",server:"fa/server-regular",settings:"fa/gear-regular",share:"fa/share-nodes-regular","shield-lock":"fa/shield-keyhole-regular","shield-outline":"fa/shield-check-regular","shield-solid":"fa/shield-check-solid",site:"fa/building-regular",skills:"fa/graduation-cap-regular",slideshare:"fa/slideshare",sms:"fa/message-dots-regular","sms-cancel":"fa/message-xmark-regular","sms-close":"fa/message-xmark-regular",stamp:"fa/stamp-regular",subtract:"fa/minus-regular","subtract-circle":"fa/subtract-circle-regular",sun:"fa/sun-bright-regular",tag:"fa/tag-regular","tag-add":"deprecated/tag-add","tag-remove":"deprecated/tag-remove",telegram:"fa/telegram",tenant:"fa/box-regular","thumbs-down":"fa/thumb-down-regular","thumbs-up":"fa/thumb-up-regular",timeline:"custom/arrow-turn-left-clock-regular","toolbar-apps":"custom/squares-big-small-regular","toolbar-apps-disable":"custom/squares-big-small-slash-regular","toolbar-assist":"deprecated/fa/life-ring-regular","toolbar-assist-disable":"custom/life-ring-slash-regular","toolbar-chat":"fa/message-regular","toolbar-chat-disable":"fa/message-slash-regular","toolbar-favorite":"deprecated/toolbar-favorite","toolbar-favourite":"fa/star-regular","toolbar-help":"fa/circle-question-regular","toolbar-inbox":"fa/inbox-regular","toolbar-interactions":"custom/user-talking-regular","toolbar-interactions-disable":"custom/user-talking-slash-regular","toolbar-notification":"fa/circle-solid","toolbar-phone":"fa/phone-regular","toolbar-phone-active-1":"custom/phone-low-volume-regular","toolbar-phone-active-2":"custom/phone-volume-regular","toolbar-phone-active-3":"custom/phone-high-volume-regular","toolbar-phone-disable":"fa/phone-slash-regular","toolbar-video":"fa/video-regular","toolbar-video-disable":"fa/video-slash-regular",trade:"fa/handshake-regular",transfer:"fa/arrow-right-arrow-left-regular",twitter:"fa/twitter",unknown:"fa/square-x-regular",unlink:"fa/link-slash-regular",unlock:"fa/unlock-regular",upload:"fa/upload-regular",user:"fa/user-regular","user-add":"fa/user-plus-regular","user-circle":"fa/circle-user-regular","user-contact-id":"fa/address-card-regular","user-directory":"fa/address-book-regular","user-group":"fa/users-regular","user-interactions":"custom/user-talking-regular","user-interactions-disable":"custom/user-talking-slash-regular",viber:"fa/viber",video:"fa/video-regular","video-disable":"fa/video-slash-regular","view-all":"fa/grid-4-regular","view-cells":"custom/columns-3-regular","view-grid":"fa/border-all-regular","view-list":"fa/square-list-regular","view-lists":"custom/columns-3-regular","view-roster":"fa/table-list-regular","view-stacked":"fa/table-rows-regular",voicemail:"fa/voicemail-regular","volume-disable":"fa/volume-slash-regular","volume-down":"fa/volume-low-regular","volume-none":"fa/volume-off-regular","volume-up":"deprecated/fa/volume-regular",web:"fa/globe-regular",webcam:"fa/camera-web-regular","webcam-disable":"fa/camera-web-slash-regular",wechat:"fa/weixin",whatsapp:"fa/whatsapp","window-actual-size":"fa/brackets-square-regular","window-contract":"fa/arrows-minimize-regular","window-drag-out":"fa/arrow-up-right-from-square-regular","window-expand":"fa/arrows-maximize-regular","window-fullscreen":"fa/arrows-maximize-regular","window-popout":"fa/square-arrow-up-right-regular",wordpress:"fa/wordpress",youtube:"fa/youtube","zoom-in":"fa/magnifying-glass-plus-regular","zoom-out":"fa/magnifying-glass-minus-regular"},i=Object.keys(u),c=new Map;function g(e){return t.includes(e)?`legacy/${e}`:i.includes(e)?u[e]:e}async function f(r){const a=function(e){return e.replace("/","-")}(r);if(c.has(a))return c.get(a);const l=async function(r){const a=await fetch(e(`./icons/${r}.svg`));if(200===a.status)return a.text();throw new Error(`[gux-icon] fetching failed for icon "${r}" with status "${a.statusText} (${a.status})".`)}(r).then((e=>e)).catch((e=>(setTimeout((()=>{throw e}),0),f("fa/square-x-regular"))));return c.set(a,l),l}const n=class{constructor(e){r(this,e),this.decorative=!1,this.screenreaderText="",this.size="inherit"}async prepIcon(e){if(e){const r=g(e);this.baseSvgHtml=await f(r),this.svgHtml=this.getSvgWithAriaAttributes(this.baseSvgHtml)}}watchDecorative(e){this.validateProps(e,this.screenreaderText),this.baseSvgHtml&&(this.svgHtml=this.getSvgWithAriaAttributes(this.baseSvgHtml))}watchScreenreaderText(e){this.validateProps(this.decorative,e),this.baseSvgHtml&&(this.svgHtml=this.getSvgWithAriaAttributes(this.baseSvgHtml))}async componentWillLoad(){o(this.root,{variant:g(this.iconName)}),await this.prepIcon(this.iconName)}componentDidLoad(){this.validateProps(this.decorative,this.screenreaderText)}validateProps(e,r){this.root.isConnected&&(e||r||s(this.root,"No screenreader-text provided. Either provide a localized screenreader-text property or set `decorative` to true."))}getSvgWithAriaAttributes(e){const r=(new DOMParser).parseFromString(e,"image/svg+xml").firstChild;return r.setAttribute("role","img"),r.setAttribute("aria-hidden",this.decorative?String(this.decorative):"false"),this.screenreaderText?r.setAttribute("aria-label",this.screenreaderText):r.removeAttribute("aria-label"),r.outerHTML}render(){return this.svgHtml&&a("div",{key:"4cee2f5e075acfa120f017ad2fc1f6fefd901949",class:"gux-icon-container",innerHTML:this.svgHtml})}static get assetsDirs(){return["icons"]}get root(){return l(this)}static get watchers(){return{iconName:["prepIcon"],decorative:["watchDecorative"],screenreaderText:["watchScreenreaderText"]}}};n.style=":host{display:inline-flex;inline-size:1em;block-size:1em}:host([size=small]){inline-size:var(--gse-ui-icon-small-size);block-size:var(--gse-ui-icon-small-size)}:host([size=medium]){inline-size:var(--gse-ui-icon-medium-size);block-size:var(--gse-ui-icon-medium-size)}:host([size=large]){inline-size:var(--gse-ui-icon-large-size);block-size:var(--gse-ui-icon-large-size)}.gux-icon-container{display:flex;align-items:center;justify-content:center;inline-size:100%}.gux-icon-container svg{inline-size:100%;max-inline-size:100%;block-size:100%;max-block-size:100%;fill:currentcolor}";export{n as gux_icon}
@@ -1 +1 @@
1
- import{r as e,h as t,g as i}from"./p-cf74fd3d.js";import{t as r}from"./p-74437e8f.js";import{g as o,b as s,v as a}from"./p-4aaf349e.js";import{c as d,o as c}from"./p-f4751a15.js";import{p as l}from"./p-a11d5d42.js";import"./p-0934300e.js";import"./p-8eaf8caf.js";import"./p-2c25e2f2.js";import"./p-6d8b4027.js";const n=class{constructor(t){e(this,t),this.variant="simple"}componentWillLoad(){this.setInput(),r(this.root,{variant:this.variant})}disconnectedCallback(){this.disabledObserver&&this.disabledObserver.disconnect()}setInput(){this.input=o(this.root,'input[type="radio"][slot="input"], input[type="checkbox"][slot="input"]'),l(this.input),s(this.root,this.input,"description"),this.disabled=d(this.input),this.disabledObserver=c(this.input,(e=>{this.disabled=e})),a(this.root,this.input)}renderDescription(){return"simple"===this.variant?t("span",{class:"gux-screenreader"},t("slot",{name:"description"})):t("div",{class:"gux-description-container"},t("slot",{name:"description"}))}renderBadge(){if("descriptive"===this.variant)return t("slot",{name:"badge"})}render(){return t("div",{key:"cc20e1b52d7ae10d9472cae33cf1e1eb966e8711",class:{"gux-selector-card":!0,[`gux-${this.variant}`]:!0,"gux-disabled":this.disabled}},t("div",{key:"97dab4e29380418707cfacf7d6bee48ce9b5081d",class:"gux-content"},t("div",{key:"1ef93190cc63e468294845c0a93d8494ad2a9ba2",class:"gux-icon"},t("slot",{key:"3f9489a87f044206a087af27c979430626c145b9",name:"icon"})),t("div",{key:"39f6e0c2d789271495c628bf3b61aaa01dc94cdb",class:"gux-label-container"},t("slot",{key:"e1beedc64492c9d4babc4183e688674f28bb0192",name:"label"})),t("slot",{key:"b5bbfebbb47dcb72a9d1fbf13ad90280041985b9",name:"input"}),this.renderDescription(),this.renderBadge()))}get root(){return i(this)}};n.style=":host{display:flex}::slotted(*){cursor:pointer}::slotted(gux-icon){inline-size:var(--gse-ui-icon-medium-size);block-size:var(--gse-ui-icon-medium-size);color:var(--gse-ui-selectorCard-ilustrativeIcon-foregroundColor)}::slotted(label){inline-size:100%;font-family:var(--gse-ui-selectorCard-simple-label-fontFamily);font-size:var(--gse-ui-selectorCard-simple-label-fontSize);font-weight:var(--gse-ui-selectorCard-simple-label-fontWeight);line-height:var(--gse-ui-selectorCard-simple-label-lineHeight);color:var(--gse-ui-selectorCard-text-foregroundColor)}::slotted(input[type=radio]),::slotted(input[type=checkbox]){position:absolute;inset-block-start:0;inline-size:100%;block-size:100%;margin:0;color:var(--gse-ui-radioButton-icon-default-unselectedForegroundColor);-webkit-appearance:none;appearance:none;outline:none;border:var(--gse-ui-selectorCard-unselected-border-width) var(--gse-ui-selectorCard-unselected-border-style) var(--gse-ui-selectorCard-unselected-border-color);border-radius:var(--gse-ui-selectorCard-simple-borderRadius)}::slotted(input[type=radio])::before,::slotted(input[type=checkbox])::before{position:absolute;inset-block-start:var(--gse-ui-selectorCard-descriptive-text-gap);inset-inline-end:var(--gse-ui-selectorCard-descriptive-text-gap);display:inline-grid;grid-area:1/1;inline-size:var(--gse-ui-radioButton-icon-width);block-size:var(--gse-ui-radioButton-icon-height);vertical-align:middle;color:var(--gse-ui-radioButton-icon-default-unselectedForegroundColor);text-align:center;content:\"\"}::slotted(input[type=radio])::before{border-radius:50%}::slotted(input[type=radio]:checked),::slotted(input[type=checkbox]:checked){border:var(--gse-ui-selectorCard-selected-border-width) var(--gse-ui-selectorCard-selected-border-style) var(--gse-ui-selectorCard-selected-border-color)}::slotted(input[type=radio]:checked)::before,::slotted(input[type=checkbox]:checked)::before{background-color:var(--gse-ui-selectorCard-default-selectedIndicator-selected-foregroundColor)}::slotted(input[type=radio]:not(:checked))::before,::slotted(input[type=checkbox]:not(:checked))::before{background-color:var(--gse-ui-selectorCard-default-selectedIndicator-unselected-foregroundColor)}::slotted(input[type=radio]:disabled),::slotted(input[type=checkbox]:disabled){pointer-events:none;cursor:not-allowed;opacity:var(--gse-ui-radioButton-disabled-opacity)}::slotted(input[type=radio])::before{-webkit-mask-image:url(\"data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M16 8C16 12.4187 12.4187 16 8 16C3.58125 16 0 12.4187 0 8C0 3.58125 3.58125 0 8 0C12.4187 0 16 3.58125 16 8ZM8 1.5C4.40937 1.5 1.5 4.40937 1.5 8C1.5 11.5906 4.40937 14.5 8 14.5C11.5906 14.5 14.5 11.5906 14.5 8C14.5 4.40937 11.5906 1.5 8 1.5Z' fill-rule='evenodd' clip-rule='evenodd' /%3E%3C/svg%3E\");mask-image:url(\"data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M16 8C16 12.4187 12.4187 16 8 16C3.58125 16 0 12.4187 0 8C0 3.58125 3.58125 0 8 0C12.4187 0 16 3.58125 16 8ZM8 1.5C4.40937 1.5 1.5 4.40937 1.5 8C1.5 11.5906 4.40937 14.5 8 14.5C11.5906 14.5 14.5 11.5906 14.5 8C14.5 4.40937 11.5906 1.5 8 1.5Z' fill-rule='evenodd' clip-rule='evenodd' /%3E%3C/svg%3E\")}::slotted(input[type=radio]:checked)::before{-webkit-mask-image:url(\"data:image/svg+xml,%3Csvg viewBox='0 0 16 16' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M5 8C5 6.31563 6.31563 5 8 5C9.65625 5 11 6.31563 11 8C11 9.65625 9.65625 11 8 11C6.31563 11 5 9.65625 5 8ZM16 8C16 12.4187 12.4187 16 8 16C3.58125 16 0 12.4187 0 8C0 3.58125 3.58125 0 8 0C12.4187 0 16 3.58125 16 8ZM8 1.5C4.40938 1.5 1.5 4.40938 1.5 8C1.5 11.5906 4.40938 14.5 8 14.5C11.5906 14.5 14.5 11.5906 14.5 8C14.5 4.40938 11.5906 1.5 8 1.5Z' /%3E%3C/svg%3E\");mask-image:url(\"data:image/svg+xml,%3Csvg viewBox='0 0 16 16' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M5 8C5 6.31563 6.31563 5 8 5C9.65625 5 11 6.31563 11 8C11 9.65625 9.65625 11 8 11C6.31563 11 5 9.65625 5 8ZM16 8C16 12.4187 12.4187 16 8 16C3.58125 16 0 12.4187 0 8C0 3.58125 3.58125 0 8 0C12.4187 0 16 3.58125 16 8ZM8 1.5C4.40938 1.5 1.5 4.40938 1.5 8C1.5 11.5906 4.40938 14.5 8 14.5C11.5906 14.5 14.5 11.5906 14.5 8C14.5 4.40938 11.5906 1.5 8 1.5Z' /%3E%3C/svg%3E\")}::slotted(input[type=checkbox])::before{-webkit-mask-image:url(\"data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' %3E%3Cpath d='M13.7143 0C14.975 0 16 1.02321 16 2.28571V13.7143C16 14.975 14.975 16 13.7143 16H2.28571C1.02321 16 0 14.975 0 13.7143V2.28571C0 1.02321 1.02321 0 2.28571 0H13.7143ZM13.7143 1.71429H2.28571C1.97 1.71429 1.71429 1.97 1.71429 2.28571V13.7143C1.71429 14.0286 1.97 14.2857 2.28571 14.2857H13.7143C14.0286 14.2857 14.2857 14.0286 14.2857 13.7143V2.28571C14.2857 1.97 14.0286 1.71429 13.7143 1.71429Z' /%3E%3C/svg%3E\");mask-image:url(\"data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' %3E%3Cpath d='M13.7143 0C14.975 0 16 1.02321 16 2.28571V13.7143C16 14.975 14.975 16 13.7143 16H2.28571C1.02321 16 0 14.975 0 13.7143V2.28571C0 1.02321 1.02321 0 2.28571 0H13.7143ZM13.7143 1.71429H2.28571C1.97 1.71429 1.71429 1.97 1.71429 2.28571V13.7143C1.71429 14.0286 1.97 14.2857 2.28571 14.2857H13.7143C14.0286 14.2857 14.2857 14.0286 14.2857 13.7143V2.28571C14.2857 1.97 14.0286 1.71429 13.7143 1.71429Z' /%3E%3C/svg%3E\")}::slotted(input[type=checkbox]:checked)::before{-webkit-mask-image:url(\"data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' %3E%3Cpath d='M2.28571 0C1.025 0 0 1.025 0 2.28571V13.7143C0 14.975 1.025 16 2.28571 16H13.7143C14.975 16 16 14.975 16 13.7143V2.28571C16 1.025 14.975 0 13.7143 0H2.28571ZM12.0357 6.32143L7.46429 10.8929C7.12857 11.2286 6.58571 11.2286 6.25357 10.8929L3.96786 8.60714C3.63214 8.27143 3.63214 7.72857 3.96786 7.39643C4.30357 7.06429 4.84643 7.06071 5.17857 7.39643L6.85714 9.075L10.8214 5.10714C11.1571 4.77143 11.7 4.77143 12.0321 5.10714C12.3643 5.44286 12.3679 5.98571 12.0321 6.31786L12.0357 6.32143Z' /%3E%3C/svg%3E\");mask-image:url(\"data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' %3E%3Cpath d='M2.28571 0C1.025 0 0 1.025 0 2.28571V13.7143C0 14.975 1.025 16 2.28571 16H13.7143C14.975 16 16 14.975 16 13.7143V2.28571C16 1.025 14.975 0 13.7143 0H2.28571ZM12.0357 6.32143L7.46429 10.8929C7.12857 11.2286 6.58571 11.2286 6.25357 10.8929L3.96786 8.60714C3.63214 8.27143 3.63214 7.72857 3.96786 7.39643C4.30357 7.06429 4.84643 7.06071 5.17857 7.39643L6.85714 9.075L10.8214 5.10714C11.1571 4.77143 11.7 4.77143 12.0321 5.10714C12.3643 5.44286 12.3679 5.98571 12.0321 6.31786L12.0357 6.32143Z' /%3E%3C/svg%3E\")}.gux-selector-card{display:flex;flex:1 0 auto;inline-size:fit-content}.gux-selector-card .gux-content{position:relative;box-sizing:border-box;display:flex;flex-direction:column;gap:var(--gse-ui-selectorCard-descriptive-text-gap);align-items:center;inline-size:var(--gse-ui-selectorCard-simple-minWidth);min-inline-size:var(--gse-ui-selectorCard-simple-minWidth);max-inline-size:var(--gse-ui-selectorCard-simple-maxWidth);min-block-size:var(--gse-ui-selectorCard-simple-minHeight);max-block-size:var(--gse-ui-selectorCard-simple-maxHeight);padding:var(--gse-ui-selectorCard-simple-padding);text-align:center;background-color:var(--gse-ui-selectorCard-default-backgroundColor);border-radius:var(--gse-ui-selectorCard-simple-borderRadius)}.gux-selector-card .gux-content .gux-label-container{display:-webkit-box;overflow:hidden;-webkit-box-orient:vertical;-webkit-line-clamp:2}.gux-selector-card .gux-content .gux-icon{line-height:0}.gux-selector-card .gux-content:focus-within{outline:var(--gse-semantic-focusOutline-md-borderWidth) solid var(--gse-semantic-border-focus);outline-offset:var(--gse-semantic-focusOutline-offset)}.gux-selector-card.gux-descriptive .gux-content{align-items:flex-start;inline-size:var(--gse-ui-selectorCard-descriptive-minWidth);min-inline-size:var(--gse-ui-selectorCard-descriptive-minWidth);max-inline-size:var(--gse-ui-selectorCard-descriptive-maxWidth);min-block-size:var(--gse-ui-selectorCard-descriptive-minHeight);max-block-size:var(--gse-ui-selectorCard-descriptive-maxHeight);padding:var(--gse-ui-selectorCard-descriptive-padding);text-align:start;white-space:normal;border-radius:var(--gse-ui-selectorCard-descriptive-borderRadius)}.gux-selector-card.gux-descriptive .gux-content .gux-description-container{display:-webkit-box;overflow:hidden;-webkit-box-orient:vertical;-webkit-line-clamp:3}.gux-selector-card.gux-descriptive .gux-content ::slotted(gux-badge){margin-block-start:var(--gse-ui-selectorCard-descriptive-badge-marginTop)}.gux-selector-card.gux-descriptive .gux-content ::slotted(input[type=radio]),.gux-selector-card.gux-descriptive .gux-content ::slotted(input[type=checkbox]){inset-inline-start:0;border-radius:var(--gse-ui-selectorCard-descriptive-borderRadius)}.gux-selector-card.gux-descriptive .gux-content ::slotted(input[type=radio])::before,.gux-selector-card.gux-descriptive .gux-content ::slotted(input[type=checkbox])::before{inset-block-start:var(--gse-ui-selectorCard-descriptive-gap);inset-inline-end:var(--gse-ui-selectorCard-descriptive-padding);inline-size:var(--gse-ui-icon-small-size);block-size:var(--gse-ui-icon-small-size)}.gux-selector-card.gux-descriptive .gux-content ::slotted(label){display:block;margin-block-end:var(--gse-ui-selectorCard-descriptive-text-gap);font-family:var(--gse-ui-selectorCard-descriptive-label-fontFamily);font-size:var(--gse-ui-selectorCard-descriptive-label-fontSize);font-weight:var(--gse-ui-selectorCard-descriptive-label-fontWeight);line-height:var(--gse-ui-selectorCard-descriptive-label-lineHeight)}.gux-selector-card.gux-descriptive .gux-content ::slotted(gux-icon){inline-size:var(--gse-ui-icon-large-size);block-size:var(--gse-ui-icon-large-size);margin-block-end:var(--gse-ui-selectorCard-descriptive-gap)}.gux-selector-card.gux-disabled{pointer-events:none;cursor:not-allowed}.gux-selector-card.gux-disabled .gux-content{pointer-events:none;-webkit-user-select:none;user-select:none;background-color:var(--gse-ui-selectorCard-disabled-backgroundColor);opacity:var(--gse-ui-selectorCard-disabled-opacity)}.gux-selector-card:hover:not(:disabled) .gux-content{cursor:pointer;background-color:var(--gse-ui-selectorCard-hover-backgroundColor)}.gux-selector-card:hover:not(:disabled) .gux-content ::slotted(input[type=radio])::before,.gux-selector-card:hover:not(:disabled) .gux-content ::slotted(input[type=checkbox])::before{background-color:var(--gse-ui-selectorCard-hover-selectedIndicator-foregroundColor)}.gux-selector-card:active:not(:disabled) .gux-content{background-color:var(--gse-ui-selectorCard-active-backgroundColor)}.gux-selector-card:active:not(:disabled) .gux-content ::slotted(input[type=radio])::before,.gux-selector-card:active:not(:disabled) .gux-content ::slotted(input[type=checkbox])::before{background-color:var(--gse-ui-selectorCard-active-selectedIndicator-foregroundColor)}.gux-selector-card .gux-screenreader{position:absolute;top:auto;left:-10000px;width:1px;height:1px;overflow:hidden}";export{n as gux_selector_card_beta}
1
+ import{r as e,h as t,g as i}from"./p-cf74fd3d.js";import{t as r}from"./p-f2226f29.js";import{g as o,b as s,v as a}from"./p-4aaf349e.js";import{c as d,o as c}from"./p-f4751a15.js";import{p as l}from"./p-a11d5d42.js";import"./p-0934300e.js";import"./p-8eaf8caf.js";import"./p-2c25e2f2.js";import"./p-6d8b4027.js";const n=class{constructor(t){e(this,t),this.variant="simple"}componentWillLoad(){this.setInput(),r(this.root,{variant:this.variant})}disconnectedCallback(){this.disabledObserver&&this.disabledObserver.disconnect()}setInput(){this.input=o(this.root,'input[type="radio"][slot="input"], input[type="checkbox"][slot="input"]'),l(this.input),s(this.root,this.input,"description"),this.disabled=d(this.input),this.disabledObserver=c(this.input,(e=>{this.disabled=e})),a(this.root,this.input)}renderDescription(){return"simple"===this.variant?t("span",{class:"gux-screenreader"},t("slot",{name:"description"})):t("div",{class:"gux-description-container"},t("slot",{name:"description"}))}renderBadge(){if("descriptive"===this.variant)return t("slot",{name:"badge"})}render(){return t("div",{key:"cc20e1b52d7ae10d9472cae33cf1e1eb966e8711",class:{"gux-selector-card":!0,[`gux-${this.variant}`]:!0,"gux-disabled":this.disabled}},t("div",{key:"97dab4e29380418707cfacf7d6bee48ce9b5081d",class:"gux-content"},t("div",{key:"1ef93190cc63e468294845c0a93d8494ad2a9ba2",class:"gux-icon"},t("slot",{key:"3f9489a87f044206a087af27c979430626c145b9",name:"icon"})),t("div",{key:"39f6e0c2d789271495c628bf3b61aaa01dc94cdb",class:"gux-label-container"},t("slot",{key:"e1beedc64492c9d4babc4183e688674f28bb0192",name:"label"})),t("slot",{key:"b5bbfebbb47dcb72a9d1fbf13ad90280041985b9",name:"input"}),this.renderDescription(),this.renderBadge()))}get root(){return i(this)}};n.style=":host{display:flex}::slotted(*){cursor:pointer}::slotted(gux-icon){inline-size:var(--gse-ui-icon-medium-size);block-size:var(--gse-ui-icon-medium-size);color:var(--gse-ui-selectorCard-ilustrativeIcon-foregroundColor)}::slotted(label){inline-size:100%;font-family:var(--gse-ui-selectorCard-simple-label-fontFamily);font-size:var(--gse-ui-selectorCard-simple-label-fontSize);font-weight:var(--gse-ui-selectorCard-simple-label-fontWeight);line-height:var(--gse-ui-selectorCard-simple-label-lineHeight);color:var(--gse-ui-selectorCard-text-foregroundColor)}::slotted(input[type=radio]),::slotted(input[type=checkbox]){position:absolute;inset-block-start:0;inline-size:100%;block-size:100%;margin:0;color:var(--gse-ui-radioButton-icon-default-unselectedForegroundColor);-webkit-appearance:none;appearance:none;outline:none;border:var(--gse-ui-selectorCard-unselected-border-width) var(--gse-ui-selectorCard-unselected-border-style) var(--gse-ui-selectorCard-unselected-border-color);border-radius:var(--gse-ui-selectorCard-simple-borderRadius)}::slotted(input[type=radio])::before,::slotted(input[type=checkbox])::before{position:absolute;inset-block-start:var(--gse-ui-selectorCard-descriptive-text-gap);inset-inline-end:var(--gse-ui-selectorCard-descriptive-text-gap);display:inline-grid;grid-area:1/1;inline-size:var(--gse-ui-radioButton-icon-width);block-size:var(--gse-ui-radioButton-icon-height);vertical-align:middle;color:var(--gse-ui-radioButton-icon-default-unselectedForegroundColor);text-align:center;content:\"\"}::slotted(input[type=radio])::before{border-radius:50%}::slotted(input[type=radio]:checked),::slotted(input[type=checkbox]:checked){border:var(--gse-ui-selectorCard-selected-border-width) var(--gse-ui-selectorCard-selected-border-style) var(--gse-ui-selectorCard-selected-border-color)}::slotted(input[type=radio]:checked)::before,::slotted(input[type=checkbox]:checked)::before{background-color:var(--gse-ui-selectorCard-default-selectedIndicator-selected-foregroundColor)}::slotted(input[type=radio]:not(:checked))::before,::slotted(input[type=checkbox]:not(:checked))::before{background-color:var(--gse-ui-selectorCard-default-selectedIndicator-unselected-foregroundColor)}::slotted(input[type=radio]:disabled),::slotted(input[type=checkbox]:disabled){pointer-events:none;cursor:not-allowed;opacity:var(--gse-ui-radioButton-disabled-opacity)}::slotted(input[type=radio])::before{-webkit-mask-image:url(\"data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M16 8C16 12.4187 12.4187 16 8 16C3.58125 16 0 12.4187 0 8C0 3.58125 3.58125 0 8 0C12.4187 0 16 3.58125 16 8ZM8 1.5C4.40937 1.5 1.5 4.40937 1.5 8C1.5 11.5906 4.40937 14.5 8 14.5C11.5906 14.5 14.5 11.5906 14.5 8C14.5 4.40937 11.5906 1.5 8 1.5Z' fill-rule='evenodd' clip-rule='evenodd' /%3E%3C/svg%3E\");mask-image:url(\"data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M16 8C16 12.4187 12.4187 16 8 16C3.58125 16 0 12.4187 0 8C0 3.58125 3.58125 0 8 0C12.4187 0 16 3.58125 16 8ZM8 1.5C4.40937 1.5 1.5 4.40937 1.5 8C1.5 11.5906 4.40937 14.5 8 14.5C11.5906 14.5 14.5 11.5906 14.5 8C14.5 4.40937 11.5906 1.5 8 1.5Z' fill-rule='evenodd' clip-rule='evenodd' /%3E%3C/svg%3E\")}::slotted(input[type=radio]:checked)::before{-webkit-mask-image:url(\"data:image/svg+xml,%3Csvg viewBox='0 0 16 16' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M5 8C5 6.31563 6.31563 5 8 5C9.65625 5 11 6.31563 11 8C11 9.65625 9.65625 11 8 11C6.31563 11 5 9.65625 5 8ZM16 8C16 12.4187 12.4187 16 8 16C3.58125 16 0 12.4187 0 8C0 3.58125 3.58125 0 8 0C12.4187 0 16 3.58125 16 8ZM8 1.5C4.40938 1.5 1.5 4.40938 1.5 8C1.5 11.5906 4.40938 14.5 8 14.5C11.5906 14.5 14.5 11.5906 14.5 8C14.5 4.40938 11.5906 1.5 8 1.5Z' /%3E%3C/svg%3E\");mask-image:url(\"data:image/svg+xml,%3Csvg viewBox='0 0 16 16' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M5 8C5 6.31563 6.31563 5 8 5C9.65625 5 11 6.31563 11 8C11 9.65625 9.65625 11 8 11C6.31563 11 5 9.65625 5 8ZM16 8C16 12.4187 12.4187 16 8 16C3.58125 16 0 12.4187 0 8C0 3.58125 3.58125 0 8 0C12.4187 0 16 3.58125 16 8ZM8 1.5C4.40938 1.5 1.5 4.40938 1.5 8C1.5 11.5906 4.40938 14.5 8 14.5C11.5906 14.5 14.5 11.5906 14.5 8C14.5 4.40938 11.5906 1.5 8 1.5Z' /%3E%3C/svg%3E\")}::slotted(input[type=checkbox])::before{-webkit-mask-image:url(\"data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' %3E%3Cpath d='M13.7143 0C14.975 0 16 1.02321 16 2.28571V13.7143C16 14.975 14.975 16 13.7143 16H2.28571C1.02321 16 0 14.975 0 13.7143V2.28571C0 1.02321 1.02321 0 2.28571 0H13.7143ZM13.7143 1.71429H2.28571C1.97 1.71429 1.71429 1.97 1.71429 2.28571V13.7143C1.71429 14.0286 1.97 14.2857 2.28571 14.2857H13.7143C14.0286 14.2857 14.2857 14.0286 14.2857 13.7143V2.28571C14.2857 1.97 14.0286 1.71429 13.7143 1.71429Z' /%3E%3C/svg%3E\");mask-image:url(\"data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' %3E%3Cpath d='M13.7143 0C14.975 0 16 1.02321 16 2.28571V13.7143C16 14.975 14.975 16 13.7143 16H2.28571C1.02321 16 0 14.975 0 13.7143V2.28571C0 1.02321 1.02321 0 2.28571 0H13.7143ZM13.7143 1.71429H2.28571C1.97 1.71429 1.71429 1.97 1.71429 2.28571V13.7143C1.71429 14.0286 1.97 14.2857 2.28571 14.2857H13.7143C14.0286 14.2857 14.2857 14.0286 14.2857 13.7143V2.28571C14.2857 1.97 14.0286 1.71429 13.7143 1.71429Z' /%3E%3C/svg%3E\")}::slotted(input[type=checkbox]:checked)::before{-webkit-mask-image:url(\"data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' %3E%3Cpath d='M2.28571 0C1.025 0 0 1.025 0 2.28571V13.7143C0 14.975 1.025 16 2.28571 16H13.7143C14.975 16 16 14.975 16 13.7143V2.28571C16 1.025 14.975 0 13.7143 0H2.28571ZM12.0357 6.32143L7.46429 10.8929C7.12857 11.2286 6.58571 11.2286 6.25357 10.8929L3.96786 8.60714C3.63214 8.27143 3.63214 7.72857 3.96786 7.39643C4.30357 7.06429 4.84643 7.06071 5.17857 7.39643L6.85714 9.075L10.8214 5.10714C11.1571 4.77143 11.7 4.77143 12.0321 5.10714C12.3643 5.44286 12.3679 5.98571 12.0321 6.31786L12.0357 6.32143Z' /%3E%3C/svg%3E\");mask-image:url(\"data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' %3E%3Cpath d='M2.28571 0C1.025 0 0 1.025 0 2.28571V13.7143C0 14.975 1.025 16 2.28571 16H13.7143C14.975 16 16 14.975 16 13.7143V2.28571C16 1.025 14.975 0 13.7143 0H2.28571ZM12.0357 6.32143L7.46429 10.8929C7.12857 11.2286 6.58571 11.2286 6.25357 10.8929L3.96786 8.60714C3.63214 8.27143 3.63214 7.72857 3.96786 7.39643C4.30357 7.06429 4.84643 7.06071 5.17857 7.39643L6.85714 9.075L10.8214 5.10714C11.1571 4.77143 11.7 4.77143 12.0321 5.10714C12.3643 5.44286 12.3679 5.98571 12.0321 6.31786L12.0357 6.32143Z' /%3E%3C/svg%3E\")}.gux-selector-card{display:flex;flex:1 0 auto;inline-size:fit-content}.gux-selector-card .gux-content{position:relative;box-sizing:border-box;display:flex;flex-direction:column;gap:var(--gse-ui-selectorCard-descriptive-text-gap);align-items:center;inline-size:var(--gse-ui-selectorCard-simple-minWidth);min-inline-size:var(--gse-ui-selectorCard-simple-minWidth);max-inline-size:var(--gse-ui-selectorCard-simple-maxWidth);min-block-size:var(--gse-ui-selectorCard-simple-minHeight);max-block-size:var(--gse-ui-selectorCard-simple-maxHeight);padding:var(--gse-ui-selectorCard-simple-padding);text-align:center;background-color:var(--gse-ui-selectorCard-default-backgroundColor);border-radius:var(--gse-ui-selectorCard-simple-borderRadius)}.gux-selector-card .gux-content .gux-label-container{display:-webkit-box;overflow:hidden;-webkit-box-orient:vertical;-webkit-line-clamp:2}.gux-selector-card .gux-content .gux-icon{line-height:0}.gux-selector-card .gux-content:focus-within{outline:var(--gse-semantic-focusOutline-md-borderWidth) solid var(--gse-semantic-border-focus);outline-offset:var(--gse-semantic-focusOutline-offset)}.gux-selector-card.gux-descriptive .gux-content{align-items:flex-start;inline-size:var(--gse-ui-selectorCard-descriptive-minWidth);min-inline-size:var(--gse-ui-selectorCard-descriptive-minWidth);max-inline-size:var(--gse-ui-selectorCard-descriptive-maxWidth);min-block-size:var(--gse-ui-selectorCard-descriptive-minHeight);max-block-size:var(--gse-ui-selectorCard-descriptive-maxHeight);padding:var(--gse-ui-selectorCard-descriptive-padding);text-align:start;white-space:normal;border-radius:var(--gse-ui-selectorCard-descriptive-borderRadius)}.gux-selector-card.gux-descriptive .gux-content .gux-description-container{display:-webkit-box;overflow:hidden;-webkit-box-orient:vertical;-webkit-line-clamp:3}.gux-selector-card.gux-descriptive .gux-content ::slotted(gux-badge){margin-block-start:var(--gse-ui-selectorCard-descriptive-badge-marginTop)}.gux-selector-card.gux-descriptive .gux-content ::slotted(input[type=radio]),.gux-selector-card.gux-descriptive .gux-content ::slotted(input[type=checkbox]){inset-inline-start:0;border-radius:var(--gse-ui-selectorCard-descriptive-borderRadius)}.gux-selector-card.gux-descriptive .gux-content ::slotted(input[type=radio])::before,.gux-selector-card.gux-descriptive .gux-content ::slotted(input[type=checkbox])::before{inset-block-start:var(--gse-ui-selectorCard-descriptive-gap);inset-inline-end:var(--gse-ui-selectorCard-descriptive-padding);inline-size:var(--gse-ui-icon-small-size);block-size:var(--gse-ui-icon-small-size)}.gux-selector-card.gux-descriptive .gux-content ::slotted(label){display:block;margin-block-end:var(--gse-ui-selectorCard-descriptive-text-gap);font-family:var(--gse-ui-selectorCard-descriptive-label-fontFamily);font-size:var(--gse-ui-selectorCard-descriptive-label-fontSize);font-weight:var(--gse-ui-selectorCard-descriptive-label-fontWeight);line-height:var(--gse-ui-selectorCard-descriptive-label-lineHeight)}.gux-selector-card.gux-descriptive .gux-content ::slotted(gux-icon){inline-size:var(--gse-ui-icon-large-size);block-size:var(--gse-ui-icon-large-size);margin-block-end:var(--gse-ui-selectorCard-descriptive-gap)}.gux-selector-card.gux-disabled{pointer-events:none;cursor:not-allowed}.gux-selector-card.gux-disabled .gux-content{pointer-events:none;-webkit-user-select:none;user-select:none;background-color:var(--gse-ui-selectorCard-disabled-backgroundColor);opacity:var(--gse-ui-selectorCard-disabled-opacity)}.gux-selector-card:hover:not(:disabled) .gux-content{cursor:pointer;background-color:var(--gse-ui-selectorCard-hover-backgroundColor)}.gux-selector-card:hover:not(:disabled) .gux-content ::slotted(input[type=radio])::before,.gux-selector-card:hover:not(:disabled) .gux-content ::slotted(input[type=checkbox])::before{background-color:var(--gse-ui-selectorCard-hover-selectedIndicator-foregroundColor)}.gux-selector-card:active:not(:disabled) .gux-content{background-color:var(--gse-ui-selectorCard-active-backgroundColor)}.gux-selector-card:active:not(:disabled) .gux-content ::slotted(input[type=radio])::before,.gux-selector-card:active:not(:disabled) .gux-content ::slotted(input[type=checkbox])::before{background-color:var(--gse-ui-selectorCard-active-selectedIndicator-foregroundColor)}.gux-selector-card .gux-screenreader{position:absolute;top:auto;left:-10000px;width:1px;height:1px;overflow:hidden}";export{n as gux_selector_card_beta}
@@ -1 +1 @@
1
- import{r as t,h as e,H as i,g as s}from"./p-cf74fd3d.js";import{t as o}from"./p-74437e8f.js";import{f as r}from"./p-9b0d3713.js";import{r as a}from"./p-0934300e.js";const n=class{constructor(e){t(this,e),this.id=a("gux-tooltip-pointer"),this.accent="light",this.placement="bottom-start",this.visualOnly=!1}async showTooltip(){return await this.baseTooltip.showTooltip()}async hideTooltip(){return await this.baseTooltip.hideTooltip()}updateForElement(){this.forElement=this.getForElement()}componentWillLoad(){o(this.root,{variant:this.placement})}componentDidLoad(){this.baseTooltip&&(this.tooltipObserver=new MutationObserver((()=>{var t;this.role=null===(t=this.baseTooltip)||void 0===t?void 0:t.role})),this.tooltipObserver.observe(this.baseTooltip,{childList:!0,attributes:!0,attributeFilter:["role"]}))}connectedCallback(){this.updateForElement()}disconnectedCallback(){this.tooltipObserver&&this.tooltipObserver.disconnect()}getForElement(){if(this.for){const t=r(this.root,this.for);return t||this.logForAttributeError(),t}return this.root.parentElement}logForAttributeError(){this.root.isConnected&&console.error(`gux-tooltip-pointer: invalid element supplied to 'for': "${this.for}"`)}render(){return e(i,{key:"fb000951b9b468e71d44773cb2cf78f25fd1fb34",id:this.id,role:this.role},e("gux-tooltip-base-beta",{key:"dfbeb8488b7e9c18c4a6a9d562bfc759bc7e7441",forElement:this.forElement,placement:this.placement,accent:this.accent,tooltipId:this.id,visualOnly:this.visualOnly,ref:t=>this.baseTooltip=t,followMouse:!0},e("span",{key:"1c339b9f6a987e8995b667e80ad1341a5b226f1d",slot:"content"},e("slot",{key:"5cfe0123dce5e4ed2b9bacf0fc8f9f33539798e8",name:"content"},e("slot",{key:"02e85502243c4d20b447ef4e192c1b581d8ed1e9"})))))}get root(){return s(this)}static get watchers(){return{for:["updateForElement"]}}};export{n as gux_tooltip_pointer_beta}
1
+ import{r as t,h as e,H as i,g as s}from"./p-cf74fd3d.js";import{t as o}from"./p-f2226f29.js";import{f as r}from"./p-9b0d3713.js";import{r as a}from"./p-0934300e.js";const n=class{constructor(e){t(this,e),this.id=a("gux-tooltip-pointer"),this.accent="light",this.placement="bottom-start",this.visualOnly=!1}async showTooltip(){return await this.baseTooltip.showTooltip()}async hideTooltip(){return await this.baseTooltip.hideTooltip()}updateForElement(){this.forElement=this.getForElement()}componentWillLoad(){o(this.root,{variant:this.placement})}componentDidLoad(){this.baseTooltip&&(this.tooltipObserver=new MutationObserver((()=>{var t;this.role=null===(t=this.baseTooltip)||void 0===t?void 0:t.role})),this.tooltipObserver.observe(this.baseTooltip,{childList:!0,attributes:!0,attributeFilter:["role"]}))}connectedCallback(){this.updateForElement()}disconnectedCallback(){this.tooltipObserver&&this.tooltipObserver.disconnect()}getForElement(){if(this.for){const t=r(this.root,this.for);return t||this.logForAttributeError(),t}return this.root.parentElement}logForAttributeError(){this.root.isConnected&&console.error(`gux-tooltip-pointer: invalid element supplied to 'for': "${this.for}"`)}render(){return e(i,{key:"fb000951b9b468e71d44773cb2cf78f25fd1fb34",id:this.id,role:this.role},e("gux-tooltip-base-beta",{key:"dfbeb8488b7e9c18c4a6a9d562bfc759bc7e7441",forElement:this.forElement,placement:this.placement,accent:this.accent,tooltipId:this.id,visualOnly:this.visualOnly,ref:t=>this.baseTooltip=t,followMouse:!0},e("span",{key:"1c339b9f6a987e8995b667e80ad1341a5b226f1d",slot:"content"},e("slot",{key:"5cfe0123dce5e4ed2b9bacf0fc8f9f33539798e8",name:"content"},e("slot",{key:"02e85502243c4d20b447ef4e192c1b581d8ed1e9"})))))}get root(){return s(this)}static get watchers(){return{for:["updateForElement"]}}};export{n as gux_tooltip_pointer_beta}
@@ -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 a}from"./p-6b12dd16.js";import{p as l}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 g}from"./p-bd1d4fac.js";import{v as p,a as h}from"./p-4aaf349e.js";import{t as c}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.required=!0,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"),c(this.root,{variant:this.variant})}componentDidLoad(){this.updateHeight(this.textareaContainerElement,this.input,this.resize)}disconnectedCallback(){this.disabledObserver&&this.disabledObserver.disconnect(),this.requiredObserver&&this.requiredObserver.disconnect()}render(){return o(g,{key:"afc5b34188bc2429792a2a5be621d83392bef36c",labelPosition:this.computedLabelPosition},o(d,{key:"afd0785662dc28c6ec564375fc0e1512eef63dc6",required:this.required,position:this.computedLabelPosition},o("slot",{key:"9d3318b6a0242b629b83507272ffaab534cf0399",name:"label",onSlotchange:()=>this.setLabel()}),o("gux-form-field-label-indicator",{key:"c3ce5a92d46d87135f2537cfa7e001549f0b46ce",variant:this.indicatorMark,required:this.required}),o("slot",{key:"2a9618dfdc3207b545d298c221921bf0e2405062",name:"label-info"})),o("div",{key:"b512a08cda182fececa423e9f21908fa8d18d926",class:"gux-input-and-error-container"},o("div",{key:"c99fbcfe4f496b6666b00674363dfd7baf8a4b9e",ref:e=>this.textareaContainerElement=e,class:{"gux-input":!0,[`gux-resize-${this.resize}`]:!0,"gux-disabled":this.disabled,"gux-input-error":this.hasError}},o("slot",{key:"8933387ec8eb1e3363d132a9ef907341d4bc8303",name:"input"})),o(u,{key:"3250b2b484404f687e230c1d520a12fabe75e01f",show:this.hasError},o("slot",{key:"f31f7ecd263620e91e566e53603dccfd9c8f5cb9",name:"error"})),o(f,{key:"29439c754fe6e38252d79582379f4ded06a448e0",show:!this.hasError&&this.hasHelp},o("slot",{key:"ef20a8407ceb4578d99fbffc27e8af59945aa206",name:"help"}))))}get variant(){const e=this.labelPosition?this.labelPosition.toLowerCase():"none";return`${this.resize}-${e}`}setInput(){this.input=this.root.querySelector('textarea[slot="input"]'),l(this.input),this.updateHeight(this.textareaContainerElement,this.input,this.resize),this.input.addEventListener("input",(()=>{this.updateHeight(this.textareaContainerElement,this.input,this.resize)})),this.disabled=t(this.input),this.required=this.input.required,this.disabledObserver=i(this.input,(e=>{this.disabled=e})),this.requiredObserver=a(this.input,(e=>{this.required=e})),p(this.root,this.input)}setLabel(){this.label=this.root.querySelector('label[slot="label"]'),this.computedLabelPosition=h(this.label,this.labelPosition)}updateHeight(e,o,r){"auto"===r&&e&&(e.dataset.replicatedValue=o.value,e.style.maxHeight=o.style.maxHeight)}get root(){return r(this)}};(function(e,o,r,t){var i,n=arguments.length,a=n<3?o:null===t?t=Object.getOwnPropertyDescriptor(o,r):t;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(e,o,r,t);else for(var l=e.length-1;l>=0;l--)(i=e[l])&&(a=(n<3?i(a):n>3?i(o,r,a):i(o,r))||a);n>3&&a&&Object.defineProperty(o,r,a)})([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(textarea){flex:1 1 auto;align-self:auto;order:0;font-family:inherit;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);resize:vertical;outline:none;background-color:var(--gse-ui-formControl-input-backgroundColor);background-image:none;border:none;border-radius:var(--gse-ui-formControl-input-borderRadius);padding:var(--gse-ui-formControl-textarea-padding);margin:0}::slotted(textarea)::placeholder{color:var(--gse-ui-formControl-input-placeholderColor);opacity:1}::slotted(textarea)[disabled]{opacity:var(--gse-ui-formControl-input-disabled-opacity)}.gux-input-and-error-container{flex-grow:1}.gux-input-and-error-container .gux-input{position:relative;display:flex;outline: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: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:hover:not(.gux-disabled){border:var(--gse-ui-formControl-input-hover-border-width) var(--gse-ui-formControl-input-hover-border-style) var(--gse-ui-formControl-input-hover-border-color)}.gux-input-and-error-container .gux-input.gux-input-error{border-color:var(--gse-ui-formControl-input-error-border-color)}.gux-input-and-error-container .gux-input.gux-disabled{opacity:var(--gse-ui-formControl-input-disabled-opacity)}.gux-input-and-error-container .gux-input.gux-resize-none ::slotted(textarea){resize:none}.gux-input-and-error-container .gux-input.gux-resize-auto{display:grid;overflow:hidden;word-break:normal;word-break:break-word;overflow-wrap:anywhere}.gux-input-and-error-container .gux-input.gux-resize-auto::after{visibility:hidden;grid-row-start:1;grid-row-end:2;grid-column-start:1;grid-column-end:2;white-space:pre-wrap;content:attr(data-replicated-value) " ";padding:var(--gse-ui-formControl-textarea-padding);margin:0}.gux-input-and-error-container .gux-input.gux-resize-auto ::slotted(textarea){grid-row-start:1;grid-row-end:2;grid-column-start:1;grid-column-end:2;overflow-x:hidden;resize:none}';export{m as gux_form_field_textarea}
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 a}from"./p-6b12dd16.js";import{p as l}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 g}from"./p-bd1d4fac.js";import{v as p,a as h}from"./p-4aaf349e.js";import{t as c}from"./p-f2226f29.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.required=!0,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"),c(this.root,{variant:this.variant})}componentDidLoad(){this.updateHeight(this.textareaContainerElement,this.input,this.resize)}disconnectedCallback(){this.disabledObserver&&this.disabledObserver.disconnect(),this.requiredObserver&&this.requiredObserver.disconnect()}render(){return o(g,{key:"afc5b34188bc2429792a2a5be621d83392bef36c",labelPosition:this.computedLabelPosition},o(d,{key:"afd0785662dc28c6ec564375fc0e1512eef63dc6",required:this.required,position:this.computedLabelPosition},o("slot",{key:"9d3318b6a0242b629b83507272ffaab534cf0399",name:"label",onSlotchange:()=>this.setLabel()}),o("gux-form-field-label-indicator",{key:"c3ce5a92d46d87135f2537cfa7e001549f0b46ce",variant:this.indicatorMark,required:this.required}),o("slot",{key:"2a9618dfdc3207b545d298c221921bf0e2405062",name:"label-info"})),o("div",{key:"b512a08cda182fececa423e9f21908fa8d18d926",class:"gux-input-and-error-container"},o("div",{key:"c99fbcfe4f496b6666b00674363dfd7baf8a4b9e",ref:e=>this.textareaContainerElement=e,class:{"gux-input":!0,[`gux-resize-${this.resize}`]:!0,"gux-disabled":this.disabled,"gux-input-error":this.hasError}},o("slot",{key:"8933387ec8eb1e3363d132a9ef907341d4bc8303",name:"input"})),o(u,{key:"3250b2b484404f687e230c1d520a12fabe75e01f",show:this.hasError},o("slot",{key:"f31f7ecd263620e91e566e53603dccfd9c8f5cb9",name:"error"})),o(f,{key:"29439c754fe6e38252d79582379f4ded06a448e0",show:!this.hasError&&this.hasHelp},o("slot",{key:"ef20a8407ceb4578d99fbffc27e8af59945aa206",name:"help"}))))}get variant(){const e=this.labelPosition?this.labelPosition.toLowerCase():"none";return`${this.resize}-${e}`}setInput(){this.input=this.root.querySelector('textarea[slot="input"]'),l(this.input),this.updateHeight(this.textareaContainerElement,this.input,this.resize),this.input.addEventListener("input",(()=>{this.updateHeight(this.textareaContainerElement,this.input,this.resize)})),this.disabled=t(this.input),this.required=this.input.required,this.disabledObserver=i(this.input,(e=>{this.disabled=e})),this.requiredObserver=a(this.input,(e=>{this.required=e})),p(this.root,this.input)}setLabel(){this.label=this.root.querySelector('label[slot="label"]'),this.computedLabelPosition=h(this.label,this.labelPosition)}updateHeight(e,o,r){"auto"===r&&e&&(e.dataset.replicatedValue=o.value,e.style.maxHeight=o.style.maxHeight)}get root(){return r(this)}};(function(e,o,r,t){var i,n=arguments.length,a=n<3?o:null===t?t=Object.getOwnPropertyDescriptor(o,r):t;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(e,o,r,t);else for(var l=e.length-1;l>=0;l--)(i=e[l])&&(a=(n<3?i(a):n>3?i(o,r,a):i(o,r))||a);n>3&&a&&Object.defineProperty(o,r,a)})([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(textarea){flex:1 1 auto;align-self:auto;order:0;font-family:inherit;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);resize:vertical;outline:none;background-color:var(--gse-ui-formControl-input-backgroundColor);background-image:none;border:none;border-radius:var(--gse-ui-formControl-input-borderRadius);padding:var(--gse-ui-formControl-textarea-padding);margin:0}::slotted(textarea)::placeholder{color:var(--gse-ui-formControl-input-placeholderColor);opacity:1}::slotted(textarea)[disabled]{opacity:var(--gse-ui-formControl-input-disabled-opacity)}.gux-input-and-error-container{flex-grow:1}.gux-input-and-error-container .gux-input{position:relative;display:flex;outline: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: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:hover:not(.gux-disabled){border:var(--gse-ui-formControl-input-hover-border-width) var(--gse-ui-formControl-input-hover-border-style) var(--gse-ui-formControl-input-hover-border-color)}.gux-input-and-error-container .gux-input.gux-input-error{border-color:var(--gse-ui-formControl-input-error-border-color)}.gux-input-and-error-container .gux-input.gux-disabled{opacity:var(--gse-ui-formControl-input-disabled-opacity)}.gux-input-and-error-container .gux-input.gux-resize-none ::slotted(textarea){resize:none}.gux-input-and-error-container .gux-input.gux-resize-auto{display:grid;overflow:hidden;word-break:normal;word-break:break-word;overflow-wrap:anywhere}.gux-input-and-error-container .gux-input.gux-resize-auto::after{visibility:hidden;grid-row-start:1;grid-row-end:2;grid-column-start:1;grid-column-end:2;white-space:pre-wrap;content:attr(data-replicated-value) " ";padding:var(--gse-ui-formControl-textarea-padding);margin:0}.gux-input-and-error-container .gux-input.gux-resize-auto ::slotted(textarea){grid-row-start:1;grid-row-end:2;grid-column-start:1;grid-column-end:2;overflow-x:hidden;resize:none}';export{m as gux_form_field_textarea}
@@ -1 +1 @@
1
- import{r as t,h as o,H as e,g as n}from"./p-cf74fd3d.js";import{t as r}from"./p-74437e8f.js";import{l as a}from"./p-8eaf8caf.js";const i=class{constructor(o){t(this,o),this.accent="secondary"}validateSlotContent(){let t=this.root.children[0],o=t.tagName;if("SLOT"===o&&(t=t.assignedNodes()[0],o=t.tagName),"BUTTON"!==o){if("INPUT"===o){const o=t.getAttribute("type");if("button"===o||"submit"===o)return}a(this.root,'You must slot a button, input[type="button"] or input[type="submit"] element.')}}componentWillLoad(){r(this.root),this.validateSlotContent()}render(){return o(e,{key:"ea236b544d398ff799331a855c2814258213f814",accent:this.accent,"icon-only":this.iconOnly},o("slot",{key:"9178960eb31d0931c9e32625a72b45466895da04"}))}get root(){return n(this)}};i.style=":host{display:inline-block;pointer-events:none}::slotted(input[type=button]),::slotted(input[type=submit]),::slotted(button){font-family:var(--gse-ui-button-text-fontFamily);font-size:var(--gse-ui-button-text-fontSize);font-weight:var(--gse-ui-button-text-fontWeight);line-height:var(--gse-ui-button-text-lineHeight);inline-size:100%;min-inline-size:var(--gse-ui-button-iconOnly-width);block-size:var(--gse-ui-button-default-height);padding:var(--gse-ui-button-default-padding);overflow:hidden;text-overflow:ellipsis;color:var(--gse-ui-button-secondary-default-foregroundColor);white-space:nowrap;pointer-events:auto;cursor:pointer;background-color:var(--gse-ui-button-secondary-default-backgroundColor);border:none;border-radius:var(--gse-ui-button-borderRadius)}:host([icon-only]) ::slotted(input[type=button]),:host([icon-only]) ::slotted(input[type=submit]),:host([icon-only]) ::slotted(button){padding:var(--gse-ui-button-default-paddingIconOnly)}::slotted(input[type=button][disabled]),::slotted(input[type=submit][disabled]),::slotted(button[disabled]){cursor:default;opacity:var(--gse-ui-button-disabled-opacity)}::slotted(input[type=button]:focus),::slotted(input[type=submit]:focus),::slotted(button:focus){outline:none}::slotted(input[type=button]:focus-visible:enabled),::slotted(input[type=submit]:focus-visible:enabled),::slotted(button:focus-visible:enabled){outline:var(--gse-semantic-focusOutline-md-borderWidth) solid var(--gse-semantic-border-focus);outline-offset:var(--gse-semantic-focusOutline-offset)}::slotted(input[type=button]:hover:enabled),::slotted(input[type=submit]:hover:enabled),::slotted(button:hover:enabled){color:var(--gse-ui-button-secondary-hover-foregroundColor);background-color:var(--gse-ui-button-secondary-hover-backgroundColor)}::slotted(input[type=button]:active:enabled),::slotted(input[type=submit]:active:enabled),::slotted(button:active:enabled){color:var(--gse-ui-button-secondary-active-foregroundColor);background-color:var(--gse-ui-button-secondary-active-backgroundColor)}:host([accent=primary]) ::slotted(input[type=button]),:host([accent=primary]) ::slotted(input[type=submit]),:host([accent=primary]) ::slotted(button){color:var(--gse-ui-button-primary-default-foregroundColor);background-color:var(--gse-ui-button-primary-default-backgroundColor)}:host([accent=primary]) ::slotted(input[type=button]:hover:enabled),:host([accent=primary]) ::slotted(input[type=submit]:hover:enabled),:host([accent=primary]) ::slotted(button:hover:enabled){color:var(--gse-ui-button-primary-hover-foregroundColor);background-color:var(--gse-ui-button-primary-hover-backgroundColor)}:host([accent=primary]) ::slotted(input[type=button]:active:enabled),:host([accent=primary]) ::slotted(input[type=submit]:active:enabled),:host([accent=primary]) ::slotted(button:active:enabled){color:var(--gse-ui-button-primary-active-foregroundColor);background-color:var(--gse-ui-button-primary-active-backgroundColor)}:host([accent=tertiary]) ::slotted(input[type=button]),:host([accent=tertiary]) ::slotted(input[type=submit]),:host([accent=tertiary]) ::slotted(button){color:var(--gse-ui-button-tertiary-default-foregroundColor);background-color:var(--gse-ui-button-tertiary-default-backgroundColor);border-color:var(--gse-ui-button-tertiary-default-border-color);border-style:var(--gse-ui-button-tertiary-default-border-style);border-width:var(--gse-ui-button-tertiary-default-border-width)}:host([accent=tertiary]) ::slotted(input[type=button]:hover:enabled),:host([accent=tertiary]) ::slotted(input[type=submit]:hover:enabled),:host([accent=tertiary]) ::slotted(button:hover:enabled){color:var(--gse-ui-button-tertiary-hover-foregroundColor);background-color:var(--gse-ui-button-tertiary-hover-backgroundColor)}:host([accent=tertiary]) ::slotted(input[type=button]:active:enabled),:host([accent=tertiary]) ::slotted(input[type=submit]:active:enabled),:host([accent=tertiary]) ::slotted(button:active:enabled){color:var(--gse-ui-button-tertiary-active-foregroundColor);background-color:var(--gse-ui-button-tertiary-active-backgroundColor)}:host([accent=ghost]) ::slotted(input[type=button]),:host([accent=ghost]) ::slotted(input[type=submit]),:host([accent=ghost]) ::slotted(button){color:var(--gse-ui-button-ghost-default-foregroundColor);background-color:var(--gse-ui-button-ghost-default-backgroundColor)}:host([accent=ghost]) ::slotted(input[type=button]:hover:enabled),:host([accent=ghost]) ::slotted(input[type=submit]:hover:enabled),:host([accent=ghost]) ::slotted(button:hover:enabled){color:var(--gse-ui-button-ghost-hover-foregroundColor);background-color:var(--gse-ui-button-ghost-hover-backgroundColor)}:host([accent=ghost]) ::slotted(input[type=button]:active:enabled),:host([accent=ghost]) ::slotted(input[type=submit]:active:enabled),:host([accent=ghost]) ::slotted(button:active:enabled){color:var(--gse-ui-button-ghost-active-foregroundColor);background-color:var(--gse-ui-button-ghost-active-backgroundColor)}:host([accent=danger]) ::slotted(input[type=button]),:host([accent=danger]) ::slotted(input[type=submit]),:host([accent=danger]) ::slotted(button){color:var(--gse-ui-button-danger-default-foregroundColor);background-color:var(--gse-ui-button-danger-default-backgroundColor)}:host([accent=danger]) ::slotted(input[type=button]:hover:enabled),:host([accent=danger]) ::slotted(input[type=submit]:hover:enabled),:host([accent=danger]) ::slotted(button:hover:enabled){color:var(--gse-ui-button-danger-hover-foregroundColor);background-color:var(--gse-ui-button-danger-hover-backgroundColor)}:host([accent=danger]) ::slotted(input[type=button]:active:enabled),:host([accent=danger]) ::slotted(input[type=submit]:active:enabled),:host([accent=danger]) ::slotted(button:active:enabled){color:var(--gse-ui-button-danger-active-foregroundColor);background-color:var(--gse-ui-button-danger-active-backgroundColor)}:host([accent=inline]){min-inline-size:initial}:host([accent=inline]) ::slotted(input[type=button]),:host([accent=inline]) ::slotted(input[type=submit]),:host([accent=inline]) ::slotted(button){block-size:initial;padding:0;color:var(--gse-ui-links-default-foregroundColor);background:none;border:none}:host([accent=inline]) ::slotted(input[type=button][disabled]),:host([accent=inline]) ::slotted(input[type=submit][disabled]),:host([accent=inline]) ::slotted(button[disabled]){color:var(--gse-ui-links-disabled-foregroundColor)}:host([accent=inline]) ::slotted(input[type=button]:hover:enabled),:host([accent=inline]) ::slotted(input[type=submit]:hover:enabled),:host([accent=inline]) ::slotted(button:hover:enabled){color:var(--gse-ui-links-hover-foregroundColor);text-decoration:underline;background:none}:host([accent=inline]) ::slotted(input[type=button]:active:enabled),:host([accent=inline]) ::slotted(input[type=submit]:active:enabled),:host([accent=inline]) ::slotted(button:active:enabled){color:var(--gse-ui-links-active-foregroundColor);text-decoration:underline;background:none}";export{i as gux_button_slot}
1
+ import{r as t,h as o,H as e,g as n}from"./p-cf74fd3d.js";import{t as r}from"./p-f2226f29.js";import{l as a}from"./p-8eaf8caf.js";const i=class{constructor(o){t(this,o),this.accent="secondary"}validateSlotContent(){let t=this.root.children[0],o=t.tagName;if("SLOT"===o&&(t=t.assignedNodes()[0],o=t.tagName),"BUTTON"!==o){if("INPUT"===o){const o=t.getAttribute("type");if("button"===o||"submit"===o)return}a(this.root,'You must slot a button, input[type="button"] or input[type="submit"] element.')}}componentWillLoad(){r(this.root),this.validateSlotContent()}render(){return o(e,{key:"ea236b544d398ff799331a855c2814258213f814",accent:this.accent,"icon-only":this.iconOnly},o("slot",{key:"9178960eb31d0931c9e32625a72b45466895da04"}))}get root(){return n(this)}};i.style=":host{display:inline-block;pointer-events:none}::slotted(input[type=button]),::slotted(input[type=submit]),::slotted(button){font-family:var(--gse-ui-button-text-fontFamily);font-size:var(--gse-ui-button-text-fontSize);font-weight:var(--gse-ui-button-text-fontWeight);line-height:var(--gse-ui-button-text-lineHeight);inline-size:100%;min-inline-size:var(--gse-ui-button-iconOnly-width);block-size:var(--gse-ui-button-default-height);padding:var(--gse-ui-button-default-padding);overflow:hidden;text-overflow:ellipsis;color:var(--gse-ui-button-secondary-default-foregroundColor);white-space:nowrap;pointer-events:auto;cursor:pointer;background-color:var(--gse-ui-button-secondary-default-backgroundColor);border:none;border-radius:var(--gse-ui-button-borderRadius)}:host([icon-only]) ::slotted(input[type=button]),:host([icon-only]) ::slotted(input[type=submit]),:host([icon-only]) ::slotted(button){padding:var(--gse-ui-button-default-paddingIconOnly)}::slotted(input[type=button][disabled]),::slotted(input[type=submit][disabled]),::slotted(button[disabled]){cursor:default;opacity:var(--gse-ui-button-disabled-opacity)}::slotted(input[type=button]:focus),::slotted(input[type=submit]:focus),::slotted(button:focus){outline:none}::slotted(input[type=button]:focus-visible:enabled),::slotted(input[type=submit]:focus-visible:enabled),::slotted(button:focus-visible:enabled){outline:var(--gse-semantic-focusOutline-md-borderWidth) solid var(--gse-semantic-border-focus);outline-offset:var(--gse-semantic-focusOutline-offset)}::slotted(input[type=button]:hover:enabled),::slotted(input[type=submit]:hover:enabled),::slotted(button:hover:enabled){color:var(--gse-ui-button-secondary-hover-foregroundColor);background-color:var(--gse-ui-button-secondary-hover-backgroundColor)}::slotted(input[type=button]:active:enabled),::slotted(input[type=submit]:active:enabled),::slotted(button:active:enabled){color:var(--gse-ui-button-secondary-active-foregroundColor);background-color:var(--gse-ui-button-secondary-active-backgroundColor)}:host([accent=primary]) ::slotted(input[type=button]),:host([accent=primary]) ::slotted(input[type=submit]),:host([accent=primary]) ::slotted(button){color:var(--gse-ui-button-primary-default-foregroundColor);background-color:var(--gse-ui-button-primary-default-backgroundColor)}:host([accent=primary]) ::slotted(input[type=button]:hover:enabled),:host([accent=primary]) ::slotted(input[type=submit]:hover:enabled),:host([accent=primary]) ::slotted(button:hover:enabled){color:var(--gse-ui-button-primary-hover-foregroundColor);background-color:var(--gse-ui-button-primary-hover-backgroundColor)}:host([accent=primary]) ::slotted(input[type=button]:active:enabled),:host([accent=primary]) ::slotted(input[type=submit]:active:enabled),:host([accent=primary]) ::slotted(button:active:enabled){color:var(--gse-ui-button-primary-active-foregroundColor);background-color:var(--gse-ui-button-primary-active-backgroundColor)}:host([accent=tertiary]) ::slotted(input[type=button]),:host([accent=tertiary]) ::slotted(input[type=submit]),:host([accent=tertiary]) ::slotted(button){color:var(--gse-ui-button-tertiary-default-foregroundColor);background-color:var(--gse-ui-button-tertiary-default-backgroundColor);border-color:var(--gse-ui-button-tertiary-default-border-color);border-style:var(--gse-ui-button-tertiary-default-border-style);border-width:var(--gse-ui-button-tertiary-default-border-width)}:host([accent=tertiary]) ::slotted(input[type=button]:hover:enabled),:host([accent=tertiary]) ::slotted(input[type=submit]:hover:enabled),:host([accent=tertiary]) ::slotted(button:hover:enabled){color:var(--gse-ui-button-tertiary-hover-foregroundColor);background-color:var(--gse-ui-button-tertiary-hover-backgroundColor)}:host([accent=tertiary]) ::slotted(input[type=button]:active:enabled),:host([accent=tertiary]) ::slotted(input[type=submit]:active:enabled),:host([accent=tertiary]) ::slotted(button:active:enabled){color:var(--gse-ui-button-tertiary-active-foregroundColor);background-color:var(--gse-ui-button-tertiary-active-backgroundColor)}:host([accent=ghost]) ::slotted(input[type=button]),:host([accent=ghost]) ::slotted(input[type=submit]),:host([accent=ghost]) ::slotted(button){color:var(--gse-ui-button-ghost-default-foregroundColor);background-color:var(--gse-ui-button-ghost-default-backgroundColor)}:host([accent=ghost]) ::slotted(input[type=button]:hover:enabled),:host([accent=ghost]) ::slotted(input[type=submit]:hover:enabled),:host([accent=ghost]) ::slotted(button:hover:enabled){color:var(--gse-ui-button-ghost-hover-foregroundColor);background-color:var(--gse-ui-button-ghost-hover-backgroundColor)}:host([accent=ghost]) ::slotted(input[type=button]:active:enabled),:host([accent=ghost]) ::slotted(input[type=submit]:active:enabled),:host([accent=ghost]) ::slotted(button:active:enabled){color:var(--gse-ui-button-ghost-active-foregroundColor);background-color:var(--gse-ui-button-ghost-active-backgroundColor)}:host([accent=danger]) ::slotted(input[type=button]),:host([accent=danger]) ::slotted(input[type=submit]),:host([accent=danger]) ::slotted(button){color:var(--gse-ui-button-danger-default-foregroundColor);background-color:var(--gse-ui-button-danger-default-backgroundColor)}:host([accent=danger]) ::slotted(input[type=button]:hover:enabled),:host([accent=danger]) ::slotted(input[type=submit]:hover:enabled),:host([accent=danger]) ::slotted(button:hover:enabled){color:var(--gse-ui-button-danger-hover-foregroundColor);background-color:var(--gse-ui-button-danger-hover-backgroundColor)}:host([accent=danger]) ::slotted(input[type=button]:active:enabled),:host([accent=danger]) ::slotted(input[type=submit]:active:enabled),:host([accent=danger]) ::slotted(button:active:enabled){color:var(--gse-ui-button-danger-active-foregroundColor);background-color:var(--gse-ui-button-danger-active-backgroundColor)}:host([accent=inline]){min-inline-size:initial}:host([accent=inline]) ::slotted(input[type=button]),:host([accent=inline]) ::slotted(input[type=submit]),:host([accent=inline]) ::slotted(button){block-size:initial;padding:0;color:var(--gse-ui-links-default-foregroundColor);background:none;border:none}:host([accent=inline]) ::slotted(input[type=button][disabled]),:host([accent=inline]) ::slotted(input[type=submit][disabled]),:host([accent=inline]) ::slotted(button[disabled]){color:var(--gse-ui-links-disabled-foregroundColor)}:host([accent=inline]) ::slotted(input[type=button]:hover:enabled),:host([accent=inline]) ::slotted(input[type=submit]:hover:enabled),:host([accent=inline]) ::slotted(button:hover:enabled){color:var(--gse-ui-links-hover-foregroundColor);text-decoration:underline;background:none}:host([accent=inline]) ::slotted(input[type=button]:active:enabled),:host([accent=inline]) ::slotted(input[type=submit]:active:enabled),:host([accent=inline]) ::slotted(button:active:enabled){color:var(--gse-ui-links-active-foregroundColor);text-decoration:underline;background:none}";export{i as gux_button_slot}
@@ -1 +1 @@
1
- import{r as i,h as o,g as r}from"./p-cf74fd3d.js";import{t}from"./p-74437e8f.js";import{b as a}from"./p-e5e644b3.js";import"./p-4202e9f2.js";const e={optional:"optional"},l=class{constructor(o){i(this,o),this.variant="required",this.required=!1}async componentWillLoad(){t(this.root,{variant:this.variant}),this.i18n=await a(this.root,e)}render(){return"optional"!==this.variant||this.required?"required"===this.variant&&this.required?o("span",{class:"gux-form-field-label-indicator-required","aria-hidden":"true"},"*"):null:o("span",{class:"gux-form-field-label-indicator-optional"},"(",this.i18n("optional"),")")}get root(){return r(this)}};l.style=".gux-form-field-label-indicator-required{padding-inline-start:var(--gse-ui-formControl-formField-gap);color:var(--gse-ui-formControl-label-indicator-requiredColor)}.gux-form-field-label-indicator-optional{margin-inline-start:var(--gse-ui-formControl-formField-gap);font-family:var(--gse-ui-formControl-label-indicator-text-fontFamily);font-size:var(--gse-ui-formControl-label-indicator-text-fontSize);font-weight:var(--gse-ui-formControl-label-indicator-text-fontWeight);line-height:var(--gse-ui-formControl-label-indicator-text-lineHeight);color:var(--gse-ui-formControl-label-indicator-optionalColor)}";export{l as gux_form_field_label_indicator}
1
+ import{r as i,h as o,g as r}from"./p-cf74fd3d.js";import{t}from"./p-f2226f29.js";import{b as a}from"./p-e5e644b3.js";import"./p-4202e9f2.js";const e={optional:"optional"},l=class{constructor(o){i(this,o),this.variant="required",this.required=!1}async componentWillLoad(){t(this.root,{variant:this.variant}),this.i18n=await a(this.root,e)}render(){return"optional"!==this.variant||this.required?"required"===this.variant&&this.required?o("span",{class:"gux-form-field-label-indicator-required","aria-hidden":"true"},"*"):null:o("span",{class:"gux-form-field-label-indicator-optional"},"(",this.i18n("optional"),")")}get root(){return r(this)}};l.style=".gux-form-field-label-indicator-required{padding-inline-start:var(--gse-ui-formControl-formField-gap);color:var(--gse-ui-formControl-label-indicator-requiredColor)}.gux-form-field-label-indicator-optional{margin-inline-start:var(--gse-ui-formControl-formField-gap);font-family:var(--gse-ui-formControl-label-indicator-text-fontFamily);font-size:var(--gse-ui-formControl-label-indicator-text-fontSize);font-weight:var(--gse-ui-formControl-label-indicator-text-fontWeight);line-height:var(--gse-ui-formControl-label-indicator-text-lineHeight);color:var(--gse-ui-formControl-label-indicator-optionalColor)}";export{l as gux_form_field_label_indicator}
@@ -1 +1 @@
1
- import{r as e,h as r,g as s}from"./p-cf74fd3d.js";import{t as a}from"./p-74437e8f.js";const t=class{constructor(r){e(this,r)}componentWillLoad(){a(this.root)}render(){return r("div",{key:"0432cf59da3438a9c8e299083a93b01f47f64ad8",class:"gux-selector-cards"},r("slot",{key:"5e40bc2d53b13708ca546e4fb5a7e4816601c3d1"}))}get root(){return s(this)}};t.style=".gux-selector-cards{display:flex;flex-wrap:wrap;gap:var(--gse-ui-selectorCard-simple-gap)}";export{t as gux_selector_cards_beta}
1
+ import{r as e,h as r,g as s}from"./p-cf74fd3d.js";import{t as a}from"./p-f2226f29.js";const t=class{constructor(r){e(this,r)}componentWillLoad(){a(this.root)}render(){return r("div",{key:"0432cf59da3438a9c8e299083a93b01f47f64ad8",class:"gux-selector-cards"},r("slot",{key:"5e40bc2d53b13708ca546e4fb5a7e4816601c3d1"}))}get root(){return s(this)}};t.style=".gux-selector-cards{display:flex;flex-wrap:wrap;gap:var(--gse-ui-selectorCard-simple-gap)}";export{t as gux_selector_cards_beta}
@@ -1 +1 @@
1
- import{r as t,c as s,h as e,H as i,g as a}from"./p-cf74fd3d.js";import{t as c}from"./p-74437e8f.js";const h=class{constructor(e){t(this,e),this.guxactivetabchange=s(this,"guxactivetabchange",7),this.orientation="horizontal",this.alignment="left",this.tabPanels=[]}watchActiveTab(t){this.activateTab(t,this.tabList,this.tabPanels),this.guxactivetabchange.emit(t)}onInternalActivateTabPanel(t){t.stopPropagation(),this.activateTab(t.detail,this.tabList,this.tabPanels)}async guxActivate(t){this.activateTab(t,this.tabList,this.tabPanels)}onSlotchange(){const[t,s]=Array.from(this.root.shadowRoot.querySelectorAll("slot"));this.tabList=t.assignedElements()[0],this.tabPanels=s.assignedElements(),this.activateTab(this.activeTab,this.tabList,this.tabPanels)}activateTab(t,s,e){this.activeTab=t||e[0].tabId,null==s||s.guxSetActive(this.activeTab),null==e||e.forEach((t=>{t.guxSetActive(t.tabId===this.activeTab)}))}componentWillLoad(){c(this.root)}render(){return e(i,{key:"7fdc61c4f732fb4bee5375e0672a85ae5dfe4b05"},e("div",{key:"5b81a10ce41c2b7888b7247c92207ebe3bd9fa65",class:`gux-tabs gux-${this.alignment} gux-${this.orientation}`},e("slot",{key:"7cbaa1cae34b019e0161a1aec7c20e575e9b7021",name:"tab-list"}),e("div",{key:"5337ba55bb7c74f832fe97c113a3f95bd3369931",class:`gux-${this.alignment} gux-${this.orientation} gux-panel-container`},e("slot",{key:"003ed2350c122ea5c1aded128bea3a1efd0f2797",onSlotchange:this.onSlotchange.bind(this)}))))}get root(){return a(this)}static get watchers(){return{activeTab:["watchActiveTab"]}}};h.style=":host{display:flex;flex-direction:column}:host .gux-tabs{display:flex;block-size:100%}:host .gux-tabs:not(.gux-vertical){flex-direction:column}:host .gux-panel-container{display:flex;flex:1 1 auto;flex-direction:column;block-size:100%;min-block-size:0}";export{h as gux_tabs}
1
+ import{r as t,c as s,h as e,H as i,g as a}from"./p-cf74fd3d.js";import{t as c}from"./p-f2226f29.js";const h=class{constructor(e){t(this,e),this.guxactivetabchange=s(this,"guxactivetabchange",7),this.orientation="horizontal",this.alignment="left",this.tabPanels=[]}watchActiveTab(t){this.activateTab(t,this.tabList,this.tabPanels),this.guxactivetabchange.emit(t)}onInternalActivateTabPanel(t){t.stopPropagation(),this.activateTab(t.detail,this.tabList,this.tabPanels)}async guxActivate(t){this.activateTab(t,this.tabList,this.tabPanels)}onSlotchange(){const[t,s]=Array.from(this.root.shadowRoot.querySelectorAll("slot"));this.tabList=t.assignedElements()[0],this.tabPanels=s.assignedElements(),this.activateTab(this.activeTab,this.tabList,this.tabPanels)}activateTab(t,s,e){this.activeTab=t||e[0].tabId,null==s||s.guxSetActive(this.activeTab),null==e||e.forEach((t=>{t.guxSetActive(t.tabId===this.activeTab)}))}componentWillLoad(){c(this.root)}render(){return e(i,{key:"7fdc61c4f732fb4bee5375e0672a85ae5dfe4b05"},e("div",{key:"5b81a10ce41c2b7888b7247c92207ebe3bd9fa65",class:`gux-tabs gux-${this.alignment} gux-${this.orientation}`},e("slot",{key:"7cbaa1cae34b019e0161a1aec7c20e575e9b7021",name:"tab-list"}),e("div",{key:"5337ba55bb7c74f832fe97c113a3f95bd3369931",class:`gux-${this.alignment} gux-${this.orientation} gux-panel-container`},e("slot",{key:"003ed2350c122ea5c1aded128bea3a1efd0f2797",onSlotchange:this.onSlotchange.bind(this)}))))}get root(){return a(this)}static get watchers(){return{activeTab:["watchActiveTab"]}}};h.style=":host{display:flex;flex-direction:column}:host .gux-tabs{display:flex;block-size:100%}:host .gux-tabs:not(.gux-vertical){flex-direction:column}:host .gux-panel-container{display:flex;flex:1 1 auto;flex-direction:column;block-size:100%;min-block-size:0}";export{h as gux_tabs}
@@ -1 +1 @@
1
- import{r as t,c as i,h as e,H as s,g as o}from"./p-cf74fd3d.js";import{b as a,h as n,s as r,d as h,e as l,f as u,i as d,j as c,k as g,l as m,m as p,c as v,a as b,o as x}from"./p-379254a5.js";import{b as f}from"./p-e5e644b3.js";import{w}from"./p-e97879b4.js";import{s as O}from"./p-2c25e2f2.js";import{t as y}from"./p-74437e8f.js";import{b as C}from"./p-cf0e7d3b.js";import"./p-4202e9f2.js";const j={add:"Add {name}",noMatches:"No matches",loading:"Loading..."},S=class{constructor(e){t(this,e),this.internallistboxoptionsupdated=i(this,"internallistboxoptionsupdated",7),this.loading=!1,this.filter="",this.textInput="",this.filterType="none",this.disabled=!1,this.listboxOptions=[],this.hasExactMatch=!1}onBlur(){a(this.root)}selectNewCustomOption(t){this.updateValue(t.detail)}onKeydown(t){var i;if(!n(this.root))return t.preventDefault(),void r(this.root);switch(t.key){case"Enter":return t.preventDefault(),void((null===(i=this.optionCreateElement)||void 0===i?void 0:i.active)?(this.optionCreateElement.guxEmitInternalCreateNewOption(),C((()=>{r(this.root)}))):m(this.root,(t=>this.updateValue(t))));case"ArrowDown":return t.preventDefault(),void(c(this.root)?(t.stopPropagation(),g(this.root)):l(this.root));case"ArrowUp":return t.preventDefault(),void(u(this.root)?(t.stopPropagation(),d(this.root)):h(this.root));case"Home":return t.preventDefault(),void l(this.root);case"End":return t.preventDefault(),void h(this.root);case" ":return void t.preventDefault()}1!==t.key.length||p(this.root,t.key)}onKeyup(t){var i;" "!==t.key||((null===(i=this.optionCreateElement)||void 0===i?void 0:i.active)?(this.optionCreateElement.guxEmitInternalCreateNewOption(),C((()=>{r(this.root)}))):m(this.root,(t=>this.updateValue(t))))}onMousemove(){a(this.root)}onClick(t){w("gux-option-multi",t,(t=>{x(t,(t=>this.updateValue(t)))}))}async guxSelectActive(){m(this.root,(t=>this.updateValue(t)))}getHasExactMatch(){let t=!1;return this.hasExactMatch=!1,this.listboxOptions.forEach((i=>{var e,s;(null===(s=null===(e=i.textContent)||void 0===e?void 0:e.toLowerCase())||void 0===s?void 0:s.trim())==this.textInput.toLowerCase().trim()&&(t=!0,this.hasExactMatch=!0)})),t}updateOptionMultiCreateValue(){this.optionCreateElement&&(this.optionCreateElement.value=this.textInput,this.optionCreateElement.filtered=!this.textInput||this.getHasExactMatch())}getSelectedValues(){return v(this.value)}updateOnSlotChange(){this.setListboxOptions(),this.updateListboxOptions()}getOptionCreateElement(){this.optionCreateElement=this.root.querySelector("gux-create-option")}setListboxOptions(){this.listboxOptions=Array.from(this.root.children).filter((t=>"GUX-OPTION-MULTI"===t.tagName)),this.internallistboxoptionsupdated.emit()}updateListboxOptions(){this.listboxOptions.forEach((t=>{var i;t.selected=this.getSelectedValues().includes(t.value),"custom"!==this.filterType&&"none"!==this.filterType&&(t.filtered=!(null===(i=b(t))||void 0===i?void 0:i.textContent.trim().toLowerCase().startsWith(this.textInput.toLowerCase())))}))}updateValue(t){if(this.getSelectedValues().includes(t)){const i=this.getSelectedValues().filter((i=>i!==t));this.value=i.length?i.join(","):void 0}else{const i=[...this.getSelectedValues(),t];this.value=i.join(",")}O(this.root,"input"),O(this.root,"change")}async componentWillLoad(){y(this.root),this.i18n=await f(this.root,j),this.setListboxOptions(),this.getOptionCreateElement()}componentWillRender(){this.setListboxOptions(),this.updateListboxOptions(),this.allListboxOptionsFiltered=0===this.listboxOptions.filter((t=>!t.filtered)).length}renderHiddenSlot(){return e("div",{hidden:!0},e("slot",{onSlotchange:()=>this.setListboxOptions()}))}renderLoading(){return[e("div",{class:"gux-message-container"},e("gux-radial-loading",{context:"modal"}),e("span",null,this.i18n("loading"))),this.renderHiddenSlot()]}renderAllListboxOptionsFiltered(){if(this.allListboxOptionsFiltered)return[e("div",{class:"gux-message-container"},e("div",{class:"gux-no-matches"},this.emptyMessage||this.i18n("noMatches"))),this.renderHiddenSlot()]}renderCreateOptionSlot(){return e("slot",{name:"create"})}render(){return this.loading?this.renderLoading():e(s,{role:"listbox","aria-multiselectable":"true",tabindex:0},e("slot",{onSlotchange:()=>this.updateOnSlotChange()}),this.renderAllListboxOptionsFiltered(),this.renderCreateOptionSlot())}get root(){return o(this)}static get watchers(){return{textInput:["updateOptionMultiCreateValue"]}}};S.style=":host{box-sizing:border-box;display:block;max-block-size:var(--gse-ui-menu-maxHeight);padding:var(--gse-ui-menu-padding);overflow:hidden auto;outline:none;scrollbar-color:var(--gse-ui-menu-scrollbar-foregroundColor);background:var(--gse-ui-menu-backgroundColor);border:var(--gse-ui-menu-border-width) var(--gse-ui-menu-border-style) var(--gse-ui-menu-border-color);border-radius:var(--gse-ui-menu-borderRadius);box-shadow:var(--gse-ui-menu-boxShadow)}.gux-message-container{display:flex;flex-direction:column;flex-wrap:nowrap;place-content:stretch center;align-items:center}.gux-message-container .gux-no-matches{box-sizing:border-box;block-size:var(--gse-ui-menu-option-height);padding-block:var(--gse-ui-dropdown-gap);font-family:var(--gse-ui-menu-option-label-active-text-fontFamily);font-size:var(--gse-ui-menu-option-label-active-text-fontSize);font-weight:var(--gse-ui-menu-option-label-active-text-fontWeight);line-height:var(--gse-ui-menu-option-label-active-text-lineHeight);color:var(--gse-ui-menu-option-label-foregroundColor)}";export{S as gux_listbox_multi}
1
+ import{r as t,c as i,h as e,H as s,g as o}from"./p-cf74fd3d.js";import{b as a,h as n,s as r,d as h,e as l,f as u,i as d,j as c,k as g,l as m,m as p,c as v,a as b,o as x}from"./p-379254a5.js";import{b as f}from"./p-e5e644b3.js";import{w}from"./p-e97879b4.js";import{s as O}from"./p-2c25e2f2.js";import{t as y}from"./p-f2226f29.js";import{b as C}from"./p-cf0e7d3b.js";import"./p-4202e9f2.js";const j={add:"Add {name}",noMatches:"No matches",loading:"Loading..."},S=class{constructor(e){t(this,e),this.internallistboxoptionsupdated=i(this,"internallistboxoptionsupdated",7),this.loading=!1,this.filter="",this.textInput="",this.filterType="none",this.disabled=!1,this.listboxOptions=[],this.hasExactMatch=!1}onBlur(){a(this.root)}selectNewCustomOption(t){this.updateValue(t.detail)}onKeydown(t){var i;if(!n(this.root))return t.preventDefault(),void r(this.root);switch(t.key){case"Enter":return t.preventDefault(),void((null===(i=this.optionCreateElement)||void 0===i?void 0:i.active)?(this.optionCreateElement.guxEmitInternalCreateNewOption(),C((()=>{r(this.root)}))):m(this.root,(t=>this.updateValue(t))));case"ArrowDown":return t.preventDefault(),void(c(this.root)?(t.stopPropagation(),g(this.root)):l(this.root));case"ArrowUp":return t.preventDefault(),void(u(this.root)?(t.stopPropagation(),d(this.root)):h(this.root));case"Home":return t.preventDefault(),void l(this.root);case"End":return t.preventDefault(),void h(this.root);case" ":return void t.preventDefault()}1!==t.key.length||p(this.root,t.key)}onKeyup(t){var i;" "!==t.key||((null===(i=this.optionCreateElement)||void 0===i?void 0:i.active)?(this.optionCreateElement.guxEmitInternalCreateNewOption(),C((()=>{r(this.root)}))):m(this.root,(t=>this.updateValue(t))))}onMousemove(){a(this.root)}onClick(t){w("gux-option-multi",t,(t=>{x(t,(t=>this.updateValue(t)))}))}async guxSelectActive(){m(this.root,(t=>this.updateValue(t)))}getHasExactMatch(){let t=!1;return this.hasExactMatch=!1,this.listboxOptions.forEach((i=>{var e,s;(null===(s=null===(e=i.textContent)||void 0===e?void 0:e.toLowerCase())||void 0===s?void 0:s.trim())==this.textInput.toLowerCase().trim()&&(t=!0,this.hasExactMatch=!0)})),t}updateOptionMultiCreateValue(){this.optionCreateElement&&(this.optionCreateElement.value=this.textInput,this.optionCreateElement.filtered=!this.textInput||this.getHasExactMatch())}getSelectedValues(){return v(this.value)}updateOnSlotChange(){this.setListboxOptions(),this.updateListboxOptions()}getOptionCreateElement(){this.optionCreateElement=this.root.querySelector("gux-create-option")}setListboxOptions(){this.listboxOptions=Array.from(this.root.children).filter((t=>"GUX-OPTION-MULTI"===t.tagName)),this.internallistboxoptionsupdated.emit()}updateListboxOptions(){this.listboxOptions.forEach((t=>{var i;t.selected=this.getSelectedValues().includes(t.value),"custom"!==this.filterType&&"none"!==this.filterType&&(t.filtered=!(null===(i=b(t))||void 0===i?void 0:i.textContent.trim().toLowerCase().startsWith(this.textInput.toLowerCase())))}))}updateValue(t){if(this.getSelectedValues().includes(t)){const i=this.getSelectedValues().filter((i=>i!==t));this.value=i.length?i.join(","):void 0}else{const i=[...this.getSelectedValues(),t];this.value=i.join(",")}O(this.root,"input"),O(this.root,"change")}async componentWillLoad(){y(this.root),this.i18n=await f(this.root,j),this.setListboxOptions(),this.getOptionCreateElement()}componentWillRender(){this.setListboxOptions(),this.updateListboxOptions(),this.allListboxOptionsFiltered=0===this.listboxOptions.filter((t=>!t.filtered)).length}renderHiddenSlot(){return e("div",{hidden:!0},e("slot",{onSlotchange:()=>this.setListboxOptions()}))}renderLoading(){return[e("div",{class:"gux-message-container"},e("gux-radial-loading",{context:"modal"}),e("span",null,this.i18n("loading"))),this.renderHiddenSlot()]}renderAllListboxOptionsFiltered(){if(this.allListboxOptionsFiltered)return[e("div",{class:"gux-message-container"},e("div",{class:"gux-no-matches"},this.emptyMessage||this.i18n("noMatches"))),this.renderHiddenSlot()]}renderCreateOptionSlot(){return e("slot",{name:"create"})}render(){return this.loading?this.renderLoading():e(s,{role:"listbox","aria-multiselectable":"true",tabindex:0},e("slot",{onSlotchange:()=>this.updateOnSlotChange()}),this.renderAllListboxOptionsFiltered(),this.renderCreateOptionSlot())}get root(){return o(this)}static get watchers(){return{textInput:["updateOptionMultiCreateValue"]}}};S.style=":host{box-sizing:border-box;display:block;max-block-size:var(--gse-ui-menu-maxHeight);padding:var(--gse-ui-menu-padding);overflow:hidden auto;outline:none;scrollbar-color:var(--gse-ui-menu-scrollbar-foregroundColor);background:var(--gse-ui-menu-backgroundColor);border:var(--gse-ui-menu-border-width) var(--gse-ui-menu-border-style) var(--gse-ui-menu-border-color);border-radius:var(--gse-ui-menu-borderRadius);box-shadow:var(--gse-ui-menu-boxShadow)}.gux-message-container{display:flex;flex-direction:column;flex-wrap:nowrap;place-content:stretch center;align-items:center}.gux-message-container .gux-no-matches{box-sizing:border-box;block-size:var(--gse-ui-menu-option-height);padding-block:var(--gse-ui-dropdown-gap);font-family:var(--gse-ui-menu-option-label-active-text-fontFamily);font-size:var(--gse-ui-menu-option-label-active-text-fontSize);font-weight:var(--gse-ui-menu-option-label-active-text-fontWeight);line-height:var(--gse-ui-menu-option-label-active-text-lineHeight);color:var(--gse-ui-menu-option-label-foregroundColor)}";export{S as gux_listbox_multi}
@@ -1 +1 @@
1
- import{r as e,c as t,h as a,H as i,g as o}from"./p-cf74fd3d.js";import{t as s}from"./p-74437e8f.js";const n=class{constructor(a){e(this,a),this.guxdismiss=t(this,"guxdismiss",7),this.accent="neutral"}componentWillLoad(){s(this.root,{variant:this.accent})}render(){return a(i,{key:"05fb3239ed8a7b3b97cc88b6a613cc8b2669bf6e"},a("div",{key:"b5c97740a392fb8bf6dd10dfc17717ba9b236c1f",class:`gux-icon gux-${this.accent}`},a("slot",{key:"d8d9b5bdbc05665dee31bd29244870ff07df9078",name:"icon"})),a("div",{key:"2ea8b352598f85ad7747d86b073c96202ae05423",class:"gux-content"},a("gux-truncate",{key:"780143649c27a9a3df52ba03624923972b20c927",class:"gux-title","max-lines":1},a("slot",{key:"763979ada598277bd68461c15685570ec37f8f58",name:"title"})),a("gux-truncate",{key:"a87f67cde3759bcc6fa673580b2e2820ab48ba94",class:"gux-message","max-lines":2},a("slot",{key:"9c1e1d712dfc9ed9527934474c66b28caf8bb471",name:"message"}))),a("gux-dismiss-button",{key:"ac4562e6830355aa38569035621936aa7b8bbce2",onClick:this.onDismissClickHandler.bind(this)}))}onDismissClickHandler(e){e.stopPropagation(),this.guxdismiss.emit().defaultPrevented||this.root.remove()}get root(){return o(this)}};n.style=":host{position:relative;display:flex;flex-direction:row;flex-wrap:nowrap;place-content:stretch flex-start;align-items:flex-start;width:294px;padding:16px 8px 16px 16px;margin-bottom:4px;color:#2e394c;background:#f6f7f9;border:1px solid #b4bccb;border-color:#b4bccb;border-radius:4px;box-shadow:0 2px 4px rgba(32, 41, 55, 0.24)}.gux-icon{flex:0 1 auto;align-self:auto;order:0;margin:4px}.gux-icon ::slotted(gux-icon){width:24px !important;height:24px !important}.gux-icon.gux-alert{color:#ea0b0b}.gux-icon.gux-warning{color:#ffae00}.gux-icon.gux-positive{color:#3c8527}.gux-icon.gux-neutral{color:#203b73}.gux-content{display:flex;flex:1 1 auto;flex-direction:column;flex-wrap:nowrap;place-content:stretch flex-start;align-items:flex-start;align-self:auto;order:0;margin:0 12px 0 8px;color:#2e394c}.gux-content .gux-title,.gux-content .gux-message{flex:1 1 auto;align-self:auto;order:0}.gux-content .gux-title{font-family:var(--gse-semantic-heading-sm-bold-fontFamily), var(--gse-semantic-theme-fontFamily-headings), sans-serif;font-size:var(--gse-semantic-heading-sm-bold-fontSize);line-height:var(--gse-semantic-heading-sm-bold-lineHeight);font-weight:var(--gse-semantic-heading-sm-bold-fontWeight)}";export{n as gux_notification_toast_legacy}
1
+ import{r as e,c as t,h as a,H as i,g as o}from"./p-cf74fd3d.js";import{t as s}from"./p-f2226f29.js";const n=class{constructor(a){e(this,a),this.guxdismiss=t(this,"guxdismiss",7),this.accent="neutral"}componentWillLoad(){s(this.root,{variant:this.accent})}render(){return a(i,{key:"05fb3239ed8a7b3b97cc88b6a613cc8b2669bf6e"},a("div",{key:"b5c97740a392fb8bf6dd10dfc17717ba9b236c1f",class:`gux-icon gux-${this.accent}`},a("slot",{key:"d8d9b5bdbc05665dee31bd29244870ff07df9078",name:"icon"})),a("div",{key:"2ea8b352598f85ad7747d86b073c96202ae05423",class:"gux-content"},a("gux-truncate",{key:"780143649c27a9a3df52ba03624923972b20c927",class:"gux-title","max-lines":1},a("slot",{key:"763979ada598277bd68461c15685570ec37f8f58",name:"title"})),a("gux-truncate",{key:"a87f67cde3759bcc6fa673580b2e2820ab48ba94",class:"gux-message","max-lines":2},a("slot",{key:"9c1e1d712dfc9ed9527934474c66b28caf8bb471",name:"message"}))),a("gux-dismiss-button",{key:"ac4562e6830355aa38569035621936aa7b8bbce2",onClick:this.onDismissClickHandler.bind(this)}))}onDismissClickHandler(e){e.stopPropagation(),this.guxdismiss.emit().defaultPrevented||this.root.remove()}get root(){return o(this)}};n.style=":host{position:relative;display:flex;flex-direction:row;flex-wrap:nowrap;place-content:stretch flex-start;align-items:flex-start;width:294px;padding:16px 8px 16px 16px;margin-bottom:4px;color:#2e394c;background:#f6f7f9;border:1px solid #b4bccb;border-color:#b4bccb;border-radius:4px;box-shadow:0 2px 4px rgba(32, 41, 55, 0.24)}.gux-icon{flex:0 1 auto;align-self:auto;order:0;margin:4px}.gux-icon ::slotted(gux-icon){width:24px !important;height:24px !important}.gux-icon.gux-alert{color:#ea0b0b}.gux-icon.gux-warning{color:#ffae00}.gux-icon.gux-positive{color:#3c8527}.gux-icon.gux-neutral{color:#203b73}.gux-content{display:flex;flex:1 1 auto;flex-direction:column;flex-wrap:nowrap;place-content:stretch flex-start;align-items:flex-start;align-self:auto;order:0;margin:0 12px 0 8px;color:#2e394c}.gux-content .gux-title,.gux-content .gux-message{flex:1 1 auto;align-self:auto;order:0}.gux-content .gux-title{font-family:var(--gse-semantic-heading-sm-bold-fontFamily), var(--gse-semantic-theme-fontFamily-headings), sans-serif;font-size:var(--gse-semantic-heading-sm-bold-fontSize);line-height:var(--gse-semantic-heading-sm-bold-lineHeight);font-weight:var(--gse-semantic-heading-sm-bold-fontWeight)}";export{n as gux_notification_toast_legacy}