@next-bricks/ai-portal 0.58.7 → 0.58.9

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 (55) hide show
  1. package/dist/bricks.json +21 -21
  2. package/dist/chunks/151.098c765c.js +2 -0
  3. package/dist/chunks/151.098c765c.js.map +1 -0
  4. package/dist/chunks/2232.3e1796f1.js +2 -0
  5. package/dist/chunks/2232.3e1796f1.js.map +1 -0
  6. package/dist/chunks/{2324.17662f31.js → 2324.d6932d39.js} +2 -2
  7. package/dist/chunks/{2324.17662f31.js.map → 2324.d6932d39.js.map} +1 -1
  8. package/dist/chunks/7848.8261656a.js +2 -0
  9. package/dist/chunks/7848.8261656a.js.map +1 -0
  10. package/dist/chunks/9496.0c35a324.js +2 -0
  11. package/dist/chunks/9496.0c35a324.js.map +1 -0
  12. package/dist/chunks/chat-stream.541a3565.js +2 -0
  13. package/dist/chunks/chat-stream.541a3565.js.map +1 -0
  14. package/dist/chunks/{elevo-sidebar.08aad53b.js → elevo-sidebar.dcdcd0e4.js} +3 -3
  15. package/dist/chunks/elevo-sidebar.dcdcd0e4.js.map +1 -0
  16. package/dist/chunks/icon-button.ee06d4b6.js +2 -0
  17. package/dist/chunks/icon-button.ee06d4b6.js.map +1 -0
  18. package/dist/chunks/{main.9f018556.js → main.f6e562f8.js} +2 -2
  19. package/dist/chunks/{main.9f018556.js.map → main.f6e562f8.js.map} +1 -1
  20. package/dist/chunks/notice-dropdown.4d0fa5c5.js +2 -0
  21. package/dist/chunks/notice-dropdown.4d0fa5c5.js.map +1 -0
  22. package/dist/examples.json +15 -15
  23. package/dist/{index.8cc4b995.js → index.41d721be.js} +2 -2
  24. package/dist/{index.8cc4b995.js.map → index.41d721be.js.map} +1 -1
  25. package/dist/manifest.json +211 -200
  26. package/dist/types.json +373 -348
  27. package/dist-types/chat-stream/ChatStream.d.ts +3 -1
  28. package/dist-types/cruise-canvas/FileList/FileList.d.ts +1 -2
  29. package/dist-types/notice-dropdown/index.d.ts +5 -0
  30. package/dist-types/shared/FilePreview/FilePreview.d.ts +1 -4
  31. package/dist-types/shared/FilePreview/ImagesPreview.d.ts +6 -0
  32. package/dist-types/shared/FilePreview/downloadFile.d.ts +2 -0
  33. package/dist-types/shared/FilePreview/getImageUrl.d.ts +1 -0
  34. package/dist-types/shared/TaskContext.d.ts +3 -1
  35. package/dist-types/shared/bricks.d.ts +2 -1
  36. package/dist-types/shared/constants.d.ts +1 -0
  37. package/dist-types/shared/interfaces.d.ts +4 -0
  38. package/package.json +2 -2
  39. package/dist/chunks/1488.171d8f4f.js +0 -2
  40. package/dist/chunks/1488.171d8f4f.js.map +0 -1
  41. package/dist/chunks/151.4fd3b48d.js +0 -2
  42. package/dist/chunks/151.4fd3b48d.js.map +0 -1
  43. package/dist/chunks/2232.db93d1de.js +0 -2
  44. package/dist/chunks/2232.db93d1de.js.map +0 -1
  45. package/dist/chunks/9496.e3fa93a9.js +0 -2
  46. package/dist/chunks/9496.e3fa93a9.js.map +0 -1
  47. package/dist/chunks/chat-stream.da44fc66.js +0 -2
  48. package/dist/chunks/chat-stream.da44fc66.js.map +0 -1
  49. package/dist/chunks/elevo-sidebar.08aad53b.js.map +0 -1
  50. package/dist/chunks/icon-button.0881c876.js +0 -2
  51. package/dist/chunks/icon-button.0881c876.js.map +0 -1
  52. package/dist/chunks/notice-dropdown.6262ed81.js +0 -2
  53. package/dist/chunks/notice-dropdown.6262ed81.js.map +0 -1
  54. package/dist-types/shared/FilePreview/FilePreviewDrawer.d.ts +0 -6
  55. /package/dist/chunks/{elevo-sidebar.08aad53b.js.LICENSE.txt → elevo-sidebar.dcdcd0e4.js.LICENSE.txt} +0 -0
@@ -162,143 +162,6 @@
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
165
  {
303
166
  "name": "ai-portal.home-container",
304
167
  "properties": [
@@ -646,6 +509,12 @@
646
509
  "detail": {
647
510
  "type": "void"
648
511
  }
512
+ },
513
+ {
514
+ "name": "notice.click",
515
+ "detail": {
516
+ "type": "NoticeItem"
517
+ }
649
518
  }
650
519
  ],
651
520
  "slots": [],
@@ -675,6 +544,36 @@
675
544
  "parts": [],
676
545
  "description": "构件 `ai-portal.chat-stream`"
677
546
  },
547
+ {
548
+ "name": "ai-portal.ai-employees",
549
+ "properties": [
550
+ {
551
+ "name": "list",
552
+ "attribute": false,
553
+ "type": "Employee[]"
554
+ },
555
+ {
556
+ "name": "industries",
557
+ "attribute": false,
558
+ "type": "string[]"
559
+ },
560
+ {
561
+ "name": "urlTemplate",
562
+ "type": "string"
563
+ },
564
+ {
565
+ "name": "withContainer",
566
+ "description": "",
567
+ "deprecated": true,
568
+ "default": "true"
569
+ }
570
+ ],
571
+ "events": [],
572
+ "slots": [],
573
+ "methods": [],
574
+ "parts": [],
575
+ "description": "构件 `ai-portal.ai-employees`"
576
+ },
678
577
  {
679
578
  "name": "ai-portal.ai-agents",
680
579
  "properties": [
@@ -700,6 +599,82 @@
700
599
  "parts": [],
701
600
  "description": "构件 `ai-portal.ai-agents`"
702
601
  },
602
+ {
603
+ "name": "ai-portal.chat-box",
604
+ "properties": [
605
+ {
606
+ "name": "disabled",
607
+ "type": "boolean"
608
+ },
609
+ {
610
+ "name": "placeholder",
611
+ "type": "string"
612
+ },
613
+ {
614
+ "name": "autoFocus",
615
+ "type": "boolean"
616
+ },
617
+ {
618
+ "name": "aiEmployees",
619
+ "attribute": false,
620
+ "type": "AIEmployee[]"
621
+ },
622
+ {
623
+ "name": "commands",
624
+ "attribute": false,
625
+ "type": "Command[]"
626
+ },
627
+ {
628
+ "name": "uploadOptions",
629
+ "attribute": false,
630
+ "type": "UploadOptions"
631
+ }
632
+ ],
633
+ "events": [
634
+ {
635
+ "name": "message.submit",
636
+ "description": "",
637
+ "deprecated": "Use `chat.submit` event instead",
638
+ "detail": {
639
+ "type": "string"
640
+ }
641
+ },
642
+ {
643
+ "name": "chat.submit",
644
+ "detail": {
645
+ "type": "ChatPayload"
646
+ }
647
+ },
648
+ {
649
+ "name": "command.select",
650
+ "detail": {
651
+ "type": "CommandPayload | null"
652
+ }
653
+ }
654
+ ],
655
+ "slots": [],
656
+ "methods": [
657
+ {
658
+ "name": "setValue",
659
+ "params": [
660
+ {
661
+ "name": "value",
662
+ "type": "string"
663
+ }
664
+ ]
665
+ },
666
+ {
667
+ "name": "getValue",
668
+ "params": []
669
+ },
670
+ {
671
+ "name": "focusOnInput",
672
+ "params": []
673
+ }
674
+ ],
675
+ "parts": [],
676
+ "description": "构件 `ai-portal.chat-box`"
677
+ },
703
678
  {
704
679
  "name": "ai-portal.page-container",
705
680
  "properties": [
@@ -745,36 +720,6 @@
745
720
  "parts": [],
746
721
  "description": "构件 `ai-portal.page-container`"
747
722
  },
748
- {
749
- "name": "ai-portal.ai-employees",
750
- "properties": [
751
- {
752
- "name": "list",
753
- "attribute": false,
754
- "type": "Employee[]"
755
- },
756
- {
757
- "name": "industries",
758
- "attribute": false,
759
- "type": "string[]"
760
- },
761
- {
762
- "name": "urlTemplate",
763
- "type": "string"
764
- },
765
- {
766
- "name": "withContainer",
767
- "description": "",
768
- "deprecated": true,
769
- "default": "true"
770
- }
771
- ],
772
- "events": [],
773
- "slots": [],
774
- "methods": [],
775
- "parts": [],
776
- "description": "构件 `ai-portal.ai-employees`"
777
- },
778
723
  {
779
724
  "name": "ai-portal.tab-list",
780
725
  "properties": [
@@ -811,6 +756,67 @@
811
756
  ],
812
757
  "description": "构件 `ai-portal.tab-list`"
813
758
  },
759
+ {
760
+ "name": "ai-portal.stat-with-mini-chart",
761
+ "properties": [
762
+ {
763
+ "name": "label",
764
+ "type": "string"
765
+ },
766
+ {
767
+ "name": "value",
768
+ "type": "string"
769
+ },
770
+ {
771
+ "name": "size",
772
+ "description": "",
773
+ "default": "\"medium\"",
774
+ "type": "\"medium\" | \"small\""
775
+ },
776
+ {
777
+ "name": "lineColor",
778
+ "description": "",
779
+ "default": "\"var(--color-brand)\"",
780
+ "type": "string"
781
+ },
782
+ {
783
+ "name": "showArea",
784
+ "type": "boolean"
785
+ },
786
+ {
787
+ "name": "min",
788
+ "description": "Specify the minimum value of the y-axis.\nIf not specified, the minimum value will be calculated from the data.",
789
+ "type": "number"
790
+ },
791
+ {
792
+ "name": "max",
793
+ "description": "Specify the maximum value of the y-axis.\nIf not specified, the maximum value will be calculated from the data.",
794
+ "type": "number"
795
+ },
796
+ {
797
+ "name": "xField",
798
+ "description": "",
799
+ "default": "\"0\"",
800
+ "type": "string"
801
+ },
802
+ {
803
+ "name": "yField",
804
+ "description": "",
805
+ "default": "\"1\"",
806
+ "type": "string"
807
+ },
808
+ {
809
+ "name": "data",
810
+ "attribute": false,
811
+ "type": "Record<string, number>[]"
812
+ }
813
+ ],
814
+ "events": [],
815
+ "slots": [],
816
+ "methods": [],
817
+ "parts": [],
818
+ "description": "构件 `ai-portal.stat-with-mini-chart`"
819
+ },
814
820
  {
815
821
  "name": "ai-portal.dropdown-select",
816
822
  "properties": [
@@ -1074,15 +1080,6 @@
1074
1080
  "parts": [],
1075
1081
  "description": "构件 `ai-portal.activity-timeline`"
1076
1082
  },
1077
- {
1078
- "name": "ai-portal.elevo-logo",
1079
- "properties": [],
1080
- "events": [],
1081
- "slots": [],
1082
- "methods": [],
1083
- "parts": [],
1084
- "description": "构件 `ai-portal.elevo-logo`"
1085
- },
1086
1083
  {
1087
1084
  "name": "ai-portal.chat-input",
1088
1085
  "properties": [
@@ -1139,6 +1136,15 @@
1139
1136
  "parts": [],
1140
1137
  "description": "构件 `ai-portal.chat-input`"
1141
1138
  },
1139
+ {
1140
+ "name": "ai-portal.elevo-logo",
1141
+ "properties": [],
1142
+ "events": [],
1143
+ "slots": [],
1144
+ "methods": [],
1145
+ "parts": [],
1146
+ "description": "构件 `ai-portal.elevo-logo`"
1147
+ },
1142
1148
  {
1143
1149
  "name": "ai-portal.show-case",
1144
1150
  "properties": [
@@ -1161,6 +1167,24 @@
1161
1167
  "parts": [],
1162
1168
  "description": "构件 `ai-portal.show-case`"
1163
1169
  },
1170
+ {
1171
+ "name": "ai-portal.blank-state",
1172
+ "properties": [
1173
+ {
1174
+ "name": "illustration",
1175
+ "type": "BlankStateIllustration"
1176
+ },
1177
+ {
1178
+ "name": "description",
1179
+ "type": "string"
1180
+ }
1181
+ ],
1182
+ "events": [],
1183
+ "slots": [],
1184
+ "methods": [],
1185
+ "parts": [],
1186
+ "description": "构件 `ai-portal.blank-state`"
1187
+ },
1164
1188
  {
1165
1189
  "name": "ai-portal.sticky-container",
1166
1190
  "properties": [
@@ -1195,24 +1219,6 @@
1195
1219
  "parts": [],
1196
1220
  "description": "构件 `ai-portal.sticky-container`"
1197
1221
  },
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
1222
  {
1217
1223
  "name": "ai-portal.elevo-card",
1218
1224
  "properties": [
@@ -1413,6 +1419,11 @@
1413
1419
  "description": "详情链接",
1414
1420
  "type": "string"
1415
1421
  },
1422
+ {
1423
+ "name": "urlTarget",
1424
+ "description": "详情链接目标",
1425
+ "type": "Target"
1426
+ },
1416
1427
  {
1417
1428
  "name": "dropdownMaxWidth",
1418
1429
  "description": "下拉框最大宽度",
@@ -1436,7 +1447,7 @@
1436
1447
  "description": "消息项点击事件",
1437
1448
  "detail": {
1438
1449
  "description": "消息 ID",
1439
- "type": "string"
1450
+ "type": "NoticeItem"
1440
1451
  }
1441
1452
  },
1442
1453
  {
@@ -1455,19 +1466,19 @@
1455
1466
  ],
1456
1467
  "providers": [
1457
1468
  {
1458
- "name": "ai-portal.call-tool"
1469
+ "name": "ai-portal.save-request-store"
1459
1470
  },
1460
1471
  {
1461
- "name": "ai-portal.set-chat-command"
1472
+ "name": "ai-portal.load-request-store"
1462
1473
  },
1463
1474
  {
1464
- "name": "ai-portal.save-request-store"
1475
+ "name": "ai-portal.clear-request-store"
1465
1476
  },
1466
1477
  {
1467
- "name": "ai-portal.load-request-store"
1478
+ "name": "ai-portal.call-tool"
1468
1479
  },
1469
1480
  {
1470
- "name": "ai-portal.clear-request-store"
1481
+ "name": "ai-portal.set-chat-command"
1471
1482
  }
1472
1483
  ]
1473
1484
  }