@genesislcap/foundation-ui 14.310.1 → 14.310.2-alpha-956f0b8.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/custom-elements.json +680 -159
- package/dist/dts/index.d.ts +1 -0
- package/dist/dts/index.d.ts.map +1 -1
- package/dist/dts/utils/index.d.ts +1 -0
- package/dist/dts/utils/index.d.ts.map +1 -1
- package/dist/dts/utils/shortcut-manager/index.d.ts +3 -0
- package/dist/dts/utils/shortcut-manager/index.d.ts.map +1 -0
- package/dist/dts/utils/shortcut-manager/shortcut-listener.d.ts +16 -0
- package/dist/dts/utils/shortcut-manager/shortcut-listener.d.ts.map +1 -0
- package/dist/dts/utils/shortcut-manager/shortcut-manager.d.ts +78 -0
- package/dist/dts/utils/shortcut-manager/shortcut-manager.d.ts.map +1 -0
- package/dist/esm/index.js +1 -0
- package/dist/esm/utils/index.js +1 -0
- package/dist/esm/utils/shortcut-manager/index.js +2 -0
- package/dist/esm/utils/shortcut-manager/shortcut-listener.js +99 -0
- package/dist/esm/utils/shortcut-manager/shortcut-manager.js +248 -0
- package/package.json +18 -18
|
@@ -804,6 +804,14 @@
|
|
|
804
804
|
"package": "./utils/base-datasource"
|
|
805
805
|
}
|
|
806
806
|
},
|
|
807
|
+
{
|
|
808
|
+
"kind": "js",
|
|
809
|
+
"name": "*",
|
|
810
|
+
"declaration": {
|
|
811
|
+
"name": "*",
|
|
812
|
+
"package": "./utils/shortcut-manager"
|
|
813
|
+
}
|
|
814
|
+
},
|
|
807
815
|
{
|
|
808
816
|
"kind": "js",
|
|
809
817
|
"name": "getDesignSystemPrefix",
|
|
@@ -1257,7 +1265,158 @@
|
|
|
1257
1265
|
},
|
|
1258
1266
|
{
|
|
1259
1267
|
"kind": "javascript-module",
|
|
1260
|
-
"path": "src/
|
|
1268
|
+
"path": "src/accordion/accordion.styles.ts",
|
|
1269
|
+
"declarations": [
|
|
1270
|
+
{
|
|
1271
|
+
"kind": "function",
|
|
1272
|
+
"name": "foundationAccordionStyles",
|
|
1273
|
+
"return": {
|
|
1274
|
+
"type": {
|
|
1275
|
+
"text": "ElementStyles"
|
|
1276
|
+
}
|
|
1277
|
+
},
|
|
1278
|
+
"parameters": [
|
|
1279
|
+
{
|
|
1280
|
+
"name": "context",
|
|
1281
|
+
"type": {
|
|
1282
|
+
"text": "ElementDefinitionContext"
|
|
1283
|
+
}
|
|
1284
|
+
},
|
|
1285
|
+
{
|
|
1286
|
+
"name": "definition",
|
|
1287
|
+
"type": {
|
|
1288
|
+
"text": "FoundationElementDefinition"
|
|
1289
|
+
}
|
|
1290
|
+
}
|
|
1291
|
+
]
|
|
1292
|
+
}
|
|
1293
|
+
],
|
|
1294
|
+
"exports": [
|
|
1295
|
+
{
|
|
1296
|
+
"kind": "js",
|
|
1297
|
+
"name": "foundationAccordionStyles",
|
|
1298
|
+
"declaration": {
|
|
1299
|
+
"name": "foundationAccordionStyles",
|
|
1300
|
+
"module": "src/accordion/accordion.styles.ts"
|
|
1301
|
+
}
|
|
1302
|
+
}
|
|
1303
|
+
]
|
|
1304
|
+
},
|
|
1305
|
+
{
|
|
1306
|
+
"kind": "javascript-module",
|
|
1307
|
+
"path": "src/accordion/accordion.template.ts",
|
|
1308
|
+
"declarations": [
|
|
1309
|
+
{
|
|
1310
|
+
"kind": "function",
|
|
1311
|
+
"name": "foundationAccordionTemplate",
|
|
1312
|
+
"return": {
|
|
1313
|
+
"type": {
|
|
1314
|
+
"text": "ViewTemplate<Accordion>"
|
|
1315
|
+
}
|
|
1316
|
+
},
|
|
1317
|
+
"parameters": [
|
|
1318
|
+
{
|
|
1319
|
+
"name": "context",
|
|
1320
|
+
"type": {
|
|
1321
|
+
"text": "ElementDefinitionContext"
|
|
1322
|
+
}
|
|
1323
|
+
},
|
|
1324
|
+
{
|
|
1325
|
+
"name": "definition",
|
|
1326
|
+
"type": {
|
|
1327
|
+
"text": "FoundationElementDefinition"
|
|
1328
|
+
}
|
|
1329
|
+
}
|
|
1330
|
+
]
|
|
1331
|
+
}
|
|
1332
|
+
],
|
|
1333
|
+
"exports": [
|
|
1334
|
+
{
|
|
1335
|
+
"kind": "js",
|
|
1336
|
+
"name": "foundationAccordionTemplate",
|
|
1337
|
+
"declaration": {
|
|
1338
|
+
"name": "foundationAccordionTemplate",
|
|
1339
|
+
"module": "src/accordion/accordion.template.ts"
|
|
1340
|
+
}
|
|
1341
|
+
}
|
|
1342
|
+
]
|
|
1343
|
+
},
|
|
1344
|
+
{
|
|
1345
|
+
"kind": "javascript-module",
|
|
1346
|
+
"path": "src/accordion/accordion.ts",
|
|
1347
|
+
"declarations": [
|
|
1348
|
+
{
|
|
1349
|
+
"kind": "class",
|
|
1350
|
+
"description": "",
|
|
1351
|
+
"name": "Accordion",
|
|
1352
|
+
"superclass": {
|
|
1353
|
+
"name": "FASTAccordion",
|
|
1354
|
+
"package": "@microsoft/fast-foundation"
|
|
1355
|
+
},
|
|
1356
|
+
"tagName": "%%prefix%%-accordion",
|
|
1357
|
+
"customElement": true
|
|
1358
|
+
},
|
|
1359
|
+
{
|
|
1360
|
+
"kind": "variable",
|
|
1361
|
+
"name": "foundationAccordionShadowOptions",
|
|
1362
|
+
"type": {
|
|
1363
|
+
"text": "ShadowRootInit"
|
|
1364
|
+
},
|
|
1365
|
+
"default": "{\n delegatesFocus: true,\n mode: 'open',\n}"
|
|
1366
|
+
},
|
|
1367
|
+
{
|
|
1368
|
+
"kind": "variable",
|
|
1369
|
+
"name": "defaultAccordionConfig",
|
|
1370
|
+
"type": {
|
|
1371
|
+
"text": "object"
|
|
1372
|
+
},
|
|
1373
|
+
"default": "{}"
|
|
1374
|
+
},
|
|
1375
|
+
{
|
|
1376
|
+
"kind": "variable",
|
|
1377
|
+
"name": "foundationAccordion",
|
|
1378
|
+
"description": "The Foundation Accordion",
|
|
1379
|
+
"privacy": "public"
|
|
1380
|
+
}
|
|
1381
|
+
],
|
|
1382
|
+
"exports": [
|
|
1383
|
+
{
|
|
1384
|
+
"kind": "js",
|
|
1385
|
+
"name": "Accordion",
|
|
1386
|
+
"declaration": {
|
|
1387
|
+
"name": "Accordion",
|
|
1388
|
+
"module": "src/accordion/accordion.ts"
|
|
1389
|
+
}
|
|
1390
|
+
},
|
|
1391
|
+
{
|
|
1392
|
+
"kind": "js",
|
|
1393
|
+
"name": "foundationAccordionShadowOptions",
|
|
1394
|
+
"declaration": {
|
|
1395
|
+
"name": "foundationAccordionShadowOptions",
|
|
1396
|
+
"module": "src/accordion/accordion.ts"
|
|
1397
|
+
}
|
|
1398
|
+
},
|
|
1399
|
+
{
|
|
1400
|
+
"kind": "js",
|
|
1401
|
+
"name": "defaultAccordionConfig",
|
|
1402
|
+
"declaration": {
|
|
1403
|
+
"name": "defaultAccordionConfig",
|
|
1404
|
+
"module": "src/accordion/accordion.ts"
|
|
1405
|
+
}
|
|
1406
|
+
},
|
|
1407
|
+
{
|
|
1408
|
+
"kind": "js",
|
|
1409
|
+
"name": "foundationAccordion",
|
|
1410
|
+
"declaration": {
|
|
1411
|
+
"name": "foundationAccordion",
|
|
1412
|
+
"module": "src/accordion/accordion.ts"
|
|
1413
|
+
}
|
|
1414
|
+
}
|
|
1415
|
+
]
|
|
1416
|
+
},
|
|
1417
|
+
{
|
|
1418
|
+
"kind": "javascript-module",
|
|
1419
|
+
"path": "src/accordion/index.ts",
|
|
1261
1420
|
"declarations": [],
|
|
1262
1421
|
"exports": [
|
|
1263
1422
|
{
|
|
@@ -1265,7 +1424,7 @@
|
|
|
1265
1424
|
"name": "*",
|
|
1266
1425
|
"declaration": {
|
|
1267
1426
|
"name": "*",
|
|
1268
|
-
"package": "./
|
|
1427
|
+
"package": "./accordion.template"
|
|
1269
1428
|
}
|
|
1270
1429
|
},
|
|
1271
1430
|
{
|
|
@@ -1273,7 +1432,7 @@
|
|
|
1273
1432
|
"name": "*",
|
|
1274
1433
|
"declaration": {
|
|
1275
1434
|
"name": "*",
|
|
1276
|
-
"package": "./
|
|
1435
|
+
"package": "./accordion.styles"
|
|
1277
1436
|
}
|
|
1278
1437
|
},
|
|
1279
1438
|
{
|
|
@@ -1281,7 +1440,7 @@
|
|
|
1281
1440
|
"name": "*",
|
|
1282
1441
|
"declaration": {
|
|
1283
1442
|
"name": "*",
|
|
1284
|
-
"package": "./
|
|
1443
|
+
"package": "./accordion"
|
|
1285
1444
|
}
|
|
1286
1445
|
}
|
|
1287
1446
|
]
|
|
@@ -1682,158 +1841,7 @@
|
|
|
1682
1841
|
},
|
|
1683
1842
|
{
|
|
1684
1843
|
"kind": "javascript-module",
|
|
1685
|
-
"path": "src/
|
|
1686
|
-
"declarations": [
|
|
1687
|
-
{
|
|
1688
|
-
"kind": "function",
|
|
1689
|
-
"name": "foundationAccordionStyles",
|
|
1690
|
-
"return": {
|
|
1691
|
-
"type": {
|
|
1692
|
-
"text": "ElementStyles"
|
|
1693
|
-
}
|
|
1694
|
-
},
|
|
1695
|
-
"parameters": [
|
|
1696
|
-
{
|
|
1697
|
-
"name": "context",
|
|
1698
|
-
"type": {
|
|
1699
|
-
"text": "ElementDefinitionContext"
|
|
1700
|
-
}
|
|
1701
|
-
},
|
|
1702
|
-
{
|
|
1703
|
-
"name": "definition",
|
|
1704
|
-
"type": {
|
|
1705
|
-
"text": "FoundationElementDefinition"
|
|
1706
|
-
}
|
|
1707
|
-
}
|
|
1708
|
-
]
|
|
1709
|
-
}
|
|
1710
|
-
],
|
|
1711
|
-
"exports": [
|
|
1712
|
-
{
|
|
1713
|
-
"kind": "js",
|
|
1714
|
-
"name": "foundationAccordionStyles",
|
|
1715
|
-
"declaration": {
|
|
1716
|
-
"name": "foundationAccordionStyles",
|
|
1717
|
-
"module": "src/accordion/accordion.styles.ts"
|
|
1718
|
-
}
|
|
1719
|
-
}
|
|
1720
|
-
]
|
|
1721
|
-
},
|
|
1722
|
-
{
|
|
1723
|
-
"kind": "javascript-module",
|
|
1724
|
-
"path": "src/accordion/accordion.template.ts",
|
|
1725
|
-
"declarations": [
|
|
1726
|
-
{
|
|
1727
|
-
"kind": "function",
|
|
1728
|
-
"name": "foundationAccordionTemplate",
|
|
1729
|
-
"return": {
|
|
1730
|
-
"type": {
|
|
1731
|
-
"text": "ViewTemplate<Accordion>"
|
|
1732
|
-
}
|
|
1733
|
-
},
|
|
1734
|
-
"parameters": [
|
|
1735
|
-
{
|
|
1736
|
-
"name": "context",
|
|
1737
|
-
"type": {
|
|
1738
|
-
"text": "ElementDefinitionContext"
|
|
1739
|
-
}
|
|
1740
|
-
},
|
|
1741
|
-
{
|
|
1742
|
-
"name": "definition",
|
|
1743
|
-
"type": {
|
|
1744
|
-
"text": "FoundationElementDefinition"
|
|
1745
|
-
}
|
|
1746
|
-
}
|
|
1747
|
-
]
|
|
1748
|
-
}
|
|
1749
|
-
],
|
|
1750
|
-
"exports": [
|
|
1751
|
-
{
|
|
1752
|
-
"kind": "js",
|
|
1753
|
-
"name": "foundationAccordionTemplate",
|
|
1754
|
-
"declaration": {
|
|
1755
|
-
"name": "foundationAccordionTemplate",
|
|
1756
|
-
"module": "src/accordion/accordion.template.ts"
|
|
1757
|
-
}
|
|
1758
|
-
}
|
|
1759
|
-
]
|
|
1760
|
-
},
|
|
1761
|
-
{
|
|
1762
|
-
"kind": "javascript-module",
|
|
1763
|
-
"path": "src/accordion/accordion.ts",
|
|
1764
|
-
"declarations": [
|
|
1765
|
-
{
|
|
1766
|
-
"kind": "class",
|
|
1767
|
-
"description": "",
|
|
1768
|
-
"name": "Accordion",
|
|
1769
|
-
"superclass": {
|
|
1770
|
-
"name": "FASTAccordion",
|
|
1771
|
-
"package": "@microsoft/fast-foundation"
|
|
1772
|
-
},
|
|
1773
|
-
"tagName": "%%prefix%%-accordion",
|
|
1774
|
-
"customElement": true
|
|
1775
|
-
},
|
|
1776
|
-
{
|
|
1777
|
-
"kind": "variable",
|
|
1778
|
-
"name": "foundationAccordionShadowOptions",
|
|
1779
|
-
"type": {
|
|
1780
|
-
"text": "ShadowRootInit"
|
|
1781
|
-
},
|
|
1782
|
-
"default": "{\n delegatesFocus: true,\n mode: 'open',\n}"
|
|
1783
|
-
},
|
|
1784
|
-
{
|
|
1785
|
-
"kind": "variable",
|
|
1786
|
-
"name": "defaultAccordionConfig",
|
|
1787
|
-
"type": {
|
|
1788
|
-
"text": "object"
|
|
1789
|
-
},
|
|
1790
|
-
"default": "{}"
|
|
1791
|
-
},
|
|
1792
|
-
{
|
|
1793
|
-
"kind": "variable",
|
|
1794
|
-
"name": "foundationAccordion",
|
|
1795
|
-
"description": "The Foundation Accordion",
|
|
1796
|
-
"privacy": "public"
|
|
1797
|
-
}
|
|
1798
|
-
],
|
|
1799
|
-
"exports": [
|
|
1800
|
-
{
|
|
1801
|
-
"kind": "js",
|
|
1802
|
-
"name": "Accordion",
|
|
1803
|
-
"declaration": {
|
|
1804
|
-
"name": "Accordion",
|
|
1805
|
-
"module": "src/accordion/accordion.ts"
|
|
1806
|
-
}
|
|
1807
|
-
},
|
|
1808
|
-
{
|
|
1809
|
-
"kind": "js",
|
|
1810
|
-
"name": "foundationAccordionShadowOptions",
|
|
1811
|
-
"declaration": {
|
|
1812
|
-
"name": "foundationAccordionShadowOptions",
|
|
1813
|
-
"module": "src/accordion/accordion.ts"
|
|
1814
|
-
}
|
|
1815
|
-
},
|
|
1816
|
-
{
|
|
1817
|
-
"kind": "js",
|
|
1818
|
-
"name": "defaultAccordionConfig",
|
|
1819
|
-
"declaration": {
|
|
1820
|
-
"name": "defaultAccordionConfig",
|
|
1821
|
-
"module": "src/accordion/accordion.ts"
|
|
1822
|
-
}
|
|
1823
|
-
},
|
|
1824
|
-
{
|
|
1825
|
-
"kind": "js",
|
|
1826
|
-
"name": "foundationAccordion",
|
|
1827
|
-
"declaration": {
|
|
1828
|
-
"name": "foundationAccordion",
|
|
1829
|
-
"module": "src/accordion/accordion.ts"
|
|
1830
|
-
}
|
|
1831
|
-
}
|
|
1832
|
-
]
|
|
1833
|
-
},
|
|
1834
|
-
{
|
|
1835
|
-
"kind": "javascript-module",
|
|
1836
|
-
"path": "src/accordion/index.ts",
|
|
1844
|
+
"path": "src/_config/index.ts",
|
|
1837
1845
|
"declarations": [],
|
|
1838
1846
|
"exports": [
|
|
1839
1847
|
{
|
|
@@ -1841,7 +1849,7 @@
|
|
|
1841
1849
|
"name": "*",
|
|
1842
1850
|
"declaration": {
|
|
1843
1851
|
"name": "*",
|
|
1844
|
-
"package": "./
|
|
1852
|
+
"package": "./styles"
|
|
1845
1853
|
}
|
|
1846
1854
|
},
|
|
1847
1855
|
{
|
|
@@ -1849,7 +1857,7 @@
|
|
|
1849
1857
|
"name": "*",
|
|
1850
1858
|
"declaration": {
|
|
1851
1859
|
"name": "*",
|
|
1852
|
-
"package": "./
|
|
1860
|
+
"package": "./tokens"
|
|
1853
1861
|
}
|
|
1854
1862
|
},
|
|
1855
1863
|
{
|
|
@@ -1857,7 +1865,7 @@
|
|
|
1857
1865
|
"name": "*",
|
|
1858
1866
|
"declaration": {
|
|
1859
1867
|
"name": "*",
|
|
1860
|
-
"package": "./
|
|
1868
|
+
"package": "./values"
|
|
1861
1869
|
}
|
|
1862
1870
|
}
|
|
1863
1871
|
]
|
|
@@ -49439,6 +49447,14 @@
|
|
|
49439
49447
|
"name": "*",
|
|
49440
49448
|
"package": "./options-datasource-utils"
|
|
49441
49449
|
}
|
|
49450
|
+
},
|
|
49451
|
+
{
|
|
49452
|
+
"kind": "js",
|
|
49453
|
+
"name": "*",
|
|
49454
|
+
"declaration": {
|
|
49455
|
+
"name": "*",
|
|
49456
|
+
"package": "./shortcut-manager"
|
|
49457
|
+
}
|
|
49442
49458
|
}
|
|
49443
49459
|
]
|
|
49444
49460
|
},
|
|
@@ -52453,6 +52469,511 @@
|
|
|
52453
52469
|
}
|
|
52454
52470
|
]
|
|
52455
52471
|
},
|
|
52472
|
+
{
|
|
52473
|
+
"kind": "javascript-module",
|
|
52474
|
+
"path": "src/utils/shortcut-manager/index.ts",
|
|
52475
|
+
"declarations": [],
|
|
52476
|
+
"exports": [
|
|
52477
|
+
{
|
|
52478
|
+
"kind": "js",
|
|
52479
|
+
"name": "*",
|
|
52480
|
+
"declaration": {
|
|
52481
|
+
"name": "*",
|
|
52482
|
+
"package": "./shortcut-manager"
|
|
52483
|
+
}
|
|
52484
|
+
},
|
|
52485
|
+
{
|
|
52486
|
+
"kind": "js",
|
|
52487
|
+
"name": "*",
|
|
52488
|
+
"declaration": {
|
|
52489
|
+
"name": "*",
|
|
52490
|
+
"package": "./shortcut-listener"
|
|
52491
|
+
}
|
|
52492
|
+
}
|
|
52493
|
+
]
|
|
52494
|
+
},
|
|
52495
|
+
{
|
|
52496
|
+
"kind": "javascript-module",
|
|
52497
|
+
"path": "src/utils/shortcut-manager/shortcut-listener.ts",
|
|
52498
|
+
"declarations": [
|
|
52499
|
+
{
|
|
52500
|
+
"kind": "class",
|
|
52501
|
+
"description": "",
|
|
52502
|
+
"name": "FoundationShortcutListener",
|
|
52503
|
+
"members": [
|
|
52504
|
+
{
|
|
52505
|
+
"kind": "field",
|
|
52506
|
+
"name": "shortcutManager",
|
|
52507
|
+
"type": {
|
|
52508
|
+
"text": "ShortcutManager"
|
|
52509
|
+
}
|
|
52510
|
+
},
|
|
52511
|
+
{
|
|
52512
|
+
"kind": "field",
|
|
52513
|
+
"name": "keyListener",
|
|
52514
|
+
"type": {
|
|
52515
|
+
"text": "((event: KeyboardEvent) => void) | null"
|
|
52516
|
+
},
|
|
52517
|
+
"privacy": "private",
|
|
52518
|
+
"default": "null"
|
|
52519
|
+
},
|
|
52520
|
+
{
|
|
52521
|
+
"kind": "field",
|
|
52522
|
+
"name": "isListening",
|
|
52523
|
+
"type": {
|
|
52524
|
+
"text": "boolean"
|
|
52525
|
+
},
|
|
52526
|
+
"privacy": "private",
|
|
52527
|
+
"default": "false"
|
|
52528
|
+
},
|
|
52529
|
+
{
|
|
52530
|
+
"kind": "method",
|
|
52531
|
+
"name": "setupStateSubscription",
|
|
52532
|
+
"privacy": "private"
|
|
52533
|
+
},
|
|
52534
|
+
{
|
|
52535
|
+
"kind": "method",
|
|
52536
|
+
"name": "cleanupStateSubscription",
|
|
52537
|
+
"privacy": "private"
|
|
52538
|
+
},
|
|
52539
|
+
{
|
|
52540
|
+
"kind": "method",
|
|
52541
|
+
"name": "addKeyListener",
|
|
52542
|
+
"privacy": "private"
|
|
52543
|
+
},
|
|
52544
|
+
{
|
|
52545
|
+
"kind": "method",
|
|
52546
|
+
"name": "removeKeyListener",
|
|
52547
|
+
"privacy": "private"
|
|
52548
|
+
},
|
|
52549
|
+
{
|
|
52550
|
+
"kind": "method",
|
|
52551
|
+
"name": "handleKeyDown",
|
|
52552
|
+
"privacy": "private",
|
|
52553
|
+
"parameters": [
|
|
52554
|
+
{
|
|
52555
|
+
"name": "event",
|
|
52556
|
+
"type": {
|
|
52557
|
+
"text": "KeyboardEvent"
|
|
52558
|
+
}
|
|
52559
|
+
}
|
|
52560
|
+
]
|
|
52561
|
+
},
|
|
52562
|
+
{
|
|
52563
|
+
"kind": "method",
|
|
52564
|
+
"name": "isInputElement",
|
|
52565
|
+
"privacy": "private",
|
|
52566
|
+
"return": {
|
|
52567
|
+
"type": {
|
|
52568
|
+
"text": "boolean"
|
|
52569
|
+
}
|
|
52570
|
+
},
|
|
52571
|
+
"parameters": [
|
|
52572
|
+
{
|
|
52573
|
+
"name": "element",
|
|
52574
|
+
"type": {
|
|
52575
|
+
"text": "HTMLElement | null"
|
|
52576
|
+
}
|
|
52577
|
+
}
|
|
52578
|
+
]
|
|
52579
|
+
}
|
|
52580
|
+
],
|
|
52581
|
+
"superclass": {
|
|
52582
|
+
"name": "FASTElement",
|
|
52583
|
+
"package": "@microsoft/fast-element"
|
|
52584
|
+
},
|
|
52585
|
+
"customElement": true
|
|
52586
|
+
}
|
|
52587
|
+
],
|
|
52588
|
+
"exports": [
|
|
52589
|
+
{
|
|
52590
|
+
"kind": "js",
|
|
52591
|
+
"name": "FoundationShortcutListener",
|
|
52592
|
+
"declaration": {
|
|
52593
|
+
"name": "FoundationShortcutListener",
|
|
52594
|
+
"module": "src/utils/shortcut-manager/shortcut-listener.ts"
|
|
52595
|
+
}
|
|
52596
|
+
},
|
|
52597
|
+
{
|
|
52598
|
+
"kind": "custom-element-definition",
|
|
52599
|
+
"name": "foundation-shortcut-listener",
|
|
52600
|
+
"declaration": {
|
|
52601
|
+
"name": "FoundationShortcutListener",
|
|
52602
|
+
"module": "src/utils/shortcut-manager/shortcut-listener.ts"
|
|
52603
|
+
}
|
|
52604
|
+
}
|
|
52605
|
+
]
|
|
52606
|
+
},
|
|
52607
|
+
{
|
|
52608
|
+
"kind": "javascript-module",
|
|
52609
|
+
"path": "src/utils/shortcut-manager/shortcut-manager.ts",
|
|
52610
|
+
"declarations": [
|
|
52611
|
+
{
|
|
52612
|
+
"kind": "class",
|
|
52613
|
+
"description": "",
|
|
52614
|
+
"name": "DefaultShortcutManager",
|
|
52615
|
+
"members": [
|
|
52616
|
+
{
|
|
52617
|
+
"kind": "field",
|
|
52618
|
+
"name": "shortcuts",
|
|
52619
|
+
"privacy": "private",
|
|
52620
|
+
"default": "new Map<string, Map<string, ShortcutDefinition>>()"
|
|
52621
|
+
},
|
|
52622
|
+
{
|
|
52623
|
+
"kind": "field",
|
|
52624
|
+
"name": "shortcutLookup",
|
|
52625
|
+
"privacy": "private",
|
|
52626
|
+
"default": "new Map<string, ShortcutDefinition>()"
|
|
52627
|
+
},
|
|
52628
|
+
{
|
|
52629
|
+
"kind": "field",
|
|
52630
|
+
"name": "keyCombinationMap",
|
|
52631
|
+
"privacy": "private",
|
|
52632
|
+
"default": "new Map<string, Set<string>>()"
|
|
52633
|
+
},
|
|
52634
|
+
{
|
|
52635
|
+
"kind": "field",
|
|
52636
|
+
"name": "_isPausedSubject",
|
|
52637
|
+
"privacy": "private",
|
|
52638
|
+
"default": "new BehaviorSubject<boolean>(false)"
|
|
52639
|
+
},
|
|
52640
|
+
{
|
|
52641
|
+
"kind": "field",
|
|
52642
|
+
"name": "_activeContext",
|
|
52643
|
+
"type": {
|
|
52644
|
+
"text": "string | undefined"
|
|
52645
|
+
},
|
|
52646
|
+
"privacy": "private"
|
|
52647
|
+
},
|
|
52648
|
+
{
|
|
52649
|
+
"kind": "field",
|
|
52650
|
+
"name": "isPaused",
|
|
52651
|
+
"type": {
|
|
52652
|
+
"text": "boolean"
|
|
52653
|
+
},
|
|
52654
|
+
"readonly": true
|
|
52655
|
+
},
|
|
52656
|
+
{
|
|
52657
|
+
"kind": "field",
|
|
52658
|
+
"name": "isPaused$",
|
|
52659
|
+
"type": {
|
|
52660
|
+
"text": "Observable<boolean>"
|
|
52661
|
+
},
|
|
52662
|
+
"readonly": true
|
|
52663
|
+
},
|
|
52664
|
+
{
|
|
52665
|
+
"kind": "field",
|
|
52666
|
+
"name": "isPausedSubject",
|
|
52667
|
+
"type": {
|
|
52668
|
+
"text": "BehaviorSubject<boolean>"
|
|
52669
|
+
},
|
|
52670
|
+
"readonly": true
|
|
52671
|
+
},
|
|
52672
|
+
{
|
|
52673
|
+
"kind": "method",
|
|
52674
|
+
"name": "registerShortcuts",
|
|
52675
|
+
"return": {
|
|
52676
|
+
"type": {
|
|
52677
|
+
"text": "void"
|
|
52678
|
+
}
|
|
52679
|
+
},
|
|
52680
|
+
"parameters": [
|
|
52681
|
+
{
|
|
52682
|
+
"name": "shortcuts",
|
|
52683
|
+
"type": {
|
|
52684
|
+
"text": "ShortcutDefinition[]"
|
|
52685
|
+
}
|
|
52686
|
+
}
|
|
52687
|
+
]
|
|
52688
|
+
},
|
|
52689
|
+
{
|
|
52690
|
+
"kind": "method",
|
|
52691
|
+
"name": "registerShortcut",
|
|
52692
|
+
"return": {
|
|
52693
|
+
"type": {
|
|
52694
|
+
"text": "ShortcutRegistrationResult"
|
|
52695
|
+
}
|
|
52696
|
+
},
|
|
52697
|
+
"parameters": [
|
|
52698
|
+
{
|
|
52699
|
+
"name": "shortcut",
|
|
52700
|
+
"type": {
|
|
52701
|
+
"text": "ShortcutDefinition"
|
|
52702
|
+
}
|
|
52703
|
+
}
|
|
52704
|
+
]
|
|
52705
|
+
},
|
|
52706
|
+
{
|
|
52707
|
+
"kind": "method",
|
|
52708
|
+
"name": "unregisterShortcut",
|
|
52709
|
+
"return": {
|
|
52710
|
+
"type": {
|
|
52711
|
+
"text": "void"
|
|
52712
|
+
}
|
|
52713
|
+
},
|
|
52714
|
+
"parameters": [
|
|
52715
|
+
{
|
|
52716
|
+
"name": "context",
|
|
52717
|
+
"type": {
|
|
52718
|
+
"text": "string"
|
|
52719
|
+
}
|
|
52720
|
+
},
|
|
52721
|
+
{
|
|
52722
|
+
"name": "id",
|
|
52723
|
+
"type": {
|
|
52724
|
+
"text": "string"
|
|
52725
|
+
}
|
|
52726
|
+
}
|
|
52727
|
+
]
|
|
52728
|
+
},
|
|
52729
|
+
{
|
|
52730
|
+
"kind": "method",
|
|
52731
|
+
"name": "unregisterShortcutsByContext",
|
|
52732
|
+
"return": {
|
|
52733
|
+
"type": {
|
|
52734
|
+
"text": "void"
|
|
52735
|
+
}
|
|
52736
|
+
},
|
|
52737
|
+
"parameters": [
|
|
52738
|
+
{
|
|
52739
|
+
"name": "context",
|
|
52740
|
+
"type": {
|
|
52741
|
+
"text": "string"
|
|
52742
|
+
}
|
|
52743
|
+
}
|
|
52744
|
+
]
|
|
52745
|
+
},
|
|
52746
|
+
{
|
|
52747
|
+
"kind": "method",
|
|
52748
|
+
"name": "executeShortcut",
|
|
52749
|
+
"return": {
|
|
52750
|
+
"type": {
|
|
52751
|
+
"text": "void"
|
|
52752
|
+
}
|
|
52753
|
+
},
|
|
52754
|
+
"parameters": [
|
|
52755
|
+
{
|
|
52756
|
+
"name": "context",
|
|
52757
|
+
"type": {
|
|
52758
|
+
"text": "string"
|
|
52759
|
+
}
|
|
52760
|
+
},
|
|
52761
|
+
{
|
|
52762
|
+
"name": "id",
|
|
52763
|
+
"type": {
|
|
52764
|
+
"text": "string"
|
|
52765
|
+
}
|
|
52766
|
+
}
|
|
52767
|
+
]
|
|
52768
|
+
},
|
|
52769
|
+
{
|
|
52770
|
+
"kind": "method",
|
|
52771
|
+
"name": "getShortcuts",
|
|
52772
|
+
"return": {
|
|
52773
|
+
"type": {
|
|
52774
|
+
"text": "ShortcutDefinition[]"
|
|
52775
|
+
}
|
|
52776
|
+
}
|
|
52777
|
+
},
|
|
52778
|
+
{
|
|
52779
|
+
"kind": "method",
|
|
52780
|
+
"name": "getShortcutsByContext",
|
|
52781
|
+
"return": {
|
|
52782
|
+
"type": {
|
|
52783
|
+
"text": "ShortcutDefinition[]"
|
|
52784
|
+
}
|
|
52785
|
+
},
|
|
52786
|
+
"parameters": [
|
|
52787
|
+
{
|
|
52788
|
+
"name": "context",
|
|
52789
|
+
"type": {
|
|
52790
|
+
"text": "string"
|
|
52791
|
+
}
|
|
52792
|
+
}
|
|
52793
|
+
]
|
|
52794
|
+
},
|
|
52795
|
+
{
|
|
52796
|
+
"kind": "method",
|
|
52797
|
+
"name": "findShortcutByKeyCombination",
|
|
52798
|
+
"return": {
|
|
52799
|
+
"type": {
|
|
52800
|
+
"text": "ShortcutDefinition | undefined"
|
|
52801
|
+
}
|
|
52802
|
+
},
|
|
52803
|
+
"parameters": [
|
|
52804
|
+
{
|
|
52805
|
+
"name": "key",
|
|
52806
|
+
"type": {
|
|
52807
|
+
"text": "string"
|
|
52808
|
+
}
|
|
52809
|
+
},
|
|
52810
|
+
{
|
|
52811
|
+
"name": "ctrlKey",
|
|
52812
|
+
"default": "false"
|
|
52813
|
+
},
|
|
52814
|
+
{
|
|
52815
|
+
"name": "altKey",
|
|
52816
|
+
"default": "false"
|
|
52817
|
+
},
|
|
52818
|
+
{
|
|
52819
|
+
"name": "shiftKey",
|
|
52820
|
+
"default": "false"
|
|
52821
|
+
},
|
|
52822
|
+
{
|
|
52823
|
+
"name": "metaKey",
|
|
52824
|
+
"default": "false"
|
|
52825
|
+
}
|
|
52826
|
+
]
|
|
52827
|
+
},
|
|
52828
|
+
{
|
|
52829
|
+
"kind": "method",
|
|
52830
|
+
"name": "getContexts",
|
|
52831
|
+
"return": {
|
|
52832
|
+
"type": {
|
|
52833
|
+
"text": "string[]"
|
|
52834
|
+
}
|
|
52835
|
+
}
|
|
52836
|
+
},
|
|
52837
|
+
{
|
|
52838
|
+
"kind": "method",
|
|
52839
|
+
"name": "getShortcutsByContextMap",
|
|
52840
|
+
"return": {
|
|
52841
|
+
"type": {
|
|
52842
|
+
"text": "Map<string, Map<string, ShortcutDefinition>>"
|
|
52843
|
+
}
|
|
52844
|
+
}
|
|
52845
|
+
},
|
|
52846
|
+
{
|
|
52847
|
+
"kind": "method",
|
|
52848
|
+
"name": "setActiveContext",
|
|
52849
|
+
"return": {
|
|
52850
|
+
"type": {
|
|
52851
|
+
"text": "void"
|
|
52852
|
+
}
|
|
52853
|
+
},
|
|
52854
|
+
"parameters": [
|
|
52855
|
+
{
|
|
52856
|
+
"name": "context",
|
|
52857
|
+
"type": {
|
|
52858
|
+
"text": "string"
|
|
52859
|
+
}
|
|
52860
|
+
}
|
|
52861
|
+
]
|
|
52862
|
+
},
|
|
52863
|
+
{
|
|
52864
|
+
"kind": "method",
|
|
52865
|
+
"name": "getActiveContext",
|
|
52866
|
+
"return": {
|
|
52867
|
+
"type": {
|
|
52868
|
+
"text": "string | undefined"
|
|
52869
|
+
}
|
|
52870
|
+
}
|
|
52871
|
+
},
|
|
52872
|
+
{
|
|
52873
|
+
"kind": "method",
|
|
52874
|
+
"name": "clearActiveContext",
|
|
52875
|
+
"return": {
|
|
52876
|
+
"type": {
|
|
52877
|
+
"text": "void"
|
|
52878
|
+
}
|
|
52879
|
+
}
|
|
52880
|
+
},
|
|
52881
|
+
{
|
|
52882
|
+
"kind": "method",
|
|
52883
|
+
"name": "pause",
|
|
52884
|
+
"return": {
|
|
52885
|
+
"type": {
|
|
52886
|
+
"text": "void"
|
|
52887
|
+
}
|
|
52888
|
+
}
|
|
52889
|
+
},
|
|
52890
|
+
{
|
|
52891
|
+
"kind": "method",
|
|
52892
|
+
"name": "resume",
|
|
52893
|
+
"return": {
|
|
52894
|
+
"type": {
|
|
52895
|
+
"text": "void"
|
|
52896
|
+
}
|
|
52897
|
+
}
|
|
52898
|
+
},
|
|
52899
|
+
{
|
|
52900
|
+
"kind": "method",
|
|
52901
|
+
"name": "createKeyCombinationKey",
|
|
52902
|
+
"privacy": "private",
|
|
52903
|
+
"return": {
|
|
52904
|
+
"type": {
|
|
52905
|
+
"text": "string"
|
|
52906
|
+
}
|
|
52907
|
+
},
|
|
52908
|
+
"parameters": [
|
|
52909
|
+
{
|
|
52910
|
+
"name": "key",
|
|
52911
|
+
"type": {
|
|
52912
|
+
"text": "string"
|
|
52913
|
+
}
|
|
52914
|
+
},
|
|
52915
|
+
{
|
|
52916
|
+
"name": "ctrlKey",
|
|
52917
|
+
"default": "false"
|
|
52918
|
+
},
|
|
52919
|
+
{
|
|
52920
|
+
"name": "altKey",
|
|
52921
|
+
"default": "false"
|
|
52922
|
+
},
|
|
52923
|
+
{
|
|
52924
|
+
"name": "shiftKey",
|
|
52925
|
+
"default": "false"
|
|
52926
|
+
},
|
|
52927
|
+
{
|
|
52928
|
+
"name": "metaKey",
|
|
52929
|
+
"default": "false"
|
|
52930
|
+
}
|
|
52931
|
+
]
|
|
52932
|
+
},
|
|
52933
|
+
{
|
|
52934
|
+
"kind": "method",
|
|
52935
|
+
"name": "isElementFocused",
|
|
52936
|
+
"privacy": "private",
|
|
52937
|
+
"return": {
|
|
52938
|
+
"type": {
|
|
52939
|
+
"text": "boolean"
|
|
52940
|
+
}
|
|
52941
|
+
},
|
|
52942
|
+
"parameters": [
|
|
52943
|
+
{
|
|
52944
|
+
"name": "element",
|
|
52945
|
+
"type": {
|
|
52946
|
+
"text": "HTMLElement | any"
|
|
52947
|
+
}
|
|
52948
|
+
}
|
|
52949
|
+
]
|
|
52950
|
+
}
|
|
52951
|
+
]
|
|
52952
|
+
},
|
|
52953
|
+
{
|
|
52954
|
+
"kind": "variable",
|
|
52955
|
+
"name": "ShortcutManager"
|
|
52956
|
+
}
|
|
52957
|
+
],
|
|
52958
|
+
"exports": [
|
|
52959
|
+
{
|
|
52960
|
+
"kind": "js",
|
|
52961
|
+
"name": "DefaultShortcutManager",
|
|
52962
|
+
"declaration": {
|
|
52963
|
+
"name": "DefaultShortcutManager",
|
|
52964
|
+
"module": "src/utils/shortcut-manager/shortcut-manager.ts"
|
|
52965
|
+
}
|
|
52966
|
+
},
|
|
52967
|
+
{
|
|
52968
|
+
"kind": "js",
|
|
52969
|
+
"name": "ShortcutManager",
|
|
52970
|
+
"declaration": {
|
|
52971
|
+
"name": "ShortcutManager",
|
|
52972
|
+
"module": "src/utils/shortcut-manager/shortcut-manager.ts"
|
|
52973
|
+
}
|
|
52974
|
+
}
|
|
52975
|
+
]
|
|
52976
|
+
},
|
|
52456
52977
|
{
|
|
52457
52978
|
"kind": "javascript-module",
|
|
52458
52979
|
"path": "src/_config/styles/external/index.ts",
|