All Downloads are FREE. Search and download functionalities are using the official Maven repository.

package.dist.compiler-dom.d.ts Maven / Gradle / Ivy

The newest version!
import { ParserOptions, NodeTransform, SourceLocation, CompilerError, DirectiveTransform, RootNode, CompilerOptions, CodegenResult } from '@vue/compiler-core';
export * from '@vue/compiler-core';

export declare const parserOptions: ParserOptions;

export declare const V_MODEL_RADIO: unique symbol;
export declare const V_MODEL_CHECKBOX: unique symbol;
export declare const V_MODEL_TEXT: unique symbol;
export declare const V_MODEL_SELECT: unique symbol;
export declare const V_MODEL_DYNAMIC: unique symbol;
export declare const V_ON_WITH_MODIFIERS: unique symbol;
export declare const V_ON_WITH_KEYS: unique symbol;
export declare const V_SHOW: unique symbol;
export declare const TRANSITION: unique symbol;
export declare const TRANSITION_GROUP: unique symbol;

export declare const transformStyle: NodeTransform;

interface DOMCompilerError extends CompilerError {
    code: DOMErrorCodes;
}
export declare function createDOMCompilerError(code: DOMErrorCodes, loc?: SourceLocation): DOMCompilerError;
export declare enum DOMErrorCodes {
    X_V_HTML_NO_EXPRESSION = 53,
    X_V_HTML_WITH_CHILDREN = 54,
    X_V_TEXT_NO_EXPRESSION = 55,
    X_V_TEXT_WITH_CHILDREN = 56,
    X_V_MODEL_ON_INVALID_ELEMENT = 57,
    X_V_MODEL_ARG_ON_ELEMENT = 58,
    X_V_MODEL_ON_FILE_INPUT_ELEMENT = 59,
    X_V_MODEL_UNNECESSARY_VALUE = 60,
    X_V_SHOW_NO_EXPRESSION = 61,
    X_TRANSITION_INVALID_CHILDREN = 62,
    X_IGNORED_SIDE_EFFECT_TAG = 63,
    __EXTEND_POINT__ = 64
}
export declare const DOMErrorMessages: {
    [code: number]: string;
};

export declare const DOMNodeTransforms: NodeTransform[];
export declare const DOMDirectiveTransforms: Record;
export declare function compile(src: string | RootNode, options?: CompilerOptions): CodegenResult;
export declare function parse(template: string, options?: ParserOptions): RootNode;





© 2015 - 2024 Weber Informatics LLC | Privacy Policy