@vue/compiler-dom 3.2.47 → 3.3.0-alpha.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.
@@ -1,66 +1,43 @@
1
- import { CodegenResult } from '@vue/compiler-core';
2
- import { CompilerError } from '@vue/compiler-core';
3
- import { CompilerOptions } from '@vue/compiler-core';
4
- import { DirectiveTransform } from '@vue/compiler-core';
5
- import { NodeTransform } from '@vue/compiler-core';
6
- import { ParserOptions } from '@vue/compiler-core';
7
- import { RootNode } from '@vue/compiler-core';
8
- import { SourceLocation } from '@vue/compiler-core';
9
-
10
- export declare function compile(template: string, options?: CompilerOptions): CodegenResult;
11
-
12
- export declare function createDOMCompilerError(code: DOMErrorCodes, loc?: SourceLocation): DOMCompilerError;
13
-
14
- declare interface DOMCompilerError extends CompilerError {
15
- code: DOMErrorCodes;
16
- }
17
-
18
- export declare const DOMDirectiveTransforms: Record<string, DirectiveTransform>;
19
-
20
- export declare const enum DOMErrorCodes {
21
- X_V_HTML_NO_EXPRESSION = 51,
22
- X_V_HTML_WITH_CHILDREN = 52,
23
- X_V_TEXT_NO_EXPRESSION = 53,
24
- X_V_TEXT_WITH_CHILDREN = 54,
25
- X_V_MODEL_ON_INVALID_ELEMENT = 55,
26
- X_V_MODEL_ARG_ON_ELEMENT = 56,
27
- X_V_MODEL_ON_FILE_INPUT_ELEMENT = 57,
28
- X_V_MODEL_UNNECESSARY_VALUE = 58,
29
- X_V_SHOW_NO_EXPRESSION = 59,
30
- X_TRANSITION_INVALID_CHILDREN = 60,
31
- X_IGNORED_SIDE_EFFECT_TAG = 61,
32
- __EXTEND_POINT__ = 62
33
- }
34
-
35
- export declare const DOMNodeTransforms: NodeTransform[];
36
-
37
- export declare function parse(template: string, options?: ParserOptions): RootNode;
38
-
39
- export declare const parserOptions: ParserOptions;
40
-
41
- export declare const transformStyle: NodeTransform;
42
-
43
- export declare const TRANSITION: unique symbol;
44
-
45
- export declare const TRANSITION_GROUP: unique symbol;
46
-
47
- export declare const V_MODEL_CHECKBOX: unique symbol;
48
-
49
- export declare const V_MODEL_DYNAMIC: unique symbol;
50
-
51
- export declare const V_MODEL_RADIO: unique symbol;
52
-
53
- export declare const V_MODEL_SELECT: unique symbol;
54
-
55
- export declare const V_MODEL_TEXT: unique symbol;
56
-
57
- export declare const V_ON_WITH_KEYS: unique symbol;
58
-
59
- export declare const V_ON_WITH_MODIFIERS: unique symbol;
60
-
61
- export declare const V_SHOW: unique symbol;
62
-
63
-
64
- export * from "@vue/compiler-core";
65
-
66
- export { }
1
+ import { ParserOptions, NodeTransform, SourceLocation, CompilerError, DirectiveTransform, CompilerOptions, CodegenResult, RootNode } from '@vue/compiler-core';
2
+ export * from '@vue/compiler-core';
3
+
4
+ declare const parserOptions: ParserOptions;
5
+
6
+ declare const V_MODEL_RADIO: unique symbol;
7
+ declare const V_MODEL_CHECKBOX: unique symbol;
8
+ declare const V_MODEL_TEXT: unique symbol;
9
+ declare const V_MODEL_SELECT: unique symbol;
10
+ declare const V_MODEL_DYNAMIC: unique symbol;
11
+ declare const V_ON_WITH_MODIFIERS: unique symbol;
12
+ declare const V_ON_WITH_KEYS: unique symbol;
13
+ declare const V_SHOW: unique symbol;
14
+ declare const TRANSITION: unique symbol;
15
+ declare const TRANSITION_GROUP: unique symbol;
16
+
17
+ declare const transformStyle: NodeTransform;
18
+
19
+ export interface DOMCompilerError extends CompilerError {
20
+ code: DOMErrorCodes;
21
+ }
22
+ declare function createDOMCompilerError(code: DOMErrorCodes, loc?: SourceLocation): DOMCompilerError;
23
+ declare const enum DOMErrorCodes {
24
+ X_V_HTML_NO_EXPRESSION = 51,
25
+ X_V_HTML_WITH_CHILDREN = 52,
26
+ X_V_TEXT_NO_EXPRESSION = 53,
27
+ X_V_TEXT_WITH_CHILDREN = 54,
28
+ X_V_MODEL_ON_INVALID_ELEMENT = 55,
29
+ X_V_MODEL_ARG_ON_ELEMENT = 56,
30
+ X_V_MODEL_ON_FILE_INPUT_ELEMENT = 57,
31
+ X_V_MODEL_UNNECESSARY_VALUE = 58,
32
+ X_V_SHOW_NO_EXPRESSION = 59,
33
+ X_TRANSITION_INVALID_CHILDREN = 60,
34
+ X_IGNORED_SIDE_EFFECT_TAG = 61,
35
+ __EXTEND_POINT__ = 62
36
+ }
37
+
38
+ declare const DOMNodeTransforms: NodeTransform[];
39
+ declare const DOMDirectiveTransforms: Record<string, DirectiveTransform>;
40
+ declare function compile(template: string, options?: CompilerOptions): CodegenResult;
41
+ declare function parse(template: string, options?: ParserOptions): RootNode;
42
+
43
+ export { DOMDirectiveTransforms, DOMErrorCodes, DOMNodeTransforms, TRANSITION, TRANSITION_GROUP, V_MODEL_CHECKBOX, V_MODEL_DYNAMIC, V_MODEL_RADIO, V_MODEL_SELECT, V_MODEL_TEXT, V_ON_WITH_KEYS, V_ON_WITH_MODIFIERS, V_SHOW, compile, createDOMCompilerError, parse, parserOptions, transformStyle };