@fishawack/lab-velocity 1.11.1 → 2.0.0-beta.2
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/README.md +13 -7
- package/_Build/vue/components/Icon.vue +33 -0
- package/_Build/vue/components/Svg.vue +45 -0
- package/{basic → _Build/vue/components/basic}/Button.vue +16 -18
- package/{basic → _Build/vue/components/basic}/link.vue +8 -7
- package/{form → _Build/vue/components/form}/Cascader.vue +13 -13
- package/{form → _Build/vue/components/form}/CheckboxGroup.vue +28 -6
- package/{form → _Build/vue/components/form}/DatePicker.vue +23 -7
- package/{form → _Build/vue/components/form}/InputNumber.vue +1 -2
- package/{form → _Build/vue/components/form}/Select.vue +8 -9
- package/{form → _Build/vue/components/form}/Switch.vue +2 -2
- package/{form → _Build/vue/components/form}/Upload.vue +4 -6
- package/{form → _Build/vue/components/form}/Wysiwyg.vue +14 -14
- package/_Build/vue/components/form/Wysiwyg2.vue +577 -0
- package/{form → _Build/vue/components/form}/basic.vue +25 -7
- package/{form → _Build/vue/components/form}/file.vue +1 -1
- package/{form → _Build/vue/components/form}/input.js +2 -2
- package/{form → _Build/vue/components/form}/input.vue +31 -11
- package/{layout → _Build/vue/components/layout}/Alert.vue +10 -10
- package/_Build/vue/components/layout/Footer.vue +50 -0
- package/{layout → _Build/vue/components/layout}/Header.vue +5 -7
- package/_Build/vue/components/layout/Loader.vue +59 -0
- package/{layout → _Build/vue/components/layout}/Tooltip.vue +12 -12
- package/{layout → _Build/vue/components/layout}/pageTitle.vue +4 -4
- package/{layout → _Build/vue/components/layout}/sideBar.vue +4 -6
- package/{navigation → _Build/vue/components/navigation}/Breadcrumbs.vue +15 -10
- package/{navigation → _Build/vue/components/navigation}/BreadcrumbsItem.vue +6 -6
- 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/{AuthModule → _Build/vue/modules/AuthModule}/components/AuthModal.vue +30 -35
- 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 +32 -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/{AuthModule → _Build/vue/modules/AuthModule}/routes/account-exists.vue +5 -7
- package/{AuthModule → _Build/vue/modules/AuthModule}/routes/change-password.vue +28 -25
- package/{AuthModule → _Build/vue/modules/AuthModule}/routes/container.vue +4 -8
- package/{AuthModule → _Build/vue/modules/AuthModule}/routes/expired-reset.vue +13 -11
- package/{AuthModule → _Build/vue/modules/AuthModule}/routes/expired-verification.vue +12 -12
- package/{AuthModule → _Build/vue/modules/AuthModule}/routes/force-reset.vue +36 -26
- package/{AuthModule → _Build/vue/modules/AuthModule}/routes/forgot.vue +11 -7
- package/{AuthModule → _Build/vue/modules/AuthModule}/routes/login.vue +20 -15
- package/{AuthModule → _Build/vue/modules/AuthModule}/routes/logincallback.vue +5 -10
- package/_Build/vue/modules/AuthModule/routes/loginheadless.vue +21 -0
- package/{AuthModule → _Build/vue/modules/AuthModule}/routes/loginsso.vue +32 -25
- package/{AuthModule → _Build/vue/modules/AuthModule}/routes/logout.vue +6 -6
- package/_Build/vue/modules/AuthModule/routes/logoutheadless.vue +27 -0
- package/{AuthModule → _Build/vue/modules/AuthModule}/routes/register.vue +43 -25
- package/{AuthModule → _Build/vue/modules/AuthModule}/routes/reset.vue +24 -14
- package/{AuthModule → _Build/vue/modules/AuthModule}/routes/success-forgot.vue +14 -12
- package/{AuthModule → _Build/vue/modules/AuthModule}/routes/success-reset.vue +4 -4
- package/{AuthModule → _Build/vue/modules/AuthModule}/routes/success-verify.vue +10 -7
- package/{AuthModule → _Build/vue/modules/AuthModule}/routes/verify.vue +15 -12
- package/_base.scss +1 -1
- package/_defaults.scss +2 -3
- package/_variables.scss +16 -18
- package/general.scss +1 -2
- package/index.js +38 -30
- package/package.json +103 -102
- package/vendor.scss +2 -2
- package/AuthModule/components/VPasswordValidation.vue +0 -66
- package/AuthModule/js/AuthAxios.js +0 -59
- package/AuthModule/js/AuthRoutes.js +0 -186
- package/AuthModule/js/AuthStore.js +0 -99
- package/AuthModule/js/FakeAPI.js +0 -84
- package/AuthModule/routes/loginheadless.vue +0 -16
- package/Icon.vue +0 -33
- package/Svg.vue +0 -40
- package/components/_alert.scss +0 -5
- package/components/_basic.scss +0 -54
- package/components/_breadcrumbs.scss +0 -40
- package/components/_button.scss +0 -305
- package/components/_cascader.scss +0 -12
- package/components/_checkbox.scss +0 -40
- package/components/_collapse.scss +0 -25
- package/components/_datepicker.scss +0 -51
- package/components/_footer.scss +0 -46
- package/components/_form.scss +0 -22
- package/components/_header.scss +0 -55
- package/components/_icon.scss +0 -24
- package/components/_input.scss +0 -0
- package/components/_inputNumber.scss +0 -21
- package/components/_link.scss +0 -44
- package/components/_loader.scss +0 -44
- package/components/_menu.scss +0 -112
- package/components/_pageTitle.scss +0 -8
- package/components/_select.scss +0 -28
- package/components/_sidebar.scss +0 -57
- package/components/_switch.scss +0 -14
- package/components/_table.scss +0 -20
- package/components/_tooltip.scss +0 -4
- package/components/_typography.scss +0 -153
- package/components/_upload.scss +0 -15
- package/components/_wysiwyg.scss +0 -6
- package/components/_wysiwyg2.scss +0 -136
- package/form/Wysiwyg2.vue +0 -278
- package/layout/Footer.vue +0 -35
- package/layout/Loader.vue +0 -39
- package/modules/_AuthModule.scss +0 -209
- package/modules/_AuthVariables.scss +0 -7
- package/modules/_modal.scss +0 -24
- package/navigation/Menu.vue +0 -16
- package/navigation/MenuItem.vue +0 -20
- package/navigation/MenuItemGroup.vue +0 -20
- package/navigation/SubMenu.vue +0 -20
- /package/{form → _Build/vue/components/form}/Checkbox.vue +0 -0
- /package/{form → _Build/vue/components/form}/color.vue +0 -0
|
@@ -1,7 +1,17 @@
|
|
|
1
1
|
<template>
|
|
2
|
-
<div
|
|
3
|
-
|
|
4
|
-
|
|
2
|
+
<div
|
|
3
|
+
class="form__group"
|
|
4
|
+
:class="{
|
|
5
|
+
[baseClass]: baseClass,
|
|
6
|
+
'form__group--error': hasError(name),
|
|
7
|
+
[classes]: classes,
|
|
8
|
+
}"
|
|
9
|
+
>
|
|
10
|
+
<label
|
|
11
|
+
v-if="(label || $slots.label) && inputType !== 'button'"
|
|
12
|
+
:class="{ [baseClass + '__label']: baseClass }"
|
|
13
|
+
:for="name"
|
|
14
|
+
>
|
|
5
15
|
<slot name="label">
|
|
6
16
|
<span v-html="label"></span>
|
|
7
17
|
</slot>
|
|
@@ -9,7 +19,11 @@
|
|
|
9
19
|
|
|
10
20
|
<slot />
|
|
11
21
|
|
|
12
|
-
<div
|
|
22
|
+
<div
|
|
23
|
+
v-if="hasError(name)"
|
|
24
|
+
class="form__error"
|
|
25
|
+
:class="{ [baseClass + '__error']: baseClass }"
|
|
26
|
+
>
|
|
13
27
|
<small v-html="first(name)" />
|
|
14
28
|
</div>
|
|
15
29
|
</div>
|
|
@@ -27,7 +41,7 @@ export default {
|
|
|
27
41
|
default: null,
|
|
28
42
|
},
|
|
29
43
|
error: {
|
|
30
|
-
type: [String,Object],
|
|
44
|
+
type: [String, Object],
|
|
31
45
|
default: null,
|
|
32
46
|
},
|
|
33
47
|
baseClass: {
|
|
@@ -54,8 +68,8 @@ export default {
|
|
|
54
68
|
|
|
55
69
|
methods: {
|
|
56
70
|
hasError(field) {
|
|
57
|
-
if(!this.$props?.error?.errors) {
|
|
58
|
-
if(typeof this.$props?.error ===
|
|
71
|
+
if (!this.$props?.error?.errors) {
|
|
72
|
+
if (typeof this.$props?.error === "string") {
|
|
59
73
|
return true;
|
|
60
74
|
}
|
|
61
75
|
return false;
|
|
@@ -64,7 +78,8 @@ export default {
|
|
|
64
78
|
|
|
65
79
|
if (!hasError) {
|
|
66
80
|
const errors = Object.keys(this.$props.error.errors).filter(
|
|
67
|
-
e =>
|
|
81
|
+
(e) =>
|
|
82
|
+
e.startsWith(`${field}.`) || e.startsWith(`${field}[`),
|
|
68
83
|
);
|
|
69
84
|
|
|
70
85
|
hasError = errors.length > 0;
|
|
@@ -78,8 +93,13 @@ export default {
|
|
|
78
93
|
},
|
|
79
94
|
|
|
80
95
|
get(field) {
|
|
81
|
-
return
|
|
82
|
-
|
|
83
|
-
|
|
96
|
+
return (
|
|
97
|
+
this.$props.error?.errors?.[field] ||
|
|
98
|
+
(typeof this.$props.error === "string"
|
|
99
|
+
? [this.$props.error]
|
|
100
|
+
: [])
|
|
101
|
+
);
|
|
102
|
+
},
|
|
103
|
+
},
|
|
84
104
|
};
|
|
85
105
|
</script>
|
|
@@ -15,24 +15,24 @@ export default {
|
|
|
15
15
|
|
|
16
16
|
props: {
|
|
17
17
|
effect: {
|
|
18
|
-
type:String,
|
|
19
|
-
default:
|
|
18
|
+
type: String,
|
|
19
|
+
default: "dark",
|
|
20
20
|
},
|
|
21
21
|
title: {
|
|
22
|
-
type:String
|
|
22
|
+
type: String,
|
|
23
23
|
},
|
|
24
24
|
type: {
|
|
25
|
-
type:String,
|
|
26
|
-
default:
|
|
25
|
+
type: String,
|
|
26
|
+
default: "error",
|
|
27
27
|
},
|
|
28
28
|
showIcon: {
|
|
29
|
-
type:Boolean,
|
|
30
|
-
default:true,
|
|
31
|
-
}
|
|
29
|
+
type: Boolean,
|
|
30
|
+
default: true,
|
|
31
|
+
},
|
|
32
32
|
},
|
|
33
33
|
|
|
34
34
|
components: {
|
|
35
35
|
ElAlert,
|
|
36
36
|
},
|
|
37
|
-
}
|
|
38
|
-
</script>
|
|
37
|
+
};
|
|
38
|
+
</script>
|
|
@@ -0,0 +1,50 @@
|
|
|
1
|
+
<template>
|
|
2
|
+
<footer class="vel-footer">
|
|
3
|
+
<div>
|
|
4
|
+
<h5 class="color-0">
|
|
5
|
+
<slot />
|
|
6
|
+
</h5>
|
|
7
|
+
</div>
|
|
8
|
+
<div class="vel-footer__bottom">
|
|
9
|
+
<div class="vel-footer__bottom__links">
|
|
10
|
+
<p class="color-0">©2025 Avalere Health.</p>
|
|
11
|
+
<el-link
|
|
12
|
+
underline
|
|
13
|
+
class="color-0 ml"
|
|
14
|
+
href="https://avalerehealth.com/privacy-policy/"
|
|
15
|
+
target="_blank"
|
|
16
|
+
>Privacy Policy</el-link
|
|
17
|
+
>
|
|
18
|
+
<el-link
|
|
19
|
+
underline
|
|
20
|
+
class="color-0 ml"
|
|
21
|
+
href="https://avalerehealth.com/corporate-policies/"
|
|
22
|
+
target="_blank"
|
|
23
|
+
>Corporate policies and compliance</el-link
|
|
24
|
+
>
|
|
25
|
+
</div>
|
|
26
|
+
<div class="vel-footer__bottom__end">
|
|
27
|
+
<p class="color-0">Have a question?</p>
|
|
28
|
+
<el-link underline class="color-0 ml" :href="contact"
|
|
29
|
+
>Contact our Support Team</el-link
|
|
30
|
+
>
|
|
31
|
+
</div>
|
|
32
|
+
</div>
|
|
33
|
+
</footer>
|
|
34
|
+
</template>
|
|
35
|
+
|
|
36
|
+
<script>
|
|
37
|
+
import elLink from "../basic/link.vue";
|
|
38
|
+
|
|
39
|
+
export default {
|
|
40
|
+
props: {
|
|
41
|
+
contact: {
|
|
42
|
+
required: true,
|
|
43
|
+
type: String,
|
|
44
|
+
},
|
|
45
|
+
},
|
|
46
|
+
components: {
|
|
47
|
+
elLink,
|
|
48
|
+
},
|
|
49
|
+
};
|
|
50
|
+
</script>
|
|
@@ -1,15 +1,13 @@
|
|
|
1
1
|
<template>
|
|
2
2
|
<header class="vel-header">
|
|
3
|
-
<slot/>
|
|
4
|
-
|
|
3
|
+
<slot />
|
|
4
|
+
|
|
5
5
|
<div class="vel-header__list">
|
|
6
|
-
<slot name="links"/>
|
|
6
|
+
<slot name="links" />
|
|
7
7
|
</div>
|
|
8
8
|
</header>
|
|
9
9
|
</template>
|
|
10
10
|
|
|
11
11
|
<script>
|
|
12
|
-
export default {
|
|
13
|
-
|
|
14
|
-
}
|
|
15
|
-
</script>
|
|
12
|
+
export default {};
|
|
13
|
+
</script>
|
|
@@ -0,0 +1,59 @@
|
|
|
1
|
+
<template>
|
|
2
|
+
<div class="vel-loader">
|
|
3
|
+
<slot>
|
|
4
|
+
<svg
|
|
5
|
+
viewBox="0 0 84 84"
|
|
6
|
+
xmlns="http://www.w3.org/2000/svg"
|
|
7
|
+
xmlns:xlink="http://www.w3.org/1999/xlink"
|
|
8
|
+
>
|
|
9
|
+
<defs>
|
|
10
|
+
<pattern
|
|
11
|
+
id="e11rz3cojb"
|
|
12
|
+
width="100%"
|
|
13
|
+
height="100%"
|
|
14
|
+
patternUnits="objectBoundingBox"
|
|
15
|
+
>
|
|
16
|
+
<use xlink:href="#w1y9w0pc6a" />
|
|
17
|
+
</pattern>
|
|
18
|
+
<image
|
|
19
|
+
id="w1y9w0pc6a"
|
|
20
|
+
width="84"
|
|
21
|
+
height="84"
|
|
22
|
+
xlink:href="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAFQAAABUCAYAAAAcaxDBAAAAAXNSR0IArs4c6QAAAERlWElmTU0AKgAAAAgAAYdpAAQAAAABAAAAGgAAAAAAA6ABAAMAAAABAAEAAKACAAQAAAABAAAAVKADAAQAAAABAAAAVAAAAAC3aM1AAAAIi0lEQVR4Ae2XWY4kuRFEe7RBv9L9/3UJ3URXkDACBO0rX1S+KEtvZ2TkND+EAR1gmflK0oZR1fPdly9ffjvWfy/Wf0pu5hvvMGPwzn8VN5/IudNPXnP6IrXyxCtOzmW//oE/GwXfjTUzimo+/cwbTzRPLLm+++K7qLtr1LpqT43ri9TDsUTzPwhfCcolq2VMzubwihmTMw+ei75vtSqA8zJOLP07/K2eVYIiDtYhMQ6+WkD2u7IqFrXGkhtbgq8E/cnYmd8VaYpGTN4hB6wipn+H574dvyOCfXdqu5rud2UXO3pfCcphFMuDpS/vMGNwFpu+Y86oPV68xjvfWpGajhv7JrwjaH2leUl5h8Q4HPjOGuWXxsxq3yTCGPZO//R1MueOoBxeweApsPEOFdF+/Q6p0Zw1842DCtHFzCVmT8bv8ksxOc9dQVNEDuWljYvGUzTrMyYnh3X+R+b5JxfXKlcU86CxGb4SKPPJZ/MOQRGjFtBcTdGIJ0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3vpd+oQaPXTf2f/H10t/xzZtlCBLehCMRm1Bd2CLlZg8bj9QregixVYPG6/0C3oYgUWj9svdAu6WIHF4/YL3YIuVmDxuP1Ct6CLFVg8br/QLehiBRaP2y90C7pYgcXj9gvdgi5WYPG4/UK3oIsVWDxuv9At6GIFFo/bL3QLuliBxeP2C92CLlZg8bj9QregixVYPG6/0C3oYgUWj9svdAu6WIHF4/YL3YIuVmDxuP1Ct6CLFVg8br/QxYL+DzAT0LD/r1MPAAAAAElFTkSuQmCC"
|
|
23
|
+
/>
|
|
24
|
+
<path id="3vizvfpwxc" d="M0 0h39.967v39.966H0z" />
|
|
25
|
+
</defs>
|
|
26
|
+
<g fill="none" fill-rule="evenodd">
|
|
27
|
+
<path
|
|
28
|
+
class="circle"
|
|
29
|
+
d="M42 0C18.804 0 0 18.804 0 42s18.804 42 42 42 42-18.804 42-42S65.196 0 42 0zm0 4c20.987 0 38 17.013 38 38S62.987 80 42 80 4 62.987 4 42 21.013 4 42 4z"
|
|
30
|
+
fill="url(#e11rz3cojb)"
|
|
31
|
+
fill-rule="nonzero"
|
|
32
|
+
/>
|
|
33
|
+
<g transform="translate(22 22)">
|
|
34
|
+
<mask id="y3cby6hymd" fill="#fff">
|
|
35
|
+
<use xlink:href="#3vizvfpwxc" />
|
|
36
|
+
</mask>
|
|
37
|
+
<path
|
|
38
|
+
d="m16.552 21.54 4.036-12.407h.312l4.204 12.946c2.503 1.604 4.81 3.465 6.752 5.604l-.38.486c-3.45-2.688-8.243-5.126-14.924-6.63m23.414 18.425L26.189 0h-10.89L8.295 20.29a82.37 82.37 0 0 0-6.892-.306L0 24.047c2.37.103 4.628.329 6.769.664L1.502 39.966h9.055l4.314-13.26c7.747 2.716 13.03 7.333 15.105 13.26h9.99v-.002"
|
|
39
|
+
fill="#0D0D0D"
|
|
40
|
+
mask="url(#y3cby6hymd)"
|
|
41
|
+
/>
|
|
42
|
+
</g>
|
|
43
|
+
</g>
|
|
44
|
+
</svg>
|
|
45
|
+
</slot>
|
|
46
|
+
</div>
|
|
47
|
+
</template>
|
|
48
|
+
|
|
49
|
+
<script>
|
|
50
|
+
export default {
|
|
51
|
+
props: {
|
|
52
|
+
reversed: {
|
|
53
|
+
type: Boolean,
|
|
54
|
+
default: false,
|
|
55
|
+
},
|
|
56
|
+
},
|
|
57
|
+
components: {},
|
|
58
|
+
};
|
|
59
|
+
</script>
|
|
@@ -19,28 +19,28 @@ export default {
|
|
|
19
19
|
|
|
20
20
|
props: {
|
|
21
21
|
width: {
|
|
22
|
-
type:Number,
|
|
23
|
-
default:100
|
|
22
|
+
type: Number,
|
|
23
|
+
default: 100,
|
|
24
24
|
},
|
|
25
25
|
trigger: {
|
|
26
|
-
type:String,
|
|
27
|
-
default:
|
|
26
|
+
type: String,
|
|
27
|
+
default: "hover",
|
|
28
28
|
},
|
|
29
29
|
effect: {
|
|
30
|
-
type:String,
|
|
31
|
-
default:
|
|
30
|
+
type: String,
|
|
31
|
+
default: "dark",
|
|
32
32
|
},
|
|
33
33
|
placement: {
|
|
34
|
-
type:String,
|
|
35
|
-
default:
|
|
34
|
+
type: String,
|
|
35
|
+
default: "top",
|
|
36
36
|
},
|
|
37
37
|
content: {
|
|
38
|
-
type:String
|
|
39
|
-
}
|
|
38
|
+
type: String,
|
|
39
|
+
},
|
|
40
40
|
},
|
|
41
41
|
|
|
42
42
|
components: {
|
|
43
43
|
ElPopover,
|
|
44
44
|
},
|
|
45
|
-
}
|
|
46
|
-
</script>
|
|
45
|
+
};
|
|
46
|
+
</script>
|
|
@@ -6,9 +6,7 @@
|
|
|
6
6
|
|
|
7
7
|
<div class="vel-side-bar__bottom">
|
|
8
8
|
<button class="vel-side-bar__button" @click="active = !active">
|
|
9
|
-
<slot name="expand">
|
|
10
|
-
>
|
|
11
|
-
</slot>
|
|
9
|
+
<slot name="expand"> > </slot>
|
|
12
10
|
</button>
|
|
13
11
|
</div>
|
|
14
12
|
</div>
|
|
@@ -21,7 +19,7 @@ export default {
|
|
|
21
19
|
data() {
|
|
22
20
|
return {
|
|
23
21
|
active: true,
|
|
24
|
-
}
|
|
22
|
+
};
|
|
25
23
|
},
|
|
26
|
-
}
|
|
27
|
-
</script>
|
|
24
|
+
};
|
|
25
|
+
</script>
|
|
@@ -1,11 +1,16 @@
|
|
|
1
1
|
<template>
|
|
2
2
|
<el-breadcrumb class="vel-breadcrumb" :seperator="''">
|
|
3
3
|
<slot name="default">
|
|
4
|
-
<template v-for="(crumb,index) in crumbs">
|
|
5
|
-
<el-breadcrumb-item :to="crumb.href"
|
|
6
|
-
|
|
4
|
+
<template v-for="(crumb, index) in crumbs">
|
|
5
|
+
<el-breadcrumb-item :to="crumb.href"
|
|
6
|
+
>{{ crumb.text }}
|
|
7
|
+
</el-breadcrumb-item>
|
|
8
|
+
<template v-if="index !== crumbs.length - 1">
|
|
7
9
|
<span class="el-breadcrumb__item">
|
|
8
|
-
<span
|
|
10
|
+
<span
|
|
11
|
+
class="el-breadcrumb__separator inline-block"
|
|
12
|
+
role="presentation"
|
|
13
|
+
>
|
|
9
14
|
<slot name="seperator">/</slot>
|
|
10
15
|
</span>
|
|
11
16
|
</span>
|
|
@@ -21,12 +26,12 @@ import ElBreadcrumbItem from "./BreadcrumbsItem.vue";
|
|
|
21
26
|
export default {
|
|
22
27
|
props: {
|
|
23
28
|
crumbs: {
|
|
24
|
-
required: false
|
|
25
|
-
}
|
|
29
|
+
required: false,
|
|
30
|
+
},
|
|
26
31
|
},
|
|
27
32
|
components: {
|
|
28
33
|
ElBreadcrumb,
|
|
29
|
-
ElBreadcrumbItem
|
|
30
|
-
}
|
|
31
|
-
}
|
|
32
|
-
</script>
|
|
34
|
+
ElBreadcrumbItem,
|
|
35
|
+
},
|
|
36
|
+
};
|
|
37
|
+
</script>
|
|
@@ -9,11 +9,11 @@ import { ElBreadcrumbItem } from "element-plus";
|
|
|
9
9
|
export default {
|
|
10
10
|
props: {
|
|
11
11
|
crumbs: {
|
|
12
|
-
required: false
|
|
13
|
-
}
|
|
12
|
+
required: false,
|
|
13
|
+
},
|
|
14
14
|
},
|
|
15
15
|
components: {
|
|
16
|
-
ElBreadcrumbItem
|
|
17
|
-
}
|
|
18
|
-
}
|
|
19
|
-
</script>
|
|
16
|
+
ElBreadcrumbItem,
|
|
17
|
+
},
|
|
18
|
+
};
|
|
19
|
+
</script>
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
<template>
|
|
2
|
+
<el-menu-item :index="index" class="vel-menu-item" v-bind="$props">
|
|
3
|
+
<template #title>
|
|
4
|
+
<slot name="title" />
|
|
5
|
+
</template>
|
|
6
|
+
<template #default>
|
|
7
|
+
<slot name="default" />
|
|
8
|
+
</template>
|
|
9
|
+
</el-menu-item>
|
|
10
|
+
</template>
|
|
11
|
+
|
|
12
|
+
<script>
|
|
13
|
+
import { ElMenuItem } from "element-plus";
|
|
14
|
+
export default {
|
|
15
|
+
components: {
|
|
16
|
+
ElMenuItem,
|
|
17
|
+
},
|
|
18
|
+
props: ["index"],
|
|
19
|
+
};
|
|
20
|
+
</script>
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
<template>
|
|
2
|
+
<el-sub-menu :index="index" v-bind="$props">
|
|
3
|
+
<template #title>
|
|
4
|
+
<slot name="title" />
|
|
5
|
+
</template>
|
|
6
|
+
<template #default>
|
|
7
|
+
<slot name="default" />
|
|
8
|
+
</template>
|
|
9
|
+
</el-sub-menu>
|
|
10
|
+
</template>
|
|
11
|
+
|
|
12
|
+
<script>
|
|
13
|
+
import ElSubMenu from "./SubMenu.vue";
|
|
14
|
+
export default {
|
|
15
|
+
components: {
|
|
16
|
+
ElSubMenu,
|
|
17
|
+
},
|
|
18
|
+
props: ["index"],
|
|
19
|
+
};
|
|
20
|
+
</script>
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
<template>
|
|
2
|
+
<el-sub-menu :index="index" class="vel-sub-menu">
|
|
3
|
+
<template #title>
|
|
4
|
+
<slot name="title" />
|
|
5
|
+
</template>
|
|
6
|
+
<template #default>
|
|
7
|
+
<slot name="default" />
|
|
8
|
+
</template>
|
|
9
|
+
</el-sub-menu>
|
|
10
|
+
</template>
|
|
11
|
+
|
|
12
|
+
<script>
|
|
13
|
+
import { ElSubMenu } from "element-plus";
|
|
14
|
+
export default {
|
|
15
|
+
components: {
|
|
16
|
+
ElSubMenu,
|
|
17
|
+
},
|
|
18
|
+
props: ["index"],
|
|
19
|
+
};
|
|
20
|
+
</script>
|