@afeefa/vue-app 0.0.230 → 0.0.232
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.232
|
package/package.json
CHANGED
@@ -1,10 +1,15 @@
|
|
1
1
|
<template>
|
2
2
|
<v-checkbox
|
3
3
|
ref="checkbox"
|
4
|
+
class="a-checkbox"
|
4
5
|
v-bind="$attrs"
|
5
6
|
:inputValue="$attrs.value"
|
6
7
|
@change="$emit('input', $event || false)"
|
7
|
-
|
8
|
+
>
|
9
|
+
<template #label>
|
10
|
+
<slot />
|
11
|
+
</template>
|
12
|
+
</v-checkbox>
|
8
13
|
</template>
|
9
14
|
|
10
15
|
|
@@ -39,5 +44,9 @@ export default class ACheckbox extends Vue {
|
|
39
44
|
.v-input--checkbox {
|
40
45
|
margin: 0;
|
41
46
|
padding: 0;
|
47
|
+
|
48
|
+
::v-deep() .v-input__slot {
|
49
|
+
align-items: flex-start;
|
50
|
+
}
|
42
51
|
}
|
43
52
|
</style>
|
@@ -190,12 +190,17 @@ export default class ListView extends Mixins(ListViewMixin) {
|
|
190
190
|
dragMode_ = null
|
191
191
|
bulkSelection_ = null
|
192
192
|
|
193
|
+
created () {
|
194
|
+
this.dragMode_ = this.dragMode
|
195
|
+
this.bulkSelection_ = this.bulkSelection
|
196
|
+
}
|
197
|
+
|
193
198
|
setDragMode (mode) {
|
194
199
|
this.dragMode_ = mode
|
195
200
|
}
|
196
201
|
|
197
202
|
get _dragMode () {
|
198
|
-
return this.dragMode_
|
203
|
+
return this.dragMode_
|
199
204
|
}
|
200
205
|
|
201
206
|
setBulkSelection (mode) {
|
@@ -203,7 +208,7 @@ export default class ListView extends Mixins(ListViewMixin) {
|
|
203
208
|
}
|
204
209
|
|
205
210
|
get _bulkSelection () {
|
206
|
-
return this.bulkSelection_
|
211
|
+
return this.bulkSelection_
|
207
212
|
}
|
208
213
|
|
209
214
|
isSelected (model) {
|