electron 25.0.0-beta.6 → 25.0.0-beta.8
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 +159 -12
- package/package.json +1 -1
package/checksums.json
CHANGED
|
@@ -1,77 +1,77 @@
|
|
|
1
1
|
{
|
|
2
|
-
"chromedriver-v25.0.0-beta.
|
|
3
|
-
"chromedriver-v25.0.0-beta.
|
|
4
|
-
"chromedriver-v25.0.0-beta.
|
|
5
|
-
"chromedriver-v25.0.0-beta.
|
|
6
|
-
"chromedriver-v25.0.0-beta.
|
|
7
|
-
"chromedriver-v25.0.0-beta.
|
|
8
|
-
"chromedriver-v25.0.0-beta.
|
|
9
|
-
"chromedriver-v25.0.0-beta.
|
|
10
|
-
"chromedriver-v25.0.0-beta.
|
|
11
|
-
"chromedriver-v25.0.0-beta.
|
|
12
|
-
"electron-api.json": "
|
|
13
|
-
"electron-v25.0.0-beta.
|
|
14
|
-
"electron-v25.0.0-beta.
|
|
15
|
-
"electron-v25.0.0-beta.
|
|
16
|
-
"electron-v25.0.0-beta.
|
|
17
|
-
"electron-v25.0.0-beta.
|
|
18
|
-
"electron-v25.0.0-beta.
|
|
19
|
-
"electron-v25.0.0-beta.
|
|
20
|
-
"electron-v25.0.0-beta.
|
|
21
|
-
"electron-v25.0.0-beta.
|
|
22
|
-
"electron-v25.0.0-beta.
|
|
23
|
-
"electron-v25.0.0-beta.
|
|
24
|
-
"electron-v25.0.0-beta.
|
|
25
|
-
"electron-v25.0.0-beta.
|
|
26
|
-
"electron-v25.0.0-beta.
|
|
27
|
-
"electron-v25.0.0-beta.
|
|
28
|
-
"electron-v25.0.0-beta.
|
|
29
|
-
"electron-v25.0.0-beta.
|
|
30
|
-
"electron-v25.0.0-beta.
|
|
31
|
-
"electron-v25.0.0-beta.
|
|
32
|
-
"electron-v25.0.0-beta.
|
|
33
|
-
"electron-v25.0.0-beta.
|
|
34
|
-
"electron-v25.0.0-beta.
|
|
35
|
-
"electron-v25.0.0-beta.
|
|
36
|
-
"electron-v25.0.0-beta.
|
|
37
|
-
"electron-v25.0.0-beta.
|
|
38
|
-
"electron-v25.0.0-beta.
|
|
39
|
-
"electron-v25.0.0-beta.
|
|
40
|
-
"electron-v25.0.0-beta.
|
|
41
|
-
"electron-v25.0.0-beta.
|
|
42
|
-
"electron-v25.0.0-beta.
|
|
43
|
-
"electron-v25.0.0-beta.
|
|
44
|
-
"electron-v25.0.0-beta.
|
|
45
|
-
"electron-v25.0.0-beta.
|
|
46
|
-
"electron-v25.0.0-beta.
|
|
47
|
-
"electron-v25.0.0-beta.
|
|
48
|
-
"electron-v25.0.0-beta.
|
|
49
|
-
"electron-v25.0.0-beta.
|
|
50
|
-
"electron.d.ts": "
|
|
51
|
-
"ffmpeg-v25.0.0-beta.
|
|
52
|
-
"ffmpeg-v25.0.0-beta.
|
|
53
|
-
"ffmpeg-v25.0.0-beta.
|
|
54
|
-
"ffmpeg-v25.0.0-beta.
|
|
55
|
-
"ffmpeg-v25.0.0-beta.
|
|
56
|
-
"ffmpeg-v25.0.0-beta.
|
|
57
|
-
"ffmpeg-v25.0.0-beta.
|
|
58
|
-
"ffmpeg-v25.0.0-beta.
|
|
59
|
-
"ffmpeg-v25.0.0-beta.
|
|
60
|
-
"ffmpeg-v25.0.0-beta.
|
|
61
|
-
"hunspell_dictionaries.zip": "
|
|
62
|
-
"libcxx-objects-v25.0.0-beta.
|
|
63
|
-
"libcxx-objects-v25.0.0-beta.
|
|
64
|
-
"libcxx-objects-v25.0.0-beta.
|
|
65
|
-
"libcxx_headers.zip": "
|
|
66
|
-
"libcxxabi_headers.zip": "
|
|
67
|
-
"mksnapshot-v25.0.0-beta.
|
|
68
|
-
"mksnapshot-v25.0.0-beta.
|
|
69
|
-
"mksnapshot-v25.0.0-beta.
|
|
70
|
-
"mksnapshot-v25.0.0-beta.
|
|
71
|
-
"mksnapshot-v25.0.0-beta.
|
|
72
|
-
"mksnapshot-v25.0.0-beta.
|
|
73
|
-
"mksnapshot-v25.0.0-beta.
|
|
74
|
-
"mksnapshot-v25.0.0-beta.
|
|
75
|
-
"mksnapshot-v25.0.0-beta.
|
|
76
|
-
"mksnapshot-v25.0.0-beta.
|
|
2
|
+
"chromedriver-v25.0.0-beta.8-darwin-arm64.zip": "66db16d600be72bc02bb892be116901811e339f6df05a046289f47dc97aff610",
|
|
3
|
+
"chromedriver-v25.0.0-beta.8-darwin-x64.zip": "01a59967358fa6cba1058d2f233831468c8698ee5dfcc0d74eb4a76ac4460a96",
|
|
4
|
+
"chromedriver-v25.0.0-beta.8-linux-arm64.zip": "a2ee9165a0e5c690d84072fb24c83cb34d0ab928257e5381b7206a20f2d3a1d5",
|
|
5
|
+
"chromedriver-v25.0.0-beta.8-linux-armv7l.zip": "b3c51d1c8a7b4c8d317f605992737d5aaafc06feb4be04960709e1c12d5e24b1",
|
|
6
|
+
"chromedriver-v25.0.0-beta.8-linux-x64.zip": "d378ae5d8ba01a5be73135dc5b64f85e6a3730f043c677b56899caf2e80d85f6",
|
|
7
|
+
"chromedriver-v25.0.0-beta.8-mas-arm64.zip": "d4c1f9428f40d6e39990049444eaf03733f72a009734ca67fdbce298dba67da8",
|
|
8
|
+
"chromedriver-v25.0.0-beta.8-mas-x64.zip": "727463fc32ba9e89e6e91ec3a9af516d86922ce9a748cd8bedd1e0896ed16e4e",
|
|
9
|
+
"chromedriver-v25.0.0-beta.8-win32-arm64.zip": "a45f97ea98cc28461feece52c6c4f31851aa1d9d4adb8cf7472d0422dc94d171",
|
|
10
|
+
"chromedriver-v25.0.0-beta.8-win32-ia32.zip": "6a05ca082923531d2f0c3ca5e3e3eb4eb5b9320541d0da34c7c2adcbc7329369",
|
|
11
|
+
"chromedriver-v25.0.0-beta.8-win32-x64.zip": "8ac9aea32fec79602c7564bcc8ff8541d20dec0a67bcd6041b5f827fd68e7547",
|
|
12
|
+
"electron-api.json": "5be5ed08fcf6992695512c95b3cf87c1a0a6477dcacb273898bd5058e93390fd",
|
|
13
|
+
"electron-v25.0.0-beta.8-darwin-arm64-dsym-snapshot.zip": "7d0851f766f36477746c9e669fbb9400e050d0d3152ffdb4431e525124583088",
|
|
14
|
+
"electron-v25.0.0-beta.8-darwin-arm64-dsym.zip": "f02b5007a3c76375e486b9111cfe3a81be2f85c0ebdb7ba79c7b9e94a531ecb7",
|
|
15
|
+
"electron-v25.0.0-beta.8-darwin-arm64-symbols.zip": "0190453d22cd179a627f9d743225db0eefed76f7bc755658bb2cf65511d2c2d2",
|
|
16
|
+
"electron-v25.0.0-beta.8-darwin-arm64.zip": "15c9c2947020bb0237c2265fe4d777a076eea66871a7e38111a23004a39e5f28",
|
|
17
|
+
"electron-v25.0.0-beta.8-darwin-x64-dsym-snapshot.zip": "a09a483df7cf714b848ac605bfdeda2b79cb8c5e12c09b13f75fd3a8ef36886d",
|
|
18
|
+
"electron-v25.0.0-beta.8-darwin-x64-dsym.zip": "c097abf0a59d36dd208d9de9712525f80e45611f53f5bea28b89b7ecc3d98d12",
|
|
19
|
+
"electron-v25.0.0-beta.8-darwin-x64-symbols.zip": "2ec20527ba072155c506867b91cf78e66440429b2adb773cb529d6044b39fcef",
|
|
20
|
+
"electron-v25.0.0-beta.8-darwin-x64.zip": "f874c5f1d2451a77a7891c797c169995f7d269c7c0a63772b8b33bd2c41f0d64",
|
|
21
|
+
"electron-v25.0.0-beta.8-linux-arm64-debug.zip": "75e6628ca9eadf2d87ef484d0783c0792e6c07c7635c781fab376c4e658e25d8",
|
|
22
|
+
"electron-v25.0.0-beta.8-linux-arm64-symbols.zip": "a655cda7ed35b5f11bc9106d2e50444bbefe14377969b10772a2c549f8777515",
|
|
23
|
+
"electron-v25.0.0-beta.8-linux-arm64.zip": "399d4d2ee46affc78540f5f9a1bbb31beeb197796870528a2e873c0403ef1f84",
|
|
24
|
+
"electron-v25.0.0-beta.8-linux-armv7l-debug.zip": "75e6628ca9eadf2d87ef484d0783c0792e6c07c7635c781fab376c4e658e25d8",
|
|
25
|
+
"electron-v25.0.0-beta.8-linux-armv7l-symbols.zip": "22b7073044afaa1663d75122139844e0f5932b5282c68e4268b9e93940b9ac94",
|
|
26
|
+
"electron-v25.0.0-beta.8-linux-armv7l.zip": "e5381c449b969e6daf98662efe6d0df7a0eaf4be69ddfae4c0faf7ac2fa55b65",
|
|
27
|
+
"electron-v25.0.0-beta.8-linux-x64-debug.zip": "00f7dc79aec6e79755269f663fe6403981c520ecf31ecb672e290327854b4f04",
|
|
28
|
+
"electron-v25.0.0-beta.8-linux-x64-symbols.zip": "e186525646d5e6d835051b4bbce8d16e8e2e99d8cc079741f351cb3593f5b31c",
|
|
29
|
+
"electron-v25.0.0-beta.8-linux-x64.zip": "e976bf16227f27592f10bc0dc4e0d6fbc397fcc51a2a465e9cddc6415e220d9e",
|
|
30
|
+
"electron-v25.0.0-beta.8-mas-arm64-dsym-snapshot.zip": "7d0851f766f36477746c9e669fbb9400e050d0d3152ffdb4431e525124583088",
|
|
31
|
+
"electron-v25.0.0-beta.8-mas-arm64-dsym.zip": "3e514650b8136fad26abde163f88a737b5367f5d94a4c99e6256de3e266e1ac9",
|
|
32
|
+
"electron-v25.0.0-beta.8-mas-arm64-symbols.zip": "9ecc2553bb9bc4398f56705b6d352f1e840546b52bcb7279ec255883b54204c3",
|
|
33
|
+
"electron-v25.0.0-beta.8-mas-arm64.zip": "5b2ecede31ed31402670b3bc6707c792570a4693cddfd8bf58f75509776c0c3b",
|
|
34
|
+
"electron-v25.0.0-beta.8-mas-x64-dsym-snapshot.zip": "fb3f998238ef3b18da39be80a31ae8f4428bf5dc3d765c28a95ccfa0bb96d7b6",
|
|
35
|
+
"electron-v25.0.0-beta.8-mas-x64-dsym.zip": "ae020b369f2cbd49c0b35cee7d6bdd686bcdc768f488811defaf07f41be35307",
|
|
36
|
+
"electron-v25.0.0-beta.8-mas-x64-symbols.zip": "158ee4e63690a13162a03f2581c2ed873c0e1430d1ef358abbbda1b71c1a00e9",
|
|
37
|
+
"electron-v25.0.0-beta.8-mas-x64.zip": "ff885cb7a25e96066956f4f597884c21cc6a6e6f6aa5ca16d0d68bbff26d8a28",
|
|
38
|
+
"electron-v25.0.0-beta.8-win32-arm64-pdb.zip": "3dbbc276af7c321eec79194dbd082de977be01b35849ce3aec64f87d07011cdc",
|
|
39
|
+
"electron-v25.0.0-beta.8-win32-arm64-symbols.zip": "25d809623baaff3ce00af6583f3f00d479b728618bc27db0a1bd7d4a7f8218b0",
|
|
40
|
+
"electron-v25.0.0-beta.8-win32-arm64-toolchain-profile.zip": "e7b968fc53cc7a10a4ccb5133af045968479685ebb9617f06817f03667fdd425",
|
|
41
|
+
"electron-v25.0.0-beta.8-win32-arm64.zip": "3fbc80ab0f71c9a1ee0ed2670eeeff64ecf5e849dd03b9fc9c49339ae14f4b4a",
|
|
42
|
+
"electron-v25.0.0-beta.8-win32-ia32-pdb.zip": "644f4f20c53046c3bb85d3151791ec7031f0b622e036eef8a9cc91f8ac77f096",
|
|
43
|
+
"electron-v25.0.0-beta.8-win32-ia32-symbols.zip": "668fe80cb570ccaad5b5cd3de458ab8d087e88d63730a391b624e0b2785975c2",
|
|
44
|
+
"electron-v25.0.0-beta.8-win32-ia32-toolchain-profile.zip": "e7b968fc53cc7a10a4ccb5133af045968479685ebb9617f06817f03667fdd425",
|
|
45
|
+
"electron-v25.0.0-beta.8-win32-ia32.zip": "cfb99f7e00aa6c44a2b173886ce8ca1669221d953b841a347632859ec65544b0",
|
|
46
|
+
"electron-v25.0.0-beta.8-win32-x64-pdb.zip": "695564d51d583fc6f84baeade7af58100e3de8f996921433a6bc0f91b3d24469",
|
|
47
|
+
"electron-v25.0.0-beta.8-win32-x64-symbols.zip": "e606697a368b7ea877049decdb6ea0f9b2721b96d215429b55f61b9974821fe2",
|
|
48
|
+
"electron-v25.0.0-beta.8-win32-x64-toolchain-profile.zip": "e7b968fc53cc7a10a4ccb5133af045968479685ebb9617f06817f03667fdd425",
|
|
49
|
+
"electron-v25.0.0-beta.8-win32-x64.zip": "6aa9e76fb33ddd7028c0556e610d1a74784fb87fb00df82c183bcfe262a55d83",
|
|
50
|
+
"electron.d.ts": "8969d2819664af0001f10794a1edfe7d8d851dce7bcb70379bbddbe57b9d776d",
|
|
51
|
+
"ffmpeg-v25.0.0-beta.8-darwin-arm64.zip": "fa750563aeaf66ea0493dff6637c418b7eab55e8dbda7d244138601bca57d204",
|
|
52
|
+
"ffmpeg-v25.0.0-beta.8-darwin-x64.zip": "27396e3fe16d3d12f1943b395053ec4cd0f3b3c992390a09ab1d887e14cb5814",
|
|
53
|
+
"ffmpeg-v25.0.0-beta.8-linux-arm64.zip": "7cb064d44dd2f6d1a5024accba246a89ca683e08869e7048e2aeaf7001db32e2",
|
|
54
|
+
"ffmpeg-v25.0.0-beta.8-linux-armv7l.zip": "b0ec36655f2d8695b737f5600356fe622f40b3f628ae5eab623e96a3ece9c8eb",
|
|
55
|
+
"ffmpeg-v25.0.0-beta.8-linux-x64.zip": "e59e6e83767ed9f0d246d9d5e3f222df0496333a59aeefd4f189dabf6f81ee7b",
|
|
56
|
+
"ffmpeg-v25.0.0-beta.8-mas-arm64.zip": "07a78d9add5b72f1838ec18648aa8aae1dddcaf203684839c4a2cd53762f89b7",
|
|
57
|
+
"ffmpeg-v25.0.0-beta.8-mas-x64.zip": "37bba3a4d9a38595909421a3976757f0d9af3d6b4aad7deffa26e04bf9c0d407",
|
|
58
|
+
"ffmpeg-v25.0.0-beta.8-win32-arm64.zip": "da61e01117ddc990299a7b840ae31a9efeeafb43b9e4684e28be990d6cf9d8b8",
|
|
59
|
+
"ffmpeg-v25.0.0-beta.8-win32-ia32.zip": "144c5789967450581dca0092f18656d02aaa01b872d2f25920af3169463bcf5c",
|
|
60
|
+
"ffmpeg-v25.0.0-beta.8-win32-x64.zip": "4d0b4da90eaa3d7f261bc99eb1a59f5e108ae3731bf7c636e9018394bc547484",
|
|
61
|
+
"hunspell_dictionaries.zip": "9e62adc70abe055f6fd66bb816ecbcc62566541052c1eb5403fdec4ceb423063",
|
|
62
|
+
"libcxx-objects-v25.0.0-beta.8-linux-arm64.zip": "29da8e460b957a38b525454c8d00a358572ea9ba90a958bef8412abb208e3c7c",
|
|
63
|
+
"libcxx-objects-v25.0.0-beta.8-linux-armv7l.zip": "988ed714c916b03aafc6ec0de52bce5d5691df84295955deeb3aa75077790ab7",
|
|
64
|
+
"libcxx-objects-v25.0.0-beta.8-linux-x64.zip": "8fba7afde7dd76df60856aed38c9b464353e234dcda4607b9940284d29ac1923",
|
|
65
|
+
"libcxx_headers.zip": "a997b8dca999e924fb623c7488d8367e499bf881ad8f5c65961e193632917223",
|
|
66
|
+
"libcxxabi_headers.zip": "11848769d3d7d3bd55ffa3dd756233b60e315be9418ef5e1661af60b170b726a",
|
|
67
|
+
"mksnapshot-v25.0.0-beta.8-darwin-arm64.zip": "91a845a0df7da9316d984853128c1ef9215ab30a09519a91cee87d5bb685f8fc",
|
|
68
|
+
"mksnapshot-v25.0.0-beta.8-darwin-x64.zip": "e07f9e61650edf1f1648de30d83be2f7082296a5a71324409d2e78ce6dff1931",
|
|
69
|
+
"mksnapshot-v25.0.0-beta.8-linux-arm64-x64.zip": "0b96fdb511e8d1fb29e1683d6b14226ad84181756027993156a0a539509fdcc7",
|
|
70
|
+
"mksnapshot-v25.0.0-beta.8-linux-armv7l-x64.zip": "0784aeed48abc177cb71292d95937e0601ec5af8435831ac9534717fef050b7e",
|
|
71
|
+
"mksnapshot-v25.0.0-beta.8-linux-x64.zip": "9d5ff28a10558f4a46dce1a81d2abf98049ecab43916961db90ef02e9e4e0d82",
|
|
72
|
+
"mksnapshot-v25.0.0-beta.8-mas-arm64.zip": "e2feb22563714a5636f30eb431f426aa24397339e33fa3afc8ceb67f439224a6",
|
|
73
|
+
"mksnapshot-v25.0.0-beta.8-mas-x64.zip": "50776efb6f6dadb808702a01fb40ea1e783547ea8f17d2880c3908a8ee5dad17",
|
|
74
|
+
"mksnapshot-v25.0.0-beta.8-win32-arm64-x64.zip": "d7d1c06c3b3e3b8984bc5225d15a29409a952e3ce46f719dd2b10dbea1057c5d",
|
|
75
|
+
"mksnapshot-v25.0.0-beta.8-win32-ia32.zip": "d2c6dd04006e1dc28f9208273847ceb32abd39c6911e0ff625846d2b29a3d623",
|
|
76
|
+
"mksnapshot-v25.0.0-beta.8-win32-x64.zip": "51795b4b0d1a36d1b8c5d4c3af8fb594197bced20e5cee537a8bc206f0fd0d56"
|
|
77
77
|
}
|
package/electron.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
// Type definitions for Electron 25.0.0-beta.
|
|
1
|
+
// Type definitions for Electron 25.0.0-beta.8
|
|
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
|
|
@@ -2583,7 +2583,7 @@ declare namespace Electron {
|
|
|
2583
2583
|
*/
|
|
2584
2584
|
isTabletMode(): boolean;
|
|
2585
2585
|
/**
|
|
2586
|
-
* Whether the window is visible to the user.
|
|
2586
|
+
* Whether the window is visible to the user in the foreground of the app.
|
|
2587
2587
|
*/
|
|
2588
2588
|
isVisible(): boolean;
|
|
2589
2589
|
/**
|
|
@@ -2778,6 +2778,17 @@ declare namespace Electron {
|
|
|
2778
2778
|
* Sets the background color of the window. See Setting `backgroundColor`.
|
|
2779
2779
|
*/
|
|
2780
2780
|
setBackgroundColor(backgroundColor: string): void;
|
|
2781
|
+
/**
|
|
2782
|
+
* This method sets the browser window's system-drawn background material,
|
|
2783
|
+
* including behind the non-client area.
|
|
2784
|
+
*
|
|
2785
|
+
* See the Windows documentation for more details.
|
|
2786
|
+
*
|
|
2787
|
+
* **Note:** This method is only supported on Windows 11 22H2 and up.
|
|
2788
|
+
*
|
|
2789
|
+
* @platform win32
|
|
2790
|
+
*/
|
|
2791
|
+
setBackgroundMaterial(material: 'auto' | 'none' | 'mica' | 'acrylic' | 'tabbed'): void;
|
|
2781
2792
|
/**
|
|
2782
2793
|
* Resizes and moves the window to the supplied bounds. Any properties that are not
|
|
2783
2794
|
* supplied will default to their current values.
|
|
@@ -10713,14 +10724,17 @@ declare namespace Electron {
|
|
|
10713
10724
|
removeListener(event: 'crashed', listener: (event: Event,
|
|
10714
10725
|
killed: boolean) => void): this;
|
|
10715
10726
|
/**
|
|
10716
|
-
* Emitted when the cursor's type changes. The `type` parameter can be `
|
|
10717
|
-
* `crosshair`, `
|
|
10727
|
+
* Emitted when the cursor's type changes. The `type` parameter can be `pointer`,
|
|
10728
|
+
* `crosshair`, `hand`, `text`, `wait`, `help`, `e-resize`, `n-resize`,
|
|
10718
10729
|
* `ne-resize`, `nw-resize`, `s-resize`, `se-resize`, `sw-resize`, `w-resize`,
|
|
10719
10730
|
* `ns-resize`, `ew-resize`, `nesw-resize`, `nwse-resize`, `col-resize`,
|
|
10720
|
-
* `row-resize`, `m-panning`, `
|
|
10721
|
-
* `
|
|
10722
|
-
* `
|
|
10723
|
-
* `
|
|
10731
|
+
* `row-resize`, `m-panning`, `m-panning-vertical`, `m-panning-horizontal`,
|
|
10732
|
+
* `e-panning`, `n-panning`, `ne-panning`, `nw-panning`, `s-panning`, `se-panning`,
|
|
10733
|
+
* `sw-panning`, `w-panning`, `move`, `vertical-text`, `cell`, `context-menu`,
|
|
10734
|
+
* `alias`, `progress`, `nodrop`, `copy`, `none`, `not-allowed`, `zoom-in`,
|
|
10735
|
+
* `zoom-out`, `grab`, `grabbing`, `custom`, `null`, `drag-drop-none`,
|
|
10736
|
+
* `drag-drop-move`, `drag-drop-copy`, `drag-drop-link`, `ns-no-resize`,
|
|
10737
|
+
* `ew-no-resize`, `nesw-no-resize`, `nwse-no-resize`, or `default`.
|
|
10724
10738
|
*
|
|
10725
10739
|
* If the `type` parameter is `custom`, the `image` parameter will hold the custom
|
|
10726
10740
|
* cursor image in a `NativeImage`, and `scale`, `size` and `hotspot` will hold
|
|
@@ -10811,22 +10825,22 @@ declare namespace Electron {
|
|
|
10811
10825
|
* Emitted when a link is clicked in DevTools or 'Open in new tab' is selected for
|
|
10812
10826
|
* a link in its context menu.
|
|
10813
10827
|
*/
|
|
10814
|
-
on(event: 'devtools-open-url', listener: (
|
|
10828
|
+
on(event: 'devtools-open-url', listener: (event: Event,
|
|
10815
10829
|
/**
|
|
10816
10830
|
* URL of the link that was clicked or selected.
|
|
10817
10831
|
*/
|
|
10818
10832
|
url: string) => void): this;
|
|
10819
|
-
once(event: 'devtools-open-url', listener: (
|
|
10833
|
+
once(event: 'devtools-open-url', listener: (event: Event,
|
|
10820
10834
|
/**
|
|
10821
10835
|
* URL of the link that was clicked or selected.
|
|
10822
10836
|
*/
|
|
10823
10837
|
url: string) => void): this;
|
|
10824
|
-
addListener(event: 'devtools-open-url', listener: (
|
|
10838
|
+
addListener(event: 'devtools-open-url', listener: (event: Event,
|
|
10825
10839
|
/**
|
|
10826
10840
|
* URL of the link that was clicked or selected.
|
|
10827
10841
|
*/
|
|
10828
10842
|
url: string) => void): this;
|
|
10829
|
-
removeListener(event: 'devtools-open-url', listener: (
|
|
10843
|
+
removeListener(event: 'devtools-open-url', listener: (event: Event,
|
|
10830
10844
|
/**
|
|
10831
10845
|
* URL of the link that was clicked or selected.
|
|
10832
10846
|
*/
|
|
@@ -11992,6 +12006,81 @@ declare namespace Electron {
|
|
|
11992
12006
|
* creation:
|
|
11993
12007
|
*/
|
|
11994
12008
|
addWorkSpace(path: string): void;
|
|
12009
|
+
/**
|
|
12010
|
+
* Adjusts the current text selection starting and ending points in the focused
|
|
12011
|
+
* frame by the given amounts. A negative amount moves the selection towards the
|
|
12012
|
+
* beginning of the document, and a positive amount moves the selection towards the
|
|
12013
|
+
* end of the document.
|
|
12014
|
+
*
|
|
12015
|
+
* Example:
|
|
12016
|
+
*
|
|
12017
|
+
* For a call of `win.webContents.adjustSelection({ start: 1, end: 5 })`
|
|
12018
|
+
*
|
|
12019
|
+
* Before:
|
|
12020
|
+
*
|
|
12021
|
+
* <img width="487" alt="Image Before Text Selection Adjustment"
|
|
12022
|
+
*
|
|
12023
|
+
*
|
|
12024
|
+
*
|
|
12025
|
+
*
|
|
12026
|
+
*
|
|
12027
|
+
*
|
|
12028
|
+
*
|
|
12029
|
+
*
|
|
12030
|
+
*
|
|
12031
|
+
*
|
|
12032
|
+
*
|
|
12033
|
+
*
|
|
12034
|
+
*
|
|
12035
|
+
*
|
|
12036
|
+
*
|
|
12037
|
+
*
|
|
12038
|
+
*
|
|
12039
|
+
*
|
|
12040
|
+
*
|
|
12041
|
+
*
|
|
12042
|
+
*
|
|
12043
|
+
*
|
|
12044
|
+
*
|
|
12045
|
+
*
|
|
12046
|
+
*
|
|
12047
|
+
*
|
|
12048
|
+
*
|
|
12049
|
+
* thubusercontent.com/2036040/231761306-cd4e7b15-c2ed-46cf-8e80-10811f6de83e.png">
|
|
12050
|
+
*
|
|
12051
|
+
* After:
|
|
12052
|
+
*
|
|
12053
|
+
* <img width="487" alt="Image After Text Selection Adjustment"
|
|
12054
|
+
*
|
|
12055
|
+
*
|
|
12056
|
+
*
|
|
12057
|
+
*
|
|
12058
|
+
*
|
|
12059
|
+
*
|
|
12060
|
+
*
|
|
12061
|
+
*
|
|
12062
|
+
*
|
|
12063
|
+
*
|
|
12064
|
+
*
|
|
12065
|
+
*
|
|
12066
|
+
*
|
|
12067
|
+
*
|
|
12068
|
+
*
|
|
12069
|
+
*
|
|
12070
|
+
*
|
|
12071
|
+
*
|
|
12072
|
+
*
|
|
12073
|
+
*
|
|
12074
|
+
*
|
|
12075
|
+
*
|
|
12076
|
+
*
|
|
12077
|
+
*
|
|
12078
|
+
*
|
|
12079
|
+
*
|
|
12080
|
+
*
|
|
12081
|
+
* thubusercontent.com/2036040/231761169-887eb8ef-06fb-46e4-9efa-898bcb0d6a2b.png">
|
|
12082
|
+
*/
|
|
12083
|
+
adjustSelection(options: AdjustSelectionOptions): void;
|
|
11995
12084
|
/**
|
|
11996
12085
|
* Begin subscribing for presentation events and captured frames, the `callback`
|
|
11997
12086
|
* will be called with `callback(image, dirtyRect)` when there is a presentation
|
|
@@ -12037,6 +12126,10 @@ declare namespace Electron {
|
|
|
12037
12126
|
* hidden, you should ensure that `stayHidden` is set to true.
|
|
12038
12127
|
*/
|
|
12039
12128
|
capturePage(rect?: Rectangle, opts?: Opts): Promise<Electron.NativeImage>;
|
|
12129
|
+
/**
|
|
12130
|
+
* Centers the current text selection in web page.
|
|
12131
|
+
*/
|
|
12132
|
+
centerSelection(): void;
|
|
12040
12133
|
/**
|
|
12041
12134
|
* Clears the navigation history.
|
|
12042
12135
|
*/
|
|
@@ -12422,6 +12515,14 @@ declare namespace Electron {
|
|
|
12422
12515
|
* resolves if the page is saved.
|
|
12423
12516
|
*/
|
|
12424
12517
|
savePage(fullPath: string, saveType: 'HTMLOnly' | 'HTMLComplete' | 'MHTML'): Promise<void>;
|
|
12518
|
+
/**
|
|
12519
|
+
* Scrolls to the bottom of the current `webContents`.
|
|
12520
|
+
*/
|
|
12521
|
+
scrollToBottom(): void;
|
|
12522
|
+
/**
|
|
12523
|
+
* Scrolls to the top of the current `webContents`.
|
|
12524
|
+
*/
|
|
12525
|
+
scrollToTop(): void;
|
|
12425
12526
|
/**
|
|
12426
12527
|
* Executes the editing command `selectAll` in web page.
|
|
12427
12528
|
*/
|
|
@@ -13434,6 +13535,15 @@ declare namespace Electron {
|
|
|
13434
13535
|
addEventListener(type: string, listener: EventListenerOrEventListenerObject, useCapture?: boolean): void;
|
|
13435
13536
|
removeEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, useCapture?: boolean): void;
|
|
13436
13537
|
removeEventListener(type: string, listener: EventListenerOrEventListenerObject, useCapture?: boolean): void;
|
|
13538
|
+
/**
|
|
13539
|
+
* Adjusts the current text selection starting and ending points in the focused
|
|
13540
|
+
* frame by the given amounts. A negative amount moves the selection towards the
|
|
13541
|
+
* beginning of the document, and a positive amount moves the selection towards the
|
|
13542
|
+
* end of the document.
|
|
13543
|
+
*
|
|
13544
|
+
* See `webContents.adjustSelection` for examples.
|
|
13545
|
+
*/
|
|
13546
|
+
adjustSelection(options: AdjustSelectionOptions): void;
|
|
13437
13547
|
/**
|
|
13438
13548
|
* Whether the guest page can go back.
|
|
13439
13549
|
*/
|
|
@@ -13453,6 +13563,10 @@ declare namespace Electron {
|
|
|
13453
13563
|
* whole visible page.
|
|
13454
13564
|
*/
|
|
13455
13565
|
capturePage(rect?: Rectangle): Promise<Electron.NativeImage>;
|
|
13566
|
+
/**
|
|
13567
|
+
* Centers the current text selection in page.
|
|
13568
|
+
*/
|
|
13569
|
+
centerSelection(): void;
|
|
13456
13570
|
/**
|
|
13457
13571
|
* Clears the navigation history.
|
|
13458
13572
|
*/
|
|
@@ -13648,6 +13762,14 @@ declare namespace Electron {
|
|
|
13648
13762
|
* Executes editing command `replaceMisspelling` in page.
|
|
13649
13763
|
*/
|
|
13650
13764
|
replaceMisspelling(text: string): void;
|
|
13765
|
+
/**
|
|
13766
|
+
* Scrolls to the bottom of the current `<webview>`.
|
|
13767
|
+
*/
|
|
13768
|
+
scrollToBottom(): void;
|
|
13769
|
+
/**
|
|
13770
|
+
* Scrolls to the top of the current `<webview>`.
|
|
13771
|
+
*/
|
|
13772
|
+
scrollToTop(): void;
|
|
13651
13773
|
/**
|
|
13652
13774
|
* Executes editing command `selectAll` in page.
|
|
13653
13775
|
*/
|
|
@@ -13739,6 +13861,8 @@ declare namespace Electron {
|
|
|
13739
13861
|
/**
|
|
13740
13862
|
* A `boolean`. When this attribute is present the guest page will have web
|
|
13741
13863
|
* security disabled. Web security is enabled by default.
|
|
13864
|
+
*
|
|
13865
|
+
* This value can only be modified before the first navigation.
|
|
13742
13866
|
*/
|
|
13743
13867
|
disablewebsecurity: boolean;
|
|
13744
13868
|
/**
|
|
@@ -13893,6 +14017,17 @@ declare namespace Electron {
|
|
|
13893
14017
|
dataURL?: string;
|
|
13894
14018
|
}
|
|
13895
14019
|
|
|
14020
|
+
interface AdjustSelectionOptions {
|
|
14021
|
+
/**
|
|
14022
|
+
* Amount to shift the start index of the current selection.
|
|
14023
|
+
*/
|
|
14024
|
+
start?: number;
|
|
14025
|
+
/**
|
|
14026
|
+
* Amount to shift the end index of the current selection.
|
|
14027
|
+
*/
|
|
14028
|
+
end?: number;
|
|
14029
|
+
}
|
|
14030
|
+
|
|
13896
14031
|
interface AnimationSettings {
|
|
13897
14032
|
/**
|
|
13898
14033
|
* Returns true if rich animations should be rendered. Looks at session type (e.g.
|
|
@@ -14293,6 +14428,14 @@ declare namespace Electron {
|
|
|
14293
14428
|
* @platform darwin
|
|
14294
14429
|
*/
|
|
14295
14430
|
vibrancy?: ('appearance-based' | 'light' | 'dark' | 'titlebar' | 'selection' | 'menu' | 'popover' | 'sidebar' | 'medium-light' | 'ultra-dark' | 'header' | 'sheet' | 'window' | 'hud' | 'fullscreen-ui' | 'tooltip' | 'content' | 'under-window' | 'under-page');
|
|
14431
|
+
/**
|
|
14432
|
+
* Set the window's system-drawn background material, including behind the
|
|
14433
|
+
* non-client area. Can be `auto`, `none`, `mica`, `acrylic` or `tabbed`. See
|
|
14434
|
+
* win.setBackgroundMaterial for more information.
|
|
14435
|
+
*
|
|
14436
|
+
* @platform win32
|
|
14437
|
+
*/
|
|
14438
|
+
backgroundMaterial?: ('auto' | 'none' | 'mica' | 'acrylic' | 'tabbed');
|
|
14296
14439
|
/**
|
|
14297
14440
|
* Controls the behavior on macOS when option-clicking the green stoplight button
|
|
14298
14441
|
* on the toolbar or by clicking the Window > Zoom menu item. If `true`, the window
|
|
@@ -18053,6 +18196,7 @@ declare namespace Electron {
|
|
|
18053
18196
|
type Shell = Electron.Shell;
|
|
18054
18197
|
type AboutPanelOptionsOptions = Electron.AboutPanelOptionsOptions;
|
|
18055
18198
|
type AddRepresentationOptions = Electron.AddRepresentationOptions;
|
|
18199
|
+
type AdjustSelectionOptions = Electron.AdjustSelectionOptions;
|
|
18056
18200
|
type AnimationSettings = Electron.AnimationSettings;
|
|
18057
18201
|
type AppDetailsOptions = Electron.AppDetailsOptions;
|
|
18058
18202
|
type ApplicationInfoForProtocolReturnValue = Electron.ApplicationInfoForProtocolReturnValue;
|
|
@@ -18376,6 +18520,7 @@ declare namespace Electron {
|
|
|
18376
18520
|
type WebRequest = Electron.WebRequest;
|
|
18377
18521
|
type AboutPanelOptionsOptions = Electron.AboutPanelOptionsOptions;
|
|
18378
18522
|
type AddRepresentationOptions = Electron.AddRepresentationOptions;
|
|
18523
|
+
type AdjustSelectionOptions = Electron.AdjustSelectionOptions;
|
|
18379
18524
|
type AnimationSettings = Electron.AnimationSettings;
|
|
18380
18525
|
type AppDetailsOptions = Electron.AppDetailsOptions;
|
|
18381
18526
|
type ApplicationInfoForProtocolReturnValue = Electron.ApplicationInfoForProtocolReturnValue;
|
|
@@ -18633,6 +18778,7 @@ declare namespace Electron {
|
|
|
18633
18778
|
type WebviewTag = Electron.WebviewTag;
|
|
18634
18779
|
type AboutPanelOptionsOptions = Electron.AboutPanelOptionsOptions;
|
|
18635
18780
|
type AddRepresentationOptions = Electron.AddRepresentationOptions;
|
|
18781
|
+
type AdjustSelectionOptions = Electron.AdjustSelectionOptions;
|
|
18636
18782
|
type AnimationSettings = Electron.AnimationSettings;
|
|
18637
18783
|
type AppDetailsOptions = Electron.AppDetailsOptions;
|
|
18638
18784
|
type ApplicationInfoForProtocolReturnValue = Electron.ApplicationInfoForProtocolReturnValue;
|
|
@@ -18971,6 +19117,7 @@ declare namespace Electron {
|
|
|
18971
19117
|
type WebviewTag = Electron.WebviewTag;
|
|
18972
19118
|
type AboutPanelOptionsOptions = Electron.AboutPanelOptionsOptions;
|
|
18973
19119
|
type AddRepresentationOptions = Electron.AddRepresentationOptions;
|
|
19120
|
+
type AdjustSelectionOptions = Electron.AdjustSelectionOptions;
|
|
18974
19121
|
type AnimationSettings = Electron.AnimationSettings;
|
|
18975
19122
|
type AppDetailsOptions = Electron.AppDetailsOptions;
|
|
18976
19123
|
type ApplicationInfoForProtocolReturnValue = Electron.ApplicationInfoForProtocolReturnValue;
|
package/package.json
CHANGED