@highstate/designer 0.9.18 → 0.9.20
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/.output/nitro.json +3 -3
- package/.output/public/_nuxt/20zRBBOT.js +276 -0
- package/.output/public/_nuxt/3cWt8vz3.js +1 -0
- package/.output/public/_nuxt/{xVLoeQ-B.js → 4-z0BBBK.js} +1 -1
- package/.output/public/_nuxt/B6Kaf1Zv.js +1 -0
- package/.output/public/_nuxt/B7eyK5kF.js +1 -0
- package/.output/public/_nuxt/{CPSgaaQ0.js → BBm9Ui4P.js} +1 -1
- package/.output/public/_nuxt/BCeRv53V.js +1 -0
- package/.output/public/_nuxt/BFHRoLmv.js +1 -0
- package/.output/public/_nuxt/BKG_vmA6.js +1 -0
- package/.output/public/_nuxt/BMQs3vM5.js +2 -0
- package/.output/public/_nuxt/BTT16DZE.js +1 -0
- package/.output/public/_nuxt/{B7grBCAR.js → BUBm2gu0.js} +1 -1
- package/.output/public/_nuxt/BUVU2BiV.js +1 -0
- package/.output/public/_nuxt/BZsnSVZa.js +1 -0
- package/.output/public/_nuxt/BZxTtwKO.js +1 -0
- package/.output/public/_nuxt/Bc22Y1oD.js +1 -0
- package/.output/public/_nuxt/BdJnfSuv.js +1 -0
- package/.output/public/_nuxt/BfUh6PEC.js +1 -0
- package/.output/public/_nuxt/BhJD15Lv.js +1 -0
- package/.output/public/_nuxt/BvXvCmL7.js +1 -0
- package/.output/public/_nuxt/C1NBlWY6.js +1 -0
- package/.output/public/_nuxt/C3tTPg4E.js +1 -0
- package/.output/public/_nuxt/CHdpI9cE.js +1 -0
- package/.output/public/_nuxt/CJbwedTO.js +1 -0
- package/.output/public/_nuxt/CXMRj2GR.js +1 -0
- package/.output/public/_nuxt/CgH_TWd3.js +1 -0
- package/.output/public/_nuxt/CjzOrk9n.js +1 -0
- package/.output/public/_nuxt/CnSrlJ1t.js +1 -0
- package/.output/public/_nuxt/CpdUDRp-.js +1 -0
- package/.output/public/_nuxt/CucSXtnI.js +16 -0
- package/.output/public/_nuxt/{CNBtkm4J.js → D0GxoeXH.js} +2 -2
- package/.output/public/_nuxt/D2AD0cA7.js +1 -0
- package/.output/public/_nuxt/D2QRMlri.js +1 -0
- package/.output/public/_nuxt/D5OlmvkM.js +1 -0
- package/.output/public/_nuxt/D6E-gKom.js +12 -0
- package/.output/public/_nuxt/DBdpdpK3.js +1 -0
- package/.output/public/_nuxt/DEnsbvQE.js +1 -0
- package/.output/public/_nuxt/DFH86FKQ.js +1 -0
- package/.output/public/_nuxt/DKZb-7H-.js +2 -0
- package/.output/public/_nuxt/DMvBTgJm.js +1 -0
- package/.output/public/_nuxt/DOgaXG8Y.js +1 -0
- package/.output/public/_nuxt/{ClbN2oa7.js → DRIP7i-G.js} +2 -2
- package/.output/public/_nuxt/DUARq8BM.js +1 -0
- package/.output/public/_nuxt/DVV-1Xgo.js +1 -0
- package/.output/public/_nuxt/DW9frVpz.js +1 -0
- package/.output/public/_nuxt/DWDpKQJN.js +1 -0
- package/.output/public/_nuxt/Dbgx9Kfk.js +1 -0
- package/.output/public/_nuxt/DbomWJMC.js +1 -0
- package/.output/public/_nuxt/Df5-uBpS.js +1 -0
- package/.output/public/_nuxt/DgxepGqe.js +1 -0
- package/.output/public/_nuxt/DjN4qVUp.js +1 -0
- package/.output/public/_nuxt/DmQuAe0a.js +1 -0
- package/.output/public/_nuxt/DnkIt1sE.js +1 -0
- package/.output/public/_nuxt/DpdC86Cg.js +1 -0
- package/.output/public/_nuxt/DrMaf3PA.js +5 -0
- package/.output/public/_nuxt/Dsv_PvmI.js +1 -0
- package/.output/public/_nuxt/DuztTtWK.js +1 -0
- package/.output/public/_nuxt/DxhSsuVH.js +1 -0
- package/.output/public/_nuxt/G46Y9AKK.js +1 -0
- package/.output/public/_nuxt/SecretValueField.SMGlmIfE.css +1 -0
- package/.output/public/_nuxt/TqsILp0j.js +2 -0
- package/.output/public/_nuxt/XVH4GPVs.js +1 -0
- package/.output/public/_nuxt/_pageId_.Be9XJqQA.css +1 -0
- package/.output/public/_nuxt/apt5CXWJ.js +2 -0
- package/.output/public/_nuxt/builds/latest.json +1 -1
- package/.output/public/_nuxt/builds/meta/4aa61a2b-8c04-489d-bc5e-b3c10756c7d5.json +1 -0
- package/.output/public/_nuxt/{entry.YsT17dxl.css → entry.B__IA1SB.css} +1 -1
- package/.output/public/_nuxt/error-404.Ctkhr_Pq.css +1 -0
- package/.output/public/_nuxt/error-500.BsWzRwYo.css +1 -0
- package/.output/public/_nuxt/{graph-resolver-ClVztv7P.js → graph-resolver-r_0JlXH_.js} +100 -100
- package/.output/public/_nuxt/gt3opOQe.js +1 -0
- package/.output/public/_nuxt/index.CdaM9XKS.css +1 -0
- package/.output/public/_nuxt/j6gS8Wqd.js +1 -0
- package/.output/public/_nuxt/jhVMpA5V.js +1 -0
- package/.output/public/_nuxt/koatKMQr.js +26 -0
- package/.output/public/_nuxt/oZs8U75K.js +1 -0
- package/.output/public/_nuxt/operations.3bVU1gWl.css +1 -0
- package/.output/public/_nuxt/rwNeRj8A.js +1 -0
- package/.output/public/_nuxt/settings.DE1a_g5Y.css +1 -0
- package/.output/public/_nuxt/{vuetify.C_sYHwU6.css → vuetify.uXRHzFBB.css} +1 -1
- package/.output/public/_nuxt/whD7B6hi.js +1 -0
- package/.output/public/_nuxt/yJRFOr9c.js +1 -0
- package/.output/public/_nuxt/yb5mHxB5.js +1 -0
- package/.output/server/index.mjs +3686 -2213
- package/.output/server/index.mjs.map +1 -1
- package/.output/server/node_modules/@babel/parser/lib/index.js +7 -2
- package/.output/server/node_modules/@babel/parser/package.json +2 -2
- package/.output/server/node_modules/@vue/compiler-core/dist/compiler-core.cjs.prod.js +24 -25
- package/.output/server/node_modules/@vue/compiler-core/package.json +4 -4
- package/.output/server/node_modules/@vue/compiler-dom/dist/compiler-dom.cjs.prod.js +1 -1
- package/.output/server/node_modules/@vue/compiler-dom/package.json +3 -3
- package/.output/server/node_modules/@vue/compiler-ssr/dist/compiler-ssr.cjs.js +1 -1
- package/.output/server/node_modules/@vue/compiler-ssr/package.json +3 -3
- package/.output/server/node_modules/@vue/reactivity/dist/reactivity.cjs.prod.js +4 -4
- package/.output/server/node_modules/@vue/reactivity/package.json +2 -2
- package/.output/server/node_modules/@vue/runtime-core/dist/runtime-core.cjs.prod.js +51 -47
- package/.output/server/node_modules/@vue/runtime-core/package.json +3 -3
- package/.output/server/node_modules/@vue/runtime-dom/dist/runtime-dom.cjs.prod.js +18 -16
- package/.output/server/node_modules/@vue/runtime-dom/package.json +4 -4
- package/.output/server/node_modules/@vue/server-renderer/dist/server-renderer.cjs.prod.js +26 -4
- package/.output/server/node_modules/@vue/server-renderer/package.json +4 -4
- package/.output/server/node_modules/@vue/shared/dist/shared.cjs.prod.js +14 -3
- package/.output/server/node_modules/@vue/shared/package.json +1 -1
- package/.output/server/node_modules/copy-anything/dist/index.js +36 -0
- package/.output/server/node_modules/copy-anything/package.json +108 -0
- package/.output/server/node_modules/is-what/dist/index.js +171 -0
- package/.output/server/node_modules/is-what/package.json +128 -0
- package/.output/server/node_modules/superjson/dist/accessDeep.js +123 -0
- package/.output/server/node_modules/superjson/dist/class-registry.js +22 -0
- package/.output/server/node_modules/superjson/dist/custom-transformer-registry.js +16 -0
- package/.output/server/node_modules/superjson/dist/double-indexed-kv.js +21 -0
- package/.output/server/node_modules/superjson/dist/index.js +89 -0
- package/.output/server/node_modules/superjson/dist/is.js +35 -0
- package/.output/server/node_modules/superjson/dist/pathstringifier.js +29 -0
- package/.output/server/node_modules/superjson/dist/plainer.js +173 -0
- package/.output/server/node_modules/superjson/dist/registry.js +26 -0
- package/.output/server/node_modules/superjson/dist/transformer.js +197 -0
- package/.output/server/node_modules/superjson/dist/util.js +45 -0
- package/.output/server/node_modules/superjson/package.json +79 -0
- package/.output/server/node_modules/unhead/dist/plugins.mjs +14 -8
- package/.output/server/node_modules/unhead/dist/server.mjs +3 -3
- package/.output/server/node_modules/unhead/dist/shared/{unhead.C13swrCa.mjs → unhead.BYvz9V1x.mjs} +1 -6
- package/.output/server/node_modules/unhead/dist/shared/{unhead.Di5OD67x.mjs → unhead.BpRRHAhY.mjs} +4 -0
- package/.output/server/node_modules/unhead/dist/shared/{unhead.CAk5S5m6.mjs → unhead.DH45uomy.mjs} +1 -1
- package/.output/server/node_modules/unhead/dist/shared/{unhead.DeCxexjU.mjs → unhead.Djo8ep_Y.mjs} +1 -1
- package/.output/server/node_modules/unhead/dist/utils.mjs +2 -2
- package/.output/server/node_modules/unhead/package.json +1 -1
- package/.output/server/node_modules/vue/dist/vue.cjs.js +1 -1
- package/.output/server/node_modules/vue/dist/vue.cjs.prod.js +1 -1
- package/.output/server/node_modules/vue/package.json +6 -6
- package/.output/server/node_modules/vue-bundle-renderer/package.json +13 -13
- package/.output/server/package.json +16 -13
- package/package.json +16 -12
- package/.output/public/_nuxt/84XNjSIe.js +0 -1
- package/.output/public/_nuxt/BKmAPqal.js +0 -1
- package/.output/public/_nuxt/BLOpwnqT.js +0 -1
- package/.output/public/_nuxt/BTEhxafZ.js +0 -1
- package/.output/public/_nuxt/B_wu9Dqv.js +0 -1
- package/.output/public/_nuxt/BebE75YV.js +0 -1
- package/.output/public/_nuxt/Bm_zuxCd.js +0 -1
- package/.output/public/_nuxt/BvYfgXkl.js +0 -1
- package/.output/public/_nuxt/C-_oQ9hf.js +0 -1
- package/.output/public/_nuxt/COWjEZnb.js +0 -1
- package/.output/public/_nuxt/CYRjgJw9.js +0 -26
- package/.output/public/_nuxt/Cj-b45ZR.js +0 -1
- package/.output/public/_nuxt/CtMxL075.js +0 -21
- package/.output/public/_nuxt/D-pF80u_.js +0 -1
- package/.output/public/_nuxt/D0Gq3ULd.js +0 -1
- package/.output/public/_nuxt/DCWrMWBD.js +0 -1
- package/.output/public/_nuxt/DEsY2yuF.js +0 -1
- package/.output/public/_nuxt/DPvdOr2J.js +0 -1
- package/.output/public/_nuxt/DbtIzDGy.js +0 -1
- package/.output/public/_nuxt/DwheRqRn.js +0 -1
- package/.output/public/_nuxt/SVGiTNnK.js +0 -1
- package/.output/public/_nuxt/SettingsDataTable.BLJqwlEK.css +0 -1
- package/.output/public/_nuxt/UQxqNY8s.js +0 -273
- package/.output/public/_nuxt/about.fWlW3EhQ.css +0 -1
- package/.output/public/_nuxt/builds/meta/b0e10f5e-bdc5-4007-9281-161aa323adf1.json +0 -1
- package/.output/public/_nuxt/error-404.CH3riSrg.css +0 -1
- package/.output/public/_nuxt/error-500.C8Qk6cR7.css +0 -1
- package/.output/public/_nuxt/index.smtD6lYF.css +0 -1
- package/.output/public/_nuxt/instances.CGwVkdDM.css +0 -1
- package/.output/public/_nuxt/oVh4WQ21.js +0 -1
- package/.output/public/_nuxt/operations.BfCOaoAx.css +0 -1
- package/.output/public/_nuxt/operations.DvUkbQbt.css +0 -1
- package/.output/public/_nuxt/p5ZwBirz.js +0 -1
- package/.output/public/_nuxt/secrets._PitGGJK.css +0 -1
- package/.output/public/_nuxt/settings.BCRf8MgD.css +0 -1
- package/.output/public/_nuxt/terminals.B07MGsh3.css +0 -1
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@vue/runtime-core",
|
|
3
|
-
"version": "3.5.
|
|
3
|
+
"version": "3.5.20",
|
|
4
4
|
"description": "@vue/runtime-core",
|
|
5
5
|
"main": "index.js",
|
|
6
6
|
"module": "dist/runtime-core.esm-bundler.js",
|
|
@@ -46,7 +46,7 @@
|
|
|
46
46
|
},
|
|
47
47
|
"homepage": "https://github.com/vuejs/core/tree/main/packages/runtime-core#readme",
|
|
48
48
|
"dependencies": {
|
|
49
|
-
"@vue/shared": "3.5.
|
|
50
|
-
"@vue/reactivity": "3.5.
|
|
49
|
+
"@vue/shared": "3.5.20",
|
|
50
|
+
"@vue/reactivity": "3.5.20"
|
|
51
51
|
}
|
|
52
52
|
}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* @vue/runtime-dom v3.5.
|
|
2
|
+
* @vue/runtime-dom v3.5.20
|
|
3
3
|
* (c) 2018-present Yuxi (Evan) You and Vue contributors
|
|
4
4
|
* @license MIT
|
|
5
5
|
**/
|
|
@@ -384,6 +384,8 @@ function patchClass(el, value, isSVG) {
|
|
|
384
384
|
const vShowOriginalDisplay = Symbol("_vod");
|
|
385
385
|
const vShowHidden = Symbol("_vsh");
|
|
386
386
|
const vShow = {
|
|
387
|
+
// used for prop mismatch check during hydration
|
|
388
|
+
name: "show",
|
|
387
389
|
beforeMount(el, { value }, { transition }) {
|
|
388
390
|
el[vShowOriginalDisplay] = el.style.display === "none" ? "" : el.style.display;
|
|
389
391
|
if (transition && value) {
|
|
@@ -746,10 +748,10 @@ function defineCustomElement(options, extraOptions, _createApp) {
|
|
|
746
748
|
VueCustomElement.def = Comp;
|
|
747
749
|
return VueCustomElement;
|
|
748
750
|
}
|
|
749
|
-
|
|
750
|
-
const defineSSRCustomElement = /* @__NO_SIDE_EFFECTS__ */ (options, extraOptions) => {
|
|
751
|
+
|
|
752
|
+
const defineSSRCustomElement = (/* @__NO_SIDE_EFFECTS__ */ (options, extraOptions) => {
|
|
751
753
|
return /* @__PURE__ */ defineCustomElement(options, extraOptions, createSSRApp);
|
|
752
|
-
};
|
|
754
|
+
});
|
|
753
755
|
const BaseClass = typeof HTMLElement !== "undefined" ? HTMLElement : class {
|
|
754
756
|
};
|
|
755
757
|
class VueElement extends BaseClass {
|
|
@@ -1543,13 +1545,13 @@ const modifierGuards = {
|
|
|
1543
1545
|
const withModifiers = (fn, modifiers) => {
|
|
1544
1546
|
const cache = fn._withMods || (fn._withMods = {});
|
|
1545
1547
|
const cacheKey = modifiers.join(".");
|
|
1546
|
-
return cache[cacheKey] || (cache[cacheKey] = (event, ...args) => {
|
|
1548
|
+
return cache[cacheKey] || (cache[cacheKey] = ((event, ...args) => {
|
|
1547
1549
|
for (let i = 0; i < modifiers.length; i++) {
|
|
1548
1550
|
const guard = modifierGuards[modifiers[i]];
|
|
1549
1551
|
if (guard && guard(event, modifiers)) return;
|
|
1550
1552
|
}
|
|
1551
1553
|
return fn(event, ...args);
|
|
1552
|
-
});
|
|
1554
|
+
}));
|
|
1553
1555
|
};
|
|
1554
1556
|
const keyNames = {
|
|
1555
1557
|
esc: "escape",
|
|
@@ -1563,7 +1565,7 @@ const keyNames = {
|
|
|
1563
1565
|
const withKeys = (fn, modifiers) => {
|
|
1564
1566
|
const cache = fn._withKeys || (fn._withKeys = {});
|
|
1565
1567
|
const cacheKey = modifiers.join(".");
|
|
1566
|
-
return cache[cacheKey] || (cache[cacheKey] = (event) => {
|
|
1568
|
+
return cache[cacheKey] || (cache[cacheKey] = ((event) => {
|
|
1567
1569
|
if (!("key" in event)) {
|
|
1568
1570
|
return;
|
|
1569
1571
|
}
|
|
@@ -1573,7 +1575,7 @@ const withKeys = (fn, modifiers) => {
|
|
|
1573
1575
|
)) {
|
|
1574
1576
|
return fn(event);
|
|
1575
1577
|
}
|
|
1576
|
-
});
|
|
1578
|
+
}));
|
|
1577
1579
|
};
|
|
1578
1580
|
|
|
1579
1581
|
const rendererOptions = /* @__PURE__ */ shared.extend({ patchProp }, nodeOps);
|
|
@@ -1587,13 +1589,13 @@ function ensureHydrationRenderer() {
|
|
|
1587
1589
|
enabledHydration = true;
|
|
1588
1590
|
return renderer;
|
|
1589
1591
|
}
|
|
1590
|
-
const render = (...args) => {
|
|
1592
|
+
const render = ((...args) => {
|
|
1591
1593
|
ensureRenderer().render(...args);
|
|
1592
|
-
};
|
|
1593
|
-
const hydrate = (...args) => {
|
|
1594
|
+
});
|
|
1595
|
+
const hydrate = ((...args) => {
|
|
1594
1596
|
ensureHydrationRenderer().hydrate(...args);
|
|
1595
|
-
};
|
|
1596
|
-
const createApp = (...args) => {
|
|
1597
|
+
});
|
|
1598
|
+
const createApp = ((...args) => {
|
|
1597
1599
|
const app = ensureRenderer().createApp(...args);
|
|
1598
1600
|
const { mount } = app;
|
|
1599
1601
|
app.mount = (containerOrSelector) => {
|
|
@@ -1614,8 +1616,8 @@ const createApp = (...args) => {
|
|
|
1614
1616
|
return proxy;
|
|
1615
1617
|
};
|
|
1616
1618
|
return app;
|
|
1617
|
-
};
|
|
1618
|
-
const createSSRApp = (...args) => {
|
|
1619
|
+
});
|
|
1620
|
+
const createSSRApp = ((...args) => {
|
|
1619
1621
|
const app = ensureHydrationRenderer().createApp(...args);
|
|
1620
1622
|
const { mount } = app;
|
|
1621
1623
|
app.mount = (containerOrSelector) => {
|
|
@@ -1625,7 +1627,7 @@ const createSSRApp = (...args) => {
|
|
|
1625
1627
|
}
|
|
1626
1628
|
};
|
|
1627
1629
|
return app;
|
|
1628
|
-
};
|
|
1630
|
+
});
|
|
1629
1631
|
function resolveRootNamespace(container) {
|
|
1630
1632
|
if (container instanceof SVGElement) {
|
|
1631
1633
|
return "svg";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@vue/runtime-dom",
|
|
3
|
-
"version": "3.5.
|
|
3
|
+
"version": "3.5.20",
|
|
4
4
|
"description": "@vue/runtime-dom",
|
|
5
5
|
"main": "index.js",
|
|
6
6
|
"module": "dist/runtime-dom.esm-bundler.js",
|
|
@@ -50,9 +50,9 @@
|
|
|
50
50
|
"homepage": "https://github.com/vuejs/core/tree/main/packages/runtime-dom#readme",
|
|
51
51
|
"dependencies": {
|
|
52
52
|
"csstype": "^3.1.3",
|
|
53
|
-
"@vue/
|
|
54
|
-
"@vue/
|
|
55
|
-
"@vue/
|
|
53
|
+
"@vue/runtime-core": "3.5.20",
|
|
54
|
+
"@vue/reactivity": "3.5.20",
|
|
55
|
+
"@vue/shared": "3.5.20"
|
|
56
56
|
},
|
|
57
57
|
"devDependencies": {
|
|
58
58
|
"@types/trusted-types": "^2.0.7"
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* @vue/server-renderer v3.5.
|
|
2
|
+
* @vue/server-renderer v3.5.20
|
|
3
3
|
* (c) 2018-present Yuxi (Evan) You and Vue contributors
|
|
4
4
|
* @license MIT
|
|
5
5
|
**/
|
|
@@ -78,9 +78,23 @@ function ssrRenderStyle(raw) {
|
|
|
78
78
|
if (shared.isString(raw)) {
|
|
79
79
|
return shared.escapeHtml(raw);
|
|
80
80
|
}
|
|
81
|
-
const styles = shared.normalizeStyle(raw);
|
|
81
|
+
const styles = shared.normalizeStyle(ssrResetCssVars(raw));
|
|
82
82
|
return shared.escapeHtml(shared.stringifyStyle(styles));
|
|
83
83
|
}
|
|
84
|
+
function ssrResetCssVars(raw) {
|
|
85
|
+
if (!shared.isArray(raw) && shared.isObject(raw)) {
|
|
86
|
+
const res = {};
|
|
87
|
+
for (const key in raw) {
|
|
88
|
+
if (key.startsWith(":--")) {
|
|
89
|
+
res[key.slice(1)] = shared.normalizeCssVarValue(raw[key]);
|
|
90
|
+
} else {
|
|
91
|
+
res[key] = raw[key];
|
|
92
|
+
}
|
|
93
|
+
}
|
|
94
|
+
return res;
|
|
95
|
+
}
|
|
96
|
+
return raw;
|
|
97
|
+
}
|
|
84
98
|
|
|
85
99
|
function ssrRenderComponent(comp, props = null, children = null, parentComponent = null, slotScopeId) {
|
|
86
100
|
return renderComponentVNode(
|
|
@@ -128,6 +142,8 @@ function ssrRenderSlotInner(slots, slotName, slotProps, fallbackRenderFn, push,
|
|
|
128
142
|
);
|
|
129
143
|
} else if (fallbackRenderFn) {
|
|
130
144
|
fallbackRenderFn();
|
|
145
|
+
} else if (transition) {
|
|
146
|
+
push(`<!---->`);
|
|
131
147
|
}
|
|
132
148
|
} else {
|
|
133
149
|
let isEmptySlot = true;
|
|
@@ -152,13 +168,19 @@ function ssrRenderSlotInner(slots, slotName, slotProps, fallbackRenderFn, push,
|
|
|
152
168
|
start++;
|
|
153
169
|
end--;
|
|
154
170
|
}
|
|
155
|
-
|
|
156
|
-
|
|
171
|
+
if (start < end) {
|
|
172
|
+
for (let i = start; i < end; i++) {
|
|
173
|
+
push(slotBuffer[i]);
|
|
174
|
+
}
|
|
175
|
+
} else if (transition) {
|
|
176
|
+
push(`<!---->`);
|
|
157
177
|
}
|
|
158
178
|
}
|
|
159
179
|
}
|
|
160
180
|
} else if (fallbackRenderFn) {
|
|
161
181
|
fallbackRenderFn();
|
|
182
|
+
} else if (transition) {
|
|
183
|
+
push(`<!---->`);
|
|
162
184
|
}
|
|
163
185
|
}
|
|
164
186
|
const commentTestRE = /^<!--[\s\S]*-->$/;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@vue/server-renderer",
|
|
3
|
-
"version": "3.5.
|
|
3
|
+
"version": "3.5.20",
|
|
4
4
|
"description": "@vue/server-renderer",
|
|
5
5
|
"main": "index.js",
|
|
6
6
|
"module": "dist/server-renderer.esm-bundler.js",
|
|
@@ -46,10 +46,10 @@
|
|
|
46
46
|
},
|
|
47
47
|
"homepage": "https://github.com/vuejs/core/tree/main/packages/server-renderer#readme",
|
|
48
48
|
"peerDependencies": {
|
|
49
|
-
"vue": "3.5.
|
|
49
|
+
"vue": "3.5.20"
|
|
50
50
|
},
|
|
51
51
|
"dependencies": {
|
|
52
|
-
"@vue/
|
|
53
|
-
"@vue/
|
|
52
|
+
"@vue/compiler-ssr": "3.5.20",
|
|
53
|
+
"@vue/shared": "3.5.20"
|
|
54
54
|
}
|
|
55
55
|
}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* @vue/shared v3.5.
|
|
2
|
+
* @vue/shared v3.5.20
|
|
3
3
|
* (c) 2018-present Yuxi (Evan) You and Vue contributors
|
|
4
4
|
* @license MIT
|
|
5
5
|
**/
|
|
@@ -60,10 +60,10 @@ const isBuiltInDirective = /* @__PURE__ */ makeMap(
|
|
|
60
60
|
);
|
|
61
61
|
const cacheStringFunction = (fn) => {
|
|
62
62
|
const cache = /* @__PURE__ */ Object.create(null);
|
|
63
|
-
return (str) => {
|
|
63
|
+
return ((str) => {
|
|
64
64
|
const hit = cache[str];
|
|
65
65
|
return hit || (cache[str] = fn(str));
|
|
66
|
-
};
|
|
66
|
+
});
|
|
67
67
|
};
|
|
68
68
|
const camelizeRE = /-(\w)/g;
|
|
69
69
|
const camelize = cacheStringFunction(
|
|
@@ -520,6 +520,16 @@ const stringifySymbol = (v, i = "") => {
|
|
|
520
520
|
);
|
|
521
521
|
};
|
|
522
522
|
|
|
523
|
+
function normalizeCssVarValue(value) {
|
|
524
|
+
if (value == null) {
|
|
525
|
+
return "initial";
|
|
526
|
+
}
|
|
527
|
+
if (typeof value === "string") {
|
|
528
|
+
return value === "" ? " " : value;
|
|
529
|
+
}
|
|
530
|
+
return String(value);
|
|
531
|
+
}
|
|
532
|
+
|
|
523
533
|
exports.EMPTY_ARR = EMPTY_ARR;
|
|
524
534
|
exports.EMPTY_OBJ = EMPTY_OBJ;
|
|
525
535
|
exports.NO = NO;
|
|
@@ -579,6 +589,7 @@ exports.looseIndexOf = looseIndexOf;
|
|
|
579
589
|
exports.looseToNumber = looseToNumber;
|
|
580
590
|
exports.makeMap = makeMap;
|
|
581
591
|
exports.normalizeClass = normalizeClass;
|
|
592
|
+
exports.normalizeCssVarValue = normalizeCssVarValue;
|
|
582
593
|
exports.normalizeProps = normalizeProps;
|
|
583
594
|
exports.normalizeStyle = normalizeStyle;
|
|
584
595
|
exports.objectToString = objectToString;
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
import { isArray, isPlainObject } from 'is-what';
|
|
2
|
+
|
|
3
|
+
function assignProp(carry, key, newVal, originalObject, includeNonenumerable) {
|
|
4
|
+
const propType = {}.propertyIsEnumerable.call(originalObject, key) ? "enumerable" : "nonenumerable";
|
|
5
|
+
if (propType === "enumerable")
|
|
6
|
+
carry[key] = newVal;
|
|
7
|
+
if (includeNonenumerable && propType === "nonenumerable") {
|
|
8
|
+
Object.defineProperty(carry, key, {
|
|
9
|
+
value: newVal,
|
|
10
|
+
enumerable: false,
|
|
11
|
+
writable: true,
|
|
12
|
+
configurable: true
|
|
13
|
+
});
|
|
14
|
+
}
|
|
15
|
+
}
|
|
16
|
+
function copy(target, options = {}) {
|
|
17
|
+
if (isArray(target)) {
|
|
18
|
+
return target.map((item) => copy(item, options));
|
|
19
|
+
}
|
|
20
|
+
if (!isPlainObject(target)) {
|
|
21
|
+
return target;
|
|
22
|
+
}
|
|
23
|
+
const props = Object.getOwnPropertyNames(target);
|
|
24
|
+
const symbols = Object.getOwnPropertySymbols(target);
|
|
25
|
+
return [...props, ...symbols].reduce((carry, key) => {
|
|
26
|
+
if (isArray(options.props) && !options.props.includes(key)) {
|
|
27
|
+
return carry;
|
|
28
|
+
}
|
|
29
|
+
const val = target[key];
|
|
30
|
+
const newVal = copy(val, options);
|
|
31
|
+
assignProp(carry, key, newVal, target, options.nonenumerable);
|
|
32
|
+
return carry;
|
|
33
|
+
}, {});
|
|
34
|
+
}
|
|
35
|
+
|
|
36
|
+
export { copy };
|
|
@@ -0,0 +1,108 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "copy-anything",
|
|
3
|
+
"version": "3.0.5",
|
|
4
|
+
"description": "An optimised way to copy'ing an object. A small and simple integration",
|
|
5
|
+
"type": "module",
|
|
6
|
+
"sideEffects": false,
|
|
7
|
+
"types": "./dist/index.d.ts",
|
|
8
|
+
"module": "./dist/index.js",
|
|
9
|
+
"main": "./dist/index.js",
|
|
10
|
+
"exports": {
|
|
11
|
+
".": {
|
|
12
|
+
"require": {
|
|
13
|
+
"types": "./dist/cjs/index.d.cts",
|
|
14
|
+
"default": "./dist/cjs/index.cjs"
|
|
15
|
+
},
|
|
16
|
+
"import": {
|
|
17
|
+
"types": "./dist/index.d.ts",
|
|
18
|
+
"default": "./dist/index.js"
|
|
19
|
+
}
|
|
20
|
+
}
|
|
21
|
+
},
|
|
22
|
+
"files": [
|
|
23
|
+
"dist"
|
|
24
|
+
],
|
|
25
|
+
"engines": {
|
|
26
|
+
"node": ">=12.13"
|
|
27
|
+
},
|
|
28
|
+
"scripts": {
|
|
29
|
+
"test": "vitest run",
|
|
30
|
+
"lint": "tsc --noEmit && eslint ./src --ext .ts",
|
|
31
|
+
"build": "rollup -c ./rollup.config.js",
|
|
32
|
+
"release": "npm run lint && del dist && npm run build && np"
|
|
33
|
+
},
|
|
34
|
+
"dependencies": {
|
|
35
|
+
"is-what": "^4.1.8"
|
|
36
|
+
},
|
|
37
|
+
"devDependencies": {
|
|
38
|
+
"@typescript-eslint/eslint-plugin": "^5.59.2",
|
|
39
|
+
"@typescript-eslint/parser": "^5.59.2",
|
|
40
|
+
"del-cli": "^5.0.0",
|
|
41
|
+
"eslint": "^8.40.0",
|
|
42
|
+
"eslint-config-prettier": "^8.8.0",
|
|
43
|
+
"eslint-plugin-tree-shaking": "^1.10.0",
|
|
44
|
+
"np": "^7.7.0",
|
|
45
|
+
"prettier": "^2.8.8",
|
|
46
|
+
"rollup": "^3.23.0",
|
|
47
|
+
"rollup-plugin-dts": "^5.3.0",
|
|
48
|
+
"rollup-plugin-esbuild": "^5.0.0",
|
|
49
|
+
"typescript": "^4.9.5",
|
|
50
|
+
"vitest": "^0.31.0"
|
|
51
|
+
},
|
|
52
|
+
"keywords": [
|
|
53
|
+
"copy",
|
|
54
|
+
"clone",
|
|
55
|
+
"json-stringify",
|
|
56
|
+
"stringify-parse",
|
|
57
|
+
"object",
|
|
58
|
+
"copy-objects",
|
|
59
|
+
"clone-objects",
|
|
60
|
+
"json-stringify-json-parse",
|
|
61
|
+
"deep-clone",
|
|
62
|
+
"deep-copy",
|
|
63
|
+
"typescript",
|
|
64
|
+
"ts"
|
|
65
|
+
],
|
|
66
|
+
"author": "Luca Ban - Mesqueeb",
|
|
67
|
+
"funding": "https://github.com/sponsors/mesqueeb",
|
|
68
|
+
"license": "MIT",
|
|
69
|
+
"bugs": {
|
|
70
|
+
"url": "https://github.com/mesqueeb/copy-anything/issues"
|
|
71
|
+
},
|
|
72
|
+
"homepage": "https://github.com/mesqueeb/copy-anything#readme",
|
|
73
|
+
"repository": {
|
|
74
|
+
"type": "git",
|
|
75
|
+
"url": "git+https://github.com/mesqueeb/copy-anything.git"
|
|
76
|
+
},
|
|
77
|
+
"np": {
|
|
78
|
+
"yarn": false,
|
|
79
|
+
"branch": "production"
|
|
80
|
+
},
|
|
81
|
+
"eslintConfig": {
|
|
82
|
+
"ignorePatterns": [
|
|
83
|
+
"node_modules",
|
|
84
|
+
"dist",
|
|
85
|
+
"scripts",
|
|
86
|
+
"test"
|
|
87
|
+
],
|
|
88
|
+
"root": true,
|
|
89
|
+
"parser": "@typescript-eslint/parser",
|
|
90
|
+
"plugins": [
|
|
91
|
+
"@typescript-eslint",
|
|
92
|
+
"tree-shaking"
|
|
93
|
+
],
|
|
94
|
+
"extends": [
|
|
95
|
+
"eslint:recommended",
|
|
96
|
+
"plugin:@typescript-eslint/eslint-recommended",
|
|
97
|
+
"plugin:@typescript-eslint/recommended",
|
|
98
|
+
"prettier"
|
|
99
|
+
],
|
|
100
|
+
"rules": {
|
|
101
|
+
"@typescript-eslint/no-empty-function": "off",
|
|
102
|
+
"@typescript-eslint/no-explicit-any": "off",
|
|
103
|
+
"@typescript-eslint/ban-ts-ignore": "off",
|
|
104
|
+
"tree-shaking/no-side-effects-in-initialization": "error",
|
|
105
|
+
"@typescript-eslint/ban-ts-comment": "off"
|
|
106
|
+
}
|
|
107
|
+
}
|
|
108
|
+
}
|
|
@@ -0,0 +1,171 @@
|
|
|
1
|
+
function getType(payload) {
|
|
2
|
+
return Object.prototype.toString.call(payload).slice(8, -1);
|
|
3
|
+
}
|
|
4
|
+
|
|
5
|
+
function isAnyObject(payload) {
|
|
6
|
+
return getType(payload) === "Object";
|
|
7
|
+
}
|
|
8
|
+
|
|
9
|
+
function isArray(payload) {
|
|
10
|
+
return getType(payload) === "Array";
|
|
11
|
+
}
|
|
12
|
+
|
|
13
|
+
function isBlob(payload) {
|
|
14
|
+
return getType(payload) === "Blob";
|
|
15
|
+
}
|
|
16
|
+
|
|
17
|
+
function isBoolean(payload) {
|
|
18
|
+
return getType(payload) === "Boolean";
|
|
19
|
+
}
|
|
20
|
+
|
|
21
|
+
function isDate(payload) {
|
|
22
|
+
return getType(payload) === "Date" && !isNaN(payload);
|
|
23
|
+
}
|
|
24
|
+
|
|
25
|
+
function isEmptyArray(payload) {
|
|
26
|
+
return isArray(payload) && payload.length === 0;
|
|
27
|
+
}
|
|
28
|
+
|
|
29
|
+
function isPlainObject(payload) {
|
|
30
|
+
if (getType(payload) !== "Object")
|
|
31
|
+
return false;
|
|
32
|
+
const prototype = Object.getPrototypeOf(payload);
|
|
33
|
+
return !!prototype && prototype.constructor === Object && prototype === Object.prototype;
|
|
34
|
+
}
|
|
35
|
+
|
|
36
|
+
function isEmptyObject(payload) {
|
|
37
|
+
return isPlainObject(payload) && Object.keys(payload).length === 0;
|
|
38
|
+
}
|
|
39
|
+
|
|
40
|
+
function isEmptyString(payload) {
|
|
41
|
+
return payload === "";
|
|
42
|
+
}
|
|
43
|
+
|
|
44
|
+
function isError(payload) {
|
|
45
|
+
return getType(payload) === "Error" || payload instanceof Error;
|
|
46
|
+
}
|
|
47
|
+
|
|
48
|
+
function isFile(payload) {
|
|
49
|
+
return getType(payload) === "File";
|
|
50
|
+
}
|
|
51
|
+
|
|
52
|
+
function isFullArray(payload) {
|
|
53
|
+
return isArray(payload) && payload.length > 0;
|
|
54
|
+
}
|
|
55
|
+
|
|
56
|
+
function isFullObject(payload) {
|
|
57
|
+
return isPlainObject(payload) && Object.keys(payload).length > 0;
|
|
58
|
+
}
|
|
59
|
+
|
|
60
|
+
function isString(payload) {
|
|
61
|
+
return getType(payload) === "String";
|
|
62
|
+
}
|
|
63
|
+
|
|
64
|
+
function isFullString(payload) {
|
|
65
|
+
return isString(payload) && payload !== "";
|
|
66
|
+
}
|
|
67
|
+
|
|
68
|
+
function isFunction(payload) {
|
|
69
|
+
return typeof payload === "function";
|
|
70
|
+
}
|
|
71
|
+
|
|
72
|
+
function isType(payload, type) {
|
|
73
|
+
if (!(type instanceof Function)) {
|
|
74
|
+
throw new TypeError("Type must be a function");
|
|
75
|
+
}
|
|
76
|
+
if (!Object.prototype.hasOwnProperty.call(type, "prototype")) {
|
|
77
|
+
throw new TypeError("Type is not a class");
|
|
78
|
+
}
|
|
79
|
+
const name = type.name;
|
|
80
|
+
return getType(payload) === name || Boolean(payload && payload.constructor === type);
|
|
81
|
+
}
|
|
82
|
+
|
|
83
|
+
function isInstanceOf(value, classOrClassName) {
|
|
84
|
+
if (typeof classOrClassName === "function") {
|
|
85
|
+
for (let p = value; p; p = Object.getPrototypeOf(p)) {
|
|
86
|
+
if (isType(p, classOrClassName)) {
|
|
87
|
+
return true;
|
|
88
|
+
}
|
|
89
|
+
}
|
|
90
|
+
return false;
|
|
91
|
+
} else {
|
|
92
|
+
for (let p = value; p; p = Object.getPrototypeOf(p)) {
|
|
93
|
+
if (getType(p) === classOrClassName) {
|
|
94
|
+
return true;
|
|
95
|
+
}
|
|
96
|
+
}
|
|
97
|
+
return false;
|
|
98
|
+
}
|
|
99
|
+
}
|
|
100
|
+
|
|
101
|
+
function isMap(payload) {
|
|
102
|
+
return getType(payload) === "Map";
|
|
103
|
+
}
|
|
104
|
+
|
|
105
|
+
function isNaNValue(payload) {
|
|
106
|
+
return getType(payload) === "Number" && isNaN(payload);
|
|
107
|
+
}
|
|
108
|
+
|
|
109
|
+
function isNumber(payload) {
|
|
110
|
+
return getType(payload) === "Number" && !isNaN(payload);
|
|
111
|
+
}
|
|
112
|
+
|
|
113
|
+
function isNegativeNumber(payload) {
|
|
114
|
+
return isNumber(payload) && payload < 0;
|
|
115
|
+
}
|
|
116
|
+
|
|
117
|
+
function isNull(payload) {
|
|
118
|
+
return getType(payload) === "Null";
|
|
119
|
+
}
|
|
120
|
+
|
|
121
|
+
function isOneOf(a, b, c, d, e) {
|
|
122
|
+
return (value) => a(value) || b(value) || !!c && c(value) || !!d && d(value) || !!e && e(value);
|
|
123
|
+
}
|
|
124
|
+
|
|
125
|
+
function isUndefined(payload) {
|
|
126
|
+
return getType(payload) === "Undefined";
|
|
127
|
+
}
|
|
128
|
+
|
|
129
|
+
const isNullOrUndefined = isOneOf(isNull, isUndefined);
|
|
130
|
+
|
|
131
|
+
function isObject(payload) {
|
|
132
|
+
return isPlainObject(payload);
|
|
133
|
+
}
|
|
134
|
+
|
|
135
|
+
function isObjectLike(payload) {
|
|
136
|
+
return isAnyObject(payload);
|
|
137
|
+
}
|
|
138
|
+
|
|
139
|
+
function isPositiveNumber(payload) {
|
|
140
|
+
return isNumber(payload) && payload > 0;
|
|
141
|
+
}
|
|
142
|
+
|
|
143
|
+
function isSymbol(payload) {
|
|
144
|
+
return getType(payload) === "Symbol";
|
|
145
|
+
}
|
|
146
|
+
|
|
147
|
+
function isPrimitive(payload) {
|
|
148
|
+
return isBoolean(payload) || isNull(payload) || isUndefined(payload) || isNumber(payload) || isString(payload) || isSymbol(payload);
|
|
149
|
+
}
|
|
150
|
+
|
|
151
|
+
function isPromise(payload) {
|
|
152
|
+
return getType(payload) === "Promise";
|
|
153
|
+
}
|
|
154
|
+
|
|
155
|
+
function isRegExp(payload) {
|
|
156
|
+
return getType(payload) === "RegExp";
|
|
157
|
+
}
|
|
158
|
+
|
|
159
|
+
function isSet(payload) {
|
|
160
|
+
return getType(payload) === "Set";
|
|
161
|
+
}
|
|
162
|
+
|
|
163
|
+
function isWeakMap(payload) {
|
|
164
|
+
return getType(payload) === "WeakMap";
|
|
165
|
+
}
|
|
166
|
+
|
|
167
|
+
function isWeakSet(payload) {
|
|
168
|
+
return getType(payload) === "WeakSet";
|
|
169
|
+
}
|
|
170
|
+
|
|
171
|
+
export { getType, isAnyObject, isArray, isBlob, isBoolean, isDate, isEmptyArray, isEmptyObject, isEmptyString, isError, isFile, isFullArray, isFullObject, isFullString, isFunction, isInstanceOf, isMap, isNaNValue, isNegativeNumber, isNull, isNullOrUndefined, isNumber, isObject, isObjectLike, isOneOf, isPlainObject, isPositiveNumber, isPrimitive, isPromise, isRegExp, isSet, isString, isSymbol, isType, isUndefined, isWeakMap, isWeakSet };
|