@afeefa/vue-app 0.0.89 → 0.0.90

Sign up to get free protection for your applications and to get access to all the features.
@@ -1 +1 @@
1
- 0.0.89
1
+ 0.0.90
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@afeefa/vue-app",
3
- "version": "0.0.89",
3
+ "version": "0.0.90",
4
4
  "description": "",
5
5
  "author": "Afeefa Kollektiv <kollektiv@afeefa.de>",
6
6
  "license": "MIT",
@@ -1,5 +1,5 @@
1
1
  <template>
2
- <div class="project-buttons gap-3">
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
- x-small
7
+ small
8
8
  :color="(hover ? 'red' : 'grey lighten-3')"
9
9
  :title="title"
10
10
  @click="remove"
11
11
  >
12
- <v-icon class="white--hover">
12
+ <v-icon
13
+ class="white--hover"
14
+ size="1.3rem"
15
+ >
13
16
  $trashCanIcon
14
17
  </v-icon>
15
18
  </v-btn>
@@ -1,7 +1,7 @@
1
1
  <template>
2
2
  <div class="listView">
3
3
  <div
4
- v-if="filtersActivated"
4
+ v-if="$has.filters"
5
5
  class="filters"
6
6
  >
7
7
  <slot
@@ -69,16 +69,14 @@
69
69
  </template>
70
70
  </template>
71
71
 
72
- <div
73
- v-else-if="!isLoading"
74
- class="nothing-found"
75
- >
76
- <div v-if="filtersActivated">
72
+ <div v-else-if="!isLoading">
73
+ <div v-if="$has.filters">
77
74
  Nichts gefunden. <a
78
75
  href=""
79
76
  @click.prevent="resetFilters()"
80
77
  >Filter zurücksetzen</a>
81
78
  </div>
79
+
82
80
  <div v-else>
83
81
  Nichts gefunden.
84
82
  </div>
@@ -93,18 +91,10 @@ import { ListViewMixin } from '@a-vue/components/list/ListViewMixin'
93
91
  import { LoadingEvent } from '@a-vue/events'
94
92
 
95
93
  @Component({
96
- props: {
97
- rowAttributes: {},
98
- rowClasses: {},
99
- rowListeners: {},
100
- filtersActivated: {
101
- type: Boolean,
102
- default: true
103
- }
104
- }
94
+ props: ['rowAttributes', 'rowClasses', 'rowListeners']
105
95
  })
106
96
  export default class ListView extends Mixins(ListViewMixin) {
107
- $hasOptions = ['icon']
97
+ $hasOptions = ['icon', 'filters']
108
98
 
109
99
  @Watch('isLoading')
110
100
  isLoadingChanged () {