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
  **/
@@ -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
  **/
@@ -5836,9 +5836,10 @@ If this is a native custom element, make sure to exclude it from component resol
5836
5836
 
5837
5837
  function renderSlot(slots, name, props = {}, fallback, noSlotted) {
5838
5838
  let slot = slots[name];
5839
- if (slot && slot.__vapor) {
5839
+ const vaporSlot = slot && (slot.__vs || (slot.__vapor ? slot : null));
5840
+ if (vaporSlot) {
5840
5841
  const ret = (openBlock(), createBlock(VaporSlot, props));
5841
- ret.vs = { slot, fallback };
5842
+ ret.vs = { slot: vaporSlot, fallback };
5842
5843
  return ret;
5843
5844
  }
5844
5845
  if (currentRenderingInstance && (currentRenderingInstance.ce || currentRenderingInstance.parent && isAsyncWrapper(currentRenderingInstance.parent) && currentRenderingInstance.parent.ce)) {
@@ -5901,14 +5902,14 @@ If this is a native custom element, make sure to exclude it from component resol
5901
5902
  }
5902
5903
  }
5903
5904
 
5904
- function toHandlers(obj, preserveCaseIfNecessary, needWrap) {
5905
+ function toHandlers(obj, preserveCaseIfNecessary) {
5905
5906
  const ret = {};
5906
5907
  if (!isObject(obj)) {
5907
5908
  warn$1(`v-on with no argument expects an object value.`);
5908
5909
  return ret;
5909
5910
  }
5910
5911
  for (const key in obj) {
5911
- ret[preserveCaseIfNecessary && /[A-Z]/.test(key) ? `on:${key}` : toHandlerKey(key)] = needWrap ? () => obj[key] : obj[key];
5912
+ ret[preserveCaseIfNecessary && /[A-Z]/.test(key) ? `on:${key}` : toHandlerKey(key)] = obj[key];
5912
5913
  }
5913
5914
  return ret;
5914
5915
  }
@@ -11366,7 +11367,7 @@ Component that was made reactive: `,
11366
11367
  return true;
11367
11368
  }
11368
11369
 
11369
- const version = "3.6.0-beta.2";
11370
+ const version = "3.6.0-beta.3";
11370
11371
  const warn = warn$1 ;
11371
11372
  const ErrorTypeStrings = ErrorTypeStrings$1 ;
11372
11373
  const devtools = devtools$1 ;
@@ -18992,6 +18993,7 @@ ${codeFrame}` : message);
18992
18993
  exports.Fragment = Fragment;
18993
18994
  exports.KeepAlive = KeepAlive;
18994
18995
  exports.MoveType = MoveType;
18996
+ exports.NULL_DYNAMIC_COMPONENT = NULL_DYNAMIC_COMPONENT;
18995
18997
  exports.ReactiveEffect = ReactiveEffect;
18996
18998
  exports.Static = Static;
18997
18999
  exports.Suspense = Suspense;