@genesislcap/foundation-utils 14.320.1-alpha-9a9ec86.0 → 14.320.2-alpha-e69dcb3.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.
Files changed (58) hide show
  1. package/dist/custom-elements.json +70 -688
  2. package/dist/dts/index.d.ts +0 -1
  3. package/dist/dts/index.d.ts.map +1 -1
  4. package/dist/esm/index.js +0 -1
  5. package/dist/foundation-utils.api.json +0 -1217
  6. package/dist/foundation-utils.d.ts +0 -83
  7. package/docs/api/foundation-utils.md +0 -63
  8. package/docs/api-report.md.api.md +0 -90
  9. package/package.json +11 -11
  10. package/dist/dts/inactivity/inactivity-dialog.d.ts +0 -23
  11. package/dist/dts/inactivity/inactivity-dialog.d.ts.map +0 -1
  12. package/dist/dts/inactivity/inactivity-manager.d.ts +0 -24
  13. package/dist/dts/inactivity/inactivity-manager.d.ts.map +0 -1
  14. package/dist/dts/inactivity/inactivity-service.d.ts +0 -34
  15. package/dist/dts/inactivity/inactivity-service.d.ts.map +0 -1
  16. package/dist/dts/inactivity/index.d.ts +0 -4
  17. package/dist/dts/inactivity/index.d.ts.map +0 -1
  18. package/dist/esm/inactivity/inactivity-dialog.js +0 -213
  19. package/dist/esm/inactivity/inactivity-manager.js +0 -85
  20. package/dist/esm/inactivity/inactivity-service.js +0 -128
  21. package/dist/esm/inactivity/index.js +0 -3
  22. package/docs/api/foundation-utils.inactivityconfig.md +0 -71
  23. package/docs/api/foundation-utils.inactivityconfig.timeoutminutes.md +0 -11
  24. package/docs/api/foundation-utils.inactivityconfig.warningminutes.md +0 -11
  25. package/docs/api/foundation-utils.inactivitydialog.disconnectedcallback.md +0 -15
  26. package/docs/api/foundation-utils.inactivitydialog.handlecontinue.md +0 -15
  27. package/docs/api/foundation-utils.inactivitydialog.handlelogout.md +0 -15
  28. package/docs/api/foundation-utils.inactivitydialog.hide.md +0 -15
  29. package/docs/api/foundation-utils.inactivitydialog.isvisible.md +0 -11
  30. package/docs/api/foundation-utils.inactivitydialog.md +0 -152
  31. package/docs/api/foundation-utils.inactivitydialog.remainingseconds.md +0 -11
  32. package/docs/api/foundation-utils.inactivitydialog.show.md +0 -50
  33. package/docs/api/foundation-utils.inactivitydialogoptions.md +0 -88
  34. package/docs/api/foundation-utils.inactivitydialogoptions.oncontinue.md +0 -11
  35. package/docs/api/foundation-utils.inactivitydialogoptions.onlogout.md +0 -11
  36. package/docs/api/foundation-utils.inactivitydialogoptions.remainingseconds.md +0 -11
  37. package/docs/api/foundation-utils.inactivityevents._inactivity-reset_.md +0 -11
  38. package/docs/api/foundation-utils.inactivityevents._inactivity-timeout_.md +0 -11
  39. package/docs/api/foundation-utils.inactivityevents._inactivity-warning_.md +0 -13
  40. package/docs/api/foundation-utils.inactivityevents.md +0 -88
  41. package/docs/api/foundation-utils.inactivitymanager._constructor_.md +0 -48
  42. package/docs/api/foundation-utils.inactivitymanager.destroy.md +0 -15
  43. package/docs/api/foundation-utils.inactivitymanager.getservice.md +0 -15
  44. package/docs/api/foundation-utils.inactivitymanager.iswarningvisible.md +0 -15
  45. package/docs/api/foundation-utils.inactivitymanager.md +0 -138
  46. package/docs/api/foundation-utils.inactivitymanager.reset.md +0 -15
  47. package/docs/api/foundation-utils.inactivitymanager.start.md +0 -15
  48. package/docs/api/foundation-utils.inactivitymanager.stop.md +0 -15
  49. package/docs/api/foundation-utils.inactivitymanagerconfig.md +0 -55
  50. package/docs/api/foundation-utils.inactivitymanagerconfig.onlogout.md +0 -11
  51. package/docs/api/foundation-utils.inactivityservice._constructor_.md +0 -48
  52. package/docs/api/foundation-utils.inactivityservice.destroy.md +0 -15
  53. package/docs/api/foundation-utils.inactivityservice.md +0 -138
  54. package/docs/api/foundation-utils.inactivityservice.off.md +0 -64
  55. package/docs/api/foundation-utils.inactivityservice.on.md +0 -64
  56. package/docs/api/foundation-utils.inactivityservice.resettimer.md +0 -15
  57. package/docs/api/foundation-utils.inactivityservice.start.md +0 -15
  58. package/docs/api/foundation-utils.inactivityservice.stop.md +0 -15
@@ -174,13 +174,58 @@
174
174
  "name": "*",
175
175
  "package": "./window"
176
176
  }
177
- },
177
+ }
178
+ ]
179
+ },
180
+ {
181
+ "kind": "javascript-module",
182
+ "path": "src/decorators/index.ts",
183
+ "declarations": [],
184
+ "exports": [
178
185
  {
179
186
  "kind": "js",
180
187
  "name": "*",
181
188
  "declaration": {
182
189
  "name": "*",
183
- "package": "./inactivity"
190
+ "package": "./renderOnChange"
191
+ }
192
+ }
193
+ ]
194
+ },
195
+ {
196
+ "kind": "javascript-module",
197
+ "path": "src/decorators/renderOnChange.ts",
198
+ "declarations": [
199
+ {
200
+ "kind": "function",
201
+ "name": "renderOnChange",
202
+ "parameters": [
203
+ {
204
+ "name": "target",
205
+ "type": {
206
+ "text": "FASTElement & { render(): void }"
207
+ },
208
+ "description": "The target to define the property change handler on."
209
+ },
210
+ {
211
+ "name": "name",
212
+ "type": {
213
+ "text": "string"
214
+ },
215
+ "description": "The property name."
216
+ }
217
+ ],
218
+ "description": "Defines a property changed handler that calls a render() method on the target as an internal observation enhancement.",
219
+ "privacy": "public"
220
+ }
221
+ ],
222
+ "exports": [
223
+ {
224
+ "kind": "js",
225
+ "name": "renderOnChange",
226
+ "declaration": {
227
+ "name": "renderOnChange",
228
+ "module": "src/decorators/renderOnChange.ts"
184
229
  }
185
230
  }
186
231
  ]
@@ -383,6 +428,29 @@
383
428
  }
384
429
  ]
385
430
  },
431
+ {
432
+ "kind": "javascript-module",
433
+ "path": "src/directives/index.ts",
434
+ "declarations": [],
435
+ "exports": [
436
+ {
437
+ "kind": "js",
438
+ "name": "*",
439
+ "declaration": {
440
+ "name": "*",
441
+ "package": "./sync"
442
+ }
443
+ },
444
+ {
445
+ "kind": "js",
446
+ "name": "*",
447
+ "declaration": {
448
+ "name": "*",
449
+ "package": "./when-else"
450
+ }
451
+ }
452
+ ]
453
+ },
386
454
  {
387
455
  "kind": "javascript-module",
388
456
  "path": "src/design-system/design-system.ts",
@@ -503,82 +571,6 @@
503
571
  }
504
572
  ]
505
573
  },
506
- {
507
- "kind": "javascript-module",
508
- "path": "src/decorators/index.ts",
509
- "declarations": [],
510
- "exports": [
511
- {
512
- "kind": "js",
513
- "name": "*",
514
- "declaration": {
515
- "name": "*",
516
- "package": "./renderOnChange"
517
- }
518
- }
519
- ]
520
- },
521
- {
522
- "kind": "javascript-module",
523
- "path": "src/decorators/renderOnChange.ts",
524
- "declarations": [
525
- {
526
- "kind": "function",
527
- "name": "renderOnChange",
528
- "parameters": [
529
- {
530
- "name": "target",
531
- "type": {
532
- "text": "FASTElement & { render(): void }"
533
- },
534
- "description": "The target to define the property change handler on."
535
- },
536
- {
537
- "name": "name",
538
- "type": {
539
- "text": "string"
540
- },
541
- "description": "The property name."
542
- }
543
- ],
544
- "description": "Defines a property changed handler that calls a render() method on the target as an internal observation enhancement.",
545
- "privacy": "public"
546
- }
547
- ],
548
- "exports": [
549
- {
550
- "kind": "js",
551
- "name": "renderOnChange",
552
- "declaration": {
553
- "name": "renderOnChange",
554
- "module": "src/decorators/renderOnChange.ts"
555
- }
556
- }
557
- ]
558
- },
559
- {
560
- "kind": "javascript-module",
561
- "path": "src/directives/index.ts",
562
- "declarations": [],
563
- "exports": [
564
- {
565
- "kind": "js",
566
- "name": "*",
567
- "declaration": {
568
- "name": "*",
569
- "package": "./sync"
570
- }
571
- },
572
- {
573
- "kind": "js",
574
- "name": "*",
575
- "declaration": {
576
- "name": "*",
577
- "package": "./when-else"
578
- }
579
- }
580
- ]
581
- },
582
574
  {
583
575
  "kind": "javascript-module",
584
576
  "path": "src/encoding/index.ts",
@@ -1580,616 +1572,6 @@
1580
1572
  }
1581
1573
  ]
1582
1574
  },
1583
- {
1584
- "kind": "javascript-module",
1585
- "path": "src/inactivity/inactivity-dialog.ts",
1586
- "declarations": [
1587
- {
1588
- "kind": "class",
1589
- "description": "",
1590
- "name": "InactivityDialog",
1591
- "members": [
1592
- {
1593
- "kind": "field",
1594
- "name": "isVisible",
1595
- "type": {
1596
- "text": "boolean"
1597
- },
1598
- "default": "false"
1599
- },
1600
- {
1601
- "kind": "field",
1602
- "name": "remainingSeconds",
1603
- "type": {
1604
- "text": "number"
1605
- },
1606
- "default": "0"
1607
- },
1608
- {
1609
- "kind": "field",
1610
- "name": "onContinue",
1611
- "type": {
1612
- "text": "() => void | undefined"
1613
- },
1614
- "privacy": "private"
1615
- },
1616
- {
1617
- "kind": "field",
1618
- "name": "onLogout",
1619
- "type": {
1620
- "text": "() => void | undefined"
1621
- },
1622
- "privacy": "private"
1623
- },
1624
- {
1625
- "kind": "field",
1626
- "name": "countdownInterval",
1627
- "type": {
1628
- "text": "number | undefined"
1629
- },
1630
- "privacy": "private"
1631
- },
1632
- {
1633
- "kind": "field",
1634
- "name": "startTime",
1635
- "type": {
1636
- "text": "number"
1637
- },
1638
- "privacy": "private",
1639
- "default": "0"
1640
- },
1641
- {
1642
- "kind": "field",
1643
- "name": "totalSeconds",
1644
- "type": {
1645
- "text": "number"
1646
- },
1647
- "privacy": "private",
1648
- "default": "0"
1649
- },
1650
- {
1651
- "kind": "method",
1652
- "name": "show",
1653
- "privacy": "public",
1654
- "return": {
1655
- "type": {
1656
- "text": "void"
1657
- }
1658
- },
1659
- "parameters": [
1660
- {
1661
- "name": "options",
1662
- "type": {
1663
- "text": "InactivityDialogOptions"
1664
- }
1665
- }
1666
- ]
1667
- },
1668
- {
1669
- "kind": "method",
1670
- "name": "hide",
1671
- "privacy": "public",
1672
- "return": {
1673
- "type": {
1674
- "text": "void"
1675
- }
1676
- }
1677
- },
1678
- {
1679
- "kind": "method",
1680
- "name": "startCountdown",
1681
- "privacy": "private",
1682
- "return": {
1683
- "type": {
1684
- "text": "void"
1685
- }
1686
- }
1687
- },
1688
- {
1689
- "kind": "method",
1690
- "name": "stopCountdown",
1691
- "privacy": "private",
1692
- "return": {
1693
- "type": {
1694
- "text": "void"
1695
- }
1696
- }
1697
- },
1698
- {
1699
- "kind": "method",
1700
- "name": "handleContinue",
1701
- "privacy": "public",
1702
- "return": {
1703
- "type": {
1704
- "text": "void"
1705
- }
1706
- }
1707
- },
1708
- {
1709
- "kind": "method",
1710
- "name": "handleLogout",
1711
- "privacy": "public",
1712
- "return": {
1713
- "type": {
1714
- "text": "void"
1715
- }
1716
- }
1717
- }
1718
- ],
1719
- "superclass": {
1720
- "name": "FASTElement",
1721
- "package": "@microsoft/fast-element"
1722
- },
1723
- "tagName": "inactivity-dialog",
1724
- "customElement": true
1725
- }
1726
- ],
1727
- "exports": [
1728
- {
1729
- "kind": "js",
1730
- "name": "InactivityDialog",
1731
- "declaration": {
1732
- "name": "InactivityDialog",
1733
- "module": "src/inactivity/inactivity-dialog.ts"
1734
- }
1735
- },
1736
- {
1737
- "kind": "custom-element-definition",
1738
- "name": "inactivity-dialog",
1739
- "declaration": {
1740
- "name": "InactivityDialog",
1741
- "module": "src/inactivity/inactivity-dialog.ts"
1742
- }
1743
- }
1744
- ]
1745
- },
1746
- {
1747
- "kind": "javascript-module",
1748
- "path": "src/inactivity/inactivity-manager.ts",
1749
- "declarations": [
1750
- {
1751
- "kind": "class",
1752
- "description": "",
1753
- "name": "InactivityManager",
1754
- "members": [
1755
- {
1756
- "kind": "field",
1757
- "name": "service",
1758
- "type": {
1759
- "text": "InactivityService"
1760
- },
1761
- "privacy": "private",
1762
- "default": "new InactivityService({\n timeoutMinutes: config.timeoutMinutes,\n warningMinutes: config.warningMinutes,\n })"
1763
- },
1764
- {
1765
- "kind": "field",
1766
- "name": "dialog",
1767
- "type": {
1768
- "text": "InactivityDialog | null"
1769
- },
1770
- "privacy": "private",
1771
- "default": "null"
1772
- },
1773
- {
1774
- "kind": "field",
1775
- "name": "config",
1776
- "type": {
1777
- "text": "InactivityManagerConfig"
1778
- },
1779
- "privacy": "private",
1780
- "default": "config"
1781
- },
1782
- {
1783
- "kind": "field",
1784
- "name": "isDialogVisible",
1785
- "type": {
1786
- "text": "boolean"
1787
- },
1788
- "privacy": "private",
1789
- "default": "false"
1790
- },
1791
- {
1792
- "kind": "method",
1793
- "name": "setupEventListeners",
1794
- "privacy": "private",
1795
- "return": {
1796
- "type": {
1797
- "text": "void"
1798
- }
1799
- }
1800
- },
1801
- {
1802
- "kind": "method",
1803
- "name": "showWarningDialog",
1804
- "privacy": "private",
1805
- "return": {
1806
- "type": {
1807
- "text": "void"
1808
- }
1809
- },
1810
- "parameters": [
1811
- {
1812
- "name": "remainingSeconds",
1813
- "type": {
1814
- "text": "number"
1815
- }
1816
- }
1817
- ]
1818
- },
1819
- {
1820
- "kind": "method",
1821
- "name": "hideWarningDialog",
1822
- "privacy": "private",
1823
- "return": {
1824
- "type": {
1825
- "text": "void"
1826
- }
1827
- }
1828
- },
1829
- {
1830
- "kind": "method",
1831
- "name": "handleContinue",
1832
- "privacy": "private",
1833
- "return": {
1834
- "type": {
1835
- "text": "void"
1836
- }
1837
- }
1838
- },
1839
- {
1840
- "kind": "method",
1841
- "name": "handleLogout",
1842
- "privacy": "private",
1843
- "return": {
1844
- "type": {
1845
- "text": "void"
1846
- }
1847
- }
1848
- },
1849
- {
1850
- "kind": "method",
1851
- "name": "handleTimeout",
1852
- "privacy": "private",
1853
- "return": {
1854
- "type": {
1855
- "text": "void"
1856
- }
1857
- }
1858
- },
1859
- {
1860
- "kind": "method",
1861
- "name": "start",
1862
- "privacy": "public",
1863
- "return": {
1864
- "type": {
1865
- "text": "void"
1866
- }
1867
- }
1868
- },
1869
- {
1870
- "kind": "method",
1871
- "name": "stop",
1872
- "privacy": "public",
1873
- "return": {
1874
- "type": {
1875
- "text": "void"
1876
- }
1877
- }
1878
- },
1879
- {
1880
- "kind": "method",
1881
- "name": "reset",
1882
- "privacy": "public",
1883
- "return": {
1884
- "type": {
1885
- "text": "void"
1886
- }
1887
- }
1888
- },
1889
- {
1890
- "kind": "method",
1891
- "name": "destroy",
1892
- "privacy": "public",
1893
- "return": {
1894
- "type": {
1895
- "text": "void"
1896
- }
1897
- }
1898
- },
1899
- {
1900
- "kind": "method",
1901
- "name": "getService",
1902
- "privacy": "public",
1903
- "return": {
1904
- "type": {
1905
- "text": "InactivityService"
1906
- }
1907
- }
1908
- },
1909
- {
1910
- "kind": "method",
1911
- "name": "isWarningVisible",
1912
- "privacy": "public",
1913
- "return": {
1914
- "type": {
1915
- "text": "boolean"
1916
- }
1917
- }
1918
- }
1919
- ]
1920
- }
1921
- ],
1922
- "exports": [
1923
- {
1924
- "kind": "js",
1925
- "name": "InactivityManager",
1926
- "declaration": {
1927
- "name": "InactivityManager",
1928
- "module": "src/inactivity/inactivity-manager.ts"
1929
- }
1930
- }
1931
- ]
1932
- },
1933
- {
1934
- "kind": "javascript-module",
1935
- "path": "src/inactivity/inactivity-service.ts",
1936
- "declarations": [
1937
- {
1938
- "kind": "class",
1939
- "description": "",
1940
- "name": "InactivityService",
1941
- "members": [
1942
- {
1943
- "kind": "field",
1944
- "name": "config",
1945
- "type": {
1946
- "text": "InactivityConfig"
1947
- },
1948
- "privacy": "private",
1949
- "default": "config"
1950
- },
1951
- {
1952
- "kind": "field",
1953
- "name": "warningId",
1954
- "type": {
1955
- "text": "number | null"
1956
- },
1957
- "privacy": "private",
1958
- "default": "null"
1959
- },
1960
- {
1961
- "kind": "field",
1962
- "name": "timeoutId",
1963
- "type": {
1964
- "text": "number | null"
1965
- },
1966
- "privacy": "private",
1967
- "default": "null"
1968
- },
1969
- {
1970
- "kind": "field",
1971
- "name": "lastActivity",
1972
- "type": {
1973
- "text": "number"
1974
- },
1975
- "privacy": "private"
1976
- },
1977
- {
1978
- "kind": "field",
1979
- "name": "isActive",
1980
- "type": {
1981
- "text": "boolean"
1982
- },
1983
- "privacy": "private",
1984
- "default": "false"
1985
- },
1986
- {
1987
- "kind": "field",
1988
- "name": "eventListeners",
1989
- "type": {
1990
- "text": "Map<keyof InactivityEvents, EventListener[]>"
1991
- },
1992
- "privacy": "private",
1993
- "default": "new Map()"
1994
- },
1995
- {
1996
- "kind": "method",
1997
- "name": "setupActivityListeners",
1998
- "privacy": "private",
1999
- "return": {
2000
- "type": {
2001
- "text": "void"
2002
- }
2003
- }
2004
- },
2005
- {
2006
- "kind": "method",
2007
- "name": "checkTimeout",
2008
- "privacy": "private",
2009
- "return": {
2010
- "type": {
2011
- "text": "void"
2012
- }
2013
- }
2014
- },
2015
- {
2016
- "kind": "method",
2017
- "name": "on",
2018
- "privacy": "public",
2019
- "return": {
2020
- "type": {
2021
- "text": "void"
2022
- }
2023
- },
2024
- "parameters": [
2025
- {
2026
- "name": "event",
2027
- "type": {
2028
- "text": "K"
2029
- }
2030
- },
2031
- {
2032
- "name": "listener",
2033
- "type": {
2034
- "text": "EventListener<InactivityEvents[K]>"
2035
- }
2036
- }
2037
- ]
2038
- },
2039
- {
2040
- "kind": "method",
2041
- "name": "off",
2042
- "privacy": "public",
2043
- "return": {
2044
- "type": {
2045
- "text": "void"
2046
- }
2047
- },
2048
- "parameters": [
2049
- {
2050
- "name": "event",
2051
- "type": {
2052
- "text": "K"
2053
- }
2054
- },
2055
- {
2056
- "name": "listener",
2057
- "type": {
2058
- "text": "EventListener<InactivityEvents[K]>"
2059
- }
2060
- }
2061
- ]
2062
- },
2063
- {
2064
- "kind": "method",
2065
- "name": "emit",
2066
- "privacy": "private",
2067
- "return": {
2068
- "type": {
2069
- "text": "void"
2070
- }
2071
- },
2072
- "parameters": [
2073
- {
2074
- "name": "event",
2075
- "type": {
2076
- "text": "K"
2077
- }
2078
- },
2079
- {
2080
- "name": "data",
2081
- "optional": true,
2082
- "type": {
2083
- "text": "InactivityEvents[K]"
2084
- }
2085
- }
2086
- ]
2087
- },
2088
- {
2089
- "kind": "method",
2090
- "name": "start",
2091
- "privacy": "public",
2092
- "return": {
2093
- "type": {
2094
- "text": "void"
2095
- }
2096
- }
2097
- },
2098
- {
2099
- "kind": "method",
2100
- "name": "stop",
2101
- "privacy": "public",
2102
- "return": {
2103
- "type": {
2104
- "text": "void"
2105
- }
2106
- }
2107
- },
2108
- {
2109
- "kind": "method",
2110
- "name": "resetTimer",
2111
- "privacy": "public",
2112
- "return": {
2113
- "type": {
2114
- "text": "void"
2115
- }
2116
- }
2117
- },
2118
- {
2119
- "kind": "method",
2120
- "name": "scheduleTimers",
2121
- "privacy": "private",
2122
- "return": {
2123
- "type": {
2124
- "text": "void"
2125
- }
2126
- }
2127
- },
2128
- {
2129
- "kind": "method",
2130
- "name": "clearTimers",
2131
- "privacy": "private",
2132
- "return": {
2133
- "type": {
2134
- "text": "void"
2135
- }
2136
- }
2137
- },
2138
- {
2139
- "kind": "method",
2140
- "name": "destroy",
2141
- "privacy": "public",
2142
- "return": {
2143
- "type": {
2144
- "text": "void"
2145
- }
2146
- }
2147
- }
2148
- ]
2149
- }
2150
- ],
2151
- "exports": [
2152
- {
2153
- "kind": "js",
2154
- "name": "InactivityService",
2155
- "declaration": {
2156
- "name": "InactivityService",
2157
- "module": "src/inactivity/inactivity-service.ts"
2158
- }
2159
- }
2160
- ]
2161
- },
2162
- {
2163
- "kind": "javascript-module",
2164
- "path": "src/inactivity/index.ts",
2165
- "declarations": [],
2166
- "exports": [
2167
- {
2168
- "kind": "js",
2169
- "name": "*",
2170
- "declaration": {
2171
- "name": "*",
2172
- "package": "./inactivity-dialog"
2173
- }
2174
- },
2175
- {
2176
- "kind": "js",
2177
- "name": "*",
2178
- "declaration": {
2179
- "name": "*",
2180
- "package": "./inactivity-manager"
2181
- }
2182
- },
2183
- {
2184
- "kind": "js",
2185
- "name": "*",
2186
- "declaration": {
2187
- "name": "*",
2188
- "package": "./inactivity-service"
2189
- }
2190
- }
2191
- ]
2192
- },
2193
1575
  {
2194
1576
  "kind": "javascript-module",
2195
1577
  "path": "src/logger/index.ts",