@xwiki/cristal-electron-renderer 0.8.0 → 0.9.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/CHANGELOG.md +18 -0
- package/dist/chunk.2FB5TK5H-DmNP_ew6.js +2 -0
- package/dist/chunk.2FB5TK5H-DmNP_ew6.js.map +1 -0
- package/dist/{chunk.2Y62WHSU-C8i5cHiy.js → chunk.2Y62WHSU-CtjxXyaN.js} +2 -2
- package/dist/chunk.2Y62WHSU-CtjxXyaN.js.map +1 -0
- package/dist/{chunk.6DH62NIS-CVBVc-bX.js → chunk.6DH62NIS-Dm8zuX7H.js} +2 -2
- package/dist/chunk.6DH62NIS-Dm8zuX7H.js.map +1 -0
- package/dist/chunk.CFNN54QE-CwH9z8le.js +22 -0
- package/dist/chunk.CFNN54QE-CwH9z8le.js.map +1 -0
- package/dist/chunk.DBG7W4GS-C1gixj8b.js +75 -0
- package/dist/chunk.DBG7W4GS-C1gixj8b.js.map +1 -0
- package/dist/chunk.F5JVBNK3-BFrgaGDl.js +2 -0
- package/dist/chunk.F5JVBNK3-BFrgaGDl.js.map +1 -0
- package/dist/{chunk.XX4STEEY-COEpspdZ.js → chunk.FX2KPKHF-DRH3dcmv.js} +9 -9
- package/dist/chunk.FX2KPKHF-DRH3dcmv.js.map +1 -0
- package/dist/{chunk.GAND2OKP-lICOl7JF.js → chunk.GAND2OKP-ByJceoyz.js} +3 -3
- package/dist/chunk.GAND2OKP-ByJceoyz.js.map +1 -0
- package/dist/chunk.GQSSKPMO-XeEX4TdL.js +273 -0
- package/dist/chunk.GQSSKPMO-XeEX4TdL.js.map +1 -0
- package/dist/{chunk.I6OQK3N3-BBclK2fM.js → chunk.I6OQK3N3-XuvDDN4C.js} +7 -7
- package/dist/chunk.I6OQK3N3-XuvDDN4C.js.map +1 -0
- package/dist/chunk.KWPBDQ6I-Bf3dc1GJ.js.map +1 -1
- package/dist/chunk.LHI6QEL2-DjjW-g1e.js +2 -0
- package/dist/chunk.LHI6QEL2-DjjW-g1e.js.map +1 -0
- package/dist/chunk.MGEAXYVX-o-WC3ZVc.js.map +1 -1
- package/dist/chunk.NYIIDP5N-AHr3eTN0.js.map +1 -1
- package/dist/chunk.TUZSOS6C-DxyWSdpL.js.map +1 -1
- package/dist/chunk.WJBFYL4X-Cbeo_gEa.js.map +1 -1
- package/dist/chunk.WYDJ5QAQ-BaRtgVmq.js +163 -0
- package/dist/chunk.WYDJ5QAQ-BaRtgVmq.js.map +1 -0
- package/dist/chunk.XX4STEEY-CnZz31HY.js +2 -0
- package/dist/chunk.XX4STEEY-CnZz31HY.js.map +1 -0
- package/dist/chunk.Z2C7OFLH-DXpTuERC.js +90 -0
- package/dist/chunk.Z2C7OFLH-DXpTuERC.js.map +1 -0
- package/dist/{chunk.Z6CYCANS-DF0ctyRp.js → chunk.Z6CYCANS-3ZX6gaKw.js} +2 -2
- package/dist/chunk.Z6CYCANS-3ZX6gaKw.js.map +1 -0
- package/dist/class-map-C3Xk0adH.js.map +1 -1
- package/dist/if-defined-DAvNwoU5.js.map +1 -1
- package/dist/index-BwWdPCLg.js +109 -0
- package/dist/index-BwWdPCLg.js.map +1 -0
- package/dist/{index-ScDkqPqn.css → index-Cqiv3gUG.css} +2 -25
- package/dist/index.html +2 -2
- package/dist/query-D1pSaKds.js.map +1 -1
- package/dist/static-CdL8EPVS.js.map +1 -1
- package/dist/staticBuild-DaVk8OhA.js +443 -0
- package/dist/staticBuild-DaVk8OhA.js.map +1 -0
- package/dist/staticBuild-ttxynnc3.css +1 -0
- package/dist/translations-LzwkxwEW.js +2 -0
- package/dist/translations-LzwkxwEW.js.map +1 -0
- package/dist/worker-CeXgpy1V.js +27 -0
- package/dist/worker-CeXgpy1V.js.map +1 -0
- package/dist/x-alert-BXrMLl_z.js +2 -0
- package/dist/x-alert-BXrMLl_z.js.map +1 -0
- package/dist/x-alert-BoZBHJTw.js +2 -0
- package/dist/x-alert-BoZBHJTw.js.map +1 -0
- package/dist/x-alert-DMLsu2fN.js +2 -0
- package/dist/x-alert-DMLsu2fN.js.map +1 -0
- package/dist/x-avatar-5PJmmbmb.js +2 -0
- package/dist/x-avatar-5PJmmbmb.js.map +1 -0
- package/dist/x-avatar-DMZRLeU4.css +1 -0
- package/dist/x-avatar-DXrOfuv4.js +2 -0
- package/dist/x-avatar-DXrOfuv4.js.map +1 -0
- package/dist/{x-avatar-rzw6K8Wc.js → x-avatar-bHnylPsU.js} +2 -2
- package/dist/x-avatar-bHnylPsU.js.map +1 -0
- package/dist/x-breadcrumb-ByeHAMZ3.js +2 -0
- package/dist/x-breadcrumb-ByeHAMZ3.js.map +1 -0
- package/dist/x-breadcrumb-UzKzkWEm.js +2 -0
- package/dist/x-breadcrumb-UzKzkWEm.js.map +1 -0
- package/dist/x-btn-BIQ8eFJy.js +2 -0
- package/dist/x-btn-BIQ8eFJy.js.map +1 -0
- package/dist/x-btn-Ek7j5MQJ.js +2 -0
- package/dist/x-btn-Ek7j5MQJ.js.map +1 -0
- package/dist/x-btn-Jy05lUMC.css +1 -0
- package/dist/x-btn-XPAPreXz.js +2 -0
- package/dist/x-btn-XPAPreXz.js.map +1 -0
- package/dist/x-card-CqrrEOda.js +2 -0
- package/dist/x-card-CqrrEOda.js.map +1 -0
- package/dist/x-card-DkMCK51C.js +2 -0
- package/dist/x-card-DkMCK51C.js.map +1 -0
- package/dist/x-card-mVVPCuVs.js +2 -0
- package/dist/x-card-mVVPCuVs.js.map +1 -0
- package/dist/x-col-BKCtabUF.js +2 -0
- package/dist/x-col-BKCtabUF.js.map +1 -0
- package/dist/x-col-CPix5n9C.js +2 -0
- package/dist/x-col-CPix5n9C.js.map +1 -0
- package/dist/x-container-B8usqdAt.js +2 -0
- package/dist/x-container-B8usqdAt.js.map +1 -0
- package/dist/x-container-C3VJF8Cs.js +2 -0
- package/dist/x-container-C3VJF8Cs.js.map +1 -0
- package/dist/x-dialog-DTbBEomU.js +2 -0
- package/dist/x-dialog-DTbBEomU.js.map +1 -0
- package/dist/x-dialog-Dmk1mNNm.js +2 -0
- package/dist/x-dialog-Dmk1mNNm.js.map +1 -0
- package/dist/x-dialog-Y6y28F7b.js +2 -0
- package/dist/x-dialog-Y6y28F7b.js.map +1 -0
- package/dist/x-divider-1De0d0_h.js +2 -0
- package/dist/x-divider-1De0d0_h.js.map +1 -0
- package/dist/x-divider-BOo7N7TG.js +2 -0
- package/dist/x-divider-BOo7N7TG.js.map +1 -0
- package/dist/{x-divider-BCwuNKpo.js → x-divider-DAdnWMFB.js} +2 -2
- package/dist/x-divider-DAdnWMFB.js.map +1 -0
- package/dist/x-file-input-CQcXcoHB.css +1 -0
- package/dist/x-file-input-D5fZFrts.js +2 -0
- package/dist/x-file-input-D5fZFrts.js.map +1 -0
- package/dist/x-file-input-Vq6SbhIt.js +2 -0
- package/dist/x-file-input-Vq6SbhIt.js.map +1 -0
- package/dist/x-form-2etnPUmf.js +2 -0
- package/dist/x-form-2etnPUmf.js.map +1 -0
- package/dist/x-form-6WjFitVZ.js +2 -0
- package/dist/x-form-6WjFitVZ.js.map +1 -0
- package/dist/x-img-C0VJnfz2.js +2 -0
- package/dist/x-img-C0VJnfz2.js.map +1 -0
- package/dist/x-img-CI94figY.js +2 -0
- package/dist/x-img-CI94figY.js.map +1 -0
- package/dist/x-img-ep-9amoQ.js +2 -0
- package/dist/x-img-ep-9amoQ.js.map +1 -0
- package/dist/x-load-5_-B9I0p.js +2 -0
- package/dist/x-load-5_-B9I0p.js.map +1 -0
- package/dist/x-load-BRJNFFsQ.js +2 -0
- package/dist/x-load-BRJNFFsQ.js.map +1 -0
- package/dist/x-load-CXyz5AZH.js +2 -0
- package/dist/x-load-CXyz5AZH.js.map +1 -0
- package/dist/x-load-CwU5Pjl2.css +5 -0
- package/dist/{x-load-DYuGRQQC.css → x-load-DLCnwiCB.css} +1 -1
- package/dist/{x-menu-BKquCdsX.js → x-menu-BPTY2_Pm.js} +164 -543
- package/dist/x-menu-BPTY2_Pm.js.map +1 -0
- package/dist/x-menu-CinyzodZ.js +2 -0
- package/dist/x-menu-CinyzodZ.js.map +1 -0
- package/dist/x-menu-MDCUArVg.js +2 -0
- package/dist/x-menu-MDCUArVg.js.map +1 -0
- package/dist/x-menu-item-DlEPAuVr.js +2 -0
- package/dist/x-menu-item-DlEPAuVr.js.map +1 -0
- package/dist/{x-menuitem-CVO0asxe.js → x-menuitem-C7L7TT_M.js} +2 -2
- package/dist/x-menuitem-C7L7TT_M.js.map +1 -0
- package/dist/x-menuitem-ChQ-MEzP.js +2 -0
- package/dist/x-menuitem-ChQ-MEzP.js.map +1 -0
- package/dist/x-row-BKCtabUF.js +2 -0
- package/dist/x-row-BKCtabUF.js.map +1 -0
- package/dist/x-row-CPix5n9C.js +2 -0
- package/dist/x-row-CPix5n9C.js.map +1 -0
- package/dist/x-search-BwzR-lic.js +2 -0
- package/dist/x-search-BwzR-lic.js.map +1 -0
- package/dist/{x-search-D_rjUBBL.js → x-search-DgB3g9qY.js} +2 -2
- package/dist/x-search-DgB3g9qY.js.map +1 -0
- package/dist/x-tab-D0Vw_ond.js +2 -0
- package/dist/x-tab-D0Vw_ond.js.map +1 -0
- package/dist/x-tab-DbIZPX0N.js +2 -0
- package/dist/x-tab-DbIZPX0N.js.map +1 -0
- package/dist/x-tab-group-C9tgQAMN.js +2 -0
- package/dist/x-tab-group-C9tgQAMN.js.map +1 -0
- package/dist/x-tab-group-D1vbKY6D.js +2 -0
- package/dist/x-tab-group-D1vbKY6D.js.map +1 -0
- package/dist/x-tab-panel--v10F4gh.js +2 -0
- package/dist/x-tab-panel--v10F4gh.js.map +1 -0
- package/dist/x-tab-panel-CbJsU5r0.js +2 -0
- package/dist/x-tab-panel-CbJsU5r0.js.map +1 -0
- package/dist/x-text-field-DcPqej4l.js +2 -0
- package/dist/x-text-field-DcPqej4l.js.map +1 -0
- package/dist/x-text-field-DpPHmzsd.js +2 -0
- package/dist/x-text-field-DpPHmzsd.js.map +1 -0
- package/dist/x-textfield-DM2JTrO7.js +2 -0
- package/dist/x-textfield-DM2JTrO7.js.map +1 -0
- package/dist/x-textfield-lI6PveRP.js +2 -0
- package/dist/x-textfield-lI6PveRP.js.map +1 -0
- package/package.json +13 -10
- package/src/index.ts +12 -9
- package/src/vite-env.d.ts +5 -10
- package/src/vue.d.ts +4 -9
- package/vite.config.js +4 -9
- package/dist/chunk.2Y62WHSU-C8i5cHiy.js.map +0 -1
- package/dist/chunk.6DH62NIS-CVBVc-bX.js.map +0 -1
- package/dist/chunk.GAND2OKP-lICOl7JF.js.map +0 -1
- package/dist/chunk.I6OQK3N3-BBclK2fM.js.map +0 -1
- package/dist/chunk.LHI6QEL2-DbpPiPxS.js +0 -75
- package/dist/chunk.LHI6QEL2-DbpPiPxS.js.map +0 -1
- package/dist/chunk.WYDJ5QAQ-C81Elw3D.js +0 -163
- package/dist/chunk.WYDJ5QAQ-C81Elw3D.js.map +0 -1
- package/dist/chunk.XX4STEEY-COEpspdZ.js.map +0 -1
- package/dist/chunk.Z6CYCANS-DF0ctyRp.js.map +0 -1
- package/dist/index-DK0YwuAW.js +0 -411
- package/dist/index-DK0YwuAW.js.map +0 -1
- package/dist/staticBuild-BlyaXHUF.css +0 -1
- package/dist/staticBuild-BoKVadnu.js +0 -1063
- package/dist/staticBuild-BoKVadnu.js.map +0 -1
- package/dist/worker-CybHddrE.js +0 -211
- package/dist/worker-CybHddrE.js.map +0 -1
- package/dist/x-alert-7r5rx0d7.js +0 -2
- package/dist/x-alert-7r5rx0d7.js.map +0 -1
- package/dist/x-alert-l0oP9PUN.js +0 -2
- package/dist/x-alert-l0oP9PUN.js.map +0 -1
- package/dist/x-alert-uqeGd1IW.js +0 -2
- package/dist/x-alert-uqeGd1IW.js.map +0 -1
- package/dist/x-avatar-BARZZcgr.js +0 -2
- package/dist/x-avatar-BARZZcgr.js.map +0 -1
- package/dist/x-avatar-CfnVd4CE.css +0 -1
- package/dist/x-avatar-DnbaVGNC.js +0 -2
- package/dist/x-avatar-DnbaVGNC.js.map +0 -1
- package/dist/x-avatar-rzw6K8Wc.js.map +0 -1
- package/dist/x-breadcrumb-CzKs24Jh.js +0 -2
- package/dist/x-breadcrumb-CzKs24Jh.js.map +0 -1
- package/dist/x-breadcrumb-VokcqVrB.js +0 -2
- package/dist/x-breadcrumb-VokcqVrB.js.map +0 -1
- package/dist/x-btn-BNO2Vh9q.js +0 -2
- package/dist/x-btn-BNO2Vh9q.js.map +0 -1
- package/dist/x-btn-BeE4ChBm.js +0 -2
- package/dist/x-btn-BeE4ChBm.js.map +0 -1
- package/dist/x-btn-D2HJcK1C.css +0 -1
- package/dist/x-btn-DOkDF37q.js +0 -2
- package/dist/x-btn-DOkDF37q.js.map +0 -1
- package/dist/x-card-BzquGj3n.js +0 -2
- package/dist/x-card-BzquGj3n.js.map +0 -1
- package/dist/x-card-D6loY5Bx.js +0 -2
- package/dist/x-card-D6loY5Bx.js.map +0 -1
- package/dist/x-card-D_W5kTzv.js +0 -2
- package/dist/x-card-D_W5kTzv.js.map +0 -1
- package/dist/x-col-B5OPXPr8.js +0 -2
- package/dist/x-col-B5OPXPr8.js.map +0 -1
- package/dist/x-col-KJDQojCc.js +0 -2
- package/dist/x-col-KJDQojCc.js.map +0 -1
- package/dist/x-container-e-eRQnv6.js +0 -2
- package/dist/x-container-e-eRQnv6.js.map +0 -1
- package/dist/x-container-e4wjA5VY.js +0 -2
- package/dist/x-container-e4wjA5VY.js.map +0 -1
- package/dist/x-dialog-D6r8mi6-.js +0 -2
- package/dist/x-dialog-D6r8mi6-.js.map +0 -1
- package/dist/x-dialog-DYWxApRD.js +0 -2
- package/dist/x-dialog-DYWxApRD.js.map +0 -1
- package/dist/x-dialog-oAn88o9T.js +0 -2
- package/dist/x-dialog-oAn88o9T.js.map +0 -1
- package/dist/x-divider-BCwuNKpo.js.map +0 -1
- package/dist/x-divider-BnEfygqi.js +0 -2
- package/dist/x-divider-BnEfygqi.js.map +0 -1
- package/dist/x-divider-rvXgbWfE.js +0 -2
- package/dist/x-divider-rvXgbWfE.js.map +0 -1
- package/dist/x-img-B2B5glWY.js +0 -2
- package/dist/x-img-B2B5glWY.js.map +0 -1
- package/dist/x-img-Bj_1ZxwL.js +0 -2
- package/dist/x-img-Bj_1ZxwL.js.map +0 -1
- package/dist/x-img-iz7nX54V.js +0 -2
- package/dist/x-img-iz7nX54V.js.map +0 -1
- package/dist/x-load-B-IMf3jW.js +0 -2
- package/dist/x-load-B-IMf3jW.js.map +0 -1
- package/dist/x-load-DKS8UJZy.js +0 -2
- package/dist/x-load-DKS8UJZy.js.map +0 -1
- package/dist/x-load-Diex9fJK.js +0 -2
- package/dist/x-load-Diex9fJK.js.map +0 -1
- package/dist/x-load-DyIF2nXd.css +0 -5
- package/dist/x-menu-BBb2QzOu.js +0 -2
- package/dist/x-menu-BBb2QzOu.js.map +0 -1
- package/dist/x-menu-BKquCdsX.js.map +0 -1
- package/dist/x-menu-Ce37WOnf.js +0 -2
- package/dist/x-menu-Ce37WOnf.js.map +0 -1
- package/dist/x-menu-item-JuTN7QVh.js +0 -2
- package/dist/x-menu-item-JuTN7QVh.js.map +0 -1
- package/dist/x-menuitem-CNKTVGiE.js +0 -2
- package/dist/x-menuitem-CNKTVGiE.js.map +0 -1
- package/dist/x-menuitem-CVO0asxe.js.map +0 -1
- package/dist/x-row-B5OPXPr8.js +0 -2
- package/dist/x-row-B5OPXPr8.js.map +0 -1
- package/dist/x-row-KJDQojCc.js +0 -2
- package/dist/x-row-KJDQojCc.js.map +0 -1
- package/dist/x-search-B0oJfSre.js +0 -2
- package/dist/x-search-B0oJfSre.js.map +0 -1
- package/dist/x-search-D_rjUBBL.js.map +0 -1
- package/dist/x-textfield-CRySrmrj.js +0 -2
- package/dist/x-textfield-CRySrmrj.js.map +0 -1
- package/dist/x-textfield-GtnNDOX1.js +0 -2
- package/dist/x-textfield-GtnNDOX1.js.map +0 -1
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
import"./chunk.2Y62WHSU-CtjxXyaN.js";import"./chunk.DBG7W4GS-C1gixj8b.js";import"./if-defined-DAvNwoU5.js";import"./chunk.I6OQK3N3-XuvDDN4C.js";import"./chunk.TUZSOS6C-DxyWSdpL.js";import{aC as o,a5 as s,a9 as n,ac as p,ad as c,$ as m,a3 as l}from"./index-BwWdPCLg.js";import"./chunk.LHI6QEL2-DjjW-g1e.js";import"./chunk.2FB5TK5H-DmNP_ew6.js";import"./chunk.NYIIDP5N-AHr3eTN0.js";import"./class-map-C3Xk0adH.js";import"./query-D1pSaKds.js";import"./static-CdL8EPVS.js";const u={props:{title:{type:String,required:!0},type:{type:String,required:!0},description:{type:String,required:!0}},data(t){let r;switch(t.type){case"":r="primary";break;case"success":r="success";break;case"warning":r="warning";break;case"error":r="danger";break;case"info":r="primary";break;default:r="primary";break}return{variant:r}}};function d(t,r,e,_,a,f){const i=s("sl-alert");return n(),p(i,{open:"",title:e.title,variant:a.variant},{default:c(()=>[m(l(e.description),1)]),_:1},8,["title","variant"])}const $=o(u,[["render",d]]);export{$ as default};
|
|
2
|
+
//# sourceMappingURL=x-alert-BXrMLl_z.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"x-alert-BXrMLl_z.js","sources":["../../../ds/shoelace/src/vue/x-alert.vue"],"sourcesContent":["<!--\nSee the LICENSE file distributed with this work for additional\ninformation regarding copyright ownership.\n\nThis is free software; you can redistribute it and/or modify it\nunder the terms of the GNU Lesser General Public License as\npublished by the Free Software Foundation; either version 2.1 of\nthe License, or (at your option) any later version.\n\nThis software is distributed in the hope that it will be useful,\nbut WITHOUT ANY WARRANTY; without even the implied warranty of\nMERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU\nLesser General Public License for more details.\n\nYou should have received a copy of the GNU Lesser General Public\nLicense along with this software; if not, write to the Free\nSoftware Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA\n02110-1301 USA, or see the FSF site: http://www.fsf.org.\n-->\n<template>\n <sl-alert open :title=\"title\" :variant=\"variant\">\n {{ description }}\n </sl-alert>\n</template>\n<script lang=\"ts\">\nimport \"@shoelace-style/shoelace/dist/components/alert/alert\";\nimport type { PropType } from \"vue\";\n\ntype Types = \"\" | \"success\" | \"warning\" | \"error\" | \"info\";\nexport default {\n props: {\n title: { type: String, required: true },\n type: {\n type: String as PropType<Types>,\n required: true,\n },\n description: { type: String, required: true },\n },\n data(props: { type: Types }) {\n let variant: string;\n switch (props.type) {\n case \"\":\n variant = \"primary\";\n break;\n case \"success\":\n variant = \"success\";\n break;\n case \"warning\":\n variant = \"warning\";\n break;\n case \"error\":\n variant = \"danger\";\n break;\n case \"info\":\n variant = \"primary\";\n break;\n default:\n variant = \"primary\";\n break;\n }\n return { variant };\n },\n};\n</script>\n"],"names":["_sfc_main","props","variant","_resolveComponent","_openBlock","_createBlock","_component_sl_alert","$props","$data","_createTextVNode","_toDisplayString"],"mappings":"qdA6BA,MAAeA,EAAA,CACb,MAAO,CACL,MAAO,CAAE,KAAM,OAAQ,SAAU,EAAK,EACtC,KAAM,CACJ,KAAM,OACN,SAAU,EACZ,EACA,YAAa,CAAE,KAAM,OAAQ,SAAU,EAAK,CAC9C,EACA,KAAKC,EAAwB,CACvB,IAAAC,EACJ,OAAQD,EAAM,KAAM,CAClB,IAAK,GACOC,EAAA,UACV,MACF,IAAK,UACOA,EAAA,UACV,MACF,IAAK,UACOA,EAAA,UACV,MACF,IAAK,QACOA,EAAA,SACV,MACF,IAAK,OACOA,EAAA,UACV,MACF,QACYA,EAAA,UACV,KACJ,CACA,MAAO,CAAE,QAAAA,CAAQ,CACnB,CACF,kCA1CEC,EAEW,UAAA,EAFU,OAAAC,EAAA,EAAOC,EAAAC,EAAA,CAAG,KAAA,GAAA,MAAAC,EAAA,MApBjC,QAAAC,EAAA,OAAA,EAAA,gBAAAC,EAAAC,EAAAH,EAAA,WAAA,EAAA,CAAA,CAAA,CAAA"}
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
import{aC as a,a5 as o,a9 as n,ac as s,ad as c,af as l}from"./index-BwWdPCLg.js";const p={components:{},props:{title:{type:String,required:!0},type:{type:Object,required:!0}}};function i(e,_,t,d,u,f){const r=o("v-alert");return n(),s(r,{title:t.title,type:t.type},{default:c(()=>[l(e.$slots,"default")]),_:3},8,["title","type"])}const y=a(p,[["render",i]]);export{y as default};
|
|
2
|
+
//# sourceMappingURL=x-alert-BoZBHJTw.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"x-alert-BoZBHJTw.js","sources":["../../../ds/vuetify/src/vue/x-alert.vue"],"sourcesContent":["<!--\nSee the LICENSE file distributed with this work for additional\ninformation regarding copyright ownership.\n\nThis is free software; you can redistribute it and/or modify it\nunder the terms of the GNU Lesser General Public License as\npublished by the Free Software Foundation; either version 2.1 of\nthe License, or (at your option) any later version.\n\nThis software is distributed in the hope that it will be useful,\nbut WITHOUT ANY WARRANTY; without even the implied warranty of\nMERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU\nLesser General Public License for more details.\n\nYou should have received a copy of the GNU Lesser General Public\nLicense along with this software; if not, write to the Free\nSoftware Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA\n02110-1301 USA, or see the FSF site: http://www.fsf.org.\n-->\n<template>\n <v-alert :title=\"title\" :type=\"type\">\n <slot />\n </v-alert>\n</template>\n<script lang=\"ts\">\nimport type { PropType } from \"vue\";\nimport type { VAlert } from \"vuetify/lib/components/VAlert/index.mjs\";\n\nexport default {\n components: {},\n props: {\n title: { type: String, required: true },\n type: {\n type: Object as PropType<VAlert[\"type\"] | undefined>,\n required: true,\n },\n },\n};\n</script>\n"],"names":["_sfc_main","_resolveComponent","_openBlock","_createBlock","_component_v_alert","$props","_renderSlot","_ctx"],"mappings":"iFA4BA,MAAeA,EAAA,CACb,WAAY,CAAC,EACb,MAAO,CACL,MAAO,CAAE,KAAM,OAAQ,SAAU,EAAK,EACtC,KAAM,CACJ,KAAM,OACN,SAAU,EACZ,CACF,CACF,kCAjBEC,EAEU,SAAA,SAFqBC,EAAI,EAAAC,EAAAC,EAAA,CAAA,MAAAC,EAAA,MApBrC,KAAAA,EAAA,IAAA,EAAA,gBAAAC,EAAAC,EAAA,OAAA,SAAA,CAAA,CAAA"}
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
import{h as t}from"./staticBuild-DaVk8OhA.js";import{l as a,a9 as r,ac as o,ad as s,af as p,u as i}from"./index-BwWdPCLg.js";const f=a({__name:"x-alert",props:{title:{},type:{},description:{}},setup(n){return(e,l)=>(r(),o(i(t),{title:e.title,type:e.type,description:e.description},{default:s(()=>[p(e.$slots,"default")]),_:3},8,["title","type","description"]))}});export{f as default};
|
|
2
|
+
//# sourceMappingURL=x-alert-DMLsu2fN.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"x-alert-DMLsu2fN.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
import{r as s}from"./staticBuild-DaVk8OhA.js";import{l as t,a9 as r,ac as e,u as o,aC as c}from"./index-BwWdPCLg.js";const n=t({__name:"x-avatar",props:{image:{}},setup(p){return(a,m)=>a.image?(r(),e(o(s),{key:0,src:a.image,class:"avatar"},null,8,["src"])):(r(),e(o(s),{key:1,size:"small",class:"avatar",src:""}))}}),i=c(n,[["__scopeId","data-v-05a9b598"]]);export{i as default};
|
|
2
|
+
//# sourceMappingURL=x-avatar-5PJmmbmb.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"x-avatar-5PJmmbmb.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
.avatar[data-v-05a9b598]{display:inline-block;width:40px;height:40px}[data-v-05a9b598] img{width:40px;height:40px;border-radius:50%}
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
import"./chunk.GAND2OKP-ByJceoyz.js";import"./chunk.I6OQK3N3-XuvDDN4C.js";import"./chunk.TUZSOS6C-DxyWSdpL.js";import{aC as e,a5 as r,a9 as o,ac as n}from"./index-BwWdPCLg.js";import"./chunk.2FB5TK5H-DmNP_ew6.js";import"./class-map-C3Xk0adH.js";const s={props:{image:{type:String,required:!0}}};function p(c,i,a,m,_,l){const t=r("sl-avatar");return o(),n(t,{image:a.image},null,8,["image"])}const $=e(s,[["render",p]]);export{$ as default};
|
|
2
|
+
//# sourceMappingURL=x-avatar-DXrOfuv4.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"x-avatar-DXrOfuv4.js","sources":["../../../ds/shoelace/src/vue/x-avatar.vue"],"sourcesContent":["<!--\nSee the LICENSE file distributed with this work for additional\ninformation regarding copyright ownership.\n\nThis is free software; you can redistribute it and/or modify it\nunder the terms of the GNU Lesser General Public License as\npublished by the Free Software Foundation; either version 2.1 of\nthe License, or (at your option) any later version.\n\nThis software is distributed in the hope that it will be useful,\nbut WITHOUT ANY WARRANTY; without even the implied warranty of\nMERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU\nLesser General Public License for more details.\n\nYou should have received a copy of the GNU Lesser General Public\nLicense along with this software; if not, write to the Free\nSoftware Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA\n02110-1301 USA, or see the FSF site: http://www.fsf.org.\n-->\n<template>\n <sl-avatar :image=\"image\"></sl-avatar>\n</template>\n<script lang=\"ts\">\nimport \"@shoelace-style/shoelace/dist/components/avatar/avatar\";\n\nexport default {\n props: { image: { type: String, required: true } },\n};\n</script>\n"],"names":["_sfc_main","_resolveComponent"],"mappings":"qPAyBA,MAAeA,EAAA,CACb,MAAO,CAAE,MAAO,CAAE,KAAM,OAAQ,SAAU,GAAO,CACnD,kCAPEC,EAAsC,WAAA"}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{
|
|
2
|
-
//# sourceMappingURL=x-avatar-
|
|
1
|
+
import{aC as t,a5 as r,a9 as n,ac as o}from"./index-BwWdPCLg.js";const s={props:{image:{type:String,required:!0},size:{type:String,required:!0}}};function i(c,_,e,p,m,u){const a=r("v-avatar");return n(),o(a,{image:e.image,size:e.size},null,8,["image","size"])}const f=t(s,[["render",i]]);export{f as default};
|
|
2
|
+
//# sourceMappingURL=x-avatar-bHnylPsU.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"x-avatar-bHnylPsU.js","sources":["../../../ds/vuetify/src/vue/x-avatar.vue"],"sourcesContent":["<!--\nSee the LICENSE file distributed with this work for additional\ninformation regarding copyright ownership.\n\nThis is free software; you can redistribute it and/or modify it\nunder the terms of the GNU Lesser General Public License as\npublished by the Free Software Foundation; either version 2.1 of\nthe License, or (at your option) any later version.\n\nThis software is distributed in the hope that it will be useful,\nbut WITHOUT ANY WARRANTY; without even the implied warranty of\nMERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU\nLesser General Public License for more details.\n\nYou should have received a copy of the GNU Lesser General Public\nLicense along with this software; if not, write to the Free\nSoftware Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA\n02110-1301 USA, or see the FSF site: http://www.fsf.org.\n-->\n<template>\n <v-avatar :image=\"image\" :size=\"size\"></v-avatar>\n</template>\n<script lang=\"ts\">\nexport default {\n props: {\n image: { type: String, required: true },\n size: { type: String, required: true },\n },\n};\n</script>\n"],"names":["_sfc_main","_resolveComponent","_openBlock","_createBlock","_component_v_avatar","$props"],"mappings":"iEAuBA,MAAeA,EAAA,CACb,MAAO,CACL,MAAO,CAAE,KAAM,OAAQ,SAAU,EAAK,EACtC,KAAM,CAAE,KAAM,OAAQ,SAAU,EAAK,CACvC,CACF,kCAREC,EAAiD,UAAA,SAAjBC,EAAI,EAAAC,EAAAC,EAAA,CAAA,MAAAC,EAAA"}
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
import{l as n,c,a5 as m,a9 as p,ac as u}from"./index-BwWdPCLg.js";const l=n({__name:"x-breadcrumb",props:{items:{}},setup(r){const s=r,o=c(()=>s.items.map(({label:e,url:t})=>({title:e,href:t})));return(e,t)=>{const a=m("v-breadcrumbs");return p(),u(a,{items:o.value},null,8,["items"])}}});export{l as default};
|
|
2
|
+
//# sourceMappingURL=x-breadcrumb-ByeHAMZ3.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"x-breadcrumb-ByeHAMZ3.js","sources":["../../../ds/vuetify/src/vue/x-breadcrumb.vue"],"sourcesContent":["<!--\nSee the LICENSE file distributed with this work for additional\ninformation regarding copyright ownership.\n\nThis is free software; you can redistribute it and/or modify it\nunder the terms of the GNU Lesser General Public License as\npublished by the Free Software Foundation; either version 2.1 of\nthe License, or (at your option) any later version.\n\nThis software is distributed in the hope that it will be useful,\nbut WITHOUT ANY WARRANTY; without even the implied warranty of\nMERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU\nLesser General Public License for more details.\n\nYou should have received a copy of the GNU Lesser General Public\nLicense along with this software; if not, write to the Free\nSoftware Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA\n02110-1301 USA, or see the FSF site: http://www.fsf.org.\n-->\n<script setup lang=\"ts\">\nimport { BreadcrumbProps } from \"@xwiki/cristal-dsapi\";\nimport { computed } from \"vue\";\n\nconst props = defineProps<BreadcrumbProps>();\n// Converts props items to the format expected by v-breadcrumbs\nconst items = computed(() => {\n return props.items.map(({ label, url }) => {\n return {\n title: label,\n href: url,\n };\n });\n});\n</script>\n\n<template>\n <v-breadcrumbs :items=\"items\"></v-breadcrumbs>\n</template>\n\n<style scoped></style>\n"],"names":["props","__props","items","computed","label","url"],"mappings":"6HAuBA,MAAMA,EAAQC,EAERC,EAAQC,EAAS,IACdH,EAAM,MAAM,IAAI,CAAC,CAAE,MAAAI,EAAO,IAAAC,MACxB,CACL,MAAOD,EACP,KAAMC,CAAA,EAET,CACF"}
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
import"./chunk.Z6CYCANS-3ZX6gaKw.js";import"./if-defined-DAvNwoU5.js";import"./chunk.I6OQK3N3-XuvDDN4C.js";import"./chunk.TUZSOS6C-DxyWSdpL.js";import{l,a5 as t,a9 as r,ac as a,ad as o,aa as p,F as c,ah as i,$ as u,a3 as _}from"./index-BwWdPCLg.js";import"./chunk.NYIIDP5N-AHr3eTN0.js";import"./class-map-C3Xk0adH.js";import"./query-D1pSaKds.js";import"./chunk.2FB5TK5H-DmNP_ew6.js";const v=l({__name:"x-breadcrumb",props:{items:{}},setup(b){return(s,d)=>{const m=t("sl-breadcrumb-item"),n=t("sl-breadcrumb");return r(),a(n,null,{default:o(()=>[(r(!0),p(c,null,i(s.items,e=>(r(),a(m,{key:e.label,href:e.url},{default:o(()=>[u(_(e.label),1)]),_:2},1032,["href"]))),128))]),_:1})}}});export{v as default};
|
|
2
|
+
//# sourceMappingURL=x-breadcrumb-UzKzkWEm.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"x-breadcrumb-UzKzkWEm.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
import{A as a}from"./staticBuild-DaVk8OhA.js";import{l as t,a9 as r,ac as s,ad as o,af as n,u as f}from"./index-BwWdPCLg.js";const _=t({__name:"x-btn",setup(l){return(e,c)=>(r(),s(f(a),{size:"large"},{default:o(()=>[n(e.$slots,"default")]),_:3}))}});export{_ as default};
|
|
2
|
+
//# sourceMappingURL=x-btn-BIQ8eFJy.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"x-btn-BIQ8eFJy.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
import{aC as a,a5 as n,a9 as o,ac as s,ad as c,af as r}from"./index-BwWdPCLg.js";const _={};function l(t,f){const e=n("v-btn");return o(),s(e,null,{default:c(()=>[r(t.$slots,"default")]),_:3})}const p=a(_,[["render",l]]);export{p as default};
|
|
2
|
+
//# sourceMappingURL=x-btn-Ek7j5MQJ.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"x-btn-Ek7j5MQJ.js","sources":["../../../ds/vuetify/src/vue/x-btn.vue"],"sourcesContent":["<!--\nSee the LICENSE file distributed with this work for additional\ninformation regarding copyright ownership.\n\nThis is free software; you can redistribute it and/or modify it\nunder the terms of the GNU Lesser General Public License as\npublished by the Free Software Foundation; either version 2.1 of\nthe License, or (at your option) any later version.\n\nThis software is distributed in the hope that it will be useful,\nbut WITHOUT ANY WARRANTY; without even the implied warranty of\nMERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU\nLesser General Public License for more details.\n\nYou should have received a copy of the GNU Lesser General Public\nLicense along with this software; if not, write to the Free\nSoftware Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA\n02110-1301 USA, or see the FSF site: http://www.fsf.org.\n-->\n<template>\n <v-btn>\n <slot />\n </v-btn>\n</template>\n"],"names":["_openBlock","_createBlock","_component_v_btn","_withCtx"],"mappings":"+HAAA,OAAAA,EAqBI,EAAQC,EAAAC,EAAA,KAAA,SAAAC,EAAA,IAAA,uBArBZ"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
.align[data-v-e2f0f8b2]{display:flex;flex-flow:row;flex-wrap:nowrap;gap:var(--cr-spacing-2x-small);align-items:center}
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
import"./chunk.6DH62NIS-Dm8zuX7H.js";import"./chunk.KWPBDQ6I-Bf3dc1GJ.js";import"./if-defined-DAvNwoU5.js";import"./chunk.I6OQK3N3-XuvDDN4C.js";import"./chunk.TUZSOS6C-DxyWSdpL.js";import{aC as a,a5 as e,a9 as s,ac as r,ad as n,ae as p,af as i}from"./index-BwWdPCLg.js";import"./chunk.2FB5TK5H-DmNP_ew6.js";import"./chunk.NYIIDP5N-AHr3eTN0.js";import"./class-map-C3Xk0adH.js";import"./static-CdL8EPVS.js";import"./query-D1pSaKds.js";const c={},m={class:"align"};function _(t,d,l,f,u,$){const o=e("sl-button");return s(),r(o,{variant:"default"},{default:n(()=>[p("span",m,[i(t.$slots,"default",{},void 0,!0)])]),_:3})}const S=a(c,[["render",_],["__scopeId","data-v-e2f0f8b2"]]);export{S as default};
|
|
2
|
+
//# sourceMappingURL=x-btn-XPAPreXz.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"x-btn-XPAPreXz.js","sources":["../../../ds/shoelace/src/vue/x-btn.vue"],"sourcesContent":["<!--\nSee the LICENSE file distributed with this work for additional\ninformation regarding copyright ownership.\n\nThis is free software; you can redistribute it and/or modify it\nunder the terms of the GNU Lesser General Public License as\npublished by the Free Software Foundation; either version 2.1 of\nthe License, or (at your option) any later version.\n\nThis software is distributed in the hope that it will be useful,\nbut WITHOUT ANY WARRANTY; without even the implied warranty of\nMERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU\nLesser General Public License for more details.\n\nYou should have received a copy of the GNU Lesser General Public\nLicense along with this software; if not, write to the Free\nSoftware Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA\n02110-1301 USA, or see the FSF site: http://www.fsf.org.\n-->\n<template>\n <sl-button variant=\"default\">\n <!-- TODO: We should try to use each the default icon slots to avoid weird alignment issues\n https://shoelace.style/components/button#slots\n -->\n <span class=\"align\">\n <slot />\n </span>\n </sl-button>\n</template>\n<script lang=\"ts\">\nimport \"@shoelace-style/shoelace/dist/components/button/button\";\nexport default {};\n</script>\n<style scoped>\n.align {\n display: flex;\n flex-flow: row;\n flex-wrap: nowrap;\n gap: var(--cr-spacing-2x-small);\n align-items: center;\n}\n</style>\n"],"names":["_sfc_main","_resolveComponent","_openBlock","_createBlock","_component_sl_button","_withCtx","_createElementVNode","_hoisted_1"],"mappings":"ibA+BA,MAAAA,EAAe,CAAC,oDAXdC,EAOY,WAAA,SAHVC,EAEO,EAAAC,EAAAC,EAAA,CAAA,QAAA,WAAA,CAAA,QADLC,EAAQ,IAAA,CAAAC,EAAA,OAAAC,EAAA,mCAzBd,CAAA,CAAA,CAAA"}
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
import{aC as r,a5 as o,a9 as n,ac as s,ad as c,af as d}from"./index-BwWdPCLg.js";const i={props:{title:{type:String,required:!0}}};function l(t,p,e,_,f,u){const a=o("v-card");return n(),s(a,{title:e.title,variant:"outlined"},{default:c(()=>[d(t.$slots,"default")]),_:3},8,["title"])}const v=r(i,[["render",l]]);export{v as default};
|
|
2
|
+
//# sourceMappingURL=x-card-CqrrEOda.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"x-card-CqrrEOda.js","sources":["../../../ds/vuetify/src/vue/x-card.vue"],"sourcesContent":["<!--\nSee the LICENSE file distributed with this work for additional\ninformation regarding copyright ownership.\n\nThis is free software; you can redistribute it and/or modify it\nunder the terms of the GNU Lesser General Public License as\npublished by the Free Software Foundation; either version 2.1 of\nthe License, or (at your option) any later version.\n\nThis software is distributed in the hope that it will be useful,\nbut WITHOUT ANY WARRANTY; without even the implied warranty of\nMERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU\nLesser General Public License for more details.\n\nYou should have received a copy of the GNU Lesser General Public\nLicense along with this software; if not, write to the Free\nSoftware Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA\n02110-1301 USA, or see the FSF site: http://www.fsf.org.\n-->\n<template>\n <v-card :title=\"title\" variant=\"outlined\">\n <slot />\n </v-card>\n</template>\n<script lang=\"ts\">\nexport default {\n props: { title: { type: String, required: true } },\n};\n</script>\n"],"names":["_sfc_main","_resolveComponent","_openBlock","_createBlock","_component_v_card","$props","_renderSlot","_ctx"],"mappings":"iFAyBA,MAAeA,EAAA,CACb,MAAO,CAAE,MAAO,CAAE,KAAM,OAAQ,SAAU,GAAO,CACnD,kCAPEC,EAES,QAAA,EAFc,OAAAC,EAAA,EAAkBC,EAAAC,EAAA,CAAA,MAAAC,EAAA,MApB3C,QAAA,UAAA,EAAA,gBAAAC,EAAAC,EAAA,OAAA,SAAA,CAAA,CAAA"}
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
import{X as e}from"./staticBuild-DaVk8OhA.js";import{l as a,a9 as r,ac as o,ad as s,af as l,u as n}from"./index-BwWdPCLg.js";const d=a({__name:"x-card",props:{title:{}},setup(i){return(t,p)=>(r(),o(n(e),{title:t.title,description:""},{default:s(()=>[l(t.$slots,"default")]),_:3},8,["title"]))}});export{d as default};
|
|
2
|
+
//# sourceMappingURL=x-card-DkMCK51C.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"x-card-DkMCK51C.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
import"./chunk.MGEAXYVX-o-WC3ZVc.js";import"./chunk.TUZSOS6C-DxyWSdpL.js";import{aC as a,a5 as o,a9 as s,ac as n,ad as i,af as c}from"./index-BwWdPCLg.js";import"./chunk.NYIIDP5N-AHr3eTN0.js";import"./class-map-C3Xk0adH.js";const l={props:{title:{type:String,required:!0}}};function p(t,d,e,_,f,m){const r=o("sl-card");return s(),n(r,{title:e.title,variant:"outlined"},{default:i(()=>[c(t.$slots,"default")]),_:3},8,["title"])}const k=a(l,[["render",p]]);export{k as default};
|
|
2
|
+
//# sourceMappingURL=x-card-mVVPCuVs.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"x-card-mVVPCuVs.js","sources":["../../../ds/shoelace/src/vue/x-card.vue"],"sourcesContent":["<!--\nSee the LICENSE file distributed with this work for additional\ninformation regarding copyright ownership.\n\nThis is free software; you can redistribute it and/or modify it\nunder the terms of the GNU Lesser General Public License as\npublished by the Free Software Foundation; either version 2.1 of\nthe License, or (at your option) any later version.\n\nThis software is distributed in the hope that it will be useful,\nbut WITHOUT ANY WARRANTY; without even the implied warranty of\nMERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU\nLesser General Public License for more details.\n\nYou should have received a copy of the GNU Lesser General Public\nLicense along with this software; if not, write to the Free\nSoftware Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA\n02110-1301 USA, or see the FSF site: http://www.fsf.org.\n-->\n<script lang=\"ts\">\nimport \"@shoelace-style/shoelace/dist/components/card/card\";\nexport default {\n props: { title: { type: String, required: true } },\n};\n</script>\n<template>\n <sl-card :title=\"title\" variant=\"outlined\">\n <slot />\n </sl-card>\n</template>\n"],"names":["_sfc_main","_resolveComponent","_openBlock","_createBlock","_component_sl_card","$props","_renderSlot","_ctx"],"mappings":"gOAqBA,MAAeA,EAAA,CACb,MAAO,CAAE,MAAO,CAAE,KAAM,OAAQ,SAAU,GAAO,CACnD,kCAGEC,EAEU,SAAA,EAFc,OAAAC,EAAA,EAAkBC,EAAAC,EAAA,CAAA,MAAAC,EAAA,MA1B5C,QAAA,UAAA,EAAA,gBAAAC,EAAAC,EAAA,OAAA,SAAA,CAAA,CAAA"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"x-col-BKCtabUF.js","sources":["../../../ds/dsfr/src/vue/x-col.vue"],"sourcesContent":["<!--\nSee the LICENSE file distributed with this work for additional\ninformation regarding copyright ownership.\n\nThis is free software; you can redistribute it and/or modify it\nunder the terms of the GNU Lesser General Public License as\npublished by the Free Software Foundation; either version 2.1 of\nthe License, or (at your option) any later version.\n\nThis software is distributed in the hope that it will be useful,\nbut WITHOUT ANY WARRANTY; without even the implied warranty of\nMERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU\nLesser General Public License for more details.\n\nYou should have received a copy of the GNU Lesser General Public\nLicense along with this software; if not, write to the Free\nSoftware Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA\n02110-1301 USA, or see the FSF site: http://www.fsf.org.\n-->\n<template>\n <div>\n <slot />\n </div>\n</template>\n"],"names":["_cache","_openBlock","_createElementBlock"],"mappings":"yFAsBQA,EAAA,QADIC,EAAA,EAAAC,EAAA,MAAA,KAAA"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"x-col-CPix5n9C.js","sources":["../../../ds/shoelace/src/vue/x-col.vue"],"sourcesContent":["<!--\nSee the LICENSE file distributed with this work for additional\ninformation regarding copyright ownership.\n\nThis is free software; you can redistribute it and/or modify it\nunder the terms of the GNU Lesser General Public License as\npublished by the Free Software Foundation; either version 2.1 of\nthe License, or (at your option) any later version.\n\nThis software is distributed in the hope that it will be useful,\nbut WITHOUT ANY WARRANTY; without even the implied warranty of\nMERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU\nLesser General Public License for more details.\n\nYou should have received a copy of the GNU Lesser General Public\nLicense along with this software; if not, write to the Free\nSoftware Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA\n02110-1301 USA, or see the FSF site: http://www.fsf.org.\n-->\n<template>\n <div>\n <slot />\n </div>\n</template>\n"],"names":["_cache","_openBlock","_createElementBlock"],"mappings":"yFAsBQA,EAAA,QADIC,EAAA,EAAAC,EAAA,MAAA,KAAA"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"x-container-B8usqdAt.js","sources":["../../../ds/shoelace/src/vue/x-container.vue"],"sourcesContent":["<!--\nSee the LICENSE file distributed with this work for additional\ninformation regarding copyright ownership.\n\nThis is free software; you can redistribute it and/or modify it\nunder the terms of the GNU Lesser General Public License as\npublished by the Free Software Foundation; either version 2.1 of\nthe License, or (at your option) any later version.\n\nThis software is distributed in the hope that it will be useful,\nbut WITHOUT ANY WARRANTY; without even the implied warranty of\nMERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU\nLesser General Public License for more details.\n\nYou should have received a copy of the GNU Lesser General Public\nLicense along with this software; if not, write to the Free\nSoftware Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA\n02110-1301 USA, or see the FSF site: http://www.fsf.org.\n-->\n<template>\n <div>\n <slot />\n </div>\n</template>\n"],"names":["_cache","_openBlock","_createElementBlock"],"mappings":"yFAsBQA,EAAA,QADIC,EAAA,EAAAC,EAAA,MAAA,KAAA"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"x-container-C3VJF8Cs.js","sources":["../../../ds/dsfr/src/vue/x-container.vue"],"sourcesContent":["<!--\nSee the LICENSE file distributed with this work for additional\ninformation regarding copyright ownership.\n\nThis is free software; you can redistribute it and/or modify it\nunder the terms of the GNU Lesser General Public License as\npublished by the Free Software Foundation; either version 2.1 of\nthe License, or (at your option) any later version.\n\nThis software is distributed in the hope that it will be useful,\nbut WITHOUT ANY WARRANTY; without even the implied warranty of\nMERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU\nLesser General Public License for more details.\n\nYou should have received a copy of the GNU Lesser General Public\nLicense along with this software; if not, write to the Free\nSoftware Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA\n02110-1301 USA, or see the FSF site: http://www.fsf.org.\n-->\n<template>\n <div>\n <slot />\n </div>\n</template>\n"],"names":["_cache","_openBlock","_createElementBlock"],"mappings":"yFAsBQA,EAAA,QADIC,EAAA,EAAAC,EAAA,MAAA,KAAA"}
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
import{l as c,a5 as e,a9 as i,ac as _,ad as t,ae as p,aj as m,ak as u,af as o,E as s}from"./index-BwWdPCLg.js";const w=c({__name:"x-dialog",props:{title:{},width:{}},setup(v){return(a,f)=>{const r=e("v-card-text"),n=e("v-card"),d=e("v-dialog");return i(),_(d,{width:a.width},{activator:t(({props:l})=>[p("span",m(u(l)),[o(a.$slots,"activator")],16)]),default:t(()=>[s(n,{title:a.title},{default:t(()=>[s(r,null,{default:t(()=>[o(a.$slots,"default")]),_:3})]),_:3},8,["title"])]),_:3},8,["width"])}}});export{w as default};
|
|
2
|
+
//# sourceMappingURL=x-dialog-DTbBEomU.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"x-dialog-DTbBEomU.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
import"./chunk.WYDJ5QAQ-BaRtgVmq.js";import"./chunk.DBG7W4GS-C1gixj8b.js";import"./if-defined-DAvNwoU5.js";import"./chunk.I6OQK3N3-XuvDDN4C.js";import"./chunk.TUZSOS6C-DxyWSdpL.js";import{aC as s,a5 as n,a9 as p,aa as c,ae as d,af as a,E as m,ad as u,F as g}from"./index-BwWdPCLg.js";import"./chunk.F5JVBNK3-BFrgaGDl.js";import"./chunk.LHI6QEL2-DjjW-g1e.js";import"./chunk.2FB5TK5H-DmNP_ew6.js";import"./chunk.NYIIDP5N-AHr3eTN0.js";import"./class-map-C3Xk0adH.js";import"./query-D1pSaKds.js";import"./static-CdL8EPVS.js";const f={props:{class:{type:String,required:!0},title:{type:String,required:!0}},setup(){console.log("in setup");function e(){console.log("opening modal"),this.isModalOpen=!0;const o=document.querySelector(".dialog-overview");console.log("in update"),this.isModalOpen?o?.show():o?.hide()}return{isModalOpen:!1,click:e}}};function _(e,o,i,t,k,v){const r=n("sl-dialog");return p(),c(g,null,[d("span",{onClick:o[0]||(o[0]=(...l)=>t.click&&t.click(...l))},[a(e.$slots,"activator")]),m(r,{label:i.title,class:"dialog-overview"},{default:u(()=>[a(e.$slots,"default")]),_:3},8,["label"])],64)}const F=s(f,[["render",_]]);export{F as default};
|
|
2
|
+
//# sourceMappingURL=x-dialog-Dmk1mNNm.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"x-dialog-Dmk1mNNm.js","sources":["../../../ds/shoelace/src/vue/x-dialog.vue"],"sourcesContent":["<!--\nSee the LICENSE file distributed with this work for additional\ninformation regarding copyright ownership.\n\nThis is free software; you can redistribute it and/or modify it\nunder the terms of the GNU Lesser General Public License as\npublished by the Free Software Foundation; either version 2.1 of\nthe License, or (at your option) any later version.\n\nThis software is distributed in the hope that it will be useful,\nbut WITHOUT ANY WARRANTY; without even the implied warranty of\nMERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU\nLesser General Public License for more details.\n\nYou should have received a copy of the GNU Lesser General Public\nLicense along with this software; if not, write to the Free\nSoftware Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA\n02110-1301 USA, or see the FSF site: http://www.fsf.org.\n-->\n<template>\n <span @click=\"click\">\n <slot name=\"activator\" />\n </span>\n <sl-dialog :label=\"title\" class=\"dialog-overview\">\n <slot name=\"default\" />\n </sl-dialog>\n</template>\n<script lang=\"ts\">\nimport \"@shoelace-style/shoelace/dist/components/dialog/dialog\";\n\nexport default {\n props: {\n class: { type: String, required: true },\n title: { type: String, required: true },\n },\n setup() {\n console.log(\"in setup\");\n\n function click() {\n console.log(\"opening modal\");\n this.isModalOpen = true;\n const dialog = document.querySelector(\n \".dialog-overview\",\n ) as HTMLDivElement;\n console.log(\"in update\");\n if (this.isModalOpen) {\n // @ts-expect-error TODO might be an actual bug?\n dialog?.show();\n } else {\n // @ts-expect-error TODO might be an actual bug?\n dialog?.hide();\n }\n }\n\n return { isModalOpen: false, click: click };\n },\n};\n</script>\n"],"names":["_sfc_main","click","dialog","_component_sl_dialog","_resolveComponent","_openBlock","_createElementBlock","_Fragment","_createElementVNode","_cache","args","$setup","_renderSlot","_ctx","$props"],"mappings":"ygBA8BA,MAAeA,EAAA,CACb,MAAO,CACL,MAAO,CAAE,KAAM,OAAQ,SAAU,EAAK,EACtC,MAAO,CAAE,KAAM,OAAQ,SAAU,EAAK,CACxC,EACA,OAAQ,CACN,QAAQ,IAAI,UAAU,EAEtB,SAASC,GAAQ,CACf,QAAQ,IAAI,eAAe,EAC3B,KAAK,YAAc,GACnB,MAAMC,EAAS,SAAS,cACtB,kBAAA,EAEF,QAAQ,IAAI,WAAW,EACnB,KAAK,YAEPA,GAAQ,KAAK,EAGbA,GAAQ,KAAK,CAEjB,CAEO,MAAA,CAAE,YAAa,GAAO,MAAAD,EAC/B,CACF,0BAxDA,MAAAE,EAAAC,EAAA,WAAA,EAoBS,OAAAC,EAAO,EAAAC,EAAAC,EAAA,KAAA,CAAAC,EAAA,OAAA,CACZ,QAAyBC,EAAA,CAAA,IAAAA,EAAA,CAAA,EAAA,IAAAC,IAAAC,EAAA,OAAAA,EAAA,MAAA,GAAAD,CAAA,EAAA,EAAA,CAE3BE,EAEYC,EAAA,OAAA,WAAA,CAAA,CAAA,IAFoBV,EAAiB,CAAA,MAAAW,EAAA,MAvBnD,MAAA,iBAAA,EAAA,gBAAAF,EAAAC,EAAA,OAAA,SAAA,CAAA,CAAA"}
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
import{v as n}from"./staticBuild-DaVk8OhA.js";import{l as r,j as i,a9 as o,aa as p,ae as u,af as s,ac as d,ad as f,u as m,ag as v,F as c}from"./index-BwWdPCLg.js";const B=r({__name:"x-dialog",props:{title:{},type:{},width:{}},setup(k){const e=i(!1);return(t,a)=>(o(),p(c,null,[u("span",{ref:"modalOrigin",onClick:a[0]||(a[0]=l=>e.value=!0)},[s(t.$slots,"activator")],512),e.value?(o(),d(m(n),{key:0,title:t.title,opened:e.value,onClose:a[1]||(a[1]=l=>e.value=!1)},{default:f(()=>[s(t.$slots,"default")]),_:3},8,["title","opened"])):v("",!0)],64))}});export{B as default};
|
|
2
|
+
//# sourceMappingURL=x-dialog-Y6y28F7b.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"x-dialog-Y6y28F7b.js","sources":["../../../ds/dsfr/src/vue/x-dialog.vue"],"sourcesContent":["<!--\nSee the LICENSE file distributed with this work for additional\ninformation regarding copyright ownership.\n\nThis is free software; you can redistribute it and/or modify it\nunder the terms of the GNU Lesser General Public License as\npublished by the Free Software Foundation; either version 2.1 of\nthe License, or (at your option) any later version.\n\nThis software is distributed in the hope that it will be useful,\nbut WITHOUT ANY WARRANTY; without even the implied warranty of\nMERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU\nLesser General Public License for more details.\n\nYou should have received a copy of the GNU Lesser General Public\nLicense along with this software; if not, write to the Free\nSoftware Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA\n02110-1301 USA, or see the FSF site: http://www.fsf.org.\n-->\n<script setup lang=\"ts\">\nimport { DsfrModal } from \"@gouvminint/vue-dsfr\";\nimport { ref } from \"vue\";\ndefineProps<{\n title: string;\n type: number;\n width: number;\n}>();\nconst isModalOpen = ref(false);\n</script>\n<template>\n <span ref=\"modalOrigin\" @click=\"isModalOpen = true\">\n <slot name=\"activator\" />\n </span>\n <!-- TODO: make the title configurable -->\n <DsfrModal\n v-if=\"isModalOpen\"\n :title=\"title\"\n :opened=\"isModalOpen\"\n @close=\"isModalOpen = false\"\n >\n <slot name=\"default\" />\n </DsfrModal>\n</template>\n"],"names":["isModalOpen","ref"],"mappings":"2OA2BM,MAAAA,EAAcC,EAAI,EAAK"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"x-divider-1De0d0_h.js","sources":["../../../ds/shoelace/src/vue/x-divider.vue"],"sourcesContent":["<!--\nSee the LICENSE file distributed with this work for additional\ninformation regarding copyright ownership.\n\nThis is free software; you can redistribute it and/or modify it\nunder the terms of the GNU Lesser General Public License as\npublished by the Free Software Foundation; either version 2.1 of\nthe License, or (at your option) any later version.\n\nThis software is distributed in the hope that it will be useful,\nbut WITHOUT ANY WARRANTY; without even the implied warranty of\nMERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU\nLesser General Public License for more details.\n\nYou should have received a copy of the GNU Lesser General Public\nLicense along with this software; if not, write to the Free\nSoftware Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA\n02110-1301 USA, or see the FSF site: http://www.fsf.org.\n-->\n<template>\n <hr />\n</template>\n"],"names":["_cache"],"mappings":"iFAoBQA,EAAA"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"x-divider-BOo7N7TG.js","sources":["../../../ds/dsfr/src/vue/x-divider.vue"],"sourcesContent":["<!--\nSee the LICENSE file distributed with this work for additional\ninformation regarding copyright ownership.\n\nThis is free software; you can redistribute it and/or modify it\nunder the terms of the GNU Lesser General Public License as\npublished by the Free Software Foundation; either version 2.1 of\nthe License, or (at your option) any later version.\n\nThis software is distributed in the hope that it will be useful,\nbut WITHOUT ANY WARRANTY; without even the implied warranty of\nMERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU\nLesser General Public License for more details.\n\nYou should have received a copy of the GNU Lesser General Public\nLicense along with this software; if not, write to the Free\nSoftware Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA\n02110-1301 USA, or see the FSF site: http://www.fsf.org.\n-->\n<template>\n <hr />\n</template>\n"],"names":["_cache"],"mappings":"iFAoBQA,EAAA"}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{
|
|
2
|
-
//# sourceMappingURL=x-divider-
|
|
1
|
+
import{aC as o,a5 as c,a9 as r,ac as n}from"./index-BwWdPCLg.js";const s={};function a(t,i){const e=c("v-divider");return r(),n(e,{thickness:2,class:"border-opacity-100",color:"info"})}const d=o(s,[["render",a]]);export{d as default};
|
|
2
|
+
//# sourceMappingURL=x-divider-DAdnWMFB.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"x-divider-DAdnWMFB.js","sources":["../../../ds/vuetify/src/vue/x-divider.vue"],"sourcesContent":["<!--\nSee the LICENSE file distributed with this work for additional\ninformation regarding copyright ownership.\n\nThis is free software; you can redistribute it and/or modify it\nunder the terms of the GNU Lesser General Public License as\npublished by the Free Software Foundation; either version 2.1 of\nthe License, or (at your option) any later version.\n\nThis software is distributed in the hope that it will be useful,\nbut WITHOUT ANY WARRANTY; without even the implied warranty of\nMERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU\nLesser General Public License for more details.\n\nYou should have received a copy of the GNU Lesser General Public\nLicense along with this software; if not, write to the Free\nSoftware Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA\n02110-1301 USA, or see the FSF site: http://www.fsf.org.\n-->\n<template>\n <v-divider :thickness=\"2\" class=\"border-opacity-100\" color=\"info\" />\n</template>\n"],"names":["_openBlock","_createBlock","_component_v_divider"],"mappings":"mHAoBc,OAAAA,EAAY,EAAAC,EAAAC,EAAA,CAAE,UAA0B,EAAC,MAAM"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
.input--medium[data-v-01f33109]{border-radius:var(--sl-input-border-radius-medium);font-size:var(--sl-input-font-size-medium);height:var(--sl-input-height-medium)}.input--standard[data-v-01f33109]{background-color:var(--sl-input-background-color);border:solid var(--sl-input-border-width) var(--sl-input-border-color)}.form-control--has-label .form-control__label[data-v-01f33109]:after{content:" " var(--sl-input-required-content);margin-inline-start:var(--sl-input-required-content-offset);color:var(--sl-input-required-content-color)}
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
import{m as n}from"./translations-LzwkxwEW.js";import{l as m,aQ as d,aO as i,aR as p,c as f,a9 as c,ac as V,u as b}from"./index-BwWdPCLg.js";import{b as v}from"./staticBuild-DaVk8OhA.js";const g=m({__name:"x-file-input",props:d({name:{},label:{},required:{type:Boolean}},{modelValue:{},modelModifiers:{}}),emits:["update:modelValue"],setup(l){const{t:s}=i({messages:n}),o=p(l,"modelValue"),u=l,r=f(()=>{const e=[];return u.required&&e.push(a=>a?!0:s("vuetify.file.input.mandatory")),e});return(e,a)=>(c(),V(b(v),{modelValue:o.value,"onUpdate:modelValue":a[0]||(a[0]=t=>o.value=t),label:e.label,name:e.name,rules:r.value},null,8,["modelValue","label","name","rules"]))}});export{g as default};
|
|
2
|
+
//# sourceMappingURL=x-file-input-D5fZFrts.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"x-file-input-D5fZFrts.js","sources":["../../../ds/vuetify/src/vue/form/x-file-input.vue"],"sourcesContent":["<script setup lang=\"ts\">\nimport type { TextFieldModel, TextFieldProps } from \"@xwiki/cristal-dsapi\";\nimport { computed } from \"vue\";\nimport { VFileInput } from \"vuetify/components/VFileInput\";\nimport messages from \"../../translations\";\nimport { useI18n } from \"vue-i18n\";\nimport { defineModel } from \"vue\";\n\nconst { t } = useI18n({\n messages,\n});\n\nconst model = defineModel<TextFieldModel>();\nconst props = defineProps<TextFieldProps>();\n\nconst rules = computed(() => {\n const rulesList = [];\n if (props.required) {\n rulesList.push((value: unknown) => {\n if (value) {\n return true;\n } else {\n return t(\"vuetify.file.input.mandatory\");\n }\n });\n }\n return rulesList;\n});\n</script>\n\n<template>\n <v-file-input\n v-model=\"model\"\n :label=\"label\"\n :name=\"name\"\n :rules=\"rules\"\n ></v-file-input>\n</template>\n\n<style scoped></style>\n"],"names":["t","useI18n","messages","model","_useModel","__props","props","rules","computed","rulesList","value"],"mappings":"uVAQM,KAAA,CAAE,EAAAA,CAAE,EAAIC,EAAQ,CACpB,SAAAC,CAAA,CACD,EAEKC,EAAQC,EAA2BC,EAAA,YAAC,EACpCC,EAAQD,EAERE,EAAQC,EAAS,IAAM,CAC3B,MAAMC,EAAY,CAAA,EAClB,OAAIH,EAAM,UACEG,EAAA,KAAMC,GACVA,EACK,GAEAV,EAAE,8BAA8B,CAE1C,EAEIS,CAAA,CACR"}
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
import"./chunk.FX2KPKHF-DRH3dcmv.js";import"./chunk.TUZSOS6C-DxyWSdpL.js";import"./chunk.KWPBDQ6I-Bf3dc1GJ.js";import"./if-defined-DAvNwoU5.js";import"./chunk.I6OQK3N3-XuvDDN4C.js";import{l as u,aQ as p,aR as d,j as m,q as c,a9 as f,aa as _,ae as a,af as h,$ as v,a3 as b,ab as g,F as q,aq as y,ar as I,aC as S}from"./index-BwWdPCLg.js";import"./chunk.2FB5TK5H-DmNP_ew6.js";import"./chunk.NYIIDP5N-AHr3eTN0.js";import"./class-map-C3Xk0adH.js";import"./query-D1pSaKds.js";const V=o=>(y("data-v-01f33109"),o=o(),I(),o),B={class:"form-control form-control--medium form-control--has-label"},C={class:"form-control__label",for:"input","aria-hidden":!1},k={class:"form-control-input"},E=["name","required"],F=V(()=>a("br",null,null,-1)),M=u({__name:"x-file-input",props:p({name:{},label:{},required:{type:Boolean}},{modelValue:{},modelModifiers:{}}),emits:["update:modelValue"],setup(o){const l=d(o,"modelValue");function i(t){const e=t.target.files;if(!e||e.length==0)l.value=void 0;else if(e.length==1)l.value=e[0];else{const s=[];for(let n=0;n<e.length;n++)s.push(e[n]);l.value=s}}const r=m();return c(l,t=>{t||(r.value.value="")}),(t,e)=>(f(),_(q,null,[a("div",B,[a("label",C,[h(t.$slots,"label",{},()=>[v(b(t.label),1)],!0)]),a("div",k,[a("div",{class:g({input:!0,"input--medium":!0,"input--standard":!0,"input--empty":!l.value,"input--no-spin-buttons":!0})},[a("input",{ref_key:"inputElement",ref:r,disabled:!1,name:t.name,readonly:!0,required:t.required,class:"input__control",type:"file",onChange:e[0]||(e[0]=s=>i(s))},null,40,E)],2)])]),F],64))}}),A=S(M,[["__scopeId","data-v-01f33109"]]);export{A as default};
|
|
2
|
+
//# sourceMappingURL=x-file-input-Vq6SbhIt.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"x-file-input-Vq6SbhIt.js","sources":["../../../ds/shoelace/src/vue/form/x-file-input.vue"],"sourcesContent":["<script setup lang=\"ts\">\nimport { type TextFieldModel, type TextFieldProps } from \"@xwiki/cristal-dsapi\";\nimport \"@shoelace-style/shoelace/dist/components/input/input\";\nimport { defineModel, ref, watch } from \"vue\";\n\nconst model = defineModel<TextFieldModel>();\ndefineProps<TextFieldProps>();\n\nfunction change(event: Event) {\n const files = (event.target as HTMLInputElement).files;\n if (!files || files.length == 0) {\n model.value = undefined;\n } else if (files.length == 1) {\n model.value = files[0];\n } else {\n const value = [];\n for (let i = 0; i < files.length; i++) {\n value.push(files[i]);\n }\n model.value = value;\n }\n}\n\nconst inputElement = ref();\n\nwatch(model, (model) => {\n if (!model) {\n inputElement.value.value = \"\";\n }\n});\n</script>\n\n<!--\nPartial clone of sl-input with a input type=file because the type file\nis not supported by shoelace currently.\n-->\n<template>\n <div class=\"form-control form-control--medium form-control--has-label\">\n <label class=\"form-control__label\" for=\"input\" :aria-hidden=\"false\">\n <slot name=\"label\">{{ label }}</slot>\n </label>\n\n <div class=\"form-control-input\">\n <div\n :class=\"{\n input: true,\n // Sizes\n 'input--medium': true,\n // States\n 'input--standard': true,\n 'input--empty': !model,\n 'input--no-spin-buttons': true,\n }\"\n >\n <input\n ref=\"inputElement\"\n :disabled=\"false\"\n :name=\"name\"\n :readonly=\"true\"\n :required=\"required\"\n class=\"input__control\"\n type=\"file\"\n @change=\"change($event)\"\n />\n </div>\n </div>\n </div>\n <br />\n</template>\n\n<style scoped>\n.input--medium {\n border-radius: var(--sl-input-border-radius-medium);\n font-size: var(--sl-input-font-size-medium);\n height: var(--sl-input-height-medium);\n}\n\n.input--standard {\n background-color: var(--sl-input-background-color);\n border: solid var(--sl-input-border-width) var(--sl-input-border-color);\n}\n\n.form-control--has-label .form-control__label::after {\n content: \" \" var(--sl-input-required-content);\n margin-inline-start: var(--sl-input-required-content-offset);\n color: var(--sl-input-required-content-color);\n}\n</style>\n"],"names":["model","_useModel","__props","change","event","files","value","i","inputElement","ref","watch"],"mappings":"i3BAKM,MAAAA,EAAQC,EAA2BC,EAAA,YAAC,EAG1C,SAASC,EAAOC,EAAc,CACtB,MAAAC,EAASD,EAAM,OAA4B,MACjD,GAAI,CAACC,GAASA,EAAM,QAAU,EAC5BL,EAAM,MAAQ,eACLK,EAAM,QAAU,EACnBL,EAAA,MAAQK,EAAM,CAAC,MAChB,CACL,MAAMC,EAAQ,CAAA,EACd,QAASC,EAAI,EAAGA,EAAIF,EAAM,OAAQE,IAC1BD,EAAA,KAAKD,EAAME,CAAC,CAAC,EAErBP,EAAM,MAAQM,CAChB,CACF,CAEA,MAAME,EAAeC,IAEf,OAAAC,EAAAV,EAAQA,GAAU,CACjBA,IACHQ,EAAa,MAAM,MAAQ,GAC7B,CACD"}
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
import{l as m,a9 as r,aa as s,af as n,a2 as i}from"./index-BwWdPCLg.js";const l=m({__name:"x-form",emits:["formSubmit"],setup(f,{emit:e}){const t=e;function o(){t("formSubmit")}return(a,u)=>(r(),s("form",{onSubmit:i(o,["prevent"])},[n(a.$slots,"default")],32))}});export{l as default};
|
|
2
|
+
//# sourceMappingURL=x-form-2etnPUmf.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"x-form-2etnPUmf.js","sources":["../../../ds/shoelace/src/vue/form/x-form.vue"],"sourcesContent":["<script setup lang=\"ts\">\nconst emits = defineEmits([\"formSubmit\"]);\nfunction submit() {\n emits(\"formSubmit\");\n}\n</script>\n\n<template>\n <form @submit.prevent=\"submit\">\n <slot></slot>\n </form>\n</template>\n\n<style scoped></style>\n"],"names":["emits","__emit","submit"],"mappings":"0IACA,MAAMA,EAAQC,EACd,SAASC,GAAS,CAChBF,EAAM,YAAY,CACpB"}
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
import{l as s,a5 as m,a9 as i,ac as c,ad as e,E as f,af as u,a2 as l,u as _}from"./index-BwWdPCLg.js";import{V as p}from"./staticBuild-DaVk8OhA.js";const h=s({__name:"x-form",emits:["formSubmit"],setup(d,{emit:t}){const o=t;function a(){o("formSubmit")}return(n,b)=>{const r=m("v-container");return i(),c(_(p),{onSubmit:l(a,["prevent"])},{default:e(()=>[f(r,null,{default:e(()=>[u(n.$slots,"default")]),_:3})]),_:3})}}});export{h as default};
|
|
2
|
+
//# sourceMappingURL=x-form-6WjFitVZ.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"x-form-6WjFitVZ.js","sources":["../../../ds/vuetify/src/vue/form/x-form.vue"],"sourcesContent":["<script setup lang=\"ts\">\nimport { VForm } from \"vuetify/components/VForm\";\nconst emits = defineEmits([\"formSubmit\"]);\nfunction submit() {\n emits(\"formSubmit\");\n}\n</script>\n\n<template>\n <v-form @submit.prevent=\"submit\">\n <v-container>\n <slot></slot>\n </v-container>\n </v-form>\n</template>\n\n<style scoped></style>\n"],"names":["emits","__emit","submit"],"mappings":"sNAEA,MAAMA,EAAQC,EACd,SAASC,GAAS,CAChBF,EAAM,YAAY,CACpB"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"x-img-C0VJnfz2.js","sources":["../../../ds/shoelace/src/vue/x-img.vue"],"sourcesContent":["<!--\nSee the LICENSE file distributed with this work for additional\ninformation regarding copyright ownership.\n\nThis is free software; you can redistribute it and/or modify it\nunder the terms of the GNU Lesser General Public License as\npublished by the Free Software Foundation; either version 2.1 of\nthe License, or (at your option) any later version.\n\nThis software is distributed in the hope that it will be useful,\nbut WITHOUT ANY WARRANTY; without even the implied warranty of\nMERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU\nLesser General Public License for more details.\n\nYou should have received a copy of the GNU Lesser General Public\nLicense along with this software; if not, write to the Free\nSoftware Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA\n02110-1301 USA, or see the FSF site: http://www.fsf.org.\n-->\n<template>\n <!-- TODO: add an alt attribute for accessibility -->\n <img :src=\"src\" />\n</template>\n<script lang=\"ts\">\nexport default {\n props: { src: { type: String, required: true } },\n};\n</script>\n"],"names":["_sfc_main"],"mappings":"yDAwBA,MAAeA,EAAA,CACb,MAAO,CAAE,IAAK,CAAE,KAAM,OAAQ,SAAU,GAAO,CACjD"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"x-img-CI94figY.js","sources":["../../../ds/vuetify/src/vue/x-img.vue"],"sourcesContent":["<!--\nSee the LICENSE file distributed with this work for additional\ninformation regarding copyright ownership.\n\nThis is free software; you can redistribute it and/or modify it\nunder the terms of the GNU Lesser General Public License as\npublished by the Free Software Foundation; either version 2.1 of\nthe License, or (at your option) any later version.\n\nThis software is distributed in the hope that it will be useful,\nbut WITHOUT ANY WARRANTY; without even the implied warranty of\nMERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU\nLesser General Public License for more details.\n\nYou should have received a copy of the GNU Lesser General Public\nLicense along with this software; if not, write to the Free\nSoftware Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA\n02110-1301 USA, or see the FSF site: http://www.fsf.org.\n-->\n<template>\n <!-- TODO: add an alt attribute for accessibility -->\n <img :src=\"src\" />\n</template>\n<script lang=\"ts\">\nexport default {\n props: { src: { type: String, required: true } },\n};\n</script>\n"],"names":["_sfc_main"],"mappings":"yDAwBA,MAAeA,EAAA,CACb,MAAO,CAAE,IAAK,CAAE,KAAM,OAAQ,SAAU,GAAO,CACjD"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"x-img-ep-9amoQ.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"x-load-5_-B9I0p.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"x-load-BRJNFFsQ.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"x-load-CXyz5AZH.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}
|