@next-bricks/ai-portal 0.41.3 → 0.42.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 (52) hide show
  1. package/dist/bricks.json +22 -21
  2. package/dist/chunks/{453.e0c39d75.js → 453.e2767a6d.js} +2 -2
  3. package/dist/chunks/453.e2767a6d.js.map +1 -0
  4. package/dist/chunks/6754.9dfa5269.js +2 -0
  5. package/dist/chunks/6754.9dfa5269.js.map +1 -0
  6. package/dist/chunks/{7493.61116715.js → 7493.6f9d9ca0.js} +2 -2
  7. package/dist/chunks/7493.6f9d9ca0.js.map +1 -0
  8. package/dist/chunks/9749.cfb84a2f.js +2 -0
  9. package/dist/chunks/9749.cfb84a2f.js.map +1 -0
  10. package/dist/chunks/chat-box.4f6d3704.js +2 -0
  11. package/dist/chunks/chat-box.4f6d3704.js.map +1 -0
  12. package/dist/chunks/chat-input.679aec70.js +3 -0
  13. package/dist/chunks/chat-input.679aec70.js.map +1 -0
  14. package/dist/chunks/chat-stream.a2e40a99.js +2 -0
  15. package/dist/chunks/chat-stream.a2e40a99.js.map +1 -0
  16. package/dist/chunks/cruise-canvas.77318b42.js +2 -0
  17. package/dist/chunks/cruise-canvas.77318b42.js.map +1 -0
  18. package/dist/chunks/{main.368cafdf.js → main.40e44ee2.js} +2 -2
  19. package/dist/chunks/{main.368cafdf.js.map → main.40e44ee2.js.map} +1 -1
  20. package/dist/chunks/{project-conversations.d4771579.js → project-conversations.e525349e.js} +3 -3
  21. package/dist/chunks/project-conversations.e525349e.js.map +1 -0
  22. package/dist/examples.json +13 -13
  23. package/dist/{index.985de226.js → index.ad4c133a.js} +2 -2
  24. package/dist/{index.985de226.js.map → index.ad4c133a.js.map} +1 -1
  25. package/dist/manifest.json +140 -117
  26. package/dist/types.json +271 -143
  27. package/dist-types/chat-box/index.d.ts +9 -2
  28. package/dist-types/chat-stream/ChatStream.d.ts +3 -2
  29. package/dist-types/chat-stream/LegacyChatStream.d.ts +2 -1
  30. package/dist-types/chat-stream/index.d.ts +3 -0
  31. package/dist-types/cruise-canvas/CruiseCanvas.d.ts +3 -2
  32. package/dist-types/cruise-canvas/LegacyCruiseCanvas.d.ts +2 -1
  33. package/dist-types/cruise-canvas/index.d.ts +3 -0
  34. package/dist-types/shared/interfaces.d.ts +1 -0
  35. package/package.json +2 -2
  36. package/dist/chunks/2608.bbe2b26a.js +0 -2
  37. package/dist/chunks/2608.bbe2b26a.js.map +0 -1
  38. package/dist/chunks/453.e0c39d75.js.map +0 -1
  39. package/dist/chunks/6754.758fa3ae.js +0 -2
  40. package/dist/chunks/6754.758fa3ae.js.map +0 -1
  41. package/dist/chunks/7493.61116715.js.map +0 -1
  42. package/dist/chunks/chat-box.15e40b8e.js +0 -2
  43. package/dist/chunks/chat-box.15e40b8e.js.map +0 -1
  44. package/dist/chunks/chat-input.3e67d2d4.js +0 -3
  45. package/dist/chunks/chat-input.3e67d2d4.js.map +0 -1
  46. package/dist/chunks/chat-stream.88ec601e.js +0 -2
  47. package/dist/chunks/chat-stream.88ec601e.js.map +0 -1
  48. package/dist/chunks/cruise-canvas.f715731a.js +0 -2
  49. package/dist/chunks/cruise-canvas.f715731a.js.map +0 -1
  50. package/dist/chunks/project-conversations.d4771579.js.map +0 -1
  51. /package/dist/chunks/{chat-input.3e67d2d4.js.LICENSE.txt → chat-input.679aec70.js.LICENSE.txt} +0 -0
  52. /package/dist/chunks/{project-conversations.d4771579.js.LICENSE.txt → project-conversations.e525349e.js.LICENSE.txt} +0 -0
@@ -109,6 +109,12 @@
109
109
  "detail": {
110
110
  "type": "\"chat\""
111
111
  }
112
+ },
113
+ {
114
+ "name": "detail.change",
115
+ "detail": {
116
+ "type": "ConversationDetail"
117
+ }
112
118
  }
113
119
  ],
114
120
  "slots": [],
@@ -138,6 +144,69 @@
138
144
  "parts": [],
139
145
  "description": "构件 `ai-portal.cruise-canvas`"
140
146
  },
147
+ {
148
+ "name": "ai-portal.chat-box",
149
+ "properties": [
150
+ {
151
+ "name": "disabled",
152
+ "type": "boolean"
153
+ },
154
+ {
155
+ "name": "placeholder",
156
+ "type": "string"
157
+ },
158
+ {
159
+ "name": "autoFocus",
160
+ "type": "boolean"
161
+ },
162
+ {
163
+ "name": "aiEmployees",
164
+ "attribute": false,
165
+ "type": "AIEmployee[]"
166
+ }
167
+ ],
168
+ "events": [
169
+ {
170
+ "name": "message.submit",
171
+ "detail": {
172
+ "type": "string"
173
+ }
174
+ },
175
+ {
176
+ "name": "ai-employee.mention",
177
+ "detail": {
178
+ "type": "AIEmployee | null"
179
+ }
180
+ }
181
+ ],
182
+ "slots": [],
183
+ "methods": [
184
+ {
185
+ "name": "setValue",
186
+ "params": [
187
+ {
188
+ "name": "value",
189
+ "type": "string"
190
+ }
191
+ ]
192
+ },
193
+ {
194
+ "name": "getValue",
195
+ "params": []
196
+ }
197
+ ],
198
+ "parts": [],
199
+ "description": "构件 `ai-portal.chat-box`"
200
+ },
201
+ {
202
+ "name": "ai-portal.home-container",
203
+ "properties": [],
204
+ "events": [],
205
+ "slots": [],
206
+ "methods": [],
207
+ "parts": [],
208
+ "description": "构件 `ai-portal.home-container`"
209
+ },
141
210
  {
142
211
  "name": "ai-portal.stat-with-mini-chart",
143
212
  "properties": [
@@ -199,33 +268,6 @@
199
268
  "parts": [],
200
269
  "description": "构件 `ai-portal.stat-with-mini-chart`"
201
270
  },
202
- {
203
- "name": "ai-portal.icon-button",
204
- "properties": [
205
- {
206
- "name": "icon",
207
- "attribute": false,
208
- "type": "GeneralIconProps"
209
- },
210
- {
211
- "name": "tooltip",
212
- "type": "string"
213
- },
214
- {
215
- "name": "disabled",
216
- "type": "boolean"
217
- },
218
- {
219
- "name": "variant",
220
- "type": "IconButtonVariant"
221
- }
222
- ],
223
- "events": [],
224
- "slots": [],
225
- "methods": [],
226
- "parts": [],
227
- "description": "构件 `ai-portal.icon-button`"
228
- },
229
271
  {
230
272
  "name": "ai-portal.elevo-sidebar",
231
273
  "properties": [
@@ -367,74 +409,50 @@
367
409
  "description": "构件 `ai-portal.elevo-sidebar`"
368
410
  },
369
411
  {
370
- "name": "ai-portal.show-cases",
412
+ "name": "ai-portal.icon-button",
371
413
  "properties": [
372
414
  {
373
- "name": "list",
415
+ "name": "icon",
374
416
  "attribute": false,
375
- "type": "ShowCase[]"
417
+ "type": "GeneralIconProps"
376
418
  },
377
419
  {
378
- "name": "taskUrlTemplate",
420
+ "name": "tooltip",
379
421
  "type": "string"
380
- }
381
- ],
382
- "events": [],
383
- "slots": [],
384
- "methods": [],
385
- "parts": [],
386
- "description": "构件 `ai-portal.show-cases`"
387
- },
388
- {
389
- "name": "ai-portal.mcp-tools",
390
- "properties": [
422
+ },
391
423
  {
392
- "name": "list",
393
- "attribute": false,
394
- "type": "McpTool[]"
424
+ "name": "disabled",
425
+ "type": "boolean"
395
426
  },
396
427
  {
397
- "name": "withContainer",
398
- "description": "",
399
- "deprecated": true,
400
- "default": "true"
428
+ "name": "variant",
429
+ "type": "IconButtonVariant"
401
430
  }
402
431
  ],
403
432
  "events": [],
404
433
  "slots": [],
405
434
  "methods": [],
406
435
  "parts": [],
407
- "description": "构件 `ai-portal.mcp-tools`"
436
+ "description": "构件 `ai-portal.icon-button`"
408
437
  },
409
438
  {
410
- "name": "ai-portal.ai-employees",
439
+ "name": "ai-portal.show-cases",
411
440
  "properties": [
412
441
  {
413
442
  "name": "list",
414
443
  "attribute": false,
415
- "type": "Employee[]"
416
- },
417
- {
418
- "name": "industries",
419
- "attribute": false,
420
- "type": "string[]"
444
+ "type": "ShowCase[]"
421
445
  },
422
446
  {
423
- "name": "urlTemplate",
447
+ "name": "taskUrlTemplate",
424
448
  "type": "string"
425
- },
426
- {
427
- "name": "withContainer",
428
- "description": "",
429
- "deprecated": true,
430
- "default": "true"
431
449
  }
432
450
  ],
433
451
  "events": [],
434
452
  "slots": [],
435
453
  "methods": [],
436
454
  "parts": [],
437
- "description": "构件 `ai-portal.ai-employees`"
455
+ "description": "构件 `ai-portal.show-cases`"
438
456
  },
439
457
  {
440
458
  "name": "ai-portal.chat-stream",
@@ -524,6 +542,12 @@
524
542
  "detail": {
525
543
  "type": "\"canvas\""
526
544
  }
545
+ },
546
+ {
547
+ "name": "detail.change",
548
+ "detail": {
549
+ "type": "ConversationDetail"
550
+ }
527
551
  }
528
552
  ],
529
553
  "slots": [],
@@ -553,6 +577,57 @@
553
577
  "parts": [],
554
578
  "description": "构件 `ai-portal.chat-stream`"
555
579
  },
580
+ {
581
+ "name": "ai-portal.ai-employees",
582
+ "properties": [
583
+ {
584
+ "name": "list",
585
+ "attribute": false,
586
+ "type": "Employee[]"
587
+ },
588
+ {
589
+ "name": "industries",
590
+ "attribute": false,
591
+ "type": "string[]"
592
+ },
593
+ {
594
+ "name": "urlTemplate",
595
+ "type": "string"
596
+ },
597
+ {
598
+ "name": "withContainer",
599
+ "description": "",
600
+ "deprecated": true,
601
+ "default": "true"
602
+ }
603
+ ],
604
+ "events": [],
605
+ "slots": [],
606
+ "methods": [],
607
+ "parts": [],
608
+ "description": "构件 `ai-portal.ai-employees`"
609
+ },
610
+ {
611
+ "name": "ai-portal.mcp-tools",
612
+ "properties": [
613
+ {
614
+ "name": "list",
615
+ "attribute": false,
616
+ "type": "McpTool[]"
617
+ },
618
+ {
619
+ "name": "withContainer",
620
+ "description": "",
621
+ "deprecated": true,
622
+ "default": "true"
623
+ }
624
+ ],
625
+ "events": [],
626
+ "slots": [],
627
+ "methods": [],
628
+ "parts": [],
629
+ "description": "构件 `ai-portal.mcp-tools`"
630
+ },
556
631
  {
557
632
  "name": "ai-portal.ai-agents",
558
633
  "properties": [
@@ -727,49 +802,6 @@
727
802
  "parts": [],
728
803
  "description": "构件 `ai-portal.dropdown-select`"
729
804
  },
730
- {
731
- "name": "ai-portal.chat-box",
732
- "properties": [
733
- {
734
- "name": "disabled",
735
- "type": "boolean"
736
- },
737
- {
738
- "name": "placeholder",
739
- "type": "string"
740
- },
741
- {
742
- "name": "autoFocus",
743
- "type": "boolean"
744
- }
745
- ],
746
- "events": [
747
- {
748
- "name": "message.submit",
749
- "detail": {
750
- "type": "string"
751
- }
752
- }
753
- ],
754
- "slots": [],
755
- "methods": [
756
- {
757
- "name": "setValue",
758
- "params": [
759
- {
760
- "name": "value",
761
- "type": "string"
762
- }
763
- ]
764
- },
765
- {
766
- "name": "getValue",
767
- "params": []
768
- }
769
- ],
770
- "parts": [],
771
- "description": "构件 `ai-portal.chat-box`"
772
- },
773
805
  {
774
806
  "name": "ai-portal.preview-container",
775
807
  "properties": [
@@ -785,15 +817,6 @@
785
817
  "parts": [],
786
818
  "description": "构件 `ai-portal.preview-container`"
787
819
  },
788
- {
789
- "name": "ai-portal.home-container",
790
- "properties": [],
791
- "events": [],
792
- "slots": [],
793
- "methods": [],
794
- "parts": [],
795
- "description": "构件 `ai-portal.home-container`"
796
- },
797
820
  {
798
821
  "name": "ai-portal.action-buttons",
799
822
  "properties": [