@next-bricks/ai-portal 0.59.5 → 0.60.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 (39) hide show
  1. package/dist/bricks.json +26 -22
  2. package/dist/chunks/2232.02cd2bbc.js.map +1 -1
  3. package/dist/chunks/6792.0efb2d00.js +2 -0
  4. package/dist/chunks/6792.0efb2d00.js.map +1 -0
  5. package/dist/chunks/chat-box.991e397f.js.map +1 -1
  6. package/dist/chunks/gantt-chart.c8cdcd66.js +2 -0
  7. package/dist/chunks/gantt-chart.c8cdcd66.js.map +1 -0
  8. package/dist/chunks/{main.5ba2de01.js → main.87ffc00f.js} +2 -2
  9. package/dist/chunks/{main.5ba2de01.js.map → main.87ffc00f.js.map} +1 -1
  10. package/dist/chunks/set-chat-command.367b9c88.js.map +1 -1
  11. package/dist/examples.json +19 -16
  12. package/dist/index.a91518b7.js +2 -0
  13. package/dist/index.a91518b7.js.map +1 -0
  14. package/dist/manifest.json +175 -143
  15. package/dist/types.json +317 -177
  16. package/dist-types/bootstrap.d.ts +1 -0
  17. package/dist-types/chat-stream/useConversationStream.spec.d.ts +1 -0
  18. package/dist-types/data-providers/set-chat-command.d.ts +1 -1
  19. package/dist-types/gantt-chart/GanttBar.d.ts +2 -0
  20. package/dist-types/gantt-chart/GanttBar.spec.d.ts +1 -0
  21. package/dist-types/gantt-chart/constants.d.ts +5 -0
  22. package/dist-types/gantt-chart/getStateIcon.d.ts +6 -0
  23. package/dist-types/gantt-chart/i18n.d.ts +17 -0
  24. package/dist-types/gantt-chart/index.d.ts +23 -0
  25. package/dist-types/gantt-chart/index.spec.d.ts +1 -0
  26. package/dist-types/gantt-chart/interfaces.d.ts +12 -0
  27. package/dist-types/gantt-chart/utils.d.ts +6 -0
  28. package/dist-types/gantt-chart/utils.spec.d.ts +1 -0
  29. package/dist-types/shared/PlanProgress/PlanProgress.d.ts +3 -3
  30. package/dist-types/shared/getFlatChunks.spec.d.ts +1 -0
  31. package/dist-types/shared/getTaskTree.spec.d.ts +1 -0
  32. package/dist-types/shared/interfaces.d.ts +6 -5
  33. package/dist-types/shared/useServiceFlowPlan.d.ts +2 -2
  34. package/docs/gantt-chart.md +37 -0
  35. package/package.json +2 -2
  36. package/dist/chunks/2621.30041500.js +0 -2
  37. package/dist/chunks/2621.30041500.js.map +0 -1
  38. package/dist/index.a425606e.js +0 -2
  39. package/dist/index.a425606e.js.map +0 -1
@@ -157,6 +157,81 @@
157
157
  "parts": [],
158
158
  "description": "构件 `ai-portal.cruise-canvas`"
159
159
  },
160
+ {
161
+ "name": "ai-portal.stat-with-mini-chart",
162
+ "properties": [
163
+ {
164
+ "name": "label",
165
+ "type": "string"
166
+ },
167
+ {
168
+ "name": "value",
169
+ "type": "string"
170
+ },
171
+ {
172
+ "name": "size",
173
+ "description": "",
174
+ "default": "\"medium\"",
175
+ "type": "\"medium\" | \"small\""
176
+ },
177
+ {
178
+ "name": "lineColor",
179
+ "description": "",
180
+ "default": "\"var(--color-brand)\"",
181
+ "type": "string"
182
+ },
183
+ {
184
+ "name": "showArea",
185
+ "type": "boolean"
186
+ },
187
+ {
188
+ "name": "min",
189
+ "description": "Specify the minimum value of the y-axis.\nIf not specified, the minimum value will be calculated from the data.",
190
+ "type": "number"
191
+ },
192
+ {
193
+ "name": "max",
194
+ "description": "Specify the maximum value of the y-axis.\nIf not specified, the maximum value will be calculated from the data.",
195
+ "type": "number"
196
+ },
197
+ {
198
+ "name": "xField",
199
+ "description": "",
200
+ "default": "\"0\"",
201
+ "type": "string"
202
+ },
203
+ {
204
+ "name": "yField",
205
+ "description": "",
206
+ "default": "\"1\"",
207
+ "type": "string"
208
+ },
209
+ {
210
+ "name": "data",
211
+ "attribute": false,
212
+ "type": "Record<string, number>[]"
213
+ }
214
+ ],
215
+ "events": [],
216
+ "slots": [],
217
+ "methods": [],
218
+ "parts": [],
219
+ "description": "构件 `ai-portal.stat-with-mini-chart`"
220
+ },
221
+ {
222
+ "name": "ai-portal.home-container",
223
+ "properties": [
224
+ {
225
+ "name": "sticky",
226
+ "type": "boolean"
227
+ }
228
+ ],
229
+ "events": [],
230
+ "slots": [],
231
+ "methods": [],
232
+ "parts": [],
233
+ "description": "构件 `ai-portal.home-container`"
234
+ },
160
235
  {
161
236
  "name": "ai-portal.elevo-sidebar",
162
237
  "properties": [
@@ -399,67 +474,6 @@
399
474
  "parts": [],
400
475
  "description": "构件 `ai-portal.chat-box`"
401
476
  },
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": [
@@ -700,18 +714,40 @@
700
714
  "description": "构件 `ai-portal.ai-agents`"
701
715
  },
702
716
  {
703
- "name": "ai-portal.home-container",
717
+ "name": "ai-portal.tab-list",
704
718
  "properties": [
705
719
  {
706
- "name": "sticky",
707
- "type": "boolean"
720
+ "name": "tabs",
721
+ "attribute": false,
722
+ "type": "Tab[]"
723
+ },
724
+ {
725
+ "name": "activeTab",
726
+ "attribute": false,
727
+ "type": "string"
728
+ }
729
+ ],
730
+ "events": [
731
+ {
732
+ "name": "tab.click",
733
+ "detail": {
734
+ "type": "Tab"
735
+ }
708
736
  }
709
737
  ],
710
- "events": [],
711
738
  "slots": [],
712
739
  "methods": [],
713
- "parts": [],
714
- "description": "构件 `ai-portal.home-container`"
740
+ "parts": [
741
+ {
742
+ "name": "tabs",
743
+ "description": "The tab list container"
744
+ },
745
+ {
746
+ "name": "tab",
747
+ "description": "The individual tab"
748
+ }
749
+ ],
750
+ "description": "构件 `ai-portal.tab-list`"
715
751
  },
716
752
  {
717
753
  "name": "ai-portal.page-container",
@@ -759,40 +795,23 @@
759
795
  "description": "构件 `ai-portal.page-container`"
760
796
  },
761
797
  {
762
- "name": "ai-portal.tab-list",
798
+ "name": "ai-portal.preview-container",
763
799
  "properties": [
764
800
  {
765
- "name": "tabs",
801
+ "name": "source",
766
802
  "attribute": false,
767
- "type": "Tab[]"
803
+ "type": "string"
768
804
  },
769
805
  {
770
- "name": "activeTab",
771
- "attribute": false,
806
+ "name": "url",
772
807
  "type": "string"
773
808
  }
774
809
  ],
775
- "events": [
776
- {
777
- "name": "tab.click",
778
- "detail": {
779
- "type": "Tab"
780
- }
781
- }
782
- ],
810
+ "events": [],
783
811
  "slots": [],
784
812
  "methods": [],
785
- "parts": [
786
- {
787
- "name": "tabs",
788
- "description": "The tab list container"
789
- },
790
- {
791
- "name": "tab",
792
- "description": "The individual tab"
793
- }
794
- ],
795
- "description": "构件 `ai-portal.tab-list`"
813
+ "parts": [],
814
+ "description": "构件 `ai-portal.preview-container`"
796
815
  },
797
816
  {
798
817
  "name": "ai-portal.dropdown-select",
@@ -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": [
@@ -1001,6 +1001,25 @@
1001
1001
  "parts": [],
1002
1002
  "description": "构件 `ai-portal.project-conversations`"
1003
1003
  },
1004
+ {
1005
+ "name": "ai-portal.activity-timeline",
1006
+ "properties": [
1007
+ {
1008
+ "name": "list",
1009
+ "attribute": false,
1010
+ "type": "Activity[]"
1011
+ },
1012
+ {
1013
+ "name": "chatUrlTemplate",
1014
+ "type": "string"
1015
+ }
1016
+ ],
1017
+ "events": [],
1018
+ "slots": [],
1019
+ "methods": [],
1020
+ "parts": [],
1021
+ "description": "构件 `ai-portal.activity-timeline`"
1022
+ },
1004
1023
  {
1005
1024
  "name": "ai-portal.project-knowledges",
1006
1025
  "properties": [
@@ -1038,25 +1057,6 @@
1038
1057
  "parts": [],
1039
1058
  "description": "构件 `ai-portal.project-knowledges`"
1040
1059
  },
1041
- {
1042
- "name": "ai-portal.activity-timeline",
1043
- "properties": [
1044
- {
1045
- "name": "list",
1046
- "attribute": false,
1047
- "type": "Activity[]"
1048
- },
1049
- {
1050
- "name": "chatUrlTemplate",
1051
- "type": "string"
1052
- }
1053
- ],
1054
- "events": [],
1055
- "slots": [],
1056
- "methods": [],
1057
- "parts": [],
1058
- "description": "构件 `ai-portal.activity-timeline`"
1059
- },
1060
1060
  {
1061
1061
  "name": "ai-portal.chat-input",
1062
1062
  "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": [