genesys-cloud-client-auth 1.0.0 → 1.0.1-release.12

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 (371) hide show
  1. package/dist/assets/_commonjsHelpers-BFTU3MAI-B3tUAs5q.js +1 -0
  2. package/dist/assets/{browser-ponyfill-BV2ki90r.js → browser-ponyfill-DOa5hzkK.js} +1 -1
  3. package/dist/assets/{en-25a315a0-C7J6_avI.js → en-BFMPPR7N-CBlnQyQP.js} +1 -1
  4. package/dist/assets/{en-1f9d79e6-D5hlE5o5.js → en-BIx814vt-Djb_tyvG.js} +1 -1
  5. package/dist/assets/en-DFTYqKJS-D4CZb78c.js +1 -0
  6. package/dist/assets/en-DN3YAdAX-COCuuOUE.js +1 -0
  7. package/dist/assets/floating-ui.dom-C_pVuars-B-ygY2fI.js +1 -0
  8. package/dist/assets/{get-valid-timezone-3bde2dae-BFRWJz7Q.js → get-valid-timezone-BOsuv_r0-DuHfL0tI.js} +1 -1
  9. package/dist/assets/gux-accordion-section.entry-rno7BLYp.js +1 -0
  10. package/dist/assets/gux-accordion.entry-CFNSQVVg.js +1 -0
  11. package/dist/assets/gux-action-button.entry-CFK1bOoO.js +1 -0
  12. package/dist/assets/gux-action-toast-legacy.entry-eXBeRs8y.js +1 -0
  13. package/dist/assets/gux-advanced-dropdown-legacy.entry-D3Dh4r--.js +1 -0
  14. package/dist/assets/gux-all-row-select.entry-BirMmVqp.js +1 -0
  15. package/dist/assets/gux-announce-beta.entry-X8HaeYRV.js +1 -0
  16. package/dist/assets/gux-avatar-beta.entry-Bp5ISiT5.js +1 -0
  17. package/dist/assets/gux-avatar-change-photo-beta.entry-BGR0oQgH.js +1 -0
  18. package/dist/assets/gux-avatar-focusable-beta.entry-B2shdBMF.js +1 -0
  19. package/dist/assets/gux-avatar-group-add-item-beta_3.entry-B7VyxUBJ.js +1 -0
  20. package/dist/assets/gux-avatar-group-beta.entry-CzZ0ZCC9.js +1 -0
  21. package/dist/assets/gux-avatar-group-item-beta.entry-CzwXTjzU.js +1 -0
  22. package/dist/assets/{gux-avatar-group.service-0e62fde4-Bkuc2736.js → gux-avatar-group.service-DMpkGO63-DD1-fUIk.js} +1 -1
  23. package/dist/assets/{gux-avatar.service-43c1b4e1-EzKA_VVN.js → gux-avatar.service-BV03_Ljp-DKwIKmQf.js} +1 -1
  24. package/dist/assets/gux-badge.entry-Bbn4fzg6.js +1 -0
  25. package/dist/assets/{gux-blank-state.entry-BpvRIMLX.js → gux-blank-state.entry-BVgZiUm5.js} +2 -2
  26. package/dist/assets/{gux-breadcrumb-item.entry-Ca_9aDAs.js → gux-breadcrumb-item.entry-CFZvVrqC.js} +1 -1
  27. package/dist/assets/gux-breadcrumbs.entry-ulN3pv8A.js +1 -0
  28. package/dist/assets/gux-button-multi.entry-Ev-WM9Rv.js +1 -0
  29. package/dist/assets/{gux-button-slot.entry-WiCUBCa6.js → gux-button-slot.entry-CDvo-dOQ.js} +1 -1
  30. package/dist/assets/gux-button_2.entry-CnwbL-G-.js +1 -0
  31. package/dist/assets/gux-calendar-beta.entry-hVAn2WOl.js +4 -0
  32. package/dist/assets/gux-calendar.entry-BBI-YXr_.js +1 -0
  33. package/dist/assets/{gux-card.entry-L6pDaqgo.js → gux-card.entry-BetL-DGE.js} +1 -1
  34. package/dist/assets/gux-column-manager-item.entry-BoXOhhhz.js +1 -0
  35. package/dist/assets/gux-column-manager.entry-D9upyyPP.js +1 -0
  36. package/dist/assets/{gux-column-manager.service-90a02975-GGjVHfbH.js → gux-column-manager.service-CB2ijDRX-B46yg9Cu.js} +1 -1
  37. package/dist/assets/gux-content-search.entry-BNNouw01.js +1 -0
  38. package/dist/assets/gux-context-menu.entry-Py6gKyDs.js +1 -0
  39. package/dist/assets/gux-copy-to-clipboard.entry-CSq8IUPu.js +1 -0
  40. package/dist/assets/gux-create-option.entry-DZi0JQfC.js +1 -0
  41. package/dist/assets/gux-cta-group.entry-Bc9O60Zh.js +1 -0
  42. package/dist/assets/{gux-date-beta.entry-lwFmRCvN.js → gux-date-beta.entry-DTa7Whzm.js} +1 -1
  43. package/dist/assets/{gux-date-time-beta.entry-HNedVv5e.js → gux-date-time-beta.entry-DAPsJQUy.js} +1 -1
  44. package/dist/assets/gux-datepicker.entry-DQsCejjF.js +1 -0
  45. package/dist/assets/{gux-day-beta.entry-CW80EHbX.js → gux-day-beta.entry-DGVDukif.js} +1 -1
  46. package/dist/assets/gux-disclosure-button-legacy.entry-B7KrlvfV.js +1 -0
  47. package/dist/assets/gux-dismiss-button.entry-vrbByPQF.js +1 -0
  48. package/dist/assets/gux-dropdown-multi-tag.entry-C_8irDJA.js +1 -0
  49. package/dist/assets/gux-dropdown-multi.entry-DtnUYupp.js +1 -0
  50. package/dist/assets/gux-dropdown-option.entry-MCXG5gtb.js +1 -0
  51. package/dist/assets/gux-dropdown_3.entry-FhZoEw7K.js +1 -0
  52. package/dist/assets/gux-file-list-item.entry-Bq2BFt8O.js +1 -0
  53. package/dist/assets/gux-flag-icon-beta.entry-cFn5PuOc.js +1 -0
  54. package/dist/assets/gux-flyout-menu.entry-Cbjcqfnp.js +1 -0
  55. package/dist/assets/{gux-form-beta.entry-C990wv4b.js → gux-form-beta.entry-Dbh4alBH.js} +1 -1
  56. package/dist/assets/{gux-form-description.entry-SptrEE0d.js → gux-form-description.entry-OMbb_Bfe.js} +1 -1
  57. package/dist/assets/gux-form-field-checkbox-group-beta.entry-Bn44SDi6.js +1 -0
  58. package/dist/assets/{gux-form-field-checkbox.entry-DFJSjM7x.js → gux-form-field-checkbox.entry-D9DzrRSh.js} +1 -1
  59. package/dist/assets/gux-form-field-color.entry-BybH9wS-.js +1 -0
  60. package/dist/assets/{gux-form-field-container-3dd7c6ff-CbHwJYu_.js → gux-form-field-container-BgS8zsCm-DhT6nf4u.js} +1 -1
  61. package/dist/assets/gux-form-field-dropdown.entry-BP41iSXB.js +1 -0
  62. package/dist/assets/gux-form-field-error-CfwQcitV-ChDRo9e7.js +1 -0
  63. package/dist/assets/{gux-form-field-fieldset-container-6cb3610f-BUiTa12q.js → gux-form-field-fieldset-container-DKdKgWFb-DKNGK9md.js} +1 -1
  64. package/dist/assets/gux-form-field-file-beta.entry-DOOUFgSi.js +1 -0
  65. package/dist/assets/gux-form-field-file.entry-W4lfXz9K.js +1 -0
  66. package/dist/assets/gux-form-field-input-clear-button.entry-FcpBbx19.js +1 -0
  67. package/dist/assets/gux-form-field-label-indicator.entry-Cqd18eK9.js +1 -0
  68. package/dist/assets/gux-form-field-number_2.entry-CPi9j5Xl.js +1 -0
  69. package/dist/assets/gux-form-field-phone.entry-B5N4FGeM.js +1 -0
  70. package/dist/assets/gux-form-field-radio-group-beta.entry-BcfJheoK.js +1 -0
  71. package/dist/assets/{gux-form-field-radio.entry-n3Vla1Pu.js → gux-form-field-radio.entry-BK1HavEM.js} +1 -1
  72. package/dist/assets/gux-form-field-range.entry-CGpM9OuD.js +1 -0
  73. package/dist/assets/gux-form-field-search.entry-eJr4oZyv.js +1 -0
  74. package/dist/assets/gux-form-field-select.entry-2gNRXTgG.js +1 -0
  75. package/dist/assets/gux-form-field-text-like.entry-B053waaP.js +1 -0
  76. package/dist/assets/gux-form-field-textarea.entry-BfHSw35-.js +1 -0
  77. package/dist/assets/gux-form-field-time-picker.entry-Bqut11xX.js +1 -0
  78. package/dist/assets/gux-form-field-time-zone-picker.entry-Dd0vSM1E.js +1 -0
  79. package/dist/assets/{gux-form-field.service-173b5dfc-D3T_t5F5.js → gux-form-field.service-C3WKbzwR-Dk5c2D0b.js} +1 -1
  80. package/dist/assets/{gux-form-fieldset-heading.entry-Cm0x7EQq.js → gux-form-fieldset-heading.entry-BETOGHEA.js} +1 -1
  81. package/dist/assets/{gux-form-footer.entry-DbhwkP6b.js → gux-form-footer.entry-DidRJZs8.js} +1 -1
  82. package/dist/assets/{gux-form-heading.entry-DoUhRicG.js → gux-form-heading.entry-BQSriWCv.js} +1 -1
  83. package/dist/assets/gux-icon-tooltip-beta.entry-BmFFyEF6.js +1 -0
  84. package/dist/assets/{gux-icon.entry-B97smlnI.js → gux-icon.entry-B71rcIKx.js} +1 -1
  85. package/dist/assets/gux-inline-alert.entry-3DNPTnmE.js +1 -0
  86. package/dist/assets/gux-inline-dropdown-beta.entry-sjTZgLUc.js +1 -0
  87. package/dist/assets/gux-label-info-beta.entry-BpXwkLmg.js +1 -0
  88. package/dist/assets/{gux-link-beta.entry-BI2qsXNR.js → gux-link-beta.entry-BUeJrgEc.js} +1 -1
  89. package/dist/assets/{gux-list-divider.entry-BHrFeHB6.js → gux-list-divider.entry-CqJoHCLw.js} +1 -1
  90. package/dist/assets/gux-list-item.entry-C39vkSmk.js +1 -0
  91. package/dist/assets/gux-list.entry-CzinoXII.js +1 -0
  92. package/dist/assets/{gux-list.service-5da368db-BTJJSzQi.js → gux-list.service-BebXX5IS-BBJPvxFI.js} +1 -1
  93. package/dist/assets/gux-listbox-multi.entry-CymwG9ff.js +1 -0
  94. package/dist/assets/gux-listbox.service-B_WlCjG2-D79g6fv8.js +1 -0
  95. package/dist/assets/{gux-loading-message.entry-D1ze4_H5.js → gux-loading-message.entry-DDbKDoJ_.js} +2 -2
  96. package/dist/assets/gux-menu-option.entry-Dy0Vbb-I.js +1 -0
  97. package/dist/assets/{gux-menu.common-b2a4d472-CSLYc6Td.js → gux-menu.common-QGDBFOq1-CC6R-ieU.js} +1 -1
  98. package/dist/assets/gux-menu.entry-DUZE_J_3.js +1 -0
  99. package/dist/assets/gux-modal-legacy.entry-DvxVKLH6.js +1 -0
  100. package/dist/assets/gux-modal-side-panel-beta.entry-ngzo6WDF.js +1 -0
  101. package/dist/assets/{gux-modal.entry-srOdsW8Q.js → gux-modal.entry-CVoseyd6.js} +1 -1
  102. package/dist/assets/gux-month-calendar.entry-G1aANy-K.js +1 -0
  103. package/dist/assets/gux-month-list_2.entry-B0gQ5vdz.js +1 -0
  104. package/dist/assets/gux-month-picker-beta.entry-BVUQzMya.js +1 -0
  105. package/dist/assets/gux-notification-toast-legacy.entry-WolQepMX.js +1 -0
  106. package/dist/assets/gux-option-group-beta.entry-CEYB-iEi.js +1 -0
  107. package/dist/assets/{gux-option-icon.entry-Bn-fNLNn.js → gux-option-icon.entry-BAjl5Zvb.js} +1 -1
  108. package/dist/assets/gux-option-multi.entry-BdpGqZVR.js +1 -0
  109. package/dist/assets/gux-option-status-beta.entry-CV6leEzO.js +1 -0
  110. package/dist/assets/gux-page-loading-spinner.entry-C7DIPBXD.js +1 -0
  111. package/dist/assets/gux-pagination-buttons-legacy_3.entry-Drf71E12.js +1 -0
  112. package/dist/assets/gux-pagination-buttons_2.entry-msgFQ6dQ.js +1 -0
  113. package/dist/assets/gux-pagination-cursor.entry-DRS0cdHz.js +1 -0
  114. package/dist/assets/gux-pagination-items-per-page.entry-B80Dg3YN.js +1 -0
  115. package/dist/assets/gux-pagination-legacy.entry-CLLtFfB9.js +1 -0
  116. package/dist/assets/gux-pagination.entry-BQB08mE2.js +1 -0
  117. package/dist/assets/gux-phone-input-beta.entry-CMTY49gb.js +7 -0
  118. package/dist/assets/gux-popover-beta.entry-ag2X4IQo.js +1 -0
  119. package/dist/assets/gux-popover-list-beta.entry-sc73PZ55.js +1 -0
  120. package/dist/assets/gux-popover-list.entry-C8s39ppi.js +1 -0
  121. package/dist/assets/gux-popup.entry-BJjcs7mk.js +1 -0
  122. package/dist/assets/gux-radial-loading.entry-BheOimCJ.js +1 -0
  123. package/dist/assets/gux-radial-progress.entry-BgDNhJzz.js +1 -0
  124. package/dist/assets/gux-rating.entry-BhNv_snO.js +1 -0
  125. package/dist/assets/gux-rich-highlight-list-item.entry-D1Qt5yUG.js +1 -0
  126. package/dist/assets/gux-rich-style-list-item_3.entry-B4y4onK4.js +1 -0
  127. package/dist/assets/gux-rich-text-editor-action-group.entry-aQ_YiqVy.js +1 -0
  128. package/dist/assets/gux-rich-text-editor-action-link.entry-4a08WbKw.js +1 -0
  129. package/dist/assets/gux-rich-text-editor-action-rich-style.entry-BnHE0zSO.js +1 -0
  130. package/dist/assets/gux-rich-text-editor-action-text-highlight.entry-Czmakxx4.js +1 -0
  131. package/dist/assets/gux-rich-text-editor-action.entry-8TNjOivX.js +1 -0
  132. package/dist/assets/gux-rich-text-editor-beta.entry-B-ZT3qhM.js +1 -0
  133. package/dist/assets/gux-rich-text-editor-list.entry-Cb6fDc6I.js +1 -0
  134. package/dist/assets/{gux-rich-text-editor.service-dcce5e51-BQ3X9qeR.js → gux-rich-text-editor.service-CJnB9AGA-CJcbws71.js} +1 -1
  135. package/dist/assets/gux-row-select.entry-CCHQNnfW.js +1 -0
  136. package/dist/assets/gux-screen-reader-beta.entry-1e2CoXXY.js +1 -0
  137. package/dist/assets/gux-segmented-control-beta.entry-C9WgrBsj.js +1 -0
  138. package/dist/assets/gux-segmented-control-item.entry-Donl8adw.js +1 -0
  139. package/dist/assets/gux-selector-card-beta.entry-DaQ2hpaF.js +1 -0
  140. package/dist/assets/gux-selector-cards-beta.entry-ChN4WJJ9.js +1 -0
  141. package/dist/assets/gux-side-panel-beta.entry-BRa9_G8C.js +1 -0
  142. package/dist/assets/gux-side-panel-heading.entry-CXmbtpcq.js +1 -0
  143. package/dist/assets/gux-simple-toast-legacy.entry-7g3U2Zr5.js +1 -0
  144. package/dist/assets/gux-skip-navigation-item.entry-rlU-5mnS.js +1 -0
  145. package/dist/assets/gux-skip-navigation-list.entry-CyK1vCN8.js +1 -0
  146. package/dist/assets/gux-sort-control.entry-ap8WyFdp.js +1 -0
  147. package/dist/assets/gux-status-indicator-beta.entry-70UJeTRP.js +1 -0
  148. package/dist/assets/gux-step-title.entry-W5t-c4_R.js +1 -0
  149. package/dist/assets/gux-step.entry-CaAlzzAv.js +1 -0
  150. package/dist/assets/gux-stepper-beta.entry-BFmztc0x.js +27 -0
  151. package/dist/assets/gux-submenu.entry-BJOjHOu2.js +1 -0
  152. package/dist/assets/gux-switch-item.entry-BDuWaFCp.js +1 -0
  153. package/dist/assets/gux-switch-legacy.entry-BCd3jCYA.js +1 -0
  154. package/dist/assets/{gux-tab-advanced-list.entry-BtLAOPFJ.js → gux-tab-advanced-list.entry-DQuDIS_R.js} +2 -2
  155. package/dist/assets/gux-tab-advanced-panel.entry-DSB1pqaH.js +1 -0
  156. package/dist/assets/gux-tab-advanced.entry-CHi6yTiZ.js +1 -0
  157. package/dist/assets/gux-tab-list.entry-9oF46ZEi.js +1 -0
  158. package/dist/assets/gux-tab-panel.entry-BHgiCapP.js +1 -0
  159. package/dist/assets/{gux-tab.entry-C4cHFqyb.js → gux-tab.entry-CDJ3UWkv.js} +1 -1
  160. package/dist/assets/gux-table-select-menu.entry-ByrMEzYC.js +1 -0
  161. package/dist/assets/gux-table-toolbar-action.entry-DhKPFb4n.js +1 -0
  162. package/dist/assets/gux-table-toolbar-custom-action.entry-P96gXfJB.js +1 -0
  163. package/dist/assets/gux-table-toolbar-menu-button.entry-B5doP2qh.js +1 -0
  164. package/dist/assets/gux-table-toolbar.entry-cQ4CpAxu.js +1 -0
  165. package/dist/assets/gux-table.entry-C-oaYaT1.js +4 -0
  166. package/dist/assets/{gux-tabs-advanced.entry-spkmmAd3.js → gux-tabs-advanced.entry-DuL7DhYE.js} +1 -1
  167. package/dist/assets/gux-tabs.entry-F8p8XQk4.js +1 -0
  168. package/dist/assets/gux-tag.entry-DpS6Vpq4.js +1 -0
  169. package/dist/assets/gux-text-highlight.entry-CXwqlQVh.js +1 -0
  170. package/dist/assets/gux-time-beta.entry-DSOvvEyJ.js +1 -0
  171. package/dist/assets/gux-time-picker.entry-84pBDVP-.js +1 -0
  172. package/dist/assets/gux-time-zone-beta.entry-B71w3D9Q.js +1 -0
  173. package/dist/assets/gux-time-zone-picker-beta.entry-B2lShWWf.js +1 -0
  174. package/dist/assets/gux-toast.entry-B5z5S4O8.js +1 -0
  175. package/dist/assets/gux-toggle-slider.entry-C65V8_Q-.js +1 -0
  176. package/dist/assets/gux-toggle.entry-DC6rTTaR.js +1 -0
  177. package/dist/assets/gux-tooltip-base-beta_2.entry-DSuvIiMV.js +1 -0
  178. package/dist/assets/{gux-tooltip-pointer-beta.entry-D-hRxe26.js → gux-tooltip-pointer-beta.entry-DKSCGNL8.js} +1 -1
  179. package/dist/assets/gux-tooltip-title.entry-DO94eNfE.js +1 -0
  180. package/dist/assets/gux-tooltip_2.entry-CiengWfH.js +1 -0
  181. package/dist/assets/{index-4f1356d9-DSfDpFAA.js → index-DpvjDZBY-COMXK_k2.js} +2 -2
  182. package/dist/assets/index-izRZEe2n.js +135 -0
  183. package/dist/assets/index.esm-ByC1Z2e8-C_N-_SZV.js +3 -0
  184. package/dist/assets/{intl-93dbfa3b-BWr_j3mE.js → intl-CpptOorV-DPTjjPJy.js} +1 -1
  185. package/dist/assets/{log-error-274efeb7-BpRSdGLj.js → log-error-DxtJDeL9-5foDqi4E.js} +1 -1
  186. package/dist/assets/{on-click-outside-6c2e399b-BC2t0a8o.js → on-click-outside-DiPeew9h-C7CY_E5Z.js} +1 -1
  187. package/dist/assets/{on-mutation-751e68e4-BRlz63Dw.js → on-mutation-CUFfU3Co-Df_4vpYs.js} +1 -1
  188. package/dist/assets/{on-resize-c9d0d33c-RQFUwEyO.js → on-resize-CtIUZ42_-Bh48CrvG.js} +1 -1
  189. package/dist/assets/overflow-detection-C1BEugqw-BkTyjLhM.js +1 -0
  190. package/dist/assets/time-zone-DzB2fI_Z-CLEZrI7L.js +1 -0
  191. package/dist/assets/usage-DmyA5Orv-DQlvlcfk.js +1 -0
  192. package/dist/deploy-info.json +4 -4
  193. package/dist/genesys-cloud-client-auth.browser.min.js +1 -1
  194. package/dist/genesys-cloud-client-auth.browser.min.js.map +1 -1
  195. package/dist/index.html +1 -1
  196. package/dist/lib/cjs/authenticator.d.ts +5 -4
  197. package/dist/lib/cjs/authenticator.js +14 -8
  198. package/dist/lib/cjs/authenticator.js.map +1 -1
  199. package/dist/lib/cjs/version.js +1 -1
  200. package/dist/lib/es/authenticator.d.ts +5 -4
  201. package/dist/lib/es/authenticator.js +14 -8
  202. package/dist/lib/es/authenticator.js.map +1 -1
  203. package/dist/lib/es/version.js +1 -1
  204. package/dist/manifest.json +4 -4
  205. package/dist/v1/genesys-cloud-client-auth.browser.min.js +1 -1
  206. package/dist/v1.0.1/genesys-cloud-client-auth.browser.min.js +2 -0
  207. package/package.json +4 -4
  208. package/dist/assets/_commonjsHelpers-c9e3b764-Cg_zQLRJ.js +0 -1
  209. package/dist/assets/en-abdadc27-BNKVS-iZ.js +0 -1
  210. package/dist/assets/en-bf740e9b-BzgaeZ-2.js +0 -1
  211. package/dist/assets/floating-ui.dom.esm-17bec7ce-CxvcWuX2.js +0 -1
  212. package/dist/assets/gux-accordion-section.entry-jbdbmuX_.js +0 -1
  213. package/dist/assets/gux-accordion.entry-ClKYUH6r.js +0 -1
  214. package/dist/assets/gux-action-button.entry-Co04Z0OV.js +0 -1
  215. package/dist/assets/gux-action-toast-legacy.entry-BZZz3CuU.js +0 -1
  216. package/dist/assets/gux-advanced-dropdown-legacy.entry-Cw6SQUDA.js +0 -1
  217. package/dist/assets/gux-all-row-select.entry-Ce72rVHx.js +0 -1
  218. package/dist/assets/gux-announce-beta.entry-0-IPzB8z.js +0 -1
  219. package/dist/assets/gux-avatar-beta.entry-D7eNcgqk.js +0 -1
  220. package/dist/assets/gux-avatar-change-photo-beta.entry-CdbjnSh2.js +0 -1
  221. package/dist/assets/gux-avatar-focusable-beta.entry-C-N-FSgY.js +0 -1
  222. package/dist/assets/gux-avatar-group-add-item-beta_3.entry-DovXgXMY.js +0 -1
  223. package/dist/assets/gux-avatar-group-beta.entry-C-IcLXpk.js +0 -1
  224. package/dist/assets/gux-avatar-group-item-beta.entry-CaxTOEY_.js +0 -1
  225. package/dist/assets/gux-badge.entry-Cn9m8u98.js +0 -1
  226. package/dist/assets/gux-breadcrumbs.entry-C_roghwh.js +0 -1
  227. package/dist/assets/gux-button-multi.entry-CBr3g1_V.js +0 -1
  228. package/dist/assets/gux-button_2.entry-C9uy7zui.js +0 -1
  229. package/dist/assets/gux-calendar-beta.entry-Bqerz9AU.js +0 -4
  230. package/dist/assets/gux-calendar.entry-B62CdDSA.js +0 -1
  231. package/dist/assets/gux-column-manager-item.entry-gcrXPu9C.js +0 -1
  232. package/dist/assets/gux-column-manager.entry-BWdhUqSz.js +0 -1
  233. package/dist/assets/gux-content-search.entry-Bk320YeT.js +0 -1
  234. package/dist/assets/gux-context-menu.entry-sV-Bg8Mm.js +0 -1
  235. package/dist/assets/gux-copy-to-clipboard.entry-D4z3pxQw.js +0 -1
  236. package/dist/assets/gux-create-option.entry-B_Vv8g0K.js +0 -1
  237. package/dist/assets/gux-cta-group.entry-BrnioXQs.js +0 -1
  238. package/dist/assets/gux-datepicker.entry-Cr-qDrmu.js +0 -1
  239. package/dist/assets/gux-disclosure-button-legacy.entry-G2Tlcri7.js +0 -1
  240. package/dist/assets/gux-dismiss-button.entry-DchQFWKl.js +0 -1
  241. package/dist/assets/gux-dropdown-multi-tag.entry-Cc9VNZOZ.js +0 -1
  242. package/dist/assets/gux-dropdown-multi.entry-DjZKxJal.js +0 -1
  243. package/dist/assets/gux-dropdown-option.entry-CZDjtkrF.js +0 -1
  244. package/dist/assets/gux-dropdown_3.entry-CKiZXOT7.js +0 -1
  245. package/dist/assets/gux-file-list-item.entry-Dp9PwoBM.js +0 -5
  246. package/dist/assets/gux-flag-icon-beta.entry-BTUoPqVd.js +0 -1
  247. package/dist/assets/gux-flyout-menu.entry-DqSGjmSN.js +0 -1
  248. package/dist/assets/gux-form-field-checkbox-group-beta.entry-CCZf0hdH.js +0 -1
  249. package/dist/assets/gux-form-field-color.entry-dM32AJCZ.js +0 -1
  250. package/dist/assets/gux-form-field-dropdown.entry-qCBeETvx.js +0 -1
  251. package/dist/assets/gux-form-field-error-acb40a19-CkSp2BAb.js +0 -1
  252. package/dist/assets/gux-form-field-file-beta.entry-DcnNIHKz.js +0 -1
  253. package/dist/assets/gux-form-field-file.entry-Dk7BocgF.js +0 -1
  254. package/dist/assets/gux-form-field-input-clear-button.entry-Dp1QY-09.js +0 -1
  255. package/dist/assets/gux-form-field-label-indicator.entry-bUtvVW_r.js +0 -1
  256. package/dist/assets/gux-form-field-number_2.entry-DaVKhHUj.js +0 -1
  257. package/dist/assets/gux-form-field-phone.entry-DXsintqd.js +0 -1
  258. package/dist/assets/gux-form-field-radio-group-beta.entry-PbhhpeBG.js +0 -1
  259. package/dist/assets/gux-form-field-range.entry-C-pjfWNA.js +0 -1
  260. package/dist/assets/gux-form-field-search.entry-C-bK5ayb.js +0 -1
  261. package/dist/assets/gux-form-field-select.entry-DQdel3gO.js +0 -1
  262. package/dist/assets/gux-form-field-text-like.entry-CBFPlQHU.js +0 -1
  263. package/dist/assets/gux-form-field-textarea.entry-COFKxheF.js +0 -1
  264. package/dist/assets/gux-form-field-time-picker.entry-CaDEWBkZ.js +0 -1
  265. package/dist/assets/gux-form-field-time-zone-picker.entry-rl7fBaGA.js +0 -1
  266. package/dist/assets/gux-icon-tooltip-beta.entry-DNtzdBoU.js +0 -1
  267. package/dist/assets/gux-inline-alert.entry-DJZxwXFy.js +0 -1
  268. package/dist/assets/gux-label-info-beta.entry-Bi2PlCDo.js +0 -1
  269. package/dist/assets/gux-list-item.entry-DRUfS0q6.js +0 -1
  270. package/dist/assets/gux-list.entry-D9KN4yJ5.js +0 -1
  271. package/dist/assets/gux-listbox-multi.entry-6t0q-9T1.js +0 -1
  272. package/dist/assets/gux-listbox.service-1b2f1a6e-CG-s36UI.js +0 -1
  273. package/dist/assets/gux-menu-option.entry-BxQFHxSk.js +0 -1
  274. package/dist/assets/gux-menu.entry-B-osnTh0.js +0 -1
  275. package/dist/assets/gux-modal-legacy.entry-DstohKCK.js +0 -1
  276. package/dist/assets/gux-modal-side-panel-beta.entry-C9FvyVTE.js +0 -1
  277. package/dist/assets/gux-month-calendar.entry-BeuXd1Lv.js +0 -1
  278. package/dist/assets/gux-month-list_2.entry-CYygxLTh.js +0 -1
  279. package/dist/assets/gux-month-picker-beta.entry-DOJMMNNx.js +0 -1
  280. package/dist/assets/gux-notification-toast-legacy.entry-dxK7iMAC.js +0 -1
  281. package/dist/assets/gux-option-group-beta.entry-BUy0S9Yx.js +0 -1
  282. package/dist/assets/gux-option-multi.entry-Bu-QHc6m.js +0 -1
  283. package/dist/assets/gux-page-loading-spinner.entry-DMtT-DYz.js +0 -1
  284. package/dist/assets/gux-pagination-buttons-legacy_3.entry-CuYkOJdn.js +0 -1
  285. package/dist/assets/gux-pagination-buttons_2.entry-DmbE78vc.js +0 -1
  286. package/dist/assets/gux-pagination-cursor.entry-BTAFd0O2.js +0 -1
  287. package/dist/assets/gux-pagination-items-per-page.entry-DvwN5uz6.js +0 -1
  288. package/dist/assets/gux-pagination-legacy.entry-CBCQXwVe.js +0 -1
  289. package/dist/assets/gux-pagination.entry-IX-ErtEu.js +0 -1
  290. package/dist/assets/gux-phone-input-beta.entry-CjYWM42M.js +0 -7
  291. package/dist/assets/gux-popover-beta.entry-DAvQpLoO.js +0 -1
  292. package/dist/assets/gux-popover-list-beta.entry-D4i4pSCR.js +0 -1
  293. package/dist/assets/gux-popover-list.entry-B6Kj5sN5.js +0 -1
  294. package/dist/assets/gux-popup.entry-BHYs6DQm.js +0 -1
  295. package/dist/assets/gux-radial-loading.entry-CG8hkP1l.js +0 -1
  296. package/dist/assets/gux-radial-progress.entry-Bne8tE1g.js +0 -1
  297. package/dist/assets/gux-rating.entry--bhU3vZ-.js +0 -1
  298. package/dist/assets/gux-rich-highlight-list-item.entry-CSqOpcBg.js +0 -1
  299. package/dist/assets/gux-rich-style-list-item_3.entry-CZq1B1uh.js +0 -1
  300. package/dist/assets/gux-rich-text-editor-action-group.entry-DpooAfXe.js +0 -1
  301. package/dist/assets/gux-rich-text-editor-action-link.entry-BEOpCIyh.js +0 -1
  302. package/dist/assets/gux-rich-text-editor-action-rich-style.entry-rwzf60gc.js +0 -1
  303. package/dist/assets/gux-rich-text-editor-action-text-highlight.entry-BaiCEtST.js +0 -1
  304. package/dist/assets/gux-rich-text-editor-action.entry-wBuqVeIv.js +0 -1
  305. package/dist/assets/gux-rich-text-editor-beta.entry-Cw_BO3yc.js +0 -1
  306. package/dist/assets/gux-rich-text-editor-list.entry-CdJ7d-sN.js +0 -1
  307. package/dist/assets/gux-row-select.entry-DNQoUPfo.js +0 -1
  308. package/dist/assets/gux-screen-reader-beta.entry-CIizYbtx.js +0 -1
  309. package/dist/assets/gux-segmented-control-beta.entry-Lg-TCK-1.js +0 -1
  310. package/dist/assets/gux-segmented-control-item.entry-DDTIGwB3.js +0 -1
  311. package/dist/assets/gux-selector-card-beta.entry-df35Lfih.js +0 -1
  312. package/dist/assets/gux-selector-cards-beta.entry-HqqnLkUG.js +0 -1
  313. package/dist/assets/gux-side-panel-beta.entry-BUo5l_ej.js +0 -1
  314. package/dist/assets/gux-side-panel-heading.entry-NHumDrZj.js +0 -1
  315. package/dist/assets/gux-simple-toast-legacy.entry-BOuwoL-n.js +0 -1
  316. package/dist/assets/gux-skip-navigation-item.entry-DdXOJO27.js +0 -1
  317. package/dist/assets/gux-skip-navigation-list.entry-CuUU-ew0.js +0 -1
  318. package/dist/assets/gux-sort-control.entry-CbDxt8g0.js +0 -1
  319. package/dist/assets/gux-submenu.entry-BIlJzQjJ.js +0 -1
  320. package/dist/assets/gux-switch-item.entry-Cgtmox8R.js +0 -1
  321. package/dist/assets/gux-switch-legacy.entry-DsGOmtPe.js +0 -1
  322. package/dist/assets/gux-tab-advanced-panel.entry-DIpz0Cfq.js +0 -1
  323. package/dist/assets/gux-tab-advanced.entry-BJITyN8b.js +0 -1
  324. package/dist/assets/gux-tab-list.entry-C7TvqKuP.js +0 -1
  325. package/dist/assets/gux-tab-panel.entry-C2d5THOw.js +0 -1
  326. package/dist/assets/gux-table-select-menu.entry-B0sGVIcE.js +0 -1
  327. package/dist/assets/gux-table-toolbar-action.entry-6BqIINZe.js +0 -1
  328. package/dist/assets/gux-table-toolbar-custom-action.entry-kKhiKsjX.js +0 -1
  329. package/dist/assets/gux-table-toolbar-menu-button.entry-CRgm9k5e.js +0 -1
  330. package/dist/assets/gux-table-toolbar.entry-Ba-W7m77.js +0 -1
  331. package/dist/assets/gux-table.entry-Du_lBgt-.js +0 -4
  332. package/dist/assets/gux-tabs.entry-BEULiyba.js +0 -1
  333. package/dist/assets/gux-tag.entry-BqkYTi8D.js +0 -1
  334. package/dist/assets/gux-text-highlight.entry-DOOZoYpX.js +0 -1
  335. package/dist/assets/gux-time-beta.entry-Ch9EsUkg.js +0 -1
  336. package/dist/assets/gux-time-picker.entry-Cq4RImXx.js +0 -1
  337. package/dist/assets/gux-time-zone-beta.entry-De8gNsNd.js +0 -1
  338. package/dist/assets/gux-time-zone-picker-beta.entry-Bqx6c6Qf.js +0 -1
  339. package/dist/assets/gux-toast.entry-F3efkRwy.js +0 -1
  340. package/dist/assets/gux-toggle-slider.entry-DcoVYfs5.js +0 -1
  341. package/dist/assets/gux-toggle.entry-Cu3eAfan.js +0 -1
  342. package/dist/assets/gux-tooltip-base-beta_2.entry-1gOdb2cF.js +0 -1
  343. package/dist/assets/gux-tooltip-title.entry-DjR4NFSD.js +0 -1
  344. package/dist/assets/gux-tooltip_2.entry-CKPibHyg.js +0 -1
  345. package/dist/assets/index-CWixJ8vL.js +0 -53
  346. package/dist/assets/index.umd-c0335c3a-dA6NRMYB.js +0 -7
  347. package/dist/assets/overflow-detection-7e4fbf13-BN_H74hs.js +0 -1
  348. package/dist/assets/time-zone-b2752992-DBIrkcHc.js +0 -1
  349. package/dist/assets/usage-36c49ec0-Dlq6IjQJ.js +0 -1
  350. package/dist/v1.0.0/genesys-cloud-client-auth.browser.min.js +0 -2
  351. /package/dist/assets/{after-next-render-07a41f53-C_KTwidI.js → after-next-render-Bg4q97BS-C_KTwidI.js} +0 -0
  352. /package/dist/assets/{capitalize-first-letter-404638dd-DDlMtXXu.js → capitalize-first-letter-Cf6_BoFM-DDlMtXXu.js} +0 -0
  353. /package/dist/assets/{clamp-1fc36648-DnrAwabn.js → clamp-CcCycvZh-DnrAwabn.js} +0 -0
  354. /package/dist/assets/{event-is-from-60a4bc72-BUOfvQpd.js → event-is-from-C6ZfOd6U-BUOfvQpd.js} +0 -0
  355. /package/dist/assets/{find-element-by-id-d0ce6208-DntMpzyb.js → find-element-by-id-Cr5bTKWF-DntMpzyb.js} +0 -0
  356. /package/dist/assets/{focus-input-element-8a137b12-hXwZ4F3C.js → focus-input-element-JHLuJ8Pb-hXwZ4F3C.js} +0 -0
  357. /package/dist/assets/{get-closest-element-7b2f7d5b-kuMVup89.js → get-closest-element-BZb6pJEJ-kuMVup89.js} +0 -0
  358. /package/dist/assets/{get-closest-element-728b9f18-C_5KDHD-.js → get-closest-element-Cd4R0amv-C_5KDHD-.js} +0 -0
  359. /package/dist/assets/{get-slot-41f866aa-DJNt4BpD.js → get-slot-BBpQG81s-DJNt4BpD.js} +0 -0
  360. /package/dist/assets/{get-slot-text-content-95a85429-DTSoMW52.js → get-slot-text-content-MAoEg4ig-DTSoMW52.js} +0 -0
  361. /package/dist/assets/{has-slot-f24a46a6-D7GdaS0G.js → has-slot-qzV3vtOw-D7GdaS0G.js} +0 -0
  362. /package/dist/assets/{iso-dates-c6c7180d-MS_uLuKn.js → iso-dates-aKaDsw_5-MS_uLuKn.js} +0 -0
  363. /package/dist/assets/{on-attribute-change-33919964-C8j0fVsi.js → on-attribute-change-De1NnCmO-C8j0fVsi.js} +0 -0
  364. /package/dist/assets/{on-input-disabled-state-change-27395154-_B452ZSd.js → on-input-disabled-state-change-Cb3FOYGS-_B452ZSd.js} +0 -0
  365. /package/dist/assets/{on-mutation-a222fe93-BUuUxYmY.js → on-mutation-CF55kYjc-BUuUxYmY.js} +0 -0
  366. /package/dist/assets/{prevent-browser-validation-styling-3983eb0a-8P9I4Sy5.js → prevent-browser-validation-styling-PYfNAK8p-8P9I4Sy5.js} +0 -0
  367. /package/dist/assets/{random-html-id-81ac821b-D30kRngR.js → random-html-id-D9jKBqIb-D30kRngR.js} +0 -0
  368. /package/dist/assets/{simulate-native-event-e0631897-BcLDngo1.js → simulate-native-event-BMRf5pjV-BcLDngo1.js} +0 -0
  369. /package/dist/assets/{use-regional-dates-20f9c0e5-C5bTvd2o.js → use-regional-dates-ZuNZ-MBw-C5bTvd2o.js} +0 -0
  370. /package/dist/assets/{when-event-is-from-2aac15f0-B4cyA2sH.js → when-event-is-from-kLXvN2m9-B4cyA2sH.js} +0 -0
  371. /package/dist/assets/{year-month-values-7461d213-BGOpTfvI.js → year-month-values-Dwrcabgx-BGOpTfvI.js} +0 -0
@@ -0,0 +1 @@
1
+ import{r as u,h as t,g as h}from"./index-izRZEe2n.js";import{O as p}from"./on-mutation-CUFfU3Co-Df_4vpYs.js";import{h as s}from"./has-slot-qzV3vtOw-D7GdaS0G.js";import{t as m}from"./usage-DmyA5Orv-DQlvlcfk.js";import{G as b,a as c}from"./gux-form-field-error-CfwQcitV-ChDRo9e7.js";import{G as g,a as x}from"./gux-form-field-container-BgS8zsCm-DhT6nf4u.js";import{a as v,g as y,v as C}from"./gux-form-field.service-C3WKbzwR-Dk5c2D0b.js";import{p as F}from"./prevent-browser-validation-styling-PYfNAK8p-8P9I4Sy5.js";import{o as w}from"./on-attribute-change-De1NnCmO-C8j0fVsi.js";import"./random-html-id-D9jKBqIb-D30kRngR.js";import"./log-error-DxtJDeL9-5foDqi4E.js";import"./simulate-native-event-BMRf5pjV-BcLDngo1.js";const k=".gux-form-field-container{display:flex;flex-direction:column}.gux-form-field-container.gux-beside{flex-direction:row}.gux-form-field-error{display:none;flex-direction:row;flex-wrap:nowrap;gap:var(--gse-ui-formControl-helper-gap);place-content:stretch flex-start;padding:var(--gse-ui-formControl-helper-errorPadding);font-family:var(--gse-ui-formControl-helper-helperText-fontFamily);font-size:var(--gse-ui-formControl-helper-helperText-fontSize);line-height:var(--gse-ui-formControl-helper-helperText-lineHeight);color:var(--gse-ui-formControl-helper-errorColor)}.gux-form-field-error.gux-show{display:flex}.gux-form-field-error gux-icon{flex:0 1 auto;order:0;color:var(--gse-ui-formControl-helper-errorColor)}.gux-form-field-error .gux-message{flex:0 1 auto;align-self:auto;order:0}.gux-form-field-label{display:inline-flex;flex:1 0 auto}.gux-form-field-label ::slotted(label){min-inline-size:0}.gux-form-field-label ::slotted(gux-label-info-beta){padding-inline-start:var(--gse-ui-formControl-formField-gap)}.gux-form-field-label.gux-beside{position:relative;inset-block-start:var(--gse-ui-formControl-input-top);inline-size:fit-content;min-inline-size:var(--gse-ui-formControl-input-textfield-minWidth);max-inline-size:fit-content;margin-inline-end:var(--gse-ui-formControl-group-gapItems)}.gux-form-field-label.gux-above{padding-block-end:var(--gse-ui-formControl-formField-gap)}.gux-form-field-label.gux-screenreader{position:absolute;top:auto;left:-10000px;width:1px;height:1px;overflow:hidden}.gux-form-field-help{display:none;flex-direction:row;flex-wrap:nowrap;place-content:stretch flex-start;align-items:flex-start;justify-content:flex-start;padding-block-start:var(--gse-ui-formControl-formField-gap);font-family:var(--gse-ui-formControl-helper-helperText-fontFamily);font-size:var(--gse-ui-formControl-helper-helperText-fontSize);line-height:var(--gse-ui-formControl-helper-helperText-lineHeight);color:var(--gse-ui-formControl-helper-defaultColor)}.gux-form-field-help.gux-show{display:flex}.gux-form-field-help .gux-message{flex:0 1 auto;align-self:none;order:0}:host{display:block}::slotted(label){font-family:var(--gse-ui-formControl-label-textBold-fontFamily);font-size:var(--gse-ui-formControl-label-textBold-fontSize);font-weight:var(--gse-ui-formControl-label-textBold-fontWeight);line-height:var(--gse-ui-formControl-label-textBold-lineHeight);color:var(--gse-ui-formControl-label-labelColor)}.gux-input-and-error-container{flex-grow:1}";var I=function(e,o,i,r){var a=arguments.length,l=a<3?o:r===null?r=Object.getOwnPropertyDescriptor(o,i):r,n;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")l=Reflect.decorate(e,o,i,r);else for(var f=e.length-1;f>=0;f--)(n=e[f])&&(l=(a<3?n(l):a>3?n(o,i,l):n(o,i))||l);return a>3&&l&&Object.defineProperty(o,i,l),l};const d=class{constructor(e){u(this,e),this.indicatorMark="required",this.computedLabelPosition="above",this.hasError=!1,this.hasHelp=!1,this.required=!1}onMutation(){this.labelInfo=this.root.querySelector("[slot=label-info]"),this.hasError=s(this.root,"error"),this.hasHelp=s(this.root,"help")}handleKeyup(e){var o,i;switch(e.key){case"Tab":{this.input.matches(":focus-visible")&&((o=this.labelInfo)===null||o===void 0||o.showTooltip(),this.hideLabelInfoTimeout=setTimeout(()=>{var r;(r=this.labelInfo)===null||r===void 0||r.hideTooltip()},6e3));break}default:{this.input.matches(":focus-visible")&&((i=this.labelInfo)===null||i===void 0||i.hideTooltip(),clearTimeout(this.hideLabelInfoTimeout));break}}}onFocusout(){var e;(e=this.labelInfo)===null||e===void 0||e.hideTooltip(),clearTimeout(this.hideLabelInfoTimeout)}componentWillLoad(){this.setInput(),this.setLabel(),this.hasError=s(this.root,"error"),this.hasHelp=s(this.root,"help"),this.labelInfo=this.root.querySelector("[slot=label-info]"),m(this.root,{variant:this.variant})}disconnectedCallback(){this.requiredObserver&&this.requiredObserver.disconnect()}setLabel(){this.label=this.root.querySelector('label[slot="label"]'),this.computedLabelPosition=v(this.label,this.labelPosition)}setInput(){this.input=y(this.root,'input[type="file"][slot="input"]'),F(this.input),this.required=this.input.required,this.requiredObserver=w(this.input,e=>{this.required=e}),C(this.root,this.input)}get variant(){return`fileInput-${this.labelPosition?this.labelPosition.toLowerCase():"none"}`}render(){return t(x,{key:"c81fbfa48e90ff635a168d726efb0317912e8eec",labelPosition:this.computedLabelPosition},t(g,{key:"df4978a1e3d8b36f15f6a38194513a4dc3608a38",position:this.computedLabelPosition,required:this.required},t("slot",{key:"bcb8e39bf89e2a56ae2863d9fdececb28450aa29",name:"label",onSlotchange:()=>this.setLabel()}),t("gux-form-field-label-indicator",{key:"27fe84a8081016d09788b5f054fa37cda4f5673b",variant:this.indicatorMark,required:this.required}),t("slot",{key:"faffd8212a5705085e9c279cd8b5dc209bc95b67",name:"label-info"})),t("div",{key:"92e9275b73d2952e66e0409ebc9dbe933b591c1c",class:"gux-input-and-error-container"},t("slot",{key:"976de47774150f01eab0302f77818917fcc8c5a6",name:"input",onSlotchange:()=>this.setInput()}),t(b,{key:"73113ae0f0e5447df7466f0cfb77ced4d9177078",show:this.hasError},t("slot",{key:"c55abb34569f8e1ac336698613f8846df65a35f7",name:"error"})),t(c,{key:"89df5ee890bffc28be97e4181e5450bfdb97bd91",show:!this.hasError&&this.hasHelp},t("slot",{key:"0f5a5a4124ae5bfbf8988ecd3710dd66428416cf",name:"help"}))))}get root(){return h(this)}};I([p({childList:!0,subtree:!0})],d.prototype,"onMutation",null);d.style=k;export{d as gux_form_field_file};
@@ -0,0 +1 @@
1
+ import{r as t,h as o,g as e}from"./index-izRZEe2n.js";import{t as n}from"./usage-DmyA5Orv-DQlvlcfk.js";import{b as i}from"./index-DpvjDZBY-COMXK_k2.js";import"./get-closest-element-Cd4R0amv-C_5KDHD-.js";const u="Clear";var a={clear:u};const s="button{display:flex;padding:0;color:var(--gse-ui-formControl-input-inputClearable-inputClearableColor);background:transparent;border:none;border-radius:var(--gse-ui-formControl-input-borderRadius)}button:not(:disabled):focus-visible,button:not(:disabled):hover{color:var(--gse-ui-formControl-input-inputIcon-iconEndColor);cursor:pointer}button gux-icon{border-radius:var(--gse-ui-formControl-input-borderRadius)}button:focus{outline:none}button:focus-visible:enabled gux-icon{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);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)}",l=class{constructor(r){t(this,r)}async componentWillLoad(){n(this.root),this.i18n=await i(this.root,a)}render(){return o("button",{key:"305675dae6c35eab394e01dc39155b2f352a8c5e",tabIndex:-1,type:"button",title:this.i18n("clear")},o("gux-icon",{key:"35444cb25808da5079a96c9f0c12b710726b687a","icon-name":"fa/xmark-large-regular",decorative:!0,size:"small"}))}static get delegatesFocus(){return!0}get root(){return e(this)}};l.style=s;export{l as gux_form_field_input_clear_button};
@@ -0,0 +1 @@
1
+ import{r as o,h as r,g as t}from"./index-izRZEe2n.js";import{t as e}from"./usage-DmyA5Orv-DQlvlcfk.js";import{b as a}from"./index-DpvjDZBY-COMXK_k2.js";import"./get-closest-element-Cd4R0amv-C_5KDHD-.js";const n="optional";var l={optional:n};const s=".gux-form-field-label-indicator-required{padding-inline-start:var(--gse-ui-formControl-formField-gap);color:var(--gse-ui-formControl-label-indicator-requiredColor)}.gux-form-field-label-indicator-optional{margin-inline-start:var(--gse-ui-formControl-formField-gap);font-family:var(--gse-ui-formControl-label-indicator-text-fontFamily);font-size:var(--gse-ui-formControl-label-indicator-text-fontSize);font-weight:var(--gse-ui-formControl-label-indicator-text-fontWeight);line-height:var(--gse-ui-formControl-label-indicator-text-lineHeight);color:var(--gse-ui-formControl-label-indicator-optionalColor)}",d=class{constructor(i){o(this,i),this.variant="required",this.required=!1}async componentWillLoad(){e(this.root,{variant:this.variant}),this.i18n=await a(this.root,l)}render(){return this.variant==="optional"&&!this.required?r("span",{class:"gux-form-field-label-indicator-optional"},"(",this.i18n("optional"),")"):this.variant==="required"&&this.required?r("span",{class:"gux-form-field-label-indicator-required","aria-hidden":"true"},"*"):null}get root(){return t(this)}};d.style=s;export{d as gux_form_field_label_indicator};
@@ -0,0 +1 @@
1
+ import{r as c,f as v,h as o,g as h,c as C}from"./index-izRZEe2n.js";import{b as g}from"./index-DpvjDZBY-COMXK_k2.js";import{c as y,o as k}from"./on-input-disabled-state-change-Cb3FOYGS-_B452ZSd.js";import{O as w}from"./on-mutation-CUFfU3Co-Df_4vpYs.js";import{o as I}from"./on-attribute-change-De1NnCmO-C8j0fVsi.js";import{p as O}from"./prevent-browser-validation-styling-PYfNAK8p-8P9I4Sy5.js";import{h as d,c as T,g as E,v as P,a as F,d as f}from"./gux-form-field.service-C3WKbzwR-Dk5c2D0b.js";import{s as p}from"./simulate-native-event-BMRf5pjV-BcLDngo1.js";import{h as u}from"./has-slot-qzV3vtOw-D7GdaS0G.js";import{G as z,a as L}from"./gux-form-field-error-CfwQcitV-ChDRo9e7.js";import{G as D,a as S}from"./gux-form-field-container-BgS8zsCm-DhT6nf4u.js";import{t as b}from"./usage-DmyA5Orv-DQlvlcfk.js";import{f as q}from"./focus-input-element-JHLuJ8Pb-hXwZ4F3C.js";import{t as B}from"./en-BFMPPR7N-CBlnQyQP.js";import{O as _}from"./on-click-outside-DiPeew9h-C7CY_E5Z.js";import{b as R}from"./after-next-render-Bg4q97BS-C_KTwidI.js";import"./get-closest-element-Cd4R0amv-C_5KDHD-.js";import"./random-html-id-D9jKBqIb-D30kRngR.js";import"./log-error-DxtJDeL9-5foDqi4E.js";const H="Increment",j="Decrement";var G={increment:H,decrement:j};const N=".gux-form-field-container{display:flex;flex-direction:column}.gux-form-field-container.gux-beside{flex-direction:row}.gux-form-field-error{display:none;flex-direction:row;flex-wrap:nowrap;gap:var(--gse-ui-formControl-helper-gap);place-content:stretch flex-start;padding:var(--gse-ui-formControl-helper-errorPadding);font-family:var(--gse-ui-formControl-helper-helperText-fontFamily);font-size:var(--gse-ui-formControl-helper-helperText-fontSize);line-height:var(--gse-ui-formControl-helper-helperText-lineHeight);color:var(--gse-ui-formControl-helper-errorColor)}.gux-form-field-error.gux-show{display:flex}.gux-form-field-error gux-icon{flex:0 1 auto;order:0;color:var(--gse-ui-formControl-helper-errorColor)}.gux-form-field-error .gux-message{flex:0 1 auto;align-self:auto;order:0}.gux-form-field-label{display:inline-flex;flex:1 0 auto}.gux-form-field-label ::slotted(label){min-inline-size:0}.gux-form-field-label ::slotted(gux-label-info-beta){padding-inline-start:var(--gse-ui-formControl-formField-gap)}.gux-form-field-label.gux-beside{position:relative;inset-block-start:var(--gse-ui-formControl-input-top);inline-size:fit-content;min-inline-size:var(--gse-ui-formControl-input-textfield-minWidth);max-inline-size:fit-content;margin-inline-end:var(--gse-ui-formControl-group-gapItems)}.gux-form-field-label.gux-above{padding-block-end:var(--gse-ui-formControl-formField-gap)}.gux-form-field-label.gux-screenreader{position:absolute;top:auto;left:-10000px;width:1px;height:1px;overflow:hidden}.gux-form-field-help{display:none;flex-direction:row;flex-wrap:nowrap;place-content:stretch flex-start;align-items:flex-start;justify-content:flex-start;padding-block-start:var(--gse-ui-formControl-formField-gap);font-family:var(--gse-ui-formControl-helper-helperText-fontFamily);font-size:var(--gse-ui-formControl-helper-helperText-fontSize);line-height:var(--gse-ui-formControl-helper-helperText-lineHeight);color:var(--gse-ui-formControl-helper-defaultColor)}.gux-form-field-help.gux-show{display:flex}.gux-form-field-help .gux-message{flex:0 1 auto;align-self:none;order:0}:host{display:block}::slotted(label){font-family:var(--gse-ui-formControl-label-textBold-fontFamily);font-size:var(--gse-ui-formControl-label-textBold-fontSize);font-weight:var(--gse-ui-formControl-label-textBold-fontWeight);line-height:var(--gse-ui-formControl-label-textBold-lineHeight);color:var(--gse-ui-formControl-label-labelColor)}::slotted(input){flex:1 1 auto;align-self:auto;order:0;inline-size:100%;padding-block-end:0;overflow:hidden;text-overflow:ellipsis;font-family:var(--gse-ui-formControl-input-contentText-fontFamily);font-size:var(--gse-ui-formControl-input-contentText-fontSize);font-weight:var(--gse-ui-formControl-input-contentText-fontWeight);line-height:var(--gse-ui-formControl-input-contentText-lineHeight);color:var(--gse-ui-formControl-input-populatedColor);text-align:end;outline:none;background-color:var(--gse-ui-formControl-input-backgroundColor);border:none}::slotted(input)::placeholder{color:var(--gse-ui-formControl-input-placeholderColor);opacity:1}.gux-input-and-error-container{flex-grow:1}.gux-input-and-error-container .gux-input{display:flex;flex-direction:row;flex-wrap:nowrap;align-content:stretch;align-items:center;inline-size:100%}.gux-input-and-error-container .gux-input .gux-input-container{box-sizing:border-box;display:flex;flex:1 1 auto;flex-direction:row;flex-wrap:nowrap;gap:var(--gse-ui-formControl-input-gap);place-content:stretch center;align-items:center;align-self:auto;order:0;inline-size:100%;block-size:var(--gse-ui-formControl-input-textfield-height);padding:var(--gse-ui-formControl-input-padding);font-family:var(--gse-ui-formControl-input-contentText-fontFamily);font-size:var(--gse-ui-formControl-input-contentText-fontSize);line-height:var(--gse-ui-formControl-input-contentText-lineHeight);color:var(--gse-ui-formControl-input-populatedColor);cursor:text;background-color:var(--gse-ui-formControl-input-backgroundColor);background-image:none;border:var(--gse-ui-formControl-input-default-border-width) var(--gse-ui-formControl-input-default-border-style) var(--gse-ui-formControl-input-default-border-color);border-radius:var(--gse-ui-formControl-input-borderRadius)}.gux-input-and-error-container .gux-input .gux-input-container.gux-disabled{cursor:default;opacity:var(--gse-ui-formControl-input-disabled-opacity)}.gux-input-and-error-container .gux-input .gux-input-container:focus-within{outline:var(--gse-ui-formControl-input-focus-border-width) var(--gse-ui-formControl-input-focus-border-style) var(--gse-ui-formControl-input-focus-border-color);outline-offset:var(--gse-semantic-focusOutline-offset);border:var(--gse-ui-formControl-input-active-border-width) var(--gse-ui-formControl-input-active-border-style) var(--gse-ui-formControl-input-active-border-color);border-radius:var(--gse-ui-formControl-focusRing-borderRadius)}.gux-input-and-error-container .gux-input.gux-input-error .gux-input-container{border-color:var(--gse-ui-formControl-input-error-border-color)}.gux-step-buttons-container{flex:0 1 14px;align-self:auto;order:0;margin-inline-start:var(--gse-ui-formControl-spinButton-gap)}.gux-step-buttons-container .gux-step-button{display:flex;flex:0 1 auto;align-items:center;align-self:auto;justify-content:center;order:0;padding:0;color:var(--gse-ui-formControl-input-inputIcon-defaultColor);background:transparent;border:var(--gse-ui-formControl-input-default-border-width) var(--gse-ui-formControl-input-default-border-style) transparent}.gux-step-buttons-container .gux-step-button:not(:disabled):focus-visible,.gux-step-buttons-container .gux-step-button:not(:disabled):hover{cursor:pointer;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-step-buttons-container .gux-step-button gux-icon{flex:0 0 auto;inline-size:14px;block-size:14px}";var V=function(e,t,i,n){var a=arguments.length,r=a<3?t:n===null?n=Object.getOwnPropertyDescriptor(t,i):n,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")r=Reflect.decorate(e,t,i,n);else for(var l=e.length-1;l>=0;l--)(s=e[l])&&(r=(a<3?s(r):a>3?s(t,i,r):s(t,i))||r);return a>3&&r&&Object.defineProperty(t,i,r),r};const m=class{constructor(e){c(this,e),this.indicatorMark="required",this.computedLabelPosition="above",this.hasContent=!1,this.hasError=!1,this.hasHelp=!1}onMutation(){this.labelInfo=this.root.querySelector("[slot=label-info]"),this.hasError=u(this.root,"error"),this.hasHelp=u(this.root,"help")}handleKeyup(e){var t,i;switch(e.key){case"Tab":{this.input.matches(":focus-visible")&&((t=this.labelInfo)===null||t===void 0||t.showTooltip(),this.hideLabelInfoTimeout=setTimeout(()=>{var n;(n=this.labelInfo)===null||n===void 0||n.hideTooltip()},6e3));break}default:{this.input.matches(":focus-visible")&&((i=this.labelInfo)===null||i===void 0||i.hideTooltip(),clearTimeout(this.hideLabelInfoTimeout));break}}}onFocusout(){var e;(e=this.labelInfo)===null||e===void 0||e.hideTooltip(),clearTimeout(this.hideLabelInfoTimeout)}async guxForceUpdate(){this.hasContent=d(this.input),this.hasError=u(this.root,"error"),this.hasHelp=u(this.root,"help"),v(this.root)}async componentWillLoad(){this.getI18nValue=await g(this.root,G),this.setInput(),this.setLabel(),this.labelInfo=this.root.querySelector("[slot=label-info]"),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(){const e=this.clearable&&this.hasContent&&!this.disabled;return o(S,{key:"edb6b56da16df96351ddb058dddb8d9b14e14392",labelPosition:this.computedLabelPosition},o(D,{key:"f6ea1699ba8db6572769e468fd1c97b8d305f28a",required:this.required,position:this.computedLabelPosition},o("slot",{key:"cdb3dc75c64bbfcadc13def9dab2d310e392d8fa",name:"label",onSlotchange:()=>this.setLabel()}),o("gux-form-field-label-indicator",{key:"c49ba227f4d66e5418b0c21f9e7f5c1bb6e48212",variant:this.indicatorMark,required:this.required}),o("slot",{key:"55aa21efa1f278a0e816e5c27ee99ce926dca80b",name:"label-info"})),o("div",{key:"73d9ce4436dd94c458c281ac9a288b6c101cbac9",class:"gux-input-and-error-container"},o("div",{key:"ef7d9d1f4e5be99d839ad69b6be888a208eed405",class:{"gux-input":!0,"gux-input-error":this.hasError},part:"input-section"},o("div",{key:"2611ee74b88f36ea13e737a9ca2628ce239c2723",class:{"gux-input-container":!0,"gux-disabled":this.disabled,"gux-clear":e},onClick:()=>q(this.input)},o("slot",{key:"ce295da6ddf992d86bd463ddf8145bdfdfb67788",name:"input",onSlotchange:()=>this.setInput()}),e&&o("gux-form-field-input-clear-button",{key:"7b2083a27f83ab12bca4dc3f9741029d03ab09eb",onClick:()=>T(this.input)})),this.renderStepButtons(this.input,this.getI18nValue,this.disabled)),o(z,{key:"e319a958a910322f1e5ea30eba226cd50fbf494e",show:this.hasError},o("slot",{key:"60bbbecb56a2c6e97e85f2a032853f561e946c9c",name:"error"})),o(L,{key:"33279665977b056a4d17a515cfdfb11b7fd45016",show:!this.hasError&&this.hasHelp},o("slot",{key:"eb112d1eacfd8b341a8ef72a2e1e4b673f6e6ff9",name:"help"}))))}get variant(){const e=this.labelPosition?this.labelPosition.toLowerCase():"none";return`${this.clearable?"clearable":"unclearable"}-${e}`}setInput(){this.input=E(this.root,'input[type="number"][slot="input"]'),this.hasContent=d(this.input),O(this.input),this.input.addEventListener("input",()=>{this.hasContent=d(this.input)}),this.disabled=y(this.input),this.required=this.input.required,this.disabledObserver=k(this.input,e=>{this.disabled=e}),this.requiredObserver=I(this.input,e=>{this.required=e}),P(this.root,this.input)}setLabel(){this.label=this.root.querySelector('label[slot="label"]'),this.computedLabelPosition=F(this.label,this.labelPosition)}renderStepButtons(e,t,i){return o("div",{class:"gux-step-buttons-container"},o("button",{class:"gux-step-button",tabIndex:-1,type:"button",title:t("increment"),disabled:i,onClick:()=>this.stepUp(e)},o("gux-icon",{"icon-name":"custom/chevron-up-small-regular",decorative:!0})),o("button",{class:"gux-step-button",tabIndex:-1,type:"button",title:t("decrement"),disabled:i,onClick:()=>this.stepDown(e)},o("gux-icon",{"icon-name":"custom/chevron-down-small-regular",decorative:!0})))}stepDown(e){e.value===""?f(e,e.min||"0",!1):(e.stepDown(),this.simulateNativeInputAndChangeEvents(e))}stepUp(e){e.value===""?f(e,e.min||"0",!1):(e.stepUp(),this.simulateNativeInputAndChangeEvents(e))}simulateNativeInputAndChangeEvents(e){p(e,"input"),p(e,"change")}static get delegatesFocus(){return!0}get root(){return h(this)}};V([w({childList:!0,subtree:!0})],m.prototype,"onMutation",null);m.style=N;const M="gux-button gux-icon{padding-block-start:4px}input::-webkit-outer-spin-button,input::-webkit-inner-spin-button{margin:0;-webkit-appearance:none}input[type=number]{-moz-appearance:textfield}";var U=function(e,t,i,n){var a=arguments.length,r=a<3?t:n===null?n=Object.getOwnPropertyDescriptor(t,i):n,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")r=Reflect.decorate(e,t,i,n);else for(var l=e.length-1;l>=0;l--)(s=e[l])&&(r=(a<3?s(r):a>3?s(t,i,r):s(t,i))||r);return a>3&&r&&Object.defineProperty(t,i,r),r};const x=class{constructor(e){c(this,e),this.goToPage=C(this,"goToPage",7),this.isOpen=!1,this.disabled=!1}handleKeyDown(e){const t=e.composedPath();switch(e.key){case"Escape":this.isOpen=!1,this.ellipsisButton.focus();break;case"Tab":{this.isOpen=!1;break}case"ArrowDown":case"Enter":t.includes(this.ellipsisButton)&&(e.preventDefault(),this.isOpen=!0,this.focusInputElement());break}}handleKeyup(e){switch(e.key){case" ":{e.composedPath().includes(this.ellipsisButton)&&(this.isOpen=!0,this.focusInputElement());break}}}watchIsDisabled(e){e&&(this.isOpen=!1)}toggle(){this.isOpen=!this.isOpen,this.isOpen&&this.focusInputElement()}onClickOutside(){this.isOpen=!1}focusInputElement(){R(()=>{this.inputElement.focus()})}applyInputListener(){var e;(e=this.inputElement)===null||e===void 0||e.addEventListener("keydown",t=>{const i=t.target.value.trim();(t.key=="Enter"||t.key==" ")&&(i==""?t.preventDefault():(t.preventDefault(),this.goToPage.emit(t.target.value),this.isOpen=!1))})}async componentWillLoad(){this.i18n=await g(this.root,B,"gux-pagination-buttons"),b(this.root)}componentDidLoad(){this.applyInputListener()}render(){return[o("gux-button",{key:"454441358989e2ef8054889e263e714a74b98411",accent:"ghost",id:"popover-target",type:"button",disabled:this.disabled,ref:e=>this.ellipsisButton=e,onClick:()=>this.toggle(),"aria-haspopup":"true","aria-expanded":this.isOpen.toString()},o("gux-icon",{key:"0e56ff1b9756228976929d4db5d4da5edc5437a2",screenreaderText:this.i18n("goToPage"),"icon-name":"fa/ellipsis-regular",size:"small"})),o("gux-tooltip",{key:"2eed7f75f9de5709ec09f756250c93a5c6d6852e",for:"popover-target"},o("div",{key:"d9e02b0f0f8abf8c0d18387006d534a6cb2f5d2b",slot:"content"},this.i18n("goToPage"))),o("gux-popover",{key:"dfc6e87c29e082fe2de4e7e5ca4504996fdb648b","is-open":this.isOpen,for:"popover-target"},o("span",{key:"0dff29cc2478921d133c73c56922ad42f98dc309",slot:"title"},this.i18n("goToPage")),o("gux-form-field-number",{key:"910764919a171ec5d15215856011353acd23079c"},o("input",{key:"f12b964eafa335c9626d4cf5978e7a7ab68ed196",slot:"input",type:"number",ref:e=>this.inputElement=e,min:"1",max:this.totalPages,value:"1",onKeyDown:e=>["e","E","+","-","."].includes(e.key)&&e.preventDefault()}),o("label",{key:"5175b0b5d341d49b770e29cb80ae9c5d73a35f42",slot:"label"})))]}get root(){return h(this)}static get watchers(){return{disabled:["watchIsDisabled"]}}};U([_({triggerEvents:"mousedown"})],x.prototype,"onClickOutside",null);x.style=M;export{m as gux_form_field_number,x as gux_pagination_ellipsis_button};
@@ -0,0 +1 @@
1
+ import{r as u,h as t,g as b}from"./index-izRZEe2n.js";import{b as c}from"./index-DpvjDZBY-COMXK_k2.js";import{O as p}from"./on-mutation-CUFfU3Co-Df_4vpYs.js";import{a as m,o as g}from"./on-attribute-change-De1NnCmO-C8j0fVsi.js";import{t as x}from"./usage-DmyA5Orv-DQlvlcfk.js";import{G as v,a as y}from"./gux-form-field-error-CfwQcitV-ChDRo9e7.js";import{G as C,a as w,b as F}from"./gux-form-field-fieldset-container-DKdKgWFb-DKNGK9md.js";import{h as a}from"./has-slot-qzV3vtOw-D7GdaS0G.js";import{g as f}from"./get-slot-text-content-MAoEg4ig-DTSoMW52.js";import{v as I,a as q}from"./gux-form-field.service-C3WKbzwR-Dk5c2D0b.js";import"./get-closest-element-Cd4R0amv-C_5KDHD-.js";import"./random-html-id-D9jKBqIb-D30kRngR.js";import"./log-error-DxtJDeL9-5foDqi4E.js";import"./simulate-native-event-BMRf5pjV-BcLDngo1.js";const T="Required";var k={required:T};const L=".gux-form-field-fieldset-container{display:flex;min-inline-size:0;padding:0;margin:0;border:none}.gux-form-field-fieldset-container.gux-beside{flex-direction:row}.gux-form-field-fieldset-container.gux-above{flex-direction:column}.gux-form-field-error{display:none;flex-direction:row;flex-wrap:nowrap;gap:var(--gse-ui-formControl-helper-gap);place-content:stretch flex-start;padding:var(--gse-ui-formControl-helper-errorPadding);font-family:var(--gse-ui-formControl-helper-helperText-fontFamily);font-size:var(--gse-ui-formControl-helper-helperText-fontSize);line-height:var(--gse-ui-formControl-helper-helperText-lineHeight);color:var(--gse-ui-formControl-helper-errorColor)}.gux-form-field-error.gux-show{display:flex}.gux-form-field-error gux-icon{flex:0 1 auto;order:0;color:var(--gse-ui-formControl-helper-errorColor)}.gux-form-field-error .gux-message{flex:0 1 auto;align-self:auto;order:0}.gux-form-field-help{display:none;flex-direction:row;flex-wrap:nowrap;place-content:stretch flex-start;align-items:flex-start;justify-content:flex-start;padding-block-start:var(--gse-ui-formControl-formField-gap);font-family:var(--gse-ui-formControl-helper-helperText-fontFamily);font-size:var(--gse-ui-formControl-helper-helperText-fontSize);line-height:var(--gse-ui-formControl-helper-helperText-lineHeight);color:var(--gse-ui-formControl-helper-defaultColor)}.gux-form-field-help.gux-show{display:flex}.gux-form-field-help .gux-message{flex:0 1 auto;align-self:none;order:0}.gux-form-field-visual-label{display:inline-flex;flex:1 0 auto}.gux-form-field-visual-label ::slotted(label){min-inline-size:0}.gux-form-field-visual-label ::slotted(gux-label-info-beta){padding-inline-start:var(--gse-ui-formControl-formField-gap)}.gux-form-field-visual-label.gux-beside{position:relative;inset-block-start:var(--gse-ui-formControl-input-top);inline-size:fit-content;min-inline-size:var(--gse-ui-formControl-input-textfield-minWidth);max-inline-size:fit-content;margin-inline-end:var(--gse-ui-formControl-group-gapItems)}.gux-form-field-visual-label.gux-above{padding-block-end:var(--gse-ui-formControl-formField-gap)}.gux-form-field-visual-label.gux-screenreader{display:none}.gux-form-field-screenreader-label{position:absolute;top:auto;left:-10000px;width:1px;height:1px;overflow:hidden}::slotted(label){font-family:var(--gse-ui-formControl-label-textBold-fontFamily);font-size:var(--gse-ui-formControl-label-textBold-fontSize);font-weight:var(--gse-ui-formControl-label-textBold-fontWeight);line-height:var(--gse-ui-formControl-label-textBold-lineHeight);color:var(--gse-ui-formControl-label-labelColor)}.gux-input-and-error-container{flex-grow:1}";var P=function(e,o,i,r){var s=arguments.length,l=s<3?o:r===null?r=Object.getOwnPropertyDescriptor(o,i):r,n;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")l=Reflect.decorate(e,o,i,r);else for(var d=e.length-1;d>=0;d--)(n=e[d])&&(l=(s<3?n(l):s>3?n(o,i,l):n(o,i))||l);return s>3&&l&&Object.defineProperty(o,i,l),l};const h=class{constructor(e){u(this,e),this.indicatorMark="required",this.computedLabelPosition="above",this.required=!1,this.hasError=!1,this.hasHelp=!1,this.hasLabelInfo=!1}watchValue(e){const o=this.root.querySelector("gux-phone-input-beta");o&&(o.hasError=e)}onMutation(){this.labelInfo=this.root.querySelector("[slot=label-info]"),this.hasError=a(this.root,"error"),this.hasHelp=a(this.root,"help"),this.hasLabelInfo=a(this.root,"label-info")}handleKeyup(e){var o,i;switch(e.key){case"Tab":{this.input.matches(":focus-within")&&((o=this.labelInfo)===null||o===void 0||o.showTooltip(),this.hideLabelInfoTimeout=setTimeout(()=>{var r;(r=this.labelInfo)===null||r===void 0||r.hideTooltip()},6e3));break}default:{this.input.matches(":focus-within")&&((i=this.labelInfo)===null||i===void 0||i.hideTooltip(),clearTimeout(this.hideLabelInfoTimeout));break}}}onFocusout(){var e;(e=this.labelInfo)===null||e===void 0||e.hideTooltip(),clearTimeout(this.hideLabelInfoTimeout)}async componentWillLoad(){this.getI18nValue=await c(this.root,k),this.setInput(),this.setLabel(),this.labelInfo=this.root.querySelector("[slot=label-info]"),this.hasError=a(this.root,"error"),this.hasHelp=a(this.root,"help"),this.hasLabelInfo=a(this.root,"label-info"),x(this.root,{variant:this.variant})}disconnectedCallback(){this.disabledObserver.disconnect(),this.requiredObserver.disconnect()}render(){var e;return t(F,{key:"84fb36ddae824e95b57ed1bd01658a94a3b6647b",labelPosition:this.computedLabelPosition},t(w,{key:"b9054d4ab45c67a347abcff39f938ce98c93e252"},(e=this.label)===null||e===void 0?void 0:e.textContent,this.renderText(this.getI18nValue("required"),this.required),this.renderText(f(this.root,"error"),this.hasError),this.renderText(f(this.root,"label-info"),this.hasLabelInfo)),t(C,{key:"bc002ae72821d78a90bd2c2585908b0e54e08538",position:this.computedLabelPosition,required:this.required},t("slot",{key:"6e5b2bed76416bbcc247f9263df9f40141c436f8",name:"label",onSlotchange:()=>this.setLabel()}),t("gux-form-field-label-indicator",{key:"147c97654d5598e45b84f32c3d8a9e3bf794ecca",variant:this.indicatorMark,required:this.required}),t("slot",{key:"d915277d0a0a7f6ef7b57158f7fd3ef1e3397004",name:"label-info"})),t("div",{key:"20aa48151cd584bb3f932639d2e2c5cf6d0fb1aa",class:"gux-input-and-error-container"},t("div",{key:"301d5dddcd2557cfabfa637556c8dad695d780e5",class:{"gux-input":!0,"gux-input-error":this.hasError}},t("div",{key:"02ceeccbe07de8777c292d5dc6fcfc4243009eef",class:{"gux-input-container":!0,"gux-disabled":this.disabled}},t("slot",{key:"2b40a34bfd3da43d81e5ba8b2c98be33a3bb631b"}))),t(v,{key:"defff04d82a5caf40dd2adca0eb74861618a14f9",show:this.hasError},t("slot",{key:"8bbfb9bf2dc1938027f97c163ce4940d641ff692",name:"error"})),t(y,{key:"4b9ada38eaffa65c80a24c2e035447f01c04e04a",show:!this.hasError&&this.hasHelp},t("slot",{key:"bb45642d29768d246dca2ce61e9121cc4aa34206",name:"help"}))))}renderText(e,o=!1){if(o)return" "+e}get variant(){return`phoneInput-${this.labelPosition?this.labelPosition.toLowerCase():"none"}`}setInput(){this.input=this.root.querySelector("gux-phone-input-beta"),this.disabled=this.input.disabled,this.required=this.input.required,this.disabledObserver=m(this.input,e=>{this.disabled=e}),this.requiredObserver=g(this.input,e=>{this.required=e}),I(this.root,this.input)}setLabel(){this.label=this.root.querySelector('label[slot="label"]'),this.computedLabelPosition=q(this.label,this.labelPosition)}get root(){return b(this)}static get watchers(){return{hasError:["watchValue"]}}};P([p({childList:!0,subtree:!0})],h.prototype,"onMutation",null);h.style=L;export{h as gux_form_field_phone};
@@ -0,0 +1 @@
1
+ import{r as h,h as t,g as p}from"./index-izRZEe2n.js";import{O as g}from"./on-mutation-CUFfU3Co-Df_4vpYs.js";import{h as a}from"./has-slot-qzV3vtOw-D7GdaS0G.js";import{b as m}from"./index-DpvjDZBY-COMXK_k2.js";import{a as c,G as b}from"./gux-form-field-error-CfwQcitV-ChDRo9e7.js";import{G as x,a as v,b as C}from"./gux-form-field-fieldset-container-DKdKgWFb-DKNGK9md.js";import{g as d}from"./get-slot-text-content-MAoEg4ig-DTSoMW52.js";import{t as y}from"./usage-DmyA5Orv-DQlvlcfk.js";import"./get-closest-element-Cd4R0amv-C_5KDHD-.js";const w="Required";var T={required:w};const G=".gux-form-field-fieldset-container{display:flex;min-inline-size:0;padding:0;margin:0;border:none}.gux-form-field-fieldset-container.gux-beside{flex-direction:row}.gux-form-field-fieldset-container.gux-above{flex-direction:column}.gux-form-field-error{display:none;flex-direction:row;flex-wrap:nowrap;gap:var(--gse-ui-formControl-helper-gap);place-content:stretch flex-start;padding:var(--gse-ui-formControl-helper-errorPadding);font-family:var(--gse-ui-formControl-helper-helperText-fontFamily);font-size:var(--gse-ui-formControl-helper-helperText-fontSize);line-height:var(--gse-ui-formControl-helper-helperText-lineHeight);color:var(--gse-ui-formControl-helper-errorColor)}.gux-form-field-error.gux-show{display:flex}.gux-form-field-error gux-icon{flex:0 1 auto;order:0;color:var(--gse-ui-formControl-helper-errorColor)}.gux-form-field-error .gux-message{flex:0 1 auto;align-self:auto;order:0}.gux-form-field-help{display:none;flex-direction:row;flex-wrap:nowrap;place-content:stretch flex-start;align-items:flex-start;justify-content:flex-start;padding-block-start:var(--gse-ui-formControl-formField-gap);font-family:var(--gse-ui-formControl-helper-helperText-fontFamily);font-size:var(--gse-ui-formControl-helper-helperText-fontSize);line-height:var(--gse-ui-formControl-helper-helperText-lineHeight);color:var(--gse-ui-formControl-helper-defaultColor)}.gux-form-field-help.gux-show{display:flex}.gux-form-field-help .gux-message{flex:0 1 auto;align-self:none;order:0}.gux-form-field-error{display:none;flex-direction:row;flex-wrap:nowrap;gap:var(--gse-ui-formControl-helper-gap);place-content:stretch flex-start;padding:var(--gse-ui-formControl-helper-errorPadding);font-family:var(--gse-ui-formControl-helper-helperText-fontFamily);font-size:var(--gse-ui-formControl-helper-helperText-fontSize);line-height:var(--gse-ui-formControl-helper-helperText-lineHeight);color:var(--gse-ui-formControl-helper-errorColor)}.gux-form-field-error.gux-show{display:flex}.gux-form-field-error gux-icon{flex:0 1 auto;order:0;color:var(--gse-ui-formControl-helper-errorColor)}.gux-form-field-error .gux-message{flex:0 1 auto;align-self:auto;order:0}.gux-form-field-help{display:none;flex-direction:row;flex-wrap:nowrap;place-content:stretch flex-start;align-items:flex-start;justify-content:flex-start;padding-block-start:var(--gse-ui-formControl-formField-gap);font-family:var(--gse-ui-formControl-helper-helperText-fontFamily);font-size:var(--gse-ui-formControl-helper-helperText-fontSize);line-height:var(--gse-ui-formControl-helper-helperText-lineHeight);color:var(--gse-ui-formControl-helper-defaultColor)}.gux-form-field-help.gux-show{display:flex}.gux-form-field-help .gux-message{flex:0 1 auto;align-self:none;order:0}.gux-form-field-visual-label{display:inline-flex;flex:1 0 auto}.gux-form-field-visual-label ::slotted(label){min-inline-size:0}.gux-form-field-visual-label ::slotted(gux-label-info-beta){padding-inline-start:var(--gse-ui-formControl-formField-gap)}.gux-form-field-visual-label.gux-beside{position:relative;inset-block-start:var(--gse-ui-formControl-input-top);inline-size:fit-content;min-inline-size:var(--gse-ui-formControl-input-textfield-minWidth);max-inline-size:fit-content;margin-inline-end:var(--gse-ui-formControl-group-gapItems)}.gux-form-field-visual-label.gux-above{padding-block-end:var(--gse-ui-formControl-formField-gap)}.gux-form-field-visual-label.gux-screenreader{display:none}.gux-form-field-screenreader-label{position:absolute;top:auto;left:-10000px;width:1px;height:1px;overflow:hidden}:host{display:block}::slotted(gux-form-field-radio){padding-block-start:var(--gse-ui-formControl-group-gapItems)}::slotted(gux-form-field-radio:first-of-type){padding-block-start:0}:host([disabled]) ::slotted(label){opacity:var(--gse-ui-formControl-input-disabled-opacity)}::slotted(label){font-family:var(--gse-ui-formControl-label-textBold-fontFamily);font-size:var(--gse-ui-formControl-label-textBold-fontSize);font-weight:var(--gse-ui-formControl-label-textBold-fontWeight);line-height:var(--gse-ui-formControl-label-textBold-lineHeight);color:var(--gse-ui-formControl-label-labelColor)}";var F=function(e,o,r,l){var s=arguments.length,i=s<3?o:l===null?l=Object.getOwnPropertyDescriptor(o,r):l,n;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")i=Reflect.decorate(e,o,r,l);else for(var f=e.length-1;f>=0;f--)(n=e[f])&&(i=(s<3?n(i):s>3?n(o,r,i):n(o,r))||i);return s>3&&i&&Object.defineProperty(o,r,i),i};const u=class{constructor(e){h(this,e),this.required=!1,this.indicatorMark="required",this.hasGroupError=!1,this.hasGroupHelp=!1,this.hasGroupLabelInfo=!1,this.disabled=!1}watchGroupError(e){const o=this.root.querySelectorAll("gux-form-field-radio");o&&o.forEach(r=>{r.hasGroupError=e})}watchDisabled(){this.setDisabledRadio()}onMutation(){this.groupLabelInfo=this.root.querySelector("[slot=group-label-info]"),this.hasGroupError=a(this.root,"group-error"),this.hasGroupHelp=a(this.root,"group-help")}handleKeyup(e){var o,r;switch(e.key){case"Tab":{this.root.matches(":focus-within")&&((o=this.groupLabelInfo)===null||o===void 0||o.showTooltip(),this.hideTooltipTimeout=setTimeout(()=>{var l;(l=this.groupLabelInfo)===null||l===void 0||l.hideTooltip()},6e3));break}default:{this.root.matches(":focus-within")&&((r=this.groupLabelInfo)===null||r===void 0||r.hideTooltip(),clearTimeout(this.hideTooltipTimeout));break}}}onFocusout(){var e;(e=this.groupLabelInfo)===null||e===void 0||e.hideTooltip(),clearTimeout(this.hideTooltipTimeout)}async componentWillLoad(){this.getI18nValue=await m(this.root,T),this.groupLabelInfo=this.root.querySelector("[slot=group-label-info]"),this.hasGroupError=a(this.root,"group-error"),this.hasGroupHelp=a(this.root,"group-help"),this.hasGroupLabelInfo=a(this.root,"group-label-info"),this.setLabel(),this.setDisabledRadio(),y(this.root)}disconnectedCallback(){this.disabledObserver&&this.disabledObserver.disconnect()}setDisabledRadio(){const e=this.root.querySelectorAll("gux-form-field-radio");e&&e.forEach(o=>{o.hasGroupDisabled=this.disabled})}renderText(e,o=!1){if(o)return" "+e}render(){var e;return t(C,{key:"fad484fb7fa8ec26abc118586b82c66b5952915c",labelPosition:"above",disabled:this.disabled},t(v,{key:"e8446de191e32faf08297a3baaa710caceda7290"},(e=this.label)===null||e===void 0?void 0:e.textContent,this.renderText(this.getI18nValue("required"),this.required),this.renderText(d(this.root,"group-error"),this.hasGroupError),this.renderText(d(this.root,"group-help"),this.hasGroupHelp),this.renderText(d(this.root,"group-label-info"),this.hasGroupLabelInfo)),t(x,{key:"ee8f1870612c16fd90dfa7ae69155abdd0768013",position:"above",required:this.required},t("slot",{key:"6b20419b25b7b7381740834b42d6f057db18ad2a",name:"group-label",onSlotchange:()=>this.setLabel()}),t("gux-form-field-label-indicator",{key:"de00848bbb489b3db197dfd92328940f529cc85c",variant:this.indicatorMark,required:this.required}),t("slot",{key:"d1bd07ac555ca287b40a850458b212f0ea13728d",name:"group-label-info"})),t("slot",{key:"525f68e3742ae671bdf928c8578581893eddca07"}),t(b,{key:"46e74e1785062aab209be58ac7a34d4f9041353f",show:this.hasGroupError},t("slot",{key:"41824728fe7ae908f4428147f3f3696c7d139c5e",name:"group-error"})),t(c,{key:"1e3c4ab5237c81ed55d6d075f5d0c6983c04dbd7",show:!this.hasGroupError&&this.hasGroupHelp},t("slot",{key:"b89ae47b91befcb31fbca744ea3a5768ffe40060",name:"group-help"})))}setLabel(){this.label=this.root.querySelector('label[slot="group-label"]')}get root(){return p(this)}static get watchers(){return{hasGroupError:["watchGroupError"],disabled:["watchDisabled"]}}};F([g({childList:!0,subtree:!0})],u.prototype,"onMutation",null);u.style=G;export{u as gux_form_field_radio_group_beta};
@@ -1 +1 @@
1
- import{r as g,h as e,H as C,g as p}from"./index-CWixJ8vL.js";import{c as f,o as h}from"./on-input-disabled-state-change-27395154-_B452ZSd.js";import{O as c}from"./on-mutation-751e68e4-BRlz63Dw.js";import{p as m}from"./prevent-browser-validation-styling-3983eb0a-8P9I4Sy5.js";import{h as d}from"./has-slot-f24a46a6-D7GdaS0G.js";import{a as v,G as b}from"./gux-form-field-error-acb40a19-CkSp2BAb.js";import{g as x,v as w}from"./gux-form-field.service-173b5dfc-D3T_t5F5.js";import{t as y}from"./usage-36c49ec0-Dlq6IjQJ.js";import"./random-html-id-81ac821b-D30kRngR.js";import"./log-error-274efeb7-BpRSdGLj.js";import"./simulate-native-event-e0631897-BcLDngo1.js";const k=`.gux-form-field-error{display:none;flex-direction:row;flex-wrap:nowrap;gap:var(--gse-ui-formControl-helper-gap);place-content:stretch flex-start;padding:var(--gse-ui-formControl-helper-errorPadding);font-family:var(--gse-ui-formControl-helper-helperText-fontFamily);font-size:var(--gse-ui-formControl-helper-helperText-fontSize);line-height:var(--gse-ui-formControl-helper-helperText-lineHeight);color:var(--gse-ui-formControl-helper-errorColor)}.gux-form-field-error.gux-show{display:flex}.gux-form-field-error gux-icon{flex:0 1 auto;order:0;color:var(--gse-ui-formControl-helper-errorColor)}.gux-form-field-error .gux-message{flex:0 1 auto;align-self:auto;order:0}.gux-form-field-help{display:none;flex-direction:row;flex-wrap:nowrap;place-content:stretch flex-start;align-items:flex-start;justify-content:flex-start;padding-block-start:var(--gse-ui-formControl-formField-gap);font-family:var(--gse-ui-formControl-helper-helperText-fontFamily);font-size:var(--gse-ui-formControl-helper-helperText-fontSize);line-height:var(--gse-ui-formControl-helper-helperText-lineHeight);color:var(--gse-ui-formControl-helper-defaultColor)}.gux-form-field-help.gux-show{display:flex}.gux-form-field-help .gux-message{flex:0 1 auto;align-self:none;order:0}:host{display:block;padding-block-start:4px}: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{-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");background:var(--gse-ui-radioButton-icon-error-foregroundColor)}:host(.gux-input-error) ::slotted(input[type=radio]:not(:checked))::before{-webkit-mask-image:url("data:image/svg+xml,%3Csvg viewBox='0 0 16 16' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='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");background:var(--gse-ui-radioButton-icon-error-foregroundColor)}: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;gap:var(--gse-ui-radioButton-helper-gap)}.gux-input-label .gux-label{display:flex;flex-direction:column;line-height:var(--gse-ui-radioButton-label-text-lineHeight)}.gux-input-label .gux-input{line-height:16px}::slotted(input[type=radio]){display:inline-grid;inline-size:var(--gse-ui-radioButton-icon-width);block-size:var(--gse-ui-radioButton-icon-height);margin:0;vertical-align:middle;color:var(--gse-ui-radioButton-icon-default-unselectedForegroundColor);text-align:center;-webkit-appearance:none;appearance:none;cursor:pointer;outline:none;border:0}::slotted(input[type=radio])::before{grid-area:1/1;content:"";border-radius:50%}::slotted(input[type=radio]:focus-visible){outline:var(--gse-ui-radioButton-focus-border-width) var(--gse-ui-radioButton-focus-border-style) var(--gse-ui-radioButton-focus-border-color);outline-offset:var(--gse-semantic-focusOutline-offset);border-radius:var(--gse-ui-radioButton-focus-borderRadius)}::slotted(input[type=radio]:not(:checked))::before{-webkit-mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='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");background:var(--gse-ui-radioButton-icon-default-unselectedForegroundColor)}::slotted(input[type=radio]:not(:checked):not(:disabled):hover)::before{-webkit-mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M16 8C16 12.4187 12.4187 16 8 16C3.58125 16 0 12.4187 0 8C0 3.58125 3.58125 0 8 0C12.4187 0 16 3.58125 16 8ZM8 1.5C4.40937 1.5 1.5 4.40937 1.5 8C1.5 11.5906 4.40937 14.5 8 14.5C11.5906 14.5 14.5 11.5906 14.5 8C14.5 4.40937 11.5906 1.5 8 1.5Z' fill-rule='evenodd' clip-rule='evenodd' /%3E%3C/svg%3E");mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M16 8C16 12.4187 12.4187 16 8 16C3.58125 16 0 12.4187 0 8C0 3.58125 3.58125 0 8 0C12.4187 0 16 3.58125 16 8ZM8 1.5C4.40937 1.5 1.5 4.40937 1.5 8C1.5 11.5906 4.40937 14.5 8 14.5C11.5906 14.5 14.5 11.5906 14.5 8C14.5 4.40937 11.5906 1.5 8 1.5Z' fill-rule='evenodd' clip-rule='evenodd' /%3E%3C/svg%3E");background:var(--gse-ui-radioButton-icon-hover-foregroundColor)}::slotted(input[type=radio]:checked:not(:disabled):hover)::before{-webkit-mask-image:url("data:image/svg+xml,%3Csvg viewBox='0 0 16 16' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M5 8C5 6.31563 6.31563 5 8 5C9.65625 5 11 6.31563 11 8C11 9.65625 9.65625 11 8 11C6.31563 11 5 9.65625 5 8ZM16 8C16 12.4187 12.4187 16 8 16C3.58125 16 0 12.4187 0 8C0 3.58125 3.58125 0 8 0C12.4187 0 16 3.58125 16 8ZM8 1.5C4.40938 1.5 1.5 4.40938 1.5 8C1.5 11.5906 4.40938 14.5 8 14.5C11.5906 14.5 14.5 11.5906 14.5 8C14.5 4.40938 11.5906 1.5 8 1.5Z' /%3E%3C/svg%3E");mask-image:url("data:image/svg+xml,%3Csvg viewBox='0 0 16 16' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M5 8C5 6.31563 6.31563 5 8 5C9.65625 5 11 6.31563 11 8C11 9.65625 9.65625 11 8 11C6.31563 11 5 9.65625 5 8ZM16 8C16 12.4187 12.4187 16 8 16C3.58125 16 0 12.4187 0 8C0 3.58125 3.58125 0 8 0C12.4187 0 16 3.58125 16 8ZM8 1.5C4.40938 1.5 1.5 4.40938 1.5 8C1.5 11.5906 4.40938 14.5 8 14.5C11.5906 14.5 14.5 11.5906 14.5 8C14.5 4.40938 11.5906 1.5 8 1.5Z' /%3E%3C/svg%3E");background:var(--gse-ui-radioButton-icon-hover-foregroundColor)}::slotted(input[type=radio]:checked)::before{-webkit-mask-image:url("data:image/svg+xml,%3Csvg viewBox='0 0 16 16' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M5 8C5 6.31563 6.31563 5 8 5C9.65625 5 11 6.31563 11 8C11 9.65625 9.65625 11 8 11C6.31563 11 5 9.65625 5 8ZM16 8C16 12.4187 12.4187 16 8 16C3.58125 16 0 12.4187 0 8C0 3.58125 3.58125 0 8 0C12.4187 0 16 3.58125 16 8ZM8 1.5C4.40938 1.5 1.5 4.40938 1.5 8C1.5 11.5906 4.40938 14.5 8 14.5C11.5906 14.5 14.5 11.5906 14.5 8C14.5 4.40938 11.5906 1.5 8 1.5Z' /%3E%3C/svg%3E");mask-image:url("data:image/svg+xml,%3Csvg viewBox='0 0 16 16' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M5 8C5 6.31563 6.31563 5 8 5C9.65625 5 11 6.31563 11 8C11 9.65625 9.65625 11 8 11C6.31563 11 5 9.65625 5 8ZM16 8C16 12.4187 12.4187 16 8 16C3.58125 16 0 12.4187 0 8C0 3.58125 3.58125 0 8 0C12.4187 0 16 3.58125 16 8ZM8 1.5C4.40938 1.5 1.5 4.40938 1.5 8C1.5 11.5906 4.40938 14.5 8 14.5C11.5906 14.5 14.5 11.5906 14.5 8C14.5 4.40938 11.5906 1.5 8 1.5Z' /%3E%3C/svg%3E");background:var(--gse-ui-radioButton-icon-default-selectedForegroundColor)}::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);vertical-align:middle;color:var(--gse-ui-radioButton-label-foregroundColor)}`,E=k;var B=function(r,t,i,a){var l=arguments.length,o=l<3?t:a===null?a=Object.getOwnPropertyDescriptor(t,i):a,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")o=Reflect.decorate(r,t,i,a);else for(var n=r.length-1;n>=0;n--)(s=r[n])&&(o=(l<3?s(o):l>3?s(t,i,o):s(t,i))||o);return l>3&&o&&Object.defineProperty(t,i,o),o};const u=class{constructor(r){g(this,r),this.hasHelp=!1,this.hasError=!1,this.hasGroupError=!1,this.hasGroupDisabled=!1}onMutation(){this.hasError=d(this.root,"error"),this.hasHelp=d(this.root,"help")}componentWillLoad(){this.setInput(),this.hasError=d(this.root,"error"),this.hasHelp=d(this.root,"help"),y(this.root)}disconnectedCallback(){this.disabledObserver&&this.disabledObserver.disconnect()}render(){return e(C,{key:"de3fda5119a9a1e3f7667003a707cebfe8481215",class:{"gux-input-error":this.hasError||this.hasGroupError,"gux-disabled":this.disabled}},e("div",{key:"a5c8d934b0a667721719a1a0120f3011851cc8e0",class:"gux-form-field-container","aria-disabled":this.disabled?"true":"false"},e("div",{key:"7a7d083af4f8dcf7176138a58fa65f8ab3b8960d",class:"gux-input-label"},e("div",{key:"cd988f3a382584509dc07579e5b55af3b1bca069",class:"gux-input"},e("slot",{key:"d70eb9b526acda2e6aa329cbd2afb64114a95cc1",name:"input",onSlotchange:()=>this.setInput()})),e("div",{key:"b886e8225d37901f994ddd3fb27c55605eaed0e1",class:"gux-label"},e("slot",{key:"21beb636f226754b437756d817b3f4ad5b640e8b",name:"label"}))),e("div",{key:"a9ed50aeef9a4bc393d9d2c1c92aae83e859b346",class:"error-and-help-text"},e(v,{key:"19b981342e9606b7e9ac33bc3bc32ea7e1e6be0a",show:this.hasError},e("slot",{key:"79673efcd02248572efd601f23bb2b801eb70cd2",name:"error"})),e(b,{key:"766fc93ebffacf73434969b7cb3ea56f187b431d",show:!this.hasError&&this.hasHelp},e("slot",{key:"f32e6c16543de2cc803fa8a5d92e5b7e430b4782",name:"help"})))))}setInput(){this.input=x(this.root,'input[type="radio"][slot="input"]'),this.hasGroupDisabled&&(this.input.disabled=!0),m(this.input),this.disabled=f(this.input),this.disabledObserver=h(this.input,r=>{this.disabled=r}),w(this.root,this.input)}get root(){return p(this)}};B([c({childList:!0,subtree:!0})],u.prototype,"onMutation",null);u.style=E;export{u as gux_form_field_radio};
1
+ import{r as g,h as e,H as C,g as p}from"./index-izRZEe2n.js";import{c as f,o as h}from"./on-input-disabled-state-change-Cb3FOYGS-_B452ZSd.js";import{O as c}from"./on-mutation-CUFfU3Co-Df_4vpYs.js";import{p as m}from"./prevent-browser-validation-styling-PYfNAK8p-8P9I4Sy5.js";import{h as d}from"./has-slot-qzV3vtOw-D7GdaS0G.js";import{G as v,a as b}from"./gux-form-field-error-CfwQcitV-ChDRo9e7.js";import{g as x,v as w}from"./gux-form-field.service-C3WKbzwR-Dk5c2D0b.js";import{t as y}from"./usage-DmyA5Orv-DQlvlcfk.js";import"./random-html-id-D9jKBqIb-D30kRngR.js";import"./log-error-DxtJDeL9-5foDqi4E.js";import"./simulate-native-event-BMRf5pjV-BcLDngo1.js";const k=`.gux-form-field-error{display:none;flex-direction:row;flex-wrap:nowrap;gap:var(--gse-ui-formControl-helper-gap);place-content:stretch flex-start;padding:var(--gse-ui-formControl-helper-errorPadding);font-family:var(--gse-ui-formControl-helper-helperText-fontFamily);font-size:var(--gse-ui-formControl-helper-helperText-fontSize);line-height:var(--gse-ui-formControl-helper-helperText-lineHeight);color:var(--gse-ui-formControl-helper-errorColor)}.gux-form-field-error.gux-show{display:flex}.gux-form-field-error gux-icon{flex:0 1 auto;order:0;color:var(--gse-ui-formControl-helper-errorColor)}.gux-form-field-error .gux-message{flex:0 1 auto;align-self:auto;order:0}.gux-form-field-help{display:none;flex-direction:row;flex-wrap:nowrap;place-content:stretch flex-start;align-items:flex-start;justify-content:flex-start;padding-block-start:var(--gse-ui-formControl-formField-gap);font-family:var(--gse-ui-formControl-helper-helperText-fontFamily);font-size:var(--gse-ui-formControl-helper-helperText-fontSize);line-height:var(--gse-ui-formControl-helper-helperText-lineHeight);color:var(--gse-ui-formControl-helper-defaultColor)}.gux-form-field-help.gux-show{display:flex}.gux-form-field-help .gux-message{flex:0 1 auto;align-self:none;order:0}:host{display:block;padding-block-start:4px}: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{-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");background:var(--gse-ui-radioButton-icon-error-foregroundColor)}:host(.gux-input-error) ::slotted(input[type=radio]:not(:checked))::before{-webkit-mask-image:url("data:image/svg+xml,%3Csvg viewBox='0 0 16 16' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='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");background:var(--gse-ui-radioButton-icon-error-foregroundColor)}: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;gap:var(--gse-ui-radioButton-helper-gap)}.gux-input-label .gux-label{display:flex;flex-direction:column;line-height:var(--gse-ui-radioButton-label-text-lineHeight)}.gux-input-label .gux-input{line-height:16px}::slotted(input[type=radio]){display:inline-grid;inline-size:var(--gse-ui-radioButton-icon-width);block-size:var(--gse-ui-radioButton-icon-height);margin:0;vertical-align:middle;color:var(--gse-ui-radioButton-icon-default-unselectedForegroundColor);text-align:center;-webkit-appearance:none;appearance:none;cursor:pointer;outline:none;border:0}::slotted(input[type=radio])::before{grid-area:1/1;content:"";border-radius:50%}::slotted(input[type=radio]:focus-visible){outline:var(--gse-ui-radioButton-focus-border-width) var(--gse-ui-radioButton-focus-border-style) var(--gse-ui-radioButton-focus-border-color);outline-offset:var(--gse-semantic-focusOutline-offset);border-radius:var(--gse-ui-radioButton-focus-borderRadius)}::slotted(input[type=radio]:not(:checked))::before{-webkit-mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='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");background:var(--gse-ui-radioButton-icon-default-unselectedForegroundColor)}::slotted(input[type=radio]:not(:checked):not(:disabled):hover)::before{-webkit-mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M16 8C16 12.4187 12.4187 16 8 16C3.58125 16 0 12.4187 0 8C0 3.58125 3.58125 0 8 0C12.4187 0 16 3.58125 16 8ZM8 1.5C4.40937 1.5 1.5 4.40937 1.5 8C1.5 11.5906 4.40937 14.5 8 14.5C11.5906 14.5 14.5 11.5906 14.5 8C14.5 4.40937 11.5906 1.5 8 1.5Z' fill-rule='evenodd' clip-rule='evenodd' /%3E%3C/svg%3E");mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M16 8C16 12.4187 12.4187 16 8 16C3.58125 16 0 12.4187 0 8C0 3.58125 3.58125 0 8 0C12.4187 0 16 3.58125 16 8ZM8 1.5C4.40937 1.5 1.5 4.40937 1.5 8C1.5 11.5906 4.40937 14.5 8 14.5C11.5906 14.5 14.5 11.5906 14.5 8C14.5 4.40937 11.5906 1.5 8 1.5Z' fill-rule='evenodd' clip-rule='evenodd' /%3E%3C/svg%3E");background:var(--gse-ui-radioButton-icon-hover-foregroundColor)}::slotted(input[type=radio]:checked:not(:disabled):hover)::before{-webkit-mask-image:url("data:image/svg+xml,%3Csvg viewBox='0 0 16 16' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M5 8C5 6.31563 6.31563 5 8 5C9.65625 5 11 6.31563 11 8C11 9.65625 9.65625 11 8 11C6.31563 11 5 9.65625 5 8ZM16 8C16 12.4187 12.4187 16 8 16C3.58125 16 0 12.4187 0 8C0 3.58125 3.58125 0 8 0C12.4187 0 16 3.58125 16 8ZM8 1.5C4.40938 1.5 1.5 4.40938 1.5 8C1.5 11.5906 4.40938 14.5 8 14.5C11.5906 14.5 14.5 11.5906 14.5 8C14.5 4.40938 11.5906 1.5 8 1.5Z' /%3E%3C/svg%3E");mask-image:url("data:image/svg+xml,%3Csvg viewBox='0 0 16 16' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M5 8C5 6.31563 6.31563 5 8 5C9.65625 5 11 6.31563 11 8C11 9.65625 9.65625 11 8 11C6.31563 11 5 9.65625 5 8ZM16 8C16 12.4187 12.4187 16 8 16C3.58125 16 0 12.4187 0 8C0 3.58125 3.58125 0 8 0C12.4187 0 16 3.58125 16 8ZM8 1.5C4.40938 1.5 1.5 4.40938 1.5 8C1.5 11.5906 4.40938 14.5 8 14.5C11.5906 14.5 14.5 11.5906 14.5 8C14.5 4.40938 11.5906 1.5 8 1.5Z' /%3E%3C/svg%3E");background:var(--gse-ui-radioButton-icon-hover-foregroundColor)}::slotted(input[type=radio]:checked)::before{-webkit-mask-image:url("data:image/svg+xml,%3Csvg viewBox='0 0 16 16' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M5 8C5 6.31563 6.31563 5 8 5C9.65625 5 11 6.31563 11 8C11 9.65625 9.65625 11 8 11C6.31563 11 5 9.65625 5 8ZM16 8C16 12.4187 12.4187 16 8 16C3.58125 16 0 12.4187 0 8C0 3.58125 3.58125 0 8 0C12.4187 0 16 3.58125 16 8ZM8 1.5C4.40938 1.5 1.5 4.40938 1.5 8C1.5 11.5906 4.40938 14.5 8 14.5C11.5906 14.5 14.5 11.5906 14.5 8C14.5 4.40938 11.5906 1.5 8 1.5Z' /%3E%3C/svg%3E");mask-image:url("data:image/svg+xml,%3Csvg viewBox='0 0 16 16' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M5 8C5 6.31563 6.31563 5 8 5C9.65625 5 11 6.31563 11 8C11 9.65625 9.65625 11 8 11C6.31563 11 5 9.65625 5 8ZM16 8C16 12.4187 12.4187 16 8 16C3.58125 16 0 12.4187 0 8C0 3.58125 3.58125 0 8 0C12.4187 0 16 3.58125 16 8ZM8 1.5C4.40938 1.5 1.5 4.40938 1.5 8C1.5 11.5906 4.40938 14.5 8 14.5C11.5906 14.5 14.5 11.5906 14.5 8C14.5 4.40938 11.5906 1.5 8 1.5Z' /%3E%3C/svg%3E");background:var(--gse-ui-radioButton-icon-default-selectedForegroundColor)}::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);vertical-align:middle;color:var(--gse-ui-radioButton-label-foregroundColor)}`;var E=function(r,t,a,i){var l=arguments.length,o=l<3?t:i===null?i=Object.getOwnPropertyDescriptor(t,a):i,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")o=Reflect.decorate(r,t,a,i);else for(var n=r.length-1;n>=0;n--)(s=r[n])&&(o=(l<3?s(o):l>3?s(t,a,o):s(t,a))||o);return l>3&&o&&Object.defineProperty(t,a,o),o};const u=class{constructor(r){g(this,r),this.hasHelp=!1,this.hasError=!1,this.hasGroupError=!1,this.hasGroupDisabled=!1}onMutation(){this.hasError=d(this.root,"error"),this.hasHelp=d(this.root,"help")}componentWillLoad(){this.setInput(),this.hasError=d(this.root,"error"),this.hasHelp=d(this.root,"help"),y(this.root)}disconnectedCallback(){this.disabledObserver&&this.disabledObserver.disconnect()}render(){return e(C,{key:"e9b9c79eb41ac2d19d0bcc932f7ec95a199b9903",class:{"gux-input-error":this.hasError||this.hasGroupError,"gux-disabled":this.disabled}},e("div",{key:"1da2143e7a310bcbc1516e59e15c9b4fd9f26fdd",class:"gux-form-field-container","aria-disabled":this.disabled?"true":"false"},e("div",{key:"93853b97a827184389f35d5b280d11977c099ca8",class:"gux-input-label"},e("div",{key:"8f0c0905566540f255a83de16db9a89b3421876a",class:"gux-input"},e("slot",{key:"946aeb85de8bc850756baf6a60e72dc05eff2de6",name:"input",onSlotchange:()=>this.setInput()})),e("div",{key:"5b4cdf94ddff3cc059fe5ac76abfa52ca4db01e1",class:"gux-label"},e("slot",{key:"aab275c888fc44566fdbeae133e1950addbff70e",name:"label"}))),e("div",{key:"5b06a11563515764b09ce8d66f9c9ed8600f63ba",class:"error-and-help-text"},e(v,{key:"db447c98e56b06fca8a73c5db54b7a2af8ff0a3c",show:this.hasError},e("slot",{key:"372a75fe6ac5a8144b5a516049de6d334b4dff44",name:"error"})),e(b,{key:"1aecda0403524cbf79fa34e572d83d22a9cab2a9",show:!this.hasError&&this.hasHelp},e("slot",{key:"221aae6237ca1072200759a0ee0fe75c0e227e8b",name:"help"})))))}setInput(){this.input=x(this.root,'input[type="radio"][slot="input"]'),this.hasGroupDisabled&&(this.input.disabled=!0),m(this.input),this.disabled=f(this.input),this.disabledObserver=h(this.input,r=>{this.disabled=r}),w(this.root,this.input)}get root(){return p(this)}};E([c({childList:!0,subtree:!0})],u.prototype,"onMutation",null);u.style=k;export{u as gux_form_field_radio};
@@ -0,0 +1 @@
1
+ import{r as p,f as c,h as t,H as b,g as m}from"./index-izRZEe2n.js";import{c as x,o as v}from"./on-input-disabled-state-change-Cb3FOYGS-_B452ZSd.js";import{O as y}from"./on-mutation-CUFfU3Co-Df_4vpYs.js";import{o as k}from"./on-attribute-change-De1NnCmO-C8j0fVsi.js";import{p as C}from"./prevent-browser-validation-styling-PYfNAK8p-8P9I4Sy5.js";import{h as u}from"./has-slot-qzV3vtOw-D7GdaS0G.js";import{G as S,a as w}from"./gux-form-field-error-CfwQcitV-ChDRo9e7.js";import{a as I,G as F}from"./gux-form-field-container-BgS8zsCm-DhT6nf4u.js";import{g as z,v as T,a as E}from"./gux-form-field.service-C3WKbzwR-Dk5c2D0b.js";import{t as P}from"./usage-DmyA5Orv-DQlvlcfk.js";import{O as L}from"./on-resize-CtIUZ42_-Bh48CrvG.js";import"./random-html-id-D9jKBqIb-D30kRngR.js";import"./log-error-DxtJDeL9-5foDqi4E.js";import"./simulate-native-event-BMRf5pjV-BcLDngo1.js";const q=".gux-form-field-container{display:flex;flex-direction:column}.gux-form-field-container.gux-beside{flex-direction:row}.gux-form-field-error{display:none;flex-direction:row;flex-wrap:nowrap;gap:var(--gse-ui-formControl-helper-gap);place-content:stretch flex-start;padding:var(--gse-ui-formControl-helper-errorPadding);font-family:var(--gse-ui-formControl-helper-helperText-fontFamily);font-size:var(--gse-ui-formControl-helper-helperText-fontSize);line-height:var(--gse-ui-formControl-helper-helperText-lineHeight);color:var(--gse-ui-formControl-helper-errorColor)}.gux-form-field-error.gux-show{display:flex}.gux-form-field-error gux-icon{flex:0 1 auto;order:0;color:var(--gse-ui-formControl-helper-errorColor)}.gux-form-field-error .gux-message{flex:0 1 auto;align-self:auto;order:0}.gux-form-field-label{display:inline-flex;flex:1 0 auto}.gux-form-field-label ::slotted(label){min-inline-size:0}.gux-form-field-label ::slotted(gux-label-info-beta){padding-inline-start:var(--gse-ui-formControl-formField-gap)}.gux-form-field-label.gux-beside{position:relative;inset-block-start:var(--gse-ui-formControl-input-top);inline-size:fit-content;min-inline-size:var(--gse-ui-formControl-input-textfield-minWidth);max-inline-size:fit-content;margin-inline-end:var(--gse-ui-formControl-group-gapItems)}.gux-form-field-label.gux-above{padding-block-end:var(--gse-ui-formControl-formField-gap)}.gux-form-field-label.gux-screenreader{position:absolute;top:auto;left:-10000px;width:1px;height:1px;overflow:hidden}.gux-form-field-help{display:none;flex-direction:row;flex-wrap:nowrap;place-content:stretch flex-start;align-items:flex-start;justify-content:flex-start;padding-block-start:var(--gse-ui-formControl-formField-gap);font-family:var(--gse-ui-formControl-helper-helperText-fontFamily);font-size:var(--gse-ui-formControl-helper-helperText-fontSize);line-height:var(--gse-ui-formControl-helper-helperText-lineHeight);color:var(--gse-ui-formControl-helper-defaultColor)}.gux-form-field-help.gux-show{display:flex}.gux-form-field-help .gux-message{flex:0 1 auto;align-self:none;order:0}:host{display:block}::slotted(label){font-family:var(--gse-ui-formControl-label-textBold-fontFamily);font-size:var(--gse-ui-formControl-label-textBold-fontSize);font-weight:var(--gse-ui-formControl-label-textBold-fontWeight);line-height:var(--gse-ui-formControl-label-textBold-lineHeight);color:var(--gse-ui-formControl-label-labelColor)}::slotted(input[type=range]){position:absolute;inline-size:100%;block-size:var(--gse-ui-rangeSlider-bar-height);margin-block:calc(var(--gse-ui-rangeSlider-handle-height) / 2);margin-block-start:calc(-1 * (calc(var(--gse-ui-rangeSlider-handle-height) / 2) + var(--gse-ui-rangeSlider-bar-height)));margin-inline:0;-webkit-appearance:none;background:transparent}.gux-input-and-error-container{flex-grow:1}.gux-input-and-error-container.gux-hidden{display:none}.gux-input-and-error-container .gux-range-input-container{display:flex;flex-direction:row;flex-wrap:nowrap;gap:var(--gse-ui-rangeSlider-gap);place-content:stretch flex-start;align-items:center;block-size:var(--gse-ui-rangeSlider-set-height);font-size:var(--gse-ui-rangeSlider-label-text-fontSize)}.gux-input-and-error-container .gux-range-input-container.gux-disabled{opacity:var(--gse-ui-rangeSlider-disabled-opacity)}.gux-input-and-error-container .gux-range-input-container .gux-range{position:relative;flex:1 1 auto;align-self:center;order:0}.gux-input-and-error-container .gux-range-input-container .gux-range:hover .gux-range-tooltip,.gux-input-and-error-container .gux-range-input-container .gux-range:focus-within .gux-range-tooltip{visibility:visible}.gux-input-and-error-container .gux-range-input-container .gux-range .gux-track{inline-size:100%;block-size:var(--gse-ui-rangeSlider-bar-height);margin-block:6px;margin-inline:0;background:var(--gse-ui-rangeSlider-bar-default-backgroundColor);border-radius:var(--gse-ui-rangeSlider-track-borderRadius)}.gux-input-and-error-container .gux-range-input-container .gux-range .gux-track .gux-progress{block-size:var(--gse-ui-rangeSlider-bar-height);background-color:var(--gse-ui-rangeSlider-bar-selected-backgroundColor);border-radius:var(--gse-ui-rangeSlider-track-borderRadius)}.gux-input-and-error-container .gux-range-input-container .gux-display{flex:0 1 auto;align-self:auto;order:0;margin-block:0;margin-inline:var(--gux-spacing-medium) 0;font-family:var(--gse-ui-rangeSlider-label-text-fontFamily);font-size:var(--gse-ui-rangeSlider-label-text-fontSize);font-weight:var(--gse-ui-rangeSlider-label-text-fontWeight);line-height:var(--gse-ui-rangeSlider-label-text-lineHeight);text-align:end}.gux-input-and-error-container .gux-range-input-container .gux-display.gux-hidden{display:none}.gux-form-field-label.gux-beside{inset-block-start:0}";var g=function(e,i,r,o){var n=arguments.length,a=n<3?i:o===null?o=Object.getOwnPropertyDescriptor(i,r):o,l;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(e,i,r,o);else for(var s=e.length-1;s>=0;s--)(l=e[s])&&(a=(n<3?l(a):n>3?l(i,r,a):l(i,r))||a);return n>3&&a&&Object.defineProperty(i,r,a),a};const d=class{constructor(e){p(this,e),this.indicatorMark="required",this.computedLabelPosition="above",this.hasError=!1,this.hasHelp=!1}onInput(e){const i=e.target;this.updateValue(i.value)}onMousedown(){this.disabled||(this.active=!0)}onMouseup(){this.active=!1}onMutation(){this.labelInfo=this.root.querySelector("[slot=label-info]"),this.hasError=u(this.root,"error"),this.hasHelp=u(this.root,"help")}handleKeyup(e){var i,r;switch(e.key){case"Tab":{this.input.matches(":focus-visible")&&((i=this.labelInfo)===null||i===void 0||i.showTooltip(),this.hideLabelInfoTimeout=setTimeout(()=>{var o;(o=this.labelInfo)===null||o===void 0||o.hideTooltip()},6e3));break}default:{this.input.matches(":focus-visible")&&((r=this.labelInfo)===null||r===void 0||r.hideTooltip(),clearTimeout(this.hideLabelInfoTimeout));break}}}onFocusout(){var e;this.active=!1,(e=this.labelInfo)===null||e===void 0||e.hideTooltip(),clearTimeout(this.hideLabelInfoTimeout)}componentWillLoad(){this.setInput(),this.setLabel(),this.labelInfo=this.root.querySelector("[slot=label-info]"),this.hasError=u(this.root,"error"),this.hasHelp=u(this.root,"help"),P(this.root,{variant:this.variant})}componentDidLoad(){this.updatePosition(),this.tooltipElement&&c(this.root)}disconnectedCallback(){this.disabledObserver&&this.disabledObserver.disconnect(),this.requiredObserver&&this.requiredObserver.disconnect(),clearInterval(this.valueWatcherId)}render(){return t(b,{key:"704aa9e8e576207449de82b964c9b3d25b921914",class:{"gux-active":this.active}},t(I,{key:"a6a6b949bde45af0deb032e32bb40656e347c745",labelPosition:this.computedLabelPosition},t(F,{key:"1d49479d7ffa693dffdfe2198d14e542a165ee1c",required:this.required,position:this.computedLabelPosition},t("slot",{key:"c556f745745618de8e456287f7bf554cc317b450",name:"label",onSlotchange:()=>this.setLabel()}),t("gux-form-field-label-indicator",{key:"879302e5c9f9525d9a7d77dc1cce1e169d5f96a3",variant:this.indicatorMark,required:this.required}),t("slot",{key:"07981edbf4a7c9cb5da907c969857709a3a7d720",name:"label-info"})),t("div",{key:"19c858be378a68cfeb1a62adb01f59877168385c",class:"gux-input-and-error-container"},this.renderRangeInput(),t(S,{key:"f7031aafcec8679dbf0c848d052735a557bff3ea",show:this.hasError},t("slot",{key:"5def458db570387d21ab82be06d4fab06b262ac1",name:"error"})),t(w,{key:"0f8c192c8f5b3f4cb3ec3af98d96dd8dea796cbf",show:!this.hasError&&this.hasHelp},t("slot",{key:"44f652b4b0a8b468569165737db0faae3f3a25bc",name:"help"})))))}get variant(){return this.labelPosition?this.labelPosition.toLowerCase():"none"}setInput(){this.input=z(this.root,'input[type="range"][slot="input"]'),C(this.input),this.disabled=x(this.input),this.required=this.input.required,this.value=this.input.value,this.disabledObserver=v(this.input,e=>{this.disabled=e}),this.requiredObserver=k(this.input,e=>{this.required=e}),clearInterval(this.valueWatcherId),this.valueWatcherId=setInterval(()=>{this.value!==this.input.value&&this.updateValue(this.input.value)},100),T(this.root,this.input)}setLabel(){this.label=this.root.querySelector('label[slot="label"]'),this.computedLabelPosition=E(this.label,this.labelPosition)}renderRangeInput(){return t("div",{class:{"gux-range-input-container":!0,"gux-disabled":this.disabled},ref:e=>this.containerElement=e},t("div",{class:"gux-range"},t("div",{class:"gux-track"},t("div",{class:"gux-progress",ref:e=>this.progressElement=e})),t("slot",{name:"input"}),this.valueInTooltip&&t("gux-tooltip-base-beta",{ref:e=>this.tooltipElement=e,forElement:this.containerElement,offsetY:10,placement:"top"},t("span",{slot:"content"},this.getDisplayValue()))),t("div",{class:{"gux-display":!0,"gux-hidden":this.valueInTooltip}},this.getDisplayValue()))}updateValue(e){this.value=e,this.updatePosition()}updatePosition(){var e,i,r;const o=Number(((e=this.input)===null||e===void 0?void 0:e.value)||0),n=Number(((i=this.input)===null||i===void 0?void 0:i.min)||0),a=Number(((r=this.input)===null||r===void 0?void 0:r.max)||100),l=(o-n)/(a-n)*100;if(this.tooltipElement){const f=this.containerElement.offsetWidth-20,h=l/100-.5;this.tooltipElement.offsetX=h*f}this.progressElement&&(this.progressElement.style.width=`${l}%`)}getDisplayValue(){return this.displayUnits?`${this.value}${this.displayUnits}`:this.value}get root(){return m(this)}};g([y({childList:!0,subtree:!0})],d.prototype,"onMutation",null);g([L()],d.prototype,"updatePosition",null);d.style=q;export{d as gux_form_field_range};
@@ -0,0 +1 @@
1
+ import{r as c,f as p,h as o,g as h}from"./index-izRZEe2n.js";import{c as g,o as m}from"./on-input-disabled-state-change-Cb3FOYGS-_B452ZSd.js";import{O as b}from"./on-mutation-CUFfU3Co-Df_4vpYs.js";import{o as x}from"./on-attribute-change-De1NnCmO-C8j0fVsi.js";import{p as v}from"./prevent-browser-validation-styling-PYfNAK8p-8P9I4Sy5.js";import{h as l}from"./has-slot-qzV3vtOw-D7GdaS0G.js";import{G as C,a as y}from"./gux-form-field-error-CfwQcitV-ChDRo9e7.js";import{G as w,a as k}from"./gux-form-field-container-BgS8zsCm-DhT6nf4u.js";import{h as f,c as T,g as F,v as I,a as z}from"./gux-form-field.service-C3WKbzwR-Dk5c2D0b.js";import{t as L}from"./usage-DmyA5Orv-DQlvlcfk.js";import{f as S}from"./focus-input-element-JHLuJ8Pb-hXwZ4F3C.js";import"./random-html-id-D9jKBqIb-D30kRngR.js";import"./log-error-DxtJDeL9-5foDqi4E.js";import"./simulate-native-event-BMRf5pjV-BcLDngo1.js";const q='.gux-form-field-container{display:flex;flex-direction:column}.gux-form-field-container.gux-beside{flex-direction:row}.gux-form-field-error{display:none;flex-direction:row;flex-wrap:nowrap;gap:var(--gse-ui-formControl-helper-gap);place-content:stretch flex-start;padding:var(--gse-ui-formControl-helper-errorPadding);font-family:var(--gse-ui-formControl-helper-helperText-fontFamily);font-size:var(--gse-ui-formControl-helper-helperText-fontSize);line-height:var(--gse-ui-formControl-helper-helperText-lineHeight);color:var(--gse-ui-formControl-helper-errorColor)}.gux-form-field-error.gux-show{display:flex}.gux-form-field-error gux-icon{flex:0 1 auto;order:0;color:var(--gse-ui-formControl-helper-errorColor)}.gux-form-field-error .gux-message{flex:0 1 auto;align-self:auto;order:0}.gux-form-field-label{display:inline-flex;flex:1 0 auto}.gux-form-field-label ::slotted(label){min-inline-size:0}.gux-form-field-label ::slotted(gux-label-info-beta){padding-inline-start:var(--gse-ui-formControl-formField-gap)}.gux-form-field-label.gux-beside{position:relative;inset-block-start:var(--gse-ui-formControl-input-top);inline-size:fit-content;min-inline-size:var(--gse-ui-formControl-input-textfield-minWidth);max-inline-size:fit-content;margin-inline-end:var(--gse-ui-formControl-group-gapItems)}.gux-form-field-label.gux-above{padding-block-end:var(--gse-ui-formControl-formField-gap)}.gux-form-field-label.gux-screenreader{position:absolute;top:auto;left:-10000px;width:1px;height:1px;overflow:hidden}.gux-form-field-help{display:none;flex-direction:row;flex-wrap:nowrap;place-content:stretch flex-start;align-items:flex-start;justify-content:flex-start;padding-block-start:var(--gse-ui-formControl-formField-gap);font-family:var(--gse-ui-formControl-helper-helperText-fontFamily);font-size:var(--gse-ui-formControl-helper-helperText-fontSize);line-height:var(--gse-ui-formControl-helper-helperText-lineHeight);color:var(--gse-ui-formControl-helper-defaultColor)}.gux-form-field-help.gux-show{display:flex}.gux-form-field-help .gux-message{flex:0 1 auto;align-self:none;order:0}:host{display:block}::slotted(label){font-family:var(--gse-ui-formControl-label-textBold-fontFamily);font-size:var(--gse-ui-formControl-label-textBold-fontSize);font-weight:var(--gse-ui-formControl-label-textBold-fontWeight);line-height:var(--gse-ui-formControl-label-textBold-lineHeight);color:var(--gse-ui-formControl-label-labelColor)}::slotted(input){flex:1 1 auto;align-self:auto;order:0;inline-size:100%;overflow:hidden;text-overflow:ellipsis;font-family:var(--gse-ui-formControl-input-contentText-fontFamily);font-size:var(--gse-ui-formControl-input-contentText-fontSize);font-weight:var(--gse-ui-formControl-input-contentText-fontWeight);line-height:var(--gse-ui-formControl-input-contentText-lineHeight);color:var(--gse-ui-formControl-input-populatedColor);outline:none;background-color:var(--gse-ui-formControl-input-backgroundColor);border:none}::slotted(input)::placeholder{color:var(--gse-ui-formControl-input-placeholderColor);opacity:1}.gux-input-and-error-container{flex-grow:1}.gux-input-and-error-container .gux-input{display:flex;flex-direction:row;flex-wrap:nowrap;align-content:stretch;align-items:center}.gux-input-and-error-container .gux-input .gux-input-container{box-sizing:border-box;display:flex;flex:1 1 auto;flex-direction:row;flex-wrap:nowrap;gap:var(--gse-ui-formControl-input-gap);place-content:stretch center;align-items:center;align-self:auto;order:0;inline-size:100%;block-size:var(--gse-ui-formControl-input-textfield-height);padding:var(--gse-ui-formControl-input-padding);font-family:var(--gse-ui-formControl-input-contentText-fontFamily);font-size:var(--gse-ui-formControl-input-contentText-fontSize);font-weight:var(--gse-ui-formControl-input-contentText-fontWeight);line-height:var(--gse-ui-formControl-input-contentText-lineHeight);color:var(--gse-ui-formControl-input-populatedColor);cursor:text;background-color:var(--gse-ui-formControl-input-backgroundColor);background-image:none;border:var(--gse-ui-formControl-input-default-border-width) var(--gse-ui-formControl-input-default-border-style) var(--gse-ui-formControl-input-default-border-color);border-radius:var(--gse-ui-formControl-input-borderRadius)}.gux-input-and-error-container .gux-input .gux-input-container.gux-disabled{cursor:default;opacity:var(--gse-ui-formControl-input-disabled-opacity)}.gux-input-and-error-container .gux-input .gux-input-container gux-icon[icon-name="fa/magnifying-glass-regular"]{flex:0 0 auto;align-self:auto;order:0;color:var(--gse-ui-formControl-input-inputIcon-defaultColor)}.gux-input-and-error-container .gux-input .gux-input-container:focus-within{outline:var(--gse-ui-formControl-input-focus-border-width) var(--gse-ui-formControl-input-focus-border-style) var(--gse-ui-formControl-input-focus-border-color);outline-offset:var(--gse-semantic-focusOutline-offset);border:var(--gse-ui-formControl-input-active-border-width) var(--gse-ui-formControl-input-active-border-style) var(--gse-ui-formControl-input-active-border-color);border-radius:var(--gse-ui-formControl-focusRing-borderRadius)}.gux-input-and-error-container .gux-input .gux-input-container:hover:not(.gux-disabled){border:var(--gse-ui-formControl-input-hover-border-width) var(--gse-ui-formControl-input-hover-border-style) var(--gse-ui-formControl-input-hover-border-color)}.gux-input-and-error-container .gux-input.gux-input-error .gux-input-container{border-color:var(--gse-ui-formControl-input-error-border-color)}';var P=function(e,t,r,i){var a=arguments.length,n=a<3?t:i===null?i=Object.getOwnPropertyDescriptor(t,r):i,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")n=Reflect.decorate(e,t,r,i);else for(var u=e.length-1;u>=0;u--)(s=e[u])&&(n=(a<3?s(n):a>3?s(t,r,n):s(t,r))||n);return a>3&&n&&Object.defineProperty(t,r,n),n};const d=class{constructor(e){c(this,e),this.indicatorMark="required",this.computedLabelPosition="above",this.clearable=!0,this.hasContent=!1,this.hasError=!1,this.hasHelp=!1}onMutation(){this.labelInfo=this.root.querySelector("[slot=label-info]"),this.hasError=l(this.root,"error"),this.hasHelp=l(this.root,"help")}handleKeyup(e){var t,r;switch(e.key){case"Tab":{this.input.matches(":focus-visible")&&((t=this.labelInfo)===null||t===void 0||t.showTooltip(),this.hideLabelInfoTimeout=setTimeout(()=>{var i;(i=this.labelInfo)===null||i===void 0||i.hideTooltip()},6e3));break}default:{this.input.matches(":focus-visible")&&((r=this.labelInfo)===null||r===void 0||r.hideTooltip(),clearTimeout(this.hideLabelInfoTimeout));break}}}onFocusout(){var e;(e=this.labelInfo)===null||e===void 0||e.hideTooltip(),clearTimeout(this.hideLabelInfoTimeout)}async guxForceUpdate(){this.hasContent=f(this.input),this.hasError=l(this.root,"error"),this.hasHelp=l(this.root,"help"),p(this.root)}componentWillLoad(){this.setInput(),this.setLabel(),this.labelInfo=this.root.querySelector("[slot=label-info]"),this.hasError=l(this.root,"error"),this.hasHelp=l(this.root,"help"),L(this.root,{variant:this.variant})}disconnectedCallback(){this.disabledObserver&&this.disabledObserver.disconnect(),this.requiredObserver&&this.requiredObserver.disconnect()}render(){return o(k,{key:"8a63dea595a1c5d42dcb4cd8facc9d460a9e5a1b",labelPosition:this.computedLabelPosition},o(w,{key:"cfd0eec1ecf20523561684958daa1f6acf972caa",required:this.required,position:this.computedLabelPosition},o("slot",{key:"a3aaeff0832e5a64d1df1117d740c278c9c272af",name:"label",onSlotchange:()=>this.setLabel()}),o("gux-form-field-label-indicator",{key:"70fe33bfb767af9d906cedcc9ce9ee60ca747af8",variant:this.indicatorMark,required:this.required}),o("slot",{key:"a56375db0f57772478adc032a6098545abef2a19",name:"label-info"})),o("div",{key:"c018d09f0cec6cca6986fc5e3dbe3d2ed110e1cd",class:"gux-input-and-error-container"},o("div",{key:"612e3730ffec8c4e2c6cd1a99f6b236f7f4c3294",class:{"gux-input":!0,"gux-input-error":this.hasError}},o("div",{key:"4484c395ec89c16ea0e431ce4ba40c7f12f07f4c",class:{"gux-input-container":!0,"gux-disabled":this.disabled},onClick:()=>S(this.input)},o("gux-icon",{key:"fc268ba929820ea0cb29914dc49dfc6a2ca65128","icon-name":"fa/magnifying-glass-regular",decorative:!0,size:"small"}),o("slot",{key:"7454d1c6c2bdce9896dc23bc146186da366fcc2a",name:"input"}),this.clearable&&this.hasContent&&!this.disabled&&o("gux-form-field-input-clear-button",{key:"f503f5d0aa5b2ec5528002b88364eab21e698824",onClick:()=>T(this.input)}))),o(C,{key:"bbc51e468617a53ac4e6765ca62b5b4a3c9f4d56",show:this.hasError},o("slot",{key:"694a574192897e77f2ddee09372e79918625e835",name:"error"})),o(y,{key:"b790d4a1238ca6d77415785f8c98c0fba45143eb",show:!this.hasError&&this.hasHelp},o("slot",{key:"710ab2c334609e1d6d803046a08e25abf3e6ce6a",name:"help"}))))}get variant(){const e=this.labelPosition?this.labelPosition.toLowerCase():"none";return`${this.input.getAttribute("type")}-${e}`}setInput(){this.input=F(this.root,'input[type="search"][slot="input"]'),this.hasContent=f(this.input),v(this.input),this.input.addEventListener("input",()=>{this.hasContent=f(this.input)}),this.disabled=g(this.input),this.required=this.input.required,this.disabledObserver=m(this.input,e=>{this.disabled=e}),this.requiredObserver=x(this.input,e=>{this.required=e}),I(this.root,this.input)}setLabel(){this.label=this.root.querySelector('label[slot="label"]'),this.computedLabelPosition=z(this.label,this.labelPosition)}get root(){return h(this)}};P([b({childList:!0,subtree:!0})],d.prototype,"onMutation",null);d.style=q;export{d as gux_form_field_search};
@@ -0,0 +1 @@
1
+ import{r as f,h as o,g as p}from"./index-izRZEe2n.js";import{c,o as g}from"./on-input-disabled-state-change-Cb3FOYGS-_B452ZSd.js";import{O as h}from"./on-mutation-CUFfU3Co-Df_4vpYs.js";import{o as b}from"./on-attribute-change-De1NnCmO-C8j0fVsi.js";import{p as m}from"./prevent-browser-validation-styling-PYfNAK8p-8P9I4Sy5.js";import{h as s}from"./has-slot-qzV3vtOw-D7GdaS0G.js";import{G as x,a as v}from"./gux-form-field-error-CfwQcitV-ChDRo9e7.js";import{G as C,a as y}from"./gux-form-field-container-BgS8zsCm-DhT6nf4u.js";import{v as w,a as k}from"./gux-form-field.service-C3WKbzwR-Dk5c2D0b.js";import{t as F}from"./usage-DmyA5Orv-DQlvlcfk.js";import"./random-html-id-D9jKBqIb-D30kRngR.js";import"./log-error-DxtJDeL9-5foDqi4E.js";import"./simulate-native-event-BMRf5pjV-BcLDngo1.js";const T=".gux-form-field-container{display:flex;flex-direction:column}.gux-form-field-container.gux-beside{flex-direction:row}.gux-form-field-error{display:none;flex-direction:row;flex-wrap:nowrap;gap:var(--gse-ui-formControl-helper-gap);place-content:stretch flex-start;padding:var(--gse-ui-formControl-helper-errorPadding);font-family:var(--gse-ui-formControl-helper-helperText-fontFamily);font-size:var(--gse-ui-formControl-helper-helperText-fontSize);line-height:var(--gse-ui-formControl-helper-helperText-lineHeight);color:var(--gse-ui-formControl-helper-errorColor)}.gux-form-field-error.gux-show{display:flex}.gux-form-field-error gux-icon{flex:0 1 auto;order:0;color:var(--gse-ui-formControl-helper-errorColor)}.gux-form-field-error .gux-message{flex:0 1 auto;align-self:auto;order:0}.gux-form-field-label{display:inline-flex;flex:1 0 auto}.gux-form-field-label ::slotted(label){min-inline-size:0}.gux-form-field-label ::slotted(gux-label-info-beta){padding-inline-start:var(--gse-ui-formControl-formField-gap)}.gux-form-field-label.gux-beside{position:relative;inset-block-start:var(--gse-ui-formControl-input-top);inline-size:fit-content;min-inline-size:var(--gse-ui-formControl-input-textfield-minWidth);max-inline-size:fit-content;margin-inline-end:var(--gse-ui-formControl-group-gapItems)}.gux-form-field-label.gux-above{padding-block-end:var(--gse-ui-formControl-formField-gap)}.gux-form-field-label.gux-screenreader{position:absolute;top:auto;left:-10000px;width:1px;height:1px;overflow:hidden}.gux-form-field-help{display:none;flex-direction:row;flex-wrap:nowrap;place-content:stretch flex-start;align-items:flex-start;justify-content:flex-start;padding-block-start:var(--gse-ui-formControl-formField-gap);font-family:var(--gse-ui-formControl-helper-helperText-fontFamily);font-size:var(--gse-ui-formControl-helper-helperText-fontSize);line-height:var(--gse-ui-formControl-helper-helperText-lineHeight);color:var(--gse-ui-formControl-helper-defaultColor)}.gux-form-field-help.gux-show{display:flex}.gux-form-field-help .gux-message{flex:0 1 auto;align-self:none;order:0}:host{display:block}::slotted(label){font-family:var(--gse-ui-formControl-label-textBold-fontFamily);font-size:var(--gse-ui-formControl-label-textBold-fontSize);font-weight:var(--gse-ui-formControl-label-textBold-fontWeight);line-height:var(--gse-ui-formControl-label-textBold-lineHeight);color:var(--gse-ui-formControl-label-labelColor)}::slotted(select){flex:1 1 auto;align-self:auto;order:0;inline-size:100%;block-size:var(--gse-ui-formControl-input-textfield-height);padding-inline-start:var(--gse-ui-formControl-input-gap);color:var(--gse-ui-formControl-input-populatedColor);-moz-appearance:none;-webkit-appearance:none;appearance:none;outline:none;background-color:var(--gse-ui-formControl-input-backgroundColor);border:none;border-radius:var(--gse-ui-formControl-input-borderRadius)}::slotted(select)::placeholder{color:var(--gse-ui-formControl-input-placeholderColor);opacity:1}.gux-input-and-error-container{flex-grow:1}.gux-input-and-error-container .gux-input .gux-input-container{position:relative;box-sizing:border-box;display:flex;flex-direction:row;flex-wrap:nowrap;gap:var(--gse-ui-formControl-input-gap);place-content:stretch center;align-items:center;inline-size:100%;font-family:var(--gse-ui-formControl-input-contentText-fontFamily);font-size:var(--gse-ui-formControl-input-contentText-fontSize);font-weight:var(--gse-ui-formControl-input-contentText-fontWeight);line-height:var(--gse-ui-formControl-input-contentText-lineHeight);color:var(--gse-ui-formControl-input-populatedColor);background-color:var(--gse-ui-formControl-input-backgroundColor);background-image:none;border:var(--gse-ui-formControl-input-default-border-width) var(--gse-ui-formControl-input-default-border-style) var(--gse-ui-formControl-input-default-border-color);border-radius:var(--gse-ui-formControl-input-borderRadius)}.gux-input-and-error-container .gux-input .gux-input-container.gux-disabled{pointer-events:none;opacity:var(--gse-ui-formControl-input-disabled-opacity)}.gux-input-and-error-container .gux-input .gux-input-container:hover gux-icon{color:var(--gse-ui-formControl-input-inputIcon-iconEndColor)}.gux-input-and-error-container .gux-input .gux-input-container gux-icon{position:absolute;inset-block-start:0;inset-inline-end:0;margin:var(--gse-ui-formControl-input-padding);pointer-events:none}.gux-input-and-error-container .gux-input .gux-input-container:focus-within{outline:var(--gse-ui-formControl-input-focus-border-width) var(--gse-ui-formControl-input-focus-border-style) var(--gse-ui-formControl-input-focus-border-color);outline-offset:var(--gse-semantic-focusOutline-offset);border:var(--gse-ui-formControl-input-active-border-width) var(--gse-ui-formControl-input-active-border-style) var(--gse-ui-formControl-input-active-border-color);border-radius:var(--gse-ui-formControl-focusRing-borderRadius)}.gux-input-and-error-container .gux-input.gux-input-error .gux-input-container{border-color:var(--gse-ui-formControl-input-error-border-color)}";var z=function(e,r,t,i){var l=arguments.length,n=l<3?r:i===null?i=Object.getOwnPropertyDescriptor(r,t):i,a;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")n=Reflect.decorate(e,r,t,i);else for(var u=e.length-1;u>=0;u--)(a=e[u])&&(n=(l<3?a(n):l>3?a(r,t,n):a(r,t))||n);return l>3&&n&&Object.defineProperty(r,t,n),n};const d=class{constructor(e){f(this,e),this.indicatorMark="required",this.computedLabelPosition="above",this.hasError=!1,this.hasHelp=!1}onMutation(){this.labelInfo=this.root.querySelector("[slot=label-info]"),this.hasError=s(this.root,"error"),this.hasHelp=s(this.root,"help")}handleKeyup(e){var r,t;switch(e.key){case"Tab":{this.input.matches(":focus-visible")&&((r=this.labelInfo)===null||r===void 0||r.showTooltip(),this.hideLabelInfoTimeout=setTimeout(()=>{var i;(i=this.labelInfo)===null||i===void 0||i.hideTooltip()},6e3));break}default:{this.input.matches(":focus-visible")&&((t=this.labelInfo)===null||t===void 0||t.hideTooltip(),clearTimeout(this.hideLabelInfoTimeout));break}}}onFocusout(){var e;(e=this.labelInfo)===null||e===void 0||e.hideTooltip(),clearTimeout(this.hideLabelInfoTimeout)}componentWillLoad(){this.setInput(),this.setLabel(),this.labelInfo=this.root.querySelector("[slot=label-info]"),this.hasError=s(this.root,"error"),this.hasHelp=s(this.root,"help"),F(this.root,{variant:this.variant})}disconnectedCallback(){this.disabledObserver&&this.disabledObserver.disconnect(),this.requiredObserver&&this.requiredObserver.disconnect()}render(){return o(y,{key:"b6ce224a4b33a6a2d3a950494d34ae3844e9c0a7",labelPosition:this.computedLabelPosition},o(C,{key:"01336b42268cbe502fb800dcaf5e7b18c1c200b6",required:this.required,position:this.computedLabelPosition},o("slot",{key:"b08d39ff081c8bf5b832874738ebc3cdbb944ff4",name:"label",onSlotchange:()=>this.setLabel()}),o("gux-form-field-label-indicator",{key:"96a20d06e3ead1697adb52cdd0ccfb71bdb7be66",variant:this.indicatorMark,required:this.required}),o("slot",{key:"68a80e71e4ca4e92c0fe6d1e00fedda401c1e3b3",name:"label-info"})),o("div",{key:"4d45d92191e7054e2540bd27ced7c19d2adc4be8",class:"gux-input-and-error-container"},o("div",{key:"95df686d8f03b2dd4e22a4e9703ad8c96558ea85",class:{"gux-input":!0,"gux-input-error":this.hasError}},o("div",{key:"25ecbf15b554772fbb9b49d85c1bd11dab27471b",class:{"gux-input-container":!0,"gux-disabled":this.disabled}},o("slot",{key:"62a0c05ec3535f0e7b34194ea219c482e4f2c0e7",name:"input"}),o("gux-icon",{key:"9de257807857681d39181e538ceaff0446fc818b","icon-name":"custom/chevron-down-small-regular",decorative:!0,size:"small"}))),o(x,{key:"7dfe214d32e27283fcfc5b66104e4ae8b98fce74",show:this.hasError},o("slot",{key:"502d6075ab0b2d19bffec4563f737ea9ed77feed",name:"error"})),o(v,{key:"14a7b1a64d1b6d25f531cd9b3d08316742510c2d",show:!this.hasError&&this.hasHelp},o("slot",{key:"543d618d86f2a83229ef0fe0489c9f5ead55baea",name:"help"}))))}get variant(){const e=this.labelPosition?this.labelPosition.toLowerCase():"none";return`${this.input.getAttribute("type")}-${e}`}setInput(){this.input=this.root.querySelector('select[slot="input"]'),m(this.input),this.disabled=c(this.input),this.required=this.input.required,this.disabledObserver=g(this.input,e=>{this.disabled=e}),this.requiredObserver=b(this.input,e=>{this.required=e}),w(this.root,this.input)}setLabel(){this.label=this.root.querySelector('label[slot="label"]'),this.computedLabelPosition=k(this.label,this.labelPosition)}get root(){return p(this)}};z([h({childList:!0,subtree:!0})],d.prototype,"onMutation",null);d.style=T;export{d as gux_form_field_select};
@@ -0,0 +1 @@
1
+ import{r as h,f as c,h as e,g}from"./index-izRZEe2n.js";import{c as b,o as m}from"./on-input-disabled-state-change-Cb3FOYGS-_B452ZSd.js";import{O as x}from"./on-mutation-CUFfU3Co-Df_4vpYs.js";import{o as v}from"./on-attribute-change-De1NnCmO-C8j0fVsi.js";import{p as C}from"./prevent-browser-validation-styling-PYfNAK8p-8P9I4Sy5.js";import{h as l}from"./has-slot-qzV3vtOw-D7GdaS0G.js";import{G as y,a as w}from"./gux-form-field-error-CfwQcitV-ChDRo9e7.js";import{G as k,a as T}from"./gux-form-field-container-BgS8zsCm-DhT6nf4u.js";import{h as f,s as d,c as S,g as F,v as z,a as L}from"./gux-form-field.service-C3WKbzwR-Dk5c2D0b.js";import{t as I}from"./usage-DmyA5Orv-DQlvlcfk.js";import{f as q}from"./focus-input-element-JHLuJ8Pb-hXwZ4F3C.js";import"./random-html-id-D9jKBqIb-D30kRngR.js";import"./log-error-DxtJDeL9-5foDqi4E.js";import"./simulate-native-event-BMRf5pjV-BcLDngo1.js";const P=".gux-form-field-container{display:flex;flex-direction:column}.gux-form-field-container.gux-beside{flex-direction:row}.gux-form-field-error{display:none;flex-direction:row;flex-wrap:nowrap;gap:var(--gse-ui-formControl-helper-gap);place-content:stretch flex-start;padding:var(--gse-ui-formControl-helper-errorPadding);font-family:var(--gse-ui-formControl-helper-helperText-fontFamily);font-size:var(--gse-ui-formControl-helper-helperText-fontSize);line-height:var(--gse-ui-formControl-helper-helperText-lineHeight);color:var(--gse-ui-formControl-helper-errorColor)}.gux-form-field-error.gux-show{display:flex}.gux-form-field-error gux-icon{flex:0 1 auto;order:0;color:var(--gse-ui-formControl-helper-errorColor)}.gux-form-field-error .gux-message{flex:0 1 auto;align-self:auto;order:0}.gux-form-field-label{display:inline-flex;flex:1 0 auto}.gux-form-field-label ::slotted(label){min-inline-size:0}.gux-form-field-label ::slotted(gux-label-info-beta){padding-inline-start:var(--gse-ui-formControl-formField-gap)}.gux-form-field-label.gux-beside{position:relative;inset-block-start:var(--gse-ui-formControl-input-top);inline-size:fit-content;min-inline-size:var(--gse-ui-formControl-input-textfield-minWidth);max-inline-size:fit-content;margin-inline-end:var(--gse-ui-formControl-group-gapItems)}.gux-form-field-label.gux-above{padding-block-end:var(--gse-ui-formControl-formField-gap)}.gux-form-field-label.gux-screenreader{position:absolute;top:auto;left:-10000px;width:1px;height:1px;overflow:hidden}.gux-form-field-help{display:none;flex-direction:row;flex-wrap:nowrap;place-content:stretch flex-start;align-items:flex-start;justify-content:flex-start;padding-block-start:var(--gse-ui-formControl-formField-gap);font-family:var(--gse-ui-formControl-helper-helperText-fontFamily);font-size:var(--gse-ui-formControl-helper-helperText-fontSize);line-height:var(--gse-ui-formControl-helper-helperText-lineHeight);color:var(--gse-ui-formControl-helper-defaultColor)}.gux-form-field-help.gux-show{display:flex}.gux-form-field-help .gux-message{flex:0 1 auto;align-self:none;order:0}:host{display:block}::slotted(label){font-family:var(--gse-ui-formControl-label-textBold-fontFamily);font-size:var(--gse-ui-formControl-label-textBold-fontSize);font-weight:var(--gse-ui-formControl-label-textBold-fontWeight);line-height:var(--gse-ui-formControl-label-textBold-lineHeight);color:var(--gse-ui-formControl-label-labelColor)}::slotted(input){flex:1 1 auto;align-self:auto;order:0;inline-size:100%;overflow:hidden;text-overflow:ellipsis;font-family:var(--gse-ui-formControl-input-contentText-fontFamily);font-size:var(--gse-ui-formControl-input-contentText-fontSize);font-weight:var(--gse-ui-formControl-input-contentText-fontWeight);line-height:var(--gse-ui-formControl-input-contentText-lineHeight);color:var(--gse-ui-formControl-input-populatedColor);outline:none;background-color:var(--gse-ui-formControl-input-backgroundColor);border:none}::slotted(input)::placeholder{color:var(--gse-ui-formControl-input-placeholderColor);opacity:1}slot[name=prefix],slot[name=suffix]{font-family:var(--gse-ui-formControl-input-prefixSufix-text-fontFamily);font-size:var(--gse-ui-formControl-input-prefixSufix-text-fontSize);line-height:var(--gse-ui-formControl-input-prefixSufix-text-lineHeight);color:var(--gse-ui-formControl-input-prefixSufix-defaultColor);text-align:center;white-space:nowrap;text-decoration:none}.gux-input-and-error-container{flex-grow:1}.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);place-content:stretch center;align-items:center;inline-size:100%;block-size:var(--gse-ui-formControl-input-textfield-height);padding:var(--gse-ui-formControl-input-padding);font-family:var(--gse-ui-formControl-input-contentText-fontFamily);font-size:var(--gse-ui-formControl-input-contentText-fontSize);font-weight:var(--gse-ui-formControl-input-contentText-fontWeight);line-height:var(--gse-ui-formControl-input-contentText-lineHeight);color:var(--gse-ui-formControl-input-populatedColor);cursor:text;background-color:var(--gse-ui-formControl-input-backgroundColor);background-image:none;border:var(--gse-ui-formControl-input-default-border-width) var(--gse-ui-formControl-input-default-border-style) var(--gse-ui-formControl-input-default-border-color);border-radius:var(--gse-ui-formControl-input-borderRadius)}.gux-input-and-error-container .gux-input .gux-input-container.gux-has-suffix:not(.gux-input-and-error-container .gux-input .gux-input-container.gux-has-prefix) ::slotted(input){text-align:end}.gux-input-and-error-container .gux-input .gux-input-container.gux-disabled{cursor:default;opacity:var(--gse-ui-formControl-input-disabled-opacity)}.gux-input-and-error-container .gux-input .gux-input-container:focus-within{outline:var(--gse-ui-formControl-input-focus-border-width) var(--gse-ui-formControl-input-focus-border-style) var(--gse-ui-formControl-input-focus-border-color);outline-offset:var(--gse-semantic-focusOutline-offset);border:var(--gse-ui-formControl-input-active-border-width) var(--gse-ui-formControl-input-active-border-style) var(--gse-ui-formControl-input-active-border-color);border-radius:var(--gse-ui-formControl-focusRing-borderRadius)}.gux-input-and-error-container .gux-input .gux-input-container:hover:not(.gux-disabled){border:var(--gse-ui-formControl-input-hover-border-width) var(--gse-ui-formControl-input-hover-border-style) var(--gse-ui-formControl-input-hover-border-color)}.gux-input-and-error-container .gux-input.gux-input-error .gux-input-container{border-color:var(--gse-ui-formControl-input-error-border-color)}";var H=function(t,o,i,r){var a=arguments.length,n=a<3?o:r===null?r=Object.getOwnPropertyDescriptor(o,i):r,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")n=Reflect.decorate(t,o,i,r);else for(var u=t.length-1;u>=0;u--)(s=t[u])&&(n=(a<3?s(n):a>3?s(o,i,n):s(o,i))||n);return a>3&&n&&Object.defineProperty(o,i,n),n};const p=class{constructor(t){h(this,t),this.loading=!1,this.indicatorMark="required",this.computedLabelPosition="above",this.hasContent=!1,this.hasError=!1,this.hasHelp=!1}onMutation(){this.labelInfo=this.root.querySelector("[slot=label-info]"),this.hasError=l(this.root,"error"),this.hasHelp=l(this.root,"help")}handleKeyup(t){var o,i;switch(t.key){case"Tab":{this.input.matches(":focus-visible")&&((o=this.labelInfo)===null||o===void 0||o.showTooltip(),this.hideLabelInfoTimeout=setTimeout(()=>{var r;(r=this.labelInfo)===null||r===void 0||r.hideTooltip()},6e3));break}default:{this.input.matches(":focus-visible")&&((i=this.labelInfo)===null||i===void 0||i.hideTooltip(),clearTimeout(this.hideLabelInfoTimeout));break}}}onFocusout(){var t;(t=this.labelInfo)===null||t===void 0||t.hideTooltip(),clearTimeout(this.hideLabelInfoTimeout)}async guxForceUpdate(){this.hasContent=f(this.input),this.hasError=l(this.root,"error"),this.hasHelp=l(this.root,"help"),c(this.root)}renderRadialLoading(){if(this.loading)return e("div",{role:"status"},e("gux-radial-loading",{context:"input"}))}componentWillLoad(){this.setInput(),this.setLabel(),this.labelInfo=this.root.querySelector("[slot=label-info]"),this.hasError=l(this.root,"error"),this.hasHelp=l(this.root,"help"),this.hasPrefix=!!this.root.querySelector('[slot="prefix"]'),this.hasSuffix=!!this.root.querySelector('[slot="suffix"]'),this.hasPrefix&&d(this.root,this.input,"prefix"),this.hasSuffix&&d(this.root,this.input,"suffix"),I(this.root,{variant:this.variant})}disconnectedCallback(){this.disabledObserver&&this.disabledObserver.disconnect(),this.requiredObserver&&this.requiredObserver.disconnect()}render(){return e(T,{key:"6e268f9b2f5cdefcf05f51b95bbdabfc7f90a58b",labelPosition:this.computedLabelPosition},e(k,{key:"8da38ac30c89cc7f4a6d7a9ca95096622354f786",required:this.required,position:this.computedLabelPosition},e("slot",{key:"f4f8cb4dd7165fab77df91759603cf2a67b9d967",name:"label",onSlotchange:()=>this.setLabel()}),e("gux-form-field-label-indicator",{key:"b742165e6f2ae4bae2527cf2e23fc02793ae8b92",variant:this.indicatorMark,required:this.required}),e("slot",{key:"c86c3d5580a44bfc070d801f85797333c68340df",name:"label-info"})),e("div",{key:"97a46a9562bf08388684e4c13781cbc67ffa00b4",class:"gux-input-and-error-container"},e("div",{key:"faa6d68074db30e416db0f0712467e10322d5551",class:{"gux-input":!0,"gux-input-error":this.hasError}},e("div",{key:"f29ddc3ae15dab4002423197ce745426a9b81989",class:{"gux-input-container":!0,"gux-disabled":this.disabled,"gux-has-prefix":this.hasPrefix,"gux-has-suffix":this.hasSuffix},onClick:()=>q(this.input)},e("slot",{key:"159068cc7389df4caa747e849b3443b6a8e68525",name:"prefix"}),e("slot",{key:"a1a529019ed80868047a04eeade0257efafff654",name:"input"}),this.renderRadialLoading(),e("slot",{key:"ed703884556dd9302248d1c3a25fcb8bed8ac661",name:"suffix"}),this.clearable&&this.hasContent&&!this.disabled&&e("gux-form-field-input-clear-button",{key:"7f47627751268f2703b3246884ecf1ba4a719cb6",onClick:()=>S(this.input)}))),e(y,{key:"243eba4b6bb5dbfba50e68b376f9df5dd1352e72",show:this.hasError},e("slot",{key:"77f90dec9b23318b005379b5c35c66b922b3c6bb",name:"error"})),e(w,{key:"48da44761dc115f5f1f451a7a61f338098ea0e93",show:!this.hasError&&this.hasHelp},e("slot",{key:"4355d3580e354d94639d8ceeaf0d862172bb0fb7",name:"help"}))))}get variant(){const t=this.labelPosition?this.labelPosition.toLowerCase():"none",o=this.input.getAttribute("type"),i=this.clearable?"clearable":"unclearable";return`${o}-${i}-${t}`}setInput(){this.input=F(this.root,'input[type="email"][slot="input"], input[type="number"][slot="input"], input[type="password"][slot="input"], input[type="text"][slot="input"]'),this.hasContent=f(this.input),C(this.input),this.input.addEventListener("input",()=>{this.hasContent=f(this.input)}),this.disabled=b(this.input),this.required=this.input.required,this.disabledObserver=m(this.input,t=>{this.disabled=t}),this.requiredObserver=v(this.input,t=>{this.required=t}),z(this.root,this.input)}setLabel(){this.label=this.root.querySelector('label[slot="label"]'),this.computedLabelPosition=L(this.label,this.labelPosition)}get root(){return g(this)}};H([x({childList:!0,subtree:!0})],p.prototype,"onMutation",null);p.style=P;export{p as gux_form_field_text_like};
@@ -0,0 +1 @@
1
+ import{r as f,h as o,g as p}from"./index-izRZEe2n.js";import{c as h,o as g}from"./on-input-disabled-state-change-Cb3FOYGS-_B452ZSd.js";import{O as c}from"./on-mutation-CUFfU3Co-Df_4vpYs.js";import{o as m}from"./on-attribute-change-De1NnCmO-C8j0fVsi.js";import{p as b}from"./prevent-browser-validation-styling-PYfNAK8p-8P9I4Sy5.js";import{h as s}from"./has-slot-qzV3vtOw-D7GdaS0G.js";import{G as x,a as v}from"./gux-form-field-error-CfwQcitV-ChDRo9e7.js";import{G as C,a as y}from"./gux-form-field-container-BgS8zsCm-DhT6nf4u.js";import{v as w,a as k}from"./gux-form-field.service-C3WKbzwR-Dk5c2D0b.js";import{t as z}from"./usage-DmyA5Orv-DQlvlcfk.js";import"./random-html-id-D9jKBqIb-D30kRngR.js";import"./log-error-DxtJDeL9-5foDqi4E.js";import"./simulate-native-event-BMRf5pjV-BcLDngo1.js";const T='.gux-form-field-container{display:flex;flex-direction:column}.gux-form-field-container.gux-beside{flex-direction:row}.gux-form-field-error{display:none;flex-direction:row;flex-wrap:nowrap;gap:var(--gse-ui-formControl-helper-gap);place-content:stretch flex-start;padding:var(--gse-ui-formControl-helper-errorPadding);font-family:var(--gse-ui-formControl-helper-helperText-fontFamily);font-size:var(--gse-ui-formControl-helper-helperText-fontSize);line-height:var(--gse-ui-formControl-helper-helperText-lineHeight);color:var(--gse-ui-formControl-helper-errorColor)}.gux-form-field-error.gux-show{display:flex}.gux-form-field-error gux-icon{flex:0 1 auto;order:0;color:var(--gse-ui-formControl-helper-errorColor)}.gux-form-field-error .gux-message{flex:0 1 auto;align-self:auto;order:0}.gux-form-field-label{display:inline-flex;flex:1 0 auto}.gux-form-field-label ::slotted(label){min-inline-size:0}.gux-form-field-label ::slotted(gux-label-info-beta){padding-inline-start:var(--gse-ui-formControl-formField-gap)}.gux-form-field-label.gux-beside{position:relative;inset-block-start:var(--gse-ui-formControl-input-top);inline-size:fit-content;min-inline-size:var(--gse-ui-formControl-input-textfield-minWidth);max-inline-size:fit-content;margin-inline-end:var(--gse-ui-formControl-group-gapItems)}.gux-form-field-label.gux-above{padding-block-end:var(--gse-ui-formControl-formField-gap)}.gux-form-field-label.gux-screenreader{position:absolute;top:auto;left:-10000px;width:1px;height:1px;overflow:hidden}.gux-form-field-help{display:none;flex-direction:row;flex-wrap:nowrap;place-content:stretch flex-start;align-items:flex-start;justify-content:flex-start;padding-block-start:var(--gse-ui-formControl-formField-gap);font-family:var(--gse-ui-formControl-helper-helperText-fontFamily);font-size:var(--gse-ui-formControl-helper-helperText-fontSize);line-height:var(--gse-ui-formControl-helper-helperText-lineHeight);color:var(--gse-ui-formControl-helper-defaultColor)}.gux-form-field-help.gux-show{display:flex}.gux-form-field-help .gux-message{flex:0 1 auto;align-self:none;order:0}:host{display:block}::slotted(label){font-family:var(--gse-ui-formControl-label-textBold-fontFamily);font-size:var(--gse-ui-formControl-label-textBold-fontSize);font-weight:var(--gse-ui-formControl-label-textBold-fontWeight);line-height:var(--gse-ui-formControl-label-textBold-lineHeight);color:var(--gse-ui-formControl-label-labelColor)}::slotted(textarea){flex:1 1 auto;align-self:auto;order:0;font-family:inherit;font-family:var(--gse-ui-formControl-input-contentText-fontFamily);font-size:var(--gse-ui-formControl-input-contentText-fontSize);font-weight:var(--gse-ui-formControl-input-contentText-fontWeight);line-height:var(--gse-ui-formControl-input-contentText-lineHeight);color:var(--gse-ui-formControl-input-populatedColor);resize:vertical;outline:none;background-color:var(--gse-ui-formControl-input-backgroundColor);background-image:none;border:none;border-radius:var(--gse-ui-formControl-input-borderRadius);padding:var(--gse-ui-formControl-textarea-padding);margin:0}::slotted(textarea)::placeholder{color:var(--gse-ui-formControl-input-placeholderColor);opacity:1}::slotted(textarea)[disabled]{opacity:var(--gse-ui-formControl-input-disabled-opacity)}.gux-input-and-error-container{flex-grow:1}.gux-input-and-error-container .gux-input{position:relative;display:flex;outline:none;border:var(--gse-ui-formControl-input-default-border-width) var(--gse-ui-formControl-input-default-border-style) var(--gse-ui-formControl-input-default-border-color);border-radius:var(--gse-ui-formControl-input-borderRadius)}.gux-input-and-error-container .gux-input:focus-within{outline:var(--gse-ui-formControl-input-focus-border-width) var(--gse-ui-formControl-input-focus-border-style) var(--gse-ui-formControl-input-focus-border-color);outline-offset:var(--gse-semantic-focusOutline-offset);border:var(--gse-ui-formControl-input-active-border-width) var(--gse-ui-formControl-input-active-border-style) var(--gse-ui-formControl-input-active-border-color);border-radius:var(--gse-ui-formControl-focusRing-borderRadius)}.gux-input-and-error-container .gux-input:hover:not(.gux-disabled){border:var(--gse-ui-formControl-input-hover-border-width) var(--gse-ui-formControl-input-hover-border-style) var(--gse-ui-formControl-input-hover-border-color)}.gux-input-and-error-container .gux-input.gux-input-error{border-color:var(--gse-ui-formControl-input-error-border-color)}.gux-input-and-error-container .gux-input.gux-disabled{opacity:var(--gse-ui-formControl-input-disabled-opacity)}.gux-input-and-error-container .gux-input.gux-resize-none ::slotted(textarea){resize:none}.gux-input-and-error-container .gux-input.gux-resize-auto{display:grid;overflow:hidden;word-break:normal;word-break:break-word;overflow-wrap:anywhere}.gux-input-and-error-container .gux-input.gux-resize-auto::after{visibility:hidden;grid-row-start:1;grid-row-end:2;grid-column-start:1;grid-column-end:2;white-space:pre-wrap;content:attr(data-replicated-value) " ";padding:var(--gse-ui-formControl-textarea-padding);margin:0}.gux-input-and-error-container .gux-input.gux-resize-auto ::slotted(textarea){grid-row-start:1;grid-row-end:2;grid-column-start:1;grid-column-end:2;overflow-x:hidden;resize:none}';var F=function(e,r,t,i){var n=arguments.length,a=n<3?r:i===null?i=Object.getOwnPropertyDescriptor(r,t):i,l;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(e,r,t,i);else for(var u=e.length-1;u>=0;u--)(l=e[u])&&(a=(n<3?l(a):n>3?l(r,t,a):l(r,t))||a);return n>3&&a&&Object.defineProperty(r,t,a),a};const d=class{constructor(e){f(this,e),this.indicatorMark="required",this.computedLabelPosition="above",this.required=!0,this.hasError=!1,this.hasHelp=!1}onMutation(){this.labelInfo=this.root.querySelector("[slot=label-info]"),this.hasError=s(this.root,"error"),this.hasHelp=s(this.root,"help")}handleKeyup(e){var r,t;switch(e.key){case"Tab":{this.input.matches(":focus-visible")&&((r=this.labelInfo)===null||r===void 0||r.showTooltip(),this.hideLabelInfoTimeout=setTimeout(()=>{var i;(i=this.labelInfo)===null||i===void 0||i.hideTooltip()},6e3));break}default:{this.input.matches(":focus-visible")&&((t=this.labelInfo)===null||t===void 0||t.hideTooltip(),clearTimeout(this.hideLabelInfoTimeout));break}}}onFocusout(){var e;(e=this.labelInfo)===null||e===void 0||e.hideTooltip(),clearTimeout(this.hideLabelInfoTimeout)}componentWillLoad(){this.setInput(),this.setLabel(),this.labelInfo=this.root.querySelector("[slot=label-info]"),this.hasError=s(this.root,"error"),this.hasHelp=s(this.root,"help"),z(this.root,{variant:this.variant})}componentDidLoad(){this.updateHeight(this.textareaContainerElement,this.input,this.resize)}disconnectedCallback(){this.disabledObserver&&this.disabledObserver.disconnect(),this.requiredObserver&&this.requiredObserver.disconnect()}render(){return o(y,{key:"5539bcc193900bca981990934f660389a9b256af",labelPosition:this.computedLabelPosition},o(C,{key:"5cc443a9662783a2b010f41322071cb955401668",required:this.required,position:this.computedLabelPosition},o("slot",{key:"0be61a2c251d589df7c7df838edf14a30a2f115a",name:"label",onSlotchange:()=>this.setLabel()}),o("gux-form-field-label-indicator",{key:"1c25639be2027a5da960a1dac7f8be09fedc3eb4",variant:this.indicatorMark,required:this.required}),o("slot",{key:"4935e3efde33317b3af154a44ce311f466fd7db0",name:"label-info"})),o("div",{key:"28e68131226da13bc0c33b884d5a9509b6237822",class:"gux-input-and-error-container"},o("div",{key:"f5efe5efdc7ae39756203dc4634c339886b77fd7",ref:e=>this.textareaContainerElement=e,class:{"gux-input":!0,[`gux-resize-${this.resize}`]:!0,"gux-disabled":this.disabled,"gux-input-error":this.hasError}},o("slot",{key:"d98880eac70689c74c68a4d43d73f6fe9bc55746",name:"input"})),o(x,{key:"2044eba06442cb284a519e4d106e99e55bcb4b2a",show:this.hasError},o("slot",{key:"c2c56343f4dd9ec2b57673151fe082c7f9f8908c",name:"error"})),o(v,{key:"65e117c1c7f83aeb2c79c9f3419ee494ac6922b5",show:!this.hasError&&this.hasHelp},o("slot",{key:"56c589e6779487604b186df550ab4a8f7bd5ccb1",name:"help"}))))}get variant(){const e=this.labelPosition?this.labelPosition.toLowerCase():"none";return`${this.resize}-${e}`}setInput(){this.input=this.root.querySelector('textarea[slot="input"]'),b(this.input),this.updateHeight(this.textareaContainerElement,this.input,this.resize),this.input.addEventListener("input",()=>{this.updateHeight(this.textareaContainerElement,this.input,this.resize)}),this.disabled=h(this.input),this.required=this.input.required,this.disabledObserver=g(this.input,e=>{this.disabled=e}),this.requiredObserver=m(this.input,e=>{this.required=e}),w(this.root,this.input)}setLabel(){this.label=this.root.querySelector('label[slot="label"]'),this.computedLabelPosition=k(this.label,this.labelPosition)}updateHeight(e,r,t){t==="auto"&&e&&(e.dataset.replicatedValue=r.value,e.style.maxHeight=r.style.maxHeight)}get root(){return p(this)}};F([c({childList:!0,subtree:!0})],d.prototype,"onMutation",null);d.style=T;export{d as gux_form_field_textarea};
@@ -0,0 +1 @@
1
+ import{r as h,h as o,g as b}from"./index-izRZEe2n.js";import{b as c}from"./index-DpvjDZBY-COMXK_k2.js";import{O as m}from"./on-mutation-CUFfU3Co-Df_4vpYs.js";import{a as p,o as g}from"./on-attribute-change-De1NnCmO-C8j0fVsi.js";import{h as l}from"./has-slot-qzV3vtOw-D7GdaS0G.js";import{g as d}from"./get-slot-text-content-MAoEg4ig-DTSoMW52.js";import{G as x,a as v}from"./gux-form-field-error-CfwQcitV-ChDRo9e7.js";import{G as y,a as C,b as k}from"./gux-form-field-fieldset-container-DKdKgWFb-DKNGK9md.js";import{v as w,a as F}from"./gux-form-field.service-C3WKbzwR-Dk5c2D0b.js";import{t as T}from"./usage-DmyA5Orv-DQlvlcfk.js";import"./get-closest-element-Cd4R0amv-C_5KDHD-.js";import"./random-html-id-D9jKBqIb-D30kRngR.js";import"./log-error-DxtJDeL9-5foDqi4E.js";import"./simulate-native-event-BMRf5pjV-BcLDngo1.js";const q="Required";var I={required:q};const L=".gux-form-field-fieldset-container{display:flex;min-inline-size:0;padding:0;margin:0;border:none}.gux-form-field-fieldset-container.gux-beside{flex-direction:row}.gux-form-field-fieldset-container.gux-above{flex-direction:column}.gux-form-field-error{display:none;flex-direction:row;flex-wrap:nowrap;gap:var(--gse-ui-formControl-helper-gap);place-content:stretch flex-start;padding:var(--gse-ui-formControl-helper-errorPadding);font-family:var(--gse-ui-formControl-helper-helperText-fontFamily);font-size:var(--gse-ui-formControl-helper-helperText-fontSize);line-height:var(--gse-ui-formControl-helper-helperText-lineHeight);color:var(--gse-ui-formControl-helper-errorColor)}.gux-form-field-error.gux-show{display:flex}.gux-form-field-error gux-icon{flex:0 1 auto;order:0;color:var(--gse-ui-formControl-helper-errorColor)}.gux-form-field-error .gux-message{flex:0 1 auto;align-self:auto;order:0}.gux-form-field-help{display:none;flex-direction:row;flex-wrap:nowrap;place-content:stretch flex-start;align-items:flex-start;justify-content:flex-start;padding-block-start:var(--gse-ui-formControl-formField-gap);font-family:var(--gse-ui-formControl-helper-helperText-fontFamily);font-size:var(--gse-ui-formControl-helper-helperText-fontSize);line-height:var(--gse-ui-formControl-helper-helperText-lineHeight);color:var(--gse-ui-formControl-helper-defaultColor)}.gux-form-field-help.gux-show{display:flex}.gux-form-field-help .gux-message{flex:0 1 auto;align-self:none;order:0}.gux-form-field-visual-label{display:inline-flex;flex:1 0 auto}.gux-form-field-visual-label ::slotted(label){min-inline-size:0}.gux-form-field-visual-label ::slotted(gux-label-info-beta){padding-inline-start:var(--gse-ui-formControl-formField-gap)}.gux-form-field-visual-label.gux-beside{position:relative;inset-block-start:var(--gse-ui-formControl-input-top);inline-size:fit-content;min-inline-size:var(--gse-ui-formControl-input-textfield-minWidth);max-inline-size:fit-content;margin-inline-end:var(--gse-ui-formControl-group-gapItems)}.gux-form-field-visual-label.gux-above{padding-block-end:var(--gse-ui-formControl-formField-gap)}.gux-form-field-visual-label.gux-screenreader{display:none}.gux-form-field-screenreader-label{position:absolute;top:auto;left:-10000px;width:1px;height:1px;overflow:hidden}::slotted(label){font-family:var(--gse-ui-formControl-label-textBold-fontFamily);font-size:var(--gse-ui-formControl-label-textBold-fontSize);font-weight:var(--gse-ui-formControl-label-textBold-fontWeight);line-height:var(--gse-ui-formControl-label-textBold-lineHeight);color:var(--gse-ui-formControl-label-labelColor)}.gux-input-and-error-container{flex-grow:1}";var P=function(e,i,t,a){var s=arguments.length,r=s<3?i:a===null?a=Object.getOwnPropertyDescriptor(i,t):a,n;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")r=Reflect.decorate(e,i,t,a);else for(var f=e.length-1;f>=0;f--)(n=e[f])&&(r=(s<3?n(r):s>3?n(i,t,r):n(i,t))||r);return s>3&&r&&Object.defineProperty(i,t,r),r};const u=class{constructor(e){h(this,e),this.indicatorMark="required",this.computedLabelPosition="above",this.hasError=!1,this.hasHelp=!1,this.hasLabelInfo=!1}watchValue(e){const i=this.root.querySelector("gux-time-picker");i&&(i.hasError=e)}onMutation(){this.labelInfo=this.root.querySelector("[slot=label-info]"),this.hasError=l(this.root,"error"),this.hasHelp=l(this.root,"help")}handleKeyup(e){var i;switch(e.key){case"Tab":{this.input.matches(":focus-within")&&((i=this.labelInfo)===null||i===void 0||i.showTooltip(),this.hideLabelInfoTimeout=setTimeout(()=>{var t;(t=this.labelInfo)===null||t===void 0||t.hideTooltip()},6e3));break}default:{this.input.matches(":focus-within")&&clearTimeout(this.hideLabelInfoTimeout);break}}}onFocusout(){var e;(e=this.labelInfo)===null||e===void 0||e.hideTooltip(),clearTimeout(this.hideLabelInfoTimeout)}async componentWillLoad(){this.getI18nValue=await c(this.root,I),this.setInput(),this.setLabel(),this.labelInfo=this.root.querySelector("[slot=label-info]"),this.hasError=l(this.root,"error"),this.hasHelp=l(this.root,"help"),this.hasLabelInfo=l(this.root,"label-info"),T(this.root,{variant:this.variant})}disconnectedCallback(){this.disabledObserver&&this.disabledObserver.disconnect(),this.requiredObserver&&this.requiredObserver.disconnect()}render(){var e;return o(k,{key:"e5ab32131a3844ad93870a33d351da143a222c6b",labelPosition:this.computedLabelPosition},o(C,{key:"4d7cb96a26b7b31a8383d22e6e4df8a9723099cf"},(e=this.label)===null||e===void 0?void 0:e.textContent,this.renderText(this.getI18nValue("required"),this.required),this.renderText(d(this.root,"error"),this.hasError),this.renderText(d(this.root,"label-info"),this.hasLabelInfo)),o(y,{key:"bc421902a00a0ab3d5b5592c41e2195455b191a6",position:this.computedLabelPosition,required:this.required},o("slot",{key:"647bdf0750f5b4a016ee3982a915f93ccee5ec4b",name:"label",onSlotchange:()=>this.setLabel()}),o("gux-form-field-label-indicator",{key:"0ee6eaa080a98eddc3da07793eb7fbdbf9957a1f",variant:this.indicatorMark,required:this.required}),o("slot",{key:"366b6e3430380f2afb2a1b50fdbd15acaf641da2",name:"label-info"})),o("div",{key:"b7c79d73f8d74c0c47a5cf3b294116637a1946d7",class:"gux-input-and-error-container"},o("div",{key:"aebc1a7a98b438fa5ff5495a74959e60e27a6ce5",class:{"gux-input":!0,"gux-input-error":this.hasError}},o("div",{key:"a31bf94ed550ed8725857a549033f5853f169a63",class:{"gux-time-picker-container":!0,"gux-disabled":this.disabled}},o("slot",{key:"bafbf7a6865c062092c0be4381d2c7888c41db10"}))),o(x,{key:"9f5eaba5a3aa7cf29495e7f53d6d6460dd15636b",show:this.hasError},o("slot",{key:"967f2ffe29b5d418724df96a0a1a11cd55866eae",name:"error"})),o(v,{key:"740561aa70b2112decc2c101752ac2ea57fb4080",show:!this.hasError&&this.hasHelp},o("slot",{key:"6a6b6fb5d2878afa127c9bf9665680869086a251",name:"help"}))))}renderText(e,i=!1){if(i)return" "+e}get variant(){return`timePicker-${this.labelPosition?this.labelPosition.toLowerCase():"none"}`}setInput(){this.input=this.root.querySelector("gux-time-picker"),this.disabled=this.input.disabled,this.required=this.input.required,this.disabledObserver=p(this.input,e=>{this.disabled=e}),this.requiredObserver=g(this.input,e=>{this.required=e}),w(this.root,this.input)}setLabel(){this.label=this.root.querySelector('label[slot="label"]'),this.computedLabelPosition=F(this.label,this.labelPosition)}get root(){return b(this)}static get watchers(){return{hasError:["watchValue"]}}};P([m({childList:!0,subtree:!0})],u.prototype,"onMutation",null);u.style=L;export{u as gux_form_field_time_picker};
@@ -0,0 +1 @@
1
+ import{r as h,h as i,g as c}from"./index-izRZEe2n.js";import{b}from"./index-DpvjDZBY-COMXK_k2.js";import{O as m}from"./on-mutation-CUFfU3Co-Df_4vpYs.js";import{a as p,o as g}from"./on-attribute-change-De1NnCmO-C8j0fVsi.js";import{h as a}from"./has-slot-qzV3vtOw-D7GdaS0G.js";import{g as f}from"./get-slot-text-content-MAoEg4ig-DTSoMW52.js";import{G as x,a as v}from"./gux-form-field-error-CfwQcitV-ChDRo9e7.js";import{G as y,a as C,b as k}from"./gux-form-field-fieldset-container-DKdKgWFb-DKNGK9md.js";import{v as w,a as F}from"./gux-form-field.service-C3WKbzwR-Dk5c2D0b.js";import{t as T}from"./usage-DmyA5Orv-DQlvlcfk.js";import"./get-closest-element-Cd4R0amv-C_5KDHD-.js";import"./random-html-id-D9jKBqIb-D30kRngR.js";import"./log-error-DxtJDeL9-5foDqi4E.js";import"./simulate-native-event-BMRf5pjV-BcLDngo1.js";const q="Required";var I={required:q};const L=".gux-form-field-fieldset-container{display:flex;min-inline-size:0;padding:0;margin:0;border:none}.gux-form-field-fieldset-container.gux-beside{flex-direction:row}.gux-form-field-fieldset-container.gux-above{flex-direction:column}.gux-form-field-error{display:none;flex-direction:row;flex-wrap:nowrap;gap:var(--gse-ui-formControl-helper-gap);place-content:stretch flex-start;padding:var(--gse-ui-formControl-helper-errorPadding);font-family:var(--gse-ui-formControl-helper-helperText-fontFamily);font-size:var(--gse-ui-formControl-helper-helperText-fontSize);line-height:var(--gse-ui-formControl-helper-helperText-lineHeight);color:var(--gse-ui-formControl-helper-errorColor)}.gux-form-field-error.gux-show{display:flex}.gux-form-field-error gux-icon{flex:0 1 auto;order:0;color:var(--gse-ui-formControl-helper-errorColor)}.gux-form-field-error .gux-message{flex:0 1 auto;align-self:auto;order:0}.gux-form-field-help{display:none;flex-direction:row;flex-wrap:nowrap;place-content:stretch flex-start;align-items:flex-start;justify-content:flex-start;padding-block-start:var(--gse-ui-formControl-formField-gap);font-family:var(--gse-ui-formControl-helper-helperText-fontFamily);font-size:var(--gse-ui-formControl-helper-helperText-fontSize);line-height:var(--gse-ui-formControl-helper-helperText-lineHeight);color:var(--gse-ui-formControl-helper-defaultColor)}.gux-form-field-help.gux-show{display:flex}.gux-form-field-help .gux-message{flex:0 1 auto;align-self:none;order:0}.gux-form-field-visual-label{display:inline-flex;flex:1 0 auto}.gux-form-field-visual-label ::slotted(label){min-inline-size:0}.gux-form-field-visual-label ::slotted(gux-label-info-beta){padding-inline-start:var(--gse-ui-formControl-formField-gap)}.gux-form-field-visual-label.gux-beside{position:relative;inset-block-start:var(--gse-ui-formControl-input-top);inline-size:fit-content;min-inline-size:var(--gse-ui-formControl-input-textfield-minWidth);max-inline-size:fit-content;margin-inline-end:var(--gse-ui-formControl-group-gapItems)}.gux-form-field-visual-label.gux-above{padding-block-end:var(--gse-ui-formControl-formField-gap)}.gux-form-field-visual-label.gux-screenreader{display:none}.gux-form-field-screenreader-label{position:absolute;top:auto;left:-10000px;width:1px;height:1px;overflow:hidden}::slotted(label){font-family:var(--gse-ui-formControl-label-textBold-fontFamily);font-size:var(--gse-ui-formControl-label-textBold-fontSize);font-weight:var(--gse-ui-formControl-label-textBold-fontWeight);line-height:var(--gse-ui-formControl-label-textBold-lineHeight);color:var(--gse-ui-formControl-label-labelColor)}.gux-input-and-error-container{flex-grow:1}";var P=function(e,o,t,r){var s=arguments.length,l=s<3?o:r===null?r=Object.getOwnPropertyDescriptor(o,t):r,n;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")l=Reflect.decorate(e,o,t,r);else for(var d=e.length-1;d>=0;d--)(n=e[d])&&(l=(s<3?n(l):s>3?n(o,t,l):n(o,t))||l);return s>3&&l&&Object.defineProperty(o,t,l),l};const u=class{constructor(e){h(this,e),this.indicatorMark="required",this.computedLabelPosition="above",this.hasError=!1,this.hasHelp=!1,this.hasLabelInfo=!1}watchValue(e){const o=this.root.querySelector("gux-time-zone-picker-beta");o&&(o.hasError=e)}onMutation(){this.labelInfo=this.root.querySelector("[slot=label-info]"),this.hasError=a(this.root,"error"),this.hasHelp=a(this.root,"help")}handleKeyup(e){var o,t;switch(e.key){case"Tab":{this.input.matches(":focus-within")&&((o=this.labelInfo)===null||o===void 0||o.showTooltip(),this.hideLabelInfoTimeout=setTimeout(()=>{var r;(r=this.labelInfo)===null||r===void 0||r.hideTooltip()},6e3));break}default:{this.input.matches(":focus-within")&&((t=this.labelInfo)===null||t===void 0||t.hideTooltip(),clearTimeout(this.hideLabelInfoTimeout));break}}}onFocusout(){var e;(e=this.labelInfo)===null||e===void 0||e.hideTooltip(),clearTimeout(this.hideLabelInfoTimeout)}async componentWillLoad(){this.getI18nValue=await b(this.root,I),this.setInput(),this.setLabel(),this.labelInfo=this.root.querySelector("[slot=label-info]"),this.hasError=a(this.root,"error"),this.hasHelp=a(this.root,"help"),this.hasLabelInfo=a(this.root,"label-info"),T(this.root,{variant:this.variant})}disconnectedCallback(){this.disabledObserver&&this.disabledObserver.disconnect(),this.requiredObserver&&this.requiredObserver.disconnect()}render(){var e;return i(k,{key:"8021fd2c7190564cf28210b0e7141e051d4468e7",labelPosition:this.computedLabelPosition},i(C,{key:"8036179008298d39417ad34b64f9d216a40740bd"},(e=this.label)===null||e===void 0?void 0:e.textContent,this.renderText(this.getI18nValue("required"),this.required),this.renderText(f(this.root,"error"),this.hasError),this.renderText(f(this.root,"label-info"),this.hasLabelInfo)),i(y,{key:"cc8145669ae9258493c3cc4d6995ea65190bd325",position:this.computedLabelPosition,required:this.required},i("slot",{key:"4869a073924cc524b3bdcd1cd8d1c1e2725c6b17",name:"label",onSlotchange:()=>this.setLabel()}),i("gux-form-field-label-indicator",{key:"50a1e3f905e392d8813b987457e9cf507e2fed1a",variant:this.indicatorMark,required:this.required}),i("slot",{key:"25cd4be3bf7906da2a99d6cdc7023cebbc3afb1b",name:"label-info"})),i("slot",{key:"192555f7bea53987d464d8d1bc0c70d815a93c91",name:"label-info"}),i("div",{key:"45c0c71fa8a3379446deb5dde6019a8a5a94e2fe",class:"gux-input-and-error-container"},i("div",{key:"4999945a55ecc936d686e3839e7c68d3994ca3ae",class:{"gux-input":!0,"gux-input-error":this.hasError,"gux-time-zone-picker-container":!0,"gux-disabled":this.disabled}},i("slot",{key:"317cbdecb53e5bd3031e1fd370ed881659cbac21"})),i(x,{key:"c792f6017ee9c3a3c003be19023538ce2cf7b482",show:this.hasError},i("slot",{key:"edb2dc0ac5a7b21b79a11fc064abb9cb23f8d8ae",name:"error"})),i(v,{key:"998daf7b1a75da360eff441d7137cf04c04a5248",show:!this.hasError&&this.hasHelp},i("slot",{key:"6d28f8c56bb8da39142173618e1b1fb74192d914",name:"help"}))))}renderText(e,o=!1){if(o)return" "+e}get variant(){return`timeZonePicker-${this.labelPosition?this.labelPosition.toLowerCase():"none"}`}setInput(){this.input=this.root.querySelector("gux-time-zone-picker-beta"),this.disabled=this.input.disabled,this.required=this.input.required,this.disabledObserver=p(this.input,e=>{this.disabled=e}),this.requiredObserver=g(this.input,e=>{this.required=e}),w(this.root,this.input)}setLabel(){this.label=this.root.querySelector('label[slot="label"]'),this.computedLabelPosition=F(this.label,this.labelPosition)}get root(){return c(this)}static get watchers(){return{hasError:["watchValue"]}}};P([m({childList:!0,subtree:!0})],u.prototype,"onMutation",null);u.style=L;export{u as gux_form_field_time_zone_picker};
@@ -1 +1 @@
1
- import{r as u}from"./random-html-id-81ac821b-D30kRngR.js";import{l as c}from"./log-error-274efeb7-BpRSdGLj.js";import{s as A}from"./simulate-native-event-e0631897-BcLDngo1.js";import{h}from"./has-slot-f24a46a6-D7GdaS0G.js";function v(e,t,s){e.value=t,A(e,"input"),A(e,"change"),s&&e.focus()}function S(e){v(e,"",!0)}function B(e){return!!(e!=null&&e.value)}function q(e,t){if(e)return["above","beside","screenreader"].includes(t)?t:e.offsetWidth>1&&e.offsetWidth<40?"beside":"above"}function E(e,t){var s,d,b,f,n,o;if(y(e)){const r=e.querySelector('label[slot="label"]'),i=!!t.hasAttribute("id"),a=!!r.hasAttribute("for");if(!i&&a)c(e,'A "for" attribute has been provided on the label but there is no corresponding id on the input. Either provide an id on the input or omit the "for" attribute from the label. If there is no input id and no "for" attribute provided, the component will automatically generate an id and link it to the "for" attribute.');else if(i)if(i&&!a){const l=t.getAttribute("id");r.setAttribute("for",l)}else i&&a&&t.getAttribute("id")!==r.getAttribute("for")&&c(e,"The input id and label for attribute should match.");else{const l=u("gux-form-field-input");t.setAttribute("id",l),r.setAttribute("for",l)}}else c(e,'A label is required for this component. If a visual label is not needed for this use case, please add localized text for a screenreader and set the label-position attribute to "screenreader" to visually hide the label.');if(h(e,"error")){const r=e.querySelector('[slot="error"]'),i=u("gux-form-field-error"),a=((s=t.getAttribute("aria-describedby"))===null||s===void 0?void 0:s.split(" ").filter(l=>!l.startsWith("gux-form-field-error")))||[];r.setAttribute("id",i),a.push(i),(t.tagName==="INPUT"||t.tagName==="SELECT"||t.tagName==="TEXTAREA")&&t.setAttribute("aria-invalid","true"),a&&t.setAttribute("aria-describedby",a.join(" "))}else if(t.getAttribute("aria-describedby")){const r=((d=t.getAttribute("aria-describedby"))===null||d===void 0?void 0:d.split(" ").filter(i=>!i.startsWith("gux-form-field-error")))||[];t.setAttribute("aria-describedby",r.join(" "))}if(h(e,"help")){const r=e.querySelector('[slot="help"]'),i=u("gux-form-field-help"),a=((b=t.getAttribute("aria-describedby"))===null||b===void 0?void 0:b.split(" ").filter(l=>!l.startsWith("gux-form-field-help")))||[];r.setAttribute("id",i),a.push(i),a&&t.setAttribute("aria-describedby",a.join(" "))}else if(t.getAttribute("aria-describedby")){const r=((f=t.getAttribute("aria-describedby"))===null||f===void 0?void 0:f.split(" ").filter(i=>!i.startsWith("gux-form-field-help")))||[];t.setAttribute("aria-describedby",r.join(" "))}if(h(e,"label-info")){const r=e.querySelector('[slot="label-info"]'),i=u("gux-label-info-beta"),a=((n=t.getAttribute("aria-describedby"))===null||n===void 0?void 0:n.split(" ").filter(l=>!l.startsWith("gux-label-info-beta")))||[];r.setAttribute("id",i),a.push(i),a&&t.setAttribute("aria-describedby",a.join(" "))}else if(t.getAttribute("aria-describedby")){const r=((o=t.getAttribute("aria-describedby"))===null||o===void 0?void 0:o.split(" ").filter(i=>!i.startsWith("gux-label-info-beta")))||[];t.setAttribute("aria-describedby",r.join(" "))}}function g(e,t,s,d){var b;if(h(e,d)){const f=e.querySelector(`[slot=${d}]`),n=u(`gux-${d}`),o=((b=s.getAttribute(t))===null||b===void 0?void 0:b.split(" ").filter(r=>!r.startsWith(`gux-${d}`)))||[];f.setAttribute("id",n),o==null||o.push(n),o&&s.setAttribute(t,o.join(" "))}}function W(e,t,s){g(e,"aria-labelledby",t,s)}function j(e,t,s){g(e,"aria-describedby",t,s)}function T(e,t){const s=e.querySelector(t);return s||c(e,`This component requires an input element that matches the following selector: ${t}`),s}function y(e){return!!e.querySelector('label[slot="label"]')}export{q as a,j as b,S as c,v as d,T as g,B as h,W as s,E as v};
1
+ import{r as u}from"./random-html-id-D9jKBqIb-D30kRngR.js";import{a as c}from"./log-error-DxtJDeL9-5foDqi4E.js";import{s as A}from"./simulate-native-event-BMRf5pjV-BcLDngo1.js";import{h}from"./has-slot-qzV3vtOw-D7GdaS0G.js";function v(e,t,s){e.value=t,A(e,"input"),A(e,"change"),s&&e.focus()}function S(e){v(e,"",!0)}function B(e){return!!(e!=null&&e.value)}function q(e,t){if(e)return["above","beside","screenreader"].includes(t)?t:e.offsetWidth>1&&e.offsetWidth<40?"beside":"above"}function E(e,t){var s,d,b,f,n,o;if(y(e)){const r=e.querySelector('label[slot="label"]'),i=!!t.hasAttribute("id"),a=!!r.hasAttribute("for");if(!i&&a)c(e,'A "for" attribute has been provided on the label but there is no corresponding id on the input. Either provide an id on the input or omit the "for" attribute from the label. If there is no input id and no "for" attribute provided, the component will automatically generate an id and link it to the "for" attribute.');else if(i)if(i&&!a){const l=t.getAttribute("id");r.setAttribute("for",l)}else i&&a&&t.getAttribute("id")!==r.getAttribute("for")&&c(e,"The input id and label for attribute should match.");else{const l=u("gux-form-field-input");t.setAttribute("id",l),r.setAttribute("for",l)}}else c(e,'A label is required for this component. If a visual label is not needed for this use case, please add localized text for a screenreader and set the label-position attribute to "screenreader" to visually hide the label.');if(h(e,"error")){const r=e.querySelector('[slot="error"]'),i=u("gux-form-field-error"),a=((s=t.getAttribute("aria-describedby"))===null||s===void 0?void 0:s.split(" ").filter(l=>!l.startsWith("gux-form-field-error")))||[];r.setAttribute("id",i),a.push(i),(t.tagName==="INPUT"||t.tagName==="SELECT"||t.tagName==="TEXTAREA")&&t.setAttribute("aria-invalid","true"),a&&t.setAttribute("aria-describedby",a.join(" "))}else if(t.getAttribute("aria-describedby")){const r=((d=t.getAttribute("aria-describedby"))===null||d===void 0?void 0:d.split(" ").filter(i=>!i.startsWith("gux-form-field-error")))||[];t.setAttribute("aria-describedby",r.join(" "))}if(h(e,"help")){const r=e.querySelector('[slot="help"]'),i=u("gux-form-field-help"),a=((b=t.getAttribute("aria-describedby"))===null||b===void 0?void 0:b.split(" ").filter(l=>!l.startsWith("gux-form-field-help")))||[];r.setAttribute("id",i),a.push(i),a&&t.setAttribute("aria-describedby",a.join(" "))}else if(t.getAttribute("aria-describedby")){const r=((f=t.getAttribute("aria-describedby"))===null||f===void 0?void 0:f.split(" ").filter(i=>!i.startsWith("gux-form-field-help")))||[];t.setAttribute("aria-describedby",r.join(" "))}if(h(e,"label-info")){const r=e.querySelector('[slot="label-info"]'),i=u("gux-label-info-beta"),a=((n=t.getAttribute("aria-describedby"))===null||n===void 0?void 0:n.split(" ").filter(l=>!l.startsWith("gux-label-info-beta")))||[];r.setAttribute("id",i),a.push(i),a&&t.setAttribute("aria-describedby",a.join(" "))}else if(t.getAttribute("aria-describedby")){const r=((o=t.getAttribute("aria-describedby"))===null||o===void 0?void 0:o.split(" ").filter(i=>!i.startsWith("gux-label-info-beta")))||[];t.setAttribute("aria-describedby",r.join(" "))}}function g(e,t,s,d){var b;if(h(e,d)){const f=e.querySelector(`[slot=${d}]`),n=u(`gux-${d}`),o=((b=s.getAttribute(t))===null||b===void 0?void 0:b.split(" ").filter(r=>!r.startsWith(`gux-${d}`)))||[];f.setAttribute("id",n),o==null||o.push(n),o&&s.setAttribute(t,o.join(" "))}}function W(e,t,s){g(e,"aria-labelledby",t,s)}function j(e,t,s){g(e,"aria-describedby",t,s)}function T(e,t){const s=e.querySelector(t);return s||c(e,`This component requires an input element that matches the following selector: ${t}`),s}function y(e){return!!e.querySelector('label[slot="label"]')}export{q as a,W as b,S as c,v as d,T as g,B as h,j as s,E as v};
@@ -1 +1 @@
1
- import{r as t,h as i}from"./index-CWixJ8vL.js";const n="::slotted(*){margin:0;font-family:var(--gse-semantic-heading-md-bold-fontFamily) !important;font-size:var(--gse-semantic-heading-md-bold-fontSize) !important;font-weight:var(--gse-semantic-heading-md-bold-fontWeight) !important;line-height:var(--gse-semantic-heading-md-bold-lineHeight) !important;color:var(--gse-semantic-foreground-container-highEmphasis) !important}",a=n,o=class{constructor(e){t(this,e)}render(){return i("slot",{key:"711c1a3ecbb67f3240b1ec27c57a3dccf8c915c4"})}};o.style=a;export{o as gux_form_fieldset_heading};
1
+ import{r as t,h as i}from"./index-izRZEe2n.js";const n="::slotted(*){margin:0;font-family:var(--gse-semantic-heading-md-bold-fontFamily) !important;font-size:var(--gse-semantic-heading-md-bold-fontSize) !important;font-weight:var(--gse-semantic-heading-md-bold-fontWeight) !important;line-height:var(--gse-semantic-heading-md-bold-lineHeight) !important;color:var(--gse-semantic-foreground-container-highEmphasis) !important}",a=class{constructor(e){t(this,e)}render(){return i("slot",{key:"711c1a3ecbb67f3240b1ec27c57a3dccf8c915c4"})}};a.style=n;export{a as gux_form_fieldset_heading};
@@ -1 +1 @@
1
- import{r as t,h as o,H as r,g as a}from"./index-CWixJ8vL.js";import{t as s}from"./usage-36c49ec0-Dlq6IjQJ.js";const i=":host ::slotted(footer){display:flex;align-items:center;justify-content:flex-start;margin-block-start:var(--gse-semantic-formControl-formBody-paddingBottom);border-block-start:var(--gse-ui-formFooter-separator-width) var(--gse-ui-formFooter-separator-style) var(--gse-ui-formFooter-separator-color)}:host(.gux-form-footer-page-desktop) ::slotted(footer){gap:var(--gse-ui-formFooter-page-desktop-gap);padding-block:var(--gse-ui-formFooter-page-desktop-topPadding) var(--gse-ui-formFooter-page-desktop-bottomPadding);padding-inline:var(--gse-ui-formFooter-page-desktop-horizontalPadding) var(--gse-ui-formFooter-page-desktop-horizontalPadding)}:host(.gux-form-footer-page-mobile) ::slotted(footer){flex-direction:column;gap:var(--gse-ui-formFooter-page-mobile-gap);align-items:stretch;justify-content:center;padding-block:var(--gse-ui-formFooter-page-mobile-topPadding) var(--gse-ui-formFooter-page-mobile-bottomPadding);padding-inline:var(--gse-ui-formFooter-page-mobile-horizontalPadding) var(--gse-ui-formFooter-page-mobile-horizontalPadding)}:host(.gux-form-footer-side-sheet-desktop) ::slotted(footer){gap:var(--gse-ui-formFooter-sideSheet-desktop-gap);padding-block:var(--gse-ui-formFooter-sideSheet-desktop-topPadding) var(--gse-ui-formFooter-sideSheet-desktop-bottomPadding);padding-inline:var(--gse-ui-formFooter-sideSheet-desktop-horizontalPadding) var(--gse-ui-formFooter-sideSheet-desktop-horizontalPadding)}",d=i,g=class{constructor(e){t(this,e),this.placement="page-desktop"}componentWillLoad(){s(this.root,{variant:this.placement})}render(){return o(r,{key:"4f6079d93cee9ed8f9ac2e99c23c61ce4266621e",class:{[`gux-form-footer-${this.placement}`]:!0}},o("slot",{key:"099c671fbbf9d2465a54e14c5314b219eda9fb74"}))}get root(){return a(this)}};g.style=d;export{g as gux_form_footer};
1
+ import{r as t,h as o,H as r,g as a}from"./index-izRZEe2n.js";import{t as s}from"./usage-DmyA5Orv-DQlvlcfk.js";const i=":host ::slotted(footer){display:flex;align-items:center;justify-content:flex-start;margin-block-start:var(--gse-semantic-formControl-formBody-paddingBottom);border-block-start:var(--gse-ui-formFooter-separator-width) var(--gse-ui-formFooter-separator-style) var(--gse-ui-formFooter-separator-color)}:host(.gux-form-footer-page-desktop) ::slotted(footer){gap:var(--gse-ui-formFooter-page-desktop-gap);padding-block:var(--gse-ui-formFooter-page-desktop-topPadding) var(--gse-ui-formFooter-page-desktop-bottomPadding);padding-inline:var(--gse-ui-formFooter-page-desktop-horizontalPadding) var(--gse-ui-formFooter-page-desktop-horizontalPadding)}:host(.gux-form-footer-page-mobile) ::slotted(footer){flex-direction:column;gap:var(--gse-ui-formFooter-page-mobile-gap);align-items:stretch;justify-content:center;padding-block:var(--gse-ui-formFooter-page-mobile-topPadding) var(--gse-ui-formFooter-page-mobile-bottomPadding);padding-inline:var(--gse-ui-formFooter-page-mobile-horizontalPadding) var(--gse-ui-formFooter-page-mobile-horizontalPadding)}:host(.gux-form-footer-side-sheet-desktop) ::slotted(footer){gap:var(--gse-ui-formFooter-sideSheet-desktop-gap);padding-block:var(--gse-ui-formFooter-sideSheet-desktop-topPadding) var(--gse-ui-formFooter-sideSheet-desktop-bottomPadding);padding-inline:var(--gse-ui-formFooter-sideSheet-desktop-horizontalPadding) var(--gse-ui-formFooter-sideSheet-desktop-horizontalPadding)}",d=class{constructor(e){t(this,e),this.placement="page-desktop"}componentWillLoad(){s(this.root,{variant:this.placement})}render(){return o(r,{key:"4f6079d93cee9ed8f9ac2e99c23c61ce4266621e",class:{[`gux-form-footer-${this.placement}`]:!0}},o("slot",{key:"099c671fbbf9d2465a54e14c5314b219eda9fb74"}))}get root(){return a(this)}};d.style=i;export{d as gux_form_footer};
@@ -1 +1 @@
1
- import{r as e,h as o}from"./index-CWixJ8vL.js";const i="::slotted(*){margin:0;font-family:var(--gse-semantic-body-lg-semiBold-fontFamily) !important;font-size:var(--gse-semantic-body-lg-semiBold-fontSize) !important;font-weight:var(--gse-semantic-body-lg-semiBold-fontWeight) !important;line-height:var(--gse-semantic-body-lg-semiBold-lineHeight) !important;color:var(--gse-semantic-foreground-container-highEmphasis) !important}",n=i,s=class{constructor(t){e(this,t)}render(){return o("slot",{key:"f3dc7b4c83524a983b2d616fdacde57df9878978"})}};s.style=n;export{s as gux_form_heading};
1
+ import{r as e,h as o}from"./index-izRZEe2n.js";const i="::slotted(*){margin:0;font-family:var(--gse-semantic-body-lg-semiBold-fontFamily) !important;font-size:var(--gse-semantic-body-lg-semiBold-fontSize) !important;font-weight:var(--gse-semantic-body-lg-semiBold-fontWeight) !important;line-height:var(--gse-semantic-body-lg-semiBold-lineHeight) !important;color:var(--gse-semantic-foreground-container-highEmphasis) !important}",n=class{constructor(t){e(this,t)}render(){return o("slot",{key:"f3dc7b4c83524a983b2d616fdacde57df9878978"})}};n.style=i;export{n as gux_form_heading};
@@ -0,0 +1 @@
1
+ import{r as e,h as t,g as i}from"./index-izRZEe2n.js";import{t as n}from"./usage-DmyA5Orv-DQlvlcfk.js";import{g as r}from"./get-slot-text-content-MAoEg4ig-DTSoMW52.js";const a=".gux-icon-tooltip{inline-size:fit-content;padding:0;line-height:0;background-color:transparent;border:none;border-radius:var(--gse-ui-formControl-label-tooltipTrigger-borderRadius)}.gux-icon-tooltip gux-tooltip{padding-inline-start:0}.gux-icon-tooltip gux-icon{vertical-align:bottom;color:var(--gse-ui-formControl-label-tooltipTrigger-color)}",c=class{constructor(o){e(this,o),this.placement="right"}componentWillLoad(){n(this.root)}async showTooltip(){return await this.tooltip.showTooltip()}async hideTooltip(){return await this.tooltip.hideTooltip()}render(){return t("div",{key:"1d7c4cd8f3a16245f010ec66dd975c97234b01ac",class:"gux-icon-tooltip"},t("gux-screen-reader-beta",{key:"d6fef5089af4f967c9df31d2732c65d160604beb"},t("slot",{key:"6867e45124f6031a25a5b3c8725642773871a39e",name:"content"})),t("gux-icon",{key:"ead0d91cb12c90697046d89c114206020d4d685c","icon-name":this.iconName,size:"small",decorative:!0}),t("gux-tooltip-beta",{key:"49cabba6e05798ee7720dd085b6686f669ab59be",placement:this.placement,ref:o=>this.tooltip=o},t("div",{key:"439b5a9da00fa5cd885dac7c51238c3f8ee5c72e",slot:"content"},r(this.root,"content"))))}get root(){return i(this)}};c.style=a;export{c as gux_icon_tooltip_beta};
@@ -1 +1 @@
1
- import{r as u,h as c,g,a as f}from"./index-CWixJ8vL.js";import{t as n}from"./usage-36c49ec0-Dlq6IjQJ.js";import{l as d}from"./log-error-274efeb7-BpRSdGLj.js";const h=["fa/arrow-left-to-line-solid","fa/arrow-right-to-line-solid"],s={"8x8":"custom/8x8","8x8-alt":"custom/8x8-solid",add:"fa/plus-regular","add-circle":"fa/circle-plus-regular",agent:"fa/head-side-headphones-regular","agent-circle":"custom/circle-head-side-headphones-regular","agent-group":"fa/people-group-regular","alert-info":"fa/circle-info-regular","alert-success":"deprecated/fa/circle-check-regular","alert-warning-octogon":"fa/hexagon-exclamation-regular","alert-warning-triangle":"fa/triangle-exclamation-regular",android:"fa/android","app-chart":"fa/square-poll-vertical-regular","app-generic":"fa/browser-regular","app-layout":"fa/table-layout-regular","app-table":"fa/table-regular",apple:"fa/apple",archive:"fa/box-archive-regular","arrow-down":"fa/arrow-down-regular","arrow-down-left":"fa/arrow-down-left-regular","arrow-down-right":"fa/arrow-down-right-regular","arrow-left":"fa/arrow-left-regular","arrow-right":"fa/arrow-right-regular","arrow-solid-down":"fa/caret-down-solid","arrow-solid-left":"fa/caret-left-solid","arrow-solid-right":"fa/caret-right-solid","arrow-solid-up":"fa/caret-up-solid","arrow-up":"fa/arrow-up-regular","arrow-up-left":"fa/arrow-up-left-regular","arrow-up-right":"fa/arrow-up-right-regular",at:"fa/at-regular",attachment:"fa/paperclip-regular",backspace:"fa/delete-left-regular","badge-amount":"fa/circle-0-solid","badge-check":"fa/circle-check-solid","badge-edit":"fa/pen-circle-regular","badge-file":"deprecated/badge-file","badge-pause":"fa/circle-pause-solid","badge-x":"fa/circle-xmark-solid","ban-outline":"deprecated/fa/ban-regular",bell:"fa/bell-regular",bolt:"fa/bolt-regular",bot:"fa/robot-regular",branch:"fa/code-branch-regular",bug:"fa/bug-regular",bus:"fa/bus-simple-regular",calendar:"fa/calendar-regular","calendar-add":"fa/calendar-plus-regular","calendar-clock":"fa/calendar-clock-regular",campaign:"fa/bullhorn-regular",certificate:"fa/file-certificate-regular",chat:"fa/message-lines-regular","chat-bell":"custom/message-bell-regular","chat-close":"fa/message-xmark-regular","chat-disable":"fa/message-slash-regular","chat-multi":"fa/messages-regular","chat-notification-score":"custom/message-bell-regular",checkbox:"fa/square-regular","checkbox-active":"fa/square-check-solid","checkbox-partial":"fa/square-minus-regular",checkmark:"custom/check-small-regular","chevron-double-down":"fa/chevrons-down-regular","chevron-double-left":"fa/chevrons-left-regular","chevron-double-right":"fa/chevrons-right-regular","chevron-double-up":"fa/chevrons-up-regular","chevron-left":"fa/chevron-left-regular","chevron-right":"fa/chevron-right-regular","chevron-small-down":"custom/chevron-down-small-regular","chevron-small-left":"custom/chevron-left-small-regular","chevron-small-right":"custom/chevron-right-small-regular","chevron-small-up":"custom/chevron-up-small-regular",chrome:"fa/chrome","cjv-badge-file":"fa/file-regular","cjv-calendar-clock":"fa/calendar-clock-regular","cjv-custom-default":"deprecated/cjv-custom-default","cjv-custom-event":"fa/circle-star-solid","cjv-custom-session":"custom/rectangules-arrow-left-to-right-regular","cjv-default-event":"fa/circle-star-solid","cjv-delivery":"fa/truck-regular","cjv-finance-invoice":"fa/file-invoice-dollar-regular","cjv-form-abandoned":"fa/file-circle-xmark-regular","cjv-form-submitted":"custom/file-arrow-up-regular","cjv-generic-application":"fa/file-user-regular","cjv-offer-closed":"fa/circle-xmark-solid","cjv-offer-ignored":"fa/subtract-circle-solid","cjv-offer-offered":"fa/circle-chevron-right-solid","cjv-offer-opened":"fa/badge-check-solid","cjv-outcome-achieved":"fa/circle-check-solid","cjv-page-view":"fa/circle-dot-regular","cjv-policy-contract":"fa/file-contract-regular","cjv-product-added":"fa/cart-circle-plus-regular","cjv-product-purchased":"fa/cart-circle-check-regular","cjv-product-removed":"fa/cart-circle-xmark-regular","cjv-search":"fa/magnifying-glass-regular","cjv-segment":"fa/chart-pie-simple-regular","cjv-segment-assigned":"fa/circle-quarter-regular","cjv-web-session":"fa/globe-regular","cjv-webchat-accepted":"fa/message-check-solid","cjv-webchat-error":"fa/message-xmark-solid","cjv-webchat-ignored":"fa/message-minus-solid","cjv-webchat-offered":"fa/message-arrow-up-right-solid","cjv-webchat-rejected":"fa/message-xmark-solid","cjv-webchat-requested":"fa/message-plus-solid","cjv-webchat-submitted":"fa/message-arrow-up-solid","cjv-webchat-timeout":"fa/timer-regular",clipboard:"fa/clipboard-regular","clipboard-error":"fa/clipboard-question-regular","clipboard-success":"fa/clipboard-check-regular",clock:"fa/clock-regular","clock-outline":"fa/clock-regular",clone:"fa/clone-regular",close:"fa/xmark-large-regular","close-circle":"deprecated/fa/circle-xmark-regular",cloud:"fa/cloud-regular","cloud-outline":"fa/cloud-regular",coaching:"fa/whistle-regular",cobrowse:"deprecated/cobrowse",collapse:"fa/arrow-down-left-and-arrow-up-right-to-center-regular",comments:"fa/message-lines-regular","comments-disable":"fa/message-slash-regular",configuration:"fa/block-brick-regular","control-end":"fa/forward-fast-regular","control-pause":"fa/pause-regular","control-play":"fa/play-regular","control-skip-left":"fa/backward-regular","control-skip-right":"fa/forward-regular","control-slide-back":"fa/backward-step-regular","control-slide-forward":"fa/forward-step-regular","control-start":"fa/backward-fast-regular","control-stop":"fa/stop-regular",copy:"fa/copy-regular","custom/add-column-after":"custom/table-column-plus-right-regular","custom/add-column-before":"custom/table-column-plus-left-regular","custom/add-row-after":"custom/table-row-plus-bottom-regular","custom/add-row-before":"custom/table-row-plus-top-regular","custom/binoculars-slash-regular":"custom/regular-binoculars-slash","custom/carousel":"custom/rectangle-carousel-regular","custom/clipboard-list-slash-regular":"custom/regular-clipboard-list-slash","custom/co-browse":"custom/screen-monitor-regular","custom/delete-column":"custom/table-column-xmark-regular","custom/delete-row":"custom/table-row-xmark-regular","custom/delete-table":"custom/table-xmark-regular","custom/file-pen-question":"custom/file-pen-question-regular","custom/filter-notification":"custom/filter-dot-regular","custom/font-regular-highlight":"custom/font-underline-regular","custom/one-button":"custom/mobiles-one-button-regular","custom/person-running":"fa/person-running-solid","custom/quick-reply":"custom/circle-buttons-regular","custom/three-button":"custom/mobile-three-button-regular","custom/wrap-text-inline":"custom/wrap-text-inline-regular","custom/wrap-text-tight":"custom/wrap-text-tight-regular","custom/wrap-text-top-bottom":"custom/wrap-text-top-bottom-regular","customer-journey":"fa/map-location-dot-regular",cut:"fa/scissors-regular",dash:"fa/gauge-simple-high-regular",delete:"fa/trash-regular","device-camera":"fa/camera-regular","device-cellphone":"fa/mobile-regular","device-headphones":"fa/headphones-regular","device-laptop":"fa/laptop-regular","device-pc":"deprecated/device-pc","device-server":"fa/server-regular","device-tablet":"fa/tablet-regular",download:"fa/arrow-down-to-line-regular",edge:"fa/edge-legacy",edit:"fa/pen-regular","email-notification-score":"fa/envelope-dot-regular",expand:"fa/arrow-up-right-and-arrow-down-left-from-center-regular",export:"fa/arrow-up-from-line-regular","external-link":"fa/arrow-up-right-from-square-regular","fa/00-solid":"fa/00-regular","fa/arrows-rotate-solid":"fa/arrows-rotate-regular","fa/ban-regular":"deprecated/fa/ban-regular","fa/check-solid":"custom/check-small-regular","fa/circle-check-regular":"deprecated/fa/circle-check-regular","fa/circle-xmark-regular":"deprecated/fa/circle-xmark-regular","fa/clock-outline":"fa/clock-regular","fa/comment-dots-regular":"fa/message-dots-regular","fa/comments-regular":"fa/messages-regular","fa/diagram-project-gear-regular":"fa/regular-diagram-project-gear","fa/eye-regular":"deprecated/fa/eye-regular","fa/eye-slash-regular":"deprecated/fa/eye-slash-regular","fa/life-ring-regular":"deprecated/fa/life-ring-regular","fa/link-horizontal-slash-regular":"fa/link-slash-regular","fa/link-horizontal-solid":"fa/link-regular","fa/list-radio-clean-regular":"fa/list-ul-regular","fa/list-radio-regular":"fa/list-ul-regular","fa/list-regular":"fa/list-ul-regular","fa/rectangle-list-regular":"fa/square-list-regular","fa/reply-regular":"custom/reply-regular","fa/right-to-bracket-regular":"fa/arrow-right-to-bracket-regular","fa/share-regular":"custom/share-regular","fa/volume-regular":"deprecated/fa/volume-regular","face-empathy":"deprecated/face-empathy","face-happy":"fa/face-smile-regular","face-happy-solid":"fa/face-smile-solid","face-neutral":"fa/face-meh-regular","face-neutral-solid":"fa/face-meh-solid","face-sad":"fa/face-frown-regular","face-sad-solid":"fa/face-frown-solid",facebook:"fa/facebook","facebook-messenger":"fa/facebook-messenger",fax:"fa/fax-regular",file:"fa/file-regular","file-all":"fa/files-regular","file-audio":"deprecated/fa/volume-regular","file-image-landscape":"fa/image-regular","file-image-portrait":"fa/image-portrait-regular","file-pdf":"fa/file-pdf-regular","file-preview":"fa/file-magnifying-glass-regular","file-report":"fa/file-chart-column-regular","file-text":"fa/file-lines-regular","file-video":"fa/video-regular",filter:"fa/filter-regular",fire:"fa/fire-regular",firefox:"fa/firefox",flag:"fa/flag-regular",folder:"fa/folder-regular","folder-add":"fa/folder-plus-regular","folder-open":"fa/folder-open-regular",follow:"fa/binoculars-regular",generic:"fa/shapes-regular",globe:"fa/earth-africa-regular","grab-horizontal":"fa/grip-solid","grab-vertical":"fa/grip-vertical-solid","graph-bar-horizontal":"fa/chart-bar-regular","graph-bar-vertical":"fa/chart-column-regular","graph-bubble":"fa/chart-scatter-bubble-regular","graph-chart":"fa/chart-area-regular","graph-line":"fa/chart-line-regular","graph-pie":"fa/chart-pie-regular","graph-spark":"custom/chart-line-spark-regular","group-standard":"custom/users-light",help:"fa/circle-question-regular",home:"fa/home-regular",hourglass:"fa/hourglass-half-regular",import:"fa/file-import-regular",inbox:"fa/inbox-regular",inspect:"deprecated/fa/eye-regular","inspect-disable":"deprecated/fa/eye-slash-regular",instagram:"fa/instagram","internet-explorer":"fa/internet-explorer",key:"fa/key-regular",lightbulb:"fa/lightbulb-regular","line-messenger":"fa/line",link:"fa/link-regular",linkedin:"fa/linkedin",linux:"fa/linux",lock:"fa/lock-regular","lock-hold":"custom/lock-keyholes-regular",logout:"fa/arrow-right-from-bracket-regular","low-bandwidth":"fa/wifi-slash-regular",lunch:"fa/utensils-regular",menu:"fa/bars-regular","menu-kebab-horizontal":"fa/ellipsis-regular","menu-kebab-vertical":"fa/ellipsis-vertical-regular","message-email":"fa/envelope-regular","message-email-outbound":"custom/envelope-arrow-up-right-regular","message-forward":"custom/share-regular","message-reply":"custom/reply-regular","message-reply-all":"custom/reply-all-regular",microphone:"fa/microphone-regular","microphone-disable":"fa/microphone-slash-regular","microphone-talking":"custom/microphone-line-on-regular",microsoft:"fa/microsoft","microsoft-teams":"custom/microsoft-teams",moon:"fa/moon-regular",music:"fa/music-regular",notes:"fa/memo-regular",notification:"fa/circle-solid",opera:"fa/opera","operator-pair":"custom/users-headset-regular",paint:"fa/fill-drip-regular",palette:"fa/palette-regular","parking-sign-regular":"fa/square-parking-regular",paste:"fa/paste-regular",people:"fa/people-pants-simple-regular",phone:"fa/phone-regular","phone-bell":"custom/phone-bell-regular","phone-call-directory":"deprecated/phone-call-directory","phone-call-history":"custom/phone-bars-regular","phone-callback":"custom/phone-arrow-left-regular","phone-close":"fa/phone-xmark-regular","phone-conference":"custom/phone-big-small-regular","phone-dialpad":"fa/grid-regular","phone-disable":"fa/phone-slash-regular","phone-forward":"fa/phone-arrow-right-regular","phone-hangup":"fa/phone-hangup-regular","phone-hold":"custom/phone-clock-regular","phone-inbound":"fa/phone-arrow-down-left-regular","phone-missed-call":"fa/phone-missed-regular","phone-notification-score":"custom/phone-star-regular","phone-outbound":"fa/phone-arrow-up-right-regular","phone-success":"custom/phone-check-regular","phone-voice":"custom/phone-high-volume-regular",pin:"fa/thumbtack-regular","pin-location":"fa/location-dot-regular",post:"fa/newspaper-regular","product-logo-beyond":"custom/genesys-beyond","product-logo-g":"custom/genesys","quote-left":"fa/quote-left-regular","quote-right":"fa/quote-right-regular",radio:"fa/circle-regular","radio-active":"fa/circle-dot-regular",rating:"fa/star-regular","rating-active":"fa/star-solid","rating-partial":"fa/star-sharp-half-stroke-regular",record:"fa/waveform-lines-regular",refresh:"fa/arrows-rotate-regular",reset:"fa/arrow-rotate-left-regular",resource:"fa/notebook-regular",retweet:"custom/arrows-retweet-regular","roster-chat":"fa/message-lines-regular","roster-chat-disable":"fa/message-slash-regular","roster-email":"fa/envelope-regular","roster-email-disable":"fa/regular-envelope-slash","roster-instagram":"fa/instagram","roster-instagram-disable":"custom/instagram-slash","roster-line":"fa/line","roster-line-disable":"custom/line-slash","roster-message":"fa/message-lines-regular","roster-message-disable":"fa/message-xmark-regular","roster-messenger":"fa/facebook-messenger","roster-messenger-disable":"custom/facebook-messenger-slash","roster-phone":"fa/phone-regular","roster-phone-disable":"fa/phone-slash-regular","roster-sms":"fa/message-dots-regular","roster-sms-disable":"fa/message-slash-regular","roster-twitter":"fa/twitter","roster-twitter-disable":"custom/twitter-slash","roster-wechat":"fa/weixin","roster-wechat-disable":"deprecated/roster-wechat-disable","roster-whatsapp":"fa/whatsapp","roster-whatsapp-disable":"fa/custon-whatsapp-slash",rss:"fa/square-rss-solid",run:"fa/person-running-solid",safari:"fa/safari",save:"fa/floppy-disk-regular","screen-share-regular":"custom/display-arrow-right-regular","screen-share-slash":"custom/display-arrow-right-slash-regular",scripter:"fa/scroll-regular",search:"fa/magnifying-glass-regular",send:"fa/paper-plane-top-regular",server:"fa/server-regular",settings:"fa/gear-regular",share:"fa/share-nodes-regular","shield-lock":"fa/shield-keyhole-regular","shield-outline":"fa/shield-check-regular","shield-solid":"fa/shield-check-solid",site:"fa/building-regular",skills:"fa/graduation-cap-regular",slideshare:"fa/slideshare",sms:"fa/message-dots-regular","sms-cancel":"fa/message-xmark-regular","sms-close":"fa/message-xmark-regular",stamp:"fa/stamp-regular",subtract:"fa/minus-regular","subtract-circle":"fa/subtract-circle-regular",sun:"fa/sun-bright-regular",tag:"fa/tag-regular","tag-add":"deprecated/tag-add","tag-remove":"deprecated/tag-remove",telegram:"fa/telegram",tenant:"fa/box-regular","thumbs-down":"fa/thumb-down-regular","thumbs-up":"fa/thumb-up-regular",timeline:"custom/arrow-turn-left-clock-regular","toolbar-apps":"custom/squares-big-small-regular","toolbar-apps-disable":"custom/squares-big-small-slash-regular","toolbar-assist":"deprecated/fa/life-ring-regular","toolbar-assist-disable":"custom/life-ring-slash-regular","toolbar-chat":"fa/message-regular","toolbar-chat-disable":"fa/message-slash-regular","toolbar-favorite":"deprecated/toolbar-favorite","toolbar-favourite":"fa/star-regular","toolbar-help":"fa/circle-question-regular","toolbar-inbox":"fa/inbox-regular","toolbar-interactions":"custom/user-talking-regular","toolbar-interactions-disable":"custom/user-talking-slash-regular","toolbar-notification":"fa/circle-solid","toolbar-phone":"fa/phone-regular","toolbar-phone-active-1":"custom/phone-low-volume-regular","toolbar-phone-active-2":"custom/phone-volume-regular","toolbar-phone-active-3":"custom/phone-high-volume-regular","toolbar-phone-disable":"fa/phone-slash-regular","toolbar-video":"fa/video-regular","toolbar-video-disable":"fa/video-slash-regular",trade:"fa/handshake-regular",transfer:"fa/arrow-right-arrow-left-regular",twitter:"fa/twitter",unknown:"fa/square-x-regular",unlink:"fa/link-slash-regular",unlock:"fa/unlock-regular",upload:"fa/upload-regular",user:"fa/user-regular","user-add":"fa/user-plus-regular","user-circle":"fa/circle-user-regular","user-contact-id":"fa/address-card-regular","user-directory":"fa/address-book-regular","user-group":"fa/users-regular","user-interactions":"custom/user-talking-regular","user-interactions-disable":"custom/user-talking-slash-regular",viber:"fa/viber",video:"fa/video-regular","video-disable":"fa/video-slash-regular","view-all":"fa/grid-4-regular","view-cells":"custom/columns-3-regular","view-grid":"fa/border-all-regular","view-list":"fa/square-list-regular","view-lists":"custom/columns-3-regular","view-roster":"fa/table-list-regular","view-stacked":"fa/table-rows-regular",voicemail:"fa/voicemail-regular","volume-disable":"fa/volume-slash-regular","volume-down":"fa/volume-low-regular","volume-none":"fa/volume-off-regular","volume-up":"deprecated/fa/volume-regular",web:"fa/globe-regular",webcam:"fa/camera-web-regular","webcam-disable":"fa/camera-web-slash-regular",wechat:"fa/weixin",whatsapp:"fa/whatsapp","window-actual-size":"fa/brackets-square-regular","window-contract":"fa/arrows-minimize-regular","window-drag-out":"fa/arrow-up-right-from-square-regular","window-expand":"fa/arrows-maximize-regular","window-fullscreen":"fa/arrows-maximize-regular","window-popout":"fa/square-arrow-up-right-regular",wordpress:"fa/wordpress",youtube:"fa/youtube","zoom-in":"fa/magnifying-glass-plus-regular","zoom-out":"fa/magnifying-glass-minus-regular"},m=Object.keys(s),l=new Map;async function p(e){const r=await fetch(f(`./icons/${e}.svg`));if(r.status===200)return r.text();throw new Error(`[gux-icon] fetching failed for icon "${e}" with status "${r.statusText} (${r.status})".`)}function b(e){return e.replace("/","-")}function t(e){return h.includes(e)?`legacy/${e}`:m.includes(e)?s[e]:e}async function i(e){const r=b(e);if(l.has(r))return l.get(r);const o=p(e).then(a=>a).catch(a=>(setTimeout(()=>{throw a},0),i("fa/square-x-regular")));return l.set(r,o),o}const w=":host{display:inline-flex;inline-size:1em;block-size:1em}:host([size=small]){inline-size:var(--gse-ui-icon-small-size);block-size:var(--gse-ui-icon-small-size)}:host([size=medium]){inline-size:var(--gse-ui-icon-medium-size);block-size:var(--gse-ui-icon-medium-size)}:host([size=large]){inline-size:var(--gse-ui-icon-large-size);block-size:var(--gse-ui-icon-large-size)}.gux-icon-container{display:flex;align-items:center;justify-content:center;inline-size:100%}.gux-icon-container svg{inline-size:100%;max-inline-size:100%;block-size:100%;max-block-size:100%;fill:currentcolor}",v=w,k=class{constructor(e){u(this,e),this.decorative=!1,this.screenreaderText="",this.size="inherit"}async prepIcon(e){if(e){const r=t(e);this.baseSvgHtml=await i(r),this.svgHtml=this.getSvgWithAriaAttributes(this.baseSvgHtml)}}watchDecorative(e){this.validateProps(e,this.screenreaderText),this.baseSvgHtml&&(this.svgHtml=this.getSvgWithAriaAttributes(this.baseSvgHtml))}watchScreenreaderText(e){this.validateProps(this.decorative,e),this.baseSvgHtml&&(this.svgHtml=this.getSvgWithAriaAttributes(this.baseSvgHtml))}async componentWillLoad(){n(this.root,{variant:t(this.iconName)}),await this.prepIcon(this.iconName)}componentDidLoad(){this.validateProps(this.decorative,this.screenreaderText)}validateProps(e,r){this.root.isConnected&&!e&&!r&&d(this.root,"No screenreader-text provided. Either provide a localized screenreader-text property or set `decorative` to true.")}getSvgWithAriaAttributes(e){const r=new DOMParser().parseFromString(e,"image/svg+xml").firstChild;return r.setAttribute("role","img"),this.decorative?r.setAttribute("aria-hidden",String(this.decorative)):r.setAttribute("aria-hidden","false"),this.screenreaderText?r.setAttribute("aria-label",this.screenreaderText):r.removeAttribute("aria-label"),r.outerHTML}render(){return this.svgHtml&&c("div",{key:"4cee2f5e075acfa120f017ad2fc1f6fefd901949",class:"gux-icon-container",innerHTML:this.svgHtml})}static get assetsDirs(){return["icons"]}get root(){return g(this)}static get watchers(){return{iconName:["prepIcon"],decorative:["watchDecorative"],screenreaderText:["watchScreenreaderText"]}}};k.style=v;export{k as gux_icon};
1
+ import{r as u,h as c,g,a as f}from"./index-izRZEe2n.js";import{t as n}from"./usage-DmyA5Orv-DQlvlcfk.js";import{a as d}from"./log-error-DxtJDeL9-5foDqi4E.js";const h=["fa/arrow-left-to-line-solid","fa/arrow-right-to-line-solid"],s={"8x8":"custom/8x8","8x8-alt":"custom/8x8-solid",add:"fa/plus-regular","add-circle":"fa/circle-plus-regular",agent:"fa/head-side-headphones-regular","agent-circle":"custom/circle-head-side-headphones-regular","agent-group":"fa/people-group-regular","alert-info":"fa/circle-info-regular","alert-success":"deprecated/fa/circle-check-regular","alert-warning-octogon":"fa/hexagon-exclamation-regular","alert-warning-triangle":"fa/triangle-exclamation-regular",android:"fa/android","app-chart":"fa/square-poll-vertical-regular","app-generic":"fa/browser-regular","app-layout":"fa/table-layout-regular","app-table":"fa/table-regular",apple:"fa/apple",archive:"fa/box-archive-regular","arrow-down":"fa/arrow-down-regular","arrow-down-left":"fa/arrow-down-left-regular","arrow-down-right":"fa/arrow-down-right-regular","arrow-left":"fa/arrow-left-regular","arrow-right":"fa/arrow-right-regular","arrow-solid-down":"fa/caret-down-solid","arrow-solid-left":"fa/caret-left-solid","arrow-solid-right":"fa/caret-right-solid","arrow-solid-up":"fa/caret-up-solid","arrow-up":"fa/arrow-up-regular","arrow-up-left":"fa/arrow-up-left-regular","arrow-up-right":"fa/arrow-up-right-regular",at:"fa/at-regular",attachment:"fa/paperclip-regular",backspace:"fa/delete-left-regular","badge-amount":"fa/circle-0-solid","badge-check":"fa/circle-check-solid","badge-edit":"fa/pen-circle-regular","badge-file":"deprecated/badge-file","badge-pause":"fa/circle-pause-solid","badge-x":"fa/circle-xmark-solid","ban-outline":"deprecated/fa/ban-regular",bell:"fa/bell-regular",bolt:"fa/bolt-regular",bot:"fa/robot-regular",branch:"fa/code-branch-regular",bug:"fa/bug-regular",bus:"fa/bus-simple-regular",calendar:"fa/calendar-regular","calendar-add":"fa/calendar-plus-regular","calendar-clock":"fa/calendar-clock-regular",campaign:"fa/bullhorn-regular",certificate:"fa/file-certificate-regular",chat:"fa/message-lines-regular","chat-bell":"custom/message-bell-regular","chat-close":"fa/message-xmark-regular","chat-disable":"fa/message-slash-regular","chat-multi":"fa/messages-regular","chat-notification-score":"custom/message-bell-regular",checkbox:"fa/square-regular","checkbox-active":"fa/square-check-solid","checkbox-partial":"fa/square-minus-regular",checkmark:"custom/check-small-regular","chevron-double-down":"fa/chevrons-down-regular","chevron-double-left":"fa/chevrons-left-regular","chevron-double-right":"fa/chevrons-right-regular","chevron-double-up":"fa/chevrons-up-regular","chevron-left":"fa/chevron-left-regular","chevron-right":"fa/chevron-right-regular","chevron-small-down":"custom/chevron-down-small-regular","chevron-small-left":"custom/chevron-left-small-regular","chevron-small-right":"custom/chevron-right-small-regular","chevron-small-up":"custom/chevron-up-small-regular",chrome:"fa/chrome","cjv-badge-file":"fa/file-regular","cjv-calendar-clock":"fa/calendar-clock-regular","cjv-custom-default":"deprecated/cjv-custom-default","cjv-custom-event":"fa/circle-star-solid","cjv-custom-session":"custom/rectangules-arrow-left-to-right-regular","cjv-default-event":"fa/circle-star-solid","cjv-delivery":"fa/truck-regular","cjv-finance-invoice":"fa/file-invoice-dollar-regular","cjv-form-abandoned":"fa/file-circle-xmark-regular","cjv-form-submitted":"custom/file-arrow-up-regular","cjv-generic-application":"fa/file-user-regular","cjv-offer-closed":"fa/circle-xmark-solid","cjv-offer-ignored":"fa/subtract-circle-solid","cjv-offer-offered":"fa/circle-chevron-right-solid","cjv-offer-opened":"fa/badge-check-solid","cjv-outcome-achieved":"fa/circle-check-solid","cjv-page-view":"fa/circle-dot-regular","cjv-policy-contract":"fa/file-contract-regular","cjv-product-added":"fa/cart-circle-plus-regular","cjv-product-purchased":"fa/cart-circle-check-regular","cjv-product-removed":"fa/cart-circle-xmark-regular","cjv-search":"fa/magnifying-glass-regular","cjv-segment":"fa/chart-pie-simple-regular","cjv-segment-assigned":"fa/circle-quarter-regular","cjv-web-session":"fa/globe-regular","cjv-webchat-accepted":"fa/message-check-solid","cjv-webchat-error":"fa/message-xmark-solid","cjv-webchat-ignored":"fa/message-minus-solid","cjv-webchat-offered":"fa/message-arrow-up-right-solid","cjv-webchat-rejected":"fa/message-xmark-solid","cjv-webchat-requested":"fa/message-plus-solid","cjv-webchat-submitted":"fa/message-arrow-up-solid","cjv-webchat-timeout":"fa/timer-regular",clipboard:"fa/clipboard-regular","clipboard-error":"fa/clipboard-question-regular","clipboard-success":"fa/clipboard-check-regular",clock:"fa/clock-regular","clock-outline":"fa/clock-regular",clone:"fa/clone-regular",close:"fa/xmark-large-regular","close-circle":"deprecated/fa/circle-xmark-regular",cloud:"fa/cloud-regular","cloud-outline":"fa/cloud-regular",coaching:"fa/whistle-regular",cobrowse:"deprecated/cobrowse",collapse:"fa/arrow-down-left-and-arrow-up-right-to-center-regular",comments:"fa/message-lines-regular","comments-disable":"fa/message-slash-regular",configuration:"fa/block-brick-regular","control-end":"fa/forward-fast-regular","control-pause":"fa/pause-regular","control-play":"fa/play-regular","control-skip-left":"fa/backward-regular","control-skip-right":"fa/forward-regular","control-slide-back":"fa/backward-step-regular","control-slide-forward":"fa/forward-step-regular","control-start":"fa/backward-fast-regular","control-stop":"fa/stop-regular",copy:"fa/copy-regular","custom/add-column-after":"custom/table-column-plus-right-regular","custom/add-column-before":"custom/table-column-plus-left-regular","custom/add-row-after":"custom/table-row-plus-bottom-regular","custom/add-row-before":"custom/table-row-plus-top-regular","custom/binoculars-slash-regular":"custom/regular-binoculars-slash","custom/carousel":"custom/rectangle-carousel-regular","custom/clipboard-list-slash-regular":"custom/regular-clipboard-list-slash","custom/co-browse":"custom/screen-monitor-regular","custom/delete-column":"custom/table-column-xmark-regular","custom/delete-row":"custom/table-row-xmark-regular","custom/delete-table":"custom/table-xmark-regular","custom/file-pen-question":"custom/file-pen-question-regular","custom/filter-notification":"custom/filter-dot-regular","custom/font-regular-highlight":"custom/font-underline-regular","custom/one-button":"custom/mobiles-one-button-regular","custom/person-running":"fa/person-running-solid","custom/quick-reply":"custom/circle-buttons-regular","custom/three-button":"custom/mobile-three-button-regular","custom/wrap-text-inline":"custom/wrap-text-inline-regular","custom/wrap-text-tight":"custom/wrap-text-tight-regular","custom/wrap-text-top-bottom":"custom/wrap-text-top-bottom-regular","customer-journey":"fa/map-location-dot-regular",cut:"fa/scissors-regular",dash:"fa/gauge-simple-high-regular",delete:"fa/trash-regular","device-camera":"fa/camera-regular","device-cellphone":"fa/mobile-regular","device-headphones":"fa/headphones-regular","device-laptop":"fa/laptop-regular","device-pc":"deprecated/device-pc","device-server":"fa/server-regular","device-tablet":"fa/tablet-regular",download:"fa/arrow-down-to-line-regular",edge:"fa/edge-legacy",edit:"fa/pen-regular","email-notification-score":"fa/envelope-dot-regular",expand:"fa/arrow-up-right-and-arrow-down-left-from-center-regular",export:"fa/arrow-up-from-line-regular","external-link":"fa/arrow-up-right-from-square-regular","fa/00-solid":"fa/00-regular","fa/arrows-rotate-solid":"fa/arrows-rotate-regular","fa/ban-regular":"deprecated/fa/ban-regular","fa/check-solid":"custom/check-small-regular","fa/circle-check-regular":"deprecated/fa/circle-check-regular","fa/circle-xmark-regular":"deprecated/fa/circle-xmark-regular","fa/clock-outline":"fa/clock-regular","fa/comment-dots-regular":"fa/message-dots-regular","fa/comments-regular":"fa/messages-regular","fa/diagram-project-gear-regular":"fa/regular-diagram-project-gear","fa/eye-regular":"deprecated/fa/eye-regular","fa/eye-slash-regular":"deprecated/fa/eye-slash-regular","fa/life-ring-regular":"deprecated/fa/life-ring-regular","fa/link-horizontal-slash-regular":"fa/link-slash-regular","fa/link-horizontal-solid":"fa/link-regular","fa/list-radio-clean-regular":"fa/list-ul-regular","fa/list-radio-regular":"fa/list-ul-regular","fa/list-regular":"fa/list-ul-regular","fa/rectangle-list-regular":"fa/square-list-regular","fa/reply-regular":"custom/reply-regular","fa/right-to-bracket-regular":"fa/arrow-right-to-bracket-regular","fa/share-regular":"custom/share-regular","fa/volume-regular":"deprecated/fa/volume-regular","face-empathy":"deprecated/face-empathy","face-happy":"fa/face-smile-regular","face-happy-solid":"fa/face-smile-solid","face-neutral":"fa/face-meh-regular","face-neutral-solid":"fa/face-meh-solid","face-sad":"fa/face-frown-regular","face-sad-solid":"fa/face-frown-solid",facebook:"fa/facebook","facebook-messenger":"fa/facebook-messenger",fax:"fa/fax-regular",file:"fa/file-regular","file-all":"fa/files-regular","file-audio":"deprecated/fa/volume-regular","file-image-landscape":"fa/image-regular","file-image-portrait":"fa/image-portrait-regular","file-pdf":"fa/file-pdf-regular","file-preview":"fa/file-magnifying-glass-regular","file-report":"fa/file-chart-column-regular","file-text":"fa/file-lines-regular","file-video":"fa/video-regular",filter:"fa/filter-regular",fire:"fa/fire-regular",firefox:"fa/firefox",flag:"fa/flag-regular",folder:"fa/folder-regular","folder-add":"fa/folder-plus-regular","folder-open":"fa/folder-open-regular",follow:"fa/binoculars-regular",generic:"fa/shapes-regular",globe:"fa/earth-africa-regular","grab-horizontal":"fa/grip-solid","grab-vertical":"fa/grip-vertical-solid","graph-bar-horizontal":"fa/chart-bar-regular","graph-bar-vertical":"fa/chart-column-regular","graph-bubble":"fa/chart-scatter-bubble-regular","graph-chart":"fa/chart-area-regular","graph-line":"fa/chart-line-regular","graph-pie":"fa/chart-pie-regular","graph-spark":"custom/chart-line-spark-regular","group-standard":"custom/users-light",help:"fa/circle-question-regular",home:"fa/home-regular",hourglass:"fa/hourglass-half-regular",import:"fa/file-import-regular",inbox:"fa/inbox-regular",inspect:"deprecated/fa/eye-regular","inspect-disable":"deprecated/fa/eye-slash-regular",instagram:"fa/instagram","internet-explorer":"fa/internet-explorer",key:"fa/key-regular",lightbulb:"fa/lightbulb-regular","line-messenger":"fa/line",link:"fa/link-regular",linkedin:"fa/linkedin",linux:"fa/linux",lock:"fa/lock-regular","lock-hold":"custom/lock-keyholes-regular",logout:"fa/arrow-right-from-bracket-regular","low-bandwidth":"fa/wifi-slash-regular",lunch:"fa/utensils-regular",menu:"fa/bars-regular","menu-kebab-horizontal":"fa/ellipsis-regular","menu-kebab-vertical":"fa/ellipsis-vertical-regular","message-email":"fa/envelope-regular","message-email-outbound":"custom/envelope-arrow-up-right-regular","message-forward":"custom/share-regular","message-reply":"custom/reply-regular","message-reply-all":"custom/reply-all-regular",microphone:"fa/microphone-regular","microphone-disable":"fa/microphone-slash-regular","microphone-talking":"custom/microphone-line-on-regular",microsoft:"fa/microsoft","microsoft-teams":"custom/microsoft-teams",moon:"fa/moon-regular",music:"fa/music-regular",notes:"fa/memo-regular",notification:"fa/circle-solid",opera:"fa/opera","operator-pair":"custom/users-headset-regular",paint:"fa/fill-drip-regular",palette:"fa/palette-regular","parking-sign-regular":"fa/square-parking-regular",paste:"fa/paste-regular",people:"fa/people-pants-simple-regular",phone:"fa/phone-regular","phone-bell":"custom/phone-bell-regular","phone-call-directory":"deprecated/phone-call-directory","phone-call-history":"custom/phone-bars-regular","phone-callback":"custom/phone-arrow-left-regular","phone-close":"fa/phone-xmark-regular","phone-conference":"custom/phone-big-small-regular","phone-dialpad":"fa/grid-regular","phone-disable":"fa/phone-slash-regular","phone-forward":"fa/phone-arrow-right-regular","phone-hangup":"fa/phone-hangup-regular","phone-hold":"custom/phone-clock-regular","phone-inbound":"fa/phone-arrow-down-left-regular","phone-missed-call":"fa/phone-missed-regular","phone-notification-score":"custom/phone-star-regular","phone-outbound":"fa/phone-arrow-up-right-regular","phone-success":"custom/phone-check-regular","phone-voice":"custom/phone-high-volume-regular",pin:"fa/thumbtack-regular","pin-location":"fa/location-dot-regular",post:"fa/newspaper-regular","product-logo-beyond":"custom/genesys-beyond","product-logo-g":"custom/genesys","quote-left":"fa/quote-left-regular","quote-right":"fa/quote-right-regular",radio:"fa/circle-regular","radio-active":"fa/circle-dot-regular",rating:"fa/star-regular","rating-active":"fa/star-solid","rating-partial":"fa/star-sharp-half-stroke-regular",record:"fa/waveform-lines-regular",refresh:"fa/arrows-rotate-regular",reset:"fa/arrow-rotate-left-regular",resource:"fa/notebook-regular",retweet:"custom/arrows-retweet-regular","roster-chat":"fa/message-lines-regular","roster-chat-disable":"fa/message-slash-regular","roster-email":"fa/envelope-regular","roster-email-disable":"fa/regular-envelope-slash","roster-instagram":"fa/instagram","roster-instagram-disable":"custom/instagram-slash","roster-line":"fa/line","roster-line-disable":"custom/line-slash","roster-message":"fa/message-lines-regular","roster-message-disable":"fa/message-xmark-regular","roster-messenger":"fa/facebook-messenger","roster-messenger-disable":"custom/facebook-messenger-slash","roster-phone":"fa/phone-regular","roster-phone-disable":"fa/phone-slash-regular","roster-sms":"fa/message-dots-regular","roster-sms-disable":"fa/message-slash-regular","roster-twitter":"fa/twitter","roster-twitter-disable":"custom/twitter-slash","roster-wechat":"fa/weixin","roster-wechat-disable":"deprecated/roster-wechat-disable","roster-whatsapp":"fa/whatsapp","roster-whatsapp-disable":"fa/custon-whatsapp-slash",rss:"fa/square-rss-solid",run:"fa/person-running-solid",safari:"fa/safari",save:"fa/floppy-disk-regular","screen-share-regular":"custom/display-arrow-right-regular","screen-share-slash":"custom/display-arrow-right-slash-regular",scripter:"fa/scroll-regular",search:"fa/magnifying-glass-regular",send:"fa/paper-plane-top-regular",server:"fa/server-regular",settings:"fa/gear-regular",share:"fa/share-nodes-regular","shield-lock":"fa/shield-keyhole-regular","shield-outline":"fa/shield-check-regular","shield-solid":"fa/shield-check-solid",site:"fa/building-regular",skills:"fa/graduation-cap-regular",slideshare:"fa/slideshare",sms:"fa/message-dots-regular","sms-cancel":"fa/message-xmark-regular","sms-close":"fa/message-xmark-regular",stamp:"fa/stamp-regular",subtract:"fa/minus-regular","subtract-circle":"fa/subtract-circle-regular",sun:"fa/sun-bright-regular",tag:"fa/tag-regular","tag-add":"deprecated/tag-add","tag-remove":"deprecated/tag-remove",telegram:"fa/telegram",tenant:"fa/box-regular","thumbs-down":"fa/thumb-down-regular","thumbs-up":"fa/thumb-up-regular",timeline:"custom/arrow-turn-left-clock-regular","toolbar-apps":"custom/squares-big-small-regular","toolbar-apps-disable":"custom/squares-big-small-slash-regular","toolbar-assist":"deprecated/fa/life-ring-regular","toolbar-assist-disable":"custom/life-ring-slash-regular","toolbar-chat":"fa/message-regular","toolbar-chat-disable":"fa/message-slash-regular","toolbar-favorite":"deprecated/toolbar-favorite","toolbar-favourite":"fa/star-regular","toolbar-help":"fa/circle-question-regular","toolbar-inbox":"fa/inbox-regular","toolbar-interactions":"custom/user-talking-regular","toolbar-interactions-disable":"custom/user-talking-slash-regular","toolbar-notification":"fa/circle-solid","toolbar-phone":"fa/phone-regular","toolbar-phone-active-1":"custom/phone-low-volume-regular","toolbar-phone-active-2":"custom/phone-volume-regular","toolbar-phone-active-3":"custom/phone-high-volume-regular","toolbar-phone-disable":"fa/phone-slash-regular","toolbar-video":"fa/video-regular","toolbar-video-disable":"fa/video-slash-regular",trade:"fa/handshake-regular",transfer:"fa/arrow-right-arrow-left-regular",twitter:"fa/twitter",unknown:"fa/square-x-regular",unlink:"fa/link-slash-regular",unlock:"fa/unlock-regular",upload:"fa/upload-regular",user:"fa/user-regular","user-add":"fa/user-plus-regular","user-circle":"fa/circle-user-regular","user-contact-id":"fa/address-card-regular","user-directory":"fa/address-book-regular","user-group":"fa/users-regular","user-interactions":"custom/user-talking-regular","user-interactions-disable":"custom/user-talking-slash-regular",viber:"fa/viber",video:"fa/video-regular","video-disable":"fa/video-slash-regular","view-all":"fa/grid-4-regular","view-cells":"custom/columns-3-regular","view-grid":"fa/border-all-regular","view-list":"fa/square-list-regular","view-lists":"custom/columns-3-regular","view-roster":"fa/table-list-regular","view-stacked":"fa/table-rows-regular",voicemail:"fa/voicemail-regular","volume-disable":"fa/volume-slash-regular","volume-down":"fa/volume-low-regular","volume-none":"fa/volume-off-regular","volume-up":"deprecated/fa/volume-regular",web:"fa/globe-regular",webcam:"fa/camera-web-regular","webcam-disable":"fa/camera-web-slash-regular",wechat:"fa/weixin",whatsapp:"fa/whatsapp","window-actual-size":"fa/brackets-square-regular","window-contract":"fa/arrows-minimize-regular","window-drag-out":"fa/arrow-up-right-from-square-regular","window-expand":"fa/arrows-maximize-regular","window-fullscreen":"fa/arrows-maximize-regular","window-popout":"fa/square-arrow-up-right-regular",wordpress:"fa/wordpress",youtube:"fa/youtube","zoom-in":"fa/magnifying-glass-plus-regular","zoom-out":"fa/magnifying-glass-minus-regular"},m=Object.keys(s),l=new Map;async function p(e){const r=await fetch(f(`./icons/${e}.svg`));if(r.status===200)return r.text();throw new Error(`[gux-icon] fetching failed for icon "${e}" with status "${r.statusText} (${r.status})".`)}function b(e){return e.replace("/","-")}function t(e){return h.includes(e)?`legacy/${e}`:m.includes(e)?s[e]:e}async function i(e){const r=b(e);if(l.has(r))return l.get(r);const o=p(e).then(a=>a).catch(a=>(setTimeout(()=>{throw a},0),i("fa/square-x-regular")));return l.set(r,o),o}const w=":host{display:inline-flex;inline-size:1em;block-size:1em}:host([size=small]){inline-size:var(--gse-ui-icon-small-size);block-size:var(--gse-ui-icon-small-size)}:host([size=medium]){inline-size:var(--gse-ui-icon-medium-size);block-size:var(--gse-ui-icon-medium-size)}:host([size=large]){inline-size:var(--gse-ui-icon-large-size);block-size:var(--gse-ui-icon-large-size)}.gux-icon-container{display:flex;align-items:center;justify-content:center;inline-size:100%}.gux-icon-container svg{inline-size:100%;max-inline-size:100%;block-size:100%;max-block-size:100%;fill:currentcolor}",v=class{constructor(e){u(this,e),this.decorative=!1,this.screenreaderText="",this.size="inherit"}async prepIcon(e){if(e){const r=t(e);this.baseSvgHtml=await i(r),this.svgHtml=this.getSvgWithAriaAttributes(this.baseSvgHtml)}}watchDecorative(e){this.validateProps(e,this.screenreaderText),this.baseSvgHtml&&(this.svgHtml=this.getSvgWithAriaAttributes(this.baseSvgHtml))}watchScreenreaderText(e){this.validateProps(this.decorative,e),this.baseSvgHtml&&(this.svgHtml=this.getSvgWithAriaAttributes(this.baseSvgHtml))}async componentWillLoad(){n(this.root,{variant:t(this.iconName)}),await this.prepIcon(this.iconName)}componentDidLoad(){this.validateProps(this.decorative,this.screenreaderText)}validateProps(e,r){this.root.isConnected&&!e&&!r&&d(this.root,"No screenreader-text provided. Either provide a localized screenreader-text property or set `decorative` to true.")}getSvgWithAriaAttributes(e){const r=new DOMParser().parseFromString(e,"image/svg+xml").firstChild;return r.setAttribute("role","img"),this.decorative?r.setAttribute("aria-hidden",String(this.decorative)):r.setAttribute("aria-hidden","false"),this.screenreaderText?r.setAttribute("aria-label",this.screenreaderText):r.removeAttribute("aria-label"),r.outerHTML}render(){return this.svgHtml&&c("div",{key:"56bfe400bee1d1fc234978dcf0aebb320cf88fb8",class:"gux-icon-container",innerHTML:this.svgHtml})}static get assetsDirs(){return["icons"]}get root(){return g(this)}static get watchers(){return{iconName:["prepIcon"],decorative:["watchDecorative"],screenreaderText:["watchScreenreaderText"]}}};v.style=w;export{v as gux_icon};