@drax/crud-vue 0.34.0 → 0.34.3
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.
|
|
6
|
+
"version": "0.34.3",
|
|
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.
|
|
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": "
|
|
67
|
+
"gitHead": "1cb0d3a373d7ff9d95bd6e72c605710bd9278939"
|
|
68
68
|
}
|
|
@@ -148,21 +148,28 @@ 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
|
+
|
|
153
|
+
<v-chip-group v-model="indexSelected"
|
|
152
154
|
:style="{ maxHeight: menuMaxHeight, overflowY: 'auto' }"
|
|
153
155
|
direction="horizontal"
|
|
154
156
|
|
|
155
157
|
>
|
|
158
|
+
|
|
156
159
|
<v-chip v-for="(item,index) in valueModel" :key="index"
|
|
157
|
-
:value="
|
|
158
|
-
label
|
|
160
|
+
:value="index" @click="menuSelect(item, index)"
|
|
161
|
+
label class="pr-0" :color="indexSelected === index ? 'primary' : ''"
|
|
159
162
|
>
|
|
160
|
-
<!-- <template v-slot:prepend>-->
|
|
161
|
-
<!-- <v-avatar>{{ index }}</v-avatar>-->
|
|
162
|
-
<!-- </template>-->
|
|
163
163
|
{{//@ts-ignore
|
|
164
|
-
valueModel[index][Object.keys(valueModel[index] as any)[0]] || index
|
|
164
|
+
valueModel[index][Object.keys(valueModel[index] as any)[0]] || (index)
|
|
165
165
|
}}
|
|
166
|
+
|
|
167
|
+
<template v-slot:append>
|
|
168
|
+
<v-btn variant="text" class="ml-2" density="compact"
|
|
169
|
+
icon="mdi-close-circle"
|
|
170
|
+
@click="removeItem(index)"
|
|
171
|
+
></v-btn>
|
|
172
|
+
</template>
|
|
166
173
|
</v-chip>
|
|
167
174
|
|
|
168
175
|
</v-chip-group>
|