@fishawack/lab-velocity 2.0.0-beta.1 → 2.0.0-beta.3
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/_Build/vue/components/Icon.vue +33 -0
- package/_Build/vue/components/Svg.vue +45 -0
- package/_Build/vue/components/basic/Button.vue +109 -0
- package/_Build/vue/components/basic/link.vue +64 -0
- package/_Build/vue/components/form/Cascader.vue +85 -0
- package/_Build/vue/components/form/Checkbox.vue +39 -0
- package/_Build/vue/components/form/CheckboxGroup.vue +91 -0
- package/_Build/vue/components/form/DatePicker.vue +116 -0
- package/_Build/vue/components/form/InputNumber.vue +89 -0
- package/_Build/vue/components/form/Select.vue +109 -0
- package/_Build/vue/components/form/Switch.vue +63 -0
- package/_Build/vue/components/form/Upload.vue +101 -0
- package/_Build/vue/components/form/Wysiwyg.vue +127 -0
- package/_Build/vue/components/form/Wysiwyg2.vue +577 -0
- package/_Build/vue/components/form/basic.vue +106 -0
- package/_Build/vue/components/form/color.vue +22 -0
- package/_Build/vue/components/form/file.vue +89 -0
- package/_Build/vue/components/form/input.js +79 -0
- package/_Build/vue/components/form/input.vue +105 -0
- package/_Build/vue/components/layout/Alert.vue +38 -0
- package/_Build/vue/components/layout/Footer.vue +50 -0
- package/_Build/vue/components/layout/Header.vue +13 -0
- package/_Build/vue/components/layout/Loader.vue +59 -0
- package/_Build/vue/components/layout/Tooltip.vue +46 -0
- package/_Build/vue/components/layout/pageTitle.vue +18 -0
- package/_Build/vue/components/layout/sideBar.vue +25 -0
- package/_Build/vue/components/navigation/Breadcrumbs.vue +37 -0
- package/_Build/vue/components/navigation/BreadcrumbsItem.vue +19 -0
- package/_Build/vue/components/navigation/Menu.vue +14 -0
- package/_Build/vue/components/navigation/MenuItem.vue +20 -0
- package/_Build/vue/components/navigation/MenuItemGroup.vue +20 -0
- package/_Build/vue/components/navigation/SubMenu.vue +20 -0
- package/_Build/vue/modules/AuthModule/adminRoutes/PCompanies/Children/Upload/upload.vue +251 -0
- package/_Build/vue/modules/AuthModule/adminRoutes/PCompanies/Children/create.vue +62 -0
- package/_Build/vue/modules/AuthModule/adminRoutes/PCompanies/Children/edit.vue +98 -0
- package/_Build/vue/modules/AuthModule/adminRoutes/PCompanies/Children/index.vue +90 -0
- package/_Build/vue/modules/AuthModule/adminRoutes/PCompanies/Children/partials/form.vue +173 -0
- package/_Build/vue/modules/AuthModule/adminRoutes/PCompanies/Children/show.vue +262 -0
- package/_Build/vue/modules/AuthModule/adminRoutes/PCompanies/parent.vue +36 -0
- package/_Build/vue/modules/AuthModule/adminRoutes/PUsers/Children/create.vue +112 -0
- package/_Build/vue/modules/AuthModule/adminRoutes/PUsers/Children/edit.vue +103 -0
- package/_Build/vue/modules/AuthModule/adminRoutes/PUsers/Children/index.vue +112 -0
- package/_Build/vue/modules/AuthModule/adminRoutes/PUsers/Children/partials/form.vue +169 -0
- package/_Build/vue/modules/AuthModule/adminRoutes/PUsers/Children/show.vue +120 -0
- package/_Build/vue/modules/AuthModule/adminRoutes/PUsers/parent.vue +36 -0
- package/_Build/vue/modules/AuthModule/components/AuthModal.vue +105 -0
- package/_Build/vue/modules/AuthModule/components/Chip.vue +70 -0
- package/_Build/vue/modules/AuthModule/components/Chips.vue +26 -0
- package/_Build/vue/modules/AuthModule/components/FormRole.vue +115 -0
- package/_Build/vue/modules/AuthModule/components/VBreadcrumbs.vue +33 -0
- package/_Build/vue/modules/AuthModule/components/VFormFooter.vue +46 -0
- package/_Build/vue/modules/AuthModule/components/VPageHeader.vue +38 -0
- package/_Build/vue/modules/AuthModule/components/VPasswordValidation.vue +106 -0
- package/_Build/vue/modules/AuthModule/components/VRoleLegend.vue +43 -0
- package/_Build/vue/modules/AuthModule/components/VTable.vue +127 -0
- package/_Build/vue/modules/AuthModule/components/VTableSorter.vue +240 -0
- package/_Build/vue/modules/AuthModule/js/FakeAPI.js +78 -0
- package/_Build/vue/modules/AuthModule/js/axios.js +62 -0
- package/_Build/vue/modules/AuthModule/js/router.js +295 -0
- package/_Build/vue/modules/AuthModule/js/store.js +62 -0
- package/_Build/vue/modules/AuthModule/routes/account-exists.vue +33 -0
- package/_Build/vue/modules/AuthModule/routes/change-password.vue +165 -0
- package/_Build/vue/modules/AuthModule/routes/container.vue +34 -0
- package/_Build/vue/modules/AuthModule/routes/expired-reset.vue +78 -0
- package/_Build/vue/modules/AuthModule/routes/expired-verification.vue +100 -0
- package/_Build/vue/modules/AuthModule/routes/force-reset.vue +152 -0
- package/_Build/vue/modules/AuthModule/routes/forgot.vue +91 -0
- package/_Build/vue/modules/AuthModule/routes/login.vue +143 -0
- package/_Build/vue/modules/AuthModule/routes/logincallback.vue +41 -0
- package/_Build/vue/modules/AuthModule/routes/loginheadless.vue +21 -0
- package/_Build/vue/modules/AuthModule/routes/loginsso.vue +134 -0
- package/_Build/vue/modules/AuthModule/routes/logout.vue +21 -0
- package/_Build/vue/modules/AuthModule/routes/logoutheadless.vue +27 -0
- package/_Build/vue/modules/AuthModule/routes/register.vue +174 -0
- package/_Build/vue/modules/AuthModule/routes/reset.vue +133 -0
- package/_Build/vue/modules/AuthModule/routes/success-forgot.vue +119 -0
- package/_Build/vue/modules/AuthModule/routes/success-reset.vue +35 -0
- package/_Build/vue/modules/AuthModule/routes/success-verify.vue +32 -0
- package/_Build/vue/modules/AuthModule/routes/verify.vue +113 -0
- package/package.json +3 -9
- package/components/_alert.scss +0 -5
- package/components/_basic.scss +0 -55
- package/components/_breadcrumbs.scss +0 -39
- package/components/_button.scss +0 -304
- package/components/_cascader.scss +0 -12
- package/components/_checkbox.scss +0 -41
- package/components/_chip.scss +0 -24
- package/components/_collapse.scss +0 -24
- package/components/_datepicker.scss +0 -52
- package/components/_footer.scss +0 -46
- package/components/_form.scss +0 -24
- package/components/_header.scss +0 -54
- package/components/_icon.scss +0 -25
- package/components/_input.scss +0 -0
- package/components/_inputNumber.scss +0 -22
- package/components/_link.scss +0 -44
- package/components/_loader.scss +0 -43
- package/components/_menu.scss +0 -112
- package/components/_pageTitle.scss +0 -8
- package/components/_permissionLegend.scss +0 -18
- package/components/_select.scss +0 -29
- package/components/_sidebar.scss +0 -56
- package/components/_switch.scss +0 -14
- package/components/_table.scss +0 -20
- package/components/_tooltip.scss +0 -4
- package/components/_typography.scss +0 -162
- package/components/_upload.scss +0 -15
- package/components/_wysiwyg.scss +0 -7
- package/components/_wysiwyg2.scss +0 -142
- package/modules/_AuthModule.scss +0 -212
- package/modules/_AuthVariables.scss +0 -7
- package/modules/_modal.scss +0 -24
|
@@ -0,0 +1,113 @@
|
|
|
1
|
+
<template>
|
|
2
|
+
<h1 class="h2 h2--small">Verify your email address</h1>
|
|
3
|
+
|
|
4
|
+
<form class="form" @submit.prevent="submit">
|
|
5
|
+
<p class="AM-mt-2 AM-mb-0 AM-color-highlight">
|
|
6
|
+
<strong class="">Email: {{ user?.email }}</strong>
|
|
7
|
+
</p>
|
|
8
|
+
<p class="AM-mt-0.5">
|
|
9
|
+
<strong>Please check your inbox</strong> for a Verification email
|
|
10
|
+
from {{ $root.appName }}. Click the link in that email to verify
|
|
11
|
+
your email address and complete your registration.
|
|
12
|
+
</p>
|
|
13
|
+
<p class="AM-mt-0.5 AM-mb-0">
|
|
14
|
+
Haven’t received the email after 10 minutes?
|
|
15
|
+
</p>
|
|
16
|
+
|
|
17
|
+
<el-input
|
|
18
|
+
class="hidden"
|
|
19
|
+
v-model="form.email"
|
|
20
|
+
label="Email address"
|
|
21
|
+
name="email"
|
|
22
|
+
:error="form.errors"
|
|
23
|
+
type="email"
|
|
24
|
+
placeholder="Email "
|
|
25
|
+
required
|
|
26
|
+
/>
|
|
27
|
+
|
|
28
|
+
<elButton
|
|
29
|
+
class="AM-mt AM-mb-3"
|
|
30
|
+
native-type="submit"
|
|
31
|
+
type="primary"
|
|
32
|
+
:disabled="form.processing"
|
|
33
|
+
:loading="form.processing"
|
|
34
|
+
@click="onSubmit"
|
|
35
|
+
>
|
|
36
|
+
Re-send verification link
|
|
37
|
+
</elButton>
|
|
38
|
+
|
|
39
|
+
<p class="disclaimer AM-mt-1.5">
|
|
40
|
+
Having trouble singing in?
|
|
41
|
+
<a :href="$store.state.auth.contact" class="underline"
|
|
42
|
+
>Contact us</a
|
|
43
|
+
>
|
|
44
|
+
</p>
|
|
45
|
+
</form>
|
|
46
|
+
</template>
|
|
47
|
+
|
|
48
|
+
<script>
|
|
49
|
+
import Form from "form-backend-validation";
|
|
50
|
+
|
|
51
|
+
export default {
|
|
52
|
+
components: {
|
|
53
|
+
elInput: require("../../../components/form/basic.vue").default,
|
|
54
|
+
elButton: require("../../../components/basic/Button.vue").default,
|
|
55
|
+
},
|
|
56
|
+
data: () => ({
|
|
57
|
+
user: null,
|
|
58
|
+
form: new Form(
|
|
59
|
+
{
|
|
60
|
+
email: "",
|
|
61
|
+
},
|
|
62
|
+
{ resetOnSuccess: false },
|
|
63
|
+
),
|
|
64
|
+
notification: null,
|
|
65
|
+
}),
|
|
66
|
+
|
|
67
|
+
methods: {
|
|
68
|
+
async onSubmit() {
|
|
69
|
+
try {
|
|
70
|
+
if (this.notification) {
|
|
71
|
+
this.notification.close();
|
|
72
|
+
this.notification = null;
|
|
73
|
+
}
|
|
74
|
+
|
|
75
|
+
await this.form.post("/email/verification-notification");
|
|
76
|
+
|
|
77
|
+
this.$notify({
|
|
78
|
+
type: "success",
|
|
79
|
+
message: "Email has been re-sent",
|
|
80
|
+
duration: 10000,
|
|
81
|
+
class: "el-notification--success el-notification--right-override",
|
|
82
|
+
});
|
|
83
|
+
} catch (e) {
|
|
84
|
+
if (e.response && e.response.status === 429) {
|
|
85
|
+
this.notification = this.$notify({
|
|
86
|
+
type: "warning",
|
|
87
|
+
message: "Please allow 10 minutes before re-requesting",
|
|
88
|
+
duration: 0,
|
|
89
|
+
class: "el-notification--warning el-notification--right-override",
|
|
90
|
+
});
|
|
91
|
+
} else if (e.response && e.response.status === 422) {
|
|
92
|
+
this.notification = this.$notify({
|
|
93
|
+
type: "error",
|
|
94
|
+
message: e.response.data.message,
|
|
95
|
+
duration: 0,
|
|
96
|
+
class: "el-notification--error el-notification--right-override",
|
|
97
|
+
});
|
|
98
|
+
} else {
|
|
99
|
+
this.$root.errors(e);
|
|
100
|
+
}
|
|
101
|
+
}
|
|
102
|
+
},
|
|
103
|
+
},
|
|
104
|
+
|
|
105
|
+
async mounted() {
|
|
106
|
+
this.user = await this.$store.dispatch("getUser", {
|
|
107
|
+
errors: this.$root.errors,
|
|
108
|
+
});
|
|
109
|
+
|
|
110
|
+
this.form.email = this.user.email;
|
|
111
|
+
},
|
|
112
|
+
};
|
|
113
|
+
</script>
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@fishawack/lab-velocity",
|
|
3
|
-
"version": "2.0.0-beta.
|
|
3
|
+
"version": "2.0.0-beta.3",
|
|
4
4
|
"description": "Avalere Health branded style system",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"setup": "npm ci || npm i && npm run content",
|
|
@@ -62,14 +62,8 @@
|
|
|
62
62
|
},
|
|
63
63
|
"files": [
|
|
64
64
|
"*.scss",
|
|
65
|
-
"
|
|
66
|
-
"
|
|
67
|
-
"components",
|
|
68
|
-
"layout",
|
|
69
|
-
"navigation",
|
|
70
|
-
"basic",
|
|
71
|
-
"modules",
|
|
72
|
-
"AuthModule"
|
|
65
|
+
"_Build/vue/components",
|
|
66
|
+
"_Build/vue/modules/AuthModule"
|
|
73
67
|
],
|
|
74
68
|
"main": "index.js",
|
|
75
69
|
"release": {
|
package/components/_alert.scss
DELETED
package/components/_basic.scss
DELETED
|
@@ -1,55 +0,0 @@
|
|
|
1
|
-
@import "element-plus/theme-chalk/el-input";
|
|
2
|
-
|
|
3
|
-
.el-input {
|
|
4
|
-
font-size: 1rem;
|
|
5
|
-
|
|
6
|
-
.el-input__wrapper {
|
|
7
|
-
// padding: .5 * $spacing $spacing;
|
|
8
|
-
}
|
|
9
|
-
|
|
10
|
-
.el-input__inner {
|
|
11
|
-
--el-input-inner-height: 46px;
|
|
12
|
-
}
|
|
13
|
-
.el-input-group__append,
|
|
14
|
-
.el-input-group__prepend {
|
|
15
|
-
padding: 0 2 * $spacing;
|
|
16
|
-
}
|
|
17
|
-
}
|
|
18
|
-
|
|
19
|
-
.vel-basic {
|
|
20
|
-
&__error {
|
|
21
|
-
color: $colorAlert;
|
|
22
|
-
}
|
|
23
|
-
}
|
|
24
|
-
|
|
25
|
-
.form__icon-container {
|
|
26
|
-
position: absolute;
|
|
27
|
-
top: 50%;
|
|
28
|
-
right: 12px;
|
|
29
|
-
transform: translateY(-50%);
|
|
30
|
-
display: flex;
|
|
31
|
-
|
|
32
|
-
.icon {
|
|
33
|
-
display: flex;
|
|
34
|
-
}
|
|
35
|
-
}
|
|
36
|
-
|
|
37
|
-
.input--password {
|
|
38
|
-
.el-input-group__append {
|
|
39
|
-
border: none;
|
|
40
|
-
box-shadow: none;
|
|
41
|
-
background-color: transparent;
|
|
42
|
-
position: absolute;
|
|
43
|
-
right: 0px;
|
|
44
|
-
top: 0px;
|
|
45
|
-
padding: 0px;
|
|
46
|
-
height: 40px;
|
|
47
|
-
min-height: fit-content;
|
|
48
|
-
}
|
|
49
|
-
.icon {
|
|
50
|
-
width: 24px;
|
|
51
|
-
min-width: 24px;
|
|
52
|
-
padding: 0px !important;
|
|
53
|
-
fill: #cfd8dd !important;
|
|
54
|
-
}
|
|
55
|
-
}
|
|
@@ -1,39 +0,0 @@
|
|
|
1
|
-
@import "element-plus/theme-chalk/el-breadcrumb";
|
|
2
|
-
@import "element-plus/theme-chalk/el-breadcrumb-item";
|
|
3
|
-
.vel-breadcrumb {
|
|
4
|
-
.el-breadcrumb__separator {
|
|
5
|
-
display: none;
|
|
6
|
-
margin: 0px $spacing;
|
|
7
|
-
}
|
|
8
|
-
|
|
9
|
-
.el-breadcrumb__separator,
|
|
10
|
-
.el-breadcrumb__inner {
|
|
11
|
-
font-size: get-ratio(16px);
|
|
12
|
-
line-height: get-ratio(24px);
|
|
13
|
-
}
|
|
14
|
-
|
|
15
|
-
.el-breadcrumb__inner {
|
|
16
|
-
&.is-link {
|
|
17
|
-
text-decoration: underline;
|
|
18
|
-
font-weight: 500;
|
|
19
|
-
color: $color2;
|
|
20
|
-
text-transform: capitalize;
|
|
21
|
-
|
|
22
|
-
&:hover {
|
|
23
|
-
color: $color12;
|
|
24
|
-
}
|
|
25
|
-
}
|
|
26
|
-
}
|
|
27
|
-
|
|
28
|
-
.el-breadcrumb__item {
|
|
29
|
-
&:last-child {
|
|
30
|
-
.el-breadcrumb__inner {
|
|
31
|
-
&.is-link {
|
|
32
|
-
color: $color2;
|
|
33
|
-
font-weight: 400;
|
|
34
|
-
text-decoration: none;
|
|
35
|
-
}
|
|
36
|
-
}
|
|
37
|
-
}
|
|
38
|
-
}
|
|
39
|
-
}
|
package/components/_button.scss
DELETED
|
@@ -1,304 +0,0 @@
|
|
|
1
|
-
@import "element-plus/theme-chalk/el-button";
|
|
2
|
-
|
|
3
|
-
.vel-button {
|
|
4
|
-
height: auto;
|
|
5
|
-
--el-border-radius-base: 0px;
|
|
6
|
-
--el-font-size-base: get-ratio(16px);
|
|
7
|
-
|
|
8
|
-
.is-round {
|
|
9
|
-
--el-border-radius-base: 999px;
|
|
10
|
-
}
|
|
11
|
-
|
|
12
|
-
// colors
|
|
13
|
-
&.el-button--default {
|
|
14
|
-
--el-color-primary: #ffffff;
|
|
15
|
-
|
|
16
|
-
// text color
|
|
17
|
-
--el-text-color-regular: #{$color2};
|
|
18
|
-
--el-button-hover-text-color: #{$color1};
|
|
19
|
-
--el-button-active-text-color: #{$color1};
|
|
20
|
-
--el-button-disabled-text-color: #bdbdbd;
|
|
21
|
-
|
|
22
|
-
// background color
|
|
23
|
-
--el-button-bg-color: #ffffff;
|
|
24
|
-
--el-button-hover-bg-color: #{$color8};
|
|
25
|
-
--el-button-active-text-color: #{$color1};
|
|
26
|
-
--el-button-disabled-bg-color: #ffffff;
|
|
27
|
-
|
|
28
|
-
// border color
|
|
29
|
-
--el-button-border-color: #{$color5};
|
|
30
|
-
--el-button-hover-border-color: #afafaf;
|
|
31
|
-
--el-button-active-border-color: #{$color1};
|
|
32
|
-
--el-button-disabled-border-color: #{$color4};
|
|
33
|
-
|
|
34
|
-
&.is-loading {
|
|
35
|
-
--el-text-color-regular: #a4a4a4;
|
|
36
|
-
--el-button-border-color: #{$color4};
|
|
37
|
-
}
|
|
38
|
-
|
|
39
|
-
&.is-plain {
|
|
40
|
-
--el-color-primary: #ffffff;
|
|
41
|
-
|
|
42
|
-
// text color
|
|
43
|
-
--el-text-color-regular: #{$color2};
|
|
44
|
-
--el-button-hover-text-color: #{$color1};
|
|
45
|
-
--el-button-active-text-color: #{$color1};
|
|
46
|
-
--el-button-disabled-text-color: #bdbdbd;
|
|
47
|
-
|
|
48
|
-
// background color
|
|
49
|
-
--el-button-bg-color: #ffffff;
|
|
50
|
-
--el-button-hover-bg-color: ##ffffff;
|
|
51
|
-
--el-button-active-text-color: #{$color1};
|
|
52
|
-
--el-button-disabled-bg-color: #ffffff;
|
|
53
|
-
|
|
54
|
-
// border color
|
|
55
|
-
--el-button-border-color: #{$color5};
|
|
56
|
-
--el-button-hover-border-color: #{$color1};
|
|
57
|
-
--el-button-active-border-color: #{$color1};
|
|
58
|
-
--el-button-disabled-border-color: #{$color4};
|
|
59
|
-
|
|
60
|
-
&.is-loading {
|
|
61
|
-
--el-text-color-regular: #a4a4a4;
|
|
62
|
-
--el-button-border-color: #{$color4};
|
|
63
|
-
}
|
|
64
|
-
}
|
|
65
|
-
}
|
|
66
|
-
|
|
67
|
-
&.el-button--primary {
|
|
68
|
-
--el-color-primary: #{$color1};
|
|
69
|
-
|
|
70
|
-
// text color
|
|
71
|
-
--el-text-color-regular: #ffffff;
|
|
72
|
-
--el-button-hover-text-color: #ffffff;
|
|
73
|
-
--el-button-active-text-color: #ffffff;
|
|
74
|
-
--el-button-disabled-text-color: #ffffff;
|
|
75
|
-
|
|
76
|
-
// background color
|
|
77
|
-
--el-button-bg-color: #{$color1};
|
|
78
|
-
--el-button-hover-bg-color: #{$color12};
|
|
79
|
-
--el-button-active-bg-color: #090909;
|
|
80
|
-
--el-button-disabled-bg-color: #afafaf;
|
|
81
|
-
|
|
82
|
-
// border color
|
|
83
|
-
--el-button-border-color: transparent;
|
|
84
|
-
--el-button-hover-border-color: transparent;
|
|
85
|
-
--el-button-active-border-color: transparent;
|
|
86
|
-
--el-button-disabled-border-color: transparent;
|
|
87
|
-
|
|
88
|
-
&.is-loading {
|
|
89
|
-
--el-text-color-regular: #a4a4a4;
|
|
90
|
-
--el-button-border-color: transparent;
|
|
91
|
-
--el-button-bg-color: #5c5c5c;
|
|
92
|
-
}
|
|
93
|
-
|
|
94
|
-
&.is-plain {
|
|
95
|
-
--el-color-primary: #{$color1};
|
|
96
|
-
|
|
97
|
-
// text color
|
|
98
|
-
--el-text-color-regular: #{$color1};
|
|
99
|
-
--el-button-hover-text-color: #ffffff;
|
|
100
|
-
--el-button-active-text-color: #ffffff;
|
|
101
|
-
--el-button-disabled-text-color: #ffffff;
|
|
102
|
-
--el-color-primary-light-5: #757575;
|
|
103
|
-
|
|
104
|
-
// background color
|
|
105
|
-
--el-button-bg-color: #f2f2f2;
|
|
106
|
-
--el-button-hover-bg-color: #{$color1};
|
|
107
|
-
--el-button-active-bg-color: #090909;
|
|
108
|
-
--el-button-disabled-bg-color: #{$color8};
|
|
109
|
-
--el-color-primary-light-9: #{$color8};
|
|
110
|
-
|
|
111
|
-
// border color
|
|
112
|
-
--el-button-border-color: #757575;
|
|
113
|
-
--el-button-hover-border-color: transparent;
|
|
114
|
-
--el-button-active-border-color: transparent;
|
|
115
|
-
--el-button-disabled-border-color: #d5d5d5;
|
|
116
|
-
--el-color-primary-light-8: #d5d5d5;
|
|
117
|
-
|
|
118
|
-
&.is-loading {
|
|
119
|
-
--el-text-color-regular: #{$color12};
|
|
120
|
-
--el-button-border-color: #757575;
|
|
121
|
-
--el-button-bg-color: #{$color8};
|
|
122
|
-
}
|
|
123
|
-
}
|
|
124
|
-
|
|
125
|
-
&.is-text,
|
|
126
|
-
&.is-link {
|
|
127
|
-
// text color
|
|
128
|
-
--el-button-hover-link-text-color: #{$color12};
|
|
129
|
-
--el-button-active-color: #090909;
|
|
130
|
-
|
|
131
|
-
&.is-disabled {
|
|
132
|
-
--el-color-primary-light-5: #bdbdbd;
|
|
133
|
-
}
|
|
134
|
-
}
|
|
135
|
-
}
|
|
136
|
-
|
|
137
|
-
&.el-button--danger {
|
|
138
|
-
--el-color-primary: #{$colorAlert};
|
|
139
|
-
|
|
140
|
-
// text color
|
|
141
|
-
--el-text-color-regular: #ffffff;
|
|
142
|
-
--el-button-hover-text-color: #ffffff;
|
|
143
|
-
--el-button-active-text-color: #ffffff;
|
|
144
|
-
--el-button-disabled-text-color: #ffffff;
|
|
145
|
-
|
|
146
|
-
// background color
|
|
147
|
-
--el-button-bg-color: #{$colorAlert};
|
|
148
|
-
--el-button-hover-bg-color: #df6b6b;
|
|
149
|
-
--el-button-active-bg-color: #b42929;
|
|
150
|
-
--el-button-disabled-bg-color: #ea9c9c;
|
|
151
|
-
|
|
152
|
-
// border color
|
|
153
|
-
--el-button-border-color: transparent;
|
|
154
|
-
--el-button-hover-border-color: transparent;
|
|
155
|
-
--el-button-active-border-color: transparent;
|
|
156
|
-
--el-button-disabled-border-color: transparent;
|
|
157
|
-
|
|
158
|
-
&.is-loading {
|
|
159
|
-
--el-text-color-regular: #ffffff;
|
|
160
|
-
--el-button-border-color: transparent;
|
|
161
|
-
--el-button-bg-color: #df6b6b;
|
|
162
|
-
}
|
|
163
|
-
|
|
164
|
-
&.is-plain {
|
|
165
|
-
// border: 2px solid orange !important;
|
|
166
|
-
--el-color-primary: #{$colorAlert};
|
|
167
|
-
|
|
168
|
-
// text color
|
|
169
|
-
--el-button-text-color: #d53a3a;
|
|
170
|
-
--el-text-color-regular: #d53a3a;
|
|
171
|
-
--el-button-hover-text-color: #ffffff;
|
|
172
|
-
--el-button-active-text-color: #ffffff;
|
|
173
|
-
--el-button-disabled-text-color: ##ea9c9c;
|
|
174
|
-
|
|
175
|
-
// background color
|
|
176
|
-
--el-button-bg-color: #fcf1f1;
|
|
177
|
-
--el-button-hover-bg-color: #d53a3a;
|
|
178
|
-
--el-button-active-bg-color: #b42929;
|
|
179
|
-
--el-button-disabled-bg-color: #fcf1f1;
|
|
180
|
-
|
|
181
|
-
// border color
|
|
182
|
-
--el-button-border-color: #ea9c9c;
|
|
183
|
-
--el-button-hover-border-color: transparent;
|
|
184
|
-
--el-button-active-border-color: transparent;
|
|
185
|
-
--el-button-disabled-border-color: #f9e1e1;
|
|
186
|
-
|
|
187
|
-
&.is-loading {
|
|
188
|
-
--el-text-color-regular: ##df6b6b;
|
|
189
|
-
--el-button-border-color: #ea9c9c;
|
|
190
|
-
--el-button-bg-color: #fcf1f1;
|
|
191
|
-
}
|
|
192
|
-
}
|
|
193
|
-
}
|
|
194
|
-
|
|
195
|
-
&.el-button--success {
|
|
196
|
-
}
|
|
197
|
-
|
|
198
|
-
&.el-button--info {
|
|
199
|
-
}
|
|
200
|
-
|
|
201
|
-
&.el-button--warning {
|
|
202
|
-
}
|
|
203
|
-
|
|
204
|
-
.vel-icon {
|
|
205
|
-
fill: currentColor;
|
|
206
|
-
path {
|
|
207
|
-
fill: currentColor;
|
|
208
|
-
}
|
|
209
|
-
}
|
|
210
|
-
|
|
211
|
-
// sizes & spacing
|
|
212
|
-
&.el-button--default,
|
|
213
|
-
&.el-button--primary,
|
|
214
|
-
&.el-button--danger,
|
|
215
|
-
&.el-button--success,
|
|
216
|
-
&.el-button--warning,
|
|
217
|
-
&.el-button--info {
|
|
218
|
-
// line-height: 1;
|
|
219
|
-
padding: get-ratio(11px) $spacing * 2;
|
|
220
|
-
}
|
|
221
|
-
|
|
222
|
-
&.el-button--large {
|
|
223
|
-
// line-height: 1;
|
|
224
|
-
padding: get-ratio(15px) $spacing * 2;
|
|
225
|
-
}
|
|
226
|
-
|
|
227
|
-
&.el-button--small {
|
|
228
|
-
// line-height: 1;
|
|
229
|
-
padding: get-ratio(5px) $spacing;
|
|
230
|
-
}
|
|
231
|
-
|
|
232
|
-
// shapes
|
|
233
|
-
|
|
234
|
-
&.is-circle,
|
|
235
|
-
&.is-square {
|
|
236
|
-
width: auto;
|
|
237
|
-
& [class*="el-icon"] + span {
|
|
238
|
-
margin-left: 0;
|
|
239
|
-
}
|
|
240
|
-
&.el-button--default,
|
|
241
|
-
&.el-button--primary,
|
|
242
|
-
&.el-button--danger,
|
|
243
|
-
&.el-button--success,
|
|
244
|
-
&.el-button--warning,
|
|
245
|
-
&.el-button--info {
|
|
246
|
-
padding: get-ratio(11px);
|
|
247
|
-
}
|
|
248
|
-
|
|
249
|
-
&.el-button--large {
|
|
250
|
-
padding: get-ratio(15px);
|
|
251
|
-
}
|
|
252
|
-
|
|
253
|
-
&.el-button--small {
|
|
254
|
-
padding: get-ratio(5px);
|
|
255
|
-
}
|
|
256
|
-
}
|
|
257
|
-
// Fix for improper spacing
|
|
258
|
-
.el-icon.is-loading {
|
|
259
|
-
+ span:empty {
|
|
260
|
-
margin-left: 0px;
|
|
261
|
-
}
|
|
262
|
-
}
|
|
263
|
-
}
|
|
264
|
-
|
|
265
|
-
.vel-button {
|
|
266
|
-
&[disabled="true"] {
|
|
267
|
-
pointer-events: none !important;
|
|
268
|
-
}
|
|
269
|
-
|
|
270
|
-
&--iconRight {
|
|
271
|
-
.el-icon {
|
|
272
|
-
order: 2;
|
|
273
|
-
}
|
|
274
|
-
|
|
275
|
-
> span {
|
|
276
|
-
order: 1;
|
|
277
|
-
margin: 0 0.5rem 0 0;
|
|
278
|
-
}
|
|
279
|
-
}
|
|
280
|
-
|
|
281
|
-
&--iconOnly1 {
|
|
282
|
-
> span {
|
|
283
|
-
margin: 0;
|
|
284
|
-
}
|
|
285
|
-
|
|
286
|
-
.vel-icon {
|
|
287
|
-
width: 1.5 * $spacing;
|
|
288
|
-
height: 1.5 * $spacing;
|
|
289
|
-
}
|
|
290
|
-
|
|
291
|
-
svg {
|
|
292
|
-
width: 100%;
|
|
293
|
-
height: 100%;
|
|
294
|
-
}
|
|
295
|
-
|
|
296
|
-
&.el-button--small {
|
|
297
|
-
padding: $spacing $spacing * 2;
|
|
298
|
-
}
|
|
299
|
-
|
|
300
|
-
&.el-button--large {
|
|
301
|
-
padding: 2 * $spacing 2.5 * $spacing;
|
|
302
|
-
}
|
|
303
|
-
}
|
|
304
|
-
}
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
@import "element-plus/theme-chalk/el-cascader";
|
|
2
|
-
@import "element-plus/theme-chalk/el-cascader-panel";
|
|
3
|
-
@import "element-plus/theme-chalk/el-popper";
|
|
4
|
-
|
|
5
|
-
.el-cascader-panel {
|
|
6
|
-
font-size: 1rem;
|
|
7
|
-
}
|
|
8
|
-
|
|
9
|
-
.el-cascader-node {
|
|
10
|
-
line-height: get-ratio(40px);
|
|
11
|
-
height: get-ratio(40px);
|
|
12
|
-
}
|
|
@@ -1,41 +0,0 @@
|
|
|
1
|
-
@import "element-plus/theme-chalk/el-checkbox";
|
|
2
|
-
@import "element-plus/theme-chalk/el-checkbox-button";
|
|
3
|
-
|
|
4
|
-
.vel-checkbox,
|
|
5
|
-
.el-checkbox {
|
|
6
|
-
display: flex;
|
|
7
|
-
flex-direction: row;
|
|
8
|
-
align-items: center;
|
|
9
|
-
gap: $spacing * 0.5;
|
|
10
|
-
flex-wrap: wrap;
|
|
11
|
-
align-items: baseline;
|
|
12
|
-
|
|
13
|
-
&__label {
|
|
14
|
-
order: 2;
|
|
15
|
-
}
|
|
16
|
-
&__checkbox {
|
|
17
|
-
order: 1;
|
|
18
|
-
.el-checkbox__input {
|
|
19
|
-
&.is-checked {
|
|
20
|
-
.el-checkbox__inner {
|
|
21
|
-
background-color: black;
|
|
22
|
-
}
|
|
23
|
-
}
|
|
24
|
-
}
|
|
25
|
-
}
|
|
26
|
-
&__error {
|
|
27
|
-
order: 3;
|
|
28
|
-
flex-basis: 100%;
|
|
29
|
-
color: $colorAlert;
|
|
30
|
-
}
|
|
31
|
-
}
|
|
32
|
-
|
|
33
|
-
.vel-checkbox-group,
|
|
34
|
-
.vel-checkbox {
|
|
35
|
-
&--vertical {
|
|
36
|
-
.vel-checkbox-group__wrapper {
|
|
37
|
-
display: flex;
|
|
38
|
-
flex-direction: column;
|
|
39
|
-
}
|
|
40
|
-
}
|
|
41
|
-
}
|
package/components/_chip.scss
DELETED
|
@@ -1,24 +0,0 @@
|
|
|
1
|
-
.chip {
|
|
2
|
-
border: solid 1px currentColor;
|
|
3
|
-
border-radius: 4px;
|
|
4
|
-
background-color: #f0f9eb;
|
|
5
|
-
padding: get-ratio(2px) get-ratio(10px);
|
|
6
|
-
font-size: get-ratio(12px);
|
|
7
|
-
line-height: get-ratio(18px);
|
|
8
|
-
box-sizing: border-box;
|
|
9
|
-
|
|
10
|
-
&.deactive,
|
|
11
|
-
&--inherited {
|
|
12
|
-
color: #909399 !important;
|
|
13
|
-
border-color: #dedfe0 !important;
|
|
14
|
-
background-color: #f4f4f5 !important;
|
|
15
|
-
}
|
|
16
|
-
}
|
|
17
|
-
|
|
18
|
-
.chip--round {
|
|
19
|
-
display: inline-block;
|
|
20
|
-
text-indent: -100000px;
|
|
21
|
-
width: get-ratio(22px);
|
|
22
|
-
height: get-ratio(22px);
|
|
23
|
-
border-radius: 100%;
|
|
24
|
-
}
|
|
@@ -1,24 +0,0 @@
|
|
|
1
|
-
@import "element-plus/theme-chalk/el-collapse";
|
|
2
|
-
@import "element-plus/theme-chalk/el-collapse-item";
|
|
3
|
-
|
|
4
|
-
.el-collapse-item__header {
|
|
5
|
-
align-items: center;
|
|
6
|
-
--el-collapse-header-font-size: get-ratio(16px);
|
|
7
|
-
.vel-icon {
|
|
8
|
-
vertical-align: middle;
|
|
9
|
-
width: 13px;
|
|
10
|
-
min-width: 13px;
|
|
11
|
-
fill: currentColor;
|
|
12
|
-
margin-right: 0.25rem;
|
|
13
|
-
|
|
14
|
-
svg {
|
|
15
|
-
vertical-align: middle;
|
|
16
|
-
}
|
|
17
|
-
}
|
|
18
|
-
}
|
|
19
|
-
|
|
20
|
-
.el-collapse {
|
|
21
|
-
--el-collapse-header-bg-color: transparent;
|
|
22
|
-
--el-collapse-content-bg-color: transparent;
|
|
23
|
-
--el-collapse-border-color: transparent;
|
|
24
|
-
}
|
|
@@ -1,52 +0,0 @@
|
|
|
1
|
-
@import "element-plus/theme-chalk/el-date-picker";
|
|
2
|
-
|
|
3
|
-
.vel-datepicker {
|
|
4
|
-
// --el-input-height:38px;
|
|
5
|
-
|
|
6
|
-
// &.el-input--large {
|
|
7
|
-
--el-input-height: 46px;
|
|
8
|
-
// }
|
|
9
|
-
|
|
10
|
-
&__error {
|
|
11
|
-
color: $colorAlert;
|
|
12
|
-
}
|
|
13
|
-
}
|
|
14
|
-
|
|
15
|
-
.vel-popper {
|
|
16
|
-
@include breakpoint(max-width $mobileMax) {
|
|
17
|
-
min-width: 280px;
|
|
18
|
-
max-width: 325px;
|
|
19
|
-
width: auto;
|
|
20
|
-
.el-date-range-picker {
|
|
21
|
-
width: 100%;
|
|
22
|
-
.el-picker-panel__body {
|
|
23
|
-
width: 100%;
|
|
24
|
-
min-width: 100%;
|
|
25
|
-
& > div {
|
|
26
|
-
width: auto;
|
|
27
|
-
min-width: auto;
|
|
28
|
-
border: none;
|
|
29
|
-
}
|
|
30
|
-
}
|
|
31
|
-
}
|
|
32
|
-
}
|
|
33
|
-
}
|
|
34
|
-
|
|
35
|
-
.vel-date-picker,
|
|
36
|
-
.el-date-picker {
|
|
37
|
-
&.has-sidebar {
|
|
38
|
-
width: auto;
|
|
39
|
-
|
|
40
|
-
.el-picker-panel__body-wrapper {
|
|
41
|
-
display: flex;
|
|
42
|
-
}
|
|
43
|
-
}
|
|
44
|
-
.el-picker-panel__sidebar {
|
|
45
|
-
width: auto;
|
|
46
|
-
position: relative;
|
|
47
|
-
}
|
|
48
|
-
.el-picker-panel__body {
|
|
49
|
-
margin-left: 0px;
|
|
50
|
-
position: relative !important;
|
|
51
|
-
}
|
|
52
|
-
}
|