electron 31.0.0 → 32.0.0-alpha.1
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 +90 -15
- 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-v32.0.0-alpha.1-darwin-arm64.zip": "891f11716bc3be993becdd0b33084e355a9069933bf2f3d1cb011167fa4f6e34",
|
|
3
|
+
"chromedriver-v32.0.0-alpha.1-darwin-x64.zip": "dbbbbf0ff905c84f1e98c89a4e6f8e97bea0b400993f918487cc57a7f7a17118",
|
|
4
|
+
"chromedriver-v32.0.0-alpha.1-linux-arm64.zip": "9a33cc8feb051b39a2d4fda297b9cf32f180a6fc585a8132f92bf168e343c40c",
|
|
5
|
+
"chromedriver-v32.0.0-alpha.1-linux-armv7l.zip": "89d6e3649261821e269923c5705155bac6ef4ef94ca37d564547e54db9977774",
|
|
6
|
+
"chromedriver-v32.0.0-alpha.1-linux-x64.zip": "3c7cb472883bea14ff33e850481a286ccdf376244153f83692492c393c6dc4ae",
|
|
7
|
+
"chromedriver-v32.0.0-alpha.1-mas-arm64.zip": "ff0ff96ebb6e780e67e1864759bcb3b616447da217dc681d1e92fcaf42743b29",
|
|
8
|
+
"chromedriver-v32.0.0-alpha.1-mas-x64.zip": "eb4ac2365d8e9300d63cb82afbb50e516fcd7492fae352731a5faf1f6dba672b",
|
|
9
|
+
"chromedriver-v32.0.0-alpha.1-win32-arm64.zip": "48a5dea0d5e2a422529405beb87f1a9a26a57171393c2dc4b858bf6a5b25240f",
|
|
10
|
+
"chromedriver-v32.0.0-alpha.1-win32-ia32.zip": "f6869a75c2b1d72deae9227f23b2f27d409b2b64c91cb00a80b8270edd121369",
|
|
11
|
+
"chromedriver-v32.0.0-alpha.1-win32-x64.zip": "e5ff0264b6bde3db6027b141127c8e61c27997d9cc520aef766940e56e61d688",
|
|
12
|
+
"electron-api.json": "120586016cbdcaec62c63b12194f38fcdf4d730b294255bf709b849ac23723f7",
|
|
13
|
+
"electron-v32.0.0-alpha.1-darwin-arm64-dsym-snapshot.zip": "fd39dbf094fd4a4747a1308fbcf5aba1f4365657f3d27046bf6a45d40aacd646",
|
|
14
|
+
"electron-v32.0.0-alpha.1-darwin-arm64-dsym.zip": "35c06756d16611258f166ea17d906b574d7ef41e9d2f57187d686d3ac4603bcc",
|
|
15
|
+
"electron-v32.0.0-alpha.1-darwin-arm64-symbols.zip": "cbd7d895f6536f56c080ae2a134b67c43265b2e13bb3489bfd130673a1999cb5",
|
|
16
|
+
"electron-v32.0.0-alpha.1-darwin-arm64.zip": "08aa174792ca7f35270fa421d9e5532ad39b45e6743be01c0dfc23806c64eb36",
|
|
17
|
+
"electron-v32.0.0-alpha.1-darwin-x64-dsym-snapshot.zip": "6844fdde9b0eeb85dbd4cc8583aff66059a30118acf89311cf813462eb4f57f3",
|
|
18
|
+
"electron-v32.0.0-alpha.1-darwin-x64-dsym.zip": "f1407a1e48436f16891903ec997dc4c989a420031308105637d9ae4be81ce938",
|
|
19
|
+
"electron-v32.0.0-alpha.1-darwin-x64-symbols.zip": "0dcec21e1a578bd3f02d04f0abe941ed3e331ccb44d93bf467959374840c1863",
|
|
20
|
+
"electron-v32.0.0-alpha.1-darwin-x64.zip": "b1004590c4a665ad619cc6969c637533ef03cf11cac9cc7219da70c47e162f92",
|
|
21
|
+
"electron-v32.0.0-alpha.1-linux-arm64-debug.zip": "11e8467ea7c3f928c440d3da7ce8a466691ec05497ad07b2083ed85913f7fe2d",
|
|
22
|
+
"electron-v32.0.0-alpha.1-linux-arm64-symbols.zip": "3ce4e4e0487f837785b866a15c358568bbf418cbf30744b118fd252322cf185c",
|
|
23
|
+
"electron-v32.0.0-alpha.1-linux-arm64.zip": "9d42013854be5645f5111662cb61539bbc167f666cf0c942eac9bc7725cba3ad",
|
|
24
|
+
"electron-v32.0.0-alpha.1-linux-armv7l-debug.zip": "11e8467ea7c3f928c440d3da7ce8a466691ec05497ad07b2083ed85913f7fe2d",
|
|
25
|
+
"electron-v32.0.0-alpha.1-linux-armv7l-symbols.zip": "3c9dbdee6f18e5c4c046cc1a8c25e844becbe5d4a7294cdc6606ab7b75141e2e",
|
|
26
|
+
"electron-v32.0.0-alpha.1-linux-armv7l.zip": "4282d44c83ba984553bd84555554fdaf6f294eb41f0ad830bfa06f262e6b9045",
|
|
27
|
+
"electron-v32.0.0-alpha.1-linux-x64-debug.zip": "421606b63bef587b5269c0637cc7d1c35d1f1ddde7f509f964cd76bf40b6c446",
|
|
28
|
+
"electron-v32.0.0-alpha.1-linux-x64-symbols.zip": "d17e4b1b8b780b78ac16694bd50a9714c744b81ede193f8902ce29f80c8f6645",
|
|
29
|
+
"electron-v32.0.0-alpha.1-linux-x64.zip": "cbfb74257f36a0b6fd34d36403ebc6119dad94230967a75fc1d18fefd00b76da",
|
|
30
|
+
"electron-v32.0.0-alpha.1-mas-arm64-dsym-snapshot.zip": "7595020f39e0d54e7d73be99a7ee2edb0e61c1456e549d7397fda1a0e57d21fd",
|
|
31
|
+
"electron-v32.0.0-alpha.1-mas-arm64-dsym.zip": "39ca326387e950cd992e5eb70b8f6a52d654fbeaec5fab2ed994eacc958ba64e",
|
|
32
|
+
"electron-v32.0.0-alpha.1-mas-arm64-symbols.zip": "1213e7a08be7bf4c49fb6c95f52f7fe94200a757fa6fbab399eb522c77e796e6",
|
|
33
|
+
"electron-v32.0.0-alpha.1-mas-arm64.zip": "9423f32817f0acdc5dd47c72a9e0165232ab15f4d657cb419ffec23774e00f0b",
|
|
34
|
+
"electron-v32.0.0-alpha.1-mas-x64-dsym-snapshot.zip": "d7b82b42d03c1dc901bc4c3ac0eef751928c52b1a5b49493b822d8b0ca0c5daa",
|
|
35
|
+
"electron-v32.0.0-alpha.1-mas-x64-dsym.zip": "36f6bb8fbaa7384e9d3a23268f708e8bfcb43e34dc03f92acb523f219e540426",
|
|
36
|
+
"electron-v32.0.0-alpha.1-mas-x64-symbols.zip": "b5c1f1ba57a7705f27edc04dd1641897ee1b301bfbcbd1330cfbf10085e19e6b",
|
|
37
|
+
"electron-v32.0.0-alpha.1-mas-x64.zip": "5352edc9c7266a0e15de8699b3bf27b90b8a3228cc0bb39d9cedd2d53d6dfc14",
|
|
38
|
+
"electron-v32.0.0-alpha.1-win32-arm64-pdb.zip": "d5fd08b49f0e2b5442f6b415be24ae0ac5b66e14a8093504a18b2834fe60150f",
|
|
39
|
+
"electron-v32.0.0-alpha.1-win32-arm64-symbols.zip": "bf30744d8a139ed75ec19850325bb97befcaff9180cf589af9e6e4d593cfcf62",
|
|
40
|
+
"electron-v32.0.0-alpha.1-win32-arm64-toolchain-profile.zip": "7351fa5cb892853a7d4b67d8858d0f9cc6506c554a2e42c9ad7e8d5e29ae2743",
|
|
41
|
+
"electron-v32.0.0-alpha.1-win32-arm64.zip": "ff80dcc9b86a5aee34ac7b8a837f572a1c8b14df9c35c65bb6dc3a6e135a5a42",
|
|
42
|
+
"electron-v32.0.0-alpha.1-win32-ia32-pdb.zip": "bdfe93a18ce2490f59b057eb911d3b731c2a54048a0f3b417bbf409b6b169b01",
|
|
43
|
+
"electron-v32.0.0-alpha.1-win32-ia32-symbols.zip": "600ad6ec28895f8db06d11dd78b1e57a5409bc0e6fe00c8224cdbeb77916597d",
|
|
44
|
+
"electron-v32.0.0-alpha.1-win32-ia32-toolchain-profile.zip": "7351fa5cb892853a7d4b67d8858d0f9cc6506c554a2e42c9ad7e8d5e29ae2743",
|
|
45
|
+
"electron-v32.0.0-alpha.1-win32-ia32.zip": "510b3ac9495bb4f9203ebe223ac84f758dc03c086758d154ec828ca78210fb6b",
|
|
46
|
+
"electron-v32.0.0-alpha.1-win32-x64-pdb.zip": "af46143bd296f1c62441c7cd07e9f18186f09177613d8f2b5628d0b18e6ba53a",
|
|
47
|
+
"electron-v32.0.0-alpha.1-win32-x64-symbols.zip": "a499564bf8550ddc2ef3bae5d4b0b4e43ddae0d25d8382659bf5999ab175a3e3",
|
|
48
|
+
"electron-v32.0.0-alpha.1-win32-x64-toolchain-profile.zip": "7351fa5cb892853a7d4b67d8858d0f9cc6506c554a2e42c9ad7e8d5e29ae2743",
|
|
49
|
+
"electron-v32.0.0-alpha.1-win32-x64.zip": "690242fedce76f22f12220e99e66cd252f09227d1e1ad89f5cebc96d312dad04",
|
|
50
|
+
"electron.d.ts": "dc2761e769afe11dffa7a32515ec02882c83311660a70c07d4f87e44a433b146",
|
|
51
|
+
"ffmpeg-v32.0.0-alpha.1-darwin-arm64.zip": "9fd05c2e70f947a3adbc0068b4a72872605aeb00a938d1aec2689d2c375ded8f",
|
|
52
|
+
"ffmpeg-v32.0.0-alpha.1-darwin-x64.zip": "da6dd6e4e38342bf19719257b3d40817b005ea041717db48f4c884d4be314f9d",
|
|
53
|
+
"ffmpeg-v32.0.0-alpha.1-linux-arm64.zip": "e2c7bf487052a2fb8094269dba7ea7b492146bade17e8664b6be21eb91f106d9",
|
|
54
|
+
"ffmpeg-v32.0.0-alpha.1-linux-armv7l.zip": "2b1b8f58a14c736c8c1bc7776b45ee9ae0734aad5b20fd8c67b0eaa10d569119",
|
|
55
|
+
"ffmpeg-v32.0.0-alpha.1-linux-x64.zip": "80ba68498f80f04b9d750ad1e0f30e59bc1136931ea788d58366cee79a71f350",
|
|
56
|
+
"ffmpeg-v32.0.0-alpha.1-mas-arm64.zip": "489aa4b58ee021afe3a36dc62570c157d5ab334f606577facb39005d923ba459",
|
|
57
|
+
"ffmpeg-v32.0.0-alpha.1-mas-x64.zip": "d8a47905ffb5bb81ef858cfbc2e9d2c4b81d1ba4d16157be77f98f0745c7059f",
|
|
58
|
+
"ffmpeg-v32.0.0-alpha.1-win32-arm64.zip": "9db6d029c3cef8cc22e063f4c317b0bc7fae96e2487332d877b2fd1f9dc286d0",
|
|
59
|
+
"ffmpeg-v32.0.0-alpha.1-win32-ia32.zip": "67c511451f87076ad3e9cb224b6768e045ca19a7589ecfde89e53acb16e8e32c",
|
|
60
|
+
"ffmpeg-v32.0.0-alpha.1-win32-x64.zip": "a62caf4a80ebf9b4d21ab92e85433f48d20e30898ea0b8f1822b06cfdd869d7b",
|
|
61
|
+
"hunspell_dictionaries.zip": "3e863bfb0ffea4759a39182c125ad6aac2cd95521fccee93a2ad6abeb0e0c392",
|
|
62
|
+
"libcxx-objects-v32.0.0-alpha.1-linux-arm64.zip": "34cc8b48fc8b62267d00f0b89af3c4cf1f3ed0aa971526e156278b47fc4323fa",
|
|
63
|
+
"libcxx-objects-v32.0.0-alpha.1-linux-armv7l.zip": "82c178dc56cc3cc52383d8de89dcbb217442568fd4e70b5c25d7f39141ab0087",
|
|
64
|
+
"libcxx-objects-v32.0.0-alpha.1-linux-x64.zip": "1679a49f0202a8d520f75769a5498f2cc72a4ebd0568dded2e39b1a7f18c7127",
|
|
65
|
+
"libcxx_headers.zip": "ec0f3f9d1d4d74556e71c223789c0613586ab3d4b8a1a006d680b65b1d28420c",
|
|
66
|
+
"libcxxabi_headers.zip": "553971cd4640abe6149faff535abf91f76a593444eb6d2d13e15ad722c5d24da",
|
|
67
|
+
"mksnapshot-v32.0.0-alpha.1-darwin-arm64.zip": "4e67d3fbacc9f95871efb9b7e1d16843109e3896c2ca0783b65df9f35e592e9f",
|
|
68
|
+
"mksnapshot-v32.0.0-alpha.1-darwin-x64.zip": "1fa30c5bd4af845efec149b660a3e5dd3580ca43ec1386303214bd621bc88b02",
|
|
69
|
+
"mksnapshot-v32.0.0-alpha.1-linux-arm64-x64.zip": "c606c5e7cf52c372d43ec6d94b00d4af48042ccadb3b88f5521d29f511c61365",
|
|
70
|
+
"mksnapshot-v32.0.0-alpha.1-linux-armv7l-x64.zip": "f431a4d4d1c0f2128fcbe8bf1982b4a4dff2bf6698b2676d8a582b1fb720ab53",
|
|
71
|
+
"mksnapshot-v32.0.0-alpha.1-linux-x64.zip": "b32638df2c4bef5379a1227a62a1cf81b865f155eabc43037372e56075b4d1f5",
|
|
72
|
+
"mksnapshot-v32.0.0-alpha.1-mas-arm64.zip": "182eebf482a4b29dd95034c6b968ecc06c9c7164df0a7ea89518da6ab42ef2b0",
|
|
73
|
+
"mksnapshot-v32.0.0-alpha.1-mas-x64.zip": "ac196808a41e2382702cb6c6f8e0fd703c2bc1c671698b7a67c97d860700eac5",
|
|
74
|
+
"mksnapshot-v32.0.0-alpha.1-win32-arm64-x64.zip": "8d878349de3fec87de86bc9c95709f029d457a5bf8e65de768f136c1ed7445b7",
|
|
75
|
+
"mksnapshot-v32.0.0-alpha.1-win32-ia32.zip": "a61bc6f1ba38ab879357aec1dbdda202b2910a8699d8587e2baf7d7d66dff94d",
|
|
76
|
+
"mksnapshot-v32.0.0-alpha.1-win32-x64.zip": "96f2705a55f3697e436458654a899ba99768db62323f8c51cd5d5a844651e01a"
|
|
77
77
|
}
|
package/electron.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
// Type definitions for Electron
|
|
1
|
+
// Type definitions for Electron 32.0.0-alpha.1
|
|
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
|
|
@@ -6816,6 +6816,10 @@ declare namespace Electron {
|
|
|
6816
6816
|
|
|
6817
6817
|
// Docs: https://electronjs.org/docs/api/structures/cpu-usage
|
|
6818
6818
|
|
|
6819
|
+
/**
|
|
6820
|
+
* Total seconds of CPU time used since process startup.
|
|
6821
|
+
*/
|
|
6822
|
+
cumulativeCPUUsage?: number;
|
|
6819
6823
|
/**
|
|
6820
6824
|
* The number of average idle CPU wakeups per second since the last call to
|
|
6821
6825
|
* getCPUUsage. First call returns 0. Will always return 0 on Windows.
|
|
@@ -8772,7 +8776,7 @@ declare namespace Electron {
|
|
|
8772
8776
|
visible: boolean;
|
|
8773
8777
|
}
|
|
8774
8778
|
|
|
8775
|
-
class MessageChannelMain
|
|
8779
|
+
class MessageChannelMain {
|
|
8776
8780
|
|
|
8777
8781
|
// Docs: https://electronjs.org/docs/api/message-channel-main
|
|
8778
8782
|
|
|
@@ -9124,10 +9128,26 @@ declare namespace Electron {
|
|
|
9124
9128
|
themeSource: ('system' | 'light' | 'dark');
|
|
9125
9129
|
}
|
|
9126
9130
|
|
|
9127
|
-
class NavigationHistory
|
|
9131
|
+
class NavigationHistory {
|
|
9128
9132
|
|
|
9129
9133
|
// Docs: https://electronjs.org/docs/api/navigation-history
|
|
9130
9134
|
|
|
9135
|
+
/**
|
|
9136
|
+
* Whether the browser can go back to previous web page.
|
|
9137
|
+
*/
|
|
9138
|
+
canGoBack(): boolean;
|
|
9139
|
+
/**
|
|
9140
|
+
* Whether the browser can go forward to next web page.
|
|
9141
|
+
*/
|
|
9142
|
+
canGoForward(): boolean;
|
|
9143
|
+
/**
|
|
9144
|
+
* Whether the web page can go to the specified `offset` from the current entry.
|
|
9145
|
+
*/
|
|
9146
|
+
canGoToOffset(offset: number): boolean;
|
|
9147
|
+
/**
|
|
9148
|
+
* Clears the navigation history.
|
|
9149
|
+
*/
|
|
9150
|
+
clear(): void;
|
|
9131
9151
|
/**
|
|
9132
9152
|
* The index of the current page, from which we would go back/forward or reload.
|
|
9133
9153
|
*/
|
|
@@ -9140,6 +9160,22 @@ declare namespace Electron {
|
|
|
9140
9160
|
* will be returned.
|
|
9141
9161
|
*/
|
|
9142
9162
|
getEntryAtIndex(index: number): EntryAtIndex;
|
|
9163
|
+
/**
|
|
9164
|
+
* Makes the browser go back a web page.
|
|
9165
|
+
*/
|
|
9166
|
+
goBack(): void;
|
|
9167
|
+
/**
|
|
9168
|
+
* Makes the browser go forward a web page.
|
|
9169
|
+
*/
|
|
9170
|
+
goForward(): void;
|
|
9171
|
+
/**
|
|
9172
|
+
* Navigates browser to the specified absolute web page index.
|
|
9173
|
+
*/
|
|
9174
|
+
goToIndex(index: number): void;
|
|
9175
|
+
/**
|
|
9176
|
+
* Navigates to the specified offset from the current entry.
|
|
9177
|
+
*/
|
|
9178
|
+
goToOffset(offset: number): void;
|
|
9143
9179
|
/**
|
|
9144
9180
|
* History length.
|
|
9145
9181
|
*/
|
|
@@ -10601,7 +10637,7 @@ declare namespace Electron {
|
|
|
10601
10637
|
endpoints: ResolvedEndpoint[];
|
|
10602
10638
|
}
|
|
10603
10639
|
|
|
10604
|
-
interface SafeStorage
|
|
10640
|
+
interface SafeStorage {
|
|
10605
10641
|
|
|
10606
10642
|
// Docs: https://electronjs.org/docs/api/safe-storage
|
|
10607
10643
|
|
|
@@ -11911,7 +11947,7 @@ declare namespace Electron {
|
|
|
11911
11947
|
url: string;
|
|
11912
11948
|
}
|
|
11913
11949
|
|
|
11914
|
-
class ShareMenu
|
|
11950
|
+
class ShareMenu {
|
|
11915
11951
|
|
|
11916
11952
|
// Docs: https://electronjs.org/docs/api/share-menu
|
|
11917
11953
|
|
|
@@ -12556,7 +12592,7 @@ declare namespace Electron {
|
|
|
12556
12592
|
label: string;
|
|
12557
12593
|
}
|
|
12558
12594
|
|
|
12559
|
-
class TouchBarColorPicker
|
|
12595
|
+
class TouchBarColorPicker {
|
|
12560
12596
|
|
|
12561
12597
|
// Docs: https://electronjs.org/docs/api/touch-bar-color-picker
|
|
12562
12598
|
|
|
@@ -12576,7 +12612,7 @@ declare namespace Electron {
|
|
|
12576
12612
|
selectedColor: string;
|
|
12577
12613
|
}
|
|
12578
12614
|
|
|
12579
|
-
class TouchBarGroup
|
|
12615
|
+
class TouchBarGroup {
|
|
12580
12616
|
|
|
12581
12617
|
// Docs: https://electronjs.org/docs/api/touch-bar-group
|
|
12582
12618
|
|
|
@@ -12586,7 +12622,7 @@ declare namespace Electron {
|
|
|
12586
12622
|
constructor(options: TouchBarGroupConstructorOptions);
|
|
12587
12623
|
}
|
|
12588
12624
|
|
|
12589
|
-
class TouchBarLabel
|
|
12625
|
+
class TouchBarLabel {
|
|
12590
12626
|
|
|
12591
12627
|
// Docs: https://electronjs.org/docs/api/touch-bar-label
|
|
12592
12628
|
|
|
@@ -12611,7 +12647,7 @@ declare namespace Electron {
|
|
|
12611
12647
|
textColor: string;
|
|
12612
12648
|
}
|
|
12613
12649
|
|
|
12614
|
-
class TouchBarOtherItemsProxy
|
|
12650
|
+
class TouchBarOtherItemsProxy {
|
|
12615
12651
|
|
|
12616
12652
|
// Docs: https://electronjs.org/docs/api/touch-bar-other-items-proxy
|
|
12617
12653
|
|
|
@@ -12621,7 +12657,7 @@ declare namespace Electron {
|
|
|
12621
12657
|
constructor();
|
|
12622
12658
|
}
|
|
12623
12659
|
|
|
12624
|
-
class TouchBarPopover
|
|
12660
|
+
class TouchBarPopover {
|
|
12625
12661
|
|
|
12626
12662
|
// Docs: https://electronjs.org/docs/api/touch-bar-popover
|
|
12627
12663
|
|
|
@@ -12641,7 +12677,7 @@ declare namespace Electron {
|
|
|
12641
12677
|
label: string;
|
|
12642
12678
|
}
|
|
12643
12679
|
|
|
12644
|
-
class TouchBarScrubber
|
|
12680
|
+
class TouchBarScrubber {
|
|
12645
12681
|
|
|
12646
12682
|
// Docs: https://electronjs.org/docs/api/touch-bar-scrubber
|
|
12647
12683
|
|
|
@@ -12697,7 +12733,7 @@ declare namespace Electron {
|
|
|
12697
12733
|
showArrowButtons: boolean;
|
|
12698
12734
|
}
|
|
12699
12735
|
|
|
12700
|
-
class TouchBarSegmentedControl
|
|
12736
|
+
class TouchBarSegmentedControl {
|
|
12701
12737
|
|
|
12702
12738
|
// Docs: https://electronjs.org/docs/api/touch-bar-segmented-control
|
|
12703
12739
|
|
|
@@ -12729,7 +12765,7 @@ declare namespace Electron {
|
|
|
12729
12765
|
selectedIndex: number;
|
|
12730
12766
|
}
|
|
12731
12767
|
|
|
12732
|
-
class TouchBarSlider
|
|
12768
|
+
class TouchBarSlider {
|
|
12733
12769
|
|
|
12734
12770
|
// Docs: https://electronjs.org/docs/api/touch-bar-slider
|
|
12735
12771
|
|
|
@@ -12759,7 +12795,7 @@ declare namespace Electron {
|
|
|
12759
12795
|
value: number;
|
|
12760
12796
|
}
|
|
12761
12797
|
|
|
12762
|
-
class TouchBarSpacer
|
|
12798
|
+
class TouchBarSpacer {
|
|
12763
12799
|
|
|
12764
12800
|
// Docs: https://electronjs.org/docs/api/touch-bar-spacer
|
|
12765
12801
|
|
|
@@ -15773,14 +15809,28 @@ declare namespace Electron {
|
|
|
15773
15809
|
beginFrameSubscription(callback: (image: NativeImage, dirtyRect: Rectangle) => void): void;
|
|
15774
15810
|
/**
|
|
15775
15811
|
* Whether the browser can go back to previous web page.
|
|
15812
|
+
*
|
|
15813
|
+
* **Deprecated:** Should use the new `contents.navigationHistory.canGoBack` API.
|
|
15814
|
+
*
|
|
15815
|
+
* @deprecated
|
|
15776
15816
|
*/
|
|
15777
15817
|
canGoBack(): boolean;
|
|
15778
15818
|
/**
|
|
15779
15819
|
* Whether the browser can go forward to next web page.
|
|
15820
|
+
*
|
|
15821
|
+
* **Deprecated:** Should use the new `contents.navigationHistory.canGoForward`
|
|
15822
|
+
* API.
|
|
15823
|
+
*
|
|
15824
|
+
* @deprecated
|
|
15780
15825
|
*/
|
|
15781
15826
|
canGoForward(): boolean;
|
|
15782
15827
|
/**
|
|
15783
15828
|
* Whether the web page can go to `offset`.
|
|
15829
|
+
*
|
|
15830
|
+
* **Deprecated:** Should use the new `contents.navigationHistory.canGoToOffset`
|
|
15831
|
+
* API.
|
|
15832
|
+
*
|
|
15833
|
+
* @deprecated
|
|
15784
15834
|
*/
|
|
15785
15835
|
canGoToOffset(offset: number): boolean;
|
|
15786
15836
|
/**
|
|
@@ -15798,6 +15848,10 @@ declare namespace Electron {
|
|
|
15798
15848
|
centerSelection(): void;
|
|
15799
15849
|
/**
|
|
15800
15850
|
* Clears the navigation history.
|
|
15851
|
+
*
|
|
15852
|
+
* **Deprecated:** Should use the new `contents.navigationHistory.clear` API.
|
|
15853
|
+
*
|
|
15854
|
+
* @deprecated
|
|
15801
15855
|
*/
|
|
15802
15856
|
clearHistory(): void;
|
|
15803
15857
|
/**
|
|
@@ -15968,18 +16022,34 @@ declare namespace Electron {
|
|
|
15968
16022
|
getZoomLevel(): number;
|
|
15969
16023
|
/**
|
|
15970
16024
|
* Makes the browser go back a web page.
|
|
16025
|
+
*
|
|
16026
|
+
* **Deprecated:** Should use the new `contents.navigationHistory.goBack` API.
|
|
16027
|
+
*
|
|
16028
|
+
* @deprecated
|
|
15971
16029
|
*/
|
|
15972
16030
|
goBack(): void;
|
|
15973
16031
|
/**
|
|
15974
16032
|
* Makes the browser go forward a web page.
|
|
16033
|
+
*
|
|
16034
|
+
* **Deprecated:** Should use the new `contents.navigationHistory.goForward` API.
|
|
16035
|
+
*
|
|
16036
|
+
* @deprecated
|
|
15975
16037
|
*/
|
|
15976
16038
|
goForward(): void;
|
|
15977
16039
|
/**
|
|
15978
16040
|
* Navigates browser to the specified absolute web page index.
|
|
16041
|
+
*
|
|
16042
|
+
* **Deprecated:** Should use the new `contents.navigationHistory.goToIndex` API.
|
|
16043
|
+
*
|
|
16044
|
+
* @deprecated
|
|
15979
16045
|
*/
|
|
15980
16046
|
goToIndex(index: number): void;
|
|
15981
16047
|
/**
|
|
15982
16048
|
* Navigates to the specified offset from the "current entry".
|
|
16049
|
+
*
|
|
16050
|
+
* **Deprecated:** Should use the new `contents.navigationHistory.goToOffset` API.
|
|
16051
|
+
*
|
|
16052
|
+
* @deprecated
|
|
15983
16053
|
*/
|
|
15984
16054
|
goToOffset(offset: number): void;
|
|
15985
16055
|
/**
|
|
@@ -17261,7 +17331,7 @@ declare namespace Electron {
|
|
|
17261
17331
|
url?: string;
|
|
17262
17332
|
}
|
|
17263
17333
|
|
|
17264
|
-
interface WebUtils
|
|
17334
|
+
interface WebUtils {
|
|
17265
17335
|
|
|
17266
17336
|
// Docs: https://electronjs.org/docs/api/web-utils
|
|
17267
17337
|
|
|
@@ -23368,6 +23438,11 @@ declare namespace NodeJS {
|
|
|
23368
23438
|
once(event: 'loaded', listener: Function): this;
|
|
23369
23439
|
addListener(event: 'loaded', listener: Function): this;
|
|
23370
23440
|
removeListener(event: 'loaded', listener: Function): this;
|
|
23441
|
+
on(eventName: string | symbol, listener: (...args: any[]) => void): this;
|
|
23442
|
+
off(eventName: string | symbol, listener: (...args: any[]) => void): this;
|
|
23443
|
+
once(eventName: string | symbol, listener: (...args: any[]) => void): this;
|
|
23444
|
+
addListener(eventName: string | symbol, listener: (...args: any[]) => void): this;
|
|
23445
|
+
removeListener(eventName: string | symbol, listener: (...args: any[]) => void): this;
|
|
23371
23446
|
/**
|
|
23372
23447
|
* Causes the main thread of the current process crash.
|
|
23373
23448
|
*/
|
package/package.json
CHANGED