@vue/runtime-dom 3.3.4 → 3.3.6
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 +560 -542
- package/dist/runtime-dom.cjs.prod.js +451 -433
- package/dist/runtime-dom.d.ts +15 -13
- package/dist/runtime-dom.esm-browser.js +510 -496
- package/dist/runtime-dom.esm-browser.prod.js +6 -1
- package/dist/runtime-dom.esm-bundler.js +449 -431
- package/dist/runtime-dom.global.js +510 -496
- package/dist/runtime-dom.global.prod.js +6 -1
- package/package.json +4 -4
package/dist/runtime-dom.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { SetupContext, RenderFunction, ComputedOptions, MethodOptions, ComponentOptionsMixin, EmitsOptions, ComponentInjectOptions, SlotsType, ComponentOptionsWithoutProps, ComponentOptionsWithArrayProps, ComponentPropsOptions, ComponentOptionsWithObjectProps, ExtractPropTypes, ComponentPublicInstance,
|
|
1
|
+
import { SetupContext, RenderFunction, ComputedOptions, MethodOptions, ComponentOptionsMixin, EmitsOptions, ComponentInjectOptions, SlotsType, ComponentOptionsWithoutProps, ComponentOptionsWithArrayProps, ComponentPropsOptions, ComponentOptionsWithObjectProps, ExtractPropTypes, ComponentPublicInstance, RootHydrateFunction, ConcreteComponent, BaseTransitionProps, FunctionalComponent, ObjectDirective, VNodeRef, RootRenderFunction, CreateAppFunction } from '@vue/runtime-core';
|
|
2
2
|
export * from '@vue/runtime-core';
|
|
3
3
|
import * as CSS from 'csstype';
|
|
4
4
|
|
|
@@ -20,6 +20,7 @@ export declare function defineCustomElement<PropsOptions extends Readonly<Compon
|
|
|
20
20
|
export declare function defineCustomElement(options: {
|
|
21
21
|
new (...args: any[]): ComponentPublicInstance;
|
|
22
22
|
}): VueElementConstructor;
|
|
23
|
+
/*! #__NO_SIDE_EFFECTS__ */
|
|
23
24
|
export declare const defineSSRCustomElement: typeof defineCustomElement;
|
|
24
25
|
declare const BaseClass: {
|
|
25
26
|
new (): HTMLElement;
|
|
@@ -31,11 +32,11 @@ type InnerComponentDef = ConcreteComponent & {
|
|
|
31
32
|
export declare class VueElement extends BaseClass {
|
|
32
33
|
private _def;
|
|
33
34
|
private _props;
|
|
34
|
-
/* removed internal: _instance */
|
|
35
35
|
private _connected;
|
|
36
36
|
private _resolved;
|
|
37
37
|
private _numberProps;
|
|
38
38
|
private _styles?;
|
|
39
|
+
private _ob?;
|
|
39
40
|
constructor(_def: InnerComponentDef, _props?: Record<string, any>, hydrate?: RootHydrateFunction);
|
|
40
41
|
connectedCallback(): void;
|
|
41
42
|
disconnectedCallback(): void;
|
|
@@ -45,8 +46,6 @@ export declare class VueElement extends BaseClass {
|
|
|
45
46
|
private _resolveDef;
|
|
46
47
|
private _resolveProps;
|
|
47
48
|
protected _setAttr(key: string): void;
|
|
48
|
-
/* removed internal: _getProp */
|
|
49
|
-
/* removed internal: _setProp */
|
|
50
49
|
private _update;
|
|
51
50
|
private _createVNode;
|
|
52
51
|
private _applyStyles;
|
|
@@ -92,8 +91,9 @@ export declare const TransitionGroup: new () => {
|
|
|
92
91
|
};
|
|
93
92
|
|
|
94
93
|
type AssignerFn = (value: any) => void;
|
|
94
|
+
declare const assignKey: unique symbol;
|
|
95
95
|
type ModelDirective<T> = ObjectDirective<T & {
|
|
96
|
-
|
|
96
|
+
[assignKey]: AssignerFn;
|
|
97
97
|
}>;
|
|
98
98
|
export declare const vModelText: ModelDirective<HTMLInputElement | HTMLTextAreaElement>;
|
|
99
99
|
export declare const vModelCheckbox: ModelDirective<HTMLInputElement>;
|
|
@@ -110,8 +110,9 @@ export declare const withModifiers: (fn: Function, modifiers: string[]) => (even
|
|
|
110
110
|
*/
|
|
111
111
|
export declare const withKeys: (fn: Function, modifiers: string[]) => (event: KeyboardEvent) => any;
|
|
112
112
|
|
|
113
|
+
declare const vShowOldKey: unique symbol;
|
|
113
114
|
interface VShowElement extends HTMLElement {
|
|
114
|
-
|
|
115
|
+
[vShowOldKey]: string;
|
|
115
116
|
}
|
|
116
117
|
export declare const vShow: ObjectDirective<VShowElement>;
|
|
117
118
|
|
|
@@ -320,12 +321,13 @@ export interface HTMLAttributes extends AriaAttributes, EventHandlers<Events> {
|
|
|
320
321
|
class?: any;
|
|
321
322
|
style?: StyleValue;
|
|
322
323
|
accesskey?: string;
|
|
323
|
-
contenteditable?: Booleanish | 'inherit';
|
|
324
|
+
contenteditable?: Booleanish | 'inherit' | 'plaintext-only';
|
|
324
325
|
contextmenu?: string;
|
|
325
326
|
dir?: string;
|
|
326
327
|
draggable?: Booleanish;
|
|
327
|
-
hidden?: Booleanish;
|
|
328
|
+
hidden?: Booleanish | '' | 'hidden' | 'until-found';
|
|
328
329
|
id?: string;
|
|
330
|
+
inert?: Booleanish;
|
|
329
331
|
lang?: string;
|
|
330
332
|
placeholder?: string;
|
|
331
333
|
spellcheck?: Booleanish;
|
|
@@ -487,11 +489,13 @@ export interface ImgHTMLAttributes extends HTMLAttributes {
|
|
|
487
489
|
srcset?: string;
|
|
488
490
|
usemap?: string;
|
|
489
491
|
width?: Numberish;
|
|
492
|
+
loading?: 'lazy' | 'eager';
|
|
490
493
|
}
|
|
491
494
|
export interface InsHTMLAttributes extends HTMLAttributes {
|
|
492
495
|
cite?: string;
|
|
493
496
|
datetime?: string;
|
|
494
497
|
}
|
|
498
|
+
export type InputTypeHTMLAttribute = 'button' | 'checkbox' | 'color' | 'date' | 'datetime-local' | 'email' | 'file' | 'hidden' | 'image' | 'month' | 'number' | 'password' | 'radio' | 'range' | 'reset' | 'search' | 'submit' | 'tel' | 'text' | 'time' | 'url' | 'week' | (string & {});
|
|
495
499
|
export interface InputHTMLAttributes extends HTMLAttributes {
|
|
496
500
|
accept?: string;
|
|
497
501
|
alt?: string;
|
|
@@ -523,7 +527,7 @@ export interface InputHTMLAttributes extends HTMLAttributes {
|
|
|
523
527
|
size?: Numberish;
|
|
524
528
|
src?: string;
|
|
525
529
|
step?: Numberish;
|
|
526
|
-
type?:
|
|
530
|
+
type?: InputTypeHTMLAttribute;
|
|
527
531
|
value?: any;
|
|
528
532
|
width?: Numberish;
|
|
529
533
|
}
|
|
@@ -682,7 +686,7 @@ export interface TextareaHTMLAttributes extends HTMLAttributes {
|
|
|
682
686
|
minlength?: Numberish;
|
|
683
687
|
name?: string;
|
|
684
688
|
placeholder?: string;
|
|
685
|
-
readonly?:
|
|
689
|
+
readonly?: Booleanish;
|
|
686
690
|
required?: Booleanish;
|
|
687
691
|
rows?: Numberish;
|
|
688
692
|
value?: string | string[] | number;
|
|
@@ -746,7 +750,7 @@ export interface SVGAttributes extends AriaAttributes, EventHandlers<Events> {
|
|
|
746
750
|
* @see https://www.w3.org/TR/SVG/styling.html#ElementSpecificStyling
|
|
747
751
|
*/
|
|
748
752
|
class?: any;
|
|
749
|
-
style?:
|
|
753
|
+
style?: StyleValue;
|
|
750
754
|
color?: string;
|
|
751
755
|
height?: Numberish;
|
|
752
756
|
id?: string;
|
|
@@ -1280,5 +1284,3 @@ export declare const hydrate: RootHydrateFunction;
|
|
|
1280
1284
|
export declare const createApp: CreateAppFunction<Element>;
|
|
1281
1285
|
export declare const createSSRApp: CreateAppFunction<Element>;
|
|
1282
1286
|
|
|
1283
|
-
|
|
1284
|
-
|