@next-bricks/ai-portal 0.53.0 → 0.54.0

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.
Files changed (40) hide show
  1. package/dist/bricks.json +32 -31
  2. package/dist/chunks/1889.b7766f77.js +2 -0
  3. package/dist/chunks/1889.b7766f77.js.map +1 -0
  4. package/dist/chunks/6201.610c66e3.js +2 -0
  5. package/dist/chunks/6201.610c66e3.js.map +1 -0
  6. package/dist/chunks/7713.278cfb8b.js +2 -0
  7. package/dist/chunks/7713.278cfb8b.js.map +1 -0
  8. package/dist/chunks/chat-box.279647b5.js +2 -0
  9. package/dist/chunks/chat-box.279647b5.js.map +1 -0
  10. package/dist/chunks/main.72d51c8f.js +2 -0
  11. package/dist/chunks/{main.2188a2bf.js.map → main.72d51c8f.js.map} +1 -1
  12. package/dist/chunks/set-chat-command.367b9c88.js +2 -0
  13. package/dist/chunks/set-chat-command.367b9c88.js.map +1 -0
  14. package/dist/chunks/stage-flow.1ece0479.js +2 -0
  15. package/dist/chunks/stage-flow.1ece0479.js.map +1 -0
  16. package/dist/examples.json +19 -19
  17. package/dist/index.6e1371ec.js +2 -0
  18. package/dist/index.6e1371ec.js.map +1 -0
  19. package/dist/manifest.json +241 -238
  20. package/dist/types.json +1075 -659
  21. package/dist-types/bootstrap.d.ts +1 -0
  22. package/dist-types/chat-box/index.d.ts +3 -1
  23. package/dist-types/data-providers/set-chat-command.d.ts +7 -0
  24. package/dist-types/data-providers/set-chat-command.spec.d.ts +1 -0
  25. package/dist-types/shared/interfaces.d.ts +9 -0
  26. package/dist-types/stage-flow/i18n.d.ts +3 -1
  27. package/package.json +2 -2
  28. package/dist/chunks/1889.0cd5c088.js +0 -2
  29. package/dist/chunks/1889.0cd5c088.js.map +0 -1
  30. package/dist/chunks/2893.c26f0be9.js +0 -2
  31. package/dist/chunks/2893.c26f0be9.js.map +0 -1
  32. package/dist/chunks/6201.58eeb93e.js +0 -2
  33. package/dist/chunks/6201.58eeb93e.js.map +0 -1
  34. package/dist/chunks/chat-box.59ab1b62.js +0 -2
  35. package/dist/chunks/chat-box.59ab1b62.js.map +0 -1
  36. package/dist/chunks/main.2188a2bf.js +0 -2
  37. package/dist/chunks/stage-flow.7cfa123d.js +0 -2
  38. package/dist/chunks/stage-flow.7cfa123d.js.map +0 -1
  39. package/dist/index.7d776211.js +0 -2
  40. package/dist/index.7d776211.js.map +0 -1
@@ -3,6 +3,150 @@
3
3
  "package": "@next-bricks/ai-portal",
4
4
  "name": "ai-portal",
5
5
  "bricks": [
6
+ {
7
+ "name": "ai-portal.home-container",
8
+ "properties": [
9
+ {
10
+ "name": "sticky",
11
+ "type": "boolean"
12
+ }
13
+ ],
14
+ "events": [],
15
+ "slots": [],
16
+ "methods": [],
17
+ "parts": [],
18
+ "description": "构件 `ai-portal.home-container`"
19
+ },
20
+ {
21
+ "name": "ai-portal.chat-box",
22
+ "properties": [
23
+ {
24
+ "name": "disabled",
25
+ "type": "boolean"
26
+ },
27
+ {
28
+ "name": "placeholder",
29
+ "type": "string"
30
+ },
31
+ {
32
+ "name": "autoFocus",
33
+ "type": "boolean"
34
+ },
35
+ {
36
+ "name": "aiEmployees",
37
+ "attribute": false,
38
+ "type": "AIEmployee[]"
39
+ },
40
+ {
41
+ "name": "commands",
42
+ "attribute": false,
43
+ "type": "Command[]"
44
+ }
45
+ ],
46
+ "events": [
47
+ {
48
+ "name": "message.submit",
49
+ "detail": {
50
+ "type": "string"
51
+ }
52
+ },
53
+ {
54
+ "name": "ai-employee.mention",
55
+ "detail": {
56
+ "type": "AIEmployee | null"
57
+ }
58
+ },
59
+ {
60
+ "name": "command.select",
61
+ "detail": {
62
+ "type": "CommandPayload | null"
63
+ }
64
+ }
65
+ ],
66
+ "slots": [],
67
+ "methods": [
68
+ {
69
+ "name": "setValue",
70
+ "params": [
71
+ {
72
+ "name": "value",
73
+ "type": "string"
74
+ }
75
+ ]
76
+ },
77
+ {
78
+ "name": "getValue",
79
+ "params": []
80
+ },
81
+ {
82
+ "name": "focusOnInput",
83
+ "params": []
84
+ }
85
+ ],
86
+ "parts": [],
87
+ "description": "构件 `ai-portal.chat-box`"
88
+ },
89
+ {
90
+ "name": "ai-portal.stat-with-mini-chart",
91
+ "properties": [
92
+ {
93
+ "name": "label",
94
+ "type": "string"
95
+ },
96
+ {
97
+ "name": "value",
98
+ "type": "string"
99
+ },
100
+ {
101
+ "name": "size",
102
+ "description": "",
103
+ "default": "\"medium\"",
104
+ "type": "\"medium\" | \"small\""
105
+ },
106
+ {
107
+ "name": "lineColor",
108
+ "description": "",
109
+ "default": "\"var(--color-brand)\"",
110
+ "type": "string"
111
+ },
112
+ {
113
+ "name": "showArea",
114
+ "type": "boolean"
115
+ },
116
+ {
117
+ "name": "min",
118
+ "description": "Specify the minimum value of the y-axis.\nIf not specified, the minimum value will be calculated from the data.",
119
+ "type": "number"
120
+ },
121
+ {
122
+ "name": "max",
123
+ "description": "Specify the maximum value of the y-axis.\nIf not specified, the maximum value will be calculated from the data.",
124
+ "type": "number"
125
+ },
126
+ {
127
+ "name": "xField",
128
+ "description": "",
129
+ "default": "\"0\"",
130
+ "type": "string"
131
+ },
132
+ {
133
+ "name": "yField",
134
+ "description": "",
135
+ "default": "\"1\"",
136
+ "type": "string"
137
+ },
138
+ {
139
+ "name": "data",
140
+ "attribute": false,
141
+ "type": "Record<string, number>[]"
142
+ }
143
+ ],
144
+ "events": [],
145
+ "slots": [],
146
+ "methods": [],
147
+ "parts": [],
148
+ "description": "构件 `ai-portal.stat-with-mini-chart`"
149
+ },
6
150
  {
7
151
  "name": "ai-portal.cruise-canvas",
8
152
  "properties": [
@@ -319,75 +463,6 @@
319
463
  "parts": [],
320
464
  "description": "构件 `ai-portal.icon-button`"
321
465
  },
322
- {
323
- "name": "ai-portal.chat-box",
324
- "properties": [
325
- {
326
- "name": "disabled",
327
- "type": "boolean"
328
- },
329
- {
330
- "name": "placeholder",
331
- "type": "string"
332
- },
333
- {
334
- "name": "autoFocus",
335
- "type": "boolean"
336
- },
337
- {
338
- "name": "aiEmployees",
339
- "attribute": false,
340
- "type": "AIEmployee[]"
341
- },
342
- {
343
- "name": "commands",
344
- "attribute": false,
345
- "type": "Command[]"
346
- }
347
- ],
348
- "events": [
349
- {
350
- "name": "message.submit",
351
- "detail": {
352
- "type": "string"
353
- }
354
- },
355
- {
356
- "name": "ai-employee.mention",
357
- "detail": {
358
- "type": "AIEmployee | null"
359
- }
360
- },
361
- {
362
- "name": "command.select",
363
- "detail": {
364
- "type": "string | null"
365
- }
366
- }
367
- ],
368
- "slots": [],
369
- "methods": [
370
- {
371
- "name": "setValue",
372
- "params": [
373
- {
374
- "name": "value",
375
- "type": "string"
376
- }
377
- ]
378
- },
379
- {
380
- "name": "getValue",
381
- "params": []
382
- },
383
- {
384
- "name": "focusOnInput",
385
- "params": []
386
- }
387
- ],
388
- "parts": [],
389
- "description": "构件 `ai-portal.chat-box`"
390
- },
391
466
  {
392
467
  "name": "ai-portal.show-cases",
393
468
  "properties": [
@@ -593,20 +668,6 @@
593
668
  "parts": [],
594
669
  "description": "构件 `ai-portal.chat-stream`"
595
670
  },
596
- {
597
- "name": "ai-portal.home-container",
598
- "properties": [
599
- {
600
- "name": "sticky",
601
- "type": "boolean"
602
- }
603
- ],
604
- "events": [],
605
- "slots": [],
606
- "methods": [],
607
- "parts": [],
608
- "description": "构件 `ai-portal.home-container`"
609
- },
610
671
  {
611
672
  "name": "ai-portal.ai-agents",
612
673
  "properties": [
@@ -714,65 +775,49 @@
714
775
  "description": "构件 `ai-portal.tab-list`"
715
776
  },
716
777
  {
717
- "name": "ai-portal.stat-with-mini-chart",
778
+ "name": "ai-portal.preview-container",
718
779
  "properties": [
719
780
  {
720
- "name": "label",
721
- "type": "string"
722
- },
723
- {
724
- "name": "value",
781
+ "name": "source",
782
+ "attribute": false,
725
783
  "type": "string"
726
784
  },
727
785
  {
728
- "name": "size",
729
- "description": "",
730
- "default": "\"medium\"",
731
- "type": "\"medium\" | \"small\""
732
- },
733
- {
734
- "name": "lineColor",
735
- "description": "",
736
- "default": "\"var(--color-brand)\"",
786
+ "name": "url",
737
787
  "type": "string"
738
- },
739
- {
740
- "name": "showArea",
741
- "type": "boolean"
742
- },
743
- {
744
- "name": "min",
745
- "description": "Specify the minimum value of the y-axis.\nIf not specified, the minimum value will be calculated from the data.",
746
- "type": "number"
747
- },
748
- {
749
- "name": "max",
750
- "description": "Specify the maximum value of the y-axis.\nIf not specified, the maximum value will be calculated from the data.",
751
- "type": "number"
752
- },
788
+ }
789
+ ],
790
+ "events": [],
791
+ "slots": [],
792
+ "methods": [],
793
+ "parts": [],
794
+ "description": "构件 `ai-portal.preview-container`"
795
+ },
796
+ {
797
+ "name": "ai-portal.action-buttons",
798
+ "properties": [
753
799
  {
754
- "name": "xField",
755
- "description": "",
756
- "default": "\"0\"",
757
- "type": "string"
800
+ "name": "items",
801
+ "attribute": false,
802
+ "type": "ActionItem[]"
758
803
  },
759
804
  {
760
- "name": "yField",
761
- "description": "",
762
- "default": "\"1\"",
763
- "type": "string"
764
- },
805
+ "name": "activeKey",
806
+ "type": "string | null"
807
+ }
808
+ ],
809
+ "events": [
765
810
  {
766
- "name": "data",
767
- "attribute": false,
768
- "type": "Record<string, number>[]"
811
+ "name": "change",
812
+ "detail": {
813
+ "type": "ActionItem | null"
814
+ }
769
815
  }
770
816
  ],
771
- "events": [],
772
817
  "slots": [],
773
818
  "methods": [],
774
819
  "parts": [],
775
- "description": "构件 `ai-portal.stat-with-mini-chart`"
820
+ "description": "构件 `ai-portal.action-buttons`"
776
821
  },
777
822
  {
778
823
  "name": "ai-portal.dropdown-select",
@@ -831,51 +876,6 @@
831
876
  "parts": [],
832
877
  "description": "构件 `ai-portal.dropdown-select`"
833
878
  },
834
- {
835
- "name": "ai-portal.preview-container",
836
- "properties": [
837
- {
838
- "name": "source",
839
- "attribute": false,
840
- "type": "string"
841
- },
842
- {
843
- "name": "url",
844
- "type": "string"
845
- }
846
- ],
847
- "events": [],
848
- "slots": [],
849
- "methods": [],
850
- "parts": [],
851
- "description": "构件 `ai-portal.preview-container`"
852
- },
853
- {
854
- "name": "ai-portal.action-buttons",
855
- "properties": [
856
- {
857
- "name": "items",
858
- "attribute": false,
859
- "type": "ActionItem[]"
860
- },
861
- {
862
- "name": "activeKey",
863
- "type": "string | null"
864
- }
865
- ],
866
- "events": [
867
- {
868
- "name": "change",
869
- "detail": {
870
- "type": "ActionItem | null"
871
- }
872
- }
873
- ],
874
- "slots": [],
875
- "methods": [],
876
- "parts": [],
877
- "description": "构件 `ai-portal.action-buttons`"
878
- },
879
879
  {
880
880
  "name": "ai-portal.goal-card-list",
881
881
  "properties": [
@@ -939,48 +939,6 @@
939
939
  "parts": [],
940
940
  "description": "构件 `ai-portal.goal-card-list`"
941
941
  },
942
- {
943
- "name": "ai-portal.project-conversations",
944
- "properties": [
945
- {
946
- "name": "list",
947
- "attribute": false,
948
- "type": "Conversation[]"
949
- },
950
- {
951
- "name": "urlTemplate",
952
- "type": "string"
953
- },
954
- {
955
- "name": "actions",
956
- "attribute": false,
957
- "type": "ActionType[]"
958
- },
959
- {
960
- "name": "goals",
961
- "attribute": false,
962
- "type": "Goal[]"
963
- }
964
- ],
965
- "events": [
966
- {
967
- "name": "goal.click",
968
- "detail": {
969
- "type": "Conversation"
970
- }
971
- },
972
- {
973
- "name": "action.click",
974
- "detail": {
975
- "type": "ActionClickDetail"
976
- }
977
- }
978
- ],
979
- "slots": [],
980
- "methods": [],
981
- "parts": [],
982
- "description": "构件 `ai-portal.project-conversations`"
983
- },
984
942
  {
985
943
  "name": "ai-portal.project-knowledges",
986
944
  "properties": [
@@ -1112,22 +1070,46 @@
1112
1070
  "description": "构件 `ai-portal.show-case`"
1113
1071
  },
1114
1072
  {
1115
- "name": "ai-portal.blank-state",
1073
+ "name": "ai-portal.project-conversations",
1116
1074
  "properties": [
1117
1075
  {
1118
- "name": "illustration",
1119
- "type": "BlankStateIllustration"
1076
+ "name": "list",
1077
+ "attribute": false,
1078
+ "type": "Conversation[]"
1120
1079
  },
1121
1080
  {
1122
- "name": "description",
1081
+ "name": "urlTemplate",
1123
1082
  "type": "string"
1083
+ },
1084
+ {
1085
+ "name": "actions",
1086
+ "attribute": false,
1087
+ "type": "ActionType[]"
1088
+ },
1089
+ {
1090
+ "name": "goals",
1091
+ "attribute": false,
1092
+ "type": "Goal[]"
1093
+ }
1094
+ ],
1095
+ "events": [
1096
+ {
1097
+ "name": "goal.click",
1098
+ "detail": {
1099
+ "type": "Conversation"
1100
+ }
1101
+ },
1102
+ {
1103
+ "name": "action.click",
1104
+ "detail": {
1105
+ "type": "ActionClickDetail"
1106
+ }
1124
1107
  }
1125
1108
  ],
1126
- "events": [],
1127
1109
  "slots": [],
1128
1110
  "methods": [],
1129
1111
  "parts": [],
1130
- "description": "构件 `ai-portal.blank-state`"
1112
+ "description": "构件 `ai-portal.project-conversations`"
1131
1113
  },
1132
1114
  {
1133
1115
  "name": "ai-portal.sticky-container",
@@ -1164,35 +1146,22 @@
1164
1146
  "description": "构件 `ai-portal.sticky-container`"
1165
1147
  },
1166
1148
  {
1167
- "name": "ai-portal.elevo-card",
1149
+ "name": "ai-portal.blank-state",
1168
1150
  "properties": [
1169
1151
  {
1170
- "name": "cardTitle",
1171
- "type": "string"
1152
+ "name": "illustration",
1153
+ "type": "BlankStateIllustration"
1172
1154
  },
1173
1155
  {
1174
1156
  "name": "description",
1175
1157
  "type": "string"
1176
- },
1177
- {
1178
- "name": "url",
1179
- "type": "string"
1180
- },
1181
- {
1182
- "name": "avatar",
1183
- "attribute": false,
1184
- "type": "string | GeneralIconProps"
1185
- },
1186
- {
1187
- "name": "avatarType",
1188
- "type": "\"icon\" | \"image\""
1189
1158
  }
1190
1159
  ],
1191
1160
  "events": [],
1192
1161
  "slots": [],
1193
1162
  "methods": [],
1194
1163
  "parts": [],
1195
- "description": "构件 `ai-portal.elevo-card`"
1164
+ "description": "构件 `ai-portal.blank-state`"
1196
1165
  },
1197
1166
  {
1198
1167
  "name": "ai-portal.flow-tabs",
@@ -1221,6 +1190,37 @@
1221
1190
  "parts": [],
1222
1191
  "description": "构件 `ai-portal.flow-tabs`"
1223
1192
  },
1193
+ {
1194
+ "name": "ai-portal.elevo-card",
1195
+ "properties": [
1196
+ {
1197
+ "name": "cardTitle",
1198
+ "type": "string"
1199
+ },
1200
+ {
1201
+ "name": "description",
1202
+ "type": "string"
1203
+ },
1204
+ {
1205
+ "name": "url",
1206
+ "type": "string"
1207
+ },
1208
+ {
1209
+ "name": "avatar",
1210
+ "attribute": false,
1211
+ "type": "string | GeneralIconProps"
1212
+ },
1213
+ {
1214
+ "name": "avatarType",
1215
+ "type": "\"icon\" | \"image\""
1216
+ }
1217
+ ],
1218
+ "events": [],
1219
+ "slots": [],
1220
+ "methods": [],
1221
+ "parts": [],
1222
+ "description": "构件 `ai-portal.elevo-card`"
1223
+ },
1224
1224
  {
1225
1225
  "name": "ai-portal.stage-flow",
1226
1226
  "properties": [
@@ -1306,6 +1306,9 @@
1306
1306
  }
1307
1307
  ],
1308
1308
  "providers": [
1309
+ {
1310
+ "name": "ai-portal.call-tool"
1311
+ },
1309
1312
  {
1310
1313
  "name": "ai-portal.save-request-store"
1311
1314
  },
@@ -1316,7 +1319,7 @@
1316
1319
  "name": "ai-portal.clear-request-store"
1317
1320
  },
1318
1321
  {
1319
- "name": "ai-portal.call-tool"
1322
+ "name": "ai-portal.set-chat-command"
1320
1323
  }
1321
1324
  ]
1322
1325
  }