@vue/compiler-dom 3.6.0-beta.1 → 3.6.0-beta.11

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,8 +1,10 @@
1
- import { ParserOptions, NodeTransform, SourceLocation, CompilerError, ExpressionNode, SimpleExpressionNode, TransformContext, ComponentNode, DirectiveTransform, RootNode, CompilerOptions, CodegenResult } from '@vue/compiler-core';
2
- export * from '@vue/compiler-core';
1
+ import { CodegenResult, CompilerError, CompilerOptions, ComponentNode, DirectiveTransform, ExpressionNode, NodeTransform, ParserOptions, RootNode, SimpleExpressionNode, SourceLocation, TransformContext } from "@vue/compiler-core";
2
+ export * from "@vue/compiler-core";
3
3
 
4
+ //#region temp/packages/compiler-dom/src/parserOptions.d.ts
4
5
  export declare const parserOptions: ParserOptions;
5
-
6
+ //#endregion
7
+ //#region temp/packages/compiler-dom/src/runtimeHelpers.d.ts
6
8
  export declare const V_MODEL_RADIO: unique symbol;
7
9
  export declare const V_MODEL_CHECKBOX: unique symbol;
8
10
  export declare const V_MODEL_TEXT: unique symbol;
@@ -13,53 +15,59 @@ export declare const V_ON_WITH_KEYS: unique symbol;
13
15
  export declare const V_SHOW: unique symbol;
14
16
  export declare const TRANSITION: unique symbol;
15
17
  export declare const TRANSITION_GROUP: unique symbol;
16
-
18
+ //#endregion
19
+ //#region temp/packages/compiler-dom/src/transforms/transformStyle.d.ts
17
20
  export declare const transformStyle: NodeTransform;
18
-
21
+ //#endregion
22
+ //#region temp/packages/compiler-dom/src/errors.d.ts
19
23
  interface DOMCompilerError extends CompilerError {
20
- code: DOMErrorCodes;
24
+ code: DOMErrorCodes;
21
25
  }
22
26
  export declare function createDOMCompilerError(code: DOMErrorCodes, loc?: SourceLocation): DOMCompilerError;
23
27
  export declare enum DOMErrorCodes {
24
- X_V_HTML_NO_EXPRESSION = 54,
25
- X_V_HTML_WITH_CHILDREN = 55,
26
- X_V_TEXT_NO_EXPRESSION = 56,
27
- X_V_TEXT_WITH_CHILDREN = 57,
28
- X_V_MODEL_ON_INVALID_ELEMENT = 58,
29
- X_V_MODEL_ARG_ON_ELEMENT = 59,
30
- X_V_MODEL_ON_FILE_INPUT_ELEMENT = 60,
31
- X_V_MODEL_UNNECESSARY_VALUE = 61,
32
- X_V_SHOW_NO_EXPRESSION = 62,
33
- X_TRANSITION_INVALID_CHILDREN = 63,
34
- X_IGNORED_SIDE_EFFECT_TAG = 64,
35
- __EXTEND_POINT__ = 65
28
+ X_V_HTML_NO_EXPRESSION = 54,
29
+ X_V_HTML_WITH_CHILDREN = 55,
30
+ X_V_TEXT_NO_EXPRESSION = 56,
31
+ X_V_TEXT_WITH_CHILDREN = 57,
32
+ X_V_MODEL_ON_INVALID_ELEMENT = 58,
33
+ X_V_MODEL_ARG_ON_ELEMENT = 59,
34
+ X_V_MODEL_ON_FILE_INPUT_ELEMENT = 60,
35
+ X_V_MODEL_UNNECESSARY_VALUE = 61,
36
+ X_V_SHOW_NO_EXPRESSION = 62,
37
+ X_TRANSITION_INVALID_CHILDREN = 63,
38
+ X_IGNORED_SIDE_EFFECT_TAG = 64,
39
+ __EXTEND_POINT__ = 65
36
40
  }
37
41
  export declare const DOMErrorMessages: Record<DOMErrorCodes, string>;
38
-
42
+ //#endregion
43
+ //#region temp/packages/compiler-dom/src/transforms/vOn.d.ts
39
44
  export declare const isKeyboardEvent: (key: string) => boolean;
40
45
  export declare const resolveModifiers: (key: ExpressionNode | string, modifiers: SimpleExpressionNode[], context: TransformContext | null, loc: SourceLocation) => {
41
- keyModifiers: string[];
42
- nonKeyModifiers: string[];
43
- eventOptionModifiers: string[];
46
+ keyModifiers: string[];
47
+ nonKeyModifiers: string[];
48
+ eventOptionModifiers: string[];
44
49
  };
45
-
50
+ //#endregion
51
+ //#region temp/packages/compiler-dom/src/htmlNesting.d.ts
46
52
  /**
47
- * Copied from https://github.com/MananTank/validate-html-nesting
48
- * with ISC license
49
- *
50
- * To avoid runtime dependency on validate-html-nesting
51
- * This file should not change very often in the original repo
52
- * but we may need to keep it up-to-date from time to time.
53
- */
53
+ * Copied from https://github.com/MananTank/validate-html-nesting
54
+ * with ISC license
55
+ *
56
+ * To avoid runtime dependency on validate-html-nesting
57
+ * This file should not change very often in the original repo
58
+ * but we may need to keep it up-to-date from time to time.
59
+ */
54
60
  /**
55
- * returns true if given parent-child nesting is valid HTML
56
- */
61
+ * returns true if given parent-child nesting is valid HTML
62
+ */
57
63
  export declare function isValidHTMLNesting(parent: string, child: string): boolean;
58
-
64
+ //#endregion
65
+ //#region temp/packages/compiler-dom/src/transforms/Transition.d.ts
59
66
  export declare function postTransformTransition(node: ComponentNode, onError: (error: CompilerError) => void, hasMultipleChildren?: (node: ComponentNode) => boolean): () => void;
60
-
67
+ //#endregion
68
+ //#region temp/packages/compiler-dom/src/index.d.ts
61
69
  export declare const DOMNodeTransforms: NodeTransform[];
62
70
  export declare const DOMDirectiveTransforms: Record<string, DirectiveTransform>;
63
71
  export declare function compile(src: string | RootNode, options?: CompilerOptions): CodegenResult;
64
72
  export declare function parse(template: string, options?: ParserOptions): RootNode;
65
-
73
+ //#endregion