@ibiz-template/vue3-components 0.7.41-alpha.34 → 0.7.41-alpha.35

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.
@@ -4,10 +4,11 @@ function calcAiToolbarItemsByAc(deACMode) {
4
4
  const contentToolbarItems = [];
5
5
  const footerToolbarItems = [];
6
6
  const questionToolbarItems = [];
7
+ const functionToolbarItems = [];
7
8
  const otherToolbarItems = [];
8
9
  (_b = (_a = deACMode.deuiactionGroup) == null ? void 0 : _a.uiactionGroupDetails) == null ? void 0 : _b.forEach(
9
10
  (item) => {
10
- var _a2, _b2, _c, _d, _e;
11
+ var _a2, _b2, _c, _d, _e, _f;
11
12
  const toolbarItem = {
12
13
  appId: item.appId,
13
14
  id: item.uiactionId,
@@ -28,6 +29,8 @@ function calcAiToolbarItemsByAc(deACMode) {
28
29
  footerToolbarItems.push(toolbarItem);
29
30
  } else if ((_e = item.uiactionId) == null ? void 0 : _e.startsWith("question_")) {
30
31
  questionToolbarItems.push(toolbarItem);
32
+ } else if ((_f = item.uiactionId) == null ? void 0 : _f.startsWith("function_")) {
33
+ functionToolbarItems.push(toolbarItem);
31
34
  } else {
32
35
  otherToolbarItems.push(toolbarItem);
33
36
  }
@@ -37,7 +40,8 @@ function calcAiToolbarItemsByAc(deACMode) {
37
40
  contentToolbarItems,
38
41
  footerToolbarItems,
39
42
  questionToolbarItems,
40
- otherToolbarItems
43
+ otherToolbarItems,
44
+ functionToolbarItems
41
45
  };
42
46
  }
43
47
 
@@ -6,10 +6,11 @@ function calcAiToolbarItemsByAc(deACMode) {
6
6
  const contentToolbarItems = [];
7
7
  const footerToolbarItems = [];
8
8
  const questionToolbarItems = [];
9
+ const functionToolbarItems = [];
9
10
  const otherToolbarItems = [];
10
11
  (_b = (_a = deACMode.deuiactionGroup) == null ? void 0 : _a.uiactionGroupDetails) == null ? void 0 : _b.forEach(
11
12
  (item) => {
12
- var _a2, _b2, _c, _d, _e;
13
+ var _a2, _b2, _c, _d, _e, _f;
13
14
  const toolbarItem = {
14
15
  appId: item.appId,
15
16
  id: item.uiactionId,
@@ -30,6 +31,8 @@ function calcAiToolbarItemsByAc(deACMode) {
30
31
  footerToolbarItems.push(toolbarItem);
31
32
  } else if ((_e = item.uiactionId) == null ? void 0 : _e.startsWith("question_")) {
32
33
  questionToolbarItems.push(toolbarItem);
34
+ } else if ((_f = item.uiactionId) == null ? void 0 : _f.startsWith("function_")) {
35
+ functionToolbarItems.push(toolbarItem);
33
36
  } else {
34
37
  otherToolbarItems.push(toolbarItem);
35
38
  }
@@ -39,7 +42,8 @@ function calcAiToolbarItemsByAc(deACMode) {
39
42
  contentToolbarItems,
40
43
  footerToolbarItems,
41
44
  questionToolbarItems,
42
- otherToolbarItems
45
+ otherToolbarItems,
46
+ functionToolbarItems
43
47
  };
44
48
  }
45
49
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ibiz-template/vue3-components",
3
- "version": "0.7.41-alpha.34",
3
+ "version": "0.7.41-alpha.35",
4
4
  "description": "web端组件库(vue3)",
5
5
  "main": "lib/index.cjs",
6
6
  "module": "es/index.mjs",