@next-bricks/ai-portal 0.39.0 → 0.39.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.
@@ -13,65 +13,144 @@
13
13
  "description": "构件 `ai-portal.home-container`"
14
14
  },
15
15
  {
16
- "name": "ai-portal.stat-with-mini-chart",
16
+ "name": "ai-portal.elevo-sidebar",
17
17
  "properties": [
18
18
  {
19
- "name": "label",
20
- "type": "string"
19
+ "name": "legacy",
20
+ "description": "",
21
+ "deprecated": true,
22
+ "default": "true"
21
23
  },
22
24
  {
23
- "name": "value",
25
+ "name": "userInstanceId",
24
26
  "type": "string"
25
27
  },
26
28
  {
27
- "name": "size",
28
- "description": "",
29
- "default": "\"medium\"",
30
- "type": "\"medium\" | \"small\""
29
+ "name": "behavior",
30
+ "type": "\"default\" | \"drawer\""
31
31
  },
32
32
  {
33
- "name": "lineColor",
34
- "description": "",
35
- "default": "\"var(--color-brand)\"",
33
+ "name": "bordered",
34
+ "type": "boolean"
35
+ },
36
+ {
37
+ "name": "logoUrl",
36
38
  "type": "string"
37
39
  },
38
40
  {
39
- "name": "showArea",
41
+ "name": "newChatUrl",
42
+ "type": "string"
43
+ },
44
+ {
45
+ "name": "newChatLinkWhenCollapsed",
40
46
  "type": "boolean"
41
47
  },
42
48
  {
43
- "name": "min",
44
- "description": "Specify the minimum value of the y-axis.\nIf not specified, the minimum value will be calculated from the data.",
45
- "type": "number"
49
+ "name": "historyActiveId",
50
+ "type": "string"
46
51
  },
47
52
  {
48
- "name": "max",
49
- "description": "Specify the maximum value of the y-axis.\nIf not specified, the maximum value will be calculated from the data.",
50
- "type": "number"
53
+ "name": "historyUrlTemplate",
54
+ "type": "string"
51
55
  },
52
56
  {
53
- "name": "xField",
54
- "description": "",
55
- "default": "\"0\"",
57
+ "name": "historyActions",
58
+ "attribute": false,
59
+ "type": "ActionType[]"
60
+ },
61
+ {
62
+ "name": "projectActiveId",
56
63
  "type": "string"
57
64
  },
58
65
  {
59
- "name": "yField",
60
- "description": "",
61
- "default": "\"1\"",
66
+ "name": "projectUrlTemplate",
62
67
  "type": "string"
63
68
  },
64
69
  {
65
- "name": "data",
70
+ "name": "projectActions",
66
71
  "attribute": false,
67
- "type": "Record<string, number>[]"
72
+ "type": "ActionType[]"
73
+ },
74
+ {
75
+ "name": "links",
76
+ "attribute": false,
77
+ "type": "SidebarLink[]"
78
+ }
79
+ ],
80
+ "events": [
81
+ {
82
+ "name": "logout",
83
+ "detail": {
84
+ "type": "void"
85
+ }
86
+ },
87
+ {
88
+ "name": "action.click",
89
+ "detail": {
90
+ "type": "ActionClickDetail | LegacyActionClickDetail"
91
+ }
92
+ },
93
+ {
94
+ "name": "project.action.click",
95
+ "detail": {
96
+ "type": "ProjectActionClickDetail"
97
+ }
98
+ },
99
+ {
100
+ "name": "add.project",
101
+ "detail": {
102
+ "type": "void"
103
+ }
68
104
  }
69
105
  ],
70
- "events": [],
71
106
  "slots": [],
72
- "methods": [],
107
+ "methods": [
108
+ {
109
+ "name": "pullHistory",
110
+ "params": [
111
+ {
112
+ "name": "delay",
113
+ "description": "Delay in milliseconds before pulling the latest chat history.",
114
+ "type": "number"
115
+ }
116
+ ],
117
+ "description": "",
118
+ "returns": {}
119
+ },
120
+ {
121
+ "name": "close",
122
+ "params": []
123
+ },
124
+ {
125
+ "name": "removeProject",
126
+ "params": [
127
+ {
128
+ "name": "projectId",
129
+ "type": "string"
130
+ }
131
+ ]
132
+ },
133
+ {
134
+ "name": "addProject",
135
+ "params": [
136
+ {
137
+ "name": "project",
138
+ "type": "Project"
139
+ }
140
+ ]
141
+ },
142
+ {
143
+ "name": "moveConversation",
144
+ "params": [
145
+ {
146
+ "name": "conversationId",
147
+ "type": "string"
148
+ }
149
+ ]
150
+ }
151
+ ],
73
152
  "parts": [],
74
- "description": "构件 `ai-portal.stat-with-mini-chart`"
153
+ "description": "构件 `ai-portal.elevo-sidebar`"
75
154
  },
76
155
  {
77
156
  "name": "ai-portal.cruise-canvas",
@@ -209,144 +288,23 @@
209
288
  "description": "构件 `ai-portal.cruise-canvas`"
210
289
  },
211
290
  {
212
- "name": "ai-portal.elevo-sidebar",
291
+ "name": "ai-portal.show-cases",
213
292
  "properties": [
214
293
  {
215
- "name": "legacy",
216
- "description": "",
217
- "deprecated": true,
218
- "default": "true"
219
- },
220
- {
221
- "name": "userInstanceId",
222
- "type": "string"
223
- },
224
- {
225
- "name": "behavior",
226
- "type": "\"default\" | \"drawer\""
227
- },
228
- {
229
- "name": "bordered",
230
- "type": "boolean"
231
- },
232
- {
233
- "name": "logoUrl",
234
- "type": "string"
235
- },
236
- {
237
- "name": "newChatUrl",
238
- "type": "string"
239
- },
240
- {
241
- "name": "newChatLinkWhenCollapsed",
242
- "type": "boolean"
243
- },
244
- {
245
- "name": "historyActiveId",
246
- "type": "string"
247
- },
248
- {
249
- "name": "historyUrlTemplate",
250
- "type": "string"
251
- },
252
- {
253
- "name": "historyActions",
294
+ "name": "list",
254
295
  "attribute": false,
255
- "type": "ActionType[]"
256
- },
257
- {
258
- "name": "projectActiveId",
259
- "type": "string"
296
+ "type": "ShowCase[]"
260
297
  },
261
298
  {
262
- "name": "projectUrlTemplate",
299
+ "name": "taskUrlTemplate",
263
300
  "type": "string"
264
- },
265
- {
266
- "name": "projectActions",
267
- "attribute": false,
268
- "type": "ActionType[]"
269
- },
270
- {
271
- "name": "links",
272
- "attribute": false,
273
- "type": "SidebarLink[]"
274
- }
275
- ],
276
- "events": [
277
- {
278
- "name": "logout",
279
- "detail": {
280
- "type": "void"
281
- }
282
- },
283
- {
284
- "name": "action.click",
285
- "detail": {
286
- "type": "ActionClickDetail | LegacyActionClickDetail"
287
- }
288
- },
289
- {
290
- "name": "project.action.click",
291
- "detail": {
292
- "type": "ProjectActionClickDetail"
293
- }
294
- },
295
- {
296
- "name": "add.project",
297
- "detail": {
298
- "type": "void"
299
- }
300
301
  }
301
302
  ],
303
+ "events": [],
302
304
  "slots": [],
303
- "methods": [
304
- {
305
- "name": "pullHistory",
306
- "params": [
307
- {
308
- "name": "delay",
309
- "description": "Delay in milliseconds before pulling the latest chat history.",
310
- "type": "number"
311
- }
312
- ],
313
- "description": "",
314
- "returns": {}
315
- },
316
- {
317
- "name": "close",
318
- "params": []
319
- },
320
- {
321
- "name": "removeProject",
322
- "params": [
323
- {
324
- "name": "projectId",
325
- "type": "string"
326
- }
327
- ]
328
- },
329
- {
330
- "name": "addProject",
331
- "params": [
332
- {
333
- "name": "project",
334
- "type": "Project"
335
- }
336
- ]
337
- },
338
- {
339
- "name": "moveConversation",
340
- "params": [
341
- {
342
- "name": "conversationId",
343
- "type": "string"
344
- }
345
- ]
346
- }
347
- ],
305
+ "methods": [],
348
306
  "parts": [],
349
- "description": "构件 `ai-portal.elevo-sidebar`"
307
+ "description": "构件 `ai-portal.show-cases`"
350
308
  },
351
309
  {
352
310
  "name": "ai-portal.icon-button",
@@ -375,25 +333,6 @@
375
333
  "parts": [],
376
334
  "description": "构件 `ai-portal.icon-button`"
377
335
  },
378
- {
379
- "name": "ai-portal.show-cases",
380
- "properties": [
381
- {
382
- "name": "list",
383
- "attribute": false,
384
- "type": "ShowCase[]"
385
- },
386
- {
387
- "name": "taskUrlTemplate",
388
- "type": "string"
389
- }
390
- ],
391
- "events": [],
392
- "slots": [],
393
- "methods": [],
394
- "parts": [],
395
- "description": "构件 `ai-portal.show-cases`"
396
- },
397
336
  {
398
337
  "name": "ai-portal.mcp-tools",
399
338
  "properties": [
@@ -624,25 +563,6 @@
624
563
  "parts": [],
625
564
  "description": "构件 `ai-portal.page-container`"
626
565
  },
627
- {
628
- "name": "ai-portal.project-summary",
629
- "properties": [
630
- {
631
- "name": "chatList",
632
- "attribute": false,
633
- "type": "Chat[]"
634
- },
635
- {
636
- "name": "chatUrlTemplate",
637
- "type": "string"
638
- }
639
- ],
640
- "events": [],
641
- "slots": [],
642
- "methods": [],
643
- "parts": [],
644
- "description": "构件 `ai-portal.project-summary`"
645
- },
646
566
  {
647
567
  "name": "ai-portal.tab-list",
648
568
  "properties": [
@@ -679,6 +599,25 @@
679
599
  ],
680
600
  "description": "构件 `ai-portal.tab-list`"
681
601
  },
602
+ {
603
+ "name": "ai-portal.project-summary",
604
+ "properties": [
605
+ {
606
+ "name": "chatList",
607
+ "attribute": false,
608
+ "type": "Chat[]"
609
+ },
610
+ {
611
+ "name": "chatUrlTemplate",
612
+ "type": "string"
613
+ }
614
+ ],
615
+ "events": [],
616
+ "slots": [],
617
+ "methods": [],
618
+ "parts": [],
619
+ "description": "构件 `ai-portal.project-summary`"
620
+ },
682
621
  {
683
622
  "name": "ai-portal.dropdown-select",
684
623
  "properties": [
@@ -760,6 +699,67 @@
760
699
  "parts": [],
761
700
  "description": "构件 `ai-portal.chat-box`"
762
701
  },
702
+ {
703
+ "name": "ai-portal.stat-with-mini-chart",
704
+ "properties": [
705
+ {
706
+ "name": "label",
707
+ "type": "string"
708
+ },
709
+ {
710
+ "name": "value",
711
+ "type": "string"
712
+ },
713
+ {
714
+ "name": "size",
715
+ "description": "",
716
+ "default": "\"medium\"",
717
+ "type": "\"medium\" | \"small\""
718
+ },
719
+ {
720
+ "name": "lineColor",
721
+ "description": "",
722
+ "default": "\"var(--color-brand)\"",
723
+ "type": "string"
724
+ },
725
+ {
726
+ "name": "showArea",
727
+ "type": "boolean"
728
+ },
729
+ {
730
+ "name": "min",
731
+ "description": "Specify the minimum value of the y-axis.\nIf not specified, the minimum value will be calculated from the data.",
732
+ "type": "number"
733
+ },
734
+ {
735
+ "name": "max",
736
+ "description": "Specify the maximum value of the y-axis.\nIf not specified, the maximum value will be calculated from the data.",
737
+ "type": "number"
738
+ },
739
+ {
740
+ "name": "xField",
741
+ "description": "",
742
+ "default": "\"0\"",
743
+ "type": "string"
744
+ },
745
+ {
746
+ "name": "yField",
747
+ "description": "",
748
+ "default": "\"1\"",
749
+ "type": "string"
750
+ },
751
+ {
752
+ "name": "data",
753
+ "attribute": false,
754
+ "type": "Record<string, number>[]"
755
+ }
756
+ ],
757
+ "events": [],
758
+ "slots": [],
759
+ "methods": [],
760
+ "parts": [],
761
+ "description": "构件 `ai-portal.stat-with-mini-chart`"
762
+ },
763
763
  {
764
764
  "name": "ai-portal.preview-container",
765
765
  "properties": [