@afeefa/vue-app 0.0.212 → 0.0.213
Sign up to get free protection for your applications and to get access to all the features.
@@ -1 +1 @@
|
|
1
|
-
0.0.
|
1
|
+
0.0.213
|
package/package.json
CHANGED
@@ -1,40 +1,12 @@
|
|
1
1
|
<template>
|
2
|
-
<
|
3
|
-
|
4
|
-
|
5
|
-
:
|
6
|
-
:
|
7
|
-
|
8
|
-
|
9
|
-
|
10
|
-
max-width="290px"
|
11
|
-
min-width="290px"
|
12
|
-
>
|
13
|
-
<template #activator="{ on, attrs }">
|
14
|
-
<v-text-field
|
15
|
-
v-model="model[name]"
|
16
|
-
:label="label || name"
|
17
|
-
prepend-icon="mdi-clock-time-four-outline"
|
18
|
-
readonly
|
19
|
-
dense
|
20
|
-
outlined
|
21
|
-
v-bind="attrs"
|
22
|
-
v-on="on"
|
23
|
-
/>
|
24
|
-
</template>
|
25
|
-
<v-time-picker
|
26
|
-
v-if="menu"
|
27
|
-
ref="timePicker"
|
28
|
-
v-model="model[name]"
|
29
|
-
:validator="validator"
|
30
|
-
v-bind="$attrs"
|
31
|
-
full-width
|
32
|
-
scrollable
|
33
|
-
format="24hr"
|
34
|
-
v-on="$listeners"
|
35
|
-
@click:minute="$refs.menu.save(model[name])"
|
36
|
-
/>
|
37
|
-
</v-menu>
|
2
|
+
<a-time-picker
|
3
|
+
v-model="model[name]"
|
4
|
+
class="timePicker"
|
5
|
+
:label="label || name"
|
6
|
+
:validator="validator"
|
7
|
+
v-bind="$attrs"
|
8
|
+
v-on="$listeners"
|
9
|
+
/>
|
38
10
|
</template>
|
39
11
|
|
40
12
|
<script>
|
@@ -43,9 +15,5 @@ import { FormFieldMixin } from '../FormFieldMixin'
|
|
43
15
|
|
44
16
|
@Component
|
45
17
|
export default class FormFieldTime extends Mixins(FormFieldMixin) {
|
46
|
-
menu = false
|
47
|
-
validate () {
|
48
|
-
this.$refs.timePicker.validate()
|
49
|
-
}
|
50
18
|
}
|
51
19
|
</script>
|