@genesislcap/foundation-notifications 14.52.2 → 14.53.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 +40 -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 +29 -6
- package/dist/foundation-notifications.api.json +652 -11
- package/dist/foundation-notifications.d.ts +59 -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 +28 -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.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 +25 -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 +51 -0
- package/package.json +5 -5
|
@@ -1522,6 +1522,268 @@
|
|
|
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#USER_NAME:member",
|
|
1760
|
+
"docComment": "",
|
|
1761
|
+
"excerptTokens": [
|
|
1762
|
+
{
|
|
1763
|
+
"kind": "Content",
|
|
1764
|
+
"text": "USER_NAME: "
|
|
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": "USER_NAME",
|
|
1779
|
+
"propertyTypeTokenRange": {
|
|
1780
|
+
"startIndex": 1,
|
|
1781
|
+
"endIndex": 2
|
|
1782
|
+
}
|
|
1783
|
+
}
|
|
1784
|
+
],
|
|
1785
|
+
"extendsTokenRanges": []
|
|
1786
|
+
},
|
|
1525
1787
|
{
|
|
1526
1788
|
"kind": "Enum",
|
|
1527
1789
|
"canonicalReference": "@genesislcap/foundation-notifications!NotificationEvent:enum",
|
|
@@ -1560,6 +1822,32 @@
|
|
|
1560
1822
|
}
|
|
1561
1823
|
]
|
|
1562
1824
|
},
|
|
1825
|
+
{
|
|
1826
|
+
"kind": "TypeAlias",
|
|
1827
|
+
"canonicalReference": "@genesislcap/foundation-notifications!NotificationSeverity:type",
|
|
1828
|
+
"docComment": "/**\n * type for notification severity\n *\n * @public\n */\n",
|
|
1829
|
+
"excerptTokens": [
|
|
1830
|
+
{
|
|
1831
|
+
"kind": "Content",
|
|
1832
|
+
"text": "export type NotificationSeverity = "
|
|
1833
|
+
},
|
|
1834
|
+
{
|
|
1835
|
+
"kind": "Content",
|
|
1836
|
+
"text": "'Information' | 'Warning' | 'Serious' | 'Critical'"
|
|
1837
|
+
},
|
|
1838
|
+
{
|
|
1839
|
+
"kind": "Content",
|
|
1840
|
+
"text": ";"
|
|
1841
|
+
}
|
|
1842
|
+
],
|
|
1843
|
+
"fileUrlPath": "src/types.ts",
|
|
1844
|
+
"releaseTag": "Public",
|
|
1845
|
+
"name": "NotificationSeverity",
|
|
1846
|
+
"typeTokenRange": {
|
|
1847
|
+
"startIndex": 1,
|
|
1848
|
+
"endIndex": 2
|
|
1849
|
+
}
|
|
1850
|
+
},
|
|
1563
1851
|
{
|
|
1564
1852
|
"kind": "Interface",
|
|
1565
1853
|
"canonicalReference": "@genesislcap/foundation-notifications!NotificationStructure:interface",
|
|
@@ -2166,16 +2454,21 @@
|
|
|
2166
2454
|
},
|
|
2167
2455
|
{
|
|
2168
2456
|
"kind": "PropertySignature",
|
|
2169
|
-
"canonicalReference": "@genesislcap/foundation-notifications!Toast#
|
|
2457
|
+
"canonicalReference": "@genesislcap/foundation-notifications!Toast#buttons:member",
|
|
2170
2458
|
"docComment": "",
|
|
2171
2459
|
"excerptTokens": [
|
|
2172
2460
|
{
|
|
2173
2461
|
"kind": "Content",
|
|
2174
|
-
"text": "readonly
|
|
2462
|
+
"text": "readonly buttons?: "
|
|
2463
|
+
},
|
|
2464
|
+
{
|
|
2465
|
+
"kind": "Reference",
|
|
2466
|
+
"text": "ToastButton",
|
|
2467
|
+
"canonicalReference": "@genesislcap/foundation-notifications!ToastButton:interface"
|
|
2175
2468
|
},
|
|
2176
2469
|
{
|
|
2177
2470
|
"kind": "Content",
|
|
2178
|
-
"text": "
|
|
2471
|
+
"text": "[]"
|
|
2179
2472
|
},
|
|
2180
2473
|
{
|
|
2181
2474
|
"kind": "Content",
|
|
@@ -2185,25 +2478,24 @@
|
|
|
2185
2478
|
"isReadonly": true,
|
|
2186
2479
|
"isOptional": true,
|
|
2187
2480
|
"releaseTag": "Public",
|
|
2188
|
-
"name": "
|
|
2481
|
+
"name": "buttons",
|
|
2189
2482
|
"propertyTypeTokenRange": {
|
|
2190
2483
|
"startIndex": 1,
|
|
2191
|
-
"endIndex":
|
|
2484
|
+
"endIndex": 3
|
|
2192
2485
|
}
|
|
2193
2486
|
},
|
|
2194
2487
|
{
|
|
2195
2488
|
"kind": "PropertySignature",
|
|
2196
|
-
"canonicalReference": "@genesislcap/foundation-notifications!Toast#
|
|
2489
|
+
"canonicalReference": "@genesislcap/foundation-notifications!Toast#closeTimeout:member",
|
|
2197
2490
|
"docComment": "",
|
|
2198
2491
|
"excerptTokens": [
|
|
2199
2492
|
{
|
|
2200
2493
|
"kind": "Content",
|
|
2201
|
-
"text": "readonly
|
|
2494
|
+
"text": "readonly closeTimeout?: "
|
|
2202
2495
|
},
|
|
2203
2496
|
{
|
|
2204
|
-
"kind": "
|
|
2205
|
-
"text": "
|
|
2206
|
-
"canonicalReference": "@genesislcap/foundation-notifications!ToastPosition:type"
|
|
2497
|
+
"kind": "Content",
|
|
2498
|
+
"text": "number"
|
|
2207
2499
|
},
|
|
2208
2500
|
{
|
|
2209
2501
|
"kind": "Content",
|
|
@@ -2213,7 +2505,63 @@
|
|
|
2213
2505
|
"isReadonly": true,
|
|
2214
2506
|
"isOptional": true,
|
|
2215
2507
|
"releaseTag": "Public",
|
|
2216
|
-
"name": "
|
|
2508
|
+
"name": "closeTimeout",
|
|
2509
|
+
"propertyTypeTokenRange": {
|
|
2510
|
+
"startIndex": 1,
|
|
2511
|
+
"endIndex": 2
|
|
2512
|
+
}
|
|
2513
|
+
},
|
|
2514
|
+
{
|
|
2515
|
+
"kind": "PropertySignature",
|
|
2516
|
+
"canonicalReference": "@genesislcap/foundation-notifications!Toast#details:member",
|
|
2517
|
+
"docComment": "",
|
|
2518
|
+
"excerptTokens": [
|
|
2519
|
+
{
|
|
2520
|
+
"kind": "Content",
|
|
2521
|
+
"text": "readonly details?: "
|
|
2522
|
+
},
|
|
2523
|
+
{
|
|
2524
|
+
"kind": "Reference",
|
|
2525
|
+
"text": "NotificationDataRow",
|
|
2526
|
+
"canonicalReference": "@genesislcap/foundation-notifications!NotificationDataRow:interface"
|
|
2527
|
+
},
|
|
2528
|
+
{
|
|
2529
|
+
"kind": "Content",
|
|
2530
|
+
"text": ";"
|
|
2531
|
+
}
|
|
2532
|
+
],
|
|
2533
|
+
"isReadonly": true,
|
|
2534
|
+
"isOptional": true,
|
|
2535
|
+
"releaseTag": "Public",
|
|
2536
|
+
"name": "details",
|
|
2537
|
+
"propertyTypeTokenRange": {
|
|
2538
|
+
"startIndex": 1,
|
|
2539
|
+
"endIndex": 2
|
|
2540
|
+
}
|
|
2541
|
+
},
|
|
2542
|
+
{
|
|
2543
|
+
"kind": "PropertySignature",
|
|
2544
|
+
"canonicalReference": "@genesislcap/foundation-notifications!Toast#position:member",
|
|
2545
|
+
"docComment": "",
|
|
2546
|
+
"excerptTokens": [
|
|
2547
|
+
{
|
|
2548
|
+
"kind": "Content",
|
|
2549
|
+
"text": "readonly position?: "
|
|
2550
|
+
},
|
|
2551
|
+
{
|
|
2552
|
+
"kind": "Reference",
|
|
2553
|
+
"text": "ToastPosition",
|
|
2554
|
+
"canonicalReference": "@genesislcap/foundation-notifications!ToastPosition:type"
|
|
2555
|
+
},
|
|
2556
|
+
{
|
|
2557
|
+
"kind": "Content",
|
|
2558
|
+
"text": ";"
|
|
2559
|
+
}
|
|
2560
|
+
],
|
|
2561
|
+
"isReadonly": true,
|
|
2562
|
+
"isOptional": true,
|
|
2563
|
+
"releaseTag": "Public",
|
|
2564
|
+
"name": "position",
|
|
2217
2565
|
"propertyTypeTokenRange": {
|
|
2218
2566
|
"startIndex": 1,
|
|
2219
2567
|
"endIndex": 2
|
|
@@ -2347,6 +2695,60 @@
|
|
|
2347
2695
|
"isAbstract": false,
|
|
2348
2696
|
"name": "withAutoClose"
|
|
2349
2697
|
},
|
|
2698
|
+
{
|
|
2699
|
+
"kind": "Method",
|
|
2700
|
+
"canonicalReference": "@genesislcap/foundation-notifications!ToastBuilder#withButtons:member(1)",
|
|
2701
|
+
"docComment": "/**\n * Add buttons to notifications\n *\n * @param buttons - ToastButton[]\n *\n * @returns \n *\n * @public\n */\n",
|
|
2702
|
+
"excerptTokens": [
|
|
2703
|
+
{
|
|
2704
|
+
"kind": "Content",
|
|
2705
|
+
"text": "withButtons(buttons: "
|
|
2706
|
+
},
|
|
2707
|
+
{
|
|
2708
|
+
"kind": "Reference",
|
|
2709
|
+
"text": "ToastButton",
|
|
2710
|
+
"canonicalReference": "@genesislcap/foundation-notifications!ToastButton:interface"
|
|
2711
|
+
},
|
|
2712
|
+
{
|
|
2713
|
+
"kind": "Content",
|
|
2714
|
+
"text": "[]"
|
|
2715
|
+
},
|
|
2716
|
+
{
|
|
2717
|
+
"kind": "Content",
|
|
2718
|
+
"text": "): "
|
|
2719
|
+
},
|
|
2720
|
+
{
|
|
2721
|
+
"kind": "Reference",
|
|
2722
|
+
"text": "ToastBuilder",
|
|
2723
|
+
"canonicalReference": "@genesislcap/foundation-notifications!ToastBuilder:class"
|
|
2724
|
+
},
|
|
2725
|
+
{
|
|
2726
|
+
"kind": "Content",
|
|
2727
|
+
"text": ";"
|
|
2728
|
+
}
|
|
2729
|
+
],
|
|
2730
|
+
"isStatic": false,
|
|
2731
|
+
"returnTypeTokenRange": {
|
|
2732
|
+
"startIndex": 4,
|
|
2733
|
+
"endIndex": 5
|
|
2734
|
+
},
|
|
2735
|
+
"releaseTag": "Public",
|
|
2736
|
+
"isProtected": false,
|
|
2737
|
+
"overloadIndex": 1,
|
|
2738
|
+
"parameters": [
|
|
2739
|
+
{
|
|
2740
|
+
"parameterName": "buttons",
|
|
2741
|
+
"parameterTypeTokenRange": {
|
|
2742
|
+
"startIndex": 1,
|
|
2743
|
+
"endIndex": 3
|
|
2744
|
+
},
|
|
2745
|
+
"isOptional": false
|
|
2746
|
+
}
|
|
2747
|
+
],
|
|
2748
|
+
"isOptional": false,
|
|
2749
|
+
"isAbstract": false,
|
|
2750
|
+
"name": "withButtons"
|
|
2751
|
+
},
|
|
2350
2752
|
{
|
|
2351
2753
|
"kind": "Method",
|
|
2352
2754
|
"canonicalReference": "@genesislcap/foundation-notifications!ToastBuilder#withCloseTimeout:member(1)",
|
|
@@ -2396,6 +2798,56 @@
|
|
|
2396
2798
|
"isAbstract": false,
|
|
2397
2799
|
"name": "withCloseTimeout"
|
|
2398
2800
|
},
|
|
2801
|
+
{
|
|
2802
|
+
"kind": "Method",
|
|
2803
|
+
"canonicalReference": "@genesislcap/foundation-notifications!ToastBuilder#withDetails:member(1)",
|
|
2804
|
+
"docComment": "/**\n * Add details data to notifications\n *\n * @param details - NotificationDataRow\n *\n * @returns \n *\n * @public\n */\n",
|
|
2805
|
+
"excerptTokens": [
|
|
2806
|
+
{
|
|
2807
|
+
"kind": "Content",
|
|
2808
|
+
"text": "withDetails(details: "
|
|
2809
|
+
},
|
|
2810
|
+
{
|
|
2811
|
+
"kind": "Reference",
|
|
2812
|
+
"text": "NotificationDataRow",
|
|
2813
|
+
"canonicalReference": "@genesislcap/foundation-notifications!NotificationDataRow:interface"
|
|
2814
|
+
},
|
|
2815
|
+
{
|
|
2816
|
+
"kind": "Content",
|
|
2817
|
+
"text": "): "
|
|
2818
|
+
},
|
|
2819
|
+
{
|
|
2820
|
+
"kind": "Reference",
|
|
2821
|
+
"text": "ToastBuilder",
|
|
2822
|
+
"canonicalReference": "@genesislcap/foundation-notifications!ToastBuilder:class"
|
|
2823
|
+
},
|
|
2824
|
+
{
|
|
2825
|
+
"kind": "Content",
|
|
2826
|
+
"text": ";"
|
|
2827
|
+
}
|
|
2828
|
+
],
|
|
2829
|
+
"isStatic": false,
|
|
2830
|
+
"returnTypeTokenRange": {
|
|
2831
|
+
"startIndex": 3,
|
|
2832
|
+
"endIndex": 4
|
|
2833
|
+
},
|
|
2834
|
+
"releaseTag": "Public",
|
|
2835
|
+
"isProtected": false,
|
|
2836
|
+
"overloadIndex": 1,
|
|
2837
|
+
"parameters": [
|
|
2838
|
+
{
|
|
2839
|
+
"parameterName": "details",
|
|
2840
|
+
"parameterTypeTokenRange": {
|
|
2841
|
+
"startIndex": 1,
|
|
2842
|
+
"endIndex": 2
|
|
2843
|
+
},
|
|
2844
|
+
"isOptional": false
|
|
2845
|
+
}
|
|
2846
|
+
],
|
|
2847
|
+
"isOptional": false,
|
|
2848
|
+
"isAbstract": false,
|
|
2849
|
+
"name": "withDetails"
|
|
2850
|
+
},
|
|
2399
2851
|
{
|
|
2400
2852
|
"kind": "Method",
|
|
2401
2853
|
"canonicalReference": "@genesislcap/foundation-notifications!ToastBuilder#withPosition:member(1)",
|
|
@@ -2499,6 +2951,195 @@
|
|
|
2499
2951
|
],
|
|
2500
2952
|
"implementsTokenRanges": []
|
|
2501
2953
|
},
|
|
2954
|
+
{
|
|
2955
|
+
"kind": "Interface",
|
|
2956
|
+
"canonicalReference": "@genesislcap/foundation-notifications!ToastButton:interface",
|
|
2957
|
+
"docComment": "/**\n * Interface for ToastButton\n *\n * @public\n */\n",
|
|
2958
|
+
"excerptTokens": [
|
|
2959
|
+
{
|
|
2960
|
+
"kind": "Content",
|
|
2961
|
+
"text": "export interface ToastButton "
|
|
2962
|
+
}
|
|
2963
|
+
],
|
|
2964
|
+
"fileUrlPath": "src/types.ts",
|
|
2965
|
+
"releaseTag": "Public",
|
|
2966
|
+
"name": "ToastButton",
|
|
2967
|
+
"preserveMemberOrder": false,
|
|
2968
|
+
"members": [
|
|
2969
|
+
{
|
|
2970
|
+
"kind": "MethodSignature",
|
|
2971
|
+
"canonicalReference": "@genesislcap/foundation-notifications!ToastButton#action:member(1)",
|
|
2972
|
+
"docComment": "",
|
|
2973
|
+
"excerptTokens": [
|
|
2974
|
+
{
|
|
2975
|
+
"kind": "Content",
|
|
2976
|
+
"text": "action({ details, element }: "
|
|
2977
|
+
},
|
|
2978
|
+
{
|
|
2979
|
+
"kind": "Content",
|
|
2980
|
+
"text": "{\n details: "
|
|
2981
|
+
},
|
|
2982
|
+
{
|
|
2983
|
+
"kind": "Reference",
|
|
2984
|
+
"text": "NotificationDataRow",
|
|
2985
|
+
"canonicalReference": "@genesislcap/foundation-notifications!NotificationDataRow:interface"
|
|
2986
|
+
},
|
|
2987
|
+
{
|
|
2988
|
+
"kind": "Content",
|
|
2989
|
+
"text": ";\n element: "
|
|
2990
|
+
},
|
|
2991
|
+
{
|
|
2992
|
+
"kind": "Reference",
|
|
2993
|
+
"text": "HTMLElement",
|
|
2994
|
+
"canonicalReference": "!HTMLElement:interface"
|
|
2995
|
+
},
|
|
2996
|
+
{
|
|
2997
|
+
"kind": "Content",
|
|
2998
|
+
"text": ";\n }"
|
|
2999
|
+
},
|
|
3000
|
+
{
|
|
3001
|
+
"kind": "Content",
|
|
3002
|
+
"text": "): "
|
|
3003
|
+
},
|
|
3004
|
+
{
|
|
3005
|
+
"kind": "Content",
|
|
3006
|
+
"text": "void"
|
|
3007
|
+
},
|
|
3008
|
+
{
|
|
3009
|
+
"kind": "Content",
|
|
3010
|
+
"text": ";"
|
|
3011
|
+
}
|
|
3012
|
+
],
|
|
3013
|
+
"isOptional": false,
|
|
3014
|
+
"returnTypeTokenRange": {
|
|
3015
|
+
"startIndex": 7,
|
|
3016
|
+
"endIndex": 8
|
|
3017
|
+
},
|
|
3018
|
+
"releaseTag": "Public",
|
|
3019
|
+
"overloadIndex": 1,
|
|
3020
|
+
"parameters": [
|
|
3021
|
+
{
|
|
3022
|
+
"parameterName": "{ details, element }",
|
|
3023
|
+
"parameterTypeTokenRange": {
|
|
3024
|
+
"startIndex": 1,
|
|
3025
|
+
"endIndex": 6
|
|
3026
|
+
},
|
|
3027
|
+
"isOptional": false
|
|
3028
|
+
}
|
|
3029
|
+
],
|
|
3030
|
+
"name": "action"
|
|
3031
|
+
},
|
|
3032
|
+
{
|
|
3033
|
+
"kind": "PropertySignature",
|
|
3034
|
+
"canonicalReference": "@genesislcap/foundation-notifications!ToastButton#appearance:member",
|
|
3035
|
+
"docComment": "",
|
|
3036
|
+
"excerptTokens": [
|
|
3037
|
+
{
|
|
3038
|
+
"kind": "Content",
|
|
3039
|
+
"text": "appearance?: "
|
|
3040
|
+
},
|
|
3041
|
+
{
|
|
3042
|
+
"kind": "Content",
|
|
3043
|
+
"text": "string"
|
|
3044
|
+
},
|
|
3045
|
+
{
|
|
3046
|
+
"kind": "Content",
|
|
3047
|
+
"text": ";"
|
|
3048
|
+
}
|
|
3049
|
+
],
|
|
3050
|
+
"isReadonly": false,
|
|
3051
|
+
"isOptional": true,
|
|
3052
|
+
"releaseTag": "Public",
|
|
3053
|
+
"name": "appearance",
|
|
3054
|
+
"propertyTypeTokenRange": {
|
|
3055
|
+
"startIndex": 1,
|
|
3056
|
+
"endIndex": 2
|
|
3057
|
+
}
|
|
3058
|
+
},
|
|
3059
|
+
{
|
|
3060
|
+
"kind": "MethodSignature",
|
|
3061
|
+
"canonicalReference": "@genesislcap/foundation-notifications!ToastButton#condition:member(1)",
|
|
3062
|
+
"docComment": "",
|
|
3063
|
+
"excerptTokens": [
|
|
3064
|
+
{
|
|
3065
|
+
"kind": "Content",
|
|
3066
|
+
"text": "condition({ details }?: "
|
|
3067
|
+
},
|
|
3068
|
+
{
|
|
3069
|
+
"kind": "Content",
|
|
3070
|
+
"text": "{\n details: "
|
|
3071
|
+
},
|
|
3072
|
+
{
|
|
3073
|
+
"kind": "Reference",
|
|
3074
|
+
"text": "NotificationDataRow",
|
|
3075
|
+
"canonicalReference": "@genesislcap/foundation-notifications!NotificationDataRow:interface"
|
|
3076
|
+
},
|
|
3077
|
+
{
|
|
3078
|
+
"kind": "Content",
|
|
3079
|
+
"text": ";\n }"
|
|
3080
|
+
},
|
|
3081
|
+
{
|
|
3082
|
+
"kind": "Content",
|
|
3083
|
+
"text": "): "
|
|
3084
|
+
},
|
|
3085
|
+
{
|
|
3086
|
+
"kind": "Content",
|
|
3087
|
+
"text": "boolean"
|
|
3088
|
+
},
|
|
3089
|
+
{
|
|
3090
|
+
"kind": "Content",
|
|
3091
|
+
"text": ";"
|
|
3092
|
+
}
|
|
3093
|
+
],
|
|
3094
|
+
"isOptional": false,
|
|
3095
|
+
"returnTypeTokenRange": {
|
|
3096
|
+
"startIndex": 5,
|
|
3097
|
+
"endIndex": 6
|
|
3098
|
+
},
|
|
3099
|
+
"releaseTag": "Public",
|
|
3100
|
+
"overloadIndex": 1,
|
|
3101
|
+
"parameters": [
|
|
3102
|
+
{
|
|
3103
|
+
"parameterName": "{ details }",
|
|
3104
|
+
"parameterTypeTokenRange": {
|
|
3105
|
+
"startIndex": 1,
|
|
3106
|
+
"endIndex": 4
|
|
3107
|
+
},
|
|
3108
|
+
"isOptional": true
|
|
3109
|
+
}
|
|
3110
|
+
],
|
|
3111
|
+
"name": "condition"
|
|
3112
|
+
},
|
|
3113
|
+
{
|
|
3114
|
+
"kind": "PropertySignature",
|
|
3115
|
+
"canonicalReference": "@genesislcap/foundation-notifications!ToastButton#placeholder:member",
|
|
3116
|
+
"docComment": "",
|
|
3117
|
+
"excerptTokens": [
|
|
3118
|
+
{
|
|
3119
|
+
"kind": "Content",
|
|
3120
|
+
"text": "placeholder?: "
|
|
3121
|
+
},
|
|
3122
|
+
{
|
|
3123
|
+
"kind": "Content",
|
|
3124
|
+
"text": "string"
|
|
3125
|
+
},
|
|
3126
|
+
{
|
|
3127
|
+
"kind": "Content",
|
|
3128
|
+
"text": ";"
|
|
3129
|
+
}
|
|
3130
|
+
],
|
|
3131
|
+
"isReadonly": false,
|
|
3132
|
+
"isOptional": true,
|
|
3133
|
+
"releaseTag": "Public",
|
|
3134
|
+
"name": "placeholder",
|
|
3135
|
+
"propertyTypeTokenRange": {
|
|
3136
|
+
"startIndex": 1,
|
|
3137
|
+
"endIndex": 2
|
|
3138
|
+
}
|
|
3139
|
+
}
|
|
3140
|
+
],
|
|
3141
|
+
"extendsTokenRanges": []
|
|
3142
|
+
},
|
|
2502
3143
|
{
|
|
2503
3144
|
"kind": "TypeAlias",
|
|
2504
3145
|
"canonicalReference": "@genesislcap/foundation-notifications!ToastPosition:type",
|