@vue/runtime-dom 3.6.0-beta.15 → 3.6.0-beta.17
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 +3 -3
- package/dist/runtime-dom.cjs.prod.js +3 -3
- package/dist/runtime-dom.esm-browser.js +6 -6
- package/dist/runtime-dom.esm-browser.prod.js +3 -3
- package/dist/runtime-dom.esm-bundler.js +4 -4
- package/dist/runtime-dom.global.js +6 -6
- package/dist/runtime-dom.global.prod.js +3 -3
- package/package.json +4 -4
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* @vue/runtime-dom v3.6.0-beta.
|
|
2
|
+
* @vue/runtime-dom v3.6.0-beta.17
|
|
3
3
|
* (c) 2018-present Yuxi (Evan) You and Vue contributors
|
|
4
4
|
* @license MIT
|
|
5
5
|
**/
|
|
@@ -570,7 +570,7 @@ function patchEvent(el, rawName, prevValue, nextValue, instance = null) {
|
|
|
570
570
|
const existingInvoker = invokers[rawName];
|
|
571
571
|
if (nextValue && existingInvoker) existingInvoker.value = !!(process.env.NODE_ENV !== "production") ? sanitizeEventValue(nextValue, rawName) : nextValue;
|
|
572
572
|
else {
|
|
573
|
-
const [name, options] =
|
|
573
|
+
const [name, options] = parseEventName(rawName);
|
|
574
574
|
if (nextValue) addEventListener(el, name, invokers[rawName] = createInvoker(!!(process.env.NODE_ENV !== "production") ? sanitizeEventValue(nextValue, rawName) : nextValue, instance), options);
|
|
575
575
|
else if (existingInvoker) {
|
|
576
576
|
removeEventListener(el, name, existingInvoker, options);
|
|
@@ -579,7 +579,7 @@ function patchEvent(el, rawName, prevValue, nextValue, instance = null) {
|
|
|
579
579
|
}
|
|
580
580
|
}
|
|
581
581
|
const optionsModifierRE = /(?:Once|Passive|Capture)$/;
|
|
582
|
-
function
|
|
582
|
+
function parseEventName(name) {
|
|
583
583
|
let options;
|
|
584
584
|
if (optionsModifierRE.test(name)) {
|
|
585
585
|
options = {};
|
|
@@ -1644,4 +1644,4 @@ const initDirectivesForSSR = () => {
|
|
|
1644
1644
|
}
|
|
1645
1645
|
};
|
|
1646
1646
|
//#endregion
|
|
1647
|
-
export { Transition, TransitionGroup, TransitionPropsValidators, VueElement, VueElementBase, baseApplyTranslation, baseUseCssVars, callPendingCbs, createApp, createSSRApp, defineCustomElement, defineSSRCustomElement, ensureHydrationRenderer, ensureRenderer, forceReflow, handleMovedChildren, hasCSSTransform, hydrate, initDirectivesForSSR, nodeOps, normalizeContainer, patchProp, patchStyle, render, resolveTransitionProps, setVarsOnNode, shouldSetAsProp, shouldSetAsPropForVueCE, svgNS, unsafeToTrustedHTML, useCssModule, useCssVars, useHost, useShadowRoot, vModelCheckbox, vModelCheckboxInit, vModelCheckboxUpdate, vModelDynamic, getValue as vModelGetValue, vModelRadio, vModelSelect, vModelSelectInit, vModelSetSelected, vModelText, vModelTextInit, vModelTextUpdate, vShow, vShowHidden, vShowOriginalDisplay, withKeys, withModifiers, xlinkNS };
|
|
1647
|
+
export { Transition, TransitionGroup, TransitionPropsValidators, VueElement, VueElementBase, baseApplyTranslation, baseUseCssVars, callPendingCbs, createApp, createSSRApp, defineCustomElement, defineSSRCustomElement, ensureHydrationRenderer, ensureRenderer, forceReflow, handleMovedChildren, hasCSSTransform, hydrate, initDirectivesForSSR, nodeOps, normalizeContainer, parseEventName, patchProp, patchStyle, render, resolveTransitionProps, setVarsOnNode, shouldSetAsProp, shouldSetAsPropForVueCE, svgNS, unsafeToTrustedHTML, useCssModule, useCssVars, useHost, useShadowRoot, vModelCheckbox, vModelCheckboxInit, vModelCheckboxUpdate, vModelDynamic, getValue as vModelGetValue, vModelRadio, vModelSelect, vModelSelectInit, vModelSetSelected, vModelText, vModelTextInit, vModelTextUpdate, vShow, vShowHidden, vShowOriginalDisplay, withKeys, withModifiers, xlinkNS };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* @vue/runtime-dom v3.6.0-beta.
|
|
2
|
+
* @vue/runtime-dom v3.6.0-beta.17
|
|
3
3
|
* (c) 2018-present Yuxi (Evan) You and Vue contributors
|
|
4
4
|
* @license MIT
|
|
5
5
|
**/
|
|
@@ -2481,8 +2481,8 @@ var VueRuntimeDOM = (function(exports) {
|
|
|
2481
2481
|
/**
|
|
2482
2482
|
* @internal for runtime-vapor only
|
|
2483
2483
|
*/
|
|
2484
|
-
function queueJob(job, id, isPre = false) {
|
|
2485
|
-
if (queueJobWorker(job, id === void 0 ? isPre ? -2 : Infinity : isPre ? id * 2 : id * 2 + 1, jobs, jobsLength, flushIndex)) {
|
|
2484
|
+
function queueJob(job, id, isPre = false, order = 0) {
|
|
2485
|
+
if (queueJobWorker(job, id === void 0 ? isPre ? -2 : Infinity : isPre ? id * 2 : order ? id * 2 + 1 + order / (order + 1) : id * 2 + 1, jobs, jobsLength, flushIndex)) {
|
|
2486
2486
|
jobsLength++;
|
|
2487
2487
|
queueFlush();
|
|
2488
2488
|
}
|
|
@@ -8417,7 +8417,7 @@ var VueRuntimeDOM = (function(exports) {
|
|
|
8417
8417
|
}
|
|
8418
8418
|
//#endregion
|
|
8419
8419
|
//#region packages/runtime-core/src/index.ts
|
|
8420
|
-
const version = "3.6.0-beta.
|
|
8420
|
+
const version = "3.6.0-beta.17";
|
|
8421
8421
|
const warn = warn$1;
|
|
8422
8422
|
/**
|
|
8423
8423
|
* Runtime error messages. Only exposed in dev or esm builds.
|
|
@@ -8997,7 +8997,7 @@ var VueRuntimeDOM = (function(exports) {
|
|
|
8997
8997
|
const existingInvoker = invokers[rawName];
|
|
8998
8998
|
if (nextValue && existingInvoker) existingInvoker.value = sanitizeEventValue(nextValue, rawName);
|
|
8999
8999
|
else {
|
|
9000
|
-
const [name, options] =
|
|
9000
|
+
const [name, options] = parseEventName(rawName);
|
|
9001
9001
|
if (nextValue) addEventListener(el, name, invokers[rawName] = createInvoker(sanitizeEventValue(nextValue, rawName), instance), options);
|
|
9002
9002
|
else if (existingInvoker) {
|
|
9003
9003
|
removeEventListener(el, name, existingInvoker, options);
|
|
@@ -9006,7 +9006,7 @@ var VueRuntimeDOM = (function(exports) {
|
|
|
9006
9006
|
}
|
|
9007
9007
|
}
|
|
9008
9008
|
const optionsModifierRE = /(?:Once|Passive|Capture)$/;
|
|
9009
|
-
function
|
|
9009
|
+
function parseEventName(name) {
|
|
9010
9010
|
let options;
|
|
9011
9011
|
if (optionsModifierRE.test(name)) {
|
|
9012
9012
|
options = {};
|