genesys-spark-components 4.0.0-beta.35 → 4.0.0-beta.36

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 (953) hide show
  1. package/dist/cjs/genesys-webcomponents.cjs.js +3 -6
  2. package/dist/cjs/{get-valid-timezone-39ba3e64.js → get-valid-timezone-5a9231d3.js} +1 -1
  3. package/dist/cjs/gux-accordion-section.cjs.entry.js +4 -4
  4. package/dist/cjs/gux-accordion.cjs.entry.js +2 -2
  5. package/dist/cjs/gux-action-button.cjs.entry.js +8 -8
  6. package/dist/cjs/gux-action-toast-legacy.cjs.entry.js +3 -3
  7. package/dist/cjs/gux-advanced-dropdown-legacy.cjs.entry.js +8 -8
  8. package/dist/cjs/gux-all-row-select.cjs.entry.js +5 -5
  9. package/dist/cjs/gux-announce-beta.cjs.entry.js +3 -3
  10. package/dist/cjs/gux-badge.cjs.entry.js +5 -5
  11. package/dist/cjs/gux-blank-state.cjs.entry.js +3 -3
  12. package/dist/cjs/gux-breadcrumb-item.cjs.entry.js +3 -3
  13. package/dist/cjs/gux-breadcrumbs.cjs.entry.js +5 -5
  14. package/dist/cjs/gux-button-multi.cjs.entry.js +6 -6
  15. package/dist/cjs/gux-button-slot.cjs.entry.js +4 -4
  16. package/dist/cjs/gux-button.cjs.entry.js +3 -3
  17. package/dist/cjs/gux-calendar-beta.cjs.entry.js +9 -9
  18. package/dist/cjs/gux-calendar.cjs.entry.js +8 -8
  19. package/dist/cjs/gux-card.cjs.entry.js +2 -2
  20. package/dist/cjs/gux-column-manager-item.cjs.entry.js +7 -7
  21. package/dist/cjs/gux-column-manager.cjs.entry.js +7 -7
  22. package/dist/cjs/{gux-column-manager.service-8a71e1f3.js → gux-column-manager.service-7f1cc862.js} +2 -2
  23. package/dist/cjs/gux-content-search.cjs.entry.js +7 -7
  24. package/dist/cjs/gux-context-menu.cjs.entry.js +9 -9
  25. package/dist/cjs/gux-copy-to-clipboard.cjs.entry.js +7 -7
  26. package/dist/cjs/gux-create-option.cjs.entry.js +5 -5
  27. package/dist/cjs/gux-date-beta.cjs.entry.js +5 -5
  28. package/dist/cjs/gux-date-time-beta.cjs.entry.js +5 -5
  29. package/dist/cjs/gux-datepicker.cjs.entry.js +10 -10
  30. package/dist/cjs/gux-disclosure-button-legacy.cjs.entry.js +5 -5
  31. package/dist/cjs/gux-dismiss-button.cjs.entry.js +5 -5
  32. package/dist/cjs/gux-dropdown-multi-tag.cjs.entry.js +4 -4
  33. package/dist/cjs/gux-dropdown-multi.cjs.entry.js +11 -11
  34. package/dist/cjs/gux-dropdown-option.cjs.entry.js +1 -1
  35. package/dist/cjs/gux-dropdown_3.cjs.entry.js +15 -15
  36. package/dist/cjs/gux-flyout-menu.cjs.entry.js +5 -5
  37. package/dist/cjs/gux-form-field-checkbox.cjs.entry.js +10 -10
  38. package/dist/cjs/gux-form-field-color.cjs.entry.js +13 -13
  39. package/dist/cjs/{gux-form-field-container-64e8bc38.js → gux-form-field-container-48871f4b.js} +1 -1
  40. package/dist/cjs/gux-form-field-dropdown.cjs.entry.js +15 -15
  41. package/dist/cjs/{gux-form-field-fieldset-container-1abe7d3b.js → gux-form-field-fieldset-container-c0d39bed.js} +1 -1
  42. package/dist/cjs/gux-form-field-input-clear-button.cjs.entry.js +5 -5
  43. package/dist/cjs/gux-form-field-number_3.cjs.entry.js +23 -23
  44. package/dist/cjs/gux-form-field-phone.cjs.entry.js +14 -14
  45. package/dist/cjs/gux-form-field-radio.cjs.entry.js +11 -11
  46. package/dist/cjs/gux-form-field-range.cjs.entry.js +13 -13
  47. package/dist/cjs/gux-form-field-search.cjs.entry.js +13 -13
  48. package/dist/cjs/gux-form-field-select.cjs.entry.js +13 -13
  49. package/dist/cjs/gux-form-field-text-like.cjs.entry.js +13 -13
  50. package/dist/cjs/gux-form-field-textarea.cjs.entry.js +13 -13
  51. package/dist/cjs/gux-form-field-time-picker.cjs.entry.js +14 -14
  52. package/dist/cjs/{gux-form-field.service-dd469568.js → gux-form-field.service-704c78c2.js} +5 -5
  53. package/dist/cjs/gux-icon.cjs.entry.js +3 -3
  54. package/dist/cjs/gux-inline-alert.cjs.entry.js +5 -5
  55. package/dist/cjs/gux-list-divider.cjs.entry.js +1 -1
  56. package/dist/cjs/gux-list-item.cjs.entry.js +3 -3
  57. package/dist/cjs/gux-list.cjs.entry.js +3 -3
  58. package/dist/cjs/gux-listbox-multi.cjs.entry.js +9 -9
  59. package/dist/cjs/gux-loading-message.cjs.entry.js +3 -3
  60. package/dist/cjs/gux-menu-option.cjs.entry.js +2 -2
  61. package/dist/cjs/gux-menu.cjs.entry.js +1 -1
  62. package/dist/cjs/gux-modal.cjs.entry.js +4 -4
  63. package/dist/cjs/gux-month-calendar.cjs.entry.js +7 -7
  64. package/dist/cjs/gux-month-list_2.cjs.entry.js +4 -4
  65. package/dist/cjs/gux-month-picker-beta.cjs.entry.js +9 -9
  66. package/dist/cjs/gux-notification-toast-legacy.cjs.entry.js +3 -3
  67. package/dist/cjs/gux-option-icon.cjs.entry.js +3 -3
  68. package/dist/cjs/gux-option-multi.cjs.entry.js +5 -5
  69. package/dist/cjs/gux-page-loading-spinner.cjs.entry.js +2 -2
  70. package/dist/cjs/gux-pagination-buttons-legacy_3.cjs.entry.js +6 -6
  71. package/dist/cjs/gux-pagination-buttons_3.cjs.entry.js +8 -8
  72. package/dist/cjs/gux-pagination-cursor.cjs.entry.js +5 -5
  73. package/dist/cjs/gux-pagination-legacy.cjs.entry.js +3 -3
  74. package/dist/cjs/gux-pagination.cjs.entry.js +4 -4
  75. package/dist/cjs/gux-phone-input-beta.cjs.entry.js +8 -8
  76. package/dist/cjs/gux-popover-list.cjs.entry.js +6 -6
  77. package/dist/cjs/gux-popup.cjs.entry.js +3 -3
  78. package/dist/cjs/gux-radial-loading.cjs.entry.js +5 -5
  79. package/dist/cjs/gux-radial-progress.cjs.entry.js +4 -4
  80. package/dist/cjs/gux-rating.cjs.entry.js +6 -6
  81. package/dist/cjs/gux-region-icon.cjs.entry.js +2 -2
  82. package/dist/cjs/gux-row-select.cjs.entry.js +5 -5
  83. package/dist/cjs/gux-screen-reader-beta.cjs.entry.js +2 -2
  84. package/dist/cjs/gux-segmented-control-beta.cjs.entry.js +3 -3
  85. package/dist/cjs/gux-segmented-control-item.cjs.entry.js +5 -5
  86. package/dist/cjs/gux-simple-toast-legacy.cjs.entry.js +2 -2
  87. package/dist/cjs/gux-skip-navigation-item.cjs.entry.js +1 -1
  88. package/dist/cjs/gux-skip-navigation-list.cjs.entry.js +4 -4
  89. package/dist/cjs/gux-sort-control.cjs.entry.js +7 -7
  90. package/dist/cjs/gux-submenu.cjs.entry.js +4 -4
  91. package/dist/cjs/gux-switch-item.cjs.entry.js +2 -2
  92. package/dist/cjs/gux-switch-legacy.cjs.entry.js +3 -3
  93. package/dist/cjs/gux-tab-advanced-legacy.cjs.entry.js +7 -7
  94. package/dist/cjs/gux-tab-advanced-list-legacy.cjs.entry.js +8 -8
  95. package/dist/cjs/gux-tab-advanced-list.cjs.entry.js +8 -8
  96. package/dist/cjs/gux-tab-advanced-panel-legacy.cjs.entry.js +2 -2
  97. package/dist/cjs/gux-tab-advanced-panel.cjs.entry.js +2 -2
  98. package/dist/cjs/gux-tab-advanced.cjs.entry.js +7 -7
  99. package/dist/cjs/gux-tab-list.cjs.entry.js +6 -6
  100. package/dist/cjs/gux-tab-panel.cjs.entry.js +2 -2
  101. package/dist/cjs/gux-tab.cjs.entry.js +1 -1
  102. package/dist/cjs/gux-table-select-menu.cjs.entry.js +8 -8
  103. package/dist/cjs/gux-table-select-popover.cjs.entry.js +3 -3
  104. package/dist/cjs/gux-table-toolbar-action.cjs.entry.js +5 -5
  105. package/dist/cjs/gux-table-toolbar-custom-action.cjs.entry.js +3 -3
  106. package/dist/cjs/gux-table-toolbar-menu-button.cjs.entry.js +6 -6
  107. package/dist/cjs/gux-table-toolbar.cjs.entry.js +5 -5
  108. package/dist/cjs/gux-table.cjs.entry.js +8 -8
  109. package/dist/cjs/gux-tabs-advanced-legacy.cjs.entry.js +2 -2
  110. package/dist/cjs/gux-tabs-advanced.cjs.entry.js +2 -2
  111. package/dist/cjs/gux-tabs.cjs.entry.js +2 -2
  112. package/dist/cjs/gux-tag.cjs.entry.js +5 -5
  113. package/dist/cjs/gux-text-highlight.cjs.entry.js +2 -2
  114. package/dist/cjs/gux-time-beta.cjs.entry.js +5 -5
  115. package/dist/cjs/gux-time-picker.cjs.entry.js +8 -8
  116. package/dist/cjs/gux-time-zone-picker-beta.cjs.entry.js +5 -5
  117. package/dist/cjs/gux-toast.cjs.entry.js +4 -4
  118. package/dist/cjs/gux-toggle-slider.cjs.entry.js +2 -2
  119. package/dist/cjs/gux-toggle.cjs.entry.js +5 -5
  120. package/dist/cjs/gux-tooltip-title.cjs.entry.js +4 -4
  121. package/dist/cjs/gux-tooltip.cjs.entry.js +7 -7
  122. package/dist/cjs/gux-truncate.cjs.entry.js +3 -3
  123. package/dist/cjs/{index-0d0fdb85.js → index-39160f18.js} +155 -39
  124. package/dist/cjs/{index-9bbde1aa.js → index-ff762de3.js} +2 -2
  125. package/dist/cjs/loader.cjs.js +3 -12
  126. package/dist/cjs/{on-click-outside-428f8bbf.js → on-click-outside-a7d87c91.js} +1 -1
  127. package/dist/cjs/{on-mutation-247f99dd.js → on-mutation-f396cc0e.js} +1 -1
  128. package/dist/cjs/{on-resize-ee6a4b87.js → on-resize-b4982908.js} +1 -1
  129. package/dist/cjs/{usage-7e2e71dc.js → usage-d4216a6a.js} +5 -5
  130. package/dist/collection/collection-manifest.json +127 -127
  131. package/dist/collection/components/beta/gux-announce/gux-announce.js +7 -5
  132. package/dist/collection/components/beta/gux-announce/tests/gux-announce.e2e.js +18 -0
  133. package/dist/collection/components/beta/gux-announce/tests/gux-announce.spec.js +19 -0
  134. package/dist/collection/components/beta/gux-calendar-beta/components/single/gux-calendar.css +14 -15
  135. package/dist/collection/components/beta/gux-calendar-beta/components/single/gux-calendar.js +9 -9
  136. package/dist/collection/components/beta/gux-calendar-beta/services/calendar.service.js +1 -1
  137. package/dist/collection/components/beta/gux-calendar-beta/tests/gux-calendar.e2e.js +202 -0
  138. package/dist/collection/components/beta/gux-calendar-beta/tests/gux-calendar.spec.js +19 -0
  139. package/dist/collection/components/beta/gux-date/gux-date.js +9 -7
  140. package/dist/collection/components/beta/gux-date/tests/gux-date.e2e.js +30 -0
  141. package/dist/collection/components/beta/gux-date/tests/gux-date.spec.js +30 -0
  142. package/dist/collection/components/beta/gux-date-time/gux-date-time.js +9 -7
  143. package/dist/collection/components/beta/gux-date-time/tests/gux-date-time.e2e.js +30 -0
  144. package/dist/collection/components/beta/gux-date-time/tests/gux-date-time.spec.js +30 -0
  145. package/dist/collection/components/beta/gux-month-picker/gux-month-calendar/gux-month-calendar.css +7 -7
  146. package/dist/collection/components/beta/gux-month-picker/gux-month-calendar/gux-month-calendar.js +18 -12
  147. package/dist/collection/components/beta/gux-month-picker/gux-month-calendar/gux-month-list/gux-month-list-item/gux-month-list-item.css +3 -3
  148. package/dist/collection/components/beta/gux-month-picker/gux-month-calendar/gux-month-list/gux-month-list-item/gux-month-list-item.js +4 -3
  149. package/dist/collection/components/beta/gux-month-picker/gux-month-calendar/gux-month-list/gux-month-list.js +4 -3
  150. package/dist/collection/components/beta/gux-month-picker/gux-month-picker.css +5 -5
  151. package/dist/collection/components/beta/gux-month-picker/gux-month-picker.js +14 -11
  152. package/dist/collection/components/beta/gux-month-picker/tests/gux-month-picker.e2e.js +18 -0
  153. package/dist/collection/components/beta/gux-month-picker/tests/gux-month-picker.spec.js +27 -0
  154. package/dist/collection/components/beta/gux-phone-input/components/gux-region-icon/gux-region-icon.js +3 -3
  155. package/dist/collection/components/beta/gux-phone-input/components/gux-region-icon/gux-region-select.service.js +1 -1
  156. package/dist/collection/components/beta/gux-phone-input/gux-phone-input.css +2 -45
  157. package/dist/collection/components/beta/gux-phone-input/gux-phone-input.js +12 -11
  158. package/dist/collection/components/beta/gux-phone-input/services/region-map.service.js +1 -1
  159. package/dist/collection/components/beta/gux-phone-input/tests/gux-phone-input.e2e.js +88 -0
  160. package/dist/collection/components/beta/gux-screen-reader/gux-screen-reader.js +2 -2
  161. package/dist/collection/components/beta/gux-screen-reader/tests/gux-screen-reader.e2e.js +16 -0
  162. package/dist/collection/components/beta/gux-screen-reader/tests/gux-screen-reader.spec.js +17 -0
  163. package/dist/collection/components/beta/gux-segmented-control/gux-segmented-control-item/gux-segmented-control-item.css +18 -61
  164. package/dist/collection/components/beta/gux-segmented-control/gux-segmented-control-item/gux-segmented-control-item.js +4 -4
  165. package/dist/collection/components/beta/gux-segmented-control/gux-segmented-control.js +3 -3
  166. package/dist/collection/components/beta/gux-segmented-control/tests/gux-segmented-control.e2e.js +108 -0
  167. package/dist/collection/components/beta/gux-segmented-control/tests/gux-segmented-control.spec.js +126 -0
  168. package/dist/collection/components/beta/gux-time/gux-time.js +9 -7
  169. package/dist/collection/components/beta/gux-time/tests/gux-time.e2e.js +30 -0
  170. package/dist/collection/components/beta/gux-time/tests/gux-time.spec.js +30 -0
  171. package/dist/collection/components/beta/gux-time-zone-picker/gux-time-zone-picker.js +7 -7
  172. package/dist/collection/components/beta/gux-time-zone-picker/tests/gux-time-zone-picker.e2e.js +53 -0
  173. package/dist/collection/components/beta/gux-time-zone-picker/tests/gux-time-zone-picker.spec.js +15 -0
  174. package/dist/collection/components/legacy/gux-action-toast-legacy/gux-action-toast.css +1 -44
  175. package/dist/collection/components/legacy/gux-action-toast-legacy/gux-action-toast.js +2 -2
  176. package/dist/collection/components/legacy/gux-action-toast-legacy/tests/gux-action-toast.e2e.js +26 -0
  177. package/dist/collection/components/legacy/gux-action-toast-legacy/tests/gux-action-toast.spec.js +28 -0
  178. package/dist/collection/components/legacy/gux-advanced-dropdown-legacy/dropdown-option/gux-dropdown-option.js +5 -3
  179. package/dist/collection/components/legacy/gux-advanced-dropdown-legacy/dropdown-option/tests/gux-dropdown-option.spec.js +47 -0
  180. package/dist/collection/components/legacy/gux-advanced-dropdown-legacy/gux-advanced-dropdown.css +1 -52
  181. package/dist/collection/components/legacy/gux-advanced-dropdown-legacy/gux-advanced-dropdown.js +11 -9
  182. package/dist/collection/components/legacy/gux-advanced-dropdown-legacy/tests/gux-advanced-dropdown.e2e.js +149 -0
  183. package/dist/collection/components/legacy/gux-advanced-dropdown-legacy/tests/gux-advanced-dropdown.spec.js +17 -0
  184. package/dist/collection/components/legacy/gux-disclosure-button-legacy/gux-disclosure-button.js +7 -6
  185. package/dist/collection/components/legacy/gux-disclosure-button-legacy/tests/gux-disclosure-button.e2e.js +80 -0
  186. package/dist/collection/components/legacy/gux-disclosure-button-legacy/tests/gux-disclosure-button.spec.js +82 -0
  187. package/dist/collection/components/legacy/gux-notification-toast-legacy/gux-notification-toast.css +1 -44
  188. package/dist/collection/components/legacy/gux-notification-toast-legacy/gux-notification-toast.js +4 -3
  189. package/dist/collection/components/legacy/gux-notification-toast-legacy/tests/gux-notification-toast.e2e.js +109 -0
  190. package/dist/collection/components/legacy/gux-notification-toast-legacy/tests/gux-notification-toast.spec.js +99 -0
  191. package/dist/collection/components/legacy/gux-pagination-legacy/gux-pagination-buttons-legacy/gux-pagination-buttons-legacy.css +14 -14
  192. package/dist/collection/components/legacy/gux-pagination-legacy/gux-pagination-buttons-legacy/gux-pagination-buttons.js +6 -5
  193. package/dist/collection/components/legacy/gux-pagination-legacy/gux-pagination-buttons-legacy/tests/gux-pagination-buttons.service.spec.js +138 -0
  194. package/dist/collection/components/legacy/gux-pagination-legacy/gux-pagination-buttons-legacy/tests/gux-pagination-buttons.spec.js +39 -0
  195. package/dist/collection/components/legacy/gux-pagination-legacy/gux-pagination-item-counts-legacy/gux-pagination-item-counts-legacy.css +3 -3
  196. package/dist/collection/components/legacy/gux-pagination-legacy/gux-pagination-item-counts-legacy/gux-pagination-item-counts.js +3 -3
  197. package/dist/collection/components/legacy/gux-pagination-legacy/gux-pagination-item-counts-legacy/tests/gux-pagination-item-counts.spec.js +30 -0
  198. package/dist/collection/components/legacy/gux-pagination-legacy/gux-pagination-items-per-page-legacy/gux-pagination-items-per-page-legacy.css +3 -3
  199. package/dist/collection/components/legacy/gux-pagination-legacy/gux-pagination-items-per-page-legacy/gux-pagination-items-per-page.js +5 -4
  200. package/dist/collection/components/legacy/gux-pagination-legacy/gux-pagination-items-per-page-legacy/tests/gux-pagination-items-per-page.spec.js +33 -0
  201. package/dist/collection/components/legacy/gux-pagination-legacy/gux-pagination-legacy.css +1 -1
  202. package/dist/collection/components/legacy/gux-pagination-legacy/gux-pagination.js +8 -5
  203. package/dist/collection/components/legacy/gux-pagination-legacy/tests/gux-pagination.e2e.js +53 -0
  204. package/dist/collection/components/legacy/gux-pagination-legacy/tests/gux-pagination.spec.js +65 -0
  205. package/dist/collection/components/legacy/gux-simple-toast-legacy/gux-simple-toast.js +4 -3
  206. package/dist/collection/components/legacy/gux-simple-toast-legacy/tests/gux-simple-toast.e2e.js +103 -0
  207. package/dist/collection/components/legacy/gux-simple-toast-legacy/tests/gux-simple-toast.spec.js +93 -0
  208. package/dist/collection/components/legacy/gux-switch-legacy/gux-switch-item/gux-switch-item.css +0 -43
  209. package/dist/collection/components/legacy/gux-switch-legacy/gux-switch-item/gux-switch-item.js +1 -1
  210. package/dist/collection/components/legacy/gux-switch-legacy/gux-switch.js +5 -4
  211. package/dist/collection/components/legacy/gux-switch-legacy/tests/gux-switch.e2e.js +87 -0
  212. package/dist/collection/components/legacy/gux-switch-legacy/tests/gux-switch.spec.js +116 -0
  213. package/dist/collection/components/legacy/gux-tabs-advanced-legacy/gux-tab-advanced/gux-tab-advanced.js +12 -9
  214. package/dist/collection/components/legacy/gux-tabs-advanced-legacy/gux-tab-advanced-list/gux-tab-advanced-list.css +1 -85
  215. package/dist/collection/components/legacy/gux-tabs-advanced-legacy/gux-tab-advanced-list/gux-tab-advanced-list.js +9 -8
  216. package/dist/collection/components/legacy/gux-tabs-advanced-legacy/gux-tab-advanced-panel/gux-tab-advanced-panel.css +1 -42
  217. package/dist/collection/components/legacy/gux-tabs-advanced-legacy/gux-tab-advanced-panel/gux-tab-advanced-panel.js +3 -2
  218. package/dist/collection/components/legacy/gux-tabs-advanced-legacy/gux-tabs-advanced.js +4 -3
  219. package/dist/collection/components/legacy/gux-tabs-advanced-legacy/tests/gux-tabs-advanced.e2e.js +216 -0
  220. package/dist/collection/components/legacy/gux-tabs-advanced-legacy/tests/gux-tabs-advanced.spec.js +73 -0
  221. package/dist/collection/components/stable/gux-accordion/gux-accordion-section/gux-accordion-section.css +4 -94
  222. package/dist/collection/components/stable/gux-accordion/gux-accordion-section/gux-accordion-section.js +7 -5
  223. package/dist/collection/components/stable/gux-accordion/gux-accordion.js +2 -2
  224. package/dist/collection/components/stable/gux-accordion/tests/gux-accordion.e2e.js +46 -0
  225. package/dist/collection/components/stable/gux-accordion/tests/gux-accordion.spec.js +52 -0
  226. package/dist/collection/components/stable/gux-action-button/gux-action-button.css +1 -1
  227. package/dist/collection/components/stable/gux-action-button/gux-action-button.js +12 -10
  228. package/dist/collection/components/stable/gux-action-button/tests/gux-action-button.e2e.js +93 -0
  229. package/dist/collection/components/stable/gux-action-button/tests/gux-action-button.spec.js +96 -0
  230. package/dist/collection/components/stable/gux-alert/gux-inline-alert.css +2 -2
  231. package/dist/collection/components/stable/gux-alert/gux-inline-alert.js +6 -5
  232. package/dist/collection/components/stable/gux-alert/tests/gux-inline-alert.e2e.js +22 -0
  233. package/dist/collection/components/stable/gux-alert/tests/gux-inline-alert.spec.js +23 -0
  234. package/dist/collection/components/stable/gux-badge/gux-badge.css +3 -3
  235. package/dist/collection/components/stable/gux-badge/gux-badge.js +6 -5
  236. package/dist/collection/components/stable/gux-badge/tests/gux-badge.e2e.js +38 -0
  237. package/dist/collection/components/stable/gux-badge/tests/gux-badge.spec.js +39 -0
  238. package/dist/collection/components/stable/gux-blank-state/gux-blank-state.css +9 -9
  239. package/dist/collection/components/stable/gux-blank-state/gux-blank-state.js +2 -2
  240. package/dist/collection/components/stable/gux-blank-state/tests/gux-blank-state.e2e.js +19 -0
  241. package/dist/collection/components/stable/gux-blank-state/tests/gux-blank-state.spec.js +26 -0
  242. package/dist/collection/components/stable/gux-breadcrumbs/breadcrumb-item/gux-breadcrumb-item.css +5 -5
  243. package/dist/collection/components/stable/gux-breadcrumbs/breadcrumb-item/gux-breadcrumb-item.js +2 -2
  244. package/dist/collection/components/stable/gux-breadcrumbs/gux-breadcrumbs.css +3 -3
  245. package/dist/collection/components/stable/gux-breadcrumbs/gux-breadcrumbs.js +6 -5
  246. package/dist/collection/components/stable/gux-breadcrumbs/tests/gux-breadcrumbs.e2e.js +48 -0
  247. package/dist/collection/components/stable/gux-breadcrumbs/tests/gux-breadcrumbs.spec.js +91 -0
  248. package/dist/collection/components/stable/gux-button/gux-button.css +9 -50
  249. package/dist/collection/components/stable/gux-button/gux-button.js +6 -4
  250. package/dist/collection/components/stable/gux-button/tests/gux-button.e2e.js +131 -0
  251. package/dist/collection/components/stable/gux-button/tests/gux-button.spec.js +114 -0
  252. package/dist/collection/components/stable/gux-button-multi/gux-button-multi.css +1 -1
  253. package/dist/collection/components/stable/gux-button-multi/gux-button-multi.js +8 -7
  254. package/dist/collection/components/stable/gux-button-multi/tests/gux-button-multi.e2e.js +69 -0
  255. package/dist/collection/components/stable/gux-button-multi/tests/gux-button-multi.spec.js +16 -0
  256. package/dist/collection/components/stable/gux-button-slot/gux-button-slot.css +9 -50
  257. package/dist/collection/components/stable/gux-button-slot/gux-button-slot.js +5 -4
  258. package/dist/collection/components/stable/gux-button-slot/tests/gux-button-slot.e2e.js +206 -0
  259. package/dist/collection/components/stable/gux-button-slot/tests/gux-button-slot.spec.js +258 -0
  260. package/dist/collection/components/stable/gux-calendar/gux-calendar.css +13 -13
  261. package/dist/collection/components/stable/gux-calendar/gux-calendar.js +23 -15
  262. package/dist/collection/components/stable/gux-calendar/gux-calendar.service.js +1 -1
  263. package/dist/collection/components/stable/gux-calendar/tests/gux-calendar.e2e.js +45 -0
  264. package/dist/collection/components/stable/gux-calendar/tests/gux-calendar.methods.spec.js +233 -0
  265. package/dist/collection/components/stable/gux-calendar/tests/gux-calendar.service.spec.js +160 -0
  266. package/dist/collection/components/stable/gux-calendar/tests/gux-calendar.spec.js +31 -0
  267. package/dist/collection/components/stable/gux-card/gux-card.js +4 -3
  268. package/dist/collection/components/stable/gux-card/tests/gux-card.e2e.js +16 -0
  269. package/dist/collection/components/stable/gux-card/tests/gux-card.spec.js +17 -0
  270. package/dist/collection/components/stable/gux-column-manager/gux-column-manager-item/gux-column-manager-item.css +1 -54
  271. package/dist/collection/components/stable/gux-column-manager/gux-column-manager-item/gux-column-manager-item.js +13 -9
  272. package/dist/collection/components/stable/gux-column-manager/gux-column-manager-item/tests/gux-column-manager-item.service.spec.js +35 -0
  273. package/dist/collection/components/stable/gux-column-manager/gux-column-manager.js +7 -6
  274. package/dist/collection/components/stable/gux-column-manager/gux-column-manager.service.js +2 -2
  275. package/dist/collection/components/stable/gux-content-search/gux-content-search.css +46 -91
  276. package/dist/collection/components/stable/gux-content-search/gux-content-search.js +8 -7
  277. package/dist/collection/components/stable/gux-content-search/tests/gux-content-search.e2e.js +542 -0
  278. package/dist/collection/components/stable/gux-content-search/tests/gux-content-search.spec.js +202 -0
  279. package/dist/collection/components/stable/gux-context-menu/gux-context-menu.css +2 -2
  280. package/dist/collection/components/stable/gux-context-menu/gux-context-menu.js +8 -8
  281. package/dist/collection/components/stable/gux-context-menu/tests/gux-context-menu.e2e.js +78 -0
  282. package/dist/collection/components/stable/gux-context-menu/tests/gux-context-menu.spec.js +44 -0
  283. package/dist/collection/components/stable/gux-copy-to-clipboard/gux-copy-to-clipboard.css +3 -3
  284. package/dist/collection/components/stable/gux-copy-to-clipboard/gux-copy-to-clipboard.js +6 -6
  285. package/dist/collection/components/stable/gux-copy-to-clipboard/tests/gux-copy-to-clipboard.e2e.js +23 -0
  286. package/dist/collection/components/stable/gux-copy-to-clipboard/tests/gux-copy-to-clipboard.spec.js +46 -0
  287. package/dist/collection/components/stable/gux-datepicker/gux-datepicker.css +3 -42
  288. package/dist/collection/components/stable/gux-datepicker/gux-datepicker.js +14 -12
  289. package/dist/collection/components/stable/gux-datepicker/tests/gux-datepicker.e2e.js +112 -0
  290. package/dist/collection/components/stable/gux-datepicker/tests/gux-datepicker.service.spec.js +237 -0
  291. package/dist/collection/components/stable/gux-datepicker/tests/gux-datepicker.spec.js +36 -0
  292. package/dist/collection/components/stable/gux-dismiss-button/gux-dismiss-button.css +5 -5
  293. package/dist/collection/components/stable/gux-dismiss-button/gux-dismiss-button.js +6 -5
  294. package/dist/collection/components/stable/gux-dismiss-button/tests/gux-dismiss-button.e2e.js +20 -0
  295. package/dist/collection/components/stable/gux-dismiss-button/tests/gux-dismiss-button.spec.js +22 -0
  296. package/dist/collection/components/stable/gux-dropdown/gux-dropdown.css +3 -3
  297. package/dist/collection/components/stable/gux-dropdown/gux-dropdown.js +13 -12
  298. package/dist/collection/components/stable/gux-dropdown/tests/gux-dropdown.e2e.js +190 -0
  299. package/dist/collection/components/stable/gux-dropdown/tests/gux-dropdown.spec.js +65 -0
  300. package/dist/collection/components/stable/gux-dropdown-multi/gux-dropdown-multi-tag/gux-dropdown-multi-tag.css +1 -42
  301. package/dist/collection/components/stable/gux-dropdown-multi/gux-dropdown-multi-tag/gux-dropdown-multi-tag.js +3 -3
  302. package/dist/collection/components/stable/gux-dropdown-multi/gux-dropdown-multi.css +5 -48
  303. package/dist/collection/components/stable/gux-dropdown-multi/gux-dropdown-multi.js +14 -12
  304. package/dist/collection/components/stable/gux-dropdown-multi/tests/gux-dropdown-multi.e2e.js +309 -0
  305. package/dist/collection/components/stable/gux-dropdown-multi/tests/gux-dropdown-multi.spec.js +24 -0
  306. package/dist/collection/components/stable/gux-flyout-menu/gux-flyout-menu.css +2 -43
  307. package/dist/collection/components/stable/gux-flyout-menu/gux-flyout-menu.js +5 -5
  308. package/dist/collection/components/stable/gux-flyout-menu/gux-menu/gux-menu-option/gux-menu-option.js +4 -3
  309. package/dist/collection/components/stable/gux-flyout-menu/gux-menu/gux-menu.js +1 -1
  310. package/dist/collection/components/stable/gux-flyout-menu/gux-menu/gux-submenu/gux-submenu.js +6 -5
  311. package/dist/collection/components/stable/gux-flyout-menu/tests/gux-flyout-menu.e2e.js +71 -0
  312. package/dist/collection/components/stable/gux-flyout-menu/tests/gux-flyout-menu.spec.js +52 -0
  313. package/dist/collection/components/stable/gux-form-field/components/gux-form-field-checkbox/gux-form-field-checkbox.css +1 -2
  314. package/dist/collection/components/stable/gux-form-field/components/gux-form-field-checkbox/gux-form-field-checkbox.js +9 -9
  315. package/dist/collection/components/stable/gux-form-field/components/gux-form-field-checkbox/tests/gux-form-field-checkbox.e2e.js +93 -0
  316. package/dist/collection/components/stable/gux-form-field/components/gux-form-field-checkbox/tests/gux-form-field-checkbox.spec.js +64 -0
  317. package/dist/collection/components/stable/gux-form-field/components/gux-form-field-color/gux-form-field-color.css +4 -86
  318. package/dist/collection/components/stable/gux-form-field/components/gux-form-field-color/gux-form-field-color.js +12 -11
  319. package/dist/collection/components/stable/gux-form-field/components/gux-form-field-color/tests/gux-form-field-color.e2e.js +83 -0
  320. package/dist/collection/components/stable/gux-form-field/components/gux-form-field-color/tests/gux-form-field-color.spec.js +65 -0
  321. package/dist/collection/components/stable/gux-form-field/components/gux-form-field-dropdown/gux-form-field-dropdown.css +2 -45
  322. package/dist/collection/components/stable/gux-form-field/components/gux-form-field-dropdown/gux-form-field-dropdown.js +14 -13
  323. package/dist/collection/components/stable/gux-form-field/components/gux-form-field-dropdown/tests/gux-form-field-dropdown.e2e.js +196 -0
  324. package/dist/collection/components/stable/gux-form-field/components/gux-form-field-dropdown/tests/gux-form-field-dropdown.spec.js +188 -0
  325. package/dist/collection/components/stable/gux-form-field/components/gux-form-field-number/gux-form-field-number.css +5 -87
  326. package/dist/collection/components/stable/gux-form-field/components/gux-form-field-number/gux-form-field-number.js +18 -16
  327. package/dist/collection/components/stable/gux-form-field/components/gux-form-field-number/tests/gux-form-field-number.e2e.js +110 -0
  328. package/dist/collection/components/stable/gux-form-field/components/gux-form-field-number/tests/gux-form-field-number.spec.js +85 -0
  329. package/dist/collection/components/stable/gux-form-field/components/gux-form-field-phone/gux-form-field-phone.css +2 -45
  330. package/dist/collection/components/stable/gux-form-field/components/gux-form-field-phone/gux-form-field-phone.js +15 -14
  331. package/dist/collection/components/stable/gux-form-field/components/gux-form-field-radio/gux-form-field-radio.css +27 -16
  332. package/dist/collection/components/stable/gux-form-field/components/gux-form-field-radio/gux-form-field-radio.js +9 -9
  333. package/dist/collection/components/stable/gux-form-field/components/gux-form-field-radio/tests/gux-form-field-radio.e2e.js +101 -0
  334. package/dist/collection/components/stable/gux-form-field/components/gux-form-field-radio/tests/gux-form-field-radio.spec.js +62 -0
  335. package/dist/collection/components/stable/gux-form-field/components/gux-form-field-range/gux-form-field-range.css +16 -60
  336. package/dist/collection/components/stable/gux-form-field/components/gux-form-field-range/gux-form-field-range.js +12 -11
  337. package/dist/collection/components/stable/gux-form-field/components/gux-form-field-search/gux-form-field-search.css +6 -88
  338. package/dist/collection/components/stable/gux-form-field/components/gux-form-field-search/gux-form-field-search.js +14 -12
  339. package/dist/collection/components/stable/gux-form-field/components/gux-form-field-search/tests/gux-form-field-search.e2e.js +83 -0
  340. package/dist/collection/components/stable/gux-form-field/components/gux-form-field-search/tests/gux-form-field-search.spec.js +65 -0
  341. package/dist/collection/components/stable/gux-form-field/components/gux-form-field-select/gux-form-field-select.css +5 -48
  342. package/dist/collection/components/stable/gux-form-field/components/gux-form-field-select/gux-form-field-select.js +12 -11
  343. package/dist/collection/components/stable/gux-form-field/components/gux-form-field-select/tests/gux-form-field-select.e2e.js +95 -0
  344. package/dist/collection/components/stable/gux-form-field/components/gux-form-field-select/tests/gux-form-field-select.spec.js +80 -0
  345. package/dist/collection/components/stable/gux-form-field/components/gux-form-field-text-like/gux-form-field-text-like.css +9 -91
  346. package/dist/collection/components/stable/gux-form-field/components/gux-form-field-text-like/gux-form-field-text-like.js +14 -12
  347. package/dist/collection/components/stable/gux-form-field/components/gux-form-field-text-like/tests/gux-form-field-text-like.e2e.js +171 -0
  348. package/dist/collection/components/stable/gux-form-field/components/gux-form-field-text-like/tests/gux-form-field-text-like.spec.js +125 -0
  349. package/dist/collection/components/stable/gux-form-field/components/gux-form-field-textarea/gux-form-field-textarea.css +5 -87
  350. package/dist/collection/components/stable/gux-form-field/components/gux-form-field-textarea/gux-form-field-textarea.js +14 -12
  351. package/dist/collection/components/stable/gux-form-field/components/gux-form-field-textarea/tests/gux-form-field-textarea.e2e.js +104 -0
  352. package/dist/collection/components/stable/gux-form-field/components/gux-form-field-textarea/tests/gux-form-field-textarea.spec.js +79 -0
  353. package/dist/collection/components/stable/gux-form-field/components/gux-form-field-time-picker/gux-form-field-time-picker.css +2 -45
  354. package/dist/collection/components/stable/gux-form-field/components/gux-form-field-time-picker/gux-form-field-time-picker.js +12 -11
  355. package/dist/collection/components/stable/gux-form-field/components/gux-form-field-time-picker/tests/gux-form-field-time-picker.e2e.js +83 -0
  356. package/dist/collection/components/stable/gux-form-field/components/gux-form-field-time-picker/tests/gux-form-field-time-picker.spec.js +66 -0
  357. package/dist/collection/components/stable/gux-form-field/functional-components/functional-components.js +6 -6
  358. package/dist/collection/components/stable/gux-form-field/functional-components/gux-form-field-container/gux-form-field-container.js +1 -1
  359. package/dist/collection/components/stable/gux-form-field/functional-components/gux-form-field-error/gux-form-field-error.js +1 -1
  360. package/dist/collection/components/stable/gux-form-field/functional-components/gux-form-field-fieldset-container/gux-form-field-fieldset-container.js +1 -1
  361. package/dist/collection/components/stable/gux-form-field/functional-components/gux-form-field-help/gux-form-field-help.js +1 -1
  362. package/dist/collection/components/stable/gux-form-field/functional-components/gux-form-field-label/gux-form-field-label.js +1 -1
  363. package/dist/collection/components/stable/gux-form-field/functional-components/gux-form-field-legend-label/gux-form-field-legend-label.js +1 -1
  364. package/dist/collection/components/stable/gux-form-field/gux-form-field.service.js +4 -4
  365. package/dist/collection/components/stable/gux-form-field/helper-components/gux-form-field-input-clear-button/gux-form-field-input-clear-button.css +1 -40
  366. package/dist/collection/components/stable/gux-form-field/helper-components/gux-form-field-input-clear-button/gux-form-field-input-clear-button.js +4 -4
  367. package/dist/collection/components/stable/gux-form-field/tests/gux-form-field.service.spec.js +19 -0
  368. package/dist/collection/components/stable/gux-icon/gux-icon.js +6 -5
  369. package/dist/collection/components/stable/gux-icon/gux-icon.service.js +1 -1
  370. package/dist/collection/components/stable/gux-icon/tests/gux-icon.e2e.js +11 -0
  371. package/dist/collection/components/stable/gux-icon/tests/gux-icon.service.spec.js +22 -0
  372. package/dist/collection/components/stable/gux-icon/tests/gux-icon.spec.js +6 -0
  373. package/dist/collection/components/stable/gux-list/gux-list-divider/gux-list-divider.js +1 -1
  374. package/dist/collection/components/stable/gux-list/gux-list-divider/tests/gux-list-divider.spec.js +22 -0
  375. package/dist/collection/components/stable/gux-list/gux-list-item/gux-list-item.css +9 -9
  376. package/dist/collection/components/stable/gux-list/gux-list-item/gux-list-item.js +2 -2
  377. package/dist/collection/components/stable/gux-list/gux-list-item/tests/gux-list-item.spec.js +22 -0
  378. package/dist/collection/components/stable/gux-list/gux-list.js +11 -7
  379. package/dist/collection/components/stable/gux-list/tests/gux-list.e2e.js +20 -0
  380. package/dist/collection/components/stable/gux-list/tests/gux-list.spec.js +23 -0
  381. package/dist/collection/components/stable/gux-listbox/gux-listbox.css +2 -2
  382. package/dist/collection/components/stable/gux-listbox/gux-listbox.js +12 -10
  383. package/dist/collection/components/stable/gux-listbox/options/gux-option/gux-option.css +7 -7
  384. package/dist/collection/components/stable/gux-listbox/options/gux-option/gux-option.js +2 -2
  385. package/dist/collection/components/stable/gux-listbox/options/gux-option-icon/gux-option-icon.css +7 -7
  386. package/dist/collection/components/stable/gux-listbox/options/gux-option-icon/gux-option-icon.js +2 -2
  387. package/dist/collection/components/stable/gux-listbox-multi/gux-create-option/gux-create-option.css +8 -8
  388. package/dist/collection/components/stable/gux-listbox-multi/gux-create-option/gux-create-option.js +6 -5
  389. package/dist/collection/components/stable/gux-listbox-multi/gux-listbox-multi.css +1 -1
  390. package/dist/collection/components/stable/gux-listbox-multi/gux-listbox-multi.js +12 -10
  391. package/dist/collection/components/stable/gux-listbox-multi/gux-option-multi/gux-option-multi.css +4 -4
  392. package/dist/collection/components/stable/gux-listbox-multi/gux-option-multi/gux-option-multi.js +4 -4
  393. package/dist/collection/components/stable/gux-loading-message/gux-loading-message.css +6 -6
  394. package/dist/collection/components/stable/gux-loading-message/gux-loading-message.js +2 -2
  395. package/dist/collection/components/stable/gux-loading-message/tests/gux-loading-message.e2e.js +14 -0
  396. package/dist/collection/components/stable/gux-loading-message/tests/gux-loading-message.spec.js +27 -0
  397. package/dist/collection/components/stable/gux-modal/gux-modal.css +14 -57
  398. package/dist/collection/components/stable/gux-modal/gux-modal.js +5 -4
  399. package/dist/collection/components/stable/gux-modal/tests/gux-modal.e2e.js +300 -0
  400. package/dist/collection/components/stable/gux-modal/tests/gux-modal.spec.js +200 -0
  401. package/dist/collection/components/stable/gux-page-loading-spinner/gux-page-loading-spinner.js +2 -2
  402. package/dist/collection/components/stable/gux-page-loading-spinner/tests/gux-page-loading-spinner.e2e.js +33 -0
  403. package/dist/collection/components/stable/gux-page-loading-spinner/tests/gux-page-loading-spinner.spec.js +12 -0
  404. package/dist/collection/components/stable/gux-pagination/gux-pagination-buttons/gux-pagination-buttons.css +8 -8
  405. package/dist/collection/components/stable/gux-pagination/gux-pagination-buttons/gux-pagination-buttons.js +7 -6
  406. package/dist/collection/components/stable/gux-pagination/gux-pagination-buttons/gux-pagination-ellipsis-button/gux-pagination-ellipsis-button.css +1 -1
  407. package/dist/collection/components/stable/gux-pagination/gux-pagination-buttons/gux-pagination-ellipsis-button/gux-pagination-ellipsis-button.js +6 -6
  408. package/dist/collection/components/stable/gux-pagination/gux-pagination-buttons/tests/gux-pagination-buttons.service.spec.js +129 -0
  409. package/dist/collection/components/stable/gux-pagination/gux-pagination-buttons/tests/gux-pagination-buttons.spec.js +32 -0
  410. package/dist/collection/components/stable/gux-pagination/gux-pagination-item-counts/gux-pagination-item-counts.css +3 -3
  411. package/dist/collection/components/stable/gux-pagination/gux-pagination-item-counts/gux-pagination-item-counts.js +3 -3
  412. package/dist/collection/components/stable/gux-pagination/gux-pagination-item-counts/tests/gux-pagination-item-counts.spec.js +30 -0
  413. package/dist/collection/components/stable/gux-pagination/gux-pagination-items-per-page/gux-pagination-items-per-page.css +3 -3
  414. package/dist/collection/components/stable/gux-pagination/gux-pagination-items-per-page/gux-pagination-items-per-page.js +5 -4
  415. package/dist/collection/components/stable/gux-pagination/gux-pagination-items-per-page/tests/gux-pagination-items-per-page.spec.js +37 -0
  416. package/dist/collection/components/stable/gux-pagination/gux-pagination.css +1 -1
  417. package/dist/collection/components/stable/gux-pagination/gux-pagination.js +9 -6
  418. package/dist/collection/components/stable/gux-pagination/tests/gux-pagination.e2e.js +97 -0
  419. package/dist/collection/components/stable/gux-pagination/tests/gux-pagination.spec.js +116 -0
  420. package/dist/collection/components/stable/gux-pagination-cursor/gux-pagination-cursor.css +6 -6
  421. package/dist/collection/components/stable/gux-pagination-cursor/gux-pagination-cursor.js +8 -6
  422. package/dist/collection/components/stable/gux-pagination-cursor/tests/gux-pagination-cursor.e2e.js +66 -0
  423. package/dist/collection/components/stable/gux-pagination-cursor/tests/gux-pagination-cursor.spec.js +67 -0
  424. package/dist/collection/components/stable/gux-popover/gux-popover.css +6 -6
  425. package/dist/collection/components/stable/gux-popover/gux-popover.js +8 -7
  426. package/dist/collection/components/stable/gux-popover/tests/gux-popover.e2e.js +60 -0
  427. package/dist/collection/components/stable/gux-popover/tests/gux-popover.spec.js +54 -0
  428. package/dist/collection/components/stable/gux-popover-list/gux-popover-list.css +1 -1
  429. package/dist/collection/components/stable/gux-popover-list/gux-popover-list.js +7 -6
  430. package/dist/collection/components/stable/gux-popover-list/tests/gux-popover-list.e2e.js +59 -0
  431. package/dist/collection/components/stable/gux-popover-list/tests/gux-popover-list.spec.js +53 -0
  432. package/dist/collection/components/stable/gux-popup/gux-popup.css +1 -1
  433. package/dist/collection/components/stable/gux-popup/gux-popup.js +2 -2
  434. package/dist/collection/components/stable/gux-popup/tests/gux-popup.e2e.js +29 -0
  435. package/dist/collection/components/stable/gux-popup/tests/gux-popup.spec.js +41 -0
  436. package/dist/collection/components/stable/gux-radial-loading/gux-radial-loading.css +31 -31
  437. package/dist/collection/components/stable/gux-radial-loading/gux-radial-loading.functional.js +2 -2
  438. package/dist/collection/components/stable/gux-radial-loading/gux-radial-loading.js +7 -6
  439. package/dist/collection/components/stable/gux-radial-loading/tests/gux-radial-loading.e2e.js +33 -0
  440. package/dist/collection/components/stable/gux-radial-loading/tests/gux-radial-loading.spec.js +33 -0
  441. package/dist/collection/components/stable/gux-radial-progress/gux-radial-progress.css +3 -3
  442. package/dist/collection/components/stable/gux-radial-progress/gux-radial-progress.functional.js +2 -2
  443. package/dist/collection/components/stable/gux-radial-progress/gux-radial-progress.js +5 -5
  444. package/dist/collection/components/stable/gux-radial-progress/tests/gux-radial-progress.e2e.js +58 -0
  445. package/dist/collection/components/stable/gux-radial-progress/tests/gux-radial-progress.service.spec.js +36 -0
  446. package/dist/collection/components/stable/gux-radial-progress/tests/gux-radial-progress.spec.js +61 -0
  447. package/dist/collection/components/stable/gux-rating/gux-rating.css +2 -2
  448. package/dist/collection/components/stable/gux-rating/gux-rating.js +5 -5
  449. package/dist/collection/components/stable/gux-rating/tests/gux-rating.e2e.js +208 -0
  450. package/dist/collection/components/stable/gux-rating/tests/gux-rating.spec.js +40 -0
  451. package/dist/collection/components/stable/gux-skip-navigation-list/gux-skip-navigation-item/gux-skip-navigation-item.js +1 -1
  452. package/dist/collection/components/stable/gux-skip-navigation-list/gux-skip-navigation-list.js +4 -4
  453. package/dist/collection/components/stable/gux-skip-navigation-list/tests/gux-skip-navigation-list.e2e.js +24 -0
  454. package/dist/collection/components/stable/gux-skip-navigation-list/tests/gux-skip-navigation-list.spec.js +29 -0
  455. package/dist/collection/components/stable/gux-table/gux-all-row-select/gux-all-row-select.js +6 -5
  456. package/dist/collection/components/stable/gux-table/gux-all-row-select/tests/gux-all-row-select.spec.js +11 -0
  457. package/dist/collection/components/stable/gux-table/gux-row-select/gux-row-select.js +4 -4
  458. package/dist/collection/components/stable/gux-table/gux-row-select/tests/gux-row-select.spec.js +11 -0
  459. package/dist/collection/components/stable/gux-table/gux-sort-control/gux-sort-control.css +1 -1
  460. package/dist/collection/components/stable/gux-table/gux-sort-control/gux-sort-control.js +8 -7
  461. package/dist/collection/components/stable/gux-table/gux-sort-control/tests/gux-sort-control.e2e.js +56 -0
  462. package/dist/collection/components/stable/gux-table/gux-sort-control/tests/gux-sort-control.spec.js +48 -0
  463. package/dist/collection/components/stable/gux-table/gux-table-select-menu/gux-table-select-menu.css +3 -42
  464. package/dist/collection/components/stable/gux-table/gux-table-select-menu/gux-table-select-menu.js +6 -6
  465. package/dist/collection/components/stable/gux-table/gux-table-select-menu/gux-table-select-popover/gux-table-header-popover.js +4 -4
  466. package/dist/collection/components/stable/gux-table/gux-table-select-menu/tests/gux-table-select-menu.spec.js +24 -0
  467. package/dist/collection/components/stable/gux-table/gux-table.css +1 -44
  468. package/dist/collection/components/stable/gux-table/gux-table.js +14 -10
  469. package/dist/collection/components/stable/gux-table/tests/gux-table.e2e.js +540 -0
  470. package/dist/collection/components/stable/gux-table/tests/gux-table.spec.js +32 -0
  471. package/dist/collection/components/stable/gux-table-toolbar/gux-table-toolbar-action/gux-table-toolbar-action.js +9 -7
  472. package/dist/collection/components/stable/gux-table-toolbar/gux-table-toolbar-action/tests/gux-table-toolbar-action.e2e.js +53 -0
  473. package/dist/collection/components/stable/gux-table-toolbar/gux-table-toolbar-action/tests/gux-table-toolbar-action.spec.js +54 -0
  474. package/dist/collection/components/stable/gux-table-toolbar/gux-table-toolbar-custom-action/gux-table-toolbar-custom-action.js +5 -4
  475. package/dist/collection/components/stable/gux-table-toolbar/gux-table-toolbar-custom-action/tests/gux-table-toolbar-custom-action.e2e.js +33 -0
  476. package/dist/collection/components/stable/gux-table-toolbar/gux-table-toolbar-custom-action/tests/gux-table-toolbar-custom-action.spec.js +34 -0
  477. package/dist/collection/components/stable/gux-table-toolbar/gux-table-toolbar-menu-button/gux-table-toolbar-menu-button.js +6 -6
  478. package/dist/collection/components/stable/gux-table-toolbar/gux-table-toolbar.js +7 -7
  479. package/dist/collection/components/stable/gux-table-toolbar/tests/gux-table-toolbar.e2e.js +46 -0
  480. package/dist/collection/components/stable/gux-table-toolbar/tests/gux-table-toolbar.spec.js +63 -0
  481. package/dist/collection/components/stable/gux-tabs/gux-tab/gux-tab.js +7 -4
  482. package/dist/collection/components/stable/gux-tabs/gux-tab/tests/gux-tab.e2e.js +15 -0
  483. package/dist/collection/components/stable/gux-tabs/gux-tab/tests/gux-tab.spec.js +16 -0
  484. package/dist/collection/components/stable/gux-tabs/gux-tab-list/gux-tab-list.css +0 -1
  485. package/dist/collection/components/stable/gux-tabs/gux-tab-list/gux-tab-list.js +7 -6
  486. package/dist/collection/components/stable/gux-tabs/gux-tab-list/tests/gux-tab-list.e2e.js +15 -0
  487. package/dist/collection/components/stable/gux-tabs/gux-tab-list/tests/gux-tab-list.spec.js +16 -0
  488. package/dist/collection/components/stable/gux-tabs/gux-tab-panel/gux-tab-panel.css +1 -42
  489. package/dist/collection/components/stable/gux-tabs/gux-tab-panel/gux-tab-panel.js +3 -2
  490. package/dist/collection/components/stable/gux-tabs/gux-tab-panel/tests/gux-tab-panel.e2e.js +15 -0
  491. package/dist/collection/components/stable/gux-tabs/gux-tab-panel/tests/gux-tab-panel.spec.js +16 -0
  492. package/dist/collection/components/stable/gux-tabs/gux-tabs.js +8 -5
  493. package/dist/collection/components/stable/gux-tabs/tests/gux-tabs.e2e.js +141 -0
  494. package/dist/collection/components/stable/gux-tabs/tests/gux-tabs.spec.js +57 -0
  495. package/dist/collection/components/stable/gux-tabs-advanced/gux-tab-advanced/gux-tab-advanced.js +12 -9
  496. package/dist/collection/components/stable/gux-tabs-advanced/gux-tab-advanced-list/gux-tab-advanced-list.css +1 -85
  497. package/dist/collection/components/stable/gux-tabs-advanced/gux-tab-advanced-list/gux-tab-advanced-list.js +9 -8
  498. package/dist/collection/components/stable/gux-tabs-advanced/gux-tab-advanced-panel/gux-tab-advanced-panel.css +1 -42
  499. package/dist/collection/components/stable/gux-tabs-advanced/gux-tab-advanced-panel/gux-tab-advanced-panel.js +3 -2
  500. package/dist/collection/components/stable/gux-tabs-advanced/gux-tabs-advanced.js +4 -3
  501. package/dist/collection/components/stable/gux-tabs-advanced/tests/gux-tabs-advanced.e2e.js +217 -0
  502. package/dist/collection/components/stable/gux-tabs-advanced/tests/gux-tabs-advanced.spec.js +73 -0
  503. package/dist/collection/components/stable/gux-tag/gux-tag.css +22 -25
  504. package/dist/collection/components/stable/gux-tag/gux-tag.js +6 -5
  505. package/dist/collection/components/stable/gux-tag/tests/gux-tag.e2e.js +135 -0
  506. package/dist/collection/components/stable/gux-tag/tests/gux-tag.spec.js +130 -0
  507. package/dist/collection/components/stable/gux-text-highlight/gux-text-highlight.js +5 -4
  508. package/dist/collection/components/stable/gux-text-highlight/tests/gux-text-highlight.e2e.js +147 -0
  509. package/dist/collection/components/stable/gux-text-highlight/tests/gux-text-hightlight.spec.js +149 -0
  510. package/dist/collection/components/stable/gux-time-picker/gux-time-picker.css +7 -7
  511. package/dist/collection/components/stable/gux-time-picker/gux-time-picker.js +16 -12
  512. package/dist/collection/components/stable/gux-time-picker/gux-time-picker.service.js +1 -1
  513. package/dist/collection/components/stable/gux-time-picker/tests/gux-time-picker.e2e.js +41 -0
  514. package/dist/collection/components/stable/gux-time-picker/tests/gux-time-picker.service.spec.js +698 -0
  515. package/dist/collection/components/stable/gux-time-picker/tests/gux-time-picker.spec.js +14 -0
  516. package/dist/collection/components/stable/gux-toast/gux-toast.css +5 -5
  517. package/dist/collection/components/stable/gux-toast/gux-toast.js +5 -4
  518. package/dist/collection/components/stable/gux-toast/tests/gux-toast.e2e.js +121 -0
  519. package/dist/collection/components/stable/gux-toast/tests/gux-toast.spec.js +111 -0
  520. package/dist/collection/components/stable/gux-toggle/gux-toggle-slider/gux-toggle-slider.css +1 -42
  521. package/dist/collection/components/stable/gux-toggle/gux-toggle-slider/gux-toggle-slider.js +1 -1
  522. package/dist/collection/components/stable/gux-toggle/gux-toggle.js +7 -6
  523. package/dist/collection/components/stable/gux-toggle/tests/gux-toggle.e2e.js +147 -0
  524. package/dist/collection/components/stable/gux-toggle/tests/gux-toggle.spec.js +126 -0
  525. package/dist/collection/components/stable/gux-tooltip/gux-tooltip.css +12 -12
  526. package/dist/collection/components/stable/gux-tooltip/gux-tooltip.js +14 -10
  527. package/dist/collection/components/stable/gux-tooltip/tests/gux-tooltip.e2e.js +33 -0
  528. package/dist/collection/components/stable/gux-tooltip/tests/gux-tooltip.spec.js +55 -0
  529. package/dist/collection/components/stable/gux-tooltip-title/gux-tooltip-title.js +8 -6
  530. package/dist/collection/components/stable/gux-truncate/gux-truncate.js +8 -6
  531. package/dist/collection/components/stable/gux-truncate/tests/gux-truncate.e2e.js +32 -0
  532. package/dist/collection/components/stable/gux-truncate/tests/gux-truncate.spec.js +27 -0
  533. package/dist/collection/i18n/DateTimeFormatter.js +1 -1
  534. package/dist/collection/i18n/fetchResources.js +1 -1
  535. package/dist/collection/i18n/index.js +5 -5
  536. package/dist/collection/test/e2eTestUtils.js +2 -2
  537. package/dist/collection/test/specTestUtils.js +8 -0
  538. package/dist/collection/utils/date/from-iso-time-string.spec.js +13 -0
  539. package/dist/collection/utils/date/get-valid-timezone.js +1 -1
  540. package/dist/collection/utils/date/get-valid-timezone.spec.js +38 -0
  541. package/dist/collection/utils/date/iso-dates.spec.js +170 -0
  542. package/dist/collection/utils/date/year-month-values.spec.js +81 -0
  543. package/dist/collection/utils/decorator/on-click-outside.js +1 -1
  544. package/dist/collection/utils/decorator/on-mutation.js +1 -1
  545. package/dist/collection/utils/decorator/on-resize.js +1 -1
  546. package/dist/collection/utils/dom/event-is-from.spec.js +29 -0
  547. package/dist/collection/utils/dom/manipulate-elements-classes.spec.js +104 -0
  548. package/dist/collection/utils/dom/on-input-disabled-state-change.js +1 -1
  549. package/dist/collection/utils/dom/random-html-id.spec.js +14 -0
  550. package/dist/collection/utils/dom/set-input-value.js +1 -1
  551. package/dist/collection/utils/dom/when-event-is-from.spec.js +37 -0
  552. package/dist/collection/utils/string/search.spec.js +40 -0
  553. package/dist/collection/utils/tracking/usage.js +1 -1
  554. package/dist/collection/utils/tracking/usage.spec.js +121 -0
  555. package/dist/deploy-info.json +3 -3
  556. package/dist/esm/genesys-webcomponents.js +4 -7
  557. package/dist/esm/{get-valid-timezone-4b39f118.js → get-valid-timezone-3781bfa2.js} +1 -1
  558. package/dist/esm/gux-accordion-section.entry.js +4 -4
  559. package/dist/esm/gux-accordion.entry.js +2 -2
  560. package/dist/esm/gux-action-button.entry.js +8 -8
  561. package/dist/esm/gux-action-toast-legacy.entry.js +3 -3
  562. package/dist/esm/gux-advanced-dropdown-legacy.entry.js +8 -8
  563. package/dist/esm/gux-all-row-select.entry.js +5 -5
  564. package/dist/esm/gux-announce-beta.entry.js +3 -3
  565. package/dist/esm/gux-badge.entry.js +5 -5
  566. package/dist/esm/gux-blank-state.entry.js +3 -3
  567. package/dist/esm/gux-breadcrumb-item.entry.js +3 -3
  568. package/dist/esm/gux-breadcrumbs.entry.js +5 -5
  569. package/dist/esm/gux-button-multi.entry.js +6 -6
  570. package/dist/esm/gux-button-slot.entry.js +4 -4
  571. package/dist/esm/gux-button.entry.js +3 -3
  572. package/dist/esm/gux-calendar-beta.entry.js +9 -9
  573. package/dist/esm/gux-calendar.entry.js +8 -8
  574. package/dist/esm/gux-card.entry.js +2 -2
  575. package/dist/esm/gux-column-manager-item.entry.js +7 -7
  576. package/dist/esm/gux-column-manager.entry.js +7 -7
  577. package/dist/esm/{gux-column-manager.service-a9ea5c54.js → gux-column-manager.service-4f5bf4c4.js} +2 -2
  578. package/dist/esm/gux-content-search.entry.js +7 -7
  579. package/dist/esm/gux-context-menu.entry.js +9 -9
  580. package/dist/esm/gux-copy-to-clipboard.entry.js +7 -7
  581. package/dist/esm/gux-create-option.entry.js +5 -5
  582. package/dist/esm/gux-date-beta.entry.js +5 -5
  583. package/dist/esm/gux-date-time-beta.entry.js +5 -5
  584. package/dist/esm/gux-datepicker.entry.js +10 -10
  585. package/dist/esm/gux-disclosure-button-legacy.entry.js +5 -5
  586. package/dist/esm/gux-dismiss-button.entry.js +5 -5
  587. package/dist/esm/gux-dropdown-multi-tag.entry.js +4 -4
  588. package/dist/esm/gux-dropdown-multi.entry.js +11 -11
  589. package/dist/esm/gux-dropdown-option.entry.js +1 -1
  590. package/dist/esm/gux-dropdown_3.entry.js +15 -15
  591. package/dist/esm/gux-flyout-menu.entry.js +5 -5
  592. package/dist/esm/gux-form-field-checkbox.entry.js +10 -10
  593. package/dist/esm/gux-form-field-color.entry.js +13 -13
  594. package/dist/esm/{gux-form-field-container-0d93fc18.js → gux-form-field-container-0628b63c.js} +1 -1
  595. package/dist/esm/gux-form-field-dropdown.entry.js +15 -15
  596. package/dist/esm/{gux-form-field-fieldset-container-02a0becc.js → gux-form-field-fieldset-container-863690e1.js} +1 -1
  597. package/dist/esm/gux-form-field-input-clear-button.entry.js +5 -5
  598. package/dist/esm/gux-form-field-number_3.entry.js +23 -23
  599. package/dist/esm/gux-form-field-phone.entry.js +14 -14
  600. package/dist/esm/gux-form-field-radio.entry.js +11 -11
  601. package/dist/esm/gux-form-field-range.entry.js +13 -13
  602. package/dist/esm/gux-form-field-search.entry.js +13 -13
  603. package/dist/esm/gux-form-field-select.entry.js +13 -13
  604. package/dist/esm/gux-form-field-text-like.entry.js +13 -13
  605. package/dist/esm/gux-form-field-textarea.entry.js +13 -13
  606. package/dist/esm/gux-form-field-time-picker.entry.js +14 -14
  607. package/dist/esm/{gux-form-field.service-5f03e905.js → gux-form-field.service-1b918b11.js} +5 -5
  608. package/dist/esm/gux-icon.entry.js +3 -3
  609. package/dist/esm/gux-inline-alert.entry.js +5 -5
  610. package/dist/esm/gux-list-divider.entry.js +1 -1
  611. package/dist/esm/gux-list-item.entry.js +3 -3
  612. package/dist/esm/gux-list.entry.js +3 -3
  613. package/dist/esm/gux-listbox-multi.entry.js +9 -9
  614. package/dist/esm/gux-loading-message.entry.js +3 -3
  615. package/dist/esm/gux-menu-option.entry.js +2 -2
  616. package/dist/esm/gux-menu.entry.js +1 -1
  617. package/dist/esm/gux-modal.entry.js +4 -4
  618. package/dist/esm/gux-month-calendar.entry.js +7 -7
  619. package/dist/esm/gux-month-list_2.entry.js +4 -4
  620. package/dist/esm/gux-month-picker-beta.entry.js +9 -9
  621. package/dist/esm/gux-notification-toast-legacy.entry.js +3 -3
  622. package/dist/esm/gux-option-icon.entry.js +3 -3
  623. package/dist/esm/gux-option-multi.entry.js +5 -5
  624. package/dist/esm/gux-page-loading-spinner.entry.js +2 -2
  625. package/dist/esm/gux-pagination-buttons-legacy_3.entry.js +6 -6
  626. package/dist/esm/gux-pagination-buttons_3.entry.js +8 -8
  627. package/dist/esm/gux-pagination-cursor.entry.js +5 -5
  628. package/dist/esm/gux-pagination-legacy.entry.js +3 -3
  629. package/dist/esm/gux-pagination.entry.js +4 -4
  630. package/dist/esm/gux-phone-input-beta.entry.js +8 -8
  631. package/dist/esm/gux-popover-list.entry.js +6 -6
  632. package/dist/esm/gux-popup.entry.js +3 -3
  633. package/dist/esm/gux-radial-loading.entry.js +5 -5
  634. package/dist/esm/gux-radial-progress.entry.js +4 -4
  635. package/dist/esm/gux-rating.entry.js +6 -6
  636. package/dist/esm/gux-region-icon.entry.js +2 -2
  637. package/dist/esm/gux-row-select.entry.js +5 -5
  638. package/dist/esm/gux-screen-reader-beta.entry.js +2 -2
  639. package/dist/esm/gux-segmented-control-beta.entry.js +3 -3
  640. package/dist/esm/gux-segmented-control-item.entry.js +5 -5
  641. package/dist/esm/gux-simple-toast-legacy.entry.js +2 -2
  642. package/dist/esm/gux-skip-navigation-item.entry.js +1 -1
  643. package/dist/esm/gux-skip-navigation-list.entry.js +4 -4
  644. package/dist/esm/gux-sort-control.entry.js +7 -7
  645. package/dist/esm/gux-submenu.entry.js +4 -4
  646. package/dist/esm/gux-switch-item.entry.js +2 -2
  647. package/dist/esm/gux-switch-legacy.entry.js +3 -3
  648. package/dist/esm/gux-tab-advanced-legacy.entry.js +7 -7
  649. package/dist/esm/gux-tab-advanced-list-legacy.entry.js +8 -8
  650. package/dist/esm/gux-tab-advanced-list.entry.js +8 -8
  651. package/dist/esm/gux-tab-advanced-panel-legacy.entry.js +2 -2
  652. package/dist/esm/gux-tab-advanced-panel.entry.js +2 -2
  653. package/dist/esm/gux-tab-advanced.entry.js +7 -7
  654. package/dist/esm/gux-tab-list.entry.js +6 -6
  655. package/dist/esm/gux-tab-panel.entry.js +2 -2
  656. package/dist/esm/gux-tab.entry.js +1 -1
  657. package/dist/esm/gux-table-select-menu.entry.js +8 -8
  658. package/dist/esm/gux-table-select-popover.entry.js +3 -3
  659. package/dist/esm/gux-table-toolbar-action.entry.js +5 -5
  660. package/dist/esm/gux-table-toolbar-custom-action.entry.js +3 -3
  661. package/dist/esm/gux-table-toolbar-menu-button.entry.js +6 -6
  662. package/dist/esm/gux-table-toolbar.entry.js +5 -5
  663. package/dist/esm/gux-table.entry.js +8 -8
  664. package/dist/esm/gux-tabs-advanced-legacy.entry.js +2 -2
  665. package/dist/esm/gux-tabs-advanced.entry.js +2 -2
  666. package/dist/esm/gux-tabs.entry.js +2 -2
  667. package/dist/esm/gux-tag.entry.js +5 -5
  668. package/dist/esm/gux-text-highlight.entry.js +2 -2
  669. package/dist/esm/gux-time-beta.entry.js +5 -5
  670. package/dist/esm/gux-time-picker.entry.js +8 -8
  671. package/dist/esm/gux-time-zone-picker-beta.entry.js +5 -5
  672. package/dist/esm/gux-toast.entry.js +4 -4
  673. package/dist/esm/gux-toggle-slider.entry.js +2 -2
  674. package/dist/esm/gux-toggle.entry.js +5 -5
  675. package/dist/esm/gux-tooltip-title.entry.js +4 -4
  676. package/dist/esm/gux-tooltip.entry.js +7 -7
  677. package/dist/esm/gux-truncate.entry.js +3 -3
  678. package/dist/esm/{index-0b66fe2c.js → index-a0eec33a.js} +155 -39
  679. package/dist/esm/{index-694d55cf.js → index-e5ccc024.js} +2 -2
  680. package/dist/esm/loader.js +4 -13
  681. package/dist/esm/{on-click-outside-bc432a79.js → on-click-outside-e696f632.js} +1 -1
  682. package/dist/esm/{on-mutation-8c8b2331.js → on-mutation-c1be3c74.js} +1 -1
  683. package/dist/esm/{on-resize-7177429a.js → on-resize-c9e31879.js} +1 -1
  684. package/dist/esm/{usage-cd252d08.js → usage-b9bc2c35.js} +5 -5
  685. package/dist/genesys-webcomponents/genesys-webcomponents.css +2 -2
  686. package/dist/genesys-webcomponents/genesys-webcomponents.esm.js +1 -1
  687. package/dist/genesys-webcomponents/{p-a2cc1e97.entry.js → p-001a4f6c.entry.js} +1 -1
  688. package/dist/genesys-webcomponents/{p-fbc9566f.entry.js → p-004bad0d.entry.js} +1 -1
  689. package/dist/genesys-webcomponents/{p-41617814.entry.js → p-0209a2e8.entry.js} +1 -1
  690. package/dist/genesys-webcomponents/{p-8f781185.entry.js → p-04882cf9.entry.js} +1 -1
  691. package/dist/genesys-webcomponents/{p-2176b2e3.entry.js → p-050b14b0.entry.js} +1 -1
  692. package/dist/genesys-webcomponents/p-05102bf4.entry.js +1 -0
  693. package/dist/genesys-webcomponents/p-06186f07.entry.js +1 -0
  694. package/dist/genesys-webcomponents/p-0a7237d9.entry.js +1 -0
  695. package/dist/genesys-webcomponents/{p-8e9bfb5c.entry.js → p-0e1a0eef.entry.js} +1 -1
  696. package/dist/genesys-webcomponents/p-0f57803f.entry.js +1 -0
  697. package/dist/genesys-webcomponents/{p-280ec994.entry.js → p-0fd727e4.entry.js} +1 -1
  698. package/dist/genesys-webcomponents/{p-5bbffb5a.entry.js → p-11a4917d.entry.js} +1 -1
  699. package/dist/genesys-webcomponents/p-121117b7.entry.js +1 -0
  700. package/dist/genesys-webcomponents/{p-98f69d35.entry.js → p-127514f4.entry.js} +1 -1
  701. package/dist/genesys-webcomponents/{p-d9a38f04.entry.js → p-13bd1ddb.entry.js} +1 -1
  702. package/dist/genesys-webcomponents/{p-c985b725.entry.js → p-15e52200.entry.js} +1 -1
  703. package/dist/genesys-webcomponents/p-1b04a4a3.entry.js +1 -0
  704. package/dist/genesys-webcomponents/{p-e511fb43.entry.js → p-1c00c8b9.entry.js} +1 -1
  705. package/dist/genesys-webcomponents/{p-dfb9c511.entry.js → p-25d372af.entry.js} +1 -1
  706. package/dist/genesys-webcomponents/p-29e65ca5.entry.js +1 -0
  707. package/dist/genesys-webcomponents/{p-45baa064.entry.js → p-2a3350f2.entry.js} +1 -1
  708. package/dist/genesys-webcomponents/{p-c743441a.entry.js → p-3006f950.entry.js} +1 -1
  709. package/dist/genesys-webcomponents/p-32a36f06.entry.js +1 -0
  710. package/dist/genesys-webcomponents/p-35fff0fe.entry.js +1 -0
  711. package/dist/genesys-webcomponents/{p-e078f4fa.entry.js → p-3669d1d6.entry.js} +1 -1
  712. package/dist/genesys-webcomponents/p-377f63a0.entry.js +1 -0
  713. package/dist/genesys-webcomponents/{p-c686d5f6.entry.js → p-38c797a5.entry.js} +1 -1
  714. package/dist/genesys-webcomponents/{p-3d3fea51.entry.js → p-3b48aaaa.entry.js} +1 -1
  715. package/dist/genesys-webcomponents/{p-13dd4c6b.js → p-3d745319.js} +1 -1
  716. package/dist/genesys-webcomponents/p-3deec8d5.entry.js +1 -0
  717. package/dist/genesys-webcomponents/{p-c3d5a975.entry.js → p-3fe16f20.entry.js} +1 -1
  718. package/dist/genesys-webcomponents/{p-7c826e42.entry.js → p-4338a137.entry.js} +1 -1
  719. package/dist/genesys-webcomponents/p-4426b584.entry.js +1 -0
  720. package/dist/genesys-webcomponents/p-457dce75.entry.js +1 -0
  721. package/dist/genesys-webcomponents/{p-3fc64f89.entry.js → p-48d465fe.entry.js} +1 -1
  722. package/dist/genesys-webcomponents/{p-6bff9eb3.entry.js → p-4a579180.entry.js} +1 -1
  723. package/dist/genesys-webcomponents/{p-e1030da3.entry.js → p-4d14a590.entry.js} +1 -1
  724. package/dist/genesys-webcomponents/p-4dc4930c.entry.js +1 -0
  725. package/dist/genesys-webcomponents/p-511eb62e.entry.js +1 -0
  726. package/dist/genesys-webcomponents/p-51df1ede.entry.js +1 -0
  727. package/dist/genesys-webcomponents/{p-deee079e.js → p-52e27c60.js} +1 -1
  728. package/dist/genesys-webcomponents/p-541c3c6b.entry.js +1 -0
  729. package/dist/genesys-webcomponents/{p-1fd76470.entry.js → p-5463e134.entry.js} +1 -1
  730. package/dist/genesys-webcomponents/{p-06a92400.entry.js → p-550c0768.entry.js} +1 -1
  731. package/dist/genesys-webcomponents/{p-ebede868.entry.js → p-5524298d.entry.js} +1 -1
  732. package/dist/genesys-webcomponents/{p-23ef4850.entry.js → p-59206607.entry.js} +1 -1
  733. package/dist/genesys-webcomponents/{p-29bb65b6.entry.js → p-5a9d8cb2.entry.js} +1 -1
  734. package/dist/genesys-webcomponents/p-5d15381f.entry.js +1 -0
  735. package/dist/genesys-webcomponents/{p-ebfa2805.entry.js → p-5ea0d07e.entry.js} +1 -1
  736. package/dist/genesys-webcomponents/{p-6a08f78f.entry.js → p-644b750b.entry.js} +1 -1
  737. package/dist/genesys-webcomponents/p-66290fc5.entry.js +1 -0
  738. package/dist/genesys-webcomponents/{p-0ca229eb.entry.js → p-67036f76.entry.js} +1 -1
  739. package/dist/genesys-webcomponents/p-69d045af.entry.js +1 -0
  740. package/dist/genesys-webcomponents/p-6bee8d41.entry.js +1 -0
  741. package/dist/genesys-webcomponents/{p-16570da1.entry.js → p-6c72ef03.entry.js} +1 -1
  742. package/dist/genesys-webcomponents/p-6ce1bf55.entry.js +1 -0
  743. package/dist/genesys-webcomponents/{p-b1c23548.entry.js → p-6d7122bc.entry.js} +1 -1
  744. package/dist/genesys-webcomponents/p-77db656b.entry.js +1 -0
  745. package/dist/genesys-webcomponents/{p-f242ce05.entry.js → p-7943f46d.entry.js} +1 -1
  746. package/dist/genesys-webcomponents/{p-8920a5e5.js → p-7a100b8c.js} +1 -1
  747. package/dist/genesys-webcomponents/{p-67652427.entry.js → p-7bff5f15.entry.js} +1 -1
  748. package/dist/genesys-webcomponents/{p-44835bc5.entry.js → p-7e22896f.entry.js} +1 -1
  749. package/dist/genesys-webcomponents/{p-57c82db9.entry.js → p-7e245e45.entry.js} +1 -1
  750. package/dist/genesys-webcomponents/{p-f34ce7dc.js → p-8801741a.js} +1 -1
  751. package/dist/genesys-webcomponents/{p-359d6b16.entry.js → p-8953cea0.entry.js} +1 -1
  752. package/dist/genesys-webcomponents/{p-9d18d475.js → p-8c362857.js} +1 -1
  753. package/dist/genesys-webcomponents/p-8c3c2fd5.entry.js +1 -0
  754. package/dist/genesys-webcomponents/{p-2b46c949.entry.js → p-8d3fb4b0.entry.js} +1 -1
  755. package/dist/genesys-webcomponents/p-8e22729c.entry.js +1 -0
  756. package/dist/genesys-webcomponents/{p-fab9ff54.entry.js → p-9026cf7e.entry.js} +1 -1
  757. package/dist/genesys-webcomponents/p-903a7fff.entry.js +1 -0
  758. package/dist/genesys-webcomponents/{p-e401da19.entry.js → p-906bffcd.entry.js} +1 -1
  759. package/dist/genesys-webcomponents/p-920b9a0d.entry.js +1 -0
  760. package/dist/genesys-webcomponents/p-92536df7.entry.js +1 -0
  761. package/dist/genesys-webcomponents/p-9279fb28.entry.js +1 -0
  762. package/dist/genesys-webcomponents/p-932fdd60.entry.js +1 -0
  763. package/dist/genesys-webcomponents/p-937ec398.entry.js +1 -0
  764. package/dist/genesys-webcomponents/{p-a733f4ca.js → p-9383fa8e.js} +1 -1
  765. package/dist/genesys-webcomponents/{p-d01970f7.entry.js → p-93d5c18d.entry.js} +1 -1
  766. package/dist/genesys-webcomponents/{p-b6ec024f.entry.js → p-9595c4f2.entry.js} +1 -1
  767. package/dist/genesys-webcomponents/{p-2c9c3cea.entry.js → p-984fb2ca.entry.js} +1 -1
  768. package/dist/genesys-webcomponents/{p-831456f4.entry.js → p-9894c33e.entry.js} +1 -1
  769. package/dist/genesys-webcomponents/p-992542c8.entry.js +1 -0
  770. package/dist/genesys-webcomponents/{p-bf36d208.entry.js → p-993b63db.entry.js} +1 -1
  771. package/dist/genesys-webcomponents/p-9cc0c717.entry.js +1 -0
  772. package/dist/genesys-webcomponents/p-a1151219.entry.js +1 -0
  773. package/dist/genesys-webcomponents/{p-4a6ae41e.js → p-a285abaf.js} +1 -1
  774. package/dist/genesys-webcomponents/{p-b3c9fd06.js → p-a3bc3236.js} +1 -1
  775. package/dist/genesys-webcomponents/p-a934d5b1.entry.js +1 -0
  776. package/dist/genesys-webcomponents/{p-334e3b2c.entry.js → p-a96bc06c.entry.js} +1 -1
  777. package/dist/genesys-webcomponents/{p-d3a38337.entry.js → p-b09ed8fd.entry.js} +1 -1
  778. package/dist/genesys-webcomponents/{p-197d4153.entry.js → p-b0cc1af2.entry.js} +1 -1
  779. package/dist/genesys-webcomponents/{p-a9b8c730.entry.js → p-b3fd4623.entry.js} +1 -1
  780. package/dist/genesys-webcomponents/p-b56fd34a.entry.js +1 -0
  781. package/dist/genesys-webcomponents/{p-39e12286.entry.js → p-b80c59ad.entry.js} +1 -1
  782. package/dist/genesys-webcomponents/p-bc151fdb.entry.js +1 -0
  783. package/dist/genesys-webcomponents/p-be68b1e8.entry.js +1 -0
  784. package/dist/genesys-webcomponents/{p-782c1b84.entry.js → p-c05cacb2.entry.js} +1 -1
  785. package/dist/genesys-webcomponents/{p-75146c5b.entry.js → p-c07ab095.entry.js} +1 -1
  786. package/dist/genesys-webcomponents/{p-9be45fa0.entry.js → p-c183e212.entry.js} +1 -1
  787. package/dist/genesys-webcomponents/p-c4a77eda.entry.js +1 -0
  788. package/dist/genesys-webcomponents/{p-c609ed18.entry.js → p-c4f9d3c7.entry.js} +1 -1
  789. package/dist/genesys-webcomponents/{p-605734cc.js → p-c57cd1d8.js} +1 -1
  790. package/dist/genesys-webcomponents/{p-f6f9039b.entry.js → p-c7a90b16.entry.js} +1 -1
  791. package/dist/genesys-webcomponents/{p-7a24829d.entry.js → p-c9788b0b.entry.js} +1 -1
  792. package/dist/genesys-webcomponents/{p-1e4c80e5.entry.js → p-cf094b0a.entry.js} +1 -1
  793. package/dist/genesys-webcomponents/{p-078d3c75.entry.js → p-d0aefa7e.entry.js} +1 -1
  794. package/dist/genesys-webcomponents/p-d25d679d.entry.js +1 -0
  795. package/dist/genesys-webcomponents/p-d5d7cf8d.entry.js +1 -0
  796. package/dist/genesys-webcomponents/{p-c6d8e1d8.entry.js → p-d8e0caa9.entry.js} +1 -1
  797. package/dist/genesys-webcomponents/{p-9571e673.entry.js → p-d96bce57.entry.js} +1 -1
  798. package/dist/genesys-webcomponents/{p-d2012304.entry.js → p-ddfc136f.entry.js} +1 -1
  799. package/dist/genesys-webcomponents/{p-5229c638.entry.js → p-e121f417.entry.js} +1 -1
  800. package/dist/genesys-webcomponents/{p-f6913d5e.entry.js → p-e2d75be4.entry.js} +1 -1
  801. package/dist/genesys-webcomponents/{p-c94a287d.entry.js → p-e653b8d2.entry.js} +1 -1
  802. package/dist/genesys-webcomponents/{p-97d57a71.entry.js → p-ea777be1.entry.js} +1 -1
  803. package/dist/genesys-webcomponents/p-ed724d66.js +2 -0
  804. package/dist/genesys-webcomponents/{p-5a94a9bf.entry.js → p-edf8e30c.entry.js} +1 -1
  805. package/dist/genesys-webcomponents/p-ee2ab42a.entry.js +1 -0
  806. package/dist/genesys-webcomponents/{p-39151f6f.entry.js → p-ee662eda.entry.js} +1 -1
  807. package/dist/genesys-webcomponents/{p-5f96b474.entry.js → p-f19e1b38.entry.js} +1 -1
  808. package/dist/genesys-webcomponents/{p-83f26f44.entry.js → p-f34da37c.entry.js} +1 -1
  809. package/dist/genesys-webcomponents/p-f6bcc7b4.entry.js +1 -0
  810. package/dist/genesys-webcomponents/p-f7c491f0.entry.js +1 -0
  811. package/dist/genesys-webcomponents/p-f86080b6.entry.js +1 -0
  812. package/dist/genesys-webcomponents/{p-c27e3e55.entry.js → p-fb9b79ce.entry.js} +1 -1
  813. package/dist/genesys-webcomponents/{p-211cc1db.js → p-fd5e59f5.js} +1 -1
  814. package/dist/genesys-webcomponents/scss/style-reset-focusable.scss +44 -5
  815. package/dist/genesys-webcomponents/scss/style-reset-typography.scss +12 -7
  816. package/dist/loader/index.d.ts +1 -1
  817. package/dist/stencil-wrapper.js +4 -4
  818. package/dist/types/stencil-public-runtime.d.ts +19 -5
  819. package/dist/types/stencil-wrapper.d.ts +2 -2
  820. package/dist/types/test/specTestUtils.d.ts +2 -0
  821. package/package.json +5 -5
  822. package/dist/esm/polyfills/css-shim.js +0 -1
  823. package/dist/genesys-webcomponents/p-0249b669.entry.js +0 -1
  824. package/dist/genesys-webcomponents/p-0d276dc9.entry.js +0 -1
  825. package/dist/genesys-webcomponents/p-2795474f.entry.js +0 -1
  826. package/dist/genesys-webcomponents/p-3031a578.entry.js +0 -1
  827. package/dist/genesys-webcomponents/p-3493b6c1.entry.js +0 -1
  828. package/dist/genesys-webcomponents/p-3d15a15a.entry.js +0 -1
  829. package/dist/genesys-webcomponents/p-3d6b25da.entry.js +0 -1
  830. package/dist/genesys-webcomponents/p-409a2aed.entry.js +0 -1
  831. package/dist/genesys-webcomponents/p-45bcb54b.entry.js +0 -1
  832. package/dist/genesys-webcomponents/p-53c4a7f7.entry.js +0 -1
  833. package/dist/genesys-webcomponents/p-5676eed0.entry.js +0 -1
  834. package/dist/genesys-webcomponents/p-572aec19.entry.js +0 -1
  835. package/dist/genesys-webcomponents/p-6081375f.entry.js +0 -1
  836. package/dist/genesys-webcomponents/p-62456443.entry.js +0 -1
  837. package/dist/genesys-webcomponents/p-66cc767b.entry.js +0 -1
  838. package/dist/genesys-webcomponents/p-6a62e7d1.entry.js +0 -1
  839. package/dist/genesys-webcomponents/p-6b0dc655.entry.js +0 -1
  840. package/dist/genesys-webcomponents/p-7adb14d8.entry.js +0 -1
  841. package/dist/genesys-webcomponents/p-7b3f06e0.entry.js +0 -1
  842. package/dist/genesys-webcomponents/p-7c5d3642.entry.js +0 -1
  843. package/dist/genesys-webcomponents/p-7cecc169.entry.js +0 -1
  844. package/dist/genesys-webcomponents/p-7d26b2e1.js +0 -2
  845. package/dist/genesys-webcomponents/p-7fa0ebcf.entry.js +0 -1
  846. package/dist/genesys-webcomponents/p-8691acc1.entry.js +0 -1
  847. package/dist/genesys-webcomponents/p-8cfed8ab.entry.js +0 -1
  848. package/dist/genesys-webcomponents/p-8ef5755c.entry.js +0 -1
  849. package/dist/genesys-webcomponents/p-906dfed6.entry.js +0 -1
  850. package/dist/genesys-webcomponents/p-9381f1a8.entry.js +0 -1
  851. package/dist/genesys-webcomponents/p-94f2e2a4.entry.js +0 -1
  852. package/dist/genesys-webcomponents/p-95a4e80e.entry.js +0 -1
  853. package/dist/genesys-webcomponents/p-95fcbe0c.entry.js +0 -1
  854. package/dist/genesys-webcomponents/p-993b03b1.entry.js +0 -1
  855. package/dist/genesys-webcomponents/p-a871a9cd.entry.js +0 -1
  856. package/dist/genesys-webcomponents/p-a95fbd3b.entry.js +0 -1
  857. package/dist/genesys-webcomponents/p-ac40bdc8.entry.js +0 -1
  858. package/dist/genesys-webcomponents/p-ad9c8e01.entry.js +0 -1
  859. package/dist/genesys-webcomponents/p-b5ee1c41.entry.js +0 -1
  860. package/dist/genesys-webcomponents/p-baffeea7.entry.js +0 -1
  861. package/dist/genesys-webcomponents/p-cae7ee62.entry.js +0 -1
  862. package/dist/genesys-webcomponents/p-d3c907fc.entry.js +0 -1
  863. package/dist/genesys-webcomponents/p-d5e44599.entry.js +0 -1
  864. package/dist/genesys-webcomponents/p-dab7466b.entry.js +0 -1
  865. package/dist/genesys-webcomponents/p-e4d54add.entry.js +0 -1
  866. package/dist/genesys-webcomponents/p-e7cab774.entry.js +0 -1
  867. package/dist/genesys-webcomponents/p-ef910e9b.entry.js +0 -1
  868. package/dist/genesys-webcomponents/p-f246861a.entry.js +0 -1
  869. package/dist/genesys-webcomponents/scss/focus.scss +0 -48
  870. package/dist/genesys-webcomponents/scss/typography.scss +0 -127
  871. /package/dist/cjs/{after-next-render-a09f528a.js → after-next-render-a023ef47.js} +0 -0
  872. /package/dist/cjs/{capitalize-first-letter-8e2f04e5.js → capitalize-first-letter-251c82ed.js} +0 -0
  873. /package/dist/cjs/{clamp-1bb96117.js → clamp-a9926a57.js} +0 -0
  874. /package/dist/cjs/{en-14558544.js → en-5507bf0d.js} +0 -0
  875. /package/dist/cjs/{en-d1b32383.js → en-807a354e.js} +0 -0
  876. /package/dist/cjs/{en-eb56dc17.js → en-85604f0f.js} +0 -0
  877. /package/dist/cjs/{en-2a12d7c4.js → en-f88c1935.js} +0 -0
  878. /package/dist/cjs/{event-is-from-ad1044f2.js → event-is-from-f3f1cfde.js} +0 -0
  879. /package/dist/cjs/{find-element-by-id-ecf0efa3.js → find-element-by-id-9c3e0b1b.js} +0 -0
  880. /package/dist/cjs/{floating-ui.dom.esm-2ed3685b.js → floating-ui.dom.esm-793074c6.js} +0 -0
  881. /package/dist/cjs/{get-closest-element-ab4b2eee.js → get-closest-element-26894e5a.js} +0 -0
  882. /package/dist/cjs/{get-slot-097ade01.js → get-slot-395a67ef.js} +0 -0
  883. /package/dist/cjs/{get-slot-text-content-30aa5492.js → get-slot-text-content-c4306c7a.js} +0 -0
  884. /package/dist/cjs/{gux-list.service-763539a2.js → gux-list.service-4beaa394.js} +0 -0
  885. /package/dist/cjs/{gux-listbox.service-93102b5b.js → gux-listbox.service-b1068596.js} +0 -0
  886. /package/dist/cjs/{gux-menu.common-cf9d53f7.js → gux-menu.common-d41b2fac.js} +0 -0
  887. /package/dist/cjs/{has-slot-2e73d6e7.js → has-slot-429f8b9e.js} +0 -0
  888. /package/dist/cjs/{iso-dates-f78ffb80.js → iso-dates-d0cd4802.js} +0 -0
  889. /package/dist/cjs/{log-error-d46c02b7.js → log-error-8a92241e.js} +0 -0
  890. /package/dist/cjs/{on-attribute-change-37556263.js → on-attribute-change-4db59350.js} +0 -0
  891. /package/dist/cjs/{on-input-disabled-state-change-d66fb86b.js → on-input-disabled-state-change-005e5b3e.js} +0 -0
  892. /package/dist/cjs/{on-mutation-8f8a4460.js → on-mutation-ef917473.js} +0 -0
  893. /package/dist/cjs/{prevent-browser-validation-styling-d21b1a56.js → prevent-browser-validation-styling-15142963.js} +0 -0
  894. /package/dist/cjs/{random-html-id-b86b61c0.js → random-html-id-32ef8847.js} +0 -0
  895. /package/dist/cjs/{simulate-native-event-fe3e62da.js → simulate-native-event-8209a457.js} +0 -0
  896. /package/dist/cjs/{when-event-is-from-69b5ca13.js → when-event-is-from-20e89254.js} +0 -0
  897. /package/dist/cjs/{year-month-values-f387f8d8.js → year-month-values-6028ce26.js} +0 -0
  898. /package/dist/collection/components/beta/gux-phone-input/components/gux-region-icon/sprite-utils/{generate-sprites.js → sprites.generated.js} +0 -0
  899. /package/dist/esm/{after-next-render-ed0f7dcd.js → after-next-render-84ec18ad.js} +0 -0
  900. /package/dist/esm/{capitalize-first-letter-d2512ec0.js → capitalize-first-letter-45fad3db.js} +0 -0
  901. /package/dist/esm/{clamp-6bdb0367.js → clamp-51db64df.js} +0 -0
  902. /package/dist/esm/{en-5ed282a0.js → en-1f9d79e6.js} +0 -0
  903. /package/dist/esm/{en-6c4aef39.js → en-98371f99.js} +0 -0
  904. /package/dist/esm/{en-46223eb1.js → en-b0526f2a.js} +0 -0
  905. /package/dist/esm/{en-5b8ff4c7.js → en-bf740e9b.js} +0 -0
  906. /package/dist/esm/{event-is-from-90b69768.js → event-is-from-e25c5a22.js} +0 -0
  907. /package/dist/esm/{find-element-by-id-7c5f4fbf.js → find-element-by-id-a3c82a2d.js} +0 -0
  908. /package/dist/esm/{floating-ui.dom.esm-c86d3efa.js → floating-ui.dom.esm-813bb04f.js} +0 -0
  909. /package/dist/esm/{get-closest-element-1597503c.js → get-closest-element-66f63212.js} +0 -0
  910. /package/dist/esm/{get-slot-52d073f3.js → get-slot-55aade31.js} +0 -0
  911. /package/dist/esm/{get-slot-text-content-2e086993.js → get-slot-text-content-189d6edf.js} +0 -0
  912. /package/dist/esm/{gux-list.service-a878b7e3.js → gux-list.service-693f4ba7.js} +0 -0
  913. /package/dist/esm/{gux-listbox.service-a8319b51.js → gux-listbox.service-f2b6e01a.js} +0 -0
  914. /package/dist/esm/{gux-menu.common-a8b63e91.js → gux-menu.common-e59a1b12.js} +0 -0
  915. /package/dist/esm/{has-slot-062ae63a.js → has-slot-d06c74d9.js} +0 -0
  916. /package/dist/esm/{iso-dates-a7c704a4.js → iso-dates-5bcd3209.js} +0 -0
  917. /package/dist/esm/{log-error-e0bbd04a.js → log-error-0b15023e.js} +0 -0
  918. /package/dist/esm/{on-attribute-change-5fd8da7c.js → on-attribute-change-b91132e6.js} +0 -0
  919. /package/dist/esm/{on-input-disabled-state-change-3ea76372.js → on-input-disabled-state-change-e6bc912f.js} +0 -0
  920. /package/dist/esm/{on-mutation-d500715c.js → on-mutation-a2b7cdad.js} +0 -0
  921. /package/dist/esm/{prevent-browser-validation-styling-d16c3f4c.js → prevent-browser-validation-styling-8c459589.js} +0 -0
  922. /package/dist/esm/{random-html-id-8e3f658c.js → random-html-id-3354d85c.js} +0 -0
  923. /package/dist/esm/{simulate-native-event-ac69961f.js → simulate-native-event-bca7a1c9.js} +0 -0
  924. /package/dist/esm/{when-event-is-from-18667084.js → when-event-is-from-6154bd60.js} +0 -0
  925. /package/dist/esm/{year-month-values-1b64c204.js → year-month-values-6ffe871f.js} +0 -0
  926. /package/dist/genesys-webcomponents/{p-955a1e6a.js → p-08874a83.js} +0 -0
  927. /package/dist/genesys-webcomponents/{p-8a133b9b.js → p-0962dd7a.js} +0 -0
  928. /package/dist/genesys-webcomponents/{p-3f5341ea.js → p-16f3da0d.js} +0 -0
  929. /package/dist/genesys-webcomponents/{p-c10e41a9.js → p-28f55159.js} +0 -0
  930. /package/dist/genesys-webcomponents/{p-93904222.js → p-31cd1b9a.js} +0 -0
  931. /package/dist/genesys-webcomponents/{p-08bc2e6b.js → p-324b23f3.js} +0 -0
  932. /package/dist/genesys-webcomponents/{p-2c3d934a.js → p-363466e3.js} +0 -0
  933. /package/dist/genesys-webcomponents/{p-d176c2ae.js → p-373c5d93.js} +0 -0
  934. /package/dist/genesys-webcomponents/{p-cbcbd1bb.js → p-3ea0d493.js} +0 -0
  935. /package/dist/genesys-webcomponents/{p-1aa11396.js → p-408d5857.js} +0 -0
  936. /package/dist/genesys-webcomponents/{p-3701eff0.js → p-4e030b49.js} +0 -0
  937. /package/dist/genesys-webcomponents/{p-4f26144b.js → p-533d7842.js} +0 -0
  938. /package/dist/genesys-webcomponents/{p-6a8e1026.js → p-5844e8c2.js} +0 -0
  939. /package/dist/genesys-webcomponents/{p-82ffe3cc.js → p-5d7d5695.js} +0 -0
  940. /package/dist/genesys-webcomponents/{p-3e6097e5.js → p-693c1709.js} +0 -0
  941. /package/dist/genesys-webcomponents/{p-2bc35259.js → p-705311af.js} +0 -0
  942. /package/dist/genesys-webcomponents/{p-55cf6d81.js → p-71e00140.js} +0 -0
  943. /package/dist/genesys-webcomponents/{p-9dd4b14a.js → p-7b08c759.js} +0 -0
  944. /package/dist/genesys-webcomponents/{p-76ff3e75.js → p-8b703092.js} +0 -0
  945. /package/dist/genesys-webcomponents/{p-251befef.js → p-9125cc36.js} +0 -0
  946. /package/dist/genesys-webcomponents/{p-d0805f56.js → p-9d734bbd.js} +0 -0
  947. /package/dist/genesys-webcomponents/{p-4e2b5bcf.js → p-a5937ee9.js} +0 -0
  948. /package/dist/genesys-webcomponents/{p-417354e9.js → p-aa9ff6ba.js} +0 -0
  949. /package/dist/genesys-webcomponents/{p-abb9b5f7.js → p-c7328d42.js} +0 -0
  950. /package/dist/genesys-webcomponents/{p-29e8b184.js → p-dbb0ac25.js} +0 -0
  951. /package/dist/genesys-webcomponents/{p-aa2f9991.js → p-dd53013c.js} +0 -0
  952. /package/dist/genesys-webcomponents/{p-091f51f6.js → p-ffaadf62.js} +0 -0
  953. /package/dist/types/components/beta/gux-phone-input/components/gux-region-icon/sprite-utils/{generate-sprites.d.ts → sprites.generated.d.ts} +0 -0
@@ -1 +1 @@
1
- import{r as e,h as t,g as a}from"./p-7d26b2e1.js";import{b as r,g as n}from"./p-deee079e.js";import{s}from"./p-d176c2ae.js";import{b as i}from"./p-091f51f6.js";import{g as o,b as h,a as u}from"./p-955a1e6a.js";import"./p-8a133b9b.js";const c={changeYear:"Current year is {currentYear}, Click to change year to {changeYear}"},d=class{constructor(t){e(this,t),this.value=void 0,this.min=void 0,this.max=void 0,this.year=void 0,this.locale=void 0}onValueUpdate(e){const{year:t}=o(e);this.year=t}async guxFocus(e){e=e||h();const{year:t}=o(e);this.year=t,i((()=>{const t=this.root.shadowRoot.querySelector(`gux-month-list-item[value="${e}"]`);t&&t.focus()}))}async componentWillLoad(){this.i18n=await r(this.root,c),this.locale=n(this.root),this.year=this.value?o(this.value).year:o(h()).year}updateValue(e){this.value=e,s(this.root,"input"),s(this.root,"change")}isOutOfBounds(e){return this.max&&this.max<e||this.min&&this.min>e}onMonthClick(e){this.isOutOfBounds(e)||this.updateValue(e)}isCurrentMonth(e){return o(h()).year==this.year&&o(h()).month==e}getMonthAriaLabel(e){const{year:t,month:a}=o(e);return new Date(Number(t),Number(a)-1).toLocaleDateString(this.locale,{year:"numeric",month:"long"})}getYearLabel(e){return new Date(Number(e),5).toLocaleDateString(this.locale,{year:"numeric"})}isSelectedMonth(e){return e===this.value}isAriaSelectedMonth(e){return!!this.isSelectedMonth(e)&&"true"}changeYear(e){this.year=(parseInt(this.year)+e).toString()}isPreviousYearLessThanMinYear(e,t){return(parseInt(e)-1).toString()<(t&&o(t).year)}isNextYearGreaterThanMaxYear(e,t){return(parseInt(e)+1).toString()>(t&&o(t).year)}getMonthShortName(e,t){return new Date(Number(e),Number(t)-1).toLocaleDateString(this.locale,{month:"short"})}doFocusTrap(){this.previousYearElement.disabled||this.previousYearElement.focus(),this.nextYearElement.disabled||this.nextYearElement.focus(),this.monthListElement.focus()}renderHeader(){return t("div",{class:"gux-year-header"},t("button",{type:"button",class:"gux-year-change",onClick:()=>this.changeYear(-1),disabled:this.isPreviousYearLessThanMinYear(this.year,this.min),ref:e=>this.previousYearElement=e},t("gux-icon",{"icon-name":"chevron-small-left","screenreader-text":this.i18n("changeYear",{currentYear:parseInt(this.year),changeYear:parseInt(this.year)-1})})),t("div",null,this.getYearLabel(this.year)),t("button",{type:"button",class:"gux-year-change",onClick:()=>this.changeYear(1),disabled:this.isNextYearGreaterThanMaxYear(this.year,this.max),ref:e=>this.nextYearElement=e},t("gux-icon",{"icon-name":"chevron-small-right","screenreader-text":this.i18n("changeYear",{currentYear:parseInt(this.year),changeYear:parseInt(this.year)+1})})))}renderMonths(){const e=Array.from(new Array(12),((e,t)=>String(t+1).padStart(2,"0"))).map((e=>{const a=u(this.year,e);return t("gux-month-list-item",{class:{"gux-current-month":this.isCurrentMonth(e)},value:a,selected:this.isSelectedMonth(a),"aria-selected":this.isAriaSelectedMonth(a),"aria-label":this.getMonthAriaLabel(a),onClick:()=>this.onMonthClick(a),disabled:this.isOutOfBounds(a)},this.getMonthShortName(this.year,e))}));return t("gux-month-list",{tabIndex:1,ref:e=>this.monthListElement=e},e)}renderTrapFocusEl(){return t("span",{onFocus:()=>this.doFocusTrap(),tabindex:"0"})}render(){return t("div",{class:"gux-month-calendar"},this.renderHeader(),this.renderMonths(),this.renderTrapFocusEl())}static get delegatesFocus(){return!0}get root(){return a(this)}static get watchers(){return{value:["onValueUpdate"]}}};d.style=".gux-month-calendar{flex-wrap:wrap;width:var(--gse-ui-calendarMenu-width);height:var(--gse-ui-calendarMenu-height);box-shadow:var(--gse-ui-calendarMenu-boxShadow-x) var(--gse-ui-calendarMenu-boxShadow-y) var(--gse-ui-calendarMenu-boxShadow-blur) var(--gse-ui-calendarMenu-boxShadow-spread) var(--gse-ui-calendarMenu-boxShadow-color)}.gux-month-calendar .gux-current-month{color:var(--gse-ui-calendarMenu-month-default-foregroundColor);font-family:var(--gse-ui-calendarMenu-month-currentText-fontFamily);font-size:var(--gse-ui-calendarMenu-month-currentText-fontSize);line-height:var(--gse-ui-calendarMenu-month-currentText-lineHeight);font-weight:var(--gse-ui-calendarMenu-month-currentText-fontWeight)}.gux-month-calendar .gux-year-header{position:relative;display:flex;align-items:center;justify-content:space-between;font-family:var(--gse-ui-calendarMenu-day-headerText-fontFamily);font-size:var(--gse-ui-calendarMenu-day-headerText-fontSize);line-height:var(--gse-ui-calendarMenu-day-headerText-lineHeight);font-weight:var(--gse-ui-calendarMenu-day-headerText-fontWeight);height:var(--gse-ui-calendarMenu-month-single-header-height);padding:var(--gse-ui-calendarMenu-header-padding);color:var(--gse-ui-calendarMenu-header-foregroundColor);background-color:var(--gse-ui-calendarMenu-header-backgroundColor);border-radius:var(--gse-ui-calendarMenu-single-header-borderRadius)}.gux-month-calendar .gux-year-header button{color:inherit;cursor:pointer;background:none;border:none;outline:none;padding:8px}.gux-month-calendar .gux-year-header button:focus-visible{outline:var(--gse-semantic-focusRing-width) var(--gse-semantic-focusRing-default-border-style) var(--gse-semantic-color-focus);outline-offset:var(--gse-semantic-focusRing-offset);border-radius:calc(var(--gse-semantic-focusRing-cornerRadius) - var(--gse-semantic-focusRing-offset))}.gux-month-calendar .gux-year-header button.gux-year-change:disabled{cursor:default;opacity:var(--gse-ui-calendarMenu-disabled-opacity)}.gux-month-calendar .gux-year-header button gux-icon{width:var(--gse-ui-icon-size-sm);height:var(--gse-ui-icon-size-sm);pointer-events:none}";export{d as gux_month_calendar}
1
+ import{r as e,h as t,g as a}from"./p-ed724d66.js";import{b as r,g as n}from"./p-52e27c60.js";import{s}from"./p-373c5d93.js";import{b as i}from"./p-ffaadf62.js";import{g as o,b as h,a as u}from"./p-08874a83.js";import"./p-0962dd7a.js";const c={changeYear:"Current year is {currentYear}, Click to change year to {changeYear}"},d=class{constructor(t){e(this,t),this.value=void 0,this.min=void 0,this.max=void 0,this.year=void 0,this.locale=void 0}onValueUpdate(e){const{year:t}=o(e);this.year=t}async guxFocus(e){e=e||h();const{year:t}=o(e);this.year=t,i((()=>{const t=this.root.shadowRoot.querySelector(`gux-month-list-item[value="${e}"]`);t&&t.focus()}))}async componentWillLoad(){this.i18n=await r(this.root,c),this.locale=n(this.root),this.year=this.value?o(this.value).year:o(h()).year}updateValue(e){this.value=e,s(this.root,"input"),s(this.root,"change")}isOutOfBounds(e){return this.max&&this.max<e||this.min&&this.min>e}onMonthClick(e){this.isOutOfBounds(e)||this.updateValue(e)}isCurrentMonth(e){return o(h()).year==this.year&&o(h()).month==e}getMonthAriaLabel(e){const{year:t,month:a}=o(e);return new Date(Number(t),Number(a)-1).toLocaleDateString(this.locale,{year:"numeric",month:"long"})}getYearLabel(e){return new Date(Number(e),5).toLocaleDateString(this.locale,{year:"numeric"})}isSelectedMonth(e){return e===this.value}isAriaSelectedMonth(e){return!!this.isSelectedMonth(e)&&"true"}changeYear(e){this.year=(parseInt(this.year)+e).toString()}isPreviousYearLessThanMinYear(e,t){return(parseInt(e)-1).toString()<(t&&o(t).year)}isNextYearGreaterThanMaxYear(e,t){return(parseInt(e)+1).toString()>(t&&o(t).year)}getMonthShortName(e,t){return new Date(Number(e),Number(t)-1).toLocaleDateString(this.locale,{month:"short"})}doFocusTrap(){this.previousYearElement.disabled||this.previousYearElement.focus(),this.nextYearElement.disabled||this.nextYearElement.focus(),this.monthListElement.focus()}renderHeader(){return t("div",{class:"gux-year-header"},t("button",{type:"button",class:"gux-year-change",onClick:()=>this.changeYear(-1),disabled:this.isPreviousYearLessThanMinYear(this.year,this.min),ref:e=>this.previousYearElement=e},t("gux-icon",{"icon-name":"chevron-small-left","screenreader-text":this.i18n("changeYear",{currentYear:parseInt(this.year),changeYear:parseInt(this.year)-1})})),t("div",null,this.getYearLabel(this.year)),t("button",{type:"button",class:"gux-year-change",onClick:()=>this.changeYear(1),disabled:this.isNextYearGreaterThanMaxYear(this.year,this.max),ref:e=>this.nextYearElement=e},t("gux-icon",{"icon-name":"chevron-small-right","screenreader-text":this.i18n("changeYear",{currentYear:parseInt(this.year),changeYear:parseInt(this.year)+1})})))}renderMonths(){const e=Array.from(new Array(12),((e,t)=>String(t+1).padStart(2,"0"))).map((e=>{const a=u(this.year,e);return t("gux-month-list-item",{class:{"gux-current-month":this.isCurrentMonth(e)},value:a,selected:this.isSelectedMonth(a),"aria-selected":this.isAriaSelectedMonth(a),"aria-label":this.getMonthAriaLabel(a),onClick:()=>this.onMonthClick(a),disabled:this.isOutOfBounds(a)},this.getMonthShortName(this.year,e))}));return t("gux-month-list",{tabIndex:1,ref:e=>this.monthListElement=e},e)}renderTrapFocusEl(){return t("span",{onFocus:()=>this.doFocusTrap(),tabindex:"0"})}render(){return t("div",{class:"gux-month-calendar"},this.renderHeader(),this.renderMonths(),this.renderTrapFocusEl())}static get delegatesFocus(){return!0}get root(){return a(this)}static get watchers(){return{value:["onValueUpdate"]}}};d.style=".gux-month-calendar{flex-wrap:wrap;width:var(--gse-ui-calendarMenu-width);height:var(--gse-ui-calendarMenu-height);box-shadow:var(--gse-ui-calendarMenu-boxShadow-x) var(--gse-ui-calendarMenu-boxShadow-y) var(--gse-ui-calendarMenu-boxShadow-blur) var(--gse-ui-calendarMenu-boxShadow-spread) var(--gse-ui-calendarMenu-boxShadow-color)}.gux-month-calendar .gux-current-month{font-family:var(--gse-ui-calendarMenu-month-currentText-fontFamily);font-size:var(--gse-ui-calendarMenu-month-currentText-fontSize);font-weight:var(--gse-ui-calendarMenu-month-currentText-fontWeight);line-height:var(--gse-ui-calendarMenu-month-currentText-lineHeight);color:var(--gse-ui-calendarMenu-month-default-foregroundColor)}.gux-month-calendar .gux-year-header{position:relative;display:flex;align-items:center;justify-content:space-between;height:var(--gse-ui-calendarMenu-month-single-header-height);padding:var(--gse-ui-calendarMenu-header-padding);font-family:var(--gse-ui-calendarMenu-day-headerText-fontFamily);font-size:var(--gse-ui-calendarMenu-day-headerText-fontSize);font-weight:var(--gse-ui-calendarMenu-day-headerText-fontWeight);line-height:var(--gse-ui-calendarMenu-day-headerText-lineHeight);color:var(--gse-ui-calendarMenu-header-foregroundColor);background-color:var(--gse-ui-calendarMenu-header-backgroundColor);border-radius:var(--gse-ui-calendarMenu-single-header-borderRadius)}.gux-month-calendar .gux-year-header button{padding:8px;color:inherit;cursor:pointer;background:none;border:none;outline:none}.gux-month-calendar .gux-year-header button:focus-visible{border-radius:calc(var(--gse-semantic-focusRing-cornerRadius) - var(--gse-semantic-focusRing-offset));outline:var(--gse-semantic-focusRing-width) var(--gse-semantic-focusRing-default-border-style) var(--gse-semantic-color-focus);outline-offset:var(--gse-semantic-focusRing-offset)}.gux-month-calendar .gux-year-header button.gux-year-change:disabled{cursor:default;opacity:var(--gse-ui-calendarMenu-disabled-opacity)}.gux-month-calendar .gux-year-header button gux-icon{width:var(--gse-ui-icon-size-sm);height:var(--gse-ui-icon-size-sm);pointer-events:none}";export{d as gux_month_calendar}
@@ -1 +1 @@
1
- import{r as e,c as t,h as g,H as i,g as l}from"./p-7d26b2e1.js";import{t as o}from"./p-605734cc.js";import{r as a}from"./p-cbcbd1bb.js";import{b as n}from"./p-deee079e.js";import"./p-8a133b9b.js";const s={defaultAriaLabel:"Toggle Switch",toggleIsLoading:"Toggle is loading",toggleIsFinishedLoading:"Toggle is finished loading"},r=class{constructor(g){e(this,g),this.check=t(this,"check",7),this.labelId=a("gux-toggle-label"),this.errorId=a("gux-toggle-error"),this.checked=!1,this.disabled=!1,this.loading=!1,this.checkedLabel=void 0,this.uncheckedLabel=void 0,this.labelPosition="right",this.errorMessage=void 0,this.displayInline=!1}handleLoading(e){this.announceElement.guxAnnounce(this.i18n(e?"toggleIsLoading":"toggleIsFinishedLoading"))}onClick(){this.toggle()}onKeydown(e){switch(e.key){case"Enter":case" ":e.preventDefault(),this.toggle()}}toggle(){this.disabled||this.loading||this.check.emit(!this.checked).defaultPrevented||(this.checked=!this.checked)}getAriaLabel(){return this.root.getAttribute("aria-label")||this.root.title||this.i18n("defaultAriaLabel")}async componentWillLoad(){this.i18n=await n(this.root,s),o(this.root,{variant:this.checkedLabel||this.uncheckedLabel?"labled":"unlabled"})}renderLoading(){if(this.loading)return g("div",{class:"gux-toggle-label-loading"},g("gux-radial-loading",{context:"input"}))}renderLabel(){if(this.uncheckedLabel&&this.checkedLabel)return g("div",{class:"gux-toggle-label-and-error"},g("div",{class:"gux-toggle-label"},g("div",{class:"gux-toggle-label-text"},g("span",{class:"gux-toggle-label-text-inner"},g("span",{id:this.labelId},this.checked?this.checkedLabel:this.uncheckedLabel),this.renderLoading()),g("span",{class:"gux-toggle-label-text-inner gux-hidden"},this.checkedLabel),g("span",{class:"gux-toggle-label-text-inner gux-hidden"},this.uncheckedLabel))))}renderError(){if(this.errorMessage)return g("div",{id:this.errorId,class:"gux-toggle-error"},g("div",{class:"gux-toggle-error-container"},g("gux-icon",{"icon-name":"alert-warning-octogon",decorative:!0}),g("div",{class:"gux-toggle-error-message"},this.errorMessage)))}render(){return g(i,{class:{"gux-display-inline":this.displayInline}},g("div",{class:{"gux-toggle-container":!0,"gux-toggle-label-left":"left"===this.labelPosition,"gux-disabled":this.disabled||this.loading}},g("div",{class:"gux-toggle-input"},g("gux-toggle-slider",{checked:this.checked,disabled:this.disabled||this.loading,guxAriaLabel:this.getAriaLabel(),labelId:this.checkedLabel&&this.uncheckedLabel?this.labelId:"",errorId:this.errorMessage?this.errorId:""}),this.renderLabel()),this.renderError()),g("gux-announce-beta",{ref:e=>this.announceElement=e}))}static get delegatesFocus(){return!0}get root(){return l(this)}static get watchers(){return{loading:["handleLoading"]}}};r.style=':host{display:block;margin:2px;color:#2e394c;outline:none}:host(.gux-display-inline){display:inline-block}.gux-toggle-container{cursor:pointer}.gux-toggle-container.gux-disabled{pointer-events:none;cursor:default}.gux-toggle-container.gux-disabled .gux-toggle-input .gux-toggle-label .gux-toggle-label-text{opacity:0.5}.gux-toggle-container.gux-toggle-label-left .gux-toggle-input{flex-direction:row-reverse}.gux-toggle-container.gux-toggle-label-left .gux-toggle-input .gux-toggle-label .gux-toggle-label-text{place-items:end}.gux-toggle-container.gux-toggle-label-left .gux-toggle-error{float:right}.gux-toggle-container .gux-toggle-input{display:flex;flex-direction:row;flex-wrap:nowrap;align-content:stretch;align-items:flex-start;justify-content:flex-start}.gux-toggle-container .gux-toggle-input .gux-toggle-label{position:relative;display:inline-block;padding:0 4px}.gux-toggle-container .gux-toggle-input .gux-toggle-label .gux-toggle-label-text{display:grid;grid-template-areas:"inner-div";place-items:start}.gux-toggle-container .gux-toggle-input .gux-toggle-label .gux-toggle-label-text .gux-toggle-label-text-inner{position:relative;grid-area:inner-div}.gux-toggle-container .gux-toggle-input .gux-toggle-label .gux-toggle-label-text .gux-toggle-label-text-inner.gux-hidden{visibility:hidden}.gux-toggle-container .gux-toggle-input .gux-toggle-label .gux-toggle-label-loading{position:absolute;inset:0;display:flex;flex-direction:row;flex-wrap:nowrap;align-content:stretch;align-items:center;justify-content:center}.gux-toggle-container .gux-toggle-error .gux-toggle-error-container{display:flex;flex-direction:row;flex-wrap:nowrap;align-content:stretch;align-items:flex-start;justify-content:flex-start;font-size:11px;color:#2e394c}.gux-toggle-container .gux-toggle-error .gux-toggle-error-container gux-icon{flex:0 1 auto;align-self:auto;order:0;width:16px;height:16px;margin:0 4px;color:#ea0b0b}.gux-toggle-container .gux-toggle-error .gux-toggle-error-container .gux-toggle-error-message{flex:0 1 auto;align-self:auto;order:0}';export{r as gux_toggle}
1
+ import{r as e,c as t,h as g,H as i,g as l}from"./p-ed724d66.js";import{t as o}from"./p-c57cd1d8.js";import{r as a}from"./p-3ea0d493.js";import{b as n}from"./p-52e27c60.js";import"./p-0962dd7a.js";const s={defaultAriaLabel:"Toggle Switch",toggleIsLoading:"Toggle is loading",toggleIsFinishedLoading:"Toggle is finished loading"},r=class{constructor(g){e(this,g),this.check=t(this,"check",7),this.labelId=a("gux-toggle-label"),this.errorId=a("gux-toggle-error"),this.checked=!1,this.disabled=!1,this.loading=!1,this.checkedLabel=void 0,this.uncheckedLabel=void 0,this.labelPosition="right",this.errorMessage=void 0,this.displayInline=!1}handleLoading(e){this.announceElement.guxAnnounce(this.i18n(e?"toggleIsLoading":"toggleIsFinishedLoading"))}onClick(){this.toggle()}onKeydown(e){switch(e.key){case"Enter":case" ":e.preventDefault(),this.toggle()}}toggle(){this.disabled||this.loading||this.check.emit(!this.checked).defaultPrevented||(this.checked=!this.checked)}getAriaLabel(){return this.root.getAttribute("aria-label")||this.root.title||this.i18n("defaultAriaLabel")}async componentWillLoad(){this.i18n=await n(this.root,s),o(this.root,{variant:this.checkedLabel||this.uncheckedLabel?"labled":"unlabled"})}renderLoading(){if(this.loading)return g("div",{class:"gux-toggle-label-loading"},g("gux-radial-loading",{context:"input"}))}renderLabel(){if(this.uncheckedLabel&&this.checkedLabel)return g("div",{class:"gux-toggle-label-and-error"},g("div",{class:"gux-toggle-label"},g("div",{class:"gux-toggle-label-text"},g("span",{class:"gux-toggle-label-text-inner"},g("span",{id:this.labelId},this.checked?this.checkedLabel:this.uncheckedLabel),this.renderLoading()),g("span",{class:"gux-toggle-label-text-inner gux-hidden"},this.checkedLabel),g("span",{class:"gux-toggle-label-text-inner gux-hidden"},this.uncheckedLabel))))}renderError(){if(this.errorMessage)return g("div",{id:this.errorId,class:"gux-toggle-error"},g("div",{class:"gux-toggle-error-container"},g("gux-icon",{"icon-name":"alert-warning-octogon",decorative:!0}),g("div",{class:"gux-toggle-error-message"},this.errorMessage)))}render(){return g(i,{class:{"gux-display-inline":this.displayInline}},g("div",{class:{"gux-toggle-container":!0,"gux-toggle-label-left":"left"===this.labelPosition,"gux-disabled":this.disabled||this.loading}},g("div",{class:"gux-toggle-input"},g("gux-toggle-slider",{checked:this.checked,disabled:this.disabled||this.loading,guxAriaLabel:this.getAriaLabel(),labelId:this.checkedLabel&&this.uncheckedLabel?this.labelId:"",errorId:this.errorMessage?this.errorId:""}),this.renderLabel()),this.renderError()),g("gux-announce-beta",{ref:e=>this.announceElement=e}))}static get delegatesFocus(){return!0}get root(){return l(this)}static get watchers(){return{loading:["handleLoading"]}}};r.style=':host{display:block;margin:2px;color:#2e394c;outline:none}:host(.gux-display-inline){display:inline-block}.gux-toggle-container{cursor:pointer}.gux-toggle-container.gux-disabled{pointer-events:none;cursor:default}.gux-toggle-container.gux-disabled .gux-toggle-input .gux-toggle-label .gux-toggle-label-text{opacity:0.5}.gux-toggle-container.gux-toggle-label-left .gux-toggle-input{flex-direction:row-reverse}.gux-toggle-container.gux-toggle-label-left .gux-toggle-input .gux-toggle-label .gux-toggle-label-text{place-items:end}.gux-toggle-container.gux-toggle-label-left .gux-toggle-error{float:right}.gux-toggle-container .gux-toggle-input{display:flex;flex-direction:row;flex-wrap:nowrap;align-content:stretch;align-items:flex-start;justify-content:flex-start}.gux-toggle-container .gux-toggle-input .gux-toggle-label{position:relative;display:inline-block;padding:0 4px}.gux-toggle-container .gux-toggle-input .gux-toggle-label .gux-toggle-label-text{display:grid;grid-template-areas:"inner-div";place-items:start}.gux-toggle-container .gux-toggle-input .gux-toggle-label .gux-toggle-label-text .gux-toggle-label-text-inner{position:relative;grid-area:inner-div}.gux-toggle-container .gux-toggle-input .gux-toggle-label .gux-toggle-label-text .gux-toggle-label-text-inner.gux-hidden{visibility:hidden}.gux-toggle-container .gux-toggle-input .gux-toggle-label .gux-toggle-label-loading{position:absolute;inset:0;display:flex;flex-direction:row;flex-wrap:nowrap;align-content:stretch;align-items:center;justify-content:center}.gux-toggle-container .gux-toggle-error .gux-toggle-error-container{display:flex;flex-direction:row;flex-wrap:nowrap;align-content:stretch;align-items:flex-start;justify-content:flex-start;font-size:11px;color:#2e394c}.gux-toggle-container .gux-toggle-error .gux-toggle-error-container gux-icon{flex:0 1 auto;align-self:auto;order:0;width:16px;height:16px;margin:0 4px;color:#ea0b0b}.gux-toggle-container .gux-toggle-error .gux-toggle-error-container .gux-toggle-error-message{flex:0 1 auto;align-self:auto;order:0}';export{r as gux_toggle}
@@ -1 +1 @@
1
- import{g as n}from"./p-7d26b2e1.js";function t(t){return(i,c)=>{const{connectedCallback:e,disconnectedCallback:o}=i,s=new Map;i.connectedCallback=function(){const i=new MutationObserver(this[c].bind(this));return function(t,i,c,e){t.has(i)&&t.get(i).disconnect(),t.set(i,c),c.observe(n(i),e)}(s,this,i,t),e&&e.call(this)},i.disconnectedCallback=function(){return function(n,t){n.has(t)&&n.get(t).disconnect(),n.delete(t)}(s,this),o&&o.call(this)}}}export{t as O}
1
+ import{g as n}from"./p-ed724d66.js";function t(t){return(i,c)=>{const{connectedCallback:e,disconnectedCallback:o}=i,s=new Map;i.connectedCallback=function(){const i=new MutationObserver(this[c].bind(this));return function(t,i,c,e){t.has(i)&&t.get(i).disconnect(),t.set(i,c),c.observe(n(i),e)}(s,this,i,t),e&&e.call(this)},i.disconnectedCallback=function(){return function(n,t){n.has(t)&&n.get(t).disconnect(),n.delete(t)}(s,this),o&&o.call(this)}}}export{t as O}
@@ -1 +1 @@
1
- import{r as t,c as e,f as i,h as o,g as r}from"./p-7d26b2e1.js";import{O as n}from"./p-9d18d475.js";import{b as s}from"./p-deee079e.js";import{s as l}from"./p-d176c2ae.js";import{b as u}from"./p-091f51f6.js";import{o as a}from"./p-3f5341ea.js";import{t as d}from"./p-605734cc.js";import{g as c}from"./p-55cf6d81.js";import{O as g}from"./p-f34ce7dc.js";import"./p-8a133b9b.js";const h={textInputResults:"Type to filter dropdown results",noSelection:"Select...",dropdown:"Dropdown",numberSelected:"{numberSelected} selected",pressEnterToCreate:"Press Enter to create new option, {textInputValue}"};var f=function(t,e,i,o){var r,n=arguments.length,s=n<3?e:null===o?o=Object.getOwnPropertyDescriptor(e,i):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(t,e,i,o);else for(var l=t.length-1;l>=0;l--)(r=t[l])&&(s=(n<3?r(s):n>3?r(e,i,s):r(e,i))||s);return n>3&&s&&Object.defineProperty(e,i,s),s};const p=class{constructor(i){t(this,i),this.guxcreateoption=e(this,"guxcreateoption",7),this.guxexpanded=e(this,"guxexpanded",7),this.guxcollapsed=e(this,"guxcollapsed",7),this.guxfilter=e(this,"guxfilter",7),this.value=void 0,this.disabled=!1,this.required=!1,this.loading=!1,this.placeholder=void 0,this.filterType="none",this.hasError=!1,this.hasCreate=!1,this.expanded=!1,this.textInput=""}onMutation(){var t;this.listboxElement||(this.listboxElement=null===(t=this.root)||void 0===t?void 0:t.querySelector("gux-listbox-multi"),this.applyListboxEventListeners())}onInternalExpanded(t){t.stopPropagation(),this.guxexpanded.emit()}onInternalCollapsed(t){t.stopPropagation(),this.guxcollapsed.emit()}focusSelectedItemAfterRender(t){t&&this.listboxElement&&u((()=>{this.hasTextInput()?this.textInputElement.focus():this.listboxElement.focus()})),t||(this.textInput="")}watchValue(t){this.validateValue(t,this.listboxElement)}handleFilter(t){this.guxfilter.emit(t)}getSelectedValues(){var t;return Promise.resolve((null===(t=this.value)||void 0===t?void 0:t.split(","))||[])}onKeydown(t){switch(t.key){case"Escape":return this.hasTextInput()&&document.activeElement===this.listboxElement?this.textInputElement.focus():void this.collapseListbox("focusFieldButton");case"Tab":return this.shiftTabFromFilterListbox(t)?(t.preventDefault(),this.textInputElement.focus()):this.shiftTabFromExpandedFilterInput(t)?(t.preventDefault(),this.collapseListbox("focusFieldButton")):void this.collapseListbox("noFocusChange");case"ArrowDown":return void(this.activeElementNotListbox()&&(t.preventDefault(),this.expanded=!0));case"Enter":this.canCreateNewOption()&&this.isActiveElement()&&this.emitCreateOption()}}onInternallistboxoptionsupdated(t){t.stopPropagation(),i(this.root)}onClearselected(t){t.stopPropagation(),this.updateValue(""),this.listboxElement&&(this.listboxElement.value=void 0),this.validateValue(this.value,this.listboxElement),this.fieldButtonElement.focus()}onCreatenewoption(t){t.stopPropagation(),this.emitCreateOption()}onBlur(t){this.stopPropagationOfInternalFocusEvents(t)}onFocus(t){this.stopPropagationOfInternalFocusEvents(t)}onFocusout(t){this.stopPropagationOfInternalFocusEvents(t)}onFocusin(t){this.stopPropagationOfInternalFocusEvents(t)}onClickOutside(){this.collapseListbox("noFocusChange")}connectedCallback(){var t;this.listboxElement=null===(t=this.root)||void 0===t?void 0:t.querySelector("gux-listbox-multi"),this.listboxElement&&(this.validateValue(this.value,this.listboxElement),this.hasCreate=!!this.root.querySelector("gux-create-option"))}async componentWillLoad(){d(this.root),this.i18n=await s(this.root,h),a(this.root,(()=>{i(this.root)}))}componentDidLoad(){this.applyListboxEventListeners()}componentWillRender(){this.listboxElement&&(this.validateValue(this.value,this.listboxElement),this.listboxElement.loading=this.loading,this.listboxElement.filterType=this.filterType,this.listboxElement.textInput=this.textInput)}validateValue(t,e){void 0!==t?this.getOptionElementByValue(t)?e.value=t:this.value=void 0:e&&(e.value=t)}hasTextInput(){return this.isFilterable()||this.hasCreate}applyListboxEventListeners(){var t,e;null===(t=this.listboxElement)||void 0===t||t.addEventListener("input",(t=>{t.stopPropagation(),this.updateValue(t.target.value)})),null===(e=this.listboxElement)||void 0===e||e.addEventListener("change",(t=>{t.stopPropagation()}))}isFilterable(){return"custom"===this.filterType||"starts-with"===this.filterType}stopPropagationOfInternalFocusEvents(t){if(this.root.contains(t.relatedTarget))return t.stopImmediatePropagation()}getOptionElementByValue(t){const e=Array.from(this.root.querySelectorAll("gux-option-multi")),i=t?t.split(","):void 0;if(i)return e.filter((t=>i.includes(t.value)))}fieldButtonClick(){this.expanded=!this.expanded}fieldButtonInputClick(){this.expanded||(this.expanded=!this.expanded)}filterInput(t){t.stopPropagation(),this.textInput=this.textInputElement.value}shiftTabFromExpandedFilterInput(t){return t.shiftKey&&this.hasTextInput()&&this.expanded&&!(document.activeElement===this.listboxElement)}shiftTabFromFilterListbox(t){return t.shiftKey&&this.hasTextInput()&&document.activeElement===this.listboxElement}emitCreateOption(){this.guxcreateoption.emit(this.textInput),this.textInput="",this.textInputElement.value=""}canCreateNewOption(){return this.hasCreate&&this.textInput&&!this.listboxElement.hasExactMatch}isActiveElement(){return document.activeElement===this.root}activeElementNotListbox(){return document.activeElement!==this.listboxElement}filterKeydown(t){if("ArrowDown"===t.key)return t.stopImmediatePropagation(),void this.listboxElement.focus()}filterKeyup(t){" "!==t.key||t.preventDefault()}collapseListbox(t){this.expanded&&(this.expanded=!1),"focusFieldButton"===t&&this.fieldButtonElement.focus()}updateValue(t){this.value!==t&&(this.value=t,l(this.root,"input"),l(this.root,"change"))}getTypeaheadText(t){var e;const i=t.length;if(i>0&&!this.loading){const o=c(this.listboxElement,t);if(o&&"custom"!==this.filterType){const t=null===(e=o.querySelector("[gux-slot-container]"))||void 0===e?void 0:e.textContent;return null==t?void 0:t.substring(i)}return""}}renderTargetDisplay(){return o("div",{class:"gux-placeholder"},this.placeholder||this.i18n("noSelection"),this.getSrSelectedText())}getSrSelectedText(){const t=this.getOptionElementByValue(this.value);if(null==t?void 0:t.length)return o("span",{class:"gux-sr-only"},this.i18n("numberSelected",{numberSelected:t.length.toString()}))}getInputAriaLabel(){return this.canCreateNewOption()&&this.isActiveElement()?this.i18n("pressEnterToCreate",{textInputValue:this.textInput}):this.i18n("textInputResults")}renderTag(){const t=this.getOptionElementByValue(this.value);if(null==t?void 0:t.length)return o("gux-dropdown-multi-tag",{disabled:this.disabled,"number-selected":t.length})}renderFilterInputField(){if(this.expanded&&this.hasTextInput())return o("div",{class:"gux-field gux-input-field"},o("div",{class:"gux-field-content"},o("div",{class:"gux-filter"},o("div",{class:"gux-filter-display"},o("span",{class:"gux-filter-text"},this.textInput),o("span",{class:"gux-filter-suggestion"},this.getTypeaheadText(this.textInput))),o("div",{class:"input-and-dropdown-button"},o("input",{onClick:this.fieldButtonInputClick.bind(this),placeholder:this.placeholder||this.i18n("noSelection"),class:"gux-filter-input",type:"text","aria-label":this.getInputAriaLabel(),ref:t=>this.textInputElement=t,onInput:this.filterInput.bind(this),onKeyDown:this.filterKeydown.bind(this),onKeyUp:this.filterKeyup.bind(this)})))))}renderPopup(){return o("div",{slot:"popup",class:"gux-listbox-container"},o("slot",null))}renderTarget(){return o("div",{class:{"gux-target-container":!0,"gux-target-container-expanded":this.expanded&&this.hasTextInput(),"gux-target-container-collapsed":!(this.expanded&&this.hasTextInput()),"gux-error":this.hasError,"gux-disabled":this.disabled},slot:"target"},this.renderFilterInputField(),o("button",{type:"button",class:"gux-field gux-field-button",disabled:this.disabled,onClick:this.fieldButtonClick.bind(this),ref:t=>this.fieldButtonElement=t,"aria-haspopup":"listbox","aria-expanded":this.expanded.toString()},this.renderTargetContent(),this.renderTag(),this.renderRadialLoading(),o("gux-icon",{class:{"gux-expand-icon":!0},"screenreader-text":this.i18n("dropdown"),iconName:"chevron-small-down"})))}renderTargetContent(){if(!this.expanded||!this.hasTextInput())return o("div",{class:"gux-field-content"},this.renderTargetDisplay())}renderRadialLoading(){if(this.loading&&!this.expanded)return o("gux-radial-loading",{context:"input"})}render(){return[o("div",{class:"gux-dropdown-container"},o("gux-popup",{expanded:this.expanded&&(!this.loading||this.isFilterable()),disabled:this.disabled},this.renderTarget(),this.renderPopup()))]}static get delegatesFocus(){return!0}get root(){return r(this)}static get watchers(){return{expanded:["focusSelectedItemAfterRender"],value:["watchValue"],textInput:["handleFilter"]}}};f([g({childList:!0,subtree:!0})],p.prototype,"onMutation",null),f([n({triggerEvents:"mousedown"})],p.prototype,"onClickOutside",null),p.style=".gux-focus-ring-focused:focus{outline-width:var(--gse-semantic-focusRing-default-border-width);outline-style:var(--gse-semantic-focusRing-default-border-style);outline-color:var(--gse-semantic-focusRing-default-border-color);outline-offset:var(--gse-semantic-focusRing-offset)}.gux-focus-ring-focused-within:focus-within{outline-width:var(--gse-semantic-focusRing-default-border-width);outline-style:var(--gse-semantic-focusRing-default-border-style);outline-color:var(--gse-semantic-focusRing-default-border-color);outline-offset:var(--gse-semantic-focusRing-offset)}.gux-focus-ring-focused-visible:focus-visible{outline-width:var(--gse-semantic-focusRing-default-border-width);outline-style:var(--gse-semantic-focusRing-default-border-style);outline-color:var(--gse-semantic-focusRing-default-border-color);outline-offset:var(--gse-semantic-focusRing-offset)}.gux-focus-ring-small-focused:focus{outline-width:var(--gse-semantic-focusRing-small-border-width);outline-style:var(--gse-semantic-focusRing-small-border-style);outline-color:var(--gse-semantic-focusRing-small-border-color)}.gux-focus-ring-small-focused-within:focus-within{outline-width:var(--gse-semantic-focusRing-small-border-width);outline-style:var(--gse-semantic-focusRing-small-border-style);outline-color:var(--gse-semantic-focusRing-small-border-color)}.gux-focus-ring-small-focused-visible:focus-visible{outline-width:var(--gse-semantic-focusRing-small-border-width);outline-style:var(--gse-semantic-focusRing-small-border-style);outline-color:var(--gse-semantic-focusRing-small-border-color)}:host{color:var(--gse-ui-formControl-input-populatedColor);box-sizing:border-box}.gux-dropdown-container{position:relative}.gux-error.gux-target-container-collapsed .gux-field-button,.gux-error.gux-target-container-expanded{border:var(--gse-ui-formControl-input-error-border-width) var(--gse-ui-formControl-input-error-border-style) var(--gse-ui-formControl-input-error-border-color)}.gux-disabled.gux-target-container-collapsed .gux-field-button,.gux-disabled.gux-target-container-expanded{border:var(--gse-ui-formControl-input-disabled-border-width) var(--gse-ui-formControl-input-disabled-border-style) var(--gse-ui-formControl-input-disabled-border-color)}.gux-field,.gux-target-container-expanded{all:unset;box-sizing:border-box;display:flex;flex-direction:row;flex-wrap:nowrap;align-content:stretch;align-items:center;justify-content:center;width:100%;height:var(--gse-ui-formControl-input-textfield-height);font-family:var(--gse-ui-formControl-input-contentText-fontFamily);font-size:var(--gse-ui-formControl-input-contentText-fontSize);line-height:var(--gse-ui-formControl-input-contentText-lineHeight);font-weight:var(--gse-ui-formControl-input-contentText-fontWeight);cursor:pointer;background-color:var(--gse-ui-formControl-input-backgroundColor)}.gux-target-container-expanded,.gux-target-container-collapsed .gux-field{padding:var(--gse-ui-formControl-input-padding)}.gux-target-container-collapsed .gux-field-button:hover,.gux-target-container-expanded:hover{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-field.gux-input-field{height:calc(var(--gse-ui-formControl-input-textfield-height) - var(--gse-ui-formControl-input-default-border-width) * 2)}.gux-field .gux-field-content{position:relative;display:flex;flex:1 1 0;flex-direction:row;flex-wrap:nowrap;align-content:stretch;align-items:flex-start;justify-content:flex-start;min-width:0;height:60%}.gux-field .gux-field-content .gux-filter,.gux-field .gux-field-content .gux-selected-option,.gux-field .gux-field-content .gux-placeholder{flex:1 1 auto;align-self:auto;order:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.gux-field .gux-field-content .gux-filter .gux-sr-only:not(:focus):not(:active),.gux-field .gux-field-content .gux-selected-option .gux-sr-only:not(:focus):not(:active),.gux-field .gux-field-content .gux-placeholder .gux-sr-only:not(:focus):not(:active){position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);clip-path:inset(50%);white-space:nowrap}.gux-field .gux-field-content .gux-filter{position:relative;height:100%;padding-left:0}.gux-field .gux-field-content .gux-filter .gux-filter-input{all:unset;width:100%;color:transparent;caret-color:var(--gse-ui-formControl-input-populatedColor)}.gux-field .gux-field-content .gux-filter .gux-filter-display{white-space:pre}.gux-field .gux-field-content .gux-filter .gux-filter-display .gux-filter-text{color:var(--gse-ui-formControl-input-populatedColor)}.gux-field .gux-field-content .gux-filter .gux-filter-display .gux-filter-suggestion{opacity:50%}.gux-field .gux-field-content .gux-filter .gux-filter-input,.gux-field .gux-field-content .gux-filter .gux-filter-display{position:absolute}.gux-field .gux-field-content .gux-placeholder{color:var(--gse-ui-formControl-input-placeholderColor)}.gux-field .gux-expand-icon{flex:0 0 auto;align-self:auto;order:0;width:var(--gse-ui-formControl-input-inputIcon-size);height:var(--gse-ui-formControl-input-inputIcon-size);padding-left:var(--gse-ui-dropdown-gap);color:var(--gse-ui-formControl-input-inputIcon-iconEndColor)}.gux-target-container-expanded{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-input-borderRadius)}.gux-target-container-expanded:focus-visible,.gux-target-container-expanded:focus-within{outline-width:var(--gse-semantic-focusRing-default-border-width);outline-style:var(--gse-semantic-focusRing-default-border-style);outline-color:var(--gse-semantic-focusRing-default-border-color);outline-offset:var(--gse-semantic-focusRing-offset)}.gux-target-container-expanded .gux-filter-input{background-color:inherit;border:none}.gux-target-container-expanded .gux-filter-input:focus{border:none;outline:none}.gux-target-container-expanded .gux-field-button{width:auto;height:calc(var(--gse-ui-formControl-input-textfield-height) - var(--gse-ui-formControl-input-default-border-width) * 2);margin:0;background:inherit;border:none;outline:none;box-shadow:none}.gux-target-container-expanded .gux-field-button:focus{outline:none}.gux-target-container-collapsed .gux-field-button{border: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-target-container-collapsed .gux-field-button:focus-visible,.gux-target-container-collapsed .gux-field-button:focus-within{outline-width:var(--gse-semantic-focusRing-default-border-width);outline-style:var(--gse-semantic-focusRing-default-border-style);outline-color:var(--gse-semantic-focusRing-default-border-color);outline-offset:var(--gse-semantic-focusRing-offset)}.gux-listbox-container{box-sizing:border-box;margin:0}";export{p as gux_dropdown_multi}
1
+ import{r as t,c as e,f as i,h as o,g as r}from"./p-ed724d66.js";import{O as n}from"./p-8c362857.js";import{b as s}from"./p-52e27c60.js";import{s as u}from"./p-373c5d93.js";import{b as l}from"./p-ffaadf62.js";import{o as a}from"./p-16f3da0d.js";import{t as d}from"./p-c57cd1d8.js";import{g as h}from"./p-71e00140.js";import{O as g}from"./p-8801741a.js";import"./p-0962dd7a.js";const c={textInputResults:"Type to filter dropdown results",noSelection:"Select...",dropdown:"Dropdown",numberSelected:"{numberSelected} selected",pressEnterToCreate:"Press Enter to create new option, {textInputValue}"};var f=function(t,e,i,o){var r,n=arguments.length,s=n<3?e:null===o?o=Object.getOwnPropertyDescriptor(e,i):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(t,e,i,o);else for(var u=t.length-1;u>=0;u--)(r=t[u])&&(s=(n<3?r(s):n>3?r(e,i,s):r(e,i))||s);return n>3&&s&&Object.defineProperty(e,i,s),s};const p=class{constructor(i){t(this,i),this.guxcreateoption=e(this,"guxcreateoption",7),this.guxexpanded=e(this,"guxexpanded",7),this.guxcollapsed=e(this,"guxcollapsed",7),this.guxfilter=e(this,"guxfilter",7),this.value=void 0,this.disabled=!1,this.required=!1,this.loading=!1,this.placeholder=void 0,this.filterType="none",this.hasError=!1,this.hasCreate=!1,this.expanded=!1,this.textInput=""}onMutation(){var t;this.listboxElement||(this.listboxElement=null===(t=this.root)||void 0===t?void 0:t.querySelector("gux-listbox-multi"),this.applyListboxEventListeners())}onInternalExpanded(t){t.stopPropagation(),this.guxexpanded.emit()}onInternalCollapsed(t){t.stopPropagation(),this.guxcollapsed.emit()}focusSelectedItemAfterRender(t){t&&this.listboxElement&&l((()=>{this.hasTextInput()?this.textInputElement.focus():this.listboxElement.focus()})),t||(this.textInput="")}watchValue(t){this.validateValue(t,this.listboxElement)}handleFilter(t){this.guxfilter.emit(t)}getSelectedValues(){var t;return Promise.resolve((null===(t=this.value)||void 0===t?void 0:t.split(","))||[])}onKeydown(t){switch(t.key){case"Escape":return this.hasTextInput()&&document.activeElement===this.listboxElement?this.textInputElement.focus():void this.collapseListbox("focusFieldButton");case"Tab":return this.shiftTabFromFilterListbox(t)?(t.preventDefault(),this.textInputElement.focus()):this.shiftTabFromExpandedFilterInput(t)?(t.preventDefault(),this.collapseListbox("focusFieldButton")):void this.collapseListbox("noFocusChange");case"ArrowDown":return void(this.activeElementNotListbox()&&(t.preventDefault(),this.expanded=!0));case"Enter":this.canCreateNewOption()&&this.isActiveElement()&&this.emitCreateOption()}}onInternallistboxoptionsupdated(t){t.stopPropagation(),i(this.root)}onClearselected(t){t.stopPropagation(),this.updateValue(""),this.listboxElement&&(this.listboxElement.value=void 0),this.validateValue(this.value,this.listboxElement),this.fieldButtonElement.focus()}onCreatenewoption(t){t.stopPropagation(),this.emitCreateOption()}onBlur(t){this.stopPropagationOfInternalFocusEvents(t)}onFocus(t){this.stopPropagationOfInternalFocusEvents(t)}onFocusout(t){this.stopPropagationOfInternalFocusEvents(t)}onFocusin(t){this.stopPropagationOfInternalFocusEvents(t)}onClickOutside(){this.collapseListbox("noFocusChange")}connectedCallback(){var t;this.listboxElement=null===(t=this.root)||void 0===t?void 0:t.querySelector("gux-listbox-multi"),this.listboxElement&&(this.validateValue(this.value,this.listboxElement),this.hasCreate=!!this.root.querySelector("gux-create-option"))}async componentWillLoad(){d(this.root),this.i18n=await s(this.root,c),a(this.root,(()=>{i(this.root)}))}componentDidLoad(){this.applyListboxEventListeners()}componentWillRender(){this.listboxElement&&(this.validateValue(this.value,this.listboxElement),this.listboxElement.loading=this.loading,this.listboxElement.filterType=this.filterType,this.listboxElement.textInput=this.textInput)}validateValue(t,e){void 0!==t?this.getOptionElementByValue(t)?e.value=t:this.value=void 0:e&&(e.value=t)}hasTextInput(){return this.isFilterable()||this.hasCreate}applyListboxEventListeners(){var t,e;null===(t=this.listboxElement)||void 0===t||t.addEventListener("input",(t=>{t.stopPropagation(),this.updateValue(t.target.value)})),null===(e=this.listboxElement)||void 0===e||e.addEventListener("change",(t=>{t.stopPropagation()}))}isFilterable(){return"custom"===this.filterType||"starts-with"===this.filterType}stopPropagationOfInternalFocusEvents(t){if(this.root.contains(t.relatedTarget))return t.stopImmediatePropagation()}getOptionElementByValue(t){const e=Array.from(this.root.querySelectorAll("gux-option-multi")),i=t?t.split(","):void 0;if(i)return e.filter((t=>i.includes(t.value)))}fieldButtonClick(){this.expanded=!this.expanded}fieldButtonInputClick(){this.expanded||(this.expanded=!this.expanded)}filterInput(t){t.stopPropagation(),this.textInput=this.textInputElement.value}shiftTabFromExpandedFilterInput(t){return t.shiftKey&&this.hasTextInput()&&this.expanded&&!(document.activeElement===this.listboxElement)}shiftTabFromFilterListbox(t){return t.shiftKey&&this.hasTextInput()&&document.activeElement===this.listboxElement}emitCreateOption(){this.guxcreateoption.emit(this.textInput),this.textInput="",this.textInputElement.value=""}canCreateNewOption(){return this.hasCreate&&this.textInput&&!this.listboxElement.hasExactMatch}isActiveElement(){return document.activeElement===this.root}activeElementNotListbox(){return document.activeElement!==this.listboxElement}filterKeydown(t){if("ArrowDown"===t.key)return t.stopImmediatePropagation(),void this.listboxElement.focus()}filterKeyup(t){" "!==t.key||t.preventDefault()}collapseListbox(t){this.expanded&&(this.expanded=!1),"focusFieldButton"===t&&this.fieldButtonElement.focus()}updateValue(t){this.value!==t&&(this.value=t,u(this.root,"input"),u(this.root,"change"))}getTypeaheadText(t){var e;const i=t.length;if(i>0&&!this.loading){const o=h(this.listboxElement,t);if(o&&"custom"!==this.filterType){const t=null===(e=o.querySelector("[gux-slot-container]"))||void 0===e?void 0:e.textContent;return null==t?void 0:t.substring(i)}return""}}renderTargetDisplay(){return o("div",{class:"gux-placeholder"},this.placeholder||this.i18n("noSelection"),this.getSrSelectedText())}getSrSelectedText(){const t=this.getOptionElementByValue(this.value);if(null==t?void 0:t.length)return o("span",{class:"gux-sr-only"},this.i18n("numberSelected",{numberSelected:t.length.toString()}))}getInputAriaLabel(){return this.canCreateNewOption()&&this.isActiveElement()?this.i18n("pressEnterToCreate",{textInputValue:this.textInput}):this.i18n("textInputResults")}renderTag(){const t=this.getOptionElementByValue(this.value);if(null==t?void 0:t.length)return o("gux-dropdown-multi-tag",{disabled:this.disabled,"number-selected":t.length})}renderFilterInputField(){if(this.expanded&&this.hasTextInput())return o("div",{class:"gux-field gux-input-field"},o("div",{class:"gux-field-content"},o("div",{class:"gux-filter"},o("div",{class:"gux-filter-display"},o("span",{class:"gux-filter-text"},this.textInput),o("span",{class:"gux-filter-suggestion"},this.getTypeaheadText(this.textInput))),o("div",{class:"input-and-dropdown-button"},o("input",{onClick:this.fieldButtonInputClick.bind(this),placeholder:this.placeholder||this.i18n("noSelection"),class:"gux-filter-input",type:"text","aria-label":this.getInputAriaLabel(),ref:t=>this.textInputElement=t,onInput:this.filterInput.bind(this),onKeyDown:this.filterKeydown.bind(this),onKeyUp:this.filterKeyup.bind(this)})))))}renderPopup(){return o("div",{slot:"popup",class:"gux-listbox-container"},o("slot",null))}renderTarget(){return o("div",{class:{"gux-target-container":!0,"gux-target-container-expanded":this.expanded&&this.hasTextInput(),"gux-target-container-collapsed":!(this.expanded&&this.hasTextInput()),"gux-error":this.hasError,"gux-disabled":this.disabled},slot:"target"},this.renderFilterInputField(),o("button",{type:"button",class:"gux-field gux-field-button",disabled:this.disabled,onClick:this.fieldButtonClick.bind(this),ref:t=>this.fieldButtonElement=t,"aria-haspopup":"listbox","aria-expanded":this.expanded.toString()},this.renderTargetContent(),this.renderTag(),this.renderRadialLoading(),o("gux-icon",{class:{"gux-expand-icon":!0},"screenreader-text":this.i18n("dropdown"),iconName:"chevron-small-down"})))}renderTargetContent(){if(!this.expanded||!this.hasTextInput())return o("div",{class:"gux-field-content"},this.renderTargetDisplay())}renderRadialLoading(){if(this.loading&&!this.expanded)return o("gux-radial-loading",{context:"input"})}render(){return[o("div",{class:"gux-dropdown-container"},o("gux-popup",{expanded:this.expanded&&(!this.loading||this.isFilterable()),disabled:this.disabled},this.renderTarget(),this.renderPopup()))]}static get delegatesFocus(){return!0}get root(){return r(this)}static get watchers(){return{expanded:["focusSelectedItemAfterRender"],value:["watchValue"],textInput:["handleFilter"]}}};f([g({childList:!0,subtree:!0})],p.prototype,"onMutation",null),f([n({triggerEvents:"mousedown"})],p.prototype,"onClickOutside",null),p.style=":host{box-sizing:border-box;color:var(--gse-ui-formControl-input-populatedColor)}.gux-dropdown-container{position:relative}.gux-error.gux-target-container-collapsed .gux-field-button,.gux-error.gux-target-container-expanded{border:var(--gse-ui-formControl-input-error-border-width) var(--gse-ui-formControl-input-error-border-style) var(--gse-ui-formControl-input-error-border-color)}.gux-disabled.gux-target-container-collapsed .gux-field-button,.gux-disabled.gux-target-container-expanded{border:var(--gse-ui-formControl-input-disabled-border-width) var(--gse-ui-formControl-input-disabled-border-style) var(--gse-ui-formControl-input-disabled-border-color)}.gux-field,.gux-target-container-expanded{all:unset;box-sizing:border-box;display:flex;flex-direction:row;flex-wrap:nowrap;align-content:stretch;align-items:center;justify-content:center;width:100%;height:var(--gse-ui-formControl-input-textfield-height);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);cursor:pointer;background-color:var(--gse-ui-formControl-input-backgroundColor)}.gux-target-container-expanded,.gux-target-container-collapsed .gux-field{padding:var(--gse-ui-formControl-input-padding)}.gux-target-container-collapsed .gux-field-button:hover,.gux-target-container-expanded:hover{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-field.gux-input-field{height:calc(var(--gse-ui-formControl-input-textfield-height) - var(--gse-ui-formControl-input-default-border-width) * 2)}.gux-field .gux-field-content{position:relative;display:flex;flex:1 1 0;flex-direction:row;flex-wrap:nowrap;align-content:stretch;align-items:flex-start;justify-content:flex-start;min-width:0;height:60%}.gux-field .gux-field-content .gux-filter,.gux-field .gux-field-content .gux-selected-option,.gux-field .gux-field-content .gux-placeholder{flex:1 1 auto;align-self:auto;order:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.gux-field .gux-field-content .gux-filter .gux-sr-only:not(:focus):not(:active),.gux-field .gux-field-content .gux-selected-option .gux-sr-only:not(:focus):not(:active),.gux-field .gux-field-content .gux-placeholder .gux-sr-only:not(:focus):not(:active){position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);clip-path:inset(50%);white-space:nowrap}.gux-field .gux-field-content .gux-filter{position:relative;height:100%;padding-left:0}.gux-field .gux-field-content .gux-filter .gux-filter-input{all:unset;width:100%;color:transparent;caret-color:var(--gse-ui-formControl-input-populatedColor)}.gux-field .gux-field-content .gux-filter .gux-filter-display{white-space:pre}.gux-field .gux-field-content .gux-filter .gux-filter-display .gux-filter-text{color:var(--gse-ui-formControl-input-populatedColor)}.gux-field .gux-field-content .gux-filter .gux-filter-display .gux-filter-suggestion{opacity:0.5}.gux-field .gux-field-content .gux-filter .gux-filter-input,.gux-field .gux-field-content .gux-filter .gux-filter-display{position:absolute}.gux-field .gux-field-content .gux-placeholder{color:var(--gse-ui-formControl-input-placeholderColor)}.gux-field .gux-expand-icon{flex:0 0 auto;align-self:auto;order:0;width:var(--gse-ui-formControl-input-inputIcon-size);height:var(--gse-ui-formControl-input-inputIcon-size);padding-left:var(--gse-ui-dropdown-gap);color:var(--gse-ui-formControl-input-inputIcon-iconEndColor)}.gux-target-container-expanded{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-input-borderRadius)}.gux-target-container-expanded:focus-visible,.gux-target-container-expanded:focus-within{outline:var(--gse-semantic-focusRing-default-border-color) var(--gse-semantic-focusRing-default-border-style) var(--gse-semantic-focusRing-default-border-width);outline-offset:var(--gse-semantic-focusRing-offset)}.gux-target-container-expanded .gux-filter-input{background-color:inherit;border:none}.gux-target-container-expanded .gux-filter-input:focus{border:none;outline:none}.gux-target-container-expanded .gux-field-button{width:auto;height:calc(var(--gse-ui-formControl-input-textfield-height) - var(--gse-ui-formControl-input-default-border-width) * 2);margin:0;background:inherit;border:none;outline:none;box-shadow:none}.gux-target-container-expanded .gux-field-button:focus{outline:none}.gux-target-container-collapsed .gux-field-button{border: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-target-container-collapsed .gux-field-button:focus-visible,.gux-target-container-collapsed .gux-field-button:focus-within{outline:var(--gse-semantic-focusRing-default-border-color) var(--gse-semantic-focusRing-default-border-style) var(--gse-semantic-focusRing-default-border-width);outline-offset:var(--gse-semantic-focusRing-offset)}.gux-listbox-container{box-sizing:border-box;margin:0}";export{p as gux_dropdown_multi}
@@ -1 +1 @@
1
- import{g as t}from"./p-7d26b2e1.js";const n={triggerEvents:"click",exclude:""};function c(c=n){return(o,r)=>{const{connectedCallback:u,disconnectedCallback:s}=o;o.connectedCallback=function(){return function(t,c,o,r=n){const u=function(t){if(t.exclude)try{return Array.from(document.querySelectorAll(t.exclude))}catch(n){console.warn(`@OnClickOutside: Exclude: '${t.exclude}' will not be evaluated. Check your exclude selector syntax.`,n)}}(r);i(r).forEach((n=>{window.addEventListener(n,(n=>{e(n,t,c,o,u)}),!1)}))}(this,t(this),this[r],c),u&&u.call(this)},o.disconnectedCallback=function(){return function(t,c,o,r=n){i(r).forEach((n=>{window.removeEventListener(n,(n=>{e(n,t,c,o)}),!1)}))}(this,t(this),this[r],c),s&&s.call(this)}}}function e(t,n,c,e,i){const o=t.composedPath();o.includes(c)||function(t,n){return!(!t||!n)&&n.some((n=>t.includes(n)))}(o,i)||!c.isConnected||e.call(n,t)}function i(t){return t.triggerEvents?t.triggerEvents.split(",").map((t=>t.trim())):["click"]}export{c as O}
1
+ import{g as t}from"./p-ed724d66.js";const n={triggerEvents:"click",exclude:""};function c(c=n){return(o,r)=>{const{connectedCallback:u,disconnectedCallback:s}=o;o.connectedCallback=function(){return function(t,c,o,r=n){const u=function(t){if(t.exclude)try{return Array.from(document.querySelectorAll(t.exclude))}catch(n){console.warn(`@OnClickOutside: Exclude: '${t.exclude}' will not be evaluated. Check your exclude selector syntax.`,n)}}(r);i(r).forEach((n=>{window.addEventListener(n,(n=>{e(n,t,c,o,u)}),!1)}))}(this,t(this),this[r],c),u&&u.call(this)},o.disconnectedCallback=function(){return function(t,c,o,r=n){i(r).forEach((n=>{window.removeEventListener(n,(n=>{e(n,t,c,o)}),!1)}))}(this,t(this),this[r],c),s&&s.call(this)}}}function e(t,n,c,e,i){const o=t.composedPath();o.includes(c)||function(t,n){return!(!t||!n)&&n.some((n=>t.includes(n)))}(o,i)||!c.isConnected||e.call(n,t)}function i(t){return t.triggerEvents?t.triggerEvents.split(",").map((t=>t.trim())):["click"]}export{c as O}
@@ -0,0 +1 @@
1
+ import{r as e,h as t,g as r}from"./p-ed724d66.js";import{b as i}from"./p-52e27c60.js";import{c as o,o as s}from"./p-16f3da0d.js";import{O as l}from"./p-8801741a.js";import{o as n}from"./p-4e030b49.js";import{h as a}from"./p-324b23f3.js";import{G as h,a as f,s as d,c as g,b as u}from"./p-a3bc3236.js";import{G as p,a as m}from"./p-fd5e59f5.js";import{g as x}from"./p-dd53013c.js";import{t as c}from"./p-c57cd1d8.js";import"./p-0962dd7a.js";import"./p-3ea0d493.js";import"./p-9d734bbd.js";import"./p-373c5d93.js";const b={required:"Required"};const v=class{constructor(t){e(this,t),this.labelPosition=void 0,this.computedLabelPosition="above",this.disabled=void 0,this.required=void 0,this.hasError=!1,this.hasHelp=!1}watchValue(e){const t=this.root.querySelector("gux-dropdown")||this.root.querySelector("gux-dropdown-multi");t&&(t.hasError=e)}onMutation(){this.hasError=a(this.root,"error"),this.hasHelp=a(this.root,"help")}async componentWillLoad(){this.getI18nValue=await i(this.root,b),this.setInput(),this.setLabel(),this.hasError=a(this.root,"error"),this.hasHelp=a(this.root,"help"),c(this.root,{variant:this.variant})}disconnectedCallback(){this.disabledObserver&&this.disabledObserver.disconnect(),this.requiredObserver&&this.requiredObserver.disconnect()}renderScreenReaderText(e,r=!1){if(r)return t("gux-screen-reader-beta",null,e)}render(){return t(m,{labelPosition:this.computedLabelPosition},t(p,{position:this.computedLabelPosition,required:this.required},t("slot",{name:"label",onSlotchange:()=>this.setLabel()}),this.renderScreenReaderText(this.getI18nValue("required"),this.required),this.renderScreenReaderText(x(this.root,"error"),this.hasError),this.renderScreenReaderText(x(this.root,"help"),this.hasHelp)),t("div",{class:"gux-input-and-error-container"},t("div",{class:{"gux-input":!0,"gux-input-error":this.hasError,"gux-disabled":this.disabled}},t("slot",null)),t(h,{show:this.hasError},t("slot",{name:"error"})),t(f,{show:!this.hasError&&this.hasHelp},t("slot",{name:"help"}))))}get variant(){return`dropdown-${this.labelPosition?this.labelPosition.toLowerCase():"none"}`}setInput(){this.dropdownElement=this.root.querySelector("gux-dropdown")||this.root.querySelector("gux-dropdown-multi"),this.listboxElement=this.root.querySelector("gux-listbox")||this.root.querySelector("gux-listbox-multi"),this.disabled=o(this.dropdownElement),this.required=this.dropdownElement.required,this.disabledObserver=s(this.dropdownElement,(e=>{this.disabled=e})),this.requiredObserver=n(this.dropdownElement,(e=>{this.required=e})),d(this.root,this.listboxElement,"label"),g(this.root,this.listboxElement,"error"),g(this.root,this.listboxElement,"help")}setLabel(){this.label=this.root.querySelector('label[slot="label"]'),this.computedLabelPosition=u(this.label,this.labelPosition)}get root(){return r(this)}static get watchers(){return{hasError:["watchValue"]}}};(function(e,t,r,i){var o,s=arguments.length,l=s<3?t:null===i?i=Object.getOwnPropertyDescriptor(t,r):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)l=Reflect.decorate(e,t,r,i);else for(var n=e.length-1;n>=0;n--)(o=e[n])&&(l=(s<3?o(l):s>3?o(t,r,l):o(t,r))||l);s>3&&l&&Object.defineProperty(t,r,l)})([l({childList:!0,subtree:!0})],v.prototype,"onMutation",null),v.style='.gux-form-field-fieldset-container{display:flex;min-width:0;padding:0;margin:0;border:none}.gux-form-field-error{display:none;flex-direction:row;flex-wrap:nowrap;align-content:stretch;align-items:flex-start;justify-content:flex-start;padding:var(--gse-ui-formControl-helper-errorPadding);font-family:var(--gse-ui-formControl-helper-helperText-fontFamily);font-size:var(--gse-ui-formControl-helper-helperText-fontSize);line-height:var(--gse-ui-formControl-helper-helperText-lineHeight);color:var(--gse-ui-formControl-helper-errorColor)}.gux-form-field-error.gux-show{display:flex}.gux-form-field-error gux-icon{flex:0 1 auto;align-self:auto;order:0;min-width:var(--gse-ui-icon-size-sm);min-height:var(--gse-ui-icon-size-sm);margin-right:var(--gse-ui-formControl-helper-gap);color:var(--gse-ui-formControl-helper-errorColor)}.gux-form-field-error .gux-message{flex:0 1 auto;align-self:auto;order:0}.gux-form-field-legend-label.gux-required::after{color:var(--gse-ui-formControl-label-indicator-requiredColor);content:" *"}.gux-form-field-legend-label.gux-beside{position:relative;top:8px;float:left;width:fit-content;min-width:45px;margin-right:var(--gse-ui-formControl-label-gap)}.gux-form-field-legend-label.gux-above{padding:var(--gse-ui-formControl-label-padding)}.gux-form-field-legend-label.gux-screenreader{position:absolute;top:auto;left:-10000px;width:1px;height:1px;overflow:hidden}.gux-form-field-help{display:none;flex-direction:row;flex-wrap:nowrap;align-content:stretch;align-items:flex-start;justify-content:flex-start;padding:var(--gse-ui-formControl-helper-padding);font-family:var(--gse-ui-formControl-helper-helperText-fontFamily);font-size:var(--gse-ui-formControl-helper-helperText-fontSize);line-height:var(--gse-ui-formControl-helper-helperText-lineHeight);color:var(--gse-ui-formControl-helper-defaultColor)}.gux-form-field-help.gux-show{display:flex}.gux-form-field-help .gux-message{flex:0 1 auto;align-self:none;order:0}:host{display:block}::slotted(label){font-family:var(--gse-ui-formControl-label-text-fontFamily);font-size:var(--gse-ui-formControl-label-text-fontSize);font-weight:var(--gse-ui-formControl-label-text-fontWeight);line-height:var(--gse-ui-formControl-label-text-lineHeight);color:var(--gse-ui-formControl-label-labelColor)}.gux-input-and-error-container{flex-grow:1}.gux-input-and-error-container .gux-input.gux-disabled{pointer-events:none;opacity:var(--gse-ui-formControl-input-disabled-opacity)}';export{v as gux_form_field_dropdown}
@@ -1 +1 @@
1
- import{r,h as e,g as i}from"./p-7d26b2e1.js";import{b as o}from"./p-deee079e.js";import{t as a}from"./p-605734cc.js";import"./p-8a133b9b.js";const t={info:"Information alert with message",success:"Success alert with message",warning:"Warning alert with message",error:"Error alert with message"},s=class{constructor(e){r(this,e),this.accent="info"}getIcon(r){switch(r){case"info":default:return"fa/circle-info-solid";case"success":return"fa/circle-check-solid";case"warning":return"fa/triangle-exclamation-solid";case"error":return"fa/hexagon-exclamation-solid"}}async componentWillLoad(){a(this.root,{variant:this.accent}),this.i18n=await o(this.root,t)}render(){return e("div",{class:{"gux-inline-alert":!0,[`gux-${this.accent}`]:!0}},e("gux-icon",{"icon-name":this.getIcon(this.accent),decorative:!0}),e("div",{class:"gux-message-wrapper"},e("div",{class:"gux-sr-only"},this.i18n(this.accent)),e("slot",null)))}get root(){return i(this)}};s.style=":host{display:block}.gux-inline-alert{display:flex;flex-direction:row;flex-wrap:nowrap;gap:var(--gse-ui-alert-gap);align-items:center;justify-content:flex-start;padding:var(--gse-ui-alert-padding);border:1px solid;border-radius:var(--gse-ui-alert-borderRadius)}.gux-inline-alert gux-icon{flex-shrink:0;align-self:flex-start;width:var(--gse-ui-icon-size-sm);height:var(--gse-ui-icon-size-sm);margin-top:1px}.gux-inline-alert gux-tooltip-title{white-space:nowrap}.gux-inline-alert .gux-message-wrapper{display:flex;justify-content:flex-start;align-items:center;gap:var(--gse-ui-alert-gap);font-family:var(--gse-ui-alert-text-fontFamily);font-size:var(--gse-ui-alert-text-fontSize);font-weight:var(--gse-ui-alert-text-fontWeight);line-height:var(--gse-ui-alert-text-lineHeight)}.gux-inline-alert .gux-sr-only:not(:focus):not(:active){position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);clip-path:inset(50%);white-space:nowrap}.gux-inline-alert.gux-info{color:var(--gse-ui-alert-info-foregroundColor);background-color:var(--gse-ui-alert-info-backgroundColor);border:var(--gse-ui-alert-info-border-width) var(--gse-ui-alert-info-border-style) var(--gse-ui-alert-info-border-color)}.gux-inline-alert.gux-info gux-icon{color:var(--gse-ui-alert-info-iconColor)}.gux-inline-alert.gux-error{color:var(--gse-ui-alert-error-foregroundColor);background-color:var(--gse-ui-alert-error-backgroundColor);border:var(--gse-ui-alert-error-border-width) var(--gse-ui-alert-error-border-style) var(--gse-ui-alert-error-border-color)}.gux-inline-alert.gux-error gux-icon{color:var(--gse-ui-alert-error-iconColor)}.gux-inline-alert.gux-warning{color:var(--gse-ui-alert-warning-foregroundColor);background-color:var(--gse-ui-alert-warning-backgroundColor);border:var(--gse-ui-alert-warning-border-width) var(--gse-ui-alert-warning-border-style) var(--gse-ui-alert-warning-border-color)}.gux-inline-alert.gux-warning gux-icon{color:var(--gse-ui-alert-warning-iconColor)}.gux-inline-alert.gux-success{color:var(--gse-ui-alert-success-foregroundColor);background-color:var(--gse-ui-alert-success-backgroundColor);border:var(--gse-ui-alert-success-border-width) var(--gse-ui-alert-success-border-style) var(--gse-ui-alert-success-border-color)}.gux-inline-alert.gux-success gux-icon{color:var(--gse-ui-alert-success-iconColor)}";export{s as gux_inline_alert}
1
+ import{r,h as e,g as i}from"./p-ed724d66.js";import{b as o}from"./p-52e27c60.js";import{t as a}from"./p-c57cd1d8.js";import"./p-0962dd7a.js";const t={info:"Information alert with message",success:"Success alert with message",warning:"Warning alert with message",error:"Error alert with message"},s=class{constructor(e){r(this,e),this.accent="info"}getIcon(r){switch(r){case"info":default:return"fa/circle-info-solid";case"success":return"fa/circle-check-solid";case"warning":return"fa/triangle-exclamation-solid";case"error":return"fa/hexagon-exclamation-solid"}}async componentWillLoad(){a(this.root,{variant:this.accent}),this.i18n=await o(this.root,t)}render(){return e("div",{class:{"gux-inline-alert":!0,[`gux-${this.accent}`]:!0}},e("gux-icon",{"icon-name":this.getIcon(this.accent),decorative:!0}),e("div",{class:"gux-message-wrapper"},e("div",{class:"gux-sr-only"},this.i18n(this.accent)),e("slot",null)))}get root(){return i(this)}};s.style=":host{display:block}.gux-inline-alert{display:flex;flex-direction:row;flex-wrap:nowrap;gap:var(--gse-ui-alert-gap);align-items:center;justify-content:flex-start;padding:var(--gse-ui-alert-padding);border:1px solid;border-radius:var(--gse-ui-alert-borderRadius)}.gux-inline-alert gux-icon{flex-shrink:0;align-self:flex-start;width:var(--gse-ui-icon-size-sm);height:var(--gse-ui-icon-size-sm);margin-top:1px}.gux-inline-alert gux-tooltip-title{white-space:nowrap}.gux-inline-alert .gux-message-wrapper{display:flex;gap:var(--gse-ui-alert-gap);align-items:center;justify-content:flex-start;font-family:var(--gse-ui-alert-text-fontFamily);font-size:var(--gse-ui-alert-text-fontSize);font-weight:var(--gse-ui-alert-text-fontWeight);line-height:var(--gse-ui-alert-text-lineHeight)}.gux-inline-alert .gux-sr-only:not(:focus):not(:active){position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);clip-path:inset(50%);white-space:nowrap}.gux-inline-alert.gux-info{color:var(--gse-ui-alert-info-foregroundColor);background-color:var(--gse-ui-alert-info-backgroundColor);border:var(--gse-ui-alert-info-border-width) var(--gse-ui-alert-info-border-style) var(--gse-ui-alert-info-border-color)}.gux-inline-alert.gux-info gux-icon{color:var(--gse-ui-alert-info-iconColor)}.gux-inline-alert.gux-error{color:var(--gse-ui-alert-error-foregroundColor);background-color:var(--gse-ui-alert-error-backgroundColor);border:var(--gse-ui-alert-error-border-width) var(--gse-ui-alert-error-border-style) var(--gse-ui-alert-error-border-color)}.gux-inline-alert.gux-error gux-icon{color:var(--gse-ui-alert-error-iconColor)}.gux-inline-alert.gux-warning{color:var(--gse-ui-alert-warning-foregroundColor);background-color:var(--gse-ui-alert-warning-backgroundColor);border:var(--gse-ui-alert-warning-border-width) var(--gse-ui-alert-warning-border-style) var(--gse-ui-alert-warning-border-color)}.gux-inline-alert.gux-warning gux-icon{color:var(--gse-ui-alert-warning-iconColor)}.gux-inline-alert.gux-success{color:var(--gse-ui-alert-success-foregroundColor);background-color:var(--gse-ui-alert-success-backgroundColor);border:var(--gse-ui-alert-success-border-width) var(--gse-ui-alert-success-border-style) var(--gse-ui-alert-success-border-color)}.gux-inline-alert.gux-success gux-icon{color:var(--gse-ui-alert-success-iconColor)}";export{s as gux_inline_alert}
@@ -0,0 +1 @@
1
+ import{r as o,h as r,g as e}from"./p-ed724d66.js";import{c as t,o as i}from"./p-16f3da0d.js";import{O as n}from"./p-8801741a.js";import{o as l}from"./p-4e030b49.js";import{p as s}from"./p-28f55159.js";import{h as a}from"./p-324b23f3.js";import{G as u,a as f,g,v as p,b as d}from"./p-a3bc3236.js";import{G as h,a as c}from"./p-9383fa8e.js";import{t as m}from"./p-c57cd1d8.js";import"./p-3ea0d493.js";import"./p-9d734bbd.js";import"./p-373c5d93.js";const x=class{constructor(r){o(this,r),this.labelPosition=void 0,this.computedLabelPosition=void 0,this.disabled=void 0,this.required=void 0,this.hasError=!1,this.hasHelp=!1}onMutation(){this.hasError=a(this.root,"error"),this.hasHelp=a(this.root,"help")}componentWillLoad(){this.setInput(),this.setLabel(),this.hasError=a(this.root,"error"),this.hasHelp=a(this.root,"help"),m(this.root,{variant:this.variant})}disconnectedCallback(){this.disabledObserver&&this.disabledObserver.disconnect(),this.requiredObserver&&this.requiredObserver.disconnect()}render(){return r(c,{labelPosition:this.computedLabelPosition},r(h,{position:this.computedLabelPosition,required:this.required},r("slot",{name:"label",onSlotchange:()=>this.setLabel()})),r("div",{class:"gux-input-and-error-container"},r("div",{class:{"gux-input":!0,"gux-input-error":this.hasError}},r("div",{class:{"gux-input-container":!0,"gux-disabled":this.disabled}},r("slot",{name:"input",onSlotchange:()=>this.setInput()}))),r(u,{show:this.hasError},r("slot",{name:"error"})),r(f,{show:!this.hasError&&this.hasHelp},r("slot",{name:"help"}))))}get variant(){return this.labelPosition?this.labelPosition.toLowerCase():"none"}setInput(){this.input=g(this.root,'input[type="color"][slot="input"]'),s(this.input),this.disabled=t(this.input),this.required=this.input.required,this.disabledObserver=i(this.input,(o=>{this.disabled=o})),this.requiredObserver=l(this.input,(o=>{this.required=o})),p(this.root,this.input)}setLabel(){this.label=this.root.querySelector('label[slot="label"]'),this.computedLabelPosition=d(this.label,this.labelPosition)}get root(){return e(this)}};(function(o,r,e,t){var i,n=arguments.length,l=n<3?r:null===t?t=Object.getOwnPropertyDescriptor(r,e):t;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)l=Reflect.decorate(o,r,e,t);else for(var s=o.length-1;s>=0;s--)(i=o[s])&&(l=(n<3?i(l):n>3?i(r,e,l):i(r,e))||l);n>3&&l&&Object.defineProperty(r,e,l)})([n({childList:!0,subtree:!0})],x.prototype,"onMutation",null),x.style='.gux-form-field-container.gux-beside{display:flex;flex-direction:row}.gux-form-field-error{display:none;flex-direction:row;flex-wrap:nowrap;align-content:stretch;align-items:flex-start;justify-content:flex-start;padding:var(--gse-ui-formControl-helper-errorPadding);font-family:var(--gse-ui-formControl-helper-helperText-fontFamily);font-size:var(--gse-ui-formControl-helper-helperText-fontSize);line-height:var(--gse-ui-formControl-helper-helperText-lineHeight);color:var(--gse-ui-formControl-helper-errorColor)}.gux-form-field-error.gux-show{display:flex}.gux-form-field-error gux-icon{flex:0 1 auto;align-self:auto;order:0;min-width:var(--gse-ui-icon-size-sm);min-height:var(--gse-ui-icon-size-sm);margin-right:var(--gse-ui-formControl-helper-gap);color:var(--gse-ui-formControl-helper-errorColor)}.gux-form-field-error .gux-message{flex:0 1 auto;align-self:auto;order:0}.gux-form-field-label.gux-required::after{color:var(--gse-ui-formControl-label-indicator-requiredColor);content:" *"}.gux-form-field-label.gux-beside{position:relative;top:8px;width:fit-content;min-width:45px;margin-right:var(--gse-ui-formControl-label-gap)}.gux-form-field-label.gux-above{padding:var(--gse-ui-formControl-label-padding)}.gux-form-field-label.gux-screenreader{position:absolute;top:auto;left:-10000px;width:1px;height:1px;overflow:hidden}.gux-form-field-help{display:none;flex-direction:row;flex-wrap:nowrap;align-content:stretch;align-items:flex-start;justify-content:flex-start;padding:var(--gse-ui-formControl-helper-padding);font-family:var(--gse-ui-formControl-helper-helperText-fontFamily);font-size:var(--gse-ui-formControl-helper-helperText-fontSize);line-height:var(--gse-ui-formControl-helper-helperText-lineHeight);color:var(--gse-ui-formControl-helper-defaultColor)}.gux-form-field-help.gux-show{display:flex}.gux-form-field-help .gux-message{flex:0 1 auto;align-self:none;order:0}:host{display:block}::slotted(label){font-family:var(--gse-ui-formControl-label-text-fontFamily);font-size:var(--gse-ui-formControl-label-text-fontSize);font-weight:var(--gse-ui-formControl-label-text-fontWeight);line-height:var(--gse-ui-formControl-label-text-lineHeight);color:var(--gse-ui-formControl-label-labelColor)}::slotted(input){flex:1 1 auto;align-self:auto;order:0;width:32px;height:var(--gse-ui-formControl-input-textfield-height);overflow:hidden;font-size:var(--gse-ui-formControl-input-contentText-fontSize);color:var(--gse-ui-formControl-input-populatedColor);text-align:right;text-overflow:ellipsis;background-color:var(--gse-ui-formControl-input-backgroundColor);border:none;border-radius:var(--gse-ui-formControl-input-borderRadius);outline:none}::slotted(input)::placeholder{color:var(--gse-ui-formControl-input-placeholderColor);opacity:1}.gux-input-and-error-container{flex-grow:1}.gux-input-and-error-container .gux-input{display:flex;flex-direction:row;flex-wrap:nowrap;align-content:stretch;align-items:center}.gux-input-and-error-container .gux-input .gux-input-container{box-sizing:border-box;display:flex;flex-direction:row;flex-wrap:nowrap;gap:var(--gse-ui-formControl-input-gap);align-content:stretch;align-items:center;align-self:auto;justify-content:center;order:0;height:var(--gse-ui-formControl-input-textfield-height);font-family:var(--gse-ui-formControl-input-contentText-fontFamily);font-size:var(--gse-ui-formControl-input-contentText-fontSize);line-height:var(--gse-ui-formControl-input-contentText-lineHeight);color:var(--gse-ui-formControl-input-populatedColor);background-color:var(--gse-ui-formControl-input-backgroundColor);background-image:none;border-radius:var(--gse-ui-formControl-input-borderRadius)}.gux-input-and-error-container .gux-input .gux-input-container.gux-disabled{opacity:var(--gse-ui-formControl-input-disabled-opacity)}.gux-input-and-error-container .gux-input .gux-input-container:focus-within{border:var(--gse-ui-formControl-input-active-border-width) var(--gse-ui-formControl-input-active-border-style) var(--gse-ui-formControl-input-active-border-color);border-radius:var(--gse-ui-formControl-focusRing-borderRadius);outline:var(--gse-ui-formControl-input-focus-border-width) var(--gse-ui-formControl-input-focus-border-style) var(--gse-ui-formControl-input-focus-border-color)}.gux-input-and-error-container .gux-input .gux-input-container.gux-input-error .gux-input-container{border-color:var(--gse-ui-formControl-input-error-border-color)}';export{x as gux_form_field_color}
@@ -1 +1 @@
1
- import{r as t,c as a,h as i,g as e}from"./p-7d26b2e1.js";import{t as n}from"./p-605734cc.js";const s=class{constructor(i){t(this,i),this.guxpaginationchange=a(this,"guxpaginationchange",7),this.currentPage=1,this.totalItems=0,this.itemsPerPage=25,this.layout="full",this.totalPages=void 0}setPage(t){if(t<=0)return void this.setPage(1);const a=this.calculateTotalPages();t>a?this.setPage(a):(this.currentPage=t,this.guxpaginationchange.emit({currentPage:this.currentPage,itemsPerPage:this.itemsPerPage}))}calculateTotalPages(){return Math.max(1,Math.ceil(this.totalItems/this.itemsPerPage))}calculateCurrentPage(){return Math.max(this.totalPages>0?1:0,Math.min(this.currentPage,this.totalPages))}handleInternalitemsperpagechange(t){this.itemsPerPage=t.detail,this.setPage(1)}handleInternalcurrentpagechange(t){this.setPage(t.detail)}getPaginationInfoElement(t){if("expanded"===t)return null;const a=[i("gux-pagination-item-counts-legacy",{"total-items":this.totalItems,"current-page":this.currentPage,"items-per-page":this.itemsPerPage})];return"full"===t&&a.push(i("gux-pagination-items-per-page-legacy",{"items-per-page":this.itemsPerPage,onInternalitemsperpagechange:this.handleInternalitemsperpagechange.bind(this)})),i("div",{class:"gux-pagination-info"},a)}componentWillLoad(){n(this.root,{variant:this.layout})}componentWillRender(){this.totalPages=this.calculateTotalPages(),this.currentPage=this.calculateCurrentPage()}render(){return i("div",{class:"gux-pagination-container"},this.getPaginationInfoElement(this.layout),i("div",{class:"gux-pagination-change"},i("gux-pagination-buttons-legacy",{layout:this.layout,"current-page":this.currentPage,"total-pages":this.totalPages,onInternalcurrentpagechange:this.handleInternalcurrentpagechange.bind(this)})))}get root(){return e(this)}};s.style=":host{display:block;border-top:var(--gse-ui-dataTableItems-tablePagination-divider-width) var(--gse-ui-dataTableItems-tablePagination-divider-style) var(--gse-ui-dataTableItems-tablePagination-divider-color)}.gux-pagination-container{display:flex;flex-direction:row;flex-wrap:nowrap;align-content:stretch;align-items:center;justify-content:space-between;height:var(--gse-ui-dataTableItems-cell-tablePagination-height);padding:var(--gse-ui-dataTableItems-tablePagination-padding);background-color:var(--gse-ui-dataTableItems-tablePagination-defaultBackgroundColor)}.gux-pagination-container .gux-pagination-info{display:flex;flex:1 1 auto;flex-direction:row;flex-wrap:nowrap;align-content:stretch;align-items:center;align-self:auto;justify-content:flex-start;order:0;gap:var(--gse-ui-dataTableItems-tablePagination-recordsetControls-gap)}.gux-pagination-container .gux-pagination-info>*{flex:0 1 auto;align-self:auto;order:0}.gux-pagination-container .gux-pagination-change{flex:1 1 auto;align-self:auto;order:0}.gux-pagination-container .gux-pagination-change:first-child{margin-left:0}";export{s as gux_pagination_legacy}
1
+ import{r as t,c as a,h as i,g as e}from"./p-ed724d66.js";import{t as n}from"./p-c57cd1d8.js";const s=class{constructor(i){t(this,i),this.guxpaginationchange=a(this,"guxpaginationchange",7),this.currentPage=1,this.totalItems=0,this.itemsPerPage=25,this.layout="full",this.totalPages=void 0}setPage(t){if(t<=0)return void this.setPage(1);const a=this.calculateTotalPages();t>a?this.setPage(a):(this.currentPage=t,this.guxpaginationchange.emit({currentPage:this.currentPage,itemsPerPage:this.itemsPerPage}))}calculateTotalPages(){return Math.max(1,Math.ceil(this.totalItems/this.itemsPerPage))}calculateCurrentPage(){return Math.max(this.totalPages>0?1:0,Math.min(this.currentPage,this.totalPages))}handleInternalitemsperpagechange(t){this.itemsPerPage=t.detail,this.setPage(1)}handleInternalcurrentpagechange(t){this.setPage(t.detail)}getPaginationInfoElement(t){if("expanded"===t)return null;const a=[i("gux-pagination-item-counts-legacy",{"total-items":this.totalItems,"current-page":this.currentPage,"items-per-page":this.itemsPerPage})];return"full"===t&&a.push(i("gux-pagination-items-per-page-legacy",{"items-per-page":this.itemsPerPage,onInternalitemsperpagechange:this.handleInternalitemsperpagechange.bind(this)})),i("div",{class:"gux-pagination-info"},a)}componentWillLoad(){n(this.root,{variant:this.layout})}componentWillRender(){this.totalPages=this.calculateTotalPages(),this.currentPage=this.calculateCurrentPage()}render(){return i("div",{class:"gux-pagination-container"},this.getPaginationInfoElement(this.layout),i("div",{class:"gux-pagination-change"},i("gux-pagination-buttons-legacy",{layout:this.layout,"current-page":this.currentPage,"total-pages":this.totalPages,onInternalcurrentpagechange:this.handleInternalcurrentpagechange.bind(this)})))}get root(){return e(this)}};s.style=":host{display:block;border-top:var(--gse-ui-dataTableItems-tablePagination-divider-width) var(--gse-ui-dataTableItems-tablePagination-divider-style) var(--gse-ui-dataTableItems-tablePagination-divider-color)}.gux-pagination-container{display:flex;flex-direction:row;flex-wrap:nowrap;align-content:stretch;align-items:center;justify-content:space-between;height:var(--gse-ui-dataTableItems-cell-tablePagination-height);padding:var(--gse-ui-dataTableItems-tablePagination-padding);background-color:var(--gse-ui-dataTableItems-tablePagination-defaultBackgroundColor)}.gux-pagination-container .gux-pagination-info{display:flex;flex:1 1 auto;flex-direction:row;flex-wrap:nowrap;gap:var(--gse-ui-dataTableItems-tablePagination-recordsetControls-gap);align-content:stretch;align-items:center;align-self:auto;justify-content:flex-start;order:0}.gux-pagination-container .gux-pagination-info>*{flex:0 1 auto;align-self:auto;order:0}.gux-pagination-container .gux-pagination-change{flex:1 1 auto;align-self:auto;order:0}.gux-pagination-container .gux-pagination-change:first-child{margin-left:0}";export{s as gux_pagination_legacy}
@@ -0,0 +1 @@
1
+ import{r as o,h as i,g as e}from"./p-ed724d66.js";import{t as r}from"./p-c57cd1d8.js";import{b as t}from"./p-52e27c60.js";import"./p-0962dd7a.js";const c={clickToCopy:"Click to Copy",enterToCopy:"Press Enter to Copy",copySuccess:"Copied to Clipboard",copyFailure:"Error. Please Try Again."},a=class{constructor(i){o(this,i),this.tooltipContent="clickToCopy"}onMouseleave(){this.resetTooltip()}onFocusout(){this.resetTooltip()}onFocus(){this.copyButton.matches(":focus-visible")&&(this.tooltipContent="enterToCopy")}resetTooltip(){this.tooltipContent="clickToCopy"}async onCopyToClipboard(){return navigator.clipboard.writeText(this.root.innerText).then((()=>{this.tooltipContent="copySuccess"})).catch((()=>{this.tooltipContent="copyFailure"}))}getIconName(o){switch(o){case"copyFailure":return"badge-x";case"copySuccess":return"badge-check"}}renderTooltipIcon(){const o=this.getIconName(this.tooltipContent);if(o)return i("gux-icon",{"icon-name":o,decorative:!0})}renderTooltip(){return i("gux-tooltip",{placement:"bottom-end"},i("div",{class:"gux-tooltip-content"},this.renderTooltipIcon(),i("span",null,this.i18n(this.tooltipContent))))}async componentWillLoad(){r(this.root),this.i18n=await t(this.root,c)}render(){return i("button",{class:"gux-copy-to-clipboard-wrapper",ref:o=>this.copyButton=o,onClick:this.onCopyToClipboard.bind(this)},i("div",{class:"gux-copy-content"},i("slot",{name:"content"}),i("gux-icon",{"icon-name":"copy",decorative:!0})),this.renderTooltip())}get root(){return e(this)}};a.style="button{all:unset}.gux-copy-to-clipboard-wrapper{display:inline-flex;align-items:center}.gux-copy-to-clipboard-wrapper .gux-copy-content{display:inherit;align-items:inherit;cursor:pointer}.gux-copy-to-clipboard-wrapper .gux-copy-content ::slotted(*){padding:var(--gse-ui-copyToClipboard-label-padding);font-family:var(--gse-ui-copyToClipboard-label-text-fontFamily);font-size:var(--gse-ui-copyToClipboard-label-text-fontSize);font-weight:var(--gse-ui-copyToClipboard-label-text-fontWeight);line-height:var(--gse-ui-copyToClipboard-label-text-lineHeight);color:var(--gse-ui-copyToClipboard-label-foregroundColor);text-decoration:var(--gse-ui-copyToClipboard-label-text-textDecoration);border-radius:var(--gse-ui-copyToClipboard-label-borderRadius)}.gux-copy-to-clipboard-wrapper .gux-copy-content:hover ::slotted(*){background-color:var(--gse-ui-copyToClipboard-label-active-backgroundColor)}.gux-copy-to-clipboard-wrapper .gux-copy-content:hover gux-icon[icon-name=copy]{visibility:visible}.gux-copy-to-clipboard-wrapper .gux-copy-content gux-icon[icon-name=copy]{width:var(--gse-ui-icon-size-sm);height:var(--gse-ui-icon-size-sm);padding:var(--gse-ui-copyToClipboard-iconContainer-padding);margin-left:var(--gse-ui-copyToClipboard-contentContainer-gap);visibility:hidden;background-color:var(--gse-ui-copyToClipboard-label-active-backgroundColor);border-radius:var(--gse-ui-copyToClipboard-label-borderRadius)}.gux-copy-to-clipboard-wrapper:focus-visible{outline:none}.gux-copy-to-clipboard-wrapper:focus-visible ::slotted(*){background-color:var(--gse-ui-copyToClipboard-label-active-backgroundColor)}.gux-copy-to-clipboard-wrapper:focus-visible gux-icon[icon-name=copy]{visibility:visible}.gux-copy-to-clipboard-wrapper gux-tooltip{display:inline-flex;align-items:center}.gux-copy-to-clipboard-wrapper gux-tooltip .gux-tooltip-content>*{vertical-align:middle}.gux-copy-to-clipboard-wrapper gux-tooltip gux-icon{width:var(--gse-ui-icon-size-sm);height:var(--gse-ui-icon-size-sm);padding:var(--gse-ui-copyToClipboard-iconContainer-padding)}.gux-copy-to-clipboard-wrapper gux-tooltip gux-icon[icon-name=badge-check]{color:var(--gse-ui-copyToClipboard-tooltipIcon-success-foregroundColor)}.gux-copy-to-clipboard-wrapper gux-tooltip gux-icon[icon-name=badge-x]{color:var(--gse-ui-copyToClipboard-tooltipIcon-error-foregroundColor)}";export{a as gux_copy_to_clipboard}
@@ -1 +1 @@
1
- import{r as e,h as t,H as o,g as s}from"./p-7d26b2e1.js";import{c as i,o as r}from"./p-3f5341ea.js";import{O as a}from"./p-f34ce7dc.js";import{p as l}from"./p-c10e41a9.js";import{h as C}from"./p-08bc2e6b.js";import{G as g,a as n,g as p,v as m}from"./p-b3c9fd06.js";import{t as d}from"./p-605734cc.js";import"./p-cbcbd1bb.js";import"./p-d0805f56.js";import"./p-d176c2ae.js";const h=class{constructor(t){e(this,t),this.disabled=void 0,this.hasError=!1,this.hasHelp=!1}onMutation(){this.hasError=C(this.root,"error"),this.hasHelp=C(this.root,"help")}componentWillLoad(){this.setInput(),this.hasError=C(this.root,"error"),this.hasHelp=C(this.root,"help"),d(this.root)}disconnectedCallback(){this.disabledObserver&&this.disabledObserver.disconnect()}render(){return t(o,{class:{"gux-input-error":this.hasError,"gux-disabled":this.disabled}},t("div",{class:"gux-form-field-container"},t("div",{class:"gux-input-label"},t("div",{class:"gux-input"},t("slot",{name:"input",onSlotchange:()=>this.setInput()})),t("div",{class:"gux-label"},t("slot",{name:"label"}),t(g,{show:this.hasError},t("slot",{name:"error"})),t(n,{show:!this.hasError&&this.hasHelp},t("slot",{name:"help"}))))))}setInput(){this.input=p(this.root,'input[type="checkbox"][slot="input"]'),l(this.input),this.disabled=i(this.input),this.disabledObserver=r(this.input,(e=>{this.disabled=e})),m(this.root,this.input)}get root(){return s(this)}};(function(e,t,o,s){var i,r=arguments.length,a=r<3?t:null===s?s=Object.getOwnPropertyDescriptor(t,o):s;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(e,t,o,s);else for(var l=e.length-1;l>=0;l--)(i=e[l])&&(a=(r<3?i(a):r>3?i(t,o,a):i(t,o))||a);r>3&&a&&Object.defineProperty(t,o,a)})([a({childList:!0,subtree:!0})],h.prototype,"onMutation",null),h.style=".gux-form-field-error{display:none;flex-direction:row;flex-wrap:nowrap;align-content:stretch;align-items:flex-start;justify-content:flex-start;padding:var(--gse-ui-formControl-helper-errorPadding);font-family:var(--gse-ui-formControl-helper-helperText-fontFamily);font-size:var(--gse-ui-formControl-helper-helperText-fontSize);line-height:var(--gse-ui-formControl-helper-helperText-lineHeight);color:var(--gse-ui-formControl-helper-errorColor)}.gux-form-field-error.gux-show{display:flex}.gux-form-field-error gux-icon{flex:0 1 auto;align-self:auto;order:0;min-width:var(--gse-ui-icon-size-sm);min-height:var(--gse-ui-icon-size-sm);margin-right:var(--gse-ui-formControl-helper-gap);color:var(--gse-ui-formControl-helper-errorColor)}.gux-form-field-error .gux-message{flex:0 1 auto;align-self:auto;order:0}.gux-form-field-help{display:none;flex-direction:row;flex-wrap:nowrap;align-content:stretch;align-items:flex-start;justify-content:flex-start;padding:var(--gse-ui-formControl-helper-padding);font-family:var(--gse-ui-formControl-helper-helperText-fontFamily);font-size:var(--gse-ui-formControl-helper-helperText-fontSize);line-height:var(--gse-ui-formControl-helper-helperText-lineHeight);color:var(--gse-ui-formControl-helper-defaultColor)}.gux-form-field-help.gux-show{display:flex}.gux-form-field-help .gux-message{flex:0 1 auto;align-self:none;order:0}:host{display:block}:host(.gux-input-error) ::slotted(input[type=checkbox]:not(:checked))::before{background:#e22245;-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\")}:host(.gux-input-error) ::slotted(input[type=checkbox]:checked)::before{background:#e22245;-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\")}:host(.gux-input-error) ::slotted(input[type=checkbox]:not(:checked):not(:disabled):not(:indeterminate):hover)::before{background:#e22245;-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\")}:host(.gux-input-error) ::slotted(input[type=checkbox]:indeterminate)::before{background:#e22245;-webkit-mask-image:url(\"data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' %3E%3Cpath d='M11.1429 7.14286C11.6179 7.14286 12 7.525 12 8C12 8.475 11.6179 8.85714 11.1429 8.85714H4.85714C4.38214 8.85714 4 8.475 4 8C4 7.525 4.38214 7.14286 4.85714 7.14286H11.1429ZM0 2.28571C0 1.02321 1.02321 0 2.28571 0H13.7143C14.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.28571ZM1.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.71429H2.28571C1.97 1.71429 1.71429 1.97 1.71429 2.28571Z' /%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='M11.1429 7.14286C11.6179 7.14286 12 7.525 12 8C12 8.475 11.6179 8.85714 11.1429 8.85714H4.85714C4.38214 8.85714 4 8.475 4 8C4 7.525 4.38214 7.14286 4.85714 7.14286H11.1429ZM0 2.28571C0 1.02321 1.02321 0 2.28571 0H13.7143C14.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.28571ZM1.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.71429H2.28571C1.97 1.71429 1.71429 1.97 1.71429 2.28571Z' /%3E%3C/svg%3E\")}:host(.gux-disabled){cursor:not-allowed;opacity:0.5}:host(.gux-disabled) ::slotted(label){cursor:not-allowed}.gux-input-label{display:flex;flex-direction:row;gap:5px}.gux-input-label .gux-label{display:flex;flex-direction:column}::slotted(input[type=checkbox]){display:inline-grid;width:16px;height:16px;text-align:center;vertical-align:middle;-webkit-appearance:none;appearance:none;cursor:pointer;border:0;outline:none}::slotted(input[type=checkbox])::before{grid-area:1/1;content:\"\";border-radius:15%}::slotted(input[type=checkbox]:not(:checked))::before{background:#767c8d;-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]:not(:checked):not(:disabled):not(:indeterminate):hover)::before{background:#3742a2;-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{background:#4856cb;-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\")}::slotted(input[type=checkbox]:indeterminate)::before{background:#4856cb;-webkit-mask-image:url(\"data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' %3E%3Cpath d='M11.1429 7.14286C11.6179 7.14286 12 7.525 12 8C12 8.475 11.6179 8.85714 11.1429 8.85714H4.85714C4.38214 8.85714 4 8.475 4 8C4 7.525 4.38214 7.14286 4.85714 7.14286H11.1429ZM0 2.28571C0 1.02321 1.02321 0 2.28571 0H13.7143C14.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.28571ZM1.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.71429H2.28571C1.97 1.71429 1.71429 1.97 1.71429 2.28571Z'/%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='M11.1429 7.14286C11.6179 7.14286 12 7.525 12 8C12 8.475 11.6179 8.85714 11.1429 8.85714H4.85714C4.38214 8.85714 4 8.475 4 8C4 7.525 4.38214 7.14286 4.85714 7.14286H11.1429ZM0 2.28571C0 1.02321 1.02321 0 2.28571 0H13.7143C14.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.28571ZM1.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.71429H2.28571C1.97 1.71429 1.71429 1.97 1.71429 2.28571Z'/%3E%3C/svg%3E\")}::slotted(input[type=checkbox]:disabled)::before{cursor:not-allowed}::slotted(label){display:inline-block;font-size:12px;vertical-align:middle}";export{h as gux_form_field_checkbox}
1
+ import{r as e,h as t,H as o,g as s}from"./p-ed724d66.js";import{c as i,o as r}from"./p-16f3da0d.js";import{O as a}from"./p-8801741a.js";import{p as l}from"./p-28f55159.js";import{h as C}from"./p-324b23f3.js";import{G as g,a as n,g as p,v as d}from"./p-a3bc3236.js";import{t as m}from"./p-c57cd1d8.js";import"./p-3ea0d493.js";import"./p-9d734bbd.js";import"./p-373c5d93.js";const h=class{constructor(t){e(this,t),this.disabled=void 0,this.hasError=!1,this.hasHelp=!1}onMutation(){this.hasError=C(this.root,"error"),this.hasHelp=C(this.root,"help")}componentWillLoad(){this.setInput(),this.hasError=C(this.root,"error"),this.hasHelp=C(this.root,"help"),m(this.root)}disconnectedCallback(){this.disabledObserver&&this.disabledObserver.disconnect()}render(){return t(o,{class:{"gux-input-error":this.hasError,"gux-disabled":this.disabled}},t("div",{class:"gux-form-field-container"},t("div",{class:"gux-input-label"},t("div",{class:"gux-input"},t("slot",{name:"input",onSlotchange:()=>this.setInput()})),t("div",{class:"gux-label"},t("slot",{name:"label"}),t(g,{show:this.hasError},t("slot",{name:"error"})),t(n,{show:!this.hasError&&this.hasHelp},t("slot",{name:"help"}))))))}setInput(){this.input=p(this.root,'input[type="checkbox"][slot="input"]'),l(this.input),this.disabled=i(this.input),this.disabledObserver=r(this.input,(e=>{this.disabled=e})),d(this.root,this.input)}get root(){return s(this)}};(function(e,t,o,s){var i,r=arguments.length,a=r<3?t:null===s?s=Object.getOwnPropertyDescriptor(t,o):s;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(e,t,o,s);else for(var l=e.length-1;l>=0;l--)(i=e[l])&&(a=(r<3?i(a):r>3?i(t,o,a):i(t,o))||a);r>3&&a&&Object.defineProperty(t,o,a)})([a({childList:!0,subtree:!0})],h.prototype,"onMutation",null),h.style=".gux-form-field-error{display:none;flex-direction:row;flex-wrap:nowrap;align-content:stretch;align-items:flex-start;justify-content:flex-start;padding:var(--gse-ui-formControl-helper-errorPadding);font-family:var(--gse-ui-formControl-helper-helperText-fontFamily);font-size:var(--gse-ui-formControl-helper-helperText-fontSize);line-height:var(--gse-ui-formControl-helper-helperText-lineHeight);color:var(--gse-ui-formControl-helper-errorColor)}.gux-form-field-error.gux-show{display:flex}.gux-form-field-error gux-icon{flex:0 1 auto;align-self:auto;order:0;min-width:var(--gse-ui-icon-size-sm);min-height:var(--gse-ui-icon-size-sm);margin-right:var(--gse-ui-formControl-helper-gap);color:var(--gse-ui-formControl-helper-errorColor)}.gux-form-field-error .gux-message{flex:0 1 auto;align-self:auto;order:0}.gux-form-field-help{display:none;flex-direction:row;flex-wrap:nowrap;align-content:stretch;align-items:flex-start;justify-content:flex-start;padding:var(--gse-ui-formControl-helper-padding);font-family:var(--gse-ui-formControl-helper-helperText-fontFamily);font-size:var(--gse-ui-formControl-helper-helperText-fontSize);line-height:var(--gse-ui-formControl-helper-helperText-lineHeight);color:var(--gse-ui-formControl-helper-defaultColor)}.gux-form-field-help.gux-show{display:flex}.gux-form-field-help .gux-message{flex:0 1 auto;align-self:none;order:0}:host{display:block}:host(.gux-input-error) ::slotted(input[type=checkbox]:not(:checked))::before{background:#e22245;-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\")}:host(.gux-input-error) ::slotted(input[type=checkbox]:checked)::before{background:#e22245;-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\")}:host(.gux-input-error) ::slotted(input[type=checkbox]:not(:checked):not(:disabled):not(:indeterminate):hover)::before{background:#e22245;-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\")}:host(.gux-input-error) ::slotted(input[type=checkbox]:indeterminate)::before{background:#e22245;-webkit-mask-image:url(\"data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' %3E%3Cpath d='M11.1429 7.14286C11.6179 7.14286 12 7.525 12 8C12 8.475 11.6179 8.85714 11.1429 8.85714H4.85714C4.38214 8.85714 4 8.475 4 8C4 7.525 4.38214 7.14286 4.85714 7.14286H11.1429ZM0 2.28571C0 1.02321 1.02321 0 2.28571 0H13.7143C14.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.28571ZM1.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.71429H2.28571C1.97 1.71429 1.71429 1.97 1.71429 2.28571Z' /%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='M11.1429 7.14286C11.6179 7.14286 12 7.525 12 8C12 8.475 11.6179 8.85714 11.1429 8.85714H4.85714C4.38214 8.85714 4 8.475 4 8C4 7.525 4.38214 7.14286 4.85714 7.14286H11.1429ZM0 2.28571C0 1.02321 1.02321 0 2.28571 0H13.7143C14.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.28571ZM1.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.71429H2.28571C1.97 1.71429 1.71429 1.97 1.71429 2.28571Z' /%3E%3C/svg%3E\")}:host(.gux-disabled){cursor:not-allowed;opacity:0.5}:host(.gux-disabled) ::slotted(label){cursor:not-allowed}.gux-input-label{display:flex;flex-direction:row;gap:5px}.gux-input-label .gux-label{display:flex;flex-direction:column}::slotted(input[type=checkbox]){display:inline-grid;width:16px;height:16px;text-align:center;vertical-align:middle;-webkit-appearance:none;appearance:none;cursor:pointer;border:0;outline:none}::slotted(input[type=checkbox])::before{grid-area:1/1;content:\"\";border-radius:15%}::slotted(input[type=checkbox]:not(:checked))::before{background:#767c8d;-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]:not(:checked):not(:disabled):not(:indeterminate):hover)::before{background:#3742a2;-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{background:#4856cb;-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\")}::slotted(input[type=checkbox]:indeterminate)::before{background:#4856cb;-webkit-mask-image:url(\"data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' %3E%3Cpath d='M11.1429 7.14286C11.6179 7.14286 12 7.525 12 8C12 8.475 11.6179 8.85714 11.1429 8.85714H4.85714C4.38214 8.85714 4 8.475 4 8C4 7.525 4.38214 7.14286 4.85714 7.14286H11.1429ZM0 2.28571C0 1.02321 1.02321 0 2.28571 0H13.7143C14.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.28571ZM1.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.71429H2.28571C1.97 1.71429 1.71429 1.97 1.71429 2.28571Z'/%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='M11.1429 7.14286C11.6179 7.14286 12 7.525 12 8C12 8.475 11.6179 8.85714 11.1429 8.85714H4.85714C4.38214 8.85714 4 8.475 4 8C4 7.525 4.38214 7.14286 4.85714 7.14286H11.1429ZM0 2.28571C0 1.02321 1.02321 0 2.28571 0H13.7143C14.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.28571ZM1.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.71429H2.28571C1.97 1.71429 1.71429 1.97 1.71429 2.28571Z'/%3E%3C/svg%3E\")}::slotted(input[type=checkbox]:disabled)::before{cursor:not-allowed}::slotted(label){display:inline-block;font-size:12px;vertical-align:middle}";export{h as gux_form_field_checkbox}
@@ -0,0 +1 @@
1
+ import{r as e,h as t,H as o,g as r}from"./p-ed724d66.js";import{c as i,o as a}from"./p-16f3da0d.js";import{O as l}from"./p-8801741a.js";import{p as s}from"./p-28f55159.js";import{h as n}from"./p-324b23f3.js";import{G as g,a as d,g as C,v as u}from"./p-a3bc3236.js";import{t as p}from"./p-c57cd1d8.js";import"./p-3ea0d493.js";import"./p-9d734bbd.js";import"./p-373c5d93.js";const h=class{constructor(t){e(this,t),this.disabled=void 0,this.hasError=!1,this.hasHelp=!1}onMutation(){this.hasError=n(this.root,"error"),this.hasHelp=n(this.root,"help")}componentWillLoad(){this.setInput(),this.hasError=n(this.root,"error"),this.hasHelp=n(this.root,"help"),p(this.root)}disconnectedCallback(){this.disabledObserver&&this.disabledObserver.disconnect()}render(){return t(o,{class:{"gux-input-error":this.hasError,"gux-disabled":this.disabled}},t("div",{class:"gux-form-field-container"},t("div",{class:"gux-input-label"},t("div",{class:"gux-input"},t("slot",{name:"input",onSlotchange:()=>this.setInput()})),t("div",{class:"gux-label"},t("slot",{name:"label"}),t(g,{show:this.hasError},t("slot",{name:"error"})),t(d,{show:!this.hasError&&this.hasHelp},t("slot",{name:"help"}))))))}setInput(){this.input=C(this.root,'input[type="radio"][slot="input"]'),s(this.input),this.disabled=i(this.input),this.disabledObserver=a(this.input,(e=>{this.disabled=e})),u(this.root,this.input)}get root(){return r(this)}};(function(e,t,o,r){var i,a=arguments.length,l=a<3?t:null===r?r=Object.getOwnPropertyDescriptor(t,o):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)l=Reflect.decorate(e,t,o,r);else for(var s=e.length-1;s>=0;s--)(i=e[s])&&(l=(a<3?i(l):a>3?i(t,o,l):i(t,o))||l);a>3&&l&&Object.defineProperty(t,o,l)})([l({childList:!0,subtree:!0})],h.prototype,"onMutation",null),h.style=".gux-form-field-error{display:none;flex-direction:row;flex-wrap:nowrap;align-content:stretch;align-items:flex-start;justify-content:flex-start;padding:var(--gse-ui-formControl-helper-errorPadding);font-family:var(--gse-ui-formControl-helper-helperText-fontFamily);font-size:var(--gse-ui-formControl-helper-helperText-fontSize);line-height:var(--gse-ui-formControl-helper-helperText-lineHeight);color:var(--gse-ui-formControl-helper-errorColor)}.gux-form-field-error.gux-show{display:flex}.gux-form-field-error gux-icon{flex:0 1 auto;align-self:auto;order:0;min-width:var(--gse-ui-icon-size-sm);min-height:var(--gse-ui-icon-size-sm);margin-right:var(--gse-ui-formControl-helper-gap);color:var(--gse-ui-formControl-helper-errorColor)}.gux-form-field-error .gux-message{flex:0 1 auto;align-self:auto;order:0}.gux-form-field-help{display:none;flex-direction:row;flex-wrap:nowrap;align-content:stretch;align-items:flex-start;justify-content:flex-start;padding:var(--gse-ui-formControl-helper-padding);font-family:var(--gse-ui-formControl-helper-helperText-fontFamily);font-size:var(--gse-ui-formControl-helper-helperText-fontSize);line-height:var(--gse-ui-formControl-helper-helperText-lineHeight);color:var(--gse-ui-formControl-helper-defaultColor)}.gux-form-field-help.gux-show{display:flex}.gux-form-field-help .gux-message{flex:0 1 auto;align-self:none;order:0}:host{display:block}:host(.gux-disabled){cursor:not-allowed;opacity:var(--gse-ui-radioButton-disabled-opacity)}:host(.gux-disabled) ::slotted(label){cursor:not-allowed}:host(.gux-input-error) input[type=radio]:checked::before{background:#e22245;-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\")}:host(.gux-input-error) ::slotted(input[type=radio]:not(:checked))::before{background:#e22245;-webkit-mask-image:url(\"data:image/svg+xml,%3Csvg viewBox='0 0 16 16' xmlns='http://www.w3.org/2000/svg'%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' /%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='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' /%3E%3C/svg%3E\")}:host(.gux-input-error) .gux-form-field-error{font-family:var(--gse-ui-formControl-helper-helperText-fontFamily);color:var(--gse-ui-radioButton-icon-error-foregroundColor)}.gux-input-label{display:flex;flex-direction:row;padding-top:4px}.gux-input-label .gux-label{display:flex;flex-direction:column;line-height:var(--gse-ui-radioButton-label-text-lineHeight)}::slotted(input[type=radio]){display:inline-grid;width:var(--gse-ui-radioButton-icon-width);height:var(--gse-ui-radioButton-icon-height);margin:1px var(--gse-ui-radioButton-helper-gap) 0 0;color:var(--gse-ui-radioButton-icon-default-unselectedForegroundColor);text-align:center;vertical-align:middle;-webkit-appearance:none;appearance:none;cursor:pointer;border:0;outline:none}::slotted(input[type=radio])::before{grid-area:1/1;content:\"\";border-radius:50%}::slotted(input[type=radio]:focus-visible){border-radius:var(--gse-ui-radioButton-focus-borderRadius);outline:var(--gse-ui-radioButton-focus-border-width) var(--gse-ui-radioButton-focus-border-style) var(--gse-ui-radioButton-focus-border-color);outline-offset:1px}::slotted(input[type=radio]:not(:checked))::before{background:#767c8d;-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]:not(:checked):not(:disabled):hover)::before{background:#3742a2;-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:not(:disabled):hover)::before{background:#3742a2;-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=radio]:checked)::before{background:#4856cb;-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=radio]:disabled)::before{cursor:not-allowed;opacity:var(--gse-ui-radioButton-disabled-opacity)}::slotted(label){display:inline-block;font-family:var(--gse-ui-radioButton-label-text-fontFamily);font-size:var(--gse-ui-formControl-label-text-fontSize);font-weight:var(--gse-ui-radioButton-label-text-fontWeight);line-height:var(--gse-ui-radioButton-label-text-lineHeight);color:var(--gse-ui-radioButton-label-foregroundColor);vertical-align:middle}";export{h as gux_form_field_radio}
@@ -0,0 +1 @@
1
+ import{r as e,h as t,g as r}from"./p-ed724d66.js";import{b as i}from"./p-52e27c60.js";import{O as o}from"./p-8801741a.js";import{a as s,o as l}from"./p-4e030b49.js";import{t as a}from"./p-c57cd1d8.js";import{G as n,a as h}from"./p-fd5e59f5.js";import{G as f,a as u,v as d,b as g}from"./p-a3bc3236.js";import{h as p}from"./p-324b23f3.js";import{g as m}from"./p-dd53013c.js";import"./p-0962dd7a.js";import"./p-3ea0d493.js";import"./p-9d734bbd.js";import"./p-373c5d93.js";const c={required:"Required"};const x=class{constructor(t){e(this,t),this.labelPosition=void 0,this.computedLabelPosition="above",this.disabled=void 0,this.required=!1,this.hasError=!1,this.hasHelp=!1}watchValue(e){const t=this.root.querySelector("gux-phone-input-beta");t&&(t.hasError=e)}onMutation(){this.hasError=p(this.root,"error"),this.hasHelp=p(this.root,"help")}async componentWillLoad(){this.getI18nValue=await i(this.root,c),this.setInput(),this.setLabel(),this.hasError=p(this.root,"error"),this.hasHelp=p(this.root,"help"),a(this.root,{variant:this.variant})}disconnectedCallback(){this.disabledObserver.disconnect(),this.requiredObserver.disconnect()}render(){return t(h,{labelPosition:this.computedLabelPosition},t(n,{position:this.computedLabelPosition,required:this.required},t("slot",{name:"label",onSlotchange:()=>this.setLabel()}),this.renderScreenReaderText(this.getI18nValue("required"),this.required),this.renderScreenReaderText(m(this.root,"error"),this.hasError)),t("div",{class:"gux-input-and-error-container"},t("div",{class:{"gux-input":!0,"gux-input-error":this.hasError}},t("div",{class:{"gux-input-container":!0,"gux-disabled":this.disabled}},t("slot",null))),t(f,{show:this.hasError},t("slot",{name:"error"})),t(u,{show:!this.hasError&&this.hasHelp},t("slot",{name:"help"}))))}renderScreenReaderText(e,r=!0){if(r)return t("gux-screen-reader-beta",null,e)}get variant(){return`phoneInput-${this.labelPosition?this.labelPosition.toLowerCase():"none"}`}setInput(){this.phoneInputElement=this.root.querySelector("gux-phone-input-beta"),this.disabled=this.phoneInputElement.disabled,this.required=this.phoneInputElement.required,this.disabledObserver=s(this.phoneInputElement,(e=>{this.disabled=e})),this.requiredObserver=l(this.phoneInputElement,(e=>{this.required=e})),d(this.root,this.phoneInputElement)}setLabel(){this.label=this.root.querySelector('label[slot="label"]'),this.computedLabelPosition=g(this.label,this.labelPosition)}get root(){return r(this)}static get watchers(){return{hasError:["watchValue"]}}};(function(e,t,r,i){var o,s=arguments.length,l=s<3?t:null===i?i=Object.getOwnPropertyDescriptor(t,r):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)l=Reflect.decorate(e,t,r,i);else for(var a=e.length-1;a>=0;a--)(o=e[a])&&(l=(s<3?o(l):s>3?o(t,r,l):o(t,r))||l);s>3&&l&&Object.defineProperty(t,r,l)})([o({childList:!0,subtree:!0})],x.prototype,"onMutation",null),x.style='.gux-form-field-fieldset-container{display:flex;min-width:0;padding:0;margin:0;border:none}.gux-form-field-error{display:none;flex-direction:row;flex-wrap:nowrap;align-content:stretch;align-items:flex-start;justify-content:flex-start;padding:var(--gse-ui-formControl-helper-errorPadding);font-family:var(--gse-ui-formControl-helper-helperText-fontFamily);font-size:var(--gse-ui-formControl-helper-helperText-fontSize);line-height:var(--gse-ui-formControl-helper-helperText-lineHeight);color:var(--gse-ui-formControl-helper-errorColor)}.gux-form-field-error.gux-show{display:flex}.gux-form-field-error gux-icon{flex:0 1 auto;align-self:auto;order:0;min-width:var(--gse-ui-icon-size-sm);min-height:var(--gse-ui-icon-size-sm);margin-right:var(--gse-ui-formControl-helper-gap);color:var(--gse-ui-formControl-helper-errorColor)}.gux-form-field-error .gux-message{flex:0 1 auto;align-self:auto;order:0}.gux-form-field-legend-label.gux-required::after{color:var(--gse-ui-formControl-label-indicator-requiredColor);content:" *"}.gux-form-field-legend-label.gux-beside{position:relative;top:8px;float:left;width:fit-content;min-width:45px;margin-right:var(--gse-ui-formControl-label-gap)}.gux-form-field-legend-label.gux-above{padding:var(--gse-ui-formControl-label-padding)}.gux-form-field-legend-label.gux-screenreader{position:absolute;top:auto;left:-10000px;width:1px;height:1px;overflow:hidden}::slotted(label){font-family:var(--gse-ui-formControl-label-text-fontFamily);font-size:var(--gse-ui-formControl-label-text-fontSize);font-weight:var(--gse-ui-formControl-label-text-fontWeight);line-height:var(--gse-ui-formControl-label-text-lineHeight);color:var(--gse-ui-formControl-label-labelColor)}.gux-input-and-error-container{flex-grow:1}';export{x as gux_form_field_phone}
@@ -0,0 +1 @@
1
+ import{r as o,h as r,g as e}from"./p-ed724d66.js";import{c as t,o as i}from"./p-16f3da0d.js";import{O as n}from"./p-8801741a.js";import{o as l}from"./p-4e030b49.js";import{p as a}from"./p-28f55159.js";import{h as s}from"./p-324b23f3.js";import{G as u,a as g,v as p,b as f}from"./p-a3bc3236.js";import{G as d,a as h}from"./p-9383fa8e.js";import{t as c}from"./p-c57cd1d8.js";import"./p-3ea0d493.js";import"./p-9d734bbd.js";import"./p-373c5d93.js";const m=class{constructor(r){o(this,r),this.labelPosition=void 0,this.computedLabelPosition="above",this.disabled=void 0,this.required=void 0,this.hasError=!1,this.hasHelp=!1}onMutation(){this.hasError=s(this.root,"error"),this.hasHelp=s(this.root,"help")}componentWillLoad(){this.setInput(),this.setLabel(),this.hasError=s(this.root,"error"),this.hasHelp=s(this.root,"help"),c(this.root,{variant:this.variant})}disconnectedCallback(){this.disabledObserver&&this.disabledObserver.disconnect(),this.requiredObserver&&this.requiredObserver.disconnect()}render(){return r(h,{labelPosition:this.computedLabelPosition},r(d,{position:this.computedLabelPosition,required:this.required},r("slot",{name:"label",onSlotchange:()=>this.setLabel()})),r("div",{class:"gux-input-and-error-container"},r("div",{class:{"gux-input":!0,"gux-input-error":this.hasError}},r("div",{class:{"gux-input-container":!0,"gux-disabled":this.disabled}},r("slot",{name:"input"}),r("gux-icon",{"icon-name":"chevron-small-down",decorative:!0}))),r(u,{show:this.hasError},r("slot",{name:"error"})),r(g,{show:!this.hasError&&this.hasHelp},r("slot",{name:"help"}))))}get variant(){const o=this.labelPosition?this.labelPosition.toLowerCase():"none";return`${this.input.getAttribute("type")}-${o}`}setInput(){this.input=this.root.querySelector('select[slot="input"]'),a(this.input),this.disabled=t(this.input),this.required=this.input.required,this.disabledObserver=i(this.input,(o=>{this.disabled=o})),this.requiredObserver=l(this.input,(o=>{this.required=o})),p(this.root,this.input)}setLabel(){this.label=this.root.querySelector('label[slot="label"]'),this.computedLabelPosition=f(this.label,this.labelPosition)}get root(){return e(this)}};(function(o,r,e,t){var i,n=arguments.length,l=n<3?r:null===t?t=Object.getOwnPropertyDescriptor(r,e):t;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)l=Reflect.decorate(o,r,e,t);else for(var a=o.length-1;a>=0;a--)(i=o[a])&&(l=(n<3?i(l):n>3?i(r,e,l):i(r,e))||l);n>3&&l&&Object.defineProperty(r,e,l)})([n({childList:!0,subtree:!0})],m.prototype,"onMutation",null),m.style='.gux-form-field-container.gux-beside{display:flex;flex-direction:row}.gux-form-field-error{display:none;flex-direction:row;flex-wrap:nowrap;align-content:stretch;align-items:flex-start;justify-content:flex-start;padding:var(--gse-ui-formControl-helper-errorPadding);font-family:var(--gse-ui-formControl-helper-helperText-fontFamily);font-size:var(--gse-ui-formControl-helper-helperText-fontSize);line-height:var(--gse-ui-formControl-helper-helperText-lineHeight);color:var(--gse-ui-formControl-helper-errorColor)}.gux-form-field-error.gux-show{display:flex}.gux-form-field-error gux-icon{flex:0 1 auto;align-self:auto;order:0;min-width:var(--gse-ui-icon-size-sm);min-height:var(--gse-ui-icon-size-sm);margin-right:var(--gse-ui-formControl-helper-gap);color:var(--gse-ui-formControl-helper-errorColor)}.gux-form-field-error .gux-message{flex:0 1 auto;align-self:auto;order:0}.gux-form-field-label.gux-required::after{color:var(--gse-ui-formControl-label-indicator-requiredColor);content:" *"}.gux-form-field-label.gux-beside{position:relative;top:8px;width:fit-content;min-width:45px;margin-right:var(--gse-ui-formControl-label-gap)}.gux-form-field-label.gux-above{padding:var(--gse-ui-formControl-label-padding)}.gux-form-field-label.gux-screenreader{position:absolute;top:auto;left:-10000px;width:1px;height:1px;overflow:hidden}.gux-form-field-help{display:none;flex-direction:row;flex-wrap:nowrap;align-content:stretch;align-items:flex-start;justify-content:flex-start;padding:var(--gse-ui-formControl-helper-padding);font-family:var(--gse-ui-formControl-helper-helperText-fontFamily);font-size:var(--gse-ui-formControl-helper-helperText-fontSize);line-height:var(--gse-ui-formControl-helper-helperText-lineHeight);color:var(--gse-ui-formControl-helper-defaultColor)}.gux-form-field-help.gux-show{display:flex}.gux-form-field-help .gux-message{flex:0 1 auto;align-self:none;order:0}:host{display:block}::slotted(label){font-family:var(--gse-ui-formControl-label-text-fontFamily);font-size:var(--gse-ui-formControl-label-text-fontSize);font-weight:var(--gse-ui-formControl-label-text-fontWeight);line-height:var(--gse-ui-formControl-label-text-lineHeight);color:var(--gse-ui-formControl-label-labelColor)}::slotted(select){flex:1 1 auto;align-self:auto;order:0;width:100%;margin-left:var(--gse-ui-formControl-input-gap);color:var(--gse-ui-formControl-input-populatedColor);-moz-appearance:none;-webkit-appearance:none;appearance:none;background-color:var(--gse-ui-formControl-input-backgroundColor);border:none;border-radius:var(--gse-ui-formControl-input-borderRadius);outline:none}::slotted(select)::placeholder{color:var(--gse-ui-formControl-input-placeholderColor);opacity:1}.gux-input-and-error-container{flex-grow:1}.gux-input-and-error-container .gux-input .gux-input-container{position:relative;box-sizing:border-box;display:flex;flex-direction:row;flex-wrap:nowrap;gap:var(--gse-ui-formControl-input-gap);align-content:stretch;align-items:center;justify-content:center;width:100%;height:var(--gse-ui-formControl-input-textfield-height);font-family:var(--gse-ui-formControl-input-contentText-fontFamily);font-size:var(--gse-ui-formControl-input-contentText-fontSize);font-weight:var(--gse-ui-formControl-input-contentText-fontWeight);line-height:var(--gse-ui-formControl-input-contentText-lineHeight);color:var(--gse-ui-formControl-input-populatedColor);background-color:var(--gse-ui-formControl-input-backgroundColor);background-image:none;border:var(--gse-ui-formControl-input-default-border-width) var(--gse-ui-formControl-input-default-border-style) var(--gse-ui-formControl-input-default-border-color);border-radius:var(--gse-ui-formControl-input-borderRadius)}.gux-input-and-error-container .gux-input .gux-input-container.gux-disabled{pointer-events:none;opacity:var(--gse-ui-formControl-input-disabled-opacity)}.gux-input-and-error-container .gux-input .gux-input-container:hover gux-icon{color:var(--gse-ui-formControl-input-inputIcon-iconEndColor)}.gux-input-and-error-container .gux-input .gux-input-container gux-icon{width:var(--gse-ui-formControl-input-inputIcon-size);height:var(--gse-ui-formControl-input-inputIcon-size);margin-right:var(--gse-ui-formControl-input-gap);pointer-events:none}.gux-input-and-error-container .gux-input .gux-input-container:focus-within{border:var(--gse-ui-formControl-input-active-border-width) var(--gse-ui-formControl-input-active-border-style) var(--gse-ui-formControl-input-active-border-color);border-radius:var(--gse-ui-formControl-focusRing-borderRadius);outline:var(--gse-ui-formControl-input-focus-border-width) var(--gse-ui-formControl-input-focus-border-style) var(--gse-ui-formControl-input-focus-border-color)}.gux-input-and-error-container .gux-input.gux-input-error .gux-input-container{border-color:var(--gse-ui-formControl-input-error-border-color)}';export{m as gux_form_field_select}
@@ -0,0 +1 @@
1
+ import{r as o,f as r,h as t,g as e}from"./p-ed724d66.js";import{c as i,o as n}from"./p-16f3da0d.js";import{O as l}from"./p-8801741a.js";import{o as s}from"./p-4e030b49.js";import{p as a}from"./p-28f55159.js";import{h as u}from"./p-324b23f3.js";import{h as f,d as g,G as p,a as h,g as d,v as c,b as m}from"./p-a3bc3236.js";import{G as x,a as v}from"./p-9383fa8e.js";import{t as b}from"./p-c57cd1d8.js";import"./p-3ea0d493.js";import"./p-9d734bbd.js";import"./p-373c5d93.js";const C=class{constructor(r){o(this,r),this.labelPosition=void 0,this.computedLabelPosition="above",this.clearable=!0,this.disabled=void 0,this.required=void 0,this.hasContent=!1,this.hasError=!1,this.hasHelp=!1}onMutation(){this.hasError=u(this.root,"error"),this.hasHelp=u(this.root,"help")}async guxForceUpdate(){this.hasContent=f(this.input),this.hasError=u(this.root,"error"),this.hasHelp=u(this.root,"help"),r(this.root)}componentWillLoad(){this.setInput(),this.setLabel(),this.hasError=u(this.root,"error"),this.hasHelp=u(this.root,"help"),b(this.root,{variant:this.variant})}disconnectedCallback(){this.disabledObserver&&this.disabledObserver.disconnect(),this.requiredObserver&&this.requiredObserver.disconnect()}render(){return t(v,{labelPosition:this.computedLabelPosition},t(x,{position:this.computedLabelPosition,required:this.required},t("slot",{name:"label",onSlotchange:()=>this.setLabel()})),t("div",{class:"gux-input-and-error-container"},t("div",{class:{"gux-input":!0,"gux-input-error":this.hasError}},t("div",{class:{"gux-input-container":!0,"gux-disabled":this.disabled}},t("gux-icon",{"icon-name":"search",decorative:!0}),t("slot",{name:"input"}),this.clearable&&this.hasContent&&!this.disabled&&t("gux-form-field-input-clear-button",{onClick:()=>g(this.input)}))),t(p,{show:this.hasError},t("slot",{name:"error"})),t(h,{show:!this.hasError&&this.hasHelp},t("slot",{name:"help"}))))}get variant(){const o=this.labelPosition?this.labelPosition.toLowerCase():"none";return`${this.input.getAttribute("type")}-${o}`}setInput(){this.input=d(this.root,'input[type="search"][slot="input"]'),this.hasContent=f(this.input),a(this.input),this.input.addEventListener("input",(()=>{this.hasContent=f(this.input)})),this.disabled=i(this.input),this.required=this.input.required,this.disabledObserver=n(this.input,(o=>{this.disabled=o})),this.requiredObserver=s(this.input,(o=>{this.required=o})),c(this.root,this.input)}setLabel(){this.label=this.root.querySelector('label[slot="label"]'),this.computedLabelPosition=m(this.label,this.labelPosition)}get root(){return e(this)}};(function(o,r,t,e){var i,n=arguments.length,l=n<3?r:null===e?e=Object.getOwnPropertyDescriptor(r,t):e;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)l=Reflect.decorate(o,r,t,e);else for(var s=o.length-1;s>=0;s--)(i=o[s])&&(l=(n<3?i(l):n>3?i(r,t,l):i(r,t))||l);n>3&&l&&Object.defineProperty(r,t,l)})([l({childList:!0,subtree:!0})],C.prototype,"onMutation",null),C.style='.gux-form-field-container.gux-beside{display:flex;flex-direction:row}.gux-form-field-error{display:none;flex-direction:row;flex-wrap:nowrap;align-content:stretch;align-items:flex-start;justify-content:flex-start;padding:var(--gse-ui-formControl-helper-errorPadding);font-family:var(--gse-ui-formControl-helper-helperText-fontFamily);font-size:var(--gse-ui-formControl-helper-helperText-fontSize);line-height:var(--gse-ui-formControl-helper-helperText-lineHeight);color:var(--gse-ui-formControl-helper-errorColor)}.gux-form-field-error.gux-show{display:flex}.gux-form-field-error gux-icon{flex:0 1 auto;align-self:auto;order:0;min-width:var(--gse-ui-icon-size-sm);min-height:var(--gse-ui-icon-size-sm);margin-right:var(--gse-ui-formControl-helper-gap);color:var(--gse-ui-formControl-helper-errorColor)}.gux-form-field-error .gux-message{flex:0 1 auto;align-self:auto;order:0}.gux-form-field-label.gux-required::after{color:var(--gse-ui-formControl-label-indicator-requiredColor);content:" *"}.gux-form-field-label.gux-beside{position:relative;top:8px;width:fit-content;min-width:45px;margin-right:var(--gse-ui-formControl-label-gap)}.gux-form-field-label.gux-above{padding:var(--gse-ui-formControl-label-padding)}.gux-form-field-label.gux-screenreader{position:absolute;top:auto;left:-10000px;width:1px;height:1px;overflow:hidden}.gux-form-field-help{display:none;flex-direction:row;flex-wrap:nowrap;align-content:stretch;align-items:flex-start;justify-content:flex-start;padding:var(--gse-ui-formControl-helper-padding);font-family:var(--gse-ui-formControl-helper-helperText-fontFamily);font-size:var(--gse-ui-formControl-helper-helperText-fontSize);line-height:var(--gse-ui-formControl-helper-helperText-lineHeight);color:var(--gse-ui-formControl-helper-defaultColor)}.gux-form-field-help.gux-show{display:flex}.gux-form-field-help .gux-message{flex:0 1 auto;align-self:none;order:0}:host{display:block}::slotted(label){font-family:var(--gse-ui-formControl-label-text-fontFamily);font-size:var(--gse-ui-formControl-label-text-fontSize);font-weight:var(--gse-ui-formControl-label-text-fontWeight);line-height:var(--gse-ui-formControl-label-text-lineHeight);color:var(--gse-ui-formControl-label-labelColor)}::slotted(input){flex:1 1 auto;align-self:auto;order:0;width:100%;overflow:hidden;font-size:var(--gse-ui-formControl-input-contentText-fontSize);text-overflow:ellipsis;background-color:var(--gse-ui-formControl-input-backgroundColor);border:none;outline:none}::slotted(input)::placeholder{color:var(--gse-ui-formControl-input-placeholderColor);opacity:1}.gux-input-and-error-container{flex-grow:1}.gux-input-and-error-container .gux-input{display:flex;flex-direction:row;flex-wrap:nowrap;align-content:stretch;align-items:center}.gux-input-and-error-container .gux-input .gux-input-container{box-sizing:border-box;display:flex;flex:1 1 auto;flex-direction:row;flex-wrap:nowrap;gap:var(--gse-ui-formControl-input-gap);align-content:stretch;align-items:center;align-self:auto;justify-content:center;order:0;width:100%;height:var(--gse-ui-formControl-input-textfield-height);padding:var(--gse-ui-formControl-input-padding);font-family:var(--gse-ui-formControl-input-contentText-fontFamily);font-size:var(--gse-ui-formControl-input-contentText-fontSize);font-weight:var(--gse-ui-formControl-input-contentText-fontWeight);line-height:var(--gse-ui-formControl-input-contentText-lineHeight);color:var(--gse-ui-formControl-input-populatedColor);background-color:var(--gse-ui-formControl-input-backgroundColor);background-image:none;border:var(--gse-ui-formControl-input-default-border-width) var(--gse-ui-formControl-input-default-border-style) var(--gse-ui-formControl-input-default-border-color);border-radius:var(--gse-ui-formControl-input-borderRadius)}.gux-input-and-error-container .gux-input .gux-input-container.gux-disabled{opacity:var(--gse-ui-formControl-input-disabled-opacity)}.gux-input-and-error-container .gux-input .gux-input-container gux-icon[icon-name=search]{flex:0 0 auto;align-self:auto;order:0;width:var(--gse-ui-formControl-input-inputIcon-size);height:var(--gse-ui-formControl-input-inputIcon-size);color:var(--gse-ui-formControl-input-inputIcon-defaultColor)}.gux-input-and-error-container .gux-input .gux-input-container:focus-within{border:var(--gse-ui-formControl-input-active-border-width) var(--gse-ui-formControl-input-active-border-style) var(--gse-ui-formControl-input-active-border-color);border-radius:var(--gse-ui-formControl-focusRing-borderRadius);outline:var(--gse-ui-formControl-input-focus-border-width) var(--gse-ui-formControl-input-focus-border-style) var(--gse-ui-formControl-input-focus-border-color)}.gux-input-and-error-container .gux-input.gux-input-error .gux-input-container{border-color:var(--gse-ui-formControl-input-error-border-color)}';export{C as gux_form_field_search}
@@ -0,0 +1 @@
1
+ import{r as t,c as e,f as s,d as i,h,H as a,g as o}from"./p-ed724d66.js";import{b as l}from"./p-52e27c60.js";import{w as r}from"./p-8b703092.js";import{r as n}from"./p-3ea0d493.js";import{t as c}from"./p-c57cd1d8.js";import{t as d}from"./p-408d5857.js";import"./p-0962dd7a.js";const u=class{constructor(i){t(this,i),this.guxselectionchanged=e(this,"guxselectionchanged",7),this.guxsortchanged=e(this,"guxsortchanged",7),this.slotObserver=new MutationObserver((()=>s(this))),this.tableId=n("gux-table"),this.columnsWidths={},this.isVerticalScroll=!1,this.columnResizeHover=!1,this.compact=!1,this.objectTable=!1,this.emptyMessage=void 0,this.resizableColumns=void 0}async componentWillLoad(){c(this.root),this.i18n=await l(this.root,d)}componentDidLoad(){this.resizableColumns&&this.prepareResizableColumns(),this.prepareSelectableRows(),this.checkVerticalScroll(),!this.resizeObserver&&window.ResizeObserver&&(this.resizeObserver=new ResizeObserver((()=>{i((()=>{this.checkVerticalScroll()}))}))),this.resizeObserver&&(this.resizeObserver.observe(this.tableContainer),this.resizeObserver.observe(this.slottedTable)),this.slotObserver.observe(this.slottedTable,{subtree:!0,childList:!0})}checkVerticalScroll(){const t=this.tableContainer;this.isVerticalScroll=t.scrollHeight>t.clientHeight}disconnectedCallback(){this.resizeObserver&&(this.resizeObserver.unobserve(this.tableContainer),this.resizeObserver.unobserve(this.slottedTable)),this.resizableColumns&&document.getElementById(`${this.tableId}-resizable-styles`).remove()}onInternalAllRowSelectChange(t){t.stopPropagation(),this.handleSelectAllRows(t.detail)}onInternalRowSelectChange(t){t.stopPropagation();const e=t.target;e.selected=t.detail,this.handleRowSelection(e)}onMouseMove(t){this.resizableColumns&&this.updateResizeState(t)}onMouseDown(t){this.resizableColumns&&this.maybeStartResizing(t)}onMouseUp(){this.resizableColumns&&this.stopResizing()}get tableContainer(){return this.root.shadowRoot.querySelector(".gux-table-container")}get slottedTable(){return this.root.querySelector('table[slot="data"]')}get tableRows(){return Array.from(this.slottedTable.querySelectorAll("tbody tr"))}get tableColumns(){return Array.from(this.slottedTable.querySelectorAll("thead th"))}get rowCheckboxes(){return Array.from(this.slottedTable.querySelectorAll("tbody tr td gux-row-select"))}get selectAllCheckbox(){return this.slottedTable.querySelector("thead tr th gux-all-row-select")}async getSelected(){return this.getSelectedInternal()}getSelectedInternal(){return{selectedRowIds:Array.from(this.rowCheckboxes).filter((t=>t.selected)).map((t=>t.closest("tr").getAttribute("data-row-id")))}}prepareSelectableRows(){this.rowCheckboxes.forEach((t=>{this.updateRowSelection(t)})),this.updateSelectAllBoxState()}updateSelectAllBoxState(){const t=this.selectAllCheckbox;if(t){const e=this.rowCheckboxes,s=e.filter((t=>!t.hasAttribute("disabled"))),i=s.filter((t=>t.selected)),h=Boolean(e.length),a=i.length===s.length,o=0===i.length;t.selected=h&&a,t.setIndeterminate(h&&!a&&!o)}}handleSelectAllRows(t){const e=this.selectAllCheckbox;this.rowCheckboxes.forEach((s=>{e.selected=t,s.hasAttribute("disabled")||(s.selected=t,this.updateRowSelection(s))})),this.emitSelectionEvent()}handleRowSelection(t){this.updateRowSelection(t),this.updateSelectAllBoxState(),this.emitSelectionEvent()}emitSelectionEvent(){this.guxselectionchanged.emit(this.getSelectedInternal())}updateRowSelection(t){const e=t.closest("tr");t.selected?e.setAttribute("data-selected-row",""):e.removeAttribute("data-selected-row")}prepareResizableColumns(){const t=document.createElement("style");t.id=`${this.tableId}-resizable-styles`,document.querySelector("head").appendChild(t),this.calculateColumnWidths(this.tableColumns).slice(0,-1).forEach((t=>this.columnsWidths[t.name]=t.width)),this.setResizableColumnsStyles()}updateResizeState(t){if(this.columnResizeState){const e=this.columnResizeState.resizableColumn.dataset.columnName,s=Math.max(this.columnResizeState.resizableColumnInitialWidth+(t.pageX-this.columnResizeState.columnResizeMouseStartX),1),i=this.calculateColumnWidths(this.tableColumns).map((t=>t.name===e?Object.assign(Object.assign({},t),{width:s}):t));this.columnsWidths[e]=i.find((t=>t.name===e)).width,this.setResizableColumnsStyles()}else this.columnResizeHover=!1,r("th",t,(e=>{this.tableColumns.length-1!==e.cellIndex&&this.isInResizeZone(t,e)&&(this.columnResizeHover=!0)}))}maybeStartResizing(t){r("th",t,(e=>{this.isInResizeZone(t,e)&&(this.columnResizeState={resizableColumn:e,columnResizeMouseStartX:t.pageX,resizableColumnInitialWidth:e.clientWidth})}))}stopResizing(){this.columnResizeState&&(this.columnResizeState=null)}isInResizeZone(t,e){return e.getBoundingClientRect().right-t.clientX<3}calculateColumnWidths(t){return t.map((t=>({name:t.dataset.columnName,width:t.clientWidth})))}setResizableColumnsStyles(){const t=document.getElementById(`${this.tableId}-resizable-styles`);let e="";Object.keys(this.columnsWidths).forEach((t=>{e+=`[gs-table-id=${this.tableId}] th[data-column-name="${t}"]{\n width:${String(this.columnsWidths[t])}px;\n min-width:${String(this.columnsWidths[t])}px;\n }`})),t.innerHTML=e}get isTableEmpty(){return!this.root.children[0]||this.tableRows.length<1}get tableContainerClasses(){return{"gux-table-container":!0,"gux-column-resizing":Boolean(this.columnResizeState),"gux-column-resizing-hover":this.columnResizeHover}}render(){return h(a,{"gs-table-id":this.tableId,"gs-obj-table":this.objectTable,"gs-compact":this.compact},h("div",{class:"gux-table"},h("div",{tabindex:this.isVerticalScroll?"0":"-1",id:this.tableId,class:this.tableContainerClasses},h("slot",{name:"data"})),this.isTableEmpty&&h("div",{class:"gux-empty-table"},this.emptyMessage||this.i18n("emptyMessage"))))}get root(){return o(this)}};u.style=":host{display:block;isolation:isolate}:host .gux-table{position:relative;height:inherit}:host .gux-table .gux-table-container{max-height:100%;overflow:auto;scrollbar-color:var(--gse-ui-dataTableItems-scrollbar-foregroundColor);scrollbar-width:thin}:host .gux-table .gux-table-container.gux-column-resizing-hover,:host .gux-table .gux-table-container.gux-column-resizing{cursor:col-resize}:host .gux-empty-table{display:flex;align-items:center;justify-content:center;height:calc(100% - var(--gse-ui-dataTableItems-header-default-height));color:#596373;background:#fdfdfd;font-family:var(--gse-core-fontFamily-heading), var(--gse-core-fontFamily-body), sans-serif;font-size:var(--gse-core-fontSize-lg);font-weight:var(--gse-core-fontWeight-semiBold);line-height:var(--gse-lineHeight-md)}";export{u as gux_table}
@@ -1 +1 @@
1
- import{h as i}from"./p-7d26b2e1.js";const e=({position:e,required:o},r)=>i("div",{class:{"gux-form-field-label":!0,[`gux-${e}`]:!0,"gux-required":o}},r),o=({labelPosition:e},o)=>i("div",{class:{"gux-form-field-container":!0,[`gux-${e}`]:!0}},o);export{e as G,o as a}
1
+ import{h as i}from"./p-ed724d66.js";const e=({position:e,required:o},r)=>i("div",{class:{"gux-form-field-label":!0,[`gux-${e}`]:!0,"gux-required":o}},r),o=({labelPosition:e},o)=>i("div",{class:{"gux-form-field-container":!0,[`gux-${e}`]:!0}},o);export{e as G,o as a}
@@ -1 +1 @@
1
- import{r as e,h as r,H as o,g as a}from"./p-7d26b2e1.js";import{l as t,f as s,n,p as i,a as u}from"./p-417354e9.js";import{g as d}from"./p-8a133b9b.js";const c=["gux-month-list-item"],l=class{constructor(r){e(this,r)}onKeyDown(e){switch(e.key){case"ArrowUp":e.preventDefault(),u(this.root,c,-3);break;case"ArrowDown":e.preventDefault(),u(this.root,c,3);break;case"ArrowLeft":e.preventDefault(),i(this.root,c);break;case"ArrowRight":e.preventDefault(),n(this.root,c);break;case"Home":e.preventDefault(),s(this.root,c);break;case"End":e.preventDefault(),t(this.root,c)}}async guxFocusFirstItem(){s(this.root,c)}renderFocusTarget(){return r("span",{tabindex:"1"})}render(){return r(o,{role:"list"},this.renderFocusTarget(),r("slot",null))}static get delegatesFocus(){return!0}get root(){return a(this)}};l.style=":host{display:flex;flex-direction:row;flex-wrap:wrap;padding:var(--gse-ui-calendarMenu-monthBody-padding);background-color:var(--gse-ui-calendarMenu-backgroundColor);border-radius:var(--gse-ui-calendarMenu-single-body-borderRadius);box-shadow:var(--gse-ui-calendarMenu-boxShadow-x) var(--gse-ui-calendarMenu-boxShadow-y) var(--gse-ui-calendarMenu-boxShadow-blur) var(--gse-ui-calendarMenu-boxShadow-spread) var(--gse-ui-calendarMenu-boxShadow-color)}";const g=class{constructor(r){e(this,r),this.value=void 0,this.disabled=!1,this.selected=!1}onMouseup(){this.focusParentList()}onMouseover(){this.focusParentList()}focusParentList(){const e=d("gux-month-list",this.root);e&&null===e.shadowRoot.activeElement&&(this.root.blur(),e.focus())}render(){return r(o,{role:"listitem",value:this.value},r("div",{class:"gux-container"},r("button",{class:{"gux-selected":this.selected},type:"button",tabIndex:-1,disabled:this.disabled},r("slot",null))))}static get delegatesFocus(){return!0}get root(){return a(this)}};g.style=":host{flex:0 0 33.3%}:host([disabled]){pointer-events:none}:host([disabled=false]){pointer-events:auto}.gux-container{padding-left:var(--gse-ui-calendarMenu-monthBody-gap);padding-right:var(--gse-ui-calendarMenu-monthBody-gap)}.gux-container button{all:unset;box-sizing:border-box;width:100%;height:var(--gse-ui-calendarMenu-month-monthCell-height);text-align:center;word-wrap:break-word;cursor:pointer;border:none;border-radius:var(--gse-ui-calendarMenu-month-borderRadius);outline:none}.gux-container button.gux-selected{color:var(--gse-ui-calendarMenu-month-selected-foregroundColor);background:var(--gse-ui-calendarMenu-month-selected-backgroundColor)}.gux-container button:focus-visible:not(:disabled){outline:var(--gse-ui-monthPicker-calendarStates-focus-border-width) var(--gse-ui-monthPicker-calendarStates-focus-border-style) var(--gse-ui-monthPicker-calendarStates-focus-border-color);outline-offset:var(--gse-semantic-focusRing-offset);border-radius:var(--gse-ui-calendarMenu-month-focusBorderRadius)}.gux-container button:hover:not(:disabled){background:var(--gse-ui-calendarMenu-month-hover-backgroundColor)}.gux-container button:disabled{opacity:var(--gse-ui-calendarMenu-disabled-opacity);cursor:default}";export{l as gux_month_list,g as gux_month_list_item}
1
+ import{r as e,h as r,H as o,g as a}from"./p-ed724d66.js";import{l as t,f as s,n,p as i,a as u}from"./p-aa9ff6ba.js";import{g as d}from"./p-0962dd7a.js";const c=["gux-month-list-item"],l=class{constructor(r){e(this,r)}onKeyDown(e){switch(e.key){case"ArrowUp":e.preventDefault(),u(this.root,c,-3);break;case"ArrowDown":e.preventDefault(),u(this.root,c,3);break;case"ArrowLeft":e.preventDefault(),i(this.root,c);break;case"ArrowRight":e.preventDefault(),n(this.root,c);break;case"Home":e.preventDefault(),s(this.root,c);break;case"End":e.preventDefault(),t(this.root,c)}}async guxFocusFirstItem(){s(this.root,c)}renderFocusTarget(){return r("span",{tabindex:"1"})}render(){return r(o,{role:"list"},this.renderFocusTarget(),r("slot",null))}static get delegatesFocus(){return!0}get root(){return a(this)}};l.style=":host{display:flex;flex-direction:row;flex-wrap:wrap;padding:var(--gse-ui-calendarMenu-monthBody-padding);background-color:var(--gse-ui-calendarMenu-backgroundColor);border-radius:var(--gse-ui-calendarMenu-single-body-borderRadius);box-shadow:var(--gse-ui-calendarMenu-boxShadow-x) var(--gse-ui-calendarMenu-boxShadow-y) var(--gse-ui-calendarMenu-boxShadow-blur) var(--gse-ui-calendarMenu-boxShadow-spread) var(--gse-ui-calendarMenu-boxShadow-color)}";const g=class{constructor(r){e(this,r),this.value=void 0,this.disabled=!1,this.selected=!1}onMouseup(){this.focusParentList()}onMouseover(){this.focusParentList()}focusParentList(){const e=d("gux-month-list",this.root);e&&null===e.shadowRoot.activeElement&&(this.root.blur(),e.focus())}render(){return r(o,{role:"listitem",value:this.value},r("div",{class:"gux-container"},r("button",{class:{"gux-selected":this.selected},type:"button",tabIndex:-1,disabled:this.disabled},r("slot",null))))}static get delegatesFocus(){return!0}get root(){return a(this)}};g.style=":host{flex:0 0 33.3%}:host([disabled]){pointer-events:none}:host([disabled=false]){pointer-events:auto}.gux-container{padding-right:var(--gse-ui-calendarMenu-monthBody-gap);padding-left:var(--gse-ui-calendarMenu-monthBody-gap)}.gux-container button{all:unset;box-sizing:border-box;width:100%;height:var(--gse-ui-calendarMenu-month-monthCell-height);text-align:center;word-wrap:break-word;cursor:pointer;border:none;border-radius:var(--gse-ui-calendarMenu-month-borderRadius);outline:none}.gux-container button.gux-selected{color:var(--gse-ui-calendarMenu-month-selected-foregroundColor);background:var(--gse-ui-calendarMenu-month-selected-backgroundColor)}.gux-container button:focus-visible:not(:disabled){border-radius:var(--gse-ui-calendarMenu-month-focusBorderRadius);outline:var(--gse-ui-monthPicker-calendarStates-focus-border-width) var(--gse-ui-monthPicker-calendarStates-focus-border-style) var(--gse-ui-monthPicker-calendarStates-focus-border-color);outline-offset:var(--gse-semantic-focusRing-offset)}.gux-container button:hover:not(:disabled){background:var(--gse-ui-calendarMenu-month-hover-backgroundColor)}.gux-container button:disabled{cursor:default;opacity:var(--gse-ui-calendarMenu-disabled-opacity)}";export{l as gux_month_list,g as gux_month_list_item}
@@ -1 +1 @@
1
- import{r as s,h as t,H as e,g as r}from"./p-7d26b2e1.js";import{l as a,n as o,f as i,p as n,b as c,c as l}from"./p-417354e9.js";import{t as u}from"./p-605734cc.js";const h=["gux-list-item"],m=class{constructor(t){s(this,t)}componentWillLoad(){u(this.root)}onKeyDown(s){switch(s.key){case"ArrowUp":s.preventDefault(),n(this.root,h);break;case"Home":s.preventDefault(),i(this.root,h);break;case"ArrowDown":s.preventDefault(),o(this.root,h);break;case"End":s.preventDefault(),a(this.root,h)}}async guxFocusFirstItem(){i(this.root,h)}async guxFocusItemById(s){c(this.root,h,s)}async guxFocusItemByClosestId(s){l(this.root,h,s)}async guxFocusLastItem(){a(this.root,h)}renderFocusTarget(){return t("span",{tabindex:"-1"})}render(){return t(e,{role:"list"},this.renderFocusTarget(),t("slot",null))}static get delegatesFocus(){return!0}get root(){return r(this)}};m.style=":host{display:flex;flex-direction:column;flex-wrap:nowrap;align-content:stretch;align-items:flex-start;justify-content:flex-start}";export{m as gux_list}
1
+ import{r as s,h as t,H as e,g as a}from"./p-ed724d66.js";import{l as r,n as o,f as i,p as n,b as c,c as l}from"./p-aa9ff6ba.js";import{t as u}from"./p-c57cd1d8.js";const h=["gux-list-item"],m=class{constructor(t){s(this,t)}componentWillLoad(){u(this.root)}onKeyDown(s){switch(s.key){case"ArrowUp":s.preventDefault(),n(this.root,h);break;case"Home":s.preventDefault(),i(this.root,h);break;case"ArrowDown":s.preventDefault(),o(this.root,h);break;case"End":s.preventDefault(),r(this.root,h)}}async guxFocusFirstItem(){i(this.root,h)}async guxFocusItemById(s){c(this.root,h,s)}async guxFocusItemByClosestId(s){l(this.root,h,s)}async guxFocusLastItem(){r(this.root,h)}renderFocusTarget(){return t("span",{tabindex:"-1"})}render(){return t(e,{role:"list"},this.renderFocusTarget(),t("slot",null))}static get delegatesFocus(){return!0}get root(){return a(this)}};m.style=":host{display:flex;flex-direction:column;flex-wrap:nowrap;align-content:stretch;align-items:flex-start;justify-content:flex-start}";export{m as gux_list}
@@ -1 +1 @@
1
- import{r as t,c as i,h as o,g as s}from"./p-7d26b2e1.js";import{O as n}from"./p-9d18d475.js";import{w as e}from"./p-76ff3e75.js";import{a}from"./p-091f51f6.js";import{t as r}from"./p-605734cc.js";import{b as c}from"./p-deee079e.js";import"./p-8a133b9b.js";const u={moreOptions:"More options"},h=["primary","secondary","tertiary","danger"];function d(t){return h.find((i=>i===t))?t:"secondary"}const l=class{constructor(o){t(this,o),this.open=i(this,"open",7),this.close=i(this,"close",7),this.actionClick=i(this,"actionClick",7),this.type="button",this.disabled=!1,this.accent="secondary",this.isOpen=!1}handleKeydown(t){const i=t.composedPath();switch(t.key){case"Escape":this.isOpen=!1,i.includes(this.listElement)&&(t.preventDefault(),this.dropdownButton.focus());break;case"Tab":this.isOpen=!1;break;case"ArrowDown":case"Enter":i.includes(this.dropdownButton)&&(t.preventDefault(),this.isOpen=!0,this.focusFirstItemInPopupList())}}handleKeyup(t){if(" "===t.key)t.composedPath().includes(this.dropdownButton)&&(this.isOpen=!0,this.focusFirstItemInPopupList())}watchDisabled(t){t&&(this.isOpen=!1)}watchValue(t){t?this.open.emit():this.close.emit()}onClickOutside(t){null===t.relatedTarget&&(this.isOpen=!1)}toggle(){this.disabled||(this.isOpen=!this.isOpen,this.isOpen&&this.focusPopupList())}focusPopupList(){a((()=>{this.listElement.focus&&this.listElement.focus()}))}focusFirstItemInPopupList(){a((()=>{this.listElement.guxFocusFirstItem()}))}onActionClick(){this.disabled||(this.isOpen=!1,this.actionClick.emit())}onListClick(t){e("gux-list-item",t,(()=>{this.isOpen=!1,this.dropdownButton.focus()}))}async componentWillLoad(){r(this.root,{variant:this.type}),this.i18n=await c(this.root,u)}render(){return o("div",{class:"gux-action-button-container"},o("gux-popup",{expanded:this.isOpen,disabled:this.disabled,"exceed-target-width":!0},o("div",{slot:"target",class:"gux-action-button-container"},o("gux-button-slot",{class:"gux-action-button",accent:d(this.accent)},o("button",{type:this.type,disabled:this.disabled,onClick:()=>this.onActionClick()},o("slot",{name:"title"}))),o("gux-button-slot",{class:"gux-dropdown-button",accent:d(this.accent)},o("button",{type:"button",disabled:this.disabled,ref:t=>this.dropdownButton=t,onMouseUp:()=>this.toggle(),"aria-haspopup":"true","aria-expanded":this.isOpen.toString(),"aria-label":this.i18n("moreOptions")},o("gux-icon",{decorative:!0,"icon-name":"chevron-small-down"})))),o("div",{class:"gux-list-container",slot:"popup"},o("gux-list",{onClick:t=>this.onListClick(t),ref:t=>this.listElement=t},o("slot",null)))))}get root(){return s(this)}static get watchers(){return{disabled:["watchDisabled"],isOpen:["watchValue"]}}};(function(t,i,o,s){var n,e=arguments.length,a=e<3?i:null===s?s=Object.getOwnPropertyDescriptor(i,o):s;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(t,i,o,s);else for(var r=t.length-1;r>=0;r--)(n=t[r])&&(a=(e<3?n(a):e>3?n(i,o,a):n(i,o))||a);e>3&&a&&Object.defineProperty(i,o,a)})([n({triggerEvents:"click"})],l.prototype,"onClickOutside",null),l.style=":host{display:block;-webkit-user-select:none;user-select:none}.gux-action-button-container{min-width:128px}.gux-action-button-container>*{vertical-align:middle}.gux-action-button-container .gux-action-button{width:calc(100% - 33px);margin-right:1px}.gux-action-button-container .gux-action-button button{width:100%;max-width:none;text-align:center;border-top-right-radius:0;border-bottom-right-radius:0}.gux-action-button-container .gux-dropdown-button button{width:32px;padding:0;border-top-left-radius:0;border-bottom-left-radius:0}.gux-action-button-container .gux-dropdown-button button gux-icon{width:16px;height:16px}.gux-action-button-container .gux-list-container{max-width:220px;padding:var(--gux-spacing-xs) 0;margin:0;list-style:none;background-color:var(--gse-ui-menu-wrapper-backgroundColor);border:1px solid var(--gse-ui-menu-wrapper-border);border-radius:4px;box-shadow:0px 4px 6px 1px rgba(35, 57, 92, 0.12)}";export{l as gux_action_button}
1
+ import{r as t,c as i,h as o,g as s}from"./p-ed724d66.js";import{O as n}from"./p-8c362857.js";import{w as e}from"./p-8b703092.js";import{a}from"./p-ffaadf62.js";import{t as r}from"./p-c57cd1d8.js";import{b as c}from"./p-52e27c60.js";import"./p-0962dd7a.js";const u={moreOptions:"More options"},h=["primary","secondary","tertiary","danger"];function d(t){return h.find((i=>i===t))?t:"secondary"}const l=class{constructor(o){t(this,o),this.open=i(this,"open",7),this.close=i(this,"close",7),this.actionClick=i(this,"actionClick",7),this.type="button",this.disabled=!1,this.accent="secondary",this.isOpen=!1}handleKeydown(t){const i=t.composedPath();switch(t.key){case"Escape":this.isOpen=!1,i.includes(this.listElement)&&(t.preventDefault(),this.dropdownButton.focus());break;case"Tab":this.isOpen=!1;break;case"ArrowDown":case"Enter":i.includes(this.dropdownButton)&&(t.preventDefault(),this.isOpen=!0,this.focusFirstItemInPopupList())}}handleKeyup(t){if(" "===t.key)t.composedPath().includes(this.dropdownButton)&&(this.isOpen=!0,this.focusFirstItemInPopupList())}watchDisabled(t){t&&(this.isOpen=!1)}watchValue(t){t?this.open.emit():this.close.emit()}onClickOutside(t){null===t.relatedTarget&&(this.isOpen=!1)}toggle(){this.disabled||(this.isOpen=!this.isOpen,this.isOpen&&this.focusPopupList())}focusPopupList(){a((()=>{this.listElement.focus&&this.listElement.focus()}))}focusFirstItemInPopupList(){a((()=>{this.listElement.guxFocusFirstItem()}))}onActionClick(){this.disabled||(this.isOpen=!1,this.actionClick.emit())}onListClick(t){e("gux-list-item",t,(()=>{this.isOpen=!1,this.dropdownButton.focus()}))}async componentWillLoad(){r(this.root,{variant:this.type}),this.i18n=await c(this.root,u)}render(){return o("div",{class:"gux-action-button-container"},o("gux-popup",{expanded:this.isOpen,disabled:this.disabled,"exceed-target-width":!0},o("div",{slot:"target",class:"gux-action-button-container"},o("gux-button-slot",{class:"gux-action-button",accent:d(this.accent)},o("button",{type:this.type,disabled:this.disabled,onClick:()=>this.onActionClick()},o("slot",{name:"title"}))),o("gux-button-slot",{class:"gux-dropdown-button",accent:d(this.accent)},o("button",{type:"button",disabled:this.disabled,ref:t=>this.dropdownButton=t,onMouseUp:()=>this.toggle(),"aria-haspopup":"true","aria-expanded":this.isOpen.toString(),"aria-label":this.i18n("moreOptions")},o("gux-icon",{decorative:!0,"icon-name":"chevron-small-down"})))),o("div",{class:"gux-list-container",slot:"popup"},o("gux-list",{onClick:t=>this.onListClick(t),ref:t=>this.listElement=t},o("slot",null)))))}get root(){return s(this)}static get watchers(){return{disabled:["watchDisabled"],isOpen:["watchValue"]}}};(function(t,i,o,s){var n,e=arguments.length,a=e<3?i:null===s?s=Object.getOwnPropertyDescriptor(i,o):s;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(t,i,o,s);else for(var r=t.length-1;r>=0;r--)(n=t[r])&&(a=(e<3?n(a):e>3?n(i,o,a):n(i,o))||a);e>3&&a&&Object.defineProperty(i,o,a)})([n({triggerEvents:"click"})],l.prototype,"onClickOutside",null),l.style=":host{display:block;-webkit-user-select:none;user-select:none}.gux-action-button-container{min-width:128px}.gux-action-button-container>*{vertical-align:middle}.gux-action-button-container .gux-action-button{width:calc(100% - 33px);margin-right:1px}.gux-action-button-container .gux-action-button button{width:100%;max-width:none;text-align:center;border-top-right-radius:0;border-bottom-right-radius:0}.gux-action-button-container .gux-dropdown-button button{width:32px;padding:0;border-top-left-radius:0;border-bottom-left-radius:0}.gux-action-button-container .gux-dropdown-button button gux-icon{width:16px;height:16px}.gux-action-button-container .gux-list-container{max-width:220px;padding:var(--gux-spacing-xs) 0;margin:0;list-style:none;background-color:var(--gse-ui-menu-wrapper-backgroundColor);border:1px solid var(--gse-ui-menu-wrapper-border);border-radius:4px;box-shadow:0 4px 6px 1px rgba(35, 57, 92, 0.12)}";export{l as gux_action_button}
@@ -1 +1 @@
1
- import{r as e,h as t,H as i,g as o}from"./p-7d26b2e1.js";import{r as n}from"./p-cbcbd1bb.js";const s=class{constructor(t){e(this,t),this.value=void 0,this.iconName=void 0,this.iconSrText=void 0,this.iconColor=void 0,this.active=!1,this.selected=!1,this.disabled=!1,this.filtered=!1,this.hovered=!1}onmouseenter(){this.hovered=!0}onMouseleave(){this.hovered=!1}handleActive(e){var t,i;e?null===(t=this.truncateElement)||void 0===t||t.setShowTooltip():null===(i=this.truncateElement)||void 0===i||i.setHideTooltip()}componentWillLoad(){this.root.id=this.root.id||n("gux-option-icon")}getAriaSelected(){return!this.disabled&&(this.selected?"true":"false")}render(){let e=null;return null===this.iconColor||this.hovered||this.active||(e={color:this.iconColor}),t(i,{role:"option",class:{"gux-active":this.active,"gux-disabled":this.disabled,"gux-filtered":this.filtered,"gux-hovered":this.hovered,"gux-selected":this.selected},"aria-selected":this.getAriaSelected(),"aria-disabled":this.disabled.toString()},t("gux-icon",{decorative:null==this.iconSrText,"screenreader-text":this.iconSrText,"icon-name":this.iconName,style:e}),t("gux-truncate",{ref:e=>this.truncateElement=e},t("slot",null)))}get root(){return o(this)}static get watchers(){return{active:["handleActive"]}}};s.style=":host{box-sizing:border-box;display:flex;flex-direction:row;flex-wrap:nowrap;align-content:stretch;align-items:center;justify-content:center;height:var(--gse-ui-menu-option-height);padding:var(--gse-ui-menu-option-padding);color:var(--gse-ui-menu-option-label-foregroundColor);word-wrap:break-word;cursor:pointer;font-family:var(--gse-ui-menu-option-label-default-text-fontFamily);font-weight:var(--gse-ui-menu-option-label-default-text-fontWeight);line-height:var(--gse-ui-menu-option-label-default-text-lineHeight);font-size:var(--gse-ui-menu-option-label-default-text-fontSize);gap:var(--gse-ui-menu-option-gap)}:host .gux-slot-container{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}:host(.gux-disabled){pointer-events:none;cursor:default;opacity:var(--gse-ui-menu-option-disabled-opacity)}:host(.gux-selected){font-family:var(--gse-ui-menu-option-label-active-text-fontFamily);font-weight:var(--gse-ui-menu-option-label-active-text-fontWeight);line-height:var(--gse-ui-menu-option-label-active-text-lineHeight);font-size:var(--gse-ui-menu-option-label-active-text-fontSize);background:var(--gse-ui-menu-option-selected-backgroundColor)}:host(.gux-active){outline:var(--gse-ui-menu-option-focus-border-width) var(--gse-ui-menu-option-focus-border-style) var(--gse-ui-menu-option-focus-border-color);border-radius:var(--gse-semantic-focusRing-cornerRadius)}:host(.gux-hovered:not(:disabled)){background:var(--gse-ui-menu-option-hover-backgroundColor)}:host(.gux-filtered){display:none}:host gux-icon{flex-shrink:0;width:var(--gse-ui-menu-option-startIcon-width);height:var(--gse-ui-menu-option-startIcon-height)}";export{s as gux_option_icon}
1
+ import{r as e,h as t,H as i,g as o}from"./p-ed724d66.js";import{r as n}from"./p-3ea0d493.js";const s=class{constructor(t){e(this,t),this.value=void 0,this.iconName=void 0,this.iconSrText=void 0,this.iconColor=void 0,this.active=!1,this.selected=!1,this.disabled=!1,this.filtered=!1,this.hovered=!1}onmouseenter(){this.hovered=!0}onMouseleave(){this.hovered=!1}handleActive(e){var t,i;e?null===(t=this.truncateElement)||void 0===t||t.setShowTooltip():null===(i=this.truncateElement)||void 0===i||i.setHideTooltip()}componentWillLoad(){this.root.id=this.root.id||n("gux-option-icon")}getAriaSelected(){return!this.disabled&&(this.selected?"true":"false")}render(){let e=null;return null===this.iconColor||this.hovered||this.active||(e={color:this.iconColor}),t(i,{role:"option",class:{"gux-active":this.active,"gux-disabled":this.disabled,"gux-filtered":this.filtered,"gux-hovered":this.hovered,"gux-selected":this.selected},"aria-selected":this.getAriaSelected(),"aria-disabled":this.disabled.toString()},t("gux-icon",{decorative:null==this.iconSrText,"screenreader-text":this.iconSrText,"icon-name":this.iconName,style:e}),t("gux-truncate",{ref:e=>this.truncateElement=e},t("slot",null)))}get root(){return o(this)}static get watchers(){return{active:["handleActive"]}}};s.style=":host{box-sizing:border-box;display:flex;flex-direction:row;flex-wrap:nowrap;gap:var(--gse-ui-menu-option-gap);align-content:stretch;align-items:center;justify-content:center;height:var(--gse-ui-menu-option-height);padding:var(--gse-ui-menu-option-padding);font-family:var(--gse-ui-menu-option-label-default-text-fontFamily);font-size:var(--gse-ui-menu-option-label-default-text-fontSize);font-weight:var(--gse-ui-menu-option-label-default-text-fontWeight);line-height:var(--gse-ui-menu-option-label-default-text-lineHeight);color:var(--gse-ui-menu-option-label-foregroundColor);word-wrap:break-word;cursor:pointer}:host .gux-slot-container{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}:host(.gux-disabled){pointer-events:none;cursor:default;opacity:var(--gse-ui-menu-option-disabled-opacity)}:host(.gux-selected){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);background:var(--gse-ui-menu-option-selected-backgroundColor)}:host(.gux-active){border-radius:var(--gse-semantic-focusRing-cornerRadius);outline:var(--gse-ui-menu-option-focus-border-width) var(--gse-ui-menu-option-focus-border-style) var(--gse-ui-menu-option-focus-border-color)}:host(.gux-hovered:not(:disabled)){background:var(--gse-ui-menu-option-hover-backgroundColor)}:host(.gux-filtered){display:none}:host gux-icon{flex-shrink:0;width:var(--gse-ui-menu-option-startIcon-width);height:var(--gse-ui-menu-option-startIcon-height)}";export{s as gux_option_icon}
@@ -0,0 +1 @@
1
+ import{r as e,h as i}from"./p-ed724d66.js";const s=class{constructor(i){e(this,i),this.checked=!1,this.disabled=!1,this.guxAriaLabel="",this.labelId="",this.errorId=""}componentDidLoad(){var e,i,s;this.labelId?null===(e=this.checkboxElement)||void 0===e||e.setAttribute("aria-labelledby",this.labelId):null===(i=this.checkboxElement)||void 0===i||i.setAttribute("aria-label",this.guxAriaLabel),this.errorId&&(null===(s=this.checkboxElement)||void 0===s||s.setAttribute("aria-describedby",this.errorId))}render(){return i("div",{class:{"gux-toggle-slider":!0,"gux-checked":this.checked,"gux-disabled":this.disabled},role:"checkbox","aria-checked":this.checked.toString(),"aria-disabled":this.disabled.toString(),tabindex:this.disabled?"":"0",ref:e=>this.checkboxElement=e},i("div",{class:"gux-slider"},i("div",{class:"gux-switch"},i("gux-icon",{"icon-name":"checkmark",decorative:!0}))))}};s.style='gux-toggle-slider{display:flex;align-items:center;padding:2px;outline:none}gux-toggle-slider .gux-toggle-slider{position:relative;display:inline-block;flex:0 1 auto;align-self:auto;order:0;width:30px;height:16px;border-radius:8px}gux-toggle-slider .gux-toggle-slider.gux-disabled{pointer-events:none;cursor:default;opacity:0.5}gux-toggle-slider .gux-toggle-slider:focus-visible{outline:none;outline:var(--gse-semantic-focusRing-default-border-color) var(--gse-semantic-focusRing-default-border-style) var(--gse-semantic-focusRing-default-border-width);outline-offset:var(--gse-semantic-focusRing-offset)}gux-toggle-slider .gux-toggle-slider .gux-slider{position:absolute;inset:0;background-color:#6b7585;border-radius:8px;transition:background-color 0.5s ease}gux-toggle-slider .gux-toggle-slider .gux-slider .gux-switch{position:absolute;bottom:1px;left:1px;width:14px;height:14px;content:"";background-color:#fdfdfd;border-radius:50%;transition:0.5s}gux-toggle-slider .gux-toggle-slider .gux-slider .gux-switch gux-icon{position:absolute;inset:0;width:12px;height:12px;padding:1px;color:#fdfdfd;opacity:0;transition:color 0.5s linear}gux-toggle-slider .gux-toggle-slider.gux-checked .gux-slider{background-color:#2a60c8}gux-toggle-slider .gux-toggle-slider.gux-checked .gux-slider .gux-switch{transform:translateX(14px)}gux-toggle-slider .gux-toggle-slider.gux-checked .gux-slider .gux-switch gux-icon{color:#2a60c8;opacity:1;transition:opacity 0.25s linear;transition-delay:0.25s}';export{s as gux_toggle_slider}
@@ -1 +1 @@
1
- import{r as e,h as n,g as a}from"./p-7d26b2e1.js";import{t}from"./p-605734cc.js";const i=class{constructor(n){e(this,n)}componentWillLoad(){t(this.root)}render(){return n("div",{class:"gux-container"},n("div",{class:"gux-image"},n("slot",{name:"image"})),n("div",{class:"gux-message"},n("slot",{name:"primary-message"})),n("div",{class:"gux-guidance"},n("slot",{name:"additional-guidance"})),n("gux-button-slot",{accent:"primary"},n("slot",{name:"call-to-action"})))}get root(){return a(this)}};i.style="/**\n * @prop --gse-ui-badge-height\n * @prop --gse-ui-badge-height\n * @prop --gse-ui-blankState-backgroundColor\n * @prop --gse-ui-blankState-borderRadius\n * @prop --gse-ui-blankState-gapContent\n * @prop --gse-ui-blankState-gapMain\n * @prop --gse-ui-blankState-gapMessage\n * @prop --gse-ui-blankState-icon-size-lg\n * @prop --gse-ui-blankState-icon-size-sm\n * @prop --gse-ui-blankState-iconColor\n * @prop --gse-ui-blankState-large-width : // TODO https://inindca.atlassian.net/browse/COMUI-2242\n * @prop --gse-ui-blankState-padding\n * @prop --gse-ui-blankState-small-width : // TODO https://inindca.atlassian.net/browse/COMUI-2242\n * @prop --gse-ui-progressAndLoading-blankState-large-header-fontFamily\n * @prop --gse-ui-progressAndLoading-blankState-large-header-fontSize\n * @prop --gse-ui-progressAndLoading-blankState-large-header-fontWeight\n * @prop --gse-ui-progressAndLoading-blankState-large-header-lineHeight\n * @prop --gse-ui-progressAndLoading-blankState-large-subheader-fontFamily\n * @prop --gse-ui-progressAndLoading-blankState-large-subheader-fontSize\n * @prop --gse-ui-progressAndLoading-blankState-large-subheader-fontWeight\n * @prop --gse-ui-progressAndLoading-blankState-large-subheader-lineHeight\n * @prop --gse-ui-progressAndLoading-blankState-small-header-fontFamily\n * @prop --gse-ui-progressAndLoading-blankState-small-header-fontSize\n * @prop --gse-ui-progressAndLoading-blankState-small-header-fontWeight\n * @prop --gse-ui-progressAndLoading-blankState-small-header-lineHeight\n * @prop --gse-ui-progressAndLoading-blankState-small-subheader-fontFamily\n * @prop --gse-ui-progressAndLoading-blankState-small-subheader-fontSize\n * @prop --gse-ui-progressAndLoading-blankState-small-subheader-fontWeight\n * @prop --gse-ui-progressAndLoading-blankState-small-subheader-lineHeight\n */\n:host {\n display: flex;\n flex-direction: column;\n align-items: center;\n justify-content: center;\n container-type: inline-size;\n}\n\n.gux-container {\n display: flex;\n flex-direction: column;\n align-items: center;\n justify-content: center;\n padding: var(--gse-ui-blankState-padding);\n border-radius: var(--gse-ui-blankState-borderRadius);\n color: var(--gse-ui-blankState-foregroundColor);\n background-color: var(--gse-ui-blankState-backgroundColor);\n}\n.gux-container .gux-image {\n padding-bottom: var(--gse-ui-blankState-gapMain);\n}\n.gux-container .gux-message {\n padding-bottom: var(--gse-ui-blankState-gapMessage);\n}\n.gux-container .gux-guidance {\n padding-bottom: var(--gse-ui-blankState-gapContent);\n}\n.gux-container ::slotted(gux-icon) {\n width: var(--gse-ui-blankState-icon-size-lg);\n height: var(--gse-ui-blankState-icon-size-lg);\n color: var(--gse-ui-blankState-iconColor);\n}\n.gux-container slot[name=primary-message] {\n color: var(--gse-ui-blankState-foregroundColor);\n text-align: center;\n font-family: var(--gse-ui-progressAndLoading-blankState-large-header-fontFamily);\n font-weight: var(--gse-ui-progressAndLoading-blankState-large-header-fontWeight);\n line-height: var(--gse-ui-progressAndLoading-blankState-large-header-lineHeight);\n font-size: var(--gse-ui-progressAndLoading-blankState-large-header-fontSize);\n}\n.gux-container slot[name=additional-guidance] {\n color: var(--gse-ui-blankState-foregroundColor);\n text-align: center;\n font-family: var(--gse-ui-progressAndLoading-blankState-large-subheader-fontFamily);\n font-weight: var(--gse-ui-progressAndLoading-blankState-large-subheader-fontWeight);\n line-height: var(--gse-ui-progressAndLoading-blankState-large-subheader-lineHeight);\n font-size: var(--gse-ui-progressAndLoading-blankState-large-subheader-fontSize);\n}\n\n@container (width <= 250px) {\n .gux-container ::slotted(gux-icon) {\n width: var(--gse-ui-blankState-icon-size-sm);\n height: var(--gse-ui-blankState-icon-size-sm);\n }\n .gux-container slot[name=primary-message] {\n font-family: var(--gse-ui-progressAndLoading-blankState-small-header-fontFamily);\n font-weight: var(--gse-ui-progressAndLoading-blankState-small-header-fontWeight);\n line-height: var(--gse-ui-progressAndLoading-blankState-small-header-lineHeight);\n font-size: var(--gse-ui-progressAndLoading-blankState-small-header-fontSize);\n }\n .gux-container slot[name=additional-guidance] {\n font-family: var(--gse-ui-progressAndLoading-blankState-small-subheader-fontFamily);\n font-weight: var(--gse-ui-progressAndLoading-blankState-small-subheader-fontWeight);\n line-height: var(--gse-ui-progressAndLoading-blankState-small-subheader-lineHeight);\n font-size: var(--gse-ui-progressAndLoading-blankState-small-subheader-fontSize);\n }\n}";export{i as gux_blank_state}
1
+ import{r as e,h as n,g as a}from"./p-ed724d66.js";import{t}from"./p-c57cd1d8.js";const i=class{constructor(n){e(this,n)}componentWillLoad(){t(this.root)}render(){return n("div",{class:"gux-container"},n("div",{class:"gux-image"},n("slot",{name:"image"})),n("div",{class:"gux-message"},n("slot",{name:"primary-message"})),n("div",{class:"gux-guidance"},n("slot",{name:"additional-guidance"})),n("gux-button-slot",{accent:"primary"},n("slot",{name:"call-to-action"})))}get root(){return a(this)}};i.style="/**\n * @prop --gse-ui-badge-height\n * @prop --gse-ui-badge-height\n * @prop --gse-ui-blankState-backgroundColor\n * @prop --gse-ui-blankState-borderRadius\n * @prop --gse-ui-blankState-gapContent\n * @prop --gse-ui-blankState-gapMain\n * @prop --gse-ui-blankState-gapMessage\n * @prop --gse-ui-blankState-icon-size-lg\n * @prop --gse-ui-blankState-icon-size-sm\n * @prop --gse-ui-blankState-iconColor\n * @prop --gse-ui-blankState-large-width : // TODO https://inindca.atlassian.net/browse/COMUI-2242\n * @prop --gse-ui-blankState-padding\n * @prop --gse-ui-blankState-small-width : // TODO https://inindca.atlassian.net/browse/COMUI-2242\n * @prop --gse-ui-progressAndLoading-blankState-large-header-fontFamily\n * @prop --gse-ui-progressAndLoading-blankState-large-header-fontSize\n * @prop --gse-ui-progressAndLoading-blankState-large-header-fontWeight\n * @prop --gse-ui-progressAndLoading-blankState-large-header-lineHeight\n * @prop --gse-ui-progressAndLoading-blankState-large-subheader-fontFamily\n * @prop --gse-ui-progressAndLoading-blankState-large-subheader-fontSize\n * @prop --gse-ui-progressAndLoading-blankState-large-subheader-fontWeight\n * @prop --gse-ui-progressAndLoading-blankState-large-subheader-lineHeight\n * @prop --gse-ui-progressAndLoading-blankState-small-header-fontFamily\n * @prop --gse-ui-progressAndLoading-blankState-small-header-fontSize\n * @prop --gse-ui-progressAndLoading-blankState-small-header-fontWeight\n * @prop --gse-ui-progressAndLoading-blankState-small-header-lineHeight\n * @prop --gse-ui-progressAndLoading-blankState-small-subheader-fontFamily\n * @prop --gse-ui-progressAndLoading-blankState-small-subheader-fontSize\n * @prop --gse-ui-progressAndLoading-blankState-small-subheader-fontWeight\n * @prop --gse-ui-progressAndLoading-blankState-small-subheader-lineHeight\n */\n:host {\n display: flex;\n flex-direction: column;\n align-items: center;\n justify-content: center;\n container-type: inline-size;\n}\n\n.gux-container {\n display: flex;\n flex-direction: column;\n align-items: center;\n justify-content: center;\n padding: var(--gse-ui-blankState-padding);\n color: var(--gse-ui-blankState-foregroundColor);\n background-color: var(--gse-ui-blankState-backgroundColor);\n border-radius: var(--gse-ui-blankState-borderRadius);\n}\n.gux-container .gux-image {\n padding-bottom: var(--gse-ui-blankState-gapMain);\n}\n.gux-container .gux-message {\n padding-bottom: var(--gse-ui-blankState-gapMessage);\n}\n.gux-container .gux-guidance {\n padding-bottom: var(--gse-ui-blankState-gapContent);\n}\n.gux-container ::slotted(gux-icon) {\n width: var(--gse-ui-blankState-icon-size-lg);\n height: var(--gse-ui-blankState-icon-size-lg);\n color: var(--gse-ui-blankState-iconColor);\n}\n.gux-container slot[name=primary-message] {\n font-family: var(--gse-ui-progressAndLoading-blankState-large-header-fontFamily);\n font-size: var(--gse-ui-progressAndLoading-blankState-large-header-fontSize);\n font-weight: var(--gse-ui-progressAndLoading-blankState-large-header-fontWeight);\n line-height: var(--gse-ui-progressAndLoading-blankState-large-header-lineHeight);\n color: var(--gse-ui-blankState-foregroundColor);\n text-align: center;\n}\n.gux-container slot[name=additional-guidance] {\n font-family: var(--gse-ui-progressAndLoading-blankState-large-subheader-fontFamily);\n font-size: var(--gse-ui-progressAndLoading-blankState-large-subheader-fontSize);\n font-weight: var(--gse-ui-progressAndLoading-blankState-large-subheader-fontWeight);\n line-height: var(--gse-ui-progressAndLoading-blankState-large-subheader-lineHeight);\n color: var(--gse-ui-blankState-foregroundColor);\n text-align: center;\n}\n\n@container (width <= 250px) {\n .gux-container ::slotted(gux-icon) {\n width: var(--gse-ui-blankState-icon-size-sm);\n height: var(--gse-ui-blankState-icon-size-sm);\n }\n .gux-container slot[name=primary-message] {\n font-family: var(--gse-ui-progressAndLoading-blankState-small-header-fontFamily);\n font-size: var(--gse-ui-progressAndLoading-blankState-small-header-fontSize);\n font-weight: var(--gse-ui-progressAndLoading-blankState-small-header-fontWeight);\n line-height: var(--gse-ui-progressAndLoading-blankState-small-header-lineHeight);\n }\n .gux-container slot[name=additional-guidance] {\n font-family: var(--gse-ui-progressAndLoading-blankState-small-subheader-fontFamily);\n font-size: var(--gse-ui-progressAndLoading-blankState-small-subheader-fontSize);\n font-weight: var(--gse-ui-progressAndLoading-blankState-small-subheader-fontWeight);\n line-height: var(--gse-ui-progressAndLoading-blankState-small-subheader-lineHeight);\n }\n}";export{i as gux_blank_state}