source: node_modules/@vue/compiler-dom/dist/compiler-dom.d.ts

Last change on this file was 57e58a3, checked in by ste08 <sjovanoska@…>, 4 months ago

Initial commit

  • Property mode set to 100644
File size: 1.8 KB
Line 
1import { ParserOptions, NodeTransform, SourceLocation, CompilerError, DirectiveTransform, RootNode, CompilerOptions, CodegenResult } from '@vue/compiler-core';
2export * from '@vue/compiler-core';
3
4export declare const parserOptions: ParserOptions;
5
6export declare const V_MODEL_RADIO: unique symbol;
7export declare const V_MODEL_CHECKBOX: unique symbol;
8export declare const V_MODEL_TEXT: unique symbol;
9export declare const V_MODEL_SELECT: unique symbol;
10export declare const V_MODEL_DYNAMIC: unique symbol;
11export declare const V_ON_WITH_MODIFIERS: unique symbol;
12export declare const V_ON_WITH_KEYS: unique symbol;
13export declare const V_SHOW: unique symbol;
14export declare const TRANSITION: unique symbol;
15export declare const TRANSITION_GROUP: unique symbol;
16
17export declare const transformStyle: NodeTransform;
18
19interface DOMCompilerError extends CompilerError {
20 code: DOMErrorCodes;
21}
22export declare function createDOMCompilerError(code: DOMErrorCodes, loc?: SourceLocation): DOMCompilerError;
23export declare enum DOMErrorCodes {
24 X_V_HTML_NO_EXPRESSION = 53,
25 X_V_HTML_WITH_CHILDREN = 54,
26 X_V_TEXT_NO_EXPRESSION = 55,
27 X_V_TEXT_WITH_CHILDREN = 56,
28 X_V_MODEL_ON_INVALID_ELEMENT = 57,
29 X_V_MODEL_ARG_ON_ELEMENT = 58,
30 X_V_MODEL_ON_FILE_INPUT_ELEMENT = 59,
31 X_V_MODEL_UNNECESSARY_VALUE = 60,
32 X_V_SHOW_NO_EXPRESSION = 61,
33 X_TRANSITION_INVALID_CHILDREN = 62,
34 X_IGNORED_SIDE_EFFECT_TAG = 63,
35 __EXTEND_POINT__ = 64
36}
37export declare const DOMErrorMessages: {
38 [code: number]: string;
39};
40
41export declare const DOMNodeTransforms: NodeTransform[];
42export declare const DOMDirectiveTransforms: Record<string, DirectiveTransform>;
43export declare function compile(src: string | RootNode, options?: CompilerOptions): CodegenResult;
44export declare function parse(template: string, options?: ParserOptions): RootNode;
45
Note: See TracBrowser for help on using the repository browser.