@next-bricks/ai-portal 0.45.2 → 0.46.1

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.
@@ -3,6 +3,15 @@
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
+ "events": [],
10
+ "slots": [],
11
+ "methods": [],
12
+ "parts": [],
13
+ "description": "构件 `ai-portal.home-container`"
14
+ },
6
15
  {
7
16
  "name": "ai-portal.cruise-canvas",
8
17
  "properties": [
@@ -149,65 +158,138 @@
149
158
  "description": "构件 `ai-portal.cruise-canvas`"
150
159
  },
151
160
  {
152
- "name": "ai-portal.stat-with-mini-chart",
161
+ "name": "ai-portal.elevo-sidebar",
153
162
  "properties": [
154
163
  {
155
- "name": "label",
164
+ "name": "userInstanceId",
156
165
  "type": "string"
157
166
  },
158
167
  {
159
- "name": "value",
160
- "type": "string"
168
+ "name": "behavior",
169
+ "type": "\"default\" | \"drawer\""
161
170
  },
162
171
  {
163
- "name": "size",
164
- "description": "",
165
- "default": "\"medium\"",
166
- "type": "\"medium\" | \"small\""
172
+ "name": "bordered",
173
+ "type": "boolean"
167
174
  },
168
175
  {
169
- "name": "lineColor",
170
- "description": "",
171
- "default": "\"var(--color-brand)\"",
176
+ "name": "logoUrl",
172
177
  "type": "string"
173
178
  },
174
179
  {
175
- "name": "showArea",
180
+ "name": "newChatUrl",
181
+ "type": "string"
182
+ },
183
+ {
184
+ "name": "newChatLinkWhenCollapsed",
176
185
  "type": "boolean"
177
186
  },
178
187
  {
179
- "name": "min",
180
- "description": "Specify the minimum value of the y-axis.\nIf not specified, the minimum value will be calculated from the data.",
181
- "type": "number"
188
+ "name": "historyActiveId",
189
+ "type": "string"
182
190
  },
183
191
  {
184
- "name": "max",
185
- "description": "Specify the maximum value of the y-axis.\nIf not specified, the maximum value will be calculated from the data.",
186
- "type": "number"
192
+ "name": "historyUrlTemplate",
193
+ "type": "string"
187
194
  },
188
195
  {
189
- "name": "xField",
190
- "description": "",
191
- "default": "\"0\"",
196
+ "name": "historyActions",
197
+ "attribute": false,
198
+ "type": "ActionType[]"
199
+ },
200
+ {
201
+ "name": "projectActiveId",
192
202
  "type": "string"
193
203
  },
194
204
  {
195
- "name": "yField",
196
- "description": "",
197
- "default": "\"1\"",
205
+ "name": "projectUrlTemplate",
198
206
  "type": "string"
199
207
  },
200
208
  {
201
- "name": "data",
209
+ "name": "projectActions",
202
210
  "attribute": false,
203
- "type": "Record<string, number>[]"
211
+ "type": "ActionType[]"
212
+ },
213
+ {
214
+ "name": "links",
215
+ "attribute": false,
216
+ "type": "SidebarLink[]"
217
+ }
218
+ ],
219
+ "events": [
220
+ {
221
+ "name": "logout",
222
+ "detail": {
223
+ "type": "void"
224
+ }
225
+ },
226
+ {
227
+ "name": "action.click",
228
+ "detail": {
229
+ "type": "ActionClickDetail"
230
+ }
231
+ },
232
+ {
233
+ "name": "project.action.click",
234
+ "detail": {
235
+ "type": "ProjectActionClickDetail"
236
+ }
237
+ },
238
+ {
239
+ "name": "add.project",
240
+ "detail": {
241
+ "type": "void"
242
+ }
204
243
  }
205
244
  ],
206
- "events": [],
207
245
  "slots": [],
208
- "methods": [],
246
+ "methods": [
247
+ {
248
+ "name": "pullHistory",
249
+ "params": [
250
+ {
251
+ "name": "delay",
252
+ "description": "Delay in milliseconds before pulling the latest chat history.",
253
+ "type": "number"
254
+ }
255
+ ],
256
+ "description": "",
257
+ "returns": {}
258
+ },
259
+ {
260
+ "name": "close",
261
+ "params": []
262
+ },
263
+ {
264
+ "name": "removeProject",
265
+ "params": [
266
+ {
267
+ "name": "projectId",
268
+ "type": "string"
269
+ }
270
+ ]
271
+ },
272
+ {
273
+ "name": "addProject",
274
+ "params": [
275
+ {
276
+ "name": "project",
277
+ "type": "Project"
278
+ }
279
+ ]
280
+ },
281
+ {
282
+ "name": "moveConversation",
283
+ "params": [
284
+ {
285
+ "name": "conversationId",
286
+ "type": "string"
287
+ }
288
+ ]
289
+ }
290
+ ],
209
291
  "parts": [],
210
- "description": "构件 `ai-portal.stat-with-mini-chart`"
292
+ "description": "构件 `ai-portal.elevo-sidebar`"
211
293
  },
212
294
  {
213
295
  "name": "ai-portal.icon-button",
@@ -251,6 +333,27 @@
251
333
  "parts": [],
252
334
  "description": "构件 `ai-portal.show-cases`"
253
335
  },
336
+ {
337
+ "name": "ai-portal.mcp-tools",
338
+ "properties": [
339
+ {
340
+ "name": "list",
341
+ "attribute": false,
342
+ "type": "McpTool[]"
343
+ },
344
+ {
345
+ "name": "withContainer",
346
+ "description": "",
347
+ "deprecated": true,
348
+ "default": "true"
349
+ }
350
+ ],
351
+ "events": [],
352
+ "slots": [],
353
+ "methods": [],
354
+ "parts": [],
355
+ "description": "构件 `ai-portal.mcp-tools`"
356
+ },
254
357
  {
255
358
  "name": "ai-portal.chat-box",
256
359
  "properties": [
@@ -305,27 +408,6 @@
305
408
  "parts": [],
306
409
  "description": "构件 `ai-portal.chat-box`"
307
410
  },
308
- {
309
- "name": "ai-portal.mcp-tools",
310
- "properties": [
311
- {
312
- "name": "list",
313
- "attribute": false,
314
- "type": "McpTool[]"
315
- },
316
- {
317
- "name": "withContainer",
318
- "description": "",
319
- "deprecated": true,
320
- "default": "true"
321
- }
322
- ],
323
- "events": [],
324
- "slots": [],
325
- "methods": [],
326
- "parts": [],
327
- "description": "构件 `ai-portal.mcp-tools`"
328
- },
329
411
  {
330
412
  "name": "ai-portal.ai-employees",
331
413
  "properties": [
@@ -493,140 +575,6 @@
493
575
  "parts": [],
494
576
  "description": "构件 `ai-portal.chat-stream`"
495
577
  },
496
- {
497
- "name": "ai-portal.elevo-sidebar",
498
- "properties": [
499
- {
500
- "name": "userInstanceId",
501
- "type": "string"
502
- },
503
- {
504
- "name": "behavior",
505
- "type": "\"default\" | \"drawer\""
506
- },
507
- {
508
- "name": "bordered",
509
- "type": "boolean"
510
- },
511
- {
512
- "name": "logoUrl",
513
- "type": "string"
514
- },
515
- {
516
- "name": "newChatUrl",
517
- "type": "string"
518
- },
519
- {
520
- "name": "newChatLinkWhenCollapsed",
521
- "type": "boolean"
522
- },
523
- {
524
- "name": "historyActiveId",
525
- "type": "string"
526
- },
527
- {
528
- "name": "historyUrlTemplate",
529
- "type": "string"
530
- },
531
- {
532
- "name": "historyActions",
533
- "attribute": false,
534
- "type": "ActionType[]"
535
- },
536
- {
537
- "name": "projectActiveId",
538
- "type": "string"
539
- },
540
- {
541
- "name": "projectUrlTemplate",
542
- "type": "string"
543
- },
544
- {
545
- "name": "projectActions",
546
- "attribute": false,
547
- "type": "ActionType[]"
548
- },
549
- {
550
- "name": "links",
551
- "attribute": false,
552
- "type": "SidebarLink[]"
553
- }
554
- ],
555
- "events": [
556
- {
557
- "name": "logout",
558
- "detail": {
559
- "type": "void"
560
- }
561
- },
562
- {
563
- "name": "action.click",
564
- "detail": {
565
- "type": "ActionClickDetail"
566
- }
567
- },
568
- {
569
- "name": "project.action.click",
570
- "detail": {
571
- "type": "ProjectActionClickDetail"
572
- }
573
- },
574
- {
575
- "name": "add.project",
576
- "detail": {
577
- "type": "void"
578
- }
579
- }
580
- ],
581
- "slots": [],
582
- "methods": [
583
- {
584
- "name": "pullHistory",
585
- "params": [
586
- {
587
- "name": "delay",
588
- "description": "Delay in milliseconds before pulling the latest chat history.",
589
- "type": "number"
590
- }
591
- ],
592
- "description": "",
593
- "returns": {}
594
- },
595
- {
596
- "name": "close",
597
- "params": []
598
- },
599
- {
600
- "name": "removeProject",
601
- "params": [
602
- {
603
- "name": "projectId",
604
- "type": "string"
605
- }
606
- ]
607
- },
608
- {
609
- "name": "addProject",
610
- "params": [
611
- {
612
- "name": "project",
613
- "type": "Project"
614
- }
615
- ]
616
- },
617
- {
618
- "name": "moveConversation",
619
- "params": [
620
- {
621
- "name": "conversationId",
622
- "type": "string"
623
- }
624
- ]
625
- }
626
- ],
627
- "parts": [],
628
- "description": "构件 `ai-portal.elevo-sidebar`"
629
- },
630
578
  {
631
579
  "name": "ai-portal.ai-agents",
632
580
  "properties": [
@@ -725,15 +673,6 @@
725
673
  ],
726
674
  "description": "构件 `ai-portal.tab-list`"
727
675
  },
728
- {
729
- "name": "ai-portal.home-container",
730
- "properties": [],
731
- "events": [],
732
- "slots": [],
733
- "methods": [],
734
- "parts": [],
735
- "description": "构件 `ai-portal.home-container`"
736
- },
737
676
  {
738
677
  "name": "ai-portal.dropdown-select",
739
678
  "properties": [
@@ -791,6 +730,67 @@
791
730
  "parts": [],
792
731
  "description": "构件 `ai-portal.dropdown-select`"
793
732
  },
733
+ {
734
+ "name": "ai-portal.stat-with-mini-chart",
735
+ "properties": [
736
+ {
737
+ "name": "label",
738
+ "type": "string"
739
+ },
740
+ {
741
+ "name": "value",
742
+ "type": "string"
743
+ },
744
+ {
745
+ "name": "size",
746
+ "description": "",
747
+ "default": "\"medium\"",
748
+ "type": "\"medium\" | \"small\""
749
+ },
750
+ {
751
+ "name": "lineColor",
752
+ "description": "",
753
+ "default": "\"var(--color-brand)\"",
754
+ "type": "string"
755
+ },
756
+ {
757
+ "name": "showArea",
758
+ "type": "boolean"
759
+ },
760
+ {
761
+ "name": "min",
762
+ "description": "Specify the minimum value of the y-axis.\nIf not specified, the minimum value will be calculated from the data.",
763
+ "type": "number"
764
+ },
765
+ {
766
+ "name": "max",
767
+ "description": "Specify the maximum value of the y-axis.\nIf not specified, the maximum value will be calculated from the data.",
768
+ "type": "number"
769
+ },
770
+ {
771
+ "name": "xField",
772
+ "description": "",
773
+ "default": "\"0\"",
774
+ "type": "string"
775
+ },
776
+ {
777
+ "name": "yField",
778
+ "description": "",
779
+ "default": "\"1\"",
780
+ "type": "string"
781
+ },
782
+ {
783
+ "name": "data",
784
+ "attribute": false,
785
+ "type": "Record<string, number>[]"
786
+ }
787
+ ],
788
+ "events": [],
789
+ "slots": [],
790
+ "methods": [],
791
+ "parts": [],
792
+ "description": "构件 `ai-portal.stat-with-mini-chart`"
793
+ },
794
794
  {
795
795
  "name": "ai-portal.preview-container",
796
796
  "properties": [
@@ -887,7 +887,21 @@
887
887
  }
888
888
  ],
889
889
  "slots": [],
890
- "methods": [],
890
+ "methods": [
891
+ {
892
+ "name": "appendChildDone",
893
+ "params": [
894
+ {
895
+ "name": "pendingId",
896
+ "type": "string"
897
+ },
898
+ {
899
+ "name": "newItem",
900
+ "type": "GoalItem"
901
+ }
902
+ ]
903
+ }
904
+ ],
891
905
  "parts": [],
892
906
  "description": "构件 `ai-portal.goal-card-list`"
893
907
  },