@winchsa/ui 0.1.30 → 0.1.31
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.
|
@@ -81,9 +81,10 @@ const moduleIdentifier = computed(() => props.module ?? "rows");
|
|
|
81
81
|
:key="`row.${index}.${header.key}`"
|
|
82
82
|
class="px-2 d-flex align-center justify-center h-100 app-border-silver"
|
|
83
83
|
>
|
|
84
|
-
{{ item
|
|
84
|
+
{{ item[header.key] }}
|
|
85
85
|
</span>
|
|
86
86
|
|
|
87
|
+
<!-- eslint-disable vue/no-mutating-props -->
|
|
87
88
|
<template v-if="header?.fields && header?.fields?.length > 0">
|
|
88
89
|
<div
|
|
89
90
|
style="display: grid; grid-template-columns: 1fr 1fr;"
|
|
@@ -94,7 +95,7 @@ const moduleIdentifier = computed(() => props.module ?? "rows");
|
|
|
94
95
|
>
|
|
95
96
|
<template v-for="(field) in header.fields" :key="`row.${index}.${field.key}`">
|
|
96
97
|
<EditableDataTableRow
|
|
97
|
-
v-model="
|
|
98
|
+
v-model="items[index]"
|
|
98
99
|
:header="field"
|
|
99
100
|
:index="index"
|
|
100
101
|
:module-identifier="moduleIdentifier"
|
|
@@ -108,7 +109,7 @@ const moduleIdentifier = computed(() => props.module ?? "rows");
|
|
|
108
109
|
<template v-else>
|
|
109
110
|
<EditableDataTableRow
|
|
110
111
|
:key="`row.${index}.${header.key}.row2`"
|
|
111
|
-
v-model="
|
|
112
|
+
v-model="items[index]"
|
|
112
113
|
:header="header"
|
|
113
114
|
:index="index"
|
|
114
115
|
:module-identifier="moduleIdentifier"
|
|
@@ -116,6 +117,7 @@ const moduleIdentifier = computed(() => props.module ?? "rows");
|
|
|
116
117
|
:errors="errors"
|
|
117
118
|
/>
|
|
118
119
|
</template>
|
|
120
|
+
<!-- eslint-enable vue/no-mutating-props -->
|
|
119
121
|
</template>
|
|
120
122
|
|
|
121
123
|
<template v-for="(_, name) in $slots" #[name]="slotProps">
|