@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
package/types/index.d.ts
DELETED
|
@@ -1,260 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* 低代码引擎的出码模块,负责将编排产出的 Schema 转换成实际可执行的代码。
|
|
3
|
-
* 注意:为了保持 API 的稳定性,这里所有导出的 API 均要显式命名方式导出
|
|
4
|
-
* (即用 export { xxx } from 'xx' 的方式,不要直接 export * from 'xxx')
|
|
5
|
-
* 而且所有导出的 API 务必在 tests/public 中编写单元测试
|
|
6
|
-
*/
|
|
7
|
-
import { createProjectBuilder } from './generator/ProjectBuilder';
|
|
8
|
-
import { createModuleBuilder } from './generator/ModuleBuilder';
|
|
9
|
-
import createIceJsProjectBuilder from './solutions/icejs';
|
|
10
|
-
import createIceJs3ProjectBuilder from './solutions/icejs3';
|
|
11
|
-
import createRaxAppProjectBuilder from './solutions/rax-app';
|
|
12
|
-
import createDcSolutionProjectBuilder from './solutions/vuejs3';
|
|
13
|
-
import * as globalUtils from './utils';
|
|
14
|
-
import * as CONSTANTS from './const';
|
|
15
|
-
declare const _default: {
|
|
16
|
-
createProjectBuilder: typeof createProjectBuilder;
|
|
17
|
-
createModuleBuilder: typeof createModuleBuilder;
|
|
18
|
-
solutions: {
|
|
19
|
-
icejs: typeof createIceJsProjectBuilder;
|
|
20
|
-
icejs3: typeof createIceJs3ProjectBuilder;
|
|
21
|
-
rax: typeof createRaxAppProjectBuilder;
|
|
22
|
-
vuejs3: typeof createDcSolutionProjectBuilder;
|
|
23
|
-
};
|
|
24
|
-
solutionParts: {
|
|
25
|
-
icejs: {
|
|
26
|
-
template: import("./types").IProjectTemplate;
|
|
27
|
-
plugins: {
|
|
28
|
-
entry: import("./types").BuilderComponentPluginFactory<unknown>;
|
|
29
|
-
entryHtml: import("./types").BuilderComponentPluginFactory<unknown>;
|
|
30
|
-
globalStyle: import("./types").BuilderComponentPluginFactory<unknown>;
|
|
31
|
-
packageJSON: import("./types").BuilderComponentPluginFactory<import("./plugins/project/framework/icejs/plugins/packageJSON").IceJsPackageJsonPluginConfig>;
|
|
32
|
-
router: import("./types").BuilderComponentPluginFactory<unknown>;
|
|
33
|
-
};
|
|
34
|
-
};
|
|
35
|
-
icejs3: {
|
|
36
|
-
template: import("./types").IProjectTemplate;
|
|
37
|
-
plugins: {
|
|
38
|
-
appConfig: import("./types").BuilderComponentPluginFactory<import("./plugins/project/framework/icejs3/plugins/appConfig").AppConfigPluginConfig>;
|
|
39
|
-
buildConfig: import("./types").BuilderComponentPluginFactory<import("./plugins/project/framework/icejs3/plugins/buildConfig").BuildConfigPluginConfig>;
|
|
40
|
-
globalStyle: import("./types").BuilderComponentPluginFactory<unknown>;
|
|
41
|
-
packageJSON: import("./types").BuilderComponentPluginFactory<import("./plugins/project/framework/icejs3/plugins/packageJSON").IceJs3PackageJsonPluginConfig>;
|
|
42
|
-
layout: import("./types").BuilderComponentPluginFactory<unknown>;
|
|
43
|
-
};
|
|
44
|
-
};
|
|
45
|
-
rax: {
|
|
46
|
-
template: import("./types").IProjectTemplate;
|
|
47
|
-
plugins: {
|
|
48
|
-
appConfig: import("./types").BuilderComponentPluginFactory<import("./plugins/project/framework/rax/types/RaxFrameworkOptions").RaxFrameworkOptions>;
|
|
49
|
-
buildConfig: import("./types").BuilderComponentPluginFactory<import("./plugins/project/framework/rax/types/RaxFrameworkOptions").RaxFrameworkOptions>;
|
|
50
|
-
entry: import("./types").BuilderComponentPluginFactory<import("./plugins/project/framework/rax/types/RaxFrameworkOptions").RaxFrameworkOptions>;
|
|
51
|
-
entryDocument: import("./types").BuilderComponentPluginFactory<import("./plugins/project/framework/rax/types/RaxFrameworkOptions").RaxFrameworkOptions>;
|
|
52
|
-
globalStyle: import("./types").BuilderComponentPluginFactory<import("./plugins/project/framework/rax/plugins/globalStyle").GlobalStylePluginConfig>;
|
|
53
|
-
packageJSON: import("./types").BuilderComponentPluginFactory<import("./plugins/project/framework/rax/types/RaxFrameworkOptions").RaxFrameworkOptions>;
|
|
54
|
-
};
|
|
55
|
-
};
|
|
56
|
-
vuejs3: {
|
|
57
|
-
template: import("./types").IProjectTemplate;
|
|
58
|
-
plugins: {
|
|
59
|
-
packageJSON: import("./types").BuilderComponentPluginFactory<import("./plugins/project/framework/vuejs3/plugins/packageJSON").IceJsPackageJsonPluginConfig>;
|
|
60
|
-
router: import("./types").BuilderComponentPluginFactory<unknown>;
|
|
61
|
-
main: import("./types").BuilderComponentPluginFactory<import("./plugins/component/vue/template").PluginConfig>;
|
|
62
|
-
form: import("./types").BuilderComponentPluginFactory<unknown>;
|
|
63
|
-
hooks: import("./types").BuilderComponentPluginFactory<unknown>;
|
|
64
|
-
};
|
|
65
|
-
};
|
|
66
|
-
};
|
|
67
|
-
publishers: {
|
|
68
|
-
disk: import("./types").PublisherFactory<import("./publisher/disk").IDiskFactoryParams, import("./publisher/disk").IDiskPublisher>;
|
|
69
|
-
zip: import("./types").PublisherFactory<import("./publisher/zip").ZipFactoryParams, import("./publisher/zip").ZipPublisher>;
|
|
70
|
-
};
|
|
71
|
-
plugins: {
|
|
72
|
-
common: {
|
|
73
|
-
/**
|
|
74
|
-
* 处理 ES Module
|
|
75
|
-
* @deprecated please use esModule
|
|
76
|
-
*/
|
|
77
|
-
esmodule: import("./types").BuilderComponentPluginFactory<import("./plugins/common/esmodule").PluginConfig>;
|
|
78
|
-
esModule: import("./types").BuilderComponentPluginFactory<import("./plugins/common/esmodule").PluginConfig>;
|
|
79
|
-
requireUtils: import("./types").BuilderComponentPluginFactory<unknown>;
|
|
80
|
-
styleImport: import("./types").BuilderComponentPluginFactory<unknown>;
|
|
81
|
-
};
|
|
82
|
-
style: {
|
|
83
|
-
css: import("./types").BuilderComponentPluginFactory<import("./plugins/component/style/css").PluginConfig>;
|
|
84
|
-
};
|
|
85
|
-
project: {
|
|
86
|
-
constants: import("./types").BuilderComponentPluginFactory<unknown>;
|
|
87
|
-
i18n: import("./types").BuilderComponentPluginFactory<unknown>;
|
|
88
|
-
utils: import("./types").BuilderComponentPluginFactory<string>;
|
|
89
|
-
};
|
|
90
|
-
icejs: {
|
|
91
|
-
containerClass: import("./types").BuilderComponentPluginFactory<unknown>;
|
|
92
|
-
containerInjectContext: import("./types").BuilderComponentPluginFactory<import("./plugins/component/react/containerInjectContext").PluginConfig>;
|
|
93
|
-
containerInjectUtils: import("./types").BuilderComponentPluginFactory<import("./plugins/component/react/containerInjectUtils").PluginConfig>;
|
|
94
|
-
containerInjectDataSourceEngine: import("./types").BuilderComponentPluginFactory<import("./plugins/component/react/containerInjectDataSourceEngine").PluginConfig>;
|
|
95
|
-
containerInjectI18n: import("./types").BuilderComponentPluginFactory<import("./plugins/component/react/containerInjectI18n").PluginConfig>;
|
|
96
|
-
containerInjectConstants: import("./types").BuilderComponentPluginFactory<import("./plugins/component/react/containerInjectConstants").PluginConfig>;
|
|
97
|
-
containerInitState: import("./types").BuilderComponentPluginFactory<import("./plugins/component/react/containerInitState").PluginConfig>;
|
|
98
|
-
containerLifeCycle: import("./types").BuilderComponentPluginFactory<import("./plugins/component/react/containerLifeCycle").PluginConfig>;
|
|
99
|
-
containerMethod: import("./types").BuilderComponentPluginFactory<import("./plugins/component/react/containerMethod").PluginConfig>;
|
|
100
|
-
jsx: import("./types").BuilderComponentPluginFactory<import("./plugins/component/react/jsx").PluginConfig>;
|
|
101
|
-
commonDeps: import("./types").BuilderComponentPluginFactory<unknown>;
|
|
102
|
-
reactCommonDeps: import("./types").BuilderComponentPluginFactory<unknown>;
|
|
103
|
-
};
|
|
104
|
-
icejs3: {
|
|
105
|
-
containerClass: import("./types").BuilderComponentPluginFactory<unknown>;
|
|
106
|
-
containerInitState: import("./types").BuilderComponentPluginFactory<import("./plugins/component/react/containerInitState").PluginConfig>;
|
|
107
|
-
containerInjectContext: import("./types").BuilderComponentPluginFactory<import("./plugins/component/react/containerInjectContext").PluginConfig>;
|
|
108
|
-
containerInjectUtils: import("./types").BuilderComponentPluginFactory<import("./plugins/component/react/containerInjectUtils").PluginConfig>;
|
|
109
|
-
containerInjectI18n: import("./types").BuilderComponentPluginFactory<import("./plugins/component/react/containerInjectI18n").PluginConfig>;
|
|
110
|
-
containerInjectDataSourceEngine: import("./types").BuilderComponentPluginFactory<import("./plugins/component/react/containerInjectDataSourceEngine").PluginConfig>;
|
|
111
|
-
containerLifeCycle: import("./types").BuilderComponentPluginFactory<import("./plugins/component/react/containerLifeCycle").PluginConfig>;
|
|
112
|
-
containerMethod: import("./types").BuilderComponentPluginFactory<import("./plugins/component/react/containerMethod").PluginConfig>;
|
|
113
|
-
jsx: import("./types").BuilderComponentPluginFactory<import("./plugins/component/react/jsx").PluginConfig>;
|
|
114
|
-
commonDeps: import("./types").BuilderComponentPluginFactory<unknown>;
|
|
115
|
-
};
|
|
116
|
-
rax: {
|
|
117
|
-
containerClass: import("./types").BuilderComponentPluginFactory<unknown>;
|
|
118
|
-
containerLifeCycles: import("./types").BuilderComponentPluginFactory<import("./plugins/component/rax/containerLifeCycle").PluginConfig>;
|
|
119
|
-
containerMethods: import("./types").BuilderComponentPluginFactory<import("./plugins/component/rax/containerMethods").PluginConfig>;
|
|
120
|
-
containerInitState: import("./types").BuilderComponentPluginFactory<import("./plugins/component/rax/containerInitState").PluginConfig>;
|
|
121
|
-
containerInjectContext: import("./types").BuilderComponentPluginFactory<import("./plugins/component/rax/containerInjectContext").PluginConfig>;
|
|
122
|
-
containerInjectDataSourceEngine: import("./types").BuilderComponentPluginFactory<import("./plugins/component/rax/containerInjectDataSourceEngine").PluginConfig>;
|
|
123
|
-
containerInjectUtils: import("./types").BuilderComponentPluginFactory<import("./plugins/component/rax/containerInjectUtils").PluginConfig>;
|
|
124
|
-
jsx: import("./types").BuilderComponentPluginFactory<import("./plugins/component/rax/jsx").PluginConfig>;
|
|
125
|
-
commonDeps: import("./types").BuilderComponentPluginFactory<unknown>;
|
|
126
|
-
raxApp: {
|
|
127
|
-
template: import("./types").IProjectTemplate;
|
|
128
|
-
plugins: {
|
|
129
|
-
appConfig: import("./types").BuilderComponentPluginFactory<import("./plugins/project/framework/rax/types/RaxFrameworkOptions").RaxFrameworkOptions>;
|
|
130
|
-
buildConfig: import("./types").BuilderComponentPluginFactory<import("./plugins/project/framework/rax/types/RaxFrameworkOptions").RaxFrameworkOptions>;
|
|
131
|
-
entry: import("./types").BuilderComponentPluginFactory<import("./plugins/project/framework/rax/types/RaxFrameworkOptions").RaxFrameworkOptions>;
|
|
132
|
-
entryDocument: import("./types").BuilderComponentPluginFactory<import("./plugins/project/framework/rax/types/RaxFrameworkOptions").RaxFrameworkOptions>;
|
|
133
|
-
globalStyle: import("./types").BuilderComponentPluginFactory<import("./plugins/project/framework/rax/plugins/globalStyle").GlobalStylePluginConfig>;
|
|
134
|
-
packageJSON: import("./types").BuilderComponentPluginFactory<import("./plugins/project/framework/rax/types/RaxFrameworkOptions").RaxFrameworkOptions>;
|
|
135
|
-
};
|
|
136
|
-
};
|
|
137
|
-
};
|
|
138
|
-
vuejs3: {
|
|
139
|
-
template: import("./types").BuilderComponentPluginFactory<import("./plugins/component/vue/template").PluginConfig>;
|
|
140
|
-
vueCommonDeps: import("./types").BuilderComponentPluginFactory<unknown>;
|
|
141
|
-
esmodule: import("./types").BuilderComponentPluginFactory<import("./plugins/component/vue/esmodule").PluginConfig>;
|
|
142
|
-
containerVue: import("./types").BuilderComponentPluginFactory<unknown>;
|
|
143
|
-
apiImport: import("./types").BuilderComponentPluginFactory<import("./plugins/component/vue/apiImport").PluginConfig>;
|
|
144
|
-
containerInitVariable: import("./types").BuilderComponentPluginFactory<import("./plugins/component/vue/containerInitVariable").PluginConfig>;
|
|
145
|
-
dataSourceMap: import("./types").BuilderComponentPluginFactory<import("./plugins/component/vue/dataSourceMap").PluginConfig>;
|
|
146
|
-
containerLifeCycle: import("./types").BuilderComponentPluginFactory<import("./plugins/component/vue/containerLifeCycle").PluginConfig>;
|
|
147
|
-
containerMethod: import("./types").BuilderComponentPluginFactory<import("./plugins/component/vue/containerMethod").PluginConfig>;
|
|
148
|
-
vuejs3: {
|
|
149
|
-
template: import("./types").IProjectTemplate;
|
|
150
|
-
plugins: {
|
|
151
|
-
packageJSON: import("./types").BuilderComponentPluginFactory<import("./plugins/project/framework/vuejs3/plugins/packageJSON").IceJsPackageJsonPluginConfig>;
|
|
152
|
-
router: import("./types").BuilderComponentPluginFactory<unknown>;
|
|
153
|
-
main: import("./types").BuilderComponentPluginFactory<import("./plugins/component/vue/template").PluginConfig>;
|
|
154
|
-
form: import("./types").BuilderComponentPluginFactory<unknown>;
|
|
155
|
-
hooks: import("./types").BuilderComponentPluginFactory<unknown>;
|
|
156
|
-
};
|
|
157
|
-
};
|
|
158
|
-
};
|
|
159
|
-
/**
|
|
160
|
-
* @deprecated please use icejs
|
|
161
|
-
*/
|
|
162
|
-
react: {
|
|
163
|
-
containerClass: import("./types").BuilderComponentPluginFactory<unknown>;
|
|
164
|
-
containerInjectContext: import("./types").BuilderComponentPluginFactory<import("./plugins/component/react/containerInjectContext").PluginConfig>;
|
|
165
|
-
containerInjectUtils: import("./types").BuilderComponentPluginFactory<import("./plugins/component/react/containerInjectUtils").PluginConfig>;
|
|
166
|
-
containerInjectDataSourceEngine: import("./types").BuilderComponentPluginFactory<import("./plugins/component/react/containerInjectDataSourceEngine").PluginConfig>;
|
|
167
|
-
containerInjectI18n: import("./types").BuilderComponentPluginFactory<import("./plugins/component/react/containerInjectI18n").PluginConfig>;
|
|
168
|
-
containerInjectConstants: import("./types").BuilderComponentPluginFactory<import("./plugins/component/react/containerInjectConstants").PluginConfig>;
|
|
169
|
-
containerInitState: import("./types").BuilderComponentPluginFactory<import("./plugins/component/react/containerInitState").PluginConfig>;
|
|
170
|
-
containerLifeCycle: import("./types").BuilderComponentPluginFactory<import("./plugins/component/react/containerLifeCycle").PluginConfig>;
|
|
171
|
-
containerMethod: import("./types").BuilderComponentPluginFactory<import("./plugins/component/react/containerMethod").PluginConfig>;
|
|
172
|
-
jsx: import("./types").BuilderComponentPluginFactory<import("./plugins/component/react/jsx").PluginConfig>;
|
|
173
|
-
commonDeps: import("./types").BuilderComponentPluginFactory<unknown>;
|
|
174
|
-
reactCommonDeps: import("./types").BuilderComponentPluginFactory<unknown>;
|
|
175
|
-
};
|
|
176
|
-
};
|
|
177
|
-
postprocessor: {
|
|
178
|
-
prettier: import("./types").PostProcessorFactory<import("./postprocessor/prettier").ProcessorConfig>;
|
|
179
|
-
};
|
|
180
|
-
utils: typeof globalUtils;
|
|
181
|
-
chunkNames: {
|
|
182
|
-
COMMON_CHUNK_NAME: {
|
|
183
|
-
ExternalDepsImport: string;
|
|
184
|
-
InternalDepsImport: string;
|
|
185
|
-
ImportAliasDefine: string;
|
|
186
|
-
FileVarDefine: string;
|
|
187
|
-
FileUtilDefine: string;
|
|
188
|
-
FileMainContent: string;
|
|
189
|
-
FileExport: string;
|
|
190
|
-
StyleDepsImport: string;
|
|
191
|
-
StyleCssContent: string;
|
|
192
|
-
HtmlContent: string;
|
|
193
|
-
CustomContent: string;
|
|
194
|
-
};
|
|
195
|
-
CLASS_DEFINE_CHUNK_NAME: {
|
|
196
|
-
Start: string;
|
|
197
|
-
ConstructorStart: string;
|
|
198
|
-
ConstructorContent: string;
|
|
199
|
-
ConstructorEnd: string;
|
|
200
|
-
StaticVar: string;
|
|
201
|
-
StaticMethod: string;
|
|
202
|
-
InsVar: string;
|
|
203
|
-
InsVarMethod: string;
|
|
204
|
-
InsMethod: string;
|
|
205
|
-
InsPrivateMethod: string;
|
|
206
|
-
End: string;
|
|
207
|
-
};
|
|
208
|
-
REACT_CHUNK_NAME: {
|
|
209
|
-
ClassRenderStart: string;
|
|
210
|
-
ClassRenderPre: string;
|
|
211
|
-
ClassRenderEnd: string;
|
|
212
|
-
ClassRenderJSX: string;
|
|
213
|
-
ClassDidMountStart: string;
|
|
214
|
-
ClassDidMountEnd: string;
|
|
215
|
-
ClassDidMountContent: string;
|
|
216
|
-
};
|
|
217
|
-
TEMPLATE_DEFINE_CHUNK_NAME: {
|
|
218
|
-
TemplateStart: string;
|
|
219
|
-
TemplateDom: string;
|
|
220
|
-
TemplateEnd: string;
|
|
221
|
-
ScriptStart: string;
|
|
222
|
-
ExternalDepsImport: string;
|
|
223
|
-
InternalDepsImport: string;
|
|
224
|
-
ConstVar: string;
|
|
225
|
-
LetVar: string;
|
|
226
|
-
DataSourceMapStart: string;
|
|
227
|
-
DataSourceMapContent: string;
|
|
228
|
-
DataSourceMapEnd: string;
|
|
229
|
-
OnMountedStart: string;
|
|
230
|
-
OnMountedContent: string;
|
|
231
|
-
OnMountedEnd: string;
|
|
232
|
-
UnMountedStart: string;
|
|
233
|
-
UnMountedContent: string;
|
|
234
|
-
UnMountedEnd: string;
|
|
235
|
-
Method: string;
|
|
236
|
-
ScriptEnd: string;
|
|
237
|
-
CssStyleStart: string;
|
|
238
|
-
CssStyleImport: string;
|
|
239
|
-
CssStyleEnd: string;
|
|
240
|
-
};
|
|
241
|
-
};
|
|
242
|
-
defaultLinkAfter: {
|
|
243
|
-
COMMON_DEFAULT_LINK_AFTER: {
|
|
244
|
-
[x: string]: string[];
|
|
245
|
-
};
|
|
246
|
-
VUE_DEFAULT_LINK_AFTER: {
|
|
247
|
-
[x: string]: string[];
|
|
248
|
-
};
|
|
249
|
-
};
|
|
250
|
-
constants: typeof CONSTANTS;
|
|
251
|
-
};
|
|
252
|
-
export default _default;
|
|
253
|
-
export * from './types';
|
|
254
|
-
export * from './const';
|
|
255
|
-
export * from './analyzer/componentAnalyzer';
|
|
256
|
-
export * from './parser/SchemaParser';
|
|
257
|
-
export * from './generator/ChunkBuilder';
|
|
258
|
-
export * from './generator/CodeBuilder';
|
|
259
|
-
export * from './generator/ModuleBuilder';
|
|
260
|
-
export * from './generator/ProjectBuilder';
|
|
@@ -1,25 +0,0 @@
|
|
|
1
|
-
import { IPublicTypeNodeDataType, IPublicTypeProjectSchema } from '@alilc/lowcode-types';
|
|
2
|
-
import { IContainerInfo, IParseResult, ISchemaParser, ResourceListType } from '../types';
|
|
3
|
-
import type { ProjectRemark } from '../types/intermediate';
|
|
4
|
-
export declare class SchemaParser implements ISchemaParser {
|
|
5
|
-
validate(schema: IPublicTypeProjectSchema): boolean;
|
|
6
|
-
parse(schemaSrc: IPublicTypeProjectSchema | string): IParseResult;
|
|
7
|
-
getProjectRemark(containers: IContainerInfo[]): ProjectRemark;
|
|
8
|
-
getComponentNames(children: IPublicTypeNodeDataType): string[];
|
|
9
|
-
decodeSchema(schemaSrc: string | IPublicTypeProjectSchema): IPublicTypeProjectSchema;
|
|
10
|
-
private collectDataSourcesTypes;
|
|
11
|
-
}
|
|
12
|
-
/**
|
|
13
|
-
* 生成router信息
|
|
14
|
-
* @param originalSchema
|
|
15
|
-
* @param resourceList
|
|
16
|
-
*/
|
|
17
|
-
export declare function handleRouter(originalSchema: IPublicTypeProjectSchema[], resourceList: ResourceListType[]): "" | ("" | {
|
|
18
|
-
path: string;
|
|
19
|
-
fileName: string;
|
|
20
|
-
componentName: any;
|
|
21
|
-
isFormRouter: boolean;
|
|
22
|
-
firstPage: "true" | "false";
|
|
23
|
-
title: string;
|
|
24
|
-
})[];
|
|
25
|
-
export default SchemaParser;
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
import { BuilderComponentPluginFactory, IDependency } from '../../types';
|
|
2
|
-
export interface PluginConfig {
|
|
3
|
-
fileType?: string;
|
|
4
|
-
useAliasName?: boolean;
|
|
5
|
-
filter?: (deps: IDependency[]) => IDependency[];
|
|
6
|
-
}
|
|
7
|
-
declare const pluginFactory: BuilderComponentPluginFactory<PluginConfig>;
|
|
8
|
-
export default pluginFactory;
|
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
export declare const RAX_CHUNK_NAME: {
|
|
2
|
-
ClassDidMountBegin: string;
|
|
3
|
-
ClassDidMountContent: string;
|
|
4
|
-
ClassDidMountEnd: string;
|
|
5
|
-
ClassWillUnmountBegin: string;
|
|
6
|
-
ClassWillUnmountContent: string;
|
|
7
|
-
ClassWillUnmountEnd: string;
|
|
8
|
-
ClassRenderBegin: string;
|
|
9
|
-
ClassRenderPre: string;
|
|
10
|
-
ClassRenderJSX: string;
|
|
11
|
-
ClassRenderEnd: string;
|
|
12
|
-
MethodsBegin: string;
|
|
13
|
-
MethodsContent: string;
|
|
14
|
-
MethodsEnd: string;
|
|
15
|
-
LifeCyclesBegin: string;
|
|
16
|
-
LifeCyclesContent: string;
|
|
17
|
-
LifeCyclesEnd: string;
|
|
18
|
-
};
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
import { BuilderComponentPluginFactory } from '../../../types';
|
|
2
|
-
export interface PluginConfig {
|
|
3
|
-
fileType: string;
|
|
4
|
-
implementType: 'inConstructor' | 'insMember' | 'hooks';
|
|
5
|
-
}
|
|
6
|
-
declare const pluginFactory: BuilderComponentPluginFactory<PluginConfig>;
|
|
7
|
-
export default pluginFactory;
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
import { BuilderComponentPluginFactory } from '../../../types';
|
|
2
|
-
import { RaxFrameworkOptions } from '../../project/framework/rax/types/RaxFrameworkOptions';
|
|
3
|
-
export interface PluginConfig extends RaxFrameworkOptions {
|
|
4
|
-
fileType?: string;
|
|
5
|
-
/**
|
|
6
|
-
* 数据源的 handlers 的映射配置
|
|
7
|
-
* @deprecated 请使用 datasourceConfig.handlersPackages 来配置
|
|
8
|
-
*/
|
|
9
|
-
dataSourceHandlersPackageMap?: Record<string, string>;
|
|
10
|
-
}
|
|
11
|
-
declare const pluginFactory: BuilderComponentPluginFactory<PluginConfig>;
|
|
12
|
-
export default pluginFactory;
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
import { BuilderComponentPluginFactory } from '../../../types';
|
|
2
|
-
export interface PluginConfig {
|
|
3
|
-
fileType: string;
|
|
4
|
-
exportNameMapping: Record<string, string>;
|
|
5
|
-
normalizeNameMapping: Record<string, string>;
|
|
6
|
-
}
|
|
7
|
-
declare const pluginFactory: BuilderComponentPluginFactory<PluginConfig>;
|
|
8
|
-
export default pluginFactory;
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
import { BuilderComponentPluginFactory } from '../../../types';
|
|
2
|
-
export interface PluginConfig {
|
|
3
|
-
fileType: string;
|
|
4
|
-
/** 是否要忽略小程序 */
|
|
5
|
-
ignoreMiniApp?: boolean;
|
|
6
|
-
}
|
|
7
|
-
declare const pluginFactory: BuilderComponentPluginFactory<PluginConfig>;
|
|
8
|
-
export default pluginFactory;
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
import { BuilderComponentPluginFactory } from '../../../types';
|
|
2
|
-
export interface PluginConfig {
|
|
3
|
-
fileType?: string;
|
|
4
|
-
implementType: 'inConstructor' | 'insMember' | 'hooks';
|
|
5
|
-
}
|
|
6
|
-
declare const pluginFactory: BuilderComponentPluginFactory<PluginConfig>;
|
|
7
|
-
export default pluginFactory;
|
|
@@ -1,23 +0,0 @@
|
|
|
1
|
-
import { BuilderComponentPluginFactory } from '../../../types';
|
|
2
|
-
export interface PluginConfig {
|
|
3
|
-
fileType?: string;
|
|
4
|
-
/**
|
|
5
|
-
* 数据源配置
|
|
6
|
-
*/
|
|
7
|
-
datasourceConfig?: {
|
|
8
|
-
/** 数据源引擎的版本 */
|
|
9
|
-
engineVersion?: string;
|
|
10
|
-
/** 数据源引擎的包名 */
|
|
11
|
-
enginePackage?: string;
|
|
12
|
-
/** 数据源 handlers 的版本 */
|
|
13
|
-
handlersVersion?: {
|
|
14
|
-
[key: string]: string;
|
|
15
|
-
};
|
|
16
|
-
/** 数据源 handlers 的包名 */
|
|
17
|
-
handlersPackages?: {
|
|
18
|
-
[key: string]: string;
|
|
19
|
-
};
|
|
20
|
-
};
|
|
21
|
-
}
|
|
22
|
-
declare const pluginFactory: BuilderComponentPluginFactory<PluginConfig>;
|
|
23
|
-
export default pluginFactory;
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
import { BuilderComponentPluginFactory } from '../../../types';
|
|
2
|
-
export interface PluginConfig {
|
|
3
|
-
fileType?: string;
|
|
4
|
-
/** prefer using class property to define utils */
|
|
5
|
-
preferClassProperty?: boolean;
|
|
6
|
-
}
|
|
7
|
-
declare const pluginFactory: BuilderComponentPluginFactory<PluginConfig>;
|
|
8
|
-
export default pluginFactory;
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
import { BuilderComponentPluginFactory } from '../../../types';
|
|
2
|
-
export interface PluginConfig {
|
|
3
|
-
fileType?: string;
|
|
4
|
-
exportNameMapping?: Record<string, string>;
|
|
5
|
-
normalizeNameMapping?: Record<string, string>;
|
|
6
|
-
exclude?: string[];
|
|
7
|
-
}
|
|
8
|
-
declare const pluginFactory: BuilderComponentPluginFactory<PluginConfig>;
|
|
9
|
-
export default pluginFactory;
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
import { BuilderComponentPluginFactory } from '../../../types';
|
|
2
|
-
export interface PluginConfig {
|
|
3
|
-
fileType?: string;
|
|
4
|
-
nodeTypeMapping?: Record<string, string>;
|
|
5
|
-
}
|
|
6
|
-
declare const pluginFactory: BuilderComponentPluginFactory<PluginConfig>;
|
|
7
|
-
export default pluginFactory;
|
|
@@ -1,23 +0,0 @@
|
|
|
1
|
-
import { BuilderComponentPluginFactory } from '../../../types';
|
|
2
|
-
export interface PluginConfig {
|
|
3
|
-
fileType?: string;
|
|
4
|
-
/**
|
|
5
|
-
* 数据源配置
|
|
6
|
-
*/
|
|
7
|
-
datasourceConfig?: {
|
|
8
|
-
/** 数据源引擎的版本 */
|
|
9
|
-
engineVersion?: string;
|
|
10
|
-
/** 数据源引擎的包名 */
|
|
11
|
-
enginePackage?: string;
|
|
12
|
-
/** 数据源 handlers 的版本 */
|
|
13
|
-
handlersVersion?: {
|
|
14
|
-
[key: string]: string;
|
|
15
|
-
};
|
|
16
|
-
/** 数据源 handlers 的包名 */
|
|
17
|
-
handlersPackages?: {
|
|
18
|
-
[key: string]: string;
|
|
19
|
-
};
|
|
20
|
-
};
|
|
21
|
-
}
|
|
22
|
-
declare const pluginFactory: BuilderComponentPluginFactory<PluginConfig>;
|
|
23
|
-
export default pluginFactory;
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
import { BuilderComponentPluginFactory } from '../../../types';
|
|
2
|
-
export interface PluginConfig {
|
|
3
|
-
fileType?: string;
|
|
4
|
-
implementType: 'inConstructor' | 'insMember' | 'hooks';
|
|
5
|
-
}
|
|
6
|
-
declare const pluginFactory: BuilderComponentPluginFactory<PluginConfig>;
|
|
7
|
-
export default pluginFactory;
|
|
@@ -1,23 +0,0 @@
|
|
|
1
|
-
import { BuilderComponentPluginFactory } from '../../../types';
|
|
2
|
-
export interface PluginConfig {
|
|
3
|
-
fileType?: string;
|
|
4
|
-
/**
|
|
5
|
-
* 数据源配置
|
|
6
|
-
*/
|
|
7
|
-
datasourceConfig?: {
|
|
8
|
-
/** 数据源引擎的版本 */
|
|
9
|
-
engineVersion?: string;
|
|
10
|
-
/** 数据源引擎的包名 */
|
|
11
|
-
enginePackage?: string;
|
|
12
|
-
/** 数据源 handlers 的版本 */
|
|
13
|
-
handlersVersion?: {
|
|
14
|
-
[key: string]: string;
|
|
15
|
-
};
|
|
16
|
-
/** 数据源 handlers 的包名 */
|
|
17
|
-
handlersPackages?: {
|
|
18
|
-
[key: string]: string;
|
|
19
|
-
};
|
|
20
|
-
};
|
|
21
|
-
}
|
|
22
|
-
declare const pluginFactory: BuilderComponentPluginFactory<PluginConfig>;
|
|
23
|
-
export default pluginFactory;
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
import { BuilderComponentPluginFactory } from '../../../types';
|
|
2
|
-
export interface PluginConfig {
|
|
3
|
-
fileType?: string;
|
|
4
|
-
exportNameMapping?: Record<string, string>;
|
|
5
|
-
normalizeNameMapping?: Record<string, string>;
|
|
6
|
-
exclude?: string[];
|
|
7
|
-
}
|
|
8
|
-
declare const pluginFactory: BuilderComponentPluginFactory<PluginConfig>;
|
|
9
|
-
export default pluginFactory;
|