@vue/compat 3.6.0-rc.3 → 3.6.0-rc.4

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.
@@ -1035,7 +1035,7 @@ interface AppConfig extends GenericAppConfig {
1035
1035
  /**
1036
1036
  * The vapor in vdom implementation is in runtime-vapor/src/vdomInterop.ts
1037
1037
  */
1038
- interface VaporInteropInterface {
1038
+ interface VaporInVdomInterface {
1039
1039
  mount(vnode: VNode, container: any, anchor: any, parentComponent: ComponentInternalInstance | null, parentSuspense: SuspenseBoundary | null, onBeforeMount?: () => void, onVnodeBeforeMount?: () => void): GenericComponentInstance;
1040
1040
  update(n1: VNode, n2: VNode, shouldUpdate: boolean, onBeforeUpdate?: () => void, onVnodeBeforeUpdate?: () => void): void;
1041
1041
  unmount(vnode: VNode, doRemove: boolean | undefined, parentSuspense: SuspenseBoundary | null): void;
@@ -1046,10 +1046,14 @@ interface VaporInteropInterface {
1046
1046
  activate(vnode: VNode, container: any, anchor: any, parentComponent: ComponentInternalInstance, parentSuspense: SuspenseBoundary | null): void;
1047
1047
  deactivate(vnode: VNode, container: any, parentSuspense: SuspenseBoundary | null): void;
1048
1048
  setTransitionHooks(component: ComponentInternalInstance, transition: TransitionHooks): void;
1049
- vdomMount: (component: ConcreteComponent, parentComponent: any, props?: any, slots?: any, once?: boolean) => any;
1050
- vdomUnmount: UnmountComponentFn;
1051
- vdomSlot: (slots: any, name: string | (() => string), props: Record<string, any>, parentComponent: any, fallback?: any, once?: boolean, slotRoot?: boolean, sharedFallback?: boolean, inheritFallback?: boolean, adoptAnchor?: Node) => any;
1052
- vdomMountVNode: (vnode: VNode, parentComponent: any) => any;
1049
+ }
1050
+ /**
1051
+ * The vdom in vapor implementation is in runtime-vapor/src/vdomInterop.ts
1052
+ */
1053
+ interface VdomInVaporInterface {
1054
+ mount: (component: ConcreteComponent, parentComponent: any, props?: any, slots?: any, once?: boolean) => any;
1055
+ slot: (slots: any, name: string | (() => string), props: Record<string, any>, parentComponent: any, fallback?: any, once?: boolean, slotRoot?: boolean, sharedFallback?: boolean, inheritFallback?: boolean, adoptAnchor?: Node) => any;
1056
+ mountVNode: (vnode: VNode, parentComponent: any) => any;
1053
1057
  }
1054
1058
  /**
1055
1059
  * Minimal app context shared between vdom and vapor
@@ -1068,7 +1072,11 @@ interface GenericAppContext {
1068
1072
  /**
1069
1073
  * @internal vapor interop only
1070
1074
  */
1071
- vapor?: VaporInteropInterface;
1075
+ vapor?: VaporInVdomInterface;
1076
+ /**
1077
+ * @internal vdom interop only
1078
+ */
1079
+ vdom?: VdomInVaporInterface;
1072
1080
  }
1073
1081
  interface AppContext extends GenericAppContext {
1074
1082
  config: AppConfig;
package/dist/vue.cjs.js CHANGED
@@ -1,5 +1,5 @@
1
1
  /**
2
- * @vue/compat v3.6.0-rc.3
2
+ * @vue/compat v3.6.0-rc.4
3
3
  * (c) 2018-present Yuxi (Evan) You and Vue contributors
4
4
  * @license MIT
5
5
  **/
@@ -6471,7 +6471,7 @@ function createCompatVue$1(createApp, createSingletonApp) {
6471
6471
  if (options.el) return vm.$mount(options.el);
6472
6472
  else return vm;
6473
6473
  }
6474
- Vue.version = `2.6.14-compat:3.6.0-rc.3`;
6474
+ Vue.version = `2.6.14-compat:3.6.0-rc.4`;
6475
6475
  Vue.config = singletonApp.config;
6476
6476
  Vue.use = (plugin, ...options) => {
6477
6477
  if (plugin && isFunction(plugin.install)) plugin.install(Vue, ...options);
@@ -9985,7 +9985,7 @@ function isMemoSame(cached, memo) {
9985
9985
  }
9986
9986
  //#endregion
9987
9987
  //#region packages/runtime-core/src/index.ts
9988
- const version = "3.6.0-rc.3";
9988
+ const version = "3.6.0-rc.4";
9989
9989
  const warn = warn$1;
9990
9990
  /**
9991
9991
  * Runtime error messages. Only exposed in dev or esm builds.
@@ -1,5 +1,5 @@
1
1
  /**
2
- * @vue/compat v3.6.0-rc.3
2
+ * @vue/compat v3.6.0-rc.4
3
3
  * (c) 2018-present Yuxi (Evan) You and Vue contributors
4
4
  * @license MIT
5
5
  **/
@@ -5362,7 +5362,7 @@ function createCompatVue$1(createApp, createSingletonApp) {
5362
5362
  if (options.el) return vm.$mount(options.el);
5363
5363
  else return vm;
5364
5364
  }
5365
- Vue.version = `2.6.14-compat:3.6.0-rc.3`;
5365
+ Vue.version = `2.6.14-compat:3.6.0-rc.4`;
5366
5366
  Vue.config = singletonApp.config;
5367
5367
  Vue.use = (plugin, ...options) => {
5368
5368
  if (plugin && isFunction(plugin.install)) plugin.install(Vue, ...options);
@@ -8165,7 +8165,7 @@ function isMemoSame(cached, memo) {
8165
8165
  }
8166
8166
  //#endregion
8167
8167
  //#region packages/runtime-core/src/index.ts
8168
- const version = "3.6.0-rc.3";
8168
+ const version = "3.6.0-rc.4";
8169
8169
  const warn = NOOP;
8170
8170
  /**
8171
8171
  * Runtime error messages. Only exposed in dev or esm builds.
@@ -1,5 +1,5 @@
1
1
  /**
2
- * @vue/compat v3.6.0-rc.3
2
+ * @vue/compat v3.6.0-rc.4
3
3
  * (c) 2018-present Yuxi (Evan) You and Vue contributors
4
4
  * @license MIT
5
5
  **/
@@ -6403,7 +6403,7 @@ function createCompatVue$1(createApp, createSingletonApp) {
6403
6403
  if (options.el) return vm.$mount(options.el);
6404
6404
  else return vm;
6405
6405
  }
6406
- Vue.version = `2.6.14-compat:3.6.0-rc.3`;
6406
+ Vue.version = `2.6.14-compat:3.6.0-rc.4`;
6407
6407
  Vue.config = singletonApp.config;
6408
6408
  Vue.use = (plugin, ...options) => {
6409
6409
  if (plugin && isFunction(plugin.install)) plugin.install(Vue, ...options);
@@ -9907,7 +9907,7 @@ function isMemoSame(cached, memo) {
9907
9907
  }
9908
9908
  //#endregion
9909
9909
  //#region packages/runtime-core/src/index.ts
9910
- const version = "3.6.0-rc.3";
9910
+ const version = "3.6.0-rc.4";
9911
9911
  const warn = warn$1;
9912
9912
  /**
9913
9913
  * Runtime error messages. Only exposed in dev or esm builds.