@next-bricks/ai-portal 0.58.12 → 0.58.14

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.
@@ -162,96 +162,6 @@
162
162
  "parts": [],
163
163
  "description": "构件 `ai-portal.cruise-canvas`"
164
164
  },
165
- {
166
- "name": "ai-portal.chat-box",
167
- "properties": [
168
- {
169
- "name": "disabled",
170
- "type": "boolean"
171
- },
172
- {
173
- "name": "placeholder",
174
- "type": "string"
175
- },
176
- {
177
- "name": "autoFocus",
178
- "type": "boolean"
179
- },
180
- {
181
- "name": "aiEmployees",
182
- "attribute": false,
183
- "type": "AIEmployee[]"
184
- },
185
- {
186
- "name": "commands",
187
- "attribute": false,
188
- "type": "Command[]"
189
- },
190
- {
191
- "name": "uploadOptions",
192
- "attribute": false,
193
- "type": "UploadOptions"
194
- }
195
- ],
196
- "events": [
197
- {
198
- "name": "message.submit",
199
- "description": "",
200
- "deprecated": "Use `chat.submit` event instead",
201
- "detail": {
202
- "type": "string"
203
- }
204
- },
205
- {
206
- "name": "chat.submit",
207
- "detail": {
208
- "type": "ChatPayload"
209
- }
210
- },
211
- {
212
- "name": "command.select",
213
- "detail": {
214
- "type": "CommandPayload | null"
215
- }
216
- }
217
- ],
218
- "slots": [],
219
- "methods": [
220
- {
221
- "name": "setValue",
222
- "params": [
223
- {
224
- "name": "value",
225
- "type": "string"
226
- }
227
- ]
228
- },
229
- {
230
- "name": "getValue",
231
- "params": []
232
- },
233
- {
234
- "name": "focusOnInput",
235
- "params": []
236
- }
237
- ],
238
- "parts": [],
239
- "description": "构件 `ai-portal.chat-box`"
240
- },
241
- {
242
- "name": "ai-portal.home-container",
243
- "properties": [
244
- {
245
- "name": "sticky",
246
- "type": "boolean"
247
- }
248
- ],
249
- "events": [],
250
- "slots": [],
251
- "methods": [],
252
- "parts": [],
253
- "description": "构件 `ai-portal.home-container`"
254
- },
255
165
  {
256
166
  "name": "ai-portal.stat-with-mini-chart",
257
167
  "properties": [
@@ -313,142 +223,6 @@
313
223
  "parts": [],
314
224
  "description": "构件 `ai-portal.stat-with-mini-chart`"
315
225
  },
316
- {
317
- "name": "ai-portal.elevo-sidebar",
318
- "properties": [
319
- {
320
- "name": "userInstanceId",
321
- "type": "string"
322
- },
323
- {
324
- "name": "behavior",
325
- "type": "\"default\" | \"drawer\""
326
- },
327
- {
328
- "name": "logoUrl",
329
- "type": "string"
330
- },
331
- {
332
- "name": "newChatUrl",
333
- "type": "string"
334
- },
335
- {
336
- "name": "newChatLinkWhenCollapsed",
337
- "type": "boolean"
338
- },
339
- {
340
- "name": "historyUrlTemplate",
341
- "type": "string"
342
- },
343
- {
344
- "name": "historyActions",
345
- "attribute": false,
346
- "type": "ActionType[]"
347
- },
348
- {
349
- "name": "projectUrlTemplate",
350
- "type": "string"
351
- },
352
- {
353
- "name": "projectActions",
354
- "attribute": false,
355
- "type": "ActionType[]"
356
- },
357
- {
358
- "name": "links",
359
- "attribute": false,
360
- "type": "SidebarLink[]"
361
- },
362
- {
363
- "name": "canAddProject",
364
- "type": "boolean",
365
- "default": "true"
366
- },
367
- {
368
- "name": "myLinks",
369
- "attribute": false,
370
- "type": "SidebarLink[]"
371
- }
372
- ],
373
- "events": [
374
- {
375
- "name": "logout",
376
- "detail": {
377
- "type": "void"
378
- }
379
- },
380
- {
381
- "name": "action.click",
382
- "detail": {
383
- "type": "ActionClickDetail"
384
- }
385
- },
386
- {
387
- "name": "project.action.click",
388
- "detail": {
389
- "type": "ProjectActionClickDetail"
390
- }
391
- },
392
- {
393
- "name": "add.project",
394
- "detail": {
395
- "type": "void"
396
- }
397
- }
398
- ],
399
- "slots": [],
400
- "methods": [
401
- {
402
- "name": "pullHistory",
403
- "params": [
404
- {
405
- "name": "delay",
406
- "description": "Delay in milliseconds before pulling the latest chat history.",
407
- "type": "number"
408
- }
409
- ],
410
- "description": "",
411
- "returns": {}
412
- },
413
- {
414
- "name": "open",
415
- "params": []
416
- },
417
- {
418
- "name": "close",
419
- "params": []
420
- },
421
- {
422
- "name": "removeProject",
423
- "params": [
424
- {
425
- "name": "projectId",
426
- "type": "string"
427
- }
428
- ]
429
- },
430
- {
431
- "name": "addProject",
432
- "params": [
433
- {
434
- "name": "project",
435
- "type": "Project"
436
- }
437
- ]
438
- },
439
- {
440
- "name": "moveConversation",
441
- "params": [
442
- {
443
- "name": "conversationId",
444
- "type": "string"
445
- }
446
- ]
447
- }
448
- ],
449
- "parts": [],
450
- "description": "构件 `ai-portal.elevo-sidebar`"
451
- },
452
226
  {
453
227
  "name": "ai-portal.icon-button",
454
228
  "properties": [
@@ -480,6 +254,20 @@
480
254
  "parts": [],
481
255
  "description": "构件 `ai-portal.icon-button`"
482
256
  },
257
+ {
258
+ "name": "ai-portal.home-container",
259
+ "properties": [
260
+ {
261
+ "name": "sticky",
262
+ "type": "boolean"
263
+ }
264
+ ],
265
+ "events": [],
266
+ "slots": [],
267
+ "methods": [],
268
+ "parts": [],
269
+ "description": "构件 `ai-portal.home-container`"
270
+ },
483
271
  {
484
272
  "name": "ai-portal.show-cases",
485
273
  "properties": [
@@ -786,20 +574,156 @@
786
574
  "description": "构件 `ai-portal.page-container`"
787
575
  },
788
576
  {
789
- "name": "ai-portal.tab-list",
577
+ "name": "ai-portal.elevo-sidebar",
790
578
  "properties": [
791
579
  {
792
- "name": "tabs",
793
- "attribute": false,
794
- "type": "Tab[]"
580
+ "name": "userInstanceId",
581
+ "type": "string"
795
582
  },
796
583
  {
797
- "name": "activeTab",
798
- "attribute": false,
799
- "type": "string"
800
- }
801
- ],
802
- "events": [
584
+ "name": "behavior",
585
+ "type": "\"default\" | \"drawer\""
586
+ },
587
+ {
588
+ "name": "logoUrl",
589
+ "type": "string"
590
+ },
591
+ {
592
+ "name": "newChatUrl",
593
+ "type": "string"
594
+ },
595
+ {
596
+ "name": "newChatLinkWhenCollapsed",
597
+ "type": "boolean"
598
+ },
599
+ {
600
+ "name": "historyUrlTemplate",
601
+ "type": "string"
602
+ },
603
+ {
604
+ "name": "historyActions",
605
+ "attribute": false,
606
+ "type": "ActionType[]"
607
+ },
608
+ {
609
+ "name": "projectUrlTemplate",
610
+ "type": "string"
611
+ },
612
+ {
613
+ "name": "projectActions",
614
+ "attribute": false,
615
+ "type": "ActionType[]"
616
+ },
617
+ {
618
+ "name": "links",
619
+ "attribute": false,
620
+ "type": "SidebarLink[]"
621
+ },
622
+ {
623
+ "name": "canAddProject",
624
+ "type": "boolean",
625
+ "default": "true"
626
+ },
627
+ {
628
+ "name": "myLinks",
629
+ "attribute": false,
630
+ "type": "SidebarLink[]"
631
+ }
632
+ ],
633
+ "events": [
634
+ {
635
+ "name": "logout",
636
+ "detail": {
637
+ "type": "void"
638
+ }
639
+ },
640
+ {
641
+ "name": "action.click",
642
+ "detail": {
643
+ "type": "ActionClickDetail"
644
+ }
645
+ },
646
+ {
647
+ "name": "project.action.click",
648
+ "detail": {
649
+ "type": "ProjectActionClickDetail"
650
+ }
651
+ },
652
+ {
653
+ "name": "add.project",
654
+ "detail": {
655
+ "type": "void"
656
+ }
657
+ }
658
+ ],
659
+ "slots": [],
660
+ "methods": [
661
+ {
662
+ "name": "pullHistory",
663
+ "params": [
664
+ {
665
+ "name": "delay",
666
+ "description": "Delay in milliseconds before pulling the latest chat history.",
667
+ "type": "number"
668
+ }
669
+ ],
670
+ "description": "",
671
+ "returns": {}
672
+ },
673
+ {
674
+ "name": "open",
675
+ "params": []
676
+ },
677
+ {
678
+ "name": "close",
679
+ "params": []
680
+ },
681
+ {
682
+ "name": "removeProject",
683
+ "params": [
684
+ {
685
+ "name": "projectId",
686
+ "type": "string"
687
+ }
688
+ ]
689
+ },
690
+ {
691
+ "name": "addProject",
692
+ "params": [
693
+ {
694
+ "name": "project",
695
+ "type": "Project"
696
+ }
697
+ ]
698
+ },
699
+ {
700
+ "name": "moveConversation",
701
+ "params": [
702
+ {
703
+ "name": "conversationId",
704
+ "type": "string"
705
+ }
706
+ ]
707
+ }
708
+ ],
709
+ "parts": [],
710
+ "description": "构件 `ai-portal.elevo-sidebar`"
711
+ },
712
+ {
713
+ "name": "ai-portal.tab-list",
714
+ "properties": [
715
+ {
716
+ "name": "tabs",
717
+ "attribute": false,
718
+ "type": "Tab[]"
719
+ },
720
+ {
721
+ "name": "activeTab",
722
+ "attribute": false,
723
+ "type": "string"
724
+ }
725
+ ],
726
+ "events": [
803
727
  {
804
728
  "name": "tab.click",
805
729
  "detail": {
@@ -897,6 +821,82 @@
897
821
  "parts": [],
898
822
  "description": "构件 `ai-portal.preview-container`"
899
823
  },
824
+ {
825
+ "name": "ai-portal.chat-box",
826
+ "properties": [
827
+ {
828
+ "name": "disabled",
829
+ "type": "boolean"
830
+ },
831
+ {
832
+ "name": "placeholder",
833
+ "type": "string"
834
+ },
835
+ {
836
+ "name": "autoFocus",
837
+ "type": "boolean"
838
+ },
839
+ {
840
+ "name": "aiEmployees",
841
+ "attribute": false,
842
+ "type": "AIEmployee[]"
843
+ },
844
+ {
845
+ "name": "commands",
846
+ "attribute": false,
847
+ "type": "Command[]"
848
+ },
849
+ {
850
+ "name": "uploadOptions",
851
+ "attribute": false,
852
+ "type": "UploadOptions"
853
+ }
854
+ ],
855
+ "events": [
856
+ {
857
+ "name": "message.submit",
858
+ "description": "",
859
+ "deprecated": "Use `chat.submit` event instead",
860
+ "detail": {
861
+ "type": "string"
862
+ }
863
+ },
864
+ {
865
+ "name": "chat.submit",
866
+ "detail": {
867
+ "type": "ChatPayload"
868
+ }
869
+ },
870
+ {
871
+ "name": "command.select",
872
+ "detail": {
873
+ "type": "CommandPayload | null"
874
+ }
875
+ }
876
+ ],
877
+ "slots": [],
878
+ "methods": [
879
+ {
880
+ "name": "setValue",
881
+ "params": [
882
+ {
883
+ "name": "value",
884
+ "type": "string"
885
+ }
886
+ ]
887
+ },
888
+ {
889
+ "name": "getValue",
890
+ "params": []
891
+ },
892
+ {
893
+ "name": "focusOnInput",
894
+ "params": []
895
+ }
896
+ ],
897
+ "parts": [],
898
+ "description": "构件 `ai-portal.chat-box`"
899
+ },
900
900
  {
901
901
  "name": "ai-portal.action-buttons",
902
902
  "properties": [
@@ -1042,6 +1042,57 @@
1042
1042
  "parts": [],
1043
1043
  "description": "构件 `ai-portal.activity-timeline`"
1044
1044
  },
1045
+ {
1046
+ "name": "ai-portal.project-conversations",
1047
+ "properties": [
1048
+ {
1049
+ "name": "list",
1050
+ "attribute": false,
1051
+ "type": "Conversation[]"
1052
+ },
1053
+ {
1054
+ "name": "urlTemplate",
1055
+ "type": "string"
1056
+ },
1057
+ {
1058
+ "name": "actions",
1059
+ "attribute": false,
1060
+ "type": "ActionType[]"
1061
+ },
1062
+ {
1063
+ "name": "goals",
1064
+ "attribute": false,
1065
+ "type": "Goal[]"
1066
+ }
1067
+ ],
1068
+ "events": [
1069
+ {
1070
+ "name": "goal.click",
1071
+ "detail": {
1072
+ "type": "Conversation"
1073
+ }
1074
+ },
1075
+ {
1076
+ "name": "action.click",
1077
+ "detail": {
1078
+ "type": "ActionClickDetail"
1079
+ }
1080
+ }
1081
+ ],
1082
+ "slots": [],
1083
+ "methods": [],
1084
+ "parts": [],
1085
+ "description": "构件 `ai-portal.project-conversations`"
1086
+ },
1087
+ {
1088
+ "name": "ai-portal.elevo-logo",
1089
+ "properties": [],
1090
+ "events": [],
1091
+ "slots": [],
1092
+ "methods": [],
1093
+ "parts": [],
1094
+ "description": "构件 `ai-portal.elevo-logo`"
1095
+ },
1045
1096
  {
1046
1097
  "name": "ai-portal.chat-input",
1047
1098
  "properties": [
@@ -1098,57 +1149,6 @@
1098
1149
  "parts": [],
1099
1150
  "description": "构件 `ai-portal.chat-input`"
1100
1151
  },
1101
- {
1102
- "name": "ai-portal.project-conversations",
1103
- "properties": [
1104
- {
1105
- "name": "list",
1106
- "attribute": false,
1107
- "type": "Conversation[]"
1108
- },
1109
- {
1110
- "name": "urlTemplate",
1111
- "type": "string"
1112
- },
1113
- {
1114
- "name": "actions",
1115
- "attribute": false,
1116
- "type": "ActionType[]"
1117
- },
1118
- {
1119
- "name": "goals",
1120
- "attribute": false,
1121
- "type": "Goal[]"
1122
- }
1123
- ],
1124
- "events": [
1125
- {
1126
- "name": "goal.click",
1127
- "detail": {
1128
- "type": "Conversation"
1129
- }
1130
- },
1131
- {
1132
- "name": "action.click",
1133
- "detail": {
1134
- "type": "ActionClickDetail"
1135
- }
1136
- }
1137
- ],
1138
- "slots": [],
1139
- "methods": [],
1140
- "parts": [],
1141
- "description": "构件 `ai-portal.project-conversations`"
1142
- },
1143
- {
1144
- "name": "ai-portal.elevo-logo",
1145
- "properties": [],
1146
- "events": [],
1147
- "slots": [],
1148
- "methods": [],
1149
- "parts": [],
1150
- "description": "构件 `ai-portal.elevo-logo`"
1151
- },
1152
1152
  {
1153
1153
  "name": "ai-portal.show-case",
1154
1154
  "properties": [