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,120 +1,120 @@
|
|
|
1
|
-
import { defineComponent } from "vue"
|
|
2
|
-
import { Button } from "vant"
|
|
3
|
-
import "./index.less"
|
|
4
|
-
|
|
5
|
-
/**
|
|
6
|
-
* 主题组件
|
|
7
|
-
* @version 1.0.0
|
|
8
|
-
*/
|
|
9
|
-
export default defineComponent({
|
|
10
|
-
name: "ExButton",
|
|
11
|
-
props: {
|
|
12
|
-
/**
|
|
13
|
-
* 按钮类型
|
|
14
|
-
* @values primary, success, warning, danger
|
|
15
|
-
*/
|
|
16
|
-
type: { type: String, default: "default" },
|
|
17
|
-
|
|
18
|
-
/**
|
|
19
|
-
* 按钮大小
|
|
20
|
-
* @values large, normal, small, mini
|
|
21
|
-
*/
|
|
22
|
-
size: { type: String, default: "normal" },
|
|
23
|
-
|
|
24
|
-
/**
|
|
25
|
-
* 失效状态
|
|
26
|
-
*/
|
|
27
|
-
disabled: { type: Boolean, default: false },
|
|
28
|
-
|
|
29
|
-
/**
|
|
30
|
-
* 是否圆形按钮
|
|
31
|
-
*/
|
|
32
|
-
round: { type: Boolean, default: true },
|
|
33
|
-
|
|
34
|
-
/**
|
|
35
|
-
* 是否块状按钮
|
|
36
|
-
*/
|
|
37
|
-
block: { type: Boolean, default: true },
|
|
38
|
-
|
|
39
|
-
/**
|
|
40
|
-
* 按钮标签
|
|
41
|
-
*/
|
|
42
|
-
text: { type: String, default: "" },
|
|
43
|
-
|
|
44
|
-
/**
|
|
45
|
-
* 按钮图标,需要使用
|
|
46
|
-
*
|
|
47
|
-
*/
|
|
48
|
-
icon: { type: Object, default: null },
|
|
49
|
-
|
|
50
|
-
/**
|
|
51
|
-
* 按钮图标位置
|
|
52
|
-
* @values left, right
|
|
53
|
-
*/
|
|
54
|
-
iconPosition: { type: String, default: "left" },
|
|
55
|
-
|
|
56
|
-
/**
|
|
57
|
-
* 请求状态控制器
|
|
58
|
-
* @param {boolean} fetcher.loading 是否加载中
|
|
59
|
-
*/
|
|
60
|
-
fetcher: {
|
|
61
|
-
type: Object,
|
|
62
|
-
default: () => ({ loading: false }),
|
|
63
|
-
},
|
|
64
|
-
|
|
65
|
-
/**
|
|
66
|
-
* [原生配置](https://vant-contrib.gitee.io/vant/#/zh-CN/button)
|
|
67
|
-
*/
|
|
68
|
-
buttonProps: {
|
|
69
|
-
type: Object,
|
|
70
|
-
default: () => ({}),
|
|
71
|
-
},
|
|
72
|
-
},
|
|
73
|
-
emits: [
|
|
74
|
-
/**
|
|
75
|
-
* @event click
|
|
76
|
-
* @param {Event} event 点击事件
|
|
77
|
-
*/
|
|
78
|
-
"click",
|
|
79
|
-
],
|
|
80
|
-
|
|
81
|
-
setup(props, { emit, slots }) {
|
|
82
|
-
const onClick = (e) => {
|
|
83
|
-
/**
|
|
84
|
-
* @event click 点击事件
|
|
85
|
-
*/
|
|
86
|
-
emit("click", e)
|
|
87
|
-
}
|
|
88
|
-
|
|
89
|
-
const defaultLabel = () => {
|
|
90
|
-
return props.text || slots.default?.()
|
|
91
|
-
}
|
|
92
|
-
|
|
93
|
-
const defaultSlot = () => {
|
|
94
|
-
if (props.icon && props.iconPosition === "left") {
|
|
95
|
-
return [props.icon, defaultLabel()]
|
|
96
|
-
} else if (props.icon && props.iconPosition === "right") {
|
|
97
|
-
return [defaultLabel(), props.icon]
|
|
98
|
-
}
|
|
99
|
-
return [defaultLabel()]
|
|
100
|
-
}
|
|
101
|
-
|
|
102
|
-
return () => (
|
|
103
|
-
<Button
|
|
104
|
-
class={"ex-button"}
|
|
105
|
-
loading={props.fetcher.loading}
|
|
106
|
-
type={props.type}
|
|
107
|
-
size={props.size}
|
|
108
|
-
disabled={props.disabled}
|
|
109
|
-
round={props.round}
|
|
110
|
-
block={props.block}
|
|
111
|
-
onClick={onClick}
|
|
112
|
-
{...props.buttonProps}
|
|
113
|
-
>
|
|
114
|
-
{{
|
|
115
|
-
default: () => defaultSlot(),
|
|
116
|
-
}}
|
|
117
|
-
</Button>
|
|
118
|
-
)
|
|
119
|
-
},
|
|
120
|
-
})
|
|
1
|
+
import { defineComponent } from "vue"
|
|
2
|
+
import { Button } from "vant"
|
|
3
|
+
import "./index.less"
|
|
4
|
+
|
|
5
|
+
/**
|
|
6
|
+
* 主题组件
|
|
7
|
+
* @version 1.0.0
|
|
8
|
+
*/
|
|
9
|
+
export default defineComponent({
|
|
10
|
+
name: "ExButton",
|
|
11
|
+
props: {
|
|
12
|
+
/**
|
|
13
|
+
* 按钮类型
|
|
14
|
+
* @values primary, success, warning, danger
|
|
15
|
+
*/
|
|
16
|
+
type: { type: String, default: "default" },
|
|
17
|
+
|
|
18
|
+
/**
|
|
19
|
+
* 按钮大小
|
|
20
|
+
* @values large, normal, small, mini
|
|
21
|
+
*/
|
|
22
|
+
size: { type: String, default: "normal" },
|
|
23
|
+
|
|
24
|
+
/**
|
|
25
|
+
* 失效状态
|
|
26
|
+
*/
|
|
27
|
+
disabled: { type: Boolean, default: false },
|
|
28
|
+
|
|
29
|
+
/**
|
|
30
|
+
* 是否圆形按钮
|
|
31
|
+
*/
|
|
32
|
+
round: { type: Boolean, default: true },
|
|
33
|
+
|
|
34
|
+
/**
|
|
35
|
+
* 是否块状按钮
|
|
36
|
+
*/
|
|
37
|
+
block: { type: Boolean, default: true },
|
|
38
|
+
|
|
39
|
+
/**
|
|
40
|
+
* 按钮标签
|
|
41
|
+
*/
|
|
42
|
+
text: { type: String, default: "" },
|
|
43
|
+
|
|
44
|
+
/**
|
|
45
|
+
* 按钮图标,需要使用
|
|
46
|
+
*
|
|
47
|
+
*/
|
|
48
|
+
icon: { type: Object, default: null },
|
|
49
|
+
|
|
50
|
+
/**
|
|
51
|
+
* 按钮图标位置
|
|
52
|
+
* @values left, right
|
|
53
|
+
*/
|
|
54
|
+
iconPosition: { type: String, default: "left" },
|
|
55
|
+
|
|
56
|
+
/**
|
|
57
|
+
* 请求状态控制器
|
|
58
|
+
* @param {boolean} fetcher.loading 是否加载中
|
|
59
|
+
*/
|
|
60
|
+
fetcher: {
|
|
61
|
+
type: Object,
|
|
62
|
+
default: () => ({ loading: false }),
|
|
63
|
+
},
|
|
64
|
+
|
|
65
|
+
/**
|
|
66
|
+
* [原生配置](https://vant-contrib.gitee.io/vant/#/zh-CN/button)
|
|
67
|
+
*/
|
|
68
|
+
buttonProps: {
|
|
69
|
+
type: Object,
|
|
70
|
+
default: () => ({}),
|
|
71
|
+
},
|
|
72
|
+
},
|
|
73
|
+
emits: [
|
|
74
|
+
/**
|
|
75
|
+
* @event click
|
|
76
|
+
* @param {Event} event 点击事件
|
|
77
|
+
*/
|
|
78
|
+
"click",
|
|
79
|
+
],
|
|
80
|
+
|
|
81
|
+
setup(props, { emit, slots }) {
|
|
82
|
+
const onClick = (e) => {
|
|
83
|
+
/**
|
|
84
|
+
* @event click 点击事件
|
|
85
|
+
*/
|
|
86
|
+
emit("click", e)
|
|
87
|
+
}
|
|
88
|
+
|
|
89
|
+
const defaultLabel = () => {
|
|
90
|
+
return props.text || slots.default?.()
|
|
91
|
+
}
|
|
92
|
+
|
|
93
|
+
const defaultSlot = () => {
|
|
94
|
+
if (props.icon && props.iconPosition === "left") {
|
|
95
|
+
return [props.icon, defaultLabel()]
|
|
96
|
+
} else if (props.icon && props.iconPosition === "right") {
|
|
97
|
+
return [defaultLabel(), props.icon]
|
|
98
|
+
}
|
|
99
|
+
return [defaultLabel()]
|
|
100
|
+
}
|
|
101
|
+
|
|
102
|
+
return () => (
|
|
103
|
+
<Button
|
|
104
|
+
class={"ex-button"}
|
|
105
|
+
loading={props.fetcher.loading}
|
|
106
|
+
type={props.type}
|
|
107
|
+
size={props.size}
|
|
108
|
+
disabled={props.disabled}
|
|
109
|
+
round={props.round}
|
|
110
|
+
block={props.block}
|
|
111
|
+
onClick={onClick}
|
|
112
|
+
{...props.buttonProps}
|
|
113
|
+
>
|
|
114
|
+
{{
|
|
115
|
+
default: () => defaultSlot(),
|
|
116
|
+
}}
|
|
117
|
+
</Button>
|
|
118
|
+
)
|
|
119
|
+
},
|
|
120
|
+
})
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import _ExButton from "./ExButton.jsx"
|
|
2
|
-
import withInstall from "../../utils/withInstall"
|
|
3
|
-
export const ExButton = withInstall(_ExButton)
|
|
4
|
-
export default ExButton
|
|
1
|
+
import _ExButton from "./ExButton.jsx"
|
|
2
|
+
import withInstall from "../../utils/withInstall"
|
|
3
|
+
export const ExButton = withInstall(_ExButton)
|
|
4
|
+
export default ExButton
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
.ex-button {
|
|
2
|
-
padding: 0 40px;
|
|
3
|
-
}
|
|
4
|
-
|
|
5
|
-
:root:root {
|
|
6
|
-
--van-button-normal-font-size: 16px;
|
|
7
|
-
--van-button-default-height: 48px;
|
|
1
|
+
.ex-button {
|
|
2
|
+
padding: 0 40px;
|
|
3
|
+
}
|
|
4
|
+
|
|
5
|
+
:root:root {
|
|
6
|
+
--van-button-normal-font-size: 16px;
|
|
7
|
+
--van-button-default-height: 48px;
|
|
8
8
|
}
|
|
@@ -1,31 +1,31 @@
|
|
|
1
|
-
import { defineComponent } from "vue"
|
|
2
|
-
import "./index.less"
|
|
3
|
-
import { genPixel } from "../../utils/style.js"
|
|
4
|
-
|
|
5
|
-
/**
|
|
6
|
-
* 装饰组件
|
|
7
|
-
*
|
|
8
|
-
* @version 1.0.0
|
|
9
|
-
*/
|
|
10
|
-
export default defineComponent({
|
|
11
|
-
name: "ExDecorator",
|
|
12
|
-
props: {
|
|
13
|
-
/**
|
|
14
|
-
* 自定义颜色
|
|
15
|
-
* @values green, blue, black, orange
|
|
16
|
-
*/
|
|
17
|
-
color: { type: String, default: "green" },
|
|
18
|
-
|
|
19
|
-
/**
|
|
20
|
-
* 高度
|
|
21
|
-
*/
|
|
22
|
-
height: { type: [Number, String], default: "auto" },
|
|
23
|
-
},
|
|
24
|
-
setup(props, { slots }) {
|
|
25
|
-
return () => (
|
|
26
|
-
<div class={`ex-decorator ex-decorator__${props.color}`} style={{ height: genPixel(props.height) }}>
|
|
27
|
-
{slots.default?.()}
|
|
28
|
-
</div>
|
|
29
|
-
)
|
|
30
|
-
},
|
|
31
|
-
})
|
|
1
|
+
import { defineComponent } from "vue"
|
|
2
|
+
import "./index.less"
|
|
3
|
+
import { genPixel } from "../../utils/style.js"
|
|
4
|
+
|
|
5
|
+
/**
|
|
6
|
+
* 装饰组件
|
|
7
|
+
*
|
|
8
|
+
* @version 1.0.0
|
|
9
|
+
*/
|
|
10
|
+
export default defineComponent({
|
|
11
|
+
name: "ExDecorator",
|
|
12
|
+
props: {
|
|
13
|
+
/**
|
|
14
|
+
* 自定义颜色
|
|
15
|
+
* @values green, blue, black, orange
|
|
16
|
+
*/
|
|
17
|
+
color: { type: String, default: "green" },
|
|
18
|
+
|
|
19
|
+
/**
|
|
20
|
+
* 高度
|
|
21
|
+
*/
|
|
22
|
+
height: { type: [Number, String], default: "auto" },
|
|
23
|
+
},
|
|
24
|
+
setup(props, { slots }) {
|
|
25
|
+
return () => (
|
|
26
|
+
<div class={`ex-decorator ex-decorator__${props.color}`} style={{ height: genPixel(props.height) }}>
|
|
27
|
+
{slots.default?.()}
|
|
28
|
+
</div>
|
|
29
|
+
)
|
|
30
|
+
},
|
|
31
|
+
})
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import _ExDecorator from "./ExDecorator.jsx"
|
|
2
|
-
import withInstall from "../../utils/withInstall"
|
|
3
|
-
|
|
4
|
-
export const ExDecorator = withInstall(_ExDecorator)
|
|
5
|
-
export default ExDecorator
|
|
1
|
+
import _ExDecorator from "./ExDecorator.jsx"
|
|
2
|
+
import withInstall from "../../utils/withInstall"
|
|
3
|
+
|
|
4
|
+
export const ExDecorator = withInstall(_ExDecorator)
|
|
5
|
+
export default ExDecorator
|
|
@@ -1,77 +1,77 @@
|
|
|
1
|
-
.ex-decorator {
|
|
2
|
-
width: 100%;
|
|
3
|
-
position: relative;
|
|
4
|
-
color: var(--van-white);
|
|
5
|
-
overflow: hidden;
|
|
6
|
-
|
|
7
|
-
&:before {
|
|
8
|
-
content: " ";
|
|
9
|
-
position: absolute;
|
|
10
|
-
top: -30%;
|
|
11
|
-
right: -20%;
|
|
12
|
-
width: 60%;
|
|
13
|
-
padding-bottom: 60%;
|
|
14
|
-
height: 0;
|
|
15
|
-
border-radius: 50%;
|
|
16
|
-
}
|
|
17
|
-
|
|
18
|
-
&:after {
|
|
19
|
-
content: " ";
|
|
20
|
-
position: absolute;
|
|
21
|
-
bottom: -30%;
|
|
22
|
-
right: -20%;
|
|
23
|
-
width: 80%;
|
|
24
|
-
padding-bottom: 80%;
|
|
25
|
-
height: 0;
|
|
26
|
-
border-radius: 50%;
|
|
27
|
-
}
|
|
28
|
-
|
|
29
|
-
&.ex-decorator__green {
|
|
30
|
-
background: var(--ex-green);
|
|
31
|
-
|
|
32
|
-
&:before {
|
|
33
|
-
background: linear-gradient(135deg, rgba(77, 209, 198, .33), rgba(79, 211, 200, 0));
|
|
34
|
-
}
|
|
35
|
-
|
|
36
|
-
&:after {
|
|
37
|
-
background: linear-gradient(235deg, rgba(77, 209, 198, .33), rgba(79, 211, 200, 0));
|
|
38
|
-
}
|
|
39
|
-
}
|
|
40
|
-
|
|
41
|
-
&.ex-decorator__orange {
|
|
42
|
-
background: var(--ex-orange);
|
|
43
|
-
|
|
44
|
-
&:before {
|
|
45
|
-
background: linear-gradient(135deg, rgba(255, 197, 158, 0.33), rgba(255, 197, 158, 0));
|
|
46
|
-
}
|
|
47
|
-
|
|
48
|
-
&:after {
|
|
49
|
-
background: linear-gradient(235deg, rgba(255, 197, 158, .33), rgba(255, 197, 158, 0));
|
|
50
|
-
}
|
|
51
|
-
}
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
&.ex-decorator__blue {
|
|
55
|
-
background: var(--ex-blue);
|
|
56
|
-
|
|
57
|
-
&:before {
|
|
58
|
-
background: linear-gradient(135deg, rgba(172, 209, 255, 0.33), rgba(172, 209, 255, 0));
|
|
59
|
-
}
|
|
60
|
-
|
|
61
|
-
&:after {
|
|
62
|
-
background: linear-gradient(235deg, rgba(172, 209, 255, 0.33), rgba(172, 209, 255, 0));
|
|
63
|
-
}
|
|
64
|
-
}
|
|
65
|
-
|
|
66
|
-
&.ex-decorator__black {
|
|
67
|
-
background: var(--ex-black);
|
|
68
|
-
|
|
69
|
-
&:before {
|
|
70
|
-
background: linear-gradient(135deg, rgba(100, 100, 100, 0.33), rgba(100, 100, 100, 0));
|
|
71
|
-
}
|
|
72
|
-
|
|
73
|
-
&:after {
|
|
74
|
-
background: linear-gradient(235deg, rgba(100, 100, 100, .33), rgba(100, 100, 100, 0));
|
|
75
|
-
}
|
|
76
|
-
}
|
|
1
|
+
.ex-decorator {
|
|
2
|
+
width: 100%;
|
|
3
|
+
position: relative;
|
|
4
|
+
color: var(--van-white);
|
|
5
|
+
overflow: hidden;
|
|
6
|
+
|
|
7
|
+
&:before {
|
|
8
|
+
content: " ";
|
|
9
|
+
position: absolute;
|
|
10
|
+
top: -30%;
|
|
11
|
+
right: -20%;
|
|
12
|
+
width: 60%;
|
|
13
|
+
padding-bottom: 60%;
|
|
14
|
+
height: 0;
|
|
15
|
+
border-radius: 50%;
|
|
16
|
+
}
|
|
17
|
+
|
|
18
|
+
&:after {
|
|
19
|
+
content: " ";
|
|
20
|
+
position: absolute;
|
|
21
|
+
bottom: -30%;
|
|
22
|
+
right: -20%;
|
|
23
|
+
width: 80%;
|
|
24
|
+
padding-bottom: 80%;
|
|
25
|
+
height: 0;
|
|
26
|
+
border-radius: 50%;
|
|
27
|
+
}
|
|
28
|
+
|
|
29
|
+
&.ex-decorator__green {
|
|
30
|
+
background: var(--ex-green);
|
|
31
|
+
|
|
32
|
+
&:before {
|
|
33
|
+
background: linear-gradient(135deg, rgba(77, 209, 198, .33), rgba(79, 211, 200, 0));
|
|
34
|
+
}
|
|
35
|
+
|
|
36
|
+
&:after {
|
|
37
|
+
background: linear-gradient(235deg, rgba(77, 209, 198, .33), rgba(79, 211, 200, 0));
|
|
38
|
+
}
|
|
39
|
+
}
|
|
40
|
+
|
|
41
|
+
&.ex-decorator__orange {
|
|
42
|
+
background: var(--ex-orange);
|
|
43
|
+
|
|
44
|
+
&:before {
|
|
45
|
+
background: linear-gradient(135deg, rgba(255, 197, 158, 0.33), rgba(255, 197, 158, 0));
|
|
46
|
+
}
|
|
47
|
+
|
|
48
|
+
&:after {
|
|
49
|
+
background: linear-gradient(235deg, rgba(255, 197, 158, .33), rgba(255, 197, 158, 0));
|
|
50
|
+
}
|
|
51
|
+
}
|
|
52
|
+
|
|
53
|
+
|
|
54
|
+
&.ex-decorator__blue {
|
|
55
|
+
background: var(--ex-blue);
|
|
56
|
+
|
|
57
|
+
&:before {
|
|
58
|
+
background: linear-gradient(135deg, rgba(172, 209, 255, 0.33), rgba(172, 209, 255, 0));
|
|
59
|
+
}
|
|
60
|
+
|
|
61
|
+
&:after {
|
|
62
|
+
background: linear-gradient(235deg, rgba(172, 209, 255, 0.33), rgba(172, 209, 255, 0));
|
|
63
|
+
}
|
|
64
|
+
}
|
|
65
|
+
|
|
66
|
+
&.ex-decorator__black {
|
|
67
|
+
background: var(--ex-black);
|
|
68
|
+
|
|
69
|
+
&:before {
|
|
70
|
+
background: linear-gradient(135deg, rgba(100, 100, 100, 0.33), rgba(100, 100, 100, 0));
|
|
71
|
+
}
|
|
72
|
+
|
|
73
|
+
&:after {
|
|
74
|
+
background: linear-gradient(235deg, rgba(100, 100, 100, .33), rgba(100, 100, 100, 0));
|
|
75
|
+
}
|
|
76
|
+
}
|
|
77
77
|
}
|