@next-bricks/ai-portal 0.58.0 → 0.58.2

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 +33 -33
  2. package/dist/chunks/1488.7acd87b5.js +2 -0
  3. package/dist/chunks/1488.7acd87b5.js.map +1 -0
  4. package/dist/chunks/2232.8b3d46e2.js +2 -0
  5. package/dist/chunks/2232.8b3d46e2.js.map +1 -0
  6. package/dist/chunks/{7041.d7408449.js → 7041.ff8d9ead.js} +2 -2
  7. package/dist/chunks/{7041.d7408449.js.map → 7041.ff8d9ead.js.map} +1 -1
  8. package/dist/chunks/7238.9abe2a64.js +3 -0
  9. package/dist/chunks/{3848.01a4987f.js.LICENSE.txt → 7238.9abe2a64.js.LICENSE.txt} +2 -0
  10. package/dist/chunks/7238.9abe2a64.js.map +1 -0
  11. package/dist/chunks/7586.b406d4bf.js +2 -0
  12. package/dist/chunks/7586.b406d4bf.js.map +1 -0
  13. package/dist/chunks/9496.9be62b7c.js +2 -0
  14. package/dist/chunks/9496.9be62b7c.js.map +1 -0
  15. package/dist/chunks/{main.703a0465.js → main.f26590db.js} +2 -2
  16. package/dist/chunks/{main.703a0465.js.map → main.f26590db.js.map} +1 -1
  17. package/dist/examples.json +23 -23
  18. package/dist/{index.7d751c21.js → index.734b36bb.js} +2 -2
  19. package/dist/{index.7d751c21.js.map → index.734b36bb.js.map} +1 -1
  20. package/dist/manifest.json +250 -250
  21. package/dist/types.json +1162 -1162
  22. package/dist-types/chat-stream/UserMessage/UserMessage.d.ts +2 -1
  23. package/dist-types/chat-stream/interfaces.d.ts +1 -0
  24. package/dist-types/cruise-canvas/NodeRequirement/NodeRequirement.d.ts +2 -1
  25. package/dist-types/cruise-canvas/interfaces.d.ts +1 -0
  26. package/dist-types/shared/ReadableCommand/ReadableCommand.d.ts +3 -2
  27. package/dist-types/shared/fetchEmployee.d.ts +3 -0
  28. package/dist-types/shared/fetchEmployee.spec.d.ts +1 -0
  29. package/package.json +2 -2
  30. package/dist/chunks/1488.89557180.js +0 -2
  31. package/dist/chunks/1488.89557180.js.map +0 -1
  32. package/dist/chunks/2232.75f1ab0f.js +0 -2
  33. package/dist/chunks/2232.75f1ab0f.js.map +0 -1
  34. package/dist/chunks/3848.01a4987f.js +0 -3
  35. package/dist/chunks/3848.01a4987f.js.map +0 -1
  36. package/dist/chunks/4002.68156a0e.js +0 -3
  37. package/dist/chunks/4002.68156a0e.js.LICENSE.txt +0 -1
  38. package/dist/chunks/4002.68156a0e.js.map +0 -1
  39. package/dist/chunks/9496.08074e2b.js +0 -2
  40. package/dist/chunks/9496.08074e2b.js.map +0 -1
@@ -4,80 +4,65 @@
4
4
  "name": "ai-portal",
5
5
  "bricks": [
6
6
  {
7
- "name": "ai-portal.chat-box",
7
+ "name": "ai-portal.stat-with-mini-chart",
8
8
  "properties": [
9
9
  {
10
- "name": "disabled",
11
- "type": "boolean"
10
+ "name": "label",
11
+ "type": "string"
12
12
  },
13
13
  {
14
- "name": "placeholder",
14
+ "name": "value",
15
15
  "type": "string"
16
16
  },
17
17
  {
18
- "name": "autoFocus",
19
- "type": "boolean"
18
+ "name": "size",
19
+ "description": "",
20
+ "default": "\"medium\"",
21
+ "type": "\"medium\" | \"small\""
20
22
  },
21
23
  {
22
- "name": "aiEmployees",
23
- "attribute": false,
24
- "type": "AIEmployee[]"
24
+ "name": "lineColor",
25
+ "description": "",
26
+ "default": "\"var(--color-brand)\"",
27
+ "type": "string"
25
28
  },
26
29
  {
27
- "name": "commands",
28
- "attribute": false,
29
- "type": "Command[]"
30
+ "name": "showArea",
31
+ "type": "boolean"
30
32
  },
31
33
  {
32
- "name": "uploadOptions",
33
- "attribute": false,
34
- "type": "UploadOptions"
35
- }
36
- ],
37
- "events": [
38
- {
39
- "name": "message.submit",
40
- "description": "",
41
- "deprecated": "Use `chat.submit` event instead",
42
- "detail": {
43
- "type": "string"
44
- }
34
+ "name": "min",
35
+ "description": "Specify the minimum value of the y-axis.\nIf not specified, the minimum value will be calculated from the data.",
36
+ "type": "number"
45
37
  },
46
38
  {
47
- "name": "chat.submit",
48
- "detail": {
49
- "type": "ChatPayload"
50
- }
39
+ "name": "max",
40
+ "description": "Specify the maximum value of the y-axis.\nIf not specified, the maximum value will be calculated from the data.",
41
+ "type": "number"
51
42
  },
52
43
  {
53
- "name": "command.select",
54
- "detail": {
55
- "type": "CommandPayload | null"
56
- }
57
- }
58
- ],
59
- "slots": [],
60
- "methods": [
61
- {
62
- "name": "setValue",
63
- "params": [
64
- {
65
- "name": "value",
66
- "type": "string"
67
- }
68
- ]
44
+ "name": "xField",
45
+ "description": "",
46
+ "default": "\"0\"",
47
+ "type": "string"
69
48
  },
70
49
  {
71
- "name": "getValue",
72
- "params": []
50
+ "name": "yField",
51
+ "description": "",
52
+ "default": "\"1\"",
53
+ "type": "string"
73
54
  },
74
55
  {
75
- "name": "focusOnInput",
76
- "params": []
56
+ "name": "data",
57
+ "attribute": false,
58
+ "type": "Record<string, number>[]"
77
59
  }
78
60
  ],
61
+ "events": [],
62
+ "slots": [],
63
+ "methods": [],
79
64
  "parts": [],
80
- "description": "构件 `ai-portal.chat-box`"
65
+ "description": "构件 `ai-portal.stat-with-mini-chart`"
81
66
  },
82
67
  {
83
68
  "name": "ai-portal.cruise-canvas",
@@ -233,81 +218,6 @@
233
218
  "parts": [],
234
219
  "description": "构件 `ai-portal.cruise-canvas`"
235
220
  },
236
- {
237
- "name": "ai-portal.home-container",
238
- "properties": [
239
- {
240
- "name": "sticky",
241
- "type": "boolean"
242
- }
243
- ],
244
- "events": [],
245
- "slots": [],
246
- "methods": [],
247
- "parts": [],
248
- "description": "构件 `ai-portal.home-container`"
249
- },
250
- {
251
- "name": "ai-portal.stat-with-mini-chart",
252
- "properties": [
253
- {
254
- "name": "label",
255
- "type": "string"
256
- },
257
- {
258
- "name": "value",
259
- "type": "string"
260
- },
261
- {
262
- "name": "size",
263
- "description": "",
264
- "default": "\"medium\"",
265
- "type": "\"medium\" | \"small\""
266
- },
267
- {
268
- "name": "lineColor",
269
- "description": "",
270
- "default": "\"var(--color-brand)\"",
271
- "type": "string"
272
- },
273
- {
274
- "name": "showArea",
275
- "type": "boolean"
276
- },
277
- {
278
- "name": "min",
279
- "description": "Specify the minimum value of the y-axis.\nIf not specified, the minimum value will be calculated from the data.",
280
- "type": "number"
281
- },
282
- {
283
- "name": "max",
284
- "description": "Specify the maximum value of the y-axis.\nIf not specified, the maximum value will be calculated from the data.",
285
- "type": "number"
286
- },
287
- {
288
- "name": "xField",
289
- "description": "",
290
- "default": "\"0\"",
291
- "type": "string"
292
- },
293
- {
294
- "name": "yField",
295
- "description": "",
296
- "default": "\"1\"",
297
- "type": "string"
298
- },
299
- {
300
- "name": "data",
301
- "attribute": false,
302
- "type": "Record<string, number>[]"
303
- }
304
- ],
305
- "events": [],
306
- "slots": [],
307
- "methods": [],
308
- "parts": [],
309
- "description": "构件 `ai-portal.stat-with-mini-chart`"
310
- },
311
221
  {
312
222
  "name": "ai-portal.elevo-sidebar",
313
223
  "properties": [
@@ -444,6 +354,20 @@
444
354
  "parts": [],
445
355
  "description": "构件 `ai-portal.elevo-sidebar`"
446
356
  },
357
+ {
358
+ "name": "ai-portal.home-container",
359
+ "properties": [
360
+ {
361
+ "name": "sticky",
362
+ "type": "boolean"
363
+ }
364
+ ],
365
+ "events": [],
366
+ "slots": [],
367
+ "methods": [],
368
+ "parts": [],
369
+ "description": "构件 `ai-portal.home-container`"
370
+ },
447
371
  {
448
372
  "name": "ai-portal.icon-button",
449
373
  "properties": [
@@ -543,6 +467,31 @@
543
467
  "parts": [],
544
468
  "description": "构件 `ai-portal.ai-employees`"
545
469
  },
470
+ {
471
+ "name": "ai-portal.ai-agents",
472
+ "properties": [
473
+ {
474
+ "name": "list",
475
+ "attribute": false,
476
+ "type": "Agent[]"
477
+ },
478
+ {
479
+ "name": "urlTemplate",
480
+ "type": "string"
481
+ },
482
+ {
483
+ "name": "withContainer",
484
+ "description": "",
485
+ "deprecated": true,
486
+ "default": "true"
487
+ }
488
+ ],
489
+ "events": [],
490
+ "slots": [],
491
+ "methods": [],
492
+ "parts": [],
493
+ "description": "构件 `ai-portal.ai-agents`"
494
+ },
546
495
  {
547
496
  "name": "ai-portal.chat-stream",
548
497
  "properties": [
@@ -686,29 +635,49 @@
686
635
  "description": "构件 `ai-portal.chat-stream`"
687
636
  },
688
637
  {
689
- "name": "ai-portal.ai-agents",
638
+ "name": "ai-portal.page-container",
690
639
  "properties": [
691
640
  {
692
- "name": "list",
641
+ "name": "pageTitle",
642
+ "type": "string"
643
+ },
644
+ {
645
+ "name": "breadcrumbs",
693
646
  "attribute": false,
694
- "type": "Agent[]"
647
+ "type": "Breadcrumb[]"
695
648
  },
696
649
  {
697
- "name": "urlTemplate",
698
- "type": "string"
650
+ "name": "size",
651
+ "type": "\"medium\" | \"small\" | \"full\""
699
652
  },
700
653
  {
701
- "name": "withContainer",
702
- "description": "",
703
- "deprecated": true,
704
- "default": "true"
654
+ "name": "variant",
655
+ "type": "\"default\" | \"form\""
656
+ },
657
+ {
658
+ "name": "sticky",
659
+ "type": "boolean"
660
+ },
661
+ {
662
+ "name": "textContent",
663
+ "type": "string",
664
+ "description": "文本内容"
705
665
  }
706
666
  ],
707
667
  "events": [],
708
- "slots": [],
668
+ "slots": [
669
+ {
670
+ "name": null,
671
+ "description": "内容"
672
+ },
673
+ {
674
+ "name": "toolbar",
675
+ "description": "工具栏"
676
+ }
677
+ ],
709
678
  "methods": [],
710
679
  "parts": [],
711
- "description": "构件 `ai-portal.ai-agents`"
680
+ "description": "构件 `ai-portal.page-container`"
712
681
  },
713
682
  {
714
683
  "name": "ai-portal.tab-list",
@@ -747,49 +716,23 @@
747
716
  "description": "构件 `ai-portal.tab-list`"
748
717
  },
749
718
  {
750
- "name": "ai-portal.page-container",
719
+ "name": "ai-portal.preview-container",
751
720
  "properties": [
752
721
  {
753
- "name": "pageTitle",
754
- "type": "string"
755
- },
756
- {
757
- "name": "breadcrumbs",
722
+ "name": "source",
758
723
  "attribute": false,
759
- "type": "Breadcrumb[]"
760
- },
761
- {
762
- "name": "size",
763
- "type": "\"medium\" | \"small\" | \"full\""
764
- },
765
- {
766
- "name": "variant",
767
- "type": "\"default\" | \"form\""
768
- },
769
- {
770
- "name": "sticky",
771
- "type": "boolean"
724
+ "type": "string"
772
725
  },
773
726
  {
774
- "name": "textContent",
775
- "type": "string",
776
- "description": "文本内容"
727
+ "name": "url",
728
+ "type": "string"
777
729
  }
778
730
  ],
779
731
  "events": [],
780
- "slots": [
781
- {
782
- "name": null,
783
- "description": "内容"
784
- },
785
- {
786
- "name": "toolbar",
787
- "description": "工具栏"
788
- }
789
- ],
732
+ "slots": [],
790
733
  "methods": [],
791
734
  "parts": [],
792
- "description": "构件 `ai-portal.page-container`"
735
+ "description": "构件 `ai-portal.preview-container`"
793
736
  },
794
737
  {
795
738
  "name": "ai-portal.dropdown-select",
@@ -849,49 +792,106 @@
849
792
  "description": "构件 `ai-portal.dropdown-select`"
850
793
  },
851
794
  {
852
- "name": "ai-portal.preview-container",
795
+ "name": "ai-portal.action-buttons",
853
796
  "properties": [
854
797
  {
855
- "name": "source",
798
+ "name": "items",
856
799
  "attribute": false,
857
- "type": "string"
800
+ "type": "ActionItem[]"
858
801
  },
859
802
  {
860
- "name": "url",
861
- "type": "string"
803
+ "name": "activeKey",
804
+ "type": "string | null"
805
+ }
806
+ ],
807
+ "events": [
808
+ {
809
+ "name": "change",
810
+ "detail": {
811
+ "type": "ActionItem | null"
812
+ }
862
813
  }
863
814
  ],
864
- "events": [],
865
815
  "slots": [],
866
816
  "methods": [],
867
817
  "parts": [],
868
- "description": "构件 `ai-portal.preview-container`"
818
+ "description": "构件 `ai-portal.action-buttons`"
869
819
  },
870
820
  {
871
- "name": "ai-portal.action-buttons",
821
+ "name": "ai-portal.chat-box",
872
822
  "properties": [
873
823
  {
874
- "name": "items",
824
+ "name": "disabled",
825
+ "type": "boolean"
826
+ },
827
+ {
828
+ "name": "placeholder",
829
+ "type": "string"
830
+ },
831
+ {
832
+ "name": "autoFocus",
833
+ "type": "boolean"
834
+ },
835
+ {
836
+ "name": "aiEmployees",
875
837
  "attribute": false,
876
- "type": "ActionItem[]"
838
+ "type": "AIEmployee[]"
877
839
  },
878
840
  {
879
- "name": "activeKey",
880
- "type": "string | null"
841
+ "name": "commands",
842
+ "attribute": false,
843
+ "type": "Command[]"
844
+ },
845
+ {
846
+ "name": "uploadOptions",
847
+ "attribute": false,
848
+ "type": "UploadOptions"
881
849
  }
882
850
  ],
883
851
  "events": [
884
852
  {
885
- "name": "change",
853
+ "name": "message.submit",
854
+ "description": "",
855
+ "deprecated": "Use `chat.submit` event instead",
886
856
  "detail": {
887
- "type": "ActionItem | null"
857
+ "type": "string"
858
+ }
859
+ },
860
+ {
861
+ "name": "chat.submit",
862
+ "detail": {
863
+ "type": "ChatPayload"
864
+ }
865
+ },
866
+ {
867
+ "name": "command.select",
868
+ "detail": {
869
+ "type": "CommandPayload | null"
888
870
  }
889
871
  }
890
872
  ],
891
873
  "slots": [],
892
- "methods": [],
874
+ "methods": [
875
+ {
876
+ "name": "setValue",
877
+ "params": [
878
+ {
879
+ "name": "value",
880
+ "type": "string"
881
+ }
882
+ ]
883
+ },
884
+ {
885
+ "name": "getValue",
886
+ "params": []
887
+ },
888
+ {
889
+ "name": "focusOnInput",
890
+ "params": []
891
+ }
892
+ ],
893
893
  "parts": [],
894
- "description": "构件 `ai-portal.action-buttons`"
894
+ "description": "构件 `ai-portal.chat-box`"
895
895
  },
896
896
  {
897
897
  "name": "ai-portal.goal-card-list",
@@ -1035,6 +1035,25 @@
1035
1035
  "parts": [],
1036
1036
  "description": "构件 `ai-portal.project-knowledges`"
1037
1037
  },
1038
+ {
1039
+ "name": "ai-portal.activity-timeline",
1040
+ "properties": [
1041
+ {
1042
+ "name": "list",
1043
+ "attribute": false,
1044
+ "type": "Activity[]"
1045
+ },
1046
+ {
1047
+ "name": "chatUrlTemplate",
1048
+ "type": "string"
1049
+ }
1050
+ ],
1051
+ "events": [],
1052
+ "slots": [],
1053
+ "methods": [],
1054
+ "parts": [],
1055
+ "description": "构件 `ai-portal.activity-timeline`"
1056
+ },
1038
1057
  {
1039
1058
  "name": "ai-portal.chat-input",
1040
1059
  "properties": [
@@ -1092,23 +1111,13 @@
1092
1111
  "description": "构件 `ai-portal.chat-input`"
1093
1112
  },
1094
1113
  {
1095
- "name": "ai-portal.activity-timeline",
1096
- "properties": [
1097
- {
1098
- "name": "list",
1099
- "attribute": false,
1100
- "type": "Activity[]"
1101
- },
1102
- {
1103
- "name": "chatUrlTemplate",
1104
- "type": "string"
1105
- }
1106
- ],
1114
+ "name": "ai-portal.elevo-logo",
1115
+ "properties": [],
1107
1116
  "events": [],
1108
1117
  "slots": [],
1109
1118
  "methods": [],
1110
1119
  "parts": [],
1111
- "description": "构件 `ai-portal.activity-timeline`"
1120
+ "description": "构件 `ai-portal.elevo-logo`"
1112
1121
  },
1113
1122
  {
1114
1123
  "name": "ai-portal.show-case",
@@ -1132,6 +1141,24 @@
1132
1141
  "parts": [],
1133
1142
  "description": "构件 `ai-portal.show-case`"
1134
1143
  },
1144
+ {
1145
+ "name": "ai-portal.blank-state",
1146
+ "properties": [
1147
+ {
1148
+ "name": "illustration",
1149
+ "type": "BlankStateIllustration"
1150
+ },
1151
+ {
1152
+ "name": "description",
1153
+ "type": "string"
1154
+ }
1155
+ ],
1156
+ "events": [],
1157
+ "slots": [],
1158
+ "methods": [],
1159
+ "parts": [],
1160
+ "description": "构件 `ai-portal.blank-state`"
1161
+ },
1135
1162
  {
1136
1163
  "name": "ai-portal.sticky-container",
1137
1164
  "properties": [
@@ -1166,24 +1193,6 @@
1166
1193
  "parts": [],
1167
1194
  "description": "构件 `ai-portal.sticky-container`"
1168
1195
  },
1169
- {
1170
- "name": "ai-portal.blank-state",
1171
- "properties": [
1172
- {
1173
- "name": "illustration",
1174
- "type": "BlankStateIllustration"
1175
- },
1176
- {
1177
- "name": "description",
1178
- "type": "string"
1179
- }
1180
- ],
1181
- "events": [],
1182
- "slots": [],
1183
- "methods": [],
1184
- "parts": [],
1185
- "description": "构件 `ai-portal.blank-state`"
1186
- },
1187
1196
  {
1188
1197
  "name": "ai-portal.elevo-card",
1189
1198
  "properties": [
@@ -1215,33 +1224,6 @@
1215
1224
  "parts": [],
1216
1225
  "description": "构件 `ai-portal.elevo-card`"
1217
1226
  },
1218
- {
1219
- "name": "ai-portal.flow-tabs",
1220
- "properties": [
1221
- {
1222
- "name": "tabs",
1223
- "attribute": false,
1224
- "type": "Tab[]"
1225
- },
1226
- {
1227
- "name": "activeTab",
1228
- "attribute": false,
1229
- "type": "string"
1230
- }
1231
- ],
1232
- "events": [
1233
- {
1234
- "name": "tab.click",
1235
- "detail": {
1236
- "type": "Tab"
1237
- }
1238
- }
1239
- ],
1240
- "slots": [],
1241
- "methods": [],
1242
- "parts": [],
1243
- "description": "构件 `ai-portal.flow-tabs`"
1244
- },
1245
1227
  {
1246
1228
  "name": "ai-portal.stage-flow",
1247
1229
  "properties": [
@@ -1330,13 +1312,31 @@
1330
1312
  "description": "构件 `ai-portal.stage-flow`"
1331
1313
  },
1332
1314
  {
1333
- "name": "ai-portal.elevo-logo",
1334
- "properties": [],
1335
- "events": [],
1315
+ "name": "ai-portal.flow-tabs",
1316
+ "properties": [
1317
+ {
1318
+ "name": "tabs",
1319
+ "attribute": false,
1320
+ "type": "Tab[]"
1321
+ },
1322
+ {
1323
+ "name": "activeTab",
1324
+ "attribute": false,
1325
+ "type": "string"
1326
+ }
1327
+ ],
1328
+ "events": [
1329
+ {
1330
+ "name": "tab.click",
1331
+ "detail": {
1332
+ "type": "Tab"
1333
+ }
1334
+ }
1335
+ ],
1336
1336
  "slots": [],
1337
1337
  "methods": [],
1338
1338
  "parts": [],
1339
- "description": "构件 `ai-portal.elevo-logo`"
1339
+ "description": "构件 `ai-portal.flow-tabs`"
1340
1340
  },
1341
1341
  {
1342
1342
  "name": "ai-portal.running-flow",
@@ -1434,6 +1434,9 @@
1434
1434
  }
1435
1435
  ],
1436
1436
  "providers": [
1437
+ {
1438
+ "name": "ai-portal.call-tool"
1439
+ },
1437
1440
  {
1438
1441
  "name": "ai-portal.save-request-store"
1439
1442
  },
@@ -1443,9 +1446,6 @@
1443
1446
  {
1444
1447
  "name": "ai-portal.clear-request-store"
1445
1448
  },
1446
- {
1447
- "name": "ai-portal.call-tool"
1448
- },
1449
1449
  {
1450
1450
  "name": "ai-portal.set-chat-command"
1451
1451
  }