@silexlabs/silex-dashboard 1.0.45 → 1.0.47
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/_site/en/connectors/index.html +22 -3
- package/_site/fr/connectors/index.html +22 -3
- package/_site/js/vue.cjs.js +1 -1
- package/_site/js/vue.cjs.prod.js +1 -1
- package/_site/js/vue.esm-browser.js +79 -79
- package/_site/js/vue.esm-browser.prod.js +4 -4
- package/_site/js/vue.esm-bundler.js +1 -1
- package/_site/js/vue.global.js +79 -79
- package/_site/js/vue.global.prod.js +4 -4
- package/_site/js/vue.runtime.esm-browser.js +57 -54
- package/_site/js/vue.runtime.esm-browser.prod.js +3 -3
- package/_site/js/vue.runtime.esm-bundler.js +1 -1
- package/_site/js/vue.runtime.global.js +57 -54
- package/_site/js/vue.runtime.global.prod.js +5 -5
- package/collections/connectors/en.md +27 -34
- package/collections/connectors/fr.md +27 -34
- package/package.json +1 -1
- package/templates/connectors-en.html +49 -51
- package/templates/connectors-fr.html +49 -51
- package/templates/websites-en.html +79 -79
- package/templates/websites-fr.html +79 -79
|
@@ -145,10 +145,8 @@
|
|
|
145
145
|
<script src="/js/vue.global.prod.js"></script>
|
|
146
146
|
<script src="/js/main.js"></script>
|
|
147
147
|
<script type="module">
|
|
148
|
-
console.log('xxxxxx')
|
|
149
148
|
const CONNECTORS_PATH = '/connectors/'
|
|
150
149
|
window.addEventListener('load', function() {
|
|
151
|
-
console.log('xxxxxx')
|
|
152
150
|
const { createApp } = Vue;
|
|
153
151
|
const { api, constants, types } = silex;
|
|
154
152
|
const {
|
|
@@ -357,7 +355,24 @@ window.addEventListener('load', function() {
|
|
|
357
355
|
|
|
358
356
|
|
|
359
357
|
<div id="isqe61" class="">
|
|
360
|
-
<a id="i0vhjr" href="/api/connector/login?connectorId=gitlab&type=STORAGE" class="connector__card" data-style="background: rgba(252, 109, 38, 0.2); color: #2B1B63;" title="Gitlab.com is the service we recommend to host your Silex website. We trust the company behind the service, go check them out."><div id="io3lid" class="button-bar__item__icon"><svg
|
|
358
|
+
<a id="i0vhjr" href="/api/connector/login?connectorId=gitlab&type=STORAGE" class="connector__card" data-style="background: rgba(252, 109, 38, 0.2); color: #2B1B63;" title="Gitlab.com is the service we recommend to host your Silex website. We trust the company behind the service, go check them out."><div id="io3lid" class="button-bar__item__icon"><svg xmlns:svg="http://www.w3.org/2000/svg"
|
|
359
|
+
xmlns="http://www.w3.org/2000/svg"
|
|
360
|
+
xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
|
|
361
|
+
xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
|
|
362
|
+
width="100%" height="100%" viewBox="0 0 1000 963.197" version="1.1" id="svg85">
|
|
363
|
+
<sodipodi:namedview id="namedview87" pagecolor="#ffffff" bordercolor="#666666" borderopacity="1.0" inkscape:pageshadow="2" inkscape:pageopacity="0.0" inkscape:pagecheckerboard="0" showgrid="false" inkscape:zoom="1" inkscape:cx="991.5" inkscape:cy="964.5" inkscape:window-width="1126" inkscape:window-height="895" inkscape:window-x="774" inkscape:window-y="12" inkscape:window-maximized="0" inkscape:current-layer="svg85" />
|
|
364
|
+
<defs id="defs74">
|
|
365
|
+
<!-- Styles will be applied inline -->
|
|
366
|
+
</defs>
|
|
367
|
+
<g id="LOGO" transform="matrix(5.2068817,0,0,5.2068817,-489.30756,-507.76085)">
|
|
368
|
+
<path class="cls-1" style="fill:#e24329;" d="m 282.83,170.73 -0.27,-0.69 -26.14,-68.22 a 6.81,6.81 0 0 0 -2.69,-3.24 7,7 0 0 0 -8,0.43 7,7 0 0 0 -2.32,3.52 l -17.65,54 h -71.47 l -17.65,-54 a 6.86,6.86 0 0 0 -2.32,-3.53 7,7 0 0 0 -8,-0.43 6.87,6.87 0 0 0 -2.69,3.24 L 97.44,170 l -0.26,0.69 a 48.54,48.54 0 0 0 16.1,56.1 l 0.09,0.07 0.24,0.17 39.82,29.82 19.7,14.91 12,9.06 a 8.07,8.07 0 0 0 9.76,0 l 12,-9.06 19.7,-14.91 40.06,-30 0.1,-0.08 a 48.56,48.56 0 0 0 16.08,-56.04 z" id="path76" />
|
|
369
|
+
<path class="cls-2" style="fill:#fc6d26;" d="m 282.83,170.73 -0.27,-0.69 a 88.3,88.3 0 0 0 -35.15,15.8 L 190,229.25 c 19.55,14.79 36.57,27.64 36.57,27.64 l 40.06,-30 0.1,-0.08 a 48.56,48.56 0 0 0 16.1,-56.08 z" id="path78" />
|
|
370
|
+
<path class="cls-3" style="fill:#fca326;" d="m 153.43,256.89 19.7,14.91 12,9.06 a 8.07,8.07 0 0 0 9.76,0 l 12,-9.06 19.7,-14.91 c 0,0 -17.04,-12.89 -36.59,-27.64 -19.55,14.75 -36.57,27.64 -36.57,27.64 z" id="path80" />
|
|
371
|
+
<path class="cls-2" style="fill:#fc6d26;" d="M 132.58,185.84 A 88.19,88.19 0 0 0 97.44,170 l -0.26,0.69 a 48.54,48.54 0 0 0 16.1,56.1 l 0.09,0.07 0.24,0.17 39.82,29.82 c 0,0 17,-12.85 36.57,-27.64 z" id="path82" />
|
|
372
|
+
</g>
|
|
373
|
+
</svg></div><div id="i87asw" class="connector__description">Connect with GitLab.com</div></a></div>
|
|
374
|
+
|
|
375
|
+
|
|
361
376
|
|
|
362
377
|
</div><h3 id="i8w75b" class="margin-30">Advanced users</h3><div id="igp4xl">
|
|
363
378
|
|
|
@@ -365,6 +380,10 @@ window.addEventListener('load', function() {
|
|
|
365
380
|
|
|
366
381
|
|
|
367
382
|
|
|
383
|
+
<div id="id9k25" href="" class="">
|
|
384
|
+
<a href="/api/connector/login?connectorId=framagit&type=STORAGE" id="irgt6z" class="connector__card" data-style="background: rgba(252, 109, 38, 0.2); color: #2B1B63;" title="Framagit is Framasoft's software forge based on Gitlab software. It is open to everyone, with a limit of 42 projects per person. Projects can be public or private. With Gitlab, we also offer continuous integration with GitlabCI and hosting of static pages with Gitlab Pages (see our documentation)"><div class="button-bar__item__icon"><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 14.29 14.29"><g fill="#725794" transform="matrix(.02569 0 0 .02569 -.25 -.08)"><circle cx="74.91" cy="180.35" r="55"/><circle cx="137.6" cy="317.44" r="42.5"/><circle cx="189.82" cy="434.27" r="31"/></g><g fill="#dd6418" transform="matrix(.02569 0 0 .02569 -.25 -.08)"><circle cx="515.92" cy="412.86" r="26"/><circle cx="499.71" cy="484.31" r="21"/></g><path fill="#dd6418" d="M12.24 3.93c-.15.05-.64-.02-.64-.02.14.09.23.33.22.5-.48-.06-.67-.22-1.11-.45 0 0 .3.36.6.57.54.41 1.03.9 1.33 1.37.15.23.19.26.2.16a3.3 3.3 0 00-.52-1.87c-.06-.09-.07-.19-.08-.26z"/><path d="M.68.2C.53.2.45.33.56.43 5.51 2.78 4.78 5 5.42 7.55c.17.69 1.32 6.06 7.37 6.58.23.02.3-.25.06-.31-4.94-1.32-6.13-9.95-2.68-10.27.48-.04.63.16 1 .28.36.12.93.16 1.1.13.32-.6-.25-1.28-.73-1.78.52-.34 2.2-.71 2.4-.8.13-.05.07-.25-.04-.27-.77.05-2.6.2-3.43.52-1.45-.88-3.34-.2-4.3 1.3C5.19 1.5 3.81 1.08.67.2zM8.8 1.54c.74 0 .72.31-.24.64a3.76 3.76 0 00-2.38 2.2c-.11-.17.43-2.56 2.62-2.84z"/></svg></div><div class="connector__description">Connect with Framagit</div></a></div>
|
|
385
|
+
|
|
386
|
+
|
|
368
387
|
<div id="id9k25" href="" class="">
|
|
369
388
|
<a href="/api/connector/login?connectorId=ftp&type=STORAGE" id="irgt6z" class="connector__card" data-style="background: #0066CC; color: #ffffff;" title="FTP is for professional users who want to host their websites with a hosting company of their choice
|
|
370
389
|
"><div class="button-bar__item__icon"><svg xmlns='http://www.w3.org/2000/svg' height='100%' viewBox='0 0 512 512'> <path d='M64 32C28.7 32 0 60.7 0 96v64c0 35.3 28.7 64 64 64H448c35.3 0 64-28.7 64-64V96c0-35.3-28.7-64-64-64H64zm280 72a24 24 0 1 1 0 48 24 24 0 1 1 0-48zm48 24a24 24 0 1 1 48 0 24 24 0 1 1 -48 0zM64 288c-35.3 0-64 28.7-64 64v64c0 35.3 28.7 64 64 64H448c35.3 0 64-28.7 64-64V352c0-35.3-28.7-64-64-64H64zm280 72a24 24 0 1 1 0 48 24 24 0 1 1 0-48zm56 24a24 24 0 1 1 48 0 24 24 0 1 1 -48 0z' /> </svg></div><div class="connector__description">Connect with FTP</div></a></div></div><div id="i3cney" class="button-bar"><a id="iacshy" class="button big-button connector__card" v-if="!loading" :key="index" :style="{ backgroundColor: connector.background, color: connector.color }" v-for="(connector, index) in connectors" v-on-click="openLogin(connector)"><div id="iiwn36"><div class="button-bar__item__icon" :style="`background: url('${connector.icon}'); background-repeat: no-repeat; background-size: contain;`"></div><div id="if4gvb" class="" v-text="connector.displayName">Name<br/></div></div><div id="isndui">This connector is about blablabla<br/></div></a></div></div><div id="i9msnk" class="text-white top-space-20" v-if="error" v-text="message" :test="message">Insert your text here</div><div id="i6akll" class="button button--tertiary text-centered" v-if="error" v-on:click="logout()">Logout</div></div></div></body>
|
|
@@ -145,10 +145,8 @@
|
|
|
145
145
|
<script src="/js/vue.global.prod.js"></script>
|
|
146
146
|
<script src="/js/main.js"></script>
|
|
147
147
|
<script type="module">
|
|
148
|
-
console.log('xxxxxx')
|
|
149
148
|
const CONNECTORS_PATH = '/connectors/'
|
|
150
149
|
window.addEventListener('load', function() {
|
|
151
|
-
console.log('xxxxxx')
|
|
152
150
|
const { createApp } = Vue;
|
|
153
151
|
const { api, constants, types } = silex;
|
|
154
152
|
const {
|
|
@@ -357,7 +355,24 @@ window.addEventListener('load', function() {
|
|
|
357
355
|
|
|
358
356
|
|
|
359
357
|
<div id="isqe61" class="">
|
|
360
|
-
<a id="i0vhjr" href="/api/connector/login?connectorId=gitlab&type=STORAGE" class="connector__card" data-style="background: rgba(252, 109, 38, 0.2); color: #2B1B63;" title="Gitlab.com est le service que nous recommandons pour héberger votre site web Silex. Nous faisons confiance à l'entreprise derrière ce service, allez les voir."><div id="io3lid" class="button-bar__item__icon"><svg
|
|
358
|
+
<a id="i0vhjr" href="/api/connector/login?connectorId=gitlab&type=STORAGE" class="connector__card" data-style="background: rgba(252, 109, 38, 0.2); color: #2B1B63;" title="Gitlab.com est le service que nous recommandons pour héberger votre site web Silex. Nous faisons confiance à l'entreprise derrière ce service, allez les voir."><div id="io3lid" class="button-bar__item__icon"><svg xmlns:svg="http://www.w3.org/2000/svg"
|
|
359
|
+
xmlns="http://www.w3.org/2000/svg"
|
|
360
|
+
xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
|
|
361
|
+
xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
|
|
362
|
+
width="100%" height="100%" viewBox="0 0 1000 963.197" version="1.1" id="svg85">
|
|
363
|
+
<sodipodi:namedview id="namedview87" pagecolor="#ffffff" bordercolor="#666666" borderopacity="1.0" inkscape:pageshadow="2" inkscape:pageopacity="0.0" inkscape:pagecheckerboard="0" showgrid="false" inkscape:zoom="1" inkscape:cx="991.5" inkscape:cy="964.5" inkscape:window-width="1126" inkscape:window-height="895" inkscape:window-x="774" inkscape:window-y="12" inkscape:window-maximized="0" inkscape:current-layer="svg85" />
|
|
364
|
+
<defs id="defs74">
|
|
365
|
+
<!-- Styles will be applied inline -->
|
|
366
|
+
</defs>
|
|
367
|
+
<g id="LOGO" transform="matrix(5.2068817,0,0,5.2068817,-489.30756,-507.76085)">
|
|
368
|
+
<path class="cls-1" style="fill:#e24329;" d="m 282.83,170.73 -0.27,-0.69 -26.14,-68.22 a 6.81,6.81 0 0 0 -2.69,-3.24 7,7 0 0 0 -8,0.43 7,7 0 0 0 -2.32,3.52 l -17.65,54 h -71.47 l -17.65,-54 a 6.86,6.86 0 0 0 -2.32,-3.53 7,7 0 0 0 -8,-0.43 6.87,6.87 0 0 0 -2.69,3.24 L 97.44,170 l -0.26,0.69 a 48.54,48.54 0 0 0 16.1,56.1 l 0.09,0.07 0.24,0.17 39.82,29.82 19.7,14.91 12,9.06 a 8.07,8.07 0 0 0 9.76,0 l 12,-9.06 19.7,-14.91 40.06,-30 0.1,-0.08 a 48.56,48.56 0 0 0 16.08,-56.04 z" id="path76" />
|
|
369
|
+
<path class="cls-2" style="fill:#fc6d26;" d="m 282.83,170.73 -0.27,-0.69 a 88.3,88.3 0 0 0 -35.15,15.8 L 190,229.25 c 19.55,14.79 36.57,27.64 36.57,27.64 l 40.06,-30 0.1,-0.08 a 48.56,48.56 0 0 0 16.1,-56.08 z" id="path78" />
|
|
370
|
+
<path class="cls-3" style="fill:#fca326;" d="m 153.43,256.89 19.7,14.91 12,9.06 a 8.07,8.07 0 0 0 9.76,0 l 12,-9.06 19.7,-14.91 c 0,0 -17.04,-12.89 -36.59,-27.64 -19.55,14.75 -36.57,27.64 -36.57,27.64 z" id="path80" />
|
|
371
|
+
<path class="cls-2" style="fill:#fc6d26;" d="M 132.58,185.84 A 88.19,88.19 0 0 0 97.44,170 l -0.26,0.69 a 48.54,48.54 0 0 0 16.1,56.1 l 0.09,0.07 0.24,0.17 39.82,29.82 c 0,0 17,-12.85 36.57,-27.64 z" id="path82" />
|
|
372
|
+
</g>
|
|
373
|
+
</svg></div><div id="i87asw" class="connector__description">Se connecter avec GitLab.com</div></a></div>
|
|
374
|
+
|
|
375
|
+
|
|
361
376
|
|
|
362
377
|
</div><h3 id="i8w75b" class="margin-30">Utilisateurs avancés</h3><div id="igp4xl">
|
|
363
378
|
|
|
@@ -365,6 +380,10 @@ window.addEventListener('load', function() {
|
|
|
365
380
|
|
|
366
381
|
|
|
367
382
|
|
|
383
|
+
<div id="id9k25" href="" class="">
|
|
384
|
+
<a href="/api/connector/login?connectorId=framagit&type=STORAGE" id="irgt6z" class="connector__card" data-style="background: rgba(252, 109, 38, 0.2); color: #2B1B63;" title="Framagit est la forge logicielle de Framasoft reposant sur le logiciel Gitlab. Elle est ouverte à tous, dans la limite de 42 projets par personne. Les projets peuvent être publics ou privés. Avec Gitlab, nous proposons aussi de l'intégration continue avec GitlabCI et l'hébergement de pages statiques avec Gitlab Pages (voir notre documentation)"><div class="button-bar__item__icon"><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 14.29 14.29"><g fill="#725794" transform="matrix(.02569 0 0 .02569 -.25 -.08)"><circle cx="74.91" cy="180.35" r="55"/><circle cx="137.6" cy="317.44" r="42.5"/><circle cx="189.82" cy="434.27" r="31"/></g><g fill="#dd6418" transform="matrix(.02569 0 0 .02569 -.25 -.08)"><circle cx="515.92" cy="412.86" r="26"/><circle cx="499.71" cy="484.31" r="21"/></g><path fill="#dd6418" d="M12.24 3.93c-.15.05-.64-.02-.64-.02.14.09.23.33.22.5-.48-.06-.67-.22-1.11-.45 0 0 .3.36.6.57.54.41 1.03.9 1.33 1.37.15.23.19.26.2.16a3.3 3.3 0 00-.52-1.87c-.06-.09-.07-.19-.08-.26z"/><path d="M.68.2C.53.2.45.33.56.43 5.51 2.78 4.78 5 5.42 7.55c.17.69 1.32 6.06 7.37 6.58.23.02.3-.25.06-.31-4.94-1.32-6.13-9.95-2.68-10.27.48-.04.63.16 1 .28.36.12.93.16 1.1.13.32-.6-.25-1.28-.73-1.78.52-.34 2.2-.71 2.4-.8.13-.05.07-.25-.04-.27-.77.05-2.6.2-3.43.52-1.45-.88-3.34-.2-4.3 1.3C5.19 1.5 3.81 1.08.67.2zM8.8 1.54c.74 0 .72.31-.24.64a3.76 3.76 0 00-2.38 2.2c-.11-.17.43-2.56 2.62-2.84z"/></svg></div><div class="connector__description">Se connecter avec framagit.org</div></a></div>
|
|
385
|
+
|
|
386
|
+
|
|
368
387
|
<div id="id9k25" href="" class="">
|
|
369
388
|
<a href="/api/connector/login?connectorId=ftp&type=STORAGE" id="irgt6z" class="connector__card" data-style="background: #0066CC; color: #ffffff;" title="FTP est destiné aux utilisateurs professionnels qui souhaitent héberger leurs sites web avec une société d'hébergement de leur choix.
|
|
370
389
|
"><div class="button-bar__item__icon"><svg xmlns='http://www.w3.org/2000/svg' height='100%' viewBox='0 0 512 512'> <path d='M64 32C28.7 32 0 60.7 0 96v64c0 35.3 28.7 64 64 64H448c35.3 0 64-28.7 64-64V96c0-35.3-28.7-64-64-64H64zm280 72a24 24 0 1 1 0 48 24 24 0 1 1 0-48zm48 24a24 24 0 1 1 48 0 24 24 0 1 1 -48 0zM64 288c-35.3 0-64 28.7-64 64v64c0 35.3 28.7 64 64 64H448c35.3 0 64-28.7 64-64V352c0-35.3-28.7-64-64-64H64zm280 72a24 24 0 1 1 0 48 24 24 0 1 1 0-48zm56 24a24 24 0 1 1 48 0 24 24 0 1 1 -48 0z' /> </svg></div><div class="connector__description">Se connecter avec un FTP</div></a></div></div><div id="i3cney" class="button-bar"><a id="iacshy" class="button big-button connector__card" v-if="!loading" :key="index" :style="{ backgroundColor: connector.background, color: connector.color }" v-for="(connector, index) in connectors" v-on-click="openLogin(connector)"><div id="iiwn36"><div class="button-bar__item__icon" :style="`background: url('${connector.icon}'); background-repeat: no-repeat; background-size: contain;`"></div><div id="if4gvb" class="" v-text="connector.displayName">Name<br/></div></div><div id="isndui">This connector is about blablabla<br/></div></a></div></div><div id="i9msnk" class="text-white top-space-20" v-if="error" v-text="message" :test="message">Insert your text here</div><div id="i6akll" class="button button--tertiary text-centered" v-if="error" v-on:click="logout()">Déconnexion</div></div></div></body>
|
package/_site/js/vue.cjs.js
CHANGED
package/_site/js/vue.cjs.prod.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* vue v3.4.
|
|
2
|
+
* vue v3.4.26
|
|
3
3
|
* (c) 2018-present Yuxi (Evan) You and Vue contributors
|
|
4
4
|
* @license MIT
|
|
5
5
|
**/
|
|
@@ -81,10 +81,11 @@ const invokeArrayFns = (fns, arg) => {
|
|
|
81
81
|
fns[i](arg);
|
|
82
82
|
}
|
|
83
83
|
};
|
|
84
|
-
const def = (obj, key, value) => {
|
|
84
|
+
const def = (obj, key, value, writable = false) => {
|
|
85
85
|
Object.defineProperty(obj, key, {
|
|
86
86
|
configurable: true,
|
|
87
87
|
enumerable: false,
|
|
88
|
+
writable,
|
|
88
89
|
value
|
|
89
90
|
});
|
|
90
91
|
};
|
|
@@ -541,11 +542,10 @@ class ReactiveEffect {
|
|
|
541
542
|
}
|
|
542
543
|
}
|
|
543
544
|
stop() {
|
|
544
|
-
var _a;
|
|
545
545
|
if (this.active) {
|
|
546
546
|
preCleanupEffect(this);
|
|
547
547
|
postCleanupEffect(this);
|
|
548
|
-
|
|
548
|
+
this.onStop && this.onStop();
|
|
549
549
|
this.active = false;
|
|
550
550
|
}
|
|
551
551
|
}
|
|
@@ -758,8 +758,8 @@ function trigger(target, type, key, newValue, oldValue, oldTarget) {
|
|
|
758
758
|
resetScheduling();
|
|
759
759
|
}
|
|
760
760
|
function getDepFromReactive(object, key) {
|
|
761
|
-
|
|
762
|
-
return
|
|
761
|
+
const depsMap = targetMap.get(object);
|
|
762
|
+
return depsMap && depsMap.get(key);
|
|
763
763
|
}
|
|
764
764
|
|
|
765
765
|
const isNonTrackableKeys = /* @__PURE__ */ makeMap(`__proto__,__v_isRef,__isVue`);
|
|
@@ -2421,21 +2421,21 @@ function renderComponentRoot(instance) {
|
|
|
2421
2421
|
vnode,
|
|
2422
2422
|
proxy,
|
|
2423
2423
|
withProxy,
|
|
2424
|
-
props,
|
|
2425
2424
|
propsOptions: [propsOptions],
|
|
2426
2425
|
slots,
|
|
2427
2426
|
attrs,
|
|
2428
2427
|
emit,
|
|
2429
2428
|
render,
|
|
2430
2429
|
renderCache,
|
|
2430
|
+
props,
|
|
2431
2431
|
data,
|
|
2432
2432
|
setupState,
|
|
2433
2433
|
ctx,
|
|
2434
2434
|
inheritAttrs
|
|
2435
2435
|
} = instance;
|
|
2436
|
+
const prev = setCurrentRenderingInstance(instance);
|
|
2436
2437
|
let result;
|
|
2437
2438
|
let fallthroughAttrs;
|
|
2438
|
-
const prev = setCurrentRenderingInstance(instance);
|
|
2439
2439
|
{
|
|
2440
2440
|
accessedAttrs = false;
|
|
2441
2441
|
}
|
|
@@ -2457,7 +2457,7 @@ function renderComponentRoot(instance) {
|
|
|
2457
2457
|
thisProxy,
|
|
2458
2458
|
proxyToUse,
|
|
2459
2459
|
renderCache,
|
|
2460
|
-
props,
|
|
2460
|
+
true ? shallowReadonly(props) : props,
|
|
2461
2461
|
setupState,
|
|
2462
2462
|
data,
|
|
2463
2463
|
ctx
|
|
@@ -2471,19 +2471,18 @@ function renderComponentRoot(instance) {
|
|
|
2471
2471
|
}
|
|
2472
2472
|
result = normalizeVNode(
|
|
2473
2473
|
render2.length > 1 ? render2(
|
|
2474
|
-
props,
|
|
2474
|
+
true ? shallowReadonly(props) : props,
|
|
2475
2475
|
true ? {
|
|
2476
2476
|
get attrs() {
|
|
2477
2477
|
markAttrsAccessed();
|
|
2478
|
-
return attrs;
|
|
2478
|
+
return shallowReadonly(attrs);
|
|
2479
2479
|
},
|
|
2480
2480
|
slots,
|
|
2481
2481
|
emit
|
|
2482
2482
|
} : { attrs, slots, emit }
|
|
2483
2483
|
) : render2(
|
|
2484
|
-
props,
|
|
2484
|
+
true ? shallowReadonly(props) : props,
|
|
2485
2485
|
null
|
|
2486
|
-
/* we know it doesn't need it */
|
|
2487
2486
|
)
|
|
2488
2487
|
);
|
|
2489
2488
|
fallthroughAttrs = Component.props ? attrs : getFunctionalFallthrough(attrs);
|
|
@@ -2509,7 +2508,7 @@ function renderComponentRoot(instance) {
|
|
|
2509
2508
|
propsOptions
|
|
2510
2509
|
);
|
|
2511
2510
|
}
|
|
2512
|
-
root = cloneVNode(root, fallthroughAttrs);
|
|
2511
|
+
root = cloneVNode(root, fallthroughAttrs, false, true);
|
|
2513
2512
|
} else if (!accessedAttrs && root.type !== Comment) {
|
|
2514
2513
|
const allAttrs = Object.keys(attrs);
|
|
2515
2514
|
const eventAttrs = [];
|
|
@@ -2543,7 +2542,7 @@ function renderComponentRoot(instance) {
|
|
|
2543
2542
|
`Runtime directive used on component with non-element root node. The directives will not function as intended.`
|
|
2544
2543
|
);
|
|
2545
2544
|
}
|
|
2546
|
-
root = cloneVNode(root);
|
|
2545
|
+
root = cloneVNode(root, null, false, true);
|
|
2547
2546
|
root.dirs = root.dirs ? root.dirs.concat(vnode.dirs) : vnode.dirs;
|
|
2548
2547
|
}
|
|
2549
2548
|
if (vnode.transition) {
|
|
@@ -3034,7 +3033,7 @@ function createSuspenseBoundary(vnode, parentSuspense, parentComponent, containe
|
|
|
3034
3033
|
let parentSuspenseId;
|
|
3035
3034
|
const isSuspensible = isVNodeSuspensible(vnode);
|
|
3036
3035
|
if (isSuspensible) {
|
|
3037
|
-
if (parentSuspense
|
|
3036
|
+
if (parentSuspense && parentSuspense.pendingBranch) {
|
|
3038
3037
|
parentSuspenseId = parentSuspense.pendingId;
|
|
3039
3038
|
parentSuspense.deps++;
|
|
3040
3039
|
}
|
|
@@ -3346,8 +3345,8 @@ function setActiveBranch(suspense, branch) {
|
|
|
3346
3345
|
}
|
|
3347
3346
|
}
|
|
3348
3347
|
function isVNodeSuspensible(vnode) {
|
|
3349
|
-
|
|
3350
|
-
return
|
|
3348
|
+
const suspensible = vnode.props && vnode.props.suspensible;
|
|
3349
|
+
return suspensible != null && suspensible !== false;
|
|
3351
3350
|
}
|
|
3352
3351
|
|
|
3353
3352
|
const ssrContextKey = Symbol.for("v-scx");
|
|
@@ -3580,34 +3579,29 @@ function createPathGetter(ctx, path) {
|
|
|
3580
3579
|
return cur;
|
|
3581
3580
|
};
|
|
3582
3581
|
}
|
|
3583
|
-
function traverse(value, depth
|
|
3584
|
-
if (!isObject(value) || value["__v_skip"]) {
|
|
3582
|
+
function traverse(value, depth = Infinity, seen) {
|
|
3583
|
+
if (depth <= 0 || !isObject(value) || value["__v_skip"]) {
|
|
3585
3584
|
return value;
|
|
3586
3585
|
}
|
|
3587
|
-
if (depth && depth > 0) {
|
|
3588
|
-
if (currentDepth >= depth) {
|
|
3589
|
-
return value;
|
|
3590
|
-
}
|
|
3591
|
-
currentDepth++;
|
|
3592
|
-
}
|
|
3593
3586
|
seen = seen || /* @__PURE__ */ new Set();
|
|
3594
3587
|
if (seen.has(value)) {
|
|
3595
3588
|
return value;
|
|
3596
3589
|
}
|
|
3597
3590
|
seen.add(value);
|
|
3591
|
+
depth--;
|
|
3598
3592
|
if (isRef(value)) {
|
|
3599
|
-
traverse(value.value, depth,
|
|
3593
|
+
traverse(value.value, depth, seen);
|
|
3600
3594
|
} else if (isArray(value)) {
|
|
3601
3595
|
for (let i = 0; i < value.length; i++) {
|
|
3602
|
-
traverse(value[i], depth,
|
|
3596
|
+
traverse(value[i], depth, seen);
|
|
3603
3597
|
}
|
|
3604
3598
|
} else if (isSet(value) || isMap(value)) {
|
|
3605
3599
|
value.forEach((v) => {
|
|
3606
|
-
traverse(v, depth,
|
|
3600
|
+
traverse(v, depth, seen);
|
|
3607
3601
|
});
|
|
3608
3602
|
} else if (isPlainObject(value)) {
|
|
3609
3603
|
for (const key in value) {
|
|
3610
|
-
traverse(value[key], depth,
|
|
3604
|
+
traverse(value[key], depth, seen);
|
|
3611
3605
|
}
|
|
3612
3606
|
}
|
|
3613
3607
|
return value;
|
|
@@ -3765,7 +3759,7 @@ const BaseTransitionImpl = {
|
|
|
3765
3759
|
instance
|
|
3766
3760
|
);
|
|
3767
3761
|
setTransitionHooks(oldInnerChild, leavingHooks);
|
|
3768
|
-
if (mode === "out-in") {
|
|
3762
|
+
if (mode === "out-in" && innerChild.type !== Comment) {
|
|
3769
3763
|
state.isLeaving = true;
|
|
3770
3764
|
leavingHooks.afterLeave = () => {
|
|
3771
3765
|
state.isLeaving = false;
|
|
@@ -3950,11 +3944,21 @@ function emptyPlaceholder(vnode) {
|
|
|
3950
3944
|
}
|
|
3951
3945
|
}
|
|
3952
3946
|
function getKeepAliveChild(vnode) {
|
|
3953
|
-
|
|
3954
|
-
|
|
3955
|
-
|
|
3956
|
-
|
|
3957
|
-
|
|
3947
|
+
if (!isKeepAlive(vnode)) {
|
|
3948
|
+
return vnode;
|
|
3949
|
+
}
|
|
3950
|
+
if (vnode.component) {
|
|
3951
|
+
return vnode.component.subTree;
|
|
3952
|
+
}
|
|
3953
|
+
const { shapeFlag, children } = vnode;
|
|
3954
|
+
if (children) {
|
|
3955
|
+
if (shapeFlag & 16) {
|
|
3956
|
+
return children[0];
|
|
3957
|
+
}
|
|
3958
|
+
if (shapeFlag & 32 && isFunction(children.default)) {
|
|
3959
|
+
return children.default();
|
|
3960
|
+
}
|
|
3961
|
+
}
|
|
3958
3962
|
}
|
|
3959
3963
|
function setTransitionHooks(vnode, hooks) {
|
|
3960
3964
|
if (vnode.shapeFlag & 6 && vnode.component) {
|
|
@@ -4270,7 +4274,7 @@ const KeepAliveImpl = {
|
|
|
4270
4274
|
return () => {
|
|
4271
4275
|
pendingCacheKey = null;
|
|
4272
4276
|
if (!slots.default) {
|
|
4273
|
-
return
|
|
4277
|
+
return null;
|
|
4274
4278
|
}
|
|
4275
4279
|
const children = slots.default();
|
|
4276
4280
|
const rawVNode = children[0];
|
|
@@ -5553,7 +5557,7 @@ function hasInjectionContext() {
|
|
|
5553
5557
|
return !!(currentInstance || currentRenderingInstance || currentApp);
|
|
5554
5558
|
}
|
|
5555
5559
|
|
|
5556
|
-
const internalObjectProto =
|
|
5560
|
+
const internalObjectProto = {};
|
|
5557
5561
|
const createInternalObject = () => Object.create(internalObjectProto);
|
|
5558
5562
|
const isInternalObject = (obj) => Object.getPrototypeOf(obj) === internalObjectProto;
|
|
5559
5563
|
|
|
@@ -6006,21 +6010,17 @@ const normalizeVNodeSlots = (instance, children) => {
|
|
|
6006
6010
|
instance.slots.default = () => normalized;
|
|
6007
6011
|
};
|
|
6008
6012
|
const initSlots = (instance, children) => {
|
|
6013
|
+
const slots = instance.slots = createInternalObject();
|
|
6009
6014
|
if (instance.vnode.shapeFlag & 32) {
|
|
6010
6015
|
const type = children._;
|
|
6011
6016
|
if (type) {
|
|
6012
|
-
|
|
6013
|
-
def(
|
|
6017
|
+
extend(slots, children);
|
|
6018
|
+
def(slots, "_", type, true);
|
|
6014
6019
|
} else {
|
|
6015
|
-
normalizeObjectSlots(
|
|
6016
|
-
children,
|
|
6017
|
-
instance.slots = createInternalObject());
|
|
6018
|
-
}
|
|
6019
|
-
} else {
|
|
6020
|
-
instance.slots = createInternalObject();
|
|
6021
|
-
if (children) {
|
|
6022
|
-
normalizeVNodeSlots(instance, children);
|
|
6020
|
+
normalizeObjectSlots(children, slots);
|
|
6023
6021
|
}
|
|
6022
|
+
} else if (children) {
|
|
6023
|
+
normalizeVNodeSlots(instance, children);
|
|
6024
6024
|
}
|
|
6025
6025
|
};
|
|
6026
6026
|
const updateSlots = (instance, children, optimized) => {
|
|
@@ -8762,8 +8762,8 @@ function guardReactiveProps(props) {
|
|
|
8762
8762
|
return null;
|
|
8763
8763
|
return isProxy(props) || isInternalObject(props) ? extend({}, props) : props;
|
|
8764
8764
|
}
|
|
8765
|
-
function cloneVNode(vnode, extraProps, mergeRef = false) {
|
|
8766
|
-
const { props, ref, patchFlag, children } = vnode;
|
|
8765
|
+
function cloneVNode(vnode, extraProps, mergeRef = false, cloneTransition = false) {
|
|
8766
|
+
const { props, ref, patchFlag, children, transition } = vnode;
|
|
8767
8767
|
const mergedProps = extraProps ? mergeProps(props || {}, extraProps) : props;
|
|
8768
8768
|
const cloned = {
|
|
8769
8769
|
__v_isVNode: true,
|
|
@@ -8793,7 +8793,7 @@ function cloneVNode(vnode, extraProps, mergeRef = false) {
|
|
|
8793
8793
|
dynamicChildren: vnode.dynamicChildren,
|
|
8794
8794
|
appContext: vnode.appContext,
|
|
8795
8795
|
dirs: vnode.dirs,
|
|
8796
|
-
transition
|
|
8796
|
+
transition,
|
|
8797
8797
|
// These should technically only be non-null on mounted VNodes. However,
|
|
8798
8798
|
// they *should* be copied for kept-alive vnodes. So we just always copy
|
|
8799
8799
|
// them since them being non-null during a mount doesn't affect the logic as
|
|
@@ -8807,6 +8807,9 @@ function cloneVNode(vnode, extraProps, mergeRef = false) {
|
|
|
8807
8807
|
ctx: vnode.ctx,
|
|
8808
8808
|
ce: vnode.ce
|
|
8809
8809
|
};
|
|
8810
|
+
if (transition && cloneTransition) {
|
|
8811
|
+
cloned.transition = transition.clone(cloned);
|
|
8812
|
+
}
|
|
8810
8813
|
return cloned;
|
|
8811
8814
|
}
|
|
8812
8815
|
function deepCloneVNode(vnode) {
|
|
@@ -9614,7 +9617,7 @@ function isMemoSame(cached, memo) {
|
|
|
9614
9617
|
return true;
|
|
9615
9618
|
}
|
|
9616
9619
|
|
|
9617
|
-
const version = "3.4.
|
|
9620
|
+
const version = "3.4.26";
|
|
9618
9621
|
const warn = warn$1 ;
|
|
9619
9622
|
const ErrorTypeStrings = ErrorTypeStrings$1 ;
|
|
9620
9623
|
const devtools = devtools$1 ;
|
|
@@ -9810,8 +9813,8 @@ function resolveTransitionProps(rawProps) {
|
|
|
9810
9813
|
el._isLeaving = true;
|
|
9811
9814
|
const resolve = () => finishLeave(el, done);
|
|
9812
9815
|
addTransitionClass(el, leaveFromClass);
|
|
9813
|
-
forceReflow();
|
|
9814
9816
|
addTransitionClass(el, leaveActiveClass);
|
|
9817
|
+
forceReflow();
|
|
9815
9818
|
nextFrame(() => {
|
|
9816
9819
|
if (!el._isLeaving) {
|
|
9817
9820
|
return;
|
|
@@ -12808,11 +12811,10 @@ const tokenizer = new Tokenizer(stack, {
|
|
|
12808
12811
|
}
|
|
12809
12812
|
},
|
|
12810
12813
|
onselfclosingtag(end) {
|
|
12811
|
-
var _a;
|
|
12812
12814
|
const name = currentOpenTag.tag;
|
|
12813
12815
|
currentOpenTag.isSelfClosing = true;
|
|
12814
12816
|
endOpenTag(end);
|
|
12815
|
-
if (
|
|
12817
|
+
if (stack[0] && stack[0].tag === name) {
|
|
12816
12818
|
onCloseTag(stack.shift(), end);
|
|
12817
12819
|
}
|
|
12818
12820
|
},
|
|
@@ -13113,16 +13115,15 @@ function endOpenTag(end) {
|
|
|
13113
13115
|
currentOpenTag = null;
|
|
13114
13116
|
}
|
|
13115
13117
|
function onText(content, start, end) {
|
|
13116
|
-
var _a;
|
|
13117
13118
|
{
|
|
13118
|
-
const tag =
|
|
13119
|
+
const tag = stack[0] && stack[0].tag;
|
|
13119
13120
|
if (tag !== "script" && tag !== "style" && content.includes("&")) {
|
|
13120
13121
|
content = currentOptions.decodeEntities(content, false);
|
|
13121
13122
|
}
|
|
13122
13123
|
}
|
|
13123
13124
|
const parent = stack[0] || currentRoot;
|
|
13124
13125
|
const lastNode = parent.children[parent.children.length - 1];
|
|
13125
|
-
if (
|
|
13126
|
+
if (lastNode && lastNode.type === 2) {
|
|
13126
13127
|
lastNode.content += content;
|
|
13127
13128
|
setLocEnd(lastNode.loc, end);
|
|
13128
13129
|
} else {
|
|
@@ -13198,11 +13199,10 @@ function isFragmentTemplate({ tag, props }) {
|
|
|
13198
13199
|
return false;
|
|
13199
13200
|
}
|
|
13200
13201
|
function isComponent({ tag, props }) {
|
|
13201
|
-
var _a;
|
|
13202
13202
|
if (currentOptions.isCustomElement(tag)) {
|
|
13203
13203
|
return false;
|
|
13204
13204
|
}
|
|
13205
|
-
if (tag === "component" || isUpperCase(tag.charCodeAt(0)) || isCoreComponent(tag) ||
|
|
13205
|
+
if (tag === "component" || isUpperCase(tag.charCodeAt(0)) || isCoreComponent(tag) || currentOptions.isBuiltInComponent && currentOptions.isBuiltInComponent(tag) || currentOptions.isNativeTag && !currentOptions.isNativeTag(tag)) {
|
|
13206
13206
|
return true;
|
|
13207
13207
|
}
|
|
13208
13208
|
for (let i = 0; i < props.length; i++) {
|
|
@@ -13222,7 +13222,6 @@ function isUpperCase(c) {
|
|
|
13222
13222
|
}
|
|
13223
13223
|
const windowsNewlineRE = /\r\n/g;
|
|
13224
13224
|
function condenseWhitespace(nodes, tag) {
|
|
13225
|
-
var _a, _b;
|
|
13226
13225
|
const shouldCondense = currentOptions.whitespace !== "preserve";
|
|
13227
13226
|
let removedWhitespace = false;
|
|
13228
13227
|
for (let i = 0; i < nodes.length; i++) {
|
|
@@ -13230,8 +13229,8 @@ function condenseWhitespace(nodes, tag) {
|
|
|
13230
13229
|
if (node.type === 2) {
|
|
13231
13230
|
if (!inPre) {
|
|
13232
13231
|
if (isAllWhitespace(node.content)) {
|
|
13233
|
-
const prev =
|
|
13234
|
-
const next =
|
|
13232
|
+
const prev = nodes[i - 1] && nodes[i - 1].type;
|
|
13233
|
+
const next = nodes[i + 1] && nodes[i + 1].type;
|
|
13235
13234
|
if (!prev || !next || shouldCondense && (prev === 3 && (next === 3 || next === 1) || prev === 1 && (next === 3 || next === 1 && hasNewlineChar(node.content)))) {
|
|
13236
13235
|
removedWhitespace = true;
|
|
13237
13236
|
nodes[i] = null;
|
|
@@ -13369,7 +13368,7 @@ function baseParse(input, options) {
|
|
|
13369
13368
|
}
|
|
13370
13369
|
tokenizer.mode = currentOptions.parseMode === "html" ? 1 : currentOptions.parseMode === "sfc" ? 2 : 0;
|
|
13371
13370
|
tokenizer.inXML = currentOptions.ns === 1 || currentOptions.ns === 2;
|
|
13372
|
-
const delimiters = options
|
|
13371
|
+
const delimiters = options && options.delimiters;
|
|
13373
13372
|
if (delimiters) {
|
|
13374
13373
|
tokenizer.delimiterOpen = toCharCodes(delimiters[0]);
|
|
13375
13374
|
tokenizer.delimiterClose = toCharCodes(delimiters[1]);
|
|
@@ -13694,6 +13693,7 @@ function createTransformContext(root, {
|
|
|
13694
13693
|
vOnce: 0
|
|
13695
13694
|
},
|
|
13696
13695
|
parent: null,
|
|
13696
|
+
grandParent: null,
|
|
13697
13697
|
currentNode: root,
|
|
13698
13698
|
childIndex: 0,
|
|
13699
13699
|
inVOnce: false,
|
|
@@ -13834,6 +13834,7 @@ function traverseChildren(parent, context) {
|
|
|
13834
13834
|
const child = parent.children[i];
|
|
13835
13835
|
if (isString(child))
|
|
13836
13836
|
continue;
|
|
13837
|
+
context.grandParent = context.parent;
|
|
13837
13838
|
context.parent = parent;
|
|
13838
13839
|
context.childIndex = i;
|
|
13839
13840
|
context.onNodeRemoved = nodeRemoved;
|
|
@@ -15393,6 +15394,16 @@ function buildProps(node, context, props = node.props, isComponent, isDynamicCom
|
|
|
15393
15394
|
if (arg)
|
|
15394
15395
|
mergeArgs.push(arg);
|
|
15395
15396
|
};
|
|
15397
|
+
const pushRefVForMarker = () => {
|
|
15398
|
+
if (context.scopes.vFor > 0) {
|
|
15399
|
+
properties.push(
|
|
15400
|
+
createObjectProperty(
|
|
15401
|
+
createSimpleExpression("ref_for", true),
|
|
15402
|
+
createSimpleExpression("true")
|
|
15403
|
+
)
|
|
15404
|
+
);
|
|
15405
|
+
}
|
|
15406
|
+
};
|
|
15396
15407
|
const analyzePatchFlag = ({ key, value }) => {
|
|
15397
15408
|
if (isStaticExp(key)) {
|
|
15398
15409
|
const name = key.content;
|
|
@@ -15436,14 +15447,7 @@ function buildProps(node, context, props = node.props, isComponent, isDynamicCom
|
|
|
15436
15447
|
let isStatic = true;
|
|
15437
15448
|
if (name === "ref") {
|
|
15438
15449
|
hasRef = true;
|
|
15439
|
-
|
|
15440
|
-
properties.push(
|
|
15441
|
-
createObjectProperty(
|
|
15442
|
-
createSimpleExpression("ref_for", true),
|
|
15443
|
-
createSimpleExpression("true")
|
|
15444
|
-
)
|
|
15445
|
-
);
|
|
15446
|
-
}
|
|
15450
|
+
pushRefVForMarker();
|
|
15447
15451
|
}
|
|
15448
15452
|
if (name === "is" && (isComponentTag(tag) || value && value.content.startsWith("vue:") || false)) {
|
|
15449
15453
|
continue;
|
|
@@ -15487,18 +15491,14 @@ function buildProps(node, context, props = node.props, isComponent, isDynamicCom
|
|
|
15487
15491
|
) {
|
|
15488
15492
|
shouldUseBlock = true;
|
|
15489
15493
|
}
|
|
15490
|
-
if (isVBind && isStaticArgOf(arg, "ref")
|
|
15491
|
-
|
|
15492
|
-
createObjectProperty(
|
|
15493
|
-
createSimpleExpression("ref_for", true),
|
|
15494
|
-
createSimpleExpression("true")
|
|
15495
|
-
)
|
|
15496
|
-
);
|
|
15494
|
+
if (isVBind && isStaticArgOf(arg, "ref")) {
|
|
15495
|
+
pushRefVForMarker();
|
|
15497
15496
|
}
|
|
15498
15497
|
if (!arg && (isVBind || isVOn)) {
|
|
15499
15498
|
hasDynamicKeys = true;
|
|
15500
15499
|
if (exp) {
|
|
15501
15500
|
if (isVBind) {
|
|
15501
|
+
pushRefVForMarker();
|
|
15502
15502
|
pushMergeArg();
|
|
15503
15503
|
mergeArgs.push(exp);
|
|
15504
15504
|
} else {
|