@cloudbase/lowcode-builder 1.8.6 → 1.8.7

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 (80) hide show
  1. package/dist/builder.web.js +71 -0
  2. package/lib/.turbo/turbo-build.log +0 -0
  3. package/lib/.turbo/turbo-develop.log +0 -0
  4. package/lib/builder/config/index.d.ts +0 -0
  5. package/lib/builder/config/index.js +0 -0
  6. package/lib/builder/core/index.d.ts +0 -0
  7. package/lib/builder/core/index.js +0 -0
  8. package/lib/builder/core/plugin.d.ts +0 -0
  9. package/lib/builder/core/plugin.js +0 -0
  10. package/lib/builder/h5/compile.d.ts +0 -0
  11. package/lib/builder/h5/compile.js +0 -0
  12. package/lib/builder/h5/copy.d.ts +0 -0
  13. package/lib/builder/h5/copy.js +0 -0
  14. package/lib/builder/h5/generate.d.ts +0 -0
  15. package/lib/builder/h5/generate.js +0 -0
  16. package/lib/builder/h5/index.d.ts +0 -0
  17. package/lib/builder/h5/index.js +0 -0
  18. package/lib/builder/h5/material.d.ts +0 -0
  19. package/lib/builder/h5/material.js +0 -0
  20. package/lib/builder/h5/npm.d.ts +0 -0
  21. package/lib/builder/h5/npm.js +0 -0
  22. package/lib/builder/h5/webpack.d.ts +0 -0
  23. package/lib/builder/h5/webpack.js +0 -0
  24. package/lib/builder/mp/BuildContext.d.ts +0 -0
  25. package/lib/builder/mp/BuildContext.js +0 -0
  26. package/lib/builder/mp/index.d.ts +0 -0
  27. package/lib/builder/mp/index.js +1 -1
  28. package/lib/builder/mp/lowcode.d.ts +0 -0
  29. package/lib/builder/mp/lowcode.js +0 -0
  30. package/lib/builder/mp/materials.d.ts +0 -0
  31. package/lib/builder/mp/materials.js +0 -0
  32. package/lib/builder/mp/mixMode.d.ts +0 -0
  33. package/lib/builder/mp/mixMode.js +0 -0
  34. package/lib/builder/mp/mp_config.d.ts +0 -0
  35. package/lib/builder/mp/mp_config.js +0 -0
  36. package/lib/builder/mp/plugin.d.ts +0 -0
  37. package/lib/builder/mp/plugin.js +0 -0
  38. package/lib/builder/mp/util.d.ts +0 -0
  39. package/lib/builder/mp/util.js +0 -0
  40. package/lib/builder/mp/wxml.d.ts +0 -0
  41. package/lib/builder/mp/wxml.js +0 -0
  42. package/lib/builder/service/webpack.d.ts +0 -0
  43. package/lib/builder/service/webpack.js +0 -0
  44. package/lib/builder/types/common.d.ts +0 -0
  45. package/lib/builder/types/common.js +0 -0
  46. package/lib/builder/util/common.d.ts +0 -0
  47. package/lib/builder/util/common.js +0 -0
  48. package/lib/builder/util/console.d.ts +0 -0
  49. package/lib/builder/util/console.js +0 -0
  50. package/lib/builder/util/generateFiles.d.ts +0 -0
  51. package/lib/builder/util/generateFiles.js +0 -0
  52. package/lib/builder/util/index.d.ts +0 -0
  53. package/lib/builder/util/index.js +0 -0
  54. package/lib/builder/util/junk.d.ts +0 -0
  55. package/lib/builder/util/junk.js +0 -0
  56. package/lib/builder/util/mp.d.ts +0 -0
  57. package/lib/builder/util/mp.js +0 -0
  58. package/lib/builder/util/net.d.ts +0 -0
  59. package/lib/builder/util/net.js +0 -0
  60. package/lib/builder/util/process.d.ts +0 -0
  61. package/lib/builder/util/process.js +0 -0
  62. package/lib/builder.web.js +71 -0
  63. package/lib/event-emitter.d.ts +32 -0
  64. package/lib/event-emitter.js +88 -0
  65. package/lib/flow.d.ts +32 -0
  66. package/lib/flow.js +60 -0
  67. package/lib/index.d.ts +0 -0
  68. package/lib/index.js +0 -0
  69. package/lib/query.d.ts +48 -0
  70. package/lib/query.js +171 -0
  71. package/lib/test.d.ts +11 -0
  72. package/lib/test.js +717 -0
  73. package/lib/types.d.ts +0 -0
  74. package/lib/types.js +0 -0
  75. package/lib/utils/common.d.ts +0 -0
  76. package/lib/utils/common.js +0 -0
  77. package/lib/utils/postProcess.d.ts +0 -0
  78. package/lib/utils/postProcess.js +0 -0
  79. package/package.json +4 -4
  80. package/template/.DS_Store +0 -0
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
@@ -452,7 +452,7 @@ async function writeLowCodeFiles(ctx, appData, outDir) {
452
452
  await Promise.all(lowCodes
453
453
  .filter((mod) => mod.type !== cals_1.ECodeType.RENDERER)
454
454
  .map((m) => {
455
- (0, lowcode_1.writeCode2file)(ctx, m, lowcodeRootDir, { appDir: outDir }, themeStyle.code);
455
+ (0, lowcode_1.writeCode2file)(ctx, m, lowcodeRootDir, { appDir: outDir }, (themeStyle === null || themeStyle === void 0 ? void 0 : themeStyle.code) || '');
456
456
  }));
457
457
  }
458
458
  await Promise.all((0, weapps_core_1.loopDealWithFn)(appData.pageInstanceList, async (page) => {
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes