@vue/runtime-dom 3.5.24 → 3.5.26
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 +11 -9
- package/dist/runtime-dom.cjs.prod.js +11 -9
- package/dist/runtime-dom.d.ts +21 -2
- package/dist/runtime-dom.esm-browser.js +2549 -2482
- package/dist/runtime-dom.esm-browser.prod.js +3 -3
- package/dist/runtime-dom.esm-bundler.js +10 -10
- package/dist/runtime-dom.global.js +2541 -2472
- package/dist/runtime-dom.global.prod.js +3 -3
- package/package.json +5 -5
package/dist/runtime-dom.cjs.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* @vue/runtime-dom v3.5.
|
|
2
|
+
* @vue/runtime-dom v3.5.26
|
|
3
3
|
* (c) 2018-present Yuxi (Evan) You and Vue contributors
|
|
4
4
|
* @license MIT
|
|
5
5
|
**/
|
|
@@ -93,7 +93,7 @@ const nodeOps = {
|
|
|
93
93
|
|
|
94
94
|
const TRANSITION = "transition";
|
|
95
95
|
const ANIMATION = "animation";
|
|
96
|
-
const vtcKey = Symbol("_vtc");
|
|
96
|
+
const vtcKey = /* @__PURE__ */ Symbol("_vtc");
|
|
97
97
|
const DOMTransitionPropsValidators = {
|
|
98
98
|
name: String,
|
|
99
99
|
type: String,
|
|
@@ -386,8 +386,8 @@ function patchClass(el, value, isSVG) {
|
|
|
386
386
|
}
|
|
387
387
|
}
|
|
388
388
|
|
|
389
|
-
const vShowOriginalDisplay = Symbol("_vod");
|
|
390
|
-
const vShowHidden = Symbol("_vsh");
|
|
389
|
+
const vShowOriginalDisplay = /* @__PURE__ */ Symbol("_vod");
|
|
390
|
+
const vShowHidden = /* @__PURE__ */ Symbol("_vsh");
|
|
391
391
|
const vShow = {
|
|
392
392
|
// used for prop mismatch check during hydration
|
|
393
393
|
name: "show",
|
|
@@ -436,7 +436,7 @@ function initVShowForSSR() {
|
|
|
436
436
|
};
|
|
437
437
|
}
|
|
438
438
|
|
|
439
|
-
const CSS_VAR_TEXT = Symbol("CSS_VAR_TEXT" );
|
|
439
|
+
const CSS_VAR_TEXT = /* @__PURE__ */ Symbol("CSS_VAR_TEXT" );
|
|
440
440
|
function useCssVars(getter) {
|
|
441
441
|
return;
|
|
442
442
|
}
|
|
@@ -618,7 +618,7 @@ function addEventListener(el, event, handler, options) {
|
|
|
618
618
|
function removeEventListener(el, event, handler, options) {
|
|
619
619
|
el.removeEventListener(event, handler, options);
|
|
620
620
|
}
|
|
621
|
-
const veiKey = Symbol("_vei");
|
|
621
|
+
const veiKey = /* @__PURE__ */ Symbol("_vei");
|
|
622
622
|
function patchEvent(el, rawName, prevValue, nextValue, instance = null) {
|
|
623
623
|
const invokers = el[veiKey] || (el[veiKey] = {});
|
|
624
624
|
const existingInvoker = invokers[rawName];
|
|
@@ -1256,8 +1256,8 @@ function useCssModule(name = "$style") {
|
|
|
1256
1256
|
|
|
1257
1257
|
const positionMap = /* @__PURE__ */ new WeakMap();
|
|
1258
1258
|
const newPositionMap = /* @__PURE__ */ new WeakMap();
|
|
1259
|
-
const moveCbKey = Symbol("_moveCb");
|
|
1260
|
-
const enterCbKey = Symbol("_enterCb");
|
|
1259
|
+
const moveCbKey = /* @__PURE__ */ Symbol("_moveCb");
|
|
1260
|
+
const enterCbKey = /* @__PURE__ */ Symbol("_enterCb");
|
|
1261
1261
|
const decorate = (t) => {
|
|
1262
1262
|
delete t.props.mode;
|
|
1263
1263
|
return t;
|
|
@@ -1410,7 +1410,7 @@ function onCompositionEnd(e) {
|
|
|
1410
1410
|
target.dispatchEvent(new Event("input"));
|
|
1411
1411
|
}
|
|
1412
1412
|
}
|
|
1413
|
-
const assignKey = Symbol("_assign");
|
|
1413
|
+
const assignKey = /* @__PURE__ */ Symbol("_assign");
|
|
1414
1414
|
function castValue(value, trim, number) {
|
|
1415
1415
|
if (trim) value = value.trim();
|
|
1416
1416
|
if (number) value = shared.looseToNumber(value);
|
|
@@ -1860,6 +1860,8 @@ exports.defineCustomElement = defineCustomElement;
|
|
|
1860
1860
|
exports.defineSSRCustomElement = defineSSRCustomElement;
|
|
1861
1861
|
exports.hydrate = hydrate;
|
|
1862
1862
|
exports.initDirectivesForSSR = initDirectivesForSSR;
|
|
1863
|
+
exports.nodeOps = nodeOps;
|
|
1864
|
+
exports.patchProp = patchProp;
|
|
1863
1865
|
exports.render = render;
|
|
1864
1866
|
exports.useCssModule = useCssModule;
|
|
1865
1867
|
exports.useCssVars = useCssVars;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* @vue/runtime-dom v3.5.
|
|
2
|
+
* @vue/runtime-dom v3.5.26
|
|
3
3
|
* (c) 2018-present Yuxi (Evan) You and Vue contributors
|
|
4
4
|
* @license MIT
|
|
5
5
|
**/
|
|
@@ -92,7 +92,7 @@ const nodeOps = {
|
|
|
92
92
|
|
|
93
93
|
const TRANSITION = "transition";
|
|
94
94
|
const ANIMATION = "animation";
|
|
95
|
-
const vtcKey = Symbol("_vtc");
|
|
95
|
+
const vtcKey = /* @__PURE__ */ Symbol("_vtc");
|
|
96
96
|
const DOMTransitionPropsValidators = {
|
|
97
97
|
name: String,
|
|
98
98
|
type: String,
|
|
@@ -382,8 +382,8 @@ function patchClass(el, value, isSVG) {
|
|
|
382
382
|
}
|
|
383
383
|
}
|
|
384
384
|
|
|
385
|
-
const vShowOriginalDisplay = Symbol("_vod");
|
|
386
|
-
const vShowHidden = Symbol("_vsh");
|
|
385
|
+
const vShowOriginalDisplay = /* @__PURE__ */ Symbol("_vod");
|
|
386
|
+
const vShowHidden = /* @__PURE__ */ Symbol("_vsh");
|
|
387
387
|
const vShow = {
|
|
388
388
|
// used for prop mismatch check during hydration
|
|
389
389
|
name: "show",
|
|
@@ -432,7 +432,7 @@ function initVShowForSSR() {
|
|
|
432
432
|
};
|
|
433
433
|
}
|
|
434
434
|
|
|
435
|
-
const CSS_VAR_TEXT = Symbol("");
|
|
435
|
+
const CSS_VAR_TEXT = /* @__PURE__ */ Symbol("");
|
|
436
436
|
function useCssVars(getter) {
|
|
437
437
|
return;
|
|
438
438
|
}
|
|
@@ -600,7 +600,7 @@ function addEventListener(el, event, handler, options) {
|
|
|
600
600
|
function removeEventListener(el, event, handler, options) {
|
|
601
601
|
el.removeEventListener(event, handler, options);
|
|
602
602
|
}
|
|
603
|
-
const veiKey = Symbol("_vei");
|
|
603
|
+
const veiKey = /* @__PURE__ */ Symbol("_vei");
|
|
604
604
|
function patchEvent(el, rawName, prevValue, nextValue, instance = null) {
|
|
605
605
|
const invokers = el[veiKey] || (el[veiKey] = {});
|
|
606
606
|
const existingInvoker = invokers[rawName];
|
|
@@ -1166,8 +1166,8 @@ function useCssModule(name = "$style") {
|
|
|
1166
1166
|
|
|
1167
1167
|
const positionMap = /* @__PURE__ */ new WeakMap();
|
|
1168
1168
|
const newPositionMap = /* @__PURE__ */ new WeakMap();
|
|
1169
|
-
const moveCbKey = Symbol("_moveCb");
|
|
1170
|
-
const enterCbKey = Symbol("_enterCb");
|
|
1169
|
+
const moveCbKey = /* @__PURE__ */ Symbol("_moveCb");
|
|
1170
|
+
const enterCbKey = /* @__PURE__ */ Symbol("_enterCb");
|
|
1171
1171
|
const decorate = (t) => {
|
|
1172
1172
|
delete t.props.mode;
|
|
1173
1173
|
return t;
|
|
@@ -1318,7 +1318,7 @@ function onCompositionEnd(e) {
|
|
|
1318
1318
|
target.dispatchEvent(new Event("input"));
|
|
1319
1319
|
}
|
|
1320
1320
|
}
|
|
1321
|
-
const assignKey = Symbol("_assign");
|
|
1321
|
+
const assignKey = /* @__PURE__ */ Symbol("_assign");
|
|
1322
1322
|
function castValue(value, trim, number) {
|
|
1323
1323
|
if (trim) value = value.trim();
|
|
1324
1324
|
if (number) value = shared.looseToNumber(value);
|
|
@@ -1712,6 +1712,8 @@ exports.defineCustomElement = defineCustomElement;
|
|
|
1712
1712
|
exports.defineSSRCustomElement = defineSSRCustomElement;
|
|
1713
1713
|
exports.hydrate = hydrate;
|
|
1714
1714
|
exports.initDirectivesForSSR = initDirectivesForSSR;
|
|
1715
|
+
exports.nodeOps = nodeOps;
|
|
1716
|
+
exports.patchProp = patchProp;
|
|
1715
1717
|
exports.render = render;
|
|
1716
1718
|
exports.useCssModule = useCssModule;
|
|
1717
1719
|
exports.useCssVars = useCssVars;
|
package/dist/runtime-dom.d.ts
CHANGED
|
@@ -1,7 +1,12 @@
|
|
|
1
|
-
import { BaseTransitionProps, FunctionalComponent, ObjectDirective, Directive, SetupContext, RenderFunction, ComponentOptions, App, ComponentCustomElementInterface, ConcreteComponent, CreateAppFunction, ComponentObjectPropsOptions, EmitsOptions, ComputedOptions, MethodOptions, ComponentOptionsMixin, ComponentInjectOptions, SlotsType, Component, ComponentProvideOptions, ExtractPropTypes, EmitsToProps, ComponentOptionsBase, CreateComponentPublicInstanceWithMixins, ComponentPublicInstance, DefineComponent, VNodeRef, RootRenderFunction, RootHydrateFunction } from '@vue/runtime-core';
|
|
1
|
+
import { RendererOptions, BaseTransitionProps, FunctionalComponent, ObjectDirective, Directive, SetupContext, RenderFunction, ComponentOptions, App, ComponentCustomElementInterface, ConcreteComponent, CreateAppFunction, ComponentObjectPropsOptions, EmitsOptions, ComputedOptions, MethodOptions, ComponentOptionsMixin, ComponentInjectOptions, SlotsType, Component, ComponentProvideOptions, ExtractPropTypes, EmitsToProps, ComponentOptionsBase, CreateComponentPublicInstanceWithMixins, ComponentPublicInstance, DefineComponent, VNodeRef, RootRenderFunction, RootHydrateFunction } from '@vue/runtime-core';
|
|
2
2
|
export * from '@vue/runtime-core';
|
|
3
3
|
import * as CSS from 'csstype';
|
|
4
4
|
|
|
5
|
+
export declare const nodeOps: Omit<RendererOptions<Node, Element>, 'patchProp'>;
|
|
6
|
+
|
|
7
|
+
type DOMRendererOptions = RendererOptions<Node, Element>;
|
|
8
|
+
export declare const patchProp: DOMRendererOptions['patchProp'];
|
|
9
|
+
|
|
5
10
|
declare const TRANSITION = "transition";
|
|
6
11
|
declare const ANIMATION = "animation";
|
|
7
12
|
type AnimationTypes = typeof TRANSITION | typeof ANIMATION;
|
|
@@ -395,6 +400,11 @@ export interface HTMLAttributes extends AriaAttributes, EventHandlers<Events> {
|
|
|
395
400
|
contextmenu?: string | undefined;
|
|
396
401
|
dir?: string | undefined;
|
|
397
402
|
draggable?: Booleanish | undefined;
|
|
403
|
+
enterkeyhint?: 'enter' | 'done' | 'go' | 'next' | 'previous' | 'search' | 'send' | undefined;
|
|
404
|
+
/**
|
|
405
|
+
* @deprecated Use `enterkeyhint` instead.
|
|
406
|
+
*/
|
|
407
|
+
enterKeyHint?: HTMLAttributes['enterkeyhint'];
|
|
398
408
|
hidden?: Booleanish | '' | 'hidden' | 'until-found' | undefined;
|
|
399
409
|
id?: string | undefined;
|
|
400
410
|
inert?: Booleanish | undefined;
|
|
@@ -436,6 +446,14 @@ export interface HTMLAttributes extends AriaAttributes, EventHandlers<Events> {
|
|
|
436
446
|
* @see https://html.spec.whatwg.org/multipage/custom-elements.html#attr-is
|
|
437
447
|
*/
|
|
438
448
|
is?: string | undefined;
|
|
449
|
+
/**
|
|
450
|
+
* @see https://developer.mozilla.org/en-US/docs/Web/HTML/Global_attributes/exportparts
|
|
451
|
+
*/
|
|
452
|
+
exportparts?: string;
|
|
453
|
+
/**
|
|
454
|
+
* @see https://developer.mozilla.org/en-US/docs/Web/HTML/Global_attributes/part
|
|
455
|
+
*/
|
|
456
|
+
part?: string;
|
|
439
457
|
}
|
|
440
458
|
type HTMLAttributeReferrerPolicy = '' | 'no-referrer' | 'no-referrer-when-downgrade' | 'origin' | 'origin-when-cross-origin' | 'same-origin' | 'strict-origin' | 'strict-origin-when-cross-origin' | 'unsafe-url';
|
|
441
459
|
export interface AnchorHTMLAttributes extends HTMLAttributes {
|
|
@@ -560,6 +578,7 @@ export interface ImgHTMLAttributes extends HTMLAttributes {
|
|
|
560
578
|
alt?: string | undefined;
|
|
561
579
|
crossorigin?: 'anonymous' | 'use-credentials' | '' | undefined;
|
|
562
580
|
decoding?: 'async' | 'auto' | 'sync' | undefined;
|
|
581
|
+
fetchpriority?: 'high' | 'low' | 'auto' | undefined;
|
|
563
582
|
height?: Numberish | undefined;
|
|
564
583
|
loading?: 'eager' | 'lazy' | undefined;
|
|
565
584
|
referrerpolicy?: HTMLAttributeReferrerPolicy | undefined;
|
|
@@ -583,7 +602,6 @@ export interface InputHTMLAttributes extends HTMLAttributes {
|
|
|
583
602
|
checked?: Booleanish | any[] | Set<any> | undefined;
|
|
584
603
|
crossorigin?: string | undefined;
|
|
585
604
|
disabled?: Booleanish | undefined;
|
|
586
|
-
enterKeyHint?: 'enter' | 'done' | 'go' | 'next' | 'previous' | 'search' | 'send' | undefined;
|
|
587
605
|
form?: string | undefined;
|
|
588
606
|
formaction?: string | undefined;
|
|
589
607
|
formenctype?: string | undefined;
|
|
@@ -1257,6 +1275,7 @@ export interface IntrinsicElementAttributes {
|
|
|
1257
1275
|
polyline: SVGAttributes;
|
|
1258
1276
|
radialGradient: SVGAttributes;
|
|
1259
1277
|
rect: SVGAttributes;
|
|
1278
|
+
set: SVGAttributes;
|
|
1260
1279
|
stop: SVGAttributes;
|
|
1261
1280
|
switch: SVGAttributes;
|
|
1262
1281
|
symbol: SVGAttributes;
|