@adminforth/bulk-ai-flow 1.18.1 → 1.18.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/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 92,827 bytes received 172 bytes 185,998.00 bytes/sec
17
- total size is 92,182 speedup is 0.99
16
+ sent 92,979 bytes received 172 bytes 186,302.00 bytes/sec
17
+ total size is 92,343 speedup is 0.99
@@ -286,6 +286,11 @@ const closeDialog = () => {
286
286
  isAiResponseReceivedAnalizeNoImage.value = [];
287
287
  isAiResponseReceivedImage.value = [];
288
288
 
289
+ imageToTextErrorMessages.value = [];
290
+ textToTextErrorMessages.value = [];
291
+ imageGenerationErrorMessage.value = [];
292
+ regeneratingFieldsStatus.value = {};
293
+
289
294
  records.value = [];
290
295
  images.value = [];
291
296
  selected.value = [];
@@ -340,7 +340,7 @@ function regerenerateFieldIconClick(item, name) {
340
340
 
341
341
  function shouldDisableRegenerateFieldIcon(item, name) {
342
342
  if (props.outputFieldsForAnalizeFromImages.findIndex( el => el === name) !== -1 &&
343
- props.imageToTextErrorMessages[props.tableColumnsIndexes.findIndex(el => el[props.primaryKey] === item[props.primaryKey])][name] === 'No source images found') {
343
+ props.imageToTextErrorMessages[props.tableColumnsIndexes.findIndex(el => el[props.primaryKey] === item[props.primaryKey])]?.[name] === 'No source images found') {
344
344
  return true;
345
345
  }
346
346
  return false;
@@ -286,6 +286,11 @@ const closeDialog = () => {
286
286
  isAiResponseReceivedAnalizeNoImage.value = [];
287
287
  isAiResponseReceivedImage.value = [];
288
288
 
289
+ imageToTextErrorMessages.value = [];
290
+ textToTextErrorMessages.value = [];
291
+ imageGenerationErrorMessage.value = [];
292
+ regeneratingFieldsStatus.value = {};
293
+
289
294
  records.value = [];
290
295
  images.value = [];
291
296
  selected.value = [];
@@ -340,7 +340,7 @@ function regerenerateFieldIconClick(item, name) {
340
340
 
341
341
  function shouldDisableRegenerateFieldIcon(item, name) {
342
342
  if (props.outputFieldsForAnalizeFromImages.findIndex( el => el === name) !== -1 &&
343
- props.imageToTextErrorMessages[props.tableColumnsIndexes.findIndex(el => el[props.primaryKey] === item[props.primaryKey])][name] === 'No source images found') {
343
+ props.imageToTextErrorMessages[props.tableColumnsIndexes.findIndex(el => el[props.primaryKey] === item[props.primaryKey])]?.[name] === 'No source images found') {
344
344
  return true;
345
345
  }
346
346
  return false;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@adminforth/bulk-ai-flow",
3
- "version": "1.18.1",
3
+ "version": "1.18.3",
4
4
  "publishConfig": {
5
5
  "access": "public"
6
6
  },