@cloudbase/framework-plugin-low-code 0.7.25 → 0.7.28

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 (53) hide show
  1. package/lib/builder/mp/index.d.ts.map +1 -1
  2. package/lib/builder/mp/index.js +1 -4
  3. package/lib/generate.d.ts +2 -1
  4. package/lib/generate.d.ts.map +1 -1
  5. package/lib/generate.js +5 -4
  6. package/lib/index.d.ts +7 -4
  7. package/lib/index.d.ts.map +1 -1
  8. package/lib/index.js +125 -78
  9. package/lib/utils/dataSource.d.ts +4 -0
  10. package/lib/utils/dataSource.d.ts.map +1 -1
  11. package/lib/utils/dataSource.js +27 -12
  12. package/lib/utils/postProcess.d.ts.map +1 -1
  13. package/lib/weapps-core/utils/style.d.ts.map +1 -1
  14. package/lib/weapps-core/utils/style.js +16 -7
  15. package/package.json +3 -4
  16. package/template/mp/app/app-global.js +4 -0
  17. package/template/mp/app/common.js +26 -0
  18. package/template/mp/app/handlers.js +15 -0
  19. package/template/mp/app/weapps-api.js +89 -0
  20. package/template/mp/app.js +114 -0
  21. package/template/mp/app.json +1 -0
  22. package/template/mp/app.wxss +15 -0
  23. package/template/mp/common/data-patch-test.js +60 -0
  24. package/template/mp/common/data-patch.js +44 -0
  25. package/template/mp/common/merge-renderer.js +67 -0
  26. package/template/mp/common/process.js +1 -0
  27. package/template/mp/common/style.js +34 -0
  28. package/template/mp/common/url.js +21 -0
  29. package/template/mp/common/util.js +395 -0
  30. package/template/mp/common/utils.wxs +11 -0
  31. package/template/mp/common/weapp-component.js +250 -0
  32. package/template/mp/common/weapp-page.js +204 -0
  33. package/template/mp/common/weapp-sdk.js +76 -0
  34. package/template/mp/common/widget.js +381 -0
  35. package/template/mp/common/wx_yypt_report_v2.js +460 -0
  36. package/template/mp/component/index.js +66 -0
  37. package/template/mp/component/index.json +4 -0
  38. package/template/mp/component/index.wxml +1 -0
  39. package/template/mp/component/index.wxss +1 -0
  40. package/template/mp/datasources/config.js.tpl +25 -0
  41. package/template/mp/datasources/dataset-profiles.js.tpl +5 -0
  42. package/template/mp/datasources/datasource-profiles.js.tpl +4 -0
  43. package/template/mp/datasources/index.js +29 -0
  44. package/template/mp/package.json +18 -0
  45. package/template/mp/page/api.js +1 -0
  46. package/template/mp/page/index.js +42 -0
  47. package/template/mp/page/index.json +3 -0
  48. package/template/mp/page/index.wxml +1 -0
  49. package/template/mp/page/index.wxss +3 -0
  50. package/template/mp/project.config.json +1 -0
  51. package/template/package.json +1 -1
  52. package/template/src/datasources/index.js.tpl +0 -2
  53. package/template/webpack/web.prod.js +1 -1
@@ -0,0 +1 @@
1
+ <%= JSON.stringify(content, ' ', 2) %>
@@ -38,7 +38,7 @@
38
38
  "copy-webpack-plugin": "^6.2.1",
39
39
  "css-loader": "^5",
40
40
  "happypack": "^5.0.1",
41
- "dart-sass": "^1.24.0",
41
+ "sass": "^1.24.0",
42
42
  "postcss": "^8.3.6",
43
43
  "postcss-pxtorem": "^6.0.0",
44
44
  "postcss-loader": "^4.0.3",
@@ -9,7 +9,6 @@ const {
9
9
  generateParamsParser,
10
10
  EXTRA_API,
11
11
  CLOUD_SDK,
12
- DS_API,
13
12
  DS_SDK
14
13
  } = WEDA_CLOUD_SDK
15
14
 
@@ -19,7 +18,6 @@ export {
19
18
  generateParamsParser,
20
19
  EXTRA_API,
21
20
  CLOUD_SDK,
22
- DS_API,
23
21
  DS_SDK,
24
22
  }
25
23
 
@@ -230,7 +230,7 @@ module.exports = function (options) {
230
230
  {
231
231
  loader: 'sass-loader',
232
232
  options: {
233
- implementation: require('dart-sass'),
233
+ implementation: require('sass'),
234
234
  },
235
235
  },
236
236
  ],