@vue/runtime-dom 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/runtime-dom v3.6.0-beta.2
2
+ * @vue/runtime-dom 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 ;
@@ -13243,6 +13244,7 @@ Expected function or array of functions, received type ${typeof value}.`
13243
13244
  exports.Fragment = Fragment;
13244
13245
  exports.KeepAlive = KeepAlive;
13245
13246
  exports.MoveType = MoveType;
13247
+ exports.NULL_DYNAMIC_COMPONENT = NULL_DYNAMIC_COMPONENT;
13246
13248
  exports.ReactiveEffect = ReactiveEffect;
13247
13249
  exports.Static = Static;
13248
13250
  exports.Suspense = Suspense;