@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.
- package/_Build/vue/components/basic/Button.vue +1 -1
- package/_Build/vue/modules/AuthModule/adminRoutes/PCompanies/Children/partials/form.vue +1 -1
- package/_Build/vue/modules/AuthModule/adminRoutes/PUsers/Children/partials/form.vue +7 -6
- package/_base.scss +0 -1
- package/package.json +1 -1
- package/components/_input.scss +0 -0
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
<template>
|
|
3
3
|
<form class="" @submit.prevent="submit">
|
|
4
4
|
<template v-if="method !== 'patch'">
|
|
5
|
-
<
|
|
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
|
-
<
|
|
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
|
-
<
|
|
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
|
-
<
|
|
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
package/package.json
CHANGED
package/components/_input.scss
DELETED
|
File without changes
|