@next-bricks/ai-portal 0.65.5 → 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.
@@ -167,217 +167,6 @@
167
167
  "parts": [],
168
168
  "description": "构件 `ai-portal.cruise-canvas`"
169
169
  },
170
- {
171
- "name": "ai-portal.elevo-sidebar",
172
- "properties": [
173
- {
174
- "name": "userInstanceId",
175
- "type": "string"
176
- },
177
- {
178
- "name": "behavior",
179
- "type": "\"default\" | \"drawer\""
180
- },
181
- {
182
- "name": "logoUrl",
183
- "type": "string"
184
- },
185
- {
186
- "name": "newChatUrl",
187
- "type": "string"
188
- },
189
- {
190
- "name": "newChatLinkWhenCollapsed",
191
- "type": "boolean"
192
- },
193
- {
194
- "name": "historyUrlTemplate",
195
- "type": "string"
196
- },
197
- {
198
- "name": "historyActions",
199
- "attribute": false,
200
- "type": "ActionType[]"
201
- },
202
- {
203
- "name": "showProjects",
204
- "type": "boolean"
205
- },
206
- {
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[]"
224
- },
225
- {
226
- "name": "canAddProject",
227
- "type": "boolean",
228
- "default": "true"
229
- },
230
- {
231
- "name": "myLinks",
232
- "attribute": false,
233
- "type": "SidebarLink[]"
234
- },
235
- {
236
- "name": "scope",
237
- "description": "",
238
- "default": "\"default\"",
239
- "type": "\"default\" | \"space\""
240
- },
241
- {
242
- "name": "spaceNav",
243
- "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
- }
286
- }
287
- ],
288
- "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
- },
328
- {
329
- "name": "moveConversation",
330
- "params": [
331
- {
332
- "name": "conversationId",
333
- "type": "string"
334
- }
335
- ]
336
- }
337
- ],
338
- "parts": [],
339
- "description": "构件 `ai-portal.elevo-sidebar`"
340
- },
341
- {
342
- "name": "ai-portal.icon-button",
343
- "properties": [
344
- {
345
- "name": "icon",
346
- "attribute": false,
347
- "type": "(GeneralIconProps & HTMLAttributes<GeneralIcon>)"
348
- },
349
- {
350
- "name": "tooltip",
351
- "type": "string"
352
- },
353
- {
354
- "name": "tooltipHoist",
355
- "type": "boolean"
356
- },
357
- {
358
- "name": "active",
359
- "type": "boolean"
360
- },
361
- {
362
- "name": "disabled",
363
- "type": "boolean"
364
- },
365
- {
366
- "name": "variant",
367
- "type": "IconButtonVariant"
368
- },
369
- {
370
- "name": "reduceIconSize",
371
- "description": "是否缩小图标尺寸(部分 easyops 图标过大)",
372
- "type": "boolean"
373
- }
374
- ],
375
- "events": [],
376
- "slots": [],
377
- "methods": [],
378
- "parts": [],
379
- "description": "构件 `ai-portal.icon-button`"
380
- },
381
170
  {
382
171
  "name": "ai-portal.stat-with-mini-chart",
383
172
  "properties": [
@@ -440,74 +229,58 @@
440
229
  "description": "构件 `ai-portal.stat-with-mini-chart`"
441
230
  },
442
231
  {
443
- "name": "ai-portal.chat-box",
232
+ "name": "ai-portal.home-container",
444
233
  "properties": [
445
234
  {
446
- "name": "disabled",
235
+ "name": "sticky",
447
236
  "type": "boolean"
237
+ }
238
+ ],
239
+ "events": [],
240
+ "slots": [],
241
+ "methods": [],
242
+ "parts": [],
243
+ "description": "构件 `ai-portal.home-container`"
244
+ },
245
+ {
246
+ "name": "ai-portal.icon-button",
247
+ "properties": [
248
+ {
249
+ "name": "icon",
250
+ "attribute": false,
251
+ "type": "(GeneralIconProps & HTMLAttributes<GeneralIcon>)"
448
252
  },
449
253
  {
450
- "name": "placeholder",
254
+ "name": "tooltip",
451
255
  "type": "string"
452
256
  },
453
257
  {
454
- "name": "autoFocus",
258
+ "name": "tooltipHoist",
455
259
  "type": "boolean"
456
260
  },
457
261
  {
458
- "name": "aiEmployees",
459
- "attribute": false,
460
- "type": "AIEmployee[]"
262
+ "name": "active",
263
+ "type": "boolean"
461
264
  },
462
265
  {
463
- "name": "commands",
464
- "attribute": false,
465
- "type": "Command[]"
266
+ "name": "disabled",
267
+ "type": "boolean"
466
268
  },
467
269
  {
468
- "name": "uploadOptions",
469
- "attribute": false,
470
- "type": "UploadOptions"
471
- }
472
- ],
473
- "events": [
474
- {
475
- "name": "message.submit",
476
- "description": "",
477
- "deprecated": "Use `chat.submit` event instead",
478
- "detail": {
479
- "type": "string"
480
- }
270
+ "name": "variant",
271
+ "type": "IconButtonVariant"
481
272
  },
482
273
  {
483
- "name": "chat.submit",
484
- "detail": {
485
- "type": "ChatPayload"
486
- }
274
+ "name": "reduceIconSize",
275
+ "description": "是否缩小图标尺寸(部分 easyops 图标过大)",
276
+ "type": "boolean"
487
277
  }
488
278
  ],
279
+ "events": [],
489
280
  "slots": [],
490
- "methods": [
491
- {
492
- "name": "setValue",
493
- "params": [
494
- {
495
- "name": "value",
496
- "type": "string"
497
- }
498
- ]
499
- },
500
- {
501
- "name": "getValue",
502
- "params": []
503
- },
504
- {
505
- "name": "focusOnInput",
506
- "params": []
507
- }
508
- ],
281
+ "methods": [],
509
282
  "parts": [],
510
- "description": "大型聊天输入框,用于首页"
283
+ "description": "构件 `ai-portal.icon-button`"
511
284
  },
512
285
  {
513
286
  "name": "ai-portal.show-cases",
@@ -829,86 +602,243 @@
829
602
  "methods": [],
830
603
  "parts": [
831
604
  {
832
- "name": "tabs",
833
- "description": "The tab list container"
605
+ "name": "tabs",
606
+ "description": "The tab list container"
607
+ },
608
+ {
609
+ "name": "tab",
610
+ "description": "The individual tab"
611
+ }
612
+ ],
613
+ "description": "构件 `ai-portal.tab-list`"
614
+ },
615
+ {
616
+ "name": "ai-portal.dropdown-select",
617
+ "properties": [
618
+ {
619
+ "name": "value",
620
+ "type": "string"
621
+ },
622
+ {
623
+ "name": "options",
624
+ "attribute": false,
625
+ "type": "DropdownOptions[]"
626
+ },
627
+ {
628
+ "name": "labelMaxWidth",
629
+ "attribute": false,
630
+ "type": "string | number"
631
+ },
632
+ {
633
+ "name": "loading",
634
+ "type": "boolean"
635
+ },
636
+ {
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"
834
690
  },
835
691
  {
836
- "name": "tab",
837
- "description": "The individual tab"
838
- }
839
- ],
840
- "description": "构件 `ai-portal.tab-list`"
841
- },
842
- {
843
- "name": "ai-portal.dropdown-select",
844
- "properties": [
692
+ "name": "newChatLinkWhenCollapsed",
693
+ "type": "boolean"
694
+ },
845
695
  {
846
- "name": "value",
696
+ "name": "historyUrlTemplate",
847
697
  "type": "string"
848
698
  },
849
699
  {
850
- "name": "options",
700
+ "name": "historyActions",
851
701
  "attribute": false,
852
- "type": "DropdownOptions[]"
702
+ "type": "ActionType[]"
853
703
  },
854
704
  {
855
- "name": "labelMaxWidth",
705
+ "name": "showProjects",
706
+ "type": "boolean"
707
+ },
708
+ {
709
+ "name": "projectUrlTemplate",
710
+ "type": "string"
711
+ },
712
+ {
713
+ "name": "projectActions",
856
714
  "attribute": false,
857
- "type": "string | number"
715
+ "type": "ActionType[]"
858
716
  },
859
717
  {
860
- "name": "loading",
861
- "type": "boolean"
718
+ "name": "personalActions",
719
+ "attribute": false,
720
+ "type": "ActionType[]"
862
721
  },
863
722
  {
864
- "name": "searchPlaceholder",
723
+ "name": "links",
865
724
  "attribute": false,
866
- "type": "string"
725
+ "type": "SidebarLink[]"
867
726
  },
868
727
  {
869
- "name": "dropdownContentStyle",
728
+ "name": "canAddProject",
729
+ "type": "boolean",
730
+ "default": "true"
731
+ },
732
+ {
733
+ "name": "myLinks",
870
734
  "attribute": false,
871
- "type": "React.CSSProperties"
735
+ "type": "SidebarLink[]"
872
736
  },
873
737
  {
874
- "name": "dropdownMaxWidth",
738
+ "name": "scope",
875
739
  "description": "",
876
- "default": "\"500px\"",
877
- "attribute": false,
878
- "type": "string | number"
740
+ "default": "\"default\"",
741
+ "type": "\"default\" | \"space\""
879
742
  },
880
743
  {
881
- "name": "showSearch",
882
- "description": "是否展示搜索框",
883
- "type": "boolean"
744
+ "name": "spaceNav",
745
+ "attribute": false,
746
+ "type": "SpaceNavProps"
884
747
  }
885
748
  ],
886
749
  "events": [
887
750
  {
888
- "name": "change",
751
+ "name": "logout",
889
752
  "detail": {
890
- "type": "DropdownOptions"
753
+ "type": "void"
754
+ }
755
+ },
756
+ {
757
+ "name": "action.click",
758
+ "description": "点击对话历史操作按钮时触发",
759
+ "detail": {
760
+ "type": "ActionClickDetail"
761
+ }
762
+ },
763
+ {
764
+ "name": "project.action.click",
765
+ "description": "点击项目操作按钮时触发",
766
+ "detail": {
767
+ "type": "ProjectActionClickDetail"
768
+ }
769
+ },
770
+ {
771
+ "name": "add.project",
772
+ "detail": {
773
+ "type": "void"
774
+ }
775
+ },
776
+ {
777
+ "name": "add.serviceflow",
778
+ "detail": {
779
+ "type": "void"
780
+ }
781
+ },
782
+ {
783
+ "name": "personal.action.click",
784
+ "description": "点击个人操作按钮时触发",
785
+ "detail": {
786
+ "type": "PersonalActionClickDetail"
891
787
  }
892
788
  }
893
789
  ],
894
790
  "slots": [],
895
- "methods": [],
896
- "parts": [],
897
- "description": "构件 `ai-portal.dropdown-select`"
898
- },
899
- {
900
- "name": "ai-portal.home-container",
901
- "properties": [
791
+ "methods": [
902
792
  {
903
- "name": "sticky",
904
- "type": "boolean"
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
+ ],
801
+ "description": "",
802
+ "returns": {}
803
+ },
804
+ {
805
+ "name": "open",
806
+ "params": []
807
+ },
808
+ {
809
+ "name": "close",
810
+ "params": []
811
+ },
812
+ {
813
+ "name": "removeProject",
814
+ "params": [
815
+ {
816
+ "name": "projectId",
817
+ "type": "string"
818
+ }
819
+ ]
820
+ },
821
+ {
822
+ "name": "addProject",
823
+ "params": [
824
+ {
825
+ "name": "project",
826
+ "type": "Project"
827
+ }
828
+ ]
829
+ },
830
+ {
831
+ "name": "moveConversation",
832
+ "params": [
833
+ {
834
+ "name": "conversationId",
835
+ "type": "string"
836
+ }
837
+ ]
905
838
  }
906
839
  ],
907
- "events": [],
908
- "slots": [],
909
- "methods": [],
910
840
  "parts": [],
911
- "description": "构件 `ai-portal.home-container`"
841
+ "description": "构件 `ai-portal.elevo-sidebar`"
912
842
  },
913
843
  {
914
844
  "name": "ai-portal.preview-container",
@@ -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
  }