electron 46.0.0-alpha.1 → 46.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 +67 -67
- package/electron.d.ts +83 -19
- package/package.json +2 -2
package/checksums.json
CHANGED
|
@@ -1,69 +1,69 @@
|
|
|
1
1
|
{
|
|
2
|
-
"chromedriver-v46.0.0-alpha.
|
|
3
|
-
"chromedriver-v46.0.0-alpha.
|
|
4
|
-
"chromedriver-v46.0.0-alpha.
|
|
5
|
-
"chromedriver-v46.0.0-alpha.
|
|
6
|
-
"chromedriver-v46.0.0-alpha.
|
|
7
|
-
"chromedriver-v46.0.0-alpha.
|
|
8
|
-
"chromedriver-v46.0.0-alpha.
|
|
9
|
-
"chromedriver-v46.0.0-alpha.
|
|
10
|
-
"electron-api.json": "
|
|
11
|
-
"electron-v46.0.0-alpha.
|
|
12
|
-
"electron-v46.0.0-alpha.
|
|
13
|
-
"electron-v46.0.0-alpha.
|
|
14
|
-
"electron-v46.0.0-alpha.
|
|
15
|
-
"electron-v46.0.0-alpha.
|
|
16
|
-
"electron-v46.0.0-alpha.
|
|
17
|
-
"electron-v46.0.0-alpha.
|
|
18
|
-
"electron-v46.0.0-alpha.
|
|
19
|
-
"electron-v46.0.0-alpha.
|
|
20
|
-
"electron-v46.0.0-alpha.
|
|
21
|
-
"electron-v46.0.0-alpha.
|
|
22
|
-
"electron-v46.0.0-alpha.
|
|
23
|
-
"electron-v46.0.0-alpha.
|
|
24
|
-
"electron-v46.0.0-alpha.
|
|
25
|
-
"electron-v46.0.0-alpha.
|
|
26
|
-
"electron-v46.0.0-alpha.
|
|
27
|
-
"electron-v46.0.0-alpha.
|
|
28
|
-
"electron-v46.0.0-alpha.
|
|
29
|
-
"electron-v46.0.0-alpha.
|
|
30
|
-
"electron-v46.0.0-alpha.
|
|
31
|
-
"electron-v46.0.0-alpha.
|
|
32
|
-
"electron-v46.0.0-alpha.
|
|
33
|
-
"electron-v46.0.0-alpha.
|
|
34
|
-
"electron-v46.0.0-alpha.
|
|
35
|
-
"electron-v46.0.0-alpha.
|
|
36
|
-
"electron-v46.0.0-alpha.
|
|
37
|
-
"electron-v46.0.0-alpha.
|
|
38
|
-
"electron-v46.0.0-alpha.
|
|
39
|
-
"electron-v46.0.0-alpha.
|
|
40
|
-
"electron-v46.0.0-alpha.
|
|
41
|
-
"electron.d.ts": "
|
|
42
|
-
"ffmpeg-v46.0.0-alpha.
|
|
43
|
-
"ffmpeg-v46.0.0-alpha.
|
|
44
|
-
"ffmpeg-v46.0.0-alpha.
|
|
45
|
-
"ffmpeg-v46.0.0-alpha.
|
|
46
|
-
"ffmpeg-v46.0.0-alpha.
|
|
47
|
-
"ffmpeg-v46.0.0-alpha.
|
|
48
|
-
"ffmpeg-v46.0.0-alpha.
|
|
49
|
-
"ffmpeg-v46.0.0-alpha.
|
|
50
|
-
"hunspell_dictionaries.zip": "
|
|
51
|
-
"libcxx-objects-v46.0.0-alpha.
|
|
52
|
-
"libcxx-objects-v46.0.0-alpha.
|
|
53
|
-
"libcxx_headers.zip": "
|
|
54
|
-
"libcxxabi_headers.zip": "
|
|
55
|
-
"mksnapshot-v46.0.0-alpha.
|
|
56
|
-
"mksnapshot-v46.0.0-alpha.
|
|
57
|
-
"mksnapshot-v46.0.0-alpha.
|
|
58
|
-
"mksnapshot-v46.0.0-alpha.
|
|
59
|
-
"mksnapshot-v46.0.0-alpha.
|
|
60
|
-
"mksnapshot-v46.0.0-alpha.
|
|
61
|
-
"mksnapshot-v46.0.0-alpha.
|
|
62
|
-
"mksnapshot-v46.0.0-alpha.
|
|
63
|
-
"xcache-v46.0.0-alpha.
|
|
64
|
-
"xcache-v46.0.0-alpha.
|
|
65
|
-
"xcache-v46.0.0-alpha.
|
|
66
|
-
"xcache-v46.0.0-alpha.
|
|
67
|
-
"xcache-v46.0.0-alpha.
|
|
68
|
-
"xcache-v46.0.0-alpha.
|
|
2
|
+
"chromedriver-v46.0.0-alpha.10-darwin-arm64.zip": "29519b036a4f845688609aef367e8439f58ef3d3cc0ca8f4005ac09d6f584677",
|
|
3
|
+
"chromedriver-v46.0.0-alpha.10-darwin-x64.zip": "95efab1bbb87651b1cba7404c369bbdfc9df05603706a8a35e1d15113cbe6d4d",
|
|
4
|
+
"chromedriver-v46.0.0-alpha.10-linux-arm64.zip": "c6c2d63d8fc67566279eb4c8316ed3ab7720a0a5b4a11080b72cdc89bb6887eb",
|
|
5
|
+
"chromedriver-v46.0.0-alpha.10-linux-x64.zip": "185a877a7be99ee6648455b955e037e7c6e49e90cc48c0c57592d0db767ba636",
|
|
6
|
+
"chromedriver-v46.0.0-alpha.10-mas-arm64.zip": "18bf31db0d48b47eae2340f8578fe1a466f0cbe153d880b23df50095e7f7545c",
|
|
7
|
+
"chromedriver-v46.0.0-alpha.10-mas-x64.zip": "8ab3e3c85be78ca52dc9d4fa561f34b33b71cb31830178064adfd7f1eca4c6be",
|
|
8
|
+
"chromedriver-v46.0.0-alpha.10-win32-arm64.zip": "4cc188208d7d890202a8911985eba7bcc997776ae8eaafedd449c2ccf562be4c",
|
|
9
|
+
"chromedriver-v46.0.0-alpha.10-win32-x64.zip": "298105098bf6457788eb33b858bc87ab32853d87d6f6ef78d2f44c5380098b67",
|
|
10
|
+
"electron-api.json": "9f371d28c144ddcf7acb08b4f6afd5b5f64ba4f255897d7d053f8a344a9691ce",
|
|
11
|
+
"electron-v46.0.0-alpha.10-darwin-arm64-dsym-snapshot.zip": "f014d85dfafb91ea54ac2fbb50ca6aa857734058823898bcf370fcf881801ab3",
|
|
12
|
+
"electron-v46.0.0-alpha.10-darwin-arm64-dsym.tar.xz": "a213297a1f6cb29236692746233a67961f603118f67ed0c1aef132dd44e4965f",
|
|
13
|
+
"electron-v46.0.0-alpha.10-darwin-arm64-symbols.zip": "a142b9fc517ced66e29392c7a8b18f9f010a1e1c29a3dac09e1ea5da26b08216",
|
|
14
|
+
"electron-v46.0.0-alpha.10-darwin-arm64.zip": "24867eafe70c8458b6202b7ee19548ea7865f2d7cc10bb40af954cb777d12192",
|
|
15
|
+
"electron-v46.0.0-alpha.10-darwin-x64-dsym-snapshot.zip": "f014d85dfafb91ea54ac2fbb50ca6aa857734058823898bcf370fcf881801ab3",
|
|
16
|
+
"electron-v46.0.0-alpha.10-darwin-x64-dsym.tar.xz": "ea4913376e0423bcbf4481ace764771c5a66005ac5941990565bd81d736b20ae",
|
|
17
|
+
"electron-v46.0.0-alpha.10-darwin-x64-symbols.zip": "8e8a2a644cfd5c5e7b2a4c523c5d4f7d80e210544d2c91ac71829a084a563cb7",
|
|
18
|
+
"electron-v46.0.0-alpha.10-darwin-x64.zip": "1b413c09e73727bdefc15b4116a11efe488ce530e77df6f5bacd14a7fafff8c1",
|
|
19
|
+
"electron-v46.0.0-alpha.10-linux-arm64-debug.zip": "aa264e8151dfcdc8f1b7d71120532d643f677ae156f570ddefb37b01643032fb",
|
|
20
|
+
"electron-v46.0.0-alpha.10-linux-arm64-symbols.zip": "8caac21606682e1b1cec6af2eae62384e5cb76a1ec74373b5f5f548c2db3db61",
|
|
21
|
+
"electron-v46.0.0-alpha.10-linux-arm64.zip": "b2b99f0a004d2f204a42da3b7ad6e8ee183ffe937001438166a450e6141b4528",
|
|
22
|
+
"electron-v46.0.0-alpha.10-linux-x64-debug.zip": "48713514bfd6d3a73b59d238be01fd21d1edae0b741c1086fdbc17052547d3bc",
|
|
23
|
+
"electron-v46.0.0-alpha.10-linux-x64-symbols.zip": "c6513fe66c71aea2e4332c9e34356ea340ce2ace92b2b757b0c664bd116cfa21",
|
|
24
|
+
"electron-v46.0.0-alpha.10-linux-x64.zip": "41cf72697f5facf00356e328c7e6074e0157cd835062b7b47e787f6f362af783",
|
|
25
|
+
"electron-v46.0.0-alpha.10-mas-arm64-dsym-snapshot.zip": "f014d85dfafb91ea54ac2fbb50ca6aa857734058823898bcf370fcf881801ab3",
|
|
26
|
+
"electron-v46.0.0-alpha.10-mas-arm64-dsym.tar.xz": "ff09da1929f7a84e937dd0130ff198cd59cbf24009f51e9180c4ada2aefd6bac",
|
|
27
|
+
"electron-v46.0.0-alpha.10-mas-arm64-symbols.zip": "112c600f8d70869bf9d2fef3666860f5d53c54f7452ba420cf395728048a9b1b",
|
|
28
|
+
"electron-v46.0.0-alpha.10-mas-arm64.zip": "3646b858ec9131f63fc7366929d54cb3d80e99eeab85d3909969adf9d587663e",
|
|
29
|
+
"electron-v46.0.0-alpha.10-mas-x64-dsym-snapshot.zip": "f014d85dfafb91ea54ac2fbb50ca6aa857734058823898bcf370fcf881801ab3",
|
|
30
|
+
"electron-v46.0.0-alpha.10-mas-x64-dsym.tar.xz": "d493625c182085b233fc2e47a7d825cf0a587482aed04dbe504b2141b359fd25",
|
|
31
|
+
"electron-v46.0.0-alpha.10-mas-x64-symbols.zip": "249d5f31352311ed19a5dd383314d7952cd52f08f7ea04ba1293c7b603449002",
|
|
32
|
+
"electron-v46.0.0-alpha.10-mas-x64.zip": "83b63a5719d2eab7ba40c7462827eb798922afcda93266f7b0f11468a449aa14",
|
|
33
|
+
"electron-v46.0.0-alpha.10-win32-arm64-pdb.zip": "590bb69b7f5ea5ed7810a5f8dbcf03c8eb2030b3123696ff015cc9cf7235072a",
|
|
34
|
+
"electron-v46.0.0-alpha.10-win32-arm64-symbols.zip": "5b3d40dbb3166887929e619cc50e08c4142f7c8d7a4563000e9d1748f0723208",
|
|
35
|
+
"electron-v46.0.0-alpha.10-win32-arm64-toolchain-profile.zip": "221f819bcc433142bd71f2e71028511e60955c7a3ccd2617608aa38a899f3328",
|
|
36
|
+
"electron-v46.0.0-alpha.10-win32-arm64.zip": "bf32961eaf7a63e8155e54f5a7858b060d54da56b7392916937fe93b819c1372",
|
|
37
|
+
"electron-v46.0.0-alpha.10-win32-x64-pdb.zip": "1a853758a902e5eb68175d91ae9871e0d5c998c9fba595a5c54dc52be207590e",
|
|
38
|
+
"electron-v46.0.0-alpha.10-win32-x64-symbols.zip": "61de1e4d93360bd03265592f8cb2fb93ac1a62fb9c86a8d678698b70990b8231",
|
|
39
|
+
"electron-v46.0.0-alpha.10-win32-x64-toolchain-profile.zip": "221f819bcc433142bd71f2e71028511e60955c7a3ccd2617608aa38a899f3328",
|
|
40
|
+
"electron-v46.0.0-alpha.10-win32-x64.zip": "eb3ae83f9d68f9291f6453d2f5dcde8fbccd13bfb3b06ea083eaf6ca572f6d35",
|
|
41
|
+
"electron.d.ts": "028413fbd5128cea4765ef1195623d5b9cd25673d29273351eadce696a9b0bcc",
|
|
42
|
+
"ffmpeg-v46.0.0-alpha.10-darwin-arm64.zip": "579145d4094331cb02a4a2ddb86518368a7345cba1b23888b58598704723214f",
|
|
43
|
+
"ffmpeg-v46.0.0-alpha.10-darwin-x64.zip": "03e05512b37ac5a16f6b4f646877c925243b43477590f5c1869c56c0d12d55e9",
|
|
44
|
+
"ffmpeg-v46.0.0-alpha.10-linux-arm64.zip": "d1643c60f17809e32ada250a664c0dd40ad752233c6da227957c849d571d21cd",
|
|
45
|
+
"ffmpeg-v46.0.0-alpha.10-linux-x64.zip": "c18a62cb4add7791da18e4861b3b15bf0d88ced3c61fcd3f52a5bd3884c68c12",
|
|
46
|
+
"ffmpeg-v46.0.0-alpha.10-mas-arm64.zip": "0e02345b9203fd9b9f57a5f8a2a860ebfd716db22a636b3e5cba6b034e7d7ee9",
|
|
47
|
+
"ffmpeg-v46.0.0-alpha.10-mas-x64.zip": "7d40dbb2724eda27fc715c6a41bf25fdc5226d2c21cfd0b22f15bd2ba16fd95b",
|
|
48
|
+
"ffmpeg-v46.0.0-alpha.10-win32-arm64.zip": "38c50fc58b2e915118f7d2ec59daff8eb79cba9ef0216f8ce1b86e56e84604f4",
|
|
49
|
+
"ffmpeg-v46.0.0-alpha.10-win32-x64.zip": "a4c6e3fa832d25e2e06be2c813100602b666b70e0d255c58fdee6d3138690572",
|
|
50
|
+
"hunspell_dictionaries.zip": "b16fac6abbf141b81b92b6cdb3750cb3f16c456d92af3fa8dd9694d64a8e58c0",
|
|
51
|
+
"libcxx-objects-v46.0.0-alpha.10-linux-arm64.zip": "2d3353498f57b1c7182c2ea6908b3dbe5ac002a4537c3af9af6b1689806384e7",
|
|
52
|
+
"libcxx-objects-v46.0.0-alpha.10-linux-x64.zip": "12b22b364e1a931b66cffb3a026b54446d60a68a5d12bc9d1059663a61cebcb7",
|
|
53
|
+
"libcxx_headers.zip": "db5f7495af331807c5d2b86b4ffe337398cbc9586a0152463ead3582d452c7f2",
|
|
54
|
+
"libcxxabi_headers.zip": "50cba783a66328129330f3b2620807614c73ca6f1839477da08fac59a2192f57",
|
|
55
|
+
"mksnapshot-v46.0.0-alpha.10-darwin-arm64.zip": "6a44310c09709e5bb423240419e251504d9c92c6d4766ca9bc68a7dd242870b4",
|
|
56
|
+
"mksnapshot-v46.0.0-alpha.10-darwin-x64.zip": "30e56696b5f8f65d5f958bd9bec2e5bae25b7807ec0d3f36fe40d8707f6db9c2",
|
|
57
|
+
"mksnapshot-v46.0.0-alpha.10-linux-arm64-x64.zip": "18dbfe737c3eb59b5aa7bbaa93ee9a17610d0c98fde3b42a5ad71803194d62fc",
|
|
58
|
+
"mksnapshot-v46.0.0-alpha.10-linux-x64.zip": "7a2e4800e45f6f8ea91b63ca9ac9dd4fd3e9eabd8f4e2a5a7999ea5c19e01fac",
|
|
59
|
+
"mksnapshot-v46.0.0-alpha.10-mas-arm64.zip": "f4e30a5f205239ea32b11ab55ed8c4fcbdcfcddb90dc544dc15577eab48f57aa",
|
|
60
|
+
"mksnapshot-v46.0.0-alpha.10-mas-x64.zip": "058332716111e1d6f79d8fb42add3df51b0f1a2303e1326cebcfb94c46bbb5ae",
|
|
61
|
+
"mksnapshot-v46.0.0-alpha.10-win32-arm64-x64.zip": "77d21efc39be5bc303b13cf1b1e4c22f350b472f331621c9cc8f4da71964b03d",
|
|
62
|
+
"mksnapshot-v46.0.0-alpha.10-win32-x64.zip": "c87ff27b5f7c430fc80208f08cb7dfdcf045e7696fd57885d0b6e962ed0e11b5",
|
|
63
|
+
"xcache-v46.0.0-alpha.10-darwin-arm64.zip": "6677cf2b079ca8857cc8426a826b92ab0fad317c83127e0ebdb901cd3357630d",
|
|
64
|
+
"xcache-v46.0.0-alpha.10-darwin-x64.zip": "1daed2a3ec801d827e043a64e6d067d14c5c3e32c3bd2880733f2cde3b4a92f9",
|
|
65
|
+
"xcache-v46.0.0-alpha.10-linux-arm64.zip": "4634071f006bed8be2ac9db8f49d1bbb590fcdcb8baa6c9792a1425cc9ea52fb",
|
|
66
|
+
"xcache-v46.0.0-alpha.10-linux-x64.zip": "ff8f581ae9a08b0bf5379778c5a4839a91fc03a0e950506facba2d2b8ae57f17",
|
|
67
|
+
"xcache-v46.0.0-alpha.10-win32-arm64.zip": "e9332f603296368fafe90578c74301875c35f04a472d72b3369485306ac8a75d",
|
|
68
|
+
"xcache-v46.0.0-alpha.10-win32-x64.zip": "f70263d7f0983b44afd2016b325a6deb9b16e15e95237b6700779515816c667e"
|
|
69
69
|
}
|
package/electron.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
// Type definitions for Electron 46.0.0-alpha.
|
|
1
|
+
// Type definitions for Electron 46.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
|
|
@@ -4602,12 +4602,10 @@ declare namespace Electron {
|
|
|
4602
4602
|
/**
|
|
4603
4603
|
* The `bounds` of this BrowserView instance as `Object`.
|
|
4604
4604
|
*
|
|
4605
|
-
* @experimental
|
|
4606
4605
|
* @deprecated
|
|
4607
4606
|
*/
|
|
4608
4607
|
getBounds(): Rectangle;
|
|
4609
4608
|
/**
|
|
4610
|
-
* @experimental
|
|
4611
4609
|
* @deprecated
|
|
4612
4610
|
*/
|
|
4613
4611
|
setAutoResize(options: AutoResizeOptions): void;
|
|
@@ -4639,21 +4637,18 @@ declare namespace Electron {
|
|
|
4639
4637
|
* > [!NOTE] Hex format with alpha takes `AARRGGBB` or `ARGB`, _not_ `RRGGBBAA` or
|
|
4640
4638
|
* `RGB`.
|
|
4641
4639
|
*
|
|
4642
|
-
* @experimental
|
|
4643
4640
|
* @deprecated
|
|
4644
4641
|
*/
|
|
4645
4642
|
setBackgroundColor(color: string): void;
|
|
4646
4643
|
/**
|
|
4647
4644
|
* Resizes and moves the view to the supplied bounds relative to the window.
|
|
4648
4645
|
*
|
|
4649
|
-
* @experimental
|
|
4650
4646
|
* @deprecated
|
|
4651
4647
|
*/
|
|
4652
4648
|
setBounds(bounds: Rectangle): void;
|
|
4653
4649
|
/**
|
|
4654
4650
|
* A `WebContents` object owned by this view.
|
|
4655
4651
|
*
|
|
4656
|
-
* @experimental
|
|
4657
4652
|
* @deprecated
|
|
4658
4653
|
*/
|
|
4659
4654
|
webContents: WebContents;
|
|
@@ -5923,7 +5918,6 @@ declare namespace Electron {
|
|
|
5923
5918
|
* > [!WARNING] The `BrowserView` class is deprecated, and replaced by the new
|
|
5924
5919
|
* `WebContentsView` class.
|
|
5925
5920
|
*
|
|
5926
|
-
* @experimental
|
|
5927
5921
|
* @deprecated
|
|
5928
5922
|
*/
|
|
5929
5923
|
addBrowserView(browserView: BrowserView): void;
|
|
@@ -6031,7 +6025,6 @@ declare namespace Electron {
|
|
|
6031
6025
|
* > [!WARNING] The `BrowserView` class is deprecated, and replaced by the new
|
|
6032
6026
|
* `WebContentsView` class.
|
|
6033
6027
|
*
|
|
6034
|
-
* @experimental
|
|
6035
6028
|
* @deprecated
|
|
6036
6029
|
*/
|
|
6037
6030
|
getBrowserView(): (BrowserView) | (null);
|
|
@@ -6043,7 +6036,6 @@ declare namespace Electron {
|
|
|
6043
6036
|
* > [!WARNING] The `BrowserView` class is deprecated, and replaced by the new
|
|
6044
6037
|
* `WebContentsView` class.
|
|
6045
6038
|
*
|
|
6046
|
-
* @experimental
|
|
6047
6039
|
* @deprecated
|
|
6048
6040
|
*/
|
|
6049
6041
|
getBrowserViews(): BrowserView[];
|
|
@@ -6406,7 +6398,6 @@ declare namespace Electron {
|
|
|
6406
6398
|
* > [!WARNING] The `BrowserView` class is deprecated, and replaced by the new
|
|
6407
6399
|
* `WebContentsView` class.
|
|
6408
6400
|
*
|
|
6409
|
-
* @experimental
|
|
6410
6401
|
* @deprecated
|
|
6411
6402
|
*/
|
|
6412
6403
|
removeBrowserView(browserView: BrowserView): void;
|
|
@@ -6565,7 +6556,6 @@ declare namespace Electron {
|
|
|
6565
6556
|
* > [!WARNING] The `BrowserView` class is deprecated, and replaced by the new
|
|
6566
6557
|
* `WebContentsView` class.
|
|
6567
6558
|
*
|
|
6568
|
-
* @experimental
|
|
6569
6559
|
* @deprecated
|
|
6570
6560
|
*/
|
|
6571
6561
|
setBrowserView(browserView: (BrowserView) | (null)): void;
|
|
@@ -6895,7 +6885,6 @@ declare namespace Electron {
|
|
|
6895
6885
|
* > [!WARNING] The `BrowserView` class is deprecated, and replaced by the new
|
|
6896
6886
|
* `WebContentsView` class.
|
|
6897
6887
|
*
|
|
6898
|
-
* @experimental
|
|
6899
6888
|
* @deprecated
|
|
6900
6889
|
*/
|
|
6901
6890
|
setTopBrowserView(browserView: BrowserView): void;
|
|
@@ -8884,6 +8873,12 @@ declare namespace Electron {
|
|
|
8884
8873
|
|
|
8885
8874
|
// Docs: https://electronjs.org/docs/api/structures/extension
|
|
8886
8875
|
|
|
8876
|
+
/**
|
|
8877
|
+
* A per-load identifier Chromium generates for the extension, used in place of
|
|
8878
|
+
* `id` in the `chrome-extension://` URLs of web accessible resources declared with
|
|
8879
|
+
* `use_dynamic_url`. It changes every time the extension is loaded.
|
|
8880
|
+
*/
|
|
8881
|
+
dynamicId: string;
|
|
8887
8882
|
id: string;
|
|
8888
8883
|
/**
|
|
8889
8884
|
* Copy of the extension's manifest data.
|
|
@@ -10328,6 +10323,22 @@ declare namespace Electron {
|
|
|
10328
10323
|
* one. It contains standard items such as `File`, `Edit`, `View`, and `Window`.
|
|
10329
10324
|
*/
|
|
10330
10325
|
static setApplicationMenu(menu: (Menu) | (null)): void;
|
|
10326
|
+
/**
|
|
10327
|
+
* Sets the colors used to highlight the hovered or keyboard-focused item in every
|
|
10328
|
+
* menu the app shows, including context menus and the menu bar's dropdowns. Light
|
|
10329
|
+
* and dark colors are set separately, and any color left unset keeps the default
|
|
10330
|
+
* for that mode. Each call replaces the colors set by any previous call. Passing
|
|
10331
|
+
* `null` restores the defaults.
|
|
10332
|
+
*
|
|
10333
|
+
* Menus opened after the call use the new colors. The colors are not applied while
|
|
10334
|
+
* Windows high contrast mode or forced colors are active, so the user's system
|
|
10335
|
+
* colors take priority.
|
|
10336
|
+
*
|
|
10337
|
+
* This method has no effect on macOS and Linux.
|
|
10338
|
+
*
|
|
10339
|
+
* @platform win32
|
|
10340
|
+
*/
|
|
10341
|
+
static setHighlightColors(options: (HighlightColorsOptions) | (null)): void;
|
|
10331
10342
|
/**
|
|
10332
10343
|
* Appends the `menuItem` to the menu.
|
|
10333
10344
|
*/
|
|
@@ -14409,7 +14420,7 @@ declare namespace Electron {
|
|
|
14409
14420
|
* > [!NOTE] `isMainFrame` will always be `false` for a `fileSystem` request as a
|
|
14410
14421
|
* result of Chromium limitations.
|
|
14411
14422
|
*/
|
|
14412
|
-
setPermissionCheckHandler(handler: ((webContents: (WebContents) | (null), permission: 'ar' | 'automatic-fullscreen' | 'background-fetch' | 'background-sync' | 'captured-surface-control' | 'clipboard-read' | 'clipboard-sanitized-write' | 'deprecated-sync-clipboard-read' | 'display-capture' | 'fileSystem' | 'fullscreen' | 'geolocation' | 'geolocation-approximate' | 'hand-tracking' | 'hid' | 'idle-detection' | 'keyboardLock' | 'local-fonts' | 'local-network' | 'local-network-access' | 'loopback-network' | 'media' | 'mediaKeySystem' | 'midi' | 'midiSysex' | 'nfc' | 'notifications' | 'openExternal' | 'payment-handler' | 'periodic-background-sync' | 'persistent-storage' | 'pointerLock' | 'screen-wake-lock' | 'sensors' | 'serial' | 'smart-card' | 'speaker-selection' | 'storage-access' | 'system-wake-lock' | '
|
|
14423
|
+
setPermissionCheckHandler(handler: ((webContents: (WebContents) | (null), permission: 'ar' | 'automatic-fullscreen' | 'background-fetch' | 'background-sync' | 'captured-surface-control' | 'clipboard-read' | 'clipboard-sanitized-write' | 'deprecated-sync-clipboard-read' | 'display-capture' | 'fileSystem' | 'fullscreen' | 'geolocation' | 'geolocation-approximate' | 'hand-tracking' | 'hid' | 'idle-detection' | 'keyboardLock' | 'local-fonts' | 'local-network' | 'local-network-access' | 'loopback-network' | 'media' | 'mediaKeySystem' | 'midi' | 'midiSysex' | 'nfc' | 'notifications' | 'openExternal' | 'payment-handler' | 'periodic-background-sync' | 'persistent-storage' | 'pointerLock' | 'screen-wake-lock' | 'sensors' | 'serial' | 'smart-card' | 'speaker-selection' | 'storage-access' | 'system-wake-lock' | 'usb' | 'vr' | 'web-app-installation' | 'web-printing' | 'window-management' | 'unknown', requestingOrigin: string, details: PermissionCheckHandlerHandlerDetails) => boolean) | (null)): void;
|
|
14413
14424
|
/**
|
|
14414
14425
|
* Sets the handler which can be used to respond to permission requests for the
|
|
14415
14426
|
* `session`. Calling `callback(true)` will allow the permission and
|
|
@@ -14426,7 +14437,7 @@ declare namespace Electron {
|
|
|
14426
14437
|
* control screen sharing separately should handle the two permissions
|
|
14427
14438
|
* individually:
|
|
14428
14439
|
*/
|
|
14429
|
-
setPermissionRequestHandler(handler: ((webContents: WebContents, permission: 'ar' | 'automatic-fullscreen' | 'background-fetch' | 'background-sync' | 'captured-surface-control' | 'clipboard-read' | 'clipboard-sanitized-write' | 'deprecated-sync-clipboard-read' | 'display-capture' | 'fileSystem' | 'fullscreen' | 'geolocation' | 'geolocation-approximate' | 'hand-tracking' | 'hid' | 'idle-detection' | 'keyboardLock' | 'local-fonts' | 'local-network' | 'local-network-access' | 'loopback-network' | 'media' | 'mediaKeySystem' | 'midi' | 'midiSysex' | 'nfc' | 'notifications' | 'openExternal' | 'payment-handler' | 'periodic-background-sync' | 'persistent-storage' | 'pointerLock' | 'screen-wake-lock' | 'sensors' | 'serial' | 'smart-card' | 'speaker-selection' | 'storage-access' | 'system-wake-lock' | '
|
|
14440
|
+
setPermissionRequestHandler(handler: ((webContents: WebContents, permission: 'ar' | 'automatic-fullscreen' | 'background-fetch' | 'background-sync' | 'captured-surface-control' | 'clipboard-read' | 'clipboard-sanitized-write' | 'deprecated-sync-clipboard-read' | 'display-capture' | 'fileSystem' | 'fullscreen' | 'geolocation' | 'geolocation-approximate' | 'hand-tracking' | 'hid' | 'idle-detection' | 'keyboardLock' | 'local-fonts' | 'local-network' | 'local-network-access' | 'loopback-network' | 'media' | 'mediaKeySystem' | 'midi' | 'midiSysex' | 'nfc' | 'notifications' | 'openExternal' | 'payment-handler' | 'periodic-background-sync' | 'persistent-storage' | 'pointerLock' | 'screen-wake-lock' | 'sensors' | 'serial' | 'smart-card' | 'speaker-selection' | 'storage-access' | 'system-wake-lock' | 'usb' | 'vr' | 'web-app-installation' | 'web-printing' | 'window-management' | 'unknown', callback: (permissionGranted: boolean) => void, details: (PermissionRequest) | (FilesystemPermissionRequest) | (MediaAccessPermissionRequest) | (OpenExternalPermissionRequest)) => void) | (null)): void;
|
|
14430
14441
|
/**
|
|
14431
14442
|
* Adds scripts that will be executed on ALL web contents that are associated with
|
|
14432
14443
|
* this session just before normal `preload` scripts run.
|
|
@@ -15289,7 +15300,9 @@ declare namespace Electron {
|
|
|
15289
15300
|
*
|
|
15290
15301
|
* Same as `subscribeNotification`, but uses `NSNotificationCenter` for local
|
|
15291
15302
|
* defaults. This is necessary for events such as
|
|
15292
|
-
* `NSUserDefaultsDidChangeNotification`.
|
|
15303
|
+
* `NSUserDefaultsDidChangeNotification`. `callback` is always called on the main
|
|
15304
|
+
* thread. Notifications posted on other threads are delivered to it
|
|
15305
|
+
* asynchronously.
|
|
15293
15306
|
*
|
|
15294
15307
|
* If `event` is null, the `NSNotificationCenter` doesn’t use it as criteria for
|
|
15295
15308
|
* delivery to the observer. See docs for more information.
|
|
@@ -19561,9 +19574,6 @@ declare namespace Electron {
|
|
|
19561
19574
|
send(channel: string, ...args: any[]): void;
|
|
19562
19575
|
/**
|
|
19563
19576
|
* Sends an input `event` to the page.
|
|
19564
|
-
*
|
|
19565
|
-
* > [!NOTE] The `BrowserWindow` containing the contents needs to be focused for
|
|
19566
|
-
* `sendInputEvent()` to work.
|
|
19567
19577
|
*/
|
|
19568
19578
|
sendInputEvent(inputEvent: (MouseInputEvent) | (MouseWheelInputEvent) | (KeyboardInputEvent)): void;
|
|
19569
19579
|
/**
|
|
@@ -21164,6 +21174,10 @@ declare namespace Electron {
|
|
|
21164
21174
|
*/
|
|
21165
21175
|
addEventListener(event: 'update-target-url', listener: (event: UpdateTargetUrlEvent) => void, useCapture?: boolean): this;
|
|
21166
21176
|
removeEventListener(event: 'update-target-url', listener: (event: UpdateTargetUrlEvent) => void): this;
|
|
21177
|
+
/**
|
|
21178
|
+
* Emitted when a link is clicked in DevTools or 'Open in new tab' is selected for
|
|
21179
|
+
* a link in its context menu.
|
|
21180
|
+
*/
|
|
21167
21181
|
addEventListener(event: 'devtools-open-url', listener: (event: DevtoolsOpenUrlEvent) => void, useCapture?: boolean): this;
|
|
21168
21182
|
removeEventListener(event: 'devtools-open-url', listener: (event: DevtoolsOpenUrlEvent) => void): this;
|
|
21169
21183
|
/**
|
|
@@ -23204,6 +23218,17 @@ declare namespace Electron {
|
|
|
23204
23218
|
origin?: string;
|
|
23205
23219
|
}
|
|
23206
23220
|
|
|
23221
|
+
interface HighlightColorsOptions {
|
|
23222
|
+
/**
|
|
23223
|
+
* Colors used when menus are drawn with light colors.
|
|
23224
|
+
*/
|
|
23225
|
+
light?: Light;
|
|
23226
|
+
/**
|
|
23227
|
+
* Colors used when menus are drawn with dark colors.
|
|
23228
|
+
*/
|
|
23229
|
+
dark?: Dark;
|
|
23230
|
+
}
|
|
23231
|
+
|
|
23207
23232
|
interface IgnoreMouseEventsOptions {
|
|
23208
23233
|
/**
|
|
23209
23234
|
* If true, forwards mouse move messages to Chromium, enabling mouse related events
|
|
@@ -25962,6 +25987,18 @@ declare namespace Electron {
|
|
|
25962
25987
|
interface Children {
|
|
25963
25988
|
}
|
|
25964
25989
|
|
|
25990
|
+
interface Dark {
|
|
25991
|
+
/**
|
|
25992
|
+
* Background color of the hovered or keyboard-focused menu item, as a CSS color
|
|
25993
|
+
* string.
|
|
25994
|
+
*/
|
|
25995
|
+
background?: string;
|
|
25996
|
+
/**
|
|
25997
|
+
* Text color of the hovered or keyboard-focused menu item, as a CSS color string.
|
|
25998
|
+
*/
|
|
25999
|
+
foreground?: string;
|
|
26000
|
+
}
|
|
26001
|
+
|
|
25965
26002
|
interface EditFlags {
|
|
25966
26003
|
/**
|
|
25967
26004
|
* Whether the renderer believes it can undo.
|
|
@@ -26074,6 +26111,18 @@ declare namespace Electron {
|
|
|
26074
26111
|
enabled: boolean;
|
|
26075
26112
|
}
|
|
26076
26113
|
|
|
26114
|
+
interface Light {
|
|
26115
|
+
/**
|
|
26116
|
+
* Background color of the hovered or keyboard-focused menu item, as a CSS color
|
|
26117
|
+
* string (e.g. `#0067c0`).
|
|
26118
|
+
*/
|
|
26119
|
+
background?: string;
|
|
26120
|
+
/**
|
|
26121
|
+
* Text color of the hovered or keyboard-focused menu item, as a CSS color string.
|
|
26122
|
+
*/
|
|
26123
|
+
foreground?: string;
|
|
26124
|
+
}
|
|
26125
|
+
|
|
26077
26126
|
interface Margins {
|
|
26078
26127
|
/**
|
|
26079
26128
|
* Can be `default`, `none`, `printableArea`, or `custom`. If `custom` is chosen,
|
|
@@ -26499,6 +26548,7 @@ declare namespace Electron {
|
|
|
26499
26548
|
type HidDeviceAddedDetails = Electron.HidDeviceAddedDetails;
|
|
26500
26549
|
type HidDeviceRemovedDetails = Electron.HidDeviceRemovedDetails;
|
|
26501
26550
|
type HidDeviceRevokedDetails = Electron.HidDeviceRevokedDetails;
|
|
26551
|
+
type HighlightColorsOptions = Electron.HighlightColorsOptions;
|
|
26502
26552
|
type IgnoreMouseEventsOptions = Electron.IgnoreMouseEventsOptions;
|
|
26503
26553
|
type ImportCertificateOptions = Electron.ImportCertificateOptions;
|
|
26504
26554
|
type ImportSharedTextureOptions = Electron.ImportSharedTextureOptions;
|
|
@@ -26631,6 +26681,7 @@ declare namespace Electron {
|
|
|
26631
26681
|
type WillResizeDetails = Electron.WillResizeDetails;
|
|
26632
26682
|
type Animate = Electron.Animate;
|
|
26633
26683
|
type Children = Electron.Children;
|
|
26684
|
+
type Dark = Electron.Dark;
|
|
26634
26685
|
type EditFlags = Electron.EditFlags;
|
|
26635
26686
|
type Env = Electron.Env;
|
|
26636
26687
|
type FeatureReports = Electron.FeatureReports;
|
|
@@ -26638,6 +26689,7 @@ declare namespace Electron {
|
|
|
26638
26689
|
type InputReports = Electron.InputReports;
|
|
26639
26690
|
type Interfaces = Electron.Interfaces;
|
|
26640
26691
|
type LaunchItems = Electron.LaunchItems;
|
|
26692
|
+
type Light = Electron.Light;
|
|
26641
26693
|
type Margins = Electron.Margins;
|
|
26642
26694
|
type MediaFlags = Electron.MediaFlags;
|
|
26643
26695
|
type Metadata = Electron.Metadata;
|
|
@@ -26930,6 +26982,7 @@ declare namespace Electron {
|
|
|
26930
26982
|
type HidDeviceAddedDetails = Electron.HidDeviceAddedDetails;
|
|
26931
26983
|
type HidDeviceRemovedDetails = Electron.HidDeviceRemovedDetails;
|
|
26932
26984
|
type HidDeviceRevokedDetails = Electron.HidDeviceRevokedDetails;
|
|
26985
|
+
type HighlightColorsOptions = Electron.HighlightColorsOptions;
|
|
26933
26986
|
type IgnoreMouseEventsOptions = Electron.IgnoreMouseEventsOptions;
|
|
26934
26987
|
type ImportCertificateOptions = Electron.ImportCertificateOptions;
|
|
26935
26988
|
type ImportSharedTextureOptions = Electron.ImportSharedTextureOptions;
|
|
@@ -27062,6 +27115,7 @@ declare namespace Electron {
|
|
|
27062
27115
|
type WillResizeDetails = Electron.WillResizeDetails;
|
|
27063
27116
|
type Animate = Electron.Animate;
|
|
27064
27117
|
type Children = Electron.Children;
|
|
27118
|
+
type Dark = Electron.Dark;
|
|
27065
27119
|
type EditFlags = Electron.EditFlags;
|
|
27066
27120
|
type Env = Electron.Env;
|
|
27067
27121
|
type FeatureReports = Electron.FeatureReports;
|
|
@@ -27069,6 +27123,7 @@ declare namespace Electron {
|
|
|
27069
27123
|
type InputReports = Electron.InputReports;
|
|
27070
27124
|
type Interfaces = Electron.Interfaces;
|
|
27071
27125
|
type LaunchItems = Electron.LaunchItems;
|
|
27126
|
+
type Light = Electron.Light;
|
|
27072
27127
|
type Margins = Electron.Margins;
|
|
27073
27128
|
type MediaFlags = Electron.MediaFlags;
|
|
27074
27129
|
type Metadata = Electron.Metadata;
|
|
@@ -27284,6 +27339,7 @@ declare namespace Electron {
|
|
|
27284
27339
|
type HidDeviceAddedDetails = Electron.HidDeviceAddedDetails;
|
|
27285
27340
|
type HidDeviceRemovedDetails = Electron.HidDeviceRemovedDetails;
|
|
27286
27341
|
type HidDeviceRevokedDetails = Electron.HidDeviceRevokedDetails;
|
|
27342
|
+
type HighlightColorsOptions = Electron.HighlightColorsOptions;
|
|
27287
27343
|
type IgnoreMouseEventsOptions = Electron.IgnoreMouseEventsOptions;
|
|
27288
27344
|
type ImportCertificateOptions = Electron.ImportCertificateOptions;
|
|
27289
27345
|
type ImportSharedTextureOptions = Electron.ImportSharedTextureOptions;
|
|
@@ -27416,6 +27472,7 @@ declare namespace Electron {
|
|
|
27416
27472
|
type WillResizeDetails = Electron.WillResizeDetails;
|
|
27417
27473
|
type Animate = Electron.Animate;
|
|
27418
27474
|
type Children = Electron.Children;
|
|
27475
|
+
type Dark = Electron.Dark;
|
|
27419
27476
|
type EditFlags = Electron.EditFlags;
|
|
27420
27477
|
type Env = Electron.Env;
|
|
27421
27478
|
type FeatureReports = Electron.FeatureReports;
|
|
@@ -27423,6 +27480,7 @@ declare namespace Electron {
|
|
|
27423
27480
|
type InputReports = Electron.InputReports;
|
|
27424
27481
|
type Interfaces = Electron.Interfaces;
|
|
27425
27482
|
type LaunchItems = Electron.LaunchItems;
|
|
27483
|
+
type Light = Electron.Light;
|
|
27426
27484
|
type Margins = Electron.Margins;
|
|
27427
27485
|
type MediaFlags = Electron.MediaFlags;
|
|
27428
27486
|
type Metadata = Electron.Metadata;
|
|
@@ -27640,6 +27698,7 @@ declare namespace Electron {
|
|
|
27640
27698
|
type HidDeviceAddedDetails = Electron.HidDeviceAddedDetails;
|
|
27641
27699
|
type HidDeviceRemovedDetails = Electron.HidDeviceRemovedDetails;
|
|
27642
27700
|
type HidDeviceRevokedDetails = Electron.HidDeviceRevokedDetails;
|
|
27701
|
+
type HighlightColorsOptions = Electron.HighlightColorsOptions;
|
|
27643
27702
|
type IgnoreMouseEventsOptions = Electron.IgnoreMouseEventsOptions;
|
|
27644
27703
|
type ImportCertificateOptions = Electron.ImportCertificateOptions;
|
|
27645
27704
|
type ImportSharedTextureOptions = Electron.ImportSharedTextureOptions;
|
|
@@ -27772,6 +27831,7 @@ declare namespace Electron {
|
|
|
27772
27831
|
type WillResizeDetails = Electron.WillResizeDetails;
|
|
27773
27832
|
type Animate = Electron.Animate;
|
|
27774
27833
|
type Children = Electron.Children;
|
|
27834
|
+
type Dark = Electron.Dark;
|
|
27775
27835
|
type EditFlags = Electron.EditFlags;
|
|
27776
27836
|
type Env = Electron.Env;
|
|
27777
27837
|
type FeatureReports = Electron.FeatureReports;
|
|
@@ -27779,6 +27839,7 @@ declare namespace Electron {
|
|
|
27779
27839
|
type InputReports = Electron.InputReports;
|
|
27780
27840
|
type Interfaces = Electron.Interfaces;
|
|
27781
27841
|
type LaunchItems = Electron.LaunchItems;
|
|
27842
|
+
type Light = Electron.Light;
|
|
27782
27843
|
type Margins = Electron.Margins;
|
|
27783
27844
|
type MediaFlags = Electron.MediaFlags;
|
|
27784
27845
|
type Metadata = Electron.Metadata;
|
|
@@ -28093,6 +28154,7 @@ declare namespace Electron {
|
|
|
28093
28154
|
type HidDeviceAddedDetails = Electron.HidDeviceAddedDetails;
|
|
28094
28155
|
type HidDeviceRemovedDetails = Electron.HidDeviceRemovedDetails;
|
|
28095
28156
|
type HidDeviceRevokedDetails = Electron.HidDeviceRevokedDetails;
|
|
28157
|
+
type HighlightColorsOptions = Electron.HighlightColorsOptions;
|
|
28096
28158
|
type IgnoreMouseEventsOptions = Electron.IgnoreMouseEventsOptions;
|
|
28097
28159
|
type ImportCertificateOptions = Electron.ImportCertificateOptions;
|
|
28098
28160
|
type ImportSharedTextureOptions = Electron.ImportSharedTextureOptions;
|
|
@@ -28225,6 +28287,7 @@ declare namespace Electron {
|
|
|
28225
28287
|
type WillResizeDetails = Electron.WillResizeDetails;
|
|
28226
28288
|
type Animate = Electron.Animate;
|
|
28227
28289
|
type Children = Electron.Children;
|
|
28290
|
+
type Dark = Electron.Dark;
|
|
28228
28291
|
type EditFlags = Electron.EditFlags;
|
|
28229
28292
|
type Env = Electron.Env;
|
|
28230
28293
|
type FeatureReports = Electron.FeatureReports;
|
|
@@ -28232,6 +28295,7 @@ declare namespace Electron {
|
|
|
28232
28295
|
type InputReports = Electron.InputReports;
|
|
28233
28296
|
type Interfaces = Electron.Interfaces;
|
|
28234
28297
|
type LaunchItems = Electron.LaunchItems;
|
|
28298
|
+
type Light = Electron.Light;
|
|
28235
28299
|
type Margins = Electron.Margins;
|
|
28236
28300
|
type MediaFlags = Electron.MediaFlags;
|
|
28237
28301
|
type Metadata = Electron.Metadata;
|
|
@@ -28688,4 +28752,4 @@ declare namespace NodeJS {
|
|
|
28688
28752
|
readonly electron: string;
|
|
28689
28753
|
readonly chrome: string;
|
|
28690
28754
|
}
|
|
28691
|
-
}
|
|
28755
|
+
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "electron",
|
|
3
|
-
"version": "46.0.0-alpha.
|
|
3
|
+
"version": "46.0.0-alpha.10",
|
|
4
4
|
"repository": "https://github.com/electron/electron",
|
|
5
5
|
"description": "Build cross platform desktop apps with JavaScript, HTML, and CSS",
|
|
6
6
|
"license": "MIT",
|
|
@@ -30,6 +30,6 @@
|
|
|
30
30
|
"dependencies": {
|
|
31
31
|
"@electron-internal/extract-zip": "^1.0.1",
|
|
32
32
|
"@electron/get": "^5.0.0",
|
|
33
|
-
"@types/node": "^
|
|
33
|
+
"@types/node": "^26.6.5"
|
|
34
34
|
}
|
|
35
35
|
}
|