@next-bricks/ai-portal 0.20.2 → 0.20.3

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.
@@ -42,41 +42,83 @@
42
42
  "description": "构件 `ai-portal.chat-box`"
43
43
  },
44
44
  {
45
- "name": "ai-portal.chat-history",
45
+ "name": "ai-portal.cruise-canvas",
46
46
  "properties": [
47
47
  {
48
- "name": "list",
48
+ "name": "taskId",
49
+ "type": "string"
50
+ },
51
+ {
52
+ "name": "task",
49
53
  "attribute": false,
50
- "type": "HistoryItem[]"
54
+ "type": "TaskBaseDetail"
51
55
  },
52
56
  {
53
- "name": "actions",
57
+ "name": "jobs",
54
58
  "attribute": false,
55
- "type": "ActionType[]"
59
+ "type": "Job[]"
56
60
  },
57
61
  {
58
- "name": "nextToken",
59
- "type": "string"
62
+ "name": "replay",
63
+ "description": "是否启用回放。仅初始设置有效。",
64
+ "type": "boolean"
65
+ },
66
+ {
67
+ "name": "replayDelay",
68
+ "description": "设置回放时消息之间的时间间隔,单位为秒。仅初始设置有效。",
69
+ "default": "2",
70
+ "type": "number"
71
+ },
72
+ {
73
+ "name": "supports",
74
+ "attribute": false,
75
+ "type": "Record<string, boolean>"
60
76
  }
61
77
  ],
62
78
  "events": [
63
79
  {
64
- "name": "action.click",
80
+ "name": "share",
65
81
  "detail": {
66
- "type": "ActionClickDetail"
82
+ "type": "void"
67
83
  }
68
84
  },
69
85
  {
70
- "name": "load.more",
86
+ "name": "pause",
71
87
  "detail": {
72
- "type": "{ nextToken: string }"
88
+ "type": "void"
73
89
  }
90
+ },
91
+ {
92
+ "name": "resume",
93
+ "detail": {
94
+ "type": "void"
95
+ }
96
+ },
97
+ {
98
+ "name": "cancel",
99
+ "detail": {
100
+ "type": "void"
101
+ }
102
+ }
103
+ ],
104
+ "slots": [],
105
+ "methods": [
106
+ {
107
+ "name": "resumed",
108
+ "params": []
74
109
  }
75
110
  ],
111
+ "parts": [],
112
+ "description": "构件 `ai-portal.cruise-canvas`"
113
+ },
114
+ {
115
+ "name": "ai-portal.home-container",
116
+ "properties": [],
117
+ "events": [],
76
118
  "slots": [],
77
119
  "methods": [],
78
120
  "parts": [],
79
- "description": "构件 `ai-portal.chat-history`"
121
+ "description": "构件 `ai-portal.home-container`"
80
122
  },
81
123
  {
82
124
  "name": "ai-portal.stat-with-mini-chart",
@@ -140,92 +182,50 @@
140
182
  "description": "构件 `ai-portal.stat-with-mini-chart`"
141
183
  },
142
184
  {
143
- "name": "ai-portal.home-container",
185
+ "name": "ai-portal.elevo-logo",
144
186
  "properties": [],
145
187
  "events": [],
146
188
  "slots": [],
147
189
  "methods": [],
148
190
  "parts": [],
149
- "description": "构件 `ai-portal.home-container`"
191
+ "description": "Elevo Logo"
150
192
  },
151
193
  {
152
- "name": "ai-portal.cruise-canvas",
194
+ "name": "ai-portal.chat-history",
153
195
  "properties": [
154
196
  {
155
- "name": "taskId",
156
- "type": "string"
157
- },
158
- {
159
- "name": "task",
197
+ "name": "list",
160
198
  "attribute": false,
161
- "type": "TaskBaseDetail"
199
+ "type": "HistoryItem[]"
162
200
  },
163
201
  {
164
- "name": "jobs",
202
+ "name": "actions",
165
203
  "attribute": false,
166
- "type": "Job[]"
167
- },
168
- {
169
- "name": "replay",
170
- "description": "是否启用回放。仅初始设置有效。",
171
- "type": "boolean"
172
- },
173
- {
174
- "name": "replayDelay",
175
- "description": "设置回放时消息之间的时间间隔,单位为秒。仅初始设置有效。",
176
- "default": "2",
177
- "type": "number"
204
+ "type": "ActionType[]"
178
205
  },
179
206
  {
180
- "name": "supports",
181
- "attribute": false,
182
- "type": "Record<string, boolean>"
207
+ "name": "nextToken",
208
+ "type": "string"
183
209
  }
184
210
  ],
185
211
  "events": [
186
212
  {
187
- "name": "share",
188
- "detail": {
189
- "type": "void"
190
- }
191
- },
192
- {
193
- "name": "pause",
194
- "detail": {
195
- "type": "void"
196
- }
197
- },
198
- {
199
- "name": "resume",
213
+ "name": "action.click",
200
214
  "detail": {
201
- "type": "void"
215
+ "type": "ActionClickDetail"
202
216
  }
203
217
  },
204
218
  {
205
- "name": "cancel",
219
+ "name": "load.more",
206
220
  "detail": {
207
- "type": "void"
221
+ "type": "{ nextToken: string }"
208
222
  }
209
223
  }
210
224
  ],
211
225
  "slots": [],
212
- "methods": [
213
- {
214
- "name": "resumed",
215
- "params": []
216
- }
217
- ],
218
- "parts": [],
219
- "description": "构件 `ai-portal.cruise-canvas`"
220
- },
221
- {
222
- "name": "ai-portal.elevo-logo",
223
- "properties": [],
224
- "events": [],
225
- "slots": [],
226
226
  "methods": [],
227
227
  "parts": [],
228
- "description": "Elevo Logo"
228
+ "description": "构件 `ai-portal.chat-history`"
229
229
  },
230
230
  {
231
231
  "name": "ai-portal.elevo-sidebar",
package/dist/types.json CHANGED
@@ -1,4 +1,9 @@
1
1
  {
2
+ "ai-portal.home-container": {
3
+ "properties": [],
4
+ "events": [],
5
+ "methods": []
6
+ },
2
7
  "ai-portal.stat-with-mini-chart": {
3
8
  "properties": [
4
9
  {
@@ -103,11 +108,6 @@
103
108
  "events": [],
104
109
  "methods": []
105
110
  },
106
- "ai-portal.home-container": {
107
- "properties": [],
108
- "events": [],
109
- "methods": []
110
- },
111
111
  "ai-portal.elevo-logo": {
112
112
  "properties": [],
113
113
  "events": [],
@@ -265,6 +265,188 @@
265
265
  }
266
266
  ]
267
267
  },
268
+ "ai-portal.chat-history": {
269
+ "properties": [
270
+ {
271
+ "name": "list",
272
+ "annotation": {
273
+ "type": "array",
274
+ "elementType": {
275
+ "type": "reference",
276
+ "typeName": {
277
+ "type": "identifier",
278
+ "name": "HistoryItem"
279
+ }
280
+ }
281
+ }
282
+ },
283
+ {
284
+ "name": "actions",
285
+ "annotation": {
286
+ "type": "array",
287
+ "elementType": {
288
+ "type": "reference",
289
+ "typeName": {
290
+ "type": "identifier",
291
+ "name": "ActionType"
292
+ }
293
+ }
294
+ }
295
+ },
296
+ {
297
+ "name": "nextToken",
298
+ "annotation": {
299
+ "type": "keyword",
300
+ "value": "string"
301
+ }
302
+ }
303
+ ],
304
+ "events": [
305
+ {
306
+ "name": "action.click",
307
+ "detail": {
308
+ "annotation": {
309
+ "type": "reference",
310
+ "typeName": {
311
+ "type": "identifier",
312
+ "name": "ActionClickDetail"
313
+ }
314
+ }
315
+ }
316
+ },
317
+ {
318
+ "name": "load.more",
319
+ "detail": {
320
+ "annotation": {
321
+ "type": "typeLiteral",
322
+ "members": [
323
+ {
324
+ "type": "propertySignature",
325
+ "key": {
326
+ "type": "identifier",
327
+ "name": "nextToken"
328
+ },
329
+ "annotation": {
330
+ "type": "keyword",
331
+ "value": "string"
332
+ },
333
+ "computed": false
334
+ }
335
+ ]
336
+ }
337
+ }
338
+ }
339
+ ],
340
+ "methods": [],
341
+ "types": [
342
+ {
343
+ "type": "interface",
344
+ "name": "HistoryItem",
345
+ "body": [
346
+ {
347
+ "type": "propertySignature",
348
+ "key": {
349
+ "type": "identifier",
350
+ "name": "id"
351
+ },
352
+ "annotation": {
353
+ "type": "keyword",
354
+ "value": "string"
355
+ },
356
+ "computed": false
357
+ },
358
+ {
359
+ "type": "propertySignature",
360
+ "key": {
361
+ "type": "identifier",
362
+ "name": "url"
363
+ },
364
+ "annotation": {
365
+ "type": "keyword",
366
+ "value": "string"
367
+ },
368
+ "computed": false
369
+ },
370
+ {
371
+ "type": "propertySignature",
372
+ "key": {
373
+ "type": "identifier",
374
+ "name": "title"
375
+ },
376
+ "annotation": {
377
+ "type": "keyword",
378
+ "value": "string"
379
+ },
380
+ "computed": false
381
+ },
382
+ {
383
+ "type": "propertySignature",
384
+ "key": {
385
+ "type": "identifier",
386
+ "name": "startTime"
387
+ },
388
+ "annotation": {
389
+ "type": "keyword",
390
+ "value": "number"
391
+ },
392
+ "computed": false
393
+ },
394
+ {
395
+ "type": "propertySignature",
396
+ "key": {
397
+ "type": "identifier",
398
+ "name": "state"
399
+ },
400
+ "annotation": {
401
+ "type": "reference",
402
+ "typeName": {
403
+ "type": "identifier",
404
+ "name": "TaskState"
405
+ }
406
+ },
407
+ "optional": true,
408
+ "computed": false
409
+ }
410
+ ]
411
+ },
412
+ {
413
+ "type": "interface",
414
+ "name": "ActionClickDetail",
415
+ "body": [
416
+ {
417
+ "type": "propertySignature",
418
+ "key": {
419
+ "type": "identifier",
420
+ "name": "action"
421
+ },
422
+ "annotation": {
423
+ "type": "reference",
424
+ "typeName": {
425
+ "type": "identifier",
426
+ "name": "SimpleActionType"
427
+ }
428
+ },
429
+ "computed": false
430
+ },
431
+ {
432
+ "type": "propertySignature",
433
+ "key": {
434
+ "type": "identifier",
435
+ "name": "item"
436
+ },
437
+ "annotation": {
438
+ "type": "reference",
439
+ "typeName": {
440
+ "type": "identifier",
441
+ "name": "HistoryItem"
442
+ }
443
+ },
444
+ "computed": false
445
+ }
446
+ ]
447
+ }
448
+ ]
449
+ },
268
450
  "ai-portal.show-cases": {
269
451
  "properties": [
270
452
  {
@@ -672,188 +854,6 @@
672
854
  }
673
855
  ]
674
856
  },
675
- "ai-portal.chat-history": {
676
- "properties": [
677
- {
678
- "name": "list",
679
- "annotation": {
680
- "type": "array",
681
- "elementType": {
682
- "type": "reference",
683
- "typeName": {
684
- "type": "identifier",
685
- "name": "HistoryItem"
686
- }
687
- }
688
- }
689
- },
690
- {
691
- "name": "actions",
692
- "annotation": {
693
- "type": "array",
694
- "elementType": {
695
- "type": "reference",
696
- "typeName": {
697
- "type": "identifier",
698
- "name": "ActionType"
699
- }
700
- }
701
- }
702
- },
703
- {
704
- "name": "nextToken",
705
- "annotation": {
706
- "type": "keyword",
707
- "value": "string"
708
- }
709
- }
710
- ],
711
- "events": [
712
- {
713
- "name": "action.click",
714
- "detail": {
715
- "annotation": {
716
- "type": "reference",
717
- "typeName": {
718
- "type": "identifier",
719
- "name": "ActionClickDetail"
720
- }
721
- }
722
- }
723
- },
724
- {
725
- "name": "load.more",
726
- "detail": {
727
- "annotation": {
728
- "type": "typeLiteral",
729
- "members": [
730
- {
731
- "type": "propertySignature",
732
- "key": {
733
- "type": "identifier",
734
- "name": "nextToken"
735
- },
736
- "annotation": {
737
- "type": "keyword",
738
- "value": "string"
739
- },
740
- "computed": false
741
- }
742
- ]
743
- }
744
- }
745
- }
746
- ],
747
- "methods": [],
748
- "types": [
749
- {
750
- "type": "interface",
751
- "name": "HistoryItem",
752
- "body": [
753
- {
754
- "type": "propertySignature",
755
- "key": {
756
- "type": "identifier",
757
- "name": "id"
758
- },
759
- "annotation": {
760
- "type": "keyword",
761
- "value": "string"
762
- },
763
- "computed": false
764
- },
765
- {
766
- "type": "propertySignature",
767
- "key": {
768
- "type": "identifier",
769
- "name": "url"
770
- },
771
- "annotation": {
772
- "type": "keyword",
773
- "value": "string"
774
- },
775
- "computed": false
776
- },
777
- {
778
- "type": "propertySignature",
779
- "key": {
780
- "type": "identifier",
781
- "name": "title"
782
- },
783
- "annotation": {
784
- "type": "keyword",
785
- "value": "string"
786
- },
787
- "computed": false
788
- },
789
- {
790
- "type": "propertySignature",
791
- "key": {
792
- "type": "identifier",
793
- "name": "startTime"
794
- },
795
- "annotation": {
796
- "type": "keyword",
797
- "value": "number"
798
- },
799
- "computed": false
800
- },
801
- {
802
- "type": "propertySignature",
803
- "key": {
804
- "type": "identifier",
805
- "name": "state"
806
- },
807
- "annotation": {
808
- "type": "reference",
809
- "typeName": {
810
- "type": "identifier",
811
- "name": "TaskState"
812
- }
813
- },
814
- "optional": true,
815
- "computed": false
816
- }
817
- ]
818
- },
819
- {
820
- "type": "interface",
821
- "name": "ActionClickDetail",
822
- "body": [
823
- {
824
- "type": "propertySignature",
825
- "key": {
826
- "type": "identifier",
827
- "name": "action"
828
- },
829
- "annotation": {
830
- "type": "reference",
831
- "typeName": {
832
- "type": "identifier",
833
- "name": "SimpleActionType"
834
- }
835
- },
836
- "computed": false
837
- },
838
- {
839
- "type": "propertySignature",
840
- "key": {
841
- "type": "identifier",
842
- "name": "item"
843
- },
844
- "annotation": {
845
- "type": "reference",
846
- "typeName": {
847
- "type": "identifier",
848
- "name": "HistoryItem"
849
- }
850
- },
851
- "computed": false
852
- }
853
- ]
854
- }
855
- ]
856
- },
857
857
  "ai-portal.cruise-canvas": {
858
858
  "properties": [
859
859
  {
@@ -1,3 +1,3 @@
1
1
  import React from "react";
2
2
  import type { CmdbInstanceDetailData } from "../interfaces";
3
- export declare function CmdbInstanceDetail({ objectId, detail, outputSchema, }: CmdbInstanceDetailData): React.JSX.Element | null;
3
+ export declare function CmdbInstanceDetail({ objectId, detail, outputSchema, }: CmdbInstanceDetailData): React.JSX.Element;
@@ -6,7 +6,6 @@ import type { EoTooltip, ToolTipProps } from "@next-bricks/basic/tooltip";
6
6
  import type { Drawer, DrawerProps, DrawerEvents, DrawerMapEvents } from "@next-bricks/containers/drawer";
7
7
  import { PopoverProps, Popover } from "@next-bricks/basic/popover";
8
8
  import { EoNextTable, NextTableProps } from "@next-bricks/advanced/next-table";
9
- import { Descriptions, DescriptionsProps } from "@next-bricks/presentational/descriptions";
10
9
  import type { IconButton, IconButtonProps } from "../icon-button";
11
10
  export declare const WrappedIcon: import("@next-core/react-element").WrappedBrick<GeneralIcon, GeneralIconProps>;
12
11
  export declare const WrappedButton: import("@next-core/react-element").WrappedBrick<Button, ButtonProps>;
@@ -20,4 +19,3 @@ export declare const WrappedIconButton: import("@next-core/react-element").Wrapp
20
19
  export declare const showDialog: (options: import("@next-bricks/basic/data-providers/show-dialog/show-dialog").DialogOptions) => Promise<void>;
21
20
  export declare const copyToClipboard: (text: string) => Promise<void>;
22
21
  export declare const AsyncWrappedTable: React.LazyExoticComponent<import("@next-core/react-element").WrappedBrick<EoNextTable, NextTableProps>>;
23
- export declare const AsyncWrappedDescriptions: React.LazyExoticComponent<import("@next-core/react-element").WrappedBrick<Descriptions, DescriptionsProps>>;