@adminforth/bulk-ai-flow 1.14.1 → 1.14.2
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 +1 -1
- package/custom/ImageGenerationCarousel.vue +1 -1
- package/dist/custom/ImageGenerationCarousel.vue +1 -1
- package/dist/index.js +4 -4
- package/index.ts +5 -4
- package/package.json +1 -1
package/build.log
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
|
|
2
2
|
<template>
|
|
3
3
|
<!-- Main modal -->
|
|
4
|
-
<div tabindex="-1" class="[scrollbar-gutter:stable] fixed inset-0 z-
|
|
4
|
+
<div tabindex="-1" class="[scrollbar-gutter:stable] fixed inset-0 z-20 flex justify-center items-center bg-gray-800/50 dark:bg-gray-900/50 overflow-y-auto">
|
|
5
5
|
<div class="relative p-4 w-full max-w-[1600px]">
|
|
6
6
|
<!-- Modal content -->
|
|
7
7
|
<div class="relative bg-white rounded-lg shadow-xl dark:bg-gray-700">
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
|
|
2
2
|
<template>
|
|
3
3
|
<!-- Main modal -->
|
|
4
|
-
<div tabindex="-1" class="[scrollbar-gutter:stable] fixed inset-0 z-
|
|
4
|
+
<div tabindex="-1" class="[scrollbar-gutter:stable] fixed inset-0 z-20 flex justify-center items-center bg-gray-800/50 dark:bg-gray-900/50 overflow-y-auto">
|
|
5
5
|
<div class="relative p-4 w-full max-w-[1600px]">
|
|
6
6
|
<!-- Modal content -->
|
|
7
7
|
<div class="relative bg-white rounded-lg shadow-xl dark:bg-gray-700">
|
package/dist/index.js
CHANGED
|
@@ -253,9 +253,9 @@ export default class BulkAiFlowPlugin extends AdminForthPlugin {
|
|
|
253
253
|
recordResult[key] = images;
|
|
254
254
|
});
|
|
255
255
|
const result = recordResult;
|
|
256
|
-
this.totalCalls++;
|
|
257
|
-
this.totalDuration += (+new Date() - start) / 1000;
|
|
258
256
|
if (!isError) {
|
|
257
|
+
this.totalCalls++;
|
|
258
|
+
this.totalDuration += (+new Date() - start) / 1000;
|
|
259
259
|
jobs.set(jobId, { status: 'completed', result });
|
|
260
260
|
return { ok: true };
|
|
261
261
|
}
|
|
@@ -316,9 +316,9 @@ export default class BulkAiFlowPlugin extends AdminForthPlugin {
|
|
|
316
316
|
}
|
|
317
317
|
return resp.imageURLs[0];
|
|
318
318
|
})));
|
|
319
|
-
this.totalCalls++;
|
|
320
|
-
this.totalDuration += (+new Date() - start) / 1000;
|
|
321
319
|
if (!isError) {
|
|
320
|
+
this.totalCalls++;
|
|
321
|
+
this.totalDuration += (+new Date() - start) / 1000;
|
|
322
322
|
jobs.set(jobId, { status: 'completed', result: { [fieldName]: images } });
|
|
323
323
|
return { ok: true };
|
|
324
324
|
}
|
package/index.ts
CHANGED
|
@@ -257,9 +257,9 @@ export default class BulkAiFlowPlugin extends AdminForthPlugin {
|
|
|
257
257
|
|
|
258
258
|
const result = recordResult;
|
|
259
259
|
|
|
260
|
-
this.totalCalls++;
|
|
261
|
-
this.totalDuration += (+new Date() - start) / 1000;
|
|
262
260
|
if (!isError) {
|
|
261
|
+
this.totalCalls++;
|
|
262
|
+
this.totalDuration += (+new Date() - start) / 1000;
|
|
263
263
|
jobs.set(jobId, { status: 'completed', result });
|
|
264
264
|
return { ok: true }
|
|
265
265
|
} else {
|
|
@@ -319,9 +319,10 @@ export default class BulkAiFlowPlugin extends AdminForthPlugin {
|
|
|
319
319
|
return resp.imageURLs[0]
|
|
320
320
|
})
|
|
321
321
|
);
|
|
322
|
-
|
|
323
|
-
this.totalDuration += (+new Date() - start) / 1000;
|
|
322
|
+
|
|
324
323
|
if (!isError) {
|
|
324
|
+
this.totalCalls++;
|
|
325
|
+
this.totalDuration += (+new Date() - start) / 1000;
|
|
325
326
|
jobs.set(jobId, { status: 'completed', result: { [fieldName]: images } });
|
|
326
327
|
return { ok: true };
|
|
327
328
|
} else {
|