@dcloudio/uni-cli-shared 3.0.0-alpha-4070720250804001 → 3.0.0-alpha-4080120250820001
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/dist/hbx/index.js +5 -3
- package/dist/json/app/manifest/env.d.ts +1 -1
- package/dist/json/app/manifest/env.js +4 -4
- package/dist/json/app/manifest/index.js +3 -1
- package/dist/json/app/pages/definePage.d.ts +2 -1
- package/dist/json/app/pages/definePage.js +15 -3
- package/dist/json/app/pages/index.d.ts +2 -1
- package/dist/json/app/pages/index.js +5 -3
- package/dist/json/mp/types.d.ts +3 -0
- package/dist/json/theme.js +1 -4
- package/dist/utils.d.ts +1 -1
- package/dist/utils.js +5 -2
- package/dist/vite/plugins/uts/uni_modules.js +27 -2
- package/dist/vue/transforms/templateTransformAssetUrl.d.ts +5 -1
- package/dist/vue/transforms/templateTransformAssetUrl.js +23 -14
- package/dist/vue/utils.d.ts +5 -2
- package/dist/vue/utils.js +31 -4
- package/dist/workers.d.ts +4 -3
- package/dist/workers.js +125 -32
- package/lib/vapor/@vue/compiler-sfc/dist/compiler-sfc.esm-browser.js +11 -2
- package/lib/vapor/@vue/compiler-vapor/dist/compiler-vapor.cjs.js +11 -2
- package/lib/vapor/@vue/compiler-vapor/dist/compiler-vapor.esm-browser.js +11 -2
- package/lib/vapor/@vue/runtime-core/dist/runtime-core.cjs.js +5 -5
- package/lib/vapor/@vue/runtime-core/dist/runtime-core.cjs.prod.js +5 -5
- package/lib/vapor/@vue/runtime-core/dist/runtime-core.esm-bundler.js +5 -5
- package/lib/vapor/@vue/runtime-dom/dist/runtime-dom.esm-browser.js +5 -5
- package/lib/vapor/@vue/runtime-dom/dist/runtime-dom.esm-browser.prod.js +1 -1
- package/lib/vapor/@vue/runtime-dom/dist/runtime-dom.global.js +5 -5
- package/lib/vapor/@vue/runtime-dom/dist/runtime-dom.global.prod.js +1 -1
- package/lib/vapor/@vue/runtime-vapor/dist/runtime-vapor.esm-bundler.js +36 -13
- package/lib/vapor/@vue/server-renderer/dist/server-renderer.esm-browser.js +5 -5
- package/lib/vapor/@vue/server-renderer/dist/server-renderer.esm-browser.prod.js +1 -1
- package/lib/vapor/@vue/vue/dist/vue.esm-browser.js +5 -5
- package/lib/vapor/@vue/vue/dist/vue.esm-browser.prod.js +1 -1
- package/lib/vapor/@vue/vue/dist/vue.global.js +5 -5
- package/lib/vapor/@vue/vue/dist/vue.global.prod.js +1 -1
- package/lib/vapor/@vue/vue/dist/vue.runtime-with-vapor.esm-browser.js +41 -18
- package/lib/vapor/@vue/vue/dist/vue.runtime-with-vapor.esm-browser.prod.js +3 -3
- package/lib/vapor/@vue/vue/dist/vue.runtime.esm-browser.js +5 -5
- package/lib/vapor/@vue/vue/dist/vue.runtime.esm-browser.prod.js +1 -1
- package/lib/vapor/@vue/vue/dist/vue.runtime.global.js +5 -5
- package/lib/vapor/@vue/vue/dist/vue.runtime.global.prod.js +1 -1
- package/package.json +4 -4
|
@@ -5530,8 +5530,8 @@ If this is a native custom element, make sure to exclude it from component resol
|
|
|
5530
5530
|
}
|
|
5531
5531
|
|
|
5532
5532
|
const getPublicInstance = (i) => {
|
|
5533
|
-
if (!i
|
|
5534
|
-
if (isStatefulComponent(i))
|
|
5533
|
+
if (!i) return null;
|
|
5534
|
+
if (i.vapor || isStatefulComponent(i))
|
|
5535
5535
|
return getComponentPublicInstance(i);
|
|
5536
5536
|
return getPublicInstance(i.parent);
|
|
5537
5537
|
};
|
|
@@ -10486,7 +10486,7 @@ Component that was made reactive: `,
|
|
|
10486
10486
|
|
|
10487
10487
|
let currentInstance = null;
|
|
10488
10488
|
const getCurrentGenericInstance = () => currentInstance || currentRenderingInstance;
|
|
10489
|
-
const getCurrentInstance = () =>
|
|
10489
|
+
const getCurrentInstance = () => getCurrentGenericInstance();
|
|
10490
10490
|
exports.isInSSRComponentSetup = false;
|
|
10491
10491
|
let setInSSRSetupState;
|
|
10492
10492
|
let simpleSetCurrentInstance;
|
|
@@ -10510,8 +10510,8 @@ Component that was made reactive: `,
|
|
|
10510
10510
|
let uid = 0;
|
|
10511
10511
|
function createComponentInstance(vnode, parent, suspense) {
|
|
10512
10512
|
const type = vnode.type;
|
|
10513
|
-
if (type.__file) {
|
|
10514
|
-
console.log("vue3 \u6807\u51C6\u6A21\u5F0F\uFF1A", `at ${type.__file}:1`);
|
|
10513
|
+
if (type.__file || type.__name) {
|
|
10514
|
+
console.log("vue3 \u6807\u51C6\u6A21\u5F0F\uFF1A", `at ${type.__file || type.__name}:1`);
|
|
10515
10515
|
}
|
|
10516
10516
|
const appContext = (parent ? parent.appContext : vnode.appContext) || emptyAppContext;
|
|
10517
10517
|
const instance = {
|