@genesislcap/foundation-utils 14.311.0 → 14.311.1-alpha-3bdf18f.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 +830 -149
- package/dist/dts/index.d.ts +1 -0
- package/dist/dts/index.d.ts.map +1 -1
- package/dist/dts/shortcut-manager/index.d.ts +3 -0
- package/dist/dts/shortcut-manager/index.d.ts.map +1 -0
- package/dist/dts/shortcut-manager/shortcut-listener.d.ts +21 -0
- package/dist/dts/shortcut-manager/shortcut-listener.d.ts.map +1 -0
- package/dist/dts/shortcut-manager/shortcut-manager.d.ts +120 -0
- package/dist/dts/shortcut-manager/shortcut-manager.d.ts.map +1 -0
- package/dist/dts/utils/os-platform.d.ts +31 -0
- package/dist/dts/utils/os-platform.d.ts.map +1 -0
- package/dist/esm/index.js +1 -0
- package/dist/esm/shortcut-manager/index.js +2 -0
- package/dist/esm/shortcut-manager/shortcut-listener.js +140 -0
- package/dist/esm/shortcut-manager/shortcut-manager.js +286 -0
- package/dist/esm/utils/os-platform.js +63 -0
- package/dist/foundation-utils.api.json +8414 -5799
- package/dist/foundation-utils.d.ts +145 -0
- package/docs/api/foundation-utils.defaultshortcutmanager.clearactivecontext.md +15 -0
- package/docs/api/foundation-utils.defaultshortcutmanager.executeshortcut.md +50 -0
- package/docs/api/foundation-utils.defaultshortcutmanager.executeshortcutbycontext.md +64 -0
- package/docs/api/foundation-utils.defaultshortcutmanager.findshortcutbykeycombination.md +114 -0
- package/docs/api/foundation-utils.defaultshortcutmanager.getactivecontext.md +15 -0
- package/docs/api/foundation-utils.defaultshortcutmanager.getcontexts.md +15 -0
- package/docs/api/foundation-utils.defaultshortcutmanager.getshortcuts.md +15 -0
- package/docs/api/foundation-utils.defaultshortcutmanager.getshortcutsbycontext.md +50 -0
- package/docs/api/foundation-utils.defaultshortcutmanager.getshortcutsbycontextmap.md +15 -0
- package/docs/api/foundation-utils.defaultshortcutmanager.ispaused.md +11 -0
- package/docs/api/foundation-utils.defaultshortcutmanager.ispaused_.md +11 -0
- package/docs/api/foundation-utils.defaultshortcutmanager.ispausedsubject.md +11 -0
- package/docs/api/foundation-utils.defaultshortcutmanager.md +321 -0
- package/docs/api/foundation-utils.defaultshortcutmanager.pause.md +15 -0
- package/docs/api/foundation-utils.defaultshortcutmanager.registercontext.md +50 -0
- package/docs/api/foundation-utils.defaultshortcutmanager.registershortcut.md +50 -0
- package/docs/api/foundation-utils.defaultshortcutmanager.registershortcuts.md +50 -0
- package/docs/api/foundation-utils.defaultshortcutmanager.resume.md +15 -0
- package/docs/api/foundation-utils.defaultshortcutmanager.setactivecontext.md +50 -0
- package/docs/api/foundation-utils.defaultshortcutmanager.unregistershortcut.md +64 -0
- package/docs/api/foundation-utils.defaultshortcutmanager.unregistershortcutsbycontext.md +50 -0
- package/docs/api/foundation-utils.foundationshortcutlistener.connectedcallback.md +15 -0
- package/docs/api/foundation-utils.foundationshortcutlistener.disconnectedcallback.md +15 -0
- package/docs/api/foundation-utils.foundationshortcutlistener.md +105 -0
- package/docs/api/foundation-utils.foundationshortcutlistener.shortcutmanager.md +11 -0
- package/docs/api/foundation-utils.md +77 -0
- package/docs/api/foundation-utils.shortcutdefinition.action.md +11 -0
- package/docs/api/foundation-utils.shortcutdefinition.altkey.md +11 -0
- package/docs/api/foundation-utils.shortcutdefinition.canexecute.md +11 -0
- package/docs/api/foundation-utils.shortcutdefinition.context.md +11 -0
- package/docs/api/foundation-utils.shortcutdefinition.ctrlkey.md +11 -0
- package/docs/api/foundation-utils.shortcutdefinition.description.md +11 -0
- package/docs/api/foundation-utils.shortcutdefinition.elementref.md +11 -0
- package/docs/api/foundation-utils.shortcutdefinition.id.md +11 -0
- package/docs/api/foundation-utils.shortcutdefinition.key.md +11 -0
- package/docs/api/foundation-utils.shortcutdefinition.md +276 -0
- package/docs/api/foundation-utils.shortcutdefinition.metakey.md +11 -0
- package/docs/api/foundation-utils.shortcutdefinition.optionkey.md +11 -0
- package/docs/api/foundation-utils.shortcutdefinition.priority.md +11 -0
- package/docs/api/foundation-utils.shortcutdefinition.shiftkey.md +11 -0
- package/docs/api/foundation-utils.shortcutexecutionstatus.md +16 -0
- package/docs/api/foundation-utils.shortcutmanager.clearactivecontext.md +15 -0
- package/docs/api/foundation-utils.shortcutmanager.executeshortcut.md +58 -0
- package/docs/api/foundation-utils.shortcutmanager.executeshortcutbycontext.md +70 -0
- package/docs/api/foundation-utils.shortcutmanager.findshortcutbykeycombination.md +114 -0
- package/docs/api/foundation-utils.shortcutmanager.getactivecontext.md +15 -0
- package/docs/api/foundation-utils.shortcutmanager.getcontexts.md +15 -0
- package/docs/api/foundation-utils.shortcutmanager.getshortcuts.md +15 -0
- package/docs/api/foundation-utils.shortcutmanager.getshortcutsbycontext.md +50 -0
- package/docs/api/foundation-utils.shortcutmanager.getshortcutsbycontextmap.md +15 -0
- package/docs/api/foundation-utils.shortcutmanager.ispaused.md +11 -0
- package/docs/api/foundation-utils.shortcutmanager.ispaused_.md +11 -0
- package/docs/api/foundation-utils.shortcutmanager.ispausedsubject.md +11 -0
- package/docs/api/foundation-utils.shortcutmanager.md +13 -0
- package/docs/api/foundation-utils.shortcutmanager.pause.md +15 -0
- package/docs/api/foundation-utils.shortcutmanager.registercontext.md +50 -0
- package/docs/api/foundation-utils.shortcutmanager.registershortcut.md +50 -0
- package/docs/api/foundation-utils.shortcutmanager.registershortcuts.md +50 -0
- package/docs/api/foundation-utils.shortcutmanager.resume.md +15 -0
- package/docs/api/foundation-utils.shortcutmanager.setactivecontext.md +50 -0
- package/docs/api/foundation-utils.shortcutmanager.unregistershortcut.md +64 -0
- package/docs/api/foundation-utils.shortcutmanager.unregistershortcutsbycontext.md +50 -0
- package/docs/api/foundation-utils.shortcutregistrationresult.disabled.md +11 -0
- package/docs/api/foundation-utils.shortcutregistrationresult.id.md +11 -0
- package/docs/api/foundation-utils.shortcutregistrationresult.keycombination.md +11 -0
- package/docs/api/foundation-utils.shortcutregistrationresult.keycombinationdisplay.md +11 -0
- package/docs/api/foundation-utils.shortcutregistrationresult.md +141 -0
- package/docs/api/foundation-utils.shortcutregistrationresult.shortcut.md +11 -0
- package/docs/api/foundation-utils.shortcutregistrationresult.tooltip.md +11 -0
- package/docs/api-report.md.api.md +153 -0
- package/package.json +12 -11
@@ -127,6 +127,14 @@
|
|
127
127
|
"package": "./serializers"
|
128
128
|
}
|
129
129
|
},
|
130
|
+
{
|
131
|
+
"kind": "js",
|
132
|
+
"name": "*",
|
133
|
+
"declaration": {
|
134
|
+
"name": "*",
|
135
|
+
"package": "./shortcut-manager"
|
136
|
+
}
|
137
|
+
},
|
130
138
|
{
|
131
139
|
"kind": "js",
|
132
140
|
"name": "*",
|
@@ -367,97 +375,6 @@
|
|
367
375
|
}
|
368
376
|
]
|
369
377
|
},
|
370
|
-
{
|
371
|
-
"kind": "javascript-module",
|
372
|
-
"path": "src/decorators/index.ts",
|
373
|
-
"declarations": [],
|
374
|
-
"exports": [
|
375
|
-
{
|
376
|
-
"kind": "js",
|
377
|
-
"name": "*",
|
378
|
-
"declaration": {
|
379
|
-
"name": "*",
|
380
|
-
"package": "./renderOnChange"
|
381
|
-
}
|
382
|
-
}
|
383
|
-
]
|
384
|
-
},
|
385
|
-
{
|
386
|
-
"kind": "javascript-module",
|
387
|
-
"path": "src/decorators/renderOnChange.ts",
|
388
|
-
"declarations": [
|
389
|
-
{
|
390
|
-
"kind": "function",
|
391
|
-
"name": "renderOnChange",
|
392
|
-
"parameters": [
|
393
|
-
{
|
394
|
-
"name": "target",
|
395
|
-
"type": {
|
396
|
-
"text": "FASTElement & { render(): void }"
|
397
|
-
},
|
398
|
-
"description": "The target to define the property change handler on."
|
399
|
-
},
|
400
|
-
{
|
401
|
-
"name": "name",
|
402
|
-
"type": {
|
403
|
-
"text": "string"
|
404
|
-
},
|
405
|
-
"description": "The property name."
|
406
|
-
}
|
407
|
-
],
|
408
|
-
"description": "Defines a property changed handler that calls a render() method on the target as an internal observation enhancement.",
|
409
|
-
"privacy": "public"
|
410
|
-
}
|
411
|
-
],
|
412
|
-
"exports": [
|
413
|
-
{
|
414
|
-
"kind": "js",
|
415
|
-
"name": "renderOnChange",
|
416
|
-
"declaration": {
|
417
|
-
"name": "renderOnChange",
|
418
|
-
"module": "src/decorators/renderOnChange.ts"
|
419
|
-
}
|
420
|
-
}
|
421
|
-
]
|
422
|
-
},
|
423
|
-
{
|
424
|
-
"kind": "javascript-module",
|
425
|
-
"path": "src/directives/index.ts",
|
426
|
-
"declarations": [],
|
427
|
-
"exports": [
|
428
|
-
{
|
429
|
-
"kind": "js",
|
430
|
-
"name": "*",
|
431
|
-
"declaration": {
|
432
|
-
"name": "*",
|
433
|
-
"package": "./sync"
|
434
|
-
}
|
435
|
-
},
|
436
|
-
{
|
437
|
-
"kind": "js",
|
438
|
-
"name": "*",
|
439
|
-
"declaration": {
|
440
|
-
"name": "*",
|
441
|
-
"package": "./when-else"
|
442
|
-
}
|
443
|
-
}
|
444
|
-
]
|
445
|
-
},
|
446
|
-
{
|
447
|
-
"kind": "javascript-module",
|
448
|
-
"path": "src/encoding/index.ts",
|
449
|
-
"declarations": [],
|
450
|
-
"exports": [
|
451
|
-
{
|
452
|
-
"kind": "js",
|
453
|
-
"name": "*",
|
454
|
-
"declaration": {
|
455
|
-
"name": "*",
|
456
|
-
"package": "./base64"
|
457
|
-
}
|
458
|
-
}
|
459
|
-
]
|
460
|
-
},
|
461
378
|
{
|
462
379
|
"kind": "javascript-module",
|
463
380
|
"path": "src/design-system/design-system.ts",
|
@@ -578,6 +495,97 @@
|
|
578
495
|
}
|
579
496
|
]
|
580
497
|
},
|
498
|
+
{
|
499
|
+
"kind": "javascript-module",
|
500
|
+
"path": "src/directives/index.ts",
|
501
|
+
"declarations": [],
|
502
|
+
"exports": [
|
503
|
+
{
|
504
|
+
"kind": "js",
|
505
|
+
"name": "*",
|
506
|
+
"declaration": {
|
507
|
+
"name": "*",
|
508
|
+
"package": "./sync"
|
509
|
+
}
|
510
|
+
},
|
511
|
+
{
|
512
|
+
"kind": "js",
|
513
|
+
"name": "*",
|
514
|
+
"declaration": {
|
515
|
+
"name": "*",
|
516
|
+
"package": "./when-else"
|
517
|
+
}
|
518
|
+
}
|
519
|
+
]
|
520
|
+
},
|
521
|
+
{
|
522
|
+
"kind": "javascript-module",
|
523
|
+
"path": "src/decorators/index.ts",
|
524
|
+
"declarations": [],
|
525
|
+
"exports": [
|
526
|
+
{
|
527
|
+
"kind": "js",
|
528
|
+
"name": "*",
|
529
|
+
"declaration": {
|
530
|
+
"name": "*",
|
531
|
+
"package": "./renderOnChange"
|
532
|
+
}
|
533
|
+
}
|
534
|
+
]
|
535
|
+
},
|
536
|
+
{
|
537
|
+
"kind": "javascript-module",
|
538
|
+
"path": "src/decorators/renderOnChange.ts",
|
539
|
+
"declarations": [
|
540
|
+
{
|
541
|
+
"kind": "function",
|
542
|
+
"name": "renderOnChange",
|
543
|
+
"parameters": [
|
544
|
+
{
|
545
|
+
"name": "target",
|
546
|
+
"type": {
|
547
|
+
"text": "FASTElement & { render(): void }"
|
548
|
+
},
|
549
|
+
"description": "The target to define the property change handler on."
|
550
|
+
},
|
551
|
+
{
|
552
|
+
"name": "name",
|
553
|
+
"type": {
|
554
|
+
"text": "string"
|
555
|
+
},
|
556
|
+
"description": "The property name."
|
557
|
+
}
|
558
|
+
],
|
559
|
+
"description": "Defines a property changed handler that calls a render() method on the target as an internal observation enhancement.",
|
560
|
+
"privacy": "public"
|
561
|
+
}
|
562
|
+
],
|
563
|
+
"exports": [
|
564
|
+
{
|
565
|
+
"kind": "js",
|
566
|
+
"name": "renderOnChange",
|
567
|
+
"declaration": {
|
568
|
+
"name": "renderOnChange",
|
569
|
+
"module": "src/decorators/renderOnChange.ts"
|
570
|
+
}
|
571
|
+
}
|
572
|
+
]
|
573
|
+
},
|
574
|
+
{
|
575
|
+
"kind": "javascript-module",
|
576
|
+
"path": "src/encoding/index.ts",
|
577
|
+
"declarations": [],
|
578
|
+
"exports": [
|
579
|
+
{
|
580
|
+
"kind": "js",
|
581
|
+
"name": "*",
|
582
|
+
"declaration": {
|
583
|
+
"name": "*",
|
584
|
+
"package": "./base64"
|
585
|
+
}
|
586
|
+
}
|
587
|
+
]
|
588
|
+
},
|
581
589
|
{
|
582
590
|
"kind": "javascript-module",
|
583
591
|
"path": "src/env/index.ts",
|
@@ -1865,7 +1873,7 @@
|
|
1865
1873
|
},
|
1866
1874
|
{
|
1867
1875
|
"kind": "javascript-module",
|
1868
|
-
"path": "src/
|
1876
|
+
"path": "src/shortcut-manager/index.ts",
|
1869
1877
|
"declarations": [],
|
1870
1878
|
"exports": [
|
1871
1879
|
{
|
@@ -1873,7 +1881,7 @@
|
|
1873
1881
|
"name": "*",
|
1874
1882
|
"declaration": {
|
1875
1883
|
"name": "*",
|
1876
|
-
"package": "./
|
1884
|
+
"package": "./shortcut-manager"
|
1877
1885
|
}
|
1878
1886
|
},
|
1879
1887
|
{
|
@@ -1881,83 +1889,657 @@
|
|
1881
1889
|
"name": "*",
|
1882
1890
|
"declaration": {
|
1883
1891
|
"name": "*",
|
1884
|
-
"package": "./
|
1892
|
+
"package": "./shortcut-listener"
|
1885
1893
|
}
|
1886
1894
|
}
|
1887
1895
|
]
|
1888
1896
|
},
|
1889
1897
|
{
|
1890
1898
|
"kind": "javascript-module",
|
1891
|
-
"path": "src/
|
1899
|
+
"path": "src/shortcut-manager/shortcut-listener.ts",
|
1892
1900
|
"declarations": [
|
1893
1901
|
{
|
1894
|
-
"kind": "
|
1895
|
-
"
|
1896
|
-
"
|
1897
|
-
|
1898
|
-
"text": ""
|
1899
|
-
}
|
1900
|
-
},
|
1901
|
-
"parameters": [
|
1902
|
+
"kind": "class",
|
1903
|
+
"description": "A custom element that listens for keyboard shortcuts.",
|
1904
|
+
"name": "FoundationShortcutListener",
|
1905
|
+
"members": [
|
1902
1906
|
{
|
1903
|
-
"
|
1907
|
+
"kind": "field",
|
1908
|
+
"name": "shortcutManager",
|
1904
1909
|
"type": {
|
1905
|
-
"text": "
|
1906
|
-
}
|
1907
|
-
"description": "The object to make reactive."
|
1910
|
+
"text": "ShortcutManager"
|
1911
|
+
}
|
1908
1912
|
},
|
1909
1913
|
{
|
1910
|
-
"
|
1911
|
-
"
|
1912
|
-
"description": "Indicates whether to deeply convert the object."
|
1913
|
-
}
|
1914
|
-
],
|
1915
|
-
"description": "Converts a plain object to a reactive, observable object."
|
1916
|
-
}
|
1917
|
-
],
|
1918
|
-
"exports": [
|
1919
|
-
{
|
1920
|
-
"kind": "js",
|
1921
|
-
"name": "reactive",
|
1922
|
-
"declaration": {
|
1923
|
-
"name": "reactive",
|
1924
|
-
"module": "src/state/reactive.ts"
|
1925
|
-
}
|
1926
|
-
}
|
1927
|
-
]
|
1928
|
-
},
|
1929
|
-
{
|
1930
|
-
"kind": "javascript-module",
|
1931
|
-
"path": "src/state/visitor.ts",
|
1932
|
-
"declarations": [
|
1933
|
-
{
|
1934
|
-
"kind": "function",
|
1935
|
-
"name": "visitObject",
|
1936
|
-
"return": {
|
1937
|
-
"type": {
|
1938
|
-
"text": "void"
|
1939
|
-
}
|
1940
|
-
},
|
1941
|
-
"parameters": [
|
1942
|
-
{
|
1943
|
-
"name": "object",
|
1914
|
+
"kind": "field",
|
1915
|
+
"name": "keyListener",
|
1944
1916
|
"type": {
|
1945
|
-
"text": "
|
1917
|
+
"text": "((event: KeyboardEvent) => void) | null"
|
1946
1918
|
},
|
1947
|
-
"
|
1919
|
+
"privacy": "private",
|
1920
|
+
"default": "null"
|
1948
1921
|
},
|
1949
1922
|
{
|
1950
|
-
"
|
1923
|
+
"kind": "field",
|
1924
|
+
"name": "isListening",
|
1951
1925
|
"type": {
|
1952
1926
|
"text": "boolean"
|
1953
1927
|
},
|
1954
|
-
"
|
1928
|
+
"privacy": "private",
|
1929
|
+
"default": "false"
|
1955
1930
|
},
|
1956
1931
|
{
|
1957
|
-
"
|
1958
|
-
"
|
1959
|
-
|
1960
|
-
|
1932
|
+
"kind": "method",
|
1933
|
+
"name": "setupStateSubscription",
|
1934
|
+
"privacy": "private"
|
1935
|
+
},
|
1936
|
+
{
|
1937
|
+
"kind": "method",
|
1938
|
+
"name": "addKeyListener",
|
1939
|
+
"privacy": "private"
|
1940
|
+
},
|
1941
|
+
{
|
1942
|
+
"kind": "method",
|
1943
|
+
"name": "removeKeyListener",
|
1944
|
+
"privacy": "private"
|
1945
|
+
},
|
1946
|
+
{
|
1947
|
+
"kind": "method",
|
1948
|
+
"name": "handleKeyDown",
|
1949
|
+
"privacy": "private",
|
1950
|
+
"parameters": [
|
1951
|
+
{
|
1952
|
+
"name": "event",
|
1953
|
+
"type": {
|
1954
|
+
"text": "KeyboardEvent"
|
1955
|
+
}
|
1956
|
+
}
|
1957
|
+
]
|
1958
|
+
},
|
1959
|
+
{
|
1960
|
+
"kind": "method",
|
1961
|
+
"name": "extractKeyFromCode",
|
1962
|
+
"privacy": "private",
|
1963
|
+
"return": {
|
1964
|
+
"type": {
|
1965
|
+
"text": "string"
|
1966
|
+
}
|
1967
|
+
},
|
1968
|
+
"parameters": [
|
1969
|
+
{
|
1970
|
+
"name": "code",
|
1971
|
+
"type": {
|
1972
|
+
"text": "string"
|
1973
|
+
}
|
1974
|
+
}
|
1975
|
+
]
|
1976
|
+
},
|
1977
|
+
{
|
1978
|
+
"kind": "method",
|
1979
|
+
"name": "isInputElement",
|
1980
|
+
"privacy": "private",
|
1981
|
+
"return": {
|
1982
|
+
"type": {
|
1983
|
+
"text": "boolean"
|
1984
|
+
}
|
1985
|
+
},
|
1986
|
+
"parameters": [
|
1987
|
+
{
|
1988
|
+
"name": "element",
|
1989
|
+
"type": {
|
1990
|
+
"text": "HTMLElement | null"
|
1991
|
+
}
|
1992
|
+
}
|
1993
|
+
]
|
1994
|
+
}
|
1995
|
+
],
|
1996
|
+
"superclass": {
|
1997
|
+
"name": "FASTElement",
|
1998
|
+
"package": "@microsoft/fast-element"
|
1999
|
+
},
|
2000
|
+
"tagName": "foundation-shortcut-listener",
|
2001
|
+
"customElement": true
|
2002
|
+
}
|
2003
|
+
],
|
2004
|
+
"exports": [
|
2005
|
+
{
|
2006
|
+
"kind": "js",
|
2007
|
+
"name": "FoundationShortcutListener",
|
2008
|
+
"declaration": {
|
2009
|
+
"name": "FoundationShortcutListener",
|
2010
|
+
"module": "src/shortcut-manager/shortcut-listener.ts"
|
2011
|
+
}
|
2012
|
+
},
|
2013
|
+
{
|
2014
|
+
"kind": "custom-element-definition",
|
2015
|
+
"name": "foundation-shortcut-listener",
|
2016
|
+
"declaration": {
|
2017
|
+
"name": "FoundationShortcutListener",
|
2018
|
+
"module": "src/shortcut-manager/shortcut-listener.ts"
|
2019
|
+
}
|
2020
|
+
}
|
2021
|
+
]
|
2022
|
+
},
|
2023
|
+
{
|
2024
|
+
"kind": "javascript-module",
|
2025
|
+
"path": "src/shortcut-manager/shortcut-manager.ts",
|
2026
|
+
"declarations": [
|
2027
|
+
{
|
2028
|
+
"kind": "class",
|
2029
|
+
"description": "Default implementation of the ShortcutManager interface",
|
2030
|
+
"name": "DefaultShortcutManager",
|
2031
|
+
"members": [
|
2032
|
+
{
|
2033
|
+
"kind": "field",
|
2034
|
+
"name": "shortcuts",
|
2035
|
+
"privacy": "private",
|
2036
|
+
"default": "new Map<string, Map<string, ShortcutDefinition>>()"
|
2037
|
+
},
|
2038
|
+
{
|
2039
|
+
"kind": "field",
|
2040
|
+
"name": "shortcutLookup",
|
2041
|
+
"privacy": "private",
|
2042
|
+
"default": "new Map<string, ShortcutDefinition>()"
|
2043
|
+
},
|
2044
|
+
{
|
2045
|
+
"kind": "field",
|
2046
|
+
"name": "keyCombinationMap",
|
2047
|
+
"privacy": "private",
|
2048
|
+
"default": "new Map<string, Set<string>>()"
|
2049
|
+
},
|
2050
|
+
{
|
2051
|
+
"kind": "field",
|
2052
|
+
"name": "_isPausedSubject",
|
2053
|
+
"privacy": "private",
|
2054
|
+
"default": "new BehaviorSubject<boolean>(false)"
|
2055
|
+
},
|
2056
|
+
{
|
2057
|
+
"kind": "field",
|
2058
|
+
"name": "_activeContext",
|
2059
|
+
"type": {
|
2060
|
+
"text": "string | undefined"
|
2061
|
+
},
|
2062
|
+
"privacy": "private"
|
2063
|
+
},
|
2064
|
+
{
|
2065
|
+
"kind": "field",
|
2066
|
+
"name": "isPaused",
|
2067
|
+
"type": {
|
2068
|
+
"text": "boolean"
|
2069
|
+
},
|
2070
|
+
"readonly": true
|
2071
|
+
},
|
2072
|
+
{
|
2073
|
+
"kind": "field",
|
2074
|
+
"name": "isPaused$",
|
2075
|
+
"type": {
|
2076
|
+
"text": "Observable<boolean>"
|
2077
|
+
},
|
2078
|
+
"readonly": true
|
2079
|
+
},
|
2080
|
+
{
|
2081
|
+
"kind": "field",
|
2082
|
+
"name": "isPausedSubject",
|
2083
|
+
"type": {
|
2084
|
+
"text": "BehaviorSubject<boolean>"
|
2085
|
+
},
|
2086
|
+
"readonly": true
|
2087
|
+
},
|
2088
|
+
{
|
2089
|
+
"kind": "method",
|
2090
|
+
"name": "registerShortcuts",
|
2091
|
+
"return": {
|
2092
|
+
"type": {
|
2093
|
+
"text": "void"
|
2094
|
+
}
|
2095
|
+
},
|
2096
|
+
"parameters": [
|
2097
|
+
{
|
2098
|
+
"name": "shortcuts",
|
2099
|
+
"type": {
|
2100
|
+
"text": "ShortcutDefinition[]"
|
2101
|
+
}
|
2102
|
+
}
|
2103
|
+
]
|
2104
|
+
},
|
2105
|
+
{
|
2106
|
+
"kind": "method",
|
2107
|
+
"name": "registerShortcut",
|
2108
|
+
"return": {
|
2109
|
+
"type": {
|
2110
|
+
"text": "ShortcutRegistrationResult"
|
2111
|
+
}
|
2112
|
+
},
|
2113
|
+
"parameters": [
|
2114
|
+
{
|
2115
|
+
"name": "shortcut",
|
2116
|
+
"type": {
|
2117
|
+
"text": "ShortcutDefinition"
|
2118
|
+
}
|
2119
|
+
}
|
2120
|
+
]
|
2121
|
+
},
|
2122
|
+
{
|
2123
|
+
"kind": "method",
|
2124
|
+
"name": "unregisterShortcut",
|
2125
|
+
"return": {
|
2126
|
+
"type": {
|
2127
|
+
"text": "void"
|
2128
|
+
}
|
2129
|
+
},
|
2130
|
+
"parameters": [
|
2131
|
+
{
|
2132
|
+
"name": "context",
|
2133
|
+
"type": {
|
2134
|
+
"text": "string"
|
2135
|
+
}
|
2136
|
+
},
|
2137
|
+
{
|
2138
|
+
"name": "id",
|
2139
|
+
"type": {
|
2140
|
+
"text": "string"
|
2141
|
+
}
|
2142
|
+
}
|
2143
|
+
]
|
2144
|
+
},
|
2145
|
+
{
|
2146
|
+
"kind": "method",
|
2147
|
+
"name": "unregisterShortcutsByContext",
|
2148
|
+
"return": {
|
2149
|
+
"type": {
|
2150
|
+
"text": "void"
|
2151
|
+
}
|
2152
|
+
},
|
2153
|
+
"parameters": [
|
2154
|
+
{
|
2155
|
+
"name": "context",
|
2156
|
+
"type": {
|
2157
|
+
"text": "string"
|
2158
|
+
}
|
2159
|
+
}
|
2160
|
+
]
|
2161
|
+
},
|
2162
|
+
{
|
2163
|
+
"kind": "method",
|
2164
|
+
"name": "executeShortcut",
|
2165
|
+
"return": {
|
2166
|
+
"type": {
|
2167
|
+
"text": "void"
|
2168
|
+
}
|
2169
|
+
},
|
2170
|
+
"parameters": [
|
2171
|
+
{
|
2172
|
+
"name": "id",
|
2173
|
+
"type": {
|
2174
|
+
"text": "string"
|
2175
|
+
}
|
2176
|
+
}
|
2177
|
+
]
|
2178
|
+
},
|
2179
|
+
{
|
2180
|
+
"kind": "method",
|
2181
|
+
"name": "executeShortcutByContext",
|
2182
|
+
"return": {
|
2183
|
+
"type": {
|
2184
|
+
"text": "void"
|
2185
|
+
}
|
2186
|
+
},
|
2187
|
+
"parameters": [
|
2188
|
+
{
|
2189
|
+
"name": "context",
|
2190
|
+
"type": {
|
2191
|
+
"text": "string"
|
2192
|
+
}
|
2193
|
+
},
|
2194
|
+
{
|
2195
|
+
"name": "id",
|
2196
|
+
"type": {
|
2197
|
+
"text": "string"
|
2198
|
+
}
|
2199
|
+
}
|
2200
|
+
]
|
2201
|
+
},
|
2202
|
+
{
|
2203
|
+
"kind": "method",
|
2204
|
+
"name": "getShortcuts",
|
2205
|
+
"return": {
|
2206
|
+
"type": {
|
2207
|
+
"text": "ShortcutDefinition[]"
|
2208
|
+
}
|
2209
|
+
}
|
2210
|
+
},
|
2211
|
+
{
|
2212
|
+
"kind": "method",
|
2213
|
+
"name": "getShortcutsByContext",
|
2214
|
+
"return": {
|
2215
|
+
"type": {
|
2216
|
+
"text": "ShortcutDefinition[]"
|
2217
|
+
}
|
2218
|
+
},
|
2219
|
+
"parameters": [
|
2220
|
+
{
|
2221
|
+
"name": "context",
|
2222
|
+
"type": {
|
2223
|
+
"text": "string"
|
2224
|
+
}
|
2225
|
+
}
|
2226
|
+
]
|
2227
|
+
},
|
2228
|
+
{
|
2229
|
+
"kind": "method",
|
2230
|
+
"name": "findShortcutByKeyCombination",
|
2231
|
+
"return": {
|
2232
|
+
"type": {
|
2233
|
+
"text": "ShortcutDefinition | undefined"
|
2234
|
+
}
|
2235
|
+
},
|
2236
|
+
"parameters": [
|
2237
|
+
{
|
2238
|
+
"name": "key",
|
2239
|
+
"type": {
|
2240
|
+
"text": "string"
|
2241
|
+
}
|
2242
|
+
},
|
2243
|
+
{
|
2244
|
+
"name": "ctrlKey",
|
2245
|
+
"default": "false"
|
2246
|
+
},
|
2247
|
+
{
|
2248
|
+
"name": "altKey",
|
2249
|
+
"default": "false"
|
2250
|
+
},
|
2251
|
+
{
|
2252
|
+
"name": "shiftKey",
|
2253
|
+
"default": "false"
|
2254
|
+
},
|
2255
|
+
{
|
2256
|
+
"name": "metaKey",
|
2257
|
+
"default": "false"
|
2258
|
+
}
|
2259
|
+
]
|
2260
|
+
},
|
2261
|
+
{
|
2262
|
+
"kind": "method",
|
2263
|
+
"name": "getContexts",
|
2264
|
+
"return": {
|
2265
|
+
"type": {
|
2266
|
+
"text": "string[]"
|
2267
|
+
}
|
2268
|
+
}
|
2269
|
+
},
|
2270
|
+
{
|
2271
|
+
"kind": "method",
|
2272
|
+
"name": "getShortcutsByContextMap",
|
2273
|
+
"return": {
|
2274
|
+
"type": {
|
2275
|
+
"text": "Map<string, Map<string, ShortcutDefinition>>"
|
2276
|
+
}
|
2277
|
+
}
|
2278
|
+
},
|
2279
|
+
{
|
2280
|
+
"kind": "method",
|
2281
|
+
"name": "registerContext",
|
2282
|
+
"return": {
|
2283
|
+
"type": {
|
2284
|
+
"text": "void"
|
2285
|
+
}
|
2286
|
+
},
|
2287
|
+
"parameters": [
|
2288
|
+
{
|
2289
|
+
"name": "context",
|
2290
|
+
"type": {
|
2291
|
+
"text": "string"
|
2292
|
+
}
|
2293
|
+
}
|
2294
|
+
]
|
2295
|
+
},
|
2296
|
+
{
|
2297
|
+
"kind": "method",
|
2298
|
+
"name": "setActiveContext",
|
2299
|
+
"return": {
|
2300
|
+
"type": {
|
2301
|
+
"text": "void"
|
2302
|
+
}
|
2303
|
+
},
|
2304
|
+
"parameters": [
|
2305
|
+
{
|
2306
|
+
"name": "context",
|
2307
|
+
"type": {
|
2308
|
+
"text": "string"
|
2309
|
+
}
|
2310
|
+
}
|
2311
|
+
]
|
2312
|
+
},
|
2313
|
+
{
|
2314
|
+
"kind": "method",
|
2315
|
+
"name": "getActiveContext",
|
2316
|
+
"return": {
|
2317
|
+
"type": {
|
2318
|
+
"text": "string | undefined"
|
2319
|
+
}
|
2320
|
+
}
|
2321
|
+
},
|
2322
|
+
{
|
2323
|
+
"kind": "method",
|
2324
|
+
"name": "clearActiveContext",
|
2325
|
+
"return": {
|
2326
|
+
"type": {
|
2327
|
+
"text": "void"
|
2328
|
+
}
|
2329
|
+
}
|
2330
|
+
},
|
2331
|
+
{
|
2332
|
+
"kind": "method",
|
2333
|
+
"name": "pause",
|
2334
|
+
"return": {
|
2335
|
+
"type": {
|
2336
|
+
"text": "void"
|
2337
|
+
}
|
2338
|
+
}
|
2339
|
+
},
|
2340
|
+
{
|
2341
|
+
"kind": "method",
|
2342
|
+
"name": "resume",
|
2343
|
+
"return": {
|
2344
|
+
"type": {
|
2345
|
+
"text": "void"
|
2346
|
+
}
|
2347
|
+
}
|
2348
|
+
},
|
2349
|
+
{
|
2350
|
+
"kind": "method",
|
2351
|
+
"name": "normalizeShortcutDefinition",
|
2352
|
+
"privacy": "private",
|
2353
|
+
"return": {
|
2354
|
+
"type": {
|
2355
|
+
"text": "ShortcutDefinition"
|
2356
|
+
}
|
2357
|
+
},
|
2358
|
+
"parameters": [
|
2359
|
+
{
|
2360
|
+
"name": "shortcut",
|
2361
|
+
"type": {
|
2362
|
+
"text": "ShortcutDefinition"
|
2363
|
+
}
|
2364
|
+
}
|
2365
|
+
],
|
2366
|
+
"description": "Normalizes a shortcut definition to handle option/alt equivalence\nIf optionKey is set, altKey will also be set to true (and vice versa)"
|
2367
|
+
},
|
2368
|
+
{
|
2369
|
+
"kind": "method",
|
2370
|
+
"name": "createKeyCombinationKey",
|
2371
|
+
"privacy": "private",
|
2372
|
+
"return": {
|
2373
|
+
"type": {
|
2374
|
+
"text": "string"
|
2375
|
+
}
|
2376
|
+
},
|
2377
|
+
"parameters": [
|
2378
|
+
{
|
2379
|
+
"name": "key",
|
2380
|
+
"type": {
|
2381
|
+
"text": "string"
|
2382
|
+
}
|
2383
|
+
},
|
2384
|
+
{
|
2385
|
+
"name": "ctrlKey",
|
2386
|
+
"default": "false"
|
2387
|
+
},
|
2388
|
+
{
|
2389
|
+
"name": "altKey",
|
2390
|
+
"default": "false"
|
2391
|
+
},
|
2392
|
+
{
|
2393
|
+
"name": "shiftKey",
|
2394
|
+
"default": "false"
|
2395
|
+
},
|
2396
|
+
{
|
2397
|
+
"name": "metaKey",
|
2398
|
+
"default": "false"
|
2399
|
+
}
|
2400
|
+
]
|
2401
|
+
},
|
2402
|
+
{
|
2403
|
+
"kind": "method",
|
2404
|
+
"name": "isElementFocused",
|
2405
|
+
"privacy": "private",
|
2406
|
+
"return": {
|
2407
|
+
"type": {
|
2408
|
+
"text": "boolean"
|
2409
|
+
}
|
2410
|
+
},
|
2411
|
+
"parameters": [
|
2412
|
+
{
|
2413
|
+
"name": "element",
|
2414
|
+
"type": {
|
2415
|
+
"text": "HTMLElement"
|
2416
|
+
}
|
2417
|
+
}
|
2418
|
+
]
|
2419
|
+
}
|
2420
|
+
]
|
2421
|
+
},
|
2422
|
+
{
|
2423
|
+
"kind": "variable",
|
2424
|
+
"name": "ShortcutManager",
|
2425
|
+
"description": "A dependency injection token for the ShortcutManager interface.",
|
2426
|
+
"privacy": "public"
|
2427
|
+
}
|
2428
|
+
],
|
2429
|
+
"exports": [
|
2430
|
+
{
|
2431
|
+
"kind": "js",
|
2432
|
+
"name": "DefaultShortcutManager",
|
2433
|
+
"declaration": {
|
2434
|
+
"name": "DefaultShortcutManager",
|
2435
|
+
"module": "src/shortcut-manager/shortcut-manager.ts"
|
2436
|
+
}
|
2437
|
+
},
|
2438
|
+
{
|
2439
|
+
"kind": "js",
|
2440
|
+
"name": "ShortcutManager",
|
2441
|
+
"declaration": {
|
2442
|
+
"name": "ShortcutManager",
|
2443
|
+
"module": "src/shortcut-manager/shortcut-manager.ts"
|
2444
|
+
}
|
2445
|
+
}
|
2446
|
+
]
|
2447
|
+
},
|
2448
|
+
{
|
2449
|
+
"kind": "javascript-module",
|
2450
|
+
"path": "src/state/index.ts",
|
2451
|
+
"declarations": [],
|
2452
|
+
"exports": [
|
2453
|
+
{
|
2454
|
+
"kind": "js",
|
2455
|
+
"name": "*",
|
2456
|
+
"declaration": {
|
2457
|
+
"name": "*",
|
2458
|
+
"package": "./reactive"
|
2459
|
+
}
|
2460
|
+
},
|
2461
|
+
{
|
2462
|
+
"kind": "js",
|
2463
|
+
"name": "*",
|
2464
|
+
"declaration": {
|
2465
|
+
"name": "*",
|
2466
|
+
"package": "./visitor"
|
2467
|
+
}
|
2468
|
+
}
|
2469
|
+
]
|
2470
|
+
},
|
2471
|
+
{
|
2472
|
+
"kind": "javascript-module",
|
2473
|
+
"path": "src/state/reactive.ts",
|
2474
|
+
"declarations": [
|
2475
|
+
{
|
2476
|
+
"kind": "function",
|
2477
|
+
"name": "reactive",
|
2478
|
+
"return": {
|
2479
|
+
"type": {
|
2480
|
+
"text": ""
|
2481
|
+
}
|
2482
|
+
},
|
2483
|
+
"parameters": [
|
2484
|
+
{
|
2485
|
+
"name": "object",
|
2486
|
+
"type": {
|
2487
|
+
"text": "T"
|
2488
|
+
},
|
2489
|
+
"description": "The object to make reactive."
|
2490
|
+
},
|
2491
|
+
{
|
2492
|
+
"name": "deep",
|
2493
|
+
"default": "false",
|
2494
|
+
"description": "Indicates whether to deeply convert the object."
|
2495
|
+
}
|
2496
|
+
],
|
2497
|
+
"description": "Converts a plain object to a reactive, observable object."
|
2498
|
+
}
|
2499
|
+
],
|
2500
|
+
"exports": [
|
2501
|
+
{
|
2502
|
+
"kind": "js",
|
2503
|
+
"name": "reactive",
|
2504
|
+
"declaration": {
|
2505
|
+
"name": "reactive",
|
2506
|
+
"module": "src/state/reactive.ts"
|
2507
|
+
}
|
2508
|
+
}
|
2509
|
+
]
|
2510
|
+
},
|
2511
|
+
{
|
2512
|
+
"kind": "javascript-module",
|
2513
|
+
"path": "src/state/visitor.ts",
|
2514
|
+
"declarations": [
|
2515
|
+
{
|
2516
|
+
"kind": "function",
|
2517
|
+
"name": "visitObject",
|
2518
|
+
"return": {
|
2519
|
+
"type": {
|
2520
|
+
"text": "void"
|
2521
|
+
}
|
2522
|
+
},
|
2523
|
+
"parameters": [
|
2524
|
+
{
|
2525
|
+
"name": "object",
|
2526
|
+
"type": {
|
2527
|
+
"text": "any"
|
2528
|
+
},
|
2529
|
+
"description": "The object."
|
2530
|
+
},
|
2531
|
+
{
|
2532
|
+
"name": "deep",
|
2533
|
+
"type": {
|
2534
|
+
"text": "boolean"
|
2535
|
+
},
|
2536
|
+
"description": "A flag to indicate if a recursive visit of sub objects should occur."
|
2537
|
+
},
|
2538
|
+
{
|
2539
|
+
"name": "visitor",
|
2540
|
+
"type": {
|
2541
|
+
"text": "ObjectVisitor<TVisitorData>"
|
2542
|
+
},
|
1961
2543
|
"description": "The defined {@link ObjectVisitor}logic.\n * "
|
1962
2544
|
},
|
1963
2545
|
{
|
@@ -2444,6 +3026,105 @@
|
|
2444
3026
|
}
|
2445
3027
|
]
|
2446
3028
|
},
|
3029
|
+
{
|
3030
|
+
"kind": "javascript-module",
|
3031
|
+
"path": "src/utils/os-platform.ts",
|
3032
|
+
"declarations": [
|
3033
|
+
{
|
3034
|
+
"kind": "class",
|
3035
|
+
"description": "Platform detection utilities for cross-platform compatibility",
|
3036
|
+
"name": "OperatingSystemUtils",
|
3037
|
+
"members": [
|
3038
|
+
{
|
3039
|
+
"kind": "field",
|
3040
|
+
"name": "isMacOS",
|
3041
|
+
"type": {
|
3042
|
+
"text": "boolean"
|
3043
|
+
},
|
3044
|
+
"static": true,
|
3045
|
+
"description": "Detects if the current platform is macOS",
|
3046
|
+
"readonly": true
|
3047
|
+
},
|
3048
|
+
{
|
3049
|
+
"kind": "field",
|
3050
|
+
"name": "isWindows",
|
3051
|
+
"type": {
|
3052
|
+
"text": "boolean"
|
3053
|
+
},
|
3054
|
+
"static": true,
|
3055
|
+
"description": "Detects if the current platform is Windows",
|
3056
|
+
"readonly": true
|
3057
|
+
},
|
3058
|
+
{
|
3059
|
+
"kind": "field",
|
3060
|
+
"name": "isLinux",
|
3061
|
+
"type": {
|
3062
|
+
"text": "boolean"
|
3063
|
+
},
|
3064
|
+
"static": true,
|
3065
|
+
"description": "Detects if the current platform is Linux",
|
3066
|
+
"readonly": true
|
3067
|
+
},
|
3068
|
+
{
|
3069
|
+
"kind": "method",
|
3070
|
+
"name": "getModifierSymbols",
|
3071
|
+
"static": true,
|
3072
|
+
"return": {
|
3073
|
+
"type": {
|
3074
|
+
"text": "{\n ctrl: string;\n alt: string;\n shift: string;\n meta: string;\n }"
|
3075
|
+
}
|
3076
|
+
},
|
3077
|
+
"description": "Gets the appropriate modifier key symbols for the current platform"
|
3078
|
+
},
|
3079
|
+
{
|
3080
|
+
"kind": "method",
|
3081
|
+
"name": "formatKeyCombination",
|
3082
|
+
"static": true,
|
3083
|
+
"return": {
|
3084
|
+
"type": {
|
3085
|
+
"text": "string"
|
3086
|
+
}
|
3087
|
+
},
|
3088
|
+
"parameters": [
|
3089
|
+
{
|
3090
|
+
"name": "key",
|
3091
|
+
"type": {
|
3092
|
+
"text": "string"
|
3093
|
+
}
|
3094
|
+
},
|
3095
|
+
{
|
3096
|
+
"name": "ctrlKey",
|
3097
|
+
"default": "false"
|
3098
|
+
},
|
3099
|
+
{
|
3100
|
+
"name": "altKey",
|
3101
|
+
"default": "false"
|
3102
|
+
},
|
3103
|
+
{
|
3104
|
+
"name": "shiftKey",
|
3105
|
+
"default": "false"
|
3106
|
+
},
|
3107
|
+
{
|
3108
|
+
"name": "metaKey",
|
3109
|
+
"default": "false"
|
3110
|
+
}
|
3111
|
+
],
|
3112
|
+
"description": "Formats a key combination with platform-appropriate symbols"
|
3113
|
+
}
|
3114
|
+
]
|
3115
|
+
}
|
3116
|
+
],
|
3117
|
+
"exports": [
|
3118
|
+
{
|
3119
|
+
"kind": "js",
|
3120
|
+
"name": "OperatingSystemUtils",
|
3121
|
+
"declaration": {
|
3122
|
+
"name": "OperatingSystemUtils",
|
3123
|
+
"module": "src/utils/os-platform.ts"
|
3124
|
+
}
|
3125
|
+
}
|
3126
|
+
]
|
3127
|
+
},
|
2447
3128
|
{
|
2448
3129
|
"kind": "javascript-module",
|
2449
3130
|
"path": "src/uuid/index.ts",
|