electron 37.2.4 → 38.0.0-alpha.10
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/checksums.json +75 -75
- package/electron.d.ts +48 -47
- package/package.json +1 -1
package/checksums.json
CHANGED
|
@@ -1,77 +1,77 @@
|
|
|
1
1
|
{
|
|
2
|
-
"chromedriver-
|
|
3
|
-
"chromedriver-
|
|
4
|
-
"chromedriver-
|
|
5
|
-
"chromedriver-
|
|
6
|
-
"chromedriver-
|
|
7
|
-
"chromedriver-
|
|
8
|
-
"chromedriver-
|
|
9
|
-
"chromedriver-
|
|
10
|
-
"chromedriver-
|
|
11
|
-
"chromedriver-
|
|
12
|
-
"electron-api.json": "
|
|
13
|
-
"electron-
|
|
14
|
-
"electron-
|
|
15
|
-
"electron-
|
|
16
|
-
"electron-
|
|
17
|
-
"electron-
|
|
18
|
-
"electron-
|
|
19
|
-
"electron-
|
|
20
|
-
"electron-
|
|
21
|
-
"electron-
|
|
22
|
-
"electron-
|
|
23
|
-
"electron-
|
|
24
|
-
"electron-
|
|
25
|
-
"electron-
|
|
26
|
-
"electron-
|
|
27
|
-
"electron-
|
|
28
|
-
"electron-
|
|
29
|
-
"electron-
|
|
30
|
-
"electron-
|
|
31
|
-
"electron-
|
|
32
|
-
"electron-
|
|
33
|
-
"electron-
|
|
34
|
-
"electron-
|
|
35
|
-
"electron-
|
|
36
|
-
"electron-
|
|
37
|
-
"electron-
|
|
38
|
-
"electron-
|
|
39
|
-
"electron-
|
|
40
|
-
"electron-
|
|
41
|
-
"electron-
|
|
42
|
-
"electron-
|
|
43
|
-
"electron-
|
|
44
|
-
"electron-
|
|
45
|
-
"electron-
|
|
46
|
-
"electron-
|
|
47
|
-
"electron-
|
|
48
|
-
"electron-
|
|
49
|
-
"electron-
|
|
50
|
-
"electron.d.ts": "
|
|
51
|
-
"ffmpeg-
|
|
52
|
-
"ffmpeg-
|
|
53
|
-
"ffmpeg-
|
|
54
|
-
"ffmpeg-
|
|
55
|
-
"ffmpeg-
|
|
56
|
-
"ffmpeg-
|
|
57
|
-
"ffmpeg-
|
|
58
|
-
"ffmpeg-
|
|
59
|
-
"ffmpeg-
|
|
60
|
-
"ffmpeg-
|
|
61
|
-
"hunspell_dictionaries.zip": "
|
|
62
|
-
"libcxx-objects-
|
|
63
|
-
"libcxx-objects-
|
|
64
|
-
"libcxx-objects-
|
|
65
|
-
"libcxx_headers.zip": "
|
|
66
|
-
"libcxxabi_headers.zip": "
|
|
67
|
-
"mksnapshot-
|
|
68
|
-
"mksnapshot-
|
|
69
|
-
"mksnapshot-
|
|
70
|
-
"mksnapshot-
|
|
71
|
-
"mksnapshot-
|
|
72
|
-
"mksnapshot-
|
|
73
|
-
"mksnapshot-
|
|
74
|
-
"mksnapshot-
|
|
75
|
-
"mksnapshot-
|
|
76
|
-
"mksnapshot-
|
|
2
|
+
"chromedriver-v38.0.0-alpha.10-darwin-arm64.zip": "347687ac6b79bf8d712f0f662c110cc8d01babba83edc395639411ce85158452",
|
|
3
|
+
"chromedriver-v38.0.0-alpha.10-darwin-x64.zip": "26beb9648e7454f20b935865c4e11660bec6f44c15428570e36c71118058dff2",
|
|
4
|
+
"chromedriver-v38.0.0-alpha.10-linux-arm64.zip": "a3c630551b7d3f34162bd0039774f13e644d1127c74c605078e6aaa947081760",
|
|
5
|
+
"chromedriver-v38.0.0-alpha.10-linux-armv7l.zip": "40a757783e25f7187d827b572942fcf9f7ce5614391ef9ba8ba71e8763daa4c3",
|
|
6
|
+
"chromedriver-v38.0.0-alpha.10-linux-x64.zip": "7f87d2df4fb76d71f04800441145204db6cd3e5920e6694f163b8c97cba71ab4",
|
|
7
|
+
"chromedriver-v38.0.0-alpha.10-mas-arm64.zip": "acf0c9e418b0323704183eab01345b921af87af858e41e300f43625186610094",
|
|
8
|
+
"chromedriver-v38.0.0-alpha.10-mas-x64.zip": "9cc03344e76d0d1b5bbcd25f31e7865bd2cc4dc4b51e7c2e0d9d4f9d5aef6312",
|
|
9
|
+
"chromedriver-v38.0.0-alpha.10-win32-arm64.zip": "da4958ca90f438f8641aa27230011fe5e420b9da9dc501b721e7314d15e23ac3",
|
|
10
|
+
"chromedriver-v38.0.0-alpha.10-win32-ia32.zip": "4b79ef7568ed7086315d05dd30edb9c71ee36d15c8c398aaba97705818fb9373",
|
|
11
|
+
"chromedriver-v38.0.0-alpha.10-win32-x64.zip": "32b955eef9228be2e17713ccd011acc9757510064344d11561db80e1e4b53d96",
|
|
12
|
+
"electron-api.json": "948d645399a0172d68d286b1cf1e942f6d3f0825a8f563a335d2b653a5baf467",
|
|
13
|
+
"electron-v38.0.0-alpha.10-darwin-arm64-dsym-snapshot.zip": "5e56ca029d69d1a3d48b2ea314b05da741c91077d963ed17351935e9246394b7",
|
|
14
|
+
"electron-v38.0.0-alpha.10-darwin-arm64-dsym.zip": "19ed9950b4cb9a58aa80d3f32ebec466348a08d7406aee07d6ab0aa4a2e396c7",
|
|
15
|
+
"electron-v38.0.0-alpha.10-darwin-arm64-symbols.zip": "7fc9945cc90975821cc6e68dce23ec5463045b6863e8dbc161c3bb1b818a73e9",
|
|
16
|
+
"electron-v38.0.0-alpha.10-darwin-arm64.zip": "157831b913cdc24107cf979110c4a13b9b680cd2772d09cf55385f1d8a8f869a",
|
|
17
|
+
"electron-v38.0.0-alpha.10-darwin-x64-dsym-snapshot.zip": "6080187150a04178e1f500e2e074b7b3ae488df0ef817341ad9858ead9180dc9",
|
|
18
|
+
"electron-v38.0.0-alpha.10-darwin-x64-dsym.zip": "63cf39bb57bc98499c6c4b76ef7be616d0d7039d6043f1f1cb2ee64983ed5c8c",
|
|
19
|
+
"electron-v38.0.0-alpha.10-darwin-x64-symbols.zip": "519f109a836255816bd26aec231082912f30ca183aa21090398f071729b00486",
|
|
20
|
+
"electron-v38.0.0-alpha.10-darwin-x64.zip": "955f488565bda99d9d8a848d24779d1a30dcfca46bfe683f085d97d879280f46",
|
|
21
|
+
"electron-v38.0.0-alpha.10-linux-arm64-debug.zip": "fddbcd7d15ebbaf5fa879bcdbaac979bd7663264d4121d6c63c972d864a4b19d",
|
|
22
|
+
"electron-v38.0.0-alpha.10-linux-arm64-symbols.zip": "c2ef8a731722fbff9911fdf2d23d0f7a861d8fc2578bb63bdcc122e4928a3cb9",
|
|
23
|
+
"electron-v38.0.0-alpha.10-linux-arm64.zip": "51dc5110fcf7973f6f10d5107459b290a17b94a425622ecc4c4b30f16957156f",
|
|
24
|
+
"electron-v38.0.0-alpha.10-linux-armv7l-debug.zip": "fddbcd7d15ebbaf5fa879bcdbaac979bd7663264d4121d6c63c972d864a4b19d",
|
|
25
|
+
"electron-v38.0.0-alpha.10-linux-armv7l-symbols.zip": "9b989084638c4b75b260ca2a3aa83bd5c149ae95ad94eba4f1a1d1f9e3ee8ca0",
|
|
26
|
+
"electron-v38.0.0-alpha.10-linux-armv7l.zip": "f786aca4ab1570375e2b38ee6fbaf798e727d282b4ea832fd921f29bb68cc421",
|
|
27
|
+
"electron-v38.0.0-alpha.10-linux-x64-debug.zip": "9f095c1674175bb14b6413b78c4313187b0e785b4111da63f4c8035e46bc3f88",
|
|
28
|
+
"electron-v38.0.0-alpha.10-linux-x64-symbols.zip": "ba560976762965ce9cffe4179b74e3b8416317b8140a06dd7cd8eaa866d821ef",
|
|
29
|
+
"electron-v38.0.0-alpha.10-linux-x64.zip": "6b7fa4f6a59326ccdb9bb93cd96172631794ff8d15a5f43067919d17d2ba90de",
|
|
30
|
+
"electron-v38.0.0-alpha.10-mas-arm64-dsym-snapshot.zip": "3569461268ecaa9de34a2f93fb66299087919dce65c5f513bef6982a55f1b825",
|
|
31
|
+
"electron-v38.0.0-alpha.10-mas-arm64-dsym.zip": "daa6a3fc657b1aa281cff85fcb3eeaf09c959ea6b8d4f85615b3e760dee327fd",
|
|
32
|
+
"electron-v38.0.0-alpha.10-mas-arm64-symbols.zip": "f19cc77c381985a55768b954f685d09bacd517af5c480fe37cce078206201b80",
|
|
33
|
+
"electron-v38.0.0-alpha.10-mas-arm64.zip": "2834c43e7781e8df9ce097cf8409bd48f2af6113a4509669aadf8c56e030a280",
|
|
34
|
+
"electron-v38.0.0-alpha.10-mas-x64-dsym-snapshot.zip": "e24c19ee34d7483aac1897ba7417aea2d1b27fd053b2dfd19b842bb056a6d9dc",
|
|
35
|
+
"electron-v38.0.0-alpha.10-mas-x64-dsym.zip": "fb07dae0601ab26850adfea548ff5bfe2ac9d36a618aed14114920f9602efeb7",
|
|
36
|
+
"electron-v38.0.0-alpha.10-mas-x64-symbols.zip": "d0bc17ef715de4085896cf6212b759a4fe301842772284ec824ee2a880d905e3",
|
|
37
|
+
"electron-v38.0.0-alpha.10-mas-x64.zip": "ed0a6eaaeb297caa1e9fb842fe2a104040a272ee5a6e73550dbd949b06577c4f",
|
|
38
|
+
"electron-v38.0.0-alpha.10-win32-arm64-pdb.zip": "e67136a94cc2107f78ffe4a2ec51c4fb3311c77d55f12e55bb50393fe6327bdf",
|
|
39
|
+
"electron-v38.0.0-alpha.10-win32-arm64-symbols.zip": "23b41879c82525e3b5318f7af9876d0af872cec9c19f69d2a9e0b1988660b7b2",
|
|
40
|
+
"electron-v38.0.0-alpha.10-win32-arm64-toolchain-profile.zip": "0cd236c43e53e36ae0a96e8f1565d5fb76b9c9a69e64b11ccbf541980d27388b",
|
|
41
|
+
"electron-v38.0.0-alpha.10-win32-arm64.zip": "979018773bf696a388b8851ff4b4de2e81516ce2433bb9dc022eac57cf81d47d",
|
|
42
|
+
"electron-v38.0.0-alpha.10-win32-ia32-pdb.zip": "be5d0676dd419e2c22fcef9bf5878804c1d83578e7b24beda3c996080c3e2df8",
|
|
43
|
+
"electron-v38.0.0-alpha.10-win32-ia32-symbols.zip": "393b03adfd013f8f80eb32803b855e8911c20af8bf4dc34740cf7dca4aead359",
|
|
44
|
+
"electron-v38.0.0-alpha.10-win32-ia32-toolchain-profile.zip": "0cd236c43e53e36ae0a96e8f1565d5fb76b9c9a69e64b11ccbf541980d27388b",
|
|
45
|
+
"electron-v38.0.0-alpha.10-win32-ia32.zip": "41bd8f5a5892b21d5183e8bda308d288ef86b55255e1bff92d8542dd47d5e56f",
|
|
46
|
+
"electron-v38.0.0-alpha.10-win32-x64-pdb.zip": "1f7193989558dea35503080597210817a71bde7a107edf731b36bc76ef247a77",
|
|
47
|
+
"electron-v38.0.0-alpha.10-win32-x64-symbols.zip": "0a72af777c65ea232e429ba3efc96633b15260e9a54d738d7480b42184d7ab50",
|
|
48
|
+
"electron-v38.0.0-alpha.10-win32-x64-toolchain-profile.zip": "0cd236c43e53e36ae0a96e8f1565d5fb76b9c9a69e64b11ccbf541980d27388b",
|
|
49
|
+
"electron-v38.0.0-alpha.10-win32-x64.zip": "1191820bd0a7e607c3dedb2c17ac1d6b1d0e2ba871e8b0d4c4d77505807e7cee",
|
|
50
|
+
"electron.d.ts": "2715e6b506f2fa9a7c215d4aa4ad6b53dab7b2b1b39d6eee032182b5866a5563",
|
|
51
|
+
"ffmpeg-v38.0.0-alpha.10-darwin-arm64.zip": "ff03eca8f733eb0be3cf56f948c4e0bd41edd802f363b3f32e9d5e8ec2d46b4b",
|
|
52
|
+
"ffmpeg-v38.0.0-alpha.10-darwin-x64.zip": "0e8f97e55828726056283c251f46fae5a0490b29cd2b8d113335fd767d5b489c",
|
|
53
|
+
"ffmpeg-v38.0.0-alpha.10-linux-arm64.zip": "2515d25b51c54b4548ad293e56c1a790f790ce3e3937074af6d72d713314f6ab",
|
|
54
|
+
"ffmpeg-v38.0.0-alpha.10-linux-armv7l.zip": "cf94f75d6ed3a1cc8f7d2c58537de371d0769af70fd9147fcaf5328475a14ecd",
|
|
55
|
+
"ffmpeg-v38.0.0-alpha.10-linux-x64.zip": "beb0b3d40f3d8bee12cf23d0acc20cd539d82afa21bcaada1551138ed8a21c2d",
|
|
56
|
+
"ffmpeg-v38.0.0-alpha.10-mas-arm64.zip": "ff03eca8f733eb0be3cf56f948c4e0bd41edd802f363b3f32e9d5e8ec2d46b4b",
|
|
57
|
+
"ffmpeg-v38.0.0-alpha.10-mas-x64.zip": "0e8f97e55828726056283c251f46fae5a0490b29cd2b8d113335fd767d5b489c",
|
|
58
|
+
"ffmpeg-v38.0.0-alpha.10-win32-arm64.zip": "e9149ec71dc47f42f7282682324dc44c6590459b4bfac02b51f0ed67d98417b1",
|
|
59
|
+
"ffmpeg-v38.0.0-alpha.10-win32-ia32.zip": "0b8f44fd4227c9575307cb478f6b4e32b10134a7325df358025dcf0c64c54736",
|
|
60
|
+
"ffmpeg-v38.0.0-alpha.10-win32-x64.zip": "5af0aa81cc37e4d76a63a94a68c2cbc06ebefa9ac86c032ef173b52916033a26",
|
|
61
|
+
"hunspell_dictionaries.zip": "50e19450a1b371b40866ea1ba3826a4e400fc9bd2adf5d9cbefeb2a546788ea7",
|
|
62
|
+
"libcxx-objects-v38.0.0-alpha.10-linux-arm64.zip": "912675db0f72de52d4d9c4023685a54ba024d8c81d08be65a8116fd1f3bf38b6",
|
|
63
|
+
"libcxx-objects-v38.0.0-alpha.10-linux-armv7l.zip": "83e6f821deaa6a38e190bf5b6684ba97de9cf384c9497ab9d7f1423e599388ed",
|
|
64
|
+
"libcxx-objects-v38.0.0-alpha.10-linux-x64.zip": "257f0e75ab6619e57d34a3f5ca330ff6322fcae72faa8cb84489d8b686184900",
|
|
65
|
+
"libcxx_headers.zip": "c7113232602852fc907d7d8115c3be3e17f29eba229dd181e4c4418e1d6cba82",
|
|
66
|
+
"libcxxabi_headers.zip": "23be04f992ee37ce8f29ffb9e53bd5bf461c50a91b6eddedaecc9f20b8967937",
|
|
67
|
+
"mksnapshot-v38.0.0-alpha.10-darwin-arm64.zip": "fbcf15d9e82db568ca58667159f5f4361a0acc47086290b64f3693605c618757",
|
|
68
|
+
"mksnapshot-v38.0.0-alpha.10-darwin-x64.zip": "de7f2afa932cb75c88387618da7c3fb60fee14430028123de3eae0a280bd305b",
|
|
69
|
+
"mksnapshot-v38.0.0-alpha.10-linux-arm64-x64.zip": "ddb90e3d6a79c2f225d6580dfea6dfe315c87a15072a4fe46cde2817754cde51",
|
|
70
|
+
"mksnapshot-v38.0.0-alpha.10-linux-armv7l-x64.zip": "c7db8a7f20160d3ac4f29a464e693810f051c65ec6b129ee478dc695aed40568",
|
|
71
|
+
"mksnapshot-v38.0.0-alpha.10-linux-x64.zip": "b3b941b7271d05027bae75b65d417e741da5430432c6fb2b33a0098fc2b6df65",
|
|
72
|
+
"mksnapshot-v38.0.0-alpha.10-mas-arm64.zip": "4a030dd552c8177d3b40afed0b0551112aa9bfe392af29b87a596502f98bde11",
|
|
73
|
+
"mksnapshot-v38.0.0-alpha.10-mas-x64.zip": "99421570cca636e6f603cbcc0761670d1c43611eef202f89c0c763fc3faeed39",
|
|
74
|
+
"mksnapshot-v38.0.0-alpha.10-win32-arm64-x64.zip": "225ce9f56ad347bc9ed831627fb45c2cf2043589409fbab8184b03fe733a3098",
|
|
75
|
+
"mksnapshot-v38.0.0-alpha.10-win32-ia32.zip": "ec2eebcb0dfb17b2d29e17ef7972da9d6f80ba1587077232a9de744c3f6d888c",
|
|
76
|
+
"mksnapshot-v38.0.0-alpha.10-win32-x64.zip": "8f7b6b34cc09c150f413a9f0e484546553a38f8b8ce6052733f193ad4f2c575d"
|
|
77
77
|
}
|
package/electron.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
// Type definitions for Electron
|
|
1
|
+
// Type definitions for Electron 38.0.0-alpha.10
|
|
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
|
|
@@ -7719,6 +7719,9 @@ declare namespace Electron {
|
|
|
7719
7719
|
/**
|
|
7720
7720
|
* Sets the string to be displayed in the dock’s badging area.
|
|
7721
7721
|
*
|
|
7722
|
+
* > [!IMPORTANT] You need to ensure that your application has the permission to
|
|
7723
|
+
* display notifications for this method to work.
|
|
7724
|
+
*
|
|
7722
7725
|
* @platform darwin
|
|
7723
7726
|
*/
|
|
7724
7727
|
setBadge(text: string): void;
|
|
@@ -8122,7 +8125,7 @@ declare namespace Electron {
|
|
|
8122
8125
|
* still return `false`. This behavior is intended by operating systems, since they
|
|
8123
8126
|
* don't want applications to fight for global shortcuts.
|
|
8124
8127
|
*/
|
|
8125
|
-
isRegistered(accelerator:
|
|
8128
|
+
isRegistered(accelerator: string): boolean;
|
|
8126
8129
|
/**
|
|
8127
8130
|
* Whether or not the shortcut was registered successfully.
|
|
8128
8131
|
*
|
|
@@ -8141,7 +8144,7 @@ declare namespace Electron {
|
|
|
8141
8144
|
* * "Media Previous Track"
|
|
8142
8145
|
* * "Media Stop"
|
|
8143
8146
|
*/
|
|
8144
|
-
register(accelerator:
|
|
8147
|
+
register(accelerator: string, callback: () => void): boolean;
|
|
8145
8148
|
/**
|
|
8146
8149
|
* Registers a global shortcut of all `accelerator` items in `accelerators`. The
|
|
8147
8150
|
* `callback` is called when any of the registered shortcuts are pressed by the
|
|
@@ -8159,11 +8162,11 @@ declare namespace Electron {
|
|
|
8159
8162
|
* * "Media Previous Track"
|
|
8160
8163
|
* * "Media Stop"
|
|
8161
8164
|
*/
|
|
8162
|
-
registerAll(accelerators:
|
|
8165
|
+
registerAll(accelerators: string[], callback: () => void): void;
|
|
8163
8166
|
/**
|
|
8164
8167
|
* Unregisters the global shortcut of `accelerator`.
|
|
8165
8168
|
*/
|
|
8166
|
-
unregister(accelerator:
|
|
8169
|
+
unregister(accelerator: string): void;
|
|
8167
8170
|
/**
|
|
8168
8171
|
* Unregisters all of the global shortcuts.
|
|
8169
8172
|
*/
|
|
@@ -8998,8 +9001,8 @@ declare namespace Electron {
|
|
|
8998
9001
|
// Docs: https://electronjs.org/docs/api/structures/keyboard-input-event
|
|
8999
9002
|
|
|
9000
9003
|
/**
|
|
9001
|
-
* The character that will be sent as the keyboard event. Should only use
|
|
9002
|
-
* key codes
|
|
9004
|
+
* The character that will be sent as the keyboard event. Should only use valid
|
|
9005
|
+
* Accelerator key codes.
|
|
9003
9006
|
*/
|
|
9004
9007
|
keyCode: string;
|
|
9005
9008
|
/**
|
|
@@ -9141,13 +9144,15 @@ declare namespace Electron {
|
|
|
9141
9144
|
insert(pos: number, menuItem: MenuItem): void;
|
|
9142
9145
|
/**
|
|
9143
9146
|
* Pops up this menu as a context menu in the `BaseWindow`.
|
|
9147
|
+
*
|
|
9148
|
+
* > [!TIP] For more details, see the Context Menu guide.
|
|
9144
9149
|
*/
|
|
9145
9150
|
popup(options?: PopupOptions): void;
|
|
9146
9151
|
/**
|
|
9147
9152
|
* A `MenuItem[]` array containing the menu's items.
|
|
9148
9153
|
*
|
|
9149
|
-
* Each `Menu` consists of multiple `MenuItem`
|
|
9150
|
-
* submenu.
|
|
9154
|
+
* Each `Menu` consists of multiple `MenuItem` instances and each `MenuItem` can
|
|
9155
|
+
* nest a `Menu` into its `submenu` property.
|
|
9151
9156
|
*/
|
|
9152
9157
|
items: MenuItem[];
|
|
9153
9158
|
}
|
|
@@ -9165,7 +9170,7 @@ declare namespace Electron {
|
|
|
9165
9170
|
*/
|
|
9166
9171
|
accelerator?: Accelerator;
|
|
9167
9172
|
/**
|
|
9168
|
-
* A `boolean` indicating whether the item is checked
|
|
9173
|
+
* A `boolean` indicating whether the item is checked. This property can be
|
|
9169
9174
|
* dynamically changed.
|
|
9170
9175
|
*
|
|
9171
9176
|
* A `checkbox` menu item will toggle the `checked` property on and off when
|
|
@@ -9191,7 +9196,7 @@ declare namespace Electron {
|
|
|
9191
9196
|
*/
|
|
9192
9197
|
commandId: number;
|
|
9193
9198
|
/**
|
|
9194
|
-
* A `boolean` indicating whether the item is enabled
|
|
9199
|
+
* A `boolean` indicating whether the item is enabled. This property can be
|
|
9195
9200
|
* dynamically changed.
|
|
9196
9201
|
*/
|
|
9197
9202
|
enabled: boolean;
|
|
@@ -9200,7 +9205,7 @@ declare namespace Electron {
|
|
|
9200
9205
|
*/
|
|
9201
9206
|
icon?: (NativeImage) | (string);
|
|
9202
9207
|
/**
|
|
9203
|
-
* A `string` indicating the item's unique id
|
|
9208
|
+
* A `string` indicating the item's unique id. This property can be dynamically
|
|
9204
9209
|
* changed.
|
|
9205
9210
|
*/
|
|
9206
9211
|
id: string;
|
|
@@ -9273,7 +9278,7 @@ declare namespace Electron {
|
|
|
9273
9278
|
*/
|
|
9274
9279
|
readonly userAccelerator: (Accelerator) | (null);
|
|
9275
9280
|
/**
|
|
9276
|
-
* A `boolean` indicating whether the item is visible
|
|
9281
|
+
* A `boolean` indicating whether the item is visible. This property can be
|
|
9277
9282
|
* dynamically changed.
|
|
9278
9283
|
*/
|
|
9279
9284
|
visible: boolean;
|
|
@@ -16294,24 +16299,6 @@ declare namespace Electron {
|
|
|
16294
16299
|
* The image data of the whole frame.
|
|
16295
16300
|
*/
|
|
16296
16301
|
image: NativeImage) => void): this;
|
|
16297
|
-
/**
|
|
16298
|
-
* Emitted when a plugin process has crashed.
|
|
16299
|
-
*/
|
|
16300
|
-
on(event: 'plugin-crashed', listener: (event: Event,
|
|
16301
|
-
name: string,
|
|
16302
|
-
version: string) => void): this;
|
|
16303
|
-
off(event: 'plugin-crashed', listener: (event: Event,
|
|
16304
|
-
name: string,
|
|
16305
|
-
version: string) => void): this;
|
|
16306
|
-
once(event: 'plugin-crashed', listener: (event: Event,
|
|
16307
|
-
name: string,
|
|
16308
|
-
version: string) => void): this;
|
|
16309
|
-
addListener(event: 'plugin-crashed', listener: (event: Event,
|
|
16310
|
-
name: string,
|
|
16311
|
-
version: string) => void): this;
|
|
16312
|
-
removeListener(event: 'plugin-crashed', listener: (event: Event,
|
|
16313
|
-
name: string,
|
|
16314
|
-
version: string) => void): this;
|
|
16315
16302
|
/**
|
|
16316
16303
|
* Emitted when the `WebContents` preferred size has changed.
|
|
16317
16304
|
*
|
|
@@ -17272,6 +17259,12 @@ declare namespace Electron {
|
|
|
17272
17259
|
* system's default printer if `deviceName` is empty and the default settings for
|
|
17273
17260
|
* printing.
|
|
17274
17261
|
*
|
|
17262
|
+
* Some possible `failureReason`s for print failure include:
|
|
17263
|
+
*
|
|
17264
|
+
* * "Invalid printer settings"
|
|
17265
|
+
* * "Print job canceled"
|
|
17266
|
+
* * "Print job failed"
|
|
17267
|
+
*
|
|
17275
17268
|
* Use `page-break-before: always;` CSS style to force to print to a new page.
|
|
17276
17269
|
*
|
|
17277
17270
|
* Example usage:
|
|
@@ -17718,8 +17711,14 @@ declare namespace Electron {
|
|
|
17718
17711
|
findFrameByName(name: string): WebFrame;
|
|
17719
17712
|
/**
|
|
17720
17713
|
* that has the supplied `routingId`, `null` if not found.
|
|
17714
|
+
*
|
|
17715
|
+
* @deprecated
|
|
17721
17716
|
*/
|
|
17722
17717
|
findFrameByRoutingId(routingId: number): WebFrame;
|
|
17718
|
+
/**
|
|
17719
|
+
* that has the supplied `frameToken`, `null` if not found.
|
|
17720
|
+
*/
|
|
17721
|
+
findFrameByToken(frameToken: string): WebFrame;
|
|
17723
17722
|
/**
|
|
17724
17723
|
* The frame element in `webFrame's` document selected by `selector`, `null` would
|
|
17725
17724
|
* be returned if `selector` does not select a frame or if the frame is not in the
|
|
@@ -17831,6 +17830,13 @@ declare namespace Electron {
|
|
|
17831
17830
|
*
|
|
17832
17831
|
*/
|
|
17833
17832
|
readonly firstChild: (WebFrame) | (null);
|
|
17833
|
+
/**
|
|
17834
|
+
* A `string` representing the unique frame token in the current renderer process.
|
|
17835
|
+
* Distinct WebFrame instances that refer to the same underlying frame will have
|
|
17836
|
+
* the same `frameToken`.
|
|
17837
|
+
*
|
|
17838
|
+
*/
|
|
17839
|
+
readonly frameToken: string;
|
|
17834
17840
|
/**
|
|
17835
17841
|
* A `WebFrame | null` representing next sibling frame, the property would be
|
|
17836
17842
|
* `null` if `webFrame` is the last frame in its parent or if the next sibling is
|
|
@@ -17856,6 +17862,7 @@ declare namespace Electron {
|
|
|
17856
17862
|
* Distinct WebFrame instances that refer to the same underlying frame will have
|
|
17857
17863
|
* the same `routingId`.
|
|
17858
17864
|
*
|
|
17865
|
+
* @deprecated
|
|
17859
17866
|
*/
|
|
17860
17867
|
readonly routingId: number;
|
|
17861
17868
|
/**
|
|
@@ -17956,6 +17963,12 @@ declare namespace Electron {
|
|
|
17956
17963
|
*
|
|
17957
17964
|
*/
|
|
17958
17965
|
readonly framesInSubtree: WebFrameMain[];
|
|
17966
|
+
/**
|
|
17967
|
+
* A `string` which uniquely identifies the frame within its associated renderer
|
|
17968
|
+
* process. This is equivalent to `webFrame.frameToken`.
|
|
17969
|
+
*
|
|
17970
|
+
*/
|
|
17971
|
+
readonly frameToken: string;
|
|
17959
17972
|
/**
|
|
17960
17973
|
* An `Integer` representing the id of the frame's internal FrameTreeNode instance.
|
|
17961
17974
|
* This id is browser-global and uniquely identifies a frame that hosts content.
|
|
@@ -18632,11 +18645,6 @@ declare namespace Electron {
|
|
|
18632
18645
|
*/
|
|
18633
18646
|
addEventListener(event: 'render-process-gone', listener: (event: RenderProcessGoneEvent) => void, useCapture?: boolean): this;
|
|
18634
18647
|
removeEventListener(event: 'render-process-gone', listener: (event: RenderProcessGoneEvent) => void): this;
|
|
18635
|
-
/**
|
|
18636
|
-
* Fired when a plugin process is crashed.
|
|
18637
|
-
*/
|
|
18638
|
-
addEventListener(event: 'plugin-crashed', listener: (event: PluginCrashedEvent) => void, useCapture?: boolean): this;
|
|
18639
|
-
removeEventListener(event: 'plugin-crashed', listener: (event: PluginCrashedEvent) => void): this;
|
|
18640
18648
|
/**
|
|
18641
18649
|
* Fired when the WebContents is destroyed.
|
|
18642
18650
|
*/
|
|
@@ -20834,7 +20842,10 @@ declare namespace Electron {
|
|
|
20834
20842
|
* @platform darwin
|
|
20835
20843
|
*/
|
|
20836
20844
|
toolTip?: string;
|
|
20837
|
-
|
|
20845
|
+
/**
|
|
20846
|
+
* An Accelerator string.
|
|
20847
|
+
*/
|
|
20848
|
+
accelerator?: string;
|
|
20838
20849
|
icon?: (NativeImage) | (string);
|
|
20839
20850
|
/**
|
|
20840
20851
|
* If false, the menu item will be greyed out and unclickable.
|
|
@@ -21593,11 +21604,6 @@ declare namespace Electron {
|
|
|
21593
21604
|
isMainFrame: boolean;
|
|
21594
21605
|
}
|
|
21595
21606
|
|
|
21596
|
-
interface PluginCrashedEvent extends DOMEvent {
|
|
21597
|
-
name: string;
|
|
21598
|
-
version: string;
|
|
21599
|
-
}
|
|
21600
|
-
|
|
21601
21607
|
interface PopupOptions {
|
|
21602
21608
|
/**
|
|
21603
21609
|
* Default is the focused window.
|
|
@@ -23484,7 +23490,6 @@ declare namespace Electron {
|
|
|
23484
23490
|
type Parameters = Electron.Parameters;
|
|
23485
23491
|
type Payment = Electron.Payment;
|
|
23486
23492
|
type PermissionCheckHandlerHandlerDetails = Electron.PermissionCheckHandlerHandlerDetails;
|
|
23487
|
-
type PluginCrashedEvent = Electron.PluginCrashedEvent;
|
|
23488
23493
|
type PopupOptions = Electron.PopupOptions;
|
|
23489
23494
|
type PowerMonitorSpeedLimitChangeEventParams = Electron.PowerMonitorSpeedLimitChangeEventParams;
|
|
23490
23495
|
type PowerMonitorThermalStateChangeEventParams = Electron.PowerMonitorThermalStateChangeEventParams;
|
|
@@ -23861,7 +23866,6 @@ declare namespace Electron {
|
|
|
23861
23866
|
type Parameters = Electron.Parameters;
|
|
23862
23867
|
type Payment = Electron.Payment;
|
|
23863
23868
|
type PermissionCheckHandlerHandlerDetails = Electron.PermissionCheckHandlerHandlerDetails;
|
|
23864
|
-
type PluginCrashedEvent = Electron.PluginCrashedEvent;
|
|
23865
23869
|
type PopupOptions = Electron.PopupOptions;
|
|
23866
23870
|
type PowerMonitorSpeedLimitChangeEventParams = Electron.PowerMonitorSpeedLimitChangeEventParams;
|
|
23867
23871
|
type PowerMonitorThermalStateChangeEventParams = Electron.PowerMonitorThermalStateChangeEventParams;
|
|
@@ -24166,7 +24170,6 @@ declare namespace Electron {
|
|
|
24166
24170
|
type Parameters = Electron.Parameters;
|
|
24167
24171
|
type Payment = Electron.Payment;
|
|
24168
24172
|
type PermissionCheckHandlerHandlerDetails = Electron.PermissionCheckHandlerHandlerDetails;
|
|
24169
|
-
type PluginCrashedEvent = Electron.PluginCrashedEvent;
|
|
24170
24173
|
type PopupOptions = Electron.PopupOptions;
|
|
24171
24174
|
type PowerMonitorSpeedLimitChangeEventParams = Electron.PowerMonitorSpeedLimitChangeEventParams;
|
|
24172
24175
|
type PowerMonitorThermalStateChangeEventParams = Electron.PowerMonitorThermalStateChangeEventParams;
|
|
@@ -24468,7 +24471,6 @@ declare namespace Electron {
|
|
|
24468
24471
|
type Parameters = Electron.Parameters;
|
|
24469
24472
|
type Payment = Electron.Payment;
|
|
24470
24473
|
type PermissionCheckHandlerHandlerDetails = Electron.PermissionCheckHandlerHandlerDetails;
|
|
24471
|
-
type PluginCrashedEvent = Electron.PluginCrashedEvent;
|
|
24472
24474
|
type PopupOptions = Electron.PopupOptions;
|
|
24473
24475
|
type PowerMonitorSpeedLimitChangeEventParams = Electron.PowerMonitorSpeedLimitChangeEventParams;
|
|
24474
24476
|
type PowerMonitorThermalStateChangeEventParams = Electron.PowerMonitorThermalStateChangeEventParams;
|
|
@@ -24862,7 +24864,6 @@ declare namespace Electron {
|
|
|
24862
24864
|
type Parameters = Electron.Parameters;
|
|
24863
24865
|
type Payment = Electron.Payment;
|
|
24864
24866
|
type PermissionCheckHandlerHandlerDetails = Electron.PermissionCheckHandlerHandlerDetails;
|
|
24865
|
-
type PluginCrashedEvent = Electron.PluginCrashedEvent;
|
|
24866
24867
|
type PopupOptions = Electron.PopupOptions;
|
|
24867
24868
|
type PowerMonitorSpeedLimitChangeEventParams = Electron.PowerMonitorSpeedLimitChangeEventParams;
|
|
24868
24869
|
type PowerMonitorThermalStateChangeEventParams = Electron.PowerMonitorThermalStateChangeEventParams;
|
package/package.json
CHANGED