@ebrains/vue 2.2.0 → 2.3.1
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-CfQGGuRD.js +1 -0
- package/{color-primary-palette_6.entry-DJbAbsZz.mjs → color-primary-palette_6.entry-DrH0oCGM.mjs} +15 -15
- package/{components-section.entry-S_7QkEcP.mjs → components-section.entry-BfONYWjk.mjs} +2 -2
- package/{components-section.entry-BajIK00d.js → components-section.entry-DGZRQBlO.js} +2 -2
- package/{correct-use-of-colors.entry-BvTTnnKN.mjs → correct-use-of-colors.entry-BQyBCd9s.mjs} +2 -2
- package/{correct-use-of-colors.entry-BN9cex32.js → correct-use-of-colors.entry-DHWb2jEj.js} +1 -1
- package/{docs-palettes.entry-s3Fup9Z9.mjs → docs-palettes.entry-B5ymfyqq.mjs} +2 -2
- package/{docs-palettes.entry-CITJl0U4.js → docs-palettes.entry-f4oFC9pT.js} +1 -1
- package/{docs-tokens.entry-B9XQjEYe.mjs → docs-tokens.entry-BqCJ_bR2.mjs} +2 -2
- package/{docs-tokens.entry-D_HVS-pS.js → docs-tokens.entry-C30AEFLf.js} +1 -1
- package/{eds-accordion_34.entry-RT_JckFi.js → eds-accordion_36.entry-D_s5vq31.js} +15 -15
- package/{eds-accordion_34.entry-KgOmCv2f.mjs → eds-accordion_36.entry-OIRzmPqH.mjs} +772 -537
- package/eds-app-root.entry-B2qjnCKZ.mjs +25 -0
- package/eds-app-root.entry-DsYNcKto.js +1 -0
- package/{eds-card-desc_2.entry-Cxtd5Tn6.js → eds-card-desc_2.entry-CEdehyoF.js} +1 -1
- package/{eds-card-desc_2.entry-CdMizUC4.mjs → eds-card-desc_2.entry-JSaiGlWo.mjs} +6 -6
- package/{eds-card-generic.entry-08ANuvX4.mjs → eds-card-generic.entry-CE3mg-AA.mjs} +5 -5
- package/eds-card-generic.entry-q2hRndNN.js +1 -0
- package/{eds-card-project.entry-BBTWsiFq.mjs → eds-card-project.entry-DRDKqRkj.mjs} +7 -7
- package/{eds-card-project.entry-Bol9vgX7.js → eds-card-project.entry-XdMxPIjJ.js} +1 -1
- package/{eds-card-section.entry-Bah4uso0.mjs → eds-card-section.entry-C25vEF76.mjs} +2 -2
- package/{eds-card-section.entry-Bfvxz5QB.js → eds-card-section.entry-Cm-ZV6Cx.js} +1 -1
- package/{eds-card-tags.entry-BAtfhzFx.mjs → eds-card-tags.entry-D999lMh0.mjs} +2 -2
- package/eds-card-tags.entry-DvklSkOA.js +1 -0
- package/{eds-card-tool.entry-CXoJlXad.js → eds-card-tool.entry-BveA8TjH.js} +1 -1
- package/{eds-card-tool.entry-DEcc9_Qu.mjs → eds-card-tool.entry-CajyPzSy.mjs} +2 -2
- package/{eds-cookies-preference.entry-JSJVljlh.mjs → eds-cookies-preference.entry-8lSpYPIu.mjs} +2 -2
- package/{eds-cookies-preference.entry-_z1-vMDj.js → eds-cookies-preference.entry-DaKfLqmp.js} +1 -1
- package/{eds-feedback.entry-DASoF2j4.mjs → eds-feedback.entry-D2JBpbuO.mjs} +5 -5
- package/{eds-feedback.entry-zxbWrt9t.js → eds-feedback.entry-L3lpUzUa.js} +1 -1
- package/{eds-footer.entry-B-fSU8uH.js → eds-footer.entry-Bjxl2Jps.js} +1 -1
- package/{eds-footer.entry-O4WhRYcJ.mjs → eds-footer.entry-lgz63hSP.mjs} +4 -3
- package/{eds-frame.entry-yy7X8E4S.mjs → eds-frame.entry-BtnzcxcH.mjs} +2 -2
- package/{eds-frame.entry-CCDA7rKc.js → eds-frame.entry-DdG1oAra.js} +1 -1
- package/{eds-fullscreen-menu.entry-DtHZDyqq.mjs → eds-fullscreen-menu.entry-DAZhoTND.mjs} +13 -4
- package/{eds-fullscreen-menu.entry-CF6sYL-d.js → eds-fullscreen-menu.entry-DvDq0ito.js} +1 -1
- package/{eds-gauge.entry-DgR6biCB.js → eds-gauge.entry-CfR1mVTp.js} +1 -1
- package/{eds-gauge.entry-SqDl-Nwl.mjs → eds-gauge.entry-DK8rYXuW.mjs} +6 -6
- package/eds-icon-arrow-diagonal.entry-CXOMAu9e.mjs +13 -0
- package/eds-icon-arrow-diagonal.entry-DaV9bL-M.js +1 -0
- package/eds-icon-arrow-right.entry-BTH9oT9d.mjs +13 -0
- package/{eds-icon-arrow-right.entry-D_VYbRHi.js → eds-icon-arrow-right.entry-DR_GKz4u.js} +1 -1
- package/eds-icon-bin.entry-B3Pqgz5d.mjs +13 -0
- package/eds-icon-bin.entry-C8xRiMW-.js +1 -0
- package/eds-icon-bluesky.entry-D6Ur1xha.js +1 -0
- package/eds-icon-bluesky.entry-dIkmKjZq.mjs +13 -0
- package/eds-icon-bookmark.entry-CatvnZ8D.js +1 -0
- package/eds-icon-bookmark.entry-MgB9aDYp.mjs +13 -0
- package/{eds-icon-chevron-down.entry-C2SxKpXf.js → eds-icon-chevron-down.entry-DCKfsEzK.js} +1 -1
- package/eds-icon-chevron-down.entry-JIk8kgjp.mjs +13 -0
- package/eds-icon-chevron-left.entry-Cejb7CVs.mjs +13 -0
- package/eds-icon-chevron-left.entry-Cpvz8_qB.js +1 -0
- package/{eds-icon-chevron-right.entry-CR-NcmsN.js → eds-icon-chevron-right.entry-3iaetQU7.js} +1 -1
- package/eds-icon-chevron-right.entry-DlEcC-dY.mjs +13 -0
- package/eds-icon-chevron-up.entry-BxklMpW7.js +1 -0
- package/eds-icon-chevron-up.entry-CQz9dAna.mjs +13 -0
- package/eds-icon-clone.entry-Cj8jelGI.mjs +13 -0
- package/eds-icon-clone.entry-pNMtVvVy.js +1 -0
- package/{eds-icon-close.entry-CrBjb8rR.js → eds-icon-close.entry-CVZtnr71.js} +1 -1
- package/eds-icon-close.entry-vsUXoSdD.mjs +13 -0
- package/eds-icon-copy.entry-BdVqL5HQ.js +1 -0
- package/eds-icon-copy.entry-DJlXZz7u.mjs +13 -0
- package/eds-icon-download.entry-BRgYY00f.mjs +13 -0
- package/eds-icon-download.entry-CUqWSODa.js +1 -0
- package/eds-icon-draft.entry-9l1r2S0_.mjs +13 -0
- package/{eds-icon-draft.entry-DTwKZsPF.js → eds-icon-draft.entry-D0pZIef2.js} +1 -1
- package/eds-icon-edit.entry-BLEILlWL.js +1 -0
- package/eds-icon-edit.entry-Fw9tQGLT.mjs +13 -0
- package/eds-icon-eu.entry-S2sljASu.js +1 -0
- package/eds-icon-eu.entry-tLS0bERD.mjs +13 -0
- package/eds-icon-external.entry-7gQYFOgK.mjs +13 -0
- package/eds-icon-external.entry-DMreALlL.js +1 -0
- package/eds-icon-facebook.entry-BVfjOI-r.mjs +13 -0
- package/{eds-icon-facebook.entry-4y4BctUa.js → eds-icon-facebook.entry-DEsgrVAe.js} +1 -1
- package/eds-icon-gitlab.entry-BZHD0dyy.js +1 -0
- package/eds-icon-gitlab.entry-BxpM3-zK.mjs +13 -0
- package/{eds-icon-linkedin.entry-Bx-A1duw.js → eds-icon-linkedin.entry-BFb_55Kg.js} +1 -1
- package/eds-icon-linkedin.entry-xthdjkIl.mjs +13 -0
- package/eds-icon-loader.entry-BmCBWSnQ.mjs +13 -0
- package/{eds-icon-loader.entry-DnuBRqo5.js → eds-icon-loader.entry-CjtBdDRx.js} +1 -1
- package/eds-icon-mastodon.entry-BsU1549V.js +1 -0
- package/eds-icon-mastodon.entry-CTY46s8O.mjs +13 -0
- package/eds-icon-menu.entry-BQE60FWM.js +1 -0
- package/eds-icon-menu.entry-CM_oV7jr.mjs +13 -0
- package/eds-icon-minus.entry-4uG0EFSV.mjs +13 -0
- package/eds-icon-minus.entry-Dj8YNAz6.js +1 -0
- package/eds-icon-more.entry-BC7vBEMh.mjs +13 -0
- package/{eds-icon-more.entry-CYQPuQBf.js → eds-icon-more.entry-BqnW_B0X.js} +1 -1
- package/{eds-icon-paper.entry-C5_tx_LJ.mjs → eds-icon-paper.entry-2HOzYzPp.mjs} +2 -2
- package/{eds-icon-paper.entry-ByP2JwTC.js → eds-icon-paper.entry-CamD3jYB.js} +1 -1
- package/{eds-icon-plus.entry-CjOUxhhP.js → eds-icon-plus.entry-Dmukl4FF.js} +1 -1
- package/eds-icon-plus.entry-Fze8JWzj.mjs +13 -0
- package/eds-icon-portal.entry-Bf7uGtTv.mjs +13 -0
- package/eds-icon-portal.entry-DEranrXL.js +1 -0
- package/eds-icon-private.entry--VmMOwfZ.mjs +13 -0
- package/{eds-icon-private.entry-BwrO_ats.js → eds-icon-private.entry-uZ04Kx8T.js} +1 -1
- package/{eds-icon-public.entry-C7hBwcsg.js → eds-icon-public.entry-BosU_BdI.js} +1 -1
- package/{eds-icon-public.entry-DLbLVSU7.mjs → eds-icon-public.entry-cH-eMcFb.mjs} +2 -2
- package/eds-icon-search.entry-D1MRPqBb.mjs +13 -0
- package/{eds-icon-search.entry-btOzRpIs.js → eds-icon-search.entry-DXMAgZtb.js} +1 -1
- package/eds-icon-star.entry-BCztkxPy.mjs +13 -0
- package/{eds-icon-star.entry-Cy9Xk77_.js → eds-icon-star.entry-DcrtQrp6.js} +1 -1
- package/{eds-icon-start.entry-CPGXVOvj.js → eds-icon-start.entry-BOGqI_Zx.js} +1 -1
- package/{eds-icon-start.entry-XN6qm84u.mjs → eds-icon-start.entry-BligjraL.mjs} +2 -2
- package/eds-icon-success.entry-CkZ-hQg_.mjs +13 -0
- package/{eds-icon-success.entry-D5IJTkOm.js → eds-icon-success.entry-KtxWn1RS.js} +1 -1
- package/{eds-icon-thumbs-down.entry-ylrl8WSt.js → eds-icon-thumbs-down.entry-4MLWZzFs.js} +1 -1
- package/eds-icon-thumbs-down.entry-ZPrwU1lc.mjs +13 -0
- package/{eds-icon-thumbs-up.entry-nISBVRFR.js → eds-icon-thumbs-up.entry-Bq_-hCP9.js} +1 -1
- package/eds-icon-thumbs-up.entry-CNfdKYCe.mjs +13 -0
- package/eds-icon-tutorial.entry-i2jr4Oh6.js +1 -0
- package/eds-icon-tutorial.entry-iIVFjAdC.mjs +13 -0
- package/{eds-icon-twitter.entry-B3GfLRDy.js → eds-icon-twitter.entry-CBQzsZQg.js} +1 -1
- package/{eds-icon-twitter.entry-CPgtDlbk.mjs → eds-icon-twitter.entry-CsGrYx_N.mjs} +2 -2
- package/{eds-icon-unknown.entry-DjHNZVUB.js → eds-icon-unknown.entry-IdG8hRR5.js} +1 -1
- package/eds-icon-unknown.entry-bdjmAxgB.mjs +13 -0
- package/eds-icon-updown.entry-CLfhJP-T.mjs +13 -0
- package/eds-icon-updown.entry-CW02FgUY.js +1 -0
- package/eds-icon-user.entry-BP2yTD78.mjs +13 -0
- package/{eds-icon-user.entry-PoziW4x3.js → eds-icon-user.entry-Cub0XchX.js} +1 -1
- package/{eds-icon-view.entry-BFfkRuiG.js → eds-icon-view.entry-C2TAG_UB.js} +1 -1
- package/eds-icon-view.entry-DFYbsvF3.mjs +13 -0
- package/{eds-icon-youtube.entry-JleTUS-Y.mjs → eds-icon-youtube.entry-B-MgX6q3.mjs} +2 -2
- package/eds-icon-youtube.entry-BaNHFvIO.js +1 -0
- package/{eds-modal.entry-zPegafUx.mjs → eds-modal.entry-D-mwZo-T.mjs} +5 -5
- package/{eds-modal.entry-CRN7MYt1.js → eds-modal.entry-sR4mB0iD.js} +1 -1
- package/{eds-pie.entry-CATOWI0B.mjs → eds-pie.entry-Ao341DGu.mjs} +1 -1
- package/{eds-pie.entry-B0wT5LM4.js → eds-pie.entry-C6II_yNh.js} +1 -1
- package/{eds-progress-bar.entry-y3FyT6TM.mjs → eds-progress-bar.entry-BFTP8aYS.mjs} +2 -2
- package/{eds-progress-bar.entry-CDjnEVBN.js → eds-progress-bar.entry-DGXjsgeL.js} +1 -1
- package/eds-section-core_2.entry-BKg81SPT.js +1 -0
- package/{eds-section-core_2.entry-DyAS0Naq.mjs → eds-section-core_2.entry-BTgmBGl8.mjs} +9 -9
- package/{eds-social-networks.entry-B3belpvZ.mjs → eds-social-networks.entry-D8eDVJPb.mjs} +5 -5
- package/{eds-social-networks.entry-C_kag4_n.js → eds-social-networks.entry-xLqCID8a.js} +1 -1
- package/{eds-splash-screen.entry-Db0zsF_d.js → eds-splash-screen.entry-ClPuRKUl.js} +1 -1
- package/{eds-splash-screen.entry-CjBoVdrh.mjs → eds-splash-screen.entry-DmCV3MXi.mjs} +1 -1
- package/{eds-timeline.entry-C1WErP58.js → eds-timeline.entry-BaQUehpq.js} +1 -1
- package/{eds-timeline.entry-BGV1FUKt.mjs → eds-timeline.entry-W8FoF5oJ.mjs} +5 -5
- package/{eds-toast-manager.entry-9cy0H8uM.mjs → eds-toast-manager.entry-DUVenNyT.mjs} +5 -5
- package/{eds-toast-manager.entry-CwzPpw0l.js → eds-toast-manager.entry-DWl9fgn0.js} +1 -1
- package/eds-trl.entry-D6vG2mWW.mjs +34 -0
- package/eds-trl.entry-DBwTKTxt.js +1 -0
- package/generated/components.d.ts +1 -0
- package/incorrect-use-of-colors.entry-Cl2NX0X-.js +1 -0
- package/incorrect-use-of-colors.entry-DnHqa9-r.mjs +42 -0
- package/{index-zMBfbHLg.mjs → index-D2V9qb42.mjs} +290 -284
- package/index-D7ZVgmVD.js +21 -0
- package/index.js +1 -1
- package/index.mjs +24 -23
- package/{logo-space.entry-B3Lwt36T.js → logo-space.entry-CMTLV21z.js} +2 -2
- package/{logo-space.entry-BHFG582d.mjs → logo-space.entry-Co_MaYMy.mjs} +8 -8
- package/{logo-variations-horizontal_2.entry-C7AnrYqe.js → logo-variations-horizontal_2.entry-BAN1YWPa.js} +3 -3
- package/{logo-variations-horizontal_2.entry-BgkvC6Q-.mjs → logo-variations-horizontal_2.entry-CAfr9XEN.mjs} +6 -6
- package/{logo-variations-tabs.entry-DLkztWGS.js → logo-variations-tabs.entry-Bgh0bg85.js} +1 -1
- package/{logo-variations-tabs.entry-D0ufjbtA.mjs → logo-variations-tabs.entry-DT1PF7O4.mjs} +4 -4
- package/{logo-wrong-usage.entry-Dw8WVNFn.js → logo-wrong-usage.entry-CnFwuEO4.js} +1 -1
- package/{logo-wrong-usage.entry-CzqF7MpW.mjs → logo-wrong-usage.entry-DY5zb6ul.mjs} +5 -5
- package/package.json +1 -1
- package/{svg-repository.entry-DI30qfdW.js → svg-repository.entry-D06o8plo.js} +2 -2
- package/{svg-repository.entry-CitErce_.mjs → svg-repository.entry-ox1iNbzZ.mjs} +21 -21
- package/{token-list_3.entry-DfE5zqbR.js → token-list_3.entry-0hJzShZ3.js} +1 -1
- package/{token-list_3.entry-BeAswWRv.mjs → token-list_3.entry-BWuV9Gkz.mjs} +12 -12
- package/{token-ratios.entry-CSajlciv.js → token-ratios.entry-6CAy6F1y.js} +1 -1
- package/{token-ratios.entry-Dep7U0gG.mjs → token-ratios.entry-D9oauoqY.mjs} +4 -4
- package/token-spacing.entry-CG_jcajr.js +1 -0
- package/token-spacing.entry-DIG10-RZ.mjs +12 -0
- package/{token-typography.entry-3pnmu6Th.js → token-typography.entry-DgYpzqvE.js} +2 -2
- package/{token-typography.entry-hhzhalzj.mjs → token-typography.entry-DzlUlv-t.mjs} +2 -2
- package/color-primary-palette_6.entry-CemzaBr-.js +0 -1
- package/eds-app-root.entry-CrY-WJje.mjs +0 -25
- package/eds-app-root.entry-DVCAcXjR.js +0 -1
- package/eds-card-generic.entry-DYbxznji.js +0 -1
- package/eds-card-tags.entry-CqExaEH9.js +0 -1
- package/eds-icon-arrow-diagonal.entry-B85Lm6xR.mjs +0 -13
- package/eds-icon-arrow-diagonal.entry-CRE9IEVe.js +0 -1
- package/eds-icon-arrow-right.entry-jo6pk2Mw.mjs +0 -13
- package/eds-icon-bin.entry-ApnGHgNg.mjs +0 -13
- package/eds-icon-bin.entry-V9yPQvqx.js +0 -1
- package/eds-icon-bluesky.entry-DYJLOxdI.js +0 -1
- package/eds-icon-bluesky.entry-bb69dfjJ.mjs +0 -13
- package/eds-icon-bookmark.entry-BDqFijZE.mjs +0 -13
- package/eds-icon-bookmark.entry-CdwVF1SC.js +0 -1
- package/eds-icon-chevron-down.entry-C8unBsMz.mjs +0 -13
- package/eds-icon-chevron-left.entry-B0VTiW-i.mjs +0 -13
- package/eds-icon-chevron-left.entry-C-qcjtUg.js +0 -1
- package/eds-icon-chevron-right.entry-Bjf1CBxA.mjs +0 -13
- package/eds-icon-chevron-up.entry-CzG5C7Bc.js +0 -1
- package/eds-icon-chevron-up.entry-DjYPrwgy.mjs +0 -13
- package/eds-icon-clone.entry-Da0USwOw.mjs +0 -13
- package/eds-icon-clone.entry-f_7LDRLs.js +0 -1
- package/eds-icon-close.entry-CJwrThK_.mjs +0 -13
- package/eds-icon-copy.entry-DhkJMXQn.mjs +0 -13
- package/eds-icon-copy.entry-jQf4OtN_.js +0 -1
- package/eds-icon-download.entry-BhNKX0UC.js +0 -1
- package/eds-icon-download.entry-DpaF0QTI.mjs +0 -13
- package/eds-icon-draft.entry-6Tj-gveL.mjs +0 -13
- package/eds-icon-edit.entry-B0YHmjwF.mjs +0 -13
- package/eds-icon-edit.entry-C5sh6g5Z.js +0 -1
- package/eds-icon-eu.entry-DyDVeH2d.mjs +0 -13
- package/eds-icon-eu.entry-pgzCdT5C.js +0 -1
- package/eds-icon-external.entry-2P4eBckq.mjs +0 -13
- package/eds-icon-external.entry-CZthijDc.js +0 -1
- package/eds-icon-facebook.entry-DV6Fwx8p.mjs +0 -13
- package/eds-icon-gitlab.entry-BkFVzAfz.js +0 -1
- package/eds-icon-gitlab.entry-OhzOPbyK.mjs +0 -13
- package/eds-icon-linkedin.entry-X9QkofDx.mjs +0 -13
- package/eds-icon-loader.entry-C3Rayn-0.mjs +0 -13
- package/eds-icon-mastodon.entry-BCe9SCxw.js +0 -1
- package/eds-icon-mastodon.entry-wjbJA4hE.mjs +0 -13
- package/eds-icon-menu.entry-BT4aDecT.js +0 -1
- package/eds-icon-menu.entry-DAPAzjBz.mjs +0 -13
- package/eds-icon-minus.entry-CCqn-nAg.mjs +0 -13
- package/eds-icon-minus.entry-CIIi8Ss6.js +0 -1
- package/eds-icon-more.entry-FIfzMSYr.mjs +0 -13
- package/eds-icon-plus.entry-DRxN5pfr.mjs +0 -13
- package/eds-icon-portal.entry-BGL8Ll7D.mjs +0 -13
- package/eds-icon-portal.entry-D2jv2hrt.js +0 -1
- package/eds-icon-private.entry-CDsrtoYz.mjs +0 -13
- package/eds-icon-search.entry-BFjXBxOa.mjs +0 -13
- package/eds-icon-star.entry-BSsquaZI.mjs +0 -13
- package/eds-icon-success.entry-CPnIUgZZ.mjs +0 -13
- package/eds-icon-thumbs-down.entry-BlSAzpfJ.mjs +0 -13
- package/eds-icon-thumbs-up.entry-BgXvsekI.mjs +0 -13
- package/eds-icon-tutorial.entry-CqSMInIr.js +0 -1
- package/eds-icon-tutorial.entry-Dqw0QYmo.mjs +0 -13
- package/eds-icon-unknown.entry-CBRF3YxA.mjs +0 -13
- package/eds-icon-updown.entry-C9uhFoly.mjs +0 -13
- package/eds-icon-updown.entry-qV4ZG5JV.js +0 -1
- package/eds-icon-user.entry-zjaW2Q3v.mjs +0 -13
- package/eds-icon-view.entry-DEYe7yd6.mjs +0 -13
- package/eds-icon-youtube.entry-BEPXgZdd.js +0 -1
- package/eds-section-core_2.entry-BXish6d6.js +0 -1
- package/eds-spinner.entry-BVH3nJGV.mjs +0 -68
- package/eds-spinner.entry-DOlNswYW.js +0 -1
- package/eds-trl.entry-Bc4qa039.mjs +0 -34
- package/eds-trl.entry-CVqrrjQt.js +0 -1
- package/incorrect-use-of-colors.entry-Dp2AzvlN.js +0 -1
- package/incorrect-use-of-colors.entry-DwsyOaOT.mjs +0 -42
- package/index-3WUP5575.js +0 -21
- package/token-spacing.entry-BAxEZAs8.mjs +0 -12
- package/token-spacing.entry-BeuEMK-8.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-D2V9qb42.mjs";
|
|
2
|
+
import { s as A, 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(), A({
|
|
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,
|
|
214
|
+
}`, Fn = zn, In = P(["w-full bg-dark"], {
|
|
215
215
|
variants: {
|
|
216
216
|
intent: {
|
|
217
217
|
default: "",
|
|
@@ -259,9 +259,9 @@ p {
|
|
|
259
259
|
brd: "rounded",
|
|
260
260
|
direction: "horizontal"
|
|
261
261
|
}
|
|
262
|
-
}),
|
|
262
|
+
}), An = 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,18 +285,18 @@ 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: In({
|
|
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);
|
|
297
297
|
}
|
|
298
298
|
};
|
|
299
|
-
|
|
299
|
+
An.style = Fn;
|
|
300
300
|
const Ln = `::before,
|
|
301
301
|
::after {
|
|
302
302
|
box-sizing: border-box;
|
|
@@ -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,11 +638,11 @@ const Dn = "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
|
-
const { fullLabel: l } = this.getLabels(e, r),
|
|
645
|
-
return i("eds-link", Object.assign({ label: l, url: e.url, intent:
|
|
644
|
+
const { fullLabel: l } = this.getLabels(e, r), a = r ? this.intent === "strong" ? "weak" : this.intent === "weak" ? "strong" : this.intent : this.intent;
|
|
645
|
+
return i("eds-link", Object.assign({ label: l, url: e.url, intent: a, disabled: r, current: r, "aria-label": l, size: "small", "icon-small": "false" }, r ? { "aria-current": "page" } : {}));
|
|
646
646
|
})(), !r && !e.isHidden && i("eds-icon-wrapper", { icon: "chevron-right", class: "w-20 h-20" }));
|
|
647
647
|
})));
|
|
648
648
|
}
|
|
@@ -655,7 +655,7 @@ const Dn = "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
|
+
A({
|
|
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,
|
|
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
2256
|
var f = new _();
|
|
2257
|
-
return
|
|
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,94 +2288,94 @@ 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
|
|
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, I = h.next, T = f; I !== d.tail && !(u && T >= u.reach); T += I.value.length, I = I.next) {
|
|
2350
|
+
var N = I.value;
|
|
2351
|
+
if (d.length > c.length)
|
|
2352
2352
|
return;
|
|
2353
|
-
if (!(
|
|
2353
|
+
if (!(N instanceof b)) {
|
|
2354
2354
|
var W = 1, L;
|
|
2355
2355
|
if (J) {
|
|
2356
|
-
if (L =
|
|
2356
|
+
if (L = k(Q, T, c, Z), !L || L.index >= c.length)
|
|
2357
2357
|
break;
|
|
2358
|
-
var B = L.index,
|
|
2359
|
-
for (
|
|
2360
|
-
|
|
2361
|
-
if (
|
|
2358
|
+
var B = L.index, gn = L.index + L[0].length, $ = T;
|
|
2359
|
+
for ($ += I.value.length; B >= $; )
|
|
2360
|
+
I = I.next, $ += I.value.length;
|
|
2361
|
+
if ($ -= I.value.length, T = $, I.value instanceof b)
|
|
2362
2362
|
continue;
|
|
2363
|
-
for (var H =
|
|
2364
|
-
W++,
|
|
2365
|
-
W--,
|
|
2366
|
-
} else if (L =
|
|
2363
|
+
for (var H = I; 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 = L.index, q = L[0], V =
|
|
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 = I.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 (I = O(d, M, hn), nn && O(d, I, 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, I.prev, T, Y), u && Y.reach > u.reach && (u.reach = Y.reach);
|
|
2379
2379
|
}
|
|
2380
2380
|
}
|
|
2381
2381
|
}
|
|
@@ -2383,38 +2383,38 @@ var rn = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : t
|
|
|
2383
2383
|
}
|
|
2384
2384
|
}
|
|
2385
2385
|
function _() {
|
|
2386
|
-
var
|
|
2387
|
-
|
|
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: {
|
|
@@ -2507,22 +2507,22 @@ var rn = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : t
|
|
|
2507
2507
|
* @example
|
|
2508
2508
|
* addInlined('style', 'css');
|
|
2509
2509
|
*/
|
|
2510
|
-
value: function(l,
|
|
2511
|
-
var
|
|
2512
|
-
|
|
2510
|
+
value: function(l, a) {
|
|
2511
|
+
var s = {};
|
|
2512
|
+
s["language-" + a] = {
|
|
2513
2513
|
pattern: /(^<!\[CDATA\[)[\s\S]+?(?=\]\]>$)/i,
|
|
2514
2514
|
lookbehind: !0,
|
|
2515
|
-
inside: t.languages[
|
|
2516
|
-
},
|
|
2517
|
-
var
|
|
2515
|
+
inside: t.languages[a]
|
|
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
|
-
inside: t.languages[
|
|
2525
|
+
inside: t.languages[a]
|
|
2526
2526
|
};
|
|
2527
2527
|
var b = {};
|
|
2528
2528
|
b[l] = {
|
|
@@ -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", {
|
|
@@ -2628,8 +2628,8 @@ var rn = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : t
|
|
|
2628
2628
|
},
|
|
2629
2629
|
punctuation: /[(){};:,]/
|
|
2630
2630
|
}, r.languages.css.atrule.inside.rest = r.languages.css;
|
|
2631
|
-
var
|
|
2632
|
-
|
|
2631
|
+
var a = r.languages.markup;
|
|
2632
|
+
a && (a.tag.addInlined("style", "css"), a.tag.addAttribute("style", "css"));
|
|
2633
2633
|
}(t), t.languages.clike = {
|
|
2634
2634
|
comment: [
|
|
2635
2635
|
{
|
|
@@ -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
|
-
},
|
|
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
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,22 +3153,22 @@ Prism.languages.py = Prism.languages.python;
|
|
|
3153
3153
|
"operator",
|
|
3154
3154
|
"punctuation",
|
|
3155
3155
|
"number"
|
|
3156
|
-
],
|
|
3157
|
-
|
|
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
|
-
}),
|
|
3164
|
-
function
|
|
3163
|
+
}), a = /"(?:[^"\\\r\n]|\\.)*"|'(?:[^'\\\r\n]|\\.)*'/.source;
|
|
3164
|
+
function s(o, b) {
|
|
3165
3165
|
b = (b || "").replace(/m/g, "") + "m";
|
|
3166
|
-
var
|
|
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
|
-
return RegExp(
|
|
3171
|
+
return RegExp(k, b);
|
|
3172
3172
|
}
|
|
3173
3173
|
n.languages.yaml = {
|
|
3174
3174
|
scalar: {
|
|
@@ -3183,7 +3183,7 @@ Prism.languages.py = Prism.languages.python;
|
|
|
3183
3183
|
pattern: RegExp(/((?:^|[:\-,[{\r\n?])[ \t]*(?:<<prop>>[ \t]+)?)<<key>>(?=\s*:\s)/.source.replace(/<<prop>>/g, function() {
|
|
3184
3184
|
return r;
|
|
3185
3185
|
}).replace(/<<key>>/g, function() {
|
|
3186
|
-
return "(?:" + l + "|" +
|
|
3186
|
+
return "(?:" + l + "|" + a + ")";
|
|
3187
3187
|
})),
|
|
3188
3188
|
lookbehind: !0,
|
|
3189
3189
|
greedy: !0,
|
|
@@ -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 }), A({
|
|
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,
|
|
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
|
|
3431
|
-
var b,
|
|
3432
|
-
return ((
|
|
3433
|
-
}).flatMap((
|
|
3455
|
+
function an(n, e, t) {
|
|
3456
|
+
const a = Array.from(t.querySelectorAll("eds-input-field")).filter((o) => {
|
|
3457
|
+
var b, k;
|
|
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 && !
|
|
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 = [],
|
|
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
|
-
if (!
|
|
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"));
|
|
@@ -3471,44 +3497,44 @@ function Kn(n) {
|
|
|
3471
3497
|
}
|
|
3472
3498
|
function Zn(n, e, t, r) {
|
|
3473
3499
|
const l = {};
|
|
3474
|
-
let
|
|
3475
|
-
return n.forEach((
|
|
3476
|
-
var
|
|
3477
|
-
if (!r(
|
|
3478
|
-
delete l[
|
|
3500
|
+
let a = !1;
|
|
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
|
|
3492
|
-
_.length > 0 && (l[
|
|
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
|
|
3498
|
-
isNaN(_) &&
|
|
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
|
|
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
|
-
}), { errors: l, hasError:
|
|
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,
|
|
@@ -3519,13 +3545,13 @@ function Qn({
|
|
|
3519
3545
|
}) {
|
|
3520
3546
|
const r = Object.assign({}, t);
|
|
3521
3547
|
return e.forEach((l) => {
|
|
3522
|
-
const
|
|
3523
|
-
|
|
3548
|
+
const a = n[l.name];
|
|
3549
|
+
a !== void 0 && (r[l.name] = a);
|
|
3524
3550
|
}), { updatedValues: r };
|
|
3525
3551
|
}
|
|
3526
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,12 +3609,12 @@ 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
|
|
3587
|
-
n.append(r.name,
|
|
3612
|
+
const a = Array.from(t.shadowRoot.querySelectorAll(`input[name="${r.name}"]:checked`)).map((s) => s.value);
|
|
3613
|
+
n.append(r.name, a.join(","));
|
|
3588
3614
|
} else if (r.type === "file") {
|
|
3589
3615
|
const l = r;
|
|
3590
|
-
l.files && l.files.length > 0 && Array.from(l.files).forEach((
|
|
3591
|
-
n.append(l.name,
|
|
3616
|
+
l.files && l.files.length > 0 && Array.from(l.files).forEach((a) => {
|
|
3617
|
+
n.append(l.name, a);
|
|
3592
3618
|
});
|
|
3593
3619
|
} else
|
|
3594
3620
|
n.append(r.name, r.value);
|
|
@@ -3596,18 +3622,28 @@ 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;
|
|
3603
3639
|
}
|
|
3604
3640
|
handleChange(n, e) {
|
|
3605
3641
|
const t = n.target;
|
|
3606
3642
|
let r = t.value;
|
|
3607
3643
|
if (t.type === "checkbox") {
|
|
3608
3644
|
const l = this.values[e.name] || "";
|
|
3609
|
-
let
|
|
3610
|
-
t.checked ?
|
|
3645
|
+
let a = l ? l.split(",") : [];
|
|
3646
|
+
t.checked ? a.includes(t.value) || a.push(t.value) : a = a.filter((s) => s !== t.value), r = a.join(",");
|
|
3611
3647
|
} else if (t.type === "radio") {
|
|
3612
3648
|
if (!t.checked)
|
|
3613
3649
|
return;
|
|
@@ -3625,8 +3661,8 @@ const ne = ".container{width:calc(var(--container-width, 100%) - (2 * var(--brea
|
|
|
3625
3661
|
const t = n.target;
|
|
3626
3662
|
if (t.type === "radio" && !t.checked)
|
|
3627
3663
|
return;
|
|
3628
|
-
const r = t.value, l = Object.assign({}, this.errors),
|
|
3629
|
-
|
|
3664
|
+
const r = t.value, l = Object.assign({}, this.errors), a = Jn(e, t.value, this.formEl);
|
|
3665
|
+
a.length > 0 ? l[e.name] = a : delete l[e.name], this.errors = l, this.hasError = Object.keys(l).length > 0, this.form.emit({
|
|
3630
3666
|
event: "input",
|
|
3631
3667
|
field: e.name,
|
|
3632
3668
|
value: r,
|
|
@@ -3656,9 +3692,9 @@ const ne = ".container{width:calc(var(--container-width, 100%) - (2 * var(--brea
|
|
|
3656
3692
|
message: `${e.name} updated`
|
|
3657
3693
|
});
|
|
3658
3694
|
}
|
|
3659
|
-
handleSubmit() {
|
|
3660
|
-
var
|
|
3661
|
-
if (!this.isSubmitting) {
|
|
3695
|
+
handleSubmit(n) {
|
|
3696
|
+
var e, t;
|
|
3697
|
+
if (n == null || n.preventDefault(), !this.isSubmitting) {
|
|
3662
3698
|
if (this.isSubmitting = !0, this.validateForm(), this.hasError) {
|
|
3663
3699
|
this.isSubmitting = !1, this.form.emit({
|
|
3664
3700
|
event: "submit",
|
|
@@ -3666,11 +3702,11 @@ const ne = ".container{width:calc(var(--container-width, 100%) - (2 * var(--brea
|
|
|
3666
3702
|
success: !1,
|
|
3667
3703
|
message: this.errorMessage
|
|
3668
3704
|
//data: this.makeFormData()
|
|
3669
|
-
}),
|
|
3705
|
+
}), A({
|
|
3670
3706
|
category: "ui-component",
|
|
3671
3707
|
parentContext: null,
|
|
3672
3708
|
tag: this.el.tagName.toLowerCase(),
|
|
3673
|
-
name: `${(
|
|
3709
|
+
name: `${(e = this.formBtnLabel) === null || e === void 0 ? void 0 : e.toLowerCase()}/non-validated` || "",
|
|
3674
3710
|
action: "click"
|
|
3675
3711
|
});
|
|
3676
3712
|
return;
|
|
@@ -3681,11 +3717,11 @@ const ne = ".container{width:calc(var(--container-width, 100%) - (2 * var(--brea
|
|
|
3681
3717
|
validated: !0,
|
|
3682
3718
|
message: "Form data validated successfully"
|
|
3683
3719
|
//data: this.getFormData()
|
|
3684
|
-
}),
|
|
3720
|
+
}), A({
|
|
3685
3721
|
category: "ui-component",
|
|
3686
3722
|
parentContext: null,
|
|
3687
3723
|
tag: this.el.tagName.toLowerCase(),
|
|
3688
|
-
name: `${(
|
|
3724
|
+
name: `${(t = this.formBtnLabel) === null || t === void 0 ? void 0 : t.toLowerCase()}/validated` || "",
|
|
3689
3725
|
action: "click"
|
|
3690
3726
|
}), this.errors = {}, this.formEl.reset(), this.isSubmitting = !1;
|
|
3691
3727
|
}
|
|
@@ -3705,7 +3741,7 @@ const ne = ".container{width:calc(var(--container-width, 100%) - (2 * var(--brea
|
|
|
3705
3741
|
return null;
|
|
3706
3742
|
if (n.type === "rating") {
|
|
3707
3743
|
const l = this.values[n.name] || 0;
|
|
3708
|
-
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: (
|
|
3744
|
+
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 })));
|
|
3709
3745
|
} else if (n.type === "nps")
|
|
3710
3746
|
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] })));
|
|
3711
3747
|
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) });
|
|
@@ -3715,7 +3751,7 @@ const ne = ".container{width:calc(var(--container-width, 100%) - (2 * var(--brea
|
|
|
3715
3751
|
}
|
|
3716
3752
|
render() {
|
|
3717
3753
|
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" : "";
|
|
3718
|
-
return i("form", { key: "
|
|
3754
|
+
return i("form", { key: "0b7014a7e6c641f2abc6217d919583dafce50067", class: t, ref: (r) => this.formEl = r, autocomplete: "on", onSubmit: this.handleSubmit }, i("div", { key: "3beaa87c72ac60e37bf5c7093b8a3f5b54c9eb4b", class: "flex flex-col gap-y-24" }, this.title && i("span", { key: "5d07685b0e31419d442765c230f9cd2373ce2773", role: "heading", class: "f-heading-04" }, this.title), this.description && i("span", { key: "13fe635ea00fa3c950951f1df37549fa75341666", class: "f-body-02 text-light" }, this.description), i("slot", { key: "5e62b8844536ef127ce2565e4167766bf6d5ba4d" })), 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: "831b919b0784a671596678392fe5aa0433af35a5", class: "flex flex-col mt-32 gap-y-24" }, e.__ungrouped.map((r) => this.renderField(r))), this.formBtn && i("div", { key: "bdddee0aa0899c9cea3ce737f30f1e25ce8d95c5", class: "mt-32" }, i("eds-button", { key: "f9a61383079b998dc98558d85b93e30aa32a3eeb", intent: this.buttonIntent, label: this.formBtnLabel, disabled: this.isSubmitting, loading: this.isSubmitting, onClick: () => this.handleSubmit() })));
|
|
3719
3755
|
}
|
|
3720
3756
|
get el() {
|
|
3721
3757
|
return y(this);
|
|
@@ -3728,16 +3764,118 @@ const ne = ".container{width:calc(var(--container-width, 100%) - (2 * var(--brea
|
|
|
3728
3764
|
}
|
|
3729
3765
|
};
|
|
3730
3766
|
te.style = ee;
|
|
3731
|
-
const ie = "
|
|
3767
|
+
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 {
|
|
3732
3768
|
constructor(n) {
|
|
3733
|
-
|
|
3769
|
+
m(this, n), this.resultSelected = v(this, "resultSelected", 7), this.searchClosed = v(this, "searchClosed", 7), this.handleInput = (e) => {
|
|
3770
|
+
var t;
|
|
3771
|
+
const r = e.target;
|
|
3772
|
+
if (this.query = r.value, this.debounceTimer && clearTimeout(this.debounceTimer), !this.query.trim()) {
|
|
3773
|
+
this.results = [], this.hasSearched = !1, this.showDropdown = !1;
|
|
3774
|
+
return;
|
|
3775
|
+
}
|
|
3776
|
+
A({
|
|
3777
|
+
category: "shared-ui",
|
|
3778
|
+
parentContext: null,
|
|
3779
|
+
tag: this.el.tagName.toLowerCase(),
|
|
3780
|
+
name: `search-input: ${(t = this.query) === null || t === void 0 ? void 0 : t.toLowerCase()}` || "unknow seach input query",
|
|
3781
|
+
action: "click"
|
|
3782
|
+
}), this.debounceTimer = window.setTimeout(() => {
|
|
3783
|
+
this.runSearch();
|
|
3784
|
+
}, this.debounceDelay);
|
|
3785
|
+
}, 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;
|
|
3734
3786
|
}
|
|
3735
|
-
|
|
3736
|
-
|
|
3737
|
-
|
|
3787
|
+
componentDidLoad() {
|
|
3788
|
+
this.inputRef && this.inputRef.focus();
|
|
3789
|
+
}
|
|
3790
|
+
disconnectedCallback() {
|
|
3791
|
+
this.debounceTimer && clearTimeout(this.debounceTimer);
|
|
3792
|
+
}
|
|
3793
|
+
handleDocumentClick(n) {
|
|
3794
|
+
n.composedPath().includes(this.el) || (this.showDropdown = !1, this.selectedIndex = -1);
|
|
3795
|
+
}
|
|
3796
|
+
handleKeydown(n) {
|
|
3797
|
+
if (!this.showDropdown || this.results.length === 0) {
|
|
3798
|
+
n.key === "Escape" && this.searchClosed.emit();
|
|
3799
|
+
return;
|
|
3800
|
+
}
|
|
3801
|
+
switch (n.key) {
|
|
3802
|
+
case "ArrowDown":
|
|
3803
|
+
n.preventDefault(), this.selectedIndex = Math.min(this.selectedIndex + 1, this.results.length - 1), this.scrollToSelected();
|
|
3804
|
+
break;
|
|
3805
|
+
case "ArrowUp":
|
|
3806
|
+
n.preventDefault(), this.selectedIndex = Math.max(this.selectedIndex - 1, -1), this.scrollToSelected();
|
|
3807
|
+
break;
|
|
3808
|
+
case "Enter":
|
|
3809
|
+
n.preventDefault(), this.selectedIndex >= 0 && this.selectedIndex < this.results.length && this.selectResult(this.results[this.selectedIndex]);
|
|
3810
|
+
break;
|
|
3811
|
+
case "Escape":
|
|
3812
|
+
this.showDropdown = !1, this.selectedIndex = -1, this.searchClosed.emit();
|
|
3813
|
+
break;
|
|
3814
|
+
}
|
|
3815
|
+
}
|
|
3816
|
+
async runSearch() {
|
|
3817
|
+
var n;
|
|
3818
|
+
const e = this.query.trim();
|
|
3819
|
+
if (!e) {
|
|
3820
|
+
this.results = [], this.hasSearched = !1, this.showDropdown = !1;
|
|
3821
|
+
return;
|
|
3822
|
+
}
|
|
3823
|
+
this.loading = !0, this.error = "";
|
|
3824
|
+
try {
|
|
3825
|
+
const t = await fetch(`${this.apiEndpoint}?q=${encodeURIComponent(e)}&limit=${this.limit}`);
|
|
3826
|
+
if (!t.ok)
|
|
3827
|
+
throw new Error("Search failed");
|
|
3828
|
+
const r = await t.json();
|
|
3829
|
+
this.results = (n = r.items) !== null && n !== void 0 ? n : [], this.hasSearched = !0, this.showDropdown = !0, this.selectedIndex = -1;
|
|
3830
|
+
} catch (t) {
|
|
3831
|
+
console.error("Search error:", t), this.error = "Search failed. Please try again.", this.results = [], this.showDropdown = !0;
|
|
3832
|
+
} finally {
|
|
3833
|
+
this.loading = !1;
|
|
3834
|
+
}
|
|
3835
|
+
}
|
|
3836
|
+
selectResult(n) {
|
|
3837
|
+
this.resultSelected.emit(n), this.searchClosed.emit(), A({
|
|
3838
|
+
category: "shared-ui",
|
|
3839
|
+
parentContext: null,
|
|
3840
|
+
tag: this.el.tagName.toLowerCase(),
|
|
3841
|
+
name: `search-select: ${n.url}` || "unknow search result selection",
|
|
3842
|
+
action: "click"
|
|
3843
|
+
}), window.open(n.url, "_blank", "noopener,noreferrer");
|
|
3844
|
+
}
|
|
3845
|
+
scrollToSelected() {
|
|
3846
|
+
if (this.selectedIndex >= 0 && this.dropdownRef) {
|
|
3847
|
+
const n = this.dropdownRef.querySelector(`[data-index="${this.selectedIndex}"]`);
|
|
3848
|
+
n && n.scrollIntoView({ block: "nearest", behavior: "smooth" });
|
|
3849
|
+
}
|
|
3850
|
+
}
|
|
3851
|
+
stripHtml(n) {
|
|
3852
|
+
const e = document.createElement("div");
|
|
3853
|
+
return e.innerHTML = n, e.textContent || e.innerText || "";
|
|
3854
|
+
}
|
|
3855
|
+
get hasResults() {
|
|
3856
|
+
return this.results.length > 0;
|
|
3857
|
+
}
|
|
3858
|
+
get showEmpty() {
|
|
3859
|
+
return this.hasSearched && !this.loading && !this.hasResults && this.query.trim();
|
|
3860
|
+
}
|
|
3861
|
+
render() {
|
|
3862
|
+
return i("div", { key: "e3c15463b46aa6349efb86e4907d6f7bfabf682f", class: "search-wrapper" }, i("eds-input-field", { key: "f2164163925534652c62541b3e954d4bb66510bc", 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: "f592d322fb3d1556743edc39713c8dbaa6449fa6", class: "search-dropdown", ref: (n) => this.dropdownRef = n }, this.loading && i("div", { key: "4d3171271b27f70650bbded9cb7c0b76799dc1a1", class: "flex text-center justify-center p-64" }, i("eds-spinner", { key: "74fed5cf70ba698468dd2ca03dc5ff4eb7aeb7db", variant: "primary", size: "sm" })), this.error && !this.loading && i("div", { key: "481fd52e321ff02ca61cc0877a61f577b6a1ebd7", class: "flex text-center justify-center p-16" }, i("span", { key: "073d2a12b960b3309e0ab597c41d36f946615ed6", class: "text-error f-body-02" }, this.error)), this.showEmpty && i("div", { key: "7b031eec1e6720f4cda6bc107ebc6f64f1c6e35f", class: "dropdown-state" }, i("eds-icon-wrapper", { key: "3ce91c3dcdaf27bd85f7ea4c855bab58b1208355", icon: "search" }), i("div", { key: "c1a9b0c3f62fc568fa9d34d41730da8960bcdd54" }, i("p", { key: "d3b87b4a6b06e81e5c62e817b924f762974c589e", class: "f-body-02" }, "No results found"), i("p", { key: "67fde47420811b9eaef805d9e6aa1b3515c74251", class: "f-ui-04 text-lightest" }, "Try different keywords"))), this.hasResults && !this.loading && i("ul", { key: "ba3a77467ba5e709bdf95dc793c316a18a135b64", class: "dropdown-results" }, this.results.map((n, e) => i("li", { key: n.id, "data-index": e, class: {
|
|
3863
|
+
"result-item": !0,
|
|
3864
|
+
"result-item--selected": e === this.selectedIndex
|
|
3865
|
+
}, 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: "ccdceeb06f423b28868dbf5ec2a11c5b84c651d7", class: "dropdown-footer" }, i("span", { key: "e9dfb424b4dd277b11c6a630c673ec6368b09ef2", class: "footer-hint" }, i("kbd", { key: "4d045d4356b035c6efc7e029ea9e1f5bb4828b6b" }, "↑"), " ", i("kbd", { key: "5ee2913fe448ad3763ca9a70f474bfa9fcd3aad9" }, "↓"), " navigate • ", i("kbd", { key: "d745261bb53ecffae5ff41d53e349fd74d37b955" }, "↵"), " select •", " ", i("kbd", { key: "baa93b7af9e8ae8994f8e73c1bf7942f659b0491" }, "esc"), " close"))));
|
|
3866
|
+
}
|
|
3867
|
+
get el() {
|
|
3868
|
+
return y(this);
|
|
3869
|
+
}
|
|
3870
|
+
};
|
|
3871
|
+
le.style = re;
|
|
3872
|
+
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 {
|
|
3873
|
+
constructor(n) {
|
|
3874
|
+
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;
|
|
3738
3875
|
}
|
|
3739
3876
|
componentDidLoad() {
|
|
3740
|
-
|
|
3877
|
+
var n, e;
|
|
3878
|
+
((e = (n = this.hostEl.shadowRoot) === null || n === void 0 ? void 0 : n.querySelectorAll("eds-link")) !== null && e !== void 0 ? e : []).forEach((r) => this.emitContext(r));
|
|
3741
3879
|
}
|
|
3742
3880
|
emitContext(n) {
|
|
3743
3881
|
const e = new CustomEvent("parentContext", {
|
|
@@ -3760,16 +3898,16 @@ const ie = ".block{display:block}.inline-block{display:inline-block}.inline{disp
|
|
|
3760
3898
|
inverse: "text-default bg-inverse",
|
|
3761
3899
|
strong: "text-inverse bg-strongest"
|
|
3762
3900
|
}, e = n[this.headerVariant] || n.default, t = this.headerVariant === "strong" ? "color-white" : "color";
|
|
3763
|
-
return i("header", { key: "
|
|
3901
|
+
return i("header", { key: "33f041754210d5fce8b190e63a6f19ac62262cfd", role: "banner", class: `flex items-center justify-between relative z-10 ${e}` }, i("div", { key: "596d4b9cbb08fa95aa9b715599290ac91aff3f77", class: "mr-auto w-[200px] h-[85px]" }, i("eds-logo", { key: "d13e83eca926b82f7406d5efb3f16555c25c167c", type: t, href: this.homeUrl })), this.parsedLinks && i("nav", { key: "e120bef9e976e75d523bd6d1e65e8aecd7c6a694", role: "navigation", "aria-label": "Primary", 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: "ea3db252b028340a007a18b4cb1fb995fefd51b0", 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: "47dfb8dcd8e77bd908236aef0cc0c3c5542de11e", name: "actions" }), this.menuEnabled && i("div", { key: "a6f4a3fb9834696d39a6831098c12f1a5a519a6b", class: "md:hidden flex overflow-hidden px-16" }, i("eds-button", { key: "2c6586152953caa33911d19fa69d3518cb73fc41", "aria-label": "Menu", intent: this.headerVariant === "default" ? "ghost" : "ghostInverse", icon: "menu", size: "small", onClick: () => this.handleToggleMenu() })));
|
|
3764
3902
|
}
|
|
3765
3903
|
get hostEl() {
|
|
3766
3904
|
return y(this);
|
|
3767
3905
|
}
|
|
3768
3906
|
};
|
|
3769
|
-
|
|
3770
|
-
const
|
|
3907
|
+
se.style = ae;
|
|
3908
|
+
const Ct = class {
|
|
3771
3909
|
constructor(n) {
|
|
3772
|
-
|
|
3910
|
+
m(this, n), this.TagName = null, this.icon = "arrow-right", this.class = "", this.IconComponent = null;
|
|
3773
3911
|
}
|
|
3774
3912
|
componentWillLoad() {
|
|
3775
3913
|
this.loadIconComponent(this.icon);
|
|
@@ -3793,7 +3931,7 @@ const xt = class {
|
|
|
3793
3931
|
icon: ["iconChanged"]
|
|
3794
3932
|
};
|
|
3795
3933
|
}
|
|
3796
|
-
},
|
|
3934
|
+
}, de = `/*
|
|
3797
3935
|
1. Make replaced elements \`display: block\` by default. (https://github.com/mozdevs/cssremedy/issues/14)
|
|
3798
3936
|
2. Add \`vertical-align: middle\` to align replaced elements more sensibly by default. (https://github.com/jensimmons/cssremedy/issues/14#issuecomment-634934210)
|
|
3799
3937
|
This can trigger a poorly considered lint error in some tools but is included by design.
|
|
@@ -3875,9 +4013,9 @@ video {
|
|
|
3875
4013
|
|
|
3876
4014
|
.opacity-100 {
|
|
3877
4015
|
opacity: 1;
|
|
3878
|
-
}`,
|
|
4016
|
+
}`, ce = de, ge = class {
|
|
3879
4017
|
constructor(n) {
|
|
3880
|
-
|
|
4018
|
+
m(this, n), this.img = null, this.handleLoad = () => {
|
|
3881
4019
|
this.loaded = !0, this.showBg = !1;
|
|
3882
4020
|
}, this.handleError = () => {
|
|
3883
4021
|
this.loaded = !0, this.showBg = !1;
|
|
@@ -3890,10 +4028,10 @@ video {
|
|
|
3890
4028
|
}
|
|
3891
4029
|
render() {
|
|
3892
4030
|
const n = {};
|
|
3893
|
-
return this.lazyload && (n.loading = "lazy", n.decoding = "async"), i("div", { key: "
|
|
4031
|
+
return this.lazyload && (n.loading = "lazy", n.decoding = "async"), i("div", { key: "c164d1584476f9fb101abb9e1233bed40c782eb9", class: {
|
|
3894
4032
|
"items-center justify-center": !0,
|
|
3895
4033
|
"effect-bg-pattern": this.lazyload && this.showBg
|
|
3896
|
-
} }, i("picture", { key: "
|
|
4034
|
+
} }, i("picture", { key: "70e20db2fe9bdf1a494313c6896e835ff3222f3c" }, this.formats.map((e) => i("source", { type: e.type, srcSet: e.srcset, media: e.media, sizes: this.sizes })), i("img", Object.assign({ key: "164d758ed706139d2d4562775a91c9518c437d28", ref: (e) => this.img = e, class: {
|
|
3897
4035
|
"effect-opacity object-cover object-center": !0,
|
|
3898
4036
|
"opacity-100": this.loaded,
|
|
3899
4037
|
"opacity-0": !this.loaded
|
|
@@ -3903,10 +4041,10 @@ video {
|
|
|
3903
4041
|
return y(this);
|
|
3904
4042
|
}
|
|
3905
4043
|
};
|
|
3906
|
-
|
|
3907
|
-
const
|
|
4044
|
+
ge.style = ce;
|
|
4045
|
+
const Et = class {
|
|
3908
4046
|
constructor(n) {
|
|
3909
|
-
|
|
4047
|
+
m(this, n), this.handleInput = (e) => {
|
|
3910
4048
|
const t = e.target;
|
|
3911
4049
|
this.innerVal = t.value, this.maxLength && this.type === "textarea" && (this.maxLengthReached = t.value.length >= this.maxLength);
|
|
3912
4050
|
}, 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;
|
|
@@ -3922,7 +4060,7 @@ const yt = class {
|
|
|
3922
4060
|
}
|
|
3923
4061
|
render() {
|
|
3924
4062
|
const n = !!this.icon, e = this.hasMessage || this.error ? `${this.name}-error` : "";
|
|
3925
|
-
return i("div", { key: "
|
|
4063
|
+
return i("div", { key: "069d8ed6f23b2d98bbc24b727cad0cbc94d1a956", 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" ? {
|
|
3926
4064
|
min: this.min,
|
|
3927
4065
|
max: this.max,
|
|
3928
4066
|
step: this.step
|
|
@@ -3931,7 +4069,7 @@ const yt = class {
|
|
|
3931
4069
|
input ${this.type === "radio" ? "input-radio" : this.type === "checkbox" ? "input-checkbox" : ""}
|
|
3932
4070
|
${n && this.type !== "radio" && this.type !== "checkbox" ? "input-icon pl-36" : ""}
|
|
3933
4071
|
${this.error ? "input-error" : ""}
|
|
3934
|
-
`, "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: "
|
|
4072
|
+
`, "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: "2295538938128173047a5c81166cbee3d652cf25", 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: "70a5bc0c9019c25499c4c65ece50ddb602eb3345", class: `absolute top-1/2 left-[4px] -translate-y-1/2 ${this.disabled, "text-lightest"}`, icon: this.icon }));
|
|
3935
4073
|
}
|
|
3936
4074
|
get el() {
|
|
3937
4075
|
return y(this);
|
|
@@ -3941,7 +4079,7 @@ const yt = class {
|
|
|
3941
4079
|
value: ["onValueChanged"]
|
|
3942
4080
|
};
|
|
3943
4081
|
}
|
|
3944
|
-
},
|
|
4082
|
+
}, he = `:root {
|
|
3945
4083
|
font-optical-sizing: auto;
|
|
3946
4084
|
}
|
|
3947
4085
|
html,
|
|
@@ -11711,29 +11849,29 @@ input[type="range"]::-webkit-slider-thumb {
|
|
|
11711
11849
|
}
|
|
11712
11850
|
}
|
|
11713
11851
|
|
|
11714
|
-
`,
|
|
11852
|
+
`, fe = he, be = class {
|
|
11715
11853
|
constructor(n) {
|
|
11716
|
-
|
|
11854
|
+
m(this, n), this.edsinput = v(this, "edsinput", 7), this.edschange = v(this, "edschange", 7), this.handleNativeInput = (e) => {
|
|
11717
11855
|
var t, r;
|
|
11718
11856
|
if ((t = this.onInput) === null || t === void 0 || t.call(this, e), this.shouldEmitValue()) {
|
|
11719
11857
|
const l = e.target;
|
|
11720
|
-
let
|
|
11858
|
+
let a = l.value;
|
|
11721
11859
|
if (this.type === "checkbox" && ((r = this.parsedOptions) === null || r === void 0 ? void 0 : r.length) > 0) {
|
|
11722
|
-
const
|
|
11723
|
-
|
|
11724
|
-
} else this.type === "checkbox" ?
|
|
11725
|
-
this.edsinput.emit({ value:
|
|
11860
|
+
const s = this.hostEl.querySelectorAll(`input[type="checkbox"][name="${this.name}"]`);
|
|
11861
|
+
a = Array.from(s).filter((o) => o.checked).map((o) => o.value);
|
|
11862
|
+
} else this.type === "checkbox" ? a = l.checked : (this.type, a = l.value);
|
|
11863
|
+
this.edsinput.emit({ value: a });
|
|
11726
11864
|
}
|
|
11727
11865
|
}, this.handleNativeChange = (e) => {
|
|
11728
11866
|
var t, r;
|
|
11729
11867
|
if ((t = this.onChangeNative) === null || t === void 0 || t.call(this, e), this.shouldEmitValue()) {
|
|
11730
11868
|
const l = e.target;
|
|
11731
|
-
let
|
|
11869
|
+
let a = l.value;
|
|
11732
11870
|
if (this.type === "checkbox" && ((r = this.parsedOptions) === null || r === void 0 ? void 0 : r.length) > 0) {
|
|
11733
|
-
const
|
|
11734
|
-
|
|
11735
|
-
} else this.type === "checkbox" ?
|
|
11736
|
-
this.edschange.emit({ value:
|
|
11871
|
+
const s = this.hostEl.querySelectorAll(`input[type="checkbox"][name="${this.name}"]`);
|
|
11872
|
+
a = Array.from(s).filter((o) => o.checked).map((o) => o.value);
|
|
11873
|
+
} else this.type === "checkbox" ? a = l.checked : (this.type, a = l.value);
|
|
11874
|
+
this.edschange.emit({ value: a });
|
|
11737
11875
|
}
|
|
11738
11876
|
}, this.name = void 0, this.inputId = void 0, this.placeholder = void 0, this.disabled = !1, this.required = !1, this.label = void 0, this.hint = void 0, this.icon = void 0, this.link = void 0, this.message = void 0, this.error = !1, this.checked = void 0, this.errorMessage = void 0, this.value = void 0, this.maxLength = void 0, this.min = void 0, this.max = void 0, this.step = void 0, this.options = void 0, this.type = "text", this.onChangeNative = void 0, this.onInput = void 0, this.exposeValueEvents = !0;
|
|
11739
11877
|
}
|
|
@@ -11753,7 +11891,7 @@ input[type="range"]::-webkit-slider-thumb {
|
|
|
11753
11891
|
}
|
|
11754
11892
|
render() {
|
|
11755
11893
|
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 } : {});
|
|
11756
|
-
return i("div", { key: "
|
|
11894
|
+
return i("div", { key: "75e326788d214bcbdd0b4b5204ac309a3e76f6eb" }, 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" ? (() => {
|
|
11757
11895
|
var e, t, r;
|
|
11758
11896
|
const l = {
|
|
11759
11897
|
name: n.name,
|
|
@@ -11762,9 +11900,9 @@ input[type="range"]::-webkit-slider-thumb {
|
|
|
11762
11900
|
required: n.required,
|
|
11763
11901
|
onInput: n.onInput,
|
|
11764
11902
|
onChange: n.onChange
|
|
11765
|
-
},
|
|
11766
|
-
return i("eds-input-range", Object.assign({}, l, { min: (e =
|
|
11767
|
-
})() : i("eds-input", Object.assign({}, n))), i("div", { key: "
|
|
11903
|
+
}, a = this.parsedOptions, s = typeof this.value == "string" ? parseFloat(this.value) : this.value || 0;
|
|
11904
|
+
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 }));
|
|
11905
|
+
})() : i("eds-input", Object.assign({}, n))), i("div", { key: "83d2deb40af000499d6d12e33f33b7435372ff30", class: "mt-6" }, i("eds-input-footer", { key: "21035705fd8ef6dbe8d208d4e0b88467a4d4cb09", id: `${this.name}-footer`, name: this.name, message: this.message, "error-message": this.errorMessage, error: this.error, link: this.link })));
|
|
11768
11906
|
}
|
|
11769
11907
|
static get delegatesFocus() {
|
|
11770
11908
|
return !0;
|
|
@@ -11773,28 +11911,28 @@ input[type="range"]::-webkit-slider-thumb {
|
|
|
11773
11911
|
return y(this);
|
|
11774
11912
|
}
|
|
11775
11913
|
};
|
|
11776
|
-
|
|
11777
|
-
const
|
|
11914
|
+
be.style = fe;
|
|
11915
|
+
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 {
|
|
11778
11916
|
constructor(n) {
|
|
11779
|
-
|
|
11917
|
+
m(this, n), this.name = void 0, this.errorMessage = void 0, this.message = void 0, this.error = !1, this.link = void 0;
|
|
11780
11918
|
}
|
|
11781
11919
|
render() {
|
|
11782
|
-
return i("div", { key: "
|
|
11920
|
+
return i("div", { key: "f968c3f3cfa5d419fe2d736b8da4f1dfd5fca88f" }, this.error && this.errorMessage && i("div", { key: "780480b021c958a4d429b13a190ed630df98f539", id: `error_${this.name}`, class: "text-error flex items-center" }, i("eds-icon-wrapper", { key: "3577ebdde2d337e393d7ae41b0b55d3eac046149", icon: "warning" }), i("p", { key: "c839fe81dcd8ee0fba4ffa53dd7ba5e65a39fa46", class: "f-ui-04 ml-4 mb-4", innerHTML: this.errorMessage })), this.message && i("p", { key: "57833b0f0f58d36773401eaa0f37fd820ebe094c", id: `desc_${this.name}`, class: "f-ui-05 text-lighter", innerHTML: this.message }), this.link && i("a", { key: "2330e747a9274c6b9bcadf5ae4a770cfbab78b27", href: this.link.url, class: "f-ui-05 effect-color hover:text-lighter underline underline-offset-4" }, this.link.label));
|
|
11783
11921
|
}
|
|
11784
11922
|
};
|
|
11785
|
-
|
|
11786
|
-
const
|
|
11923
|
+
me.style = ue;
|
|
11924
|
+
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 {
|
|
11787
11925
|
constructor(n) {
|
|
11788
|
-
|
|
11926
|
+
m(this, n), this.label = void 0, this.name = void 0, this.required = !1, this.disabled = !1;
|
|
11789
11927
|
}
|
|
11790
11928
|
render() {
|
|
11791
|
-
return i("label", { key: "
|
|
11929
|
+
return i("label", { key: "4760fa1b6a66b4ba30b689e65acc9f66e944210d", htmlFor: this.name, class: `input-label ${this.disabled ? "text-lighter" : ""}` }, this.label, this.required && i("span", { key: "db3f8b321ab41765d9cc1e1d3b67ef2d58c1a53a" }, i("span", { key: "0c6f4ee8daab357ff4da750241c472b126cfbb98", "aria-hidden": "true" }, "*"), i("span", { key: "ad18af56b0f20be3c9ee7280c0610c958adfdb87", class: "sr-only" }, "required")));
|
|
11792
11930
|
}
|
|
11793
11931
|
};
|
|
11794
|
-
|
|
11795
|
-
const
|
|
11932
|
+
ve.style = ye;
|
|
11933
|
+
const zt = class {
|
|
11796
11934
|
constructor(n) {
|
|
11797
|
-
|
|
11935
|
+
m(this, n), this.edsrange = v(this, "edsrange", 7), this.onInput = (e) => {
|
|
11798
11936
|
const t = e.target;
|
|
11799
11937
|
this.sliderVal = parseInt(t.value, 10);
|
|
11800
11938
|
}, this.onChange = (e) => {
|
|
@@ -11816,7 +11954,7 @@ const vt = class {
|
|
|
11816
11954
|
return this.inputElement;
|
|
11817
11955
|
}
|
|
11818
11956
|
render() {
|
|
11819
|
-
return i("div", { key: "
|
|
11957
|
+
return i("div", { key: "7592e5f4c1154281fb0577af739451ea0f16dc17", class: "relative flex flex-col items-start" }, i("input", { key: "8d5d0b3b5b51665a340304ba56f6fd6b053d3c5f", 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: "c040d2a7e6aae8662e33d393bf1e93b0c8c254dc", id: `desc_${this.name}`, class: "block f-ui-05 mt-4 text-lighter" }, "Current value: ", this.sliderVal));
|
|
11820
11958
|
}
|
|
11821
11959
|
get el() {
|
|
11822
11960
|
return y(this);
|
|
@@ -11826,15 +11964,15 @@ const vt = class {
|
|
|
11826
11964
|
value: ["onValueChange"]
|
|
11827
11965
|
};
|
|
11828
11966
|
}
|
|
11829
|
-
},
|
|
11967
|
+
}, Ft = class {
|
|
11830
11968
|
constructor(n) {
|
|
11831
|
-
|
|
11969
|
+
m(this, n), this.search = v(this, "search", 7), this.keydownListener = (e) => {
|
|
11832
11970
|
(e.metaKey || e.ctrlKey) && e.key.toLowerCase() === "k" && (e.preventDefault(), this.inputElement && !this.disabled && this.inputElement.focus());
|
|
11833
11971
|
}, this.onChange = (e) => {
|
|
11834
11972
|
this.search.emit({
|
|
11835
11973
|
event: "change",
|
|
11836
11974
|
value: e.target.value
|
|
11837
|
-
}),
|
|
11975
|
+
}), A({
|
|
11838
11976
|
category: "ui-component",
|
|
11839
11977
|
parentContext: null,
|
|
11840
11978
|
tag: this.el.tagName.toLowerCase(),
|
|
@@ -11853,8 +11991,8 @@ const vt = class {
|
|
|
11853
11991
|
return this.inputElement;
|
|
11854
11992
|
}
|
|
11855
11993
|
render() {
|
|
11856
|
-
return i("div", { key: "
|
|
11857
|
-
key: "
|
|
11994
|
+
return i("div", { key: "e5065d821db5f66b4ddfccb84e911f8c9148d12c", class: "relative flex items-center" }, i("eds-icon-wrapper", { key: "e661107b6202d7529209c67622a9f27bb15de2fc", icon: "search", class: "absolute top-1/2 left-[4px] -translate-y-1/2 text-lightest", "aria-hidden": "true" }), i("input", {
|
|
11995
|
+
key: "1633e9108da6b675f1bcbddbbcb88e67843dddbf",
|
|
11858
11996
|
id: this.inputId || this.name,
|
|
11859
11997
|
name: this.name,
|
|
11860
11998
|
placeholder: this.placeholder,
|
|
@@ -11871,23 +12009,23 @@ const vt = class {
|
|
|
11871
12009
|
get el() {
|
|
11872
12010
|
return y(this);
|
|
11873
12011
|
}
|
|
11874
|
-
},
|
|
12012
|
+
}, It = class {
|
|
11875
12013
|
constructor(n) {
|
|
11876
|
-
|
|
12014
|
+
m(this, n), this.edsselect = v(this, "edsselect", 7), this.handleChange = (e) => {
|
|
11877
12015
|
const t = e.target;
|
|
11878
12016
|
this.edsselect.emit(t.value);
|
|
11879
12017
|
}, 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;
|
|
11880
12018
|
}
|
|
11881
12019
|
render() {
|
|
11882
12020
|
const n = this.inputId || this.name, e = this.placeholder || "Pick from the list", t = this.hasMessage || this.error ? `${this.name}-error` : void 0;
|
|
11883
|
-
return i("div", { key: "
|
|
12021
|
+
return i("div", { key: "640bbcca727ad0c511238335197bc533869f6229", class: "relative" }, i("select", { key: "75efd5a9c7951fce245a7ee8b89c35d712d06c08", id: n, name: this.name, class: {
|
|
11884
12022
|
input: !0,
|
|
11885
12023
|
"input-error": this.error,
|
|
11886
12024
|
"px-4": !0,
|
|
11887
12025
|
"py-2": !0
|
|
11888
|
-
}, "aria-invalid": this.error ? "true" : "false", "aria-describedby": t, disabled: this.disabled, required: this.required, onChange: this.handleChange }, i("option", { key: "
|
|
12026
|
+
}, "aria-invalid": this.error ? "true" : "false", "aria-describedby": t, disabled: this.disabled, required: this.required, onChange: this.handleChange }, i("option", { key: "e8723f0f947dc8e07660a34d49eb769e4bebfd06", 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: "23531f90fcaa854a8abff796e2879648987a56b9", 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: "6e836b9606c1444d8e97b78ebe1ea4cf092070e3", class: "w-20 h-20", icon: "chevron-right" })));
|
|
11889
12027
|
}
|
|
11890
|
-
},
|
|
12028
|
+
}, we = `*,
|
|
11891
12029
|
::before,
|
|
11892
12030
|
::after {
|
|
11893
12031
|
box-sizing: border-box;
|
|
@@ -13124,7 +13262,7 @@ Make sure disabled buttons don't get the pointer cursor.
|
|
|
13124
13262
|
.lg\\:flex {
|
|
13125
13263
|
display: flex;
|
|
13126
13264
|
}
|
|
13127
|
-
}`,
|
|
13265
|
+
}`, ke = we, Se = P([
|
|
13128
13266
|
"relative inline-flex justify-center items-center py-8 rounded-sm",
|
|
13129
13267
|
"effect-color effect-focus aria-disabled:text-lightest",
|
|
13130
13268
|
"cursor-pointer",
|
|
@@ -13249,9 +13387,9 @@ Make sure disabled buttons don't get the pointer cursor.
|
|
|
13249
13387
|
size: "small",
|
|
13250
13388
|
hasIcon: !1
|
|
13251
13389
|
}
|
|
13252
|
-
}),
|
|
13390
|
+
}), Ce = class {
|
|
13253
13391
|
constructor(n) {
|
|
13254
|
-
|
|
13392
|
+
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;
|
|
13255
13393
|
}
|
|
13256
13394
|
handleParentContext(n) {
|
|
13257
13395
|
n.target === this.el && (this.parentContext = n.detail, n.stopPropagation());
|
|
@@ -13262,7 +13400,7 @@ Make sure disabled buttons don't get the pointer cursor.
|
|
|
13262
13400
|
n.preventDefault();
|
|
13263
13401
|
return;
|
|
13264
13402
|
}
|
|
13265
|
-
|
|
13403
|
+
A({
|
|
13266
13404
|
category: "ui-component",
|
|
13267
13405
|
parentContext: this.parentContext,
|
|
13268
13406
|
tag: this.el.tagName.toLowerCase(),
|
|
@@ -13289,23 +13427,23 @@ Make sure disabled buttons don't get the pointer cursor.
|
|
|
13289
13427
|
`, icon: this.icon })) : null;
|
|
13290
13428
|
}
|
|
13291
13429
|
render() {
|
|
13292
|
-
const n =
|
|
13430
|
+
const n = Se({
|
|
13293
13431
|
intent: this.intent,
|
|
13294
13432
|
size: this.getLinkSize(),
|
|
13295
13433
|
iconSmall: this.iconSmall,
|
|
13296
13434
|
isActive: this.current,
|
|
13297
13435
|
hasIcon: !!this.icon
|
|
13298
13436
|
}), e = !this.disabled, t = !this.label || this.hideLabelOnSmallScreen && this.icon, r = this.hideLabelOnSmallScreen ? "hidden lg:flex" : "";
|
|
13299
|
-
return i("a", { key: "
|
|
13437
|
+
return i("a", { key: "5c190b2b079dfecb003883a8b25d3c258697c4d6", 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: "f4e89354ea8e252a26c85a560af9e7cfed7f8287", class: "z-1 relative inline-flex items-center justify-center" }, this.renderLeftIcon(), this.label && i("span", { key: "ca10c283dd14c3e3830baddec7ba193522a02e7c", class: r }, this.label), this.renderRightIcon()));
|
|
13300
13438
|
}
|
|
13301
13439
|
get el() {
|
|
13302
13440
|
return y(this);
|
|
13303
13441
|
}
|
|
13304
13442
|
};
|
|
13305
|
-
|
|
13306
|
-
const
|
|
13443
|
+
Ce.style = ke;
|
|
13444
|
+
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 {
|
|
13307
13445
|
constructor(n) {
|
|
13308
|
-
|
|
13446
|
+
m(this, n), this.href = "/", this.orientation = "horizontal", this.type = void 0, this.label = "Home";
|
|
13309
13447
|
}
|
|
13310
13448
|
/**
|
|
13311
13449
|
* Handles the click event on the logo link.
|
|
@@ -13316,7 +13454,7 @@ const ke = ".w-\\[130px\\]{width:130px}.mr-auto{margin-right:auto}.text-current{
|
|
|
13316
13454
|
* - `action`: The action, set as "click".
|
|
13317
13455
|
*/
|
|
13318
13456
|
handleClick() {
|
|
13319
|
-
|
|
13457
|
+
A({
|
|
13320
13458
|
category: "ui-component",
|
|
13321
13459
|
tag: this.el.tagName.toLowerCase(),
|
|
13322
13460
|
name: "logo",
|
|
@@ -13331,9 +13469,9 @@ const ke = ".w-\\[130px\\]{width:130px}.mr-auto{margin-right:auto}.text-current{
|
|
|
13331
13469
|
horizontal: {
|
|
13332
13470
|
color: tn,
|
|
13333
13471
|
black: bn,
|
|
13334
|
-
"color-white":
|
|
13472
|
+
"color-white": pn,
|
|
13335
13473
|
white: un,
|
|
13336
|
-
"no-bg":
|
|
13474
|
+
"no-bg": mn
|
|
13337
13475
|
},
|
|
13338
13476
|
vertical: {
|
|
13339
13477
|
color: xn,
|
|
@@ -13350,16 +13488,16 @@ const ke = ".w-\\[130px\\]{width:130px}.mr-auto{margin-right:auto}.text-current{
|
|
|
13350
13488
|
}
|
|
13351
13489
|
render() {
|
|
13352
13490
|
const n = this.getLogo();
|
|
13353
|
-
return i("a", { key: "
|
|
13491
|
+
return i("a", { key: "735f3592da7eed337c528731c28c6e708bbfcf82", href: this.href, onClick: () => this.handleClick(), class: "eds-logo-wrapper", "aria-label": this.label }, i("div", { key: "5db166d68cb6e193d3dbc2a8ba4b54eae99aac44", innerHTML: n }));
|
|
13354
13492
|
}
|
|
13355
13493
|
get el() {
|
|
13356
13494
|
return y(this);
|
|
13357
13495
|
}
|
|
13358
13496
|
};
|
|
13359
|
-
|
|
13360
|
-
const
|
|
13497
|
+
Fe.style = ze;
|
|
13498
|
+
const Ie = ".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))}}", Ae = Ie, Le = class {
|
|
13361
13499
|
constructor(n) {
|
|
13362
|
-
|
|
13500
|
+
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;
|
|
13363
13501
|
}
|
|
13364
13502
|
/**
|
|
13365
13503
|
* Listens for global custom events to open the matomo-consent.
|
|
@@ -13443,10 +13581,10 @@ const Ee = ".fixed{position:fixed}.absolute{position:absolute}.w-full{width:100%
|
|
|
13443
13581
|
return y(this);
|
|
13444
13582
|
}
|
|
13445
13583
|
};
|
|
13446
|
-
|
|
13447
|
-
const
|
|
13584
|
+
Le.style = Ae;
|
|
13585
|
+
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 {
|
|
13448
13586
|
constructor(n) {
|
|
13449
|
-
|
|
13587
|
+
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;
|
|
13450
13588
|
}
|
|
13451
13589
|
handleClick(n) {
|
|
13452
13590
|
this.selectedValue = n, this.nps.emit(n);
|
|
@@ -13488,19 +13626,19 @@ const Ae = '.flex{display:flex}.justify-between{justify-content:space-between}.m
|
|
|
13488
13626
|
}
|
|
13489
13627
|
render() {
|
|
13490
13628
|
const n = this.max - this.min + 1;
|
|
13491
|
-
return i("div", { key: "
|
|
13629
|
+
return i("div", { key: "19326c22d2b5c9f2fbc97bfb3c3d958d14cdfa25", class: "eds-nps" }, i("eds-input-label", { key: "046239977d2dc639eabfc60a67df62011833a983", id: "nps-question", name: "nps-question", label: this.question }), i("div", { key: "e296b8ff3a081f42263ee0c0a28ef3f304b1e1c0", 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) => {
|
|
13492
13630
|
const r = this.min + t, l = r === this.selectedValue;
|
|
13493
13631
|
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) }));
|
|
13494
|
-
})), i("div", { key: "
|
|
13632
|
+
})), i("div", { key: "305bc5b2d162fc40fc56557291d37e29498563a2", class: "flex justify-between mt-8" }, i("span", { key: "7fe2191db8cacabed26f451ac0175f23ede3317e", class: "f-ui-04 text-light ml-4" }, this.leftLabel), i("span", { key: "a85aca88d4de2897d7ba04578cf57a844c660675", class: "f-ui-04 text-light mr-4" }, this.rightLabel)));
|
|
13495
13633
|
}
|
|
13496
13634
|
get el() {
|
|
13497
13635
|
return y(this);
|
|
13498
13636
|
}
|
|
13499
13637
|
};
|
|
13500
|
-
|
|
13501
|
-
const
|
|
13638
|
+
De.style = Te;
|
|
13639
|
+
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 {
|
|
13502
13640
|
constructor(n) {
|
|
13503
|
-
|
|
13641
|
+
m(this, n), this.handleKeyDown = (e) => {
|
|
13504
13642
|
if (this.mode !== "default" || !this.useButtons)
|
|
13505
13643
|
return;
|
|
13506
13644
|
const t = this.getNavigableItems();
|
|
@@ -13509,11 +13647,11 @@ const _e = "ul,menu{list-style:none;margin:0;padding:0}.f-ui-03{font-family:var(
|
|
|
13509
13647
|
const r = e.key === "ArrowRight" ? 1 : -1;
|
|
13510
13648
|
let l = this.focusedIndex;
|
|
13511
13649
|
if (l === -1) {
|
|
13512
|
-
const
|
|
13513
|
-
l =
|
|
13650
|
+
const s = t.findIndex((o) => o.type === "page" && o.page === this.currentPage);
|
|
13651
|
+
l = s !== -1 ? s : 0;
|
|
13514
13652
|
}
|
|
13515
|
-
let
|
|
13516
|
-
|
|
13653
|
+
let a = l + r;
|
|
13654
|
+
a >= t.length ? a = 0 : a < 0 && (a = t.length - 1), this.focusedIndex = a, this.focusPaginationItem(a);
|
|
13517
13655
|
} else if (e.key === "Home")
|
|
13518
13656
|
e.preventDefault(), this.focusedIndex = 0, this.focusPaginationItem(0);
|
|
13519
13657
|
else if (e.key === "End") {
|
|
@@ -13649,7 +13787,7 @@ const _e = "ul,menu{list-style:none;margin:0;padding:0}.f-ui-03{font-family:var(
|
|
|
13649
13787
|
}
|
|
13650
13788
|
}
|
|
13651
13789
|
render() {
|
|
13652
|
-
return i("div", { key: "
|
|
13790
|
+
return i("div", { key: "1ddd5a3ee9c843a06e5f8f446ae8420a6e0df259" }, this.total > 0 && this.mode === "default" && i("p", { key: "87b18c6b1fc475e335f829a4f61b7a8883dc7b9e", class: "f-ui-03 text-light mb-28 w-full text-center", "aria-live": "polite", id: "pagination-info" }, i("span", { key: "d5af6f58fc41d83c7e9519bbaa76fb31e6cbb522", 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) => {
|
|
13653
13791
|
this.mode === "default" && !this.isFirstPage() && this.handlePageClick(e, (this.currentPage || 1) - 1);
|
|
13654
13792
|
} })) : 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) => {
|
|
13655
13793
|
this.mode === "default" && !this.isLastPage() && this.handlePageClick(e, (this.currentPage || 1) + 1);
|
|
@@ -13665,10 +13803,10 @@ const _e = "ul,menu{list-style:none;margin:0;padding:0}.f-ui-03{font-family:var(
|
|
|
13665
13803
|
};
|
|
13666
13804
|
}
|
|
13667
13805
|
};
|
|
13668
|
-
|
|
13669
|
-
const
|
|
13806
|
+
Oe.style = Re;
|
|
13807
|
+
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 {
|
|
13670
13808
|
constructor(n) {
|
|
13671
|
-
|
|
13809
|
+
m(this, n), this.rating = v(this, "rating", 7), this.buttonRefs = [], this.ratingType = "star", this.ratingCount = 5, this.selectedRating = 0;
|
|
13672
13810
|
}
|
|
13673
13811
|
/**
|
|
13674
13812
|
* Lifecycle method that runs when the component has fully loaded.
|
|
@@ -13714,10 +13852,10 @@ const Oe = ":host{display:inline-block}.block{display:block}.stars{display:flex;
|
|
|
13714
13852
|
r > this.ratingCount && (r = 1), r < 1 && (r = this.ratingCount), this.onSelect(r);
|
|
13715
13853
|
}
|
|
13716
13854
|
render() {
|
|
13717
|
-
return i("div", { key: "
|
|
13855
|
+
return i("div", { key: "8dcde2afdc0db27d3f6be48f1d58cc7c7f88b0f0", 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) => {
|
|
13718
13856
|
const t = e + 1, r = t <= this.selectedRating, l = this.selectedRating === t;
|
|
13719
13857
|
return i("eds-button", {
|
|
13720
|
-
ref: (
|
|
13858
|
+
ref: (a) => this.buttonRefs[e] = a,
|
|
13721
13859
|
icon: this.ratingType,
|
|
13722
13860
|
"aria-label": `${t} ${this.ratingType}${t > 1 ? "s" : ""}`,
|
|
13723
13861
|
onClick: () => this.onSelect(t),
|
|
@@ -13733,13 +13871,83 @@ const Oe = ":host{display:inline-block}.block{display:block}.stars{display:flex;
|
|
|
13733
13871
|
return y(this);
|
|
13734
13872
|
}
|
|
13735
13873
|
};
|
|
13736
|
-
|
|
13737
|
-
const
|
|
13874
|
+
He.style = Pe;
|
|
13875
|
+
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
13876
|
constructor(n) {
|
|
13739
|
-
|
|
13877
|
+
m(this, n), this.size = "md", this.variant = "secondary", this.message = void 0, this.background = "var(--grey-200)", this.fullscreen = !1;
|
|
13878
|
+
}
|
|
13879
|
+
get spinnerSize() {
|
|
13880
|
+
switch (this.size) {
|
|
13881
|
+
case "xs":
|
|
13882
|
+
return "1rem";
|
|
13883
|
+
case "sm":
|
|
13884
|
+
return "4rem";
|
|
13885
|
+
case "lg":
|
|
13886
|
+
return "8rem";
|
|
13887
|
+
case "xl":
|
|
13888
|
+
return "10rem";
|
|
13889
|
+
case "md":
|
|
13890
|
+
default:
|
|
13891
|
+
return "6rem";
|
|
13892
|
+
}
|
|
13893
|
+
}
|
|
13894
|
+
get spinnerThickness() {
|
|
13895
|
+
switch (this.size) {
|
|
13896
|
+
case "xs":
|
|
13897
|
+
return "4px";
|
|
13898
|
+
case "sm":
|
|
13899
|
+
return "8px";
|
|
13900
|
+
case "lg":
|
|
13901
|
+
return "16px";
|
|
13902
|
+
case "xl":
|
|
13903
|
+
return "20px";
|
|
13904
|
+
case "md":
|
|
13905
|
+
default:
|
|
13906
|
+
return "12px";
|
|
13907
|
+
}
|
|
13908
|
+
}
|
|
13909
|
+
render() {
|
|
13910
|
+
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 ? {
|
|
13911
|
+
position: "fixed",
|
|
13912
|
+
top: "0",
|
|
13913
|
+
left: "0",
|
|
13914
|
+
width: "100vw",
|
|
13915
|
+
height: "100vh",
|
|
13916
|
+
zIndex: "9999999",
|
|
13917
|
+
backgroundColor: this.background,
|
|
13918
|
+
display: "flex",
|
|
13919
|
+
flexDirection: "column",
|
|
13920
|
+
alignItems: "center",
|
|
13921
|
+
justifyContent: "center"
|
|
13922
|
+
} : {
|
|
13923
|
+
position: "absolute",
|
|
13924
|
+
top: "0",
|
|
13925
|
+
left: "0",
|
|
13926
|
+
width: "100%",
|
|
13927
|
+
height: "100%",
|
|
13928
|
+
//zIndex: '1000',
|
|
13929
|
+
backgroundColor: this.background,
|
|
13930
|
+
display: "flex",
|
|
13931
|
+
flexDirection: "column",
|
|
13932
|
+
alignItems: "center",
|
|
13933
|
+
justifyContent: "center"
|
|
13934
|
+
};
|
|
13935
|
+
return i(ln, { key: "e4c2f4762d214028c2e97666040e05ad5651debf" }, i("div", { key: "e12572cb0195a84402847b0fc723ad2198196661", class: "spinner-overlay", style: r }, i("span", { key: "6aa3b28a4e79951a5bbb46f6d7d845baf3761d14", class: "spinner", style: t }), this.message && i("p", { key: "5817378b525ecb8d8a211105b73a2db00067fbe3", class: "f-body-01" }, this.message)));
|
|
13936
|
+
}
|
|
13937
|
+
};
|
|
13938
|
+
Be.style = We;
|
|
13939
|
+
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 {
|
|
13940
|
+
constructor(n) {
|
|
13941
|
+
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) => {
|
|
13942
|
+
if (e === this.activeStep) {
|
|
13943
|
+
this.activeStep = this.activeStep === e ? -1 : e, this.step.emit(this.activeStep);
|
|
13944
|
+
return;
|
|
13945
|
+
}
|
|
13946
|
+
this.type === "linear" && e > this.activeStep && this.isNextDisabledFor(this.activeStep) || (this.activeStep = e, this.step.emit(this.activeStep));
|
|
13947
|
+
}, this.handleNext = () => {
|
|
13740
13948
|
const e = this.parsedSteps.length - 1;
|
|
13741
13949
|
if (this.activeStep >= e) {
|
|
13742
|
-
this.finished.emit();
|
|
13950
|
+
this.activeStep = -1, this.finished.emit();
|
|
13743
13951
|
return;
|
|
13744
13952
|
}
|
|
13745
13953
|
const t = this.activeStep + 1;
|
|
@@ -13780,17 +13988,23 @@ const Pe = ".steps{position:sticky;margin-left:16px;margin-bottom:12px;border-le
|
|
|
13780
13988
|
isNextDisabledFor(n) {
|
|
13781
13989
|
return Array.isArray(this.disableNext) ? !!this.disableNext[n] : n === this.activeStep && !!this.disableNext;
|
|
13782
13990
|
}
|
|
13783
|
-
/** Render the semantic heading element */
|
|
13784
|
-
renderHeading(n) {
|
|
13785
|
-
const
|
|
13786
|
-
|
|
13991
|
+
/** Render the semantic heading element as a clickable control only in linear mode */
|
|
13992
|
+
renderHeading(n, e) {
|
|
13993
|
+
const t = this.headingLevel, r = this.activeStep === e;
|
|
13994
|
+
if (this.type === "linear") {
|
|
13995
|
+
const l = e > this.activeStep && this.isNextDisabledFor(this.activeStep), a = (s) => {
|
|
13996
|
+
l || (s.key === "Enter" || s.key === " ") && (s.preventDefault(), this.handleTitleClick(e));
|
|
13997
|
+
};
|
|
13998
|
+
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);
|
|
13999
|
+
}
|
|
14000
|
+
return i(t, null, n);
|
|
13787
14001
|
}
|
|
13788
14002
|
render() {
|
|
13789
14003
|
const n = this.parsedSteps;
|
|
13790
14004
|
return this.type === "linear" ? i("div", { class: "steps" }, n.map((e, t) => {
|
|
13791
14005
|
const r = t === n.length - 1;
|
|
13792
|
-
return i("div", { class: "step mb-28", key: t }, this.renderHeading(e.title), this.activeStep === t && i("div", { class: "content grid gap-y-16" }, 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}` })));
|
|
13793
|
-
})) : i("div", { class: "steps" }, n.map((e, t) => i("div", { class: "step mb-28", key: t }, this.renderHeading(e.title), i("div", { class: "content" }, 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 }))))));
|
|
14006
|
+
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}` })));
|
|
14007
|
+
})) : 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
14008
|
}
|
|
13795
14009
|
get el() {
|
|
13796
14010
|
return y(this);
|
|
@@ -13801,13 +14015,19 @@ const Pe = ".steps{position:sticky;margin-left:16px;margin-bottom:12px;border-le
|
|
|
13801
14015
|
};
|
|
13802
14016
|
}
|
|
13803
14017
|
};
|
|
13804
|
-
|
|
13805
|
-
const
|
|
14018
|
+
Ue.style = Me;
|
|
14019
|
+
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
14020
|
constructor(n) {
|
|
13807
|
-
|
|
14021
|
+
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) => {
|
|
14022
|
+
if (e === this.activeStep) {
|
|
14023
|
+
this.activeStep = this.activeStep === e ? -1 : e, this.step.emit(this.activeStep);
|
|
14024
|
+
return;
|
|
14025
|
+
}
|
|
14026
|
+
this.type === "linear" && e > this.activeStep && this.isNextDisabledForCurrent() || (this.activeStep = e, this.step.emit(this.activeStep));
|
|
14027
|
+
}, this.handleNext = () => {
|
|
13808
14028
|
const e = this.parsedSteps.length - 1;
|
|
13809
14029
|
if (this.activeStep >= e) {
|
|
13810
|
-
this.finished.emit();
|
|
14030
|
+
this.finished.emit(), this.activeStep = -1;
|
|
13811
14031
|
return;
|
|
13812
14032
|
}
|
|
13813
14033
|
const t = this.activeStep + 1;
|
|
@@ -13858,16 +14078,25 @@ const je = ".steps{position:sticky;margin-left:16px;border-left:1px solid var(--
|
|
|
13858
14078
|
get parsedSteps() {
|
|
13859
14079
|
return R(this.steps);
|
|
13860
14080
|
}
|
|
14081
|
+
isNextDisabledForCurrent() {
|
|
14082
|
+
return !!this.disableNext;
|
|
14083
|
+
}
|
|
13861
14084
|
/** Render the semantic heading element */
|
|
13862
|
-
renderHeading(n) {
|
|
13863
|
-
const
|
|
13864
|
-
|
|
14085
|
+
renderHeading(n, e) {
|
|
14086
|
+
const t = this.headingLevel;
|
|
14087
|
+
if (this.type === "linear") {
|
|
14088
|
+
const r = this.activeStep === e, l = e > this.activeStep && this.isNextDisabledForCurrent(), a = (s) => {
|
|
14089
|
+
l || (s.key === "Enter" || s.key === " ") && (s.preventDefault(), this.handleTitleClick(e));
|
|
14090
|
+
};
|
|
14091
|
+
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);
|
|
14092
|
+
}
|
|
14093
|
+
return i(t, { class: "eds-steps__title" }, n);
|
|
13865
14094
|
}
|
|
13866
14095
|
render() {
|
|
13867
14096
|
const n = this.parsedSteps;
|
|
13868
|
-
return i("div", { key: "
|
|
14097
|
+
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" })))))) : (
|
|
13869
14098
|
// Static mode: show all steps with their content.
|
|
13870
|
-
i("div", { class: "steps space-y-8" }, n.map((e, t) => i("div", { class: "step", key: t }, this.renderHeading(e.title), i("div", { class: "content" }, 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 }))))))
|
|
14099
|
+
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 }))))))
|
|
13871
14100
|
)));
|
|
13872
14101
|
}
|
|
13873
14102
|
get el() {
|
|
@@ -13879,11 +14108,11 @@ const je = ".steps{position:sticky;margin-left:16px;border-left:1px solid var(--
|
|
|
13879
14108
|
};
|
|
13880
14109
|
}
|
|
13881
14110
|
};
|
|
13882
|
-
|
|
13883
|
-
const
|
|
14111
|
+
Ye.style = Ge;
|
|
14112
|
+
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 {
|
|
13884
14113
|
constructor(n) {
|
|
13885
|
-
|
|
13886
|
-
this.disabled || (this.checked = !this.checked, this.uiswitch.emit({ value: this.checked }),
|
|
14114
|
+
m(this, n), this.uiswitch = v(this, "uiswitch", 7), this.toggleSwitch = () => {
|
|
14115
|
+
this.disabled || (this.checked = !this.checked, this.uiswitch.emit({ value: this.checked }), A({
|
|
13887
14116
|
category: "ui-component",
|
|
13888
14117
|
tag: this.el.tagName.toLowerCase(),
|
|
13889
14118
|
name: this.checked ? this.labelOn : this.labelOff || "",
|
|
@@ -13897,20 +14126,20 @@ const qe = ":host{display:inline-block}.switch-container{display:inline-flex;ali
|
|
|
13897
14126
|
const n = `switch-${Math.random().toString(36).substr(2, 9)}`, e = [];
|
|
13898
14127
|
this.labelOff && e.push(`${n}-off`), this.labelOn && e.push(`${n}-on`);
|
|
13899
14128
|
const t = e.length === 0 ? this.labelOn || this.labelOff ? this.checked ? this.labelOn : this.labelOff : "Toggle switch" : void 0;
|
|
13900
|
-
return i("div", { key: "
|
|
14129
|
+
return i("div", { key: "34573e6f2b377e168039a13afb4d5fe981f575ad", class: "switch-container" }, this.labelOff && i("span", { key: "1728e1aac88d275cd6bee0aaf50e93e3a421944d", id: `${n}-off`, class: "switch-label switch-label--off mr-8" }, this.labelOff), i("button", { key: "5d35387a9bf808923bd94f5d64528cca1e4055d5", 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: {
|
|
13901
14130
|
switch: !0,
|
|
13902
14131
|
"switch--checked": this.checked,
|
|
13903
14132
|
"switch--disabled": this.disabled
|
|
13904
|
-
}, onClick: this.toggleSwitch, onKeyDown: this.handleKeyDown, disabled: this.disabled }, i("span", { key: "
|
|
14133
|
+
}, onClick: this.toggleSwitch, onKeyDown: this.handleKeyDown, disabled: this.disabled }, i("span", { key: "d8e0e1e3b562b4ac894998641cb7c813578e1a3f", class: "switch-handle" })), this.labelOn && i("span", { key: "86b56fbbc537e9f08d11a509a1cb0e19d8dc3c39", id: `${n}-on`, class: "switch-label switch-label--on ml-8" }, this.labelOn));
|
|
13905
14134
|
}
|
|
13906
14135
|
get el() {
|
|
13907
14136
|
return y(this);
|
|
13908
14137
|
}
|
|
13909
14138
|
};
|
|
13910
|
-
|
|
13911
|
-
const
|
|
14139
|
+
Ze.style = Ke;
|
|
14140
|
+
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 {
|
|
13912
14141
|
constructor(n) {
|
|
13913
|
-
|
|
14142
|
+
m(this, n), this.rowaction = v(this, "rowaction", 7), this.handleResize = () => {
|
|
13914
14143
|
this.updateContainerWidth();
|
|
13915
14144
|
}, this.onActionKeyDown = (e) => {
|
|
13916
14145
|
var t;
|
|
@@ -13920,11 +14149,11 @@ const Ve = "table{text-indent:0;border-color:inherit;border-collapse:collapse;}.
|
|
|
13920
14149
|
const r = e.target, l = r.closest('[role="toolbar"]');
|
|
13921
14150
|
if (!l)
|
|
13922
14151
|
return;
|
|
13923
|
-
const
|
|
13924
|
-
if (
|
|
14152
|
+
const a = Array.from(l.querySelectorAll("eds-button")), s = a.indexOf(r);
|
|
14153
|
+
if (s === -1)
|
|
13925
14154
|
return;
|
|
13926
|
-
let
|
|
13927
|
-
e.key === "ArrowRight" ?
|
|
14155
|
+
let o;
|
|
14156
|
+
e.key === "ArrowRight" ? o = (s + 1) % a.length : o = (s - 1 + a.length) % a.length, (t = a[o]) === null || t === void 0 || t.focus();
|
|
13928
14157
|
}, 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;
|
|
13929
14158
|
}
|
|
13930
14159
|
handleDataChange() {
|
|
@@ -13985,7 +14214,7 @@ const Ve = "table{text-indent:0;border-color:inherit;border-collapse:collapse;}.
|
|
|
13985
14214
|
return n.slice(e, e + this.rowsPerPage);
|
|
13986
14215
|
}
|
|
13987
14216
|
handlePageChange(n) {
|
|
13988
|
-
this.currentPage = n,
|
|
14217
|
+
this.currentPage = n, A({
|
|
13989
14218
|
category: "ui-component",
|
|
13990
14219
|
parentContext: null,
|
|
13991
14220
|
tag: `${this.hostEl.tagName.toLowerCase()}/eds-pagination`,
|
|
@@ -14007,18 +14236,18 @@ const Ve = "table{text-indent:0;border-color:inherit;border-collapse:collapse;}.
|
|
|
14007
14236
|
*/
|
|
14008
14237
|
renderSingleActionCell(n, e) {
|
|
14009
14238
|
var t;
|
|
14010
|
-
const r = this.parsedActions.find((
|
|
14239
|
+
const r = this.parsedActions.find((o) => o.name === n);
|
|
14011
14240
|
if (this.actionTemplate)
|
|
14012
14241
|
return this.actionTemplate(e);
|
|
14013
14242
|
if ((r.type || "button") === "checkbox") {
|
|
14014
|
-
const
|
|
14015
|
-
return i("eds-input-field", { name: `chc-${n}`, label: r.label, type: "checkbox", checked: b, onChange: (
|
|
14243
|
+
const o = (t = r.field) !== null && t !== void 0 ? t : r.name, b = !!e[o];
|
|
14244
|
+
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) });
|
|
14016
14245
|
}
|
|
14017
|
-
const
|
|
14018
|
-
return
|
|
14246
|
+
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) });
|
|
14247
|
+
return a ? s : i("eds-tooltip", { content: r.label }, s);
|
|
14019
14248
|
}
|
|
14020
14249
|
emitAction(n, e, t) {
|
|
14021
|
-
|
|
14250
|
+
A({
|
|
14022
14251
|
category: "ui-component",
|
|
14023
14252
|
parentContext: null,
|
|
14024
14253
|
tag: `${this.hostEl.tagName.toLowerCase()}/action`,
|
|
@@ -14048,18 +14277,18 @@ const Ve = "table{text-indent:0;border-color:inherit;border-collapse:collapse;}.
|
|
|
14048
14277
|
}
|
|
14049
14278
|
render() {
|
|
14050
14279
|
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);
|
|
14051
|
-
return i("div", { key: "
|
|
14052
|
-
var
|
|
14053
|
-
return
|
|
14054
|
-
}))), i("tbody", { key: "
|
|
14055
|
-
var
|
|
14056
|
-
return
|
|
14280
|
+
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) => {
|
|
14281
|
+
var s;
|
|
14282
|
+
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));
|
|
14283
|
+
}))), 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) => {
|
|
14284
|
+
var o;
|
|
14285
|
+
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: {
|
|
14057
14286
|
display: "flex",
|
|
14058
14287
|
gap: "0.5rem",
|
|
14059
14288
|
justifyContent: "center",
|
|
14060
14289
|
flexWrap: "wrap"
|
|
14061
|
-
} }, this.parsedActions.map((b) => i("span", { style: { whiteSpace: "nowrap" } }, this.renderSingleActionCell(b.name,
|
|
14062
|
-
})))))), this.shouldEnablePagination() && i("div", { key: "
|
|
14290
|
+
} }, 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));
|
|
14291
|
+
})))))), 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" })));
|
|
14063
14292
|
}
|
|
14064
14293
|
get hostEl() {
|
|
14065
14294
|
return y(this);
|
|
@@ -14072,12 +14301,12 @@ const Ve = "table{text-indent:0;border-color:inherit;border-collapse:collapse;}.
|
|
|
14072
14301
|
};
|
|
14073
14302
|
}
|
|
14074
14303
|
};
|
|
14075
|
-
|
|
14076
|
-
const
|
|
14304
|
+
nt.style = Qe;
|
|
14305
|
+
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 {
|
|
14077
14306
|
constructor(n) {
|
|
14078
|
-
|
|
14307
|
+
m(this, n), this.tab = v(this, "tab", 7), this.tabRefs = [], this.setTabRef = (e, t) => {
|
|
14079
14308
|
e && (this.tabRefs[t] = e);
|
|
14080
|
-
}, this.tabCva =
|
|
14309
|
+
}, this.tabCva = P([
|
|
14081
14310
|
"relative py-12",
|
|
14082
14311
|
"f-ui-03 whitespace-nowrap",
|
|
14083
14312
|
"effect-color effect-focus",
|
|
@@ -14145,7 +14374,7 @@ const Xe = "*,::before,::after{--tw-border-spacing-x:0;--tw-border-spacing-y:0;-
|
|
|
14145
14374
|
} }, n ? { "data-tab-active": "true" } : {});
|
|
14146
14375
|
}
|
|
14147
14376
|
handleTabClick(n, e, t = !0) {
|
|
14148
|
-
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 &&
|
|
14377
|
+
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 && A({
|
|
14149
14378
|
category: "ui-component",
|
|
14150
14379
|
tag: this.el.tagName.toLowerCase(),
|
|
14151
14380
|
name: (e == null ? void 0 : e.toLowerCase()) || "",
|
|
@@ -14176,10 +14405,10 @@ const Xe = "*,::before,::after{--tw-border-spacing-x:0;--tw-border-spacing-y:0;-
|
|
|
14176
14405
|
t !== e && this.handleTabClick(t, this.parsedTabs[t].label, !0);
|
|
14177
14406
|
}
|
|
14178
14407
|
render() {
|
|
14179
|
-
return i("div", { key: "
|
|
14408
|
+
return i("div", { key: "29c8adfbd79bae86919e8b72f13d9a8a4d1c1d41", id: `${this.identifier}` }, i("div", { key: "94ec3243a35be9db63846b253133fd323fb3759c", 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: "52c337db80f21714a7d3da26b21663c34f5dd836", role: "tablist", ref: (n) => this.tabContainer = n, class: "inline-flex", "aria-label": this.navAriaLabel }, this.parsedTabs.map((n, e) => {
|
|
14180
14409
|
const t = "button", r = this.getTabOptions(n.active, e), l = e === this.activeIndex;
|
|
14181
|
-
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: (
|
|
14182
|
-
}))), i("div", { key: "
|
|
14410
|
+
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);
|
|
14411
|
+
}))), i("div", { key: "9462805200c71ebac037ac5933c156eb9c25ed5c", 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}` })))));
|
|
14183
14412
|
}
|
|
14184
14413
|
get el() {
|
|
14185
14414
|
return y(this);
|
|
@@ -14190,8 +14419,8 @@ const Xe = "*,::before,::after{--tw-border-spacing-x:0;--tw-border-spacing-y:0;-
|
|
|
14190
14419
|
};
|
|
14191
14420
|
}
|
|
14192
14421
|
};
|
|
14193
|
-
|
|
14194
|
-
const
|
|
14422
|
+
it.style = tt;
|
|
14423
|
+
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(
|
|
14195
14424
|
["border-2 rounded-pill"],
|
|
14196
14425
|
// Base classes
|
|
14197
14426
|
{
|
|
@@ -14219,19 +14448,19 @@ const Je = ".f-ui-01{font-family:var(--f-ui-01-fontFamily);font-weight:var(--f-u
|
|
|
14219
14448
|
size: "small"
|
|
14220
14449
|
}
|
|
14221
14450
|
}
|
|
14222
|
-
),
|
|
14451
|
+
), at = class {
|
|
14223
14452
|
constructor(n) {
|
|
14224
|
-
|
|
14453
|
+
m(this, n), this.label = void 0, this.intent = "default", this.size = "small";
|
|
14225
14454
|
}
|
|
14226
14455
|
render() {
|
|
14227
|
-
const n =
|
|
14228
|
-
return i("span", { key: "
|
|
14456
|
+
const n = ot({ intent: this.intent, size: this.size });
|
|
14457
|
+
return i("span", { key: "6a229183bdaf96687e1f71ca3938a22c1259546e", class: n }, this.label);
|
|
14229
14458
|
}
|
|
14230
14459
|
};
|
|
14231
|
-
|
|
14232
|
-
const
|
|
14460
|
+
at.style = lt;
|
|
14461
|
+
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),
|
|
14233
14462
|
0 2px 4px -2px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),
|
|
14234
|
-
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)}`,
|
|
14463
|
+
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"], {
|
|
14235
14464
|
variants: {
|
|
14236
14465
|
intent: {
|
|
14237
14466
|
default: "bg-dark text-light",
|
|
@@ -14243,9 +14472,9 @@ const tt = `.relative{position:relative}.right-4{right:0.25rem}.bottom-4{bottom:
|
|
|
14243
14472
|
defaultVariants: {
|
|
14244
14473
|
intent: "default"
|
|
14245
14474
|
}
|
|
14246
|
-
}),
|
|
14475
|
+
}), gt = class {
|
|
14247
14476
|
constructor(n) {
|
|
14248
|
-
|
|
14477
|
+
m(this, n), this.toast = v(this, "toast", 7), this.dismissToast = () => {
|
|
14249
14478
|
this.toast.emit({ visible: !1, label: "dismissed" }), this.visible = !1;
|
|
14250
14479
|
}, this.message = void 0, this.intent = "default", this.duration = void 0, this.visible = !0;
|
|
14251
14480
|
}
|
|
@@ -14277,21 +14506,21 @@ const tt = `.relative{position:relative}.right-4{right:0.25rem}.bottom-4{bottom:
|
|
|
14277
14506
|
render() {
|
|
14278
14507
|
if (!this.visible)
|
|
14279
14508
|
return null;
|
|
14280
|
-
const n =
|
|
14509
|
+
const n = ct({ intent: this.intent });
|
|
14281
14510
|
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" })));
|
|
14282
14511
|
}
|
|
14283
14512
|
get el() {
|
|
14284
14513
|
return y(this);
|
|
14285
14514
|
}
|
|
14286
14515
|
};
|
|
14287
|
-
|
|
14288
|
-
const
|
|
14516
|
+
gt.style = dt;
|
|
14517
|
+
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 {
|
|
14289
14518
|
constructor(n) {
|
|
14290
|
-
|
|
14519
|
+
m(this, n), this.content = void 0, this.position = "top";
|
|
14291
14520
|
}
|
|
14292
14521
|
/** fire analytics on every hover */
|
|
14293
14522
|
handleHover() {
|
|
14294
|
-
|
|
14523
|
+
A({
|
|
14295
14524
|
category: "ui-component",
|
|
14296
14525
|
tag: this.el.tagName.toLowerCase(),
|
|
14297
14526
|
name: this.content.toLowerCase(),
|
|
@@ -14300,7 +14529,7 @@ const ot = ".relative{position:relative}.absolute{position:absolute}.inline-bloc
|
|
|
14300
14529
|
}
|
|
14301
14530
|
render() {
|
|
14302
14531
|
const n = this.position === "bottom" ? "top-full mt-2" : "bottom-full mb-2";
|
|
14303
|
-
return i("div", { key: "
|
|
14532
|
+
return i("div", { key: "67fbc86d5f9ecfde1d5a0a588f4fb8be2050af0b", class: "relative w-full inline-block group" }, i("slot", { key: "b304174862dd4d5ca93418ecb0d2b4fc2c80427c" }), i("div", { key: "fcd874d53d0e17b7d3be2c6552571f82fbde6506", class: `absolute ${n}
|
|
14304
14533
|
rounded-xs bg-strongest text-inverse
|
|
14305
14534
|
f-ui-03-light pointer-events-none
|
|
14306
14535
|
z-10 px-4 opacity-0 transition-opacity duration-150 ease-in-out
|
|
@@ -14310,12 +14539,12 @@ const ot = ".relative{position:relative}.absolute{position:absolute}.inline-bloc
|
|
|
14310
14539
|
return y(this);
|
|
14311
14540
|
}
|
|
14312
14541
|
};
|
|
14313
|
-
|
|
14314
|
-
const
|
|
14542
|
+
bt.style = ft;
|
|
14543
|
+
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 {
|
|
14315
14544
|
constructor(n) {
|
|
14316
|
-
|
|
14545
|
+
m(this, n), this.handleDropdown = (e) => {
|
|
14317
14546
|
this.expanded = e.detail.expanded;
|
|
14318
|
-
}, this.user = void 0, this.intent = "tertiary", this.expanded = !1;
|
|
14547
|
+
}, this.user = void 0, this.intent = "tertiary", this.dropdownLabel = "Account", this.expanded = !1, this.shortMode = !1;
|
|
14319
14548
|
}
|
|
14320
14549
|
/**
|
|
14321
14550
|
* Helper getter to ensure we work with a User object.
|
|
@@ -14336,48 +14565,54 @@ const dt = "hr,p{margin:0}.block{display:block}.flex{display:flex}.flex-col{flex
|
|
|
14336
14565
|
const l = this.parsedUser;
|
|
14337
14566
|
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()) || "";
|
|
14338
14567
|
}
|
|
14568
|
+
async closeDropdown() {
|
|
14569
|
+
var n;
|
|
14570
|
+
await ((n = this.dropdownEl) === null || n === void 0 ? void 0 : n.close()), this.expanded = !1;
|
|
14571
|
+
}
|
|
14339
14572
|
render() {
|
|
14340
14573
|
const n = this.parsedUser, e = this.expanded ? "chevron-down" : "chevron-right";
|
|
14341
|
-
return i("div", { key: "
|
|
14574
|
+
return i("div", { key: "62bb8a684095f97b6105acdb5d9803c66edba913", class: "block" }, i("div", { key: "350ff5d7b4f47686f7b39662b176f24e719d54e3", class: "flex items-center" }, i("eds-dropdown", { key: "e3b196b127572d038b5ae6bbf00330911ca41e94", 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: "a311fd57839b87054afc7aca9c40ce5772b1350b", class: "min-w-[280px] p-8" }, i("div", { key: "bc8c5b7147718def37bab1adb2715f9ff0074822", class: "flex gap-x-16", "data-dropdown-no-close": !0 }, i("eds-avatar", { key: "c9207d4ecab0507981bb047ee6c59ee4400b5121", "first-name": n.given_name, "last-name": n.family_name, initials: this.initials, color: "black" }), i("div", { key: "c6ec78d935ee851ef5e8080bf30a7ff9c4603bf1", class: "max-w-full" }, n.name && i("p", { key: "c39af63002f1449b049d4be13927da5d51599aca", class: "f-ui-01 text-default w-full text-ellipsis" }, n.name), n.preferred_username && i("p", { key: "d8eaa141490abb1ad917e2da03d4a588ef6d6779", class: "f-ui-03-light text-light mt-4" }, n.preferred_username), n.email && i("p", { key: "904aef6596a85ae438b98bd5ab67c7c7e2299d75", class: "f-ui-03-light text-light mt-4" }, n.email))), i("div", { key: "0cd0a2d8cc59d8b054f36188b4c18182e6a7f919", class: "text-default flex w-full flex-col gap-y-8" }, i("slot", { key: "a41332bcf086d01a458218b74a1812dc55911925" }))))));
|
|
14342
14575
|
}
|
|
14343
14576
|
get hostEl() {
|
|
14344
14577
|
return y(this);
|
|
14345
14578
|
}
|
|
14346
14579
|
};
|
|
14347
|
-
|
|
14580
|
+
mt.style = ut;
|
|
14348
14581
|
export {
|
|
14349
14582
|
En as eds_accordion,
|
|
14350
|
-
|
|
14583
|
+
An as eds_alert,
|
|
14351
14584
|
Tn as eds_avatar,
|
|
14352
14585
|
Rn as eds_block_break,
|
|
14353
|
-
|
|
14586
|
+
Pn as eds_breadcrumb,
|
|
14354
14587
|
Wn as eds_button,
|
|
14355
14588
|
Mn as eds_code_block,
|
|
14356
14589
|
Gn as eds_dropdown,
|
|
14357
14590
|
te as eds_form,
|
|
14358
|
-
le as
|
|
14359
|
-
|
|
14360
|
-
|
|
14361
|
-
|
|
14362
|
-
|
|
14363
|
-
be as
|
|
14364
|
-
|
|
14365
|
-
|
|
14366
|
-
|
|
14367
|
-
|
|
14368
|
-
|
|
14369
|
-
Ce as
|
|
14370
|
-
Fe as
|
|
14371
|
-
Le as
|
|
14372
|
-
|
|
14373
|
-
|
|
14374
|
-
He as
|
|
14375
|
-
Be as
|
|
14376
|
-
Ue as
|
|
14377
|
-
Ye as
|
|
14378
|
-
Ze as
|
|
14379
|
-
|
|
14380
|
-
|
|
14381
|
-
|
|
14382
|
-
gt as
|
|
14591
|
+
le as eds_global_search,
|
|
14592
|
+
se as eds_header,
|
|
14593
|
+
Ct as eds_icon_wrapper,
|
|
14594
|
+
ge as eds_img,
|
|
14595
|
+
Et as eds_input,
|
|
14596
|
+
be as eds_input_field,
|
|
14597
|
+
me as eds_input_footer,
|
|
14598
|
+
ve as eds_input_label,
|
|
14599
|
+
zt as eds_input_range,
|
|
14600
|
+
Ft as eds_input_search,
|
|
14601
|
+
It as eds_input_select,
|
|
14602
|
+
Ce as eds_link,
|
|
14603
|
+
Fe as eds_logo,
|
|
14604
|
+
Le as eds_matomo_notice,
|
|
14605
|
+
De as eds_nps,
|
|
14606
|
+
Oe as eds_pagination,
|
|
14607
|
+
He as eds_rating,
|
|
14608
|
+
Be as eds_spinner,
|
|
14609
|
+
Ue as eds_steps,
|
|
14610
|
+
Ye as eds_steps_v2,
|
|
14611
|
+
Ze as eds_switch,
|
|
14612
|
+
nt as eds_table,
|
|
14613
|
+
it as eds_tabs,
|
|
14614
|
+
at as eds_tag,
|
|
14615
|
+
gt as eds_toast,
|
|
14616
|
+
bt as eds_tooltip,
|
|
14617
|
+
mt as eds_user
|
|
14383
14618
|
};
|