@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.
Files changed (227) hide show
  1. package/package.json +4 -2
  2. package/dist/standalone-loader.esm.js +0 -100
  3. package/dist/standalone-loader.esm.js.map +0 -7
  4. package/dist/standalone-loader.js +0 -127
  5. package/dist/standalone-loader.js.map +0 -7
  6. package/types/analyzer/componentAnalyzer.d.ts +0 -2
  7. package/types/cli/index.d.ts +0 -2
  8. package/types/cli/init-solution.d.ts +0 -4
  9. package/types/cli/run.d.ts +0 -15
  10. package/types/cli/solutions/example-solution.d.ts +0 -4
  11. package/types/config/env.d.ts +0 -1
  12. package/types/const/file.d.ts +0 -2
  13. package/types/const/generator.d.ts +0 -58
  14. package/types/const/index.d.ts +0 -11
  15. package/types/core/jsx/handlers/transformJsExpression.d.ts +0 -5
  16. package/types/core/jsx/handlers/transformThis2Context.d.ts +0 -9
  17. package/types/core/jsx/util/isLiteralAtomicExpr.d.ts +0 -4
  18. package/types/core/jsx/util/isSimpleStraightLiteral.d.ts +0 -3
  19. package/types/core/vue/handlers/transformJsExpression.d.ts +0 -5
  20. package/types/core/vue/handlers/transformThis2Context.d.ts +0 -9
  21. package/types/core/vue/util/isLiteralAtomicExpr.d.ts +0 -4
  22. package/types/core/vue/util/isSimpleStraightLiteral.d.ts +0 -3
  23. package/types/generator/ChunkBuilder.d.ts +0 -23
  24. package/types/generator/CodeBuilder.d.ts +0 -17
  25. package/types/generator/ModuleBuilder.d.ts +0 -7
  26. package/types/generator/ProjectBuilder.d.ts +0 -62
  27. package/types/index.d.ts +0 -260
  28. package/types/parser/SchemaParser.d.ts +0 -25
  29. package/types/plugins/common/esmodule.d.ts +0 -8
  30. package/types/plugins/common/requireUtils.d.ts +0 -3
  31. package/types/plugins/common/styleImport.d.ts +0 -3
  32. package/types/plugins/component/rax/commonDeps.d.ts +0 -3
  33. package/types/plugins/component/rax/const.d.ts +0 -18
  34. package/types/plugins/component/rax/containerClass.d.ts +0 -3
  35. package/types/plugins/component/rax/containerInitState.d.ts +0 -7
  36. package/types/plugins/component/rax/containerInjectContext.d.ts +0 -6
  37. package/types/plugins/component/rax/containerInjectDataSourceEngine.d.ts +0 -12
  38. package/types/plugins/component/rax/containerInjectUtils.d.ts +0 -6
  39. package/types/plugins/component/rax/containerLifeCycle.d.ts +0 -8
  40. package/types/plugins/component/rax/containerMethods.d.ts +0 -6
  41. package/types/plugins/component/rax/jsx.d.ts +0 -8
  42. package/types/plugins/component/react/const.d.ts +0 -9
  43. package/types/plugins/component/react/containerClass.d.ts +0 -3
  44. package/types/plugins/component/react/containerInitState.d.ts +0 -7
  45. package/types/plugins/component/react/containerInjectConstants.d.ts +0 -6
  46. package/types/plugins/component/react/containerInjectContext.d.ts +0 -6
  47. package/types/plugins/component/react/containerInjectDataSourceEngine.d.ts +0 -23
  48. package/types/plugins/component/react/containerInjectI18n.d.ts +0 -6
  49. package/types/plugins/component/react/containerInjectUtils.d.ts +0 -8
  50. package/types/plugins/component/react/containerLifeCycle.d.ts +0 -9
  51. package/types/plugins/component/react/containerMethod.d.ts +0 -6
  52. package/types/plugins/component/react/jsx.d.ts +0 -7
  53. package/types/plugins/component/react/reactCommonDeps.d.ts +0 -3
  54. package/types/plugins/component/style/css.d.ts +0 -7
  55. package/types/plugins/component/vue/apiImport.d.ts +0 -23
  56. package/types/plugins/component/vue/containerInitVariable.d.ts +0 -7
  57. package/types/plugins/component/vue/containerInjectDataSourceEngine.d.ts +0 -23
  58. package/types/plugins/component/vue/containerLifeCycle.d.ts +0 -9
  59. package/types/plugins/component/vue/containerMethod.d.ts +0 -6
  60. package/types/plugins/component/vue/containerVue.d.ts +0 -3
  61. package/types/plugins/component/vue/convert/convert-function.d.ts +0 -6
  62. package/types/plugins/component/vue/convert/convert-variable.d.ts +0 -11
  63. package/types/plugins/component/vue/dataSourceMap.d.ts +0 -7
  64. package/types/plugins/component/vue/esmodule.d.ts +0 -8
  65. package/types/plugins/component/vue/routerSecond.d.ts +0 -3
  66. package/types/plugins/component/vue/styleImport.d.ts +0 -0
  67. package/types/plugins/component/vue/template.d.ts +0 -7
  68. package/types/plugins/component/vue/vueCommonDeps.d.ts +0 -3
  69. package/types/plugins/project/constants.d.ts +0 -3
  70. package/types/plugins/project/framework/icejs/index.d.ts +0 -11
  71. package/types/plugins/project/framework/icejs/plugins/entry.d.ts +0 -3
  72. package/types/plugins/project/framework/icejs/plugins/entryHtml.d.ts +0 -3
  73. package/types/plugins/project/framework/icejs/plugins/globalStyle.d.ts +0 -3
  74. package/types/plugins/project/framework/icejs/plugins/packageJSON.d.ts +0 -26
  75. package/types/plugins/project/framework/icejs/plugins/router.d.ts +0 -3
  76. package/types/plugins/project/framework/icejs/template/files/README.md.d.ts +0 -2
  77. package/types/plugins/project/framework/icejs/template/files/abc.json.d.ts +0 -2
  78. package/types/plugins/project/framework/icejs/template/files/build.json.d.ts +0 -2
  79. package/types/plugins/project/framework/icejs/template/files/editorconfig.d.ts +0 -2
  80. package/types/plugins/project/framework/icejs/template/files/eslintignore.d.ts +0 -2
  81. package/types/plugins/project/framework/icejs/template/files/eslintrc.js.d.ts +0 -2
  82. package/types/plugins/project/framework/icejs/template/files/gitignore.d.ts +0 -2
  83. package/types/plugins/project/framework/icejs/template/files/jsconfig.json.d.ts +0 -2
  84. package/types/plugins/project/framework/icejs/template/files/prettierignore.d.ts +0 -2
  85. package/types/plugins/project/framework/icejs/template/files/prettierrc.js.d.ts +0 -2
  86. package/types/plugins/project/framework/icejs/template/files/src/layouts/BasicLayout/components/Footer/index.jsx.d.ts +0 -2
  87. package/types/plugins/project/framework/icejs/template/files/src/layouts/BasicLayout/components/Footer/index.style.d.ts +0 -2
  88. package/types/plugins/project/framework/icejs/template/files/src/layouts/BasicLayout/components/Logo/index.jsx.d.ts +0 -2
  89. package/types/plugins/project/framework/icejs/template/files/src/layouts/BasicLayout/components/Logo/index.style.d.ts +0 -2
  90. package/types/plugins/project/framework/icejs/template/files/src/layouts/BasicLayout/components/PageNav/index.jsx.d.ts +0 -2
  91. package/types/plugins/project/framework/icejs/template/files/src/layouts/BasicLayout/index.jsx.d.ts +0 -2
  92. package/types/plugins/project/framework/icejs/template/files/src/layouts/BasicLayout/menuConfig.js.d.ts +0 -2
  93. package/types/plugins/project/framework/icejs/template/files/stylelintignore.d.ts +0 -2
  94. package/types/plugins/project/framework/icejs/template/files/stylelintrc.js.d.ts +0 -2
  95. package/types/plugins/project/framework/icejs/template/files/tsconfig.json.d.ts +0 -2
  96. package/types/plugins/project/framework/icejs/template/index.d.ts +0 -3
  97. package/types/plugins/project/framework/icejs/template/static-files.d.ts +0 -2
  98. package/types/plugins/project/framework/icejs3/index.d.ts +0 -11
  99. package/types/plugins/project/framework/icejs3/plugins/appConfig.d.ts +0 -5
  100. package/types/plugins/project/framework/icejs3/plugins/buildConfig.d.ts +0 -7
  101. package/types/plugins/project/framework/icejs3/plugins/globalStyle.d.ts +0 -3
  102. package/types/plugins/project/framework/icejs3/plugins/layout.d.ts +0 -3
  103. package/types/plugins/project/framework/icejs3/plugins/packageJSON.d.ts +0 -26
  104. package/types/plugins/project/framework/icejs3/template/files/README.md.d.ts +0 -2
  105. package/types/plugins/project/framework/icejs3/template/files/browserslistrc.d.ts +0 -2
  106. package/types/plugins/project/framework/icejs3/template/files/document.d.ts +0 -2
  107. package/types/plugins/project/framework/icejs3/template/files/gitignore.d.ts +0 -2
  108. package/types/plugins/project/framework/icejs3/template/files/src/layouts/BasicLayout/components/Footer/index.jsx.d.ts +0 -2
  109. package/types/plugins/project/framework/icejs3/template/files/src/layouts/BasicLayout/components/Footer/index.style.d.ts +0 -2
  110. package/types/plugins/project/framework/icejs3/template/files/src/layouts/BasicLayout/components/Logo/index.jsx.d.ts +0 -2
  111. package/types/plugins/project/framework/icejs3/template/files/src/layouts/BasicLayout/components/Logo/index.style.d.ts +0 -2
  112. package/types/plugins/project/framework/icejs3/template/files/src/layouts/BasicLayout/components/PageNav/index.jsx.d.ts +0 -2
  113. package/types/plugins/project/framework/icejs3/template/files/src/layouts/BasicLayout/index.jsx.d.ts +0 -2
  114. package/types/plugins/project/framework/icejs3/template/files/src/layouts/BasicLayout/menuConfig.js.d.ts +0 -2
  115. package/types/plugins/project/framework/icejs3/template/files/tsconfig.d.ts +0 -2
  116. package/types/plugins/project/framework/icejs3/template/files/typings.d.ts +0 -2
  117. package/types/plugins/project/framework/icejs3/template/index.d.ts +0 -3
  118. package/types/plugins/project/framework/icejs3/template/static-files.d.ts +0 -2
  119. package/types/plugins/project/framework/rax/index.d.ts +0 -12
  120. package/types/plugins/project/framework/rax/plugins/appConfig.d.ts +0 -4
  121. package/types/plugins/project/framework/rax/plugins/buildConfig.d.ts +0 -4
  122. package/types/plugins/project/framework/rax/plugins/entry.d.ts +0 -4
  123. package/types/plugins/project/framework/rax/plugins/entryDocument.d.ts +0 -7
  124. package/types/plugins/project/framework/rax/plugins/globalStyle.d.ts +0 -6
  125. package/types/plugins/project/framework/rax/plugins/packageJSON.d.ts +0 -4
  126. package/types/plugins/project/framework/rax/template/files/.eslintignore.d.ts +0 -2
  127. package/types/plugins/project/framework/rax/template/files/.eslintrc.js.d.ts +0 -2
  128. package/types/plugins/project/framework/rax/template/files/.gitignore.d.ts +0 -2
  129. package/types/plugins/project/framework/rax/template/files/.prettierignore.d.ts +0 -2
  130. package/types/plugins/project/framework/rax/template/files/.prettierrc.js.d.ts +0 -2
  131. package/types/plugins/project/framework/rax/template/files/.stylelintignore.d.ts +0 -2
  132. package/types/plugins/project/framework/rax/template/files/.stylelintrc.js.d.ts +0 -2
  133. package/types/plugins/project/framework/rax/template/files/README.md.d.ts +0 -2
  134. package/types/plugins/project/framework/rax/template/files/jsconfig.json.d.ts +0 -2
  135. package/types/plugins/project/framework/rax/template/files/tsconfig.json.d.ts +0 -2
  136. package/types/plugins/project/framework/rax/template/index.d.ts +0 -3
  137. package/types/plugins/project/framework/rax/template/static-files.d.ts +0 -2
  138. package/types/plugins/project/framework/rax/types/RaxFrameworkOptions.d.ts +0 -81
  139. package/types/plugins/project/framework/vuejs3/index.d.ts +0 -11
  140. package/types/plugins/project/framework/vuejs3/plugins/form.d.ts +0 -3
  141. package/types/plugins/project/framework/vuejs3/plugins/hooks.d.ts +0 -3
  142. package/types/plugins/project/framework/vuejs3/plugins/main.d.ts +0 -4
  143. package/types/plugins/project/framework/vuejs3/plugins/packageJSON.d.ts +0 -26
  144. package/types/plugins/project/framework/vuejs3/plugins/router.d.ts +0 -3
  145. package/types/plugins/project/framework/vuejs3/template/files/css/global.scss.d.ts +0 -2
  146. package/types/plugins/project/framework/vuejs3/template/files/css/mixin.scss.d.ts +0 -2
  147. package/types/plugins/project/framework/vuejs3/template/files/css/theme.css.d.ts +0 -2
  148. package/types/plugins/project/framework/vuejs3/template/files/env.d.ts +0 -2
  149. package/types/plugins/project/framework/vuejs3/template/files/eslintignore.d.ts +0 -2
  150. package/types/plugins/project/framework/vuejs3/template/files/eslintrc.yml.d.ts +0 -2
  151. package/types/plugins/project/framework/vuejs3/template/files/gitignore.d.ts +0 -2
  152. package/types/plugins/project/framework/vuejs3/template/files/index.html.d.ts +0 -2
  153. package/types/plugins/project/framework/vuejs3/template/files/npmrc.d.ts +0 -2
  154. package/types/plugins/project/framework/vuejs3/template/files/postcss.config.cjs.d.ts +0 -2
  155. package/types/plugins/project/framework/vuejs3/template/files/prettierignore.d.ts +0 -2
  156. package/types/plugins/project/framework/vuejs3/template/files/prettierrc.yml.d.ts +0 -2
  157. package/types/plugins/project/framework/vuejs3/template/files/src/App.vue.d.ts +0 -2
  158. package/types/plugins/project/framework/vuejs3/template/files/src/main.d.ts +0 -2
  159. package/types/plugins/project/framework/vuejs3/template/files/src/utils/utils.d.ts +0 -2
  160. package/types/plugins/project/framework/vuejs3/template/files/src/views/baseIndexA/tabs.d.ts +0 -2
  161. package/types/plugins/project/framework/vuejs3/template/files/src/views/baseIndexA/welcome.vue.d.ts +0 -2
  162. package/types/plugins/project/framework/vuejs3/template/files/src/vite-env.d.ts +0 -2
  163. package/types/plugins/project/framework/vuejs3/template/files/tsconfig.json.d.ts +0 -2
  164. package/types/plugins/project/framework/vuejs3/template/files/tsconfig.node.json.d.ts +0 -2
  165. package/types/plugins/project/framework/vuejs3/template/files/vite.config.ts.d.ts +0 -2
  166. package/types/plugins/project/framework/vuejs3/template/index.d.ts +0 -3
  167. package/types/plugins/project/framework/vuejs3/template/static-files.d.ts +0 -2
  168. package/types/plugins/project/i18n.d.ts +0 -3
  169. package/types/plugins/project/utils.d.ts +0 -3
  170. package/types/polyfills/buffer.d.ts +0 -1
  171. package/types/postprocessor/index.d.ts +0 -2
  172. package/types/postprocessor/prettier/index.d.ts +0 -8
  173. package/types/publisher/disk/index.d.ts +0 -13
  174. package/types/publisher/disk/utils.d.ts +0 -9
  175. package/types/publisher/zip/index.d.ts +0 -14
  176. package/types/publisher/zip/utils.d.ts +0 -5
  177. package/types/solutions/icejs.d.ts +0 -18
  178. package/types/solutions/icejs3.d.ts +0 -15
  179. package/types/solutions/rax-app.d.ts +0 -27
  180. package/types/solutions/vuejs3.d.ts +0 -22
  181. package/types/standalone-loader.d.ts +0 -17
  182. package/types/standalone-worker.d.ts +0 -1
  183. package/types/standalone.d.ts +0 -260
  184. package/types/types/analyze.d.ts +0 -5
  185. package/types/types/column-type.d.ts +0 -316
  186. package/types/types/core.d.ts +0 -197
  187. package/types/types/datasource-extra-base.d.ts +0 -32
  188. package/types/types/datasource-page-helper.d.ts +0 -30
  189. package/types/types/datasource.d.ts +0 -0
  190. package/types/types/deps.d.ts +0 -36
  191. package/types/types/error.d.ts +0 -10
  192. package/types/types/file.d.ts +0 -14
  193. package/types/types/index.d.ts +0 -8
  194. package/types/types/intermediate.d.ts +0 -234
  195. package/types/types/jsx.d.ts +0 -34
  196. package/types/types/publisher.d.ts +0 -14
  197. package/types/types/tab.d.ts +0 -6
  198. package/types/utils/OrderedSet.d.ts +0 -9
  199. package/types/utils/Scope.d.ts +0 -12
  200. package/types/utils/ScopeBindings.d.ts +0 -20
  201. package/types/utils/aopHelper.d.ts +0 -2
  202. package/types/utils/apiHandler.d.ts +0 -4
  203. package/types/utils/changeCase.d.ts +0 -10
  204. package/types/utils/columnType.d.ts +0 -1
  205. package/types/utils/common.d.ts +0 -14
  206. package/types/utils/compositeType.d.ts +0 -3
  207. package/types/utils/dataSource.d.ts +0 -17
  208. package/types/utils/debug.d.ts +0 -2
  209. package/types/utils/encodeJsxAttrString.d.ts +0 -1
  210. package/types/utils/errors.d.ts +0 -4
  211. package/types/utils/expressionParser.d.ts +0 -16
  212. package/types/utils/format.d.ts +0 -1
  213. package/types/utils/index.d.ts +0 -15
  214. package/types/utils/jsExpression.d.ts +0 -50
  215. package/types/utils/jsSlot.d.ts +0 -2
  216. package/types/utils/jsxHelpers.d.ts +0 -5
  217. package/types/utils/nodeToJSX.d.ts +0 -32
  218. package/types/utils/nodeToTemplate.d.ts +0 -17
  219. package/types/utils/pathHelper.d.ts +0 -6
  220. package/types/utils/requestHandle.d.ts +0 -72
  221. package/types/utils/resultHelper.d.ts +0 -51
  222. package/types/utils/routerHandle.d.ts +0 -11
  223. package/types/utils/schema.d.ts +0 -24
  224. package/types/utils/templateHelper.d.ts +0 -11
  225. package/types/utils/theme.d.ts +0 -9
  226. package/types/utils/validate.d.ts +0 -8
  227. package/types/utils/version.d.ts +0 -1
@@ -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,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,3 +0,0 @@
1
- import { BuilderComponentPluginFactory } from '../../../types';
2
- declare const pluginFactory: BuilderComponentPluginFactory<unknown>;
3
- export default pluginFactory;
File without changes
@@ -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,3 +0,0 @@
1
- import { BuilderComponentPluginFactory } from '../../../types';
2
- declare const pluginFactory: BuilderComponentPluginFactory<unknown>;
3
- export default pluginFactory;
@@ -1,3 +0,0 @@
1
- import { BuilderComponentPluginFactory } from '../../types';
2
- declare const pluginFactory: BuilderComponentPluginFactory<unknown>;
3
- export default pluginFactory;
@@ -1,11 +0,0 @@
1
- declare const _default: {
2
- template: import("../../../..").IProjectTemplate;
3
- plugins: {
4
- entry: import("../../../..").BuilderComponentPluginFactory<unknown>;
5
- entryHtml: import("../../../..").BuilderComponentPluginFactory<unknown>;
6
- globalStyle: import("../../../..").BuilderComponentPluginFactory<unknown>;
7
- packageJSON: import("../../../..").BuilderComponentPluginFactory<import("./plugins/packageJSON").IceJsPackageJsonPluginConfig>;
8
- router: import("../../../..").BuilderComponentPluginFactory<unknown>;
9
- };
10
- };
11
- export default _default;
@@ -1,3 +0,0 @@
1
- import { BuilderComponentPluginFactory } from '../../../../../types';
2
- declare const pluginFactory: BuilderComponentPluginFactory<unknown>;
3
- export default pluginFactory;
@@ -1,3 +0,0 @@
1
- import { BuilderComponentPluginFactory } from '../../../../../types';
2
- declare const pluginFactory: BuilderComponentPluginFactory<unknown>;
3
- export default pluginFactory;
@@ -1,3 +0,0 @@
1
- import { BuilderComponentPluginFactory } from '../../../../../types';
2
- declare const pluginFactory: BuilderComponentPluginFactory<unknown>;
3
- export default pluginFactory;
@@ -1,26 +0,0 @@
1
- import { BuilderComponentPluginFactory } from '../../../../../types';
2
- export type IceJsPackageJsonPluginConfig = {
3
- /**
4
- * 数据源配置
5
- */
6
- datasourceConfig?: {
7
- /** 数据源引擎的版本 */
8
- engineVersion?: string;
9
- /** 数据源引擎的包名 */
10
- enginePackage?: string;
11
- /** 数据源 handlers 的版本 */
12
- handlersVersion?: {
13
- [key: string]: string;
14
- };
15
- /** 数据源 handlers 的包名 */
16
- handlersPackages?: {
17
- [key: string]: string;
18
- };
19
- };
20
- /** 包名 */
21
- packageName?: string;
22
- /** 版本 */
23
- packageVersion?: string;
24
- };
25
- declare const pluginFactory: BuilderComponentPluginFactory<IceJsPackageJsonPluginConfig>;
26
- export default pluginFactory;
@@ -1,3 +0,0 @@
1
- import { BuilderComponentPluginFactory } from '../../../../../types';
2
- declare const pluginFactory: BuilderComponentPluginFactory<unknown>;
3
- export default pluginFactory;
@@ -1,2 +0,0 @@
1
- import { ResultFile } from '@alilc/lowcode-types';
2
- export default function getFile(): [string[], ResultFile];
@@ -1,2 +0,0 @@
1
- import { ResultFile } from '@alilc/lowcode-types';
2
- export default function getFile(): [string[], ResultFile];
@@ -1,2 +0,0 @@
1
- import { ResultFile } from '@alilc/lowcode-types';
2
- export default function getFile(): [string[], ResultFile];
@@ -1,2 +0,0 @@
1
- import { ResultFile } from '@alilc/lowcode-types';
2
- export default function getFile(): [string[], ResultFile];
@@ -1,2 +0,0 @@
1
- import { ResultFile } from '@alilc/lowcode-types';
2
- export default function getFile(): [string[], ResultFile];
@@ -1,2 +0,0 @@
1
- import { ResultFile } from '@alilc/lowcode-types';
2
- export default function getFile(): [string[], ResultFile];
@@ -1,2 +0,0 @@
1
- import { ResultFile } from '@alilc/lowcode-types';
2
- export default function getFile(): [string[], ResultFile];
@@ -1,2 +0,0 @@
1
- import { ResultFile } from '@alilc/lowcode-types';
2
- export default function getFile(): [string[], ResultFile];
@@ -1,2 +0,0 @@
1
- import { ResultFile } from '@alilc/lowcode-types';
2
- export default function getFile(): [string[], ResultFile];
@@ -1,2 +0,0 @@
1
- import { ResultFile } from '@alilc/lowcode-types';
2
- export default function getFile(): [string[], ResultFile];
@@ -1,2 +0,0 @@
1
- import { ResultFile } from '@alilc/lowcode-types';
2
- export default function getFile(): [string[], ResultFile];
@@ -1,2 +0,0 @@
1
- import { ResultFile } from '@alilc/lowcode-types';
2
- export default function getFile(): [string[], ResultFile];
@@ -1,2 +0,0 @@
1
- import { ResultFile } from '@alilc/lowcode-types';
2
- export default function getFile(): [string[], ResultFile];
@@ -1,2 +0,0 @@
1
- import { ResultFile } from '@alilc/lowcode-types';
2
- export default function getFile(): [string[], ResultFile];
@@ -1,2 +0,0 @@
1
- import { ResultFile } from '@alilc/lowcode-types';
2
- export default function getFile(): [string[], ResultFile];
@@ -1,2 +0,0 @@
1
- import { ResultFile } from '@alilc/lowcode-types';
2
- export default function getFile(): [string[], ResultFile];
@@ -1,2 +0,0 @@
1
- import { ResultFile } from '@alilc/lowcode-types';
2
- export default function getFile(): [string[], ResultFile];
@@ -1,2 +0,0 @@
1
- import { ResultFile } from '@alilc/lowcode-types';
2
- export default function getFile(): [string[], ResultFile];
@@ -1,2 +0,0 @@
1
- import { ResultFile } from '@alilc/lowcode-types';
2
- export default function getFile(): [string[], ResultFile];
@@ -1,2 +0,0 @@
1
- import { ResultFile } from '@alilc/lowcode-types';
2
- export default function getFile(): [string[], ResultFile];
@@ -1,3 +0,0 @@
1
- import { IProjectTemplate } from '../../../../../types';
2
- declare const icejsTemplate: IProjectTemplate;
3
- export default icejsTemplate;
@@ -1,2 +0,0 @@
1
- import { ResultDir } from '@alilc/lowcode-types';
2
- export declare function generateStaticFiles(root?: ResultDir): ResultDir;
@@ -1,11 +0,0 @@
1
- declare const _default: {
2
- template: import("../../../..").IProjectTemplate;
3
- plugins: {
4
- appConfig: import("../../../..").BuilderComponentPluginFactory<import("./plugins/appConfig").AppConfigPluginConfig>;
5
- buildConfig: import("../../../..").BuilderComponentPluginFactory<import("./plugins/buildConfig").BuildConfigPluginConfig>;
6
- globalStyle: import("../../../..").BuilderComponentPluginFactory<unknown>;
7
- packageJSON: import("../../../..").BuilderComponentPluginFactory<import("./plugins/packageJSON").IceJs3PackageJsonPluginConfig>;
8
- layout: import("../../../..").BuilderComponentPluginFactory<unknown>;
9
- };
10
- };
11
- export default _default;
@@ -1,5 +0,0 @@
1
- import { BuilderComponentPluginFactory } from '../../../../../types';
2
- export interface AppConfigPluginConfig {
3
- }
4
- declare const pluginFactory: BuilderComponentPluginFactory<AppConfigPluginConfig>;
5
- export default pluginFactory;
@@ -1,7 +0,0 @@
1
- import { BuilderComponentPluginFactory } from '../../../../../types';
2
- export interface BuildConfigPluginConfig {
3
- /** 包名 */
4
- themePackage?: string;
5
- }
6
- declare const pluginFactory: BuilderComponentPluginFactory<BuildConfigPluginConfig>;
7
- export default pluginFactory;
@@ -1,3 +0,0 @@
1
- import { BuilderComponentPluginFactory } from '../../../../../types';
2
- declare const pluginFactory: BuilderComponentPluginFactory<unknown>;
3
- export default pluginFactory;
@@ -1,3 +0,0 @@
1
- import { BuilderComponentPluginFactory } from '../../../../../types';
2
- declare const pluginFactory: BuilderComponentPluginFactory<unknown>;
3
- export default pluginFactory;
@@ -1,26 +0,0 @@
1
- import { BuilderComponentPluginFactory } from '../../../../../types';
2
- export type IceJs3PackageJsonPluginConfig = {
3
- /**
4
- * 数据源配置
5
- */
6
- datasourceConfig?: {
7
- /** 数据源引擎的版本 */
8
- engineVersion?: string;
9
- /** 数据源引擎的包名 */
10
- enginePackage?: string;
11
- /** 数据源 handlers 的版本 */
12
- handlersVersion?: {
13
- [key: string]: string;
14
- };
15
- /** 数据源 handlers 的包名 */
16
- handlersPackages?: {
17
- [key: string]: string;
18
- };
19
- };
20
- /** 包名 */
21
- packageName?: string;
22
- /** 版本 */
23
- packageVersion?: string;
24
- };
25
- declare const pluginFactory: BuilderComponentPluginFactory<IceJs3PackageJsonPluginConfig>;
26
- export default pluginFactory;
@@ -1,2 +0,0 @@
1
- import { ResultFile } from '@alilc/lowcode-types';
2
- export default function getFile(): [string[], ResultFile];
@@ -1,2 +0,0 @@
1
- import { ResultFile } from '@alilc/lowcode-types';
2
- export default function getFile(): [string[], ResultFile];
@@ -1,2 +0,0 @@
1
- import { ResultFile } from '@alilc/lowcode-types';
2
- export default function getFile(): [string[], ResultFile];
@@ -1,2 +0,0 @@
1
- import { ResultFile } from '@alilc/lowcode-types';
2
- export default function getFile(): [string[], ResultFile];
@@ -1,2 +0,0 @@
1
- import { ResultFile } from '@alilc/lowcode-types';
2
- export default function getFile(): [string[], ResultFile];
@@ -1,2 +0,0 @@
1
- import { ResultFile } from '@alilc/lowcode-types';
2
- export default function getFile(): [string[], ResultFile];
@@ -1,2 +0,0 @@
1
- import { ResultFile } from '@alilc/lowcode-types';
2
- export default function getFile(): [string[], ResultFile];
@@ -1,2 +0,0 @@
1
- import { ResultFile } from '@alilc/lowcode-types';
2
- export default function getFile(): [string[], ResultFile];
@@ -1,2 +0,0 @@
1
- import { ResultFile } from '@alilc/lowcode-types';
2
- export default function getFile(): [string[], ResultFile];
@@ -1,2 +0,0 @@
1
- import { ResultFile } from '@alilc/lowcode-types';
2
- export default function getFile(): [string[], ResultFile];
@@ -1,2 +0,0 @@
1
- import { ResultFile } from '@alilc/lowcode-types';
2
- export default function getFile(): [string[], ResultFile];
@@ -1,2 +0,0 @@
1
- import { ResultFile } from '@alilc/lowcode-types';
2
- export default function getFile(): [string[], ResultFile];
@@ -1,2 +0,0 @@
1
- import { ResultFile } from '@alilc/lowcode-types';
2
- export default function getFile(): [string[], ResultFile];
@@ -1,3 +0,0 @@
1
- import { IProjectTemplate } from '../../../../../types';
2
- declare const icejs3Template: IProjectTemplate;
3
- export default icejs3Template;
@@ -1,2 +0,0 @@
1
- import { ResultDir } from '@alilc/lowcode-types';
2
- export declare function generateStaticFiles(root?: ResultDir): ResultDir;
@@ -1,12 +0,0 @@
1
- declare const _default: {
2
- template: import("../../../..").IProjectTemplate;
3
- plugins: {
4
- appConfig: import("../../../..").BuilderComponentPluginFactory<import("./types/RaxFrameworkOptions").RaxFrameworkOptions>;
5
- buildConfig: import("../../../..").BuilderComponentPluginFactory<import("./types/RaxFrameworkOptions").RaxFrameworkOptions>;
6
- entry: import("../../../..").BuilderComponentPluginFactory<import("./types/RaxFrameworkOptions").RaxFrameworkOptions>;
7
- entryDocument: import("../../../..").BuilderComponentPluginFactory<import("./types/RaxFrameworkOptions").RaxFrameworkOptions>;
8
- globalStyle: import("../../../..").BuilderComponentPluginFactory<import("./plugins/globalStyle").GlobalStylePluginConfig>;
9
- packageJSON: import("../../../..").BuilderComponentPluginFactory<import("./types/RaxFrameworkOptions").RaxFrameworkOptions>;
10
- };
11
- };
12
- export default _default;
@@ -1,4 +0,0 @@
1
- import { BuilderComponentPluginFactory } from '../../../../../types';
2
- import { RaxFrameworkOptions } from '../types/RaxFrameworkOptions';
3
- declare const pluginFactory: BuilderComponentPluginFactory<RaxFrameworkOptions>;
4
- export default pluginFactory;
@@ -1,4 +0,0 @@
1
- import { BuilderComponentPluginFactory } from '../../../../../types';
2
- import type { RaxFrameworkOptions } from '../types/RaxFrameworkOptions';
3
- declare const pluginFactory: BuilderComponentPluginFactory<RaxFrameworkOptions>;
4
- export default pluginFactory;
@@ -1,4 +0,0 @@
1
- import { BuilderComponentPluginFactory } from '../../../../../types';
2
- import { RaxFrameworkOptions } from '../types/RaxFrameworkOptions';
3
- declare const pluginFactory: BuilderComponentPluginFactory<RaxFrameworkOptions>;
4
- export default pluginFactory;
@@ -1,7 +0,0 @@
1
- import { BuilderComponentPluginFactory } from '../../../../../types';
2
- import { RaxFrameworkOptions } from '../types/RaxFrameworkOptions';
3
- /**
4
- * 这种方式已经不推荐使用了
5
- */
6
- declare const pluginFactory: BuilderComponentPluginFactory<RaxFrameworkOptions>;
7
- export default pluginFactory;
@@ -1,6 +0,0 @@
1
- import { BuilderComponentPluginFactory } from '../../../../../types';
2
- export interface GlobalStylePluginConfig {
3
- fileType: string;
4
- }
5
- declare const pluginFactory: BuilderComponentPluginFactory<GlobalStylePluginConfig>;
6
- export default pluginFactory;
@@ -1,4 +0,0 @@
1
- import { BuilderComponentPluginFactory } from '../../../../../types';
2
- import { RaxFrameworkOptions } from '../types/RaxFrameworkOptions';
3
- declare const pluginFactory: BuilderComponentPluginFactory<RaxFrameworkOptions>;
4
- export default pluginFactory;
@@ -1,2 +0,0 @@
1
- import { ResultFile } from '@alilc/lowcode-types';
2
- export default function getFile(): [string[], ResultFile];
@@ -1,2 +0,0 @@
1
- import { ResultFile } from '@alilc/lowcode-types';
2
- export default function getFile(): [string[], ResultFile];
@@ -1,2 +0,0 @@
1
- import { ResultFile } from '@alilc/lowcode-types';
2
- export default function getFile(): [string[], ResultFile];
@@ -1,2 +0,0 @@
1
- import { ResultFile } from '@alilc/lowcode-types';
2
- export default function getFile(): [string[], ResultFile];
@@ -1,2 +0,0 @@
1
- import { ResultFile } from '@alilc/lowcode-types';
2
- export default function getFile(): [string[], ResultFile];
@@ -1,2 +0,0 @@
1
- import { ResultFile } from '@alilc/lowcode-types';
2
- export default function getFile(): [string[], ResultFile];
@@ -1,2 +0,0 @@
1
- import { ResultFile } from '@alilc/lowcode-types';
2
- export default function getFile(): [string[], ResultFile];
@@ -1,2 +0,0 @@
1
- import { ResultFile } from '@alilc/lowcode-types';
2
- export default function getFile(): [string[], ResultFile];
@@ -1,2 +0,0 @@
1
- import { ResultFile } from '@alilc/lowcode-types';
2
- export default function getFile(): [string[], ResultFile];
@@ -1,2 +0,0 @@
1
- import { ResultFile } from '@alilc/lowcode-types';
2
- export default function getFile(): [string[], ResultFile];
@@ -1,3 +0,0 @@
1
- import { IProjectTemplate } from '../../../../../types';
2
- declare const raxAppTemplate: IProjectTemplate;
3
- export default raxAppTemplate;
@@ -1,2 +0,0 @@
1
- import { ResultDir } from '@alilc/lowcode-types';
2
- export declare function generateStaticFiles(root?: ResultDir): ResultDir;
@@ -1,81 +0,0 @@
1
- export type RaxFrameworkOptions = {
2
- /**
3
- * 默认的页面标题
4
- */
5
- title?: string;
6
- /**
7
- * 目标环境(默认是仅 web 环境)
8
- */
9
- targets?: Array<'web' | 'miniapp' | string>;
10
- /**
11
- * 小程序引擎选择,默认为运行时引擎。如需启用编译时引擎,则配置为 compile
12
- */
13
- miniAppBuildType?: MiniAppBuildType;
14
- /**
15
- * 构建配置
16
- */
17
- buildConfig?: {
18
- inlineStyle?: boolean | {
19
- forceEnableCSS: boolean;
20
- };
21
- alias?: {
22
- [key: string]: string;
23
- };
24
- publicPath?: string;
25
- devPublicPath?: string;
26
- sourceMap?: boolean | string;
27
- externals?: {
28
- [key: string]: string;
29
- };
30
- hash?: boolean | string;
31
- polyfill?: string | false;
32
- minify?: boolean;
33
- outputDir?: string;
34
- proxy?: {
35
- [key: string]: string;
36
- };
37
- devServer?: {
38
- [key: string]: unknown;
39
- };
40
- browserslist?: string | {
41
- [key: string]: string;
42
- };
43
- compileDependencies?: string[];
44
- miniapp?: {
45
- [key: string]: unknown;
46
- };
47
- [key: string]: unknown;
48
- };
49
- /**
50
- * 数据源配置
51
- */
52
- datasourceConfig?: {
53
- /** 数据源引擎的版本 */
54
- engineVersion?: string;
55
- /** 数据源引擎的包名 */
56
- enginePackage?: string;
57
- /** 数据源 handlers 的版本 */
58
- handlersVersion?: {
59
- [key: string]: string;
60
- };
61
- /** 数据源 handlers 的包名 */
62
- handlersPackages?: {
63
- [key: string]: string;
64
- };
65
- };
66
- /** 包名 */
67
- packageName?: string;
68
- /** 版本 */
69
- packageVersion?: string;
70
- /** 全局样式文件的类型 */
71
- globalStylesFileType?: 'css' | 'scss' | 'less';
72
- /** 应用配置 */
73
- appConfig?: {
74
- /** 路由配置 */
75
- router?: {
76
- type?: 'browser' | 'hash' | string;
77
- basename?: string;
78
- };
79
- };
80
- };
81
- export type MiniAppBuildType = 'compile' | 'runtime';
@@ -1,11 +0,0 @@
1
- declare const _default: {
2
- template: import("../../../..").IProjectTemplate;
3
- plugins: {
4
- packageJSON: import("../../../..").BuilderComponentPluginFactory<import("./plugins/packageJSON").IceJsPackageJsonPluginConfig>;
5
- router: import("../../../..").BuilderComponentPluginFactory<unknown>;
6
- main: import("../../../..").BuilderComponentPluginFactory<import("../../../component/vue/template").PluginConfig>;
7
- form: import("../../../..").BuilderComponentPluginFactory<unknown>;
8
- hooks: import("../../../..").BuilderComponentPluginFactory<unknown>;
9
- };
10
- };
11
- export default _default;
@@ -1,3 +0,0 @@
1
- import { BuilderComponentPluginFactory } from '../../../../../types';
2
- declare const pluginFactory: BuilderComponentPluginFactory<unknown>;
3
- export default pluginFactory;
@@ -1,3 +0,0 @@
1
- import { BuilderComponentPluginFactory } from '../../../../../types';
2
- declare const pluginFactory: BuilderComponentPluginFactory<unknown>;
3
- export default pluginFactory;
@@ -1,4 +0,0 @@
1
- import { BuilderComponentPluginFactory } from '../../../../../types';
2
- import { PluginConfig } from '../../../../component/vue/template';
3
- declare const pluginFactory: BuilderComponentPluginFactory<PluginConfig>;
4
- export default pluginFactory;
@@ -1,26 +0,0 @@
1
- import { BuilderComponentPluginFactory } from '../../../../../types';
2
- export interface IceJsPackageJsonPluginConfig {
3
- /**
4
- * 数据源配置
5
- */
6
- datasourceConfig?: {
7
- /** 数据源引擎的版本 */
8
- engineVersion?: string;
9
- /** 数据源引擎的包名 */
10
- enginePackage?: string;
11
- /** 数据源 handlers 的版本 */
12
- handlersVersion?: {
13
- [key: string]: string;
14
- };
15
- /** 数据源 handlers 的包名 */
16
- handlersPackages?: {
17
- [key: string]: string;
18
- };
19
- };
20
- /** 包名 */
21
- packageName?: string;
22
- /** 版本 */
23
- packageVersion?: string;
24
- }
25
- declare const pluginFactory: BuilderComponentPluginFactory<IceJsPackageJsonPluginConfig>;
26
- export default pluginFactory;
@@ -1,3 +0,0 @@
1
- import { BuilderComponentPluginFactory } from '../../../../../types';
2
- declare const pluginFactory: BuilderComponentPluginFactory<unknown>;
3
- export default pluginFactory;
@@ -1,2 +0,0 @@
1
- import { ResultFile } from '@alilc/lowcode-types';
2
- export default function getFile(): [string[], ResultFile];
@@ -1,2 +0,0 @@
1
- import { ResultFile } from '@alilc/lowcode-types';
2
- export default function getFile(): [string[], ResultFile];
@@ -1,2 +0,0 @@
1
- import { ResultFile } from '@alilc/lowcode-types';
2
- export default function getFile(): [string[], ResultFile];
@@ -1,2 +0,0 @@
1
- import { ResultFile } from '@alilc/lowcode-types';
2
- export default function getFile(): [string[], ResultFile];