@next-bricks/ai-portal 0.60.0 → 0.60.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 (151) hide show
  1. package/dist/bricks.json +22 -22
  2. package/dist/chunks/1480.0de951a3.js +2 -0
  3. package/dist/chunks/1480.0de951a3.js.map +1 -0
  4. package/dist/chunks/{2084.ddaad7cc.js → 2084.aae5392b.js} +3 -3
  5. package/dist/chunks/2084.aae5392b.js.map +1 -0
  6. package/dist/chunks/{2232.02cd2bbc.js → 2232.085b8abd.js} +2 -2
  7. package/dist/chunks/{2232.02cd2bbc.js.map → 2232.085b8abd.js.map} +1 -1
  8. package/dist/chunks/{2324.d6932d39.js → 2324.a4a90c77.js} +2 -2
  9. package/dist/chunks/{2324.d6932d39.js.map → 2324.a4a90c77.js.map} +1 -1
  10. package/dist/chunks/2357.b6f1e719.js +2 -0
  11. package/dist/chunks/2357.b6f1e719.js.map +1 -0
  12. package/dist/chunks/{3171.a0251432.js → 3171.45ef4669.js} +2 -2
  13. package/dist/chunks/{3171.a0251432.js.map → 3171.45ef4669.js.map} +1 -1
  14. package/dist/chunks/3793.03162dd0.js +2 -0
  15. package/dist/chunks/3793.03162dd0.js.map +1 -0
  16. package/dist/chunks/{7146.1af0c62e.js → 4765.03d9c7c5.js} +2 -2
  17. package/dist/chunks/{7146.1af0c62e.js.map → 4765.03d9c7c5.js.map} +1 -1
  18. package/dist/chunks/{4837.c7f9a784.js → 4837.570099ad.js} +2 -2
  19. package/dist/chunks/{4837.c7f9a784.js.map → 4837.570099ad.js.map} +1 -1
  20. package/dist/chunks/{5552.84bdc597.js → 5552.09658542.js} +2 -2
  21. package/dist/chunks/{5552.84bdc597.js.map → 5552.09658542.js.map} +1 -1
  22. package/dist/chunks/5712.827c2e04.js +2 -0
  23. package/dist/chunks/5712.827c2e04.js.map +1 -0
  24. package/dist/chunks/6450.ade6ef3e.js +2 -0
  25. package/dist/chunks/6450.ade6ef3e.js.map +1 -0
  26. package/dist/chunks/6792.03e66697.js +2 -0
  27. package/dist/chunks/6792.03e66697.js.map +1 -0
  28. package/dist/chunks/{4765.e2813cac.js → 7146.b327120d.js} +2 -2
  29. package/dist/chunks/{4765.e2813cac.js.map → 7146.b327120d.js.map} +1 -1
  30. package/dist/chunks/7888.61a7cdf2.js +3 -0
  31. package/dist/chunks/7888.61a7cdf2.js.LICENSE.txt +7 -0
  32. package/dist/chunks/7888.61a7cdf2.js.map +1 -0
  33. package/dist/chunks/7955.0c92eb57.js +3 -0
  34. package/dist/chunks/{7238.9abe2a64.js.LICENSE.txt → 7955.0c92eb57.js.LICENSE.txt} +0 -6
  35. package/dist/chunks/7955.0c92eb57.js.map +1 -0
  36. package/dist/chunks/948.e601f18c.js +3 -0
  37. package/dist/chunks/948.e601f18c.js.map +1 -0
  38. package/dist/chunks/9525.9e5140be.js +15 -0
  39. package/dist/chunks/9525.9e5140be.js.map +1 -0
  40. package/dist/chunks/{9599.1f04dd1f.js → 9599.02a5e6e3.js} +2 -2
  41. package/dist/chunks/{9599.1f04dd1f.js.map → 9599.02a5e6e3.js.map} +1 -1
  42. package/dist/chunks/9979.44f64896.js +2 -0
  43. package/dist/chunks/9979.44f64896.js.map +1 -0
  44. package/dist/chunks/{action-buttons.989fd1c9.js → action-buttons.68666920.js} +2 -2
  45. package/dist/chunks/{action-buttons.989fd1c9.js.map → action-buttons.68666920.js.map} +1 -1
  46. package/dist/chunks/{activity-timeline.60adaa84.js → activity-timeline.96e7aaea.js} +2 -2
  47. package/dist/chunks/{activity-timeline.60adaa84.js.map → activity-timeline.96e7aaea.js.map} +1 -1
  48. package/dist/chunks/{ai-agents.92ed0274.js → ai-agents.cffd08a0.js} +3 -3
  49. package/dist/chunks/{ai-agents.92ed0274.js.map → ai-agents.cffd08a0.js.map} +1 -1
  50. package/dist/chunks/{ai-employees.52fe4443.js → ai-employees.267c3626.js} +3 -3
  51. package/dist/chunks/{ai-employees.52fe4443.js.map → ai-employees.267c3626.js.map} +1 -1
  52. package/dist/chunks/{call-tool.89a848e0.js → call-tool.a3219d5e.js} +2 -2
  53. package/dist/chunks/call-tool.a3219d5e.js.map +1 -0
  54. package/dist/chunks/{chat-box.991e397f.js → chat-box.ca4c62c9.js} +3 -3
  55. package/dist/chunks/{chat-box.991e397f.js.map → chat-box.ca4c62c9.js.map} +1 -1
  56. package/dist/chunks/{chat-input.fce2d021.js → chat-input.e999f79c.js} +2 -2
  57. package/dist/chunks/{chat-input.fce2d021.js.map → chat-input.e999f79c.js.map} +1 -1
  58. package/dist/chunks/{chat-stream.362a2292.js → chat-stream.8d8dc5a0.js} +2 -2
  59. package/dist/chunks/{chat-stream.362a2292.js.map → chat-stream.8d8dc5a0.js.map} +1 -1
  60. package/dist/chunks/{cruise-canvas.b444c4ca.js → cruise-canvas.4a0692fb.js} +2 -2
  61. package/dist/chunks/{cruise-canvas.b444c4ca.js.map → cruise-canvas.4a0692fb.js.map} +1 -1
  62. package/dist/chunks/{dropdown-select.1140bf2b.js → dropdown-select.336442ba.js} +2 -2
  63. package/dist/chunks/{dropdown-select.1140bf2b.js.map → dropdown-select.336442ba.js.map} +1 -1
  64. package/dist/chunks/{elevo-sidebar.0d1f76dd.js → elevo-sidebar.68648b33.js} +3 -3
  65. package/dist/chunks/elevo-sidebar.68648b33.js.map +1 -0
  66. package/dist/chunks/{gantt-chart.c8cdcd66.js → gantt-chart.42c7f514.js} +2 -2
  67. package/dist/chunks/{gantt-chart.c8cdcd66.js.map → gantt-chart.42c7f514.js.map} +1 -1
  68. package/dist/chunks/{goal-card-list.44c21cf2.js → goal-card-list.74ab5767.js} +3 -3
  69. package/dist/chunks/{goal-card-list.44c21cf2.js.map → goal-card-list.74ab5767.js.map} +1 -1
  70. package/dist/chunks/{load-request-store.b4cf045b.js → load-request-store.a6effafd.js} +2 -2
  71. package/dist/chunks/{load-request-store.b4cf045b.js.map → load-request-store.a6effafd.js.map} +1 -1
  72. package/dist/chunks/main.65f1d0be.js +2 -0
  73. package/dist/chunks/{main.87ffc00f.js.map → main.65f1d0be.js.map} +1 -1
  74. package/dist/chunks/{mcp-tools.0acb474a.js → mcp-tools.f132c502.js} +2 -2
  75. package/dist/chunks/{mcp-tools.0acb474a.js.map → mcp-tools.f132c502.js.map} +1 -1
  76. package/dist/chunks/{notice-dropdown.365134e6.js → notice-dropdown.63cb2415.js} +2 -2
  77. package/dist/chunks/{notice-dropdown.365134e6.js.map → notice-dropdown.63cb2415.js.map} +1 -1
  78. package/dist/chunks/{notice-list.d51c0103.js → notice-list.9a78cc87.js} +3 -3
  79. package/dist/chunks/{notice-list.d51c0103.js.map → notice-list.9a78cc87.js.map} +1 -1
  80. package/dist/chunks/{page-container.570e7c6d.js → page-container.08e26095.js} +2 -2
  81. package/dist/chunks/{page-container.570e7c6d.js.map → page-container.08e26095.js.map} +1 -1
  82. package/dist/chunks/preview-container.a0ca6e2f.js +2 -0
  83. package/dist/chunks/preview-container.a0ca6e2f.js.map +1 -0
  84. package/dist/chunks/{project-conversations.3f559e57.js → project-conversations.4cc72f40.js} +3 -3
  85. package/dist/chunks/{project-conversations.3f559e57.js.map → project-conversations.4cc72f40.js.map} +1 -1
  86. package/dist/chunks/{project-knowledges.24611263.js → project-knowledges.51731410.js} +3 -3
  87. package/dist/chunks/{project-knowledges.24611263.js.map → project-knowledges.51731410.js.map} +1 -1
  88. package/dist/chunks/{set-chat-command.367b9c88.js → set-chat-command.182747cc.js} +2 -2
  89. package/dist/chunks/{set-chat-command.367b9c88.js.map → set-chat-command.182747cc.js.map} +1 -1
  90. package/dist/chunks/{show-case.7bc5fc9e.js → show-case.44e995fc.js} +2 -2
  91. package/dist/chunks/{show-case.7bc5fc9e.js.map → show-case.44e995fc.js.map} +1 -1
  92. package/dist/chunks/{show-cases.85fe99d4.js → show-cases.c3921ea0.js} +2 -2
  93. package/dist/chunks/{show-cases.85fe99d4.js.map → show-cases.c3921ea0.js.map} +1 -1
  94. package/dist/chunks/{stage-flow.22610ca5.js → stage-flow.9b6fad93.js} +2 -2
  95. package/dist/chunks/{stage-flow.22610ca5.js.map → stage-flow.9b6fad93.js.map} +1 -1
  96. package/dist/examples.json +13 -13
  97. package/dist/index.9833ba26.js +2 -0
  98. package/dist/index.9833ba26.js.map +1 -0
  99. package/dist/manifest.json +146 -146
  100. package/dist/types.json +193 -167
  101. package/dist-types/data-providers/call-tool.d.ts +1 -1
  102. package/dist-types/elevo-sidebar/ChatHistory.d.ts +3 -1
  103. package/dist-types/elevo-sidebar/index.d.ts +2 -1
  104. package/dist-types/jsx.d.ts +77 -0
  105. package/dist-types/shared/interfaces.d.ts +1 -1
  106. package/dist-types/shared/workers/tsxParser.d.ts +1 -1
  107. package/package.json +5 -3
  108. package/dist/chunks/2084.ddaad7cc.js.map +0 -1
  109. package/dist/chunks/3199.0220cf6e.js +0 -3
  110. package/dist/chunks/3199.0220cf6e.js.map +0 -1
  111. package/dist/chunks/3735.8c1d82e7.js +0 -15
  112. package/dist/chunks/3735.8c1d82e7.js.LICENSE.txt +0 -5
  113. package/dist/chunks/3735.8c1d82e7.js.map +0 -1
  114. package/dist/chunks/5712.c566ad78.js +0 -2
  115. package/dist/chunks/5712.c566ad78.js.map +0 -1
  116. package/dist/chunks/6593.58eda50f.js +0 -2
  117. package/dist/chunks/6593.58eda50f.js.map +0 -1
  118. package/dist/chunks/6792.0efb2d00.js +0 -2
  119. package/dist/chunks/6792.0efb2d00.js.map +0 -1
  120. package/dist/chunks/7238.9abe2a64.js +0 -3
  121. package/dist/chunks/7238.9abe2a64.js.map +0 -1
  122. package/dist/chunks/7586.b406d4bf.js +0 -2
  123. package/dist/chunks/7586.b406d4bf.js.map +0 -1
  124. package/dist/chunks/8135.3255c5ba.js +0 -2
  125. package/dist/chunks/8135.3255c5ba.js.map +0 -1
  126. package/dist/chunks/843.9b7325c3.js +0 -2
  127. package/dist/chunks/843.9b7325c3.js.map +0 -1
  128. package/dist/chunks/9388.e48bb229.js +0 -2
  129. package/dist/chunks/9388.e48bb229.js.map +0 -1
  130. package/dist/chunks/948.d125d58c.js +0 -3
  131. package/dist/chunks/948.d125d58c.js.map +0 -1
  132. package/dist/chunks/9496.1d7ebb7f.js +0 -2
  133. package/dist/chunks/9496.1d7ebb7f.js.map +0 -1
  134. package/dist/chunks/call-tool.89a848e0.js.map +0 -1
  135. package/dist/chunks/elevo-sidebar.0d1f76dd.js.map +0 -1
  136. package/dist/chunks/main.87ffc00f.js +0 -2
  137. package/dist/chunks/preview-container.19631a7b.js +0 -2
  138. package/dist/chunks/preview-container.19631a7b.js.map +0 -1
  139. package/dist/index.a91518b7.js +0 -2
  140. package/dist/index.a91518b7.js.map +0 -1
  141. /package/dist/chunks/{2084.ddaad7cc.js.LICENSE.txt → 2084.aae5392b.js.LICENSE.txt} +0 -0
  142. /package/dist/chunks/{948.d125d58c.js.LICENSE.txt → 948.e601f18c.js.LICENSE.txt} +0 -0
  143. /package/dist/chunks/{3199.0220cf6e.js.LICENSE.txt → 9525.9e5140be.js.LICENSE.txt} +0 -0
  144. /package/dist/chunks/{ai-agents.92ed0274.js.LICENSE.txt → ai-agents.cffd08a0.js.LICENSE.txt} +0 -0
  145. /package/dist/chunks/{ai-employees.52fe4443.js.LICENSE.txt → ai-employees.267c3626.js.LICENSE.txt} +0 -0
  146. /package/dist/chunks/{chat-box.991e397f.js.LICENSE.txt → chat-box.ca4c62c9.js.LICENSE.txt} +0 -0
  147. /package/dist/chunks/{elevo-sidebar.0d1f76dd.js.LICENSE.txt → elevo-sidebar.68648b33.js.LICENSE.txt} +0 -0
  148. /package/dist/chunks/{goal-card-list.44c21cf2.js.LICENSE.txt → goal-card-list.74ab5767.js.LICENSE.txt} +0 -0
  149. /package/dist/chunks/{notice-list.d51c0103.js.LICENSE.txt → notice-list.9a78cc87.js.LICENSE.txt} +0 -0
  150. /package/dist/chunks/{project-conversations.3f559e57.js.LICENSE.txt → project-conversations.4cc72f40.js.LICENSE.txt} +0 -0
  151. /package/dist/chunks/{project-knowledges.24611263.js.LICENSE.txt → project-knowledges.51731410.js.LICENSE.txt} +0 -0
package/dist/types.json CHANGED
@@ -1,4 +1,17 @@
1
1
  {
2
+ "ai-portal.home-container": {
3
+ "properties": [
4
+ {
5
+ "name": "sticky",
6
+ "annotation": {
7
+ "type": "keyword",
8
+ "value": "boolean"
9
+ }
10
+ }
11
+ ],
12
+ "events": [],
13
+ "methods": []
14
+ },
2
15
  "ai-portal.stat-with-mini-chart": {
3
16
  "properties": [
4
17
  {
@@ -103,19 +116,6 @@
103
116
  "events": [],
104
117
  "methods": []
105
118
  },
106
- "ai-portal.home-container": {
107
- "properties": [
108
- {
109
- "name": "sticky",
110
- "annotation": {
111
- "type": "keyword",
112
- "value": "boolean"
113
- }
114
- }
115
- ],
116
- "events": [],
117
- "methods": []
118
- },
119
119
  "ai-portal.icon-button": {
120
120
  "properties": [
121
121
  {
@@ -823,77 +823,6 @@
823
823
  }
824
824
  ]
825
825
  },
826
- "ai-portal.tab-list": {
827
- "properties": [
828
- {
829
- "name": "tabs",
830
- "annotation": {
831
- "type": "array",
832
- "elementType": {
833
- "type": "reference",
834
- "typeName": {
835
- "type": "identifier",
836
- "name": "Tab"
837
- }
838
- }
839
- }
840
- },
841
- {
842
- "name": "activeTab",
843
- "annotation": {
844
- "type": "keyword",
845
- "value": "string"
846
- }
847
- }
848
- ],
849
- "events": [
850
- {
851
- "name": "tab.click",
852
- "detail": {
853
- "annotation": {
854
- "type": "reference",
855
- "typeName": {
856
- "type": "identifier",
857
- "name": "Tab"
858
- }
859
- }
860
- }
861
- }
862
- ],
863
- "methods": [],
864
- "types": [
865
- {
866
- "type": "interface",
867
- "name": "Tab",
868
- "body": [
869
- {
870
- "type": "propertySignature",
871
- "key": {
872
- "type": "identifier",
873
- "name": "id"
874
- },
875
- "annotation": {
876
- "type": "keyword",
877
- "value": "string"
878
- },
879
- "computed": false
880
- },
881
- {
882
- "type": "propertySignature",
883
- "key": {
884
- "type": "identifier",
885
- "name": "label"
886
- },
887
- "annotation": {
888
- "type": "keyword",
889
- "value": "string"
890
- },
891
- "computed": false
892
- }
893
- ]
894
- }
895
- ]
896
- },
897
826
  "ai-portal.page-container": {
898
827
  "properties": [
899
828
  {
@@ -1002,6 +931,77 @@
1002
931
  }
1003
932
  ]
1004
933
  },
934
+ "ai-portal.tab-list": {
935
+ "properties": [
936
+ {
937
+ "name": "tabs",
938
+ "annotation": {
939
+ "type": "array",
940
+ "elementType": {
941
+ "type": "reference",
942
+ "typeName": {
943
+ "type": "identifier",
944
+ "name": "Tab"
945
+ }
946
+ }
947
+ }
948
+ },
949
+ {
950
+ "name": "activeTab",
951
+ "annotation": {
952
+ "type": "keyword",
953
+ "value": "string"
954
+ }
955
+ }
956
+ ],
957
+ "events": [
958
+ {
959
+ "name": "tab.click",
960
+ "detail": {
961
+ "annotation": {
962
+ "type": "reference",
963
+ "typeName": {
964
+ "type": "identifier",
965
+ "name": "Tab"
966
+ }
967
+ }
968
+ }
969
+ }
970
+ ],
971
+ "methods": [],
972
+ "types": [
973
+ {
974
+ "type": "interface",
975
+ "name": "Tab",
976
+ "body": [
977
+ {
978
+ "type": "propertySignature",
979
+ "key": {
980
+ "type": "identifier",
981
+ "name": "id"
982
+ },
983
+ "annotation": {
984
+ "type": "keyword",
985
+ "value": "string"
986
+ },
987
+ "computed": false
988
+ },
989
+ {
990
+ "type": "propertySignature",
991
+ "key": {
992
+ "type": "identifier",
993
+ "name": "label"
994
+ },
995
+ "annotation": {
996
+ "type": "keyword",
997
+ "value": "string"
998
+ },
999
+ "computed": false
1000
+ }
1001
+ ]
1002
+ }
1003
+ ]
1004
+ },
1005
1005
  "ai-portal.elevo-logo": {
1006
1006
  "properties": [],
1007
1007
  "events": [],
@@ -1766,26 +1766,6 @@
1766
1766
  }
1767
1767
  ]
1768
1768
  },
1769
- "ai-portal.preview-container": {
1770
- "properties": [
1771
- {
1772
- "name": "source",
1773
- "annotation": {
1774
- "type": "keyword",
1775
- "value": "string"
1776
- }
1777
- },
1778
- {
1779
- "name": "url",
1780
- "annotation": {
1781
- "type": "keyword",
1782
- "value": "string"
1783
- }
1784
- }
1785
- ],
1786
- "events": [],
1787
- "methods": []
1788
- },
1789
1769
  "ai-portal.dropdown-select": {
1790
1770
  "properties": [
1791
1771
  {
@@ -1955,6 +1935,26 @@
1955
1935
  }
1956
1936
  ]
1957
1937
  },
1938
+ "ai-portal.preview-container": {
1939
+ "properties": [
1940
+ {
1941
+ "name": "source",
1942
+ "annotation": {
1943
+ "type": "keyword",
1944
+ "value": "string"
1945
+ }
1946
+ },
1947
+ {
1948
+ "name": "url",
1949
+ "annotation": {
1950
+ "type": "keyword",
1951
+ "value": "string"
1952
+ }
1953
+ }
1954
+ ],
1955
+ "events": [],
1956
+ "methods": []
1957
+ },
1958
1958
  "ai-portal.action-buttons": {
1959
1959
  "properties": [
1960
1960
  {
@@ -5023,11 +5023,37 @@
5023
5023
  "name": "action"
5024
5024
  },
5025
5025
  "annotation": {
5026
- "type": "reference",
5027
- "typeName": {
5028
- "type": "identifier",
5029
- "name": "SimpleActionType"
5030
- }
5026
+ "type": "intersection",
5027
+ "types": [
5028
+ {
5029
+ "type": "reference",
5030
+ "typeName": {
5031
+ "type": "identifier",
5032
+ "name": "SimpleActionType"
5033
+ }
5034
+ },
5035
+ {
5036
+ "type": "typeLiteral",
5037
+ "members": [
5038
+ {
5039
+ "type": "propertySignature",
5040
+ "key": {
5041
+ "type": "identifier",
5042
+ "name": "project"
5043
+ },
5044
+ "annotation": {
5045
+ "type": "reference",
5046
+ "typeName": {
5047
+ "type": "identifier",
5048
+ "name": "Project"
5049
+ }
5050
+ },
5051
+ "optional": true,
5052
+ "computed": false
5053
+ }
5054
+ ]
5055
+ }
5056
+ ]
5031
5057
  },
5032
5058
  "computed": false
5033
5059
  },
@@ -5064,64 +5090,6 @@
5064
5090
  }
5065
5091
  ]
5066
5092
  },
5067
- {
5068
- "type": "interface",
5069
- "name": "HistoryItem",
5070
- "body": [
5071
- {
5072
- "type": "propertySignature",
5073
- "key": {
5074
- "type": "identifier",
5075
- "name": "conversationId"
5076
- },
5077
- "annotation": {
5078
- "type": "keyword",
5079
- "value": "string"
5080
- },
5081
- "computed": false
5082
- },
5083
- {
5084
- "type": "propertySignature",
5085
- "key": {
5086
- "type": "identifier",
5087
- "name": "title"
5088
- },
5089
- "annotation": {
5090
- "type": "keyword",
5091
- "value": "string"
5092
- },
5093
- "computed": false
5094
- },
5095
- {
5096
- "type": "propertySignature",
5097
- "key": {
5098
- "type": "identifier",
5099
- "name": "startTime"
5100
- },
5101
- "annotation": {
5102
- "type": "keyword",
5103
- "value": "number"
5104
- },
5105
- "computed": false
5106
- },
5107
- {
5108
- "type": "propertySignature",
5109
- "key": {
5110
- "type": "identifier",
5111
- "name": "state"
5112
- },
5113
- "annotation": {
5114
- "type": "reference",
5115
- "typeName": {
5116
- "type": "identifier",
5117
- "name": "ConversationState"
5118
- }
5119
- },
5120
- "optional": true,
5121
- "computed": false
5122
- }
5123
- ]
5124
- },
5125
5093
  {
5126
5094
  "type": "interface",
5127
5095
  "name": "Project",
@@ -5254,6 +5222,64 @@
5254
5222
  }
5255
5223
  ]
5256
5224
  },
5225
+ {
5226
+ "type": "interface",
5227
+ "name": "HistoryItem",
5228
+ "body": [
5229
+ {
5230
+ "type": "propertySignature",
5231
+ "key": {
5232
+ "type": "identifier",
5233
+ "name": "conversationId"
5234
+ },
5235
+ "annotation": {
5236
+ "type": "keyword",
5237
+ "value": "string"
5238
+ },
5239
+ "computed": false
5240
+ },
5241
+ {
5242
+ "type": "propertySignature",
5243
+ "key": {
5244
+ "type": "identifier",
5245
+ "name": "title"
5246
+ },
5247
+ "annotation": {
5248
+ "type": "keyword",
5249
+ "value": "string"
5250
+ },
5251
+ "computed": false
5252
+ },
5253
+ {
5254
+ "type": "propertySignature",
5255
+ "key": {
5256
+ "type": "identifier",
5257
+ "name": "startTime"
5258
+ },
5259
+ "annotation": {
5260
+ "type": "keyword",
5261
+ "value": "number"
5262
+ },
5263
+ "computed": false
5264
+ },
5265
+ {
5266
+ "type": "propertySignature",
5267
+ "key": {
5268
+ "type": "identifier",
5269
+ "name": "state"
5270
+ },
5271
+ "annotation": {
5272
+ "type": "reference",
5273
+ "typeName": {
5274
+ "type": "identifier",
5275
+ "name": "ConversationState"
5276
+ }
5277
+ },
5278
+ "optional": true,
5279
+ "computed": false
5280
+ }
5281
+ ]
5282
+ },
5257
5283
  {
5258
5284
  "type": "interface",
5259
5285
  "name": "ProjectActionClickDetail",
@@ -1,2 +1,2 @@
1
- import type { ToolInfo } from "@next-shared/tsx-parser";
1
+ import type { ToolInfo } from "@next-tsx/parser";
2
2
  export declare function callTool(tool: ToolInfo, params: Record<string, unknown>): Promise<unknown>;
@@ -13,7 +13,9 @@ export interface GroupedHistory {
13
13
  items: HistoryItem[];
14
14
  }
15
15
  export interface ActionClickDetail {
16
- action: SimpleActionType;
16
+ action: SimpleActionType & {
17
+ project?: Project;
18
+ };
17
19
  item: HistoryItem;
18
20
  project?: Project;
19
21
  }
@@ -3,7 +3,7 @@ import { ReactNextElement } from "@next-core/react-element";
3
3
  import "@next-core/theme";
4
4
  import type { ActionType } from "@next-bricks/basic/mini-actions";
5
5
  import type { GeneralIconProps } from "@next-bricks/icons/general-icon";
6
- import { type Project } from "./ChatHistory.js";
6
+ import { type ActionClickDetail, type Project, type ProjectActionClickDetail } from "./ChatHistory.js";
7
7
  export interface ElevoSidebarProps {
8
8
  userInstanceId?: string;
9
9
  behavior?: "default" | "drawer";
@@ -26,6 +26,7 @@ export interface SidebarLink {
26
26
  icon?: GeneralIconProps;
27
27
  activeIncludes?: string[];
28
28
  }
29
+ export type { ActionClickDetail, Project, ProjectActionClickDetail };
29
30
  /**
30
31
  * 构件 `ai-portal.elevo-sidebar`
31
32
  */
@@ -0,0 +1,77 @@
1
+ import type { DetailedHTMLProps, HTMLAttributes } from "react";
2
+ import type { ActionButtons, ActionButtonsProps } from "./action-buttons";
3
+ import type { ActivityTimeline, ActivityTimelineProps } from "./activity-timeline";
4
+ import type { AIAgents, AIAgentsProps } from "./ai-agents";
5
+ import type { AIEmployees, AIEmployeesProps } from "./ai-employees";
6
+ import type { BlankState, BlankStateProps } from "./blank-state";
7
+ import type { ChatBox, ChatBoxProps } from "./chat-box";
8
+ import type { ChatInput, ChatInputProps } from "./chat-input";
9
+ import type { ChatStream, ChatStreamProps } from "./chat-stream";
10
+ import type { CruiseCanvas, CruiseCanvasProps } from "./cruise-canvas";
11
+ import type { DropdownSelect, DropdownSelectProps } from "./dropdown-select";
12
+ import type { ElevoCard, ElevoCardProps } from "./elevo-card";
13
+ import type { ElevoLogo } from "./elevo-logo";
14
+ import type { ActionClickDetail, ElevoSidebar, ElevoSidebarProps, ProjectActionClickDetail } from "./elevo-sidebar";
15
+ import type { FlowTabs, FlowTabsProps } from "./flow-tabs";
16
+ import type { GanttChart, GanttChartProps } from "./gantt-chart";
17
+ import type { GoalCardList, GoalCardListProps } from "./goal-card-list";
18
+ import type { HomeContainer } from "./home-container";
19
+ import type { IconButton, IconButtonProps } from "./icon-button";
20
+ import type { McpTools, McpToolsProps } from "./mcp-tools";
21
+ import type { NoticeDropdown, NoticeDropdownProps, NoticeItem } from "./notice-dropdown";
22
+ import type { NoticeList, NoticeListProps } from "./notice-list";
23
+ import type { PageContainer, PageContainerProps } from "./page-container";
24
+ import type { PreviewContainer, PreviewContainerProps } from "./preview-container";
25
+ import type { ProjectConversations, ProjectConversationsProps } from "./project-conversations";
26
+ import type { ProjectKnowledges, ProjectKnowledgesProps } from "./project-knowledges";
27
+ import type { RunningFlow, RunningFlowProps } from "./running-flow";
28
+ import type { ShowCase, ShowCaseProps } from "./show-case";
29
+ import type { ShowCases, ShowCasesProps } from "./show-cases";
30
+ import type { StageFlow, StageFlowProps } from "./stage-flow";
31
+ import type { StatWithMiniChart, StatWithMiniChartProps } from "./stat-with-mini-chart";
32
+ import type { StickyContainer, StickyContainerProps } from "./sticky-container";
33
+ import type { TabList, TabListProps } from "./tab-list";
34
+ declare global {
35
+ namespace JSX {
36
+ interface IntrinsicElements {
37
+ "ai-portal--action-buttons": DetailedHTMLProps<HTMLAttributes<ActionButtons>, ActionButtons> & ActionButtonsProps;
38
+ "ai-portal--activity-timeline": DetailedHTMLProps<HTMLAttributes<ActivityTimeline>, ActivityTimeline> & ActivityTimelineProps;
39
+ "ai-portal--ai-agents": DetailedHTMLProps<HTMLAttributes<AIAgents>, AIAgents> & AIAgentsProps;
40
+ "ai-portal--ai-employees": DetailedHTMLProps<HTMLAttributes<AIEmployees>, AIEmployees> & AIEmployeesProps;
41
+ "ai-portal--blank-state": DetailedHTMLProps<HTMLAttributes<BlankState>, BlankState> & BlankStateProps;
42
+ "ai-portal--chat-box": DetailedHTMLProps<HTMLAttributes<ChatBox>, ChatBox> & ChatBoxProps;
43
+ "ai-portal--chat-input": DetailedHTMLProps<HTMLAttributes<ChatInput>, ChatInput> & ChatInputProps;
44
+ "ai-portal--chat-stream": DetailedHTMLProps<HTMLAttributes<ChatStream>, ChatStream> & ChatStreamProps;
45
+ "ai-portal--cruise-canvas": DetailedHTMLProps<HTMLAttributes<CruiseCanvas>, CruiseCanvas> & CruiseCanvasProps;
46
+ "ai-portal--dropdown-select": DetailedHTMLProps<HTMLAttributes<DropdownSelect>, DropdownSelect> & DropdownSelectProps;
47
+ "ai-portal--elevo-card": DetailedHTMLProps<HTMLAttributes<ElevoCard>, ElevoCard> & ElevoCardProps;
48
+ "ai-portal--elevo-logo": DetailedHTMLProps<HTMLAttributes<ElevoLogo>, ElevoLogo>;
49
+ "ai-portal--elevo-sidebar": DetailedHTMLProps<HTMLAttributes<ElevoSidebar>, ElevoSidebar> & ElevoSidebarProps & {
50
+ onActionClick?: (event: CustomEvent<ActionClickDetail>) => void;
51
+ onProjectActionClick?: (event: CustomEvent<ProjectActionClickDetail>) => void;
52
+ };
53
+ "ai-portal--flow-tabs": DetailedHTMLProps<HTMLAttributes<FlowTabs>, FlowTabs> & FlowTabsProps;
54
+ "ai-portal--gantt-chart": DetailedHTMLProps<HTMLAttributes<GanttChart>, GanttChart> & GanttChartProps;
55
+ "ai-portal--goal-card-list": DetailedHTMLProps<HTMLAttributes<GoalCardList>, GoalCardList> & GoalCardListProps;
56
+ "ai-portal--home-container": DetailedHTMLProps<HTMLAttributes<HomeContainer>, HomeContainer>;
57
+ "ai-portal--icon-button": DetailedHTMLProps<HTMLAttributes<IconButton>, IconButton> & IconButtonProps;
58
+ "ai-portal--mcp-tools": DetailedHTMLProps<HTMLAttributes<McpTools>, McpTools> & McpToolsProps;
59
+ "ai-portal--notice-dropdown": DetailedHTMLProps<HTMLAttributes<NoticeDropdown>, NoticeDropdown> & NoticeDropdownProps & {
60
+ onMarkAllRead?: (event: CustomEvent<void>) => void;
61
+ onNoticeClick?: (event: CustomEvent<NoticeItem>) => void;
62
+ };
63
+ "ai-portal--notice-list": DetailedHTMLProps<HTMLAttributes<NoticeList>, NoticeList> & NoticeListProps;
64
+ "ai-portal--page-container": DetailedHTMLProps<HTMLAttributes<PageContainer>, PageContainer> & PageContainerProps;
65
+ "ai-portal--preview-container": DetailedHTMLProps<HTMLAttributes<PreviewContainer>, PreviewContainer> & PreviewContainerProps;
66
+ "ai-portal--project-conversations": DetailedHTMLProps<HTMLAttributes<ProjectConversations>, ProjectConversations> & ProjectConversationsProps;
67
+ "ai-portal--project-knowledges": DetailedHTMLProps<HTMLAttributes<ProjectKnowledges>, ProjectKnowledges> & ProjectKnowledgesProps;
68
+ "ai-portal--running-flow": DetailedHTMLProps<HTMLAttributes<RunningFlow>, RunningFlow> & RunningFlowProps;
69
+ "ai-portal--show-case": DetailedHTMLProps<HTMLAttributes<ShowCase>, ShowCase> & ShowCaseProps;
70
+ "ai-portal--show-cases": DetailedHTMLProps<HTMLAttributes<ShowCases>, ShowCases> & ShowCasesProps;
71
+ "ai-portal--stage-flow": DetailedHTMLProps<HTMLAttributes<StageFlow>, StageFlow> & StageFlowProps;
72
+ "ai-portal--stat-with-mini-chart": DetailedHTMLProps<HTMLAttributes<StatWithMiniChart>, StatWithMiniChart> & StatWithMiniChartProps;
73
+ "ai-portal--sticky-container": DetailedHTMLProps<HTMLAttributes<StickyContainer>, StickyContainer> & StickyContainerProps;
74
+ "ai-portal--tab-list": DetailedHTMLProps<HTMLAttributes<TabList>, TabList> & TabListProps;
75
+ }
76
+ }
77
+ }
@@ -1,4 +1,4 @@
1
- import type { ParsedApp } from "@next-shared/tsx-parser";
1
+ import type { ParsedApp } from "@next-tsx/parser";
2
2
  export interface Conversation {
3
3
  id: string;
4
4
  title: string;
@@ -1,4 +1,4 @@
1
- import type { ParsedApp, ParseOptions } from "@next-shared/tsx-parser";
1
+ import type { ParsedApp, ParseOptions } from "@next-tsx/parser";
2
2
  export interface RemoteTsxParserWorker {
3
3
  parseView(source: string, options?: ParseOptions): Promise<ParsedApp>;
4
4
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@next-bricks/ai-portal",
3
- "version": "0.60.0",
3
+ "version": "0.60.2",
4
4
  "homepage": "https://github.com/easyops-cn/next-advanced-bricks/tree/master/bricks/ai-portal",
5
5
  "repository": {
6
6
  "type": "git",
@@ -15,10 +15,12 @@
15
15
  "dist-types",
16
16
  "docs"
17
17
  ],
18
+ "types": "dist-types/jsx.d.ts",
18
19
  "exports": {
19
20
  "./package.json": "./package.json",
20
21
  "./dist/bricks.json": "./dist/bricks.json",
21
22
  "./dist/manifest.json": "./dist/manifest.json",
23
+ ".": "./dist-types/jsx.d.ts",
22
24
  "./*": {
23
25
  "types": "./dist-types/*/index.d.ts"
24
26
  }
@@ -35,7 +37,7 @@
35
37
  "postpublish": "mv package.json.bak package.json"
36
38
  },
37
39
  "devDependencies": {
38
- "@next-core/build-next-bricks": "^1.24.0",
40
+ "@next-core/build-next-bricks": "^1.25.1",
39
41
  "@next-core/test-next": "^2.0.1"
40
42
  },
41
43
  "peerDependencies": {
@@ -47,5 +49,5 @@
47
49
  "@next-bricks/presentational": "*",
48
50
  "@next-bricks/vs": "*"
49
51
  },
50
- "gitHead": "72a5f8e4dfde6e76a4b094a225d29dca3df47023"
52
+ "gitHead": "53186cc54c9c1599b8677eedd6ea0825310bbe37"
51
53
  }