@next-bricks/ai-portal 0.20.6 → 0.20.7

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.
package/dist/types.json CHANGED
@@ -1,9 +1,4 @@
1
1
  {
2
- "ai-portal.home-container": {
3
- "properties": [],
4
- "events": [],
5
- "methods": []
6
- },
7
2
  "ai-portal.stat-with-mini-chart": {
8
3
  "properties": [
9
4
  {
@@ -108,6 +103,11 @@
108
103
  "events": [],
109
104
  "methods": []
110
105
  },
106
+ "ai-portal.home-container": {
107
+ "properties": [],
108
+ "events": [],
109
+ "methods": []
110
+ },
111
111
  "ai-portal.elevo-logo": {
112
112
  "properties": [],
113
113
  "events": [],
@@ -176,36 +176,44 @@
176
176
  }
177
177
  ]
178
178
  },
179
- "ai-portal.chat-history": {
179
+ "ai-portal.chat-box": {
180
180
  "properties": [
181
181
  {
182
- "name": "list",
182
+ "name": "disabled",
183
183
  "annotation": {
184
- "type": "array",
185
- "elementType": {
186
- "type": "reference",
187
- "typeName": {
188
- "type": "identifier",
189
- "name": "HistoryItem"
190
- }
191
- }
184
+ "type": "keyword",
185
+ "value": "boolean"
192
186
  }
193
187
  },
194
188
  {
195
- "name": "actions",
189
+ "name": "placeholder",
190
+ "annotation": {
191
+ "type": "keyword",
192
+ "value": "string"
193
+ }
194
+ },
195
+ {
196
+ "name": "autoFocus",
197
+ "annotation": {
198
+ "type": "keyword",
199
+ "value": "boolean"
200
+ }
201
+ },
202
+ {
203
+ "name": "suggestions",
196
204
  "annotation": {
197
205
  "type": "array",
198
206
  "elementType": {
199
207
  "type": "reference",
200
208
  "typeName": {
201
209
  "type": "identifier",
202
- "name": "ActionType"
210
+ "name": "Suggestion"
203
211
  }
204
212
  }
205
213
  }
206
214
  },
207
215
  {
208
- "name": "nextToken",
216
+ "name": "suggestionsLabel",
209
217
  "annotation": {
210
218
  "type": "keyword",
211
219
  "value": "string"
@@ -214,36 +222,11 @@
214
222
  ],
215
223
  "events": [
216
224
  {
217
- "name": "action.click",
218
- "detail": {
219
- "annotation": {
220
- "type": "reference",
221
- "typeName": {
222
- "type": "identifier",
223
- "name": "ActionClickDetail"
224
- }
225
- }
226
- }
227
- },
228
- {
229
- "name": "load.more",
225
+ "name": "message.submit",
230
226
  "detail": {
231
227
  "annotation": {
232
- "type": "typeLiteral",
233
- "members": [
234
- {
235
- "type": "propertySignature",
236
- "key": {
237
- "type": "identifier",
238
- "name": "nextToken"
239
- },
240
- "annotation": {
241
- "type": "keyword",
242
- "value": "string"
243
- },
244
- "computed": false
245
- }
246
- ]
228
+ "type": "keyword",
229
+ "value": "string"
247
230
  }
248
231
  }
249
232
  }
@@ -252,13 +235,13 @@
252
235
  "types": [
253
236
  {
254
237
  "type": "interface",
255
- "name": "HistoryItem",
238
+ "name": "Suggestion",
256
239
  "body": [
257
240
  {
258
241
  "type": "propertySignature",
259
242
  "key": {
260
243
  "type": "identifier",
261
- "name": "id"
244
+ "name": "title"
262
245
  },
263
246
  "annotation": {
264
247
  "type": "keyword",
@@ -270,19 +253,53 @@
270
253
  "type": "propertySignature",
271
254
  "key": {
272
255
  "type": "identifier",
273
- "name": "url"
256
+ "name": "content"
274
257
  },
275
258
  "annotation": {
276
259
  "type": "keyword",
277
260
  "value": "string"
278
261
  },
279
262
  "computed": false
280
- },
263
+ }
264
+ ]
265
+ }
266
+ ]
267
+ },
268
+ "ai-portal.show-cases": {
269
+ "properties": [
270
+ {
271
+ "name": "list",
272
+ "annotation": {
273
+ "type": "array",
274
+ "elementType": {
275
+ "type": "reference",
276
+ "typeName": {
277
+ "type": "identifier",
278
+ "name": "ShowCase"
279
+ }
280
+ }
281
+ }
282
+ },
283
+ {
284
+ "name": "taskUrlTemplate",
285
+ "annotation": {
286
+ "type": "keyword",
287
+ "value": "string"
288
+ }
289
+ }
290
+ ],
291
+ "events": [],
292
+ "methods": [],
293
+ "types": [
294
+ {
295
+ "type": "interface",
296
+ "name": "ShowCase",
297
+ "body": [
281
298
  {
282
299
  "type": "propertySignature",
283
300
  "key": {
284
301
  "type": "identifier",
285
- "name": "title"
302
+ "name": "taskId"
286
303
  },
287
304
  "annotation": {
288
305
  "type": "keyword",
@@ -294,11 +311,11 @@
294
311
  "type": "propertySignature",
295
312
  "key": {
296
313
  "type": "identifier",
297
- "name": "startTime"
314
+ "name": "title"
298
315
  },
299
316
  "annotation": {
300
317
  "type": "keyword",
301
- "value": "number"
318
+ "value": "string"
302
319
  },
303
320
  "computed": false
304
321
  },
@@ -306,36 +323,23 @@
306
323
  "type": "propertySignature",
307
324
  "key": {
308
325
  "type": "identifier",
309
- "name": "state"
326
+ "name": "summary"
310
327
  },
311
328
  "annotation": {
312
- "type": "reference",
313
- "typeName": {
314
- "type": "identifier",
315
- "name": "TaskState"
316
- }
329
+ "type": "keyword",
330
+ "value": "string"
317
331
  },
318
- "optional": true,
319
332
  "computed": false
320
- }
321
- ]
322
- },
323
- {
324
- "type": "interface",
325
- "name": "ActionClickDetail",
326
- "body": [
333
+ },
327
334
  {
328
335
  "type": "propertySignature",
329
336
  "key": {
330
337
  "type": "identifier",
331
- "name": "action"
338
+ "name": "scenario"
332
339
  },
333
340
  "annotation": {
334
- "type": "reference",
335
- "typeName": {
336
- "type": "identifier",
337
- "name": "SimpleActionType"
338
- }
341
+ "type": "keyword",
342
+ "value": "string"
339
343
  },
340
344
  "computed": false
341
345
  },
@@ -343,22 +347,20 @@
343
347
  "type": "propertySignature",
344
348
  "key": {
345
349
  "type": "identifier",
346
- "name": "item"
350
+ "name": "thumbUrl"
347
351
  },
348
352
  "annotation": {
349
- "type": "reference",
350
- "typeName": {
351
- "type": "identifier",
352
- "name": "HistoryItem"
353
- }
353
+ "type": "keyword",
354
+ "value": "string"
354
355
  },
356
+ "optional": true,
355
357
  "computed": false
356
358
  }
357
359
  ]
358
360
  }
359
361
  ]
360
362
  },
361
- "ai-portal.show-cases": {
363
+ "ai-portal.chat-history": {
362
364
  "properties": [
363
365
  {
364
366
  "name": "list",
@@ -368,31 +370,79 @@
368
370
  "type": "reference",
369
371
  "typeName": {
370
372
  "type": "identifier",
371
- "name": "ShowCase"
373
+ "name": "HistoryItem"
372
374
  }
373
375
  }
374
376
  }
375
377
  },
376
378
  {
377
- "name": "taskUrlTemplate",
379
+ "name": "actions",
380
+ "annotation": {
381
+ "type": "array",
382
+ "elementType": {
383
+ "type": "reference",
384
+ "typeName": {
385
+ "type": "identifier",
386
+ "name": "ActionType"
387
+ }
388
+ }
389
+ }
390
+ },
391
+ {
392
+ "name": "nextToken",
378
393
  "annotation": {
379
394
  "type": "keyword",
380
395
  "value": "string"
381
396
  }
382
397
  }
383
398
  ],
384
- "events": [],
399
+ "events": [
400
+ {
401
+ "name": "action.click",
402
+ "detail": {
403
+ "annotation": {
404
+ "type": "reference",
405
+ "typeName": {
406
+ "type": "identifier",
407
+ "name": "ActionClickDetail"
408
+ }
409
+ }
410
+ }
411
+ },
412
+ {
413
+ "name": "load.more",
414
+ "detail": {
415
+ "annotation": {
416
+ "type": "typeLiteral",
417
+ "members": [
418
+ {
419
+ "type": "propertySignature",
420
+ "key": {
421
+ "type": "identifier",
422
+ "name": "nextToken"
423
+ },
424
+ "annotation": {
425
+ "type": "keyword",
426
+ "value": "string"
427
+ },
428
+ "computed": false
429
+ }
430
+ ]
431
+ }
432
+ }
433
+ }
434
+ ],
385
435
  "methods": [],
386
436
  "types": [
387
437
  {
388
438
  "type": "interface",
389
- "name": "ShowCase",
439
+ "name": "HistoryItem",
390
440
  "body": [
391
441
  {
392
442
  "type": "propertySignature",
393
443
  "key": {
394
444
  "type": "identifier",
395
- "name": "taskId"
445
+ "name": "id"
396
446
  },
397
447
  "annotation": {
398
448
  "type": "keyword",
@@ -404,7 +454,7 @@
404
454
  "type": "propertySignature",
405
455
  "key": {
406
456
  "type": "identifier",
407
- "name": "title"
457
+ "name": "url"
408
458
  },
409
459
  "annotation": {
410
460
  "type": "keyword",
@@ -416,7 +466,7 @@
416
466
  "type": "propertySignature",
417
467
  "key": {
418
468
  "type": "identifier",
419
- "name": "summary"
469
+ "name": "title"
420
470
  },
421
471
  "annotation": {
422
472
  "type": "keyword",
@@ -428,11 +478,11 @@
428
478
  "type": "propertySignature",
429
479
  "key": {
430
480
  "type": "identifier",
431
- "name": "scenario"
481
+ "name": "startTime"
432
482
  },
433
483
  "annotation": {
434
484
  "type": "keyword",
435
- "value": "string"
485
+ "value": "number"
436
486
  },
437
487
  "computed": false
438
488
  },
@@ -440,16 +490,55 @@
440
490
  "type": "propertySignature",
441
491
  "key": {
442
492
  "type": "identifier",
443
- "name": "thumbUrl"
493
+ "name": "state"
444
494
  },
445
495
  "annotation": {
446
- "type": "keyword",
447
- "value": "string"
496
+ "type": "reference",
497
+ "typeName": {
498
+ "type": "identifier",
499
+ "name": "TaskState"
500
+ }
448
501
  },
449
502
  "optional": true,
450
503
  "computed": false
451
504
  }
452
505
  ]
506
+ },
507
+ {
508
+ "type": "interface",
509
+ "name": "ActionClickDetail",
510
+ "body": [
511
+ {
512
+ "type": "propertySignature",
513
+ "key": {
514
+ "type": "identifier",
515
+ "name": "action"
516
+ },
517
+ "annotation": {
518
+ "type": "reference",
519
+ "typeName": {
520
+ "type": "identifier",
521
+ "name": "SimpleActionType"
522
+ }
523
+ },
524
+ "computed": false
525
+ },
526
+ {
527
+ "type": "propertySignature",
528
+ "key": {
529
+ "type": "identifier",
530
+ "name": "item"
531
+ },
532
+ "annotation": {
533
+ "type": "reference",
534
+ "typeName": {
535
+ "type": "identifier",
536
+ "name": "HistoryItem"
537
+ }
538
+ },
539
+ "computed": false
540
+ }
541
+ ]
453
542
  }
454
543
  ]
455
544
  },
@@ -577,95 +666,6 @@
577
666
  }
578
667
  ]
579
668
  },
580
- "ai-portal.chat-box": {
581
- "properties": [
582
- {
583
- "name": "disabled",
584
- "annotation": {
585
- "type": "keyword",
586
- "value": "boolean"
587
- }
588
- },
589
- {
590
- "name": "placeholder",
591
- "annotation": {
592
- "type": "keyword",
593
- "value": "string"
594
- }
595
- },
596
- {
597
- "name": "autoFocus",
598
- "annotation": {
599
- "type": "keyword",
600
- "value": "boolean"
601
- }
602
- },
603
- {
604
- "name": "suggestions",
605
- "annotation": {
606
- "type": "array",
607
- "elementType": {
608
- "type": "reference",
609
- "typeName": {
610
- "type": "identifier",
611
- "name": "Suggestion"
612
- }
613
- }
614
- }
615
- },
616
- {
617
- "name": "suggestionsLabel",
618
- "annotation": {
619
- "type": "keyword",
620
- "value": "string"
621
- }
622
- }
623
- ],
624
- "events": [
625
- {
626
- "name": "message.submit",
627
- "detail": {
628
- "annotation": {
629
- "type": "keyword",
630
- "value": "string"
631
- }
632
- }
633
- }
634
- ],
635
- "methods": [],
636
- "types": [
637
- {
638
- "type": "interface",
639
- "name": "Suggestion",
640
- "body": [
641
- {
642
- "type": "propertySignature",
643
- "key": {
644
- "type": "identifier",
645
- "name": "title"
646
- },
647
- "annotation": {
648
- "type": "keyword",
649
- "value": "string"
650
- },
651
- "computed": false
652
- },
653
- {
654
- "type": "propertySignature",
655
- "key": {
656
- "type": "identifier",
657
- "name": "content"
658
- },
659
- "annotation": {
660
- "type": "keyword",
661
- "value": "string"
662
- },
663
- "computed": false
664
- }
665
- ]
666
- }
667
- ]
668
- },
669
669
  "ai-portal.elevo-sidebar": {
670
670
  "properties": [
671
671
  {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@next-bricks/ai-portal",
3
- "version": "0.20.6",
3
+ "version": "0.20.7",
4
4
  "homepage": "https://github.com/easyops-cn/next-advanced-bricks/tree/master/bricks/ai-portal",
5
5
  "repository": {
6
6
  "type": "git",
@@ -45,5 +45,5 @@
45
45
  "@next-bricks/mini-chart": "*",
46
46
  "@next-bricks/presentational": "*"
47
47
  },
48
- "gitHead": "b61fa3d85d380fb2ab0aae24f62bb2e6c33fc9f4"
48
+ "gitHead": "2941c24179f20e5cfa3ac8e56ffb18259f0aee8a"
49
49
  }