@fishawack/lab-velocity 2.0.0-beta.6 → 2.0.0-beta.7

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.
@@ -34,7 +34,7 @@ export default {
34
34
  },
35
35
  type: {
36
36
  type: String,
37
- default: null,
37
+ default: "default",
38
38
  },
39
39
  name: {
40
40
  type: String,
@@ -159,8 +159,8 @@ export default {
159
159
  type: Function,
160
160
  },
161
161
  method: {
162
- required: true,
163
162
  type: String,
163
+ default: "post",
164
164
  },
165
165
  },
166
166
 
@@ -2,7 +2,7 @@
2
2
  <template>
3
3
  <form class="" @submit.prevent="submit">
4
4
  <template v-if="method !== 'patch'">
5
- <el-basic
5
+ <VelBasic
6
6
  v-model="form.name"
7
7
  name="name"
8
8
  :error="form.errors"
@@ -11,7 +11,7 @@
11
11
  label="Name"
12
12
  />
13
13
 
14
- <el-basic
14
+ <VelBasic
15
15
  v-model="form.email"
16
16
  placeholder="Email"
17
17
  label="Email"
@@ -43,7 +43,7 @@
43
43
  label="Auto generate password"
44
44
  />
45
45
  <template v-if="!form.set_password">
46
- <el-basic
46
+ <VelBasic
47
47
  v-model="form.password"
48
48
  name="password"
49
49
  :error="form.errors"
@@ -51,7 +51,7 @@
51
51
  placeholder="Password"
52
52
  label="Password"
53
53
  />
54
- <el-basic
54
+ <VelBasic
55
55
  v-model="form.password_confirmation"
56
56
  name="password_confirmation"
57
57
  :error="form.errors"
@@ -67,7 +67,6 @@
67
67
  <template v-if="$store.getters.can('edit roles')">
68
68
  <template v-if="enableRoles">
69
69
  <VelButton
70
- type="secondary"
71
70
  @click="
72
71
  form.roles = [];
73
72
  enableRoles = false;
@@ -98,6 +97,7 @@ import axios from "axios";
98
97
  import { debounce } from "lodash";
99
98
  import VelButton from "../../../../../../components/basic/Button.vue";
100
99
  import VelCheckbox from "../../../../../../components/form/Checkbox.vue";
100
+ import VelBasic from "../../../../../../components/form/basic.vue";
101
101
 
102
102
  export default {
103
103
  components: {
@@ -105,6 +105,7 @@ export default {
105
105
  FormRole: require("../../../../components/FormRole.vue").default,
106
106
  VelCheckbox,
107
107
  VelButton,
108
+ VelBasic,
108
109
  },
109
110
  props: {
110
111
  form: {
@@ -116,8 +117,8 @@ export default {
116
117
  type: Function,
117
118
  },
118
119
  method: {
119
- required: true,
120
120
  type: String,
121
+ default: "post",
121
122
  },
122
123
  },
123
124
 
package/_base.scss CHANGED
@@ -3,4 +3,3 @@
3
3
  @import "element-plus/theme-chalk/el-message";
4
4
  @import "element-plus/theme-chalk/el-notification";
5
5
  @import "element-plus/theme-chalk/el-overlay";
6
- @import "./components/input.scss";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@fishawack/lab-velocity",
3
- "version": "2.0.0-beta.6",
3
+ "version": "2.0.0-beta.7",
4
4
  "description": "Avalere Health branded style system",
5
5
  "scripts": {
6
6
  "setup": "npm ci || npm i && npm run content",
File without changes