@next-bricks/ai-portal 0.65.3 → 0.65.5

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 (42) hide show
  1. package/dist/bricks.json +33 -31
  2. package/dist/chunks/1999.f9846bc3.js +2 -0
  3. package/dist/chunks/1999.f9846bc3.js.map +1 -0
  4. package/dist/chunks/{2742.3340a00e.js → 2742.64fa013f.js} +2 -2
  5. package/dist/chunks/2742.64fa013f.js.map +1 -0
  6. package/dist/chunks/3186.f231329a.js +2 -0
  7. package/dist/chunks/3186.f231329a.js.map +1 -0
  8. package/dist/chunks/4208.a1a0dfdd.js +2 -0
  9. package/dist/chunks/4208.a1a0dfdd.js.map +1 -0
  10. package/dist/chunks/4864.1a321da4.js +2 -0
  11. package/dist/chunks/4864.1a321da4.js.map +1 -0
  12. package/dist/chunks/{5452.e451b025.js → 5452.bb5140b0.js} +2 -2
  13. package/dist/chunks/5452.bb5140b0.js.map +1 -0
  14. package/dist/chunks/{chat-panel.e8afa537.js → chat-panel.3b7afbd5.js} +2 -2
  15. package/dist/chunks/chat-panel.3b7afbd5.js.map +1 -0
  16. package/dist/chunks/{chat-stream.cef88ead.js → chat-stream.393c8241.js} +2 -2
  17. package/dist/chunks/{chat-stream.cef88ead.js.map → chat-stream.393c8241.js.map} +1 -1
  18. package/dist/chunks/{main.abe54caf.js → main.77fb9cf6.js} +2 -2
  19. package/dist/chunks/{main.abe54caf.js.map → main.77fb9cf6.js.map} +1 -1
  20. package/dist/examples.json +12 -12
  21. package/dist/index.2865b625.js +2 -0
  22. package/dist/{index.d03181ae.js.map → index.2865b625.js.map} +1 -1
  23. package/dist/manifest.json +318 -318
  24. package/dist/types.json +295 -295
  25. package/dist-types/chat-stream/StreamContext.d.ts +1 -0
  26. package/dist-types/chat-stream/useConversationStream.d.ts +4 -1
  27. package/dist-types/shared/AskUser/AskUser.d.ts +4 -2
  28. package/dist-types/shared/AskUser/i18n.d.ts +15 -0
  29. package/dist-types/shared/getFlatChunks.d.ts +11 -3
  30. package/package.json +2 -2
  31. package/dist/chunks/2742.3340a00e.js.map +0 -1
  32. package/dist/chunks/3186.81f0a2f0.js +0 -2
  33. package/dist/chunks/3186.81f0a2f0.js.map +0 -1
  34. package/dist/chunks/4208.002ac189.js +0 -2
  35. package/dist/chunks/4208.002ac189.js.map +0 -1
  36. package/dist/chunks/4577.66294512.js +0 -2
  37. package/dist/chunks/4577.66294512.js.map +0 -1
  38. package/dist/chunks/4864.03882076.js +0 -2
  39. package/dist/chunks/4864.03882076.js.map +0 -1
  40. package/dist/chunks/5452.e451b025.js.map +0 -1
  41. package/dist/chunks/chat-panel.e8afa537.js.map +0 -1
  42. package/dist/index.d03181ae.js +0 -2
package/dist/types.json CHANGED
@@ -1,108 +1,4 @@
1
1
  {
2
- "ai-portal.stat-with-mini-chart": {
3
- "properties": [
4
- {
5
- "name": "label",
6
- "annotation": {
7
- "type": "keyword",
8
- "value": "string"
9
- }
10
- },
11
- {
12
- "name": "value",
13
- "annotation": {
14
- "type": "keyword",
15
- "value": "string"
16
- }
17
- },
18
- {
19
- "name": "size",
20
- "annotation": {
21
- "type": "union",
22
- "types": [
23
- {
24
- "type": "jsLiteral",
25
- "value": "medium"
26
- },
27
- {
28
- "type": "jsLiteral",
29
- "value": "small"
30
- }
31
- ]
32
- }
33
- },
34
- {
35
- "name": "lineColor",
36
- "annotation": {
37
- "type": "keyword",
38
- "value": "string"
39
- }
40
- },
41
- {
42
- "name": "showArea",
43
- "annotation": {
44
- "type": "keyword",
45
- "value": "boolean"
46
- }
47
- },
48
- {
49
- "name": "min",
50
- "annotation": {
51
- "type": "keyword",
52
- "value": "number"
53
- }
54
- },
55
- {
56
- "name": "max",
57
- "annotation": {
58
- "type": "keyword",
59
- "value": "number"
60
- }
61
- },
62
- {
63
- "name": "xField",
64
- "annotation": {
65
- "type": "keyword",
66
- "value": "string"
67
- }
68
- },
69
- {
70
- "name": "yField",
71
- "annotation": {
72
- "type": "keyword",
73
- "value": "string"
74
- }
75
- },
76
- {
77
- "name": "data",
78
- "annotation": {
79
- "type": "array",
80
- "elementType": {
81
- "type": "reference",
82
- "typeName": {
83
- "type": "identifier",
84
- "name": "Record"
85
- },
86
- "typeParameters": {
87
- "type": "typeParameterInstantiation",
88
- "params": [
89
- {
90
- "type": "keyword",
91
- "value": "string"
92
- },
93
- {
94
- "type": "keyword",
95
- "value": "number"
96
- }
97
- ]
98
- }
99
- }
100
- }
101
- }
102
- ],
103
- "events": [],
104
- "methods": []
105
- },
106
2
  "ai-portal.icon-button": {
107
3
  "properties": [
108
4
  {
@@ -222,14 +118,105 @@
222
118
  }
223
119
  ]
224
120
  },
225
- "ai-portal.home-container": {
121
+ "ai-portal.stat-with-mini-chart": {
226
122
  "properties": [
227
123
  {
228
- "name": "sticky",
124
+ "name": "label",
125
+ "annotation": {
126
+ "type": "keyword",
127
+ "value": "string"
128
+ }
129
+ },
130
+ {
131
+ "name": "value",
132
+ "annotation": {
133
+ "type": "keyword",
134
+ "value": "string"
135
+ }
136
+ },
137
+ {
138
+ "name": "size",
139
+ "annotation": {
140
+ "type": "union",
141
+ "types": [
142
+ {
143
+ "type": "jsLiteral",
144
+ "value": "medium"
145
+ },
146
+ {
147
+ "type": "jsLiteral",
148
+ "value": "small"
149
+ }
150
+ ]
151
+ }
152
+ },
153
+ {
154
+ "name": "lineColor",
155
+ "annotation": {
156
+ "type": "keyword",
157
+ "value": "string"
158
+ }
159
+ },
160
+ {
161
+ "name": "showArea",
229
162
  "annotation": {
230
163
  "type": "keyword",
231
164
  "value": "boolean"
232
165
  }
166
+ },
167
+ {
168
+ "name": "min",
169
+ "annotation": {
170
+ "type": "keyword",
171
+ "value": "number"
172
+ }
173
+ },
174
+ {
175
+ "name": "max",
176
+ "annotation": {
177
+ "type": "keyword",
178
+ "value": "number"
179
+ }
180
+ },
181
+ {
182
+ "name": "xField",
183
+ "annotation": {
184
+ "type": "keyword",
185
+ "value": "string"
186
+ }
187
+ },
188
+ {
189
+ "name": "yField",
190
+ "annotation": {
191
+ "type": "keyword",
192
+ "value": "string"
193
+ }
194
+ },
195
+ {
196
+ "name": "data",
197
+ "annotation": {
198
+ "type": "array",
199
+ "elementType": {
200
+ "type": "reference",
201
+ "typeName": {
202
+ "type": "identifier",
203
+ "name": "Record"
204
+ },
205
+ "typeParameters": {
206
+ "type": "typeParameterInstantiation",
207
+ "params": [
208
+ {
209
+ "type": "keyword",
210
+ "value": "string"
211
+ },
212
+ {
213
+ "type": "keyword",
214
+ "value": "number"
215
+ }
216
+ ]
217
+ }
218
+ }
219
+ }
233
220
  }
234
221
  ],
235
222
  "events": [],
@@ -1912,71 +1899,6 @@
1912
1899
  }
1913
1900
  }
1914
1901
  },
1915
- "ai-portal.set-chat-command": {
1916
- "type": "provider",
1917
- "params": [
1918
- {
1919
- "name": "command",
1920
- "annotation": {
1921
- "type": "union",
1922
- "types": [
1923
- {
1924
- "type": "reference",
1925
- "typeName": {
1926
- "type": "identifier",
1927
- "name": "ChatCommand"
1928
- }
1929
- },
1930
- {
1931
- "type": "keyword",
1932
- "value": "null"
1933
- }
1934
- ]
1935
- }
1936
- }
1937
- ],
1938
- "returns": {
1939
- "annotation": {
1940
- "type": "keyword",
1941
- "value": "void"
1942
- }
1943
- },
1944
- "types": [
1945
- {
1946
- "type": "interface",
1947
- "name": "ChatCommand",
1948
- "body": [
1949
- {
1950
- "type": "propertySignature",
1951
- "key": {
1952
- "type": "identifier",
1953
- "name": "command"
1954
- },
1955
- "annotation": {
1956
- "type": "keyword",
1957
- "value": "string"
1958
- },
1959
- "computed": false
1960
- },
1961
- {
1962
- "type": "propertySignature",
1963
- "key": {
1964
- "type": "identifier",
1965
- "name": "payload"
1966
- },
1967
- "annotation": {
1968
- "type": "reference",
1969
- "typeName": {
1970
- "type": "identifier",
1971
- "name": "CommandPayload"
1972
- }
1973
- },
1974
- "computed": false
1975
- }
1976
- ]
1977
- }
1978
- ]
1979
- },
1980
1902
  "ai-portal.page-container": {
1981
1903
  "properties": [
1982
1904
  {
@@ -2034,34 +1956,96 @@
2034
1956
  }
2035
1957
  ]
2036
1958
  }
2037
- },
2038
- {
2039
- "name": "sticky",
2040
- "annotation": {
2041
- "type": "keyword",
2042
- "value": "boolean"
2043
- }
2044
- },
2045
- {
2046
- "name": "textContent",
2047
- "annotation": {
2048
- "type": "keyword",
2049
- "value": "string"
2050
- }
1959
+ },
1960
+ {
1961
+ "name": "sticky",
1962
+ "annotation": {
1963
+ "type": "keyword",
1964
+ "value": "boolean"
1965
+ }
1966
+ },
1967
+ {
1968
+ "name": "textContent",
1969
+ "annotation": {
1970
+ "type": "keyword",
1971
+ "value": "string"
1972
+ }
1973
+ }
1974
+ ],
1975
+ "events": [],
1976
+ "methods": [],
1977
+ "types": [
1978
+ {
1979
+ "type": "interface",
1980
+ "name": "Breadcrumb",
1981
+ "body": [
1982
+ {
1983
+ "type": "propertySignature",
1984
+ "key": {
1985
+ "type": "identifier",
1986
+ "name": "text"
1987
+ },
1988
+ "annotation": {
1989
+ "type": "keyword",
1990
+ "value": "string"
1991
+ },
1992
+ "computed": false
1993
+ },
1994
+ {
1995
+ "type": "propertySignature",
1996
+ "key": {
1997
+ "type": "identifier",
1998
+ "name": "url"
1999
+ },
2000
+ "annotation": {
2001
+ "type": "keyword",
2002
+ "value": "string"
2003
+ },
2004
+ "computed": false
2005
+ }
2006
+ ]
2007
+ }
2008
+ ]
2009
+ },
2010
+ "ai-portal.set-chat-command": {
2011
+ "type": "provider",
2012
+ "params": [
2013
+ {
2014
+ "name": "command",
2015
+ "annotation": {
2016
+ "type": "union",
2017
+ "types": [
2018
+ {
2019
+ "type": "reference",
2020
+ "typeName": {
2021
+ "type": "identifier",
2022
+ "name": "ChatCommand"
2023
+ }
2024
+ },
2025
+ {
2026
+ "type": "keyword",
2027
+ "value": "null"
2028
+ }
2029
+ ]
2030
+ }
2051
2031
  }
2052
2032
  ],
2053
- "events": [],
2054
- "methods": [],
2033
+ "returns": {
2034
+ "annotation": {
2035
+ "type": "keyword",
2036
+ "value": "void"
2037
+ }
2038
+ },
2055
2039
  "types": [
2056
2040
  {
2057
2041
  "type": "interface",
2058
- "name": "Breadcrumb",
2042
+ "name": "ChatCommand",
2059
2043
  "body": [
2060
2044
  {
2061
2045
  "type": "propertySignature",
2062
2046
  "key": {
2063
2047
  "type": "identifier",
2064
- "name": "text"
2048
+ "name": "command"
2065
2049
  },
2066
2050
  "annotation": {
2067
2051
  "type": "keyword",
@@ -2073,11 +2057,14 @@
2073
2057
  "type": "propertySignature",
2074
2058
  "key": {
2075
2059
  "type": "identifier",
2076
- "name": "url"
2060
+ "name": "payload"
2077
2061
  },
2078
2062
  "annotation": {
2079
- "type": "keyword",
2080
- "value": "string"
2063
+ "type": "reference",
2064
+ "typeName": {
2065
+ "type": "identifier",
2066
+ "name": "CommandPayload"
2067
+ }
2081
2068
  },
2082
2069
  "computed": false
2083
2070
  }
@@ -2156,6 +2143,19 @@
2156
2143
  }
2157
2144
  ]
2158
2145
  },
2146
+ "ai-portal.home-container": {
2147
+ "properties": [
2148
+ {
2149
+ "name": "sticky",
2150
+ "annotation": {
2151
+ "type": "keyword",
2152
+ "value": "boolean"
2153
+ }
2154
+ }
2155
+ ],
2156
+ "events": [],
2157
+ "methods": []
2158
+ },
2159
2159
  "ai-portal.elevo-logo": {
2160
2160
  "properties": [],
2161
2161
  "events": [],
@@ -3089,26 +3089,6 @@
3089
3089
  }
3090
3090
  ]
3091
3091
  },
3092
- "ai-portal.preview-container": {
3093
- "properties": [
3094
- {
3095
- "name": "source",
3096
- "annotation": {
3097
- "type": "keyword",
3098
- "value": "string"
3099
- }
3100
- },
3101
- {
3102
- "name": "url",
3103
- "annotation": {
3104
- "type": "keyword",
3105
- "value": "string"
3106
- }
3107
- }
3108
- ],
3109
- "events": [],
3110
- "methods": []
3111
- },
3112
3092
  "ai-portal.action-buttons": {
3113
3093
  "properties": [
3114
3094
  {
@@ -3227,6 +3207,26 @@
3227
3207
  }
3228
3208
  ]
3229
3209
  },
3210
+ "ai-portal.preview-container": {
3211
+ "properties": [
3212
+ {
3213
+ "name": "source",
3214
+ "annotation": {
3215
+ "type": "keyword",
3216
+ "value": "string"
3217
+ }
3218
+ },
3219
+ {
3220
+ "name": "url",
3221
+ "annotation": {
3222
+ "type": "keyword",
3223
+ "value": "string"
3224
+ }
3225
+ }
3226
+ ],
3227
+ "events": [],
3228
+ "methods": []
3229
+ },
3230
3230
  "ai-portal.project-conversations": {
3231
3231
  "properties": [
3232
3232
  {
@@ -4427,33 +4427,6 @@
4427
4427
  }
4428
4428
  ]
4429
4429
  },
4430
- "ai-portal.show-case": {
4431
- "properties": [
4432
- {
4433
- "name": "caseTitle",
4434
- "annotation": {
4435
- "type": "keyword",
4436
- "value": "string"
4437
- }
4438
- },
4439
- {
4440
- "name": "summary",
4441
- "annotation": {
4442
- "type": "keyword",
4443
- "value": "string"
4444
- }
4445
- },
4446
- {
4447
- "name": "url",
4448
- "annotation": {
4449
- "type": "keyword",
4450
- "value": "string"
4451
- }
4452
- }
4453
- ],
4454
- "events": [],
4455
- "methods": []
4456
- },
4457
4430
  "ai-portal.chat-input": {
4458
4431
  "properties": [
4459
4432
  {
@@ -4950,76 +4923,32 @@
4950
4923
  }
4951
4924
  ]
4952
4925
  },
4953
- "ai-portal.flow-tabs": {
4926
+ "ai-portal.show-case": {
4954
4927
  "properties": [
4955
4928
  {
4956
- "name": "tabs",
4929
+ "name": "caseTitle",
4957
4930
  "annotation": {
4958
- "type": "array",
4959
- "elementType": {
4960
- "type": "reference",
4961
- "typeName": {
4962
- "type": "identifier",
4963
- "name": "Tab"
4964
- }
4965
- }
4931
+ "type": "keyword",
4932
+ "value": "string"
4966
4933
  }
4967
4934
  },
4968
4935
  {
4969
- "name": "activeTab",
4936
+ "name": "summary",
4970
4937
  "annotation": {
4971
4938
  "type": "keyword",
4972
4939
  "value": "string"
4973
4940
  }
4974
- }
4975
- ],
4976
- "events": [
4941
+ },
4977
4942
  {
4978
- "name": "tab.click",
4979
- "detail": {
4980
- "annotation": {
4981
- "type": "reference",
4982
- "typeName": {
4983
- "type": "identifier",
4984
- "name": "Tab"
4985
- }
4986
- }
4943
+ "name": "url",
4944
+ "annotation": {
4945
+ "type": "keyword",
4946
+ "value": "string"
4987
4947
  }
4988
4948
  }
4989
4949
  ],
4990
- "methods": [],
4991
- "types": [
4992
- {
4993
- "type": "interface",
4994
- "name": "Tab",
4995
- "body": [
4996
- {
4997
- "type": "propertySignature",
4998
- "key": {
4999
- "type": "identifier",
5000
- "name": "id"
5001
- },
5002
- "annotation": {
5003
- "type": "keyword",
5004
- "value": "string"
5005
- },
5006
- "computed": false
5007
- },
5008
- {
5009
- "type": "propertySignature",
5010
- "key": {
5011
- "type": "identifier",
5012
- "name": "label"
5013
- },
5014
- "annotation": {
5015
- "type": "keyword",
5016
- "value": "string"
5017
- },
5018
- "computed": false
5019
- }
5020
- ]
5021
- }
5022
- ]
4950
+ "events": [],
4951
+ "methods": []
5023
4952
  },
5024
4953
  "ai-portal.stage-flow": {
5025
4954
  "properties": [
@@ -5383,6 +5312,77 @@
5383
5312
  }
5384
5313
  ]
5385
5314
  },
5315
+ "ai-portal.flow-tabs": {
5316
+ "properties": [
5317
+ {
5318
+ "name": "tabs",
5319
+ "annotation": {
5320
+ "type": "array",
5321
+ "elementType": {
5322
+ "type": "reference",
5323
+ "typeName": {
5324
+ "type": "identifier",
5325
+ "name": "Tab"
5326
+ }
5327
+ }
5328
+ }
5329
+ },
5330
+ {
5331
+ "name": "activeTab",
5332
+ "annotation": {
5333
+ "type": "keyword",
5334
+ "value": "string"
5335
+ }
5336
+ }
5337
+ ],
5338
+ "events": [
5339
+ {
5340
+ "name": "tab.click",
5341
+ "detail": {
5342
+ "annotation": {
5343
+ "type": "reference",
5344
+ "typeName": {
5345
+ "type": "identifier",
5346
+ "name": "Tab"
5347
+ }
5348
+ }
5349
+ }
5350
+ }
5351
+ ],
5352
+ "methods": [],
5353
+ "types": [
5354
+ {
5355
+ "type": "interface",
5356
+ "name": "Tab",
5357
+ "body": [
5358
+ {
5359
+ "type": "propertySignature",
5360
+ "key": {
5361
+ "type": "identifier",
5362
+ "name": "id"
5363
+ },
5364
+ "annotation": {
5365
+ "type": "keyword",
5366
+ "value": "string"
5367
+ },
5368
+ "computed": false
5369
+ },
5370
+ {
5371
+ "type": "propertySignature",
5372
+ "key": {
5373
+ "type": "identifier",
5374
+ "name": "label"
5375
+ },
5376
+ "annotation": {
5377
+ "type": "keyword",
5378
+ "value": "string"
5379
+ },
5380
+ "computed": false
5381
+ }
5382
+ ]
5383
+ }
5384
+ ]
5385
+ },
5386
5386
  "ai-portal.running-flow": {
5387
5387
  "properties": [
5388
5388
  {
@@ -2,6 +2,7 @@ import { type Dispatch } from "react";
2
2
  import type { ActiveDetail } from "../shared/interfaces";
3
3
  export interface StreamContextValue {
4
4
  lastDetail: ActiveDetail | null;
5
+ planMap: Map<string, any> | null;
5
6
  setUserClosedAside: Dispatch<React.SetStateAction<boolean>>;
6
7
  toggleAutoScroll: (enabled: boolean) => void;
7
8
  }