@next-bricks/ai-portal 0.65.6 → 0.65.7

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.
@@ -168,175 +168,79 @@
168
168
  "description": "构件 `ai-portal.cruise-canvas`"
169
169
  },
170
170
  {
171
- "name": "ai-portal.elevo-sidebar",
171
+ "name": "ai-portal.stat-with-mini-chart",
172
172
  "properties": [
173
173
  {
174
- "name": "userInstanceId",
175
- "type": "string"
176
- },
177
- {
178
- "name": "behavior",
179
- "type": "\"default\" | \"drawer\""
180
- },
181
- {
182
- "name": "logoUrl",
174
+ "name": "label",
183
175
  "type": "string"
184
176
  },
185
177
  {
186
- "name": "newChatUrl",
178
+ "name": "value",
187
179
  "type": "string"
188
180
  },
189
181
  {
190
- "name": "newChatLinkWhenCollapsed",
191
- "type": "boolean"
182
+ "name": "size",
183
+ "description": "",
184
+ "default": "\"medium\"",
185
+ "type": "\"medium\" | \"small\""
192
186
  },
193
187
  {
194
- "name": "historyUrlTemplate",
188
+ "name": "lineColor",
189
+ "description": "",
190
+ "default": "\"var(--color-brand)\"",
195
191
  "type": "string"
196
192
  },
197
193
  {
198
- "name": "historyActions",
199
- "attribute": false,
200
- "type": "ActionType[]"
201
- },
202
- {
203
- "name": "showProjects",
194
+ "name": "showArea",
204
195
  "type": "boolean"
205
196
  },
206
197
  {
207
- "name": "projectUrlTemplate",
208
- "type": "string"
209
- },
210
- {
211
- "name": "projectActions",
212
- "attribute": false,
213
- "type": "ActionType[]"
214
- },
215
- {
216
- "name": "personalActions",
217
- "attribute": false,
218
- "type": "ActionType[]"
219
- },
220
- {
221
- "name": "links",
222
- "attribute": false,
223
- "type": "SidebarLink[]"
198
+ "name": "min",
199
+ "description": "Specify the minimum value of the y-axis.\nIf not specified, the minimum value will be calculated from the data.",
200
+ "type": "number"
224
201
  },
225
202
  {
226
- "name": "canAddProject",
227
- "type": "boolean",
228
- "default": "true"
203
+ "name": "max",
204
+ "description": "Specify the maximum value of the y-axis.\nIf not specified, the maximum value will be calculated from the data.",
205
+ "type": "number"
229
206
  },
230
207
  {
231
- "name": "myLinks",
232
- "attribute": false,
233
- "type": "SidebarLink[]"
208
+ "name": "xField",
209
+ "description": "",
210
+ "default": "\"0\"",
211
+ "type": "string"
234
212
  },
235
213
  {
236
- "name": "scope",
214
+ "name": "yField",
237
215
  "description": "",
238
- "default": "\"default\"",
239
- "type": "\"default\" | \"space\""
216
+ "default": "\"1\"",
217
+ "type": "string"
240
218
  },
241
219
  {
242
- "name": "spaceNav",
220
+ "name": "data",
243
221
  "attribute": false,
244
- "type": "SpaceNavProps"
245
- }
246
- ],
247
- "events": [
248
- {
249
- "name": "logout",
250
- "detail": {
251
- "type": "void"
252
- }
253
- },
254
- {
255
- "name": "action.click",
256
- "description": "点击对话历史操作按钮时触发",
257
- "detail": {
258
- "type": "ActionClickDetail"
259
- }
260
- },
261
- {
262
- "name": "project.action.click",
263
- "description": "点击项目操作按钮时触发",
264
- "detail": {
265
- "type": "ProjectActionClickDetail"
266
- }
267
- },
268
- {
269
- "name": "add.project",
270
- "detail": {
271
- "type": "void"
272
- }
273
- },
274
- {
275
- "name": "add.serviceflow",
276
- "detail": {
277
- "type": "void"
278
- }
279
- },
280
- {
281
- "name": "personal.action.click",
282
- "description": "点击个人操作按钮时触发",
283
- "detail": {
284
- "type": "PersonalActionClickDetail"
285
- }
222
+ "type": "Record<string, number>[]"
286
223
  }
287
224
  ],
225
+ "events": [],
288
226
  "slots": [],
289
- "methods": [
290
- {
291
- "name": "pullHistory",
292
- "params": [
293
- {
294
- "name": "delay",
295
- "description": "Delay in milliseconds before pulling the latest chat history.",
296
- "type": "number"
297
- }
298
- ],
299
- "description": "",
300
- "returns": {}
301
- },
302
- {
303
- "name": "open",
304
- "params": []
305
- },
306
- {
307
- "name": "close",
308
- "params": []
309
- },
310
- {
311
- "name": "removeProject",
312
- "params": [
313
- {
314
- "name": "projectId",
315
- "type": "string"
316
- }
317
- ]
318
- },
319
- {
320
- "name": "addProject",
321
- "params": [
322
- {
323
- "name": "project",
324
- "type": "Project"
325
- }
326
- ]
327
- },
227
+ "methods": [],
228
+ "parts": [],
229
+ "description": "构件 `ai-portal.stat-with-mini-chart`"
230
+ },
231
+ {
232
+ "name": "ai-portal.home-container",
233
+ "properties": [
328
234
  {
329
- "name": "moveConversation",
330
- "params": [
331
- {
332
- "name": "conversationId",
333
- "type": "string"
334
- }
335
- ]
235
+ "name": "sticky",
236
+ "type": "boolean"
336
237
  }
337
238
  ],
239
+ "events": [],
240
+ "slots": [],
241
+ "methods": [],
338
242
  "parts": [],
339
- "description": "构件 `ai-portal.elevo-sidebar`"
243
+ "description": "构件 `ai-portal.home-container`"
340
244
  },
341
245
  {
342
246
  "name": "ai-portal.icon-button",
@@ -378,76 +282,6 @@
378
282
  "parts": [],
379
283
  "description": "构件 `ai-portal.icon-button`"
380
284
  },
381
- {
382
- "name": "ai-portal.chat-box",
383
- "properties": [
384
- {
385
- "name": "disabled",
386
- "type": "boolean"
387
- },
388
- {
389
- "name": "placeholder",
390
- "type": "string"
391
- },
392
- {
393
- "name": "autoFocus",
394
- "type": "boolean"
395
- },
396
- {
397
- "name": "aiEmployees",
398
- "attribute": false,
399
- "type": "AIEmployee[]"
400
- },
401
- {
402
- "name": "commands",
403
- "attribute": false,
404
- "type": "Command[]"
405
- },
406
- {
407
- "name": "uploadOptions",
408
- "attribute": false,
409
- "type": "UploadOptions"
410
- }
411
- ],
412
- "events": [
413
- {
414
- "name": "message.submit",
415
- "description": "",
416
- "deprecated": "Use `chat.submit` event instead",
417
- "detail": {
418
- "type": "string"
419
- }
420
- },
421
- {
422
- "name": "chat.submit",
423
- "detail": {
424
- "type": "ChatPayload"
425
- }
426
- }
427
- ],
428
- "slots": [],
429
- "methods": [
430
- {
431
- "name": "setValue",
432
- "params": [
433
- {
434
- "name": "value",
435
- "type": "string"
436
- }
437
- ]
438
- },
439
- {
440
- "name": "getValue",
441
- "params": []
442
- },
443
- {
444
- "name": "focusOnInput",
445
- "params": []
446
- }
447
- ],
448
- "parts": [],
449
- "description": "大型聊天输入框,用于首页"
450
- },
451
285
  {
452
286
  "name": "ai-portal.show-cases",
453
287
  "properties": [
@@ -672,20 +506,6 @@
672
506
  "parts": [],
673
507
  "description": "构件 `ai-portal.chat-stream`"
674
508
  },
675
- {
676
- "name": "ai-portal.home-container",
677
- "properties": [
678
- {
679
- "name": "sticky",
680
- "type": "boolean"
681
- }
682
- ],
683
- "events": [],
684
- "slots": [],
685
- "methods": [],
686
- "parts": [],
687
- "description": "构件 `ai-portal.home-container`"
688
- },
689
509
  {
690
510
  "name": "ai-portal.ai-agents",
691
511
  "properties": [
@@ -814,120 +634,230 @@
814
634
  "type": "boolean"
815
635
  },
816
636
  {
817
- "name": "searchPlaceholder",
637
+ "name": "searchPlaceholder",
638
+ "attribute": false,
639
+ "type": "string"
640
+ },
641
+ {
642
+ "name": "dropdownContentStyle",
643
+ "attribute": false,
644
+ "type": "React.CSSProperties"
645
+ },
646
+ {
647
+ "name": "dropdownMaxWidth",
648
+ "description": "",
649
+ "default": "\"500px\"",
650
+ "attribute": false,
651
+ "type": "string | number"
652
+ },
653
+ {
654
+ "name": "showSearch",
655
+ "description": "是否展示搜索框",
656
+ "type": "boolean"
657
+ }
658
+ ],
659
+ "events": [
660
+ {
661
+ "name": "change",
662
+ "detail": {
663
+ "type": "DropdownOptions"
664
+ }
665
+ }
666
+ ],
667
+ "slots": [],
668
+ "methods": [],
669
+ "parts": [],
670
+ "description": "构件 `ai-portal.dropdown-select`"
671
+ },
672
+ {
673
+ "name": "ai-portal.elevo-sidebar",
674
+ "properties": [
675
+ {
676
+ "name": "userInstanceId",
677
+ "type": "string"
678
+ },
679
+ {
680
+ "name": "behavior",
681
+ "type": "\"default\" | \"drawer\""
682
+ },
683
+ {
684
+ "name": "logoUrl",
685
+ "type": "string"
686
+ },
687
+ {
688
+ "name": "newChatUrl",
689
+ "type": "string"
690
+ },
691
+ {
692
+ "name": "newChatLinkWhenCollapsed",
693
+ "type": "boolean"
694
+ },
695
+ {
696
+ "name": "historyUrlTemplate",
697
+ "type": "string"
698
+ },
699
+ {
700
+ "name": "historyActions",
701
+ "attribute": false,
702
+ "type": "ActionType[]"
703
+ },
704
+ {
705
+ "name": "showProjects",
706
+ "type": "boolean"
707
+ },
708
+ {
709
+ "name": "projectUrlTemplate",
710
+ "type": "string"
711
+ },
712
+ {
713
+ "name": "projectActions",
714
+ "attribute": false,
715
+ "type": "ActionType[]"
716
+ },
717
+ {
718
+ "name": "personalActions",
719
+ "attribute": false,
720
+ "type": "ActionType[]"
721
+ },
722
+ {
723
+ "name": "links",
818
724
  "attribute": false,
819
- "type": "string"
725
+ "type": "SidebarLink[]"
820
726
  },
821
727
  {
822
- "name": "dropdownContentStyle",
728
+ "name": "canAddProject",
729
+ "type": "boolean",
730
+ "default": "true"
731
+ },
732
+ {
733
+ "name": "myLinks",
823
734
  "attribute": false,
824
- "type": "React.CSSProperties"
735
+ "type": "SidebarLink[]"
825
736
  },
826
737
  {
827
- "name": "dropdownMaxWidth",
738
+ "name": "scope",
828
739
  "description": "",
829
- "default": "\"500px\"",
830
- "attribute": false,
831
- "type": "string | number"
740
+ "default": "\"default\"",
741
+ "type": "\"default\" | \"space\""
832
742
  },
833
743
  {
834
- "name": "showSearch",
835
- "description": "是否展示搜索框",
836
- "type": "boolean"
744
+ "name": "spaceNav",
745
+ "attribute": false,
746
+ "type": "SpaceNavProps"
837
747
  }
838
748
  ],
839
749
  "events": [
840
750
  {
841
- "name": "change",
751
+ "name": "logout",
842
752
  "detail": {
843
- "type": "DropdownOptions"
753
+ "type": "void"
844
754
  }
845
- }
846
- ],
847
- "slots": [],
848
- "methods": [],
849
- "parts": [],
850
- "description": "构件 `ai-portal.dropdown-select`"
851
- },
852
- {
853
- "name": "ai-portal.preview-container",
854
- "properties": [
855
- {
856
- "name": "source",
857
- "attribute": false,
858
- "type": "string"
859
755
  },
860
756
  {
861
- "name": "url",
862
- "type": "string"
863
- }
864
- ],
865
- "events": [],
866
- "slots": [],
867
- "methods": [],
868
- "parts": [],
869
- "description": "构件 `ai-portal.preview-container`"
870
- },
871
- {
872
- "name": "ai-portal.stat-with-mini-chart",
873
- "properties": [
757
+ "name": "action.click",
758
+ "description": "点击对话历史操作按钮时触发",
759
+ "detail": {
760
+ "type": "ActionClickDetail"
761
+ }
762
+ },
874
763
  {
875
- "name": "label",
876
- "type": "string"
764
+ "name": "project.action.click",
765
+ "description": "点击项目操作按钮时触发",
766
+ "detail": {
767
+ "type": "ProjectActionClickDetail"
768
+ }
877
769
  },
878
770
  {
879
- "name": "value",
880
- "type": "string"
771
+ "name": "add.project",
772
+ "detail": {
773
+ "type": "void"
774
+ }
881
775
  },
882
776
  {
883
- "name": "size",
884
- "description": "",
885
- "default": "\"medium\"",
886
- "type": "\"medium\" | \"small\""
777
+ "name": "add.serviceflow",
778
+ "detail": {
779
+ "type": "void"
780
+ }
887
781
  },
888
782
  {
889
- "name": "lineColor",
783
+ "name": "personal.action.click",
784
+ "description": "点击个人操作按钮时触发",
785
+ "detail": {
786
+ "type": "PersonalActionClickDetail"
787
+ }
788
+ }
789
+ ],
790
+ "slots": [],
791
+ "methods": [
792
+ {
793
+ "name": "pullHistory",
794
+ "params": [
795
+ {
796
+ "name": "delay",
797
+ "description": "Delay in milliseconds before pulling the latest chat history.",
798
+ "type": "number"
799
+ }
800
+ ],
890
801
  "description": "",
891
- "default": "\"var(--color-brand)\"",
892
- "type": "string"
802
+ "returns": {}
893
803
  },
894
804
  {
895
- "name": "showArea",
896
- "type": "boolean"
805
+ "name": "open",
806
+ "params": []
897
807
  },
898
808
  {
899
- "name": "min",
900
- "description": "Specify the minimum value of the y-axis.\nIf not specified, the minimum value will be calculated from the data.",
901
- "type": "number"
809
+ "name": "close",
810
+ "params": []
902
811
  },
903
812
  {
904
- "name": "max",
905
- "description": "Specify the maximum value of the y-axis.\nIf not specified, the maximum value will be calculated from the data.",
906
- "type": "number"
813
+ "name": "removeProject",
814
+ "params": [
815
+ {
816
+ "name": "projectId",
817
+ "type": "string"
818
+ }
819
+ ]
907
820
  },
908
821
  {
909
- "name": "xField",
910
- "description": "",
911
- "default": "\"0\"",
912
- "type": "string"
822
+ "name": "addProject",
823
+ "params": [
824
+ {
825
+ "name": "project",
826
+ "type": "Project"
827
+ }
828
+ ]
913
829
  },
914
830
  {
915
- "name": "yField",
916
- "description": "",
917
- "default": "\"1\"",
831
+ "name": "moveConversation",
832
+ "params": [
833
+ {
834
+ "name": "conversationId",
835
+ "type": "string"
836
+ }
837
+ ]
838
+ }
839
+ ],
840
+ "parts": [],
841
+ "description": "构件 `ai-portal.elevo-sidebar`"
842
+ },
843
+ {
844
+ "name": "ai-portal.preview-container",
845
+ "properties": [
846
+ {
847
+ "name": "source",
848
+ "attribute": false,
918
849
  "type": "string"
919
850
  },
920
851
  {
921
- "name": "data",
922
- "attribute": false,
923
- "type": "Record<string, number>[]"
852
+ "name": "url",
853
+ "type": "string"
924
854
  }
925
855
  ],
926
856
  "events": [],
927
857
  "slots": [],
928
858
  "methods": [],
929
859
  "parts": [],
930
- "description": "构件 `ai-portal.stat-with-mini-chart`"
860
+ "description": "构件 `ai-portal.preview-container`"
931
861
  },
932
862
  {
933
863
  "name": "ai-portal.action-buttons",
@@ -1202,15 +1132,6 @@
1202
1132
  "parts": [],
1203
1133
  "description": "小型聊天输入框,用于对话等页面"
1204
1134
  },
1205
- {
1206
- "name": "ai-portal.elevo-logo",
1207
- "properties": [],
1208
- "events": [],
1209
- "slots": [],
1210
- "methods": [],
1211
- "parts": [],
1212
- "description": "构件 `ai-portal.elevo-logo`"
1213
- },
1214
1135
  {
1215
1136
  "name": "ai-portal.show-case",
1216
1137
  "properties": [
@@ -1233,6 +1154,15 @@
1233
1154
  "parts": [],
1234
1155
  "description": "构件 `ai-portal.show-case`"
1235
1156
  },
1157
+ {
1158
+ "name": "ai-portal.elevo-logo",
1159
+ "properties": [],
1160
+ "events": [],
1161
+ "slots": [],
1162
+ "methods": [],
1163
+ "parts": [],
1164
+ "description": "构件 `ai-portal.elevo-logo`"
1165
+ },
1236
1166
  {
1237
1167
  "name": "ai-portal.blank-state",
1238
1168
  "properties": [
@@ -1675,11 +1605,81 @@
1675
1605
  ],
1676
1606
  "parts": [],
1677
1607
  "description": "弹出式对话面板。"
1608
+ },
1609
+ {
1610
+ "name": "ai-portal.chat-box",
1611
+ "properties": [
1612
+ {
1613
+ "name": "disabled",
1614
+ "type": "boolean"
1615
+ },
1616
+ {
1617
+ "name": "placeholder",
1618
+ "type": "string"
1619
+ },
1620
+ {
1621
+ "name": "autoFocus",
1622
+ "type": "boolean"
1623
+ },
1624
+ {
1625
+ "name": "aiEmployees",
1626
+ "attribute": false,
1627
+ "type": "AIEmployee[]"
1628
+ },
1629
+ {
1630
+ "name": "commands",
1631
+ "attribute": false,
1632
+ "type": "Command[]"
1633
+ },
1634
+ {
1635
+ "name": "uploadOptions",
1636
+ "attribute": false,
1637
+ "type": "UploadOptions"
1638
+ }
1639
+ ],
1640
+ "events": [
1641
+ {
1642
+ "name": "message.submit",
1643
+ "description": "",
1644
+ "deprecated": "Use `chat.submit` event instead",
1645
+ "detail": {
1646
+ "type": "string"
1647
+ }
1648
+ },
1649
+ {
1650
+ "name": "chat.submit",
1651
+ "detail": {
1652
+ "type": "ChatPayload"
1653
+ }
1654
+ }
1655
+ ],
1656
+ "slots": [],
1657
+ "methods": [
1658
+ {
1659
+ "name": "setValue",
1660
+ "params": [
1661
+ {
1662
+ "name": "value",
1663
+ "type": "string"
1664
+ }
1665
+ ]
1666
+ },
1667
+ {
1668
+ "name": "getValue",
1669
+ "params": []
1670
+ },
1671
+ {
1672
+ "name": "focusOnInput",
1673
+ "params": []
1674
+ }
1675
+ ],
1676
+ "parts": [],
1677
+ "description": "大型聊天输入框,用于首页"
1678
1678
  }
1679
1679
  ],
1680
1680
  "providers": [
1681
1681
  {
1682
- "name": "ai-portal.call-tool"
1682
+ "name": "ai-portal.set-chat-command"
1683
1683
  },
1684
1684
  {
1685
1685
  "name": "ai-portal.save-request-store"
@@ -1691,7 +1691,7 @@
1691
1691
  "name": "ai-portal.clear-request-store"
1692
1692
  },
1693
1693
  {
1694
- "name": "ai-portal.set-chat-command"
1694
+ "name": "ai-portal.call-tool"
1695
1695
  }
1696
1696
  ]
1697
1697
  }