@idooel/components 0.0.2-beta.28 → 0.0.2-beta.29
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.
|
@@ -15240,8 +15240,8 @@ var script$4 = {
|
|
|
15240
15240
|
if (type.isStr(this.returnValues)) {
|
|
15241
15241
|
this.emitValue = this.emitValue.filter(item => item !== props.value);
|
|
15242
15242
|
} else if (type.isObject(this.returnValues)) {
|
|
15243
|
-
const reverseReturnValues = Object.fromEntries(Object.entries(this.returnValues).map(([key, value]) => [value, key]))
|
|
15244
|
-
const primaryKey =
|
|
15243
|
+
// const reverseReturnValues = Object.fromEntries(Object.entries(this.returnValues).map(([key, value]) => [value, key]))
|
|
15244
|
+
const primaryKey = this.replaceFields.value;
|
|
15245
15245
|
this.emitValue = this.emitValue.filter(item => item[primaryKey] !== props.value);
|
|
15246
15246
|
}
|
|
15247
15247
|
} else {
|
|
@@ -15245,8 +15245,8 @@
|
|
|
15245
15245
|
if (shared.type.isStr(this.returnValues)) {
|
|
15246
15246
|
this.emitValue = this.emitValue.filter(item => item !== props.value);
|
|
15247
15247
|
} else if (shared.type.isObject(this.returnValues)) {
|
|
15248
|
-
const reverseReturnValues = Object.fromEntries(Object.entries(this.returnValues).map(([key, value]) => [value, key]))
|
|
15249
|
-
const primaryKey =
|
|
15248
|
+
// const reverseReturnValues = Object.fromEntries(Object.entries(this.returnValues).map(([key, value]) => [value, key]))
|
|
15249
|
+
const primaryKey = this.replaceFields.value;
|
|
15250
15250
|
this.emitValue = this.emitValue.filter(item => item[primaryKey] !== props.value);
|
|
15251
15251
|
}
|
|
15252
15252
|
} else {
|
package/package.json
CHANGED
|
@@ -135,8 +135,8 @@ export default {
|
|
|
135
135
|
if (type.isStr(this.returnValues)) {
|
|
136
136
|
this.emitValue = this.emitValue.filter(item => item !== props.value)
|
|
137
137
|
} else if (type.isObject(this.returnValues)) {
|
|
138
|
-
const reverseReturnValues = Object.fromEntries(Object.entries(this.returnValues).map(([key, value]) => [value, key]))
|
|
139
|
-
const primaryKey =
|
|
138
|
+
// const reverseReturnValues = Object.fromEntries(Object.entries(this.returnValues).map(([key, value]) => [value, key]))
|
|
139
|
+
const primaryKey = this.replaceFields.value
|
|
140
140
|
this.emitValue = this.emitValue.filter(item => item[primaryKey] !== props.value)
|
|
141
141
|
}
|
|
142
142
|
} else {
|