@vtj/renderer
Version:
VTJ 是一款基于 Vue3 + Typescript 的低代码页面可视化设计器。内置低代码引擎、渲染器和代码生成器,面向前端开发者,开箱即用。 无缝嵌入本地开发工程,不改变前端开发流程和编码习惯。
24 lines (23 loc) • 1.06 kB
TypeScript
import { Dependencie, MaterialDescription } from '@vtj/core';
export declare function fillBasePath(urls: string[], basePath: string): string[];
export declare function isCSSUrl(url: string): boolean;
export declare function isJSUrl(url: string): boolean;
export declare function isJSON(url: string): boolean;
export declare function createAssetScripts(scripts: string[]): string;
export declare function createAssetsCss(css?: string[]): string;
export declare function removeProdFlag(url: string, isDev?: boolean): string;
export declare function parseDeps(deps: Dependencie[], basePath: string, isDev?: boolean): {
scripts: string[];
css: string[];
materials: string[];
libraryExports: string[];
materialExports: string[];
materialMapLibrary: Record<string, string>;
libraryMap: Record<string, string[]>;
libraryLocaleMap: Record<string, string>;
};
export declare function getRawComponent(desc: MaterialDescription, lib: any): any;
export declare function parseUrls(urls?: string[]): {
css: string[];
js: string[];
};