@ebrains/vue 0.9.1-beta → 0.9.2-beta
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/.eslintrc.json +18 -0
- package/package.json +1 -1
- package/project.json +9 -0
- package/src/generated/components.ts +374 -0
- package/src/generated/vue-component-lib/utils.ts +236 -0
- package/src/index.ts +1 -0
- package/src/vue-shims.d.ts +5 -0
- package/tsconfig.json +18 -0
- package/tsconfig.lib.json +27 -0
- package/vite.config.ts +71 -0
- package/analytics-44b1416b-3vYuu4Xs.mjs +0 -28
- package/analytics-44b1416b-ol77SdQE.js +0 -1
- package/arrow-diagonal-black-8f0494c3-CYl9yYTl.mjs +0 -4
- package/arrow-diagonal-black-8f0494c3-DqsB6ni-.js +0 -1
- package/arrow-right-9322ba8a-DBcxNU_p.js +0 -3
- package/arrow-right-9322ba8a-DHq-_PPe.mjs +0 -6
- package/bluesky-cc5edd2d-DaFQc-pr.js +0 -12
- package/bluesky-cc5edd2d-DfuDDO5h.mjs +0 -15
- package/bookmark-c200037c-CIcZ51ZQ.js +0 -14
- package/bookmark-c200037c-ClkCtyRY.mjs +0 -17
- package/chevron-down-6144c823-DWGlv9eV.mjs +0 -13
- package/chevron-down-6144c823-D_8976Ke.js +0 -10
- package/chevron-left-ca6c66e1-DANhLw_T.mjs +0 -12
- package/chevron-left-ca6c66e1-uCH5SUhm.js +0 -9
- package/chevron-right-b88ed2d4-C7dkTMvP.js +0 -3
- package/chevron-right-b88ed2d4-CgEZBvy7.mjs +0 -6
- package/chevron-up-c66bd477-ByW7R48t.js +0 -10
- package/chevron-up-c66bd477-CETJkshq.mjs +0 -13
- package/close-87fc0d63-Cbd-ScJr.js +0 -3
- package/close-87fc0d63-DtDU2HIU.mjs +0 -6
- package/color-2554aad6-CCcV5UJZ.mjs +0 -131
- package/color-2554aad6-D1hFGX4H.js +0 -1
- package/color-primary-palette_6.entry-DNCYKab1.js +0 -1
- package/color-primary-palette_6.entry-DrUcl0_Y.mjs +0 -300
- package/components-section.entry-BC6fAK4x.mjs +0 -351
- package/components-section.entry-Dpc-I4Dk.js +0 -162
- package/copy-03b72cb6-B_WCNQrG.mjs +0 -6
- package/copy-03b72cb6-CZAFAegx.js +0 -3
- package/correct-use-of-colors.entry-BIOVttVR.mjs +0 -59
- package/correct-use-of-colors.entry-D4g8NP4t.js +0 -1
- package/docs-palettes.entry-Af1cfpJK.js +0 -1
- package/docs-palettes.entry-CxxKTQmL.mjs +0 -22
- package/docs-tokens.entry-CSj74lMT.mjs +0 -30
- package/docs-tokens.entry-DbqTlBjk.js +0 -1
- package/eds-accordion.entry-66EwvfyQ.js +0 -4
- package/eds-accordion.entry-BAszhx2J.mjs +0 -48
- package/eds-alert.entry-B5fyoE-3.mjs +0 -825
- package/eds-alert.entry-D0UbYNdF.js +0 -739
- package/eds-app-root.entry-COtx8lgi.js +0 -1
- package/eds-app-root.entry-DaEWCpgJ.mjs +0 -25
- package/eds-avatar_26.entry-B5sFgktG.js +0 -31841
- package/eds-avatar_26.entry-D44mROee.mjs +0 -33438
- package/eds-card-desc_2.entry-B6UCTFjF.mjs +0 -53
- package/eds-card-desc_2.entry-CRAnQEYT.js +0 -1
- package/eds-card-generic.entry-BTkPV7Vy.mjs +0 -56
- package/eds-card-generic.entry-CO_LOs7j.js +0 -1
- package/eds-card-project.entry-DHpOvYZ4.mjs +0 -44
- package/eds-card-project.entry-DaYgAAhK.js +0 -1
- package/eds-card-section.entry-Cj1iWta9.js +0 -1
- package/eds-card-section.entry-Ckc5tKfn.mjs +0 -30
- package/eds-card-tags.entry-CC8HHmu1.js +0 -1
- package/eds-card-tags.entry-DTOC83TO.mjs +0 -13
- package/eds-card-tool.entry-BnSmQnIO.mjs +0 -56
- package/eds-card-tool.entry-DbRFRI44.js +0 -1
- package/eds-card-wrapper.entry-DqbihYMe.js +0 -1
- package/eds-card-wrapper.entry-pXRtDlUm.mjs +0 -24
- package/eds-code-block.entry-DOOwL4C5.js +0 -9
- package/eds-code-block.entry-DzjesAvq.mjs +0 -1623
- package/eds-cookies-preference.entry-BEg8_L1i.mjs +0 -20
- package/eds-cookies-preference.entry-DNieltJt.js +0 -1
- package/eds-feedback.entry-BPC8n5Vn.js +0 -1
- package/eds-feedback.entry-CamM3PGo.mjs +0 -53
- package/eds-frame.entry-BTSVnilU.mjs +0 -67
- package/eds-frame.entry-CxtCcM_D.js +0 -1
- package/eds-icon-arrow-diagonal.entry-Bi8IA-JD.mjs +0 -13
- package/eds-icon-arrow-diagonal.entry-CkydmAtM.js +0 -1
- package/eds-icon-arrow-right.entry-Bec767Po.mjs +0 -13
- package/eds-icon-arrow-right.entry-DnSc-hGl.js +0 -1
- package/eds-icon-bluesky.entry-CJ_G1Kz6.mjs +0 -13
- package/eds-icon-bluesky.entry-CKsxnx_w.js +0 -1
- package/eds-icon-bookmark.entry-CgY2a3NE.js +0 -1
- package/eds-icon-bookmark.entry-CxHfI52-.mjs +0 -13
- package/eds-icon-chevron-down.entry-BlFjZjFS.js +0 -1
- package/eds-icon-chevron-down.entry-MP6nKKWS.mjs +0 -13
- package/eds-icon-chevron-left.entry-B87gvMYL.mjs +0 -13
- package/eds-icon-chevron-left.entry-D0wG_pW7.js +0 -1
- package/eds-icon-chevron-right.entry-CBd-dMhk.mjs +0 -13
- package/eds-icon-chevron-right.entry-CK9NLouO.js +0 -1
- package/eds-icon-chevron-up.entry-B96ccoIQ.mjs +0 -13
- package/eds-icon-chevron-up.entry-CKC11GWB.js +0 -1
- package/eds-icon-close.entry-C82RssRf.js +0 -1
- package/eds-icon-close.entry-DKpCci_h.mjs +0 -13
- package/eds-icon-copy.entry-BLIFnGI7.mjs +0 -13
- package/eds-icon-copy.entry-DJvo9Oo3.js +0 -1
- package/eds-icon-eu.entry-CIiUxa85.mjs +0 -13
- package/eds-icon-eu.entry-fpbE22vn.js +0 -1
- package/eds-icon-external.entry-Bg3Jbh4o.mjs +0 -13
- package/eds-icon-external.entry-DB0_JlLk.js +0 -1
- package/eds-icon-facebook.entry-CqhEjMDs.js +0 -1
- package/eds-icon-facebook.entry-Cvcx9mzY.mjs +0 -13
- package/eds-icon-gitlab.entry-DkWowBSx.js +0 -1
- package/eds-icon-gitlab.entry-ZIUW3Too.mjs +0 -13
- package/eds-icon-linkedin.entry-zCYN0yJN.mjs +0 -13
- package/eds-icon-linkedin.entry-zJM5VYX8.js +0 -1
- package/eds-icon-loader.entry-D3A9DYDv.js +0 -1
- package/eds-icon-loader.entry-DgDDBLQe.mjs +0 -13
- package/eds-icon-mastodon.entry-B2ln6jUP.mjs +0 -13
- package/eds-icon-mastodon.entry-CQi1OZdh.js +0 -1
- package/eds-icon-menu.entry-BqYXrP_P.js +0 -1
- package/eds-icon-menu.entry-CRdmUv3E.mjs +0 -13
- package/eds-icon-minus.entry-C6oGK2_g.mjs +0 -13
- package/eds-icon-minus.entry-CmEXvebI.js +0 -1
- package/eds-icon-more.entry-BIQGWWip.js +0 -1
- package/eds-icon-more.entry-aXbszIap.mjs +0 -13
- package/eds-icon-paper.entry-Bh5C64H8.mjs +0 -13
- package/eds-icon-paper.entry-LgapgnWg.js +0 -1
- package/eds-icon-plus.entry-BR1mOml3.mjs +0 -13
- package/eds-icon-plus.entry-DlX5VFJR.js +0 -1
- package/eds-icon-portal.entry-C2DFez0R.js +0 -1
- package/eds-icon-portal.entry-CMARk8X7.mjs +0 -13
- package/eds-icon-private.entry-BwvhDAIy.mjs +0 -13
- package/eds-icon-private.entry-CbexBFUk.js +0 -1
- package/eds-icon-public.entry-D91FTOc3.mjs +0 -13
- package/eds-icon-public.entry-DQzoAi-2.js +0 -1
- package/eds-icon-search.entry-D6gOTsOF.js +0 -1
- package/eds-icon-search.entry-DVhN8_Ah.mjs +0 -13
- package/eds-icon-star.entry-CBJGqbz6.mjs +0 -13
- package/eds-icon-star.entry-CIhSd8HY.js +0 -1
- package/eds-icon-success.entry-VMJ6qL6H.mjs +0 -13
- package/eds-icon-success.entry-yZ0mp_pH.js +0 -1
- package/eds-icon-thumbs-down.entry-CfZk-XIH.js +0 -1
- package/eds-icon-thumbs-down.entry-CirzFHNd.mjs +0 -13
- package/eds-icon-thumbs-up.entry-C205X1kc.js +0 -1
- package/eds-icon-thumbs-up.entry-CyPLJvn-.mjs +0 -13
- package/eds-icon-tutorial.entry-Do4rIMaY.mjs +0 -13
- package/eds-icon-tutorial.entry-Dsyw0BBK.js +0 -1
- package/eds-icon-twitter.entry-D0QvrckP.mjs +0 -13
- package/eds-icon-twitter.entry-Dxbad6Ap.js +0 -1
- package/eds-icon-unknown.entry-Ml0duWB3.mjs +0 -13
- package/eds-icon-unknown.entry-p9JzenHC.js +0 -1
- package/eds-icon-updown.entry-CD8350rr.mjs +0 -13
- package/eds-icon-updown.entry-CX-0FN1w.js +0 -1
- package/eds-icon-user.entry-BL2cTAJm.js +0 -1
- package/eds-icon-user.entry-CoG-FatJ.mjs +0 -13
- package/eds-icon-youtube.entry-BLYOdnDv.js +0 -1
- package/eds-icon-youtube.entry-BuoKDZ5t.mjs +0 -13
- package/eds-login_2.entry-BLdyPn8z.js +0 -9
- package/eds-login_2.entry-vwx33ALN.mjs +0 -981
- package/eds-matomo-notice.entry-BcVjYajg.js +0 -1
- package/eds-matomo-notice.entry-DidLaLXw.mjs +0 -90
- package/eds-modal.entry-B31KFXpt.js +0 -1
- package/eds-modal.entry-CXNV__T1.mjs +0 -96
- package/eds-pagination_2.entry-C5PQOTQJ.js +0 -1
- package/eds-pagination_2.entry-CDArkgFj.mjs +0 -258
- package/eds-progress-bar.entry-D-pHajo4.mjs +0 -21
- package/eds-progress-bar.entry-DG0GXmeq.js +0 -1
- package/eds-rating.entry-C1Ek7Xei.mjs +0 -61
- package/eds-rating.entry-ftEmF4Qw.js +0 -1
- package/eds-section-core_2.entry-BpzqlBXJ.js +0 -1
- package/eds-section-core_2.entry-kmq9d4JE.mjs +0 -39
- package/eds-spinner.entry-DTgScdkA.js +0 -1
- package/eds-spinner.entry-a3Wjf-Vo.mjs +0 -36
- package/eds-switch.entry-CMr4qwoV.js +0 -1
- package/eds-switch.entry-Cztu_2n9.mjs +0 -20
- package/eds-tabs.entry-0DJ99piw.js +0 -7797
- package/eds-tabs.entry-DBHkSmJZ.mjs +0 -7900
- package/eds-timeline.entry-8DYAeWK9.js +0 -7797
- package/eds-timeline.entry-Cj0sAIIZ.mjs +0 -7842
- package/eds-toast-manager.entry-CSZROgRS.js +0 -1
- package/eds-toast-manager.entry-Cp-uvJ6e.mjs +0 -36
- package/eds-toast.entry-DxditNG2.mjs +0 -61
- package/eds-toast.entry-w5mMLqEh.js +0 -3
- package/eds-tooltip.entry-BkTKzXVD.js +0 -1
- package/eds-tooltip.entry-DiID9ZC6.mjs +0 -77
- package/eds-trl.entry-BEZPY301.js +0 -1
- package/eds-trl.entry-BrkymCLA.mjs +0 -34
- package/eu-9ddde93a-BFtIQw9B.js +0 -28
- package/eu-9ddde93a-ft4szvR5.mjs +0 -31
- package/facebook-9cb5c17f-BcUhbrj6.mjs +0 -15
- package/facebook-9cb5c17f-Y_gvQ682.js +0 -12
- package/generated/components.d.ts +0 -40
- package/generated/vue-component-lib/utils.d.ts +0 -16
- package/incorrect-use-of-colors.entry-D_MDnOxK.mjs +0 -42
- package/incorrect-use-of-colors.entry-HDLgRpVT.js +0 -1
- package/index-39c58238-BwYCDOHZ.mjs +0 -44
- package/index-39c58238-SQ-JC-LH.js +0 -1
- package/index-CMP6-ecb.mjs +0 -3622
- package/index-RvcWEz0j.js +0 -21
- package/index.d.ts +0 -1
- package/index.js +0 -1
- package/index.mjs +0 -42
- package/linkedin-e8650abb-BkDrkjzY.js +0 -26
- package/linkedin-e8650abb-DYMdsale.mjs +0 -29
- package/loader-c9628637-ChpnbJkv.mjs +0 -31
- package/loader-c9628637-Vj8Wt1e8.js +0 -28
- package/logo-color-7f1fd803-CFgbXdt8.mjs +0 -116
- package/logo-color-7f1fd803-DRD3vZVn.js +0 -113
- package/logo-color-margins-ff8ce71b-B9nMsY9Q.mjs +0 -119
- package/logo-color-margins-ff8ce71b-Dk06zr1Z.js +0 -116
- package/logo-space.entry-B05IQf3M.mjs +0 -19
- package/logo-space.entry-DtPQz2nj.js +0 -6
- package/logo-variations-horizontal_2.entry-BUcAWE9P.js +0 -7
- package/logo-variations-horizontal_2.entry-CuIHzZ_5.mjs +0 -29
- package/logo-variations-tabs.entry-BFQf55Y1.js +0 -1
- package/logo-variations-tabs.entry-nnh_qtBx.mjs +0 -22
- package/logo-white-no-bg-f382f86f-DXYn3NwV.js +0 -1011
- package/logo-white-no-bg-f382f86f-YhfmNmGG.mjs +0 -1022
- package/logo-wrong-usage.entry-CBpe4g63.js +0 -1
- package/logo-wrong-usage.entry-CQ3WROz1.mjs +0 -14
- package/mastodon-3703ec61-C7iI4Hk0.mjs +0 -15
- package/mastodon-3703ec61-C9v6Olc-.js +0 -12
- package/menu-340ea948-BpnYX3gY.mjs +0 -12
- package/menu-340ea948-ZdelWVw3.js +0 -9
- package/minus-b30a7c71-BPAvqHzH.mjs +0 -12
- package/minus-b30a7c71-DqCTe6Qh.js +0 -9
- package/mono-53f70232-DGi2XDlR.mjs +0 -12
- package/mono-53f70232-DgAsWvoQ.js +0 -9
- package/more-4449d549-D4HA1cRq.js +0 -11
- package/more-4449d549-rI9hOpEp.mjs +0 -14
- package/paper-8e74ea31-BvGrc1Vo.mjs +0 -16
- package/paper-8e74ea31-C4CV6tlB.js +0 -13
- package/plus-89c07be2-BTXnjg5K.js +0 -10
- package/plus-89c07be2-DyT9I4-L.mjs +0 -13
- package/portal-d6c8ce56-Cj61ldo8.mjs +0 -19
- package/portal-d6c8ce56-NpSrdNZ_.js +0 -16
- package/private-1c25ff8e-D3Fo36q6.js +0 -23
- package/private-1c25ff8e-Dz82_Xf8.mjs +0 -26
- package/public-d4d8c585-BJKDD5F6.mjs +0 -17
- package/public-d4d8c585-lV6QxdPw.js +0 -14
- package/search-fbcd79c2-BMxCaeEk.js +0 -10
- package/search-fbcd79c2-rfV0PlHP.mjs +0 -13
- package/sharedUtils-a550989c-Ci3Tx3jc.mjs +0 -15
- package/sharedUtils-a550989c-m4pF1Vqy.js +0 -1
- package/star-0da9b5e9-B3-jr0yE.js +0 -3
- package/star-0da9b5e9-DX8_iFmu.mjs +0 -6
- package/success-443809da-BD23vltm.mjs +0 -19
- package/success-443809da-BUEhLsAD.js +0 -16
- package/svg-repository.entry-CtZ9pBKr.mjs +0 -301
- package/svg-repository.entry-qTZFd69I.js +0 -173
- package/thumbs-down-a18fd049-CzuBAj99.mjs +0 -6
- package/thumbs-down-a18fd049-DTNIbYbm.js +0 -3
- package/thumbs-up-c19a71bc-CjLv5Wgw.mjs +0 -7
- package/thumbs-up-c19a71bc-w8Z8gegt.js +0 -4
- package/toastManager-d9eee791-CEYNwx25.mjs +0 -30
- package/toastManager-d9eee791-DvR_vUPI.js +0 -1
- package/token-list_3.entry-91wGiwGz.js +0 -1
- package/token-list_3.entry-C4RxixtE.mjs +0 -247
- package/token-ratios.entry-BmUxaqAu.js +0 -1
- package/token-ratios.entry-BvmPBjyB.mjs +0 -25
- package/token-typography.entry-DFkDpqQO.mjs +0 -213
- package/token-typography.entry-DvZ1QVjt.js +0 -2
- package/tutotial-150ee1fd-DFdyoHVA.mjs +0 -28
- package/tutotial-150ee1fd-DjN_JBL5.js +0 -25
- package/twitter-ac21b505-CGWVGWM9.mjs +0 -15
- package/twitter-ac21b505-DDdHS4hB.js +0 -12
- package/unknown-ed01a24c-B0AcMuip.js +0 -20
- package/unknown-ed01a24c-DonOUpIC.mjs +0 -23
- package/up-and-down-d747abee-CWoZjUyq.js +0 -10
- package/up-and-down-d747abee-D7g6H0T0.mjs +0 -13
- package/user-71ebdc15-BBKQbcQD.js +0 -14
- package/user-71ebdc15-CoHlCtJg.mjs +0 -17
- package/youtube-efbfbdc4-BLTH1Jl9.js +0 -12
- package/youtube-efbfbdc4-BfySbfjR.mjs +0 -15
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const s=require("./index-RvcWEz0j.js"),i=require("./toastManager-d9eee791-DvR_vUPI.js"),n=".toast-container{position:fixed;top:1rem;left:50%;transform:translateX(-50%);z-index:99999;display:flex;flex-direction:column;align-items:center;gap:1rem;width:100%;max-width:36rem;}.toast-wrapper{width:100%;padding:0 1rem;}.eds-toast{box-shadow:0px 4px 6px rgba(0, 0, 0, 0.1);border-radius:0.5rem;animation:fade-in 0.3s ease-out;}@keyframes fade-in{from{opacity:0;transform:translateY(-10px)}to{opacity:1;transform:translateY(0)}}",r=n,o=class{constructor(t){s.registerInstance(this,t),this.toastId=0,this.toasts=[]}connectedCallback(){i.toast.init(this.hostElement),this.hostElement.addEventListener("show-toast",t=>{const{message:e,intent:a}=t.detail;this.addToast(e,a)})}addToast(t,e){const a=this.toastId++;this.toasts=[...this.toasts,{id:a,message:t,intent:e}]}removeToast(t){this.toasts=this.toasts.filter(e=>e.id!==t)}render(){return s.h("div",{key:"0ca6de02db6bd537c7efe007c898480d07f69bc6",class:"toast-container"},this.toasts.map(t=>s.h("div",{key:t.id},s.h("eds-toast",{message:t.message,intent:t.intent,onClick:()=>this.removeToast(t.id)}))))}get hostElement(){return s.getElement(this)}};o.style=r;exports.eds_toast_manager=o;
|
|
@@ -1,36 +0,0 @@
|
|
|
1
|
-
import { r as o, h as a, g as i } from "./index-CMP6-ecb.mjs";
|
|
2
|
-
import { t as n } from "./toastManager-d9eee791-CEYNwx25.mjs";
|
|
3
|
-
const r = ".toast-container{position:fixed;top:1rem;left:50%;transform:translateX(-50%);z-index:99999;display:flex;flex-direction:column;align-items:center;gap:1rem;width:100%;max-width:36rem;}.toast-wrapper{width:100%;padding:0 1rem;}.eds-toast{box-shadow:0px 4px 6px rgba(0, 0, 0, 0.1);border-radius:0.5rem;animation:fade-in 0.3s ease-out;}@keyframes fade-in{from{opacity:0;transform:translateY(-10px)}to{opacity:1;transform:translateY(0)}}", d = r, m = class {
|
|
4
|
-
constructor(t) {
|
|
5
|
-
o(this, t), this.toastId = 0, this.toasts = [];
|
|
6
|
-
}
|
|
7
|
-
connectedCallback() {
|
|
8
|
-
n.init(this.hostElement), this.hostElement.addEventListener("show-toast", (t) => {
|
|
9
|
-
const { message: s, intent: e } = t.detail;
|
|
10
|
-
this.addToast(s, e);
|
|
11
|
-
});
|
|
12
|
-
}
|
|
13
|
-
/**
|
|
14
|
-
* Adds a new toast.
|
|
15
|
-
*/
|
|
16
|
-
addToast(t, s) {
|
|
17
|
-
const e = this.toastId++;
|
|
18
|
-
this.toasts = [...this.toasts, { id: e, message: t, intent: s }];
|
|
19
|
-
}
|
|
20
|
-
/**
|
|
21
|
-
* Removes a toast by ID.
|
|
22
|
-
*/
|
|
23
|
-
removeToast(t) {
|
|
24
|
-
this.toasts = this.toasts.filter((s) => s.id !== t);
|
|
25
|
-
}
|
|
26
|
-
render() {
|
|
27
|
-
return a("div", { key: "0ca6de02db6bd537c7efe007c898480d07f69bc6", class: "toast-container" }, this.toasts.map((t) => a("div", { key: t.id }, a("eds-toast", { message: t.message, intent: t.intent, onClick: () => this.removeToast(t.id) }))));
|
|
28
|
-
}
|
|
29
|
-
get hostElement() {
|
|
30
|
-
return i(this);
|
|
31
|
-
}
|
|
32
|
-
};
|
|
33
|
-
m.style = d;
|
|
34
|
-
export {
|
|
35
|
-
m as eds_toast_manager
|
|
36
|
-
};
|
|
@@ -1,61 +0,0 @@
|
|
|
1
|
-
import { r as i, h as e, g as r } from "./index-CMP6-ecb.mjs";
|
|
2
|
-
import { c as o } from "./index-39c58238-BwYCDOHZ.mjs";
|
|
3
|
-
const a = `.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),
|
|
4
|
-
0 2px 4px -2px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),
|
|
5
|
-
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)}`, n = a, l = o(["relative right-4 bottom-4 w-auto p-12 rounded-lg shadow-md"], {
|
|
6
|
-
variants: {
|
|
7
|
-
intent: {
|
|
8
|
-
default: "bg-dark text-light",
|
|
9
|
-
success: "bg-success text-dark",
|
|
10
|
-
error: "bg-error text-light",
|
|
11
|
-
warning: "bg-warning text-dark"
|
|
12
|
-
}
|
|
13
|
-
},
|
|
14
|
-
defaultVariants: {
|
|
15
|
-
intent: "default"
|
|
16
|
-
}
|
|
17
|
-
}), c = class {
|
|
18
|
-
constructor(t) {
|
|
19
|
-
i(this, t), this.dismissToast = () => {
|
|
20
|
-
this.visible = !1;
|
|
21
|
-
}, this.message = void 0, this.intent = "default", this.duration = 5e3, this.visible = !0;
|
|
22
|
-
}
|
|
23
|
-
componentDidLoad() {
|
|
24
|
-
const t = this.el.shadowRoot.querySelector("eds-button");
|
|
25
|
-
this.emitContext(t);
|
|
26
|
-
}
|
|
27
|
-
/**
|
|
28
|
-
* Emits a custom event called `parentContext` for a given button element.
|
|
29
|
-
* This event provides context information about the toast component.
|
|
30
|
-
*
|
|
31
|
-
* @param btnElement - The link element to which the event will be dispatched.
|
|
32
|
-
*/
|
|
33
|
-
emitContext(t) {
|
|
34
|
-
const s = new CustomEvent("parentContext", {
|
|
35
|
-
detail: {
|
|
36
|
-
componentName: this.el.tagName.toLowerCase(),
|
|
37
|
-
identifier: null
|
|
38
|
-
}
|
|
39
|
-
});
|
|
40
|
-
t.dispatchEvent(s);
|
|
41
|
-
}
|
|
42
|
-
connectedCallback() {
|
|
43
|
-
this.dismissTimeout = setTimeout(this.dismissToast, this.duration);
|
|
44
|
-
}
|
|
45
|
-
disconnectedCallback() {
|
|
46
|
-
clearTimeout(this.dismissTimeout);
|
|
47
|
-
}
|
|
48
|
-
render() {
|
|
49
|
-
if (!this.visible)
|
|
50
|
-
return null;
|
|
51
|
-
const t = l({ intent: this.intent });
|
|
52
|
-
return e("div", { class: t, role: "alert", "aria-live": "assertive" }, e("div", { class: "flex items-center justify-between gap-4" }, e("span", { class: "f-ui-01" }, this.message), e("eds-button", { intent: "tertiary", icon: "close", "aria-label": "Close Toast", onClick: () => this.dismissToast(), "extra-class": "ml-8" })));
|
|
53
|
-
}
|
|
54
|
-
get el() {
|
|
55
|
-
return r(this);
|
|
56
|
-
}
|
|
57
|
-
};
|
|
58
|
-
c.style = n;
|
|
59
|
-
export {
|
|
60
|
-
c as eds_toast
|
|
61
|
-
};
|
|
@@ -1,3 +0,0 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./index-RvcWEz0j.js"),r=require("./index-39c58238-SQ-JC-LH.js"),o=`.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),
|
|
2
|
-
0 2px 4px -2px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),
|
|
3
|
-
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)}`,a=o,n=r.cva(["relative right-4 bottom-4 w-auto p-12 rounded-lg shadow-md"],{variants:{intent:{default:"bg-dark text-light",success:"bg-success text-dark",error:"bg-error text-light",warning:"bg-warning text-dark"}},defaultVariants:{intent:"default"}}),s=class{constructor(t){e.registerInstance(this,t),this.dismissToast=()=>{this.visible=!1},this.message=void 0,this.intent="default",this.duration=5e3,this.visible=!0}componentDidLoad(){const t=this.el.shadowRoot.querySelector("eds-button");this.emitContext(t)}emitContext(t){const i=new CustomEvent("parentContext",{detail:{componentName:this.el.tagName.toLowerCase(),identifier:null}});t.dispatchEvent(i)}connectedCallback(){this.dismissTimeout=setTimeout(this.dismissToast,this.duration)}disconnectedCallback(){clearTimeout(this.dismissTimeout)}render(){if(!this.visible)return null;const t=n({intent:this.intent});return e.h("div",{class:t,role:"alert","aria-live":"assertive"},e.h("div",{class:"flex items-center justify-between gap-4"},e.h("span",{class:"f-ui-01"},this.message),e.h("eds-button",{intent:"tertiary",icon:"close","aria-label":"Close Toast",onClick:()=>this.dismissToast(),"extra-class":"ml-8"})))}get el(){return e.getElement(this)}};s.style=a;exports.eds_toast=s;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const i=require("./index-RvcWEz0j.js"),f=require("./analytics-44b1416b-ol77SdQE.js"),h=".relative{position:relative}.absolute{position:absolute}.rounded-sm{border-radius:8px}.rounded-xs{border-radius:4px}.bg-stronger{background-color:var(--grey-900)}.bg-strongest{background-color:var(--black)}.text-inverse{color:var(--white)}.text-default{color:var(--black)}.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)}.pointer-events-none{pointer-events:none}.-top-8{top:-0.5rem}.left-1\\/2{left:50%}.z-10{z-index:10}.block{display:block}.-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))}.-translate-y-full{--tw-translate-y:-100%;transform:translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.whitespace-nowrap{white-space:nowrap}.py-2{padding-top:0.125rem;padding-bottom:0.125rem}.px-4{padding-left:0.25rem;padding-right:0.25rem}.p-4{padding:0.25rem}.p-6{padding:0.375rem}.p-8{padding:0.5rem}.p-12{padding:0.75rem}.p-16{padding:1rem}.p-20{padding:1.25rem}",v=h,c=class{constructor(t){i.registerInstance(this,t),this.content=void 0,this.position="above",this.isVisible=!1,this.isPositioned=!1,this.tooltipStyle={top:"0px",left:"0px",transform:""}}async showTooltip(){var t;await this.updateTooltipPosition(),this.isPositioned=!0,this.isVisible=!0,f.sendAnalytics({category:"ui-component",parentContext:null,tag:this.el.tagName.toLowerCase(),name:((t=this.content)===null||t===void 0?void 0:t.toLowerCase())||"",action:"hover"})}hideTooltip(){this.isVisible=!1,this.isPositioned=!1}handleKeyPress(t){t.key==="Escape"&&(this.isVisible=!1,this.isPositioned=!1)}updateTooltipPosition(){var t,o;const s=(t=this.el.shadowRoot)===null||t===void 0?void 0:t.querySelector("slot");if(!s)return;const n=((s==null?void 0:s.assignedNodes({flatten:!0}))||[]).find(e=>e instanceof HTMLElement);if(n){const e=n.getBoundingClientRect(),a=(o=this.el.shadowRoot)===null||o===void 0?void 0:o.querySelector('[role="tooltip"]');if(a){const d=a.offsetWidth,p=a.offsetHeight;let r=0,l=0;switch(this.position){case"above":r=window.scrollY-p-8,l=e.left+e.width/2-d/2;break;case"below":r=p-window.scrollY+18,l=e.left+e.width/2-d/2;break}this.tooltipStyle={top:`${r}px`,left:`${l}px`,transform:"translateX(0)"}}}}render(){return i.h("div",{key:"61455282a8a27a420e571ddb0abd31b6761d12ff",class:"relative"},i.h("slot",{key:"8a29dd5f74c6a497111786fadcad766e410a1e34"}),this.isVisible&&this.isPositioned&&this.content&&i.h("div",{key:"34e5eef506a0d203e898027275c96f2dc3d3bd92",class:"rounded-xs bg-strongest text-inverse f-ui-03-light pointer-events-none absolute z-10 whitespace-nowrap p-6",role:"tooltip",style:{top:this.tooltipStyle.top,left:this.tooltipStyle.left,transform:this.tooltipStyle.transform}},this.content))}get el(){return i.getElement(this)}};c.style=v;exports.eds_tooltip=c;
|
|
@@ -1,77 +0,0 @@
|
|
|
1
|
-
import { r as f, h as l, g as c } from "./index-CMP6-ecb.mjs";
|
|
2
|
-
import { s as h } from "./analytics-44b1416b-3vYuu4Xs.mjs";
|
|
3
|
-
const w = ".relative{position:relative}.absolute{position:absolute}.rounded-sm{border-radius:8px}.rounded-xs{border-radius:4px}.bg-stronger{background-color:var(--grey-900)}.bg-strongest{background-color:var(--black)}.text-inverse{color:var(--white)}.text-default{color:var(--black)}.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)}.pointer-events-none{pointer-events:none}.-top-8{top:-0.5rem}.left-1\\/2{left:50%}.z-10{z-index:10}.block{display:block}.-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))}.-translate-y-full{--tw-translate-y:-100%;transform:translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.whitespace-nowrap{white-space:nowrap}.py-2{padding-top:0.125rem;padding-bottom:0.125rem}.px-4{padding-left:0.25rem;padding-right:0.25rem}.p-4{padding:0.25rem}.p-6{padding:0.375rem}.p-8{padding:0.5rem}.p-12{padding:0.75rem}.p-16{padding:1rem}.p-20{padding:1.25rem}", v = w, g = class {
|
|
4
|
-
constructor(t) {
|
|
5
|
-
f(this, t), this.content = void 0, this.position = "above", this.isVisible = !1, this.isPositioned = !1, this.tooltipStyle = { top: "0px", left: "0px", transform: "" };
|
|
6
|
-
}
|
|
7
|
-
/**
|
|
8
|
-
* Show the tooltip and update its position.
|
|
9
|
-
*/
|
|
10
|
-
async showTooltip() {
|
|
11
|
-
var t;
|
|
12
|
-
await this.updateTooltipPosition(), this.isPositioned = !0, this.isVisible = !0, h({
|
|
13
|
-
category: "ui-component",
|
|
14
|
-
parentContext: null,
|
|
15
|
-
tag: this.el.tagName.toLowerCase(),
|
|
16
|
-
name: ((t = this.content) === null || t === void 0 ? void 0 : t.toLowerCase()) || "",
|
|
17
|
-
action: "hover"
|
|
18
|
-
});
|
|
19
|
-
}
|
|
20
|
-
/**
|
|
21
|
-
* Hide the tooltip.
|
|
22
|
-
*/
|
|
23
|
-
hideTooltip() {
|
|
24
|
-
this.isVisible = !1, this.isPositioned = !1;
|
|
25
|
-
}
|
|
26
|
-
/**
|
|
27
|
-
* Hide the tooltip when the `Escape` key is pressed.
|
|
28
|
-
*/
|
|
29
|
-
handleKeyPress(t) {
|
|
30
|
-
t.key === "Escape" && (this.isVisible = !1, this.isPositioned = !1);
|
|
31
|
-
}
|
|
32
|
-
/**
|
|
33
|
-
* Update the tooltip's position dynamically based on the slotted element's dimensions and position.
|
|
34
|
-
*/
|
|
35
|
-
updateTooltipPosition() {
|
|
36
|
-
var t, s;
|
|
37
|
-
const i = (t = this.el.shadowRoot) === null || t === void 0 ? void 0 : t.querySelector("slot");
|
|
38
|
-
if (!i)
|
|
39
|
-
return;
|
|
40
|
-
const n = ((i == null ? void 0 : i.assignedNodes({ flatten: !0 })) || []).find((e) => e instanceof HTMLElement);
|
|
41
|
-
if (n) {
|
|
42
|
-
const e = n.getBoundingClientRect(), o = (s = this.el.shadowRoot) === null || s === void 0 ? void 0 : s.querySelector('[role="tooltip"]');
|
|
43
|
-
if (o) {
|
|
44
|
-
const d = o.offsetWidth, p = o.offsetHeight;
|
|
45
|
-
let a = 0, r = 0;
|
|
46
|
-
switch (this.position) {
|
|
47
|
-
case "above":
|
|
48
|
-
a = window.scrollY - p - 8, r = e.left + e.width / 2 - d / 2;
|
|
49
|
-
break;
|
|
50
|
-
case "below":
|
|
51
|
-
a = p - window.scrollY + 18, r = e.left + e.width / 2 - d / 2;
|
|
52
|
-
break;
|
|
53
|
-
}
|
|
54
|
-
this.tooltipStyle = {
|
|
55
|
-
top: `${a}px`,
|
|
56
|
-
left: `${r}px`,
|
|
57
|
-
transform: "translateX(0)"
|
|
58
|
-
// No additional horizontal adjustment needed
|
|
59
|
-
};
|
|
60
|
-
}
|
|
61
|
-
}
|
|
62
|
-
}
|
|
63
|
-
render() {
|
|
64
|
-
return l("div", { key: "61455282a8a27a420e571ddb0abd31b6761d12ff", class: "relative" }, l("slot", { key: "8a29dd5f74c6a497111786fadcad766e410a1e34" }), this.isVisible && this.isPositioned && this.content && l("div", { key: "34e5eef506a0d203e898027275c96f2dc3d3bd92", class: "rounded-xs bg-strongest text-inverse f-ui-03-light pointer-events-none absolute z-10 whitespace-nowrap p-6", role: "tooltip", style: {
|
|
65
|
-
top: this.tooltipStyle.top,
|
|
66
|
-
left: this.tooltipStyle.left,
|
|
67
|
-
transform: this.tooltipStyle.transform
|
|
68
|
-
} }, this.content));
|
|
69
|
-
}
|
|
70
|
-
get el() {
|
|
71
|
-
return c(this);
|
|
72
|
-
}
|
|
73
|
-
};
|
|
74
|
-
g.style = v;
|
|
75
|
-
export {
|
|
76
|
-
g as eds_tooltip
|
|
77
|
-
};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const t=require("./index-RvcWEz0j.js"),i=class{constructor(e){t.registerInstance(this,e),this.applications=void 0}getParsedApplications(){let e=[];if(typeof this.applications=="string")try{e=JSON.parse(this.applications||"[]")}catch(r){console.error("Invalid applications trl JSON",r),e=[]}else Array.isArray(this.applications)&&(e=this.applications);return e}calculateProgress(e){return Math.ceil(e/9*100)}render(){const r=this.getParsedApplications().map(a=>({Application:a.name,"Current TRL Stage":`TRL ${a.currentTrl}`,Progress:t.h("div",{class:"w-[200px]"},t.h("eds-progress-bar",{value:this.calculateProgress(a.currentTrl)}))})),s={Application:{format:"code"},"Current TRL Stage":{format:"text"}};return t.h("div",{key:"00a54a2865be6f24f9b67bd47008551070c45438",class:"container mx-auto px-4 py-8"},t.h("eds-table",{key:"5f60e2a9e4b6bb3b16981c4be01269cd3d985086","table-data":JSON.stringify(r),config:JSON.stringify(s),"rows-per-page":"2","pagination-enabled":"true","search-enabled":"true","column-size":"default"}))}};exports.eds_trl=i;
|
|
@@ -1,34 +0,0 @@
|
|
|
1
|
-
import { r as i, h as e } from "./index-CMP6-ecb.mjs";
|
|
2
|
-
const c = class {
|
|
3
|
-
constructor(t) {
|
|
4
|
-
i(this, t), this.applications = void 0;
|
|
5
|
-
}
|
|
6
|
-
getParsedApplications() {
|
|
7
|
-
let t = [];
|
|
8
|
-
if (typeof this.applications == "string")
|
|
9
|
-
try {
|
|
10
|
-
t = JSON.parse(this.applications || "[]");
|
|
11
|
-
} catch (a) {
|
|
12
|
-
console.error("Invalid applications trl JSON", a), t = [];
|
|
13
|
-
}
|
|
14
|
-
else Array.isArray(this.applications) && (t = this.applications);
|
|
15
|
-
return t;
|
|
16
|
-
}
|
|
17
|
-
calculateProgress(t) {
|
|
18
|
-
return Math.ceil(t / 9 * 100);
|
|
19
|
-
}
|
|
20
|
-
render() {
|
|
21
|
-
const a = this.getParsedApplications().map((r) => ({
|
|
22
|
-
Application: r.name,
|
|
23
|
-
"Current TRL Stage": `TRL ${r.currentTrl}`,
|
|
24
|
-
Progress: e("div", { class: "w-[200px]" }, e("eds-progress-bar", { value: this.calculateProgress(r.currentTrl) }))
|
|
25
|
-
})), s = {
|
|
26
|
-
Application: { format: "code" },
|
|
27
|
-
"Current TRL Stage": { format: "text" }
|
|
28
|
-
};
|
|
29
|
-
return e("div", { key: "00a54a2865be6f24f9b67bd47008551070c45438", class: "container mx-auto px-4 py-8" }, e("eds-table", { key: "5f60e2a9e4b6bb3b16981c4be01269cd3d985086", "table-data": JSON.stringify(a), config: JSON.stringify(s), "rows-per-page": "2", "pagination-enabled": "true", "search-enabled": "true", "column-size": "default" }));
|
|
30
|
-
}
|
|
31
|
-
};
|
|
32
|
-
export {
|
|
33
|
-
c as eds_trl
|
|
34
|
-
};
|
package/eu-9ddde93a-BFtIQw9B.js
DELETED
|
@@ -1,28 +0,0 @@
|
|
|
1
|
-
"use strict";const e=`<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" id="flag-icons-eu" viewBox="0 0 640 480">
|
|
2
|
-
<defs>
|
|
3
|
-
<g id="d">
|
|
4
|
-
<g id="b">
|
|
5
|
-
<path id="a" d="m0-1-.3 1 .5.1z"/>
|
|
6
|
-
<use xlink:href="#a" transform="scale(-1 1)"/>
|
|
7
|
-
</g>
|
|
8
|
-
<g id="c">
|
|
9
|
-
<use xlink:href="#b" transform="rotate(72)"/>
|
|
10
|
-
<use xlink:href="#b" transform="rotate(144)"/>
|
|
11
|
-
</g>
|
|
12
|
-
<use xlink:href="#c" transform="scale(-1 1)"/>
|
|
13
|
-
</g>
|
|
14
|
-
</defs>
|
|
15
|
-
<path fill="#039" d="M0 0h640v480H0z"/>
|
|
16
|
-
<g fill="#fc0" transform="translate(320 242.3) scale(23.7037)">
|
|
17
|
-
<use xlink:href="#d" width="100%" height="100%" y="-6"/>
|
|
18
|
-
<use xlink:href="#d" width="100%" height="100%" y="6"/>
|
|
19
|
-
<g id="e">
|
|
20
|
-
<use xlink:href="#d" width="100%" height="100%" x="-6"/>
|
|
21
|
-
<use xlink:href="#d" width="100%" height="100%" transform="rotate(-144 -2.3 -2.1)"/>
|
|
22
|
-
<use xlink:href="#d" width="100%" height="100%" transform="rotate(144 -2.1 -2.3)"/>
|
|
23
|
-
<use xlink:href="#d" width="100%" height="100%" transform="rotate(72 -4.7 -2)"/>
|
|
24
|
-
<use xlink:href="#d" width="100%" height="100%" transform="rotate(72 -5 .5)"/>
|
|
25
|
-
</g>
|
|
26
|
-
<use xlink:href="#e" width="100%" height="100%" transform="scale(-1 1)"/>
|
|
27
|
-
</g>
|
|
28
|
-
</svg>`;exports.euSvg=e;
|
package/eu-9ddde93a-ft4szvR5.mjs
DELETED
|
@@ -1,31 +0,0 @@
|
|
|
1
|
-
const e = `<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" id="flag-icons-eu" viewBox="0 0 640 480">
|
|
2
|
-
<defs>
|
|
3
|
-
<g id="d">
|
|
4
|
-
<g id="b">
|
|
5
|
-
<path id="a" d="m0-1-.3 1 .5.1z"/>
|
|
6
|
-
<use xlink:href="#a" transform="scale(-1 1)"/>
|
|
7
|
-
</g>
|
|
8
|
-
<g id="c">
|
|
9
|
-
<use xlink:href="#b" transform="rotate(72)"/>
|
|
10
|
-
<use xlink:href="#b" transform="rotate(144)"/>
|
|
11
|
-
</g>
|
|
12
|
-
<use xlink:href="#c" transform="scale(-1 1)"/>
|
|
13
|
-
</g>
|
|
14
|
-
</defs>
|
|
15
|
-
<path fill="#039" d="M0 0h640v480H0z"/>
|
|
16
|
-
<g fill="#fc0" transform="translate(320 242.3) scale(23.7037)">
|
|
17
|
-
<use xlink:href="#d" width="100%" height="100%" y="-6"/>
|
|
18
|
-
<use xlink:href="#d" width="100%" height="100%" y="6"/>
|
|
19
|
-
<g id="e">
|
|
20
|
-
<use xlink:href="#d" width="100%" height="100%" x="-6"/>
|
|
21
|
-
<use xlink:href="#d" width="100%" height="100%" transform="rotate(-144 -2.3 -2.1)"/>
|
|
22
|
-
<use xlink:href="#d" width="100%" height="100%" transform="rotate(144 -2.1 -2.3)"/>
|
|
23
|
-
<use xlink:href="#d" width="100%" height="100%" transform="rotate(72 -4.7 -2)"/>
|
|
24
|
-
<use xlink:href="#d" width="100%" height="100%" transform="rotate(72 -5 .5)"/>
|
|
25
|
-
</g>
|
|
26
|
-
<use xlink:href="#e" width="100%" height="100%" transform="scale(-1 1)"/>
|
|
27
|
-
</g>
|
|
28
|
-
</svg>`;
|
|
29
|
-
export {
|
|
30
|
-
e
|
|
31
|
-
};
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
const o = ` <svg
|
|
2
|
-
width="20"
|
|
3
|
-
height="20"
|
|
4
|
-
viewBox="0 0 20 20"
|
|
5
|
-
fill="none"
|
|
6
|
-
xmlns="http://www.w3.org/2000/svg"
|
|
7
|
-
>
|
|
8
|
-
<path
|
|
9
|
-
d="M10.9481 19.9556C16.0263 19.4781 20 15.2031 20 10C20 4.47715 15.5228 0 10 0C4.47715 0 0 4.47715 0 10C0 14.7129 3.26027 18.6643 7.64847 19.722V12.0931H6V9.36828H7.64847V7.73228C7.64847 5.50935 8.5793 4.1875 11.2239 4.1875H13.4256V6.91266H12.0494C11.0199 6.91266 10.9518 7.29347 10.9518 8.00415L10.9481 9.36797H13.4412L13.1494 12.0928H10.9481V19.9556Z"
|
|
10
|
-
fill="currentColor"
|
|
11
|
-
/>
|
|
12
|
-
</svg>`;
|
|
13
|
-
export {
|
|
14
|
-
o as f
|
|
15
|
-
};
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
"use strict";const o=` <svg
|
|
2
|
-
width="20"
|
|
3
|
-
height="20"
|
|
4
|
-
viewBox="0 0 20 20"
|
|
5
|
-
fill="none"
|
|
6
|
-
xmlns="http://www.w3.org/2000/svg"
|
|
7
|
-
>
|
|
8
|
-
<path
|
|
9
|
-
d="M10.9481 19.9556C16.0263 19.4781 20 15.2031 20 10C20 4.47715 15.5228 0 10 0C4.47715 0 0 4.47715 0 10C0 14.7129 3.26027 18.6643 7.64847 19.722V12.0931H6V9.36828H7.64847V7.73228C7.64847 5.50935 8.5793 4.1875 11.2239 4.1875H13.4256V6.91266H12.0494C11.0199 6.91266 10.9518 7.29347 10.9518 8.00415L10.9481 9.36797H13.4412L13.1494 12.0928H10.9481V19.9556Z"
|
|
10
|
-
fill="currentColor"
|
|
11
|
-
/>
|
|
12
|
-
</svg>`;exports.facebook=o;
|
|
@@ -1,40 +0,0 @@
|
|
|
1
|
-
import { JSX } from '../../../../dist/packages/components';
|
|
2
|
-
export declare const EdsAccordion: import('vue').DefineSetupFnComponent<JSX.EdsAccordion & import('./vue-component-lib/utils').InputProps<string | number | boolean>, {}, {}, JSX.EdsAccordion & import('./vue-component-lib/utils').InputProps<string | number | boolean> & {}, import('vue').PublicProps>;
|
|
3
|
-
export declare const EdsAlert: import('vue').DefineSetupFnComponent<JSX.EdsAlert & import('./vue-component-lib/utils').InputProps<string | number | boolean>, {}, {}, JSX.EdsAlert & import('./vue-component-lib/utils').InputProps<string | number | boolean> & {}, import('vue').PublicProps>;
|
|
4
|
-
export declare const EdsAvatar: import('vue').DefineSetupFnComponent<JSX.EdsAvatar & import('./vue-component-lib/utils').InputProps<string | number | boolean>, {}, {}, JSX.EdsAvatar & import('./vue-component-lib/utils').InputProps<string | number | boolean> & {}, import('vue').PublicProps>;
|
|
5
|
-
export declare const EdsBlockBreak: import('vue').DefineSetupFnComponent<JSX.EdsBlockBreak & import('./vue-component-lib/utils').InputProps<string | number | boolean>, {}, {}, JSX.EdsBlockBreak & import('./vue-component-lib/utils').InputProps<string | number | boolean> & {}, import('vue').PublicProps>;
|
|
6
|
-
export declare const EdsBreadcrumb: import('vue').DefineSetupFnComponent<JSX.EdsBreadcrumb & import('./vue-component-lib/utils').InputProps<string | number | boolean>, {}, {}, JSX.EdsBreadcrumb & import('./vue-component-lib/utils').InputProps<string | number | boolean> & {}, import('vue').PublicProps>;
|
|
7
|
-
export declare const EdsButton: import('vue').DefineSetupFnComponent<JSX.EdsButton & import('./vue-component-lib/utils').InputProps<string | number | boolean>, {}, {}, JSX.EdsButton & import('./vue-component-lib/utils').InputProps<string | number | boolean> & {}, import('vue').PublicProps>;
|
|
8
|
-
export declare const EdsCardGeneric: import('vue').DefineSetupFnComponent<JSX.EdsCardGeneric & import('./vue-component-lib/utils').InputProps<string | number | boolean>, {}, {}, JSX.EdsCardGeneric & import('./vue-component-lib/utils').InputProps<string | number | boolean> & {}, import('vue').PublicProps>;
|
|
9
|
-
export declare const EdsCardSection: import('vue').DefineSetupFnComponent<JSX.EdsCardSection & import('./vue-component-lib/utils').InputProps<string | number | boolean>, {}, {}, JSX.EdsCardSection & import('./vue-component-lib/utils').InputProps<string | number | boolean> & {}, import('vue').PublicProps>;
|
|
10
|
-
export declare const EdsCodeBlock: import('vue').DefineSetupFnComponent<JSX.EdsCodeBlock & import('./vue-component-lib/utils').InputProps<string | number | boolean>, {}, {}, JSX.EdsCodeBlock & import('./vue-component-lib/utils').InputProps<string | number | boolean> & {}, import('vue').PublicProps>;
|
|
11
|
-
export declare const EdsDropdown: import('vue').DefineSetupFnComponent<JSX.EdsDropdown & import('./vue-component-lib/utils').InputProps<string | number | boolean>, {}, {}, JSX.EdsDropdown & import('./vue-component-lib/utils').InputProps<string | number | boolean> & {}, import('vue').PublicProps>;
|
|
12
|
-
export declare const EdsFeedback: import('vue').DefineSetupFnComponent<JSX.EdsFeedback & import('./vue-component-lib/utils').InputProps<string | number | boolean>, {}, {}, JSX.EdsFeedback & import('./vue-component-lib/utils').InputProps<string | number | boolean> & {}, import('vue').PublicProps>;
|
|
13
|
-
export declare const EdsFooter: import('vue').DefineSetupFnComponent<JSX.EdsFooter & import('./vue-component-lib/utils').InputProps<string | number | boolean>, {}, {}, JSX.EdsFooter & import('./vue-component-lib/utils').InputProps<string | number | boolean> & {}, import('vue').PublicProps>;
|
|
14
|
-
export declare const EdsForm: import('vue').DefineSetupFnComponent<JSX.EdsForm & import('./vue-component-lib/utils').InputProps<string | number | boolean>, {}, {}, JSX.EdsForm & import('./vue-component-lib/utils').InputProps<string | number | boolean> & {}, import('vue').PublicProps>;
|
|
15
|
-
export declare const EdsFullscreenMenu: import('vue').DefineSetupFnComponent<JSX.EdsFullscreenMenu & import('./vue-component-lib/utils').InputProps<string | number | boolean>, {}, {}, JSX.EdsFullscreenMenu & import('./vue-component-lib/utils').InputProps<string | number | boolean> & {}, import('vue').PublicProps>;
|
|
16
|
-
export declare const EdsHeader: import('vue').DefineSetupFnComponent<JSX.EdsHeader & import('./vue-component-lib/utils').InputProps<string | number | boolean>, {}, {}, JSX.EdsHeader & import('./vue-component-lib/utils').InputProps<string | number | boolean> & {}, import('vue').PublicProps>;
|
|
17
|
-
export declare const EdsIconWrapper: import('vue').DefineSetupFnComponent<JSX.EdsIconWrapper & import('./vue-component-lib/utils').InputProps<string | number | boolean>, {}, {}, JSX.EdsIconWrapper & import('./vue-component-lib/utils').InputProps<string | number | boolean> & {}, import('vue').PublicProps>;
|
|
18
|
-
export declare const EdsImg: import('vue').DefineSetupFnComponent<JSX.EdsImg & import('./vue-component-lib/utils').InputProps<string | number | boolean>, {}, {}, JSX.EdsImg & import('./vue-component-lib/utils').InputProps<string | number | boolean> & {}, import('vue').PublicProps>;
|
|
19
|
-
export declare const EdsInputField: import('vue').DefineSetupFnComponent<JSX.EdsInputField & import('./vue-component-lib/utils').InputProps<string | number | boolean>, {}, {}, JSX.EdsInputField & import('./vue-component-lib/utils').InputProps<string | number | boolean> & {}, import('vue').PublicProps>;
|
|
20
|
-
export declare const EdsLink: import('vue').DefineSetupFnComponent<JSX.EdsLink & import('./vue-component-lib/utils').InputProps<string | number | boolean>, {}, {}, JSX.EdsLink & import('./vue-component-lib/utils').InputProps<string | number | boolean> & {}, import('vue').PublicProps>;
|
|
21
|
-
export declare const EdsLogo: import('vue').DefineSetupFnComponent<JSX.EdsLogo & import('./vue-component-lib/utils').InputProps<string | number | boolean>, {}, {}, JSX.EdsLogo & import('./vue-component-lib/utils').InputProps<string | number | boolean> & {}, import('vue').PublicProps>;
|
|
22
|
-
export declare const EdsMatomoNotice: import('vue').DefineSetupFnComponent<JSX.EdsMatomoNotice & import('./vue-component-lib/utils').InputProps<string | number | boolean>, {}, {}, JSX.EdsMatomoNotice & import('./vue-component-lib/utils').InputProps<string | number | boolean> & {}, import('vue').PublicProps>;
|
|
23
|
-
export declare const EdsModal: import('vue').DefineSetupFnComponent<JSX.EdsModal & import('./vue-component-lib/utils').InputProps<string | number | boolean>, {}, {}, JSX.EdsModal & import('./vue-component-lib/utils').InputProps<string | number | boolean> & {}, import('vue').PublicProps>;
|
|
24
|
-
export declare const EdsPagination: import('vue').DefineSetupFnComponent<JSX.EdsPagination & import('./vue-component-lib/utils').InputProps<string | number | boolean>, {}, {}, JSX.EdsPagination & import('./vue-component-lib/utils').InputProps<string | number | boolean> & {}, import('vue').PublicProps>;
|
|
25
|
-
export declare const EdsProgressBar: import('vue').DefineSetupFnComponent<JSX.EdsProgressBar & import('./vue-component-lib/utils').InputProps<string | number | boolean>, {}, {}, JSX.EdsProgressBar & import('./vue-component-lib/utils').InputProps<string | number | boolean> & {}, import('vue').PublicProps>;
|
|
26
|
-
export declare const EdsRating: import('vue').DefineSetupFnComponent<JSX.EdsRating & import('./vue-component-lib/utils').InputProps<string | number | boolean>, {}, {}, JSX.EdsRating & import('./vue-component-lib/utils').InputProps<string | number | boolean> & {}, import('vue').PublicProps>;
|
|
27
|
-
export declare const EdsSectionCore: import('vue').DefineSetupFnComponent<JSX.EdsSectionCore & import('./vue-component-lib/utils').InputProps<string | number | boolean>, {}, {}, JSX.EdsSectionCore & import('./vue-component-lib/utils').InputProps<string | number | boolean> & {}, import('vue').PublicProps>;
|
|
28
|
-
export declare const EdsSocialNetworks: import('vue').DefineSetupFnComponent<JSX.EdsSocialNetworks & import('./vue-component-lib/utils').InputProps<string | number | boolean>, {}, {}, JSX.EdsSocialNetworks & import('./vue-component-lib/utils').InputProps<string | number | boolean> & {}, import('vue').PublicProps>;
|
|
29
|
-
export declare const EdsSpinner: import('vue').DefineSetupFnComponent<JSX.EdsSpinner & import('./vue-component-lib/utils').InputProps<string | number | boolean>, {}, {}, JSX.EdsSpinner & import('./vue-component-lib/utils').InputProps<string | number | boolean> & {}, import('vue').PublicProps>;
|
|
30
|
-
export declare const EdsSplashScreen: import('vue').DefineSetupFnComponent<JSX.EdsSplashScreen & import('./vue-component-lib/utils').InputProps<string | number | boolean>, {}, {}, JSX.EdsSplashScreen & import('./vue-component-lib/utils').InputProps<string | number | boolean> & {}, import('vue').PublicProps>;
|
|
31
|
-
export declare const EdsSteps: import('vue').DefineSetupFnComponent<JSX.EdsSteps & import('./vue-component-lib/utils').InputProps<string | number | boolean>, {}, {}, JSX.EdsSteps & import('./vue-component-lib/utils').InputProps<string | number | boolean> & {}, import('vue').PublicProps>;
|
|
32
|
-
export declare const EdsStepsV2: import('vue').DefineSetupFnComponent<JSX.EdsStepsV2 & import('./vue-component-lib/utils').InputProps<string | number | boolean>, {}, {}, JSX.EdsStepsV2 & import('./vue-component-lib/utils').InputProps<string | number | boolean> & {}, import('vue').PublicProps>;
|
|
33
|
-
export declare const EdsSwitch: import('vue').DefineSetupFnComponent<JSX.EdsSwitch & import('./vue-component-lib/utils').InputProps<string | number | boolean>, {}, {}, JSX.EdsSwitch & import('./vue-component-lib/utils').InputProps<string | number | boolean> & {}, import('vue').PublicProps>;
|
|
34
|
-
export declare const EdsTable: import('vue').DefineSetupFnComponent<JSX.EdsTable & import('./vue-component-lib/utils').InputProps<string | number | boolean>, {}, {}, JSX.EdsTable & import('./vue-component-lib/utils').InputProps<string | number | boolean> & {}, import('vue').PublicProps>;
|
|
35
|
-
export declare const EdsTabs: import('vue').DefineSetupFnComponent<JSX.EdsTabs & import('./vue-component-lib/utils').InputProps<string | number | boolean>, {}, {}, JSX.EdsTabs & import('./vue-component-lib/utils').InputProps<string | number | boolean> & {}, import('vue').PublicProps>;
|
|
36
|
-
export declare const EdsTag: import('vue').DefineSetupFnComponent<JSX.EdsTag & import('./vue-component-lib/utils').InputProps<string | number | boolean>, {}, {}, JSX.EdsTag & import('./vue-component-lib/utils').InputProps<string | number | boolean> & {}, import('vue').PublicProps>;
|
|
37
|
-
export declare const EdsTimeline: import('vue').DefineSetupFnComponent<JSX.EdsTimeline & import('./vue-component-lib/utils').InputProps<string | number | boolean>, {}, {}, JSX.EdsTimeline & import('./vue-component-lib/utils').InputProps<string | number | boolean> & {}, import('vue').PublicProps>;
|
|
38
|
-
export declare const EdsToast: import('vue').DefineSetupFnComponent<JSX.EdsToast & import('./vue-component-lib/utils').InputProps<string | number | boolean>, {}, {}, JSX.EdsToast & import('./vue-component-lib/utils').InputProps<string | number | boolean> & {}, import('vue').PublicProps>;
|
|
39
|
-
export declare const EdsTooltip: import('vue').DefineSetupFnComponent<JSX.EdsTooltip & import('./vue-component-lib/utils').InputProps<string | number | boolean>, {}, {}, JSX.EdsTooltip & import('./vue-component-lib/utils').InputProps<string | number | boolean> & {}, import('vue').PublicProps>;
|
|
40
|
-
export declare const EdsUser: import('vue').DefineSetupFnComponent<JSX.EdsUser & import('./vue-component-lib/utils').InputProps<string | number | boolean>, {}, {}, JSX.EdsUser & import('./vue-component-lib/utils').InputProps<string | number | boolean> & {}, import('vue').PublicProps>;
|
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
export interface InputProps<T> {
|
|
2
|
-
modelValue?: T;
|
|
3
|
-
}
|
|
4
|
-
/**
|
|
5
|
-
* Create a callback to define a Vue component wrapper around a Web Component.
|
|
6
|
-
*
|
|
7
|
-
* @prop name - The component tag name (i.e. `ion-button`)
|
|
8
|
-
* @prop componentProps - An array of properties on the
|
|
9
|
-
* component. These usually match up with the @Prop definitions
|
|
10
|
-
* in each component's TSX file.
|
|
11
|
-
* @prop customElement - An option custom element instance to pass
|
|
12
|
-
* to customElements.define. Only set if `includeImportCustomElements: true` in your config.
|
|
13
|
-
* @prop modelProp - The prop that v-model binds to (i.e. value)
|
|
14
|
-
* @prop modelUpdateEvent - The event that is fired from your Web Component when the value changes (i.e. ionChange)
|
|
15
|
-
*/
|
|
16
|
-
export declare const defineContainer: <Props, VModelType = string | number | boolean>(name: string, defineCustomElement: any, componentProps?: string[], modelProp?: string, modelUpdateEvent?: string) => import('vue').DefineSetupFnComponent<Props & InputProps<VModelType>, {}, {}, Props & InputProps<VModelType> & {}, import('vue').PublicProps>;
|
|
@@ -1,42 +0,0 @@
|
|
|
1
|
-
import { r as c, h as e } from "./index-CMP6-ecb.mjs";
|
|
2
|
-
const o = [
|
|
3
|
-
{
|
|
4
|
-
background: "#9CE142"
|
|
5
|
-
},
|
|
6
|
-
{
|
|
7
|
-
background: "#00C959"
|
|
8
|
-
},
|
|
9
|
-
{
|
|
10
|
-
background: "#00A595"
|
|
11
|
-
}
|
|
12
|
-
], s = [
|
|
13
|
-
{
|
|
14
|
-
background: "#C461FF"
|
|
15
|
-
},
|
|
16
|
-
{
|
|
17
|
-
background: "#5D3DF9"
|
|
18
|
-
}
|
|
19
|
-
], r = [
|
|
20
|
-
{
|
|
21
|
-
background: "#FFA543"
|
|
22
|
-
},
|
|
23
|
-
{
|
|
24
|
-
background: "#FF4D68"
|
|
25
|
-
}
|
|
26
|
-
], d = [
|
|
27
|
-
{
|
|
28
|
-
background: "#3FA9F5"
|
|
29
|
-
},
|
|
30
|
-
...s,
|
|
31
|
-
...r
|
|
32
|
-
], n = class {
|
|
33
|
-
constructor(a) {
|
|
34
|
-
c(this, a);
|
|
35
|
-
}
|
|
36
|
-
render() {
|
|
37
|
-
return e("div", { key: "80253e3c155668ddc9ff17644feba21c6bbda657", class: "container" }, e("eds-alert", { key: "6ebf1dbef8a8f24dd55b113225780d3763f240df", message: "Note that, each of the four colour tones cannot be mixed in the same composition.", intent: "error" }), e("div", { key: "749dff3be5134a9f314b285c11610eea9a4f4600", class: "flex" }, e("div", { key: "d46d147fb0b9fab7a7965015892de54f34d69e11", class: "w-full" }, e("ul", { key: "acb6ad9453e4e1324255a021bf42e52af29eae4f", class: "not-prose gap-y-8 md:gap-y-12 lg:gap-y-16" }, o.map((a) => e("li", { class: "grid-col-span-12 md:grid-col-span-6 flex flex-col" }, e("div", { class: "w-full min-h-[150px] effect-height flex items-center justify-between p-16", style: { backgroundColor: a.background } }))))), e("div", { key: "42dc313b4347957c970f072167173ab564a8d4c0", class: "w-full" }, e("ul", { key: "89328173141957bedfe051dbba174eaa0ff903d2", class: "not-prose gap-y-8 md:gap-y-12 lg:gap-y-16" }, d.map((a) => e("li", { class: "grid-col-span-12 md:grid-col-span-6 flex flex-col" }, e("div", { class: "w-full min-h-[90px] effect-height flex items-center justify-between p-16", style: { backgroundColor: a.background } })))))));
|
|
38
|
-
}
|
|
39
|
-
};
|
|
40
|
-
export {
|
|
41
|
-
n as incorrect_use_of_colors
|
|
42
|
-
};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./index-RvcWEz0j.js"),c=[{background:"#9CE142"},{background:"#00C959"},{background:"#00A595"}],o=[{background:"#C461FF"},{background:"#5D3DF9"}],s=[{background:"#FFA543"},{background:"#FF4D68"}],r=[{background:"#3FA9F5"},...o,...s],d=class{constructor(a){e.registerInstance(this,a)}render(){return e.h("div",{key:"80253e3c155668ddc9ff17644feba21c6bbda657",class:"container"},e.h("eds-alert",{key:"6ebf1dbef8a8f24dd55b113225780d3763f240df",message:"Note that, each of the four colour tones cannot be mixed in the same composition.",intent:"error"}),e.h("div",{key:"749dff3be5134a9f314b285c11610eea9a4f4600",class:"flex"},e.h("div",{key:"d46d147fb0b9fab7a7965015892de54f34d69e11",class:"w-full"},e.h("ul",{key:"acb6ad9453e4e1324255a021bf42e52af29eae4f",class:"not-prose gap-y-8 md:gap-y-12 lg:gap-y-16"},c.map(a=>e.h("li",{class:"grid-col-span-12 md:grid-col-span-6 flex flex-col"},e.h("div",{class:"w-full min-h-[150px] effect-height flex items-center justify-between p-16",style:{backgroundColor:a.background}}))))),e.h("div",{key:"42dc313b4347957c970f072167173ab564a8d4c0",class:"w-full"},e.h("ul",{key:"89328173141957bedfe051dbba174eaa0ff903d2",class:"not-prose gap-y-8 md:gap-y-12 lg:gap-y-16"},r.map(a=>e.h("li",{class:"grid-col-span-12 md:grid-col-span-6 flex flex-col"},e.h("div",{class:"w-full min-h-[90px] effect-height flex items-center justify-between p-16",style:{backgroundColor:a.background}})))))))}};exports.incorrect_use_of_colors=d;
|
|
@@ -1,44 +0,0 @@
|
|
|
1
|
-
function m(n) {
|
|
2
|
-
var e, t, l = "";
|
|
3
|
-
if (typeof n == "string" || typeof n == "number") l += n;
|
|
4
|
-
else if (typeof n == "object") if (Array.isArray(n)) for (e = 0; e < n.length; e++) n[e] && (t = m(n[e])) && (l && (l += " "), l += t);
|
|
5
|
-
else for (e in n) n[e] && (l && (l += " "), l += e);
|
|
6
|
-
return l;
|
|
7
|
-
}
|
|
8
|
-
function j() {
|
|
9
|
-
for (var n, e, t = 0, l = ""; t < arguments.length; ) (n = arguments[t++]) && (e = m(n)) && (l && (l += " "), l += e);
|
|
10
|
-
return l;
|
|
11
|
-
}
|
|
12
|
-
const f = (n) => typeof n == "boolean" ? "".concat(n) : n === 0 ? "0" : n, y = j, A = (n, e) => (t) => {
|
|
13
|
-
var l;
|
|
14
|
-
if ((e == null ? void 0 : e.variants) == null) return y(n, t == null ? void 0 : t.class, t == null ? void 0 : t.className);
|
|
15
|
-
const { variants: d, defaultVariants: u } = e, N = Object.keys(d).map((a) => {
|
|
16
|
-
const r = t == null ? void 0 : t[a], s = u == null ? void 0 : u[a];
|
|
17
|
-
if (r === null) return null;
|
|
18
|
-
const i = f(r) || f(s);
|
|
19
|
-
return d[a][i];
|
|
20
|
-
}), v = t && Object.entries(t).reduce((a, r) => {
|
|
21
|
-
let [s, i] = r;
|
|
22
|
-
return i === void 0 || (a[s] = i), a;
|
|
23
|
-
}, {}), V = e == null || (l = e.compoundVariants) === null || l === void 0 ? void 0 : l.reduce((a, r) => {
|
|
24
|
-
let { class: s, className: i, ...b } = r;
|
|
25
|
-
return Object.entries(b).every((C) => {
|
|
26
|
-
let [c, o] = C;
|
|
27
|
-
return Array.isArray(o) ? o.includes({
|
|
28
|
-
...u,
|
|
29
|
-
...v
|
|
30
|
-
}[c]) : {
|
|
31
|
-
...u,
|
|
32
|
-
...v
|
|
33
|
-
}[c] === o;
|
|
34
|
-
}) ? [
|
|
35
|
-
...a,
|
|
36
|
-
s,
|
|
37
|
-
i
|
|
38
|
-
] : a;
|
|
39
|
-
}, []);
|
|
40
|
-
return y(n, N, V, t == null ? void 0 : t.class, t == null ? void 0 : t.className);
|
|
41
|
-
};
|
|
42
|
-
export {
|
|
43
|
-
A as c
|
|
44
|
-
};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";function m(n){var e,t,l="";if(typeof n=="string"||typeof n=="number")l+=n;else if(typeof n=="object")if(Array.isArray(n))for(e=0;e<n.length;e++)n[e]&&(t=m(n[e]))&&(l&&(l+=" "),l+=t);else for(e in n)n[e]&&(l&&(l+=" "),l+=e);return l}function j(){for(var n,e,t=0,l="";t<arguments.length;)(n=arguments[t++])&&(e=m(n))&&(l&&(l+=" "),l+=e);return l}const f=n=>typeof n=="boolean"?"".concat(n):n===0?"0":n,y=j,A=(n,e)=>t=>{var l;if((e==null?void 0:e.variants)==null)return y(n,t==null?void 0:t.class,t==null?void 0:t.className);const{variants:d,defaultVariants:u}=e,N=Object.keys(d).map(a=>{const r=t==null?void 0:t[a],s=u==null?void 0:u[a];if(r===null)return null;const i=f(r)||f(s);return d[a][i]}),v=t&&Object.entries(t).reduce((a,r)=>{let[s,i]=r;return i===void 0||(a[s]=i),a},{}),V=e==null||(l=e.compoundVariants)===null||l===void 0?void 0:l.reduce((a,r)=>{let{class:s,className:i,...b}=r;return Object.entries(b).every(C=>{let[c,o]=C;return Array.isArray(o)?o.includes({...u,...v}[c]):{...u,...v}[c]===o})?[...a,s,i]:a},[]);return y(n,N,V,t==null?void 0:t.class,t==null?void 0:t.className)};exports.cva=A;
|