@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.
Files changed (43) hide show
  1. package/dist/hbx/index.js +5 -3
  2. package/dist/json/app/manifest/env.d.ts +1 -1
  3. package/dist/json/app/manifest/env.js +4 -4
  4. package/dist/json/app/manifest/index.js +3 -1
  5. package/dist/json/app/pages/definePage.d.ts +2 -1
  6. package/dist/json/app/pages/definePage.js +15 -3
  7. package/dist/json/app/pages/index.d.ts +2 -1
  8. package/dist/json/app/pages/index.js +5 -3
  9. package/dist/json/mp/types.d.ts +3 -0
  10. package/dist/json/theme.js +1 -4
  11. package/dist/utils.d.ts +1 -1
  12. package/dist/utils.js +5 -2
  13. package/dist/vite/plugins/uts/uni_modules.js +27 -2
  14. package/dist/vue/transforms/templateTransformAssetUrl.d.ts +5 -1
  15. package/dist/vue/transforms/templateTransformAssetUrl.js +23 -14
  16. package/dist/vue/utils.d.ts +5 -2
  17. package/dist/vue/utils.js +31 -4
  18. package/dist/workers.d.ts +4 -3
  19. package/dist/workers.js +125 -32
  20. package/lib/vapor/@vue/compiler-sfc/dist/compiler-sfc.esm-browser.js +11 -2
  21. package/lib/vapor/@vue/compiler-vapor/dist/compiler-vapor.cjs.js +11 -2
  22. package/lib/vapor/@vue/compiler-vapor/dist/compiler-vapor.esm-browser.js +11 -2
  23. package/lib/vapor/@vue/runtime-core/dist/runtime-core.cjs.js +5 -5
  24. package/lib/vapor/@vue/runtime-core/dist/runtime-core.cjs.prod.js +5 -5
  25. package/lib/vapor/@vue/runtime-core/dist/runtime-core.esm-bundler.js +5 -5
  26. package/lib/vapor/@vue/runtime-dom/dist/runtime-dom.esm-browser.js +5 -5
  27. package/lib/vapor/@vue/runtime-dom/dist/runtime-dom.esm-browser.prod.js +1 -1
  28. package/lib/vapor/@vue/runtime-dom/dist/runtime-dom.global.js +5 -5
  29. package/lib/vapor/@vue/runtime-dom/dist/runtime-dom.global.prod.js +1 -1
  30. package/lib/vapor/@vue/runtime-vapor/dist/runtime-vapor.esm-bundler.js +36 -13
  31. package/lib/vapor/@vue/server-renderer/dist/server-renderer.esm-browser.js +5 -5
  32. package/lib/vapor/@vue/server-renderer/dist/server-renderer.esm-browser.prod.js +1 -1
  33. package/lib/vapor/@vue/vue/dist/vue.esm-browser.js +5 -5
  34. package/lib/vapor/@vue/vue/dist/vue.esm-browser.prod.js +1 -1
  35. package/lib/vapor/@vue/vue/dist/vue.global.js +5 -5
  36. package/lib/vapor/@vue/vue/dist/vue.global.prod.js +1 -1
  37. package/lib/vapor/@vue/vue/dist/vue.runtime-with-vapor.esm-browser.js +41 -18
  38. package/lib/vapor/@vue/vue/dist/vue.runtime-with-vapor.esm-browser.prod.js +3 -3
  39. package/lib/vapor/@vue/vue/dist/vue.runtime.esm-browser.js +5 -5
  40. package/lib/vapor/@vue/vue/dist/vue.runtime.esm-browser.prod.js +1 -1
  41. package/lib/vapor/@vue/vue/dist/vue.runtime.global.js +5 -5
  42. package/lib/vapor/@vue/vue/dist/vue.runtime.global.prod.js +1 -1
  43. 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 || i.vapor) return null;
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 = () => currentInstance && !currentInstance.vapor ? currentInstance : currentRenderingInstance;
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 = {