@next-bricks/ai-portal 0.58.5 → 0.58.7

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 +25 -25
  2. package/dist/chunks/1488.171d8f4f.js +2 -0
  3. package/dist/chunks/1488.171d8f4f.js.map +1 -0
  4. package/dist/chunks/151.4fd3b48d.js +2 -0
  5. package/dist/chunks/151.4fd3b48d.js.map +1 -0
  6. package/dist/chunks/2232.db93d1de.js +2 -0
  7. package/dist/chunks/2232.db93d1de.js.map +1 -0
  8. package/dist/chunks/2324.17662f31.js +2 -0
  9. package/dist/chunks/2324.17662f31.js.map +1 -0
  10. package/dist/chunks/{chat-box.041da849.js → chat-box.6eab985e.js} +2 -2
  11. package/dist/chunks/chat-box.6eab985e.js.map +1 -0
  12. package/dist/chunks/chat-input.fce2d021.js +2 -0
  13. package/dist/chunks/chat-input.fce2d021.js.map +1 -0
  14. package/dist/chunks/{main.3c34d3e3.js → main.9f018556.js} +2 -2
  15. package/dist/chunks/{main.3c34d3e3.js.map → main.9f018556.js.map} +1 -1
  16. package/dist/chunks/{notice-dropdown.37b8ffb2.js → notice-dropdown.6262ed81.js} +2 -2
  17. package/dist/chunks/notice-dropdown.6262ed81.js.map +1 -0
  18. package/dist/examples.json +19 -19
  19. package/dist/{index.9c210ca2.js → index.8cc4b995.js} +2 -2
  20. package/dist/{index.9c210ca2.js.map → index.8cc4b995.js.map} +1 -1
  21. package/dist/manifest.json +236 -236
  22. package/dist/types.json +1486 -1326
  23. package/dist-types/cruise-canvas/FileList/FileList.d.ts +2 -1
  24. package/dist-types/shared/FileUpload/GlobalDragOverlay.d.ts +3 -3
  25. package/dist-types/shared/FileUpload/i18n.d.ts +6 -1
  26. package/dist-types/shared/FileUpload/validateFiles.d.ts +2 -0
  27. package/dist-types/shared/interfaces.d.ts +4 -0
  28. package/package.json +2 -2
  29. package/dist/chunks/1488.8388b745.js +0 -2
  30. package/dist/chunks/1488.8388b745.js.map +0 -1
  31. package/dist/chunks/151.4739e5b9.js +0 -2
  32. package/dist/chunks/151.4739e5b9.js.map +0 -1
  33. package/dist/chunks/2232.c2811097.js +0 -2
  34. package/dist/chunks/2232.c2811097.js.map +0 -1
  35. package/dist/chunks/2324.c7c2427a.js +0 -2
  36. package/dist/chunks/2324.c7c2427a.js.map +0 -1
  37. package/dist/chunks/chat-box.041da849.js.map +0 -1
  38. package/dist/chunks/chat-input.2c5e645b.js +0 -2
  39. package/dist/chunks/chat-input.2c5e645b.js.map +0 -1
  40. package/dist/chunks/notice-dropdown.37b8ffb2.js.map +0 -1
  41. package/dist-types/shared/FileUpload/acceptFiles.d.ts +0 -1
  42. /package/dist-types/shared/FileUpload/{acceptFiles.spec.d.ts → validateFiles.spec.d.ts} +0 -0
@@ -162,6 +162,157 @@
162
162
  "parts": [],
163
163
  "description": "构件 `ai-portal.cruise-canvas`"
164
164
  },
165
+ {
166
+ "name": "ai-portal.chat-box",
167
+ "properties": [
168
+ {
169
+ "name": "disabled",
170
+ "type": "boolean"
171
+ },
172
+ {
173
+ "name": "placeholder",
174
+ "type": "string"
175
+ },
176
+ {
177
+ "name": "autoFocus",
178
+ "type": "boolean"
179
+ },
180
+ {
181
+ "name": "aiEmployees",
182
+ "attribute": false,
183
+ "type": "AIEmployee[]"
184
+ },
185
+ {
186
+ "name": "commands",
187
+ "attribute": false,
188
+ "type": "Command[]"
189
+ },
190
+ {
191
+ "name": "uploadOptions",
192
+ "attribute": false,
193
+ "type": "UploadOptions"
194
+ }
195
+ ],
196
+ "events": [
197
+ {
198
+ "name": "message.submit",
199
+ "description": "",
200
+ "deprecated": "Use `chat.submit` event instead",
201
+ "detail": {
202
+ "type": "string"
203
+ }
204
+ },
205
+ {
206
+ "name": "chat.submit",
207
+ "detail": {
208
+ "type": "ChatPayload"
209
+ }
210
+ },
211
+ {
212
+ "name": "command.select",
213
+ "detail": {
214
+ "type": "CommandPayload | null"
215
+ }
216
+ }
217
+ ],
218
+ "slots": [],
219
+ "methods": [
220
+ {
221
+ "name": "setValue",
222
+ "params": [
223
+ {
224
+ "name": "value",
225
+ "type": "string"
226
+ }
227
+ ]
228
+ },
229
+ {
230
+ "name": "getValue",
231
+ "params": []
232
+ },
233
+ {
234
+ "name": "focusOnInput",
235
+ "params": []
236
+ }
237
+ ],
238
+ "parts": [],
239
+ "description": "构件 `ai-portal.chat-box`"
240
+ },
241
+ {
242
+ "name": "ai-portal.stat-with-mini-chart",
243
+ "properties": [
244
+ {
245
+ "name": "label",
246
+ "type": "string"
247
+ },
248
+ {
249
+ "name": "value",
250
+ "type": "string"
251
+ },
252
+ {
253
+ "name": "size",
254
+ "description": "",
255
+ "default": "\"medium\"",
256
+ "type": "\"medium\" | \"small\""
257
+ },
258
+ {
259
+ "name": "lineColor",
260
+ "description": "",
261
+ "default": "\"var(--color-brand)\"",
262
+ "type": "string"
263
+ },
264
+ {
265
+ "name": "showArea",
266
+ "type": "boolean"
267
+ },
268
+ {
269
+ "name": "min",
270
+ "description": "Specify the minimum value of the y-axis.\nIf not specified, the minimum value will be calculated from the data.",
271
+ "type": "number"
272
+ },
273
+ {
274
+ "name": "max",
275
+ "description": "Specify the maximum value of the y-axis.\nIf not specified, the maximum value will be calculated from the data.",
276
+ "type": "number"
277
+ },
278
+ {
279
+ "name": "xField",
280
+ "description": "",
281
+ "default": "\"0\"",
282
+ "type": "string"
283
+ },
284
+ {
285
+ "name": "yField",
286
+ "description": "",
287
+ "default": "\"1\"",
288
+ "type": "string"
289
+ },
290
+ {
291
+ "name": "data",
292
+ "attribute": false,
293
+ "type": "Record<string, number>[]"
294
+ }
295
+ ],
296
+ "events": [],
297
+ "slots": [],
298
+ "methods": [],
299
+ "parts": [],
300
+ "description": "构件 `ai-portal.stat-with-mini-chart`"
301
+ },
302
+ {
303
+ "name": "ai-portal.home-container",
304
+ "properties": [
305
+ {
306
+ "name": "sticky",
307
+ "type": "boolean"
308
+ }
309
+ ],
310
+ "events": [],
311
+ "slots": [],
312
+ "methods": [],
313
+ "parts": [],
314
+ "description": "构件 `ai-portal.home-container`"
315
+ },
165
316
  {
166
317
  "name": "ai-portal.elevo-sidebar",
167
318
  "properties": [
@@ -348,81 +499,6 @@
348
499
  "parts": [],
349
500
  "description": "构件 `ai-portal.show-cases`"
350
501
  },
351
- {
352
- "name": "ai-portal.home-container",
353
- "properties": [
354
- {
355
- "name": "sticky",
356
- "type": "boolean"
357
- }
358
- ],
359
- "events": [],
360
- "slots": [],
361
- "methods": [],
362
- "parts": [],
363
- "description": "构件 `ai-portal.home-container`"
364
- },
365
- {
366
- "name": "ai-portal.stat-with-mini-chart",
367
- "properties": [
368
- {
369
- "name": "label",
370
- "type": "string"
371
- },
372
- {
373
- "name": "value",
374
- "type": "string"
375
- },
376
- {
377
- "name": "size",
378
- "description": "",
379
- "default": "\"medium\"",
380
- "type": "\"medium\" | \"small\""
381
- },
382
- {
383
- "name": "lineColor",
384
- "description": "",
385
- "default": "\"var(--color-brand)\"",
386
- "type": "string"
387
- },
388
- {
389
- "name": "showArea",
390
- "type": "boolean"
391
- },
392
- {
393
- "name": "min",
394
- "description": "Specify the minimum value of the y-axis.\nIf not specified, the minimum value will be calculated from the data.",
395
- "type": "number"
396
- },
397
- {
398
- "name": "max",
399
- "description": "Specify the maximum value of the y-axis.\nIf not specified, the maximum value will be calculated from the data.",
400
- "type": "number"
401
- },
402
- {
403
- "name": "xField",
404
- "description": "",
405
- "default": "\"0\"",
406
- "type": "string"
407
- },
408
- {
409
- "name": "yField",
410
- "description": "",
411
- "default": "\"1\"",
412
- "type": "string"
413
- },
414
- {
415
- "name": "data",
416
- "attribute": false,
417
- "type": "Record<string, number>[]"
418
- }
419
- ],
420
- "events": [],
421
- "slots": [],
422
- "methods": [],
423
- "parts": [],
424
- "description": "构件 `ai-portal.stat-with-mini-chart`"
425
- },
426
502
  {
427
503
  "name": "ai-portal.mcp-tools",
428
504
  "properties": [
@@ -442,61 +518,6 @@
442
518
  "parts": [],
443
519
  "description": "构件 `ai-portal.mcp-tools`"
444
520
  },
445
- {
446
- "name": "ai-portal.ai-employees",
447
- "properties": [
448
- {
449
- "name": "list",
450
- "attribute": false,
451
- "type": "Employee[]"
452
- },
453
- {
454
- "name": "industries",
455
- "attribute": false,
456
- "type": "string[]"
457
- },
458
- {
459
- "name": "urlTemplate",
460
- "type": "string"
461
- },
462
- {
463
- "name": "withContainer",
464
- "description": "",
465
- "deprecated": true,
466
- "default": "true"
467
- }
468
- ],
469
- "events": [],
470
- "slots": [],
471
- "methods": [],
472
- "parts": [],
473
- "description": "构件 `ai-portal.ai-employees`"
474
- },
475
- {
476
- "name": "ai-portal.ai-agents",
477
- "properties": [
478
- {
479
- "name": "list",
480
- "attribute": false,
481
- "type": "Agent[]"
482
- },
483
- {
484
- "name": "urlTemplate",
485
- "type": "string"
486
- },
487
- {
488
- "name": "withContainer",
489
- "description": "",
490
- "deprecated": true,
491
- "default": "true"
492
- }
493
- ],
494
- "events": [],
495
- "slots": [],
496
- "methods": [],
497
- "parts": [],
498
- "description": "构件 `ai-portal.ai-agents`"
499
- },
500
521
  {
501
522
  "name": "ai-portal.chat-stream",
502
523
  "properties": [
@@ -654,6 +675,31 @@
654
675
  "parts": [],
655
676
  "description": "构件 `ai-portal.chat-stream`"
656
677
  },
678
+ {
679
+ "name": "ai-portal.ai-agents",
680
+ "properties": [
681
+ {
682
+ "name": "list",
683
+ "attribute": false,
684
+ "type": "Agent[]"
685
+ },
686
+ {
687
+ "name": "urlTemplate",
688
+ "type": "string"
689
+ },
690
+ {
691
+ "name": "withContainer",
692
+ "description": "",
693
+ "deprecated": true,
694
+ "default": "true"
695
+ }
696
+ ],
697
+ "events": [],
698
+ "slots": [],
699
+ "methods": [],
700
+ "parts": [],
701
+ "description": "构件 `ai-portal.ai-agents`"
702
+ },
657
703
  {
658
704
  "name": "ai-portal.page-container",
659
705
  "properties": [
@@ -700,116 +746,70 @@
700
746
  "description": "构件 `ai-portal.page-container`"
701
747
  },
702
748
  {
703
- "name": "ai-portal.tab-list",
749
+ "name": "ai-portal.ai-employees",
704
750
  "properties": [
705
751
  {
706
- "name": "tabs",
752
+ "name": "list",
707
753
  "attribute": false,
708
- "type": "Tab[]"
754
+ "type": "Employee[]"
709
755
  },
710
756
  {
711
- "name": "activeTab",
757
+ "name": "industries",
712
758
  "attribute": false,
759
+ "type": "string[]"
760
+ },
761
+ {
762
+ "name": "urlTemplate",
713
763
  "type": "string"
714
- }
715
- ],
716
- "events": [
764
+ },
717
765
  {
718
- "name": "tab.click",
719
- "detail": {
720
- "type": "Tab"
721
- }
766
+ "name": "withContainer",
767
+ "description": "",
768
+ "deprecated": true,
769
+ "default": "true"
722
770
  }
723
771
  ],
772
+ "events": [],
724
773
  "slots": [],
725
774
  "methods": [],
726
- "parts": [
727
- {
728
- "name": "tabs",
729
- "description": "The tab list container"
730
- },
731
- {
732
- "name": "tab",
733
- "description": "The individual tab"
734
- }
735
- ],
736
- "description": "构件 `ai-portal.tab-list`"
775
+ "parts": [],
776
+ "description": "构件 `ai-portal.ai-employees`"
737
777
  },
738
778
  {
739
- "name": "ai-portal.chat-box",
779
+ "name": "ai-portal.tab-list",
740
780
  "properties": [
741
781
  {
742
- "name": "disabled",
743
- "type": "boolean"
744
- },
745
- {
746
- "name": "placeholder",
747
- "type": "string"
748
- },
749
- {
750
- "name": "autoFocus",
751
- "type": "boolean"
752
- },
753
- {
754
- "name": "aiEmployees",
755
- "attribute": false,
756
- "type": "AIEmployee[]"
757
- },
758
- {
759
- "name": "commands",
782
+ "name": "tabs",
760
783
  "attribute": false,
761
- "type": "Command[]"
784
+ "type": "Tab[]"
762
785
  },
763
786
  {
764
- "name": "uploadOptions",
787
+ "name": "activeTab",
765
788
  "attribute": false,
766
- "type": "UploadOptions"
789
+ "type": "string"
767
790
  }
768
791
  ],
769
792
  "events": [
770
793
  {
771
- "name": "message.submit",
772
- "description": "",
773
- "deprecated": "Use `chat.submit` event instead",
774
- "detail": {
775
- "type": "string"
776
- }
777
- },
778
- {
779
- "name": "chat.submit",
780
- "detail": {
781
- "type": "ChatPayload"
782
- }
783
- },
784
- {
785
- "name": "command.select",
794
+ "name": "tab.click",
786
795
  "detail": {
787
- "type": "CommandPayload | null"
796
+ "type": "Tab"
788
797
  }
789
798
  }
790
799
  ],
791
800
  "slots": [],
792
- "methods": [
793
- {
794
- "name": "setValue",
795
- "params": [
796
- {
797
- "name": "value",
798
- "type": "string"
799
- }
800
- ]
801
- },
801
+ "methods": [],
802
+ "parts": [
802
803
  {
803
- "name": "getValue",
804
- "params": []
804
+ "name": "tabs",
805
+ "description": "The tab list container"
805
806
  },
806
807
  {
807
- "name": "focusOnInput",
808
- "params": []
808
+ "name": "tab",
809
+ "description": "The individual tab"
809
810
  }
810
811
  ],
811
- "parts": [],
812
- "description": "构件 `ai-portal.chat-box`"
812
+ "description": "构件 `ai-portal.tab-list`"
813
813
  },
814
814
  {
815
815
  "name": "ai-portal.dropdown-select",
@@ -1074,6 +1074,15 @@
1074
1074
  "parts": [],
1075
1075
  "description": "构件 `ai-portal.activity-timeline`"
1076
1076
  },
1077
+ {
1078
+ "name": "ai-portal.elevo-logo",
1079
+ "properties": [],
1080
+ "events": [],
1081
+ "slots": [],
1082
+ "methods": [],
1083
+ "parts": [],
1084
+ "description": "构件 `ai-portal.elevo-logo`"
1085
+ },
1077
1086
  {
1078
1087
  "name": "ai-portal.chat-input",
1079
1088
  "properties": [
@@ -1152,33 +1161,6 @@
1152
1161
  "parts": [],
1153
1162
  "description": "构件 `ai-portal.show-case`"
1154
1163
  },
1155
- {
1156
- "name": "ai-portal.elevo-logo",
1157
- "properties": [],
1158
- "events": [],
1159
- "slots": [],
1160
- "methods": [],
1161
- "parts": [],
1162
- "description": "构件 `ai-portal.elevo-logo`"
1163
- },
1164
- {
1165
- "name": "ai-portal.blank-state",
1166
- "properties": [
1167
- {
1168
- "name": "illustration",
1169
- "type": "BlankStateIllustration"
1170
- },
1171
- {
1172
- "name": "description",
1173
- "type": "string"
1174
- }
1175
- ],
1176
- "events": [],
1177
- "slots": [],
1178
- "methods": [],
1179
- "parts": [],
1180
- "description": "构件 `ai-portal.blank-state`"
1181
- },
1182
1164
  {
1183
1165
  "name": "ai-portal.sticky-container",
1184
1166
  "properties": [
@@ -1213,6 +1195,24 @@
1213
1195
  "parts": [],
1214
1196
  "description": "构件 `ai-portal.sticky-container`"
1215
1197
  },
1198
+ {
1199
+ "name": "ai-portal.blank-state",
1200
+ "properties": [
1201
+ {
1202
+ "name": "illustration",
1203
+ "type": "BlankStateIllustration"
1204
+ },
1205
+ {
1206
+ "name": "description",
1207
+ "type": "string"
1208
+ }
1209
+ ],
1210
+ "events": [],
1211
+ "slots": [],
1212
+ "methods": [],
1213
+ "parts": [],
1214
+ "description": "构件 `ai-portal.blank-state`"
1215
+ },
1216
1216
  {
1217
1217
  "name": "ai-portal.elevo-card",
1218
1218
  "properties": [
@@ -1457,6 +1457,9 @@
1457
1457
  {
1458
1458
  "name": "ai-portal.call-tool"
1459
1459
  },
1460
+ {
1461
+ "name": "ai-portal.set-chat-command"
1462
+ },
1460
1463
  {
1461
1464
  "name": "ai-portal.save-request-store"
1462
1465
  },
@@ -1465,9 +1468,6 @@
1465
1468
  },
1466
1469
  {
1467
1470
  "name": "ai-portal.clear-request-store"
1468
- },
1469
- {
1470
- "name": "ai-portal.set-chat-command"
1471
1471
  }
1472
1472
  ]
1473
1473
  }