@cabloy/vue-runtime-core 3.5.45 → 3.5.46

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.
@@ -7498,6 +7498,13 @@ const normalizeRef = ({
7498
7498
  return ref != null ? shared.isString(ref) || reactivity.isRef(ref) || shared.isFunction(ref) ? { i: currentRenderingInstance, r: ref, k: ref_key, f: !!ref_for } : ref : null;
7499
7499
  };
7500
7500
  function createBaseVNode(type, props = null, children = null, patchFlag = 0, dynamicProps = null, shapeFlag = type === Fragment ? 0 : 1, isBlockNode = false, needFullChildrenNormalization = false) {
7501
+ if (props && props["v-slots"]) {
7502
+ if (!children) children = {};
7503
+ if (shared.isFunction(children)) children = { default: children };
7504
+ if (children === "object") {
7505
+ children = Object.assign({}, props["v-slots"], children);
7506
+ }
7507
+ }
7501
7508
  const vnode = {
7502
7509
  __v_isVNode: true,
7503
7510
  __v_skip: true,
@@ -7549,16 +7556,6 @@ function createBaseVNode(type, props = null, children = null, patchFlag = 0, dyn
7549
7556
  vnode.patchFlag !== 32) {
7550
7557
  currentBlock.push(vnode);
7551
7558
  }
7552
- if (props && props["v-slots"]) {
7553
- if (!vnode.children) vnode.children = { _ctx: currentRenderingInstance };
7554
- if (typeof vnode.children === "object") {
7555
- vnode.children = Object.assign(
7556
- {},
7557
- props["v-slots"],
7558
- vnode.children
7559
- );
7560
- }
7561
- }
7562
7559
  return vnode;
7563
7560
  }
7564
7561
  const createVNode = createVNodeWithArgsTransform ;
@@ -5998,6 +5998,13 @@ const normalizeRef = ({
5998
5998
  return ref != null ? shared.isString(ref) || reactivity.isRef(ref) || shared.isFunction(ref) ? { i: currentRenderingInstance, r: ref, k: ref_key, f: !!ref_for } : ref : null;
5999
5999
  };
6000
6000
  function createBaseVNode(type, props = null, children = null, patchFlag = 0, dynamicProps = null, shapeFlag = type === Fragment ? 0 : 1, isBlockNode = false, needFullChildrenNormalization = false) {
6001
+ if (props && props["v-slots"]) {
6002
+ if (!children) children = {};
6003
+ if (shared.isFunction(children)) children = { default: children };
6004
+ if (children === "object") {
6005
+ children = Object.assign({}, props["v-slots"], children);
6006
+ }
6007
+ }
6001
6008
  const vnode = {
6002
6009
  __v_isVNode: true,
6003
6010
  __v_skip: true,
@@ -6046,16 +6053,6 @@ function createBaseVNode(type, props = null, children = null, patchFlag = 0, dyn
6046
6053
  vnode.patchFlag !== 32) {
6047
6054
  currentBlock.push(vnode);
6048
6055
  }
6049
- if (props && props["v-slots"]) {
6050
- if (!vnode.children) vnode.children = { _ctx: currentRenderingInstance };
6051
- if (typeof vnode.children === "object") {
6052
- vnode.children = Object.assign(
6053
- {},
6054
- props["v-slots"],
6055
- vnode.children
6056
- );
6057
- }
6058
- }
6059
6056
  return vnode;
6060
6057
  }
6061
6058
  const createVNode = _createVNode;
@@ -7555,6 +7555,13 @@ const normalizeRef = ({
7555
7555
  return ref != null ? isString(ref) || isRef(ref) || isFunction(ref) ? { i: currentRenderingInstance, r: ref, k: ref_key, f: !!ref_for } : ref : null;
7556
7556
  };
7557
7557
  function createBaseVNode(type, props = null, children = null, patchFlag = 0, dynamicProps = null, shapeFlag = type === Fragment ? 0 : 1, isBlockNode = false, needFullChildrenNormalization = false) {
7558
+ if (props && props["v-slots"]) {
7559
+ if (!children) children = {};
7560
+ if (isFunction(children)) children = { default: children };
7561
+ if (children === "object") {
7562
+ children = Object.assign({}, props["v-slots"], children);
7563
+ }
7564
+ }
7558
7565
  const vnode = {
7559
7566
  __v_isVNode: true,
7560
7567
  __v_skip: true,
@@ -7606,16 +7613,6 @@ function createBaseVNode(type, props = null, children = null, patchFlag = 0, dyn
7606
7613
  vnode.patchFlag !== 32) {
7607
7614
  currentBlock.push(vnode);
7608
7615
  }
7609
- if (props && props["v-slots"]) {
7610
- if (!vnode.children) vnode.children = { _ctx: currentRenderingInstance };
7611
- if (typeof vnode.children === "object") {
7612
- vnode.children = Object.assign(
7613
- {},
7614
- props["v-slots"],
7615
- vnode.children
7616
- );
7617
- }
7618
- }
7619
7616
  return vnode;
7620
7617
  }
7621
7618
  const createVNode = !!(process.env.NODE_ENV !== "production") ? createVNodeWithArgsTransform : _createVNode;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@cabloy/vue-runtime-core",
3
- "version": "3.5.45",
3
+ "version": "3.5.46",
4
4
  "description": "@vue/runtime-core",
5
5
  "main": "index.js",
6
6
  "module": "dist/runtime-core.esm-bundler.js",