@cloudbase/lowcode-builder 1.8.2 → 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 (82) 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 +0 -0
  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 +2 -2
  80. package/template/.DS_Store +0 -0
  81. package/template/mp/common/weapp-page.js +2 -1
  82. package/template/mp/package.json +1 -1
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.2",
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",
@@ -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
@@ -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",