@genesislcap/pbc-notify-ui 15.7.0 → 15.7.2

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.
@@ -415,327 +415,6 @@
415
415
  }
416
416
  ]
417
417
  },
418
- {
419
- "kind": "javascript-module",
420
- "path": "src/utils/eventDetail.ts",
421
- "declarations": [
422
- {
423
- "kind": "function",
424
- "name": "eventDetail",
425
- "parameters": [
426
- {
427
- "name": "ctx",
428
- "type": {
429
- "text": "ExecutionContext"
430
- }
431
- }
432
- ]
433
- }
434
- ],
435
- "exports": [
436
- {
437
- "kind": "js",
438
- "name": "eventDetail",
439
- "declaration": {
440
- "name": "eventDetail",
441
- "module": "src/utils/eventDetail.ts"
442
- }
443
- }
444
- ]
445
- },
446
- {
447
- "kind": "javascript-module",
448
- "path": "src/utils/gridConfig.ts",
449
- "declarations": [
450
- {
451
- "kind": "variable",
452
- "name": "hideColumn",
453
- "type": {
454
- "text": "object"
455
- },
456
- "default": "{\n hide: true,\n}"
457
- },
458
- {
459
- "kind": "variable",
460
- "name": "suppressColumn",
461
- "type": {
462
- "text": "object"
463
- },
464
- "default": "{\n ...hideColumn,\n suppressColumnsToolPanel: true,\n}"
465
- },
466
- {
467
- "kind": "function",
468
- "name": "hideColumns",
469
- "parameters": [
470
- {
471
- "name": "fieldsToSuppress",
472
- "type": {
473
- "text": "any"
474
- }
475
- }
476
- ]
477
- }
478
- ],
479
- "exports": [
480
- {
481
- "kind": "js",
482
- "name": "hideColumn",
483
- "declaration": {
484
- "name": "hideColumn",
485
- "module": "src/utils/gridConfig.ts"
486
- }
487
- },
488
- {
489
- "kind": "js",
490
- "name": "suppressColumn",
491
- "declaration": {
492
- "name": "suppressColumn",
493
- "module": "src/utils/gridConfig.ts"
494
- }
495
- },
496
- {
497
- "kind": "js",
498
- "name": "hideColumns",
499
- "declaration": {
500
- "name": "hideColumns",
501
- "module": "src/utils/gridConfig.ts"
502
- }
503
- }
504
- ]
505
- },
506
- {
507
- "kind": "javascript-module",
508
- "path": "src/utils/humanize.ts",
509
- "declarations": [
510
- {
511
- "kind": "function",
512
- "name": "humanize",
513
- "parameters": [
514
- {
515
- "name": "s",
516
- "type": {
517
- "text": "string"
518
- }
519
- }
520
- ]
521
- }
522
- ],
523
- "exports": [
524
- {
525
- "kind": "js",
526
- "name": "humanize",
527
- "declaration": {
528
- "name": "humanize",
529
- "module": "src/utils/humanize.ts"
530
- }
531
- }
532
- ]
533
- },
534
- {
535
- "kind": "javascript-module",
536
- "path": "src/utils/icons.ts",
537
- "declarations": [
538
- {
539
- "kind": "variable",
540
- "name": "editIcon",
541
- "default": "html`\n <rapid-icon\n style=\"pointer-events: none; opacity: 0.5\"\n class=\"icon-button\"\n variant=\"solid\"\n name=\"pen\"\n size=\"lg\"\n ></rapid-icon>\n`"
542
- },
543
- {
544
- "kind": "variable",
545
- "name": "deleteIcon",
546
- "default": "html`\n <rapid-icon style=\"opacity: 0.5\" variant=\"regular\" name=\"trash-alt\" size=\"lg\"></rapid-icon>\n`"
547
- }
548
- ],
549
- "exports": [
550
- {
551
- "kind": "js",
552
- "name": "editIcon",
553
- "declaration": {
554
- "name": "editIcon",
555
- "module": "src/utils/icons.ts"
556
- }
557
- },
558
- {
559
- "kind": "js",
560
- "name": "deleteIcon",
561
- "declaration": {
562
- "name": "deleteIcon",
563
- "module": "src/utils/icons.ts"
564
- }
565
- }
566
- ]
567
- },
568
- {
569
- "kind": "javascript-module",
570
- "path": "src/utils/index.ts",
571
- "declarations": [],
572
- "exports": [
573
- {
574
- "kind": "js",
575
- "name": "*",
576
- "declaration": {
577
- "name": "*",
578
- "package": "./logger"
579
- }
580
- },
581
- {
582
- "kind": "js",
583
- "name": "*",
584
- "declaration": {
585
- "name": "*",
586
- "package": "./humanize"
587
- }
588
- },
589
- {
590
- "kind": "js",
591
- "name": "*",
592
- "declaration": {
593
- "name": "*",
594
- "package": "./updateArray"
595
- }
596
- },
597
- {
598
- "kind": "js",
599
- "name": "*",
600
- "declaration": {
601
- "name": "*",
602
- "package": "./eventDetail"
603
- }
604
- },
605
- {
606
- "kind": "js",
607
- "name": "*",
608
- "declaration": {
609
- "name": "*",
610
- "package": "./icons"
611
- }
612
- },
613
- {
614
- "kind": "js",
615
- "name": "*",
616
- "declaration": {
617
- "name": "*",
618
- "package": "./gridConfig"
619
- }
620
- }
621
- ]
622
- },
623
- {
624
- "kind": "javascript-module",
625
- "path": "src/utils/logger.ts",
626
- "declarations": [
627
- {
628
- "kind": "variable",
629
- "name": "logger"
630
- }
631
- ],
632
- "exports": [
633
- {
634
- "kind": "js",
635
- "name": "logger",
636
- "declaration": {
637
- "name": "logger",
638
- "module": "src/utils/logger.ts"
639
- }
640
- }
641
- ]
642
- },
643
- {
644
- "kind": "javascript-module",
645
- "path": "src/utils/notifyPermissions.ts",
646
- "declarations": [
647
- {
648
- "kind": "variable",
649
- "name": "NotifyPermission",
650
- "type": {
651
- "text": "object"
652
- },
653
- "default": "{\n NotificationRuleView: 'NotificationRuleView',\n NotificationRuleTemplateView: 'NotificationRuleTemplateView',\n NotificationRouteView: 'NotificationRouteView',\n NotificationAuditView: 'NotificationAuditView',\n}"
654
- }
655
- ],
656
- "exports": [
657
- {
658
- "kind": "js",
659
- "name": "NotifyPermission",
660
- "declaration": {
661
- "name": "NotifyPermission",
662
- "module": "src/utils/notifyPermissions.ts"
663
- }
664
- }
665
- ]
666
- },
667
- {
668
- "kind": "javascript-module",
669
- "path": "src/utils/toBoolean.ts",
670
- "declarations": [
671
- {
672
- "kind": "function",
673
- "name": "toBoolean",
674
- "parameters": [
675
- {
676
- "name": "s",
677
- "type": {
678
- "text": "string"
679
- }
680
- }
681
- ]
682
- }
683
- ],
684
- "exports": [
685
- {
686
- "kind": "js",
687
- "name": "toBoolean",
688
- "declaration": {
689
- "name": "toBoolean",
690
- "module": "src/utils/toBoolean.ts"
691
- }
692
- }
693
- ]
694
- },
695
- {
696
- "kind": "javascript-module",
697
- "path": "src/utils/updateArray.ts",
698
- "declarations": [
699
- {
700
- "kind": "function",
701
- "name": "updateArray",
702
- "return": {
703
- "type": {
704
- "text": "Array<any>"
705
- }
706
- },
707
- "parameters": [
708
- {
709
- "name": "newData",
710
- "type": {
711
- "text": "Array<any>"
712
- }
713
- },
714
- {
715
- "name": "oldData",
716
- "type": {
717
- "text": "Array<any>"
718
- }
719
- },
720
- {
721
- "name": "append",
722
- "default": "false"
723
- }
724
- ],
725
- "description": "Merges streamed data server rows into the existing list.\n\nNew INSERT rows are prepended by default so real-time alerts surface at the\ntop. When append is set (e.g. for `getMoreRows` pagination batches),\nrows are appended instead so they continue the existing order at the bottom."
726
- }
727
- ],
728
- "exports": [
729
- {
730
- "kind": "js",
731
- "name": "updateArray",
732
- "declaration": {
733
- "name": "updateArray",
734
- "module": "src/utils/updateArray.ts"
735
- }
736
- }
737
- ]
738
- },
739
418
  {
740
419
  "kind": "javascript-module",
741
420
  "path": "src/styles/scrollbar.styles.ts",
@@ -1867,68 +1546,361 @@
1867
1546
  }
1868
1547
  ]
1869
1548
  }
1870
- ],
1549
+ ],
1550
+ "exports": [
1551
+ {
1552
+ "kind": "js",
1553
+ "name": "FoundationInbox",
1554
+ "declaration": {
1555
+ "name": "FoundationInbox",
1556
+ "module": "src/components/foundation-inbox/inbox.ts"
1557
+ }
1558
+ },
1559
+ {
1560
+ "kind": "custom-element-definition",
1561
+ "name": "foundation-inbox",
1562
+ "declaration": {
1563
+ "name": "FoundationInbox",
1564
+ "module": "src/components/foundation-inbox/inbox.ts"
1565
+ }
1566
+ }
1567
+ ]
1568
+ },
1569
+ {
1570
+ "kind": "javascript-module",
1571
+ "path": "src/components/foundation-inbox/inbox.types.ts",
1572
+ "declarations": [],
1573
+ "exports": []
1574
+ },
1575
+ {
1576
+ "kind": "javascript-module",
1577
+ "path": "src/components/foundation-inbox/inbox.utils.ts",
1578
+ "declarations": [
1579
+ {
1580
+ "kind": "function",
1581
+ "name": "extractTopic",
1582
+ "return": {
1583
+ "type": {
1584
+ "text": "string | null"
1585
+ }
1586
+ },
1587
+ "parameters": [
1588
+ {
1589
+ "name": "resultExpression",
1590
+ "type": {
1591
+ "text": "string"
1592
+ }
1593
+ }
1594
+ ]
1595
+ },
1596
+ {
1597
+ "kind": "function",
1598
+ "name": "getFormattedDate",
1599
+ "parameters": [
1600
+ {
1601
+ "name": "dateTimeInMills"
1602
+ }
1603
+ ]
1604
+ },
1605
+ {
1606
+ "kind": "function",
1607
+ "name": "getSeverityColor",
1608
+ "parameters": [
1609
+ {
1610
+ "name": "severity",
1611
+ "type": {
1612
+ "text": "string"
1613
+ }
1614
+ }
1615
+ ]
1616
+ }
1617
+ ],
1618
+ "exports": [
1619
+ {
1620
+ "kind": "js",
1621
+ "name": "extractTopic",
1622
+ "declaration": {
1623
+ "name": "extractTopic",
1624
+ "module": "src/components/foundation-inbox/inbox.utils.ts"
1625
+ }
1626
+ },
1627
+ {
1628
+ "kind": "js",
1629
+ "name": "getFormattedDate",
1630
+ "declaration": {
1631
+ "name": "getFormattedDate",
1632
+ "module": "src/components/foundation-inbox/inbox.utils.ts"
1633
+ }
1634
+ },
1635
+ {
1636
+ "kind": "js",
1637
+ "name": "getSeverityColor",
1638
+ "declaration": {
1639
+ "name": "getSeverityColor",
1640
+ "module": "src/components/foundation-inbox/inbox.utils.ts"
1641
+ }
1642
+ }
1643
+ ]
1644
+ },
1645
+ {
1646
+ "kind": "javascript-module",
1647
+ "path": "src/utils/eventDetail.ts",
1648
+ "declarations": [
1649
+ {
1650
+ "kind": "function",
1651
+ "name": "eventDetail",
1652
+ "parameters": [
1653
+ {
1654
+ "name": "ctx",
1655
+ "type": {
1656
+ "text": "ExecutionContext"
1657
+ }
1658
+ }
1659
+ ]
1660
+ }
1661
+ ],
1662
+ "exports": [
1663
+ {
1664
+ "kind": "js",
1665
+ "name": "eventDetail",
1666
+ "declaration": {
1667
+ "name": "eventDetail",
1668
+ "module": "src/utils/eventDetail.ts"
1669
+ }
1670
+ }
1671
+ ]
1672
+ },
1673
+ {
1674
+ "kind": "javascript-module",
1675
+ "path": "src/utils/gridConfig.ts",
1676
+ "declarations": [
1677
+ {
1678
+ "kind": "variable",
1679
+ "name": "hideColumn",
1680
+ "type": {
1681
+ "text": "object"
1682
+ },
1683
+ "default": "{\n hide: true,\n}"
1684
+ },
1685
+ {
1686
+ "kind": "variable",
1687
+ "name": "suppressColumn",
1688
+ "type": {
1689
+ "text": "object"
1690
+ },
1691
+ "default": "{\n ...hideColumn,\n suppressColumnsToolPanel: true,\n}"
1692
+ },
1693
+ {
1694
+ "kind": "function",
1695
+ "name": "hideColumns",
1696
+ "parameters": [
1697
+ {
1698
+ "name": "fieldsToSuppress",
1699
+ "type": {
1700
+ "text": "any"
1701
+ }
1702
+ }
1703
+ ]
1704
+ }
1705
+ ],
1706
+ "exports": [
1707
+ {
1708
+ "kind": "js",
1709
+ "name": "hideColumn",
1710
+ "declaration": {
1711
+ "name": "hideColumn",
1712
+ "module": "src/utils/gridConfig.ts"
1713
+ }
1714
+ },
1715
+ {
1716
+ "kind": "js",
1717
+ "name": "suppressColumn",
1718
+ "declaration": {
1719
+ "name": "suppressColumn",
1720
+ "module": "src/utils/gridConfig.ts"
1721
+ }
1722
+ },
1723
+ {
1724
+ "kind": "js",
1725
+ "name": "hideColumns",
1726
+ "declaration": {
1727
+ "name": "hideColumns",
1728
+ "module": "src/utils/gridConfig.ts"
1729
+ }
1730
+ }
1731
+ ]
1732
+ },
1733
+ {
1734
+ "kind": "javascript-module",
1735
+ "path": "src/utils/humanize.ts",
1736
+ "declarations": [
1737
+ {
1738
+ "kind": "function",
1739
+ "name": "humanize",
1740
+ "parameters": [
1741
+ {
1742
+ "name": "s",
1743
+ "type": {
1744
+ "text": "string"
1745
+ }
1746
+ }
1747
+ ]
1748
+ }
1749
+ ],
1750
+ "exports": [
1751
+ {
1752
+ "kind": "js",
1753
+ "name": "humanize",
1754
+ "declaration": {
1755
+ "name": "humanize",
1756
+ "module": "src/utils/humanize.ts"
1757
+ }
1758
+ }
1759
+ ]
1760
+ },
1761
+ {
1762
+ "kind": "javascript-module",
1763
+ "path": "src/utils/icons.ts",
1764
+ "declarations": [
1765
+ {
1766
+ "kind": "variable",
1767
+ "name": "editIcon",
1768
+ "default": "html`\n <rapid-icon\n style=\"pointer-events: none; opacity: 0.5\"\n class=\"icon-button\"\n variant=\"solid\"\n name=\"pen\"\n size=\"lg\"\n ></rapid-icon>\n`"
1769
+ },
1770
+ {
1771
+ "kind": "variable",
1772
+ "name": "deleteIcon",
1773
+ "default": "html`\n <rapid-icon style=\"opacity: 0.5\" variant=\"regular\" name=\"trash-alt\" size=\"lg\"></rapid-icon>\n`"
1774
+ }
1775
+ ],
1776
+ "exports": [
1777
+ {
1778
+ "kind": "js",
1779
+ "name": "editIcon",
1780
+ "declaration": {
1781
+ "name": "editIcon",
1782
+ "module": "src/utils/icons.ts"
1783
+ }
1784
+ },
1785
+ {
1786
+ "kind": "js",
1787
+ "name": "deleteIcon",
1788
+ "declaration": {
1789
+ "name": "deleteIcon",
1790
+ "module": "src/utils/icons.ts"
1791
+ }
1792
+ }
1793
+ ]
1794
+ },
1795
+ {
1796
+ "kind": "javascript-module",
1797
+ "path": "src/utils/index.ts",
1798
+ "declarations": [],
1871
1799
  "exports": [
1872
1800
  {
1873
1801
  "kind": "js",
1874
- "name": "FoundationInbox",
1802
+ "name": "*",
1875
1803
  "declaration": {
1876
- "name": "FoundationInbox",
1877
- "module": "src/components/foundation-inbox/inbox.ts"
1804
+ "name": "*",
1805
+ "package": "./logger"
1878
1806
  }
1879
1807
  },
1880
1808
  {
1881
- "kind": "custom-element-definition",
1882
- "name": "foundation-inbox",
1809
+ "kind": "js",
1810
+ "name": "*",
1883
1811
  "declaration": {
1884
- "name": "FoundationInbox",
1885
- "module": "src/components/foundation-inbox/inbox.ts"
1812
+ "name": "*",
1813
+ "package": "./humanize"
1814
+ }
1815
+ },
1816
+ {
1817
+ "kind": "js",
1818
+ "name": "*",
1819
+ "declaration": {
1820
+ "name": "*",
1821
+ "package": "./updateArray"
1822
+ }
1823
+ },
1824
+ {
1825
+ "kind": "js",
1826
+ "name": "*",
1827
+ "declaration": {
1828
+ "name": "*",
1829
+ "package": "./eventDetail"
1830
+ }
1831
+ },
1832
+ {
1833
+ "kind": "js",
1834
+ "name": "*",
1835
+ "declaration": {
1836
+ "name": "*",
1837
+ "package": "./icons"
1838
+ }
1839
+ },
1840
+ {
1841
+ "kind": "js",
1842
+ "name": "*",
1843
+ "declaration": {
1844
+ "name": "*",
1845
+ "package": "./gridConfig"
1886
1846
  }
1887
1847
  }
1888
1848
  ]
1889
1849
  },
1890
1850
  {
1891
1851
  "kind": "javascript-module",
1892
- "path": "src/components/foundation-inbox/inbox.types.ts",
1893
- "declarations": [],
1894
- "exports": []
1852
+ "path": "src/utils/logger.ts",
1853
+ "declarations": [
1854
+ {
1855
+ "kind": "variable",
1856
+ "name": "logger"
1857
+ }
1858
+ ],
1859
+ "exports": [
1860
+ {
1861
+ "kind": "js",
1862
+ "name": "logger",
1863
+ "declaration": {
1864
+ "name": "logger",
1865
+ "module": "src/utils/logger.ts"
1866
+ }
1867
+ }
1868
+ ]
1895
1869
  },
1896
1870
  {
1897
1871
  "kind": "javascript-module",
1898
- "path": "src/components/foundation-inbox/inbox.utils.ts",
1872
+ "path": "src/utils/notifyPermissions.ts",
1899
1873
  "declarations": [
1900
1874
  {
1901
- "kind": "function",
1902
- "name": "extractTopic",
1903
- "return": {
1904
- "type": {
1905
- "text": "string | null"
1906
- }
1875
+ "kind": "variable",
1876
+ "name": "NotifyPermission",
1877
+ "type": {
1878
+ "text": "object"
1907
1879
  },
1908
- "parameters": [
1909
- {
1910
- "name": "resultExpression",
1911
- "type": {
1912
- "text": "string"
1913
- }
1914
- }
1915
- ]
1916
- },
1880
+ "default": "{\n NotificationRuleView: 'NotificationRuleView',\n NotificationRuleTemplateView: 'NotificationRuleTemplateView',\n NotificationRouteView: 'NotificationRouteView',\n NotificationAuditView: 'NotificationAuditView',\n}"
1881
+ }
1882
+ ],
1883
+ "exports": [
1917
1884
  {
1918
- "kind": "function",
1919
- "name": "getFormattedDate",
1920
- "parameters": [
1921
- {
1922
- "name": "dateTimeInMills"
1923
- }
1924
- ]
1925
- },
1885
+ "kind": "js",
1886
+ "name": "NotifyPermission",
1887
+ "declaration": {
1888
+ "name": "NotifyPermission",
1889
+ "module": "src/utils/notifyPermissions.ts"
1890
+ }
1891
+ }
1892
+ ]
1893
+ },
1894
+ {
1895
+ "kind": "javascript-module",
1896
+ "path": "src/utils/toBoolean.ts",
1897
+ "declarations": [
1926
1898
  {
1927
1899
  "kind": "function",
1928
- "name": "getSeverityColor",
1900
+ "name": "toBoolean",
1929
1901
  "parameters": [
1930
1902
  {
1931
- "name": "severity",
1903
+ "name": "s",
1932
1904
  "type": {
1933
1905
  "text": "string"
1934
1906
  }
@@ -1939,26 +1911,54 @@
1939
1911
  "exports": [
1940
1912
  {
1941
1913
  "kind": "js",
1942
- "name": "extractTopic",
1914
+ "name": "toBoolean",
1943
1915
  "declaration": {
1944
- "name": "extractTopic",
1945
- "module": "src/components/foundation-inbox/inbox.utils.ts"
1916
+ "name": "toBoolean",
1917
+ "module": "src/utils/toBoolean.ts"
1946
1918
  }
1947
- },
1919
+ }
1920
+ ]
1921
+ },
1922
+ {
1923
+ "kind": "javascript-module",
1924
+ "path": "src/utils/updateArray.ts",
1925
+ "declarations": [
1948
1926
  {
1949
- "kind": "js",
1950
- "name": "getFormattedDate",
1951
- "declaration": {
1952
- "name": "getFormattedDate",
1953
- "module": "src/components/foundation-inbox/inbox.utils.ts"
1954
- }
1955
- },
1927
+ "kind": "function",
1928
+ "name": "updateArray",
1929
+ "return": {
1930
+ "type": {
1931
+ "text": "Array<any>"
1932
+ }
1933
+ },
1934
+ "parameters": [
1935
+ {
1936
+ "name": "newData",
1937
+ "type": {
1938
+ "text": "Array<any>"
1939
+ }
1940
+ },
1941
+ {
1942
+ "name": "oldData",
1943
+ "type": {
1944
+ "text": "Array<any>"
1945
+ }
1946
+ },
1947
+ {
1948
+ "name": "append",
1949
+ "default": "false"
1950
+ }
1951
+ ],
1952
+ "description": "Merges streamed data server rows into the existing list.\n\nNew INSERT rows are prepended by default so real-time alerts surface at the\ntop. When append is set (e.g. for `getMoreRows` pagination batches),\nrows are appended instead so they continue the existing order at the bottom."
1953
+ }
1954
+ ],
1955
+ "exports": [
1956
1956
  {
1957
1957
  "kind": "js",
1958
- "name": "getSeverityColor",
1958
+ "name": "updateArray",
1959
1959
  "declaration": {
1960
- "name": "getSeverityColor",
1961
- "module": "src/components/foundation-inbox/inbox.utils.ts"
1960
+ "name": "updateArray",
1961
+ "module": "src/utils/updateArray.ts"
1962
1962
  }
1963
1963
  }
1964
1964
  ]
@@ -3923,211 +3923,68 @@
3923
3923
  },
3924
3924
  {
3925
3925
  "kind": "variable",
3926
- "name": "SEVERITY_SERIOUS",
3927
- "type": {
3928
- "text": "string"
3929
- },
3930
- "default": "'SERIOUS'"
3931
- },
3932
- {
3933
- "kind": "variable",
3934
- "name": "SEVERITY_WARNING",
3935
- "type": {
3936
- "text": "string"
3937
- },
3938
- "default": "'WARNING'"
3939
- },
3940
- {
3941
- "kind": "variable",
3942
- "name": "ALL_SEVERITIES",
3943
- "type": {
3944
- "text": "[\n { type: SEVERITY_INFORMATION, text: 'Information' },\n { type: SEVERITY_WARNING, text: 'Warning' },\n { type: SEVERITY_SERIOUS, text: 'Serious' },\n { type: SEVERITY_CRITICAL, text: 'Critical' },\n]"
3945
- },
3946
- "default": "[\n { type: SEVERITY_INFORMATION, text: 'Information' },\n { type: SEVERITY_WARNING, text: 'Warning' },\n { type: SEVERITY_SERIOUS, text: 'Serious' },\n { type: SEVERITY_CRITICAL, text: 'Critical' },\n]"
3947
- }
3948
- ],
3949
- "exports": [
3950
- {
3951
- "kind": "js",
3952
- "name": "SEVERITY_INFORMATION",
3953
- "declaration": {
3954
- "name": "SEVERITY_INFORMATION",
3955
- "module": "src/components/foundation-notification-dashboard/types/severity.ts"
3956
- }
3957
- },
3958
- {
3959
- "kind": "js",
3960
- "name": "SEVERITY_CRITICAL",
3961
- "declaration": {
3962
- "name": "SEVERITY_CRITICAL",
3963
- "module": "src/components/foundation-notification-dashboard/types/severity.ts"
3964
- }
3965
- },
3966
- {
3967
- "kind": "js",
3968
- "name": "SEVERITY_SERIOUS",
3969
- "declaration": {
3970
- "name": "SEVERITY_SERIOUS",
3971
- "module": "src/components/foundation-notification-dashboard/types/severity.ts"
3972
- }
3973
- },
3974
- {
3975
- "kind": "js",
3976
- "name": "SEVERITY_WARNING",
3977
- "declaration": {
3978
- "name": "SEVERITY_WARNING",
3979
- "module": "src/components/foundation-notification-dashboard/types/severity.ts"
3980
- }
3981
- },
3982
- {
3983
- "kind": "js",
3984
- "name": "ALL_SEVERITIES",
3985
- "declaration": {
3986
- "name": "ALL_SEVERITIES",
3987
- "module": "src/components/foundation-notification-dashboard/types/severity.ts"
3988
- }
3989
- }
3990
- ]
3991
- },
3992
- {
3993
- "kind": "javascript-module",
3994
- "path": "src/components/foundation-inbox/components/foundation-inbox-counter/foundation-inbox-counter.styles.ts",
3995
- "declarations": [
3996
- {
3997
- "kind": "variable",
3998
- "name": "noItemsClass",
3926
+ "name": "SEVERITY_SERIOUS",
3999
3927
  "type": {
4000
3928
  "text": "string"
4001
3929
  },
4002
- "default": "'no-items'",
4003
- "description": "Class to use when there are no items"
3930
+ "default": "'SERIOUS'"
4004
3931
  },
4005
3932
  {
4006
3933
  "kind": "variable",
4007
- "name": "FoundationInboxCounterStyles",
4008
- "default": "css`\n :host {\n display: inline-block;\n min-width: 16px;\n height: 16px;\n border-radius: 9px;\n text-align: center;\n color: #fff;\n line-height: 16px;\n font-size: 9px;\n font-weight: 700;\n background: ${BACKGROUND_COLOR};\n pointer-events: none;\n }\n\n .hidden {\n visibility: hidden;\n }\n\n :host(.${noItemsClass}) {\n display: none;\n }\n`"
3934
+ "name": "SEVERITY_WARNING",
3935
+ "type": {
3936
+ "text": "string"
3937
+ },
3938
+ "default": "'WARNING'"
3939
+ },
3940
+ {
3941
+ "kind": "variable",
3942
+ "name": "ALL_SEVERITIES",
3943
+ "type": {
3944
+ "text": "[\n { type: SEVERITY_INFORMATION, text: 'Information' },\n { type: SEVERITY_WARNING, text: 'Warning' },\n { type: SEVERITY_SERIOUS, text: 'Serious' },\n { type: SEVERITY_CRITICAL, text: 'Critical' },\n]"
3945
+ },
3946
+ "default": "[\n { type: SEVERITY_INFORMATION, text: 'Information' },\n { type: SEVERITY_WARNING, text: 'Warning' },\n { type: SEVERITY_SERIOUS, text: 'Serious' },\n { type: SEVERITY_CRITICAL, text: 'Critical' },\n]"
4009
3947
  }
4010
3948
  ],
4011
3949
  "exports": [
4012
3950
  {
4013
3951
  "kind": "js",
4014
- "name": "noItemsClass",
3952
+ "name": "SEVERITY_INFORMATION",
4015
3953
  "declaration": {
4016
- "name": "noItemsClass",
4017
- "module": "src/components/foundation-inbox/components/foundation-inbox-counter/foundation-inbox-counter.styles.ts"
3954
+ "name": "SEVERITY_INFORMATION",
3955
+ "module": "src/components/foundation-notification-dashboard/types/severity.ts"
4018
3956
  }
4019
3957
  },
4020
3958
  {
4021
3959
  "kind": "js",
4022
- "name": "FoundationInboxCounterStyles",
3960
+ "name": "SEVERITY_CRITICAL",
4023
3961
  "declaration": {
4024
- "name": "FoundationInboxCounterStyles",
4025
- "module": "src/components/foundation-inbox/components/foundation-inbox-counter/foundation-inbox-counter.styles.ts"
3962
+ "name": "SEVERITY_CRITICAL",
3963
+ "module": "src/components/foundation-notification-dashboard/types/severity.ts"
4026
3964
  }
4027
- }
4028
- ]
4029
- },
4030
- {
4031
- "kind": "javascript-module",
4032
- "path": "src/components/foundation-inbox/components/foundation-inbox-counter/foundation-inbox-counter.template.ts",
4033
- "declarations": [
4034
- {
4035
- "kind": "variable",
4036
- "name": "FoundationInboxCounterTemplate",
4037
- "default": "html<FoundationInboxCounter>`\n <template class=\"${(x) => classNames([noItemsClass, x.value < 1])}\">\n ${when(\n (x) => x.value > 0,\n html`\n ${(x) => (x.value > MAX_NUMBER_TO_DISPLAY ? `${MAX_NUMBER_TO_DISPLAY}+` : x.value)}\n `,\n )}\n </template>\n`"
4038
- }
4039
- ],
4040
- "exports": [
3965
+ },
4041
3966
  {
4042
3967
  "kind": "js",
4043
- "name": "FoundationInboxCounterTemplate",
3968
+ "name": "SEVERITY_SERIOUS",
4044
3969
  "declaration": {
4045
- "name": "FoundationInboxCounterTemplate",
4046
- "module": "src/components/foundation-inbox/components/foundation-inbox-counter/foundation-inbox-counter.template.ts"
3970
+ "name": "SEVERITY_SERIOUS",
3971
+ "module": "src/components/foundation-notification-dashboard/types/severity.ts"
4047
3972
  }
4048
- }
4049
- ]
4050
- },
4051
- {
4052
- "kind": "javascript-module",
4053
- "path": "src/components/foundation-inbox/components/foundation-inbox-counter/foundation-inbox-counter.ts",
4054
- "declarations": [
4055
- {
4056
- "kind": "class",
4057
- "description": "",
4058
- "name": "FoundationInboxCounter",
4059
- "members": [
4060
- {
4061
- "kind": "field",
4062
- "name": "value",
4063
- "type": {
4064
- "text": "number"
4065
- },
4066
- "default": "0"
4067
- },
4068
- {
4069
- "kind": "field",
4070
- "name": "connect",
4071
- "type": {
4072
- "text": "Connect"
4073
- }
4074
- },
4075
- {
4076
- "kind": "field",
4077
- "name": "inboxService",
4078
- "type": {
4079
- "text": "FoundationInboxService"
4080
- }
4081
- },
4082
- {
4083
- "kind": "field",
4084
- "name": "connectionSub",
4085
- "type": {
4086
- "text": "Subscription"
4087
- },
4088
- "privacy": "private"
4089
- },
4090
- {
4091
- "kind": "method",
4092
- "name": "subscribeToAlerts",
4093
- "privacy": "private",
4094
- "return": {
4095
- "type": {
4096
- "text": "Promise<void>"
4097
- }
4098
- },
4099
- "description": "Subscribes to alerts from the inbox service"
4100
- },
4101
- {
4102
- "kind": "field",
4103
- "name": "subscriptionHandler",
4104
- "privacy": "private",
4105
- "description": "Handles subscription updates from the inbox service"
4106
- }
4107
- ],
4108
- "superclass": {
4109
- "name": "GenesisElement",
4110
- "package": "@genesislcap/web-core"
4111
- },
4112
- "tagName": "foundation-inbox-counter",
4113
- "customElement": true
4114
- }
4115
- ],
4116
- "exports": [
3973
+ },
4117
3974
  {
4118
3975
  "kind": "js",
4119
- "name": "FoundationInboxCounter",
3976
+ "name": "SEVERITY_WARNING",
4120
3977
  "declaration": {
4121
- "name": "FoundationInboxCounter",
4122
- "module": "src/components/foundation-inbox/components/foundation-inbox-counter/foundation-inbox-counter.ts"
3978
+ "name": "SEVERITY_WARNING",
3979
+ "module": "src/components/foundation-notification-dashboard/types/severity.ts"
4123
3980
  }
4124
3981
  },
4125
3982
  {
4126
- "kind": "custom-element-definition",
4127
- "name": "foundation-inbox-counter",
3983
+ "kind": "js",
3984
+ "name": "ALL_SEVERITIES",
4128
3985
  "declaration": {
4129
- "name": "FoundationInboxCounter",
4130
- "module": "src/components/foundation-inbox/components/foundation-inbox-counter/foundation-inbox-counter.ts"
3986
+ "name": "ALL_SEVERITIES",
3987
+ "module": "src/components/foundation-notification-dashboard/types/severity.ts"
4131
3988
  }
4132
3989
  }
4133
3990
  ]
@@ -5408,40 +5265,183 @@
5408
5265
  ],
5409
5266
  "attributes": [
5410
5267
  {
5411
- "name": "template",
5412
- "fieldName": "template"
5268
+ "name": "template",
5269
+ "fieldName": "template"
5270
+ },
5271
+ {
5272
+ "type": {
5273
+ "text": "boolean"
5274
+ },
5275
+ "default": "false",
5276
+ "fieldName": "inline"
5277
+ }
5278
+ ],
5279
+ "superclass": {
5280
+ "name": "GenesisElement",
5281
+ "package": "@genesislcap/web-core"
5282
+ },
5283
+ "tagName": "inbox-subscription",
5284
+ "customElement": true
5285
+ }
5286
+ ],
5287
+ "exports": [
5288
+ {
5289
+ "kind": "js",
5290
+ "name": "InboxSubscription",
5291
+ "declaration": {
5292
+ "name": "InboxSubscription",
5293
+ "module": "src/components/foundation-inbox/components/inbox-subscription/inbox-subscription.ts"
5294
+ }
5295
+ },
5296
+ {
5297
+ "kind": "custom-element-definition",
5298
+ "name": "inbox-subscription",
5299
+ "declaration": {
5300
+ "name": "InboxSubscription",
5301
+ "module": "src/components/foundation-inbox/components/inbox-subscription/inbox-subscription.ts"
5302
+ }
5303
+ }
5304
+ ]
5305
+ },
5306
+ {
5307
+ "kind": "javascript-module",
5308
+ "path": "src/components/foundation-inbox/components/foundation-inbox-counter/foundation-inbox-counter.styles.ts",
5309
+ "declarations": [
5310
+ {
5311
+ "kind": "variable",
5312
+ "name": "noItemsClass",
5313
+ "type": {
5314
+ "text": "string"
5315
+ },
5316
+ "default": "'no-items'",
5317
+ "description": "Class to use when there are no items"
5318
+ },
5319
+ {
5320
+ "kind": "variable",
5321
+ "name": "FoundationInboxCounterStyles",
5322
+ "default": "css`\n :host {\n display: inline-block;\n min-width: 16px;\n height: 16px;\n border-radius: 9px;\n text-align: center;\n color: #fff;\n line-height: 16px;\n font-size: 9px;\n font-weight: 700;\n background: ${BACKGROUND_COLOR};\n pointer-events: none;\n }\n\n .hidden {\n visibility: hidden;\n }\n\n :host(.${noItemsClass}) {\n display: none;\n }\n`"
5323
+ }
5324
+ ],
5325
+ "exports": [
5326
+ {
5327
+ "kind": "js",
5328
+ "name": "noItemsClass",
5329
+ "declaration": {
5330
+ "name": "noItemsClass",
5331
+ "module": "src/components/foundation-inbox/components/foundation-inbox-counter/foundation-inbox-counter.styles.ts"
5332
+ }
5333
+ },
5334
+ {
5335
+ "kind": "js",
5336
+ "name": "FoundationInboxCounterStyles",
5337
+ "declaration": {
5338
+ "name": "FoundationInboxCounterStyles",
5339
+ "module": "src/components/foundation-inbox/components/foundation-inbox-counter/foundation-inbox-counter.styles.ts"
5340
+ }
5341
+ }
5342
+ ]
5343
+ },
5344
+ {
5345
+ "kind": "javascript-module",
5346
+ "path": "src/components/foundation-inbox/components/foundation-inbox-counter/foundation-inbox-counter.template.ts",
5347
+ "declarations": [
5348
+ {
5349
+ "kind": "variable",
5350
+ "name": "FoundationInboxCounterTemplate",
5351
+ "default": "html<FoundationInboxCounter>`\n <template class=\"${(x) => classNames([noItemsClass, x.value < 1])}\">\n ${when(\n (x) => x.value > 0,\n html`\n ${(x) => (x.value > MAX_NUMBER_TO_DISPLAY ? `${MAX_NUMBER_TO_DISPLAY}+` : x.value)}\n `,\n )}\n </template>\n`"
5352
+ }
5353
+ ],
5354
+ "exports": [
5355
+ {
5356
+ "kind": "js",
5357
+ "name": "FoundationInboxCounterTemplate",
5358
+ "declaration": {
5359
+ "name": "FoundationInboxCounterTemplate",
5360
+ "module": "src/components/foundation-inbox/components/foundation-inbox-counter/foundation-inbox-counter.template.ts"
5361
+ }
5362
+ }
5363
+ ]
5364
+ },
5365
+ {
5366
+ "kind": "javascript-module",
5367
+ "path": "src/components/foundation-inbox/components/foundation-inbox-counter/foundation-inbox-counter.ts",
5368
+ "declarations": [
5369
+ {
5370
+ "kind": "class",
5371
+ "description": "",
5372
+ "name": "FoundationInboxCounter",
5373
+ "members": [
5374
+ {
5375
+ "kind": "field",
5376
+ "name": "value",
5377
+ "type": {
5378
+ "text": "number"
5379
+ },
5380
+ "default": "0"
5381
+ },
5382
+ {
5383
+ "kind": "field",
5384
+ "name": "connect",
5385
+ "type": {
5386
+ "text": "Connect"
5387
+ }
5388
+ },
5389
+ {
5390
+ "kind": "field",
5391
+ "name": "inboxService",
5392
+ "type": {
5393
+ "text": "FoundationInboxService"
5394
+ }
5413
5395
  },
5414
5396
  {
5397
+ "kind": "field",
5398
+ "name": "connectionSub",
5415
5399
  "type": {
5416
- "text": "boolean"
5400
+ "text": "Subscription"
5417
5401
  },
5418
- "default": "false",
5419
- "fieldName": "inline"
5402
+ "privacy": "private"
5403
+ },
5404
+ {
5405
+ "kind": "method",
5406
+ "name": "subscribeToAlerts",
5407
+ "privacy": "private",
5408
+ "return": {
5409
+ "type": {
5410
+ "text": "Promise<void>"
5411
+ }
5412
+ },
5413
+ "description": "Subscribes to alerts from the inbox service"
5414
+ },
5415
+ {
5416
+ "kind": "field",
5417
+ "name": "subscriptionHandler",
5418
+ "privacy": "private",
5419
+ "description": "Handles subscription updates from the inbox service"
5420
5420
  }
5421
5421
  ],
5422
5422
  "superclass": {
5423
5423
  "name": "GenesisElement",
5424
5424
  "package": "@genesislcap/web-core"
5425
5425
  },
5426
- "tagName": "inbox-subscription",
5426
+ "tagName": "foundation-inbox-counter",
5427
5427
  "customElement": true
5428
5428
  }
5429
5429
  ],
5430
5430
  "exports": [
5431
5431
  {
5432
5432
  "kind": "js",
5433
- "name": "InboxSubscription",
5433
+ "name": "FoundationInboxCounter",
5434
5434
  "declaration": {
5435
- "name": "InboxSubscription",
5436
- "module": "src/components/foundation-inbox/components/inbox-subscription/inbox-subscription.ts"
5435
+ "name": "FoundationInboxCounter",
5436
+ "module": "src/components/foundation-inbox/components/foundation-inbox-counter/foundation-inbox-counter.ts"
5437
5437
  }
5438
5438
  },
5439
5439
  {
5440
5440
  "kind": "custom-element-definition",
5441
- "name": "inbox-subscription",
5441
+ "name": "foundation-inbox-counter",
5442
5442
  "declaration": {
5443
- "name": "InboxSubscription",
5444
- "module": "src/components/foundation-inbox/components/inbox-subscription/inbox-subscription.ts"
5443
+ "name": "FoundationInboxCounter",
5444
+ "module": "src/components/foundation-inbox/components/foundation-inbox-counter/foundation-inbox-counter.ts"
5445
5445
  }
5446
5446
  }
5447
5447
  ]
@@ -7268,268 +7268,54 @@
7268
7268
  },
7269
7269
  {
7270
7270
  "kind": "method",
7271
- "name": "deleteChild",
7272
- "parameters": [
7273
- {
7274
- "name": "deletedChild",
7275
- "type": {
7276
- "text": "ConditionNode"
7277
- }
7278
- }
7279
- ]
7280
- },
7281
- {
7282
- "kind": "method",
7283
- "name": "deleteSelf"
7284
- }
7285
- ],
7286
- "events": [
7287
- {
7288
- "description": "Fired when this whole group should be removed",
7289
- "name": "delete"
7290
- },
7291
- {
7292
- "description": "Fired when anything inside this group changes",
7293
- "name": "edit"
7294
- }
7295
- ],
7296
- "superclass": {
7297
- "name": "GenesisElement",
7298
- "package": "@genesislcap/web-core"
7299
- },
7300
- "tagName": "rule-condition-group",
7301
- "customElement": true
7302
- }
7303
- ],
7304
- "exports": [
7305
- {
7306
- "kind": "js",
7307
- "name": "RuleConditionGroup",
7308
- "declaration": {
7309
- "name": "RuleConditionGroup",
7310
- "module": "src/components/foundation-notification-dashboard/components/rules/rule-dialog/rule-condition-group/rule-condition-group.ts"
7311
- }
7312
- },
7313
- {
7314
- "kind": "custom-element-definition",
7315
- "name": "rule-condition-group",
7316
- "declaration": {
7317
- "name": "RuleConditionGroup",
7318
- "module": "src/components/foundation-notification-dashboard/components/rules/rule-dialog/rule-condition-group/rule-condition-group.ts"
7319
- }
7320
- }
7321
- ]
7322
- },
7323
- {
7324
- "kind": "javascript-module",
7325
- "path": "src/components/foundation-notification-dashboard/components/templates/template-dialog/parameter-builder/parameter-builder.styles.ts",
7326
- "declarations": [
7327
- {
7328
- "kind": "variable",
7329
- "name": "ParameterBuilderStyles",
7330
- "default": "css`\n .parameter-builder {\n display: flex;\n gap: calc(var(--design-unit) * 2px);\n margin-bottom: calc(var(--design-unit) * 2px);\n }\n\n rapid-button {\n margin: 0;\n }\n\n .delete {\n margin: 0;\n display: flex;\n justify-content: center;\n height: calc(var(--design-unit) * 9px);\n }\n\n .delete:hover {\n background-color: color-mix(in srgb, var(--neutral-foreground-rest), transparent 89%);\n }\n\n rapid-text-field {\n width: 100%;\n margin-bottom: 0;\n }\n\n rapid-text-field::part(root) {\n height: calc(var(--design-unit) * 9px);\n }\n\n rapid-select {\n min-width: auto;\n }\n\n rapid-select.param-type::part(control) {\n width: 115px;\n }\n\n rapid-select.param-source-type::part(control) {\n width: 160px;\n }\n\n rapid-select.param-source::part(control) {\n width: ${PARAM_SOURCE_WIDTH}px;\n }\n\n rapid-text-field.param-source::part(root) {\n width: calc(${PARAM_SOURCE_WIDTH}px + 2px);\n }\n\n rapid-select::part(listbox) {\n max-height: 160px;\n }\n`"
7331
- }
7332
- ],
7333
- "exports": [
7334
- {
7335
- "kind": "js",
7336
- "name": "ParameterBuilderStyles",
7337
- "declaration": {
7338
- "name": "ParameterBuilderStyles",
7339
- "module": "src/components/foundation-notification-dashboard/components/templates/template-dialog/parameter-builder/parameter-builder.styles.ts"
7340
- }
7341
- }
7342
- ]
7343
- },
7344
- {
7345
- "kind": "javascript-module",
7346
- "path": "src/components/foundation-notification-dashboard/components/templates/template-dialog/parameter-builder/parameter-builder.template.ts",
7347
- "declarations": [
7348
- {
7349
- "kind": "variable",
7350
- "name": "ParameterBuilderTemplate",
7351
- "default": "html<ParameterBuilder>`\n <div class=\"parameter-builder\">\n <rapid-text-field\n id=\"param-name\"\n placeholder=\"Name\"\n :value=${sync((x) => x.name)}\n ></rapid-text-field>\n\n <rapid-text-field\n id=\"param-label\"\n placeholder=\"Label\"\n :value=${sync((x) => x.label)}\n ></rapid-text-field>\n\n <rapid-select\n id=\"param-source-type\"\n :value=${sync((x) => x.sourceType)}\n class=\"param-source-type\"\n >\n ${repeat(\n (x) => ALL_PARAM_SOURCE_TYPES,\n html`\n <rapid-option value=${(x) => x}>${(x) => x}</rapid-option>\n `,\n )}\n </rapid-select>\n\n ${when(\n (x) => x.sourceType === PARAM_SOURCE_TYPE_USER_TEXT,\n html<ParameterBuilder>`\n <rapid-text-field class=\"param-source\" disabled></rapid-text-field>\n `,\n )}\n ${when(\n (x) => x.sourceType === PARAM_SOURCE_TYPE_REQ_REP,\n html<ParameterBuilder>`\n <rapid-select\n ${ref('sourceSelect')}\n id=\"param-source\"\n :value=${sync((x) => x.sourceSelected)}\n class=\"param-source\"\n ?disabled=${(x) => x.sourceType !== PARAM_SOURCE_TYPE_REQ_REP}\n >\n ${repeat(\n (x) => x.reqRepItems,\n html`\n <rapid-option value=${(x) => x}>${(x) => x}</rapid-option>\n `,\n )}\n </rapid-select>\n `,\n )}\n ${when(\n (x) => x.sourceType === PARAM_SOURCE_TYPE_DEFINED_GROUP,\n html<ParameterBuilder>`\n <rapid-text-field\n ${ref('sourceTextField')}\n class=\"param-source\"\n placeholder=\"item1,item2,item3\"\n :value=${sync((x) => x.sourceTyped)}\n ></rapid-text-field>\n `,\n )}\n\n <rapid-select id=\"param-type\" :value=${sync((x) => x.type)} class=\"param-type\">\n ${repeat(\n (x) => ALL_PARAM_TYPES,\n html`\n <rapid-option value=${(x) => x}>${(x) => x}</rapid-option>\n `,\n )}\n </rapid-select>\n\n <rapid-button appearance=\"icon\" class=\"delete\" @click=${(x) => x.deleteParameter()}>\n <rapid-icon\n style=\"opacity: 0.5\"\n variant=\"regular\"\n name=\"trash-alt\"\n size=\"lg\"\n part=\"icon\"\n ></rapid-icon>\n </rapid-button>\n </div>\n`"
7352
- }
7353
- ],
7354
- "exports": [
7355
- {
7356
- "kind": "js",
7357
- "name": "ParameterBuilderTemplate",
7358
- "declaration": {
7359
- "name": "ParameterBuilderTemplate",
7360
- "module": "src/components/foundation-notification-dashboard/components/templates/template-dialog/parameter-builder/parameter-builder.template.ts"
7361
- }
7362
- }
7363
- ]
7364
- },
7365
- {
7366
- "kind": "javascript-module",
7367
- "path": "src/components/foundation-notification-dashboard/components/templates/template-dialog/parameter-builder/parameter-builder.ts",
7368
- "declarations": [
7369
- {
7370
- "kind": "class",
7371
- "description": "Parameter builder for notification templates.",
7372
- "name": "ParameterBuilder",
7373
- "members": [
7374
- {
7375
- "kind": "field",
7376
- "name": "parameter",
7377
- "type": {
7378
- "text": "ParameterBuilderEntity"
7379
- }
7380
- },
7381
- {
7382
- "kind": "field",
7383
- "name": "name",
7384
- "type": {
7385
- "text": "string"
7386
- }
7387
- },
7388
- {
7389
- "kind": "field",
7390
- "name": "label",
7391
- "type": {
7392
- "text": "string"
7393
- }
7394
- },
7395
- {
7396
- "kind": "field",
7397
- "name": "type",
7398
- "type": {
7399
- "text": "string"
7400
- }
7401
- },
7402
- {
7403
- "kind": "field",
7404
- "name": "sourceType",
7405
- "type": {
7406
- "text": "string"
7407
- }
7408
- },
7409
- {
7410
- "kind": "field",
7411
- "name": "sourceSelected",
7412
- "type": {
7413
- "text": "string"
7414
- }
7415
- },
7416
- {
7417
- "kind": "field",
7418
- "name": "sourceTyped",
7419
- "type": {
7420
- "text": "string"
7421
- }
7422
- },
7423
- {
7424
- "kind": "field",
7425
- "name": "sourceTextField",
7426
- "type": {
7427
- "text": "TextField"
7428
- }
7429
- },
7430
- {
7431
- "kind": "field",
7432
- "name": "sourceSelect",
7433
- "type": {
7434
- "text": "Select"
7435
- }
7436
- },
7437
- {
7438
- "kind": "field",
7439
- "name": "reqRepItems",
7440
- "type": {
7441
- "text": "array"
7442
- },
7443
- "default": "['REQUEST_1', 'REQUEST_2', 'REQUEST_3']"
7444
- },
7445
- {
7446
- "kind": "method",
7447
- "name": "deleteParameter"
7448
- },
7449
- {
7450
- "kind": "method",
7451
- "name": "parameterChanged"
7452
- },
7453
- {
7454
- "kind": "method",
7455
- "name": "nameChanged"
7456
- },
7457
- {
7458
- "kind": "method",
7459
- "name": "labelChanged"
7460
- },
7461
- {
7462
- "kind": "method",
7463
- "name": "typeChanged"
7464
- },
7465
- {
7466
- "kind": "method",
7467
- "name": "sourceTypeChanged"
7468
- },
7469
- {
7470
- "kind": "method",
7471
- "name": "sourceSelectedChanged"
7472
- },
7473
- {
7474
- "kind": "method",
7475
- "name": "sourceTypedChanged"
7476
- },
7477
- {
7478
- "kind": "method",
7479
- "name": "genericChanged",
7480
- "privacy": "private",
7271
+ "name": "deleteChild",
7481
7272
  "parameters": [
7482
7273
  {
7483
- "name": "parameterAttribute"
7484
- },
7485
- {
7486
- "name": "value"
7274
+ "name": "deletedChild",
7275
+ "type": {
7276
+ "text": "ConditionNode"
7277
+ }
7487
7278
  }
7488
7279
  ]
7280
+ },
7281
+ {
7282
+ "kind": "method",
7283
+ "name": "deleteSelf"
7489
7284
  }
7490
7285
  ],
7491
7286
  "events": [
7492
7287
  {
7493
- "description": "Fired when a parameter is deleted. detail: `ParameterBuilderEntity`",
7288
+ "description": "Fired when this whole group should be removed",
7494
7289
  "name": "delete"
7495
7290
  },
7496
7291
  {
7497
- "description": "Fired when a parameter is edited. detail: `ParameterBuilderEntity`",
7292
+ "description": "Fired when anything inside this group changes",
7498
7293
  "name": "edit"
7499
7294
  }
7500
7295
  ],
7501
- "attributes": [
7502
- {
7503
- "name": "parameter",
7504
- "type": {
7505
- "text": "ParameterBuilderEntity"
7506
- },
7507
- "fieldName": "parameter"
7508
- }
7509
- ],
7510
7296
  "superclass": {
7511
7297
  "name": "GenesisElement",
7512
7298
  "package": "@genesislcap/web-core"
7513
7299
  },
7514
- "tagName": "parameter-builder",
7300
+ "tagName": "rule-condition-group",
7515
7301
  "customElement": true
7516
7302
  }
7517
7303
  ],
7518
7304
  "exports": [
7519
7305
  {
7520
7306
  "kind": "js",
7521
- "name": "ParameterBuilder",
7307
+ "name": "RuleConditionGroup",
7522
7308
  "declaration": {
7523
- "name": "ParameterBuilder",
7524
- "module": "src/components/foundation-notification-dashboard/components/templates/template-dialog/parameter-builder/parameter-builder.ts"
7309
+ "name": "RuleConditionGroup",
7310
+ "module": "src/components/foundation-notification-dashboard/components/rules/rule-dialog/rule-condition-group/rule-condition-group.ts"
7525
7311
  }
7526
7312
  },
7527
7313
  {
7528
7314
  "kind": "custom-element-definition",
7529
- "name": "parameter-builder",
7315
+ "name": "rule-condition-group",
7530
7316
  "declaration": {
7531
- "name": "ParameterBuilder",
7532
- "module": "src/components/foundation-notification-dashboard/components/templates/template-dialog/parameter-builder/parameter-builder.ts"
7317
+ "name": "RuleConditionGroup",
7318
+ "module": "src/components/foundation-notification-dashboard/components/rules/rule-dialog/rule-condition-group/rule-condition-group.ts"
7533
7319
  }
7534
7320
  }
7535
7321
  ]
@@ -7826,6 +7612,220 @@
7826
7612
  }
7827
7613
  ]
7828
7614
  },
7615
+ {
7616
+ "kind": "javascript-module",
7617
+ "path": "src/components/foundation-notification-dashboard/components/templates/template-dialog/parameter-builder/parameter-builder.styles.ts",
7618
+ "declarations": [
7619
+ {
7620
+ "kind": "variable",
7621
+ "name": "ParameterBuilderStyles",
7622
+ "default": "css`\n .parameter-builder {\n display: flex;\n gap: calc(var(--design-unit) * 2px);\n margin-bottom: calc(var(--design-unit) * 2px);\n }\n\n rapid-button {\n margin: 0;\n }\n\n .delete {\n margin: 0;\n display: flex;\n justify-content: center;\n height: calc(var(--design-unit) * 9px);\n }\n\n .delete:hover {\n background-color: color-mix(in srgb, var(--neutral-foreground-rest), transparent 89%);\n }\n\n rapid-text-field {\n width: 100%;\n margin-bottom: 0;\n }\n\n rapid-text-field::part(root) {\n height: calc(var(--design-unit) * 9px);\n }\n\n rapid-select {\n min-width: auto;\n }\n\n rapid-select.param-type::part(control) {\n width: 115px;\n }\n\n rapid-select.param-source-type::part(control) {\n width: 160px;\n }\n\n rapid-select.param-source::part(control) {\n width: ${PARAM_SOURCE_WIDTH}px;\n }\n\n rapid-text-field.param-source::part(root) {\n width: calc(${PARAM_SOURCE_WIDTH}px + 2px);\n }\n\n rapid-select::part(listbox) {\n max-height: 160px;\n }\n`"
7623
+ }
7624
+ ],
7625
+ "exports": [
7626
+ {
7627
+ "kind": "js",
7628
+ "name": "ParameterBuilderStyles",
7629
+ "declaration": {
7630
+ "name": "ParameterBuilderStyles",
7631
+ "module": "src/components/foundation-notification-dashboard/components/templates/template-dialog/parameter-builder/parameter-builder.styles.ts"
7632
+ }
7633
+ }
7634
+ ]
7635
+ },
7636
+ {
7637
+ "kind": "javascript-module",
7638
+ "path": "src/components/foundation-notification-dashboard/components/templates/template-dialog/parameter-builder/parameter-builder.template.ts",
7639
+ "declarations": [
7640
+ {
7641
+ "kind": "variable",
7642
+ "name": "ParameterBuilderTemplate",
7643
+ "default": "html<ParameterBuilder>`\n <div class=\"parameter-builder\">\n <rapid-text-field\n id=\"param-name\"\n placeholder=\"Name\"\n :value=${sync((x) => x.name)}\n ></rapid-text-field>\n\n <rapid-text-field\n id=\"param-label\"\n placeholder=\"Label\"\n :value=${sync((x) => x.label)}\n ></rapid-text-field>\n\n <rapid-select\n id=\"param-source-type\"\n :value=${sync((x) => x.sourceType)}\n class=\"param-source-type\"\n >\n ${repeat(\n (x) => ALL_PARAM_SOURCE_TYPES,\n html`\n <rapid-option value=${(x) => x}>${(x) => x}</rapid-option>\n `,\n )}\n </rapid-select>\n\n ${when(\n (x) => x.sourceType === PARAM_SOURCE_TYPE_USER_TEXT,\n html<ParameterBuilder>`\n <rapid-text-field class=\"param-source\" disabled></rapid-text-field>\n `,\n )}\n ${when(\n (x) => x.sourceType === PARAM_SOURCE_TYPE_REQ_REP,\n html<ParameterBuilder>`\n <rapid-select\n ${ref('sourceSelect')}\n id=\"param-source\"\n :value=${sync((x) => x.sourceSelected)}\n class=\"param-source\"\n ?disabled=${(x) => x.sourceType !== PARAM_SOURCE_TYPE_REQ_REP}\n >\n ${repeat(\n (x) => x.reqRepItems,\n html`\n <rapid-option value=${(x) => x}>${(x) => x}</rapid-option>\n `,\n )}\n </rapid-select>\n `,\n )}\n ${when(\n (x) => x.sourceType === PARAM_SOURCE_TYPE_DEFINED_GROUP,\n html<ParameterBuilder>`\n <rapid-text-field\n ${ref('sourceTextField')}\n class=\"param-source\"\n placeholder=\"item1,item2,item3\"\n :value=${sync((x) => x.sourceTyped)}\n ></rapid-text-field>\n `,\n )}\n\n <rapid-select id=\"param-type\" :value=${sync((x) => x.type)} class=\"param-type\">\n ${repeat(\n (x) => ALL_PARAM_TYPES,\n html`\n <rapid-option value=${(x) => x}>${(x) => x}</rapid-option>\n `,\n )}\n </rapid-select>\n\n <rapid-button appearance=\"icon\" class=\"delete\" @click=${(x) => x.deleteParameter()}>\n <rapid-icon\n style=\"opacity: 0.5\"\n variant=\"regular\"\n name=\"trash-alt\"\n size=\"lg\"\n part=\"icon\"\n ></rapid-icon>\n </rapid-button>\n </div>\n`"
7644
+ }
7645
+ ],
7646
+ "exports": [
7647
+ {
7648
+ "kind": "js",
7649
+ "name": "ParameterBuilderTemplate",
7650
+ "declaration": {
7651
+ "name": "ParameterBuilderTemplate",
7652
+ "module": "src/components/foundation-notification-dashboard/components/templates/template-dialog/parameter-builder/parameter-builder.template.ts"
7653
+ }
7654
+ }
7655
+ ]
7656
+ },
7657
+ {
7658
+ "kind": "javascript-module",
7659
+ "path": "src/components/foundation-notification-dashboard/components/templates/template-dialog/parameter-builder/parameter-builder.ts",
7660
+ "declarations": [
7661
+ {
7662
+ "kind": "class",
7663
+ "description": "Parameter builder for notification templates.",
7664
+ "name": "ParameterBuilder",
7665
+ "members": [
7666
+ {
7667
+ "kind": "field",
7668
+ "name": "parameter",
7669
+ "type": {
7670
+ "text": "ParameterBuilderEntity"
7671
+ }
7672
+ },
7673
+ {
7674
+ "kind": "field",
7675
+ "name": "name",
7676
+ "type": {
7677
+ "text": "string"
7678
+ }
7679
+ },
7680
+ {
7681
+ "kind": "field",
7682
+ "name": "label",
7683
+ "type": {
7684
+ "text": "string"
7685
+ }
7686
+ },
7687
+ {
7688
+ "kind": "field",
7689
+ "name": "type",
7690
+ "type": {
7691
+ "text": "string"
7692
+ }
7693
+ },
7694
+ {
7695
+ "kind": "field",
7696
+ "name": "sourceType",
7697
+ "type": {
7698
+ "text": "string"
7699
+ }
7700
+ },
7701
+ {
7702
+ "kind": "field",
7703
+ "name": "sourceSelected",
7704
+ "type": {
7705
+ "text": "string"
7706
+ }
7707
+ },
7708
+ {
7709
+ "kind": "field",
7710
+ "name": "sourceTyped",
7711
+ "type": {
7712
+ "text": "string"
7713
+ }
7714
+ },
7715
+ {
7716
+ "kind": "field",
7717
+ "name": "sourceTextField",
7718
+ "type": {
7719
+ "text": "TextField"
7720
+ }
7721
+ },
7722
+ {
7723
+ "kind": "field",
7724
+ "name": "sourceSelect",
7725
+ "type": {
7726
+ "text": "Select"
7727
+ }
7728
+ },
7729
+ {
7730
+ "kind": "field",
7731
+ "name": "reqRepItems",
7732
+ "type": {
7733
+ "text": "array"
7734
+ },
7735
+ "default": "['REQUEST_1', 'REQUEST_2', 'REQUEST_3']"
7736
+ },
7737
+ {
7738
+ "kind": "method",
7739
+ "name": "deleteParameter"
7740
+ },
7741
+ {
7742
+ "kind": "method",
7743
+ "name": "parameterChanged"
7744
+ },
7745
+ {
7746
+ "kind": "method",
7747
+ "name": "nameChanged"
7748
+ },
7749
+ {
7750
+ "kind": "method",
7751
+ "name": "labelChanged"
7752
+ },
7753
+ {
7754
+ "kind": "method",
7755
+ "name": "typeChanged"
7756
+ },
7757
+ {
7758
+ "kind": "method",
7759
+ "name": "sourceTypeChanged"
7760
+ },
7761
+ {
7762
+ "kind": "method",
7763
+ "name": "sourceSelectedChanged"
7764
+ },
7765
+ {
7766
+ "kind": "method",
7767
+ "name": "sourceTypedChanged"
7768
+ },
7769
+ {
7770
+ "kind": "method",
7771
+ "name": "genericChanged",
7772
+ "privacy": "private",
7773
+ "parameters": [
7774
+ {
7775
+ "name": "parameterAttribute"
7776
+ },
7777
+ {
7778
+ "name": "value"
7779
+ }
7780
+ ]
7781
+ }
7782
+ ],
7783
+ "events": [
7784
+ {
7785
+ "description": "Fired when a parameter is deleted. detail: `ParameterBuilderEntity`",
7786
+ "name": "delete"
7787
+ },
7788
+ {
7789
+ "description": "Fired when a parameter is edited. detail: `ParameterBuilderEntity`",
7790
+ "name": "edit"
7791
+ }
7792
+ ],
7793
+ "attributes": [
7794
+ {
7795
+ "name": "parameter",
7796
+ "type": {
7797
+ "text": "ParameterBuilderEntity"
7798
+ },
7799
+ "fieldName": "parameter"
7800
+ }
7801
+ ],
7802
+ "superclass": {
7803
+ "name": "GenesisElement",
7804
+ "package": "@genesislcap/web-core"
7805
+ },
7806
+ "tagName": "parameter-builder",
7807
+ "customElement": true
7808
+ }
7809
+ ],
7810
+ "exports": [
7811
+ {
7812
+ "kind": "js",
7813
+ "name": "ParameterBuilder",
7814
+ "declaration": {
7815
+ "name": "ParameterBuilder",
7816
+ "module": "src/components/foundation-notification-dashboard/components/templates/template-dialog/parameter-builder/parameter-builder.ts"
7817
+ }
7818
+ },
7819
+ {
7820
+ "kind": "custom-element-definition",
7821
+ "name": "parameter-builder",
7822
+ "declaration": {
7823
+ "name": "ParameterBuilder",
7824
+ "module": "src/components/foundation-notification-dashboard/components/templates/template-dialog/parameter-builder/parameter-builder.ts"
7825
+ }
7826
+ }
7827
+ ]
7828
+ },
7829
7829
  {
7830
7830
  "kind": "javascript-module",
7831
7831
  "path": "src/components/foundation-notification-dashboard/components/templates/template-dialog/template-condition-group/template-condition-group.template.ts",