@zat-design/sisyphus-react 3.11.14-beta.1 → 3.11.14-beta.10
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/.vscode/extensions.json +5 -0
- package/coverage/lcov-report/src/.umi/core/history.ts.html +148 -0
- package/coverage/lcov-report/src/.umi/core/index.html +146 -0
- package/coverage/lcov-report/src/.umi/core/plugin.ts.html +109 -0
- package/coverage/lcov-report/src/.umi/core/pluginRegister.ts.html +160 -0
- package/coverage/lcov-report/src/.umi/core/polyfill.ts.html +97 -0
- package/coverage/src/.umi/core/history.ts.html +148 -0
- package/coverage/src/.umi/core/index.html +146 -0
- package/coverage/src/.umi/core/plugin.ts.html +109 -0
- package/coverage/src/.umi/core/pluginRegister.ts.html +160 -0
- package/coverage/src/.umi/core/polyfill.ts.html +97 -0
- package/dist/index.esm.css +26 -15
- package/dist/less.esm.css +26 -15
- package/es/ProAction/index.d.ts +2 -2
- package/es/ProAction/propsType.d.ts +16 -10
- package/es/ProConfigProvider/index.d.ts +6 -6
- package/es/ProDownload/index.d.ts +2 -2
- package/es/ProDownload/propsType.d.ts +2 -1
- package/es/ProDrawerForm/components/ProDrawer/index.d.ts +2 -2
- package/es/ProDrawerForm/components/ProModal/index.d.ts +2 -2
- package/es/ProDrawerForm/index.d.ts +1 -2
- package/es/ProDrawerForm/propsType.d.ts +38 -27
- package/es/ProDrawerForm/utils/index.d.ts +2 -2
- package/es/ProEditLabel/components/RenderProForm.d.ts +2 -2
- package/es/ProEditLabel/index.d.ts +2 -2
- package/es/ProEditLabel/propsType.d.ts +135 -8
- package/es/ProEditLabel/style/index.less +24 -25
- package/es/ProEditTable/components/Summary/index.d.ts +2 -2
- package/es/ProEditTable/index.d.ts +2 -2
- package/es/ProEditTable/index.js +6 -8
- package/es/ProEditTable/propsType.d.ts +232 -93
- package/es/ProEditTable/style/index.less +1 -0
- package/es/ProEnum/components/Group.d.ts +2 -2
- package/es/ProEnum/components/Tag.d.ts +2 -2
- package/es/ProEnum/hooks/useEnumRequest.d.ts +2 -2
- package/es/ProEnum/index.d.ts +2 -2
- package/es/ProEnum/propsType.d.ts +230 -41
- package/es/ProEnum/propsType.js +0 -6
- package/es/ProEnum/utils/index.d.ts +1 -1
- package/es/ProForm/components/FormFooter/index.d.ts +2 -2
- package/es/ProForm/components/FormFooter/propsType.d.ts +8 -3
- package/es/ProForm/components/base/Checkbox/index.d.ts +2 -2
- package/es/ProForm/components/base/Input/index.d.ts +2 -2
- package/es/ProForm/components/base/Input/propsType.d.ts +8 -4
- package/es/ProForm/components/base/InputNumber/index.d.ts +2 -2
- package/es/ProForm/components/base/Radio/index.d.ts +2 -2
- package/es/ProForm/components/base/RangePicker/index.d.ts +2 -2
- package/es/ProForm/components/base/Select/index.d.ts +2 -2
- package/es/ProForm/components/base/Switch/index.d.ts +2 -2
- package/es/ProForm/components/base/SwitchCheckbox/index.d.ts +2 -2
- package/es/ProForm/components/base/TextArea/index.d.ts +2 -2
- package/es/ProForm/components/base/TimePicker/index.d.ts +2 -2
- package/es/ProForm/components/combination/Container/index.d.ts +2 -2
- package/es/ProForm/components/combination/Container/propsType.d.ts +9 -5
- package/es/ProForm/components/combination/FormList/components/ActionButton.d.ts +4 -4
- package/es/ProForm/components/combination/FormList/components/BlockFields.d.ts +4 -4
- package/es/ProForm/components/combination/FormList/components/LineFields.d.ts +4 -4
- package/es/ProForm/components/combination/FormList/components/ToolbarButton.d.ts +2 -2
- package/es/ProForm/components/combination/FormList/index.d.ts +2 -2
- package/es/ProForm/components/combination/FormList/propsType.d.ts +18 -10
- package/es/ProForm/components/combination/Group/index.d.ts +2 -2
- package/es/ProForm/components/combination/Group/propsType.d.ts +10 -5
- package/es/ProForm/components/combination/Group/utils.d.ts +4 -4
- package/es/ProForm/components/combination/ProCascader/index.d.ts +2 -2
- package/es/ProForm/components/combination/ProCascader/propsType.d.ts +8 -3
- package/es/ProForm/components/combination/ProCombination/index.d.ts +3 -3
- package/es/ProForm/components/combination/ProCombination/propsType.d.ts +10 -5
- package/es/ProForm/components/combination/ProModalSelect/index.d.ts +2 -2
- package/es/ProForm/components/combination/ProModalSelect/propsType.d.ts +58 -5
- package/es/ProForm/components/combination/ProNumberRange/propsType.d.ts +7 -3
- package/es/ProForm/components/combination/ProTimeLimit/index.d.ts +14 -8
- package/es/ProForm/components/render/ChangedWrapper.d.ts +2 -2
- package/es/ProForm/components/render/Render.d.ts +2 -2
- package/es/ProForm/components/render/RenderFields.d.ts +4 -4
- package/es/ProForm/components/render/propsType.d.ts +54 -43
- package/es/ProForm/index.d.ts +2 -2
- package/es/ProForm/propsType.d.ts +22 -15
- package/es/ProForm/utils/transformValue.d.ts +2 -2
- package/es/ProForm/utils/useFieldProps.d.ts +3 -3
- package/es/ProForm/utils/useShouldUpdate.d.ts +3 -3
- package/es/ProIcon/index.d.ts +2 -2
- package/es/ProIcon/propsTypes.d.ts +124 -49
- package/es/ProLayout/components/Layout/Header/index.d.ts +2 -2
- package/es/ProLayout/components/Layout/Menu/index.d.ts +2 -2
- package/es/ProLayout/components/Layout/Notice/index.d.ts +2 -2
- package/es/ProLayout/components/ProCollapse/PropTypes.d.ts +9 -2
- package/es/ProLayout/components/ProCollapse/index.d.ts +2 -2
- package/es/ProLayout/components/ProCollapse/index.js +12 -4
- package/es/ProLayout/components/ProFooter/PropTypes.d.ts +18 -1
- package/es/ProLayout/components/ProFooter/index.d.ts +2 -2
- package/es/ProLayout/components/ProHeader/PropTypes.d.ts +121 -14
- package/es/ProLayout/components/ProHeader/index.d.ts +2 -2
- package/es/ProLayout/index.d.ts +5 -5
- package/es/ProLayout/index.js +6 -2
- package/es/ProLayout/propTypes.d.ts +182 -25
- package/es/ProLayout/utils/index.d.ts +2 -2
- package/es/ProSelect/index.d.ts +3 -3
- package/es/ProSelect/propsType.d.ts +141 -31
- package/es/ProStep/components/Item/index.d.ts +2 -2
- package/es/ProStep/components/Step/index.d.ts +2 -2
- package/es/ProStep/index.d.ts +2 -2
- package/es/ProStep/index.js +12 -1
- package/es/ProStep/propsType.d.ts +60 -12
- package/es/ProStep/utils/index.d.ts +2 -2
- package/es/ProTable/components/FormatColumn/index.d.ts +2 -2
- package/es/ProTable/components/FormatColumn/index.js +2 -2
- package/es/ProTable/hooks/useAntdTable.d.ts +2 -2
- package/es/ProTable/index.d.ts +2 -2
- package/es/ProTable/propsType.d.ts +590 -39
- package/es/ProTable/style/index.less +3 -0
- package/es/ProTabs/index.d.ts +2 -2
- package/es/ProTabs/index.js +4 -4
- package/es/ProTabs/propType.d.ts +66 -9
- package/es/ProThemeTools/index.d.ts +2 -2
- package/es/ProThemeTools/propsType.d.ts +136 -14
- package/es/ProTooltip/index.d.ts +2 -2
- package/es/ProTooltip/propsType.d.ts +52 -9
- package/es/ProTree/components/ProTreeSelect/propsType.d.ts +2 -2
- package/es/ProTree/components/SearchTitle.d.ts +2 -2
- package/es/ProTree/propsType.d.ts +651 -62
- package/es/ProTreeModal/propsType.d.ts +2 -2
- package/es/ProUpload/components/ButtonRender.d.ts +2 -2
- package/es/ProUpload/components/DraggableUploadListItem.d.ts +2 -2
- package/es/ProUpload/components/Example.d.ts +2 -2
- package/es/ProUpload/components/ImageRender.d.ts +2 -2
- package/es/ProUpload/index.d.ts +2 -2
- package/es/ProUpload/index.js +0 -7
- package/es/ProUpload/propsType.d.ts +59 -8
- package/es/ProWaterMark/index.d.ts +2 -2
- package/es/ProWaterMark/propsType.d.ts +2 -1
- package/es/index.d.ts +1 -0
- package/es/index.js +1 -0
- package/lib/ProAction/index.d.ts +2 -2
- package/lib/ProAction/propsType.d.ts +16 -10
- package/lib/ProConfigProvider/index.d.ts +6 -6
- package/lib/ProDownload/index.d.ts +2 -2
- package/lib/ProDownload/propsType.d.ts +2 -1
- package/lib/ProDrawerForm/components/ProDrawer/index.d.ts +2 -2
- package/lib/ProDrawerForm/components/ProModal/index.d.ts +2 -2
- package/lib/ProDrawerForm/index.d.ts +1 -2
- package/lib/ProDrawerForm/propsType.d.ts +38 -27
- package/lib/ProDrawerForm/utils/index.d.ts +2 -2
- package/lib/ProEditLabel/components/RenderProForm.d.ts +2 -2
- package/lib/ProEditLabel/index.d.ts +2 -2
- package/lib/ProEditLabel/propsType.d.ts +135 -8
- package/lib/ProEditLabel/style/index.less +24 -25
- package/lib/ProEditTable/components/Summary/index.d.ts +2 -2
- package/lib/ProEditTable/index.d.ts +2 -2
- package/lib/ProEditTable/index.js +6 -8
- package/lib/ProEditTable/propsType.d.ts +232 -93
- package/lib/ProEditTable/style/index.less +1 -0
- package/lib/ProEnum/components/Group.d.ts +2 -2
- package/lib/ProEnum/components/Tag.d.ts +2 -2
- package/lib/ProEnum/hooks/useEnumRequest.d.ts +2 -2
- package/lib/ProEnum/index.d.ts +2 -2
- package/lib/ProEnum/propsType.d.ts +230 -41
- package/lib/ProEnum/propsType.js +1 -7
- package/lib/ProEnum/utils/index.d.ts +1 -1
- package/lib/ProForm/components/FormFooter/index.d.ts +2 -2
- package/lib/ProForm/components/FormFooter/propsType.d.ts +8 -3
- package/lib/ProForm/components/base/Checkbox/index.d.ts +2 -2
- package/lib/ProForm/components/base/Input/index.d.ts +2 -2
- package/lib/ProForm/components/base/Input/propsType.d.ts +8 -4
- package/lib/ProForm/components/base/InputNumber/index.d.ts +2 -2
- package/lib/ProForm/components/base/Radio/index.d.ts +2 -2
- package/lib/ProForm/components/base/RangePicker/index.d.ts +2 -2
- package/lib/ProForm/components/base/Select/index.d.ts +2 -2
- package/lib/ProForm/components/base/Switch/index.d.ts +2 -2
- package/lib/ProForm/components/base/SwitchCheckbox/index.d.ts +2 -2
- package/lib/ProForm/components/base/TextArea/index.d.ts +2 -2
- package/lib/ProForm/components/base/TimePicker/index.d.ts +2 -2
- package/lib/ProForm/components/combination/Container/index.d.ts +2 -2
- package/lib/ProForm/components/combination/Container/propsType.d.ts +9 -5
- package/lib/ProForm/components/combination/FormList/components/ActionButton.d.ts +4 -4
- package/lib/ProForm/components/combination/FormList/components/BlockFields.d.ts +4 -4
- package/lib/ProForm/components/combination/FormList/components/LineFields.d.ts +4 -4
- package/lib/ProForm/components/combination/FormList/components/ToolbarButton.d.ts +2 -2
- package/lib/ProForm/components/combination/FormList/index.d.ts +2 -2
- package/lib/ProForm/components/combination/FormList/propsType.d.ts +18 -10
- package/lib/ProForm/components/combination/Group/index.d.ts +2 -2
- package/lib/ProForm/components/combination/Group/propsType.d.ts +10 -5
- package/lib/ProForm/components/combination/Group/utils.d.ts +4 -4
- package/lib/ProForm/components/combination/ProCascader/index.d.ts +2 -2
- package/lib/ProForm/components/combination/ProCascader/propsType.d.ts +8 -3
- package/lib/ProForm/components/combination/ProCombination/index.d.ts +3 -3
- package/lib/ProForm/components/combination/ProCombination/propsType.d.ts +10 -5
- package/lib/ProForm/components/combination/ProModalSelect/index.d.ts +2 -2
- package/lib/ProForm/components/combination/ProModalSelect/propsType.d.ts +58 -5
- package/lib/ProForm/components/combination/ProNumberRange/propsType.d.ts +7 -3
- package/lib/ProForm/components/combination/ProTimeLimit/index.d.ts +14 -8
- package/lib/ProForm/components/render/ChangedWrapper.d.ts +2 -2
- package/lib/ProForm/components/render/Render.d.ts +2 -2
- package/lib/ProForm/components/render/RenderFields.d.ts +4 -4
- package/lib/ProForm/components/render/propsType.d.ts +54 -43
- package/lib/ProForm/index.d.ts +2 -2
- package/lib/ProForm/propsType.d.ts +22 -15
- package/lib/ProForm/utils/transformValue.d.ts +2 -2
- package/lib/ProForm/utils/useFieldProps.d.ts +3 -3
- package/lib/ProForm/utils/useShouldUpdate.d.ts +3 -3
- package/lib/ProIcon/index.d.ts +2 -2
- package/lib/ProIcon/propsTypes.d.ts +124 -49
- package/lib/ProLayout/components/Layout/Header/index.d.ts +2 -2
- package/lib/ProLayout/components/Layout/Menu/index.d.ts +2 -2
- package/lib/ProLayout/components/Layout/Notice/index.d.ts +2 -2
- package/lib/ProLayout/components/ProCollapse/PropTypes.d.ts +9 -2
- package/lib/ProLayout/components/ProCollapse/index.d.ts +2 -2
- package/lib/ProLayout/components/ProCollapse/index.js +12 -4
- package/lib/ProLayout/components/ProFooter/PropTypes.d.ts +18 -1
- package/lib/ProLayout/components/ProFooter/index.d.ts +2 -2
- package/lib/ProLayout/components/ProHeader/PropTypes.d.ts +121 -14
- package/lib/ProLayout/components/ProHeader/index.d.ts +2 -2
- package/lib/ProLayout/index.d.ts +5 -5
- package/lib/ProLayout/index.js +6 -2
- package/lib/ProLayout/propTypes.d.ts +182 -25
- package/lib/ProLayout/utils/index.d.ts +2 -2
- package/lib/ProSelect/index.d.ts +3 -3
- package/lib/ProSelect/propsType.d.ts +141 -31
- package/lib/ProStep/components/Item/index.d.ts +2 -2
- package/lib/ProStep/components/Step/index.d.ts +2 -2
- package/lib/ProStep/index.d.ts +2 -2
- package/lib/ProStep/index.js +12 -1
- package/lib/ProStep/propsType.d.ts +60 -12
- package/lib/ProStep/utils/index.d.ts +2 -2
- package/lib/ProTable/components/FormatColumn/index.d.ts +2 -2
- package/lib/ProTable/components/FormatColumn/index.js +2 -2
- package/lib/ProTable/hooks/useAntdTable.d.ts +2 -2
- package/lib/ProTable/index.d.ts +2 -2
- package/lib/ProTable/propsType.d.ts +590 -39
- package/lib/ProTable/style/index.less +3 -0
- package/lib/ProTabs/index.d.ts +2 -2
- package/lib/ProTabs/index.js +4 -4
- package/lib/ProTabs/propType.d.ts +66 -9
- package/lib/ProThemeTools/index.d.ts +2 -2
- package/lib/ProThemeTools/propsType.d.ts +136 -14
- package/lib/ProTooltip/index.d.ts +2 -2
- package/lib/ProTooltip/propsType.d.ts +52 -9
- package/lib/ProTree/components/ProTreeSelect/propsType.d.ts +2 -2
- package/lib/ProTree/components/SearchTitle.d.ts +2 -2
- package/lib/ProTree/propsType.d.ts +651 -62
- package/lib/ProTreeModal/propsType.d.ts +2 -2
- package/lib/ProUpload/components/ButtonRender.d.ts +2 -2
- package/lib/ProUpload/components/DraggableUploadListItem.d.ts +2 -2
- package/lib/ProUpload/components/Example.d.ts +2 -2
- package/lib/ProUpload/components/ImageRender.d.ts +2 -2
- package/lib/ProUpload/index.d.ts +2 -2
- package/lib/ProUpload/index.js +0 -7
- package/lib/ProUpload/propsType.d.ts +59 -8
- package/lib/ProWaterMark/index.d.ts +2 -2
- package/lib/ProWaterMark/propsType.d.ts +2 -1
- package/lib/index.d.ts +1 -0
- package/lib/index.js +12 -0
- package/package.json +1 -1
@@ -0,0 +1,160 @@
|
|
1
|
+
|
2
|
+
<!doctype html>
|
3
|
+
<html lang="en">
|
4
|
+
|
5
|
+
<head>
|
6
|
+
<title>Code coverage report for src/.umi/core/pluginRegister.ts</title>
|
7
|
+
<meta charset="utf-8" />
|
8
|
+
<link rel="stylesheet" href="../../../prettify.css" />
|
9
|
+
<link rel="stylesheet" href="../../../base.css" />
|
10
|
+
<link rel="shortcut icon" type="image/x-icon" href="../../../favicon.png" />
|
11
|
+
<meta name="viewport" content="width=device-width, initial-scale=1" />
|
12
|
+
<style type='text/css'>
|
13
|
+
.coverage-summary .sorter {
|
14
|
+
background-image: url(../../../sort-arrow-sprite.png);
|
15
|
+
}
|
16
|
+
</style>
|
17
|
+
</head>
|
18
|
+
|
19
|
+
<body>
|
20
|
+
<div class='wrapper'>
|
21
|
+
<div class='pad1'>
|
22
|
+
<h1><a href="../../../index.html">All files</a> / <a href="index.html">src/.umi/core</a> pluginRegister.ts</h1>
|
23
|
+
<div class='clearfix'>
|
24
|
+
|
25
|
+
<div class='fl pad1y space-right2'>
|
26
|
+
<span class="strong">0% </span>
|
27
|
+
<span class="quiet">Statements</span>
|
28
|
+
<span class='fraction'>0/5</span>
|
29
|
+
</div>
|
30
|
+
|
31
|
+
|
32
|
+
<div class='fl pad1y space-right2'>
|
33
|
+
<span class="strong">100% </span>
|
34
|
+
<span class="quiet">Branches</span>
|
35
|
+
<span class='fraction'>0/0</span>
|
36
|
+
</div>
|
37
|
+
|
38
|
+
|
39
|
+
<div class='fl pad1y space-right2'>
|
40
|
+
<span class="strong">100% </span>
|
41
|
+
<span class="quiet">Functions</span>
|
42
|
+
<span class='fraction'>0/0</span>
|
43
|
+
</div>
|
44
|
+
|
45
|
+
|
46
|
+
<div class='fl pad1y space-right2'>
|
47
|
+
<span class="strong">0% </span>
|
48
|
+
<span class="quiet">Lines</span>
|
49
|
+
<span class='fraction'>0/5</span>
|
50
|
+
</div>
|
51
|
+
|
52
|
+
|
53
|
+
</div>
|
54
|
+
<p class="quiet">
|
55
|
+
Press <em>n</em> or <em>j</em> to go to the next uncovered block, <em>b</em>, <em>p</em> or <em>k</em> for the previous block.
|
56
|
+
</p>
|
57
|
+
<template id="filterTemplate">
|
58
|
+
<div class="quiet">
|
59
|
+
Filter:
|
60
|
+
<input type="search" id="fileSearch">
|
61
|
+
</div>
|
62
|
+
</template>
|
63
|
+
</div>
|
64
|
+
<div class='status-line low'></div>
|
65
|
+
<pre><table class="coverage">
|
66
|
+
<tr><td class="line-count quiet"><a name='L1'></a><a href='#L1'>1</a>
|
67
|
+
<a name='L2'></a><a href='#L2'>2</a>
|
68
|
+
<a name='L3'></a><a href='#L3'>3</a>
|
69
|
+
<a name='L4'></a><a href='#L4'>4</a>
|
70
|
+
<a name='L5'></a><a href='#L5'>5</a>
|
71
|
+
<a name='L6'></a><a href='#L6'>6</a>
|
72
|
+
<a name='L7'></a><a href='#L7'>7</a>
|
73
|
+
<a name='L8'></a><a href='#L8'>8</a>
|
74
|
+
<a name='L9'></a><a href='#L9'>9</a>
|
75
|
+
<a name='L10'></a><a href='#L10'>10</a>
|
76
|
+
<a name='L11'></a><a href='#L11'>11</a>
|
77
|
+
<a name='L12'></a><a href='#L12'>12</a>
|
78
|
+
<a name='L13'></a><a href='#L13'>13</a>
|
79
|
+
<a name='L14'></a><a href='#L14'>14</a>
|
80
|
+
<a name='L15'></a><a href='#L15'>15</a>
|
81
|
+
<a name='L16'></a><a href='#L16'>16</a>
|
82
|
+
<a name='L17'></a><a href='#L17'>17</a>
|
83
|
+
<a name='L18'></a><a href='#L18'>18</a>
|
84
|
+
<a name='L19'></a><a href='#L19'>19</a>
|
85
|
+
<a name='L20'></a><a href='#L20'>20</a>
|
86
|
+
<a name='L21'></a><a href='#L21'>21</a>
|
87
|
+
<a name='L22'></a><a href='#L22'>22</a>
|
88
|
+
<a name='L23'></a><a href='#L23'>23</a>
|
89
|
+
<a name='L24'></a><a href='#L24'>24</a>
|
90
|
+
<a name='L25'></a><a href='#L25'>25</a>
|
91
|
+
<a name='L26'></a><a href='#L26'>26</a></td><td class="line-coverage quiet"><span class="cline-any cline-neutral"> </span>
|
92
|
+
<span class="cline-any cline-neutral"> </span>
|
93
|
+
<span class="cline-any cline-neutral"> </span>
|
94
|
+
<span class="cline-any cline-neutral"> </span>
|
95
|
+
<span class="cline-any cline-neutral"> </span>
|
96
|
+
<span class="cline-any cline-neutral"> </span>
|
97
|
+
<span class="cline-any cline-neutral"> </span>
|
98
|
+
<span class="cline-any cline-no"> </span>
|
99
|
+
<span class="cline-any cline-neutral"> </span>
|
100
|
+
<span class="cline-any cline-neutral"> </span>
|
101
|
+
<span class="cline-any cline-neutral"> </span>
|
102
|
+
<span class="cline-any cline-no"> </span>
|
103
|
+
<span class="cline-any cline-neutral"> </span>
|
104
|
+
<span class="cline-any cline-neutral"> </span>
|
105
|
+
<span class="cline-any cline-neutral"> </span>
|
106
|
+
<span class="cline-any cline-no"> </span>
|
107
|
+
<span class="cline-any cline-neutral"> </span>
|
108
|
+
<span class="cline-any cline-neutral"> </span>
|
109
|
+
<span class="cline-any cline-neutral"> </span>
|
110
|
+
<span class="cline-any cline-no"> </span>
|
111
|
+
<span class="cline-any cline-neutral"> </span>
|
112
|
+
<span class="cline-any cline-neutral"> </span>
|
113
|
+
<span class="cline-any cline-neutral"> </span>
|
114
|
+
<span class="cline-any cline-neutral"> </span>
|
115
|
+
<span class="cline-any cline-no"> </span>
|
116
|
+
<span class="cline-any cline-neutral"> </span></td><td class="text"><pre class="prettyprint lang-js">// @ts-nocheck
|
117
|
+
import { plugin } from './plugin';
|
118
|
+
import * as Plugin_0 from '/Users/zakj/site/zakj/za-material-warehouse/src/.umi/plugin-antd/runtime.tsx';
|
119
|
+
import * as Plugin_1 from '../plugin-initial-state/runtime';
|
120
|
+
import * as Plugin_2 from '/Users/zakj/site/zakj/za-material-warehouse/src/.umi/plugin-locale/runtime.tsx';
|
121
|
+
import * as Plugin_3 from '../plugin-model/runtime';
|
122
|
+
|
123
|
+
<span class="cstat-no" title="statement not covered" > plugin.register({</span>
|
124
|
+
apply: Plugin_0,
|
125
|
+
path: '/Users/zakj/site/zakj/za-material-warehouse/src/.umi/plugin-antd/runtime.tsx',
|
126
|
+
});
|
127
|
+
<span class="cstat-no" title="statement not covered" > plugin.register({</span>
|
128
|
+
apply: Plugin_1,
|
129
|
+
path: '../plugin-initial-state/runtime',
|
130
|
+
});
|
131
|
+
<span class="cstat-no" title="statement not covered" > plugin.register({</span>
|
132
|
+
apply: Plugin_2,
|
133
|
+
path: '/Users/zakj/site/zakj/za-material-warehouse/src/.umi/plugin-locale/runtime.tsx',
|
134
|
+
});
|
135
|
+
<span class="cstat-no" title="statement not covered" > plugin.register({</span>
|
136
|
+
apply: Plugin_3,
|
137
|
+
path: '../plugin-model/runtime',
|
138
|
+
});
|
139
|
+
|
140
|
+
export const __mfsu = <span class="cstat-no" title="statement not covered" >1;</span>
|
141
|
+
</pre></td></tr></table></pre>
|
142
|
+
|
143
|
+
<div class='push'></div><!-- for sticky footer -->
|
144
|
+
</div><!-- /wrapper -->
|
145
|
+
<div class='footer quiet pad2 space-top1 center small'>
|
146
|
+
Code coverage generated by
|
147
|
+
<a href="https://istanbul.js.org/" target="_blank" rel="noopener noreferrer">istanbul</a>
|
148
|
+
at 2025-03-19T09:36:25.296Z
|
149
|
+
</div>
|
150
|
+
<script src="../../../prettify.js"></script>
|
151
|
+
<script>
|
152
|
+
window.onload = function () {
|
153
|
+
prettyPrint();
|
154
|
+
};
|
155
|
+
</script>
|
156
|
+
<script src="../../../sorter.js"></script>
|
157
|
+
<script src="../../../block-navigation.js"></script>
|
158
|
+
</body>
|
159
|
+
</html>
|
160
|
+
|
@@ -0,0 +1,97 @@
|
|
1
|
+
|
2
|
+
<!doctype html>
|
3
|
+
<html lang="en">
|
4
|
+
|
5
|
+
<head>
|
6
|
+
<title>Code coverage report for src/.umi/core/polyfill.ts</title>
|
7
|
+
<meta charset="utf-8" />
|
8
|
+
<link rel="stylesheet" href="../../../prettify.css" />
|
9
|
+
<link rel="stylesheet" href="../../../base.css" />
|
10
|
+
<link rel="shortcut icon" type="image/x-icon" href="../../../favicon.png" />
|
11
|
+
<meta name="viewport" content="width=device-width, initial-scale=1" />
|
12
|
+
<style type='text/css'>
|
13
|
+
.coverage-summary .sorter {
|
14
|
+
background-image: url(../../../sort-arrow-sprite.png);
|
15
|
+
}
|
16
|
+
</style>
|
17
|
+
</head>
|
18
|
+
|
19
|
+
<body>
|
20
|
+
<div class='wrapper'>
|
21
|
+
<div class='pad1'>
|
22
|
+
<h1><a href="../../../index.html">All files</a> / <a href="index.html">src/.umi/core</a> polyfill.ts</h1>
|
23
|
+
<div class='clearfix'>
|
24
|
+
|
25
|
+
<div class='fl pad1y space-right2'>
|
26
|
+
<span class="strong">0% </span>
|
27
|
+
<span class="quiet">Statements</span>
|
28
|
+
<span class='fraction'>0/0</span>
|
29
|
+
</div>
|
30
|
+
|
31
|
+
|
32
|
+
<div class='fl pad1y space-right2'>
|
33
|
+
<span class="strong">0% </span>
|
34
|
+
<span class="quiet">Branches</span>
|
35
|
+
<span class='fraction'>0/0</span>
|
36
|
+
</div>
|
37
|
+
|
38
|
+
|
39
|
+
<div class='fl pad1y space-right2'>
|
40
|
+
<span class="strong">0% </span>
|
41
|
+
<span class="quiet">Functions</span>
|
42
|
+
<span class='fraction'>0/0</span>
|
43
|
+
</div>
|
44
|
+
|
45
|
+
|
46
|
+
<div class='fl pad1y space-right2'>
|
47
|
+
<span class="strong">0% </span>
|
48
|
+
<span class="quiet">Lines</span>
|
49
|
+
<span class='fraction'>0/0</span>
|
50
|
+
</div>
|
51
|
+
|
52
|
+
|
53
|
+
</div>
|
54
|
+
<p class="quiet">
|
55
|
+
Press <em>n</em> or <em>j</em> to go to the next uncovered block, <em>b</em>, <em>p</em> or <em>k</em> for the previous block.
|
56
|
+
</p>
|
57
|
+
<template id="filterTemplate">
|
58
|
+
<div class="quiet">
|
59
|
+
Filter:
|
60
|
+
<input type="search" id="fileSearch">
|
61
|
+
</div>
|
62
|
+
</template>
|
63
|
+
</div>
|
64
|
+
<div class='status-line low'></div>
|
65
|
+
<pre><table class="coverage">
|
66
|
+
<tr><td class="line-count quiet"><a name='L1'></a><a href='#L1'>1</a>
|
67
|
+
<a name='L2'></a><a href='#L2'>2</a>
|
68
|
+
<a name='L3'></a><a href='#L3'>3</a>
|
69
|
+
<a name='L4'></a><a href='#L4'>4</a>
|
70
|
+
<a name='L5'></a><a href='#L5'>5</a></td><td class="line-coverage quiet"><span class="cline-any cline-neutral"> </span>
|
71
|
+
<span class="cline-any cline-neutral"> </span>
|
72
|
+
<span class="cline-any cline-neutral"> </span>
|
73
|
+
<span class="cline-any cline-neutral"> </span>
|
74
|
+
<span class="cline-any cline-neutral"> </span></td><td class="text"><pre class="prettyprint lang-js">// @ts-nocheck
|
75
|
+
import 'core-js';
|
76
|
+
import 'regenerator-runtime/runtime';
|
77
|
+
export {};
|
78
|
+
</pre></td></tr></table></pre>
|
79
|
+
|
80
|
+
<div class='push'></div><!-- for sticky footer -->
|
81
|
+
</div><!-- /wrapper -->
|
82
|
+
<div class='footer quiet pad2 space-top1 center small'>
|
83
|
+
Code coverage generated by
|
84
|
+
<a href="https://istanbul.js.org/" target="_blank" rel="noopener noreferrer">istanbul</a>
|
85
|
+
at 2025-03-19T09:36:25.296Z
|
86
|
+
</div>
|
87
|
+
<script src="../../../prettify.js"></script>
|
88
|
+
<script>
|
89
|
+
window.onload = function () {
|
90
|
+
prettyPrint();
|
91
|
+
};
|
92
|
+
</script>
|
93
|
+
<script src="../../../sorter.js"></script>
|
94
|
+
<script src="../../../block-navigation.js"></script>
|
95
|
+
</body>
|
96
|
+
</html>
|
97
|
+
|
package/dist/index.esm.css
CHANGED
@@ -1829,6 +1829,10 @@
|
|
1829
1829
|
.ant-tabs-dropdown-menu .pro-tabs-card .pro-tabs-card-right img {
|
1830
1830
|
width: 48px;
|
1831
1831
|
}
|
1832
|
+
.pro-table .pro-tooltip .singleLine {
|
1833
|
+
-webkit-transition: none;
|
1834
|
+
transition: none;
|
1835
|
+
}
|
1832
1836
|
.pro-table.pro-table-draggable-only .ant-table-tbody .anticon {
|
1833
1837
|
margin-right: 0;
|
1834
1838
|
}
|
@@ -4592,6 +4596,10 @@ span.ant-input-group-compact.pro-range-limit .forever-checkbox {
|
|
4592
4596
|
display: -webkit-flex;
|
4593
4597
|
display: -ms-flexbox;
|
4594
4598
|
display: flex;
|
4599
|
+
-webkit-box-pack: end;
|
4600
|
+
-webkit-justify-content: flex-end;
|
4601
|
+
-ms-flex-pack: end;
|
4602
|
+
justify-content: flex-end;
|
4595
4603
|
}
|
4596
4604
|
.pro-edit-table .drag-wrapper .anticon {
|
4597
4605
|
margin-right: var(--zaui-space-size-md, 16px);
|
@@ -4824,8 +4832,8 @@ span.ant-input-group-compact.pro-range-limit .forever-checkbox {
|
|
4824
4832
|
display: block;
|
4825
4833
|
}
|
4826
4834
|
.pro-edit-label .pro-form-view-container {
|
4827
|
-
word-break: break-all;
|
4828
4835
|
display: inline-block;
|
4836
|
+
word-break: break-all;
|
4829
4837
|
}
|
4830
4838
|
.pro-edit-label.trigger-hover .anticon-edit {
|
4831
4839
|
display: none;
|
@@ -4834,15 +4842,15 @@ span.ant-input-group-compact.pro-range-limit .forever-checkbox {
|
|
4834
4842
|
display: block;
|
4835
4843
|
}
|
4836
4844
|
.pro-edit-label .anticon-edit {
|
4837
|
-
color: #D8D8D8;
|
4838
|
-
cursor: pointer;
|
4839
4845
|
padding: var(--zaui-space-size-xs, 4px);
|
4846
|
+
color: #d8d8d8;
|
4847
|
+
cursor: pointer;
|
4840
4848
|
}
|
4841
4849
|
.pro-edit-label .anticon-edit:hover {
|
4842
|
-
color: var(--zaui-brand, #
|
4850
|
+
color: var(--zaui-brand, #006aff);
|
4843
4851
|
}
|
4844
4852
|
.pro-edit-label .anticon-edit:active {
|
4845
|
-
background: #
|
4853
|
+
background: #e3e8f0;
|
4846
4854
|
border-radius: var(--zaui-border-radius-card, 4px);
|
4847
4855
|
}
|
4848
4856
|
.pro-edit-label.pro-edit-label-small {
|
@@ -4855,8 +4863,8 @@ span.ant-input-group-compact.pro-range-limit .forever-checkbox {
|
|
4855
4863
|
height: 40px;
|
4856
4864
|
}
|
4857
4865
|
.ant-popover .ant-btn-sm {
|
4858
|
-
font-size: var(--zaui-font-size-sm, 12px);
|
4859
4866
|
min-width: 56px;
|
4867
|
+
font-size: var(--zaui-font-size-sm, 12px);
|
4860
4868
|
line-height: 1;
|
4861
4869
|
}
|
4862
4870
|
.ant-popover .ant-btn-sm span {
|
@@ -4865,6 +4873,9 @@ span.ant-input-group-compact.pro-range-limit .forever-checkbox {
|
|
4865
4873
|
.pro-edit-label-popconfirm {
|
4866
4874
|
z-index: 1001 !important;
|
4867
4875
|
}
|
4876
|
+
.pro-edit-label-popconfirm .ant-popover-inner-content {
|
4877
|
+
width: 100%;
|
4878
|
+
}
|
4868
4879
|
.pro-edit-label-popconfirm .ant-popover-message {
|
4869
4880
|
display: block;
|
4870
4881
|
}
|
@@ -4876,20 +4887,20 @@ span.ant-input-group-compact.pro-range-limit .forever-checkbox {
|
|
4876
4887
|
max-width: 400px;
|
4877
4888
|
}
|
4878
4889
|
.pro-edit-label-popconfirm .pro-edit-label-title {
|
4879
|
-
font-size: var(--zaui-font-size-lg, 16px);
|
4880
|
-
font-weight: 500;
|
4881
|
-
color: var(--zaui-text, #343434);
|
4882
4890
|
margin-bottom: calc(var(--zaui-space-size-sm, 8px) * var(--zaui-size, 1));
|
4891
|
+
color: var(--zaui-text, #343434);
|
4892
|
+
font-weight: 500;
|
4893
|
+
font-size: var(--zaui-font-size-lg, 16px);
|
4883
4894
|
}
|
4884
4895
|
.pro-edit-label-popconfirm .pro-edit-label-tip {
|
4885
4896
|
margin-bottom: calc(var(--zaui-space-size-md, 16px) * var(--zaui-size, 1));
|
4886
4897
|
color: #666;
|
4887
4898
|
}
|
4888
4899
|
.pro-edit-label-popconfirm .pro-edit-label-tip .anticon-info-circle {
|
4889
|
-
font-size: var(--zaui-font-size-lg, 16px);
|
4890
|
-
margin-right: var(--zaui-space-size-sm, 8px);
|
4891
|
-
color: var(--zaui-warning, #EC9131);
|
4892
4900
|
margin-top: var(--zaui-space-size-xs, 4px);
|
4901
|
+
margin-right: var(--zaui-space-size-sm, 8px);
|
4902
|
+
color: var(--zaui-warning, #ec9131);
|
4903
|
+
font-size: var(--zaui-font-size-lg, 16px);
|
4893
4904
|
}
|
4894
4905
|
.pro-edit-label-popconfirm .pro-edit-label-popup {
|
4895
4906
|
min-width: 300px;
|
@@ -4905,12 +4916,12 @@ span.ant-input-group-compact.pro-range-limit .forever-checkbox {
|
|
4905
4916
|
-webkit-flex: 0 0 var(--zaui-form-label-width, 130px);
|
4906
4917
|
-ms-flex: 0 0 var(--zaui-form-label-width, 130px);
|
4907
4918
|
flex: 0 0 var(--zaui-form-label-width, 130px);
|
4908
|
-
white-space: pre-wrap;
|
4909
|
-
line-height: 1;
|
4910
|
-
overflow: initial;
|
4911
4919
|
-webkit-box-sizing: border-box;
|
4912
4920
|
box-sizing: border-box;
|
4913
4921
|
padding-right: var(--zaui-space-size-md, 16px);
|
4922
|
+
overflow: initial;
|
4923
|
+
line-height: 1;
|
4924
|
+
white-space: pre-wrap;
|
4914
4925
|
}
|
4915
4926
|
.pro-edit-label-popconfirm .ant-select {
|
4916
4927
|
width: 100%;
|
package/dist/less.esm.css
CHANGED
@@ -1829,6 +1829,10 @@
|
|
1829
1829
|
.ant-tabs-dropdown-menu .pro-tabs-card .pro-tabs-card-right img {
|
1830
1830
|
width: 48px;
|
1831
1831
|
}
|
1832
|
+
.pro-table .pro-tooltip .singleLine {
|
1833
|
+
-webkit-transition: none;
|
1834
|
+
transition: none;
|
1835
|
+
}
|
1832
1836
|
.pro-table.pro-table-draggable-only .ant-table-tbody .anticon {
|
1833
1837
|
margin-right: 0;
|
1834
1838
|
}
|
@@ -4592,6 +4596,10 @@ span.ant-input-group-compact.pro-range-limit .forever-checkbox {
|
|
4592
4596
|
display: -webkit-flex;
|
4593
4597
|
display: -ms-flexbox;
|
4594
4598
|
display: flex;
|
4599
|
+
-webkit-box-pack: end;
|
4600
|
+
-webkit-justify-content: flex-end;
|
4601
|
+
-ms-flex-pack: end;
|
4602
|
+
justify-content: flex-end;
|
4595
4603
|
}
|
4596
4604
|
.pro-edit-table .drag-wrapper .anticon {
|
4597
4605
|
margin-right: var(--zaui-space-size-md, 16px);
|
@@ -4824,8 +4832,8 @@ span.ant-input-group-compact.pro-range-limit .forever-checkbox {
|
|
4824
4832
|
display: block;
|
4825
4833
|
}
|
4826
4834
|
.pro-edit-label .pro-form-view-container {
|
4827
|
-
word-break: break-all;
|
4828
4835
|
display: inline-block;
|
4836
|
+
word-break: break-all;
|
4829
4837
|
}
|
4830
4838
|
.pro-edit-label.trigger-hover .anticon-edit {
|
4831
4839
|
display: none;
|
@@ -4834,15 +4842,15 @@ span.ant-input-group-compact.pro-range-limit .forever-checkbox {
|
|
4834
4842
|
display: block;
|
4835
4843
|
}
|
4836
4844
|
.pro-edit-label .anticon-edit {
|
4837
|
-
color: #D8D8D8;
|
4838
|
-
cursor: pointer;
|
4839
4845
|
padding: var(--zaui-space-size-xs, 4px);
|
4846
|
+
color: #d8d8d8;
|
4847
|
+
cursor: pointer;
|
4840
4848
|
}
|
4841
4849
|
.pro-edit-label .anticon-edit:hover {
|
4842
|
-
color: var(--zaui-brand, #
|
4850
|
+
color: var(--zaui-brand, #006aff);
|
4843
4851
|
}
|
4844
4852
|
.pro-edit-label .anticon-edit:active {
|
4845
|
-
background: #
|
4853
|
+
background: #e3e8f0;
|
4846
4854
|
border-radius: var(--zaui-border-radius-card, 4px);
|
4847
4855
|
}
|
4848
4856
|
.pro-edit-label.pro-edit-label-small {
|
@@ -4855,8 +4863,8 @@ span.ant-input-group-compact.pro-range-limit .forever-checkbox {
|
|
4855
4863
|
height: 40px;
|
4856
4864
|
}
|
4857
4865
|
.ant-popover .ant-btn-sm {
|
4858
|
-
font-size: var(--zaui-font-size-sm, 12px);
|
4859
4866
|
min-width: 56px;
|
4867
|
+
font-size: var(--zaui-font-size-sm, 12px);
|
4860
4868
|
line-height: 1;
|
4861
4869
|
}
|
4862
4870
|
.ant-popover .ant-btn-sm span {
|
@@ -4865,6 +4873,9 @@ span.ant-input-group-compact.pro-range-limit .forever-checkbox {
|
|
4865
4873
|
.pro-edit-label-popconfirm {
|
4866
4874
|
z-index: 1001 !important;
|
4867
4875
|
}
|
4876
|
+
.pro-edit-label-popconfirm .ant-popover-inner-content {
|
4877
|
+
width: 100%;
|
4878
|
+
}
|
4868
4879
|
.pro-edit-label-popconfirm .ant-popover-message {
|
4869
4880
|
display: block;
|
4870
4881
|
}
|
@@ -4876,20 +4887,20 @@ span.ant-input-group-compact.pro-range-limit .forever-checkbox {
|
|
4876
4887
|
max-width: 400px;
|
4877
4888
|
}
|
4878
4889
|
.pro-edit-label-popconfirm .pro-edit-label-title {
|
4879
|
-
font-size: var(--zaui-font-size-lg, 16px);
|
4880
|
-
font-weight: 500;
|
4881
|
-
color: var(--zaui-text, #343434);
|
4882
4890
|
margin-bottom: calc(var(--zaui-space-size-sm, 8px) * var(--zaui-size, 1));
|
4891
|
+
color: var(--zaui-text, #343434);
|
4892
|
+
font-weight: 500;
|
4893
|
+
font-size: var(--zaui-font-size-lg, 16px);
|
4883
4894
|
}
|
4884
4895
|
.pro-edit-label-popconfirm .pro-edit-label-tip {
|
4885
4896
|
margin-bottom: calc(var(--zaui-space-size-md, 16px) * var(--zaui-size, 1));
|
4886
4897
|
color: #666;
|
4887
4898
|
}
|
4888
4899
|
.pro-edit-label-popconfirm .pro-edit-label-tip .anticon-info-circle {
|
4889
|
-
font-size: var(--zaui-font-size-lg, 16px);
|
4890
|
-
margin-right: var(--zaui-space-size-sm, 8px);
|
4891
|
-
color: var(--zaui-warning, #EC9131);
|
4892
4900
|
margin-top: var(--zaui-space-size-xs, 4px);
|
4901
|
+
margin-right: var(--zaui-space-size-sm, 8px);
|
4902
|
+
color: var(--zaui-warning, #ec9131);
|
4903
|
+
font-size: var(--zaui-font-size-lg, 16px);
|
4893
4904
|
}
|
4894
4905
|
.pro-edit-label-popconfirm .pro-edit-label-popup {
|
4895
4906
|
min-width: 300px;
|
@@ -4905,12 +4916,12 @@ span.ant-input-group-compact.pro-range-limit .forever-checkbox {
|
|
4905
4916
|
-webkit-flex: 0 0 var(--zaui-form-label-width, 130px);
|
4906
4917
|
-ms-flex: 0 0 var(--zaui-form-label-width, 130px);
|
4907
4918
|
flex: 0 0 var(--zaui-form-label-width, 130px);
|
4908
|
-
white-space: pre-wrap;
|
4909
|
-
line-height: 1;
|
4910
|
-
overflow: initial;
|
4911
4919
|
-webkit-box-sizing: border-box;
|
4912
4920
|
box-sizing: border-box;
|
4913
4921
|
padding-right: var(--zaui-space-size-md, 16px);
|
4922
|
+
overflow: initial;
|
4923
|
+
line-height: 1;
|
4924
|
+
white-space: pre-wrap;
|
4914
4925
|
}
|
4915
4926
|
.pro-edit-label-popconfirm .ant-select {
|
4916
4927
|
width: 100%;
|
package/es/ProAction/index.d.ts
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
import React, { PropsWithChildren } from 'react';
|
2
|
-
import {
|
2
|
+
import type { ProActionType } from './propsType';
|
3
3
|
import './index.less';
|
4
4
|
declare const ProAction: React.FC<PropsWithChildren<{
|
5
|
-
config?:
|
5
|
+
config?: ProActionType[];
|
6
6
|
}>>;
|
7
7
|
export default ProAction;
|
@@ -1,27 +1,31 @@
|
|
1
1
|
import { ReactNode } from 'react';
|
2
2
|
import { Service, Options } from 'ahooks/lib/useRequest/src/types';
|
3
|
-
export interface
|
3
|
+
export interface ProActionType {
|
4
4
|
/**
|
5
|
-
* check
|
6
|
-
*
|
5
|
+
* @description 模式类型:check执行校验并解析错误信息展示,confirm确认提示
|
6
|
+
* @default -
|
7
7
|
*/
|
8
8
|
mode?: 'check' | 'confirm';
|
9
9
|
/**
|
10
|
-
* 标题
|
10
|
+
* @description 标题
|
11
|
+
* @default -
|
11
12
|
*/
|
12
13
|
title?: string | ReactNode;
|
13
14
|
/**
|
14
|
-
*
|
15
|
+
* @description 操作回调函数
|
15
16
|
* @param previouData 接上一个 useRequest 返回的值
|
16
17
|
* @param args 接所有链式 useRequest 返回的值
|
17
|
-
* @
|
18
|
+
* @param index 当前操作的索引
|
19
|
+
* @returns void或Promise<void>
|
20
|
+
* @default -
|
18
21
|
*/
|
19
22
|
onAction?: (previouData?: any, args?: any[], index?: number) => void | Promise<void>;
|
20
23
|
/**
|
21
|
-
* 自定义请求
|
24
|
+
* @description 自定义请求
|
22
25
|
* @param previouData 接上一个 useRequest 返回的值
|
23
26
|
* @param args 接所有链式 useRequest 返回的值
|
24
|
-
* @returns
|
27
|
+
* @returns 包含service、options和transformResponse的对象
|
28
|
+
* @default -
|
25
29
|
*/
|
26
30
|
useRequest?: (previouData: any, args: any) => {
|
27
31
|
service?: Service<any, any>;
|
@@ -29,10 +33,12 @@ export interface ActionProps {
|
|
29
33
|
transformResponse?: (data: any) => any;
|
30
34
|
};
|
31
35
|
/**
|
32
|
-
* 是否中断链式操作
|
36
|
+
* @description 是否中断链式操作
|
33
37
|
* @param previouData 上一个操作的返回数据
|
34
38
|
* @param args 所有链式的数据合集
|
35
|
-
* @returns
|
39
|
+
* @returns 布尔值,返回true继续执行,返回false中断操作
|
40
|
+
* @default -
|
36
41
|
*/
|
37
42
|
continue?: (previouData: any, args: any[]) => boolean;
|
38
43
|
}
|
44
|
+
export type ProActionProps = ProActionType;
|
@@ -1,15 +1,15 @@
|
|
1
1
|
import React, { FC } from 'react';
|
2
2
|
import { FormInstance } from 'antd';
|
3
|
-
import {
|
4
|
-
import {
|
5
|
-
import {
|
3
|
+
import { PropSelectType } from '../ProSelect/propsType';
|
4
|
+
import { ProModalSelectType } from '../ProForm/components/combination/ProModalSelect/propsType';
|
5
|
+
import { ProCascaderType } from '../ProForm/components/combination/ProCascader/propsType';
|
6
6
|
import { ProEnumConfig } from '../ProEnum/propsType';
|
7
7
|
export interface ProConfigState {
|
8
8
|
locale?: string;
|
9
9
|
ProEnum?: Partial<ProEnumConfig>;
|
10
|
-
ProSelect?: Partial<
|
11
|
-
ProModalSelect?: Partial<
|
12
|
-
ProAddressBar?: Partial<
|
10
|
+
ProSelect?: Partial<PropSelectType> & Record<string, any>;
|
11
|
+
ProModalSelect?: Partial<ProModalSelectType> & Record<string, any>;
|
12
|
+
ProAddressBar?: Partial<ProCascaderType> & Record<string, any>;
|
13
13
|
forms: Record<string, FormInstance | undefined>;
|
14
14
|
[key: string]: any;
|
15
15
|
}
|
@@ -1,6 +1,6 @@
|
|
1
|
-
import {
|
1
|
+
import type { ProDownloadType } from './propsType';
|
2
2
|
declare const ProDownload: {
|
3
|
-
(props:
|
3
|
+
(props: ProDownloadType): import("react/jsx-runtime").JSX.Element;
|
4
4
|
downLoadRequest: import("./utils").DownloadRequestProps;
|
5
5
|
};
|
6
6
|
export default ProDownload;
|
@@ -1,7 +1,7 @@
|
|
1
1
|
import { ReactNode } from 'react';
|
2
2
|
import type { ButtonProps } from 'antd';
|
3
3
|
import type { DownloadRequestProps, PropsWithMakeFilePropsType } from './utils';
|
4
|
-
export interface
|
4
|
+
export interface ProDownloadType extends ButtonProps {
|
5
5
|
/**
|
6
6
|
* @description 下载资源获取来源:api:通过接口获取,url:通过静态资源链接获取
|
7
7
|
* @default api
|
@@ -69,3 +69,4 @@ export interface IProDownloadProps extends ButtonProps {
|
|
69
69
|
children?: string | ReactNode;
|
70
70
|
[key: string]: any;
|
71
71
|
}
|
72
|
+
export type IProDownloadProps = ProDownloadType;
|
@@ -1,7 +1,7 @@
|
|
1
1
|
import { FC } from 'react';
|
2
|
-
import {
|
2
|
+
import { ProDrawerFormType } from '../../propsType';
|
3
3
|
/**
|
4
4
|
* 抽屉组件
|
5
5
|
*/
|
6
|
-
declare const ProDrawer: FC<
|
6
|
+
declare const ProDrawer: FC<ProDrawerFormType>;
|
7
7
|
export default ProDrawer;
|
@@ -1,7 +1,7 @@
|
|
1
1
|
import { FC } from 'react';
|
2
|
-
import {
|
2
|
+
import { ProDrawerFormType } from '../../propsType';
|
3
3
|
/**
|
4
4
|
* 弹窗组件
|
5
5
|
*/
|
6
|
-
declare const ProModal: FC<
|
6
|
+
declare const ProModal: FC<ProDrawerFormType>;
|
7
7
|
export default ProModal;
|
@@ -1,5 +1,4 @@
|
|
1
1
|
import React from 'react';
|
2
2
|
import { FormInstance } from 'antd/es/form/Form';
|
3
|
-
|
4
|
-
declare const ProDrawerForm: React.ForwardRefExoticComponent<ProDrawerFormPropsType & React.RefAttributes<FormInstance<any>>>;
|
3
|
+
declare const ProDrawerForm: React.ForwardRefExoticComponent<import("./propsType").ProDrawerFormPropsType & React.RefAttributes<FormInstance<any>>>;
|
5
4
|
export default ProDrawerForm;
|