@ibiz-template/vue3-components 0.7.41-alpha.145 → 0.7.41-alpha.146
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-DrjG63wY.js → index-dil9FTAu.js} +4 -4
- package/dist/{index.es-CfZdec4G.js → index.es-BeBU-qeS.js} +1 -1
- package/dist/index.min.css +1 -1
- package/dist/index.system.min.js +1 -1
- package/dist/{wang-editor-CUGqp4Uw.js → wang-editor-CxEuSZ6j.js} +1 -1
- package/dist/{xlsx-util-C9Q58lgT.js → xlsx-util-Dm4IYjai.js} +1 -1
- package/es/util/ai-chat-util/ai-chat-util.mjs +2 -2
- package/lib/util/ai-chat-util/ai-chat-util.cjs +2 -2
- package/package.json +5 -5
- package/src/util/ai-chat-util/ai-chat-util.ts +2 -2
|
@@ -90,7 +90,7 @@ class AIChatUtil {
|
|
|
90
90
|
return result;
|
|
91
91
|
};
|
|
92
92
|
topicOptions.action = async (action, context2, params2, data2, event) => {
|
|
93
|
-
if (action === "LINK") {
|
|
93
|
+
if (action === "LINK" && data2.url) {
|
|
94
94
|
await ibiz.openView.push(data2.url);
|
|
95
95
|
}
|
|
96
96
|
return true;
|
|
@@ -716,7 +716,7 @@ class AIChatUtil {
|
|
|
716
716
|
return result;
|
|
717
717
|
};
|
|
718
718
|
topicOptions.action = async (action, context2, params2, data2, event) => {
|
|
719
|
-
if (action === "LINK") {
|
|
719
|
+
if (action === "LINK" && data2.url) {
|
|
720
720
|
await ibiz.openView.push(data2.url);
|
|
721
721
|
}
|
|
722
722
|
return true;
|
|
@@ -92,7 +92,7 @@ class AIChatUtil {
|
|
|
92
92
|
return result;
|
|
93
93
|
};
|
|
94
94
|
topicOptions.action = async (action, context2, params2, data2, event) => {
|
|
95
|
-
if (action === "LINK") {
|
|
95
|
+
if (action === "LINK" && data2.url) {
|
|
96
96
|
await ibiz.openView.push(data2.url);
|
|
97
97
|
}
|
|
98
98
|
return true;
|
|
@@ -718,7 +718,7 @@ class AIChatUtil {
|
|
|
718
718
|
return result;
|
|
719
719
|
};
|
|
720
720
|
topicOptions.action = async (action, context2, params2, data2, event) => {
|
|
721
|
-
if (action === "LINK") {
|
|
721
|
+
if (action === "LINK" && data2.url) {
|
|
722
722
|
await ibiz.openView.push(data2.url);
|
|
723
723
|
}
|
|
724
724
|
return true;
|
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.146",
|
|
4
4
|
"description": "web端组件库(vue3)",
|
|
5
5
|
"main": "lib/index.cjs",
|
|
6
6
|
"module": "es/index.mjs",
|
|
@@ -31,16 +31,16 @@
|
|
|
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.112",
|
|
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",
|
|
38
38
|
"@ibiz-template/core": "0.7.41-alpha.147",
|
|
39
39
|
"@ibiz-template/devtool": "0.0.17",
|
|
40
|
-
"@ibiz-template/model-helper": "0.7.41-alpha.
|
|
41
|
-
"@ibiz-template/runtime": "0.7.41-alpha.
|
|
40
|
+
"@ibiz-template/model-helper": "0.7.41-alpha.148",
|
|
41
|
+
"@ibiz-template/runtime": "0.7.41-alpha.148",
|
|
42
42
|
"@ibiz-template/theme": "0.7.39",
|
|
43
|
-
"@ibiz-template/vue3-util": "0.7.41-alpha.
|
|
43
|
+
"@ibiz-template/vue3-util": "0.7.41-alpha.148",
|
|
44
44
|
"@ibiz-template/web-theme": "3.16.0",
|
|
45
45
|
"@ibiz/model-core": "^0.1.89",
|
|
46
46
|
"@imengyu/vue3-context-menu": "^1.3.5",
|
|
@@ -158,7 +158,7 @@ export class AIChatUtil implements IApiAIChatUtil {
|
|
|
158
158
|
data: IData,
|
|
159
159
|
event: MouseEvent,
|
|
160
160
|
) => {
|
|
161
|
-
if (action === 'LINK') {
|
|
161
|
+
if (action === 'LINK' && data.url) {
|
|
162
162
|
await ibiz.openView.push(data.url);
|
|
163
163
|
}
|
|
164
164
|
return true;
|
|
@@ -954,7 +954,7 @@ export class AIChatUtil implements IApiAIChatUtil {
|
|
|
954
954
|
data: IData,
|
|
955
955
|
event: MouseEvent,
|
|
956
956
|
) => {
|
|
957
|
-
if (action === 'LINK') {
|
|
957
|
+
if (action === 'LINK' && data.url) {
|
|
958
958
|
await ibiz.openView.push(data.url);
|
|
959
959
|
}
|
|
960
960
|
return true;
|