@zat-design/sisyphus-react 3.11.14-beta.10 → 3.11.14-beta.11
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/coverage/lcov-report/src/.umi/core/devScripts.ts.html +241 -0
- package/coverage/lcov-report/src/.umi/core/history.ts.html +3 -3
- package/coverage/lcov-report/src/.umi/core/index.html +68 -8
- package/coverage/lcov-report/src/.umi/core/plugin.ts.html +3 -3
- package/coverage/lcov-report/src/.umi/core/pluginRegister.ts.html +6 -6
- package/coverage/lcov-report/src/.umi/core/polyfill.ts.html +2 -2
- package/coverage/lcov-report/src/.umi/core/routes.ts.html +26050 -0
- package/coverage/lcov-report/src/.umi/core/umiExports.ts.html +112 -0
- package/coverage/lcov-report/src/.umi/dumi/demos/index.html +116 -0
- package/coverage/lcov-report/src/.umi/dumi/demos/index.ts.html +6340 -0
- package/coverage/lcov-report/src/.umi/dumi/index.html +116 -0
- package/coverage/lcov-report/src/.umi/dumi/layout.tsx.html +109 -0
- package/coverage/lcov-report/src/.umi/index.html +116 -0
- package/coverage/lcov-report/src/.umi/plugin-antd/index.html +116 -0
- package/coverage/{src/.umi/core/pluginRegister.ts.html → lcov-report/src/.umi/plugin-antd/runtime.tsx.html} +46 -34
- package/coverage/{src/.umi/core/polyfill.ts.html → lcov-report/src/.umi/plugin-helmet/exports.ts.html} +7 -10
- package/coverage/lcov-report/src/.umi/plugin-helmet/index.html +116 -0
- package/coverage/lcov-report/src/.umi/plugin-initial-state/Provider.tsx.html +196 -0
- package/coverage/{src/.umi/core/plugin.ts.html → lcov-report/src/.umi/plugin-initial-state/exports.ts.html} +10 -13
- package/coverage/{src/.umi/core → lcov-report/src/.umi/plugin-initial-state}/index.html +30 -30
- package/coverage/lcov-report/src/.umi/plugin-initial-state/models/index.html +116 -0
- package/coverage/lcov-report/src/.umi/plugin-initial-state/models/initialState.ts.html +88 -0
- package/coverage/lcov-report/src/.umi/plugin-initial-state/runtime.tsx.html +124 -0
- package/coverage/lcov-report/src/.umi/plugin-locale/SelectLang.tsx.html +1246 -0
- package/coverage/lcov-report/src/.umi/plugin-locale/index.html +161 -0
- package/coverage/lcov-report/src/.umi/plugin-locale/locale.tsx.html +268 -0
- package/coverage/lcov-report/src/.umi/plugin-locale/localeExports.ts.html +778 -0
- package/coverage/lcov-report/src/.umi/plugin-locale/runtime.tsx.html +115 -0
- package/coverage/lcov-report/src/.umi/plugin-model/Provider.tsx.html +202 -0
- package/coverage/lcov-report/src/.umi/plugin-model/helpers/constant.tsx.html +97 -0
- package/coverage/{src/.umi/core/history.ts.html → lcov-report/src/.umi/plugin-model/helpers/dispatcher.tsx.html} +32 -38
- package/coverage/lcov-report/src/.umi/plugin-model/helpers/executor.tsx.html +334 -0
- package/coverage/lcov-report/src/.umi/plugin-model/helpers/index.html +146 -0
- package/coverage/lcov-report/src/.umi/plugin-model/index.html +146 -0
- package/coverage/lcov-report/src/.umi/plugin-model/runtime.tsx.html +121 -0
- package/coverage/lcov-report/src/.umi/plugin-model/useModel.tsx.html +298 -0
- package/coverage/lcov-report/src/.umi/plugin-request/index.html +116 -0
- package/coverage/lcov-report/src/.umi/plugin-request/request.ts.html +919 -0
- package/coverage/lcov-report/src/.umi/umi.ts.html +268 -0
- package/es/ProConfigProvider/index.d.ts +4 -4
- package/es/ProDrawerForm/propsType.d.ts +1 -1
- package/es/ProEditLabel/propsType.d.ts +2 -2
- package/es/ProEditTable/propsType.d.ts +2 -2
- package/es/ProEnum/propsType.d.ts +2 -2
- package/es/ProForm/components/FormFooter/index.d.ts +1 -1
- package/es/ProForm/components/base/Checkbox/index.d.ts +1 -1
- package/es/ProForm/components/base/Input/propsType.d.ts +3 -3
- package/es/ProForm/components/base/InputNumber/index.d.ts +1 -1
- package/es/ProForm/components/base/Radio/index.d.ts +1 -1
- package/es/ProForm/components/base/RangePicker/index.d.ts +1 -1
- package/es/ProForm/components/base/Select/index.d.ts +1 -1
- package/es/ProForm/components/base/Switch/index.d.ts +1 -1
- package/es/ProForm/components/base/SwitchCheckbox/index.d.ts +1 -1
- package/es/ProForm/components/base/TextArea/index.d.ts +1 -1
- package/es/ProForm/components/base/TimePicker/index.d.ts +1 -1
- package/es/ProForm/components/combination/Container/propsType.d.ts +3 -3
- package/es/ProForm/components/combination/FormList/components/ActionButton.d.ts +1 -1
- package/es/ProForm/components/combination/FormList/components/BlockFields.d.ts +1 -1
- package/es/ProForm/components/combination/FormList/components/LineFields.d.ts +2 -2
- package/es/ProForm/components/combination/FormList/components/ToolbarButton.d.ts +1 -1
- package/es/ProForm/components/combination/FormList/propsType.d.ts +2 -2
- package/es/ProForm/components/combination/Group/index.d.ts +1 -1
- package/es/ProForm/components/combination/Group/propsType.d.ts +1 -1
- package/es/ProForm/components/combination/Group/utils.d.ts +3 -3
- package/es/ProForm/components/combination/ProCascader/index.d.ts +1 -1
- package/es/ProForm/components/combination/ProCombination/index.d.ts +1 -1
- package/es/ProForm/components/combination/ProCombination/propsType.d.ts +1 -1
- package/es/ProForm/components/combination/ProModalSelect/index.d.ts +1 -1
- package/es/ProForm/components/combination/ProModalSelect/propsType.d.ts +3 -3
- package/es/ProForm/components/combination/ProNumberRange/index.d.ts +2 -2
- package/es/ProForm/components/combination/ProNumberRange/propsType.d.ts +1 -1
- package/es/ProForm/components/combination/ProTimeLimit/index.d.ts +2 -2
- package/es/ProForm/components/old/EnumSelect/index.d.ts +1 -1
- package/es/ProForm/components/old/EnumSelect/interface.d.ts +2 -2
- package/es/ProForm/components/old/InputWithSuffix/index.d.ts +1 -1
- package/es/ProForm/components/old/ProAddress/index.d.ts +1 -1
- package/es/ProForm/components/old/ProCertNo/index.d.ts +1 -1
- package/es/ProForm/components/old/ProCertValidity/index.d.ts +1 -1
- package/es/ProForm/components/old/ProRangeBox/index.d.ts +1 -1
- package/es/ProForm/components/render/ChangedWrapper.d.ts +1 -1
- package/es/ProForm/components/render/ConfirmWrapper.d.ts +2 -2
- package/es/ProForm/components/render/RenderFields.d.ts +3 -3
- package/es/ProForm/components/render/propsType.d.ts +34 -35
- package/es/ProForm/index.d.ts +1 -1
- package/es/ProForm/propsType.d.ts +2 -2
- package/es/ProForm/utils/transformValue.d.ts +1 -1
- package/es/ProForm/utils/useFieldProps.d.ts +1 -1
- package/es/ProForm/utils/useShouldUpdate.d.ts +3 -3
- package/es/ProSelect/propsType.d.ts +1 -1
- package/es/ProTable/components/FormatColumn/index.js +1 -2
- package/es/ProTree/components/List.d.ts +2 -2
- package/es/ProTree/components/List.js +2 -2
- package/es/ProTree/components/ProTree.d.ts +2 -2
- package/es/ProTree/components/ProTreeSelect/index.d.ts +3 -3
- package/es/ProTree/components/ProTreeSelect/propsType.d.ts +378 -33
- package/es/ProTree/components/SearchTitle.d.ts +1 -1
- package/es/ProTree/components/Tree.d.ts +3 -3
- package/es/ProTree/index.d.ts +2 -2
- package/es/ProTree/index.js +1 -1
- package/es/ProTree/propsType.d.ts +55 -42
- package/es/ProTree/utils.d.ts +7 -7
- package/es/ProTreeModal/components/Cascader.d.ts +3 -3
- package/es/ProTreeModal/components/List.d.ts +3 -3
- package/es/ProTreeModal/components/Tree.d.ts +2 -2
- package/es/ProTreeModal/index.d.ts +2 -2
- package/es/ProTreeModal/index.js +2 -2
- package/es/ProTreeModal/propsType.d.ts +259 -48
- package/es/ProTreeModal/utils.d.ts +7 -7
- package/es/index.d.ts +4 -0
- package/es/index.js +4 -0
- package/lib/ProConfigProvider/index.d.ts +4 -4
- package/lib/ProDrawerForm/propsType.d.ts +1 -1
- package/lib/ProEditLabel/propsType.d.ts +2 -2
- package/lib/ProEditTable/propsType.d.ts +2 -2
- package/lib/ProEnum/propsType.d.ts +2 -2
- package/lib/ProForm/components/FormFooter/index.d.ts +1 -1
- package/lib/ProForm/components/base/Checkbox/index.d.ts +1 -1
- package/lib/ProForm/components/base/Input/propsType.d.ts +3 -3
- package/lib/ProForm/components/base/InputNumber/index.d.ts +1 -1
- package/lib/ProForm/components/base/Radio/index.d.ts +1 -1
- package/lib/ProForm/components/base/RangePicker/index.d.ts +1 -1
- package/lib/ProForm/components/base/Select/index.d.ts +1 -1
- package/lib/ProForm/components/base/Switch/index.d.ts +1 -1
- package/lib/ProForm/components/base/SwitchCheckbox/index.d.ts +1 -1
- package/lib/ProForm/components/base/TextArea/index.d.ts +1 -1
- package/lib/ProForm/components/base/TimePicker/index.d.ts +1 -1
- package/lib/ProForm/components/combination/Container/propsType.d.ts +3 -3
- package/lib/ProForm/components/combination/FormList/components/ActionButton.d.ts +1 -1
- package/lib/ProForm/components/combination/FormList/components/BlockFields.d.ts +1 -1
- package/lib/ProForm/components/combination/FormList/components/LineFields.d.ts +2 -2
- package/lib/ProForm/components/combination/FormList/components/ToolbarButton.d.ts +1 -1
- package/lib/ProForm/components/combination/FormList/propsType.d.ts +2 -2
- package/lib/ProForm/components/combination/Group/index.d.ts +1 -1
- package/lib/ProForm/components/combination/Group/propsType.d.ts +1 -1
- package/lib/ProForm/components/combination/Group/utils.d.ts +3 -3
- package/lib/ProForm/components/combination/ProCascader/index.d.ts +1 -1
- package/lib/ProForm/components/combination/ProCombination/index.d.ts +1 -1
- package/lib/ProForm/components/combination/ProCombination/propsType.d.ts +1 -1
- package/lib/ProForm/components/combination/ProModalSelect/index.d.ts +1 -1
- package/lib/ProForm/components/combination/ProModalSelect/propsType.d.ts +3 -3
- package/lib/ProForm/components/combination/ProNumberRange/index.d.ts +2 -2
- package/lib/ProForm/components/combination/ProNumberRange/propsType.d.ts +1 -1
- package/lib/ProForm/components/combination/ProTimeLimit/index.d.ts +2 -2
- package/lib/ProForm/components/old/EnumSelect/index.d.ts +1 -1
- package/lib/ProForm/components/old/EnumSelect/interface.d.ts +2 -2
- package/lib/ProForm/components/old/InputWithSuffix/index.d.ts +1 -1
- package/lib/ProForm/components/old/ProAddress/index.d.ts +1 -1
- package/lib/ProForm/components/old/ProCertNo/index.d.ts +1 -1
- package/lib/ProForm/components/old/ProCertValidity/index.d.ts +1 -1
- package/lib/ProForm/components/old/ProRangeBox/index.d.ts +1 -1
- package/lib/ProForm/components/render/ChangedWrapper.d.ts +1 -1
- package/lib/ProForm/components/render/ConfirmWrapper.d.ts +2 -2
- package/lib/ProForm/components/render/RenderFields.d.ts +3 -3
- package/lib/ProForm/components/render/propsType.d.ts +34 -35
- package/lib/ProForm/index.d.ts +1 -1
- package/lib/ProForm/propsType.d.ts +2 -2
- package/lib/ProForm/utils/transformValue.d.ts +1 -1
- package/lib/ProForm/utils/useFieldProps.d.ts +1 -1
- package/lib/ProForm/utils/useShouldUpdate.d.ts +3 -3
- package/lib/ProSelect/propsType.d.ts +1 -1
- package/lib/ProTable/components/FormatColumn/index.js +1 -2
- package/lib/ProTree/components/List.d.ts +2 -2
- package/lib/ProTree/components/List.js +2 -2
- package/lib/ProTree/components/ProTree.d.ts +2 -2
- package/lib/ProTree/components/ProTreeSelect/index.d.ts +3 -3
- package/lib/ProTree/components/ProTreeSelect/propsType.d.ts +378 -33
- package/lib/ProTree/components/SearchTitle.d.ts +1 -1
- package/lib/ProTree/components/Tree.d.ts +3 -3
- package/lib/ProTree/index.d.ts +2 -2
- package/lib/ProTree/index.js +1 -1
- package/lib/ProTree/propsType.d.ts +55 -42
- package/lib/ProTree/utils.d.ts +7 -7
- package/lib/ProTreeModal/components/Cascader.d.ts +3 -3
- package/lib/ProTreeModal/components/List.d.ts +3 -3
- package/lib/ProTreeModal/components/Tree.d.ts +2 -2
- package/lib/ProTreeModal/index.d.ts +2 -2
- package/lib/ProTreeModal/index.js +2 -2
- package/lib/ProTreeModal/propsType.d.ts +259 -48
- package/lib/ProTreeModal/utils.d.ts +7 -7
- package/lib/index.d.ts +4 -0
- package/lib/index.js +48 -0
- package/package.json +1 -1
- package/.vscode/extensions.json +0 -5
@@ -0,0 +1,268 @@
|
|
1
|
+
|
2
|
+
<!doctype html>
|
3
|
+
<html lang="en">
|
4
|
+
|
5
|
+
<head>
|
6
|
+
<title>Code coverage report for src/.umi/umi.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</a> umi.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/14</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/7</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/4</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/13</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 oninput="onInput()" 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>
|
92
|
+
<a name='L27'></a><a href='#L27'>27</a>
|
93
|
+
<a name='L28'></a><a href='#L28'>28</a>
|
94
|
+
<a name='L29'></a><a href='#L29'>29</a>
|
95
|
+
<a name='L30'></a><a href='#L30'>30</a>
|
96
|
+
<a name='L31'></a><a href='#L31'>31</a>
|
97
|
+
<a name='L32'></a><a href='#L32'>32</a>
|
98
|
+
<a name='L33'></a><a href='#L33'>33</a>
|
99
|
+
<a name='L34'></a><a href='#L34'>34</a>
|
100
|
+
<a name='L35'></a><a href='#L35'>35</a>
|
101
|
+
<a name='L36'></a><a href='#L36'>36</a>
|
102
|
+
<a name='L37'></a><a href='#L37'>37</a>
|
103
|
+
<a name='L38'></a><a href='#L38'>38</a>
|
104
|
+
<a name='L39'></a><a href='#L39'>39</a>
|
105
|
+
<a name='L40'></a><a href='#L40'>40</a>
|
106
|
+
<a name='L41'></a><a href='#L41'>41</a>
|
107
|
+
<a name='L42'></a><a href='#L42'>42</a>
|
108
|
+
<a name='L43'></a><a href='#L43'>43</a>
|
109
|
+
<a name='L44'></a><a href='#L44'>44</a>
|
110
|
+
<a name='L45'></a><a href='#L45'>45</a>
|
111
|
+
<a name='L46'></a><a href='#L46'>46</a>
|
112
|
+
<a name='L47'></a><a href='#L47'>47</a>
|
113
|
+
<a name='L48'></a><a href='#L48'>48</a>
|
114
|
+
<a name='L49'></a><a href='#L49'>49</a>
|
115
|
+
<a name='L50'></a><a href='#L50'>50</a>
|
116
|
+
<a name='L51'></a><a href='#L51'>51</a>
|
117
|
+
<a name='L52'></a><a href='#L52'>52</a>
|
118
|
+
<a name='L53'></a><a href='#L53'>53</a>
|
119
|
+
<a name='L54'></a><a href='#L54'>54</a>
|
120
|
+
<a name='L55'></a><a href='#L55'>55</a>
|
121
|
+
<a name='L56'></a><a href='#L56'>56</a>
|
122
|
+
<a name='L57'></a><a href='#L57'>57</a>
|
123
|
+
<a name='L58'></a><a href='#L58'>58</a>
|
124
|
+
<a name='L59'></a><a href='#L59'>59</a>
|
125
|
+
<a name='L60'></a><a href='#L60'>60</a>
|
126
|
+
<a name='L61'></a><a href='#L61'>61</a>
|
127
|
+
<a name='L62'></a><a href='#L62'>62</a></td><td class="line-coverage quiet"><span class="cline-any cline-neutral"> </span>
|
128
|
+
<span class="cline-any cline-neutral"> </span>
|
129
|
+
<span class="cline-any cline-neutral"> </span>
|
130
|
+
<span class="cline-any cline-neutral"> </span>
|
131
|
+
<span class="cline-any cline-neutral"> </span>
|
132
|
+
<span class="cline-any cline-neutral"> </span>
|
133
|
+
<span class="cline-any cline-neutral"> </span>
|
134
|
+
<span class="cline-any cline-neutral"> </span>
|
135
|
+
<span class="cline-any cline-neutral"> </span>
|
136
|
+
<span class="cline-any cline-neutral"> </span>
|
137
|
+
<span class="cline-any cline-neutral"> </span>
|
138
|
+
<span class="cline-any cline-neutral"> </span>
|
139
|
+
<span class="cline-any cline-neutral"> </span>
|
140
|
+
<span class="cline-any cline-no"> </span>
|
141
|
+
<span class="cline-any cline-neutral"> </span>
|
142
|
+
<span class="cline-any cline-no"> </span>
|
143
|
+
<span class="cline-any cline-neutral"> </span>
|
144
|
+
<span class="cline-any cline-neutral"> </span>
|
145
|
+
<span class="cline-any cline-neutral"> </span>
|
146
|
+
<span class="cline-any cline-no"> </span>
|
147
|
+
<span class="cline-any cline-neutral"> </span>
|
148
|
+
<span class="cline-any cline-neutral"> </span>
|
149
|
+
<span class="cline-any cline-neutral"> </span>
|
150
|
+
<span class="cline-any cline-neutral"> </span>
|
151
|
+
<span class="cline-any cline-neutral"> </span>
|
152
|
+
<span class="cline-any cline-neutral"> </span>
|
153
|
+
<span class="cline-any cline-neutral"> </span>
|
154
|
+
<span class="cline-any cline-neutral"> </span>
|
155
|
+
<span class="cline-any cline-neutral"> </span>
|
156
|
+
<span class="cline-any cline-neutral"> </span>
|
157
|
+
<span class="cline-any cline-neutral"> </span>
|
158
|
+
<span class="cline-any cline-neutral"> </span>
|
159
|
+
<span class="cline-any cline-no"> </span>
|
160
|
+
<span class="cline-any cline-neutral"> </span>
|
161
|
+
<span class="cline-any cline-neutral"> </span>
|
162
|
+
<span class="cline-any cline-neutral"> </span>
|
163
|
+
<span class="cline-any cline-neutral"> </span>
|
164
|
+
<span class="cline-any cline-no"> </span>
|
165
|
+
<span class="cline-any cline-neutral"> </span>
|
166
|
+
<span class="cline-any cline-neutral"> </span>
|
167
|
+
<span class="cline-any cline-neutral"> </span>
|
168
|
+
<span class="cline-any cline-no"> </span>
|
169
|
+
<span class="cline-any cline-neutral"> </span>
|
170
|
+
<span class="cline-any cline-neutral"> </span>
|
171
|
+
<span class="cline-any cline-neutral"> </span>
|
172
|
+
<span class="cline-any cline-neutral"> </span>
|
173
|
+
<span class="cline-any cline-neutral"> </span>
|
174
|
+
<span class="cline-any cline-neutral"> </span>
|
175
|
+
<span class="cline-any cline-no"> </span>
|
176
|
+
<span class="cline-any cline-neutral"> </span>
|
177
|
+
<span class="cline-any cline-no"> </span>
|
178
|
+
<span class="cline-any cline-no"> </span>
|
179
|
+
<span class="cline-any cline-no"> </span>
|
180
|
+
<span class="cline-any cline-no"> </span>
|
181
|
+
<span class="cline-any cline-no"> </span>
|
182
|
+
<span class="cline-any cline-neutral"> </span>
|
183
|
+
<span class="cline-any cline-neutral"> </span>
|
184
|
+
<span class="cline-any cline-no"> </span>
|
185
|
+
<span class="cline-any cline-neutral"> </span>
|
186
|
+
<span class="cline-any cline-neutral"> </span>
|
187
|
+
<span class="cline-any cline-neutral"> </span>
|
188
|
+
<span class="cline-any cline-neutral"> </span></td><td class="text"><pre class="prettyprint lang-js">// @ts-nocheck
|
189
|
+
import './core/polyfill';
|
190
|
+
import '@@/core/devScripts';
|
191
|
+
import { plugin } from './core/plugin';
|
192
|
+
import './core/pluginRegister';
|
193
|
+
import { createHistory } from './core/history';
|
194
|
+
import { ApplyPluginsType } from '/Users/zakj/Desktop/pro/za-material-warehouse/node_modules/@umijs/runtime';
|
195
|
+
import { renderClient } from '/Users/zakj/Desktop/pro/za-material-warehouse/node_modules/@umijs/renderer-react/dist/index.js';
|
196
|
+
import { getRoutes } from './core/routes';
|
197
|
+
|
198
|
+
|
199
|
+
import '../global.less';
|
200
|
+
import { _onCreate } from './plugin-locale/locale';
|
201
|
+
<span class="cstat-no" title="statement not covered" >_onCreate();</span>
|
202
|
+
|
203
|
+
const getClientRender = <span class="cstat-no" title="statement not covered" ><span class="fstat-no" title="function not covered" >(a</span>rgs: { hot?: boolean; routes?: any[] } = <span class="branch-0 cbranch-no" title="branch not covered" >{})</span> => <span class="cstat-no" title="statement not covered" >plugin.applyPlugins({</span></span>
|
204
|
+
key: 'render',
|
205
|
+
type: ApplyPluginsType.compose,
|
206
|
+
initialValue: <span class="fstat-no" title="function not covered" >()</span> => {
|
207
|
+
const opts = <span class="cstat-no" title="statement not covered" >plugin.applyPlugins({</span>
|
208
|
+
key: 'modifyClientRenderOpts',
|
209
|
+
type: ApplyPluginsType.modify,
|
210
|
+
initialValue: {
|
211
|
+
routes: args.routes || getRoutes(),
|
212
|
+
plugin,
|
213
|
+
history: createHistory(args.hot),
|
214
|
+
isServer: process.env.__IS_SERVER,
|
215
|
+
dynamicImport: true,
|
216
|
+
rootElement: 'root',
|
217
|
+
defaultTitle: `sisyphus(3.4.3-beta.6)`,
|
218
|
+
},
|
219
|
+
});
|
220
|
+
<span class="cstat-no" title="statement not covered" > return renderClient(opts);</span>
|
221
|
+
},
|
222
|
+
args,
|
223
|
+
});
|
224
|
+
|
225
|
+
const clientRender = <span class="cstat-no" title="statement not covered" >getClientRender();</span>
|
226
|
+
export default clientRender();
|
227
|
+
|
228
|
+
|
229
|
+
<span class="cstat-no" title="statement not covered" > window.g_umi = {</span>
|
230
|
+
version: '3.5.41',
|
231
|
+
};
|
232
|
+
|
233
|
+
|
234
|
+
// hot module replacement
|
235
|
+
// @ts-ignore
|
236
|
+
<span class="cstat-no" title="statement not covered" >if (module.hot) {</span>
|
237
|
+
// @ts-ignore
|
238
|
+
<span class="cstat-no" title="statement not covered" > module.hot.accept('./core/routes', <span class="fstat-no" title="function not covered" >()</span> => {</span>
|
239
|
+
const ret = <span class="cstat-no" title="statement not covered" >require('./core/routes');</span>
|
240
|
+
<span class="cstat-no" title="statement not covered" > if (ret.then) {</span>
|
241
|
+
<span class="cstat-no" title="statement not covered" > ret.then(<span class="fstat-no" title="function not covered" >({</span> getRoutes }) => {</span>
|
242
|
+
<span class="cstat-no" title="statement not covered" > getClientRender({ hot: true, routes: getRoutes() })();</span>
|
243
|
+
});
|
244
|
+
} else {
|
245
|
+
<span class="cstat-no" title="statement not covered" > getClientRender({ hot: true, routes: ret.getRoutes() })();</span>
|
246
|
+
}
|
247
|
+
});
|
248
|
+
}
|
249
|
+
</pre></td></tr></table></pre>
|
250
|
+
|
251
|
+
<div class='push'></div><!-- for sticky footer -->
|
252
|
+
</div><!-- /wrapper -->
|
253
|
+
<div class='footer quiet pad2 space-top1 center small'>
|
254
|
+
Code coverage generated by
|
255
|
+
<a href="https://istanbul.js.org/" target="_blank" rel="noopener noreferrer">istanbul</a>
|
256
|
+
at 2024-01-24T02:49:50.075Z
|
257
|
+
</div>
|
258
|
+
<script src="../../prettify.js"></script>
|
259
|
+
<script>
|
260
|
+
window.onload = function () {
|
261
|
+
prettyPrint();
|
262
|
+
};
|
263
|
+
</script>
|
264
|
+
<script src="../../sorter.js"></script>
|
265
|
+
<script src="../../block-navigation.js"></script>
|
266
|
+
</body>
|
267
|
+
</html>
|
268
|
+
|
@@ -1,9 +1,9 @@
|
|
1
1
|
import React, { FC } from 'react';
|
2
2
|
import { FormInstance } from 'antd';
|
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
|
-
import { ProEnumConfig } from '../ProEnum/propsType';
|
3
|
+
import type { PropSelectType } from '../ProSelect/propsType';
|
4
|
+
import type { ProModalSelectType } from '../ProForm/components/combination/ProModalSelect/propsType';
|
5
|
+
import type { ProCascaderType } from '../ProForm/components/combination/ProCascader/propsType';
|
6
|
+
import type { ProEnumConfig } from '../ProEnum/propsType';
|
7
7
|
export interface ProConfigState {
|
8
8
|
locale?: string;
|
9
9
|
ProEnum?: Partial<ProEnumConfig>;
|
@@ -2,7 +2,7 @@ import { InputProps } from 'antd/es/input';
|
|
2
2
|
import { PopconfirmProps } from 'antd/es/popconfirm';
|
3
3
|
import { FormInstance } from 'antd/es/form';
|
4
4
|
import React from 'react';
|
5
|
-
import {
|
5
|
+
import type { ProFormColumnType } from '../index';
|
6
6
|
export interface ContainerType {
|
7
7
|
/**
|
8
8
|
* @description 触发方式
|
@@ -77,7 +77,7 @@ export interface PopupType {
|
|
77
77
|
* @description 列配置
|
78
78
|
* @default -
|
79
79
|
*/
|
80
|
-
columns?:
|
80
|
+
columns?: ProFormColumnType;
|
81
81
|
/**
|
82
82
|
* @description 允许扩展字段
|
83
83
|
*/
|
@@ -7,8 +7,8 @@ import type { NamePath } from 'antd/es/form/interface';
|
|
7
7
|
import type { ColumnType, TableProps } from 'antd/es/table';
|
8
8
|
import type { FormInstance, FormItemProps } from 'antd/es/form';
|
9
9
|
import type { FunctionArgs, ProRule } from '../ProForm/propsType';
|
10
|
-
import { ProFormValueType, ColumnTypeMap } from '../ProForm/components/render/propsType';
|
11
|
-
import { DiffOriginalParams } from '../ProForm/utils/diffOriginal';
|
10
|
+
import type { ProFormValueType, ColumnTypeMap } from '../ProForm/components/render/propsType';
|
11
|
+
import type { DiffOriginalParams } from '../ProForm/utils/diffOriginal';
|
12
12
|
/**
|
13
13
|
* 操作类型定义
|
14
14
|
*/
|
@@ -1,8 +1,8 @@
|
|
1
1
|
import React, { ReactNode } from 'react';
|
2
2
|
import { RadioProps, CheckboxProps } from 'antd';
|
3
3
|
import { Service, Options } from 'ahooks/lib/useRequest/src/types';
|
4
|
-
import { ProFormOtherType } from '../index';
|
5
|
-
import { PropSelectProps } from '../ProSelect/propsType';
|
4
|
+
import type { ProFormOtherType } from '../index';
|
5
|
+
import type { PropSelectProps } from '../ProSelect/propsType';
|
6
6
|
/**
|
7
7
|
* @description 数据选项类型
|
8
8
|
*/
|
@@ -1,5 +1,5 @@
|
|
1
1
|
import React from 'react';
|
2
|
-
import { FooterRenderType } from './propsType';
|
2
|
+
import type { FooterRenderType } from './propsType';
|
3
3
|
export declare const PRO_FORM_CACHE = "PRO_FORM_CACHE";
|
4
4
|
declare const FormFooter: React.FC<FooterRenderType>;
|
5
5
|
export default FormFooter;
|
@@ -1,6 +1,6 @@
|
|
1
1
|
import React from 'react';
|
2
2
|
import { CheckboxGroupProps } from 'antd/es/checkbox';
|
3
|
-
import { ProFormOtherType } from '../../../propsType';
|
3
|
+
import type { ProFormOtherType } from '../../../propsType';
|
4
4
|
export interface Props extends Omit<CheckboxGroupProps, 'options'> {
|
5
5
|
dataSource: any[];
|
6
6
|
fieldNames?: {
|
@@ -1,6 +1,6 @@
|
|
1
|
-
import { InputProps } from 'antd';
|
2
|
-
import { FormInstance } from 'antd/es/form/Form';
|
3
|
-
import { ProFormOtherType } from '../../../propsType';
|
1
|
+
import type { InputProps } from 'antd';
|
2
|
+
import type { FormInstance } from 'antd/es/form/Form';
|
3
|
+
import type { ProFormOtherType } from '../../../propsType';
|
4
4
|
export interface ProFieldType<T = any> {
|
5
5
|
from?: FormInstance<T>;
|
6
6
|
label?: string;
|
@@ -1,6 +1,6 @@
|
|
1
1
|
import React from 'react';
|
2
2
|
import { InputNumberProps } from 'antd';
|
3
|
-
import { ProFormOtherType } from '../../../propsType';
|
3
|
+
import type { ProFormOtherType } from '../../../propsType';
|
4
4
|
export interface Props extends Omit<InputNumberProps, 'onBlur'> {
|
5
5
|
otherProps?: ProFormOtherType;
|
6
6
|
range?: string;
|
@@ -1,6 +1,6 @@
|
|
1
1
|
import { RadioChangeEvent, RadioProps } from 'antd';
|
2
2
|
import React from 'react';
|
3
|
-
import { ProFormOtherType } from '../../../propsType';
|
3
|
+
import type { ProFormOtherType } from '../../../propsType';
|
4
4
|
export interface Props extends Omit<RadioProps, 'options' | 'onChange'> {
|
5
5
|
dataSource: any[];
|
6
6
|
onChange: (value: any, e: RadioChangeEvent) => void;
|
@@ -1,6 +1,6 @@
|
|
1
1
|
import type { RangePickerProps } from 'antd/es/date-picker';
|
2
2
|
import React from 'react';
|
3
|
-
import { ProFormOtherType } from '../../../propsType';
|
3
|
+
import type { ProFormOtherType } from '../../../propsType';
|
4
4
|
import { Props as RangeProps } from './useDateRange';
|
5
5
|
export type Props = {
|
6
6
|
otherProps?: ProFormOtherType;
|
@@ -1,6 +1,6 @@
|
|
1
1
|
import { SelectProps } from 'antd';
|
2
2
|
import React from 'react';
|
3
|
-
import { ProFormOtherType } from '../../../propsType';
|
3
|
+
import type { ProFormOtherType } from '../../../propsType';
|
4
4
|
export interface Props extends SelectProps {
|
5
5
|
dataSource?: any[];
|
6
6
|
scrollFollowParent?: boolean;
|
@@ -1,6 +1,6 @@
|
|
1
1
|
import { SwitchProps } from 'antd';
|
2
2
|
import React from 'react';
|
3
|
-
import { ProFormOtherType } from '../../../propsType';
|
3
|
+
import type { ProFormOtherType } from '../../../propsType';
|
4
4
|
export interface Props extends Omit<SwitchProps, 'value'> {
|
5
5
|
value: any;
|
6
6
|
otherProps?: ProFormOtherType;
|
@@ -1,6 +1,6 @@
|
|
1
1
|
import * as React from 'react';
|
2
2
|
import { CheckboxProps } from 'antd';
|
3
|
-
import { ProFormOtherType } from '../../../propsType';
|
3
|
+
import type { ProFormOtherType } from '../../../propsType';
|
4
4
|
export interface Props extends CheckboxProps {
|
5
5
|
label?: string;
|
6
6
|
otherProps?: ProFormOtherType;
|
@@ -1,6 +1,6 @@
|
|
1
1
|
import { TextAreaProps } from 'antd/es/input';
|
2
2
|
import React from 'react';
|
3
|
-
import { ProFormOtherType } from '../../../propsType';
|
3
|
+
import type { ProFormOtherType } from '../../../propsType';
|
4
4
|
import './index.less';
|
5
5
|
export interface Props extends TextAreaProps {
|
6
6
|
otherProps?: ProFormOtherType;
|
@@ -1,6 +1,6 @@
|
|
1
1
|
import React from 'react';
|
2
2
|
import type { TimePickerProps } from 'antd/es/time-picker';
|
3
|
-
import { ProFormOtherType } from '../../../propsType';
|
3
|
+
import type { ProFormOtherType } from '../../../propsType';
|
4
4
|
import './style/index.less';
|
5
5
|
export interface Props {
|
6
6
|
valueType?: string;
|
@@ -1,8 +1,8 @@
|
|
1
1
|
import React from 'react';
|
2
|
-
import { RowProps } from 'antd';
|
3
|
-
import {
|
2
|
+
import type { RowProps } from 'antd';
|
3
|
+
import type { ProFormColumnType, ProFormOtherType, DiffConfigType } from '../../../propsType';
|
4
4
|
export interface ContainerType {
|
5
|
-
children?:
|
5
|
+
children?: ProFormColumnType[];
|
6
6
|
otherProps?: ProFormOtherType;
|
7
7
|
rowProps?: RowProps;
|
8
8
|
className?: string;
|
@@ -1,7 +1,7 @@
|
|
1
1
|
import { FormInstance, FormListFieldData, FormListOperation } from 'antd';
|
2
2
|
import { InternalNamePath } from 'antd/es/form/interface';
|
3
3
|
import React from 'react';
|
4
|
-
import { FormListType, ActionType, FormListMode } from '../propsType';
|
4
|
+
import type { FormListType, ActionType, FormListMode } from '../propsType';
|
5
5
|
export interface Props {
|
6
6
|
min?: FormListType['min'];
|
7
7
|
max?: FormListType['max'];
|
@@ -3,7 +3,7 @@ import React from 'react';
|
|
3
3
|
import { InternalNamePath } from 'antd/es/form/interface';
|
4
4
|
import type { levelType } from '../../../../../ProLayout/components/ProCollapse/PropTypes';
|
5
5
|
import type { FormListType } from '../propsType';
|
6
|
-
import { DiffConfigType } from '../../../../propsType';
|
6
|
+
import type { DiffConfigType } from '../../../../propsType';
|
7
7
|
interface Props extends Omit<FormListType, 'toolbarProps'> {
|
8
8
|
index: number;
|
9
9
|
namePath: InternalNamePath;
|
@@ -1,8 +1,8 @@
|
|
1
1
|
import { ColProps, FormListFieldData } from 'antd';
|
2
2
|
import React from 'react';
|
3
3
|
import { InternalNamePath } from 'antd/es/form/interface';
|
4
|
-
import { FormListType } from '../propsType';
|
5
|
-
import { DiffConfigType } from '../../../../propsType';
|
4
|
+
import type { FormListType } from '../propsType';
|
5
|
+
import type { DiffConfigType } from '../../../../propsType';
|
6
6
|
interface Props extends Omit<FormListType, 'toolbarProps'> {
|
7
7
|
className?: string;
|
8
8
|
index: number;
|
@@ -1,6 +1,6 @@
|
|
1
1
|
import { InternalNamePath } from 'antd/es/form/interface';
|
2
2
|
import React from 'react';
|
3
|
-
import { ToolbarActionType } from '../propsType';
|
3
|
+
import type { ToolbarActionType } from '../propsType';
|
4
4
|
import { Props as ActionButtonProps } from './ActionButton';
|
5
5
|
interface Props extends Omit<ActionButtonProps, 'actionProps' | 'field' | 'index' | 'mode' | 'namePath'> {
|
6
6
|
toolbarProps: ToolbarActionType[];
|
@@ -3,7 +3,7 @@ import type { FormInstance } from 'antd/es/form/Form';
|
|
3
3
|
import type { ButtonProps, FormListFieldData, FormListOperation, PopconfirmProps } from 'antd';
|
4
4
|
import type { InternalNamePath } from 'antd/es/form/interface';
|
5
5
|
import type { levelType } from '../../../../ProLayout/components/ProCollapse/PropTypes';
|
6
|
-
import type {
|
6
|
+
import type { ProFormColumnType, ProFormOtherType } from '../../../propsType';
|
7
7
|
export type TitleRender = (record: Record<string, any>, index: number, form: FormInstance) => any;
|
8
8
|
export type TitleType = string | React.ReactNode | TitleRender;
|
9
9
|
type Callback = (record: any, option: Pick<Option, 'namePath' | 'index' | 'operation' | 'form'>) => any | void;
|
@@ -32,7 +32,7 @@ export interface ToolbarActionType extends Omit<ActionType, 'actionType' | 'onHa
|
|
32
32
|
}
|
33
33
|
export type FormListMode = 'block' | 'line' | 'less';
|
34
34
|
export interface FormListType {
|
35
|
-
columns:
|
35
|
+
columns: ProFormColumnType[];
|
36
36
|
otherProps?: ProFormOtherType;
|
37
37
|
form?: FormInstance;
|
38
38
|
min?: number;
|
@@ -2,7 +2,7 @@ import React from 'react';
|
|
2
2
|
import { FormItemProps, ModalFuncProps, SpaceProps } from 'antd';
|
3
3
|
import { FormInstance } from 'antd/es/form/Form';
|
4
4
|
import { NamePath } from 'antd/lib/form/interface';
|
5
|
-
import { ColumnTypeMap, FunctionArgs, ProFormValueType, ReactiveFunction, ViewType } from '../../../propsType';
|
5
|
+
import type { ColumnTypeMap, FunctionArgs, ProFormValueType, ReactiveFunction, ViewType } from '../../../propsType';
|
6
6
|
export interface SpaceType extends SpaceProps {
|
7
7
|
/**
|
8
8
|
* 是否紧凑合并
|
@@ -1,8 +1,8 @@
|
|
1
1
|
/// <reference types="react" />
|
2
2
|
import { InternalNamePath, NamePath } from 'antd/lib/form/interface';
|
3
3
|
import { FormInstance } from 'antd';
|
4
|
-
import { GroupColumnType, GroupType, SpaceType } from './propsType';
|
5
|
-
import {
|
4
|
+
import type { GroupColumnType, GroupType, SpaceType } from './propsType';
|
5
|
+
import type { ProFormColumnType, ReactiveFunction } from '../../render/propsType';
|
6
6
|
export type EventArgs = any[];
|
7
7
|
/**
|
8
8
|
* 插入间隔符
|
@@ -41,7 +41,7 @@ export declare const getReactiveProps: (params: Params) => {
|
|
41
41
|
fieldProps: boolean;
|
42
42
|
desensitization: [number, number];
|
43
43
|
};
|
44
|
-
type ValueTypeGetterParams = Pick<
|
44
|
+
type ValueTypeGetterParams = Pick<ProFormColumnType, 'valueType' | 'switchValue' | 'toISOString' | 'toCSTString' | 'disabled' | 'desensitization'> & {
|
45
45
|
type?: any;
|
46
46
|
mode?: string;
|
47
47
|
desensitizationKey?: string;
|
@@ -1,4 +1,4 @@
|
|
1
1
|
/// <reference types="react" />
|
2
|
-
import { ProCascaderType } from './propsType';
|
2
|
+
import type { ProCascaderType } from './propsType';
|
3
3
|
declare const _default: import("react").MemoExoticComponent<(props: ProCascaderType) => import("react/jsx-runtime").JSX.Element>;
|
4
4
|
export default _default;
|
@@ -1,5 +1,5 @@
|
|
1
1
|
import { FC } from 'react';
|
2
|
-
import { ProCombinationType, ChildPropsItemType } from './propsType';
|
2
|
+
import type { ProCombinationType, ChildPropsItemType } from './propsType';
|
3
3
|
import './style/index.less';
|
4
4
|
export declare const ProCombination: FC<ProCombinationType>;
|
5
5
|
export declare const childPropsItemProps: FC<ChildPropsItemType>;
|
@@ -2,7 +2,7 @@ import { FieldNames } from 'rc-select/lib/Select';
|
|
2
2
|
import { FormInstance } from 'antd';
|
3
3
|
import React from 'react';
|
4
4
|
import * as componentMap from '../../index';
|
5
|
-
import { ProFormOtherType } from '../../../propsType';
|
5
|
+
import type { ProFormOtherType } from '../../../propsType';
|
6
6
|
export interface ChildPropsItemType {
|
7
7
|
/**
|
8
8
|
* @description 要显示什么组件,支持Input/Select
|
@@ -1,4 +1,4 @@
|
|
1
1
|
import React from 'react';
|
2
|
-
import { ProModalSelectType } from './propsType';
|
2
|
+
import type { ProModalSelectType } from './propsType';
|
3
3
|
declare const _default: React.ForwardRefExoticComponent<Omit<ProModalSelectType, "ref"> & React.RefAttributes<unknown>>;
|
4
4
|
export default _default;
|
@@ -1,8 +1,8 @@
|
|
1
1
|
import { FormInstance, InputProps, SelectProps, ModalProps } from 'antd';
|
2
2
|
import { Service, Options } from 'ahooks/lib/useRequest/src/types';
|
3
3
|
import React from 'react';
|
4
|
-
import {
|
5
|
-
import { ProFormOtherType } from '../../../propsType';
|
4
|
+
import type { ProFormColumnType } from '../../render/propsType';
|
5
|
+
import type { ProFormOtherType } from '../../../propsType';
|
6
6
|
/**
|
7
7
|
* 模态框确认按钮回调函数类型
|
8
8
|
* @param list 选中的数据列表
|
@@ -27,7 +27,7 @@ interface ConfigOption {
|
|
27
27
|
initParams?: any;
|
28
28
|
};
|
29
29
|
/** 表单列配置项 */
|
30
|
-
formColumns?:
|
30
|
+
formColumns?: ProFormColumnType[];
|
31
31
|
/** 选择模式:单选(radio)或多选(checkbox) */
|
32
32
|
type?: 'radio' | 'checkbox';
|
33
33
|
/** 是否开启分页功能 */
|
@@ -1,3 +1,3 @@
|
|
1
|
-
import {
|
2
|
-
declare const ProNumberRange: (props:
|
1
|
+
import type { ProNumberRangeType } from './propsType';
|
2
|
+
declare const ProNumberRange: (props: ProNumberRangeType) => any;
|
3
3
|
export default ProNumberRange;
|