@drax/crud-vue 0.34.0 → 0.34.2

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.
package/package.json CHANGED
@@ -3,7 +3,7 @@
3
3
  "publishConfig": {
4
4
  "access": "public"
5
5
  },
6
- "version": "0.34.0",
6
+ "version": "0.34.2",
7
7
  "type": "module",
8
8
  "main": "./src/index.ts",
9
9
  "module": "./src/index.ts",
@@ -24,7 +24,7 @@
24
24
  "format": "prettier --write src/"
25
25
  },
26
26
  "dependencies": {
27
- "@drax/common-front": "^0.34.0",
27
+ "@drax/common-front": "^0.34.2",
28
28
  "@drax/crud-front": "^0.34.0",
29
29
  "@drax/crud-share": "^0.34.0",
30
30
  "@drax/media-vue": "^0.34.0"
@@ -64,5 +64,5 @@
64
64
  "vue-tsc": "^2.1.10",
65
65
  "vuetify": "^3.8.2"
66
66
  },
67
- "gitHead": "3a121099fcdd0814fd232d90aeac0b2086e2e625"
67
+ "gitHead": "9b12fafdf8a43df90e2df88ddae374c1a31cef4a"
68
68
  }
@@ -26,7 +26,7 @@ const {
26
26
  </v-card-title>
27
27
  <v-card-text>
28
28
  <v-alert v-if="exportError" type="error">
29
- {{ t('export.error.message') }}
29
+ {{ t('error.crud.export') }}
30
30
  </v-alert>
31
31
  <v-table density="compact" v-else>
32
32
  <thead>
@@ -148,6 +148,7 @@ const {xs} = useDisplay()
148
148
  class="text-blue text--darken-3 float-left mt-1 mr-2">
149
149
  <v-icon>mdi-plus</v-icon> {{ label }}
150
150
  </v-btn>
151
+
151
152
  <v-chip-group v-model="itemSelected"
152
153
  :style="{ maxHeight: menuMaxHeight, overflowY: 'auto' }"
153
154
  direction="horizontal"
@@ -155,14 +156,15 @@ const {xs} = useDisplay()
155
156
  >
156
157
  <v-chip v-for="(item,index) in valueModel" :key="index"
157
158
  :value="item" @click="menuSelect(item, index)"
158
- label closable @click:close="removeItem(index)"
159
+ label filter class="pr-0"
159
160
  >
160
- <!-- <template v-slot:prepend>-->
161
- <!-- <v-avatar>{{ index }}</v-avatar>-->
162
- <!-- </template>-->
161
+
163
162
  {{//@ts-ignore
164
163
  valueModel[index][Object.keys(valueModel[index] as any)[0]] || index
165
164
  }}
165
+ <template v-slot:append>
166
+ <v-btn variant="text" class="ml-2" density="compact" icon="mdi-close-circle" @click="removeItem(index)"></v-btn>
167
+ </template>
166
168
  </v-chip>
167
169
 
168
170
  </v-chip-group>