@ibiz-template/vue3-components 0.7.41-alpha.154 → 0.7.41-alpha.155
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-CR7U-PBa.js +339 -0
- package/dist/{index.es-CWquGkZQ.js → index.es-Bi7iirdS.js} +1 -1
- package/dist/index.min.css +1 -1
- package/dist/index.system.min.js +1 -1
- package/dist/{wang-editor-DoBDjJq7.js → wang-editor-JVvrMHPf.js} +1 -1
- package/dist/{xlsx-util-CQznxxzl.js → xlsx-util-DVsxoQbL.js} +1 -1
- package/es/control/calendar/index.mjs +1 -0
- package/es/control/data-view/index.mjs +1 -0
- package/es/control/drtab/index.mjs +1 -0
- package/es/control/grid/grid/index.mjs +1 -0
- package/es/control/grid/grid-column/grid-field-edit-column/index.mjs +3 -0
- package/es/control/grid/grid-column/index.mjs +3 -0
- package/es/control/grid/index.mjs +5 -0
- package/es/control/index.mjs +10 -0
- package/es/control/tree/index.mjs +1 -0
- package/es/control/tree-grid-ex/index.mjs +1 -0
- package/es/control/tree-grid-ex/tree-grid-ex-column/index.mjs +3 -0
- package/es/index.mjs +10 -0
- package/es/util/ai-chat-util/ai-chat-util.mjs +11 -2
- package/lib/control/calendar/index.cjs +4 -0
- package/lib/control/data-view/index.cjs +2 -0
- package/lib/control/drtab/index.cjs +2 -0
- package/lib/control/grid/grid/index.cjs +3 -0
- package/lib/control/grid/grid-column/grid-field-edit-column/index.cjs +6 -0
- package/lib/control/grid/grid-column/index.cjs +6 -0
- package/lib/control/grid/index.cjs +12 -0
- package/lib/control/index.cjs +31 -0
- package/lib/control/tree/index.cjs +9 -0
- package/lib/control/tree-grid-ex/index.cjs +2 -0
- package/lib/control/tree-grid-ex/tree-grid-ex-column/index.cjs +6 -0
- package/lib/index.cjs +31 -0
- package/lib/util/ai-chat-util/ai-chat-util.cjs +11 -2
- package/package.json +2 -2
- package/src/control/calendar/index.ts +2 -0
- package/src/control/data-view/index.ts +1 -0
- package/src/control/drtab/index.ts +1 -0
- package/src/control/grid/grid/index.ts +1 -0
- package/src/control/grid/grid-column/grid-field-edit-column/index.ts +4 -0
- package/src/control/grid/index.ts +1 -0
- package/src/control/tree/index.ts +2 -0
- package/src/control/tree-grid-ex/index.ts +2 -0
- package/src/control/tree-grid-ex/tree-grid-ex-column/index.ts +3 -0
- package/src/util/ai-chat-util/ai-chat-util.ts +18 -2
- package/dist/index-CCjwOWuI.js +0 -339
|
@@ -675,7 +675,7 @@ class AIChatUtil {
|
|
|
675
675
|
(options == null ? void 0 : options.context) || context,
|
|
676
676
|
(options == null ? void 0 : options.params) || params,
|
|
677
677
|
{},
|
|
678
|
-
{ enableNoAccess: true, osscat: folder }
|
|
678
|
+
{ enableNoAccess: true, osscat: (options == null ? void 0 : options.folder) || folder }
|
|
679
679
|
);
|
|
680
680
|
const headers = ibiz.util.file.getUploadHeaders();
|
|
681
681
|
const formData = new FormData();
|
|
@@ -1497,7 +1497,7 @@ class AIChatUtil {
|
|
|
1497
1497
|
(options == null ? void 0 : options.context) || context,
|
|
1498
1498
|
(options == null ? void 0 : options.params) || params,
|
|
1499
1499
|
{},
|
|
1500
|
-
{ enableNoAccess: true, osscat: folder }
|
|
1500
|
+
{ enableNoAccess: true, osscat: (options == null ? void 0 : options.folder) || folder }
|
|
1501
1501
|
);
|
|
1502
1502
|
const headers = ibiz.util.file.getUploadHeaders();
|
|
1503
1503
|
const formData = new FormData();
|
|
@@ -1981,6 +1981,15 @@ class AIChatUtil {
|
|
|
1981
1981
|
return response.data;
|
|
1982
1982
|
return void 0;
|
|
1983
1983
|
};
|
|
1984
|
+
fileSystemOptions.downloadFile = async (ctx, param, other) => {
|
|
1985
|
+
const deService = await ibiz.hub.getApp(ctx.srfappid).deService.getService(ctx, param.appDataEntityId);
|
|
1986
|
+
const response = await deService.aiChatProject(
|
|
1987
|
+
ctx,
|
|
1988
|
+
{ srfactag: param.srfactag },
|
|
1989
|
+
{ action: "DOWNLOAD", ...other }
|
|
1990
|
+
);
|
|
1991
|
+
return response.data;
|
|
1992
|
+
};
|
|
1984
1993
|
fileSystemOptions.createFolder = async (ctx, param, other) => {
|
|
1985
1994
|
const deService = await ibiz.hub.getApp(ctx.srfappid).deService.getService(ctx, param.appDataEntityId);
|
|
1986
1995
|
const response = await deService.aiChatProject(
|
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.155",
|
|
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.120",
|
|
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",
|
|
@@ -5,6 +5,8 @@ import { CalendarControl } from './calendar';
|
|
|
5
5
|
import { CalendarProvider } from './calendar.provider';
|
|
6
6
|
import IBizCustomCalendar from './components/custom-calendar';
|
|
7
7
|
|
|
8
|
+
export * from './calendar-util';
|
|
9
|
+
|
|
8
10
|
export const IBizCalendarControl = withInstall(
|
|
9
11
|
CalendarControl,
|
|
10
12
|
function (v: App) {
|
|
@@ -5,6 +5,7 @@ import { DRTabControl } from './drtab';
|
|
|
5
5
|
import { DRTabProvider } from './drtab.provider';
|
|
6
6
|
|
|
7
7
|
export * from './drtab.controller';
|
|
8
|
+
export * from './drtab-control.util';
|
|
8
9
|
|
|
9
10
|
export const IBizDRTabControl = withInstall(DRTabControl, function (v: App) {
|
|
10
11
|
v.component(DRTabControl.name, DRTabControl);
|
|
@@ -15,6 +15,7 @@ import { GridControl } from './grid';
|
|
|
15
15
|
import { GridProvider } from './grid.provider';
|
|
16
16
|
|
|
17
17
|
export * from './grid-control.util';
|
|
18
|
+
export { renderChildColumn, renderColumn, renderFieldColumn } from './grid';
|
|
18
19
|
|
|
19
20
|
export const IBizGridControl = withInstall(GridControl, (v: App) => {
|
|
20
21
|
v.component(GridControl.name, GridControl);
|
|
@@ -6,6 +6,10 @@ import { GridFieldEditColumnProvider } from './grid-field-edit-column.provider';
|
|
|
6
6
|
|
|
7
7
|
import { IBizGridEditItem } from './grid-edit-item/grid-edit-item';
|
|
8
8
|
|
|
9
|
+
export * from './cell-edit';
|
|
10
|
+
export * from './all-edit';
|
|
11
|
+
export * from './row-edit';
|
|
12
|
+
|
|
9
13
|
export const IBizGridFieldEditColumn = withInstall(
|
|
10
14
|
GridFieldEditColumn,
|
|
11
15
|
function (v: App) {
|
|
@@ -4,6 +4,8 @@ import { App } from 'vue';
|
|
|
4
4
|
import { TreeControl } from './tree';
|
|
5
5
|
import { TreeProvider } from './tree.provider';
|
|
6
6
|
|
|
7
|
+
export * from './el-tree-util';
|
|
8
|
+
|
|
7
9
|
export const IBizTreeControl = withInstall(TreeControl, function (v: App) {
|
|
8
10
|
v.component(TreeControl.name, TreeControl);
|
|
9
11
|
registerControlProvider(ControlType.TREEVIEW, () => new TreeProvider());
|
|
@@ -9,6 +9,8 @@ import {
|
|
|
9
9
|
TreeGridExEditColumn,
|
|
10
10
|
} from './tree-grid-ex-column';
|
|
11
11
|
|
|
12
|
+
export { useRowEditPopover as useTreeGridExRowEditPopover } from './use-row-edit-popover';
|
|
13
|
+
|
|
12
14
|
export const IBizTreeGridExControl = withInstall(
|
|
13
15
|
TreeGridExControl,
|
|
14
16
|
function (v: App) {
|
|
@@ -1,3 +1,6 @@
|
|
|
1
1
|
export * from './tree-grid-ex-field-column';
|
|
2
2
|
export * from './tree-grid-ex-edit-column/tree-grid-ex-edit-column';
|
|
3
3
|
export * from './tree-grid-ex-ua-column';
|
|
4
|
+
export { useAllEdit as useTreeGridExAllEdit } from './tree-grid-ex-edit-column/all-edit';
|
|
5
|
+
export { useCellEdit as useTreeGridExCellEdit } from './tree-grid-ex-edit-column/cell-edit';
|
|
6
|
+
export { useRowEdit as useTreeGridExRowEdit } from './tree-grid-ex-edit-column/row-edit';
|
|
@@ -911,7 +911,7 @@ export class AIChatUtil implements IApiAIChatUtil {
|
|
|
911
911
|
options?.context || context,
|
|
912
912
|
options?.params || params,
|
|
913
913
|
{},
|
|
914
|
-
{ enableNoAccess: true, osscat: folder },
|
|
914
|
+
{ enableNoAccess: true, osscat: options?.folder || folder },
|
|
915
915
|
);
|
|
916
916
|
const headers = ibiz.util.file.getUploadHeaders();
|
|
917
917
|
const formData = new FormData();
|
|
@@ -1943,7 +1943,7 @@ export class AIChatUtil implements IApiAIChatUtil {
|
|
|
1943
1943
|
options?.context || context,
|
|
1944
1944
|
options?.params || params,
|
|
1945
1945
|
{},
|
|
1946
|
-
{ enableNoAccess: true, osscat: folder },
|
|
1946
|
+
{ enableNoAccess: true, osscat: options?.folder || folder },
|
|
1947
1947
|
);
|
|
1948
1948
|
const headers = ibiz.util.file.getUploadHeaders();
|
|
1949
1949
|
const formData = new FormData();
|
|
@@ -2546,6 +2546,22 @@ export class AIChatUtil implements IApiAIChatUtil {
|
|
|
2546
2546
|
if (response.ok) return response.data;
|
|
2547
2547
|
return undefined;
|
|
2548
2548
|
};
|
|
2549
|
+
// 下载文件
|
|
2550
|
+
fileSystemOptions.downloadFile = async (
|
|
2551
|
+
ctx: IContext,
|
|
2552
|
+
param: IParams,
|
|
2553
|
+
other: IParams,
|
|
2554
|
+
): Promise<IData> => {
|
|
2555
|
+
const deService = await ibiz.hub
|
|
2556
|
+
.getApp(ctx.srfappid)
|
|
2557
|
+
.deService.getService(ctx, param.appDataEntityId);
|
|
2558
|
+
const response = await deService.aiChatProject(
|
|
2559
|
+
ctx,
|
|
2560
|
+
{ srfactag: param.srfactag },
|
|
2561
|
+
{ action: 'DOWNLOAD', ...other },
|
|
2562
|
+
);
|
|
2563
|
+
return response.data;
|
|
2564
|
+
};
|
|
2549
2565
|
// 新建目录
|
|
2550
2566
|
fileSystemOptions.createFolder = async (
|
|
2551
2567
|
ctx: IContext,
|