@cabloy/vue-runtime-core 3.5.49 → 3.5.50

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.
@@ -6584,8 +6584,8 @@ function renderComponentRoot(instance) {
6584
6584
  if (result.patchFlag > 0 && result.patchFlag & 2048) {
6585
6585
  [root, setRoot] = getChildRoot(result);
6586
6586
  }
6587
- fallthroughAttrs = filterZovaAttrs(fallthroughAttrs, inheritAttrs);
6588
6587
  if (fallthroughAttrs && inheritAttrs !== false) {
6588
+ fallthroughAttrs = filterZovaAttrs(fallthroughAttrs, inheritAttrs);
6589
6589
  const keys = Object.keys(fallthroughAttrs);
6590
6590
  const { shapeFlag } = root;
6591
6591
  if (keys.length) {
@@ -6712,11 +6712,9 @@ const filterModelListeners = (attrs, props) => {
6712
6712
  return res;
6713
6713
  };
6714
6714
  const filterZovaAttrs = (attrs, inheritAttrs = true) => {
6715
- if (!attrs) return attrs;
6716
6715
  const res = {};
6717
6716
  if (!inheritAttrs) return res;
6718
6717
  for (const key in attrs) {
6719
- if (key.startsWith("v-")) continue;
6720
6718
  if (inheritAttrs) {
6721
6719
  if (inheritAttrs === true) {
6722
6720
  if (key.startsWith("nativeOn")) {
@@ -7506,6 +7504,8 @@ function createBaseVNode(type, props = null, children = null, patchFlag = 0, dyn
7506
7504
  if (typeof children === "object") {
7507
7505
  children = Object.assign({}, props["v-slots"], children);
7508
7506
  }
7507
+ props = Object.assign({}, props);
7508
+ delete props["v-slots"];
7509
7509
  }
7510
7510
  const vnode = {
7511
7511
  __v_isVNode: true,
@@ -5198,8 +5198,8 @@ function renderComponentRoot(instance) {
5198
5198
  result = createVNode(Comment);
5199
5199
  }
5200
5200
  let root = result;
5201
- fallthroughAttrs = filterZovaAttrs(fallthroughAttrs, inheritAttrs);
5202
5201
  if (fallthroughAttrs && inheritAttrs !== false) {
5202
+ fallthroughAttrs = filterZovaAttrs(fallthroughAttrs, inheritAttrs);
5203
5203
  const keys = Object.keys(fallthroughAttrs);
5204
5204
  const { shapeFlag } = root;
5205
5205
  if (keys.length) {
@@ -5264,11 +5264,9 @@ const filterModelListeners = (attrs, props) => {
5264
5264
  return res;
5265
5265
  };
5266
5266
  const filterZovaAttrs = (attrs, inheritAttrs = true) => {
5267
- if (!attrs) return attrs;
5268
5267
  const res = {};
5269
5268
  if (!inheritAttrs) return res;
5270
5269
  for (const key in attrs) {
5271
- if (key.startsWith("v-")) continue;
5272
5270
  if (inheritAttrs) {
5273
5271
  if (inheritAttrs === true) {
5274
5272
  if (key.startsWith("nativeOn")) {
@@ -6006,6 +6004,8 @@ function createBaseVNode(type, props = null, children = null, patchFlag = 0, dyn
6006
6004
  if (typeof children === "object") {
6007
6005
  children = Object.assign({}, props["v-slots"], children);
6008
6006
  }
6007
+ props = Object.assign({}, props);
6008
+ delete props["v-slots"];
6009
6009
  }
6010
6010
  const vnode = {
6011
6011
  __v_isVNode: true,
@@ -6641,8 +6641,8 @@ function renderComponentRoot(instance) {
6641
6641
  if (!!(process.env.NODE_ENV !== "production") && result.patchFlag > 0 && result.patchFlag & 2048) {
6642
6642
  [root, setRoot] = getChildRoot(result);
6643
6643
  }
6644
- fallthroughAttrs = filterZovaAttrs(fallthroughAttrs, inheritAttrs);
6645
6644
  if (fallthroughAttrs && inheritAttrs !== false) {
6645
+ fallthroughAttrs = filterZovaAttrs(fallthroughAttrs, inheritAttrs);
6646
6646
  const keys = Object.keys(fallthroughAttrs);
6647
6647
  const { shapeFlag } = root;
6648
6648
  if (keys.length) {
@@ -6769,11 +6769,9 @@ const filterModelListeners = (attrs, props) => {
6769
6769
  return res;
6770
6770
  };
6771
6771
  const filterZovaAttrs = (attrs, inheritAttrs = true) => {
6772
- if (!attrs) return attrs;
6773
6772
  const res = {};
6774
6773
  if (!inheritAttrs) return res;
6775
6774
  for (const key in attrs) {
6776
- if (key.startsWith("v-")) continue;
6777
6775
  if (inheritAttrs) {
6778
6776
  if (inheritAttrs === true) {
6779
6777
  if (key.startsWith("nativeOn")) {
@@ -7563,6 +7561,8 @@ function createBaseVNode(type, props = null, children = null, patchFlag = 0, dyn
7563
7561
  if (typeof children === "object") {
7564
7562
  children = Object.assign({}, props["v-slots"], children);
7565
7563
  }
7564
+ props = Object.assign({}, props);
7565
+ delete props["v-slots"];
7566
7566
  }
7567
7567
  const vnode = {
7568
7568
  __v_isVNode: true,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@cabloy/vue-runtime-core",
3
- "version": "3.5.49",
3
+ "version": "3.5.50",
4
4
  "description": "@vue/runtime-core",
5
5
  "main": "index.js",
6
6
  "module": "dist/runtime-core.esm-bundler.js",