@ztocwst/rc-pro-materials 0.2.68 → 0.2.69

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.
@@ -1,7 +1,7 @@
1
1
  import _inheritsLoose from "@babel/runtime/helpers/inheritsLoose";
2
2
  import _extends from "@babel/runtime/helpers/extends";
3
3
  import _objectWithoutPropertiesLoose from "@babel/runtime/helpers/objectWithoutPropertiesLoose";
4
- var _excluded = ["form", "grid", "exporter", "export"],
4
+ var _excluded = ["form", "grid", "exporter", "export", "drill"],
5
5
  _excluded2 = ["config"],
6
6
  _excluded3 = ["restProps"],
7
7
  _excluded4 = ["restProps", "queryCheck"],
@@ -16,6 +16,7 @@ var processTabs = function processTabs(tab) {
16
16
  grid = _ref.grid,
17
17
  exporter = _ref.exporter,
18
18
  tabExport = _ref["export"],
19
+ drill = _ref.drill,
19
20
  rest = _objectWithoutPropertiesLoose(_ref, _excluded);
20
21
  var _ref2 = grid !== null && grid !== void 0 ? grid : {},
21
22
  config = _ref2.config,
@@ -39,6 +40,10 @@ var processTabs = function processTabs(tab) {
39
40
  })
40
41
  }, exporter ? {
41
42
  "export": tabExport
43
+ } : {}, drill ? {
44
+ drill: drill === null || drill === void 0 ? void 0 : drill.map(function (d) {
45
+ return processTabs(d === null || d === void 0 ? void 0 : d.tab);
46
+ })
42
47
  } : {});
43
48
  };
44
49
  var ZDatacenterTpl = function ZDatacenterTpl(props) {
@@ -9,7 +9,7 @@ var _objectWithoutPropertiesLoose2 = _interopRequireDefault(require("@babel/runt
9
9
  var React = _interopRequireWildcard(require("react"));
10
10
  var _rcPro = require("@ztocwst/rc-pro");
11
11
  var _utils = require("../../utils");
12
- var _excluded = ["form", "grid", "exporter", "export"],
12
+ var _excluded = ["form", "grid", "exporter", "export", "drill"],
13
13
  _excluded2 = ["config"],
14
14
  _excluded3 = ["restProps"],
15
15
  _excluded4 = ["restProps", "queryCheck"],
@@ -23,6 +23,7 @@ var processTabs = function processTabs(tab) {
23
23
  grid = _ref.grid,
24
24
  exporter = _ref.exporter,
25
25
  tabExport = _ref["export"],
26
+ drill = _ref.drill,
26
27
  rest = (0, _objectWithoutPropertiesLoose2["default"])(_ref, _excluded);
27
28
  var _ref2 = grid !== null && grid !== void 0 ? grid : {},
28
29
  config = _ref2.config,
@@ -46,6 +47,10 @@ var processTabs = function processTabs(tab) {
46
47
  })
47
48
  }, exporter ? {
48
49
  "export": tabExport
50
+ } : {}, drill ? {
51
+ drill: drill === null || drill === void 0 ? void 0 : drill.map(function (d) {
52
+ return processTabs(d === null || d === void 0 ? void 0 : d.tab);
53
+ })
49
54
  } : {});
50
55
  };
51
56
  var ZDatacenterTpl = function ZDatacenterTpl(props) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ztocwst/rc-pro-materials",
3
- "version": "0.2.68",
3
+ "version": "0.2.69",
4
4
  "description": "@ztocwst/rc-pro-materials",
5
5
  "main": "lib/index.js",
6
6
  "module": "es/index.js",
@@ -89,9 +89,9 @@
89
89
  },
90
90
  "componentConfig": {
91
91
  "isComponentLibrary": true,
92
- "materialSchema": "https://npm.ztocwst.com/@ztocwst/rc-pro-materials@0.2.68/build/lowcode/assets-prod.json"
92
+ "materialSchema": "https://npm.ztocwst.com/@ztocwst/rc-pro-materials@0.2.69/build/lowcode/assets-prod.json"
93
93
  },
94
- "homepage": "https://unpkg.com/@ztocwst/rc-pro-materials@0.2.68/build/index.html",
94
+ "homepage": "https://unpkg.com/@ztocwst/rc-pro-materials@0.2.69/build/index.html",
95
95
  "publishConfig": {
96
96
  "registry": "https://registry.npmjs.org/",
97
97
  "access": "public"