@genesislcap/foundation-notifications 14.52.2 → 14.53.1-alpha-afe9ebe.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.
- package/dist/dts/notification-builder.d.ts.map +1 -1
- package/dist/dts/toast/toast-builder.d.ts +17 -1
- package/dist/dts/toast/toast-builder.d.ts.map +1 -1
- package/dist/dts/toast/toast-launcher.d.ts.map +1 -1
- package/dist/dts/types.d.ts +43 -0
- package/dist/dts/types.d.ts.map +1 -1
- package/dist/esm/toast/toast-builder.js +26 -0
- package/dist/esm/toast/toast-launcher.js +33 -6
- package/dist/foundation-notifications.api.json +712 -8
- package/dist/foundation-notifications.d.ts +62 -0
- package/docs/api/foundation-notifications.md +3 -0
- package/docs/api/foundation-notifications.notificationdatarow.alert_id.md +11 -0
- package/docs/api/foundation-notifications.notificationdatarow.created_at.md +11 -0
- package/docs/api/foundation-notifications.notificationdatarow.details.md +14 -0
- package/docs/api/foundation-notifications.notificationdatarow.expiry.md +11 -0
- package/docs/api/foundation-notifications.notificationdatarow.header.md +11 -0
- package/docs/api/foundation-notifications.notificationdatarow.md +30 -0
- package/docs/api/foundation-notifications.notificationdatarow.message.md +11 -0
- package/docs/api/foundation-notifications.notificationdatarow.notify_severity.md +11 -0
- package/docs/api/foundation-notifications.notificationdatarow.sender.md +11 -0
- package/docs/api/foundation-notifications.notificationdatarow.table_entity_id.md +11 -0
- package/docs/api/foundation-notifications.notificationdatarow.topic.md +11 -0
- package/docs/api/foundation-notifications.notificationdatarow.user_name.md +11 -0
- package/docs/api/foundation-notifications.notificationseverity.md +13 -0
- package/docs/api/foundation-notifications.toast.buttons.md +11 -0
- package/docs/api/foundation-notifications.toast.details.md +11 -0
- package/docs/api/foundation-notifications.toast.md +2 -0
- package/docs/api/foundation-notifications.toastbuilder.md +2 -0
- package/docs/api/foundation-notifications.toastbuilder.withbuttons.md +25 -0
- package/docs/api/foundation-notifications.toastbuilder.withdetails.md +25 -0
- package/docs/api/foundation-notifications.toastbutton.action.md +26 -0
- package/docs/api/foundation-notifications.toastbutton.appearance.md +11 -0
- package/docs/api/foundation-notifications.toastbutton.condition.md +24 -0
- package/docs/api/foundation-notifications.toastbutton.md +28 -0
- package/docs/api/foundation-notifications.toastbutton.placeholder.md +11 -0
- package/docs/api-report.md +56 -0
- package/package.json +5 -5
|
@@ -1522,6 +1522,322 @@
|
|
|
1522
1522
|
],
|
|
1523
1523
|
"implementsTokenRanges": []
|
|
1524
1524
|
},
|
|
1525
|
+
{
|
|
1526
|
+
"kind": "Interface",
|
|
1527
|
+
"canonicalReference": "@genesislcap/foundation-notifications!NotificationDataRow:interface",
|
|
1528
|
+
"docComment": "/**\n * Interface for notify data\n *\n * @public\n */\n",
|
|
1529
|
+
"excerptTokens": [
|
|
1530
|
+
{
|
|
1531
|
+
"kind": "Content",
|
|
1532
|
+
"text": "export interface NotificationDataRow "
|
|
1533
|
+
}
|
|
1534
|
+
],
|
|
1535
|
+
"fileUrlPath": "src/types.ts",
|
|
1536
|
+
"releaseTag": "Public",
|
|
1537
|
+
"name": "NotificationDataRow",
|
|
1538
|
+
"preserveMemberOrder": false,
|
|
1539
|
+
"members": [
|
|
1540
|
+
{
|
|
1541
|
+
"kind": "PropertySignature",
|
|
1542
|
+
"canonicalReference": "@genesislcap/foundation-notifications!NotificationDataRow#ALERT_ID:member",
|
|
1543
|
+
"docComment": "",
|
|
1544
|
+
"excerptTokens": [
|
|
1545
|
+
{
|
|
1546
|
+
"kind": "Content",
|
|
1547
|
+
"text": "ALERT_ID: "
|
|
1548
|
+
},
|
|
1549
|
+
{
|
|
1550
|
+
"kind": "Content",
|
|
1551
|
+
"text": "string"
|
|
1552
|
+
},
|
|
1553
|
+
{
|
|
1554
|
+
"kind": "Content",
|
|
1555
|
+
"text": ";"
|
|
1556
|
+
}
|
|
1557
|
+
],
|
|
1558
|
+
"isReadonly": false,
|
|
1559
|
+
"isOptional": false,
|
|
1560
|
+
"releaseTag": "Public",
|
|
1561
|
+
"name": "ALERT_ID",
|
|
1562
|
+
"propertyTypeTokenRange": {
|
|
1563
|
+
"startIndex": 1,
|
|
1564
|
+
"endIndex": 2
|
|
1565
|
+
}
|
|
1566
|
+
},
|
|
1567
|
+
{
|
|
1568
|
+
"kind": "PropertySignature",
|
|
1569
|
+
"canonicalReference": "@genesislcap/foundation-notifications!NotificationDataRow#CREATED_AT:member",
|
|
1570
|
+
"docComment": "",
|
|
1571
|
+
"excerptTokens": [
|
|
1572
|
+
{
|
|
1573
|
+
"kind": "Content",
|
|
1574
|
+
"text": "CREATED_AT: "
|
|
1575
|
+
},
|
|
1576
|
+
{
|
|
1577
|
+
"kind": "Content",
|
|
1578
|
+
"text": "number"
|
|
1579
|
+
},
|
|
1580
|
+
{
|
|
1581
|
+
"kind": "Content",
|
|
1582
|
+
"text": ";"
|
|
1583
|
+
}
|
|
1584
|
+
],
|
|
1585
|
+
"isReadonly": false,
|
|
1586
|
+
"isOptional": false,
|
|
1587
|
+
"releaseTag": "Public",
|
|
1588
|
+
"name": "CREATED_AT",
|
|
1589
|
+
"propertyTypeTokenRange": {
|
|
1590
|
+
"startIndex": 1,
|
|
1591
|
+
"endIndex": 2
|
|
1592
|
+
}
|
|
1593
|
+
},
|
|
1594
|
+
{
|
|
1595
|
+
"kind": "PropertySignature",
|
|
1596
|
+
"canonicalReference": "@genesislcap/foundation-notifications!NotificationDataRow#DETAILS:member",
|
|
1597
|
+
"docComment": "",
|
|
1598
|
+
"excerptTokens": [
|
|
1599
|
+
{
|
|
1600
|
+
"kind": "Content",
|
|
1601
|
+
"text": "DETAILS: "
|
|
1602
|
+
},
|
|
1603
|
+
{
|
|
1604
|
+
"kind": "Content",
|
|
1605
|
+
"text": "{\n OPERATION: string;\n ROW_REF: string;\n }"
|
|
1606
|
+
},
|
|
1607
|
+
{
|
|
1608
|
+
"kind": "Content",
|
|
1609
|
+
"text": ";"
|
|
1610
|
+
}
|
|
1611
|
+
],
|
|
1612
|
+
"isReadonly": false,
|
|
1613
|
+
"isOptional": false,
|
|
1614
|
+
"releaseTag": "Public",
|
|
1615
|
+
"name": "DETAILS",
|
|
1616
|
+
"propertyTypeTokenRange": {
|
|
1617
|
+
"startIndex": 1,
|
|
1618
|
+
"endIndex": 2
|
|
1619
|
+
}
|
|
1620
|
+
},
|
|
1621
|
+
{
|
|
1622
|
+
"kind": "PropertySignature",
|
|
1623
|
+
"canonicalReference": "@genesislcap/foundation-notifications!NotificationDataRow#EXPIRY:member",
|
|
1624
|
+
"docComment": "",
|
|
1625
|
+
"excerptTokens": [
|
|
1626
|
+
{
|
|
1627
|
+
"kind": "Content",
|
|
1628
|
+
"text": "EXPIRY?: "
|
|
1629
|
+
},
|
|
1630
|
+
{
|
|
1631
|
+
"kind": "Content",
|
|
1632
|
+
"text": "null"
|
|
1633
|
+
},
|
|
1634
|
+
{
|
|
1635
|
+
"kind": "Content",
|
|
1636
|
+
"text": ";"
|
|
1637
|
+
}
|
|
1638
|
+
],
|
|
1639
|
+
"isReadonly": false,
|
|
1640
|
+
"isOptional": true,
|
|
1641
|
+
"releaseTag": "Public",
|
|
1642
|
+
"name": "EXPIRY",
|
|
1643
|
+
"propertyTypeTokenRange": {
|
|
1644
|
+
"startIndex": 1,
|
|
1645
|
+
"endIndex": 2
|
|
1646
|
+
}
|
|
1647
|
+
},
|
|
1648
|
+
{
|
|
1649
|
+
"kind": "PropertySignature",
|
|
1650
|
+
"canonicalReference": "@genesislcap/foundation-notifications!NotificationDataRow#HEADER:member",
|
|
1651
|
+
"docComment": "",
|
|
1652
|
+
"excerptTokens": [
|
|
1653
|
+
{
|
|
1654
|
+
"kind": "Content",
|
|
1655
|
+
"text": "HEADER: "
|
|
1656
|
+
},
|
|
1657
|
+
{
|
|
1658
|
+
"kind": "Content",
|
|
1659
|
+
"text": "string"
|
|
1660
|
+
},
|
|
1661
|
+
{
|
|
1662
|
+
"kind": "Content",
|
|
1663
|
+
"text": ";"
|
|
1664
|
+
}
|
|
1665
|
+
],
|
|
1666
|
+
"isReadonly": false,
|
|
1667
|
+
"isOptional": false,
|
|
1668
|
+
"releaseTag": "Public",
|
|
1669
|
+
"name": "HEADER",
|
|
1670
|
+
"propertyTypeTokenRange": {
|
|
1671
|
+
"startIndex": 1,
|
|
1672
|
+
"endIndex": 2
|
|
1673
|
+
}
|
|
1674
|
+
},
|
|
1675
|
+
{
|
|
1676
|
+
"kind": "PropertySignature",
|
|
1677
|
+
"canonicalReference": "@genesislcap/foundation-notifications!NotificationDataRow#MESSAGE:member",
|
|
1678
|
+
"docComment": "",
|
|
1679
|
+
"excerptTokens": [
|
|
1680
|
+
{
|
|
1681
|
+
"kind": "Content",
|
|
1682
|
+
"text": "MESSAGE: "
|
|
1683
|
+
},
|
|
1684
|
+
{
|
|
1685
|
+
"kind": "Content",
|
|
1686
|
+
"text": "string"
|
|
1687
|
+
},
|
|
1688
|
+
{
|
|
1689
|
+
"kind": "Content",
|
|
1690
|
+
"text": ";"
|
|
1691
|
+
}
|
|
1692
|
+
],
|
|
1693
|
+
"isReadonly": false,
|
|
1694
|
+
"isOptional": false,
|
|
1695
|
+
"releaseTag": "Public",
|
|
1696
|
+
"name": "MESSAGE",
|
|
1697
|
+
"propertyTypeTokenRange": {
|
|
1698
|
+
"startIndex": 1,
|
|
1699
|
+
"endIndex": 2
|
|
1700
|
+
}
|
|
1701
|
+
},
|
|
1702
|
+
{
|
|
1703
|
+
"kind": "PropertySignature",
|
|
1704
|
+
"canonicalReference": "@genesislcap/foundation-notifications!NotificationDataRow#NOTIFY_SEVERITY:member",
|
|
1705
|
+
"docComment": "",
|
|
1706
|
+
"excerptTokens": [
|
|
1707
|
+
{
|
|
1708
|
+
"kind": "Content",
|
|
1709
|
+
"text": "NOTIFY_SEVERITY: "
|
|
1710
|
+
},
|
|
1711
|
+
{
|
|
1712
|
+
"kind": "Reference",
|
|
1713
|
+
"text": "NotificationSeverity",
|
|
1714
|
+
"canonicalReference": "@genesislcap/foundation-notifications!NotificationSeverity:type"
|
|
1715
|
+
},
|
|
1716
|
+
{
|
|
1717
|
+
"kind": "Content",
|
|
1718
|
+
"text": ";"
|
|
1719
|
+
}
|
|
1720
|
+
],
|
|
1721
|
+
"isReadonly": false,
|
|
1722
|
+
"isOptional": false,
|
|
1723
|
+
"releaseTag": "Public",
|
|
1724
|
+
"name": "NOTIFY_SEVERITY",
|
|
1725
|
+
"propertyTypeTokenRange": {
|
|
1726
|
+
"startIndex": 1,
|
|
1727
|
+
"endIndex": 2
|
|
1728
|
+
}
|
|
1729
|
+
},
|
|
1730
|
+
{
|
|
1731
|
+
"kind": "PropertySignature",
|
|
1732
|
+
"canonicalReference": "@genesislcap/foundation-notifications!NotificationDataRow#SENDER:member",
|
|
1733
|
+
"docComment": "",
|
|
1734
|
+
"excerptTokens": [
|
|
1735
|
+
{
|
|
1736
|
+
"kind": "Content",
|
|
1737
|
+
"text": "SENDER?: "
|
|
1738
|
+
},
|
|
1739
|
+
{
|
|
1740
|
+
"kind": "Content",
|
|
1741
|
+
"text": "null"
|
|
1742
|
+
},
|
|
1743
|
+
{
|
|
1744
|
+
"kind": "Content",
|
|
1745
|
+
"text": ";"
|
|
1746
|
+
}
|
|
1747
|
+
],
|
|
1748
|
+
"isReadonly": false,
|
|
1749
|
+
"isOptional": true,
|
|
1750
|
+
"releaseTag": "Public",
|
|
1751
|
+
"name": "SENDER",
|
|
1752
|
+
"propertyTypeTokenRange": {
|
|
1753
|
+
"startIndex": 1,
|
|
1754
|
+
"endIndex": 2
|
|
1755
|
+
}
|
|
1756
|
+
},
|
|
1757
|
+
{
|
|
1758
|
+
"kind": "PropertySignature",
|
|
1759
|
+
"canonicalReference": "@genesislcap/foundation-notifications!NotificationDataRow#TABLE_ENTITY_ID:member",
|
|
1760
|
+
"docComment": "",
|
|
1761
|
+
"excerptTokens": [
|
|
1762
|
+
{
|
|
1763
|
+
"kind": "Content",
|
|
1764
|
+
"text": "TABLE_ENTITY_ID: "
|
|
1765
|
+
},
|
|
1766
|
+
{
|
|
1767
|
+
"kind": "Content",
|
|
1768
|
+
"text": "string"
|
|
1769
|
+
},
|
|
1770
|
+
{
|
|
1771
|
+
"kind": "Content",
|
|
1772
|
+
"text": ";"
|
|
1773
|
+
}
|
|
1774
|
+
],
|
|
1775
|
+
"isReadonly": false,
|
|
1776
|
+
"isOptional": false,
|
|
1777
|
+
"releaseTag": "Public",
|
|
1778
|
+
"name": "TABLE_ENTITY_ID",
|
|
1779
|
+
"propertyTypeTokenRange": {
|
|
1780
|
+
"startIndex": 1,
|
|
1781
|
+
"endIndex": 2
|
|
1782
|
+
}
|
|
1783
|
+
},
|
|
1784
|
+
{
|
|
1785
|
+
"kind": "PropertySignature",
|
|
1786
|
+
"canonicalReference": "@genesislcap/foundation-notifications!NotificationDataRow#TOPIC:member",
|
|
1787
|
+
"docComment": "",
|
|
1788
|
+
"excerptTokens": [
|
|
1789
|
+
{
|
|
1790
|
+
"kind": "Content",
|
|
1791
|
+
"text": "TOPIC: "
|
|
1792
|
+
},
|
|
1793
|
+
{
|
|
1794
|
+
"kind": "Content",
|
|
1795
|
+
"text": "string"
|
|
1796
|
+
},
|
|
1797
|
+
{
|
|
1798
|
+
"kind": "Content",
|
|
1799
|
+
"text": ";"
|
|
1800
|
+
}
|
|
1801
|
+
],
|
|
1802
|
+
"isReadonly": false,
|
|
1803
|
+
"isOptional": false,
|
|
1804
|
+
"releaseTag": "Public",
|
|
1805
|
+
"name": "TOPIC",
|
|
1806
|
+
"propertyTypeTokenRange": {
|
|
1807
|
+
"startIndex": 1,
|
|
1808
|
+
"endIndex": 2
|
|
1809
|
+
}
|
|
1810
|
+
},
|
|
1811
|
+
{
|
|
1812
|
+
"kind": "PropertySignature",
|
|
1813
|
+
"canonicalReference": "@genesislcap/foundation-notifications!NotificationDataRow#USER_NAME:member",
|
|
1814
|
+
"docComment": "",
|
|
1815
|
+
"excerptTokens": [
|
|
1816
|
+
{
|
|
1817
|
+
"kind": "Content",
|
|
1818
|
+
"text": "USER_NAME: "
|
|
1819
|
+
},
|
|
1820
|
+
{
|
|
1821
|
+
"kind": "Content",
|
|
1822
|
+
"text": "string"
|
|
1823
|
+
},
|
|
1824
|
+
{
|
|
1825
|
+
"kind": "Content",
|
|
1826
|
+
"text": ";"
|
|
1827
|
+
}
|
|
1828
|
+
],
|
|
1829
|
+
"isReadonly": false,
|
|
1830
|
+
"isOptional": false,
|
|
1831
|
+
"releaseTag": "Public",
|
|
1832
|
+
"name": "USER_NAME",
|
|
1833
|
+
"propertyTypeTokenRange": {
|
|
1834
|
+
"startIndex": 1,
|
|
1835
|
+
"endIndex": 2
|
|
1836
|
+
}
|
|
1837
|
+
}
|
|
1838
|
+
],
|
|
1839
|
+
"extendsTokenRanges": []
|
|
1840
|
+
},
|
|
1525
1841
|
{
|
|
1526
1842
|
"kind": "Enum",
|
|
1527
1843
|
"canonicalReference": "@genesislcap/foundation-notifications!NotificationEvent:enum",
|
|
@@ -1560,6 +1876,32 @@
|
|
|
1560
1876
|
}
|
|
1561
1877
|
]
|
|
1562
1878
|
},
|
|
1879
|
+
{
|
|
1880
|
+
"kind": "TypeAlias",
|
|
1881
|
+
"canonicalReference": "@genesislcap/foundation-notifications!NotificationSeverity:type",
|
|
1882
|
+
"docComment": "/**\n * type for notification severity\n *\n * @public\n */\n",
|
|
1883
|
+
"excerptTokens": [
|
|
1884
|
+
{
|
|
1885
|
+
"kind": "Content",
|
|
1886
|
+
"text": "export type NotificationSeverity = "
|
|
1887
|
+
},
|
|
1888
|
+
{
|
|
1889
|
+
"kind": "Content",
|
|
1890
|
+
"text": "'Information' | 'Warning' | 'Serious' | 'Critical'"
|
|
1891
|
+
},
|
|
1892
|
+
{
|
|
1893
|
+
"kind": "Content",
|
|
1894
|
+
"text": ";"
|
|
1895
|
+
}
|
|
1896
|
+
],
|
|
1897
|
+
"fileUrlPath": "src/types.ts",
|
|
1898
|
+
"releaseTag": "Public",
|
|
1899
|
+
"name": "NotificationSeverity",
|
|
1900
|
+
"typeTokenRange": {
|
|
1901
|
+
"startIndex": 1,
|
|
1902
|
+
"endIndex": 2
|
|
1903
|
+
}
|
|
1904
|
+
},
|
|
1563
1905
|
{
|
|
1564
1906
|
"kind": "Interface",
|
|
1565
1907
|
"canonicalReference": "@genesislcap/foundation-notifications!NotificationStructure:interface",
|
|
@@ -2144,11 +2486,70 @@
|
|
|
2144
2486
|
"excerptTokens": [
|
|
2145
2487
|
{
|
|
2146
2488
|
"kind": "Content",
|
|
2147
|
-
"text": "readonly autoClose?: "
|
|
2489
|
+
"text": "readonly autoClose?: "
|
|
2490
|
+
},
|
|
2491
|
+
{
|
|
2492
|
+
"kind": "Content",
|
|
2493
|
+
"text": "boolean"
|
|
2494
|
+
},
|
|
2495
|
+
{
|
|
2496
|
+
"kind": "Content",
|
|
2497
|
+
"text": ";"
|
|
2498
|
+
}
|
|
2499
|
+
],
|
|
2500
|
+
"isReadonly": true,
|
|
2501
|
+
"isOptional": true,
|
|
2502
|
+
"releaseTag": "Public",
|
|
2503
|
+
"name": "autoClose",
|
|
2504
|
+
"propertyTypeTokenRange": {
|
|
2505
|
+
"startIndex": 1,
|
|
2506
|
+
"endIndex": 2
|
|
2507
|
+
}
|
|
2508
|
+
},
|
|
2509
|
+
{
|
|
2510
|
+
"kind": "PropertySignature",
|
|
2511
|
+
"canonicalReference": "@genesislcap/foundation-notifications!Toast#buttons:member",
|
|
2512
|
+
"docComment": "",
|
|
2513
|
+
"excerptTokens": [
|
|
2514
|
+
{
|
|
2515
|
+
"kind": "Content",
|
|
2516
|
+
"text": "readonly buttons?: "
|
|
2517
|
+
},
|
|
2518
|
+
{
|
|
2519
|
+
"kind": "Reference",
|
|
2520
|
+
"text": "ToastButton",
|
|
2521
|
+
"canonicalReference": "@genesislcap/foundation-notifications!ToastButton:interface"
|
|
2522
|
+
},
|
|
2523
|
+
{
|
|
2524
|
+
"kind": "Content",
|
|
2525
|
+
"text": "[]"
|
|
2526
|
+
},
|
|
2527
|
+
{
|
|
2528
|
+
"kind": "Content",
|
|
2529
|
+
"text": ";"
|
|
2530
|
+
}
|
|
2531
|
+
],
|
|
2532
|
+
"isReadonly": true,
|
|
2533
|
+
"isOptional": true,
|
|
2534
|
+
"releaseTag": "Public",
|
|
2535
|
+
"name": "buttons",
|
|
2536
|
+
"propertyTypeTokenRange": {
|
|
2537
|
+
"startIndex": 1,
|
|
2538
|
+
"endIndex": 3
|
|
2539
|
+
}
|
|
2540
|
+
},
|
|
2541
|
+
{
|
|
2542
|
+
"kind": "PropertySignature",
|
|
2543
|
+
"canonicalReference": "@genesislcap/foundation-notifications!Toast#closeTimeout:member",
|
|
2544
|
+
"docComment": "",
|
|
2545
|
+
"excerptTokens": [
|
|
2546
|
+
{
|
|
2547
|
+
"kind": "Content",
|
|
2548
|
+
"text": "readonly closeTimeout?: "
|
|
2148
2549
|
},
|
|
2149
2550
|
{
|
|
2150
2551
|
"kind": "Content",
|
|
2151
|
-
"text": "
|
|
2552
|
+
"text": "number"
|
|
2152
2553
|
},
|
|
2153
2554
|
{
|
|
2154
2555
|
"kind": "Content",
|
|
@@ -2158,7 +2559,7 @@
|
|
|
2158
2559
|
"isReadonly": true,
|
|
2159
2560
|
"isOptional": true,
|
|
2160
2561
|
"releaseTag": "Public",
|
|
2161
|
-
"name": "
|
|
2562
|
+
"name": "closeTimeout",
|
|
2162
2563
|
"propertyTypeTokenRange": {
|
|
2163
2564
|
"startIndex": 1,
|
|
2164
2565
|
"endIndex": 2
|
|
@@ -2166,16 +2567,17 @@
|
|
|
2166
2567
|
},
|
|
2167
2568
|
{
|
|
2168
2569
|
"kind": "PropertySignature",
|
|
2169
|
-
"canonicalReference": "@genesislcap/foundation-notifications!Toast#
|
|
2570
|
+
"canonicalReference": "@genesislcap/foundation-notifications!Toast#details:member",
|
|
2170
2571
|
"docComment": "",
|
|
2171
2572
|
"excerptTokens": [
|
|
2172
2573
|
{
|
|
2173
2574
|
"kind": "Content",
|
|
2174
|
-
"text": "readonly
|
|
2575
|
+
"text": "readonly details?: "
|
|
2175
2576
|
},
|
|
2176
2577
|
{
|
|
2177
|
-
"kind": "
|
|
2178
|
-
"text": "
|
|
2578
|
+
"kind": "Reference",
|
|
2579
|
+
"text": "NotificationDataRow",
|
|
2580
|
+
"canonicalReference": "@genesislcap/foundation-notifications!NotificationDataRow:interface"
|
|
2179
2581
|
},
|
|
2180
2582
|
{
|
|
2181
2583
|
"kind": "Content",
|
|
@@ -2185,7 +2587,7 @@
|
|
|
2185
2587
|
"isReadonly": true,
|
|
2186
2588
|
"isOptional": true,
|
|
2187
2589
|
"releaseTag": "Public",
|
|
2188
|
-
"name": "
|
|
2590
|
+
"name": "details",
|
|
2189
2591
|
"propertyTypeTokenRange": {
|
|
2190
2592
|
"startIndex": 1,
|
|
2191
2593
|
"endIndex": 2
|
|
@@ -2347,6 +2749,60 @@
|
|
|
2347
2749
|
"isAbstract": false,
|
|
2348
2750
|
"name": "withAutoClose"
|
|
2349
2751
|
},
|
|
2752
|
+
{
|
|
2753
|
+
"kind": "Method",
|
|
2754
|
+
"canonicalReference": "@genesislcap/foundation-notifications!ToastBuilder#withButtons:member(1)",
|
|
2755
|
+
"docComment": "/**\n * Add buttons to notifications\n *\n * @param buttons - ToastButton[]\n *\n * @returns \n *\n * @public\n */\n",
|
|
2756
|
+
"excerptTokens": [
|
|
2757
|
+
{
|
|
2758
|
+
"kind": "Content",
|
|
2759
|
+
"text": "withButtons(buttons: "
|
|
2760
|
+
},
|
|
2761
|
+
{
|
|
2762
|
+
"kind": "Reference",
|
|
2763
|
+
"text": "ToastButton",
|
|
2764
|
+
"canonicalReference": "@genesislcap/foundation-notifications!ToastButton:interface"
|
|
2765
|
+
},
|
|
2766
|
+
{
|
|
2767
|
+
"kind": "Content",
|
|
2768
|
+
"text": "[]"
|
|
2769
|
+
},
|
|
2770
|
+
{
|
|
2771
|
+
"kind": "Content",
|
|
2772
|
+
"text": "): "
|
|
2773
|
+
},
|
|
2774
|
+
{
|
|
2775
|
+
"kind": "Reference",
|
|
2776
|
+
"text": "ToastBuilder",
|
|
2777
|
+
"canonicalReference": "@genesislcap/foundation-notifications!ToastBuilder:class"
|
|
2778
|
+
},
|
|
2779
|
+
{
|
|
2780
|
+
"kind": "Content",
|
|
2781
|
+
"text": ";"
|
|
2782
|
+
}
|
|
2783
|
+
],
|
|
2784
|
+
"isStatic": false,
|
|
2785
|
+
"returnTypeTokenRange": {
|
|
2786
|
+
"startIndex": 4,
|
|
2787
|
+
"endIndex": 5
|
|
2788
|
+
},
|
|
2789
|
+
"releaseTag": "Public",
|
|
2790
|
+
"isProtected": false,
|
|
2791
|
+
"overloadIndex": 1,
|
|
2792
|
+
"parameters": [
|
|
2793
|
+
{
|
|
2794
|
+
"parameterName": "buttons",
|
|
2795
|
+
"parameterTypeTokenRange": {
|
|
2796
|
+
"startIndex": 1,
|
|
2797
|
+
"endIndex": 3
|
|
2798
|
+
},
|
|
2799
|
+
"isOptional": false
|
|
2800
|
+
}
|
|
2801
|
+
],
|
|
2802
|
+
"isOptional": false,
|
|
2803
|
+
"isAbstract": false,
|
|
2804
|
+
"name": "withButtons"
|
|
2805
|
+
},
|
|
2350
2806
|
{
|
|
2351
2807
|
"kind": "Method",
|
|
2352
2808
|
"canonicalReference": "@genesislcap/foundation-notifications!ToastBuilder#withCloseTimeout:member(1)",
|
|
@@ -2396,6 +2852,56 @@
|
|
|
2396
2852
|
"isAbstract": false,
|
|
2397
2853
|
"name": "withCloseTimeout"
|
|
2398
2854
|
},
|
|
2855
|
+
{
|
|
2856
|
+
"kind": "Method",
|
|
2857
|
+
"canonicalReference": "@genesislcap/foundation-notifications!ToastBuilder#withDetails:member(1)",
|
|
2858
|
+
"docComment": "/**\n * Add details data to notifications\n *\n * @param details - NotificationDataRow\n *\n * @returns \n *\n * @public\n */\n",
|
|
2859
|
+
"excerptTokens": [
|
|
2860
|
+
{
|
|
2861
|
+
"kind": "Content",
|
|
2862
|
+
"text": "withDetails(details: "
|
|
2863
|
+
},
|
|
2864
|
+
{
|
|
2865
|
+
"kind": "Reference",
|
|
2866
|
+
"text": "NotificationDataRow",
|
|
2867
|
+
"canonicalReference": "@genesislcap/foundation-notifications!NotificationDataRow:interface"
|
|
2868
|
+
},
|
|
2869
|
+
{
|
|
2870
|
+
"kind": "Content",
|
|
2871
|
+
"text": "): "
|
|
2872
|
+
},
|
|
2873
|
+
{
|
|
2874
|
+
"kind": "Reference",
|
|
2875
|
+
"text": "ToastBuilder",
|
|
2876
|
+
"canonicalReference": "@genesislcap/foundation-notifications!ToastBuilder:class"
|
|
2877
|
+
},
|
|
2878
|
+
{
|
|
2879
|
+
"kind": "Content",
|
|
2880
|
+
"text": ";"
|
|
2881
|
+
}
|
|
2882
|
+
],
|
|
2883
|
+
"isStatic": false,
|
|
2884
|
+
"returnTypeTokenRange": {
|
|
2885
|
+
"startIndex": 3,
|
|
2886
|
+
"endIndex": 4
|
|
2887
|
+
},
|
|
2888
|
+
"releaseTag": "Public",
|
|
2889
|
+
"isProtected": false,
|
|
2890
|
+
"overloadIndex": 1,
|
|
2891
|
+
"parameters": [
|
|
2892
|
+
{
|
|
2893
|
+
"parameterName": "details",
|
|
2894
|
+
"parameterTypeTokenRange": {
|
|
2895
|
+
"startIndex": 1,
|
|
2896
|
+
"endIndex": 2
|
|
2897
|
+
},
|
|
2898
|
+
"isOptional": false
|
|
2899
|
+
}
|
|
2900
|
+
],
|
|
2901
|
+
"isOptional": false,
|
|
2902
|
+
"isAbstract": false,
|
|
2903
|
+
"name": "withDetails"
|
|
2904
|
+
},
|
|
2399
2905
|
{
|
|
2400
2906
|
"kind": "Method",
|
|
2401
2907
|
"canonicalReference": "@genesislcap/foundation-notifications!ToastBuilder#withPosition:member(1)",
|
|
@@ -2499,6 +3005,204 @@
|
|
|
2499
3005
|
],
|
|
2500
3006
|
"implementsTokenRanges": []
|
|
2501
3007
|
},
|
|
3008
|
+
{
|
|
3009
|
+
"kind": "Interface",
|
|
3010
|
+
"canonicalReference": "@genesislcap/foundation-notifications!ToastButton:interface",
|
|
3011
|
+
"docComment": "/**\n * Interface for ToastButton\n *\n * @public\n */\n",
|
|
3012
|
+
"excerptTokens": [
|
|
3013
|
+
{
|
|
3014
|
+
"kind": "Content",
|
|
3015
|
+
"text": "export interface ToastButton "
|
|
3016
|
+
}
|
|
3017
|
+
],
|
|
3018
|
+
"fileUrlPath": "src/types.ts",
|
|
3019
|
+
"releaseTag": "Public",
|
|
3020
|
+
"name": "ToastButton",
|
|
3021
|
+
"preserveMemberOrder": false,
|
|
3022
|
+
"members": [
|
|
3023
|
+
{
|
|
3024
|
+
"kind": "MethodSignature",
|
|
3025
|
+
"canonicalReference": "@genesislcap/foundation-notifications!ToastButton#action:member(1)",
|
|
3026
|
+
"docComment": "",
|
|
3027
|
+
"excerptTokens": [
|
|
3028
|
+
{
|
|
3029
|
+
"kind": "Content",
|
|
3030
|
+
"text": "action({ details, elementButton, elementToast, }: "
|
|
3031
|
+
},
|
|
3032
|
+
{
|
|
3033
|
+
"kind": "Content",
|
|
3034
|
+
"text": "{\n details: "
|
|
3035
|
+
},
|
|
3036
|
+
{
|
|
3037
|
+
"kind": "Reference",
|
|
3038
|
+
"text": "NotificationDataRow",
|
|
3039
|
+
"canonicalReference": "@genesislcap/foundation-notifications!NotificationDataRow:interface"
|
|
3040
|
+
},
|
|
3041
|
+
{
|
|
3042
|
+
"kind": "Content",
|
|
3043
|
+
"text": ";\n elementButton: "
|
|
3044
|
+
},
|
|
3045
|
+
{
|
|
3046
|
+
"kind": "Reference",
|
|
3047
|
+
"text": "HTMLElement",
|
|
3048
|
+
"canonicalReference": "!HTMLElement:interface"
|
|
3049
|
+
},
|
|
3050
|
+
{
|
|
3051
|
+
"kind": "Content",
|
|
3052
|
+
"text": ";\n elementToast: "
|
|
3053
|
+
},
|
|
3054
|
+
{
|
|
3055
|
+
"kind": "Reference",
|
|
3056
|
+
"text": "HTMLElement",
|
|
3057
|
+
"canonicalReference": "!HTMLElement:interface"
|
|
3058
|
+
},
|
|
3059
|
+
{
|
|
3060
|
+
"kind": "Content",
|
|
3061
|
+
"text": ";\n }"
|
|
3062
|
+
},
|
|
3063
|
+
{
|
|
3064
|
+
"kind": "Content",
|
|
3065
|
+
"text": "): "
|
|
3066
|
+
},
|
|
3067
|
+
{
|
|
3068
|
+
"kind": "Content",
|
|
3069
|
+
"text": "void"
|
|
3070
|
+
},
|
|
3071
|
+
{
|
|
3072
|
+
"kind": "Content",
|
|
3073
|
+
"text": ";"
|
|
3074
|
+
}
|
|
3075
|
+
],
|
|
3076
|
+
"isOptional": false,
|
|
3077
|
+
"returnTypeTokenRange": {
|
|
3078
|
+
"startIndex": 9,
|
|
3079
|
+
"endIndex": 10
|
|
3080
|
+
},
|
|
3081
|
+
"releaseTag": "Public",
|
|
3082
|
+
"overloadIndex": 1,
|
|
3083
|
+
"parameters": [
|
|
3084
|
+
{
|
|
3085
|
+
"parameterName": "{ details, elementButton, elementToast, }",
|
|
3086
|
+
"parameterTypeTokenRange": {
|
|
3087
|
+
"startIndex": 1,
|
|
3088
|
+
"endIndex": 8
|
|
3089
|
+
},
|
|
3090
|
+
"isOptional": false
|
|
3091
|
+
}
|
|
3092
|
+
],
|
|
3093
|
+
"name": "action"
|
|
3094
|
+
},
|
|
3095
|
+
{
|
|
3096
|
+
"kind": "PropertySignature",
|
|
3097
|
+
"canonicalReference": "@genesislcap/foundation-notifications!ToastButton#appearance:member",
|
|
3098
|
+
"docComment": "",
|
|
3099
|
+
"excerptTokens": [
|
|
3100
|
+
{
|
|
3101
|
+
"kind": "Content",
|
|
3102
|
+
"text": "appearance?: "
|
|
3103
|
+
},
|
|
3104
|
+
{
|
|
3105
|
+
"kind": "Content",
|
|
3106
|
+
"text": "string"
|
|
3107
|
+
},
|
|
3108
|
+
{
|
|
3109
|
+
"kind": "Content",
|
|
3110
|
+
"text": ";"
|
|
3111
|
+
}
|
|
3112
|
+
],
|
|
3113
|
+
"isReadonly": false,
|
|
3114
|
+
"isOptional": true,
|
|
3115
|
+
"releaseTag": "Public",
|
|
3116
|
+
"name": "appearance",
|
|
3117
|
+
"propertyTypeTokenRange": {
|
|
3118
|
+
"startIndex": 1,
|
|
3119
|
+
"endIndex": 2
|
|
3120
|
+
}
|
|
3121
|
+
},
|
|
3122
|
+
{
|
|
3123
|
+
"kind": "MethodSignature",
|
|
3124
|
+
"canonicalReference": "@genesislcap/foundation-notifications!ToastButton#condition:member(1)",
|
|
3125
|
+
"docComment": "",
|
|
3126
|
+
"excerptTokens": [
|
|
3127
|
+
{
|
|
3128
|
+
"kind": "Content",
|
|
3129
|
+
"text": "condition({ details }?: "
|
|
3130
|
+
},
|
|
3131
|
+
{
|
|
3132
|
+
"kind": "Content",
|
|
3133
|
+
"text": "{\n details: "
|
|
3134
|
+
},
|
|
3135
|
+
{
|
|
3136
|
+
"kind": "Reference",
|
|
3137
|
+
"text": "NotificationDataRow",
|
|
3138
|
+
"canonicalReference": "@genesislcap/foundation-notifications!NotificationDataRow:interface"
|
|
3139
|
+
},
|
|
3140
|
+
{
|
|
3141
|
+
"kind": "Content",
|
|
3142
|
+
"text": ";\n }"
|
|
3143
|
+
},
|
|
3144
|
+
{
|
|
3145
|
+
"kind": "Content",
|
|
3146
|
+
"text": "): "
|
|
3147
|
+
},
|
|
3148
|
+
{
|
|
3149
|
+
"kind": "Content",
|
|
3150
|
+
"text": "boolean"
|
|
3151
|
+
},
|
|
3152
|
+
{
|
|
3153
|
+
"kind": "Content",
|
|
3154
|
+
"text": ";"
|
|
3155
|
+
}
|
|
3156
|
+
],
|
|
3157
|
+
"isOptional": false,
|
|
3158
|
+
"returnTypeTokenRange": {
|
|
3159
|
+
"startIndex": 5,
|
|
3160
|
+
"endIndex": 6
|
|
3161
|
+
},
|
|
3162
|
+
"releaseTag": "Public",
|
|
3163
|
+
"overloadIndex": 1,
|
|
3164
|
+
"parameters": [
|
|
3165
|
+
{
|
|
3166
|
+
"parameterName": "{ details }",
|
|
3167
|
+
"parameterTypeTokenRange": {
|
|
3168
|
+
"startIndex": 1,
|
|
3169
|
+
"endIndex": 4
|
|
3170
|
+
},
|
|
3171
|
+
"isOptional": true
|
|
3172
|
+
}
|
|
3173
|
+
],
|
|
3174
|
+
"name": "condition"
|
|
3175
|
+
},
|
|
3176
|
+
{
|
|
3177
|
+
"kind": "PropertySignature",
|
|
3178
|
+
"canonicalReference": "@genesislcap/foundation-notifications!ToastButton#placeholder:member",
|
|
3179
|
+
"docComment": "",
|
|
3180
|
+
"excerptTokens": [
|
|
3181
|
+
{
|
|
3182
|
+
"kind": "Content",
|
|
3183
|
+
"text": "placeholder?: "
|
|
3184
|
+
},
|
|
3185
|
+
{
|
|
3186
|
+
"kind": "Content",
|
|
3187
|
+
"text": "string"
|
|
3188
|
+
},
|
|
3189
|
+
{
|
|
3190
|
+
"kind": "Content",
|
|
3191
|
+
"text": ";"
|
|
3192
|
+
}
|
|
3193
|
+
],
|
|
3194
|
+
"isReadonly": false,
|
|
3195
|
+
"isOptional": true,
|
|
3196
|
+
"releaseTag": "Public",
|
|
3197
|
+
"name": "placeholder",
|
|
3198
|
+
"propertyTypeTokenRange": {
|
|
3199
|
+
"startIndex": 1,
|
|
3200
|
+
"endIndex": 2
|
|
3201
|
+
}
|
|
3202
|
+
}
|
|
3203
|
+
],
|
|
3204
|
+
"extendsTokenRanges": []
|
|
3205
|
+
},
|
|
2502
3206
|
{
|
|
2503
3207
|
"kind": "TypeAlias",
|
|
2504
3208
|
"canonicalReference": "@genesislcap/foundation-notifications!ToastPosition:type",
|