@next-bricks/ai-portal 0.39.1 → 0.39.2

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.
@@ -4,153 +4,65 @@
4
4
  "name": "ai-portal",
5
5
  "bricks": [
6
6
  {
7
- "name": "ai-portal.home-container",
8
- "properties": [],
9
- "events": [],
10
- "slots": [],
11
- "methods": [],
12
- "parts": [],
13
- "description": "构件 `ai-portal.home-container`"
14
- },
15
- {
16
- "name": "ai-portal.elevo-sidebar",
7
+ "name": "ai-portal.stat-with-mini-chart",
17
8
  "properties": [
18
9
  {
19
- "name": "legacy",
20
- "description": "",
21
- "deprecated": true,
22
- "default": "true"
23
- },
24
- {
25
- "name": "userInstanceId",
10
+ "name": "label",
26
11
  "type": "string"
27
12
  },
28
13
  {
29
- "name": "behavior",
30
- "type": "\"default\" | \"drawer\""
31
- },
32
- {
33
- "name": "bordered",
34
- "type": "boolean"
14
+ "name": "value",
15
+ "type": "string"
35
16
  },
36
17
  {
37
- "name": "logoUrl",
38
- "type": "string"
18
+ "name": "size",
19
+ "description": "",
20
+ "default": "\"medium\"",
21
+ "type": "\"medium\" | \"small\""
39
22
  },
40
23
  {
41
- "name": "newChatUrl",
24
+ "name": "lineColor",
25
+ "description": "",
26
+ "default": "\"var(--color-brand)\"",
42
27
  "type": "string"
43
28
  },
44
29
  {
45
- "name": "newChatLinkWhenCollapsed",
30
+ "name": "showArea",
46
31
  "type": "boolean"
47
32
  },
48
33
  {
49
- "name": "historyActiveId",
50
- "type": "string"
51
- },
52
- {
53
- "name": "historyUrlTemplate",
54
- "type": "string"
34
+ "name": "min",
35
+ "description": "Specify the minimum value of the y-axis.\nIf not specified, the minimum value will be calculated from the data.",
36
+ "type": "number"
55
37
  },
56
38
  {
57
- "name": "historyActions",
58
- "attribute": false,
59
- "type": "ActionType[]"
39
+ "name": "max",
40
+ "description": "Specify the maximum value of the y-axis.\nIf not specified, the maximum value will be calculated from the data.",
41
+ "type": "number"
60
42
  },
61
43
  {
62
- "name": "projectActiveId",
44
+ "name": "xField",
45
+ "description": "",
46
+ "default": "\"0\"",
63
47
  "type": "string"
64
48
  },
65
49
  {
66
- "name": "projectUrlTemplate",
50
+ "name": "yField",
51
+ "description": "",
52
+ "default": "\"1\"",
67
53
  "type": "string"
68
54
  },
69
55
  {
70
- "name": "projectActions",
71
- "attribute": false,
72
- "type": "ActionType[]"
73
- },
74
- {
75
- "name": "links",
56
+ "name": "data",
76
57
  "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
- }
58
+ "type": "Record<string, number>[]"
104
59
  }
105
60
  ],
61
+ "events": [],
106
62
  "slots": [],
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
- ],
63
+ "methods": [],
152
64
  "parts": [],
153
- "description": "构件 `ai-portal.elevo-sidebar`"
65
+ "description": "构件 `ai-portal.stat-with-mini-chart`"
154
66
  },
155
67
  {
156
68
  "name": "ai-portal.cruise-canvas",
@@ -288,23 +200,144 @@
288
200
  "description": "构件 `ai-portal.cruise-canvas`"
289
201
  },
290
202
  {
291
- "name": "ai-portal.show-cases",
203
+ "name": "ai-portal.elevo-sidebar",
292
204
  "properties": [
293
205
  {
294
- "name": "list",
206
+ "name": "legacy",
207
+ "description": "",
208
+ "deprecated": true,
209
+ "default": "true"
210
+ },
211
+ {
212
+ "name": "userInstanceId",
213
+ "type": "string"
214
+ },
215
+ {
216
+ "name": "behavior",
217
+ "type": "\"default\" | \"drawer\""
218
+ },
219
+ {
220
+ "name": "bordered",
221
+ "type": "boolean"
222
+ },
223
+ {
224
+ "name": "logoUrl",
225
+ "type": "string"
226
+ },
227
+ {
228
+ "name": "newChatUrl",
229
+ "type": "string"
230
+ },
231
+ {
232
+ "name": "newChatLinkWhenCollapsed",
233
+ "type": "boolean"
234
+ },
235
+ {
236
+ "name": "historyActiveId",
237
+ "type": "string"
238
+ },
239
+ {
240
+ "name": "historyUrlTemplate",
241
+ "type": "string"
242
+ },
243
+ {
244
+ "name": "historyActions",
295
245
  "attribute": false,
296
- "type": "ShowCase[]"
246
+ "type": "ActionType[]"
297
247
  },
298
248
  {
299
- "name": "taskUrlTemplate",
249
+ "name": "projectActiveId",
300
250
  "type": "string"
251
+ },
252
+ {
253
+ "name": "projectUrlTemplate",
254
+ "type": "string"
255
+ },
256
+ {
257
+ "name": "projectActions",
258
+ "attribute": false,
259
+ "type": "ActionType[]"
260
+ },
261
+ {
262
+ "name": "links",
263
+ "attribute": false,
264
+ "type": "SidebarLink[]"
265
+ }
266
+ ],
267
+ "events": [
268
+ {
269
+ "name": "logout",
270
+ "detail": {
271
+ "type": "void"
272
+ }
273
+ },
274
+ {
275
+ "name": "action.click",
276
+ "detail": {
277
+ "type": "ActionClickDetail | LegacyActionClickDetail"
278
+ }
279
+ },
280
+ {
281
+ "name": "project.action.click",
282
+ "detail": {
283
+ "type": "ProjectActionClickDetail"
284
+ }
285
+ },
286
+ {
287
+ "name": "add.project",
288
+ "detail": {
289
+ "type": "void"
290
+ }
301
291
  }
302
292
  ],
303
- "events": [],
304
293
  "slots": [],
305
- "methods": [],
294
+ "methods": [
295
+ {
296
+ "name": "pullHistory",
297
+ "params": [
298
+ {
299
+ "name": "delay",
300
+ "description": "Delay in milliseconds before pulling the latest chat history.",
301
+ "type": "number"
302
+ }
303
+ ],
304
+ "description": "",
305
+ "returns": {}
306
+ },
307
+ {
308
+ "name": "close",
309
+ "params": []
310
+ },
311
+ {
312
+ "name": "removeProject",
313
+ "params": [
314
+ {
315
+ "name": "projectId",
316
+ "type": "string"
317
+ }
318
+ ]
319
+ },
320
+ {
321
+ "name": "addProject",
322
+ "params": [
323
+ {
324
+ "name": "project",
325
+ "type": "Project"
326
+ }
327
+ ]
328
+ },
329
+ {
330
+ "name": "moveConversation",
331
+ "params": [
332
+ {
333
+ "name": "conversationId",
334
+ "type": "string"
335
+ }
336
+ ]
337
+ }
338
+ ],
306
339
  "parts": [],
307
- "description": "构件 `ai-portal.show-cases`"
340
+ "description": "构件 `ai-portal.elevo-sidebar`"
308
341
  },
309
342
  {
310
343
  "name": "ai-portal.icon-button",
@@ -333,6 +366,25 @@
333
366
  "parts": [],
334
367
  "description": "构件 `ai-portal.icon-button`"
335
368
  },
369
+ {
370
+ "name": "ai-portal.show-cases",
371
+ "properties": [
372
+ {
373
+ "name": "list",
374
+ "attribute": false,
375
+ "type": "ShowCase[]"
376
+ },
377
+ {
378
+ "name": "taskUrlTemplate",
379
+ "type": "string"
380
+ }
381
+ ],
382
+ "events": [],
383
+ "slots": [],
384
+ "methods": [],
385
+ "parts": [],
386
+ "description": "构件 `ai-portal.show-cases`"
387
+ },
336
388
  {
337
389
  "name": "ai-portal.mcp-tools",
338
390
  "properties": [
@@ -563,6 +615,25 @@
563
615
  "parts": [],
564
616
  "description": "构件 `ai-portal.page-container`"
565
617
  },
618
+ {
619
+ "name": "ai-portal.project-summary",
620
+ "properties": [
621
+ {
622
+ "name": "chatList",
623
+ "attribute": false,
624
+ "type": "Chat[]"
625
+ },
626
+ {
627
+ "name": "chatUrlTemplate",
628
+ "type": "string"
629
+ }
630
+ ],
631
+ "events": [],
632
+ "slots": [],
633
+ "methods": [],
634
+ "parts": [],
635
+ "description": "构件 `ai-portal.project-summary`"
636
+ },
566
637
  {
567
638
  "name": "ai-portal.tab-list",
568
639
  "properties": [
@@ -599,25 +670,6 @@
599
670
  ],
600
671
  "description": "构件 `ai-portal.tab-list`"
601
672
  },
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
- },
621
673
  {
622
674
  "name": "ai-portal.dropdown-select",
623
675
  "properties": [
@@ -700,65 +752,13 @@
700
752
  "description": "构件 `ai-portal.chat-box`"
701
753
  },
702
754
  {
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
- ],
755
+ "name": "ai-portal.home-container",
756
+ "properties": [],
757
757
  "events": [],
758
758
  "slots": [],
759
759
  "methods": [],
760
760
  "parts": [],
761
- "description": "构件 `ai-portal.stat-with-mini-chart`"
761
+ "description": "构件 `ai-portal.home-container`"
762
762
  },
763
763
  {
764
764
  "name": "ai-portal.preview-container",