@next-bricks/ai-portal 0.58.1 → 0.58.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.
Files changed (38) hide show
  1. package/dist/bricks.json +32 -32
  2. package/dist/chunks/1488.7acd87b5.js +2 -0
  3. package/dist/chunks/1488.7acd87b5.js.map +1 -0
  4. package/dist/chunks/2232.8b3d46e2.js +2 -0
  5. package/dist/chunks/2232.8b3d46e2.js.map +1 -0
  6. package/dist/chunks/7238.9abe2a64.js +3 -0
  7. package/dist/chunks/{3848.01a4987f.js.LICENSE.txt → 7238.9abe2a64.js.LICENSE.txt} +2 -0
  8. package/dist/chunks/7238.9abe2a64.js.map +1 -0
  9. package/dist/chunks/7586.b406d4bf.js +2 -0
  10. package/dist/chunks/7586.b406d4bf.js.map +1 -0
  11. package/dist/chunks/9496.9be62b7c.js +2 -0
  12. package/dist/chunks/9496.9be62b7c.js.map +1 -0
  13. package/dist/chunks/{main.2d14a300.js → main.f26590db.js} +2 -2
  14. package/dist/chunks/{main.2d14a300.js.map → main.f26590db.js.map} +1 -1
  15. package/dist/examples.json +19 -19
  16. package/dist/{index.11c928b3.js → index.734b36bb.js} +2 -2
  17. package/dist/{index.11c928b3.js.map → index.734b36bb.js.map} +1 -1
  18. package/dist/manifest.json +244 -244
  19. package/dist/types.json +644 -644
  20. package/dist-types/chat-stream/UserMessage/UserMessage.d.ts +2 -1
  21. package/dist-types/chat-stream/interfaces.d.ts +1 -0
  22. package/dist-types/cruise-canvas/NodeRequirement/NodeRequirement.d.ts +2 -1
  23. package/dist-types/cruise-canvas/interfaces.d.ts +1 -0
  24. package/dist-types/shared/ReadableCommand/ReadableCommand.d.ts +3 -2
  25. package/dist-types/shared/fetchEmployee.d.ts +3 -0
  26. package/dist-types/shared/fetchEmployee.spec.d.ts +1 -0
  27. package/package.json +2 -2
  28. package/dist/chunks/1488.46c471c4.js +0 -2
  29. package/dist/chunks/1488.46c471c4.js.map +0 -1
  30. package/dist/chunks/2232.05ad07e2.js +0 -2
  31. package/dist/chunks/2232.05ad07e2.js.map +0 -1
  32. package/dist/chunks/3848.01a4987f.js +0 -3
  33. package/dist/chunks/3848.01a4987f.js.map +0 -1
  34. package/dist/chunks/4002.68156a0e.js +0 -3
  35. package/dist/chunks/4002.68156a0e.js.LICENSE.txt +0 -1
  36. package/dist/chunks/4002.68156a0e.js.map +0 -1
  37. package/dist/chunks/9496.08074e2b.js +0 -2
  38. package/dist/chunks/9496.08074e2b.js.map +0 -1
@@ -3,6 +3,67 @@
3
3
  "package": "@next-bricks/ai-portal",
4
4
  "name": "ai-portal",
5
5
  "bricks": [
6
+ {
7
+ "name": "ai-portal.stat-with-mini-chart",
8
+ "properties": [
9
+ {
10
+ "name": "label",
11
+ "type": "string"
12
+ },
13
+ {
14
+ "name": "value",
15
+ "type": "string"
16
+ },
17
+ {
18
+ "name": "size",
19
+ "description": "",
20
+ "default": "\"medium\"",
21
+ "type": "\"medium\" | \"small\""
22
+ },
23
+ {
24
+ "name": "lineColor",
25
+ "description": "",
26
+ "default": "\"var(--color-brand)\"",
27
+ "type": "string"
28
+ },
29
+ {
30
+ "name": "showArea",
31
+ "type": "boolean"
32
+ },
33
+ {
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"
37
+ },
38
+ {
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"
42
+ },
43
+ {
44
+ "name": "xField",
45
+ "description": "",
46
+ "default": "\"0\"",
47
+ "type": "string"
48
+ },
49
+ {
50
+ "name": "yField",
51
+ "description": "",
52
+ "default": "\"1\"",
53
+ "type": "string"
54
+ },
55
+ {
56
+ "name": "data",
57
+ "attribute": false,
58
+ "type": "Record<string, number>[]"
59
+ }
60
+ ],
61
+ "events": [],
62
+ "slots": [],
63
+ "methods": [],
64
+ "parts": [],
65
+ "description": "构件 `ai-portal.stat-with-mini-chart`"
66
+ },
6
67
  {
7
68
  "name": "ai-portal.cruise-canvas",
8
69
  "properties": [
@@ -157,20 +218,6 @@
157
218
  "parts": [],
158
219
  "description": "构件 `ai-portal.cruise-canvas`"
159
220
  },
160
- {
161
- "name": "ai-portal.home-container",
162
- "properties": [
163
- {
164
- "name": "sticky",
165
- "type": "boolean"
166
- }
167
- ],
168
- "events": [],
169
- "slots": [],
170
- "methods": [],
171
- "parts": [],
172
- "description": "构件 `ai-portal.home-container`"
173
- },
174
221
  {
175
222
  "name": "ai-portal.elevo-sidebar",
176
223
  "properties": [
@@ -307,6 +354,20 @@
307
354
  "parts": [],
308
355
  "description": "构件 `ai-portal.elevo-sidebar`"
309
356
  },
357
+ {
358
+ "name": "ai-portal.home-container",
359
+ "properties": [
360
+ {
361
+ "name": "sticky",
362
+ "type": "boolean"
363
+ }
364
+ ],
365
+ "events": [],
366
+ "slots": [],
367
+ "methods": [],
368
+ "parts": [],
369
+ "description": "构件 `ai-portal.home-container`"
370
+ },
310
371
  {
311
372
  "name": "ai-portal.icon-button",
312
373
  "properties": [
@@ -376,6 +437,61 @@
376
437
  "parts": [],
377
438
  "description": "构件 `ai-portal.mcp-tools`"
378
439
  },
440
+ {
441
+ "name": "ai-portal.ai-employees",
442
+ "properties": [
443
+ {
444
+ "name": "list",
445
+ "attribute": false,
446
+ "type": "Employee[]"
447
+ },
448
+ {
449
+ "name": "industries",
450
+ "attribute": false,
451
+ "type": "string[]"
452
+ },
453
+ {
454
+ "name": "urlTemplate",
455
+ "type": "string"
456
+ },
457
+ {
458
+ "name": "withContainer",
459
+ "description": "",
460
+ "deprecated": true,
461
+ "default": "true"
462
+ }
463
+ ],
464
+ "events": [],
465
+ "slots": [],
466
+ "methods": [],
467
+ "parts": [],
468
+ "description": "构件 `ai-portal.ai-employees`"
469
+ },
470
+ {
471
+ "name": "ai-portal.ai-agents",
472
+ "properties": [
473
+ {
474
+ "name": "list",
475
+ "attribute": false,
476
+ "type": "Agent[]"
477
+ },
478
+ {
479
+ "name": "urlTemplate",
480
+ "type": "string"
481
+ },
482
+ {
483
+ "name": "withContainer",
484
+ "description": "",
485
+ "deprecated": true,
486
+ "default": "true"
487
+ }
488
+ ],
489
+ "events": [],
490
+ "slots": [],
491
+ "methods": [],
492
+ "parts": [],
493
+ "description": "构件 `ai-portal.ai-agents`"
494
+ },
379
495
  {
380
496
  "name": "ai-portal.chat-stream",
381
497
  "properties": [
@@ -518,137 +634,6 @@
518
634
  "parts": [],
519
635
  "description": "构件 `ai-portal.chat-stream`"
520
636
  },
521
- {
522
- "name": "ai-portal.ai-employees",
523
- "properties": [
524
- {
525
- "name": "list",
526
- "attribute": false,
527
- "type": "Employee[]"
528
- },
529
- {
530
- "name": "industries",
531
- "attribute": false,
532
- "type": "string[]"
533
- },
534
- {
535
- "name": "urlTemplate",
536
- "type": "string"
537
- },
538
- {
539
- "name": "withContainer",
540
- "description": "",
541
- "deprecated": true,
542
- "default": "true"
543
- }
544
- ],
545
- "events": [],
546
- "slots": [],
547
- "methods": [],
548
- "parts": [],
549
- "description": "构件 `ai-portal.ai-employees`"
550
- },
551
- {
552
- "name": "ai-portal.chat-box",
553
- "properties": [
554
- {
555
- "name": "disabled",
556
- "type": "boolean"
557
- },
558
- {
559
- "name": "placeholder",
560
- "type": "string"
561
- },
562
- {
563
- "name": "autoFocus",
564
- "type": "boolean"
565
- },
566
- {
567
- "name": "aiEmployees",
568
- "attribute": false,
569
- "type": "AIEmployee[]"
570
- },
571
- {
572
- "name": "commands",
573
- "attribute": false,
574
- "type": "Command[]"
575
- },
576
- {
577
- "name": "uploadOptions",
578
- "attribute": false,
579
- "type": "UploadOptions"
580
- }
581
- ],
582
- "events": [
583
- {
584
- "name": "message.submit",
585
- "description": "",
586
- "deprecated": "Use `chat.submit` event instead",
587
- "detail": {
588
- "type": "string"
589
- }
590
- },
591
- {
592
- "name": "chat.submit",
593
- "detail": {
594
- "type": "ChatPayload"
595
- }
596
- },
597
- {
598
- "name": "command.select",
599
- "detail": {
600
- "type": "CommandPayload | null"
601
- }
602
- }
603
- ],
604
- "slots": [],
605
- "methods": [
606
- {
607
- "name": "setValue",
608
- "params": [
609
- {
610
- "name": "value",
611
- "type": "string"
612
- }
613
- ]
614
- },
615
- {
616
- "name": "getValue",
617
- "params": []
618
- },
619
- {
620
- "name": "focusOnInput",
621
- "params": []
622
- }
623
- ],
624
- "parts": [],
625
- "description": "构件 `ai-portal.chat-box`"
626
- },
627
- {
628
- "name": "ai-portal.ai-agents",
629
- "properties": [
630
- {
631
- "name": "list",
632
- "attribute": false,
633
- "type": "Agent[]"
634
- },
635
- {
636
- "name": "urlTemplate",
637
- "type": "string"
638
- },
639
- {
640
- "name": "withContainer",
641
- "description": "",
642
- "deprecated": true,
643
- "default": "true"
644
- }
645
- ],
646
- "events": [],
647
- "slots": [],
648
- "methods": [],
649
- "parts": [],
650
- "description": "构件 `ai-portal.ai-agents`"
651
- },
652
637
  {
653
638
  "name": "ai-portal.page-container",
654
639
  "properties": [
@@ -730,6 +715,25 @@
730
715
  ],
731
716
  "description": "构件 `ai-portal.tab-list`"
732
717
  },
718
+ {
719
+ "name": "ai-portal.preview-container",
720
+ "properties": [
721
+ {
722
+ "name": "source",
723
+ "attribute": false,
724
+ "type": "string"
725
+ },
726
+ {
727
+ "name": "url",
728
+ "type": "string"
729
+ }
730
+ ],
731
+ "events": [],
732
+ "slots": [],
733
+ "methods": [],
734
+ "parts": [],
735
+ "description": "构件 `ai-portal.preview-container`"
736
+ },
733
737
  {
734
738
  "name": "ai-portal.dropdown-select",
735
739
  "properties": [
@@ -788,110 +792,106 @@
788
792
  "description": "构件 `ai-portal.dropdown-select`"
789
793
  },
790
794
  {
791
- "name": "ai-portal.preview-container",
795
+ "name": "ai-portal.action-buttons",
792
796
  "properties": [
793
797
  {
794
- "name": "source",
798
+ "name": "items",
795
799
  "attribute": false,
796
- "type": "string"
800
+ "type": "ActionItem[]"
797
801
  },
798
802
  {
799
- "name": "url",
800
- "type": "string"
803
+ "name": "activeKey",
804
+ "type": "string | null"
805
+ }
806
+ ],
807
+ "events": [
808
+ {
809
+ "name": "change",
810
+ "detail": {
811
+ "type": "ActionItem | null"
812
+ }
801
813
  }
802
814
  ],
803
- "events": [],
804
815
  "slots": [],
805
816
  "methods": [],
806
817
  "parts": [],
807
- "description": "构件 `ai-portal.preview-container`"
818
+ "description": "构件 `ai-portal.action-buttons`"
808
819
  },
809
820
  {
810
- "name": "ai-portal.stat-with-mini-chart",
821
+ "name": "ai-portal.chat-box",
811
822
  "properties": [
812
823
  {
813
- "name": "label",
814
- "type": "string"
815
- },
816
- {
817
- "name": "value",
818
- "type": "string"
819
- },
820
- {
821
- "name": "size",
822
- "description": "",
823
- "default": "\"medium\"",
824
- "type": "\"medium\" | \"small\""
824
+ "name": "disabled",
825
+ "type": "boolean"
825
826
  },
826
827
  {
827
- "name": "lineColor",
828
- "description": "",
829
- "default": "\"var(--color-brand)\"",
828
+ "name": "placeholder",
830
829
  "type": "string"
831
830
  },
832
831
  {
833
- "name": "showArea",
832
+ "name": "autoFocus",
834
833
  "type": "boolean"
835
834
  },
836
835
  {
837
- "name": "min",
838
- "description": "Specify the minimum value of the y-axis.\nIf not specified, the minimum value will be calculated from the data.",
839
- "type": "number"
836
+ "name": "aiEmployees",
837
+ "attribute": false,
838
+ "type": "AIEmployee[]"
840
839
  },
841
840
  {
842
- "name": "max",
843
- "description": "Specify the maximum value of the y-axis.\nIf not specified, the maximum value will be calculated from the data.",
844
- "type": "number"
841
+ "name": "commands",
842
+ "attribute": false,
843
+ "type": "Command[]"
845
844
  },
846
845
  {
847
- "name": "xField",
846
+ "name": "uploadOptions",
847
+ "attribute": false,
848
+ "type": "UploadOptions"
849
+ }
850
+ ],
851
+ "events": [
852
+ {
853
+ "name": "message.submit",
848
854
  "description": "",
849
- "default": "\"0\"",
850
- "type": "string"
855
+ "deprecated": "Use `chat.submit` event instead",
856
+ "detail": {
857
+ "type": "string"
858
+ }
851
859
  },
852
860
  {
853
- "name": "yField",
854
- "description": "",
855
- "default": "\"1\"",
856
- "type": "string"
861
+ "name": "chat.submit",
862
+ "detail": {
863
+ "type": "ChatPayload"
864
+ }
857
865
  },
858
866
  {
859
- "name": "data",
860
- "attribute": false,
861
- "type": "Record<string, number>[]"
867
+ "name": "command.select",
868
+ "detail": {
869
+ "type": "CommandPayload | null"
870
+ }
862
871
  }
863
872
  ],
864
- "events": [],
865
873
  "slots": [],
866
- "methods": [],
867
- "parts": [],
868
- "description": "构件 `ai-portal.stat-with-mini-chart`"
869
- },
870
- {
871
- "name": "ai-portal.action-buttons",
872
- "properties": [
874
+ "methods": [
873
875
  {
874
- "name": "items",
875
- "attribute": false,
876
- "type": "ActionItem[]"
876
+ "name": "setValue",
877
+ "params": [
878
+ {
879
+ "name": "value",
880
+ "type": "string"
881
+ }
882
+ ]
877
883
  },
878
884
  {
879
- "name": "activeKey",
880
- "type": "string | null"
881
- }
882
- ],
883
- "events": [
885
+ "name": "getValue",
886
+ "params": []
887
+ },
884
888
  {
885
- "name": "change",
886
- "detail": {
887
- "type": "ActionItem | null"
888
- }
889
+ "name": "focusOnInput",
890
+ "params": []
889
891
  }
890
892
  ],
891
- "slots": [],
892
- "methods": [],
893
893
  "parts": [],
894
- "description": "构件 `ai-portal.action-buttons`"
894
+ "description": "构件 `ai-portal.chat-box`"
895
895
  },
896
896
  {
897
897
  "name": "ai-portal.goal-card-list",
@@ -1110,6 +1110,15 @@
1110
1110
  "parts": [],
1111
1111
  "description": "构件 `ai-portal.chat-input`"
1112
1112
  },
1113
+ {
1114
+ "name": "ai-portal.elevo-logo",
1115
+ "properties": [],
1116
+ "events": [],
1117
+ "slots": [],
1118
+ "methods": [],
1119
+ "parts": [],
1120
+ "description": "构件 `ai-portal.elevo-logo`"
1121
+ },
1113
1122
  {
1114
1123
  "name": "ai-portal.show-case",
1115
1124
  "properties": [
@@ -1132,15 +1141,6 @@
1132
1141
  "parts": [],
1133
1142
  "description": "构件 `ai-portal.show-case`"
1134
1143
  },
1135
- {
1136
- "name": "ai-portal.elevo-logo",
1137
- "properties": [],
1138
- "events": [],
1139
- "slots": [],
1140
- "methods": [],
1141
- "parts": [],
1142
- "description": "构件 `ai-portal.elevo-logo`"
1143
- },
1144
1144
  {
1145
1145
  "name": "ai-portal.blank-state",
1146
1146
  "properties": [
@@ -1224,33 +1224,6 @@
1224
1224
  "parts": [],
1225
1225
  "description": "构件 `ai-portal.elevo-card`"
1226
1226
  },
1227
- {
1228
- "name": "ai-portal.flow-tabs",
1229
- "properties": [
1230
- {
1231
- "name": "tabs",
1232
- "attribute": false,
1233
- "type": "Tab[]"
1234
- },
1235
- {
1236
- "name": "activeTab",
1237
- "attribute": false,
1238
- "type": "string"
1239
- }
1240
- ],
1241
- "events": [
1242
- {
1243
- "name": "tab.click",
1244
- "detail": {
1245
- "type": "Tab"
1246
- }
1247
- }
1248
- ],
1249
- "slots": [],
1250
- "methods": [],
1251
- "parts": [],
1252
- "description": "构件 `ai-portal.flow-tabs`"
1253
- },
1254
1227
  {
1255
1228
  "name": "ai-portal.stage-flow",
1256
1229
  "properties": [
@@ -1338,6 +1311,33 @@
1338
1311
  "parts": [],
1339
1312
  "description": "构件 `ai-portal.stage-flow`"
1340
1313
  },
1314
+ {
1315
+ "name": "ai-portal.flow-tabs",
1316
+ "properties": [
1317
+ {
1318
+ "name": "tabs",
1319
+ "attribute": false,
1320
+ "type": "Tab[]"
1321
+ },
1322
+ {
1323
+ "name": "activeTab",
1324
+ "attribute": false,
1325
+ "type": "string"
1326
+ }
1327
+ ],
1328
+ "events": [
1329
+ {
1330
+ "name": "tab.click",
1331
+ "detail": {
1332
+ "type": "Tab"
1333
+ }
1334
+ }
1335
+ ],
1336
+ "slots": [],
1337
+ "methods": [],
1338
+ "parts": [],
1339
+ "description": "构件 `ai-portal.flow-tabs`"
1340
+ },
1341
1341
  {
1342
1342
  "name": "ai-portal.running-flow",
1343
1343
  "properties": [