electron 32.0.0-beta.6 → 32.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/checksums.json +75 -75
- package/electron.d.ts +62 -46
- package/package.json +1 -1
package/checksums.json
CHANGED
|
@@ -1,77 +1,77 @@
|
|
|
1
1
|
{
|
|
2
|
-
"chromedriver-v32.0.0-
|
|
3
|
-
"chromedriver-v32.0.0-
|
|
4
|
-
"chromedriver-v32.0.0-
|
|
5
|
-
"chromedriver-v32.0.0-
|
|
6
|
-
"chromedriver-v32.0.0-
|
|
7
|
-
"chromedriver-v32.0.0-
|
|
8
|
-
"chromedriver-v32.0.0-
|
|
9
|
-
"chromedriver-v32.0.0-
|
|
10
|
-
"chromedriver-v32.0.0-
|
|
11
|
-
"chromedriver-v32.0.0-
|
|
12
|
-
"electron-api.json": "
|
|
13
|
-
"electron-v32.0.0-
|
|
14
|
-
"electron-v32.0.0-
|
|
15
|
-
"electron-v32.0.0-
|
|
16
|
-
"electron-v32.0.0-
|
|
17
|
-
"electron-v32.0.0-
|
|
18
|
-
"electron-v32.0.0-
|
|
19
|
-
"electron-v32.0.0-
|
|
20
|
-
"electron-v32.0.0-
|
|
21
|
-
"electron-v32.0.0-
|
|
22
|
-
"electron-v32.0.0-
|
|
23
|
-
"electron-v32.0.0-
|
|
24
|
-
"electron-v32.0.0-
|
|
25
|
-
"electron-v32.0.0-
|
|
26
|
-
"electron-v32.0.0-
|
|
27
|
-
"electron-v32.0.0-
|
|
28
|
-
"electron-v32.0.0-
|
|
29
|
-
"electron-v32.0.0-
|
|
30
|
-
"electron-v32.0.0-
|
|
31
|
-
"electron-v32.0.0-
|
|
32
|
-
"electron-v32.0.0-
|
|
33
|
-
"electron-v32.0.0-
|
|
34
|
-
"electron-v32.0.0-
|
|
35
|
-
"electron-v32.0.0-
|
|
36
|
-
"electron-v32.0.0-
|
|
37
|
-
"electron-v32.0.0-
|
|
38
|
-
"electron-v32.0.0-
|
|
39
|
-
"electron-v32.0.0-
|
|
40
|
-
"electron-v32.0.0-
|
|
41
|
-
"electron-v32.0.0-
|
|
42
|
-
"electron-v32.0.0-
|
|
43
|
-
"electron-v32.0.0-
|
|
44
|
-
"electron-v32.0.0-
|
|
45
|
-
"electron-v32.0.0-
|
|
46
|
-
"electron-v32.0.0-
|
|
47
|
-
"electron-v32.0.0-
|
|
48
|
-
"electron-v32.0.0-
|
|
49
|
-
"electron-v32.0.0-
|
|
50
|
-
"electron.d.ts": "
|
|
51
|
-
"ffmpeg-v32.0.0-
|
|
52
|
-
"ffmpeg-v32.0.0-
|
|
53
|
-
"ffmpeg-v32.0.0-
|
|
54
|
-
"ffmpeg-v32.0.0-
|
|
55
|
-
"ffmpeg-v32.0.0-
|
|
56
|
-
"ffmpeg-v32.0.0-
|
|
57
|
-
"ffmpeg-v32.0.0-
|
|
58
|
-
"ffmpeg-v32.0.0-
|
|
59
|
-
"ffmpeg-v32.0.0-
|
|
60
|
-
"ffmpeg-v32.0.0-
|
|
61
|
-
"hunspell_dictionaries.zip": "
|
|
62
|
-
"libcxx-objects-v32.0.0-
|
|
63
|
-
"libcxx-objects-v32.0.0-
|
|
64
|
-
"libcxx-objects-v32.0.0-
|
|
65
|
-
"libcxx_headers.zip": "
|
|
66
|
-
"libcxxabi_headers.zip": "
|
|
67
|
-
"mksnapshot-v32.0.0-
|
|
68
|
-
"mksnapshot-v32.0.0-
|
|
69
|
-
"mksnapshot-v32.0.0-
|
|
70
|
-
"mksnapshot-v32.0.0-
|
|
71
|
-
"mksnapshot-v32.0.0-
|
|
72
|
-
"mksnapshot-v32.0.0-
|
|
73
|
-
"mksnapshot-v32.0.0-
|
|
74
|
-
"mksnapshot-v32.0.0-
|
|
75
|
-
"mksnapshot-v32.0.0-
|
|
76
|
-
"mksnapshot-v32.0.0-
|
|
2
|
+
"chromedriver-v32.0.0-darwin-arm64.zip": "e3fbb9c78281a502455acecd0c072cd6e8a557a802e2e664bcd11f3338060f8d",
|
|
3
|
+
"chromedriver-v32.0.0-darwin-x64.zip": "c02f34cde7c17130d75ab760865fef3112b02a91de5188381b917fa54e40a159",
|
|
4
|
+
"chromedriver-v32.0.0-linux-arm64.zip": "c549470d49f068f03f3d7bc60255a427812ba8cc33f21b3c92943f580b3a7daa",
|
|
5
|
+
"chromedriver-v32.0.0-linux-armv7l.zip": "5f5311604a7978679e82ddf1f61c2594cd32f961c5d35a0fd56e761cecac978a",
|
|
6
|
+
"chromedriver-v32.0.0-linux-x64.zip": "2c9a206034d0e46276559c96e775f9a038a922092d8d87e5cafe019517a84acc",
|
|
7
|
+
"chromedriver-v32.0.0-mas-arm64.zip": "4e41c691d1b0c14b1b71f23ff0cf7cc35de855c918840115b7cc9881e5ed7d09",
|
|
8
|
+
"chromedriver-v32.0.0-mas-x64.zip": "7ced5e5de9a27a51fa55c738c8cedf94a19e26222978c3bd7ca6284f3a15c087",
|
|
9
|
+
"chromedriver-v32.0.0-win32-arm64.zip": "f8fba3c9a3f5da9b0144d1a28c82c246b035b0b78cc482ab29539a0f6fe58f1e",
|
|
10
|
+
"chromedriver-v32.0.0-win32-ia32.zip": "6bc4028d33916018691cc933cb5b75e9df05b5cd48a58435891703cd9e58c66e",
|
|
11
|
+
"chromedriver-v32.0.0-win32-x64.zip": "aeaea67edd9b4dbcfb52f6b3c73b8e5c44cfb398d9c0af128fd94e1a50800feb",
|
|
12
|
+
"electron-api.json": "0627aebfc33fce3e3f5a7539efa6b2107041d562446ecd63bbf343f36d0f64fd",
|
|
13
|
+
"electron-v32.0.0-darwin-arm64-dsym-snapshot.zip": "ca31f9570b7048ca909257382a4e333703dcc35f89fb35fae40805daaea41129",
|
|
14
|
+
"electron-v32.0.0-darwin-arm64-dsym.zip": "96797d2dde1e5030a2470b0123f52f99ce9f2265952fb0076d67876a28e19d75",
|
|
15
|
+
"electron-v32.0.0-darwin-arm64-symbols.zip": "6eef61369cb118ed7ca97c906c79b28c07fde79144ac4987c47e2005a44c3b95",
|
|
16
|
+
"electron-v32.0.0-darwin-arm64.zip": "f0dae4b47af64fcfd83123f3c98c9c02f8f8064fb1d56cd295c0347234157b48",
|
|
17
|
+
"electron-v32.0.0-darwin-x64-dsym-snapshot.zip": "994b8e12a5cc29e0617173b589091acda1b99af90a0e2f420505a618f2deb670",
|
|
18
|
+
"electron-v32.0.0-darwin-x64-dsym.zip": "97690d1af19e532534b875e2d61c9c8dff56c23e0018c84889a7b4a2755f9589",
|
|
19
|
+
"electron-v32.0.0-darwin-x64-symbols.zip": "6a93cf32602c3393fc2da0bed0195c8cf1ffebbbe95a0525ecab2610f4e83b10",
|
|
20
|
+
"electron-v32.0.0-darwin-x64.zip": "685d791c4635194a84119c35671002590c829f13001bbf222d7b2ccd07bb8862",
|
|
21
|
+
"electron-v32.0.0-linux-arm64-debug.zip": "675db0c60cce46b3de8d114d0635e9ee203799d63a75dfba9da34bf72f1f1193",
|
|
22
|
+
"electron-v32.0.0-linux-arm64-symbols.zip": "2da131ebe46cc7bfbedc9e0f4468b3ddccfde1197848a965a1dfeed7fe449348",
|
|
23
|
+
"electron-v32.0.0-linux-arm64.zip": "71af014d5f2fa87289e86ffcc25c464ab9228a610d94a19eea7249c2f8a04878",
|
|
24
|
+
"electron-v32.0.0-linux-armv7l-debug.zip": "675db0c60cce46b3de8d114d0635e9ee203799d63a75dfba9da34bf72f1f1193",
|
|
25
|
+
"electron-v32.0.0-linux-armv7l-symbols.zip": "5580946cec2de2329c75e71141da35ae3840b5d2938aeeaf781056a7d22bc262",
|
|
26
|
+
"electron-v32.0.0-linux-armv7l.zip": "ac2a56602ef3ba268148148f2bbfc6dae3fd4343221149edc5b3f543c3960dea",
|
|
27
|
+
"electron-v32.0.0-linux-x64-debug.zip": "e70c066d10c8d13ae517a6e54e6bc57ded78a30d66d4a01d8943f2d20f7ab6d8",
|
|
28
|
+
"electron-v32.0.0-linux-x64-symbols.zip": "37547e7377eb97cc8efcd9072b7cb85aad55c02926a016a4e191d72cbb8f66ef",
|
|
29
|
+
"electron-v32.0.0-linux-x64.zip": "1d4e3d6805c42cf69943e33b8691aaa4fbda88d7becd48d5b342ccaef512ff60",
|
|
30
|
+
"electron-v32.0.0-mas-arm64-dsym-snapshot.zip": "9fb1d3c9df9064e54b54092ecb0d494837a1c11783966a48dfea0f0c12e59018",
|
|
31
|
+
"electron-v32.0.0-mas-arm64-dsym.zip": "653d1e32993c7aa82d70c4b8d94560332c631c66730add21d803d2ca23ea161e",
|
|
32
|
+
"electron-v32.0.0-mas-arm64-symbols.zip": "4e3cf831ab3af6c2a96089996efa974243a7039119b85d600ed6f73e74027cd9",
|
|
33
|
+
"electron-v32.0.0-mas-arm64.zip": "be1733814f4cf25a4dd6f5b9d1e21b66a435b01b1f57920f82fe4776481af9aa",
|
|
34
|
+
"electron-v32.0.0-mas-x64-dsym-snapshot.zip": "b9dbe824457b7ae4ca9861864127f079c7b388fd322101f532cd3bab951f546b",
|
|
35
|
+
"electron-v32.0.0-mas-x64-dsym.zip": "74877fe526f44fea8cb25ae065bdb8f4801b5dab6cead4528dd4bb195de2ffe8",
|
|
36
|
+
"electron-v32.0.0-mas-x64-symbols.zip": "88978d0f0ef6626e5afc65f53edc960428e83df7da02fb1230bd9936d5956543",
|
|
37
|
+
"electron-v32.0.0-mas-x64.zip": "472bd99085f02dbd400a30074305856a3823014d31459b3763fa4cdabfa9cda7",
|
|
38
|
+
"electron-v32.0.0-win32-arm64-pdb.zip": "d3cad3cd21bcdbdd7c0b9e59835a20610288b840fca337496a4adec5920401b7",
|
|
39
|
+
"electron-v32.0.0-win32-arm64-symbols.zip": "f393329c74ca4b0e23b7ca0e8f2094576dc6d5353c92b8fbf32e6763cab7d8de",
|
|
40
|
+
"electron-v32.0.0-win32-arm64-toolchain-profile.zip": "7351fa5cb892853a7d4b67d8858d0f9cc6506c554a2e42c9ad7e8d5e29ae2743",
|
|
41
|
+
"electron-v32.0.0-win32-arm64.zip": "9ab24e69a57dd64232ca19bcf10ade2109b7e1a37c0d6bc41196327407d380c6",
|
|
42
|
+
"electron-v32.0.0-win32-ia32-pdb.zip": "12ba15646dd9413ff44935424b03661656892a4b811b450477ecbea8f1bb62d7",
|
|
43
|
+
"electron-v32.0.0-win32-ia32-symbols.zip": "f0316826a3b2362382e9b48efb0158a473874149f4d6d2decbebb4a514d9ad18",
|
|
44
|
+
"electron-v32.0.0-win32-ia32-toolchain-profile.zip": "7351fa5cb892853a7d4b67d8858d0f9cc6506c554a2e42c9ad7e8d5e29ae2743",
|
|
45
|
+
"electron-v32.0.0-win32-ia32.zip": "afa953a5a6ff6c7bce8313a2bb8fd1b6a75fc0f37f0229457205dc10f91232d1",
|
|
46
|
+
"electron-v32.0.0-win32-x64-pdb.zip": "cf89f9e44a433e4c0380bc458006339a2c37afcdf28e7e23f4238d6114eae37b",
|
|
47
|
+
"electron-v32.0.0-win32-x64-symbols.zip": "f5079bd52b09bd1d83f0ad69c5839b4262f480a013fd2ec89c4a3e1509240728",
|
|
48
|
+
"electron-v32.0.0-win32-x64-toolchain-profile.zip": "7351fa5cb892853a7d4b67d8858d0f9cc6506c554a2e42c9ad7e8d5e29ae2743",
|
|
49
|
+
"electron-v32.0.0-win32-x64.zip": "e562b6d536191d11f1af210bf612ad980ca083817022eaa3616df316ce03ec72",
|
|
50
|
+
"electron.d.ts": "b7f5c29e35ff5066efe3a24a589e13e9f0cdd445d74e946076d9598f3a503554",
|
|
51
|
+
"ffmpeg-v32.0.0-darwin-arm64.zip": "0099c4a486bb4d43ade7a0596e289a2069a48732475953d5ad326594fc36a8bd",
|
|
52
|
+
"ffmpeg-v32.0.0-darwin-x64.zip": "78f4f4899f362292782b33909732528ef487ddff8af95a6822efbc54e8924219",
|
|
53
|
+
"ffmpeg-v32.0.0-linux-arm64.zip": "9b7c1a7618a50b77220cfbf8db3dfe558c896e6c3984e96b8b6cd19955d8e7d8",
|
|
54
|
+
"ffmpeg-v32.0.0-linux-armv7l.zip": "f4283c971ccb6251123841413ba501bfc65bd7b908f9cb3487f3634be6471b27",
|
|
55
|
+
"ffmpeg-v32.0.0-linux-x64.zip": "4865234142e0b07e72f1fc68aeb4b3614937d8cc83029316e8f3960b8d71790f",
|
|
56
|
+
"ffmpeg-v32.0.0-mas-arm64.zip": "0099c4a486bb4d43ade7a0596e289a2069a48732475953d5ad326594fc36a8bd",
|
|
57
|
+
"ffmpeg-v32.0.0-mas-x64.zip": "78f4f4899f362292782b33909732528ef487ddff8af95a6822efbc54e8924219",
|
|
58
|
+
"ffmpeg-v32.0.0-win32-arm64.zip": "c0adc5a146d7d766a83c8b0b4b88e7106728391ad3ad1c852d4d15ec91c4ee47",
|
|
59
|
+
"ffmpeg-v32.0.0-win32-ia32.zip": "5dbe24c9e11ce61274badbe12a27e9913c8fb010c7f6d60d77d7ef6fc8d8cb96",
|
|
60
|
+
"ffmpeg-v32.0.0-win32-x64.zip": "96d55a91ecac39b9034fa115472a98424ae07eea620b822717156f6673b6f0fd",
|
|
61
|
+
"hunspell_dictionaries.zip": "cfc28dcf9728ae7572d7e05626b0860d3c8a8a5d43e649e3d51fb26b27716c7f",
|
|
62
|
+
"libcxx-objects-v32.0.0-linux-arm64.zip": "b35e4c32e6a8de02caa1ccd4c70bdd8ab52f517c572cb64ed3f8b440496b865c",
|
|
63
|
+
"libcxx-objects-v32.0.0-linux-armv7l.zip": "34334038e16ef209d10df4d7827f5f2a2ef16c3cf8b562373972780242d0f252",
|
|
64
|
+
"libcxx-objects-v32.0.0-linux-x64.zip": "87bbd642d16d7cfdb14e4550e2f8288df77483b1769f70ec0f9bed168ba70488",
|
|
65
|
+
"libcxx_headers.zip": "01d72086c19a3ab426fff64efe23d4112291464785e32253b77b7820aa88e7c2",
|
|
66
|
+
"libcxxabi_headers.zip": "875d1697b3cde375ed63cb56104b1c53157bdd611fb3938f086be9579177bce2",
|
|
67
|
+
"mksnapshot-v32.0.0-darwin-arm64.zip": "b4c92acf69b4ba0c7a9332a93638d084a8aa16d3efe34bb90eb8e21407abb30e",
|
|
68
|
+
"mksnapshot-v32.0.0-darwin-x64.zip": "03b096e3fd274aa637b0ced6dfe94fee44a2c8e03c5d7cc84de426ac00f41b7c",
|
|
69
|
+
"mksnapshot-v32.0.0-linux-arm64-x64.zip": "ae8f4ffd7f879a7ff44b6c1f47682e1f94000d8e2fa94a05169a1a6e29f5839b",
|
|
70
|
+
"mksnapshot-v32.0.0-linux-armv7l-x64.zip": "eff15f9e0368a01d1bd715caf5048abf7a0581c3b855184cd8e49e542479368d",
|
|
71
|
+
"mksnapshot-v32.0.0-linux-x64.zip": "8efa852de9d2108ef95637c143ac2a5b3413a7eb961d9209391bbb644dc0ce41",
|
|
72
|
+
"mksnapshot-v32.0.0-mas-arm64.zip": "65c256c40153549f0e098d18979be66da0f70aa1ad2e2961c6cd21ba64d69693",
|
|
73
|
+
"mksnapshot-v32.0.0-mas-x64.zip": "cdb857e183bb4b444cbc7e0ea5a06a856d25b68e190d3b7eb3d173d528002353",
|
|
74
|
+
"mksnapshot-v32.0.0-win32-arm64-x64.zip": "de9c44f61f3f9a58e1eb4b5953270f3d358a96ce5f73be4bda3e79fa99a17981",
|
|
75
|
+
"mksnapshot-v32.0.0-win32-ia32.zip": "b646c3a4fab6fbd6d9484a53526d8a738cdf57cefff597f0a95f8450f55a790e",
|
|
76
|
+
"mksnapshot-v32.0.0-win32-x64.zip": "950ebfc81ed18993630215139f001afd949360b720c536dca54a7d33fc851372"
|
|
77
77
|
}
|
package/electron.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
// Type definitions for Electron 32.0.0
|
|
1
|
+
// Type definitions for Electron 32.0.0
|
|
2
2
|
// Project: http://electronjs.org/
|
|
3
3
|
// Definitions by: The Electron Team <https://github.com/electron/electron>
|
|
4
4
|
// Definitions: https://github.com/electron/typescript-definitions
|
|
@@ -480,7 +480,7 @@ declare namespace Electron {
|
|
|
480
480
|
addListener(event: 'gpu-info-update', listener: Function): this;
|
|
481
481
|
removeListener(event: 'gpu-info-update', listener: Function): this;
|
|
482
482
|
/**
|
|
483
|
-
* Emitted when `webContents` wants to do basic auth.
|
|
483
|
+
* Emitted when `webContents` or Utility process wants to do basic auth.
|
|
484
484
|
*
|
|
485
485
|
* The default behavior is to cancel all authentications. To override this you
|
|
486
486
|
* should prevent the default behavior with `event.preventDefault()` and call
|
|
@@ -7144,32 +7144,32 @@ declare namespace Electron {
|
|
|
7144
7144
|
*
|
|
7145
7145
|
* On macOS, this displays a modal dialog that shows a message and certificate
|
|
7146
7146
|
* information, and gives the user the option of trusting/importing the
|
|
7147
|
-
* certificate. If you provide a `
|
|
7148
|
-
*
|
|
7147
|
+
* certificate. If you provide a `window` argument the dialog will be attached to
|
|
7148
|
+
* the parent window, making it modal.
|
|
7149
7149
|
*
|
|
7150
7150
|
* On Windows the options are more limited, due to the Win32 APIs used:
|
|
7151
7151
|
*
|
|
7152
7152
|
* * The `message` argument is not used, as the OS provides its own confirmation
|
|
7153
7153
|
* dialog.
|
|
7154
|
-
* * The `
|
|
7154
|
+
* * The `window` argument is ignored since it is not possible to make this
|
|
7155
7155
|
* confirmation dialog modal.
|
|
7156
7156
|
*
|
|
7157
7157
|
* @platform darwin,win32
|
|
7158
7158
|
*/
|
|
7159
|
-
showCertificateTrustDialog(
|
|
7159
|
+
showCertificateTrustDialog(window: BaseWindow, options: CertificateTrustDialogOptions): Promise<void>;
|
|
7160
7160
|
/**
|
|
7161
7161
|
* resolves when the certificate trust dialog is shown.
|
|
7162
7162
|
*
|
|
7163
7163
|
* On macOS, this displays a modal dialog that shows a message and certificate
|
|
7164
7164
|
* information, and gives the user the option of trusting/importing the
|
|
7165
|
-
* certificate. If you provide a `
|
|
7166
|
-
*
|
|
7165
|
+
* certificate. If you provide a `window` argument the dialog will be attached to
|
|
7166
|
+
* the parent window, making it modal.
|
|
7167
7167
|
*
|
|
7168
7168
|
* On Windows the options are more limited, due to the Win32 APIs used:
|
|
7169
7169
|
*
|
|
7170
7170
|
* * The `message` argument is not used, as the OS provides its own confirmation
|
|
7171
7171
|
* dialog.
|
|
7172
|
-
* * The `
|
|
7172
|
+
* * The `window` argument is ignored since it is not possible to make this
|
|
7173
7173
|
* confirmation dialog modal.
|
|
7174
7174
|
*
|
|
7175
7175
|
* @platform darwin,win32
|
|
@@ -7193,10 +7193,10 @@ declare namespace Electron {
|
|
|
7193
7193
|
*
|
|
7194
7194
|
* Shows a message box.
|
|
7195
7195
|
*
|
|
7196
|
-
* The `
|
|
7197
|
-
*
|
|
7196
|
+
* The `window` argument allows the dialog to attach itself to a parent window,
|
|
7197
|
+
* making it modal.
|
|
7198
7198
|
*/
|
|
7199
|
-
showMessageBox(
|
|
7199
|
+
showMessageBox(window: BaseWindow, options: MessageBoxOptions): Promise<Electron.MessageBoxReturnValue>;
|
|
7200
7200
|
/**
|
|
7201
7201
|
* resolves with a promise containing the following properties:
|
|
7202
7202
|
*
|
|
@@ -7206,8 +7206,8 @@ declare namespace Electron {
|
|
|
7206
7206
|
*
|
|
7207
7207
|
* Shows a message box.
|
|
7208
7208
|
*
|
|
7209
|
-
* The `
|
|
7210
|
-
*
|
|
7209
|
+
* The `window` argument allows the dialog to attach itself to a parent window,
|
|
7210
|
+
* making it modal.
|
|
7211
7211
|
*/
|
|
7212
7212
|
showMessageBox(options: MessageBoxOptions): Promise<Electron.MessageBoxReturnValue>;
|
|
7213
7213
|
/**
|
|
@@ -7216,20 +7216,20 @@ declare namespace Electron {
|
|
|
7216
7216
|
* Shows a message box, it will block the process until the message box is closed.
|
|
7217
7217
|
* It returns the index of the clicked button.
|
|
7218
7218
|
*
|
|
7219
|
-
* The `
|
|
7220
|
-
*
|
|
7221
|
-
*
|
|
7219
|
+
* The `window` argument allows the dialog to attach itself to a parent window,
|
|
7220
|
+
* making it modal. If `window` is not shown dialog will not be attached to it. In
|
|
7221
|
+
* such case it will be displayed as an independent window.
|
|
7222
7222
|
*/
|
|
7223
|
-
showMessageBoxSync(
|
|
7223
|
+
showMessageBoxSync(window: BaseWindow, options: MessageBoxSyncOptions): number;
|
|
7224
7224
|
/**
|
|
7225
7225
|
* the index of the clicked button.
|
|
7226
7226
|
*
|
|
7227
7227
|
* Shows a message box, it will block the process until the message box is closed.
|
|
7228
7228
|
* It returns the index of the clicked button.
|
|
7229
7229
|
*
|
|
7230
|
-
* The `
|
|
7231
|
-
*
|
|
7232
|
-
*
|
|
7230
|
+
* The `window` argument allows the dialog to attach itself to a parent window,
|
|
7231
|
+
* making it modal. If `window` is not shown dialog will not be attached to it. In
|
|
7232
|
+
* such case it will be displayed as an independent window.
|
|
7233
7233
|
*/
|
|
7234
7234
|
showMessageBoxSync(options: MessageBoxSyncOptions): number;
|
|
7235
7235
|
/**
|
|
@@ -7243,8 +7243,8 @@ declare namespace Electron {
|
|
|
7243
7243
|
* bookmark data. `securityScopedBookmarks` must be enabled for this to be
|
|
7244
7244
|
* populated. (For return values, see table here.)
|
|
7245
7245
|
*
|
|
7246
|
-
* The `
|
|
7247
|
-
*
|
|
7246
|
+
* The `window` argument allows the dialog to attach itself to a parent window,
|
|
7247
|
+
* making it modal.
|
|
7248
7248
|
*
|
|
7249
7249
|
* The `filters` specifies an array of file types that can be displayed or selected
|
|
7250
7250
|
* when you want to limit the user to a specific type. For example:
|
|
@@ -7257,7 +7257,7 @@ declare namespace Electron {
|
|
|
7257
7257
|
* and a directory selector, so if you set `properties` to `['openFile',
|
|
7258
7258
|
* 'openDirectory']` on these platforms, a directory selector will be shown.
|
|
7259
7259
|
*/
|
|
7260
|
-
showOpenDialog(
|
|
7260
|
+
showOpenDialog(window: BaseWindow, options: OpenDialogOptions): Promise<Electron.OpenDialogReturnValue>;
|
|
7261
7261
|
/**
|
|
7262
7262
|
* Resolve with an object containing the following:
|
|
7263
7263
|
*
|
|
@@ -7269,8 +7269,8 @@ declare namespace Electron {
|
|
|
7269
7269
|
* bookmark data. `securityScopedBookmarks` must be enabled for this to be
|
|
7270
7270
|
* populated. (For return values, see table here.)
|
|
7271
7271
|
*
|
|
7272
|
-
* The `
|
|
7273
|
-
*
|
|
7272
|
+
* The `window` argument allows the dialog to attach itself to a parent window,
|
|
7273
|
+
* making it modal.
|
|
7274
7274
|
*
|
|
7275
7275
|
* The `filters` specifies an array of file types that can be displayed or selected
|
|
7276
7276
|
* when you want to limit the user to a specific type. For example:
|
|
@@ -7288,8 +7288,8 @@ declare namespace Electron {
|
|
|
7288
7288
|
* the file paths chosen by the user; if the dialog is cancelled it returns
|
|
7289
7289
|
* `undefined`.
|
|
7290
7290
|
*
|
|
7291
|
-
* The `
|
|
7292
|
-
*
|
|
7291
|
+
* The `window` argument allows the dialog to attach itself to a parent window,
|
|
7292
|
+
* making it modal.
|
|
7293
7293
|
*
|
|
7294
7294
|
* The `filters` specifies an array of file types that can be displayed or selected
|
|
7295
7295
|
* when you want to limit the user to a specific type. For example:
|
|
@@ -7302,13 +7302,13 @@ declare namespace Electron {
|
|
|
7302
7302
|
* and a directory selector, so if you set `properties` to `['openFile',
|
|
7303
7303
|
* 'openDirectory']` on these platforms, a directory selector will be shown.
|
|
7304
7304
|
*/
|
|
7305
|
-
showOpenDialogSync(
|
|
7305
|
+
showOpenDialogSync(window: BaseWindow, options: OpenDialogSyncOptions): (string[]) | (undefined);
|
|
7306
7306
|
/**
|
|
7307
7307
|
* the file paths chosen by the user; if the dialog is cancelled it returns
|
|
7308
7308
|
* `undefined`.
|
|
7309
7309
|
*
|
|
7310
|
-
* The `
|
|
7311
|
-
*
|
|
7310
|
+
* The `window` argument allows the dialog to attach itself to a parent window,
|
|
7311
|
+
* making it modal.
|
|
7312
7312
|
*
|
|
7313
7313
|
* The `filters` specifies an array of file types that can be displayed or selected
|
|
7314
7314
|
* when you want to limit the user to a specific type. For example:
|
|
@@ -7332,8 +7332,8 @@ declare namespace Electron {
|
|
|
7332
7332
|
* `securityScopedBookmarks` must be enabled for this to be present. (For return
|
|
7333
7333
|
* values, see table here.)
|
|
7334
7334
|
*
|
|
7335
|
-
* The `
|
|
7336
|
-
*
|
|
7335
|
+
* The `window` argument allows the dialog to attach itself to a parent window,
|
|
7336
|
+
* making it modal.
|
|
7337
7337
|
*
|
|
7338
7338
|
* The `filters` specifies an array of file types that can be displayed, see
|
|
7339
7339
|
* `dialog.showOpenDialog` for an example.
|
|
@@ -7341,7 +7341,7 @@ declare namespace Electron {
|
|
|
7341
7341
|
* **Note:** On macOS, using the asynchronous version is recommended to avoid
|
|
7342
7342
|
* issues when expanding and collapsing the dialog.
|
|
7343
7343
|
*/
|
|
7344
|
-
showSaveDialog(
|
|
7344
|
+
showSaveDialog(window: BaseWindow, options: SaveDialogOptions): Promise<Electron.SaveDialogReturnValue>;
|
|
7345
7345
|
/**
|
|
7346
7346
|
* Resolve with an object containing the following:
|
|
7347
7347
|
*
|
|
@@ -7352,8 +7352,8 @@ declare namespace Electron {
|
|
|
7352
7352
|
* `securityScopedBookmarks` must be enabled for this to be present. (For return
|
|
7353
7353
|
* values, see table here.)
|
|
7354
7354
|
*
|
|
7355
|
-
* The `
|
|
7356
|
-
*
|
|
7355
|
+
* The `window` argument allows the dialog to attach itself to a parent window,
|
|
7356
|
+
* making it modal.
|
|
7357
7357
|
*
|
|
7358
7358
|
* The `filters` specifies an array of file types that can be displayed, see
|
|
7359
7359
|
* `dialog.showOpenDialog` for an example.
|
|
@@ -7366,19 +7366,19 @@ declare namespace Electron {
|
|
|
7366
7366
|
* the path of the file chosen by the user; if the dialog is cancelled it returns
|
|
7367
7367
|
* an empty string.
|
|
7368
7368
|
*
|
|
7369
|
-
* The `
|
|
7370
|
-
*
|
|
7369
|
+
* The `window` argument allows the dialog to attach itself to a parent window,
|
|
7370
|
+
* making it modal.
|
|
7371
7371
|
*
|
|
7372
7372
|
* The `filters` specifies an array of file types that can be displayed, see
|
|
7373
7373
|
* `dialog.showOpenDialog` for an example.
|
|
7374
7374
|
*/
|
|
7375
|
-
showSaveDialogSync(
|
|
7375
|
+
showSaveDialogSync(window: BaseWindow, options: SaveDialogSyncOptions): string;
|
|
7376
7376
|
/**
|
|
7377
7377
|
* the path of the file chosen by the user; if the dialog is cancelled it returns
|
|
7378
7378
|
* an empty string.
|
|
7379
7379
|
*
|
|
7380
|
-
* The `
|
|
7381
|
-
*
|
|
7380
|
+
* The `window` argument allows the dialog to attach itself to a parent window,
|
|
7381
|
+
* making it modal.
|
|
7382
7382
|
*
|
|
7383
7383
|
* The `filters` specifies an array of file types that can be displayed, see
|
|
7384
7384
|
* `dialog.showOpenDialog` for an example.
|
|
@@ -15149,23 +15149,23 @@ declare namespace Electron {
|
|
|
15149
15149
|
* The usage is the same with the `login` event of `app`.
|
|
15150
15150
|
*/
|
|
15151
15151
|
on(event: 'login', listener: (event: Event,
|
|
15152
|
-
authenticationResponseDetails:
|
|
15152
|
+
authenticationResponseDetails: LoginAuthenticationResponseDetails,
|
|
15153
15153
|
authInfo: AuthInfo,
|
|
15154
15154
|
callback: (username?: string, password?: string) => void) => void): this;
|
|
15155
15155
|
off(event: 'login', listener: (event: Event,
|
|
15156
|
-
authenticationResponseDetails:
|
|
15156
|
+
authenticationResponseDetails: LoginAuthenticationResponseDetails,
|
|
15157
15157
|
authInfo: AuthInfo,
|
|
15158
15158
|
callback: (username?: string, password?: string) => void) => void): this;
|
|
15159
15159
|
once(event: 'login', listener: (event: Event,
|
|
15160
|
-
authenticationResponseDetails:
|
|
15160
|
+
authenticationResponseDetails: LoginAuthenticationResponseDetails,
|
|
15161
15161
|
authInfo: AuthInfo,
|
|
15162
15162
|
callback: (username?: string, password?: string) => void) => void): this;
|
|
15163
15163
|
addListener(event: 'login', listener: (event: Event,
|
|
15164
|
-
authenticationResponseDetails:
|
|
15164
|
+
authenticationResponseDetails: LoginAuthenticationResponseDetails,
|
|
15165
15165
|
authInfo: AuthInfo,
|
|
15166
15166
|
callback: (username?: string, password?: string) => void) => void): this;
|
|
15167
15167
|
removeListener(event: 'login', listener: (event: Event,
|
|
15168
|
-
authenticationResponseDetails:
|
|
15168
|
+
authenticationResponseDetails: LoginAuthenticationResponseDetails,
|
|
15169
15169
|
authInfo: AuthInfo,
|
|
15170
15170
|
callback: (username?: string, password?: string) => void) => void): this;
|
|
15171
15171
|
/**
|
|
@@ -18202,6 +18202,7 @@ declare namespace Electron {
|
|
|
18202
18202
|
|
|
18203
18203
|
interface AuthenticationResponseDetails {
|
|
18204
18204
|
url: string;
|
|
18205
|
+
pid: number;
|
|
18205
18206
|
}
|
|
18206
18207
|
|
|
18207
18208
|
interface AuthInfo {
|
|
@@ -19219,6 +19220,12 @@ declare namespace Electron {
|
|
|
19219
19220
|
* @platform darwin
|
|
19220
19221
|
*/
|
|
19221
19222
|
allowLoadingUnsignedLibraries?: boolean;
|
|
19223
|
+
/**
|
|
19224
|
+
* With this flag, all HTTP 401 and 407 network requests created via the net module
|
|
19225
|
+
* will allow responding to them via the `app#login` event in the main process
|
|
19226
|
+
* instead of the default `login` event on the `ClientRequest` object.
|
|
19227
|
+
*/
|
|
19228
|
+
respondToAuthRequestsFromMainProcess?: boolean;
|
|
19222
19229
|
}
|
|
19223
19230
|
|
|
19224
19231
|
interface FoundInPageEvent extends DOMEvent {
|
|
@@ -19502,6 +19509,10 @@ declare namespace Electron {
|
|
|
19502
19509
|
baseURLForDataURL?: string;
|
|
19503
19510
|
}
|
|
19504
19511
|
|
|
19512
|
+
interface LoginAuthenticationResponseDetails {
|
|
19513
|
+
url: string;
|
|
19514
|
+
}
|
|
19515
|
+
|
|
19505
19516
|
interface LoginItemSettings {
|
|
19506
19517
|
/**
|
|
19507
19518
|
* `true` if the app is set to open at login.
|
|
@@ -21957,6 +21968,7 @@ declare namespace Electron {
|
|
|
21957
21968
|
type LoadExtensionOptions = Electron.LoadExtensionOptions;
|
|
21958
21969
|
type LoadFileOptions = Electron.LoadFileOptions;
|
|
21959
21970
|
type LoadURLOptions = Electron.LoadURLOptions;
|
|
21971
|
+
type LoginAuthenticationResponseDetails = Electron.LoginAuthenticationResponseDetails;
|
|
21960
21972
|
type LoginItemSettings = Electron.LoginItemSettings;
|
|
21961
21973
|
type LoginItemSettingsOptions = Electron.LoginItemSettingsOptions;
|
|
21962
21974
|
type MenuItemConstructorOptions = Electron.MenuItemConstructorOptions;
|
|
@@ -22299,6 +22311,7 @@ declare namespace Electron {
|
|
|
22299
22311
|
type LoadExtensionOptions = Electron.LoadExtensionOptions;
|
|
22300
22312
|
type LoadFileOptions = Electron.LoadFileOptions;
|
|
22301
22313
|
type LoadURLOptions = Electron.LoadURLOptions;
|
|
22314
|
+
type LoginAuthenticationResponseDetails = Electron.LoginAuthenticationResponseDetails;
|
|
22302
22315
|
type LoginItemSettings = Electron.LoginItemSettings;
|
|
22303
22316
|
type LoginItemSettingsOptions = Electron.LoginItemSettingsOptions;
|
|
22304
22317
|
type MenuItemConstructorOptions = Electron.MenuItemConstructorOptions;
|
|
@@ -22573,6 +22586,7 @@ declare namespace Electron {
|
|
|
22573
22586
|
type LoadExtensionOptions = Electron.LoadExtensionOptions;
|
|
22574
22587
|
type LoadFileOptions = Electron.LoadFileOptions;
|
|
22575
22588
|
type LoadURLOptions = Electron.LoadURLOptions;
|
|
22589
|
+
type LoginAuthenticationResponseDetails = Electron.LoginAuthenticationResponseDetails;
|
|
22576
22590
|
type LoginItemSettings = Electron.LoginItemSettings;
|
|
22577
22591
|
type LoginItemSettingsOptions = Electron.LoginItemSettingsOptions;
|
|
22578
22592
|
type MenuItemConstructorOptions = Electron.MenuItemConstructorOptions;
|
|
@@ -22844,6 +22858,7 @@ declare namespace Electron {
|
|
|
22844
22858
|
type LoadExtensionOptions = Electron.LoadExtensionOptions;
|
|
22845
22859
|
type LoadFileOptions = Electron.LoadFileOptions;
|
|
22846
22860
|
type LoadURLOptions = Electron.LoadURLOptions;
|
|
22861
|
+
type LoginAuthenticationResponseDetails = Electron.LoginAuthenticationResponseDetails;
|
|
22847
22862
|
type LoginItemSettings = Electron.LoginItemSettings;
|
|
22848
22863
|
type LoginItemSettingsOptions = Electron.LoginItemSettingsOptions;
|
|
22849
22864
|
type MenuItemConstructorOptions = Electron.MenuItemConstructorOptions;
|
|
@@ -23203,6 +23218,7 @@ declare namespace Electron {
|
|
|
23203
23218
|
type LoadExtensionOptions = Electron.LoadExtensionOptions;
|
|
23204
23219
|
type LoadFileOptions = Electron.LoadFileOptions;
|
|
23205
23220
|
type LoadURLOptions = Electron.LoadURLOptions;
|
|
23221
|
+
type LoginAuthenticationResponseDetails = Electron.LoginAuthenticationResponseDetails;
|
|
23206
23222
|
type LoginItemSettings = Electron.LoginItemSettings;
|
|
23207
23223
|
type LoginItemSettingsOptions = Electron.LoginItemSettingsOptions;
|
|
23208
23224
|
type MenuItemConstructorOptions = Electron.MenuItemConstructorOptions;
|
package/package.json
CHANGED