@dcloudio/uni-app-x 0.7.83 → 0.7.84

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.
Files changed (123) hide show
  1. package/package.json +1 -1
  2. package/types/dom2-internal/UniElement.d.ts +16 -0
  3. package/types/dom2-internal/sharedData.d.ts +12 -0
  4. package/types/native/IUniElement.d.ts +584 -542
  5. package/types/node_modules/.package-lock.json +0 -20
  6. package/types/node_modules/typescript/LICENSE.txt +0 -55
  7. package/types/node_modules/typescript/ThirdPartyNoticeText.txt +0 -193
  8. package/types/node_modules/typescript/bin/tsc +0 -2
  9. package/types/node_modules/typescript/bin/tsserver +0 -2
  10. package/types/node_modules/typescript/lib/cancellationToken.js +0 -90
  11. package/types/node_modules/typescript/lib/cs/diagnosticMessages.generated.json +0 -1880
  12. package/types/node_modules/typescript/lib/de/diagnosticMessages.generated.json +0 -1880
  13. package/types/node_modules/typescript/lib/es/diagnosticMessages.generated.json +0 -1880
  14. package/types/node_modules/typescript/lib/fr/diagnosticMessages.generated.json +0 -1880
  15. package/types/node_modules/typescript/lib/it/diagnosticMessages.generated.json +0 -1880
  16. package/types/node_modules/typescript/lib/ja/diagnosticMessages.generated.json +0 -1880
  17. package/types/node_modules/typescript/lib/ko/diagnosticMessages.generated.json +0 -1880
  18. package/types/node_modules/typescript/lib/lib.d.ts +0 -22
  19. package/types/node_modules/typescript/lib/lib.decorators.d.ts +0 -386
  20. package/types/node_modules/typescript/lib/lib.decorators.legacy.d.ts +0 -22
  21. package/types/node_modules/typescript/lib/lib.dom.asynciterable.d.ts +0 -33
  22. package/types/node_modules/typescript/lib/lib.dom.d.ts +0 -28596
  23. package/types/node_modules/typescript/lib/lib.dom.iterable.d.ts +0 -475
  24. package/types/node_modules/typescript/lib/lib.es2015.collection.d.ts +0 -147
  25. package/types/node_modules/typescript/lib/lib.es2015.core.d.ts +0 -597
  26. package/types/node_modules/typescript/lib/lib.es2015.d.ts +0 -28
  27. package/types/node_modules/typescript/lib/lib.es2015.generator.d.ts +0 -77
  28. package/types/node_modules/typescript/lib/lib.es2015.iterable.d.ts +0 -495
  29. package/types/node_modules/typescript/lib/lib.es2015.promise.d.ts +0 -81
  30. package/types/node_modules/typescript/lib/lib.es2015.proxy.d.ts +0 -128
  31. package/types/node_modules/typescript/lib/lib.es2015.reflect.d.ts +0 -144
  32. package/types/node_modules/typescript/lib/lib.es2015.symbol.d.ts +0 -46
  33. package/types/node_modules/typescript/lib/lib.es2015.symbol.wellknown.d.ts +0 -326
  34. package/types/node_modules/typescript/lib/lib.es2016.array.include.d.ts +0 -116
  35. package/types/node_modules/typescript/lib/lib.es2016.d.ts +0 -21
  36. package/types/node_modules/typescript/lib/lib.es2016.full.d.ts +0 -23
  37. package/types/node_modules/typescript/lib/lib.es2016.intl.d.ts +0 -31
  38. package/types/node_modules/typescript/lib/lib.es2017.d.ts +0 -25
  39. package/types/node_modules/typescript/lib/lib.es2017.date.d.ts +0 -31
  40. package/types/node_modules/typescript/lib/lib.es2017.full.d.ts +0 -23
  41. package/types/node_modules/typescript/lib/lib.es2017.intl.d.ts +0 -44
  42. package/types/node_modules/typescript/lib/lib.es2017.object.d.ts +0 -49
  43. package/types/node_modules/typescript/lib/lib.es2017.sharedmemory.d.ts +0 -135
  44. package/types/node_modules/typescript/lib/lib.es2017.string.d.ts +0 -45
  45. package/types/node_modules/typescript/lib/lib.es2017.typedarrays.d.ts +0 -53
  46. package/types/node_modules/typescript/lib/lib.es2018.asyncgenerator.d.ts +0 -77
  47. package/types/node_modules/typescript/lib/lib.es2018.asynciterable.d.ts +0 -43
  48. package/types/node_modules/typescript/lib/lib.es2018.d.ts +0 -24
  49. package/types/node_modules/typescript/lib/lib.es2018.full.d.ts +0 -24
  50. package/types/node_modules/typescript/lib/lib.es2018.intl.d.ts +0 -83
  51. package/types/node_modules/typescript/lib/lib.es2018.promise.d.ts +0 -30
  52. package/types/node_modules/typescript/lib/lib.es2018.regexp.d.ts +0 -37
  53. package/types/node_modules/typescript/lib/lib.es2019.array.d.ts +0 -79
  54. package/types/node_modules/typescript/lib/lib.es2019.d.ts +0 -24
  55. package/types/node_modules/typescript/lib/lib.es2019.full.d.ts +0 -24
  56. package/types/node_modules/typescript/lib/lib.es2019.intl.d.ts +0 -23
  57. package/types/node_modules/typescript/lib/lib.es2019.object.d.ts +0 -33
  58. package/types/node_modules/typescript/lib/lib.es2019.string.d.ts +0 -37
  59. package/types/node_modules/typescript/lib/lib.es2019.symbol.d.ts +0 -24
  60. package/types/node_modules/typescript/lib/lib.es2020.bigint.d.ts +0 -727
  61. package/types/node_modules/typescript/lib/lib.es2020.d.ts +0 -27
  62. package/types/node_modules/typescript/lib/lib.es2020.date.d.ts +0 -42
  63. package/types/node_modules/typescript/lib/lib.es2020.full.d.ts +0 -24
  64. package/types/node_modules/typescript/lib/lib.es2020.intl.d.ts +0 -474
  65. package/types/node_modules/typescript/lib/lib.es2020.number.d.ts +0 -28
  66. package/types/node_modules/typescript/lib/lib.es2020.promise.d.ts +0 -47
  67. package/types/node_modules/typescript/lib/lib.es2020.sharedmemory.d.ts +0 -97
  68. package/types/node_modules/typescript/lib/lib.es2020.string.d.ts +0 -42
  69. package/types/node_modules/typescript/lib/lib.es2020.symbol.wellknown.d.ts +0 -37
  70. package/types/node_modules/typescript/lib/lib.es2021.d.ts +0 -23
  71. package/types/node_modules/typescript/lib/lib.es2021.full.d.ts +0 -24
  72. package/types/node_modules/typescript/lib/lib.es2021.intl.d.ts +0 -166
  73. package/types/node_modules/typescript/lib/lib.es2021.promise.d.ts +0 -48
  74. package/types/node_modules/typescript/lib/lib.es2021.string.d.ts +0 -33
  75. package/types/node_modules/typescript/lib/lib.es2021.weakref.d.ts +0 -76
  76. package/types/node_modules/typescript/lib/lib.es2022.array.d.ts +0 -121
  77. package/types/node_modules/typescript/lib/lib.es2022.d.ts +0 -26
  78. package/types/node_modules/typescript/lib/lib.es2022.error.d.ts +0 -73
  79. package/types/node_modules/typescript/lib/lib.es2022.full.d.ts +0 -24
  80. package/types/node_modules/typescript/lib/lib.es2022.intl.d.ts +0 -117
  81. package/types/node_modules/typescript/lib/lib.es2022.object.d.ts +0 -26
  82. package/types/node_modules/typescript/lib/lib.es2022.regexp.d.ts +0 -39
  83. package/types/node_modules/typescript/lib/lib.es2022.sharedmemory.d.ts +0 -39
  84. package/types/node_modules/typescript/lib/lib.es2022.string.d.ts +0 -25
  85. package/types/node_modules/typescript/lib/lib.es2023.array.d.ts +0 -924
  86. package/types/node_modules/typescript/lib/lib.es2023.collection.d.ts +0 -21
  87. package/types/node_modules/typescript/lib/lib.es2023.d.ts +0 -22
  88. package/types/node_modules/typescript/lib/lib.es2023.full.d.ts +0 -24
  89. package/types/node_modules/typescript/lib/lib.es2023.intl.d.ts +0 -56
  90. package/types/node_modules/typescript/lib/lib.es5.d.ts +0 -4585
  91. package/types/node_modules/typescript/lib/lib.es6.d.ts +0 -23
  92. package/types/node_modules/typescript/lib/lib.esnext.array.d.ts +0 -35
  93. package/types/node_modules/typescript/lib/lib.esnext.collection.d.ts +0 -106
  94. package/types/node_modules/typescript/lib/lib.esnext.d.ts +0 -28
  95. package/types/node_modules/typescript/lib/lib.esnext.decorators.d.ts +0 -28
  96. package/types/node_modules/typescript/lib/lib.esnext.disposable.d.ts +0 -185
  97. package/types/node_modules/typescript/lib/lib.esnext.full.d.ts +0 -24
  98. package/types/node_modules/typescript/lib/lib.esnext.intl.d.ts +0 -21
  99. package/types/node_modules/typescript/lib/lib.esnext.object.d.ts +0 -29
  100. package/types/node_modules/typescript/lib/lib.esnext.promise.d.ts +0 -35
  101. package/types/node_modules/typescript/lib/lib.esnext.regexp.d.ts +0 -25
  102. package/types/node_modules/typescript/lib/lib.esnext.string.d.ts +0 -29
  103. package/types/node_modules/typescript/lib/lib.scripthost.d.ts +0 -322
  104. package/types/node_modules/typescript/lib/lib.webworker.asynciterable.d.ts +0 -33
  105. package/types/node_modules/typescript/lib/lib.webworker.d.ts +0 -9431
  106. package/types/node_modules/typescript/lib/lib.webworker.importscripts.d.ts +0 -23
  107. package/types/node_modules/typescript/lib/lib.webworker.iterable.d.ts +0 -276
  108. package/types/node_modules/typescript/lib/pl/diagnosticMessages.generated.json +0 -1880
  109. package/types/node_modules/typescript/lib/pt-br/diagnosticMessages.generated.json +0 -1880
  110. package/types/node_modules/typescript/lib/ru/diagnosticMessages.generated.json +0 -1880
  111. package/types/node_modules/typescript/lib/tr/diagnosticMessages.generated.json +0 -1880
  112. package/types/node_modules/typescript/lib/tsc.js +0 -129741
  113. package/types/node_modules/typescript/lib/tsserver.js +0 -621
  114. package/types/node_modules/typescript/lib/tsserverlibrary.d.ts +0 -17
  115. package/types/node_modules/typescript/lib/tsserverlibrary.js +0 -21
  116. package/types/node_modules/typescript/lib/typesMap.json +0 -497
  117. package/types/node_modules/typescript/lib/typescript.d.ts +0 -11240
  118. package/types/node_modules/typescript/lib/typescript.js +0 -194910
  119. package/types/node_modules/typescript/lib/typingsInstaller.js +0 -236
  120. package/types/node_modules/typescript/lib/watchGuard.js +0 -53
  121. package/types/node_modules/typescript/lib/zh-cn/diagnosticMessages.generated.json +0 -1880
  122. package/types/node_modules/typescript/lib/zh-tw/diagnosticMessages.generated.json +0 -1880
  123. package/types/node_modules/typescript/package.json +0 -116
@@ -1,475 +0,0 @@
1
- /*! *****************************************************************************
2
- Copyright (c) Microsoft Corporation. All rights reserved.
3
- Licensed under the Apache License, Version 2.0 (the "License"); you may not use
4
- this file except in compliance with the License. You may obtain a copy of the
5
- License at http://www.apache.org/licenses/LICENSE-2.0
6
-
7
- THIS CODE IS PROVIDED ON AN *AS IS* BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
8
- KIND, EITHER EXPRESS OR IMPLIED, INCLUDING WITHOUT LIMITATION ANY IMPLIED
9
- WARRANTIES OR CONDITIONS OF TITLE, FITNESS FOR A PARTICULAR PURPOSE,
10
- MERCHANTABLITY OR NON-INFRINGEMENT.
11
-
12
- See the Apache Version 2.0 License for specific language governing permissions
13
- and limitations under the License.
14
- ***************************************************************************** */
15
-
16
-
17
- /// <reference no-default-lib="true"/>
18
-
19
- /////////////////////////////
20
- /// Window Iterable APIs
21
- /////////////////////////////
22
-
23
- interface AbortSignal {
24
- /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/AbortSignal/any_static) */
25
- any(signals: Iterable<AbortSignal>): AbortSignal;
26
- }
27
-
28
- interface AudioParam {
29
- /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/AudioParam/setValueCurveAtTime) */
30
- setValueCurveAtTime(values: Iterable<number>, startTime: number, duration: number): AudioParam;
31
- }
32
-
33
- interface AudioParamMap extends ReadonlyMap<string, AudioParam> {
34
- }
35
-
36
- interface BaseAudioContext {
37
- /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/BaseAudioContext/createIIRFilter) */
38
- createIIRFilter(feedforward: Iterable<number>, feedback: Iterable<number>): IIRFilterNode;
39
- /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/BaseAudioContext/createPeriodicWave) */
40
- createPeriodicWave(real: Iterable<number>, imag: Iterable<number>, constraints?: PeriodicWaveConstraints): PeriodicWave;
41
- }
42
-
43
- interface CSSKeyframesRule {
44
- [Symbol.iterator](): IterableIterator<CSSKeyframeRule>;
45
- }
46
-
47
- interface CSSNumericArray {
48
- [Symbol.iterator](): IterableIterator<CSSNumericValue>;
49
- entries(): IterableIterator<[number, CSSNumericValue]>;
50
- keys(): IterableIterator<number>;
51
- values(): IterableIterator<CSSNumericValue>;
52
- }
53
-
54
- interface CSSRuleList {
55
- [Symbol.iterator](): IterableIterator<CSSRule>;
56
- }
57
-
58
- interface CSSStyleDeclaration {
59
- [Symbol.iterator](): IterableIterator<string>;
60
- }
61
-
62
- interface CSSTransformValue {
63
- [Symbol.iterator](): IterableIterator<CSSTransformComponent>;
64
- entries(): IterableIterator<[number, CSSTransformComponent]>;
65
- keys(): IterableIterator<number>;
66
- values(): IterableIterator<CSSTransformComponent>;
67
- }
68
-
69
- interface CSSUnparsedValue {
70
- [Symbol.iterator](): IterableIterator<CSSUnparsedSegment>;
71
- entries(): IterableIterator<[number, CSSUnparsedSegment]>;
72
- keys(): IterableIterator<number>;
73
- values(): IterableIterator<CSSUnparsedSegment>;
74
- }
75
-
76
- interface Cache {
77
- /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Cache/addAll) */
78
- addAll(requests: Iterable<RequestInfo>): Promise<void>;
79
- }
80
-
81
- interface CanvasPath {
82
- /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CanvasRenderingContext2D/roundRect) */
83
- roundRect(x: number, y: number, w: number, h: number, radii?: number | DOMPointInit | Iterable<number | DOMPointInit>): void;
84
- }
85
-
86
- interface CanvasPathDrawingStyles {
87
- /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CanvasRenderingContext2D/setLineDash) */
88
- setLineDash(segments: Iterable<number>): void;
89
- }
90
-
91
- interface CustomStateSet extends Set<string> {
92
- }
93
-
94
- interface DOMRectList {
95
- [Symbol.iterator](): IterableIterator<DOMRect>;
96
- }
97
-
98
- interface DOMStringList {
99
- [Symbol.iterator](): IterableIterator<string>;
100
- }
101
-
102
- interface DOMTokenList {
103
- [Symbol.iterator](): IterableIterator<string>;
104
- entries(): IterableIterator<[number, string]>;
105
- keys(): IterableIterator<number>;
106
- values(): IterableIterator<string>;
107
- }
108
-
109
- interface DataTransferItemList {
110
- [Symbol.iterator](): IterableIterator<DataTransferItem>;
111
- }
112
-
113
- interface EventCounts extends ReadonlyMap<string, number> {
114
- }
115
-
116
- interface FileList {
117
- [Symbol.iterator](): IterableIterator<File>;
118
- }
119
-
120
- interface FontFaceSet extends Set<FontFace> {
121
- }
122
-
123
- interface FormData {
124
- [Symbol.iterator](): IterableIterator<[string, FormDataEntryValue]>;
125
- /** Returns an array of key, value pairs for every entry in the list. */
126
- entries(): IterableIterator<[string, FormDataEntryValue]>;
127
- /** Returns a list of keys in the list. */
128
- keys(): IterableIterator<string>;
129
- /** Returns a list of values in the list. */
130
- values(): IterableIterator<FormDataEntryValue>;
131
- }
132
-
133
- interface HTMLAllCollection {
134
- [Symbol.iterator](): IterableIterator<Element>;
135
- }
136
-
137
- interface HTMLCollectionBase {
138
- [Symbol.iterator](): IterableIterator<Element>;
139
- }
140
-
141
- interface HTMLCollectionOf<T extends Element> {
142
- [Symbol.iterator](): IterableIterator<T>;
143
- }
144
-
145
- interface HTMLFormElement {
146
- [Symbol.iterator](): IterableIterator<Element>;
147
- }
148
-
149
- interface HTMLSelectElement {
150
- [Symbol.iterator](): IterableIterator<HTMLOptionElement>;
151
- }
152
-
153
- interface Headers {
154
- [Symbol.iterator](): IterableIterator<[string, string]>;
155
- /** Returns an iterator allowing to go through all key/value pairs contained in this object. */
156
- entries(): IterableIterator<[string, string]>;
157
- /** Returns an iterator allowing to go through all keys of the key/value pairs contained in this object. */
158
- keys(): IterableIterator<string>;
159
- /** Returns an iterator allowing to go through all values of the key/value pairs contained in this object. */
160
- values(): IterableIterator<string>;
161
- }
162
-
163
- interface Highlight extends Set<AbstractRange> {
164
- }
165
-
166
- interface HighlightRegistry extends Map<string, Highlight> {
167
- }
168
-
169
- interface IDBDatabase {
170
- /**
171
- * Returns a new transaction with the given mode ("readonly" or "readwrite") and scope which can be a single object store name or an array of names.
172
- *
173
- * [MDN Reference](https://developer.mozilla.org/docs/Web/API/IDBDatabase/transaction)
174
- */
175
- transaction(storeNames: string | Iterable<string>, mode?: IDBTransactionMode, options?: IDBTransactionOptions): IDBTransaction;
176
- }
177
-
178
- interface IDBObjectStore {
179
- /**
180
- * Creates a new index in store with the given name, keyPath and options and returns a new IDBIndex. If the keyPath and options define constraints that cannot be satisfied with the data already in store the upgrade transaction will abort with a "ConstraintError" DOMException.
181
- *
182
- * Throws an "InvalidStateError" DOMException if not called within an upgrade transaction.
183
- *
184
- * [MDN Reference](https://developer.mozilla.org/docs/Web/API/IDBObjectStore/createIndex)
185
- */
186
- createIndex(name: string, keyPath: string | Iterable<string>, options?: IDBIndexParameters): IDBIndex;
187
- }
188
-
189
- interface MIDIInputMap extends ReadonlyMap<string, MIDIInput> {
190
- }
191
-
192
- interface MIDIOutput {
193
- /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/MIDIOutput/send) */
194
- send(data: Iterable<number>, timestamp?: DOMHighResTimeStamp): void;
195
- }
196
-
197
- interface MIDIOutputMap extends ReadonlyMap<string, MIDIOutput> {
198
- }
199
-
200
- interface MediaKeyStatusMap {
201
- [Symbol.iterator](): IterableIterator<[BufferSource, MediaKeyStatus]>;
202
- entries(): IterableIterator<[BufferSource, MediaKeyStatus]>;
203
- keys(): IterableIterator<BufferSource>;
204
- values(): IterableIterator<MediaKeyStatus>;
205
- }
206
-
207
- interface MediaList {
208
- [Symbol.iterator](): IterableIterator<string>;
209
- }
210
-
211
- interface MessageEvent<T = any> {
212
- /**
213
- * @deprecated
214
- *
215
- * [MDN Reference](https://developer.mozilla.org/docs/Web/API/MessageEvent/initMessageEvent)
216
- */
217
- initMessageEvent(type: string, bubbles?: boolean, cancelable?: boolean, data?: any, origin?: string, lastEventId?: string, source?: MessageEventSource | null, ports?: Iterable<MessagePort>): void;
218
- }
219
-
220
- interface MimeTypeArray {
221
- [Symbol.iterator](): IterableIterator<MimeType>;
222
- }
223
-
224
- interface NamedNodeMap {
225
- [Symbol.iterator](): IterableIterator<Attr>;
226
- }
227
-
228
- interface Navigator {
229
- /**
230
- * Available only in secure contexts.
231
- *
232
- * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Navigator/requestMediaKeySystemAccess)
233
- */
234
- requestMediaKeySystemAccess(keySystem: string, supportedConfigurations: Iterable<MediaKeySystemConfiguration>): Promise<MediaKeySystemAccess>;
235
- /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Navigator/vibrate) */
236
- vibrate(pattern: Iterable<number>): boolean;
237
- }
238
-
239
- interface NodeList {
240
- [Symbol.iterator](): IterableIterator<Node>;
241
- /** Returns an array of key, value pairs for every entry in the list. */
242
- entries(): IterableIterator<[number, Node]>;
243
- /** Returns an list of keys in the list. */
244
- keys(): IterableIterator<number>;
245
- /** Returns an list of values in the list. */
246
- values(): IterableIterator<Node>;
247
- }
248
-
249
- interface NodeListOf<TNode extends Node> {
250
- [Symbol.iterator](): IterableIterator<TNode>;
251
- /** Returns an array of key, value pairs for every entry in the list. */
252
- entries(): IterableIterator<[number, TNode]>;
253
- /** Returns an list of keys in the list. */
254
- keys(): IterableIterator<number>;
255
- /** Returns an list of values in the list. */
256
- values(): IterableIterator<TNode>;
257
- }
258
-
259
- interface Plugin {
260
- [Symbol.iterator](): IterableIterator<MimeType>;
261
- }
262
-
263
- interface PluginArray {
264
- [Symbol.iterator](): IterableIterator<Plugin>;
265
- }
266
-
267
- interface RTCRtpTransceiver {
268
- /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/RTCRtpTransceiver/setCodecPreferences) */
269
- setCodecPreferences(codecs: Iterable<RTCRtpCodecCapability>): void;
270
- }
271
-
272
- interface RTCStatsReport extends ReadonlyMap<string, any> {
273
- }
274
-
275
- interface SVGLengthList {
276
- [Symbol.iterator](): IterableIterator<SVGLength>;
277
- }
278
-
279
- interface SVGNumberList {
280
- [Symbol.iterator](): IterableIterator<SVGNumber>;
281
- }
282
-
283
- interface SVGPointList {
284
- [Symbol.iterator](): IterableIterator<DOMPoint>;
285
- }
286
-
287
- interface SVGStringList {
288
- [Symbol.iterator](): IterableIterator<string>;
289
- }
290
-
291
- interface SVGTransformList {
292
- [Symbol.iterator](): IterableIterator<SVGTransform>;
293
- }
294
-
295
- interface SourceBufferList {
296
- [Symbol.iterator](): IterableIterator<SourceBuffer>;
297
- }
298
-
299
- interface SpeechRecognitionResult {
300
- [Symbol.iterator](): IterableIterator<SpeechRecognitionAlternative>;
301
- }
302
-
303
- interface SpeechRecognitionResultList {
304
- [Symbol.iterator](): IterableIterator<SpeechRecognitionResult>;
305
- }
306
-
307
- interface StylePropertyMapReadOnly {
308
- [Symbol.iterator](): IterableIterator<[string, Iterable<CSSStyleValue>]>;
309
- entries(): IterableIterator<[string, Iterable<CSSStyleValue>]>;
310
- keys(): IterableIterator<string>;
311
- values(): IterableIterator<Iterable<CSSStyleValue>>;
312
- }
313
-
314
- interface StyleSheetList {
315
- [Symbol.iterator](): IterableIterator<CSSStyleSheet>;
316
- }
317
-
318
- interface SubtleCrypto {
319
- /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/SubtleCrypto/deriveKey) */
320
- deriveKey(algorithm: AlgorithmIdentifier | EcdhKeyDeriveParams | HkdfParams | Pbkdf2Params, baseKey: CryptoKey, derivedKeyType: AlgorithmIdentifier | AesDerivedKeyParams | HmacImportParams | HkdfParams | Pbkdf2Params, extractable: boolean, keyUsages: Iterable<KeyUsage>): Promise<CryptoKey>;
321
- /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/SubtleCrypto/generateKey) */
322
- generateKey(algorithm: "Ed25519", extractable: boolean, keyUsages: ReadonlyArray<"sign" | "verify">): Promise<CryptoKeyPair>;
323
- generateKey(algorithm: RsaHashedKeyGenParams | EcKeyGenParams, extractable: boolean, keyUsages: ReadonlyArray<KeyUsage>): Promise<CryptoKeyPair>;
324
- generateKey(algorithm: AesKeyGenParams | HmacKeyGenParams | Pbkdf2Params, extractable: boolean, keyUsages: ReadonlyArray<KeyUsage>): Promise<CryptoKey>;
325
- generateKey(algorithm: AlgorithmIdentifier, extractable: boolean, keyUsages: Iterable<KeyUsage>): Promise<CryptoKeyPair | CryptoKey>;
326
- /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/SubtleCrypto/importKey) */
327
- importKey(format: "jwk", keyData: JsonWebKey, algorithm: AlgorithmIdentifier | RsaHashedImportParams | EcKeyImportParams | HmacImportParams | AesKeyAlgorithm, extractable: boolean, keyUsages: ReadonlyArray<KeyUsage>): Promise<CryptoKey>;
328
- importKey(format: Exclude<KeyFormat, "jwk">, keyData: BufferSource, algorithm: AlgorithmIdentifier | RsaHashedImportParams | EcKeyImportParams | HmacImportParams | AesKeyAlgorithm, extractable: boolean, keyUsages: Iterable<KeyUsage>): Promise<CryptoKey>;
329
- /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/SubtleCrypto/unwrapKey) */
330
- unwrapKey(format: KeyFormat, wrappedKey: BufferSource, unwrappingKey: CryptoKey, unwrapAlgorithm: AlgorithmIdentifier | RsaOaepParams | AesCtrParams | AesCbcParams | AesGcmParams, unwrappedKeyAlgorithm: AlgorithmIdentifier | RsaHashedImportParams | EcKeyImportParams | HmacImportParams | AesKeyAlgorithm, extractable: boolean, keyUsages: Iterable<KeyUsage>): Promise<CryptoKey>;
331
- }
332
-
333
- interface TextTrackCueList {
334
- [Symbol.iterator](): IterableIterator<TextTrackCue>;
335
- }
336
-
337
- interface TextTrackList {
338
- [Symbol.iterator](): IterableIterator<TextTrack>;
339
- }
340
-
341
- interface TouchList {
342
- [Symbol.iterator](): IterableIterator<Touch>;
343
- }
344
-
345
- interface URLSearchParams {
346
- [Symbol.iterator](): IterableIterator<[string, string]>;
347
- /** Returns an array of key, value pairs for every entry in the search params. */
348
- entries(): IterableIterator<[string, string]>;
349
- /** Returns a list of keys in the search params. */
350
- keys(): IterableIterator<string>;
351
- /** Returns a list of values in the search params. */
352
- values(): IterableIterator<string>;
353
- }
354
-
355
- interface WEBGL_draw_buffers {
356
- /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WEBGL_draw_buffers/drawBuffersWEBGL) */
357
- drawBuffersWEBGL(buffers: Iterable<GLenum>): void;
358
- }
359
-
360
- interface WEBGL_multi_draw {
361
- /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WEBGL_multi_draw/multiDrawArraysInstancedWEBGL) */
362
- multiDrawArraysInstancedWEBGL(mode: GLenum, firstsList: Int32Array | Iterable<GLint>, firstsOffset: number, countsList: Int32Array | Iterable<GLsizei>, countsOffset: number, instanceCountsList: Int32Array | Iterable<GLsizei>, instanceCountsOffset: number, drawcount: GLsizei): void;
363
- /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WEBGL_multi_draw/multiDrawArraysWEBGL) */
364
- multiDrawArraysWEBGL(mode: GLenum, firstsList: Int32Array | Iterable<GLint>, firstsOffset: number, countsList: Int32Array | Iterable<GLsizei>, countsOffset: number, drawcount: GLsizei): void;
365
- /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WEBGL_multi_draw/multiDrawElementsInstancedWEBGL) */
366
- multiDrawElementsInstancedWEBGL(mode: GLenum, countsList: Int32Array | Iterable<GLsizei>, countsOffset: number, type: GLenum, offsetsList: Int32Array | Iterable<GLsizei>, offsetsOffset: number, instanceCountsList: Int32Array | Iterable<GLsizei>, instanceCountsOffset: number, drawcount: GLsizei): void;
367
- /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WEBGL_multi_draw/multiDrawElementsWEBGL) */
368
- multiDrawElementsWEBGL(mode: GLenum, countsList: Int32Array | Iterable<GLsizei>, countsOffset: number, type: GLenum, offsetsList: Int32Array | Iterable<GLsizei>, offsetsOffset: number, drawcount: GLsizei): void;
369
- }
370
-
371
- interface WebGL2RenderingContextBase {
372
- /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGL2RenderingContext/clearBuffer) */
373
- clearBufferfv(buffer: GLenum, drawbuffer: GLint, values: Iterable<GLfloat>, srcOffset?: number): void;
374
- /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGL2RenderingContext/clearBuffer) */
375
- clearBufferiv(buffer: GLenum, drawbuffer: GLint, values: Iterable<GLint>, srcOffset?: number): void;
376
- /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGL2RenderingContext/clearBuffer) */
377
- clearBufferuiv(buffer: GLenum, drawbuffer: GLint, values: Iterable<GLuint>, srcOffset?: number): void;
378
- /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGL2RenderingContext/drawBuffers) */
379
- drawBuffers(buffers: Iterable<GLenum>): void;
380
- /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGL2RenderingContext/getActiveUniforms) */
381
- getActiveUniforms(program: WebGLProgram, uniformIndices: Iterable<GLuint>, pname: GLenum): any;
382
- /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGL2RenderingContext/getUniformIndices) */
383
- getUniformIndices(program: WebGLProgram, uniformNames: Iterable<string>): Iterable<GLuint> | null;
384
- /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGL2RenderingContext/invalidateFramebuffer) */
385
- invalidateFramebuffer(target: GLenum, attachments: Iterable<GLenum>): void;
386
- /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGL2RenderingContext/invalidateSubFramebuffer) */
387
- invalidateSubFramebuffer(target: GLenum, attachments: Iterable<GLenum>, x: GLint, y: GLint, width: GLsizei, height: GLsizei): void;
388
- /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGL2RenderingContext/transformFeedbackVaryings) */
389
- transformFeedbackVaryings(program: WebGLProgram, varyings: Iterable<string>, bufferMode: GLenum): void;
390
- /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGL2RenderingContext/uniform) */
391
- uniform1uiv(location: WebGLUniformLocation | null, data: Iterable<GLuint>, srcOffset?: number, srcLength?: GLuint): void;
392
- /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGL2RenderingContext/uniform) */
393
- uniform2uiv(location: WebGLUniformLocation | null, data: Iterable<GLuint>, srcOffset?: number, srcLength?: GLuint): void;
394
- /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGL2RenderingContext/uniform) */
395
- uniform3uiv(location: WebGLUniformLocation | null, data: Iterable<GLuint>, srcOffset?: number, srcLength?: GLuint): void;
396
- /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGL2RenderingContext/uniform) */
397
- uniform4uiv(location: WebGLUniformLocation | null, data: Iterable<GLuint>, srcOffset?: number, srcLength?: GLuint): void;
398
- /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGL2RenderingContext/uniformMatrix) */
399
- uniformMatrix2x3fv(location: WebGLUniformLocation | null, transpose: GLboolean, data: Iterable<GLfloat>, srcOffset?: number, srcLength?: GLuint): void;
400
- /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGL2RenderingContext/uniformMatrix) */
401
- uniformMatrix2x4fv(location: WebGLUniformLocation | null, transpose: GLboolean, data: Iterable<GLfloat>, srcOffset?: number, srcLength?: GLuint): void;
402
- /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGL2RenderingContext/uniformMatrix) */
403
- uniformMatrix3x2fv(location: WebGLUniformLocation | null, transpose: GLboolean, data: Iterable<GLfloat>, srcOffset?: number, srcLength?: GLuint): void;
404
- /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGL2RenderingContext/uniformMatrix) */
405
- uniformMatrix3x4fv(location: WebGLUniformLocation | null, transpose: GLboolean, data: Iterable<GLfloat>, srcOffset?: number, srcLength?: GLuint): void;
406
- /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGL2RenderingContext/uniformMatrix) */
407
- uniformMatrix4x2fv(location: WebGLUniformLocation | null, transpose: GLboolean, data: Iterable<GLfloat>, srcOffset?: number, srcLength?: GLuint): void;
408
- /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGL2RenderingContext/uniformMatrix) */
409
- uniformMatrix4x3fv(location: WebGLUniformLocation | null, transpose: GLboolean, data: Iterable<GLfloat>, srcOffset?: number, srcLength?: GLuint): void;
410
- /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGL2RenderingContext/vertexAttribI) */
411
- vertexAttribI4iv(index: GLuint, values: Iterable<GLint>): void;
412
- /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGL2RenderingContext/vertexAttribI) */
413
- vertexAttribI4uiv(index: GLuint, values: Iterable<GLuint>): void;
414
- }
415
-
416
- interface WebGL2RenderingContextOverloads {
417
- /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGLRenderingContext/uniform) */
418
- uniform1fv(location: WebGLUniformLocation | null, data: Iterable<GLfloat>, srcOffset?: number, srcLength?: GLuint): void;
419
- /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGLRenderingContext/uniform) */
420
- uniform1iv(location: WebGLUniformLocation | null, data: Iterable<GLint>, srcOffset?: number, srcLength?: GLuint): void;
421
- /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGLRenderingContext/uniform) */
422
- uniform2fv(location: WebGLUniformLocation | null, data: Iterable<GLfloat>, srcOffset?: number, srcLength?: GLuint): void;
423
- /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGLRenderingContext/uniform) */
424
- uniform2iv(location: WebGLUniformLocation | null, data: Iterable<GLint>, srcOffset?: number, srcLength?: GLuint): void;
425
- /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGLRenderingContext/uniform) */
426
- uniform3fv(location: WebGLUniformLocation | null, data: Iterable<GLfloat>, srcOffset?: number, srcLength?: GLuint): void;
427
- /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGLRenderingContext/uniform) */
428
- uniform3iv(location: WebGLUniformLocation | null, data: Iterable<GLint>, srcOffset?: number, srcLength?: GLuint): void;
429
- /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGLRenderingContext/uniform) */
430
- uniform4fv(location: WebGLUniformLocation | null, data: Iterable<GLfloat>, srcOffset?: number, srcLength?: GLuint): void;
431
- /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGLRenderingContext/uniform) */
432
- uniform4iv(location: WebGLUniformLocation | null, data: Iterable<GLint>, srcOffset?: number, srcLength?: GLuint): void;
433
- /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGLRenderingContext/uniformMatrix) */
434
- uniformMatrix2fv(location: WebGLUniformLocation | null, transpose: GLboolean, data: Iterable<GLfloat>, srcOffset?: number, srcLength?: GLuint): void;
435
- /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGLRenderingContext/uniformMatrix) */
436
- uniformMatrix3fv(location: WebGLUniformLocation | null, transpose: GLboolean, data: Iterable<GLfloat>, srcOffset?: number, srcLength?: GLuint): void;
437
- /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGLRenderingContext/uniformMatrix) */
438
- uniformMatrix4fv(location: WebGLUniformLocation | null, transpose: GLboolean, data: Iterable<GLfloat>, srcOffset?: number, srcLength?: GLuint): void;
439
- }
440
-
441
- interface WebGLRenderingContextBase {
442
- /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGLRenderingContext/vertexAttrib) */
443
- vertexAttrib1fv(index: GLuint, values: Iterable<GLfloat>): void;
444
- /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGLRenderingContext/vertexAttrib) */
445
- vertexAttrib2fv(index: GLuint, values: Iterable<GLfloat>): void;
446
- /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGLRenderingContext/vertexAttrib) */
447
- vertexAttrib3fv(index: GLuint, values: Iterable<GLfloat>): void;
448
- /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGLRenderingContext/vertexAttrib) */
449
- vertexAttrib4fv(index: GLuint, values: Iterable<GLfloat>): void;
450
- }
451
-
452
- interface WebGLRenderingContextOverloads {
453
- /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGLRenderingContext/uniform) */
454
- uniform1fv(location: WebGLUniformLocation | null, v: Iterable<GLfloat>): void;
455
- /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGLRenderingContext/uniform) */
456
- uniform1iv(location: WebGLUniformLocation | null, v: Iterable<GLint>): void;
457
- /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGLRenderingContext/uniform) */
458
- uniform2fv(location: WebGLUniformLocation | null, v: Iterable<GLfloat>): void;
459
- /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGLRenderingContext/uniform) */
460
- uniform2iv(location: WebGLUniformLocation | null, v: Iterable<GLint>): void;
461
- /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGLRenderingContext/uniform) */
462
- uniform3fv(location: WebGLUniformLocation | null, v: Iterable<GLfloat>): void;
463
- /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGLRenderingContext/uniform) */
464
- uniform3iv(location: WebGLUniformLocation | null, v: Iterable<GLint>): void;
465
- /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGLRenderingContext/uniform) */
466
- uniform4fv(location: WebGLUniformLocation | null, v: Iterable<GLfloat>): void;
467
- /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGLRenderingContext/uniform) */
468
- uniform4iv(location: WebGLUniformLocation | null, v: Iterable<GLint>): void;
469
- /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGLRenderingContext/uniformMatrix) */
470
- uniformMatrix2fv(location: WebGLUniformLocation | null, transpose: GLboolean, value: Iterable<GLfloat>): void;
471
- /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGLRenderingContext/uniformMatrix) */
472
- uniformMatrix3fv(location: WebGLUniformLocation | null, transpose: GLboolean, value: Iterable<GLfloat>): void;
473
- /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGLRenderingContext/uniformMatrix) */
474
- uniformMatrix4fv(location: WebGLUniformLocation | null, transpose: GLboolean, value: Iterable<GLfloat>): void;
475
- }
@@ -1,147 +0,0 @@
1
- /*! *****************************************************************************
2
- Copyright (c) Microsoft Corporation. All rights reserved.
3
- Licensed under the Apache License, Version 2.0 (the "License"); you may not use
4
- this file except in compliance with the License. You may obtain a copy of the
5
- License at http://www.apache.org/licenses/LICENSE-2.0
6
-
7
- THIS CODE IS PROVIDED ON AN *AS IS* BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
8
- KIND, EITHER EXPRESS OR IMPLIED, INCLUDING WITHOUT LIMITATION ANY IMPLIED
9
- WARRANTIES OR CONDITIONS OF TITLE, FITNESS FOR A PARTICULAR PURPOSE,
10
- MERCHANTABLITY OR NON-INFRINGEMENT.
11
-
12
- See the Apache Version 2.0 License for specific language governing permissions
13
- and limitations under the License.
14
- ***************************************************************************** */
15
-
16
-
17
- /// <reference no-default-lib="true"/>
18
-
19
- interface Map<K, V> {
20
- clear(): void;
21
- /**
22
- * @returns true if an element in the Map existed and has been removed, or false if the element does not exist.
23
- */
24
- delete(key: K): boolean;
25
- /**
26
- * Executes a provided function once per each key/value pair in the Map, in insertion order.
27
- */
28
- forEach(callbackfn: (value: V, key: K, map: Map<K, V>) => void, thisArg?: any): void;
29
- /**
30
- * Returns a specified element from the Map object. If the value that is associated to the provided key is an object, then you will get a reference to that object and any change made to that object will effectively modify it inside the Map.
31
- * @returns Returns the element associated with the specified key. If no element is associated with the specified key, undefined is returned.
32
- */
33
- get(key: K): V | undefined;
34
- /**
35
- * @returns boolean indicating whether an element with the specified key exists or not.
36
- */
37
- has(key: K): boolean;
38
- /**
39
- * Adds a new element with a specified key and value to the Map. If an element with the same key already exists, the element will be updated.
40
- */
41
- set(key: K, value: V): this;
42
- /**
43
- * @returns the number of elements in the Map.
44
- */
45
- readonly size: number;
46
- }
47
-
48
- interface MapConstructor {
49
- new (): Map<any, any>;
50
- new <K, V>(entries?: readonly (readonly [K, V])[] | null): Map<K, V>;
51
- readonly prototype: Map<any, any>;
52
- }
53
- declare var Map: MapConstructor;
54
-
55
- interface ReadonlyMap<K, V> {
56
- forEach(callbackfn: (value: V, key: K, map: ReadonlyMap<K, V>) => void, thisArg?: any): void;
57
- get(key: K): V | undefined;
58
- has(key: K): boolean;
59
- readonly size: number;
60
- }
61
-
62
- interface WeakMap<K extends WeakKey, V> {
63
- /**
64
- * Removes the specified element from the WeakMap.
65
- * @returns true if the element was successfully removed, or false if it was not present.
66
- */
67
- delete(key: K): boolean;
68
- /**
69
- * @returns a specified element.
70
- */
71
- get(key: K): V | undefined;
72
- /**
73
- * @returns a boolean indicating whether an element with the specified key exists or not.
74
- */
75
- has(key: K): boolean;
76
- /**
77
- * Adds a new element with a specified key and value.
78
- * @param key Must be an object or symbol.
79
- */
80
- set(key: K, value: V): this;
81
- }
82
-
83
- interface WeakMapConstructor {
84
- new <K extends WeakKey = WeakKey, V = any>(entries?: readonly (readonly [K, V])[] | null): WeakMap<K, V>;
85
- readonly prototype: WeakMap<WeakKey, any>;
86
- }
87
- declare var WeakMap: WeakMapConstructor;
88
-
89
- interface Set<T> {
90
- /**
91
- * Appends a new element with a specified value to the end of the Set.
92
- */
93
- add(value: T): this;
94
-
95
- clear(): void;
96
- /**
97
- * Removes a specified value from the Set.
98
- * @returns Returns true if an element in the Set existed and has been removed, or false if the element does not exist.
99
- */
100
- delete(value: T): boolean;
101
- /**
102
- * Executes a provided function once per each value in the Set object, in insertion order.
103
- */
104
- forEach(callbackfn: (value: T, value2: T, set: Set<T>) => void, thisArg?: any): void;
105
- /**
106
- * @returns a boolean indicating whether an element with the specified value exists in the Set or not.
107
- */
108
- has(value: T): boolean;
109
- /**
110
- * @returns the number of (unique) elements in Set.
111
- */
112
- readonly size: number;
113
- }
114
-
115
- interface SetConstructor {
116
- new <T = any>(values?: readonly T[] | null): Set<T>;
117
- readonly prototype: Set<any>;
118
- }
119
- declare var Set: SetConstructor;
120
-
121
- interface ReadonlySet<T> {
122
- forEach(callbackfn: (value: T, value2: T, set: ReadonlySet<T>) => void, thisArg?: any): void;
123
- has(value: T): boolean;
124
- readonly size: number;
125
- }
126
-
127
- interface WeakSet<T extends WeakKey> {
128
- /**
129
- * Appends a new value to the end of the WeakSet.
130
- */
131
- add(value: T): this;
132
- /**
133
- * Removes the specified element from the WeakSet.
134
- * @returns Returns true if the element existed and has been removed, or false if the element does not exist.
135
- */
136
- delete(value: T): boolean;
137
- /**
138
- * @returns a boolean indicating whether a value exists in the WeakSet or not.
139
- */
140
- has(value: T): boolean;
141
- }
142
-
143
- interface WeakSetConstructor {
144
- new <T extends WeakKey = WeakKey>(values?: readonly T[] | null): WeakSet<T>;
145
- readonly prototype: WeakSet<WeakKey>;
146
- }
147
- declare var WeakSet: WeakSetConstructor;