@adminforth/bulk-ai-flow 1.21.2 → 1.21.4
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/build.log
CHANGED
|
@@ -13,5 +13,5 @@ custom/package-lock.json
|
|
|
13
13
|
custom/package.json
|
|
14
14
|
custom/tsconfig.json
|
|
15
15
|
|
|
16
|
-
sent 96,
|
|
17
|
-
total size is
|
|
16
|
+
sent 96,802 bytes received 172 bytes 193,948.00 bytes/sec
|
|
17
|
+
total size is 96,157 speedup is 0.99
|
package/custom/VisionAction.vue
CHANGED
|
@@ -548,7 +548,12 @@ async function saveData() {
|
|
|
548
548
|
}
|
|
549
549
|
if (!overwriteExistingValues.value) {
|
|
550
550
|
const imageURL = selected.value.find(rec => rec[primaryKey] === item[primaryKey])[key];
|
|
551
|
-
|
|
551
|
+
let originalImageUrl = ''
|
|
552
|
+
try {
|
|
553
|
+
originalImageUrl = listOfImageThatWasNotGeneratedPerRecord.value[item[primaryKey]][key].originalImage;
|
|
554
|
+
} catch (error) {
|
|
555
|
+
originalImageUrl = '';
|
|
556
|
+
}
|
|
552
557
|
if (originalImageUrl === imageURL) {
|
|
553
558
|
reqData.find(rec => rec[primaryKey] === item[primaryKey])[key] = undefined;
|
|
554
559
|
continue;
|
package/custom/VisionTable.vue
CHANGED
|
@@ -83,7 +83,7 @@
|
|
|
83
83
|
<p class="text-sm ">{{ $t('old value') }}</p>
|
|
84
84
|
</div>
|
|
85
85
|
<template #tooltip>
|
|
86
|
-
{{ oldData[tableColumnsIndexes.findIndex(el => el[primaryKey] === item[primaryKey])][n] }}
|
|
86
|
+
{{ oldData[tableColumnsIndexes.findIndex(el => el[primaryKey] === item[primaryKey])][n] ?? "No old value" }}
|
|
87
87
|
</template>
|
|
88
88
|
</Tooltip>
|
|
89
89
|
</div>
|
|
@@ -99,7 +99,7 @@
|
|
|
99
99
|
<p class="text-sm ">{{ $t('old value') }}</p>
|
|
100
100
|
</div>
|
|
101
101
|
<template #tooltip>
|
|
102
|
-
<p class="max-w-[200px]">{{ oldData[tableColumnsIndexes.findIndex(el => el[primaryKey] === item[primaryKey])][n] }}</p>
|
|
102
|
+
<p class="max-w-[200px]">{{ oldData[tableColumnsIndexes.findIndex(el => el[primaryKey] === item[primaryKey])][n] ?? "No old value" }}</p>
|
|
103
103
|
</template>
|
|
104
104
|
</Tooltip>
|
|
105
105
|
</div>
|
|
@@ -114,7 +114,7 @@
|
|
|
114
114
|
<p class="text-sm ">{{ $t('old value') }}</p>
|
|
115
115
|
</div>
|
|
116
116
|
<template #tooltip>
|
|
117
|
-
{{ oldData[tableColumnsIndexes.findIndex(el => el[primaryKey] === item[primaryKey])][n] }}
|
|
117
|
+
{{ oldData[tableColumnsIndexes.findIndex(el => el[primaryKey] === item[primaryKey])][n] ?? "No old value" }}
|
|
118
118
|
</template>
|
|
119
119
|
</Tooltip>
|
|
120
120
|
</div>
|
|
@@ -130,7 +130,7 @@
|
|
|
130
130
|
<p class="text-sm ">{{ $t('old value') }}</p>
|
|
131
131
|
</div>
|
|
132
132
|
<template #tooltip>
|
|
133
|
-
{{ oldData[tableColumnsIndexes.findIndex(el => el[primaryKey] === item[primaryKey])][n] }}
|
|
133
|
+
{{ oldData[tableColumnsIndexes.findIndex(el => el[primaryKey] === item[primaryKey])][n] ?? "No old value" }}
|
|
134
134
|
</template>
|
|
135
135
|
</Tooltip>
|
|
136
136
|
</div>
|
|
@@ -548,7 +548,12 @@ async function saveData() {
|
|
|
548
548
|
}
|
|
549
549
|
if (!overwriteExistingValues.value) {
|
|
550
550
|
const imageURL = selected.value.find(rec => rec[primaryKey] === item[primaryKey])[key];
|
|
551
|
-
|
|
551
|
+
let originalImageUrl = ''
|
|
552
|
+
try {
|
|
553
|
+
originalImageUrl = listOfImageThatWasNotGeneratedPerRecord.value[item[primaryKey]][key].originalImage;
|
|
554
|
+
} catch (error) {
|
|
555
|
+
originalImageUrl = '';
|
|
556
|
+
}
|
|
552
557
|
if (originalImageUrl === imageURL) {
|
|
553
558
|
reqData.find(rec => rec[primaryKey] === item[primaryKey])[key] = undefined;
|
|
554
559
|
continue;
|
|
@@ -83,7 +83,7 @@
|
|
|
83
83
|
<p class="text-sm ">{{ $t('old value') }}</p>
|
|
84
84
|
</div>
|
|
85
85
|
<template #tooltip>
|
|
86
|
-
{{ oldData[tableColumnsIndexes.findIndex(el => el[primaryKey] === item[primaryKey])][n] }}
|
|
86
|
+
{{ oldData[tableColumnsIndexes.findIndex(el => el[primaryKey] === item[primaryKey])][n] ?? "No old value" }}
|
|
87
87
|
</template>
|
|
88
88
|
</Tooltip>
|
|
89
89
|
</div>
|
|
@@ -99,7 +99,7 @@
|
|
|
99
99
|
<p class="text-sm ">{{ $t('old value') }}</p>
|
|
100
100
|
</div>
|
|
101
101
|
<template #tooltip>
|
|
102
|
-
<p class="max-w-[200px]">{{ oldData[tableColumnsIndexes.findIndex(el => el[primaryKey] === item[primaryKey])][n] }}</p>
|
|
102
|
+
<p class="max-w-[200px]">{{ oldData[tableColumnsIndexes.findIndex(el => el[primaryKey] === item[primaryKey])][n] ?? "No old value" }}</p>
|
|
103
103
|
</template>
|
|
104
104
|
</Tooltip>
|
|
105
105
|
</div>
|
|
@@ -114,7 +114,7 @@
|
|
|
114
114
|
<p class="text-sm ">{{ $t('old value') }}</p>
|
|
115
115
|
</div>
|
|
116
116
|
<template #tooltip>
|
|
117
|
-
{{ oldData[tableColumnsIndexes.findIndex(el => el[primaryKey] === item[primaryKey])][n] }}
|
|
117
|
+
{{ oldData[tableColumnsIndexes.findIndex(el => el[primaryKey] === item[primaryKey])][n] ?? "No old value" }}
|
|
118
118
|
</template>
|
|
119
119
|
</Tooltip>
|
|
120
120
|
</div>
|
|
@@ -130,7 +130,7 @@
|
|
|
130
130
|
<p class="text-sm ">{{ $t('old value') }}</p>
|
|
131
131
|
</div>
|
|
132
132
|
<template #tooltip>
|
|
133
|
-
{{ oldData[tableColumnsIndexes.findIndex(el => el[primaryKey] === item[primaryKey])][n] }}
|
|
133
|
+
{{ oldData[tableColumnsIndexes.findIndex(el => el[primaryKey] === item[primaryKey])][n] ?? "No old value" }}
|
|
134
134
|
</template>
|
|
135
135
|
</Tooltip>
|
|
136
136
|
</div>
|