@next-bricks/ai-portal 0.50.1 → 0.50.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.
@@ -3,139 +3,6 @@
3
3
  "package": "@next-bricks/ai-portal",
4
4
  "name": "ai-portal",
5
5
  "bricks": [
6
- {
7
- "name": "ai-portal.chat-box",
8
- "properties": [
9
- {
10
- "name": "disabled",
11
- "type": "boolean"
12
- },
13
- {
14
- "name": "placeholder",
15
- "type": "string"
16
- },
17
- {
18
- "name": "autoFocus",
19
- "type": "boolean"
20
- },
21
- {
22
- "name": "aiEmployees",
23
- "attribute": false,
24
- "type": "AIEmployee[]"
25
- }
26
- ],
27
- "events": [
28
- {
29
- "name": "message.submit",
30
- "detail": {
31
- "type": "string"
32
- }
33
- },
34
- {
35
- "name": "ai-employee.mention",
36
- "detail": {
37
- "type": "AIEmployee | null"
38
- }
39
- }
40
- ],
41
- "slots": [],
42
- "methods": [
43
- {
44
- "name": "setValue",
45
- "params": [
46
- {
47
- "name": "value",
48
- "type": "string"
49
- }
50
- ]
51
- },
52
- {
53
- "name": "getValue",
54
- "params": []
55
- },
56
- {
57
- "name": "focusOnInput",
58
- "params": []
59
- }
60
- ],
61
- "parts": [],
62
- "description": "构件 `ai-portal.chat-box`"
63
- },
64
- {
65
- "name": "ai-portal.home-container",
66
- "properties": [
67
- {
68
- "name": "sticky",
69
- "type": "boolean"
70
- }
71
- ],
72
- "events": [],
73
- "slots": [],
74
- "methods": [],
75
- "parts": [],
76
- "description": "构件 `ai-portal.home-container`"
77
- },
78
- {
79
- "name": "ai-portal.stat-with-mini-chart",
80
- "properties": [
81
- {
82
- "name": "label",
83
- "type": "string"
84
- },
85
- {
86
- "name": "value",
87
- "type": "string"
88
- },
89
- {
90
- "name": "size",
91
- "description": "",
92
- "default": "\"medium\"",
93
- "type": "\"medium\" | \"small\""
94
- },
95
- {
96
- "name": "lineColor",
97
- "description": "",
98
- "default": "\"var(--color-brand)\"",
99
- "type": "string"
100
- },
101
- {
102
- "name": "showArea",
103
- "type": "boolean"
104
- },
105
- {
106
- "name": "min",
107
- "description": "Specify the minimum value of the y-axis.\nIf not specified, the minimum value will be calculated from the data.",
108
- "type": "number"
109
- },
110
- {
111
- "name": "max",
112
- "description": "Specify the maximum value of the y-axis.\nIf not specified, the maximum value will be calculated from the data.",
113
- "type": "number"
114
- },
115
- {
116
- "name": "xField",
117
- "description": "",
118
- "default": "\"0\"",
119
- "type": "string"
120
- },
121
- {
122
- "name": "yField",
123
- "description": "",
124
- "default": "\"1\"",
125
- "type": "string"
126
- },
127
- {
128
- "name": "data",
129
- "attribute": false,
130
- "type": "Record<string, number>[]"
131
- }
132
- ],
133
- "events": [],
134
- "slots": [],
135
- "methods": [],
136
- "parts": [],
137
- "description": "构件 `ai-portal.stat-with-mini-chart`"
138
- },
139
6
  {
140
7
  "name": "ai-portal.cruise-canvas",
141
8
  "properties": [
@@ -285,6 +152,139 @@
285
152
  "parts": [],
286
153
  "description": "构件 `ai-portal.cruise-canvas`"
287
154
  },
155
+ {
156
+ "name": "ai-portal.chat-box",
157
+ "properties": [
158
+ {
159
+ "name": "disabled",
160
+ "type": "boolean"
161
+ },
162
+ {
163
+ "name": "placeholder",
164
+ "type": "string"
165
+ },
166
+ {
167
+ "name": "autoFocus",
168
+ "type": "boolean"
169
+ },
170
+ {
171
+ "name": "aiEmployees",
172
+ "attribute": false,
173
+ "type": "AIEmployee[]"
174
+ }
175
+ ],
176
+ "events": [
177
+ {
178
+ "name": "message.submit",
179
+ "detail": {
180
+ "type": "string"
181
+ }
182
+ },
183
+ {
184
+ "name": "ai-employee.mention",
185
+ "detail": {
186
+ "type": "AIEmployee | null"
187
+ }
188
+ }
189
+ ],
190
+ "slots": [],
191
+ "methods": [
192
+ {
193
+ "name": "setValue",
194
+ "params": [
195
+ {
196
+ "name": "value",
197
+ "type": "string"
198
+ }
199
+ ]
200
+ },
201
+ {
202
+ "name": "getValue",
203
+ "params": []
204
+ },
205
+ {
206
+ "name": "focusOnInput",
207
+ "params": []
208
+ }
209
+ ],
210
+ "parts": [],
211
+ "description": "构件 `ai-portal.chat-box`"
212
+ },
213
+ {
214
+ "name": "ai-portal.home-container",
215
+ "properties": [
216
+ {
217
+ "name": "sticky",
218
+ "type": "boolean"
219
+ }
220
+ ],
221
+ "events": [],
222
+ "slots": [],
223
+ "methods": [],
224
+ "parts": [],
225
+ "description": "构件 `ai-portal.home-container`"
226
+ },
227
+ {
228
+ "name": "ai-portal.stat-with-mini-chart",
229
+ "properties": [
230
+ {
231
+ "name": "label",
232
+ "type": "string"
233
+ },
234
+ {
235
+ "name": "value",
236
+ "type": "string"
237
+ },
238
+ {
239
+ "name": "size",
240
+ "description": "",
241
+ "default": "\"medium\"",
242
+ "type": "\"medium\" | \"small\""
243
+ },
244
+ {
245
+ "name": "lineColor",
246
+ "description": "",
247
+ "default": "\"var(--color-brand)\"",
248
+ "type": "string"
249
+ },
250
+ {
251
+ "name": "showArea",
252
+ "type": "boolean"
253
+ },
254
+ {
255
+ "name": "min",
256
+ "description": "Specify the minimum value of the y-axis.\nIf not specified, the minimum value will be calculated from the data.",
257
+ "type": "number"
258
+ },
259
+ {
260
+ "name": "max",
261
+ "description": "Specify the maximum value of the y-axis.\nIf not specified, the maximum value will be calculated from the data.",
262
+ "type": "number"
263
+ },
264
+ {
265
+ "name": "xField",
266
+ "description": "",
267
+ "default": "\"0\"",
268
+ "type": "string"
269
+ },
270
+ {
271
+ "name": "yField",
272
+ "description": "",
273
+ "default": "\"1\"",
274
+ "type": "string"
275
+ },
276
+ {
277
+ "name": "data",
278
+ "attribute": false,
279
+ "type": "Record<string, number>[]"
280
+ }
281
+ ],
282
+ "events": [],
283
+ "slots": [],
284
+ "methods": [],
285
+ "parts": [],
286
+ "description": "构件 `ai-portal.stat-with-mini-chart`"
287
+ },
288
288
  {
289
289
  "name": "ai-portal.elevo-sidebar",
290
290
  "properties": [
@@ -428,6 +428,33 @@
428
428
  "parts": [],
429
429
  "description": "构件 `ai-portal.elevo-sidebar`"
430
430
  },
431
+ {
432
+ "name": "ai-portal.icon-button",
433
+ "properties": [
434
+ {
435
+ "name": "icon",
436
+ "attribute": false,
437
+ "type": "GeneralIconProps"
438
+ },
439
+ {
440
+ "name": "tooltip",
441
+ "type": "string"
442
+ },
443
+ {
444
+ "name": "disabled",
445
+ "type": "boolean"
446
+ },
447
+ {
448
+ "name": "variant",
449
+ "type": "IconButtonVariant"
450
+ }
451
+ ],
452
+ "events": [],
453
+ "slots": [],
454
+ "methods": [],
455
+ "parts": [],
456
+ "description": "构件 `ai-portal.icon-button`"
457
+ },
431
458
  {
432
459
  "name": "ai-portal.show-cases",
433
460
  "properties": [
@@ -447,6 +474,25 @@
447
474
  "parts": [],
448
475
  "description": "构件 `ai-portal.show-cases`"
449
476
  },
477
+ {
478
+ "name": "ai-portal.mcp-tools",
479
+ "properties": [
480
+ {
481
+ "name": "list",
482
+ "attribute": false,
483
+ "type": "McpTool[]"
484
+ },
485
+ {
486
+ "name": "stickyTop",
487
+ "type": "number"
488
+ }
489
+ ],
490
+ "events": [],
491
+ "slots": [],
492
+ "methods": [],
493
+ "parts": [],
494
+ "description": "构件 `ai-portal.mcp-tools`"
495
+ },
450
496
  {
451
497
  "name": "ai-portal.chat-stream",
452
498
  "properties": [
@@ -614,25 +660,6 @@
614
660
  "parts": [],
615
661
  "description": "构件 `ai-portal.ai-employees`"
616
662
  },
617
- {
618
- "name": "ai-portal.mcp-tools",
619
- "properties": [
620
- {
621
- "name": "list",
622
- "attribute": false,
623
- "type": "McpTool[]"
624
- },
625
- {
626
- "name": "stickyTop",
627
- "type": "number"
628
- }
629
- ],
630
- "events": [],
631
- "slots": [],
632
- "methods": [],
633
- "parts": [],
634
- "description": "构件 `ai-portal.mcp-tools`"
635
- },
636
663
  {
637
664
  "name": "ai-portal.ai-agents",
638
665
  "properties": [
@@ -735,52 +762,6 @@
735
762
  ],
736
763
  "description": "构件 `ai-portal.tab-list`"
737
764
  },
738
- {
739
- "name": "ai-portal.icon-button",
740
- "properties": [
741
- {
742
- "name": "icon",
743
- "attribute": false,
744
- "type": "GeneralIconProps"
745
- },
746
- {
747
- "name": "tooltip",
748
- "type": "string"
749
- },
750
- {
751
- "name": "disabled",
752
- "type": "boolean"
753
- },
754
- {
755
- "name": "variant",
756
- "type": "IconButtonVariant"
757
- }
758
- ],
759
- "events": [],
760
- "slots": [],
761
- "methods": [],
762
- "parts": [],
763
- "description": "构件 `ai-portal.icon-button`"
764
- },
765
- {
766
- "name": "ai-portal.preview-container",
767
- "properties": [
768
- {
769
- "name": "source",
770
- "attribute": false,
771
- "type": "string"
772
- },
773
- {
774
- "name": "url",
775
- "type": "string"
776
- }
777
- ],
778
- "events": [],
779
- "slots": [],
780
- "methods": [],
781
- "parts": [],
782
- "description": "构件 `ai-portal.preview-container`"
783
- },
784
765
  {
785
766
  "name": "ai-portal.dropdown-select",
786
767
  "properties": [
@@ -838,6 +819,25 @@
838
819
  "parts": [],
839
820
  "description": "构件 `ai-portal.dropdown-select`"
840
821
  },
822
+ {
823
+ "name": "ai-portal.preview-container",
824
+ "properties": [
825
+ {
826
+ "name": "source",
827
+ "attribute": false,
828
+ "type": "string"
829
+ },
830
+ {
831
+ "name": "url",
832
+ "type": "string"
833
+ }
834
+ ],
835
+ "events": [],
836
+ "slots": [],
837
+ "methods": [],
838
+ "parts": [],
839
+ "description": "构件 `ai-portal.preview-container`"
840
+ },
841
841
  {
842
842
  "name": "ai-portal.action-buttons",
843
843
  "properties": [