antd-management-fast-framework 1.11.41 → 1.11.42
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/License.txt
ADDED
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
MIT License
|
|
2
|
+
|
|
3
|
+
Copyright (c) 2021 luzhitao
|
|
4
|
+
|
|
5
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
6
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
7
|
+
in the Software without restriction, including without limitation the rights
|
|
8
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
9
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
10
|
+
furnished to do so, subject to the following conditions:
|
|
11
|
+
|
|
12
|
+
The above copyright notice and this permission notice shall be included in all
|
|
13
|
+
copies or substantial portions of the Software.
|
|
14
|
+
|
|
15
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
16
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
17
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
18
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
19
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
20
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
21
|
+
SOFTWARE.
|
|
@@ -424,18 +424,10 @@ var AudioUpload = /*#__PURE__*/function (_PureComponent) {
|
|
|
424
424
|
}, /*#__PURE__*/_react.default.createElement("div", {
|
|
425
425
|
style: {
|
|
426
426
|
position: 'relative',
|
|
427
|
-
height: '
|
|
427
|
+
height: '50px',
|
|
428
428
|
width: '100%'
|
|
429
429
|
}
|
|
430
|
-
}, /*#__PURE__*/_react.default.createElement(
|
|
431
|
-
style: {
|
|
432
|
-
position: 'absolute',
|
|
433
|
-
height: '100%',
|
|
434
|
-
width: '100%',
|
|
435
|
-
zIndex: -1,
|
|
436
|
-
backgroundImage: _constants.audioBackGroundImage
|
|
437
|
-
}
|
|
438
|
-
}), /*#__PURE__*/_react.default.createElement(_reactPlayer.default, {
|
|
430
|
+
}, /*#__PURE__*/_react.default.createElement(_reactPlayer.default, {
|
|
439
431
|
width: "100%",
|
|
440
432
|
height: "100%",
|
|
441
433
|
url: audioUrl,
|
|
@@ -1881,7 +1881,7 @@ var Common = /*#__PURE__*/function (_Core) {
|
|
|
1881
1881
|
|
|
1882
1882
|
if (type === _constants.cardConfig.contentItemType.audioUpload) {
|
|
1883
1883
|
var _uploadProps3 = _objectSpread(_objectSpread({}, contentItem.uploadProps || {}), {
|
|
1884
|
-
|
|
1884
|
+
audio: contentItem.audio || '',
|
|
1885
1885
|
showPreview: contentItem.showPreview || false,
|
|
1886
1886
|
action: contentItem.action || '',
|
|
1887
1887
|
tokenSet: _this.getUploadTokenObject()
|
|
@@ -1,7 +1,9 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
1
|
+
/**
|
|
2
|
+
* getApiDataCore
|
|
3
|
+
* @param {*} param0
|
|
4
|
+
* @returns
|
|
5
|
+
*/
|
|
6
|
+
export function getApiDataCore({ props, modelName }: any): any;
|
|
5
7
|
/**
|
|
6
8
|
* 处理 actionCore 的异步请求结果
|
|
7
9
|
* @param {*} param0
|
package/es/utils/actionAssist.js
CHANGED
|
@@ -26,6 +26,11 @@ function asyncGeneratorStep(gen, resolve, reject, _next, _throw, key, arg) { try
|
|
|
26
26
|
function _asyncToGenerator(fn) { return function () { var self = this, args = arguments; return new Promise(function (resolve, reject) { var gen = fn.apply(self, args); function _next(value) { asyncGeneratorStep(gen, resolve, reject, _next, _throw, "next", value); } function _throw(err) { asyncGeneratorStep(gen, resolve, reject, _next, _throw, "throw", err); } _next(undefined); }); }; }
|
|
27
27
|
|
|
28
28
|
var confirm = _modal.default.confirm;
|
|
29
|
+
/**
|
|
30
|
+
* getApiDataCore
|
|
31
|
+
* @param {*} param0
|
|
32
|
+
* @returns
|
|
33
|
+
*/
|
|
29
34
|
|
|
30
35
|
function getApiDataCore(_ref) {
|
|
31
36
|
var props = _ref.props,
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "antd-management-fast-framework",
|
|
3
|
-
"version": "1.11.
|
|
3
|
+
"version": "1.11.42",
|
|
4
4
|
"description": "antd-management-fast-framework",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"antd-management-fast-framework"
|
|
@@ -167,5 +167,5 @@
|
|
|
167
167
|
"bugs": {
|
|
168
168
|
"url": "https://github.com/kityandhero/antd-management-fast-framework/issues"
|
|
169
169
|
},
|
|
170
|
-
"gitHead": "
|
|
170
|
+
"gitHead": "91de94909041eed2fa6290fdf3d6a5b20858c846"
|
|
171
171
|
}
|