@zat-design/sisyphus-react 3.4.4 → 3.4.5-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/babel.config.js +3 -0
- package/coverage/lcov-report/src/.umi/core/devScripts.ts.html +241 -0
- package/coverage/lcov-report/src/.umi/core/history.ts.html +148 -0
- package/coverage/lcov-report/src/.umi/core/index.html +206 -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/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/lcov-report/src/.umi/plugin-antd/runtime.tsx.html +172 -0
- package/coverage/lcov-report/src/.umi/plugin-helmet/exports.ts.html +94 -0
- 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/lcov-report/src/.umi/plugin-initial-state/exports.ts.html +106 -0
- package/coverage/lcov-report/src/.umi/plugin-initial-state/index.html +146 -0
- 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/lcov-report/src/.umi/plugin-model/helpers/dispatcher.tsx.html +142 -0
- 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/dist/index.esm.css +70 -19
- package/dist/less.esm.css +70 -19
- package/es/ProConfigProvider/index.d.ts +2 -2
- package/es/ProConfigProvider/index.js +0 -3
- package/es/ProEditTable/components/RenderField/index.js +10 -9
- package/es/ProEditTable/index.js +14 -3
- package/es/ProEditTable/propsType.d.ts +1 -0
- package/es/ProEditTable/utils/index.js +7 -1
- package/es/ProEnum/components/Group.js +7 -1
- package/es/ProEnum/style/index.less +3 -2
- package/es/ProForm/components/combination/Container/index.js +3 -2
- package/es/ProForm/components/combination/Container/style/index.less +5 -1
- package/es/ProForm/components/combination/FormList/index.js +5 -5
- package/es/ProForm/components/combination/GroupCopy/component/ComRender.d.ts +14 -0
- package/es/ProForm/components/combination/GroupCopy/component/ComRender.js +36 -0
- package/es/ProForm/components/combination/GroupCopy/index.d.ts +10 -0
- package/es/ProForm/components/combination/GroupCopy/index.js +84 -0
- package/es/ProForm/components/combination/GroupCopy/propsType.d.ts +47 -0
- package/es/ProForm/components/combination/GroupCopy/style/index.less +131 -0
- package/es/ProForm/components/combination/GroupCopy/utils.d.ts +53 -0
- package/es/ProForm/components/combination/GroupCopy/utils.js +180 -0
- package/es/ProForm/components/combination/{ProAddressBar → ProCascader}/index.d.ts +2 -2
- package/es/ProForm/components/combination/ProCascader/index.js +255 -0
- package/es/ProForm/components/combination/{ProAddressBar → ProCascader}/propsType.d.ts +8 -6
- package/es/ProForm/components/combination/ProCascader/propsType.js +1 -0
- package/es/ProForm/components/combination/ProModalSelect/index.js +25 -22
- package/es/ProForm/components/index.d.ts +1 -2
- package/es/ProForm/components/index.js +1 -3
- package/es/ProForm/components/render/Render.js +3 -3
- package/es/ProForm/components/render/propsType.d.ts +4 -8
- package/es/ProForm/index.js +2 -2
- package/es/ProForm/style/index.less +1 -1
- package/es/ProForm/utils/index.js +1 -1
- package/es/ProIcon/config/index.d.ts +14 -0
- package/es/ProIcon/config/index.js +17 -1
- package/es/ProIcon/index.js +134 -26
- package/es/ProIcon/propsTypes.d.ts +24 -0
- package/es/ProIcon/utils/index.d.ts +6 -0
- package/es/ProIcon/utils/index.js +83 -0
- package/es/ProLayout/components/ProCollapse/index.js +6 -3
- package/es/ProLayout/components/ProCollapse/style/index.less +1 -1
- package/es/ProSelect/index.js +1 -1
- package/es/ProStep/components/Step/index.js +5 -4
- package/es/ProStep/style/index.less +20 -0
- package/es/ProTable/utils.js +6 -3
- package/es/ProThemeTools/component/PrdTools/index.d.ts +1 -1
- package/es/ProThemeTools/component/PrdTools/index.js +30 -4
- package/es/ProThemeTools/component/PrdTools/style/index.less +56 -48
- package/es/ProTreeModal/index.js +11 -15
- package/es/ProWaterMark/__snapshots__/index.test.tsx.snap +7 -0
- package/es/global.less +38 -2
- package/jest.config.js +8 -0
- package/lib/ProConfigProvider/index.d.ts +2 -2
- package/lib/ProConfigProvider/index.js +0 -3
- package/lib/ProEditTable/components/RenderField/index.js +9 -8
- package/lib/ProEditTable/index.js +14 -3
- package/lib/ProEditTable/propsType.d.ts +1 -0
- package/lib/ProEditTable/utils/index.js +7 -1
- package/lib/ProEnum/components/Group.js +6 -0
- package/lib/ProEnum/style/index.less +3 -2
- package/lib/ProForm/components/combination/Container/index.js +3 -2
- package/lib/ProForm/components/combination/Container/style/index.less +5 -1
- package/lib/ProForm/components/combination/FormList/index.js +5 -5
- package/lib/ProForm/components/combination/GroupCopy/component/ComRender.d.ts +14 -0
- package/lib/ProForm/components/combination/GroupCopy/component/ComRender.js +44 -0
- package/lib/ProForm/components/combination/GroupCopy/index.d.ts +10 -0
- package/lib/ProForm/components/combination/GroupCopy/index.js +91 -0
- package/lib/ProForm/components/combination/GroupCopy/propsType.d.ts +47 -0
- package/lib/ProForm/components/combination/GroupCopy/style/index.less +131 -0
- package/lib/ProForm/components/combination/GroupCopy/utils.d.ts +53 -0
- package/lib/ProForm/components/combination/GroupCopy/utils.js +187 -0
- package/lib/ProForm/components/combination/{ProAddressBar → ProCascader}/index.d.ts +2 -2
- package/lib/ProForm/components/combination/ProCascader/index.js +255 -0
- package/lib/ProForm/components/combination/{ProAddressBar → ProCascader}/propsType.d.ts +8 -6
- package/lib/ProForm/components/combination/ProCascader/propsType.js +5 -0
- package/lib/ProForm/components/combination/ProModalSelect/index.js +26 -23
- package/lib/ProForm/components/index.d.ts +1 -2
- package/lib/ProForm/components/index.js +1 -8
- package/lib/ProForm/components/render/Render.js +3 -3
- package/lib/ProForm/components/render/propsType.d.ts +4 -8
- package/lib/ProForm/index.js +1 -1
- package/lib/ProForm/style/index.less +1 -1
- package/lib/ProForm/utils/index.js +1 -1
- package/lib/ProIcon/config/index.d.ts +14 -0
- package/lib/ProIcon/config/index.js +18 -2
- package/lib/ProIcon/index.js +132 -26
- package/lib/ProIcon/propsTypes.d.ts +24 -0
- package/lib/ProIcon/utils/index.d.ts +6 -0
- package/lib/ProIcon/utils/index.js +90 -0
- package/lib/ProLayout/components/ProCollapse/index.js +6 -3
- package/lib/ProLayout/components/ProCollapse/style/index.less +1 -1
- package/lib/ProSelect/index.js +1 -1
- package/lib/ProStep/components/Step/index.js +5 -4
- package/lib/ProStep/style/index.less +20 -0
- package/lib/ProTable/utils.js +6 -3
- package/lib/ProThemeTools/component/PrdTools/index.d.ts +1 -1
- package/lib/ProThemeTools/component/PrdTools/index.js +30 -4
- package/lib/ProThemeTools/component/PrdTools/style/index.less +56 -48
- package/lib/ProTreeModal/index.js +11 -15
- package/lib/ProWaterMark/__snapshots__/index.test.tsx.snap +7 -0
- package/lib/global.less +38 -2
- package/package.json +6 -2
- package/test/__mocks__/fileMock.js +0 -0
- package/test/__mocks__/styleMock.js +0 -0
- package/es/ProForm/components/base/ProCascader/index.d.ts +0 -14
- package/es/ProForm/components/base/ProCascader/index.js +0 -72
- package/es/ProForm/components/combination/ProAddressBar/index.js +0 -437
- package/lib/ProForm/components/base/ProCascader/index.d.ts +0 -14
- package/lib/ProForm/components/base/ProCascader/index.js +0 -78
- package/lib/ProForm/components/combination/ProAddressBar/index.js +0 -437
- /package/es/ProForm/components/combination/{ProAddressBar → GroupCopy}/propsType.js +0 -0
- /package/es/ProForm/components/combination/{ProAddressBar → ProCascader}/style/index.less +0 -0
- /package/lib/ProForm/components/combination/{ProAddressBar → GroupCopy}/propsType.js +0 -0
- /package/lib/ProForm/components/combination/{ProAddressBar → ProCascader}/style/index.less +0 -0
|
@@ -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
|
+
|
package/dist/index.esm.css
CHANGED
|
@@ -686,7 +686,10 @@
|
|
|
686
686
|
display: none !important;
|
|
687
687
|
}
|
|
688
688
|
.pro-collapse.pro-collapse-no-title .pro-collapse-level2 .ant-collapse-header {
|
|
689
|
-
display:
|
|
689
|
+
display: -webkit-box !important;
|
|
690
|
+
display: -webkit-flex !important;
|
|
691
|
+
display: -ms-flexbox !important;
|
|
692
|
+
display: flex !important;
|
|
690
693
|
}
|
|
691
694
|
.pro-collapse.ant-collapse .pro-collapse-panel {
|
|
692
695
|
margin-bottom: 16px;
|
|
@@ -1459,6 +1462,44 @@
|
|
|
1459
1462
|
font-size: var(--zaui-font-size-lg, 16px);
|
|
1460
1463
|
border-bottom: 1px solid var(--zaui-line, #dddddd);
|
|
1461
1464
|
}
|
|
1465
|
+
.pro-step > .step-menu > .anticon {
|
|
1466
|
+
display: -webkit-box;
|
|
1467
|
+
display: -webkit-flex;
|
|
1468
|
+
display: -ms-flexbox;
|
|
1469
|
+
display: flex;
|
|
1470
|
+
-webkit-box-align: center;
|
|
1471
|
+
-webkit-align-items: center;
|
|
1472
|
+
-ms-flex-align: center;
|
|
1473
|
+
align-items: center;
|
|
1474
|
+
-webkit-box-pack: center;
|
|
1475
|
+
-webkit-justify-content: center;
|
|
1476
|
+
-ms-flex-pack: center;
|
|
1477
|
+
justify-content: center;
|
|
1478
|
+
width: 48px;
|
|
1479
|
+
height: 24px;
|
|
1480
|
+
}
|
|
1481
|
+
.pro-step > .step-menu > .anticon > .menu-icon {
|
|
1482
|
+
width: auto !important;
|
|
1483
|
+
height: auto !important;
|
|
1484
|
+
font-size: var(--zaui-font-size-lg-title, 24px);
|
|
1485
|
+
fill: var(--zaui-brand, #006aff);
|
|
1486
|
+
}
|
|
1487
|
+
.pro-step > .step-menu > .anticon > .menu-icon > div {
|
|
1488
|
+
display: -webkit-box;
|
|
1489
|
+
display: -webkit-flex;
|
|
1490
|
+
display: -ms-flexbox;
|
|
1491
|
+
display: flex;
|
|
1492
|
+
-webkit-box-align: center;
|
|
1493
|
+
-webkit-align-items: center;
|
|
1494
|
+
-ms-flex-align: center;
|
|
1495
|
+
align-items: center;
|
|
1496
|
+
-webkit-box-pack: center;
|
|
1497
|
+
-webkit-justify-content: center;
|
|
1498
|
+
-ms-flex-pack: center;
|
|
1499
|
+
justify-content: center;
|
|
1500
|
+
width: 48px;
|
|
1501
|
+
height: 24px;
|
|
1502
|
+
}
|
|
1462
1503
|
.pro-step > .step-menu > .menu-icon {
|
|
1463
1504
|
font-size: var(--zaui-font-size-lg-title, 24px);
|
|
1464
1505
|
fill: var(--zaui-brand, #006aff);
|
|
@@ -2447,6 +2488,9 @@ span.ant-input-group-compact.pro-range-limit .forever-checkbox {
|
|
|
2447
2488
|
color: var(--ant-error-color);
|
|
2448
2489
|
border-color: var(--ant-error-color);
|
|
2449
2490
|
}
|
|
2491
|
+
.pro-container.pro-container-empty .ant-collapse-content {
|
|
2492
|
+
display: none;
|
|
2493
|
+
}
|
|
2450
2494
|
.pro-container.pro-container-diy .pro-container-content {
|
|
2451
2495
|
display: -webkit-box;
|
|
2452
2496
|
display: -webkit-flex;
|
|
@@ -4409,20 +4453,20 @@ span.ant-input-group-compact.pro-range-limit .forever-checkbox {
|
|
|
4409
4453
|
gap: var(--zaui-space-size-sm, 8px) !important;
|
|
4410
4454
|
}
|
|
4411
4455
|
.pro-theme-prd-tools-drawer p {
|
|
4412
|
-
padding-left: 12px;
|
|
4413
4456
|
position: relative;
|
|
4414
4457
|
margin-bottom: var(--zaui-space-size-md, 16px);
|
|
4458
|
+
padding-left: 12px;
|
|
4415
4459
|
font-size: var(--zaui-font-size, 14px);
|
|
4416
4460
|
}
|
|
4417
4461
|
.pro-theme-prd-tools-drawer p:before {
|
|
4418
|
-
content: '';
|
|
4419
4462
|
position: absolute;
|
|
4420
|
-
left: 0;
|
|
4421
4463
|
top: 4px;
|
|
4464
|
+
left: 0;
|
|
4422
4465
|
width: 4px;
|
|
4423
4466
|
height: 14px;
|
|
4424
4467
|
background: var(--zaui-brand, #006aff);
|
|
4425
4468
|
border-radius: var(zaui-border-radius-card, 4px);
|
|
4469
|
+
content: '';
|
|
4426
4470
|
}
|
|
4427
4471
|
.pro-theme-prd-tools-drawer .pro-theme-color {
|
|
4428
4472
|
display: -webkit-box;
|
|
@@ -4431,25 +4475,25 @@ span.ant-input-group-compact.pro-range-limit .forever-checkbox {
|
|
|
4431
4475
|
display: flex;
|
|
4432
4476
|
}
|
|
4433
4477
|
.pro-theme-prd-tools-drawer .pro-theme-color li {
|
|
4434
|
-
width: 38px;
|
|
4435
|
-
height: 38px;
|
|
4436
|
-
border-radius: 50%;
|
|
4437
|
-
background: #fff;
|
|
4438
4478
|
display: -webkit-box;
|
|
4439
4479
|
display: -webkit-flex;
|
|
4440
4480
|
display: -ms-flexbox;
|
|
4441
4481
|
display: flex;
|
|
4442
|
-
-webkit-box-pack: center;
|
|
4443
|
-
-webkit-justify-content: center;
|
|
4444
|
-
-ms-flex-pack: center;
|
|
4445
|
-
justify-content: center;
|
|
4446
4482
|
-webkit-box-align: center;
|
|
4447
4483
|
-webkit-align-items: center;
|
|
4448
4484
|
-ms-flex-align: center;
|
|
4449
4485
|
align-items: center;
|
|
4450
|
-
|
|
4451
|
-
|
|
4486
|
+
-webkit-box-pack: center;
|
|
4487
|
+
-webkit-justify-content: center;
|
|
4488
|
+
-ms-flex-pack: center;
|
|
4489
|
+
justify-content: center;
|
|
4490
|
+
width: 38px;
|
|
4491
|
+
height: 38px;
|
|
4452
4492
|
margin-right: 34px;
|
|
4493
|
+
color: #fff;
|
|
4494
|
+
background: #fff;
|
|
4495
|
+
border: 6px solid #fff;
|
|
4496
|
+
border-radius: 50%;
|
|
4453
4497
|
}
|
|
4454
4498
|
.pro-theme-prd-tools-drawer .pro-theme-color li span {
|
|
4455
4499
|
font-size: var(--zaui-font-size, 14px);
|
|
@@ -4477,35 +4521,42 @@ span.ant-input-group-compact.pro-range-limit .forever-checkbox {
|
|
|
4477
4521
|
border-color: #ffecdd;
|
|
4478
4522
|
}
|
|
4479
4523
|
.pro-theme-prd-tools-drawer .pro-theme-color li:nth-child(4) {
|
|
4480
|
-
margin-right: 0;
|
|
4481
4524
|
background: #a00f20;
|
|
4482
4525
|
}
|
|
4483
4526
|
.pro-theme-prd-tools-drawer .pro-theme-color li:nth-child(4).active,
|
|
4484
4527
|
.pro-theme-prd-tools-drawer .pro-theme-color li:nth-child(4):hover {
|
|
4485
4528
|
border-color: #f2dbdb;
|
|
4486
4529
|
}
|
|
4530
|
+
.pro-theme-prd-tools-drawer .pro-theme-color li:nth-child(5) {
|
|
4531
|
+
margin-right: 0;
|
|
4532
|
+
background: #31af96;
|
|
4533
|
+
}
|
|
4534
|
+
.pro-theme-prd-tools-drawer .pro-theme-color li:nth-child(5).active,
|
|
4535
|
+
.pro-theme-prd-tools-drawer .pro-theme-color li:nth-child(5):hover {
|
|
4536
|
+
border-color: #f2dbdb;
|
|
4537
|
+
}
|
|
4487
4538
|
.pro-theme-prd-tools-drawer .anticon-question-circle {
|
|
4488
4539
|
color: var(--zaui-brand, #006aff);
|
|
4489
4540
|
}
|
|
4490
4541
|
.pro-theme-prd-tools-drawer .copy-btn {
|
|
4491
4542
|
position: absolute;
|
|
4492
|
-
width: calc(100% - 64px);
|
|
4493
4543
|
bottom: 20px;
|
|
4494
4544
|
left: 32px;
|
|
4495
4545
|
z-index: 10;
|
|
4546
|
+
width: calc(100% - 64px);
|
|
4496
4547
|
}
|
|
4497
4548
|
.pro-theme-prd-tools-drawer .pro-theme-tools-box {
|
|
4498
4549
|
display: -webkit-box;
|
|
4499
4550
|
display: -webkit-flex;
|
|
4500
4551
|
display: -ms-flexbox;
|
|
4501
4552
|
display: flex;
|
|
4553
|
+
-webkit-flex-wrap: wrap;
|
|
4554
|
+
-ms-flex-wrap: wrap;
|
|
4555
|
+
flex-wrap: wrap;
|
|
4502
4556
|
-webkit-box-pack: justify;
|
|
4503
4557
|
-webkit-justify-content: space-between;
|
|
4504
4558
|
-ms-flex-pack: justify;
|
|
4505
4559
|
justify-content: space-between;
|
|
4506
|
-
-webkit-flex-wrap: wrap;
|
|
4507
|
-
-ms-flex-wrap: wrap;
|
|
4508
|
-
flex-wrap: wrap;
|
|
4509
4560
|
}
|
|
4510
4561
|
.pro-theme-prd-tools-drawer .pro-theme-tools-space {
|
|
4511
4562
|
margin-bottom: 24px;
|
package/dist/less.esm.css
CHANGED
|
@@ -686,7 +686,10 @@
|
|
|
686
686
|
display: none !important;
|
|
687
687
|
}
|
|
688
688
|
.pro-collapse.pro-collapse-no-title .pro-collapse-level2 .ant-collapse-header {
|
|
689
|
-
display:
|
|
689
|
+
display: -webkit-box !important;
|
|
690
|
+
display: -webkit-flex !important;
|
|
691
|
+
display: -ms-flexbox !important;
|
|
692
|
+
display: flex !important;
|
|
690
693
|
}
|
|
691
694
|
.pro-collapse.ant-collapse .pro-collapse-panel {
|
|
692
695
|
margin-bottom: 16px;
|
|
@@ -1459,6 +1462,44 @@
|
|
|
1459
1462
|
font-size: var(--zaui-font-size-lg, 16px);
|
|
1460
1463
|
border-bottom: 1px solid var(--zaui-line, #dddddd);
|
|
1461
1464
|
}
|
|
1465
|
+
.pro-step > .step-menu > .anticon {
|
|
1466
|
+
display: -webkit-box;
|
|
1467
|
+
display: -webkit-flex;
|
|
1468
|
+
display: -ms-flexbox;
|
|
1469
|
+
display: flex;
|
|
1470
|
+
-webkit-box-align: center;
|
|
1471
|
+
-webkit-align-items: center;
|
|
1472
|
+
-ms-flex-align: center;
|
|
1473
|
+
align-items: center;
|
|
1474
|
+
-webkit-box-pack: center;
|
|
1475
|
+
-webkit-justify-content: center;
|
|
1476
|
+
-ms-flex-pack: center;
|
|
1477
|
+
justify-content: center;
|
|
1478
|
+
width: 48px;
|
|
1479
|
+
height: 24px;
|
|
1480
|
+
}
|
|
1481
|
+
.pro-step > .step-menu > .anticon > .menu-icon {
|
|
1482
|
+
width: auto !important;
|
|
1483
|
+
height: auto !important;
|
|
1484
|
+
font-size: var(--zaui-font-size-lg-title, 24px);
|
|
1485
|
+
fill: var(--zaui-brand, #006aff);
|
|
1486
|
+
}
|
|
1487
|
+
.pro-step > .step-menu > .anticon > .menu-icon > div {
|
|
1488
|
+
display: -webkit-box;
|
|
1489
|
+
display: -webkit-flex;
|
|
1490
|
+
display: -ms-flexbox;
|
|
1491
|
+
display: flex;
|
|
1492
|
+
-webkit-box-align: center;
|
|
1493
|
+
-webkit-align-items: center;
|
|
1494
|
+
-ms-flex-align: center;
|
|
1495
|
+
align-items: center;
|
|
1496
|
+
-webkit-box-pack: center;
|
|
1497
|
+
-webkit-justify-content: center;
|
|
1498
|
+
-ms-flex-pack: center;
|
|
1499
|
+
justify-content: center;
|
|
1500
|
+
width: 48px;
|
|
1501
|
+
height: 24px;
|
|
1502
|
+
}
|
|
1462
1503
|
.pro-step > .step-menu > .menu-icon {
|
|
1463
1504
|
font-size: var(--zaui-font-size-lg-title, 24px);
|
|
1464
1505
|
fill: var(--zaui-brand, #006aff);
|
|
@@ -2447,6 +2488,9 @@ span.ant-input-group-compact.pro-range-limit .forever-checkbox {
|
|
|
2447
2488
|
color: var(--ant-error-color);
|
|
2448
2489
|
border-color: var(--ant-error-color);
|
|
2449
2490
|
}
|
|
2491
|
+
.pro-container.pro-container-empty .ant-collapse-content {
|
|
2492
|
+
display: none;
|
|
2493
|
+
}
|
|
2450
2494
|
.pro-container.pro-container-diy .pro-container-content {
|
|
2451
2495
|
display: -webkit-box;
|
|
2452
2496
|
display: -webkit-flex;
|
|
@@ -4409,20 +4453,20 @@ span.ant-input-group-compact.pro-range-limit .forever-checkbox {
|
|
|
4409
4453
|
gap: var(--zaui-space-size-sm, 8px) !important;
|
|
4410
4454
|
}
|
|
4411
4455
|
.pro-theme-prd-tools-drawer p {
|
|
4412
|
-
padding-left: 12px;
|
|
4413
4456
|
position: relative;
|
|
4414
4457
|
margin-bottom: var(--zaui-space-size-md, 16px);
|
|
4458
|
+
padding-left: 12px;
|
|
4415
4459
|
font-size: var(--zaui-font-size, 14px);
|
|
4416
4460
|
}
|
|
4417
4461
|
.pro-theme-prd-tools-drawer p:before {
|
|
4418
|
-
content: '';
|
|
4419
4462
|
position: absolute;
|
|
4420
|
-
left: 0;
|
|
4421
4463
|
top: 4px;
|
|
4464
|
+
left: 0;
|
|
4422
4465
|
width: 4px;
|
|
4423
4466
|
height: 14px;
|
|
4424
4467
|
background: var(--zaui-brand, #006aff);
|
|
4425
4468
|
border-radius: var(zaui-border-radius-card, 4px);
|
|
4469
|
+
content: '';
|
|
4426
4470
|
}
|
|
4427
4471
|
.pro-theme-prd-tools-drawer .pro-theme-color {
|
|
4428
4472
|
display: -webkit-box;
|
|
@@ -4431,25 +4475,25 @@ span.ant-input-group-compact.pro-range-limit .forever-checkbox {
|
|
|
4431
4475
|
display: flex;
|
|
4432
4476
|
}
|
|
4433
4477
|
.pro-theme-prd-tools-drawer .pro-theme-color li {
|
|
4434
|
-
width: 38px;
|
|
4435
|
-
height: 38px;
|
|
4436
|
-
border-radius: 50%;
|
|
4437
|
-
background: #fff;
|
|
4438
4478
|
display: -webkit-box;
|
|
4439
4479
|
display: -webkit-flex;
|
|
4440
4480
|
display: -ms-flexbox;
|
|
4441
4481
|
display: flex;
|
|
4442
|
-
-webkit-box-pack: center;
|
|
4443
|
-
-webkit-justify-content: center;
|
|
4444
|
-
-ms-flex-pack: center;
|
|
4445
|
-
justify-content: center;
|
|
4446
4482
|
-webkit-box-align: center;
|
|
4447
4483
|
-webkit-align-items: center;
|
|
4448
4484
|
-ms-flex-align: center;
|
|
4449
4485
|
align-items: center;
|
|
4450
|
-
|
|
4451
|
-
|
|
4486
|
+
-webkit-box-pack: center;
|
|
4487
|
+
-webkit-justify-content: center;
|
|
4488
|
+
-ms-flex-pack: center;
|
|
4489
|
+
justify-content: center;
|
|
4490
|
+
width: 38px;
|
|
4491
|
+
height: 38px;
|
|
4452
4492
|
margin-right: 34px;
|
|
4493
|
+
color: #fff;
|
|
4494
|
+
background: #fff;
|
|
4495
|
+
border: 6px solid #fff;
|
|
4496
|
+
border-radius: 50%;
|
|
4453
4497
|
}
|
|
4454
4498
|
.pro-theme-prd-tools-drawer .pro-theme-color li span {
|
|
4455
4499
|
font-size: var(--zaui-font-size, 14px);
|
|
@@ -4477,35 +4521,42 @@ span.ant-input-group-compact.pro-range-limit .forever-checkbox {
|
|
|
4477
4521
|
border-color: #ffecdd;
|
|
4478
4522
|
}
|
|
4479
4523
|
.pro-theme-prd-tools-drawer .pro-theme-color li:nth-child(4) {
|
|
4480
|
-
margin-right: 0;
|
|
4481
4524
|
background: #a00f20;
|
|
4482
4525
|
}
|
|
4483
4526
|
.pro-theme-prd-tools-drawer .pro-theme-color li:nth-child(4).active,
|
|
4484
4527
|
.pro-theme-prd-tools-drawer .pro-theme-color li:nth-child(4):hover {
|
|
4485
4528
|
border-color: #f2dbdb;
|
|
4486
4529
|
}
|
|
4530
|
+
.pro-theme-prd-tools-drawer .pro-theme-color li:nth-child(5) {
|
|
4531
|
+
margin-right: 0;
|
|
4532
|
+
background: #31af96;
|
|
4533
|
+
}
|
|
4534
|
+
.pro-theme-prd-tools-drawer .pro-theme-color li:nth-child(5).active,
|
|
4535
|
+
.pro-theme-prd-tools-drawer .pro-theme-color li:nth-child(5):hover {
|
|
4536
|
+
border-color: #f2dbdb;
|
|
4537
|
+
}
|
|
4487
4538
|
.pro-theme-prd-tools-drawer .anticon-question-circle {
|
|
4488
4539
|
color: var(--zaui-brand, #006aff);
|
|
4489
4540
|
}
|
|
4490
4541
|
.pro-theme-prd-tools-drawer .copy-btn {
|
|
4491
4542
|
position: absolute;
|
|
4492
|
-
width: calc(100% - 64px);
|
|
4493
4543
|
bottom: 20px;
|
|
4494
4544
|
left: 32px;
|
|
4495
4545
|
z-index: 10;
|
|
4546
|
+
width: calc(100% - 64px);
|
|
4496
4547
|
}
|
|
4497
4548
|
.pro-theme-prd-tools-drawer .pro-theme-tools-box {
|
|
4498
4549
|
display: -webkit-box;
|
|
4499
4550
|
display: -webkit-flex;
|
|
4500
4551
|
display: -ms-flexbox;
|
|
4501
4552
|
display: flex;
|
|
4553
|
+
-webkit-flex-wrap: wrap;
|
|
4554
|
+
-ms-flex-wrap: wrap;
|
|
4555
|
+
flex-wrap: wrap;
|
|
4502
4556
|
-webkit-box-pack: justify;
|
|
4503
4557
|
-webkit-justify-content: space-between;
|
|
4504
4558
|
-ms-flex-pack: justify;
|
|
4505
4559
|
justify-content: space-between;
|
|
4506
|
-
-webkit-flex-wrap: wrap;
|
|
4507
|
-
-ms-flex-wrap: wrap;
|
|
4508
|
-
flex-wrap: wrap;
|
|
4509
4560
|
}
|
|
4510
4561
|
.pro-theme-prd-tools-drawer .pro-theme-tools-space {
|
|
4511
4562
|
margin-bottom: 24px;
|
|
@@ -2,14 +2,14 @@ import React, { FC } from 'react';
|
|
|
2
2
|
import { FormInstance } from 'antd';
|
|
3
3
|
import { PropSelectProps } from '../ProSelect/propsType';
|
|
4
4
|
import { ProModalSelectPropsType } from '../ProForm/components/combination/ProModalSelect/propsType';
|
|
5
|
-
import {
|
|
5
|
+
import { ProCascaderProps } 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
10
|
ProSelect?: Partial<PropSelectProps> & Record<string, any>;
|
|
11
11
|
ProModalSelect?: Partial<ProModalSelectPropsType> & Record<string, any>;
|
|
12
|
-
ProAddressBar?: Partial<
|
|
12
|
+
ProAddressBar?: Partial<ProCascaderProps> & Record<string, any>;
|
|
13
13
|
forms: Record<string, FormInstance | undefined>;
|
|
14
14
|
[key: string]: any;
|
|
15
15
|
}
|
|
@@ -53,9 +53,6 @@ var reducer = function reducer(state, action) {
|
|
|
53
53
|
case 'setWithLocal':
|
|
54
54
|
{
|
|
55
55
|
var _state = merge({}, state, action.payload);
|
|
56
|
-
var localConfigStr = localStorage.getItem('localConfig');
|
|
57
|
-
var localConfig = JSON.parse(localConfigStr || '{}');
|
|
58
|
-
localStorage.setItem('localConfig', JSON.stringify(merge(localConfig, action.payload)));
|
|
59
56
|
return _state;
|
|
60
57
|
}
|
|
61
58
|
case 'setProEnum':
|