@dckj-npm/lowcode-code-generator 1.2.18 → 1.2.19
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +4 -2
- package/dist/standalone-loader.esm.js +0 -100
- package/dist/standalone-loader.esm.js.map +0 -7
- package/dist/standalone-loader.js +0 -127
- package/dist/standalone-loader.js.map +0 -7
- package/types/analyzer/componentAnalyzer.d.ts +0 -2
- package/types/cli/index.d.ts +0 -2
- package/types/cli/init-solution.d.ts +0 -4
- package/types/cli/run.d.ts +0 -15
- package/types/cli/solutions/example-solution.d.ts +0 -4
- package/types/config/env.d.ts +0 -1
- package/types/const/file.d.ts +0 -2
- package/types/const/generator.d.ts +0 -58
- package/types/const/index.d.ts +0 -11
- package/types/core/jsx/handlers/transformJsExpression.d.ts +0 -5
- package/types/core/jsx/handlers/transformThis2Context.d.ts +0 -9
- package/types/core/jsx/util/isLiteralAtomicExpr.d.ts +0 -4
- package/types/core/jsx/util/isSimpleStraightLiteral.d.ts +0 -3
- package/types/core/vue/handlers/transformJsExpression.d.ts +0 -5
- package/types/core/vue/handlers/transformThis2Context.d.ts +0 -9
- package/types/core/vue/util/isLiteralAtomicExpr.d.ts +0 -4
- package/types/core/vue/util/isSimpleStraightLiteral.d.ts +0 -3
- package/types/generator/ChunkBuilder.d.ts +0 -23
- package/types/generator/CodeBuilder.d.ts +0 -17
- package/types/generator/ModuleBuilder.d.ts +0 -7
- package/types/generator/ProjectBuilder.d.ts +0 -62
- package/types/index.d.ts +0 -260
- package/types/parser/SchemaParser.d.ts +0 -25
- package/types/plugins/common/esmodule.d.ts +0 -8
- package/types/plugins/common/requireUtils.d.ts +0 -3
- package/types/plugins/common/styleImport.d.ts +0 -3
- package/types/plugins/component/rax/commonDeps.d.ts +0 -3
- package/types/plugins/component/rax/const.d.ts +0 -18
- package/types/plugins/component/rax/containerClass.d.ts +0 -3
- package/types/plugins/component/rax/containerInitState.d.ts +0 -7
- package/types/plugins/component/rax/containerInjectContext.d.ts +0 -6
- package/types/plugins/component/rax/containerInjectDataSourceEngine.d.ts +0 -12
- package/types/plugins/component/rax/containerInjectUtils.d.ts +0 -6
- package/types/plugins/component/rax/containerLifeCycle.d.ts +0 -8
- package/types/plugins/component/rax/containerMethods.d.ts +0 -6
- package/types/plugins/component/rax/jsx.d.ts +0 -8
- package/types/plugins/component/react/const.d.ts +0 -9
- package/types/plugins/component/react/containerClass.d.ts +0 -3
- package/types/plugins/component/react/containerInitState.d.ts +0 -7
- package/types/plugins/component/react/containerInjectConstants.d.ts +0 -6
- package/types/plugins/component/react/containerInjectContext.d.ts +0 -6
- package/types/plugins/component/react/containerInjectDataSourceEngine.d.ts +0 -23
- package/types/plugins/component/react/containerInjectI18n.d.ts +0 -6
- package/types/plugins/component/react/containerInjectUtils.d.ts +0 -8
- package/types/plugins/component/react/containerLifeCycle.d.ts +0 -9
- package/types/plugins/component/react/containerMethod.d.ts +0 -6
- package/types/plugins/component/react/jsx.d.ts +0 -7
- package/types/plugins/component/react/reactCommonDeps.d.ts +0 -3
- package/types/plugins/component/style/css.d.ts +0 -7
- package/types/plugins/component/vue/apiImport.d.ts +0 -23
- package/types/plugins/component/vue/containerInitVariable.d.ts +0 -7
- package/types/plugins/component/vue/containerInjectDataSourceEngine.d.ts +0 -23
- package/types/plugins/component/vue/containerLifeCycle.d.ts +0 -9
- package/types/plugins/component/vue/containerMethod.d.ts +0 -6
- package/types/plugins/component/vue/containerVue.d.ts +0 -3
- package/types/plugins/component/vue/convert/convert-function.d.ts +0 -6
- package/types/plugins/component/vue/convert/convert-variable.d.ts +0 -11
- package/types/plugins/component/vue/dataSourceMap.d.ts +0 -7
- package/types/plugins/component/vue/esmodule.d.ts +0 -8
- package/types/plugins/component/vue/routerSecond.d.ts +0 -3
- package/types/plugins/component/vue/styleImport.d.ts +0 -0
- package/types/plugins/component/vue/template.d.ts +0 -7
- package/types/plugins/component/vue/vueCommonDeps.d.ts +0 -3
- package/types/plugins/project/constants.d.ts +0 -3
- package/types/plugins/project/framework/icejs/index.d.ts +0 -11
- package/types/plugins/project/framework/icejs/plugins/entry.d.ts +0 -3
- package/types/plugins/project/framework/icejs/plugins/entryHtml.d.ts +0 -3
- package/types/plugins/project/framework/icejs/plugins/globalStyle.d.ts +0 -3
- package/types/plugins/project/framework/icejs/plugins/packageJSON.d.ts +0 -26
- package/types/plugins/project/framework/icejs/plugins/router.d.ts +0 -3
- package/types/plugins/project/framework/icejs/template/files/README.md.d.ts +0 -2
- package/types/plugins/project/framework/icejs/template/files/abc.json.d.ts +0 -2
- package/types/plugins/project/framework/icejs/template/files/build.json.d.ts +0 -2
- package/types/plugins/project/framework/icejs/template/files/editorconfig.d.ts +0 -2
- package/types/plugins/project/framework/icejs/template/files/eslintignore.d.ts +0 -2
- package/types/plugins/project/framework/icejs/template/files/eslintrc.js.d.ts +0 -2
- package/types/plugins/project/framework/icejs/template/files/gitignore.d.ts +0 -2
- package/types/plugins/project/framework/icejs/template/files/jsconfig.json.d.ts +0 -2
- package/types/plugins/project/framework/icejs/template/files/prettierignore.d.ts +0 -2
- package/types/plugins/project/framework/icejs/template/files/prettierrc.js.d.ts +0 -2
- package/types/plugins/project/framework/icejs/template/files/src/layouts/BasicLayout/components/Footer/index.jsx.d.ts +0 -2
- package/types/plugins/project/framework/icejs/template/files/src/layouts/BasicLayout/components/Footer/index.style.d.ts +0 -2
- package/types/plugins/project/framework/icejs/template/files/src/layouts/BasicLayout/components/Logo/index.jsx.d.ts +0 -2
- package/types/plugins/project/framework/icejs/template/files/src/layouts/BasicLayout/components/Logo/index.style.d.ts +0 -2
- package/types/plugins/project/framework/icejs/template/files/src/layouts/BasicLayout/components/PageNav/index.jsx.d.ts +0 -2
- package/types/plugins/project/framework/icejs/template/files/src/layouts/BasicLayout/index.jsx.d.ts +0 -2
- package/types/plugins/project/framework/icejs/template/files/src/layouts/BasicLayout/menuConfig.js.d.ts +0 -2
- package/types/plugins/project/framework/icejs/template/files/stylelintignore.d.ts +0 -2
- package/types/plugins/project/framework/icejs/template/files/stylelintrc.js.d.ts +0 -2
- package/types/plugins/project/framework/icejs/template/files/tsconfig.json.d.ts +0 -2
- package/types/plugins/project/framework/icejs/template/index.d.ts +0 -3
- package/types/plugins/project/framework/icejs/template/static-files.d.ts +0 -2
- package/types/plugins/project/framework/icejs3/index.d.ts +0 -11
- package/types/plugins/project/framework/icejs3/plugins/appConfig.d.ts +0 -5
- package/types/plugins/project/framework/icejs3/plugins/buildConfig.d.ts +0 -7
- package/types/plugins/project/framework/icejs3/plugins/globalStyle.d.ts +0 -3
- package/types/plugins/project/framework/icejs3/plugins/layout.d.ts +0 -3
- package/types/plugins/project/framework/icejs3/plugins/packageJSON.d.ts +0 -26
- package/types/plugins/project/framework/icejs3/template/files/README.md.d.ts +0 -2
- package/types/plugins/project/framework/icejs3/template/files/browserslistrc.d.ts +0 -2
- package/types/plugins/project/framework/icejs3/template/files/document.d.ts +0 -2
- package/types/plugins/project/framework/icejs3/template/files/gitignore.d.ts +0 -2
- package/types/plugins/project/framework/icejs3/template/files/src/layouts/BasicLayout/components/Footer/index.jsx.d.ts +0 -2
- package/types/plugins/project/framework/icejs3/template/files/src/layouts/BasicLayout/components/Footer/index.style.d.ts +0 -2
- package/types/plugins/project/framework/icejs3/template/files/src/layouts/BasicLayout/components/Logo/index.jsx.d.ts +0 -2
- package/types/plugins/project/framework/icejs3/template/files/src/layouts/BasicLayout/components/Logo/index.style.d.ts +0 -2
- package/types/plugins/project/framework/icejs3/template/files/src/layouts/BasicLayout/components/PageNav/index.jsx.d.ts +0 -2
- package/types/plugins/project/framework/icejs3/template/files/src/layouts/BasicLayout/index.jsx.d.ts +0 -2
- package/types/plugins/project/framework/icejs3/template/files/src/layouts/BasicLayout/menuConfig.js.d.ts +0 -2
- package/types/plugins/project/framework/icejs3/template/files/tsconfig.d.ts +0 -2
- package/types/plugins/project/framework/icejs3/template/files/typings.d.ts +0 -2
- package/types/plugins/project/framework/icejs3/template/index.d.ts +0 -3
- package/types/plugins/project/framework/icejs3/template/static-files.d.ts +0 -2
- package/types/plugins/project/framework/rax/index.d.ts +0 -12
- package/types/plugins/project/framework/rax/plugins/appConfig.d.ts +0 -4
- package/types/plugins/project/framework/rax/plugins/buildConfig.d.ts +0 -4
- package/types/plugins/project/framework/rax/plugins/entry.d.ts +0 -4
- package/types/plugins/project/framework/rax/plugins/entryDocument.d.ts +0 -7
- package/types/plugins/project/framework/rax/plugins/globalStyle.d.ts +0 -6
- package/types/plugins/project/framework/rax/plugins/packageJSON.d.ts +0 -4
- package/types/plugins/project/framework/rax/template/files/.eslintignore.d.ts +0 -2
- package/types/plugins/project/framework/rax/template/files/.eslintrc.js.d.ts +0 -2
- package/types/plugins/project/framework/rax/template/files/.gitignore.d.ts +0 -2
- package/types/plugins/project/framework/rax/template/files/.prettierignore.d.ts +0 -2
- package/types/plugins/project/framework/rax/template/files/.prettierrc.js.d.ts +0 -2
- package/types/plugins/project/framework/rax/template/files/.stylelintignore.d.ts +0 -2
- package/types/plugins/project/framework/rax/template/files/.stylelintrc.js.d.ts +0 -2
- package/types/plugins/project/framework/rax/template/files/README.md.d.ts +0 -2
- package/types/plugins/project/framework/rax/template/files/jsconfig.json.d.ts +0 -2
- package/types/plugins/project/framework/rax/template/files/tsconfig.json.d.ts +0 -2
- package/types/plugins/project/framework/rax/template/index.d.ts +0 -3
- package/types/plugins/project/framework/rax/template/static-files.d.ts +0 -2
- package/types/plugins/project/framework/rax/types/RaxFrameworkOptions.d.ts +0 -81
- package/types/plugins/project/framework/vuejs3/index.d.ts +0 -11
- package/types/plugins/project/framework/vuejs3/plugins/form.d.ts +0 -3
- package/types/plugins/project/framework/vuejs3/plugins/hooks.d.ts +0 -3
- package/types/plugins/project/framework/vuejs3/plugins/main.d.ts +0 -4
- package/types/plugins/project/framework/vuejs3/plugins/packageJSON.d.ts +0 -26
- package/types/plugins/project/framework/vuejs3/plugins/router.d.ts +0 -3
- package/types/plugins/project/framework/vuejs3/template/files/css/global.scss.d.ts +0 -2
- package/types/plugins/project/framework/vuejs3/template/files/css/mixin.scss.d.ts +0 -2
- package/types/plugins/project/framework/vuejs3/template/files/css/theme.css.d.ts +0 -2
- package/types/plugins/project/framework/vuejs3/template/files/env.d.ts +0 -2
- package/types/plugins/project/framework/vuejs3/template/files/eslintignore.d.ts +0 -2
- package/types/plugins/project/framework/vuejs3/template/files/eslintrc.yml.d.ts +0 -2
- package/types/plugins/project/framework/vuejs3/template/files/gitignore.d.ts +0 -2
- package/types/plugins/project/framework/vuejs3/template/files/index.html.d.ts +0 -2
- package/types/plugins/project/framework/vuejs3/template/files/npmrc.d.ts +0 -2
- package/types/plugins/project/framework/vuejs3/template/files/postcss.config.cjs.d.ts +0 -2
- package/types/plugins/project/framework/vuejs3/template/files/prettierignore.d.ts +0 -2
- package/types/plugins/project/framework/vuejs3/template/files/prettierrc.yml.d.ts +0 -2
- package/types/plugins/project/framework/vuejs3/template/files/src/App.vue.d.ts +0 -2
- package/types/plugins/project/framework/vuejs3/template/files/src/main.d.ts +0 -2
- package/types/plugins/project/framework/vuejs3/template/files/src/utils/utils.d.ts +0 -2
- package/types/plugins/project/framework/vuejs3/template/files/src/views/baseIndexA/tabs.d.ts +0 -2
- package/types/plugins/project/framework/vuejs3/template/files/src/views/baseIndexA/welcome.vue.d.ts +0 -2
- package/types/plugins/project/framework/vuejs3/template/files/src/vite-env.d.ts +0 -2
- package/types/plugins/project/framework/vuejs3/template/files/tsconfig.json.d.ts +0 -2
- package/types/plugins/project/framework/vuejs3/template/files/tsconfig.node.json.d.ts +0 -2
- package/types/plugins/project/framework/vuejs3/template/files/vite.config.ts.d.ts +0 -2
- package/types/plugins/project/framework/vuejs3/template/index.d.ts +0 -3
- package/types/plugins/project/framework/vuejs3/template/static-files.d.ts +0 -2
- package/types/plugins/project/i18n.d.ts +0 -3
- package/types/plugins/project/utils.d.ts +0 -3
- package/types/polyfills/buffer.d.ts +0 -1
- package/types/postprocessor/index.d.ts +0 -2
- package/types/postprocessor/prettier/index.d.ts +0 -8
- package/types/publisher/disk/index.d.ts +0 -13
- package/types/publisher/disk/utils.d.ts +0 -9
- package/types/publisher/zip/index.d.ts +0 -14
- package/types/publisher/zip/utils.d.ts +0 -5
- package/types/solutions/icejs.d.ts +0 -18
- package/types/solutions/icejs3.d.ts +0 -15
- package/types/solutions/rax-app.d.ts +0 -27
- package/types/solutions/vuejs3.d.ts +0 -22
- package/types/standalone-loader.d.ts +0 -17
- package/types/standalone-worker.d.ts +0 -1
- package/types/standalone.d.ts +0 -260
- package/types/types/analyze.d.ts +0 -5
- package/types/types/column-type.d.ts +0 -316
- package/types/types/core.d.ts +0 -197
- package/types/types/datasource-extra-base.d.ts +0 -32
- package/types/types/datasource-page-helper.d.ts +0 -30
- package/types/types/datasource.d.ts +0 -0
- package/types/types/deps.d.ts +0 -36
- package/types/types/error.d.ts +0 -10
- package/types/types/file.d.ts +0 -14
- package/types/types/index.d.ts +0 -8
- package/types/types/intermediate.d.ts +0 -234
- package/types/types/jsx.d.ts +0 -34
- package/types/types/publisher.d.ts +0 -14
- package/types/types/tab.d.ts +0 -6
- package/types/utils/OrderedSet.d.ts +0 -9
- package/types/utils/Scope.d.ts +0 -12
- package/types/utils/ScopeBindings.d.ts +0 -20
- package/types/utils/aopHelper.d.ts +0 -2
- package/types/utils/apiHandler.d.ts +0 -4
- package/types/utils/changeCase.d.ts +0 -10
- package/types/utils/columnType.d.ts +0 -1
- package/types/utils/common.d.ts +0 -14
- package/types/utils/compositeType.d.ts +0 -3
- package/types/utils/dataSource.d.ts +0 -17
- package/types/utils/debug.d.ts +0 -2
- package/types/utils/encodeJsxAttrString.d.ts +0 -1
- package/types/utils/errors.d.ts +0 -4
- package/types/utils/expressionParser.d.ts +0 -16
- package/types/utils/format.d.ts +0 -1
- package/types/utils/index.d.ts +0 -15
- package/types/utils/jsExpression.d.ts +0 -50
- package/types/utils/jsSlot.d.ts +0 -2
- package/types/utils/jsxHelpers.d.ts +0 -5
- package/types/utils/nodeToJSX.d.ts +0 -32
- package/types/utils/nodeToTemplate.d.ts +0 -17
- package/types/utils/pathHelper.d.ts +0 -6
- package/types/utils/requestHandle.d.ts +0 -72
- package/types/utils/resultHelper.d.ts +0 -51
- package/types/utils/routerHandle.d.ts +0 -11
- package/types/utils/schema.d.ts +0 -24
- package/types/utils/templateHelper.d.ts +0 -11
- package/types/utils/theme.d.ts +0 -9
- package/types/utils/validate.d.ts +0 -8
- package/types/utils/version.d.ts +0 -1
|
@@ -1,51 +0,0 @@
|
|
|
1
|
-
import { ResultFile, ResultDir } from '@alilc/lowcode-types';
|
|
2
|
-
import { FlattenFile } from '../types/file';
|
|
3
|
-
export declare function createResultFile(name: string, ext?: string, content?: string): ResultFile;
|
|
4
|
-
export declare function createResultDir(name: string): ResultDir;
|
|
5
|
-
export declare function addDirectory(target: ResultDir, dir: ResultDir): void;
|
|
6
|
-
export declare function addFile(target: ResultDir, file: ResultFile): void;
|
|
7
|
-
export declare function flattenResult(dir: ResultDir, cwd?: string): FlattenFile[];
|
|
8
|
-
export type GlobOptions = {
|
|
9
|
-
/** 是否查找 ".xxx" 文件, 默认: 否 */
|
|
10
|
-
dot?: boolean;
|
|
11
|
-
};
|
|
12
|
-
/**
|
|
13
|
-
* 查找文件
|
|
14
|
-
* @param result 出码结果
|
|
15
|
-
* @param fileGlobExpr 文件名匹配表达式
|
|
16
|
-
* @param resultDirPath 出码结果的路径(默认是 '.')
|
|
17
|
-
* @returns 匹配的第一个文件或 null (找不到)
|
|
18
|
-
*/
|
|
19
|
-
export declare function findFile(result: ResultDir, fileGlobExpr: string, options?: GlobOptions, resultDirPath?: string): ResultFile | null;
|
|
20
|
-
/**
|
|
21
|
-
* 使用 glob 语法查找多个文件
|
|
22
|
-
* @param result 出码结果
|
|
23
|
-
* @param fileGlobExpr 文件名匹配表达式
|
|
24
|
-
* @param resultDirPath 出码结果的路径(默认是 '.')
|
|
25
|
-
* @returns 找到的文件列表的迭代器 [ [文件路径, 文件信息], ... ]
|
|
26
|
-
*/
|
|
27
|
-
export declare function globFiles(result: ResultDir, fileGlobExpr: string, options?: GlobOptions, resultDirPath?: string): IterableIterator<[string, ResultFile]>;
|
|
28
|
-
/**
|
|
29
|
-
* 遍历所有的文件
|
|
30
|
-
*/
|
|
31
|
-
export declare function scanFiles(result: ResultDir, resultDirPath?: string, maxDepth?: number): IterableIterator<[string, ResultFile]>;
|
|
32
|
-
export declare function getFileNameWithExt(file: ResultFile): string;
|
|
33
|
-
export declare function scanDirs(result: ResultDir, resultDirPath?: string, maxDepth?: number): IterableIterator<[string, ResultDir]>;
|
|
34
|
-
export declare function globDirs(result: ResultDir, dirGlobExpr: string, options?: GlobOptions, resultDirPath?: string): IterableIterator<[string, ResultDir]>;
|
|
35
|
-
export declare function findDir(result: ResultDir, dirGlobExpr: string, options?: GlobOptions, resultDirPath?: string): ResultDir | null;
|
|
36
|
-
/**
|
|
37
|
-
* 从结果中移除一些文件
|
|
38
|
-
* @param result 出码结果目录
|
|
39
|
-
* @param filePathGlobExpr 要移除的文件路径(glob 表达式)
|
|
40
|
-
* @param globOptions glob 参数
|
|
41
|
-
* @returns 移除了多少文件
|
|
42
|
-
*/
|
|
43
|
-
export declare function removeFilesFromResult(result: ResultDir, filePathGlobExpr: string, globOptions?: GlobOptions): number;
|
|
44
|
-
/**
|
|
45
|
-
* 从结果中移除一些目录
|
|
46
|
-
* @param result 出码结果目录
|
|
47
|
-
* @param dirPathGlobExpr 要移除的目录路径(glob 表达式)
|
|
48
|
-
* @param globOptions glob 参数
|
|
49
|
-
* @returns 移除了多少文件
|
|
50
|
-
*/
|
|
51
|
-
export declare function removeDirsFromResult(result: ResultDir, dirPathGlobExpr: string, globOptions?: GlobOptions): number;
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
import { RouterInfoItem } from "../types";
|
|
2
|
-
/**
|
|
3
|
-
* 获取一级路由信息
|
|
4
|
-
* @param routes
|
|
5
|
-
*/
|
|
6
|
-
export declare function getRouters(routes: RouterInfoItem[]): string[];
|
|
7
|
-
/**
|
|
8
|
-
* 获取二级路由信息
|
|
9
|
-
* @param routes
|
|
10
|
-
*/
|
|
11
|
-
export declare function getSecondRouters(routes: RouterInfoItem[]): string[];
|
package/types/utils/schema.d.ts
DELETED
|
@@ -1,24 +0,0 @@
|
|
|
1
|
-
import { IPublicTypeJSExpression, IPublicTypeNodeSchema, IPublicTypeContainerSchema, IPublicTypeNpmInfo } from '@alilc/lowcode-types';
|
|
2
|
-
export declare function isContainerSchema(x: any): x is IPublicTypeContainerSchema;
|
|
3
|
-
export declare function isNpmInfo(x: any): x is IPublicTypeNpmInfo;
|
|
4
|
-
/**
|
|
5
|
-
* 遍历并处理所有的子节点
|
|
6
|
-
* @param children
|
|
7
|
-
* @param handlers
|
|
8
|
-
* @param options
|
|
9
|
-
* @returns
|
|
10
|
-
*/
|
|
11
|
-
export declare function handleSubNodes<T>(children: IPublicTypeNodeSchema['children'], handlers: {
|
|
12
|
-
string?: (i: string) => T;
|
|
13
|
-
expression?: (i: IPublicTypeJSExpression) => T;
|
|
14
|
-
node?: (i: IPublicTypeNodeSchema) => T;
|
|
15
|
-
}, options?: {
|
|
16
|
-
rerun?: boolean;
|
|
17
|
-
maxDepth?: number;
|
|
18
|
-
}): T[];
|
|
19
|
-
export declare function isValidContainerType(schema: IPublicTypeNodeSchema): boolean;
|
|
20
|
-
export declare const enum ContainerType {
|
|
21
|
-
Page = "Page",
|
|
22
|
-
Component = "Component",
|
|
23
|
-
Block = "Block"
|
|
24
|
-
}
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
import { ResultDir, ResultFile } from '@alilc/lowcode-types';
|
|
2
|
-
type FuncFileGenerator = () => [string[], ResultFile];
|
|
3
|
-
/**
|
|
4
|
-
* 将文件位置及文件插入到目录的树形结构
|
|
5
|
-
* @param root
|
|
6
|
-
* @param path
|
|
7
|
-
* @param file
|
|
8
|
-
*/
|
|
9
|
-
export declare function insertFile(root: ResultDir, path: string[], file: ResultFile): void;
|
|
10
|
-
export declare function runFileGenerator(root: ResultDir, fun: FuncFileGenerator): void;
|
|
11
|
-
export {};
|
package/types/utils/theme.d.ts
DELETED
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
export declare const isValidIdentifier: (name: string) => boolean;
|
|
2
|
-
export declare const isValidComponentName: (name: string) => boolean;
|
|
3
|
-
export declare const ensureValidClassName: (name: string) => string;
|
|
4
|
-
/**
|
|
5
|
-
* 判断是否是vue的内置指令
|
|
6
|
-
* @param name
|
|
7
|
-
*/
|
|
8
|
-
export declare const isValidVueDirective: (name: string) => boolean;
|
package/types/utils/version.d.ts
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export declare function calcCompatibleVersion(v1: string | undefined | null, v2: string | undefined | null): string;
|