@adminforth/bulk-ai-flow 1.15.2 → 1.15.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 80,944 bytes received 172 bytes 162,232.00 bytes/sec
17
- total size is 80,312 speedup is 0.99
16
+ sent 80,878 bytes received 172 bytes 162,100.00 bytes/sec
17
+ total size is 80,246 speedup is 0.99
@@ -181,6 +181,11 @@ const popupMode = ref<'generation' | 'confirmation' | 'settings'>('confirmation'
181
181
  const generationPrompts = ref<any>({});
182
182
 
183
183
  const openDialog = async () => {
184
+ if (props.meta.askConfirmationBeforeGenerating) {
185
+ popupMode.value = 'confirmation';
186
+ } else {
187
+ popupMode.value = 'generation';
188
+ }
184
189
  isDialogOpen.value = true;
185
190
  confirmDialog.value.open();
186
191
  isFetchingRecords.value = true;
@@ -1,17 +1,14 @@
1
1
  {
2
2
  "compilerOptions": {
3
- "baseUrl": ".", // This should point to your project root
3
+ "baseUrl": ".",
4
4
  "paths": {
5
5
  "@/*": [
6
- // "node_modules/adminforth/dist/spa/src/*"
7
6
  "../../../adminforth/spa/src/*"
8
7
  ],
9
8
  "*": [
10
- // "node_modules/adminforth/dist/spa/node_modules/*"
11
9
  "../../../adminforth/spa/node_modules/*"
12
10
  ],
13
11
  "@@/*": [
14
- // "node_modules/adminforth/dist/spa/src/*"
15
12
  "."
16
13
  ]
17
14
  }
@@ -181,6 +181,11 @@ const popupMode = ref<'generation' | 'confirmation' | 'settings'>('confirmation'
181
181
  const generationPrompts = ref<any>({});
182
182
 
183
183
  const openDialog = async () => {
184
+ if (props.meta.askConfirmationBeforeGenerating) {
185
+ popupMode.value = 'confirmation';
186
+ } else {
187
+ popupMode.value = 'generation';
188
+ }
184
189
  isDialogOpen.value = true;
185
190
  confirmDialog.value.open();
186
191
  isFetchingRecords.value = true;
@@ -1,17 +1,14 @@
1
1
  {
2
2
  "compilerOptions": {
3
- "baseUrl": ".", // This should point to your project root
3
+ "baseUrl": ".",
4
4
  "paths": {
5
5
  "@/*": [
6
- // "node_modules/adminforth/dist/spa/src/*"
7
6
  "../../../adminforth/spa/src/*"
8
7
  ],
9
8
  "*": [
10
- // "node_modules/adminforth/dist/spa/node_modules/*"
11
9
  "../../../adminforth/spa/node_modules/*"
12
10
  ],
13
11
  "@@/*": [
14
- // "node_modules/adminforth/dist/spa/src/*"
15
12
  "."
16
13
  ]
17
14
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@adminforth/bulk-ai-flow",
3
- "version": "1.15.2",
3
+ "version": "1.15.4",
4
4
  "publishConfig": {
5
5
  "access": "public"
6
6
  },