@cabloy/vue-runtime-core 3.5.49 → 3.5.51

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,