@adminforth/bulk-ai-flow 1.10.1 → 1.10.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
@@ -11,5 +11,5 @@ custom/package-lock.json
11
11
  custom/package.json
12
12
  custom/tsconfig.json
13
13
 
14
- sent 186,437 bytes received 134 bytes 373,142.00 bytes/sec
15
- total size is 185,911 speedup is 1.00
14
+ sent 186,651 bytes received 134 bytes 373,570.00 bytes/sec
15
+ total size is 186,118 speedup is 1.00
@@ -11,8 +11,8 @@
11
11
  class="!max-w-full w-full lg:w-[1600px] !lg:max-w-[1600px]"
12
12
  :beforeCloseFunction="closeDialog"
13
13
  :buttons="[
14
- { label: checkedCount > 1 ? 'Save fields' : 'Save field', options: { disabled: isLoading || checkedCount < 1 || isCriticalError || isFetchingRecords || isGeneratingImages || isAnalizingFields || isAnalizingImages, loader: isLoading, class: 'w-fit sm:w-40' }, onclick: (dialog) => { saveData(); dialog.hide(); } },
15
- { label: 'Cancel', onclick: (dialog) => dialog.hide() },
14
+ { label: checkedCount > 1 ? 'Save fields' : 'Save field', options: { disabled: isLoading || checkedCount < 1 || isCriticalError || isFetchingRecords || isGeneratingImages || isAnalizingFields || isAnalizingImages, loader: isLoading, class: 'w-fit' }, onclick: async (dialog) => { await saveData(); dialog.hide(); } },
15
+ { label: 'Cancel', options: {class: 'bg-white hover:!bg-gray-100 !text-gray-900 hover:!text-gray-800 dark:!bg-gray-800 dark:!text-gray-100 dark:hover:!bg-gray-700 !border-gray-200'}, onclick: (dialog) => dialog.hide() },
16
16
  ]"
17
17
  >
18
18
  <div class="bulk-vision-table flex flex-col items-center max-w-[1560px] md:max-h-[90vh] gap-3 md:gap-4 w-full h-full overflow-y-auto">
@@ -549,6 +549,7 @@ async function runAiAction({
549
549
  if (index !== -1) {
550
550
  jobsIds.splice(jobsIds.findIndex(j => j.jobId === jobId), 1);
551
551
  }
552
+ isAtLeastOneInProgress = true;
552
553
  adminforth.alert({
553
554
  message: `Generation action "${actionType.replace('_', ' ')}" failed for record: ${recordId}. Error: ${jobResponse.job?.error || 'Unknown error'}`,
554
555
  variant: 'danger',
@@ -11,8 +11,8 @@
11
11
  class="!max-w-full w-full lg:w-[1600px] !lg:max-w-[1600px]"
12
12
  :beforeCloseFunction="closeDialog"
13
13
  :buttons="[
14
- { label: checkedCount > 1 ? 'Save fields' : 'Save field', options: { disabled: isLoading || checkedCount < 1 || isCriticalError || isFetchingRecords || isGeneratingImages || isAnalizingFields || isAnalizingImages, loader: isLoading, class: 'w-fit sm:w-40' }, onclick: (dialog) => { saveData(); dialog.hide(); } },
15
- { label: 'Cancel', onclick: (dialog) => dialog.hide() },
14
+ { label: checkedCount > 1 ? 'Save fields' : 'Save field', options: { disabled: isLoading || checkedCount < 1 || isCriticalError || isFetchingRecords || isGeneratingImages || isAnalizingFields || isAnalizingImages, loader: isLoading, class: 'w-fit' }, onclick: async (dialog) => { await saveData(); dialog.hide(); } },
15
+ { label: 'Cancel', options: {class: 'bg-white hover:!bg-gray-100 !text-gray-900 hover:!text-gray-800 dark:!bg-gray-800 dark:!text-gray-100 dark:hover:!bg-gray-700 !border-gray-200'}, onclick: (dialog) => dialog.hide() },
16
16
  ]"
17
17
  >
18
18
  <div class="bulk-vision-table flex flex-col items-center max-w-[1560px] md:max-h-[90vh] gap-3 md:gap-4 w-full h-full overflow-y-auto">
@@ -549,6 +549,7 @@ async function runAiAction({
549
549
  if (index !== -1) {
550
550
  jobsIds.splice(jobsIds.findIndex(j => j.jobId === jobId), 1);
551
551
  }
552
+ isAtLeastOneInProgress = true;
552
553
  adminforth.alert({
553
554
  message: `Generation action "${actionType.replace('_', ' ')}" failed for record: ${recordId}. Error: ${jobResponse.job?.error || 'Unknown error'}`,
554
555
  variant: 'danger',
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@adminforth/bulk-ai-flow",
3
- "version": "1.10.1",
3
+ "version": "1.10.3",
4
4
  "publishConfig": {
5
5
  "access": "public"
6
6
  },