@next-bricks/ai-portal 0.47.1 → 0.47.3
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 +23 -23
- package/dist/chunks/{1692.9fa908f1.js → 1692.e1b92e84.js} +2 -2
- package/dist/chunks/{1692.9fa908f1.js.map → 1692.e1b92e84.js.map} +1 -1
- package/dist/chunks/4144.e2d748f8.js +2 -0
- package/dist/chunks/4144.e2d748f8.js.map +1 -0
- package/dist/chunks/{4837.d70e4d5f.js → 4837.488c5888.js} +2 -2
- package/dist/chunks/{4837.d70e4d5f.js.map → 4837.488c5888.js.map} +1 -1
- package/dist/chunks/{495.8b4a1756.js → 495.06800ca3.js} +2 -2
- package/dist/chunks/{495.8b4a1756.js.map → 495.06800ca3.js.map} +1 -1
- package/dist/chunks/7431.59dc7d9e.js +3 -0
- package/dist/chunks/7431.59dc7d9e.js.map +1 -0
- package/dist/chunks/{9328.b23a66b4.js → 9328.1fc3c9b4.js} +2 -2
- package/dist/chunks/{9328.b23a66b4.js.map → 9328.1fc3c9b4.js.map} +1 -1
- package/dist/chunks/9474.8a4c4815.js +2 -0
- package/dist/chunks/9474.8a4c4815.js.map +1 -0
- package/dist/chunks/948.85b663ec.js.map +1 -1
- package/dist/chunks/{9599.8bf50b3b.js → 9599.f127b5a1.js} +2 -2
- package/dist/chunks/{9599.8bf50b3b.js.map → 9599.f127b5a1.js.map} +1 -1
- package/dist/chunks/elevo-sidebar.7f4d37a1.js +3 -0
- package/dist/chunks/elevo-sidebar.7f4d37a1.js.map +1 -0
- package/dist/chunks/{main.151d1068.js → main.3bb7cf04.js} +2 -2
- package/dist/chunks/{main.151d1068.js.map → main.3bb7cf04.js.map} +1 -1
- package/dist/chunks/{page-container.5da7bbb4.js → page-container.8bf6e607.js} +2 -2
- package/dist/chunks/{page-container.5da7bbb4.js.map → page-container.8bf6e607.js.map} +1 -1
- package/dist/chunks/{preview-container.659bb080.js → preview-container.ebe8c4fc.js} +2 -2
- package/dist/chunks/{preview-container.659bb080.js.map → preview-container.ebe8c4fc.js.map} +1 -1
- package/dist/examples.json +20 -20
- package/dist/{index.3c942bd7.js → index.96fa671b.js} +2 -2
- package/dist/{index.3c942bd7.js.map → index.96fa671b.js.map} +1 -1
- package/dist/manifest.json +197 -192
- package/dist/types.json +368 -361
- package/dist-types/elevo-sidebar/ChatHistory.d.ts +2 -1
- package/dist-types/elevo-sidebar/index.d.ts +2 -0
- package/package.json +2 -2
- package/dist/chunks/4144.5c923db3.js +0 -2
- package/dist/chunks/4144.5c923db3.js.map +0 -1
- package/dist/chunks/7431.3ff52734.js +0 -3
- package/dist/chunks/7431.3ff52734.js.map +0 -1
- package/dist/chunks/9474.59a27cc1.js +0 -2
- package/dist/chunks/9474.59a27cc1.js.map +0 -1
- package/dist/chunks/elevo-sidebar.877ac231.js +0 -3
- package/dist/chunks/elevo-sidebar.877ac231.js.map +0 -1
- /package/dist/chunks/{7431.3ff52734.js.LICENSE.txt → 7431.59dc7d9e.js.LICENSE.txt} +0 -0
- /package/dist/chunks/{elevo-sidebar.877ac231.js.LICENSE.txt → elevo-sidebar.7f4d37a1.js.LICENSE.txt} +0 -0
package/dist/manifest.json
CHANGED
|
@@ -3,60 +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
|
-
"parts": [],
|
|
58
|
-
"description": "构件 `ai-portal.chat-box`"
|
|
59
|
-
},
|
|
60
6
|
{
|
|
61
7
|
"name": "ai-portal.cruise-canvas",
|
|
62
8
|
"properties": [
|
|
@@ -202,76 +148,6 @@
|
|
|
202
148
|
"parts": [],
|
|
203
149
|
"description": "构件 `ai-portal.cruise-canvas`"
|
|
204
150
|
},
|
|
205
|
-
{
|
|
206
|
-
"name": "ai-portal.home-container",
|
|
207
|
-
"properties": [],
|
|
208
|
-
"events": [],
|
|
209
|
-
"slots": [],
|
|
210
|
-
"methods": [],
|
|
211
|
-
"parts": [],
|
|
212
|
-
"description": "构件 `ai-portal.home-container`"
|
|
213
|
-
},
|
|
214
|
-
{
|
|
215
|
-
"name": "ai-portal.stat-with-mini-chart",
|
|
216
|
-
"properties": [
|
|
217
|
-
{
|
|
218
|
-
"name": "label",
|
|
219
|
-
"type": "string"
|
|
220
|
-
},
|
|
221
|
-
{
|
|
222
|
-
"name": "value",
|
|
223
|
-
"type": "string"
|
|
224
|
-
},
|
|
225
|
-
{
|
|
226
|
-
"name": "size",
|
|
227
|
-
"description": "",
|
|
228
|
-
"default": "\"medium\"",
|
|
229
|
-
"type": "\"medium\" | \"small\""
|
|
230
|
-
},
|
|
231
|
-
{
|
|
232
|
-
"name": "lineColor",
|
|
233
|
-
"description": "",
|
|
234
|
-
"default": "\"var(--color-brand)\"",
|
|
235
|
-
"type": "string"
|
|
236
|
-
},
|
|
237
|
-
{
|
|
238
|
-
"name": "showArea",
|
|
239
|
-
"type": "boolean"
|
|
240
|
-
},
|
|
241
|
-
{
|
|
242
|
-
"name": "min",
|
|
243
|
-
"description": "Specify the minimum value of the y-axis.\nIf not specified, the minimum value will be calculated from the data.",
|
|
244
|
-
"type": "number"
|
|
245
|
-
},
|
|
246
|
-
{
|
|
247
|
-
"name": "max",
|
|
248
|
-
"description": "Specify the maximum value of the y-axis.\nIf not specified, the maximum value will be calculated from the data.",
|
|
249
|
-
"type": "number"
|
|
250
|
-
},
|
|
251
|
-
{
|
|
252
|
-
"name": "xField",
|
|
253
|
-
"description": "",
|
|
254
|
-
"default": "\"0\"",
|
|
255
|
-
"type": "string"
|
|
256
|
-
},
|
|
257
|
-
{
|
|
258
|
-
"name": "yField",
|
|
259
|
-
"description": "",
|
|
260
|
-
"default": "\"1\"",
|
|
261
|
-
"type": "string"
|
|
262
|
-
},
|
|
263
|
-
{
|
|
264
|
-
"name": "data",
|
|
265
|
-
"attribute": false,
|
|
266
|
-
"type": "Record<string, number>[]"
|
|
267
|
-
}
|
|
268
|
-
],
|
|
269
|
-
"events": [],
|
|
270
|
-
"slots": [],
|
|
271
|
-
"methods": [],
|
|
272
|
-
"parts": [],
|
|
273
|
-
"description": "构件 `ai-portal.stat-with-mini-chart`"
|
|
274
|
-
},
|
|
275
151
|
{
|
|
276
152
|
"name": "ai-portal.elevo-sidebar",
|
|
277
153
|
"properties": [
|
|
@@ -329,6 +205,11 @@
|
|
|
329
205
|
"name": "links",
|
|
330
206
|
"attribute": false,
|
|
331
207
|
"type": "SidebarLink[]"
|
|
208
|
+
},
|
|
209
|
+
{
|
|
210
|
+
"name": "canAddProject",
|
|
211
|
+
"type": "boolean",
|
|
212
|
+
"default": "true"
|
|
332
213
|
}
|
|
333
214
|
],
|
|
334
215
|
"events": [
|
|
@@ -433,6 +314,84 @@
|
|
|
433
314
|
"parts": [],
|
|
434
315
|
"description": "构件 `ai-portal.icon-button`"
|
|
435
316
|
},
|
|
317
|
+
{
|
|
318
|
+
"name": "ai-portal.show-cases",
|
|
319
|
+
"properties": [
|
|
320
|
+
{
|
|
321
|
+
"name": "list",
|
|
322
|
+
"attribute": false,
|
|
323
|
+
"type": "ShowCaseType[]"
|
|
324
|
+
}
|
|
325
|
+
],
|
|
326
|
+
"events": [],
|
|
327
|
+
"slots": [],
|
|
328
|
+
"methods": [],
|
|
329
|
+
"parts": [],
|
|
330
|
+
"description": "构件 `ai-portal.show-cases`"
|
|
331
|
+
},
|
|
332
|
+
{
|
|
333
|
+
"name": "ai-portal.home-container",
|
|
334
|
+
"properties": [],
|
|
335
|
+
"events": [],
|
|
336
|
+
"slots": [],
|
|
337
|
+
"methods": [],
|
|
338
|
+
"parts": [],
|
|
339
|
+
"description": "构件 `ai-portal.home-container`"
|
|
340
|
+
},
|
|
341
|
+
{
|
|
342
|
+
"name": "ai-portal.chat-box",
|
|
343
|
+
"properties": [
|
|
344
|
+
{
|
|
345
|
+
"name": "disabled",
|
|
346
|
+
"type": "boolean"
|
|
347
|
+
},
|
|
348
|
+
{
|
|
349
|
+
"name": "placeholder",
|
|
350
|
+
"type": "string"
|
|
351
|
+
},
|
|
352
|
+
{
|
|
353
|
+
"name": "autoFocus",
|
|
354
|
+
"type": "boolean"
|
|
355
|
+
},
|
|
356
|
+
{
|
|
357
|
+
"name": "aiEmployees",
|
|
358
|
+
"attribute": false,
|
|
359
|
+
"type": "AIEmployee[]"
|
|
360
|
+
}
|
|
361
|
+
],
|
|
362
|
+
"events": [
|
|
363
|
+
{
|
|
364
|
+
"name": "message.submit",
|
|
365
|
+
"detail": {
|
|
366
|
+
"type": "string"
|
|
367
|
+
}
|
|
368
|
+
},
|
|
369
|
+
{
|
|
370
|
+
"name": "ai-employee.mention",
|
|
371
|
+
"detail": {
|
|
372
|
+
"type": "AIEmployee | null"
|
|
373
|
+
}
|
|
374
|
+
}
|
|
375
|
+
],
|
|
376
|
+
"slots": [],
|
|
377
|
+
"methods": [
|
|
378
|
+
{
|
|
379
|
+
"name": "setValue",
|
|
380
|
+
"params": [
|
|
381
|
+
{
|
|
382
|
+
"name": "value",
|
|
383
|
+
"type": "string"
|
|
384
|
+
}
|
|
385
|
+
]
|
|
386
|
+
},
|
|
387
|
+
{
|
|
388
|
+
"name": "getValue",
|
|
389
|
+
"params": []
|
|
390
|
+
}
|
|
391
|
+
],
|
|
392
|
+
"parts": [],
|
|
393
|
+
"description": "构件 `ai-portal.chat-box`"
|
|
394
|
+
},
|
|
436
395
|
{
|
|
437
396
|
"name": "ai-portal.mcp-tools",
|
|
438
397
|
"properties": [
|
|
@@ -455,19 +414,34 @@
|
|
|
455
414
|
"description": "构件 `ai-portal.mcp-tools`"
|
|
456
415
|
},
|
|
457
416
|
{
|
|
458
|
-
"name": "ai-portal.
|
|
417
|
+
"name": "ai-portal.ai-employees",
|
|
459
418
|
"properties": [
|
|
460
419
|
{
|
|
461
420
|
"name": "list",
|
|
462
421
|
"attribute": false,
|
|
463
|
-
"type": "
|
|
422
|
+
"type": "Employee[]"
|
|
423
|
+
},
|
|
424
|
+
{
|
|
425
|
+
"name": "industries",
|
|
426
|
+
"attribute": false,
|
|
427
|
+
"type": "string[]"
|
|
428
|
+
},
|
|
429
|
+
{
|
|
430
|
+
"name": "urlTemplate",
|
|
431
|
+
"type": "string"
|
|
432
|
+
},
|
|
433
|
+
{
|
|
434
|
+
"name": "withContainer",
|
|
435
|
+
"description": "",
|
|
436
|
+
"deprecated": true,
|
|
437
|
+
"default": "true"
|
|
464
438
|
}
|
|
465
439
|
],
|
|
466
440
|
"events": [],
|
|
467
441
|
"slots": [],
|
|
468
442
|
"methods": [],
|
|
469
443
|
"parts": [],
|
|
470
|
-
"description": "构件 `ai-portal.
|
|
444
|
+
"description": "构件 `ai-portal.ai-employees`"
|
|
471
445
|
},
|
|
472
446
|
{
|
|
473
447
|
"name": "ai-portal.chat-stream",
|
|
@@ -607,17 +581,12 @@
|
|
|
607
581
|
"description": "构件 `ai-portal.chat-stream`"
|
|
608
582
|
},
|
|
609
583
|
{
|
|
610
|
-
"name": "ai-portal.ai-
|
|
584
|
+
"name": "ai-portal.ai-agents",
|
|
611
585
|
"properties": [
|
|
612
586
|
{
|
|
613
587
|
"name": "list",
|
|
614
588
|
"attribute": false,
|
|
615
|
-
"type": "
|
|
616
|
-
},
|
|
617
|
-
{
|
|
618
|
-
"name": "industries",
|
|
619
|
-
"attribute": false,
|
|
620
|
-
"type": "string[]"
|
|
589
|
+
"type": "Agent[]"
|
|
621
590
|
},
|
|
622
591
|
{
|
|
623
592
|
"name": "urlTemplate",
|
|
@@ -634,32 +603,43 @@
|
|
|
634
603
|
"slots": [],
|
|
635
604
|
"methods": [],
|
|
636
605
|
"parts": [],
|
|
637
|
-
"description": "构件 `ai-portal.ai-
|
|
606
|
+
"description": "构件 `ai-portal.ai-agents`"
|
|
638
607
|
},
|
|
639
608
|
{
|
|
640
|
-
"name": "ai-portal.
|
|
609
|
+
"name": "ai-portal.tab-list",
|
|
641
610
|
"properties": [
|
|
642
611
|
{
|
|
643
|
-
"name": "
|
|
612
|
+
"name": "tabs",
|
|
644
613
|
"attribute": false,
|
|
645
|
-
"type": "
|
|
614
|
+
"type": "Tab[]"
|
|
646
615
|
},
|
|
647
616
|
{
|
|
648
|
-
"name": "
|
|
617
|
+
"name": "activeTab",
|
|
618
|
+
"attribute": false,
|
|
649
619
|
"type": "string"
|
|
650
|
-
}
|
|
620
|
+
}
|
|
621
|
+
],
|
|
622
|
+
"events": [
|
|
651
623
|
{
|
|
652
|
-
"name": "
|
|
653
|
-
"
|
|
654
|
-
|
|
655
|
-
|
|
624
|
+
"name": "tab.click",
|
|
625
|
+
"detail": {
|
|
626
|
+
"type": "Tab"
|
|
627
|
+
}
|
|
656
628
|
}
|
|
657
629
|
],
|
|
658
|
-
"events": [],
|
|
659
630
|
"slots": [],
|
|
660
631
|
"methods": [],
|
|
661
|
-
"parts": [
|
|
662
|
-
|
|
632
|
+
"parts": [
|
|
633
|
+
{
|
|
634
|
+
"name": "tabs",
|
|
635
|
+
"description": "The tab list container"
|
|
636
|
+
},
|
|
637
|
+
{
|
|
638
|
+
"name": "tab",
|
|
639
|
+
"description": "The individual tab"
|
|
640
|
+
}
|
|
641
|
+
],
|
|
642
|
+
"description": "构件 `ai-portal.tab-list`"
|
|
663
643
|
},
|
|
664
644
|
{
|
|
665
645
|
"name": "ai-portal.page-container",
|
|
@@ -698,42 +678,6 @@
|
|
|
698
678
|
"parts": [],
|
|
699
679
|
"description": "构件 `ai-portal.page-container`"
|
|
700
680
|
},
|
|
701
|
-
{
|
|
702
|
-
"name": "ai-portal.tab-list",
|
|
703
|
-
"properties": [
|
|
704
|
-
{
|
|
705
|
-
"name": "tabs",
|
|
706
|
-
"attribute": false,
|
|
707
|
-
"type": "Tab[]"
|
|
708
|
-
},
|
|
709
|
-
{
|
|
710
|
-
"name": "activeTab",
|
|
711
|
-
"attribute": false,
|
|
712
|
-
"type": "string"
|
|
713
|
-
}
|
|
714
|
-
],
|
|
715
|
-
"events": [
|
|
716
|
-
{
|
|
717
|
-
"name": "tab.click",
|
|
718
|
-
"detail": {
|
|
719
|
-
"type": "Tab"
|
|
720
|
-
}
|
|
721
|
-
}
|
|
722
|
-
],
|
|
723
|
-
"slots": [],
|
|
724
|
-
"methods": [],
|
|
725
|
-
"parts": [
|
|
726
|
-
{
|
|
727
|
-
"name": "tabs",
|
|
728
|
-
"description": "The tab list container"
|
|
729
|
-
},
|
|
730
|
-
{
|
|
731
|
-
"name": "tab",
|
|
732
|
-
"description": "The individual tab"
|
|
733
|
-
}
|
|
734
|
-
],
|
|
735
|
-
"description": "构件 `ai-portal.tab-list`"
|
|
736
|
-
},
|
|
737
681
|
{
|
|
738
682
|
"name": "ai-portal.dropdown-select",
|
|
739
683
|
"properties": [
|
|
@@ -791,6 +735,67 @@
|
|
|
791
735
|
"parts": [],
|
|
792
736
|
"description": "构件 `ai-portal.dropdown-select`"
|
|
793
737
|
},
|
|
738
|
+
{
|
|
739
|
+
"name": "ai-portal.stat-with-mini-chart",
|
|
740
|
+
"properties": [
|
|
741
|
+
{
|
|
742
|
+
"name": "label",
|
|
743
|
+
"type": "string"
|
|
744
|
+
},
|
|
745
|
+
{
|
|
746
|
+
"name": "value",
|
|
747
|
+
"type": "string"
|
|
748
|
+
},
|
|
749
|
+
{
|
|
750
|
+
"name": "size",
|
|
751
|
+
"description": "",
|
|
752
|
+
"default": "\"medium\"",
|
|
753
|
+
"type": "\"medium\" | \"small\""
|
|
754
|
+
},
|
|
755
|
+
{
|
|
756
|
+
"name": "lineColor",
|
|
757
|
+
"description": "",
|
|
758
|
+
"default": "\"var(--color-brand)\"",
|
|
759
|
+
"type": "string"
|
|
760
|
+
},
|
|
761
|
+
{
|
|
762
|
+
"name": "showArea",
|
|
763
|
+
"type": "boolean"
|
|
764
|
+
},
|
|
765
|
+
{
|
|
766
|
+
"name": "min",
|
|
767
|
+
"description": "Specify the minimum value of the y-axis.\nIf not specified, the minimum value will be calculated from the data.",
|
|
768
|
+
"type": "number"
|
|
769
|
+
},
|
|
770
|
+
{
|
|
771
|
+
"name": "max",
|
|
772
|
+
"description": "Specify the maximum value of the y-axis.\nIf not specified, the maximum value will be calculated from the data.",
|
|
773
|
+
"type": "number"
|
|
774
|
+
},
|
|
775
|
+
{
|
|
776
|
+
"name": "xField",
|
|
777
|
+
"description": "",
|
|
778
|
+
"default": "\"0\"",
|
|
779
|
+
"type": "string"
|
|
780
|
+
},
|
|
781
|
+
{
|
|
782
|
+
"name": "yField",
|
|
783
|
+
"description": "",
|
|
784
|
+
"default": "\"1\"",
|
|
785
|
+
"type": "string"
|
|
786
|
+
},
|
|
787
|
+
{
|
|
788
|
+
"name": "data",
|
|
789
|
+
"attribute": false,
|
|
790
|
+
"type": "Record<string, number>[]"
|
|
791
|
+
}
|
|
792
|
+
],
|
|
793
|
+
"events": [],
|
|
794
|
+
"slots": [],
|
|
795
|
+
"methods": [],
|
|
796
|
+
"parts": [],
|
|
797
|
+
"description": "构件 `ai-portal.stat-with-mini-chart`"
|
|
798
|
+
},
|
|
794
799
|
{
|
|
795
800
|
"name": "ai-portal.preview-container",
|
|
796
801
|
"properties": [
|
|
@@ -1046,15 +1051,6 @@
|
|
|
1046
1051
|
"parts": [],
|
|
1047
1052
|
"description": "构件 `ai-portal.chat-input`"
|
|
1048
1053
|
},
|
|
1049
|
-
{
|
|
1050
|
-
"name": "ai-portal.elevo-logo",
|
|
1051
|
-
"properties": [],
|
|
1052
|
-
"events": [],
|
|
1053
|
-
"slots": [],
|
|
1054
|
-
"methods": [],
|
|
1055
|
-
"parts": [],
|
|
1056
|
-
"description": "构件 `ai-portal.elevo-logo`"
|
|
1057
|
-
},
|
|
1058
1054
|
{
|
|
1059
1055
|
"name": "ai-portal.show-case",
|
|
1060
1056
|
"properties": [
|
|
@@ -1076,6 +1072,15 @@
|
|
|
1076
1072
|
"methods": [],
|
|
1077
1073
|
"parts": [],
|
|
1078
1074
|
"description": "构件 `ai-portal.show-case`"
|
|
1075
|
+
},
|
|
1076
|
+
{
|
|
1077
|
+
"name": "ai-portal.elevo-logo",
|
|
1078
|
+
"properties": [],
|
|
1079
|
+
"events": [],
|
|
1080
|
+
"slots": [],
|
|
1081
|
+
"methods": [],
|
|
1082
|
+
"parts": [],
|
|
1083
|
+
"description": "构件 `ai-portal.elevo-logo`"
|
|
1079
1084
|
}
|
|
1080
1085
|
],
|
|
1081
1086
|
"providers": [
|