@cloudbase/lowcode-builder 1.8.1 → 1.8.4

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 (72) hide show
  1. package/lib/.turbo/turbo-build.log +0 -0
  2. package/lib/builder/config/index.d.ts +0 -0
  3. package/lib/builder/config/index.js +0 -0
  4. package/lib/builder/core/index.d.ts +0 -0
  5. package/lib/builder/core/index.js +0 -0
  6. package/lib/builder/core/plugin.d.ts +0 -0
  7. package/lib/builder/core/plugin.js +0 -0
  8. package/lib/builder/h5/compile.d.ts +0 -0
  9. package/lib/builder/h5/compile.js +0 -0
  10. package/lib/builder/h5/copy.d.ts +0 -0
  11. package/lib/builder/h5/copy.js +0 -0
  12. package/lib/builder/h5/generate.d.ts +0 -0
  13. package/lib/builder/h5/generate.js +0 -0
  14. package/lib/builder/h5/index.d.ts +0 -0
  15. package/lib/builder/h5/index.js +0 -0
  16. package/lib/builder/h5/material.d.ts +0 -0
  17. package/lib/builder/h5/material.js +0 -0
  18. package/lib/builder/h5/npm.d.ts +0 -0
  19. package/lib/builder/h5/npm.js +0 -0
  20. package/lib/builder/h5/webpack.d.ts +0 -0
  21. package/lib/builder/h5/webpack.js +0 -0
  22. package/lib/builder/mp/BuildContext.d.ts +0 -0
  23. package/lib/builder/mp/BuildContext.js +0 -0
  24. package/lib/builder/mp/index.d.ts +0 -0
  25. package/lib/builder/mp/index.js +0 -0
  26. package/lib/builder/mp/lowcode.d.ts +0 -0
  27. package/lib/builder/mp/lowcode.js +0 -0
  28. package/lib/builder/mp/materials.d.ts +0 -0
  29. package/lib/builder/mp/materials.js +0 -0
  30. package/lib/builder/mp/mixMode.d.ts +0 -0
  31. package/lib/builder/mp/mixMode.js +0 -0
  32. package/lib/builder/mp/mp_config.d.ts +0 -0
  33. package/lib/builder/mp/mp_config.js +0 -0
  34. package/lib/builder/mp/plugin.d.ts +0 -0
  35. package/lib/builder/mp/plugin.js +0 -0
  36. package/lib/builder/mp/util.d.ts +0 -0
  37. package/lib/builder/mp/util.js +1 -1
  38. package/lib/builder/mp/wxml.d.ts +0 -0
  39. package/lib/builder/mp/wxml.js +0 -0
  40. package/lib/builder/service/webpack.d.ts +0 -0
  41. package/lib/builder/service/webpack.js +0 -0
  42. package/lib/builder/types/common.d.ts +0 -0
  43. package/lib/builder/types/common.js +0 -0
  44. package/lib/builder/util/common.d.ts +0 -0
  45. package/lib/builder/util/common.js +0 -0
  46. package/lib/builder/util/console.d.ts +0 -0
  47. package/lib/builder/util/console.js +0 -0
  48. package/lib/builder/util/generateFiles.d.ts +0 -0
  49. package/lib/builder/util/generateFiles.js +0 -0
  50. package/lib/builder/util/index.d.ts +0 -0
  51. package/lib/builder/util/index.js +0 -0
  52. package/lib/builder/util/junk.d.ts +0 -0
  53. package/lib/builder/util/junk.js +0 -0
  54. package/lib/builder/util/mp.d.ts +0 -0
  55. package/lib/builder/util/mp.js +0 -0
  56. package/lib/builder/util/net.d.ts +0 -0
  57. package/lib/builder/util/net.js +0 -0
  58. package/lib/builder/util/process.d.ts +0 -0
  59. package/lib/builder/util/process.js +0 -0
  60. package/lib/index.d.ts +0 -0
  61. package/lib/index.js +0 -0
  62. package/lib/types.d.ts +0 -0
  63. package/lib/types.js +0 -0
  64. package/lib/utils/common.d.ts +0 -0
  65. package/lib/utils/common.js +0 -0
  66. package/lib/utils/postProcess.d.ts +0 -0
  67. package/lib/utils/postProcess.js +0 -0
  68. package/package.json +3 -3
  69. package/template/.DS_Store +0 -0
  70. package/template/html/index.html.ejs +1 -1
  71. package/template/mp/common/weapp-page.js +2 -1
  72. package/template/mp/package.json +1 -1
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
File without changes
File without changes
@@ -262,7 +262,7 @@ function getListenersHandlers(listeners, id, componentApi) {
262
262
  break;
263
263
  }
264
264
  case `${weapps_core_1.ActionType.Platform}:callQuery`: {
265
- handler = `function({data}){ return $w[data.id]?.trigger?.()}`;
265
+ handler = `function({data}){ return $w[data.id]?.[data.method]()}`;
266
266
  break;
267
267
  }
268
268
  default: {
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
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.8.1",
3
+ "version": "1.8.4",
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,7 +38,7 @@
38
38
  "url": "https://github.com/TencentCloudBase/cloudbase-framework/issues"
39
39
  },
40
40
  "dependencies": {
41
- "@cloudbase/cals": "^1.0.6",
41
+ "@cloudbase/cals": "^1.0.7",
42
42
  "@cloudbase/lowcode-generator": "^1.8.0",
43
43
  "axios": "^0.21.0",
44
44
  "browserfs": "^1.4.3",
@@ -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
@@ -549,7 +549,7 @@
549
549
  crossorigin
550
550
  src="<%=
551
551
  cdnEndpoints.cdngo
552
- %>/lcap/lcap-resource-cdngo/-/0.1.4/_files/static/weda-render/main.ca44c59c8e73e409892e.bundle.js"
552
+ %>/lcap/lcap-resource-cdngo/-/0.1.4/_files/static/weda-render/main.c1acdd499c54299805d4.bundle.js"
553
553
  ></script>
554
554
  </body>
555
555
  </html>
@@ -128,6 +128,7 @@ export function createPage({
128
128
  _pageActive: true,
129
129
  _beforePageCustomLaunchPromise: null,
130
130
  _query: {},
131
+ _disposers: [],
131
132
 
132
133
  /** page lifecycles **/
133
134
  ...extractLifecycles(),
@@ -152,7 +153,7 @@ export function createPage({
152
153
  if ($page.dataset.query[queryId]?._schema?.trigger === 'auto') {
153
154
  try {
154
155
  $page.dataset.query[queryId].trigger();
155
- this._disposers.push($page.dataset.query[queryId].destroy)
156
+ this._disposers.push(()=> $page.dataset.query[queryId].destroy())
156
157
  } catch (e) {
157
158
  console.error(`query ${queryId} 初始化失败:`, e);
158
159
  }
@@ -6,7 +6,7 @@
6
6
  "@cloudbase/js-sdk": "2.5.6-beta.1",<%
7
7
  } %>
8
8
  "@cloudbase/oauth": "0.1.1-alpha.5",
9
- "@cloudbase/weda-client": "1.0.2",
9
+ "@cloudbase/weda-client": "1.0.3",
10
10
  "@cloudbase/weda-cloud-sdk": "1.0.29",
11
11
  "mobx": "^5.15.4",
12
12
  "lodash.get": "^4.4.2",