@cloudbase/framework-plugin-low-code 1.0.3-beta.5 → 1.0.3-beta.8

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.
package/lib/index.js CHANGED
@@ -1,7 +1,11 @@
1
1
  "use strict";
2
2
  var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
3
3
  if (k2 === undefined) k2 = k;
4
- Object.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } });
4
+ var desc = Object.getOwnPropertyDescriptor(m, k);
5
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
6
+ desc = { enumerable: true, get: function() { return m[k]; } };
7
+ }
8
+ Object.defineProperty(o, k2, desc);
5
9
  }) : (function(o, m, k, k2) {
6
10
  if (k2 === undefined) k2 = k;
7
11
  o[k2] = m[k];
@@ -547,7 +551,6 @@ class LowCodePlugin extends framework_core_1.Plugin {
547
551
  });
548
552
  }
549
553
  deploy() {
550
- var _a;
551
554
  return __awaiter(this, void 0, void 0, function* () {
552
555
  try {
553
556
  this._time("DEPLOY");
@@ -575,7 +578,7 @@ class LowCodePlugin extends framework_core_1.Plugin {
575
578
  }
576
579
  catch (e) {
577
580
  this.api.logger.error(`${this.api.emoji('🚀')} custom publish fail: ${JSON.stringify(e)}`);
578
- if (((_a = e) === null || _a === void 0 ? void 0 : _a.code) !== 'ResourceNotFound') {
581
+ if ((e === null || e === void 0 ? void 0 : e.code) !== 'ResourceNotFound') {
579
582
  throw e;
580
583
  }
581
584
  }
@@ -1,7 +1,11 @@
1
1
  "use strict";
2
2
  var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
3
3
  if (k2 === undefined) k2 = k;
4
- Object.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } });
4
+ var desc = Object.getOwnPropertyDescriptor(m, k);
5
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
6
+ desc = { enumerable: true, get: function() { return m[k]; } };
7
+ }
8
+ Object.defineProperty(o, k2, desc);
5
9
  }) : (function(o, m, k, k2) {
6
10
  if (k2 === undefined) k2 = k;
7
11
  o[k2] = m[k];
@@ -1,7 +1,11 @@
1
1
  "use strict";
2
2
  var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
3
3
  if (k2 === undefined) k2 = k;
4
- Object.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } });
4
+ var desc = Object.getOwnPropertyDescriptor(m, k);
5
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
6
+ desc = { enumerable: true, get: function() { return m[k]; } };
7
+ }
8
+ Object.defineProperty(o, k2, desc);
5
9
  }) : (function(o, m, k, k2) {
6
10
  if (k2 === undefined) k2 = k;
7
11
  o[k2] = m[k];
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@cloudbase/framework-plugin-low-code",
3
- "version": "1.0.3-beta.5",
3
+ "version": "1.0.3-beta.8",
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",
@@ -37,12 +37,12 @@
37
37
  "url": "https://github.com/TencentCloudBase/cloudbase-framework/issues"
38
38
  },
39
39
  "dependencies": {
40
- "@cloudbase/cals": "^0.3.35",
40
+ "@cloudbase/cals": "^0.3.37",
41
41
  "@cloudbase/framework-core": "^1.8.16",
42
42
  "@cloudbase/framework-plugin-auth": "^1.8.16",
43
43
  "@cloudbase/framework-plugin-mp": "1.9.5-beta.0",
44
44
  "@cloudbase/framework-plugin-website": "^1.8.17",
45
- "@cloudbase/lowcode-builder": "^1.0.12",
45
+ "@cloudbase/lowcode-builder": "^1.0.17",
46
46
  "@formily/react-schema-renderer": "1.1.7",
47
47
  "archiver": "^4.0.1",
48
48
  "compressing": "^1.4.0",
@@ -65,6 +65,6 @@
65
65
  "@types/weixin-app": "^2.9.0",
66
66
  "csstype": "^2.6.10",
67
67
  "jest": "^26.0.1",
68
- "typescript": "^3.8.3"
68
+ "typescript": "^4.7.4"
69
69
  }
70
70
  }
@@ -218,6 +218,7 @@ export async function checkAnonymous() {
218
218
  * 检查页面权限
219
219
  **/
220
220
  export async function checkAuth(app, appId, $page) {
221
+ return true
221
222
  <% if (isAdminPortal || isXPage) { %>return true;<% } %>
222
223
  app.showNavigationBarLoading();
223
224
  const { loginConfigVersion } = app.__internal__.getConfig();