vue 3.6.0-beta.2 → 3.6.0-beta.3

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.
@@ -1,5 +1,5 @@
1
1
  /**
2
- * vue v3.6.0-beta.2
2
+ * vue v3.6.0-beta.3
3
3
  * (c) 2018-present Yuxi (Evan) You and Vue contributors
4
4
  * @license MIT
5
5
  **/
@@ -5763,9 +5763,10 @@ If this is a native custom element, make sure to exclude it from component resol
5763
5763
 
5764
5764
  function renderSlot(slots, name, props = {}, fallback, noSlotted) {
5765
5765
  let slot = slots[name];
5766
- if (slot && slot.__vapor) {
5766
+ const vaporSlot = slot && (slot.__vs || (slot.__vapor ? slot : null));
5767
+ if (vaporSlot) {
5767
5768
  const ret = (openBlock(), createBlock(VaporSlot, props));
5768
- ret.vs = { slot, fallback };
5769
+ ret.vs = { slot: vaporSlot, fallback };
5769
5770
  return ret;
5770
5771
  }
5771
5772
  if (currentRenderingInstance && (currentRenderingInstance.ce || currentRenderingInstance.parent && isAsyncWrapper(currentRenderingInstance.parent) && currentRenderingInstance.parent.ce)) {
@@ -5828,14 +5829,14 @@ If this is a native custom element, make sure to exclude it from component resol
5828
5829
  }
5829
5830
  }
5830
5831
 
5831
- function toHandlers(obj, preserveCaseIfNecessary, needWrap) {
5832
+ function toHandlers(obj, preserveCaseIfNecessary) {
5832
5833
  const ret = {};
5833
5834
  if (!isObject(obj)) {
5834
5835
  warn$1(`v-on with no argument expects an object value.`);
5835
5836
  return ret;
5836
5837
  }
5837
5838
  for (const key in obj) {
5838
- ret[preserveCaseIfNecessary && /[A-Z]/.test(key) ? `on:${key}` : toHandlerKey(key)] = needWrap ? () => obj[key] : obj[key];
5839
+ ret[preserveCaseIfNecessary && /[A-Z]/.test(key) ? `on:${key}` : toHandlerKey(key)] = obj[key];
5839
5840
  }
5840
5841
  return ret;
5841
5842
  }
@@ -11293,7 +11294,7 @@ Component that was made reactive: `,
11293
11294
  return true;
11294
11295
  }
11295
11296
 
11296
- const version = "3.6.0-beta.2";
11297
+ const version = "3.6.0-beta.3";
11297
11298
  const warn = warn$1 ;
11298
11299
  const ErrorTypeStrings = ErrorTypeStrings$1 ;
11299
11300
  const devtools = devtools$1 ;
@@ -13267,6 +13268,7 @@ Make sure to use the production build (*.prod.js) when deploying for production.
13267
13268
  exports.Fragment = Fragment;
13268
13269
  exports.KeepAlive = KeepAlive;
13269
13270
  exports.MoveType = MoveType;
13271
+ exports.NULL_DYNAMIC_COMPONENT = NULL_DYNAMIC_COMPONENT;
13270
13272
  exports.ReactiveEffect = ReactiveEffect;
13271
13273
  exports.Static = Static;
13272
13274
  exports.Suspense = Suspense;