@drax/crud-vue 2.2.0 → 2.3.0
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": "2.
|
|
6
|
+
"version": "2.3.0",
|
|
7
7
|
"type": "module",
|
|
8
8
|
"main": "./src/index.ts",
|
|
9
9
|
"module": "./src/index.ts",
|
|
@@ -26,8 +26,8 @@
|
|
|
26
26
|
"dependencies": {
|
|
27
27
|
"@drax/common-front": "^2.2.0",
|
|
28
28
|
"@drax/crud-front": "^2.0.0",
|
|
29
|
-
"@drax/crud-share": "^2.0
|
|
30
|
-
"@drax/media-vue": "^2.1
|
|
29
|
+
"@drax/crud-share": "^2.3.0",
|
|
30
|
+
"@drax/media-vue": "^2.2.1"
|
|
31
31
|
},
|
|
32
32
|
"peerDependencies": {
|
|
33
33
|
"pinia": "^3.0.4",
|
|
@@ -50,5 +50,5 @@
|
|
|
50
50
|
"vue-tsc": "^3.2.4",
|
|
51
51
|
"vuetify": "^3.11.8"
|
|
52
52
|
},
|
|
53
|
-
"gitHead": "
|
|
53
|
+
"gitHead": "9f16dac55d0a7af8a2cb53230e015d24e15c9d3a"
|
|
54
54
|
}
|
|
@@ -99,7 +99,7 @@ const {xs} = useDisplay()
|
|
|
99
99
|
<v-expansion-panel-title>
|
|
100
100
|
<v-chip class="mr-2" :color="hasError(index) ? 'red':'teal'">{{ index }}</v-chip>
|
|
101
101
|
{{//@ts-ignore
|
|
102
|
-
valueModel[index][Object.keys(valueModel[index] as any)[0]]
|
|
102
|
+
valueModel[index][field?.arrayObjectShowField ?? Object.keys(valueModel[index] as any)[0]]
|
|
103
103
|
}}
|
|
104
104
|
|
|
105
105
|
<template v-slot:actions="{expanded}">
|
|
@@ -163,7 +163,7 @@ const {xs} = useDisplay()
|
|
|
163
163
|
label class="pr-0" :color="indexSelected === index ? 'primary' : ''"
|
|
164
164
|
>
|
|
165
165
|
{{//@ts-ignore
|
|
166
|
-
valueModel[index][Object.keys(valueModel[index] as any)[0]] || (index)
|
|
166
|
+
valueModel[index][field?.arrayObjectShowField ?? Object.keys(valueModel[index] as any)[0]] || (index)
|
|
167
167
|
}}
|
|
168
168
|
|
|
169
169
|
<template v-slot:append>
|
|
@@ -223,7 +223,7 @@ const {xs} = useDisplay()
|
|
|
223
223
|
<v-list-item-title>
|
|
224
224
|
<v-chip class="mr-2" :color="hasError(index) ? 'red':'teal'">{{ index }}</v-chip>
|
|
225
225
|
{{//@ts-ignore
|
|
226
|
-
valueModel[index][Object.keys(valueModel[index] as any)[0]]
|
|
226
|
+
valueModel[index][field?.arrayObjectShowField ?? Object.keys(valueModel[index] as any)[0]]
|
|
227
227
|
}}
|
|
228
228
|
</v-list-item-title>
|
|
229
229
|
</v-list-item>
|