@ztocwst/rc-pro-materials 0.1.28 → 0.1.29
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/build/lowcode/assets-daily.json +11 -11
- package/build/lowcode/assets-dev.json +2 -2
- package/build/lowcode/assets-prod.json +11 -11
- package/build/lowcode/meta.js +1 -1
- package/build/lowcode/render/default/view.js +1 -1
- package/build/lowcode/view.js +1 -1
- package/dist/SCM_Comps.js +1 -1
- package/dist/SCM_Comps.js.map +1 -1
- package/es/utils/rcProRequest.d.ts +2 -1
- package/es/utils/rcProRequest.js +3 -3
- package/lib/utils/rcProRequest.d.ts +2 -1
- package/lib/utils/rcProRequest.js +3 -3
- package/package.json +3 -3
|
@@ -1,2 +1,3 @@
|
|
|
1
|
-
|
|
1
|
+
import { RcConfigConsumerProps } from '@ztocwst/rc-pro';
|
|
2
|
+
declare const _default: (rcProContext: RcConfigConsumerProps, url: string, requestParams: any) => Promise<any>;
|
|
2
3
|
export default _default;
|
package/es/utils/rcProRequest.js
CHANGED
|
@@ -3,17 +3,17 @@ import _asyncToGenerator from "@babel/runtime/helpers/asyncToGenerator";
|
|
|
3
3
|
import _regeneratorRuntime from "@babel/runtime/regenerator";
|
|
4
4
|
export default /*#__PURE__*/(function () {
|
|
5
5
|
var _ref = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime.mark(function _callee(rcProContext, url, requestParams) {
|
|
6
|
-
var _ref2, materialsRequest,
|
|
6
|
+
var _ref2, materialsRequest, headers;
|
|
7
7
|
return _regeneratorRuntime.wrap(function _callee$(_context) {
|
|
8
8
|
while (1) switch (_context.prev = _context.next) {
|
|
9
9
|
case 0:
|
|
10
|
-
_ref2 = rcProContext || {}, materialsRequest = _ref2.materialsRequest,
|
|
10
|
+
_ref2 = rcProContext || {}, materialsRequest = _ref2.materialsRequest, headers = _ref2.headers;
|
|
11
11
|
_context.next = 3;
|
|
12
12
|
return materialsRequest(url, _extends({
|
|
13
13
|
method: 'POST'
|
|
14
14
|
}, requestParams, {
|
|
15
15
|
headers: _extends({}, requestParams.headers, {
|
|
16
|
-
token: token
|
|
16
|
+
token: headers.token
|
|
17
17
|
})
|
|
18
18
|
}));
|
|
19
19
|
case 3:
|
|
@@ -1,2 +1,3 @@
|
|
|
1
|
-
|
|
1
|
+
import { RcConfigConsumerProps } from '@ztocwst/rc-pro';
|
|
2
|
+
declare const _default: (rcProContext: RcConfigConsumerProps, url: string, requestParams: any) => Promise<any>;
|
|
2
3
|
export default _default;
|
|
@@ -8,17 +8,17 @@ var _extends2 = _interopRequireDefault(require("@babel/runtime/helpers/extends")
|
|
|
8
8
|
var _asyncToGenerator2 = _interopRequireDefault(require("@babel/runtime/helpers/asyncToGenerator"));
|
|
9
9
|
var _default = /*#__PURE__*/function () {
|
|
10
10
|
var _ref = (0, _asyncToGenerator2["default"])( /*#__PURE__*/_regenerator["default"].mark(function _callee(rcProContext, url, requestParams) {
|
|
11
|
-
var _ref2, materialsRequest,
|
|
11
|
+
var _ref2, materialsRequest, headers;
|
|
12
12
|
return _regenerator["default"].wrap(function _callee$(_context) {
|
|
13
13
|
while (1) switch (_context.prev = _context.next) {
|
|
14
14
|
case 0:
|
|
15
|
-
_ref2 = rcProContext || {}, materialsRequest = _ref2.materialsRequest,
|
|
15
|
+
_ref2 = rcProContext || {}, materialsRequest = _ref2.materialsRequest, headers = _ref2.headers;
|
|
16
16
|
_context.next = 3;
|
|
17
17
|
return materialsRequest(url, (0, _extends2["default"])({
|
|
18
18
|
method: 'POST'
|
|
19
19
|
}, requestParams, {
|
|
20
20
|
headers: (0, _extends2["default"])({}, requestParams.headers, {
|
|
21
|
-
token: token
|
|
21
|
+
token: headers.token
|
|
22
22
|
})
|
|
23
23
|
}));
|
|
24
24
|
case 3:
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ztocwst/rc-pro-materials",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.29",
|
|
4
4
|
"description": "@ztocwst/rc-pro-materials",
|
|
5
5
|
"main": "lib/index.js",
|
|
6
6
|
"module": "es/index.js",
|
|
@@ -86,9 +86,9 @@
|
|
|
86
86
|
},
|
|
87
87
|
"componentConfig": {
|
|
88
88
|
"isComponentLibrary": true,
|
|
89
|
-
"materialSchema": "https://npm.onmicrosoft.cn/@ztocwst/rc-pro-materials@0.1.
|
|
89
|
+
"materialSchema": "https://npm.onmicrosoft.cn/@ztocwst/rc-pro-materials@0.1.29/build/lowcode/assets-prod.json"
|
|
90
90
|
},
|
|
91
|
-
"homepage": "https://unpkg.com/@ztocwst/rc-pro-materials@0.1.
|
|
91
|
+
"homepage": "https://unpkg.com/@ztocwst/rc-pro-materials@0.1.29/build/index.html",
|
|
92
92
|
"publishConfig": {
|
|
93
93
|
"registry": "https://registry.npmjs.org/",
|
|
94
94
|
"access": "public"
|