@afeefa/vue-app 0.0.88 → 0.0.89
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.
@@ -1 +1 @@
|
|
1
|
-
0.0.
|
1
|
+
0.0.89
|
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,6 +1,9 @@
|
|
1
1
|
<template>
|
2
2
|
<div class="listView">
|
3
|
-
<div
|
3
|
+
<div
|
4
|
+
v-if="filtersActivated"
|
5
|
+
class="filters"
|
6
|
+
>
|
4
7
|
<slot
|
5
8
|
name="filters"
|
6
9
|
:filters="filters"
|
@@ -66,11 +69,19 @@
|
|
66
69
|
</template>
|
67
70
|
</template>
|
68
71
|
|
69
|
-
<div
|
70
|
-
|
71
|
-
|
72
|
-
|
73
|
-
|
72
|
+
<div
|
73
|
+
v-else-if="!isLoading"
|
74
|
+
class="nothing-found"
|
75
|
+
>
|
76
|
+
<div v-if="filtersActivated">
|
77
|
+
Nichts gefunden. <a
|
78
|
+
href=""
|
79
|
+
@click.prevent="resetFilters()"
|
80
|
+
>Filter zurücksetzen</a>
|
81
|
+
</div>
|
82
|
+
<div v-else>
|
83
|
+
Nichts gefunden.
|
84
|
+
</div>
|
74
85
|
</div>
|
75
86
|
</div>
|
76
87
|
</template>
|
@@ -82,7 +93,15 @@ import { ListViewMixin } from '@a-vue/components/list/ListViewMixin'
|
|
82
93
|
import { LoadingEvent } from '@a-vue/events'
|
83
94
|
|
84
95
|
@Component({
|
85
|
-
props:
|
96
|
+
props: {
|
97
|
+
rowAttributes: {},
|
98
|
+
rowClasses: {},
|
99
|
+
rowListeners: {},
|
100
|
+
filtersActivated: {
|
101
|
+
type: Boolean,
|
102
|
+
default: true
|
103
|
+
}
|
104
|
+
}
|
86
105
|
})
|
87
106
|
export default class ListView extends Mixins(ListViewMixin) {
|
88
107
|
$hasOptions = ['icon']
|