@ebrains/vue 2.1.0 → 2.3.0
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.
- package/color-primary-palette_6.entry-DmOGtjGN.js +1 -0
- package/{color-primary-palette_6.entry-DT6y6FEy.mjs → color-primary-palette_6.entry-T1Uq_pfx.mjs} +21 -21
- package/{components-section.entry-yX3kMkgT.mjs → components-section.entry-BYss4hVN.mjs} +5 -10
- package/{components-section.entry-DUk1tQHE.js → components-section.entry-DoHZWTpp.js} +3 -6
- package/{correct-use-of-colors.entry-B8pPJm38.js → correct-use-of-colors.entry-CVbtFdQ4.js} +1 -1
- package/{correct-use-of-colors.entry-qD6fSpYF.mjs → correct-use-of-colors.entry-_AEP5kXw.mjs} +2 -2
- package/{docs-palettes.entry-M87-ULxr.mjs → docs-palettes.entry-CiKJxngd.mjs} +2 -2
- package/{docs-palettes.entry-BMNsh6gh.js → docs-palettes.entry-Dz4ew0qT.js} +1 -1
- package/{docs-tokens.entry-DTMTLW6z.mjs → docs-tokens.entry-BzmykxqM.mjs} +2 -2
- package/{docs-tokens.entry-CjGpfZ1N.js → docs-tokens.entry-DrJDcvsB.js} +1 -1
- package/download-47746956-CSto0o7c.mjs +19 -0
- package/download-47746956-DbC-y8R6.js +16 -0
- package/{eds-accordion_33.entry-CH6A78x3.mjs → eds-accordion_36.entry-BxQQm2_M.mjs} +806 -525
- package/{eds-accordion_33.entry-_Zc7vKFf.js → eds-accordion_36.entry-CPDASv4H.js} +18 -14
- package/{eds-app-root.entry-COSmczak.mjs → eds-app-root.entry-e7EL7l-x.mjs} +5 -5
- package/eds-app-root.entry-x29kPQRF.js +1 -0
- package/{eds-card-desc_2.entry-D5GUottX.js → eds-card-desc_2.entry-9-nlPWSp.js} +1 -1
- package/{eds-card-desc_2.entry-YL4OVWD3.mjs → eds-card-desc_2.entry-Cw9szZ1z.mjs} +6 -6
- package/{eds-card-generic.entry-Chm2AUtp.mjs → eds-card-generic.entry-CbJVuc8q.mjs} +5 -5
- package/eds-card-generic.entry-DjMs3E78.js +1 -0
- package/{eds-card-project.entry-JFVjbS0l.js → eds-card-project.entry-BN0zY3KR.js} +1 -1
- package/{eds-card-project.entry-CPqHqPOm.mjs → eds-card-project.entry-DHsBO1z8.mjs} +7 -7
- package/{eds-card-section.entry-JZFsrwn5.js → eds-card-section.entry-CaMRIMSG.js} +1 -1
- package/{eds-card-section.entry-DpMTJ8Kn.mjs → eds-card-section.entry-DjRUomPi.mjs} +2 -2
- package/eds-card-tags.entry-BEpbk9GL.js +1 -0
- package/{eds-card-tags.entry-DnNdxAaA.mjs → eds-card-tags.entry-DlvIkscz.mjs} +2 -2
- package/{eds-card-tool.entry-DPWvJcI1.mjs → eds-card-tool.entry-BgBnyq8Q.mjs} +2 -2
- package/{eds-card-tool.entry-CdtWr6SE.js → eds-card-tool.entry-BkdfP2XJ.js} +1 -1
- package/{eds-cookies-preference.entry-RT9hWQNy.js → eds-cookies-preference.entry-6WgoMeeL.js} +1 -1
- package/{eds-cookies-preference.entry-CGit10s-.mjs → eds-cookies-preference.entry-D8lU4ba5.mjs} +5 -5
- package/{eds-feedback.entry-DVqpmSiS.mjs → eds-feedback.entry-BQOd9buY.mjs} +2 -2
- package/{eds-feedback.entry-B7PDcHGI.js → eds-feedback.entry-C09wvC3i.js} +1 -1
- package/{eds-footer.entry-D-ITdNTf.mjs → eds-footer.entry-B6JWA6jF.mjs} +3 -5
- package/{eds-footer.entry-BzcdvTWO.js → eds-footer.entry-Bsxlq2fH.js} +1 -1
- package/{eds-frame.entry-C2Ldr3c9.mjs → eds-frame.entry-BlrmFkdq.mjs} +2 -2
- package/{eds-frame.entry-tcZQdrbE.js → eds-frame.entry-zcRPlykr.js} +1 -1
- package/eds-fullscreen-menu.entry-BgyR9Ft9.js +1 -0
- package/{eds-fullscreen-menu.entry-BGFJIgQP.mjs → eds-fullscreen-menu.entry-CXctkv-J.mjs} +9 -4
- package/{eds-gauge.entry-pvfbXYgB.js → eds-gauge.entry-BGAAeDNk.js} +1 -1
- package/{eds-gauge.entry-Lu0hJx9p.mjs → eds-gauge.entry-Bz0H6lwK.mjs} +6 -6
- package/{eds-icon-arrow-diagonal.entry-B6IRXDMe.js → eds-icon-arrow-diagonal.entry-CS3CLGAi.js} +1 -1
- package/{eds-icon-arrow-diagonal.entry-COlE8H7P.mjs → eds-icon-arrow-diagonal.entry-gdu-80BO.mjs} +2 -2
- package/eds-icon-arrow-right.entry-CkFeezmn.mjs +13 -0
- package/{eds-icon-arrow-right.entry-BDHsQpfx.js → eds-icon-arrow-right.entry-DRIIdaPF.js} +1 -1
- package/eds-icon-bin.entry-Bk3R3f1-.js +1 -0
- package/eds-icon-bin.entry-BvCGjdPm.mjs +13 -0
- package/{eds-icon-bluesky.entry-QLpKGRxg.js → eds-icon-bluesky.entry-BR9-dHMC.js} +1 -1
- package/eds-icon-bluesky.entry-D0EFqubQ.mjs +13 -0
- package/eds-icon-bookmark.entry-CGAI3QyA.js +1 -0
- package/{eds-icon-bookmark.entry-CqikyWZl.mjs → eds-icon-bookmark.entry-DpqatVN6.mjs} +2 -2
- package/eds-icon-chevron-down.entry-D9kDgiNL.js +1 -0
- package/eds-icon-chevron-down.entry-DyOJp1c4.mjs +13 -0
- package/eds-icon-chevron-left.entry-CF958J1V.mjs +13 -0
- package/eds-icon-chevron-left.entry-eK7YBiH7.js +1 -0
- package/eds-icon-chevron-right.entry-B54HqFR0.mjs +13 -0
- package/{eds-icon-chevron-right.entry-D4MlgSyJ.js → eds-icon-chevron-right.entry-BJN--6FI.js} +1 -1
- package/eds-icon-chevron-up.entry-BYS1rZcB.mjs +13 -0
- package/{eds-icon-chevron-up.entry-wQck5opp.js → eds-icon-chevron-up.entry-CTyQf-ZU.js} +1 -1
- package/eds-icon-clone.entry-Bi6u4NZK.js +1 -0
- package/eds-icon-clone.entry-BogUH8zj.mjs +13 -0
- package/eds-icon-close.entry-BFEBIXRK.js +1 -0
- package/eds-icon-close.entry-BzdaOcRx.mjs +13 -0
- package/{eds-icon-copy.entry-FRGQGwF-.mjs → eds-icon-copy.entry-CKS1UAX-.mjs} +2 -2
- package/{eds-icon-copy.entry-lr2PVIPY.js → eds-icon-copy.entry-CTCvofL4.js} +1 -1
- package/eds-icon-download.entry-CDWyPyDY.js +1 -0
- package/eds-icon-download.entry-DERlmQPX.mjs +13 -0
- package/{eds-icon-draft.entry-B9bUr2sw.js → eds-icon-draft.entry-CRYqUfT2.js} +1 -1
- package/{eds-icon-draft.entry-BwIwH62i.mjs → eds-icon-draft.entry-amgYLsKK.mjs} +2 -2
- package/eds-icon-edit.entry-DOeg4QiB.js +1 -0
- package/eds-icon-edit.entry-LUtETT2N.mjs +13 -0
- package/eds-icon-eu.entry--SKvmZ78.js +1 -0
- package/eds-icon-eu.entry-BEGoCAuU.mjs +13 -0
- package/{eds-icon-external.entry-BqrklnFa.js → eds-icon-external.entry-ChZ1FL3P.js} +1 -1
- package/eds-icon-external.entry-Dn4m7vWp.mjs +13 -0
- package/eds-icon-facebook.entry-DZsqbRfD.mjs +13 -0
- package/{eds-icon-facebook.entry-j4DS-WX4.js → eds-icon-facebook.entry-DfV9C4Dr.js} +1 -1
- package/eds-icon-gitlab.entry-D77cpfRJ.mjs +13 -0
- package/eds-icon-gitlab.entry-DIeER57e.js +1 -0
- package/{eds-icon-linkedin.entry-Bs23nlsd.js → eds-icon-linkedin.entry-629pwcUn.js} +1 -1
- package/eds-icon-linkedin.entry-BckFmn6E.mjs +13 -0
- package/eds-icon-loader.entry-B3Pto6BQ.mjs +13 -0
- package/eds-icon-loader.entry-CVhogX-s.js +1 -0
- package/eds-icon-mastodon.entry-CMP1t_ih.js +1 -0
- package/eds-icon-mastodon.entry-D2tmTpn6.mjs +13 -0
- package/{eds-icon-more.entry-D9S9kaWH.js → eds-icon-menu.entry-C1aGwtSL.js} +1 -1
- package/{eds-icon-more.entry-DIQAQUHB.mjs → eds-icon-menu.entry-Z3-Jh404.mjs} +4 -4
- package/eds-icon-minus.entry-D-E0_C5C.mjs +13 -0
- package/{eds-icon-minus.entry-BdZZH0nX.js → eds-icon-minus.entry-DILrmcVD.js} +1 -1
- package/eds-icon-more.entry-DWm4M7va.js +1 -0
- package/eds-icon-more.entry-IQZGw-s9.mjs +13 -0
- package/eds-icon-paper.entry-BQcUhSap.mjs +13 -0
- package/eds-icon-paper.entry-DIcO2c4x.js +1 -0
- package/{eds-icon-plus.entry-CCZPj6w9.js → eds-icon-plus.entry-C7PWMut5.js} +1 -1
- package/eds-icon-plus.entry-CVXBmift.mjs +13 -0
- package/{eds-icon-portal.entry-B_e1recN.mjs → eds-icon-portal.entry-BawKy0L3.mjs} +2 -2
- package/{eds-icon-portal.entry--FIUk_KW.js → eds-icon-portal.entry-CJYbNFz9.js} +1 -1
- package/{eds-icon-private.entry-CaeaHY9B.js → eds-icon-private.entry-Cj93rsP1.js} +1 -1
- package/eds-icon-private.entry-Dxthm0r3.mjs +13 -0
- package/{eds-icon-public.entry-C4XFHe13.mjs → eds-icon-public.entry-BVzSHEWn.mjs} +2 -2
- package/{eds-icon-public.entry-B1nkVESn.js → eds-icon-public.entry-axhNO5xk.js} +1 -1
- package/{eds-icon-search.entry-C8nsE_QJ.js → eds-icon-search.entry-C3Nym3DE.js} +1 -1
- package/eds-icon-search.entry-v5HlGa5y.mjs +13 -0
- package/eds-icon-star.entry-BFkYwrRS.mjs +13 -0
- package/{eds-icon-star.entry-i4E24D7i.js → eds-icon-star.entry-C00rkDKN.js} +1 -1
- package/{eds-icon-start.entry-XPXm0_E-.js → eds-icon-start.entry-DewvCPD3.js} +1 -1
- package/{eds-icon-start.entry-DDR6VjFj.mjs → eds-icon-start.entry-eBZl7sBE.mjs} +2 -2
- package/eds-icon-success.entry-BUGF1v8F.js +1 -0
- package/{eds-icon-success.entry-iYFlRYkD.mjs → eds-icon-success.entry-CgoF0Rbp.mjs} +2 -2
- package/eds-icon-thumbs-down.entry-BavLDytX.mjs +13 -0
- package/{eds-icon-thumbs-down.entry-CXPSaKje.js → eds-icon-thumbs-down.entry-Dp3Gz057.js} +1 -1
- package/{eds-icon-thumbs-up.entry-DKAME_Ra.js → eds-icon-thumbs-up.entry-GsBxiB5C.js} +1 -1
- package/{eds-icon-thumbs-up.entry-DiGUetz-.mjs → eds-icon-thumbs-up.entry-Gs_-0_po.mjs} +2 -2
- package/{eds-icon-tutorial.entry-CjbYvKJv.js → eds-icon-tutorial.entry-D5UoLRcU.js} +1 -1
- package/eds-icon-tutorial.entry-Du8wRHqJ.mjs +13 -0
- package/eds-icon-twitter.entry-CAbylPka.mjs +13 -0
- package/eds-icon-twitter.entry-urTDHlPq.js +1 -0
- package/eds-icon-unknown.entry-b1pMJTFj.js +1 -0
- package/eds-icon-unknown.entry-kij0l0AA.mjs +13 -0
- package/{eds-icon-updown.entry-B4iGaDou.js → eds-icon-updown.entry-BhwIKv6m.js} +1 -1
- package/eds-icon-updown.entry-C6Zf1laF.mjs +13 -0
- package/{eds-icon-user.entry-C-Vuh8-f.js → eds-icon-user.entry-B3kBtRN7.js} +1 -1
- package/eds-icon-user.entry-CJbhmnjk.mjs +13 -0
- package/eds-icon-view.entry-CMv5ZMRW.mjs +13 -0
- package/{eds-icon-view.entry-z8bJhMBL.js → eds-icon-view.entry-DAzf4qtK.js} +1 -1
- package/{eds-icon-youtube.entry-DhBiT8kG.js → eds-icon-youtube.entry-DNO2iJ4y.js} +1 -1
- package/eds-icon-youtube.entry-_ip3ltAP.mjs +13 -0
- package/{eds-modal.entry-D_Lwb__Q.js → eds-modal.entry-DyyS-gD2.js} +1 -1
- package/{eds-modal.entry-B0n5tknG.mjs → eds-modal.entry-abNvn3T5.mjs} +14 -14
- package/{eds-pie.entry-BuVtNs7I.mjs → eds-pie.entry-0Ek3uXpk.mjs} +1 -1
- package/{eds-pie.entry-klP-etSw.js → eds-pie.entry-OUFZuawn.js} +1 -1
- package/{eds-progress-bar.entry-D2JI1D-e.mjs → eds-progress-bar.entry-BWvsCgoZ.mjs} +4 -4
- package/{eds-progress-bar.entry-Ro89l7BR.js → eds-progress-bar.entry-DXq-sjzJ.js} +1 -1
- package/{eds-section-core_2.entry-Cz99NRlc.mjs → eds-section-core_2.entry-DAAJk_0U.mjs} +9 -9
- package/{eds-section-core_2.entry-Bc9axwtz.js → eds-section-core_2.entry-DL493cXU.js} +1 -1
- package/eds-social-networks.entry-CocjhCqH.mjs +48 -0
- package/eds-social-networks.entry-Dp_L6Xp1.js +1 -0
- package/{eds-splash-screen.entry-Dw0Ji6bZ.js → eds-splash-screen.entry-B_Ui9QHu.js} +1 -1
- package/{eds-splash-screen.entry-BUnIKxtD.mjs → eds-splash-screen.entry-DB0gqDmU.mjs} +1 -1
- package/{eds-timeline.entry-BMaUPN_o.mjs → eds-timeline.entry-DEiVdYgl.mjs} +5 -5
- package/{eds-timeline.entry-DHGMZu2-.js → eds-timeline.entry-pOPH5Xwq.js} +1 -1
- package/{eds-toast-manager.entry-Bv30X8tV.js → eds-toast-manager.entry-C-Biyzq3.js} +1 -1
- package/{eds-toast-manager.entry-XryfFnO2.mjs → eds-toast-manager.entry-TPhTiYc3.mjs} +5 -5
- package/{eds-trl.entry-BKzMfF-8.js → eds-trl.entry-BpZ1BGz-.js} +1 -1
- package/eds-trl.entry-lLTRucQv.mjs +34 -0
- package/generated/components.d.ts +1 -0
- package/{incorrect-use-of-colors.entry-Dq7AmLvI.js → incorrect-use-of-colors.entry-Bg_QoAyg.js} +1 -1
- package/{incorrect-use-of-colors.entry-CCB_JH3R.mjs → incorrect-use-of-colors.entry-Btlv1yy_.mjs} +4 -4
- package/{index-UwPjPR0d.mjs → index-BEqOhpq-.mjs} +359 -332
- package/index-CmWxVrp5.js +21 -0
- package/index.js +1 -1
- package/index.mjs +24 -23
- package/{logo-space.entry-B1Swm7_s.js → logo-space.entry-Cq6mAeYD.js} +2 -2
- package/{logo-space.entry-sagbhmap.mjs → logo-space.entry-TxvU3e_f.mjs} +6 -6
- package/{logo-variations-horizontal_2.entry-Bo9dz9bE.mjs → logo-variations-horizontal_2.entry-BUeoGUdr.mjs} +7 -7
- package/{logo-variations-horizontal_2.entry-DEm05l2M.js → logo-variations-horizontal_2.entry-FQa0BI8T.js} +3 -3
- package/{logo-variations-tabs.entry-v9gzHb2S.mjs → logo-variations-tabs.entry-CBVuixy1.mjs} +5 -5
- package/{logo-variations-tabs.entry-Dr6pNuIm.js → logo-variations-tabs.entry-D_KSMJtI.js} +1 -1
- package/{logo-wrong-usage.entry-DiAAZlws.mjs → logo-wrong-usage.entry-BLEdjGxj.mjs} +6 -6
- package/{logo-wrong-usage.entry-Cb2OzANv.js → logo-wrong-usage.entry-DCe12fL1.js} +1 -1
- package/package.json +1 -1
- package/{svg-repository.entry-DENznUDI.mjs → svg-repository.entry-BsiKgbSl.mjs} +92 -106
- package/{svg-repository.entry-Bl6IMNNr.js → svg-repository.entry-D32nTEwb.js} +9 -24
- package/{token-list_3.entry-BBS0BioQ.mjs → token-list_3.entry-B1VvJfT4.mjs} +15 -15
- package/{token-list_3.entry-HXbPQp0w.js → token-list_3.entry-BGoOKW64.js} +1 -1
- package/{token-ratios.entry-Cz3StGLv.js → token-ratios.entry-CdZRaAMQ.js} +1 -1
- package/token-ratios.entry-DKabsuiv.mjs +25 -0
- package/token-spacing.entry-BSxPtHaq.mjs +12 -0
- package/token-spacing.entry-bBZ_CJ-x.js +1 -0
- package/{token-typography.entry-DTzyoov1.js → token-typography.entry-CKZ2etxa.js} +2 -2
- package/{token-typography.entry-DDfSupWC.mjs → token-typography.entry-D7IbyfZv.mjs} +6 -6
- package/color-primary-palette_6.entry-BXemwFsT.js +0 -1
- package/eds-app-root.entry-DIHavIUM.js +0 -1
- package/eds-card-generic.entry-Diq4dtrs.js +0 -1
- package/eds-card-tags.entry-DylnM44o.js +0 -1
- package/eds-fullscreen-menu.entry-BPbeGaPc.js +0 -1
- package/eds-icon-arrow-right.entry-Diznub_E.mjs +0 -13
- package/eds-icon-bin.entry-Bfl68q7b.mjs +0 -13
- package/eds-icon-bin.entry-ultyoyMK.js +0 -1
- package/eds-icon-bluesky.entry-Dzx9WU3j.mjs +0 -13
- package/eds-icon-bookmark.entry-CaBpzM1Z.js +0 -1
- package/eds-icon-chevron-down.entry-C-Z3ai4m.mjs +0 -13
- package/eds-icon-chevron-down.entry-CzxQpRMw.js +0 -1
- package/eds-icon-chevron-left.entry-BnE13pkI.mjs +0 -13
- package/eds-icon-chevron-left.entry-DcS5XbLe.js +0 -1
- package/eds-icon-chevron-right.entry-nJd-cRnH.mjs +0 -13
- package/eds-icon-chevron-up.entry-DRT2Ubhe.mjs +0 -13
- package/eds-icon-clone.entry-BXVQstwR.mjs +0 -13
- package/eds-icon-clone.entry-DT1LJrsq.js +0 -1
- package/eds-icon-close.entry-BadFYgtq.js +0 -1
- package/eds-icon-close.entry-D2oFO-Qa.mjs +0 -13
- package/eds-icon-edit.entry-CvVY2UCN.mjs +0 -13
- package/eds-icon-edit.entry-sr_B_lUk.js +0 -1
- package/eds-icon-eu.entry-CWqu1Rr1.mjs +0 -13
- package/eds-icon-eu.entry-DDO74t4u.js +0 -1
- package/eds-icon-external.entry-CcbC-mfi.mjs +0 -13
- package/eds-icon-facebook.entry-BtsECcJC.mjs +0 -13
- package/eds-icon-gitlab.entry-BNblqbEX.mjs +0 -13
- package/eds-icon-gitlab.entry-sQHBONNM.js +0 -1
- package/eds-icon-linkedin.entry-CW-eurxB.mjs +0 -13
- package/eds-icon-loader.entry-CTnsFpV3.js +0 -1
- package/eds-icon-loader.entry-J7Ane02R.mjs +0 -13
- package/eds-icon-mastodon.entry-B-ep-Tof.js +0 -1
- package/eds-icon-mastodon.entry-BI2ATALp.mjs +0 -13
- package/eds-icon-menu.entry-CyhJAZL1.mjs +0 -13
- package/eds-icon-menu.entry-U1p7j7fy.js +0 -1
- package/eds-icon-minus.entry-CgX27qzW.mjs +0 -13
- package/eds-icon-paper.entry-5re06zkj.js +0 -1
- package/eds-icon-paper.entry-Bkx17qOK.mjs +0 -13
- package/eds-icon-plus.entry-BzkeCu8f.mjs +0 -13
- package/eds-icon-private.entry-BBt40biA.mjs +0 -13
- package/eds-icon-search.entry-jhUWh3yI.mjs +0 -13
- package/eds-icon-star.entry-BZwxie0S.mjs +0 -13
- package/eds-icon-success.entry-DDNbMpuL.js +0 -1
- package/eds-icon-thumbs-down.entry-B1pz46Mt.mjs +0 -13
- package/eds-icon-tutorial.entry-BJ2VttuA.mjs +0 -13
- package/eds-icon-twitter.entry-CRXixMx5.mjs +0 -13
- package/eds-icon-twitter.entry-D_pH9RWV.js +0 -1
- package/eds-icon-unknown.entry-B3C3gOfb.mjs +0 -13
- package/eds-icon-unknown.entry-Bh31uRll.js +0 -1
- package/eds-icon-updown.entry-DTJ9wPMo.mjs +0 -13
- package/eds-icon-user.entry-CGqSkZpC.mjs +0 -13
- package/eds-icon-view.entry-CjMq3fA0.mjs +0 -13
- package/eds-icon-youtube.entry-DSxMazqf.mjs +0 -13
- package/eds-social-networks.entry-CaNhyMcu.js +0 -1
- package/eds-social-networks.entry-DD-vQy71.mjs +0 -50
- package/eds-spinner.entry-BB5fBr88.mjs +0 -68
- package/eds-spinner.entry-zSti41IG.js +0 -1
- package/eds-tooltip.entry-BFyPuNDr.js +0 -5
- package/eds-tooltip.entry-rMFVtJBN.mjs +0 -31
- package/eds-trl.entry-NW2Zpg0k.mjs +0 -34
- package/index-DM535IHr.js +0 -21
- package/token-ratios.entry-BomK7oM-.mjs +0 -25
- package/token-spacing.entry-4mnRkK32.mjs +0 -12
- package/token-spacing.entry-BgDT6uk3.js +0 -1
|
@@ -1,14 +1,14 @@
|
|
|
1
|
-
import { r as
|
|
2
|
-
import { s as
|
|
3
|
-
import { c as
|
|
1
|
+
import { r as m, c as v, h as i, g as y, H as ln } from "./index-BEqOhpq-.mjs";
|
|
2
|
+
import { s as I, m as fn, a as en } from "./analytics-d99780e3-Bay18Oil.mjs";
|
|
3
|
+
import { c as P } from "./index-39c58238-BwYCDOHZ.mjs";
|
|
4
4
|
import { p as R } from "./sharedUtils-a550989c-Ci3Tx3jc.mjs";
|
|
5
5
|
import { h as tn } from "./logo-color-7f1fd803-CFgbXdt8.mjs";
|
|
6
|
-
import { h as bn, a as
|
|
6
|
+
import { h as bn, a as pn, b as un, c as mn, v as xn, d as yn, e as vn, f as wn, g as kn } from "./logo-white-no-bg-f382f86f-YhfmNmGG.mjs";
|
|
7
7
|
const Sn = "blockquote,dl,dd,h1,h2,h3,h4,h5,h6,hr,figure,p,pre{margin:0}fieldset{margin:0;padding:0}legend{padding:0}ol,ul,menu{list-style:none;margin:0;padding:0}.min-h-56{min-height:3.5rem}.container{width:calc(var(--container-width, 100%) - (2 * var(--breakout-container-outer-gutter, var(--container-outer-gutter, var(--outer-gutter, 0)))));margin-right:auto;margin-left:auto}.container>*{--container-outer-gutter:0;--breakout-container-outer-gutter:0}.break-words{overflow-wrap:break-word}.block{display:block}.inline-block{display:inline-block}.inline{display:inline}.flex{display:flex}.inline-flex{display:inline-flex}.effect-color{transition-property:color, background-color, border-color, text-decoration-color, fill, stroke;transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);transition-duration:300ms;transition-timing-function:cubic-bezier(0, 0, 0.2, 1)}.border-softer{border:2px solid rgba(0, 0, 0, .1)}.bg-default{background-color:var(--grey-200)}.bg-inverse{background-color:var(--white)}.relative{position:relative}.absolute{position:absolute}.inset-x-16{left:1rem;right:1rem}.top-16{top:1rem}.pr-32{padding-right:2rem}.pr-36{padding-right:2.25rem}.pr-40{padding-right:2.5rem}.line-clamp-1{overflow:hidden;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:1}.line-clamp-2{overflow:hidden;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2}.line-clamp-3{overflow:hidden;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:3}.line-clamp-4{overflow:hidden;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:4}.w-full{width:100%}.items-center{align-items:center}.justify-center{justify-content:center}.justify-between{justify-content:space-between}.rounded-md{border-radius:12px}.outline-none{outline:2px solid transparent;outline-offset:2px}.focus\\:outline-none:focus{outline:2px solid transparent;outline-offset:2px}.text-light{color:var(--grey-700)}.z-1{z-index:1}.z-10{z-index:10}.effect-height{transition-duration:300ms;transition-timing-function:cubic-bezier(0, 0, 0.2, 1);transition-property:height}.h-0{height:0rem}.h-auto{height:auto}.pt-4{padding-top:0.25rem}.overflow-hidden{overflow:hidden}.grid{display:grid}.overflow-hidden{overflow:hidden}.rounded-lg{border-radius:16px}.border-2{border-width:2px}.p-16{padding:1rem}.ml-auto{margin-left:auto}.mr-auto{margin-right:auto}.f-heading-06{font-family:var(--f-heading-06-fontFamily);font-weight:var(--f-heading-06-fontWeight);font-size:var(--f-heading-06-fontSize);line-height:var(--f-heading-06-lineHeight);letter-spacing:var(--f-heading-06-letterSpacing)}.text-left{text-align:left}.text-center{text-align:center}", Cn = Sn, En = class {
|
|
8
8
|
constructor(n) {
|
|
9
|
-
|
|
9
|
+
m(this, n), this.accordion = v(this, "accordion", 7), this.handleClick = () => {
|
|
10
10
|
var e;
|
|
11
|
-
this.isExpanded = !this.isExpanded, this.accordion.emit(this.isExpanded), this.setPanelHeight(),
|
|
11
|
+
this.isExpanded = !this.isExpanded, this.accordion.emit(this.isExpanded), this.setPanelHeight(), I({
|
|
12
12
|
category: "ui-component",
|
|
13
13
|
parentContext: null,
|
|
14
14
|
tag: this.el.tagName.toLowerCase(),
|
|
@@ -37,10 +37,10 @@ const Sn = "blockquote,dl,dd,h1,h2,h3,h4,h5,h6,hr,figure,p,pre{margin:0}fieldset
|
|
|
37
37
|
* Adjusts styles based on `switchBg`, `tiny`, `clampText`, and other props.
|
|
38
38
|
*/
|
|
39
39
|
render() {
|
|
40
|
-
return i("div", { key: "
|
|
40
|
+
return i("div", { key: "d162692cb9a99b6a1b9b736b828214c9d425046e", ref: (n) => this.wrapperRef = n, class: `flex effect-color border-softer relative grid overflow-hidden rounded-lg border-2 p-16
|
|
41
41
|
${this.switchBg && this.isExpanded ? "bg-inverse" : "bg-default"}
|
|
42
42
|
${this.switchBg ? "hover:bg-inverse" : ""}
|
|
43
|
-
${this.description ? "min-h-56" : ""}` }, i("h3", { key: "
|
|
43
|
+
${this.description ? "min-h-56" : ""}` }, i("h3", { key: "3770e241daa7e4696c5481c97965fb2ebe0b17f9", ref: (n) => this.headerRef = n, class: "mr-auto f-heading-06 text-left absolute inset-x-16 break-words top-16 pr-40" }, this.heading), i("div", { key: "56b7b70d16cf3f944bf3cec878bd15c3e18b399b", class: "ml-auto" }, i("eds-button", { key: "4b770831f155f7e77a424b9dd3ec0a8708a0859f", id: "toggleAccordion", intent: this.buttonIntent, "aria-expanded": this.isExpanded || this.shortContent, "aria-label": "Toggle accordion", "aria-controls": "accordionSection", class: "effect-color flex w-full items-center justify-between rounded-md", onClick: this.handleClick, icon: "chevron-down" })), i("div", { key: "c75c4d840bc8be25ee7590d90e3290faf090fdf0", class: "w-full", style: Number.isFinite(this.headerHeight) ? { marginTop: `${this.headerHeight}px` } : {} }, this.description ? i("span", { class: `text-light ${!this.isExpanded && this.clampText ? "line-clamp-1" : ""}` }, this.description) : null, i("section", { key: "b78b8f7fa93a85c886136cac8119d7b94de2a129", id: "accordionSection", "aria-labelledby": "accordionHeader", "aria-hidden": !this.isExpanded, class: `z-1 effect-height relative h-0 w-full ${!this.isExpanded && this.clampText ? "overflow-hidden" : ""}`, style: { height: this.isExpanded ? "auto" : "0" } }, i("div", { key: "75ba9a9a7082b4ded3dacd6cbaa9ceb3688c5045", ref: (n) => this.childContentRef = n, class: "accordion-content effect-color pt-4", "aria-hidden": !this.isExpanded }, i("span", { key: "e08cefc1d6fe7f3d162de86a17646d88a8686d83", class: `${!this.isExpanded && this.clampText ? "line-clamp-2" : ""}` }, i("slot", { key: "77d3a7fb997a9f313e3013a17f87c28f7ff8adad" }))))));
|
|
44
44
|
}
|
|
45
45
|
get el() {
|
|
46
46
|
return y(this);
|
|
@@ -211,7 +211,7 @@ p {
|
|
|
211
211
|
|
|
212
212
|
.after\\:border-softest::after {
|
|
213
213
|
border-color: rgba(0, 0, 0, .05);
|
|
214
|
-
}`, Fn = zn, An =
|
|
214
|
+
}`, Fn = zn, An = P(["w-full bg-dark"], {
|
|
215
215
|
variants: {
|
|
216
216
|
intent: {
|
|
217
217
|
default: "",
|
|
@@ -261,7 +261,7 @@ p {
|
|
|
261
261
|
}
|
|
262
262
|
}), In = class {
|
|
263
263
|
constructor(n) {
|
|
264
|
-
|
|
264
|
+
m(this, n), this.edsalert = v(this, "edsalert", 7), this.message = void 0, this.pressableLabel = void 0, this.pressableUrl = void 0, this.direction = "horizontal", this.intent = "default", this.brd = "rounded", this.withBtn = !1;
|
|
265
265
|
}
|
|
266
266
|
componentWillLoad() {
|
|
267
267
|
this.withBtn = !!this.pressableLabel;
|
|
@@ -285,12 +285,12 @@ p {
|
|
|
285
285
|
}
|
|
286
286
|
render() {
|
|
287
287
|
const n = this.intent !== "default" ? `${this.intent} alert` : "alert";
|
|
288
|
-
return i("div", { key: "
|
|
288
|
+
return i("div", { key: "33781ae5fb8504158e8fe780a76d89566a39e914", class: An({
|
|
289
289
|
intent: this.intent,
|
|
290
290
|
brd: this.brd,
|
|
291
291
|
direction: this.direction,
|
|
292
292
|
withBtn: this.withBtn
|
|
293
|
-
}), role: "alert", "aria-label": n, "aria-live": this.intent === "error" ? "assertive" : "polite", "aria-labelledby": "alert-message", "aria-describedby": this.withBtn ? "alert-action" : void 0 }, i("p", { key: "
|
|
293
|
+
}), role: "alert", "aria-label": n, "aria-live": this.intent === "error" ? "assertive" : "polite", "aria-labelledby": "alert-message", "aria-describedby": this.withBtn ? "alert-action" : void 0 }, i("p", { key: "fb3a1d216279b4076b09ef9544d37c5229b4d706", id: "alert-message", class: "f-ui-01 py-8", innerHTML: this.message }), this.withBtn && i("div", { key: "a5edd833ae3924f41edb17068090eeeb4e9f9cfd", id: "alert-action" }, this.pressableUrl ? i("eds-link", { class: "eds-alert-link", label: this.pressableLabel, url: this.pressableUrl, intent: "secondary", external: !0 }) : i("eds-button", { class: "eds-alert-button", label: this.pressableLabel, intent: "secondary", onClick: () => this.handleAction() })));
|
|
294
294
|
}
|
|
295
295
|
get el() {
|
|
296
296
|
return y(this);
|
|
@@ -500,7 +500,7 @@ abbr:where([title]) {
|
|
|
500
500
|
background: linear-gradient(to top, #2B69FC, ease-in-out, #E6E6E6);
|
|
501
501
|
}`, _n = Ln, Tn = class {
|
|
502
502
|
constructor(n) {
|
|
503
|
-
|
|
503
|
+
m(this, n), this.firstName = "User", this.lastName = "Avatar", this.picture = void 0, this.initials = void 0, this.color = "grey";
|
|
504
504
|
}
|
|
505
505
|
/**
|
|
506
506
|
* Flag to render the avatar with rounded (pill) shape if `true`.
|
|
@@ -544,22 +544,22 @@ abbr:where([title]) {
|
|
|
544
544
|
* @returns {JSX.Element} The rendered avatar component.
|
|
545
545
|
*/
|
|
546
546
|
render() {
|
|
547
|
-
return i("div", { key: "
|
|
547
|
+
return i("div", { key: "d29c110e340567236716e77c4f003bec5c70ee63", class: this.containerClasses }, this.picture ? i("eds-img", { src: this.picture, width: 54, height: 54, sizes: "120px", alt: `${this.firstName} ${this.lastName}`, lazyload: !0, withBg: !0 }) : i("abbr", { title: this.computedInitials || `${this.firstName} ${this.lastName}`, class: "!no-underline f-ui-01" }, this.computedInitials));
|
|
548
548
|
}
|
|
549
549
|
};
|
|
550
550
|
Tn.style = _n;
|
|
551
|
-
const
|
|
551
|
+
const Dn = ".border-softer{border-color:rgba(0, 0, 0, .1)}.border-default{border-color:var(--black)}.my-16{margin-top:1rem;margin-bottom:1rem}.block{display:block}.w-full{width:100%}.border-t-2{border-top-width:2px}", $n = Dn, Rn = class {
|
|
552
552
|
constructor(n) {
|
|
553
|
-
|
|
553
|
+
m(this, n), this.inverse = !1;
|
|
554
554
|
}
|
|
555
555
|
render() {
|
|
556
|
-
return i("hr", { key: "
|
|
556
|
+
return i("hr", { key: "0e2ec4b9c8b70ff9b65e6c4f2af42f198b1eb7d0", class: `${this.inverse ? "border-default" : "border-softer"} my-16 inline-block w-full border-t-2` });
|
|
557
557
|
}
|
|
558
558
|
};
|
|
559
|
-
Rn.style =
|
|
560
|
-
const
|
|
559
|
+
Rn.style = $n;
|
|
560
|
+
const On = "blockquote,dl,dd,h1,h2,h3,h4,h5,h6,hr,figure,p,pre{margin:0}fieldset{margin:0;padding:0}legend{padding:0}ol,ul,menu{list-style:none;margin:0;padding:0}.hidden{display:none}.block{display:block}.inline-block{display:inline-block}.flex{display:flex}.inline-flex{display:inline-flex}.items-center{align-items:center}.justify-center{justify-content:center}.space-x-2>:not([hidden])~:not([hidden]){--tw-space-x-reverse:0;margin-right:calc(0.125rem * var(--tw-space-x-reverse));margin-left:calc(0.125rem * calc(1 - var(--tw-space-x-reverse)))}.px-2{padding-left:0.125rem;padding-right:0.125rem}.w-20{width:1.25rem}.w-28{width:1.75rem}.w-32{width:2rem}.w-44{width:2.75rem}.h-20{height:1.25rem}.h-24{height:1.5rem}.h-28{height:1.75rem}.h-32{height:2rem}@media (min-width: 750px){.md\\:block{display:block}}", Nn = On, Pn = class {
|
|
561
561
|
constructor(n) {
|
|
562
|
-
|
|
562
|
+
m(this, n), this.updateScreenSize = () => {
|
|
563
563
|
const e = window.innerWidth;
|
|
564
564
|
e < 769 ? this.maxVisibleItems = 3 : e <= 1024 ? this.maxVisibleItems = 3 : e <= 1280 ? this.maxVisibleItems = 3 : e <= 2200 ? this.maxVisibleItems = 4 : this.maxVisibleItems = 6;
|
|
565
565
|
}, this.items = [], this.intent = "ghost", this.parsedItems = [], this.isSmallScreen = !1, this.maxVisibleItems = 6;
|
|
@@ -638,7 +638,7 @@ const Pn = "blockquote,dl,dd,h1,h2,h3,h4,h5,h6,hr,figure,p,pre{margin:0}fieldset
|
|
|
638
638
|
*/
|
|
639
639
|
render() {
|
|
640
640
|
const n = this.getTruncatedItems();
|
|
641
|
-
return i("nav", { key: "
|
|
641
|
+
return i("nav", { key: "27ddf744a07f1b697e549cdc6d2a66f65ebe6386", "aria-label": "Breadcrumb" }, i("ol", { key: "43ac089290c0a6f9b3c5cd629def8540966637b8", class: "flex items-center space-x-2" }, n.map((e, t) => {
|
|
642
642
|
const r = t === n.length - 1;
|
|
643
643
|
return i("li", { class: "flex items-center" }, e.isHidden ? i("eds-link", { label: "...", url: "#", intent: "strong", current: !1, "aria-label": "...", size: "small", "icon-small": "false", icon: "chevron-right" }) : (() => {
|
|
644
644
|
const { fullLabel: l } = this.getLabels(e, r), a = r ? this.intent === "strong" ? "weak" : this.intent === "weak" ? "strong" : this.intent : this.intent;
|
|
@@ -655,7 +655,7 @@ const Pn = "blockquote,dl,dd,h1,h2,h3,h4,h5,h6,hr,figure,p,pre{margin:0}fieldset
|
|
|
655
655
|
};
|
|
656
656
|
}
|
|
657
657
|
};
|
|
658
|
-
|
|
658
|
+
Pn.style = Nn;
|
|
659
659
|
const Hn = `*,
|
|
660
660
|
::before,
|
|
661
661
|
::after {
|
|
@@ -1571,7 +1571,7 @@ button,
|
|
|
1571
1571
|
opacity: 1;
|
|
1572
1572
|
}`, jn = Hn, Wn = class {
|
|
1573
1573
|
constructor(n) {
|
|
1574
|
-
|
|
1574
|
+
m(this, n), this.button = P([
|
|
1575
1575
|
"relative inline-flex items-center",
|
|
1576
1576
|
"py-8",
|
|
1577
1577
|
"effect-focus effect-color",
|
|
@@ -1680,7 +1680,7 @@ button,
|
|
|
1680
1680
|
n.preventDefault();
|
|
1681
1681
|
return;
|
|
1682
1682
|
}
|
|
1683
|
-
|
|
1683
|
+
I({
|
|
1684
1684
|
category: "ui-component",
|
|
1685
1685
|
parentContext: this.parentContext,
|
|
1686
1686
|
tag: this.el.tagName.toLowerCase(),
|
|
@@ -1701,7 +1701,7 @@ button,
|
|
|
1701
1701
|
iconOnly: !this.label,
|
|
1702
1702
|
iconSmall: this.iconSmall
|
|
1703
1703
|
}), e = this.elementType, t = !this.disabled && !this.loading;
|
|
1704
|
-
return i(
|
|
1704
|
+
return i(ln, { key: "fe91be3eb9c2a3ece800097392462b3bd76f1264" }, i(e, { key: "aa1d4e0544beff8759d232d0e897ffdbcd584ea5", tabindex: t ? "0" : "-1", "aria-label": this.label ? void 0 : this.ariaLabel, "aria-disabled": this.disabled || this.loading ? "true" : void 0, "aria-busy": this.loading ? "true" : void 0, disabled: this.elementType === "button" ? this.disabled || this.loading : void 0, role: this.elementType === "a" ? "button" : void 0, class: `${n || ""} ${this.extraClass || ""}`, onClick: (r) => this.handleClick(r), onKeyDown: (r) => this.handleKeyDown(r) }, this.label && i("span", { key: "2b55edc1b986950ba03a759cffd7346c8611ac0a", class: this.loading ? "opacity-0" : "", "aria-hidden": this.loading ? "true" : void 0 }, this.label), this.loading && i("span", { key: "5b035b8ef848cde63af9a2cc4a3ed72c68e1e03d", class: "absolute inset-0 flex items-center justify-center", "aria-hidden": "true" }, i("span", { key: "2746ef996f0835c76c4ef2cbd39103ad4d07c21f", class: "loader", style: {
|
|
1705
1705
|
border: `3px solid ${this.intent === "secondary" ? "rgba(255, 255, 255, .3)" : "rgba(0, 0, 0, .3)"}`,
|
|
1706
1706
|
borderBottomColor: this.intent === "secondary" ? "#fff" : "#000"
|
|
1707
1707
|
} })), this.icon ? i("eds-icon-wrapper", { class: `
|
|
@@ -1717,7 +1717,7 @@ button,
|
|
|
1717
1717
|
}
|
|
1718
1718
|
};
|
|
1719
1719
|
Wn.style = jn;
|
|
1720
|
-
var rn = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : {},
|
|
1720
|
+
var rn = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : {}, on = { exports: {} };
|
|
1721
1721
|
(function(n) {
|
|
1722
1722
|
var e = typeof window < "u" ? window : typeof WorkerGlobalScope < "u" && self instanceof WorkerGlobalScope ? self : {};
|
|
1723
1723
|
/**
|
|
@@ -1729,7 +1729,7 @@ var rn = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : t
|
|
|
1729
1729
|
* @public
|
|
1730
1730
|
*/
|
|
1731
1731
|
var t = function(r) {
|
|
1732
|
-
var l = /(?:^|\s)lang(?:uage)?-([\w-]+)(?=\s|$)/i, a = 0,
|
|
1732
|
+
var l = /(?:^|\s)lang(?:uage)?-([\w-]+)(?=\s|$)/i, a = 0, s = {}, o = {
|
|
1733
1733
|
/**
|
|
1734
1734
|
* By default, Prism will attempt to highlight all code elements (by calling {@link Prism.highlightAll}) on the
|
|
1735
1735
|
* current page after the page finished loading. This might be a problem if e.g. you wanted to asynchronously load
|
|
@@ -1784,8 +1784,8 @@ var rn = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : t
|
|
|
1784
1784
|
* @memberof Prism
|
|
1785
1785
|
*/
|
|
1786
1786
|
util: {
|
|
1787
|
-
encode: function
|
|
1788
|
-
return
|
|
1787
|
+
encode: function c(d) {
|
|
1788
|
+
return d instanceof b ? new b(d.type, c(d.content), d.alias) : Array.isArray(d) ? d.map(c) : d.replace(/&/g, "&").replace(/</g, "<").replace(/\u00a0/g, " ");
|
|
1789
1789
|
},
|
|
1790
1790
|
/**
|
|
1791
1791
|
* Returns the name of the type of the given value.
|
|
@@ -1803,8 +1803,8 @@ var rn = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : t
|
|
|
1803
1803
|
* type(String) === 'Function'
|
|
1804
1804
|
* type(/abc+/) === 'RegExp'
|
|
1805
1805
|
*/
|
|
1806
|
-
type: function(
|
|
1807
|
-
return Object.prototype.toString.call(
|
|
1806
|
+
type: function(c) {
|
|
1807
|
+
return Object.prototype.toString.call(c).slice(8, -1);
|
|
1808
1808
|
},
|
|
1809
1809
|
/**
|
|
1810
1810
|
* Returns a unique number for the given object. Later calls will still return the same number.
|
|
@@ -1812,8 +1812,8 @@ var rn = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : t
|
|
|
1812
1812
|
* @param {Object} obj
|
|
1813
1813
|
* @returns {number}
|
|
1814
1814
|
*/
|
|
1815
|
-
objId: function(
|
|
1816
|
-
return
|
|
1815
|
+
objId: function(c) {
|
|
1816
|
+
return c.__id || Object.defineProperty(c, "__id", { value: ++a }), c.__id;
|
|
1817
1817
|
},
|
|
1818
1818
|
/**
|
|
1819
1819
|
* Creates a deep clone of the given object.
|
|
@@ -1825,30 +1825,30 @@ var rn = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : t
|
|
|
1825
1825
|
* @returns {T}
|
|
1826
1826
|
* @template T
|
|
1827
1827
|
*/
|
|
1828
|
-
clone: function
|
|
1828
|
+
clone: function c(d, g) {
|
|
1829
1829
|
g = g || {};
|
|
1830
1830
|
var h, f;
|
|
1831
|
-
switch (
|
|
1831
|
+
switch (o.util.type(d)) {
|
|
1832
1832
|
case "Object":
|
|
1833
|
-
if (f =
|
|
1833
|
+
if (f = o.util.objId(d), g[f])
|
|
1834
1834
|
return g[f];
|
|
1835
1835
|
h = /** @type {Record<string, any>} */
|
|
1836
1836
|
{}, g[f] = h;
|
|
1837
|
-
for (var u in
|
|
1838
|
-
|
|
1837
|
+
for (var u in d)
|
|
1838
|
+
d.hasOwnProperty(u) && (h[u] = c(d[u], g));
|
|
1839
1839
|
return (
|
|
1840
1840
|
/** @type {any} */
|
|
1841
1841
|
h
|
|
1842
1842
|
);
|
|
1843
1843
|
case "Array":
|
|
1844
|
-
return f =
|
|
1844
|
+
return f = o.util.objId(d), g[f] ? g[f] : (h = [], g[f] = h, /** @type {Array} */
|
|
1845
1845
|
/** @type {any} */
|
|
1846
|
-
|
|
1847
|
-
h[
|
|
1846
|
+
d.forEach(function(x, p) {
|
|
1847
|
+
h[p] = c(x, g);
|
|
1848
1848
|
}), /** @type {any} */
|
|
1849
1849
|
h);
|
|
1850
1850
|
default:
|
|
1851
|
-
return
|
|
1851
|
+
return d;
|
|
1852
1852
|
}
|
|
1853
1853
|
},
|
|
1854
1854
|
/**
|
|
@@ -1859,12 +1859,12 @@ var rn = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : t
|
|
|
1859
1859
|
* @param {Element} element
|
|
1860
1860
|
* @returns {string}
|
|
1861
1861
|
*/
|
|
1862
|
-
getLanguage: function(
|
|
1863
|
-
for (;
|
|
1864
|
-
var
|
|
1865
|
-
if (
|
|
1866
|
-
return
|
|
1867
|
-
|
|
1862
|
+
getLanguage: function(c) {
|
|
1863
|
+
for (; c; ) {
|
|
1864
|
+
var d = l.exec(c.className);
|
|
1865
|
+
if (d)
|
|
1866
|
+
return d[1].toLowerCase();
|
|
1867
|
+
c = c.parentElement;
|
|
1868
1868
|
}
|
|
1869
1869
|
return "none";
|
|
1870
1870
|
},
|
|
@@ -1875,8 +1875,8 @@ var rn = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : t
|
|
|
1875
1875
|
* @param {string} language
|
|
1876
1876
|
* @returns {void}
|
|
1877
1877
|
*/
|
|
1878
|
-
setLanguage: function(
|
|
1879
|
-
|
|
1878
|
+
setLanguage: function(c, d) {
|
|
1879
|
+
c.className = c.className.replace(RegExp(l, "gi"), ""), c.classList.add("language-" + d);
|
|
1880
1880
|
},
|
|
1881
1881
|
/**
|
|
1882
1882
|
* Returns the script element that is currently executing.
|
|
@@ -1896,12 +1896,12 @@ var rn = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : t
|
|
|
1896
1896
|
try {
|
|
1897
1897
|
throw new Error();
|
|
1898
1898
|
} catch (h) {
|
|
1899
|
-
var
|
|
1900
|
-
if (
|
|
1901
|
-
var
|
|
1902
|
-
for (var g in
|
|
1903
|
-
if (
|
|
1904
|
-
return
|
|
1899
|
+
var c = (/at [^(\r\n]*\((.*):[^:]+:[^:]+\)$/i.exec(h.stack) || [])[1];
|
|
1900
|
+
if (c) {
|
|
1901
|
+
var d = document.getElementsByTagName("script");
|
|
1902
|
+
for (var g in d)
|
|
1903
|
+
if (d[g].src == c)
|
|
1904
|
+
return d[g];
|
|
1905
1905
|
}
|
|
1906
1906
|
return null;
|
|
1907
1907
|
}
|
|
@@ -1925,14 +1925,14 @@ var rn = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : t
|
|
|
1925
1925
|
* @param {boolean} [defaultActivation=false]
|
|
1926
1926
|
* @returns {boolean}
|
|
1927
1927
|
*/
|
|
1928
|
-
isActive: function(
|
|
1929
|
-
for (var h = "no-" +
|
|
1930
|
-
var f =
|
|
1931
|
-
if (f.contains(
|
|
1928
|
+
isActive: function(c, d, g) {
|
|
1929
|
+
for (var h = "no-" + d; c; ) {
|
|
1930
|
+
var f = c.classList;
|
|
1931
|
+
if (f.contains(d))
|
|
1932
1932
|
return !0;
|
|
1933
1933
|
if (f.contains(h))
|
|
1934
1934
|
return !1;
|
|
1935
|
-
|
|
1935
|
+
c = c.parentElement;
|
|
1936
1936
|
}
|
|
1937
1937
|
return !!g;
|
|
1938
1938
|
}
|
|
@@ -1948,10 +1948,10 @@ var rn = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : t
|
|
|
1948
1948
|
/**
|
|
1949
1949
|
* The grammar for plain, unformatted text.
|
|
1950
1950
|
*/
|
|
1951
|
-
plain:
|
|
1952
|
-
plaintext:
|
|
1953
|
-
text:
|
|
1954
|
-
txt:
|
|
1951
|
+
plain: s,
|
|
1952
|
+
plaintext: s,
|
|
1953
|
+
text: s,
|
|
1954
|
+
txt: s,
|
|
1955
1955
|
/**
|
|
1956
1956
|
* Creates a deep copy of the language with the given id and appends the given tokens.
|
|
1957
1957
|
*
|
|
@@ -1980,10 +1980,10 @@ var rn = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : t
|
|
|
1980
1980
|
* 'color': /\b(?:red|green|blue)\b/
|
|
1981
1981
|
* });
|
|
1982
1982
|
*/
|
|
1983
|
-
extend: function(
|
|
1984
|
-
var g =
|
|
1985
|
-
for (var h in
|
|
1986
|
-
g[h] =
|
|
1983
|
+
extend: function(c, d) {
|
|
1984
|
+
var g = o.util.clone(o.languages[c]);
|
|
1985
|
+
for (var h in d)
|
|
1986
|
+
g[h] = d[h];
|
|
1987
1987
|
return g;
|
|
1988
1988
|
},
|
|
1989
1989
|
/**
|
|
@@ -2061,31 +2061,31 @@ var rn = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : t
|
|
|
2061
2061
|
* @returns {Grammar} The new grammar object.
|
|
2062
2062
|
* @public
|
|
2063
2063
|
*/
|
|
2064
|
-
insertBefore: function(
|
|
2064
|
+
insertBefore: function(c, d, g, h) {
|
|
2065
2065
|
h = h || /** @type {any} */
|
|
2066
|
-
|
|
2067
|
-
var f = h[
|
|
2066
|
+
o.languages;
|
|
2067
|
+
var f = h[c], u = {};
|
|
2068
2068
|
for (var x in f)
|
|
2069
2069
|
if (f.hasOwnProperty(x)) {
|
|
2070
|
-
if (x ==
|
|
2071
|
-
for (var
|
|
2072
|
-
g.hasOwnProperty(
|
|
2070
|
+
if (x == d)
|
|
2071
|
+
for (var p in g)
|
|
2072
|
+
g.hasOwnProperty(p) && (u[p] = g[p]);
|
|
2073
2073
|
g.hasOwnProperty(x) || (u[x] = f[x]);
|
|
2074
2074
|
}
|
|
2075
|
-
var
|
|
2076
|
-
return h[
|
|
2077
|
-
|
|
2075
|
+
var S = h[c];
|
|
2076
|
+
return h[c] = u, o.languages.DFS(o.languages, function(F, D) {
|
|
2077
|
+
D === S && F != c && (this[F] = u);
|
|
2078
2078
|
}), u;
|
|
2079
2079
|
},
|
|
2080
2080
|
// Traverse a language definition with Depth First Search
|
|
2081
|
-
DFS: function
|
|
2081
|
+
DFS: function c(d, g, h, f) {
|
|
2082
2082
|
f = f || {};
|
|
2083
|
-
var u =
|
|
2084
|
-
for (var x in
|
|
2085
|
-
if (
|
|
2086
|
-
g.call(
|
|
2087
|
-
var
|
|
2088
|
-
|
|
2083
|
+
var u = o.util.objId;
|
|
2084
|
+
for (var x in d)
|
|
2085
|
+
if (d.hasOwnProperty(x)) {
|
|
2086
|
+
g.call(d, x, d[x], h || x);
|
|
2087
|
+
var p = d[x], S = o.util.type(p);
|
|
2088
|
+
S === "Object" && !f[u(p)] ? (f[u(p)] = !0, c(p, g, null, f)) : S === "Array" && !f[u(p)] && (f[u(p)] = !0, c(p, g, x, f));
|
|
2089
2089
|
}
|
|
2090
2090
|
}
|
|
2091
2091
|
},
|
|
@@ -2102,8 +2102,8 @@ var rn = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : t
|
|
|
2102
2102
|
* @memberof Prism
|
|
2103
2103
|
* @public
|
|
2104
2104
|
*/
|
|
2105
|
-
highlightAll: function(
|
|
2106
|
-
|
|
2105
|
+
highlightAll: function(c, d) {
|
|
2106
|
+
o.highlightAllUnder(document, c, d);
|
|
2107
2107
|
},
|
|
2108
2108
|
/**
|
|
2109
2109
|
* Fetches all the descendants of `container` that have a `.language-xxxx` class and then calls
|
|
@@ -2120,15 +2120,15 @@ var rn = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : t
|
|
|
2120
2120
|
* @memberof Prism
|
|
2121
2121
|
* @public
|
|
2122
2122
|
*/
|
|
2123
|
-
highlightAllUnder: function(
|
|
2123
|
+
highlightAllUnder: function(c, d, g) {
|
|
2124
2124
|
var h = {
|
|
2125
2125
|
callback: g,
|
|
2126
|
-
container:
|
|
2126
|
+
container: c,
|
|
2127
2127
|
selector: 'code[class*="language-"], [class*="language-"] code, code[class*="lang-"], [class*="lang-"] code'
|
|
2128
2128
|
};
|
|
2129
|
-
|
|
2129
|
+
o.hooks.run("before-highlightall", h), h.elements = Array.prototype.slice.apply(h.container.querySelectorAll(h.selector)), o.hooks.run("before-all-elements-highlight", h);
|
|
2130
2130
|
for (var f = 0, u; u = h.elements[f++]; )
|
|
2131
|
-
|
|
2131
|
+
o.highlightElement(u, d === !0, h.callback);
|
|
2132
2132
|
},
|
|
2133
2133
|
/**
|
|
2134
2134
|
* Highlights the code inside a single element.
|
|
@@ -2158,39 +2158,39 @@ var rn = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : t
|
|
|
2158
2158
|
* @memberof Prism
|
|
2159
2159
|
* @public
|
|
2160
2160
|
*/
|
|
2161
|
-
highlightElement: function(
|
|
2162
|
-
var h =
|
|
2163
|
-
|
|
2164
|
-
var u =
|
|
2165
|
-
u && u.nodeName.toLowerCase() === "pre" &&
|
|
2166
|
-
var x =
|
|
2167
|
-
element:
|
|
2161
|
+
highlightElement: function(c, d, g) {
|
|
2162
|
+
var h = o.util.getLanguage(c), f = o.languages[h];
|
|
2163
|
+
o.util.setLanguage(c, h);
|
|
2164
|
+
var u = c.parentElement;
|
|
2165
|
+
u && u.nodeName.toLowerCase() === "pre" && o.util.setLanguage(u, h);
|
|
2166
|
+
var x = c.textContent, p = {
|
|
2167
|
+
element: c,
|
|
2168
2168
|
language: h,
|
|
2169
2169
|
grammar: f,
|
|
2170
2170
|
code: x
|
|
2171
2171
|
};
|
|
2172
|
-
function
|
|
2173
|
-
|
|
2172
|
+
function S(D) {
|
|
2173
|
+
p.highlightedCode = D, o.hooks.run("before-insert", p), p.element.innerHTML = p.highlightedCode, o.hooks.run("after-highlight", p), o.hooks.run("complete", p), g && g.call(p.element);
|
|
2174
2174
|
}
|
|
2175
|
-
if (
|
|
2176
|
-
|
|
2175
|
+
if (o.hooks.run("before-sanity-check", p), u = p.element.parentElement, u && u.nodeName.toLowerCase() === "pre" && !u.hasAttribute("tabindex") && u.setAttribute("tabindex", "0"), !p.code) {
|
|
2176
|
+
o.hooks.run("complete", p), g && g.call(p.element);
|
|
2177
2177
|
return;
|
|
2178
2178
|
}
|
|
2179
|
-
if (
|
|
2180
|
-
|
|
2179
|
+
if (o.hooks.run("before-highlight", p), !p.grammar) {
|
|
2180
|
+
S(o.util.encode(p.code));
|
|
2181
2181
|
return;
|
|
2182
2182
|
}
|
|
2183
|
-
if (
|
|
2184
|
-
var
|
|
2185
|
-
|
|
2186
|
-
|
|
2187
|
-
},
|
|
2188
|
-
language:
|
|
2189
|
-
code:
|
|
2183
|
+
if (d && r.Worker) {
|
|
2184
|
+
var F = new Worker(o.filename);
|
|
2185
|
+
F.onmessage = function(D) {
|
|
2186
|
+
S(D.data);
|
|
2187
|
+
}, F.postMessage(JSON.stringify({
|
|
2188
|
+
language: p.language,
|
|
2189
|
+
code: p.code,
|
|
2190
2190
|
immediateClose: !0
|
|
2191
2191
|
}));
|
|
2192
2192
|
} else
|
|
2193
|
-
|
|
2193
|
+
S(o.highlight(p.code, p.grammar, p.language));
|
|
2194
2194
|
},
|
|
2195
2195
|
/**
|
|
2196
2196
|
* Low-level function, only use if you know what you’re doing. It accepts a string of text as input
|
|
@@ -2212,15 +2212,15 @@ var rn = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : t
|
|
|
2212
2212
|
* @example
|
|
2213
2213
|
* Prism.highlight('var foo = true;', Prism.languages.javascript, 'javascript');
|
|
2214
2214
|
*/
|
|
2215
|
-
highlight: function(
|
|
2215
|
+
highlight: function(c, d, g) {
|
|
2216
2216
|
var h = {
|
|
2217
|
-
code:
|
|
2218
|
-
grammar:
|
|
2217
|
+
code: c,
|
|
2218
|
+
grammar: d,
|
|
2219
2219
|
language: g
|
|
2220
2220
|
};
|
|
2221
|
-
if (
|
|
2221
|
+
if (o.hooks.run("before-tokenize", h), !h.grammar)
|
|
2222
2222
|
throw new Error('The language "' + h.language + '" has no grammar.');
|
|
2223
|
-
return h.tokens =
|
|
2223
|
+
return h.tokens = o.tokenize(h.code, h.grammar), o.hooks.run("after-tokenize", h), b.stringify(o.util.encode(h.tokens), h.language);
|
|
2224
2224
|
},
|
|
2225
2225
|
/**
|
|
2226
2226
|
* This is the heart of Prism, and the most low-level function you can use. It accepts a string of text as input
|
|
@@ -2246,15 +2246,15 @@ var rn = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : t
|
|
|
2246
2246
|
* }
|
|
2247
2247
|
* });
|
|
2248
2248
|
*/
|
|
2249
|
-
tokenize: function(
|
|
2250
|
-
var g =
|
|
2249
|
+
tokenize: function(c, d) {
|
|
2250
|
+
var g = d.rest;
|
|
2251
2251
|
if (g) {
|
|
2252
2252
|
for (var h in g)
|
|
2253
|
-
|
|
2254
|
-
delete
|
|
2253
|
+
d[h] = g[h];
|
|
2254
|
+
delete d.rest;
|
|
2255
2255
|
}
|
|
2256
|
-
var f = new
|
|
2257
|
-
return
|
|
2256
|
+
var f = new _();
|
|
2257
|
+
return O(f, f.head, c), z(c, f, d, f.head, 0), j(f);
|
|
2258
2258
|
},
|
|
2259
2259
|
/**
|
|
2260
2260
|
* @namespace
|
|
@@ -2275,9 +2275,9 @@ var rn = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : t
|
|
|
2275
2275
|
* @param {HookCallback} callback The callback function which is given environment variables.
|
|
2276
2276
|
* @public
|
|
2277
2277
|
*/
|
|
2278
|
-
add: function(
|
|
2279
|
-
var g =
|
|
2280
|
-
g[
|
|
2278
|
+
add: function(c, d) {
|
|
2279
|
+
var g = o.hooks.all;
|
|
2280
|
+
g[c] = g[c] || [], g[c].push(d);
|
|
2281
2281
|
},
|
|
2282
2282
|
/**
|
|
2283
2283
|
* Runs a hook invoking all registered callbacks with the given environment variables.
|
|
@@ -2288,133 +2288,133 @@ var rn = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : t
|
|
|
2288
2288
|
* @param {Object<string, any>} env The environment variables of the hook passed to all callbacks registered.
|
|
2289
2289
|
* @public
|
|
2290
2290
|
*/
|
|
2291
|
-
run: function(
|
|
2292
|
-
var g =
|
|
2291
|
+
run: function(c, d) {
|
|
2292
|
+
var g = o.hooks.all[c];
|
|
2293
2293
|
if (!(!g || !g.length))
|
|
2294
2294
|
for (var h = 0, f; f = g[h++]; )
|
|
2295
|
-
f(
|
|
2295
|
+
f(d);
|
|
2296
2296
|
}
|
|
2297
2297
|
},
|
|
2298
2298
|
Token: b
|
|
2299
2299
|
};
|
|
2300
|
-
r.Prism =
|
|
2301
|
-
function b(
|
|
2302
|
-
this.type =
|
|
2300
|
+
r.Prism = o;
|
|
2301
|
+
function b(c, d, g, h) {
|
|
2302
|
+
this.type = c, this.content = d, this.alias = g, this.length = (h || "").length | 0;
|
|
2303
2303
|
}
|
|
2304
|
-
b.stringify = function
|
|
2305
|
-
if (typeof
|
|
2306
|
-
return
|
|
2307
|
-
if (Array.isArray(
|
|
2304
|
+
b.stringify = function c(d, g) {
|
|
2305
|
+
if (typeof d == "string")
|
|
2306
|
+
return d;
|
|
2307
|
+
if (Array.isArray(d)) {
|
|
2308
2308
|
var h = "";
|
|
2309
|
-
return
|
|
2310
|
-
h +=
|
|
2309
|
+
return d.forEach(function(S) {
|
|
2310
|
+
h += c(S, g);
|
|
2311
2311
|
}), h;
|
|
2312
2312
|
}
|
|
2313
2313
|
var f = {
|
|
2314
|
-
type:
|
|
2315
|
-
content:
|
|
2314
|
+
type: d.type,
|
|
2315
|
+
content: c(d.content, g),
|
|
2316
2316
|
tag: "span",
|
|
2317
|
-
classes: ["token",
|
|
2317
|
+
classes: ["token", d.type],
|
|
2318
2318
|
attributes: {},
|
|
2319
2319
|
language: g
|
|
2320
|
-
}, u =
|
|
2321
|
-
u && (Array.isArray(u) ? Array.prototype.push.apply(f.classes, u) : f.classes.push(u)),
|
|
2320
|
+
}, u = d.alias;
|
|
2321
|
+
u && (Array.isArray(u) ? Array.prototype.push.apply(f.classes, u) : f.classes.push(u)), o.hooks.run("wrap", f);
|
|
2322
2322
|
var x = "";
|
|
2323
|
-
for (var
|
|
2324
|
-
x += " " +
|
|
2323
|
+
for (var p in f.attributes)
|
|
2324
|
+
x += " " + p + '="' + (f.attributes[p] || "").replace(/"/g, """) + '"';
|
|
2325
2325
|
return "<" + f.tag + ' class="' + f.classes.join(" ") + '"' + x + ">" + f.content + "</" + f.tag + ">";
|
|
2326
2326
|
};
|
|
2327
|
-
function k(
|
|
2328
|
-
|
|
2329
|
-
var f =
|
|
2327
|
+
function k(c, d, g, h) {
|
|
2328
|
+
c.lastIndex = d;
|
|
2329
|
+
var f = c.exec(g);
|
|
2330
2330
|
if (f && h && f[1]) {
|
|
2331
2331
|
var u = f[1].length;
|
|
2332
2332
|
f.index += u, f[0] = f[0].slice(u);
|
|
2333
2333
|
}
|
|
2334
2334
|
return f;
|
|
2335
2335
|
}
|
|
2336
|
-
function
|
|
2336
|
+
function z(c, d, g, h, f, u) {
|
|
2337
2337
|
for (var x in g)
|
|
2338
2338
|
if (!(!g.hasOwnProperty(x) || !g[x])) {
|
|
2339
|
-
var
|
|
2340
|
-
|
|
2341
|
-
for (var
|
|
2342
|
-
if (u && u.cause == x + "," +
|
|
2339
|
+
var p = g[x];
|
|
2340
|
+
p = Array.isArray(p) ? p : [p];
|
|
2341
|
+
for (var S = 0; S < p.length; ++S) {
|
|
2342
|
+
if (u && u.cause == x + "," + S)
|
|
2343
2343
|
return;
|
|
2344
|
-
var
|
|
2345
|
-
if (J && !
|
|
2346
|
-
var
|
|
2347
|
-
|
|
2344
|
+
var F = p[S], D = F.inside, Z = !!F.lookbehind, J = !!F.greedy, dn = F.alias;
|
|
2345
|
+
if (J && !F.pattern.global) {
|
|
2346
|
+
var cn = F.pattern.toString().match(/[imsuy]*$/)[0];
|
|
2347
|
+
F.pattern = RegExp(F.pattern.source, cn + "g");
|
|
2348
2348
|
}
|
|
2349
|
-
for (var Q =
|
|
2350
|
-
var
|
|
2351
|
-
if (
|
|
2349
|
+
for (var Q = F.pattern || F, A = h.next, T = f; A !== d.tail && !(u && T >= u.reach); T += A.value.length, A = A.next) {
|
|
2350
|
+
var N = A.value;
|
|
2351
|
+
if (d.length > c.length)
|
|
2352
2352
|
return;
|
|
2353
|
-
if (!(
|
|
2354
|
-
var W = 1,
|
|
2353
|
+
if (!(N instanceof b)) {
|
|
2354
|
+
var W = 1, L;
|
|
2355
2355
|
if (J) {
|
|
2356
|
-
if (
|
|
2356
|
+
if (L = k(Q, T, c, Z), !L || L.index >= c.length)
|
|
2357
2357
|
break;
|
|
2358
|
-
var B =
|
|
2359
|
-
for (
|
|
2360
|
-
|
|
2361
|
-
if (
|
|
2358
|
+
var B = L.index, gn = L.index + L[0].length, $ = T;
|
|
2359
|
+
for ($ += A.value.length; B >= $; )
|
|
2360
|
+
A = A.next, $ += A.value.length;
|
|
2361
|
+
if ($ -= A.value.length, T = $, A.value instanceof b)
|
|
2362
2362
|
continue;
|
|
2363
|
-
for (var H =
|
|
2364
|
-
W++,
|
|
2365
|
-
W--,
|
|
2366
|
-
} else if (
|
|
2363
|
+
for (var H = A; H !== d.tail && ($ < gn || typeof H.value == "string"); H = H.next)
|
|
2364
|
+
W++, $ += H.value.length;
|
|
2365
|
+
W--, N = c.slice(T, $), L.index -= T;
|
|
2366
|
+
} else if (L = k(Q, 0, N, Z), !L)
|
|
2367
2367
|
continue;
|
|
2368
|
-
var B =
|
|
2368
|
+
var B = L.index, q = L[0], V = N.slice(0, B), nn = N.slice(B + q.length), G = T + N.length;
|
|
2369
2369
|
u && G > u.reach && (u.reach = G);
|
|
2370
|
-
var M =
|
|
2371
|
-
V && (M =
|
|
2372
|
-
var
|
|
2373
|
-
if (
|
|
2370
|
+
var M = A.prev;
|
|
2371
|
+
V && (M = O(d, M, V), T += V.length), U(d, M, W);
|
|
2372
|
+
var hn = new b(x, D ? o.tokenize(q, D) : q, dn, q);
|
|
2373
|
+
if (A = O(d, M, hn), nn && O(d, A, nn), W > 1) {
|
|
2374
2374
|
var Y = {
|
|
2375
|
-
cause: x + "," +
|
|
2375
|
+
cause: x + "," + S,
|
|
2376
2376
|
reach: G
|
|
2377
2377
|
};
|
|
2378
|
-
|
|
2378
|
+
z(c, d, g, A.prev, T, Y), u && Y.reach > u.reach && (u.reach = Y.reach);
|
|
2379
2379
|
}
|
|
2380
2380
|
}
|
|
2381
2381
|
}
|
|
2382
2382
|
}
|
|
2383
2383
|
}
|
|
2384
2384
|
}
|
|
2385
|
-
function
|
|
2386
|
-
var
|
|
2387
|
-
|
|
2385
|
+
function _() {
|
|
2386
|
+
var c = { value: null, prev: null, next: null }, d = { value: null, prev: c, next: null };
|
|
2387
|
+
c.next = d, this.head = c, this.tail = d, this.length = 0;
|
|
2388
2388
|
}
|
|
2389
|
-
function
|
|
2390
|
-
var h =
|
|
2391
|
-
return
|
|
2389
|
+
function O(c, d, g) {
|
|
2390
|
+
var h = d.next, f = { value: g, prev: d, next: h };
|
|
2391
|
+
return d.next = f, h.prev = f, c.length++, f;
|
|
2392
2392
|
}
|
|
2393
|
-
function U(
|
|
2394
|
-
for (var h =
|
|
2393
|
+
function U(c, d, g) {
|
|
2394
|
+
for (var h = d.next, f = 0; f < g && h !== c.tail; f++)
|
|
2395
2395
|
h = h.next;
|
|
2396
|
-
|
|
2396
|
+
d.next = h, h.prev = d, c.length -= f;
|
|
2397
2397
|
}
|
|
2398
|
-
function j(
|
|
2399
|
-
for (var
|
|
2400
|
-
|
|
2401
|
-
return
|
|
2398
|
+
function j(c) {
|
|
2399
|
+
for (var d = [], g = c.head.next; g !== c.tail; )
|
|
2400
|
+
d.push(g.value), g = g.next;
|
|
2401
|
+
return d;
|
|
2402
2402
|
}
|
|
2403
2403
|
if (!r.document)
|
|
2404
|
-
return r.addEventListener && (
|
|
2405
|
-
var
|
|
2406
|
-
r.postMessage(
|
|
2407
|
-
}, !1)),
|
|
2408
|
-
var C =
|
|
2409
|
-
C && (
|
|
2410
|
-
function
|
|
2411
|
-
|
|
2404
|
+
return r.addEventListener && (o.disableWorkerMessageHandler || r.addEventListener("message", function(c) {
|
|
2405
|
+
var d = JSON.parse(c.data), g = d.language, h = d.code, f = d.immediateClose;
|
|
2406
|
+
r.postMessage(o.highlight(h, o.languages[g], g)), f && r.close();
|
|
2407
|
+
}, !1)), o;
|
|
2408
|
+
var C = o.util.currentScript();
|
|
2409
|
+
C && (o.filename = C.src, C.hasAttribute("data-manual") && (o.manual = !0));
|
|
2410
|
+
function w() {
|
|
2411
|
+
o.manual || o.highlightAll();
|
|
2412
2412
|
}
|
|
2413
|
-
if (!
|
|
2413
|
+
if (!o.manual) {
|
|
2414
2414
|
var E = document.readyState;
|
|
2415
|
-
E === "loading" || E === "interactive" && C && C.defer ? document.addEventListener("DOMContentLoaded",
|
|
2415
|
+
E === "loading" || E === "interactive" && C && C.defer ? document.addEventListener("DOMContentLoaded", w) : window.requestAnimationFrame ? window.requestAnimationFrame(w) : window.setTimeout(w, 16);
|
|
2416
2416
|
}
|
|
2417
|
-
return
|
|
2417
|
+
return o;
|
|
2418
2418
|
}(e);
|
|
2419
2419
|
n.exports && (n.exports = t), typeof rn < "u" && (rn.Prism = t), t.languages.markup = {
|
|
2420
2420
|
comment: {
|
|
@@ -2508,19 +2508,19 @@ var rn = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : t
|
|
|
2508
2508
|
* addInlined('style', 'css');
|
|
2509
2509
|
*/
|
|
2510
2510
|
value: function(l, a) {
|
|
2511
|
-
var
|
|
2512
|
-
|
|
2511
|
+
var s = {};
|
|
2512
|
+
s["language-" + a] = {
|
|
2513
2513
|
pattern: /(^<!\[CDATA\[)[\s\S]+?(?=\]\]>$)/i,
|
|
2514
2514
|
lookbehind: !0,
|
|
2515
2515
|
inside: t.languages[a]
|
|
2516
|
-
},
|
|
2517
|
-
var
|
|
2516
|
+
}, s.cdata = /^<!\[CDATA\[|\]\]>$/i;
|
|
2517
|
+
var o = {
|
|
2518
2518
|
"included-cdata": {
|
|
2519
2519
|
pattern: /<!\[CDATA\[[\s\S]*?\]\]>/i,
|
|
2520
|
-
inside:
|
|
2520
|
+
inside: s
|
|
2521
2521
|
}
|
|
2522
2522
|
};
|
|
2523
|
-
|
|
2523
|
+
o["language-" + a] = {
|
|
2524
2524
|
pattern: /[\s\S]+/,
|
|
2525
2525
|
inside: t.languages[a]
|
|
2526
2526
|
};
|
|
@@ -2531,7 +2531,7 @@ var rn = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : t
|
|
|
2531
2531
|
}), "i"),
|
|
2532
2532
|
lookbehind: !0,
|
|
2533
2533
|
greedy: !0,
|
|
2534
|
-
inside:
|
|
2534
|
+
inside: o
|
|
2535
2535
|
}, t.languages.insertBefore("markup", "cdata", b);
|
|
2536
2536
|
}
|
|
2537
2537
|
}), Object.defineProperty(t.languages.markup.tag, "addAttribute", {
|
|
@@ -2794,9 +2794,9 @@ var rn = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : t
|
|
|
2794
2794
|
if (typeof t > "u" || typeof document > "u")
|
|
2795
2795
|
return;
|
|
2796
2796
|
Element.prototype.matches || (Element.prototype.matches = Element.prototype.msMatchesSelector || Element.prototype.webkitMatchesSelector);
|
|
2797
|
-
var r = "Loading…", l = function(C,
|
|
2798
|
-
return "✖ Error " + C + " while fetching file: " +
|
|
2799
|
-
}, a = "✖ Error: File does not exist or is empty",
|
|
2797
|
+
var r = "Loading…", l = function(C, w) {
|
|
2798
|
+
return "✖ Error " + C + " while fetching file: " + w;
|
|
2799
|
+
}, a = "✖ Error: File does not exist or is empty", s = {
|
|
2800
2800
|
js: "javascript",
|
|
2801
2801
|
py: "python",
|
|
2802
2802
|
rb: "ruby",
|
|
@@ -2806,52 +2806,52 @@ var rn = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : t
|
|
|
2806
2806
|
bat: "batch",
|
|
2807
2807
|
h: "c",
|
|
2808
2808
|
tex: "latex"
|
|
2809
|
-
},
|
|
2810
|
-
function
|
|
2811
|
-
var
|
|
2812
|
-
|
|
2813
|
-
|
|
2814
|
-
},
|
|
2809
|
+
}, o = "data-src-status", b = "loading", k = "loaded", z = "failed", _ = "pre[data-src]:not([" + o + '="' + k + '"]):not([' + o + '="' + b + '"])';
|
|
2810
|
+
function O(C, w, E) {
|
|
2811
|
+
var c = new XMLHttpRequest();
|
|
2812
|
+
c.open("GET", C, !0), c.onreadystatechange = function() {
|
|
2813
|
+
c.readyState == 4 && (c.status < 400 && c.responseText ? w(c.responseText) : c.status >= 400 ? E(l(c.status, c.statusText)) : E(a));
|
|
2814
|
+
}, c.send(null);
|
|
2815
2815
|
}
|
|
2816
2816
|
function U(C) {
|
|
2817
|
-
var
|
|
2818
|
-
if (
|
|
2819
|
-
var E = Number(
|
|
2820
|
-
return
|
|
2817
|
+
var w = /^\s*(\d+)\s*(?:(,)\s*(?:(\d+)\s*)?)?$/.exec(C || "");
|
|
2818
|
+
if (w) {
|
|
2819
|
+
var E = Number(w[1]), c = w[2], d = w[3];
|
|
2820
|
+
return c ? d ? [E, Number(d)] : [E, void 0] : [E, E];
|
|
2821
2821
|
}
|
|
2822
2822
|
}
|
|
2823
2823
|
t.hooks.add("before-highlightall", function(C) {
|
|
2824
|
-
C.selector += ", " +
|
|
2824
|
+
C.selector += ", " + _;
|
|
2825
2825
|
}), t.hooks.add("before-sanity-check", function(C) {
|
|
2826
|
-
var
|
|
2826
|
+
var w = (
|
|
2827
2827
|
/** @type {HTMLPreElement} */
|
|
2828
2828
|
C.element
|
|
2829
2829
|
);
|
|
2830
|
-
if (
|
|
2831
|
-
C.code = "",
|
|
2832
|
-
var E =
|
|
2830
|
+
if (w.matches(_)) {
|
|
2831
|
+
C.code = "", w.setAttribute(o, b);
|
|
2832
|
+
var E = w.appendChild(document.createElement("CODE"));
|
|
2833
2833
|
E.textContent = r;
|
|
2834
|
-
var
|
|
2835
|
-
if (
|
|
2836
|
-
var g = (/\.(\w+)$/.exec(
|
|
2837
|
-
|
|
2834
|
+
var c = w.getAttribute("data-src"), d = C.language;
|
|
2835
|
+
if (d === "none") {
|
|
2836
|
+
var g = (/\.(\w+)$/.exec(c) || [, "none"])[1];
|
|
2837
|
+
d = s[g] || g;
|
|
2838
2838
|
}
|
|
2839
|
-
t.util.setLanguage(E,
|
|
2839
|
+
t.util.setLanguage(E, d), t.util.setLanguage(w, d);
|
|
2840
2840
|
var h = t.plugins.autoloader;
|
|
2841
|
-
h && h.loadLanguages(
|
|
2842
|
-
|
|
2841
|
+
h && h.loadLanguages(d), O(
|
|
2842
|
+
c,
|
|
2843
2843
|
function(f) {
|
|
2844
|
-
|
|
2845
|
-
var u = U(
|
|
2844
|
+
w.setAttribute(o, k);
|
|
2845
|
+
var u = U(w.getAttribute("data-range"));
|
|
2846
2846
|
if (u) {
|
|
2847
|
-
var x = f.split(/\r\n?|\n/g),
|
|
2848
|
-
|
|
2849
|
-
`),
|
|
2847
|
+
var x = f.split(/\r\n?|\n/g), p = u[0], S = u[1] == null ? x.length : u[1];
|
|
2848
|
+
p < 0 && (p += x.length), p = Math.max(0, Math.min(p - 1, x.length)), S < 0 && (S += x.length), S = Math.max(0, Math.min(S, x.length)), f = x.slice(p, S).join(`
|
|
2849
|
+
`), w.hasAttribute("data-start") || w.setAttribute("data-start", String(p + 1));
|
|
2850
2850
|
}
|
|
2851
2851
|
E.textContent = f, t.highlightElement(E);
|
|
2852
2852
|
},
|
|
2853
2853
|
function(f) {
|
|
2854
|
-
|
|
2854
|
+
w.setAttribute(o, z), E.textContent = f;
|
|
2855
2855
|
}
|
|
2856
2856
|
);
|
|
2857
2857
|
}
|
|
@@ -2863,9 +2863,9 @@ var rn = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : t
|
|
|
2863
2863
|
*
|
|
2864
2864
|
* @param {ParentNode} [container=document]
|
|
2865
2865
|
*/
|
|
2866
|
-
highlight: function(
|
|
2867
|
-
for (var E = (
|
|
2868
|
-
t.highlightElement(
|
|
2866
|
+
highlight: function(w) {
|
|
2867
|
+
for (var E = (w || document).querySelectorAll(_), c = 0, d; d = E[c++]; )
|
|
2868
|
+
t.highlightElement(d);
|
|
2869
2869
|
}
|
|
2870
2870
|
};
|
|
2871
2871
|
var j = !1;
|
|
@@ -2873,8 +2873,8 @@ var rn = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : t
|
|
|
2873
2873
|
j || (console.warn("Prism.fileHighlight is deprecated. Use `Prism.plugins.fileHighlight.highlight` instead."), j = !0), t.plugins.fileHighlight.highlight.apply(this, arguments);
|
|
2874
2874
|
};
|
|
2875
2875
|
}();
|
|
2876
|
-
})(
|
|
2877
|
-
const X =
|
|
2876
|
+
})(on);
|
|
2877
|
+
const X = on.exports;
|
|
2878
2878
|
Prism.languages.python = {
|
|
2879
2879
|
comment: {
|
|
2880
2880
|
pattern: /(^|[^\\])#.*/,
|
|
@@ -3153,20 +3153,20 @@ Prism.languages.py = Prism.languages.python;
|
|
|
3153
3153
|
"operator",
|
|
3154
3154
|
"punctuation",
|
|
3155
3155
|
"number"
|
|
3156
|
-
], a = r.variable[1].inside,
|
|
3157
|
-
a[l[
|
|
3156
|
+
], a = r.variable[1].inside, s = 0; s < l.length; s++)
|
|
3157
|
+
a[l[s]] = n.languages.bash[l[s]];
|
|
3158
3158
|
n.languages.sh = n.languages.bash, n.languages.shell = n.languages.bash;
|
|
3159
3159
|
})(Prism);
|
|
3160
3160
|
(function(n) {
|
|
3161
3161
|
var e = /[*&][^\s[\]{},]+/, t = /!(?:<[\w\-%#;/?:@&=+$,.!~*'()[\]]+>|(?:[a-zA-Z\d-]*!)?[\w\-%#;/?:@&=+$.~*'()]+)?/, r = "(?:" + t.source + "(?:[ ]+" + e.source + ")?|" + e.source + "(?:[ ]+" + t.source + ")?)", l = /(?:[^\s\x00-\x08\x0e-\x1f!"#%&'*,\-:>?@[\]`{|}\x7f-\x84\x86-\x9f\ud800-\udfff\ufffe\uffff]|[?:-]<PLAIN>)(?:[ \t]*(?:(?![#:])<PLAIN>|:<PLAIN>))*/.source.replace(/<PLAIN>/g, function() {
|
|
3162
3162
|
return /[^\s\x00-\x08\x0e-\x1f,[\]{}\x7f-\x84\x86-\x9f\ud800-\udfff\ufffe\uffff]/.source;
|
|
3163
3163
|
}), a = /"(?:[^"\\\r\n]|\\.)*"|'(?:[^'\\\r\n]|\\.)*'/.source;
|
|
3164
|
-
function
|
|
3164
|
+
function s(o, b) {
|
|
3165
3165
|
b = (b || "").replace(/m/g, "") + "m";
|
|
3166
3166
|
var k = /([:\-,[{]\s*(?:\s<<prop>>[ \t]+)?)(?:<<value>>)(?=[ \t]*(?:$|,|\]|\}|(?:[\r\n]\s*)?#))/.source.replace(/<<prop>>/g, function() {
|
|
3167
3167
|
return r;
|
|
3168
3168
|
}).replace(/<<value>>/g, function() {
|
|
3169
|
-
return
|
|
3169
|
+
return o;
|
|
3170
3170
|
});
|
|
3171
3171
|
return RegExp(k, b);
|
|
3172
3172
|
}
|
|
@@ -3195,27 +3195,27 @@ Prism.languages.py = Prism.languages.python;
|
|
|
3195
3195
|
alias: "important"
|
|
3196
3196
|
},
|
|
3197
3197
|
datetime: {
|
|
3198
|
-
pattern:
|
|
3198
|
+
pattern: s(/\d{4}-\d\d?-\d\d?(?:[tT]|[ \t]+)\d\d?:\d{2}:\d{2}(?:\.\d*)?(?:[ \t]*(?:Z|[-+]\d\d?(?::\d{2})?))?|\d{4}-\d{2}-\d{2}|\d\d?:\d{2}(?::\d{2}(?:\.\d*)?)?/.source),
|
|
3199
3199
|
lookbehind: !0,
|
|
3200
3200
|
alias: "number"
|
|
3201
3201
|
},
|
|
3202
3202
|
boolean: {
|
|
3203
|
-
pattern:
|
|
3203
|
+
pattern: s(/false|true/.source, "i"),
|
|
3204
3204
|
lookbehind: !0,
|
|
3205
3205
|
alias: "important"
|
|
3206
3206
|
},
|
|
3207
3207
|
null: {
|
|
3208
|
-
pattern:
|
|
3208
|
+
pattern: s(/null|~/.source, "i"),
|
|
3209
3209
|
lookbehind: !0,
|
|
3210
3210
|
alias: "important"
|
|
3211
3211
|
},
|
|
3212
3212
|
string: {
|
|
3213
|
-
pattern:
|
|
3213
|
+
pattern: s(a),
|
|
3214
3214
|
lookbehind: !0,
|
|
3215
3215
|
greedy: !0
|
|
3216
3216
|
},
|
|
3217
3217
|
number: {
|
|
3218
|
-
pattern:
|
|
3218
|
+
pattern: s(/[+-]?(?:0x[\da-f]+|0o[0-7]+|(?:\d+(?:\.\d*)?|\.\d+)(?:e[+-]?\d+)?|\.inf|\.nan)/.source, "i"),
|
|
3219
3219
|
lookbehind: !0
|
|
3220
3220
|
},
|
|
3221
3221
|
tag: t,
|
|
@@ -3280,7 +3280,7 @@ Prism.languages.py = Prism.languages.python;
|
|
|
3280
3280
|
})(Prism);
|
|
3281
3281
|
const Bn = `:host{display:block;font-family:var(--font-family, 'Courier New', monospace)}pre[class*="language-"]{white-space:pre-wrap;word-break:break-word;}.language{font-weight:bold;text-transform:uppercase}pre{margin:0;border-radius:8px;color:var(--purple-200);overflow:auto}code{font-family:'Courier New', monospace}.token.keyword{color:var(--purple-500)}.token.string{color:var(--green-500)}.token.function{color:var(--cyan-500)}.token.comment{color:var(--grey-700)}.relative{position:relative}.bg-stronger{background-color:var(--grey-900)}.rounded-sm{border-radius:8px}.rounded-xs{border-radius:4px}.text-inverse{color:var(--white)}.text-light{color:var(--grey-700)}.text-lighter{color:var(--grey-600)}.text-lightest{color:var(--grey-500)}.flex{display:flex}.items-center{align-items:center}.justify-center{justify-content:center}.justify-between{justify-content:space-between}.p-0{padding:0rem}.p-12{padding:0.75rem}.p-16{padding:1rem}.p-20{padding:1.25rem}.p-6{padding:0.375rem}.p-8{padding:0.5rem}.pl-8{padding-left:0.5rem}.mb-10{margin-bottom:0.625rem}.mb-12{margin-bottom:0.75rem}.mb-28{margin-bottom:1.75rem}.pb-16{padding-bottom:1rem}.pb-20{padding-bottom:1.25rem}.pb-28{padding-bottom:1.75rem}.pb-60{padding-bottom:3.75rem}.pb-8{padding-bottom:0.5rem}.mt-16{margin-top:1rem}.mt-2{margin-top:0.125rem}.mt-20{margin-top:1.25rem}.mt-28{margin-top:1.75rem}.w-20{width:1.25rem}.h-20{height:1.25rem}.f-ui-03{font-family:var(--f-ui-03-fontFamily);font-weight:var(--f-ui-03-fontWeight);font-size:var(--f-ui-03-fontSize);line-height:var(--f-ui-03-lineHeight);letter-spacing:var(--f-ui-03-letterSpacing)}.f-ui-03-light{font-family:var(--f-ui-03-light-fontFamily);font-weight:var(--f-ui-03-light-fontWeight);font-size:var(--f-ui-03-light-fontSize);line-height:var(--f-ui-03-light-lineHeight);letter-spacing:var(--f-ui-03-light-letterSpacing)}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0, 0, 0, 0);white-space:nowrap;border-width:0}`, qn = Bn, Mn = class {
|
|
3282
3282
|
constructor(n) {
|
|
3283
|
-
|
|
3283
|
+
m(this, n), this.code = void 0, this.language = void 0, this.copied = !1;
|
|
3284
3284
|
}
|
|
3285
3285
|
/**
|
|
3286
3286
|
* Copies the current code content to the clipboard and sets a temporary copied state.
|
|
@@ -3329,7 +3329,7 @@ const Bn = `:host{display:block;font-family:var(--font-family, 'Courier New', mo
|
|
|
3329
3329
|
return this.language && X.languages[this.language] ? X.highlight(this.code, X.languages[this.language], this.language) : this.code;
|
|
3330
3330
|
}
|
|
3331
3331
|
render() {
|
|
3332
|
-
return i("div", { key: "
|
|
3332
|
+
return i("div", { key: "2c5addd195dc8d930db643e95ecc52410dd94052", class: "relative bg-stronger rounded-sm" }, i("div", { key: "aea2d891f9e5d57d4b8390cff4597cb8edd163a1", class: "text-inverse flex justify-between items-center p-8" }, this.language ? i("span", { class: "f-ui-03" }, this.language.toUpperCase()) : i("pre", { class: "bg-stronger pl-8", role: "region", "aria-label": "Code block without language" }, i("code", { innerHTML: this.getHighlightedCode() })), i("span", { key: "41e2d463bde145f901eae42dda68091a9a42e3ef", "aria-hidden": "true", class: "w-20 h-20 mt-8" }, i("eds-icon-wrapper", { key: "7285b81dd936c770b09b4a36bed8c8ba2a87da99", icon: this.copied ? "success" : "copy", onClick: () => this.copyToClipboard() })), i("span", { key: "a12d74735064478480544cc4b5cf14d7b028b1a8", class: "sr-only" }, "Copy Code")), this.language && i("pre", { key: "2fcde4f271059ac98cb3b1b6bffbf4564ccf795b", class: `language-${this.language} bg-stronger pl-8 pb-8`, role: "region", "aria-label": `Code block in ${this.language}` }, i("code", { key: "68a8b83f492e7b0eb2916a063e28a4293e6a988f", innerHTML: this.getHighlightedCode() })));
|
|
3333
3333
|
}
|
|
3334
3334
|
get el() {
|
|
3335
3335
|
return y(this);
|
|
@@ -3338,16 +3338,19 @@ const Bn = `:host{display:block;font-family:var(--font-family, 'Courier New', mo
|
|
|
3338
3338
|
Mn.style = qn;
|
|
3339
3339
|
const Un = ".z-focus{z-index:99}.relative{position:relative}.shadow-small{--tw-shadow:0px 1.5px 2px rgba(0, 0, 0, 0.1);--tw-shadow-colored:0px 1.5px 2px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow)}.bg-inverse{background-color:var(--white)}.border-softest{border:2px solid rgba(0, 0, 0, .05)}.z-10{z-index:10}.z-on-top{z-index:99999}.absolute{position:absolute}.top-full{top:100%}.mt-4{margin-top:0.25rem}.mt-6{margin-top:0.375rem}.mt-8{margin-top:0.5rem}.block{display:block}.inline-block{display:inline-block}.inline{display:inline}.flex{display:flex}.inline-flex{display:inline-flex}.flex-col{flex-direction:column}.gap-y-4{row-gap:0.25rem}.rounded-lg{border-radius:16px}.border-2{border-width:2px}.p-8{padding:0.5rem}.left-0{left:0rem}.left-1\\/2{left:50%}.left-4{left:0.25rem}.left-\\[4px\\]{left:4px}.right-0{right:0rem}.right-4{right:0.25rem}.right-8{right:0.5rem}", Vn = Un, Gn = class {
|
|
3340
3340
|
constructor(n) {
|
|
3341
|
-
|
|
3342
|
-
var e;
|
|
3343
|
-
this.isOpen = !this.isOpen, this.isOpen ? (this.focusIndex = 0, this.focusItem()) : this.closeDropdown(), this.dropdown.emit({ expanded: this.isOpen }),
|
|
3341
|
+
m(this, n), this.dropdown = v(this, "dropdown", 7), this.focusableItems = [], this.handleClick = () => {
|
|
3342
|
+
var e, t;
|
|
3343
|
+
this.isOpen = !this.isOpen, this.isOpen ? (this.focusableItems = Array.from(((e = this.panelEl) === null || e === void 0 ? void 0 : e.querySelectorAll('a, button, [role="menuitem"]')) || []), this.focusIndex = this.focusableItems.length ? 0 : -1, this.focusItem()) : this.closeDropdown(), this.dropdown.emit({ expanded: this.isOpen }), I({
|
|
3344
3344
|
category: "ui-component",
|
|
3345
3345
|
parentContext: null,
|
|
3346
3346
|
tag: this.host.tagName.toLowerCase(),
|
|
3347
|
-
name: ((
|
|
3347
|
+
name: ((t = this.label) === null || t === void 0 ? void 0 : t.toLowerCase()) || "",
|
|
3348
3348
|
action: this.isOpen ? "expanded" : "collapsed"
|
|
3349
3349
|
});
|
|
3350
|
-
}, this.icon = void 0, this.label = void 0, this.rounded = !1, this.ariaLabel = "Open dropdown", this.asNav = !0, this.dropdownPos = "left", this.dropdownOffset = !0, this.intent = "tertiary", this.isOpen = !1, this.focusIndex = -1;
|
|
3350
|
+
}, this.icon = void 0, this.label = void 0, this.rounded = !1, this.ariaLabel = "Open dropdown", this.asNav = !0, this.dropdownPos = "left", this.dropdownOffset = !0, this.intent = "tertiary", this.autoClose = !0, this.noCloseSelector = "[data-dropdown-no-close]", this.isOpen = !1, this.focusIndex = -1;
|
|
3351
|
+
}
|
|
3352
|
+
async close() {
|
|
3353
|
+
this.closeDropdown();
|
|
3351
3354
|
}
|
|
3352
3355
|
/**
|
|
3353
3356
|
* Closes the dropdown when a click occurs outside of it.
|
|
@@ -3395,57 +3398,80 @@ const Un = ".z-focus{z-index:99}.relative{position:relative}.shadow-small{--tw-s
|
|
|
3395
3398
|
var n;
|
|
3396
3399
|
this.focusableItems = Array.from(((n = this.dropdownContent) === null || n === void 0 ? void 0 : n.querySelectorAll("a, button")) || []);
|
|
3397
3400
|
}
|
|
3401
|
+
handleHostInternalClick(n) {
|
|
3402
|
+
var e;
|
|
3403
|
+
if (!this.isOpen || !this.panelEl)
|
|
3404
|
+
return;
|
|
3405
|
+
const t = ((e = n.composedPath) === null || e === void 0 ? void 0 : e.call(n)) || [];
|
|
3406
|
+
if (!t.includes(this.panelEl))
|
|
3407
|
+
return;
|
|
3408
|
+
if (t.some((s) => {
|
|
3409
|
+
var o;
|
|
3410
|
+
const b = s;
|
|
3411
|
+
return (o = b == null ? void 0 : b.closest) === null || o === void 0 ? void 0 : o.call(b, "[data-dropdown-close]");
|
|
3412
|
+
})) {
|
|
3413
|
+
setTimeout(() => this.closeDropdown(), 0);
|
|
3414
|
+
return;
|
|
3415
|
+
}
|
|
3416
|
+
if (!this.autoClose)
|
|
3417
|
+
return;
|
|
3418
|
+
t.some((s) => {
|
|
3419
|
+
var o;
|
|
3420
|
+
const b = s;
|
|
3421
|
+
return (o = b == null ? void 0 : b.closest) === null || o === void 0 ? void 0 : o.call(b, this.noCloseSelector);
|
|
3422
|
+
}) || setTimeout(() => this.closeDropdown(), 0);
|
|
3423
|
+
}
|
|
3398
3424
|
/**
|
|
3399
3425
|
* Renders the dropdown component and displays its content when open.
|
|
3400
3426
|
* @returns {JSX.Element} The rendered dropdown component.
|
|
3401
3427
|
*/
|
|
3402
3428
|
render() {
|
|
3403
|
-
return i("div", { key: "
|
|
3429
|
+
return i("div", { key: "e31acbda3428f47fe32cfe550cf00c53374da215", class: "z-focus relative", ref: (n) => this.dropdownContent = n }, i("eds-button", { key: "ce3e11ecee4f603c3ba0e003fccf3fe81289f4c8", label: this.label, "aria-label": this.ariaLabel, icon: this.icon, intent: this.intent, onClick: this.handleClick, "aria-expanded": this.isOpen.toString(), "aria-haspopup": "menu" }), i("nav", { key: "59f8533409171401ed73eac8d307e4eafbde9209", ref: (n) => this.panelEl = n, role: "menu", class: {
|
|
3404
3430
|
"shadow-small bg-inverse border-softest z-10 z-on-top absolute top-full mt-4 flex flex-col gap-y-4 border-2 p-8": !0,
|
|
3405
3431
|
"left-4": this.dropdownPos === "left" && this.dropdownOffset,
|
|
3406
3432
|
"left-0": this.dropdownPos === "left" && !this.dropdownOffset,
|
|
3407
3433
|
"right-4": this.dropdownPos === "right" && this.dropdownOffset,
|
|
3408
3434
|
"right-0": this.dropdownPos === "right" && !this.dropdownOffset,
|
|
3409
3435
|
"rounded-lg": this.rounded
|
|
3410
|
-
}, style: { display: this.isOpen ? "block" : "none" }, "aria-label": "Dropdown", "aria-hidden": !this.isOpen }, i("slot", { key: "
|
|
3436
|
+
}, style: { display: this.isOpen ? "block" : "none" }, "aria-label": "Dropdown", "aria-hidden": !this.isOpen }, i("slot", { key: "675839893bf667a7a05a63e552935bb1a5874b73" })));
|
|
3411
3437
|
}
|
|
3412
3438
|
get host() {
|
|
3413
3439
|
return y(this);
|
|
3414
3440
|
}
|
|
3415
3441
|
};
|
|
3416
3442
|
Gn.style = Vn;
|
|
3417
|
-
function K(n, e, t, r, l, a,
|
|
3418
|
-
const
|
|
3443
|
+
function K(n, e, t, r, l, a, s) {
|
|
3444
|
+
const o = [];
|
|
3419
3445
|
if (r && !e) {
|
|
3420
3446
|
const b = n.length > 30 ? `${n.slice(0, 27)}…` : n;
|
|
3421
|
-
|
|
3447
|
+
o.push(`“${b}” is required.`);
|
|
3422
3448
|
}
|
|
3423
3449
|
if (t === "number") {
|
|
3424
3450
|
const b = typeof e == "number" ? e : parseFloat(e);
|
|
3425
|
-
isNaN(b) ?
|
|
3451
|
+
isNaN(b) ? o.push(`${n} must be a valid number.`) : (typeof a == "number" && b < a && o.push(`${n} must be greater than or equal to ${a}.`), typeof s == "number" && b > s && o.push(`${n} must be less than or equal to ${s}.`));
|
|
3426
3452
|
}
|
|
3427
|
-
return l && typeof e == "string" && e.length > l &&
|
|
3453
|
+
return l && typeof e == "string" && e.length > l && o.push(`${n} must be at most ${l} characters.`), t === "email" && e && !/^[^\s@]+@[^\s@]+\.[^\s@]+$/.test(e.toString()) && o.push("Invalid email format."), o;
|
|
3428
3454
|
}
|
|
3429
|
-
function
|
|
3430
|
-
const a = Array.from(t.querySelectorAll("eds-input-field")).filter((
|
|
3455
|
+
function an(n, e, t) {
|
|
3456
|
+
const a = Array.from(t.querySelectorAll("eds-input-field")).filter((o) => {
|
|
3431
3457
|
var b, k;
|
|
3432
|
-
return ((k = (b =
|
|
3433
|
-
}).flatMap((
|
|
3458
|
+
return ((k = (b = o.shadowRoot) === null || b === void 0 ? void 0 : b.querySelectorAll(`input[name="${n}"]`)) === null || k === void 0 ? void 0 : k.length) > 0;
|
|
3459
|
+
}).flatMap((o) => {
|
|
3434
3460
|
var b;
|
|
3435
|
-
return Array.from(((b =
|
|
3436
|
-
}).some((
|
|
3437
|
-
return e && !a &&
|
|
3461
|
+
return Array.from(((b = o.shadowRoot) === null || b === void 0 ? void 0 : b.querySelectorAll(`input[name="${n}"]`)) || []);
|
|
3462
|
+
}).some((o) => o.checked), s = [];
|
|
3463
|
+
return e && !a && s.push(`At least one option in ${n} is required.`), s;
|
|
3438
3464
|
}
|
|
3439
|
-
function
|
|
3465
|
+
function sn(n, e, t) {
|
|
3440
3466
|
var r;
|
|
3441
|
-
const l = [], a = Array.from(t.querySelectorAll("eds-input-field")).find((
|
|
3467
|
+
const l = [], a = Array.from(t.querySelectorAll("eds-input-field")).find((o) => {
|
|
3442
3468
|
var b;
|
|
3443
|
-
return (b =
|
|
3469
|
+
return (b = o.shadowRoot) === null || b === void 0 ? void 0 : b.querySelector(`[name="${n}"]`);
|
|
3444
3470
|
});
|
|
3445
3471
|
if (!a)
|
|
3446
3472
|
return e && l.push(`${n} is required.`), l;
|
|
3447
|
-
const
|
|
3448
|
-
return e &&
|
|
3473
|
+
const s = (r = a.shadowRoot) === null || r === void 0 ? void 0 : r.querySelector(`[name="${n}"]`);
|
|
3474
|
+
return e && s && !s.checked && l.push(`${n} is required.`), l;
|
|
3449
3475
|
}
|
|
3450
3476
|
function Yn(n, e) {
|
|
3451
3477
|
const t = Array.from(n.querySelectorAll("eds-input-field"));
|
|
@@ -3472,43 +3498,43 @@ function Kn(n) {
|
|
|
3472
3498
|
function Zn(n, e, t, r) {
|
|
3473
3499
|
const l = {};
|
|
3474
3500
|
let a = !1;
|
|
3475
|
-
return n.forEach((
|
|
3476
|
-
var
|
|
3477
|
-
if (!r(
|
|
3478
|
-
delete l[
|
|
3501
|
+
return n.forEach((s) => {
|
|
3502
|
+
var o;
|
|
3503
|
+
if (!r(s, t)) {
|
|
3504
|
+
delete l[s.name];
|
|
3479
3505
|
return;
|
|
3480
3506
|
}
|
|
3481
|
-
if (
|
|
3482
|
-
if ((
|
|
3483
|
-
const b =
|
|
3484
|
-
b.length > 0 && (l[
|
|
3485
|
-
} else if (
|
|
3486
|
-
const b =
|
|
3487
|
-
b.length > 0 && (l[
|
|
3488
|
-
} else if (
|
|
3507
|
+
if (s.type !== "hidden")
|
|
3508
|
+
if ((s.type === "checkbox" || s.type === "radio") && !s.options) {
|
|
3509
|
+
const b = sn(s.name, s.required, e);
|
|
3510
|
+
b.length > 0 && (l[s.name] = b, a = !0);
|
|
3511
|
+
} else if (s.options && (s.type === "checkbox" || s.type === "radio")) {
|
|
3512
|
+
const b = an(s.name, s.required, e);
|
|
3513
|
+
b.length > 0 && (l[s.name] = b, a = !0);
|
|
3514
|
+
} else if (s.type === "rating") {
|
|
3489
3515
|
const b = Xn(e);
|
|
3490
3516
|
if (b) {
|
|
3491
|
-
const k = b.getAttribute("selected-rating"),
|
|
3492
|
-
|
|
3517
|
+
const k = b.getAttribute("selected-rating"), z = k !== null ? parseInt(k, 10) : 0, _ = K(s.name, z, s.type, s.required);
|
|
3518
|
+
_.length > 0 && (l[s.name] = _, a = !0);
|
|
3493
3519
|
}
|
|
3494
|
-
} else if (
|
|
3520
|
+
} else if (s.type === "nps") {
|
|
3495
3521
|
const b = Kn(e);
|
|
3496
3522
|
if (b && b.shadowRoot) {
|
|
3497
|
-
const k = (
|
|
3498
|
-
(
|
|
3499
|
-
} else
|
|
3523
|
+
const k = (o = b.shadowRoot.querySelector('eds-button[tabindex="0"]')) === null || o === void 0 ? void 0 : o.getAttribute("aria-label"), z = k !== null ? parseInt(k, 10) : NaN, _ = Number.isInteger(z) && z >= 0 && z <= 10 ? z : NaN;
|
|
3524
|
+
isNaN(_) && s.required && (l[s.name] = ["This field is required."], a = !0);
|
|
3525
|
+
} else s.required && (l[s.name] = ["This field is required."], a = !0);
|
|
3500
3526
|
return;
|
|
3501
3527
|
} else {
|
|
3502
|
-
const b = Yn(e,
|
|
3528
|
+
const b = Yn(e, s.name);
|
|
3503
3529
|
if (b) {
|
|
3504
|
-
const k = b.value,
|
|
3505
|
-
|
|
3530
|
+
const k = b.value, z = K(s.name, k, s.type, s.required, s.maxlength, s.min, s.max);
|
|
3531
|
+
z.length > 0 && (l[s.name] = z, a = !0);
|
|
3506
3532
|
}
|
|
3507
3533
|
}
|
|
3508
3534
|
}), { errors: l, hasError: a };
|
|
3509
3535
|
}
|
|
3510
3536
|
function Jn(n, e, t) {
|
|
3511
|
-
return n.type === "checkbox" || n.type === "radio" ? n.options ?
|
|
3537
|
+
return n.type === "checkbox" || n.type === "radio" ? n.options ? an(n.name, n.required, t) : sn(n.name, n.required, t) : K(n.name, e, n.type, n.required, n.maxlength, n.min, n.max);
|
|
3512
3538
|
}
|
|
3513
3539
|
function Qn({
|
|
3514
3540
|
initData: n,
|
|
@@ -3523,9 +3549,9 @@ function Qn({
|
|
|
3523
3549
|
a !== void 0 && (r[l.name] = a);
|
|
3524
3550
|
}), { updatedValues: r };
|
|
3525
3551
|
}
|
|
3526
|
-
const ne = ".container{width:calc(var(--container-width, 100%) - (2 * var(--breakout-container-outer-gutter, var(--container-outer-gutter, var(--outer-gutter, 0)))));margin-right:auto;margin-left:auto}.container>*{--container-outer-gutter:0;--breakout-container-outer-gutter:0}.flex{display:flex}.flex-col{flex-direction:column}.f-body-01{font-family:var(--f-body-01-fontFamily);font-weight:var(--f-body-01-fontWeight);font-size:var(--f-body-01-fontSize);line-height:var(--f-body-01-lineHeight);letter-spacing:var(--f-body-01-letterSpacing)}.f-body-01 b,.f-body-01 strong{font-weight:var(--f-body-01---bold-weight, bold)}.f-body-02 b,.f-body-02 strong{font-weight:var(--f-body-02---bold-weight, bold)}.f-heading-04{font-family:var(--f-heading-04-fontFamily);font-weight:var(--f-heading-04-fontWeight);font-size:var(--f-heading-04-fontSize);line-height:var(--f-heading-04-lineHeight);letter-spacing:var(--f-heading-04-letterSpacing)}.rounded-sm{border-radius:8px}.border-softer{border-color:rgba(0, 0, 0, .1)}.border-2{border-width:2px}.mt-20{margin-top:1.25rem}.mt-32{margin-top:2rem}.mb-32{margin-bottom:2rem}.pt-28{padding-top:1.75rem}.pl-8{padding-left:0.5rem}.pl-16{padding-left:1rem}.border-l-2{border-left-width:2px}.gap-y-8{row-gap:0.5rem}.gap-y-16{row-gap:1rem}.gap-y-24{row-gap:1.5rem}.border-group{border-left:1px solid var(--soft-color, #ddd);padding-left:1rem}", ee = ne, te = class {
|
|
3552
|
+
const ne = ".container{width:calc(var(--container-width, 100%) - (2 * var(--breakout-container-outer-gutter, var(--container-outer-gutter, var(--outer-gutter, 0)))));margin-right:auto;margin-left:auto}.container>*{--container-outer-gutter:0;--breakout-container-outer-gutter:0}.flex{display:flex}.flex-col{flex-direction:column}.f-body-01{font-family:var(--f-body-01-fontFamily);font-weight:var(--f-body-01-fontWeight);font-size:var(--f-body-01-fontSize);line-height:var(--f-body-01-lineHeight);letter-spacing:var(--f-body-01-letterSpacing)}.f-body-02{font-family:var(--f-body-02-fontFamily);font-weight:var(--f-body-02-fontWeight);font-size:var(--f-body-02-fontSize);line-height:var(--f-body-02-lineHeight);letter-spacing:var(--f-body-02-letterSpacing)}.f-body-01 b,.f-body-01 strong{font-weight:var(--f-body-01---bold-weight, bold)}.f-body-02 b,.f-body-02 strong{font-weight:var(--f-body-02---bold-weight, bold)}.f-heading-04{font-family:var(--f-heading-04-fontFamily);font-weight:var(--f-heading-04-fontWeight);font-size:var(--f-heading-04-fontSize);line-height:var(--f-heading-04-lineHeight);letter-spacing:var(--f-heading-04-letterSpacing)}.f-heading-05{font-family:var(--f-heading-05-fontFamily);font-weight:var(--f-heading-05-fontWeight);font-size:var(--f-heading-05-fontSize);line-height:var(--f-heading-05-lineHeight);letter-spacing:var(--f-heading-05-letterSpacing)}.text-light{color:var(--grey-700)}.rounded-sm{border-radius:8px}.border-softer{border-color:rgba(0, 0, 0, .1)}.border-2{border-width:2px}.mt-20{margin-top:1.25rem}.mt-32{margin-top:2rem}.mb-32{margin-bottom:2rem}.pt-28{padding-top:1.75rem}.pl-8{padding-left:0.5rem}.pl-16{padding-left:1rem}.border-l-2{border-left-width:2px}.gap-y-8{row-gap:0.5rem}.gap-y-16{row-gap:1rem}.gap-y-24{row-gap:1.5rem}.border-group{border-left:1px solid var(--soft-color, #ddd);padding-left:1rem}.bg-inverse{background-color:var(--white)}.effect-shadow{transition-property:box-shadow;transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);transition-duration:300ms;transition-timing-function:cubic-bezier(0, 0, 0.2, 1)}.shadow-hover{--tw-shadow:0px 0px 16px rgba(0, 0, 0, 0.2);--tw-shadow-colored:0px 0px 16px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow)}.cursor-pointer{cursor:pointer}.effect-focus-within{outline-width:3px;outline-offset:2px;outline-color:var(--green-500)}.effect-focus-within:focus-within{outline-style:solid}.relative{position:relative}.rounded-lg{border-radius:16px}.px-16{padding-left:1rem;padding-right:1rem}.pb-16{padding-bottom:1rem}.p-32{padding:2rem}", ee = ne, te = class {
|
|
3527
3553
|
constructor(n) {
|
|
3528
|
-
|
|
3554
|
+
m(this, n), this.form = v(this, "form", 7), this.name = "eds-form", this.title = "Form Title", this.description = "Form Description", this.setFormUrl = !0, this.formBtn = !0, this.formBtnLabel = "Submit", this.buttonIntent = "primary", this.errorMessage = "Some fields in your form are incorrect.", this.fields = [], this.groups = [], this.initData = {}, this.formStyle = "default", this.values = {}, this.isSubmitting = !1, this.hasError = !1, this.errors = {}, this.parsedFields = [], this.parsedGroups = [];
|
|
3529
3555
|
}
|
|
3530
3556
|
async setData(n) {
|
|
3531
3557
|
this.populateFormWithInitData(n);
|
|
@@ -3583,7 +3609,7 @@ const ne = ".container{width:calc(var(--container-width, 100%) - (2 * var(--brea
|
|
|
3583
3609
|
const r = t.shadowRoot.querySelector("input, textarea, select");
|
|
3584
3610
|
if (r && r.name)
|
|
3585
3611
|
if (r.type === "checkbox" || r.type === "radio") {
|
|
3586
|
-
const a = Array.from(t.shadowRoot.querySelectorAll(`input[name="${r.name}"]:checked`)).map((
|
|
3612
|
+
const a = Array.from(t.shadowRoot.querySelectorAll(`input[name="${r.name}"]:checked`)).map((s) => s.value);
|
|
3587
3613
|
n.append(r.name, a.join(","));
|
|
3588
3614
|
} else if (r.type === "file") {
|
|
3589
3615
|
const l = r;
|
|
@@ -3596,10 +3622,22 @@ const ne = ".container{width:calc(var(--container-width, 100%) - (2 * var(--brea
|
|
|
3596
3622
|
}), n;
|
|
3597
3623
|
}
|
|
3598
3624
|
makeFormData() {
|
|
3599
|
-
|
|
3600
|
-
|
|
3601
|
-
|
|
3602
|
-
|
|
3625
|
+
var n;
|
|
3626
|
+
const e = new FormData();
|
|
3627
|
+
return e.append("form_name", this.name), this.setFormUrl && typeof window < "u" && e.set("form_url", window.location.href), Object.keys(this.values).forEach((r) => {
|
|
3628
|
+
e.append(r, this.values[r]);
|
|
3629
|
+
}), ((n = this.parsedFields) === null || n === void 0 ? void 0 : n.some((r) => (r == null ? void 0 : r.type) === "file")) && this.formEl && Array.from(this.formEl.querySelectorAll("eds-input-field")).forEach((l) => {
|
|
3630
|
+
const a = l.shadowRoot;
|
|
3631
|
+
if (!a)
|
|
3632
|
+
return;
|
|
3633
|
+
const s = Array.from(a.querySelectorAll('input[type="file"][name]'));
|
|
3634
|
+
console.log(s), s.forEach((o) => {
|
|
3635
|
+
const b = o.name, k = o.files ? Array.from(o.files) : [];
|
|
3636
|
+
k.length > 0 && k.forEach((z) => e.append(b, z));
|
|
3637
|
+
});
|
|
3638
|
+
}), e.forEach((r, l) => {
|
|
3639
|
+
r instanceof File ? console.log(`File field: ${l}, File name: ${r.name}, File size: ${r.size}`) : console.log(`Field: ${l}, Value: ${r}`);
|
|
3640
|
+
}), e;
|
|
3603
3641
|
}
|
|
3604
3642
|
handleChange(n, e) {
|
|
3605
3643
|
const t = n.target;
|
|
@@ -3607,7 +3645,7 @@ const ne = ".container{width:calc(var(--container-width, 100%) - (2 * var(--brea
|
|
|
3607
3645
|
if (t.type === "checkbox") {
|
|
3608
3646
|
const l = this.values[e.name] || "";
|
|
3609
3647
|
let a = l ? l.split(",") : [];
|
|
3610
|
-
t.checked ? a.includes(t.value) || a.push(t.value) : a = a.filter((
|
|
3648
|
+
t.checked ? a.includes(t.value) || a.push(t.value) : a = a.filter((s) => s !== t.value), r = a.join(",");
|
|
3611
3649
|
} else if (t.type === "radio") {
|
|
3612
3650
|
if (!t.checked)
|
|
3613
3651
|
return;
|
|
@@ -3656,9 +3694,9 @@ const ne = ".container{width:calc(var(--container-width, 100%) - (2 * var(--brea
|
|
|
3656
3694
|
message: `${e.name} updated`
|
|
3657
3695
|
});
|
|
3658
3696
|
}
|
|
3659
|
-
handleSubmit() {
|
|
3660
|
-
var
|
|
3661
|
-
if (!this.isSubmitting) {
|
|
3697
|
+
handleSubmit(n) {
|
|
3698
|
+
var e, t;
|
|
3699
|
+
if (n == null || n.preventDefault(), !this.isSubmitting) {
|
|
3662
3700
|
if (this.isSubmitting = !0, this.validateForm(), this.hasError) {
|
|
3663
3701
|
this.isSubmitting = !1, this.form.emit({
|
|
3664
3702
|
event: "submit",
|
|
@@ -3666,11 +3704,11 @@ const ne = ".container{width:calc(var(--container-width, 100%) - (2 * var(--brea
|
|
|
3666
3704
|
success: !1,
|
|
3667
3705
|
message: this.errorMessage
|
|
3668
3706
|
//data: this.makeFormData()
|
|
3669
|
-
}),
|
|
3707
|
+
}), I({
|
|
3670
3708
|
category: "ui-component",
|
|
3671
3709
|
parentContext: null,
|
|
3672
3710
|
tag: this.el.tagName.toLowerCase(),
|
|
3673
|
-
name: `${(
|
|
3711
|
+
name: `${(e = this.formBtnLabel) === null || e === void 0 ? void 0 : e.toLowerCase()}/non-validated` || "",
|
|
3674
3712
|
action: "click"
|
|
3675
3713
|
});
|
|
3676
3714
|
return;
|
|
@@ -3681,11 +3719,11 @@ const ne = ".container{width:calc(var(--container-width, 100%) - (2 * var(--brea
|
|
|
3681
3719
|
validated: !0,
|
|
3682
3720
|
message: "Form data validated successfully"
|
|
3683
3721
|
//data: this.getFormData()
|
|
3684
|
-
}),
|
|
3722
|
+
}), I({
|
|
3685
3723
|
category: "ui-component",
|
|
3686
3724
|
parentContext: null,
|
|
3687
3725
|
tag: this.el.tagName.toLowerCase(),
|
|
3688
|
-
name: `${(
|
|
3726
|
+
name: `${(t = this.formBtnLabel) === null || t === void 0 ? void 0 : t.toLowerCase()}/validated` || "",
|
|
3689
3727
|
action: "click"
|
|
3690
3728
|
}), this.errors = {}, this.formEl.reset(), this.isSubmitting = !1;
|
|
3691
3729
|
}
|
|
@@ -3693,6 +3731,8 @@ const ne = ".container{width:calc(var(--container-width, 100%) - (2 * var(--brea
|
|
|
3693
3731
|
get groupedFields() {
|
|
3694
3732
|
const n = {};
|
|
3695
3733
|
return this.parsedGroups.forEach((e) => n[e.id] = []), n.__ungrouped = [], this.parsedFields.forEach((e) => {
|
|
3734
|
+
if (!this.isFieldVisible(e))
|
|
3735
|
+
return;
|
|
3696
3736
|
const t = e.groupId || "__ungrouped";
|
|
3697
3737
|
n[t] || (n[t] = []), n[t].push(e);
|
|
3698
3738
|
}), n;
|
|
@@ -3705,15 +3745,15 @@ const ne = ".container{width:calc(var(--container-width, 100%) - (2 * var(--brea
|
|
|
3705
3745
|
const l = this.values[n.name] || 0;
|
|
3706
3746
|
return i("div", { class: "form-group rating-field", key: n.name }, i("div", { class: "flex justify-between" }, n && i("eds-input-label", { name: `rating-${n.name}`, label: n.label, disabled: n.disabled, required: n.required })), i("eds-rating", { id: `rating-${n.name}`, "rating-type": n.ratingType, "rating-count": n.ratingCount, "selected-rating": l, onRating: (a) => this.handleRating(a, n) }), i("div", { class: "mt-6" }, i("eds-input-footer", { id: `${n.name}-footer`, name: n.name, message: n.message, "error-message": (e = this.errors[n.name]) === null || e === void 0 ? void 0 : e.join("<br/>"), error: !!this.errors[n.name], link: n.link })));
|
|
3707
3747
|
} else if (n.type === "nps")
|
|
3708
|
-
return i("div", { class: "form-group nps-field", key: n.name }, i("div", { class: "flex justify-between" }, n && i("eds-input-label", { name: `nps-${n.name}`, label: n.question, disabled: n.disabled, required: n.required })), i("eds-nps", { id: `nps-${n.name}`, "right-label": n.rightLabel, "left-label": n.leftLabel, onNps: (l) => this.handleNPS(l, n) }), i("div", { class: "mt-6" }, i("eds-input-footer", { id: `${n.name}-footer`, name: n.name,
|
|
3748
|
+
return i("div", { class: "form-group nps-field", key: n.name }, i("div", { class: "flex justify-between" }, n && i("eds-input-label", { name: `nps-${n.name}`, label: n.question, disabled: n.disabled, required: n.required })), i("eds-nps", { id: `nps-${n.name}`, "right-label": n.rightLabel, "left-label": n.leftLabel, onNps: (l) => this.handleNPS(l, n) }), i("div", { class: "mt-6" }, i("eds-input-footer", { id: `${n.name}-footer`, name: n.name, "error-message": (t = this.errors[n.name]) === null || t === void 0 ? void 0 : t.join("<br/>"), error: !!this.errors[n.name] })));
|
|
3709
3749
|
return i("eds-input-field", { key: n.name, name: n.name, label: n.label, placeholder: n.placeholder, type: n.type, value: this.values[n.name], required: n.required, hint: n.hint, message: n.message, error: !!this.errors[n.name], errorMessage: (r = this.errors[n.name]) === null || r === void 0 ? void 0 : r.join("<br/>"), options: n.options, onInput: (l) => this.handleInput(l, n), onChangeNative: (l) => this.handleChange(l, n) });
|
|
3710
3750
|
}
|
|
3711
3751
|
async getData() {
|
|
3712
3752
|
return this.makeFormData();
|
|
3713
3753
|
}
|
|
3714
3754
|
render() {
|
|
3715
|
-
const n = this.parsedFields.filter((
|
|
3716
|
-
return i("form", { key: "
|
|
3755
|
+
const n = this.parsedFields.filter((r) => r.type === "hidden"), e = this.groupedFields, t = this.formStyle === "shadow" ? "bg-inverse effect-shadow shadow-hover border-softer relative rounded-lg border-2 p-32" : "";
|
|
3756
|
+
return i("form", { key: "a2e7de988c60301b92f6b756702bfcc78e9f3d90", class: t, ref: (r) => this.formEl = r, autocomplete: "on", onSubmit: this.handleSubmit }, i("div", { key: "22172631522aa6094d8b163b0774c57ef4404d60", class: "flex flex-col gap-y-24" }, this.title && i("span", { key: "0597bbacbaf5f3d9ec1ab938cf755a10baafdf21", role: "heading", class: "f-heading-04" }, this.title), this.description && i("span", { key: "5e636072bc2692071bd0b518af721999cc8b511e", class: "f-body-02 text-light" }, this.description), i("slot", { key: "79d21172208eb77ec6460e817d3c7bc3a680c806" })), n.map((r, l) => i("eds-input", { key: l, type: "hidden", name: r.name, value: r.value })), this.parsedGroups.filter((r) => Array.isArray(e[r.id]) && e[r.id].length > 0).map((r) => i("div", { class: "mt-32", key: r.id }, i("span", { class: "f-body-02" }, i("b", null, r.title)), i("div", { class: "border-group mt-32 mb-32 flex flex-col gap-y-24" }, e[r.id].map((l) => this.renderField(l))))), i("div", { key: "b99941e53dec1c8c4e167d8588d6e86793838d1a", class: "flex flex-col mt-32 gap-y-24" }, e.__ungrouped.map((r) => this.renderField(r))), this.formBtn && i("div", { key: "27365a4d7d8150ff4e94ffb3d27d011400c8c412", class: "mt-32" }, i("eds-button", { key: "66f89292b95d9549e3718d7e499b0724762127c6", intent: this.buttonIntent, label: this.formBtnLabel, disabled: this.isSubmitting, loading: this.isSubmitting, onClick: () => this.handleSubmit() })));
|
|
3717
3757
|
}
|
|
3718
3758
|
get el() {
|
|
3719
3759
|
return y(this);
|
|
@@ -3726,9 +3766,114 @@ const ne = ".container{width:calc(var(--container-width, 100%) - (2 * var(--brea
|
|
|
3726
3766
|
}
|
|
3727
3767
|
};
|
|
3728
3768
|
te.style = ee;
|
|
3729
|
-
const ie = "
|
|
3769
|
+
const ie = ":host{display:block;width:100%}p{margin:0}ol,ul,menu{list-style:none;margin:0;padding:0}.search-wrapper{position:relative;width:100%}.search-dropdown{position:absolute;top:calc(100% + 8px);left:0;right:0;background:white;border:1px solid #e0e0e0;border-radius:8px;box-shadow:0 4px 12px rgba(0, 0, 0, 0.15), 0 0 0 1px rgba(0, 0, 0, 0.05);max-height:500px;overflow:hidden;z-index:9999;display:flex;flex-direction:column}.dropdown-state{display:flex;align-items:center;justify-content:center;gap:8px;padding:24px;color:#616161;font-size:14px}.dropdown-results{list-style:none;margin:0;overflow-y:auto;overflow-x:hidden;max-height:440px}.result-item{padding:10px 14px;cursor:pointer;transition:background-color 0.15s ease;border-left:3px solid transparent;overflow:hidden;word-wrap:break-word;word-break:break-word}.result-item:hover,.result-item--selected{background-color:var(--grey-200);border-left-color:var(--green-600)}.result-header{display:flex;align-items:center;justify-content:space-between}.result-snippet{font-size:13px;color:#616161;line-height:1.4;margin:0;overflow:hidden;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical}.dropdown-footer{border-top:1px solid #e0e0e0;padding:8px 16px;background:#fafafa;flex-shrink:0}.footer-hint{font-size:11px;color:#757575;display:flex;align-items:center;gap:4px;flex-wrap:wrap}kbd{display:inline-block;padding:2px 5px;font-size:10px;font-family:monospace;line-height:1;color:#424242;background-color:#f5f5f5;border:1px solid #bdbdbd;border-radius:3px;box-shadow:0 1px 0 rgba(0, 0, 0, 0.1)}.dropdown-results::-webkit-scrollbar{width:8px}.dropdown-results::-webkit-scrollbar-track{background:#f5f5f5}.dropdown-results::-webkit-scrollbar-thumb{background:#bdbdbd;border-radius:4px}.dropdown-results::-webkit-scrollbar-thumb:hover{background:#9e9e9e}.flex{display:flex}.inline-flex{display:inline-flex}.text-center{text-align:center}.justify-center{justify-content:center}.justify-between{justify-content:space-between}.text-error{color:var(--red-700)}.text-lighter{color:var(--grey-600)}.text-lightest{color:var(--grey-500)}.ml-4{margin-left:0.25rem}.ml-8{margin-left:0.5rem}.ml-16{margin-left:1rem}.p-16{padding:1rem}.p-64{padding:4rem}.f-body-02{font-family:var(--f-body-02-fontFamily);font-weight:var(--f-body-02-fontWeight);font-size:var(--f-body-02-fontSize);line-height:var(--f-body-02-lineHeight);letter-spacing:var(--f-body-02-letterSpacing)}.f-ui-03{font-family:var(--f-ui-03-fontFamily);font-weight:var(--f-ui-03-fontWeight);font-size:var(--f-ui-03-fontSize);line-height:var(--f-ui-03-lineHeight);letter-spacing:var(--f-ui-03-letterSpacing)}.f-ui-03-light{font-family:var(--f-ui-03-light-fontFamily);font-weight:var(--f-ui-03-light-fontWeight);font-size:var(--f-ui-03-light-fontSize);line-height:var(--f-ui-03-light-lineHeight);letter-spacing:var(--f-ui-03-light-letterSpacing)}.f-ui-04{font-family:var(--f-ui-04-fontFamily);font-weight:var(--f-ui-04-fontWeight);font-size:var(--f-ui-04-fontSize);line-height:var(--f-ui-04-lineHeight);letter-spacing:var(--f-ui-04-letterSpacing)}", re = ie, le = class {
|
|
3770
|
+
constructor(n) {
|
|
3771
|
+
m(this, n), this.resultSelected = v(this, "resultSelected", 7), this.searchClosed = v(this, "searchClosed", 7), this.handleInput = (e) => {
|
|
3772
|
+
var t;
|
|
3773
|
+
const r = e.target;
|
|
3774
|
+
if (this.query = r.value, this.debounceTimer && clearTimeout(this.debounceTimer), !this.query.trim()) {
|
|
3775
|
+
this.results = [], this.hasSearched = !1, this.showDropdown = !1;
|
|
3776
|
+
return;
|
|
3777
|
+
}
|
|
3778
|
+
I({
|
|
3779
|
+
category: "shared-ui",
|
|
3780
|
+
parentContext: null,
|
|
3781
|
+
tag: this.el.tagName.toLowerCase(),
|
|
3782
|
+
name: `search-input: ${(t = this.query) === null || t === void 0 ? void 0 : t.toLowerCase()}` || "unknow seach input query",
|
|
3783
|
+
action: "click"
|
|
3784
|
+
}), this.debounceTimer = window.setTimeout(() => {
|
|
3785
|
+
this.runSearch();
|
|
3786
|
+
}, this.debounceDelay);
|
|
3787
|
+
}, this.apiEndpoint = "/api/v1/global-search", this.placeholder = "Search Handbook + Design...", this.limit = 20, this.debounceDelay = 300, this.query = "", this.results = [], this.loading = !1, this.error = "", this.hasSearched = !1, this.showDropdown = !1, this.selectedIndex = -1;
|
|
3788
|
+
}
|
|
3789
|
+
componentDidLoad() {
|
|
3790
|
+
this.inputRef && this.inputRef.focus();
|
|
3791
|
+
}
|
|
3792
|
+
disconnectedCallback() {
|
|
3793
|
+
this.debounceTimer && clearTimeout(this.debounceTimer);
|
|
3794
|
+
}
|
|
3795
|
+
handleDocumentClick(n) {
|
|
3796
|
+
n.composedPath().includes(this.el) || (this.showDropdown = !1, this.selectedIndex = -1);
|
|
3797
|
+
}
|
|
3798
|
+
handleKeydown(n) {
|
|
3799
|
+
if (!this.showDropdown || this.results.length === 0) {
|
|
3800
|
+
n.key === "Escape" && this.searchClosed.emit();
|
|
3801
|
+
return;
|
|
3802
|
+
}
|
|
3803
|
+
switch (n.key) {
|
|
3804
|
+
case "ArrowDown":
|
|
3805
|
+
n.preventDefault(), this.selectedIndex = Math.min(this.selectedIndex + 1, this.results.length - 1), this.scrollToSelected();
|
|
3806
|
+
break;
|
|
3807
|
+
case "ArrowUp":
|
|
3808
|
+
n.preventDefault(), this.selectedIndex = Math.max(this.selectedIndex - 1, -1), this.scrollToSelected();
|
|
3809
|
+
break;
|
|
3810
|
+
case "Enter":
|
|
3811
|
+
n.preventDefault(), this.selectedIndex >= 0 && this.selectedIndex < this.results.length && this.selectResult(this.results[this.selectedIndex]);
|
|
3812
|
+
break;
|
|
3813
|
+
case "Escape":
|
|
3814
|
+
this.showDropdown = !1, this.selectedIndex = -1, this.searchClosed.emit();
|
|
3815
|
+
break;
|
|
3816
|
+
}
|
|
3817
|
+
}
|
|
3818
|
+
async runSearch() {
|
|
3819
|
+
var n;
|
|
3820
|
+
const e = this.query.trim();
|
|
3821
|
+
if (!e) {
|
|
3822
|
+
this.results = [], this.hasSearched = !1, this.showDropdown = !1;
|
|
3823
|
+
return;
|
|
3824
|
+
}
|
|
3825
|
+
this.loading = !0, this.error = "";
|
|
3826
|
+
try {
|
|
3827
|
+
const t = await fetch(`${this.apiEndpoint}?q=${encodeURIComponent(e)}&limit=${this.limit}`);
|
|
3828
|
+
if (!t.ok)
|
|
3829
|
+
throw new Error("Search failed");
|
|
3830
|
+
const r = await t.json();
|
|
3831
|
+
this.results = (n = r.items) !== null && n !== void 0 ? n : [], this.hasSearched = !0, this.showDropdown = !0, this.selectedIndex = -1;
|
|
3832
|
+
} catch (t) {
|
|
3833
|
+
console.error("Search error:", t), this.error = "Search failed. Please try again.", this.results = [], this.showDropdown = !0;
|
|
3834
|
+
} finally {
|
|
3835
|
+
this.loading = !1;
|
|
3836
|
+
}
|
|
3837
|
+
}
|
|
3838
|
+
selectResult(n) {
|
|
3839
|
+
this.resultSelected.emit(n), this.searchClosed.emit(), I({
|
|
3840
|
+
category: "shared-ui",
|
|
3841
|
+
parentContext: null,
|
|
3842
|
+
tag: this.el.tagName.toLowerCase(),
|
|
3843
|
+
name: `search-select: ${n.url}` || "unknow search result selection",
|
|
3844
|
+
action: "click"
|
|
3845
|
+
}), window.open(n.url, "_blank", "noopener,noreferrer");
|
|
3846
|
+
}
|
|
3847
|
+
scrollToSelected() {
|
|
3848
|
+
if (this.selectedIndex >= 0 && this.dropdownRef) {
|
|
3849
|
+
const n = this.dropdownRef.querySelector(`[data-index="${this.selectedIndex}"]`);
|
|
3850
|
+
n && n.scrollIntoView({ block: "nearest", behavior: "smooth" });
|
|
3851
|
+
}
|
|
3852
|
+
}
|
|
3853
|
+
stripHtml(n) {
|
|
3854
|
+
const e = document.createElement("div");
|
|
3855
|
+
return e.innerHTML = n, e.textContent || e.innerText || "";
|
|
3856
|
+
}
|
|
3857
|
+
get hasResults() {
|
|
3858
|
+
return this.results.length > 0;
|
|
3859
|
+
}
|
|
3860
|
+
get showEmpty() {
|
|
3861
|
+
return this.hasSearched && !this.loading && !this.hasResults && this.query.trim();
|
|
3862
|
+
}
|
|
3863
|
+
render() {
|
|
3864
|
+
return i("div", { key: "88e2275af869b192185bcc3c5ffc1734b41db402", class: "search-wrapper" }, i("eds-input-field", { key: "86d2404ce274046839cfaa645d3f90e963243037", icon: "search", "input-id": "search-global", type: "text", name: "search-box-global", placeholder: this.placeholder, value: this.query, onInput: this.handleInput }), this.showDropdown && i("div", { key: "581788b5a7c0d5efa43e55a17cfbca5bedd621ad", class: "search-dropdown", ref: (n) => this.dropdownRef = n }, this.loading && i("div", { key: "9d303e89842aaaa62149cc56d8149f40f8fc832b", class: "flex text-center justify-center p-64" }, i("eds-spinner", { key: "2f65fbc0148f547f0876f815959fb49421bc4638", variant: "primary", size: "sm" })), this.error && !this.loading && i("div", { key: "aff2cbf02d158dfd3debf5a7494d842075f99520", class: "flex text-center justify-center p-16" }, i("span", { key: "7a57ff8cd4ed45700a053c2ff176905cb9d9a022", class: "text-error f-body-02" }, this.error)), this.showEmpty && i("div", { key: "f3dbed470148f9ab23d588b44efa7572cbdb4d2c", class: "dropdown-state" }, i("eds-icon-wrapper", { key: "161d9df9a6484a355363834042d1071aaf21bc97", icon: "search" }), i("div", { key: "8bea49fba074247e2290e912171c9e428e68f153" }, i("p", { key: "141e3e14dc335e570409da2cf8a85ab25fb88606", class: "f-body-02" }, "No results found"), i("p", { key: "1b38d8e25f4171b895a2f5c34cbbc7f38f631e21", class: "f-ui-04 text-lightest" }, "Try different keywords"))), this.hasResults && !this.loading && i("ul", { key: "63bbceeda1b9835905103e4f95ad474dc0998cf8", class: "dropdown-results" }, this.results.map((n, e) => i("li", { key: n.id, "data-index": e, class: {
|
|
3865
|
+
"result-item": !0,
|
|
3866
|
+
"result-item--selected": e === this.selectedIndex
|
|
3867
|
+
}, onClick: () => this.selectResult(n), onMouseEnter: () => this.selectedIndex = e }, i("div", { class: "result-header" }, i("span", { class: "f-body-02" }, n.title)), i("div", { class: "inline" }, i("eds-tag", { intent: "accent", label: n.source }), n.section && i("span", { class: "result-badge" }, n.section), i("span", { class: "f-ui-03-light text-lighter ml-8" }, n.url)), n.snippet && i("p", { class: "result-snippet" }, this.stripHtml(n.snippet))))), this.hasResults && !this.loading && i("div", { key: "ef57588a0e953a34178ddecc12555a96b66c6825", class: "dropdown-footer" }, i("span", { key: "637caa12e1bc804839e57d99dcd7a489d76f2547", class: "footer-hint" }, i("kbd", { key: "08dd472cf39b60995469384bc04949a77379ff09" }, "↑"), " ", i("kbd", { key: "c54bbf03ba530fbc12cc86a7a6a667a285b66071" }, "↓"), " navigate • ", i("kbd", { key: "20ff7d9a6ee0cae1dd0317a244c7d579c9a72b95" }, "↵"), " select • ", i("kbd", { key: "be3ce0fe05c79526bd9ebe2ca5d227ff33821aed" }, "esc"), " close"))));
|
|
3868
|
+
}
|
|
3869
|
+
get el() {
|
|
3870
|
+
return y(this);
|
|
3871
|
+
}
|
|
3872
|
+
};
|
|
3873
|
+
le.style = re;
|
|
3874
|
+
const oe = ".block{display:block}.inline-block{display:inline-block}.inline{display:inline}.flex{display:flex}.inline-flex{display:inline-flex}.block{display:block}.inline-block{display:inline-block}.inline{display:inline}.flex{display:flex}.inline-flex{display:inline-flex}.items-center{align-items:center}.justify-center{justify-content:center}.justify-between{justify-content:space-between}.fixed{position:fixed}.absolute{position:absolute}.relative{position:relative}.sticky{position:sticky}.z-10{z-index:10}.text-default{color:var(--black)}.text-inverse{color:var(--white)}.bg-inverse{background-color:var(--white)}.bg-dark{background-color:var(--grey-300)}.bg-strongest{background-color:var(--black)}.mr-auto{margin-right:auto}.w-\\[200px\\]{width:200px}.h-\\[85px\\]{height:85px}.left-1\\/2{left:50%}.top-1\\/2{top:50%}.grow{flex-grow:1}.-translate-x-1\\/2{--tw-translate-x:-50%;transform:translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.-translate-y-1\\/2{--tw-translate-y:-50%;transform:translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.hidden{display:none}.gap-x-2{-moz-column-gap:0.125rem;column-gap:0.125rem}.after\\:effect-opacity::after{transition-property:opacity;transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);transition-duration:300ms;transition-timing-function:cubic-bezier(0, 0, 0.2, 1)}.whitespace-nowrap{white-space:nowrap}.\\!text-current{color:currentColor !important}.overflow-hidden{overflow:hidden}.after\\:\\!border-transparent::after{border-color:var(--transparent) !important}.hover\\:after\\:\\!border-transparent:hover::after{border-color:var(--transparent) !important}.after\\:opacity-0::after{opacity:0}.hover\\:after\\:opacity-100:hover::after{opacity:1}.px-16{padding-left:1rem;padding-right:1rem}@media (min-width: 750px){.md\\:flex{display:flex}.md\\:hidden{display:none}}", ae = oe, se = class {
|
|
3730
3875
|
constructor(n) {
|
|
3731
|
-
|
|
3876
|
+
m(this, n), this.toggleheadermenu = v(this, "toggleheadermenu", 7), this.homeUrl = "/", this.links = void 0, this.headerVariant = "default", this.menuEnabled = !1, this.isMenuOpen = !1, this.isUserMenuOpen = !1, this.isAuthenticated = !1;
|
|
3732
3877
|
}
|
|
3733
3878
|
onAuthStatusChanged(n) {
|
|
3734
3879
|
var e;
|
|
@@ -3758,16 +3903,16 @@ const ie = ".block{display:block}.inline-block{display:inline-block}.inline{disp
|
|
|
3758
3903
|
inverse: "text-default bg-inverse",
|
|
3759
3904
|
strong: "text-inverse bg-strongest"
|
|
3760
3905
|
}, e = n[this.headerVariant] || n.default, t = this.headerVariant === "strong" ? "color-white" : "color";
|
|
3761
|
-
return i("header", { key: "
|
|
3906
|
+
return i("header", { key: "937c78379bb6f3a97705862b2fa3f0f6ddd76d4c", class: `flex items-center justify-between relative z-10 ${e}` }, i("div", { key: "d94837e8414d558f02039501d7b01ab550275ca7", class: "mr-auto w-[200px] h-[85px]" }, i("eds-logo", { key: "02711bc6d80075a215761ce79698555f7b31bffa", type: t, href: this.homeUrl })), this.parsedLinks && i("nav", { key: "e3f0033cce5a6145a4f457d1c2c7aebb767593f7", class: "absolute left-1/2 top-1/2 grow -translate-x-1/2 -translate-y-1/2 justify-center hidden md:flex" }, i("ul", { key: "85008ed8ceb8eca869d8730b38a8aa37aeb757ff", class: "flex gap-x-2" }, this.parsedLinks.map((r) => i("eds-link", { label: r.label, "aria-label": r.label, url: r.url, intent: "ghost", size: "large", icon: r.icon, external: r.external, "extra-class": "after:effect-opacity aria-current-page:bg-darker whitespace-nowrap !text-current after:!border-transparent after:opacity-0 hover:after:!border-transparent hover:after:opacity-100" })))), i("slot", { key: "35eb7af751f3da381fada990118fa0a37ce150b1" }), this.menuEnabled && i("div", { key: "121bba2b027fc21e8c77054f3de533e40fad6b96", class: "md:hidden flex overflow-hidden px-16" }, i("eds-button", { key: "00774810aabf8fa292ecca2210bcd9542a7cb0c2", "aria-label": "Menu", intent: this.headerVariant === "default" ? "ghost" : "ghostInverse", icon: "menu", size: "small", onClick: () => this.handleToggleMenu() })));
|
|
3762
3907
|
}
|
|
3763
3908
|
get hostEl() {
|
|
3764
3909
|
return y(this);
|
|
3765
3910
|
}
|
|
3766
3911
|
};
|
|
3767
|
-
|
|
3768
|
-
const
|
|
3912
|
+
se.style = ae;
|
|
3913
|
+
const Ct = class {
|
|
3769
3914
|
constructor(n) {
|
|
3770
|
-
|
|
3915
|
+
m(this, n), this.TagName = null, this.icon = "arrow-right", this.class = "", this.IconComponent = null;
|
|
3771
3916
|
}
|
|
3772
3917
|
componentWillLoad() {
|
|
3773
3918
|
this.loadIconComponent(this.icon);
|
|
@@ -3791,7 +3936,7 @@ const mt = class {
|
|
|
3791
3936
|
icon: ["iconChanged"]
|
|
3792
3937
|
};
|
|
3793
3938
|
}
|
|
3794
|
-
},
|
|
3939
|
+
}, de = `/*
|
|
3795
3940
|
1. Make replaced elements \`display: block\` by default. (https://github.com/mozdevs/cssremedy/issues/14)
|
|
3796
3941
|
2. Add \`vertical-align: middle\` to align replaced elements more sensibly by default. (https://github.com/jensimmons/cssremedy/issues/14#issuecomment-634934210)
|
|
3797
3942
|
This can trigger a poorly considered lint error in some tools but is included by design.
|
|
@@ -3873,9 +4018,9 @@ video {
|
|
|
3873
4018
|
|
|
3874
4019
|
.opacity-100 {
|
|
3875
4020
|
opacity: 1;
|
|
3876
|
-
}`,
|
|
4021
|
+
}`, ce = de, ge = class {
|
|
3877
4022
|
constructor(n) {
|
|
3878
|
-
|
|
4023
|
+
m(this, n), this.img = null, this.handleLoad = () => {
|
|
3879
4024
|
this.loaded = !0, this.showBg = !1;
|
|
3880
4025
|
}, this.handleError = () => {
|
|
3881
4026
|
this.loaded = !0, this.showBg = !1;
|
|
@@ -3888,10 +4033,10 @@ video {
|
|
|
3888
4033
|
}
|
|
3889
4034
|
render() {
|
|
3890
4035
|
const n = {};
|
|
3891
|
-
return this.lazyload && (n.loading = "lazy", n.decoding = "async"), i("div", { key: "
|
|
4036
|
+
return this.lazyload && (n.loading = "lazy", n.decoding = "async"), i("div", { key: "7d704bdd14072d6ce69632d6f2de3270ff393b87", class: {
|
|
3892
4037
|
"items-center justify-center": !0,
|
|
3893
4038
|
"effect-bg-pattern": this.lazyload && this.showBg
|
|
3894
|
-
} }, i("picture", { key: "
|
|
4039
|
+
} }, i("picture", { key: "724f384b7b9f112727d3ab4ecdab5f769e581b26" }, this.formats.map((e) => i("source", { type: e.type, srcSet: e.srcset, media: e.media, sizes: this.sizes })), i("img", Object.assign({ key: "8b12b640a9d66fba117676e6bd81659c72a8e15c", ref: (e) => this.img = e, class: {
|
|
3895
4040
|
"effect-opacity object-cover object-center": !0,
|
|
3896
4041
|
"opacity-100": this.loaded,
|
|
3897
4042
|
"opacity-0": !this.loaded
|
|
@@ -3901,10 +4046,10 @@ video {
|
|
|
3901
4046
|
return y(this);
|
|
3902
4047
|
}
|
|
3903
4048
|
};
|
|
3904
|
-
|
|
3905
|
-
const
|
|
4049
|
+
ge.style = ce;
|
|
4050
|
+
const Et = class {
|
|
3906
4051
|
constructor(n) {
|
|
3907
|
-
|
|
4052
|
+
m(this, n), this.handleInput = (e) => {
|
|
3908
4053
|
const t = e.target;
|
|
3909
4054
|
this.innerVal = t.value, this.maxLength && this.type === "textarea" && (this.maxLengthReached = t.value.length >= this.maxLength);
|
|
3910
4055
|
}, this.name = void 0, this.inputId = void 0, this.placeholder = void 0, this.disabled = !1, this.hasMessage = !1, this.error = !1, this.checked = void 0, this.type = "text", this.required = !1, this.value = void 0, this.icon = void 0, this.maxLength = void 0, this.options = [], this.extraClass = void 0, this.min = void 0, this.max = void 0, this.step = void 0, this.innerVal = "", this.maxLengthReached = !1;
|
|
@@ -3920,7 +4065,7 @@ const ut = class {
|
|
|
3920
4065
|
}
|
|
3921
4066
|
render() {
|
|
3922
4067
|
const n = !!this.icon, e = this.hasMessage || this.error ? `${this.name}-error` : "";
|
|
3923
|
-
return i("div", { key: "
|
|
4068
|
+
return i("div", { key: "4c49edfceefe448b6f5bb29284f0b757342a6003", class: "relative flex items-center" }, this.type === "textarea" ? i("textarea", { id: this.inputId || this.name, name: this.name, placeholder: this.placeholder, value: this.innerVal.toString(), required: this.required, disabled: this.disabled, class: `min-h-80 input input-textarea ${n ? "input-with-icon" : ""} ${this.error ? "input-error" : ""} ${this.extraClass}`, "aria-invalid": this.error ? "true" : "false", "aria-describedby": e, maxlength: this.maxLength, onInput: this.handleInput, onChange: this.handleInput }) : this.type === "select" ? i("select", { id: this.inputId || this.name, name: this.name, required: this.required, disabled: this.disabled, class: `input input-select ${this.error ? "input-error" : ""} ${this.extraClass}`, "aria-invalid": this.error ? "true" : "false", "aria-describedby": e, onInput: this.handleInput, onChange: this.handleInput }, this.options.map((t) => i("option", { value: t.value, selected: t.value === this.innerVal, key: t.value }, t.label))) : i("input", Object.assign({ id: this.inputId || this.name, name: this.name, placeholder: this.placeholder, value: this.innerVal.toString(), required: this.required, disabled: this.disabled, type: this.type, checked: ["radio", "checkbox"].includes(this.type) ? this.checked : void 0 }, this.type === "number" ? {
|
|
3924
4069
|
min: this.min,
|
|
3925
4070
|
max: this.max,
|
|
3926
4071
|
step: this.step
|
|
@@ -3929,7 +4074,7 @@ const ut = class {
|
|
|
3929
4074
|
input ${this.type === "radio" ? "input-radio" : this.type === "checkbox" ? "input-checkbox" : ""}
|
|
3930
4075
|
${n && this.type !== "radio" && this.type !== "checkbox" ? "input-icon pl-36" : ""}
|
|
3931
4076
|
${this.error ? "input-error" : ""}
|
|
3932
|
-
`, "aria-invalid": this.error ? "true" : "false", "aria-describedby": e, maxlength: this.maxLength, onInput: this.handleInput, onChange: this.handleInput })), this.maxLength && this.type === "textarea" && i("span", { key: "
|
|
4077
|
+
`, "aria-invalid": this.error ? "true" : "false", "aria-describedby": e, maxlength: this.maxLength, onInput: this.handleInput, onChange: this.handleInput })), this.maxLength && this.type === "textarea" && i("span", { key: "df877332c68d4783d5f0f8d8beb94c1859cd00da", class: `input-counter f-ui-05 absolute bottom-8 right-8 ${this.maxLengthReached ? "input-counter-error" : ""}` }, this.maxLength), this.icon && i("eds-icon-wrapper", { key: "94f7d3d75f5c578c10ab72b6140785b0b5988a13", class: `absolute top-1/2 left-[4px] -translate-y-1/2 ${this.disabled, "text-lightest"}`, icon: this.icon }));
|
|
3933
4078
|
}
|
|
3934
4079
|
get el() {
|
|
3935
4080
|
return y(this);
|
|
@@ -3939,7 +4084,7 @@ const ut = class {
|
|
|
3939
4084
|
value: ["onValueChanged"]
|
|
3940
4085
|
};
|
|
3941
4086
|
}
|
|
3942
|
-
},
|
|
4087
|
+
}, he = `:root {
|
|
3943
4088
|
font-optical-sizing: auto;
|
|
3944
4089
|
}
|
|
3945
4090
|
html,
|
|
@@ -11709,16 +11854,16 @@ input[type="range"]::-webkit-slider-thumb {
|
|
|
11709
11854
|
}
|
|
11710
11855
|
}
|
|
11711
11856
|
|
|
11712
|
-
`,
|
|
11857
|
+
`, fe = he, be = class {
|
|
11713
11858
|
constructor(n) {
|
|
11714
|
-
|
|
11859
|
+
m(this, n), this.edsinput = v(this, "edsinput", 7), this.edschange = v(this, "edschange", 7), this.handleNativeInput = (e) => {
|
|
11715
11860
|
var t, r;
|
|
11716
11861
|
if ((t = this.onInput) === null || t === void 0 || t.call(this, e), this.shouldEmitValue()) {
|
|
11717
11862
|
const l = e.target;
|
|
11718
11863
|
let a = l.value;
|
|
11719
11864
|
if (this.type === "checkbox" && ((r = this.parsedOptions) === null || r === void 0 ? void 0 : r.length) > 0) {
|
|
11720
|
-
const
|
|
11721
|
-
a = Array.from(
|
|
11865
|
+
const s = this.hostEl.querySelectorAll(`input[type="checkbox"][name="${this.name}"]`);
|
|
11866
|
+
a = Array.from(s).filter((o) => o.checked).map((o) => o.value);
|
|
11722
11867
|
} else this.type === "checkbox" ? a = l.checked : (this.type, a = l.value);
|
|
11723
11868
|
this.edsinput.emit({ value: a });
|
|
11724
11869
|
}
|
|
@@ -11728,8 +11873,8 @@ input[type="range"]::-webkit-slider-thumb {
|
|
|
11728
11873
|
const l = e.target;
|
|
11729
11874
|
let a = l.value;
|
|
11730
11875
|
if (this.type === "checkbox" && ((r = this.parsedOptions) === null || r === void 0 ? void 0 : r.length) > 0) {
|
|
11731
|
-
const
|
|
11732
|
-
a = Array.from(
|
|
11876
|
+
const s = this.hostEl.querySelectorAll(`input[type="checkbox"][name="${this.name}"]`);
|
|
11877
|
+
a = Array.from(s).filter((o) => o.checked).map((o) => o.value);
|
|
11733
11878
|
} else this.type === "checkbox" ? a = l.checked : (this.type, a = l.value);
|
|
11734
11879
|
this.edschange.emit({ value: a });
|
|
11735
11880
|
}
|
|
@@ -11751,7 +11896,7 @@ input[type="range"]::-webkit-slider-thumb {
|
|
|
11751
11896
|
}
|
|
11752
11897
|
render() {
|
|
11753
11898
|
const n = Object.assign({ name: this.name, id: this.inputId, placeholder: this.placeholder, disabled: this.disabled, onInput: this.handleNativeInput, onChange: this.handleNativeChange, type: this.type, required: this.required, value: this.value, error: this.error, icon: this.icon, checked: this.checked }, this.type === "number" ? { min: this.min, max: this.max, step: this.step } : {});
|
|
11754
|
-
return i("div", { key: "
|
|
11899
|
+
return i("div", { key: "8351609cb76699040d692f3a99746970a1498bea" }, this.type === "checkbox" || this.type === "radio" ? this.parsedOptions.length > 0 ? i("fieldset", { class: "space-y-4" }, i("div", { class: "flex justify-between mb-4" }, this.label && i("eds-input-label", { name: this.inputId || this.name, label: this.label, required: this.required }), this.hint && i("p", { id: `${this.name}-hint`, class: "f-ui-05 text-lighter mt-8 ml-8" }, this.hint)), this.parsedOptions.map((e) => i("div", { class: "flex items-center gap-x-4 gap-y-4", key: e.value }, i("eds-input", Object.assign({}, n, { value: e.value, checked: typeof this.value == "string" && this.value.split(",").includes(String(e.value)) })), i("label", { htmlFor: this.name, class: `input-label-options ${this.disabled ? "text-lighter" : ""}` }, e.label)))) : i("div", { class: "flex items-center gap-x-8" }, i("eds-input", Object.assign({}, n, { value: this.value, checked: this.value === "on" || this.checked })), this.label && i("eds-input-label", { name: this.inputId || this.name, label: this.label, disabled: this.disabled, required: this.required })) : i("div", null, i("div", { class: "flex justify-between mb-4" }, this.label && i("eds-input-label", { name: this.inputId || this.name, label: this.label, disabled: this.disabled, required: this.required }), this.hint && i("p", { id: `${this.name}-hint`, class: "f-ui-05 text-lighter mt-8 ml-8" }, this.hint)), this.type === "select" ? i("eds-input-select", Object.assign({}, n, { options: this.parsedOptions })) : this.type === "file" ? i("input", { type: "file", id: this.inputId || this.name, name: this.name, onChange: this.onChangeNative, disabled: this.disabled, required: this.required }) : this.type === "search" ? i("eds-input-search", { name: "search-box" }) : this.type === "range" ? (() => {
|
|
11755
11900
|
var e, t, r;
|
|
11756
11901
|
const l = {
|
|
11757
11902
|
name: n.name,
|
|
@@ -11760,9 +11905,9 @@ input[type="range"]::-webkit-slider-thumb {
|
|
|
11760
11905
|
required: n.required,
|
|
11761
11906
|
onInput: n.onInput,
|
|
11762
11907
|
onChange: n.onChange
|
|
11763
|
-
}, a = this.parsedOptions,
|
|
11764
|
-
return i("eds-input-range", Object.assign({}, l, { min: (e = a[0]) === null || e === void 0 ? void 0 : e.value, max: (t = a[1]) === null || t === void 0 ? void 0 : t.value, step: (r = a[2]) === null || r === void 0 ? void 0 : r.value, value:
|
|
11765
|
-
})() : i("eds-input", Object.assign({}, n))), i("div", { key: "
|
|
11908
|
+
}, a = this.parsedOptions, s = typeof this.value == "string" ? parseFloat(this.value) : this.value || 0;
|
|
11909
|
+
return i("eds-input-range", Object.assign({}, l, { min: (e = a[0]) === null || e === void 0 ? void 0 : e.value, max: (t = a[1]) === null || t === void 0 ? void 0 : t.value, step: (r = a[2]) === null || r === void 0 ? void 0 : r.value, value: s }));
|
|
11910
|
+
})() : i("eds-input", Object.assign({}, n))), i("div", { key: "171ca8dfbf4b30a62a05d00f5296b1aaa3d964bd", class: "mt-6" }, i("eds-input-footer", { key: "c6b7d0a9dc574a5e0dba1e62ff77934e96b4dec1", id: `${this.name}-footer`, name: this.name, message: this.message, "error-message": this.errorMessage, error: this.error, link: this.link })));
|
|
11766
11911
|
}
|
|
11767
11912
|
static get delegatesFocus() {
|
|
11768
11913
|
return !0;
|
|
@@ -11771,28 +11916,28 @@ input[type="range"]::-webkit-slider-thumb {
|
|
|
11771
11916
|
return y(this);
|
|
11772
11917
|
}
|
|
11773
11918
|
};
|
|
11774
|
-
|
|
11775
|
-
const
|
|
11919
|
+
be.style = fe;
|
|
11920
|
+
const pe = "p{margin:0}.text-error{color:var(--red-700)}.flex{display:flex}.items-center{align-items:center}.f-ui-04{font-family:var(--f-ui-04-fontFamily);font-weight:var(--f-ui-04-fontWeight);font-size:var(--f-ui-04-fontSize);line-height:var(--f-ui-04-lineHeight);letter-spacing:var(--f-ui-04-letterSpacing)}.ml-4{margin-left:0.25rem}.mb-4{margin-bottom:0.25rem}.f-ui-05{font-family:var(--f-ui-05-fontFamily);font-weight:var(--f-ui-05-fontWeight);font-size:var(--f-ui-05-fontSize);line-height:var(--f-ui-05-lineHeight);letter-spacing:var(--f-ui-05-letterSpacing)}.text-lighter{color:var(--grey-600)}.effect-color{transition-property:color, background-color, border-color, text-decoration-color, fill, stroke;transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);transition-duration:300ms;transition-timing-function:cubic-bezier(0, 0, 0.2, 1)}.hover\\:text-lighter:hover{color:var(--grey-600)}.underline{text-decoration-line:underline}.underline-offset-4{text-underline-offset:4px}", ue = pe, me = class {
|
|
11776
11921
|
constructor(n) {
|
|
11777
|
-
|
|
11922
|
+
m(this, n), this.name = void 0, this.errorMessage = void 0, this.message = void 0, this.error = !1, this.link = void 0;
|
|
11778
11923
|
}
|
|
11779
11924
|
render() {
|
|
11780
|
-
return i("div", { key: "
|
|
11925
|
+
return i("div", { key: "4c3c1cc26e2b003f49b3cfd1c2388833c305781b" }, this.error && this.errorMessage && i("div", { key: "7e14e3a77c99ee2700fd0cd8cb1e738c11e34823", id: `error_${this.name}`, class: "text-error flex items-center" }, i("eds-icon-wrapper", { key: "700bc9b58a15e985903fc91abe4e41847d1cf761", icon: "warning" }), i("p", { key: "a90a0fb49221c15125a54a0413a926174c065319", class: "f-ui-04 ml-4 mb-4", innerHTML: this.errorMessage })), this.message && i("p", { key: "24d7c4fb5de1bb54237282edf6e51a16f0475474", id: `desc_${this.name}`, class: "f-ui-05 text-lighter", innerHTML: this.message }), this.link && i("a", { key: "2f01a63b36409dfddd19416777f88008f358b1cb", href: this.link.url, class: "f-ui-05 effect-color hover:text-lighter underline underline-offset-4" }, this.link.label));
|
|
11781
11926
|
}
|
|
11782
11927
|
};
|
|
11783
|
-
|
|
11784
|
-
const
|
|
11928
|
+
me.style = ue;
|
|
11929
|
+
const xe = ".input-label{font-family:var(--f-ui-02-fontFamily);font-weight:var(--f-ui-02-fontWeight);font-size:var(--f-ui-02-fontSize);line-height:var(--f-ui-02-lineHeight);letter-spacing:var(--f-ui-02-letterSpacing)}.input-label b,.input-label strong{font-weight:var(--f-ui-02---bold-weight, bold)}.text-lighter{color:var(--grey-600)}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0, 0, 0, 0);white-space:nowrap;border-width:0}", ye = xe, ve = class {
|
|
11785
11930
|
constructor(n) {
|
|
11786
|
-
|
|
11931
|
+
m(this, n), this.label = void 0, this.name = void 0, this.required = !1, this.disabled = !1;
|
|
11787
11932
|
}
|
|
11788
11933
|
render() {
|
|
11789
|
-
return i("label", { key: "
|
|
11934
|
+
return i("label", { key: "51cf53579cea9effbf421c4f4ab45ef63f6770bf", htmlFor: this.name, class: `input-label ${this.disabled ? "text-lighter" : ""}` }, this.label, this.required && i("span", { key: "381c4e1e014d43f726e997767c76565a1979e54a" }, i("span", { key: "08102ef7990f262bf56b6f5bcf70e2ef6ecb0670", "aria-hidden": "true" }, "*"), i("span", { key: "6d3c6f3af5a06c5a1ee2245240cb3fbbef6cf9a8", class: "sr-only" }, "required")));
|
|
11790
11935
|
}
|
|
11791
11936
|
};
|
|
11792
|
-
|
|
11793
|
-
const
|
|
11937
|
+
ve.style = ye;
|
|
11938
|
+
const zt = class {
|
|
11794
11939
|
constructor(n) {
|
|
11795
|
-
|
|
11940
|
+
m(this, n), this.edsrange = v(this, "edsrange", 7), this.onInput = (e) => {
|
|
11796
11941
|
const t = e.target;
|
|
11797
11942
|
this.sliderVal = parseInt(t.value, 10);
|
|
11798
11943
|
}, this.onChange = (e) => {
|
|
@@ -11814,7 +11959,7 @@ const xt = class {
|
|
|
11814
11959
|
return this.inputElement;
|
|
11815
11960
|
}
|
|
11816
11961
|
render() {
|
|
11817
|
-
return i("div", { key: "
|
|
11962
|
+
return i("div", { key: "c4ce20af554533837b8fc3f7bf69bd649e26b574", class: "relative flex flex-col items-start" }, i("input", { key: "924b247fd81481e648bbf44fec22185284014254", id: this.inputId || this.name, name: this.name, min: this.min, max: this.max, step: this.step, value: this.sliderVal, required: this.required, disabled: this.disabled, type: "range", class: "w-full py-6 input", tabindex: "0", role: "slider", "aria-describedby": `desc_${this.name}`, "aria-valuemin": this.min, "aria-valuemax": this.max, "aria-valuenow": this.sliderVal, onInput: this.onInput, onChange: this.onChange }), i("p", { key: "a3acfa464938748480e259cac4376a2be3512e6e", id: `desc_${this.name}`, class: "block f-ui-05 mt-4 text-lighter" }, "Current value: ", this.sliderVal));
|
|
11818
11963
|
}
|
|
11819
11964
|
get el() {
|
|
11820
11965
|
return y(this);
|
|
@@ -11824,15 +11969,15 @@ const xt = class {
|
|
|
11824
11969
|
value: ["onValueChange"]
|
|
11825
11970
|
};
|
|
11826
11971
|
}
|
|
11827
|
-
},
|
|
11972
|
+
}, Ft = class {
|
|
11828
11973
|
constructor(n) {
|
|
11829
|
-
|
|
11974
|
+
m(this, n), this.search = v(this, "search", 7), this.keydownListener = (e) => {
|
|
11830
11975
|
(e.metaKey || e.ctrlKey) && e.key.toLowerCase() === "k" && (e.preventDefault(), this.inputElement && !this.disabled && this.inputElement.focus());
|
|
11831
11976
|
}, this.onChange = (e) => {
|
|
11832
11977
|
this.search.emit({
|
|
11833
11978
|
event: "change",
|
|
11834
11979
|
value: e.target.value
|
|
11835
|
-
}),
|
|
11980
|
+
}), I({
|
|
11836
11981
|
category: "ui-component",
|
|
11837
11982
|
parentContext: null,
|
|
11838
11983
|
tag: this.el.tagName.toLowerCase(),
|
|
@@ -11851,8 +11996,8 @@ const xt = class {
|
|
|
11851
11996
|
return this.inputElement;
|
|
11852
11997
|
}
|
|
11853
11998
|
render() {
|
|
11854
|
-
return i("div", { key: "
|
|
11855
|
-
key: "
|
|
11999
|
+
return i("div", { key: "b1232c04e55c9f0bd7b864271ca855a3de242a73", class: "relative flex items-center" }, i("eds-icon-wrapper", { key: "67e51a49b994fc00cb48f2b55f54217097f4d837", icon: "search", class: "absolute top-1/2 left-[4px] -translate-y-1/2 text-lightest", "aria-hidden": "true" }), i("input", {
|
|
12000
|
+
key: "a6526f68a35145631254e4a0380a1298242c592e",
|
|
11856
12001
|
id: this.inputId || this.name,
|
|
11857
12002
|
name: this.name,
|
|
11858
12003
|
placeholder: this.placeholder,
|
|
@@ -11869,23 +12014,23 @@ const xt = class {
|
|
|
11869
12014
|
get el() {
|
|
11870
12015
|
return y(this);
|
|
11871
12016
|
}
|
|
11872
|
-
},
|
|
12017
|
+
}, At = class {
|
|
11873
12018
|
constructor(n) {
|
|
11874
|
-
|
|
12019
|
+
m(this, n), this.edsselect = v(this, "edsselect", 7), this.handleChange = (e) => {
|
|
11875
12020
|
const t = e.target;
|
|
11876
12021
|
this.edsselect.emit(t.value);
|
|
11877
12022
|
}, this.inputId = void 0, this.name = void 0, this.placeholder = void 0, this.disabled = !1, this.hasMessage = !1, this.error = !1, this.required = !1, this.options = [], this.value = void 0;
|
|
11878
12023
|
}
|
|
11879
12024
|
render() {
|
|
11880
12025
|
const n = this.inputId || this.name, e = this.placeholder || "Pick from the list", t = this.hasMessage || this.error ? `${this.name}-error` : void 0;
|
|
11881
|
-
return i("div", { key: "
|
|
12026
|
+
return i("div", { key: "b28b21c38ed5848cf08c0bc626f4ce32eddfb775", class: "relative" }, i("select", { key: "727f578d43cf12568d3d3b35548a30972fc46300", id: n, name: this.name, class: {
|
|
11882
12027
|
input: !0,
|
|
11883
12028
|
"input-error": this.error,
|
|
11884
12029
|
"px-4": !0,
|
|
11885
12030
|
"py-2": !0
|
|
11886
|
-
}, "aria-invalid": this.error ? "true" : "false", "aria-describedby": t, disabled: this.disabled, required: this.required, onChange: this.handleChange }, i("option", { key: "
|
|
12031
|
+
}, "aria-invalid": this.error ? "true" : "false", "aria-describedby": t, disabled: this.disabled, required: this.required, onChange: this.handleChange }, i("option", { key: "9283f69f3c723d65243d8f38b92ee2fcd16d187e", value: "", disabled: !0, hidden: !0 }, e), this.options.map((r, l) => i("option", { key: l, value: r.value, selected: r.value === this.value }, r.label))), i("span", { key: "63a0a9fc049f10141697028195aa28abb8d246f2", class: "bg-dark rounded-xs absolute top-1/2 right-[6px] flex h-28 w-28 -translate-y-1/2 items-center justify-center" }, i("eds-icon-wrapper", { key: "aa756ea1d279a03ca7919518a15cd63b368a20a0", class: "w-20 h-20", icon: "chevron-right" })));
|
|
11887
12032
|
}
|
|
11888
|
-
},
|
|
12033
|
+
}, we = `*,
|
|
11889
12034
|
::before,
|
|
11890
12035
|
::after {
|
|
11891
12036
|
box-sizing: border-box;
|
|
@@ -13122,7 +13267,7 @@ Make sure disabled buttons don't get the pointer cursor.
|
|
|
13122
13267
|
.lg\\:flex {
|
|
13123
13268
|
display: flex;
|
|
13124
13269
|
}
|
|
13125
|
-
}`,
|
|
13270
|
+
}`, ke = we, Se = P([
|
|
13126
13271
|
"relative inline-flex justify-center items-center py-8 rounded-sm",
|
|
13127
13272
|
"effect-color effect-focus aria-disabled:text-lightest",
|
|
13128
13273
|
"cursor-pointer",
|
|
@@ -13247,9 +13392,9 @@ Make sure disabled buttons don't get the pointer cursor.
|
|
|
13247
13392
|
size: "small",
|
|
13248
13393
|
hasIcon: !1
|
|
13249
13394
|
}
|
|
13250
|
-
}),
|
|
13395
|
+
}), Ce = class {
|
|
13251
13396
|
constructor(n) {
|
|
13252
|
-
|
|
13397
|
+
m(this, n), this.parentContext = null, this.label = void 0, this.intent = void 0, this.icon = void 0, this.iconPos = "right", this.iconSmall = !1, this.size = "small", this.external = !1, this.current = !1, this.download = !1, this.url = void 0, this.ariaLabel = void 0, this.disabled = !1, this.hideLabelOnSmallScreen = !1, this.extraClass = void 0;
|
|
13253
13398
|
}
|
|
13254
13399
|
handleParentContext(n) {
|
|
13255
13400
|
n.target === this.el && (this.parentContext = n.detail, n.stopPropagation());
|
|
@@ -13260,7 +13405,7 @@ Make sure disabled buttons don't get the pointer cursor.
|
|
|
13260
13405
|
n.preventDefault();
|
|
13261
13406
|
return;
|
|
13262
13407
|
}
|
|
13263
|
-
|
|
13408
|
+
I({
|
|
13264
13409
|
category: "ui-component",
|
|
13265
13410
|
parentContext: this.parentContext,
|
|
13266
13411
|
tag: this.el.tagName.toLowerCase(),
|
|
@@ -13287,23 +13432,23 @@ Make sure disabled buttons don't get the pointer cursor.
|
|
|
13287
13432
|
`, icon: this.icon })) : null;
|
|
13288
13433
|
}
|
|
13289
13434
|
render() {
|
|
13290
|
-
const n =
|
|
13435
|
+
const n = Se({
|
|
13291
13436
|
intent: this.intent,
|
|
13292
13437
|
size: this.getLinkSize(),
|
|
13293
13438
|
iconSmall: this.iconSmall,
|
|
13294
13439
|
isActive: this.current,
|
|
13295
13440
|
hasIcon: !!this.icon
|
|
13296
13441
|
}), e = !this.disabled, t = !this.label || this.hideLabelOnSmallScreen && this.icon, r = this.hideLabelOnSmallScreen ? "hidden lg:flex" : "";
|
|
13297
|
-
return i("a", { key: "
|
|
13442
|
+
return i("a", { key: "c09fd68443e1c98a1bfb679b669f9fecfb349548", class: `${n || ""} ${this.extraClass || ""}`, href: e ? this.url : void 0, target: this.external && e ? "_blank" : void 0, rel: this.external && e ? "noopener noreferrer" : void 0, tabIndex: e ? 0 : -1, "aria-label": t ? this.ariaLabel || "Link" : void 0, "aria-disabled": this.disabled ? "true" : void 0, "aria-current": this.current ? "page" : void 0, role: this.disabled ? "link" : void 0, download: this.download ? "" : void 0, onClick: (l) => this.handleClick(l), onKeyDown: (l) => this.handleKeyDown(l) }, i("span", { key: "5bf88be39965ca8693daa611b4ca9a85cefb30d3", class: "z-1 relative inline-flex items-center justify-center" }, this.renderLeftIcon(), this.label && i("span", { key: "d92b36812200d809cbccfd9da7f2387a7de80699", class: r }, this.label), this.renderRightIcon()));
|
|
13298
13443
|
}
|
|
13299
13444
|
get el() {
|
|
13300
13445
|
return y(this);
|
|
13301
13446
|
}
|
|
13302
13447
|
};
|
|
13303
|
-
|
|
13304
|
-
const
|
|
13448
|
+
Ce.style = ke;
|
|
13449
|
+
const Ee = ".w-\\[130px\\]{width:130px}.mr-auto{margin-right:auto}.text-current{color:currentColor}.text-default{color:var(--black)}.text-inverse{color:var(--white)}.h-full{height:100%}.w-full{width:100%}.flex{display:flex}.inline-flex{display:inline-flex}.items-center{align-items:center}.justify-center{justify-content:center}.justify-between{justify-content:space-between}@media (min-width: 900px){.lg\\:w-\\[150px\\]{width:150px}}", ze = Ee, Fe = class {
|
|
13305
13450
|
constructor(n) {
|
|
13306
|
-
|
|
13451
|
+
m(this, n), this.href = "/", this.orientation = "horizontal", this.type = void 0, this.label = "Home";
|
|
13307
13452
|
}
|
|
13308
13453
|
/**
|
|
13309
13454
|
* Handles the click event on the logo link.
|
|
@@ -13314,7 +13459,7 @@ const ke = ".w-\\[130px\\]{width:130px}.mr-auto{margin-right:auto}.text-current{
|
|
|
13314
13459
|
* - `action`: The action, set as "click".
|
|
13315
13460
|
*/
|
|
13316
13461
|
handleClick() {
|
|
13317
|
-
|
|
13462
|
+
I({
|
|
13318
13463
|
category: "ui-component",
|
|
13319
13464
|
tag: this.el.tagName.toLowerCase(),
|
|
13320
13465
|
name: "logo",
|
|
@@ -13329,12 +13474,12 @@ const ke = ".w-\\[130px\\]{width:130px}.mr-auto{margin-right:auto}.text-current{
|
|
|
13329
13474
|
horizontal: {
|
|
13330
13475
|
color: tn,
|
|
13331
13476
|
black: bn,
|
|
13332
|
-
"color-white":
|
|
13477
|
+
"color-white": pn,
|
|
13333
13478
|
white: un,
|
|
13334
|
-
"no-bg":
|
|
13479
|
+
"no-bg": mn
|
|
13335
13480
|
},
|
|
13336
13481
|
vertical: {
|
|
13337
|
-
color:
|
|
13482
|
+
color: xn,
|
|
13338
13483
|
black: yn,
|
|
13339
13484
|
"color-white": vn,
|
|
13340
13485
|
white: wn,
|
|
@@ -13348,16 +13493,16 @@ const ke = ".w-\\[130px\\]{width:130px}.mr-auto{margin-right:auto}.text-current{
|
|
|
13348
13493
|
}
|
|
13349
13494
|
render() {
|
|
13350
13495
|
const n = this.getLogo();
|
|
13351
|
-
return i("a", { key: "
|
|
13496
|
+
return i("a", { key: "550cb4d73702a6a7053adfb5ebe67ff4201e98ad", href: this.href, onClick: () => this.handleClick(), class: "eds-logo-wrapper", "aria-label": this.label }, i("div", { key: "141b0faa05a2d51d3ca97242aa910e53e910ad9d", innerHTML: n }));
|
|
13352
13497
|
}
|
|
13353
13498
|
get el() {
|
|
13354
13499
|
return y(this);
|
|
13355
13500
|
}
|
|
13356
13501
|
};
|
|
13357
|
-
|
|
13358
|
-
const
|
|
13502
|
+
Fe.style = ze;
|
|
13503
|
+
const Ae = ".fixed{position:fixed}.absolute{position:absolute}.w-full{width:100%}.bottom-0{bottom:0rem}.bottom-4{bottom:0.25rem}.p-4{padding:0.25rem}.p-6{padding:0.375rem}.p-8{padding:0.5rem}.z-10{z-index:10}.z-\\[999999\\]{z-index:999999}.left-0{left:0rem}.left-1\\/2{left:50%}.grow{flex-grow:1}.-translate-x-1\\/2{--tw-translate-x:-50%;transform:translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.-translate-y-1\\/2{--tw-translate-y:-50%;transform:translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.items-center{align-items:center}.justify-center{justify-content:center}.justify-between{justify-content:space-between}.flex{display:flex}.gap-12{gap:0.75rem}.gap-20{gap:1.25rem}.gap-4{gap:0.25rem}@media (min-width: 750px){.md\\:left-1\\/2{left:50%}.md\\:flex{display:flex}.md\\:hidden{display:none}.md\\:-translate-x-1\\/2{--tw-translate-x:-50%;transform:translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.md\\:-translate-y-1\\/2{--tw-translate-y:-50%;transform:translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}}", Ie = Ae, Le = class {
|
|
13359
13504
|
constructor(n) {
|
|
13360
|
-
|
|
13505
|
+
m(this, n), this.consent = v(this, "consent", 7), this.heading = "Analytics Consent", this.description = "We use anonymous analytics to improve our services. No data is collected unless you give your consent. If you don't wish to send data right now, you can always re-enable analytics later by clicking the Cookies Preference button in the footer. However, by opting in today, you're joining a community that shapes our product's future—all while keeping your data completely anonymous.", this.optOutMessage = "You are already part of our community, and your anonymous data helps shape our product's future! Rest assured, your privacy is fully protected.", this.forceShow = !1, this.showNotice = !0;
|
|
13361
13506
|
}
|
|
13362
13507
|
/**
|
|
13363
13508
|
* Listens for global custom events to open the matomo-consent.
|
|
@@ -13441,10 +13586,10 @@ const Ee = ".fixed{position:fixed}.absolute{position:absolute}.w-full{width:100%
|
|
|
13441
13586
|
return y(this);
|
|
13442
13587
|
}
|
|
13443
13588
|
};
|
|
13444
|
-
|
|
13445
|
-
const
|
|
13589
|
+
Le.style = Ie;
|
|
13590
|
+
const _e = '.flex{display:flex}.justify-between{justify-content:space-between}.mt-4{margin-top:0.25rem}.mt-8{margin-top:0.5rem}.ml-4{margin-left:0.25rem}.mr-4{margin-right:0.25rem}.grid{display:grid}.grid-col-span-1{--container-grid-columns:1;grid-column:span 1 / span 1}.grid-cols-11{grid-template-columns:repeat(11, minmax(0, 1fr))}.grid-cols-11[class*="grid-line-x"][class*="grid-line-x"]>*:nth-child(n)::before{border-bottom-width:1px}.grid-cols-11[class*="grid-line-xfull"]>*:nth-child(n)::before{inset-inline-start:calc(var(--inner-gutter) / -2);inset-inline-end:calc(var(--inner-gutter) / -2)}.grid-cols-11[class*="grid-line-x"]>*:nth-child(11n+1)::before{inset-inline-start:0}.grid-cols-11[class*="grid-line-x"]>*:nth-child(11n+11)::before{inset-inline-end:0}.grid-cols-11[class*="grid-line-x"]>*:nth-child(11n+1):nth-last-child(-n+11)::before{border-bottom-width:0}.grid-cols-11[class*="grid-line-x"]>*:nth-child(11n+1):nth-last-child(-n+11)~*::before{border-bottom-width:0}.grid-cols-11[class*="grid-line-y"][class*="grid-line-y"]>*:nth-child(n)::after{border-inline-end-width:1px}.grid-cols-11[class*="grid-line-y"][class*="grid-line-y"]>*:nth-child(11n+11)::after{border-inline-end-width:0}.grid-cols-11[class*="grid-line-y"][class*="grid-line-y"]>*:nth-child(-n+11)::after{top:0}.grid-cols-11[class*="grid-line-y"][class*="grid-line-y"]>*:nth-child(11n+1):nth-last-child(-n+11)::after{bottom:0}.grid-cols-11[class*="grid-line-y"][class*="grid-line-y"]>*:nth-child(11n+1):nth-last-child(-n+11)~li::after{bottom:0}.f-ui-04{font-family:var(--f-ui-04-fontFamily);font-weight:var(--f-ui-04-fontWeight);font-size:var(--f-ui-04-fontSize);line-height:var(--f-ui-04-lineHeight);letter-spacing:var(--f-ui-04-letterSpacing)}.text-light{color:var(--grey-700)}', Te = _e, De = class {
|
|
13446
13591
|
constructor(n) {
|
|
13447
|
-
|
|
13592
|
+
m(this, n), this.nps = v(this, "nps", 7), this.min = 0, this.max = 10, this.question = void 0, this.leftLabel = void 0, this.rightLabel = void 0, this.selectedValue = null;
|
|
13448
13593
|
}
|
|
13449
13594
|
handleClick(n) {
|
|
13450
13595
|
this.selectedValue = n, this.nps.emit(n);
|
|
@@ -13485,20 +13630,20 @@ const Ae = '.flex{display:flex}.justify-between{justify-content:space-between}.m
|
|
|
13485
13630
|
this.handleClick(r), t.focus();
|
|
13486
13631
|
}
|
|
13487
13632
|
render() {
|
|
13488
|
-
const n = this.max - this.min + 1
|
|
13489
|
-
return i("div", { key: "
|
|
13490
|
-
const
|
|
13491
|
-
return i("div", { class: "grid-col-span-1", key:
|
|
13492
|
-
})), i("div", { key: "
|
|
13633
|
+
const n = this.max - this.min + 1;
|
|
13634
|
+
return i("div", { key: "51e0d272693fd42d1f239f8498d9a5744dead8d7", class: "eds-nps" }, i("eds-input-label", { key: "f9d3b65985e221f9608da3aba22cc1dc4dd54417", id: "nps-question", name: "nps-question", label: this.question }), i("div", { key: "00b22eff70fd1dd3d210e17aaef5df2057f99bb7", role: "group", id: "nps-buttons", "aria-labelledby": "nps-question", class: "grid grid-cols-11", onKeyDown: (e) => this.handleKeyNav(e) }, Array.from({ length: n }, (e, t) => {
|
|
13635
|
+
const r = this.min + t, l = r === this.selectedValue;
|
|
13636
|
+
return i("div", { class: "grid-col-span-1", key: r }, i("eds-button", { tabindex: l ? 0 : -1, label: `${r}`, "aria-label": `${r}`, intent: l ? "primary" : "ghost", "extra-class": "!block !px-0 w-full", triggerClick: () => this.handleClick(r) }));
|
|
13637
|
+
})), i("div", { key: "7289bd6476a2080be3c02011240e2493b84079e5", class: "flex justify-between mt-8" }, i("span", { key: "ebfcebd9aa3d11cf298e44987debd8edef1f6e40", class: "f-ui-04 text-light ml-4" }, this.leftLabel), i("span", { key: "002f9878b267439af9f83f9ffd1b52eaef46b929", class: "f-ui-04 text-light mr-4" }, this.rightLabel)));
|
|
13493
13638
|
}
|
|
13494
13639
|
get el() {
|
|
13495
13640
|
return y(this);
|
|
13496
13641
|
}
|
|
13497
13642
|
};
|
|
13498
|
-
|
|
13499
|
-
const
|
|
13643
|
+
De.style = Te;
|
|
13644
|
+
const $e = "ul,menu{list-style:none;margin:0;padding:0}.f-ui-03{font-family:var(--f-ui-03-fontFamily);font-weight:var(--f-ui-03-fontWeight);font-size:var(--f-ui-03-fontSize);line-height:var(--f-ui-03-lineHeight);letter-spacing:var(--f-ui-03-letterSpacing)}.f-ui-03-light{font-family:var(--f-ui-03-light-fontFamily);font-weight:var(--f-ui-03-light-fontWeight);font-size:var(--f-ui-03-light-fontSize);line-height:var(--f-ui-03-light-lineHeight);letter-spacing:var(--f-ui-03-light-letterSpacing)}.f-ui-02{font-family:var(--f-ui-02-fontFamily);font-weight:var(--f-ui-02-fontWeight);font-size:var(--f-ui-02-fontSize);line-height:var(--f-ui-02-lineHeight);letter-spacing:var(--f-ui-02-letterSpacing)}.f-ui-02-light{font-family:var(--f-ui-02-light-fontFamily);font-weight:var(--f-ui-02-light-fontWeight);font-size:var(--f-ui-02-light-fontSize);line-height:var(--f-ui-02-light-lineHeight);letter-spacing:var(--f-ui-02-light-letterSpacing)}.text-light{color:var(--grey-700)}.text-lightest{color:var(--grey-500)}.mb-28{margin-bottom:1.75rem}.w-full{width:100%}.w-20{width:1.25rem}.h-20{height:1.25rem}.h-28{height:1.75rem}.h-32{height:2rem}.h-36{height:2.25rem}.text-center{text-align:center}.flex{display:flex}.inline-flex{display:inline-flex}.items-center{align-items:center}.justify-center{justify-content:center}.justify-between{justify-content:space-between}.gap-x-8{-moz-column-gap:0.5rem;column-gap:0.5rem}.mr-auto{margin-right:auto}.ml-auto{margin-left:auto}.\\!p-8{padding:0.5rem !important}.ml-4{margin-left:0.25rem}.mr-4{margin-right:0.25rem}.hidden{display:none}.gap-1{gap:0.0625rem}.py-4{padding-top:0.25rem;padding-bottom:0.25rem}.transition-colors{transition-property:color, background-color, border-color, text-decoration-color, fill, stroke;transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);transition-duration:150ms}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0, 0, 0, 0);white-space:nowrap;border-width:0}@media (min-width: 900px){.lg\\:\\!pr-12{padding-right:0.75rem !important}.lg\\:flex{display:flex}}", Re = $e, Oe = class {
|
|
13500
13645
|
constructor(n) {
|
|
13501
|
-
|
|
13646
|
+
m(this, n), this.handleKeyDown = (e) => {
|
|
13502
13647
|
if (this.mode !== "default" || !this.useButtons)
|
|
13503
13648
|
return;
|
|
13504
13649
|
const t = this.getNavigableItems();
|
|
@@ -13507,8 +13652,8 @@ const _e = "ul,menu{list-style:none;margin:0;padding:0}.f-ui-03{font-family:var(
|
|
|
13507
13652
|
const r = e.key === "ArrowRight" ? 1 : -1;
|
|
13508
13653
|
let l = this.focusedIndex;
|
|
13509
13654
|
if (l === -1) {
|
|
13510
|
-
const
|
|
13511
|
-
l =
|
|
13655
|
+
const s = t.findIndex((o) => o.type === "page" && o.page === this.currentPage);
|
|
13656
|
+
l = s !== -1 ? s : 0;
|
|
13512
13657
|
}
|
|
13513
13658
|
let a = l + r;
|
|
13514
13659
|
a >= t.length ? a = 0 : a < 0 && (a = t.length - 1), this.focusedIndex = a, this.focusPaginationItem(a);
|
|
@@ -13639,7 +13784,7 @@ const _e = "ul,menu{list-style:none;margin:0;padding:0}.f-ui-03{font-family:var(
|
|
|
13639
13784
|
if (this.mode !== "navigator" && (this.useButtons && n.preventDefault(), e !== this.currentPage)) {
|
|
13640
13785
|
this.links = this.links.map((r) => typeof r == "object" ? Object.assign(Object.assign({}, r), { current: parseInt(r.label) === e }) : r);
|
|
13641
13786
|
const t = new CustomEvent("page", {
|
|
13642
|
-
detail: e,
|
|
13787
|
+
detail: { value: e },
|
|
13643
13788
|
bubbles: !0,
|
|
13644
13789
|
composed: !0
|
|
13645
13790
|
});
|
|
@@ -13647,7 +13792,7 @@ const _e = "ul,menu{list-style:none;margin:0;padding:0}.f-ui-03{font-family:var(
|
|
|
13647
13792
|
}
|
|
13648
13793
|
}
|
|
13649
13794
|
render() {
|
|
13650
|
-
return i("div", { key: "
|
|
13795
|
+
return i("div", { key: "bf34cb68555555ef984592b261929cfb5ef93048" }, this.total > 0 && this.mode === "default" && i("p", { key: "47b8034e6fd839151cdaff04d4df43fec520ce40", class: "f-ui-03 text-light mb-28 w-full text-center", "aria-live": "polite", id: "pagination-info" }, i("span", { key: "d9d340393777b7b6e808fa21d38f691f1002b363", class: "text-light sr-only" }, "Results:"), this.pageResults()), this.mode === "navigator" || this.lastPage && this.lastPage > 1 ? i("nav", { "aria-label": "Pagination Navigation", "aria-describedby": this.mode === "default" ? "pagination-info" : void 0, onKeyDown: this.handleKeyDown }, i("ul", { class: "flex items-center justify-center gap-x-8", role: "list" }, i("li", { class: "mr-auto" }, this.useButtons ? i("div", { class: "pagination-button-wrapper", onFocus: () => this.handleItemFocus(-1) }, i("eds-button", { label: this.prevLabel, disabled: this.mode === "navigator" ? !this.prevUrl : this.isFirstPage(), "aria-label": "Go to previous page", icon: "chevron-left", "icon-pos": "left", size: "small", "icon-small": "true", intent: "ghost", "extra-class": "!p-8 lg:!pr-12 pagination-button", onClick: (e) => {
|
|
13651
13796
|
this.mode === "default" && !this.isFirstPage() && this.handlePageClick(e, (this.currentPage || 1) - 1);
|
|
13652
13797
|
} })) : i("eds-link", { label: this.prevLabel, url: this.mode === "navigator" ? this.prevUrl || "#" : this.isFirstPage() ? "#" : this.generateLink(this.currentPage - 1).url, disabled: this.mode === "navigator" ? !this.prevUrl : this.isFirstPage(), "aria-label": "Go to previous page", icon: "chevron-left", "icon-pos": "left", size: "small", "icon-small": "true", intent: "strong", "hide-label-on-small-screen": !0, class: "!p-8 lg:!pr-12" })), this.mode === "default" && this.links.map((e, t) => i("li", { key: t, class: "f-ui-02 flex h-36 items-center justify-center" }, typeof e == "string" ? i("span", { class: "flex items-center justify-center", "aria-hidden": "true" }, e) : this.useButtons ? i("div", { class: "pagination-button-wrapper", onFocus: () => this.handleItemFocus(-1) }, i("eds-button", { label: e.label, "aria-label": e.current ? `Current page, page ${e.label}` : `Go to page ${e.label}`, "aria-current": e.current ? "page" : void 0, size: "small", "extra-class": "!p-8 pagination-button", intent: e.current ? "secondary" : "ghost", onClick: (r) => this.handlePageClick(r, parseInt(e.label)) })) : i("eds-link", { url: e.url, "aria-label": e.ariaLabel, label: e.label, current: e.current, "aria-current": e.current ? "page" : void 0, size: "small", class: "!p-8", intent: e.current ? "secondary" : "ghost", onClick: (r) => this.handlePageClick(r, parseInt(e.label)) }))), i("li", { class: "ml-auto" }, this.useButtons ? i("div", { class: "pagination-button-wrapper", onFocus: () => this.handleItemFocus(-1) }, i("eds-button", { label: this.nextLabel, disabled: this.mode === "navigator" ? !this.nextUrl : this.isLastPage(), "aria-label": "Go to next page", size: "small", "icon-small": "true", icon: "chevron-right", intent: "ghost", "extra-class": "!p-8 lg:!pl-12 pagination-button", onClick: (e) => {
|
|
13653
13798
|
this.mode === "default" && !this.isLastPage() && this.handlePageClick(e, (this.currentPage || 1) + 1);
|
|
@@ -13663,10 +13808,10 @@ const _e = "ul,menu{list-style:none;margin:0;padding:0}.f-ui-03{font-family:var(
|
|
|
13663
13808
|
};
|
|
13664
13809
|
}
|
|
13665
13810
|
};
|
|
13666
|
-
|
|
13667
|
-
const
|
|
13811
|
+
Oe.style = Re;
|
|
13812
|
+
const Ne = ":host{display:inline-block}.block{display:block}.stars{display:flex;gap:0.25rem;cursor:pointer}.star{color:var(--star-empty-color, #ccc);transition:color 0.2s ease-in-out}.star.filled{color:var(--green-500);}.star:hover,.star.filled:hover{transform:scale(1.2)}.flex{display:flex}.inline-flex{display:inline-flex}.flex-col{flex-direction:column}.mt-4{margin-top:0.25rem}.mt-6{margin-top:0.375rem}.mt-8{margin-top:0.5rem}.my-4{margin-top:0.25rem;margin-bottom:0.25rem}.my-8{margin-top:0.5rem;margin-bottom:0.5rem}.my-16{margin-top:1rem;margin-bottom:1rem}.my-20{margin-top:1.25rem;margin-bottom:1.25rem}.space-x-1>:not([hidden])~:not([hidden]){--tw-space-x-reverse:0;margin-right:calc(0.0625rem * var(--tw-space-x-reverse));margin-left:calc(0.0625rem * calc(1 - var(--tw-space-x-reverse)))}", Pe = Ne, He = class {
|
|
13668
13813
|
constructor(n) {
|
|
13669
|
-
|
|
13814
|
+
m(this, n), this.rating = v(this, "rating", 7), this.buttonRefs = [], this.ratingType = "star", this.ratingCount = 5, this.selectedRating = 0;
|
|
13670
13815
|
}
|
|
13671
13816
|
/**
|
|
13672
13817
|
* Lifecycle method that runs when the component has fully loaded.
|
|
@@ -13712,13 +13857,11 @@ const Oe = ":host{display:inline-block}.block{display:block}.stars{display:flex;
|
|
|
13712
13857
|
r > this.ratingCount && (r = 1), r < 1 && (r = this.ratingCount), this.onSelect(r);
|
|
13713
13858
|
}
|
|
13714
13859
|
render() {
|
|
13715
|
-
return i("div", { key: "
|
|
13860
|
+
return i("div", { key: "764b3b37545e97f028423fd5760b882e6151f767", id: "rating-buttons", role: "group", "aria-labelledby": "rating", class: "stars flex space-x-1 my-8", onKeyDown: (n) => this.handleKeyNav(n) }, Array.from({ length: this.ratingCount }, (n, e) => {
|
|
13716
13861
|
const t = e + 1, r = t <= this.selectedRating, l = this.selectedRating === t;
|
|
13717
13862
|
return i("eds-button", {
|
|
13718
13863
|
ref: (a) => this.buttonRefs[e] = a,
|
|
13719
13864
|
icon: this.ratingType,
|
|
13720
|
-
role: "radio",
|
|
13721
|
-
"aria-checked": l,
|
|
13722
13865
|
"aria-label": `${t} ${this.ratingType}${t > 1 ? "s" : ""}`,
|
|
13723
13866
|
onClick: () => this.onSelect(t),
|
|
13724
13867
|
tabIndex: l || this.selectedRating === 0 && e === 0 ? 0 : -1,
|
|
@@ -13733,43 +13876,108 @@ const Oe = ":host{display:inline-block}.block{display:block}.stars{display:flex;
|
|
|
13733
13876
|
return y(this);
|
|
13734
13877
|
}
|
|
13735
13878
|
};
|
|
13736
|
-
|
|
13737
|
-
const
|
|
13879
|
+
He.style = Pe;
|
|
13880
|
+
const je = ":host{display:block}.spinner{box-sizing:border-box;border-radius:50%;animation:spin 1s linear infinite}@keyframes spin{to{transform:rotate(360deg)}}.f-body-01{font-family:var(--f-body-01-fontFamily);font-weight:var(--f-body-01-fontWeight);font-size:var(--f-body-01-fontSize);line-height:var(--f-body-01-lineHeight);letter-spacing:var(--f-body-01-letterSpacing)}", We = je, Be = class {
|
|
13738
13881
|
constructor(n) {
|
|
13739
|
-
|
|
13740
|
-
|
|
13882
|
+
m(this, n), this.size = "md", this.variant = "secondary", this.message = void 0, this.background = "var(--grey-200)", this.fullscreen = !1;
|
|
13883
|
+
}
|
|
13884
|
+
get spinnerSize() {
|
|
13885
|
+
switch (this.size) {
|
|
13886
|
+
case "xs":
|
|
13887
|
+
return "1rem";
|
|
13888
|
+
case "sm":
|
|
13889
|
+
return "4rem";
|
|
13890
|
+
case "lg":
|
|
13891
|
+
return "8rem";
|
|
13892
|
+
case "xl":
|
|
13893
|
+
return "10rem";
|
|
13894
|
+
case "md":
|
|
13895
|
+
default:
|
|
13896
|
+
return "6rem";
|
|
13897
|
+
}
|
|
13898
|
+
}
|
|
13899
|
+
get spinnerThickness() {
|
|
13900
|
+
switch (this.size) {
|
|
13901
|
+
case "xs":
|
|
13902
|
+
return "4px";
|
|
13903
|
+
case "sm":
|
|
13904
|
+
return "8px";
|
|
13905
|
+
case "lg":
|
|
13906
|
+
return "16px";
|
|
13907
|
+
case "xl":
|
|
13908
|
+
return "20px";
|
|
13909
|
+
case "md":
|
|
13910
|
+
default:
|
|
13911
|
+
return "12px";
|
|
13912
|
+
}
|
|
13913
|
+
}
|
|
13914
|
+
render() {
|
|
13915
|
+
const n = this.variant === "primary" ? "var(--grey-900)" : "var(--grey-400)", e = this.variant === "primary" ? "var(--green-400)" : "var(--grey-900)", t = Object.assign({ width: this.spinnerSize, height: this.spinnerSize, border: `${this.spinnerThickness} solid ${n}`, borderBottomColor: e }, !this.fullscreen && { display: "inline-block" }), r = this.fullscreen ? {
|
|
13916
|
+
position: "fixed",
|
|
13917
|
+
top: "0",
|
|
13918
|
+
left: "0",
|
|
13919
|
+
width: "100vw",
|
|
13920
|
+
height: "100vh",
|
|
13921
|
+
zIndex: "9999999",
|
|
13922
|
+
backgroundColor: this.background,
|
|
13923
|
+
display: "flex",
|
|
13924
|
+
flexDirection: "column",
|
|
13925
|
+
alignItems: "center",
|
|
13926
|
+
justifyContent: "center"
|
|
13927
|
+
} : {
|
|
13928
|
+
position: "absolute",
|
|
13929
|
+
top: "0",
|
|
13930
|
+
left: "0",
|
|
13931
|
+
width: "100%",
|
|
13932
|
+
height: "100%",
|
|
13933
|
+
//zIndex: '1000',
|
|
13934
|
+
backgroundColor: this.background,
|
|
13935
|
+
display: "flex",
|
|
13936
|
+
flexDirection: "column",
|
|
13937
|
+
alignItems: "center",
|
|
13938
|
+
justifyContent: "center"
|
|
13939
|
+
};
|
|
13940
|
+
return i(ln, { key: "dbf06a1430e3a69314ec016937a9b3ba89229353" }, i("div", { key: "12a51b0eed154fd2c6b6ae4ce586630a8f61164a", class: "spinner-overlay", style: r }, i("span", { key: "0e63b80c45efec7b226b5f4277fe00e4f7bc4f1b", class: "spinner", style: t }), this.message && i("p", { key: "8625d4589ec26c9513d1dc7a53fa17b9874fcf3c", class: "f-body-01" }, this.message)));
|
|
13941
|
+
}
|
|
13942
|
+
};
|
|
13943
|
+
Be.style = We;
|
|
13944
|
+
const qe = ".steps{position:sticky;margin-left:16px;margin-bottom:12px;border-left:1px solid var(--soft-color, #ddd);padding-left:23px;counter-reset:step}.steps h3{counter-increment:step;font-size:var(--f-heading-05-fontSize);font-weight:var(--f-heading-05-fontWeight);line-height:var(--f-heading-05-lineHeight);position:relative}.steps h3::before{content:counter(step);position:absolute;left:-40px;top:-2px;display:flex;align-items:center;justify-content:center;width:32px;height:32px;font-size:1rem;border:1px solid #ccc;background:var(--grey-900);color:#fff;border-radius:50%}.steps h4,.steps h5{counter-increment:step;font-size:var(--f-heading-06-fontSize);font-weight:var(--f-heading-06-fontWeight);line-height:var(--f-heading-06-lineHeight);position:relative}.steps h4::before,.steps h5::before{content:counter(step);position:absolute;left:-40px;top:-2px;display:flex;align-items:center;justify-content:center;width:30px;height:30px;font-size:0.875rem;border:1px solid #ccc;background:#333;color:#fff;border-radius:50%}.steps blockquote{margin-top:16px;margin-bottom:16px;font-style:italic;color:#aaa;padding-left:6px}.f-body-02{font-family:var(--f-body-02-fontFamily);font-weight:var(--f-body-02-fontWeight);font-size:var(--f-body-02-fontSize);line-height:var(--f-body-02-lineHeight);letter-spacing:var(--f-body-02-letterSpacing)}.text-light{color:var(--grey-700)}.text-lighter{color:var(--grey-600)}.my-16{margin-top:1rem;margin-bottom:1rem}.mt-16{margin-top:1rem}.mb-28{margin-bottom:1.75rem}.ml-8{margin-left:0.5rem}.gap-y-16{row-gap:1rem}.gap-x-16{-moz-column-gap:1rem;column-gap:1rem}.flex{display:flex}.grid{display:grid}.hidden{display:none}.block{display:block}.cursor-pointer{cursor:pointer}.eds-steps__title{cursor:pointer}", Me = qe, Ue = class {
|
|
13945
|
+
constructor(n) {
|
|
13946
|
+
m(this, n), this.step = v(this, "step", 7), this.finished = v(this, "finished", 7), this.next = v(this, "next", 7), this.back = v(this, "back", 7), this.handleTitleClick = (e) => {
|
|
13947
|
+
if (e === this.activeStep) {
|
|
13948
|
+
this.activeStep = this.activeStep === e ? -1 : e, this.step.emit(this.activeStep);
|
|
13949
|
+
return;
|
|
13950
|
+
}
|
|
13951
|
+
this.type === "linear" && e > this.activeStep && this.isNextDisabledFor(this.activeStep) || (this.activeStep = e, this.step.emit(this.activeStep));
|
|
13952
|
+
}, this.handleNext = () => {
|
|
13953
|
+
const e = this.parsedSteps.length - 1;
|
|
13954
|
+
if (this.activeStep >= e) {
|
|
13955
|
+
this.activeStep = -1, this.finished.emit();
|
|
13956
|
+
return;
|
|
13957
|
+
}
|
|
13958
|
+
const t = this.activeStep + 1;
|
|
13959
|
+
this.next.emit(t), !this.isNextDisabledFor(this.activeStep) && (this.activeStep = t, this.step.emit(this.activeStep), Array.isArray(this.disableNext) || (this.disableNext = !1));
|
|
13741
13960
|
}, this.handleBack = () => {
|
|
13742
|
-
this.activeStep > 0
|
|
13743
|
-
|
|
13961
|
+
if (this.activeStep > 0) {
|
|
13962
|
+
const e = this.activeStep - 1;
|
|
13963
|
+
this.back.emit(e), this.activeStep = e, this.step.emit(this.activeStep), Array.isArray(this.disableNext) || (this.disableNext = !1);
|
|
13964
|
+
}
|
|
13965
|
+
}, this.steps = [], this.type = "static", this.nextLabel = "Next", this.backLabel = "Back", this.finishLabel = "Finish", this.disableNext = !1, this.headingLevel = "h4", this.activeStep = 0;
|
|
13744
13966
|
}
|
|
13745
|
-
/**
|
|
13746
|
-
* Lifecycle method that runs when the component has fully loaded.
|
|
13747
|
-
* It emits a custom event for each `eds-button` element contained within the breadcrumb.
|
|
13748
|
-
*/
|
|
13749
13967
|
componentDidLoad() {
|
|
13750
13968
|
var n;
|
|
13751
13969
|
if (this.type === "linear") {
|
|
13752
13970
|
const e = (n = this.el.shadowRoot) === null || n === void 0 ? void 0 : n.querySelectorAll("eds-button");
|
|
13753
|
-
e == null || e.forEach((t) =>
|
|
13754
|
-
this.emitContext(t);
|
|
13755
|
-
});
|
|
13971
|
+
e == null || e.forEach((t) => this.emitContext(t));
|
|
13756
13972
|
}
|
|
13757
13973
|
}
|
|
13758
13974
|
activeStepChanged(n) {
|
|
13759
13975
|
setTimeout(() => {
|
|
13760
13976
|
var e;
|
|
13761
13977
|
const t = (e = this.el.shadowRoot) === null || e === void 0 ? void 0 : e.querySelectorAll(".step")[n];
|
|
13762
|
-
t && t.querySelectorAll("eds-button").forEach((
|
|
13763
|
-
this.emitContext(l);
|
|
13764
|
-
});
|
|
13978
|
+
t && t.querySelectorAll("eds-button").forEach((r) => this.emitContext(r));
|
|
13765
13979
|
}, 50);
|
|
13766
13980
|
}
|
|
13767
|
-
/**
|
|
13768
|
-
* Emits a custom event called `parentContext` for a given link element.
|
|
13769
|
-
* This event provides context information about the breadcrumb component.
|
|
13770
|
-
*
|
|
13771
|
-
* @param linkElement - The link element to which the event will be dispatched.
|
|
13772
|
-
*/
|
|
13773
13981
|
emitContext(n) {
|
|
13774
13982
|
const e = new CustomEvent("parentContext", {
|
|
13775
13983
|
detail: {
|
|
@@ -13779,18 +13987,29 @@ const De = ".steps{position:sticky;margin-left:16px;margin-bottom:12px;border-le
|
|
|
13779
13987
|
});
|
|
13780
13988
|
n.dispatchEvent(e);
|
|
13781
13989
|
}
|
|
13782
|
-
handleStepClick(n) {
|
|
13783
|
-
this.step.emit(n), this.type === "linear" && (this.activeStep = n);
|
|
13784
|
-
}
|
|
13785
|
-
/**
|
|
13786
|
-
* Parse the JSON string into an array of steps.
|
|
13787
|
-
*/
|
|
13788
13990
|
get parsedSteps() {
|
|
13789
13991
|
return R(this.steps);
|
|
13790
13992
|
}
|
|
13993
|
+
isNextDisabledFor(n) {
|
|
13994
|
+
return Array.isArray(this.disableNext) ? !!this.disableNext[n] : n === this.activeStep && !!this.disableNext;
|
|
13995
|
+
}
|
|
13996
|
+
/** Render the semantic heading element as a clickable control only in linear mode */
|
|
13997
|
+
renderHeading(n, e) {
|
|
13998
|
+
const t = this.headingLevel;
|
|
13999
|
+
if (this.type === "linear") {
|
|
14000
|
+
const r = e > this.activeStep && this.isNextDisabledFor(this.activeStep), l = (s) => {
|
|
14001
|
+
r || (s.key === "Enter" || s.key === " ") && (s.preventDefault(), this.handleTitleClick(e));
|
|
14002
|
+
}, a = this.activeStep === e;
|
|
14003
|
+
return i(t, { class: `eds-steps__title ${r ? "is-disabled" : ""}`, role: "button", tabindex: r ? -1 : 0, "aria-disabled": r ? "true" : "false", "aria-expanded": a, "aria-controls": `eds-step-panel-${e}`, onClick: () => !r && this.handleTitleClick(e), onKeyDown: l }, n);
|
|
14004
|
+
}
|
|
14005
|
+
return i(t, { class: "eds-steps__title" }, n);
|
|
14006
|
+
}
|
|
13791
14007
|
render() {
|
|
13792
14008
|
const n = this.parsedSteps;
|
|
13793
|
-
return this.type === "linear" ? i("div",
|
|
14009
|
+
return this.type === "linear" ? i("div", { class: "steps" }, n.map((e, t) => {
|
|
14010
|
+
const r = t === n.length - 1;
|
|
14011
|
+
return i("div", { class: "step mb-28", key: t }, this.renderHeading(e.title, t), this.activeStep === t && i("div", { class: "content grid gap-y-16", id: `eds-step-panel-${t}` }, i("slot", { name: `step-${t}` }, i("div", { class: "f-body-02 text-lighter", innerHTML: e.content })), i("div", { class: "flex items-center mt-16" }, i("eds-button", { label: this.backLabel, intent: "ghost", icon: "chevron-left", iconPos: "left", iconSmall: !0, onClick: this.handleBack, disabled: t === 0, class: t === 0 ? "hidden" : "block", size: "small" }), i("eds-button", { label: r ? this.finishLabel : this.nextLabel, intent: "primary", icon: "chevron-right", iconSmall: !0, onClick: this.handleNext, disabled: this.isNextDisabledFor(t), size: "small", class: "ml-8" })), i("slot", { name: `actions-${t}` })));
|
|
14012
|
+
})) : i("div", { class: "steps" }, n.map((e, t) => i("div", { class: "step mb-28", key: t }, this.renderHeading(e.title, t), i("div", { class: "content", id: `eds-step-panel-${t}` }, i("slot", { name: `step-${t}` }, i("div", { class: t === n.length - 1 ? "f-body-02 text-lighter mt-16" : "f-body-02 text-lighter my-16", innerHTML: e.content }))))));
|
|
13794
14013
|
}
|
|
13795
14014
|
get el() {
|
|
13796
14015
|
return y(this);
|
|
@@ -13801,14 +14020,29 @@ const De = ".steps{position:sticky;margin-left:16px;margin-bottom:12px;border-le
|
|
|
13801
14020
|
};
|
|
13802
14021
|
}
|
|
13803
14022
|
};
|
|
13804
|
-
|
|
13805
|
-
const
|
|
14023
|
+
Ue.style = Me;
|
|
14024
|
+
const Ve = ".steps{position:sticky;margin-left:16px;border-left:1px solid var(--soft-color, #ddd);padding-left:23px;counter-reset:step}.steps h3{counter-increment:step;font-size:var(--f-heading-05-fontSize);font-weight:var(--f-heading-05-fontWeight);line-height:var(--f-heading-05-lineHeight);position:relative}.steps h3::before{content:counter(step);position:absolute;left:-40px;top:-2px;display:flex;align-items:center;justify-content:center;width:32px;height:32px;font-size:1rem;border:1px solid #ccc;background:var(--grey-900);color:#fff;border-radius:50%}.steps h4,.steps h5{counter-increment:step;font-size:var(--f-heading-06-fontSize);font-weight:var(--f-heading-06-fontWeight);line-height:var(--f-heading-06-lineHeight);position:relative}.steps h4::before,.steps h5::before{content:counter(step);position:absolute;left:-40px;top:-2px;display:flex;align-items:center;justify-content:center;width:30px;height:30px;font-size:0.875rem;border:1px solid #ccc;background:#333;color:#fff;border-radius:50%}.steps blockquote{margin-top:16px;margin-bottom:16px;font-style:italic;color:#aaa;padding-left:6px}.steps-img-placeholder{width:100%;height:200px;background:linear-gradient(to bottom, #9CE142, #00C959, #00A595);}.bg-\\[\\#00A595\\]{--tw-bg-opacity:1;background-color:rgb(0 165 149 / var(--tw-bg-opacity))}.relative{position:relative}.f-heading-04{font-family:var(--f-heading-04-fontFamily);font-weight:var(--f-heading-04-fontWeight);font-size:var(--f-heading-04-fontSize);line-height:var(--f-heading-04-lineHeight);letter-spacing:var(--f-heading-04-letterSpacing)}.f-body-02{font-family:var(--f-body-02-fontFamily);font-weight:var(--f-body-02-fontWeight);font-size:var(--f-body-02-fontSize);line-height:var(--f-body-02-lineHeight);letter-spacing:var(--f-body-02-letterSpacing)}.text-inverse{color:var(--white)}.text-light{color:var(--grey-700)}.text-lighter{color:var(--grey-600)}.w-full{width:100%}.h-52{height:3.25rem}.h-96{height:6rem}.h-\\[200px\\]{height:200px}.mt-16{margin-top:1rem}.my-16{margin-top:1rem;margin-bottom:1rem}.mb-12{margin-bottom:0.75rem}.last\\:mb-0:last-child{margin-bottom:0rem}.last\\:mt-16:last-child{margin-top:1rem}.border-softer{border:2px solid rgba(0, 0, 0, .1)}.relative{position:relative}.flex{display:flex}.inline-flex{display:inline-flex}.grow{flex-grow:1}.rounded{border-radius:0.25rem}.rounded-lg{border-radius:16px}.rounded-t-lg{border-top-left-radius:16px;border-top-right-radius:16px}.border-2{border-width:2px}.p-8{padding:0.5rem}.p-24{padding:1.5rem}.bg-default{background-color:var(--grey-200)}.bg-inverse{background-color:var(--white)}.top-2{top:0.125rem}.bottom-2{bottom:0.125rem}.left-2{left:0.125rem}.right-2{right:0.125rem}.-translate-x-1\\/2{--tw-translate-x:-50%;transform:translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.-translate-y-1\\/2{--tw-translate-y:-50%;transform:translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.overflow-hidden{overflow:hidden}.space-y-8{--tw-space-y-reverse:0;margin-top:calc(0.5rem * calc(1 - var(--tw-space-y-reverse)));margin-bottom:calc(0.5rem * var(--tw-space-y-reverse))}.space-y-16{--tw-space-y-reverse:0;margin-top:calc(1rem * calc(1 - var(--tw-space-y-reverse)));margin-bottom:calc(1rem * var(--tw-space-y-reverse))}.ml-8{margin-left:0.5rem}.gap-y-16{row-gap:1rem}.gap-x-16{-moz-column-gap:1rem;column-gap:1rem}.flex{display:flex}.grid{display:grid}.hidden{display:none}.block{display:block}.px-8{padding-left:0.5rem;padding-right:0.5rem}.pb-20{padding-bottom:1.25rem}.eds-steps__title{cursor:pointer}", Ge = Ve, Ye = class {
|
|
13806
14025
|
constructor(n) {
|
|
13807
|
-
|
|
13808
|
-
|
|
14026
|
+
m(this, n), this.step = v(this, "step", 7), this.finished = v(this, "finished", 7), this.next = v(this, "next", 7), this.back = v(this, "back", 7), this.handleTitleClick = (e) => {
|
|
14027
|
+
if (e === this.activeStep) {
|
|
14028
|
+
this.activeStep = this.activeStep === e ? -1 : e, this.step.emit(this.activeStep);
|
|
14029
|
+
return;
|
|
14030
|
+
}
|
|
14031
|
+
this.type === "linear" && e > this.activeStep && this.isNextDisabledForCurrent() || (this.activeStep = e, this.step.emit(this.activeStep));
|
|
14032
|
+
}, this.handleNext = () => {
|
|
14033
|
+
const e = this.parsedSteps.length - 1;
|
|
14034
|
+
if (this.activeStep >= e) {
|
|
14035
|
+
this.finished.emit(), this.activeStep = -1;
|
|
14036
|
+
return;
|
|
14037
|
+
}
|
|
14038
|
+
const t = this.activeStep + 1;
|
|
14039
|
+
this.next.emit(t), this.disableNext || (this.activeStep = t, this.step.emit(this.activeStep));
|
|
13809
14040
|
}, this.handleBack = () => {
|
|
13810
|
-
this.activeStep > 0
|
|
13811
|
-
|
|
14041
|
+
if (this.activeStep > 0) {
|
|
14042
|
+
const e = this.activeStep - 1;
|
|
14043
|
+
this.back.emit(e), this.activeStep = e, this.step.emit(this.activeStep);
|
|
14044
|
+
}
|
|
14045
|
+
}, this.steps = [], this.type = "static", this.imageSrc = void 0, this.imageWidth = void 0, this.bg = !0, this.message = void 0, this.nextLabel = "Next", this.backLabel = "Back", this.finishLabel = "Finish", this.disableNext = !1, this.headingLevel = "h4", this.activeStep = 0;
|
|
13812
14046
|
}
|
|
13813
14047
|
componentDidLoad() {
|
|
13814
14048
|
var n;
|
|
@@ -13843,20 +14077,31 @@ const je = "h1,h2,h3,h4,h5,h6{font-size:inherit;font-weight:inherit}blockquote,d
|
|
|
13843
14077
|
"border-softer effect-focus-within relative rounded-lg border-2"
|
|
13844
14078
|
].join(" ");
|
|
13845
14079
|
}
|
|
13846
|
-
handleStepClick(n) {
|
|
13847
|
-
this.step.emit(n), this.type === "linear" && (this.activeStep = n);
|
|
13848
|
-
}
|
|
13849
14080
|
/**
|
|
13850
14081
|
* Parses the steps property into an array of Step objects.
|
|
13851
14082
|
*/
|
|
13852
14083
|
get parsedSteps() {
|
|
13853
14084
|
return R(this.steps);
|
|
13854
14085
|
}
|
|
14086
|
+
isNextDisabledForCurrent() {
|
|
14087
|
+
return !!this.disableNext;
|
|
14088
|
+
}
|
|
14089
|
+
/** Render the semantic heading element */
|
|
14090
|
+
renderHeading(n, e) {
|
|
14091
|
+
const t = this.headingLevel;
|
|
14092
|
+
if (this.type === "linear") {
|
|
14093
|
+
const r = this.activeStep === e, l = e > this.activeStep && this.isNextDisabledForCurrent(), a = (s) => {
|
|
14094
|
+
l || (s.key === "Enter" || s.key === " ") && (s.preventDefault(), this.handleTitleClick(e));
|
|
14095
|
+
};
|
|
14096
|
+
return i(t, { class: `eds-steps__title ${l ? "is-disabled" : ""}`, role: "button", tabindex: l ? -1 : 0, "aria-disabled": l ? "true" : "false", "aria-expanded": r, "aria-controls": `eds-step-panel-${e}`, onClick: () => !l && this.handleTitleClick(e), onKeyDown: a }, n);
|
|
14097
|
+
}
|
|
14098
|
+
return i(t, { class: "eds-steps__title" }, n);
|
|
14099
|
+
}
|
|
13855
14100
|
render() {
|
|
13856
14101
|
const n = this.parsedSteps;
|
|
13857
|
-
return i("div", { key: "
|
|
14102
|
+
return i("div", { key: "b486aa34dfab4902cd6569cc2ce228104ca536cd", class: this.articleClasses() }, this.imageSrc ? i("div", { class: "w-full mb-12 rounded-t-lg overflow-hidden border-2" }, i("eds-img", { src: this.imageSrc, width: this.imageWidth, "with-bg": "true", "lazy-load": "true", alt: "Step illustration" })) : this.message && i("div", { class: "w-full bg-[#00A595] rounded-t-lg border-2" }, i("div", { class: "p-24" }, i("span", { class: "text-inverse f-heading-04 " }, this.message))), i("div", { key: "e2a928ecb67caed4885c9e364621b422249610f1", class: "pb-20 px-8" }, this.type === "linear" ? i("div", { class: "steps" }, n.map((e, t) => i("div", { class: t === 0 ? "step" : "step space-y-16", key: t }, this.renderHeading(e.title, t), this.activeStep === t && i("div", { class: "content grid gap-y-16", id: `eds-step-panel-${t}` }, i("slot", { name: `step-${t}` }, i("div", { class: (t === n.length - 1, "f-body-02 text-lighter"), innerHTML: e.content })), i("div", { class: "flex items-center" }, i("eds-button", { label: this.backLabel, intent: "ghost", icon: "chevron-left", iconPos: "left", iconSmall: !0, onClick: this.handleBack, disabled: t === 0, class: t === 0 ? "hidden" : "block", size: "small" }), i("eds-button", { label: t === n.length - 1 ? this.finishLabel : this.nextLabel, intent: "primary", icon: "chevron-right", iconSmall: !0, onClick: this.handleNext, disabled: this.disableNext, size: "small", class: "ml-8" })))))) : (
|
|
13858
14103
|
// Static mode: show all steps with their content.
|
|
13859
|
-
i("div", { class: "steps space-y-8" }, n.map((e, t) => i("div", { class: "step", key: t },
|
|
14104
|
+
i("div", { class: "steps space-y-8" }, n.map((e, t) => i("div", { class: "step", key: t }, this.renderHeading(e.title, t), i("div", { class: "content", id: `eds-step-panel-${t}` }, i("slot", { name: `step-${t}` }, i("div", { class: t === n.length - 1 ? "f-body-02 text-lighter mt-16" : "f-body-02 text-lighter", innerHTML: e.content }))))))
|
|
13860
14105
|
)));
|
|
13861
14106
|
}
|
|
13862
14107
|
get el() {
|
|
@@ -13868,11 +14113,11 @@ const je = "h1,h2,h3,h4,h5,h6{font-size:inherit;font-weight:inherit}blockquote,d
|
|
|
13868
14113
|
};
|
|
13869
14114
|
}
|
|
13870
14115
|
};
|
|
13871
|
-
|
|
13872
|
-
const
|
|
14116
|
+
Ye.style = Ge;
|
|
14117
|
+
const Xe = ":host{display:inline-block}.switch-container{display:inline-flex;align-items:center}.switch-label{font-family:var(--f-ui-02-light-fontFamily);font-weight:var(--f-ui-02-light-fontWeight);font-size:var(--f-ui-02-light-fontSize);line-height:var(--f-ui-02-light-lineHeight);letter-spacing:var(--f-ui-02-light-letterSpacing)}button.switch{position:relative;display:inline-flex;align-items:center;width:50px;height:26px;border:none;border-radius:13px;background-color:#ccc;padding:0;cursor:pointer;transition:background-color 0.2s}button.switch.switch--checked{background-color:var(--green-500)}button.switch.switch--disabled{opacity:0.6;cursor:not-allowed}.switch-handle{position:absolute;width:22px;height:22px;border-radius:50%;background-color:#fff;top:2px;left:2px;transition:transform 0.2s}button.switch.switch--checked .switch-handle{transform:translateX(24px)}.ml-8{margin-left:0.5rem}.mr-8{margin-right:0.5rem}.switch:focus{outline:2px solid #005fcc;outline-offset:2px}.switch:focus:not(:focus-visible){outline:none}.switch:focus-visible{outline-width:3px;outline-offset:2px;outline-color:var(--green-500)}", Ke = Xe, Ze = class {
|
|
13873
14118
|
constructor(n) {
|
|
13874
|
-
|
|
13875
|
-
this.disabled || (this.checked = !this.checked, this.uiswitch.emit({ value: this.checked }),
|
|
14119
|
+
m(this, n), this.uiswitch = v(this, "uiswitch", 7), this.toggleSwitch = () => {
|
|
14120
|
+
this.disabled || (this.checked = !this.checked, this.uiswitch.emit({ value: this.checked }), I({
|
|
13876
14121
|
category: "ui-component",
|
|
13877
14122
|
tag: this.el.tagName.toLowerCase(),
|
|
13878
14123
|
name: this.checked ? this.labelOn : this.labelOff || "",
|
|
@@ -13886,20 +14131,20 @@ const qe = ":host{display:inline-block}.switch-container{display:inline-flex;ali
|
|
|
13886
14131
|
const n = `switch-${Math.random().toString(36).substr(2, 9)}`, e = [];
|
|
13887
14132
|
this.labelOff && e.push(`${n}-off`), this.labelOn && e.push(`${n}-on`);
|
|
13888
14133
|
const t = e.length === 0 ? this.labelOn || this.labelOff ? this.checked ? this.labelOn : this.labelOff : "Toggle switch" : void 0;
|
|
13889
|
-
return i("div", { key: "
|
|
14134
|
+
return i("div", { key: "d73bf797be76e256e065ab8b4fbe68a44802d3f1", class: "switch-container" }, this.labelOff && i("span", { key: "f4897e3d9948358a82bd61ea26c86e0d2eba81b5", id: `${n}-off`, class: "switch-label switch-label--off mr-8" }, this.labelOff), i("button", { key: "a01753fce0fedbf8a25d2cd64c662da8e69fef95", id: n, tabindex: this.disabled ? "-1" : "0", type: "button", role: "switch", "aria-checked": this.checked ? "true" : "false", "aria-disabled": this.disabled ? "true" : "false", "aria-labelledby": e.length > 0 ? e.join(" ") : void 0, "aria-label": t, class: {
|
|
13890
14135
|
switch: !0,
|
|
13891
14136
|
"switch--checked": this.checked,
|
|
13892
14137
|
"switch--disabled": this.disabled
|
|
13893
|
-
}, onClick: this.toggleSwitch, onKeyDown: this.handleKeyDown, disabled: this.disabled }, i("span", { key: "
|
|
14138
|
+
}, onClick: this.toggleSwitch, onKeyDown: this.handleKeyDown, disabled: this.disabled }, i("span", { key: "eee315ce803b246cbe73e9d42635cbaa775febdb", class: "switch-handle" })), this.labelOn && i("span", { key: "f1229ffea8041dea2237a032292a4465fc76e216", id: `${n}-on`, class: "switch-label switch-label--on ml-8" }, this.labelOn));
|
|
13894
14139
|
}
|
|
13895
14140
|
get el() {
|
|
13896
14141
|
return y(this);
|
|
13897
14142
|
}
|
|
13898
14143
|
};
|
|
13899
|
-
|
|
13900
|
-
const
|
|
14144
|
+
Ze.style = Ke;
|
|
14145
|
+
const Je = "table{text-indent:0;border-color:inherit;border-collapse:collapse;}.container{width:calc(var(--container-width, 100%) - (2 * var(--breakout-container-outer-gutter, var(--container-outer-gutter, var(--outer-gutter, 0)))));margin-right:auto;margin-left:auto}.container>*{--container-outer-gutter:0;--breakout-container-outer-gutter:0}.pt-32{padding-top:2rem}.pt-40{padding-top:2.5rem}.pt-48{padding-top:3rem}.pb-28{padding-bottom:1.75rem}.pb-60{padding-bottom:3.75rem}.mt-20{margin-top:1.25rem}.mt-28{margin-top:1.75rem}.block{display:block}.inline-block{display:inline-block}.inline{display:inline}.flex{display:flex}.overflow-x-auto{overflow-x:auto}.mt-6{margin-top:0.375rem}.p-0{padding:0rem}.p-4{padding:0.25rem}.m-0{margin:0rem}.border{border-width:1px}.border-softer{border:1px solid rgba(0, 0, 0, .1)}.even\\:bg-inverse-softer:nth-child(even){background-color:rgba(255, 255, 255, .15)}.px-8{padding-left:0.5rem;padding-right:0.5rem}.px-20{padding-left:1.25rem;padding-right:1.25rem}.py-8{padding-top:0.5rem;padding-bottom:0.5rem}.f-ui-01{font-family:var(--f-ui-01-fontFamily);font-weight:var(--f-ui-01-fontWeight);font-size:var(--f-ui-01-fontSize);line-height:var(--f-ui-01-lineHeight);letter-spacing:var(--f-ui-01-letterSpacing)}.f-ui-02{font-family:var(--f-ui-02-fontFamily);font-weight:var(--f-ui-02-fontWeight);font-size:var(--f-ui-02-fontSize);line-height:var(--f-ui-02-lineHeight);letter-spacing:var(--f-ui-02-letterSpacing)}.items-center{align-items:center}.justify-center{justify-content:center}.justify-between{justify-content:space-between}.text-center{text-align:center}.break-words{overflow-wrap:anywhere}", Qe = Je, nt = class {
|
|
13901
14146
|
constructor(n) {
|
|
13902
|
-
|
|
14147
|
+
m(this, n), this.rowaction = v(this, "rowaction", 7), this.handleResize = () => {
|
|
13903
14148
|
this.updateContainerWidth();
|
|
13904
14149
|
}, this.onActionKeyDown = (e) => {
|
|
13905
14150
|
var t;
|
|
@@ -13909,11 +14154,11 @@ const Ve = "table{text-indent:0;border-color:inherit;border-collapse:collapse;}.
|
|
|
13909
14154
|
const r = e.target, l = r.closest('[role="toolbar"]');
|
|
13910
14155
|
if (!l)
|
|
13911
14156
|
return;
|
|
13912
|
-
const a = Array.from(l.querySelectorAll("eds-button")),
|
|
13913
|
-
if (
|
|
14157
|
+
const a = Array.from(l.querySelectorAll("eds-button")), s = a.indexOf(r);
|
|
14158
|
+
if (s === -1)
|
|
13914
14159
|
return;
|
|
13915
|
-
let
|
|
13916
|
-
e.key === "ArrowRight" ?
|
|
14160
|
+
let o;
|
|
14161
|
+
e.key === "ArrowRight" ? o = (s + 1) % a.length : o = (s - 1 + a.length) % a.length, (t = a[o]) === null || t === void 0 || t.focus();
|
|
13917
14162
|
}, this.data = null, this.config = {}, this.rowsPerPage = 10, this.paginationEnabled = !0, this.searchEnabled = !1, this.hostWidth = void 0, this.columnSize = "default", this.actions = [], this.actionTemplate = void 0, this.parsedActions = [], this.dataColumns = [], this.tbData = [], this.columns = [], this.currentPage = 1, this.parsedConfig = {}, this.totalRows = 0, this.searchQuery = "", this.containerWidth = 0;
|
|
13918
14163
|
}
|
|
13919
14164
|
handleDataChange() {
|
|
@@ -13962,7 +14207,7 @@ const Ve = "table{text-indent:0;border-color:inherit;border-collapse:collapse;}.
|
|
|
13962
14207
|
if (!this.shouldEnablePagination())
|
|
13963
14208
|
return;
|
|
13964
14209
|
const n = this.hostEl.shadowRoot.querySelector("eds-pagination");
|
|
13965
|
-
n && !n.hasAttribute("listener-attached") && (n.addEventListener("page", (e) => this.handlePageChange(e.detail)), n.setAttribute("listener-attached", "true"));
|
|
14210
|
+
n && !n.hasAttribute("listener-attached") && (n.addEventListener("page", (e) => this.handlePageChange(e.detail.value)), n.setAttribute("listener-attached", "true"));
|
|
13966
14211
|
}
|
|
13967
14212
|
getFilteredRows() {
|
|
13968
14213
|
return this.tbData.filter((n) => Object.values(n).some((e) => e.toString().toLowerCase().includes(this.searchQuery.toLowerCase())));
|
|
@@ -13974,7 +14219,7 @@ const Ve = "table{text-indent:0;border-color:inherit;border-collapse:collapse;}.
|
|
|
13974
14219
|
return n.slice(e, e + this.rowsPerPage);
|
|
13975
14220
|
}
|
|
13976
14221
|
handlePageChange(n) {
|
|
13977
|
-
this.currentPage = n,
|
|
14222
|
+
this.currentPage = n, I({
|
|
13978
14223
|
category: "ui-component",
|
|
13979
14224
|
parentContext: null,
|
|
13980
14225
|
tag: `${this.hostEl.tagName.toLowerCase()}/eds-pagination`,
|
|
@@ -13996,17 +14241,18 @@ const Ve = "table{text-indent:0;border-color:inherit;border-collapse:collapse;}.
|
|
|
13996
14241
|
*/
|
|
13997
14242
|
renderSingleActionCell(n, e) {
|
|
13998
14243
|
var t;
|
|
13999
|
-
const r = this.parsedActions.find((
|
|
14244
|
+
const r = this.parsedActions.find((o) => o.name === n);
|
|
14000
14245
|
if (this.actionTemplate)
|
|
14001
14246
|
return this.actionTemplate(e);
|
|
14002
14247
|
if ((r.type || "button") === "checkbox") {
|
|
14003
|
-
const
|
|
14004
|
-
return i("eds-input-field", { name: `chc-${n}`, label: r.label, type: "checkbox", checked:
|
|
14248
|
+
const o = (t = r.field) !== null && t !== void 0 ? t : r.name, b = !!e[o];
|
|
14249
|
+
return i("eds-input-field", { name: `chc-${n}`, label: r.label, type: "checkbox", checked: b, onChange: (k) => this.emitAction(r.name, e, k.target.checked) });
|
|
14005
14250
|
}
|
|
14006
|
-
|
|
14251
|
+
const a = r.showLabel === !0, s = i("eds-button", { icon: r.icon, label: a ? r.label : null, iconPos: "left", pill: !0, size: "small", intent: "ghost", tabIndex: 0, onClick: () => this.emitAction(r.name, e) });
|
|
14252
|
+
return a ? s : i("eds-tooltip", { content: r.label }, s);
|
|
14007
14253
|
}
|
|
14008
14254
|
emitAction(n, e, t) {
|
|
14009
|
-
|
|
14255
|
+
I({
|
|
14010
14256
|
category: "ui-component",
|
|
14011
14257
|
parentContext: null,
|
|
14012
14258
|
tag: `${this.hostEl.tagName.toLowerCase()}/action`,
|
|
@@ -14036,18 +14282,18 @@ const Ve = "table{text-indent:0;border-color:inherit;border-collapse:collapse;}.
|
|
|
14036
14282
|
}
|
|
14037
14283
|
render() {
|
|
14038
14284
|
const n = this.hostWidth && this.hostWidth.trim() !== "" ? Number(this.hostWidth) : this.containerWidth || 400, e = this.getVisibleColumnsCount(), t = e > 0 ? Math.floor(n / e * this.divisionFactor()) : 100, r = this.getPaginatedRows(), l = Math.ceil(this.totalRows / this.rowsPerPage);
|
|
14039
|
-
return i("div", { key: "
|
|
14040
|
-
var
|
|
14041
|
-
return a === "actions" ? i("th", { class: "m-0 py-8 border border-softer f-ui-02 break-words", style: { minWidth: `${t - 4}px` } }) : !((
|
|
14042
|
-
}))), i("tbody", { key: "
|
|
14043
|
-
var
|
|
14044
|
-
return
|
|
14285
|
+
return i("div", { key: "0c986dec22a52676b110fad1f7f82ef792da796e" }, this.searchEnabled && i("div", { key: "855c5c3d6c2b86e75a210c0296524bc8029e37f2" }, i("eds-input-field", { key: 1, icon: "search", name: "search", "aria-label": "Search", type: "text", placeholder: "Search...", onInput: (a) => this.handleSearch(a) })), i("div", { key: "62b18340bbf992dba888c2d24ff306ada8a1a985", class: "mt-20" }, i("table", { key: "656dd0dd7f99611c2bd9beea4cd1f37f57da1384", class: "block overflow-x-auto mt-6 p-0" }, i("thead", { key: "1278ea89f588aa52c215c32bcc03c424e4501fed" }, i("tr", { key: "186e6ac48859dd9f7cbf8c4f4fb5f6bfddfd4d34", class: "m-0 p-0 border border-softer even:bg-inverse-softer" }, this.columns.map((a) => {
|
|
14286
|
+
var s;
|
|
14287
|
+
return a === "actions" ? i("th", { class: "m-0 py-8 border border-softer f-ui-02 break-words", style: { minWidth: `${t - 4}px` } }) : !((s = this.parsedConfig[a]) === null || s === void 0) && s.hidden ? null : i("th", { class: "m-0 py-8 border border-softer f-ui-02 break-words", style: { minWidth: `${t - 4}px` } }, this.capitalize(a));
|
|
14288
|
+
}))), i("tbody", { key: "b27bd372efe64469d2a5001dc6d5b464eb419217" }, r.map((a) => i("tr", { class: "m-0 p-0 border border-softer even:bg-inverse-softer" }, this.columns.map((s) => {
|
|
14289
|
+
var o;
|
|
14290
|
+
return s === "actions" ? i("td", { class: "text-center border border-softer m-0 f-ui-02 break-words actions-cell", style: { minWidth: `${t - 4}px` } }, i("div", { role: "toolbar", "aria-label": "Row actions", onKeyDown: this.onActionKeyDown, style: {
|
|
14045
14291
|
display: "flex",
|
|
14046
14292
|
gap: "0.5rem",
|
|
14047
14293
|
justifyContent: "center",
|
|
14048
14294
|
flexWrap: "wrap"
|
|
14049
|
-
} }, this.parsedActions.map((b) => i("span", { style: { whiteSpace: "nowrap" } }, this.renderSingleActionCell(b.name, a))))) : !((
|
|
14050
|
-
})))))), this.shouldEnablePagination() && i("div", { key: "
|
|
14295
|
+
} }, this.parsedActions.map((b) => i("span", { style: { whiteSpace: "nowrap" } }, this.renderSingleActionCell(b.name, a))))) : !((o = this.parsedConfig[s]) === null || o === void 0) && o.hidden ? null : i("td", { class: "text-center border border-softer m-0 py-8 f-ui-2 break-words", style: { minWidth: `${t - 4}px` } }, this.renderCell(a[s], s));
|
|
14296
|
+
})))))), this.shouldEnablePagination() && i("div", { key: "d442153f48c85c6de1a0752d1348d8814811faed", class: "mt-20" }, i("eds-pagination", { key: "4c48c96eacb112002b0110e85dce0dab94350dfb", currentPage: this.currentPage, lastPage: l, perPage: this.rowsPerPage, total: this.totalRows, mode: "default" })));
|
|
14051
14297
|
}
|
|
14052
14298
|
get hostEl() {
|
|
14053
14299
|
return y(this);
|
|
@@ -14060,12 +14306,12 @@ const Ve = "table{text-indent:0;border-color:inherit;border-collapse:collapse;}.
|
|
|
14060
14306
|
};
|
|
14061
14307
|
}
|
|
14062
14308
|
};
|
|
14063
|
-
|
|
14064
|
-
const
|
|
14309
|
+
nt.style = Qe;
|
|
14310
|
+
const et = "*,::before,::after{--tw-border-spacing-x:0;--tw-border-spacing-y:0;--tw-translate-x:0;--tw-translate-y:0;--tw-rotate:0;--tw-skew-x:0;--tw-skew-y:0;--tw-scale-x:1;--tw-scale-y:1;--tw-scroll-snap-strictness:proximity;--tw-ring-offset-width:0px;--tw-ring-offset-color:#fff;--tw-ring-color:rgb(147 197 253 / 0.5);--tw-ring-offset-shadow:0 0 #0000;--tw-ring-shadow:0 0 #0000;--tw-shadow:0 0 #0000;--tw-shadow-colored:0 0 #0000;}*,::before,::after{box-sizing:border-box;border-width:0;border-style:solid;border-color:currentColor;}::before,::after{--tw-content:''}a{color:inherit;text-decoration:inherit}.relative{position:relative}.f-ui-03{font-family:var(--f-ui-03-fontFamily);font-weight:var(--f-ui-03-fontWeight);font-size:var(--f-ui-03-fontSize);line-height:var(--f-ui-03-lineHeight);letter-spacing:var(--f-ui-03-letterSpacing)}.whitespace-nowrap{white-space:nowrap}.effect-focus{outline-width:3px;outline-offset:2px;outline-color:var(--green-500)}.effect-focus:focus-visible{outline-style:solid}.effect-focus-within{outline-width:3px;outline-offset:2px;outline-color:var(--green-500)}.focus-visible\\:text-default:focus-visible{color:var(--black)}.hover\\:text-default:hover{color:var(--black)}.border-2{border-width:2px}.after\\:content-\\[\\'\\'\\]::after{--tw-content:'';content:var(--tw-content)}.after\\:bottom-0::after{bottom:0rem}.after\\:border-0::after{border-width:0px}.after\\:border-b-2::after{border-bottom-width:2px}.after\\:absolute::after{position:absolute}.after\\:inset-0::after{inset:0rem}.after\\:rounded-lg::after{border-radius:16px}.after\\:border-solid::after{border-style:solid}.after\\:border-3::after{border-width:3px}.after\\:border-accent::after{border-color:var(--green-500)}.after\\:opacity-0::after{opacity:0}.outline-none{outline:2px solid transparent;outline-offset:2px}.focus\\:outline-none:focus{outline:2px solid transparent;outline-offset:2px}.focus-visible\\:outline-none:focus{outline:2px solid transparent;outline-offset:2px}.focus-visible\\:after\\:opacity-100:focus-visible::after{opacity:1}.rounded-t-lg{border-top-left-radius:16px;border-top-right-radius:16px}.rounded-tl-lg{border-top-left-radius:16px}.rounded-tr-lg{border-top-right-radius:16px}.border-l-0{border-left-width:0px}.border-r-0{border-right-width:0px}.border-b-0{border-bottom-width:0px}.pr-28{padding-right:1.75rem}.pl-28{padding-left:1.75rem}.-mr-16{margin-right:-1rem}.-ml-16{margin-left:-1rem}.px-16{padding-left:1rem;padding-right:1rem}.py-12{padding-top:0.75rem;padding-bottom:0.75rem}.after\\:left-16::after{left:1rem}.after\\:right-16::after{right:1rem}.text-lighter{color:var(--grey-600)}.bg-dark{background-color:var(--grey-300)}.hover\\:bg-darker:hover{background-color:var(--grey-400)}.border-soft{border-color:var(--grey-400)}.border-softest{border-color:rgba(0, 0, 0, .05)}.bg-default{background-color:var(--grey-200)}.text-default{color:var(--black)}.z-99{z-index:99}.after\\:z-10::after{z-index:10}.before\\:bottom-0::before{bottom:0rem}.before\\:h-12::before{height:0.75rem}.before\\:opacity-5::before{opacity:0.05}.before\\:content-\\[\\'\\'\\]::before{--tw-content:'';content:var(--tw-content)}.before\\:absolute::before{position:absolute}.before\\:-bottom-2::before{bottom:-0.125rem}.after\\:inset-x-0::after{left:0rem;right:0rem}.before\\:inset-x-0::before{left:0rem;right:0rem}.before\\:h-3::before{height:0.1875rem}.before\\:bg-default::before{background-color:var(--grey-200)}.after\\:border-soft::after{border-color:rgba(0, 0, 0, .15 )}.after\\:border-softest::after{border-color:rgba(0, 0, 0, .05)}.overflow-x-hidden{overflow-x:hidden}.overflow-y-auto{overflow-y:auto}.before\\:bg-gradient-y::before{background:linear-gradient(to bottom, transparent, ease-in-out, black)}.scroller-x{-ms-overflow-style:none;scrollbar-width:none}.overflow-x-auto{overflow-x:auto}.max-w-xxxl{max-width:2200px}.z-1{z-index:1}.mx-auto{margin-left:auto;margin-right:auto}.pt-8{padding-top:0.5rem}.pr-16{padding-right:1rem}.pl-16{padding-left:1rem}.inline-flex{display:inline-flex}@media (min-width: 900px){.lg\\:px-28{padding-left:1.75rem;padding-right:1.75rem}}@media (min-width: 2200px){.xxxl\\:px-0{padding-left:0rem;padding-right:0rem}}", tt = et, it = class {
|
|
14065
14311
|
constructor(n) {
|
|
14066
|
-
|
|
14312
|
+
m(this, n), this.tab = v(this, "tab", 7), this.tabRefs = [], this.setTabRef = (e, t) => {
|
|
14067
14313
|
e && (this.tabRefs[t] = e);
|
|
14068
|
-
}, this.tabCva =
|
|
14314
|
+
}, this.tabCva = P([
|
|
14069
14315
|
"relative py-12",
|
|
14070
14316
|
"f-ui-03 whitespace-nowrap",
|
|
14071
14317
|
"effect-color effect-focus",
|
|
@@ -14133,7 +14379,7 @@ const Xe = "*,::before,::after{--tw-border-spacing-x:0;--tw-border-spacing-y:0;-
|
|
|
14133
14379
|
} }, n ? { "data-tab-active": "true" } : {});
|
|
14134
14380
|
}
|
|
14135
14381
|
handleTabClick(n, e, t = !0) {
|
|
14136
|
-
n < 0 || n >= this.parsedTabs.length || (this.activeIndex = n, this.parsedTabs = this.parsedTabs.map((r, l) => Object.assign(Object.assign({}, r), { active: l === n })), this.tab.emit({ tabId: this.identifier, index: n, name: e }), t &&
|
|
14382
|
+
n < 0 || n >= this.parsedTabs.length || (this.activeIndex = n, this.parsedTabs = this.parsedTabs.map((r, l) => Object.assign(Object.assign({}, r), { active: l === n })), this.tab.emit({ tabId: this.identifier, index: n, name: e }), t && I({
|
|
14137
14383
|
category: "ui-component",
|
|
14138
14384
|
tag: this.el.tagName.toLowerCase(),
|
|
14139
14385
|
name: (e == null ? void 0 : e.toLowerCase()) || "",
|
|
@@ -14164,10 +14410,10 @@ const Xe = "*,::before,::after{--tw-border-spacing-x:0;--tw-border-spacing-y:0;-
|
|
|
14164
14410
|
t !== e && this.handleTabClick(t, this.parsedTabs[t].label, !0);
|
|
14165
14411
|
}
|
|
14166
14412
|
render() {
|
|
14167
|
-
return i("div", { key: "
|
|
14413
|
+
return i("div", { key: "bab7b3d6a9e6e66ab6476827ecc06a3e3c7244be", id: `${this.identifier}` }, i("div", { key: "e20639e1842936b6c1fe24b19ca7f94ccc09d18f", class: "scroller-x overflow-x-auto relative z-[1] mx-auto px-16 pt-8 lg:px-28 after:border-soft before:bg-gradient-y relative overflow-x-hidden before:absolute before:inset-x-0 before:bottom-0 before:h-12 before:opacity-5 before:content-[''] after:absolute after:inset-x-0 after:bottom-0 after:border-b-2 after:content-['']" }, i("nav", { key: "e3f4e385e1bfb1f5abc75697697ab9a6a8124b6b", role: "tablist", ref: (n) => this.tabContainer = n, class: "inline-flex", "aria-label": this.navAriaLabel }, this.parsedTabs.map((n, e) => {
|
|
14168
14414
|
const t = "button", r = this.getTabOptions(n.active, e), l = e === this.activeIndex;
|
|
14169
14415
|
return i(t, Object.assign({}, r, { type: "button", role: "tab", "aria-selected": n.active ? "true" : "false", tabIndex: l ? 0 : -1, "aria-label": n.ariaLabel || n.label, "aria-controls": `panel-${e}`, id: `tab-${e}`, ref: (a) => this.setTabRef(a, e), onClick: () => this.handleTabClick(e, n.label, !0), onKeyDown: (a) => this.onKeyDown(a, e) }), n.label || n.ariaLabel);
|
|
14170
|
-
}))), i("div", { key: "
|
|
14416
|
+
}))), i("div", { key: "f958fca5abaeeba0b6fcc900b91fa1309508dc57", class: "tab-panels" }, this.parsedTabs.map((n, e) => i("div", { role: "tabpanel", id: `panel-${e}`, "aria-labelledby": `tab-${e}`, hidden: e !== this.activeIndex, tabIndex: e === this.activeIndex ? 0 : -1, class: "effect-focus" }, i("slot", { name: `panel-${e}` })))));
|
|
14171
14417
|
}
|
|
14172
14418
|
get el() {
|
|
14173
14419
|
return y(this);
|
|
@@ -14178,8 +14424,8 @@ const Xe = "*,::before,::after{--tw-border-spacing-x:0;--tw-border-spacing-y:0;-
|
|
|
14178
14424
|
};
|
|
14179
14425
|
}
|
|
14180
14426
|
};
|
|
14181
|
-
|
|
14182
|
-
const
|
|
14427
|
+
it.style = tt;
|
|
14428
|
+
const rt = ".f-ui-01{font-family:var(--f-ui-01-fontFamily);font-weight:var(--f-ui-01-fontWeight);font-size:var(--f-ui-01-fontSize);line-height:var(--f-ui-01-lineHeight);letter-spacing:var(--f-ui-01-letterSpacing)}.f-ui-03{font-family:var(--f-ui-03-fontFamily);font-weight:var(--f-ui-03-fontWeight);font-size:var(--f-ui-03-fontSize);line-height:var(--f-ui-03-lineHeight);letter-spacing:var(--f-ui-03-letterSpacing)}.f-ui-05{font-family:var(--f-ui-05-fontFamily);font-weight:var(--f-ui-05-fontWeight);font-size:var(--f-ui-05-fontSize);line-height:var(--f-ui-05-lineHeight);letter-spacing:var(--f-ui-05-letterSpacing)}.py-2{padding-top:0.125rem;padding-bottom:0.125rem}.py-3{padding-top:0.1875rem;padding-bottom:0.1875rem}.py-4{padding-top:0.25rem;padding-bottom:0.25rem}.px-4{padding-left:0.25rem;padding-right:0.25rem}.px-5{padding-left:0.3125rem;padding-right:0.3125rem}.px-6{padding-left:0.375rem;padding-right:0.375rem}.border-2{border-width:2px}.rounded-pill{border-radius:100px}.border-default{border:2px solid var(--black)}.text-inverse{color:var(--white)}.bg-accent{background-color:var(--green-500)}.bg-strongest{background-color:var(--black)}.text-\\[\\#0034CB\\]{--tw-text-opacity:1;color:rgb(0 52 203 / var(--tw-text-opacity))}.border-\\[\\#0034CB\\]{--tw-border-opacity:1;border:2px solid rgb(0 52 203 / var(--tw-border-opacity))}.text-light{color:var(--grey-700)}.bg-strongest-soft{background-color:rgba(0, 0, 0, .05)}.border-transparent{border-color:var(--transparent)}.border-inverse{border-color:var(--white)}.bg-inverse{background-color:var(--white)}.text-lighter{color:var(--grey-600)}", lt = rt, ot = P(
|
|
14183
14429
|
["border-2 rounded-pill"],
|
|
14184
14430
|
// Base classes
|
|
14185
14431
|
{
|
|
@@ -14207,19 +14453,19 @@ const Je = ".f-ui-01{font-family:var(--f-ui-01-fontFamily);font-weight:var(--f-u
|
|
|
14207
14453
|
size: "small"
|
|
14208
14454
|
}
|
|
14209
14455
|
}
|
|
14210
|
-
),
|
|
14456
|
+
), at = class {
|
|
14211
14457
|
constructor(n) {
|
|
14212
|
-
|
|
14458
|
+
m(this, n), this.label = void 0, this.intent = "default", this.size = "small";
|
|
14213
14459
|
}
|
|
14214
14460
|
render() {
|
|
14215
|
-
const n =
|
|
14216
|
-
return i("span", { key: "
|
|
14461
|
+
const n = ot({ intent: this.intent, size: this.size });
|
|
14462
|
+
return i("span", { key: "a00f436391013091c78f15bc53d91b0b01d8f4bb", class: n }, this.label);
|
|
14217
14463
|
}
|
|
14218
14464
|
};
|
|
14219
|
-
|
|
14220
|
-
const
|
|
14465
|
+
at.style = lt;
|
|
14466
|
+
const st = `.relative{position:relative}.right-4{right:0.25rem}.bottom-4{bottom:0.25rem}.w-auto{width:auto}.flex{display:flex}.items-center{align-items:center}.justify-center{justify-content:center}.justify-between{justify-content:space-between}.gap-4{gap:0.25rem}.f-ui-01{font-family:var(--f-ui-01-fontFamily);font-weight:var(--f-ui-01-fontWeight);font-size:var(--f-ui-01-fontSize);line-height:var(--f-ui-01-lineHeight);letter-spacing:var(--f-ui-01-letterSpacing)}.ml-8{margin-left:0.5rem}.p-12{padding:0.75rem}.rounded-lg{border-radius:16px}.shadow-md{--tw-shadow:0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);--tw-shadow-colored:0 4px 6px -1px var(--tw-shadow-color),
|
|
14221
14467
|
0 2px 4px -2px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),
|
|
14222
|
-
var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow)}.bg-dark{background-color:var(--grey-300)}.bg-success{background-color:var(--green-200)}.bg-error{background-color:var(--red-200)}.bg-warning{background-color:var(--yellow-200)}.text-light{color:var(--grey-700)}.text-current{color:currentColor}.text-default{color:var(--black)}`,
|
|
14468
|
+
var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow)}.bg-dark{background-color:var(--grey-300)}.bg-success{background-color:var(--green-200)}.bg-error{background-color:var(--red-200)}.bg-warning{background-color:var(--yellow-200)}.text-light{color:var(--grey-700)}.text-current{color:currentColor}.text-default{color:var(--black)}`, dt = st, ct = P(["relative bottom-4 w-auto p-12 rounded-lg shadow-md"], {
|
|
14223
14469
|
variants: {
|
|
14224
14470
|
intent: {
|
|
14225
14471
|
default: "bg-dark text-light",
|
|
@@ -14231,9 +14477,9 @@ const tt = `.relative{position:relative}.right-4{right:0.25rem}.bottom-4{bottom:
|
|
|
14231
14477
|
defaultVariants: {
|
|
14232
14478
|
intent: "default"
|
|
14233
14479
|
}
|
|
14234
|
-
}),
|
|
14480
|
+
}), gt = class {
|
|
14235
14481
|
constructor(n) {
|
|
14236
|
-
|
|
14482
|
+
m(this, n), this.toast = v(this, "toast", 7), this.dismissToast = () => {
|
|
14237
14483
|
this.toast.emit({ visible: !1, label: "dismissed" }), this.visible = !1;
|
|
14238
14484
|
}, this.message = void 0, this.intent = "default", this.duration = void 0, this.visible = !0;
|
|
14239
14485
|
}
|
|
@@ -14265,17 +14511,45 @@ const tt = `.relative{position:relative}.right-4{right:0.25rem}.bottom-4{bottom:
|
|
|
14265
14511
|
render() {
|
|
14266
14512
|
if (!this.visible)
|
|
14267
14513
|
return null;
|
|
14268
|
-
const n =
|
|
14514
|
+
const n = ct({ intent: this.intent });
|
|
14269
14515
|
return i("div", { class: n, role: "alert", "aria-live": "assertive" }, i("div", { class: "flex items-center justify-between gap-4" }, i("span", { class: "f-ui-01" }, this.message), i("eds-button", { intent: "tertiary", icon: "close", "aria-label": "Close Toast", onClick: () => this.dismissToast(), "extra-class": "ml-8" })));
|
|
14270
14516
|
}
|
|
14271
14517
|
get el() {
|
|
14272
14518
|
return y(this);
|
|
14273
14519
|
}
|
|
14274
14520
|
};
|
|
14275
|
-
|
|
14276
|
-
const
|
|
14521
|
+
gt.style = dt;
|
|
14522
|
+
const ht = ".relative{position:relative}.absolute{position:absolute}.inline-block{display:inline-block}.rounded-xs{border-radius:4px}.bg-strongest{background-color:var(--black)}.text-inverse{color:var(--white)}.f-ui-03-light{font-family:var(--f-ui-03-light-fontFamily);font-weight:var(--f-ui-03-light-fontWeight);font-size:var(--f-ui-03-light-fontSize);line-height:var(--f-ui-03-light-lineHeight);letter-spacing:var(--f-ui-03-light-letterSpacing)}.pointer-events-none{pointer-events:none}.left-1\\/2{left:50%}.z-10{z-index:10}.transform{transform:translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.-translate-x-1\\/2{--tw-translate-x:-50%;transform:translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.whitespace-nowrap{white-space:nowrap}.p-6{padding:0.375rem}.px-4{padding-left:0.25rem;padding-right:0.25rem}.top-full{top:100%}.bottom-full{bottom:100%}.right-full{right:100%}.left-full{left:100%}.mr-2{margin-right:0.125rem}.ml-2{margin-left:0.125rem}.mt-2{margin-top:0.125rem}.mb-2{margin-bottom:0.125rem}.opacity-0{opacity:0}.transition-opacity{transition-property:opacity;transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);transition-duration:150ms}.duration-150{transition-duration:150ms}.ease-in-out{transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1)}.group:hover .group-hover\\:opacity-100{opacity:1}.max-w-\\[20rem\\]{max-width:20rem}.whitespace-normal{white-space:normal}.break-words{overflow-wrap:break-word}.w-full{width:100%}", ft = ht, bt = class {
|
|
14277
14523
|
constructor(n) {
|
|
14278
|
-
|
|
14524
|
+
m(this, n), this.content = void 0, this.position = "top";
|
|
14525
|
+
}
|
|
14526
|
+
/** fire analytics on every hover */
|
|
14527
|
+
handleHover() {
|
|
14528
|
+
I({
|
|
14529
|
+
category: "ui-component",
|
|
14530
|
+
tag: this.el.tagName.toLowerCase(),
|
|
14531
|
+
name: this.content.toLowerCase(),
|
|
14532
|
+
action: "hover"
|
|
14533
|
+
});
|
|
14534
|
+
}
|
|
14535
|
+
render() {
|
|
14536
|
+
const n = this.position === "bottom" ? "top-full mt-2" : "bottom-full mb-2";
|
|
14537
|
+
return i("div", { key: "c2ae55fbf9fefb2748db770d98f12f679022a416", class: "relative w-full inline-block group" }, i("slot", { key: "5151e3269cb39d3caba960eee7155a3d5171c8cd" }), i("div", { key: "8956683d968d77d88133dc231975d258aca3d1d3", class: `absolute ${n}
|
|
14538
|
+
rounded-xs bg-strongest text-inverse
|
|
14539
|
+
f-ui-03-light pointer-events-none
|
|
14540
|
+
z-10 px-4 opacity-0 transition-opacity duration-150 ease-in-out
|
|
14541
|
+
group-hover:opacity-100 whitespace-normal break-words`, role: "tooltip" }, this.content));
|
|
14542
|
+
}
|
|
14543
|
+
get el() {
|
|
14544
|
+
return y(this);
|
|
14545
|
+
}
|
|
14546
|
+
};
|
|
14547
|
+
bt.style = ft;
|
|
14548
|
+
const pt = "hr,p{margin:0}.block{display:block}.flex{display:flex}.flex-col{flex-direction:column}.items-center{align-items:center}.text-default{color:var(--black)}.min-w-\\[280px\\]{min-width:280px}.p-8{padding:0.5rem}.gap-x-16{-moz-column-gap:1rem;column-gap:1rem}.gap-y-8{row-gap:0.5rem}.pb-16{padding-bottom:1rem}.border-b-2{border-bottom-width:2px}.border-softer{border-color:rgba(0, 0, 0, .1 )}.max-w-full{max-width:100%}.w-full{width:100%}.f-ui-01{font-family:var(--f-ui-01-fontFamily);font-weight:var(--f-ui-01-fontWeight);font-size:var(--f-ui-01-fontSize);line-height:var(--f-ui-01-lineHeight);letter-spacing:var(--f-ui-01-letterSpacing)}.f-ui-03-light{font-family:var(--f-ui-03-light-fontFamily);font-weight:var(--f-ui-03-light-fontWeight);font-size:var(--f-ui-03-light-fontSize);line-height:var(--f-ui-03-light-lineHeight);letter-spacing:var(--f-ui-03-light-letterSpacing)}.text-light{color:var(--grey-700)}.mt-4{margin-top:0.25rem}.mt-16{margin-top:1rem}", ut = pt, mt = class {
|
|
14549
|
+
constructor(n) {
|
|
14550
|
+
m(this, n), this.handleDropdown = (e) => {
|
|
14551
|
+
this.expanded = e.detail.expanded;
|
|
14552
|
+
}, this.user = void 0, this.intent = "tertiary", this.dropdownLabel = "Account", this.expanded = !1, this.shortMode = !1;
|
|
14279
14553
|
}
|
|
14280
14554
|
/**
|
|
14281
14555
|
* Helper getter to ensure we work with a User object.
|
|
@@ -14296,47 +14570,54 @@ const ot = "hr,p{margin:0}.block{display:block}.flex{display:flex}.flex-col{flex
|
|
|
14296
14570
|
const l = this.parsedUser;
|
|
14297
14571
|
return `${((n = l.given_name) === null || n === void 0 ? void 0 : n.charAt(0)) || ""}${((e = l.family_name) === null || e === void 0 ? void 0 : e.charAt(0)) || ""}`.toUpperCase() || ((r = (t = l.name) === null || t === void 0 ? void 0 : t.charAt(0)) === null || r === void 0 ? void 0 : r.toUpperCase()) || "";
|
|
14298
14572
|
}
|
|
14573
|
+
async closeDropdown() {
|
|
14574
|
+
var n;
|
|
14575
|
+
await ((n = this.dropdownEl) === null || n === void 0 ? void 0 : n.close()), this.expanded = !1;
|
|
14576
|
+
}
|
|
14299
14577
|
render() {
|
|
14300
|
-
const n = this.parsedUser;
|
|
14301
|
-
return i("div", { key: "
|
|
14578
|
+
const n = this.parsedUser, e = this.expanded ? "chevron-down" : "chevron-right";
|
|
14579
|
+
return i("div", { key: "68836f7fc63986d1ef1e5d1775258358db3418c6", class: "block" }, i("div", { key: "3b5be3d2d700ce3e1a800c33adde9b55bb07fda0", class: "flex items-center" }, i("eds-dropdown", { key: "f3f97f19aac315031f428d190f1e143429bcd860", ref: (t) => this.dropdownEl = t, label: this.dropdownLabel, intent: this.intent, "aria-label": "User Menu", "dropdown-pos": "right", "dropdown-offset": "false", icon: e, class: "text-default", onDropdown: this.handleDropdown }, i("div", { key: "6a6bccaa4e8b0e68460ac50e3edc8d9fc3612e00", class: "min-w-[280px] p-8" }, i("div", { key: "97a9b4d9c0e0873162103461a542cf401be06c2f", class: "flex gap-x-16", "data-dropdown-no-close": !0 }, i("eds-avatar", { key: "f89cee9f0ad6549e60ebb3ade437d1dd0c2e6eb6", "first-name": n.given_name, "last-name": n.family_name, initials: this.initials, color: "black" }), i("div", { key: "b9fc649a35280ecebe57955b85844f3a78c4db04", class: "max-w-full" }, n.name && i("p", { key: "b2914fca3ddabc4d12fa2c6cee83a98505fd110a", class: "f-ui-01 text-default w-full text-ellipsis" }, n.name), n.preferred_username && i("p", { key: "68ec348104e36b6fbf9c5fc47e254f3cfc4ca85b", class: "f-ui-03-light text-light mt-4" }, n.preferred_username), n.email && i("p", { key: "3b7720aaa30597a49acf61b6c3ff0c1f1cc3bfd8", class: "f-ui-03-light text-light mt-4" }, n.email))), i("div", { key: "28cdba1fb361b84e9cb0a7ce904ec39cf13d022e", class: "text-default flex w-full flex-col gap-y-8" }, i("slot", { key: "c1cddbb24c72749c4ea07e2e0311da61af6e9886" }))))));
|
|
14302
14580
|
}
|
|
14303
14581
|
get hostEl() {
|
|
14304
14582
|
return y(this);
|
|
14305
14583
|
}
|
|
14306
14584
|
};
|
|
14307
|
-
|
|
14585
|
+
mt.style = ut;
|
|
14308
14586
|
export {
|
|
14309
14587
|
En as eds_accordion,
|
|
14310
14588
|
In as eds_alert,
|
|
14311
14589
|
Tn as eds_avatar,
|
|
14312
14590
|
Rn as eds_block_break,
|
|
14313
|
-
|
|
14591
|
+
Pn as eds_breadcrumb,
|
|
14314
14592
|
Wn as eds_button,
|
|
14315
14593
|
Mn as eds_code_block,
|
|
14316
14594
|
Gn as eds_dropdown,
|
|
14317
14595
|
te as eds_form,
|
|
14318
|
-
le as
|
|
14319
|
-
|
|
14320
|
-
|
|
14321
|
-
|
|
14322
|
-
|
|
14323
|
-
be as
|
|
14324
|
-
|
|
14325
|
-
|
|
14326
|
-
|
|
14327
|
-
|
|
14328
|
-
|
|
14329
|
-
Ce as
|
|
14330
|
-
Fe as
|
|
14331
|
-
Le as
|
|
14332
|
-
|
|
14333
|
-
|
|
14334
|
-
He as
|
|
14335
|
-
Be as
|
|
14336
|
-
Ue as
|
|
14337
|
-
Ye as
|
|
14338
|
-
Ze as
|
|
14339
|
-
|
|
14340
|
-
|
|
14341
|
-
|
|
14596
|
+
le as eds_global_search,
|
|
14597
|
+
se as eds_header,
|
|
14598
|
+
Ct as eds_icon_wrapper,
|
|
14599
|
+
ge as eds_img,
|
|
14600
|
+
Et as eds_input,
|
|
14601
|
+
be as eds_input_field,
|
|
14602
|
+
me as eds_input_footer,
|
|
14603
|
+
ve as eds_input_label,
|
|
14604
|
+
zt as eds_input_range,
|
|
14605
|
+
Ft as eds_input_search,
|
|
14606
|
+
At as eds_input_select,
|
|
14607
|
+
Ce as eds_link,
|
|
14608
|
+
Fe as eds_logo,
|
|
14609
|
+
Le as eds_matomo_notice,
|
|
14610
|
+
De as eds_nps,
|
|
14611
|
+
Oe as eds_pagination,
|
|
14612
|
+
He as eds_rating,
|
|
14613
|
+
Be as eds_spinner,
|
|
14614
|
+
Ue as eds_steps,
|
|
14615
|
+
Ye as eds_steps_v2,
|
|
14616
|
+
Ze as eds_switch,
|
|
14617
|
+
nt as eds_table,
|
|
14618
|
+
it as eds_tabs,
|
|
14619
|
+
at as eds_tag,
|
|
14620
|
+
gt as eds_toast,
|
|
14621
|
+
bt as eds_tooltip,
|
|
14622
|
+
mt as eds_user
|
|
14342
14623
|
};
|