UNPKG

jsv-compiler

Version:
151 lines (150 loc) 4.57 kB
export var __esModule: boolean; export namespace DOMDirectiveTransforms { export const cloak: () => { props: any[]; }; export { transformVHtml as html }; export { transformVText as text }; export { transformModel as model }; export { transformOn as on }; export { transformShow as show }; } export var DOMNodeTransforms: (((node: any) => void) | ((node: any, context: any) => () => void))[]; export var TRANSITION: typeof TRANSITION; export var TRANSITION_GROUP: typeof TRANSITION_GROUP; export var V_MODEL_CHECKBOX: typeof V_MODEL_CHECKBOX; export var V_MODEL_DYNAMIC: typeof V_MODEL_DYNAMIC; export var V_MODEL_RADIO: typeof V_MODEL_RADIO; export var V_MODEL_SELECT: typeof V_MODEL_SELECT; export var V_MODEL_TEXT: typeof V_MODEL_TEXT; export var V_ON_WITH_KEYS: typeof V_ON_WITH_KEYS; export var V_ON_WITH_MODIFIERS: typeof V_ON_WITH_MODIFIERS; export var V_SHOW: typeof V_SHOW; export function compile(template: any, options?: {}): { ast: any; code: string; map: any; }; export function createDOMCompilerError(code: any, loc: any): SyntaxError; export function parse(template: any, options?: {}): { type: number; children: any; helpers: any[]; components: any[]; directives: any[]; hoists: any[]; imports: any[]; cached: number; temps: number; codegenNode: any; loc: { source: string; start: { line: number; column: number; offset: number; }; end: { line: number; column: number; offset: number; }; }; }; export namespace parserOptions { export const isVoidTag: any; export function isNativeTag(tag: any): any; export function isPreTag(tag: any): boolean; export { decodeHtml as decodeEntities }; export function isBuiltInComponent(tag: any): typeof TRANSITION | typeof TRANSITION_GROUP; export function getNamespace(tag: any, parent: any): any; export function getNamespace(tag: any, parent: any): any; export function getTextMode({ tag, ns }: { tag: any; ns: any; }): 0 | 1 | 2; export function getTextMode({ tag, ns }: { tag: any; ns: any; }): 0 | 1 | 2; } export function transformStyle(node: any): void; declare function transformVHtml(dir: any, node: any, context: any): { props: { type: number; loc: { source: string; start: { line: number; column: number; offset: number; }; end: { line: number; column: number; offset: number; }; }; key: any; value: any; }[]; }; declare function transformVText(dir: any, node: any, context: any): { props: { type: number; loc: { source: string; start: { line: number; column: number; offset: number; }; end: { line: number; column: number; offset: number; }; }; key: any; value: any; }[]; }; declare function transformModel(dir: any, node: any, context: any): { props: any[]; }; declare function transformOn(dir: any, node: any, context: any): { props: { type: number; loc: { source: string; start: { line: number; column: number; offset: number; }; end: { line: number; column: number; offset: number; }; }; key: any; value: any; }[]; }; declare function transformShow(dir: any, node: any, context: any): { props: any[]; needRuntime: any; }; declare const TRANSITION: unique symbol; declare const TRANSITION_GROUP: unique symbol; declare const V_MODEL_CHECKBOX: unique symbol; declare const V_MODEL_DYNAMIC: unique symbol; declare const V_MODEL_RADIO: unique symbol; declare const V_MODEL_SELECT: unique symbol; declare const V_MODEL_TEXT: unique symbol; declare const V_ON_WITH_KEYS: unique symbol; declare const V_ON_WITH_MODIFIERS: unique symbol; declare const V_SHOW: unique symbol; declare function decodeHtml(rawText: any, asAttr: any): string; export {};