@vtj/coder
Version:
VTJ 是一款基于 Vue3 + Typescript 的低代码页面可视化设计器。内置低代码引擎、渲染器和代码生成器,面向前端开发者,开箱即用。 无缝嵌入本地开发工程,不改变前端开发流程和编码习惯。
17 lines (16 loc) • 579 B
TypeScript
import { NodeSchema, MaterialDescription, JSFunction } from '@vtj/core';
export declare const NO_END_TAGS: string[];
/**
* 内置指令
*/
export declare const BUILT_IN_DIRECTIVES: string[];
export declare function parseTemplate(children: NodeSchema[], componentMap: Map<string, MaterialDescription>, computedKeys?: string[], context?: Record<string, Set<string>>, parent?: NodeSchema): {
nodes: string[];
methods: Record<string, JSFunction>;
directives: string[];
components: string[];
importBlocks: {
id: string;
name: string;
}[];
};