electron 36.4.0 → 36.6.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/README.md +1 -13
- package/checksums.json +75 -75
- package/electron.d.ts +127 -2
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -44,29 +44,17 @@ Each Electron release provides binaries for macOS, Windows, and Linux.
|
|
|
44
44
|
* Fedora 32 and newer
|
|
45
45
|
* Debian 10 and newer
|
|
46
46
|
|
|
47
|
-
##
|
|
47
|
+
## Electron Fiddle
|
|
48
48
|
|
|
49
49
|
Use [`Electron Fiddle`](https://github.com/electron/fiddle)
|
|
50
50
|
to build, run, and package small Electron experiments, to see code examples for all of Electron's APIs, and
|
|
51
51
|
to try out different versions of Electron. It's designed to make the start of your journey with
|
|
52
52
|
Electron easier.
|
|
53
53
|
|
|
54
|
-
Alternatively, clone and run the
|
|
55
|
-
[electron/electron-quick-start](https://github.com/electron/electron-quick-start)
|
|
56
|
-
repository to see a minimal Electron app in action:
|
|
57
|
-
|
|
58
|
-
```sh
|
|
59
|
-
git clone https://github.com/electron/electron-quick-start
|
|
60
|
-
cd electron-quick-start
|
|
61
|
-
npm install
|
|
62
|
-
npm start
|
|
63
|
-
```
|
|
64
|
-
|
|
65
54
|
## Resources for learning Electron
|
|
66
55
|
|
|
67
56
|
* [electronjs.org/docs](https://electronjs.org/docs) - All of Electron's documentation
|
|
68
57
|
* [electron/fiddle](https://github.com/electron/fiddle) - A tool to build, run, and package small Electron experiments
|
|
69
|
-
* [electron/electron-quick-start](https://github.com/electron/electron-quick-start) - A very basic starter Electron app
|
|
70
58
|
* [electronjs.org/community#boilerplates](https://electronjs.org/community#boilerplates) - Sample starter apps created by the community
|
|
71
59
|
|
|
72
60
|
## Programmatic usage
|
package/checksums.json
CHANGED
|
@@ -1,77 +1,77 @@
|
|
|
1
1
|
{
|
|
2
|
-
"chromedriver-v36.
|
|
3
|
-
"chromedriver-v36.
|
|
4
|
-
"chromedriver-v36.
|
|
5
|
-
"chromedriver-v36.
|
|
6
|
-
"chromedriver-v36.
|
|
7
|
-
"chromedriver-v36.
|
|
8
|
-
"chromedriver-v36.
|
|
9
|
-
"chromedriver-v36.
|
|
10
|
-
"chromedriver-v36.
|
|
11
|
-
"chromedriver-v36.
|
|
12
|
-
"electron-api.json": "
|
|
13
|
-
"electron-v36.
|
|
14
|
-
"electron-v36.
|
|
15
|
-
"electron-v36.
|
|
16
|
-
"electron-v36.
|
|
17
|
-
"electron-v36.
|
|
18
|
-
"electron-v36.
|
|
19
|
-
"electron-v36.
|
|
20
|
-
"electron-v36.
|
|
21
|
-
"electron-v36.
|
|
22
|
-
"electron-v36.
|
|
23
|
-
"electron-v36.
|
|
24
|
-
"electron-v36.
|
|
25
|
-
"electron-v36.
|
|
26
|
-
"electron-v36.
|
|
27
|
-
"electron-v36.
|
|
28
|
-
"electron-v36.
|
|
29
|
-
"electron-v36.
|
|
30
|
-
"electron-v36.
|
|
31
|
-
"electron-v36.
|
|
32
|
-
"electron-v36.
|
|
33
|
-
"electron-v36.
|
|
34
|
-
"electron-v36.
|
|
35
|
-
"electron-v36.
|
|
36
|
-
"electron-v36.
|
|
37
|
-
"electron-v36.
|
|
38
|
-
"electron-v36.
|
|
39
|
-
"electron-v36.
|
|
40
|
-
"electron-v36.
|
|
41
|
-
"electron-v36.
|
|
42
|
-
"electron-v36.
|
|
43
|
-
"electron-v36.
|
|
44
|
-
"electron-v36.
|
|
45
|
-
"electron-v36.
|
|
46
|
-
"electron-v36.
|
|
47
|
-
"electron-v36.
|
|
48
|
-
"electron-v36.
|
|
49
|
-
"electron-v36.
|
|
50
|
-
"electron.d.ts": "
|
|
51
|
-
"ffmpeg-v36.
|
|
52
|
-
"ffmpeg-v36.
|
|
53
|
-
"ffmpeg-v36.
|
|
54
|
-
"ffmpeg-v36.
|
|
55
|
-
"ffmpeg-v36.
|
|
56
|
-
"ffmpeg-v36.
|
|
57
|
-
"ffmpeg-v36.
|
|
58
|
-
"ffmpeg-v36.
|
|
59
|
-
"ffmpeg-v36.
|
|
60
|
-
"ffmpeg-v36.
|
|
61
|
-
"hunspell_dictionaries.zip": "
|
|
62
|
-
"libcxx-objects-v36.
|
|
63
|
-
"libcxx-objects-v36.
|
|
64
|
-
"libcxx-objects-v36.
|
|
65
|
-
"libcxx_headers.zip": "
|
|
66
|
-
"libcxxabi_headers.zip": "
|
|
67
|
-
"mksnapshot-v36.
|
|
68
|
-
"mksnapshot-v36.
|
|
69
|
-
"mksnapshot-v36.
|
|
70
|
-
"mksnapshot-v36.
|
|
71
|
-
"mksnapshot-v36.
|
|
72
|
-
"mksnapshot-v36.
|
|
73
|
-
"mksnapshot-v36.
|
|
74
|
-
"mksnapshot-v36.
|
|
75
|
-
"mksnapshot-v36.
|
|
76
|
-
"mksnapshot-v36.
|
|
2
|
+
"chromedriver-v36.6.0-darwin-arm64.zip": "5042087ef83d34433d751360cdc7f9a02cbc839c3008a781048624ceaede4ce1",
|
|
3
|
+
"chromedriver-v36.6.0-darwin-x64.zip": "6cdd32f63a5b41ad653316e622655686f17ab26e4bf291beefc18705d504b98d",
|
|
4
|
+
"chromedriver-v36.6.0-linux-arm64.zip": "2a1386a4c5d0f5c01c2d1880378bfb26b5b972e3349f04205aeec0c17baa4d15",
|
|
5
|
+
"chromedriver-v36.6.0-linux-armv7l.zip": "f66b00fa540094d687f2f3f05115d563289353f8d997b88a8605a509ea48cc33",
|
|
6
|
+
"chromedriver-v36.6.0-linux-x64.zip": "859c853712a4addb77d4fb1019e27063ef8825004bb93219e991cf5b4103ccb8",
|
|
7
|
+
"chromedriver-v36.6.0-mas-arm64.zip": "95a83c28bc6a1d23953e6b30b1895b235d03ccc9f91dda7024a91d9fae3ae4fb",
|
|
8
|
+
"chromedriver-v36.6.0-mas-x64.zip": "40d72d5d71df952f073359beb3f0ce6dff37b323960d71a91c8f230a2b830cd5",
|
|
9
|
+
"chromedriver-v36.6.0-win32-arm64.zip": "406de0f12c5313f1c7b1832512959fa182410aae4c09f156a7f9556cc25aa6f5",
|
|
10
|
+
"chromedriver-v36.6.0-win32-ia32.zip": "bbd1215b081f28aabb2f43b5648cb80abbe0869e51273eb03998f860293ddbd8",
|
|
11
|
+
"chromedriver-v36.6.0-win32-x64.zip": "a8f175531dd210b3f0123546357e05fc6f67a4ac3ab7c7b379af92967d052e7e",
|
|
12
|
+
"electron-api.json": "1319b125a2e3a33a879f50cbffcdb3b7d25e6d007a6bd0ed4a967f067ab95785",
|
|
13
|
+
"electron-v36.6.0-darwin-arm64-dsym-snapshot.zip": "6c58aa386bf459d8110a5aadce6ac52fe03f1341ae547ac412cf1ae32c795629",
|
|
14
|
+
"electron-v36.6.0-darwin-arm64-dsym.zip": "e9d8b6e1891c0e7a1a9ca7fca033a8314d64a75390f569246a2b7d8bf7f37b73",
|
|
15
|
+
"electron-v36.6.0-darwin-arm64-symbols.zip": "3463548eb6bc318cc74cf6d37236836b3fd9ab79c8b0d3bfac6ed77ec905cef1",
|
|
16
|
+
"electron-v36.6.0-darwin-arm64.zip": "3fd20b4aa0bf3eee25235ee114b1fbf7dd124b888f4c0ce5ee3592f147abd42d",
|
|
17
|
+
"electron-v36.6.0-darwin-x64-dsym-snapshot.zip": "e934e0ee7b2a016cead55b16f4b2bc0d79a177a7de2e4436eee08092d6c1b5b2",
|
|
18
|
+
"electron-v36.6.0-darwin-x64-dsym.zip": "e661bc1de9507e7263a1f3ff14a71e10628f0e862bc7141787f928511a9d8771",
|
|
19
|
+
"electron-v36.6.0-darwin-x64-symbols.zip": "0181d864b67b89bf906b8a485f639d3bb0c0db08e9ad0564daa8c592b85682e6",
|
|
20
|
+
"electron-v36.6.0-darwin-x64.zip": "edbe907582e1e2a13d219dc3161f92db9867e452814894cc3b3c837679a3d827",
|
|
21
|
+
"electron-v36.6.0-linux-arm64-debug.zip": "1c3e89fcc8357b86ceac49dfc1d166c38ceea34eddc4efe3b3845ad87e88d9bc",
|
|
22
|
+
"electron-v36.6.0-linux-arm64-symbols.zip": "1750bddd336e1dcc1fd31e0d4502dc6b961e441f611a1ec4e7715d30146a9f18",
|
|
23
|
+
"electron-v36.6.0-linux-arm64.zip": "f789ec88675bfbede2a661eee656a083bc585232792db9e925d017c33d9dc3ec",
|
|
24
|
+
"electron-v36.6.0-linux-armv7l-debug.zip": "1c3e89fcc8357b86ceac49dfc1d166c38ceea34eddc4efe3b3845ad87e88d9bc",
|
|
25
|
+
"electron-v36.6.0-linux-armv7l-symbols.zip": "9f70b115399ab8321a8baa9462aede51769a2e902c7f79ca309e20f0e654a8f2",
|
|
26
|
+
"electron-v36.6.0-linux-armv7l.zip": "9c9731c68227a3e4a634cd352802146081233e9129f39ea655c8b851a23e8fbf",
|
|
27
|
+
"electron-v36.6.0-linux-x64-debug.zip": "e5fb809062f4ee53297481635a5e4b1e097f312f0e3ed4179667c46fe33af2c8",
|
|
28
|
+
"electron-v36.6.0-linux-x64-symbols.zip": "16e15eacd4167b6d1ae0996491c048abe755c24a13f86c9add71f424d92afa6b",
|
|
29
|
+
"electron-v36.6.0-linux-x64.zip": "6a0decb3e382f32d4ab3db90aabd082ef9ee1154fe205808f887e228fdb2d355",
|
|
30
|
+
"electron-v36.6.0-mas-arm64-dsym-snapshot.zip": "0af861c9f3169023be74106fcd4500ef672d4fe7ae3828cfcfe400286cc9e36e",
|
|
31
|
+
"electron-v36.6.0-mas-arm64-dsym.zip": "fc71e73e8f8651c7601a38af3b20bb7c881531ed922a10cd698793399dd2acd5",
|
|
32
|
+
"electron-v36.6.0-mas-arm64-symbols.zip": "58580fa961736e11ba715df098d437804fd002065c9417c1dcc8e959cae60bda",
|
|
33
|
+
"electron-v36.6.0-mas-arm64.zip": "cbcd2c6f4b740dcb24aed3e60cfb0332aa23b4e8ed1623a0ce1f6b5140809400",
|
|
34
|
+
"electron-v36.6.0-mas-x64-dsym-snapshot.zip": "6f106c1809bd34e27d6e7a39d2fb8641cb636a3f36c8946cdc112803570661b9",
|
|
35
|
+
"electron-v36.6.0-mas-x64-dsym.zip": "201d38c73644b4f82222dc98eedc8b18b408abd9ec797fa22177fec806f874c0",
|
|
36
|
+
"electron-v36.6.0-mas-x64-symbols.zip": "7e0d2e06b1802626a2684d5d388176aed1bb09a7a9c698084311971528a9bbea",
|
|
37
|
+
"electron-v36.6.0-mas-x64.zip": "3b615125921846a2ef2ed22165cfe7b508dd0b2598e5b3134b26d276d32962f0",
|
|
38
|
+
"electron-v36.6.0-win32-arm64-pdb.zip": "b2cc43e36dbe69885bbd677aa16512c3725fc488b401efe4cbebaa79cc705f92",
|
|
39
|
+
"electron-v36.6.0-win32-arm64-symbols.zip": "d1c30ef140e42f2f07097f9734eb0a3c3ecc8665608b8fc4e4d0dabff6d75d1c",
|
|
40
|
+
"electron-v36.6.0-win32-arm64-toolchain-profile.zip": "3b60892b95a894a2a9fac312d7c4294c2dbb85b8b91cecf7bb2b255f68e5d312",
|
|
41
|
+
"electron-v36.6.0-win32-arm64.zip": "886928dffaf532c75f783abe5b7d1c75c9942fe174c29ff8d692a6519d6edee6",
|
|
42
|
+
"electron-v36.6.0-win32-ia32-pdb.zip": "c3d4240e95c45bac1ae8713ebec2d83b25d871eeef5c3e6a5d47c5b14e68d7e6",
|
|
43
|
+
"electron-v36.6.0-win32-ia32-symbols.zip": "f075b91d07c48fe02b51d37db1b6fc460c6f70029406524e28b9bca4b43ed3b4",
|
|
44
|
+
"electron-v36.6.0-win32-ia32-toolchain-profile.zip": "3b60892b95a894a2a9fac312d7c4294c2dbb85b8b91cecf7bb2b255f68e5d312",
|
|
45
|
+
"electron-v36.6.0-win32-ia32.zip": "c7366a91f28ddd68add5182ac17598c5205c2b57443c7be1838334a7ec6febd2",
|
|
46
|
+
"electron-v36.6.0-win32-x64-pdb.zip": "3fbd6c2bd0082a8d5590502440c081d48cb8e4dcdb51c84002fafeaf743b2d40",
|
|
47
|
+
"electron-v36.6.0-win32-x64-symbols.zip": "bd29212267451b14e1dce3172b317ee72e0fe48d72a6d8974b7a2ad2b9cbea12",
|
|
48
|
+
"electron-v36.6.0-win32-x64-toolchain-profile.zip": "3b60892b95a894a2a9fac312d7c4294c2dbb85b8b91cecf7bb2b255f68e5d312",
|
|
49
|
+
"electron-v36.6.0-win32-x64.zip": "e912a5ec7785dff898b7abef649be34f2a7f4117d877fb6950d1e3f13f138192",
|
|
50
|
+
"electron.d.ts": "4c8c5db9fbfef49ac5678b1f632a9a960df0c05c09a6fce90a609e940b85fc1b",
|
|
51
|
+
"ffmpeg-v36.6.0-darwin-arm64.zip": "fb8d8ad51d993df241cbe71a3d4fad01bc0fcb20c722ae410ac96744fa9f1b37",
|
|
52
|
+
"ffmpeg-v36.6.0-darwin-x64.zip": "ed7f374037f6dcbbc71a4b9a73a751511e0f7671e61cb4c6919ee6c3272ab413",
|
|
53
|
+
"ffmpeg-v36.6.0-linux-arm64.zip": "81aace0237b14404cbca5e9d41c2317fdd730d51c92cf9d5472d2cf3f2e03e60",
|
|
54
|
+
"ffmpeg-v36.6.0-linux-armv7l.zip": "3adab6384dfba991bbe73aa3241f82c86e927385b90282290079c01e89508666",
|
|
55
|
+
"ffmpeg-v36.6.0-linux-x64.zip": "063b6e0fb8c38c4c84b844f145920e04670957e5e86ac6dbd7acb80ba51e6706",
|
|
56
|
+
"ffmpeg-v36.6.0-mas-arm64.zip": "fb8d8ad51d993df241cbe71a3d4fad01bc0fcb20c722ae410ac96744fa9f1b37",
|
|
57
|
+
"ffmpeg-v36.6.0-mas-x64.zip": "ed7f374037f6dcbbc71a4b9a73a751511e0f7671e61cb4c6919ee6c3272ab413",
|
|
58
|
+
"ffmpeg-v36.6.0-win32-arm64.zip": "f3e853a1da168ee6f66de38e07780539209d7df1e3158221e9065ebad6e58af8",
|
|
59
|
+
"ffmpeg-v36.6.0-win32-ia32.zip": "f3e853a1da168ee6f66de38e07780539209d7df1e3158221e9065ebad6e58af8",
|
|
60
|
+
"ffmpeg-v36.6.0-win32-x64.zip": "f3e853a1da168ee6f66de38e07780539209d7df1e3158221e9065ebad6e58af8",
|
|
61
|
+
"hunspell_dictionaries.zip": "f671bfe1cf079e123cfb8c37f8df3ac55fa30fa1e59f853e2442acd1627752ac",
|
|
62
|
+
"libcxx-objects-v36.6.0-linux-arm64.zip": "de6461db06f87484852f342bbfc1325ceaf572831a3d559d25c3d6d55d0e486f",
|
|
63
|
+
"libcxx-objects-v36.6.0-linux-armv7l.zip": "c218eb940c75f26bc9e6220976cacb6e728024dd1b7356523e6fe1353539690e",
|
|
64
|
+
"libcxx-objects-v36.6.0-linux-x64.zip": "30768360d78a7cbd5e479005ae65aae9510ebe238d7e519006ae275206dcca98",
|
|
65
|
+
"libcxx_headers.zip": "8e0c97a32971e7010248193be23916bdf98bb47c3be20390898fe3ba13c5382d",
|
|
66
|
+
"libcxxabi_headers.zip": "07e8f2f0383976dd0981fdc2daf4e12a2b4185a5bc158f99ef86970c69acb18e",
|
|
67
|
+
"mksnapshot-v36.6.0-darwin-arm64.zip": "c13bd326ae64d61f864def7d3d205386015233fa1cbf46bca29a053f15eb55f6",
|
|
68
|
+
"mksnapshot-v36.6.0-darwin-x64.zip": "11d7121f6f68a48296bf6848430644568bcd0711a0b7b97b2d0d5a92a026a25b",
|
|
69
|
+
"mksnapshot-v36.6.0-linux-arm64-x64.zip": "6e9084f8b69c0485e63827d44b3bbfb76a3bc2a82f62bec6e93b994bcc7cf32b",
|
|
70
|
+
"mksnapshot-v36.6.0-linux-armv7l-x64.zip": "75afd403e74c9a2c4b3a7fc9a769daad87473d516eba0d1449cf647cdd636bd1",
|
|
71
|
+
"mksnapshot-v36.6.0-linux-x64.zip": "64e0ea2805024a581ad54b2f8bd88c85f7eb3cb168d469aa706e522e62e4483e",
|
|
72
|
+
"mksnapshot-v36.6.0-mas-arm64.zip": "e0c5597625a4352b9a2277a607916141faed5479396c6e6e42e3ce3767633d72",
|
|
73
|
+
"mksnapshot-v36.6.0-mas-x64.zip": "5473e029d7a23070855ba6be25a147282ae2188efd35899f7b18f27adc51239e",
|
|
74
|
+
"mksnapshot-v36.6.0-win32-arm64-x64.zip": "82b9e3ce404362bd1f2f68e7c0d889c3662ad335a120d3b82a1d28f8dfc0e889",
|
|
75
|
+
"mksnapshot-v36.6.0-win32-ia32.zip": "8969a736311da4580e6807ae159a6684eaed6b380f2098435e0af0b0065a9af1",
|
|
76
|
+
"mksnapshot-v36.6.0-win32-x64.zip": "cdc13c01e6e9764c01ad0552160241658a75348099d2ea15fe10eaa3f8e69a10"
|
|
77
77
|
}
|
package/electron.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
// Type definitions for Electron 36.
|
|
1
|
+
// Type definitions for Electron 36.6.0
|
|
2
2
|
// Project: http://electronjs.org/
|
|
3
3
|
// Definitions by: The Electron Team <https://github.com/electron/electron>
|
|
4
4
|
// Definitions: https://github.com/electron/typescript-definitions
|
|
@@ -2718,6 +2718,12 @@ declare namespace Electron {
|
|
|
2718
2718
|
* @platform darwin,win32
|
|
2719
2719
|
*/
|
|
2720
2720
|
isClosable(): boolean;
|
|
2721
|
+
/**
|
|
2722
|
+
* whether or not content protection is currently enabled.
|
|
2723
|
+
*
|
|
2724
|
+
* @platform darwin,win32
|
|
2725
|
+
*/
|
|
2726
|
+
isContentProtected(): boolean;
|
|
2721
2727
|
/**
|
|
2722
2728
|
* Whether the window is destroyed.
|
|
2723
2729
|
*/
|
|
@@ -3554,6 +3560,14 @@ declare namespace Electron {
|
|
|
3554
3560
|
|
|
3555
3561
|
// Docs: https://electronjs.org/docs/api/structures/base-window-options
|
|
3556
3562
|
|
|
3563
|
+
/**
|
|
3564
|
+
* The accent color for the window. By default, follows user preference in System
|
|
3565
|
+
* Settings. Set to `false` to explicitly disable, or set the color in Hex, RGB,
|
|
3566
|
+
* RGBA, HSL, HSLA or named CSS color format. Alpha values will be ignored.
|
|
3567
|
+
*
|
|
3568
|
+
* @platform win32
|
|
3569
|
+
*/
|
|
3570
|
+
accentColor?: (boolean) | (string);
|
|
3557
3571
|
/**
|
|
3558
3572
|
* Whether clicking an inactive window will also click through to the web contents.
|
|
3559
3573
|
* Default is `false` on macOS. This option is not configurable on other platforms.
|
|
@@ -5364,6 +5378,12 @@ declare namespace Electron {
|
|
|
5364
5378
|
* @platform darwin,win32
|
|
5365
5379
|
*/
|
|
5366
5380
|
isClosable(): boolean;
|
|
5381
|
+
/**
|
|
5382
|
+
* whether or not content protection is currently enabled.
|
|
5383
|
+
*
|
|
5384
|
+
* @platform darwin,win32
|
|
5385
|
+
*/
|
|
5386
|
+
isContentProtected(): boolean;
|
|
5367
5387
|
/**
|
|
5368
5388
|
* Whether the window is destroyed.
|
|
5369
5389
|
*/
|
|
@@ -8211,6 +8231,10 @@ declare namespace Electron {
|
|
|
8211
8231
|
|
|
8212
8232
|
// Docs: https://electronjs.org/docs/api/structures/hid-device
|
|
8213
8233
|
|
|
8234
|
+
/**
|
|
8235
|
+
* an array of report formats. See MDN documentation for more.
|
|
8236
|
+
*/
|
|
8237
|
+
collections: Array<Collections>;
|
|
8214
8238
|
/**
|
|
8215
8239
|
* Unique identifier for the device.
|
|
8216
8240
|
*/
|
|
@@ -11243,7 +11267,8 @@ declare namespace Electron {
|
|
|
11243
11267
|
* line flag is provided `--password-store="kwallet"`.
|
|
11244
11268
|
* * `kwallet5` - When the desktop session is `kde5` or if the following command
|
|
11245
11269
|
* line flag is provided `--password-store="kwallet5"`.
|
|
11246
|
-
* * `kwallet6` - When the desktop session is `kde6
|
|
11270
|
+
* * `kwallet6` - When the desktop session is `kde6` or if the following command
|
|
11271
|
+
* line flag is provided `--password-store="kwallet6"`.
|
|
11247
11272
|
* * `unknown` - When the function is called before app has emitted the `ready`
|
|
11248
11273
|
* event.
|
|
11249
11274
|
*
|
|
@@ -14987,6 +15012,21 @@ declare namespace Electron {
|
|
|
14987
15012
|
* Input properties.
|
|
14988
15013
|
*/
|
|
14989
15014
|
input: Input) => void): this;
|
|
15015
|
+
/**
|
|
15016
|
+
* Emitted before dispatching mouse events in the page.
|
|
15017
|
+
*
|
|
15018
|
+
* Calling `event.preventDefault` will prevent the page mouse events.
|
|
15019
|
+
*/
|
|
15020
|
+
on(event: 'before-mouse-event', listener: (event: Event,
|
|
15021
|
+
mouse: MouseInputEvent) => void): this;
|
|
15022
|
+
off(event: 'before-mouse-event', listener: (event: Event,
|
|
15023
|
+
mouse: MouseInputEvent) => void): this;
|
|
15024
|
+
once(event: 'before-mouse-event', listener: (event: Event,
|
|
15025
|
+
mouse: MouseInputEvent) => void): this;
|
|
15026
|
+
addListener(event: 'before-mouse-event', listener: (event: Event,
|
|
15027
|
+
mouse: MouseInputEvent) => void): this;
|
|
15028
|
+
removeListener(event: 'before-mouse-event', listener: (event: Event,
|
|
15029
|
+
mouse: MouseInputEvent) => void): this;
|
|
14990
15030
|
/**
|
|
14991
15031
|
* Emitted when the `WebContents` loses focus.
|
|
14992
15032
|
*/
|
|
@@ -19515,6 +19555,16 @@ declare namespace Electron {
|
|
|
19515
19555
|
* `only-if-cached`.
|
|
19516
19556
|
*/
|
|
19517
19557
|
cache?: ('default' | 'no-store' | 'reload' | 'no-cache' | 'force-cache' | 'only-if-cached');
|
|
19558
|
+
/**
|
|
19559
|
+
* can be `throttled`, `idle`, `lowest`, `low`, `medium`, or `highest`. Defaults to
|
|
19560
|
+
* `idle`.
|
|
19561
|
+
*/
|
|
19562
|
+
priority?: ('throttled' | 'idle' | 'lowest' | 'low' | 'medium' | 'highest');
|
|
19563
|
+
/**
|
|
19564
|
+
* the incremental loading flag as part of HTTP extensible priorities (RFC 9218).
|
|
19565
|
+
* Default is `true`.
|
|
19566
|
+
*/
|
|
19567
|
+
priorityIncremental?: boolean;
|
|
19518
19568
|
}
|
|
19519
19569
|
|
|
19520
19570
|
interface CloseOpts {
|
|
@@ -19526,6 +19576,44 @@ declare namespace Electron {
|
|
|
19526
19576
|
waitForBeforeUnload: boolean;
|
|
19527
19577
|
}
|
|
19528
19578
|
|
|
19579
|
+
interface Collections {
|
|
19580
|
+
/**
|
|
19581
|
+
* An integer representing the usage ID component of the HID usage associated with
|
|
19582
|
+
* this collection.
|
|
19583
|
+
*/
|
|
19584
|
+
usage: number;
|
|
19585
|
+
/**
|
|
19586
|
+
* An integer representing the usage page component of the HID usage associated
|
|
19587
|
+
* with this collection.
|
|
19588
|
+
*/
|
|
19589
|
+
usagePage: number;
|
|
19590
|
+
/**
|
|
19591
|
+
* An 8-bit value representing the collection type, which describes a different
|
|
19592
|
+
* relationship between the grouped items.
|
|
19593
|
+
*/
|
|
19594
|
+
type: number;
|
|
19595
|
+
/**
|
|
19596
|
+
* An array of sub-collections which takes the same format as a top-level
|
|
19597
|
+
* collection.
|
|
19598
|
+
*/
|
|
19599
|
+
children: Children[];
|
|
19600
|
+
/**
|
|
19601
|
+
* An array of inputReport items which represent individual input reports described
|
|
19602
|
+
* in this collection.
|
|
19603
|
+
*/
|
|
19604
|
+
inputReports: InputReports[];
|
|
19605
|
+
/**
|
|
19606
|
+
* An array of outputReport items which represent individual output reports
|
|
19607
|
+
* described in this collection.
|
|
19608
|
+
*/
|
|
19609
|
+
outputReports: OutputReports[];
|
|
19610
|
+
/**
|
|
19611
|
+
* An array of featureReport items which represent individual feature reports
|
|
19612
|
+
* described in this collection.
|
|
19613
|
+
*/
|
|
19614
|
+
featureReports: FeatureReports[];
|
|
19615
|
+
}
|
|
19616
|
+
|
|
19529
19617
|
interface Config {
|
|
19530
19618
|
/**
|
|
19531
19619
|
* Can be `tls1`, `tls1.1`, `tls1.2` or `tls1.3`. The minimum SSL version to allow
|
|
@@ -22904,6 +22992,9 @@ declare namespace Electron {
|
|
|
22904
22992
|
edge: ('bottom' | 'left' | 'right' | 'top-left' | 'top-right' | 'bottom-left' | 'bottom-right');
|
|
22905
22993
|
}
|
|
22906
22994
|
|
|
22995
|
+
interface Children {
|
|
22996
|
+
}
|
|
22997
|
+
|
|
22907
22998
|
interface EditFlags {
|
|
22908
22999
|
/**
|
|
22909
23000
|
* Whether the renderer believes it can undo.
|
|
@@ -22942,6 +23033,9 @@ declare namespace Electron {
|
|
|
22942
23033
|
interface Env {
|
|
22943
23034
|
}
|
|
22944
23035
|
|
|
23036
|
+
interface FeatureReports {
|
|
23037
|
+
}
|
|
23038
|
+
|
|
22945
23039
|
interface FoundInPageResult {
|
|
22946
23040
|
requestId: number;
|
|
22947
23041
|
/**
|
|
@@ -22959,6 +23053,9 @@ declare namespace Electron {
|
|
|
22959
23053
|
finalUpdate: boolean;
|
|
22960
23054
|
}
|
|
22961
23055
|
|
|
23056
|
+
interface InputReports {
|
|
23057
|
+
}
|
|
23058
|
+
|
|
22962
23059
|
interface LaunchItems {
|
|
22963
23060
|
/**
|
|
22964
23061
|
* name value of a registry entry.
|
|
@@ -23093,6 +23190,9 @@ declare namespace Electron {
|
|
|
23093
23190
|
frameCount?: number;
|
|
23094
23191
|
}
|
|
23095
23192
|
|
|
23193
|
+
interface OutputReports {
|
|
23194
|
+
}
|
|
23195
|
+
|
|
23096
23196
|
interface PageRanges {
|
|
23097
23197
|
/**
|
|
23098
23198
|
* Index of the first page to print (0-based).
|
|
@@ -23291,6 +23391,7 @@ declare namespace Electron {
|
|
|
23291
23391
|
type ClientCertRequestParams = Electron.ClientCertRequestParams;
|
|
23292
23392
|
type ClientRequestConstructorOptions = Electron.ClientRequestConstructorOptions;
|
|
23293
23393
|
type CloseOpts = Electron.CloseOpts;
|
|
23394
|
+
type Collections = Electron.Collections;
|
|
23294
23395
|
type Config = Electron.Config;
|
|
23295
23396
|
type ConfigureHostResolverOptions = Electron.ConfigureHostResolverOptions;
|
|
23296
23397
|
type ConsoleMessageEvent = Electron.ConsoleMessageEvent;
|
|
@@ -23459,13 +23560,17 @@ declare namespace Electron {
|
|
|
23459
23560
|
type WillFrameNavigateEvent = Electron.WillFrameNavigateEvent;
|
|
23460
23561
|
type WillNavigateEvent = Electron.WillNavigateEvent;
|
|
23461
23562
|
type WillResizeDetails = Electron.WillResizeDetails;
|
|
23563
|
+
type Children = Electron.Children;
|
|
23462
23564
|
type EditFlags = Electron.EditFlags;
|
|
23463
23565
|
type Env = Electron.Env;
|
|
23566
|
+
type FeatureReports = Electron.FeatureReports;
|
|
23464
23567
|
type FoundInPageResult = Electron.FoundInPageResult;
|
|
23568
|
+
type InputReports = Electron.InputReports;
|
|
23465
23569
|
type LaunchItems = Electron.LaunchItems;
|
|
23466
23570
|
type Margins = Electron.Margins;
|
|
23467
23571
|
type MediaFlags = Electron.MediaFlags;
|
|
23468
23572
|
type Metadata = Electron.Metadata;
|
|
23573
|
+
type OutputReports = Electron.OutputReports;
|
|
23469
23574
|
type PageRanges = Electron.PageRanges;
|
|
23470
23575
|
type Params = Electron.Params;
|
|
23471
23576
|
type Planes = Electron.Planes;
|
|
@@ -23663,6 +23768,7 @@ declare namespace Electron {
|
|
|
23663
23768
|
type ClientCertRequestParams = Electron.ClientCertRequestParams;
|
|
23664
23769
|
type ClientRequestConstructorOptions = Electron.ClientRequestConstructorOptions;
|
|
23665
23770
|
type CloseOpts = Electron.CloseOpts;
|
|
23771
|
+
type Collections = Electron.Collections;
|
|
23666
23772
|
type Config = Electron.Config;
|
|
23667
23773
|
type ConfigureHostResolverOptions = Electron.ConfigureHostResolverOptions;
|
|
23668
23774
|
type ConsoleMessageEvent = Electron.ConsoleMessageEvent;
|
|
@@ -23831,13 +23937,17 @@ declare namespace Electron {
|
|
|
23831
23937
|
type WillFrameNavigateEvent = Electron.WillFrameNavigateEvent;
|
|
23832
23938
|
type WillNavigateEvent = Electron.WillNavigateEvent;
|
|
23833
23939
|
type WillResizeDetails = Electron.WillResizeDetails;
|
|
23940
|
+
type Children = Electron.Children;
|
|
23834
23941
|
type EditFlags = Electron.EditFlags;
|
|
23835
23942
|
type Env = Electron.Env;
|
|
23943
|
+
type FeatureReports = Electron.FeatureReports;
|
|
23836
23944
|
type FoundInPageResult = Electron.FoundInPageResult;
|
|
23945
|
+
type InputReports = Electron.InputReports;
|
|
23837
23946
|
type LaunchItems = Electron.LaunchItems;
|
|
23838
23947
|
type Margins = Electron.Margins;
|
|
23839
23948
|
type MediaFlags = Electron.MediaFlags;
|
|
23840
23949
|
type Metadata = Electron.Metadata;
|
|
23950
|
+
type OutputReports = Electron.OutputReports;
|
|
23841
23951
|
type PageRanges = Electron.PageRanges;
|
|
23842
23952
|
type Params = Electron.Params;
|
|
23843
23953
|
type Planes = Electron.Planes;
|
|
@@ -23963,6 +24073,7 @@ declare namespace Electron {
|
|
|
23963
24073
|
type ClientCertRequestParams = Electron.ClientCertRequestParams;
|
|
23964
24074
|
type ClientRequestConstructorOptions = Electron.ClientRequestConstructorOptions;
|
|
23965
24075
|
type CloseOpts = Electron.CloseOpts;
|
|
24076
|
+
type Collections = Electron.Collections;
|
|
23966
24077
|
type Config = Electron.Config;
|
|
23967
24078
|
type ConfigureHostResolverOptions = Electron.ConfigureHostResolverOptions;
|
|
23968
24079
|
type ConsoleMessageEvent = Electron.ConsoleMessageEvent;
|
|
@@ -24131,13 +24242,17 @@ declare namespace Electron {
|
|
|
24131
24242
|
type WillFrameNavigateEvent = Electron.WillFrameNavigateEvent;
|
|
24132
24243
|
type WillNavigateEvent = Electron.WillNavigateEvent;
|
|
24133
24244
|
type WillResizeDetails = Electron.WillResizeDetails;
|
|
24245
|
+
type Children = Electron.Children;
|
|
24134
24246
|
type EditFlags = Electron.EditFlags;
|
|
24135
24247
|
type Env = Electron.Env;
|
|
24248
|
+
type FeatureReports = Electron.FeatureReports;
|
|
24136
24249
|
type FoundInPageResult = Electron.FoundInPageResult;
|
|
24250
|
+
type InputReports = Electron.InputReports;
|
|
24137
24251
|
type LaunchItems = Electron.LaunchItems;
|
|
24138
24252
|
type Margins = Electron.Margins;
|
|
24139
24253
|
type MediaFlags = Electron.MediaFlags;
|
|
24140
24254
|
type Metadata = Electron.Metadata;
|
|
24255
|
+
type OutputReports = Electron.OutputReports;
|
|
24141
24256
|
type PageRanges = Electron.PageRanges;
|
|
24142
24257
|
type Params = Electron.Params;
|
|
24143
24258
|
type Planes = Electron.Planes;
|
|
@@ -24260,6 +24375,7 @@ declare namespace Electron {
|
|
|
24260
24375
|
type ClientCertRequestParams = Electron.ClientCertRequestParams;
|
|
24261
24376
|
type ClientRequestConstructorOptions = Electron.ClientRequestConstructorOptions;
|
|
24262
24377
|
type CloseOpts = Electron.CloseOpts;
|
|
24378
|
+
type Collections = Electron.Collections;
|
|
24263
24379
|
type Config = Electron.Config;
|
|
24264
24380
|
type ConfigureHostResolverOptions = Electron.ConfigureHostResolverOptions;
|
|
24265
24381
|
type ConsoleMessageEvent = Electron.ConsoleMessageEvent;
|
|
@@ -24428,13 +24544,17 @@ declare namespace Electron {
|
|
|
24428
24544
|
type WillFrameNavigateEvent = Electron.WillFrameNavigateEvent;
|
|
24429
24545
|
type WillNavigateEvent = Electron.WillNavigateEvent;
|
|
24430
24546
|
type WillResizeDetails = Electron.WillResizeDetails;
|
|
24547
|
+
type Children = Electron.Children;
|
|
24431
24548
|
type EditFlags = Electron.EditFlags;
|
|
24432
24549
|
type Env = Electron.Env;
|
|
24550
|
+
type FeatureReports = Electron.FeatureReports;
|
|
24433
24551
|
type FoundInPageResult = Electron.FoundInPageResult;
|
|
24552
|
+
type InputReports = Electron.InputReports;
|
|
24434
24553
|
type LaunchItems = Electron.LaunchItems;
|
|
24435
24554
|
type Margins = Electron.Margins;
|
|
24436
24555
|
type MediaFlags = Electron.MediaFlags;
|
|
24437
24556
|
type Metadata = Electron.Metadata;
|
|
24557
|
+
type OutputReports = Electron.OutputReports;
|
|
24438
24558
|
type PageRanges = Electron.PageRanges;
|
|
24439
24559
|
type Params = Electron.Params;
|
|
24440
24560
|
type Planes = Electron.Planes;
|
|
@@ -24649,6 +24769,7 @@ declare namespace Electron {
|
|
|
24649
24769
|
type ClientCertRequestParams = Electron.ClientCertRequestParams;
|
|
24650
24770
|
type ClientRequestConstructorOptions = Electron.ClientRequestConstructorOptions;
|
|
24651
24771
|
type CloseOpts = Electron.CloseOpts;
|
|
24772
|
+
type Collections = Electron.Collections;
|
|
24652
24773
|
type Config = Electron.Config;
|
|
24653
24774
|
type ConfigureHostResolverOptions = Electron.ConfigureHostResolverOptions;
|
|
24654
24775
|
type ConsoleMessageEvent = Electron.ConsoleMessageEvent;
|
|
@@ -24817,13 +24938,17 @@ declare namespace Electron {
|
|
|
24817
24938
|
type WillFrameNavigateEvent = Electron.WillFrameNavigateEvent;
|
|
24818
24939
|
type WillNavigateEvent = Electron.WillNavigateEvent;
|
|
24819
24940
|
type WillResizeDetails = Electron.WillResizeDetails;
|
|
24941
|
+
type Children = Electron.Children;
|
|
24820
24942
|
type EditFlags = Electron.EditFlags;
|
|
24821
24943
|
type Env = Electron.Env;
|
|
24944
|
+
type FeatureReports = Electron.FeatureReports;
|
|
24822
24945
|
type FoundInPageResult = Electron.FoundInPageResult;
|
|
24946
|
+
type InputReports = Electron.InputReports;
|
|
24823
24947
|
type LaunchItems = Electron.LaunchItems;
|
|
24824
24948
|
type Margins = Electron.Margins;
|
|
24825
24949
|
type MediaFlags = Electron.MediaFlags;
|
|
24826
24950
|
type Metadata = Electron.Metadata;
|
|
24951
|
+
type OutputReports = Electron.OutputReports;
|
|
24827
24952
|
type PageRanges = Electron.PageRanges;
|
|
24828
24953
|
type Params = Electron.Params;
|
|
24829
24954
|
type Planes = Electron.Planes;
|
package/package.json
CHANGED