@next-bricks/ai-portal 0.50.0 → 0.50.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.
- package/dist/bricks.json +28 -28
- package/dist/chunks/2142.44c752fe.js +2 -0
- package/dist/chunks/2142.44c752fe.js.map +1 -0
- package/dist/chunks/3735.0389cba2.js +15 -0
- package/dist/chunks/3735.0389cba2.js.map +1 -0
- package/dist/chunks/3832.9b48b5f5.js +2 -0
- package/dist/chunks/3832.9b48b5f5.js.map +1 -0
- package/dist/chunks/6201.01557568.js +2 -0
- package/dist/chunks/6201.01557568.js.map +1 -0
- package/dist/chunks/7580.5dca4f97.js +3 -0
- package/dist/chunks/7580.5dca4f97.js.map +1 -0
- package/dist/chunks/8414.8b8390cb.js +2 -0
- package/dist/chunks/8414.8b8390cb.js.map +1 -0
- package/dist/chunks/{8717.debf076f.js → 8717.4f49d4f6.js} +2 -2
- package/dist/chunks/{8717.debf076f.js.map → 8717.4f49d4f6.js.map} +1 -1
- package/dist/chunks/{8889.d377e773.js → 8889.0e3616d2.js} +3 -3
- package/dist/chunks/{8889.d377e773.js.map → 8889.0e3616d2.js.map} +1 -1
- package/dist/chunks/{cruise-canvas.f4b9384f.js → cruise-canvas.3600fc3c.js} +2 -2
- package/dist/chunks/{cruise-canvas.f4b9384f.js.map → cruise-canvas.3600fc3c.js.map} +1 -1
- package/dist/chunks/main.a75af455.js +2 -0
- package/dist/chunks/main.a75af455.js.map +1 -0
- package/dist/chunks/{preview-container.8e831edb.js → preview-container.631389f7.js} +2 -2
- package/dist/chunks/{preview-container.8e831edb.js.map → preview-container.631389f7.js.map} +1 -1
- package/dist/examples.json +8 -8
- package/dist/index.a8d6d207.js +2 -0
- package/dist/index.a8d6d207.js.map +1 -0
- package/dist/manifest.json +198 -198
- package/dist/types.json +214 -214
- package/dist-types/cruise-canvas/interfaces.d.ts +1 -5
- package/dist-types/shared/CreatedView/CreatedView.d.ts +2 -1
- package/dist-types/shared/CreatedView/ViewToolbar.d.ts +7 -0
- package/package.json +2 -2
- package/dist/chunks/4957.f878df32.js +0 -3
- package/dist/chunks/4957.f878df32.js.map +0 -1
- package/dist/chunks/5521.ef48a4d3.js +0 -2
- package/dist/chunks/5521.ef48a4d3.js.map +0 -1
- package/dist/chunks/6725.024b973c.js +0 -2
- package/dist/chunks/6725.024b973c.js.map +0 -1
- package/dist/chunks/7245.597bf395.js +0 -2
- package/dist/chunks/7245.597bf395.js.map +0 -1
- package/dist/chunks/7589.a2830718.js +0 -2
- package/dist/chunks/7589.a2830718.js.map +0 -1
- package/dist/chunks/8882.1dd288fd.js +0 -3
- package/dist/chunks/8882.1dd288fd.js.map +0 -1
- package/dist/chunks/9360.96ec6cfa.js +0 -2
- package/dist/chunks/9360.96ec6cfa.js.map +0 -1
- package/dist/chunks/main.b7a210d1.js +0 -2
- package/dist/chunks/main.b7a210d1.js.map +0 -1
- package/dist/index.83b29e4e.js +0 -2
- package/dist/index.83b29e4e.js.map +0 -1
- /package/dist/chunks/{4957.f878df32.js.LICENSE.txt → 3735.0389cba2.js.LICENSE.txt} +0 -0
- /package/dist/chunks/{8882.1dd288fd.js.LICENSE.txt → 7580.5dca4f97.js.LICENSE.txt} +0 -0
- /package/dist/chunks/{8889.d377e773.js.LICENSE.txt → 8889.0e3616d2.js.LICENSE.txt} +0 -0
package/dist/manifest.json
CHANGED
|
@@ -3,6 +3,139 @@
|
|
|
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
|
+
},
|
|
6
139
|
{
|
|
7
140
|
"name": "ai-portal.cruise-canvas",
|
|
8
141
|
"properties": [
|
|
@@ -152,139 +285,6 @@
|
|
|
152
285
|
"parts": [],
|
|
153
286
|
"description": "构件 `ai-portal.cruise-canvas`"
|
|
154
287
|
},
|
|
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,33 +428,6 @@
|
|
|
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
|
-
},
|
|
458
431
|
{
|
|
459
432
|
"name": "ai-portal.show-cases",
|
|
460
433
|
"properties": [
|
|
@@ -474,25 +447,6 @@
|
|
|
474
447
|
"parts": [],
|
|
475
448
|
"description": "构件 `ai-portal.show-cases`"
|
|
476
449
|
},
|
|
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
|
-
},
|
|
496
450
|
{
|
|
497
451
|
"name": "ai-portal.chat-stream",
|
|
498
452
|
"properties": [
|
|
@@ -660,6 +614,25 @@
|
|
|
660
614
|
"parts": [],
|
|
661
615
|
"description": "构件 `ai-portal.ai-employees`"
|
|
662
616
|
},
|
|
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
|
+
},
|
|
663
636
|
{
|
|
664
637
|
"name": "ai-portal.ai-agents",
|
|
665
638
|
"properties": [
|
|
@@ -762,6 +735,52 @@
|
|
|
762
735
|
],
|
|
763
736
|
"description": "构件 `ai-portal.tab-list`"
|
|
764
737
|
},
|
|
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
|
+
},
|
|
765
784
|
{
|
|
766
785
|
"name": "ai-portal.dropdown-select",
|
|
767
786
|
"properties": [
|
|
@@ -819,25 +838,6 @@
|
|
|
819
838
|
"parts": [],
|
|
820
839
|
"description": "构件 `ai-portal.dropdown-select`"
|
|
821
840
|
},
|
|
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": [
|