@vue/runtime-dom 3.6.0-alpha.6 → 3.6.0-beta.1
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.
- package/dist/runtime-dom.cjs.js +9 -9
- package/dist/runtime-dom.cjs.prod.js +9 -9
- package/dist/runtime-dom.esm-browser.js +311 -247
- package/dist/runtime-dom.esm-browser.prod.js +3 -3
- package/dist/runtime-dom.esm-bundler.js +9 -9
- package/dist/runtime-dom.global.js +283 -218
- package/dist/runtime-dom.global.prod.js +3 -3
- package/package.json +5 -5
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* @vue/runtime-dom v3.6.0-
|
|
2
|
+
* @vue/runtime-dom v3.6.0-beta.1
|
|
3
3
|
* (c) 2018-present Yuxi (Evan) You and Vue contributors
|
|
4
4
|
* @license MIT
|
|
5
5
|
**/
|
|
@@ -90,7 +90,7 @@ const nodeOps = {
|
|
|
90
90
|
|
|
91
91
|
const TRANSITION = "transition";
|
|
92
92
|
const ANIMATION = "animation";
|
|
93
|
-
const vtcKey = Symbol("_vtc");
|
|
93
|
+
const vtcKey = /* @__PURE__ */ Symbol("_vtc");
|
|
94
94
|
const DOMTransitionPropsValidators = {
|
|
95
95
|
name: String,
|
|
96
96
|
type: String,
|
|
@@ -383,8 +383,8 @@ function patchClass(el, value, isSVG) {
|
|
|
383
383
|
}
|
|
384
384
|
}
|
|
385
385
|
|
|
386
|
-
const vShowOriginalDisplay = Symbol("_vod");
|
|
387
|
-
const vShowHidden = Symbol("_vsh");
|
|
386
|
+
const vShowOriginalDisplay = /* @__PURE__ */ Symbol("_vod");
|
|
387
|
+
const vShowHidden = /* @__PURE__ */ Symbol("_vsh");
|
|
388
388
|
const vShow = {
|
|
389
389
|
// used for prop mismatch check during hydration
|
|
390
390
|
name: "show",
|
|
@@ -433,7 +433,7 @@ function initVShowForSSR() {
|
|
|
433
433
|
};
|
|
434
434
|
}
|
|
435
435
|
|
|
436
|
-
const CSS_VAR_TEXT = Symbol(!!(process.env.NODE_ENV !== "production") ? "CSS_VAR_TEXT" : "");
|
|
436
|
+
const CSS_VAR_TEXT = /* @__PURE__ */ Symbol(!!(process.env.NODE_ENV !== "production") ? "CSS_VAR_TEXT" : "");
|
|
437
437
|
function useCssVars(getter) {
|
|
438
438
|
const instance = getCurrentInstance();
|
|
439
439
|
const getVars = () => getter(instance.proxy);
|
|
@@ -694,7 +694,7 @@ function addEventListener(el, event, handler, options) {
|
|
|
694
694
|
function removeEventListener(el, event, handler, options) {
|
|
695
695
|
el.removeEventListener(event, handler, options);
|
|
696
696
|
}
|
|
697
|
-
const veiKey = Symbol("_vei");
|
|
697
|
+
const veiKey = /* @__PURE__ */ Symbol("_vei");
|
|
698
698
|
function patchEvent(el, rawName, prevValue, nextValue, instance = null) {
|
|
699
699
|
const invokers = el[veiKey] || (el[veiKey] = {});
|
|
700
700
|
const existingInvoker = invokers[rawName];
|
|
@@ -1356,8 +1356,8 @@ function useCssModule(name = "$style") {
|
|
|
1356
1356
|
|
|
1357
1357
|
const positionMap = /* @__PURE__ */ new WeakMap();
|
|
1358
1358
|
const newPositionMap = /* @__PURE__ */ new WeakMap();
|
|
1359
|
-
const moveCbKey = Symbol("_moveCb");
|
|
1360
|
-
const enterCbKey = Symbol("_enterCb");
|
|
1359
|
+
const moveCbKey = /* @__PURE__ */ Symbol("_moveCb");
|
|
1360
|
+
const enterCbKey = /* @__PURE__ */ Symbol("_enterCb");
|
|
1361
1361
|
const decorate = (t) => {
|
|
1362
1362
|
delete t.props.mode;
|
|
1363
1363
|
return t;
|
|
@@ -1520,7 +1520,7 @@ function onCompositionEnd(e) {
|
|
|
1520
1520
|
target.dispatchEvent(new Event("input"));
|
|
1521
1521
|
}
|
|
1522
1522
|
}
|
|
1523
|
-
const assignKey = Symbol("_assign");
|
|
1523
|
+
const assignKey = /* @__PURE__ */ Symbol("_assign");
|
|
1524
1524
|
const vModelText = {
|
|
1525
1525
|
created(el, { modifiers: { lazy, trim, number } }, vnode) {
|
|
1526
1526
|
el[assignKey] = getModelAssigner(vnode);
|