@zhubangyun/lowcode-core 5.4.101 → 5.4.102

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.
@@ -2,9 +2,9 @@ import _asyncToGenerator from "@babel/runtime/helpers/asyncToGenerator";
2
2
  import _inheritsLoose from "@babel/runtime/helpers/inheritsLoose";
3
3
  import _regeneratorRuntime from "@babel/runtime/regenerator";
4
4
  import { SingletonInstanceMap } from "../common/SingletonInstanceMap";
5
- import { request } from "../api";
6
5
  import { RestFormApi } from "../form/form.api";
7
6
  import { handleFormSchema } from "./schema";
7
+ import { apiRequest } from "../api";
8
8
  export var SchemaCache = /*#__PURE__*/function (_SingletonInstanceMap) {
9
9
  function SchemaCache() {
10
10
  return _SingletonInstanceMap.apply(this, arguments) || this;
@@ -19,7 +19,7 @@ export var SchemaCache = /*#__PURE__*/function (_SingletonInstanceMap) {
19
19
  case 0:
20
20
  mock = options.mock, pageId = options.pageId;
21
21
  _context.next = 3;
22
- return request.get("pages/" + pageId + "/schema", {
22
+ return apiRequest.get("pages/" + pageId + "/schema", {
23
23
  params: {
24
24
  mock: mock
25
25
  }
@@ -34,7 +34,7 @@ export var SingletonInstanceMap = /*#__PURE__*/function () {
34
34
  return _context.stop();
35
35
  }
36
36
  }, _callee);
37
- })), 1000);
37
+ })), 500);
38
38
  }));
39
39
  case 9:
40
40
  _context2.prev = 9;
@@ -1,7 +1,7 @@
1
- import { PageLayout } from "./page.layout";
1
+ import { PageLayoutType } from "./page.layout";
2
2
  interface ShowFormOptions {
3
3
  container?: HTMLDivElement;
4
- layout?: PageLayout;
4
+ layout?: PageLayoutType;
5
5
  form: {
6
6
  id: string;
7
7
  fieldId?: string;
@@ -7,9 +7,9 @@ var _regenerator = _interopRequireDefault(require("@babel/runtime/regenerator"))
7
7
  var _asyncToGenerator2 = _interopRequireDefault(require("@babel/runtime/helpers/asyncToGenerator"));
8
8
  var _inheritsLoose2 = _interopRequireDefault(require("@babel/runtime/helpers/inheritsLoose"));
9
9
  var _SingletonInstanceMap3 = require("../common/SingletonInstanceMap");
10
- var _api = require("../api");
11
10
  var _form = require("../form/form.api");
12
11
  var _schema = require("./schema");
12
+ var _api = require("../api");
13
13
  var SchemaCache = exports.SchemaCache = /*#__PURE__*/function (_SingletonInstanceMap) {
14
14
  function SchemaCache() {
15
15
  return _SingletonInstanceMap.apply(this, arguments) || this;
@@ -24,7 +24,7 @@ var SchemaCache = exports.SchemaCache = /*#__PURE__*/function (_SingletonInstanc
24
24
  case 0:
25
25
  mock = options.mock, pageId = options.pageId;
26
26
  _context.next = 3;
27
- return _api.request.get("pages/" + pageId + "/schema", {
27
+ return _api.apiRequest.get("pages/" + pageId + "/schema", {
28
28
  params: {
29
29
  mock: mock
30
30
  }
@@ -39,7 +39,7 @@ var SingletonInstanceMap = exports.SingletonInstanceMap = /*#__PURE__*/function
39
39
  return _context.stop();
40
40
  }
41
41
  }, _callee);
42
- })), 1000);
42
+ })), 500);
43
43
  }));
44
44
  case 9:
45
45
  _context2.prev = 9;
@@ -1,7 +1,7 @@
1
- import { PageLayout } from "./page.layout";
1
+ import { PageLayoutType } from "./page.layout";
2
2
  interface ShowFormOptions {
3
3
  container?: HTMLDivElement;
4
- layout?: PageLayout;
4
+ layout?: PageLayoutType;
5
5
  form: {
6
6
  id: string;
7
7
  fieldId?: string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@zhubangyun/lowcode-core",
3
- "version": "5.4.101",
3
+ "version": "5.4.102",
4
4
  "description": "低代码核心",
5
5
  "files": [
6
6
  "lib",