electron 18.0.0-beta.3 → 18.0.0-beta.6
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 +82 -82
- package/electron.d.ts +101 -24
- package/package.json +1 -1
package/checksums.json
CHANGED
|
@@ -1,84 +1,84 @@
|
|
|
1
1
|
{
|
|
2
|
-
"chromedriver-v18.0.0-beta.
|
|
3
|
-
"chromedriver-v18.0.0-beta.
|
|
4
|
-
"chromedriver-v18.0.0-beta.
|
|
5
|
-
"chromedriver-v18.0.0-beta.
|
|
6
|
-
"chromedriver-v18.0.0-beta.
|
|
7
|
-
"chromedriver-v18.0.0-beta.
|
|
8
|
-
"chromedriver-v18.0.0-beta.
|
|
9
|
-
"chromedriver-v18.0.0-beta.
|
|
10
|
-
"chromedriver-v18.0.0-beta.
|
|
11
|
-
"chromedriver-v18.0.0-beta.
|
|
12
|
-
"chromedriver-v18.0.0-beta.
|
|
13
|
-
"electron-api.json": "
|
|
14
|
-
"electron-v18.0.0-beta.
|
|
15
|
-
"electron-v18.0.0-beta.
|
|
16
|
-
"electron-v18.0.0-beta.
|
|
17
|
-
"electron-v18.0.0-beta.
|
|
18
|
-
"electron-v18.0.0-beta.
|
|
19
|
-
"electron-v18.0.0-beta.
|
|
20
|
-
"electron-v18.0.0-beta.
|
|
21
|
-
"electron-v18.0.0-beta.
|
|
22
|
-
"electron-v18.0.0-beta.
|
|
23
|
-
"electron-v18.0.0-beta.
|
|
24
|
-
"electron-v18.0.0-beta.
|
|
25
|
-
"electron-v18.0.0-beta.
|
|
26
|
-
"electron-v18.0.0-beta.
|
|
27
|
-
"electron-v18.0.0-beta.
|
|
28
|
-
"electron-v18.0.0-beta.
|
|
29
|
-
"electron-v18.0.0-beta.
|
|
30
|
-
"electron-v18.0.0-beta.
|
|
31
|
-
"electron-v18.0.0-beta.
|
|
32
|
-
"electron-v18.0.0-beta.
|
|
33
|
-
"electron-v18.0.0-beta.
|
|
34
|
-
"electron-v18.0.0-beta.
|
|
35
|
-
"electron-v18.0.0-beta.
|
|
36
|
-
"electron-v18.0.0-beta.
|
|
37
|
-
"electron-v18.0.0-beta.
|
|
38
|
-
"electron-v18.0.0-beta.
|
|
39
|
-
"electron-v18.0.0-beta.
|
|
40
|
-
"electron-v18.0.0-beta.
|
|
41
|
-
"electron-v18.0.0-beta.
|
|
42
|
-
"electron-v18.0.0-beta.
|
|
43
|
-
"electron-v18.0.0-beta.
|
|
44
|
-
"electron-v18.0.0-beta.
|
|
45
|
-
"electron-v18.0.0-beta.
|
|
46
|
-
"electron-v18.0.0-beta.
|
|
47
|
-
"electron-v18.0.0-beta.
|
|
48
|
-
"electron-v18.0.0-beta.
|
|
49
|
-
"electron-v18.0.0-beta.
|
|
50
|
-
"electron-v18.0.0-beta.
|
|
51
|
-
"electron-v18.0.0-beta.
|
|
52
|
-
"electron-v18.0.0-beta.
|
|
53
|
-
"electron-v18.0.0-beta.
|
|
54
|
-
"electron.d.ts": "
|
|
55
|
-
"ffmpeg-v18.0.0-beta.
|
|
56
|
-
"ffmpeg-v18.0.0-beta.
|
|
57
|
-
"ffmpeg-v18.0.0-beta.
|
|
58
|
-
"ffmpeg-v18.0.0-beta.
|
|
59
|
-
"ffmpeg-v18.0.0-beta.
|
|
60
|
-
"ffmpeg-v18.0.0-beta.
|
|
61
|
-
"ffmpeg-v18.0.0-beta.
|
|
62
|
-
"ffmpeg-v18.0.0-beta.
|
|
63
|
-
"ffmpeg-v18.0.0-beta.
|
|
64
|
-
"ffmpeg-v18.0.0-beta.
|
|
65
|
-
"ffmpeg-v18.0.0-beta.
|
|
66
|
-
"hunspell_dictionaries.zip": "
|
|
67
|
-
"libcxx-objects-v18.0.0-beta.
|
|
68
|
-
"libcxx-objects-v18.0.0-beta.
|
|
69
|
-
"libcxx-objects-v18.0.0-beta.
|
|
70
|
-
"libcxx-objects-v18.0.0-beta.
|
|
71
|
-
"libcxx_headers.zip": "
|
|
72
|
-
"libcxxabi_headers.zip": "
|
|
73
|
-
"mksnapshot-v18.0.0-beta.
|
|
74
|
-
"mksnapshot-v18.0.0-beta.
|
|
75
|
-
"mksnapshot-v18.0.0-beta.
|
|
76
|
-
"mksnapshot-v18.0.0-beta.
|
|
77
|
-
"mksnapshot-v18.0.0-beta.
|
|
78
|
-
"mksnapshot-v18.0.0-beta.
|
|
79
|
-
"mksnapshot-v18.0.0-beta.
|
|
80
|
-
"mksnapshot-v18.0.0-beta.
|
|
81
|
-
"mksnapshot-v18.0.0-beta.
|
|
82
|
-
"mksnapshot-v18.0.0-beta.
|
|
83
|
-
"mksnapshot-v18.0.0-beta.
|
|
2
|
+
"chromedriver-v18.0.0-beta.6-darwin-arm64.zip": "877fb7e859da3f761b721f71865ddb242da4349feb7c55ac55b0954f57f257a7",
|
|
3
|
+
"chromedriver-v18.0.0-beta.6-darwin-x64.zip": "4909df3b0f20dccd9ede7b0bf68a22270566c9367c0dad5aa10a243db58cb367",
|
|
4
|
+
"chromedriver-v18.0.0-beta.6-linux-arm64.zip": "4f256a5032455d5ddb696638fc85ec73dc315552abda62cf556cd52e05238005",
|
|
5
|
+
"chromedriver-v18.0.0-beta.6-linux-armv7l.zip": "dd3ca7d8f8225540ede3c0af172e454c8fb3f400da3791c655abf3e708668b84",
|
|
6
|
+
"chromedriver-v18.0.0-beta.6-linux-ia32.zip": "dbfa36a01f6877c6abe30a83979c6ea02098f6e7b205028a12eb779805fd2504",
|
|
7
|
+
"chromedriver-v18.0.0-beta.6-linux-x64.zip": "c420ecea391162dc7063a495036fba7faa1c3555a71fabf71c49fa552f68a6b4",
|
|
8
|
+
"chromedriver-v18.0.0-beta.6-mas-arm64.zip": "77721303ff38ad6441c61286520000c12cb6f87c91dc0f5be27d778e9baa19f6",
|
|
9
|
+
"chromedriver-v18.0.0-beta.6-mas-x64.zip": "1dd3528bca35bfe8fcbce3d113e85b61d834d3ef56af434a502e809dd0fef6ad",
|
|
10
|
+
"chromedriver-v18.0.0-beta.6-win32-arm64.zip": "5439d3b8edf64696f7c64710da01a220aec3bb47527fe262743c3ef28e9bf158",
|
|
11
|
+
"chromedriver-v18.0.0-beta.6-win32-ia32.zip": "e7ccc39afa073666fac68f74a9f8072cdb345f3e43f48751dec8d022069311a2",
|
|
12
|
+
"chromedriver-v18.0.0-beta.6-win32-x64.zip": "215f4f2a51d69796250812234caaedda2bdfd3e853bf2b54955204bfd8b95173",
|
|
13
|
+
"electron-api.json": "2cb286fe5991301fa11a950cf6d26fb0c927493da1d39ed27d44173ed1b36da3",
|
|
14
|
+
"electron-v18.0.0-beta.6-darwin-arm64-dsym-snapshot.zip": "c397360047370fedfc2c32cc11d0555606fe342db07d6943ac25c10b34c90d48",
|
|
15
|
+
"electron-v18.0.0-beta.6-darwin-arm64-dsym.zip": "27f8cb99127e234e8d65d804f1461c6f1afd0d83b2c56ca31ecd754b900af090",
|
|
16
|
+
"electron-v18.0.0-beta.6-darwin-arm64-symbols.zip": "caef7726116735ad8b2419e5f60b70e46bddd01adcc41c5c413d7033dd0fc7d3",
|
|
17
|
+
"electron-v18.0.0-beta.6-darwin-arm64.zip": "394af5c119426837e3b0bc54f2cda1d8317791eab338d52db129d3162f852f1b",
|
|
18
|
+
"electron-v18.0.0-beta.6-darwin-x64-dsym-snapshot.zip": "ee36bc82ba3ec8f4e61b38cf8857d69627c201ceb23e57532f03833cf7b232ea",
|
|
19
|
+
"electron-v18.0.0-beta.6-darwin-x64-dsym.zip": "1b409a50c5088abb957ca86635eb7c636f88d3112e53db6188b895ea3a2977d0",
|
|
20
|
+
"electron-v18.0.0-beta.6-darwin-x64-symbols.zip": "551f81b73936373275326b081b3536fd99c6a2ed71c3b62ccbe77f581fe1bb2b",
|
|
21
|
+
"electron-v18.0.0-beta.6-darwin-x64.zip": "e0daccdb733177ec5300aa56df322488cb64a53b3545672db06c0ecbefb59607",
|
|
22
|
+
"electron-v18.0.0-beta.6-linux-arm64-debug.zip": "3a2617f1cc15a8acacc200cc0c0d67b12c849ccc7818d06c946367444dca5ec4",
|
|
23
|
+
"electron-v18.0.0-beta.6-linux-arm64-symbols.zip": "7df89bdf924dda57882bb553001a286bc2f93df0d4cf88e6c1e4f7723e61d706",
|
|
24
|
+
"electron-v18.0.0-beta.6-linux-arm64.zip": "f46c5676168dedc881b5c7d693098a0b19831114b718184c255492c7af807caf",
|
|
25
|
+
"electron-v18.0.0-beta.6-linux-armv7l-debug.zip": "3a2617f1cc15a8acacc200cc0c0d67b12c849ccc7818d06c946367444dca5ec4",
|
|
26
|
+
"electron-v18.0.0-beta.6-linux-armv7l-symbols.zip": "f18cc9628869da31240f5d74382f058e1dccd6e6f310fdb10007baf791ec4e53",
|
|
27
|
+
"electron-v18.0.0-beta.6-linux-armv7l.zip": "0aadcc90ff7981722fef4ac76f1b20488a3a037f33a507f777513f92cf510bfe",
|
|
28
|
+
"electron-v18.0.0-beta.6-linux-ia32-debug.zip": "3a2617f1cc15a8acacc200cc0c0d67b12c849ccc7818d06c946367444dca5ec4",
|
|
29
|
+
"electron-v18.0.0-beta.6-linux-ia32-symbols.zip": "30ee89c34be2390278e2ed87198a1870a4bf7692a83b3b6c61ad192fd748f7e4",
|
|
30
|
+
"electron-v18.0.0-beta.6-linux-ia32.zip": "5f27406c9634c75c5e27202e11f500c31fa4b63f27467f8da470615b06f1338e",
|
|
31
|
+
"electron-v18.0.0-beta.6-linux-x64-debug.zip": "93f2a8ff3d9b541ca955ae7b84d5c1fdf6bf64111e358e15f13fa93eded1199f",
|
|
32
|
+
"electron-v18.0.0-beta.6-linux-x64-symbols.zip": "6b02497b161c027b3246d5d5d90b159b150a942b11130118fbd087b10e17de0f",
|
|
33
|
+
"electron-v18.0.0-beta.6-linux-x64.zip": "82055f2c91c6f191e29c9f90b96267942e8bf253b129bc009b35593abdd5416a",
|
|
34
|
+
"electron-v18.0.0-beta.6-mas-arm64-dsym-snapshot.zip": "c397360047370fedfc2c32cc11d0555606fe342db07d6943ac25c10b34c90d48",
|
|
35
|
+
"electron-v18.0.0-beta.6-mas-arm64-dsym.zip": "0aac46be30499ab64cac86f1783913a816a74c0104804613bf38bb96910fbfa8",
|
|
36
|
+
"electron-v18.0.0-beta.6-mas-arm64-symbols.zip": "a9effe5be875b565b02457e801c2af8a9dd6a43015508a01e54937232e6e618d",
|
|
37
|
+
"electron-v18.0.0-beta.6-mas-arm64.zip": "81c5e36e3e71874e5289e0df58c69e6901de595380e3079a0d7b9f84880c198c",
|
|
38
|
+
"electron-v18.0.0-beta.6-mas-x64-dsym-snapshot.zip": "8b54c593d4f8aa642aaaa9cf48a1ca6eb9b62457b00fc1f090a8167b818ca448",
|
|
39
|
+
"electron-v18.0.0-beta.6-mas-x64-dsym.zip": "cae66657d2e2d7d740c7b226fd532d3e7c268e3eb10eeafbd98b8f5387097ccf",
|
|
40
|
+
"electron-v18.0.0-beta.6-mas-x64-symbols.zip": "f95b14e96d8940cfcf716048abea77be8a90cd0b00f478a032ac6b79f9e331f9",
|
|
41
|
+
"electron-v18.0.0-beta.6-mas-x64.zip": "572d132d68990d05bf20ace66a011f6c85d2d2c3d877208b405e5205823eeb94",
|
|
42
|
+
"electron-v18.0.0-beta.6-win32-arm64-pdb.zip": "898d84eb846a2490a64802bd55910fe5bff15778a598eec5161c3ba9150142a1",
|
|
43
|
+
"electron-v18.0.0-beta.6-win32-arm64-symbols.zip": "b6482bdc3dc50cbc8175747439a7dea9870e2904d5db7a768b707c914f5f0ad9",
|
|
44
|
+
"electron-v18.0.0-beta.6-win32-arm64-toolchain-profile.zip": "834c0069d539f7463da9a346aabc18033904aaba4672fd0e7cdcfae3bb679ed4",
|
|
45
|
+
"electron-v18.0.0-beta.6-win32-arm64.zip": "0f6205199681abfbf67ac9a12744212e2950ad9771c4ede813625599a2027b61",
|
|
46
|
+
"electron-v18.0.0-beta.6-win32-ia32-pdb.zip": "4faa8001ee2f0ae564973e1bbf9053e4db9514fe36e0fd4d8bbf8f33c521537d",
|
|
47
|
+
"electron-v18.0.0-beta.6-win32-ia32-symbols.zip": "16e1289aa06f62e6734e7b0e16fbcb45b0f9f88ac28d644ca50959443b3f0194",
|
|
48
|
+
"electron-v18.0.0-beta.6-win32-ia32-toolchain-profile.zip": "834c0069d539f7463da9a346aabc18033904aaba4672fd0e7cdcfae3bb679ed4",
|
|
49
|
+
"electron-v18.0.0-beta.6-win32-ia32.zip": "096959971c0b37bb191b11b14426940f780001204ba4df22c3b54e0d811ce501",
|
|
50
|
+
"electron-v18.0.0-beta.6-win32-x64-pdb.zip": "ff07aebc9d1b8eea3ad086de31ac8af2a521a9f5a926c90535d4b20c6688f593",
|
|
51
|
+
"electron-v18.0.0-beta.6-win32-x64-symbols.zip": "5d143d7301354a951e0648336d2fe82cdae26090a04398f60b0568648a809fbb",
|
|
52
|
+
"electron-v18.0.0-beta.6-win32-x64-toolchain-profile.zip": "834c0069d539f7463da9a346aabc18033904aaba4672fd0e7cdcfae3bb679ed4",
|
|
53
|
+
"electron-v18.0.0-beta.6-win32-x64.zip": "6afac9aec6c597d1d81ccaf60413fca7ab47642e0103f5f71880a20e59052618",
|
|
54
|
+
"electron.d.ts": "94cfece8932f4b9f40f96fce80010090a2f69667593fe09e71ea3da9dfa03a7f",
|
|
55
|
+
"ffmpeg-v18.0.0-beta.6-darwin-arm64.zip": "82848526a5baab970c49883d7d860091c02ea5d93972f6d06efe47414b31f423",
|
|
56
|
+
"ffmpeg-v18.0.0-beta.6-darwin-x64.zip": "09207124093aeda461d573719bddb945147441bd989951df62122b37ee3a6d4f",
|
|
57
|
+
"ffmpeg-v18.0.0-beta.6-linux-arm64.zip": "8c7a75e0a3898ab2e260b7567e28524c6e969ceedcfdddd84c91b33124e0dd2e",
|
|
58
|
+
"ffmpeg-v18.0.0-beta.6-linux-armv7l.zip": "7014439d891b520d38870a2af70b7ebc31c202ac65e3677c6dc0b172cdcaeca9",
|
|
59
|
+
"ffmpeg-v18.0.0-beta.6-linux-ia32.zip": "12b4a675ac191782a5ef33eab8c309ad0739a75938fab4c41c1b2353b617fd20",
|
|
60
|
+
"ffmpeg-v18.0.0-beta.6-linux-x64.zip": "c07dbb35892861b652bbb64bb8e5fe71883004455fb12a63e8b9bcc3297c8eb7",
|
|
61
|
+
"ffmpeg-v18.0.0-beta.6-mas-arm64.zip": "9c18cf8b6df0d40e17a8594192517ddbeafd370e6738b40cbb9f73d1bdf6fd1b",
|
|
62
|
+
"ffmpeg-v18.0.0-beta.6-mas-x64.zip": "8cd146e439ea925603e0a94617be32cf119bf912ac2dc609247e0601c3e4ca00",
|
|
63
|
+
"ffmpeg-v18.0.0-beta.6-win32-arm64.zip": "583d89433e6f6d5eb13f39567e540ca077823b116b23f4fac51921722fa291c0",
|
|
64
|
+
"ffmpeg-v18.0.0-beta.6-win32-ia32.zip": "f1a6e9ae2d789805a5274c94ed1ed11d8a80a90e967bf9537497088f6d488207",
|
|
65
|
+
"ffmpeg-v18.0.0-beta.6-win32-x64.zip": "25cc052d06eab2ee1d1f6a6529fe57f09ac85859ba89ec723809af722041c1a8",
|
|
66
|
+
"hunspell_dictionaries.zip": "47970c94b8b312d867a88dfcae16797bc5e1d18b0f7c682549c4e83b2102c438",
|
|
67
|
+
"libcxx-objects-v18.0.0-beta.6-linux-arm64.zip": "24f97b5d6dc364f9d08b015456cbecb8eccbe82d9db7bcd239445b6430911ce6",
|
|
68
|
+
"libcxx-objects-v18.0.0-beta.6-linux-armv7l.zip": "15d9c59a2044d2d017176dcb6604da9a4e6e5cca338ba4356b08995f8a97e6b0",
|
|
69
|
+
"libcxx-objects-v18.0.0-beta.6-linux-ia32.zip": "9cdfdee9a5ab9e82d59103ddbc458ab8f05ced53579296e331b5257de9037b9a",
|
|
70
|
+
"libcxx-objects-v18.0.0-beta.6-linux-x64.zip": "35e402b70d6e33699afa4677602494588328eb6056a5849b2ca2fc75e33e657d",
|
|
71
|
+
"libcxx_headers.zip": "9cce3b2b5d9eaa5ceeea557933cf45e82c515c645361fc2366b46e504d316475",
|
|
72
|
+
"libcxxabi_headers.zip": "cd68d40cac2b750e0c245b6f51936fe26ebec51635352a9388f1b69bf747f6c9",
|
|
73
|
+
"mksnapshot-v18.0.0-beta.6-darwin-arm64.zip": "b53f0f8855fbc015217d868a4cf6233a06775642873efe1aa6fa62cd182eed37",
|
|
74
|
+
"mksnapshot-v18.0.0-beta.6-darwin-x64.zip": "f773aa86a3b01f1ed45254cb4dba3d7c1f900d7211f29daa55a8dc1435bb6c89",
|
|
75
|
+
"mksnapshot-v18.0.0-beta.6-linux-arm64-x64.zip": "4079f23c1ccbac4b71acc4ac6af64350601638b0ed200f1b643697fe8f8ddc5a",
|
|
76
|
+
"mksnapshot-v18.0.0-beta.6-linux-armv7l-x64.zip": "31f5b9c6219f55f63076eec2a573ffba08ae581529e73b5c4ed1ddfae82dc04d",
|
|
77
|
+
"mksnapshot-v18.0.0-beta.6-linux-ia32.zip": "272ed44c19d6d7a62fbb9b2c82fcd70d3c109181b581975ccf036591c21ece51",
|
|
78
|
+
"mksnapshot-v18.0.0-beta.6-linux-x64.zip": "317157d13caa64f34be10cb46b5bc63c25f82aeb1744c2facbb746d032858577",
|
|
79
|
+
"mksnapshot-v18.0.0-beta.6-mas-arm64.zip": "f2e6f2e061b01cd0b9f29dee93df4cab655b8c3a6fa51584b34a7cc70d6792d5",
|
|
80
|
+
"mksnapshot-v18.0.0-beta.6-mas-x64.zip": "b5137e2684bcc59f32acfcfd54440cc8f568051aa94f3efa54e6fb2e6936ff39",
|
|
81
|
+
"mksnapshot-v18.0.0-beta.6-win32-arm64-x64.zip": "63fbc866a9e0904a7d6331ce35a2ceecc451c4382304682f9a6fc20e9d3c8c83",
|
|
82
|
+
"mksnapshot-v18.0.0-beta.6-win32-ia32.zip": "ba5fa88701a0c69ebe1597709a824bc140c0c841cbe72cbd974d7d496c30b0e6",
|
|
83
|
+
"mksnapshot-v18.0.0-beta.6-win32-x64.zip": "ece247517cf886c495544e0a4dc27608bb37ffbd86bdfcbfea2646a13efc57c0"
|
|
84
84
|
}
|
package/electron.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
// Type definitions for Electron 18.0.0-beta.
|
|
1
|
+
// Type definitions for Electron 18.0.0-beta.6
|
|
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/electron-typescript-definitions
|
|
@@ -1673,6 +1673,36 @@ declare namespace Electron {
|
|
|
1673
1673
|
*/
|
|
1674
1674
|
getBounds(): Rectangle;
|
|
1675
1675
|
setAutoResize(options: AutoResizeOptions): void;
|
|
1676
|
+
/**
|
|
1677
|
+
* Examples of valid `color` values:
|
|
1678
|
+
*
|
|
1679
|
+
* * Hex
|
|
1680
|
+
* * #fff (RGB)
|
|
1681
|
+
* * #ffff (ARGB)
|
|
1682
|
+
* * #ffffff (RRGGBB)
|
|
1683
|
+
* * #ffffffff (AARRGGBB)
|
|
1684
|
+
* * RGB
|
|
1685
|
+
* * rgb(([\d]+),\s*([\d]+),\s*([\d]+))
|
|
1686
|
+
* * e.g. rgb(255, 255, 255)
|
|
1687
|
+
* * RGBA
|
|
1688
|
+
* * rgba(([\d]+),\s*([\d]+),\s*([\d]+),\s*([\d.]+))
|
|
1689
|
+
* * e.g. rgba(255, 255, 255, 1.0)
|
|
1690
|
+
* * HSL
|
|
1691
|
+
* * hsl((-?[\d.]+),\s*([\d.]+)%,\s*([\d.]+)%)
|
|
1692
|
+
* * e.g. hsl(200, 20%, 50%)
|
|
1693
|
+
* * HSLA
|
|
1694
|
+
* * hsla((-?[\d.]+),\s*([\d.]+)%,\s*([\d.]+)%,\s*([\d.]+))
|
|
1695
|
+
* * e.g. hsla(200, 20%, 50%, 0.5)
|
|
1696
|
+
* * Color name
|
|
1697
|
+
* * Options are listed in SkParseColor.cpp
|
|
1698
|
+
* * Similar to CSS Color Module Level 3 keywords, but case-sensitive.
|
|
1699
|
+
* * e.g. `blueviolet` or `red`
|
|
1700
|
+
*
|
|
1701
|
+
* **Note:** Hex format with alpha takes `AARRGGBB` or `ARGB`, _not_ `RRGGBBA` or
|
|
1702
|
+
* `RGA`.
|
|
1703
|
+
*
|
|
1704
|
+
* @experimental
|
|
1705
|
+
*/
|
|
1676
1706
|
setBackgroundColor(color: string): void;
|
|
1677
1707
|
/**
|
|
1678
1708
|
* Resizes and moves the view to the supplied bounds relative to the window.
|
|
@@ -2205,7 +2235,12 @@ declare namespace Electron {
|
|
|
2205
2235
|
focus(): void;
|
|
2206
2236
|
focusOnWebView(): void;
|
|
2207
2237
|
/**
|
|
2208
|
-
* Gets the background color of the window
|
|
2238
|
+
* Gets the background color of the window in Hex (`#RRGGBB`) format.
|
|
2239
|
+
*
|
|
2240
|
+
* See Setting `backgroundColor`.
|
|
2241
|
+
*
|
|
2242
|
+
* **Note:** The alpha value is _not_ returned alongside the red, green, and blue
|
|
2243
|
+
* values.
|
|
2209
2244
|
*/
|
|
2210
2245
|
getBackgroundColor(): string;
|
|
2211
2246
|
/**
|
|
@@ -2606,6 +2641,30 @@ declare namespace Electron {
|
|
|
2606
2641
|
*/
|
|
2607
2642
|
setAutoHideMenuBar(hide: boolean): void;
|
|
2608
2643
|
/**
|
|
2644
|
+
* Examples of valid `backgroundColor` values:
|
|
2645
|
+
*
|
|
2646
|
+
* * Hex
|
|
2647
|
+
* * #fff (shorthand RGB)
|
|
2648
|
+
* * #ffff (shorthand ARGB)
|
|
2649
|
+
* * #ffffff (RGB)
|
|
2650
|
+
* * #ffffffff (ARGB)
|
|
2651
|
+
* * RGB
|
|
2652
|
+
* * rgb(([\d]+),\s*([\d]+),\s*([\d]+))
|
|
2653
|
+
* * e.g. rgb(255, 255, 255)
|
|
2654
|
+
* * RGBA
|
|
2655
|
+
* * rgba(([\d]+),\s*([\d]+),\s*([\d]+),\s*([\d.]+))
|
|
2656
|
+
* * e.g. rgba(255, 255, 255, 1.0)
|
|
2657
|
+
* * HSL
|
|
2658
|
+
* * hsl((-?[\d.]+),\s*([\d.]+)%,\s*([\d.]+)%)
|
|
2659
|
+
* * e.g. hsl(200, 20%, 50%)
|
|
2660
|
+
* * HSLA
|
|
2661
|
+
* * hsla((-?[\d.]+),\s*([\d.]+)%,\s*([\d.]+)%,\s*([\d.]+))
|
|
2662
|
+
* * e.g. hsla(200, 20%, 50%, 0.5)
|
|
2663
|
+
* * Color name
|
|
2664
|
+
* * Options are listed in SkParseColor.cpp
|
|
2665
|
+
* * Similar to CSS Color Module Level 3 keywords, but case-sensitive.
|
|
2666
|
+
* * e.g. `blueviolet` or `red`
|
|
2667
|
+
*
|
|
2609
2668
|
* Sets the background color of the window. See Setting `backgroundColor`.
|
|
2610
2669
|
*/
|
|
2611
2670
|
setBackgroundColor(backgroundColor: string): void;
|
|
@@ -5908,6 +5967,14 @@ declare namespace Electron {
|
|
|
5908
5967
|
once(event: 'updated', listener: Function): this;
|
|
5909
5968
|
addListener(event: 'updated', listener: Function): this;
|
|
5910
5969
|
removeListener(event: 'updated', listener: Function): this;
|
|
5970
|
+
/**
|
|
5971
|
+
* A `boolean` indicating whether Chromium is in forced colors mode, controlled by
|
|
5972
|
+
* system accessibility settings. Currently, Windows high contrast is the only
|
|
5973
|
+
* system setting that triggers forced colors mode.
|
|
5974
|
+
*
|
|
5975
|
+
* @platform win32
|
|
5976
|
+
*/
|
|
5977
|
+
readonly inForcedColorsMode: boolean;
|
|
5911
5978
|
/**
|
|
5912
5979
|
* A `boolean` for if the OS / Chromium currently has a dark mode enabled or is
|
|
5913
5980
|
* being instructed to show a dark-style UI. If you want to modify this value you
|
|
@@ -7602,6 +7669,10 @@ declare namespace Electron {
|
|
|
7602
7669
|
* Clears the session’s HTTP cache.
|
|
7603
7670
|
*/
|
|
7604
7671
|
clearCache(): Promise<void>;
|
|
7672
|
+
/**
|
|
7673
|
+
* resolves when the code cache clear operation is complete.
|
|
7674
|
+
*/
|
|
7675
|
+
clearCodeCaches(options: ClearCodeCachesOptions): Promise<void>;
|
|
7605
7676
|
/**
|
|
7606
7677
|
* Resolves when the operation is complete.
|
|
7607
7678
|
*
|
|
@@ -7773,6 +7844,16 @@ declare namespace Electron {
|
|
|
7773
7844
|
* > **NOTE:** The result of this procedure is cached by the network service.
|
|
7774
7845
|
*/
|
|
7775
7846
|
setCertificateVerifyProc(proc: ((request: Request, callback: (verificationResult: number) => void) => void) | (null)): void;
|
|
7847
|
+
/**
|
|
7848
|
+
* Sets the directory to store the generated JS code cache for this session. The
|
|
7849
|
+
* directory is not required to be created by the user before this call, the
|
|
7850
|
+
* runtime will create if it does not exist otherwise will use the existing
|
|
7851
|
+
* directory. If directory cannot be created, then code cache will not be used and
|
|
7852
|
+
* all operations related to code cache will fail silently inside the runtime. By
|
|
7853
|
+
* default, the directory will be `Code Cache` under the respective user data
|
|
7854
|
+
* folder.
|
|
7855
|
+
*/
|
|
7856
|
+
setCodeCachePath(path: string): void;
|
|
7776
7857
|
/**
|
|
7777
7858
|
* Sets the handler which can be used to respond to device permission checks for
|
|
7778
7859
|
* the `session`. Returning `true` will allow the device to be permitted and
|
|
@@ -11597,7 +11678,7 @@ declare namespace Electron {
|
|
|
11597
11678
|
* Injects CSS into the current web page and returns a unique key for the inserted
|
|
11598
11679
|
* stylesheet.
|
|
11599
11680
|
*/
|
|
11600
|
-
insertCSS(css: string): string;
|
|
11681
|
+
insertCSS(css: string, options?: InsertCSSOptions): string;
|
|
11601
11682
|
/**
|
|
11602
11683
|
* Inserts `text` to the focused element.
|
|
11603
11684
|
*/
|
|
@@ -11618,19 +11699,6 @@ declare namespace Electron {
|
|
|
11618
11699
|
* specified.
|
|
11619
11700
|
*/
|
|
11620
11701
|
setIsolatedWorldInfo(worldId: number, info: Info): void;
|
|
11621
|
-
/**
|
|
11622
|
-
* Sets a provider for spell checking in input fields and text areas.
|
|
11623
|
-
*
|
|
11624
|
-
* If you want to use this method you must disable the builtin spellchecker when
|
|
11625
|
-
* you construct the window.
|
|
11626
|
-
*
|
|
11627
|
-
* The `provider` must be an object that has a `spellCheck` method that accepts an
|
|
11628
|
-
* array of individual words for spellchecking. The `spellCheck` function runs
|
|
11629
|
-
* asynchronously and calls the `callback` function with an array of misspelt words
|
|
11630
|
-
* when complete.
|
|
11631
|
-
*
|
|
11632
|
-
* An example of using node-spellchecker as provider:
|
|
11633
|
-
*/
|
|
11634
11702
|
setSpellCheckProvider(language: string, provider: Provider): void;
|
|
11635
11703
|
/**
|
|
11636
11704
|
* Sets the maximum and minimum pinch-to-zoom level.
|
|
@@ -12752,10 +12820,6 @@ declare namespace Electron {
|
|
|
12752
12820
|
* Size of all allocated objects in Kilobytes.
|
|
12753
12821
|
*/
|
|
12754
12822
|
allocated: number;
|
|
12755
|
-
/**
|
|
12756
|
-
* Size of all marked objects in Kilobytes.
|
|
12757
|
-
*/
|
|
12758
|
-
marked: number;
|
|
12759
12823
|
/**
|
|
12760
12824
|
* Total allocated space in Kilobytes.
|
|
12761
12825
|
*/
|
|
@@ -12925,9 +12989,10 @@ declare namespace Electron {
|
|
|
12925
12989
|
*/
|
|
12926
12990
|
enableLargerThanScreen?: boolean;
|
|
12927
12991
|
/**
|
|
12928
|
-
*
|
|
12929
|
-
*
|
|
12930
|
-
* `true
|
|
12992
|
+
* The window's background color in Hex, RGB, RGBA, HSL, HSLA or named CSS color
|
|
12993
|
+
* format. Alpha in #AARRGGBB format is supported if `transparent` is set to
|
|
12994
|
+
* `true`. Default is `#FFF` (white). See win.setBackgroundColor for more
|
|
12995
|
+
* information.
|
|
12931
12996
|
*/
|
|
12932
12997
|
backgroundColor?: string;
|
|
12933
12998
|
/**
|
|
@@ -13036,6 +13101,15 @@ declare namespace Electron {
|
|
|
13036
13101
|
message: string;
|
|
13037
13102
|
}
|
|
13038
13103
|
|
|
13104
|
+
interface ClearCodeCachesOptions {
|
|
13105
|
+
/**
|
|
13106
|
+
* An array of url corresponding to the resource whose generated code cache needs
|
|
13107
|
+
* to be removed. If the list is empty then all entries in the cache directory will
|
|
13108
|
+
* be removed.
|
|
13109
|
+
*/
|
|
13110
|
+
urls?: string[];
|
|
13111
|
+
}
|
|
13112
|
+
|
|
13039
13113
|
interface ClearStorageDataOptions {
|
|
13040
13114
|
/**
|
|
13041
13115
|
* Should follow `window.location.origin`’s representation `scheme://host:port`.
|
|
@@ -16348,6 +16422,7 @@ declare namespace Electron {
|
|
|
16348
16422
|
type BrowserViewConstructorOptions = Electron.BrowserViewConstructorOptions;
|
|
16349
16423
|
type BrowserWindowConstructorOptions = Electron.BrowserWindowConstructorOptions;
|
|
16350
16424
|
type CertificateTrustDialogOptions = Electron.CertificateTrustDialogOptions;
|
|
16425
|
+
type ClearCodeCachesOptions = Electron.ClearCodeCachesOptions;
|
|
16351
16426
|
type ClearStorageDataOptions = Electron.ClearStorageDataOptions;
|
|
16352
16427
|
type ClientRequestConstructorOptions = Electron.ClientRequestConstructorOptions;
|
|
16353
16428
|
type Config = Electron.Config;
|
|
@@ -16640,6 +16715,7 @@ declare namespace Electron {
|
|
|
16640
16715
|
type BrowserViewConstructorOptions = Electron.BrowserViewConstructorOptions;
|
|
16641
16716
|
type BrowserWindowConstructorOptions = Electron.BrowserWindowConstructorOptions;
|
|
16642
16717
|
type CertificateTrustDialogOptions = Electron.CertificateTrustDialogOptions;
|
|
16718
|
+
type ClearCodeCachesOptions = Electron.ClearCodeCachesOptions;
|
|
16643
16719
|
type ClearStorageDataOptions = Electron.ClearStorageDataOptions;
|
|
16644
16720
|
type ClientRequestConstructorOptions = Electron.ClientRequestConstructorOptions;
|
|
16645
16721
|
type Config = Electron.Config;
|
|
@@ -16869,6 +16945,7 @@ declare namespace Electron {
|
|
|
16869
16945
|
type BrowserViewConstructorOptions = Electron.BrowserViewConstructorOptions;
|
|
16870
16946
|
type BrowserWindowConstructorOptions = Electron.BrowserWindowConstructorOptions;
|
|
16871
16947
|
type CertificateTrustDialogOptions = Electron.CertificateTrustDialogOptions;
|
|
16948
|
+
type ClearCodeCachesOptions = Electron.ClearCodeCachesOptions;
|
|
16872
16949
|
type ClearStorageDataOptions = Electron.ClearStorageDataOptions;
|
|
16873
16950
|
type ClientRequestConstructorOptions = Electron.ClientRequestConstructorOptions;
|
|
16874
16951
|
type Config = Electron.Config;
|
|
@@ -17175,6 +17252,7 @@ declare namespace Electron {
|
|
|
17175
17252
|
type BrowserViewConstructorOptions = Electron.BrowserViewConstructorOptions;
|
|
17176
17253
|
type BrowserWindowConstructorOptions = Electron.BrowserWindowConstructorOptions;
|
|
17177
17254
|
type CertificateTrustDialogOptions = Electron.CertificateTrustDialogOptions;
|
|
17255
|
+
type ClearCodeCachesOptions = Electron.ClearCodeCachesOptions;
|
|
17178
17256
|
type ClearStorageDataOptions = Electron.ClearStorageDataOptions;
|
|
17179
17257
|
type ClientRequestConstructorOptions = Electron.ClientRequestConstructorOptions;
|
|
17180
17258
|
type Config = Electron.Config;
|
|
@@ -17478,7 +17556,6 @@ declare namespace NodeJS {
|
|
|
17478
17556
|
crash(): void;
|
|
17479
17557
|
/**
|
|
17480
17558
|
* * `allocated` Integer - Size of all allocated objects in Kilobytes.
|
|
17481
|
-
* * `marked` Integer - Size of all marked objects in Kilobytes.
|
|
17482
17559
|
* * `total` Integer - Total allocated space in Kilobytes.
|
|
17483
17560
|
*
|
|
17484
17561
|
* Returns an object with Blink memory information. It can be useful for debugging
|
package/package.json
CHANGED
|
@@ -16,7 +16,7 @@
|
|
|
16
16
|
"node": ">= 8.6"
|
|
17
17
|
},
|
|
18
18
|
"name": "electron",
|
|
19
|
-
"version": "18.0.0-beta.
|
|
19
|
+
"version": "18.0.0-beta.6",
|
|
20
20
|
"repository": "https://github.com/electron/electron",
|
|
21
21
|
"description": "Build cross platform desktop apps with JavaScript, HTML, and CSS",
|
|
22
22
|
"license": "MIT",
|