@afeefa/vue-app 0.0.88 → 0.0.90
Sign up to get free protection for your applications and to get access to all the features.
- package/.afeefa/package/release/version.txt +1 -1
- package/package.json +1 -1
- package/src/components/AAutocomplete.vue +2 -1
- package/src/components/form/EditModal.vue +1 -1
- package/src-admin/components/app/AppBarButton.vue +2 -13
- package/src-admin/components/form/RemoveButton.vue +5 -2
- package/src-admin/components/list/ListView.vue +15 -6
@@ -1 +1 @@
|
|
1
|
-
0.0.
|
1
|
+
0.0.90
|
package/package.json
CHANGED
@@ -77,7 +77,8 @@ export default class AAutocomplete extends Vue {
|
|
77
77
|
}
|
78
78
|
|
79
79
|
get validationRules () {
|
80
|
-
|
80
|
+
const label = this.$attrs.label
|
81
|
+
return (this.validator && this.validator.getRules(label)) || []
|
81
82
|
}
|
82
83
|
|
83
84
|
get value () {
|
@@ -1,5 +1,5 @@
|
|
1
1
|
<template>
|
2
|
-
<div
|
2
|
+
<div>
|
3
3
|
<slot />
|
4
4
|
</div>
|
5
5
|
</template>
|
@@ -8,11 +8,7 @@
|
|
8
8
|
import { Component, Vue } from '@a-vue'
|
9
9
|
|
10
10
|
@Component({
|
11
|
-
props: {
|
12
|
-
prepend: {
|
13
|
-
type: Boolean
|
14
|
-
}
|
15
|
-
}
|
11
|
+
props: [{ prepend: false }]
|
16
12
|
})
|
17
13
|
export default class AppBarButton extends Vue {
|
18
14
|
mounted () {
|
@@ -39,10 +35,3 @@ export default class AppBarButton extends Vue {
|
|
39
35
|
}
|
40
36
|
}
|
41
37
|
</script>
|
42
|
-
|
43
|
-
<style scoped>
|
44
|
-
.project-buttons {
|
45
|
-
display: flex;
|
46
|
-
align-items: center;
|
47
|
-
}
|
48
|
-
</style>
|
@@ -4,12 +4,15 @@
|
|
4
4
|
<v-btn
|
5
5
|
:class="'a-btn-standard removeButton-' + dialogId"
|
6
6
|
fab
|
7
|
-
|
7
|
+
small
|
8
8
|
:color="(hover ? 'red' : 'grey lighten-3')"
|
9
9
|
:title="title"
|
10
10
|
@click="remove"
|
11
11
|
>
|
12
|
-
<v-icon
|
12
|
+
<v-icon
|
13
|
+
class="white--hover"
|
14
|
+
size="1.3rem"
|
15
|
+
>
|
13
16
|
$trashCanIcon
|
14
17
|
</v-icon>
|
15
18
|
</v-btn>
|
@@ -1,6 +1,9 @@
|
|
1
1
|
<template>
|
2
2
|
<div class="listView">
|
3
|
-
<div
|
3
|
+
<div
|
4
|
+
v-if="$has.filters"
|
5
|
+
class="filters"
|
6
|
+
>
|
4
7
|
<slot
|
5
8
|
name="filters"
|
6
9
|
:filters="filters"
|
@@ -67,10 +70,16 @@
|
|
67
70
|
</template>
|
68
71
|
|
69
72
|
<div v-else-if="!isLoading">
|
70
|
-
|
71
|
-
|
72
|
-
|
73
|
-
|
73
|
+
<div v-if="$has.filters">
|
74
|
+
Nichts gefunden. <a
|
75
|
+
href=""
|
76
|
+
@click.prevent="resetFilters()"
|
77
|
+
>Filter zurücksetzen</a>
|
78
|
+
</div>
|
79
|
+
|
80
|
+
<div v-else>
|
81
|
+
Nichts gefunden.
|
82
|
+
</div>
|
74
83
|
</div>
|
75
84
|
</div>
|
76
85
|
</template>
|
@@ -85,7 +94,7 @@ import { LoadingEvent } from '@a-vue/events'
|
|
85
94
|
props: ['rowAttributes', 'rowClasses', 'rowListeners']
|
86
95
|
})
|
87
96
|
export default class ListView extends Mixins(ListViewMixin) {
|
88
|
-
$hasOptions = ['icon']
|
97
|
+
$hasOptions = ['icon', 'filters']
|
89
98
|
|
90
99
|
@Watch('isLoading')
|
91
100
|
isLoadingChanged () {
|