@cloudbase/lowcode-builder 1.3.12 → 1.3.13

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 (73) hide show
  1. package/dist/builder.web.js +1 -1
  2. package/lib/.turbo/turbo-build.log +0 -0
  3. package/lib/builder/config/index.d.ts +0 -0
  4. package/lib/builder/config/index.js +0 -0
  5. package/lib/builder/core/index.d.ts +0 -0
  6. package/lib/builder/core/index.js +0 -0
  7. package/lib/builder/core/plugin.d.ts +0 -0
  8. package/lib/builder/core/plugin.js +0 -0
  9. package/lib/builder/h5/compile.d.ts +0 -0
  10. package/lib/builder/h5/compile.js +0 -0
  11. package/lib/builder/h5/copy.d.ts +0 -0
  12. package/lib/builder/h5/copy.js +0 -0
  13. package/lib/builder/h5/generate.d.ts +0 -0
  14. package/lib/builder/h5/generate.js +0 -0
  15. package/lib/builder/h5/index.d.ts +0 -0
  16. package/lib/builder/h5/index.js +0 -0
  17. package/lib/builder/h5/material.d.ts +0 -0
  18. package/lib/builder/h5/material.js +0 -0
  19. package/lib/builder/h5/npm.d.ts +0 -0
  20. package/lib/builder/h5/npm.js +0 -0
  21. package/lib/builder/h5/webpack.d.ts +0 -0
  22. package/lib/builder/h5/webpack.js +0 -0
  23. package/lib/builder/mp/BuildContext.d.ts +0 -0
  24. package/lib/builder/mp/BuildContext.js +0 -0
  25. package/lib/builder/mp/index.d.ts +0 -0
  26. package/lib/builder/mp/index.js +0 -0
  27. package/lib/builder/mp/lowcode.d.ts +0 -0
  28. package/lib/builder/mp/lowcode.js +0 -0
  29. package/lib/builder/mp/materials.d.ts +0 -0
  30. package/lib/builder/mp/materials.js +0 -0
  31. package/lib/builder/mp/mixMode.d.ts +0 -0
  32. package/lib/builder/mp/mixMode.js +0 -0
  33. package/lib/builder/mp/mp_config.d.ts +0 -0
  34. package/lib/builder/mp/mp_config.js +0 -0
  35. package/lib/builder/mp/plugin.d.ts +0 -0
  36. package/lib/builder/mp/plugin.js +0 -0
  37. package/lib/builder/mp/util.d.ts +0 -0
  38. package/lib/builder/mp/util.js +0 -0
  39. package/lib/builder/mp/wxml.d.ts +0 -0
  40. package/lib/builder/mp/wxml.js +0 -0
  41. package/lib/builder/service/webpack.d.ts +0 -0
  42. package/lib/builder/service/webpack.js +0 -0
  43. package/lib/builder/types/common.d.ts +0 -0
  44. package/lib/builder/types/common.js +0 -0
  45. package/lib/builder/util/common.d.ts +0 -0
  46. package/lib/builder/util/common.js +0 -0
  47. package/lib/builder/util/console.d.ts +0 -0
  48. package/lib/builder/util/console.js +0 -0
  49. package/lib/builder/util/generateFiles.d.ts +0 -0
  50. package/lib/builder/util/generateFiles.js +0 -0
  51. package/lib/builder/util/index.d.ts +0 -0
  52. package/lib/builder/util/index.js +0 -0
  53. package/lib/builder/util/junk.d.ts +0 -0
  54. package/lib/builder/util/junk.js +0 -0
  55. package/lib/builder/util/mp.d.ts +0 -0
  56. package/lib/builder/util/mp.js +0 -0
  57. package/lib/builder/util/net.d.ts +0 -0
  58. package/lib/builder/util/net.js +0 -0
  59. package/lib/builder/util/process.d.ts +0 -0
  60. package/lib/builder/util/process.js +0 -0
  61. package/lib/builder.web.js +1 -1
  62. package/lib/index.d.ts +0 -0
  63. package/lib/index.js +0 -0
  64. package/lib/types.d.ts +0 -0
  65. package/lib/types.js +0 -0
  66. package/lib/utils/common.d.ts +0 -0
  67. package/lib/utils/common.js +0 -0
  68. package/lib/utils/postProcess.d.ts +0 -0
  69. package/lib/utils/postProcess.js +0 -0
  70. package/package.json +4 -4
  71. package/template/.DS_Store +0 -0
  72. package/template/html/index.html.ejs +1 -1
  73. package/template/mp/common/widget.js +4 -3
package/lib/index.d.ts CHANGED
File without changes
package/lib/index.js CHANGED
File without changes
package/lib/types.d.ts CHANGED
File without changes
package/lib/types.js CHANGED
File without changes
File without changes
File without changes
File without changes
File without changes
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@cloudbase/lowcode-builder",
3
- "version": "1.3.12",
3
+ "version": "1.3.13",
4
4
  "description": "云开发 Tencent CloudBase Framework Low Code Plugin,将低码配置生成完整项目并一键部署云开发资源。",
5
5
  "author": "yhsunshining@gmail.com",
6
6
  "homepage": "https://github.com/TencentCloudBase/cloudbase-framework#readme",
@@ -38,8 +38,8 @@
38
38
  "url": "https://github.com/TencentCloudBase/cloudbase-framework/issues"
39
39
  },
40
40
  "dependencies": {
41
- "@cloudbase/cals": "^0.5.11",
42
- "@cloudbase/lowcode-generator": "^1.3.6",
41
+ "@cloudbase/cals": "workspace:^",
42
+ "@cloudbase/lowcode-generator": "workspace:^",
43
43
  "axios": "^0.21.0",
44
44
  "browserfs": "^1.4.3",
45
45
  "browserify-zlib": "^0.2.0",
@@ -81,4 +81,4 @@
81
81
  "webpack-dev-server": "^4.7.3",
82
82
  "worker-loader": "^3.0.8"
83
83
  }
84
- }
84
+ }
Binary file
@@ -475,7 +475,7 @@
475
475
  crossorigin
476
476
  src="<%=
477
477
  cdnEndpoints.cdngo
478
- %>/lcap/lcap-resource-cdngo/-/0.1.4/_files/static/weda-render/main.2895317effcdaa894b2d.bundle.js"
478
+ %>/lcap/lcap-resource-cdngo/-/0.1.4/_files/static/weda-render/main.e8d1597a7c671defbbac.bundle.js"
479
479
  ></script>
480
480
  </body>
481
481
  </html>
@@ -707,13 +707,14 @@ class UserWidget {
707
707
  }
708
708
 
709
709
  // 优先 custom
710
- if (target.custom[prop]) {
710
+ if (prop in target.custom) {
711
711
  return target.custom[prop];
712
712
  }
713
713
 
714
714
  // 再尝试内置的方法和属性
715
- const buildinMember = target.sys[prop];
716
- if (buildinMember) return buildinMember;
715
+ if (prop in target.sys) {
716
+ return target.sys[prop];
717
+ }
717
718
 
718
719
  // 兼容原来的 widget。最后直接代理到 widget 上,主要是访问组件的属性
719
720
  // return target._widget[prop];