jobsys-explore 4.6.21 → 4.7.0
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/.eslintignore +3 -3
- package/CHANGELOG.md +542 -542
- package/README.md +41 -41
- package/TODOs.md +8 -8
- package/business-components/survey/ExSurvey.jsx +193 -193
- package/business-components/survey/index.js +5 -5
- package/business-components/survey/index.less +36 -36
- package/components/button/ExButton.jsx +120 -120
- package/components/button/index.js +4 -4
- package/components/button/index.less +7 -7
- package/components/decorator/ExDecorator.jsx +31 -31
- package/components/decorator/index.js +5 -5
- package/components/decorator/index.less +76 -76
- package/components/form/ExAddress.jsx +195 -195
- package/components/form/ExCascader.jsx +171 -171
- package/components/form/ExCheckbox.jsx +59 -59
- package/components/form/ExDate.jsx +143 -143
- package/components/form/ExDatetime.jsx +166 -166
- package/components/form/ExField.jsx +138 -138
- package/components/form/ExFieldUploader.jsx +50 -50
- package/components/form/ExForm.jsx +544 -544
- package/components/form/ExMatrixCheckbox.jsx +99 -99
- package/components/form/ExMatrixRadio.jsx +86 -86
- package/components/form/ExMatrixScale.jsx +97 -97
- package/components/form/ExNumber.jsx +51 -51
- package/components/form/ExRadio.jsx +58 -58
- package/components/form/ExRate.jsx +51 -51
- package/components/form/ExSelect.jsx +251 -251
- package/components/form/ExSlider.jsx +55 -55
- package/components/form/ExSwitch.jsx +51 -51
- package/components/form/ExTime.jsx +99 -99
- package/components/form/FormItem.jsx +307 -307
- package/components/form/PickerWrapper.jsx +120 -120
- package/components/form/index.js +46 -46
- package/components/form/index.less +178 -178
- package/components/form/utils.js +62 -62
- package/components/grid/ExGrid.jsx +53 -53
- package/components/grid/index.js +4 -4
- package/components/grid/index.less +2 -2
- package/components/index.js +12 -12
- package/components/pagination/ExPagination.jsx +457 -440
- package/components/pagination/index.js +5 -5
- package/components/pagination/index.less +3 -3
- package/components/provider/ExProvider.jsx +173 -173
- package/components/qrcode/ExQrcode.jsx +86 -86
- package/components/qrcode/index.js +5 -5
- package/components/qrcode/index.less +8 -8
- package/components/result/ExResult.jsx +122 -122
- package/components/result/index.js +5 -5
- package/components/result/index.less +59 -59
- package/components/search/ExSearch.jsx +370 -326
- package/components/search/components/Expand.jsx +77 -77
- package/components/search/components/Field.jsx +27 -27
- package/components/search/components/Quick.jsx +57 -57
- package/components/search/components/index.js +5 -5
- package/components/search/index.js +5 -5
- package/components/search/index.less +118 -118
- package/components/search/utils.js +30 -30
- package/components/sector/ExSector.jsx +52 -52
- package/components/sector/README.md +26 -26
- package/components/sector/index.js +5 -5
- package/components/sector/index.less +122 -122
- package/components/theme/ExTheme.jsx +10 -10
- package/components/theme/index.js +4 -4
- package/components/theme/index.less +98 -98
- package/components/uploader/ExUploader.jsx +293 -293
- package/components/uploader/index.js +5 -5
- package/components/utils.js +187 -187
- package/directives/auth.js +113 -113
- package/directives/index.js +4 -4
- package/dist/cipher-98df1050.cjs.map +1 -1
- package/dist/cipher-f2ed5ee6.js.map +1 -1
- package/dist/directives.cjs.map +1 -1
- package/dist/directives.js.map +1 -1
- package/dist/hooks.cjs.map +1 -1
- package/dist/hooks.js.map +1 -1
- package/dist/jobsys-explore.cjs +6 -6
- package/dist/jobsys-explore.cjs.map +1 -1
- package/dist/jobsys-explore.js +464 -407
- package/dist/jobsys-explore.js.map +1 -1
- package/docgen.config.js +15 -15
- package/docs/.vuepress/.cache/deps/_metadata.json +52 -52
- package/docs/.vuepress/.cache/deps/lodash-es.js +8442 -8442
- package/docs/.vuepress/.cache/deps/lodash-es.js.map +7 -7
- package/docs/.vuepress/.temp/internal/clientConfigs.js +17 -17
- package/docs/.vuepress/.temp/internal/pagesComponents.js +24 -24
- package/docs/.vuepress/.temp/internal/pagesData.js +22 -22
- package/docs/.vuepress/.temp/internal/pagesRoutes.js +12 -12
- package/docs/.vuepress/.temp/internal/themeData.js +1 -1
- package/docs/.vuepress/.temp/pages/components/decorator/ExDecorator.html.js +1 -1
- package/docs/.vuepress/.temp/pages/components/decorator/ExDecorator.html.vue +37 -37
- package/docs/.vuepress/.temp/pages/components/sector/ExSector.html.js +1 -1
- package/docs/.vuepress/.temp/pages/components/sector/ExSector.html.vue +71 -71
- package/docs/.vuepress/.temp/styles/index.scss +1 -1
- package/docs/.vuepress/config.js +61 -61
- package/docs/.vuepress/dist/404.html +33 -33
- package/docs/.vuepress/dist/assets/404.html-a0ce2184.js +1 -1
- package/docs/.vuepress/dist/assets/ExButton.html-ad283101.js +1 -1
- package/docs/.vuepress/dist/assets/ExDecorator.html-42d09114.js +1 -1
- package/docs/.vuepress/dist/assets/ExDecorator.html-c82c5fe8.js +1 -1
- package/docs/.vuepress/dist/assets/ExForm.html-9e3f8000.js +1 -1
- package/docs/.vuepress/dist/assets/ExProvider.html-78fdc6cd.js +1 -1
- package/docs/.vuepress/dist/assets/ExSearch.html-103f6f34.js +1 -1
- package/docs/.vuepress/dist/assets/ExSector.html-a1e24c3a.js +7 -7
- package/docs/.vuepress/dist/assets/ExSector.html-cff3fefd.js +1 -1
- package/docs/.vuepress/dist/assets/ExUploader.html-8310e424.js +1 -1
- package/docs/.vuepress/dist/assets/app-29fe8d1e.js +10 -10
- package/docs/.vuepress/dist/assets/hooks.html-90ccbc1a.js +1 -1
- package/docs/.vuepress/dist/assets/index.html-85b79c97.js +43 -43
- package/docs/.vuepress/dist/assets/style-46d7e227.css +1 -1
- package/docs/.vuepress/dist/components/button/ExButton.html +33 -33
- package/docs/.vuepress/dist/components/decorator/ExDecorator.html +33 -33
- package/docs/.vuepress/dist/components/form/ExForm.html +33 -33
- package/docs/.vuepress/dist/components/provider/ExProvider.html +33 -33
- package/docs/.vuepress/dist/components/search/ExSearch.html +33 -33
- package/docs/.vuepress/dist/components/sector/ExSector.html +39 -39
- package/docs/.vuepress/dist/components/uploader/ExUploader.html +33 -33
- package/docs/.vuepress/dist/hooks.html +33 -33
- package/docs/.vuepress/dist/index.html +75 -75
- package/docs/.vuepress/styles/index.scss +7 -7
- package/docs/components/decorator/ExDecorator.md +14 -14
- package/docs/components/sector/ExSector.md +43 -43
- package/docs/index.md +82 -82
- package/hooks/cipher.js +44 -44
- package/hooks/datetime.js +69 -69
- package/hooks/form.js +188 -188
- package/hooks/utils.js +282 -282
- package/index.html +17 -17
- package/package.json +1 -1
- package/playground/App.vue +191 -191
- package/playground/TestButton.vue +61 -61
- package/playground/TestCascader.vue +2442 -2442
- package/playground/TestDecorator.vue +14 -14
- package/playground/TestForm.vue +429 -429
- package/playground/TestFormItem.vue +110 -110
- package/playground/TestGrid.vue +22 -22
- package/playground/TestPagination.vue +1250 -1248
- package/playground/TestQrcode.vue +7 -7
- package/playground/TestResult.vue +12 -12
- package/playground/TestSearch.vue +115 -115
- package/playground/TestSector.vue +15 -15
- package/playground/TestSurvey.vue +27 -27
- package/playground/TestUploader.vue +14 -14
- package/playground/main.js +22 -22
- package/utils/style.js +13 -13
- package/vite.config.js +54 -54
- package/.changeset/blue-spiders-roll.md +0 -5
- package/.changeset/cyan-monkeys-draw.md +0 -5
- package/.changeset/dry-feet-float.md +0 -5
- package/.changeset/empty-mice-share.md +0 -5
- package/.changeset/famous-yaks-doubt.md +0 -5
- package/.changeset/five-fans-type.md +0 -5
- package/.changeset/funny-hats-drop.md +0 -5
- package/.changeset/khaki-cobras-bathe.md +0 -5
- package/.changeset/khaki-forks-shave.md +0 -5
- package/.changeset/lazy-yaks-crash.md +0 -5
- package/.changeset/light-cycles-flow.md +0 -5
- package/.changeset/loud-mirrors-explain.md +0 -5
- package/.changeset/lovely-balloons-protect.md +0 -5
- package/.changeset/mean-pens-travel.md +0 -5
- package/.changeset/moody-doors-grow.md +0 -5
- package/.changeset/moody-laws-change.md +0 -5
- package/.changeset/nasty-goats-joke.md +0 -5
- package/.changeset/odd-forks-drop.md +0 -5
- package/.changeset/olive-windows-suffer.md +0 -5
- package/.changeset/popular-carpets-jog.md +0 -5
- package/.changeset/popular-planets-play.md +0 -5
- package/.changeset/rare-gorillas-boil.md +0 -5
- package/.changeset/rare-moose-teach.md +0 -5
- package/.changeset/sharp-tools-hope.md +0 -5
- package/.changeset/slimy-sloths-refuse.md +0 -5
- package/.changeset/slow-boats-search.md +0 -5
- package/.changeset/small-experts-bake.md +0 -5
- package/.changeset/smooth-horses-tie.md +0 -5
- package/.changeset/tame-feet-reply.md +0 -5
- package/.changeset/tidy-items-reflect.md +0 -5
- package/.changeset/weak-chicken-admire.md +0 -5
- package/.changeset/weak-rockets-compare.md +0 -5
- package/.changeset/wild-glasses-bathe.md +0 -5
- package/.changeset/wise-ears-turn.md +0 -5
|
@@ -1,122 +1,122 @@
|
|
|
1
|
-
import { defineComponent } from "vue"
|
|
2
|
-
import "./index.less"
|
|
3
|
-
|
|
4
|
-
/**
|
|
5
|
-
* ExResult 结果页
|
|
6
|
-
*/
|
|
7
|
-
export default defineComponent({
|
|
8
|
-
name: "ExResult",
|
|
9
|
-
props: {
|
|
10
|
-
/**
|
|
11
|
-
* 结果类型
|
|
12
|
-
* @values 'success', 'error', 'info', 'warning'
|
|
13
|
-
*/
|
|
14
|
-
type: { type: String, default: "success" },
|
|
15
|
-
|
|
16
|
-
/**
|
|
17
|
-
* 标题
|
|
18
|
-
*/
|
|
19
|
-
title: { type: String, default: "" },
|
|
20
|
-
|
|
21
|
-
/**
|
|
22
|
-
* 描述
|
|
23
|
-
*/
|
|
24
|
-
description: { type: String, default: "" },
|
|
25
|
-
},
|
|
26
|
-
setup(props, { slots }) {
|
|
27
|
-
const iconElem = () => {
|
|
28
|
-
let elem = null
|
|
29
|
-
|
|
30
|
-
if (slots.icon) {
|
|
31
|
-
elem = slots.icon()
|
|
32
|
-
} else {
|
|
33
|
-
switch (props.type) {
|
|
34
|
-
case "success":
|
|
35
|
-
elem = (
|
|
36
|
-
<i class={"exicon"}>
|
|
37
|
-
<svg
|
|
38
|
-
viewBox="64 64 896 896"
|
|
39
|
-
data-icon="check-circle"
|
|
40
|
-
width="1em"
|
|
41
|
-
height="1em"
|
|
42
|
-
fill="currentColor"
|
|
43
|
-
aria-hidden="true"
|
|
44
|
-
focusable="false"
|
|
45
|
-
>
|
|
46
|
-
<path d="M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm193.5 301.7l-210.6 292a31.8 31.8 0 0 1-51.7 0L318.5 484.9c-3.8-5.3 0-12.7 6.5-12.7h46.9c10.2 0 19.9 4.9 25.9 13.3l71.2 98.8 157.2-218c6-8.3 15.6-13.3 25.9-13.3H699c6.5 0 10.3 7.4 6.5 12.7z"></path>
|
|
47
|
-
</svg>
|
|
48
|
-
</i>
|
|
49
|
-
)
|
|
50
|
-
break
|
|
51
|
-
|
|
52
|
-
case "info":
|
|
53
|
-
elem = (
|
|
54
|
-
<i class={"exicon"}>
|
|
55
|
-
<svg
|
|
56
|
-
viewBox="64 64 896 896"
|
|
57
|
-
data-icon="exclamation-circle"
|
|
58
|
-
width="1em"
|
|
59
|
-
height="1em"
|
|
60
|
-
fill="currentColor"
|
|
61
|
-
aria-hidden="true"
|
|
62
|
-
focusable="false"
|
|
63
|
-
>
|
|
64
|
-
<path d="M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm-32 232c0-4.4 3.6-8 8-8h48c4.4 0 8 3.6 8 8v272c0 4.4-3.6 8-8 8h-48c-4.4 0-8-3.6-8-8V296zm32 440a48.01 48.01 0 0 1 0-96 48.01 48.01 0 0 1 0 96z"></path>
|
|
65
|
-
</svg>
|
|
66
|
-
</i>
|
|
67
|
-
)
|
|
68
|
-
break
|
|
69
|
-
|
|
70
|
-
case "warning":
|
|
71
|
-
elem = (
|
|
72
|
-
<i class={"exicon"}>
|
|
73
|
-
<svg
|
|
74
|
-
viewBox="64 64 896 896"
|
|
75
|
-
data-icon="warning"
|
|
76
|
-
width="1em"
|
|
77
|
-
height="1em"
|
|
78
|
-
fill="currentColor"
|
|
79
|
-
aria-hidden="true"
|
|
80
|
-
focusable="false"
|
|
81
|
-
>
|
|
82
|
-
<path d="M955.7 856l-416-720c-6.2-10.7-16.9-16-27.7-16s-21.6 5.3-27.7 16l-416 720C56 877.4 71.4 904 96 904h832c24.6 0 40-26.6 27.7-48zM480 416c0-4.4 3.6-8 8-8h48c4.4 0 8 3.6 8 8v184c0 4.4-3.6 8-8 8h-48c-4.4 0-8-3.6-8-8V416zm32 352a48.01 48.01 0 0 1 0-96 48.01 48.01 0 0 1 0 96z"></path>
|
|
83
|
-
</svg>
|
|
84
|
-
</i>
|
|
85
|
-
)
|
|
86
|
-
break
|
|
87
|
-
|
|
88
|
-
case "error":
|
|
89
|
-
elem = (
|
|
90
|
-
<i class={"exicon"}>
|
|
91
|
-
<svg
|
|
92
|
-
viewBox="64 64 896 896"
|
|
93
|
-
data-icon="close-circle"
|
|
94
|
-
width="1em"
|
|
95
|
-
height="1em"
|
|
96
|
-
fill="currentColor"
|
|
97
|
-
aria-hidden="true"
|
|
98
|
-
focusable="false"
|
|
99
|
-
>
|
|
100
|
-
<path d="M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm165.4 618.2l-66-.3L512 563.4l-99.3 118.4-66.1.3c-4.4 0-8-3.5-8-8 0-1.9.7-3.7 1.9-5.2l130.1-155L340.5 359a8.32 8.32 0 0 1-1.9-5.2c0-4.4 3.6-8 8-8l66.1.3L512 464.6l99.3-118.4 66-.3c4.4 0 8 3.5 8 8 0 1.9-.7 3.7-1.9 5.2L553.5 514l130 155c1.2 1.5 1.9 3.3 1.9 5.2 0 4.4-3.6 8-8 8z"></path>
|
|
101
|
-
</svg>
|
|
102
|
-
</i>
|
|
103
|
-
)
|
|
104
|
-
break
|
|
105
|
-
default:
|
|
106
|
-
break
|
|
107
|
-
}
|
|
108
|
-
}
|
|
109
|
-
|
|
110
|
-
return elem
|
|
111
|
-
}
|
|
112
|
-
|
|
113
|
-
return () => (
|
|
114
|
-
<div class={`ex-result ex-result__${props.type}`}>
|
|
115
|
-
<div class={"ex-result-icon"}>{iconElem()}</div>
|
|
116
|
-
<div class={"ex-result-title"}>{slots.title ? slots.title?.() : props.title}</div>
|
|
117
|
-
<div class={"ex-result-description"}>{slots.description ? slots.description?.() : props.description}</div>
|
|
118
|
-
<div class={"ex-result-extra"}>{slots.extra?.()}</div>
|
|
119
|
-
</div>
|
|
120
|
-
)
|
|
121
|
-
},
|
|
122
|
-
})
|
|
1
|
+
import { defineComponent } from "vue"
|
|
2
|
+
import "./index.less"
|
|
3
|
+
|
|
4
|
+
/**
|
|
5
|
+
* ExResult 结果页
|
|
6
|
+
*/
|
|
7
|
+
export default defineComponent({
|
|
8
|
+
name: "ExResult",
|
|
9
|
+
props: {
|
|
10
|
+
/**
|
|
11
|
+
* 结果类型
|
|
12
|
+
* @values 'success', 'error', 'info', 'warning'
|
|
13
|
+
*/
|
|
14
|
+
type: { type: String, default: "success" },
|
|
15
|
+
|
|
16
|
+
/**
|
|
17
|
+
* 标题
|
|
18
|
+
*/
|
|
19
|
+
title: { type: String, default: "" },
|
|
20
|
+
|
|
21
|
+
/**
|
|
22
|
+
* 描述
|
|
23
|
+
*/
|
|
24
|
+
description: { type: String, default: "" },
|
|
25
|
+
},
|
|
26
|
+
setup(props, { slots }) {
|
|
27
|
+
const iconElem = () => {
|
|
28
|
+
let elem = null
|
|
29
|
+
|
|
30
|
+
if (slots.icon) {
|
|
31
|
+
elem = slots.icon()
|
|
32
|
+
} else {
|
|
33
|
+
switch (props.type) {
|
|
34
|
+
case "success":
|
|
35
|
+
elem = (
|
|
36
|
+
<i class={"exicon"}>
|
|
37
|
+
<svg
|
|
38
|
+
viewBox="64 64 896 896"
|
|
39
|
+
data-icon="check-circle"
|
|
40
|
+
width="1em"
|
|
41
|
+
height="1em"
|
|
42
|
+
fill="currentColor"
|
|
43
|
+
aria-hidden="true"
|
|
44
|
+
focusable="false"
|
|
45
|
+
>
|
|
46
|
+
<path d="M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm193.5 301.7l-210.6 292a31.8 31.8 0 0 1-51.7 0L318.5 484.9c-3.8-5.3 0-12.7 6.5-12.7h46.9c10.2 0 19.9 4.9 25.9 13.3l71.2 98.8 157.2-218c6-8.3 15.6-13.3 25.9-13.3H699c6.5 0 10.3 7.4 6.5 12.7z"></path>
|
|
47
|
+
</svg>
|
|
48
|
+
</i>
|
|
49
|
+
)
|
|
50
|
+
break
|
|
51
|
+
|
|
52
|
+
case "info":
|
|
53
|
+
elem = (
|
|
54
|
+
<i class={"exicon"}>
|
|
55
|
+
<svg
|
|
56
|
+
viewBox="64 64 896 896"
|
|
57
|
+
data-icon="exclamation-circle"
|
|
58
|
+
width="1em"
|
|
59
|
+
height="1em"
|
|
60
|
+
fill="currentColor"
|
|
61
|
+
aria-hidden="true"
|
|
62
|
+
focusable="false"
|
|
63
|
+
>
|
|
64
|
+
<path d="M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm-32 232c0-4.4 3.6-8 8-8h48c4.4 0 8 3.6 8 8v272c0 4.4-3.6 8-8 8h-48c-4.4 0-8-3.6-8-8V296zm32 440a48.01 48.01 0 0 1 0-96 48.01 48.01 0 0 1 0 96z"></path>
|
|
65
|
+
</svg>
|
|
66
|
+
</i>
|
|
67
|
+
)
|
|
68
|
+
break
|
|
69
|
+
|
|
70
|
+
case "warning":
|
|
71
|
+
elem = (
|
|
72
|
+
<i class={"exicon"}>
|
|
73
|
+
<svg
|
|
74
|
+
viewBox="64 64 896 896"
|
|
75
|
+
data-icon="warning"
|
|
76
|
+
width="1em"
|
|
77
|
+
height="1em"
|
|
78
|
+
fill="currentColor"
|
|
79
|
+
aria-hidden="true"
|
|
80
|
+
focusable="false"
|
|
81
|
+
>
|
|
82
|
+
<path d="M955.7 856l-416-720c-6.2-10.7-16.9-16-27.7-16s-21.6 5.3-27.7 16l-416 720C56 877.4 71.4 904 96 904h832c24.6 0 40-26.6 27.7-48zM480 416c0-4.4 3.6-8 8-8h48c4.4 0 8 3.6 8 8v184c0 4.4-3.6 8-8 8h-48c-4.4 0-8-3.6-8-8V416zm32 352a48.01 48.01 0 0 1 0-96 48.01 48.01 0 0 1 0 96z"></path>
|
|
83
|
+
</svg>
|
|
84
|
+
</i>
|
|
85
|
+
)
|
|
86
|
+
break
|
|
87
|
+
|
|
88
|
+
case "error":
|
|
89
|
+
elem = (
|
|
90
|
+
<i class={"exicon"}>
|
|
91
|
+
<svg
|
|
92
|
+
viewBox="64 64 896 896"
|
|
93
|
+
data-icon="close-circle"
|
|
94
|
+
width="1em"
|
|
95
|
+
height="1em"
|
|
96
|
+
fill="currentColor"
|
|
97
|
+
aria-hidden="true"
|
|
98
|
+
focusable="false"
|
|
99
|
+
>
|
|
100
|
+
<path d="M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm165.4 618.2l-66-.3L512 563.4l-99.3 118.4-66.1.3c-4.4 0-8-3.5-8-8 0-1.9.7-3.7 1.9-5.2l130.1-155L340.5 359a8.32 8.32 0 0 1-1.9-5.2c0-4.4 3.6-8 8-8l66.1.3L512 464.6l99.3-118.4 66-.3c4.4 0 8 3.5 8 8 0 1.9-.7 3.7-1.9 5.2L553.5 514l130 155c1.2 1.5 1.9 3.3 1.9 5.2 0 4.4-3.6 8-8 8z"></path>
|
|
101
|
+
</svg>
|
|
102
|
+
</i>
|
|
103
|
+
)
|
|
104
|
+
break
|
|
105
|
+
default:
|
|
106
|
+
break
|
|
107
|
+
}
|
|
108
|
+
}
|
|
109
|
+
|
|
110
|
+
return elem
|
|
111
|
+
}
|
|
112
|
+
|
|
113
|
+
return () => (
|
|
114
|
+
<div class={`ex-result ex-result__${props.type}`}>
|
|
115
|
+
<div class={"ex-result-icon"}>{iconElem()}</div>
|
|
116
|
+
<div class={"ex-result-title"}>{slots.title ? slots.title?.() : props.title}</div>
|
|
117
|
+
<div class={"ex-result-description"}>{slots.description ? slots.description?.() : props.description}</div>
|
|
118
|
+
<div class={"ex-result-extra"}>{slots.extra?.()}</div>
|
|
119
|
+
</div>
|
|
120
|
+
)
|
|
121
|
+
},
|
|
122
|
+
})
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import _ExResult from "./ExResult.jsx"
|
|
2
|
-
import withInstall from "../../utils/withInstall"
|
|
3
|
-
|
|
4
|
-
export const ExResult = withInstall(_ExResult)
|
|
5
|
-
export default ExResult
|
|
1
|
+
import _ExResult from "./ExResult.jsx"
|
|
2
|
+
import withInstall from "../../utils/withInstall"
|
|
3
|
+
|
|
4
|
+
export const ExResult = withInstall(_ExResult)
|
|
5
|
+
export default ExResult
|
|
@@ -1,60 +1,60 @@
|
|
|
1
|
-
.ex-result {
|
|
2
|
-
padding: 48px 32px;
|
|
3
|
-
|
|
4
|
-
.ex-result-icon {
|
|
5
|
-
margin-bottom: 24px;
|
|
6
|
-
text-align: center;
|
|
7
|
-
|
|
8
|
-
& > .exicon {
|
|
9
|
-
font-size: 72px;
|
|
10
|
-
}
|
|
11
|
-
}
|
|
12
|
-
|
|
13
|
-
.ex-result-title {
|
|
14
|
-
color: rgba(0, 0, 0, .85);
|
|
15
|
-
font-size: 24px;
|
|
16
|
-
line-height: 1.8;
|
|
17
|
-
text-align: center;
|
|
18
|
-
}
|
|
19
|
-
|
|
20
|
-
.ex-result-description {
|
|
21
|
-
color: rgba(0, 0, 0, .45);
|
|
22
|
-
font-size: 14px;
|
|
23
|
-
line-height: 1.6;
|
|
24
|
-
text-align: center;
|
|
25
|
-
}
|
|
26
|
-
|
|
27
|
-
.ex-result-extra {
|
|
28
|
-
margin-top: 32px;
|
|
29
|
-
text-align: center;
|
|
30
|
-
}
|
|
31
|
-
|
|
32
|
-
&.ex-result__success .ex-result-icon > .exicon {
|
|
33
|
-
color: #52c41a;
|
|
34
|
-
}
|
|
35
|
-
|
|
36
|
-
&.ex-result__info .ex-result-icon > .exicon {
|
|
37
|
-
color: #1890ff;
|
|
38
|
-
}
|
|
39
|
-
|
|
40
|
-
&.ex-result__warning .ex-result-icon > .exicon {
|
|
41
|
-
color: #faad14;
|
|
42
|
-
}
|
|
43
|
-
|
|
44
|
-
&.ex-result__error .ex-result-icon > .exicon {
|
|
45
|
-
color: #f5222d;
|
|
46
|
-
}
|
|
47
|
-
|
|
48
|
-
.exicon {
|
|
49
|
-
display: inline-block;
|
|
50
|
-
color: inherit;
|
|
51
|
-
font-style: normal;
|
|
52
|
-
line-height: 0;
|
|
53
|
-
text-align: center;
|
|
54
|
-
text-transform: none;
|
|
55
|
-
vertical-align: -.125em;
|
|
56
|
-
text-rendering: optimizeLegibility;
|
|
57
|
-
-webkit-font-smoothing: antialiased;
|
|
58
|
-
-moz-osx-font-smoothing: grayscale;
|
|
59
|
-
}
|
|
1
|
+
.ex-result {
|
|
2
|
+
padding: 48px 32px;
|
|
3
|
+
|
|
4
|
+
.ex-result-icon {
|
|
5
|
+
margin-bottom: 24px;
|
|
6
|
+
text-align: center;
|
|
7
|
+
|
|
8
|
+
& > .exicon {
|
|
9
|
+
font-size: 72px;
|
|
10
|
+
}
|
|
11
|
+
}
|
|
12
|
+
|
|
13
|
+
.ex-result-title {
|
|
14
|
+
color: rgba(0, 0, 0, .85);
|
|
15
|
+
font-size: 24px;
|
|
16
|
+
line-height: 1.8;
|
|
17
|
+
text-align: center;
|
|
18
|
+
}
|
|
19
|
+
|
|
20
|
+
.ex-result-description {
|
|
21
|
+
color: rgba(0, 0, 0, .45);
|
|
22
|
+
font-size: 14px;
|
|
23
|
+
line-height: 1.6;
|
|
24
|
+
text-align: center;
|
|
25
|
+
}
|
|
26
|
+
|
|
27
|
+
.ex-result-extra {
|
|
28
|
+
margin-top: 32px;
|
|
29
|
+
text-align: center;
|
|
30
|
+
}
|
|
31
|
+
|
|
32
|
+
&.ex-result__success .ex-result-icon > .exicon {
|
|
33
|
+
color: #52c41a;
|
|
34
|
+
}
|
|
35
|
+
|
|
36
|
+
&.ex-result__info .ex-result-icon > .exicon {
|
|
37
|
+
color: #1890ff;
|
|
38
|
+
}
|
|
39
|
+
|
|
40
|
+
&.ex-result__warning .ex-result-icon > .exicon {
|
|
41
|
+
color: #faad14;
|
|
42
|
+
}
|
|
43
|
+
|
|
44
|
+
&.ex-result__error .ex-result-icon > .exicon {
|
|
45
|
+
color: #f5222d;
|
|
46
|
+
}
|
|
47
|
+
|
|
48
|
+
.exicon {
|
|
49
|
+
display: inline-block;
|
|
50
|
+
color: inherit;
|
|
51
|
+
font-style: normal;
|
|
52
|
+
line-height: 0;
|
|
53
|
+
text-align: center;
|
|
54
|
+
text-transform: none;
|
|
55
|
+
vertical-align: -.125em;
|
|
56
|
+
text-rendering: optimizeLegibility;
|
|
57
|
+
-webkit-font-smoothing: antialiased;
|
|
58
|
+
-moz-osx-font-smoothing: grayscale;
|
|
59
|
+
}
|
|
60
60
|
}
|