@next-bricks/ai-portal 0.59.5 → 0.60.1

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 (91) hide show
  1. package/dist/bricks.json +25 -21
  2. package/dist/chunks/1480.ec45b604.js +2 -0
  3. package/dist/chunks/1480.ec45b604.js.map +1 -0
  4. package/dist/chunks/2232.02cd2bbc.js.map +1 -1
  5. package/dist/chunks/2357.b6f1e719.js +2 -0
  6. package/dist/chunks/2357.b6f1e719.js.map +1 -0
  7. package/dist/chunks/3793.03162dd0.js +2 -0
  8. package/dist/chunks/3793.03162dd0.js.map +1 -0
  9. package/dist/chunks/5712.4f691939.js +2 -0
  10. package/dist/chunks/5712.4f691939.js.map +1 -0
  11. package/dist/chunks/6450.ade6ef3e.js +2 -0
  12. package/dist/chunks/6450.ade6ef3e.js.map +1 -0
  13. package/dist/chunks/6792.26bcd166.js +2 -0
  14. package/dist/chunks/6792.26bcd166.js.map +1 -0
  15. package/dist/chunks/7888.c0645842.js +3 -0
  16. package/dist/chunks/7888.c0645842.js.LICENSE.txt +7 -0
  17. package/dist/chunks/7888.c0645842.js.map +1 -0
  18. package/dist/chunks/7955.0c92eb57.js +3 -0
  19. package/dist/chunks/{7238.9abe2a64.js.LICENSE.txt → 7955.0c92eb57.js.LICENSE.txt} +0 -6
  20. package/dist/chunks/7955.0c92eb57.js.map +1 -0
  21. package/dist/chunks/9525.9e5140be.js +15 -0
  22. package/dist/chunks/9525.9e5140be.js.map +1 -0
  23. package/dist/chunks/9979.44f64896.js +2 -0
  24. package/dist/chunks/9979.44f64896.js.map +1 -0
  25. package/dist/chunks/call-tool.89a848e0.js.map +1 -1
  26. package/dist/chunks/chat-box.991e397f.js.map +1 -1
  27. package/dist/chunks/{cruise-canvas.b444c4ca.js → cruise-canvas.426be93e.js} +2 -2
  28. package/dist/chunks/{cruise-canvas.b444c4ca.js.map → cruise-canvas.426be93e.js.map} +1 -1
  29. package/dist/chunks/gantt-chart.0086539c.js +2 -0
  30. package/dist/chunks/gantt-chart.0086539c.js.map +1 -0
  31. package/dist/chunks/main.08db9bee.js +2 -0
  32. package/dist/chunks/{main.5ba2de01.js.map → main.08db9bee.js.map} +1 -1
  33. package/dist/chunks/preview-container.5793faee.js +2 -0
  34. package/dist/chunks/preview-container.5793faee.js.map +1 -0
  35. package/dist/chunks/set-chat-command.367b9c88.js.map +1 -1
  36. package/dist/examples.json +18 -15
  37. package/dist/index.8852dff5.js +2 -0
  38. package/dist/index.8852dff5.js.map +1 -0
  39. package/dist/manifest.json +210 -178
  40. package/dist/types.json +239 -99
  41. package/dist-types/bootstrap.d.ts +1 -0
  42. package/dist-types/chat-stream/useConversationStream.spec.d.ts +1 -0
  43. package/dist-types/data-providers/call-tool.d.ts +1 -1
  44. package/dist-types/data-providers/set-chat-command.d.ts +1 -1
  45. package/dist-types/gantt-chart/GanttBar.d.ts +2 -0
  46. package/dist-types/gantt-chart/GanttBar.spec.d.ts +1 -0
  47. package/dist-types/gantt-chart/constants.d.ts +5 -0
  48. package/dist-types/gantt-chart/getStateIcon.d.ts +6 -0
  49. package/dist-types/gantt-chart/i18n.d.ts +17 -0
  50. package/dist-types/gantt-chart/index.d.ts +23 -0
  51. package/dist-types/gantt-chart/index.spec.d.ts +1 -0
  52. package/dist-types/gantt-chart/interfaces.d.ts +12 -0
  53. package/dist-types/gantt-chart/utils.d.ts +6 -0
  54. package/dist-types/gantt-chart/utils.spec.d.ts +1 -0
  55. package/dist-types/shared/PlanProgress/PlanProgress.d.ts +3 -3
  56. package/dist-types/shared/getFlatChunks.spec.d.ts +1 -0
  57. package/dist-types/shared/getTaskTree.spec.d.ts +1 -0
  58. package/dist-types/shared/interfaces.d.ts +7 -6
  59. package/dist-types/shared/useServiceFlowPlan.d.ts +2 -2
  60. package/dist-types/shared/workers/tsxParser.d.ts +1 -1
  61. package/docs/gantt-chart.md +37 -0
  62. package/package.json +2 -2
  63. package/dist/chunks/2621.30041500.js +0 -2
  64. package/dist/chunks/2621.30041500.js.map +0 -1
  65. package/dist/chunks/3199.0220cf6e.js +0 -3
  66. package/dist/chunks/3199.0220cf6e.js.map +0 -1
  67. package/dist/chunks/3735.8c1d82e7.js +0 -15
  68. package/dist/chunks/3735.8c1d82e7.js.LICENSE.txt +0 -5
  69. package/dist/chunks/3735.8c1d82e7.js.map +0 -1
  70. package/dist/chunks/5712.c566ad78.js +0 -2
  71. package/dist/chunks/5712.c566ad78.js.map +0 -1
  72. package/dist/chunks/6593.58eda50f.js +0 -2
  73. package/dist/chunks/6593.58eda50f.js.map +0 -1
  74. package/dist/chunks/7238.9abe2a64.js +0 -3
  75. package/dist/chunks/7238.9abe2a64.js.map +0 -1
  76. package/dist/chunks/7586.b406d4bf.js +0 -2
  77. package/dist/chunks/7586.b406d4bf.js.map +0 -1
  78. package/dist/chunks/8135.3255c5ba.js +0 -2
  79. package/dist/chunks/8135.3255c5ba.js.map +0 -1
  80. package/dist/chunks/843.9b7325c3.js +0 -2
  81. package/dist/chunks/843.9b7325c3.js.map +0 -1
  82. package/dist/chunks/9388.e48bb229.js +0 -2
  83. package/dist/chunks/9388.e48bb229.js.map +0 -1
  84. package/dist/chunks/9496.1d7ebb7f.js +0 -2
  85. package/dist/chunks/9496.1d7ebb7f.js.map +0 -1
  86. package/dist/chunks/main.5ba2de01.js +0 -2
  87. package/dist/chunks/preview-container.19631a7b.js +0 -2
  88. package/dist/chunks/preview-container.19631a7b.js.map +0 -1
  89. package/dist/index.a425606e.js +0 -2
  90. package/dist/index.a425606e.js.map +0 -1
  91. /package/dist/chunks/{3199.0220cf6e.js.LICENSE.txt → 9525.9e5140be.js.LICENSE.txt} +0 -0
@@ -157,6 +157,151 @@
157
157
  "parts": [],
158
158
  "description": "构件 `ai-portal.cruise-canvas`"
159
159
  },
160
+ {
161
+ "name": "ai-portal.chat-box",
162
+ "properties": [
163
+ {
164
+ "name": "disabled",
165
+ "type": "boolean"
166
+ },
167
+ {
168
+ "name": "placeholder",
169
+ "type": "string"
170
+ },
171
+ {
172
+ "name": "autoFocus",
173
+ "type": "boolean"
174
+ },
175
+ {
176
+ "name": "aiEmployees",
177
+ "attribute": false,
178
+ "type": "AIEmployee[]"
179
+ },
180
+ {
181
+ "name": "commands",
182
+ "attribute": false,
183
+ "type": "Command[]"
184
+ },
185
+ {
186
+ "name": "uploadOptions",
187
+ "attribute": false,
188
+ "type": "UploadOptions"
189
+ }
190
+ ],
191
+ "events": [
192
+ {
193
+ "name": "message.submit",
194
+ "description": "",
195
+ "deprecated": "Use `chat.submit` event instead",
196
+ "detail": {
197
+ "type": "string"
198
+ }
199
+ },
200
+ {
201
+ "name": "chat.submit",
202
+ "detail": {
203
+ "type": "ChatPayload"
204
+ }
205
+ }
206
+ ],
207
+ "slots": [],
208
+ "methods": [
209
+ {
210
+ "name": "setValue",
211
+ "params": [
212
+ {
213
+ "name": "value",
214
+ "type": "string"
215
+ }
216
+ ]
217
+ },
218
+ {
219
+ "name": "getValue",
220
+ "params": []
221
+ },
222
+ {
223
+ "name": "focusOnInput",
224
+ "params": []
225
+ }
226
+ ],
227
+ "parts": [],
228
+ "description": "构件 `ai-portal.chat-box`"
229
+ },
230
+ {
231
+ "name": "ai-portal.home-container",
232
+ "properties": [
233
+ {
234
+ "name": "sticky",
235
+ "type": "boolean"
236
+ }
237
+ ],
238
+ "events": [],
239
+ "slots": [],
240
+ "methods": [],
241
+ "parts": [],
242
+ "description": "构件 `ai-portal.home-container`"
243
+ },
244
+ {
245
+ "name": "ai-portal.stat-with-mini-chart",
246
+ "properties": [
247
+ {
248
+ "name": "label",
249
+ "type": "string"
250
+ },
251
+ {
252
+ "name": "value",
253
+ "type": "string"
254
+ },
255
+ {
256
+ "name": "size",
257
+ "description": "",
258
+ "default": "\"medium\"",
259
+ "type": "\"medium\" | \"small\""
260
+ },
261
+ {
262
+ "name": "lineColor",
263
+ "description": "",
264
+ "default": "\"var(--color-brand)\"",
265
+ "type": "string"
266
+ },
267
+ {
268
+ "name": "showArea",
269
+ "type": "boolean"
270
+ },
271
+ {
272
+ "name": "min",
273
+ "description": "Specify the minimum value of the y-axis.\nIf not specified, the minimum value will be calculated from the data.",
274
+ "type": "number"
275
+ },
276
+ {
277
+ "name": "max",
278
+ "description": "Specify the maximum value of the y-axis.\nIf not specified, the maximum value will be calculated from the data.",
279
+ "type": "number"
280
+ },
281
+ {
282
+ "name": "xField",
283
+ "description": "",
284
+ "default": "\"0\"",
285
+ "type": "string"
286
+ },
287
+ {
288
+ "name": "yField",
289
+ "description": "",
290
+ "default": "\"1\"",
291
+ "type": "string"
292
+ },
293
+ {
294
+ "name": "data",
295
+ "attribute": false,
296
+ "type": "Record<string, number>[]"
297
+ }
298
+ ],
299
+ "events": [],
300
+ "slots": [],
301
+ "methods": [],
302
+ "parts": [],
303
+ "description": "构件 `ai-portal.stat-with-mini-chart`"
304
+ },
160
305
  {
161
306
  "name": "ai-portal.elevo-sidebar",
162
307
  "properties": [
@@ -329,137 +474,6 @@
329
474
  "parts": [],
330
475
  "description": "构件 `ai-portal.icon-button`"
331
476
  },
332
- {
333
- "name": "ai-portal.chat-box",
334
- "properties": [
335
- {
336
- "name": "disabled",
337
- "type": "boolean"
338
- },
339
- {
340
- "name": "placeholder",
341
- "type": "string"
342
- },
343
- {
344
- "name": "autoFocus",
345
- "type": "boolean"
346
- },
347
- {
348
- "name": "aiEmployees",
349
- "attribute": false,
350
- "type": "AIEmployee[]"
351
- },
352
- {
353
- "name": "commands",
354
- "attribute": false,
355
- "type": "Command[]"
356
- },
357
- {
358
- "name": "uploadOptions",
359
- "attribute": false,
360
- "type": "UploadOptions"
361
- }
362
- ],
363
- "events": [
364
- {
365
- "name": "message.submit",
366
- "description": "",
367
- "deprecated": "Use `chat.submit` event instead",
368
- "detail": {
369
- "type": "string"
370
- }
371
- },
372
- {
373
- "name": "chat.submit",
374
- "detail": {
375
- "type": "ChatPayload"
376
- }
377
- }
378
- ],
379
- "slots": [],
380
- "methods": [
381
- {
382
- "name": "setValue",
383
- "params": [
384
- {
385
- "name": "value",
386
- "type": "string"
387
- }
388
- ]
389
- },
390
- {
391
- "name": "getValue",
392
- "params": []
393
- },
394
- {
395
- "name": "focusOnInput",
396
- "params": []
397
- }
398
- ],
399
- "parts": [],
400
- "description": "构件 `ai-portal.chat-box`"
401
- },
402
- {
403
- "name": "ai-portal.stat-with-mini-chart",
404
- "properties": [
405
- {
406
- "name": "label",
407
- "type": "string"
408
- },
409
- {
410
- "name": "value",
411
- "type": "string"
412
- },
413
- {
414
- "name": "size",
415
- "description": "",
416
- "default": "\"medium\"",
417
- "type": "\"medium\" | \"small\""
418
- },
419
- {
420
- "name": "lineColor",
421
- "description": "",
422
- "default": "\"var(--color-brand)\"",
423
- "type": "string"
424
- },
425
- {
426
- "name": "showArea",
427
- "type": "boolean"
428
- },
429
- {
430
- "name": "min",
431
- "description": "Specify the minimum value of the y-axis.\nIf not specified, the minimum value will be calculated from the data.",
432
- "type": "number"
433
- },
434
- {
435
- "name": "max",
436
- "description": "Specify the maximum value of the y-axis.\nIf not specified, the maximum value will be calculated from the data.",
437
- "type": "number"
438
- },
439
- {
440
- "name": "xField",
441
- "description": "",
442
- "default": "\"0\"",
443
- "type": "string"
444
- },
445
- {
446
- "name": "yField",
447
- "description": "",
448
- "default": "\"1\"",
449
- "type": "string"
450
- },
451
- {
452
- "name": "data",
453
- "attribute": false,
454
- "type": "Record<string, number>[]"
455
- }
456
- ],
457
- "events": [],
458
- "slots": [],
459
- "methods": [],
460
- "parts": [],
461
- "description": "构件 `ai-portal.stat-with-mini-chart`"
462
- },
463
477
  {
464
478
  "name": "ai-portal.show-cases",
465
479
  "properties": [
@@ -699,20 +713,6 @@
699
713
  "parts": [],
700
714
  "description": "构件 `ai-portal.ai-agents`"
701
715
  },
702
- {
703
- "name": "ai-portal.home-container",
704
- "properties": [
705
- {
706
- "name": "sticky",
707
- "type": "boolean"
708
- }
709
- ],
710
- "events": [],
711
- "slots": [],
712
- "methods": [],
713
- "parts": [],
714
- "description": "构件 `ai-portal.home-container`"
715
- },
716
716
  {
717
717
  "name": "ai-portal.page-container",
718
718
  "properties": [
@@ -851,6 +851,25 @@
851
851
  "parts": [],
852
852
  "description": "构件 `ai-portal.dropdown-select`"
853
853
  },
854
+ {
855
+ "name": "ai-portal.preview-container",
856
+ "properties": [
857
+ {
858
+ "name": "source",
859
+ "attribute": false,
860
+ "type": "string"
861
+ },
862
+ {
863
+ "name": "url",
864
+ "type": "string"
865
+ }
866
+ ],
867
+ "events": [],
868
+ "slots": [],
869
+ "methods": [],
870
+ "parts": [],
871
+ "description": "构件 `ai-portal.preview-container`"
872
+ },
854
873
  {
855
874
  "name": "ai-portal.action-buttons",
856
875
  "properties": [
@@ -940,25 +959,6 @@
940
959
  "parts": [],
941
960
  "description": "构件 `ai-portal.goal-card-list`"
942
961
  },
943
- {
944
- "name": "ai-portal.preview-container",
945
- "properties": [
946
- {
947
- "name": "source",
948
- "attribute": false,
949
- "type": "string"
950
- },
951
- {
952
- "name": "url",
953
- "type": "string"
954
- }
955
- ],
956
- "events": [],
957
- "slots": [],
958
- "methods": [],
959
- "parts": [],
960
- "description": "构件 `ai-portal.preview-container`"
961
- },
962
962
  {
963
963
  "name": "ai-portal.project-conversations",
964
964
  "properties": [
@@ -1123,14 +1123,18 @@
1123
1123
  "description": "构件 `ai-portal.elevo-logo`"
1124
1124
  },
1125
1125
  {
1126
- "name": "ai-portal.blank-state",
1126
+ "name": "ai-portal.show-case",
1127
1127
  "properties": [
1128
1128
  {
1129
- "name": "illustration",
1130
- "type": "BlankStateIllustration"
1129
+ "name": "caseTitle",
1130
+ "type": "string"
1131
1131
  },
1132
1132
  {
1133
- "name": "description",
1133
+ "name": "summary",
1134
+ "type": "string"
1135
+ },
1136
+ {
1137
+ "name": "url",
1134
1138
  "type": "string"
1135
1139
  }
1136
1140
  ],
@@ -1138,21 +1142,17 @@
1138
1142
  "slots": [],
1139
1143
  "methods": [],
1140
1144
  "parts": [],
1141
- "description": "构件 `ai-portal.blank-state`"
1145
+ "description": "构件 `ai-portal.show-case`"
1142
1146
  },
1143
1147
  {
1144
- "name": "ai-portal.show-case",
1148
+ "name": "ai-portal.blank-state",
1145
1149
  "properties": [
1146
1150
  {
1147
- "name": "caseTitle",
1148
- "type": "string"
1149
- },
1150
- {
1151
- "name": "summary",
1152
- "type": "string"
1151
+ "name": "illustration",
1152
+ "type": "BlankStateIllustration"
1153
1153
  },
1154
1154
  {
1155
- "name": "url",
1155
+ "name": "description",
1156
1156
  "type": "string"
1157
1157
  }
1158
1158
  ],
@@ -1160,7 +1160,7 @@
1160
1160
  "slots": [],
1161
1161
  "methods": [],
1162
1162
  "parts": [],
1163
- "description": "构件 `ai-portal.show-case`"
1163
+ "description": "构件 `ai-portal.blank-state`"
1164
1164
  },
1165
1165
  {
1166
1166
  "name": "ai-portal.sticky-container",
@@ -1500,6 +1500,38 @@
1500
1500
  "methods": [],
1501
1501
  "parts": [],
1502
1502
  "description": "构件 `ai-portal.notice-list`\n\n消息通知列表构件,用于展示消息列表,支持批量操作"
1503
+ },
1504
+ {
1505
+ "name": "ai-portal.gantt-chart",
1506
+ "properties": [
1507
+ {
1508
+ "name": "chartTitle",
1509
+ "type": "string"
1510
+ },
1511
+ {
1512
+ "name": "nodes",
1513
+ "attribute": false,
1514
+ "type": "GanttNode[]"
1515
+ }
1516
+ ],
1517
+ "events": [
1518
+ {
1519
+ "name": "node.click",
1520
+ "detail": {
1521
+ "type": "GanttNode"
1522
+ }
1523
+ },
1524
+ {
1525
+ "name": "fullscreen.click",
1526
+ "detail": {
1527
+ "type": "void"
1528
+ }
1529
+ }
1530
+ ],
1531
+ "slots": [],
1532
+ "methods": [],
1533
+ "parts": [],
1534
+ "description": "构件 `ai-portal.gantt-chart`"
1503
1535
  }
1504
1536
  ],
1505
1537
  "providers": [