@fishawack/lab-velocity 1.11.1 → 2.0.0-beta.10

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (138) hide show
  1. package/README.md +177 -49
  2. package/_Build/vue/components/Icon.vue +33 -0
  3. package/_Build/vue/components/Svg.vue +45 -0
  4. package/{basic → _Build/vue/components/basic}/Button.vue +17 -19
  5. package/{basic → _Build/vue/components/basic}/link.vue +8 -7
  6. package/{form → _Build/vue/components/form}/Cascader.vue +13 -13
  7. package/{form → _Build/vue/components/form}/CheckboxGroup.vue +28 -6
  8. package/{form → _Build/vue/components/form}/DatePicker.vue +23 -7
  9. package/{form → _Build/vue/components/form}/InputNumber.vue +1 -2
  10. package/{form → _Build/vue/components/form}/Select.vue +10 -11
  11. package/_Build/vue/components/form/Spinner.vue +5 -0
  12. package/{form → _Build/vue/components/form}/Switch.vue +2 -2
  13. package/{form → _Build/vue/components/form}/Upload.vue +4 -6
  14. package/{form → _Build/vue/components/form}/Wysiwyg.vue +14 -14
  15. package/_Build/vue/components/form/Wysiwyg2.vue +577 -0
  16. package/{form → _Build/vue/components/form}/basic.vue +25 -7
  17. package/{form → _Build/vue/components/form}/file.vue +1 -1
  18. package/{form → _Build/vue/components/form}/input.js +2 -2
  19. package/{form → _Build/vue/components/form}/input.vue +31 -11
  20. package/{layout → _Build/vue/components/layout}/Alert.vue +10 -10
  21. package/_Build/vue/components/layout/Footer.vue +50 -0
  22. package/{layout → _Build/vue/components/layout}/Header.vue +5 -7
  23. package/_Build/vue/components/layout/Loader.vue +59 -0
  24. package/{layout → _Build/vue/components/layout}/Tooltip.vue +12 -12
  25. package/{layout → _Build/vue/components/layout}/pageTitle.vue +4 -4
  26. package/{layout → _Build/vue/components/layout}/sideBar.vue +4 -6
  27. package/{navigation → _Build/vue/components/navigation}/Breadcrumbs.vue +15 -10
  28. package/{navigation → _Build/vue/components/navigation}/BreadcrumbsItem.vue +6 -6
  29. package/_Build/vue/components/navigation/Menu.vue +14 -0
  30. package/_Build/vue/components/navigation/MenuItem.vue +20 -0
  31. package/_Build/vue/components/navigation/MenuItemGroup.vue +20 -0
  32. package/_Build/vue/components/navigation/SubMenu.vue +20 -0
  33. package/_Build/vue/modules/AuthModule/adminRoutes/PCompanies/Children/Upload/upload.vue +259 -0
  34. package/_Build/vue/modules/AuthModule/adminRoutes/PCompanies/Children/create.vue +62 -0
  35. package/_Build/vue/modules/AuthModule/adminRoutes/PCompanies/Children/edit.vue +98 -0
  36. package/_Build/vue/modules/AuthModule/adminRoutes/PCompanies/Children/index.vue +90 -0
  37. package/_Build/vue/modules/AuthModule/adminRoutes/PCompanies/Children/partials/form.vue +181 -0
  38. package/_Build/vue/modules/AuthModule/adminRoutes/PCompanies/Children/show.vue +267 -0
  39. package/_Build/vue/modules/AuthModule/adminRoutes/PCompanies/parent.vue +36 -0
  40. package/_Build/vue/modules/AuthModule/adminRoutes/PUsers/Children/create.vue +113 -0
  41. package/_Build/vue/modules/AuthModule/adminRoutes/PUsers/Children/edit.vue +101 -0
  42. package/_Build/vue/modules/AuthModule/adminRoutes/PUsers/Children/index.vue +112 -0
  43. package/_Build/vue/modules/AuthModule/adminRoutes/PUsers/Children/partials/form.vue +174 -0
  44. package/_Build/vue/modules/AuthModule/adminRoutes/PUsers/Children/show.vue +123 -0
  45. package/_Build/vue/modules/AuthModule/adminRoutes/PUsers/parent.vue +36 -0
  46. package/{AuthModule → _Build/vue/modules/AuthModule}/components/AuthModal.vue +30 -35
  47. package/_Build/vue/modules/AuthModule/components/Chip.vue +70 -0
  48. package/_Build/vue/modules/AuthModule/components/Chips.vue +26 -0
  49. package/_Build/vue/modules/AuthModule/components/FormRole.vue +117 -0
  50. package/_Build/vue/modules/AuthModule/components/VBreadcrumbs.vue +33 -0
  51. package/_Build/vue/modules/AuthModule/components/VFormFooter.vue +52 -0
  52. package/_Build/vue/modules/AuthModule/components/VPageHeader.vue +38 -0
  53. package/_Build/vue/modules/AuthModule/components/VPasswordValidation.vue +106 -0
  54. package/_Build/vue/modules/AuthModule/components/VRoleLegend.vue +43 -0
  55. package/_Build/vue/modules/AuthModule/components/VTable.vue +136 -0
  56. package/_Build/vue/modules/AuthModule/components/VTableSorter.vue +252 -0
  57. package/_Build/vue/modules/AuthModule/js/FakeAPI.js +78 -0
  58. package/_Build/vue/modules/AuthModule/js/axios.js +81 -0
  59. package/_Build/vue/modules/AuthModule/js/router.js +295 -0
  60. package/_Build/vue/modules/AuthModule/js/store.js +62 -0
  61. package/{AuthModule → _Build/vue/modules/AuthModule}/routes/account-exists.vue +6 -8
  62. package/{AuthModule → _Build/vue/modules/AuthModule}/routes/change-password.vue +39 -38
  63. package/{AuthModule → _Build/vue/modules/AuthModule}/routes/container.vue +4 -8
  64. package/{AuthModule → _Build/vue/modules/AuthModule}/routes/expired-reset.vue +17 -15
  65. package/{AuthModule → _Build/vue/modules/AuthModule}/routes/expired-verification.vue +21 -20
  66. package/{AuthModule → _Build/vue/modules/AuthModule}/routes/force-reset.vue +45 -40
  67. package/{AuthModule → _Build/vue/modules/AuthModule}/routes/forgot.vue +15 -11
  68. package/{AuthModule → _Build/vue/modules/AuthModule}/routes/login.vue +27 -26
  69. package/{AuthModule → _Build/vue/modules/AuthModule}/routes/logincallback.vue +6 -13
  70. package/_Build/vue/modules/AuthModule/routes/loginheadless.vue +21 -0
  71. package/{AuthModule → _Build/vue/modules/AuthModule}/routes/loginsso.vue +34 -29
  72. package/_Build/vue/modules/AuthModule/routes/logout.vue +19 -0
  73. package/_Build/vue/modules/AuthModule/routes/logoutheadless.vue +25 -0
  74. package/{AuthModule → _Build/vue/modules/AuthModule}/routes/register.vue +52 -37
  75. package/{AuthModule → _Build/vue/modules/AuthModule}/routes/reset.vue +29 -19
  76. package/{AuthModule → _Build/vue/modules/AuthModule}/routes/success-forgot.vue +22 -19
  77. package/{AuthModule → _Build/vue/modules/AuthModule}/routes/success-reset.vue +6 -6
  78. package/_Build/vue/modules/AuthModule/routes/success-verify.vue +30 -0
  79. package/{AuthModule → _Build/vue/modules/AuthModule}/routes/verify.vue +26 -26
  80. package/_base.scss +0 -1
  81. package/_defaults.scss +3 -15
  82. package/_variables.scss +24 -21
  83. package/components/_alert.scss +2 -2
  84. package/components/_auth.scss +163 -0
  85. package/components/_basic.scss +5 -4
  86. package/components/_breadcrumbs.scss +7 -8
  87. package/components/_button.scss +11 -12
  88. package/components/_cascader.scss +1 -1
  89. package/components/_checkbox.scss +27 -26
  90. package/components/_chip.scss +24 -0
  91. package/components/_collapse.scss +2 -3
  92. package/components/_datepicker.scss +7 -6
  93. package/components/_footer.scss +1 -1
  94. package/components/_form.scss +6 -4
  95. package/components/_header.scss +4 -5
  96. package/components/_icon.scss +4 -3
  97. package/components/_inputNumber.scss +4 -3
  98. package/components/_link.scss +7 -7
  99. package/components/_loader.scss +3 -4
  100. package/components/_menu.scss +22 -22
  101. package/{modules → components}/_modal.scss +3 -3
  102. package/components/_pageTitle.scss +3 -3
  103. package/components/_permissionLegend.scss +18 -0
  104. package/components/_select.scss +3 -2
  105. package/components/_sidebar.scss +5 -6
  106. package/components/_switch.scss +2 -2
  107. package/components/_table.scss +3 -3
  108. package/components/_tooltip.scss +2 -2
  109. package/components/_typography.scss +71 -62
  110. package/components/_upload.scss +1 -1
  111. package/components/_wysiwyg.scss +3 -2
  112. package/components/_wysiwyg2.scss +37 -31
  113. package/general.scss +1 -2
  114. package/index.js +38 -30
  115. package/package.json +104 -102
  116. package/vendor.scss +2 -3
  117. package/AuthModule/components/VPasswordValidation.vue +0 -66
  118. package/AuthModule/js/AuthAxios.js +0 -59
  119. package/AuthModule/js/AuthRoutes.js +0 -186
  120. package/AuthModule/js/AuthStore.js +0 -99
  121. package/AuthModule/js/FakeAPI.js +0 -84
  122. package/AuthModule/routes/loginheadless.vue +0 -16
  123. package/AuthModule/routes/logout.vue +0 -21
  124. package/AuthModule/routes/success-verify.vue +0 -29
  125. package/Icon.vue +0 -33
  126. package/Svg.vue +0 -40
  127. package/components/_input.scss +0 -0
  128. package/form/Wysiwyg2.vue +0 -278
  129. package/layout/Footer.vue +0 -35
  130. package/layout/Loader.vue +0 -39
  131. package/modules/_AuthModule.scss +0 -209
  132. package/modules/_AuthVariables.scss +0 -7
  133. package/navigation/Menu.vue +0 -16
  134. package/navigation/MenuItem.vue +0 -20
  135. package/navigation/MenuItemGroup.vue +0 -20
  136. package/navigation/SubMenu.vue +0 -20
  137. /package/{form → _Build/vue/components/form}/Checkbox.vue +0 -0
  138. /package/{form → _Build/vue/components/form}/color.vue +0 -0
@@ -6,7 +6,10 @@
6
6
 
7
7
  <el-input
8
8
  v-bind="{ ...$attrs, class: undefined }"
9
- :class="[`${baseClass}__textbox`, type=== 'password' ? 'input--password': '']"
9
+ :class="[
10
+ `${baseClass}__textbox`,
11
+ type === 'password' ? 'input--password' : '',
12
+ ]"
10
13
  :name="name"
11
14
  :id="name"
12
15
  :disabled="disabled"
@@ -20,7 +23,6 @@
20
23
  :parser="parser"
21
24
  :formatter="formatter"
22
25
  >
23
-
24
26
  <template v-if="prepend" #prepend>
25
27
  <slot name="prepend" />
26
28
  </template>
@@ -28,8 +30,24 @@
28
30
  <slot name="append" />
29
31
 
30
32
  <div v-if="type === 'password'" class="form__icon-container">
31
- <GSvg name="icon-error" class="form__error-icon icon" embed artboard v-if="error && error.first(name)" />
32
- <GSvg :name="visibility ? 'icon-visibility' : 'icon-visibility-off'" class="form__action-icon icon pointer" embed artboard @click="visibility = !visibility" />
33
+ <GSvg
34
+ name="icon-error"
35
+ class="form__error-icon icon"
36
+ embed
37
+ artboard
38
+ v-if="error && error.first(name)"
39
+ />
40
+ <GSvg
41
+ :name="
42
+ visibility
43
+ ? 'icon-visibility'
44
+ : 'icon-visibility-off'
45
+ "
46
+ class="form__action-icon icon pointer"
47
+ embed
48
+ artboard
49
+ @click="visibility = !visibility"
50
+ />
33
51
  </div>
34
52
  </template>
35
53
  </el-input>
@@ -72,12 +90,12 @@ export default {
72
90
  formatter: {
73
91
  type: Function,
74
92
  default: null,
75
- }
93
+ },
76
94
  },
77
95
  data() {
78
96
  return {
79
- visibility: false
80
- }
97
+ visibility: false,
98
+ };
81
99
  },
82
100
 
83
101
  components: {
@@ -54,7 +54,7 @@ export default {
54
54
  hasPreview() {
55
55
  return this.imgSrc &&
56
56
  [".svg", ".jpg", ".png", "data:image/"].some((d) =>
57
- this.imgSrc.includes(d)
57
+ this.imgSrc.includes(d),
58
58
  )
59
59
  ? this.imgSrc
60
60
  : "";
@@ -21,7 +21,7 @@ export default {
21
21
  default: false,
22
22
  },
23
23
  modelValue: {
24
- type: [String,Number,Array],
24
+ type: [String, Number, Array],
25
25
  default: null,
26
26
  },
27
27
  label: {
@@ -41,7 +41,7 @@ export default {
41
41
  default: null,
42
42
  },
43
43
  error: {
44
- type: [String,Object],
44
+ type: [String, Object],
45
45
  default: null,
46
46
  },
47
47
  baseClass: {
@@ -1,7 +1,17 @@
1
1
  <template>
2
- <div class="form__group" :class="{ [baseClass]: baseClass, 'form__group--error': hasError(name), [classes]: classes }">
3
- <label v-if="(label || $slots.label) && inputType !== 'button'" :class="{ [baseClass + '__label']: baseClass }"
4
- :for="name">
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 v-if="hasError(name)" class="form__error" :class="{ [baseClass + '__error']: baseClass }">
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 === 'string') {
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 => e.startsWith(`${field}.`) || e.startsWith(`${field}[`)
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 this.$props.error?.errors?.[field] || ( typeof this.$props.error === 'string' ? [this.$props.error] : []);
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:'dark'
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:'error'
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">&copy;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,iVBORw0KGgoAAAANSUhEUgAAAFQAAABUCAY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xOWJI3zGO24s8fx3KEGMgZiY3M2MWWM8UQFFchwccUSFEnMuQvAf25dKDqM3xVRIUUGpcdFTl2clLhdH6Cmmf4Vnzk+eAMZQTX6FmYPnQkx8Dw0qMIhYCACvoirGPyLvLAVVRGrkoL1iiun5PJN+4hhx3kPeYcZOfkfQs3gQNsY69FDm9T18ImJyYcQUFdZ+4j8fi1oEZx4xREPEvz8WXFHrp0597lvPNNKneOaMdTiLnfErQc8iyDA21OQd1oPheyk5vqJyaTiCpqjUINDfHnF8xSTmUsz6Oqlnuafn6nCUncLKQYx6TPzwJv4rQV8NcpMOMwZ35SXhCMriLCzFHfSI/3UgQlOLeH+JxStVUOeA1OY+7i2O9HkeeeIVrzl8jNnTP0rkqh0NEZz5xjsklsuLgwjBJ/6LByIshmh/HIsX+Oex/vRYCK2YfurOYw8Fdb8ROveWJ15xchizZnbk6gul+KrJYbOaGtfvkFguxUCcXz4W4mLfj8XL/P1YfxgLYRFaIX2VOU8+ys47EdOSE6v+rM54xaO/EzQLZ5tkzRWf9WdcLvqyEOlXY/36scFvBv5uLIRVSHpyDfdJGGcSr3aVq7V3/GMefz053Epj5pXVfPWvev/vc1yGF3HXflSXv3vpd+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:'hover'
26
+ type: String,
27
+ default: "hover",
28
28
  },
29
29
  effect: {
30
- type:String,
31
- default:'dark'
30
+ type: String,
31
+ default: "dark",
32
32
  },
33
33
  placement: {
34
- type:String,
35
- default:'top'
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>
@@ -11,8 +11,8 @@ export default {
11
11
  props: {
12
12
  title: {
13
13
  type: String,
14
- required: true
15
- }
14
+ required: true,
15
+ },
16
16
  },
17
- }
18
- </script>
17
+ };
18
+ </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">{{ crumb.text }} </el-breadcrumb-item>
6
- <template v-if="index !== crumbs.length -1">
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 class="el-breadcrumb__separator inline-block" role="presentation">
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,14 @@
1
+ <template>
2
+ <el-menu class="vel-menu">
3
+ <slot />
4
+ </el-menu>
5
+ </template>
6
+
7
+ <script>
8
+ import { ElMenu } from "element-plus";
9
+ export default {
10
+ components: {
11
+ ElMenu,
12
+ },
13
+ };
14
+ </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>