@next-bricks/ai-portal 0.40.2 → 0.41.0

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 (48) hide show
  1. package/dist/bricks.json +26 -24
  2. package/dist/chunks/2608.e0bf7de9.js +2 -0
  3. package/dist/chunks/2608.e0bf7de9.js.map +1 -0
  4. package/dist/chunks/{8616.ceae4e7b.js → 3689.2a3f6d8c.js} +3 -3
  5. package/dist/chunks/{8616.ceae4e7b.js.map → 3689.2a3f6d8c.js.map} +1 -1
  6. package/dist/chunks/{382.d2e3f46f.js → 382.6655f2dc.js} +2 -2
  7. package/dist/chunks/{382.d2e3f46f.js.map → 382.6655f2dc.js.map} +1 -1
  8. package/dist/chunks/{4957.f878df32.js → 4957.b0937d56.js} +3 -3
  9. package/dist/chunks/{4957.f878df32.js.map → 4957.b0937d56.js.map} +1 -1
  10. package/dist/chunks/{5521.ef48a4d3.js → 5521.eeb5a205.js} +2 -2
  11. package/dist/chunks/{5521.ef48a4d3.js.map → 5521.eeb5a205.js.map} +1 -1
  12. package/dist/chunks/{6862.32630cc8.js → 6862.fc9c39ee.js} +3 -3
  13. package/dist/chunks/{6862.32630cc8.js.map → 6862.fc9c39ee.js.map} +1 -1
  14. package/dist/chunks/chat-box.9c68697e.js +2 -0
  15. package/dist/chunks/chat-box.9c68697e.js.map +1 -0
  16. package/dist/chunks/elevo-logo.dc137a3c.js +2 -0
  17. package/dist/chunks/elevo-logo.dc137a3c.js.map +1 -0
  18. package/dist/chunks/elevo-sidebar.08b20757.js +3 -0
  19. package/dist/chunks/elevo-sidebar.08b20757.js.map +1 -0
  20. package/dist/chunks/{home-container.9f9ca1ca.js → home-container.211ba989.js} +2 -2
  21. package/dist/chunks/{home-container.9f9ca1ca.js.map → home-container.211ba989.js.map} +1 -1
  22. package/dist/chunks/{main.c1de70a9.js → main.8a0a20f0.js} +2 -2
  23. package/dist/chunks/{main.c1de70a9.js.map → main.8a0a20f0.js.map} +1 -1
  24. package/dist/chunks/page-container.099db5b9.js +2 -0
  25. package/dist/chunks/{page-container.a637a6c4.js.map → page-container.099db5b9.js.map} +1 -1
  26. package/dist/examples.json +16 -13
  27. package/dist/index.b28b88f6.js +2 -0
  28. package/dist/index.b28b88f6.js.map +1 -0
  29. package/dist/manifest.json +184 -175
  30. package/dist/types.json +246 -241
  31. package/dist-types/bootstrap.d.ts +1 -0
  32. package/dist-types/elevo-logo/index.d.ts +9 -0
  33. package/dist-types/elevo-logo/index.spec.d.ts +1 -0
  34. package/docs/elevo-logo.md +9 -0
  35. package/package.json +2 -2
  36. package/dist/chunks/8176.fe523596.js +0 -2
  37. package/dist/chunks/8176.fe523596.js.map +0 -1
  38. package/dist/chunks/chat-box.6ae456b3.js +0 -2
  39. package/dist/chunks/chat-box.6ae456b3.js.map +0 -1
  40. package/dist/chunks/elevo-sidebar.199ad1c6.js +0 -3
  41. package/dist/chunks/elevo-sidebar.199ad1c6.js.map +0 -1
  42. package/dist/chunks/page-container.a637a6c4.js +0 -2
  43. package/dist/index.7b53be7d.js +0 -2
  44. package/dist/index.7b53be7d.js.map +0 -1
  45. /package/dist/chunks/{8616.ceae4e7b.js.LICENSE.txt → 3689.2a3f6d8c.js.LICENSE.txt} +0 -0
  46. /package/dist/chunks/{4957.f878df32.js.LICENSE.txt → 4957.b0937d56.js.LICENSE.txt} +0 -0
  47. /package/dist/chunks/{6862.32630cc8.js.LICENSE.txt → 6862.fc9c39ee.js.LICENSE.txt} +0 -0
  48. /package/dist/chunks/{elevo-sidebar.199ad1c6.js.LICENSE.txt → elevo-sidebar.08b20757.js.LICENSE.txt} +0 -0
package/dist/types.json CHANGED
@@ -1,9 +1,4 @@
1
1
  {
2
- "ai-portal.home-container": {
3
- "properties": [],
4
- "events": [],
5
- "methods": []
6
- },
7
2
  "ai-portal.icon-button": {
8
3
  "properties": [
9
4
  {
@@ -223,50 +218,6 @@
223
218
  }
224
219
  }
225
220
  },
226
- "ai-portal.entity-sdk-list": {
227
- "type": "provider",
228
- "params": [
229
- {
230
- "name": "workspace",
231
- "annotation": {
232
- "type": "keyword",
233
- "value": "string"
234
- }
235
- },
236
- {
237
- "name": "entity",
238
- "annotation": {
239
- "type": "keyword",
240
- "value": "string"
241
- }
242
- },
243
- {
244
- "name": "params",
245
- "annotation": {
246
- "type": "keyword",
247
- "value": "any"
248
- }
249
- }
250
- ],
251
- "returns": {
252
- "annotation": {
253
- "type": "reference",
254
- "typeName": {
255
- "type": "identifier",
256
- "name": "Promise"
257
- },
258
- "typeParameters": {
259
- "type": "typeParameterInstantiation",
260
- "params": [
261
- {
262
- "type": "keyword",
263
- "value": "unknown"
264
- }
265
- ]
266
- }
267
- }
268
- }
269
- },
270
221
  "ai-portal.save-request-store": {
271
222
  "type": "provider",
272
223
  "params": [
@@ -384,6 +335,50 @@
384
335
  }
385
336
  }
386
337
  },
338
+ "ai-portal.entity-sdk-list": {
339
+ "type": "provider",
340
+ "params": [
341
+ {
342
+ "name": "workspace",
343
+ "annotation": {
344
+ "type": "keyword",
345
+ "value": "string"
346
+ }
347
+ },
348
+ {
349
+ "name": "entity",
350
+ "annotation": {
351
+ "type": "keyword",
352
+ "value": "string"
353
+ }
354
+ },
355
+ {
356
+ "name": "params",
357
+ "annotation": {
358
+ "type": "keyword",
359
+ "value": "any"
360
+ }
361
+ }
362
+ ],
363
+ "returns": {
364
+ "annotation": {
365
+ "type": "reference",
366
+ "typeName": {
367
+ "type": "identifier",
368
+ "name": "Promise"
369
+ },
370
+ "typeParameters": {
371
+ "type": "typeParameterInstantiation",
372
+ "params": [
373
+ {
374
+ "type": "keyword",
375
+ "value": "unknown"
376
+ }
377
+ ]
378
+ }
379
+ }
380
+ }
381
+ },
387
382
  "ai-portal.page-container": {
388
383
  "properties": [
389
384
  {
@@ -536,6 +531,16 @@
536
531
  }
537
532
  ]
538
533
  },
534
+ "ai-portal.home-container": {
535
+ "properties": [],
536
+ "events": [],
537
+ "methods": []
538
+ },
539
+ "ai-portal.elevo-logo": {
540
+ "properties": [],
541
+ "events": [],
542
+ "methods": []
543
+ },
539
544
  "ai-portal.project-knowledges": {
540
545
  "properties": [
541
546
  {
@@ -857,7 +862,7 @@
857
862
  }
858
863
  ]
859
864
  },
860
- "ai-portal.mcp-tools": {
865
+ "ai-portal.ai-employees": {
861
866
  "properties": [
862
867
  {
863
868
  "name": "list",
@@ -867,11 +872,28 @@
867
872
  "type": "reference",
868
873
  "typeName": {
869
874
  "type": "identifier",
870
- "name": "McpTool"
875
+ "name": "Employee"
871
876
  }
872
877
  }
873
878
  }
874
879
  },
880
+ {
881
+ "name": "industries",
882
+ "annotation": {
883
+ "type": "array",
884
+ "elementType": {
885
+ "type": "keyword",
886
+ "value": "string"
887
+ }
888
+ }
889
+ },
890
+ {
891
+ "name": "urlTemplate",
892
+ "annotation": {
893
+ "type": "keyword",
894
+ "value": "string"
895
+ }
896
+ },
875
897
  {
876
898
  "name": "withContainer",
877
899
  "annotation": {
@@ -885,7 +907,7 @@
885
907
  "types": [
886
908
  {
887
909
  "type": "interface",
888
- "name": "McpTool",
910
+ "name": "Employee",
889
911
  "body": [
890
912
  {
891
913
  "type": "propertySignature",
@@ -903,7 +925,7 @@
903
925
  "type": "propertySignature",
904
926
  "key": {
905
927
  "type": "identifier",
906
- "name": "title"
928
+ "name": "industry"
907
929
  },
908
930
  "annotation": {
909
931
  "type": "keyword",
@@ -915,7 +937,7 @@
915
937
  "type": "propertySignature",
916
938
  "key": {
917
939
  "type": "identifier",
918
- "name": "description"
940
+ "name": "role"
919
941
  },
920
942
  "annotation": {
921
943
  "type": "keyword",
@@ -927,44 +949,7 @@
927
949
  "type": "propertySignature",
928
950
  "key": {
929
951
  "type": "identifier",
930
- "name": "icon"
931
- },
932
- "annotation": {
933
- "type": "reference",
934
- "typeName": {
935
- "type": "identifier",
936
- "name": "GeneralIconProps"
937
- }
938
- },
939
- "optional": true,
940
- "computed": false
941
- },
942
- {
943
- "type": "propertySignature",
944
- "key": {
945
- "type": "identifier",
946
- "name": "server"
947
- },
948
- "annotation": {
949
- "type": "reference",
950
- "typeName": {
951
- "type": "identifier",
952
- "name": "McpServer"
953
- }
954
- },
955
- "computed": false
956
- }
957
- ]
958
- },
959
- {
960
- "type": "interface",
961
- "name": "McpServer",
962
- "body": [
963
- {
964
- "type": "propertySignature",
965
- "key": {
966
- "type": "identifier",
967
- "name": "id"
952
+ "name": "description"
968
953
  },
969
954
  "annotation": {
970
955
  "type": "keyword",
@@ -976,19 +961,20 @@
976
961
  "type": "propertySignature",
977
962
  "key": {
978
963
  "type": "identifier",
979
- "name": "name"
964
+ "name": "avatar"
980
965
  },
981
966
  "annotation": {
982
967
  "type": "keyword",
983
968
  "value": "string"
984
969
  },
970
+ "optional": true,
985
971
  "computed": false
986
972
  }
987
973
  ]
988
974
  }
989
975
  ]
990
976
  },
991
- "ai-portal.ai-employees": {
977
+ "ai-portal.mcp-tools": {
992
978
  "properties": [
993
979
  {
994
980
  "name": "list",
@@ -998,28 +984,11 @@
998
984
  "type": "reference",
999
985
  "typeName": {
1000
986
  "type": "identifier",
1001
- "name": "Employee"
987
+ "name": "McpTool"
1002
988
  }
1003
989
  }
1004
990
  }
1005
991
  },
1006
- {
1007
- "name": "industries",
1008
- "annotation": {
1009
- "type": "array",
1010
- "elementType": {
1011
- "type": "keyword",
1012
- "value": "string"
1013
- }
1014
- }
1015
- },
1016
- {
1017
- "name": "urlTemplate",
1018
- "annotation": {
1019
- "type": "keyword",
1020
- "value": "string"
1021
- }
1022
- },
1023
992
  {
1024
993
  "name": "withContainer",
1025
994
  "annotation": {
@@ -1033,7 +1002,7 @@
1033
1002
  "types": [
1034
1003
  {
1035
1004
  "type": "interface",
1036
- "name": "Employee",
1005
+ "name": "McpTool",
1037
1006
  "body": [
1038
1007
  {
1039
1008
  "type": "propertySignature",
@@ -1051,7 +1020,7 @@
1051
1020
  "type": "propertySignature",
1052
1021
  "key": {
1053
1022
  "type": "identifier",
1054
- "name": "industry"
1023
+ "name": "title"
1055
1024
  },
1056
1025
  "annotation": {
1057
1026
  "type": "keyword",
@@ -1063,7 +1032,7 @@
1063
1032
  "type": "propertySignature",
1064
1033
  "key": {
1065
1034
  "type": "identifier",
1066
- "name": "role"
1035
+ "name": "description"
1067
1036
  },
1068
1037
  "annotation": {
1069
1038
  "type": "keyword",
@@ -1075,7 +1044,44 @@
1075
1044
  "type": "propertySignature",
1076
1045
  "key": {
1077
1046
  "type": "identifier",
1078
- "name": "description"
1047
+ "name": "icon"
1048
+ },
1049
+ "annotation": {
1050
+ "type": "reference",
1051
+ "typeName": {
1052
+ "type": "identifier",
1053
+ "name": "GeneralIconProps"
1054
+ }
1055
+ },
1056
+ "optional": true,
1057
+ "computed": false
1058
+ },
1059
+ {
1060
+ "type": "propertySignature",
1061
+ "key": {
1062
+ "type": "identifier",
1063
+ "name": "server"
1064
+ },
1065
+ "annotation": {
1066
+ "type": "reference",
1067
+ "typeName": {
1068
+ "type": "identifier",
1069
+ "name": "McpServer"
1070
+ }
1071
+ },
1072
+ "computed": false
1073
+ }
1074
+ ]
1075
+ },
1076
+ {
1077
+ "type": "interface",
1078
+ "name": "McpServer",
1079
+ "body": [
1080
+ {
1081
+ "type": "propertySignature",
1082
+ "key": {
1083
+ "type": "identifier",
1084
+ "name": "id"
1079
1085
  },
1080
1086
  "annotation": {
1081
1087
  "type": "keyword",
@@ -1087,13 +1093,12 @@
1087
1093
  "type": "propertySignature",
1088
1094
  "key": {
1089
1095
  "type": "identifier",
1090
- "name": "avatar"
1096
+ "name": "name"
1091
1097
  },
1092
1098
  "annotation": {
1093
1099
  "type": "keyword",
1094
1100
  "value": "string"
1095
1101
  },
1096
- "optional": true,
1097
1102
  "computed": false
1098
1103
  }
1099
1104
  ]
@@ -1449,129 +1454,6 @@
1449
1454
  "events": [],
1450
1455
  "methods": []
1451
1456
  },
1452
- "ai-portal.action-buttons": {
1453
- "properties": [
1454
- {
1455
- "name": "items",
1456
- "annotation": {
1457
- "type": "array",
1458
- "elementType": {
1459
- "type": "reference",
1460
- "typeName": {
1461
- "type": "identifier",
1462
- "name": "ActionItem"
1463
- }
1464
- }
1465
- }
1466
- },
1467
- {
1468
- "name": "multiple",
1469
- "annotation": {
1470
- "type": "keyword",
1471
- "value": "boolean"
1472
- }
1473
- }
1474
- ],
1475
- "events": [
1476
- {
1477
- "name": "action.click",
1478
- "detail": {
1479
- "annotation": {
1480
- "type": "reference",
1481
- "typeName": {
1482
- "type": "identifier",
1483
- "name": "ActionItem"
1484
- }
1485
- }
1486
- }
1487
- }
1488
- ],
1489
- "methods": [],
1490
- "types": [
1491
- {
1492
- "type": "interface",
1493
- "name": "ActionItem",
1494
- "body": [
1495
- {
1496
- "type": "propertySignature",
1497
- "key": {
1498
- "type": "identifier",
1499
- "name": "text"
1500
- },
1501
- "annotation": {
1502
- "type": "keyword",
1503
- "value": "string"
1504
- },
1505
- "computed": false
1506
- },
1507
- {
1508
- "type": "propertySignature",
1509
- "key": {
1510
- "type": "identifier",
1511
- "name": "icon"
1512
- },
1513
- "annotation": {
1514
- "type": "reference",
1515
- "typeName": {
1516
- "type": "identifier",
1517
- "name": "GeneralIconProps"
1518
- }
1519
- },
1520
- "optional": true,
1521
- "computed": false
1522
- },
1523
- {
1524
- "type": "propertySignature",
1525
- "key": {
1526
- "type": "identifier",
1527
- "name": "active"
1528
- },
1529
- "annotation": {
1530
- "type": "keyword",
1531
- "value": "boolean"
1532
- },
1533
- "optional": true,
1534
- "computed": false
1535
- },
1536
- {
1537
- "type": "propertySignature",
1538
- "key": {
1539
- "type": "identifier",
1540
- "name": "event"
1541
- },
1542
- "annotation": {
1543
- "type": "keyword",
1544
- "value": "string"
1545
- },
1546
- "optional": true,
1547
- "computed": false
1548
- },
1549
- {
1550
- "type": "propertySignature",
1551
- "key": {
1552
- "type": "identifier",
1553
- "name": "hidden"
1554
- },
1555
- "annotation": {
1556
- "type": "keyword",
1557
- "value": "boolean"
1558
- },
1559
- "optional": true,
1560
- "computed": false
1561
- }
1562
- ],
1563
- "extends": [
1564
- {
1565
- "type": "expressionWithTypeArguments",
1566
- "expression": {
1567
- "type": "identifier",
1568
- "name": "ButtonProps"
1569
- }
1570
- }
1571
- ]
1572
- }
1573
- ]
1574
- },
1575
1457
  "ai-portal.project-conversations": {
1576
1458
  "properties": [
1577
1459
  {
@@ -1798,6 +1680,129 @@
1798
1680
  }
1799
1681
  ]
1800
1682
  },
1683
+ "ai-portal.action-buttons": {
1684
+ "properties": [
1685
+ {
1686
+ "name": "items",
1687
+ "annotation": {
1688
+ "type": "array",
1689
+ "elementType": {
1690
+ "type": "reference",
1691
+ "typeName": {
1692
+ "type": "identifier",
1693
+ "name": "ActionItem"
1694
+ }
1695
+ }
1696
+ }
1697
+ },
1698
+ {
1699
+ "name": "multiple",
1700
+ "annotation": {
1701
+ "type": "keyword",
1702
+ "value": "boolean"
1703
+ }
1704
+ }
1705
+ ],
1706
+ "events": [
1707
+ {
1708
+ "name": "action.click",
1709
+ "detail": {
1710
+ "annotation": {
1711
+ "type": "reference",
1712
+ "typeName": {
1713
+ "type": "identifier",
1714
+ "name": "ActionItem"
1715
+ }
1716
+ }
1717
+ }
1718
+ }
1719
+ ],
1720
+ "methods": [],
1721
+ "types": [
1722
+ {
1723
+ "type": "interface",
1724
+ "name": "ActionItem",
1725
+ "body": [
1726
+ {
1727
+ "type": "propertySignature",
1728
+ "key": {
1729
+ "type": "identifier",
1730
+ "name": "text"
1731
+ },
1732
+ "annotation": {
1733
+ "type": "keyword",
1734
+ "value": "string"
1735
+ },
1736
+ "computed": false
1737
+ },
1738
+ {
1739
+ "type": "propertySignature",
1740
+ "key": {
1741
+ "type": "identifier",
1742
+ "name": "icon"
1743
+ },
1744
+ "annotation": {
1745
+ "type": "reference",
1746
+ "typeName": {
1747
+ "type": "identifier",
1748
+ "name": "GeneralIconProps"
1749
+ }
1750
+ },
1751
+ "optional": true,
1752
+ "computed": false
1753
+ },
1754
+ {
1755
+ "type": "propertySignature",
1756
+ "key": {
1757
+ "type": "identifier",
1758
+ "name": "active"
1759
+ },
1760
+ "annotation": {
1761
+ "type": "keyword",
1762
+ "value": "boolean"
1763
+ },
1764
+ "optional": true,
1765
+ "computed": false
1766
+ },
1767
+ {
1768
+ "type": "propertySignature",
1769
+ "key": {
1770
+ "type": "identifier",
1771
+ "name": "event"
1772
+ },
1773
+ "annotation": {
1774
+ "type": "keyword",
1775
+ "value": "string"
1776
+ },
1777
+ "optional": true,
1778
+ "computed": false
1779
+ },
1780
+ {
1781
+ "type": "propertySignature",
1782
+ "key": {
1783
+ "type": "identifier",
1784
+ "name": "hidden"
1785
+ },
1786
+ "annotation": {
1787
+ "type": "keyword",
1788
+ "value": "boolean"
1789
+ },
1790
+ "optional": true,
1791
+ "computed": false
1792
+ }
1793
+ ],
1794
+ "extends": [
1795
+ {
1796
+ "type": "expressionWithTypeArguments",
1797
+ "expression": {
1798
+ "type": "identifier",
1799
+ "name": "ButtonProps"
1800
+ }
1801
+ }
1802
+ ]
1803
+ }
1804
+ ]
1805
+ },
1801
1806
  "ai-portal.activity-timeline": {
1802
1807
  "properties": [
1803
1808
  {
@@ -23,3 +23,4 @@ import "./project-conversations/index.js";
23
23
  import "./project-knowledges/index.js";
24
24
  import "./activity-timeline/index.js";
25
25
  import "./chat-input/index.js";
26
+ import "./elevo-logo/index.js";
@@ -0,0 +1,9 @@
1
+ import React from "react";
2
+ import { ReactNextElement } from "@next-core/react-element";
3
+ import "@next-core/theme";
4
+ /**
5
+ * 构件 `ai-portal.elevo-logo`
6
+ */
7
+ export declare class ElevoLogo extends ReactNextElement {
8
+ render(): React.JSX.Element;
9
+ }
@@ -0,0 +1 @@
1
+ import "./";
@@ -0,0 +1,9 @@
1
+ 构件 `ai-portal.elevo-logo`
2
+
3
+ ## Examples
4
+
5
+ ### Basic
6
+
7
+ ```yaml preview
8
+ brick: ai-portal.elevo-logo
9
+ ```
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@next-bricks/ai-portal",
3
- "version": "0.40.2",
3
+ "version": "0.41.0",
4
4
  "homepage": "https://github.com/easyops-cn/next-advanced-bricks/tree/master/bricks/ai-portal",
5
5
  "repository": {
6
6
  "type": "git",
@@ -48,5 +48,5 @@
48
48
  "@next-bricks/presentational": "*",
49
49
  "@next-bricks/vs": "*"
50
50
  },
51
- "gitHead": "e14e0686a94d37b40335d6ce4a18f1eca073605b"
51
+ "gitHead": "4f960963f5bf8c8cdc2501dd0b35b0ee2aca4fbe"
52
52
  }