antd-management-fast-framework 1.12.17 → 1.12.18
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 +21 -0
- package/es/framework/DataMultiPageView/MultiPageDrawer/index.d.ts +1 -0
- package/es/framework/DataMultiPageView/MultiPageDrawer/index.js +2 -1
- package/es/framework/DataSinglePageView/SinglePageDrawer/index.d.ts +12 -3
- package/es/framework/DataSinglePageView/SinglePageDrawer/index.js +5 -0
- package/es/framework/DataSinglePageView/SinglePageSelectDrawer/index.d.ts +5 -3
- package/es/framework/DataSinglePageView/SinglePageSelectDrawer/index.js +3 -0
- package/package.json +2 -2
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.
|
|
@@ -505,7 +505,8 @@ var MultiPageDrawer = /*#__PURE__*/function (_MultiPage) {
|
|
|
505
505
|
|
|
506
506
|
MultiPageDrawer.defaultProps = {
|
|
507
507
|
hideDrawerAfterSelect: true,
|
|
508
|
-
confirmSelect: true
|
|
508
|
+
confirmSelect: true,
|
|
509
|
+
width: 820
|
|
509
510
|
};
|
|
510
511
|
var _default = MultiPageDrawer;
|
|
511
512
|
exports.default = _default;
|
|
@@ -49,9 +49,11 @@ declare class SinglePageDrawer extends SinglePage {
|
|
|
49
49
|
*/
|
|
50
50
|
executeOtherAfterDoOtherWhenChangeVisible: (preProps: any, preState: any, snapshot: any) => void;
|
|
51
51
|
onClose: () => void;
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
52
|
+
/**
|
|
53
|
+
* 选择数据
|
|
54
|
+
* @param {*} handleData
|
|
55
|
+
*/
|
|
56
|
+
selectRecord: ({ handleData }: any) => void;
|
|
55
57
|
renderTitleIcon: () => JSX.Element;
|
|
56
58
|
hideDrawer: () => void;
|
|
57
59
|
establishWrapperTypeConfig: () => {
|
|
@@ -61,4 +63,11 @@ declare class SinglePageDrawer extends SinglePage {
|
|
|
61
63
|
renderContentContainor: () => JSX.Element;
|
|
62
64
|
renderDrawerInner: () => JSX.Element;
|
|
63
65
|
}
|
|
66
|
+
declare namespace SinglePageDrawer {
|
|
67
|
+
export namespace defaultProps {
|
|
68
|
+
export const hideDrawerAfterSelect: boolean;
|
|
69
|
+
export const confirmSelect: boolean;
|
|
70
|
+
export const width: number;
|
|
71
|
+
}
|
|
72
|
+
}
|
|
64
73
|
import SinglePage from "../SinglePage";
|
|
@@ -481,5 +481,10 @@ var SinglePageDrawer = /*#__PURE__*/function (_SinglePage) {
|
|
|
481
481
|
return SinglePageDrawer;
|
|
482
482
|
}(_SinglePage2.default);
|
|
483
483
|
|
|
484
|
+
SinglePageDrawer.defaultProps = {
|
|
485
|
+
hideDrawerAfterSelect: true,
|
|
486
|
+
confirmSelect: true,
|
|
487
|
+
width: 820
|
|
488
|
+
};
|
|
484
489
|
var _default = SinglePageDrawer;
|
|
485
490
|
exports.default = _default;
|
|
@@ -1,6 +1,9 @@
|
|
|
1
1
|
export default SinglePageSelectDrawer;
|
|
2
|
-
declare class SinglePageSelectDrawer
|
|
3
|
-
|
|
2
|
+
declare class SinglePageSelectDrawer {
|
|
3
|
+
static getDerivedStateFromProps(nextProps: any, prevState: any): any;
|
|
4
|
+
selectRecord: ({ handleData }: {
|
|
5
|
+
handleData: any;
|
|
6
|
+
}) => void;
|
|
4
7
|
renderSelectButton: ({ confirm, text: textSource, icon: iconSource, handleData, showIcon, }: {
|
|
5
8
|
confirm?: boolean | undefined;
|
|
6
9
|
text?: string | undefined;
|
|
@@ -9,4 +12,3 @@ declare class SinglePageSelectDrawer extends SinglePageDrawer {
|
|
|
9
12
|
showIcon?: boolean | undefined;
|
|
10
13
|
}) => JSX.Element | null;
|
|
11
14
|
}
|
|
12
|
-
import SinglePageDrawer from "../SinglePageDrawer";
|
|
@@ -114,5 +114,8 @@ var SinglePageSelectDrawer = /*#__PURE__*/function (_SinglePageDrawer) {
|
|
|
114
114
|
return SinglePageSelectDrawer;
|
|
115
115
|
}(_SinglePageDrawer2.default);
|
|
116
116
|
|
|
117
|
+
_SinglePageDrawer2.default.defaultProps = {
|
|
118
|
+
width: 820
|
|
119
|
+
};
|
|
117
120
|
var _default = SinglePageSelectDrawer;
|
|
118
121
|
exports.default = _default;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "antd-management-fast-framework",
|
|
3
|
-
"version": "1.12.
|
|
3
|
+
"version": "1.12.18",
|
|
4
4
|
"description": "antd-management-fast-framework",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"antd-management-fast-framework"
|
|
@@ -169,5 +169,5 @@
|
|
|
169
169
|
"bugs": {
|
|
170
170
|
"url": "https://github.com/kityandhero/antd-management-fast-framework/issues"
|
|
171
171
|
},
|
|
172
|
-
"gitHead": "
|
|
172
|
+
"gitHead": "97152a86624e40c517b6e055472c424d90529d7a"
|
|
173
173
|
}
|