@ibiz-template/vue3-components 0.7.41-alpha.159 → 0.7.41-alpha.160
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/dist/{index-BeC3JyMI.js → index-BnZfLxt2.js} +26 -26
- package/dist/{index.es-C7LvrFRW.js → index.es-BoiMEHwG.js} +1 -1
- package/dist/index.min.css +1 -1
- package/dist/index.system.min.js +1 -1
- package/dist/{wang-editor-Ka4vfTnr.js → wang-editor-DD1wqKXD.js} +1 -1
- package/dist/{xlsx-util-sVgVo4ng.js → xlsx-util-CBSFRY3I.js} +1 -1
- package/es/util/ai-chat-util/ai-chat-util.mjs +44 -10
- package/lib/util/ai-chat-util/ai-chat-util.cjs +44 -10
- package/package.json +2 -2
- package/src/util/ai-chat-util/ai-chat-util.ts +44 -10
|
@@ -407,6 +407,9 @@ class AIChatUtil {
|
|
|
407
407
|
if (result.usage) {
|
|
408
408
|
aiChat.updateMsgUsage(id, result.usage);
|
|
409
409
|
}
|
|
410
|
+
if (result.files) {
|
|
411
|
+
aiChat.updateMsgOutputFiles(id, result.files);
|
|
412
|
+
}
|
|
410
413
|
const choices = result.choices;
|
|
411
414
|
if (choices && choices.length > 0) {
|
|
412
415
|
aiChat.replaceMessage({
|
|
@@ -541,6 +544,9 @@ class AIChatUtil {
|
|
|
541
544
|
if (result.usage) {
|
|
542
545
|
aiChat.updateMsgUsage(id, result.usage);
|
|
543
546
|
}
|
|
547
|
+
if (result.files) {
|
|
548
|
+
aiChat.updateMsgOutputFiles(id, result.files);
|
|
549
|
+
}
|
|
544
550
|
const choices = result.choices;
|
|
545
551
|
if (choices && choices.length > 0) {
|
|
546
552
|
aiChat.replaceMessage({
|
|
@@ -686,7 +692,10 @@ class AIChatUtil {
|
|
|
686
692
|
(options == null ? void 0 : options.context) || context,
|
|
687
693
|
(options == null ? void 0 : options.params) || params,
|
|
688
694
|
{},
|
|
689
|
-
{
|
|
695
|
+
{
|
|
696
|
+
enableNoAccess: !(options == null ? void 0 : options.folder),
|
|
697
|
+
osscat: (options == null ? void 0 : options.folder) || folder
|
|
698
|
+
}
|
|
690
699
|
);
|
|
691
700
|
const headers = ibiz.util.file.getUploadHeaders();
|
|
692
701
|
const formData = new FormData();
|
|
@@ -716,7 +725,11 @@ class AIChatUtil {
|
|
|
716
725
|
(options == null ? void 0 : options.context) || context,
|
|
717
726
|
(options == null ? void 0 : options.params) || params,
|
|
718
727
|
{},
|
|
719
|
-
{
|
|
728
|
+
{
|
|
729
|
+
enableNoAccess: !(options == null ? void 0 : options.folder),
|
|
730
|
+
osscat: (options == null ? void 0 : options.folder) || folder,
|
|
731
|
+
globalDownloadPrifix
|
|
732
|
+
}
|
|
720
733
|
);
|
|
721
734
|
const url = downloadUrl.replace("%fileId%", file.fileid);
|
|
722
735
|
return url;
|
|
@@ -726,7 +739,11 @@ class AIChatUtil {
|
|
|
726
739
|
(options == null ? void 0 : options.context) || context,
|
|
727
740
|
(options == null ? void 0 : options.params) || params,
|
|
728
741
|
{},
|
|
729
|
-
{
|
|
742
|
+
{
|
|
743
|
+
enableNoAccess: !(options == null ? void 0 : options.folder),
|
|
744
|
+
osscat: (options == null ? void 0 : options.folder) || folder,
|
|
745
|
+
globalDownloadPrifix
|
|
746
|
+
}
|
|
730
747
|
);
|
|
731
748
|
const url = downloadUrl.replace("%fileId%", file.fileid);
|
|
732
749
|
await ibiz.util.file.fileDownload(
|
|
@@ -738,8 +755,8 @@ class AIChatUtil {
|
|
|
738
755
|
data: {},
|
|
739
756
|
file: { fileId: file.id, ...file },
|
|
740
757
|
extraParams: {
|
|
741
|
-
enableNoAccess:
|
|
742
|
-
osscat: folder,
|
|
758
|
+
enableNoAccess: !(options == null ? void 0 : options.folder),
|
|
759
|
+
osscat: (options == null ? void 0 : options.folder) || folder,
|
|
743
760
|
globalDownloadPrifix
|
|
744
761
|
}
|
|
745
762
|
},
|
|
@@ -1244,6 +1261,9 @@ class AIChatUtil {
|
|
|
1244
1261
|
if (result.usage) {
|
|
1245
1262
|
aiChat.updateMsgUsage(id, result.usage);
|
|
1246
1263
|
}
|
|
1264
|
+
if (result.files) {
|
|
1265
|
+
aiChat.updateMsgOutputFiles(id, result.files);
|
|
1266
|
+
}
|
|
1247
1267
|
const choices = result.choices;
|
|
1248
1268
|
if (choices && choices.length > 0) {
|
|
1249
1269
|
aiChat.replaceMessage({
|
|
@@ -1378,6 +1398,9 @@ class AIChatUtil {
|
|
|
1378
1398
|
if (result.usage) {
|
|
1379
1399
|
aiChat.updateMsgUsage(id, result.usage);
|
|
1380
1400
|
}
|
|
1401
|
+
if (result.files) {
|
|
1402
|
+
aiChat.updateMsgOutputFiles(id, result.files);
|
|
1403
|
+
}
|
|
1381
1404
|
const choices = result.choices;
|
|
1382
1405
|
if (choices && choices.length > 0) {
|
|
1383
1406
|
aiChat.replaceMessage({
|
|
@@ -1524,7 +1547,10 @@ class AIChatUtil {
|
|
|
1524
1547
|
(options == null ? void 0 : options.context) || context,
|
|
1525
1548
|
(options == null ? void 0 : options.params) || params,
|
|
1526
1549
|
{},
|
|
1527
|
-
{
|
|
1550
|
+
{
|
|
1551
|
+
enableNoAccess: !(options == null ? void 0 : options.folder),
|
|
1552
|
+
osscat: (options == null ? void 0 : options.folder) || folder
|
|
1553
|
+
}
|
|
1528
1554
|
);
|
|
1529
1555
|
const headers = ibiz.util.file.getUploadHeaders();
|
|
1530
1556
|
const formData = new FormData();
|
|
@@ -1554,7 +1580,11 @@ class AIChatUtil {
|
|
|
1554
1580
|
(options == null ? void 0 : options.context) || context,
|
|
1555
1581
|
(options == null ? void 0 : options.params) || params,
|
|
1556
1582
|
{},
|
|
1557
|
-
{
|
|
1583
|
+
{
|
|
1584
|
+
enableNoAccess: !(options == null ? void 0 : options.folder),
|
|
1585
|
+
osscat: (options == null ? void 0 : options.folder) || folder,
|
|
1586
|
+
globalDownloadPrifix
|
|
1587
|
+
}
|
|
1558
1588
|
);
|
|
1559
1589
|
const url = downloadUrl.replace("%fileId%", file.fileid);
|
|
1560
1590
|
return url;
|
|
@@ -1564,7 +1594,11 @@ class AIChatUtil {
|
|
|
1564
1594
|
(options == null ? void 0 : options.context) || context,
|
|
1565
1595
|
(options == null ? void 0 : options.params) || params,
|
|
1566
1596
|
{},
|
|
1567
|
-
{
|
|
1597
|
+
{
|
|
1598
|
+
enableNoAccess: !(options == null ? void 0 : options.folder),
|
|
1599
|
+
osscat: (options == null ? void 0 : options.folder) || folder,
|
|
1600
|
+
globalDownloadPrifix
|
|
1601
|
+
}
|
|
1568
1602
|
);
|
|
1569
1603
|
const url = downloadUrl.replace("%fileId%", file.fileid);
|
|
1570
1604
|
await ibiz.util.file.fileDownload(
|
|
@@ -1576,8 +1610,8 @@ class AIChatUtil {
|
|
|
1576
1610
|
data: {},
|
|
1577
1611
|
file: { fileId: file.id, ...file },
|
|
1578
1612
|
extraParams: {
|
|
1579
|
-
enableNoAccess:
|
|
1580
|
-
osscat: folder,
|
|
1613
|
+
enableNoAccess: !(options == null ? void 0 : options.folder),
|
|
1614
|
+
osscat: (options == null ? void 0 : options.folder) || folder,
|
|
1581
1615
|
globalDownloadPrifix
|
|
1582
1616
|
}
|
|
1583
1617
|
},
|
|
@@ -409,6 +409,9 @@ class AIChatUtil {
|
|
|
409
409
|
if (result.usage) {
|
|
410
410
|
aiChat.updateMsgUsage(id, result.usage);
|
|
411
411
|
}
|
|
412
|
+
if (result.files) {
|
|
413
|
+
aiChat.updateMsgOutputFiles(id, result.files);
|
|
414
|
+
}
|
|
412
415
|
const choices = result.choices;
|
|
413
416
|
if (choices && choices.length > 0) {
|
|
414
417
|
aiChat.replaceMessage({
|
|
@@ -543,6 +546,9 @@ class AIChatUtil {
|
|
|
543
546
|
if (result.usage) {
|
|
544
547
|
aiChat.updateMsgUsage(id, result.usage);
|
|
545
548
|
}
|
|
549
|
+
if (result.files) {
|
|
550
|
+
aiChat.updateMsgOutputFiles(id, result.files);
|
|
551
|
+
}
|
|
546
552
|
const choices = result.choices;
|
|
547
553
|
if (choices && choices.length > 0) {
|
|
548
554
|
aiChat.replaceMessage({
|
|
@@ -688,7 +694,10 @@ class AIChatUtil {
|
|
|
688
694
|
(options == null ? void 0 : options.context) || context,
|
|
689
695
|
(options == null ? void 0 : options.params) || params,
|
|
690
696
|
{},
|
|
691
|
-
{
|
|
697
|
+
{
|
|
698
|
+
enableNoAccess: !(options == null ? void 0 : options.folder),
|
|
699
|
+
osscat: (options == null ? void 0 : options.folder) || folder
|
|
700
|
+
}
|
|
692
701
|
);
|
|
693
702
|
const headers = ibiz.util.file.getUploadHeaders();
|
|
694
703
|
const formData = new FormData();
|
|
@@ -718,7 +727,11 @@ class AIChatUtil {
|
|
|
718
727
|
(options == null ? void 0 : options.context) || context,
|
|
719
728
|
(options == null ? void 0 : options.params) || params,
|
|
720
729
|
{},
|
|
721
|
-
{
|
|
730
|
+
{
|
|
731
|
+
enableNoAccess: !(options == null ? void 0 : options.folder),
|
|
732
|
+
osscat: (options == null ? void 0 : options.folder) || folder,
|
|
733
|
+
globalDownloadPrifix
|
|
734
|
+
}
|
|
722
735
|
);
|
|
723
736
|
const url = downloadUrl.replace("%fileId%", file.fileid);
|
|
724
737
|
return url;
|
|
@@ -728,7 +741,11 @@ class AIChatUtil {
|
|
|
728
741
|
(options == null ? void 0 : options.context) || context,
|
|
729
742
|
(options == null ? void 0 : options.params) || params,
|
|
730
743
|
{},
|
|
731
|
-
{
|
|
744
|
+
{
|
|
745
|
+
enableNoAccess: !(options == null ? void 0 : options.folder),
|
|
746
|
+
osscat: (options == null ? void 0 : options.folder) || folder,
|
|
747
|
+
globalDownloadPrifix
|
|
748
|
+
}
|
|
732
749
|
);
|
|
733
750
|
const url = downloadUrl.replace("%fileId%", file.fileid);
|
|
734
751
|
await ibiz.util.file.fileDownload(
|
|
@@ -740,8 +757,8 @@ class AIChatUtil {
|
|
|
740
757
|
data: {},
|
|
741
758
|
file: { fileId: file.id, ...file },
|
|
742
759
|
extraParams: {
|
|
743
|
-
enableNoAccess:
|
|
744
|
-
osscat: folder,
|
|
760
|
+
enableNoAccess: !(options == null ? void 0 : options.folder),
|
|
761
|
+
osscat: (options == null ? void 0 : options.folder) || folder,
|
|
745
762
|
globalDownloadPrifix
|
|
746
763
|
}
|
|
747
764
|
},
|
|
@@ -1246,6 +1263,9 @@ class AIChatUtil {
|
|
|
1246
1263
|
if (result.usage) {
|
|
1247
1264
|
aiChat.updateMsgUsage(id, result.usage);
|
|
1248
1265
|
}
|
|
1266
|
+
if (result.files) {
|
|
1267
|
+
aiChat.updateMsgOutputFiles(id, result.files);
|
|
1268
|
+
}
|
|
1249
1269
|
const choices = result.choices;
|
|
1250
1270
|
if (choices && choices.length > 0) {
|
|
1251
1271
|
aiChat.replaceMessage({
|
|
@@ -1380,6 +1400,9 @@ class AIChatUtil {
|
|
|
1380
1400
|
if (result.usage) {
|
|
1381
1401
|
aiChat.updateMsgUsage(id, result.usage);
|
|
1382
1402
|
}
|
|
1403
|
+
if (result.files) {
|
|
1404
|
+
aiChat.updateMsgOutputFiles(id, result.files);
|
|
1405
|
+
}
|
|
1383
1406
|
const choices = result.choices;
|
|
1384
1407
|
if (choices && choices.length > 0) {
|
|
1385
1408
|
aiChat.replaceMessage({
|
|
@@ -1526,7 +1549,10 @@ class AIChatUtil {
|
|
|
1526
1549
|
(options == null ? void 0 : options.context) || context,
|
|
1527
1550
|
(options == null ? void 0 : options.params) || params,
|
|
1528
1551
|
{},
|
|
1529
|
-
{
|
|
1552
|
+
{
|
|
1553
|
+
enableNoAccess: !(options == null ? void 0 : options.folder),
|
|
1554
|
+
osscat: (options == null ? void 0 : options.folder) || folder
|
|
1555
|
+
}
|
|
1530
1556
|
);
|
|
1531
1557
|
const headers = ibiz.util.file.getUploadHeaders();
|
|
1532
1558
|
const formData = new FormData();
|
|
@@ -1556,7 +1582,11 @@ class AIChatUtil {
|
|
|
1556
1582
|
(options == null ? void 0 : options.context) || context,
|
|
1557
1583
|
(options == null ? void 0 : options.params) || params,
|
|
1558
1584
|
{},
|
|
1559
|
-
{
|
|
1585
|
+
{
|
|
1586
|
+
enableNoAccess: !(options == null ? void 0 : options.folder),
|
|
1587
|
+
osscat: (options == null ? void 0 : options.folder) || folder,
|
|
1588
|
+
globalDownloadPrifix
|
|
1589
|
+
}
|
|
1560
1590
|
);
|
|
1561
1591
|
const url = downloadUrl.replace("%fileId%", file.fileid);
|
|
1562
1592
|
return url;
|
|
@@ -1566,7 +1596,11 @@ class AIChatUtil {
|
|
|
1566
1596
|
(options == null ? void 0 : options.context) || context,
|
|
1567
1597
|
(options == null ? void 0 : options.params) || params,
|
|
1568
1598
|
{},
|
|
1569
|
-
{
|
|
1599
|
+
{
|
|
1600
|
+
enableNoAccess: !(options == null ? void 0 : options.folder),
|
|
1601
|
+
osscat: (options == null ? void 0 : options.folder) || folder,
|
|
1602
|
+
globalDownloadPrifix
|
|
1603
|
+
}
|
|
1570
1604
|
);
|
|
1571
1605
|
const url = downloadUrl.replace("%fileId%", file.fileid);
|
|
1572
1606
|
await ibiz.util.file.fileDownload(
|
|
@@ -1578,8 +1612,8 @@ class AIChatUtil {
|
|
|
1578
1612
|
data: {},
|
|
1579
1613
|
file: { fileId: file.id, ...file },
|
|
1580
1614
|
extraParams: {
|
|
1581
|
-
enableNoAccess:
|
|
1582
|
-
osscat: folder,
|
|
1615
|
+
enableNoAccess: !(options == null ? void 0 : options.folder),
|
|
1616
|
+
osscat: (options == null ? void 0 : options.folder) || folder,
|
|
1583
1617
|
globalDownloadPrifix
|
|
1584
1618
|
}
|
|
1585
1619
|
},
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ibiz-template/vue3-components",
|
|
3
|
-
"version": "0.7.41-alpha.
|
|
3
|
+
"version": "0.7.41-alpha.160",
|
|
4
4
|
"description": "web端组件库(vue3)",
|
|
5
5
|
"main": "lib/index.cjs",
|
|
6
6
|
"module": "es/index.mjs",
|
|
@@ -31,7 +31,7 @@
|
|
|
31
31
|
"dependencies": {
|
|
32
32
|
"@amap/amap-jsapi-loader": "^1.0.1",
|
|
33
33
|
"@floating-ui/dom": "^1.5.3",
|
|
34
|
-
"@ibiz-template-plugin/ai-chat": "^0.0.
|
|
34
|
+
"@ibiz-template-plugin/ai-chat": "^0.0.126",
|
|
35
35
|
"@ibiz-template-plugin/gantt": "0.1.8-alpha.468",
|
|
36
36
|
"@ibiz-template-plugin/bi-report": "0.0.32",
|
|
37
37
|
"@ibiz-template-plugin/data-view": "0.0.8",
|
|
@@ -583,6 +583,9 @@ export class AIChatUtil implements IApiAIChatUtil {
|
|
|
583
583
|
if (result.usage) {
|
|
584
584
|
aiChat.updateMsgUsage(id, result.usage);
|
|
585
585
|
}
|
|
586
|
+
if (result.files) {
|
|
587
|
+
aiChat.updateMsgOutputFiles(id, result.files);
|
|
588
|
+
}
|
|
586
589
|
const choices = result.choices;
|
|
587
590
|
if (choices && choices.length > 0) {
|
|
588
591
|
aiChat.replaceMessage({
|
|
@@ -746,6 +749,9 @@ export class AIChatUtil implements IApiAIChatUtil {
|
|
|
746
749
|
if (result.usage) {
|
|
747
750
|
aiChat.updateMsgUsage(id, result.usage);
|
|
748
751
|
}
|
|
752
|
+
if (result.files) {
|
|
753
|
+
aiChat.updateMsgOutputFiles(id, result.files);
|
|
754
|
+
}
|
|
749
755
|
const choices = result.choices;
|
|
750
756
|
if (choices && choices.length > 0) {
|
|
751
757
|
aiChat.replaceMessage({
|
|
@@ -932,7 +938,10 @@ export class AIChatUtil implements IApiAIChatUtil {
|
|
|
932
938
|
options?.context || context,
|
|
933
939
|
options?.params || params,
|
|
934
940
|
{},
|
|
935
|
-
{
|
|
941
|
+
{
|
|
942
|
+
enableNoAccess: !options?.folder,
|
|
943
|
+
osscat: options?.folder || folder,
|
|
944
|
+
},
|
|
936
945
|
);
|
|
937
946
|
const headers = ibiz.util.file.getUploadHeaders();
|
|
938
947
|
const formData = new FormData();
|
|
@@ -961,7 +970,11 @@ export class AIChatUtil implements IApiAIChatUtil {
|
|
|
961
970
|
options?.context || context,
|
|
962
971
|
options?.params || params,
|
|
963
972
|
{},
|
|
964
|
-
{
|
|
973
|
+
{
|
|
974
|
+
enableNoAccess: !options?.folder,
|
|
975
|
+
osscat: options?.folder || folder,
|
|
976
|
+
globalDownloadPrifix,
|
|
977
|
+
},
|
|
965
978
|
);
|
|
966
979
|
const url = downloadUrl.replace('%fileId%', file.fileid);
|
|
967
980
|
return url;
|
|
@@ -971,7 +984,11 @@ export class AIChatUtil implements IApiAIChatUtil {
|
|
|
971
984
|
options?.context || context,
|
|
972
985
|
options?.params || params,
|
|
973
986
|
{},
|
|
974
|
-
{
|
|
987
|
+
{
|
|
988
|
+
enableNoAccess: !options?.folder,
|
|
989
|
+
osscat: options?.folder || folder,
|
|
990
|
+
globalDownloadPrifix,
|
|
991
|
+
},
|
|
975
992
|
);
|
|
976
993
|
const url = downloadUrl.replace('%fileId%', file.fileid);
|
|
977
994
|
await ibiz.util.file.fileDownload(
|
|
@@ -983,8 +1000,8 @@ export class AIChatUtil implements IApiAIChatUtil {
|
|
|
983
1000
|
data: {},
|
|
984
1001
|
file: { fileId: file.id, ...file },
|
|
985
1002
|
extraParams: {
|
|
986
|
-
enableNoAccess:
|
|
987
|
-
osscat: folder,
|
|
1003
|
+
enableNoAccess: !options?.folder,
|
|
1004
|
+
osscat: options?.folder || folder,
|
|
988
1005
|
globalDownloadPrifix,
|
|
989
1006
|
},
|
|
990
1007
|
},
|
|
@@ -1638,6 +1655,9 @@ export class AIChatUtil implements IApiAIChatUtil {
|
|
|
1638
1655
|
if (result.usage) {
|
|
1639
1656
|
aiChat.updateMsgUsage(id, result.usage);
|
|
1640
1657
|
}
|
|
1658
|
+
if (result.files) {
|
|
1659
|
+
aiChat.updateMsgOutputFiles(id, result.files);
|
|
1660
|
+
}
|
|
1641
1661
|
const choices = result.choices;
|
|
1642
1662
|
if (choices && choices.length > 0) {
|
|
1643
1663
|
aiChat.replaceMessage({
|
|
@@ -1801,6 +1821,9 @@ export class AIChatUtil implements IApiAIChatUtil {
|
|
|
1801
1821
|
if (result.usage) {
|
|
1802
1822
|
aiChat.updateMsgUsage(id, result.usage);
|
|
1803
1823
|
}
|
|
1824
|
+
if (result.files) {
|
|
1825
|
+
aiChat.updateMsgOutputFiles(id, result.files);
|
|
1826
|
+
}
|
|
1804
1827
|
const choices = result.choices;
|
|
1805
1828
|
if (choices && choices.length > 0) {
|
|
1806
1829
|
aiChat.replaceMessage({
|
|
@@ -1988,7 +2011,10 @@ export class AIChatUtil implements IApiAIChatUtil {
|
|
|
1988
2011
|
options?.context || context,
|
|
1989
2012
|
options?.params || params,
|
|
1990
2013
|
{},
|
|
1991
|
-
{
|
|
2014
|
+
{
|
|
2015
|
+
enableNoAccess: !options?.folder,
|
|
2016
|
+
osscat: options?.folder || folder,
|
|
2017
|
+
},
|
|
1992
2018
|
);
|
|
1993
2019
|
const headers = ibiz.util.file.getUploadHeaders();
|
|
1994
2020
|
const formData = new FormData();
|
|
@@ -2017,7 +2043,11 @@ export class AIChatUtil implements IApiAIChatUtil {
|
|
|
2017
2043
|
options?.context || context,
|
|
2018
2044
|
options?.params || params,
|
|
2019
2045
|
{},
|
|
2020
|
-
{
|
|
2046
|
+
{
|
|
2047
|
+
enableNoAccess: !options?.folder,
|
|
2048
|
+
osscat: options?.folder || folder,
|
|
2049
|
+
globalDownloadPrifix,
|
|
2050
|
+
},
|
|
2021
2051
|
);
|
|
2022
2052
|
const url = downloadUrl.replace('%fileId%', file.fileid);
|
|
2023
2053
|
return url;
|
|
@@ -2027,7 +2057,11 @@ export class AIChatUtil implements IApiAIChatUtil {
|
|
|
2027
2057
|
options?.context || context,
|
|
2028
2058
|
options?.params || params,
|
|
2029
2059
|
{},
|
|
2030
|
-
{
|
|
2060
|
+
{
|
|
2061
|
+
enableNoAccess: !options?.folder,
|
|
2062
|
+
osscat: options?.folder || folder,
|
|
2063
|
+
globalDownloadPrifix,
|
|
2064
|
+
},
|
|
2031
2065
|
);
|
|
2032
2066
|
const url = downloadUrl.replace('%fileId%', file.fileid);
|
|
2033
2067
|
await ibiz.util.file.fileDownload(
|
|
@@ -2039,8 +2073,8 @@ export class AIChatUtil implements IApiAIChatUtil {
|
|
|
2039
2073
|
data: {},
|
|
2040
2074
|
file: { fileId: file.id, ...file },
|
|
2041
2075
|
extraParams: {
|
|
2042
|
-
enableNoAccess:
|
|
2043
|
-
osscat: folder,
|
|
2076
|
+
enableNoAccess: !options?.folder,
|
|
2077
|
+
osscat: options?.folder || folder,
|
|
2044
2078
|
globalDownloadPrifix,
|
|
2045
2079
|
},
|
|
2046
2080
|
},
|