@next-bricks/ai-portal 0.53.0 → 0.55.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 (88) hide show
  1. package/dist/bricks.json +21 -19
  2. package/dist/chunks/1864.4bd403fd.js +2 -0
  3. package/dist/chunks/1864.4bd403fd.js.map +1 -0
  4. package/dist/chunks/1889.b7766f77.js +2 -0
  5. package/dist/chunks/1889.b7766f77.js.map +1 -0
  6. package/dist/chunks/2761.561a580a.js +2 -0
  7. package/dist/chunks/2761.561a580a.js.map +1 -0
  8. package/dist/chunks/3227.689d8678.js +2 -0
  9. package/dist/chunks/3227.689d8678.js.map +1 -0
  10. package/dist/chunks/4888.42dd29a2.js +3 -0
  11. package/dist/chunks/4888.42dd29a2.js.map +1 -0
  12. package/dist/chunks/6201.fa3b6e24.js +2 -0
  13. package/dist/chunks/6201.fa3b6e24.js.map +1 -0
  14. package/dist/chunks/{6593.1afe9a04.js → 6593.58eda50f.js} +2 -2
  15. package/dist/chunks/6593.58eda50f.js.map +1 -0
  16. package/dist/chunks/7279.af201b60.js +3 -0
  17. package/dist/chunks/{6947.1cec7258.js.LICENSE.txt → 7279.af201b60.js.LICENSE.txt} +0 -6
  18. package/dist/chunks/7279.af201b60.js.map +1 -0
  19. package/dist/chunks/9388.e48bb229.js +2 -0
  20. package/dist/chunks/9388.e48bb229.js.map +1 -0
  21. package/dist/chunks/chat-box.8e064684.js +2 -0
  22. package/dist/chunks/chat-box.8e064684.js.map +1 -0
  23. package/dist/chunks/chat-input.dd3d2035.js +2 -0
  24. package/dist/chunks/chat-input.dd3d2035.js.map +1 -0
  25. package/dist/chunks/{cruise-canvas.60fa24a3.js → cruise-canvas.c494563b.js} +2 -2
  26. package/dist/chunks/{cruise-canvas.60fa24a3.js.map → cruise-canvas.c494563b.js.map} +1 -1
  27. package/dist/chunks/elevo-card.49b42ed0.js +3 -0
  28. package/dist/chunks/elevo-card.49b42ed0.js.map +1 -0
  29. package/dist/chunks/flow-tabs.ce40cc92.js +2 -0
  30. package/dist/chunks/flow-tabs.ce40cc92.js.map +1 -0
  31. package/dist/chunks/main.6b7402db.js +2 -0
  32. package/dist/chunks/main.6b7402db.js.map +1 -0
  33. package/dist/chunks/set-chat-command.367b9c88.js +2 -0
  34. package/dist/chunks/set-chat-command.367b9c88.js.map +1 -0
  35. package/dist/chunks/stage-flow.4c7ea7d9.js +2 -0
  36. package/dist/chunks/stage-flow.4c7ea7d9.js.map +1 -0
  37. package/dist/examples.json +11 -11
  38. package/dist/images/0e7e6764.png +0 -0
  39. package/dist/images/7944ebaf.png +0 -0
  40. package/dist/images/c7ec12fe.png +0 -0
  41. package/dist/index.14c08956.js +2 -0
  42. package/dist/index.14c08956.js.map +1 -0
  43. package/dist/manifest.json +182 -165
  44. package/dist/types.json +1071 -616
  45. package/dist-types/bootstrap.d.ts +1 -0
  46. package/dist-types/chat-box/FileListComponent.d.ts +8 -0
  47. package/dist-types/chat-box/UploadButton.d.ts +9 -0
  48. package/dist-types/chat-box/bricks.d.ts +8 -0
  49. package/dist-types/chat-box/index.d.ts +6 -1
  50. package/dist-types/chat-box/interfaces.d.ts +8 -0
  51. package/dist-types/data-providers/set-chat-command.d.ts +7 -0
  52. package/dist-types/data-providers/set-chat-command.spec.d.ts +1 -0
  53. package/dist-types/shared/interfaces.d.ts +9 -0
  54. package/dist-types/stage-flow/i18n.d.ts +3 -1
  55. package/dist-types/stage-flow/index.d.ts +2 -0
  56. package/package.json +2 -2
  57. package/dist/chunks/1334.aae33a33.js +0 -2
  58. package/dist/chunks/1334.aae33a33.js.map +0 -1
  59. package/dist/chunks/1889.0cd5c088.js +0 -2
  60. package/dist/chunks/1889.0cd5c088.js.map +0 -1
  61. package/dist/chunks/2142.0599aecd.js +0 -2
  62. package/dist/chunks/2142.0599aecd.js.map +0 -1
  63. package/dist/chunks/2893.c26f0be9.js +0 -2
  64. package/dist/chunks/2893.c26f0be9.js.map +0 -1
  65. package/dist/chunks/3020.acf9607e.js +0 -2
  66. package/dist/chunks/3020.acf9607e.js.map +0 -1
  67. package/dist/chunks/6201.58eeb93e.js +0 -2
  68. package/dist/chunks/6201.58eeb93e.js.map +0 -1
  69. package/dist/chunks/6593.1afe9a04.js.map +0 -1
  70. package/dist/chunks/6947.1cec7258.js +0 -3
  71. package/dist/chunks/6947.1cec7258.js.map +0 -1
  72. package/dist/chunks/chat-box.59ab1b62.js +0 -2
  73. package/dist/chunks/chat-box.59ab1b62.js.map +0 -1
  74. package/dist/chunks/chat-input.b09e4ba0.js +0 -3
  75. package/dist/chunks/chat-input.b09e4ba0.js.map +0 -1
  76. package/dist/chunks/elevo-card.731505e0.js +0 -3
  77. package/dist/chunks/elevo-card.731505e0.js.map +0 -1
  78. package/dist/chunks/flow-tabs.222a11ea.js +0 -3
  79. package/dist/chunks/flow-tabs.222a11ea.js.LICENSE.txt +0 -5
  80. package/dist/chunks/flow-tabs.222a11ea.js.map +0 -1
  81. package/dist/chunks/main.2188a2bf.js +0 -2
  82. package/dist/chunks/main.2188a2bf.js.map +0 -1
  83. package/dist/chunks/stage-flow.7cfa123d.js +0 -2
  84. package/dist/chunks/stage-flow.7cfa123d.js.map +0 -1
  85. package/dist/index.7d776211.js +0 -2
  86. package/dist/index.7d776211.js.map +0 -1
  87. /package/dist/chunks/{chat-input.b09e4ba0.js.LICENSE.txt → 4888.42dd29a2.js.LICENSE.txt} +0 -0
  88. /package/dist/chunks/{elevo-card.731505e0.js.LICENSE.txt → elevo-card.49b42ed0.js.LICENSE.txt} +0 -0
@@ -152,6 +152,160 @@
152
152
  "parts": [],
153
153
  "description": "构件 `ai-portal.cruise-canvas`"
154
154
  },
155
+ {
156
+ "name": "ai-portal.chat-box",
157
+ "properties": [
158
+ {
159
+ "name": "disabled",
160
+ "type": "boolean"
161
+ },
162
+ {
163
+ "name": "placeholder",
164
+ "type": "string"
165
+ },
166
+ {
167
+ "name": "autoFocus",
168
+ "type": "boolean"
169
+ },
170
+ {
171
+ "name": "aiEmployees",
172
+ "attribute": false,
173
+ "type": "AIEmployee[]"
174
+ },
175
+ {
176
+ "name": "commands",
177
+ "attribute": false,
178
+ "type": "Command[]"
179
+ },
180
+ {
181
+ "name": "uploadBucket",
182
+ "type": "string"
183
+ }
184
+ ],
185
+ "events": [
186
+ {
187
+ "name": "message.submit",
188
+ "detail": {
189
+ "type": "string"
190
+ }
191
+ },
192
+ {
193
+ "name": "ai-employee.mention",
194
+ "detail": {
195
+ "type": "AIEmployee | null"
196
+ }
197
+ },
198
+ {
199
+ "name": "command.select",
200
+ "detail": {
201
+ "type": "CommandPayload | null"
202
+ }
203
+ },
204
+ {
205
+ "name": "files.change",
206
+ "detail": {
207
+ "type": "string[] | null | undefined"
208
+ }
209
+ }
210
+ ],
211
+ "slots": [],
212
+ "methods": [
213
+ {
214
+ "name": "setValue",
215
+ "params": [
216
+ {
217
+ "name": "value",
218
+ "type": "string"
219
+ }
220
+ ]
221
+ },
222
+ {
223
+ "name": "getValue",
224
+ "params": []
225
+ },
226
+ {
227
+ "name": "focusOnInput",
228
+ "params": []
229
+ }
230
+ ],
231
+ "parts": [],
232
+ "description": "构件 `ai-portal.chat-box`"
233
+ },
234
+ {
235
+ "name": "ai-portal.home-container",
236
+ "properties": [
237
+ {
238
+ "name": "sticky",
239
+ "type": "boolean"
240
+ }
241
+ ],
242
+ "events": [],
243
+ "slots": [],
244
+ "methods": [],
245
+ "parts": [],
246
+ "description": "构件 `ai-portal.home-container`"
247
+ },
248
+ {
249
+ "name": "ai-portal.stat-with-mini-chart",
250
+ "properties": [
251
+ {
252
+ "name": "label",
253
+ "type": "string"
254
+ },
255
+ {
256
+ "name": "value",
257
+ "type": "string"
258
+ },
259
+ {
260
+ "name": "size",
261
+ "description": "",
262
+ "default": "\"medium\"",
263
+ "type": "\"medium\" | \"small\""
264
+ },
265
+ {
266
+ "name": "lineColor",
267
+ "description": "",
268
+ "default": "\"var(--color-brand)\"",
269
+ "type": "string"
270
+ },
271
+ {
272
+ "name": "showArea",
273
+ "type": "boolean"
274
+ },
275
+ {
276
+ "name": "min",
277
+ "description": "Specify the minimum value of the y-axis.\nIf not specified, the minimum value will be calculated from the data.",
278
+ "type": "number"
279
+ },
280
+ {
281
+ "name": "max",
282
+ "description": "Specify the maximum value of the y-axis.\nIf not specified, the maximum value will be calculated from the data.",
283
+ "type": "number"
284
+ },
285
+ {
286
+ "name": "xField",
287
+ "description": "",
288
+ "default": "\"0\"",
289
+ "type": "string"
290
+ },
291
+ {
292
+ "name": "yField",
293
+ "description": "",
294
+ "default": "\"1\"",
295
+ "type": "string"
296
+ },
297
+ {
298
+ "name": "data",
299
+ "attribute": false,
300
+ "type": "Record<string, number>[]"
301
+ }
302
+ ],
303
+ "events": [],
304
+ "slots": [],
305
+ "methods": [],
306
+ "parts": [],
307
+ "description": "构件 `ai-portal.stat-with-mini-chart`"
308
+ },
155
309
  {
156
310
  "name": "ai-portal.elevo-sidebar",
157
311
  "properties": [
@@ -319,75 +473,6 @@
319
473
  "parts": [],
320
474
  "description": "构件 `ai-portal.icon-button`"
321
475
  },
322
- {
323
- "name": "ai-portal.chat-box",
324
- "properties": [
325
- {
326
- "name": "disabled",
327
- "type": "boolean"
328
- },
329
- {
330
- "name": "placeholder",
331
- "type": "string"
332
- },
333
- {
334
- "name": "autoFocus",
335
- "type": "boolean"
336
- },
337
- {
338
- "name": "aiEmployees",
339
- "attribute": false,
340
- "type": "AIEmployee[]"
341
- },
342
- {
343
- "name": "commands",
344
- "attribute": false,
345
- "type": "Command[]"
346
- }
347
- ],
348
- "events": [
349
- {
350
- "name": "message.submit",
351
- "detail": {
352
- "type": "string"
353
- }
354
- },
355
- {
356
- "name": "ai-employee.mention",
357
- "detail": {
358
- "type": "AIEmployee | null"
359
- }
360
- },
361
- {
362
- "name": "command.select",
363
- "detail": {
364
- "type": "string | null"
365
- }
366
- }
367
- ],
368
- "slots": [],
369
- "methods": [
370
- {
371
- "name": "setValue",
372
- "params": [
373
- {
374
- "name": "value",
375
- "type": "string"
376
- }
377
- ]
378
- },
379
- {
380
- "name": "getValue",
381
- "params": []
382
- },
383
- {
384
- "name": "focusOnInput",
385
- "params": []
386
- }
387
- ],
388
- "parts": [],
389
- "description": "构件 `ai-portal.chat-box`"
390
- },
391
476
  {
392
477
  "name": "ai-portal.show-cases",
393
478
  "properties": [
@@ -426,36 +511,6 @@
426
511
  "parts": [],
427
512
  "description": "构件 `ai-portal.mcp-tools`"
428
513
  },
429
- {
430
- "name": "ai-portal.ai-employees",
431
- "properties": [
432
- {
433
- "name": "list",
434
- "attribute": false,
435
- "type": "Employee[]"
436
- },
437
- {
438
- "name": "industries",
439
- "attribute": false,
440
- "type": "string[]"
441
- },
442
- {
443
- "name": "urlTemplate",
444
- "type": "string"
445
- },
446
- {
447
- "name": "withContainer",
448
- "description": "",
449
- "deprecated": true,
450
- "default": "true"
451
- }
452
- ],
453
- "events": [],
454
- "slots": [],
455
- "methods": [],
456
- "parts": [],
457
- "description": "构件 `ai-portal.ai-employees`"
458
- },
459
514
  {
460
515
  "name": "ai-portal.chat-stream",
461
516
  "properties": [
@@ -594,18 +649,34 @@
594
649
  "description": "构件 `ai-portal.chat-stream`"
595
650
  },
596
651
  {
597
- "name": "ai-portal.home-container",
652
+ "name": "ai-portal.ai-employees",
598
653
  "properties": [
599
654
  {
600
- "name": "sticky",
601
- "type": "boolean"
655
+ "name": "list",
656
+ "attribute": false,
657
+ "type": "Employee[]"
658
+ },
659
+ {
660
+ "name": "industries",
661
+ "attribute": false,
662
+ "type": "string[]"
663
+ },
664
+ {
665
+ "name": "urlTemplate",
666
+ "type": "string"
667
+ },
668
+ {
669
+ "name": "withContainer",
670
+ "description": "",
671
+ "deprecated": true,
672
+ "default": "true"
602
673
  }
603
674
  ],
604
675
  "events": [],
605
676
  "slots": [],
606
677
  "methods": [],
607
678
  "parts": [],
608
- "description": "构件 `ai-portal.home-container`"
679
+ "description": "构件 `ai-portal.ai-employees`"
609
680
  },
610
681
  {
611
682
  "name": "ai-portal.ai-agents",
@@ -713,67 +784,6 @@
713
784
  ],
714
785
  "description": "构件 `ai-portal.tab-list`"
715
786
  },
716
- {
717
- "name": "ai-portal.stat-with-mini-chart",
718
- "properties": [
719
- {
720
- "name": "label",
721
- "type": "string"
722
- },
723
- {
724
- "name": "value",
725
- "type": "string"
726
- },
727
- {
728
- "name": "size",
729
- "description": "",
730
- "default": "\"medium\"",
731
- "type": "\"medium\" | \"small\""
732
- },
733
- {
734
- "name": "lineColor",
735
- "description": "",
736
- "default": "\"var(--color-brand)\"",
737
- "type": "string"
738
- },
739
- {
740
- "name": "showArea",
741
- "type": "boolean"
742
- },
743
- {
744
- "name": "min",
745
- "description": "Specify the minimum value of the y-axis.\nIf not specified, the minimum value will be calculated from the data.",
746
- "type": "number"
747
- },
748
- {
749
- "name": "max",
750
- "description": "Specify the maximum value of the y-axis.\nIf not specified, the maximum value will be calculated from the data.",
751
- "type": "number"
752
- },
753
- {
754
- "name": "xField",
755
- "description": "",
756
- "default": "\"0\"",
757
- "type": "string"
758
- },
759
- {
760
- "name": "yField",
761
- "description": "",
762
- "default": "\"1\"",
763
- "type": "string"
764
- },
765
- {
766
- "name": "data",
767
- "attribute": false,
768
- "type": "Record<string, number>[]"
769
- }
770
- ],
771
- "events": [],
772
- "slots": [],
773
- "methods": [],
774
- "parts": [],
775
- "description": "构件 `ai-portal.stat-with-mini-chart`"
776
- },
777
787
  {
778
788
  "name": "ai-portal.dropdown-select",
779
789
  "properties": [
@@ -1233,6 +1243,10 @@
1233
1243
  "name": "aiEmployees",
1234
1244
  "attribute": false,
1235
1245
  "type": "AIEmployee[]"
1246
+ },
1247
+ {
1248
+ "name": "readOnly",
1249
+ "type": "boolean"
1236
1250
  }
1237
1251
  ],
1238
1252
  "events": [
@@ -1306,6 +1320,9 @@
1306
1320
  }
1307
1321
  ],
1308
1322
  "providers": [
1323
+ {
1324
+ "name": "ai-portal.call-tool"
1325
+ },
1309
1326
  {
1310
1327
  "name": "ai-portal.save-request-store"
1311
1328
  },
@@ -1316,7 +1333,7 @@
1316
1333
  "name": "ai-portal.clear-request-store"
1317
1334
  },
1318
1335
  {
1319
- "name": "ai-portal.call-tool"
1336
+ "name": "ai-portal.set-chat-command"
1320
1337
  }
1321
1338
  ]
1322
1339
  }