@ebrains/vue 1.3.0 → 1.4.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/{color-primary-palette_6.entry-CLe70qe2.js → color-primary-palette_6.entry-BXRbIYQI.js} +1 -1
- package/{color-primary-palette_6.entry-C7BHQEnw.mjs → color-primary-palette_6.entry-CvT9Ya5U.mjs} +1 -1
- package/{components-section.entry-B_kYIcya.js → components-section.entry-CWKDKHtQ.js} +1 -1
- package/{components-section.entry-DcfSB-kY.mjs → components-section.entry-DxoI4HY4.mjs} +1 -1
- package/{correct-use-of-colors.entry-CcnJrMG_.mjs → correct-use-of-colors.entry-C5sWpTko.mjs} +1 -1
- package/{correct-use-of-colors.entry-BGChf9ec.js → correct-use-of-colors.entry-DF18kIaK.js} +1 -1
- package/{docs-palettes.entry-CzAVEsqm.js → docs-palettes.entry-BWpyXx-T.js} +1 -1
- package/{docs-palettes.entry-CxxNNtY3.mjs → docs-palettes.entry-lOvWFgf-.mjs} +1 -1
- package/{docs-tokens.entry-B-0AwUaT.js → docs-tokens.entry-Bv54B_2f.js} +1 -1
- package/{docs-tokens.entry-Dmdau8tN.mjs → docs-tokens.entry-C1506Ctj.mjs} +1 -1
- package/{eds-accordion.entry-BTD6_yTY.js → eds-accordion.entry-Df1wwL9c.js} +1 -1
- package/{eds-accordion.entry-CFtzyK7V.mjs → eds-accordion.entry-RqLUu_aX.mjs} +1 -1
- package/{eds-alert.entry-DNcSOFx-.mjs → eds-alert.entry-CbLdoVL6.mjs} +1 -1
- package/{eds-alert.entry-DBrGIgok.js → eds-alert.entry-Du5kP3mG.js} +1 -1
- package/{eds-app-root.entry-DAofvGrS.js → eds-app-root.entry-6U1IUxaV.js} +1 -1
- package/{eds-app-root.entry-D71BGBqs.mjs → eds-app-root.entry-C1L4rDyg.mjs} +1 -1
- package/{eds-avatar_28.entry-BI00ikeb.mjs → eds-avatar_29.entry-BUOXv9To.mjs} +346 -274
- package/{eds-avatar_28.entry-DopORaIL.js → eds-avatar_29.entry-CjNZgyQq.js} +11 -9
- package/{eds-breadcrumb.entry-CV7LDFTG.mjs → eds-breadcrumb.entry-CLUX3Y0B.mjs} +1 -1
- package/{eds-breadcrumb.entry-BygCmjM-.js → eds-breadcrumb.entry-Dml0f2Up.js} +1 -1
- package/{eds-card-desc_2.entry-3kgejbQH.js → eds-card-desc_2.entry-Dqgd6Zi8.js} +1 -1
- package/{eds-card-desc_2.entry-Do4CAipD.mjs → eds-card-desc_2.entry-ZED1q0dr.mjs} +1 -1
- package/{eds-card-generic.entry-CbDtabpb.mjs → eds-card-generic.entry-BGXNIjXC.mjs} +1 -1
- package/{eds-card-generic.entry-C_Yw-DLJ.js → eds-card-generic.entry-D7VnEfUv.js} +1 -1
- package/{eds-card-project.entry-BUbV0p8h.js → eds-card-project.entry-Cq2NyFI-.js} +1 -1
- package/{eds-card-project.entry-DAMXRHfD.mjs → eds-card-project.entry-Dl0CS7vm.mjs} +1 -1
- package/{eds-card-section.entry-CqomDmBW.js → eds-card-section.entry-DGruSi5l.js} +1 -1
- package/{eds-card-section.entry-DyA-0-g2.mjs → eds-card-section.entry-DT-_pAUK.mjs} +1 -1
- package/{eds-card-tags.entry-DHtCc-Su.mjs → eds-card-tags.entry-C7NrBbP8.mjs} +1 -1
- package/{eds-card-tags.entry-jLEzA08t.js → eds-card-tags.entry-ClsT3xfY.js} +1 -1
- package/{eds-card-tool.entry-D-ncKPKB.mjs → eds-card-tool.entry-LuekCyVO.mjs} +1 -1
- package/{eds-card-tool.entry-poM-4hr7.js → eds-card-tool.entry-z0fP74r5.js} +1 -1
- package/{eds-code-block.entry-COQqBXRW.js → eds-code-block.entry-BR4uNheU.js} +1 -1
- package/{eds-code-block.entry-CHxseIw9.mjs → eds-code-block.entry-BiL7xPb5.mjs} +1 -1
- package/{eds-cookies-preference.entry-xYpSlhUA.mjs → eds-cookies-preference.entry-7DUvxDvw.mjs} +1 -1
- package/{eds-cookies-preference.entry-B_7xgDUj.js → eds-cookies-preference.entry-DxYNSyjz.js} +1 -1
- package/{eds-feedback.entry-Bz0Gg-D6.js → eds-feedback.entry-BYmUBprW.js} +1 -1
- package/{eds-feedback.entry-_rvRRCPH.mjs → eds-feedback.entry-C1M_2DF2.mjs} +1 -1
- package/{eds-frame.entry-C7_mlplr.js → eds-frame.entry-Djc8vEPI.js} +1 -1
- package/{eds-frame.entry-AKS6Cg3S.mjs → eds-frame.entry-g6FsDvwR.mjs} +1 -1
- package/{eds-gauge.entry-Bu1wRc7L.js → eds-gauge.entry-Dg_w6UKG.js} +1 -1
- package/{eds-gauge.entry-CTjtmNJE.mjs → eds-gauge.entry-DnkcGo5U.mjs} +1 -1
- package/{eds-icon-arrow-diagonal.entry-EflyyUWB.js → eds-icon-arrow-diagonal.entry-BThKfy6M.js} +1 -1
- package/{eds-icon-arrow-diagonal.entry-DApWIpVN.mjs → eds-icon-arrow-diagonal.entry-DfER6mGO.mjs} +1 -1
- package/{eds-icon-arrow-right.entry-ZSfBTScX.js → eds-icon-arrow-right.entry-BQoCCX7s.js} +1 -1
- package/{eds-icon-arrow-right.entry-Cix9ivM9.mjs → eds-icon-arrow-right.entry-CvUL2IEH.mjs} +1 -1
- package/{eds-icon-bluesky.entry-BRIRJiSV.js → eds-icon-bluesky.entry-DtLvqCfL.js} +1 -1
- package/{eds-icon-bluesky.entry-2ANhlM_4.mjs → eds-icon-bluesky.entry-pOakWVwm.mjs} +1 -1
- package/{eds-icon-bookmark.entry-Ddl0jrS1.mjs → eds-icon-bookmark.entry-CAbcBSOw.mjs} +1 -1
- package/{eds-icon-bookmark.entry-CkgO7mHH.js → eds-icon-bookmark.entry-DxEJgwKd.js} +1 -1
- package/{eds-icon-chevron-down.entry-C8v2vr9X.js → eds-icon-chevron-down.entry-CfN_CVQg.js} +1 -1
- package/{eds-icon-chevron-down.entry-NlPaF_rj.mjs → eds-icon-chevron-down.entry-Cn8FNSj1.mjs} +1 -1
- package/{eds-icon-chevron-left.entry-BeKBF5L3.mjs → eds-icon-chevron-left.entry-KccXzPrS.mjs} +1 -1
- package/{eds-icon-chevron-left.entry-CBrh9mnu.js → eds-icon-chevron-left.entry-pFEqXjQr.js} +1 -1
- package/{eds-icon-chevron-right.entry-BIIbLECk.js → eds-icon-chevron-right.entry-Dq3Uar1F.js} +1 -1
- package/{eds-icon-chevron-right.entry-D62Bse5m.mjs → eds-icon-chevron-right.entry-dm-TCY2y.mjs} +1 -1
- package/{eds-icon-chevron-up.entry-A5aQkjF_.js → eds-icon-chevron-up.entry-7njN-pDK.js} +1 -1
- package/{eds-icon-chevron-up.entry-D2Ztr_9R.mjs → eds-icon-chevron-up.entry-DZeteF2a.mjs} +1 -1
- package/{eds-icon-close.entry-Cjai9hqm.js → eds-icon-close.entry-DI2JTTCg.js} +1 -1
- package/{eds-icon-close.entry-Cm9uys75.mjs → eds-icon-close.entry-S2eX7MJN.mjs} +1 -1
- package/{eds-icon-copy.entry-B014Oj94.mjs → eds-icon-copy.entry-BwDCx4LA.mjs} +1 -1
- package/{eds-icon-copy.entry-BPG9iphp.js → eds-icon-copy.entry-CvgDlhN9.js} +1 -1
- package/{eds-icon-eu.entry--ifq4TVY.mjs → eds-icon-eu.entry-DAkHQ7Xw.mjs} +1 -1
- package/{eds-icon-eu.entry-BkQMef2R.js → eds-icon-eu.entry-DS-Jji5x.js} +1 -1
- package/{eds-icon-external.entry-BluwR-M2.mjs → eds-icon-external.entry-D2b2sLm2.mjs} +1 -1
- package/{eds-icon-external.entry-DPGDAx-n.js → eds-icon-external.entry-c4JKvZw1.js} +1 -1
- package/{eds-icon-facebook.entry-C6vLL-ZK.mjs → eds-icon-facebook.entry-B46aASQF.mjs} +1 -1
- package/{eds-icon-facebook.entry-AD9p9cdA.js → eds-icon-facebook.entry-DGwJAZfT.js} +1 -1
- package/{eds-icon-gitlab.entry-BVntXCkj.mjs → eds-icon-gitlab.entry-BCxrsdS_.mjs} +1 -1
- package/{eds-icon-gitlab.entry-byyKzSVe.js → eds-icon-gitlab.entry-Ctq954TL.js} +1 -1
- package/{eds-icon-linkedin.entry-1ALOw5Nw.js → eds-icon-linkedin.entry-B_zROU0d.js} +1 -1
- package/{eds-icon-linkedin.entry-Biiw6BRH.mjs → eds-icon-linkedin.entry-CkviXGQC.mjs} +1 -1
- package/{eds-icon-loader.entry-CuHJjqmg.mjs → eds-icon-loader.entry-BItAXUxT.mjs} +1 -1
- package/{eds-icon-loader.entry-BV1KIgZF.js → eds-icon-loader.entry-CEZn4VxW.js} +1 -1
- package/{eds-icon-mastodon.entry-DZPeyJnj.mjs → eds-icon-mastodon.entry-BzqTkzQ0.mjs} +1 -1
- package/{eds-icon-mastodon.entry-jgD7MTYX.js → eds-icon-mastodon.entry-qCWJ_x5W.js} +1 -1
- package/{eds-icon-menu.entry-K8jBARsc.js → eds-icon-menu.entry-BUmP_hTD.js} +1 -1
- package/{eds-icon-menu.entry-BmluVk4O.mjs → eds-icon-menu.entry-C6A0c2hG.mjs} +1 -1
- package/{eds-icon-minus.entry-BwS2J-0k.mjs → eds-icon-minus.entry-DMTMoQb0.mjs} +1 -1
- package/{eds-icon-minus.entry-B-K-fCLn.js → eds-icon-minus.entry-DTHZwwvT.js} +1 -1
- package/{eds-icon-more.entry-B1xRZHm5.js → eds-icon-more.entry-CcJ9pB-o.js} +1 -1
- package/{eds-icon-more.entry-C4LI07y7.mjs → eds-icon-more.entry-PDClpir4.mjs} +1 -1
- package/{eds-icon-paper.entry-S2bABr8M.js → eds-icon-paper.entry-B7ZesD_k.js} +1 -1
- package/{eds-icon-paper.entry-DYyfOOBp.mjs → eds-icon-paper.entry-Bfr8U_5Z.mjs} +1 -1
- package/{eds-icon-plus.entry-DrOQR1-5.js → eds-icon-plus.entry-B9dO_yv1.js} +1 -1
- package/{eds-icon-plus.entry-lgFingSk.mjs → eds-icon-plus.entry-qBIxMO6w.mjs} +1 -1
- package/{eds-icon-portal.entry-BkiLFOgK.mjs → eds-icon-portal.entry-BkZn2UlW.mjs} +1 -1
- package/{eds-icon-portal.entry-DnJmIMRm.js → eds-icon-portal.entry-D68nVjL8.js} +1 -1
- package/{eds-icon-private.entry-DtBSIkHX.js → eds-icon-private.entry-B-BOsFV3.js} +1 -1
- package/{eds-icon-private.entry-CDS_Srbd.mjs → eds-icon-private.entry-CPudUW3y.mjs} +1 -1
- package/{eds-icon-public.entry-DDn8AIxa.js → eds-icon-public.entry-BEuGmGDm.js} +1 -1
- package/{eds-icon-public.entry-DR5uGDZS.mjs → eds-icon-public.entry-l-c12-ot.mjs} +1 -1
- package/{eds-icon-search.entry-LBtE2sTv.js → eds-icon-search.entry-CyujB3B2.js} +1 -1
- package/{eds-icon-search.entry-Bnd3z7Gq.mjs → eds-icon-search.entry-xwA-HYjT.mjs} +1 -1
- package/{eds-icon-star.entry-DF5yuBBL.js → eds-icon-star.entry-CnkWJzkZ.js} +1 -1
- package/{eds-icon-star.entry-DL55cn-c.mjs → eds-icon-star.entry-kHi0LUqR.mjs} +1 -1
- package/{eds-icon-success.entry-3qIhgFfS.mjs → eds-icon-success.entry-Crhf7xIP.mjs} +1 -1
- package/{eds-icon-success.entry-B1fogHF3.js → eds-icon-success.entry-yuF-uDaQ.js} +1 -1
- package/{eds-icon-thumbs-down.entry-jleRkiuW.mjs → eds-icon-thumbs-down.entry-DBKBcj-i.mjs} +1 -1
- package/{eds-icon-thumbs-down.entry-CMPpiwL9.js → eds-icon-thumbs-down.entry-kYL2vKmH.js} +1 -1
- package/{eds-icon-thumbs-up.entry-uIV1xodW.mjs → eds-icon-thumbs-up.entry-0CMBOdab.mjs} +1 -1
- package/{eds-icon-thumbs-up.entry-DSi5a3rC.js → eds-icon-thumbs-up.entry-z9R1lFQb.js} +1 -1
- package/{eds-icon-tutorial.entry-Cmufbj9R.mjs → eds-icon-tutorial.entry-Dez96InA.mjs} +1 -1
- package/{eds-icon-tutorial.entry-CCB4om6s.js → eds-icon-tutorial.entry-JKXn5Erp.js} +1 -1
- package/{eds-icon-twitter.entry-CmxHLjFA.mjs → eds-icon-twitter.entry-CMGpTPzq.mjs} +1 -1
- package/{eds-icon-twitter.entry-C9WCQdIw.js → eds-icon-twitter.entry-bMXEypFu.js} +1 -1
- package/{eds-icon-unknown.entry-B2KAcq_j.mjs → eds-icon-unknown.entry-BXU4Bg9C.mjs} +1 -1
- package/{eds-icon-unknown.entry-BArTU2et.js → eds-icon-unknown.entry-DQ3C8FEA.js} +1 -1
- package/{eds-icon-updown.entry-DZipKiZI.mjs → eds-icon-updown.entry-B8IWgmtI.mjs} +1 -1
- package/{eds-icon-updown.entry-NTbpPknC.js → eds-icon-updown.entry-Cna08qxN.js} +1 -1
- package/{eds-icon-user.entry-BHfqBJZM.mjs → eds-icon-user.entry-B1bMKs8B.mjs} +1 -1
- package/{eds-icon-user.entry-BSfArIua.js → eds-icon-user.entry-CJFYXCKO.js} +1 -1
- package/{eds-icon-youtube.entry-SF25C1Kn.js → eds-icon-youtube.entry-DnJcjmle.js} +1 -1
- package/{eds-icon-youtube.entry-lwJhoDlX.mjs → eds-icon-youtube.entry-pSBbdBV8.mjs} +1 -1
- package/{eds-matomo-notice.entry-KHg6Z8hS.js → eds-matomo-notice.entry-DXgylTlk.js} +1 -1
- package/{eds-matomo-notice.entry-Dk2xauk_.mjs → eds-matomo-notice.entry-DvvvlaFb.mjs} +1 -1
- package/{eds-pie.entry-D7C4sB-x.js → eds-pie.entry-Cu2uq_3h.js} +1 -1
- package/{eds-pie.entry-iahHzaRO.mjs → eds-pie.entry-D_jCamhX.mjs} +1 -1
- package/{eds-progress-bar.entry-v34osF0f.mjs → eds-progress-bar.entry-C4pfvwx1.mjs} +1 -1
- package/{eds-progress-bar.entry-DnNUjJMk.js → eds-progress-bar.entry-CC1dOWe1.js} +1 -1
- package/{eds-rating.entry-1XJZVuds.mjs → eds-rating.entry-B1SkHc9j.mjs} +1 -1
- package/{eds-rating.entry-BIfkMWJ0.js → eds-rating.entry-Cub8-CYo.js} +1 -1
- package/{eds-section-core_2.entry-DTPGi-T3.mjs → eds-section-core_2.entry-JzPcyWhJ.mjs} +1 -1
- package/{eds-section-core_2.entry-CJ9ut1Sr.js → eds-section-core_2.entry-MI92_AWE.js} +1 -1
- package/{eds-spinner.entry-B_lPL79O.js → eds-spinner.entry-BEiBPrum.js} +1 -1
- package/{eds-spinner.entry-Co2X0o0l.mjs → eds-spinner.entry-DyS6vswP.mjs} +1 -1
- package/{eds-splash-screen.entry-DBluWXIM.mjs → eds-splash-screen.entry-DlAoDuzU.mjs} +1 -1
- package/{eds-splash-screen.entry-Befnen9o.js → eds-splash-screen.entry-V4n8Dvfm.js} +1 -1
- package/{eds-switch.entry-CosNq-p4.mjs → eds-switch.entry-Bo0okWHX.mjs} +1 -1
- package/{eds-switch.entry-B8LLtctL.js → eds-switch.entry-KL8zZeak.js} +1 -1
- package/{eds-timeline.entry-BCjmB9Xm.js → eds-timeline.entry-Cxyvzy8x.js} +1 -1
- package/{eds-timeline.entry-DjvYLLSp.mjs → eds-timeline.entry-DBu98TrB.mjs} +1 -1
- package/{eds-toast-manager.entry-CSLouuKC.js → eds-toast-manager.entry-C5zTIL5J.js} +1 -1
- package/{eds-toast-manager.entry-CI2pWD12.mjs → eds-toast-manager.entry-pv7Pcl6B.mjs} +1 -1
- package/{eds-tooltip.entry-DEB_c3w5.js → eds-tooltip.entry-DdyCiR00.js} +1 -1
- package/{eds-tooltip.entry-DxkWRXWv.mjs → eds-tooltip.entry-DffUxKpF.mjs} +1 -1
- package/{eds-trl.entry-Cq2K9CQO.mjs → eds-trl.entry-B0NOKbaT.mjs} +1 -1
- package/{eds-trl.entry-Z5kWmLOP.js → eds-trl.entry-a4az0XAJ.js} +1 -1
- package/{incorrect-use-of-colors.entry-DUP8RsBO.js → incorrect-use-of-colors.entry-BbWaxWJ2.js} +1 -1
- package/{incorrect-use-of-colors.entry-vKxKvEdZ.mjs → incorrect-use-of-colors.entry-CX3u3L-Z.mjs} +1 -1
- package/{index-CWPouWg5.js → index-BK320cEL.js} +1 -1
- package/{index-CzMU3jaN.mjs → index-DpUTWZFA.mjs} +86 -87
- package/index.js +1 -1
- package/index.mjs +1 -1
- package/{logo-space.entry-BA6ql3EX.mjs → logo-space.entry-Cow8tI7Y.mjs} +1 -1
- package/{logo-space.entry-DH8akOBP.js → logo-space.entry-dS1l_4Wh.js} +1 -1
- package/{logo-variations-horizontal_2.entry-z5j2TKKV.js → logo-variations-horizontal_2.entry-Bzol9fjc.js} +1 -1
- package/{logo-variations-horizontal_2.entry-BirE9z23.mjs → logo-variations-horizontal_2.entry-DBafIDHo.mjs} +1 -1
- package/{logo-variations-tabs.entry-hp_vi-H9.js → logo-variations-tabs.entry-BLa1GqF6.js} +1 -1
- package/{logo-variations-tabs.entry-BmTvERXv.mjs → logo-variations-tabs.entry-D4uKKqh0.mjs} +1 -1
- package/{logo-wrong-usage.entry-CjgtFVPG.js → logo-wrong-usage.entry-BkwO7Dgm.js} +1 -1
- package/{logo-wrong-usage.entry-BbPrw3j7.mjs → logo-wrong-usage.entry-C0ylWAnU.mjs} +1 -1
- package/package.json +1 -1
- package/{svg-repository.entry-DKFrqv2N.mjs → svg-repository.entry-DHYfAu5N.mjs} +1 -1
- package/{svg-repository.entry-CZSA48bf.js → svg-repository.entry-TP5g_TK_.js} +1 -1
- package/{token-list_3.entry-CA_dmkg0.mjs → token-list_3.entry-BrA3OWSV.mjs} +1 -1
- package/{token-list_3.entry-D01IjrRV.js → token-list_3.entry-VmEoB2Ng.js} +1 -1
- package/{token-ratios.entry-etabNNVm.js → token-ratios.entry-BjY2DyCo.js} +1 -1
- package/{token-ratios.entry-DbPXi2kO.mjs → token-ratios.entry-vmg0sh70.mjs} +1 -1
- package/{token-spacing.entry-UQqL_0C-.js → token-spacing.entry-B9xNfUfE.js} +1 -1
- package/{token-spacing.entry-h2Rrqa4s.mjs → token-spacing.entry-BOxK1TIH.mjs} +1 -1
- package/{token-typography.entry-7w397rnv.mjs → token-typography.entry-B0aoPZEB.mjs} +1 -1
- package/{token-typography.entry-CGL980gc.js → token-typography.entry-DU8aU6Rt.js} +1 -1
- package/eds-toast.entry-CMhcZNkR.js +0 -3
- package/eds-toast.entry-CZthqnDQ.mjs +0 -61
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { r as
|
|
1
|
+
import { r as d, h as i, g, c as h } from "./index-DpUTWZFA.mjs";
|
|
2
2
|
import { s as f } from "./analytics-d99780e3-Bay18Oil.mjs";
|
|
3
3
|
import { c as m } from "./index-39c58238-BwYCDOHZ.mjs";
|
|
4
4
|
import { p as b } from "./sharedUtils-a550989c-Ci3Tx3jc.mjs";
|
|
@@ -205,9 +205,9 @@ abbr:where([title]) {
|
|
|
205
205
|
|
|
206
206
|
.bg-gradient-04-bottom {
|
|
207
207
|
background: linear-gradient(to top, #2B69FC, ease-in-out, #E6E6E6);
|
|
208
|
-
}`,
|
|
208
|
+
}`, A = j, P = class {
|
|
209
209
|
constructor(n) {
|
|
210
|
-
|
|
210
|
+
d(this, n), this.firstName = "User", this.lastName = "Avatar", this.picture = void 0, this.initials = void 0, this.color = "grey";
|
|
211
211
|
}
|
|
212
212
|
/**
|
|
213
213
|
* Flag to render the avatar with rounded (pill) shape if `true`.
|
|
@@ -254,17 +254,17 @@ abbr:where([title]) {
|
|
|
254
254
|
return i("div", { key: "b7eff7ae1a1dea3509041e39316b49b673dbdf17", 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));
|
|
255
255
|
}
|
|
256
256
|
};
|
|
257
|
-
|
|
258
|
-
const W = ".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}", _ = W,
|
|
257
|
+
P.style = A;
|
|
258
|
+
const W = ".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}", _ = W, T = class {
|
|
259
259
|
constructor(n) {
|
|
260
|
-
|
|
260
|
+
d(this, n), this.inverse = !1;
|
|
261
261
|
}
|
|
262
262
|
render() {
|
|
263
263
|
return i("hr", { key: "b604a776cae7edeee189e00af6993b42b57203f0", class: `${this.inverse ? "border-default" : "border-softer"} my-16 inline-block w-full border-t-2` });
|
|
264
264
|
}
|
|
265
265
|
};
|
|
266
|
-
|
|
267
|
-
const
|
|
266
|
+
T.style = _;
|
|
267
|
+
const O = `*,
|
|
268
268
|
::before,
|
|
269
269
|
::after {
|
|
270
270
|
box-sizing: border-box;
|
|
@@ -1173,9 +1173,9 @@ button,
|
|
|
1173
1173
|
|
|
1174
1174
|
.hover\\:before\\:opacity-100:hover::before {
|
|
1175
1175
|
opacity: 1;
|
|
1176
|
-
}`,
|
|
1176
|
+
}`, $ = O, H = class {
|
|
1177
1177
|
constructor(n) {
|
|
1178
|
-
|
|
1178
|
+
d(this, n), this.button = m([
|
|
1179
1179
|
"relative inline-flex items-center",
|
|
1180
1180
|
"py-8",
|
|
1181
1181
|
"effect-focus effect-color",
|
|
@@ -1279,7 +1279,7 @@ button,
|
|
|
1279
1279
|
n.target === this.el && (this.parentContext = n.detail, n.stopPropagation());
|
|
1280
1280
|
}
|
|
1281
1281
|
handleClick(n) {
|
|
1282
|
-
var e,
|
|
1282
|
+
var e, t;
|
|
1283
1283
|
if (this.disabled) {
|
|
1284
1284
|
n.preventDefault();
|
|
1285
1285
|
return;
|
|
@@ -1288,7 +1288,7 @@ button,
|
|
|
1288
1288
|
category: "ui-component",
|
|
1289
1289
|
parentContext: this.parentContext,
|
|
1290
1290
|
tag: this.el.tagName.toLowerCase(),
|
|
1291
|
-
name: ((e = this.label) === null || e === void 0 ? void 0 : e.toLowerCase()) || ((
|
|
1291
|
+
name: ((e = this.label) === null || e === void 0 ? void 0 : e.toLowerCase()) || ((t = this.ariaLabel) === null || t === void 0 ? void 0 : t.toLowerCase()) || "",
|
|
1292
1292
|
action: "click"
|
|
1293
1293
|
}), typeof this.triggerClick == "function" && this.triggerClick();
|
|
1294
1294
|
}
|
|
@@ -1302,7 +1302,7 @@ button,
|
|
|
1302
1302
|
iconOnly: !this.label,
|
|
1303
1303
|
iconSmall: this.iconSmall
|
|
1304
1304
|
}), e = this.elementType;
|
|
1305
|
-
return i(e, { key: "ecdd901c70578c07ef094aadbcd287588d4ba705", "aria-label": this.label || this.ariaLabel || void 0, "aria-disabled": this.elementType === "button" ? this.disabled : void 0, disabled: this.elementType === "button" ? this.disabled : void 0, class: `${n || ""} ${this.extraClass || ""}`, onClick: (
|
|
1305
|
+
return i(e, { key: "ecdd901c70578c07ef094aadbcd287588d4ba705", "aria-label": this.label || this.ariaLabel || void 0, "aria-disabled": this.elementType === "button" ? this.disabled : void 0, disabled: this.elementType === "button" ? this.disabled : void 0, class: `${n || ""} ${this.extraClass || ""}`, onClick: (t) => this.handleClick(t) }, this.label && i("span", { key: "af8d0ca1c5c3e54f9db3066931a69d3a5a812666", class: this.loading ? "opacity-0" : "" }, this.label), this.loading && i("span", { key: "29b72c15e80f46e023f829568f58d8a8dca82b78", class: "absolute inset-0 flex items-center justify-center" }, i("span", { key: "bad8bd059b1312ca3f5ab173b1203eb395e9bbd8", class: "loader", style: {
|
|
1306
1306
|
border: `3px solid ${this.intent === "secondary" ? "rgba(255, 255, 255, .3)" : "rgba(0, 0, 0, .3)"}`,
|
|
1307
1307
|
borderBottomColor: this.intent === "secondary" ? "#fff" : "#000"
|
|
1308
1308
|
} })), this.icon ? i("eds-icon-wrapper", { class: `
|
|
@@ -1311,13 +1311,13 @@ button,
|
|
|
1311
1311
|
`, icon: this.icon }) : null);
|
|
1312
1312
|
}
|
|
1313
1313
|
get el() {
|
|
1314
|
-
return
|
|
1314
|
+
return g(this);
|
|
1315
1315
|
}
|
|
1316
1316
|
};
|
|
1317
|
-
|
|
1318
|
-
const D = ".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}",
|
|
1317
|
+
H.style = $;
|
|
1318
|
+
const D = ".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}", q = D, M = class {
|
|
1319
1319
|
constructor(n) {
|
|
1320
|
-
|
|
1320
|
+
d(this, n), this.dropdown = h(this, "dropdown", 7), this.focusableItems = [], this.handleClick = () => {
|
|
1321
1321
|
var e;
|
|
1322
1322
|
this.isOpen = !this.isOpen, this.isOpen ? (this.focusIndex = 0, this.focusItem()) : this.closeDropdown(), this.dropdown.emit({ expanded: this.isOpen }), f({
|
|
1323
1323
|
category: "ui-component",
|
|
@@ -1389,13 +1389,13 @@ const D = ".z-focus{z-index:99}.relative{position:relative}.shadow-small{--tw-sh
|
|
|
1389
1389
|
}, style: { display: this.isOpen ? "block" : "none" }, "aria-label": "Dropdown", "aria-hidden": !this.isOpen }, i("slot", { key: "6a7ba94045d366d20c6618845692d977f20437e3" })));
|
|
1390
1390
|
}
|
|
1391
1391
|
get host() {
|
|
1392
|
-
return
|
|
1392
|
+
return g(this);
|
|
1393
1393
|
}
|
|
1394
1394
|
};
|
|
1395
|
-
|
|
1396
|
-
const
|
|
1395
|
+
M.style = q;
|
|
1396
|
+
const N = "p{margin:0}.cursor-pointer{cursor:pointer}.ml-4{margin-left:0.25rem}.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}.bg-darker{background-color:var(--grey-400)}.border-softest{border-color:rgba(0, 0, 0, .05)}.border-t-2{border-top-width:2px}.pt-20{padding-top:1.25rem}.pb-28{padding-bottom:1.75rem}.grid-layout{display:grid;grid-template-columns:repeat(var(--container-grid-columns, var(--grid-columns)), 1fr);grid-gap:var(--inner-gutter)}.grid-col-span-12{--container-grid-columns:12;grid-column:span 12 / span 12}.mt-28{margin-top:1.75rem}.gap-y-12{row-gap:0.75rem}.gap-x-12{-moz-column-gap:0.75rem;column-gap:0.75rem}.inline{display:inline}.flex{display:flex}.inline-flex{display:inline-flex}.flex-wrap{flex-wrap:wrap}.items-center{align-items:center}.justify-center{justify-content:center}.justify-between{justify-content:space-between}.gap-20{gap:1.25rem}.effect-focus{outline-width:3px;outline-offset:2px;outline-color:var(--green-500)}.focus-visible\\:rounded-xs:focus-visible{border-radius:4px}.flex{display:flex}.w-\\[54px\\]{width:54px}.ml-0{margin-left:0rem}.order-last{order:9999}.w-full{width:100%}.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)}.mt-4{margin-top:0.25rem}.mr-4{margin-right:0.25rem}.gap-12{gap:0.75rem}.inline-block{display:inline-block}.\\!no-underline{text-decoration-line:none !important}.decoration-2{text-decoration-thickness:2px}.underline-offset-4{text-underline-offset:4px}.hover\\:\\!underline:hover{text-decoration-line:underline !important}.ml-auto{margin-left:auto}.pl-12{padding-left:0.75rem}@media (min-width: 750px){.md\\:pt-28{padding-top:1.75rem}}@media (min-width: 900px){.lg\\:grid-col-span-5{--container-grid-columns:5;grid-column:span 5 / span 5}.lg\\:grid-col-span-6{--container-grid-columns:6;grid-column:span 6 / span 6}.lg\\:grid-col-start-7{grid-column-start:7}.lg\\:mt-0{margin-top:0rem}.lg\\:flex-nowrap{flex-wrap:nowrap}.lg\\:order-none{order:0}.lg\\:w-auto{width:auto}}@media (min-width: 1024px){.xl\\:pb-40{padding-bottom:2.5rem}}", B = N, R = class {
|
|
1397
1397
|
constructor(n) {
|
|
1398
|
-
|
|
1398
|
+
d(this, n), this.cookies = h(this, "cookies", 7), this.backToTop = () => {
|
|
1399
1399
|
window.scrollTo({ top: 0, behavior: "smooth" });
|
|
1400
1400
|
}, this.social = !1, this.enableScrollTop = !1, this.fundedBy = "EBRAINS is funded by the Horizon Europe Framework Programme.", this.rightsReserved = `${(/* @__PURE__ */ new Date()).getFullYear()} EBRAINS. All rights reserved.`, this.cookiesPreferences = "Cookies preferences", this.enableCookiesSettings = !1, this.backToTopAriaLabel = "Back to Top", this.showMatomoNotice = !1;
|
|
1401
1401
|
}
|
|
@@ -1415,85 +1415,89 @@ const q = "p{margin:0}.cursor-pointer{cursor:pointer}.ml-4{margin-left:0.25rem}.
|
|
|
1415
1415
|
} }) : null))), i("div", { key: "3ffce63f46352acd80eff48fb121b5ee165c1ad5", class: "ml-auto pl-12" }, this.enableScrollTop ? i("eds-button", { id: "backToTop", "aria-hidden": "true", "aria-label": this.backToTopAriaLabel, intent: "ghostInverse", icon: "chevron-up", onClick: this.backToTop, class: "transition-all transition duration-75 opacity-0 " }) : null))));
|
|
1416
1416
|
}
|
|
1417
1417
|
};
|
|
1418
|
-
R.style =
|
|
1419
|
-
function u(n, e, r,
|
|
1420
|
-
const
|
|
1421
|
-
|
|
1422
|
-
|
|
1423
|
-
|
|
1424
|
-
|
|
1425
|
-
|
|
1426
|
-
|
|
1427
|
-
|
|
1428
|
-
|
|
1429
|
-
|
|
1430
|
-
|
|
1431
|
-
|
|
1432
|
-
|
|
1433
|
-
|
|
1434
|
-
|
|
1435
|
-
|
|
1436
|
-
|
|
1437
|
-
|
|
1418
|
+
R.style = B;
|
|
1419
|
+
function u(n, e, t, r, l, o, a) {
|
|
1420
|
+
const s = [];
|
|
1421
|
+
if (r && !e && s.push(`${n} is required.`), t === "number") {
|
|
1422
|
+
const c = typeof e == "number" ? e : parseFloat(e);
|
|
1423
|
+
isNaN(c) ? s.push(`${n} must be a valid number.`) : (typeof o == "number" && c < o && s.push(`${n} must be greater than or equal to ${o}.`), typeof a == "number" && c > a && s.push(`${n} must be less than or equal to ${a}.`));
|
|
1424
|
+
}
|
|
1425
|
+
return l && typeof e == "string" && e.length > l && s.push(`${n} must be at most ${l} characters.`), t === "email" && e && !/^[^\s@]+@[^\s@]+\.[^\s@]+$/.test(e.toString()) && s.push("Invalid email format."), s;
|
|
1426
|
+
}
|
|
1427
|
+
function y(n, e, t) {
|
|
1428
|
+
const o = Array.from(t.querySelectorAll("eds-input-field")).filter((s) => {
|
|
1429
|
+
var c, x;
|
|
1430
|
+
return ((x = (c = s.shadowRoot) === null || c === void 0 ? void 0 : c.querySelectorAll(`input[name="${n}"]`)) === null || x === void 0 ? void 0 : x.length) > 0;
|
|
1431
|
+
}).flatMap((s) => {
|
|
1432
|
+
var c;
|
|
1433
|
+
return Array.from(((c = s.shadowRoot) === null || c === void 0 ? void 0 : c.querySelectorAll(`input[name="${n}"]`)) || []);
|
|
1434
|
+
}).some((s) => s.checked), a = [];
|
|
1435
|
+
return e && !o && a.push(`At least one option in ${n} is required.`), a;
|
|
1436
|
+
}
|
|
1437
|
+
function v(n, e, t) {
|
|
1438
|
+
var r;
|
|
1439
|
+
const l = [], o = Array.from(t.querySelectorAll("eds-input-field")).find((s) => {
|
|
1440
|
+
var c;
|
|
1441
|
+
return (c = s.shadowRoot) === null || c === void 0 ? void 0 : c.querySelector(`[name="${n}"]`);
|
|
1438
1442
|
});
|
|
1439
|
-
if (!
|
|
1443
|
+
if (!o)
|
|
1440
1444
|
return e && l.push(`${n} is required.`), l;
|
|
1441
|
-
const
|
|
1442
|
-
return e &&
|
|
1445
|
+
const a = (r = o.shadowRoot) === null || r === void 0 ? void 0 : r.querySelector(`[name="${n}"]`);
|
|
1446
|
+
return e && a && !a.checked && l.push(`${n} is required.`), l;
|
|
1443
1447
|
}
|
|
1444
1448
|
function V(n, e) {
|
|
1445
|
-
const
|
|
1446
|
-
for (const
|
|
1447
|
-
if (
|
|
1448
|
-
const l =
|
|
1449
|
+
const t = Array.from(n.querySelectorAll("eds-input-field"));
|
|
1450
|
+
for (const r of t)
|
|
1451
|
+
if (r.shadowRoot) {
|
|
1452
|
+
const l = r.shadowRoot.querySelector(`[name="${e}"]`);
|
|
1449
1453
|
if (l)
|
|
1450
1454
|
return l;
|
|
1451
1455
|
}
|
|
1452
1456
|
return null;
|
|
1453
1457
|
}
|
|
1454
|
-
function U(n, e,
|
|
1458
|
+
function U(n, e, t, r) {
|
|
1455
1459
|
const l = {};
|
|
1456
|
-
let
|
|
1457
|
-
return n.forEach((
|
|
1458
|
-
if (!
|
|
1459
|
-
delete l[
|
|
1460
|
+
let o = !1;
|
|
1461
|
+
return n.forEach((a) => {
|
|
1462
|
+
if (!r(a, t)) {
|
|
1463
|
+
delete l[a.name];
|
|
1460
1464
|
return;
|
|
1461
1465
|
}
|
|
1462
|
-
if (
|
|
1463
|
-
if ((
|
|
1464
|
-
const
|
|
1465
|
-
|
|
1466
|
-
} else if (
|
|
1467
|
-
const
|
|
1468
|
-
|
|
1466
|
+
if (a.type !== "hidden")
|
|
1467
|
+
if ((a.type === "checkbox" || a.type === "radio") && !a.options) {
|
|
1468
|
+
const s = v(a.name, a.required, e);
|
|
1469
|
+
s.length > 0 && (l[a.name] = s, o = !0);
|
|
1470
|
+
} else if (a.options && (a.type === "checkbox" || a.type === "radio")) {
|
|
1471
|
+
const s = y(a.name, a.required, e);
|
|
1472
|
+
s.length > 0 && (l[a.name] = s, o = !0);
|
|
1469
1473
|
} else {
|
|
1470
|
-
const
|
|
1471
|
-
if (
|
|
1472
|
-
const
|
|
1473
|
-
x.length > 0 && (l[
|
|
1474
|
+
const s = V(e, a.name);
|
|
1475
|
+
if (s) {
|
|
1476
|
+
const c = s.value, x = u(a.name, c, a.type, a.required, a.maxlength, a.min, a.max);
|
|
1477
|
+
x.length > 0 && (l[a.name] = x, o = !0);
|
|
1474
1478
|
}
|
|
1475
1479
|
}
|
|
1476
|
-
}), { errors: l, hasError:
|
|
1480
|
+
}), { errors: l, hasError: o };
|
|
1477
1481
|
}
|
|
1478
|
-
function Y(n, e,
|
|
1479
|
-
return n.type === "checkbox" || n.type === "radio" ? n.options ? y(n.name, n.required,
|
|
1482
|
+
function Y(n, e, t) {
|
|
1483
|
+
return n.type === "checkbox" || n.type === "radio" ? n.options ? y(n.name, n.required, t) : v(n.name, n.required, t) : u(n.name, e, n.type, n.required, n.maxlength, n.min, n.max);
|
|
1480
1484
|
}
|
|
1481
1485
|
function X({
|
|
1482
1486
|
initData: n,
|
|
1483
1487
|
parsedFields: e,
|
|
1484
|
-
currentValues:
|
|
1488
|
+
currentValues: t
|
|
1485
1489
|
//formEl,
|
|
1486
1490
|
//isFieldVisible
|
|
1487
1491
|
}) {
|
|
1488
|
-
const
|
|
1492
|
+
const r = Object.assign({}, t);
|
|
1489
1493
|
return e.forEach((l) => {
|
|
1490
|
-
const
|
|
1491
|
-
|
|
1492
|
-
}), { updatedValues:
|
|
1494
|
+
const o = n[l.name];
|
|
1495
|
+
o !== void 0 && (r[l.name] = o);
|
|
1496
|
+
}), { updatedValues: r };
|
|
1493
1497
|
}
|
|
1494
1498
|
const G = ".mt-20{margin-top:1.25rem}", J = G, Q = class {
|
|
1495
1499
|
constructor(n) {
|
|
1496
|
-
|
|
1500
|
+
d(this, n), this.form = h(this, "form", 7), this.name = "eds-form", this.setFormUrl = !0, this.formBtn = !0, this.formBtnLabel = "Submit", this.errorMessage = "Some fields in your form are incorrect.", this.fields = [], this.initData = {}, this.values = {}, this.isSubmitting = !1, this.hasError = !1, this.errors = {}, this.parsedFields = [];
|
|
1497
1501
|
}
|
|
1498
1502
|
async setData(n) {
|
|
1499
1503
|
this.populateFormWithInitData(n);
|
|
@@ -1522,10 +1526,13 @@ const G = ".mt-20{margin-top:1.25rem}", J = G, Q = class {
|
|
|
1522
1526
|
n.dispatchEvent(e);
|
|
1523
1527
|
}
|
|
1524
1528
|
isFieldVisible(n) {
|
|
1525
|
-
|
|
1529
|
+
if (!n.condition)
|
|
1530
|
+
return !0;
|
|
1531
|
+
const e = this.values[n.condition.field], t = n.condition.value;
|
|
1532
|
+
return String(e) === String(t);
|
|
1526
1533
|
}
|
|
1527
1534
|
validateForm() {
|
|
1528
|
-
const { errors: n, hasError: e } = U(this.parsedFields, this.formEl, this.values, (
|
|
1535
|
+
const { errors: n, hasError: e } = U(this.parsedFields, this.formEl, this.values, (t, r) => t.condition ? r[t.condition.field] === t.condition.value : !0);
|
|
1529
1536
|
this.errors = n, this.hasError = e;
|
|
1530
1537
|
}
|
|
1531
1538
|
populateFormWithInitData(n) {
|
|
@@ -1534,26 +1541,26 @@ const G = ".mt-20{margin-top:1.25rem}", J = G, Q = class {
|
|
|
1534
1541
|
parsedFields: this.parsedFields,
|
|
1535
1542
|
currentValues: this.values,
|
|
1536
1543
|
formEl: this.formEl,
|
|
1537
|
-
isFieldVisible: (
|
|
1544
|
+
isFieldVisible: (t, r) => t.condition ? r[t.condition.field] === t.condition.value : !0
|
|
1538
1545
|
});
|
|
1539
1546
|
this.values = e;
|
|
1540
1547
|
}
|
|
1541
1548
|
getFormData() {
|
|
1542
1549
|
const n = new FormData();
|
|
1543
|
-
return n.append("form_name", this.name), this.setFormUrl && typeof window < "u" && n.set("form_url", window.location.href), Array.from(this.formEl.querySelectorAll("eds-input-field")).forEach((
|
|
1544
|
-
if (
|
|
1545
|
-
const
|
|
1546
|
-
if (
|
|
1547
|
-
if (
|
|
1548
|
-
const
|
|
1549
|
-
n.append(
|
|
1550
|
-
} else if (
|
|
1551
|
-
const l =
|
|
1552
|
-
l.files && l.files.length > 0 && Array.from(l.files).forEach((
|
|
1553
|
-
n.append(l.name,
|
|
1550
|
+
return n.append("form_name", this.name), this.setFormUrl && typeof window < "u" && n.set("form_url", window.location.href), Array.from(this.formEl.querySelectorAll("eds-input-field")).forEach((t) => {
|
|
1551
|
+
if (t.shadowRoot) {
|
|
1552
|
+
const r = t.shadowRoot.querySelector("input, textarea, select");
|
|
1553
|
+
if (r && r.name)
|
|
1554
|
+
if (r.type === "checkbox" || r.type === "radio") {
|
|
1555
|
+
const o = Array.from(t.shadowRoot.querySelectorAll(`input[name="${r.name}"]:checked`)).map((a) => a.value);
|
|
1556
|
+
n.append(r.name, o.join(","));
|
|
1557
|
+
} else if (r.type === "file") {
|
|
1558
|
+
const l = r;
|
|
1559
|
+
l.files && l.files.length > 0 && Array.from(l.files).forEach((o) => {
|
|
1560
|
+
n.append(l.name, o);
|
|
1554
1561
|
});
|
|
1555
1562
|
} else
|
|
1556
|
-
n.append(
|
|
1563
|
+
n.append(r.name, r.value);
|
|
1557
1564
|
}
|
|
1558
1565
|
}), n;
|
|
1559
1566
|
}
|
|
@@ -1564,27 +1571,34 @@ const G = ".mt-20{margin-top:1.25rem}", J = G, Q = class {
|
|
|
1564
1571
|
}), n;
|
|
1565
1572
|
}
|
|
1566
1573
|
handleChange(n, e) {
|
|
1567
|
-
const
|
|
1568
|
-
|
|
1569
|
-
|
|
1570
|
-
|
|
1571
|
-
|
|
1572
|
-
|
|
1573
|
-
|
|
1574
|
-
|
|
1574
|
+
const t = n.target;
|
|
1575
|
+
let r = t.value;
|
|
1576
|
+
if (t.type === "checkbox") {
|
|
1577
|
+
const l = this.values[e.name] || "";
|
|
1578
|
+
let o = l ? l.split(",") : [];
|
|
1579
|
+
t.checked ? o.includes(t.value) || o.push(t.value) : o = o.filter((a) => a !== t.value), r = o.join(",");
|
|
1580
|
+
} else if (t.type === "radio") {
|
|
1581
|
+
if (!t.checked)
|
|
1582
|
+
return;
|
|
1583
|
+
r = t.value;
|
|
1584
|
+
}
|
|
1585
|
+
this.values = Object.assign(Object.assign({}, this.values), { [e.name]: r }), e.name !== "password" && this.form.emit({
|
|
1575
1586
|
event: "change",
|
|
1576
1587
|
field: e.name,
|
|
1577
|
-
value: r
|
|
1588
|
+
value: r,
|
|
1578
1589
|
message: `${e.name} updated`
|
|
1579
1590
|
//data: this.makeFormData()
|
|
1580
1591
|
});
|
|
1581
1592
|
}
|
|
1582
1593
|
handleInput(n, e) {
|
|
1583
|
-
const
|
|
1584
|
-
|
|
1594
|
+
const t = n.target;
|
|
1595
|
+
if (t.type === "radio" && !t.checked)
|
|
1596
|
+
return;
|
|
1597
|
+
const r = t.value, l = Object.assign({}, this.errors), o = Y(e, t.value, this.formEl);
|
|
1598
|
+
o.length > 0 ? l[e.name] = o : delete l[e.name], this.errors = l, this.hasError = Object.keys(l).length > 0, this.form.emit({
|
|
1585
1599
|
event: "input",
|
|
1586
1600
|
field: e.name,
|
|
1587
|
-
value: r
|
|
1601
|
+
value: r,
|
|
1588
1602
|
message: `${e.name} updated`
|
|
1589
1603
|
//data: this.makeFormData()
|
|
1590
1604
|
});
|
|
@@ -1627,14 +1641,14 @@ const G = ".mt-20{margin-top:1.25rem}", J = G, Q = class {
|
|
|
1627
1641
|
return this.makeFormData();
|
|
1628
1642
|
}
|
|
1629
1643
|
render() {
|
|
1630
|
-
const n = this.parsedFields.filter((
|
|
1631
|
-
return i("form", { key: "
|
|
1632
|
-
var l,
|
|
1633
|
-
return this.isFieldVisible(
|
|
1634
|
-
})), this.formBtn && i("div", { key: "
|
|
1644
|
+
const n = this.parsedFields.filter((t) => t.type === "hidden"), e = this.parsedFields.filter((t) => t.type !== "hidden");
|
|
1645
|
+
return i("form", { key: "98825e73a0279bed49b82caf2cc0529f30b53c70", ref: (t) => this.formEl = t, autocomplete: "on", onSubmit: this.handleSubmit }, i("div", { key: "6b9abe2a6c2d091d57ea9ca383d9edb5d48445dc" }, i("slot", { key: "930bcd24d9b1c6ec1b29ccb1c3150897fa9d0a35" }), n.map((t, r) => i("eds-input", { key: r, type: "hidden", name: t.name, value: t.value })), e.map((t, r) => {
|
|
1646
|
+
var l, o;
|
|
1647
|
+
return this.isFieldVisible(t) ? i("eds-input-field", { key: r, name: t.name, id: `${this.name}_${t.name}`, label: t.label, placeholder: t.placeholder, value: this.values[t.name] || null, min: t.min, max: t.max, step: t.step, type: t.type, icon: t.icon || null, disabled: t.disabled, required: t.required, maxLength: t.maxlength, hint: t.hint, link: t.link, message: t.message, error: ((l = this.errors[t.name]) === null || l === void 0 ? void 0 : l.length) > 0, errorMessage: (o = this.errors[t.name]) === null || o === void 0 ? void 0 : o.join("<br />"), onInput: (a) => this.handleInput(a, t), onChangeNative: (a) => this.handleChange(a, t), class: r > 0 ? "mt-20" : "", options: t.options }) : null;
|
|
1648
|
+
})), this.formBtn && i("div", { key: "e0ab2f16ff4a677a2b09a1069212e374f6d6eff8", class: "mt-20" }, i("eds-button", { key: "781250d5e456a3f0176ade6e28356063c6981bb7", intent: "primary", label: this.formBtnLabel, disabled: this.isSubmitting, loading: this.isSubmitting, onClick: () => this.handleSubmit() })));
|
|
1635
1649
|
}
|
|
1636
1650
|
get el() {
|
|
1637
|
-
return
|
|
1651
|
+
return g(this);
|
|
1638
1652
|
}
|
|
1639
1653
|
static get watchers() {
|
|
1640
1654
|
return {
|
|
@@ -1645,7 +1659,7 @@ const G = ".mt-20{margin-top:1.25rem}", J = G, Q = class {
|
|
|
1645
1659
|
Q.style = J;
|
|
1646
1660
|
const K = ".bg-default{background-color:var(--grey-200)}.bg-darker{background-color:var(--grey-400)}.bg-inverse{background-color:var(--white)}.bg-strongest{background-color:var(--black)}.fixed{position:fixed}.absolute{position:absolute}.relative{position:relative}.sticky{position:sticky}.inset-0{inset:0rem}.z-\\[999999\\]{z-index:999999}.overflow-y-scroll{overflow-y:scroll}.flex{display:flex}.inline-flex{display:inline-flex}.min-h-full{min-height:100%}.flex-col{flex-direction:column}.w-full{width:100%}.top-0{top:0rem}.mx-auto{margin-left:auto;margin-right:auto}.mt-auto{margin-top:auto}.items-center{align-items:center}.justify-center{justify-content:center}.justify-between{justify-content:space-between}.mr-auto{margin-right:auto}.w-\\[200px\\]{width:200px}.h-\\[85px\\]{height:85px}.px-16{padding-left:1rem;padding-right:1rem}.py-16{padding-top:1rem;padding-bottom:1rem}.mt-28{margin-top:1.75rem}.gap-y-8{row-gap:0.5rem}.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)}.effect-focus{outline-width:3px;outline-offset:2px;outline-color:var(--green-500)}.rounded-xs{border-radius:4px}.f-heading-02{font-family:var(--f-heading-02-fontFamily);font-weight:var(--f-heading-02-fontWeight);font-size:var(--f-heading-02-fontSize);line-height:var(--f-heading-02-lineHeight);letter-spacing:var(--f-heading-02-letterSpacing)}.hover\\:text-lighter:hover{color:var(--grey-600)}.w-fit{width:-moz-fit-content;width:fit-content}", Z = K, nn = class {
|
|
1647
1661
|
constructor(n) {
|
|
1648
|
-
|
|
1662
|
+
d(this, n), this.menuClose = h(this, "menuClose", 7), this.links = void 0, this.menuLinks = void 0, this.homeUrl = "/", this.inverseHeader = !1, this.isMenuOpen = !1;
|
|
1649
1663
|
}
|
|
1650
1664
|
/**
|
|
1651
1665
|
* Listens for the toggleMenu event to open or close the menu.
|
|
@@ -1697,9 +1711,9 @@ const K = ".bg-default{background-color:var(--grey-200)}.bg-darker{background-co
|
|
|
1697
1711
|
}
|
|
1698
1712
|
};
|
|
1699
1713
|
nn.style = Z;
|
|
1700
|
-
const en = ".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}}",
|
|
1714
|
+
const en = ".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}}", tn = en, rn = class {
|
|
1701
1715
|
constructor(n) {
|
|
1702
|
-
|
|
1716
|
+
d(this, n), this.toggleheadermenu = h(this, "toggleheadermenu", 7), this.homeUrl = "/", this.links = void 0, this.headerVariant = "default", this.menuEnabled = !1, this.isMenuOpen = !1, this.isUserMenuOpen = !1, this.isAuthenticated = !1;
|
|
1703
1717
|
}
|
|
1704
1718
|
onAuthStatusChanged(n) {
|
|
1705
1719
|
var e;
|
|
@@ -1728,17 +1742,17 @@ const en = ".block{display:block}.inline-block{display:inline-block}.inline{disp
|
|
|
1728
1742
|
default: "text-default bg-dark",
|
|
1729
1743
|
inverse: "text-default bg-inverse",
|
|
1730
1744
|
strong: "text-inverse bg-strongest"
|
|
1731
|
-
}, e = n[this.headerVariant] || n.default,
|
|
1732
|
-
return i("header", { key: "635e25577674250c4ce8cdc91e29fa0c93b7e821", class: `flex items-center justify-between relative z-10 ${e}` }, i("div", { key: "41275c9aedeff533f00348dfa85b49fdb1a3f25e", class: "mr-auto w-[200px] h-[85px]" }, i("eds-logo", { key: "fa8949ebbeab567b3770c6795a890f9187b66cf2", type:
|
|
1745
|
+
}, e = n[this.headerVariant] || n.default, t = this.headerVariant === "strong" ? "color-white" : "color";
|
|
1746
|
+
return i("header", { key: "635e25577674250c4ce8cdc91e29fa0c93b7e821", class: `flex items-center justify-between relative z-10 ${e}` }, i("div", { key: "41275c9aedeff533f00348dfa85b49fdb1a3f25e", class: "mr-auto w-[200px] h-[85px]" }, i("eds-logo", { key: "fa8949ebbeab567b3770c6795a890f9187b66cf2", type: t, href: this.homeUrl })), this.parsedLinks && i("nav", { key: "64428c01fee019a77b15b2ad43fbdb18cf5cc1e9", 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: "8b6e7e82f077409987e0271f1d1c57d3473a0921", 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: "7ba569eafe18d902e78978840520d708b665a91b" }), this.menuEnabled && i("div", { key: "54c21f2e71a44049c56e4b31ba241996a1e658c3", class: "md:hidden flex overflow-hidden px-16" }, i("eds-button", { key: "e0bcc14abcad7151cacf19a4c50f238e39538754", "aria-label": "Menu", intent: this.headerVariant === "default" ? "ghost" : "ghostInverse", icon: "menu", size: "small", onClick: () => this.handleToggleMenu() })));
|
|
1733
1747
|
}
|
|
1734
1748
|
get hostEl() {
|
|
1735
|
-
return
|
|
1749
|
+
return g(this);
|
|
1736
1750
|
}
|
|
1737
1751
|
};
|
|
1738
|
-
|
|
1739
|
-
const
|
|
1752
|
+
rn.style = tn;
|
|
1753
|
+
const se = class {
|
|
1740
1754
|
constructor(n) {
|
|
1741
|
-
|
|
1755
|
+
d(this, n), this.TagName = null, this.icon = "arrow-right", this.class = "", this.IconComponent = null;
|
|
1742
1756
|
}
|
|
1743
1757
|
componentWillLoad() {
|
|
1744
1758
|
this.loadIconComponent(this.icon);
|
|
@@ -1846,7 +1860,7 @@ video {
|
|
|
1846
1860
|
opacity: 1;
|
|
1847
1861
|
}`, on = ln, an = class {
|
|
1848
1862
|
constructor(n) {
|
|
1849
|
-
|
|
1863
|
+
d(this, n), this.img = null, this.handleLoad = () => {
|
|
1850
1864
|
this.loaded = !0, this.showBg = !1;
|
|
1851
1865
|
}, this.handleError = () => {
|
|
1852
1866
|
this.loaded = !0, this.showBg = !1;
|
|
@@ -1869,16 +1883,16 @@ video {
|
|
|
1869
1883
|
}, width: this.width, height: this.height, sizes: this.sizes, src: this.src, srcSet: this.srcset, alt: this.alt }, n, { onLoad: this.handleLoad, onError: this.handleError, onTransitionEnd: this.handleTransitionEnd }))));
|
|
1870
1884
|
}
|
|
1871
1885
|
get imgElement() {
|
|
1872
|
-
return
|
|
1886
|
+
return g(this);
|
|
1873
1887
|
}
|
|
1874
1888
|
};
|
|
1875
1889
|
an.style = on;
|
|
1876
|
-
const
|
|
1890
|
+
const de = class {
|
|
1877
1891
|
constructor(n) {
|
|
1878
|
-
|
|
1879
|
-
const
|
|
1880
|
-
this.innerVal =
|
|
1881
|
-
}, 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.innerVal = "", this.maxLengthReached = !1;
|
|
1892
|
+
d(this, n), this.handleInput = (e) => {
|
|
1893
|
+
const t = e.target;
|
|
1894
|
+
this.innerVal = t.value, this.maxLength && this.type === "textarea" && (this.maxLengthReached = t.value.length >= this.maxLength);
|
|
1895
|
+
}, 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;
|
|
1882
1896
|
}
|
|
1883
1897
|
onValueChanged(n) {
|
|
1884
1898
|
this.innerVal = n;
|
|
@@ -1891,15 +1905,19 @@ const le = class {
|
|
|
1891
1905
|
}
|
|
1892
1906
|
render() {
|
|
1893
1907
|
const n = !!this.icon, e = this.hasMessage || this.error ? `${this.name}-error` : "";
|
|
1894
|
-
return i("div", { key: "
|
|
1908
|
+
return i("div", { key: "8645092d1b4c53609cbac2077fd0575f7bae4aaa", 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" ? {
|
|
1909
|
+
min: this.min,
|
|
1910
|
+
max: this.max,
|
|
1911
|
+
step: this.step
|
|
1912
|
+
} : {}, { class: `
|
|
1895
1913
|
${this.extraClass || ""}
|
|
1896
1914
|
input ${this.type === "radio" ? "input-radio" : this.type === "checkbox" ? "input-checkbox" : ""}
|
|
1897
1915
|
${n && this.type !== "radio" && this.type !== "checkbox" ? "input-icon pl-36" : ""}
|
|
1898
1916
|
${this.error ? "input-error" : ""}
|
|
1899
|
-
`, "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: "
|
|
1917
|
+
`, "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: "3cbf1dbffabb0cb895c6b69651933867584606d0", 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: "fb3a7051ecb72a5f425a0590dae14ee731e40a60", class: `absolute top-1/2 left-[4px] -translate-y-1/2 ${this.disabled, "text-lightest"}`, icon: this.icon }));
|
|
1900
1918
|
}
|
|
1901
1919
|
get el() {
|
|
1902
|
-
return
|
|
1920
|
+
return g(this);
|
|
1903
1921
|
}
|
|
1904
1922
|
static get watchers() {
|
|
1905
1923
|
return {
|
|
@@ -9668,19 +9686,29 @@ input[type="range"]::-webkit-slider-thumb {
|
|
|
9668
9686
|
|
|
9669
9687
|
`, dn = sn, cn = class {
|
|
9670
9688
|
constructor(n) {
|
|
9671
|
-
|
|
9672
|
-
var r;
|
|
9673
|
-
if ((
|
|
9674
|
-
const
|
|
9675
|
-
|
|
9689
|
+
d(this, n), this.edsinput = h(this, "edsinput", 7), this.edschange = h(this, "edschange", 7), this.handleNativeInput = (e) => {
|
|
9690
|
+
var t, r;
|
|
9691
|
+
if ((t = this.onInput) === null || t === void 0 || t.call(this, e), this.shouldEmitValue()) {
|
|
9692
|
+
const l = e.target;
|
|
9693
|
+
let o = l.value;
|
|
9694
|
+
if (this.type === "checkbox" && ((r = this.parsedOptions) === null || r === void 0 ? void 0 : r.length) > 0) {
|
|
9695
|
+
const a = this.hostEl.querySelectorAll(`input[type="checkbox"][name="${this.name}"]`);
|
|
9696
|
+
o = Array.from(a).filter((s) => s.checked).map((s) => s.value);
|
|
9697
|
+
} else this.type === "checkbox" ? o = l.checked : (this.type, o = l.value);
|
|
9698
|
+
this.edsinput.emit({ value: o });
|
|
9676
9699
|
}
|
|
9677
9700
|
}, this.handleNativeChange = (e) => {
|
|
9678
|
-
var r;
|
|
9679
|
-
if ((
|
|
9680
|
-
const l = e.target
|
|
9681
|
-
|
|
9701
|
+
var t, r;
|
|
9702
|
+
if ((t = this.onChangeNative) === null || t === void 0 || t.call(this, e), this.shouldEmitValue()) {
|
|
9703
|
+
const l = e.target;
|
|
9704
|
+
let o = l.value;
|
|
9705
|
+
if (this.type === "checkbox" && ((r = this.parsedOptions) === null || r === void 0 ? void 0 : r.length) > 0) {
|
|
9706
|
+
const a = this.hostEl.querySelectorAll(`input[type="checkbox"][name="${this.name}"]`);
|
|
9707
|
+
o = Array.from(a).filter((s) => s.checked).map((s) => s.value);
|
|
9708
|
+
} else this.type === "checkbox" ? o = l.checked : (this.type, o = l.value);
|
|
9709
|
+
this.edschange.emit({ value: o });
|
|
9682
9710
|
}
|
|
9683
|
-
}, 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.options = void 0, this.type = "text", this.onChangeNative = void 0, this.onInput = void 0, this.exposeValueEvents = !0;
|
|
9711
|
+
}, 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;
|
|
9684
9712
|
}
|
|
9685
9713
|
shouldEmitValue() {
|
|
9686
9714
|
return this.exposeValueEvents && this.type !== "password";
|
|
@@ -9697,22 +9725,9 @@ input[type="range"]::-webkit-slider-thumb {
|
|
|
9697
9725
|
return [];
|
|
9698
9726
|
}
|
|
9699
9727
|
render() {
|
|
9700
|
-
const n = {
|
|
9701
|
-
|
|
9702
|
-
|
|
9703
|
-
placeholder: this.placeholder,
|
|
9704
|
-
disabled: this.disabled,
|
|
9705
|
-
onInput: this.handleNativeInput,
|
|
9706
|
-
onChange: this.handleNativeChange,
|
|
9707
|
-
type: this.type,
|
|
9708
|
-
required: this.required,
|
|
9709
|
-
value: this.value,
|
|
9710
|
-
error: this.error,
|
|
9711
|
-
icon: this.icon,
|
|
9712
|
-
checked: this.checked
|
|
9713
|
-
};
|
|
9714
|
-
return i("div", { key: "6f048dc1418d0738fc097d3c48148ccfdf70fbdc" }, this.type === "checkbox" || this.type === "radio" ? this.parsedOptions.length > 0 ? i("fieldset", { class: "space-y-4 mt-8" }, i("div", { class: "flex justify-between" }, 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-2", 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("eds-input-label", { name: `${this.name}-${e.value}`, label: 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.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" }, 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" ? (() => {
|
|
9715
|
-
var e, r, t;
|
|
9728
|
+
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 } : {});
|
|
9729
|
+
return i("div", { key: "48926c14240f7e26d2277729d829d98ab17f9eee" }, this.type === "checkbox" || this.type === "radio" ? this.parsedOptions.length > 0 ? i("fieldset", { class: "space-y-4 mt-8" }, i("div", { class: "flex justify-between" }, 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-2", 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("eds-input-label", { name: `${this.name}-${e.value}`, label: 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" }, 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" ? (() => {
|
|
9730
|
+
var e, t, r;
|
|
9716
9731
|
const l = {
|
|
9717
9732
|
name: n.name,
|
|
9718
9733
|
inputId: n.id || n.name,
|
|
@@ -9720,18 +9735,18 @@ input[type="range"]::-webkit-slider-thumb {
|
|
|
9720
9735
|
required: n.required,
|
|
9721
9736
|
onInput: n.onInput,
|
|
9722
9737
|
onChange: n.onChange
|
|
9723
|
-
},
|
|
9724
|
-
return i("eds-input-range", Object.assign({}, l, { min: (e =
|
|
9725
|
-
})() : i("eds-input", Object.assign({}, n))), i("div", { key: "
|
|
9738
|
+
}, o = this.parsedOptions, a = typeof this.value == "string" ? parseFloat(this.value) : this.value || 0;
|
|
9739
|
+
return i("eds-input-range", Object.assign({}, l, { min: (e = o[0]) === null || e === void 0 ? void 0 : e.value, max: (t = o[1]) === null || t === void 0 ? void 0 : t.value, step: (r = o[2]) === null || r === void 0 ? void 0 : r.value, value: a }));
|
|
9740
|
+
})() : i("eds-input", Object.assign({}, n))), i("div", { key: "72b565ac1c52a56d7e563e227baf187d72f2ba21", class: "mt-4" }, i("eds-input-footer", { key: "65c40184d6fd5dfc730a46ffe8e826687c7d6f36", id: `${this.name}-footer`, name: this.name, message: this.message, "error-message": this.errorMessage, error: this.error, link: this.link })));
|
|
9726
9741
|
}
|
|
9727
9742
|
get hostEl() {
|
|
9728
|
-
return
|
|
9743
|
+
return g(this);
|
|
9729
9744
|
}
|
|
9730
9745
|
};
|
|
9731
9746
|
cn.style = dn;
|
|
9732
9747
|
const gn = "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}.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}", hn = gn, fn = class {
|
|
9733
9748
|
constructor(n) {
|
|
9734
|
-
|
|
9749
|
+
d(this, n), this.name = void 0, this.errorMessage = void 0, this.message = void 0, this.error = !1, this.link = void 0;
|
|
9735
9750
|
}
|
|
9736
9751
|
render() {
|
|
9737
9752
|
return i("div", { key: "a9f24f8726c7d5bcc3adfcb1d93a6076b0e672d8" }, this.error && this.errorMessage && i("div", { key: "5ed4b0881215887ed5532b4f6619cfe22f896773", id: `error_${this.name}`, class: "text-error flex items-center" }, i("eds-icon-wrapper", { key: "978b51b85d34c05f5f86ffa228404514e7572145", icon: "warning" }), i("p", { key: "10c97eea1f6a835ad6c85618578fd4fa58a7d5f5", class: "f-ui-04 ml-4", innerHTML: this.errorMessage })), this.message && i("p", { key: "61db4e71da9136a1c2ede4bd30edb6c8f61e05d2", id: `desc_${this.name}`, class: "f-ui-05 text-lighter", innerHTML: this.message }), this.link && i("a", { key: "f44a7c6c17be59a6e6361a1a10c842f9c99f4b47", href: this.link.url, class: "f-ui-05 effect-color hover:text-lighter underline underline-offset-4" }, this.link.label));
|
|
@@ -9740,21 +9755,21 @@ const gn = "p{margin:0}.text-error{color:var(--red-700)}.flex{display:flex}.item
|
|
|
9740
9755
|
fn.style = hn;
|
|
9741
9756
|
const bn = ".input-label{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)}.input-label b,.input-label strong{font-weight:var(--f-ui-04---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}", xn = bn, mn = class {
|
|
9742
9757
|
constructor(n) {
|
|
9743
|
-
|
|
9758
|
+
d(this, n), this.label = void 0, this.name = void 0, this.required = !1, this.disabled = !1;
|
|
9744
9759
|
}
|
|
9745
9760
|
render() {
|
|
9746
9761
|
return i("label", { key: "4007d3a533b1d4f199cd143fe0c1d3851a4906b1", htmlFor: this.name, class: `input-label ${this.disabled ? "text-lighter" : ""}` }, this.label, this.required && i("span", { key: "319f85ff60d45e24ba8e21ace46b44534f9e1cbf" }, i("span", { key: "329b9936137fafa7aae9a442296eb44baaf1ab85", "aria-hidden": "true" }, "*"), i("span", { key: "acac48485fa35c9245bb8795cab0a2b40eb1cee2", class: "sr-only" }, "required")));
|
|
9747
9762
|
}
|
|
9748
9763
|
};
|
|
9749
9764
|
mn.style = xn;
|
|
9750
|
-
const
|
|
9765
|
+
const ce = class {
|
|
9751
9766
|
constructor(n) {
|
|
9752
|
-
|
|
9753
|
-
const
|
|
9754
|
-
this.sliderVal = parseInt(
|
|
9767
|
+
d(this, n), this.edsrange = h(this, "edsrange", 7), this.onInput = (e) => {
|
|
9768
|
+
const t = e.target;
|
|
9769
|
+
this.sliderVal = parseInt(t.value, 10);
|
|
9755
9770
|
}, this.onChange = (e) => {
|
|
9756
|
-
const
|
|
9757
|
-
this.sliderVal = parseInt(
|
|
9771
|
+
const t = e.target;
|
|
9772
|
+
this.sliderVal = parseInt(t.value, 10), this.edsrange.emit(this.sliderVal);
|
|
9758
9773
|
}, this.name = void 0, this.inputId = "range", this.disabled = !1, this.required = !1, this.min = 0, this.max = 100, this.step = 1, this.value = void 0, this.sliderVal = void 0;
|
|
9759
9774
|
}
|
|
9760
9775
|
componentWillLoad() {
|
|
@@ -9774,16 +9789,16 @@ const oe = class {
|
|
|
9774
9789
|
return i("div", { key: "5c55f65e2acd6f4554af7d8ba513c9d9dfd445eb", class: "relative flex flex-col items-start space-y-2" }, i("input", { key: "4fcd0d3d978ddba7929958dd22a283c2ba61ee48", 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", "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: "c63b223e6af149efb68cabbe5228e77b09ca2168", id: `desc_${this.name}`, class: "block f-ui-05 text-lighter" }, "Current value: ", this.sliderVal));
|
|
9775
9790
|
}
|
|
9776
9791
|
get el() {
|
|
9777
|
-
return
|
|
9792
|
+
return g(this);
|
|
9778
9793
|
}
|
|
9779
9794
|
static get watchers() {
|
|
9780
9795
|
return {
|
|
9781
9796
|
value: ["onValueChange"]
|
|
9782
9797
|
};
|
|
9783
9798
|
}
|
|
9784
|
-
},
|
|
9799
|
+
}, ge = class {
|
|
9785
9800
|
constructor(n) {
|
|
9786
|
-
|
|
9801
|
+
d(this, n), this.search = h(this, "search", 7), this.keydownListener = (e) => {
|
|
9787
9802
|
(e.metaKey || e.ctrlKey) && e.key.toLowerCase() === "k" && (e.preventDefault(), this.inputElement && !this.disabled && this.inputElement.focus());
|
|
9788
9803
|
}, this.onChange = (e) => {
|
|
9789
9804
|
this.search.emit({
|
|
@@ -9824,23 +9839,23 @@ const oe = class {
|
|
|
9824
9839
|
}));
|
|
9825
9840
|
}
|
|
9826
9841
|
get el() {
|
|
9827
|
-
return
|
|
9842
|
+
return g(this);
|
|
9828
9843
|
}
|
|
9829
|
-
},
|
|
9844
|
+
}, he = class {
|
|
9830
9845
|
constructor(n) {
|
|
9831
|
-
|
|
9832
|
-
const
|
|
9833
|
-
this.edsselect.emit(
|
|
9846
|
+
d(this, n), this.edsselect = h(this, "edsselect", 7), this.handleChange = (e) => {
|
|
9847
|
+
const t = e.target;
|
|
9848
|
+
this.edsselect.emit(t.value);
|
|
9834
9849
|
}, 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;
|
|
9835
9850
|
}
|
|
9836
9851
|
render() {
|
|
9837
|
-
const n = this.inputId || this.name, e = this.placeholder || `Please select ${this.name}`,
|
|
9852
|
+
const n = this.inputId || this.name, e = this.placeholder || `Please select ${this.name}`, t = this.hasMessage || this.error ? `${this.name}-error` : void 0;
|
|
9838
9853
|
return i("div", { key: "80cbdab87f5baa21df5edc857685c3af4dee3a58", class: "relative" }, i("select", { key: "4e8f84fd9dbc63df7981898cadc24450f48aa92a", id: n, name: this.name, class: {
|
|
9839
9854
|
input: !0,
|
|
9840
9855
|
"input-error": this.error,
|
|
9841
9856
|
"px-4": !0,
|
|
9842
9857
|
"py-2": !0
|
|
9843
|
-
}, "aria-invalid": this.error ? "true" : "false", "aria-describedby":
|
|
9858
|
+
}, "aria-invalid": this.error ? "true" : "false", "aria-describedby": t, disabled: this.disabled, required: this.required, onChange: this.handleChange }, i("option", { key: "54b90339cae4c5c80711793a8c68c4587e0c2495", 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: "6c9f0a0606f1d6f282c756f84ace7618584d5fa3", 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: "4524af72468d3b37c01b0252d4b6b2bf7454514e", class: "w-20 h-20", icon: "chevron-right" })));
|
|
9844
9859
|
}
|
|
9845
9860
|
}, pn = `*,
|
|
9846
9861
|
::before,
|
|
@@ -11206,13 +11221,13 @@ Make sure disabled buttons don't get the pointer cursor.
|
|
|
11206
11221
|
}
|
|
11207
11222
|
}), vn = class {
|
|
11208
11223
|
constructor(n) {
|
|
11209
|
-
|
|
11224
|
+
d(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;
|
|
11210
11225
|
}
|
|
11211
11226
|
handleParentContext(n) {
|
|
11212
11227
|
n.target === this.el && (this.parentContext = n.detail, n.stopPropagation());
|
|
11213
11228
|
}
|
|
11214
11229
|
handleClick(n) {
|
|
11215
|
-
var e,
|
|
11230
|
+
var e, t;
|
|
11216
11231
|
if (this.disabled) {
|
|
11217
11232
|
n.preventDefault();
|
|
11218
11233
|
return;
|
|
@@ -11221,7 +11236,7 @@ Make sure disabled buttons don't get the pointer cursor.
|
|
|
11221
11236
|
category: "ui-component",
|
|
11222
11237
|
parentContext: this.parentContext,
|
|
11223
11238
|
tag: this.el.tagName.toLowerCase(),
|
|
11224
|
-
name: ((e = this.label) === null || e === void 0 ? void 0 : e.toLowerCase()) || ((
|
|
11239
|
+
name: ((e = this.label) === null || e === void 0 ? void 0 : e.toLowerCase()) || ((t = this.ariaLabel) === null || t === void 0 ? void 0 : t.toLowerCase()) || "",
|
|
11225
11240
|
action: "click"
|
|
11226
11241
|
});
|
|
11227
11242
|
}
|
|
@@ -11247,17 +11262,17 @@ Make sure disabled buttons don't get the pointer cursor.
|
|
|
11247
11262
|
iconSmall: this.iconSmall,
|
|
11248
11263
|
isActive: this.current,
|
|
11249
11264
|
hasIcon: !!this.icon
|
|
11250
|
-
}),
|
|
11251
|
-
return i(n, { key: "bdb8851264265b71dab033b807389ccd26519696", class: `${e || ""} ${this.extraClass || ""}`, href: this.disabled ? void 0 : this.url, target: this.external && !this.disabled ? "_blank" : void 0, rel: this.external && !this.disabled ? "noopener noreferrer" : void 0, "aria-label":
|
|
11265
|
+
}), t = this.ariaLabel || this.label || "link", r = this.hideLabelOnSmallScreen ? "hidden lg:flex" : "";
|
|
11266
|
+
return i(n, { key: "bdb8851264265b71dab033b807389ccd26519696", class: `${e || ""} ${this.extraClass || ""}`, href: this.disabled ? void 0 : this.url, target: this.external && !this.disabled ? "_blank" : void 0, rel: this.external && !this.disabled ? "noopener noreferrer" : void 0, "aria-label": t, "aria-disabled": this.disabled ? "true" : null, "aria-current": this.current ? "page" : void 0, download: this.download ? "" : void 0, onClick: (l) => this.handleClick(l) }, i("span", { key: "fdf681ed48873939fb147c51fce59c7ff8ae772e", class: "z-1 relative inline-flex items-center justify-center" }, this.renderLeftIcon(), i("span", { key: "aa2ac0a8c0d12197a4c2c3263b1550f83a1df72f", class: r }, this.label), this.renderRightIcon()));
|
|
11252
11267
|
}
|
|
11253
11268
|
get el() {
|
|
11254
|
-
return
|
|
11269
|
+
return g(this);
|
|
11255
11270
|
}
|
|
11256
11271
|
};
|
|
11257
11272
|
vn.style = un;
|
|
11258
11273
|
const wn = ".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}}", kn = wn, zn = class {
|
|
11259
11274
|
constructor(n) {
|
|
11260
|
-
|
|
11275
|
+
d(this, n), this.href = "/", this.orientation = "horizontal", this.type = void 0, this.label = "Home";
|
|
11261
11276
|
}
|
|
11262
11277
|
/**
|
|
11263
11278
|
* Handles the click event on the logo link.
|
|
@@ -11297,21 +11312,21 @@ const wn = ".w-\\[130px\\]{width:130px}.mr-auto{margin-right:auto}.text-current{
|
|
|
11297
11312
|
}[this.orientation];
|
|
11298
11313
|
if (!e)
|
|
11299
11314
|
return p;
|
|
11300
|
-
const
|
|
11301
|
-
return
|
|
11315
|
+
const t = e[this.type];
|
|
11316
|
+
return t || e.color;
|
|
11302
11317
|
}
|
|
11303
11318
|
render() {
|
|
11304
11319
|
const n = this.getLogo();
|
|
11305
11320
|
return i("a", { key: "ff5c1ee09b325dca504a73b2d9eb4910fb67835d", href: this.href, onClick: () => this.handleClick(), class: "eds-logo-wrapper", "aria-label": this.label }, i("div", { key: "10ef011b7e3725231cf12771be38b209661709ed", innerHTML: n }));
|
|
11306
11321
|
}
|
|
11307
11322
|
get el() {
|
|
11308
|
-
return
|
|
11323
|
+
return g(this);
|
|
11309
11324
|
}
|
|
11310
11325
|
};
|
|
11311
11326
|
zn.style = kn;
|
|
11312
11327
|
const Cn = ".block{display:block}.inline-block{display:inline-block}.inline{display:inline}.flex{display:flex}.inline-flex{display:inline-flex}.hidden{display:none}.fixed{position:fixed}.inset-0{inset:0rem}.z-10{z-index:10}.z-50{z-index:50}.z-50{z-index:50}.z-9999999{z-index:9999999}.w-full{width:100%}.min-w-full{min-width:100%}.max-w-full{max-width:100%}.absolute{position:absolute}.px-20{padding-left:1.25rem;padding-right:1.25rem}.py-20{padding-top:1.25rem;padding-bottom:1.25rem}.bg-inverse{background-color:var(--white)}.bg-dark{background-color:var(--grey-300)}.rounded-lg{border-radius:16px}.shadow-lg{--tw-shadow:0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);--tw-shadow-colored:0 10px 15px -3px var(--tw-shadow-color), 0 4px 6px -4px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow)}.backdrop-blur{--tw-backdrop-blur:blur(8px);-webkit-backdrop-filter:var(--tw-backdrop-blur) var(--tw-backdrop-brightness) var(--tw-backdrop-contrast) var(--tw-backdrop-grayscale) var(--tw-backdrop-hue-rotate) var(--tw-backdrop-invert) var(--tw-backdrop-opacity) var(--tw-backdrop-saturate) var(--tw-backdrop-sepia);backdrop-filter:var(--tw-backdrop-blur) var(--tw-backdrop-brightness) var(--tw-backdrop-contrast) var(--tw-backdrop-grayscale) var(--tw-backdrop-hue-rotate) var(--tw-backdrop-invert) var(--tw-backdrop-opacity) var(--tw-backdrop-saturate) var(--tw-backdrop-sepia)}.p-6{padding:0.375rem}.p-8{padding:0.5rem}.left-1\\/2{left:50%}.left-20{left:1.25rem}.right-20{right:1.25rem}.top-1\\/2{top:50%}.top-0{top:0rem}.left-0{left:0rem}.top-20{top:1.25rem}.bottom-0{bottom:0rem}.bottom-20{bottom:1.25rem}.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}.border-b-2{border-bottom-width:2px}.border-softer{border-color:rgba(0, 0, 0, .1)}.pb-8{padding-bottom:0.5rem}.f-heading-03{font-family:var(--f-heading-03-fontFamily);font-weight:var(--f-heading-03-fontWeight);font-size:var(--f-heading-03-fontSize);line-height:var(--f-heading-03-lineHeight);letter-spacing:var(--f-heading-03-letterSpacing)}.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)}.text-lighter{color:var(--grey-600)}.text-lightest{color:var(--grey-500)}.text-default{color:var(--black)}.text-inverse{color:var(--white)}.bg-dark{background-color:var(--grey-300)}.bg-strong{background-color:var(--grey-700)}.bg-strongest{background-color:var(--black)}.ml-8{margin-left:0.5rem}.pt-8{padding-top:0.5rem}.bg-opacity-90{opacity:0.9}.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}@media (min-width: 750px){.md\\:bottom-20{bottom:1.25rem}.md\\:w-auto{width:auto}.md\\:top-20{top:1.25rem}.md\\:top-1\\/2{top:50%}.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))}.md\\:gap-y-12{row-gap:0.75rem}}", Sn = Cn, En = class {
|
|
11313
11328
|
constructor(n) {
|
|
11314
|
-
|
|
11329
|
+
d(this, n), this.heading = "", this.truncate = 1, this.position = "middle", this.inverseHeader = !1, this.isOpen = !1;
|
|
11315
11330
|
}
|
|
11316
11331
|
getTruncateClass() {
|
|
11317
11332
|
return this.truncate ? `line-clamp-${this.truncate}` : "";
|
|
@@ -11414,13 +11429,13 @@ const Cn = ".block{display:block}.inline-block{display:inline-block}.inline{disp
|
|
|
11414
11429
|
}), i("div", { key: "468ce4425ce69c7612d9dbca6b812d7b0c2f869a", class: `container absolute bg-inverse z-10 ${this.getModalPositionClasses()} grow justify-center` }, i("div", { key: "e694805e5c39df16801fd2f13eaf2f113fbe2c5e", class: `flex justify-between items-center border-b-2 border-softer px-20 py-20 ${this.inverseHeader ? "bg-strongest text-inverse" : "bg-dark text-default"}` }, i("span", { key: "f4c1204f3971618138bd8385b15face3acd1ea71", id: n, class: `f-heading-04 ${this.getTruncateClass()}` }, this.heading), i("eds-button", { key: "813ba1a0c5d357187fc73964bb66230a15593ddc", intent: "tertiary", icon: "close", "aria-label": "Close modal", onClick: () => this.close(), "extra-class": "ml-8 text-default" })), i("div", { key: "9ae10bc0e79c4553c2a5bdd2dbacd7a97d99f50c", class: "pt-8 px-20 py-20" }, i("slot", { key: "f460df4582e298289ab7abcd5417b7ef8d8ac827" }))));
|
|
11415
11430
|
}
|
|
11416
11431
|
get el() {
|
|
11417
|
-
return
|
|
11432
|
+
return g(this);
|
|
11418
11433
|
}
|
|
11419
11434
|
};
|
|
11420
11435
|
En.style = Sn;
|
|
11421
11436
|
const Fn = "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-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}@media (min-width: 900px){.lg\\:\\!pr-12{padding-right:0.75rem !important}.lg\\:flex{display:flex}}", Ln = Fn, In = class {
|
|
11422
11437
|
constructor(n) {
|
|
11423
|
-
|
|
11438
|
+
d(this, n), this.currentPage = void 0, this.lastPage = void 0, this.perPage = 10, this.total = 0, this.url = "", this.mode = "default", this.prevLabel = "Prev", this.nextLabel = "Next", this.prevUrl = "", this.nextUrl = "", this.links = [];
|
|
11424
11439
|
}
|
|
11425
11440
|
/** Lifecycle hook to generate pagination links on component load */
|
|
11426
11441
|
componentWillLoad() {
|
|
@@ -11490,17 +11505,17 @@ const Fn = "ul,menu{list-style:none;margin:0;padding:0}.f-ui-03{font-family:var(
|
|
|
11490
11505
|
* @returns {(number | string)[]} - Range of page numbers or ellipses
|
|
11491
11506
|
*/
|
|
11492
11507
|
getPaginationGenerator(n, e) {
|
|
11493
|
-
const
|
|
11508
|
+
const r = [];
|
|
11494
11509
|
if (e <= 5)
|
|
11495
11510
|
for (let l = 1; l <= e; l++)
|
|
11496
|
-
|
|
11511
|
+
r.push(l);
|
|
11497
11512
|
else {
|
|
11498
|
-
|
|
11513
|
+
r.push(1), n - 1 > 2 && r.push("...");
|
|
11499
11514
|
for (let l = Math.max(2, n - 1); l <= Math.min(e - 1, n + 1); l++)
|
|
11500
|
-
|
|
11501
|
-
n + 1 < e - 1 &&
|
|
11515
|
+
r.push(l);
|
|
11516
|
+
n + 1 < e - 1 && r.push("..."), r.push(e);
|
|
11502
11517
|
}
|
|
11503
|
-
return
|
|
11518
|
+
return r;
|
|
11504
11519
|
}
|
|
11505
11520
|
/**
|
|
11506
11521
|
* Formats the current page results information for display
|
|
@@ -11516,24 +11531,24 @@ const Fn = "ul,menu{list-style:none;margin:0;padding:0}.f-ui-03{font-family:var(
|
|
|
11516
11531
|
*/
|
|
11517
11532
|
handlePageClick(n, e) {
|
|
11518
11533
|
if (this.mode !== "navigator" && (n.preventDefault(), e !== this.currentPage)) {
|
|
11519
|
-
this.links = this.links.map((
|
|
11520
|
-
const
|
|
11534
|
+
this.links = this.links.map((r) => typeof r == "object" ? Object.assign(Object.assign({}, r), { current: parseInt(r.label) === e }) : r);
|
|
11535
|
+
const t = new CustomEvent("page", {
|
|
11521
11536
|
detail: e,
|
|
11522
11537
|
bubbles: !0,
|
|
11523
11538
|
composed: !0
|
|
11524
11539
|
});
|
|
11525
|
-
this.hostEl.dispatchEvent(
|
|
11540
|
+
this.hostEl.dispatchEvent(t), this.currentPage = e;
|
|
11526
11541
|
}
|
|
11527
11542
|
}
|
|
11528
11543
|
render() {
|
|
11529
11544
|
return i("div", { key: "a92aad013df27ce619c50ee8ed273c4799d9b55b" }, this.total > 0 && this.mode === "default" && i("p", { key: "33b6a436765a10356cf201c19b837f668a74a035", class: "f-ui-03 text-lightest mb-28 w-full text-center" }, i("span", { key: "0c45ab429986ba7537abbdaafddd4b960b92f41a", class: "sr-only" }, "Results:"), this.pageResults()), this.mode === "navigator" || this.lastPage && this.lastPage > 1 ? i("nav", { "aria-label": "Pagination" }, i("ul", { class: "flex items-center justify-center gap-x-8" }, i("li", { class: "mr-auto" }, 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": "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", onClick: (n) => {
|
|
11530
11545
|
this.mode === "default" && (this.isFirstPage() ? n.preventDefault() : this.handlePageClick(n, (this.currentPage || 1) - 1));
|
|
11531
|
-
} })), this.mode === "default" && this.links.map((n, e) => i("li", { key: e, class: "f-ui-02 flex h-36 items-center justify-center" }, typeof n == "string" ? i("span", { class: "flex items-center justify-center" }, n) : i("eds-link", { url: n.url, "aria-label": n.ariaLabel, label: n.label, current: n.current, size: "small", class: "!p-8", intent: n.current ? "secondary" : "ghost", onClick: (
|
|
11546
|
+
} })), this.mode === "default" && this.links.map((n, e) => i("li", { key: e, class: "f-ui-02 flex h-36 items-center justify-center" }, typeof n == "string" ? i("span", { class: "flex items-center justify-center" }, n) : i("eds-link", { url: n.url, "aria-label": n.ariaLabel, label: n.label, current: n.current, size: "small", class: "!p-8", intent: n.current ? "secondary" : "ghost", onClick: (t) => this.handlePageClick(t, parseInt(n.label)) }))), i("li", { class: "ml-auto" }, i("eds-link", { label: this.nextLabel, url: this.mode === "navigator" ? this.nextUrl || "#" : this.isLastPage() ? "#" : this.generateLink(this.currentPage + 1).url, disabled: this.mode === "navigator" ? !this.nextUrl : this.isLastPage(), "aria-label": "Next page", size: "small", "icon-small": "true", icon: "chevron-right", intent: "strong", "hide-label-on-small-screen": !0, class: "!p-8 lg:!pl-12 flex items-center gap-1 py-4 transition-colors", onClick: (n) => {
|
|
11532
11547
|
this.mode === "default" && (this.isLastPage() ? n.preventDefault() : this.handlePageClick(n, (this.currentPage || 1) + 1));
|
|
11533
11548
|
} })))) : null);
|
|
11534
11549
|
}
|
|
11535
11550
|
get hostEl() {
|
|
11536
|
-
return
|
|
11551
|
+
return g(this);
|
|
11537
11552
|
}
|
|
11538
11553
|
static get watchers() {
|
|
11539
11554
|
return {
|
|
@@ -11543,9 +11558,9 @@ const Fn = "ul,menu{list-style:none;margin:0;padding:0}.f-ui-03{font-family:var(
|
|
|
11543
11558
|
}
|
|
11544
11559
|
};
|
|
11545
11560
|
In.style = Ln;
|
|
11546
|
-
const jn = "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}.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)}.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)}.mt-12{margin-top:0.75rem}.mt-16{margin-top:1rem}.inline{display:inline}.flex{display:flex}.inline-flex{display:inline-flex}.gap-4{gap:0.25rem}.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)}.effect-focus{outline-width:3px;outline-offset:2px;outline-color:var(--green-500)}.text-light{color:var(--grey-700)}.text-lighter{color:var(--grey-600)}.hover\\:text-default:hover{color:var(--black)}.items-center{align-items:center}.justify-center{justify-content:center}.justify-between{justify-content:space-between}.rounded-sm{border-radius:8px}",
|
|
11561
|
+
const jn = "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}.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)}.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)}.mt-12{margin-top:0.75rem}.mt-16{margin-top:1rem}.inline{display:inline}.flex{display:flex}.inline-flex{display:inline-flex}.gap-4{gap:0.25rem}.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)}.effect-focus{outline-width:3px;outline-offset:2px;outline-color:var(--green-500)}.text-light{color:var(--grey-700)}.text-lighter{color:var(--grey-600)}.hover\\:text-default:hover{color:var(--black)}.items-center{align-items:center}.justify-center{justify-content:center}.justify-between{justify-content:space-between}.rounded-sm{border-radius:8px}", An = jn, Pn = class {
|
|
11547
11562
|
constructor(n) {
|
|
11548
|
-
|
|
11563
|
+
d(this, n), this.socialNetworks = [
|
|
11549
11564
|
{
|
|
11550
11565
|
label: "Twitter",
|
|
11551
11566
|
url: "https://twitter.com/ebrains_eu",
|
|
@@ -11588,10 +11603,10 @@ const jn = "blockquote,dl,dd,h1,h2,h3,h4,h5,h6,hr,figure,p,pre{margin:0}fieldset
|
|
|
11588
11603
|
return i("div", { key: "6d52d64b09170108d1b61157d0ab126cefa794be" }, i("p", { key: "97e929fdaff0bcd4360140428007da0294567ea9", class: "f-ui-02" }, this.heading), i("ul", { key: "3264e9e0ac366c4a502b69f6aa8545935b8536e7", class: "mt-12 flex gap-4" }, this.socialNetworks.map((n, e) => i("li", { key: e }, i("eds-link", { "extra-class": "effect-color effect-focus text-lighter hover:text-default flex items-center justify-center rounded-sm", external: !0, "aria-label": n.label, url: n.url, icon: n.icon, intent: "strong" })))));
|
|
11589
11604
|
}
|
|
11590
11605
|
};
|
|
11591
|
-
|
|
11592
|
-
const Wn = ".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:0;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{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{content:counter(step);position:absolute;left:-40px;top:0;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}.mb-28{margin-bottom:1.75rem}", _n = Wn,
|
|
11606
|
+
Pn.style = An;
|
|
11607
|
+
const Wn = ".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:0;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{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{content:counter(step);position:absolute;left:-40px;top:0;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}.mb-28{margin-bottom:1.75rem}", _n = Wn, Tn = class {
|
|
11593
11608
|
constructor(n) {
|
|
11594
|
-
|
|
11609
|
+
d(this, n), this.step = h(this, "step", 7), this.handleNext = () => {
|
|
11595
11610
|
this.activeStep = this.activeStep + 1, this.activeStep < this.parsedSteps.length && this.step.emit(this.activeStep);
|
|
11596
11611
|
}, this.handleBack = () => {
|
|
11597
11612
|
this.activeStep > 0 && (this.activeStep = this.activeStep - 1, this.step.emit(this.activeStep));
|
|
@@ -11605,16 +11620,16 @@ const Wn = ".steps{position:sticky;margin-left:16px;margin-bottom:12px;border-le
|
|
|
11605
11620
|
var n;
|
|
11606
11621
|
if (this.type === "linear") {
|
|
11607
11622
|
const e = (n = this.el.shadowRoot) === null || n === void 0 ? void 0 : n.querySelectorAll("eds-button");
|
|
11608
|
-
e == null || e.forEach((
|
|
11609
|
-
this.emitContext(
|
|
11623
|
+
e == null || e.forEach((t) => {
|
|
11624
|
+
this.emitContext(t);
|
|
11610
11625
|
});
|
|
11611
11626
|
}
|
|
11612
11627
|
}
|
|
11613
11628
|
activeStepChanged(n) {
|
|
11614
11629
|
setTimeout(() => {
|
|
11615
11630
|
var e;
|
|
11616
|
-
const
|
|
11617
|
-
|
|
11631
|
+
const t = (e = this.el.shadowRoot) === null || e === void 0 ? void 0 : e.querySelectorAll(".step")[n];
|
|
11632
|
+
t && t.querySelectorAll("eds-button").forEach((l) => {
|
|
11618
11633
|
this.emitContext(l);
|
|
11619
11634
|
});
|
|
11620
11635
|
}, 50);
|
|
@@ -11645,10 +11660,10 @@ const Wn = ".steps{position:sticky;margin-left:16px;margin-bottom:12px;border-le
|
|
|
11645
11660
|
}
|
|
11646
11661
|
render() {
|
|
11647
11662
|
const n = this.parsedSteps;
|
|
11648
|
-
return this.type === "linear" ? i("div", null, i("div", { class: "steps" }, n.map((e,
|
|
11663
|
+
return this.type === "linear" ? i("div", null, i("div", { class: "steps" }, n.map((e, t) => i("div", { class: "step mb-28", key: t }, i("h3", { onClick: () => this.handleStepClick(t) }, e.title), this.activeStep === t && 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 })), i("eds-button", { label: t === n.length - 1 ? "Finish" : "Continue", intent: "primary", class: "next-btn", onClick: this.handleNext }), i("eds-button", { label: "Back", intent: "ghostInverse", onClick: this.handleBack, disabled: t === 0, "extra-class": t === 0 ? "hidden" : "ml-8 block" })))))) : i("div", { class: "steps" }, n.map((e, t) => i("div", { class: "step mb-28", key: t }, i("h3", null, 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 }))))));
|
|
11649
11664
|
}
|
|
11650
11665
|
get el() {
|
|
11651
|
-
return
|
|
11666
|
+
return g(this);
|
|
11652
11667
|
}
|
|
11653
11668
|
static get watchers() {
|
|
11654
11669
|
return {
|
|
@@ -11656,10 +11671,10 @@ const Wn = ".steps{position:sticky;margin-left:16px;margin-bottom:12px;border-le
|
|
|
11656
11671
|
};
|
|
11657
11672
|
}
|
|
11658
11673
|
};
|
|
11659
|
-
|
|
11660
|
-
const
|
|
11674
|
+
Tn.style = _n;
|
|
11675
|
+
const On = "h1,h2,h3,h4,h5,h6{font-size:inherit;font-weight:inherit}blockquote,dl,dd,h1,h2,h3,h4,h5,h6,hr,figure,p,pre{margin:0}.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:0;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{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{content:counter(step);position:absolute;left:-40px;top:0;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))}", $n = On, Hn = class {
|
|
11661
11676
|
constructor(n) {
|
|
11662
|
-
|
|
11677
|
+
d(this, n), this.step = h(this, "step", 7), this.handleNext = () => {
|
|
11663
11678
|
this.activeStep = this.activeStep + 1, this.activeStep < this.parsedSteps.length && this.step.emit(this.activeStep);
|
|
11664
11679
|
}, this.handleBack = () => {
|
|
11665
11680
|
this.activeStep > 0 && (this.activeStep = this.activeStep - 1, this.step.emit(this.activeStep));
|
|
@@ -11669,16 +11684,16 @@ const Hn = "h1,h2,h3,h4,h5,h6{font-size:inherit;font-weight:inherit}blockquote,d
|
|
|
11669
11684
|
var n;
|
|
11670
11685
|
if (this.type === "linear") {
|
|
11671
11686
|
const e = (n = this.el.shadowRoot) === null || n === void 0 ? void 0 : n.querySelectorAll("eds-button");
|
|
11672
|
-
e == null || e.forEach((
|
|
11673
|
-
this.emitContext(
|
|
11687
|
+
e == null || e.forEach((t) => {
|
|
11688
|
+
this.emitContext(t);
|
|
11674
11689
|
});
|
|
11675
11690
|
}
|
|
11676
11691
|
}
|
|
11677
11692
|
activeStepChanged(n) {
|
|
11678
11693
|
setTimeout(() => {
|
|
11679
11694
|
var e;
|
|
11680
|
-
const
|
|
11681
|
-
|
|
11695
|
+
const t = (e = this.el.shadowRoot) === null || e === void 0 ? void 0 : e.querySelectorAll(".step")[n];
|
|
11696
|
+
t && t.querySelectorAll("eds-button").forEach((l) => {
|
|
11682
11697
|
this.emitContext(l);
|
|
11683
11698
|
});
|
|
11684
11699
|
}, 50);
|
|
@@ -11709,13 +11724,13 @@ const Hn = "h1,h2,h3,h4,h5,h6{font-size:inherit;font-weight:inherit}blockquote,d
|
|
|
11709
11724
|
}
|
|
11710
11725
|
render() {
|
|
11711
11726
|
const n = this.parsedSteps;
|
|
11712
|
-
return i("div", { key: "bbcec2dd9a5096eb0cecf0d413892e5708822f52", 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: "db0618aad7d5986fcb0889f1c439be73f83a00df", class: "p-8" }, this.type === "linear" ? i("div", { class: "steps" }, n.map((e,
|
|
11727
|
+
return i("div", { key: "bbcec2dd9a5096eb0cecf0d413892e5708822f52", 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: "db0618aad7d5986fcb0889f1c439be73f83a00df", class: "p-8" }, this.type === "linear" ? i("div", { class: "steps" }, n.map((e, t) => i("div", { class: t === 0 ? "step" : "step space-y-16", key: t }, i("h3", { onClick: () => this.handleStepClick(t) }, e.title), this.activeStep === t && 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 })), i("eds-button", { label: t === n.length - 1 ? "Finish" : "Continue", intent: "primary", class: "next-btn", onClick: this.handleNext }), i("eds-button", { label: "Back", intent: "ghostInverse", onClick: this.handleBack, disabled: t === 0, "extra-class": t === 0 ? "hidden" : "ml-8 block" }))))) : (
|
|
11713
11728
|
// Static mode: show all steps with their content.
|
|
11714
|
-
i("div", { class: "steps space-y-8" }, n.map((e,
|
|
11729
|
+
i("div", { class: "steps space-y-8" }, n.map((e, t) => i("div", { class: "step", key: t }, i("h3", { onClick: () => this.handleStepClick(t) }, 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 }))))))
|
|
11715
11730
|
)));
|
|
11716
11731
|
}
|
|
11717
11732
|
get el() {
|
|
11718
|
-
return
|
|
11733
|
+
return g(this);
|
|
11719
11734
|
}
|
|
11720
11735
|
static get watchers() {
|
|
11721
11736
|
return {
|
|
@@ -11723,10 +11738,10 @@ const Hn = "h1,h2,h3,h4,h5,h6{font-size:inherit;font-weight:inherit}blockquote,d
|
|
|
11723
11738
|
};
|
|
11724
11739
|
}
|
|
11725
11740
|
};
|
|
11726
|
-
|
|
11727
|
-
const Dn = "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}.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}",
|
|
11741
|
+
Hn.style = $n;
|
|
11742
|
+
const Dn = "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}.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}", qn = Dn, Mn = class {
|
|
11728
11743
|
constructor(n) {
|
|
11729
|
-
|
|
11744
|
+
d(this, n), this.rowaction = h(this, "rowaction", 7), this.handleResize = () => {
|
|
11730
11745
|
this.updateContainerWidth();
|
|
11731
11746
|
}, this.data = null, this.endpoint = 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;
|
|
11732
11747
|
}
|
|
@@ -11808,33 +11823,33 @@ const Dn = "table{text-indent:0;border-color:inherit;border-collapse:collapse;}.
|
|
|
11808
11823
|
this.searchQuery = n.target.value, this.currentPage = 1;
|
|
11809
11824
|
}
|
|
11810
11825
|
renderCell(n, e) {
|
|
11811
|
-
var
|
|
11812
|
-
const
|
|
11813
|
-
return
|
|
11826
|
+
var t;
|
|
11827
|
+
const r = (t = this.parsedConfig[e]) === null || t === void 0 ? void 0 : t.format;
|
|
11828
|
+
return r === "uppercase" ? n == null ? void 0 : n.toString().toUpperCase() : r === "svg" ? i("div", { innerHTML: n }) : r === "bold" ? i("strong", null, n) : r === "code" ? i("code", null, n) : n;
|
|
11814
11829
|
}
|
|
11815
11830
|
/**
|
|
11816
11831
|
* Renders one action (button or checkbox) for a specific action‐name.
|
|
11817
11832
|
* Used by the “Actions” column below.
|
|
11818
11833
|
*/
|
|
11819
11834
|
renderSingleActionCell(n, e) {
|
|
11820
|
-
var
|
|
11821
|
-
const
|
|
11835
|
+
var t;
|
|
11836
|
+
const r = this.parsedActions.find((o) => o.name === n);
|
|
11822
11837
|
if (this.actionTemplate)
|
|
11823
11838
|
return this.actionTemplate(e);
|
|
11824
|
-
if ((
|
|
11825
|
-
const
|
|
11826
|
-
return i("eds-input-field", { name: `chc-${n}`, label:
|
|
11839
|
+
if ((r.type || "button") === "checkbox") {
|
|
11840
|
+
const o = (t = r.field) !== null && t !== void 0 ? t : r.name, a = !!e[o];
|
|
11841
|
+
return i("eds-input-field", { name: `chc-${n}`, label: r.label, type: "checkbox", checked: a, onChange: (s) => this.emitAction(r.name, e, s.target.checked) });
|
|
11827
11842
|
}
|
|
11828
|
-
return i("eds-link", { label:
|
|
11843
|
+
return i("eds-link", { label: r.label, intent: "weak", onClick: () => this.emitAction(r.name, e) });
|
|
11829
11844
|
}
|
|
11830
|
-
emitAction(n, e,
|
|
11845
|
+
emitAction(n, e, t) {
|
|
11831
11846
|
f({
|
|
11832
11847
|
category: "ui-component",
|
|
11833
11848
|
parentContext: null,
|
|
11834
11849
|
tag: `${this.hostEl.tagName.toLowerCase()}/action`,
|
|
11835
11850
|
name: n,
|
|
11836
11851
|
action: "click"
|
|
11837
|
-
}), this.rowaction.emit({ action: n, row: e, checked: !!
|
|
11852
|
+
}), this.rowaction.emit({ action: n, row: e, checked: !!t });
|
|
11838
11853
|
}
|
|
11839
11854
|
shouldEnablePagination() {
|
|
11840
11855
|
return this.paginationEnabled && this.totalRows > this.rowsPerPage;
|
|
@@ -11857,17 +11872,17 @@ const Dn = "table{text-indent:0;border-color:inherit;border-collapse:collapse;}.
|
|
|
11857
11872
|
return n.charAt(0).toUpperCase() + n.slice(1).toLowerCase();
|
|
11858
11873
|
}
|
|
11859
11874
|
render() {
|
|
11860
|
-
const n = this.hostWidth && this.hostWidth.trim() !== "" ? Number(this.hostWidth) : this.containerWidth || 400, e = this.getVisibleColumnsCount(),
|
|
11861
|
-
return i("div", { key: "
|
|
11862
|
-
var
|
|
11863
|
-
return
|
|
11864
|
-
}))), i("tbody", { key: "
|
|
11865
|
-
var
|
|
11866
|
-
return
|
|
11867
|
-
})))))), this.shouldEnablePagination() && i("div", { key: "
|
|
11875
|
+
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);
|
|
11876
|
+
return i("div", { key: "f188b98870101f250e8515178d50763bb708ade5" }, this.searchEnabled && i("div", { key: "96f046ad286df6cb46e9f9f6d3e45a69f90af108" }, i("eds-input-field", { key: 1, name: "search", "aria-label": "Search", type: "text", placeholder: "Search...", onInput: (o) => this.handleSearch(o) })), i("div", { key: "bbf27504732266f3e3ae299fcf742a653a23fdef", class: "mt-20" }, i("table", { key: "a1c76a7b0d4c4a1382c34cf58a49896567610403", class: "block overflow-x-auto mt-6 p-0" }, i("thead", { key: "ea7e4b5d1c48c63094a96ba5c8fb38bf8e805024" }, i("tr", { key: "6e49bc93f9678f5f6449269728ca893a88ceb51a", class: "m-0 p-0 border border-softer even:bg-inverse-softer" }, this.columns.map((o) => {
|
|
11877
|
+
var a;
|
|
11878
|
+
return o === "actions" ? i("th", { class: "m-0 py-8 border border-softer f-ui-02 break-words", style: { minWidth: `${t - 4}px` } }) : !((a = this.parsedConfig[o]) === null || a === void 0) && a.hidden ? null : i("th", { class: "m-0 py-8 border border-softer f-ui-02 break-words", style: { minWidth: `${t - 4}px` } }, this.capitalize(o));
|
|
11879
|
+
}))), i("tbody", { key: "7f09b3133241c4a19ad75c27134c04192e9dc357" }, r.map((o) => i("tr", { class: "m-0 p-0 border border-softer even:bg-inverse-softer" }, this.columns.map((a) => {
|
|
11880
|
+
var s;
|
|
11881
|
+
return a === "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", { style: { display: "flex", gap: "0.5rem", justifyContent: "center", flexWrap: "wrap" } }, this.parsedActions.map((c) => i("span", { style: { whiteSpace: "nowrap" } }, this.renderSingleActionCell(c.name, o))))) : !((s = this.parsedConfig[a]) === null || s === void 0) && s.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(o[a], a));
|
|
11882
|
+
})))))), this.shouldEnablePagination() && i("div", { key: "ceb320ba2e1cb14e4220c653c92bb2a9e8bf3593", class: "mt-20" }, i("eds-pagination", { key: "19c22566443e476742fd7f5e232c9240ecb34bec", currentPage: this.currentPage, lastPage: l, perPage: this.rowsPerPage, total: this.totalRows, mode: "default" })));
|
|
11868
11883
|
}
|
|
11869
11884
|
get hostEl() {
|
|
11870
|
-
return
|
|
11885
|
+
return g(this);
|
|
11871
11886
|
}
|
|
11872
11887
|
static get watchers() {
|
|
11873
11888
|
return {
|
|
@@ -11877,10 +11892,10 @@ const Dn = "table{text-indent:0;border-color:inherit;border-collapse:collapse;}.
|
|
|
11877
11892
|
};
|
|
11878
11893
|
}
|
|
11879
11894
|
};
|
|
11880
|
-
|
|
11881
|
-
const
|
|
11895
|
+
Mn.style = qn;
|
|
11896
|
+
const Nn = "*,::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-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)}.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}.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}.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-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}}", Bn = Nn, Rn = class {
|
|
11882
11897
|
constructor(n) {
|
|
11883
|
-
|
|
11898
|
+
d(this, n), this.tab = h(this, "tab", 7), this.tabCva = m([
|
|
11884
11899
|
"relative py-12",
|
|
11885
11900
|
"f-ui-03 whitespace-nowrap",
|
|
11886
11901
|
"effect-color",
|
|
@@ -11943,16 +11958,16 @@ const qn = "*,::before,::after{--tw-border-spacing-x:0;--tw-border-spacing-y:0;-
|
|
|
11943
11958
|
}, 316);
|
|
11944
11959
|
}
|
|
11945
11960
|
getTabOptions(n, e) {
|
|
11946
|
-
const
|
|
11961
|
+
const t = n ? "center" : this.activeIndex === -1 && e === 0 ? "first" : e < this.activeIndex ? "left" : "right";
|
|
11947
11962
|
return Object.assign({ class: this.tabCva({
|
|
11948
11963
|
active: n,
|
|
11949
|
-
position:
|
|
11964
|
+
position: t
|
|
11950
11965
|
}), style: {
|
|
11951
|
-
zIndex: `${n ? this.parsedTabs.length + 99 :
|
|
11966
|
+
zIndex: `${n ? this.parsedTabs.length + 99 : t === "left" ? e : this.parsedTabs.length + 1 - e}`
|
|
11952
11967
|
} }, n ? { "data-tab-active": "true" } : {});
|
|
11953
11968
|
}
|
|
11954
11969
|
handleTabClick(n, e) {
|
|
11955
|
-
this.activeIndex = n, this.parsedTabs = this.parsedTabs.map((
|
|
11970
|
+
this.activeIndex = n, this.parsedTabs = this.parsedTabs.map((t, r) => Object.assign(Object.assign({}, t), { active: r === n })), this.tab.emit({ tabId: this.identifier, index: n, name: e }), f({
|
|
11956
11971
|
category: "ui-component",
|
|
11957
11972
|
tag: this.el.tagName.toLowerCase(),
|
|
11958
11973
|
name: (e == null ? void 0 : e.toLowerCase()) || "",
|
|
@@ -11961,12 +11976,12 @@ const qn = "*,::before,::after{--tw-border-spacing-x:0;--tw-border-spacing-y:0;-
|
|
|
11961
11976
|
}
|
|
11962
11977
|
render() {
|
|
11963
11978
|
return i("div", { key: "dd41d2d7ccbe03e08d3c20a2e9a370e69dfd1459", id: `${this.identifier}` }, i("div", { key: "14c95711c8e7df2b7f6f0557ce233bc1a68ad31b", class: "scroller-x overflow-x-auto max-w-xxxl xxxl:px-0 relative z-[1] mx-auto px-16 pt-8 lg:px-28" }, i("nav", { key: "3ed1c5cc5d0aa1e7cb4bebe337885c7e5687aa68", ref: (n) => this.tabContainer = n, class: "inline-flex", "aria-label": this.navAriaLabel }, this.parsedTabs.map((n, e) => {
|
|
11964
|
-
const
|
|
11965
|
-
return i(
|
|
11979
|
+
const t = n.active ? "span" : "a", r = this.getTabOptions(n.active, e);
|
|
11980
|
+
return i(t, Object.assign({}, r, { "aria-label": n.label, "aria-current": e === this.activeIndex, onClick: () => this.handleTabClick(e, n.label) }), n.label || n.ariaLabel);
|
|
11966
11981
|
}))), i("div", { key: "63399c53b2e5d642676d7f884bdecec0f8c515de", class: "tab-panels" }, this.parsedTabs.map((n, e) => i("div", { hidden: e !== this.activeIndex }, i("slot", { name: `panel-${e}` })))));
|
|
11967
11982
|
}
|
|
11968
11983
|
get el() {
|
|
11969
|
-
return
|
|
11984
|
+
return g(this);
|
|
11970
11985
|
}
|
|
11971
11986
|
static get watchers() {
|
|
11972
11987
|
return {
|
|
@@ -11974,7 +11989,7 @@ const qn = "*,::before,::after{--tw-border-spacing-x:0;--tw-border-spacing-y:0;-
|
|
|
11974
11989
|
};
|
|
11975
11990
|
}
|
|
11976
11991
|
};
|
|
11977
|
-
Rn.style =
|
|
11992
|
+
Rn.style = Bn;
|
|
11978
11993
|
const Vn = ".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)}", Un = Vn, Yn = m(
|
|
11979
11994
|
["border-2 rounded-pill"],
|
|
11980
11995
|
// Base classes
|
|
@@ -12005,7 +12020,7 @@ const Vn = ".f-ui-01{font-family:var(--f-ui-01-fontFamily);font-weight:var(--f-u
|
|
|
12005
12020
|
}
|
|
12006
12021
|
), Xn = class {
|
|
12007
12022
|
constructor(n) {
|
|
12008
|
-
|
|
12023
|
+
d(this, n), this.label = void 0, this.intent = "default", this.size = "small";
|
|
12009
12024
|
}
|
|
12010
12025
|
render() {
|
|
12011
12026
|
const n = Yn({ intent: this.intent, size: this.size });
|
|
@@ -12013,9 +12028,65 @@ const Vn = ".f-ui-01{font-family:var(--f-ui-01-fontFamily);font-weight:var(--f-u
|
|
|
12013
12028
|
}
|
|
12014
12029
|
};
|
|
12015
12030
|
Xn.style = Un;
|
|
12016
|
-
const Gn =
|
|
12031
|
+
const Gn = `.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),
|
|
12032
|
+
0 2px 4px -2px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),
|
|
12033
|
+
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)}`, Jn = Gn, Qn = m(["relative bottom-4 w-auto p-12 rounded-lg shadow-md"], {
|
|
12034
|
+
variants: {
|
|
12035
|
+
intent: {
|
|
12036
|
+
default: "bg-dark text-light",
|
|
12037
|
+
success: "bg-success text-dark",
|
|
12038
|
+
error: "bg-error text-light",
|
|
12039
|
+
warning: "bg-warning text-dark"
|
|
12040
|
+
}
|
|
12041
|
+
},
|
|
12042
|
+
defaultVariants: {
|
|
12043
|
+
intent: "default"
|
|
12044
|
+
}
|
|
12045
|
+
}), Kn = class {
|
|
12046
|
+
constructor(n) {
|
|
12047
|
+
d(this, n), this.toast = h(this, "toast", 7), this.dismissToast = () => {
|
|
12048
|
+
this.toast.emit({ visible: !1, label: "dismissed" }), this.visible = !1;
|
|
12049
|
+
}, this.message = void 0, this.intent = "default", this.duration = void 0, this.visible = !0;
|
|
12050
|
+
}
|
|
12051
|
+
componentDidLoad() {
|
|
12052
|
+
const n = this.el.shadowRoot.querySelector("eds-button");
|
|
12053
|
+
this.emitContext(n);
|
|
12054
|
+
}
|
|
12055
|
+
/**
|
|
12056
|
+
* Emits a custom event called `parentContext` for a given button element.
|
|
12057
|
+
* This event provides context information about the toast component.
|
|
12058
|
+
*
|
|
12059
|
+
* @param btnElement - The link element to which the event will be dispatched.
|
|
12060
|
+
*/
|
|
12061
|
+
emitContext(n) {
|
|
12062
|
+
const e = new CustomEvent("parentContext", {
|
|
12063
|
+
detail: {
|
|
12064
|
+
componentName: this.el.tagName.toLowerCase(),
|
|
12065
|
+
identifier: null
|
|
12066
|
+
}
|
|
12067
|
+
});
|
|
12068
|
+
n.dispatchEvent(e);
|
|
12069
|
+
}
|
|
12070
|
+
connectedCallback() {
|
|
12071
|
+
this.duration && this.duration > 0 && (this.dismissTimeout = setTimeout(this.dismissToast, this.duration));
|
|
12072
|
+
}
|
|
12073
|
+
disconnectedCallback() {
|
|
12074
|
+
clearTimeout(this.dismissTimeout);
|
|
12075
|
+
}
|
|
12076
|
+
render() {
|
|
12077
|
+
if (!this.visible)
|
|
12078
|
+
return null;
|
|
12079
|
+
const n = Qn({ intent: this.intent });
|
|
12080
|
+
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" })));
|
|
12081
|
+
}
|
|
12082
|
+
get el() {
|
|
12083
|
+
return g(this);
|
|
12084
|
+
}
|
|
12085
|
+
};
|
|
12086
|
+
Kn.style = Jn;
|
|
12087
|
+
const Zn = "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}", ne = Zn, ee = class {
|
|
12017
12088
|
constructor(n) {
|
|
12018
|
-
|
|
12089
|
+
d(this, n), this.user = void 0;
|
|
12019
12090
|
}
|
|
12020
12091
|
/**
|
|
12021
12092
|
* Helper getter to ensure we work with a User object.
|
|
@@ -12032,46 +12103,47 @@ const Gn = "hr,p{margin:0}.block{display:block}.flex{display:flex}.flex-col{flex
|
|
|
12032
12103
|
async componentWillLoad() {
|
|
12033
12104
|
}
|
|
12034
12105
|
get initials() {
|
|
12035
|
-
var n, e,
|
|
12106
|
+
var n, e, t, r;
|
|
12036
12107
|
const l = this.parsedUser;
|
|
12037
|
-
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() || ((
|
|
12108
|
+
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()) || "";
|
|
12038
12109
|
}
|
|
12039
12110
|
render() {
|
|
12040
12111
|
const n = this.parsedUser;
|
|
12041
12112
|
return i("div", { key: "b30b0a30a94c6bd9046b234cd793da80c1b16de8", class: "block" }, i("div", { key: "9ecea595c3d900aeda7c75a6aa5ae84999d775e1", class: "flex items-center" }, i("eds-dropdown", { key: "6a4c4751aaeaa6426ee4c89305b5c419ee912ced", label: `Hi, ${n.preferred_username}`, intent: "tertiary", "aria-label": "User Menu", "dropdown-pos": "right", "dropdown-offset": "false", icon: "chevron-down", class: "text-default" }, i("div", { key: "8e695af42fd229ca71e5d8f6fe367ed5ecc4184b", class: "min-w-[280px] p-8" }, i("div", { key: "d28e78ace074d7513a002297558219afae079646", class: "flex gap-x-16" }, i("eds-avatar", { key: "e9895e380ece01d116c14dbf0424061b1a039261", "first-name": n.given_name, "last-name": n.family_name, initials: this.initials, color: "grey" }), i("div", { key: "1597248135606e3300546b3278114cd8cc36d4b5", class: "max-w-full" }, n.name && i("p", { key: "fa04e93e50f3cf6d1e3d49dafc02d0dd5233a9f4", class: "f-ui-01 text-default w-full text-ellipsis" }, n.name), n.preferred_username && i("p", { key: "1203bf8078cb1c2a4d31effbe96e7aefd9222eb2", class: "f-ui-03-light text-light mt-4" }, n.preferred_username), n.email && i("p", { key: "6fcd932e87eb6e086daf61d2d8d16e6f8f27f12a", class: "f-ui-03-light text-light mt-4" }, n.email))), i("eds-block-break", { key: "5811252802eecc3f5c001705c8e8fb94fb33e1bb" }), i("div", { key: "d28913e74e9924f51e9b1e92a0f42691c733c438", class: "text-default flex w-full flex-col gap-y-8" }, i("slot", { key: "bb003f9bff1042b2778a7a924dc87c7baf1a9fb7" }))))));
|
|
12042
12113
|
}
|
|
12043
12114
|
get hostEl() {
|
|
12044
|
-
return
|
|
12115
|
+
return g(this);
|
|
12045
12116
|
}
|
|
12046
12117
|
};
|
|
12047
|
-
|
|
12118
|
+
ee.style = ne;
|
|
12048
12119
|
export {
|
|
12049
|
-
|
|
12050
|
-
|
|
12051
|
-
|
|
12052
|
-
|
|
12120
|
+
P as eds_avatar,
|
|
12121
|
+
T as eds_block_break,
|
|
12122
|
+
H as eds_button,
|
|
12123
|
+
M as eds_dropdown,
|
|
12053
12124
|
R as eds_footer,
|
|
12054
12125
|
Q as eds_form,
|
|
12055
12126
|
nn as eds_fullscreen_menu,
|
|
12056
|
-
|
|
12057
|
-
|
|
12127
|
+
rn as eds_header,
|
|
12128
|
+
se as eds_icon_wrapper,
|
|
12058
12129
|
an as eds_img,
|
|
12059
|
-
|
|
12130
|
+
de as eds_input,
|
|
12060
12131
|
cn as eds_input_field,
|
|
12061
12132
|
fn as eds_input_footer,
|
|
12062
12133
|
mn as eds_input_label,
|
|
12063
|
-
|
|
12064
|
-
|
|
12065
|
-
|
|
12134
|
+
ce as eds_input_range,
|
|
12135
|
+
ge as eds_input_search,
|
|
12136
|
+
he as eds_input_select,
|
|
12066
12137
|
vn as eds_link,
|
|
12067
12138
|
zn as eds_logo,
|
|
12068
12139
|
En as eds_modal,
|
|
12069
12140
|
In as eds_pagination,
|
|
12070
|
-
|
|
12071
|
-
|
|
12072
|
-
|
|
12073
|
-
|
|
12141
|
+
Pn as eds_social_networks,
|
|
12142
|
+
Tn as eds_steps,
|
|
12143
|
+
Hn as eds_steps_v2,
|
|
12144
|
+
Mn as eds_table,
|
|
12074
12145
|
Rn as eds_tabs,
|
|
12075
12146
|
Xn as eds_tag,
|
|
12076
|
-
|
|
12147
|
+
Kn as eds_toast,
|
|
12148
|
+
ee as eds_user
|
|
12077
12149
|
};
|