@next-bricks/ai-portal 0.39.6 → 0.39.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/bricks.json +10 -10
- package/dist/chunks/71.41081144.js +2 -0
- package/dist/chunks/71.41081144.js.map +1 -0
- package/dist/chunks/{goal-card-list.3808c3ae.js → goal-card-list.4fdfa5cb.js} +3 -3
- package/dist/chunks/{goal-card-list.3808c3ae.js.map → goal-card-list.4fdfa5cb.js.map} +1 -1
- package/dist/chunks/{main.70faece8.js → main.a10d6485.js} +2 -2
- package/dist/chunks/{main.70faece8.js.map → main.a10d6485.js.map} +1 -1
- package/dist/chunks/project-knowledges.e5845df3.js +3 -0
- package/dist/chunks/project-knowledges.e5845df3.js.map +1 -0
- package/dist/examples.json +6 -6
- package/dist/{index.910aa848.js → index.6133ae77.js} +2 -2
- package/dist/{index.910aa848.js.map → index.6133ae77.js.map} +1 -1
- package/dist/manifest.json +76 -70
- package/dist/types.json +141 -116
- package/dist-types/goal-card-list/CardItem/CardItem.d.ts +1 -1
- package/dist-types/project-knowledges/index.d.ts +4 -3
- package/package.json +2 -2
- package/dist/chunks/71.d73556e8.js +0 -2
- package/dist/chunks/71.d73556e8.js.map +0 -1
- package/dist/chunks/project-knowledges.a65a0602.js +0 -3
- package/dist/chunks/project-knowledges.a65a0602.js.map +0 -1
- /package/dist/chunks/{goal-card-list.3808c3ae.js.LICENSE.txt → goal-card-list.4fdfa5cb.js.LICENSE.txt} +0 -0
- /package/dist/chunks/{project-knowledges.a65a0602.js.LICENSE.txt → project-knowledges.e5845df3.js.LICENSE.txt} +0 -0
package/dist/types.json
CHANGED
|
@@ -584,6 +584,18 @@
|
|
|
584
584
|
}
|
|
585
585
|
}
|
|
586
586
|
}
|
|
587
|
+
},
|
|
588
|
+
{
|
|
589
|
+
"name": "item.click",
|
|
590
|
+
"detail": {
|
|
591
|
+
"annotation": {
|
|
592
|
+
"type": "reference",
|
|
593
|
+
"typeName": {
|
|
594
|
+
"type": "identifier",
|
|
595
|
+
"name": "Knowledge"
|
|
596
|
+
}
|
|
597
|
+
}
|
|
598
|
+
}
|
|
587
599
|
}
|
|
588
600
|
],
|
|
589
601
|
"methods": [],
|
|
@@ -596,7 +608,7 @@
|
|
|
596
608
|
"type": "propertySignature",
|
|
597
609
|
"key": {
|
|
598
610
|
"type": "identifier",
|
|
599
|
-
"name": "
|
|
611
|
+
"name": "instanceId"
|
|
600
612
|
},
|
|
601
613
|
"annotation": {
|
|
602
614
|
"type": "keyword",
|
|
@@ -608,12 +620,25 @@
|
|
|
608
620
|
"type": "propertySignature",
|
|
609
621
|
"key": {
|
|
610
622
|
"type": "identifier",
|
|
611
|
-
"name": "
|
|
623
|
+
"name": "name"
|
|
624
|
+
},
|
|
625
|
+
"annotation": {
|
|
626
|
+
"type": "keyword",
|
|
627
|
+
"value": "string"
|
|
628
|
+
},
|
|
629
|
+
"computed": false
|
|
630
|
+
},
|
|
631
|
+
{
|
|
632
|
+
"type": "propertySignature",
|
|
633
|
+
"key": {
|
|
634
|
+
"type": "identifier",
|
|
635
|
+
"name": "description"
|
|
612
636
|
},
|
|
613
637
|
"annotation": {
|
|
614
638
|
"type": "keyword",
|
|
615
639
|
"value": "string"
|
|
616
640
|
},
|
|
641
|
+
"optional": true,
|
|
617
642
|
"computed": false
|
|
618
643
|
},
|
|
619
644
|
{
|
|
@@ -632,7 +657,7 @@
|
|
|
632
657
|
"type": "propertySignature",
|
|
633
658
|
"key": {
|
|
634
659
|
"type": "identifier",
|
|
635
|
-
"name": "
|
|
660
|
+
"name": "user"
|
|
636
661
|
},
|
|
637
662
|
"annotation": {
|
|
638
663
|
"type": "keyword",
|
|
@@ -1424,30 +1449,55 @@
|
|
|
1424
1449
|
"events": [],
|
|
1425
1450
|
"methods": []
|
|
1426
1451
|
},
|
|
1427
|
-
"ai-portal.
|
|
1452
|
+
"ai-portal.project-conversations": {
|
|
1428
1453
|
"properties": [
|
|
1429
1454
|
{
|
|
1430
|
-
"name": "
|
|
1455
|
+
"name": "list",
|
|
1431
1456
|
"annotation": {
|
|
1432
1457
|
"type": "array",
|
|
1433
1458
|
"elementType": {
|
|
1434
1459
|
"type": "reference",
|
|
1435
1460
|
"typeName": {
|
|
1436
1461
|
"type": "identifier",
|
|
1437
|
-
"name": "
|
|
1462
|
+
"name": "Conversation"
|
|
1438
1463
|
}
|
|
1439
1464
|
}
|
|
1440
1465
|
}
|
|
1441
1466
|
},
|
|
1442
1467
|
{
|
|
1443
|
-
"name": "
|
|
1468
|
+
"name": "urlTemplate",
|
|
1444
1469
|
"annotation": {
|
|
1445
1470
|
"type": "keyword",
|
|
1446
|
-
"value": "
|
|
1471
|
+
"value": "string"
|
|
1472
|
+
}
|
|
1473
|
+
},
|
|
1474
|
+
{
|
|
1475
|
+
"name": "actions",
|
|
1476
|
+
"annotation": {
|
|
1477
|
+
"type": "array",
|
|
1478
|
+
"elementType": {
|
|
1479
|
+
"type": "reference",
|
|
1480
|
+
"typeName": {
|
|
1481
|
+
"type": "identifier",
|
|
1482
|
+
"name": "ActionType"
|
|
1483
|
+
}
|
|
1484
|
+
}
|
|
1447
1485
|
}
|
|
1448
1486
|
}
|
|
1449
1487
|
],
|
|
1450
1488
|
"events": [
|
|
1489
|
+
{
|
|
1490
|
+
"name": "goal.click",
|
|
1491
|
+
"detail": {
|
|
1492
|
+
"annotation": {
|
|
1493
|
+
"type": "reference",
|
|
1494
|
+
"typeName": {
|
|
1495
|
+
"type": "identifier",
|
|
1496
|
+
"name": "Conversation"
|
|
1497
|
+
}
|
|
1498
|
+
}
|
|
1499
|
+
}
|
|
1500
|
+
},
|
|
1451
1501
|
{
|
|
1452
1502
|
"name": "action.click",
|
|
1453
1503
|
"detail": {
|
|
@@ -1455,7 +1505,7 @@
|
|
|
1455
1505
|
"type": "reference",
|
|
1456
1506
|
"typeName": {
|
|
1457
1507
|
"type": "identifier",
|
|
1458
|
-
"name": "
|
|
1508
|
+
"name": "ActionClickDetail"
|
|
1459
1509
|
}
|
|
1460
1510
|
}
|
|
1461
1511
|
}
|
|
@@ -1465,13 +1515,13 @@
|
|
|
1465
1515
|
"types": [
|
|
1466
1516
|
{
|
|
1467
1517
|
"type": "interface",
|
|
1468
|
-
"name": "
|
|
1518
|
+
"name": "Conversation",
|
|
1469
1519
|
"body": [
|
|
1470
1520
|
{
|
|
1471
1521
|
"type": "propertySignature",
|
|
1472
1522
|
"key": {
|
|
1473
1523
|
"type": "identifier",
|
|
1474
|
-
"name": "
|
|
1524
|
+
"name": "conversationId"
|
|
1475
1525
|
},
|
|
1476
1526
|
"annotation": {
|
|
1477
1527
|
"type": "keyword",
|
|
@@ -1483,27 +1533,35 @@
|
|
|
1483
1533
|
"type": "propertySignature",
|
|
1484
1534
|
"key": {
|
|
1485
1535
|
"type": "identifier",
|
|
1486
|
-
"name": "
|
|
1536
|
+
"name": "title"
|
|
1487
1537
|
},
|
|
1488
1538
|
"annotation": {
|
|
1489
|
-
"type": "
|
|
1490
|
-
"
|
|
1491
|
-
"type": "identifier",
|
|
1492
|
-
"name": "GeneralIconProps"
|
|
1493
|
-
}
|
|
1539
|
+
"type": "keyword",
|
|
1540
|
+
"value": "string"
|
|
1494
1541
|
},
|
|
1495
|
-
"optional": true,
|
|
1496
1542
|
"computed": false
|
|
1497
1543
|
},
|
|
1498
1544
|
{
|
|
1499
1545
|
"type": "propertySignature",
|
|
1500
1546
|
"key": {
|
|
1501
1547
|
"type": "identifier",
|
|
1502
|
-
"name": "
|
|
1548
|
+
"name": "startTime"
|
|
1503
1549
|
},
|
|
1504
1550
|
"annotation": {
|
|
1505
1551
|
"type": "keyword",
|
|
1506
|
-
"value": "
|
|
1552
|
+
"value": "number"
|
|
1553
|
+
},
|
|
1554
|
+
"computed": false
|
|
1555
|
+
},
|
|
1556
|
+
{
|
|
1557
|
+
"type": "propertySignature",
|
|
1558
|
+
"key": {
|
|
1559
|
+
"type": "identifier",
|
|
1560
|
+
"name": "description"
|
|
1561
|
+
},
|
|
1562
|
+
"annotation": {
|
|
1563
|
+
"type": "keyword",
|
|
1564
|
+
"value": "string"
|
|
1507
1565
|
},
|
|
1508
1566
|
"optional": true,
|
|
1509
1567
|
"computed": false
|
|
@@ -1512,7 +1570,7 @@
|
|
|
1512
1570
|
"type": "propertySignature",
|
|
1513
1571
|
"key": {
|
|
1514
1572
|
"type": "identifier",
|
|
1515
|
-
"name": "
|
|
1573
|
+
"name": "goal"
|
|
1516
1574
|
},
|
|
1517
1575
|
"annotation": {
|
|
1518
1576
|
"type": "keyword",
|
|
@@ -1525,77 +1583,79 @@
|
|
|
1525
1583
|
"type": "propertySignature",
|
|
1526
1584
|
"key": {
|
|
1527
1585
|
"type": "identifier",
|
|
1528
|
-
"name": "
|
|
1586
|
+
"name": "username"
|
|
1529
1587
|
},
|
|
1530
1588
|
"annotation": {
|
|
1531
1589
|
"type": "keyword",
|
|
1532
|
-
"value": "
|
|
1590
|
+
"value": "string"
|
|
1533
1591
|
},
|
|
1534
1592
|
"optional": true,
|
|
1535
1593
|
"computed": false
|
|
1536
1594
|
}
|
|
1537
|
-
]
|
|
1538
|
-
|
|
1595
|
+
]
|
|
1596
|
+
},
|
|
1597
|
+
{
|
|
1598
|
+
"type": "interface",
|
|
1599
|
+
"name": "ActionClickDetail",
|
|
1600
|
+
"body": [
|
|
1539
1601
|
{
|
|
1540
|
-
"type": "
|
|
1541
|
-
"
|
|
1602
|
+
"type": "propertySignature",
|
|
1603
|
+
"key": {
|
|
1542
1604
|
"type": "identifier",
|
|
1543
|
-
"name": "
|
|
1544
|
-
}
|
|
1605
|
+
"name": "action"
|
|
1606
|
+
},
|
|
1607
|
+
"annotation": {
|
|
1608
|
+
"type": "reference",
|
|
1609
|
+
"typeName": {
|
|
1610
|
+
"type": "identifier",
|
|
1611
|
+
"name": "SimpleActionType"
|
|
1612
|
+
}
|
|
1613
|
+
},
|
|
1614
|
+
"computed": false
|
|
1615
|
+
},
|
|
1616
|
+
{
|
|
1617
|
+
"type": "propertySignature",
|
|
1618
|
+
"key": {
|
|
1619
|
+
"type": "identifier",
|
|
1620
|
+
"name": "item"
|
|
1621
|
+
},
|
|
1622
|
+
"annotation": {
|
|
1623
|
+
"type": "reference",
|
|
1624
|
+
"typeName": {
|
|
1625
|
+
"type": "identifier",
|
|
1626
|
+
"name": "Conversation"
|
|
1627
|
+
}
|
|
1628
|
+
},
|
|
1629
|
+
"computed": false
|
|
1545
1630
|
}
|
|
1546
1631
|
]
|
|
1547
1632
|
}
|
|
1548
1633
|
]
|
|
1549
1634
|
},
|
|
1550
|
-
"ai-portal.
|
|
1635
|
+
"ai-portal.action-buttons": {
|
|
1551
1636
|
"properties": [
|
|
1552
1637
|
{
|
|
1553
|
-
"name": "
|
|
1638
|
+
"name": "items",
|
|
1554
1639
|
"annotation": {
|
|
1555
1640
|
"type": "array",
|
|
1556
1641
|
"elementType": {
|
|
1557
1642
|
"type": "reference",
|
|
1558
1643
|
"typeName": {
|
|
1559
1644
|
"type": "identifier",
|
|
1560
|
-
"name": "
|
|
1645
|
+
"name": "ActionItem"
|
|
1561
1646
|
}
|
|
1562
1647
|
}
|
|
1563
1648
|
}
|
|
1564
1649
|
},
|
|
1565
1650
|
{
|
|
1566
|
-
"name": "
|
|
1651
|
+
"name": "multiple",
|
|
1567
1652
|
"annotation": {
|
|
1568
1653
|
"type": "keyword",
|
|
1569
|
-
"value": "
|
|
1570
|
-
}
|
|
1571
|
-
},
|
|
1572
|
-
{
|
|
1573
|
-
"name": "actions",
|
|
1574
|
-
"annotation": {
|
|
1575
|
-
"type": "array",
|
|
1576
|
-
"elementType": {
|
|
1577
|
-
"type": "reference",
|
|
1578
|
-
"typeName": {
|
|
1579
|
-
"type": "identifier",
|
|
1580
|
-
"name": "ActionType"
|
|
1581
|
-
}
|
|
1582
|
-
}
|
|
1654
|
+
"value": "boolean"
|
|
1583
1655
|
}
|
|
1584
1656
|
}
|
|
1585
1657
|
],
|
|
1586
1658
|
"events": [
|
|
1587
|
-
{
|
|
1588
|
-
"name": "goal.click",
|
|
1589
|
-
"detail": {
|
|
1590
|
-
"annotation": {
|
|
1591
|
-
"type": "reference",
|
|
1592
|
-
"typeName": {
|
|
1593
|
-
"type": "identifier",
|
|
1594
|
-
"name": "Conversation"
|
|
1595
|
-
}
|
|
1596
|
-
}
|
|
1597
|
-
}
|
|
1598
|
-
},
|
|
1599
1659
|
{
|
|
1600
1660
|
"name": "action.click",
|
|
1601
1661
|
"detail": {
|
|
@@ -1603,7 +1663,7 @@
|
|
|
1603
1663
|
"type": "reference",
|
|
1604
1664
|
"typeName": {
|
|
1605
1665
|
"type": "identifier",
|
|
1606
|
-
"name": "
|
|
1666
|
+
"name": "ActionItem"
|
|
1607
1667
|
}
|
|
1608
1668
|
}
|
|
1609
1669
|
}
|
|
@@ -1613,25 +1673,13 @@
|
|
|
1613
1673
|
"types": [
|
|
1614
1674
|
{
|
|
1615
1675
|
"type": "interface",
|
|
1616
|
-
"name": "
|
|
1676
|
+
"name": "ActionItem",
|
|
1617
1677
|
"body": [
|
|
1618
1678
|
{
|
|
1619
1679
|
"type": "propertySignature",
|
|
1620
1680
|
"key": {
|
|
1621
1681
|
"type": "identifier",
|
|
1622
|
-
"name": "
|
|
1623
|
-
},
|
|
1624
|
-
"annotation": {
|
|
1625
|
-
"type": "keyword",
|
|
1626
|
-
"value": "string"
|
|
1627
|
-
},
|
|
1628
|
-
"computed": false
|
|
1629
|
-
},
|
|
1630
|
-
{
|
|
1631
|
-
"type": "propertySignature",
|
|
1632
|
-
"key": {
|
|
1633
|
-
"type": "identifier",
|
|
1634
|
-
"name": "title"
|
|
1682
|
+
"name": "text"
|
|
1635
1683
|
},
|
|
1636
1684
|
"annotation": {
|
|
1637
1685
|
"type": "keyword",
|
|
@@ -1643,23 +1691,27 @@
|
|
|
1643
1691
|
"type": "propertySignature",
|
|
1644
1692
|
"key": {
|
|
1645
1693
|
"type": "identifier",
|
|
1646
|
-
"name": "
|
|
1694
|
+
"name": "icon"
|
|
1647
1695
|
},
|
|
1648
1696
|
"annotation": {
|
|
1649
|
-
"type": "
|
|
1650
|
-
"
|
|
1697
|
+
"type": "reference",
|
|
1698
|
+
"typeName": {
|
|
1699
|
+
"type": "identifier",
|
|
1700
|
+
"name": "GeneralIconProps"
|
|
1701
|
+
}
|
|
1651
1702
|
},
|
|
1703
|
+
"optional": true,
|
|
1652
1704
|
"computed": false
|
|
1653
1705
|
},
|
|
1654
1706
|
{
|
|
1655
1707
|
"type": "propertySignature",
|
|
1656
1708
|
"key": {
|
|
1657
1709
|
"type": "identifier",
|
|
1658
|
-
"name": "
|
|
1710
|
+
"name": "active"
|
|
1659
1711
|
},
|
|
1660
1712
|
"annotation": {
|
|
1661
1713
|
"type": "keyword",
|
|
1662
|
-
"value": "
|
|
1714
|
+
"value": "boolean"
|
|
1663
1715
|
},
|
|
1664
1716
|
"optional": true,
|
|
1665
1717
|
"computed": false
|
|
@@ -1668,7 +1720,7 @@
|
|
|
1668
1720
|
"type": "propertySignature",
|
|
1669
1721
|
"key": {
|
|
1670
1722
|
"type": "identifier",
|
|
1671
|
-
"name": "
|
|
1723
|
+
"name": "event"
|
|
1672
1724
|
},
|
|
1673
1725
|
"annotation": {
|
|
1674
1726
|
"type": "keyword",
|
|
@@ -1681,50 +1733,23 @@
|
|
|
1681
1733
|
"type": "propertySignature",
|
|
1682
1734
|
"key": {
|
|
1683
1735
|
"type": "identifier",
|
|
1684
|
-
"name": "
|
|
1736
|
+
"name": "hidden"
|
|
1685
1737
|
},
|
|
1686
1738
|
"annotation": {
|
|
1687
1739
|
"type": "keyword",
|
|
1688
|
-
"value": "
|
|
1740
|
+
"value": "boolean"
|
|
1689
1741
|
},
|
|
1690
1742
|
"optional": true,
|
|
1691
1743
|
"computed": false
|
|
1692
1744
|
}
|
|
1693
|
-
]
|
|
1694
|
-
|
|
1695
|
-
{
|
|
1696
|
-
"type": "interface",
|
|
1697
|
-
"name": "ActionClickDetail",
|
|
1698
|
-
"body": [
|
|
1699
|
-
{
|
|
1700
|
-
"type": "propertySignature",
|
|
1701
|
-
"key": {
|
|
1702
|
-
"type": "identifier",
|
|
1703
|
-
"name": "action"
|
|
1704
|
-
},
|
|
1705
|
-
"annotation": {
|
|
1706
|
-
"type": "reference",
|
|
1707
|
-
"typeName": {
|
|
1708
|
-
"type": "identifier",
|
|
1709
|
-
"name": "SimpleActionType"
|
|
1710
|
-
}
|
|
1711
|
-
},
|
|
1712
|
-
"computed": false
|
|
1713
|
-
},
|
|
1745
|
+
],
|
|
1746
|
+
"extends": [
|
|
1714
1747
|
{
|
|
1715
|
-
"type": "
|
|
1716
|
-
"
|
|
1748
|
+
"type": "expressionWithTypeArguments",
|
|
1749
|
+
"expression": {
|
|
1717
1750
|
"type": "identifier",
|
|
1718
|
-
"name": "
|
|
1719
|
-
}
|
|
1720
|
-
"annotation": {
|
|
1721
|
-
"type": "reference",
|
|
1722
|
-
"typeName": {
|
|
1723
|
-
"type": "identifier",
|
|
1724
|
-
"name": "Conversation"
|
|
1725
|
-
}
|
|
1726
|
-
},
|
|
1727
|
-
"computed": false
|
|
1751
|
+
"name": "ButtonProps"
|
|
1752
|
+
}
|
|
1728
1753
|
}
|
|
1729
1754
|
]
|
|
1730
1755
|
}
|
|
@@ -2599,7 +2624,7 @@
|
|
|
2599
2624
|
"type": "propertySignature",
|
|
2600
2625
|
"key": {
|
|
2601
2626
|
"type": "identifier",
|
|
2602
|
-
"name": "
|
|
2627
|
+
"name": "owner"
|
|
2603
2628
|
},
|
|
2604
2629
|
"annotation": {
|
|
2605
2630
|
"type": "reference",
|
|
@@ -8,10 +8,11 @@ export interface ProjectKnowledgesProps {
|
|
|
8
8
|
actions?: ActionType[];
|
|
9
9
|
}
|
|
10
10
|
export interface Knowledge {
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
time: number;
|
|
11
|
+
instanceId: string;
|
|
12
|
+
name: string;
|
|
14
13
|
description?: string;
|
|
14
|
+
time: number;
|
|
15
|
+
user?: string;
|
|
15
16
|
}
|
|
16
17
|
export interface ActionClickDetail {
|
|
17
18
|
action: SimpleActionType;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@next-bricks/ai-portal",
|
|
3
|
-
"version": "0.39.
|
|
3
|
+
"version": "0.39.7",
|
|
4
4
|
"homepage": "https://github.com/easyops-cn/next-advanced-bricks/tree/master/bricks/ai-portal",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
@@ -48,5 +48,5 @@
|
|
|
48
48
|
"@next-bricks/presentational": "*",
|
|
49
49
|
"@next-bricks/vs": "*"
|
|
50
50
|
},
|
|
51
|
-
"gitHead": "
|
|
51
|
+
"gitHead": "d971cee915881ad2e5ffa7d0ee47bd84b1373d79"
|
|
52
52
|
}
|