@xwiki/cristal-electron-renderer 0.8.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.
Files changed (171) hide show
  1. package/CHANGELOG.md +26 -0
  2. package/LICENSE +505 -0
  3. package/dist/Marianne-Bold-CYjThbH0.woff2 +0 -0
  4. package/dist/Marianne-Bold-u6yfe4-h.woff +0 -0
  5. package/dist/Marianne-Bold_Italic-BWnPOpjP.woff +0 -0
  6. package/dist/Marianne-Bold_Italic-BqW9V1Nh.woff2 +0 -0
  7. package/dist/Marianne-Light-DqWaxKdz.woff +0 -0
  8. package/dist/Marianne-Light-DsZfzyg9.woff2 +0 -0
  9. package/dist/Marianne-Light_Italic-BJOCXSxu.woff +0 -0
  10. package/dist/Marianne-Light_Italic-Yne2G_jl.woff2 +0 -0
  11. package/dist/Marianne-Medium-CmsIrdJJ.woff +0 -0
  12. package/dist/Marianne-Medium-DptVAR1p.woff2 +0 -0
  13. package/dist/Marianne-Medium_Italic-BP8MGzkr.woff +0 -0
  14. package/dist/Marianne-Medium_Italic-WqZFT7wM.woff2 +0 -0
  15. package/dist/Marianne-Regular-CaCqrnJM.woff2 +0 -0
  16. package/dist/Marianne-Regular-DxIeSxmB.woff +0 -0
  17. package/dist/Marianne-Regular_Italic-BQJsTSNr.woff +0 -0
  18. package/dist/Marianne-Regular_Italic-DdH8FtNo.woff2 +0 -0
  19. package/dist/Spectral-ExtraBold-CCzfBm-A.woff2 +0 -0
  20. package/dist/Spectral-ExtraBold-U325s3c2.woff +0 -0
  21. package/dist/Spectral-Regular-D0Iocl0n.woff +0 -0
  22. package/dist/Spectral-Regular-PmBQicsR.woff2 +0 -0
  23. package/dist/bootstrap-icons-BOrJxbIo.woff +0 -0
  24. package/dist/bootstrap-icons-BtvjY1KL.woff2 +0 -0
  25. package/dist/chunk.2Y62WHSU-C8i5cHiy.js +121 -0
  26. package/dist/chunk.2Y62WHSU-C8i5cHiy.js.map +1 -0
  27. package/dist/chunk.6DH62NIS-CVBVc-bX.js +684 -0
  28. package/dist/chunk.6DH62NIS-CVBVc-bX.js.map +1 -0
  29. package/dist/chunk.GAND2OKP-lICOl7JF.js +89 -0
  30. package/dist/chunk.GAND2OKP-lICOl7JF.js.map +1 -0
  31. package/dist/chunk.I6OQK3N3-BBclK2fM.js +117 -0
  32. package/dist/chunk.I6OQK3N3-BBclK2fM.js.map +1 -0
  33. package/dist/chunk.KWPBDQ6I-Bf3dc1GJ.js +2 -0
  34. package/dist/chunk.KWPBDQ6I-Bf3dc1GJ.js.map +1 -0
  35. package/dist/chunk.LHI6QEL2-DbpPiPxS.js +75 -0
  36. package/dist/chunk.LHI6QEL2-DbpPiPxS.js.map +1 -0
  37. package/dist/chunk.MGEAXYVX-o-WC3ZVc.js +77 -0
  38. package/dist/chunk.MGEAXYVX-o-WC3ZVc.js.map +1 -0
  39. package/dist/chunk.NYIIDP5N-AHr3eTN0.js +2 -0
  40. package/dist/chunk.NYIIDP5N-AHr3eTN0.js.map +1 -0
  41. package/dist/chunk.TUZSOS6C-DxyWSdpL.js +38 -0
  42. package/dist/chunk.TUZSOS6C-DxyWSdpL.js.map +1 -0
  43. package/dist/chunk.WJBFYL4X-Cbeo_gEa.js +24 -0
  44. package/dist/chunk.WJBFYL4X-Cbeo_gEa.js.map +1 -0
  45. package/dist/chunk.WYDJ5QAQ-C81Elw3D.js +163 -0
  46. package/dist/chunk.WYDJ5QAQ-C81Elw3D.js.map +1 -0
  47. package/dist/chunk.XX4STEEY-COEpspdZ.js +455 -0
  48. package/dist/chunk.XX4STEEY-COEpspdZ.js.map +1 -0
  49. package/dist/chunk.Z6CYCANS-DF0ctyRp.js +134 -0
  50. package/dist/chunk.Z6CYCANS-DF0ctyRp.js.map +1 -0
  51. package/dist/class-map-C3Xk0adH.js +10 -0
  52. package/dist/class-map-C3Xk0adH.js.map +1 -0
  53. package/dist/config.json +106 -0
  54. package/dist/if-defined-DAvNwoU5.js +6 -0
  55. package/dist/if-defined-DAvNwoU5.js.map +1 -0
  56. package/dist/index-DK0YwuAW.js +411 -0
  57. package/dist/index-DK0YwuAW.js.map +1 -0
  58. package/dist/index-ScDkqPqn.css +28 -0
  59. package/dist/index.html +13 -0
  60. package/dist/materialdesignicons-webfont-B7mPwVP_.ttf +0 -0
  61. package/dist/materialdesignicons-webfont-CSr8KVlo.eot +0 -0
  62. package/dist/materialdesignicons-webfont-Dp5v-WZN.woff2 +0 -0
  63. package/dist/materialdesignicons-webfont-PXm3-2wK.woff +0 -0
  64. package/dist/no-one-Cv0r_Hkg.svg +15 -0
  65. package/dist/query-D1pSaKds.js +10 -0
  66. package/dist/query-D1pSaKds.js.map +1 -0
  67. package/dist/static-CdL8EPVS.js +7 -0
  68. package/dist/static-CdL8EPVS.js.map +1 -0
  69. package/dist/staticBuild-BlyaXHUF.css +1 -0
  70. package/dist/staticBuild-BoKVadnu.js +1063 -0
  71. package/dist/staticBuild-BoKVadnu.js.map +1 -0
  72. package/dist/worker-CybHddrE.js +211 -0
  73. package/dist/worker-CybHddrE.js.map +1 -0
  74. package/dist/x-alert-7r5rx0d7.js +2 -0
  75. package/dist/x-alert-7r5rx0d7.js.map +1 -0
  76. package/dist/x-alert-l0oP9PUN.js +2 -0
  77. package/dist/x-alert-l0oP9PUN.js.map +1 -0
  78. package/dist/x-alert-uqeGd1IW.js +2 -0
  79. package/dist/x-alert-uqeGd1IW.js.map +1 -0
  80. package/dist/x-avatar-BARZZcgr.js +2 -0
  81. package/dist/x-avatar-BARZZcgr.js.map +1 -0
  82. package/dist/x-avatar-CfnVd4CE.css +1 -0
  83. package/dist/x-avatar-DnbaVGNC.js +2 -0
  84. package/dist/x-avatar-DnbaVGNC.js.map +1 -0
  85. package/dist/x-avatar-rzw6K8Wc.js +2 -0
  86. package/dist/x-avatar-rzw6K8Wc.js.map +1 -0
  87. package/dist/x-breadcrumb-CzKs24Jh.js +2 -0
  88. package/dist/x-breadcrumb-CzKs24Jh.js.map +1 -0
  89. package/dist/x-breadcrumb-VokcqVrB.js +2 -0
  90. package/dist/x-breadcrumb-VokcqVrB.js.map +1 -0
  91. package/dist/x-btn-BNO2Vh9q.js +2 -0
  92. package/dist/x-btn-BNO2Vh9q.js.map +1 -0
  93. package/dist/x-btn-BeE4ChBm.js +2 -0
  94. package/dist/x-btn-BeE4ChBm.js.map +1 -0
  95. package/dist/x-btn-D2HJcK1C.css +1 -0
  96. package/dist/x-btn-DOkDF37q.js +2 -0
  97. package/dist/x-btn-DOkDF37q.js.map +1 -0
  98. package/dist/x-card-BzquGj3n.js +2 -0
  99. package/dist/x-card-BzquGj3n.js.map +1 -0
  100. package/dist/x-card-D6loY5Bx.js +2 -0
  101. package/dist/x-card-D6loY5Bx.js.map +1 -0
  102. package/dist/x-card-D_W5kTzv.js +2 -0
  103. package/dist/x-card-D_W5kTzv.js.map +1 -0
  104. package/dist/x-col-B5OPXPr8.js +2 -0
  105. package/dist/x-col-B5OPXPr8.js.map +1 -0
  106. package/dist/x-col-KJDQojCc.js +2 -0
  107. package/dist/x-col-KJDQojCc.js.map +1 -0
  108. package/dist/x-container-e-eRQnv6.js +2 -0
  109. package/dist/x-container-e-eRQnv6.js.map +1 -0
  110. package/dist/x-container-e4wjA5VY.js +2 -0
  111. package/dist/x-container-e4wjA5VY.js.map +1 -0
  112. package/dist/x-dialog-D6r8mi6-.js +2 -0
  113. package/dist/x-dialog-D6r8mi6-.js.map +1 -0
  114. package/dist/x-dialog-DYWxApRD.js +2 -0
  115. package/dist/x-dialog-DYWxApRD.js.map +1 -0
  116. package/dist/x-dialog-oAn88o9T.js +2 -0
  117. package/dist/x-dialog-oAn88o9T.js.map +1 -0
  118. package/dist/x-divider-BCwuNKpo.js +2 -0
  119. package/dist/x-divider-BCwuNKpo.js.map +1 -0
  120. package/dist/x-divider-BnEfygqi.js +2 -0
  121. package/dist/x-divider-BnEfygqi.js.map +1 -0
  122. package/dist/x-divider-rvXgbWfE.js +2 -0
  123. package/dist/x-divider-rvXgbWfE.js.map +1 -0
  124. package/dist/x-img-B2B5glWY.js +2 -0
  125. package/dist/x-img-B2B5glWY.js.map +1 -0
  126. package/dist/x-img-Bj_1ZxwL.js +2 -0
  127. package/dist/x-img-Bj_1ZxwL.js.map +1 -0
  128. package/dist/x-img-iz7nX54V.js +2 -0
  129. package/dist/x-img-iz7nX54V.js.map +1 -0
  130. package/dist/x-load-B-IMf3jW.js +2 -0
  131. package/dist/x-load-B-IMf3jW.js.map +1 -0
  132. package/dist/x-load-DKS8UJZy.js +2 -0
  133. package/dist/x-load-DKS8UJZy.js.map +1 -0
  134. package/dist/x-load-DYuGRQQC.css +1 -0
  135. package/dist/x-load-Diex9fJK.js +2 -0
  136. package/dist/x-load-Diex9fJK.js.map +1 -0
  137. package/dist/x-load-DyIF2nXd.css +5 -0
  138. package/dist/x-load-THoDQrSz.css +3 -0
  139. package/dist/x-menu-BBb2QzOu.js +2 -0
  140. package/dist/x-menu-BBb2QzOu.js.map +1 -0
  141. package/dist/x-menu-BKquCdsX.js +4963 -0
  142. package/dist/x-menu-BKquCdsX.js.map +1 -0
  143. package/dist/x-menu-Ce37WOnf.js +2 -0
  144. package/dist/x-menu-Ce37WOnf.js.map +1 -0
  145. package/dist/x-menu-item-JuTN7QVh.js +2 -0
  146. package/dist/x-menu-item-JuTN7QVh.js.map +1 -0
  147. package/dist/x-menuitem-CNKTVGiE.js +2 -0
  148. package/dist/x-menuitem-CNKTVGiE.js.map +1 -0
  149. package/dist/x-menuitem-CVO0asxe.js +2 -0
  150. package/dist/x-menuitem-CVO0asxe.js.map +1 -0
  151. package/dist/x-row-B5OPXPr8.js +2 -0
  152. package/dist/x-row-B5OPXPr8.js.map +1 -0
  153. package/dist/x-row-KJDQojCc.js +2 -0
  154. package/dist/x-row-KJDQojCc.js.map +1 -0
  155. package/dist/x-search-B0oJfSre.js +2 -0
  156. package/dist/x-search-B0oJfSre.js.map +1 -0
  157. package/dist/x-search-D_rjUBBL.js +2 -0
  158. package/dist/x-search-D_rjUBBL.js.map +1 -0
  159. package/dist/x-textfield-CRySrmrj.js +2 -0
  160. package/dist/x-textfield-CRySrmrj.js.map +1 -0
  161. package/dist/x-textfield-GtnNDOX1.js +2 -0
  162. package/dist/x-textfield-GtnNDOX1.js.map +1 -0
  163. package/dist/xwiki-logo-color-DZ9bdNW4.svg +18 -0
  164. package/index.html +12 -0
  165. package/package.json +38 -0
  166. package/public/config.json +106 -0
  167. package/src/index.ts +50 -0
  168. package/src/vite-env.d.ts +27 -0
  169. package/src/vue.d.ts +32 -0
  170. package/tsconfig.json +21 -0
  171. package/vite.config.js +79 -0
@@ -0,0 +1,2 @@
1
+ import{m as c,a8 as o,ac as l,af as p,ag as e,ah as m,am as _,an as i,ai as t,I as u}from"./index-DK0YwuAW.js";const h=c({__name:"x-menu",props:{title:{}},setup(d){return(a,v)=>{const s=o("v-list"),n=o("v-menu");return l(),p(n,{"open-on-hover":""},{activator:e(({props:r})=>[m("span",_(i(r)),[t(a.$slots,"activator")],16)]),default:e(()=>[u(s,null,{default:e(()=>[t(a.$slots,"default")]),_:3})]),_:3})}}});export{h as default};
2
+ //# sourceMappingURL=x-menu-Ce37WOnf.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"x-menu-Ce37WOnf.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}
@@ -0,0 +1,2 @@
1
+ import{m as a,a8 as o,ac as s,af as n,ag as l,ai as r}from"./index-DK0YwuAW.js";const p=a({__name:"x-menu-item",props:{title:{}},setup(m){return(e,_)=>{const t=o("v-list-item");return s(),n(t,null,{default:l(()=>[r(e.$slots,"default")]),_:3})}}});export{p as default};
2
+ //# sourceMappingURL=x-menu-item-JuTN7QVh.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"x-menu-item-JuTN7QVh.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}
@@ -0,0 +1,2 @@
1
+ import{V as a,z as o}from"./staticBuild-BoKVadnu.js";import{m as n,ac as r,af as s,ag as l,I as i,u as t}from"./index-DK0YwuAW.js";const f=n({__name:"x-menuitem",props:{title:{},link:{}},setup(m){return(e,p)=>(r(),s(t(o),null,{default:l(()=>[i(t(a),{to:e.link,text:e.title},null,8,["to","text"])]),_:1}))}});export{f as default};
2
+ //# sourceMappingURL=x-menuitem-CNKTVGiE.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"x-menuitem-CNKTVGiE.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}
@@ -0,0 +1,2 @@
1
+ import"./chunk.WJBFYL4X-Cbeo_gEa.js";import"./chunk.TUZSOS6C-DxyWSdpL.js";import{m as t,a8 as o,ac as n,af as s,ag as m,ai as r}from"./index-DK0YwuAW.js";import"./query-D1pSaKds.js";const f=t({__name:"x-menuitem",props:{value:{}},setup(l){return(e,p)=>{const a=o("sl-menu-item");return n(),s(a,{value:e.value},{default:m(()=>[r(e.$slots,"default")]),_:3},8,["value"])}}});export{f as default};
2
+ //# sourceMappingURL=x-menuitem-CVO0asxe.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"x-menuitem-CVO0asxe.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}
@@ -0,0 +1,2 @@
1
+ import{ax as a,ac as o,ad as r,ai as t}from"./index-DK0YwuAW.js";const c={};function n(e,s){return o(),r("div",null,[t(e.$slots,"default")])}const d=a(c,[["render",n]]);export{d as default};
2
+ //# sourceMappingURL=x-row-B5OPXPr8.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"x-row-B5OPXPr8.js","sources":["../../../ds/dsfr/src/vue/x-row.vue"],"sourcesContent":["<!--\n * See the LICENSE file distributed with this work for additional\n * information regarding copyright ownership.\n *\n * This is free software; you can redistribute it and/or modify it\n * under the terms of the GNU Affero General Public License as\n * published by the Free Software Foundation; either version 2.1 of\n * the License, or (at your option) any later version.\n *\n * This software is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU\n * Lesser General Public License for more details.\n *\n * You should have received a copy of the GNU Affero General Public\n * License along with this software; if not, write to the Free\n * Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA\n * 02110-1301 USA, or see the FSF site: http://www.fsf.org.\n *\n * This file is part of the Cristal Wiki software prototype\n * @copyright Copyright (c) 2023 XWiki SAS\n * @license http://opensource.org/licenses/AGPL-3.0 AGPL-3.0\n *\n **/\n-->\n<template>\n <div>\n <slot />\n </div>\n</template>\n"],"names":["_cache","_openBlock","_createElementBlock"],"mappings":"yFA4BQA,EAAA,QADIC,EAAA,EAAAC,EAAA,MAAA,KAAA"}
@@ -0,0 +1,2 @@
1
+ import{ax as a,ac as o,ad as r,ai as t}from"./index-DK0YwuAW.js";const c={};function n(e,s){return o(),r("div",null,[t(e.$slots,"default")])}const d=a(c,[["render",n]]);export{d as default};
2
+ //# sourceMappingURL=x-row-KJDQojCc.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"x-row-KJDQojCc.js","sources":["../../../ds/shoelace/src/vue/x-row.vue"],"sourcesContent":["<!--\n * See the LICENSE file distributed with this work for additional\n * information regarding copyright ownership.\n *\n * This is free software; you can redistribute it and/or modify it\n * under the terms of the GNU Affero General Public License as\n * published by the Free Software Foundation; either version 2.1 of\n * the License, or (at your option) any later version.\n *\n * This software is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU\n * Lesser General Public License for more details.\n *\n * You should have received a copy of the GNU Affero General Public\n * License along with this software; if not, write to the Free\n * Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA\n * 02110-1301 USA, or see the FSF site: http://www.fsf.org.\n *\n * This file is part of the Cristal Wiki software prototype\n * @copyright Copyright (c) 2023 XWiki SAS\n * @license http://opensource.org/licenses/AGPL-3.0 AGPL-3.0\n *\n **/\n-->\n<template>\n <div>\n <slot />\n </div>\n</template>\n"],"names":["_cache","_openBlock","_createElementBlock"],"mappings":"yFA4BQA,EAAA,QADIC,EAAA,EAAAC,EAAA,MAAA,KAAA"}
@@ -0,0 +1,2 @@
1
+ import"./chunk.XX4STEEY-COEpspdZ.js";import"./chunk.TUZSOS6C-DxyWSdpL.js";import"./chunk.KWPBDQ6I-Bf3dc1GJ.js";import"./if-defined-DAvNwoU5.js";import"./chunk.I6OQK3N3-BBclK2fM.js";import{m as a,a8 as o,ac as p,af as r,ag as n,I as s}from"./index-DK0YwuAW.js";import"./chunk.NYIIDP5N-AHr3eTN0.js";import"./class-map-C3Xk0adH.js";import"./query-D1pSaKds.js";const B=a({__name:"x-search",setup(m){return(c,i)=>{const e=o("sl-icon"),t=o("sl-input");return p(),r(t,{placeholder:"Search",size:"small",pill:""},{default:n(()=>[s(e,{slot:"prefix",name:"home"})]),_:1})}}});export{B as default};
2
+ //# sourceMappingURL=x-search-B0oJfSre.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"x-search-B0oJfSre.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}
@@ -0,0 +1,2 @@
1
+ import{ax as o,a8 as c,ac as n,af as a}from"./index-DK0YwuAW.js";const t={};function r(s,i){const e=c("v-autocomplete");return n(),a(e,{density:"comfortable","menu-icon":"",placeholder:"Search","prepend-inner-icon":"mdi-magnify",variant:"solo","auto-select-first":"",rounded:""})}const m=o(t,[["render",r]]);export{m as default};
2
+ //# sourceMappingURL=x-search-D_rjUBBL.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"x-search-D_rjUBBL.js","sources":["../../../ds/vuetify/src/vue/x-search.vue"],"sourcesContent":["<!--\n * See the LICENSE file distributed with this work for additional\n * information regarding copyright ownership.\n *\n * This is free software; you can redistribute it and/or modify it\n * under the terms of the GNU Affero General Public License as\n * published by the Free Software Foundation; either version 2.1 of\n * the License, or (at your option) any later version.\n *\n * This software is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU\n * Lesser General Public License for more details.\n *\n * You should have received a copy of the GNU Affero General Public\n * License along with this software; if not, write to the Free\n * Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA\n * 02110-1301 USA, or see the FSF site: http://www.fsf.org.\n *\n * This file is part of the Cristal Wiki software prototype\n * @copyright Copyright (c) 2023 XWiki SAS\n * @license http://opensource.org/licenses/AGPL-3.0 AGPL-3.0\n *\n **/\n-->\n<script setup lang=\"ts\"></script>\n\n<template>\n <v-autocomplete\n density=\"comfortable\"\n menu-icon=\"\"\n placeholder=\"Search\"\n prepend-inner-icon=\"mdi-magnify\"\n variant=\"solo\"\n auto-select-first\n rounded\n ></v-autocomplete>\n</template>\n\n<style scoped></style>\n"],"names":["_openBlock","_createBlock","_component_v_autocomplete"],"mappings":"wHA6BI,OAAAA,EAAqB,EAAAC,EAAAC,EAAA,CACrB,QAAA,cACA,YAAY,GACZ,YAAA,SACA,qBAAc,cACd,QAAA,OACA,oBAAO"}
@@ -0,0 +1,2 @@
1
+ import{ax as e,ac as t,ad as c}from"./index-DK0YwuAW.js";const n={},o={type:"text"};function a(r,s){return t(),c("input",o)}const f=e(n,[["render",a]]);export{f as default};
2
+ //# sourceMappingURL=x-textfield-CRySrmrj.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"x-textfield-CRySrmrj.js","sources":["../../../ds/dsfr/src/vue/x-textfield.vue"],"sourcesContent":["<!--\n * See the LICENSE file distributed with this work for additional\n * information regarding copyright ownership.\n *\n * This is free software; you can redistribute it and/or modify it\n * under the terms of the GNU Affero General Public License as\n * published by the Free Software Foundation; either version 2.1 of\n * the License, or (at your option) any later version.\n *\n * This software is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU\n * Lesser General Public License for more details.\n *\n * You should have received a copy of the GNU Affero General Public\n * License along with this software; if not, write to the Free\n * Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA\n * 02110-1301 USA, or see the FSF site: http://www.fsf.org.\n *\n * This file is part of the Cristal Wiki software prototype\n * @copyright Copyright (c) 2023 XWiki SAS\n * @license http://opensource.org/licenses/AGPL-3.0 AGPL-3.0\n *\n **/\n-->\n<template>\n <input type=\"text\" />\n</template>\n"],"names":["_sfc_render","_ctx","_cache"],"mappings":"oFA0BE,SAAAA,EAAAC,EAAAC,EAAA"}
@@ -0,0 +1,2 @@
1
+ import{ax as e,ac as t,ad as c}from"./index-DK0YwuAW.js";const n={},o={type:"text"};function a(r,s){return t(),c("input",o)}const f=e(n,[["render",a]]);export{f as default};
2
+ //# sourceMappingURL=x-textfield-GtnNDOX1.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"x-textfield-GtnNDOX1.js","sources":["../../../ds/shoelace/src/vue/x-textfield.vue"],"sourcesContent":["<!--\n * See the LICENSE file distributed with this work for additional\n * information regarding copyright ownership.\n *\n * This is free software; you can redistribute it and/or modify it\n * under the terms of the GNU Affero General Public License as\n * published by the Free Software Foundation; either version 2.1 of\n * the License, or (at your option) any later version.\n *\n * This software is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU\n * Lesser General Public License for more details.\n *\n * You should have received a copy of the GNU Affero General Public\n * License along with this software; if not, write to the Free\n * Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA\n * 02110-1301 USA, or see the FSF site: http://www.fsf.org.\n *\n * This file is part of the Cristal Wiki software prototype\n * @copyright Copyright (c) 2023 XWiki SAS\n * @license http://opensource.org/licenses/AGPL-3.0 AGPL-3.0\n *\n **/\n-->\n<template>\n <input type=\"text\" />\n</template>\n"],"names":["_sfc_render","_ctx","_cache"],"mappings":"oFA0BE,SAAAA,EAAAC,EAAAC,EAAA"}
@@ -0,0 +1,18 @@
1
+ <svg width="72" height="22" viewBox="0 0 72 22" fill="none" xmlns="http://www.w3.org/2000/svg">
2
+ <g clip-path="url(#clip0_643_24486)">
3
+ <path d="M31.5832 2.77717C31.8169 2.11297 32.2545 1.91589 32.8959 1.91589C33.5374 1.91589 33.9749 2.11297 34.2076 2.77717L38.99 16.9278H39.0486L41.7605 2.92524C41.9067 2.21098 42.3731 1.91589 43.1597 1.91589C43.8897 1.91589 44.3273 2.35905 44.3273 2.90021C44.3212 3.27383 44.2721 3.64546 44.1811 4.00757L41.0316 18.3063C40.8566 19.0695 40.4777 19.7337 39.1949 19.7337C38.2034 19.7337 37.5908 19.5127 37.182 18.3063L32.9248 5.46007H32.8671L28.6098 18.3063C28.198 19.5127 27.5885 19.7337 26.597 19.7337C25.3142 19.7337 24.9353 19.0695 24.7603 18.3063L21.6108 4.00757C21.5198 3.64546 21.4707 3.27383 21.4646 2.90021C21.4646 2.35905 21.9022 1.91589 22.6311 1.91589C23.4187 1.91589 23.8851 2.21098 24.0313 2.92524L26.7432 16.9278H26.8009L31.5832 2.77717Z" fill="#F78D1E"/>
4
+ <path d="M49.3164 18.5753C49.3164 19.2885 48.8201 19.7316 48.0335 19.7316C47.2469 19.7316 46.7424 19.2906 46.7424 18.5753V3.07226C46.7424 2.35905 47.2387 1.91589 48.0263 1.91589C48.8139 1.91589 49.3164 2.35905 49.3164 3.07226V18.5753Z" fill="#F78D1E"/>
5
+ <path d="M55.2623 18.5753C55.2623 19.2885 54.766 19.7316 53.9784 19.7316C53.1908 19.7316 52.6956 19.2885 52.6956 18.5753V3.07226C52.6956 2.35905 53.1918 1.91589 53.9784 1.91589C54.765 1.91589 55.2623 2.35905 55.2623 3.07226V9.47137L64.1557 2.60513C64.6221 2.23601 65.0309 1.91589 65.5559 1.91589C66.1974 1.91589 66.6638 2.28501 66.6638 2.85433C66.6638 3.42365 66.43 3.61655 66.1387 3.83865L57.6241 10.3108L66.9222 17.8881C67.334 18.2082 67.4473 18.4543 67.4473 18.7734C67.4473 19.2947 66.8923 19.7337 66.1932 19.7337C65.8144 19.7337 65.4633 19.6847 64.9392 19.2666L55.2612 11.2429L55.2623 18.5753Z" fill="#F78D1E"/>
6
+ <path d="M72.0001 18.5753C72.0001 19.2885 71.5038 19.7316 70.7162 19.7316C69.9286 19.7316 69.4333 19.2885 69.4333 18.5753V3.07226C69.4333 2.35905 69.9296 1.91589 70.7162 1.91589C71.5028 1.91589 72.0001 2.35905 72.0001 3.07226V18.5753Z" fill="#F78D1E"/>
7
+ <path d="M3.71675 11.7038C3.90089 11.7035 4.07739 11.6292 4.2075 11.4973C4.33761 11.3653 4.41069 11.1865 4.41068 11C4.41069 10.8135 4.33761 10.6346 4.2075 10.5027C4.07739 10.3707 3.90089 10.2964 3.71675 10.2961H0.694961C0.510646 10.2961 0.33388 10.3703 0.203549 10.5023C0.0732189 10.6343 0 10.8133 0 11C0 11.1866 0.0732189 11.3657 0.203549 11.4977C0.33388 11.6296 0.510646 11.7038 0.694961 11.7038H3.71675Z" fill="#008FD4"/>
8
+ <path d="M9.22485 17.2834C9.22485 17.0968 9.29807 16.9177 9.4284 16.7857C9.55873 16.6537 9.7355 16.5796 9.91981 16.5796C10.1041 16.5796 10.2809 16.6537 10.4112 16.7857C10.5416 16.9177 10.6148 17.0968 10.6148 17.2834V20.3479C10.6148 20.5346 10.5416 20.7136 10.4112 20.8456C10.2809 20.9776 10.1041 21.0518 9.91981 21.0518C9.7355 21.0518 9.55873 20.9776 9.4284 20.8456C9.29807 20.7136 9.22485 20.5346 9.22485 20.3479V17.2834Z" fill="#ED1C24"/>
9
+ <path d="M9.22485 1.65628C9.22513 1.46979 9.29847 1.29104 9.42877 1.15927C9.55907 1.0275 9.73568 0.953491 9.91981 0.953491C10.104 0.953491 10.2806 1.0275 10.4109 1.15927C10.5412 1.29104 10.6145 1.46979 10.6148 1.65628V4.71663C10.6148 4.9033 10.5416 5.08232 10.4112 5.21431C10.2809 5.34631 10.1041 5.42046 9.91981 5.42046C9.7355 5.42046 9.55873 5.34631 9.4284 5.21431C9.29807 5.08232 9.22485 4.9033 9.22485 4.71663V1.65628Z" fill="#8CC63F"/>
10
+ <path d="M11.5683 10.9635L17.408 4.09103C17.5142 3.96601 17.5951 3.82103 17.646 3.66437C17.6969 3.5077 17.7168 3.34243 17.7046 3.17797C17.6924 3.01351 17.6483 2.8531 17.5749 2.70588C17.5015 2.55867 17.4002 2.42754 17.2768 2.31998C17.1533 2.21242 17.0102 2.13054 16.8555 2.07901C16.7008 2.02748 16.5376 2.00731 16.3752 2.01966C16.2128 2.03201 16.0544 2.07662 15.9091 2.15096C15.7637 2.2253 15.6342 2.32791 15.528 2.45293L9.93232 9.03451L4.3366 2.44876C4.12211 2.19627 3.81737 2.04042 3.48942 2.01549C3.16147 1.99056 2.83718 2.09859 2.58787 2.31581C2.33857 2.53304 2.18468 2.84166 2.16006 3.1738C2.13545 3.50593 2.24211 3.83437 2.4566 4.08685L8.29633 10.9635L2.4566 17.8319C2.35033 17.9569 2.26941 18.1019 2.21847 18.2586C2.16753 18.4152 2.14756 18.5806 2.1597 18.7451C2.17184 18.9096 2.21586 19.07 2.28924 19.2173C2.36261 19.3646 2.46392 19.4958 2.58736 19.6034C2.83666 19.8208 3.16101 19.9289 3.48906 19.9041C3.81711 19.8793 4.12198 19.7235 4.3366 19.471L9.93232 12.8852L15.528 19.471C15.7427 19.7235 16.0475 19.8793 16.3756 19.9041C16.7036 19.9289 17.028 19.8208 17.2773 19.6034C17.5266 19.3861 17.6804 19.0773 17.7049 18.7451C17.7295 18.4128 17.6227 18.0843 17.408 17.8319L11.5683 10.9635Z" fill="#626366"/>
11
+ <path d="M19.0647 11.7194C19.2488 11.7192 19.4253 11.6449 19.5554 11.5129C19.6855 11.3809 19.7586 11.2021 19.7586 11.0156C19.7586 10.8291 19.6855 10.6502 19.5554 10.5183C19.4253 10.3863 19.2488 10.312 19.0647 10.3118H16.0429C15.8585 10.3118 15.6818 10.3859 15.5514 10.5179C15.4211 10.6499 15.3479 10.8289 15.3479 11.0156C15.3479 11.2023 15.4211 11.3813 15.5514 11.5133C15.6818 11.6453 15.8585 11.7194 16.0429 11.7194H19.0647Z" fill="#F78D1E"/>
12
+ </g>
13
+ <defs>
14
+ <clipPath id="clip0_643_24486">
15
+ <rect width="72" height="20.093" fill="white" transform="translate(0 0.953491)"/>
16
+ </clipPath>
17
+ </defs>
18
+ </svg>
package/index.html ADDED
@@ -0,0 +1,12 @@
1
+ <!doctype html>
2
+ <html>
3
+ <head lang="en">
4
+ <meta charset="utf-8">
5
+ <meta name="viewport" content="width=device-width">
6
+ <title>Cristal Wiki</title>
7
+ <script type="module" src="./src/index.ts"></script>
8
+ </head>
9
+ <body>
10
+ <div id="app"></div>
11
+ </body>
12
+ </html>
package/package.json ADDED
@@ -0,0 +1,38 @@
1
+ {
2
+ "name": "@xwiki/cristal-electron-renderer",
3
+ "version": "0.8.0",
4
+ "license": "AGPL-3.0",
5
+ "author": "XWiki Org Community <contact@xwiki.org>",
6
+ "homepage": "https://cristal.xwiki.org/",
7
+ "repository": {
8
+ "type": "git",
9
+ "directory": "electron/renderer",
10
+ "url": "https://github.com/xwiki-contrib/cristal/"
11
+ },
12
+ "bugs": {
13
+ "url": "https://jira.xwiki.org/projects/CRISTAL/"
14
+ },
15
+ "dependencies": {
16
+ "inversify": "6.0.2",
17
+ "vue": "3.4.27",
18
+ "@xwiki/cristal-electron-storage": "0.8.0",
19
+ "@xwiki/cristal-lib": "0.8.0",
20
+ "@xwiki/cristal-browser-electron": "0.8.0"
21
+ },
22
+ "devDependencies": {
23
+ "@types/node": "20.12.12",
24
+ "rimraf": "5.0.7",
25
+ "typescript": "5.4.5",
26
+ "vite": "5.2.11"
27
+ },
28
+ "scripts": {
29
+ "build": "pnpm compile",
30
+ "clean": "rimraf dist",
31
+ "compile": "vite build",
32
+ "electron": "echo 'no task'",
33
+ "lint": "eslint \"./src/**/*.{ts,tsx}\" --max-warnings=0",
34
+ "linux": "echo 'no task'",
35
+ "package": "echo 'no task'",
36
+ "test": "echo 'no test'"
37
+ }
38
+ }
@@ -0,0 +1,106 @@
1
+ {
2
+ "FileSystem": {
3
+ "name": "FileSystem",
4
+ "configType": "FileSystem",
5
+ "serverRendering": false,
6
+ "offline": false,
7
+ "designSystem": "vuetify"
8
+ },
9
+ "FileSystemSL": {
10
+ "name": "FileSystemSL",
11
+ "configType": "FileSystem",
12
+ "serverRendering": false,
13
+ "offline": false,
14
+ "designSystem": "shoelace"
15
+ },
16
+ "XWiki": {
17
+ "name": "XWiki",
18
+ "configType": "XWiki",
19
+ "serverRendering": false,
20
+ "offline": false,
21
+ "baseURL": "http://localhost:15680/xwiki",
22
+ "baseRestURL": "/rest/cristal/page?media=json",
23
+ "homePage": "Main.WebHome",
24
+ "designSystem": "vuetify"
25
+ },
26
+ "XWikiOffline": {
27
+ "name": "XWikiOffline",
28
+ "configType": "XWiki",
29
+ "serverRendering": false,
30
+ "offline": true,
31
+ "baseURL": "http://localhost:15680/xwiki",
32
+ "baseRestURL": "/rest/cristal/page?media=json",
33
+ "homePage": "Main.WebHome",
34
+ "designSystem": "vuetify"
35
+ },
36
+ "XWikiSSR": {
37
+ "name": "XWikiSSR",
38
+ "configType": "XWiki",
39
+ "serverRendering": true,
40
+ "offline": false,
41
+ "baseURL": "http://localhost:15680/xwiki",
42
+ "baseRestURL": "/rest/cristal/page?media=json",
43
+ "homePage": "Main.WebHome",
44
+ "designSystem": "vuetify"
45
+ },
46
+ "XWikiDSFR": {
47
+ "name": "XWikiDSFR",
48
+ "configType": "XWiki",
49
+ "serverRendering": false,
50
+ "offline": false,
51
+ "baseURL": "http://localhost:15680/xwiki",
52
+ "baseRestURL": "/rest/cristal/page?media=json",
53
+ "homePage": "Main.WebHome",
54
+ "designSystem": "dsfr"
55
+ },
56
+ "XWikiSL": {
57
+ "name": "XWikiSL",
58
+ "configType": "XWiki",
59
+ "serverRendering": false,
60
+ "offline": false,
61
+ "baseURL": "http://localhost:15680/xwiki",
62
+ "baseRestURL": "/rest/cristal/page?media=json",
63
+ "homePage": "Main.WebHome",
64
+ "designSystem": "shoelace"
65
+ },
66
+ "Cristal": {
67
+ "name": "Cristal",
68
+ "configType": "XWiki",
69
+ "serverRendering": false,
70
+ "offline": false,
71
+ "baseURL": "https://cristal.demo.xwiki.com/xwiki",
72
+ "baseRestURL": "/rest/cristal/page?media=json",
73
+ "homePage": "Main.WebHome",
74
+ "designSystem": "vuetify"
75
+ },
76
+ "GitHub": {
77
+ "name": "GitHub",
78
+ "configType": "GitHub",
79
+ "serverRendering": false,
80
+ "offline": false,
81
+ "baseURL": "https://github.com/ldubost/test/tree/master/",
82
+ "baseRestURL": "https://raw.githubusercontent.com/ldubost/test/master/",
83
+ "homePage": "README.md",
84
+ "designSystem": "vuetify"
85
+ },
86
+ "GitHubOffline": {
87
+ "name": "GitHubOffline",
88
+ "configType": "GitHub",
89
+ "serverRendering": false,
90
+ "offline": true,
91
+ "baseURL": "https://github.com/ldubost/test/tree/master/",
92
+ "baseRestURL": "https://raw.githubusercontent.com/ldubost/test/master/",
93
+ "homePage": "README.md",
94
+ "designSystem": "vuetify"
95
+ },
96
+ "GitHubSL": {
97
+ "name": "GitHubSL",
98
+ "configType": "GitHub",
99
+ "serverRendering": false,
100
+ "offline": false,
101
+ "baseURL": "https://github.com/ldubost/test/tree/master/",
102
+ "baseRestURL": "https://raw.githubusercontent.com/ldubost/test/master/",
103
+ "homePage": "README.md",
104
+ "designSystem": "shoelace"
105
+ }
106
+ }
package/src/index.ts ADDED
@@ -0,0 +1,50 @@
1
+ /**
2
+ * See the LICENSE file distributed with this work for additional
3
+ * information regarding copyright ownership.
4
+ *
5
+ * This is free software; you can redistribute it and/or modify it
6
+ * under the terms of the GNU Affero General Public License as
7
+ * published by the Free Software Foundation; either version 2.1 of
8
+ * the License, or (at your option) any later version.
9
+ *
10
+ * This software is distributed in the hope that it will be useful,
11
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
12
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
13
+ * Lesser General Public License for more details.
14
+ *
15
+ * You should have received a copy of the GNU Affero General Public
16
+ * License along with this software; if not, write to the Free
17
+ * Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
18
+ * 02110-1301 USA, or see the FSF site: http://www.fsf.org.
19
+ *
20
+ * This file is part of the Cristal Wiki software prototype
21
+ * @copyright Copyright (c) 2023 XWiki SAS
22
+ * @license http://opensource.org/licenses/AGPL-3.0 AGPL-3.0
23
+ *
24
+ **/
25
+
26
+ import { CristalAppLoader, loadConfig } from "@xwiki/cristal-lib";
27
+ import { ComponentInit as ElectronStorageComponentInit } from "@xwiki/cristal-electron-storage";
28
+ import { ComponentInit as BrowserComponentInit } from "@xwiki/cristal-browser-electron";
29
+ import { Container } from "inversify";
30
+
31
+ CristalAppLoader.init(
32
+ [
33
+ "skin",
34
+ "dsvuetify",
35
+ "dsfr",
36
+ "dsshoelace",
37
+ "macros",
38
+ "storage",
39
+ "extension-menubuttons",
40
+ "sharedworker",
41
+ ],
42
+ loadConfig("./config.json"),
43
+ true,
44
+ true,
45
+ "FileSystemSL",
46
+ (container: Container) => {
47
+ new ElectronStorageComponentInit(container);
48
+ new BrowserComponentInit(container);
49
+ },
50
+ );
@@ -0,0 +1,27 @@
1
+ /**
2
+ * See the LICENSE file distributed with this work for additional
3
+ * information regarding copyright ownership.
4
+ *
5
+ * This is free software; you can redistribute it and/or modify it
6
+ * under the terms of the GNU Affero General Public License as
7
+ * published by the Free Software Foundation; either version 2.1 of
8
+ * the License, or (at your option) any later version.
9
+ *
10
+ * This software is distributed in the hope that it will be useful,
11
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
12
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
13
+ * Lesser General Public License for more details.
14
+ *
15
+ * You should have received a copy of the GNU Affero General Public
16
+ * License along with this software; if not, write to the Free
17
+ * Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
18
+ * 02110-1301 USA, or see the FSF site: http://www.fsf.org.
19
+ *
20
+ * This file is part of the Cristal Wiki software prototype
21
+ * @copyright Copyright (c) 2023 XWiki SAS
22
+ * @license http://opensource.org/licenses/AGPL-3.0 AGPL-3.0
23
+ *
24
+ **/
25
+
26
+ /// <reference types="vite-plugin-comlink/client" />
27
+ // eslint-disable-line
package/src/vue.d.ts ADDED
@@ -0,0 +1,32 @@
1
+ /**
2
+ * See the LICENSE file distributed with this work for additional
3
+ * information regarding copyright ownership.
4
+ *
5
+ * This is free software; you can redistribute it and/or modify it
6
+ * under the terms of the GNU Affero General Public License as
7
+ * published by the Free Software Foundation; either version 2.1 of
8
+ * the License, or (at your option) any later version.
9
+ *
10
+ * This software is distributed in the hope that it will be useful,
11
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
12
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
13
+ * Lesser General Public License for more details.
14
+ *
15
+ * You should have received a copy of the GNU Affero General Public
16
+ * License along with this software; if not, write to the Free
17
+ * Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
18
+ * 02110-1301 USA, or see the FSF site: http://www.fsf.org.
19
+ *
20
+ * This file is part of the Cristal Wiki software prototype
21
+ * @copyright Copyright (c) 2023 XWiki SAS
22
+ * @license http://opensource.org/licenses/AGPL-3.0 AGPL-3.0
23
+ *
24
+ **/
25
+
26
+ // vue.d.ts
27
+ declare module "*.vue" {
28
+ import type { DefineComponent } from "vue";
29
+ // eslint-disable-next-line @typescript-eslint/no-explicit-any, @typescript-eslint/ban-types
30
+ const component: DefineComponent<{}, {}, any>;
31
+ export default component;
32
+ }
package/tsconfig.json ADDED
@@ -0,0 +1,21 @@
1
+ {
2
+ "compilerOptions": {
3
+ "rootDir": "src",
4
+ "module": "esnext",
5
+ "target": "esnext",
6
+ "sourceMap": false,
7
+ "moduleResolution": "Node",
8
+ "skipLibCheck": true,
9
+ "strict": true,
10
+ "isolatedModules": true,
11
+ "jsx": "preserve",
12
+ "types": ["node"],
13
+ "baseUrl": ".",
14
+ "paths": {
15
+ "#preload": ["../preload/src/index"]
16
+ },
17
+ "lib": ["ESNext", "dom", "dom.iterable"]
18
+ },
19
+ "include": ["./src"],
20
+ "exclude": ["**/*.spec.ts", "**/*.test.ts"]
21
+ }
package/vite.config.js ADDED
@@ -0,0 +1,79 @@
1
+ /**
2
+ * See the LICENSE file distributed with this work for additional
3
+ * information regarding copyright ownership.
4
+ *
5
+ * This is free software; you can redistribute it and/or modify it
6
+ * under the terms of the GNU Affero General Public License as
7
+ * published by the Free Software Foundation; either version 2.1 of
8
+ * the License, or (at your option) any later version.
9
+ *
10
+ * This software is distributed in the hope that it will be useful,
11
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
12
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
13
+ * Lesser General Public License for more details.
14
+ *
15
+ * You should have received a copy of the GNU Affero General Public
16
+ * License along with this software; if not, write to the Free
17
+ * Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
18
+ * 02110-1301 USA, or see the FSF site: http://www.fsf.org.
19
+ *
20
+ * This file is part of the Cristal Wiki software prototype
21
+ * @copyright Copyright (c) 2023 XWiki SAS
22
+ * @license http://opensource.org/licenses/AGPL-3.0 AGPL-3.0
23
+ *
24
+ **/
25
+
26
+ /* eslint-env node */
27
+
28
+ import { chrome } from "../.electron-vendors.cache.json";
29
+ import vue from "@vitejs/plugin-vue";
30
+ import { renderer } from "unplugin-auto-expose";
31
+ import { join } from "node:path";
32
+ import { injectAppVersion } from "../version/inject-app-version-plugin.mjs";
33
+
34
+ const PACKAGE_ROOT = __dirname;
35
+ const PROJECT_ROOT = join(PACKAGE_ROOT, "../..");
36
+
37
+ /**
38
+ * @type {import('vite').UserConfig}
39
+ * @see https://vitejs.dev/config/
40
+ */
41
+ const config = {
42
+ mode: process.env.MODE,
43
+ root: PACKAGE_ROOT,
44
+ envDir: PROJECT_ROOT,
45
+ resolve: {
46
+ alias: {
47
+ "/@/": join(PACKAGE_ROOT, "src") + "/",
48
+ },
49
+ },
50
+ base: "",
51
+ server: {
52
+ fs: {
53
+ strict: true,
54
+ },
55
+ },
56
+ build: {
57
+ sourcemap: true,
58
+ target: `chrome${chrome}`,
59
+ outDir: "dist",
60
+ assetsDir: ".",
61
+ rollupOptions: {
62
+ input: join(PACKAGE_ROOT, "index.html"),
63
+ },
64
+ emptyOutDir: true,
65
+ reportCompressedSize: false,
66
+ },
67
+ test: {
68
+ environment: "happy-dom",
69
+ },
70
+ plugins: [
71
+ vue(),
72
+ renderer.vite({
73
+ preloadEntry: join(PACKAGE_ROOT, "../preload/src/index.ts"),
74
+ }),
75
+ injectAppVersion(),
76
+ ],
77
+ };
78
+
79
+ export default config;